frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Anthropic Outage for all models / services

https://status.claude.com/incidents/9g6qpr72ttbr
1•pablo24602•42s ago•0 comments

Ozymandias

https://blog.engora.com/2025/12/ozymandias.html
1•Vermin2000•42s ago•0 comments

The Plan Is the Program

https://www.proofofconcept.pub/p/the-plan-is-the-program
1•herbertl•2m ago•0 comments

AI will transform science. Just not the way you think

https://ischemist.com/writings/long-form/will-ai-transform-science
1•hiddenseal•3m ago•0 comments

My Battle with Datetimes in Prod

https://www.datacompose.io/blog/fun-with-datetimes
1•tccole•3m ago•1 comments

Distropack now supports TAR archives aside from RPM DEB and PKG

https://distropack.dev/Blog/Post?slug=introducing-tar-package-support-simple-distribution-without...
1•segfault0x23•6m ago•1 comments

Job security in the age of AI? Get a state license – any state license

https://www.theguardian.com/business/2025/dec/15/job-security-state-license
2•bookofjoe•7m ago•0 comments

Rethinking a Mathematical Notation for Possible LLM Applications

https://ursaxza.substack.com/p/a-hole-new-word
1•ursAxZA•9m ago•0 comments

Show HN: Carolina Cloud – 1/3 the cost of AWS for data science workloads

https://carolinacloud.io/
1•bojangleslover•10m ago•0 comments

Avoiding Fallback and Cold Paths

https://timkellogg.me/blog/2021/01/29/cold-paths
1•fanf2•11m ago•0 comments

Trump's new visa fee inhibits hiring teachers in California – CalMatters

https://calmatters.org/education/2025/12/teaching-jobs-california-foreign-worker-visa/
1•bilsbie•17m ago•0 comments

How do you stay focused while working on a computer all day?

1•Ben_Tycho•22m ago•2 comments

Opik Agent Optimizer – Open-Source Prompt Optimization Framework

https://github.com/comet-ml/opik/tree/main/sdks/opik_optimizer
4•calebkaiser•24m ago•0 comments

Is Your Startup Failure Your War or Shame?

https://manidoraisamy.com/startup-failure.html
1•QueensGambit•24m ago•0 comments

Reviving, reproducing, and revisiting Axelrod's second tournament

https://arxiv.org/abs/2510.15438
2•m-hodges•26m ago•0 comments

Current Game and Season Materials (First Tech Challenge 2025-2026)

https://ftc-resources.firstinspires.org/ftc/game
1•dustfinger•26m ago•0 comments

AI-Driven Development Life Cycle: Reimagining Software Engineering

https://aws.amazon.com/blogs/devops/ai-driven-development-life-cycle/
1•asasidh•29m ago•0 comments

Building Secure OTA Updates for ESP32 over BLE with Rust – Harry Gill

https://gill.net.in/posts/building-secure-ota-updates-for-esp32-over-ble-with-rust/
1•mygnu•32m ago•0 comments

Do you think a job seekers front product a bad idea?

1•madeye7•32m ago•0 comments

Tesla Europe registrations drop 36% in November

https://www.automotiveworld.com/news/tesla-europe-registrations-drop-36-in-november/
21•randycupertino•32m ago•2 comments

I've been sleeping on Chinese models

https://kylenessen.com/ive-been-sleeping-on-chinese-models/
2•kylenessen•36m ago•1 comments

A Cosmic Offense: Elias Canetti's contest against death

https://www.commonwealmagazine.org/cosmic-offense
2•diodorus•36m ago•0 comments

Show HN: Cut the Crap – A meritocratic community for builders

https://www.youtube.com/watch?v=i2xdJ5ISoTI
1•shrutisingh18•37m ago•0 comments

Ask HN: Please suggest a smart watch that can be customized

3•VladVladikoff•37m ago•1 comments

I made a website where you can arrange a Secret Santa over email

https://secretsanta.email
1•elliotbeskow•39m ago•0 comments

Bystander tackled and disarmed one of the Sydney gunmen, video shows

https://www.nytimes.com/2025/12/14/world/australia/bondi-beach-gunman-tackled-video.html
3•mhb•42m ago•0 comments

Show HN: Remixify – Find alternate versions of tracks in your Spotify playlists

https://remixify.xyz
1•kwakubiney•42m ago•0 comments

Control Plane MCP

https://docs.controlplane.com/mcp/overview
1•dorongrinstein•44m ago•0 comments

Get to Know iPhone Privacy and Security Settings

https://ssd.eff.org/module/how-to-get-to-know-iphone-privacy-and-security-settings
1•nabla9•44m ago•0 comments

E: An all in one webapp built using React.js

https://github.com/B35000/E5UI
1•bryonyoni•45m ago•0 comments
Open in hackernews

JSDoc is TypeScript

https://culi.bearblog.dev/jsdoc-is-typescript/
29•culi•2h ago

Comments

zackify•52m ago
5 years ago I was at a meet up and the guy talking was saying how if you don't like typescript these jsdocs are the way to go. Had to explain to my employer attending that it is still typescript. Didn't seem to believe me and was super against typescript but not jsdocs lol
llimllib•46m ago
counterpoint: JSDoc is not typescript

If you define a type in a file with @typedef, it is automatically exported and there is nothing you can do to control that: https://github.com/microsoft/TypeScript/issues/46011

I tried making a library this way and lacking control over the visibility of the exported types was really painful; it made my intellisense awful because every type I defined at the root was exported from the library

sureglymop•41m ago
I really like it for web components. Lately I have many "my-component.js" files and it's quite nice to just be able to copy them to new projects and have it all work without a build step. But I'm not sure I would use JSDoc over typescript syntax in a large project.
pjmlp•45m ago
TypeScript won over the alternatives, exactly because it is only a type checker, and not a new language.

Granted they initially weren't down that path, but they course corrected it on time, and not much people use stuff like enums in new code.

user3939382•42m ago
Agree. It’s superior. I arrived at this about 2 years ago no regrets. Type safety matters on the tooling side anyway. Unless you’re testing for the runtime I guess?
gaigalas•42m ago
The sooner we get https://github.com/tc39/proposal-type-annotations, the better.

Once we get it, there is still a solid decade before runtimes support it, and optimistically, still more 10 years minimum having to deal with an interpreted language that has acquired an unecessary build step.

I absolutely hated when PHP switched from a phpDoc culture with static analysis (and IDE inconsistencies that would click-take you to stubs as well) to actual types. Not because I hate types, but because of the transition period. Once it's gone, it's such a relief to get rid of unecessary docblocks.

conartist6•31m ago
That proposal is a nonstarter. It cannot and will not ever be accepted
botten•25m ago
Why?
indolering•21m ago
Please elaborate!
conartist6•13m ago
The proposal is to introduce a whole slew of syntax to JS that according to the proposal will have no meaning. This is a paradox. You have only created a language if you can use it to convey meaning
gaigalas•5m ago
That's not entirely true. Ideally, there would be a follow up with a reflection API.

Also, comments are syntax and they're mostly meaningless. By your reasoning, programming languages should have no comments.

So, it's not really a qualitative issue (presence of meaningless syntax) but a quantitative one (presence of lots of parsing complexity).

gaigalas•16m ago
Something needs to change. I don't care about one specific proposal.

It's miserable having a de-facto build step for an interpreted language. Worst of both worlds.

Maybe just TS is fast, but it encourages developers to put more and more stuff into that build step (and they do, they do that a lot). Culturally, that trend is not going to change unless the main reason for having said build step is removed.

The whole babel/transpiling thing was meant to be temporary. It became temporarily permanent / permanently temporary.

conartist6•15m ago
I'm the person who is developing a permanent solution.
crummy•39m ago
> For packages typed with JSDoc, CTRL/CMD clicking on a function will take you to actual code rather than a type declarations file. I much prefer this experience as a dev.

ok i didn't think about this, that's an underrated benefit

agumonkey•32m ago
could be a customizable behavior in editor/ide though
IshKebab•12m ago
This works with Typescript too though?
sureglymop•38m ago
A somewhat related thing programmers must understand is that whether you write typescript, JSX, .astro or .svelte files, you are technically not writing JavaScript.

You should occasionally look at the build artifacts of your framework but also ask yourself whether it is worth it to write code that may not represent what actually ends up being executed.

Lately I just use vite with no starter template but with web components and css modules. It at least feels more convenient than using any framework or library.

umanwizard•34m ago
> ask yourself whether it is worth it to write code that may not represent what actually ends up being executed.

Doesn't this describe every programming language?

When you write C, you are technically not writing machine code.

Even when you write JavaScript, what actually gets executed is V8 bytecode and/or machine code (depending on whether the JIT fires).

vlovich123•24m ago
Yeah it’s a silly line of reasoning. The transformations of TS -> JS are a lot smaller and simpler than C-> asm / machine code; it’s basically just removing type annotations. Now minification and optimization can make the output a lot more terse, but that can be done for JS too. And it’s not as complicated and detached from the source as an optimizing compiler is.
sureglymop•3m ago
Let's not act like it's the same thing. I'm not strictly talking about just Typescript, I'm saying that if you work with these technologies every day it would be wise to go look at their Vite plugins to see how they transform your code and be sure to understand it. It's nice to have magic but it's nicer to use the magic if we have demystified it first.
sureglymop•6m ago
That's correct, however I would say there is a small difference in that most of this code still seems just like JavaScript, sometimes it even feels as though it is JavaScript running in the same context when it then gets compiled to run on server/client.

I think the point I'm trying to make is that this can be confusing or even dangerous especially for new developers. It just doesn't hurt to actually look at the Vite plugins transforming it all to understand it instead of making assumptions if we work with it on the daily.

kaufmann•20m ago
Aren't you loosing a lot of the declarative features like signals or similar, when you do your projects without those frameworks?

(asking to learn)

sureglymop•9m ago
Somewhat. I could still use framework agnostic state management libraries/patterns and most are (e.g. svelte signals, jotai, zustand, etc.).

I've even used Proxies directly to implement some reactivity before. However as for the "declarative" parts, I think it's just a little bit of a different way to work but you get used to it and imo it pays off. Knowing the web APIs should be a requirement anyway and it doesn't hurt to work with them directly as much as possible.

conartist6•35m ago
I still think that JS is very much not TS. Most TS code assumes you never need to check for errors because the type checker proves they can't happen.

Then, paradoxically, with no error checking at runtime, it becomes fully possible for JS code to call into TS code in a way that breaks the shit out of the TS compiler's assumptions. In philosophy then TS and JS are as incompatible as GPL and EULA

epolanski•17m ago
The type checker can only prove what is known at compile time and only if you're disciplined.

To bridge runtime and compile time (as your application will likely get some external data) you've got to use a proper parser such as zod[1] or if you want to stretch it even further effect-schema[2].

[1] https://zod.dev/

[2] https://effect.website/docs/schema/introduction/

md224•9m ago
Writing a Typescript program that takes external input but has no runtime error checking is already a mistake, though. Dealing with external input requires type assertions (since Typescript doesn't know what the program is getting at compile-time) and if you write type assertions without ensuring that the assertions are accurate, then that's on you, not Typescript.

However, if your point is that Typescript can lull people into a false sense of safety, then sure, I take your point. You have to understand where type assertions are coming into play, and if that's obscured then the type safety can be illusory. The benefits of Typescript require you to make sure that the runtime inputs to your program are sufficiently validated.

strongpigeon•34m ago
Oh man, the mention of ScriptSharp brought back memories. I started my career at MSFT on SharePoint and the front end was an ungodly mix of ScriptSharp and other stuff.

I vividly remember being in a meeting with the Exchange team (about building shared frontend components) arguing for us to adopt TS instead as it had a better experience and very rapidly growing popularity (that was about 10 years ago). Plus, as strong as Nikhil [0] was, he was basically the only person behind ScriptSharp while TS had a whole team.

Of course, this being MSFT, this effort went no where. While true that the TS toolchain lacked the tree-shaking that ScriptSharp had, I was just annoyed that we had to build stuff using what was obviously an dead-ish language with limited support, many flaws, and no resources to improve it.

But hey, at least it wasn’t GWT.

[0] https://github.com/nikhilk

paulddraper•34m ago
And in fact, this what the Closure Compiler does…typecheck based on JSDoc.

However, the precision and completeness is not nearly what can be expressed in TypeScript. With generics particularly.

mirekrusin•32m ago
1. there are plenty things you can't express in jsdoc but can in typescript, flow did the right thing here where you have access to full language, not sure why typescript never did it, they could, with the same syntax flow is using

2. you can have navigation that goes to typescript file instead of definition, just arrange your exports in package.json correctly (first ones take precedence)

measurablefunc•9m ago
TypeScript's type system is Turing complete so you have access to essentially unlimited expressivity (up to the typechecking termination depth): https://news.ycombinator.com/item?id=14905043
austin-cheney•20m ago
Who cares what some framework guy thinks. When I was writing JavaScript for employment most people doing that work were hyper concerned with how to write code and what other people thought about it. These kinds of opinions and conversations are critically important for beginners, but junior and senior developers never seemed to get past these concerns of basic literacy.

When other developers and non-developers look at JavaScript developers as small children it’s because the maturity difference is very evident from the outside. Once developers get past basic literacy they are free to worry about architecture, performance, scale, platform independence, and more. For most JavaScript developers they just expect some framework to do it for them.

akst•20m ago
I'm actually using JSTypes in app, I don't mind it.

I choose to use it because I didn't want to deal with a build step for a smaller project. The project has grown and I am looking at adding a build step for bundling but still not too worried about using JSDoc over TS.

This might be my config, but one thing that does annoy me is whenever I define a lambda, I need to add an doc type. I guess if that's disincentivising me from writing lambdas maybe I should just add a TS compile step lol.

----------------------

Here's an example - I got some config typed with this function https://github.com/AKST/analysis-notebook/blob/c9fea8b465317... - Here's the type https://github.com/AKST/analysis-notebook/blob/c9fea8b465317... - And here's something to generate a more complicated type for defining config knobs https://github.com/AKST/analysis-notebook/blob/c9fea8b465317...

epolanski•14m ago
Not really, at best it's a verbose and limited subset.

https://github.com/tc39/proposal-type-annotations?tab=readme...

mohsen1•7m ago
Webpack is typed using JSDoc and type-checked via TypeScript -- I started this migration a while ago. It works pretty well