66 karma · joined Mar 4, 2021 (5y ago) · 65 submissions
comment 4y ago · link · parent
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
- 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
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
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
comment 4y ago · link · parent
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++ 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
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 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
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 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
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
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
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
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
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
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
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
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
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?