skysight-inc/HackerNews huggingface dataset:
Gibbons move with rhythm and intention. Dare we say style?
That sounds nice, but by that logic no bomb would ever be fired. Under international law collateral damage must not be excessive, but it is permitted. If it was unacceptable, evil armies would do what they want and good armies would never fire a shot.
It's said those devices were Iranian made. What makes you think Israel has any overt involvement in the supply chain to begin with?
Why we'll never shoot Earth's garbage into the Sun
How climate change is rewriting the rules of extreme storms
> My question is, how and where do you find effective and affordable freelancers? How do you go about it without getting burned?

If you don't have anyone recommended by a very trusted source, then trial and error it is. If you find one who knows his/her stuff, stick to him/her. Unfortunately this is how it goes in 2024.
I feel like you’re getting a lot of pushback on this and I’m going to go out and say this is cool and I’m glad people continue to try to innovate on the webdev experience.

The way I see it is building apps somewhat similarly to SwiftUI is actually a pretty good idea. If you have established rules for how each container expands or fills its content you can build a great web app development experience without getting down into css and html explicitly. Just Vbox container Hbox container text container etc. I can certainly see a niche for this as it is a different style of UI development.

I’ve never been great as a UI designer so doing it in the traditional web stack has always been even harder but I’ve found that with SwiftUI I can usually get 90% of a good look very quickly.
Cold war spy satellites and AI detect ancient underground aqueducts
The original post is from the Times Of Israel. It's literally propaganda, we can at least discuss the content no?
"1024x768 ought to be enough for anyone"


Sorry, I thought you meant 8k like the resolution, not 8kHz mouse sampling rate. I thought about deleting my comment, but it made me laugh so maybe it will others, too
Plants 'Talk' to One Another in Languages We Might Soon Translate
Good lord that’s a lot of damage from exploding pagers. This is kind of next level stuff here - straight out of a movie.
These are pagers connected to Hizbollah's internal communication network. Why would they be used by the general population?
I've used them for DevOps on-call in the last ten years in the US, as a backup to phone-based alerts. It's far too easy to mess up phone DND settings, forget to charge a phone, be outside cell service, or leave a phone in the wrong room. The pager had a long battery life and I clipped it to my pants waistband. I definitely caught pages via the pager that I would have missed over the phone.

If you're worried about the cell network going down, they serve as a backup comms device as well since they use different infrastructure.
As mentioned in this thread by others, this is not a new attack vector and won’t be the last. The only difference is the scale. And technically speaking, anything can be weaponized.
Seems more likely their explosive implant used a separate RF trigger -- makes the whole thing much simpler for them, less detectable. They could run a plane or drone overhead to send the radio initiate message.

Looked like 5-10g (maybe up to 20g?) of explosive, NOT battery. I think you could fit the whole package inside an AA battery, along with an AAAA battery, so you could do something crazy there, or just replace a rechargeable battery pack with something of smaller battery capacity containing the explosive, some electronics, etc. Or just use spare volume inside the case and hope no one does gross physical inspection.
Market data suggests that Lebanon is completely saturated with smart phones, like everywhere else in the developed world, so it seems likely that there are only "guilty" pagers (certainly in this shipment, but more likely in the region).
Any of the smart plugs or other devices plugged directly into the grid could be intentionally compromised to start a house fire. Millions of homes simultaneously catching fire would be catastrophic. Apartment buildings where a fire starts in 10%+ of the units.
I read the Illiad in high school, but as far as I remember it was mostly just lists of so-and-so from such-and-such fought this other guy.

Spoiler alert for thousand year old book: Then the hero gets killed by the invincible brat and dragged around the city a bunch of times (Hector, he’s obviously the hero, normal guy defending his home against a bunch of jumped up god-empowered jerks, trying to prevent this silly Paris/Everybody else spat from inflicting itself on everybody else).

Sad story.
I would argue that this attack is more targeted than firing rockets over the border into civilian population
This is a one shot attack. They will never be able to do it again. And I don't think most of the world has pissed off Mossad quite as much as Hezbollah. Assuming they even did it!
The finder probably chooses this paradigm because cut + paste is destructive. If you cut text and never paste it, the next time you copy out cut you lose that text forever. So if you used the same paradigm for files in the finder, you could accidentally and permanently delete a file because you cut it and then fat fingered copy instead of paste. If this happens with text from a file you can often just close the file and not save to get your text back, or hit undo because cut text is part of your undo history (usually). But storing whole files in some undo history seems like it could go wrong real quick since either you couldn’t actually delete the file from disk until the history expired or the finder was restarted, or an undo might take a significant amount of time because you moved between file systems. Or imagine if the destination file system crashed during transfer or unmounted after. Then you couldn’t undo at all.
I still don't get how people play Valorant with the kernel-level anti-cheat
Thousands hurt by exploding pagers across Lebanon
Simultaneously, when I was there, the other thing that was going on was that the company was basically not paying for off-sites any longer. So, latterly, I had immediate team Zooms but was pretty much disconnected more broadly.

There was this intersection of COVID and don't spend money that isn't NECESSARY. And the result was basically everything on Zoom. I actually spent a lot of my own money to attend some conferences to maintain some contact with people.
I don’t quite think so. I think we’re in a status quo that prevents/obfuscates a more efficient economic activity because it inflates GDP which makes the politicians and economists happy.

The magic number won’t go up much if you call somebody and they tell you what you need to do change the PCB and ship you the part(for a small markup price).
I'm excited to see more projects like Rio exploring the full-stack python web dev space. There are definitely categories of users for which the approach makes sense.

---

For me personally -- and I'm guessing for a bunch of other HNers -- writing full-stack web apps strictly in python is a non-goal.

I've settled on a comfortable (for me) stack for smaller projects that need python on the backend that combines:

1. Litestar (or another lightweight HTTP framework of choice like flask, etc.)

2. HTMX

3. htpy.dev (an in-python HTML builder)

4. Custom web components implemented in a plain-old JavaScript ES6 module loaded directly by the browser

A typical project only needs a handful of components. HTMX and htpy.dev both play very nicely with web components.

When I want zero build steps, I write plain JavaScript + JSDoc comments. JSDoc is... okay-ish, but it ain't no typescript.

If I need a database, I'll grab SQLAlchemy. I wish there were a mature lightweight solution here; maybe Tortoise ORM will get there soon?

There's nothing in this stack that couldn't strictly be done in javascript-land. JSX syntax with HTMX is pretty great and much better than any in-python HTML builder. But often my projects have other requirements (like ML) where python is, at least today, inevitable.
In my opinion, simple inflation adjustment is not that accurate. In particular, notice that certain costs, like higher education, have increased significantly faster than inflation since the 60s. And since rocket science requires a highly educated workforce, you end up with higher salaries relative to the median. I'd actually like to see an analysis of the number of people working on the program. I bet Apollo had 2x or 3x more people working on it than Artemis.

But I haven't done the math/research, so I could be very wrong.
I imagine the flagging is to stop the conversation about the geneocide, especially since almost every conversation about Gaza gets flagged.
A lack of competing forces

The US collectively felt that they needed to prove that capitalism was superior to communism. In this case, the contracting system was the competition between private sector entities to produce the parts and expertise, alongside NASA the state run enterprise handling requirements and coordination.

While the Soviet Union relied on more state run enterprises, aiming to prove collective coordination.

With the absence of resources up there, and lack of return, and inability to prove anything about capitalism vs communism to anyone that mattered, the programs atrophied in both unions.
I'm not sure why SourceGraph is struggling so much that I have to do it for them (maybe the name?), but Cody is competition and has the benefit of being an extension instead of a fork.
I don't think the Times Of Israel is an unbiased source. This isn't trustworthy reporting.
what’s an example of a code search problem that vscode’s native search fails to solve?
> It's said those devices were Iranian made.

Made, or provided by?
>Terrible advice for a potential reader.

Your quotation left out the context of that advice which explains the reasoning. The paragraph before it states:

>, I would recommend familiarizing oneself with the main characters and the basic outline of the story. This may sound like strange advice, since readers of contemporary fiction are often accustomed to avoiding “spoilers,” but developing prior knowledge of the characters and story actually brings one closer to the experience of ancient audiences, who, as I have said, would have already known the broad outlines of the myths the epics tell before they went to a performance of them.

A rough analogy would be today's audiences already being familiar with comic superhero characters and stories like Superman, Wonder Woman, etc in DC Comics, or Spiderman, etc in the Marvel Universe -- before watching any of the movies about them. Sure, there might be a few in the audience who are totally oblivious to the background of the Superman mythology before the movie starts but for the most part, everybody is familiar with Clark Kent, kryptonite, and so on. (Cue up the famous Jay Leno skit of asking random people in the street, "what is the chemical composition of salt?", and they don't know to answer "sodium-chloride" ... but when he then asks "what's the name of the rock that hurts Superman?" and they immediately say "Oh, that's kryptonite!")

The idea is to bring that level of cultural knowledge into the reader's brain before reading Iliad/Odyssey.
they just want to layoff soon
What causes 4 day old questions like this to resurface with the timestamps showing hours old instead of days?
And girls trapped in dinosaur theme parks, let's not forget
>A light bulb went off in my head. Yes, these chunks of data in the flash chip were pictures! But not in the conventional sense. They were describing the various LED animations. Each set of 16 bytes is an animation frame written to the 14 LEDs. In the example above, a single red LED turns on and six of the seven white LEDs do stuff. The last two bytes in each row are a delay time before moving onto the next frame. The first 16 bytes looked kind of weird though. They looked like they possibly contained some header data for the animation or something.

I have independently invented this format, albeit in text instead of binary, for animating my Hue lamps. Animations in my version look like this:

bulb1 bulb2
dly R G B WW CW R G B WW CW
100 10 25 20 0 0 25 10 20 0 0
200 10 50 20 0 0 50 10 20 0 0

where the first value is the number of milliseconds to delay before moving to the next line, then each led channel's brightness (out of 100) is represented on each line. A line that starts with anything but a number is a comment, and any number of spaces (1+) are allowed between channels.

I'm tickled to see a similar (binary) format in a commercial product. It really is quite obvious, but still interesting to see.
Probably because of Israel's demonstrated infiltration of IRGC operations inside of Iran? Just a guess.
First thing I thought of were the exploding PCs from Die Hard 4. Back then it was such a ridiculous thing, but here we are ;)
8 year old girl was dead there, not only hezbollah members uses it, hospitals uses it too
What's definitely novel is the scale, perhaps not the tactic, which has been used many times before (speculative assumption being that the devices were tempered with)
Cell phones were much bigger in 1996. You would have a hard time with that with phones today, but pagers are still viable.
> Inverted triangle

That can't be the case my man. Even if there was a manager for every two employees below, the number of all managers at all levels would at most be equal to the number of employees at the lowest level given that:

x (lowest level) = x/2 (first) + x/4 (second) + x/8 (third) + ...

In reality, there are way more employees per manager and the levels of management is not infinite, so the ratio of managers to employees is way less than 1.
Assuming you aren't joking: Pagers are receive-only, which is why they'd use them in preference to cellphones, which transmit even when just idling to register on cells.
Tauri is indeed heading to mobile.

https://v2.tauri.app/blog/tauri-mobile-alpha/
I grew up lower-middle class in America and to and extent I understand this.

Disposability is especially offensive when it comes to ~computers.

To have perfectly functional (from a hardware perspective) 10> year old smartphones become "e-waste" is absurd to me.

Even a cheap smartphone is a remarkable achievement in manufacturing and engineering. Its wild to think of something like that as "junk" even though it effectively is.
In JavaScript you can do this:

const f = (x, y) => {
const z = x + y;
const w = z * 2;
return z - w + x;
};

In Python, you cannot do this:

f = (
lambda x, y:
z = x + y;
w = z * 2;
return z - w + x;
)

Instead, you need to pull it out into a def:

def f(x, y):
z = x + y;
w = z * 2;
return z - w + x;

Sometimes, this is no big deal. But other times, it's damn annoying; the language forces you to lay out your code in a less intuitive way for no obvious benefit.
As I'm trying to better understand the situation from a technology perspective, I'm curious: has anyone experienced a lithium battery catastrophically failing during use (not charging) and without plenty of warning (ie. gets warm, hot, scalding)?

My experience has been that at worst, they overheat over minutes to hours, and then hiss, smoke, pop, and catch fire.

I guess what I'm wondering is: is it at all plausible that this happened without the use of some amount of added explosives? (edit: I saw a few videos. I cannot imagine a mobile lithium battery is capable of such a sudden and violent explosion)
I agree. I think cloudformation could be there, but it would need a lot more work and support. The documentation is sort of poor, and iterating and developing on it is a huge pain. Terraform is better, but I still find developing on it a really poor experience with AWS. There's a lot of barely documented features, and the feedback loop tends to be slow as well. I also find the IDE support for all these tools to be terrible.

I think there's room for something closer to a compiled language with strong types for deterministic infrastructure setup. It would be nice to catch most if not all issues at "compile time". Bonus too if there's something like Docker Desktop shipping with kubernetes, where I can stand up a replica of my cloud on my machine to debug locally.
That... doesn't strike me as the the worst activities for management to work.
> I'm someone

Asserting facts not in evidence, as they say.
I would argue that it depends on your skill as a developer, the stacks that you're familiar with, etc. As an example I work with a lot of scientific developers who are familiar with python and R but don't know anything about the website needing to make a web application. They're also not trying to optimize for thousands of users or have the cleanest interface. Technologies like Dash, Bokeh, Stream lot, and Shiny for Python and R all help these types of people make a functional web application for a small set of users without having to go down the rabbit hole of web technologies.
It's always amazed me how much we can discover just by measuring the dances of distant stars.
> you are positing management incompetent enough...

Those people are world-class politicians or born super-rich. When you put a selection filter that exclusive in a population, you force every other attribute extremely close to the median.

And the median of competence on any field is much smaller than the mean.
Presumably Lebanese DevOps on-call isn't sharing pagers from a shipment to Hezbollah from Iran.
Exactly. Snowball's chance anyone could get a series of capacitors and transistor to do too much more than "let the smoke out," even with the largest influx of EM energy. Most batteries give pretty big warnings before they do anything close to explode, making this a pretty obvious 'attack' vector they utilized.
I'm also happy to offer political opinions for anyone that wants to hear ;)
No.

The discussion should meander in any direction the votes and scoring allow it to.

If the voting supports it, it is on topic ipso facto.
There's some commentary on that page that says:

> Experts are pointing to the fact that the footage of the explosions is not consistent with a battery overheating.

> Early theories are that this was a so called supply chain attack which involved the pagers being tampered with during their manufacture or in transit.
Shoutout to Elden Ring where the entire game freezes when your (wireless) mouse goes to sleep.
It's probably going to turn out to be supply chain and explosives.
Not academia, but my impression is that’s it’s a fragile self image thing - all their eggs are in one basket - “the smartest guy in the room.” Of course being the actual smartest person in the room isn’t possible, and at some level they know that, but they exhibit these behaviors as a way to try to assert it in the world, similar to narcissism. They need to be smart.

Why is it some common in CS? I can only guess but it’s a field where an entire individual can have outsized impact without the need for collaboration so it attracts this kind of personality. I think that will change, though, as the field matures. You look at Math, which should be similar, but it seems that collaborators are more successful than the lone wolves as many of the known problems have had many mathematicians try and fail to solve.
>I already wonder if this was anything that was planted in the devices perviously

That seems to be the case with almost complete certainty. They said it was a new batch of pagers that the targets/victims/whatever you choose to call them received in the last few months.

>The pagers that detonated were the latest model brought in by Hezbollah in recent months, three security sources said.

https://www.reuters.com/world/middle-east/dozens-hezbollah-m...
Yeah every company that has a part of their supply chain via Israel must be wondering now if this could be done to their devices.
As someone else posted, it's not entirely novel: https://en.wikipedia.org/wiki/Yahya_Ayyash#Assassination
As developers/engineers we love to solve problems. Too many times though we mislabel "friction" as "problem" and then start trying to solve the friction based on our current skill set or viewpoint. So frontend devs feel friction working backend and vice versa leading to all sorts of efforts like this that mostly fail. Good luck though :)
Gasoline has 45 MJ/kg for comparison

so it is a ten times that of TNT. Source: https://hypertextbook.com/facts/2003/ArthurGolnik.shtml
>Not that there's no scientific value it's just much more expensive than robots and much riskier.

And our ability to accept risk has decreased dramatically. 50 years ago the Boeing capsule would have been given the go ahead to detach without a second thought for instance.

Basically going from 2 9s to 11 9s (or whatever NASA targets internally these days) is comically expensive.

And I'd have to see a paper justifying human presence (besides trying to future proof society) as actually bringing more scientific value than robotic experiments.
Self healing code with clojure.spec (2016)
A good translation makes or breaks a book.

If you're going to read a foreign book, always research the translation first.

IIRC, the primary copy of Les Misérables (the one with the nice cover) is the public domain translation from 100 years ago, vs. the two more recent excellent Penguin translations (1982, 2015).
> But gravity is the curvature of space caused by mass, it is not described as a form of mass.

Gravitational waves carry momentum and energy (and therefore mass), just like electromagnetic waves. Theoretically, you can extract that energy from gravitational waves, by using oscillating masses tuned to the wave's frequency.
Ask HN: How do you manage optimizing everyday purchases?
I'm quite shocked on how hard it is to keep track of credit cards and rewards programs. I've been watching some of my friends obsess over maximizing every cent from their credit cards and loyalty programs and how much time that takes them. They use all these apps, some have spreadsheets, etc. It seems like so much work though for such a solvable problem.

I tried to pay attention to my rewards this week and every time I buy something, I spend a couple of minutes figuring out which card to use. 3% back on dining? 2x points on all purchases? What category does this shop count as? list goes on…

The absurdity hit me. We have software that can drive cars, yet we're doing mental gymnastics over pocket change. I'm torn between thinking it's a waste of mental energy and feeling like I'm leaving money on the table if I don't optimize.

Surely this is a solved problem? But then I realized - none of the "smart" financial apps actually make decisions for me. They just show me information and expect me to optimize, but I want something to actually just DO IT and absolve me of that mental burden completely. It seems like we have all the necessary data, so why isn't this automated yet?

I'm curious:

1. Does anyone else find this constant decision-making exhausting?
2. Are there technical/legal reasons why our financial apps don't just make optimal choices automatically?
3. For those who do optimize heavily, what's your system? Is the effort worth the reward?

Maybe I'm alone in this, but I'm tired of seeing something so manual that, in my opinion, software is more than capable of solving.
NComm creator here: I've been following the Copper Robotics project for a bit and I love the design. I would say that copper has a lot larger of a scope than NComm (i.e. executor, drivers, logging, etc.). With NComm, I was focusing much more on something as close to ROS 2's execution model as possible, but without the headaches of it being ROS and C++. In general, I think of NComm as more of a communication library (hence Comm) with the added benefit of standardized tasks and executors to make breaking up the various robotics tasks into small more manageable chunks. Personally, I like that there's a ton of projects trying to replace the ROS middleware because we've all chosen a different way of fixing the problem so no one's stuck using ROS because its the only option.