skysight-inc/HackerNews huggingface dataset:
On my M1 mac "dd ... | cksum" takes 3 seconds while "dd | shasum" (sha1) takes 2 seconds. So cksum might not be the best tool for performance checking.

There is CPU specific code in the PG source in src/include/storage/checksum_impl.h

It is written as a plain nested loop in C. So performance is fully dependent on the compiler being able to parallelize or vectorize the code.

I would not be surprised if manually written SIMD code would be faster.
> the university system is a lot more school-like compared to the free-for-all it was twenty years ago.

Agreed… it is. This is a loss and a gain.

In the 1980s, as a foundation (19 yo) student of a certain London art school, I was taken to Hyde Park for ‘drawing lessons’ and given drug-laced cake by my lecturer, without my knowing. Student-staff sexual relationships were common and it was not unusual for lecturers to be absent the entire semester yet still be paid. Staff rollover was practically non-existent: a job was Ipso-facto a job for life, regardless of your performance. Pertinently, the program was pass/fail.

As a university lecturer, I now work in a credit-based system. Everything is accountable and the layers of administration have quadrupled.

Neither system is perfect. In the end, I believe that it is the faith and energy of those who deliver the system to be the deciding factor.
> The world is complex, and doing good is difficult.

And for the most part interventions in Africa have caused cascading problems that ultimately lead to more human suffering. A complete failure to understand what and who Africa is.

Even Albert Schweitzer by the end had lost hope that it could survive at all without constant intervention.
Huh?

An LLM can be trained to actively check that every email comes from a domain controlled by the claimed author of the email. That DKIM signing was successful from the purported issuing domain, and so on.

All of the stuff I do when grandma calls asking whether an email is legitimate.

We should have LLMs trained powerfully in detecting signs of these attacks -- after all, we have literally trillions of training examples stored!
> In international development, it’s not enough to try to do good.

By your stated standards, yes.

But there's a hell of a lot of money being made, if you don't mind working as a paving contractor for the well-intended.
I work with multiple programming languages and it's a godsend. Having something that gives you mostly correct instructions on how to do a generic thing without having to wade through today's garbage web search experience is fantastic.
This and AirBNB the dirty dark side of Silicon Valley breaking down the core social fabric of housing as somewhere for people to live affordably. Rich tech bros just don’t care at all about whether or not something has devastating social impact, only that it makes money.
That page is hard to understand. It is presented in my own language, but gives the impression of being translated by a drunk person with a dictionary, with plenty pages torn out.

While I can get a general understanding of the points being raised by translating key words back to English and think about the context it is being used in, I'm not sure it's worth the bother.

Here's another petition: If you want to be taken seriously, do not use translation tools.

edit: Found the language dropdown in the top right corner. It was obscured by my web browser. If you have trouble understanding the text, select English there. It is a coherent text and therefore likely the intended language. ("Take action", I could never have guessed that one, no one was supposed to steal anything.)
Anecdotal at best, but that is essentially the way I learned English, and definitely the reason I think I don't have a distracting accent when talking in English.
"Each summer, wasps in the UK capture about 14 million kilogrammes of insects such as caterpillars and greenfly, making them important friends to gardeners"

…And they feed on people too. A couple of years ago I heard a buzzing in my computer room and thought it a bee. I tried to shoo it out the window but it disappeared somewhere.

Over a week later whilst at the computer I felt a bite on one of my ankles which I thought was a spider. Pulling up the bottom of my jeans I found the wasp gobbling away. Not even me disturbing it frightened it off, I literally had to swipe it off.

Reckon it must have been starving, as it made multiple incisions into my skin. Seems there weren't enough stray spiders in the room to satisfy it.

Gee that bite hurt.
NAT for airline flight numbers would fix this problem and improve security to boot!
I'm pretty sure those federal laws protect UPS/federal mail delivery. Private delivery services (packages, food, courier) are not protected by these laws. In the same way, none of the private services are allowed to use our mailboxes (different section of the same block of law).
I have used many languages in my nearly 40 years as a programmer (Scheme, C++, Java, Python, Haskell, OCaml, Rust, etc.) and still enjoy JavaScript: It’s decent as a language and there is so much you can do with it.

Tips:

• If you like static typing, you’ll want to use TypeScript. It’s more work to set up, but it catches many bugs, especially subtle ones where JavaScript’s semantics are not intuitive.

• I learned a lot about JavaScript (and Node.js) by writing shell scripts in Node.js.

My books on JavaScript, TypeScript and Node.js shell scripting are free to read online and target people who already know how to program: https://exploringjs.com
HN is split on Citizens United vs. FEC.
I don't know... my wife got an apple watch... and instead of detecting sleep like a $50 chinese fitness band, it seems to ... tell her when to sleep?

So I'm thinking Apple thinks they know better.
>Whenever I hear that any IDs could be "recycled", I make a mental note to replace the person making such a proposal from all teams that I am involved in.

I understand the sentiment, but in this case, someone is trying to solve for constraints they didn't invent.

Flight number was fixed to 4 digits long ago and propagates out to a lot of different systems, many not in the same company as the airline, also many being government entities.

So they don't have a lot of great choices.
But tomatoes from Spain and Morocco taste much better than those from Netherlands even if transport is significantly longer - how to explain it?
Cost of climate policies outweighs their effects on climate change
These aren't "tropes" they are real aspects of the culture. These cultural features do have an effect on how democracy works in Japan and how the government perceives and responds to the public reaction to certain events, especially in regards to the economy. I have not heard a single, not a single person say the administrators of the country are doing a bad job which is why we're in this mess, no, they just seem to talk like there is some external, mysterious force causing these issues. Now maybe people are thinking differently, but when it comes to the democratic process, the public discourse is important and it's lacking.

I have personally only heard one, I repeat one person criticize a politician in my entire time being here, can you believe that? He was a politician himself :)

The only other time I remember there being some suspicion about politics was after Abe's assassination, there was some conspiracies going around about how Korea is running the government because of his affiliations with a Korean cult. Even then, everything I heard was radically civil.

If this stock market and currency collapse was in the USA, you could imagine the discourse around it right?

I'm sorry but there is a real stark difference between cultures and the effect it has on the democratic process and therefore the urgency in which a government would react to negative public opinion. In this case, In Japan the government is almost always siding with big business, because why not? What will happen? The LDP will be removed?

The government in Japan is practically authoritarian at this point, they have no opposition, they're not going to adapt very quickly for the sake of worrying about the polls. Also worth reading about is Japan's "online defamation laws" which are also pretty dystopian in my opinion.
Do you never want to see a file in the browser?
The link forces me to sign in with reddit. This one seems to work without it:

https://www.reddit.com/r/ChatGPT/comments/1ekaltd/brace_your...

Not sure, if that was the original article though.
Is the Go Programming Language Worth Using on Your Next Project?
The fact that we start to use LLMs for so much, but still don't know how to have "prepared statements" that separate data from instructions is quite worrisome.
I absolutely support that, but you need to differentiate a bit.

If a game has a functioning single player and a company chooses to shutdown multiplayer/matchmaking after some time I think that's fair. Sure, it would be nicer if the servers were open sourced or an alternative was provided, but at least there is some way to still play.

However, there are also games that only have multiplayer - here a company can just take away your ability to play the game completely. A prominent recent example is "The Crew".

It's also not 100% clear when buying, "The Crew" certainly had a large story aspect to it and it wasn't common in 2014 for such games to be "always online". It's quite a difficult path to find a solution to all of this as we can't force companies to operate servers indefinitely; on the other side we are loosing consumer rights and history.
I really didn't like Jazz for the longest time. Many of my friends felt the same way.

I had one friend who was musically gifted who loved it.

I really think Jazz is something that you have pay fairly close attention to in order to enjoy it. Or at least have a long term relationship with music. It usually has too many moving parts for most people to causally enjoy.

Of course, Jazz is such a large body of art, there are major exceptions to that generalization.
Eh. On its own that means nothing, the other commenters make better points.
This playlist is a great overview.

I watched it myself and learned a thing or two despite also working with PHP professionally for years.

Highly recommend to also stop after each video and try to implement a quick example of what it is teaching.
Ah, compelled speech. So First Amendment. /s
>Unless they disable Turbo Boost (which is horrible for performance, but great if you want benchmark consistency), the CPU will automatically overclock until it reaches the limits, adjusting both voltage and frequency.

Turbo Boost (and Thermal Velocity Boost if applicable) frequencies are according to specifications, it's not an overclock.
The icon only changes on April fools as a joke or something like that. And it changes for everybody. At least on iPhone, I don't think you can change the app icon without notifying the user.
I've searched Algolia; the comments in the original 2012 thread are mostly "yeah, it's roughly accurate and PHP sucks", the ones from 2014 and onwards are mostly "it's all lies, PHP has come long way and fixed lots of things" but with no specific examples except for that "mysql_real_escape_string()". Surely there were other improvements that could merit a mention?
This would make a much less compelling headline if it read "Spam filter let through a phishing email", would it not?

Machine learning is just software. If human intelligence didn't fall for phishing from time to time, no one would bother doing it.

Sprinkling a bit of AI magic dust on a spam filter doesn't make it foolproof, but it does make for a rippin' clickbait headline.

The assumption I'm making here, for the record, is that Apple Mail has a spam filter, and it isn't Apple Intelligence. The spam filter failed, and the AI® saw an important email and moved it to the top.

That seems like an appropriate division of labor to me. If I have a funky LLM trying to guess what's important in my inbox, that might even be useful, and if not, there's the chronological order to fall back on.

But does anyone want it second-guessing the spam filter? Not I for one.
No matter how good ML gets I would still expect a subject matter expert working with that ML to produce better results than an amateur working with that same ML.

When that’s not true any more we will have built AGI/ASI. Then we are into science fiction Star Trek utopia / Matrix dystopia world and all bets are off.
Call for papers for PGConf Brazil 2024
Today is the last day!
> Haskell fans seem to delight in making simple problem complex rather than complex problems simple.

That’s a reductive way of talking about a group of people. Is that from your personal experience with Haskell fans?

My personal experience with Haskell fans doesn’t match that at all. The Haskell fans I meet tend to be reasonably pragmatic, but care more about correctness. There are some who do research, but they acknowledge that research doesn’t always yield practical advancements. The Haskell fans I know will acknowledge that Haskell is not most people’s first choice for a language, and that one of the main benefits of Haskell is to yield insights that can be ported to other languages.
A-fucking-men. That's our single largest development of the last 20 years or so: not smartphones, not AI, not social media. We developed the confident, decisive, emotional, and wrong use of fuzzy bullshit labels that mean something slightly different to everyone using them.

People are too busy being pious and righteous to be precise enough to actually communicate a point.
It's a global turn-off and a per-app turn off if you want to isolate specific apps.
Heh .. good effort for a first sight (hopeful no actual Finn's were murdered) .. but it's no Mariah Carey's Ken Lee :-) https://www.youtube.com/watch?v=zyPgb1WkDSA
1. I am already very good with JavaScript, I like having the language separation between frontend and backend.

2. I much prefer using PHP arrays than JS arrays. All the other stuff you mentioned have never been a issue for me in the past 10 years. I don’t care about types (I don’t even remember when I had a real type bug).

3. The modern web is an over engineered mess, all the modern js frameworks have made the user experience objectively worse. Oh wow your shitty website that has some text and a few pictures is taking 900mbs of ram and 70% of my cpu? Wow very modern! What progress we have made!
I had a 5950x with similar issues to other posters here. It failed outright after just over two years.
Been done. You need to put in $100 million to be considered serious and get across the table from someone at a carrier. Also helpful to have deep relationships with carriers based on software
for other parts of their business.

And then there’s always that risk that some idiotic exec will cancel the project to chase a half billion dollar market instead. I can’t recall where the system needed up being sold to but I’m sure
it died an ugly death thereafter. Writing the core in lisp was a risky move.
HN does a lot of title editorializing. Like the one a few days ago that turned the acronym RATs into Rats and completely changed the meaning.
At least half of all websites would probably be better of if their creators realised they needed something closer to a 'blog' than a 'web app'. It's especially true when it comes to the media industry, who seem to love creating the most over engineered SPAs possible for functionality that's barely changed since the 90s.
It's disappointing that PHP still gets hate in 2024. PHP of 2024 isn't the PHP of 2004. As someone with a bunch of experience in Java, C, C++, Python, PHP, Hack, Javascript and a handful of others, PHP is (IMHO) almost a perfect language for serving HTTP requests because of these characteristics:

1. Essentially an HTML document is a valid PHP program. This is an excellent starting point for beginners;

2. PHP has a stateless API that means there's basically zero start up cost, unlike, say, loading libraries like you do in Java or even Python;

3. There's no threading within the context of a request. This is what you want 99.99% of the time. Hack extended this with cooperative async/await;

4. Because of (3) everything you allocate/use within a request context just gets thrown away. There's no persistent state (eg like Java's servlet model). Again, this is almost ideal;

5. Because of all the above, PHP hosting is incredibly cheap and accessible.

The two things I'd probably add to PHP come from Hack: a modern type system with nullable support and the collections (vec, map, set).
Not really true. Almost no one hates those three topics because in order to hate something you need to know it, and most people don't know those as they are impopular.

Popular music with 4 cords progressions, languages like python that people need or basic math are popular. People can hate python, or basic math or reggaeton because they are everywhere.

I am a Lisper and Haskell programmer myself(along other languages) and I can tell you the proportion of people that I know that know what Lisp is is a minority, like 1% of the general population. I would say 10-20% of the population knows what Fortran or C is.

"Their practicioners seem to be divorced from the real world. They don’t actually produce anything useful. Rather than working on practical things that everyone can enjoy, they seem to be caught up in silly exercises just to show off to other nerds."

That is right. Most people in the Haskell community are totally divorced from reality. I would say more, they are not interested in reality at all. Do not tell them about engines or User Interfaces or databases. Not interested at all. They also love Pure Math problems.

I don't see the problem with that. I see the problem when people that are not interested in reality want to rule reality like millionaire children's intellectuals(Engels and Marx, Trotsky, Lenin...) wanted to rule work without having worked in their entire lives.

I see a problem if someone that told me he is not interested in how the User Interface of my app(or any user interface btw) works is telling me that I have to rewrite it in Haskell because it is perfect in his mind.

I find Haskell ideas useful up to a level, but not further than that. While science comes from philosophy and philosophy comes from love to knowledge by itself, most people doing philosophy in the past was wealthy people whose wealth came from somewhere else, like commerce having a fertile land.
This is getting close to negative eugenics. You might want to rethink your position.
Or they're simply committed to using the wrong tools for the job out of some misguided ideology someone else handed them when they were too new to know better.
Laziness in Haskell is so hard for me to understand. I never have any idea what the runtime performance of something I write in Haskell will be. It's either blazingly fast or molasses slow, and I can never tell.
It's very wordy. I get the feeling ChatGPT wrote it. AI has the tendency to maximize word usage, like it's a highschooler trying to hit the 'word count minimum' in their paper.
I guess the real question is what do you think "do math" means.
Not sure why I got downvoted— for context to non-Canadians, a core policy of the Conservatives is to defund the CBC.
Could you elaborate on why? I can't infer
With love, please consider - the "shame" you're describing is really something else in a mask.

Perhaps... a longing? Maybe this stranger has helped you find the place where you do truly long for life.

Let the feeling be. Don't label it shame. Don't label it longing. Just let it be. Give it space. Cry if you feel like it. Laugh if you feel like it. Just feel it.

And when you're ready to speak about this with others, there will be many, many willing to be there for you. You are loved.
Echoing what the others said, these arguments don't hold water. It ignores all of the practicalities of what would actually be involved in doing this, the impacts on licensing, business models, security (and saying "there's no security risk" doesn't mean there's no security risk - there's a reason we don't distribute game server binaries for many games), and lastly the sheer development effort involved.
Integrity

Verifiability

Absolute Privacy between the above two

Sounds like Time, Money, Resource: only pick two.
There is also a toggle to turn it off system wide. In fact it’s opt-in at the moment rather than opt-out.
I wasn’t sure whether they intended that as exoneration or explanation but I think it should be the latter. The right way to think about LLMs is as a credulous hire with no job history: McDonald’s will hire a random 16 year old but only to work in a controlled environment with oversight, not to open the CEO’s mail and tell them what’s important.
I don't get the "wastes more resources" thing, it's just code running on your device and isn't a security product. GMail uses the same tricks for their "Important and Unread" section. I doubt Apple's little classifier even uses an LLM or whatever people are calling "AI."

Apple like everyone else is using the "AI as a marketing term" to push their existing, and generally very good, ML.
Not if you're trying to make money and learn Web development. PHP is king.

I'd rather get paid $1,000 to build something that takes < 1 day and $50-150/month to maintain something on a $20 VPS using a tried and true Web technology with tons of developer support and a stable ecosystem.

I can start a new Laravel project and with a starter kit have 50% of the site done. Auth's already done out of the box. The ecosystem is amazing. The tooling is amazing. WordPress is amazing and its ability to extend itself and build almost anything you want is amazing.

I'm moving on to the next client while someone is crying about WordPress' arcane database structure or code and they're still sitting at a text editor with some Haskell code.

All I have to do is worry about my project, not create OCD for 2 weeks on the best way to set something up out of 10 different ways.

I'm not worrying about which flavor of JavaScript framework is in popularity this week - I'm not worrying about how to deploy my Python app and setting up Kubernetes. I'm not worried about compiling my Elixir project to WASM and deploying to Fly.io to support my 1 visitor a month.
> Can’t we just store some data on disk and read / write from it when we need to? (Spoiler: no.)

I disagree. SQLite does a good job in uniting the 2 worlds: complex SQL queries with excellent data consistency and simple file(s). Although SQLite is for sure not the one size fits all solution.
> The future of paper voting can be something like a quick fingertip-actuated DNA sequencer which will imprint your DNA hash right into the paper ballot,

This would mean the end to the secret vote.
Right, but how hard would it be to make the server self-hostable? I feel like as long as the server address wasn't hardcoded into the game, it wouldn't be too hard
The many ways in which Duolingo is unethical and abusive derive from the simple fact that if it actually worked, even the slightest, then you would stop using the thing and cashing them $$$

For me the worst is that when you indulge, you feel bad and will do something; but with Duolingo you are still indulging the same, however it makes you feel accomplished and that you made your work.

No, you didn't — You just watched the ads they wanted you to watch. Doing nothing is literally better than Duolingo.
> arrays being sorted maps has to be one of the worst design decisions.

I'm curious, why is that so bad? It tends to be a useful property of PHP arrays.

Also for webdevelopment, I/O is often the bottleneck. This code creates an array with 1 million items, each being 'a' and then loops over each value, changing them to 'b':

$array = array_fill(0, 1000000, 'a');
foreach ($array as $key => $value) {
$array[$key] = 'b';
}

It executes in 2ms on my machine.

How often do you need to create and change each element of a million item array? A roundtrip TCP/IP call to PostgreSQL is bound to be slower than that for most web servers.
CrowdStrike unhappy with Delta litigation threat, says airline refused free help