skysight-inc/HackerNews huggingface dataset:
The behind the details of Rust async is rather hard to follow
There's waiters and polling that only execute your function to progress and there's pending and done. Any help to understand the relationship between the waiters, pollers and executor and runtime things would be appreciated.

I wrote a M:N thread scheduler in C, Java and Rust. The C version also can schedule file reading to an IO thread but I'm nowhere near finished.

https://github.com/samsquire/preemptible-thread

Another of my ideas is to rewrite synchronous code into parallel LMAX disruptors. In other words a tree of RingBuffer each line of synchronous code its own event loop. Rather than one event loop multiplexing events from different systems you pipeline every blocking call. I think it would be very fast.

Here's a write-up.

https://github.com/samsquire/ideas4#51-rewrite-synchronous-c...
In what context?

In New York and many other pedestrian-oriented cities around the world, more people get around via walking than driving for intra-city trips — the cars are the ones blocking traffic flow there.

Nevertheless, I’m of the persuasion that people who live in a neighborhood/city/region should be prioritized more for quality of life purposes than those merely passing through on a commute. Thus I would argue a pedestrian-hostile six lane road has no purpose going through a residential area, and in the same way I think there’s as many places where pedestrians should be prioritized highly above cars, such as neighborhoods, school zones, and dense commercial corridors.

It’s all contextual.
At present the turbines are not recyclable. https://www.bloomberg.com/news/features/2020-02-05/wind-turb...

EVs are probably really worse than hybrids. https://youtu.be/S1E8SQde5rk

Solar panels are pretty toxic. Present recycling produces all sorts of toxic waste that might be poorly handled. https://www.cfact.org/2019/09/15/the-solar-panel-toxic-waste...

Batteries are often sourced from slave labor. https://www.greentechmedia.com/articles/read/green-battery-r...

Lithium miners often continue exploration of indigenous peoples. https://www.washingtonpost.com/graphics/business/batteries/t...

Lithium mining often poisons the environment. https://www.instituteforenergyresearch.org/renewable/the-env...

The list goes on.
I did not claim anything about what should or should not be subsidized by taxpayers. My comment was simply about the actual cost of providing ambulance services.

The fact that the insurance company can negotiate the bill to $500 indicates what the real price is. The $12k number is just fantasy numbers that healthcare providers throw out to start the negotiation.
Their first prototype used a grid of off-the-shelf portable "pico projectors" (half a million pixels per projector was mentioned, so perhaps each pixel had 800x600 "rays").

https://youtu.be/p1b3wEsFlCY?t=913 (2018)
Did they ever stop to consider that everyone is already carrying a screen that only they can see in their pockets?
Slowly establishing power and political structures designed to take advantage of you and the other technical staff while you are distracted building the product.

That way if/when they hit any big money it will be easier to maximize their own cut and push you out whenever technical integrity becomes an obstacle/irrelevant.
> There's an alternative, which is to ask whether something EVEN HAS A CHANCE of being relevant in 10 years. Experimentation and risk-taking is fine, hamster-wheeling and "bullshit jobs" are a waste of life and destroy the earth, for little benefit.

I sympathize with this sentiment, but it's impossible in practice to reliably predict what will be relevant in 10 years.

Also, I don't believe it's possible to get the signal without the noise. I've even come to believe the noise may be the generator of signal. We live in a probabilistic universe, not a deterministic one.
My children did not like scratch (it is taught at school in France). They had much less problems to understand Python which seems more natural in the interactions (displaying things, especially).

They are unfortunately not interested in programming but when they have to do something at school they catch up with Python quickly. With scratch not that much.
One thing I don't really get is why they don't take advantage of the screen that everyone already has in their pockets - and which has built-in tracking to boot. All they need is an app.

And this way it would be totally opt-in by installing the app.

I know this tech is also opt-in, however, the facial recognition itself is seeing everyone, even the people who haven't opted in, and is probably tracking them. Just doesn't know who they are.
I've been on Linux until I got an M1Pro. Docker build on mac's, even M1Pro are slow IMO compared to Linux.
Suicide is something that just claims a lot of lives. The tragic thing is that often these people are not beyond help and just get caught up in a desperate moment. So, I can see the value of a phone number that is there. Of course suggesting that as a solution to somebody that is suicidal is not always going to produce the desired outcome. But it's not like that that is going to push them over the edge either. And I imagine there are people that do call and live. The math is probably in favor of that number being there for those who need it.

Of course some people really are determined to end their lives but for many this is just a desperate way to solve a seemingly desperate situation that objectively isn't actually that desperate. People with mental health issues often have trouble doing rational things and sometimes just calming them down gets them to a stage where they are at least open to being helped. That's hard work but it saves lives. Usually that help comes initially in the form of extremely heavy sedatives. That doesn't solve any of the underlying issues but it does get them in a state where they are at least able to be somewhat rational again.

I have some relatives and friends with mental health issues that went through such a thing. I also remember talking to them while they were in the middle of that. It's just horrible to witness somebody going through such a thing and realize that they are scared of what they might do to themselves and that there is literally nothing you can say or do that changes that. I'm glad they are still there and managed to find a way past that and back to leading a happy life. But of course not everybody is lucky enough to hear what they need to hear or get the care they need when they need it most.

A common pattern with people that are difficult to help is that they reject the whole notion that they need it to begin with. Telling such people that they need help is not an easy message and it can easily result in people getting upset and angry. But not telling them is not an option either. A phone number is not a solution to anyone's problems. But somebody will answer that call regardless and it might save a life once in a while. The absolute worst case is that it doesn't, which I'm sure happens as well.
>we technologists should be exceedingly mindful of the dystopian future we're giving our overlords

Look, at this point, you know it is inevitable that this dystopian future you speak of is going to happen. Why not just embrace it now and live worry free since you will no longer need to be concerned about it happening. You're less productive to the overloards when you're stressed. /s
I'm going to posit the closest modern analogue to coal is not wind and solar but rather nuclear. People hear nuclear and immediately think "no thanks" despite it solving energy scarcity and cleanliness in one shot.
Depends on the work. I'm always amazed at how long my battery lasts when I'm just doing writing related tasks--I definitely see the two day battery life others mentioned--but anytime I'm touching code or compiling anything I get about 6-8 hours
Quality of life has been impacted by changes in climate and we can measurably link human activity to it.

I don’t need doomsayers or keep calm carry onners while we collect data to generate directionless statistics chiming in anymore.

Experts have to accept their professional title does not make them smarter than others with the same quantitative ability.

Specific forecasts are wrong. That nothing is wrong is wrong too.

Chanting the ways in which someone else is a hypocrite is exhausting at this point.

“Do nothing until it’s an actual problem.” - people old enough to die before it’s a problem.

Ok we get it; you aren’t part of the solution.
There's a strong sense of "it shouldn't be like this" - that our kids should not be being used for target practice. Making them hardened targets doesn't feel like the right direction. We want a solution where they don't get shot at.

"We" in the previous paragraph not meaning me, AnimalMuppet, and you, josephcsible, but rather "people in general". But I say "we" instead of "they", because I at least understand the general sentiment.
more like - 'zero trust' in the sense you cannot trust it
It's just a list of objectively failed predictions. The source's lean doesn't matter, you can't deny the contents of the article.
> While I'm walking around with a computer in my pocket that also doubles as a telephone? And in the video, this is apparently the same phone I just used to check in?

This indeed seems like a glaring oversight

> It's maybe a great benefit to whoever makes the boards and whoever at the airport is getting the kickback.

Bingo :) Follow the money.
I know there are privacy concerns with this kind of thing but I think it's a nice use of technology.

I recently came back into the US as a Global Entry member and didn't even have to get my passport out of my pocket. I'm not even a US national. Face scan as the e-gate and straight through. The scanner didn't even have a lag, it probably already predicted I was walking up before I did. No awkwardly scanning to get the right angle, or putting my passport in multiple times to scan. No human in the loop. Are there terrifying ways that could be bad? Absolutely. Technically impressive and convenient? Yep.
> I can't fathom optional parenthesis. In this code it makes it very hard to know if today is an attribute or a method without knowing the context.

Optional parentheses exist because it is impossible for there to be ambiguity: after a dot, if a name starts with a lowercase letter it is a method (and the reference is a call). If it starts with an upper case letter, it is constant (which is not callable as a method.) There are no other possibilities.

“Attributes” in Ruby are literally just getter methods (possibly paired with setter methods.) There is no object-dot-field access to fields (instance variables exist, but outside access to them doesn't use that syntax, but instead goes through a different set of method calls: Object#instance_variable-(get/set)
> I worry that some of the toxins produced with modern technologies may be worse than what we already have.

Well worry not, as coal is known to be the greatest contributor of radioactive elements and mercury in our environment at the moment.
A lot of the time, SSL MITM proxies are used as a mechanism to detect malicious content within a corporate content. I have seen, deployed across millions of machines, prevent phishing documents from being detonated thousands of times.
I don't think anything about what you just said can be assumed to be true. I am not convinced that increased police expenditure has a significant impact on violent crime, and even if it does I don't think it's reasonable at all to assume that violent crime rates would have increased without them.

I suspect that decreasing violent crime rates are caused by a constellation of forces (increased education, aging population, decreased alcohol consumption, more out there stuff like decreased childhood lead exposure, etc.).
> It doesn't really matter how you build a home though, it's eventually going to become creaky and drafty over time.

Why is that?
I know what the other side’s assumptions are, I even mentioned as such in my comment. They can keep their assumptions to themselves, and use them to make decisions about their life.

But I do not see why I should care. If someone’s assumptions lead to harm for my non fetus daughter, wife, sister, or any woman, then that is all that is needed to for me to write off their point of view.
Allegedly it has already had an effect on rainfall but I haven’t found anything refereed on the topic (not that I tried too hard — not my day job).

Also the effect is allegedly improved monsoon in some places (at the cost of drought elsewhere). I’d think that the cost alone would have given rise to some interesting papers, were it actually happening.

All that being said, I’m still encouraged by some efforts, though they remind me of protectors trying to repair the ramjets at the edge of the ringworld.
This seems like the first step to implementing personalized ads everywhere.

Opt out? You get the most annoying ones.
It's winter here New Zealand. Something like 30% of people in my region still burn coal in the winter to keep their houses warm. Most of the rest burn firewood.
Steel seems a terrible material for a building shell because it conducts heat so well.
What I used to do was to give the dev docs to non-developers (people who never wrote code before) and ask them to follow them. I'd just set up the console and let them take it from there.

Shut up. Look at where they struggled and note the questions they asked (gems). Refine. Ask them again and other people as well to have fresh eyes.

Once the non-developers could go through it easily, I knew the developers would succeed. I'd of course run it by developers as well.

A few iterations were enough.
I guess the real question there is, does a directory count as a file for the purposes of this discussion.

It seems necessary that the blocks storing the directory entries are cached too. Otherwise every non-existent lookup (that doesn't hit a negative dentry) would hit disk, each separately.

So yeah, the page cache is keyed by file, but the system should still cache the directory structure.
Leave a javascript project for more than 2 weeks and you'll get the same thing.
So colonialism?
> 40C

And for those of us in the US who don't know but aren't curious enough to look it up: 104 F
I am perfectly aware. It does not change my opinion that sacrificing the life or quality of life of a woman for the fetus is not an acceptable position.
Curious as to the application of Scratch into enterprise software, specifically to develop low-code applications.
> It was the community aspects that really drew in my kids. They would get really excited whenever somebody followed them or “loved” one of their projects. It gave them the motivation to build more ambitious things.

This is really what sparked my love of coding and, more broadly, creating things when I made projects in Scratch as a kid in the early 2010s. Seeing all of the positive feedback on stuff I posted as well as seeing the awesome stuff other people posted motivated me to keep one-upping myself with cooler and cooler projects. Those who downplay the positive effect Scratch can have on kids tend to overlook this part of the equation.
Usually the top comment in a HN discussion is a takedown of the OP, but I didn't expect that for a suicide prevention hotline!

I'm sorry about your problems and your experiences. While the hotline may not suit you, millions of others do call and find help. Also, imagine a world without one - where a person has nowhere to turn.

> it has become commonplace for social media users to simply paste the suicide hotline number and walk away

That sounds awful; where do you see it? Fortunately, I haven't seen it on HN.
She probably carries a paper boarding pass with all the info she needs, and probably hasn’t registered her face with the airline either.

Start with the early adopters and then broaden into the early majority…your mum will be at the other end of that bell curve. This is classic Crossing the Chasm stuff.
Apple has to your point differentiated in micro architecture.

Having the whole slab of TSMC’s best new process locked-in until the heat death of the universe doesn’t hurt.
The classes got wiped out in all Central and Eastern Europe countries which went through communism. Pretty much all of their wealth was confiscated and they were persecuted to a various degree. From society's perspective, it's actually one of the positives of going through the horror of communism - the societies were reset to be much more egalitarian. Even to this day, wealth disparity in post-communist countries is lower than in Western Europe - there wasn't enough time yet for the true billionaire elite class to emerge from the egalitarian soup.
There's been some discussion (for various sites) about what percentage of replies are written without actually reading any more than the headline.

Are you thinking about writing a bot that replies to Hacker News posts?
Tick the checkbox next to the variable in the block palette. That creates a variable watcher on the stage. You can also right-click the watcher to change it to a large readout, displaying the variable contents within a minimal frame.
The word “proof” in that context just doesn’t mean what you think it means. It’s an administrative context, not a scientific context. It’s not that hard to understand.
> high suicide rates in Foxconn

Didn't that turn out to be considerably lower than the average suicide rate in China?
Yeah, who knows? Maybe the positional display tech works better than I imagine. I guess if it could narrow the viewing angle down to the eyes on a person's face, there wouldn't be much of a concern. But I have so many other questions. For example, does standing further away from it effectively broaden the viewing angle for a specific view? Maybe that could lead again to privacy issues.

But I should admit that the viewing angle tech is pretty neat. Maybe there could be other interesting applications for it.
Yeah, and I don't think it would be terribly unusual for 50% markups to translate to low-single-digit profit margins in cost-competitive retail sectors - those both seem like about the right ballpark overall. Retail has a lot of costs and wages are one of the big ones.
This is the first time I can recall hearing of 311. Apparently there's a wiki page on it. Looks like it might not be available everywhere.

https://en.wikipedia.org/wiki/3-1-1
Every variable has a checkbox they makes it show on screen: https://en.scratch-wiki.info/wiki/File:Checkbox_to_show_or_h...

There is also a command block to show or hide it dynamically.
> There's also a relatively common experience I've heard where people who aren't actively suicidal call these lines, and the operator (I won't say counselor) is completely dismissive: "if you're not going to hurt yourself, what do you want me to do?"

That would get you dismissed from any reasonably-run suicide hotline program ASAP.

I have a friend who volunteers for a suicide hotline program here in the US. He says it's actually well run and they keep close tabs on the volunteers. Everyone who volunteers is doing it because they care. It wouldn't make sense for someone to volunteer for such a program just to be dismissive and rude to people who call in. However, I could see this happening at poorly-managed programs that use low-paid employees without proper training and supervision.
The (Baseline) Unicode Plan For C++23 [pdf]
The GP is just awful. I hope the author reconsiders that comment and removes it.
There was a time when the sync CLI exited before the work was done, so you actually didn't want sync;sync;halt, typing it as separate commands gave it the right amount of time to complete.
The video shows otherwise, i don't know if it is manipulated, but its filmed from behind the person looking at the board.
It'd be great for trains in countries where they only announce the platform shortly before boarding.

It's such a hassle to find the departure on a giant board and monitor it closely among a sea of boarding times.

This is especially bad when you're running late and suddenly you have to stop your frantic race to the gate to methodically peruse the board.
Russians 'Celebrating' as Europe's Political Crisis Grows: Italian Minister
The patent mentions this system a few times, and it sounds like they moved away from this model due to mainly cost/benefit and scale up reasons. Laser pico projectors are certainly an easy way to do this, they're literally just a laser aimed using a mirror and you can steer a beam exactly where you want it. I'm surprised they're not hacked on more as they're probably one of the coolest gadgets around technology wise.
I don’t think we watched the same Halo show.
Plenty. Public health bodies, scientific journals.

It blows my mind that people expect unspecialized media to get science right, and get upset when it doesn’t.
Do you think this is good or bad? Frankly the fact that the data is available seems ridiculous to me. Nothing stopping an administrator from pulling a Pelosi and having their significant other to feed the data elsewhere.
It has seen a lot usage embedded in different tools but just isn’t a good fit for a general purpose language. It actually becomes much more difficult to manage as programs get larger. I’ve tried many of these tools over the past two decades and some are fine for what they are but none left me with hope or interest in seeing it replace the dominant paradigm in general.
Corporations are run as command economies by a small handful of people. Corporations indirectly run society. Hence a small number of people run society. Which means that democracies are not run by the people. Hence democracy in name only.
In the 80s?
But both the M1 mini and M1/2 Air can drive two displays total? I think it’s clear they just took what’s usually the internal display output and routed it to HDMI in the Mini.
What sort of setups does this support? What drone models and firmware? What sort of cameras are supported? Quads? Fixed? DJI? Betaflight? Ardupilot? Does it need a camera with a gimbal?
Generate images based on given text on Discord
> Um, lenticular lenses? Those aren't proprietary. Children's toys have lenticular lenses on them. They were patented in 1912. The idea of using them to display different images to different viewers is also not remotely new.

That's absolutely not what this is.

Imagine each pixel is a high-resolution projector.
Hash is extremely contemporary, newer than number, and still a nickname. Pound is older, but it's true proper name is octothorpe.
I'm not arguing that it's crucial, but I think it's a neat convenience. Everyone has spent time scanning through that list trying to find their flight to see what gate it's at and whether it's leaving on time, information that can change and may not be up to date on the boarding pass.
Manufactured homes are usually moved only once, so no need to move it with belongings and furniture. Weight is still likely way too much though.
Because otherwise everyone can read and change what you're browsing without your knowledge. AES is hardware-accelerated on most machines.
We're spreading FUD about even a suicide prevention hotline? This is going way too far. Someone who needs help might not get it.
The Button Element
By most accounts, the sequence of committing suicide has much worse outcomes for the individual than forceful intervention by police.
I agree. Tom Cruise was also well-cast for that. He typically plays hot-shots, and here he again is a hot-shot upper-class doctor, but one who by happenstance brushes with forces in the society that are way out of his league and whose existence he didn't even suspect. He comes out of it thoroughly humbled.