Better HN
topnewbestaskshowjobs
Log inSign up

coopierez

239 karma · joined May 26, 2020 (6y ago) · 76 submissions

Submissions

comment 12mo ago · link · parent

This is interesting to me, as someone moving from a company that uses C++ to one that uses Rust. It feels like the whole culture of the former company is built similarly - no guardrails, no required testing, or code review, minimal "red-tape".

In effect, the core principles of the company (or at least, the development team of the company) end up informing which programming language to use.

comment 1y ago · link · parent

The slim PS5 uses USB-C on both ends.

comment 1y ago · link · parent

I'm stunned so many people here can remember details as fine as the colour grading of a film. I couldn't remember specifics like that from 6 months ago, let alone 30 years ago when I was a child and wouldn't have had the thought to watch for cinematographic touches.

Side node - I wonder if it's a millenial thing that our memories are worse due to modern technology, or perhaps we are more aware of false memories due to the sheer availability of information like this blog post.

comment 1y ago · link · parent

But humans can do things Turing machines cannot. Such as eating a sandwich.

comment 1y ago · link · parent

Norway recently(ish) privatised its trains too.

comment 1y ago · link · parent

The UK cannot just "be Singapore". What happened in Singapore was a specific, unrepeatable combination of its geography, the needs of the region, the size of the country, and the culture.

To maintain its wealth today, Singapore relies on a large underclass of underpaid non-citizens. Around 40% of the country are non-citizens.

In addition, London sort of has its own Singapore(s) in the form of the City and Canary Wharf. That's great for those who work there, but it's not feasible for a country of nearly 70 million for everyone to just work in finance.

Final comment:

> Singapore did not depend on neighboring countries to climb out of 3rd world poverty

Singapore's wealth is built on trade and foreign investment. To assume that without other countries it would be equally successful is absurd.

comment 2y ago · link · parent

Around 15 years ago, as a semi-joke, my Mother bought a wireless doorbell and put the speaker in my brother's room to announce dinner was ready. It turned out to be quite handy actually. I think Alexa is a bit overkill for that usecase.

comment 2y ago · link · parent

> never about Scots, either

Scots _are_ Brits.

comment 2y ago · link · parent

Also seen on Booking.com.

comment 2y ago · link · parent

So our team switched to vcpkg recently and, while it has improved certain parts of our dependency process, it has also made other parts more complex. Notably when something suddenly goes wrong it is far more complex to figure out what actually happened (Though to be fair a lot of these issues also come from combining vcpkg with cmake). This led to most of my team revolting against vcpkg and now it looks like we might go back to just vendoring our libraries again.

I suppose I just yearn for an all-in-one build system + package manager like exists in Rust or Go. Once you've seen what can be possible when these things are integrated from the ground up it sort of ruins your C++ build experience!

comment 2y ago · link · parent

Thankfully it is so easy to quickly import libraries into C++...

comment 2y ago · link · parent

The things the above poster suggested are largely man-made, artificially complex things seemingly designed to trap people. Things like paying taxes and handling healthcare are pretty much automatic in most European countries for example.

comment 2y ago · link · parent

I found it very freeing when I moved country to leave almost everything behind. It really helps put into perspective what is valuable and what you know you would miss, and to reduce dependence and attachment on possessions. I think it has helped me become generally more minimalist in my life too.

comment 2y ago · link · parent

Here is a Palestinian being used as a human shield by an Israeli solider: https://www.reuters.com/world/middle-east/palestinian-says-i...

comment 2y ago · link · parent

> If the poem was written with full self-consciousness of word choice, then the meaning really is lost by “updating” it, and where the poetry is best written, the meaning will be most lost.

Tolkien essentially said this in "On Translating Beowulf". That it is essentially impossible to capture the artistry and effect of poetry by translating it, not only because of the flow and meter but also the specific choice of vocabulary.

comment 2y ago · link · parent

You don't need a co-processor for that. Final Fantasies IV-VI all used the 3D mode 7 effect for the overworld, making the effect more exaggerated when the player enters an airship. It's fairly trivial and inexpensive to use HDMA to adjust the (pre-calculated) parameters for each scanline.

Super Mario Kart needed the co-processor for determining things like how to draw the karts depending on their position and distance from the player. Pilotwings used the same co-processor for similar things (essentially, tracking objects and perspective in 3D space).

comment 3y ago · link · parent

I think a lot of people are stuck with C++ due to the fact that there are a lot of legacy C++ codebases (many decades old), moreso than legacy Python or Javascript codebases.

Rust does a ton of things better than C++ as other people here are mentioning. For example, at my 20-man C++ shop, we have around 2 people's worth of full-time cmake work, that is, just maintaining the build system. This work would largely go away if it was a Rust codebase.

comment 3y ago · link · parent

> It has the capability of carrying not only you, but also an another person and cargo.

The vast majority of car rides are taken by a single person without significant cargo. Nobody is saying we should eviscerate all cars, but _most_ of the time, _most_ people that use cars in cities don't actually _need_ to use cars.

comment 3y ago · link · parent

Funny you should mention, I just needed to clean my keyboard yesterday and I was looking for a way to disable my keyboard without turning off my PC. Thanks for your app!

comment 3y ago · link · parent

The idea that Russia or China would magically become democratic utopias without violent social upheaval is extraordinarily naive. In addition to the US just deciding to "solve seemingly intractable social problems, like drug addiction" - human-made problems caused by the same human-made systems that the article is praising.

The only thing I really feel they got close was all 10 of the "Scenario Spoilers". If they wrote an article just focusing on those instead I think all of our minds would have been truly blown. But I suppose this article was written at a particularly optimistic point in time.

comment 3y ago · link · parent

This was written at a time when the borders were closed to most of the outside world, so perhaps that is why.

comment 3y ago · link · parent

> English is a bit odd due to having several different words for an animal and its flesh via the Norse invasion in 1066.

It's not _that_ unusual to have different words for the meat and the animal. The slightly odd thing about English is that the word for the animal comes from Germanic roots and the word for the meat comes from the French root.

Weirdly enough, Japanese sort of has the same situation: the word for "cow": 牛 (pronounced "ushi") and the word for "beef": 牛肉 (pronounced "gyuuniku") being a loan word from Chinese.

comment 3y ago · link · parent

> They weren't particular advocates of the free market

The word "privatisation" was coined to describe the actions of Nazi Germany's government in the 1930s.

comment 3y ago · link · parent

Also - should the thing we optimise for in a language be how easy it is to learn? You learn a language in a small fraction of the duration you will actually use it for.

comment 3y ago · link · parent

Can you give some examples? "Easy" and "hard" are subjective.

comment 3y ago · link · parent

I'm experiencing the same. /r/games is not private and it works.

comment 3y ago · link · parent

How is it deceptive?

comment 3y ago · link · parent

Funny, I had the exact same thought over Covid death rates during the early pandemic. People would have been a lot less skeptical of the precautions if your head exploded immediately after catching it (assuming you were part of the ~1% that were destined to die from the symptoms eventually).

comment 3y ago · link · parent

8% of (American) people have a positive view, 43% have a negative view. The rest don't care or are neutral. So although not a majority, it's pretty close.

https://www.cnbc.com/2022/12/07/just-8percent-of-americans-h...

comment 3y ago · link · parent

> Then you update your compiler source code to use the new gofast keyword and recompile it again. But now you have a problem - how is someone going to build the new compiler from source if their build of the Zig compiler doesn't already support gofast?

Thank you, this is what made me understand the core issue at hand here. I was confused as to why they needed to keep updating the "old" compiler once they had written the self-hosted one.

123