skysight-inc/HackerNews huggingface dataset:
> witter pulled the same trick earlier this year where they made For You the only option, then they would show For You each time you open the app, then they finally gave the Following feed back.

Obviously. You're using 2 spaces indentation for Python and 4 for JS. Don't be surprised that it is harder to see the indentation.

I think I might have indentation related bug early on, when I was new to Python, but I don't remember any recently. It could be that Python 2 allowed to mix tabs and spaces for indentation, while this is no longer allowed in 3.

Also this is how I would format the code:

for _ in range(10):
for _ in range(10):
print("Inner")

print("Outer")
Not in China though.

A recent law requires phone vendors to register all Apps to the authority. Any "side-loading" is viewed as a risk to national security.
https://opendata.paris.fr/explore/dataset/les-arbres/map/
Please, the only reason ancient people didn't eat more meat (apart from the inuit of course, who ate almost exclusively meat!) is because it was a lot more work to get it before industrialization. There's no philosophy about it, humans exploit more than other animals simply because we have the power to.
> What gives us the right to even attempt that procedure on another living being?

Imagine being pig and realizing your entire existence has been shaped by thousands of years of selection. Unfortunately the sentiment of animal justice is a few thousand years too late. We have literally evolved farm animals into their current form. These creatures have no other purpose than what they have been artificially selected for - human consumption. They have been molded into a bastardization of their former ancestors, their new purpose at the whim of humanity.

I'm mostly rambling, but the main point is that it's not very straight forward. Would it be better if pigs never existed? If we stopped all animal farming tomorrow, how will they survive, where will they go? And I'm not even mentioning morality, which would complicate things even more, especially if one does not believe in a higher power, a.k.a. God.
Time 100/AI
I dont know why, but this reads like a LLM output.
> Go might’ve been a better option if you were going for a “modern” concurrent language, but whatever works!

Go doesn't embed in other runtimes as nicely as Rust, nor it cannot call foreign code (including even C) as efficiently as Rust does. Rust strength is that it needs virtually no runtime and there is no magic needed to cross the ffi boundary.
Why would you run something else than the latest iOS?

You do understand how much work porting new features to old operating systems is?
the exploit was used to install the pegasus malware. very hard to imagine anyone else doing that.
Inferior? It's just different.

Why do people always put things in hierarchy or in better/worse?

Just give your opinion, apples are not better than oranges.

I don't even play chess or shoji.
Nice! I just simply cannot bring myself to do it... Not even in winter in our garden! Coldest night I ever passed, with the kids nonetheless, in a tent was just so slightly above freezing.

You do get to nice places so if temperature is no issue for you!
ChromeOS uses A/B partition scheme, so it essentially downloads the updates in background and apply them to the non-active partition and then notifies the user to restart which is essentially just switching to the other partition.
> So explain what it costs a business to make something in non-monetary terms.

I've just spent like 20 comments doing so. Short version: labor and resources.

> Will the bank be loaning them painting hours?

Tangential to my point, but I'm happy to go into details on how this might work. Effectively various forms of labor would have a known cost (set by labor markets) and various resources would have a known cost (beyond the labor to extract them) derived from some social price-setting process (we can just call it "democracy" for now). So if you make widgets, you'd have to demonstrate to the bank that you can do so with X resources (at R cost) using A labor at L price, and together the total cost being N (remember, we can add R + L because they both have a price value either set by labor markets or by democratic pricing, ie a common unit) and you'd have to demonstrate there is a social need for your widgets at R + L cost. If you can do so, when another company orders 100 of your widgets, they take on the disaggregate cost of your widgets (100 * (R + L)) and that cost is removed from your company's costs. So although the costs are reducible to a single "price" (an at-cost price) which can be used for effectively limiting a company's upper ceiling on costs, the actual disaggregate costs are the ones that are tracked and passed through the economy until purchase by a consumer, who is able to inspect and act on the disaggregate cost (but pays the aggregate price as a single number). Yes, I know what you're thinking, shortages, clearing prices, etc etc. Short rebuttal: the consumer might not pay the actual at-cost price based on a set of automated incentives the company follows to limit shortages or clear inventory.

So back to your question, the bank might loan them a total aggregate amount that they can spend to acquire at-cost items from the economy to transform them into widgets, at-cost.

Happy to expand...and forgive me if I've been short, but the number of people engaging who are automatically assuming I want slavery or don't know how markets or prices work is making it difficult to separate good faith from bad.
https://www.youtube.com/shorts/phx4xKH3Ijc
Separate release branches do make a lot of sense and allow making only bugfixes to already released versions. The develop/master separation suggested by git-flow has no benefits and only makes a bigger mess. Trunk-based development also involves release branches, but is much easier: https://trunkbaseddevelopment.com/
Microsoft signs $200 CO2 removal deal with Heirloom Carbon
If you don't believe human lives are more important than animal lives then you are morally obligated to kill as many humans as possible. Even a vegan human will indirectly lead to the deaths of thousands of animals in their lifetime through habitat destruction and climate change.
TIME reveals the inaugural TIME100 AI, a new list highlighting the 100 most influential people in artificial intelligence.
> Exceptions: Mandarin Chinese uses a different word for pineapple.

Actually two words for pineapple: 凤梨 & 菠萝

On the topic, I think one word is defintely the same in all languages: "OK". Yeah, even in Mandarin.
OutSystems vs. Mendix
this is actually not specific to israel, there are similar groups in other countries. finfisher was somewhere in benelux I think? hacking team was in italy. these two were pretty much dismantled but are just regrouping under new names.

this is a problem of all nation states wanting this kind of service, not of israel in particular.
it's as if using fitting tool for solving problem's domain is a magic.
good for you for saving that much of resource, though.
Right? Surprisingly though, that's the #1 reason for job rejections that I've heard about secondhand. Though in the cases I'd heard of, it was cuz they had long hair and not mullets. Stupid, right, but I guess some traditionalists judge things like that. Shrug. Some places also want a shirt and tie.

Engineer types don't readily fit into that world, but we serve them just the same.
I agree. Seeing this again with the added “successful” attribute made me think: “successful at what?”

At influencing developers? Yes. At helping developers? I want to say no.

I don’t want to blame the author for this catching on, but I don’t think it was helpful that it did.
This is the third time GitHub has enforced annoying useless spam feed.

BTW, why isn't this on the top page despite the high points? Is this oppressed? I checked HN at least every half day for the last few days and this must never have been ranked on the top page.
Yeah, teachers in USA are forced to be teachers and don't have food on regular basis /s
Researchers have to pass ethics boards, there's no equivalent for farming.

Personally I'd much prefer that we enforced more ethical treatment of livestock over being forced to veganism.
While not strictly on "the DOM", a lot of modern APIs are within the browser's JS VM (Notification, Camera, Audio, QR scanning, etc.) and all of them are async to the core. My argument therefore stands.
They rarely have it just as good as in the West. But being on the top in your society can make you gloss over a lot.
That is where AI-based play automation to test the cards should come in place.
I'm not apologizing for google, but think many people who are against all forms of this aren't really thinking the problem through. The same way newspapers said "stop linking headlines to us" and then once some popular service did and all their traffic disappeared they came back and said "oh, wait, no, you can link to us"

For the ads, a large portion of the internet that people want (maybe not you in particular but lots of people in general), run on ads. Arstechnica runs on ads, theverge runs on ads, slashdot runs on ads, the register runs on ads, kotaku runs on ads, tech crunch run on ads. To name a few sites that might be popular here

If those sites can't support themselves they'll more than likely disappear. If all those sites disappeared I feel like plenty of people (maybe not you but more people than not) would realize that they thought they wanted (zero disclose) lead to outcomes they didn't want

I feel like Google is genuinely trying to do something positive here. Provide a way of those sites to still target ads, still check if an ad was effective, still try to check for bad actors making fake clicks, but also be practically un-attributable to a single user.

Going through the actual specs, they really are trying to make it so you can't track and individual but sites can still function based on ads.

Is it in Google own interest? Yes. But it's also in the interest of sites people want which means it's also in the interest of the people who want those sites.

Apple on the other hand, would prefer you be tracked directly by having you download an app for each site where that app can track you way more than a browser with these features can track you.
In my Australian experience, yes we have a gender gap in earnings, but couples still tend to be from the same socioeconomic circles.
That’s a grave misunderstanding of capitalism going back all the way to even Adam Smith.

You can’t have fair competition without rules, without sane rules you could win the Marathon with an AK47 and a Jeep every time, without any innovation.

Also come on, this “vote with your wallet” is just dumb — what are you voting for between literally the two candidates? What if I want a privacy-respecting, but open to customization phone with great hardware - do I buy like 87% iphone and 13% android, or how does that work? Will it somehow magically register my “vote” at Google, and not make them introduce an ever worse privacy feature?

The phone OS market has such a hard entry for others that even goddamn Microsoft failed at it, and they did throw a litany of money there. This is as much choice as the US two-party system: you get go vote at the least bad, good for you..
Show HN: Snappify [video]
Keith Haring’s Computer Drawings
If anyone from Apple marketing/leadership is out there... as a tech savvy but plain jane iPhone user - I really do just want a bubble wrapped, walled garden iPhone experience where everything just works and I don't have to read every scary sounding "iPhone has been hacked" click bait article in breathless suspense only to read the fine print to find the end user in question was dabbling in some sketchy third party app.

(As an example - the top HN article at this moment is about iPhone being hacked).

I really think that Apple could have/could still head this off by introducing a separately branded edgier "dev" phone for people who want to live on the cutting edge. Give it a different persona (gamer hardware form factor and use distinctive UX elements) to ensure that when the journalist tries to create masthead graphics for their clickbait article, its obvious it only applies to non-walled garden phones.

Then let the market decide - maybe in fact the majority of Apple smartphone users do in fact want live life on the edge.
Their github is not clear... there are 3 repos, one for the github, one for media extraction scripts (the main backend too?), and one for the frontend.

Edit: Okay the frontend looks like it's the whole app:

- "LLM React App Javascript Template"
- https://github.com/golivecosmos/llm-react-node-app-template

Looks pretty good to be honest
Superficially, it's the same. But the semantics change because it's an auction based system.

ERCOT have no idea how much load shedding capacity they have ahead of time. They have to start bidding on the wholesale market and see which bids are accepted.

Which makes it harder to do long-term planning and potentially slower to respond in an emergency.

It also result in headlines like this :)
yes I can totally blame the bully for using the stick he just found, and selling their services of "beating up blameless victims" to the next-biggest bullies. that's what responsibility looks like. NSO group are 100% responsible for what happens here. (which doesn't pe-empt someone else also being 100% responsible, for the record. I know, sounds unintuitive :D )
I guess degrading battery life is the key here. The battery life is already bad enough and the competition is high to make the battery last longer
If you want to reuse an object to avoid allocation, you better not have a reference to that object from somewhere else. In JS AFAIK there is no way to detect such situation automatically.
Most anyone just resigns if they know they're in a losing position, there's no rule forcing you to play it out.
> By crafting a malicious JPEG/PNG that specified inflated dimensions, an attacker could cause the decoders to allocate an overly large buffer to hold the decoded pixel data. When copying pixel data from the file into the buffer, the attacker could overflow the bounds of the buffer and overwrite adjacent memory.

This is such a trivial exploit, why in the world they decided to write an own JPEG decoder, and stumble on the seemingly most trivial case of input sanitation?

I would add sole reliance on sandboxing instead of principial stance on writing on overall secure, high quality, and higly verified codebase is obviously failing.
Musk-owned X's content moderation shift complicated effort to win back brands
Firefox also can display images correctly if the site happens to not include a web optimized version in the correct resolution. I don't know the web you visit, but that is pretty common in a lot of places.

Chrome users looked at worse versions of images on the web for years. It is a completely bonkers performance optimization.

Chrome did kick Firefox off in web development tools though, so I can understand some people. But today I don't think there is much difference anymore. I am not web dev though. On the other hand webdevs should know about image quality on websites.
Texas is like Germany. No hills (unless you count the waste disposal hills, where you cannot pump up water)
> only to realize

All of it? Some people would immediately recognize the typical StableDiffusion output but not a Midjourney.
The other side of this modelling is that the PLA is trying very hard to look bellicose because it has to, but it's telling its masters how hard a defended landing in rough seas is, and how UAV and drones have changed the shape of war, and reminding their bosses that with 20%+ youth unemployment and the property boom crashing the government is in the pits for popularity right now, so once bodybags start coming home it's a bad year for everyone.

The Taiwanese will be hurt bad, but there is no way the PLA is simply waltzing up the beaches. It will be a contested landing, there will be massive losses, of ships, of materiel, and of citizens. Ukraine is telling them to think very hard about what they really want.

It's more likely the KMT regain power and there's a soft rapprochement. At least one candidate has said as much.
EU AI Act: Notes and Thoughts on the Proposed Regulation
There are several translations of Harry Potter books to Russian language. Some translations keep names a is - Longbottom or Ravenclaw. While others translate them to Russian. There is (or rather was) so much love and hate about both options.
I mean, Japanese isn't a Romance (i.e. Latin-derived) language, but the word "pan" is a loan word from one.
The network one? No, it'd just make the guest able to show windows in the host's compositor without running one inside the guest.
This seems like a question of linguistic semantics, but I'd argue that groups of humans are only good at this at the scale where its not so much a skill of the individual humans but a property of the larger system itself. Millions of humans individually trying to figure out how to exploit some new cards aren't going to be anywhere close to as good as millions of people playing games against each other to try things out, and at that point, it's not obvious to me that humans even scale as well compared to what might be possible with a computer program.
Me too, I want to follow

https://github.com/blanchette/logical_verification_2023

The hitchhiker's guide
Not that am in support of Google's ad model or use Chrome with defaults but I would personally take this over 3rd party cookies given the choice.
> "The intriguing part here is that line and fields won't be cleared from memory until the garbage collector determines it's time to do so. We find ourselves with RAM filled with redundant strings and arrays that need cleaning. It's hardly surprising that our computer wasn't thrilled with this situation."

I don't have enough experience with super-optimizing Javascript, but wouldn't this be an easy solution? Instead of creating new variables in each loop and let the engine clear them, reuse the variables to avoid using more memory:

let line, fields, httpStatus;
for await (line of readlineStream) {
fields = line.split('\t');
httpStatus = Number(fields[5]);
if (httpStatus < 200 || httpStatus > 299) continue;
await dbWrite({
pathname: fields[7],
referrer: fields[8],
// ...
});
}

Edit: and as others suggest, keep streaming those records, instead of just pushing them into an array
Wow, so much discussion of Apple and their software, and so little of NSO group and why they're even a thing.

I just want to add this: these people operate pretty much in the open. They're not ashamed of it either, or else they wouldn't put it on their CV:

https://www.linkedin.com/company/nso-group/people/

That right there tells me that we as "the tech community" are way too okay with this sort of application of the tech. The tech we're all so convinced will "make the world a better place." /s
The Wikipedia article also substitutes Buffalonian for Buffalo for an extra bit of clarity.
>"Stealing words"
That's a bit harsh. We borrow words (or loan them). We certainly don't steal them

Exactly: you can't "steal" a word, because when Language B borrows a word from Language A, Language A still has that word.

It's just like copying digital data: if I download a copy of Movie A, the studio hasn't lost a copy of it, so it's not "stolen".
Very interesting, indeed, they seem to be driven by better fluid simulations... remarkable that they find their way into games. I was always under the impression that Navier Stokes was hard in 3d, but it does seem like there are performant solutions now that are easily offloaded to the GPU, e.g. https://github.com/chrismile/cfd3d (and NVIDIA also has some blog posts about it).

Edit: I also just found this: https://www.youtube.com/live/569oSOSoKDc?si=8V5buRMoI3IKqLQp... -- which is very close to what you describe and fully matches the kind of particle systems I was hinting at, thanks!
Sometimes what I want is to ask Google/Alexa/Siri a question and get a summary response along with the source. I think that would be a good application of the above.

Less so IMO when I’m on my phone or in front of the computer.
> Beware of [HN] bias. People are very quick to rain on Rust for reasons none of them have ever explained substantively and with facts, and many others are quick to agree without checking.

I'm not sure what this paragraph is doing in this context. I was specifically talking about my own experience. I see far more praise for Rust compared to negative comments in any case, and was biased towards assuming "Rust rewrites of tools may lack features (due to being newer) or be less portable or whatever else, but the one thing they'll have is stability and reliability". That came crashing down when exa crashed and core dumped.

It didn't turn me into some anti-Rust fanatic either (which people seem to interpret any criticism of Rust-related things as), it just made me realize that in the end it's still up to the individual tool and programmer, and I shouldn't make strong assumptions based on the language a tool is written in.
I suspect we will never really know until mass consumption becomes legal. There is so much FUD regarding drugs the truth is hard to tell.

My 2 cents, out of all the psychedelics, Mescaline seem to be the most gentle on the human psyche.
I recently (just earlier this week in fact) had to spend a few days on fast-but-restricted "guest" WiFi and was struggling with this very thing: I needed to use a tailnet to access my servers for vscode remote development, but also needed a VPN since the WiFi was blocking harmless stuff like duckduckgo.com

In the end I was able to do a split-vpn config to allow VScode to bypass the VPN and leave the browser to use the VPN. Having tailscale just handle it would have been handy, and reading the docs today I found out that I could have just used a machine on my home network as the exitnode as well, which would have worked great too I expect.

Have to say though that this was the first time I had used tailscale "in anger" for any serious period of time away from my home network. It was superb and (apart from the VPN issue) just worked exactly as advertised and I was able to access all the stuff on my NATed home network as if I was in my home office. Brilliant product - thanks to all the tailscale folks ("tailers"?) on here for the product!
You are aware that different drugs have different effects right? Or do you take Tylenol for allergies and Benadryl for headaches?
How about, well, just neither?
> But conceptually, it seems like it would be more portable to generate a single WebAssembly binary instead of a bunch of DLL's.

If the database IO happens in Rust, the option with WebAssembly is fetch, meaning HTTP and the Atlas-only Data API. If the IO is done in JS, you pay some extra CPU time transferring UTF-16 strings over the border and copy them as UTF-8 in Rust.
Yep. Psychedelics like magic mushrooms and LSD just aren’t addictive. Taking them is existentially exhausting. It’s like going for a hike - when you get home you just want to have a cup of tea and rest. You don’t want to set off again immediately after.

You also lose some agency about what you’re thinking about. Having a bad trip while homeless could be utter hell.

I think it’s very unlikely that they’ll displace alcohol and friends as the drugs of choice for homeless people. If you want to dissociate from your shitty life, you will hate LSD.
I usually try to just be snarky, but there's something which I think needs to be said. Musk is a very unpleasant, erratic person. He is not good for society at large, and he should not be in control of a social media platform, for our own mental health and well-being.

If the state can take Britney into care, why can't it also put Musk under some chemical restraint?
Seems rather presumptuous.
Coincidentally-identical waypoint names foxed UK air traffic control system