skysight-inc/HackerNews huggingface dataset:
Since the first element in range() will be 0, should the last line be ...?

return prod(1,range(n+1))
Can AI-generated inventions be patented? A Tokyo court says no
With earnings at 2B and an IPO price around 50B it would make it one of the most interesting/attractive tech IPOs of the year.

Edit: A bit about why Shein is special and what makes it "tech":

https://sourcingjournal.com/topics/logistics/shein-supply-ch...

Shein May Open Up ‘Supply Chain As a Service’ to Brands and Designers

...

The small-batch, on-demand manufacturing model has been the bread and butter for Shein’s rapid growth, with the e-commerce retailer reportedly making more than $30 billion in revenue in 2023.

Partnering with roughly 5,400 third-party contract manufacturers in China, Shein can churn out tens of thousands of new styles daily. The company places orders to suppliers to be delivered in days, shipping roughly 5,000 metric tons of goods via air freight per day, according to data from Cargo Facts Consulting.

The fashion firm also leverages real-time data to quickly analyze demand and replenishes orders as needed, while also allowing it to quickly boost production of popular items and drop products that do not sell as expected. Using this data, Shein can reduce storage costs and limit inventory waste—further allowing the company to maintain low prices in the form of $10 dresses and $5 shirts.
Yes, you're supposed to throw it away.

The key insight is that words should appear in your scratch space with equal probability, no matter how often they appear in the source text. If you have a scratch space of size one, then the sequence of "apple" x 16 + "banana" x 1 should have equal chances of of the scratch space containing [apple] or [banana] at the end of the sequence, at least averaged over all 17 permutations.

One way to achieve this result is to make the scratch space memory-free. Rather than think of it as "remove the word with probability x", think of it as "always remove the word, then re-add it with probability (1-x)".
The Mississippi used to change course every year, and was about double the current length - all while following essentially the same route. (until the US army got involved). How do you want to count that?
This problem specifically (3D reconstruction with representation fitting) is really an overfitting nightmare, they just adapted to it not really overcame it. Nonetheless interesting work.
Very nice to see a sample like this in the wild! I am a huge C# Markup fan
Building noise barriers everywhere is probably expensive as well.
I mean there's no guarantees it'll be any safer because of a lack of outside audits or hackers finding out about it, but it will be safer because it's a one-off and unique implementation, instead of a known weak system with countless users that could all be affected.
Ambitious but at peace
Something like Inngest's multi-tenancy aware flow control should be table stakes for most complex products now: https://www.inngest.com/docs/guides/flow-control.

Huge disclaimer here: I'm one of the founders. You should most definitely be able to set concurrency levels, throttling, rate limiting, etc. per your own tenant, in code, without having to mess around with creating independent queues or streams for users, and without managing state. We let you do that.
Turret: New tool to monitor AI agents, catch mistakes, manage costs
What’s to stop a bunch of westerners from invading this app and just posting on it in English?
Ah, that has to be that freedom US-Americans bomb the rest of the world for to protect.
Distilled water is fine. Demineralized is normally cheaper and also fine.
Largely for the same reason people don't "just win" the lottery by buying every possible ticket (any more).
It’s also simply untrue. Even in such small, tight knit communities people have privacy and secrets.
I'm pretty sure most instances of relicensing have had a previous claim that wouldn't happen, so I wouldn't assign too much weighting to that (if anything, it should be a red flag to look into what the IP situation is).

I think there are a bunch of questions you can ask:

* Why is the software open source (if licensing/contractual requirements make it so, that's more likely to keep the status quo vs. corporate claims of "we <heart> open source")?

* Who owns the copyright/IP (and what's their reputation)?

* What would happen if the the license changes (is there an ecosystem that relies on it being open source, or is it a black box)?

* Who cares what the license is (e.g. BerkeleyDB was relicensed, which got old versions frozen in linux distributions, so no-one upgraded to newer versions, and replacements were written)?
Distilled water is effectively demineralized... Not perfect... technically it's collected steam from boiling water, so it kills most bacteria and leaves most other material or minerals that can't be carried by steam.
Rare? Unless it’s people obfuscating the codebase so they are able to keep their job forever without delivering any new/real value.
I wonder how you think this works in practice. Do you think the public structures we have and how they look are not just basically whatever aesthetic taste the people we elect have?

Sometimes councils put up several designs to be voted on by the public, but they will largely follow a bunch of design norms that will be whatever the architecture firms they hired think is trendy, for example.

And how many election programs even talk about artistic taste? That's not why we elect people, and making that an election point would be a distraction from real problems, so why not let society be and if people are more artistic in one area and make more public art, let them make it?
I see no reason why this approach shouldn’t work perfectly in the coming years.

"I climbed the stairs two at a time today. I see no reason that I shouldn't be able to do the whole flight in one step in the coming years."
Something tells me academia is rotten to the core and something's gotta give for things to improve.
Musk needs to demonstrate his faith in his own product by getting an implant.
Tesla accused of union buster bluster at Buffalo factory
Agreed! Have you worked on any projects using C# Markup yourself? Or have you tried Uno Platform as a whole yet? Would love to hear about your experience with it!
These things are always true while they're trying to gain their foot in the door. First comes ad free, then comes users, then comes ads
Not in a sense that meets the standard necessary to be dismissed as "magical thinking".

Only in the sense that meets the standard of "why we've not already done it".

From the article itself, "Globally, flying accounts for about 2% of all emissions", so while this does need to get fixed, it's nowhere near the top of the priority list.

But even then, one of the things near the end of the article is this:

> Large commercial airliners cannot be outfitted with batteries, unlike cars, due to their weight, while progress in other fuel forms, such as hydrogen, has been complicated.

Which is true.

But small aircraft account for a surprisingly high fraction of that 2%, and those can and are being outfitted with batteries.

But when it comes to the option of taxing CO2? That has two effects, one of which is to make all alternatives seem better, encouraging transition sooner; the other of which is that when we find ourselves struggling to do away with the last half a percent (or whatever) of current emissions, that small(!) scale is something that we do have suitable solutions for in terms of sequestration etc., even though it doesn't come close to the necessary level for current, much greater, emissions.

Medical analogy: you can't solve a broken bone with an aspirin tablet, but you probably do still want to use an aspirin for pain management at some point — it's not a panacea, but it's also not a placebo.
That plus well developed civilian nuclear power gives the means to developing atomic bombs, and Russia has every reason to fear a nuclear-armed Germany
When 70% to 80% of coding can be automated you can be productive with far fewer developers. Doesn't mean all developers are going away. Just like we have 75% fewer farmers than we had 100 years ago, but we still have farmers. There's still going to be developers 100 years from now, but significantly fewer than we have today.
3,000 Best Free Movies on YouTube Playlist
could the old wagons have noise canceling skirts?
Frankly, who can read this!? I am not sure what's worse, the multi-line comments spanning multiple lines of code, having multiple instructions on a single line, or the apparent disconnect between the pseudo-code of the article.
Imagine thinking content you post online is NOT used to train AI data, in 2024. Seriously, just imagine for a second being that befuddled and out of touch.
Well, we're already seeing it happen, but I suspect we'll continue to see social media services decline due to the rise of AI and general burnout with the concept. Twitter is on a decline, Facebook is definitely on a decline, Reddit and Discord feel less active than they used to be and people are feeling disheartened with stuff like Instagram too.

I feel like people are going back towards smaller scale communities, or even offline ones in general.

Tech wise, I don't have many predictions though. From what I can tell, the answer there is "more options open up", and that's about it. If you want to work with pure HTML alone, that's still possible and people still do that. If you want to work with Perl or PHP or Python or Ruby or whatever, then that's still possible too. I don't think we'll ever see a total revolution in what tech people use there, because no existing tech completely dies out.

I do worry about the job market here though. We've seen a huge flood of people joining the tech industry due to the salaries and appeal of an 'easy' life, and we're seeing more and more solutions that remove the need for a development team altogether (especially now AI is getting better). I kinda suspect wages are going fall rather rapidly at some point, and that the bottom end of the market might slowly start fading away.
I've also lived in an area that seemed to have reduced this problem by a huge factor. I lived in a community of 150 townhomes where 50% of them were Section 8 and the other 50% were privately-owned. Due to how the community was built, you could never tell which units were which.

I was able to have a 3bd/2.5ba 1,200sqft townhome for only $1,200/month. I think there was only 1 shooting in the 3 years I lived there. Yeah there was noise, but it was also a college town so that's unavoidable in the area.

It's an idea that I felt worked very well, and I really wish more cities would try it out for semi-dense housing solutions.
Should you build an open-source SaaS?
i think you should position yourself as streamlit done right.
Lung-on-a-Chip
Why would they choose to do so?
When you’re talking even 3+m deep bodies of water they don’t freeze solid even in the arctic circle. A thick layer of ice on top still provides the same weight, so winter just doesn’t change anything.

There’s some countries where the geography doesn’t work out, but most midsized countries already depend on exchanging power with their neighbors simply on economic grounds.
Security Through Obscurity deniers are screaming like banshees right now.
I've made a benchmark of Bend running a simple counter program on CPU vs GPU, vs Haskell,Node,Python,C that I plan to write a blogpost about, probably this Sunday:

https://docs.google.com/spreadsheets/d/1V_DZPpc7_BP3bmOR8Ees...

It's magical how the GPU version is basically flat (although with a high runtime init cost).
return '⊥'

what's this?
I wouldn't compare the game of life that has exactly one "next state" with something like Go.
This functionality seems completely unnecessary to me.

I just had a Navien tankless heater installed and the recirculating feature works wonderfully and needs no IoT app or internet connection at all.

It feels like we are in a wilderness period right now where every appliance wants its own app, with online account, which is just a supercharged way to get more personal data from their customers.

I also have a GE dryer with its own app. The functionality isn’t even good. We can see the settings remotely and get a notification when the cycle is complete.

In exchange for this essentially useless feature, GE gets a complete history of our laundry cycles, any info shared by my mobile device, and advertises to us.

Security is only a part of this mess.
I don't know if he'll be a genius but he's definitely ahead of the curb development wise according to our neighbor that is a child psychologist. And my boy has also maintain at least 99.7th percentile in both height and weight. I'm pretty sure most of that is genetics but I make sure he gets plenty of fats and protein. He was 100th percentile in both for the longest time but I guess he's starting to fall behind a bit.
> Rather it knows that iterating has to answer two questions:

> is there more?

> what is the next thing?

> This approach sounds so good.

Does it? I think separating the checking for presence of a next value (hasNext) from retrieving that value (next) isn’t the best idea, and most performant implementations will secretly already do the latter when asked the former, but then have to add an additional check in the “what is the next thing?” method in case there isn’t any.

That’s doing extra work in cases where the program only is interested in whether there are more items, but that rarely happens, doesn’t it?

Yes, good compilers can often combine the two through inlining and the like, but why make the compiler do extra work if you also could have “what is the next thing, if any?” as the sole method? (That’s more or less what IEnumerator.MoveNext does in C# (https://learn.microsoft.com/en-us/dotnet/api/system.collecti...))
If only they had a big grid close by somewhere to import/export as needed…
Also note the Rechnung #: 45968L59

So if you type 459 on a keyboard, a natural jump to something in the middle would be 68. 4-5-9, then 6-8 quickly. Right hand finds another letter "L" and then jumps back into the usual 59.

This is not definite but adds slightly to the suspicion.
Most people don't care, paid service or not. People are already used to companies stealing and selling their data up and down. Yes, this is absolutely crazy. But was anything substantial done against it before? No, hardly anyone was raising awareness against it. Now we keep reaping what we were sawing. The world keeps sinking deeper and deeper into digital fascism.
>Damn thing has ADSL and gets 2.2mbps down lmao.

Had they considered an infrastructure upgrade to carrier pigeons, cans on a string, or smoke signals?
I made the caching window substantially longer (2 days instead of a few minutes) upon noticing most queries weren't about current events, and fixed a bug in the cache resolution logic that'd lead to a substantial number of cache misses.
I think in future only there would be just raw data, and AI will be able to infer data to create original content.
True. Nowadays it is not a problem, but it makes me wonder how they could make 60 Hz television run on a 50 Hz grid.
Apple geofences third-party browser engine work for EU devices
https://acoup.blog/2023/05/26/collections-on-the-reign-of-cl... gives a good overview of Cleopatra parents as we understand them. Note too different family trees - the official one which is so inbred as to believe it isn't possible her parents could survive; and the unofficial one that recognizes nobles often sleep around and so we have no clue.
I think what fuels a lot of conspiracy thinking is an emotional preference in having a nefarious actor or government agency controlling or causing a problem than realizing no one is in control. The Devil is less frightening than entropy.
I just tested something to a similar effect. It's much more jumpy time-wise, yes.
> Rust is the en vogue tool of the moment and it's objectively harder to read than C

I think you're just used to C syntax. I find Rust syntax much easier to read than C syntax (and that was already true when I didn't know either language well).
I tried to sum this up with my now flagged comment. It was probably too quippy for hn.
Maybe that per-customer rate limits don’t guarantee the whole backend won’t go over capacity? Though I guess many apis will have global rate limits as well for these cases.
the app relies on it's storage, image composition, and AI features

there's no reason someone couldn't swap out the underlaying tech and take advantage of the UI, but it's a big undertaking
Ask HN: Email List Software
What do you all use / recommend for mailing list software?

I help a local charity with their website, and we have a number of Google Groups (with our domain) for our internal communication (no external marketing). However, the email will frequently be classed as spam by Yahoo and Outlook. I've been in touch with their postmaster teams, and each time they will first blame Google and then tweak their spam filters, which works for a week and then our list email goes to spam again.

I wouldn't be surprised to learn that it being filtered as spam due to the Google Group footer - which can't be disabled for external email addresses.

I'm fed up with the whack-a-mole, and wondering what alternatives there are? I just need a central email address that members can email, and that then be sent out to the members.
anyone got a cached results page so we can look at it? getting at capacity errors
RAL8000 was very popular in the Bundeswehr.
> High speed roads should be limited to rural area and no more than two lane, one for each direction.

Because no freight moves by road, only people. And even those people mostly shouldn't.

That is, your "should" doesn't actually work in the actual world. Trucks carry something like 60% of the freight in the US. You could say that rail should carry more of it, and that works for longer distance, but regional traffic is usually more efficiently handled by truck. So unless your vision of the future is people living in their cities, with nothing in their apartments, and not eating, you need better roads than that.

And then, you run into human nature. Some of us like going places, and more of us want to do so than you seem to like. Your "should" becomes "you should live your life the way I want you to, not the way you want to". You should expect a rather hostile response for that...
NYPD will deploy drones to respond to 911 calls in 5 NYC precincts: officials
The financial costs of healthcare costs, or, is keeping me alive worth it?
The root problem is that democracy requires active engagement. It turns out the hired representatives are not mind readers. However, those with means are able to give more engagement, and thus are disproportionately represented. The squeaky wheel gets the grease, as they say. The guy who is in their representative's face every single day is going to be more apt to get his way. The people who have never even spoken to their representative, even just once, most definitely won't get their way unless by sheer coincidence.

There is no solution to that problem other than to give up democracy, but the alternatives come with their own set of trade-offs. The wonderful world of people problems.
Followed your instructions, but I can't seem to get a wafer size larger than about 88cm diameter. What am I doing wrong? Can anyone help?
Beekeeper furious over destruction of $2M honey crop
Well for starters it’s local network only so I’d argue that it is objectively safer than whatever shitty app/cloud thing IOT suppliers rolled.

Worst case I just firewall the ip of the ESP32 off but frankly o haven’t bothered

But yeah the aliexpress ESP32 could be compromised or ESPHome could be but those are dice I’m willing to roll
> Life would be meaningless if it was just black and white.

Someone should probably tell that to the graffiti "artists" in my town
We lived fifty yards from a railroad embankment, just where it bridged a street. It was very loud.
I'm not sure I follow the argument. The scheduling seems like it would be de-coupled from the provisioning. With the static rate limit, if the only additional requests are from the high-rate client, then those requests are ignored and the server is idle. With the fair scheduling, the server is only idle if all requests from all clients are filled.

Which is beneficial depends on how the payment scales. If clients pay for access up to some rate limit, then the rate limit is there to enforce payment, and serving additional requests above that rate limit is an additional cost without a benefit. If clients pay per request, then any rate limits are there to ensure quality of service, and serving additional requests above the rate limit is additional revenue.
In some symbolic logic classes, that character "bottom" represents "false" ad flipped "top" means true.

Don't know what they're getting at in the code, though.
Have you tried downloading the bucket itself? Something like: https://stackoverflow.com/a/66816681

Might be faster than individual http downloads
Didn't https://www.odata.org/ do this already?
If the Odata server understands the table relations, you can navigate through table relations in the REST query.
I found that most parts of the business prefer filtering more than joining, learning another DSL other than SQL was a real barrier, and that many BI tools only support a subset of Odata, so are pretty much useless.

I definitely prefer concatenative (monadic) syntax a la Linq though, as it allows better scoping of efficient joins without a planner - it allows you to duck-tape (allusion intended) together a platform service easily.
My first impression is that I'm not seeing increased resolution. It looks a lot like an overapplied sharpness filter (too much contrast around existing edges).
"Neuralink Co-Founder Reveals ‘Safety’ Concerns as the Reason for Leaving Elon Musk, the Company" - https://www.techtimes.com/articles/304351/20240506/neuralink...
If you allow so called 'power users' to muck with the system a lot of people end up breaking it by installing all kinds of battery wasting, privacy invading crap.
The only way to keep simplicity is to make it impossible to get complicated.
> They need to reword this. Whoever wrote it is a liability.

Wow you're so right. This multi-billion dollar company should be so thankful for your comment. I can't believe they did not consult their in-house lawyers before publishing this post! Can you believe those idiots? Luckily you are here to save the day with your superior knowledge and wisdom.
> the top-k items in a stream

Hmm, this is phrased in a way that sounds different (to my ears) than the abstract, which says:

> it is often desirable to identify from a very long sequence of symbols (or tuples, or packets) coming from a large alphabet those symbols whose frequency is above a given threshold

Your description suggests a finding fixed nr of k items, with the guarantee that it will be the top ones. The abstract sounds like if determines an a priori unknown number of items that meet the criteria of having a particular value greater than k.

So "find the 100 oldest users" vs "find all users older than 30".

Am I misunderstanding you or the abstract? (English is not my first language)