MurphyA/hacker-news huggingface dataset:
by guga42k | 2025-05-16 22:19:55+00:00
A bit unorthodox advice, start lifting weights. Heavy. Aim to build strength, not muscles or look. 40s is a great age to do this, better than 50s for sure. For men, physical strength gives more confidence, and problems which you perceive hard will look less so when you are able to deadlift 500lb. And yeah, don't quit your current job without getting new one. Bad idea. And don't give away anything for free to your employer.If they want to fire you, make them sweat (in some places it is not easy process).

ps: speaking of taking 3-6-12 months off advises. Irrelevant of your situation, I think we are living through interesting part of the "hockey stick" curve when being out for one year could mean end of the tech career. Things move way too fast, and gaining velocity.
by zahlman | 2025-05-16 22:20:41+00:00
Even when the 'spawn' strategy is used (default on Windows, and can be chosen explicitly on Linux), the overhead can largely be avoided. (Why choose it on Linux? Apparently forking can cause problems if you also use threads.) Python imports can be deferred (`import` is a statement, not a compiler or pre-processor directive), and child processes (regardless of the creation strategy) name the main module as `__mp_main__` rather than `__main__`, allowing the programmer to distinguish. (Being able to distinguish is of course necessary here, to avoid making a fork bomb - since the top-level code runs automatically and `if __name__ == '__main__':` is normally top-level code.)

But also keep in mind that cleanup for a Python process also takes time, which is harder to trace.

Refs:

https://docs.python.org/3/library/multiprocessing.html#conte... https://stackoverflow.com/questions/72497140
by SebastianKra | 2025-05-16 22:21:20+00:00
That comparison is apples to oranges, because React components are typically much smaller than Vue components (think 20 components in one file). So while its true that a state update will rebuild an entire component, that diff might still only impact 2-3 dom nodes.

For high frequency updates such as reacting to mouse interactions, you can compose components in such a way that only one small component handles the high-frequency update, while it's siblings and children remain static.

In this way, React-components are closer to Vue's computed properties than Vue-components.
by kllrnohj | 2025-05-16 22:21:24+00:00
Personally I think C# is miles ahead of Java and in meaningful ways (like a drastically better implementation of generics, not to mention value types have existed for eons at this point and an FFI system that doesn't hate you for using it)

But nobody seems to talk about or care about C# except for Unity. Microsoft really missed the boat on getting mindshare for it back in the day.
by themadturk | 2025-05-16 22:21:39+00:00
Part of the appeal of WordPerfect (and Reveal Codes) in the legal industry was the ability to create a document that look exactly what you needed it to look like. Appellate briefs, as I remember, had to be no more than a certain number of pages of text of a certain font and point size with specified margins and line spacing, and doing that in Word was doable but a nightmare.
by hayst4ck | 2025-05-16 22:21:44+00:00
I disagree here and I don't think it's a point we'll agree on.

Sometimes the label matches. There have been 4 people in high GOP positions who have sieg heiled. They aren't being labeled Nazis, they are objectively and factually Nazis. Germany's crackdown on the AFD is a response to power seizures/white supremacy in America. The GOP strategy writers literally wrote "there will be a revolution and it will be bloodless if the left allows it to be." There has very much been a declaration of "us or them", and that's not the type of thing that can be tolerated. You can't say "yes we'll work together with people who have said it's us or them."

Likewise your argument becomes a defense for pervasive systemic corruption, because the defense is no longer "we aren't corrupt," but "they're attacking us because we're the opposition, this is a power grab."

The gridlock that is a direct result of lack of corruption enforcement "because that would be a political power grab" became the mandate to overthrow the old establishment/ignore the constitution. What is happening in America right now is most influenced of all people by Merrick Garland who failed to prosecute a criminal because he was worried about enforcing the law against politicians which turns the justice system into a political weapon.

Unfortunately a weapon is just a weapon, it is a completely amoral object that amplifies the morality of it's wielder. Police officers carry weapons. It is not the weapon or that a weapon was used, but what the weapon is used to achieve that is worth analyzing.

That's the problem with side-ism, it implies that there are two equal sides with equal legitimacy and equal ability with equal strategies.

Game theory is deeply relevant, because on the two ends of the political spectrum are the cooperators (liberals) and people who think they should defect if they are able to win by doing so (conservatives). Conservatives don't cooperate when they should, and liberals don't defect when they should, and that's how those ideologies largely fail. Conservatives end up power grabbing (which is what I believe you're largely speaking in reference to) and creating dictatorship, while liberals fail to power grab and create dictatorship by ceding power.
by greggyb | 2025-05-16 22:22:42+00:00
Bike lane congestion is wholly unlike car congestion. It happens, and for busy routes, you do need affordances in the bike lanes and infrastructure.

That said, I've never missed a light cycle while bicycling, even in rush hour in major metro areas with many people on bikes. The busiest bike intersection in the world, in Copenhagen, devotes less space to bikes than most US streets devote to one lane of vehicle traffic.

Every single US city I have seen has ample space for bicycle infrastructure. Many have lots of roads with sufficient space for dedicated transit lanes, and bicycle lanes, and widened sidewalks while still maintaining space for personal vehicles.

Even if we take your hypothetical to the extreme, with only bicycles and no personal vehicles, every US city has enough space for the bike traffic on its existing streets.
by manquer | 2025-05-16 22:22:47+00:00
For copying the product / service yes it is not worth much .

However for people trying to compromise your system access to your code can be a valuable asset .The worth of that could be well beyond just enterprise value of the organization , it could people’s lives or bring down critical infrastructure.

You don’t just have access to code you created and have complete control to. Organizations have vendors providing code(drivers , libraries…) with narrow licenses that prohibit sharing or leaking in anyway. So this type of leak can open you to a lot of liability.
by lamp_book | 2025-05-16 22:23:05+00:00
The tooling is pretty easy to learn if scary looking at first and becoming a JVM expert, at least in the context of GC tuning, might take you a week or less. Some of the defaults are surprising though.

And I think there is some parallel with the kernel vs GC and mmap vs buffer pools - the GC simply has better context in the scope of the application. With other processes in the picture, though, yeah there is some provisioning complexity there.
by aucisson_masque | 2025-05-16 22:23:17+00:00
12 upvotes...

You can't compare that to gene-editing treatments, that's two completely different level.

Self driving car were always almost feasible, 20 years ago top gear made cars you could drive with controller like kids do with toy cars. We already had camera and computer, it was just a matter of raw CPU performance and software development..
by avaika | 2025-05-16 22:24:08+00:00
This reminds me how back in my school days I was not allowed to use the internet to prepare research on some random topics (e g. history essay). It was the late 90s when the internet started to spread. Anyway teachers forced us to use offline libraries only.

Later in the university I was studying engineering. And we were forced to prepare all the technical drawings manually in the first year of study. Like literally with pencil and ruler. Even though computer graphics were widely used and we're de facto standard.

Personally I don't believe hardcore ban will help with any sort of thing. It won't stop the progress either. It's much better to help people learn how to use things instead of forcing them to deal with "old school" stuff only.
by gibbitz | 2025-05-16 22:25:00+00:00
I think the point is that part of the value of a work of art to this point is the effort or lack of effort involved in its creation. Evidence of effort has traditionally been a sign of the quality of thought put into a work as a product of time spent in its creation. LLMs short circuit this instinct in evaluation making some think works generated by AI are better than they are while simultaneously making those who create work see it as devaluation of work (which is the demotivator here).

I'm curious why so any people see creators and intellectuals as competitive people trying to prove they're better than someone else. This isn't why people are driven to seek knowledge or create Art. I'm sure everyone has their reasons for this, but it feels like insecurity from the outside.

Looking at debates about AI and Art outside of IP often brings out a lot of misunderstandings about what makes good Art and why Art is a thing man has been compelled to make since the beginning of the species. It takes a lifetime to select techniques and thought patterns that define a unique and authentic voice. A lifetime of working hard on creating things adds up to that voice. When you start to believe that work is in vain because the audience doesn't know the difference it certainly doesn't make it feel rewarding to do.
by echelon | 2025-05-16 22:25:03+00:00
That's because the Microsoft of 2000 - 2014, the Ballmer era, was Microsoft-first. It didn't care about other platforms, it didn't care about the web, and it didn't care about open source. C# could be great, but it existed in a bubble.

Java kept growing and wound up everywhere. It played nice with Linux. Enterprise Mac developers didn't have trouble writing it with IntelliJ. It spread faster because it was open.

Satya Nadella fixed a lot of Microsoft's ills, but it was too late for C# to rise to prominence. It's now the Github / TypeScript / AI era, and Satya is killing it.

The one good thing to say about Ballmer is that he kicked off Azure. Microsoft grew from strength to strength after that.
by frollogaston | 2025-05-16 22:25:14+00:00
Ah, I forgot capnproto doesn't let you edit a serialized proto in-memory, it's read-only. In theory this should be possible as long as you're not changing the length of anything, but I'm not surprised such trickery is unsupported.

So this doesn't seem like a versatile solution for sharing data structs between two Python processes. You're gonna have to reserialize the whole thing if one side wants to edit, which is basically copying.
by MoonGhost | 2025-05-16 22:25:20+00:00
With so many graduates looking for a job why don't they bang together and do something. If not for money then just to show off their skills, something to put in the resume.

It's not going to get any easier in next next few years, I think. Till the point when fresh grad using AI can make something valuable. After that it will be period when anybody can just ask AI to do something and it will find soft in its library or write from scratch. In long terms, 10 years may be, humanity probably will not need this many developers. There will be split like in games industry: tools/libs developers and product devs/artists/designers. With the majority in second category.
by gjvc | 2025-05-16 22:25:47+00:00
That is obviously not what I meant by "solving it with bash" and well you know it.

First, one often needs to set PYTHONPATH etc, and this is best done near the point of execution, in a wrapper script and not wangling around in ~/.bash_profile where it gets forgotten, and is not project-specific.

Secondly, and more importantly, your suggestion assumes the venv lives in a fixed location. This is unlikely to be the case.[1] What is preferable is something which is independent of filesystem location. The bin/run-python script is able to find its location on the filesystem, and the location of the venv relative to it.

[1] You might have a custom python distribution with a bunch of modules installed into a well-known location and therefore using that for the python in your application is a reasonable solution, but that is not what we are talking about here.
by amgreg | 2025-05-16 22:26:21+00:00
I think you are conflating the Closure Library with the Closure Compiler. They are related but not identical. The Compiler, I think, is what makes it difficult to use externs; its “advanced optimizations” can and often does break libraries that weren’t written with the Compiler’s quirks in mind. But advanced optimizations is an option; if you don’t need aggressive minification, function body inlining, etc. you can opt out.

Shadow CLJS has made working with external libraries quite easy and IIRC it lets you set the compilation options for your libraries declaratively.
by zahlman | 2025-05-16 22:26:44+00:00
> I wish more effort was put into baseline performance for Python.

There has been. That's why the bytecode is incompatible between minor versions. It was a major selling(?) point for 3.11 and 3.12 in particular.

But the "Faster CPython" team at Microsoft was apparently just laid off (https://www.linkedin.com/posts/mdboom_its-been-a-tough-coupl...), and all of the optimization work has to my understanding been based around fairly traditional techniques. The C part of the codebase has decades of legacy to it, after all.

Alternative implementations like PyPy often post impressive results, and are worth checking out if you need to worry about native Python performance. Not to mention the benefits of shifting the work onto compiled code like NumPy, as you already do.
by jgerrish | 2025-05-16 22:27:18+00:00
But would you want to work for a company that just does a vibe check, or one that raises the bar with every hire?

That high-level Apple employee was probably a manager and oversaw hiring people.

I would tell myself every day, "I wouldn't hire me."

It's not self-defeating.

It's not being a victim.

I wouldn't let it stop me from trying.

It's being accurate about what kind of company you'd want to build yourself, and the internal state of a lot of hiring managers. And with a true model of the world you can make better decisions.
by Volundr | 2025-05-16 22:27:25+00:00
At this point dropping GCL would be a breaking change. Many, many libraries rely on it.

> My surface level understanding is that GCL is a big reason why 3rd party libraries are a huge pain to use in Clojurescript.

I'm sure what "huge pain" your referring to, but I'm guessing it's dealing with name munging when externs aren't readily available. That comes from the compiler, not the library, and can be annoying. Mainly you have to make sure you reference things in ways that won't get mangled by the compiler (get x "foo") instead of (get x :foo). If you want to escape that you can always turn of advanced optimizations.
by bsaul | 2025-05-16 22:30:47+00:00
i didn't "find" it. As i said, it's a well known one : https://github.com/rust-lang/rust/issues/110338

Simply using axum with code using multiple layers of async was enough.

But then again, it looked like this bug (the error message is the same), however at this point i'm really unsure if it's exactly the same. The error message and the method signature was so atrocious that i just gave up and found a simpler design using macros that dodged the bullet.
by flysand7 | 2025-05-16 22:31:02+00:00
Having written more SQL than any other programming language by now, every time I've tried to use AI to write the query for me, I'd spend way more time getting the output right than if I'd just written it myself.

As a quick aside there's one thing I wish SQL had that would make writing queries so much faster. At work we're using a DSL that has one operator that automatically generates joins from foreign key columns, just like

credit.CLIENT->NAME

And you got clients table automatically joined into the query. Having to write ten to twenty joins for every query is by far the worst thing, everything else about writing SQL is not that bad.
by quickthrowman | 2025-05-16 22:31:31+00:00
Incorrect.

> Fitch Downgrade August 1 2023

> SPY around 455 fell to 433 from August 1 to August 18

> By October 27th SPY bottomed around 410 (-10%)

> From August 1 to October 23, US 10y yield went from 3.9% to 5%

Stocks went down and bond yields went up last time. The Federal Reserve raised the federal funds rate from 5-5.25% to 5.25-5.50% during the same time period.
by aucisson_masque | 2025-05-16 22:32:04+00:00
> Expressive design makes you feel something

I found it quite funny because the first month of using the new 'overscroll' animation that came with material you, the thing that stretch the text when you reach the end of a page and keep scrolling, made me want to throw up and gave me headaches lol.

To be completely serious, i looked at the preview images, for instance the Gmail one with the big send button and it confirmed my long time hypothesis. Google is copying the design of these phone for old folks that got everything big and bold with contrast turned all the way up lol.

You're telling me 18-24 loves material 3 ? I can tell you my grandma would love it. She can't see very well and her hand shake, this would be handy.
by frollogaston | 2025-05-16 22:32:09+00:00
"I wonder why people never complained so much about JavaScript not having shared-everything threading"

Mainly cause Python is often used for data pipelines in ways that JS isn't, causing situations where you do want to use multiple CPU cores with some shared memory. If you want to use multiple CPU cores in NodeJS, usually it's just a load-balancing webserver without IPC and you just use throng, or maybe you've got microservices.

Also, JS parallelism simply excelled from the start at waiting on tons of IO, there was no confusion about it. Python later got asyncio for this, and by now regular threads have too much momentum. Threads are the worst of both worlds in Py, cause you get the overhead of an OS thread and the possibility of race conditions without the full parallelism it's supposed to buy you. And all this stuff is confusing to users.
by A4ET8a8uTh0_v2 | 2025-05-16 22:32:11+00:00
The reality is that the current trajectory is not exactly sustainable. So, for once, Moody seems to be doing its job. As to where they were for the past decade or so ( lets charitably say they were still trying to figure out where things land post 9/11 ), when all those issues were allowed to fester, is not exactly a big secret.

The simple reality is that US will need to go through a period of pain to correct some of those excesses. It will not be fun for anyone, which is why there is so much effort put forth to kick can down the road.

And the part that really gets me is that congress is discussing cutting taxes, fed is being pressured to lower rates.. as if all those things were not at least a factor in the mess we are in now.
by ryankrage77 | 2025-05-16 22:32:39+00:00
> All of my original thoughts feel like early drafts of better, more complete thoughts that simply haven’t yet formed inside an LLM

I would like access to whatever LLM the author is using, because I cannot relate to this at all. Nearly all LLM output I've ever generated has been average, middle-of-the-road predictable slop. Maybe back in the GPT-3 days before all LLMs were RLHF'd to death, they could sometimes come up with novel (to me) ideas, but nowadays often I don't even bother actually sending the prompt I've written, because I have a rough idea of what the output is going to be, and that's enough to hop to the next idea.
by hintymad | 2025-05-16 22:32:50+00:00
> A computer can never be held accountable

I think the issue is not about humans being entirely replaced. Instead, the issue is that if AI replaces enough number of knowledge workers while there's no new or expanded market to absorb the workforce, the new balance of supply and demand will mean that many of us will have suppressed pay or worse, losing our jobs forever.
by pseudolus | 2025-05-16 22:33:19+00:00
Moody's is in what is, currently, a hazardous line of business. Whatever their accuracy (their performance leading up to the financial crisis in 2008 didn't particularly lend them any credit) the reality is that they are certainly likely to be the target of informal (browbeaten in the media) and formal (investigations undertake by various agencies) actions in the short-term. They've unleashed a shit storm upon themselves the likes that they have probably never seen before. Some late night posts on Truth Social are likely to be imminent.
by forgotpwd16 | 2025-05-16 22:33:26+00:00
Perhaps replace "take down" with "withdraw" (arXiv's mechanism to deal with bad papers post-publication; what MIT calls for) or "retract" (the mechanism that traditional journals employ and similar to previous; a common term in academia). In arXiv's way of handling papers, "removal" and "withdraw" are distinct[0] and, based on some comments in this thread, current title seems to create confusion that is about the former.

[0]: https://info.arxiv.org/help/withdraw.html: "Articles that have been announced and made public cannot be completely removed. A withdrawal creates a new version of the paper marked as withdrawn."
by ay | 2025-05-16 22:33:28+00:00
Very strange. Either the author uses some magic AI, or I am holding it wrong. I used LLMs since a couple of years, as a nice tool.

Besides that:

I have tried using LLMs to create cartoon pictures. The first impression is “wow”; but after a bunch of pictures you see the evidently repetitive “style”.

Using LLMs to write poetry results is also quite cool at first, but after a few iterations you see the evidently repetitive “style”, which is bland and lacks depth and substance.

Using LLMs to render music is amazing at first, but after a while you can see the evidently repetitive style - for both rhymes and music.

Using NotebookLM to create podcasts at first feels amazing, about to open the gates of knowledge; but then you notice that the flow is very repetitive, and that the “hosts” don’t really show enough understanding to make it interesting. Interrupting them with questions somewhat dilutes this impression, though, so jury is out here.

Again, with generating the texts, they get a distant metallic taste that is hard to ignore after a while.

The search function is okay, but with a little bit of nudge one can influence the resulting answer by a lot, so I wary if blindly taking the “advice”, and always recheck it, and try to make two competing where I would influence LLM into taking the competing viewpoints and learn from both.

Using the AI to generate code - simple things are ok, but for non-trivial items it introduces pretty subtle bugs, which require me to ensure I understand every line. This bit is the most fun - the bug quest is actually entertaining, as it is often the same bugs humans would make.

So, I don’t see the same picture, but something close to the opposite of what the author sees.

Having an easy outlet to bounce the quick ideas off and a source of relatively unbiased feedback brought me back to the fun of writing; so literally it’s the opposite effect compared to the article author…