skysight-inc/HackerNews huggingface dataset:
I like to say "design for deletion", meaning the priority is making sure code with outdated assumptions or fit can be found, deleted, and replaced easily.

This is in contrast to my how my younger-self would instead focus on making code that "extensible" or "flexible" or "configurable". (With some overtones of impressing people, leaving a long-term mark upon the project, etc.)

Nope! Go for "delete-able."
World of Warcraft but it's lofi beats ~ Vol. 1

https://www.youtube.com/watch?v=Lg21MW4_suQ

https://open.spotify.com/album/0ajM0R5i2PDb1sOYnpI0FV
> I’d rather those who don’t want to join the queue simply use their money to buy the material

So that the material is then in their home, only for their use, rather than in the library?
Seems a lot like your post from 3 days ago[0] (5 points, 1 comment)

[0]: https://news.ycombinator.com/item?id=40094724
No they don't use textbook text at all despite the paper title. They just asked GPT-4 to generate "textbook quality" content, which doesn't even exactly looks like textbook.
Lots of good suggestions here but I have a comment. My 90 year old uncle lives near me so I can pop round and help with problems. Trouble is mostly bad UI on web sites.

- finding the login button

- cookie/consent popups blocking page and causing confusion (especially those that dim entire web page).

- finding the close button ("x") on the above

- dynamic UI surprises and confuses basic usage

This week he tried to login to a finance web site from an email they sent him. The only links on the web site were twitter and facebook (UI icons). No actual links to their site, so he failed to login. He was trying to login to their Facebook site using the web site credentials.

The internet/web is very poorly designed for many oldies (and not just them).

Lastly, if they're messing up settings or deleting things, it just needs to be locked down. Tough but better than broken.
This is the thing. Oregon basically decriminalized but didn't build or maintain the harm reduction infrastructure necessary to make decriminalizing drugs not a terrible idea. The two things support one another -- make it easier to stop using, and stop penalizing people so harshly they are scared to use services.

I don't know how many addicts y'all have been around, but in my experience no one wants to be an addict.
> apple still won't let you use the european app store because the phone knows your location.

The national app store you get to use (the region of your iphone) is based on your billing address + card details (which obviously are validated when you enter them), not your phone location.
> That's the first problem I see with the article. C++ isn't a fast language, as it is. There are far too many issues with e.g. aliasing rules, lack of proper vectorization (for the runtime arch), etc.

That's a bold statement due to the way it heavily contrasts with reality.

C++ is ever present in high performance benchmarks as either the highest performing language or second only to C. It's weird seeing someone claim with a straight face that "C++ isn't a fast language, as it is".

To make matters worse, you go on confusing what a programming language is, and confusing implementation details with language features. It's like claiming that C++ isn't a language for computational graphics just because no C++ standard dedicates a chapter to it.

Just like every engineering domain,you need to have deep knowledge on details to milk the last drop of performance improvements out of a program. Low-latency C++ is a testament of how the smallest details can be critical of performance. But you need to be completely detached from reality to claim that C++ isn't a fast language.
[dupe]

Some more discussion: https://news.ycombinator.com/item?id=40127483
this depends on if you think that the school system is more expensive than basically running an institutionalized welfare state for special needs people. The US dismantled these systems and then proceeded to enshrine these rights in the ADA.

Given that the US can barely handle the meager social security of those with work disability, it's hard to imagine that we could afford widespread, more expensive specialized institutions. And Japan is not exactly doing hot with spending given that they run a 263% debt to GDP ratio.
I don't think your math works out. Let's assume you want to move 3000 containers along a 3000 mile path. Let's also assume 1: you can stack containers one high onto the railway at the rate one container per minute, 2: the containers will move at 300 miles per hour and 3: the ship moves at 20.

On thenship all 3000 containers arrive at once and the total time to move them is 3000miles / 20 = 150 hours.

On the rail the containers take 50hr to offload. Hence the first container will arrive at the other side in 3000/300 = 10 hours. The _last_ container will arrive at 60 hrs 0 minutes. At one minute per container in the 150hrs it took the ship to arrive you could have delivered 140*60 = 8400 containers to the other side.

Not that the ship is only 15 times slower than the railway.

The governing factors on your railway are the ratios for distance to travel vs the offload time. Or put another way the delay bandwidth product.
There are significant differences in performance, accuracy, and other aspects when using a general-purpose database like PostgreSQL. These differences can lead to bottlenecks in performance and data scale. You can refer to this comparison article to learn more
https://myscale.com/blog/myscale-vs-postgres-opensearch/
I think the post is talking about sailing the high seas...
Uh… de facto reality here; Israel, the Taliban, China, and Russia are all, currently, very effectively exercising their power along those lines, whether or not they have the “right” to do so.

The US is also extremely good at censoring, worldwide, what it wants to, and it’s been using its soft and hard power since its inception to do so. Insofar as that’s kept nuclear weapons and chemical and biological weapons from proliferating into the hands of those who would use them there’s an argument that the means can justify the ends, and it’s precisely that argument that the Australian government is trying to test here.

And yeah, the solution is an extraterritorial court with the power to adjudge the limits of inter- and intra-territorial laws and who can promulgate and who gets to and how they can enforce them. Can’t see Elon helping build that, mind.
From this report. Phi-2 was not instruct tuned indeed.

"Our models went through post-training with both supervised instruction fine-tuning, and preference tuning with DPO. We have worked on generating and curating various instruction and preference data. This has improved the model chat capabilities, robustness, as well as its safety."
Wonderfully complex! Reminds me a little of Philip Glass.

New project material for sure, thanks for sharing!
Action potentials are digital. Once the neuron hits the trigger threshold, the spike happens at the same amplitude every time.

The process by how the neuron determines whether it's time to fire or not is almost grotesquely analog, in that it is effected by a million different things in addition to incoming spikes.

How much of each process matters for what is the mind-generating part of the brain's work? We don't know.

Myelination (which allows very fast, and digital, communication between neurons) is universal in vertebrates, which points to it being important for intelligence.

As a counterexample, we have cephalopods, which accomplish their impressive cognitive tasks using only 'slow' neurons; they get around the speed limit by having huge axons, which reduce internal resistance. So we know that digital transmission isn't necessary for intelligence, either.

The nature of cognition is a fascinating subject, isn't it!
A novel Chain of Thought reasoning algorithm for LLM chatbots to think as humans
The researcher claims that this is a culmination of 18 years of research in reverse engineering the human brain and thus this Chain of Thought algorithm tries to emulate how the human brain thinks & responds.
It works on top of an LLM, therefore can be very easily built. In fact, half the video is detailed instructions of how to build each workflow step, using carefully crafted LLM prompts & a vector database.

If you can skip past the admittedly clickbait-y title, there are some interesting ideas in that video!
KeepassXC (open source password manager application) uses colour to make passwords more readable. They use one color for each "class" of character: uppercase, lowercase, numbers, symbols, ...

This is a extremely simple idea, but especially with random passwords this helps a lot even if the font is already hyperlegible.
TIL: Cloudflare Does Calls
I never ran into into this situation, but I plan to update the article based on aggregated feedback. A few good suggestions have been made.
> Are you serious? I don't think you have to be an expert to see that the average human can perform more work per energy intake than the average GPU.

You're objecting to something I didn't say, which is extra weird because I'm just running with the same 400 W/20 W you yourself gave. All I'm doing here is pointing out that 400 W of electricity is cheaper than 20 W of calories especially as 20 W is a misleading number until we get brains in jars.

To put numbers to the point, at $0.10/kWh * 400 W * 24h = $0.96, while the UN definition for abject poverty is $2.57 in 2023 dollars.

As for my opinion on which can perform more work per unit of energy, that idea is simply too imprecise to answer without more detail — depending on what exactly you mean by "work", a first generation Pi Zero can beat all humans combined while the world's largest supercomputer can't keep up with one human.

> It's very much a problem, good luck trying to even emulate the 3D neural structure of the brain with lithography.

IIRC by volume a human brain mostly communication between neurones; the ridges are because most of your complexity is a thin layer on the surface, and ridges get you more surface.

But that doesn't even matter, because it's a question of the connection graph, and each cell has about 10,000 synapses, and that connectivity be instantiated in many different ways even on a 2D chip.

We don't have a complete example connectivity graph for a human brain. Got it for a rat, I think, but not a human, which is why I previously noted that we don't really understand how our brains are architected.

> And there are few other processes that can create structures at the required scale, with the required precision.

Litho vastly exceeds the required precision. Chemical synapses are 20-30 nm from one cell to the next, and even the more compact electrical synapses are 3.5 nm.
Apparently, I even made up an explanation for why "big-endian == start with the least significant bit" totally makes sense... couldn't convince the Universe this way either though.

Thanks for catching it, fixed!
That's always been the case; it's merely a proxy for likely sales. It used to be that audience was demonstrated by previous sales; now it can be proved by being a celebrity, twitch/twitter/instagram/whatever followers, etc.
It's on my profile page: https://boricj.net
This is interesting, I'm pretty much the opposite. I only read paper books if there are no electronic versions available.

Fiction I read on a Kindle.

My deep reading all happens on a PC actually. Not even a tablet. I find it much easier to highlight and annotate reading material with mouse and keyboard and look up references with a proper multi-window screen.

Also, while you certainly can underline and write notes on paper, this information then stays on paper and in this book. No way to index it easily, no way to cross-reference etc.
I’ve had great success with Bluefin OS. It’s immutable, updates itself flawlessly and automatically, but is still easy to install and remove apps on. Show them where the Firefox button is and you’re done. Plus, it’ll run great on a 2013 Dell Optiplex, or whatever else is lying around.
I think their RayBay Meta Glasses is a great example of a product like that!
Almost never the entirety of it, no. back of office / LOB apps, sure.
This experience was created with Three.js, if you'd be interested in learning that then this is a great resource https://threejs-journey.com/
Scoop. A command line installer for windows
I've never heard this framing before. Can you offer any examples of what you mean?
Could get doom running on that, no problem.
This will be done before the SF <-> LA HSR even starts building rail lines properly.
I fully trust apple photos / g photos, on an iphone.

Idk/idc about the "daily 0 days" that you referenced, I do care about being able to know with absolute certainty that my photos will be there 20 years from now.
Plane had to turn back due to filming damage
I love reading books, and I write: I've had essays published in various internet corners, and I'm working on a humble little book of my own. Few who write do so for the money, and like most things, the Pareto Principle applies. That being said, another commenter has pointed out that book sales data suggests we are actually in a book boom.

Also, publishers are absolutely in it for the money. But the quotes and analysis of this article suggest that publishing houses are too big and a victim of their own size. It seems like they can't "run lean" and are big enough that they are trying to find books that can sell millions of copies.

Other questions I had while reading the article:
- Is there any Hollywood accounting in the book industry?

- Do writer's advances still make sense? What if advances were smaller but royalties are bigger?

- These companies are looking for books that can sell millions of copies, but they could also a) raise the price, or b) have supplemental products + content for avid readers and fans.
Some one got VC funding for a BeReal clone. I’m laughing.
Note that the systems that they used to measure incidents relied on a centralized point of data acquisition.

The reason those incidents aren't found is simple: too much data and too much alerts to handle, given that CSIRT teams are less than 10 people even for a company the size of Siemens, which manages all kinds of critical infrastructure (including nuclear power plants, which I'd say is far more than critical if anyone of the white house reads this).

All those elastic search based dashboards simply don't cut it, and most malware lays low for a while because they assume that nobody has petabytes of storage available due to absurd pricing for those. That's why there's literally a timeout for a couple days until the persistence and lateral movement step is done, and signs of breaches are gone because the database has to be wiped.

Also, this is the reason why bigger threat actors like APT28 and APT29 make use of social shitstorms (/pol/, kiwifarms, 4chan, anonymous groups on telegram etc) to hide their tracks. They simply flood the logs of the target's system until there's no storage capacity left to hide the actual breach of the actually targeted system.

That's why I started to push EDR into the decentralization age of networking, signing, isolation and proactive communication between peers with my startup. That's the only way to scale those kind of incident logs effectively and the only way to effectively deal with assumptions of compromise to find out which accounts have what kind of access across the network.
What was your other laptop (from which you were connecting to the Ubuntu machine) running (OS) ?
In an ironic twist, I then get called Lan.
I can. Book publishers are terrible and they always have been. At least that is the case here in Denmark.

They game our library system, so that books they know won’t sell well but will be lent a lot at the libraries, like a lot of children books are priced ridiculously. These books are never actually put in stores, because why bother? But our libraries, have, to buy them and then pay fees to the publishing houses based on the individual book prices. I guess part of the blame goes to our politicians though.

The worst part is how they pay artists. Authors are paid poorly as touched upon in this article. But illustrators are paid criminally low rates. A children book with 50 pages of breathtaking art can earn you as little as $500 for months for work. Publishers pay your royalties by the size of your printed name on the front of the book. If your name isn’t there you get 0 royalties. If your name is smaller than the other names you get significantly less royalties. If your name is smaller, and, italic, you get almost no royalties and so on.

In general the model has never really worked for anyone except a few authors. There are the famous ones who sell a lot of books and then there are the ones who write a billion children’s books who actually don’t get the majority of their money from publishers but from the government compensation programs. But for the most part publishers have always run a business model akin to music streaming services where only a handful of Danish authors can actually make a living just by selling books. Mean while our publishing houses have been able to employ thousands and keep investors happy.

What a lot of artists and authors have done instead is to form smaller independent publishers. Which means you get 0 advertising and 0 product placement and so on, but ironically often will make you far more money than using the big publishers. These smaller indie publishers, and other creative ways of publishing like the article mentions, aren’t doing poorly. The big publishers are suffering. Thanks to the digital age. But I won’t miss them when they are gone.
never heard of tech radar, interesting thanks!
Power is quite difficult to turn down.
Given that a heat pump and an air conditioner are the same thing except for one valve, i assume this article is just corporate fluffvertising.

Technology Connections had an interesting primer on heat pumps not long ago on YouTube.
I don't have a very strong opinion about that change specifically. I think they could have kept their cake and ate it too by solving the schema evolvability some other way, but I also suspect those other ways will come with tradeoffs that are also not pleasant.

But, the point is schema evolvability is a real problem, and it's often not one that a lot of engineers give a lot of thought to, even those who live in very strict statically-typed worlds.
By commercial licenses, I meant those written by lawyers specifically for the product.

But usually you could just go with something like SSPL - which has sufficient protections for the developer (but not the user).
Clojure's biggest advantage, integration with the JVM ecosystem, is also its biggest drawback. JVM compatibility forces a lot of ugly compromises on Clojure.
I have always used asserts to enforce invariants (sometimes not just actual "assert" but things like `Preconditions` in Java which are always enabled). Those will actually break during testing if they ever change.

I understand you cannot assert all invariants, but as far as I can see, that's your main tool against this problem.
Android phones have some decent remote access tools, in addition to the mdm of android and iOS.
> What final enables is devirtualization in certain cases. The main advantage of devirtualization is that it is necessary for inlining.

I think that enabling inlining is just one of the indirect consequences of devirtualization, and perhaps one that is largely irrelevant for performance improvements.

The whole point of devirtualization is eliminating the need to resort to pointer dereferencing when calling virtual members. The main trait of a virtual class is it's use of a vtable that requires dereferencing virtual members to access each and every one of them.

In classes with larger inheritance chains, you can easily have more than one pointer dereferencing taking place before you call a virtual members function.

Once a class is final, none of that is required anymore. When a member is referred, no dereferencing takes place.

Devirtualization helps performance because you are able to benefit from inheritance and not have to pay a performance penalty for that. Without the final keyword, a performance oriented project would need to be architected to not use inheritance at all, or in the very least in code in the hot path, because that sneaks gratuitous pointer dereferences all over the place, which require running extra operations and has a negative impact on caching.

The whole purpose of the final keyword is that compilers can easily eliminate all pointer dereferencing used by virtual members. What stops them from applying this optimization is that they have no information on whether that class will be inherited and one of its members will either override any of its members or invoke any member function implemented by one of its parent classes.

With the introduction of the final keyword, you are now able to tell the compiler "from thereon, this is exactly what you get" and the compiler can trim out anything loose.
PgVector stores the index in memory right? Do you really want your primary db using all its memory for vectors and all its cpu for doing vector dot products?
Their IPs and emails might tell a different story and this could also be a threat. But to what end?
I really wish there was a way to easily remote control my 104 old grandpa's smart TV... It's not as simple as you'd think
I came up with base24[1] for this. There are some letter that can be ambiguous but I kept them to make it case insensitive.

[1]: https://www.kuon.ch/post/2020-02-27-base24/
Huh? If you are consuming code you can’t change from someone else, then I presume this is a published package? Then the IDE will tell you the types.
"Now our company wants to rework this device into "smart", add display with touchscreen and stuff."

please don't do that. Add some kind of interface, eg bluetooth, and an open-source app, or open-source/documented protocol, to control it.
oh, i'm more cynical, i think it means they've decided to stuff AI nonsense into what was great embedded hardware
Apple's advantage is that their devices are safeguarding people from the dangers of AI
Ruby has 'protected' which is not Java-like protected, but implements "another instance can see my internals" semantics. It is useful for methods which take another instance as an argument like binary operators (e.g. `def ===(other)`) where you might need access to both objects internals.
A small typo I noticed - "Case-sensitive: 53^5 = 62,259,690,411,360" should be to the eighth power, not the fifth.
Rancho Cucamonga is not Los Angeles. Victorville is not Los Angeles. How the hell are you supposed to get to Rancho Cucamonga without a car? For Las Vegas people going to LA, what the hell are you supposed to do when the train dumps you in the middle of Rancho Cucamonga?

If you want real ridership, public transit in both LA and LV needs to be functional.

Connect it to Union Station and LAX if you want some ridership. On the Las Vegas end make it stop smack in the middle of the strip.

Otherwise this thing is useless.

Also 125mph is not high speed rail. LA-LV in 2 hours + time spent getting to the train station + buffer time to avoid missing the train + long slow car rental line on the other end while 15 people ahead of you each have a chit chat with the one employee dealing with the rentals would be more time than just driving end to end. These people just don't get it.

Try LA-LV in 1 hour and maybe we're talking. But really, fix public transit in both cities first.
From the article: "The Big Five publishing houses spend most of their money on book advances for big celebrities like Brittany Spears and franchise authors like James Patterson and this is the bulk of their business. They also sell a lot of Bibles"

Well that was a depressing read (no pun intended).
Profiling Remote GPUs with Nsight Compute