skysight-inc/HackerNews huggingface dataset:
> However, with our current political system, the solutions to these problems are nearly impossible to accomplish. Unions, socialized health care, workers rights, mandated vacation time, overtime limits, minimum wages, and UBI are all lightyears away.

All of those (except the UBI) exist in most developed countries.

There are many problems, from taxes (the poor already pay zero, the rich avoid them, the middle class gets fucked), to foreign/illegal worker (why pay a fair pay to a local worker, if you can employ a foreigner for cheaper), to widespread corruption, anti-covid measures (mostly printing money and giving it around, bringing high inflation), to political sanctions (eg. ukraine war - it's no different than eg. the war in afghanistan or iraq or libya, syria, etc., but somehow we act as if it is, and with many political steps inbetween, the gas prices and food prices are soaring high), to people abusing all the buzzowords you've mentioned in countries that have them.

Honestly, if just the police and courts did their jobs, and all the corruption was punished (from heads of government, to paying plumbers under the table and people abusing social benefits), a lot of the problems would be solved.

In my country, we just had an election, and the two most pressing matters were healthcare (fscked) and housing prices (double fscked). Noone on TV ever mentioned how much an average worker pays for healthcare (it's automatically deducted in two different ways from your "gross-gross" paycheck), because people would get mad and ask where does all the money (a lot of it) actually go,... and also noone asks why we can have cornfields and cows in prime locations of our capital city, and even more prime development land in other cities, and the government (from national to local) doesn't allow building there, to bring the prices down.
Forgot the D from "devolution".

I have never, not once in my entire life, needed a part of a web page to update independently.
I'm sure a lot of enjoy cushy, well-paid, low-stress jobs (myself included) but its not all of us.

Game development is one area that could benefit from these. People in that industry suffer from a lot of stress and high rates of burnout due to overwork. edit: they're also paid significantly less than people working in web-dev.
"I don't believe people are dicks by default except for Americans" lol
Ha! ty!
Being a subsistence farmer is really hard. When my dad was growing up, 1 out of 4 kids died before age 5. Getting in boats to go to school was a thing during monsoon season. Moreover, most people don’t own their land—they’re what Americans would call share croppers or what Europeans would call peasants.

There’s certain benefits, of course. The communities are tightly knit and there is a predictable social hierarchy. But it’s a rigid one, and the rigidity is driven by the realities of subsistence farming. It’s pretty great if you’re a landowner, but if you’re not born into one of those families then you can’t “work your way up.” Indeed, a lot of the things we think of as “more enlightened” attitudes in the modern west are really the product of us being free from the constraints of subsistence farming. You don’t get to be “child free” (or openly gay) in an economy where having lots of kids and hoping enough survive to take care of you in your old age is the only retirement plan.

Men’s dominance over women, likewise, arises naturally in an economy where people are at the edge of survival and doing extremely physically demanding work keeps the community alive.
My mom grew up reading Russian literature and got a master’s degree in chemistry and edited a history of the Bangladeshi independence movement. Not because her father was enlightened, though he was, but because he was a wealthy landowner and didn’t need his daughters to be in the fields harvesting rice, or to get married off quickly so some other man could support them.
> we'll pull together when the moment's need arises.

Unless the need are manifesting slow enough (e.g. climate change).
V.R. ‘Reminiscence Therapy’ Lets Seniors Relive the Past
Yes the style is overly complex. It distract from the message.

It feel like the opposite of a PG essay.
I have a short enough domain for work that I can just make a simple redirect for short "easy to type" URLs as needed.

I prefer things like example.com/cats when possible vs technically shorter but harder to remember things from bit.ly or whatever.
Dokku on top of a Digital Ocean droplet is a pretty cheap and easy option if you're OK with a single-server solution (i.e. small side project) and you're looking for something Heroku-like.
Raw performance is the actual albatross.

IMHO, the low raw performance of Erlang is what's holding it back from mass adoption.

(Even marquee Erlang/Elixir users like Discord, still have to use Rust NIFs to overcome the slow Erlang runtime)

People have a hard time understanding how Erlang can have such: high concurrency, low latency & tight standard deviations ... when people are just accustom to looking at raw performance benchmarks (where Erlang does quite poorly).

While BeamASM (JIT) is very exciting, the reality is that the Erlang runtime has only speed up by ~25% over the last decade, where other languages like JS, Go, PHP have seen >150% speed ups (and Erlang was already considerably slower than these languages prior to their speed ups).
I've arrived at a personal observation that what is "good for the economy" is often bad for you as an individual and what is good for you as an individual is "bad for the economy". Yes, I know actual economics is ridiculously complex and can not be simplified and distilled so easily, but as a rule of thumb, just watch how often this observation seems to be true.
Against Elections: The Case for Democracy, by David Van Reybrouck

Really good book. Not sure if this would be the "perfect" system, but I think we should at least incorporate some aspects of it.

One of my main issue with modern politics is that politicians and political parties are out of touch with people. The general populace does not have the financial means or organizational structure[1] to compete with professional lobbyists. Political parties have become an end unto themselves and they reward people within them that serve the interest of the party, over good leaders, which is evident by the sometimes ridiculous virtue signaling.

[1] Parties were supposed and used to be that organizational structure
yeah like in turkey. 60% inflation now . great idea. We need better leaders, not longer terms. The possible benefits of longer terms are probably negated by the deleteriousness of having an inept leader in office too long and no way to dispose of him.
Is the battery removable? Best tip (if not) is to put it inside an ice chest, and put that in your car or refrigerator, then try to go back to sleep once the adrenaline rush subsides.
Is this the "Joe's distributed systems thesis" you refer to? https://erlang.org/download/armstrong_thesis_2003.pdf

Edit: After reading the first bit of that I'm pretty confident that is was GP was referring to. It's a really good paper and worth reading to understand why Erlang/Elixir do many of the things they do.
The supreme court while not a directly elected body, is selected by elected officials. They are selected for life and for the most part are less partisan and less pandering. On the other hand, they are there for life.

For elected officials, I would like longer terms for members of the house of representatives to have longer terms but with an option to get kicked out, if they severely underperform or go against their mandate --but kicking them out should take 60% rather than simple majority to avoid the threat of agitators who constantly would threaten recall elections. Just like calls to the 25 amendment should have to go through a non-partisan committee made up of independents to decide if an official should be removed --not just because the opposition does not like the official.
If I can fast-forward a VHS tape (yes, I'm that old), to skip the recorded ads, why not fast-forward the ads in youtube videos?
Trains derailing regularly is consider acceptable and to be expected, infrastructure being tasked with jobs for which it was not designed, calls for more resources ignored, policy makers prioritizing profit over safe and efficient transportation of goods.

This sounds like something from a fictional dystopian novel.
Don't the scammers buy phone numbers that supposedly terminate in the US and then tunnel them back to their own country?
Okay, let's buy into the idea that across the board, workers are worse than workers of the past, for whatever definition of worse you like.

In what way is this a tractable problem? Like, what solution is there that wouldn't involve massively importing workers from other societies where workers aren't worse?
> The people who live in those places are also facing existential problems

No, they are not.
The multivariate test is trying to increase ad clicks, and the result is a poor UX. That's not exactly an alternate theory.

Is it a dark pattern? That's not the first term I'd use to describe it, but perhaps it falls under "Misdirection" mentioned at https://arxiv.org/pdf/1907.07032.pdf (page 12).
During the first covid summer, with a friend, we studied two interesting points for the future: oil consumption relative to GDP (irrelevant here), and what is sometime called demographic dividend, or how infrastructure spending during time of growth will allow an aging population an easier life in the future. Since we thought western countries to be all the same, we studied France and its infrastructure cost, then China, then the other Brics, plus Turkey and some ex-colonial nation that got f*cked off their own demographic dividend by the west.

What we are sure off: maintenance is immensly cheaper than construction, three to five order of magnitude in most cases, and improvement upon existing infrastructure is one to two order of magnitude cheaper. From this, we also concluded that subsidizing an almost empty line on the west coast during more than twenty year actually was a net positive operation for the French government, and killing small train tracks is in 99% of case a mistake.

My really friendly advice to americans, whatever their political leaning: do not kill your rail, improve on it even. This will be a net positive for your country, even if atm it seems like it is loosing you money. You can't afford to not maintain your infrastructure, or to forget about it.
- Path of Exile (everything is free, except for cosmetics, and you can buy inventory space (stash tabs for storage), their league system means every 3 months, they add new content (everything free), reset economy, and transfer characters from previous league to a standard league, that mean all your items get transferred to standard league, they need to pay to store all these items/characters, so having to pay for more storage is understandable, someone have to pay it)

If you are into FPS, you have lot of choice there:

- Fortnite (cosmetics are paid, you can get some for free)

- Apex (cosmetics are paid, you can get some for free)

- Halo Infinite (cosmetics are paid, you can get some for free)
> You can very easily have a graphql endpoint working in a REST API.

The fact that it is an additional endpoint with non-REST semantics is what makes it a replacement rather than an augmentation of REST. In a REST API, endpoints correlate with resources; the resources are queried and updated with HTTP verbs acting on those endpoints. GraphQL introduces a parallel world.

What should have been done instead, IMHO, was to design a standard (not necessarily limited to JSON!) way to query and update resources through their endpoints.
Buy the rumor, sell the news.

Rumors aren't admissible as court evidence. But rumors are worth looking into, they might have insights into communities we otherwise are ignoring.

If railroad engineers have a well known issue, such as the sudden loss of engineer/conductor skills due to retirement and/or quitting for other jobs, that's something that can be verified by other railroad engineers.

We all know that last year was "The Great retirement". I can imagine that a large number of skilled people have left the workforce... and their replacements are going to have to learn all of the problems and take years to retrain to their level.
Shorter trains are better because they are lighter and easier to control. The additional cars don't just make derailment worse, it causes the derailments to happen at all.
My favorite version of this is a real mind fuck.

http://jdh.hamkins.org/cheryls-rational-gifts/

Two people are told rational numbers of a particular form. They want to know whose number is larger:

> Albert I don’t know.

> Bernard Neither do I.

> Albert Indeed, I still do not know.

> Bernard And still neither do I.

> Cheryl Well, it is no use to continue that way! I can tell you that no matter how long you continue that back-and-forth, you shall not come to know who has the larger number.

> Albert What interesting new information! But alas, I still do not know whose number is larger.

They keep saying “No matter how much we do this, we still won’t know” and eventually they know. It’s great and I recommend reading it.
Why has Reddit deliberately broken browsing via web on mobile when it works just fine on desktop operating systems?

To drive app installs? Completely asinine.
I haven't even noticed the differences. I just wait until the skip button appear, or wait a few seconds before glancing. Who cares about to he text?
Holy shit this is the worst cookie screen I've ever seen.

You load it, and the optional cookies are off by default but the slider background is medium-ish gray. The required one has a white background. You click the slider thinking you're turning them off, and the background gets darker (you just turned them on!)

Everyone who implemented this from the marketing people to the front-end developer should be ashamed of themselves.
Maybe you have it set to autodetect the current setting. You can set presets for sitting/walking/in transit, and it dynamically switches between them.
> Shorter terms devolve the actual functions of governance to unelected, long term burrocrats, thereby ensuring the reigns of power are held in a stable structure that cannot be perturbed by passing social fancies. and that would be better yet, right?

Well, sure. I am glad to have domain experts who understand the trade offs of highway construction or whatnot on the execution side while other people operate at a higher level of abstraction (how do we allocate funds at a macro level, and trade off the various interests?).

It’s far from perfect but far more effective than having elected officials decide how thick the roadbeds should be or the maximum spacing for electrical plugs in houses.
The workers ARE worse. But not because this generation or that generation doesn't have the correct moral philosophy or some such nonsense. It's because in general, employers are not training or maintaining a competent work force. Instead they spend all their energy on exploiting existing talent to the fullest before they burn out.

No training is creating new work force and terrible working conditions are destroying the existing hard core of competent workers.
I regularly see executives incentivized and rewarded for short term thinking.

I never see executives pay a price for the results of years of short term thinking - they only get punished for failing to meet quarterly targets.

Execs often jump around before the results of their shortsightedness bear fruit.

I dream of a world where the performance of leaders and decision makers is linked with the long term performance of the organizations that they used to manage as well as the one that they currently lead.
I love Preview and I can get about 80% of the things I'd use GIMP for on Linux done with it.
I agree with the required effort needed, but doesn't it only take one person to fork it? Once that fork is out there and maintained, the obvious choice for most people would be to use the free fork
Isn’t the takeaway message from this: just don’t buy the cheapest and worst product? It will always give you a bad experience.

When filtering for products the cheapest one and most expensive one should not even be considered.
It's a relevant sales pitch, and I myself learned about an alternative to Heroku, which was a nice gain.
I wish we would stop equating "election" with "democracy" and give a serious look at sortition. Pandering and career politicians are the issue, it doesn't go away with longer terms.
I presume we all here work at some kind of tech firm?

Do you think railroad engineers / conductors would know about a crappy API being pushed by Microsoft or Apple that would affect application development over the next 5 years?

Its not like we computer-engineers/software-engineers air out our dirty laundry each day to the public.
I think seizing someone else’s money without legal basis when acting as a fiduciary rises to the level of fraud or theft.

And for $4700, is likely a felony.
> The "target" now makes the for-loop discussed a GPU or FPGA algorithm. Now what's strange about this is... you seemed to have known this already? So I've had difficulty making an actual response to you.

The target does not suffice, you need to make sure the memory is manually moved to the GPU or the FPGA, so you need to handle that as well.

> BTW: I don't think that C++ platforms like NVidia nvcc or AMD's ROCm support for_each_n. And even if they did, that's not how you really write GPU-parallelism programs.

They do, and performance is pretty much the same as native GPU code in my experience, and according to all peer-reviewed publications about it.
Developer job market is insane now. Why can't they just switch to one of the cushy jobs at an insurance company or something?
A similar feature exists on several other social media platforms and I think it's great.

This is really helpful when your social media following grows beyond friends and family but isn't large enough to justify creating a completely separate private account. Whenever I post photos of my kids or other things that are only interesting to close friends and family, I can flip the switch to only share with a small group a pre-selected people. The other followers I've picked up along the way don't have to see that content and I can limit distribution. It's win-win.
Ok. Do you think fewer people will live in cities in 100 years?
It's more that a critical mass of Americans have been duped into believing such things come with evil strings attached. Money buys voters, because the more eyeballs you put in front of overly emotional arguments which appeal to the mythologies people were raised with (along with their egos) - all very easy to construct - the more likely you are to win. The ability to influence is disproportionately granted to those who already have wealth & power, regardless of their actual agendas.

By nearly any measure, we are in a new Gilded Age at least as bad as the first one, only with way more people and way more sophisticated tools of manipulation. Yet almost anything we try to do to reduce the wealth gap is easily batted down by armies of idealogues who often don't even realize their opinions have been bought. There is no easy answer to this I can see, it may take a massive crisis and unthinkable loss of life (history doesn't repeat but it rhymes) before we're able to adjust course... which will also be temporary.

The battle for anything resembling equality will never end for this species as we know it.
Software engineers can buy worker rights, overtime limits, etc? That's news to me. Also, goes without saying, not every engineer is making FAANG-level salaries.
If nothing else you're likely to run into ETS, it's really nice and easy to use. But even still, the calls are pretty easy to make, and the docs are good. You don't really even need to understand any Erlang syntax, it's just built into OTP.
I have to imagine part of the move is to convince politicians on both sides that Boeing is an important and strategic asset to the United States and should be supported accordingly. Using the fear of a Chinese company entering the space should to convince most.
In terms of the US i think there are deeper problems to be fixed before really worrying about term length. A really obvious one that no one seems to want to tackle is that the sizes of political bodies in the us federal government (the house and the Supreme Court in particular) have been frozen for about 100 years while the population and diversity of the country have both exploded.

Get it so that a member of the house represents a reasonable number of people (and the body as a whole can return to actually being somewhat popularly elected - right now you almost have two senates really) and the court’s ideological balance can’t be completely u-turned by 2 people dying in as many years and then you can maybe fix some other stuff.
The upfront capital requirements and lock-in to choices seems more flexibly balanced with those approaches, vs a traditional "heavy" brick and mortar restaurant. Or as we say around here, better to fail small and quickly.

It's unclear what benefits a high-capital restaurant would have these alternatives, that would merit the increased risk. Fancy service? Nobody cares anymore. Economies of scale? Maybe, but seems dubious. Building a brand? Useless when your landlord is fine with selling the building for conversion to residential on any given year.
StickyLand: Non-Linear Computational Notebook
And yet, not a single reputable journal will publish those papers, the medical community won't change the recommendations, and those studies go unreplicated.

It seems like there's an undereducated underground on the Internet that has the hubris to think they know more than the medical consensus, so what you're seeing are the effects of that hubris, nothing more.

Turns out Vitamin D is the anti-vaxx of computer nerds. Pretty hypocritical, but unsurprising.
They were bombed out disconnected from family lines, lost history and recovered in a generation.

The people you are likely referring to for the chattel excuse history also under perform in country after country where such things were never allowed. Diversity is difference, and difference will lead to persistent disparity.
This is a good caveat, and I agree with the thrust of your point. Especially about stored procedures. Sometimes DBAs, especially corporate oldschool ones, can really propose DBA-only solutions, and it's painful.

I think another way of thinking about this is hire "former DBAs."

Most of the developers I know who had really solid SQL, the greybeards I learned from, were either former DBAs or former sysadmins who had become full-stack developers.

edit: Another was a junior developer who interned two years as a DBA role. He was desperate to lose the DBA title, and I always respected that, but damn if his SQL wasn't better than mine.
Malware Injection in Iubenda?
Today my site started to open an unknow site on every click. Looking more in deep I fond that this Iubenda hosted script is the origin of the window opening.
http://cdn.iubenda.com/cs/iubenda_cs.js
Anyone got a TLDW?
Useless if the messages are intended for a human who is going to use the feedback to manually adjust something (for example, parsing a programming language and telling the user what they did wrong)

If your parser is parsing something machine-generated where the expected case is success, and failure indicates data corruption/malicious input/a bug somewhere else, then parser generators can be useful.
I stayed in Chicago for a short time in a 100-something year old building right next to one of the oldest sections of elevated rail in the city. I could glance out the window on the second floor and the wheels would be right there, seeming close enough to touch.

Within 2 days the screeching and grinding metal cacophony every few minutes had faded into the background and I had to mentally tune in to hear them again.