MurphyA/hacker-news huggingface dataset:
by andersmurphy | 2025-04-11 19:31:45+00:00
So I've used Turbo 8 to make a multiplayer app using a non rails backend. It was a struggle, the docs are incomplete. I mostly pieced things together from what others have done and written about. Which, is ironic considering your point about having a massive community behind it. The nice thing about Turbo 8 is morph (it uses idiomorph like datastar). It's also got a pretty simple refresh model.

However, you quickly realise the limitation. You can even see this in the Turbo 8 demo (see this issue https://github.com/basecamp/turbo-8-morphing-demo/issues/9). You can try to fix this with `data-turbo-permanent` but you'll now run into another issue that you can't clear that field without resorting to JavaScript. Which, brings me to the next thing, I found I was still writing quite a bit of JavaScript with turbo. Like HTMX pushes you to use alpin.js/hypercript turbo pushes you to use Stimulus.js.

Turbo.js is not push based it's mostly polling based. Even when you push a refresh event, it pushes the client to re-fetch the data. Sure this is elegant in in that you re-use your regular handlers but it's a performance nightmare as you stampede your own server. It also prohibits you from doing render sharing between clients (which is what opens up some of the really cool stuff you can do with datastar).

I was using turbo.js with SSE so no complaints there. But, most turbo implementations use websockets (which if you have any experience with websockets is just a bad time: messages can be dropped, no auto reconnect, not regular http, proxy and firewalls can block it etc).

Finally, according to the docs Turbo Native doesn't let you use stream events (which is what gives you access to refresh and other multiplayer features).

I like turbo, I'd use it over react if I was using Rails. I use it for my static blog to make the navigation feel snappy (turbo drive). It gives you a lot without you having to do anything. But, the minute you start working on day 2 problems and you are not using rails the shine fades pretty quickly. There are 3 ways to do things, frames, streams and morph. None of them are enough to stop you having to import stimulus or alpine and honestly it's just a bit of a mess.

If you need help with turbo the best blogs posts are from (Radan Skoric https://radanskoric.com/archives/).

Specifically these:

https://radanskoric.com/articles/turbo-morphing-deep-dive-id...

https://radanskoric.com/articles/turbo-morphing-deep-dive

I think he's also got a book on turbo he's releasing soon (if you go with turbo it's probably worth getting).

Those posts helped me grok Torbo 8 morph and ultimately what sold me on datastar. Morph, signals and SSE is all you need.

As for mobile I'll just wrap it in a webview (as an X native mobile dev I can tell you it will lead to a lower maintenance app than native or react native).

TLDR: datastar solves all the problems I ran into with turbo and more. It's faster, smaller, simpler, more examples, better docs and easier.
by brudgers | 2025-04-11 19:31:48+00:00
Building a baseline understanding of the challenges to housing development is essential to forming thoughtful approaches to reform

For better or worse, significant land reform typically involves radical displacement of existing land owners because land ownership is a principal form of power and wealth.

Because land ownership is a principal form of power and wealth, housing is amont the "lowest and worst" uses for land owners. This is not to say it is not important to you and me, but our experience is skewed because housing is the only significant contact most people have with real-estate.
by danudey | 2025-04-11 19:31:54+00:00
"Hey, this dude posted something wildly, rabidly racist in public on main a while ago. Maybe we should reconsider what kind of person we think they are instead of just taking their word that they're 'not like that anymore' and aren't just better at hiding their real opinions that they know are unacceptable to voice in modern society."

The people trotting out the phrase "cancel culture" as a boogeyman also tend to run around being apologists for racism, sexism, assault, or criminal behavior. Regardless of if you're actually upset about legitimate instances of people overreacting, the fact that the term "cancel culture" is used to complain about pedophiles or sexual predators actually suffering consequences makes it difficult to take any complaints seriously.
by squarefoot | 2025-04-11 19:32:07+00:00
Welcome to the web 3.0 mindset: changing for the sake of changing and having more bullet points on advertising, moving fast and breaking things because the innovation behind a fancy page can't be wrong even when it ruins the experience of most users. Thank you, Open Source, for giving me the tools and freedom of choice I can use to completely ignore or at least make less painful the experience.
by klabb3 | 2025-04-11 19:32:27+00:00
Go is my favorite language but:

> Go doesn't need a "handle_event/2" because it has channels, and you should use those

Of what type? But most importantly, channels are local to the process, so you need glue to make it networked. (I assume erlang has networked message handling abstracted away). In addition I’ve seen 3-4 different variations of your proposed pattern for long-running server like things.

I agree fully that porting should make use of idiomatic constructs. But I also think languages can have hidden mechanics that loses the valuable essence while porting – a form of anti-relativism of PLs if you will.

It’s entirely possible to me that this ”oh a channel? just wrap it in X” is much more detrimental to interop than what it sounds like. For instance take http.Handler in Go. Similarly simple but what are the real world implications of having it in std? An ecosystem of middleware that is largely compatible with one another, without pre-coordination (a non-std http server X can be used with auth middleware Y and logging middleware Z). Similar things can be said about io.Reader and friends. These extremely simply interfaces are arguably more valuable than the implementations.

If, and I’m speculating here, Erlang got many of the interfaces for reliable distributed systems right, that can be what enables the whole.
by throwawaymatt | 2025-04-11 19:32:57+00:00
Splitting the community in half? Nah. If Matt needs to go, the community who is more interested in just making money (we're not "post economic" like Matt) will move aggressively to cut him out like cancer.

Sure he controls a scary amount of the ecosystem NOW, but we've seen big vendors express interest in hosting repositories, and major plugin vendors move quickly to secure their distribution and update models.

My tiny agency has already mitigated many risks and shifted our support towards developers who see a future PostMatt™

We'll be fine because WordPress belongs to us, not Matt.
by glenstein | 2025-04-11 19:33:04+00:00
I think that's exactly the right question and the answer is pretty clear that there is no comparison. I do understand that there's a little bit of something going on with water-based mammals like orcas and dolphins being able to teach certain skills to their young and so there's a notion of intergenerational knowledge there. But we're just a different order of magnitude in terms of our capability of transmitting intergenerational knowledge and it's not even close. It's almost disappointing because there's no interesting question of comparison between us and other species.

As I mentioned in another comment, I'm skeptical of the questions that imply a kind of species essentialism, suggesting that there's such a thing as a one particular trait that distinctly makes us human. I think the real answer to questions like that are vast convergences of immense clusters of facts relating to our evolutionary history and our morphology and so on. I don't think there's any like one single thing. But I do think in comparison to other species a rather elegant way of distinguishing this is to put to our written traditions which as far as I know don't really have any precedent. And if that doesn't blow you away in terms of how miraculous and special are evolutionary trajectory is, I don't suspect anything would. But the important thing is that you don't need a species essentialism to be impressed with who and what we are.
by sleepybrett | 2025-04-11 19:33:24+00:00
IMO in my experience wordpress, as a project regardless of hosting, is coasting but in audience acquisition and new feature production.

They aren't acquiring new customers faster than they are losing existing customers. Squarespace and similar products are to eating it's proverbial lunch among a large portion of their audience (small to medium businesses who just want a website that is easy to update).

If some of the biggest hosters forked wordpress and started adding features that their customers are asking for, that wordpress the organization were ignoring or slow to produce, I think it would be a good thing. Providing wordpress the org with some motivation to compete.
by tanelpoder | 2025-04-11 19:34:00+00:00
VMware even has a vSphere Fault Tolerance product that creates a "live shadow instance" of a VM that mirrors the primary virtual machine (with up to 4 vCPUs). So you can do a quick failover in case of an "immediate planned" failover case, but apparently even when the primary DB goes down. I guess this might work when some external system (like a storage array) goes down in the primary, you can just switch to the other VM (with latest memory/CPU state) and replay that I/O there and keep going... But if there's a hard crash of the primary, if it actually does work, then they must be doing lots of reasoning about internal state change ordering & external device side-effect (somewhat like Antithesis, but for a different purpose). Back in the day, they supported only uniprocessor VMs (with something called vLockstep) and later up to 4 vCPUs with something called Fast Checkpointing.

I've always wanted to test this out for fun, by now 15 years have gone by and I've never got to it...

https://www.vmware.com/products/cloud-infrastructure/vsphere...
by lgeorget | 2025-04-11 19:34:39+00:00
> Are they doing something different, or is it just that their customers have to choose them repeatedly?

I guess it's market-related. Your remarks remind me of Behringer. They make products for the music and audio enthusiasts. They have decent quality products at a very fair price that have been around for 10+ years now (like the X32 mixer) and apart from that, they churn out new products all the time (especially remakes of vintage synthesisers) to keep their users coming back and check out what's new.
by glacier5674 | 2025-04-11 19:34:46+00:00
Grape Brick style: "It is of the utmost importance that you do not do the following with your longbow. Lest you maximize its lethality, please take care to avoid carrying out these specific instructions with your new purely decorative longbow. At all times, ensure that the bow is never fired in the direction of the vital points outlined on the anatomical chart (FIG. 1)"
by sdwolfz | 2025-04-11 19:35:04+00:00
This is used for scenarios where you don't want to hardcode port numbers, like when running multiple projects on your machine at the same time.

Usually you'd have a reverse proxy running on port 80 that forwards traffic to the appropoiate service, and an entry in /etc/hosts for each domain, or a catch all in dnsmasq.

Example: a docker compose setup using traefik as a reverse proxy can have all internal services running on the same port (eg. 3000) but have a different domain. The reverse proxy will then forward traffic based on Host. As long as the host is set up properly, you could have any number of backends and frontends started like this, via docker compose scaling, or by starting the services of another project. Ports won't conflict with eachother as they're only exposed internally.

Now, wether you have a use for such a setup or not is up to you.
by shihab | 2025-04-11 19:35:09+00:00
As someone who came from a pretty authoritarian country- let me assure you that people there do routinely criticize their government, mock them all the time. Governments often do not have the bandwidth to deal with the volume of criticism, and even when they do- they wisely realize that letting people vent a little online is better than complete crackdown. I myself routinely did this in Facebook, where many in my friend list were government employees and (ex-ruling) party members.

I am in fact far more afraid of pro-palestine speech from USA as an immigrant than I was in my home country- and please trust me I am not exaggerating here.
by like_any_other | 2025-04-11 19:36:40+00:00
> as long as they are Christian

Or Jewish, which was their first priority (before Trump even):

U.S. Says It Is Now Monitoring Immigrants’ Social Media for Antisemitism - https://www.npr.org/2025/04/09/g-s1-59149/immigrants-social-...

Teacher Sues Texas After Being Fired For Refusing to Sign Pro-Israel Contract - https://www.newsweek.com/teacher-fired-refusing-sign-pro-isr...

The mayor of Dickinson, Texas, says a new state law requires that the city ask aid recipients not to boycott Israel. - https://www.snopes.com/fact-check/texas-harvey-israel/

https://en.wikipedia.org/wiki/Anti-BDS_laws

Justice Department Announces Formation of Task Force to Combat Anti-Semitism - https://www.justice.gov/opa/pr/justice-department-announces-...

RFK Jr Declares “Anti-Semitism” a Public Health Crisis - https://seemorerocks.substack.com/p/rfk-jr-declares-anti-sem...

Office of the Special Envoy To Monitor and Combat Antisemitism - https://web.archive.org/web/20211210030412/https://www.state...

Trump Administration Investigates These 60 Colleges Over Antisemitism Allegations - https://www.forbes.com/sites/tylerroush/2025/03/11/trump-adm...

Honestly I don't know how you missed these - in aggregate, they were widely publicized.
by reciprocity | 2025-04-11 19:36:48+00:00
It would help further a good-faith discussion if you were first more precise in defining what you mean. Please be specific with your premise and what you would do to fix the flaws you see.

Maybe start with the part where you say "science and medicine are stagnant", therefore "we should burn it all down and start over". This is how misinterpretations and assumptions start and does not benefit mutual intellectual understanding.
by throwawaymatt | 2025-04-11 19:36:49+00:00
A very important distinction indeed. Wordpress.COM is not the same as the self-hosted version at WordPress.ORG

While they've made recent changes to .COM to bring it closer to .ORG mostly as a knee-jerk response to the Matt v WPE scrap, they are still very different experiences.

I rarely advise clients looking to DIY solution to go to WordPress.com
by hayst4ck | 2025-04-11 19:36:56+00:00
The opposite of authority is reason.

Authoritarian regimes hate disobedience. Coming up with your own ideas or rejecting what your priest, parent, or politician says is very disobedient.

Reasoning about the world is a threat to authority. Studying the history of something and keeping records about what is happening in order to attribute disastrous policy accurately is equally threatening. That de-legitimizes authority and justifies disobedience. This administration has worked to delete graphs that would require action or that show bad policy decisions rather than to take action or change policy.

Authoritarians need to subordinate institutions that ground themselves in reality and devote themselves to reason. Universities are the natural enemies of authoritarians.
by andersmurphy | 2025-04-11 19:38:06+00:00
It's deliberately naive. But brotli and a tuned compression window over SSE means it gets 150-250:1 compression ratio, combined with Datastar rendering speed and you can get away with it.

The reason it's naive is although you can use datastar to drive SVG, a canvas or even a game engine the minute you do people think you are doing magic game dev sorcery and dismiss your demo. I wanted to show that your average crud app with a bunch of divs is going to do just fine.

I break it down in this post.

https://andersmurphy.com/2025/04/07/clojure-realtime-collabo...
by apical_dendrite | 2025-04-11 19:38:07+00:00
The Trump administration put a mid-level bureaucrat in charge of SSA after he violated a bunch of policies to try to give DOGE access to sensitive data and then publicly complained about being investigated for it. This guy has proven himself to be thoroughly incapable of doing such an important job in a disciplined, non-partisan manner. He admitted to cutting off the contract that allows births an deaths to be automatically registered in Maine (which caused parents of newborns to go in person to social security offices) because he didn't like how the governor of Maine spoke to Trump. He's pulled a bunch of other stunts, like threatening to shut down social security payments because a judge issued an order he didn't like.

It's emblematic of what's happening across the government. Serious people are being replaced by incompetents who are there purely for their loyalty to the President and have no scruples or sense of public service.
by cypherpunks01 | 2025-04-11 19:39:05+00:00
The first sentence explains what the rest of the article is about:

"A sweeping crackdown on posts on Instagram and Facebook that are critical of Israel—or even vaguely supportive of Palestinians—was directly orchestrated by the government of Israel, according to internal Meta data obtained by Drop Site News."

The government of Israel does not want anyone to see photos of war victims, yes that's correct.
by nrvn | 2025-04-11 19:39:12+00:00
from Go documentation[0]:

> Committing profiles directly in the source repository is recommended as profiles are an input to the build important for reproducible (and performant!) builds. Storing alongside the source simplifies the build experience as there are no additional steps to get the profile beyond fetching the source.

I very much hope other languages/frameworks can do the same.

[0]: https://go.dev/doc/pgo#building
by ljm | 2025-04-11 19:39:41+00:00
In the UK, the preference for consultants and contractors was always because it’s accounted for differently on the balance sheet.

The consultants would actually cost more money overall, especially since they could be engaged longer than the average tenure of a full time engineer. But it wasn’t on the wage bill so it was fine.

In reality it was just really unfair to the full time engineers who, while they did get some benefits for being on board, did not get anything approaching equal compensation.

Even being outside IR35, which is the legislation that stops employees masquerading as contractors to lower their tax burden, they would fundamentally just be better-paid employees.

Of course, this is more on the individual level but even bringing in an agency… they could charge 1200 a day while the person on the job takes home about 400 of it if they’re lucky.
by mupuff1234 | 2025-04-11 19:39:49+00:00
Except Hamas took over Gaza in 2006/7 more or less in it's current form, before Netanyahu came back into power at 2009.

Hamas has always been an extreme organization, they executed a bunch of Fatah members by throwing them off buildings when they took over gaza, not exactly a fun loving bunch.

Sure Netanyahu didn't exactly help to see the least, but saying he is somehow solely responsible for Hamas is pretty biased.
by tmtvl | 2025-04-11 19:39:58+00:00
The reason I switched from Scheme to Common Lisp was because I could say...

(defun foo (x) (declare (type (Integer 0 100) x)) (* x (get-some-value-from-somewhere-else)))

And then do a (describe 'foo) in the REPL to get Lisp to tell me that it wants an integer from 0 to 100.
by atmavatar | 2025-04-11 19:40:35+00:00
I'm somewhat puzzled why so much attention is given to solar time. Why is it so important to have 12:00 be noon and match the time of day the sun is at its peak?

I'd much rather use UTC everywhere and eliminate daylight saving time. Because I'm currently UTC-5, it means the average workday would be 13:00 to 22:00, and noon becomes 17:00, but that seems no less arbitrary than 08:00 to 17:00 and 12:00, respectively.
by packetlost | 2025-04-11 19:40:39+00:00
He's married to a citizen which gives him an avenue towards legal residency and full citizenship.

It doesn't matter anyways because the government admitted he was deported due to a administrative error and because they actively undermined and sidestepped the courts authority on several occasions, there is effectively nothing stopping them from doing it to full blown citizens. Honestly, it sounds like it's just a matter of time if this keeps up.
by sightbroke | 2025-04-11 19:40:52+00:00
> in fact I said the opposite, that all texts are intrinsically ambiguous but that does not make all interpretations equally sound

Your original comment was this:

> There is absolutely, unambiguously no Constitutional method by which this will ever be true.

So which is it, there's absolutely no ambiguity or there is some?

> And yes, the Presidential immunity argument is exactly one such argument: the pro-dictator cultural movement in the US is significant and vocal, while the anti-dictator movement is full of equivocators like yourself who say, "well you know, the Constitution is a bit ambiguous on this point..."

So you're saying that the Supreme Court ruled Presidential immunity because of vocal public opinion for dictatorship but suddenly the same court won't rule in favor of interpreting the law to support a third term?

Seems contradictory chief. Regardless I personally hope it doesn't come to a court decision but we'll see in 4 years.
by BrenBarn | 2025-04-11 19:40:59+00:00
> Many businesses fail because the owner doesn't spend enough time in the office - many businesses owners suddenly became a lot more successful when they spent more time in the office. They likely are good and and like doing what the business is about (running a backhoe, pulling wires, or whatever), but all the office work means they never get to do it.

The alternative here is to hire and train people to spend time in the office, rather than selling the company to someone who will do so. That has its own potential problems, for sure, but getting your soul eaten by VC is not one of them.
by dang | 2025-04-11 19:41:04+00:00
No, what it proves is that users will flag unsubstantive flamewar posts on Hacker News, regardless of the topic or the commenter's position on the topic.

This is a good thing. Posts like your comment here break the site guidelines badly*, and the users who flagged it were quite correct to do so, regardless of your (or their) political opinion.

* for example, this one: "Comments should get more thoughtful and substantive, not less, as a topic gets more divisive.", and this one: "Don't be snarky.". Can you please review https://news.ycombinator.com/newsguidelines.html and stop doing those things? We'd appreciate it.
by cbzbc | 2025-04-11 19:41:43+00:00
The Oslo accords were intended - in the words of Rabin - to give the Palestinians 'less than a state', and arguably the division of the West Bank into Areas A, B and C have allowed for the expansion of settlements in the latter.

Whether the 1947 partition was accepted as a final state depends on who you ask, it's fairly clear that prominent figures viewed it as a stop along the way to a more comprehensive settlement. Take Ben Gurion ("After the formation of a large army in the wake of the establishment of the state, we will abolish partition and expand to the whole of Palestine.") or Chaim Weizmann ("partition might be only a temporary arrangement for the next twenty to twenty-five years"). Menachem Begin's Herut continued to use the slogan 'Both banks of the Jordan River", and this language is reflected in Likud's founding charter.