HNHacker News
TopNewBestAskShowJobs

jontro

1,519 karma · joined May 7, 2012

submissionscomments
jontro··on The Chernobyl Dice: A quantum random number generator with a nixie tube display
Agreed, didn't think about that at first
jontro··on Unicode Is Awesome
In Windows world DWORD is 32 bits large: https://docs.microsoft.com/en-us/openspecs/windows_protocols...
jontro··on Where Are “Close Other Tabs” and “Undo Closed Tab” in the Context Menu in Chrome
Not sure why removing the close other tabs was a good idea.

I use it all the time and now the quickest way is to drag the tab out and close the previous window.

jontro··on Instagram now forces people to sign in to view public profiles
Have you tried https://youpic.com/?
jontro··on Apple Developer Documentation Is Missing
The article states this as the second bullet point "Use prepared statements with bound variables."

Reading the page I actually think this is pretty good for being language documentation.

jontro··on Rotary Jails
Also an ad appeared over the "I accept" cookie banner right before I was going to click it.
jontro··on Abnormal String Hashing
How does that prevent the result being 0? Seems like an implementation detail easily fixed as the author explains.
jontro··on Google Chrome Keystone is modifying /var symlink on non SIP Macs causing k-panic
Looks like the issue has been reported here: https://bugs.chromium.org/p/chromium/issues/detail?id=100735...
jontro··on Cue – A language for defining, generating, and validating data
Or just search the files directly in github? Just type T and .cue
jontro··on Do-It-Yourself OpenJDK Garbage Collector
From the no-op garbage collector linked in the article they list a few reasons why you would want to use this garbage collector. See https://openjdk.java.net/jeps/318 under section motivation.
jontro··on Lorem Picsum, death by a million pixel-gigabits
This broke unexpectedly in July. Hot fix came about a month later. Upgrading to v4 completely broke backwards compatibility.

Wasn't expecting that from an aws created lambda solution

jontro··on Activision Blizzard has moved billions of dollars of profit into tax havens
I don't think skimming countries of 1.1bn would be considered legal

"The company is currently under investigation by tax authorities in the UK, Sweden and France over alleged transfer pricing irregularities and is is facing a potential bill of over $1.1bn in back taxes and penalties."

jontro··on SACK Panic – Multiple TCP-based remote denial-of-service issues
They found a bug in FreeBSD too: https://github.com/Netflix/security-bulletins/blob/master/ad...
jontro··on RAMBleed Attack – Reading Bits in Memory Without Accessing Them
Not sure if this attack is feasible cross VM as long as the memory is not deduped/over provisioned. You need to make sure the victim allocates memory between the attacker controlled memory. Edit: As long as the memory is not deduped on the VMs it should not be possible since it won't be interleaved
jontro··on Vim/Neovim Arbitrary Code Execution via Modelines
How is it related to the vim vulnerability?
jontro··on Some AMD CPU's RDRAND might not return random data after a suspend/resume
Quoting from https://github.com/systemd/systemd/issues/11810#issuecomment...

BTW, the reason we use RDRAND in some cases instead of getrandom() [which we use in many others] is that we need to generate uuids early on (since every service we starts gets one passed, the "invocation ID", and for other stuff too), but getrandom complains in dmesg or blocks if we call it before the pool is initialized. Since systemd is one of the earliest programs that runs and thus very likely comes into contact with an uninitialized pool we attempt to avoid that by using RDRAND when generating uuids, since it should be good enough for that, as the usecase needs a "mid-quality" rng source: not crypt quality and not totally guessable either.

jontro··on GitHub Is Down?
Down for me now. In sweden too
jontro··on Simulating gunfire in naval wargames (2016)
Post is from 2016
jontro··on Cadence: Uber's Workflow Orchestration Engine
How does this compare to netflix conductor? I've just started experimenting with it and somehow I missed this during my evaluation
jontro··on The Difference Between SQL’s JOIN .. ON Clause and the Where Clause
How would you solve a left join like this with that kind of syntax?

LEFT JOIN ( inner join table2 ON table2.ID = table1.table2id and table2.othertype = 1234 ) on table1.outerid = outertable.Id

jontro··on Why Do Buses Bunch?
It comes one every five minutes during rush hours. You'll increase capacity by around 50%. Don't see how a longer bus will bunch up more?
jontro··on Why Do Buses Bunch?
On busy routes one solution is to have longer buses and allow passengers to enter and exit in all doors. In Gothenburg they run these buses on certain routes: https://sv.wikipedia.org/wiki/Stombussar_i_G%C3%B6teborg#/me...
jontro··on IBM is preparing for a UK exit from the EU
Well if you read the page they go through a few possible scenarios. If UK does a so called hard exit very few companies are prepared and there will be a rough transition period. Quoting from the page "As it stands, and if nothing changes, the default position will be for the UK to leave the EU without a withdrawal agreement on 29 March 2019 at 11pm UK time. This would mean there would be no transition period, and EU laws would cease to apply to the UK immediately at that time."

This will obviously have some problematic impact short term

jontro··on W3C approves WebAuthn as the web standard for password-free logins
The Ledger Nano S requires you to enter a pin code at least
jontro··on With React 16.8, React Hooks are available in a stable release
That's not why you have to do it, it's because the state can be updated asynchronously. It's only applicable when you try to update the state based on previous state or props values.
jontro··on TLS Termination for Network Load Balancers
And also it looks like it supports encrypted traffic between the LB and the instance as shown in the guide.
jontro··on TLS Termination for Network Load Balancers
Having the public facing certificate managed by acm and not worrying about deploying those on the instances is a win. I'm not sure how the certificate validation is done LB <-> instance, but if you can have a private CA and use that for intra-communication it would still keep everything encrypted properly
jontro··on TLS Termination for Network Load Balancers
After choosing the certificate and the policy, I click Next:Configure Routing. I can choose the communication protocol (TCP or TLS) that will be used between my NLB and my targets. If I choose TLS, communication is encrypted; this allows you to make use of complete end-to-end encryption in transit:

You can still communicate over ssl internally. What do you mean with it will decreases the defence?

jontro··on Train ferry
It'll be interesting to see if the Cuba - US train ferries will be resumed when the "Ongoing embargo" against Cuba is lifted.
jontro··on The Cube Rule of Food Identification (2017)
There is a popular danish hotdog called "French hotdog" that sounds a bit like this https://danskmadpaaengelsk.wordpress.com/2014/01/29/french-h...
← PreviousPage 3 of 10Next →