MurphyA/hacker-news huggingface dataset:
by lynndotpy | 2025-05-16 22:33:47+00:00
I think ultimately, we disagree about whether or not it's inevitable that we end up having an economy that can transform sunlight into a perpetual recycling machine. I think that's not inevitable, especially in a scenario where we're left dealing with a climate collapse.

Having 'target display mode' on laptops and whatnot is one way that would save the chips that go into screens, which is why I mentioned it above. I agree that computing in the cloud can also reduce the number of chips used (although that does rely on chips to keep the internet going, etc.)
by throwaway219450 | 2025-05-16 22:34:46+00:00
The difference in the US is that it's (comparably) extremely difficult to change status from a temporary visa to a permanent one. Even if you are highly qualified. For example the most common academic visa, the J1, is explicitly a temporary exchange program and you can't have immigrant intent (on application). Most universities won't give out academic H1Bs even though they're cap-free.

In most European countries, once you're in, you can find a way to stay. One exception I can think of is Switzerland, which can be pretty annoying for temporary visas because they don't count for time accrual.

Austria has a pretty good system (RWR) that lets you job seek and is a pathway to permanent residency as a 3rd country citizen. I think there are similar programs in France and Germany.

For example "very highly qualified" in Austria is satisfied by almost anyone with a STEM degree, being under 35 and (amazingly) being an English speaker. If you have that initial visa, companies can hire you without worrying about sponsorship.

You could also use that as a route to the Blue card I think. I wouldn't say the bar is exactly low, but a lot of mobile people are sufficiently educated and are paid enough. As in, a typical European STEM salary would cover it.

But also the grandparent's comment is out of touch. Of course countries want people who are more skilled than local labor, that's the whole point. Aside from the benefit of attracting talent and higher tax revenue, it's much harder for your voters to argue that immigrants are taking your jobs this way.
by whartung | 2025-05-16 22:35:04+00:00
The don't embrace that culture. Embrace a simpler culture. Strive for simplicity. Push for fewer dependencies.

Simple example, JAX-RS running on top of Java SE. I agree, JAX-RS is not what one might call "simple". It IS complex, or I should say, it CAN be complex. But Happy Path, staying in the middle of the road, it's pretty sweet for knocking out HTTP backed services. The Jersey reference implementation will do most anything you need (including stuff not "included" in raw JAX-RS). No need for a container, no need for a lot that stuff and all that hanger-on. The core runtime is pretty broad and powerful.

Consider my current project, it uses the built in Java HTTP server. Which works! It's fast, it's functional, it's free. (Yes, it's in a com.sun.net... package, but it's not going anywhere.) It's awkward to use. It's aggravatingly raw. It follows the tenet "why be difficult, when, with just a little effort, you can be impossible."

So, I wrote a simple "servlet-esque-ish" inspired layer for response and request handling, a better path based regex-y router, and a nicer query parser for queries and forms. 500 lines. Add on a JSON library and I can process JSON-y web request/response, easily. (I also wrote my own Multipart processor -- that was another 500 lines, boy that was fun, but most folks don't need that.)

A little bit of code and the built in server is MUCH easier to use. No tomcat, no deploys, zip. ...and no dependencies (save the JSON library).

Something all of these cool frameworks and such have shown me is what's really nice to have, but at the same time, just what isn't really necessary to get work done. I mean, CDI is really neat. Very cool. But, whoo boy. So I have a single singleton to handle application life cycle and global services. It works great with tests. I have a 50 line Event Bus. I have a 100 line "Workflow Engine". 150 line java.util.Logger wrapper (which is mostly, you know, wrapper). I wrote that way back whenever they introduced varargs to java (Java 5? 6?). The modern Java logging landscape is just...oh boy. I'm content with JUL -- I can make it work.

My current project is "magic free". I think @Overide in the single annotation anywhere in it. But it's comfortable to use, the cognitive load is quite load (outside of the actual application itself, which is NOT low -- sheesh). No swearing at frameworks. It's all my fault :).

Anyway, the point is that "simple Java" lurks in there. It needs a bit of uplifting, but not a lot.
by kevin_thibedeau | 2025-05-16 22:35:27+00:00
I've done it for people who used my email to sign up for Facebook and Instagram. Presumably now they have a more rigorous verification flow but they used to let people use any email without checking. I can't have a potential criminal using a social account connected to me, so password reset and disable the account is the only rational solution. Obviously this is slightly more problematic for an institution.
Ask HN: Did anyone else see an avalanche of old email appear in Gmail?
by DamnInteresting | 2025-05-16 22:36:03+00:00
This past Wednesday something strange happened to my main email address, which is a POP3 mailbox that is pulled into Gmail. Something came unstuck, and a bit over 10,000 messages slowly piled into my Gmail inbox throughout the day, with dates from 2023 and 2024.

All but a handful of these were spam, and Gmail wasn’t marking them as such, so I had to manually flag thousands of messages. But there were a few real emails in there, including some important replies I was seeing for the first time.

I was telling my friend about it at lunch today, and they said something very similar happened to them; thousands of old messages came piling into their Gmail inbox a few days ago, most of it spam.

The fact that such an odd thing also happened to someone I know at around the same time makes me wonder if it might be a more widespread issue. Did anyone else see anything similar in recent days?
by btown | 2025-05-16 22:36:03+00:00
I wrote about one under-appreciated and still-relevant use case for Google Closure Library a while back here: https://news.ycombinator.com/item?id=41397235 - reposting it here!

> If you want a rich text editor that truly is Gmail's compose editor as it has existed for the past decade - that emits the same structures that Gmail would, handles copy-pasted rich text the same way Gmail does, has the same behavior in typing inside links etc... which is especially useful if you're building an email client that Gmail users need to feel familiar on every keystroke... then following https://github.com/google/closure-library/blob/master/closur... line-for-line is still the gold standard, because it grew from the same codebase as Gmail.

> I've had great success at a previous startup referencing a prebuilt Closure Library from a modern ES6+ codebase and creating a React-friendly wrapper around the editor component, and using this to power an email templating experience. Ironically, I'm within weeks of needing to do it again, thanks to Zawinski's Law https://en.wikipedia.org/wiki/Jamie_Zawinski#Zawinski's_Law - "Every program attempts to expand until it can read mail. Those programs which cannot so expand are replaced by ones which can." I'll give you one guess what I'll be reaching for, archived or not.

> Others have more context on the history and have written more detailed obituaries - but it's a true testament to the engineers that worked on it, that a library can be so ahead of its time that it's still an industry-leading experience [15] years after its initial release.

I'm happy to see that it's being maintained! (And that project where I was planning to use it again got delayed, but it might be on deck soon!)
by archagon | 2025-05-16 22:36:29+00:00
Not that it's an excuse, but industry darling Gabe Newell has engaged in similar dark patterns since well before Fortnite[1]. Yet, for some reason, there's not a lot of "fuck Newell" people out there.

To be frank, I think this is an issue people only opportunistically care about.

[1]: https://www.forbes.com/sites/jasonwosborne/2023/05/25/how-lo...
by Projectiboga | 2025-05-16 22:37:22+00:00
The Glass-Steagall Act, enacted in 1933, was partially repealed in 1999 by the Gramm-Leach-Bliley Act (GLBA). Specifically, the GLBA repealed sections 20 and 32 of the Glass-Steagall Act, which had prohibited affiliations and interlocks between commercial and investment banks. This allowed financial institutions to engage in both commercial and investment banking activities, which was seen as a step towards universal banking.
by bsaul | 2025-05-16 22:37:29+00:00
i do feel much more comfortable with lifetimes than at the beginning. I get the general concept, and i barely have to explicitely set them (i did start by religiously reading the rust book, of course).

However, at the moment i still feel i'm using a huge amount of layers upon layer of complex type definitions in order to get anything done. Just using an object's reference across async calls in a safe manner leads to insane types and type constraints, which read like ancient egyptian scripture. And at every layer, i feel like changing anything could blow everything up with lifetimes.

The language has this very special feel of something both advanced and extremely raw and low-level at the same time. It's very unique.
by tinix | 2025-05-16 22:37:50+00:00
Go try it and report back.

Fargate isn't just ECS and plain containers.

You cannot use shared memory in fargate, there is literally no /dev/shm.

See "sharedMemorySize" here: https://docs.aws.amazon.com/AmazonECS/latest/developerguide/...

> If you're using tasks that use the Fargate launch type, the sharedMemorySize parameter isn't supported.
by bobcatmin | 2025-05-16 22:39:37+00:00
I would say the real culprit is the dramatic decrease of teenagers using tobacco products. A quarter of high schoolers would use cigarettes regularly 20 years ago, but that number is now more like one in fifty.

It is well known that nicotine, as a stimulant, improves several ADHD symptoms (ex. https://www.sciencedirect.com/science/article/pii/S009130570...). It also improves negative symptoms in schizophrenia which is why they tend to smoke much more than the average population. Since smoking is very uncommon nowadays I feel like the people who would have self-medicated (i.e. a pack of cigs a day) in the past don't exist anymore. How many high schoolers have you met who smoke a pack of cigs?
by ryankrage77 | 2025-05-16 22:39:55+00:00
That's caused by the way the brain 'edits out' motion that occurs during saccade eye movements. If the second hand ticks at the same time as your eyes are panning toward it, you won't see the tick happening. Once the saccade finishes, it feels like the second hand was in its final position that entire time, even though it only just arrived there.
by dbg31415 | 2025-05-16 22:40:07+00:00
With widespread layoffs in the tech industry, it’s worth asking what role is immigration really playing in meeting labor market needs? Are there truly skill shortages in the U.S.?

Many argue that programs like H-1B are less about addressing talent gaps and more about cutting labor costs. What’s your take?

In its current form, does the program actually protect the interests of the domestic workforce? Is it filling a legitimate labor need that can’t be met internally - or is it primarily structured to benefit investors looking to inflate stock prices?
by the_af | 2025-05-16 22:40:43+00:00
Doing something badly in 1/10 of the time isn't going to save you that much time, unless it's something you don't truly care about.

I have used AI/LLMs; in fact I use them daily and they've proven helpful. I'm talking specifically about vibe coding, which is dumb.

> By whom? [...] Emphasis on "shifting the programmer's role from manual coding to guiding, testing, and refining the AI-generated source code" which means you don't blindly dump code into the world.

By Andrej Karpathy, who popularized the term and describes it as mostly blindly dumping code into the world:

> There's a new kind of coding I call "vibe coding", where you fully give in to the vibes, embrace exponentials, and forget that the code even exists. It's possible because the LLMs (e.g. Cursor Composer w Sonnet) are getting too good. Also I just talk to Composer with SuperWhisper so I barely even touch the keyboard. I ask for the dumbest things like "decrease the padding on the sidebar by half" because I'm too lazy to find it. I "Accept All" always, I don't read the diffs anymore. When I get error messages I just copy paste them in with no comment, usually that fixes it. The code grows beyond my usual comprehension, I'd have to really read through it for a while. Sometimes the LLMs can't fix a bug so I just work around it or ask for random changes until it goes away. It's not too bad for throwaway weekend projects, but still quite amusing. I'm building a project or webapp, but it's not really coding - I just see stuff, say stuff, run stuff, and copy paste stuff, and it mostly works.

He even claims "it's not too bad for throwaway weekend projects", not for actual production-ready and robust software... which was my point!

Also see Merriam-Webster's definition, mentioned in the same Wikipedia article you quoted: https://www.merriam-webster.com/slang/vibe-coding

> Writing computer code in a somewhat careless fashion, with AI assistance

and

> In vibe coding the coder does not need to understand how or why the code works, and often will have to accept that a certain number of bugs and glitches will be present.

and, M-W quoting the NYT:

> You don’t have to know how to code to vibecode — just having an idea, and a little patience, is usually enough.

and, quoting from Ars Technica

> Even so, the risk-reward calculation for vibe coding becomes far more complex in professional settings. While a solo developer might accept the trade-offs of vibe coding for personal projects, enterprise environments typically require code maintainability and reliability standards that vibe-coded solutions may struggle to meet.

I must point out this is more or less the claim I made and which you mocked with your CRUD remarks.
by worldsayshi | 2025-05-16 22:40:58+00:00
I feel there's a glaring counter point to this. I have never felt more compelled to try out whatever coding idea that pops into my head. I can make Claude write a poc in seconds to make the idea more concrete. And I can write into a good enough tool in a few afternoons. Before this all those ideas would just never materialize.

I mean I get the existential angst though. There's a lot of uncertainty about where all this is heading. But, and this is really a tangent, I feel that the direction of it all is in the intersection between politics, technology and human nature. I feel like "we the people" leave walkover to powerful actors if we do not use these new powerful tools in service of the people. For one - to enable new ways to coordinate and organise.
by Animats | 2025-05-16 22:41:10+00:00
> With AGI, Knowledge workers will be worth less until they are worthless.

"Knowledge workers" being in charge is a recent idea that is, perhaps, reaching end of life. Up until WWII or so, society had more smart people than it had roles for them. For most of history, being strong and healthy, with a good voice and a strong personality, counted for more than being smart. To a considerable extent, it still does.

In the 1950s, C.P. Snow's "Two Cultures" became famous for pointing out that the smart people were on the way up.[1] They hadn't won yet; that was about two decades ahead. The triumph of the nerds took until the early 1990s.[2] The ultimate victory was, perhaps, the collapse of the Soviet Union in 1991. That was the last major power run by goons. That's celebrated in The End of History and the Last Man (1992).[3] Everything was going to be run by technocrats and experts from now on.

But it didn't last. Government by goons is back. Don't need to elaborate on that.

The glut of smart people will continue to grow. Over half of Americans with college educations work in jobs that don't require a college education. AI will accelerate that process. It doesn't require AI superintelligence to return smart people to the rabble. Just AI somewhat above the human average.

[1] https://en.wikipedia.org/wiki/The_Two_Cultures

[2] https://archive.org/details/triumph_of_the_nerds

[3] https://en.wikipedia.org/wiki/The_End_of_History_and_the_Las...
by jaberjaber23 | 2025-05-16 22:41:25+00:00
what's up guys, take it easy. Just to clarify: I didn’t add any reviews myself. I’m building this SOLO and barely have time to finish the product, let alone fake comments. I wasn’t even aware of the Product Hunt stuff until people here pointed it out!!!!

I just put the product out there for anyone who wants to try it for FREE and share feedback. I already have a good number of real users, and they’re happy with it
by Calwestjobs | 2025-05-16 22:41:47+00:00
Similar problem with law. Rules based order is not ONLY about laws, it is about ethics which is represented, imperfectly, thru law. That is why most professions which deal with humans have ethical codes, oaths, so even people who do not have same morals ( or do not care about them, but want the job ) can do job in accordance with ethic frame law is based on.

And if people follow only laws, without understanding of ethics behind those laws, we get very strange and oppressive society. Rules based order is system of rules which helps to make meaningful, better life for everyone while minimizing harm we do to each other.

So fascism, as journalist use it currently, is a lack of effort for minimization of harm we do to each other. Never heard anything scarier than that.

Law is not a goal but a means.
by _m_p | 2025-05-16 22:42:08+00:00
This book is particularly great about discussing the process of filmmaking, which in Malick's case often seems to involve a ton of experimentation through editing in order to shape a film after photography had finished.

(Some of this editing work notably led to major actors having their roles cut from films. Adrien Brody, for example, apparently believed that he was going to have the lead role in _The Thin Red Line_ but ended up entirely cut.)

For those interested, Richard Brody's book about Godard and Carrie Rickey's book about Agnes Varda are similarly detailed about the specifics of their filmmaking work!
by adamcharnock | 2025-05-16 22:42:45+00:00
> > One thing we learned from this process was how much apps use visual cues to communicate important information.

Maybe it’s late here, or maybe I’m just cynical - but what does that sentence even mean anyway?! It’s an app, it’s visual, why does this even need stating? How was this even a notable result from any kind of research?

/grump
by nomel | 2025-05-16 22:42:54+00:00
> This means you can run LLMs with 2-3× longer context on the same Mac. Memory usage scales with sequence length, so savings compound as context grows.

The point seems to be that this reduces memory footprint. This makes it possible to run longer context, for the same limited memory, if you couldn't before. Or, you can use that free memory to do something else, like an IDE.
by amgreg | 2025-05-16 22:42:55+00:00
Yes and yes; in the past, prior to ECMAScript providing first-class inheritance, module ex/imports etc, the Library supplied methods to achieve these in development, and the Compiler would identify these cases and perform the appropriate prototype chaining, bundling, etc. See, eg, goog.provide

For the most part, I would guess people still use the Closure Compiler because of its aggressive minification or for legacy reasons. I think both are probably true for ClojureScript, as well as the fact that the Compiler is Java-based so it has a Java API that (I am guessing here) made it easier to bootstrap on top of the JVM Clojure tooling / prior art.
by burnt-resistor | 2025-05-16 22:42:59+00:00
Well, when I was in school, the goals were wide compatibility and portability. I was writing network C code in the 00's that could run without any changes on Windows, Linux, FreeBSD, HP-UX, AIX, SGI, SCO, and Solaris.

Code only "rots" when its dependencies rot from assholes who churn the language or break API promises. These low expectations lead to normalization of deviancy that churn without clear and present value is "okay", when it's merely job security or coding theater to appease others that everything must be touched and changed constantly or otherwise it's "broken".
by amluto | 2025-05-16 22:43:03+00:00
It’s remarkably common for some floating UI element to obscure the bottom portion of something scrollable. You can’t work around this by scrolling because, if the region in question is on the screen at all, it’s at the bottom.

Even Mobile Safari messes this up on occasion — sometimes the URL bar at the bottom obscures the bottom of a page, and, while one can temporarily reveal it by dragging up, the content rubber-bands right back down when the user lets go.
by rdtsc | 2025-05-16 22:43:03+00:00
Oh interesting. I haven't talked to any recent graduates but I would expect an MIT PhD student to be more articulate and not say "like" every other word.

There was a question at the end that made him a little uncomfortable:

[1:00:20]

Q: Did you use academic labs only or did you use private labs? A: (uncomfortable pause) Oh private, yeah, so like all corporate, yeah... Q: So, no academic labs? A: I think it's a good question (scratches head uncomfortably, seemingly trying to hide), what this would look like in an academic setting, cause like, ... the goals are driven by what product we're going make ... academia is all, like "we're looking around trying to create cool stuff"...

My 8 year-old is more articulated than this person. Perhaps they are just nervous, I'll give them that I guess.
by toomuchtodo | 2025-05-16 22:43:11+00:00
The reality is taxes must go up, and the bond market will force it to happen. You can’t keep issuing debt forever to steal from the future for today when all of the evidence points to lower future growth.

Voters might be unsophisticated, but the bond market is not.

> Bond vigilantes, who can bring fiscally irresponsible politicians to heel by unloading a country’s debt, may rear their head if Congress doesn’t show any appetite to bring the federal deficit under control.

https://usafacts.org/government-spending/

https://finance.yahoo.com/news/bond-vigilantes-killed-trump-...

https://ghpia.com/wp-content/uploads/2024/07/Investment-Insi...
by flysand7 | 2025-05-16 22:43:33+00:00
Another case in point is that memorizing vocabularies and grammar, although could seem like an efficient way to learn a language, is incredibly unrewarding. I've been learning japanese from scratch, using only real speech to absorb new words, without using dictionaries and anything else much. The first feeling of reward came immediately when I learned that "arigatou" means thanks (although I terribly misheard how the word sounded, but hey, at least I heard it). Then after 6 month, when I could catch and understand some simple phrases. After 6-7 years I can understand about 80% of any given speech, which is still far, but I gotta say it was a good experience.

With LLM's giving you ready-made answers I feel like it's the same. It's not as rewarding because you haven't obtained the answer yourself. Although it did feel rewarding when I was interrogating an LLM about how CSRF works and it said I asked a great question when I asked whether it only applies to forms because it seems like fetch has a different kind of browser protection.