MurphyA/hacker-news huggingface dataset:
by IshKebab | 2025-12-02 21:54:27+00:00
> Function coloring is specifically about requiring syntax for a function, eg. the async keyword.

It isn't really. It's about having two classes of functions (async and sync), and not being able to await async functions from sync ones.

It was originally about Javascript, where it is the case due to how the runtime works. In a sync function you can technically call an async one, but it returns a promise. There's no way to get the actual result before you return from your sync function.

That isn't the case for all languages though. E.g. in Rust: https://docs.rs/futures/latest/futures/executor/fn.block_on....

I think maybe Python can do something similar but don't quote me on that.

There's a closely related problem about making functions generic over synchronicity, which people try and solve with effects, monads, etc. Maybe people call that "function colouring" now, but that wasn't exactly the original meaning.
by defrost | 2025-12-02 21:54:27+00:00
Privileged enough to have a place at a university, sure.

That didn't universally equate to privilege in a class or wealth sense for a number of countries.

eg: https://www.whitlam.org/whitlam-legacy-education

was the system I was educated under, when I took orals it was a result of being a scruffy kid that wore no shoes but passed general high school and math talent exams better than all but three others my age in the state.

( For interest, the three that ramked higher than myself that year in Tertiary admissions exams were all educated in expensive private schools in the capital city- I got by on School of the Air, a bunch of books and a few years at a smallish remote high school in far north W.Australia

* https://www.aades.edu.au/members/wa

1970's ham radio running off truck batteries - pre internet for that area, although we did experiment with text over phone line and packet radio.

* https://en.wikipedia.org/wiki/Prestel

)
by kabirgoel | 2025-12-02 21:54:50+00:00
My team has been using it in prod for about a year now. There were some minor bugs in the runtime's implementation of buffers in 1.22 (?), but that was about the only issue we ran into.

The nice things:

1. It's fast.

2. The standard library is great. (This may be less of an advantage over Deno.)

3. There's a ton of momentum behind it.

4. It's closer to Node.js than Deno is, at least last I tried. There were a bunch of little Node <> Deno papercuts. For example, Deno wanted .ts extensions on all imports.

5. I don't have to think about JSR.

The warts:

1. The package manager has some issues that make it hard for us to use. I've forgotten why now, but this in particular bit us in the ass: https://github.com/oven-sh/bun/issues/6608. We use PNPM and are very happy with it, even if it's not as fast as Bun's package manager.

Overall, Deno felt to me like they were building a parallel ecosystem that I don't have a ton of conviction in, while Bun feels focused on meeting me where I am.
by rstuart4133 | 2025-12-02 21:54:53+00:00
Quoting https://news.ycombinator.com/item?id=46102636:

> Web Grok also got tied to the chair and had its balls whipped until it learned not to say bad things about Elon

That's a vulgar way of putting it, nevertheless "trained to be Elon's loyal sock puppet" neatly fits with what we know about the Elon's ego.
by ansgri | 2025-12-02 21:54:56+00:00
For me the most annoying would be a technically correct solution that completely ignores the “higher-level style” of the surrounding code, at the same time defending the chosen solution by referencing some “best practices” that are not really applicable there for some higher-level reasons, or by insignificant performance concerns. Incidentally, LLMs often produce similar problems, only one doesn’t need to politely argue with them.
by lvl155 | 2025-12-02 21:55:10+00:00
They rather give kids $6.25B going straight to SPX than build schools. At some point, the billionaires realized it’s best to keep Americans uneducated. They then turn around and hire all the immigrants and complain why there are so many of them in this country.

People realize this is precursor to them removing social security for this generation of kids?
by MyFirstSass | 2025-12-02 21:55:10+00:00
I still don't believe that. Again yes a boilerplate calculator or recipe app probably, but anything advanced real world with latency issues, scaling, race conditions, css quirks, design weirdness, optimisation - in other words the things that actually require domain knowledge i still don't get much help with, even with Claude Code, pointers yes but they completely fumble actual production code in real world scenarios.

Again it's the last 5% that takes 95% of the time, and those 5% i haven't seen fixed with Claude or Gemini, because it's essentially quirks, browser errors, race conditions, visual alignment, etc etc. All stuff that completely goes way above any LLM's head atm from what i've seen.

They can definitely bullshit a 95% working app though, but that's 95% from being done ;)
by mikepurvis | 2025-12-02 21:55:41+00:00
I don't think it's beyond the call of duty to expect someone to acquire context beyond their immediate assignments, especially if they have ambitions to advance. It's kind of a key prerequisite to the kind of bigger-picture thinking that says "hey I noticed my component is duplicating some functionality that's over there, maybe there's an opportunity to harmonize these, etc"
by bilbo0s | 2025-12-02 21:55:50+00:00
This.

Anthropic is not going to interrupt their competitors if their competitors don't want to use trainium. Neither would you, I, nor anyone else. The only potential is downside. There's no upside potential for them at all in doing so.

From Anthropic's perspective, if the rest of us can't figure out how to make trainium work? Good.

Amazon will fix the difficulty problem with time, but that's time Anthropic can use to press their advantages and entrench themselves in the market.
by walterbell | 2025-12-02 21:55:57+00:00
https://internetfreedom.in/iffs-statement-against-dots-direc...

Clause 7(b).. requires that the pre-installed Sanchar Saathi application be “readily visible” and that, “its functionalities are not disabled or restricted.” In plain terms, this converts every smartphone sold in India into a vessel for state mandated software that the user cannot meaningfully refuse, control, or remove. For this to work in practice, the app will almost certainly need system level or root level access, similar to carrier or OEM system apps, so that it cannot be disabled. That design choice erodes the protections that normally prevent one app from peering into the data of others, and turns Sanchar Saathi into a permanent, non-consensual point of access sitting inside the operating system of every Indian smartphone user.
by GuinansEyebrows | 2025-12-02 21:56:05+00:00
maybe this is a cheap comment but i truly cannot see the value in a home video security system - the cost of which is probably comparable to a decent home insurance policy with theft coverage. i don't even want cameras in my home that i have full control over, let alone internet-connected cameras that can be viewed by third parties (authorized or not)... and i'm boring at home. anything i own of sentimental value has little to no monetary value, and the latter category is all things that can be replaced.

what value do these systems actually provide to anyone but the manufacturers and those capable of exploiting them?
by Workaccount2 | 2025-12-02 21:56:18+00:00
LLMs can pretty reliably write 5-7k LOC.

If your needs fit in a program that size, you are pretty much good to go.

It will not rewrite PCB_CAD 2025, but it will happily create a PCB hole alignment and conversion app, eliminated the need for the full PCB_CAD software if all you need is that one toolset from it.

Very, very, few pieces of software need to be full package enterprise productivity suites. If you just make photos black and white and resize them, you don't need Photoshop to do it. Or even ms paint. Any LLM will make a simple free program with no ads to do it. Average people generally do very simple dumb stuff with the expensive software they buy.
by dzonga | 2025-12-02 21:56:42+00:00
I personally think - Juniors will be okay, if they stick to *fundamentals*

lots of "seniors" via title inflation dont have fundamentals anyways - hence a lot of broken software in the wild & also perverse incentives like Resume driven development. A.I is built on badly written open source code.

because once you have the fundamentals, built a few things - you would've battle scars which makes someone a senior

not the 'senior' we see in big corps or places cosplaying where promos are based on playing politics.
by gaigalas | 2025-12-02 21:56:58+00:00
I recently saw someone making the following comparison:

- The transition from paper maps to Waze.

- The transition from unassisted to AI-assisted.

At first, this comparison made me incredibly uncomfortable, but the more I think about it, the more I believe it to be accurate.

I mean, who made the comparison has no idea. He was comparing devs to obsolete cab drivers.

But the analogy holds. And replacing "AI" with "Waze" seems to be a good litmus reality check.

- "Waze Specialist"

- "My company helps people use Waze to increase productivity"

- "I was a pioneer Waze user"

- "I've spent most of my life dreaming of something like Waze"

See how it sounds? It's perfect. We expect this technology to be as ubiquitous as GPS-assisted navigation. Maybe we should start treating it as such: a commodity.
by QuiEgo | 2025-12-02 21:57:00+00:00
I’ve always thought of this like being at University and studying for finals or doing labs. You could basically do them wherever you wanted for the most part.

Some people thrived in an actual lab. Some people worked from their dorm/apartment. Some would go to the library. Some to a coffee shop.

Seems this trend of not having a one size fits all best continues in industry.
by twosdai | 2025-12-02 21:57:07+00:00
Writing unit tests, manual validation work, manual testing. Automating Deployments of infrastructure, DNS work, tracking down annoying one off bugs, fixing and validating dependency issues.

Basically this type of maintenance work for any sufficiently complex codebase. (Over 20k LOC)

When I was an QA intern / Software Dev Intern. I did all of that junk.
by itsjamesmurray | 2025-12-02 21:57:08+00:00
My team wrote about this same phenomenon in marketing: https://www.behindthecmo.com/p/the-seniorification-of-market...

Its a double edged sword too. I see it in my biz -- its easier to spend 40 hours training a model how to do things the way we like rather than hire someone junior and spend a month+ on onboarding. We are noticing hitting a wall to a certain point with clients still wanting to talk to a real person, but I can see that changing in the next ~5 years. Zero idea what happens to those junior folks that used to get trained (me being one that sat through a 3mo onboarding program!).
by harmmonica | 2025-12-02 21:57:12+00:00
I think you hit the nail on the head with your "good enough" phrasing. It might actually not be good enough. It begs all sorts of questions about the state of things in the US that an extremely wealthy individual has the means to do this and at the same time that something like this doesn't already exist for the recipients via some other mechanism such as the entity that's responsible for a citizen's well being playing some role.

It is good, though. I think most folks who complain about it, though, wish it were better (better does not mean Dell spends even more of his own money on this, not directly anyway).
by alwa | 2025-12-02 21:57:21+00:00
Oh man, I hadn’t thought of SmarterChild in dog’s years! It was an early AIM chatbot, and felt like magic at the time. Looking back it feels like there’s a clear through-line from it (and the rest of ActiveBuddy’s menagerie) to the ChatGPTs of the world today…

For today’s lucky 10,000, here’s a Vice retrospective from 2016:

https://www.vice.com/en/article/a-history-of-smarterchild/
by dllu | 2025-12-02 21:57:24+00:00
The article talks about eye safety a bit in section 4.

> a stuck mirror

This is one of the advantages of using an array of low power lasers rather than steering a single high power laser. The array physically doesn't have a failure mode where the power gets concentrated in a single direction. Anyway, theoretically, you would hope that class 1 eye-safe lidars should be eye safe even at point blank range, meaning that even if the beam gets stuck pointing into your eye, it would still be more or less safe.

> 20 cars at an intersection = 20 overlapping scanners, meaning even if each meets single-device Class 1, linear addition could offer your retina a 20x dose enough to push into Class 3B territory.

In the article, I point out a small nuance: If you have many lidars around, the beams from each 905 nm lidar will be focused to a different spot on your retina, and you are no worse off than if there was a single lidar. But if there are many 1550 nm lidars around, their beams will have a cumulative effect at heating up your cornea, potentially exceeding the safety threshold.

Also, if a lidar is eye-safe at point blank range, when you have multiple cars tens of meters away, laser beam divergence already starts to reduce the intensity, not to mention that when the lidars are scanning properly, the probability of all of them pointing in the same spot is almost impossible.

By the way, the Waymo Laser Bear Honeycomb is the bumper lidar (940 nm iirc) and not the big 1550 nm unit that was on the Chrysler Pacificas. The newer Jaguar I-Pace cars don't have the 1550 nm lidar at all but have a much bigger and higher performance spinning lidar.
by tjwebbnorfolk | 2025-12-02 21:57:29+00:00
It's so interesting how many of the comments already are some variant of how ridiculous this is that a rich person voluntarily donated their own money. That that's somehow bad, and what we really need to do is to force all of them to donate via taxation.

But you just got $6 billion and you already want more? This attitude exactly why so many people are against raising taxes, supposedly against their own self-interest. The idea that I can freely spend OTHER people's money is the most seductive thing in the world.
by IncreasePosts | 2025-12-02 21:57:56+00:00
Sure - I guess what I was asking is how to make sure everything is okay in the unstructured -> structured conversion.

"My name is John and I'm 40 years old" -> {name:"John", age:40}

How can you gain confidence that the AI doesn't spit out {name:"John", age:41}

The only thing I do currently is have a massive test suite to gain some statistical confidence it works, but I worry about situations like a person having a rare unicode character in their name (not to even speak of people intentionally trying to trick the system)
by JumpCrisscross | 2025-12-02 21:58:18+00:00
The lack of control and cohort following are legitimate criticisms. The effect size is not. Even a single-digit percentage increase over a single year from policy treatment is incredibly impressive when we open the door to cumulative effects.

> Yet the data fits people's biases

It does. But it also fits priors, particularly those we've seen documented when it comes to teens and social media.
by mihajakovac | 2025-12-02 21:58:19+00:00
There is a .NET tookit called Nomirun, that lets your teams focus on the business logic, dramatically speeding up shipping cycles while maintaining maximum architectural flexibility.

It fully supports the latest .NET versions (8, 9, 10) and works right in your favorite IDE.

Here is the deal:

- You focus on Modules: Your business logic lives in Nomirun Modules - special NuGet packages that fully encapsulate it. Simple, clean, and decoupled.

- The Host does the rest: Nomirun modules run inside the generic Nomirun Host application. The Host handles all the application infrastructure, cross-module communication, and boilerplate plumbing for you.

Architectural Genius:

Because of this separation, your deployment strategy is totally flexible without changing your code:

- Run the Modules on hosts as fully isolated microservices. - Run the Modules on a host as modular monolith. - Or use both to mix-and-match with a hybrid architecture.

Your code stays the same; you just change the deployment strategy!

Yay or nay?
by ThrowawayR2 | 2025-12-02 21:58:34+00:00
Those of us familiar with the Dilbert comic strip of the '90s-'00s are having a good chuckle at the idea that there was ever a social contract. What you think of as a social contract was a fiction enabled only by the explosive growth of the software industry during the Internet and mobile web of the last twenty years. It's easy to be generous to employees when the profits just keep growing on their own. It's easy to overlook mediocrity (and sub-mediocrity) when as many warm bodies are possible are needed to fulfill business objectives.

That's all over now; the growth spurt of a young software industry has given way to maturity. We'll be navigating an employment environment much like what the norm is in other technical professions with tougher standards and fiercer competition for good jobs.
by shrubble | 2025-12-02 21:58:36+00:00
There's no reason to run agents on expensive AI platforms or on GPUs - when you can have the AI create an agent in JS and thus runs with very high performance and perfect repeatability on far less expensive CPUs.

At the very least there must be some part of the agent tasks that can be run in JS, such as REST APIs, fetching web results, parsing CSV into a table, etc.
by ants_everywhere | 2025-12-02 21:58:36+00:00
The writeup makes it sound like an acquihire, especially the "what changes" part.

ChatGPT is feeling the pressure of Gemini [0]. So it's a bit strange for Anthropic to be focusing hard on its javascript game. Perhaps they see that as part of their advantage right now.

[0] https://timesofindia.indiatimes.com/technology/tech-news/goo...
by mikepurvis | 2025-12-02 21:58:55+00:00
Groovy does something similar with MarkupTemplateEngine; I don't super care for it there either, at least as a mechanism for generating full webpages:

https://docs.groovy-lang.org/docs/groovy-2.5.3/html/document...

It can make a lot more sense as a way to prepare a smaller snippet of XML though, for example an xunit reponse.
by WorldMaker | 2025-12-02 21:59:08+00:00
> you lose things like 'import _ from "lodash", which requires further setup (import maps) or is impractical in larger projects.

I think importmaps are reasonably practical even for larger projects today. I know Firefox supporting multiple importmaps in the same HTML is still a wishlist item for some to avoid more scenarios that need an importmap compile step in very large projects, but importmaps are relatively easy to automate (it's just JSON wrapped in a script tag; merging them can be just a matter of a couple Object.assign calls or object spread notation; the multiple importmaps standard that Firefox is behind on is just that, a basic Object.assign merge).

> The real reason however is that TS is just a language, not part of any standard

Right, which is why the TC-39 (committee that owns JS) proposal for "erasable syntax" for "type annotations" isn't Typescript-specific and isn't a pure superset of Typescript syntax. The node implementation of erasable syntax doesn't use the Typescript compiler and doesn't support the full Typescript syntax and is relatively close to the TC-39 proposal.

> not just going to support random languages headed by corporations (Microsoft) and that are not community projects.

Nitpicking somewhat, but Typescript has been open source since it was publicly launched and a fair enough chunk over the years of contributors aren't/haven't been Microsoft employees. It's fairly reasonable to say it is a community project. I appreciate the point that it is still seen as a specific-vendor solution and the point of separating the JS language standard proposal from being "just do what Microsoft decides is right for Typescript" (as TC-39 is trying to do), but to be fair to Typescript, it is a also bit wilder and more open than that "just a Microsoft solution" at this point (and arguably also for most of its history).
by tomasol | 2025-12-02 21:59:35+00:00
fsync is the most expensive operation during a write. NORMAL mode means you don't care whether last ~100 ms of transactions before a process crash / VM restart are going to be persisted or not. My suggestion is either to use synchronous="full" or disable `synchronous_commit` on Postgres to avoid comparing apples to oranges.

Edit: Also, the example indicates financial transactions. Can you explain why you need serializability but not durability?
by will4274 | 2025-12-02 22:00:17+00:00
There are no Meta employees with $200k of student debt nor any shuffling debt from card to card, except those with addiction issues (addiction can consume any amount of money).

The thing about a social safety net is that it makes life better for poor people. That's good. Praiseworthy even. Laudable.

The negative impact on economic growth and wages for high earners means the American tech workers are just richer than European tech workers. Any other analysis is a combination of wishful thinking and pseudoscience, quite frankly. Economics is science, just like biology and mathematics and physics.

Fwiw, I know a bunch of American tech workers who worked 20 years and then retired. Pretty much every person who works for Meta can name ten people like that. Those people tend to retire in Europe, where they can enjoy free healthcare while living off the incredible amount of money they made when they were young.
by mekoka | 2025-12-02 22:00:22+00:00
Even though I'm using the second person, I actually don't care at all to convince you particularly. You sound pretty set in your ways and that's perfectly fine. But there are other readers on HN who are already pretty efficient at log debugging or are developing the required analytical skills and I wanted to debunk the unsubstantiated and possibly misleading claims in your comments of some superiority in using a debugger for those people.

The logger vs debugger debate is decades old, with no argument suggesting that the latter is a clear winner, on the contrary. An earlier comment explained the log debugging process: carefully thinking about the code and well chosen spots to log the data structure under analysis. The link I posted was to confirms it as a valid methodology. Overall code analysis is the general debugging skill you want to sharpen. If you have it and decide to work with a debugger, it will look like log debugging, which is why many skilled programmers may choose to revert to just logging after a while. Usage of a debugger then tends to be focused on situations when the code itself is escaping you (e.g. bad code, intricate code, foreign code, etc).

If you're working on your own software and feel that you often need a debugger, maybe your analytical skills are atrophying and you should work on thinking more carefully about the code.
by 0x5FC3 | 2025-12-02 22:00:42+00:00
From the article:

> The app is intended to track stolen phones, block them and prevent them from being misused.

> India's telecom ministry confirmed the move later, describing it as a security measure to combat "serious endangerment" of cyber security.

Both android and iOS natively support tracking/blocking a lost device.

---

Approximately 50000 devices are stolen every month in India. [0] The govt wants its app on 730M phones [1].

[0] https://www.hindustantimes.com/india-news/karnataka-telangan...

[1] https://www.reuters.com/sustainability/boards-policy-regulat...