Hacker Newsnew | past | comments | ask | show | jobs | submit | yuushi's commentslogin

It is not endemic in many states in Australia.

But please, continue looking on in horror at us from (I'm assuming) America. Your post is a wonderful mix of condescending tone and factual inaccuracy, with the added cherry-on-top that you have absolutely moronic states like Florida "fighting for their freedoms" by banning mask mandates. This would be infuriating if it wasn't so painfully stupid.


In the United States, anyone who wants one of three effective vaccines, for free, has been eligible for them for nearly 6 months. Anyone promoting masks as a superior solution to vaccines does not get much traction in most of the country and for good reason.

Australia, despite being a wealthy country with strong ties to vaccine manufacturing nations, did not prioritize these vaccines and instead has relied on rolling lockdowns and other invasive measures.


> instead has relied on rolling lockdowns and other invasive measures.

Perhaps I misunderstood your point, but it appears that you are arguing that Australia preferred the option of rolling lockdowns?

When you have no vaccines available there are two options. Overload your hospital system or lockdown. Everyone would have preferred having vaccines when the US and the UK received theirs.

Furthermore, the state governments that are actually in charge of lockdowns, are not responsible for procuring the vaccines. The federal government were under minor scrutiny for making a mess of that. This reflects the media landscape in Australia that is dominated by NewsCorp.


> Australia, despite being a wealthy country with strong ties to vaccine manufacturing nations, did not prioritize these vaccines and instead has relied on rolling lockdowns and other invasive measures.

I think most people in Australia would strongly agree our vaccine policy was a complete and utter disaster. Probably the most expensive mistake in Australia's history.


Except this (attempted) mask mandate ban was for kids - i.e. those who are often too young to receive a vaccine.

Yes, our federal government absolutely failed when it comes to vaccine supply. It is our state governments that have instituted lockdowns, because of this failure on behalf of the federal government, to squash cases and stop our hospital system from reaching breaking point.

Yes, our federal government screwed up, and I don't know anyone who doesn't agree with that point, but given that, and given the outcomes America experienced before vaccination was prevalent, it is the height of hubris and arrogance to suggest that you and the rest of the Western world (this "data" being pulled from where, exactly?) is "horrified at us".


That's because modules and namespaces are the same thing in languages like Python, whereas they are separated in C++. The code in the imported module will go into whatever namespace it is in within that module, not the global namespace.


I had forgotten about C++ namespaces. It's been quite a while.

I'm not sure that this addresses my concern though. Do namespaces enable the import of specific symbols from a module?


Modules have nothing to do with shipping libraries (or dependency management), they are purely about encapsulation of interface and (API) implementation.


If by "reload" you mean "drop in an updated shared library and let the runtime loader do its job", I suppose so.

Yes, it only applies if you don't make any API (and ABI) changes, but that's what major, minor, patch versioning is for, and stable projects can go a long way on minor and patch versions...


Runtime loader won’t restart applications for you


> I can't remember the case in C, but in C++ the initialisation of a function local static variable is guaranteed to be thread-safe.

Only in C++11 onwards.


Depending on what you required, it can still be significantly faster than std::map. Any tree-based data structure is going to play havoc with cache. Also, it will perform an allocation for every single node inserted, which can become rather expensive (unless you're using some customized allocator for this).

Honestly, sorted vectors can often be a good replacement, depending on the workload, if you must have ordered data (this is what boost flat_map uses). All 3 (map, unordered_map, sorted vector) can have their uses, depending on what you are doing with the data.

If you need a better performing hash map, there's always Abseil as well.


Unfortunately unordered_map also requires lots and lots of allocations, because it's forced to use linked-list buckets.


Define "way easier". The interface, at least for day to day operations, is basically identical.


Supports more features like ordered traversal, generally faster in most cases (yup!), consistent api cost, doesn’t invalidate iterators on certain operations like moving between maps. That’s just off the top of my head.


I remember this being in the context of video games, and from some time ago (so things may have changed with Steam sales and the like), but it said that something like 85% of sales occur in the first two weeks. Thus the DRM was there to (hopefully) hold out for as much of that initial time as possible.

Anyway, anecdotal story, take with (many) grains of salt.


Correctness defined as "this produces the right answer" vs correctness defined as the above with the addition of "this does not leak information / is not highly vulnerable to side-channel attacks" are very different things, and only one of those definitions is actually useful for cryptography.

Writing it yourself for the first time, or just copying some code off the internet, is going to have a vanishingly small chance of being actually secure.


I mean, you really are a special case - I have only lightly dabbled in Rust, but I immediately recognize your name because of the work you've done in the Rust community.


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

Search: