assafmo

Joined 10 years ago

Karma
151
Submissions
159
Member since
Oct 11
https://github.com/assafmo
View on Hacker News

Recent submissions

Comment · 6 years ago
> the government broke up the monopoly and forced competition into the market by making existing players share infrastructure.

Yeah, this was excellent for 4G prices (I'm paying $8/mo for 40 GB), but now telecom companies are wary of installing 5G infrastructure, because they are forced to share it with other service providers who did not have to invest millions in new 5G infrastructure.

Comment · 6 years ago
Comment · 6 years ago
Bash Bonus #2:

   seq 1 10 | xargs -n 1 ./go-grab-xkcd -s -n
Comment · 6 years ago
Lately I've started to use Perl instead of sed for replacing text. Its regex support is much better IMO:

  cat a.txt | perl -pe 's/banana-(\d)/papaya-$1/g'
Or in-place:

  perl -i -pe 's/banana-(\d)/papaya-$1/g' a.txt
Comment · 6 years ago
Personally I like parallel better because of the `--bar` option and `{}`, `{.}`, `{/}` and `{/.}`. And I usually just use it with `-P 1` anyway.
Comment · 7 years ago
Also for me. Instagram, Facebook, WhatsApp and Google Photos just load forever. Android 8.1.
Comment · 7 years ago
So what does viable mean?
Comment · 7 years ago
I usually replace cat with pv and gets a nice progress bar and ETA :-)
Comment · 8 years ago
Done.
Comment · 8 years ago
It's pretty hard because of the source data. I'll see what I can do about dividing search results into food categories.

Thanks for your feedback.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton