skysight-inc/HackerNews huggingface dataset:
AoVA lacking its own total ordering on indices might be a problem for some use cases, but not for the one that is suggested here: AST nodes.

In these cases, the arrays can be just one component (could think of it as an arena) of a heap-ish structure. [1]

The cost is that your indices now need to be two dimensional (tag_idx, va_for_tag_idx). But the number of tags is known at compile time and you can optimize storage by packing so that tag_idx is the upper 4-5 bits and va_for_tag_idx uses the rest.

See: [1] https://www.cs.cornell.edu/~asampson/blog/flattening.html
Through FFI? Yeah.
2% of most city budgets is spent on roads. It's not like the local government is primarily spending tax money on road maintenance
I think, given the difficulty you're having getting people to understand what exactly is the feature that you're missing, undercuts the idea that it's an essential feature which is inexcusable to not support.
I still get goosebumps when I hear that intro sound.

ENCRYPTION CODE REQUIRED - YOU HAVE 30 SECONDS TO COMPLY.

WHERE IS THE DAMN BOOKLET?
Of course you won't find "woke" in the link above, the "woke" are scared shitless of being named, because once something can be named, it can be damned. They'd never self identify, they use dog whistles instead.

Poor attempt at shaping the narrative, for anyone else wondering what the point of those non sequitur is.
But then I might not survive the long run.
I'm currently on a sort of sabbatical from greenfield research projects. I'm doing maintenance programming on a large widely used open source project. It's been really refreshing. I didn't realize how much I was feeling the pressures of 15+ years of greenfield research. By contrast the maintenance programming is clearly defined, easier to put down at the end of the day and unambiguously useful. I'm also rapidly improving in my debugging, code understanding, profiling and optimizing skills which will make me a better programmer when I do return to writing new code.
It's a similar problem but on a smaller scale (it's easier/cheaper to collect & spread seeds than grow & plant the seedlings).
From the timeline:
> September 18, 2023: The disclosure blog post was released and issues were filed with the original project repository.

I don't see those issues listed in the GitHub project issue tracker https://github.com/greenpau/caddy-security/issues. Have they been deleted?
I suspect someone (Craig even) was under some pressure from The Board to have >0 references to generative-AI in their presentation this year since every single company (even non-software) is now expected by Wall St to "be doing some AI". Even though Apple is at the top of the heap with ML in photography and many other domains, without some kind of LLM the tech news narrative will be "Apple is years behind".
I would be happy if it stopped correcting "and" to "And" in the middle of a sentence.
Even if the imagery was real-time, the process to get access to it most surely isn't.
Or they make friends of other parents and their kids become friends or playmates. Having cousins is also similar.
Depends on the data fed to the model. Probably all of the above and many more.
"This new idea could reduce steel’s carbon emissions by 90%" https://www.freethink.com/energy/decarbonizing-steel

Why is steel necessary for ships?

From "Plant-based epoxy enables recyclable carbon fiber" (2022) https://news.ycombinator.com/item?id=30138954 :

> And once it’s completed you have an insanely strong material that makes steel look weak and brittle. It’s reported to be as much as ten times stronger than steel, yet is lighter than fiberglass

Make it out of hemp aerogel and you could carry the boat.
Musk revisiting an idea floated privately – charging *everyone* to use Twitter
The existing gpt-3.5-turbo model is also an instruct model. So what's different?

I didn't see an email. Are you sure this is not about something that happened last year?

Maybe this one is designed to be more compatible with the way people use text-davinci-003.
Exactly, and the irony is that there are a lot of cognitive neuroscientists doing human participant research all the time. It's honestly easier than doing the ethics for animal research these days. I don't understand all the comments from everyone saying it's impossible to do reliable research with human participants, haha.
We'll, I guess were just going to have to wait and see if its fixed.

But seriously! Typing is sooo bad on iOS, that it has almost made me move back to Android.
After I found out that in GTA5, bad code loading a large JSON file made boot time jump from 2m to 6m, up to 15m. The JSON file was for in-game purchases, aka useless.
Programmer mode is useful if you need to convert Decimal/Hex/Binary, but if you try to enter e.g, 17.95 as a decimal number, you can't. (In fact, it'll display 17 NAND 95 - so the dot seems to be a shortcut for a bitwise operation) - it's Integers Only.

(I guess one could argue that programmer mode should include IEEE-754 floats, but I'm fine with that mode being limited to integers, it's plenty useful already. But it does require switching to another mode if you need a calculator to calculate floating point numbers)
Ooop, just had "Operational issue - Multiple services (Oregon)" show up.

edit: Aaaaand "Operational issue - Multiple services (N. Virginia)" now.
Paint.NET was open source (MIT) until 2009, alas nothing happened from the forks after they changed the license.

Code is still available, not sure worth building though in 2023 when there are other options

https://code.google.com/archive/p/openpdn/

https://github.com/rivy/OpenPDN/
> Office documents are something you send in email attachments to people you often barely know, and expect them to read it in whatever office system they have.

Eh, if they're not running the same office system, down to patches, you can't really expect much.
I'd count that as a win. You avoided wasting your time answering a potentially inane question. If it were important, they would have asked.
> should be fairly simple to see how a slightly larger input up front could result in less maintenance over time

Heavier phones hit the ground with more momentum. Moreover, how many people throw away—not sell or trade in—their phones because of battery alone? Given the ease of replacing iPhone batteries, I’d guess it’s minimal.

The only thing more battery grants in scale is on the packaging and microcontroller. Compare that to the excess material, on account of folks charging their phone every day (switching from daily to every-third-day charging is unlikely a meaningful behavioural update), and you see the net waste. Particularly when heavy users can be segmented to with external battery packs. (Which don’t add the momentum tax.)

It could help. But proposing using more material use in an environmental discussion without thought to its trade-offs isn’t serious debate.
Microsoft should just buy paint.net
That’s not what I got from the parent comment at all.
I said that 100 years of data is nothing in the context of billions of years - which is obviously true. You are conflating this with rate of change which is not the same thing.
This song is transcendent in so many ways.
Hey, now, cut all the hours off every day other than Friday and then a 78% pay cut starts looking okay.
> "Oh hey, they're adding a neat feature, let's see how they mess up UX on it"

It still feels like they just break UX to support touch devices better than older UI would. I might just be showing my age, or out of touch, or perhaps because I only use Windows for work but I have no intention of ever using touch on a device running Windows. My laptop screen support touch and I turn it off as it's and unexpected behavior to me (if I touch my screen I'm probably just pointing at something/showing to another person).
I'm sure the 7 billion dollars worth of equipment won't come back to bite us in the ass, like training Mujahideen between 1979-1989 to fight the Soviets and supplying them with Stingers did
This sounds exactly like the argument that killed WebSQL in 2010: https://en.wikipedia.org/wiki/Web_SQL_Database

I am still salty about this, as WebSQL would have made it much easier to build a certain class of web apps.
How many adults are being distracted by the Windows calculator app?
Sure, but you're going to be fighting an uphill battle if you want to make the Mass into that.
As a Mastodon user, I really hope he does.
"At the same time, I do think people have gone a bit too far in their want to not give anyone shame."

I have said something like this for years now.

Specifically, I have said:

"I don't know how much shame should be employed in a society but I suspect it is not "none"".
For more information about DCAT-US, click through to

https://github.com/DOI-DO/dcat-us/wiki/What-is-DCAT%E2%80%90...

> DCAT-US is the metadata standard associated with the requirements for enterprise data inventories in the OMB M-13-13 open data policy and the Foundations for Evidence-Based Policymaking Act Title II, OPEN Government Data Act (Evidence Act). The Evidence Act applies to all agencies. These federal policies do not apply to state and local governments which may have their own policies. However, state and local governments are welcome voluntarily to contribute their metadata to Data.gov. To do so, they must publish their metadata using the DCAT-US standard while omitting any federal-specific metadata elements as noted in the documentation.
Interesting idea. I feel a bit conflicted about it, but it's probably something I'd have to think about.

I suppose it's possible to somewhat approximate this in existing Rust by creating a trait with a function that returns a destructure-able type, performing the transformations that you would have implemented in your hypothetical trait, then pattern match over that. Not sure if that would be "good enough".
We're experiencing the issuew. AWS just reported over the phone that Route53 DNS and “quite a few other services” experiencing outages.
But not mapped-v4 sockets; it has independent IPv4 and IPv6 stacks. In any case, hopefully we don't need to write code for it anymore…
Congrats on the launch. Perhaps I missed it, but what are the system requirements to run the self-hosted version? Seems decently heavy (Clickhouse, MongoDB, Redis, HyperDX services)? Is there a Helm chart to install into k8s?

Look forward to the syslog integration which says coming soon. I have a hobby project which uses systemd services for each of my Python apps and the path with least resistance is just ingest syslog (aware that I lose stack traces, session reply, etc).
Show HN: Breakout programmed in CSS (no JavaScript)
I always see great questions here and I'd love to talk about the specifics of the CSS code involved here if anyone is curious or has questions.

I have written about the very basics of the "engine" driving this on my blog but there's a lot more involved in many different directions of its creation:

https://dev.to/janeori/expert-css-the-cpu-hack-4ddj

Happy Monday!

// Jane
Experiential Robotics Platform
Absolutely. I'd add that we also need a privacy-preserving way to see that contacts have accounts on a given social app (aka contact matching).

A standard pattern for social apps is to ask for access to your contacts to see if anyone you know is on their app. This is important to creating a healthy and diverse ecosystem of social software, because these apps are really up against the natural network effects of existing offerings.

Contact matching is the best shot app creators have at bootstrapping new social offerings, but right now the experience sucks. Just to see if you like a new social app you have to either a) give up lots of private data in perpetuity to an entity you don't know, or b) have a subpar experience of manually finding people.

One solution may be for Apple to offer an API that helps social apps match users. Apple acts as the escrow system to match contacts so that the apps never have access to private contact data, and the apps just get notice when there's a new contact match to offer the user.

On the user side, the user has a simple privacy setting that says 'find matches once' or 'always look for new matches when app is open'. Users may also toggle whether they wish to be discoverable by others.

In a world with this feature, we get to try new social apps without concern, and apps only have access to an anonymized user ID for our contacts that are also using the app.
I find it surprising that MS hasn't acquired Paint.NET. It's a stellar product, a decent free Photoshop alternative, and miles ahead of whatever MS Paint ever was. It even has .NET in the name, which probably confuses new users into thinking it is owned by MS, so kind of surprised MS hasn't sued over that either.

That said, I'm grateful that Paint.NET has managed to remain independent, as MS might've ruined it.

I do wonder who still uses MS Paint that would find these new features compelling, and why MS keeps adding new features to it. Surely they've done some research that shows people want this? Or is it still developed to justify paying the team that maintains it?
I have been told that the new generation of users does not expect, want or appreciate applications that use explicit saves.

I've also been told that they don't understand or even want to understand folders...
This is an reasonable tradeoff for many obese people in the short term. But it definitely implies long term ongoing use is not a good idea.
Not with a GPU
Same. The combo made sense when power was on top of the phone. With it being just opposite of volume, it just means accidental screenshotting all the time. It's quite infuriating!
They grow faster but weaker, with lower density (cf. https://doi.org/10.1016/j.foreco.2018.07.045)
Highlights from the Comments on Elon Musk
Realtime editing of ordered sequences (2017)
Watch HN posters scramble to find a reason to bash this because it has been pushed by California
Roughly where are you in BC? I am in Cranbrook and haven’t seen the seed trees left standing in logged blocks but maybe I’ve missed them somehow.

Isn’t part of the issue that historically there would’ve been more deciduous trees that acted as natural fire breaks and now loggers only are allowed to replant coniferous?
But how are you supposed to sync your calculations to One Drive and Teams if it's just a simple, non-network-enabled calculator program?
That would be interesting if these types postings only started appearing during the inflation era. But this has been front page fare for much longer.

I walked by three stealth sprinters today getting coffee. Would people here get angry if I started calling them Land Yachts? I’d knock and ask for their YT channel, but they probably only do tiktok.
Yeah, Mac solved this so elegantly.

Windows really needs a simple default hotkey to do a partial screen capture quickly, and save it to a reasonable directory.
AWS having issues in us-west-2 and us-east-1
"All models are wrong, but some are useful" - George Box
I never heard of a local government building trains either.
I've been secretly hoping an over-sized big rig would take them out but I would not want anyone to get hurt. They are the only poles within a few miles and are an eye-sore.
Note that this effect varies across builds and versions. For most of Python's history, we could give clear and invariant optimization advice (locals and nonlocals are fastest, global variable access was at least twice as slow, and builtin variable access was even slower). That ordering will likely remain true but absolute speeds have improved dramatically and the ratios have shifted).

Here is a run of Tools/scripts/var_access_benchmark.py for Python 3.12rc1 stock build for an Apple M1 Max (your mileage may vary):

Variable and attribute read access:
1.9 ns read_local
2.4 ns read_nonlocal
2.8 ns read_global
4.1 ns read_builtin
5.0 ns read_classvar_from_class
12.1 ns read_classvar_from_instance
4.8 ns read_instancevar
4.7 ns read_instancevar_slots
12.2 ns read_namedtuple
29.0 ns read_boundmethod

Variable and attribute write access:
2.4 ns write_local
2.5 ns write_nonlocal
10.5 ns write_global
26.8 ns write_classvar
4.3 ns write_instancevar
4.2 ns write_instancevar_slots

Data structure read access:
5.7 ns read_list
11.1 ns read_deque
10.1 ns read_dict
10.5 ns read_strdict

Data structure write access:
6.2 ns write_list
11.3 ns write_deque
11.2 ns write_dict
12.0 ns write_strdict

Stack (or queue) operations:
18.4 ns list_append_pop
17.8 ns deque_append_pop
18.1 ns deque_append_popleft
I'm glad Valve created the Deck. Seems a lot of people are enjoying it, and they lit a fire under some competitors to create similar competing products. And DiYers are having a lot of fun too. Looks like it's been good all around.
what a clown state lmao
> In the end I want fast compile times, type safety, easy to maintain code and good error messages. I do not care if the type system is Turing Complete.

I think the problem is some languages with Rust go too far with generics, which probably triggers the turing complete. for example, this is valid Rust code:

let mut handles = Vec::new();
for i in 0..10 {
let handle = do_work(i);
handles.push(handle);
}

but you have to follow the code all the way to "do_work" before you ever find the type of anything. Go does not allow this. you need to either declare a concrete type:

var handles []int

or a explicit generic type:

type slice[T any] []T
var handles slice[int]

I think Rust is lose lose, because the underlying type implementation is Turing complete, and I would argue the code is actually less readable because of the overuse of type inference.
Big studios targeting Android with the NDK (ISO C11, ISO C++17, OpenGL ES/Vulkan, OpenSL/OpenMAX) don't even bother porting those games to GNU/Linux, exactly because it isn't economically viable.
Can you show how you'd implement a Turing machine in Rust types?

I am not seeing it, so am likely overlooking that.
> No one is discussing the legality of such things. The discussion is whether things like that are just.

That's what I was discussing, too.

If there was a Redding-separatist movement, we could discuss whether Reading separatism is just and whether that changes the justice of decision-making arrangements, but the justice of decision-making authority within the current context is not independent of the structure of that context aside from the particular decision-making question being examined, and where “Redding” fits into that structure.

(This is also a separate question from the justice of particular decisions; like it can be just for the people of California at large to be the decisive decision-making authority, and still be unjust for them to make a particular decision. But that wasn't the question.)
yup, finally seeing it on my health page.
The martial arts closeness is definitely an interesting one, I think it's under recognized/discussed. A common beginner judo exercise is to have students aggressively jump-chestbump each other. It's a physical warmup but the main purpose is to break down the sense of personal space we keep in normal life. More advanced students don't generally do it, having learned to context switch into "grappling mode" at will.

I remember having one completely rough class where all got just worked, and during a break sitting in literally a pile of other students leaning back to back, helping each other rub out bruises, tape fingers etc and thinking "is this weird? this is a lot of intimacy, I barely know some of these people." There aren't many social contexts that have that level of physical interaction at all.

It can be strengthening or healing for sure. Martial arts schools are also a major venue for interpersonal abuses of all kinds. The required intimacy and the culture of deference to authority are perfect for it. Everywhere I've trained you have people who left other schools but you only hear ominous rumors of why.
Four Mistakes I made that slowed down my path to VPE
Yes, lots of organizations want free labor. That has no bearing on whether its ethical.

There's a somewhat decent argument to be made for non-profit organizations, but there's none for for-profit orgs like Microsoft.
I’d love to see a resource where someone could select their location and have example guilds like this provided. Every time I’ve looked it seemed like the only way to find out was to take a permaculture design course which is well beyond the limits of my interest.
So what does a FCS do after an ejection.
I feel like if you're already such a big celebrity that people could legitimately make money from your voice then you're already set for life. That is, I would happily trade not being rich and famous, to being rich and famous enough for people to want to clone my voice.

Now on the other hand, if you're a nobody and nobody cares about your voice, you've got other things to worry about, like earning a salary and paying for your kids college.
If you're trying to defend the beaches of Taiwan or the Philippines, cheap drones sound like a great asset. If you're trying to project power into Chinese mainland less so.

A big reason why the US will continue to prefer drones measured in tons instead of grams is that cheap drones are most useful when you have boots on the ground, which the US likes to avoid. But with the budgets available it's not like they have to choose between F-35 sized drones and Dji Mini sized drones, they can just get both.
I am not asking Valve anything, I am asserting it is up to them to make Windows games run on Proton.

Studios shouldn't care, exactly like OS/2 runs Windows apps better than Windows.
Even with all the sh*t people are throwing to Twitter (X, sorry), I hope this is not implemented. I still use it a lot and it's the main source of news for a lot of people.

Well, that may not be a bad idea after all.
Why would Apple intentionally worsen the experience of Apple Music and then advertise people to sign up for that very same platform? What does that accomplish?
Why is that so badly photoshopped on what appears to be an original iPhone?
It’s truly rubbish for driving directions in London
Related: https://stopthespraybc.com/
Same here, but I am backing Tutanota.
https://www.thedrive.com/the-war-zone/russian-su-34-fullback...

“The statement went on to add that the crash was caused by an issue with one of the engines during takeoff, but the jet's two crewmembers are said to have ejected safely and survived. The extent of the injuries to the apartment building's tenants as well as civilians in the surrounding area is unknown at present.”
Wild Weasel literally is baiting SAM to shoot at them. That's the point of Wild Weasel, you bait the RADAR then kill the air defense before they lock in on you. Any RADAR works by emitting radio waves, and those radio waves can be tracked with a homing missile.

Just looking at the wild weasel causes the RADAR system to possibly be bombed. SAM installations vs Wild Weasel tactics are very complex.

In any case...if your SAM is too scared to engage with the wild weasel, they just bomb you from 12,000 feet altitudes.

Winning at 12,000 feet altitudes 50 miles away is the point of the US Air Force. Their goal is to never even engage at lower altitudes until they know they have won in the standoff, long range game.
why not plant other species to out-compete the invasive ones?

why do we need to perform chemotherapy on our forests?
from the article:

“Any time people lose weight, one-quarter to one-third of that weight can be muscle, and the faster we lose, the more likely we are to lose muscle. While 20% reduction in muscle mass seems normal for someone losing weight, the problem is the length of time in which this muscle loss occurs,” said Kumar.
Only potential problem (at least when I checked on the state of the beta) is that the person you share it with has to be on iOS 17 too. This was the reason I didn't bother with the beta (although it was the feature I needed asap) since the person I was going to share with wasn't going to use the beta.
Wonder what they are paying for their internet?
Been brewing for over an hour now; our Lambdas intermittently can't resolve internal DNS zones. https://news.ycombinator.com/item?id=37559879