Hacker News new | past | comments | ask | show | jobs | submit | more Rarebox's comments login

I thought google did this versioning thing for libraries before, but it was stopped for reasonable reasons (g3 components).

Basically if you could pin lib versions everyone would be stuck on old versions for a long time, causing difficult debugging work for each user of the library. You'd then also have all sorts of diamond problems: what if you want newest absl but older bigtable client?

It's a difficult problem no matter which way you go.


I can believe this. Around the time I left people were patting backs for fighting racism by getting rid of terms blacklist/whitelist.

Not something I feel super strongly about, but the fact that it's so scary to go against these stupid ideas is annoying. It's pure politics, there's nobody benefiting from this except the people claiming impact for antiracist work in their perf.


There's very little you need exceptions for with STL. Data structures, algorithms, etc. all work just fine without exceptions.

C++ without exceptions is great. Google doesn't use exceptions and they still use STL. Gamedevs usually don't use exceptions and they're fine. Just use some other mechanism for errors, like error codes, absl::Status, std::expected, etc.


Google did not do exceptions due to legacy code base reason, in its announcement it says for new code it will do exception, it just had too many old code and can't do exceptions.

Most STL operations and iteration etc will throw exception for errors, if you disable exception, any of those errors, be it recoverable or not, will just std::terminate, which might not be ideal.


Note Google explicitly configure runtime to instantly crash on memory allocation errors. With that STL works indeed nicely without exceptions.


I interviewed at Google once and during some whiteboard forgot to check malloc for NULL return, then mentioned, "oh yeah at <former company> malloc never returns NULL" and the interviewer commented "at Google, malloc spawns a new data center."


Gamedevs usually don't handle any errors at all.


You can buy drugs and other illegal things off the internet (tor), that's very useful for some people. Basically crypto allows for transactions that could otherwise be blocked or easily tracked by central parties (1). It can also be used to bypass gambling laws.

For legal purchases and activities crypto is useless, regular money is much more practical.

[1] depending on which crypto and how it's used tracking is possible, so care is required (especially) when converting dollars to crypto.


> You can buy drugs and other illegal things off the internet (tor)

Can you? After that huge bust a few years back, I figured that particular usage was marginal at this point. Seems like the only use for crypto is ransomware, dodging taxes or smuggling embezzled money out of your country.


Yeah, there are still plenty of drugs on the darkweb. Busting a few dealers doesn't eliminate demand, and in-person dealers don't have a "reviews" page for their products and behavior.


IPTV. It's the only reason i own bitcoins. :)


There doesn't even have to be a conspiracy for this to occur.

Companies always want to seem like the good guys, so they'll jump on any trend that doesn't hurt them. BLM, LGBTQ+ (), etc. are issues that companies don't have to lose anything to take part in. Advocating for (e.g.) unions is something the Amazons of the world don't want to promote. This creates bias on every level which suppresses topics that are inconvenient for the powers-at-be.

People fighting over race is very convenient for the 0.01%, so no effort will be made to end that fight.

( Not that these aren't important, just that there are important issues that are not discussed on the same level.)


Who are they asking for the data? ISPs, USA today, NSA?


> The agency demanded the newspaper USA Today hand over records on who had read an article about the killing of two FBI agents.

Seems as though they are at least asking USA Today.


To verify a single transaction, the network uses 1150kWh of energy which produces 550kg of CO2 [1].

[1] https://digiconomist.net/bitcoin-energy-consumption/


This is wrong, the number of transactions has (almost) nothing to do with the energy usage. I wrote almost in brackets because the transaction fees contribute slightly to the total compensation of the miners. So it is mostly the block reward that determines the energy usage (for now)


I can veryfy all Bitcoin transactions ever happened on the network on my laptop in a few days, I'm sure it's less than that, my Apple M1 laptop is quite energy efficient.


Parent said network not just a single machine.

That includes the cost of mining without which your computer would not be able to verify the transaction.


The mining is not needed at all for verifying transactions, it is used to secure the network and to create new block of transactions.


This is just false.

New blocks are created with transactions in them and can’t be verified if they haven’t been mined, because verification works by checking the hash that the miner found.

Transactions that are not yet part of a mined block cannot be verified.


What you wrote is all correct. Just don’t confuse creating the transaction and adding to the network (which is relatively expensive) with verifying (which is cheap, an SHA-256 hash can be computed in 2 days by a human with pen and paper, and for verifying the transaction you need an exponentiation on an elliptic curve, which is still efficient, though slower).


Sure, but a transaction cannot be verified without first being part of a mined block.

So paying the cost of mining is a prerequisite for verification.

You can definitely separate out the costs, but it’s misleading to imply that mining isn’t a requirement and that you also have to pay that cost first.

And a statement like this…

> The mining is not needed at all for verifying transactions, it is used to secure the network and to create new block of transactions.

…isn’t correct - mining is needed for verification. You cannot have verification of new transactions without mining.


To discourage people from finding the box inside, we could insert traps to hinder explorers.


Maybe also spread some myth about an ancient curse to ward off looters.


In this case it wouldn't be a myth



There's a lot of convenient new instructions in avx512 that can work on 128/256-bit vectors. I'm guessing that those wouldn't throttle more than regular avx.


I'm guessing you're right.


Consider applying for YC's Summer 2025 batch! Applications are open till May 13

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: