MurphyA/hacker-news huggingface dataset:
by adiabatty | 2025-05-08 05:28:17+00:00
> do you really want to put out a post that you yourself might find useful, but might be considered shallow, low effort, repetitive, non unique by your readers, and a waste of their time?

Yes. If some of my readers don’t like that I do that too often (or even once), they can unsubscribe.

Meanwhile, _as_ a reader, feeds like RSS and Atom are super useful. They let a computer check my favorite sites so I don’t have to.
by olalonde | 2025-05-08 05:29:07+00:00
I use Claude Code (cli tool) and it's on another level. Not even comparable to code autocomplete à la Copilot or copy/pasting into a LLM chat app. It knows about your whole code base, can use external tools, read documentation, run tests, etc. Even as an experienced developer, it's been a huge productivity boost. The main downside is that it can quickly get expensive.
by jterrys | 2025-05-08 05:29:41+00:00
commercial toasters, tvs, washing machines, you generally can't go wrong with spending a premium for something that was built to last a LOT of use. Speedqueen makes commercial washing machines with a consumer lineup that's serious about lasting a while. Easily set me back $1600, but then looking at the build quality and 10 year warranty I was like "ok, they probably mean it".

One thing I noticed about commercial build quality: simplicity. No touch bullshit. Small LCD displays. Here's some buttons and maybe a rotating knob. knock yourself out.
by yjftsjthsd-h | 2025-05-08 05:32:12+00:00
> Windows will keep on trying but the Unix/Linux mounting thing isn't quite so ... forgiving. Neither are perfect but I have no idea on how to even start on a discussion about something that might be called ephemeral mounts.

Can you make it systemd's problem by making a mount unit that explicitly depends on the VPN service? Or maybe you want something like autofs?
by cwegener | 2025-05-08 05:32:29+00:00
I don't use IDEs to begin with. I use a text editor, since I am a UNIX man. So, I don't even have a reason to look at the "AI" flavor of an IDE. The closest thing to an AI IDE that I have tried out were tools like AIDER and Jack's "goose" agent. Neither of those specialized tools has been satisfactory. They all performed worse than just the LLM IMO. I am sticking to crafting my own context that I supply to the LLM. Tools like Simon W's `llm` tool help A LOT to be more efficient at using LLMs in a daily setting.
by tututim | 2025-05-08 05:33:18+00:00
I'm not a developer. I use Claude and copy paste which works fine for me. Just picking up on one thing it's not unlimited use, Claude stops working for me after a certain amount of usage and offers me access to the max plan. I also would add that chat based code seems to bloat, the llm will add in a bunch of stuff that's not needed and that ultimately reduces the time it can work on my problems.
by briandear | 2025-05-08 05:36:39+00:00
The vast majority of motorcycle crashes are due to excessive speed and inexperience of the rider. Also a car turning into the lane and failing to see the oncoming bike causes many, many accidents.

I ride in Spain, and I don’t know anything about “better visibility” requirements” compared to the U.S. — out here there are giant trucks everywhere: delivery vehicles, industrial trucks, and even Ford Raptors. My close calls have almost always been exclusively with small VW Golf and the SEAT equivalents — distracted, young drivers are (anecdotally) the biggest culprits.

Also in the U.S., you’ll have some 18 year old kid on an R1 that has no business being on an R1, often killing themselves because they think they are Fabio Quateraro at 2am.

I could be wrong, but I’m not seeing data suggesting that “big trucks” in the U.S. are causing more motorcycle deaths. When I drove a Suburban in the U.S., my visibility was far better than when I had a Maserati car. Being able to see over cars allowed me to see more easily when a moto was approaching from the front or rear.

If you want to improve moto safety in the U.S., you need harsher laws against distracted driving, you also need potentially a graduated motorcycle license system like they do in Europe so you don’t have rookies running 1000cc bikes when ten minutes of riding experience.

Trucks are not really the problem.
by osigurdson | 2025-05-08 05:36:43+00:00
Yeah ya... everyone likes to go on and on about how inheritance is the root of all evil and if you just don't use it, everything will be fine. Sorry, it won't be fine. Your software will still be a mess unless it is small and written three times by the same person who knows what they are doing.

The bottom line is, no one ever really used inheritance that much anyway (other than smart people trying to outsmart themselves). People created AbstractFactoryFactoryBuilders not because they wanted to, but because "books" said to do stuff like and people were just signaling to the tribe.

So now, we are now all signaling to the new tribe that "inheritance is bad" even though we proudly created multiple AFFs in the past. Not very original in my opinion since Go and Rust don't have inheritance. The bottom line is, most people don't have any original opinions at all and are just going with whatever seems to be popular.
by jeswin | 2025-05-08 05:37:49+00:00
I've finally settled on this:

- A custom vscode plugin to help me copy file contents from the tree view, along with file paths

- A chat based ide (LibreChat, but anything will do)

- An agent that syncs code back, once I'm happy with the conversation (https://github.com/codespin-ai/codebox)

Sometimes I add the agent right at the beginning. Sometimes I do that when I feel the code is ready to be written back. Another thing with the codebox agent is that it lets the agent run unit tests (even inside a docker compose environment, if you want integration tests); so in some cases it can be fire-and-forget.
by pizza | 2025-05-08 05:38:19+00:00
If you want a hard problem that's far from predictable with tangible utility, why don't you work on something that helps humans with human problems, but whee you can still use your talents? Some research that could help understand a disease, or a new kind of medical technology, or something like that. I don't know how well it aligns with your salary goals but it might be meaningful.
by pabs3 | 2025-05-08 05:38:44+00:00
The GPLv3 does not stop what Tivo actually did, and both GPLv2 and GPLv3 do stop what became known as Tivoization (preventing modification).

What Tivo actually did was break their proprietary software when you modified the GPL parts of the system.

Some related links:

https://sfconservancy.org/blog/2021/mar/25/install-gplv2/ https://sfconservancy.org/blog/2021/jul/23/tivoization-and-t... https://events19.linuxfoundation.org/wp-content/uploads/2017...
by pjmlp | 2025-05-08 05:38:49+00:00
It isn't the safety or lack thereof, rather really adding another toolchain, development and debugging complexity.

Lets say I am doing something with V8, CLR, JVM, GCC, LLVM, CUDA, Metal, outside the managed languages that sit on top of those runtimes, compiler toolchains, GPGPU.

That infrastructure code is written in C++, and making use of Rust means adding yet another layer on how to compile, interop and debug, on top of what is already there.

As for safety in general, I am a believer of systems programming languages with automatic memory management, and polyglot programming, we aren't yet there because industry has the tendency to take decades to finally adopt good ideas, and only on a partial way.

Thus while I appreciate what Rust has achieved bringing affine types into mainstream, not an easy job, I consider this a transition step until we get both approaches in the same language, automatic resource management with affine,linear,effects,dependent types.

However this ultimately won't matter as much, when we eventually get our AI buddies good enough that they can spew executables directly.
by ddulaney | 2025-05-08 05:39:16+00:00
Yeah, exactly. If you're a developer, it can take a little bit to figure out that "docs like code" is a really strange concept to lots of non-developers.

The idea of using the same tools to manage your docs as you manage your code only makes sense if you understand what tools you use to manage code! If you don't -- if your main experience with documentation tooling is Word, or maybe MadCap stuff -- that's a really huge leap to make.
by CJefferson | 2025-05-08 05:39:17+00:00
The problem is 'undefined behaviour' is far too powerful.

Why not make division by zero implementation defined. I'm happy with my compiler telling me my program will get terminated if I divide by zero, no problem. Let's even say it "may" be terminated (because maybe the division is optimised out if we don't actually need to calculate it, fine).

My problem is that UB let's compilers do all kinds of weird things, like assume if I write:

int dividebyzero = 0; if(y == 0) { dividebyzero = 1; } z=x/y;

Then set dividebyzero to always be 0, because 'obviously' y can't be 0, because then I would invoke undefined behaviour.

Also, for two-complement, it's fairly common people want wrapping behaviour. Also, I don't think basically anyone is using C++ on non-twos complement CPUs (both gcc and clang don't support it), and even if it does run on such CPUs, why not still require a well-defined behaviour, in the same way C++ runs on 32-bit and 64-bit systems, but we don't say asking for the size of a pointer is undefined behaviour -- everyone just defines what it is on their system!
by atmosx | 2025-05-08 05:40:15+00:00
> I handle deploy time dynamic variables with `sed`

I brought up envsubst because it’s a simpler, cleaner, and often overlooked option for variable substitution.

> Not that I haven't had the need, I've use jsonnet with libk8s at scale. But if you're asking the question this simply, you probably don't need it

In my view, Jsonnet isn’t an improvement - it’s complicated to learn, cumbersome to use, and prone to mistakes.

That said, if an organization decides to adopt any specific tool, I believe consistency in tooling, design, and practices is more important than the tool itself.
by SeanAnderson | 2025-05-08 05:40:36+00:00
I'm a staff software engineer doing a mix of front-end and back-end with emphasis on front-end.

I use both Cursor on Claude 3.7 and ChatGPT on 4o/o3. Cursor seems kind of "dumb" compared to 4o, but it's a good workhorse.

I let Cursor handle the basics - basically acting as a glorified multi-file autocomplete. I think through common problems with 4o, tough problems with o3, I copy all of Svelte's docs into 4o (https://svelte-llm.khromov.se/) to get good Svelte 5-focused feedback, I have 4o code-review what Cursor writes from time to time, I have 4o, sometimes o3, generate "precise" prompts that I'll give to Cursor when me talking off-the-cuff to Cursor doesn't get good results after a few attempts.

I don't consider myself an expert in these areas yet so I might be misusing Cursor, or not making enough use of its rules system, or something. I feel like I get good value for my ChatGPT subscription. I don't feel like I get good value for my Cursor subscription, but I also still feel like keeping it because $20 to type a lot less is still pretty nice. I would be upset if I only had a Cursor subscription and no access to ChatGPT. I am pretty hesitant to pay for AI à la carte. I feel much better about working within the limitations of a known subscription cost.
by lmm | 2025-05-08 05:41:05+00:00
> Yea so you have to add the compiled queries to your back-end to be able to get them on prod, which is what you came out swinging against with a somewhat strongly worded to level comment berating people who choose to not use graphql for having to deal with.

What are you talking about?

The build process takes the queries the frontend wants to use, compiles them, and includes them in the backend build. There is no manual step, you don't even change a single line of code or config on the backend, much less write a new endpoint. As far as I'm aware this is the completely normal way to use graphql.
by thorGaze | 2025-05-08 05:41:13+00:00
Location: India Remote: Yes

Willing to relocate: No

Technologies: React Native, Android (Java/Kotlin), TypeScript, full-stack web development

Résumé/CV: https://rizvan.work

Email: rizvan.g.h@gmail.com

Mobile & Full Stack Engineer with 12 years of experience specializing in high-quality mobile applications and cross-platform solutions. Strong focus on performance optimization, clean architecture, and complex state management.
by TheDong | 2025-05-08 05:41:15+00:00
Even with a public ledger, it's harder to trace than, for example, forcing someone to wire the cash via the traditional banking system.

With banking systems, each bank account has a unique address (private, but they'll cooperate with the government and police easily, and are experienced doing so), and that address is associated with a real person... and it operates slowly, which means the police can easily catch up to transactions. A transaction that crosses country boundaries has more scrutiny and takes longer, giving the police even more time and information.

Crypto has public unique addresses (public keys), but there's no requirement any of them have names associated with them, and most don't. It operates more quickly than large bank wires, and easily crosses international borders.

I'm not a fan of crypto, but even with public ledgers, it's less traceable and more anonymous than normal banks of most (all?) countries.
by thorGaze | 2025-05-08 05:41:44+00:00
Location: India Remote: Yes

Willing to relocate: No

Technologies: React Native, Android (Java/Kotlin), TypeScript, full-stack web development

Résumé/CV: https://rizvan.work

Email: rizvan.g.h@gmail.com

Mobile & Full Stack Engineer with 12 years of experience specializing in high-quality mobile applications and cross-platform solutions. Strong focus on performance optimization, clean architecture, and complex state management.
by Aurornis | 2025-05-08 05:42:12+00:00
> The issue with Copilot is that it's not as smart as the "thinking" chat apps.

Upgrade to a paid plan and you can use many of the same “thinking” models.

Honestly, your entire question is best answered by signing up for a free trial of one of these tools and using it. Not the free tier, a trial or a paid plan.

Copy and pasting into another app is extremely inefficient. You really need to try a tool that integrates your model of choice into the editor.
by paradite | 2025-05-08 05:42:54+00:00
I built a tool that helps with copy pasting code into chat UI called 16x Prompt.

https://prompt.16x.engineer/

It is used by quite a lot of people. So the problem is definitely there.

The app supports API integration as well. From usage stats, still there are more people using the copy pasting flow instead of API flow.

I suspect it is because people are already have a subscription so they can basically use that for free, versus via API where they have to pay.

With that said, Cursor's $20/month unlimited usage is really too good to miss. I will wait for it to end soon.
by pjmlp | 2025-05-08 05:43:05+00:00
Kind of, compatible with C89 as language, and with C23 to the extent of library functions that can be written in that subset, or with C++ features.

And yes, being a "Typescript for C" born at the same place as UNIX and C, is both what fostered its adoption, among compiler and OS vendors, and also what brings some pains trying to herd cats to write safe code.
by pabs3 | 2025-05-08 05:43:26+00:00
The AGPLv3 is pretty easy for the corporations to comply with, they just have to either use the unmodified code, or give their users access to the modified code. The money will still go to them even with AGPLv3.

You have to go to non-FOSS licenses if you want to change where the money goes, but even that won't help, because if you get popular enough they will just use their giant amount of devs to re-implement your stuff and then beat you at marketing.
by xixixao | 2025-05-08 05:43:49+00:00
Cursor has a free trial. Give it a try. AI is kinda personal, lots of people benefit, lots of people dislike it for many valid reasons.

VS Code is very quickly catching up to Cursor as well (added tab-driven completions).

Also you don’t have to be right on the edge of things. You can be, or you can wait for the dust to settle. Claude Code / OpenAI Codex and the agent modes are probably the edge now.

Also if you’re still using a terminal (who isn’t), try Warp. It’s improved a ton over the last year, support more niche shells like Fish now. It’s actually a really “fluid” AI chat integration, because it smartly figures out when what you’re typing is not a command but a prompt. (It’s probably also on the edge, I haven’t figured out how to tell it “you’re wrong” when it asks for a permission for example, I have to “cancel” the chat).
by pella | 2025-05-08 05:44:27+00:00
Often the key is setting up an "executable documentation" environment.

For example, "executable documentation" lets you run automated tests on your markdown files, keeping content fresh.

some links:

- https://github.com/MicrosoftDocs/executable-docs

- https://simonwillison.net/2018/Jul/28/documentation-unit-tes...
by mrorigo | 2025-05-08 05:45:06+00:00
omg. "the entire AI panel being an editable area" is the KILLER feature for me! I have complete control, use my vim keys, switch models at will and life is awesome.

What I don't like in the last update is that they removed the multi-tabs in the assistant. Previously I could have multiple conversations going and switch easily, but now I can only do one thing at a time :(

Haven't tried the assistant2 much, mostly because I'm so comfy with my current setup
Show HN: AI tool to turn articles into social media posts
by howardV | 2025-05-08 05:45:07+00:00
Hi HN, I'm working on an AI tool to help content creators and marketers stop wasting time turning articles and blog posts into social media content. If you've ever written a long piece and dreaded manually adapting it for Twitter, Facebook, and LinkedIn, you know the pain.

The idea is to use AI to understand the core of your article and then generate relevant, platform-optimized social media snippets automatically. Just paste the URL or text, select your platforms, and get ready-to-post content.

Today, I'm showing the landing page for this concept. I'm looking to see if this is a problem enough people care about and to gather interest for early access or a waitlist. Your feedback on the idea itself is also incredibly valuable.

The goal is to save creators hours each week, increase their social media presence, and make content distribution effortless.

Check out the landing page here: https://www.quickpostai.online/

I'd really appreciate any feedback on the problem itself, the proposed solution, or the landing page message. Does this resonate with you? What features would be essential? Thanks for taking a look!
by themanmaran | 2025-05-08 05:45:18+00:00
The user patterns are a bit different in each case. When I'm copy-pasting from GPT, I'm forced to define the problem better and be specific on the output I'm looking for.

Compared to Cursor with full codebase context where I can get away with less, so I typically fall back to the lazy prompting patterns of "not like that, do better". Which likely eats up more time than had I prompted well to begin with.
by osigurdson | 2025-05-08 05:45:18+00:00
I use Windsurf. I thought I could potentially cancel my ChatGPT subscription after a while but now concluding that that likely isn't possible. Windsurf is good for some things, but can take a lot of prompting and honestly does a lot of dumb stuff. It is also very slow. It can sometimes arrive at a solution faster than you can when very tired but most of the time I feel like I am just being lazy.

That being said, it is worth the price as it can be helpful sometimes. I pay $15 per month and haven't gone over the token limit yet. ChatGPT is still fundamentally more useful however.
by vasco | 2025-05-08 05:47:12+00:00
So should we all be farming and collecting berries? Most advancements since have put people out of jobs in "competitors" that didn't adapt. Still the unemployment rate isn't 99.9%. Yet we displaced whole industries many times over the centuries. Obviously people move to better jobs and find other things to do. There's nothing particularly good about sitting on a computer denying people insurance all day, why not have a computer do it?
by Pinus | 2025-05-08 05:51:00+00:00
It’s been more than 30 years since I took a (very basic) course in logic programming in general and Prolog in particular, so I can’t read the level of sarcasm in the text, but: Surely, when a course places various artificial limitations on programming, like “hands off the standard library”, the reason is that they are not trying to teach you to be productive Prolog (or whatever language) programmers, they are trying to teach you basic principles, and truly internalizing those principles often (not for everyone!) requires swimming around in them for a while. In Lisp, you are not just supposed to know that you can write a tail-recursive function for something, you are supposed to have done it so many times that you can do it almost without thinking. In calculus, you are not supposed to look up the derivative of arcsin in a table, you are supposed to feel it, so that to immediately see that that subsituting t=sin(x) makes that integral much nicer. They are not training you to use the standard library, they are training you to write it.

Admittedly, teachers sometimes seem to lose track of this and assign busywork exercises for no good reason.
by nico | 2025-05-08 05:53:23+00:00
Related to this. ChatGPT, a lot of times provides “bare” diffs (ie. not complete unified diffs - they lack proper headers and line numbers)

They are a pain to apply manually. I’ve tried several visual studio code extensions that apply patches from clipboard or provide an input for it, even saving them to a file and running command line tools - but they all fail

Anyone has a good system, extension or application to easily copy these diffs from ChatGPT and apply them to the code on visual studio (or some other editor)?
by pabs3 | 2025-05-08 05:53:41+00:00
There are some potential scenarios where they aren't necessarily equivalent:

Your users don't know what source code is.

Your users don't bother to look at what they downloaded to find the code therein.

Your users aren't developers and they don't know any devs, so having the source isn't useful to them, so even if they see the code they won't redistribute.

Your users find the code a competitive advantage and don't want to spread that around. Its also too expensive for most organisations to obtain the code too.

You deliver binary and source, but then disincentivise redistribution by cutting off access to something else, like updates. This is what grsecurity and RedHat do. There was one leak of grsec, but that quickly became obsolete.
by throwaway17_17 | 2025-05-08 05:54:12+00:00
Can you either give some additional details on the code patterns you’re talking about, or link to some ‘typical’ examples? I do appreciate the flexibility of being able to just write code and not particularly be overly sensitive to jumping through typing hoops, but I can’t think of any place I’ve actually used algorithms or specific code patterns that rely on untyped-ness to actually work at run time. I’d be very interested in trying to work through what is actually required to consider these code patterns as well-typed.
by raymondgh | 2025-05-08 05:54:58+00:00
I tried to vibe code a web app with windsurf and found it appeared to do really well in the beginning. But I had to harsh the vibes in two types of scenarios it couldn’t understand or solve on its own: performance and css animation.

When I copy paste via ChatGPT I direct the model on what to do and retain responsibility and understanding of all code getting saved.

I do really like Cascade in windsurf because it does a decent job of parsing the entire codebase and finding the spot to make changes. But I think I’ll probably be most successful combining my approaches and using Cascade at a coding level not a “vibe” level