assafmo
Re:The cost of 1GB of mobile data in 228 countries (Feb 2020)
on Sunday August 23, 2020 @06:48AM (#24251009)
> 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.
Re:Quick and dirty full-text search with SQLite3 and Golang
on Saturday June 27, 2020 @04:08PM (#23664279)
Re:Diving into Go by building a CLI application
on Wednesday May 27, 2020 @06:34AM (#23321437)
Bash Bonus #2:
seq 1 10 | xargs -n 1 ./go-grab-xkcd -s -n
Re:Text Processing in the Shell
on Tuesday March 17, 2020 @02:01PM (#22607965)
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
Re:Text Processing in the Shell
on Tuesday March 17, 2020 @01:56PM (#22607879)
Personally I like parallel better because of the `--bar` option and `{}`, `{.}`, `{/}` and `{/.}`. And I usually just use it with `-P 1` anyway.
Re:WARP is here
on Thursday September 26, 2019 @12:55AM (#21078302)
Also for me. Instagram, Facebook, WhatsApp and Google Photos just load forever. Android 8.1.
Re:Partnering with publishers for a better journalism experience
on Thursday July 04, 2019 @08:12AM (#20353831)
So what does viable mean?
Show HN: SQLiteQueryServer – Bulk query SQLite database over the network
Re:For the Love of Pipes
on Tuesday January 22, 2019 @03:35PM (#18972179)
I usually replace cat with pv and gets a nice progress bar and ETA :-)
Show HN: xioc – Extract IOCs from text, including “escaped” ones
How do you get a specific .onion address for your hidden service?
Shipping a New Mindset with SQLite in Windows 10 (2015)
Re:Show HN: Glycemic load calculator
on Wednesday July 18, 2018 @02:09PM (#17560709)
Done.
Re:Show HN: Glycemic load calculator
on Wednesday July 18, 2018 @12:45PM (#17559925)
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.
Re:Show HN: Glycemic load calculator
on Wednesday July 18, 2018 @12:43PM (#17559905)
Done. :-)
Re:Show HN: Glycemic load calculator
on Wednesday July 18, 2018 @12:42PM (#17559895)
Thanks for the feedback! I think I'll do this. :-)
Re:Show HN: Glycemic load calculator
on Wednesday July 18, 2018 @02:37AM (#17555933)
Re:Show HN: Glycemic load calculator
on Wednesday July 18, 2018 @02:36AM (#17555931)
Cool!
Re:Show HN: Glycemic load calculator
on Tuesday July 17, 2018 @03:18PM (#17552315)
The data was taken from http://www.diogenes-eu.org/GI-Database/Default.htm (https://github.com/assafmo/gl-calc/tree/master/src_data)
Re:Show HN: Glycemic load calculator
on Tuesday July 17, 2018 @03:04PM (#17552191)
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.
Re:Show HN: Glycemic load calculator
on Tuesday July 17, 2018 @02:39PM (#17552000)
Thanks for your feedback! I'll address this.
Show HN: Glycemic load calculator
Some more progress and ETA tricks
Merge multiple pcap files together, gracefully – joincap
Show HN: Joincap – Merge multiple pcap files together, gracefully
Re:Tcpdump Examples
on Wednesday May 30, 2018 @12:38PM (#17189167)
tshark always hogs my RAM and eventually crashes on > 4GB pcaps. I'd love to have a solution for this.
Re:Shell Style Guide
on Tuesday May 15, 2018 @01:40PM (#17075893)
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
Re:Mounting partitions from a dd image
on Wednesday May 09, 2018 @01:20PM (#17031713)
Thanks! I missed this. Fixed. :-)