skysight-inc/HackerNews huggingface dataset:
I think often people don't put in the extra mile to make things resource efficient or snappy (they may or may not have good reasons not to of course).

It starts with choosing the right algorithms, using an index instead of doing a linear search, minimizing network traffic, ... but sometimes there are just unneccessary sources of slowness.

I was tinkering with a react-native app the other day which shows a map and lets the user click on a building, and then highlights the building and shows some information. There was a noticable delay after clicking which made it not much fun to use. So I spent a couple evenings (hobby time, not company time) to integrate a proper spatial database with a fast spatial index, precache a lot of data, so I didn't have to hit the network. It got snappier, I could query a lot of geometry much faster, but it still felt slow. Then I looked into the source of the libraries, and in some react-native glue code I found that the event handler was waiting after the first tap for a double-tap, and thus would only register the tap after a couple hundred ms. One tiny change and it became blazing fast.

I believe most apps could do most things instantaneously. Google can find any document on the net in a few ms, after all. But of course not everybody has the time and money (or even skills) to polish their apps that much. If the customer will buy your app when it is good enough then why should you put in more work (besides from a personal sense of craftsmanship)?
I'm not quite convinced of how bad it has got. If you listen to only one thing them yes, mistakes will happen.

However I'm fairly close to dutch culture, and the explaining of Gert Wilders wasn't that bad. The first hand reporting of "the youth" seemed to be reasonable from my point of view.

But perhaps thats because I don't use the BBC as my only source? I dunno.
Ask HN: Best way to save text from dynamically generated pages that won't curl?
Anthropic doesn't provide a mechanism for saving Claude chats. Curl doesn't work so I have to resort to opening the chat and selecting text. I asked Claude about it. the answer was Anthropic may consider it's output intellectual property, which may be a hallucination. I'm looking for an extension or other solution that makes it easier. Thanks.
Well, they doxed the alleged employee that they claimed was the source of the breach and likely got conned into what could have been a short-selling scam.

Life comes at you fast…
I like it! As soon as the database has a bit more meat to it, above some critical mass offset, I think this service can prove useful. The comments/stories/rationales will be probably more valuable than the metrics, just like with HN comments!
> If your enum has 8 values, it stores in 1 byte, if it has more than 8, it stores it in 2 bytes.

You're probably thinking of the SET type, rather than the ENUM type.

> You also had to be careful to include `ALGORITHM=INPLACE, LOCK=NONE;` in your `ALTER TABLE` statement when changing the enum or it would lock the table and rewrite it.

This is a common misconception; that's not how ALGORITHM=INPLACE, LOCK=NONE works. An ALTER TABLE without ALGORITHM and LOCK will, by default, always use the least-disruptive method of alteration possible.

Adding those clauses in MySQL just tells the server "fail immediately if the requested method is not possible". The semantics in MariaDB are similar, just slightly different for INPLACE, where it means "fail immediately if the requested method or a better one is not possible".
One option is LMDB [1], which is used succesfully in several blockchains.

[1] https://en.wikipedia.org/wiki/Lightning_Memory-Mapped_Data
That's what it's used for in a major application I use on a daily basis. The entire config for the application is saved off in a pickle binary file and then loaded at whim. Makes it super easy to backup and transfer configs to compatible systems rather than saving everything to a database. One time we were trying to get the system to do something it was not designed for but was probably capable of. Eventually someone got it working on one of the two identical systems we have through a lot of trial and error. Rather than two people sitting on the phone all day comparing hundreds of settings, we just grabbed the pickle file and emailed it over and had it instantly working.
Sybil attacks if i'm not mistaken ;-)
yes? from the perspective of the larger group of people that the government governs? isn't that the purpose of the government?
Looks very black magic-ish to me! Fascinating project!
"All models are wrong, but some are useful".

If we were only engaging in model-based inference, then we, too, would always be hallucinating. But the very thing you're pointing out -- that we act differently when our internal model is wrong vs. when it is right -- is the crux of the difference. We use models, but then we have the ability to immediately test the output of those models for correctness, because we have semantic, not just syntactic, awareness of both the input and output data. We have criteria for determining the accuracy of what our model is producing.

LLMs don't, and are only capable of engaging in stochastic inference from the pre-defined model, which solely represents syntactic patterns, and have no ability to determine whether anything they output is semantically correct.
Music fans, artists react – Spotify CEO say content creation costs close to zero
Perhaps not, but if one encounters a false statement, then it is reasonable to assume any following (and previous) statements are suspect as well.

Also I think you are missing the point. This is clearly written tongue-in-cheek. The author is being entirely rhetorical; they're not asking you to solve the apparent inconsistency. They just thought the error message was silly, and that working through it logically (as if each statement in the error message is true and correct) is a funny exercise.
Honest Download Meter: Prototype
I remember learning that you get about 100ms for a basic UI interaction before a user perceives it as slow. And you get about 1s for a "full page navigation", even if it's a SPA, users are a bit more understanding if you're loading something that feels like new page.

Getting under 100ms really shouldn't be hard for most things. At the very least it should be easy to get the ripple (or whatever button animation) to trigger within the first 100ms.
Yep. All modern general-purpose languages allow to write in object-oriented style.
No one "stole" anything. The original publisher wasn't deprived of anything. Don't use inflammatory language to push a narrative.

Someone downloading a single off Napster no more "stole" that same single when they listened to it on the radio. The person downloading a song was as much of a non-customer as the radio listener.

In fact Napster's rise was coincident with increased CD sales. Napster et al were not causing poor innocent record executives to go hungry or beg on the street.

The thing that killed CD sales wasn't P2P but online music stores like iTunes and then streaming. They served a market demand.

The backwards laws like the DMCA were written and passed before Napster even existed. Blaming Napster for that is not just ahistorical but ludicrous.
Years of lessons, years of practice, equipment costs, studio time, mixing, mastering, art... This is the most dumbed down version I could think of and even this makes it obvious the cost of making ART (*not content) is high and deserves to be compensated
No, democracy says 51% of people can enforce their will on 49% of people.
Very cool! Looking forward to playing it.

I suggest to minimize visual clutter, because any new player's brain will be overloaded trying to figure out a board, and less is sometimes more.

I'd remove the forward direction triangles where they can be unambiguously inferred from the baseline. A lower grain contrast wood texture might be a good idea too.

You mentioned you sometimes use five tile colours but you can probably improve it: yes, the four colour theorem guarantees that :)
LLMs don't have access to reality, though. They're trained on the symbolic output of other models.
> I knocked it off the kitchen counter and, giving into the idiotic reflex of trying to catch it with my foot, kicked it into the wall instead

Not idiotic! I've saved more things than I've further damaged by doing this.
https://news.ycombinator.com/item?id=40548721
> For some reason whenever somebody suggests that NAT might have security benefits, there is usually some hysterical screeching about how that isn't true.

It is not the address translation mechanism that does the protecting but rather the state tracking.

Until very recently I was with an ISP with IPv6, and things like my home printer had IPv6 addresses—but just because they were globally addressable did not mean that they were globally reachable.
Ah, random opponent. From the headline I was expecting something like Incomplete Information Tic-tac-toe https://www.smbc-comics.com/comic/incomplete
related discussion (3 days ago): https://news.ycombinator.com/item?id=40508390
I'm just going to keep calling it Twitter.

Usually, I will call people however they preferred to be called, even when it seems silly.

But renaming Twitter to "X" crosses the line of confusing. I'm not sure it should've been allowed.
The engine was all C. QuakeC was used to script the game logic - how weapons behave, doors open, items move around, etc. It was reasonably powerful. You could make grappling hooks, proximity mines, etc.

I guess the core mechanics of Quake were very obvious. It wasn't a very innovative game in that sense; basically identical to Doom but with way fancier graphics, controls and so on.
>Rather coyly, Stanmore refuses to weigh in on the efficacy of such spells. “It is not my place to say whether the magic practiced by cunning folk was real,” she writes: “I don’t know, I wasn’t there.” She does propose that all of their fellow citizens believed in the cunning folk’s powers. Many magicians had excellent reputations in the art of finding buried treasure or directing the outcome of lawsuits, and she maintains that this could only be the result of a consistent record of success.

That last line of this quote and the first line of this quote sound to me like they contradict each other.
Apple Numbers?
This name is scary. How does it work? I hope FF makes a local, secure, offline SE.
My GNU/Linux system using LXQt feels faster than I remember Windows 95 being. I attribute this mostly to higher refresh rate on the monitor, and optical switches and faster polling on the keyboard and mouse. Modern gaming hardware is good even if you don't use it for games.
Me:

Browser:

Server: WTAF are you trying to do, here, man?

Message: Hi everybody!
This would apply to lots of people all over the world. Even to well to do people who come from different parts of the world and need to maintain family assets back home.
Right, I forget we still burn billions on that nuclear arsenal capable of glassing the planet in a half hour should some 75 year olds in dc decide that is prudent.
"I hope it’s no character flaw, but I seem to go through a lot of can openers, searching for that mythical perfect device."

Might be a character flaw though. I have one of those P-38 openers. Works fine. Isn't even uncomfortable to use despite its mini size.

Yet I hardly ever use it. Why? The opener in my swiss pocket knife is usually within reach, easy (enough) to use, and never failed me. Beside those 2, no need for other can openers.

The 'perfect' tool here is one that does its job, and keeps doing so.

"Commoditisation pressures have ensured that can openers are made at the lowest possible cost and sold as such. As such, the online world is full of people lamenting modern can openers."

Sadly true for many consumer products today. Aka "race to the bottom".
This is on topic
Adhod. I have 18 years of professional experience with OOP, all of it a bloody waste of time. Exhibit: https://youtu.be/ns7jP1-SRvw?si=4NyOYebqtobIkFfC
good, it'll be more likely to sink when we all collectively chuck it in the lake
I could hear the modem connecting while you're yelling "DO NOT PICK UP THE PHONE"

peeeee duuuuu denu denu denudenu
I've attended one of those at the Zen Center! My partner took me to one as a birthday present last year. She ended up being kinda frustrated with the process, but I found it soothing and relaxing, and left happy and contented.

The guy running the workshop had us use epoxy and not urushi powder (not surprising; I'm sure all of us would have ended up with severe skin irritation otherwise). The article mentions concerns about food safety; IIRC we were told that the epoxy we were using in the workshop was not food safe, but that it's easy to acquire food-safe versions of it.

We also didn't do this in anywhere near as many steps, with as many different treatments for different sizes/shapes of damage. Ultimately we fully repaired a piece in a couple hours, not the several months that the article author took to do it right. (And the extra care and use of the proper materials shows; the final repaired alligator mug from the article looks orders of magnitude better than my work.)
> Stanmore refuses to weigh in on the efficacy of such spells. “It is not my place to say whether the magic practiced by cunning folk was real,” she writes: “I don’t know, I wasn’t there.”

Ok...

> Many magicians had excellent reputations in the art of finding buried treasure or directing the outcome of lawsuits, and she maintains that this could only be the result of a consistent record of success.

So you do believe but it's too shameful to admit.
If boomers want to continue driving, they can. Just make them pay for what they use. Work out the real market value for the space and charge for it.
Train Phi-3 Vision
Just the spinning rust turning at 5400rpm seems like that would have been all but impossible. With modern NVMe devices, waiting for data to load isn't really a bottle neck. At 1200MBps+ speeds, we had to span 16 7200rpm drives in RAID-0 to get close to that speed.

With all of that, it does feel wrong to have to wait for apps to load. How much of that is the calling home to validate the app has been signed?
Usually these issues are caused by doing work in the UI thread (easy, when it’s ‘cheap’) synchronously.

All UI thread frameworks end up doing the UI interactions on a single thread, or everything becomes impossible to manage, and especially if not careful, it’s easy to not properly setup an async callout or the like with the correct callbacks.

It is easy to make a responsive, < 100 ms UI, it’s often harder to keep it that way.
LLMs are only capable of hallucinating, whereas humans are capable of hallucinating, but are also capable of empirically observing reality. So whatever the rate is, it's necessarily lower than those for LLMs.
> Plus tying your money up at 0% interest rates is different than at 4.5%.

My understanding is that his fortune has dropped by more than 50% since Dearmoon began, partly because of the drop in the yen.
Shodan does exist for quite some time already. It's basically port-scanning the internet all the time.
In MySQL, the behavior differs between the parent and child sides of the FK. It will auto-create the index on the child side if one is missing. But the parent (referenced) side must already have an appropriate index on the referenced columns.

Prior to MySQL 8.4, it was sufficient for the parent table to have any index that begins with the referenced columns. This has become stricter in 8.4 with default settings, to now require a UNIQUE index with the exact referenced columns.
If you have time, begin with the physics. How many bits have to change, how many have to move, how many have to be computed? Do they really have to move? Do they really have to be computed? Do they really have to change? Do they have to change now and every time? Can they remain in-situ? Works on the CPU register scale, and on the availability region/continental/global scale. While modern hardware provides a wealth of capabilities WRT SIMD, multi threading, and of course the revolution in storage over the last 20 years… sometimes you can design-out a lot of the heavy lifting.

My first program ran on a 2MHz CPU with 64KB RAM and (floppy) disk access time measured in seconds. I think something of the art and science has been lost when even a wonderful “toy” computer runs at 2.4GHz.

Often when I ask “what is the system really doing when X is slow?” people (including developers who built it) have little idea.
I had no idea that this existed.

I already found cool stuff. Thank you so much!

This brings me way back to when I hosted a Hotwire server.
The fact that we took Javascript out of the browser and started to allow it to be used server side was a sad day to me. Like who let the patients run the sanitarium with that decision?
Yes, I'm familiar with decades of self-serving philosophy rationalizing piracy.
This is the original Knuth-style "literate programming", and being able to do this is approximately the entire point of CWEB.

BTW, note that the .w source file is not meant to be read directly: it is intended to be run through cweave (which generates a .tex file), and then typeset. In this case, I have a (not very up-to-date) repo at https://github.com/shreevatsa/knuth-literate-programs of the literate programs from Knuth's website, and othello.pdf is here: https://shreevatsa.github.io/knuth-literate-programs/program...

You're referring to section 4 of the program, which occurs at the bottom of page 2 here: https://shreevatsa.github.io/knuth-literate-programs/program... — in the typeset version, the text "If direction k allows a move, return 1; otherwise continue" is followed by the number 5, which means that the contents are in section 5 of the program. If you go to section 5 which is at the top of the next page (if viewing the PDF on a screen, you can simply click on the 5), you'll see the contents of the section (followed by "This code is used in section 4").

(It's also possible to define some code across multiple sections, e.g. the "<Subroutines 3>;" referenced in section 1 is defined across sections 3, 4, 6. All these conventions may seem unnecessary for a small program but they were devised for the medium-length (~20k lines) Pascal program TeX: https://mirrors.ctan.org/info/knuth-pdf/tex/tex.pdf and it's how Knuth now finds it most comfortable to program for programs of any length.)

(How does CWEB process this: ctangle replaces the text with the body of the loop; you could think of the entire `If direction |k| allows a move, |return 1|; otherwise |continue|` as a parameter-less macro with a long name, which is replaced by the preprocessor.)
Northrup would also have been a politically feasible choice.
E-bikes are massively safer because they move slower. Yes you can still be run over by some chud truck but motorbikes are dangerous on their own.
Offices that are walking distance are a whole other story.
My personal feeling is that Spotify and youtube et. al. killed music piracy. I'd rather pay a small monthly fee and have access to an always up to date music library then torrent everything artist by artist. But that only applies because spotify has basically all the artists i like and want.
It's fun with software radio to take a long recording of a chunk of spectrum and do the fourier transform and plot it. There will be clear lines indicating carriers, even ones too faint to be heard over the static. Software can do the same trick for decoding a modulation (at the expense of latency in decoding). Modern tech allows a further neat hack here. If you have a very stable local clock (which any modern digital device does) you can correct for frequency errors in the transmission. Once the clocks are synced, you know exactly when the next symbol should be. And you know how much the transmitter frequency as actually received, is varying from what it should be. And since a convolutional coding with a pseudorandom number might be used, you also know what the next symbol will be (only a small number are valid in any state). With all that together, in effect, the decoder knows when and where the signal will be, and at least part of what it will look like, before it receives it. So it can be compared with what is actually received, making it possible to pick it up well below the noise floor. Just add some error correcting codes for robustness.

Amateurs have successfully communicated data between California and New Zealand on longwave using only 1 watt of radiated power at the transmitter. (But the baudrate for that is measured in hours per bit. And the receiving antenna was considerable.)
Indeed but the reason these languages have their own package managers is precisely because Apt et al are so unsuitable for the task. Primarily because:

1. They aren't cross-platform. NPM, Pip and Cargo all work identically on Mac, Windows and every Linux distro.

2. They are too heavily gate-kept. I can upload a package to PyPI, NPM or Crates.io without having to convince anyone that my project is worthy. This is a very good thing!

If the Linux community had made a packaging standard with similar properties maybe those languages would have used it.
AWS Textract has worked better for me than the other cloud OCR solutions.
> When my ISP switched to IPv6, my internal devices were exposed to the internet and the only thing that stopped the incredible amount of bot traffic was my own on-device firewall that I explicitly turned on and configured.

When my (previous) ISP switched on IPv6 none of my internal devices could be connected to because my Asus did stateful packet inspection and only allowed in replies to connections that were previously initiated.

> NAT has more benefits - I don't want anyone to know how many devices I have at home, I don't want anyone to know which one I'm using to access their website

Given that temporary IPv6 addresses tend to rotate every 24 hours it will kind of hard to track individual devices by IP in a 2^64 address space.

You could rotate addresses 10 million times per second, using each only once, and it would take over 5000 years to exhaust a single /64.

> I felt better when the whole municipality had a single IP address. A lot of bullshit ads - means the targeting wasn't working. Now they're way too good.

I now have to use a ISP-supplied router (for GPON), but when I still had my Asus on the DSL/IPv6 ISP I could tell it to reboot every night and I would get a new IPv4 address and a new IPv6 prefix every day.
> while at the same time selling a service based on proprietary software

Napster never sold anything. The business model was a plan to build a subscription service sometime in the future, but music labels wouldn't let us license their catalogs.

Source: worked at Napster
SpaceX has not outperformed anything for the later round investors yet. It may have a high hypothetical valuation in an illiquid market but it doesn’t mean you can sell your shares.
Why should it? It’s clearly an article about doing neat things with CSS, not the technicalities of different degrees of randomness. Perhaps we should not be throwing around the word “should” so loosely…
Hey, I’m only saying this on the off chance that it is helpful. I’m not sure if you are aware, but your question comes off as a little aggressive.

Partly because it’s such a diversion from the topic on hand. In my experience, such diversions are often made by people with more passionate or militantly-held opinions.

Whenever I catch myself “needing” someome to change their view, I know I’ve gotten off track and should gently tend to whatever is going on under the hood. I don’t really want my well-being or peace of mind to depend on the miscellaneous viewpoints of others.
Lawyers (especially as a collective) are well-placed to outlaw things.
Grist?

https://github.com/gristlabs/grist-core

Via
https://news.ycombinator.com/item?id=38080951
Why history major vs trades? Isn't that sort of a false dichotomy? Would you present it this way to your kids? Or just other people's?