MurphyA/hacker-news huggingface dataset:
by hirvi74 | 2025-05-02 19:32:29+00:00
> Poetry is the art of giving different names to the same thing.

Did Robert Frost say something like, "all language is poetry?" A chair is the term I learned to describe the object I am currently sitting on while typing this comment. Germans might call the same object a 'Stuhl', the French might call it a 'chaise', etc.. My point being that the object isn't technically any of those words, but rather those words symbolically map to that object.
by shikaan | 2025-05-02 19:32:50+00:00
Hey, thanks for your interest in this project!

3. The tty interrupt advances the cursor along with printing. So, once again, I do it to save on some instructions. In the first iterations I wanted to retain more control (by printing and moving as separate operations) so that I could reuse this across the board, but eventually I ran out of space.

4. I am relying heavily on BIOS interrupts, which are criminally underdocumented. The most reliable source is Ralph Brown's documentation[1] which is very far from what I was expecting to be authoritative documentation. Turns out this collection is really good and basically _the_ source of truth for BIOS interrupts.

To answer your question, yes, this is basically calling the BIOS API.

[1]: https://wiki.osdev.org/Ralf_Brown's_Interrupt_List
by tjohns | 2025-05-02 19:32:53+00:00
All the court is asking the lawyer to do is to re-file without the distracting formatting. It's not like they're throwing the entire case out. It'll still get read.

It's also worth noting that the local rules for just about every court prescribe document formatting - so it's not like any of this should come as a surprise to the attorney.

Putting this another way: If a professor tells you to submit an essay in 12 pt Times New Roman, and you turn it in using 16 pt Comic Sans - it's entirely within the professor's right to say the formatting is so distracting that it makes their job difficult and ask you to print out a revised version before they'll grade it.
by daxfohl | 2025-05-02 19:33:31+00:00
Cool that we're still seeing perf improvements after all these years! I'm confused by some of the details in the example. Like, would we see similar 8x improvement in a simpler example like a string hashset lookup? Is there something special about MethodHandle or immutable maps here that accentuates the improvement?

> Computing the hash code of the String “malloc” (which is always -1081483544)

Makes sense. Very cool.

> Probing the immutable Map (i.e., compute the internal array index which is always the same for the malloc hashcode)

How would this work? "Compute" seems like something that would be unaffected by the new attribute. Unless it's stably memoizing, but then I don't quite see what it would be memoizing here: it's already a hash map.

> Retrieving the associated MethodHandle (which always resides on said computed index)

Has this changed? Returning the value in a hash map once you've identified the index has always been zero overhead, no?

> Resolving the actual native call (which is always the native malloc() call)

Was this previously "lazyinit" also? If so, makes sense, though would be nice if this was explained in the article.
by smrq | 2025-05-02 19:33:49+00:00
Forcing a single opinionated tab width is an accessibility issue -- a real one, not a weird heuristic that boils down to "tab fans can't format". I've read multiple accounts from people who need either very small tab widths (to accommodate unusually large font sizes for eyesight reasons without cascading off the side of the screen), or very large tab widths (to accommodate difficulty in seeing indentation differences, again for eyesight reasons).
by growse | 2025-05-02 19:33:54+00:00
> Can we start at "humans are not computers", maybe?

Sure. So it stands to reason that "computers" are not bound by human laws. So an LLM that finds a piece of copyright data out there on the internet, downloads it, and republishes it has not broken any law? It certainly can't be prosecuted.

My original point was that copyright protections are about (amongst other things) protecting distribution and derivative works rights. I'm not seeing a coherent argument that feeding a copyrighted work (that you obtained legally) into a machine is breaching anyone's copyright.
by fc417fc802 | 2025-05-02 19:34:00+00:00
It would still be standardized. Anyone who wanted to support it would. Those who didn't want to support it wouldn't be burdened. And it could then evolve on its own, gaining variants for layering it on additional underlying protocols.

It's basic separation of responsibilities. It's helpful for reuse but also innovation. For example, the auth scheme baked in to HTTP is pretty much stuck in time and not very useful. We'd likely be better off if it wasn't tightly coupled to something unrelated like that. If I were implementing an HTTP stack I'd want to omit it, but that would make me noncompliant.
by PaulDavisThe1st | 2025-05-02 19:35:25+00:00
The point of (correctly done) proof-of-work is not to require Turing-level impersonation. It is to create a cost to a trawler that is going to hit thousands or more of your pages, and almost no cost to a human user.

Problem is, as you've discovered, it can have the cost that anti-fingerprinting browsers can't do the required work.
by kjellsbells | 2025-05-02 19:35:27+00:00
It's funny that this popsci article instantly succeeded in dividing the HN commenters into math/not-math camps. Porque no los dos?

Programming is the manifestation of thought through the medium of a keyboard and screen. If you are a clear thinker, if you can hold multiple things in your head at once, if you can reason about things and their relations, well, you can be a strong programmer.

It seems wholly unremarkable to me that someone new to Python would not be fazed by it, given it's fundamental basis in words (print, if, etc.) Someone with a background in languages, who can think well enough to explicitly or implicitly pick up the structure of the language, is gonna do just fine. "Oh, so when I see a while, I need to end with a colon" isnt so different from "when I shout, I need to add a ! at the end"

(Java gets a special place in hell for forcing "public static void main" on every beginner.)

Math only really comes into it when you want to reason about things that have a history of being manipulated mathematically, typically for reasons of convenience. You could probably invert a matrix in SNOBOL, but its a lot easier to pull out lists and arrays and linear algebra.

In other words, lets see the follow up paper to this where Python newbies are asked to model the trajectory of a bead on a wire and see how they do.
by detaro | 2025-05-02 19:35:51+00:00
Cynical answer: Because they've found with GTA V and other games that this works quite well to get people to buy it multiple times. First for the current console, then for PC, then for next-gen console if you get lucky.

Also while they are technically similar, it's still separate optimizing/QA work, so staggering release makes sense vs waiting until the work is done for all platforms. And maybe it makes the rollout for the online part easier if the easier-to-analyze/-hack PC versions come later.
by gspencley | 2025-05-02 19:37:13+00:00
> Perhaps because Canada has english, a east coast, a west, and the great plains.

There are geographical similarities but I think it is more cultural.

Culturally, Canada and the USA are extremely similar. What a lot of people who don't live in Canada often fail to realize is that the vast, overwhelming majority of our population is concentrated in southern Canada... and that these areas are often even SOUTH OF PARTS OF THE USA in terms of latitude.

For example, Seattle WA lies on roughly the same latitude as Ottawa, ON which is quite north of Toronto. Detroit Michigan borders Windsor, ON (my home town) and Windsor is to the south of Detroit.

When broadcast television and radio were in their prime, we all watched American TV and listened to American radio (and the northern USA got Canadian channels etc).

In border towns like Vancouver and Windsor, it's not uncommon for people to have family on both sides of the border or to even live in one country and hold a day job in another.

A lot of Canadians have winter homes in southern states. Florida is a popular destination for east-coast Canadians and, while I don't know if it has changed, a typical visitor visa for Canadians let us stay for up to 6 months before we have to go back. And a lot of people even hold dual-citizenship.
by somethoughts | 2025-05-02 19:37:35+00:00
Yes - agreed if we had dedicated truck train roads.

The proposal I would prefer is to do more of a time based multiplexing of the road between daytime auto traffic and night time truck train traffic. And I'm not saying autos couldn't drive at night, just people could decide whether they want to trust the autonomous truck software.

As it stands we probably won't get that choice and its just shoved upon us.
by jjmarr | 2025-05-02 19:37:37+00:00
If the author said "Sextilis 2, 216 BCE" you wouldn't know it was late summer.

And BCE didn't exist before Jesus Christ (AD/BC was invented in 525). So the period-accurate translation is "Sextilis 2, the year of consuls Lucius Aemilius Paullus and Gaius Terentius Varro".
by pc86 | 2025-05-02 19:37:39+00:00
Yes but the maxim presupposes the existence of an injured party, and that's a little different in the context of civil claims (e.g. your example of the large corporation bringing a civil suit against someone) compared to the state bringing criminal charges against a person. There are intentional roadblocks to the state bringing charges, e.g. the separation of powers I mentioned above, that don't really exist on the civil side.
by rc00 | 2025-05-02 19:37:43+00:00
> It refutes the idea that the "developer joy is pretty low" either way.

https://deadmoney.gg/news/articles/migrating-away-from-rust

https://loglog.games/blog/leaving-rust-gamedev

https://www.boringcactus.com/2025/04/13/2025-survey-of-rust-...

https://gist.github.com/rtfeldman/77fb430ee57b42f5f2ca973a39...

https://medium.com/@rusty-vibes/part-4-abandoning-rust-for-c...

A pile of evidence refutes your statement. There is more if you need.

> I'm happy to revise what I said from "Rust keeps winning" to "Rust continually won"

"Rust has peaked"
by jeroenhd | 2025-05-02 19:38:06+00:00
If this was a small claims court over a $100 garden fence post being broken, maybe. An annoying distraction, for sure, and unprofessional for someone who's supposed to take your case seriously, but little harm done.

This is about a woman whose entire life hangs in the balance. A higher standard of care and professionalism is expected.

Plus, depending on where you live, judges may decide to hand out punishments for whatever power-tripping reasons they see fit. There have been plenty of videos online of judges handing out sentences to (black) people for not responding in whatever the American version of the Queen's English is. It's an absolutely fucked up system, but when you're operating in such a system, an appropriate amount of fear and respect for the judge is necessary.

You can play games with the court in your own time, but don't risk your clients' lives because you feel compelled to add your stupid mascot to official documents.
by ben_w | 2025-05-02 19:38:59+00:00
Both statements can be simultaneoulsy true.

45% of the US[0] have a degree, about 40% EU[1] graduate, and 54% of China[2] get at least a diploma from university.

The best AI behave like someone fresh out of university without much real world experience.

Personally, I use this as a way to stay humble: when the AI is teaching me fundamentals about some subject, my opinion about it can't possibly be very useful.

[0] https://en.wikipedia.org/wiki/Educational_attainment_in_the_...

[1] https://euranetplus-inside.eu/eu-maps-what-proportion-of-you...

[2] https://en.wikipedia.org/wiki/Higher_education_in_China#Chal...
by registeredcorn | 2025-05-02 19:39:48+00:00
I forget how the phrase goes, but it's something like, "Someone else can do it better than you, but no one will ever care more about what you need than yourself." The point basically being that there are tradeoffs: you are either okay with imperfection, or you have to do it yourself. It appears true, whether it be for software development or home repair.
Ask HN: New role as sole North American dev. Advice?
by polishdude20 | 2025-05-02 19:40:08+00:00
I recently joined a small startup where their main product has and is being built by a dev team in India. The company is based on America and most of the support people, sales, marketing etc are in America.

I've joined as the first American developer to help with tasks during American timezones as well as try to establish best practices and processes as the company grows and takes on bigger clients.

The CEO of the company is very excited I'm on board and listens to me as a professional and respects my judgement. Communication has been a bit rough with the Indian dev team as most of it happens through slack and a minimal amount of guidance is provided. I've opted to basically teach myself the codebase and figure out how stuff is done myself as the dev team rarely answers my questions fully or sufficiently to get a grasp on what is happening.

On one hand I feel empowered by the company to do well and make good changes but on the other, I struggle with the complexity of it all given how a lot of dev processes are basically a black box where lots of stuff on the server is just done manually.

I'm given lots of autonomy by the CEO so I don't feel pressured or stifled too much. every credential to every service they have, they've given to me so I can really learn how everything is done and peek into the systems.

They want to hire a second American dev in Q3 or so and I'd be part of that process. At that point it would be a bit less lonely haha

Anyone have any experience in this situation? Any advice for how I can be the best at my job? On one hand the CEO wants me to tell him if I see practices that should be improved but on the other, I don't want to make the dev team feel like I'm some hotshot coming in to take over their codebase.
by mcdwayne | 2025-05-02 19:40:32+00:00
This was on public GitHub, which anyone can scan for anything. Their API is a firehose you can consume: https://api.github.com/events

GitGuardian's public report on secrets sprawl talks about their methodology of scanning any commit https://www.gitguardian.com/state-of-secrets-sprawl-report-2...
by koolba | 2025-05-02 19:40:39+00:00
If you're going to ascribe intentions to the non-voting public, then sure you can come up with whatever stats you'd like. I don't see how any of that is meaningful. You're just taking your own personal biases and echo chamber, and assuming that the entire non-voting public shares your views.

The only hard facts we have are the actual votes that were cast. And of those he came out on top of in both the electoral college and the popular vote. Any other interpretation is an attempt to weasel out of those undeniable truths.
by byronic | 2025-05-02 19:40:49+00:00
Location: Birmingham, AL Remote: Yes Willing to relocate: No Technologies: Java, Kubernetes, SOC2/HITRUST, Go, Python, Rust, AWS, Azure Résumé/CV: https://github.com.byronic ; https://stackoverflow.com/users/6669735/byron-lagrone ; https://www.linkedin.com/in/byronic/ ; further info available on request Email: byron.lagrone@icloud.com

15+ years shipping software in multiple roles. Looking for challenging dev/devops/project work between 20-60 hours a week for contracting or FTE; don't need insurance benefits; 401k, bonuses, or similar benefits would be a plus.
by daedrdev | 2025-05-02 19:41:04+00:00
This is a high level of bias and generalization about an enormous group of people with varied backgrounds and experiences, not to mention selection bias as you don't know many good coders backgrounds who may in fact be from humanities.

Even if many of the bad coders are those who were in humanities and don't have coding experience because they just entered the field (because once you get it you are no longer a humanities background)
by hylaride | 2025-05-02 19:41:05+00:00
> Genuine question: how much credibility should then people give to Trump's "I inherited this mess from Biden..."?

Pretty much none..except maybe the deficit, but republicans don't exactly deserve a pass on that, either. I mean, just listen to Trump talk. Any "good" news is because of him; any "bad" news is because of Biden. He's a grifter.

The tragedy is that of all the developed countries, the USA had the most growth and lowest inflation under Biden - if anything his administration did pretty darn well, but they just couldn't communicate it or it wasn't good enough to voters. Because monetary inflation tends to take time to work its way through the economy, the COVID pumping and cheques sent out under Trump could arguably be more to blame than anything Biden did (this is arguable either way at this point, though - it takes a lot of time to sift through and understand all the economic data).

Trump has no basic understanding of economics. Unless you want to hoard dollars to sit and do nothing with, you cannot have a trade surplus with every country in the world - and the deficit is only in goods. The USA has service surpluses with most of the world and investment dollars are still coming back into the USA. Trade deficits in durable goods are actually a symptom of wealth.
by WillAdams | 2025-05-02 19:41:12+00:00
Well, Steven Brust's _The Baron of Magister Valley_ is basically TCoMC w/ the names changed and serial numbers filed off in a fantasy setting.

Also, if you haven't read _The Black Count: Glory, Revolution, Betrayal, and the Real Count of Monte Cristo_ by Tom Reiss I'd strongly recommend that:

https://www.goodreads.com/book/show/13330922-the-black-count
by nikisweeting | 2025-05-02 19:41:17+00:00
We loved GSAP and wanted to combine that style of rendering with an event-driven programming model with redux so that we could pass animation events from a backend over a websocket.

Also wanted to keep a bunch of animations on different computers around the world in sync to within ~30ms. Ended up building this library: https://monadical-sas.github.io/redux-time/
by low_tech_love | 2025-05-02 19:41:42+00:00
His business is called “Dragon Lawyers”, his phone number is JAKELAW, his main reason for using is because “people like dragons” and his firm’s goal is to “integrate AI to lower the cost of legal services”. I’m pretty sure this is not the guy pulling his hair off for 12+ hours a day to make sure he is doing it right.
by amiga386 | 2025-05-02 19:41:44+00:00
> Does this only work with Map.of? Would it also work with map.put?

It would be faster but not as blindingly fast. Combined with an immutable map, what it means is that the JVM can directly replace your key with its value, like the map is not even there. Because the key's hashcode won't ever change, and the map won't ever change.

> Does this make string.intern() more valueable?

No, String.intern() does a different job, it's there to save you memory - if you know a string (e.g. an attribute name in an XML document) is used billions of times, and parsed out of a stream, but you know you only want one copy of it and not a billion copies). The downside is that it puts the string into PermGen, which means if you start interning normal strings, you'll run out of memory quickly.
by RiverCrochet | 2025-05-02 19:42:05+00:00
My cousin is a furry, and she has the following the say about it:

'You still use the term furry, really. "Furry" has become an wide umbrella term used for artwork featuring fictional anthropomorphized animals and tends to cover any species - so this would include fur-less animals such as reptiles, amphibians, birds, and even insects.

"Scalie" is used to describe art/characters featuring anthropomorphized reptilies and dragons. Fans of them would still be furries tho.'
by ksec | 2025-05-02 19:42:40+00:00
That is why I believe had Steve been alive the App Store would actually be something like 5-10% rather than 30%. They needed the money then, even in 2011 when he passed away. They really dont need it as much now.

Apple now has more money than they know what to do with it. They have spend close to $800 billion stock buy back in total by the end of this year.

They could have lowered the the margin of Mac and gained Market Shares. Which is something Steve said during NeXT era that Apple got greedy. Focusing too much on margin.
by rollcat | 2025-05-02 19:42:41+00:00
> There is another level of parallelism that could be exploited within a web site/app. And yes we would have to make our planner rate limit aware for that.

People are already deploying tools like Anubis[1] or go-away[2] to cope with the insane load that bots put on their server infrastructure. This is an arms race. In the end, the users lose.

[1]: https://anubis.techaro.lol

[2]: https://git.gammaspectra.live/git/go-away
by JumpCrisscross | 2025-05-02 19:43:05+00:00
> if a human driver is concerned, they can choose not to drive during this period of time

Self-driving cars are currently proving safer than manually-piloted ones. There isn’t a good reason to segregate traffic like this.

> what would stop a few cars passage in front of the truck and helping themselves to the cargo

Why do you think a trucker would risk life or even their truck in a highway robbery?
by Jonovono | 2025-05-02 19:43:16+00:00
It has already replaced therapists, the future is just not evenly distributed yet. There are videos with millions of views on tiktok and comments with hundreds of thousands of likes of teenage girls saying they have gotten more out of 1 week using ChatGPT as a therapist than years of human therapy. Available anytime, cheaper, no judgement, doesn't bring there own baggage, etc.
by sunray2 | 2025-05-02 19:43:25+00:00
Thanks, will hit you up later!

I was using the demo just now: the sounds you get out of this are actually better than I expected! And I see what you meant in the videos about intuitive editing, rather than abstract.

Although, I was often hitting 100% CPU with some presets, with the sound glitching accordingly. So I could experiment only in part. I'm on an M1 Pro; initially I set 128 buffer sample size in Ableton but most presets were glitching, I then set to 2048 just to check for improvement, which it did, nevertheless it does seem a bit high. Maybe my audio settings are incorrect? I can give more info later if it helps you.
by WalterBright | 2025-05-02 19:43:59+00:00
There's not only the features, but how they are done. D users regularly tell me that it is just so much easier to program in D. Aesthetics do matter.

I've pointed out many times that thousands markers in D came from Ada. However, no other language did them until D did.

Yes, Lisp has compile time function execution. Where it remained until D did it with a compiled language.

C++'s implementation of ranges is still based on pointers (an iterator pair), rather than based on arrays as in D. The language loses semantic information because there is no particular thing that connects the iterator pair as being the limits on an array. Basing ranges on arrays enables crucial things like array bounds checking.

Yes, D's contracts are based on Eiffel. But they also went nowhere until D adopted them.