skysight-inc/HackerNews huggingface dataset:
As far as the spec is concerned, JS arrays are actually JS objects. The keys of JS arrays are technically stringified numbers. Because it is essentially a hashtable, there is no guarantee that the array is contiguous.

It's not commonly done, but you could add something like `"myNonNumberKey"` to your array and things would actually work mostly as expected because the methods in question only work on stringified keys that contain only numbers (numbers like "01" aren't counted and the length property doesn't include any of these non-number keys). I'm not completely sure, but I believe these extra properties prevent some optimizations, so use at your own risk.

When your array has holes, decent performance simply isn't possible, so giving hard O limitations would be mostly meaningless because the required performance characteristics would be so bad. This is where the JIT magic comes into play. They don't actually stringify your keys normally, but if they detect something requires these keys (eg, calling `Object.keys()` on your array), they can work around this at the expense of some performance.

If you use the third function parameter for something like `.map()`, they can handle it, but there are edge cases (eg, what happens when you are halfway through the array then unshift or splice the first item?) that will slow things down.

They could make stronger guarantees about arrays in the spec, but that creates a couple headaches. They would have to basically enshrine a second array specification. That specification would have all kinds of weird edge cases with the current array specification (like that `.unshift()` during a `.map()` issue). Those things are currently offloaded to implementations with the handwaving "you may do things better as long as the user can't tell the difference").

The other issue is that small implementations (eg, QuickJS or Duktape) that have hardware limitations in measured in kb don't have the space to guarantee these advanced features. They are constrained to pick just the one, slow implementation (maybe with a handful of the most important fast optimizations that are easy to implement) so they fit on the MCUs they were designed for.

Finally, there is a record/tuple proposal that could allow a lot stricter standards and better performance guarantees for iterating a long tuple in a way that behaves like an immutable array.
> God I’m happy I drive a dumb manual car with no real electronics other than a radio.

Me too! I'm not looking forward to my next car. I don't trust a lot of these automatic closing trunks/hoods/etc[1]. But even setting that aside all this complexity is just more stuff that can break and in some cases costs a ridiculous amount to fix. I'd love a car with an EV drivetrain, a radio, power windows, AC, and maybe a small screen (<7") for CarPlay[2]. No other smart features beyond what's mandated by regulation.

[1] https://www.youtube.com/watch?v=GoEQeQXtxDA

[2] This is probably a given since backup cameras are now mandatory where I live.
You're more of a sadist than a slave, I'd say ;)
The fact that there is a mathematical solution to the Einstein Field Equation that describes a white hole does not mean white holes actually exist. There are an infinite number of solutions to any equation in physics, the vast majority of which describe things that do not exist. We have to make actual observations to find out which of the vast number of solutions do describe things that exist.
In general, rule-based solutions are good if they use fwmark, but this gives me pause:

> And finally we add a convenience feature for still accessing the local network, whereby we allow packets without the fwmark to use the main routing table, not the WireGuard interface's routing table, if it matches any routes in it with a prefix length greater than zero, such as non-default local routes. [https://www.wireguard.com/netns/#improved-rule-based-routing]

Doesn't that completely neutralize the protection against a DHCP server sending malicious routes or a gigantic subnet mask?
Ah, thanks for explaining. So this is only an issue if there is a malicious actor present on the local network. I would say that you are already compromised at that point. Say you are using public WIFI, a VPN service is pointless, you already have an anonymous public IP. Anything sensitive is encrypted end-to-end. And most public WIFI has client isolation. I suppose it could be a problem in certain countries, if your ISP can find out that you're visiting banned sites with a VPN.
Can I X, is a question about the readiness/compliance of a certain thing at time = now. Can I use CSS version X was the iconic early meme.

https://caniuse.com/?search=css3

For a generalized example, if you wanted to know if the basketball courts were ready for you to “ball it up” in a certain city, it’d be caniball.com

If you want to know if you can use a certain frontend technology, the idea is like: canwefigma?

It’s a glorified feature matrix, and usually a project of a passionate community. I approve, even if some of the memes are a bit dank.
One issue with this is that arbitrary Python code can have arbitrary side-effects.

Your suggestion reminds me a lot of fine-grained reactivity like in SolidJS, which makes sense, since spreadsheets basically operate on reactive programming. Some great articles by Ryan Carnatio on the topic.

The side-effects thing comes in if a user puts in some side-effect in a dependent cell, which is equivalent to adding side-effects in a memo in reactive-speak.
Yeah they kinda screwed the pooch on that.

That being said, venv is the official solution, and it works fairly well. pipenv/pipx are some alternatives...but yeah.

What exactly is your system installation for if you aren't supposed to install anything to it? The package system should be able to attempt installing via venv or be able to block uncompatible packages with sane error messages.
The question is not clear but I assume the ordering is meant to be on some kind of timestamp, so the streams would each be increasing
Apple announces new iPad Air and iPad Pro tablets
Then they would have forgotten that former Volkswagen CEO Martin Winterkorn was indicted on fraud and conspiracy charges.
Symlinks and Git. A remote like GitHub is then a minor bonus.

I didn’t store my dotfiles on GitHub because they didn’t used to have free private repositories. (Why would I share my dotfiles?)
The fact that you assume all of the poor are criminals disqualifies you from having your opinion on this taken seriously.
> blackhole is in our future.

Not at all. Black holes are not magic; they don't swallow up everything.

> maybe all whiteholes are in our past, and we came from one we call Big Bang.

No, this is not correct. See my other response upthread about this.
Hey atmanactive,
Thanks for your answer.
What exactly is your vision of the category selection?
Do you want a main category and these main categories have subcategories where you can choose from?
To find the right category easier, I've added a search function to it.

Looking forward to further feedback
That's a different video.
GCC 14.1 Released
Caniuse is a database listing browser support for all kind of web development features, i.e. what version of what browser supports what features of HTML, CSS, Javascript.

It helps web developers to determine what language features to use in order to be compatible with the browsers most of their users use.
In Tokyo you have buildings with levels of retail, restaurants, bars, karaoke, etc. I'm sure Seoul and probably other dense cities have this too. Korea Town in mid-town Manhattan also does this, but that's just one little block. I'm really surprised there's not more of this in Manhattan actually. I'm sure it exists more than I'm aware of, but it should be more prevalent in a city that dense.
Do we want Linux going mainstream?

Do you want every distro turning into Ubuntu with cloud services and telemetry all over the place ?
Retrofits for cars are around $50000 to make them barely street legal. You are looking at double the price for that retrofit and you might not get the range. You also have to buy a car (some retrofits on YouTube get around this by buying broken cars and restoring them) buying a broken car could be done if you don't have to do much work or if the engine is broken already.
Don't you mean the opposite? Surely the crime comes from the financial instability. I don't see how you could address the crime without addressing the financial instability.
The Web has a lot of features, but not all of them are implemented by all browsers. The website (caniuse.com) provides you the info about which features are implemented by which browsers. So now you as a webdev can consider which features you want to use in your web apps.
This is conventional wisdom, but it always felt odd to me.

Loft apartments were originally created from business spaces. In the beginning, they were low cost because of some undesirable properties but have slowly become an extremely in-demand style (huge windows and tons of light being major selling points). Why was it possible to convert industrial space into living space 50 years ago but today it is not possible?
With WebRTC, aren't the servers just used for initial handshake/signaling? The rest of the traffic would be P2P so not a lot of capacity needed except for the initial handshake.
In Medicine, the Morally Unthinkable Too Easily Comes to Seem Normal
I wouldn’t call it reasonable.

If you’re trying to evade LE because it’s illegal to be gay in your country, and you get caught because you’d listed an Apple address in your ProtonMail account - can’t we design better products to make this less likely?
I guess you're referring to this ? https://github.com/aspiers/stow/issues/65
The immediate next thing is expanding to Databricks, followed by BigQuery and other data warehouses.

In the long run we plan to optimize source code (e.g. C++).
Defend Yourself Against AI Impostor Scams with a Safe Word
STUN is a way of breaking NAT using uPNP.

What I mean is that: You don't have a public IP, you likely go to the internet via a router. That router is stateful and allows traffic destined to go to some other internet address to return to you, even though your device is not technically routable on the internet.

So, what a STUN server does, is give you information about how to initiate connections to each party; that allows traffic to go through each of your routers.

CLIENT1 <-> STUN // (what ip/port combo is needed for CLIENT2 ;;; there is nothing in the table)
CLIENT1 <-> CLIENT2 // (initiate a connection attempt that will fail, but will be remembered by the stateful NAT/firewall for return traffic)
CLIENT1 <-> STUN // (CLIENT1's incoming info for CLIENT2, this combo will only work for CLIENT2, so it requires CLIENT2 to ask about it)
CLIENT2 <-> STUN // (what ip/port combo is needed for CLIENT1 ;;; information is now in the table and will be fetched)
CLIENT2 <-> CLIENT1 // (direct connection based on previous incoming connection attempt *from* CLIENT1)

NOTE: this is not required for ipv6; this is a hack we needed to bypass NAT because we ran out of ipv4.

TURN is the same idea, but instead of coordinating a peer-to-peer connection, it routes traffic via itself, it's just a neutral relay.
Laser vision is revealing centuries of unseen decay in masterpiece paintings
But according to other comments here, that's unfortunately not how this spreadsheet program works.
How to create NFT art with an AI video generator
> People complaining about Raspberry Pi being too expensive versus a used and abused intel NUC being superior going to swarm this thread in 1..2..3!

You're the only one talking about it... but I mean yeah used x86 boxes do tend to beat a pi at price, performance, and software compatibility, and only lose at power consumption (unreliably, at that) and physical size.
https://archive.is/rnVHE
When would you take OpenSCAD over Blender?
I find this part as the general trend of enshitificaiton. Sometimes it's incompetence in UI/UX, other times it's other perverted reasons such as to keep users confused causing them to linger and be server more ads or to confuse users with billing, etc.
CPP2/cppfront:

https://github.com/hsutter/cppfront

I hope we see this in C++26 as optional mode i.e. #safe and #unsafe and same for #impdef or so.
The testing utilities are also great. The difficulty, I'd say, is inherit to working with ASTs and simplifying it is hard. They tried with Node Pattern, synvert tried with NQL, and I wanted to try with pattern matching and potentially more in-Ruby approaches.

Nothing particularly wrong with any of them, but trying to sort out what's not matching and getting an answer for now "close" a node was is a bit involved. Go far enough down that hole and you hit tree edit distance and Zhang Sha Sha algorithms.
> When MCAS drove 2 planes into the ground, they were able to proclaim "It wasn't us, it was our software vendor!."

They did not say that.
Anecdotally, as an avid gamer, I, personally do not miss the studios listed
You need to modify base pointer in this example, specifically to point 2 bytes before the current base pointer (moving back from the first red pixel value to the first blue value.) I don't think you can do it without ctypes, maybe I'm wrong.

What does Cython do better than numbs except static compilation? Honest q, I know little about both
>MMA fighters, for example, put themselves at tremendous risk because they're chasing their own personal ideas of "greatness." And there are many examples of "struggling artists" throughout history that gave up on relationships and money because they were chasing something that they believed in.

MMA fighters generally chase their own glory, to get their own hand raised in the ring. Not become a personal servant to another person's ego.
They're not an investment. They're a store of value.
Average people tend to use what they have, I have zero "average" friend trying to get more supported features than there currently are.

And, by the way, most of my friends do not use html/CSS directly, or even indirectly use it besides some bold, coloring or the random photo attachment. Zero of them know caniemail.com, and, if they understood the point of it, zero of them would want or need it.

Average people seeing html in their mail doesn't mean they have an opinion on it, or would want more of it if they were told honestly what it does and who abuses it.
They're just phoning it in these days and going full EA FIFA-playbook.
> If no energy is created or destroyed, whatever force is expanding the Universe will eventually un-expand it.

This is not correct. First, there is no concept of "energy conservation" that applies to the universe as a whole the way you describe. Second, our best current model of the universe, based on the equations of General Relativity, says it will keep expanding forever.

> you have a closed system with finite states

Our best current model of the universe is that it is spatially infinite. So it would not have a finite number of possible states.
Managers with spreadsheets are the cause in both cases though?
>Every dev here loves doing volunteer work as a favor.

Devs are expected to contribute to FOSS, write free educational blog posts about technology, and fix your friends computer!

Ask a doctor why something hurts and they tell you to come into their office and insurance will bill you.
Just install from the USB stick. It is the simplest thing that might work and it probably will work.

As a bonus, if you plan to use Windows for a couple of years install 11 because Windows 10 is nearing end of support...your life will be easier if you just want to use your computer for useful work (and if you want to make things hard forget Windows and install Arch). Good luck.
Helioscape, surely?
Yes, I've gone through every style of dotfile management. Stow, bare git repo, custom script, and now nix with home-manager. Using Nix is definitely the best solution so far, largely because not only does it manage the configurations, but also installs the programs you need.
I like the approach of “all randomness on a system should come from a csprng unless you opt out”. It’s the stronger of two options where you lose a small amount of perf for a much stronger guarantee that you won’t use the wrong rng and cause a disaster. It’s a shame that this is still a sharp edge developers need to think about it pretty much all languages.
It was this comment:

> Something similar to this is why I prefer renting and why anyone who unshakeably believes renting is “throwing money away” is immediately suspicious to me.

That doesn't seem like a rational take. Renting IS throwing money away if your goal is to maximize wealth. Paying off a mortgage early when you can get a higher % return in the market than the interest rate of your loan is ALSO throwing money away.

To try and claim you're generating more wealth by renting just isn't true. To claim you're living the lifestyle you prefer, great.

To be suspicious of everyone who makes such a mild claim is a microchasm of why the world is going to hell in a handbasket.
Hi-Fi Rush was a fantastic game, won major awards, showed off the promise of XBox Game Pass… and for their efforts their studio has been shut down. There have multiple instances of this in just the past few weeks; are publishers really going to just bet on their prime AAA titles (Call of Duty, Halo, GTA6, etc) and nothing else? And those games either take a lot of rotating studios and a long development cycle to release. What’s going to fill the gap?
KiCad for electronics development.

Blender for 3D graphics.

Gimp for photo editing.

Inkscape for illustration.

Though I'd recommend FreeCAD over OpenSCAD as a 3D modeling tool for most users as an alternative to traditional CAD tools...and therein lies the distro problem.
They don't look like 1950's sci-fi style to me, but quite later.
That's just not how that works. Bending depends on how bad the break is and where it is and how much swelling there is. People break ankles and walk around on them for some days, after all.

I could bend my finger after I broke it... that day, anyway. The next day it was too swollen to bend it. This was a simple and clean break and healed well.

Similar with my elbow. I could bend it at first, then less, and then the swelling really started and I could just barely bend it. I could bend it a little for the xrays, even (I was to do what I could) Weirdly, it didn't even hurt that much just stopped being functional.
"Thanks for the widely acclaimed mid-budget surprise hit, Tango. Now polish up your resumes, pack up your stuff, and get out."

It's like AAA publishers have no notion of a game studio as an organic thing that can grow. It's all just pieces on a board.
Isn't the more relevant question whether an engineer thought "I wonder if anybody might put their finger here, on purpose or by accident"?
> a region of spacetime into which nothing can ever cross, with a surface that is a perfect reflector

Where are you getting this from?
I'd say reversing the McDonnell Douglas merging via antitrust enforcement would be a more promising route given the issues the US government has with running anything competently.

If the FAA can't hire competent independent inspectors then just let the competitor do the inspection and tie the bonuses for inspectors to finding something wrong with the competition's planes.
> But you're not the spokesperson for Guix, are you?

I used to be co-maintainer and I'm working close to full time on Guix. I also happen to have worked on Guix on Mac before; in fact I'm involved in the very mailing list thread you dug up.

We are familiar with the way Nix does it on Mac, but I won't repeat my assessment here. Doing it with XCode and adding an arbitrary cut to the graph would get us to something that resembles Guix only in uninteresting ways.
One of the oddities about Hacker News is that a solid chunk of the users will reliably rail against Smart TVs, but drool over smart cars with touchscreens and surveillance everywhere.
Atomic Habits by James Clear - The art of showing up has been effective and it worked for me.

The Power of Your Subconscious Mind by Joseph Murphy - You get what you've put your soul into

Shoe Dog by Phil Knight - I love the storytelling by the author, you can hear Phil telling this story himself.
That's definitely one of the core motivations is to capture, contextually, as much of an upgrade as possible in hard code.

It's also a perniciously hard problem I'm very far from solving well quite yet.
> light from the singularity

The singularity is not a place. It's an instant of time--the last one you experience if you fall into the hole.
>Or would it be better to have the user highlight the text they want changed which then gives them the option to direct how to change it with natural language?

That's exactly what I have: the user selects what they want modified, uses the "chat text area" to request the change, the entire document is sent in (for prose consistency) with the selection identified and the change is performed. If no selection is, the change request is applied to the entire document in context-output-size aware chunks.

The RAG interface is not the only document query interface, but is the one preferred for finding information inside documents and discussing that information in large documents. My RAG implementation is a bit more than "just RAG", I use the document to generate a subject matter expert in the subject matter of the document, and that generated agent is who the end-user converses, along with the retrieved document information. So, in a way, my RAG is with the document, and an agent generated from the document, along with a context sensitive "professional communicator agent" whose job is to fill in the context breaks between the different RAG snippets, which reduces the fractured nature of the RAG snippets, lending towards better, deeper, more nunaced answers.
> useful

> Bill Nye

what
Stop using debian-family.

Dealing with outdated/bugs is just a regular day under the guise of 'stable'.

The only reason you even are using Mint is because conical did a marketing trick sending free CDs in 2000s.
Never played Prey 2017?
I think they measure if the motor encounters resistance, then it tries again but with more force for each try.
Other cars with self-closing trunks for example, immediately stop if they detect some resistance. I guess other carmakers care more about safety than tesla, at least for the cybertruck (thinking about the vegetable-chopping possible with their trunk).

I can see that if you have very little experience building and selling vehicles in colder climates you just think "oh so there can be ice, let's just allow it to break the ice with more force" instead of, like, not designing the door in that way in the first place.
You don't need to retrofit, you can just build a reasonably-featured car to begin with. I imagine most people just want a corolla with a battery (or cheaper).
As someone who doesn't use webviews, why is this such a necessary feature?
> quite hostile to any implementation on non-Linux platforms

Guix has a usable Hurd implementation, which is a "non-Linux platform".
More realistically, a car manufacturer could make an EV that is basically a vintage car but made to modern standards. Obviously you can’t make the exact same car if you want to have things like crumple zones, but a lot of the changes to car designs have been for fuel efficiency and that’s not as important in an EV. And things like huge internal displays or automatic doors are just preference.
I would argue that there are good business to be built on top of AWS and Azure catering to the users of those services, and very little chance that Amazon or Microsoft would pull the rug out from under you based on their track records.
I think they can use/invent something like dirty water towers in NYC. use that for whatever the NYC use it for. Water there really proven dirty so it doesn't matter.