MurphyA/hacker-news huggingface dataset:
by kazinator | 2025-04-11 21:07:11+00:00
TXR Lisp has this notation, combined with Lisp parethesis placement.

Tather than obj.f(a, b). we have obj.(f a b).

1> (defstruct dog () (:method bark (self) (put-line "Woof!"))) #<struct-type dog> 2> (let ((d (new dog))) d.(bark)) Woof! t

The dot notation is more restricted than in mainstream languages, and has a strict correspondence to underlying Lisp syntax, with read-print consistency.

3> '(qref a b c (d) e f) a.b.c.(d).e.f

Cannot have a number in there; that won't go to dot notation:

4> '(qref a b 3 (d) e f) (qref a b 3 (d) e f)

Chains of dot method calls work, by the way:

1> (defstruct circular () val (:method next (self) self)) #<struct-type circular> 2> (new circular val 42) #S(circular val 42) 3> *2.(next).(next).(next).(next).val 42

There must not be whitespace around the dot, though; you simply canot split this across lines. In other words:

*2.(next) .(next) ;; nope! .(next) ;; what did I say?

The "null safe" dot is .? The following check obj for nil; if so, they yield nil rather than trying to access the object or call a method:

obj.?slot obj.?(method arg ...)
by pjmlp | 2025-04-11 21:07:16+00:00
They kind of are, but not in CUDA directly.

https://github.com/ai-dynamo/dynamo

> NVIDIA Dynamo is a high-throughput low-latency inference framework designed for serving generative AI and reasoning models in multi-node distributed environments.

> Built in Rust for performance and in Python for extensibility,

Says right there where they see Rust currently.
by crote | 2025-04-11 21:07:34+00:00
> They each had to change species or die, and they chose to keep living.

Did they, though? 2025 Netflix is extremely close to having a worse UX than piracy, and it's already far more expensive. Are people going to pay a fortune for Netflix when their handy nephew can hook them up to his far superior Jellyfin instance for a sixpack of beer?

It's a tragedy of the commons, really. The whole value is in having a complete catalogue available for the casual viewer, and making $10-$20 from someone wanting to watch a random decade-old movie twice a month or so. Break up that catalogue into twenty different services each charging $15, and that same casual viewer isn't going to subscribe to a single one of them.

If the streaming industry doesn't get its shit together they are either going to lose viewers to piracy, or to a completely different medium.
by thejohnconway | 2025-04-11 21:08:19+00:00
There’s plenty of replacements which are fine. Many are better to use for many tasks. The problem is lock-in in professional contexts. Having a problem with some feature in a PSD? “I don’t wanna pay for Photoshop” isn’t usually an acceptable excuse.

If open source projects and other companies had gathered around an open file format, maybe there would be some leverage, but they all use their own formats.
by bsder | 2025-04-11 21:08:26+00:00
> Do people not realize it's the Dems that got the US Trump?

The GOP has the power to stand up to Trump immediately with legislation or with impeachment. The Democrats are already on record as voting for impeachment. Trump has continued to do lots of stuff that is impeachable with lots of evidence. Had the GOP impeached Trump when they had the chance, they would have been rid of him by now.

In addition, with this last election, a bunch of idiotic people sat on their ass going "But they're both the same." or "I don't get into politics." As if their "status quo" status was somehow a virtuous deed instead of a disgusting malfeasance cloaked in laziness.

"It is the common fate of the indolent to see their rights become a prey to the active. The condition upon which God hath given liberty to man is eternal vigilance; which condition if he break, servitude is at once the consequence of his crime and the punishment of his guilt." -- John Philpot Curran, 1790
by notnaut | 2025-04-11 21:09:31+00:00
Having played both of these games I agree that Lorelei stands out as a sort of foil for blue prince. And my opinion is that that is a huge endorsement of blue prince. Lorelei’s puzzles felt so inelegant and largely detached from the ideas being explored. Felt like a logic puzzle book, with some esoteric story stuff on top that just did not keep me interested.

Blue prince’s rng is quite well thought out imo. Once you pick up on some of the unwritten rules about the room drafting system and start building strategies around what to prioritize and how to adjust your goals, it starts feeling a lot like many other popular card-based strategy games.

There are weak points, for sure, and your contrasting it with Lorelei makes sense. But Lorelei’s puzzles felt so plain and unchallenging. I like that blue prince is keeping me on my toes.
by hackingonempty | 2025-04-11 21:09:40+00:00
Talk to some engineering managers. Their concerns are hiring people to get the job done. You can't easily hire devs for obscure languages like Erlang and Elixir. If you can find any that are looking for a gig they want too much money. On the contrary, if you are hiring for C++/C#/Java/JS/TS your problem is separating good from bad candidates but good ones are available.

Likewise, most devs don't want to learn an obscure language for one job even if they are more than capable. Either they get stuck doing that language or they earn a hole in their resume instead of additional experience in what future employers care about.

Finally, the vast majority of applications and systems don't need ultra high reliability and don't have the budget for it. It isn't clear that downtime impedes success for anything but the most critical businesses.
by cosmic_cheese | 2025-04-11 21:09:43+00:00
I’d much rather just pay the single time purchase prices they used to ask for. The subscription is only a “good deal” for the first 2-3 years, after which you end up paying more than you would have with the one-time.

The single time purchase also has the added benefit of letting me use that version however long I like. Personally I don’t need much of anything that’s been added since CS2, and as such a user I’d normally only be buying new versions of Photoshop when the one I own stops running on modern operating systems. It also means you’re not bombarded with UI shifting around for no good reason, some feature getting pushed in your face for the sake of some PM’s metrics, etc.

The only reason I even have a CC sub right now is because a credit card benefit essentially pays for it. If/when that benefit disappears so does my sub.
by marcosdumay | 2025-04-11 21:09:46+00:00
> Because of this, banks have to publish the interest rate, compound interval, and annual percentage yield separately.

No, the way a subject is trough in school is not the reason banks have to publish all those numbers.

That a look at all the different ways accountant calculate compound interest, and you will see the reason. Anyway, when was the last time banks united to make some rule to make it easier for laypeople to understand what they do?
Claude Code thinks I'm camping
by guybedo | 2025-04-11 21:10:04+00:00
Sometimes you are remembered LLMs don't understand what's going on.

I've been using Claude Code for quite some time and it does a great job most of the time, especially for simple boilerplate and plumbing, or limited scope requests.

Now i'm working on some rust code that uses a library named bonfire and Claude suggests i add methods "startCamping" "stopCamping" "addCompanion" ...

/* * Stop camping * @return true if the state was changed, false if the user wasn't camping /

/* Add a companion to the bonfire */
by yankcrime | 2025-04-11 21:10:05+00:00
A modern reimagining of Windows 2000's UI - professional, simple, uncluttered, focused, no cheapening of the whole experience with adverts in a thinly-veiled attempt to funnel you into Bing - with modern underpinnings and features such as WSL2 would have me running back towards Microsoft with open arms and cheque book in hand.
by fergal_reid | 2025-04-11 21:10:17+00:00
At Intercom we've also a lot of experience here.

I disagree, basically. In our experience actual real world processes are not compactly defined, and don't have sharp edges.

When you actually go to pull them out of a customer they have messy probabilistic edges, where you can sometimes make progress a lot faster, and end up with a much more compact and manageable representation of the process, by leveraging an LLM.

We've a strong opinion this is the future of the space and that purely deterministic workflows will get left behind! I guess we'll see.
by empath75 | 2025-04-11 21:10:33+00:00
> As in that seems like there isn't a "large number". ---

> “But the one great shocking occasion, when tens or hundreds or thousands will join with you, never comes. That’s the difficulty. If the last and worst act of the whole regime had come immediately after the first and smallest, thousands, yes, millions would have been sufficiently shocked—if, let us say, the gassing of the Jews in ’43 had come immediately after the ‘German Firm’ stickers on the windows of non-Jewish shops in ’33. But of course this isn’t the way it happens. In between come all the hundreds of little steps, some of them imperceptible, each of them preparing you not to be shocked by the next. Step C is not so much worse than Step B, and, if you did not make a stand at Step B, why should you at Step C? And so on to Step D.

And one day, too late, your principles, if you were ever sensible of them, all rush in upon you. The burden of self-deception has grown too heavy, and some minor incident, in my case my little boy, hardly more than a baby, saying ‘Jewish swine,’ collapses it all at once, and you see that everything, everything, has changed and changed completely under your nose. The world you live in—your nation, your people—is not the world you were born in at all. The forms are all there, all untouched, all reassuring, the houses, the shops, the jobs, the mealtimes, the visits, the concerts, the cinema, the holidays. But the spirit, which you never noticed because you made the lifelong mistake of identifying it with the forms, is changed. Now you live in a world of hate and fear, and the people who hate and fear do not even know it themselves; when everyone is transformed, no one is transformed. Now you live in a system which rules without responsibility even to God. The system itself could not have intended this in the beginning, but in order to sustain itself it was compelled to go all the way.” ― Milton Sanford Mayer, They Thought They Were Free: The Germans 1933-45

---

You have to say "No" loudly and clearly at the _first offense_, and not wait until it's too late.
by ameliaquining | 2025-04-11 21:10:35+00:00
I was expecting the answer to be "code size", since that's Tauri's largest concrete advantage. Instead it's because they want to be able to directly run performance-sensitive Rust code in the main process, and because Tauri has a built-in library for spawning sidecar processes that's slightly higher-level than what Electron offers, at least if you want the process-spawning logic to live in the renderer process.

The latter point seems real but kind of minor. For the former, I'm curious whether they considered using napi-rs or neon to call Rust code from within a Node.js process.
by spencerflem | 2025-04-11 21:11:10+00:00
Quote from Marco Rubio (confirmed 99-0 in the Senate)

"Rubio said that while Khalil's “past, current or expected beliefs, statements, or associations that are otherwise lawful," the provision allows the secretary of state alone to “personally determine” whether he should remain in the country." https://www.nbcnews.com/news/us-news/mahmoud-khalil-deported...

The article is a day old, the judges just affirmed that Rubio is allowed to do this today
by MBCook | 2025-04-11 21:11:18+00:00
Sony needed developers for the PlayStation. So they did a good job.

The PlayStation did so well a lot of people wanted the PlayStation 2. And because it worked as a cheap DVD player it sold extremely well.

Sony learned hard to program expensive exotic hardware does great!

PS3 arrives with hardware that’s even more expensive and even harder to program and gets a world of hurt.

So for the PlayStation 4 they tried to figure out what went wrong and realized they needed to make things real easy for developers. Success!

PlayStation 5, that PlayStation 4 four thing worked great let’s keep being nice to developers. Going very well.

The PS2 succeeded _in-spite_ of its problems. And Sony didn’t realize that.
by submeta | 2025-04-11 21:11:40+00:00
Random German company: You open your intranet, manually search through hundreds of (pdf!) application-forms (because search is not implemented), downlod the right form, print it(!), fill the form, sign it, scan the paper, send it to the ticket system. That’s what they call „Digitalisierung“, because previously they had to send the printed paper-form to the helpdesk team.
by gthompson512 | 2025-04-11 21:11:54+00:00
> - "My name is Hardy, G.H. Hardy.": A unique function satisfies exp(x+y) = exp(x)exp(y).

This has nothing to do with e and is satified by 2^x or any a^x, so this wouldn't work for introducing e in particular.

- "The Classic": There exists a unique function equal to its own derivative up to a constant.

Same for this, but if you fix the constant to be 1, then e^x is the only one that works.

I will give the series works too.
by bradly | 2025-04-11 21:12:00+00:00
I think OP is more using this incident along with many others. Things similar to in February when the President signed executive orders that imposed sanctions on American law firms and lawyers which included suspension of security clearances, termination of government contracts, and restrictions preventing firm employees from accessing federal buildings. (https://www.justsecurity.org/110109/president-cannot-issue-a...)

I have no idea how to talk equality to speak of whether they are comparable or not, but I do think people are seeing a different atmosphere.
by tzs | 2025-04-11 21:12:38+00:00
The counterargument is that morning needs light more than evening because morning schedules are more synchronized than evening schedules and morning road conditions tend to be worse than evening road conditions.

So in the morning you've got the highest concentration of cars plus you've got kids walking or biking to school.

The school day is shorter than the work day so coming home the kids don't overlap with the workers. There is more time variation in when people leave work when they arrive, and many will do errands between living and driving home, so the cars are less concentrated.

Morning also has a higher chance of having worse road conditions. In the evening there is a chance the sun has melted ice patches that formed overnight. There's a chance that the day's traffic has cleared some paths in snow.
by fidotron | 2025-04-11 21:13:00+00:00
> In my experience processes often have meaningful internal state, meaningful in the sense that it matters if it gets lost due to a crash.

The erlang process state will be simply what it has on the stack. (Ignoring things like ETS tables for the moment).

Erlang has the concept of ports, used to interface to the world outside, that provide a sort of hook for cleanup in the event of a crash. Ports belong to processes, in the event of a crash all associated ports are cleaned up. You can also set this sort of thing up between purely erlang processes as well.

As the other commenter observed, erlang gives you the primitives to make distributed systems work; it does not prescribe solutions, especially around distributed transactions, which imo is one of the reasons some of the hype around the BEAM is misguided.
by quantified | 2025-04-11 21:13:05+00:00
Planned obsolescence came from well before globalization. Light bulbs burnt out because long-lasting ones hirt sales. $5 sweatshop throwaway fast fashion, that can disappear without mention. Companies don't give too much of a crap about your preferences for longevity and maintenance.

All that is to say: there will be less international shipping involved in your lower-cost stuff, but landfilling and lack of control is here to stay. If you don't like that, start your own auto or phone handset company. Only EU-type regulations help.
by maeil | 2025-04-11 21:13:16+00:00
Which was made inevitable by the Dems.

This isn't just a US phenomenon. Similar in Europe with far-right authoritarian parties' rise having been made inevitable by their "labour" parties. Though the Dems case is significantly worse, hence why Trump is worse than anything we've seen in Western-Europe.

Look, what you're saying is obviously true, but you've got to look at the bigger picture. Trump didn't show up out of nowhere, there's at least 2 decades of relevant US governments. You can't just ignore all of that context.

The Dems too, with very few exceptions (the Reps also used to have such exceptions pre-MAGA) only care about their own, individual power. 2016 says it all. If they were any better, they could've picked a hundred other candidates who'd have beaten Trump, and if he'd lost it's almost unthinkable the Reps would've nominated him again in 2020. They didn't, they knowingly picked one of the very few options who at the time would lose. They picked her for pure individual power structural reasons. Because that's what they do. 2024 all but confirmed that. They're only interested in image and optics to preserve their own standing, or they would've cut Biden far earlier.

In HN terms: Stop anthropomorphizing Larry Ellisson. He's been a lawnmower for decades. And the same goes for the Dems.
by masswerk | 2025-04-11 21:13:23+00:00
Yes, I have no problem believing that this is what Adobe wants and/or a certain category of posters. But, what's the motivation for answering? (Notably, this was about "what's fuelling your creativity, right now?" and not "show us what you're working on", about circumstantialities instead of substance.) Will Adobe notice? Probably not, they just want stats to go up. This is not a conversation. It's more like IRL going up to a person and saying, "Talk!", and immediately turning the back on them to engage the next one.

From my own experience, when moving to Bluesky, the absence of engagement posters felt like a breath of fresh air. Meanwhile, with the broader influx from X/Twitter, there are some posts which are more in this style (e.g., "what was your favorite xy" nostalgia posts, or slightly more adopted to the platform, "this was my favorite xy (image), what was yours?"), but I usually see these going unanswered. It's just not the style of the platform, which is probably more about letting people know and/or about actual conversations, or just doing your thing. So, this gambit is more likely to be received as "oh no" and "corporate communications, of course", maybe as "yet another lack of commitment." So don't expect congratulations on this, rather, it may even unlock the wrath of some… The post may have done much better without this call for engagement. Just say "hi", if this is what it's about. (Actually, this is kind of a custom, new accounts just saying hi.)

Most importantly, if you're doing public relations or marketing, it's still your job to meet your audiences, not theirs to adopt to you. And for the lack of understanding of these basics, this gambit may have come across as passive aggressive.
by profsummergig | 2025-04-11 21:13:51+00:00
> eight short paragraphs of text

Fair point. But they are heavily metaphor-laden paragraphs.

Textual interpretation is a highly subjective activity. Entire careers consist of interpreting, reinterpreting, and discussing texts that others have already interpreted. Film critics, book reviewers, political pundits, TV anchors, podcasters, etc.

'In 1972, Chinese premier Zhou Enlai was asked about the impact of the French Revolution. "Too early to say," he replied'

I had my own sense of what the "coquina" metaphor stood for. I wanted to see other peoples' interpretations. Turns out my interpretation was wrong.
by keyringlight | 2025-04-11 21:14:03+00:00
I remember using the BootVis tool (IIRC was an early part of what would be the performance toolkit) to profile the startup process, and then you could it to optimize the location of data loaded from HDDs to reduce the seeking required. Also back when PATA was still in use depending on your motherboard I seem to remember making sure windows wouldn't try to autodetect link speed on unused attachments as that could take ages trying to find something that wasn't there.
by hansvm | 2025-04-11 21:14:11+00:00
You're maybe strange (probably not, when restricted to people interested in code), but wrongness hasn't been proven yet.

I'd push back, slightly, in that you need to encode those abstract rules _somehow_, and in any modern parlance that "somehow" would be a programming language, even if it looks very different from what we're used to.

From the FP side of things, they'd tend to agree with you. The point is that these really are generic, abstract rules, and we should _just_ encode the rules and not the other state mutations and whatnot that also gets bundled in.

That implicitly assumes a certain rule representation though -- one which takes in data and outputs data. It's perfectly possible, in theory, to describe constraints instead. Looking at the example of daily scheduling in the presence of the clock running backward; you can define that in terms of inputs and outputs, or you can say that the desired result satisfies (a) never less than the wall clock, (b) never decreases, (c) is the minimal such solution. Whether that's right or not is another story (it probably isn't, by itself -- lots of mobile games have bugs like that allowing you to skip ads or payment forever), but it's an interesting avenue for exploration given that those rules can be understood completely orthogonally and are the business rules we _actually_ care about, whereas the FP, OOP, and imperative versions must be holistically analyzed to ensure they satisfy business rules which are never actually written down in code.
by instagib | 2025-04-11 21:14:44+00:00
Least favorite anecdote: Reddit. After an introduction, a friend said, “Why are you on the front page like a new person?” I am auto-subscribed to the front page content channels when I want to be in my subscriptions. However, I miss relevant content because others overwhelm the front pages.

I appreciate your response and the work you continue on the front ends. I obtain political news content from other sources, so my cumulative content feed contains a significant amount of duplicate content.
by Kleptine | 2025-04-11 21:14:55+00:00
To answer some of the questions here, the reason this has not been used before is because this technique requires being able to access the quad definitions (ie. which 4 vertices makeup each quad) within the gpu.

Up until recently with Mesh Shaders, there's really just been no good way to send this data to the GPU and read back the barycentric coordinates you need in the fragment shader for each pixel.

The article offers several options, to support older GPUs, like Geometry Shaders and Tesselation shaders. This is good, but these are really at best Terrible Hacks(tm). Proof of the ability to contort old extensions is not proof of reasonable performance!

Notably, geometry shaders are notorious for bad performance, so the fact that they list them as a viable strategy for older devices makes it pretty clear they aren't thinking much about performance, just possible compatibility.

Still, I think this is very cool, and now that GPUs are becoming much more of a generic computing device with the ability to execute arbitrary code on random buffers, I think we are nearly at the point of being able to break from the triangle and fix this! We hit this triangulation issue several times on the last project, and it's a real pain.