skysight-inc/HackerNews huggingface dataset:
Fan-in, as described in the proposal:

void serve(ServerSocket serverSocket) throws IOException, InterruptedException {
try (var scope = new StructuredTaskScope<Void>()) {
try {
while (true) {
var socket = serverSocket.accept();
scope.fork(() -> handle(socket));
}
} finally {
// If there's been an error or we're interrupted, we stop accepting
scope.shutdown(); // Close all active connections
scope.join();
}
}
}

It's not exactly clear the exact specifics of how the above works regarding child tasks being able or unable to shutdown the parent scope - it only has the exception handler for the loop itself, which then performs .shutdown, which interrupts all the child tasks.

However, if we continue with this assumption, then C# implementation is just the following:

async Task Serve(Socket socket) {
using var cts = new CancellationTokenSource();
try {
while (true) {
var conn = await socket.AcceptAsync(cts.Token);
// Or pass cts to Handle itself if you want to allow the handler to cancel the listener task.
_ = Task.Run(() => Handle(conn, cts.Token));
}
}
finally { cts.Cancel(); }
}

With that said, the difference to Java Structured Concurrency as proposed is that it offers tree-like tracking of child tasks/green threads, control over their execution, and, possibly, nicer debugging experience.

I don't have an opinion whether the semantics of .shutdown() which ends up calling .interrupt() are sound without reading more carefully. If it can interrupt the execution at any point, this is extremely dangerous and will break a lot of existing code. It's one of the reasons why thread.Abort() got deprecated in .NET - the API brings too many issues and cannot be made to work reliably without hindering optimizations or violating expectations.

If it's not the case and it's more like flowing CancellationToken implicitly, then it may be a nicer experience depending on the situation. If it only interrupts upon suspending on .Join, IO wait or similar - it's still the kind of API that you are forced into instead of deciding whether cooperative cancellation is even safely possible given specific logic, without having to write try-catch blocks for each callsite. This is my surface impression and I will continue looking into this API.
Terrorism definition is independent of whether there is ongoing war or not, lets not divert the subject with simple whataboutism.

We all know what happened, on both sides, including deaths of tens of thousands of civilians including thousands of palestinian children who did fuck nothing to anybody, just were born at bad place at bad time.

What would be enough kill ratio israeli : palestinian civilian, or even better israeli civilian : palestinian kid/baby that would satiate Israeli government to stop the war? Very conservative estimates put deaths of direct US invasions of Afghanistan and Iraq to around 500k, meaning its 500:3 ratio and factual defeat of US army to withdraw and cut losses. So thats the threshold of civilized western world? Israel already surpassed that long time ago.

They can't and won't win with Hamas and they know it, its exactly same situation as Taliban, ISIS etc. Regroup, strike back, stronger, smarter, better equipped, more motivated. Spiral of death can go on and on till there is nobody standing on neither side.

If I had to choose where the next nuclear detonation happens it would be for me 50:50 Ukraine : Israel, and this is how you get there.
Cloudflare Network Issues Affecting Service Reachability
I thought they explained it pretty clearly: since it's not legal to FedEx $43k in France, everyone in Indiana should've expected this turn of events.
Exploding pagers belonging to Hezbollah kill 8 and injure 2,700 in Lebanon
Good point. But the same applies today--the benefactors like Musk, Isaacman, and Bezos all expect to gain from the exploration, maybe not in terms of money, but at least in fame, or as they put it, "advancing human achievement."
I feel like in general the isolation of COVID, combined with extreme wealth, broke some rich people's brains.

Musk has always been an awful person, but people like him sort of knew where the societal red lines were and kept their worst impulses under wraps.

Ever since we entered the "post-shame world", he is not hiding his awfulness any longer. He is actually proud of it.

Oh, and he is also convinced that he is absolutely hilarious.
I think this kind of app's niche may be in elderly pets, where occurrences of vomiting/stool characteristics may be valuable when talking to vets and tracking patterns. Otherwise I agree, for the average healthy pet it seems to me like just another thing™ to have to get out your phone for when your hands should be busy giving pets/throwing toys.
Roasts of a couple of my websites were entertaining and helpful — well done!
I think the point is that if you're not Hezbollah or any kind of political actor, but just a customer for Israeli technology (public or private), would you really want to keep buying it? Leave aside boycotts over Israeli policy, you might be opening yourself to becoming an Israeli attack vector and either find your own interests compromised or become a target of Israel's enemies if they thought you were complicit.
The reason you are asked to prove your laptop can boot at airport security is that batteries and bombs have similar densities.

It would be pretty straight forward to rig a pager to run off of one battery while the other is an explosive charge made to look like the actual battery.
So why should I listen to a podcast that nobody bothered to record?
Hello! How does it compare to DeepEval (open source)?
You probably need firmware and some major component modification, such as a display or battery, but not more than this, to pull it off. So at a minimum, two components, or perhaps one smart component such as a display.

It seems the model was the AP-900, not the AR-924, which used alkaline (ie removable) batteries, so a new theory is an EFP (explosively formed penetrator) manufactured into the device.

It appears the devices do not function on cell phone networks but instead on internal radio networks such as those used within industrial or medical settings.

Best guess is the displays because:

1) there is enough room for the EFP,

2) you could modify the component to trigger itself, meaning it doesn’t need coordination between any other parts of the device

3) there are a lot of injuries to the face reported — with a display you could trip on button push without needing access to the button, when people tend to be looking right at the EFP

4) in the videos the explosions look very directional
Breaking ReCAPTCHAv2
> Our work examines the efficacy of employing advanced machine learning methods to solve captchas from Google's reCAPTCHAv2 system. We evaluate the effectiveness of automated systems in solving captchas by utilizing advanced YOLO models for image segmentation and classification. Our main result is that we can solve 100% of the captchas, while previous work only solved 68-71%. Furthermore, our findings suggest that there is no significant difference in the number of challenges humans and bots must solve to pass the captchas in reCAPTCHAv2. This implies that current AI technologies can exploit advanced image-based captchas. We also look under the hood of reCAPTCHAv2, and find evidence that reCAPTCHAv2 is heavily based on cookie and browser history data when evaluating whether a user is human or not. The code is provided alongside this paper.
> let’s focus the discussion on the technical aspects of it.

The headline chosen here is already biased: "Dozens of _Hezbollah members_ [..]"

Anyone following this closely can see that plenty other title choices could be used. There are headlines that would be credibly neutral, headlines that favor the IDF, and headlines that favor Hezbollah. HN is currently choosing to go with a non-neutral, non-technical headline for this story. Maybe we should make the headline neutral as well before telling the commenters to focus solely on the technicals?

If you don't understand what I'm referring to, look at some of the downvoted and hidden comments here.
I wonder why they did this, thus revealing that they compromised a lot of devices and losing that capability, instead of quietly continuing to monitor them and using their location to perform attacks via other means if needed.

Maybe they hope the psychological effect is a big deterrent?
Its the law of the land we live in.
The fact that these pagers were to be used by Hezbollah is what they did.
Option 1: remember to press Win+spacebar before launching game

Option 2: launch game, navigate to settings, write down on a sheet of paper what the current keybindings are (since one I press "." for "e" it's going to either whine or blank out whatever "." was mapped to when I started), repeat that exercise about 25 times per game, times the 15 games I have in rotation right now, feel that was a great use of my "downtime"

Option 2 has the added bonus of making it 50/50 whether the game help text knows I remapped, and thus says "press . to open door" or whether it continues to say "press e to open door" and I have to guess whether it means "their e" or "my e"
...or the manual.
Modified firmware that triggers on a receipt of a particular message and/or from a particular number?
You are making a lot of mental leaps to things I didn't say. You only stay in business if money in so I hope the something you are doing brings in enough to stay in business or else you won't be doing anything

> If they chased only profit, their life would be miserable.

Get some hobbies and don't make work your life.
It's more complex than that. There's no right answer and therefore every answer is wrong :(

For more critical observers, you're right: raw input is preferred. However, most users (casuals) expect similar settings as their OS. It's probably best left up to the user to decide, but to default things to the OS legacy settings. A more advanced player will know to tune the settings while the less advanced just want to launch and go.
We’ll provide you with a complete 2-3 minute remix of any song using state of the art music generation AI and high quality prompt engineering.

In 30 mins or less, we'll email you a high quality WAV file of your remix. You’ll have full commercial rights to use the remix however you choose.
https://github.com/aplesner/Breaking-reCAPTCHAv2

> CAPTCHAs (Completely Automated Public Turing Tests to Tell Computers and Humans Apart) have been a vital security measure on the internet, protecting websites from automated bots and malicious activities. However, with the rapid advancements in machine learning and artificial intelligence, the effectiveness of CAPTCHAs in distinguishing between humans and machines has come into question.

> This semester project focuses on Google's reCAPTCHAv2 system, which is widely used across the web. We aim to analyze the effectiveness of reCAPTCHAv2 in rejecting bots using advanced deep learning models such as YOLO (You Only Look Once). Our research explores the vulnerabilities of image-based CAPTCHAs and develops efficient methods to solve them using state-of-the-art machine learning techniques.

> Our main findings include:

> We can solve 100% of the CAPTCHAs presented by reCAPTCHAv2, surpassing the success rates of previous works, which range from 68% to 71%.

> There is no significant difference in the number of challenges required by humans and bots to solve CAPTCHAs in reCAPTCHAv2, suggesting that current AI technologies can effectively exploit advanced image-based CAPTCHAs.

> reCAPTCHAv2 heavily relies on cookie and browser history data when evaluating whether a user is human or not, highlighting the importance of considering user-specific data in CAPTCHA design.
* A terminal command just for displaying documentation on all other supported terminal commands by the application. Then more detailed documentation for each specific command with examples. Finally, a validation engine that allows per character validation of terminal input, as in a REPL.

* Similar input characteristics for a web-based interface.

* Documentation search function and/or auto-complete
Nice ideas, but we have chosen a really simple Kubernetes deployment. We only install the host OS (ubuntu server) and then join the self-hosted GPUs as workers in a Kubernetes cluster.

No other task is needed and our Grafana monitors if the server (and its containers) are up and running.
> You're not the best at everything, and you don't have to be.

As a 50 years old person that some time ago was one of these brightest in class I can say that for most of us, people, it is:

You're not the best at anything, and you don't have to be.
Plus this should disproportionately target the disabled and working parents without triggering any discrimination lawsuits. Those groups have higher healthcare costs so even more savings.
Oh yes most definitely. Pagers are usually used this way in all of the other uses anyway (to quickly contact and inform ground actions like in emergency services).
Happily, you can ignore the Maven XML and use Gradle instead, it's the next codeblock on the page, after "or":

implementation("org.graalvm.polyglot:polyglot:24.1.0")
implementation("org.graalvm.polyglot:python:24.1.0")
Snapchat announces new generation of AR glasses
It is all a house of cards. A bunch of people in the city became dangerously levered bagholders, and the city is pushing people to come unnecessarily. It is a huge amount of waste of time and resources for the sake of an economy.
Well, in some ways WFH made offices more soul-sucking because it's a lot of shared desks now. Personal desk, locker, plants, other custom office clutter, a door and so on were nicer.
I would like it on the sides but the clock never looks right in that config IMO.
That's definitely fair. Running the command `rg "amd_pci_dev_to_node_id"` with default settings on the Linux kernel source tree 5 times takes: 2.48s, 1.39s, 0.816s, 0.448s, 0.438s. I'm using an M2 Max Macbook Pro.

The first time is consistent with what I reported above (I only ran the command once), but the subsequent runs are definitely faster than what I had reported and the last two runs are definitely faster than Codebased. Sorry, that's my bad.
With semantic search + re-ranking disabled, that query runs in 102ms on Codebased, but that's not the default.

Thanks for making ripgrep!
> shallow knee-jerk accusations of racism and fascism and Nazism and so on

It's important to understand that, particularly in Sweden, it was actually neo-nazis who opposed immigration for a long time.

This probably isn't the case anymore, but it's hard to convince people who remember and were there that it isn't the case. It doesn't help when people don't bring numbers to the table (or the numbers that matter). Some incredibly stupid people feel compelled to bring race or ethnicity to the conversation and that can be very tainting. There doesn't need to be a lot of them, just a few can discredit.
The "news" doesn't even seem to exist anymore. News providers have adapted to the readers only wanting hear their own views supported.

Not only are there specific providers for specific worldviews, but major providers seem to spit out articles catering to every viewpoint. You can find probably find multiple pro Israel and anti Israel articles coming from a single news source on a single day.

So, I dunno maybe we need some kind of cumulative news app to get any kind of meaningful idea of how things are actually leaning. Like an AI summarizing sentiments of the 20,000 articles on Israel in the last week to determine if the news is slanted.
What connection deal do you get for that? Does it have uninterruptible power supply?
Hey HN,
I have just launched the beta of my robust exam generator called Exam Samurai. Upload any style notes, and instantly generate a test exam to see how well you know the information. I built the platform to support multiple question types as well, in case your exams aren't simply multiple choice. I would appreciate any feedback I can get on the platform. As for the cost, it is $5 for anyone who finds it organically, but it is absolutely free with the code BETA so please use that so you aren't paying for it. Any and all feedback is welcome, thank you so much.
I mean, he called a diver rescuing children a "pedo", and everyone just shrugged and moved on.

https://www.cnn.com/2019/12/03/media/elon-musk-testifies/ind...

Apparently, you can win a defamation suit by claiming that "yeah, I made it up and just said it".

I feel like at the time his celebrity carried him. Not sure this would play today.
"Great" is way too subjective, but I'll say this: I'd much rather listen to the 2023 list than either of the others you shared.

Life is a lot easier when you stop trying to insist that the subjective is objective.
My org may be more lenient than I understand it to be, mainly I don't know what if any consequences there are if I do WFH while sick/recovering/contagious and am only in the office twice in a week.
But we already have videos of people standing in very close proximity to the devices being detonated - and not getting hurt. In-fact, many of the people carrying the device in their pockets ended up not sustaining life-threatening injuries.

I'm not saying civilians weren't hurt by this. But I'm also saying that no war has 0% civilian casualties. Those two countries are at war with each other.
Many RTO mandates are worst of both worlds: hot-desking, lots of Zoom calls. I'm not sure where Amazon lies on that scale, but if I was forced back into the office just to Zoom from there, I'd be pissed.
Seems to be working for me now. (Europe)
Amazon doesn’t “run” (control) any market. They have a hand in retailing, logistics, web services, media, etc, but in each one, there are notable competitors.

Not unlike other conglomerates, like Berkshire. But AWS’ big profit margins give Amazon a big upside.
> make the device exagerte some existing functionality to a point where it caused a malfunction? Thoughts on this?

I'm actually astounded by the things that must have been in place to make this attack even plausible, let alone viable. At the same time, the ramifications are sobering. Here's where my head is:

- Hezbollah failed to inspect electronics that, if tampered with, could have lead to some kind of intel breach. That or the explosive modifications were indistinguishable from the real thing.

- Operatives knew what pager numbers were in use by Hezbollah, perhaps exclusively to the rest of the population.

From there I have three possible explanations for how this may have been executed:

1. Many shipments of such pagers bound for Hezbollah in Lebanon and other places in the region, were identified, intercepted, modified, and sent on their way with minimal delay. You probably don't get many opportunities like this (how often do you replace a pager?), so this is really quite a hat-trick.

2. Or: there are many more pagers out there with a very dangerous vulnerability on board, with only a special pager sequence that stands between the user and sudden death. This suggests simply infiltrating the manufacturer instead. This also has much more favorable lead times and can leverage the manufacturer's resources to that end.

3. Or: There's a pager manufacturer out there with gob-smackingly bad engineering and software on completely stock units, which operatives simply exploited to (sub)lethal effect.
This is pretty great, +1 for tailscale!
Don't pagers just used AA or AAA batteries ?
I mean... yes... if you limit any context by excluding important elements of the context the takeaways will be different.
is that what Amazon is doing? “create a website”?
This is incorrect in a disturbing way. How can something be "targeted" if the attackers simply do not and cannot know where the attacks are going to take place, physically and geographically?
Hezbollah would nuke Israel if they could. You think they're above pager bombs? They just cant execute
> Inside the battery is perhaps the best hidden, but you'd need to own a bunch of battery manufacturing facilities (expensive).

Do you?

What stops you from just taking a smaller battery and packing it with some plastic explosive into the typical "battery foil"? I'm sure the IDF is capable of doing that at scale.
Delete this comment now before the rest of the MBAs get ideas.

In seriousness there a number of them who believe WFH is a favor to employees and not just the best option all around.
It has to do with Fermat primes.
There are too many threads and this is too complicated a topic for a technology forum website so I’m not going to weigh in everywhere.

But you yourself recognize that a) Hezbollah is a de facto government, not just a military or terrorist organization and that b) its folly to do some sort of algebra on casualties in these conflicts and intent is what matters.

It’s hard to come up with a plausible intent for a strike that injured 2700 people, with only the weakest of targeting mechanisms across a population that ranges the gamut of occupations, other than terrorism.

We would certainly view it as such if Hezbollah blew up 2700 phones of the Israeli government and military.
> Unlike stuxnet, this attack had a lot of non-hezbolah civilian casualties. It’s "targeted" in a sense, but not really much more targeted than a drive-by assassination attempt.

You should know that Hezbollah recently shot a rocket at an Israeli playground, 12 or 13 children were killed. The chance of a few civilians being injured is calculated against preventing the enemy from dropping another rocket on another playground.

I read the news in Arabic, there are credible reports of an 8 year old girl being killed in this attack. I haven't seen that yet in English language news. That is a horrible price to pay. But it is part of a calculated risk that, as per those same news sources, killed between 10 to 12 Hezbollah operatives and injured 2700 more.
I wonder how many days a week Jassy is in his office, sitting at his desk.
This was a bombing of military personnel by parties at war. That is, by definition, not terrorism. This action has been acceptable for as long as bombs have existed.
See Your Folks
Ehem, unionize, cough cough.
Civility is not a concept, nor a word, that we employ in HN moderation—we dropped it years ago.

All people are counted as people by HN moderators. If it seems otherwise to you, I imagine that this is a combination of you having (1) not many explicit data points from us and (2) strong priors on the topic.
Yes, I started doing a lot of hiking. Today I walked more than 2000 foot up to a hill and back and still felt fine and had a quick stroll along a river the evening. I shoot many pictures of mushrooms, and a friend told me I caught a rare mushroom (lycoperdon echinatum) and Thursday I am going up again with him because he never saw one.

Why?
> a clandestine explosive installation would have resulted in far greater damage and included shrapnel

No and not much. The amount of explosion you get is proportional to the amount of explosives used. Small amount of explosives == small explosion.

Shrapnel is specifically engineered into explosive military weapons - it is not an innate property of explosive reactions. If you want a lot of shrapnel you have to design the case to fragment (e.g. grenades) or pack the area around the explosive with the stuff you want to become shrapnel (as with many bombers packing nails and screws and bolts etc., around their bombs). A small explosion in a mostly plastic device will result in a small amount of small pieces of plastic being scattered, which might harm bystanders but is by no means guaranteed or even intended to do so.
google ostensibly started on beige boxes, though. They used whatever computers they could get cheaply and quickly, even older hardware sufficed. There was a niche global group of people who could make stuff like that work as a much larger compute system (beowulf, etc). I don't know that it took "a lot of humans" to bootstrap.
This functionality is already built into the iPhone - in the Notes app, and also in the Files app. What does your software add?
How does the system know which tower to broadcast from though? Surely a pager message isn't transmitted from every tower everywhere.