skysight-inc/HackerNews huggingface dataset:
> Anil also mentions migrating from Mastodon, which has a similar problem: migration is a form of redirect, so the platform you’re migrating from has to continue to exist and not block your migration.

FWIW, when migrating from Mastodon instance to another, as long as both instances are online and in agreement during the migration, the ActivityPub protocol will automatically update any followers to use your new instance. The old instance could go down the next day and you wouldn't loose anyone.

However, the posts remain at the old platform - so they disappear if the old instance goes down.

And, of course, any hyperlinks pointing to the old instance will stop working when it goes down.
Silent cars already exist. The first person to invent the silent lawnmower or chainsaw is basically an instant millionaire.
https://github.com/brexhq/prompt-engineering
The passive voice is fine. The error of writing in the passive voice when you shouldn't be is common enough in composition that it has been short-handed to "never use the passive voice" though.
I'm not sure what could justify comparing the announcement of a single investment to upgrade a plant to the capex of an entire auto company.

Do you really think this $1.3B is Toyota's entire capex in EV?
Let’s be dismissive of bad security practices I’m sure it’ll work out fine.

There would be absolutely nothing sacrificed by using open source, well-tested libs for image decode.
Huh? Multitasking dates back to the time-sharing systems of the '60s.

Granted, while windowing systems existed in '81, they weren't widespread yet (Wikipedia lists PERQ as the first commercially released GUI workstation in '79).
Woman Got Cremation Ads in the Mail After Getting Chemotherapy
And you're arguing the complexity that has to be somewhere should go in your custom built jQuery modules instead of components built with a well-known framework?

I spent years maintaining front-end code built by devs who believe their way of doing things was better than what's popular in the industry and I disagree about jQuery entirely.

jQuery is a low level tool and always ends up biting people as the project grows.
Cool, thanks, I appreciate the information. Perhaps I will give it a go.
That whole line of questioning is a HR nightmare and I don't think they'd get away with it in any large company. You are _not_ supposed to ask open ended questions that could reveal a candidate as a member of a protected group. They tell you that their parents kicked them out because they were gay, they don't get hired, and they file a lawsuit saying that there were forced to reveal their sexual orientation and they were discriminated against because of it.

It'd be a pretty easy win.
No. If we're talking about tech debt (that's not what parent was talking about by the way) then JS is a magnitude worse. Running old projects from JS ecosystem can require multiple miracles, not only code refactoring.

And your example, codeigniter, is one of the worst examples in PHP.

Not only it is a framework that has minor usage:
https://trends.google.com/trends/explore?q=codeigniter,larav...

It is infamous for being hard to upgrade. No responsible PHP developer would start a complex project in it today.

A typical PHP project in the last years use either Laravel or Symfony.

Not to mention PHP has mature tooling to perform automated code upgrade between versions: https://github.com/rectorphp/rector

The project I mentioned was 4 years old and so far no code change was required between PHP 7.2 and PHP 8.3.

And again, my parent was clearly talking about server upgrade: "was alway easier just to build a new server".

And the change I had to do was not even multiple lines, it was a single line in a Dockerfile. I found the Pull Request and it was from 7.4 to 8.3:

https://i.imgur.com/MmemYSp.png
It would be fun if those dodecadedron objects turned out to be old yo-yos.

https://en.wikipedia.org/wiki/Yo-yo
Well, I read it closely on your recommendation. It definitely had some worthwhile points. Still don't like the style very much. Still think he should learn to write, or at least learn how to write for regular people. (But maybe regular people weren't really his audience?)
> Therefore, if you consider experiences to be "execution", some specific computations done by our brains[...].

Which it seems to me to boild down to the assumption that intelligence and/or consciousness are computable. Which is a possibility, but we should keep in mind that we don't have any proof of this yet, only plausible-sounding arguments.
I was thinking the wall is the corporate process and departmental silos, turf wars etc. Startup is the muddy field where you have no support, but nobody in your way.
great quote - and the dialectic is that it is only through the most "individuated" individuals that such work can be brought forth (the Frankfurt school would say during Modernity, such individuals are not so much distinct, but the most alienated)
It is so annoying when software issues an apology, and LLMs are especially annoying because of their constant apologies. I can't use any of them anymore unless I precondition them to be laconic and limit their output. It's such a waste of time and resources.
I would agree it is hard but not impossible to test for. The test being very long, at some point people just figure no one can finish it... and in some ways that is how I feel about work in life.

I imagine if you told people "we are not testing for correctness, just number of problems solved" then you would skew this test.

However when the tests were administered in the longitudinal study, the researchers didn't know which metrics would be important so they just put a lot of problems on it.
The purpose of art is to figure out what the purpose of art is.
Why do you have to wait?

It's fairly normal to run some version of `npm run serve` with a filesystem watcher that will hot-reload changes as they occur so that you can see changes every time you hit :w (or CMD+S or whatever saves a file on your filesystem)
I can see bodybuilders and strength coaches getting a lot of value out of these as well.
For an earlier iteration of the same concept, see 'bogons' in Anathem (2008 (!))
If by "held in hands" you actually mean "sit on top of your lap" then you may understand why laptops aren't called handhelds.
I have a 10 TB mirrored NAS setup for stuff like this.

I have to curate what I put on it as eventually I will be out of space and I do not want to make a lifestyle out of it ;)

My criteria is:

Will I want to watch it again?

Will it go away forever? (Or is at risk of it)

Can it just not be streamed or purchased in my region? (Yes there are some things)
How does one get started on a toy OS? I don’t mean like concepts, but is there like a minimum viable OS .c file somewhere I can look at, with instructions for how to run it on “bare metal”? I assume I need a bootloader of some kind first?

I’m just totally unsure where I’d even begin in a practical sense.
Assuming the windows are closed and any outside ventilation is turned off, there would be zero issues inside the house for the length of time required.

That said, sitting around in an active wildfire is a bad idea compared to not being there.

The biggest issue is usually fuel close to the structure (bushes or trees right next to the house), or openings in the structure like eaves. Rooftop sprinklers work decently well for wooden roofs, but it's more complicated than just installing them due to potential water pressure issues. Metal roofs shouldn't need them.

All it takes is a small hole in the armor though sometimes, and without someone there to watch it and fight it, it takes a big change in building styles to be 100% sure. Like cement structure + metal framing & roofing + minimal combustible furniture, etc.

The biggest issue IMO is that western style (really central european/north western european) construction tends to focus on greenery, windows, wood and natural materials, etc.

Spanish-Colonial style construction is better suited to these kinds of conditions, with some modifications (avoiding exposed beams, and dealing with earthquakes both major necessary changes).

[https://firesafemarin.org/articles/should-i-put-a-sprinkler-...]
https://archive.ph/u75bw
Actually huge. Sadly, it's still Edge, but proper uBO has to be better than whatever tampered version of Adblock they offer.
That was part of the problem that jQuery was solving.

Another part was the abysmal API that Javascript (and mostly still today) offers to work with the DOM.
Yeah so basically the guideline here is 25 btus per sqft, which is 270 btus per m2, house is 110ish m2, so it’s roughly 30k btus. So then get a 30k btu condenser, about $3400, plus three 12k air handlers ($600 each or so), plus labor and the rest of the random parts. Could be overkill, I’m just following guidelines for the estimate.
>In the absence of a fix for this errata, we will not be using the TrustZone preset data.

I don't understand the reason behind doing this as the non security errata doesn't make it insecure to use.
Using Selenium, even headlessly, Amazon prices can easily be scraped. This could be turned into an API without much difficulty, I imagine.
Apple Vision Pro teardown uncovers pixels the size of red blood cells
The new car batteries that could power the electric vehicle revolution
From my initial testing, the result quality leaves a bit to be desired. There are a lot of false positives.

For example, my info is definitely not on mugshotlook.com... And about 2/3 of the results I've clicked on have already been removed by Kanary (full disclosure, on the team, but was a happy customer before) or weren't real to begin with.
Navigating the Data Engineering Landscape in 2024
How? Tinder banned my account just for using the app without turning off my VPN, much less automating 5000 message threads.
Practical tips to help you stay afloat in this fast-moving discipline.
If massive companies like Google and Apple can’t even find all the vulnerabilities, how are you expecting a scrappy team to?

Don’t get me wrong, how far they’ve gotten is very laudable and as a educational exercise it is really cool, but it starts being a pretty massive risk if users start using this as a daily driver.
Yes, back before You-Know-Who neutralized the phrase "fake news" by turning it into a generic insult to disparage legitimate news organizations, the big story was all these actual fake newspapers popping up, made to look legitimate, but actually pumping out nonsense and political propaganda instead. Suddenly the phenomenon just stopped getting reported on, and we now mostly forget that these fake sites even exist.
> I certainly had such challenges and I've always thought most people have

Just what the hell do you think emotional and physical abuse is? An overly strict parent? Perhaps you'd like to hear about what me and my siblings went through. It wasn't 'a challenge', it was a fucking deliberate attempt to destroy us as people and it succeeded. You want details? [Edit: don't ask for details]
> Given Apple's general money-grubbing ways (see: the App Store), this is somewhat surprising.

The age of it is the why. Steve was far less focused on service revenue. Plus, podcasts sold iPods and iPhones.
Hey yes, thank you for pointing it out!

Removing the offsets has unfortunately not sped things up, since it's the step post reading the entries (deserialization) that is the bottleneck[1].

Since SQLite does not support Lists, Protobufs came across as the best way to serialize the data at hand.

If there's more native way to solve this problem within SQLite, please let me know!

[1]: https://news.ycombinator.com/item?id=39290784
You don't think Spotify would grub as much money as possible if they could? It's just that they can't because their business sucks.
WhatsApp Working on Interoperability with Other Encrypted Messaging Apps
Ask HN: Who are your most treasured live coders?
I just watched lichess founder Thibault live-coding lichess on twitch. The stream had about 10 viewers. Blows my mind that such minds are accessible if you know where to look.

Others I treasure are: john romero (twitch), george hotz (twitch), and stephen wolfram (twitch, youtube).

The latter also has astonishingly low viewer numbers (typically <20).

What other lesser-known gems are out there?
A similar effect: the imperative (giving orders). It is nearly as taboo in English, to just use the imperative, as it is in Japan. For example, if you have a dinner guest, you will ask "Would you like some more? Could you pass the salt?" It's always very indirect, put as a request that may be refused, or a suggestion. In other cultures, it may just be the bare imperative - "Eat more! Give me the salt." - and this is perfectly polite, contextually.
I mean, it's true. If you don't care about privacy, and are fine with using Bing for search, Edge is actually a pretty pleasant experience. The problem is that it isn't great for privacy and tries to force Bing with all manner of dark patterns.
If you trust that the people you are working with are working towards the same goal, disagree and commit is important. You are not going to be right 100% of the time.

If the group is saying X is the right way to go and you’ve already given your reason why you think Y, you should disagree and commit. If you sit there complaining for weeks that they should be doing Y without any new information, you’re just being a shitty teammate and dragging everyone down.

The main point for the commit part is setting aside your ego to move the team forward. Most decisions are two way doors. If X doesn’t work out then try Y but don’t complain, work less hard, or sabotage because you didn’t get your way.

One big exception is if someone is making a decision that goes against company principles or morals.
Yeah, agree.
If you take away all of his digressions, how much would be left.

Everyone hating on the digressions.

But you can't just have a few pages of plot points and call it a book.
Because logic dissipates a lot more power. You can't stack CPU die because the power density goes up linearly with the number of chips.

Edit: power per area goes up.
There is no alternative to a trombone making noise, but silent cars that get you from A to B at whatever speed you desire very much do exist.

That said, I have no issue at all with loud cars existing, as long as nobody that's annoyed by them ever has to hear them. They shouldn't get a license plate for public roads though.
> ONE actual standard that everyone uses would be fine

Sounds like a social problem. How do you get _everyone_ to agree on anything?
Not clear what the achievement is if all the shuffling about has produced record deficits with 10 other countries. That's just a sign industry is not moving back to US.
Many years ago I had a girlfriend who worriedly asked me about an "illegal instruction" error when her browser crashed. She added that she was not on a porn or shady site. She had read "illegal" and interpreted as applying to something she did. People who aren't into computers and software don't know wtf an "illegal instruction" is. They just want to know what to do fix it and not have it happen again.
We provide our own perspective on the high level comparison between Databricks and Snowflake
> I did not pay for the internet package, and therefore my car is now completely offline.

Are you sure? Most (all?) newish cars that I know of phone home whether or not you have user-facing internet connectivity.
That economy of scale comes from a few billion people. A large fraction of the world's population neither contributes to it nor benefits much from it.
I'm not saying it's wrong. I'm just laughing at how they demand that the results be "grounded in reality" while also requiring it to misrepresent reality, like "all of a given occupation should not be the same gender or race." If I were the AI, I'd be confused.

(When I get a moment, I'm going to have it generate a hockey team for me.)

Anyway, the point is that all tripping over themselves with the guidance is still producing stupid results that are bound to piss off one group or another.
In my opinion, a mistake may have been not allowing public posts for so long.

They could have stayed invite-only, and yet allowed posts being public. This would have allowed people to at least use it as a publishing platform, while the scaling was figured out. This was done a few months ago, but it seems to me it would have been beneficial to do it sooner.

BTW, I believe they had >550k signups yesterday. So all is far from lost.

https://bsky.app/profile/jay.bsky.team/post/3kktadxl4tv2g
I agree. This is very off putting. There should be boundaries btwn people we don’t know. I’m not going to share personal experiences for a stranger and be their little zoo monkey they want to evaluate for the circus.

This person is out of touch in such a bad way. Why would you put someone through such a cringeworthy exercise?
Ado represents a whole new type of artist
lol yes, ironically. It does sound silly, but it's entirely possible that the form itself was confusing, so maybe the business could have done a better job of steering the customer towards filling out the entries correctly. That's the kind of thing I mean.
I think tinycore would be your best bet.

Its linux but stripped down to the very bare essentials
OpenAI could also train their models against this easily, making it hard to get at the prompt. Yet, it's super easy, try it yourself:

https://chat.openai.com/share/94455782-5985-4b20-82fa-521f40...

I imagine OpenAI has no problem this, there are no secrets in the prompt, and it may be useful for prompt engineering. If it's harmless, no point in stopping the user from seeing it.
The EU wants to criminalize AI-generated porn images and deepfakes
It's just a Linux running Steam UI. A phone needs so much more these days to be seen as competition. Ubuntu phone was beautiful and worked nicely, but without any ecosystem it felt boring and like a downgrade.
I got a 4 SATA bay chassis for 75 on Amazon. PSU was 50, board, CPU and RAM was 130.

The drives were another 500...

You can get project cost down by using refurb drives for OS/scratch. Or just picking drives more based on price per TB than a target storage amount
Author of the sqlite_async package here.

There isn't anything obviously wrong with how the lib is used - the writes are properly batched in a single transaction, but the performance is much slower than expected.

From a quick look, garbage collection appears to be a big overhead - it could be related to how data is passed between isolates. In this case, it may actually be faster to do writes in smaller batches, since the current approach may use a lot of memory for the batch. I'll have to test further to see whether that helps, or whether there are other optimizations for this case.
You missed the middle: the collective realization that socializing is not a public activity, it's bubbles all the way down. No one wants vitriolic arguments outside of debate club...
An ex-manager (ex-Google, too) insisted we move from GitLab to Gerrit, and mandated that all commits be a maximum of 5 lines, ideally fewer.

This led to a complete loss of all context; without that overview, you might very well be releasing code faster, but it could be the wrong solution to the original problem - and crucially, you won't know until it's out in the wild.

A preference for smaller, more focused PRs is fine - it certainly makes them easier to review independently - but I think putting any sort of limit on the size makes your team more likely to omit things like tests and also to not have sufficient context to understand the overall problem space.
Dan Ingalls wrote this in the Byte Magazine [1] dedicated to Smalltalk-80 in 1981. Smalltalk is its own operating system, it ran on the 1973 Alto that had 16 core processor and was multitasking. It was the first Graphical User Interface (GUI) that introduced the concept of desktops and window systems to the world. So his observation definitely did not date from before multitasking, GUIs, and window systems and desktops.

Smalltalk and its current incarnation Squeak and SqueakNOS (for Squeak No Operating System) is a virtual machine written in a high level programming language that contains everything that we now call an operating system including its device drivers. It runs on bare metal hardware.

Alan Kay his research group [2] attempted to make an entire personal computer operating system in just 10.000 lines of high level programming language and demonstrated that it is possible to do [3].

[3] answers the question "How would you build an operating system?" from OP.

[1] https://archive.org/details/byte-magazine-1981-08

[2] https://tinlizzie.org/IA/index.php/Papers_from_Viewpoints_Re...

[3] https://www.youtube.com/watch?v=ubaX1Smg6pY
Show HN: gtrash – A Trash CLI manager: safe alternative to rm command
I created this CLI since I could not find a similar tool that satisfied me personally.
This tool uses the Linux system trash, so migration is easy if you are using trash-cli or other similar tools.
what I usually did, was using data-xxx attributes (and document these attributes and how works) to inject special functionality to html elements. I did this with jQuery, and now I do with vainilla JavaScript.
What is Model Collapse and how to avoid it
> there is really no point for China to invade Taiwan

Which is why, historically, it didn’t. But Xi isn’t rational: he’s a dictator.

It wasn’t rational for him to force his way onto Hong Kong; the territory would automatically become China in a few decades. Same for his corruption/loyalty purges and decimation of China’s tech sector. Irrational, short-term sacrifices of China’s long-term potential for his short-term politics.
I'm not arguing that big PRs are better. I'm arguing that being smaller also doesn't make it better. Neither has any real meaning without context.

Take your same 1000 line change example, but make that change span multiple areas of the code that are related, but not immediately apparent. If you blindly split that up, you can very easily let bugs slip in even if in isolation each change looked fine.

My whole point is: there is no "ideal" size. It depends. It always depends. We should never substitute thinking with mere rules of thumb and reductionist claims.

On another point, notice you said: commits, not pull requests.

That's an important distinction. Pull requests have a whole feedback loop on top of them, and serve exactly as a way to tie multiple smaller changes required to achieve one meaningful change. That means most of the time we can get all the benefits of small code changes and the benefits of the full context by having a slightly larger PR and separating changes by commits.

> Again, this is a straw man. Nobody is saying to blindly optimize to the metrics

Maybe. But this is an advertisement blog post, made for a company that targets managers that will say "let's buy this and it'll make our developers faster. It gives me a pretty graph to say who's good".

That's why some of it might look like a straw man at first sight, but if you take in the context in which this blog post was written, it's a valid argument in my view.

It's way too easy to blur real code concerns (splitting functions, naming, separation of concerns, etc) with silly meaningless numbers (PR size, line counts, PR numbers) that managers use as a proxy to actually knowing the subject matter.
Banksy's art is definitely closer to teenager #deepthoughts Instagram pages than contemporary art imo.

He reminds me of YouTubers that got famous making like reaction clips, pranks and the odd sketch that then think they can write (or even act in) a feature film
Wait, so you've owned a slice of the Nashville Predators since the late 90s? I thought sports teams have been a great investment over the past 20 years?
DataBrokersWatch.org
The gas grid is much less likely to go down than the electric grid - and btw, many run on propane - not natural gas - and that is stored locally (i.e. in a tank at the house) - I use propane gas, stored in my own tank - natural gas is not available anywhere near my area.
Tiny tweaks to tests like MMLU can shuffle model rankings