skysight-inc/HackerNews huggingface dataset:
FWIW, my C++ toolkit library, KJ, does the same thing.[0]

But presumably you could still write a condition predicate which looks at things which aren't actually part of the mutex-wrapped structure? Or does is the Rust type system able to enforce that the callback can only consider the mutex-wrapped value and values that are constant over the lifetime of the wait? (You need the latter e.g. if you are waiting for the mutex-wrapped value to compare equal to some local variable...)

[0] https://github.com/capnproto/capnproto/blob/e6ad6f919aeb381b...
You're 5 years older and your interests have changed.
An easy way to speed up CI/CD IMO is to build your own runners with all of your tools pre-installed (directly, from a cache, or a container). With GitHub Actions for instance, every job starts on a fresh machine, and you get penalized for parallelizing when every machine has to spend 1 minutes+ collecting dependencies. Ideally jobs should spin up in a clean environment with immediate access to tooling.
This such an awesome and unique new way to learn a language. I use both Pimsleurs and DuoLingo but it's always kind of a chore. Will definitely give this a shot. Really refreshing take on learning too, everyone basically has variants of flash cards which gets tedious. And it's free! Thank you!
Yes or I could use the bash `&&` but the issue is I need to know all the commands at the start. I want to be able to come back an hour later and easily add a command to the end of the chain.
Yeah anecdotally I see tons of developers who are looking for Elixir work. How can a language simultaneously be hard to hire for _and_ hard to get hired in?
When state gets out of hand, I know of three options:

1. Put a constraint solver over it so that the programmer describes rulesets instead of state "paths". Regex rules like the Kleene star's backtracking are a simple example of such.

2. Put a compiler over it so that boilerplate "if" statements are generated from a smaller description. E.g. FSM compilers are one way of doing this. Years ago I read of an implementation of TCP/IP (which I can no longer find) built from a custom parser that read the actual text of the RFC spec and generated output source code.

3. Enumerate everything in an enormous decision table so that the spec is tighter.
Only walking for exercise?
Genuinely engaging with the issue of luck would run counter to the primary function of hustle culture, which is to construct a sense of agency despite being mired in systems designed to take it away from us. An adherent admitting that a huge amount of success boils down to luck would be like a sovereign citizen admitting that they're not in an admiralty court. It gives away the very power that the mythology tells them they're entitled to claim.
it's not, but only because someone keeps printing more money.
See the bottom of the Hacker News Guidelines. (although given a certain company's IPO last week, it might need a rewrite.)
Might be worth breaking this down a bit.

Few (if any?) venture capital firms or startups are public. Instead, they are privately held and funded.

"Defense-focused startups" will naturally have the government as a primary customer. Having actual members on hand in an advisory role makes a lot of sense- they can head off early missteps (i.e. hardware designs that would never pass review), have connections to others who might be worth partnering with, etc.

I did work for such a defense oriented startup 10-ish years ago, and they arguably had a better (software) product than what was currently being used. Everyone at a lower level that saw it said as much. The problem was that there was so much red tape in the procurement process- along with bumping up against internal politics over the existing software- that they had to pivot to more commercial applications of the idea before they ran out of funding.

Having a more direct line and better support from someone on the inside, whose job was to identify the value and make sure they got a fair shot, would have been a huge boon. They contemplating hiring a company that literally does nothing but help other companies navigate the procurement process and red tape, but decided it was time to pivot.

On the other hand, the situation we have now with much of the military-industrial complex is also utterly broken and corrupt. Some few companies live for military contracts (think Lockheed Martin) and will do anything to keep the money flowing their way.

Spreading out the influence of said money whenever possible to a broader selection of companies is a good thing. That's no easy task, though, and the network of influence isn't something you're going to break up easily.
Not the bombardier beetle's hydrogen peroxide cannon? I'll never understand furries.
And then it will never get done because its on spotted ring-tailed banana slug migratory pathway over an indian burial ground.
There it is! :D
Don't forget naming things. I can never decide whether to call two arguments 'a' and 'b', or 'x' and 'y'.
It's almost like a financial system that is so incredibly prone and vulnerable to manipulation shouldn't form the backbone of our entire economy.

Oh wait. This is by design so the elite can retain all money and power.
Oh no, new aspects of human sexuality to explore, what a terrible thing
Pretty easy to succeed when it's the only language a browser supports.
Has anyone built a tool to suggest or automatically split a crate into sub-crates to help mitigate compile times?
I never want tabs in my files, as tabs render inconsistently across viewing apps. Tab characters are like nondeterministic spaces, so why would I use them?

Some things require tabs, like Makefiles. My editor (vim) is smart enough to know this when editing a Makefile and do the right thing.
This seems to presume things about energy or resource use that we have no empirical evidence of. Making things more efficient makes them cheaper to use and make, leading to a total increase in demand of the resource: https://en.wikipedia.org/wiki/Jevons_paradox

The only way to decrease the heating of the climate is to make heating it up more expensive. Or make people go to prison.

Making more efficient use of our computers will lead to more computers being produced and more energy being used to run them.
Leadership requires taking some risks
This is the unfortunate truth, and it highly bothers me. I started college pretty terribly but had a few friends who excelled. They finished before me and when the situation got dire I simply emulated what they were doing and "magically" got on their same level. It was just a question of work, constant and focused work. Not to mention that the more I worked on the material the more I got interested in it (I did many other things but this reply is not an essay on academic excellence).

After graduation I started reflecting on my experience and I soon realized that in my first years from an outsider's point of view I was indistinguishable from the mass of bored, passive students that crowded the classrooms every day, and yet I managed to escape the invisible prison and rose to the very top.

Is what I did something that would have produced the same results if applied to the majority of the students I initially appeared so similar to? This is the question that haunts me. Do most people in a certain field remain in mediocrity because they are mediocre by nature? Or is it because deep down they aren't actually interested and driven but are too scared to admit it to themselves? Or is it because nobody has taught them the truth about hard work?

Personally I believe (without much evidence) in the latter. I like to think that that silent majority of mediocre students truly wanted to graduate and would have done so with straight As if they faced the reality of the hard work they needed to do. I like to believe, perhaps too optimistically, that the bell curve of performance is not a statistical reality of the world but something that can be skewed to the right.
OP here - feel free to ask any questions. We are still trying to figure out what direction to take Jumprun in from here and would love your feedback and ideas. Thanks!
Agreed. Extending things like the LAN connection is usually actually a downside in most "PC in another room" cases and USB/display are already very easy/cheap to extend great distances. Being it's a PC in another room you probably don't want to plug in actual PCIe devices locally (GPUs, high performance disk, whatever) since it defeats the point of having the PC in the other room. The only real upside of Thunderbolt is it had the potential to bring things down to a single cable, assuming that single cable had enough bandwidth for your needs (e.g. a single HDMI 2.1 cable can deliver more bandwidth than an entire Thunderbolt 4 cable).
I think it's more of a societal shift than just purely on HN. I know there's no way for me to read every link submitted here but I don't see nearly as many technical articles. I miss the days of companies openly blogging about tough problems they solved or new OSS. There is a seemingly endless amount of articles around cryptocurrency or AI. It's gotten to the point where I don't enjoy coming back to this site.
On the other hand it has comments from antirez that are of general interest.
Nice!

Now do ReScript. :D
I'd even generalize it to 'it's about passing on ones genes'.

Death before one has had a chance to do so (or before any necessary utility towards one's offspring has passed) is evolutionarily 'bad'.

Things that help reproduction and success for one's offspring? Evolutionarily 'good'.

The tricky part is that a large portion of ANY human population is, near as I can tell, 'excess'/'hedging' population, and so will be 'doing poorly' in any given set of circumstances. Think of it as 'build time attribute randomization' when there is a random situation picked that people couldn't predict in advance.

That means that population wide, when circumstances change, the portion that is doing poorly vs doing very well can shift appropriately so the overall population survives. It is quite expensive, but seems necessary for us to have survived so long overall with the sheer number of apocalypses we know of (from plagues to invading armies), and the undoubtably countless ones we have forgotten.

This is true of any group or subgroup.
Ratio of users who are [hackers, entrepreneurs, tech people] has gone down, that's all.
A similar tool I highly recommend: https://github.com/justanhduc/task-spooler

At first I thought it would just be a one-off tool I used for one of my projects, not until I discovered later that it has everything I need and became my daily driver ever since.
Carter installed solar thermal collectors for heating water, not PV. They were torn down because solar thermal hot water kind of sucks. You don't see it much these days.
IIUC whether that is secure depends on your threat model. For example, how good is automated unlocking compared to unencrypted drives in a homelab setup?
Reading the article.made me realize that we could do something that might or might not be a net positive: we can assume that proc macros are idempotent and immediately use the cached version while still performing the compilation and expansion as we do now. If the result of the new run matches, then we mark the macro as "likely idempotent". If not, we mark it to never attempt to cache that macro for that crate version ever again (globally in a devs machine, even!) and invalidate all of the unitd that assumed idempotency. This would pessimize the incr comp performance for the first compilation the "optimization" fails, but would allow all other cases to compuke faster (with no resource utilization improvements). This approach doesn't require people to annotate their crates in any way. As an improvement on this approach we can add annotations for known non-idempotent crates to not bother with this new behaviour. All of this would get around the issue of "what if a crate is incorrectly marked as idempotent?".
FluidX3D
> How does the market grow if all trades are zero-sum?

The same way a cancer does: by repurposing adjacent systems in service of propagating itself, often to the determent of the function of those systems.

In the case of a financial market this means people spending their time watching lines squiggle around on a screen instead of finding real problems to solve.

Referring to the increase of stock prices as an indicator that markets are positive sum is a little like referring to an increase in hit points as an indicator that D&D is positive sum

It's not useful to use a system's own abstractions to measure its effectiveness.
Popped in here to say that AFAIK/IMO, most of the things people treat as "state" is actually "data".

And then I started thinking myself in circles around "okay, so what is state?". Rather than /keep/ thinking myself in circles, I'll ask:

What do y'all think "state" is?
Yep. It'd be a fun project to write a compiler for another language that emitted executable CSS on the back end.
“JavaScript’s success is unfair”, sure, whatever.

But that’s not the same as “JavaScript is a failure”.
Warn HN: DuckDuckGo is doing AI summaries for search results now?
Searching for "steam deck gamescope"[0], the first search result looked suspiciously autosummarized[1]. Refreshing the page seems to generate new summaries every time, for the exact same query[2][3].

None of these quotes appear in the page itself[4], in the content or source code.

There is no warning that this is happening, nor can I see a way to turn it off. Curiously, it only seems to happen for the first result, the other results' summaries appear verbatim in their respective pages.

[0]: https://duckduckgo.com/?q=steam+deck+gamescope&t=ffab&ia=web

[1]: https://i.imgur.com/k9WJneo.png

[2]: https://i.imgur.com/4MRXWCm.png

[3]: https://i.imgur.com/EWjQ4Xt.png

[4]: https://steamcommunity.com/app/1675200/discussions/0/5764050278022223667/
Although when striking is involved, leg locks loose much of their effectiveness.
Nice! I personally would prefer the host port to be on the back and to have more type-C ports.
Common Li-ions contain fluoride (in separator and/or electrolyte additives, iirc). Which upon combustion produce HF and other nasties.

Compared to that, I'd rather take my chances with sulfur compounds.
I.dont think so, and I'm convinced that this could be done automatically as part of rustc, with the negative side effect of small changes that affect the splitting behaviour causing wild compilation time changes that are hard to debug.
From Dreaming to Awakening
> it became clear to me how many special forms there are … and … how few there really are …

I'm having trouble parsing this. The two parts there seem to be saying opposite things. Was that an accident, or were you saying that from one point of view it seems to be a lot while from another point of view it doesn't, or something else?
We actually have a great tool to manage state, but nobody seems to have used it to its full potential: regular expressions.

Imagine your program is a big state machine, and inputs and other events are making it transition from one state to another, and when in a state the apropos actions are performed. On this view, your program just is a regular expression parser--the tokenized stream of input events is what it is parsing.

And what is a great, high-level way of describing a parsing state machine? Yup--a regular expression. When compiled, a regular expression is translated into a state machine. However, you can't really specify that an arbitrary procedure is called when it enters a state--it can only do limited actions, e.g. extract a substring.

If we could let the compiled state machine call arbitrary procedures when it enters a state, well, we'd have a new program-control-flow statement. A super-duper if/then/else.

Instead of writing state charts--absolutely the lowest level you can program a state machine at--we could specify the state machine in a very high-level, easier to understand and maintain way.
MDN says the ClipboardEvent (used for this sort of thing) was implemented between 2013 (FireFox) and 2017 (Safari).
Meh, software should be designed around being efficient from the start.

Doing it as a 'post-process' will most likely result in just another layer of semi-grifting "specialists" that will come up with over complicated "solutions" that focus on masking symptoms rather then actually tackling underlying reasons.
The reason we have to use VMs is because our OS doesn't do it's job, securely and efficiently multiplexing the hardware. In almost all cases, it gives all of the user's authority to every single instruction the user executes. It's like forcing someone to grant a power of attorney in order to make a transaction, even it it's to buy an ice cream cone.

You use a VM to make it possible to reset the state of an OS, and to limit its capabilities, so that you limit the capabilities of anything it runs.
Sentia, the "natural" version, was created to avoid regulatory problems. The GABA people say the synthetic one, Alcarelle, is better, but needs more approvals.

Their site indicates they're looking for an investor to put the products through FDA testing. That's a big effort. It's not clear what the criteria for recreational drugs should be. What if a small fraction of the population has an adverse reaction?
Love the idea; can I kindly ask if you're expanding to include German?
Which doesn't matter at all because once CO2 is released, getting it back out is utterly beyond human capabilities. Not 1y out, not 10y out, 100+ years out, maybe impossible.

So we won't be doing that.

Which seems to mean, climate engineering, here we come ... But it's not so easy.

Cooling the planet is easy. Heating it is the hard thing. In an emergency, we could undo 130+ years of global warming in a few hours, with nukes, without advance warning. And given a few months to a few years we could use much more subtle methods too.

Of course, cooling would make REALLY large pieces of land unliveable. And ... in warm climates you have energy available. You can fight the effects of warming locally, even in a single house, which humans have been doing since before history began. Fighting cooling ... only possible if you bring your own energy. Cooling is much worse than warming.

So in the long term the evolution of thought is even more funny. We COULD cool the planet. We'll doubtless figure out a few ways to do it. We have already figured out one or two ways, though they could be more subtle. Maybe even one or two really good ways. Then, we'll research the implications better, and find that given the choice between cooling and warming ...

We'll take the warming over the cooling, given the choice. Even just cooling back to the levels of the beginning of the 20th century would be far worse than 2 or even 5 degree warming. And the limit of what the climate anomaly, also called global warming, probably isn't even 5 degrees warmer than 1850. What burning all fossil fuels (including coal) could induce is not quite 5 degrees. Unthinkable (but historically occurred) levels of volcanic activity can get us close to 8 degrees warming, but humans can't.

If you look it up, by the way, you'll find that solar power, no matter which method is used, is MUCH better at cooling the planet than forests, oceans, steppes, deserts, ... just about any place where you might build solar power.

So we could see the ultimate joke. We may cool the planet WAY too much by accident ... then find we're forced to find ways to artificially heat the planet again!

The problem with the current viewpoint is it's very basis. The view that nature is good for humans, is good for itself. Of course, this is bullshit. Nature doesn't care. Ironically, Gaia is often associated with the view that nature will provide. What did the mythical godess Gaia actually do? She fought to protect her children, the titans, who killed entire countries with their entire population and left desolate, lifeless places behind, against Zeus. Funny, that.

Nature doesn't care and will kill us all. The question is when, but that it will is a complete certainty.
It only succeeded because it literally couldn’t fail. It had plenty of competitors and all of them had one critical flaw: not being built in to the browser.
A condition variable is used because the workers are waiting for a condition, `m_queue.size() > 0`, in addition to the kill flag. The kill flag is sticky, but the queue condition isn't.
I don't know about that but I wish HN had a configurable list of words that, if present in a submission's title, would auto-hide it for me.
Probably because the Dell Precision 5680 needs that whopping 165W
The point is that success sure tastes bitter.
The trading industry is separate from the investing industry.

The investing industry is positive sum - but you must hold for the long-run, or only make decisions if new information is discovered to be an investor. Vanguard and other passive firms are a part of the investing industry.

As the GP says, the trading industry is zero-sum.
It wasn't the only language browsers (vbscript was allowed client side in early ie) supported and also isn't anymore with wasm
Yes, I count at least 35 on: https://dancharblog.wordpress.com/2024/01/01/usb4-tb4-docks/
Right now I see this as an MVP to get feedback and see if there is interest. I have no plans to charge for any of the current features.
This seems to be Bing's fault, they do the exact same thing: https://i.imgur.com/YfP01T7.png
I’ve recently been disillusioned in my admiration for NASA.

How NASA used a child math prodigy back in the 1970s: “ At that time, I led my life like a machine – I woke up, solved the daily assigned equation, ate, slept, and so forth. I really didn’t know what I was doing, and I was lonely and had no friends.”

Career scientists and engineers using a kid like this? Pretty scummy in my book.

Compare that to how Srinivasa Ramanujan was treated nearly a century earlier by the British.

Sadly, your schools’s computer time wouldnt have made anyone blink.
to be frank, I'd say that judge knows nothing. the Protection measures, like encryption need keys, these are bot included, so yuzu cannot exactly bypass them. you need to get the keys to decrypt the roms.
if you don't care for v1 and odd cyphers, --without-openssl
I second this! Obviously I wouldn't expect it to be free because of the different technologies (either current or planned) involved, but the lack of clarity in all the descriptions makes me doubt investing time/effort on it.
Pine Bluff is crazy. I know this because many years ago I found an amazing building in the downtown area for sale and went to see it. After a couple of hours of tours from a real estate agent and town officials I realized that this place was not coming back from the dead. The previous owner of the building had been stabbed there while trying to get it ready for occupancy. The city employees openly wanted money to help me avoid taxes. And the kicker was that it smelled awful when the wind blew in from the nearby Tyson chicken farm. It’s consistently been in the top murders per capita rate in the US. I feel bad for this guy, but it would hard to miss the red flags before buying there.
But what about go slices?

https://news.ycombinator.com/item?id=39477821
HN is always getting worse - a phenomenon so old, it's listed in the site guidelines and reams of moderator commentary.

You can help fight entropy by posting interesting things and flagging bad things and/or emailing hn@ycombinator.com about them.
I had this as well and was diagnosed with sleep apnea. Sleep with a CPAP machine now and it has made a huge difference in my life.