HNHacker News
TopNewBestAskShowJobs

vegardx

1,574 karma · joined June 27, 2011

submissionscomments
vegardx··on True Random Number Generator for a True Hacker (2015)
You could, and this is more or less how your computer generates random data currently. It takes in lots of data from the environment that would be hard or almost impossible to predict. But the amount of entropy you get out of that might be too low for your needs, so instead you use it as a seed for a pseudorandom number generator.

On Linux you can just feed /dev/random with whatever data you want, and it will be part of your seed.

vegardx··on True Random Number Generator for a True Hacker (2015)
You are talking about symmetric keys. There's nothing random about it, except for perhaps the generation of said key. If you have a mechanism to generate the same key on both ends, then the mechanism /is/ the key.
vegardx··on European Parliament set to end EU-wide daylight savings
Let me invite you to the arctic circle, where the sun don't set or rise in large parts of the year.
vegardx··on Show HN: tor_ssh.sh – One command to enable SSH access via Tor
When your threat level is government agencies then, sure, you have issues. But git wouldn't solve anything, unless you have a way to verify the hash or signature.
vegardx··on Show HN: tor_ssh.sh – One command to enable SSH access via Tor
Yes, try it. Unless something has changed drastically curl still checks that certificates are valid.
vegardx··on 'Moment of reckoning': US cities burn recyclables after China bans imports
We could start with the simple things, like reusable and standardised takeout boxes and cutlery. Add a small deposit on the return and make sure that any takeout place is required to accept returns, which they in turn can wash and reuse.
vegardx··on Nginx 1.15.9
That wouldn't be a valid hostname or Host-header, see https://tools.ietf.org/html/rfc952
vegardx··on U.S. Cloud Act is raising concern about extraterritoriality
Then they should be getting encrypted or pseudoanonymised data, if you are following the regulations.

For services like AWS you can argue that they should be able to get ahold of these encryption keys, but most data protection authorities seems to think this is good enough.

vegardx··on U.S. Cloud Act is raising concern about extraterritoriality
Banking data is important because the police and tax authority wants to make sure they have access, privacy doesn't really come into play here. It's a nice side effect, though. It's the same with accounting data.

When it comes to GDPR it only talks about where and by who data is processed, it doens't really put any restriction on storage, except for some pretty vague (on purpose) requirements about data protection (read: encryption).

vegardx··on U.S. Cloud Act is raising concern about extraterritoriality
Outside of the government sector it seems like these laws are to make sure that the data is within legal jurisdiction, and has nothing to do with privacy.
vegardx··on Indonesia reports reduced deforestation, triggering carbon payment from Norway
The only take-away from this is that Norway should just sit back and relax, no matter what you do, it will be wrong.

Less than half of the exports from Norway are oil. It accounts to less than a quarter of revenue. See: https://www.norskpetroleum.no/en/economy/governments-revenue...

vegardx··on At 18 Stories, Mjøsa Tower Is World’s Tallest Wooden Building
For the same reason you won't be starting your bonfire with the big logs. It has a huge thermal mass and it takes a lot of external energy to make the fire self-sufficient.

It's also easier to repair, as you can just replace the damaged wood. With concrete that's not so easy, and in some cases it can be hard to even gauge how damaged concrete is from fire damage.

vegardx··on At 18 Stories, Mjøsa Tower Is World’s Tallest Wooden Building
Drove past it two weeks ago, looks like it's closed to finished. It felt so out of place. Anyone that knows Brumunddal knows that there's not a lot of tall buildings around. I guess the people on top will get an amazing view though.

There aren't even many 18 stories tall buildings in Oslo.

vegardx··on Google says Nest’s built-in mic not listed in specs was not meant to be secret
It tells you in advance and you get a push to your phone if you're on the same network.

"This is a test. The alarm will sounds. The alarm is loud."

(or something like that)

vegardx··on Google says Nest’s built-in mic not listed in specs was not meant to be secret
The microphone / motion sensor issues aside I would never sleep in an apartment where someone could remotely silent an alarm.
vegardx··on Google says Nest’s built-in mic not listed in specs was not meant to be secret
They don't have to be connected to a network in order to work. The will even happily do self-check without network access - something I realized when I wanted to mute a self-check only to find out that I had done some network changes. Had to use a schtick, like in the old days.

Given that these devices are battery powered and meant to last for years on a single charge you can imagine how often they actually connect to the wireless network. And how much traffic they send.

And again, they work perfectly fine without Internet access. Or network access for that matter. I love them, and as someone with an irrational fear of being in a fire they have helped a lot. They're much more sensitive (without being an issue, due to pre-alarm) than the alternatives.

vegardx··on Self-Driving Cars Might Kill Auto Insurance as We Know It
Just speculating, but could it be since there's very limited ability to file for personal bankruptcy in most European countries?
vegardx··on Benchmarking AWS, DigitalOcean, Linode, Packet, and Vultr
Seems kind of pointless if there's going to be a single data point from all providers. That doesn't account for noisy neighbours and other issues.
vegardx··on Nginx quick reference
Just skimmed through it, and most of this seems to revolve around hardening, not performance, and most of the hardening seems questionable at best. Some of the headers that is suggested have some implications that aren't really explained at all. Like HSTS including sub-domains.

And you don't set the `default_server` as this document suggest. `default_server` is a parameter to the `listen`-directive. The only reason the docs might work is because the first server-block defined, when no-one is defined as `default_server`, becomes the default server.

  server {
    listen 80 default_server;
    return 444; 
  }
This will close the connection and log it internally, for any domain that isn't defined in Nginx.

Edit: Shout-out to #nginx on FreeNode, where you'll always find someone to point you i the right directing or help you out.

vegardx··on My disabled son – ‘the nobleman, the philanderer, the detective’
Make sure you're comfortable crying in public if you read this on a bus like I did.
vegardx··on Apple Is Removing 'Do Not Track' from Safari
So you get amazing entropy on my grandma, which is quite possibly not worth the processing time you spent to track her, in terms of ad revenue or marketing campaigns. Sure - that's probably not the case in most of the cases, but it sure pollutes your otherwise good dataset.
vegardx··on Skirting U.S. sanctions, Europeans launch trade mechanism for Iran
Unlike Saudi-Arabia?
vegardx··on Blocking website ads with a hosts file
I would imagine very little, and as far as I can tell the resolver is called first and then a lookup is done in /etc/hosts, the hosts-file takes precedence.
vegardx··on Why does APT not use HTTPS?
Because they would be caught doing it very quickly. There are so many ways to detect this.
vegardx··on AI Can Detect Alzheimer’s Disease Six Years Before a Diagnosis
Unless you want to involve a judge and a legal process I imagine you usually need two signatures, at the very least. In Norway there are other requirements as well.
vegardx··on AI Can Detect Alzheimer’s Disease Six Years Before a Diagnosis
I misspoke, we've wanted to add it. We've added it to soda and seen correlations where lithium is naturally occurring in the drinking water.
vegardx··on AI Can Detect Alzheimer’s Disease Six Years Before a Diagnosis
The only real argument against it, and I'll grant you that, that we have is that we don't know how it interacts. It's a good assumption that is has something to do with brain chemistry, but we don't know, or if it's a direct relation or indirect interaction. Or if there even is one.
vegardx··on AI Can Detect Alzheimer’s Disease Six Years Before a Diagnosis
We don't know how it interacts with the body, but we're fairly certain that it doesn't alter your mind. You can stop taking it and all the symptoms will return.
vegardx··on AI Can Detect Alzheimer’s Disease Six Years Before a Diagnosis
No, this assumes you know how dementia forms. There are no evidence that lithium alters the brain in any way.
vegardx··on AI Can Detect Alzheimer’s Disease Six Years Before a Diagnosis
Because how and why it develops is not yet widely understood. We know there must be some genetic factors, but there's clearly more.
← PreviousPage 11 of 22Next →