skysight-inc/HackerNews huggingface dataset:
I'm not looking for someone who can autodidact something on a whiteboard during an interview. That'd be kind of silly unless it's something very small. It's more of an attitude, a desire and willingness and ability to learn stuff you don't know yet or try new things.
Show HN: Semgrep rule to identify malicious Python code
Way, way back there was an IDF officer who said, in TV, after having a Palestinian boys arm broken something along the lines of "he wont throw a stone with that arm any time soon".

I hope that this is not the standard we hold, because if it is, there is no moral ground anymore to stand on when it comes to denouncing terrorism.
That's really great.

I know it's polarizing but I truly think that visual programming remains an entirely unexplored area. I'm convinced that the current state of "text" programming is totally ineffective and in fact we are the last domain producing things with computers which still insist in being limited by the text files in folders abstraction.

It's a shame that in 2024, I still have to search for text in files like it's 1970, guess which file does what based on the dozen of characters of the file name and can't see at a glance which other files are dependencies or uses.

I can't "see" my entire codebase, zoom in and out, I still have to guess the relation between some line of code and another in another file.

My ideal IDE of the future just allows me to see all my codebase like a big fractale.
> This is revisionist history - Gaza was never even part of Egypt

So confident and yet so wrong. This is literally history. Are you pro-Hamas because you don't know the history of the region, or do you not know the history region because you're motivated to ignore it where it contradicts your pro-Hamas narrative?

From whom did Israel seize control of Gaza in 1967?
Yes, but not quite.

It's that we can't tell the difference between the AI generated SEO spam and the human generated SEO spam, not that the AI has started to generate actually useful websites. And there was already so much human generated SEO spam that it couldn't be effectively moderated, but now the problem is a hundred times worse.
Microsoft's Bing Helps Maintain Beijing's Great Firewall
Well, why would it be taken as a given that programming should mimic the hardware?

Pure functions are easier to reason about (there may be exceptions of course), that's why they're interesting.

This paper is not related to side-effects - it's related to "totality", meaning all programs terminate. This could also be interesting for side-effecting programs, but it's of course much harder to verify in this case.

Due to the halting problem's existance a total language can not be Turing complete, but many useful programs can be verified.

I didn't see anything in the paper that claims that pure functions should be "all the way down", and the paper is not about side effects anyway.
Here to Save the Day
Apple seems to be very scared that Epic's App Store might have been working. So much so, that they are going to risk another huge fine from EU.
Perhaps to by cynical, we have attached "Machine Learning" and "AI" to existing things we see in the industry. Increasingly defined and quantifiable.

IMO buzz typically builds around that which is not well understood or defined. At least consistently by people in the industry yet.

I think there's some human psychology around hype cycles (and how to manipulate them) by creating terminology that has some kind of social status, but with not clearly defined value / understanding yet yet. Once the hype cycle completes, these two converge, and it becomes boring to human minds seeking novelty (and corporations looking for growth).

So eventually we will have a well understood "thing" of value called AGI. But then there will be another milestone to achieve.
A maximum of 60% of the winds power can be extracted from wind (Bet'z law [1]) and modern turbines are only capable of catching 80% of that. There's lots of research in optimal spacing.

I read that a rule of thumb was 4-5 diameter widths between turbines at right angles to prevailing wind and then 7 diameter widths between rows facing the wind

[1] https://en.wikipedia.org/wiki/Betz%27s_law
You have a massive acquire opportunity here ...
*wasn't
The law does not mandate cookie prompts. Don't set cookies that are not technically required for functionality (such as login sessions) and you don't need to ask for consent.
It is the companies that choose to hassle the users to keep tracking them. Some of the prompts designs that make it hard to opt out are also malicious compliance, perhaps even non-compliant.
This article and related discussion might be relevant. It addresses more or less exactly this sentiment:

> This is the reason why I get a bit frustrated whenever I see somebody in tech dismisses the EU as just trying to protect European companies from competition with their glorious and wonderful US companies.

https://www.baldurbjarnason.com/2024/facing-reality-in-the-e...

https://news.ycombinator.com/item?id=39602417
Why Sqlite? They make a pretty good case here https://blog.sqlitecloud.io/how-and-why-we-brought-sqlite-to...

> if you need high concurrency, multi-node replication, pub/sub capabilities, etc, what is the point of using SQLite in the first place

SqliteCloud is capable of all those things, so what exactly is your complaint?

multi-node replication and pub/sub are not part of sqlite code but SqliteCloud additions and I see no reason why their implementation of replication or pub/sub should be any worse that other implementations

Sqlite used to be much worse at high concurrency that other databases but it's no longer the case in recent versions with additions of WAL mode and SqliteCloud claims additional perf improvements for high concurrency

> There are much better, battle-tested tools to solve these problems.

I meant, it's quite possible but I'll point out an obvious fabrication: you don't know.

You haven't actually tried SqliteCloud, you haven't benchmarked it against other tools so you just don't know.

I'm 97.8% sure of that.
And there's Consent-o-Matic for the rest.
I find using an alternative in android makes it far easier to find useful apps, so why would the same not happen on ios? alternatives will need to provide some advantage to consumers.
fienta.ee has most of the local events here. Used to be Facebook but that seems to be dying out over here.
There are smart programmers and dumb programmers, clean programmers and messy programmers. From your perspective, it looks like there is an inverse correlation but that is only because of Berkson's paradox.

The programmers who are both smart and clean don't hang out with you. They have more interesting projects to work on, or higher-paid jobs at other companies/industries. At the same time, you don't hang out with programmers who are both stupid and messy. They don't get hired at the same companies you work for, they don't have the skills needed to work on the same projects you work on, their articles don't get to the front page of Hacker News and so on.
Why did 500 Israeli soldiers die in Gaza from your perspective?
The PR does not mention plaster work; I suppose the company is focused on the... errr... "shell construction"? Once plaster is added, I'd wager it's much the same as for any other house.
Show HN: Local Lock – secure, all-offline open source password saving app
They're composite images, so there's definitely some post-processing going on.
The sea surface will show up darker, but SAR is sufficiently sensitive to to detect oil slicks.
Let's get rid of all the things they produced too. No iPhones, no Android, no Google Search. Let's go back to 1983.
As implied in the title, this book focuses on sociology and philosophy of science and has very little technical content.
> But my main point is that it’s unreasonable to take two existing words and claim it’s impossible to combine them directly.

There's terms that if you attempt to use the literal meaning of the component words, you'll confuse people. This is one. It's like a trademark or an idiom, it has extra meaning beyond the literal due to cultural association.

> Not gonna argue or flamebait though, please just tell the correct term for projects with open source but non-free-software license and I’ll be happy to use it from now on.

I've seen "source available" used and that always seemed fine to me.
> cassettes are returnable

Of the fraction that gets returned, how many are actually reused? It's black plastic with a shine to it and it'll show scratches easily. Does the factory even have the facilities to clean them out and refurbish them for next use?
I think forcing a user to scroll past 20 ads is a huge part of it. Usually by the time I get halfway down the page I give up on the idea of cooking.

I sometimes wonder how much of the costs associated with running a website are to pay for all the bandwidth for ads, SEO experts, etc… when a simple site with HTML and a dash of CSS could likely host recipes very cheaply.
> That side process is like nothing I have ever seen

There's been a story about Googlers avoiding chat history as much as possible when discussing topics that could cause trouble with discovery, and actively destroyed evidence or attempted to after they had inadvertently left history on.

https://ia601707.us.archive.org/28/items/gov.uscourts.cand.3...
I don't know, it's not as if they have done nothing that benefits society, that we all use daily, forgetting how much of it would not be possible without the contributions and innovation from these companies.

I am absolutely not surprised by the whining and am in no way giving these companies a pass. Something absolutely must be done to better protect user data and privacy.

But babies and bath water come to mind when I read comments like yours.
Sometimes it feels like talking to a comoutet or a ginie on HN. Not the slightest ability to understand the meaning of what was said, even when the wording gets corrected, ignoring the whole point and moving the discusssion to input parameter semantics. And thinking this appriach is super smart and edgy.

Frustrating really, and a lazy, disengenious way of argueing a point.

Feel proven so, if it helps you.
Indeed! That was unexpected for me.
Building a Cross-Cloud Rules System as Open Source Script
I'm reaching out to share a project I've been working on with my team.
We've put a lot of effort into this project and are now looking for more test users to help us refine and grow our solution.

If you're familiar and interested in cloud computing, especially when it comes to automating verifications, normalization, and security across different cloud providers, please take a minute to read this!

Quick Presentation:

Managing normalization across various cloud services can be a challenge.
Our goal is to make this easier by providing an Open Source script that reads YAML rules to apply verifications across all clouds with a unique rule system.

The script can notify you through different notification systems that you can set up (email, phone, logs, webhooks).

Everything is editable and extensible. You can easily build new rules based on our rules system and automate object gathering. Developers can also add new cloud service addons!

Visit our Open Source repository: https://github.com/4urcloud/Kexa
Yes, the work correctly again in the EU.
if its not an actual algorithm, but merely the thought of compressing the raw data (im not saying it is/isnt, I dont know), then its obviously totally ridiculous, and frankly, anyone that would even presume to think one should apply for such a patent should just be taken out back and disposed of. And then of course the patent office aswell
Procrastination Does Not Exist
I agree, but it is Apple's perogative if they want to go that way, that's an alternative to DMA compliance.
Vice president of the European Commission hints at Epic store on iOS
Analysis of Movies Where Title Was Mentioned by a Character
The problem with big brained plays such as Altman's OpenAI and WC double bet is that they're plays created by people with such an ego and lack of compassion that they forget that ... humans will still be humans.

When all is said and done, none of this changes that. Humans will push back against non-human things ... with regulations and eventually violence.

This is why nations spend so much time hiding the non-human factors acting against them.

Will AI prevent me from feeling human feelings? No. To Altman and many others this seems like world changing stuff, but is it?
Daan Tech broke their firmware update mechanism for lots of dishwashers in the field by losing their keys, more than once too. I own one such dishwasher and can't update the firmware without replacing the main board. They could certainly prevent cartridge resetting in newer dishwashers.
If that’s what he is saying this is probably the worst possible way he could have done it
Nothing original. These wave energy startups come and go. There are at least half dosen anchor floating energy harvesters demoing and failing. Even the location are similar. Demo in North Ireland or Northern Spain where conditions are optimal, operate few years.
This is from 2021 from already bankrupt startup that has platforms across the world. https://www.oceanenergy-europe.eu/industry-news/wellos-wave-...

The concept is not competitive with wind and solar.

Peak power is 600kW is small, you can't scale the concept to 10WM where it would become cost effective.
Profits comes from mild weather conditions. During peak power generation the price of electricity goes towards zero or negative. The maintenance and investment costs kill profitability.
> Massive win for Google, Apple, Facebook.

Yes, that is true and under appreciated

> Really hard to see a future for third party ad networks

For now, what are biggest programmatic exchanges still going? I have been out of the loop for a while
I would love to get some feedback regarding this project I made

Issues that it targets to solve -

- Frequently changing less important passwords

- For people who do not need multi device sync, a completely offline app where data leakage is not someone else's responsibility

- biometric lock but without continuously running in background and taking up memory and battery
> Hamas's claims that 30k people have died

That's not just Hamas's claim, that's the UN's claim, Amnesty international has this claim. There's plenty of independent thirds parties which hold this claim. The same cannot be said for the 12k militants claim, for which the idf has supplied no evidence, and is not repeated by independent third parties.

And beyond that, I don't think the belief that killing 1% of a population and displacing and injuring many more has much to do with any feelings towards any race. If the Belgians came into my country and killed 1% of everyone, I'd be pretty miffed, but that doesn't mean I have an ethnic hatred of Belgians.
- Thanks!
- Re: "function with parameters" you mean so the configuration is exposed on the node itself? It's definitely something I want to consider as an UX improvement. At first, I was very puristic about having all configurations acceptable as dynamic inputs, to ensure Flyde is robust and flexible, but that led to things like the HTTP node having 5 different pins which made it even worse. Now it's a hybrid model - as an author of a node you can choose how to expose it, and many nodes in the Stdlib expose configuration in both ways
- Interesting use-case! Flyde's last incarnation was an attempt to offer this to other SaaS products (before realizing it must start OS) to allow their users to do "Visual scripting" (like https://luna-park.app/, a project I've stumbled upon)
You can check the source code of the playground and try embedding Flyde, should work!
> You literally did say that

Not literally, no. My comment was in response to the general case of "in and around civilians and civilian infrastructure" - that truly is unavoidable. You then stretched that to the inside of schools, mosques and hospitals.

I don't have time to go through the first two links, but if the first is from UN I'll certainly take it at face value. As for the second link, I'm sorry, but when the IDF has told so very many lies, and been caught in them so many times - the IDF simply cannot be trusted.

> White House Intelligence on Al Shifa Hospital

Who later admitted that their intel came from... the IDF! And Al Shifa!... the hospital where the IDF produced that ridiculous 3D rendering to show the hospital as some kind of high-tech "terror HQ - all designed to manufacture consent for attacking the hospital. And of course, it all turned out to be BS.

> The actions at Al Shifa hospital were described as constituting a war crime

If Hamas was using Al Shifa as a base for military opertions, those actions would arguably have constituted a war crime, yes. But as it turned out, there was no evidence.

I do have to say, it's kind of odd for proponents of Israel's ethnic cleansing/genocide to bring up war crimes. Especially since Israel has contravened 62 UN resolutions, and Netenyahu has publicly stated he will ignore international law.
The United States has 50 dice to roll. Only one needs to land
We have price per g/kg/l here which should help, but in practice manufacturers keep packaging sizes the same to disguise the fact there is less inside. So now we generate much more environmental waste per unit purchase.
I get it now. I was fixated on our own missiles, sometimes I forget the context of these objects.

Thank you.
Yeah it's tough for folks to understand the sheer vastness of a place like Mongolia. Combined with a lack of infrastructure, it's still a really unforgiving area.
I did not really get the sense that was the purpose of this service? This service is SQLite behind an API.
Obsolete does not mean extinct.
I agree with this.

With many social networks, we have many platforms to discuss politics directly. IMHO, HN should keep to tech and not politics, with an exception of politics related to tech (eg. EU trying to destroy e2e encryption,... again,... government hacks, etc).

We have literally everywhere else to pick sides and point fingers.
Invalid conclusion stemming from a false premise.

If your "poor third-party ad networks who would think of them" cannot operate without dark patterns, abuse of cookie popups and malicious non-compliance, good riddance
That's interesting. Thanks for clarifying how it works and pointing to container2wasm and how it can be used. I guess if you had a Cosmopolitan WASM VM runner built into Dockerc or similar that bundled the WASM images with a cross-platform binary with the VM and image?
For me using Kagi is also a way to help push sites that actually respect the user. My hope is that if it gains enough traction it will force some of these bigger sites to abandon some of their dark patterns. And in the meantime, I get a much better experience with no ads, and constant new features, which makes search feel new and interesting again.
Look inside the largest 3D-printed neighborhood in Texas (2023)
Watching all that Sony stuff.

Part of what's giving you that effect is not the resolution, or color accuracy etc: it's that you're looking at what is really a very primitive system. It's the analog vs. digital all over again, but with video. More than that, it's compressed video, versus a more immediate but more primitive analog system. What I'm seeing of RED suggests it's all about sensor resolutions, but compression is always a point of contention and color space is an issue.

If you're digitally compressing data like this and running into an area where there are challenges, you're running into areas where the algorithms get twitchy: they're designed to optimize for certain things and you can throw pathological image sequences, pathological colors, at them.

Some of the challenges inherent in getting really high sensor resolution out of a RED are irrelevant to old Sony analog HD camera technology, apples and oranges.
I have two additional thoughts. The first is blindspots. Car manufacturers must be held responsible for blindspots built into cars that keep drivers from seeing pedestrians, and cities must be held accountable for not creating crosswalks with enough clear sightlines appropriate to the vehicle speed of that road. The faster the road, the more space is required around the crosswalk.

My second thought is lighting. Nighttime lighting can create blindspots via veiling glare. It is frightening when a pedestrian pops into view as they move out of a glare spot or a glare-induced shadow. Some of the worst offenders of glare are unregulated "security" lighting.

I know I'm an unusual driver, but I'll take being accused of driving like an old man and avoiding cities over putting others at risk.
> People shouldn't be able to block others developing useful technologies just based on some scifi movie fears.

The GP was suggesting we have to develop AI because of scifi movie visions of spacefaring utopia, which if anything is more ludicrous.

I personally don't believe in AI "takeoff", or the singularity, or whatever. But if you do, AI is not a "useful technology." It's something that radically impacts every single life on Earth and takes our "rights" and our fate totally out of everyone's hands. The argument is about whether anyone has the right to remove all our rights by developing AGI.
I don't think the tech advances these companies made were irrevocably tied to the anti-competition practices. If anything, if we made it easier and cheaper for anyone to build on top of the things already existing, we could have had much more.
It's not a rumor, Apple has officially confirmed it, see https://developer.apple.com/support/dma-and-apps-in-the-eu#d...
>Reactive programming frameworks that execute callbacks in response to events can cause really weird bugs if the callback mutates state somewhere

What's the point of a callback that doesn't mutate state somewhere?
I like how Lean4 handles totality. You can tell the compiler to trust you. Or you can provide a proof. The latter is more useful while the former is sometimes pragmatic.
The "n" in "na" is not the same as the "n" in "ni".

However, only some consonants get this treatment, such as "sa" and "shi", because it only takes into account what a typical English speaker can distinguish.

Do they have to keep such an English-centric approach? Why not "nyi"?
There's California's Consumer Privacy Act: https://oag.ca.gov/privacy/ccpa
Do you understand it’s a micro countertop dishwasher, that would use less detergent than a full size?
Thanks! I agree, and while no one knows how development will look in 5-10 years from now, I find it hard to believe it'll be _just_ textual based, and I hope Flyde will help inspire that move.
'Baby quasars': James Webb Space Telescope spots little giants in the deep past
Thank you, even Betselem (israeli human rights org) claims that israel is an apartheid state.

People will also use the holocaust to justify this somehow. Americans are brainwashed since theyre in elementary school by “learning about the holocaust” literally year after year. All this has led to justify any wrongdoings israel has done.

At the end of the day, israel is a colonial entity, its not welcome in the region and will never will be. Hopefully I can live long enough to see its demise, but I know I will die knowing that it will no longer exist in the lifetimes following me.

It’s unnatural and is held up by excessive funding from the West. hopefully they can transition peacefully but until then I view every violent action against them as justified.

They occupied all of south lebanon for 20 years (after the PLO was completely expelled to Algeria). Only violent resistance was able to expel them.
> 20GB json file… takes 6 hours just to load

Err you definitely should be doing something about that.

20GB on T4s (how many?) isn’t really comparable to terabytes on thousands of A100s.
Because a stateless program can execute in only one way for any given inputs.

A stateful program can execute in 2^n different ways for each bit of state for any given inputs.
The Bradford Factor: A formula for employee dissatisfaction