skysight-inc/HackerNews huggingface dataset:
Live through the 1970s when unions became far too political, there was the oil crisis, out of control inflation (in part from abandonment of Bretton Woods. p.s. this is where moves to the Euro originated) and most economies suffering badly and you start to understand.

Strikes and disruption with unions using the tactics of previous decades - when they had fought for and won sorely needed rights, was no longer fit for purpose. They'd achieved the hard part now were fighting battles fewer and fewer outside the union cared for. When your refuse, electricity, heat or bank is disrupted for a lengthy period, while everyone is struggling, sympathy dwindles quickly. Resentment sets in, even for a fair and deserved pay rise, if it triggers yet another strike.

What does surprise me somewhat, is the complete lack of resurgence, or even much recovery, in US and UK after being effectively neutered during the Reagan/Thatcher years. Europe seemed to fair better, so they have kept more union presence than the Anglosphere. Yet it's pretty clear we need something sticking up for worker rights once again.

Coops are a completely different animal, and I've never encountered or heard of objection or resentment to those across my life. Capitalism, and most especially the modern neoliberal variant are indeed religions, with just as much dogma.
We don't have alternatives and those we have are simply not good enough and extremely expensive.

Even if you could replace 10% it wouldn't mean anything.
He dismisses C# without even knowing what options he has. The latest stuff Unity has been doing is heavily biased towards data driven design where almost everything is a struct. There are very few classes to be found that use any kind of polymorphism, and it is actively discouraged.

You could easily treat Unity as a cross platform rendering engine and asset loading system, and then build your own engine on top of it. I see very little reason to drop down to C or C++ at this point, especially if your goal is to ship your game to as many people as possible.
Not necessarily important as in "single handedly curing cancer". But taking part in an important thing , even in a small role, is important.

But so much talent is wasted on insignificant things.
If you have enough green energy to unburn CO2, why not just... use that energy directly? Digging up carbon, burning it, and polluting it, only to spend the effort to capture it, unburn it, and rebury it would be absurd and inefficient.

That being said, I believe carbon capture proposals don't typically involve unburning the carbon - just capturing it and storing it. So the energy situation isn't as bad as your calculations.
> If a Get and Set can produce a collision and it is not dealt with, then it is unsafe for production.

That was confusing to me as well in the article. However they also wrote:

> If however, a key is already present in the cache, Set would update the key immediately. This is to avoid a cached key holding a stale value.

So it sounds like inserts to the cache might not immediately apply, but overwrites are guaranteed to invalidate stale data in cache.
This is your eighth "Show HN" in 14 days. Basically you've submitted it every other day for the last two weeks.

That's seems a little ... excessive.
I am as outraged at Boeing's ineptitude as anybody with a rational mind, but I can't read this kind of article without cringing. Sentences like "about two weeks after the system’s unthinkable stupidity drove the two-month-old plane and all 189 people on it to a horrific death" should raise alarm bells in any reader's mind.
This is probably a writer who knows nothing about aviation and/or software engineering yet feels very comfortable calling a system "unthinkably stupid". This smacks of oversimplification and just plain sloppiness.
There are many articles on the entire debacle that are a lot more measured, and smart about their analysis, including quite a few great reads that were mentioned here in HN.
The goal is not actually to write bare metal super optimized code, most of the time.

The goal (at least mine and of some authors following this minority trend) is to write and read simpler, more straightforward code.

Take a look at the code in the examples of the following url to see what I mean.

https://www.raylib.com/examples.html
Name me one country that have that problem with nuclear.
How does that matter for this comparison? The claim is that the iPad pro is as fast as the Macbook Pro. If the hardware encoder is slower than a Macbook Pro software encoder and the iPad pro is as fast as the Macbook Pro, then by that corollary, the Macbook Pro's software encoder should perform faster than its hardware encoder. Surely Apple wouldn't add a slower hardware offload and use that?
> the game itself has objects (as in, things the player can pick up and put in their inventory), the game itself has classes (as in RPG classes). It might even have factories, depending on the game.

Am I an idiot for not knowing for sure this is a joke, or is the poster an idiot for not intending a joke?

I'm so confused...
Unions for employees paid by taxpayers are not comparable to unions in non taxpayer funded organizations.

There’s a serious problem with incentives in the taxpayer funded space due to every union member voting in political elections, whereas the non union public is not involved, resulting in the politicians and unions being able to strike deals and no one really representing taxpayers.
If you're sincere, it's likely cost and sustainability — it's much cheaper to make a composting toilet than install a septic system; and a composting toilet is environmentally beneficial compared to a septic tank.

Edit: I just noticed that you also specify off grid. That as a foundational principle would lead one to simpler choices. A composting toilet is much simpler than a septic system.
These are supposed to be smart people. Why would they believe it works? Wouldn’t they google polygraph tests before showing up?
> [C++] is high performance, and it offers but features I don't want, and at a great complexity cost.

1. Complexity of implementation is not complexity of use. Example: Take std::array vs a plain C array. std::array is a few hundreds of lines of code. But - it's about as inutitive to use; has more convenience features; easier for the compiler to optimize; and doesn't let you should yourself in the foot that easily.

2. If Whiting don't want _any_ of the features of C++ - his software-writing skills are suspect. Now, few people need or want all of C++'s features - but C's are definitely insufficient, especially if you consider both the langauge and some of the standard library (or non-standard common libraries).

3. The complexity you have to tackle with C++ is lower than the complexity of non-standardized often-inconsistent idiosyncratic platforms and libraries for achieving the same things with C (or C + assembly).

So I find Whiting's argument for C over C++ unconvincing. IMHO C++ would be the least-bad language for writing demanding games in.
> If we want positive change in our world we need respectful and rational discourse. Posts likes yours actively tear down discourse and makes worse the very problems you mention.

This is a very ahistorical take. Tone policing and "moderation in discourse" has a strong connection to the will to maintain status quo. Radical discourse, direct action and even an unpleasant tone have however a rich history of change, both positive and negative.
I had the same thought. I never used C in a real project, but use Rust a lot. I looks like a real replacement for C.
Citation needed on that, plenty of major libraries typedef pointers all the time.
These are game developers though. On the list of requirements and priorities, I'm sure code safety is right beside commenting code and clean code. Not in a disparaging way. But tight deadlines, crazy expectations and insane work hours doesn't leave much time or energy to worry about it.
I keep Leuchtturm notebooks for capturing ideas in depth, and a stack of index cards for notes. Over time, as the notebooks fill up, they become really nice objects to keep coming back to. (And they look nice on my shelf.) The index cards are not precious, and I can scribble something down, tear it up, pin it to a board, keep them in a box for later.

I definitely agree that there's something calm about writing with a real pen or pencil on a piece of actual paper. It's tactile and satisfying. And the 'slowing down' has a very clear mental effect.

Side note: classic Montessori education starts kids with cursive, because the flowing letters are easier to start with. I got back into cursive with keeping a journal; with practice it starts to become a really nice mental/physical fit.
Indeed, and also what about the effect of multiple cores? You could have 7 cores working on game logic and one doing GC.
>One can be pro-organizing but not pro-union.

Agree 100%.

Im the United States most local and state ballots have measures on them generated by petition drives. Get X number of registered voters to sign a petition and it is on the ballot.

I always signs these when the someone approaches me. I may not agree with the cause or be a proponent of the goal, but the group organizing should have the right to appear on the ballot and have citizens votes on it.
Bollocks. Positive change comes about from those who make it, not from those who sit on the sidelines and discuss it. Those in power — from Trump to Putin to Boris Johnson to Murdoch to McConnell to Duerte and beyond — all share the common characteristic that truth is what they say it is. They’re not just uninterested in respect or “rational discourse,” they know that lazy allegiance to them are a weakness and use it to their advantage. They understand that the notion of a “marketplace of ideas” is anachronistic, and use modern marketing techniques and sociology to influence public opinion to their gain, preying upon the inherent weaknesses of the primate brain.

So go ahead. You tell me how seizing the reigns of power by force in order you prevent climate catastrophe is a bad thing. Outside the rarified realms of our own minds, rational discourse really doesn’t exist, and this is doubly true when it comes to politics and power.

Humanity will not survive the climate apocalypse because there is a strong argument to be made. It will only survive if direct, and likely violent, actions are undertaken.
No matter the strength of the economy, there will be people who are not good at applying for and getting jobs. That’s who most of these applications come from.
I will assume your interest is genuine, here are links to the documents explaining the methodology behind the various S&P[0] and DJ indices[1]. I'm sure you can find documents for /RUT and IWM (Russell 2000), as well as /NQ and QQQ (Nasdaq 100) if you would like to see those as well.

[0]https://us.spindices.com/documents/methodologies/methodology...

[1]https://us.spindices.com/documents/methodologies/methodology...
"I’ve spent 30 years in the US, many of those in red states, and I’ve heard the “temporarily embarrassed millionaire” canard way more often than I’ve heard anti-union rhetoric. In fact, I’m not sure I’ve ever heard anti-(private sector) union rhetoric."

That's because union organizing campaigns are so rare. Usually, the organizers get fired. WalMart has closed entire stores that voted for a union.

Some anti-union resources for employers.[1][2][3]
[3] advertises a "95% win rate".

[1] http://www.unionproof.com/
[2] https://lrionline.com/fighting-a-union-3/
[3] https://anh.com/
The iPad, magically, performs well in Geekbench but has throttling issues in a real world task? I find that hard to believe.
It always surprises me that journalists covering property crime don’t expound on the reasons for the crime happening in the first place. Catalytic converters, copper pipes, brass fire fighting fittings - these are stolen to fund the purchase of drugs.

Why isn’t there more discussion of legalization so that addicts won’t have to steal and cause so much collateral damage to the economy?
I 100% guarantee you don't know that this would be the case.

If the correct way is penalties then the correct course of action for the subcontractor would be to try to not get caught, there are penalties for union busting tactics already, and that is not stopping them.

It would be easy for google to do things to make it clear that they do not oppose unions:

Steve Gyrgo has worked with HCL for two years. He says he is not against unions as a whole, but he is worried that after forming a union, Google might want to work with another contracting firm.

Google can just put out a press release that says that union shops are welcome to be google subcontractors and that they as a company will have minimum compensation guidelines for subcontractors to show they are committed to people being fairly compensated for their work.
Wouldn't a compiled binary be smaller and faster than an interpreted language? Assuming stdlib is already loaded.
i think op meant that it’s strange to want strong typing and opt for C at the same time (because C is far less strongly typed than other more modern languages i suppose). Not that strong typing isn’t a good thing.
Yes. And the Geekbench comparison I linked to in my comment claims the multi-core scores are also similar.
Bullshit. If ICE really wanted beds for their detainees they’d have gone somewhere else.

In a way, it’s a baby step about making life really hard for ICE such that they have capacities for less detainees while we wait for a sane president who isn’t xenophobic.

Akin to how cloudflare kicked off sites who condoned violence and hate from their services. Sure they can go someowhere else, but their life gets harder eventually to the point that they’re more naked in news and no one wants to work with them or associated with them and they eventually shutdown.
Ha, no :-)

And I'm also no longer on that team.
Twitter Suspends Account of Former Adviser to Saudi Crown Prince
This seems to me almost impossible to change. Of course a child's entire life is hugely affected by genetics and upbringing. That's not even to mention the connections anf opportunity gained through family ties. It may be unfair
(debatable) but it's the way of the world.
Given much of the economic growth is in tech and tech tends to concentrate in urban centers, urban centers tend to be blue. Can this be much of a surprise? The Administration's self-promoted gains in manufacturing and mining are impaired by some of that technology. Automation has played huge roles in the very industries Trump heralded for his voter base in 2016. You no longer need an army of humans on the production floor or even in the coal mine, making those, formerly high-paying jobs, a thing of the past. This leaves an entire population of disenfranchised to whom immigrants are a major threat as is outsourcing. So these numbers and graphs should not be a surprise to anyone.
A lot of the stories coming out about the malfeasance at We are coming from good old-fashioned investigative reporting: tracking down former and current employees and interviewing them (on and off the record) about what's going on. This is the bread and butter of journalism.

What's so unique about a tech company that it would be immune to standard journalistic practices? And is We even truly a tech company anyway?
Yes I barely checked the index because the index I consider good from the UN doesn’t list them as the least corrupted ones. This is a perceived index. I’m pretty skeptical of Sweden, NZ and CA being corruption free. They don’t have anything exceptional to back it up anyway.
"What they do instead of GC" - with some languages there is very little need for GC. Sometimes it's just 0, sometimes it's only certain limited kinds of allocations, and those can have scheduled releasing/cleaning/GC-like activity.

See also:
https://stackoverflow.com/q/147130/1593077
Some points:

> All my solo project games I've been making recently have been written in 'vanilla' C.

The author is talking about solo projects, not big projects where dozens of teams may be collaborating. It is good that he makes the point at the beginning.

> Nobody does this.

This is just not true. There are solo projects developed in Python, Go, even Commodore 64 assembly. When you do something for fun, you can have as much fun with it as you want.

> It would be nice to make things for the web, but it feels like a terrifyingly fast moving enviroment.

The author should look into Emscripten. It is widely used in the games industry that aims for the web.

> C++ ... It is also slow to compile compared to C.

Probably an important point. You need very good practices to make C++ compile fast. Most people don't follow them as adds complexity to the project.

> Haxe feels much more promising than most alternatives.

Haxe is kind of Object-Oriented and like C++. So, I do not see the point after bashing C++'s OOP so badly.
For me, the problem is that it transpiles to another languages. So, when something fails does it in code that you didn't write but the Haxe did. This makes debugging harder that it already is.

> Some people just say screw it, I'll write my own language, the language I want to use. I admire this, and sometimes I toy with the idea of doing the same.

Yep. Something possible for your own fun. Not a good idea when developing commercially. It makes sense for him to choose one language for commercial projects and another, or even create his own, in his spare time.

> It can be made to run on just about anything. Usually this is relatively easy. It is hard to imagine a time when this won't be the case.

This is the big advantage of C. If doesn't run C, probably it just doesn't run at all.

> I absolutely DO NOT mean to say "hey, you should use C too"

For solo projects is a giver that each developer should use the best-suited tools for the task and their abilities and preferences.

I, personally, like C++. I have developed big and small projects in C++ and for me comes natural to write object oriented code. For big projects I see advantatges in being more rigid than C. The extra rigidity makes more difficult that there is unexpected funky stuff happening. So, it is easier to use for teams that maybe situated in different countries. For a solo project, you do not need that rigidity as you know how your own code works.
> I do write games and game engine code and tools in C++ without using any of the OOP features.

Excuse my C/C++ ignorance, but why not simply use C?
>It makes sense to have a service contract when you have really no knowledge at all on the domain, but as soon as it's related to your daily job then you will quickly realise that experts are mythical characters whom your contractor have no better access to than any other company, including your own.

I would seriously question who you're doing business with. Anytime I have had a significant issue, the escalation path is to the guy who wrote the code. To imply that enterprise support is just a bunch of people who don't know more than the average guy off the street is ridiculous. Tier 1 support? Sure, but you don't stay there long if you're a clued user with a real issue.
In particular I know that Go's GC is optimized for very low latency (rather than throughput), and is not a stop the world GC. So I'm wondering why it doesn't work for games? Are the pauses still too high for games, or is he missing something? Benchmarks or concrete results in Go would be great here.

Edit: specifics from https://blog.golang.org/ismmkeynote - Go hugely improved GC latency from 300ms before version 1.5, down to 30ms, then again down to well under 1ms but usually 100-200us for the stop the world pause. So I guess it is stop the world but the pauses seem ridiculously small to me. They guarantee less than 500 microseconds "or report a but", which seems more than fast enough for game framerates (16ms for 60Hz frames). Am I missing something?
whats the benefit of rust over julia or C for computation?
Regarding police brutality, I don't think it's fair to dismiss this as "fake news". Amnesty international, for example, have investigated and found plenty of problematic behaviour by the police: https://www.amnesty.org/en/latest/news/2019/09/hong-kong-arb...

I don't agree that protestors are trying to tear down 1c2s. The issue seems to be that they dont trust China to stick to the agreement. Obviously if China won't honour their promises on 1c2s, independence becomes the only long-term solution.
I am trying to say that most of the home grown solutions I have seen have been pretty poor quality, and lack documentation especially. Do enough maintenance programing and you will understand.

If you do test and document your own stuff properly you are in a small minority. Why not release it for others to use?
Ask HN: The Future of Go-Lang?
Would you start a new project in Go? It seems the hype train has died on it (which isn't itself a bad thing), but would you consider it?

I'm thinking of starting a new project with it. It needs relatively high throughput (~20k transactions a second) but unsure if Go is a good choice. I like the simple syntax, low memory footprint and easy threading/routines.
If you cannot be certain how long garbage collection will run, it is almost certainly a bad idea to have it in a game.

Most times it may run in 200 micro-seconds, but the one time it takes 20ms the user suffers from unacceptable stutter.

I can see how people would want to bypass the problem entirely by being a bit more careful up front.
It's not intended as a joke, and please have patience with me if I'm an idiot.

Imagine you had a program involving, say, chairs. It has things called chairs, which you pass around to functions which take chair arguments. Suddenly, the next version of the language comes out and now "chair" is a reserved keyword, and all your code is broken. To fix it, you have to go through your whole codebase and rename all your "chair"s to "ChairStruct" or "_chair" or something.

I didn't say it was a major world-stopping difficulty. It's just one additional nitpick against OOP for games (added to an already gigantic stack of much bigger problems caused by OOP).
Personally I interpreted the parent as pointing out that C does not offer strict typing.
Your only point seems to be:
Chromium == Google
Google == evil
Therefore chromium == evil
Firstly chromium implementations détails decisions are just good engeener decisions
Features they intent to implement are just features devs want and or that solve a real limitation.
I defy you to name a few chromium features that made the web worse.
But more than anything, chromium is open source that you like it or not and Google is no longer the only major player I. Chromium since microsoft joined it.
Nothing stop mozilla and Apple to join chromium too.
If there's something you don't like about chromium (and indeed I can sociologicaly infer that it would be something privacy related and not something engeenering related (which is what we should mostly talk but that's not something hackernews understand much).
For such thing nothing stop you from using one of the many privacy focused chromium forks.
> We need to start the education at the preschool level, teaching the kids how easy it is to be fooled and why we have to always question.

You’re going to have to rejig several years of curriculum based on the Easter bunny, various Christmas holiday creations, children’s books and probably ruin a lot of imaginative fantasy books.

I’m okay with it though, my older siblings basically did the same thing to me from a young age.
Fascinating. I always wondered what was used in the 1960s to project the huge screens in NASA Mission Control.
yeah, there was also LiteBSD https://github.com/sergev/LiteBSD

but Retro is the more active project https://github.com/RetroBSD/retrobsd
The Loom of Language (1944)