MurphyA/hacker-news huggingface dataset:
by FeRDNYC | 2025-04-19 03:46:36+00:00
> Don't be fooled, somebody else will benefit from your work.

It's either hilarious or depressing to me that you say that like it's a BAD thing, when the entire point of open-sourcing code is so that EVERYONE benefits from your work. Just as I've benefited from countless open-source codebases over the decades.

Is it possible someone will use my open-source code in a product that makes them a lot of money? Of course.

Is that a bad thing? Why would it be?

Does it mean they owe me a cut of the profits? Of course not. I didn't have anything to do with their product.

And I'm 50 years old and have been coding since my teens, so save your predictions that I just haven't woken up to reality yet. Not everyone is a libertarian cynic.
by amluto | 2025-04-19 03:47:24+00:00
If you are planning to sign your data structures, IMO your first choice should be to sign byte strings: be explicit that the thing that is signed is a specific string of bytes (which cryptographic protocol people love to call octets). Anything interpreting the signed data needs to start with those bytes and interpret them — do NOT assume that, just because you have some data structure that you think serializes to those bytes, then that data structure is authentic.

Many, many cryptographic disasters would have been avoided by following the advice above.
by alganet | 2025-04-19 03:48:13+00:00
Most people here, unless researchers actually browse HN (unlikely, that would be a dumb move), are equivalent to notepad bleeding edge users in regards to LLMs.

If you don't train LLMs, you are just an user. I am sorry, that is the reality and it is cruel (for now).

If "prompt engineering" becomes a thing, it means the tech is less impressive than it declares itself to be.

It should be a natural language based interface. I will trust it and learn natural language instead, worst thing that can happen is I learn to communicate better (actually a good thing).

Take it away, leave it. Does it really matter in the context I presented?
by miles | 2025-04-19 03:48:23+00:00
"I said ... that there was enough suffering in one narrow London lane to show that God did not love man, and that wherever there was any sorrow, though but that of a child, in some little garden weeping over a fault that it had or had not committed, the whole face of creation was completely marred. I was entirely wrong. . . . Now it seems to me that love of some kind is the only possible explanation of the extraordinary amount of suffering that there is in the world. I cannot conceive of any other explanation. I am convinced that there is no other, and that if the world has indeed, as I have said, been built of sorrow, it has been built by the hands of love, because in no other way could the soul of man, for whom the world was made, reach the full stature of its perfection."

—Oscar Wilde, De Profundis
by lwo32k | 2025-04-19 03:48:33+00:00
They don't/can't believe they are incompetent, which adds another dimension to the entire story.

"One must beware of anyone who is both stupid and hardworking; he must not be entrusted with any responsibility because he will always only cause damage" - Hammerstein-Equord

So how to deal with such people? Society hasn't come up with any great answer so far.
by mdaniel | 2025-04-19 03:49:20+00:00
I haven't used Sentry's obserability portions, but the error capture has very strong deduplication built into it, and can optionally integrate with your SCM, CI, and issue tracker, if one wishes. Thus, the flow can go like:

- error happens, can be attributed to release 1.2.3

- every subsequent time that error happens to a different user, it can track who was affected by it, without opening a new error report

- your project can opt-in to accepting end-user feedback on error: "please tell us what you were doing when this exploded, or feel free to rant and rave, we read them all"

- it knows from the stack trace that the error is in src/kaboom/onoz.py line 55

- onoz.py:55 was last changed by claude@example.com last week, in PR #666

- sentry can comment upon said PR to advise the reviewers of the bad outcome

- sentry can create a Jira with the relevant details

- claude.manager@example.com can mark the bug as "fixed in the next release", which will cause sentry to suppress chirping about it until it sees a release 1.2.4

- if it happens again it will re-open the prior error report, marking it as a regression

Unless you know something I don't, Grafana does *ABSOLUTELY NONE* of that
by jjtheblunt | 2025-04-19 03:50:22+00:00
Well said, and apologies for assuming you’d phrased using ai. Looks like we’re describing near overlap, and i suspect i know more independently voting people than the maga sorts you have seen. The large number of independents i know voted against the race-baiting tactics shown by Obama in chastising minorities if not voting as he deemed appropriate, and similarly with Hillary. Anyway none ever mention race of candidates, but voted for the candidates not mentioning race at all. I hope you see the distinction because i found that interesting.
by londons_explore | 2025-04-19 03:50:37+00:00
It's possible something could be done about that with air curtains, PVC strip curtains, etc.

Climate control energy varies widely depending on geography - and appropriate door energy saving approaches will probably depend on where the bus operates, and possibly even the season (ie. winter doors swapped for summer doors), or extra batteries added in summer/winter to account for the extra energy use.
by miles | 2025-04-19 03:50:59+00:00
"[E]verything can be taken from a man but one thing: the last of the human freedoms—to choose one's attitude in any given set of circumstances, to choose one's own way."

—Viktor Frankl, Man's Search for Meaning

"Each one has to find his peace from within. And peace to be real must be unaffected by outside circumstances."

—Mahatma Gandhi, A Cry from Germany
by owebmaster | 2025-04-19 03:52:35+00:00
> And I'm 50 years old and have been coding since my teens, so save your predictions that I just haven't woken up to reality yet. Not everyone is a libertarian cynic.

Not everybody is a 50 years old cynic, too. Young people need to make money and the coding gigs aren't looking as promising as when you were in your teens.

Working for free (even worse, for the benefit of VC-funded companies) is not in the best interest of most software engineers nowadays, unfortunately.
by hnhn34 | 2025-04-19 03:54:16+00:00
I'm Puerto Rican and this hurt to read because I wish the noise problem was limited to beaches. Multiple cases of noisy, inconsiderate neighbors (in different apartments and cities) drove me insane, to the point where I left and don't plan on ever coming back. The way it affected my sleep during my formative years probably did irreparable damage.

Feeling like you don't belong in your own country is maddening and difficult to accept.
by halayli | 2025-04-19 03:55:44+00:00
It's a bit dishonest imho to quote out of context. Here's the full quotation:

> Joy also claims that most of vi's popularity came from the fact that it was readily available and bundled with BSD, while other editors, like Emacs, could cost hundreds of dollars.

Joy was referring to the late 1970s early 80s here and in the context of making VI available when he created BSD and published it for free. Unix operating systems were not freely available outside academia back then.
by mdaniel | 2025-04-19 03:55:50+00:00
Heh, saying that in a thread about self hosting Sentry is pretty funny :-)

---

IMHO, the RUM tooling[1] is the worst offender, tracking mouse movement and keystrokes. At least Sentry is usually just trying to report JS kabooms

1: https://docs.datadoghq.com/real_user_monitoring/session_repl... and https://docs.newrelic.com/docs/browser/browser-monitoring/br... et al
by harimau777 | 2025-04-19 03:56:35+00:00
I don't think that actually changes anything. Lets suppose that we can measure qualification on a 100 point scale.

Lets say that there are 5 people in a minority group with a qualification of 100 and 9 people in the non-minority group with a qualification of 100. If 1 person from the minority group gets hired and 13 people from the non-minority group get hired, then a 5 person minority group quota would result in an increase in the qualifications of the people hired.

Of course in reality is more complicated since companies don't always hire only the absolutely most qualified people in a given group and it's not easy to even define objectively who is the most qualified. However, that doesn't matter to the point that I'm making which is that even a quota (which again most proponents of DEI don't want) doesn't necessarily result in hiring less qualified candidates.
by AStonesThrow | 2025-04-19 03:58:34+00:00
Who commands the police officer to do things? Is it his/her superior, or the judge directly?

If there is a chain of command in any police department or Sheriff's Office, then the judge is not going to jump that chain and interpose herself in giving orders to a lowest-level officer who is on-the-ground and doing things.

The order's going to go to the office of their commander, who's going to evaluate it, and then it'll go through proper channels, so by the time your hypthetical "Police Officer in Summary Execution of 40 Innocent Consumers" then the order's been interdicted or validated as totally within the law as they interpret it?
by nradov | 2025-04-19 03:58:46+00:00
Do you have a citation for that? I'm not saying it's necessarily wrong, or that employers couldn't do better with writing job postings. But I've found that a lot of corporate training content is total BS, often based on a single low-quality study that was never reproduced. When the results seem "truthy", people tend to believe without being sufficiently critical.
by londons_explore | 2025-04-19 03:59:44+00:00
Imagine a nation state started doing this. Lets imagine the Netherlands because they realise that it is worth it for them alone when so much of their land is at sea level. They hope to reduce worldwide temps by 1.75C (to pre industrial levels) within a year or so, which would immediately halt sea level rise.

I think other nations will demand they stop - with threats of sanctions - simply because there are other nations who now depend on the higher temperatures and increased agricultural output.
by nebula8804 | 2025-04-19 04:02:13+00:00
Forget about the cost. Do you take public rail? I used to and even if the trains get 1000% better the people are still the same: talking loud, no respect for others, just all in their own bubbles.

This is the polar opposite of Europe. I've taken even the run down ugly german trains that they still run on irregular routes and even though the trains are antiquated, they make sense and get the job done. People are respectful even if the train is packed. I wouldn't want to go back to trains in America other than for sparse occasional trips.

I often look at maps like this and think maybe that would be amazing: https://i.imgur.com/srMhE1X.png

But then i'd probably just take an airplane for most trips because 1-2 hrs of leg cramps with a typically quiet passenger crew is better then a misbehaved train carriage.

Fixing the trains is not fixing the society. The trains are probably broken because the society is broken.
by harimau777 | 2025-04-19 04:03:56+00:00
I don't think it is necessarily that simple. A pickup truck, a few tools, and enough time or savings to spend starting a business is a lot more than many people have. Then there's survivor bias; while it may have worked out for them, how many people did it not work out for. Finally, there's the issue that not everyone can be an entrepreneur. Someone has to actually work at the various businesses that exist and are being created.
by matheusmoreira | 2025-04-19 04:03:56+00:00
Pull requests should not be normalized. The guy in charge of the code base has complete knowledge of it and can always do a better job than randoms making ad hoc changes to quick fix their own problems. Complaining about bugs and missing features is much easier. It's less of a headache and requires less effort and time investment.

Truth is developers don't want to end up maintaining other people's code anyways. It's gotten to the point I roll my eyes whenever I see people saying "patches welcome". Chances are they're not as welcome as you would think. "Show us the code", and when you do... Nothing. Submitting a pull request is no guarantee that they'll accept it. Hell it's no guarantee they'll even give you the time of day. You can put in a whole lot of effort and still end up getting refused or even straight up ignored.

Even if it's an unambiguous improvement on the status quo. They'll commit code that literally returns "not implemented" directly to master and actually ship it out to users. Your pull request will certainly be held to much higher standards though. And that's if they engage with you in an attempt to get your patches merged. They might just decide to ignore your patch and redo all the work themselves, which is exactly what all the complainers wanted them to do in the first place! If they're really nice they'll even credit you in the commit message!

If you're gonna put in effort into someone else's project, just fork it straight up and make it your own project. Don't waste time with upstream. Don't wait for their blessing. Just start making your own version better for you. Don't even submit it back, they can pull it themselves if they want to.
by mdaniel | 2025-04-19 04:04:21+00:00
I didn't downvote you but as one metric their docker-compose is 500 lines long https://github.com/getsentry/self-hosted/blob/25.4.0/docker-... as compared to back in the good-old days when it was basically python, redis, and postgres https://github.com/getsentry/self-hosted/blob/9.1.2/docker-c...
by zffr | 2025-04-19 04:04:37+00:00
The read me says this approach is extremely maintainable, but I’m not sure I agree.

The design pattern is based on convention only. This means that a developer is free to stray from the convention whenever they want. In a complex app that many developers work on concurrently, it is very likely that at least one of them will stray from the convention at some point.

In comparison, a class based UI framework like UIKit on iOS forces all developers to stick to using a standard set of APIs to customize views. IMO this makes code way more predictable and this also makes it much more maintainable.
by GregDavidson | 2025-04-19 04:05:23+00:00
The UCSD "Computer Scientists" were a small group of undergraduates working in Ken Bowles' lab. We were supposedly following Professor Bowles' directions but he was a fairly conservative physicist and we had lots of radical ideas - fortunately he was tolerant. The p-code was not just machine independent - by careful design it was approximately 1/4 the size of native code on those early 8 and 16-bit microprocessors, allowing us to effectively almost quadruple the amount of code we could fit in 64K - minus the interpreter which was 8K of machine code and minus another 8K on PDP-11s for I/O space. We would also use native code for hotspots without appreciably expanding code size. This key idea is what allowed us to have a high-level OS and development environment on those dinky machines when everyone else was compromising quality to get things to fit. Alas, CopyLeft had not yet been invented, the UC sold the P-System and we lost legal access to the code we'd written.
by SulphurCrested | 2025-04-19 04:09:01+00:00
We had TECO on our DEC VAXes running VMS in the early-mid 1980s. It had a ”VT52” mode (as you say, a macro), and at least one of the terminals on my desk supported those escape sequences. Wikipedia says the VT52 terminal was made from 1975 to 1978, so those macros were probably fairly early. By this stage, TECO distribution was fragmented with various incompatible versions around, so probably some lacked that macro or other full-screen macros.

Although I had a terminal which could run TECO full screen, I found that too slow and just used it in line mode. You could conveniently reprint surrounding lines by adding a few characters to the end of a commmand (I still have HT <ESC> <ESC> burned into my brain.) The VT52 macro had you typing commands into line 24 like an emacs minibuffer.

I never used it for all my editing, but it excelled at certain things.

The version of TECO we had was the one which shipped with VMS. At some point later on, I think, DEC stopped shipping it, and we migrated to a TECO-inspired full-screen editor developed by another university. Once that arrived, we hard-core TECO users, all 4 of us, were won over within a week.
by netghost | 2025-04-19 04:10:33+00:00
Convention works when the culture is there, but I think you're right a dash of typescript and a class or interface definition could go a long ways.

I think the maintainability comes from easy debugging. Stack traces are sensible and the code is straightforward. Look at a React stack trace and nothing in the trace will tell you much about _your_ code.

I'd also point out that this looks like it's about seven years old. We've shifted a lot of norms in that time.
by liamwire | 2025-04-19 04:11:50+00:00
I’m not sure about your interpretation of the events.

From the transcript:

> (Model, thinking): Could also be Lake Zug, considering the architecture. The user mentioned they were in Switzerland for postgrad, so it could be a familiar place.

> (Model, thinking): (Goes onto analyse the EXIF data)

To me, this reads as a genuine, vision-based guess, augmented with memory of your other chats, that was then confirmed with the EXIF data. Seems to me that the model then confirms it did so, not that it skipped straight to checking the metadata and lying about it as you accuse.
by atum47 | 2025-04-19 04:11:53+00:00
On my first official job after college I was working on making a web version of a Delphi software. The team was already on their third rewrite of the front end cause they had to change frameworks. I made the cass that we should write our own framework, so I prototyped FOS (the components I use on my website) to prove my point. The team (a bunch of mostly Delphi programmers) did not like my suggestion. Anyways, soon after that another company made me a better offer so I left. Years went by an I finally take a shot at another framework: tiny.js [1]. I've been using it in all my personal projects so far. I'm particular proud of the ColorPicker [2] component I wrote that I've used in two projects so far. As you can see, one can argue that tiny.js it's not a framework at all, just some wrapper functions that helps you create Functional components.

1 - https://github.com/victorqribeiro/TinyJS

2 - https://github.com/victorqribeiro/Chip8js/blob/master/js/Col...
by roenxi | 2025-04-19 04:12:33+00:00
> but there is nothing to support the idea that every human ailment is curable.

There is; we can conceivably cure everything we know about right now. There isn't a law of nature that says organisms have to live less than centuries and we can start talking seriously about brain-in-jar or consciousness uploading now that we appear to be developing the computing tech to support it.

Everything that exists stops eventually but we're on the cusp of some pretty massive changes here. We're moving from a world with 8 1-in-a-billion people wandering around to one with an arbitrary number of superhuman intelligences. That is going to have a major impact larger than anything we've seen to date. A bunch of science fiction stuff is manifesting in real time.
by ckemere | 2025-04-19 04:13:25+00:00
Hi Dang!

Thanks for the note. I definitely understand your reasoning. I will say that to me (a) finding out that NSF has blocked funding is a new and different point than that DOE has blocked overhead (or that NIH review panels were on hold). And (b) this news would not have reached me as soon if I hadn’t noticed it in the /active front page. And (c) that I come to the discussions partially in hope that I’ll learn more “secret” details about what is happening. (d) I recognize that much of the discussion is repetitive, but mixed in there is useful analysis and even more actual news reporting. (e) I understand that people get overwhelmed by the continued raging and conflate new news with seeming opinion. (f) I recognize that your job is hard but know that I really appreciate HN!
by vegavis | 2025-04-19 04:13:31+00:00
Yeah this only reveals a snapshot of the current situation. The truth is that lithium ion has a few more decades of serious R&D and successfully mass produced commercial products on the market. Hydrogen fuel cells arent as fortunate; they still have a high production cost due to low volume, the supply chain has had a fraction of the investment of ICE and EV, and the regulatory environment is even less clear than EV around the world.

But the reality is our society is well on its way to fracturing the fossil fuel dominated infrastructure supporting us, and it wont just be electric to take a piece of the pie. Buses and other large vehicles like mining vehicles, semis, and many Class A vehicles will transition from their diesel engines to instead fuel cell, and not batteries. Battery technology is far too heavy to support vehicle and payload combinations at this level, and these applications prefer the high power density of fuel cells over the accessibility and storage capability of an EV only architecture. Hydrogen is a quicker refuel, and one can imagine a future where industrial sites and logistics warehouses that already have forklifts running on H2 will see the rest of their large work/fleet vehicles transition over to hydrogen as well.

Unfortunately, this premonition is probably at risk of being a few years off thanks to the current government situation.
by rtpg | 2025-04-19 04:13:44+00:00
I was going to write something glib about getting things fixed but that thread looks gnarly!

To be honest I know so many people who use Pydantic and so many people who seem to get stuck because of Pydantic 2. I’m glad I have minimal exposure to that lib, personally.

I suppose the biggest issue really is type annotation usage by libs being intractable
by rk06 | 2025-04-19 04:14:09+00:00
I am told that in Visual Studio 2008, you could debug line by line, and it was smooth. Like there was zero lag. Then Microsoft rewrite VS from c++ into c# and it became much slower

Modern software is indeed slow especially when you consider how fast modern hardware is.

If you want to feel the difference, try highly optimised software against a popular one. For eg: linux vs windows, windows explorer vs filepilot, zed vs vscode.
by cedws | 2025-04-19 04:16:29+00:00
Would you consider writing some blog posts or other resources about WASM? I was experimenting recently with WIT, and ran into a mountain of issues. There's a lot of jargon that could do with some untangling.

It took me a lot longer than it should have to put together this basic module, and even then there's this shared library I had to download to build it, and I couldn't figure out why this requires a libc:

https://github.com/cedws/wasm-wit-test
by harimau777 | 2025-04-19 04:17:22+00:00
The problem as I see it is that hiring the most qualified person for the job often requires DEI. That's because one of the primary goals of DEI programs is to attempt to ensure that people in different groups have the opportunity to demonstrate that they are qualified. That could take the form of trying to account for differences in how groups communicate their qualifications (e.g. certain neurodivergent people are likely to struggle processes that put excessive weight on ability to make small talk), trying to account for differences in access to opportunities to demonstrate qualifications (e.g. by sending recruiters to historically black colleges), trying to account for alternative was that people might be qualified (e.g. by trying to recognize how someone with technical experience form the military might be qualified even without a degree), or trying to avoid recruitment practices that are likely to favor people in the same group as the interviewer (e.g. being careful of basing hiring on "culture fit").