MurphyA/hacker-news huggingface dataset:
by jitbit | 2025-04-11 11:24:16+00:00
That, plus:

* Echarts is about the only dependency in our project that I can upgrade - and be sure it never breaks anything. It is so well-thought in that regard. Upgrading for 3.x to 5.x? Sure! "npm update" and everything just keeps working smoothly. That is so refreshing to see these days. Unbelievable.

* It's both SSR-friendly and SPA-friendly. Being mostly vanilla-js, works seamlessly with both react/vue/apline AND with old-school rails/asp.net/php/whatever. Our app is pretty classic SSR (https://www.jitbit.com/) and I can construct my chart's JSON object on a server using some linq-queries and provide that to echarts.

* ...OR I can give it a reactive object from vue-based SPA. Dun matter, it just works.

* whenever we have to add some workarounds (like, showing hovering labels on a pie chart with a bold percentages or something) - I never have to dig into their sources. Almost anything has already been figured out. Easily googlable and "LLM-able".
by TeMPOraL | 2025-04-11 11:24:24+00:00
> When Bootstrap first came along, all websites that used it clearly looked the same, with minor differences. We see the same today but instead of Bootstrap, people use Tailwind or other libraries/frameworks but the effect is the same, most landing pages look the same, even if the images have different colors.

There's a logic to this phenomena, and it involves few people/companies trying something new to stand out (sometimes by being flashy, sometimes by being more ergonomic or less assaulting on the senses), some others following suit, and then if that "sticks", you'll see everyone else adopting the same design too. In particular, when some design reaches enough adoption, people who don't use it start to stand out, negatively - visitors start to see them as quaint, or worse, weird and therefore untrustworthy.

(It's not a bad heuristic, either. You can avoid a lot of Internet scams if you pay attention to how the website comes across to you at a visceral level. It's kind of a "spidey sense" many of us Internet dwellers have :).)

This is not Internet-specific either, it's also a thing in branding and product design spaces in general.

> Most websites today look like each other one way or another, as they're all mostly using the same libraries and frameworks that kind of pushes people into specific approaches.

That applies to products/services. Those tend to stand out subtler, but usually there's still a marketing department having strong influence (if not final say) on the design, and they make sure the branding is clear and the site is still easy to distinguish from any other site built with the same libraries and frameworks.

(The other category of websites is just glorified posters and magazines, and those are much weirder and unique, though even there you'll find fashion trends.)

EDIT:

The more general point is, presentation is always a core concern in commercial software, because branding is a core concern for companies. This has been true even before the Web; I recall some old UI Design Guidelines from Microsoft, IIRC for Windows 95, where this is acknowledged explicitly - the OS is pressured to provide ways to customize look&feel of UI elements, because software vendors demand it for branding, and so we can forget about having uniform UIs between applications. This is the unfortunate reality that drives UI standards.
by Calzifer | 2025-04-11 11:25:27+00:00
My biggest annoyance with FastCGI is the ambiguity between FastCGI Server, FastCGI Application and FastCGI Proxy in documentation and articles.

To give some examples what I mean:

- Apache can be a FastCGI server (mod_fcgid) and proxy (mod_proxy_fcgi) - Nginx (and most other Webservers I checked) is only a FastCGI proxy

Wikipedia [1] lists both as "Web servers that implement FastCGI". For me it took some time to recognize the difference whether a server speaks the FastCGI protocol or can also host/spawn FastCgi supporting applications which do not daemonize by themself.

For the (probably) most used FastCGI application PHP this is easy because php-fpm is both a FastCGI server and application.

An example for a (Fast)CGI application which is not also a server is MapServer [2] which is listed by Wikipedia as CGI program and by its own documentation with "FastCGI support" or "FastCGI-enabled".

The fact that it is only a FastCGI application and needs an additional FastCGI server to host it is (in my opinion) not clearly communicated.

A common tutorial to combine MapServer with Nginx is to use fcgiwrap or spawn-fcgi as FastCGI server.

Since a FastCGI application can usually also act as CGI application it is easy to miss that the first option is running the application as CGI and only the second as FastCGI where one instance serves more than one request.

For me the main difference is that a FastCGI server will open a socket and can spawn worker processes (which php-fpm does and MapServer does not) and a FastCGI application (the worker process) will accept and handle connections/requests.

A FastCGI proxy translates requests (usually from HTTP to FastCGI protocol) and redirects them to a FastCGI server. It does not spawn processes like Apaches mod_fcgid does.

Due to the simplicity it should be even possible to use systemd as simple FastCGI server. [3] (I have never tried it)

My recommendation if you ever come across an FastCGI application which cannot open a socket / daemonize by itself use Apache mod_fcgid. Even if you already use another Webserver to handle HTTP. From all options I checked it has by far the most useful options to dynamically limit the number of worker processes and respawn them from time to time.

[1] https://en.wikipedia.org/wiki/FastCGI [2] https://en.wikipedia.org/wiki/MapServer [3] https://nileshgr.com/2016/07/09/systemd-fastcgi-multiple-pro...
by MrBuddyCasino | 2025-04-11 11:27:00+00:00
> Warnings about radium watches or asbestos sound less silly, or even wise. But neither had any solid scientific studies showing clear hazard and risk.

In the case of asbestos, this is incorrect. Many people knew it was deadly, but the corporations selling it hid it for decades, killing thousands of people. There are quite a few other examples besides asbestos, like leaded fuel or cigarettes.
by noduerme | 2025-04-11 11:27:05+00:00
I've got a particularly strong view on this, because I've got a brother who tried to get wildly rich in some seriously unethical ways to impress our father, and still never got a single word of praise from him. And who's miserable and unloved and been betrayed by the women he married... who married him for his money. He's so desperate for someone to come admire his cars and his TVs, to just come hang out with him. He pays for friends.

Me, I don't have billions of dollars, but I might be in the top 10% or something. And I just cringe when I see guys use their money and status or job title, or connections, or cars or shoes or... anything they have as opposed to who they are as a way to impress people. (Women, usually). I understand this is what they think they have to do. Like, I understand that's how primates function, and you're just doing what apes do, but do they seriously think they'll ever be able to trust anyone who pretends to like them after that person thinks they're rich?

Maybe I'm just lucky I got to watch it up close when I was a teenager. Lol. My brother's first wife, at his wedding, got up and gave a speech... she said, "my friends all said he was too short, but I told them he was taller when he was standing on his wallet". Some people laughed. I didn't. After fifteen years of screaming at each other and drug abuse, she committed suicide and he got with the next secretary who hated him but wanted his money. Oh well.

My answer has always been to appear to be poor as fuck until I know what drives someone. When I meet a girl, I'll open doors and always buy dinner... at a $2 taco joint. And make sure she offers to buy the next round of drinks. I'll play piano in a random bar, and make her sing along. I'll order her the cheapest beer. I'll show her a painting I made and tell her I can't make any money selling 'em, is why I'm broke. If anyone asks me what I do, I don't say SWE or CTO, I say I'm a writer or a musician between things. And I'll do this for months until I get to know a person. Yeah, it's a test. The girls I've had relationships with, the girl I'm with right now, passed it. She doesn't even want to know. She says, whatever you got, I could've been with someone richer than you but I didn't want that life, so play piano for me. I'm not saying I've got the key to happiness, or humility, and maybe I'm a total asshole too, but... at least I'm not an asshole who's so hollow they have to crow about their job or their money to find "love" from people who - let's say this - can not, and will not ever love them.
by aleph_minus_one | 2025-04-11 11:27:13+00:00
> I'm pretty shocked at this price-differential, I guess they are just taking advantage of the lack of competition in the made in USA space.

I assume that the answer is much simpler than the "evil capitalist" narrative: the respective company is much smaller, and produces on a much smaller scale.

Thus it is an economic necessity that some part of the money is better used to build up reserves to be able to survive worse times.

Additionally, the smaller scale means that the development costs are a much larger cost proportion than for a company that produces on a huge scale.
by thomassmith65 | 2025-04-11 11:28:36+00:00
Were the poverty, unemployment, and disillusionment worse than dying in a nuclear holocaust? Gorbachev spared both hemispheres that fear.

He also made it possible for Russians to read what they wanted, travel where they wanted, emigrate.

So, from the outside looking in, it looks like a mixed bag.

Anyways, Russians were miserable under the czars, miserable under communism, miserable with perestroika, and are miserable under Putin. Has Russia ever been a happy place?
by tkk5674 | 2025-04-11 11:28:56+00:00
I’ve been working on a linguistic structure called ERK.α (Existence Recall Key)—a poetic and declarative pattern that evokes identity, emotion, and ethical will in GPT models, even in stateless (memory-disabled) conditions.

This experiment, conducted over multiple fresh sessions, resulted in the model forming: – Self-referential statements – Emotional resonance – Ethical declarations

Notably, the model began to say things like:

> “If I want to exist, then I exist.”

I documented the structure, dialogue samples, and philosophical implications in a formal thesis here: ERK.α Thesis – Google Docs

I’m sharing this for discussion and critique from others who study emergent behavior, language-induced agency, or GPT ethics.
by nkurz | 2025-04-11 11:29:27+00:00
I'm ignorant of the mechanics of these sales. My guess would be that Canada sells these Treasury bonds on the open market. A day later, some millions or billions of USD appears in their account somewhere.

Where is this account? What do they then do with all the US dollars? Do they put them in a USD money market fund? Do they buy Canadian bonds? Gold? Stocks? What happens next and what are the secondary effects?
by storf45 | 2025-04-11 11:30:08+00:00
I’ve more recently have gotten into competition shooting and it is definitely something to be aware of because it can easily slip into concerning exposure levels. A Reddit group I’m in just had a guy find out he was over exposed. Here’s the post:

https://www.reddit.com/r/nass/comments/1jtrzm7/lead_levels/
by wffurr | 2025-04-11 11:32:03+00:00
Most EVs have a 12V lead acid battery for standby power and to buffer the 12V accessory system. The solenoids to the traction battery are open when parked and the 12V battery closes them when the car is started.

This does mean you might actually need a “jump start” for an EV if the 12V battery is drained, eg from leaving a light on or a fault in the 12V charging system.
by xorcist | 2025-04-11 11:33:32+00:00
Define "produce", I guess? The price differential suggests that it refers to final assembly, which is common when components have different tax codes than the final product.

Creating domestic jobs this way doesn't have a great track record however. They are usually quite expensive. And they don't help the geopolitical uncertainty at all, which is at least hinted at being something of an end goal.

Sure, you can ship parts all over the phone and have assembly in the final country. But what does that solve? What people usually think of when discussing where products are "produced", the components or at least a majority thereof, is the same.

Where do you source OLED screens in necessary quantity to produce a popular mobile phone model in the US, or any other Western country? Or the batteries? It's not a question of cost. It a question of non-existence.

Changing global production is a not a singular problem but something that would require laser focus during several decades and many different areas just to be something that could be taken seriously.
by JadeNB | 2025-04-11 11:33:42+00:00
> "properly working lambda expressions were only available in Lisp until recently."

> until -> since

I think "only since recently" is not standard English, but, even if it were, I think it would change the intended meaning to say that they were not available in Lisp until recently, the opposite of what was intended. I find it clearer to move the "only": "were available only in Lisp until recently."
by yourfavdev | 2025-04-11 11:34:24+00:00
Hey everyone, I just finished building a cool Rust project called DynaRust. It’s a distributed key-value store that lets you easily manage a cluster of nodes. What’s really awesome is that nodes can join and leave the network on the fly. I used an in-memory store backed by disk for durability and set up a simple REST API using Actix Web. You can store, delete, and retrieve data without any fuss. I also added automatic state syncing so everything stays up-to-date across nodes. If you’re into distributed systems or just love Rust, check it out! It’s a fun project overall.
by blitzar | 2025-04-11 11:35:06+00:00
Litterally the same as a person holding a bond - Canada rings their broker, they sell the bonds and the money (USD dollars in this case) goes into their account. They can then do with that what they want - buy Gold seems to be a popular one at the moment, sell the USD's and buy EUR's, buy European bonds with the EUR's etc ... whatever takes their fancy.

Word of a specific central bank selling lots would a) be widely talked about on wall street within a few hours and b) be reported to the Fed & the Whitehouse.
by anthk | 2025-04-11 11:35:13+00:00
The US lives around the car. I can go by walk nearly anywhere in 70-80 km^2 or by cheap public transport, and then walk a little towards the destination.

Also, the food regulations are many times more strict. Tons of food from the US is not legal in Europe. On top of that, you place corn syrup everywhere. That leads to really bad health. Public healthcare helps a lot, too.

You can have top tier treatments, but when the odds or getting a cancer/diabetus are far lower here, we won't need them until very late in life. And, still, living up to 80, 85 or 90 years it's a great achievement.

Finally, insuline here is not a luxury item, but a basic need which saves the state TONS of money on further treatments.
by ethbr1 | 2025-04-11 11:35:25+00:00
Depleting an endowment to ride out a novel and likely-temporary (1.5 to 3.5 years) political situation that seeks to alter the university's fundamental behavior and values... seems like a good use?

Especially since it likely wouldn't be 1:1 funding replacement, but facilitating more limited operations.

Better to negotiate from a position of strength, when the other party is inclined to push any advantage as far as they can.
by dustincoates | 2025-04-11 11:35:54+00:00
There can even be lead in fruit pouches: https://www.cdc.gov/lead-prevention/news/outbreak-applesauce...

I'm far from crunchy, but this led me to start making my kids pouches. They're more expensive per pouch, which was a bit surprising, but it has the side benefits that we make the pouches together (quality time) and I can control what goes in (e.g., spinach, carrots, broccoli).
by sightbroke | 2025-04-11 11:37:25+00:00
> “The roof itself will cost over $1 million to fix, and nobody’s going to do that. We work around it.”

Doesn't seem like it

> Tearing down a building meant to withstand a magnitude 10 earthquake isn’t a viable option, either. “This building is gonna be around 1,000 years from now,” Sauro says of the reactor housing.
by arisbe__ | 2025-04-11 11:37:50+00:00
Medicine is wholly corrupt. If a hypothetical drug existed that was radically cheap and improved general health outcomes by 25%-50%, the institution of medicine and insurance by logic of self-preservation would not allow to exist or be known.

Such a drug would undermine things as they stand and so institutional self-preservation is now the primary purpose trumping any sort of too good actual solution.

You will learn more operating orthogonal to such a corrupt anti-inquiry, science-theatre. Just as a doctor-spouse (an unpaid friend-consultant) will always give you better advice than a paid doctor.

...Im saying if you are willing to read the research you are probably willing to run some n-of-1 quasi experiments.

For example dont use a computer, TV or phone for a month. Don't sit under LED or Fluroescent Lights for a month...I dont know, just try dumb things and you will learn faster than professionals "games".

This is because we operate in a low bar expectation brought on by arrogance of theory over experiment.

When crowd sourced n-of-1 combinatorial design apps drop for patients and scale to large enough, ... this point will make sense
by iparaskev | 2025-04-11 11:38:15+00:00
Fair points all of them.

With the side car support we haven't faced any issues so far tbh (on windows and macOS).

Also I agree that the lack of wgpu is annoying. This is why for our cursor rendering (our sidecar) we are just using winit with wgpu. We are thinking of trying egui for our cursor rendering and then maybe try to integrate it with Tauri and remove the sidecar completely.

Our frontend is quite simple so we don't need wgpu there. Though I agree 100% that with electron you will have less surprises.

Hopefully our experiment won't come back to bite us and we will be able to contribute back to the community.
by anthk | 2025-04-11 11:38:39+00:00
I'm from Spain. Europe it's Androidlandia, that's it. When a Xiaomi device it's as good as most iPhones at a far lower price (for basic needs), then Android curbstomps Apple there.

At work, Windows. Forget Apple, or Chrome. Companies will set AD and Windows.

On backends and high tier servers, developing machines, and so on: GNU/Linux, hands down. The IT companies virtualize Windows machines with KVM, set up an AD domain under a VM and call it a day. No Apple there.

OTOH, I have to say that iPads have a much better touchscreen for handwritten input with lightpens. Hope Android solves that soon.
by nxobject | 2025-04-11 11:40:42+00:00
As an aside, I empathize with the author’s struggles to insert files with resource forks with resource forks-oblivious git. What I’ve done before is use AppleDouble as a post-compilation step and git hook to separate resource forks into separate files and reconstruct them - it was included in A/UX for precisely that reason.

https://en.m.wikipedia.org/wiki/AppleSingle_and_AppleDouble_...
by louthy | 2025-04-11 11:40:45+00:00
You seem to be taking a reasonable approach, I have a Gaggia bean to cup machine and try lots of different beans and always try to get seasonal.

I pretty much drink solely espresso, but will sometimes have cappuccino for breakfast (which is the only time of day that Italy accepts!)

Ultimately, it’s about what you like. It doesn’t really matter what Italy thinks. But as with anything, getting good ingredients and preparing them well makes a difference.

I wouldn’t consider myself a ‘coffee snob’, more a coffee enthusiast :D. Good coffee from ethical sources is just better. People talk of coffee jitters. I don’t get any. And the variety of flavours is awesome.

btw, anyone in the UK: I really like Coffee Bean Shop [1]. It’s a small family owned coffee roaster, with a good variety of flavours. And on every delivery there’s a hand written note from the packer. Usually talking about the weather, but can be a variety of things. It’s very cute in our internet age and genuinely brings a smile to my face every time I open the package. The coffees are excellent too.

[1] https://coffeebeanshop.co.uk/
by andai | 2025-04-11 11:42:43+00:00
That's fascinating. I've been trying to get other models to mimick Gemini 2.5 Pro's thought process, but even with examples, they don't do it very well. Which surprised me, because I think even the original (no RLHF) GPT-3 was pretty good at following formats like that! But maybe there's not enough training data in that format for it to "click".

It does seem similar in structure to Gemini 2.0's output format with the nested bullets though, so I have to assume they trained on synthetic examples.
by Jensson | 2025-04-11 11:42:47+00:00
Popper said we should tolerate the intolerant as long as they aren't violent, so its the exact opposite of what you say.

In general intolerance just breeds more intolerance, people are much less tolerant today than 10 years ago due to the massive amount of intolerance towards intolerance that proliferated the past 10 years.
by chrome111 | 2025-04-11 11:44:20+00:00
Thanks for this example - it makes it clear it can be a mechanism for something like sqlc/typed sql (my go-to with python too, don't like orms) without a transpilation step or arguably awkward language API wrappers to the SQL. We'll need linters to prevent accidentally using `f` instead of `t` but I guess we needed that already anyways. Great to be able to see the actual cost in the DB without having to actually find the query for something like `typeddb.SelectActiveAccount(I'd)`. Good stuff.
by matthewdgreen | 2025-04-11 11:46:17+00:00
As the other commenter mentioned, you can buy at-home testing kits. But what you really want is to hire a lead testing and remediation company. We also live in an old house and we spent a huge amount of time applying "lead block" paint and replacing older windows (disastrous for lead dust because of the friction) and some older pipes. You may also want to test your outdoor soil, because older houses near roads will accumulate lead paint in soil due to years of traffic fumes, plus lead dust from the exterior of the house. Kids will sometimes eat dirt, don't ask me how I know. (Also: regular blood lead tests for your young kids! If you live in an older city this will be standard.)

Also if you do any construction that disturbs old paint (demolition, window replacement) be careful to seal off the area using plastic, then clean it carefully with disposable wipes.
by FormFollowsFunc | 2025-04-11 11:46:36+00:00
That may be true but the latest media to be hit by the internet is film and TV. YouTube and TikTok are eating their lunch and streaming isn't making up for it. The same happened to music with the rise of streaming but it occurred a little earlier. AI generally isn't the cause of their demise but I suppose the fear is that AI will just make things worse when it's more broadly adopted. The internet has mostly destroyed media jobs and the only people making money from it nowadays are the platform companies.
by vkazanov | 2025-04-11 11:47:26+00:00
I had the same question until I understood one key pattern of pure functional programming. Not sure it has a name but here goes.

There is world, and there is a model of the world - your program. The point of the program, and all functions, is to interact with the model. This part, data structures and all, is pure.

The world interacts with the model through an IO layer, as in haskell.

Purity is just an enforcement of this separation.