MurphyA/hacker-news huggingface dataset:
by civicsquid | 2025-04-12 20:15:37+00:00
I think one of the biggest challenges for a team lead is understanding the team's priorities, followed by identifying and acting on the leading indicators of success towards those priorities.

By understanding priorities I mean: the tech lead has to be in sync with management (of the team and often other leaders of the org) about what needs to get done and what can be cut if there isn't enough bandwidth. Weak tech leads in my experience don't have a sufficient grasp on changing priorities, which results in the team working on things that don't get rewarded properly / don't pay off and/or loading up the team with work that could have been deferred. Some of this is the manager's job, but often it falls to the tech lead to estimate the true technical 'size' of what is being asked.

By acting on leading indicators of success, I mean: the tech lead will ideally not be doing the majority of execution on a well-staffed team. They should be doing some execution work to ensure the codebase is sufficiently easy to work in etc, but most importantly they need to know how to figure out whether or not something is on track without sinking too much of their time to do so. Setting up milestones and some target date helps with this, but it's often uncomfortable to do that with folks that were recently your peers (it still needs to be done).

I don't have books or other resources, but this has been my experience as I transitioned into similar roles. I also think my experience may skew more towards a 'manager-tech-lead' than a pure tech lead, so take that with a grain of salt. Good luck!
by Whoppertime | 2025-04-12 20:15:43+00:00
This is assuming that all regulations are the same though. The Richard Nixon administration made the environment a policy priority in 1969-1971 and created two new agencies, the Council on Environmental Quality (CEQ) and EPA. The Clean Air Act was a Republican bill, and was dealing with things like carbon monoxide, particulate matter, and sulfur dioxide. It is the changing nature of the agency that made Republicans lose faith in it. Like how Republicans can like the idea of the United States Department of Veterans Affairs, but after seeing scandal after scandal want the VA scaled back or their responsibilities shifted to other departments who still have their confidence.
by Reason077 | 2025-04-12 20:17:10+00:00
In London we had multiple supermarket options within 10 mins walk. And even more within 10 minutes cycling distance.

Usually we’d just stop on the way home from work or whatever to do small, quick shops for whatever we needed.

But on the rare occasion where we did need to do a “big shop”, we just ordered groceries online for delivery the next day. All the major UK supermarkets offer this, with free or very cheap delivery, delivered by environmentally-friendly electric trucks.
Show HN: OctAPI – Visualize API Routes Directly in VS Code
by sabah_debugs_it | 2025-04-12 20:18:19+00:00
Started noticing issues while working with friends that I thought only I was encountering: spending too long manually adding routes to postman, getting lost looking for a single route in the sea of files and thought Hey, I can fix that (I think?)

So OctAPI is a VSCode extension that automatically detects and displays API routes from a local project (currently supports Express.js, NestJS, Next.js, Koa, Flask, and FastAPI), it filters and groups them, generates a Postman export JSON file, and adds to favs. It doesn't run your code and it all stays in your machine

A friend literally screamed when they were live testing it for me lol

It's open source (https://github.com/Hasbi-sabah/OctAPI) and here's its landing page (https://hasbi-sabah.github.io/octapi-landing-page)

I'm hoping to add custom tags, more frameworks support and even AI features.
by pixelpoet | 2025-04-12 20:18:29+00:00
If I told you a consumable substance is mind-altering, habit-forming, pleasurable and difficult to quit, very bad for your health in the quantities most abusers take it, but they continue to do so anyway- what would you call it?

I've always maintained that most "drugs" are just drugs other people dislike, and everyone is apparently happy to go along with this cognitive dissonance; hence the common phrase "drugs and alcohol", "drunk driving" vs "drug driving" etc etc.
by fc417fc802 | 2025-04-12 20:18:30+00:00
It's piracy, not theft. Those aren't the same thing but they are both against the law and the court will assess damages for both.

The person you replied to derailed the conversation by misconstruing an analogy.

> what's happening is objectively wrong.

Doesn't seem like a defensible claim to me. Clearly plenty of people don't feel that way, myself included.

Aside, you appear to be banned. Just in case you aren't aware.
by JKCalhoun | 2025-04-12 20:18:39+00:00
The problem is that it's being done top-down. AI has its uses — I use it daily. But let the ecosystem come into being and, from the bottom up, it will be clear where it makes sense and where it does not.

Corporate Software isn't going to wait for that. Oh well. Things will shake out in a few years. It always does.
by CryZe | 2025-04-12 20:20:18+00:00
There's no interpreter, I just map each instruction to equivalent Rust code. Linear memory is accessed through a trait.

The compiler is here: https://github.com/CryZe/wasm-to-rust

I have an example of a GameBoy emulator compiled from AssemblyScript to WASM to Rust here: https://github.com/CryZe/wasmboy-rs/blob/master/src/wasm.rs
by patrec | 2025-04-12 20:20:43+00:00
The problem with f-strings is that they make an extremely limited use case convenient (bashing unstructured text) and thus people people invariably use them for the less limited use case for which no such covenient mechanism exists. Constructing ASTs (including html and SQL). Or logging (where you want to avoid unconditionally computing some expensive string represenation).

I do this myself. I basically always use the subtl wrong log.warning(f"Unexpected {response=} encountered") and not the correct, and depending on the loglevel cheaper log.warning("Unexpected respone=%s encountered", repsonse). The extra visual noise is typically not worth the extra correctness and performance (I'd obviously not do this in some publically exposed service receiving untrusted inputs).

I'd argue these use cases are in fact more prevalent then the bashing unstructured text use case.

Encouraging people to write injection vulnerabilities or performance and correcness bugs isn't great language design.
by flomo | 2025-04-12 20:21:14+00:00
Criticism accepted, I am not trying to generalize everyone. I am an urban dweller from back in the days when that was the cheap (and less desirable) way to live. So I obviously wish we had much better transit and more affordable housing, and all of the good things. Its not like people want to spend an hour in traffic in a beater-ass car, they do it because they have to. (Because all of the shit you mention is even worse in the suburbs.) I would just like to see some real solutions which don't involve taxing the fuck out of the little guy or nuking the suburbs or the usual Cars Bad handwaving. It's a hard problem which nobody has a real good answer for.
by tikhonj | 2025-04-12 20:21:33+00:00
I've had a great time using Emacs Lisp over the past 15 years: it's one of the easiest ways to quickly whip up personalized tools for my own use, and, at the same time, my code has been surprisingly resilient and stable over this time.

And this is despite the fact that Emacs Lisp routinely flouts every single software engineering "best practice". The language is dynamically scoped by default! It simply doesn't have namespaces! Static types? Hah! (And I, an inveterate Haskeller, don't even miss them.) You can—and people routinely do—hook directly into all sorts of implementation details from other parts of the codebase.

And yet it just works. And it works remarkably well.

My theory: what matters isn't "best practices", it's have a coherent conceptual design and code that reflects that design. Emacs is designed around a small but expressive set of core concepts that it uses in a consistent manner. Text with properties, buffers, modes, commands, customization variables... Almost everything more complex in Emacs is structured out of these (+ a handful more), and, once you've internalized them, it's surprisingly easy to both learn new higher-level tools and to write your own.

The design of both the user interface and the code directly reflect these concepts which gives us a naturally close connection between the UI and the code (it's almost trivial to jump from an interaction to the code that powers it), makes both UI and code units effortlessly composable and generally makes it easier to understand what's going on and how we can change it.
by echelon | 2025-04-12 20:21:36+00:00
Rust is finding itself everywhere. It's fantastic on the server. It's shaping up to be fantastic for UI.

It's fast, ergonomic, and the code has fewer defects than code written in other languages. (Google did a study on this.)

It's not as unapproachable as the memes make it seem. It's no harder or less productive than Java or Golang to write. (Google also did a study on this.)

The Rust WASM deploy story is sublime and is going to help it take over the world.
by indigodaddy | 2025-04-12 20:21:36+00:00
https://github.com/jgbrwn/retro-computing-stream

Basically one-shotted with v0 with some minor back and forth.

I do need to randomize the search queue results though, so it's not the same order of results every time. Although you can hit the refresh icon on the side bar which should give you some different results/queue..
by Daviey | 2025-04-12 20:21:40+00:00
I said 35 years, because the description on github includes these models:

1. Amiga 3000 (1990) 2. Amiga 3000T (1991) - Tower version of the 3000 3. Amiga 4000 (1992) 4. Amiga 1200 (1992) - Released shortly after the 4000 5. Amiga 4000T (1994) - Tower version of the 4000 6. Amiga 4000CR (1996) - Cost Reduced version 7. Amiga 4000TX - No idea and not heard of it before
by cyberax | 2025-04-12 20:22:54+00:00
You need to use nuclear-powered transistors!

No, I'm not joking. For these kinds of voltages, you need to use highly homogenous doped silicon, and the only way to produce it is to irradiate silicon with neutrons. It transmutes some of the silicon atoms into phosphorus: https://nrl.mit.edu/facilities/ntds/
by crazygringo | 2025-04-12 20:23:14+00:00
That's a separate conversation then, because there's wrong information everywhere, but LLM's still do mostly OK. They don't just regurgitate stuff blindly, they look for patterns.

And the article here is specifically about hallucinations, when it tries to plausibly fill something in according to a pattern.

Wrong information on the internet is as old as the internet...
by Frost1x | 2025-04-12 20:23:31+00:00
If you’re POTUS or closely related to POTUS with access to sweeping information about erratic tariff policies that actual do shift entire markets index funds index against, why couldn’t you?

In general I think you’re correct because the “inside” information is typically not as broad or powerful. But I don’t think we live in general times. If POTUS gave me personally a heads up about such adjustments on tariffs, after watching indexes tumble after announcing them, and knowing the opposite direction, I would dump almost everything I had access to in such stocks largely effected by reevaluation from tariffs.

Knowing major policy shifts before they happen from one of the powerful governments in the world is useful information, especially when the policies are being set by a handful of people who can limit access to knowledge escaping even more than regularly so markets don’t adjust from larger sets of insider information.

Now is it really considered “insider” trading in this case? Probably not, and this administration can get away with anything it seems.
by keybored | 2025-04-12 20:23:47+00:00
I’m gonna assume that Brain Drain means that people who you spent resources as a country to train leave to spend their productive years elsewhere.

> Our proxy for talent is respondents who said they had completed an undergraduate degree.

Higher education in the US is mostly privatized. Society hasn’t born the cost of those undergraduate degrees. What does the US lose if they leave?

There’s also the question of whether other countries need people with undergraduate degrees. Do they need to save money on training their own citizens in liberal arts, nursing, engineering? That’s a bit unclear.
by theamk | 2025-04-12 20:24:19+00:00
Corporate money - if all you have is software engineers getting $250_000/year , the company likely pays ~$250/hour with all the overhead. So you are not paying "$500", you are paying 2 FTE hours. This is pretty small, corporate-wise: a single 1 hour meeting with 10 people in it is 10 FTE hours, and most managers won't think twice before organizing it.

Even DIY solution might not be more economic: sure, if you are familiar with RPi and have one on hand, and someone already wrote the software, you can do it in under 2 hours. But a single problem, like a defective SD card, and the pre-paid solution is now cheaper. Same goes for subscription: $80/year, or 20 FTE minutes. Yes, you can find those layers for free. Will this take you >20 minutes per year to setup and maintain? Probably not.

I was at my first job when I discovered "corporate money" and this was a real eye-opener... That $2000 tool that can only do one super-specific operation? Pays for itself if you can have two fewer defective assemblies.
by epolanski | 2025-04-12 20:24:37+00:00
I really want to see the people that have performance issues with Zod and what's their use case.

I mean it.

I've been parsing (not just validating) runtime values from a decade (io-ts, Zod, effect/schema, t-comb, etc) and I find the performance penalty irrelevant in virtually any project, either FE or BE.

Seriously, people will fill their website with Google tracking crap, 20000 libraries, react crap for a simple crud, and then complain about ms differences in parsing?
by geye1234 | 2025-04-12 20:24:37+00:00
I'm responding a bit late to this.

The objection to your point is that the teachings of Christianity are timeless if true. And therefore so is (the object of) Christians' belief. And so therefore, a 'modern Christianity' is an oxymoron.

I happily claim to practise the religion of St. Anthony, since our intellects adhere to the same thing (God's Self-Revelation in the God-Man Jesus Christ), and our wills pursue the same thing (Union with the Divine Nature). The reason for belief and the goal of religious practice is the same in St. Anthony's case as in mien.

As for Waugh, he believed that 'modernity', taken to mean the beliefs that inform contemporary thought and behaviour, was contemptible. (Obviously, if we took 'modern' to simply mean 'contemporary', this would make no sense. 'Modern' is a notoriously ambiguous word.)
by jchw | 2025-04-12 20:24:40+00:00
The entire premise of copyleft is taking advantage of copyright law to be able to represent moral expectations in the copyright license. Within the limits of copyright law is plenty of room to choose something restrictive enough to fit with whatever you want. If you pick a permissive license and people use your software in accordance with that license, complaining just doesn't make sense. The license you have them explicitly allows this. It's not a loophole, it's not a mistake in the license, it's not something that the license authors didn't foresee, it is a feature.

It is unfortunate when people make decisions that have legal ramifications they do not understand, but there's gotta be at least a little personal responsibility here. It's no different for code than anything else. There was a case not long ago where someone who made royalty free music changed their mind and tried to make copyright claims against people who had used their music in their YouTube videos. But can we be fair here? If you released this thing with an explicit royalty free license like that, can you really get mad because you can't get royalties that you clearly didn't expect in the first place?

If you're worried that you may regret releasing your own works under open source licenses, permissive or copyleft, then simply don't do it. The downside is that you can't be a direct part of the open source ecosystem, either by using existing (non-permissive) libraries or by being adopted by other open source software, but the thing is the vast majority of developers are aware of what they're signing up for. If someone makes a million dollars off of your open source software, you can have an expected paycheck of $0.00, and that even goes if it's copyleft. The plus side of this trade-off is that it enables anyone to take advantage of your software, even if they wouldn't normally have the means of licensing a product for their use case, with very low friction, providing the maximum benefit.

Copyright law, though, certainly does let you encode the expectation that "if you want to make money using this you must pay me", so if that's your expectation, don't use licenses that contradict it, especially not just because it is trendy.
by NoMoreNicksLeft | 2025-04-12 20:24:43+00:00
> They should have the due process to prove they are here legally.

This sounds like a nonsense statement. Non-citizens are only ever here legally at the pleasure of the United States. If we allow them in for 2 weeks, or 3 months, or whatever on a visa... we can change our minds and cancel it early.

The idea that they can have some absolute temporary right to be here ignores what it means to be a non-citizen. You have no right to be here, just a temporary privilege that can be revoked at any point for entirely arbitrary reasons.

>And yes, they were denied that.

I've heard no evidence that this was the case. "Due process" rights are, in many cases administrative. No trial, no judge.

>Even if you imagine due process is for citizens only,

I did not say this, and I do not imagine it. I just happen to know what due process rights actually are.

>you can't prove citizenship status without due process,

Was he denied his opportunity to prove citizenship to the agents who detained him? Did he try to get them to look in his wallet for papers, but they ignored that? Did he beg them to just look in his closet and see his birth certificate? That would be denial of due process.

>Otherwise, nothing's stopping ICE from just claiming you're not a citizen

So you claim. But it's absurd to think that will happen. If you believe it will happen, then just wait and sound the alarm when it does. I'll be genuinely surprised.
by db48x | 2025-04-12 20:24:54+00:00
Agreed; Emacs is the gold standard for documentation. It comes with a reference manual (400k words), an Emacs Lisp reference (600k words), _and_ 64 other manuals for individual Emacs modes or features including one just for Calc mode (250k words), a manual just for Org mode (130k words), one for Gnus (180k words) etc. All told it adds up to about 2.6 million words of documentation.

Still, another manual written from a different perspective probably won’t hurt anything.
by Whoppertime | 2025-04-12 20:25:20+00:00
You could ask the same question to the people who think the environment is very important but don't seem to care about how their electric car or its Lithium ion batteries are mined or manufactured. So long as it's not in their back yard it is out of sight out of mind. And if they overload the regulations so that there is no local manufacturing and it's all imported from countries with poor environmental controls, they are effectively exporting all the pollution to poor people in China
Show HN: TripJam – Travel group chat with collaborative map and itinerary
by kenforthewin | 2025-04-12 20:25:26+00:00
We built TripJam after being frustrated with planning trips in regular group chats and trying to organize information across multiple apps. It combines:

- Group chat that keeps all travel discussions in one thread - Interactive maps where everyone can pin locations and add notes - Collaborative itineraries that sync with your calendar - AI travel assistant that suggests activities and helps optimize your plans

This solves trying to coordinate information with everyone using messages, Google Maps, Google Docs, and travel guides. Everything syncs in real-time so everyone stays on the same page.

We would love your feedback!

https://tripjam.com
by ImPostingOnHN | 2025-04-12 20:25:46+00:00
They're already disobeying the court, including both the lower court's order and the supreme court's order to attempt repatriation, as well as the lower court's order to provide information on the victim's location and attempts to retrieve him. They disobeyed numerous court orders to rehire people they fired and re-fund things they defunded.

What makes you think the administration cares about goodwill after that? Disobeying direct court orders is crossing the Rubicon. There's no going back to the illusion that judicial judgements will be respected by this administration.
by thedufer | 2025-04-12 20:26:07+00:00
> I'm curious though, what is your solution to this?

Cookies work fine, and are the usual way auth is handled in browsers.

> Secondly, not every client is a browser (my OpenAI / fine tune example is non-browser based).

That's fair. It still seems easier, to me, to save any browser-based clients some work (and avoid writing your own spec) by using existing technologies. In fact, what you described isn't even incompatible with SSE - all you have to do is have the server close the connection every 60 seconds on an otherwise normal SSE connection, and all of your points are covered except for the auth one (I've never actually seen bearer tokens used in a browser context, to be fair - you'd have to allow cookies like every other web app).
by doublerabbit | 2025-04-12 20:26:14+00:00
> At a certain point it's just beating a dead horse.

Horses decay which where if Adobe were being dissolved than it would have no relevance; Adobe isn't defunct so I don't agree. Adobe is far from dead so while they are still operating it's worth a call out of their previous scummy behavior. It was a recent event in time.

> just getting mad about something that's no longer an issue.

I'm not mad. I don't use paid software where I don't need to. When a corporation screws up on their part, I'm going to call them out on it. It sounds like you have more of an issue rather than just skipping past. "Sssh, lets not mention that part because I'm tired of hearing it".

If you want to hear another another grudge from me with Adobe. One is that my mother forked ££ for the whole CS2 Suite on DVD. Adobe has now made it impossible to use without requiring a hack. Why should my mother not be allowed to use her own copy of CS2?

She doesn't require the latest nor can she afford the subscription in her elderly age with other life admin costs. Another show of that Adobe doesn't care for it's users. They extort for money. Not new as history dictates.

This is moot as I not going to change your mind, nor will you change mine. The pricing scandal was recent and that this topic on HN how Adobe trying to act cute does make it relevant to whole conversion of "oh by the way Adobe xyz".

Shall we start ignoring about how Nazi Germany, Adolf Hitler were setting up concentration camps? Because that would beating a dead horse yet it's still taught in schools.

Adobe isn't comparable to a mass-genocide of innocent people but that was history of an important event in time. By not mentioning it you are letting it be forgotten which is bad. History is being rewritten; you can see it in action with AI censorship.

The next generation of children will have no clue of such history and that's sad.