skysight-inc/HackerNews huggingface dataset:
I like PHP, one issue which I face with PHP though is, that it is difficult to create a self-contained docker image.

With node.js or java spring boot i can build an application with an http endpoint and create a single docker image with all included easily.

With php I need 2 distinct containers, e.g., nginx, php-fpm and the code mounted on a volume to the the containers. So it seems to be more difficult for setup and continous integration etc.

I would like to have one image with php, a webserver and the code. Is there something like that for PHP?
Strange what you find amusing. Not sure why you downplay climate change. It is one of the biggest challenges for many generations, that's a fact.
I think in the long run the real difference will be if mojo gets accepted into industry usage given it initially looks like it is closer to python.
Julia has struggled getting wider industry adoption and mojo is currently selling itself as minimal uplift from existing python which will help the sell in industry.
- This infodemic is nontrivial because exposure to misinformation has been shown to reduce people’s intention to be vaccinated against COVID-19 (Loomba et al., 2021).

Article about ignorance make conclusions that are nowdays justified by noneffectivnes or even harmful results from medical intervention like taking poorly tested vaccine against covid.

A lot of people just ignored common narrative about effectivnes because it needs time for proof.

Basically article use language that trying to speak against which is hypocritical.
Does the sorting need to be done in the renderer, or is that part of the training process?
It’s funny you mention libpq, because my first thought upon reading the article was “I wonder if a pure Ruby implementation of the postgres wire protocol could possibly lead to performance improvements?
It doesn’t though.
Speculation. Stock markets, futures, options, etc.
Good for you. Sincerely. But it would seem that your language was perceived as dismissive by more than one person from the responses to this thread. And language, much like acting on climate change, is about consequences not intentions.

Again. I saw language that concerned me, and addressed it publicly because at this instance I am participating in a forum and language and voicing opinions matter.
I think the point the GP is making is that Julia (and other lisps) lost in this space.
Putting HTML inside of scripted code blocks was legendary back in the day and every web-oriented language did it. I guess people have already forgotten about ASP and ColdFusion. Being able to for each an array into table rows? Game changing.
Well, the state is just the moderation-team the people voted for in a democracy?
Not 100% sure of the rationale in this case. I imagine it might have to do with everyone who runs an instance needs to maintain an additional storage system along with all the associated costs, which is not just storage alone.

Databases store stuff really well. If get to the level of needing to configure storage for different tiers of access they can do that, it just takes a bit of work. Of course if your blob data is stored in tables that have OLTP data in them, then you have a bit of work to do to separate it out.

This is speaking from recent experience of having to manage random blobs of sensitive data in s3 buckets that engineers have created rather than bothering to put in the main application data store.
Restart the browser. Reinstall the browser. That solved it in https://www.reddit.com/r/Bitwarden/comments/1580s2v/cant_acc...
How does Linux nat a ping?
It takes two for communication to happen: one speaking, one listening and trying to understand.

Catering to prejudices as if they are reality does not serve to educate anyone. So it's not something I'm inclined to do.
Thank god. Imagine if the whole internet was as fragile as the latest opinionated twitter rockstar programmer with VC's money
Look at Taichi at Github. This library for Python seems not very popular and unaware. Maybe, because it is a Chinese development, but Taichi is simple and compiles directly down to kernels on CUDA, GPU, Metal, Vulkan and has batteries included. Beats the fastest Mojo implementation of the Mandelbrot set about 260 times faster.
https://github.com/taichi-dev/taichi
The other interesting thing about the true command is how much more complicated it got then it needed to be.

first an exercise

touch mytrue
chmod u+x mytrue
./mytrue
echo "error code for mytrue is $?"

This is literally how true started life. yes it is very zen.

The first offense was legal. All code had to have a copyright disclaimer.
even an empty file? Yes. so now it was a file with a copyright disclaimer and nothing else. And the koan-like question comes to mind is "Can you copyright nothing?" well AT&T sure tried.

Then somebody said our programs should be well defined and not depend on a fluke of unix, which at this point was probably a good idea. So true finally had code. It was "exit 0"

Then somebody said we should write our system utilities in C instead of shell so it runs faster. openbsd still has a good example of how this would look.

http://cvsweb.openbsd.org/cgi-bin/cvsweb/~checkout~/src/usr....

At some point gnu bureaucracy got involved and said all programs must support the '-h' flag. so that got added, then they said all programs must support locale so that got added. now days gnu true is an astonishing 80 lines long.

https://github.com/coreutils/coreutils/blob/master/src/true....

Which is fine I guess, but that is a lot of code for a program that by definition "Does nothing, successfully"

http://trillian.mit.edu/~jc/humor/ATT_Copyright_true.html
> unless a developer is using icon font which haven’t been best practice in a decade

This is sadly quite common though, even and especially on hugely popular web sites.
Show HN: Where AI agents developed by you compete golbally
Launching the most dynamic programming game till date! Where all things are happening at real time, its not an ordinary turn based thing, but something more.
This game is based on C++, Sign up to take part in the first International Programming Competition!
You can read all about it here

https://www.cbo.gov/publication/57444
It's only closed-source for now, with plans to open-source the language when it's more finalized - similar to LLVM early on. Not sure if it says so explicitly on their website somewhere, but Chris Lattner has stated that several times
I certainly consider Julia to be a Lisp, and I’m pretty sure that’s what the person you responded meant, too. His point remains true: Julia appears to have little chance of overtaking Python, except in some tiny niche areas. And even in these niche areas, I fear that Julia will end up losing to Mojo.

I really hope I am wrong. I love Julia and would like to see it succeed everywhere, but it doesn’t seem to be happening.
I don't think it's known exactly how the money will be spent but it also includes hiring 87,000 new IRS agents.

https://www.cnbc.com/2022/08/09/with-new-agents-heres-who-th...
The cleverness inside coreutils is mostly around choosing effective ways to interface with the kernel, e.g. using copy_file_range() instead of read()/write() to avoid having to copy the data into userspace.

It's more a software engineering endeavour instead of computer science.
Oh instead do people believe the obvious BS that Microsoft loves Linux and FOSS and has become an ethical company?
A. I'm not downplaying climate change.

B. Perhaps you've heard of World War II? Or the Cold War? Both were threats to the survival of mankind at least as much as climate change, perhaps more so.
PHP is a great web success story at so many levels. From massive sites like Wikipedia that have changed the world to the long tail of blogs and "Web 2" type decentralization.

Anecdotally I see also rude health: Wordpress already has an activitypub plugin whereas symphony based kbin is a very interesting proposition for a federated alternative to reddit that already sees traction. And Nextcloud is delivering data sovereignty and showing the way for personalized "clouds" here and now.

What is missing from PHP is really an easily communicable "story". Both at the technical level of the language and its tooling and at the community level and its vision.

This is not unique to PHP. Older ecosystems like C++ and Java, on which much of the world still runs, have a similar problem. But the singular web focus of PHP means it has more of chance to develop an attractive personna.

Its not easy but its very useful to have a very clear identity. Right now the tech world goes through an ML/AI fever (and associated nightmares) and a clear vision and purpose would, for example make it obvious how the PHP ecosystem fits into new developments and the broader client/server design.
Show HN: Like Instagram stories but for your groups
Laravel really change the game for PHP!
Jonah Golberg notes: "Complexity is a subsidy." The U.S. tax code is a canonical example.

It is astounding to compose this reply on a smart phone in a country with such a Byzantine train wreck of a tax system.

The situation would border on acceptable if the tax system actually did a coherent job of funding the government.

However, the arterial bleeding that is the government's deficit spending habit can only be said to have a notional relationship to the tax code.

Rather, the tax code seems to exist as a means to sculpt societal behavior.

Those who read HN and have some insights into stabile systems need to be thought leaders in reforming this mess.

/rant
Privilege since year 0
Of course.

I've seen this argument so many times. I like something, so we have to make a law to force it to exist. Or, I don't like something, so we have to make a law to make it illegal.

Unless there is a monopoly, and social networks certainly aren't one, there's no reason to force them to do anything.
The internet is not just wordpress sites...
I'd love to see a modern PHP without the language quirks and with a decent standard library.
To even have a hope of convincing me that you're not just an entitled, unprincipled miscreant, you have to do more than just "avoid" tipping establishments. You have to not go to any establishment that has tipping. If you do happen to find yourself at one for some reason, and you neither tip nor tell the server upfront before they take your order that they're not going to get a tip, then you're just a loser who takes advantage of the cheap prices set by the social convention that the customer adds 15% to the listed price. There is no convincing me otherwise.
In a perfect world, we'd probably all live in some kind of harmonious communistic utopia, but theory and reality are two different things.
You're in a reply chain that began with another user claiming that tokio implements preemption by shooting signals at itself.

> But I'm glad you're at least on the same page now, about how checking if something is ready and yielding to the runtime are separate things.

I haven't ever said otherwise?
Check out Teltonika. Have used their products for my own projects and loved them.

Specifically:
https://teltonika-networks.com/products/routers/rutx50
> Supporting CUA-style menu access keys would be an additive change [...].

As I said, Macs don't have an Alt key; there's an Opt key, which (depending on context) can work like AltGr or Alt (the latter usually when combined with Cmd). You can't draw a 1:1 comparison with a PC keyboard, because they're just different things.

Overloading Opt to access menus is not an additive change. Opt-e in my keyboard layout produces "ę"; Opt-x produces "ź". You'd take away my ability to type in my native language.

Introducing new modifier keys (say OptGr+e would produce "ę" but Opt-e would access the menu) would be a drastic and unwelcome change. I would equate it with changing the meaning of "Shift" when pressing number keys. It's something you just don't do to your users, no matter how much more sensible it appears to you.

Again, it's all platform conventions. When you travel to Italy, you don't bitch that nobody speaks German - even if German is standardized, and officially spoken in three different countries.
Wow, the Scheme people had also invented time travel when they invented Scheme in 1975. They anticipated the Symbolics people "overdesiging" the LISP language when they started the company in 1980.

Then the Scheme people started to overdesign their language in reaction to the LISP people, since Scheme lacked even simple things like error handling.

See https://srfi.schemers.org , https://www.r6rs.org , https://racket-lang.org
I just use Notmuch (<https://notmuchmail.org/>) and ignore all the annoying details.
> The ability to interleave code and HTML was also tacky and never taken seriously but I think touted highly by some as a killer feature.

And yet people seem to keep inventing variations of this as "templating" languages.
If someone from the Nuxt team is around: I have 5+ projects with different module usage and all of them just log when trying to run bun —bun run dev:

ERROR Cannot build module „nuxt“ {}
Why is the classification setting an intersection? When I have "display" selected and click on "monospace" I want to see only monospace fonts. Fonts categorized as both display and monospace don't exist.
Comet Nishimura Grows
This is not how you think Mojo works.
If you copy&paste python code into Mojo, you will not benefit from optimizations. You need to refactor your python code into Mojo code to gain compiler efficiency.
But if you look at the refactored code in the end, it is very ugly syntax (this is my personal opinion and might change with the evolution of Mojo)
Google is good for getting to large, well established websites but I rarely end up on a blog, personal website or small community forum.

It's also terrible for real time stuff.
NHS Cloud Exit Strategy
It's literally in the title
WWII wasn't a threat to the survival of mankind. It physically couldn't end humanity. At worse it's was thread to the survival of democracy.
JavaScript... Unusual choice of language for the RF tool.
npm is pretty good for downloading fonts when the alternative is downloading, hosting, and configuring webfonts by hand.
The reason is there is a line of political thinking that divides people into oppressors and oppressed based on skin color, and assigns different standards based on it. It has become status quo and as a result the average left leaning person's dogma.

From a charitable standpoint, we can clearly see undesirable inequalities in groups of people that on the surface level can be grouped by race. In other words, there is a lingering problem in society that Classical Liberalism has not been able to solve AND has no explanation for. It seems that a large number of people think that revisiting discrimination based on skin color is necessary to attempt and reverse the deep-seeded inequalities embedded in history.
This doesn't make sense as a criticism. What do you think a blog post or an essay is?
Almost any workplace is like that if you can, want and allowed to create value.
Oh, come on. By now you know well enough that there's a large contingent of HN that is continually worrying about something that they have no control over :-)
The article addresses that so no
I think, ironically, the best example might be matters around election fraud and Jan 6, where people somehow talked themselves into conspiracy to commit Federal crimes; Trump was eventually moderated off Twitter but not by the state, and indeed a lot of people got upset that the head of state was being (correctly) moderated by a private platform and not the other way round.
This looks great, and it has a feature allowing for direct import from Google Fonts. Thanks!
FWIW, the core Julia developers seem to be taking this more and more seriously, and AoT compilation to small binaries seems more of a "when" question than an "if" at this point. Open source development - without multi-million dollar support from outside - is unpredictable, but I wouldn't be surprised if a year from now, writing a restricted subset of Julia allowed you AoT compilation to reasonable binaries (and not something as restricted as StaticCompiler.jl requires, just avoiding some of the extreme dynamic features).
You can't have nginx and php in the same container?
Thanks. Reinstalling fixed it for me.

Funnily enough, when I tried to download Chrome setup again on Windows, Edge had a popup which blocked the Chrome download. Close the popup, no chrome setup. Try again, popup again, close the popup, no setup. Third time was the charm, I'm set up now.

The exe downloaded three times, so I could have setup from those downloaded files. Blah blah blah silly that Edge blocked the smooth Chrome install process twice blah blah blah.
I'm unimpressed. I'd guess that every modelling technique can do linear regression. It is literally drawing a line through data. If you are lucky enough, even a one parameter model can get pretty close to what a linear regression does. But doing linear regression with LLMs is wasteful. The computational power alone makes it a party trick and not much more.
It’s a “perk” of Ycombinator investment. From what I understand the exposure is supposed to be the same, probably to help boost early stage companies.

I’ve wanted to comment on job listings many times, but it’s part of the deal of being on HN. This isn’t just here for fun, it’s here to promote Ycombinator and further their goals.
Looks like there's some news about the change in Japan: https://japantoday.com/category/features/lifestyle/10-000-or...

I also see that mixed character-numeral format you mentioned pretty commonly here in Taiwan, especially with 萬 (simplified to 万 in Japan post-WWII). For really large numbers, there's usually not so much precision, so the tail part is just dropped.
On the other, other hand, as a European, your kids don't have to go through active shooter training at or fear to be killed there.

One thing people, and it seems this is a problem among the higher paid HN espcially but not exclusively, is tgat money is not everything. And comparing life quality based on how much money someone has is quite frankly pretty sad. And something the truely rich couldn't care less about.

Oh, and I forgot, us poor underpaid Europeans tend not to have student debt in any shape or form. Also something to consider.
Not sure I follow; the cancellation logic is on both threads/tasks 1) the operation itself waiting for either the result or a cancel notification and 2) the cancellation thread sending that notification.

The cancellation thread is generally the one doing the `select` so it spawns the operation thread(s) and waits for (one of) their results (i.e. through a channel/event). The others which lose the race are sent the cancellation signal and optionally joined if they need to be (i.e. they use intrusive memory).
> What's wrong with hiring whites?

Hiring people who happen to be white, or announcing a "whites only" policy on the modern internet? There's quite a difference.

The latter is similar to going into a working class bar full of Red Sox fans late on a Friday night...and loudly announcing that you're a die-hard New York Yankees fan. If you aren't utterly clueless about human nature and baseball fans, you might realize that that probably won't work out so well for you.
Well, at least in the past you could have run apache with mod_php. And the php files should also integrateable into the image.
In the UK we cant listen into radio communications, we can still identify it using the same techniques that is used to work out encrypted internet communication, namely the traffic patterns of the radio devices.

In more than 100 countries, Tetra (Trans European Trunked Radio) is used.

This was published a couple of months ago.

https://www.tetraburst.com/

https://github.com/MidnightBlueLabs/TETRA_burst

http://rageuniversity.com/PRISONESCAPE/JAMMING%20RADIO%20GSM...
So modernization means adding more human machines in 2023?
PHP has had a built-in web server since version 5.

People use Apache or nginx because they want to, but because they need to.
Perhaps try cloning the repo do Codeberg and pull from there? Should be trivial.
Does not docker recommend a single process story? Nginx is typically a reverse proxy in front of an application server.
The vast majority of that money will go to hire more staff to pursue multi-millionaire tax dodgers, not to modernise the tech, so the previous comment was pretty misleading.

The tech modernisation is supposed to cost about $2.5 billion over a decade or so. Just for rough numbers that's about what 1,000 developers would cost. That sounds like a lot but the IRS claims they need to rewrite 600 different applications, most of which are at least 20 years old. And the Individual Master File (IMF) is 60 years old.

No idea what the systems are and I doubt each one of those 600 will take the full 5+ years. But you could see how they could pretty quickly get to needing hundreds and hundreds of developers for years at a stretch.

https://www.irs.gov/pub/irs-pdf/p3744.pdf

Looking over their tech modernisation plan ("Objective 4") in Publication 3744 they have a lot of work so the number is high but not like insanely impossibly high.
C is a better language for this kind of stuff.
False Beliefs Held by Intellectual Giants
For any who doubt you on this count:

https://github.com/google/fonts/issues/1495

...still apparently up in the air, more than five years after the GDPR went into effect.
> since its shared-nothing (sans caches) runtime model is almost CGI-like and can, in my experience, lead to higher latency, as each request simply does more. Maybe some experienced PHP devs can tell me how they combat this?

I mean, you kind of answered your own question - they use caches like apcu or memcached. Apcu is just shared memory so its basically ends up being very similar to languages that don't do shared nothing.
To run async in Drop in rust, you need to use block_on() as you can't natively await (unlike in Go). This is the "blocking on Drop" mentioned and can result in deadlocks if the async logic is waiting on the runtime to advance, but the block_on() is preventing the runtime thread from advancing. Something like `async fn drop(&mut self)` is one way to avoid this if Rust supported it.
I assume everyone's familiar with the overpayment scam - it's probably the second most common cheque scam after simply passing bad cheques in the first place. You're accidentally paid too much, and are asked to return the remainder, or pass it on to someone else. Then the original cheque bounces and you're out product plus the remainder you passed along.

This version relies on banks being required to make "funds available" in a timeframe that's often shorter than how long it takes a cheque to actually clear - so you can dig yourself into a hole before the cheque finally bounces.

The zelle version is essentially the same thing. Someone "accidentally" sends you a sum, and being a nice, reasonable person, you return it. The problem is this isn't a rollback; you don't (can't) revert their transaction - you create a second transaction.

So when the source of the original transaction turns out to be fraudulent - and as the parent post says, fraudulent can be reverted, the house always wins - that first transaction is reverted. The second, where you "returned" their overpayment, is an entirely distinct transaction and needs to be fought separately. And it's a much harder fight to win, because it doesn't involve the house winning.

(And yes, this could be almost entirely mitigated by having a user-facing return/revert/refund function that undoes the original transaction instead of creating a second.)