skysight-inc/HackerNews huggingface dataset:
What politician would you vote for?

Politician A) The one that promises you more economic comfort in the short term

Politician B) The one that promises you sustainability (i.e.: not necessarily growth)

Most people will vote for Politician A. Because most families in this culture want prosperity so they have more income to have a "better lifestyle" (consume more). The problem is that a better lifestyle means a higher environmental footprint.

That brings us to the realization that at some point in time we became an ecocidal invasive species, and having good historians and a good public relations team won't change that in the actually true and objective historic record: the geological and fossil record, which will be the only one that will remain after we starve ourselves to death. In that record we will see how after the arrival of the behaviorally modern human, especially after the industrial revolution, all species above certain weight started dying.

We look down at tribal peoples with dumb narratives such as "they are not making an efficient use of the land". Well, 200 years after the industrial revolution we are learning that the industrial mindset is collective suicide, and perhaps there was something that the tribal peoples were doing correctly, measured in terms of KPIs such as carbon emissions, topsoil, biodiversity, etc.

And the solution is a) reducing our environmental footprint (which is impossible with a growth-oriented industrial mindset) or b) resist growth or c) reduce our population. b) and c) will never be supported by the population.

We will have to rewrite history and rethink the way we educate people, accepting that the industrial revolution was progress in terms of consumption but it was a massive setback in terms of sustainability. i.e.: it is a progress trap, or in simpler terms, it doesn't fucking work.

We are just immature people playing with a credit card and thinking we can afford everything. But everything you spend you'll have to pay later, with interest, and that time is arriving at an increasingly faster rate. We are living lavish lifestyles at the expense of the future generations.

Political leadership doesn't have an answer, neither do corporations. The media serves those groups, so the solution won't come from them either.

I predict that once strong AI is here, elites will not have a reason to collaborate and share resources with the masses, and will have no incentive to share political representation. Plus, the agriculture supply chain is highly centralized and corporations can cause a famine any time they want.
Clearly we need to solve this problem, climate change is real, and it's here.

However, we can't just stop using oil. It would lead to the death (by starvation) of most of humanity, mostly in the poorer parts of the world.

We need a well managed transition away from fossil fuel inputs. One of the first things that should be shifted, as much as is possible, is from Industrial Farming which uses massive chemical inputs, and burns up the soil.

Regenerative agriculture can eliminate the need for tilling, capture carbon into the soil, which both then improve water retention, and decrease soil temperatures. These reduce the need for irrigation, increase the ability to absorb rainfall without run-off.

The addition of ruminants to the mix produces fertilizer and meat at the same time.

About 20% of the carbon we've dumped into the atmosphere could be recaptured if widespread adoption of regenerative farming were to happen. It's not a perfect solution, but it's a lot cheaper than trying to use machines to do it.
Reminds me of Prometheus, which was the oldest known living tree in the world—before it was cut down (although its age wasn't known at the time) [0]

0. https://en.wikipedia.org/wiki/Prometheus_(tree)
Sounds like every discovery is bad news for the environment because it raises the threshold for recycling even higher?
Even years after that Netscape would crash without any error messages and vanish multiple times a day. The past might have been good but we take so many things for granted today. Even if a browser crashes, it usually keeps all your tabs intact when you start it back up.
You're trying to make a joke here, but please do some reasearch about the dental lobbying groups. The ADA is no joke.

What OP is implying is not really tinfoil hat material. As one example, one of the reasons parroted (by democrats, actually) that we won't have universal healthcare ever, is that it's going to cause thousands of health insurance jobs to dissapear.
Back in the early 2000's (maybe 2004-2005) I remember buying a can of Coffee from WHSmiths which was self-heating - I think through some exothermic chemical reaction.

It was also really bad as I recall, more like an instant Nescafé than something you'd get in a coffee shop. I didn't repeat the experience.
Fair, but also where != what
What strikes me about this story (and "reporting" in general) is how eager people writing stories are to stir up the worst kind of racial/gender-based implications without any further responsibility for analyzing or self-doubting the top level findings they're throwing in front of the audience.

You would think that anyone presenting statistics that call into question some kind of differential treatment by race, ethnicity, or gender would take a moment to point out the cautions in the data. Or even express some doubt about writing the story to begin with.

But no, for some reason, we are fascinated by the "0th order analysis" of inequities by race, almost want to see it blown up into incorrect interpretations and incentivize reporters to produce such stories.

I think there should be a code of ethics where reporters should be questioned about what they seek to accomplish with half-assed analyses like this, if they fail to accompany it with huge warnings about what it hasn't taken into account that could explain differences:

-- age

-- experience

-- selection biases in employees tenure (both hiring and departures)

etc.

Without this kind of info, all these stories do is shout an alarmist call that "this isn't fair" and then fail to produce any backup for the claim, but rile everyone up.
Even worse, the trend away from good UX is leaking from software to hardware.

Who at Kia thought this was a good idea? Three steps to open the door. Requires two hands. Good luck if you’re an amputee, have arthritis, can’t see the door unlock touch zone, or just can’t figure it out.

https://m.youtube.com/watch?time_continue=50&v=Rv5so7szIMM

Then there’s Elon’s obsession with that stupid F1-style steering wheel.

And VW’s off choice to control 4 windows with 2 switches in their EVs. So weird.

It just goes on and on. Don’t these companies hire engineers with UX experience? Sigh.
The paper goes into more detail without forcing you to go into the impl but it does seem to be a decent bit more advanced than that.

https://github.com/eduard-permyakov/peredvizhnikov-engine/bl...
With the concurrent rise of reasoning AI, we'd be getting ready to launch the Second Renaissance! https://en.wikipedia.org/wiki/The_Animatrix#The_Second_Renai...
Well, a lot of those are being driven in large part by climate change. I don't think I was saying that reducing CO2 back to pre-industrial would solve all environmental problems, just that reducing it is an important part to improving a lot of them.
> Electric cars probably are the future, but I don't like this future. They don't have a soul.

The idea of a transportation machine having a "soul" is ridiculous.
Basically because it affects performance. You really don't want to write any buffers!

This is sort of a deep topic, so it's hard to give a concise answer but as an example: CuBLAS guarantees determinism, but only for the same arch and same library version (because the best performing ordering of operations depends on arch and implementation details) and does not guarantee it when using multiple streams (because the thread scheduling is non-deterministic and can change ordering).

Determinism is something you have to build in from the ground up if you want it. It can cost performance, it won't give you the same results between different architectures, and it's frequently tricky to maintain in the face of common parallel programming patterns.

Consider this explanation from the pytorch docs (particularly the bit on cuda convolutions):

https://pytorch.org/docs/stable/notes/randomness.html
Society would grind to an abrupt halt if you cut oil production by even 20%. Of course, if you did that red meat and cheap air fare would go away on their own.

That this is the most upvoted comment shows just how far most people wander from reality.
And how much did it cost? It didn't collapse because we printed trillions of dollars, but now we have a huge debt and inflation, which has made poor people even poorer, especially in poorer countries where food insecurity has resurfaced. If it were a sustainable solution, we would have already implemented it.
> Who do you trust currently?

Depending on the extent of trust you want, the ultimate (whilst being "reasonably" affordable) option is becoming a Nominet member.

Nominet are the registry for .uk. Anybody (person or business) can become a member and the core benefit of membership is you effectively become your own registrar. As long as you pay the membership fee, Nominet don't care.

You therefore cut out the middlemen.

Sure, Nominet could theoretically cut off your domain (e.g. if you don't pay your membership fees). But the bar is much, much higher than $Mega_Corp.

Unless you've got money to burn, probably a bit extravagant for only one domain name. But if you'll be needing a few it might be worth considering.
In the past many involved in frontend design might've had a background in human factors or ergonomics, they would also have some knowledge of how the brain perceives what's in front of them. I would view this knowledge as quite fundamental but it's increasingly rare to find such expertise in the field now. In my mind it explains a lot in terms of how many UIs are an incoherent mess and why accessibility is considered an afterthought, if at all. Doesn't matter who developed it either. FAANG are just as adept at flubbing basic design principles as anyone else.
I came here to write this. Routing and networking is still confusing for me and all the writing about it is usually very "abstract" to me. A hands-on example like this one is really appreciated. Nice work, OP. I'll try to do it myself and follow along.

EDIT: one of the only other posts about this stuff that has made much sense to me is this one from Tailscale. It contains lots of "worked out examples" that really make it clear how everything fits together.

https://tailscale.com/blog/how-nat-traversal-works/
Ask HN: Building a deep expertise in one language
I have decided to build expertise in Python. I love the language and want to build a deep understanding of it. I have multiple reasons for wanting to go this route with the primary one being that I don't like context switching tools for work and personal projects. I also feel that context switching in between multiple languages restricts my understanding to them to a very surface level.

Ideally it won't be one language, it would be Python + C (or Mojo). But you get the gist! I also understand the consequence of this approach, in that I am restricting myself to a very limited number of jobs. What are your thoughts about this approach?
The majority of these projects are net carbon emitters, so they fit any definition of greenwashing.

I also consider woefully small and unscalable, even if real, contributions to represent greenwashing. For example, the plastic straws craze, that attacked a problem that barely even constitutes a fraction of a fraction of a percent of plastic pollution, was pure greenwashing. And by this definition, literally all carbon capture initiatives, even the most well intentioned, are just greenwashing.
> Because if you did want an answer you could have asked an ai

You're joking, right? Otherwise why stop at AI? Why not go directly to the source and read Twitter?
You're right that emissions-per-capita in Western countries are unsustainable, and that consumer demand is out of step with the true cost of fuel, meat, etc.

But how exactly would any country succeed in deliberately destroying their own economy? They would face revolts, civil unrest, and the economic vacuum left behind would simply open the door for any country that doesn't play along to gain a monopoly on forbidden economic growth, and potentially establish their own global hegemony.

No economic system has ever had "fair" or equal distributions of wealth, and no system will ever have a fair distribution of carbon emissions either.
Luckily, we have a couple of decades before need to do carbon capture. For now, it is better to focus on retiring fossil fuels.
It's a peculiar game as you have to try to get your brain to "look" for the colours/objects that aren't there. You can consciously eliminate the objects one by one, but inevitably someone else will be quicker than you. When you get the knack for how to quickly find the missing item, you suddenly end up winning lots of round in a row.
Yes but deadly pandemic was the threat that did it, otherwise it would be business as usual.

In other words: we can't seem to make a change unless given a direct and immediate threat on a global scale.
You can specify which variable names are valid, reducing the likelihood of a collision.
If the string contents are only used at the code-gen stage, then I see that as an argument FOR being lazy.

On the other hand, the principle of validating your input up front suggests that you should at least recognize the escapes, if not store their decoded from.

That is, you can be lazy by only parsing \\ and \" to find the closing quote, and producing 1 token. But that's nearly the same thing as doing a full-decoding. The downsides are that it allows invalid input deeper into the compiler, and it doesn't alert the user to errors as quickly as possible.

most of the string constants do actually see use in the program

[citation needed] :) I don't see how that can possibly hold across languages (Go, Java, Swift, etc.), and I'm not even sure that's true for C/C++.

only makes sense if you're writing a parser for an IDE/LSP in which case you don't need to unescape the string at all.

Clang's front end is used both for LSP and for code gen, so that distinction doesn't apply in all cases. It seems like most projects want to reuse their front ends these days.

And again the LSP will want to warn about invalid escapes like \777 and \u{9999999}.

----

EDIT: Although I guess in C, emitting all the errors up front, and then storing the decoded form in place, is probably about the same cost. If there's no allocation, then I might treat eager decoding as "free".

I think the problem is that you lose info, and most languages have more structure in their string literals, e.g. Swift has \(var) interpolation, and IDEs in Rust want to do things with {} format! strings, etc.
We had a long running adage that the games would start at LAN parties about 10pm. Didn’t matter when you arrived to set things up, could be 9pm, could be 9am, technical issues would conspire such that they weren’t resolved until 10.
> Founder run companies care and even hand picked successors to founders who are “company men”. The Google CEO is just a suit.

Sundar has been at Google since 2004 and Larry Page hand-picked him.
This is another thing that will motivate development and deployment of new memory-centric computing paradigms for AI.
Are you sure? This (sourced) comment claimed the opposite: https://news.ycombinator.com/item?id=37456916
I can experience it here in North Texas. We've had a lot more snow events in the past few years than the over a decade preceding. It used to be an every few years kind of thing, now there's a couple big ice storms every year. Massive difference.

And it swings the other way in the summer too. Yeah, it's Texas, its hot. Upper 90s most days in the peak summer time. Every now a bad summer with a lot of 100F days. Now every summer has streaks of well over 100F days. This summer alone has been the hardest one for me to experience here in my over thirty years in Texas.
It's still much more realistic than carbon capture of billions upon billions of tons.
Keep watching your cartoons and let the adults do climate politics.
> Many ISPs suck. That’s not controversial.

> We have to deal with the world we live in, not the world we’d like.

No we don't. Some choose to just put up with shittiness, others enact change.
Very interested, what type of analysis do you do?
A friend of mine described using make to generate scientific papers. He explained that if he changed a single test file, the entire paper could be regenerated including running tests and generating graphs the changed test with a single command.
Don’t you think oil will keep getting more expensive?

That what I had in mind. It seems more and more costly to extract it.
German circus replaces live animals with holograms
Phoenix is only pleasant when it’s under 105. Anything above that, and I’m indoors or in the pool. When I move, it’ll be to a place with significantly fewer days under 105.
A couple things: your fonts render better, your text is in Unicode (may not be a big deal for Americans, just trust me that I care that I can write reliably in my own language), your kernel has to support many more abstractions.

But the real issue is that the browser does a lot more than it used to and languages with JIT compilers and automatic memory management are just going to have a much higher overhead than C++. This is doubly true when the languages are non-typed and ultra-dynamic like JS.

For a while I browsed the internet without JS enabled and sites that didn't break loaded without any visible delay.
What if we vent the carbon into space
The opposite of that is people who try to loosely project the variety of error modes their app has to http status codes. You then print out a table of http code <-> actual meaning and try to outline ranges and messages you want to handle differently. On top of that, their backend may be down and you have to deal with bare reverse proxy statuses as well, which adds another dimension to that mess.
What passport you are able to receive, and where you can resultantly live and work, is a function of who you are. Nationality is a protected class for purposes of discrimination, at least in US laws. (Not that US law applies, just as a reflection of the moral context.)

Yet Google happily uses this opportunity to pay wildly different amounts to people doing the exact same work.

In any case, this clearly invalidates the first claim, that people are paid based on what they do. They're paid actually based on their replacement cost in the place they are legally restricted to do it.

To make a contrived example, this means that a woman in a LCOL country/city will earn less than a man in an HCOL country/city, for the exact same work.

All of this pay equity stuff is total nonsense and posturing as long as Google is taking advantage of labor market arbitrage (which their staff cannot easily do, not being multinational themselves).

If they truly believe in equal pay for equal work, it should plainly apply across national borders that staff cannot cross. Anything else is lip service.
Does anyone have experience debugging/profiling highly contended critical sections of STM vs a more traditional mutex implementation? At the end of the day something has to mediate concurrent access to shared memory, there’s no free lunches, and mutexes are so well optimized, profiled, and understood. I’m unclear if the same applies to STM where a transaction may need to be retried an unbounded(?!) number of times.
I cannot prove it, but I think some of these UI and UX horrors are caused by the ever present need for software to change in order to demonstrate it is alive.

Imagine you reach peak usability in $YourApp, in the year of our lord 2023. It's maybe not perfect, but there's no conceivable way your app's usability can improved past this point. Users are reasonable proficient, everything mostly clicks into place past the inherent hurdles of learning to use an app.

Can this situation stand? Well, no. If you keep your UI as is, the software world will often perceive your app to be "stale" or even dead. So you have to change. But if you change anything after you reached peak usability, you will necessarily worsen your UX, sometimes in catastrophic ways.

I cannot prove it, but I think this is one of the reasons (not the only one) that explains why some app's (and desktop environments!) decent UIs get ruined so thoroughly.
> I found his GEMINI approach quite funny - it strips out most of the formatting with a regexp.

Do you mean the regexp in https://github.com/karlb/karl.berlin/blob/master/blog.sh#L4 ? It doesn't remove the formatting, just HTML comments (because they would show up on the page, otherwise) and rel="me" attributes (because they don't work with md2gemini). Feel free to read the blog post about adding Gemini support for more details: https://www.karl.berlin/gemini-blog.html
How is refusing to extend a commercial service into the territory of another nation where that service is not offered and whose terms explicitly prohibit military use considered as treasonable ? Kindly point out the section of U.S law.
It's usually spelled "ngl" and seems to be a stock phrase that's used more-or-less as an opposite of "/s".
I think MIT students are expected to have very strong self learning abilities and do a lot of experiments on their own.

https://www.quora.com/Who-produces-better-computer-engineers...
"it truly seems more emotional than data-based"

The median Canadian has a credit rating of 650. The median Canadian cannot remotely afford a home in any Canadian market. Apartments -- the absolute last resort -- have vacancies below 1% in most markets, 1.7% nationwide. Canada is seeing an immigrant intake of approximately 130,000 per month.

If this isn't data to you, you are clearly not arguing in good faith and are either a contrarian, agenda-driven, or a troll. Or a mix of the three. The retort of "I talked to a friend in Canada" is so absurd that it confirms the prior.
Cut them some slack please - even they need the occasional PR hype to ensure funding.
That’s at risk of happening either way.
Is there a token limit for the train step? Like length of documentation, number of example SQL queries?
I personally, much preferred the original, 'Our Day Will Come' by 'Ruby and the Romantics' to Amy's version.
The only useful take away here for most people should be how little most other companies get away paying.
Ah what a great story, reminds me of the webguy vs salesdude video. If you don’t know what that is, look it up :)
> I'm not worried about The Narrative. I'm worried about dying.

The narrative was to implement mitigations that could not be effective against an airborne virus, like wiping down surfaces, staying six feet apart and washing hands.

They pushed disposable masks that weren't capable of filtering the air you breathe instead of the bare minimum of a properly fitted N95 mask which can filter the air as long as it's fitted tightly enough to your face to prevent air leakage around the sides.

The false narrative that was put in place did result in more deaths than mitigations effective against an airborne virus would be.
Perhaps they were obligated to do this under the terms of the sale?

Maybe it's not for affiliate revenue, but just because some product manager at squarespace needed another metric to track?
Spotify is the worst ever for this. Major UI changes that are awful every year or so. It was very easy to find anything you wanted 10 years ago. Now there's slideouts and hovers and collapsible garbage hiding everything.
I don’t think this is the case for most men I know. If you are just looking for “hot” you can date almost indefinitely these days. Marriage is a partnership and with the cost of living these days it might not be wise to choose “hot works at starbucks” over “smart and can contribute to the family”