Better HN
topnewbestaskshowjobs
Log inSign up

Zacru

57 karma · joined Apr 8, 2016 (10y ago) · 41 submissions

Submissions

comment 2mo ago · link · parent

Yeah T the

comment 10mo ago · link · parent

Probably simply "makes you feel full longer".

comment 10mo ago · link · parent

They changed something about the noodles and now they are way overcooked if you follow the box instructions. And you need way more butter to get a similar flavor to before.

comment 1y ago · link · parent

Because that's a syscall ;) https://man7.org/linux/man-pages/man1/flock.1.html is the command line manual.

I would say one good reason is that

  waitlock myapp &
  JOB_PID=$!
  # ... do exclusive work ...
  kill $JOB_PID
is a lot easier to use and remember than

  (; flock -n 9 || exit 1; # ... commands executed under lock ...; ) 9>/var/lock/mylockfile

comment 1y ago · link · parent

Got to number 15 and the color was #C61. My choices were #D52, #161, #C61, and #C63. Sadly, I guessed #C63 and lost.

Maybe there should be some minimum distance between all of the choices.

comment 1y ago · link · parent

And he was just laid off. https://news.ycombinator.com/item?id=43978589

comment 1y ago · link · parent

>dual-license the engine under both their current non-OSS modified Apache and the GPL.

Of course if they do, I hope they will say "either modified Apache or the GPL".

My company's lawyers made a big stink about us using jQuery plugins that said "and" instead of "or".

comment 1y ago · link · parent

This makes a SSRF bug go from "oops, that's bad" to "oops, your whole cluster is pwned", right?

comment 1y ago · link · parent

The thing I wish more error messages did was tell me exactly which file was not found.

comment 2y ago · link · parent

A fun 20-minute summary: https://youtu.be/rStL7niR7gs

comment 2y ago · link · parent

The running user may not have a home directory.

comment 2y ago · link · parent

>having it in the raw form while typing

This is actually an option in the settings (on desktop, at least).

comment 2y ago · link · parent

>closure #2 closes over closure #1

I don't see this in the example. Closure #1 is never bound in the scope, as far as I can tell. Could you explain how closure #1 is closed over without being bound?

comment 2y ago · link · parent

If you're shipping from northern hemisphere to northern hemisphere, then you also save to time/fuel to go down to Panama. No idea if that's significant or not.

comment 2y ago · link · parent

This and the original reminded me of this really old Chrome Experiments demo, and some others like it: https://experiments.withgoogle.com/browser-ball

16.

Lucid Software layoffs – A message to Lucid employees(lucid.co ↗)

3 points · by Zacru · 3y ago · 1 comment

comment 3y ago · link · parent

https://github.com/angular/tsickle kind of does that. Though it's kind of deprecated and more specifically aimed at the Closure Compiler.

comment 3y ago · link · parent

I like both Bash and Python, so I think I'll give this a try. Should I implement the bugs as is, or fix those first?

comment 3y ago · link · parent

>I'm not sure anymore that triangulation is easily done with radio signals.

Maybe not easy, but as you said, there are other methods that can be very accurate. Look up Wi-Peep for an example.

comment 4y ago · link · parent

>We eat a credit card's worth of microplastic every week

No, we don't. Here is a 4 minute video explaining how this bit of misinformation came to be spread across the internet. https://youtu.be/2Ntp6BqhSng

21.

Demystifying NaN for the Working Programmer(lucidchart.com ↗)

57 points · by Zacru · 4y ago · 36 comments

comment 4y ago · link · parent

Taxing different entities at different rates just opens the door for a middle-man with a lower tax rate to profit from simply renting the land to the entities with higher tax rates.

comment 5y ago · link · parent

Along those lines, you can also use hex https://0x7f.0.0.0x01:443/

comment 5y ago · link · parent

I think the first is the 32 bit int version of 127.0.0.1, and 0177 is the octal representation of 127.

comment 5y ago · link · parent

I also immediately saw the allusion.

comment 5y ago · link · parent

Your comment reminded me of this minutephysics video about the census. https://youtu.be/pT19VwBAqKA It a great walkthrough of the "privacy doom principle."

comment 5y ago · link · parent

I often need to covert timestamps to and from UTC. I sure hope I don't end up in a -6:30 timezone.

comment 5y ago · link · parent

Out of curiosity, was that with closure's simple or advanced optimizations?

comment 5y ago · link · parent

Interestingly, no. The username part of every tweet url is ignored.

comment 6y ago · link · parent

Sorry, I confused you and the author of the comment you replied to.
12