Better HN
topnewbestaskshowjobs
Log inSign up

uuidgen

66 karma · joined Mar 4, 2021 (5y ago) · 65 submissions

Submissions

comment 4y ago · link · parent

It means designating a person that understands GDPR in the scope it applies to the particular data set and handles requests/security incidents. It can be secretary after a few hours of training.

And I think that if you manage a mailing list of million of people then having someone who understand security implications of it and how much they can lose (even to a simple phishing at this scale) if you get that list accessed by scammers is necessary.

comment 4y ago · link · parent

So what are those problematic GDPR requirements?

- ask for permission

- do not collect more than you have

- store securely

- allow users to change or remove their data

- have a dedicated officer if you collect a lot

Is that really THAT hard? (If yes, then really you shouldn't be collecting any data.)

comment 4y ago · link · parent

You can't return it "no questions asked", but if the product doesn't work you can request them to make it work or refund if they're unable to.

If they don't want there is small claims court which is cheap and simple. I have used it in cases where some manufacturers would void warranty due to "water damage" after the product stopped working. In the end they paid: cost of purchase, cost to file, cost of my legal consultation, cost of expertise showing that there was no sign of water damage. Country - Poland.

comment 4y ago · link · parent

If you need to be precise with real numbers you need to use interval arithmetics to know your uncertainty range. Or you need infinite memory.

For C++ there's a nice boost::numeric::interval library that handles it.

https://www.boost.org/doc/libs/1_66_0/libs/numeric/interval/...

comment 4y ago · link · parent

If you want to understand math behind Quantum Mechanic and Quantum Computing I think this is a great resource: https://scottaaronson.blog/?p=4805

comment 4y ago · link · parent

They're preventing citizens from publishing that info, not looking around and measuring from what I found.

Imagine a country that prevents its citizens from recording a song they hear and sharing it with their friends. Oh, wait, US more or less does that and forces other countries to implement policies that prevent it or they will ban trade with those countries.

comment 4y ago · link · parent

C translates directly to ASM in many cases. It just makes managing offsets and other stuff easier.

C++ adds type-safety on top of that for no cost. It's great when your compiler tells you that there is no operator =|(PORTD, PINA). Did you mean |=(PORTD,PIND) or =|(PORTA,PINA).

comment 5y ago · link · parent

If it works like presented on those mockups it is useless.

And since we only see mockups I'm sure it doesn't work at all and is a scam.

I've tried to make a DIY hud for bicycle riding and it failed on two steps:

- you need enough brightness for it to be visible in full daylight, so the image was be tinny or the blue oled I've tried to use weren't bright enough

- my prototype worked well with a straight piece of glass and a plastic sheet Fresnel lens, but it wasn't good for actual use. For actual use you need to project out-of-focus image on a curved surface of bike glasses. I have no idea how to make it small, precise enough and cheap enough.

There are also miniature DLP projectors from TI, that I think would work but they were pretty expensive for a hobbyist to use.

comment 5y ago · link · parent

I don't think you can smell ozone - it's rather noxious. I think what you can smell as "thunderstorm" is the air cleaned a bit by ozone and the process of ionization (which traps some bigger particles).

comment 5y ago · link · parent

Pakistan and India would like to disagree.

comment 5y ago · link · parent

Current permission is really old, backward-compatible and simple system that works well in most situations.

setfacl exists is supported for years (although I prefer windows file permission logic to be honest)

comment 5y ago · link · parent

I had 2 tricks - really high-order filter borrowed from some paper and the assumption that a walking human doesn't gain constant acceleration. Even in an elevator you stop on a floor which resets your speed to 0.

I agree that there is no way you could extend this directly for flying, but with modern devices and things like ground-distance radar, relative airspeed indicators and so on I don't think it is beyond the realm of possibility. Plus we have detailed hightmap of the world, which, when combined with a radar should allow for terrain tracking. That makes the accuracy of sole INS much less crucial.

comment 5y ago · link · parent

When you crash it into the ground at plane speed?

comment 5y ago · link · parent

> So if we eliminate the highly flammable gas

And replace it with a battery that has to burn out because it is impossible to extinguish?

comment 5y ago · link · parent

While INS is not simple, it's also not that difficult to implement. As even the cheapest drones that can hover show new MEMS sensors are accurate enough to work with a proper filtering.

I did some prototype INS system as my master's thesis 10 years ago, the code was quick and dirty and even then the accuracy was like 30 meters after an hour of walking around with the device.

comment 5y ago · link · parent

> "lock-free algorithms" is a misnomer, you still have synchronization,

Lock-free doesn't mean that there is no synchronization. It is a way to synchronize memory access between threads from the start. It means that there is no additional locking to protect access to the shared resource - all read access is valid, from any number of simultaneous write accesses at least one succeeds (which is not true for some other algorithms like network exponential backoff).

Even on x86 the most common instruction you use is LOCK cmpxchg.

comment 5y ago · link · parent

I don't know about the US, but in the EU regulators DID step in and limited amount of ozone that can be produced by consumer devices to relatively safe levels. It will smell like thunderstorm but shouldn't be too toxic.

comment 5y ago · link · parent

If you do the forestry right you create many plots in there and aim to cut down e.g. 2% in a given year. That mean you will get the whole forest replaced in 50 years. If you're careful to not cut too much in a single space then the animals and plants can move around and it should be ok for biodiversity.

Now for the energetic biomass - this is more like 5-10 year rotation so while the animals can move around the plants can't. Those will be mono-cultures to sustain energy demand until we have enough of some other energy sources.

comment 5y ago · link · parent

Biomass takes 5-10 years to grow. Given that it can be used in many coal furnaces it is imo the best "now" solution.

comment 5y ago · link · parent

But now a lot of infrastructure runs on coal. You can use wood instead and have this carbon captured and reused in the next 10 years or you can still burn coal while awaiting a perfect solution.

We have surplus of farmland due to farm efficiency. We have more forests in EU now than we had 10 years ago. Switching to biomass is a good step because every ton of wood that emits CO2 that will be recycled is better than 0.6-0.8 ton coal that gets burned now and adds carbon.

comment 5y ago · link · parent

But that's the idea behind the biomass burning.

If you just burn all the forests an be done with it it's a bad idea. But if you replant the forests with fast growing species you can cut them down every 5-10 years and have a lot of biomass to burn in basically a closed cycle.

comment 5y ago · link · parent

Compare that to a strip mine and it is way smaller horror.

It can create place to live for animals, it can reduce particulates in the air. It's not a normal long-living forest that is grown for wood for 80-100+ years but it's still way better than burning coal.

comment 5y ago · link · parent

Nuclear is good. Wood is carbon-neutral. We should use both to move ASAP from gas and coal. Especially that wood is easier to use in some existing coal furnaces.

And if you think that burning wood is carbon-spewing, then thin about what happens in all those forests once the trees age - they either get logged and used for construction, afterwords they get discarded and rot or they don't get logged, collapse and rot. Either way carbon is getting back into the air as CO2.

comment 5y ago · link · parent

Good furnace produce little particulate emission so its almost on par with burning gas.

Biomass - so mostly wood, wicker or straw has all its carbon content coming from the air - they capture CO2 as they grow, when you burn them you release exactly the same amount of CO2, hence they're carbon-neutral.

comment 5y ago · link · parent

What for? You want to gain access to some data or lear something or get access to one of my clients.

"Asking nicely" is how intelligence/counter-intelligence recruits their assets - some are bought some are forced.

comment 5y ago · link · parent

JavaScript is an awful language, we all can agree on that, right? But it has reached universal adoption, it's widespread from in-app scripts, through embedded devices, back-end services and front-end.

I have the same opinion on Go - it's awful, it fails to deliver its promises, but it became popular because it was "a google thing".

Google itself supports go internally, but it is nowhere near being ubiquitous or even recommended - I think that tells you something about it too.

comment 5y ago · link · parent

"It is possible someone tampered with your phone to gain unauthorized entry","Please contact apple-authorized support".

comment 5y ago · link · parent

> Copy the login screen of original laptop on a brand new laptop, and have it log the password when the victim types it to you over wifi.

This is why you need mutual authentication. The easiest is with 2 passwords. You enter a password, this authenticates you to the system. Now system presents you some secret. It may be a passphrase, something not obvious like a password prompt with a typo, or a splash screen with some pixels a bit off that are visible at the right angle. Something that a casual shoulder-surfing won't gather. Only when the system is authenticated to you then you enter the 2nd password o actually unlock the filesystem.

As for "identical replacement" of a system - good luck. A bit of glitter and nail polish on screws and it will cost a fortune to do so. If you have those capabilities you probably have the capabilities to "nicely ask me for the password".

comment 5y ago · link · parent

I used to be a C++ dev for 10 years. I tried to learn go after hearing about how great it is. IMO - it's a hot garbage practical joke made by googlers that became popular because it was made by googlers and then it was too late to tell its was a prank. It's a corrupt amalgam of "clever hacks" and "only one good way to do things - my way".

Its concurrency is awful, and makes shooting oneselves in a foot easy. Effective go teaching you how to basically make mutex using channels is just a practical joke, right?

As for C++ and libraries - Boost was and is a big one. Want HTTP? There's a full server implementation you can reuse easily https://www.boost.org/doc/libs/1_55_0/doc/html/boost_asio/ex...

comment 5y ago · link · parent

> Cryptocurrency cuts out the middleman in a transaction

How are you going to do ANY crypto transaction without a middleman? Will you wait months and burn insane amount of electricity to finally mine the block yourself? Of will you submit your transaction somewhere and pay the fee?

I have free next-day transfers, pay $1,2 for instant transfer up to $1200 - and those are bank transfers, with all the security of it, not some shady apps. This is in highly regulated market. What are commissions on bitcoin transfers again?

123