skysight-inc/HackerNews huggingface dataset:
I remember years ago when Java adjacent research was all the rage, HP had a problem that was “Rosetta lite” if you will. They had a need to run old binaries on new hardware that wasn’t exactly backward compatible. They made a transpiler that worked on binaries. It might have even been a JIT but that part of the memory is fuzzy.

What made it interesting here was that as a sanity check they made an A->A mode where they took in one architecture and spit out machine code for the same architecture. The output was faster than the input. Meaning that even native code has some room for improvement with JIT technology.

I have been wishing for years that we were in a better place with regard to compilers and NP complete problems where the compilers had a fast mode for code-build-test cycles and a very slow incremental mode for official builds. I recall someone telling me the only thing they liked about the Rational IDE (C and C++?) was that it cached precompiled headers, one of the Amdahl’s Law areas for compilers. If you changed a header, you paid the recompilation cost and everyone else got a copy. I love whenever the person that cares about something gets to pay the consequence instead of externalizing it on others.

And having some CI machines or CPUs that just sit around chewing on Hard Problems all day for that last 10% seems to be to be a really good use case in a world that’s seeing 16 core consumer hardware. Also caching hints from previous runs is a good thing.
How many people does HN think should live on Earth?
IDK "game studio doesn't allot enough time to make game, narcissistic manager works very hard to get anyone else to take the fall" isn't at all hard for me to believe.

This dude has screenshots, file metadata, and a contract to back him up. That contract says 12 songs. Sounds like that's all there is to it.
> Some necessary features weren't even supported in the current Docker-Compose file versions.

Why docker-compose?

Have you tried Docker swarm mode?
Firmware updates can have drastic far reaching effects when your car is primarily computer controlled, and is, relatively speaking, chock full of software based interlocks that essentially implement product binning.

People are becoming more aware of the impact of all that "crap nobody is willing to let you see", and it is, in my estimation, a good thing.
What important Intel-only macOS software is going to exist in five years?

It's basically only games and weird tiny niches, and Apple is pretty happy to abandon both those categories. The saving grace is that there's very few interesting Mac-exclusive games in the Intel era.
In my experience the squashing crowd is much louder and cares more about squashing than the crowd who prefers to see every commit. I hate squashing, but I've been beaten down into doing it many times because in the end it doesn't actually matter.

The merge commits everywhere argument falls apart if you use log --no-merges. The shitty commit messages argument is solved by not allowing shitty commit messages. The "fixed typo", "oops left TODO", "another typo" chain of commits argument is solved by telling people to not do a million commits like that and IMO those should be squashed. The clean history argument is solved when you don't allow the useless "fixing typo" commits in feature-xyz branches. Your history should be clean and contain a history of the progress that was made.

But ultimately the easiest way to solve all these problems is to force everyone to squash. You only have to police people on a single commit and people don't have to learn about options like --no-merges.
As soon as you pushed your branch to remote (which I tend to do for backup reasons especially after working hard on a solution) rebase only means trouble.
The implication is that I learned the same way. Memories...
It is quite astonishing how seamless Apple has managed to make the Intel to ARM transition, there are some seriously smart minds behind Rosetta. I honestly don't think I had a single software issue during the transition!
on the face, it should be pretty easily sustainable based on the profit per employee these companies make. i guess we just really hate anyone but shareholders actually getting a piece of the pie.
I see things like Stable Diffusion as just another tool in humans’ creativity toolbox. If it leads its enthusiasts into a purely nihilistic state where art loses all meaning to them, that’s their problem.

Long after AI, people will still be happy to strum on a guitar, because it feels good. Sure there’s also fame and fortune possible, but I don’t believe those are the sole reasons all people embark on artistic or philosophical pursuits. Some people really are trying to work something out or, again, just feel good.
> SF...good deal..

There are no good deals in SF, those are probably the worst deals you can find in the country at any point in time.
Altivec did magic with MPlayer. 720p video on a G4? Totally doable.
How the BBC builds websites that scale
Isn't the more apt to compare this to car restoration/repair or something? Fixing up homes isn't like a factory you can streamline and automate.

Just anecdotal, but the first house I bought had some issues that enabled me buy it at a discount and fix it up over time to my liking. I'm thankful I had that opportunity, and I still would've probably upgraded certain things if the flipper just went with the base options.
https://www.youtube.com/watch?v=3XGAmPRxV48
As many as it can comfortably sustain?

Which RN looks like a lot less than 8bn (given climate change and all).

Open to your ideas of how we fix that though! I think a resource-light society of many billions would be amazing
One would think that there would be diminishing returns to more infrastructure in London, that some investment in the Power House North would do wonders.

A high speed rail linking up Liverpool to Hull sounds like a good idea, there are the Penniness to drill though, but it would hardly be the Gotthard base tunnel would it.

Pennine base tunnel anyone?

[update: this turns out to be a study for a road tunnel]

https://transportforthenorth.com/wp-content/uploads/trans-pe...
What Makes Developers Unhappy?
AlterNAT: High availability cost efficient implementation of AWS NAT instances
Ya, Instagram is quite popular among the younger generation, actually!
> Horror stories like this are the main reason I only ever bill by the hour and invoice biweekly.

This sort of thing is why I've always kept a salaried position. I could make more, perhaps have more varied & interesting work, and maybe gain other flexibility, if I switched to contracting, but few people extolling these benefits to me ever mention the flip side when things aren't perfect – I'm more than happy to make less to avoid all that.

From the article:

> The contract never showed up.

> but if I needed more time, they would be happy to amend the contract later

No contract, no work. Work starts late because of no fault of mine, including late/no contract? Delivery is likely delayed. Want me to accept an assurance: put it in the contract or otherwise in indisputable writing now. This probably marks me as someone unsuited for contract work, or too difficult to work with as a contractor, ete, and that is fine by me!
California voters said no to taxing the rich to make EVs more affordable
https://tradingeconomics.com/united-states/housing-starts

Pull back to max timeframe, housing starts are around a 60+ year average trend (and have been for many years)
Working as a contractor yes could bring as much but highly specialized one get 1k Euro a day. You're basically on the top 1 or less %
Doom: Behind the Music [video]
> Jobs was more opinionated on “principles” - Cook is more than happy to sell what people will buy.

Well, the current "principle" is "iOS is enough, we're going to run iOS apps on MacOS, and that's it".

Rosetta isn't needed for that.
It's detailed here - https://docs.rs/anyhow/1.0.66/anyhow/struct.Error.html - the list is short but IMO significant
Why? Maybe it's a different subset of crypto users who did not want to go with binance in the first place, and are not likely to stay in binance for whatever reasons. And it's not like binance is running out of customers
> But then Tesla supporters cry when they’re singled out for recalls?

How about just wanting to be objective and not misleading?

Also, to some degree Tesla did deliver electric car revolution by creating some of the first actually desirable BEVs, eventually forcing major car companies to do the same.

(Nissan Leaf et al sure contributed a lot as well, but that's irrelevant for this discussion.)
But "ot" as in depot. "Kruō".
OpenBSD for macppc would run perfectly fine and fast enough on that.

Not for JS heavy sites, but Seamonkey with UBlock Origin Legacy would do a great job.

For youtube, Mplayer and yt-dlp would do the job. SMPlayer + "open url" dialog for graphical folks.
cppreference suggests this as an implementation for std::unreachable but as near as I can tell neither clang nor MSVC does that (yet?).
There's an annoying dwarf fortress bug but other than that, same
A lot of people lost a whole lot of money.

Where do you think it went?
Notes in Joplin are stored plain text with obfuscated filenames. The only time joplin uses a DB is for indexing.
300 * 500 and 2000 * 2500 have different aspect ratios (0.6 and 0.8). Because you used background-size: cover, the image was resized down in the same aspect ratio (to not stretch it), and cropped to fit the container, and your screenshot proves it.
CCP apparently overcounted their birthrate for decades.
Wow, it doubled in less than 50 years. World population was 4 billion in 1974, thats nearly 49 years ago…
Sorry, what do you mean by "real weight"?

They absolutely dominate among Gen-Z, and is catching on mainstream appeal pretty quickly as well.
Yes, it does. The delay of the first start of an app is quite noticeable. But the transpiled binary is apparently cached somewhere.
if you're the only one working on that branch I don't see where is the problem in rewriting history and force pushing
Even when I was a forklift driver, a job available in practically every middle-sized low COL midwest city, I could save $10k a year by only spending on necessities. That's only like 15 years to buy a house somewhere like a middle-sized Midwest town with forklift jobs. Not too shabby if you can buy a house by 33.

The piggy-bank method does work. Maybe more people should be doing it rather than us having a system inflating the hell out of our economy through loans with negative real interest rate.
I'm just a fly on the wall with all the crypto drama but i thought Binance bailing out FTX was mainly to protect Binance and not just good will. I guess Binance figures they can survive without them.
He lost untold billions of dollars (admittedly off his giant pile of even more untold billions of dollars).

He’s the primary controlling shareholder and defacto owner. What other kind of accountability would make any sense at all? Even if he fired himself, he’d either have to shut the company down, or find someone to replace him and manage them, which makes him their boss.

Edit: to correct dumb statement around share ownership. But you know what I meant.
Dos commas, Richard
If one user uses a tool wrong, the user may be at fault. If many users are using a tool wrong, the tool probably doesn't have great UX.

Saying "the tool is great, users just need to RTFM" sounds an awful lot like "you're holding it wrong".
How many teachers are there in Ontario?!
Microsoft appears to be transitioning to a cloud services company, but they have lots of legacy products that still have too much value to abandon. My guess is that the all-stars in the company are working on cloud products while the lesser skilled are relegated to legacy products. This is probably some ambitious product manager trying hard to push a cloud revenue advertising product into Windows so they can leverage it to get moved into the growing cloud services side of the company and out of the decaying legacy side.

There's probably also a good bit of internal pressure on the managers of these legacy products to find ways to make them fund themselves. When looking at what Microsoft has been doing with dotnet over the past half a decade, helping to support legacy Window's place in the world doesn't appear to be one of their goals. Everything is going cross-platform with a distinct push towards cloud deployment, which supports the cloud services goals.
Hah. Roght. Most places are preaching the "superiority of people to process/Fragile" nowadays. Where process is had, it's largely going to be as strictly enforced as the first manager looking yo juice some metrics. I've yet to see anywhere credibly stick/adhere to their own process.
Ask HN: What’s the best study plan to become a great engineer?
This year I became a much stronger runner by closely following predefined training plan from NRC app. This made me wonder if I could do something similar to become better engineer. Do you know any study plans that you could recommend?
Same place a number goes when you press backspace in your editor.
No, Joplin stores files as plain text with obfuscated filenames. An SQLite DB is only involved for indexing and search.
Websites, support, and product features differ because of market competition. Prepaid carriers resell bandwidth purchased in bulk from the major carriers, so they have far lower barriers to enter the cellular market.

Counterexamples: Google Fi and Mint Mobile, both of which have good websites/apps, service, and product features. Verizon in particular sucks even for subscribers so I wouldn't expect their prepaid service to shine.
heavier than a solar panel, increasing all labor and mounting costs, while producing ~zero return. also not as weather proof as a solar panel, so you'll be up replacing them sooner.
You are a lucky guy. In my country we are forced to pay the pensions of others.
If that blows your mind, you should see how Microsoft did the emulation of the PowerPC based Xeon chip to X86 so you can play Xbox 360 games on Xbox One.

There's an old pdf from Microsoft researchers with the details but I can't seem to find it right now.
Assuming 6% returns on his remaining $900 million invested in index funds, he’d be a billionaire again in two years doing nothing.

Not as fun admittedly as gambling, but commas are commas. Wealth is sticky is this comment’s thesis.
Isn’t part of shorting also predicting when the drop will happen?
This is actually something that I have really never seen done in a good way anywhere ever, but always imagined / seemed inevitable.

It seems like it would be natural to have a single notification platform that all applications feed into, with basic functionality like filtering, aggregation (i.e., you have received 100 'disk is full errors' in past 6 hours, starting at 10pm' instead of a screen full of all hundred errors), muting (Dave has promised to clean up the disk by the end of the day, ignore 'disk is full' messages on that particular disk until 9a tomorrow morning), notifications that expire/disappear when they are no longer relevant, and streaming/syncing to a desktop app, mobile, etc, etc.

I have seen decent implementations of notifications with aggregation/muting/etc as part of monitoring applications or embedded into sophisticated applications, but it seems like it would be good to just enforce this org-wide, make all the apps feed into it, make vendors integrate, and give people a single inbox.

To some extent RSS was a primitive version of this, but there was a time when many apps provided RSS feeds (and many still do), and you can collate a lot of it into a single inbox with some effort.

Unfortunately... it always seems to boil down to involve email notifications, which are woefully inadequate due to the lack of the obvious features above, and drown out actual human communication.
> not interested in an acquisition after a small amount of DD

Sounds like liabilities exceeded assets
I couldn’t watch it - I lived through far crazier stuff than what they showed, and it was just too painful.

One of those cases where they had to tone down reality so people would believe it, but still came across as unrealistic!
I have come to prefer hooks, but I have never felt they're necessary. Class based React allowed for massive simplification of some setup/tear-down actions.
How does HN intend to control the population with small government that respects a free market and civil liberties?
You do that and there will be an email describing the conversation in your boss' inbox before you get back to your desk.
> Knowing Earth was going to be destroyed the dolphins leave, but they leave behind a message

He thinks that the UK is going to implode?

Probably correct even if it is mostly harmless.
> With all that said, we shouldn't be hamstrung by what a deeply flawed group of people decided in the late 1700s.

Bringing this back to the discussion at hand, your point seems completely off the mark and basically irrelevant. The current copyright regime is nothing like what was created by those men hundreds of years ago. In the late 18th century after the country was founded, copyright was limited to 14 years plus another 14 year extension if the author was still alive. Going back to that would be a great idea.
> It seems predicting an arm binary from an x86_64 binary would not be insane?

If you start with a couple of megabytes of x64 code, and predict a couple of megabytes of arm code from it, there will be errors even if your model is 99.999% accurate.

How do you find the error(s)?
This is a great writeup. What a clever design!

I remember Apple had a totally different but equally clever solution back in the days of the 68K-to-PowerPC migration. The 68K had 16-bit instruction words, usually with some 16-bit arguments. The emulator’s core loop would read the next instruction and branch directly into a big block of 64K x 8 bytes of PPC code. So each 68K instruction got 2 dedicated PPC instructions, typically one to set up a register and one to branch to common code.

What that solution and Rosetta 2 have in common is that they’re super pragmatic - fast to start up, with fairly regular and predictable performance across most workloads, even if the theoretical peak speed is much lower than a cutting-edge JIT.

Anyone know how they implemented PPC-to-x86 translation?
having total control on the hardware and the software didn't hurt for sure
They may archive old emails and allow only new email be sent/read.
> and even if you want to get back to them right away it requires some delicate git surgery.

`git reflog` to get the old commit ID, and then `git reset --hard <commit>`. Seems more like "basic everyday git operations" than "some delicate git surgery".
Nobody denies it. Again is the offer and demand law. Probably high delocalization brought new jobs which ended up and saturating the market and growing salaries to fight for the very same talent pool.

Something similar happened in Ukraine. I had friends in Europe that were running companies in there till when the wages became comparable to the original country. They still kept the Ukrainian office but eventually reduced the growth in favour of other locations
> I view layoffs as a last resort, so we decided to rein in other sources of cost before letting teammates go.

So spending a few billion less on the metaverse was not an option?
Reminder, what we like about crypto is no bailouts

Just pure Machiavellian outcomes
...Except, in the engineering sense, dealing with rough surfaces/potholes should absolutely be filed under "normal use". If someone built a car that wasn't at least checked for behavior in media real, I certainly would have rather profound concerns over it's manufacture.
The post explains it quite well, I suggest reading it. I know it is a long read, but there is zero fluff or wasted space on much personal musings in there, all pure factual content.

Tl;dr: very messy legal proceedings and multiple settlement offers (including a proposed gag order that ZeniMax's legal team was trying to force upon Gordon) are the reason for why. And those legal negotiations started less than 2 years ago, after the release of the game. And throughout that whole post, it is evident that Gordon (despite being wronged multiple times in a row) pretty much kept giving them second, third, fourth, etc. chances to resolve it amicably, as he believed it was in the best interests of the projects ultimately succeeding. Only to get taken advantage of and being stabbed in the back multiple times by the same person he decided to give those extra chances and forgiveness to.
This would be interesting to see in a JIT, even if on a sampling basis. I also wonder if some instruction filtering/detection approach would work for rowhammer.
Mass Production of Apple's Mixed-Reality Headset Said to Begin in March 2023
Apple decides to reduce the production of iPhone 14 phones
I get the same feeling and shudder whenever HN has a new thread about password mangement systems. Most of the suggestions are super fragile and so many people give bad advice that will eventually result in collossal catastrophic data loss.
> Update the link to the weekly note. (I can definitely use a templating plugin to make this happen automatically, but haven’t spent the time on that yet.)

Here ya go! (Requires Templater plug-in)

```
Week: [[<% tp.date.now('yyyy') %>-W<% tp.date.now('ww') %>]]
```
The Perils of Running Your Own Mastodon Instance
No the one that quota encyclopedia Britannica.
"The SEC published a video urging the public to think twice before taking investment advice from celebrities and influencers. "

So what we're saying is that Kim Kardashian is not necessarily the best source of financial wisdom?

Oh how we laughed.
Say what problem you want me to solve. Don't tell me the company is 'in a growth phase' or there's 'room to fill in a team'.
Not regularly, no. But sometimes a feature change requires a dependent architectural change — a refactoring of the internal library code that the feature will be implemented into. Or sometimes the language of choice doesn't have a pre-commit-hookable CLI auto-formatter, only an IDE auto-formatter, and the dev editing a file triggers formatting changes to be applied that should have been done in a previous change. And sometimes, a dev thinks it's a good idea to change the representation and decoding logic for a data file or embedded data-structure literal at the same time that they're adding an entry to it (usually because they can't represent the added item's additional semantics without said change.)

> But usually you can break a feature into different parts (e.g. database, backend, frontend) and merge them in separately.

So you've already written all that code, because you couldn't get anything to "work" for end-to-end testing until you wrote all parts of it. The patchset as a whole is inherently large.

Now what? How do you "break [the] feature into different parts" when it's already all written and committed on a WIP branch?

That's right: cherry-picking and rebasing.

The GP is arguing against bothering with this process. Presumably because git-rebase(1) is unintuitive to them, and they don't realize that you should start this workflow with a copy of your branch, or a new branch with cherry-picked commits from your WIP branch, to guarantee non-destructive rebasing. Like making a copy of a layer in Photoshop. (Yes, you can always restore your branch from the reflog, so it's technically always non-destructive; but `git checkout -b foo` is something you learn in Chapter 1 of the Git book.)
500mhz was really slow in '99 wasn't it?

I had my first computer either then or in 2000: 10GB hard drive, 64mb of ram, and 600mhz. It was the cheapest one they had.

EDIT: Maybe my memory is hazy and it was more like 300mhz.