skysight-inc/HackerNews huggingface dataset:
>a bunch of people who were employed because of low interest rates about about to lose their jobs

You're making it sound like the alternative would have been for all those people to have been unemployed if those zero interest rates would not have happened.

No, the alternative was, as the market is being corrected right now, is these people working in older, more established businesses and economic sectors with steady growth, that are based in reality instead of gaming meme hypergrowth "to the moon" businesses, which are laying them off right now.

There's tones of jobs open in the "un-cool" sectors.
Same here. I remember the days I was new and hip fondly.

I work with frontends among other things so I am semi-aware of the current state of insanity.

I try to not talk too much and go with the flow. The older I get the more software (and business) in general seems like it’s built out of raw insanity.
I use Proxmox, but I feel ambivalent about it. If you are debating between ESXi, Proxmox, or Hyper-V, I would probably suggest Proxmox.

However, my feeling is that with the rise of containers, VMs are less relevant, and so I want a compute server OS that is more container forward (while still supporting VMs).
California's Sneate Bill 1047 on AI
No it is not. Same as videogames generate scenes and videocards render those scenes.

Render is the final step presented to user. Users do not see HTML, they see text, boxes with background colors, buttons, those are html elements rendered for visual consuption.
In general, one should keep the mutation rate really low to allow the population slowly change over time. High mutation rate will lead to local optima quickly but also very hard to get out. Low mutation rate will require significant more generations but in general result in better adaptation.
> Their p/e ratio of 30 seems low if you assume that they will keep growing like they did for the last ten years.

Yes. So the P/E ratio is a bit high?
Nobody remembers Y2K anymore?
Please just see this

`env -S "$(cat .env)" <cmd>`

Believe it or not that’s all you need.

> S, --split-string=S
process and split S into separate arguments; used to pass multiple arguments on shebang lines

edit: forgot the quotes around shell substitution
Police already access ring cameras
Actual report: https://www.akamai.com/blog/security-research/phishing-usps-...

Some more discussion: https://news.ycombinator.com/item?id=40194346
Hindsight living, is like hindsight investing (I should have bought Apple stock in 1999) useless.

With hindsight it's easy to cherry-pick missteps. And from those missteps fantasize a hypothetical outcome. And obviously in this alternate universe you only ever come out better.

Yes, there are pivotal moments. I've made big decisions along the way. I've made some mistakes.

But everything good in my life has come from this one path.

I make a choice to celebrate the present, not hanker after a mythical alternative. I choose to be content with the present, and contentment is the source of my happiness.

It's easy to compare my life with others, and find others richer, or more famous, or married, or unmarried. Social media amplifies this.

But it's also easy to compare to others who walked a harder path, and have a harder path in front of them. At this stage of my life its less about climbing one more rung, and more about helping those below me, smoothing their path as much as possible.

No one goes through life perfectly. Hindsight living is not helpful and contentment beats regret every day of the week.
Isn't that pink noise? I.e broadband, low frequency dominated?

I'm not being snarky, I'm just trying to understand people's usage of terminology. I get the colour analogies for the most part, but brown doesn't make any sense to me.

I just looked it up, and apparently brown noise is "Brownian" noise and has a more rapid fall off at higher frequencies. Personally I use Chroma Doze on android and draw a downward sloping frequency profile.
I dont get sms but amount of spam in gmail inbox about Swiss post (I live here but not native) is staggering.

Luckily they still look so lame its trivial to spot them, and gmail is doing a fine service filtering them right into spam.
Afraid not. I got a job in Uni at a store that refurbished laptops and as a perk we could take a handful to learn about / disassemble every week, on the condition they came back. Later I would provision units for medium sized companies and also developed an expensive habit of buying up every other model on ebay. It's great to have had experience with so many designs but in retrospect I should've just bought one every 3-4 years and stuck with it. I just never could be satisfied with a design but to be fair back then most had serious shortcomings

I guess today I tend to over focus on the laptop as an end where others see it more as a means. Probably won't ever be satisfied until I sit down and design my own. But the MBA 15 is very nice.
Too nice. "manufactured with precision to the micron and delivered to your door straight from the factory in Shenzhen"
Can we get please get another Zuckerberg interview by YC?
Two by PG, one by JL (can't find the recording of that one, one by same.

One by Gary Tan soon? Would be interesting:

Here are some questions I'd be curious to know the answer:

1. Before FB, you couldn't search index someone. But thanks to FB/IG/LinkedIn, etc. Now you can do that to the point where you don't need to create places for people to share. FB was the place to share information and learn about people. But that's done. What's the next frontier? What will Meta build on top of that infra? What do you envision or would like to see?
2. What else is truly fundamental about humans?
3. Sometimes, innovations get people pissed like it happened to you at Harvard. But other times, it doesn't like the Romans class you were taking which was pretty benign and it seems well-received. How have you learned to deal with the "hate" or the system during college and the world as a whole trying to push you down?
Notably, Spacewar! is not a vector game, rather, it's X/Y point plotting. Meaning, each point is plotted individually on a high-res 1024 x 1024 screen and has to be refreshed regularly by the program in order to stay visible. (This is also the major bottleneck of the game, in terms of timing, and only became viable thanks to Dan Edwards' just-in-time compiler for the spaceship outlines.)

In other words, the burden of maintaining the display is entirely on the program and the instructions for this have to be recomputed for each frame (as memory for storing any screen related information was horribly expensive and thus unfeasible.) Which makes this even more remarkable.
"In Germany, if you take a loan to open up a business, you can pretty much ruin your whole life"

So instead you ruin other people's lives?
First of all, comparing C to C++ in this way is silly, because C++ is a very different language. But there are some similarities.

> You just forward-declare a struct, and declare functions that accept pointers to it: the header doesn't need to contain the struct fields, and you don't need to define any wrapper functions.

Those functions would be more verbose because they must contain an explicit `this` equivalent pointer. This would have to be repeated at every single call site. So it's not really helping.

You don't need wrapper functions for PIMPL. You can have them if you think it's worthwhile, of course.

>Technically you can do the same in C++. But in C++ to make an idiomatic API you need methods instead of free functions, and you can't declare methods on forward-declared classes. Why not?

There are good technical reasons why you can't tack member functions into the interface of a forward-declared function. There would be nowhere for that information to go, if nothing else. I think I heard a talk about adding new metaprogramming features to C++ that might address this in like C++26, but anyway it's not a significant problem to simply avoid the problem

I think you can probably make some template-based thing that would automate implementing the wrappers for you. But it would be a convoluted solution to what I consider a non-problem.

>The C++ committee could address this, but instead they seem to want to pretend separate compilation doesn't exist. (Why are there no official headers to forward-declare STL types, except for whatever happens to be in <iosfwd>?)

Most of the STL types that people need are based on templates. It does not make sense to forward-declare those. I just don't see a use case for forward-declaring much besides io stuff and maybe strings.

>Then they complain about how annoying it is to preserve ABI stability for the standard library, blaming the very concept of a stable ABI [1] [2], all while there are simple language tweaks that could make it infinitely more tractable! But now I'm ranting.

There seems to be a faction of the C++ committee that does not share the traditional commitment to backward compatibility. They have gone so far as to lobby for a rolling release language, which is guaranteed to be a disaster if implemented. I think wanting to break ABI might be a sign of that. Let's hope they use good judgement and not turn the language into an ever-shifting code rot generator.

Keep in mind, there may be ABI breakage coming from your library provider anyway, on top of what the committee wants. So it's not necessarily such a cataclysmic surprise as something you're supposed to plan around anyway. ABI stability between language standards is mostly a concern for people who link code built with different C++ standards (probably, a lot of code). It wouldn't be the end of the world if you had to recompile old code to a newer standard, but it might generate significant work.
Then she doesn't need to pay for a seat reservation she can go as a lap infant.
I agree. If you have two narratives about your life, and both are true, it is literally pointless to hang onto the negative one.

One's self-identity is important. The truth about what one's "narrative in life" is is not a brute property etched into the universe.

We should be pragmatic about what what thoughts we nurture.
Advertising has to clearly be announced as an ad, however.
This could have grave impact on AI development. Here are some responses:

- EFF: https://www.context.fund/policy/2024-03-26SB1047EFFSIA.pdf

- Answer AI: https://www.answer.ai/posts/2024-04-29-sb1047.html
I didn’t go into all the problems with “successful websites” but it really is impossible to measure. For me, my business site is successful when I capture leads, my blog is successful when I write posts, a restaurant is successful when people show up to eat. There’s no way of knowing what variables and metrics constitute success without asking the person.

I had a CEO who searched for the related business search terms every morning. No clicks, he just wanted to see the ranking. The other day, I was searching for an open NOC page that I knew existed but couldn’t remember the search terms. Eventually I gave up, but I’m 90% sure I left the tab open to a random promising search result that had nothing to do with what I was really searching for. There’s a pdf that archive.org fought over and simply mentioning it results in a DCMA, you can find it now, but for nearly 20 years, you could only find rumors of it on the internet and a paper copy was the only way you could read it.

Even when I know what I’m looking for exactly, I sometimes open a bunch of tabs to search results and check all of them, (This is actually the vast majority of my non-mobile searches) especially because the search results are often wrong or miss some important caveats — especially searching for error messages.

The only way you could find out these searches were unsuccessful (or successful) is to ask. There’s no magic metrics to track that will tell you whether or not my personal experience found the search successful.
Perl /4/ in 2002? When I learned perl in like 1995, 5 had been out for a bit already and it was hard to find a system with 4 installed...

(perl 4 didn't have built in support for OO; did you roll your own system?)
Proceeds to assist with the most unimaginably complex system known to man to solve fancy forms and partial refreshes.
stuff written for java 0.9 (1996), even with the default package (no namespaces), still runs normally.
2011 is past java 7.
Year 2038 occupies my brainspace much more than Y2K.
Even tech companies do this wrong. Github had it's upcoming/beta features on githubnext.com and even sent out auth related e-mails from there. I wanted to test their new features but when I got the email I lost my faith in them and opted not to.
One guy form the PDP-10 'tribe' wrote a Maclisp interpreter in Common Lisp with relative ease. 90% of the code would still run as is, and maybe under Elisp too...
I guess you’re in USA. Luckily I am in poor Germany with way lower salaries. Which opens me another option
6) go into trades. Becoming certified electrician takes a lot of time or money or both. My university degree with an expensive course was enough. Salary stays the same as long as I am self employed.

Otherwise 5) since 4) does not really work for me. Helped too many brilliant guys as an electrical engineer. Products got traction, but nothing big happened.
Ur welcome! :) Totally, it is something which majorly does not look good.

I think people in power should just come clean and say "We have no idea what's going on." But how can people in power admit something more powerful is toying with them?

It's pretty hard, but I think their honesty would build credibility and begin the path not just of healing but of figuring out: what it is, do we need to respond, and how to respond. And getting away from the tired narrative of relying on government for "disclosure", that only recenters their authority in the face of a threat to it, and disempowers people. But I think we need to be empowered to deal with this: whether it's militarily, scientifically or studied in other ways.

I think this is something that we need to deal with together, as a country or even world. I don't think some group of people working in the shadows can handle it. Hasn't it been 100 years already? But their reactions are still some reflection of "run, deny, hide". Not a great look for leaders and systems we are supposed to depend on!! So I think it can be better handled for sure.
I can only give you one data point, but I went to one of these "elite" universities (many years ago), and the quality of education I found there was really incredible. I honestly would not trade that for anything.
If you are running schema migrations in production, use "lock_timeout". Even seemingly-benign modifications like dropping a table (with foreign keys) or dropping a foreign key, which are generally quick and may run nearly-instantaneously when you're testing them, may end up hitting a lock conflict on a heavily-used production database (with existing transactions, with an autovacuum, etc). That ALTER is then waiting on the first transaction's lock, but it has acquired an ACCESS EXCLUSIVE lock, meaning no queries can run against the locked table.

If you're doing any postgres at scale, it's just a matter of time until you hit one of these conflicts. "lock_timeout" will just cause the migration to fail after the timeout, rather than just blocking all other queries.
We had PC emulators on the 68000 based Atari ST in the 80s. No extra hardware needed, but very slow! And I'm sure that emulators was a thing from the very first computers.
Well, I've seen the opposite: an awk script to connect to IRC...
PostgreSQL Supported Platforms over Time
EDIT: As a couple observant folks pointed out, the original MediaFire link actually still works, so WB machine saved the day by making it possible to find the link, but the jar was also still hosted on the today-internet :)
React is nice as a UI library, the thing is that people keep adding more stuff inside the components, making it look more like an application framework, which it's not good at. It takes discipline to design a good interface between your UI and your business logic (even if it's UI related) and keep it that way. If the local state of your component is becoming too complex, extract it to its own store and link it to the child components that are using it. If you do that, it's relatively easy to handle. I have tried Svelte and Vue and I like them, just because the way to write them don't let you add big processing logic on them. So you have cleaner code. Redux-Toolkit, Next.js,… it's just making things complex for no reason.

I'm using Alpine right now and it's still feel like React (in a conceptual manner), but that's because I've never liked to introduce processing in my own code base, preferring services and other stateful stuff to be outside of my React components.

function SearchComponent() {
const [query, setQuery] = useState('')
const resultList = useItems(query)
return (
<>
<SearchInput value={query} onChange={setQuery} />
<ResultList items={resultList} />
<>
)
}

I still think that if you don't have a lot of states to manage, and plenty of pages, going Vanilla is better. If there's only one single page, but plenty of interactive elements, I'd go with Svelte just because I like declarative more. But that's a matter of balancing whether I want to interact with a build system or not.
Careful with Pair-of-Registers Instructions on Apple Silicon
Show HN: A simple worklog tool on rust egui
I want a very simple one, so I just create one.
So moonshots it is then. I think we just demonstrated the typical investor though process here quite well!
I am not even sure if I find that good or bad. There are other things people invest into that have more problematic consequences.

For example I'd like to have someone explain me how housing can be both a good investment for rich people and a commodity people can afford — the way I see it these are fundamentally incompatible goals. One is about making housing prices go up, so your one investment gives you more profit, the other is about building enough to keep the prices stable (or even going down).
Gatorade is like 94% water, probably more water than most 'dirty water from a muddy puddle'.
Personally I consider 1.4.2 the point where java got stable, and had a true IO (java.nio), along with a decent JIT (hotspot)
FAO webmasters are shuffling papers (maybe) .. the link of first hit was good from 2020 until 6 days ago - it seems dead now.

The meta data car landing page is there:

https://climate-adapt.eea.europa.eu/en/metadata/publications...

with a WARNING

Website experience degraded The European Climate and Health Observatory is undergoing reconstruction until June 2024 to improve its performance. We apologise for any possible disturbance to the content and functionality of the platform.

The link itself (active for ~3+ years) is dead (for now) http://www.fao.org/3/a-i5188e.pdf

Give them a day or so to migrate doc storage I guess.

> But even what you said doesn't mean billions will starve or die from miserable conditions.

You asked another user for a link, I found the premise interesting and found a well researched paper that includes billions experiencing starvation within the entire possible scenarios (action needs to be taken to avoid type paths into the future).

> This is the problem with alarmism - exaggerated claims that aren't coming from science.

Well, that's your position - I work in geophysical exploration for minerals and energy etc. and none of the IPCC statements within the climate reports seem wildly exagerated, they strictly layout scenarios based on current trends in resource usage and responses and parallel those that are a standard deviation or so above and below.
Just so I can save others the confusion- this bank is distinct from First Republic Bank that failed about a year ago.
Agentic RAG
I ranted about something similar when it came how the US Internal Revenue Service was implementing authentication for their free-filing service.

They're training taxpayers to put in large amounts of extremely sensitive personal information into a third-party domain called "id.me". Even if you trust the private company, I think it's insane they didn't at least whitelabel the process through a *.irs.gov domain!

(For those curious, the .me TLD is run by the country of Montenegro. Control over DNS has some security implications for phishing and man in the middle attacks.)
Lots of us are increasingly interested in formal methods coming out of the labs and ivory tower and seeing more casual usage in industry.

But pitching this sort of thing to management is hard, where if they’ve heard of it at all then they associate it with big brain critical path shit at the highest levels of huge orgs like nasa or aws.

Can’t blame people for not seeing the value yet though.. we need to make things easier/cheaper. Plain old testing is often seen as a cost/effort sink that dev teams and management resent and so of course Model checking looks like a whole different layer of ambiguously-worthwhile effort.

Mere advocacy here won’t win people over, because they care more about costs than “correctness” as an abstract virtue. We probably need progress on things like generating code from models and models from code if we want to see more adoption
The HN-crowd tends to be more demanding and sometimes ahead of the curve, but it's a general trend. I also wonder how much people enjoy using Google vs suffers through it because they don't know any alternatives.

I remember reading that even Google is worried about how crappy their results are becoming and at least some of the company sees it as a threat to itself.

But yes, you're right, Google is still very much mainstream and the #1 search engine. I'm just not certain it's because it's an amazing experience rather than "no other options".
"If" by Rudyard Kipling

If you can keep your head when all about you
Are losing theirs and blaming it on you,

If you can trust yourself when all men doubt you,
But make allowance for their doubting too;

If you can wait and not be tired by waiting,
Or being lied about, don’t deal in lies,

Or being hated, don’t give way to hating,
And yet don’t look too good, nor talk too wise:

If you can dream—and not make dreams your master;
If you can think—and not make thoughts your aim;

If you can meet with Triumph and Disaster
And treat those two impostors just the same;

If you can bear to hear the truth you’ve spoken
Twisted by knaves to make a trap for fools,

Or watch the things you gave your life to, broken,
And stoop and build ’em up with worn-out tools:

If you can make one heap of all your winnings
And risk it on one turn of pitch-and-toss,

And lose, and start again at your beginnings
And never breathe a word about your loss;

If you can force your heart and nerve and sinew
To serve your turn long after they are gone,

And so hold on when there is nothing in you
Except the Will which says to them: ‘Hold on!’

If you can talk with crowds and keep your virtue,
Or walk with Kings—nor lose the common touch,

If neither foes nor loving friends can hurt you,
If all men count with you, but none too much;

If you can fill the unforgiving minute
With sixty seconds’ worth of distance run,

Yours is the Earth and everything that’s in it,
And—which is more—you’ll be a Man, my son!
Check out these guides for theoretical physics:

https://www.goodtheorist.science/

https://www.susanrigetti.com/physics
Moonshot is when those trajectories are not yet known and won’t be known for quite some time. A good example is nuclear fusion. This is something else: risky but clearly tractable innovation.
When a central bank expands the money supply (by changing their interest rate or doing QE) it doesn't spread linearly in the economy. There is a much more complex pattern. And the dynamics of the dominant currency which has all other curencies subordinate to it are completely different from that of a mostly local currency.

But as I wrote. This is a controversial subject. And there are economists out there who will tell you that the special status of the US dollar makes no difference at all and this de Gaulle guy just was upset about losing some colonies.