Better HN
topnewbestaskshowjobs
Log inSign up

assafmo

151 karma · joined Oct 11, 2016 (10y ago) · 159 submissions

https://github.com/assafmo
Submissions

comment 6y ago · link · parent

> 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 6y ago · link · parent

https://www.sqlite.org/fts5.html

comment 6y ago · link · parent

Bash Bonus #2:

   seq 1 10 | xargs -n 1 ./go-grab-xkcd -s -n

comment 6y ago · link · parent

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 6y ago · link · parent

Personally I like parallel better because of the `--bar` option and `{}`, `{.}`, `{/}` and `{/.}`. And I usually just use it with `-P 1` anyway.

comment 7y ago · link · parent

Also for me. Instagram, Facebook, WhatsApp and Google Photos just load forever. Android 8.1.

comment 7y ago · link · parent

So what does viable mean?

8.

Hosting your own PPA repository on GitHub(assafmo.github.io ↗)

3 points · by assafmo · 7y ago · discuss

9.

Show HN: SQLiteQueryServer – Bulk query SQLite database over the network(github.com ↗)

2 points · by assafmo · 7y ago · discuss

comment 7y ago · link · parent

I usually replace cat with pv and gets a nice progress bar and ETA :-)

11.

Show HN: xioc – Extract IOCs from text, including “escaped” ones(github.com ↗)

2 points · by assafmo · 7y ago · discuss

12.

How do you get a specific .onion address for your hidden service?(security.stackexchange.com ↗)

4 points · by assafmo · 7y ago · discuss

13.

Shipping a New Mindset with SQLite in Windows 10 (2015)(web.archive.org ↗)

2 points · by assafmo · 7y ago · discuss

comment 8y ago · link · parent

Done.

comment 8y ago · link · parent

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.

comment 8y ago · link · parent

Done. :-)

comment 8y ago · link · parent

Thanks for the feedback! I think I'll do this. :-)

comment 8y ago · link · parent

Moved to https://github.com/assafmo/gl-calc/tree/master/data

comment 8y ago · link · parent

Cool!

comment 8y ago · link · parent

The data was taken from http://www.diogenes-eu.org/GI-Database/Default.htm (https://github.com/assafmo/gl-calc/tree/master/src_data)

comment 8y ago · link · parent

Weird, pasta is in the database. What happened to you is probably the slowness of the search. The database is loaded entirely to the client and searches are done in memory.

Right now it's pretty jumpy even on high-end hardware. I need to fix this.

comment 8y ago · link · parent

Thanks for your feedback! I'll address this.

23.

Show HN: Glycemic load calculator(assafmo.github.io ↗)

68 points · by assafmo · 8y ago · 44 comments

24.

Some more progress and ETA tricks(assafmo.github.io ↗)

1 points · by assafmo · 8y ago · discuss

25.

Merge multiple pcap files together, gracefully – joincap(github.com ↗)

2 points · by assafmo · 8y ago · discuss

26.

Show HN: Joincap – Merge multiple pcap files together, gracefully(github.com ↗)

1 points · by assafmo · 8y ago · discuss

comment 8y ago · link · parent

tshark always hogs my RAM and eventually crashes on > 4GB pcaps. I'd love to have a solution for this.

comment 8y ago · link · parent

When breaking a pipe into two lines, I find it cleaner to end the first line with pipe instead of backslash. Then I indent the second line. Bash knows a command cannot end with pipe, therefore it's syntactically ok.

E.g.

  cmd1 |
    cmd2
Instead of:

  cmd1 \
    | cmd2

comment 8y ago · link · parent

Thanks! I missed this. Fixed. :-)

30.

Mounting partitions from a dd image(assafmo.github.io ↗)

85 points · by assafmo · 8y ago · 34 comments

123456