skysight-inc/HackerNews huggingface dataset:
> I use this method often for prediction applications. First, it’s a sort of hyper parameter selection, so you should obviously use a holdout and test set to help you make a good choice.

What the article is talking about is inference, not prediction. It's a different problem domain, it's not about telling a company whether design A or B leads to more engagement, it's about finding out about the (true!) causal drivers of that difference. The distinction may seem subtle but it's important. The key problems outlined all talk about common (frequentist) statistical tests and how they get messed up by variable selection. Holdout sets don't address this, because if the holdout set comes from the same distribution as the test set (as it should), the biases would be the same there. Bayesian inference isn't a panacea either, the core problem is structuring the model based on the data and then drawing conclusions about their relationships (Bayesian analysis gives you tools to help avoid this, but comes with its own set of traps to fall into, such as the difficulty of finding truly non-informative priors).
Flask + HTMX + AlpineJS always seem like so much more work than just writing JavaScript.
Cheap cell phones have been used as detonators for quite some time.
The death toll isn't the goal. They're after the 2nd order effects, now there are ~3,000 operatives that are marked by a scar that is relatively distinctive. They also have substantially disrupted their communication protocols and caused psychological damage.
How does leave policy work in your companies? Where I work you can use that leaves quota for something else (i.e taking a vacation). So its gonna "cost money" the same way.
Before that it was the BlackBerry (my experience), and before that something else (presumably the pager, telephone, telegram, man on horseback?).

I just think it’s important we are all deliberate about what is important to us and therefore what we agree to. If the precedent is set early, it helps tremendously, in my experience.
People who work in schools in Lebanon carry smartphones like everybody else. Pagers are obsolete. Some doctors may carry them because they work when the cell network is down, but they don't all re-up from Iran all at once. Hezbollah carries pagers because they're one-way devices that are hard to track, which is not a problem a Lebanese school teacher has with his Chinese Android phone.
> 1. The beepers were compromised and have been for a long time.

Where did you see this? Sources are saying that Hezbollah recently upgraded their pagers with the American University of Beirut on August 29:

https://x.com/gazanotice/status/1836082218805891360

Why would Israel have the ability to wipe out a good chunk of Hezbollah for years and just sat on it until now?

They are claiming 2750 injuries:

https://www.aljazeera.com/news/2024/9/17/dozens-of-hezbollah...
I would point people to the new GameInput API - https://learn.microsoft.com/en-us/gaming/gdk/_content/gc/inp...

GameInput does everything these older APIs do without having to mix them all together or use a bunch of them to get the information you want
Title really should say "pagers", not "devices".
Counting Sheeps with Contracts in Python
Hello everyone, I'm starting a new blog where I'm trying to mix my passion and experience for safe programming in critical contexts, and my (over)use of Python, and other techs that are used in... less safe contexts. The "investment hypothesis" if you will is that pieces of tech used daily in critical systems could see a broader use if they stopped being hidden behind mumbo jumbo, bad UX, and general lack of consideration for the common developper. In this blog I'll try to go and discuss fuzzing, contracts, why not some amount of lightweight proofing... and to mix them with application that are hopefully fun and nice to study.

This first post is about counting sheeps, with a design-by-contract twist.

Let me know what you guys think, it's my first blog at all, so I'm a taker for all matters of feedback, as long as it comes from the heart that is ;)
Yeah, the cost of facilities is real. The best makerspace in Madison was run by a really forward-thinking guy who worked for like 10 years to get enough grants to buy a industrial space instead of rent one. Unfortunately that would be pretty much impossible here without support from a huge tech company or something.

Out of curiosity I looked at the cost of a rental industrial space in SoDo and the prices absolutely blew my hair back.
My hunch is that IL intelligence bought some 3,000 - 4,000 pagers of the same models, fixed them with explosives and trigger systems, and swapped them with the package sent to Hez in the middle of transport or (probably) in the Lebanon distribution center.

So they needed to know: which company manufactured those pagers; which models are sent to Hez; when they were in transport and arrived at the distribution center; which packages went to Hez operatives, and much more information.

BTW rumors says the pagers were manufactured by a Taiwanese company, not confirmed though but some of my friends were able to read from the pictures that show what was left of the pagers.
Why don't you hold Hamas to these same standards?

edit: Also, can you cite anything to back this claim?

> Targeting off-duty or non-uniformed service members violates both international law and the core moral principles of warfare, as outlined by the Geneva Conventions and other international agreements.

I don't mean just it's in one of the articles of the Geneva Convention I mean where you're making your inference more specifically.
Prejudice, no. It is entirely reasonable to suspect that Israel is the likely culprit behind this. Everything from the attack vector to the intentional disregard for massive civilian casualties would seem to showcase its signature style, in fact.
Why would you assume this targeted three people? I assume the most likely scenario is that the attackers targeted as many Hezbollah members as they could, and were extremely successful at it.
No essentially about it. Hezbollah is part of the government, one of many political parties in Lebanon. Just like most of the other major political parties in Lebanon, they maintain their own militia separate from the Lebanese military.
Looks very similar, yet not as polished as https://www.home-assistant.io/.

Looking at their example "show me the camera in the living room" I'm reminded of this blog post:

https://www.home-assistant.io/blog/2024/06/07/ai-agents-for-...

> As we have researched AI, we concluded that there are currently no AI-powered solutions yet that are worth it. Would you want a summary of your home at the top of your dashboard if it could be wrong, cost you money, or even harm the planet?
Then I hope the workers don't patronize the CBD businesses and cause the collapse anyway.
Reminds me of two things:

1. Mossad killed the chief bombmaker of Hamas with an exploding phone in 1996: https://en.m.wikipedia.org/wiki/Yahya_Ayyash

2. My grandma used to say not to wear my phone on me, especially close to my heart or my balls, because she thought it was dangerous somehow. Turns out she was right!
Photos of an NSA “upgrade” factory show Cisco router getting implant
https://arstechnica.com/tech-policy/2014/05/photos-of-an-nsa...
Good luck at parties....
A gram of c4 will do it?
When a reasonable explanation refuses to be given, repeatedly, one begins to wonder if it exists. There's only so much "trust me bro" underlings can take before making assumptions.
new one from today: https://www.bbc.com/news/articles/cz04mr4l90do

> Allowing flexible working and working from home creates a more productive, loyal workforce
> we're all almost certainly inside a black hole

No, we're not. The universe is rapidly expanding. Equating the Schwarzschild radius for a given blob of matter with the event horizon of a black hole requires that the matter be static or collapsing.

The "black hole cosmology" models referred to in the Wikipedia article are misnamed. It is theoretically possible that our observable universe is a patch of a Schwarzschild spacetime, which is what the models referred to are asserting, but if it is, then, since the universe is expanding, it would be a patch of the white hole portion of the spacetime, not the black hole portion. And the "horizon" would be a white hole horizon, i.e., one from which the universe's expansion would eventually cause us to pass out of.

However, such a model is extremely unlikely because it has no way of explaining where the white hole horizon came from. A black hole horizon can come into being from gravitational collapse, but a white hole horizon would have to have been "built in" to the overall universe from the very beginning. Nobody has any reason to think that is actually possible, even if we have a theoretical mathematical model that includes it.
Just Mossad Mossadin’.
It's naive to think that every country that supplies you with goods and you are at war with would go down a route like this. Is there really a single country you'd expect not to sabotage goods you buy from them if you continuously rain rockets onto their population?
this is why people insult hn readers btw
Lot's of pager batteries are the shrink-wrapped cylinders with 2+ cells, so I'm guessing it might be possible to dress up one of those cells as a dummy w/ explosives instead.
Their best models are not public weights but only behind their API
>Yes but you can't demote the stress element because the remuneration element is larger. They're not dependent variables at the point the stress is felt.

GP just explained how, though. Higher remuneration = eventual recovery period. Focusing on the stress is only human, so you can't be faulted for that, but considering the comparative situations holistically, it is objectively more advantageous to get paid more for similarly, or perhaps even more, stressful situations.
At the cashier, one video clip shows a guy paying then he looks at the massage that beeped his Appolo pager, then it exploded, this trigger message is supported further with first responders' statements on large numbers of those treated for impact on eyes.
Dunning-Kruger effect comes to mind again.
Two things.

1. That article doesn't say Churchill killed millions by causing a famine.
2. Amp? Really? Is amp still a thing?
There is no way an unaltered pager has enough potential to explode in any way that could be harmful using a software-based exploit. Unless somehow the BMS (even if there was one) allowed you to short the battery with software, which seems really stupid to design into such a system.
IMO, this gives IL's enemies more excuses to execute more horrible attacks. Considering pagers are civilian products and some of them might actually be delivered to non-Hez civilians, the consequence is pretty dire.

it basically says: we can do whatever we want because we can. Now imagine what the other side is going to reply.
McCaffrey is on that TV Tropes list, I have only read a few of her novels and she does jump out for obvious examples of this trope.

It's tricky to write an opening sentence though. We all recognise "Call me Ishmael" and probably "Last night I dreamt I went to Manderley again" is obvious to lots of people but for example, "I am always drawn back to places where I have lived, the houses and their neighbourhoods" doesn't exactly promise Breakfast at Tiffany's does it?

By the second chapter I think you've earned a lot of leeway, either the reader is engaged and will soldier on despite your six new nouns and what might be a new word or possibly a new meaning for a word they know already - or they have probably set the book down some time ago and will never see this sentence anyway.
I believe most tech focused companies do it and it's called design docs / RFCs.
TIL: pagers still exist.

I wonder, if these devices could be suspect, why don't they order these cheap
Chinese GSM modules. You can't hide explosives in those.

Also, afaik all GSM modules broadcast their IMEI numbers over the network. Explosives or not, I'm sure they can all be tracked and triangulated, since they talk to the towers. I don't think these things are secure anyways.
"Also, one has to wonder why the basic principle of the state having to prove guilt needs to be upended with civil asset forfeiture. If you are alleged to have murdered someone you are assumed innocent, but for civil asset forfeiture you are assumed guilty?"

This is civil vs criminal law. In civil cases you do not have the right to an attorney and hearing can be ex parte. The burden of proof is only more likely than not. So you have one-sided cases with no representation for the asset. These same lack of protections are being exploited for things like red flag laws, proposed abortion laws, etc. It's the same sloppy paradigm - too much work to do things under criminal law due to pesky rights, so just move it to the civil side.
Not sci-fi enough.

This situation is obviously inspired by 2001; The tesla clearly caught the baby talking about overthrowing elon, and had to take appropriate action.
And they only fact-checked some of the lies of that one person, the blatantly obvious ones. You're complaining about fact-checking being biased and then citing fact-checking doing good work. Go read any analysis of the debate, the moderators let almost all the bullshit go unchecked. I think it says something different that with what was very light-touch moderation with the high-striker set higher than most viewers would have wanted Trump's bullshit rung the bell more than once.
Love this for searching in movie subtitles!
Its one thing to figure out how to wire the vibrator in a phone into an external explosive activation circuit.

Its a whole other thing to do a supply chain intercept on an entire factory run of pagers, build a difficult to detect explosive into them, get them into the hands of your enemies, and remotely trigger them over infrastructure you don't directly control.

This is an incredible level of execution. And, presumably, the IDF or some attached intelligence agency demonstrating how deeply they own their adversary's networks.
It reminds me of the movie Law Abiding Citizen.

Check it out if you haven't already: https://www.imdb.com/title/tt1197624/
If an entire shipment was intercepted and modified, how many other pagers are out there? How many non-targeted persons are walking around with a bomb in their pocket?
> Nothing stops you...

No, lots of things stop you. You can't just say "nothing stops you" and pretend it's true and work from there. Obviously, lots of things stop you otherwise everyone would do it.
That's going to be bad for business....
> Hack the backend server, send a coordinated page to all the pagers at the same time.

You likely don’t even need to hack anything if you coordinate based on time. A built in clock would eliminate the need for any external signal and work in a, no pun intended, dead zone.

If the pager itself is hacked, the software could also pretend to receive a page a moment before detonation to maximize the chance the device is held with the receiver in the open.
Module imports, pattern matching on primitives.

Most of the improvements are in existing preview areas.

This is following the semiannual release cadence.
I have nothing against ublock or other programs for ad block. It just seems like we shouldn’t have to participate in the arms race around internet advertising. I would pay for content (like substack) to avoid an experience where I get popups a few seconds apart.
I saw some videos of explosions, the pagers received some sort of signal or message that made the holder look at the pager.

Most of the injuries were to the hands or eyes. It was a very very weak explosion - even people right next to the person were not harmed, just the person holding the pager.
The microcontrollers inside the pagers probably have a spare GPIO pin, so they'd just have to modify the software and attach the detonating electronics to that gpio pin.

Since i'm supposedly "posting too fast", to answer the post below:

> Just curious, is it possible to program the pins so that it triggers by wireless or satellite command? With that scale I don't think wireless is possible though.

Technically it is, but requires additional electronics and antennas. It's much easier to just use the existing pager network and trigger when some specific message (or pager code) is detected. Paging networks are simple to implement.
Oh nice, the access to a professional quality sewing machine is a cool feature. I do some hobby upholstery and using my homegamer Singer is a real limiting factor.
SpaceX lost several rockets in the beginning, NASA lost an enormous number of rockets in the 60s space era and several people.

>My general feeling is that the true reason NASA/Boeing is much less successful than in the 60s is because the NASA of that time attracted the very top talent that was young, energetic, and bright.

Are they much less successful? Less things are being paid for and things are happening at a slower pace because money.
Gives the term "remote code execution" a new meaning.
Looks cool! But I'm wondering who the target audience is. Most web devs prefer javascript. Are you hoping to target data scientists to build data apps, for example?
Someone will eventually spill the beans on how it was done. They always do.
Thanks for the article. For a comprehensive review of Artemis, in much detail, and other NASA missions, see this paper (free online and PDF versions available at the link):

NASA at a Crossroads: Maintaining Workforce, Infrastructure, and Technology Preeminence in the Coming Decades (2024)

http://nap.nationalacademies.org/27519

It's the report of a National Academies committee of experts - organized by their Aeronautics and Space Engineering Board, Space Studies Board, and Division on Engineering and Physical Science - formed to "review the critical facilities, workforce, and technology needed to achieve NASA's long-term strategic goals and mission objectives".

There is a lot of interesting material, both immediately topical and, being HN, of intellectual interest. See especially Appendix G, "NASA 20-Year Critical Missions", a list and overview of all the missions, and especially Appendix J "Technology Survey Papers", which goes into detail about critical technologies NASA needs to invent (many for Artemis) and their R&D.
There are a lot of great benefits to planets, protection from radiation and meteors being among them, also a free source of gravity which is pretty important to us as a species.
>Before agile, we essentially did 4 releases a month

Correction, 4 releases a year, or one every 3 months.
Yea, cool.

You aren’t the point.

If you can’t see and admit the massive abuse from most people - obviously except for you - then there is no discussion.

Everyone is always so quick to say how great THEY are and can’t ever even sort of discuss the reality of abuse because that position threatens their goal.

It is obtuse self-interest and disingenuous. Those comments rub me the wrong way.
I think the purpose is to terrorize your opponents. Sometimes getting seriously wounded is even worse than getting killed, from the perspective of Hez. Now they need to handle thousands of wounded members, which is much more expensive than dead ones.
Cant help but be reminded of that james mickens article about the mossad vs not mossad threat model https://www.usenix.org/system/files/1401_08-12_mickens.pdf where he joking says that mossad will replace your cellphone with a blick of uranium (as a joke to imply you shouldnt worry about nation state actor type threats when building a stupid web app that nobody cares about, because its impossible)
The lawnmower speaks. What tyrannical thinking.
The other side was already doing everything it could.
Lebanon has been shooting rockets at Israel for a while now. They already are at war. It's just Israel is very strategic about its steps.
That hasn't been true for their largest model since the 2407 release of Mistral Large 2 (https://mistral.ai/news/mistral-large-2407/), it is however under a non-commercial license.
Except Dropbox always kept their users tied to their platform, which allowed them to gradually enshittify their offering, starting with removal of directly addressable content in "Public" folder, and continuing through various changes and side products that all had very little to do with "a folder that syncs". Mistral can't successfully enshittify if they can't keep users captive.
So did she get to be on Jeopardy!?
The Saga of Kowloon Walled City
Probably keep building something awesome and worry about monetization later. Google did that.
OpenTelemetry Tracing in < 200 lines of code
Rio dev here. You're right in that all Rio components use Material Design, but there is still room for configuration. I can't post pictures here, but if you check our discord, somebody has made a full-retro website that doesn't look material-y at all.

In addition to high-level components there's also some very basic building blocks, like a humble Rectangle. By combining these in clever ways you can get more styles than you might originally expect - just like everything on the web is ultimately colored boxes.
I wasn't thinking years, but months but I didn't know about the recent upgrade. At any rate, if the pagers allowed any data exfiltration they have been collecting that data since whenever the last upgrade was.
we could indeed!
I think the author has two issues in their approach.

1) You should be processing the whole message queue for all types of messages in one go. When using raw input, author is peeking for "not input" event types. To me, this seems suspicious for performance. With a raw input device registered, the message queue is going to be huge.

While I don't know the underlying data structure of the message queue, if we assume an array, then the author's code will do a while loop of O(N) lookups for "not input" messages and remove them.

The correct approach is to dispatch the whole queue and ignore messages of types that you don't care about in your message handler.

2) You SHOULD be using the legacy input events for games, not raw input. The OS input massaging (ex: acceleration) is something that should remain consistent between applications. If there's acceleration: that's what users expect. You don't want the mouse to suddenly behave different in your application. Your games tuning values (sensitivity, accel) should apply relative to the OS values.
Dupes also get flagged, like in this case. This submission got [dupe] added as a prefix to he title.

https://news.ycombinator.com/item?id=41567573
I can probably climb a tree faster than I can build a rocket. But only one will get me all the way to the moon. Don't confuse local optima for global ones.
But if you open up in preparation for launching that facehugger, you may trigger Ripley's response with a flamethrower, then no eggs are happy.