Hacker Newsnew | past | comments | ask | show | jobs | submit | ahawkins's commentslogin

Xargs ftw!


Wow! Gemany...I haven’t heard that in a long time. Still some of the funniest things I’ve ever seen in my life come from that forum.


Thank you for asdf-hashicorp. We use it at Skillshare.


Thank you! It's nothing special.


If you encounter a problem or task, then do it using shell commands. This will push into asking the question "what command can do X?" and "how do I connect command X to command Y?" and "how do loop commands over output?". Then just keep doing that over and over again.

Learn the shell chainsaw: `xargs`. `xargs -L` vs `xargs` and `xargs -I` (examples will say use `{}` but I'm partial to `xargs -I @` because that works with Fish and Bash, plus it's a single character.


I enjoy intentionally avoiding some uses of the chainsaw by instead piping into "while read -r", and hence getting a loop body with some room to manoeuvre.


Can you explain or link further about the “chainsaw?” Google comes back with this post.


I think they just meant that xargs is a really powerful versatile tool, like a chainsaw. But also feel free to look up one of my favorite talks on YouTube... Just search for "Unix chainsaw" and it should come up


How did you find a recruiter?


They find me. 95% of the inbound messages I receive are from recruiters. The other 5% are sales and old freinds/lovers/colleagues wanting to reconnect. LOL


So increase their capacity to meet demand is a bad thing?


2 modal opt-in popups. 1 is standard. 2 is really pushing it.


> I've never bought (individual) stock before but I'm sorely tempted to buy some of this a few days after it becomes available. Absent some Theranos-level fuckery, I expect that these guys (and their competitors) are going to be huge.

Same for myself. I think this industry will be massive. Never bought individual stocks before. I don't know where to start.


This guy swims.


I am guessing that is a Blind app reference?


I think it's a Silicon Valley[0] reference

[0] https://www.youtube.com/watch?v=_uMEE7eaaUA


Thanks for that ! I've always wondered what the genesis of it was....


I've run lots of trail marathons and halves and have pretty good aerobic function, but I've always had a big problem with breathing while swimming. Does anyone have any good links or thoughts on getting into a good breathing rhythm that doesn't involve running out of steam and ingesting water? My running breathing is very disciplined but it all seems to fall apart when I swim


Have you tried just using nose plugs/clips? There seems to be some variation in how well people can close off their nasal passage while underwater and often people who have more trouble with it sound exactly like this.

Personally I have to be blowing air out my nose at a pretty unsustainable rate to prevent water from coming in, so if I'm doing serious swimming I use clips. Not exploring this option when I was a kid made me resent and hate swim classes even though I loved being in the water.


i'll try that, thanks!


Hi! You typically want to breath out through your noise, then inhale through the mouth when you go for air.

Another tip that comes immediately to mind is try using a swimmer’s snorkel. At first, it’ll be really difficult to keep from water going into your nose but after a few practices, your nose and it’s canals will block out water as a reflex, enabling you to breath through your mouth the entire swim. Hope this helps and sorry for English!


Remote open to Hawaii residents?


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: