skysight-inc/HackerNews huggingface dataset:
Airlines are reducing safety margins in order to do cost cutting.

As long as you save more than $1.5 billion ($5 million x 300 passengers) before a plane crashes, no problem.

Until we completely bankrupt a company for killing people under its jurisdiction, this will all continue.
Shared memory across containers, across isolation layers, that is a good one.

The two remaining ones are worse than any micro-kernel API call in performace.
It's also really hard to stop people from using their cash. Of course governments see this as a weakness, but everyone concerned about government overreach should appreciate how your cards and bank accounts can be frozen, but your cash is yours (as long as you have physical control over it).
holy moly, how did character.ai fly past me? It's not even chat GPT derived, these are the lambda folks!
I directionally agree with you but there's definitely more nuance when you dig into any individual issue. For example, there are more male suicides because men use more effective methods, and more male prisoners because men are more violent. (I don't say that as a knock on men, either; it's a reflection of the biology-driven distribution of behavioral tendencies that each sex has evolved.)
The way I remember it, in the US there are rural telcos that can't afford to maintain infrastructure out the revenue they pull on sparse populations, but the government believes it's critical that citizens have telephone access anyway.

So when a call is placed inbound to telcos of a certain class (size, revenue, I'm not sure), the destination telco receives a fee / subsidy (I think from the telco originating the call).

People figured out that they could run free conference call services hosted on rural telco phone numbers, bringing in oodles of calls, then collect a cut of the subsidy.
> nowadays all PhD students generally take something called “Responsible Conduct of Research”

I think that is a broad generalization. I never had to take an ethics in research course as a PhD student.

> falsifying data, plagiarism, how to ethically work in animal models ... image manipulation.

My take is that this may be a "field"-dependent class. My PhD is in a non-experimental field (math); thus, we cannot have these sorts of issues (minus plagiarism).
From the description it sounds like they tried to give a non-technical explanation of a concurrency bug
Yes and humans are only trying to figure out the next action for the day and doing that repeatedly to form a life.
… you’re making my point for me.

“Why are you complaining that you can’t use this software on Windows? It’s portable - You can run it on a zMachine! Heck, it even runs on BSDs”

Windows is not some obscure platform nobody uses. Wanting to run software on it is reasonable.

And I feel I should point out I am saying this as a lifelong Mac user, not a Microsoft shill. Parts of the Linux-centric community’s blind obstinate insistence that Windows just isn’t relevant because it’s non-POSIX just looks petulant.
The largest one is that it is measuring benchmark game programs. There is no reason to believe that those style of programs are representative of all programs.

Furthermore, there’s very weird results as well. Why is TypeScript so much worse than JavaScript? TypeScript is a superset of JavaScript and compiles to it. The JavaScript program could be exactly the same as the TypeScript one, but isn’t for some reason.

It’s been a while and I’m on my phone so I can’t check, but IIRC the reason the above is even a question is that they made a benchmarking framework but didn’t share it, so nobody can reproduce their results.
I understand your "invalid" point. Your example dereferences a potentially null pointer.

But I don't understand your "inefficient" point. At the end of the day, everything gets turned into SSA. So expression-per-line and nested-expressions generates the same code, right?
>The calculation is done by the plane’s flight computer.

Not exactly true.

The dispatch release has a flight & performance plan based on the load manifest. It's calculated out of band (here, by the software vendor) and punched into the airplane configuration for departure.

If the plan is wrong, the plane flies wrong. GIGO at its finest.
Homomorphic encryption for “Have I Been Pwned” lookups
Here ya go https://www.theguardian.com/books/2023/feb/18/roald-dahl-boo...
One is a Javascript package, the other is a browser library following a spec that is implemented by all the major browser companies.

Web Crypto is faster and has many more devs working in the different implementations between all the companies and doesn't require any includes.
Sounds like a golden opportunity for someone with a developer blog to make useful content
The idea is that letting a generation of young boys think they're personally responsible for a history of oppression and discrimination inflicts pain and trauma.
Programming language is just frontend interface and does not determine the actual implementation/compilation or runtime.

This article is completely pointless as is.
Not my impression of China at all. Sounds like you reject western propaganda, yet you bought the communist propaganda wholesale.
That's how you bought ringtones back in the day. It's still how you donate money to Unicef.
Seriously! This is absurd! (And I’m not a fan of his books)

But this sort of thing has been happening everywhere since forever whether we are talking about Wikipedia, “history” books, or religious texts.
My background is complex, but still very boring.

Rule #6: Perspective is earned, and cannot be given freely. =)
It's not just the ADTs but the exhaustive pattern matching that help make sure you've covered all of the cases in your ADT. You'll see JavaScripters use objects as a poor man's ADT where they'll use the key name as a the constructor or a { tag: key, ... }, but that has caveats (aside from feeling less first-class): 1) JavaScript can't do exhaustive pattern matching so you'll always need to handle null cases, 2) checks must all happen at runtime which means you'll end up having to throw/catch exceptions and nothing will hold your hand to say that you've missed a case. TypeScripters can handle 1 & 2 for safety, but the ergonomics are bad and verbose so you'll see a lot of folks skip it. Similar languages will have pattern matching, safety, but lack the lightweight/dense ergonomics. When you dive into a language in the ML family (Haskell, OCaml, Standard ML, et. al.), the ergonomics make you want to use them, and they are idiomatic to the ecosystem and you'll want to use them for just about everything--either the ones in the Preludes/stdlib like Maybe, Either, List, etc. or by building them yourself.

An example in the wild that demonstrates this `fp-ts`'s explanation of how to do ADTs in TypeScript where you can see the comparison in PureScript is a one-liner (both data and polymorphic data): https://github.com/gcanti/fp-ts/blob/master/docs/guides/pure...
I remember reading Age of Spiritual Machines -- which I guess was published in early 1999, and thinking there is zero chance in 2019 that we would have computers that could even get close to passing the Turing test or behaving like ChatGPT does now. Sure does it "exceed" human intelligence -- sorta / sorta not with large error bars -- but yea his method to use exponential curves as a guiding force for multiple technologies for all of these changes definitely has proven to get a ton of things right.
The neural network layer of GPT and their cohorts is C++. Even Rust will have hard time beating that.
On glue layer you could use Go, but Python is just as good. It just does not matter!
I'm well aware of who Venkatesh Rao is thank you very much. Doesn't mean he's infallible and it also doesn't mean he's incapable of creating word salad.
https://archive.is/r75sN
how long is that? back of the envelope suggests that breaks even around 500 messages at max price
That's an odd interpretation of purity. As per the article:

> A pure function only looks at the parameters passed in to it, and all it does is return one or more computed values based on the parameters... It doesn’t maintain internal state... Ideally, it isn’t passed any extraneous data

If you send in an entire object state as an argument (or as an attached instance, as you argue), this is not a quintessence of functional purity and strays far from these concepts. Consider: your object can have all sorts of data in it that you are passing to every member function, and it is unlikely all that state needs to be used in every function -- as the article points out, this defeats the purpose as it's akin to passing in a big pointer to a bunch of state.

In a pure function, it accepts only the specific data it needs, nothing else or extraneous, and returns a value based on these specific inputs.

As I mentioned in another comment, you could say for a particular type that since it only has one data member, no harm done -- but in the general sense, most objects have more than one piece of data, and not every function needs every piece of data, so passing all that in is a sloppy approach to purity.
Well done, shame about the ergo problems! Hopefully with some iteration, it could be more comfortable. My recommendation: don't be afraid to take up more desk space :) I'd try something which put the button caps in an upward-facing orientation instead of facing out.

When I built my mouse (https://jfloren.net/bellwether.html) I found that in the past there were these neat modules which packaged a sensor and a microcontroller on 1 chip, and you basically just had to wire it up to USB -- but those don't seem to exist any more! So I picked essentially the same Pixart sensor as you, used the same leaked datasheets, and built my own. I do wonder why the all-in-one devices disappeared, though.
Person != human, probably
You can email or hand out physical copies on usb would be one use case where server auth can't compete.
I have no housing research to back this up but wonder if it’s similar to increasing the number of lanes on a road Can lead to worse traffic
So? Do you dispute that the story is true?
People just like talking to each other. Random conversations can be a great joy in life, not joking.
I have a feeling if you as an individual started driving on the sidewalks multiple times receiving multiple fines that the state would quickly remove your privilege to drive and if you continued, would imprison you.
How'd you go about multiple-value-bind? Same problem with handler-case.

When used interactively, Python also has _ to store the previous value (but Python only ever really returns single value, which is sometimes a tuple or a list that can be deconstructed into variables, iirc in CL if you don't request other return values, they are gone.)

More generally, you'd want more of xargs-like functionality (eg. split result into chunks and feed them to the next function in chunks, perhaps in parallel). Or maybe you'd want something like a tee, to split the results of the previous function into multiple streams and processed by different functions? Java-like languages don't immediately support something like that, but Shell-like do with redirection syntax, tee, xargs.
Show HN: Dreamphilic – Frontpage for AI-generated content
"The plural of anecdote is not data" is a saying I feel like I've been using a lot the last few years.
I have one: scientific software. There's a growing recognition that Python is creaking under the weight of scientific applications that lean on it. It's very difficult to write efficient, maintainable, large-scale software systems with it.

An example that comes to mind is data reduction pipelines for the bytes coming out of a major telescope, like that of LSST. I worked on those pipelines, and a lot of the effort was around figuring out how to consistently build the dang thing given the looseness of Python's systems. An equally large amount of the effort was on trying to eke out the performance of Python via Numpy tricks, Numba, etc, which impinged readability and maintainability.

In some places, we fall back on a C++ core, but nobody is happy about that, for all the usual reasons. Some of us advocated for Rust... but it was never really plausible, because the interactions with Python numerical and scientific libraries are so immature. People are starting to work on it but it's hard to compete with the decades of work put into C++ and Python as the core of scientific stacks.
I always find it funny when people complain about 'Hungarian gerrymandering', as it tells me they know nothing about the place and just repeat what liberal rags screech about Hungary. The election reforms made elections simpler and actually reduced the inequalities between electoral districts.

Its also even more funny considering that the Hungarian election system is objectively better than the one in the USA, in that it is more representative.
I know plenty of extremely competent software developers that are Windows users but, it seems, they use different software. The intersection I found was people inclined to help who are forced by corporate powers to use Windows on environments where WSL doesn’t work well (I’m one of those).
I'd like some good content on business, the economy, and finance, and I tried that HBR article.

We will/won't have a "soft landing"? Okay question. Let's have some meaningful information for an answer.

In the article I saw a lot of words, very little numerical data, no meaningful graphs of data over time, and nothing at all on the supposed economic theory mentioned.

It looks like the article was some especially light version of some recent mainstream media headlines, that is, about as serious about business, ... as, hmm, the last Super Bowl half time show.

Net, HBR seems just determined, feet locked deep in reinforced concrete, to be light entertainment, trivial, and useless for meaningful information about the economy, etc. HBR believes that there is a law against publishing meaningful content about business, the economy, ...?

HBR, here is some breaking news: The Internet has arrived. The mainstream media centuries old nearly uniform practice trying to get as many eyeballs from just the mass audience is ending. Instead, the audience is splitting into partitions. Some of the partitions will actually have some meaningful content. The HBR can keep writing like the news did in the 1950s, 1930s, 1920s, ..., Franklin, etc., but some meaningful sources are in line to grab nearly all the HBR audience.
Python uses more cycles than go in a very sloppy and unscientific analysis. Must be a slow day on HN. It doesn’t even mention rust.
Time to go see if the price of his books printed earlier has already jumped on eBay...
unix gang approves
The presence of currently unfolding areas of innovation doesn't discredit the fact that the exponential progress we've enjoyed since the Industrial Revolution has slowed suddenly over the past few decades.
There’s one legitimate dev gripe that Apple has yet to solve properly:

Storage of (paid) license data.

Apple deals with it for first party apps by tying licenses to the App Store, but for any company who chooses to distribute themselves a true sandbox means they cannot store license data or even worse: they have to store it “out in the open” (which is to say: in a location that’s obvious and where piraters can start to reverse-engineer it).

Now, to be clear: I’m very much on the camp of “security through obscurity is not security at all”, but what I am saying is that there’s a significant and legitimate unsolved problem for devs to gripe about when it comes to sandboxes and restrictions.
Agreed. There is no hard problem of consciousness, we are just biased.

https://bower.sh/what-is-consciousness
Thanks for linking this, one of the most informative things I've read in a while
Yeah I’m not talking about SMS MFA. I’ve been using an Authenticator since god knows when. Had to re-enable it this morning.
How many of those windows users would want to write a mesh of Python and Bash to interact with their browser?

Not saying it shouldn't support windows, but choosing Linux and MacOS as initial support is a sensible choice...
Infinite Depth Questions in the Technical Interview
But cognitive load also increases when you have no idea what the significance of a variable is.
This is a common tactic in law suits. Go for the biggest flashiest number, to set the tone. It also helps shareholders be more willing to see a large settlement.

In this case, they’re alleging every finger scan violates consent while White Castle says they should settle with the initial scan violated consent -once per employee.

If the initial suit was for a more modest sum and a more modest allegation, White Castle may never have even considered admitting fault. I agree though, that we need laws with teeth so big companies can’t consider it a cost of doing business. The 17B number could wipe out many businesses entirely. Maybe they should. Chapter 11 protects the economy and jobs by ensuring the organization could still run, just with shareholders losing out.
I’m not familiar with the work that OWASP does, other than the cheat sheet series.

The cheat sheet series is amazing - a great resource to defer to when you don’t know or want to think about how to do <x>, you just want to look up and implement the industry standard.

It’s a great reference, and I use it lot. <3 to the folks working on that :)
The Guardian is directly referencing the Telegraph. Paragraph 3.
> Why is TypeScript so much worse than JavaScript? TypeScript is a superset of JavaScript and compiles to it

Typescript produces garbage JS output that creates all sorts of weird bugs, hiccups and strange quirks. It doesn't surprise me that TS generated JS would perform much worse than directly written JS.
I do think LLM seems to work similar to what the left hemisphere of the brain does. The left hemisphere deals with an abstracted world broken into discrete elements, and doesn't really make contact with the outside world--it deals with its system of representations. It also has a distinct tendency to generate bullshit, high suggestibility, and great respect for authority (which can apparently enter rules into its system of abstractions). The right hemisphere makes the contact with the outside world and does our reality checking, and it's really the more human element of us.

What this article says won't shock or disturb anyone deep into religious traditions with a strain of non-duality, which have had this message to shock and disturb people for thousands of years, in one way or another--there is no "you", especially not the voice in your head. I think you can come to a moment of intuitive recognition that the faculties of your brain that do reality checking aren't verbal, and they're riding shotgun to a bullshitter that never shuts up.

I think LLM can start looking more like automated general intelligence once it has some kind of link between its internal system of discrete abstractions and the external world (like visual recognition) and the ability to check and correct its abstract models by feedback from reality, and it needs an opponent process of reality-checking.
And that's still good pay. Thank you.
Twitter growth, revenue and eventual sale is the absolute dream of so many companies that its kinda funny reading people here calling it the worst thing ever because of this.
I pay for SourceHut and haven't noticed an (unplanned) down times. I also don't feel like they're trying to sell me anything beyond the platform itself. The bundled IRC bouncer is a nice touch as well.
True but that is all because of endless management, specifically middle management that is pretty much killing any initiative or innovation you can have in company.

Change the way you do management which is non-trivial and really difficult thing, and you will get a ton of innovation and progress and productivity.

AI allegedly can replace middle management :)
I went to the conference, and I do think that there will be a similar wave of revaluation for many of the companies involved.

There was generally a lack of critical thinking about moats, competition and other business realities that bring people to earth. For the time being though it's fun to watch.
A quick scan of the postgresql manual turns up nothing. I would have expected the steps performed during startup recovery to be documented there. Neither is the manual explicit about data file usage for an unlogged table, there's just these two snippets:

from https://www.postgresql.org/docs/15/sql-createtable.html#SQL-...:

> Data written to unlogged tables is not written to the write-ahead log (see Chapter 30), which makes them considerably faster than ordinary tables

and from https://www.postgresql.org/docs/15/glossary.html#GLOSSARY-UN...:

> The property of certain relations that the changes to them are not reflected in the WAL. This disables replication and crash recovery for these relations.

Which both say nothing about the normal data files underlying unlogged tables, so none of what I wrote can be found in the official docs (or maybe it can, just not by me ;)

However, there is also this page from the postgres developer wiki: https://wiki.postgresql.org/wiki/Future_of_storage which does say that pure in-memory tables are not supported by Postgres:

> it would be nice to have in-memory tables if they would perform faster. Somebody could object that PostgreSQL is on-disk database which shouldn't utilize in-memory storage. But users would be interested in such storage engine if it would give serious performance advantages.
I think "static" and "dynamic" can reasonably be used to describe both server-side and client-side behaviour, and I don't think that the dual meaning is particularly new.

Yes, "Dynamic HTML" vs "Static HTML" to refer to JS-dependent and JS-free pages respectively has been around since the dawn of javascript, but my copy of the 1996 O'Reilly CGI Programming on the World Wide Web by Gundavaram contains sentences like

"Virtual, or dynamic, document creation is at the heart of CGI" (p.4)

"A common use for [server redirection] is to return a generic document that contains static information. [...] Suppose you have an HTML file (thanks.html) like the one below, that you want to display after the user fills out one of your forms: [...] You could use the programs discussed earlier to return static documents, but [...] it is much quicker and simpler to [redirect with a "Location" header]." (pp.44-45)

...without mentioning javascript anywhere.
and even that is often the abstraction over the GPU-specific processing
You are the last person to have a say in that considering your incorrect take that JS can't be static. You're clearly misaligned with common usage of terms.
Literally none of what you listed is work. Board games, happy hours, friends: these are all things you can (and should) be doing in your non-work hours.
Show HN: This Synth Does Not Exist
> Windows is not some obscure platform nobody uses. Wanting to run software on it is reasonable.

If the maintainers don’t use Windows, it’s kind of not really their problem. If the user wants to use Windows and wants the software to run on Windows (and not under WSL), then they can fix it. Patches are usually welcome.

On the Mac side, it’s kind of in a sweet spot: the GUI is good, lots of excellent software for it, AND it’s a good Unix. When working on a Mac, I very rarely need to resort to a virtual Linux environment the way I do on Windows.
Netflix bought the books in 2021, and this is what we get.
The parent I was responding to was not referring specifically to Switzerland, in fact they just said "Government" which is about as general as you can be. Further Nigeria is also wealthy, even if the concentration of wealth is in the hands of very few. Nigeria is the largest economy in Africa and 31st in the World by GDP.[1]

[1] https://en.wikipedia.org/wiki/Economy_of_Nigeria