skysight-inc/HackerNews huggingface dataset:
> a new iPhone that works perfectly and contains all my data and, for all practical purposes, is exactly as if my old one never broke.

That is a very compelling convenience that all (phone) OS-es should strive for. I try out different phones and operating systems, but syncing the data and settings via a self-hosted device are not convenient yet.

`adb backup` will give me an archive but it's a deprecated command and so far I've never been able to restore data with it.

A system like NixOS is getting the applications in exactly the same version and configuration, but the same rigor is not there for the associated data.

Ideally, I'd be able to run a plug-and-play server at home, link it to my phone and have it take backups without ever being visible until there's a problem with running the backups. Then, when the phone needs to be replaced, link it the new phone and continue where the old one left off, including all contacts and contact history.
>don't worry well compensated average HN reader, nobody is gonna allow your home value to drop much.

I know personally some very well compensated HN users in the Bay area who can’t even afford a home that could drop in value.
> "why crime occurs" -- because there are always criminals, and they seek out opportunity? How about that?

"Criminals" are not some kind of universal entity that exists by default. They are people engaging in different patterns of behavior. They act this way for understandable, and often rational reasons. You're welcome to whatever mental model of the world you want, but in my view you're being unhelpfully reductionist.

> I call BS on this one. Upscale people in Pacific Heights smoke crack and shoot heroin? Prove it.

No obviously not, being obtuse on purpose doesn't further any useful discussion. The type of drug used clearly matters in some contexts (eg. public health), but in the context of arresting "criminals" I don't really care whether its fent or their grandma's oxy. The point is that abusing both are crimes, and that type of crime is everywhere.

> Ordinary citizens have a right to be safe in their cities.

I agree! Have a nice day :)
Do you think punishment is an ineffective deterrent?
oh no ;_;

I'll be thinking of the hotel customers when i'm paying my rent.
if net_worth >= broke_lmao:
return criminal
What's on RFC? Great post by the way, thanks!
I read the story, and there's nothing in here that's surprising; per the headline, the laws of supply and demand still hold. The new regulations in NYC were about reducing the price of long-term housing, not short-term stays.
Good for them, we already paid for the gas through corrupt subsidies anyway.
This is not the case in systems that seek justice, like the Islamic system.
It makes sense that upscale people use lots of drugs. They can afford it. Wine moms popping pills is practically trope fit for family friendly comedy tv. Cocaine lawyers, "upper"/"downer" party culture that only the well-off youth can generally afford... I know so many wealthy college kids bumming off adderall and other adhd drugs from their friends...
Do you have to say it again every 5 minutes though?
> why crime occurs (mainly because poor people need money badly, secondly because people in sufficiently dire poverty stop caring about the social norms of the middle class)

This is not my understanding at all.

Crime seems to have fallen during the Great Depression. Murders, which are almost always reported, fell.

Things get complicated once mass surveys replace crime reports.

Rape almost certainly increased when marital rape was outlawed. Embezzlement almost certainly decreased when cash registers were implemented.

One common way to “get rid of crime” is to gentrify, which inevitably lowers crime in a specific geographic area.

Another way to “get rid of crime” is to send criminals to prisons, where it’s extremely difficult to report crimes, and surveys of victimhood are never conducted.

I’m open to being convinced on this, but I don’t think the “mainly” cause of crime is poverty.
The mark with two dots can refer to various things.

Dieresis (Greek word we use in English) is a phenomenon where two vowels don’t merge together to make a new sound. Co-operate, coöperate, or cooperate. You could also shove a glottal stop in there but this is much less extreme. The diaresis marker isn’t used much in the USA. Another common example is naïve.

Umlaut (German word) is the opposite phenomenon: the first vowel sound is inflected by the following, so in German Apfel (apple, pronounced UPfell) becomes Aepfel (apples, EPPfell), instead commonly written Äpfel instead.

People usually refer to the marks by the term in their own language (umlaut, diaresis, caron, accent…). I say Umlaut in German (which doesn’t mark the phenomenon, you just have to know) and diaresis in English though I’m talking about the same symbol.

But diacritics are used in no systematic way in different languages anyway (this is true of the letters themselves too: letters like S, W, V and Z have different pronunciations in English and German, for example). Ppl just needed ways to say “the sound here is similar to the sound of this letter but not really the same” or “when you say this letter also do something else” (like, say, add stress for languages that have that).

English mostly dispenses with them, sometimes adding a letter (g vs gh) but mostly having a very casual relationship with the sound at all. You simply have to know that cooperate isn’t pronounced like chicken coop. I personally think that’s a good thing.
Github says "Starlark 6.2%", so it looks like whitten's typo, not GitHub's.
Very likely going to be zero. The only way I can get a chance at a phone screen is to spend at least an hour crafting my resume and cover letter for each position.
Thanks for pointing this out (fixed now).
FCC issues first space-debris fine, punishing Dish for failed deorbit
For some convenience is a factor. Apple stores tend to be in crowded urban areas or fancy shopping malls. In less central locations small operators and components shipped directly may be competitive offerings.
"Reduce, reuse, recycle" is in priority order. Recycling is supposed to be the last resort
On which keyboard layout is rk into nd a typo ...
Well I’ll be sure to think about that as I am having the first full night of sleep that isn’t interrupted by French tourists buzzing every door in the building at 3AM every night.
Agreed. One frustrating thing about PL is that they seem to make odd decisions that detract or distract from their main value proposition. In particular:

- Filecoin is not interesting. IPFS and lip2p are interesting.

- Renaming IPFS-the-application to Kubo is confusing

- Naming the IPFS DHT "Amino" is confusing. Why does it even need its own name?

I really wish PL would go through the occasional contraction phase where it prunes the bulk of its initiatives and re-focuses on what it does amazingly well. IPFS and libp2p are truly amazing.
Rich people abusing drugs have to get them somewhere, and they're probably not traveling to skid row to get them. I agree that drug dealers and drug users probably have different dynamics, but the reality is that police prosecute both, and in the case of the latter the above described dynamic clearly exists.
```

def embed_documents(self, texts: List[str]) -> List[List[float]]:

texts = list(map(lambda x: x.replace("\n", " "), texts))
embeddings = self.client.encode(texts, \*self.encode_kwargs)
return embeddings.tolist()

```
The "Skyactiv-X thing" absolutely works and is available on Mazda 3s in Europe now. It doesn't work in the US because of our very stringent NOx emission rules (which, incidentally, is one of the reasons diesels are less popular here). I'm not aware of Mazda trying a Miller cycle engine outside of one trim level on the Millenia. I have heard that their experiments with that helped the development of their Skyactiv engines in general though. I'm also not aware of anyone else making Miller cycle engines currently. Perhaps you're thinking of Toyota's heavy use of the related but not the same Atkinson cycle engine.
Thanks for explaining that. It makes perfect sense!
My guess is that they mask out the audio of other speakers, and only give you the transcription.

I am doubtful that that would work well in practice though.
Reading now with the updates, I think the issue was overcome, glad to see such cases :)
For me, I refuse to create accounts when applying for jobs. Too much of a pain in the ass.
Return stock text for stock(like) image? Well... My tries with something more challenging went hilariously wrong.
The interesting part of it, IMO, can be pitched as "decentralized S3".
This depends on responsibility. If you are working within a service you own, you might be working with a bunch of abstractions you need to know because it's your responsibility to. Layers that bifurcate responsibility (and usually team boundaries) should be readable without needing to intimately understand what problem the abstraction is trying to solve.

To say you never need to understand what problem the abstraction is trying to solve (or you always need to) doesn't quite strike the practicality of how teams work together in my experience.

That said, in my experience, there are a ton of leaky abstractions that really shouldn't be too.
Ask HN: Best books to understand semiconductor business?
I've worked in tech a long time but always on software/internet side. Looking for some good books or guides to understand the semiconductor industry. Any suggestions?
OTOH fewer people will show up to listings for non-existent locations or locations that aren't owned by the fraud who listed it.
Mistral AI 7B vs. ChatGPT (GPT 3.5 Turbo) on 20 Qs [video]
It's a local news piece so it's not meant for a technical audience. That's why they lead with the typical "random bystander" quotation.
I spam all the buttons on any pump to attempt to mute it, and like you have had success with top right, or second from top on the right having the highest success. In my area, I'm only about 1/4 in being able to mute it, but when it works, usually top right.
I do not think punishment is a good deterrent, no; I think the data more or less says that as well. If you look at Scandinavia, where they generally have a much higher emphasis on reform instead of "punishment for punishment's sake", and they also have a substantially lower recidivism rate compared to the US.

Now obviously, I'll fully acknowledge that it's not completely apples to apples; there almost certainly a million differences between the US and Scandinavia that contribute to differences in crime statistics, but I think it does demonstrate that reducing emphasis on punishment doesn't turn the world into this post apocalyptic dystopia.
I think the point of the Kia and Hyundai cases is that customers had some expectation that the locks would actually provide a higher level of security than they actually did. Otherwise why even bother having locks? Saying that "stealing is illegal and we should pushing the thieves not the companies for failing to provide security" completely negates the point of having any security industry.

If you provide a product that is intended to offer a certain level of security you should get punished when your product fails in a spectacular manor.
Can confirm— stayed in a flat in Brooklyn and it was gross. Bathroom worked but the kitchen was full of roaches. Anything not sealed had to go straight in the fridge.
"Fucking Hell" - first thing I yelled to myself when I saw that headline

Kudos for the project, of course, but it just saddens me a bit more. Nothing is sacred anymore.
It isn't built yet?

The price of a house is simply a matter of supply and demand. If you buy when supply is more abundant and demand less so, you'll get a better price. Right now, there is a supply crunch in housing (because interest rates are high, the second hand market is really low volume), that means available inventory has a higher price. If you want a year later, the dynamic will be different.
I went to kindergarten alone every day at age 6. Almost everybody on my street did that. It was a 1 km walk. At age 7 I walked every day alone to school 2 km away and I remember it took exactly 25 minutes.
Do you mean the extra configuration required to make applications use the correct version of the database schema, or something else?
Not a surveillance state, but a stop on producing new, high performant chips should be enough.
Supply and demand. Fewer AirBnB's mean more will use hotels who will otherwise use AirBnB, leading to hotels increasing their prices, even though they compete with each other.
Fascinating, and thanks for the response! I did not know that, but it makes a lot of sense. India would be in a tough spot if China and Russia had a much closer relationship, especially as China and India don't really get along that well. So India needs to strengthen its relationship with Russia by any means necessary in order to have Russia in their corner as opposed to Russia being in China's corner.

There's a lot of nuance to geopolitics, clearly!
Yeah and on the flipside the price of rent will go down.

A weird quirk of America is that we are so obsessed with tourism that we are willing to sacrifice quality of life for people who live in one place, for the benefit of a bunch of people who visit for 3-4 days.

This is the peak of that thinking.
Commentary by Karl Schroeder:

> Beautifully rendered video of a wheel-shaped space habitat with artificial gravity. This shows viscerally what I pointed out in my Substack posts on the Single-Family Space Colony: that windows are a bad idea in rotating environments

https://mastodon.social/@KarlSchroeder/111161480469784844

A bad idea because: Since this is just a visualisation, the safety aspect is secondary to the way that it's quite disorientating, vertiginous, maybe even inducing of motion sickness.

I expect that a more practical design would have observation decks, but not huge windows everywhere. But that wouldn't make as nice a visualisation.
é is used commonly in names and some words that don't feel foreign. For example the word for idea is written idé. Seems like it's an old loan from greek.
I'm using the Firefox Accessibility Tools. But you're right, I mistook the accessibility warning for the quote/header text for the body text. #000 > #FDDB29 does pass unfortunately.
I have the same negative perception of AirBnBs in New York. I think the city also encourages hustler types, or people that are plugged in with local polls, who get away with everything they can.
I think the problem here is that there are two very different meanings of "vectorized" at play. The first (and what the Julia docs are talking about here) is the pattern of writing "vector-operations" (i.e. rather than writing a loop, writing an expression that works across an entire array). The second meaning is using SIMD instructions (e.g. AVX2). What the julia docs are trying to say is unlike in languages like Python/R/Matlab where loops have a high overhead do to an interpreter, in Julia, loops are fast because the language is compiled. There are lots of algorithms that are easy to express in an iterative fashion that are pretty much impossible to vectorize efficiently (dataflow analyais/differential equations etc).

The docs here aren't trying to talk about SIMD instructions at all here. (although Julia/LLVM are pretty good at producing SIMD instructions from loops where possible).
Yeah they're identical from what I've observed. I see the exact same ads on my Facebook and Instagram feeds.
I just never do this and it’s never been a problem.
Agreed, as someone who needs to travel a lot worlwide, in cities where the hotel business is very active airbnb is systematically terrible. It might be cheaper, but you will wish you spent the extra bucks.
What meaning are you conveying with the question mark? Is it confusion, uncertainty, or something else?
It's rational to trust yourself over corporations that want to make money, governments that sit in their pockets and their naive enthusiasts.
And the supply of apartments for living in will go up by exactly the same amount.

Supply and demand works in both directions.
Go is such a simple language, you take out goroutines and you only have to reason about a single threaded application with no concurrency, I would guess this lowers the bar for doing platform native coding.

Zig is much more complex than go, I’m sure there are a lot of people who don’t want to put the time in to learn it.
That is a penny drop moment for me. You are absolutely right that that is the primary purpose.
> Anyone know how well this works with very large datasets? The backfill sounds like it would take a while to do.

It can take a long time, yes. It's somehow similar in that regard with, for example, gh-ost for Mysql that also does backfills. The advantage of Postgres here, is that backfill is required for fewer migration types, and pgroll only does backfills when needed.

> Does this Go binary need to be continuously running, or does it keep track of migration state in the database?

The latter, you only run the Go binary when doing schema changes.
It's a creative and fun website, just not nice to use.
Essentially, I’ll admit that was a bit of title-bait.

The general approach (SSR and hypermedia) is also inherently performant compared to the current trend of bloated CSR apps, or suboptimal React frameworks.
Depending on your locale, EV batteries last about 8-15 years[1], not five. EVs are cheaper to maintain and run than ICEs[2]. I think right now, it's a toss-up which will come out cheaper after 20 years when including a battery replacement. But EV components will only go down in price as we massively scale up manufacturing, so I expect EVs will be the clear price winner within the next 5-10 years, which is about when you'd maybe start thinking about replacing the battery if you purchased an EV today.

[1] https://www.edmunds.com/electric-car/articles/electric-car-b...

[2] EV maintenance costs are about 60% of ICE https://www.energy.gov/eere/vehicles/articles/fotw-1190-june...

and fueling costs are about 50% of ICE https://www.caranddriver.com/shopping-advice/a32494027/ev-vs...
Millennials on Better Track for Retirement Than Boomers and Gen X
Well AirBnb banning in New York is alot different than in other cities just by virtue of the type of accommodations that are available in New York.

If you ask most people why they airbnb over hotels they say its because I can take my family or group of friends to an airbnb, where as in a hotel we'd need to get 4-5 rooms.

In most other cities you can trivially find 5 bedroom places that fit that bill. In New York I'm not sure you can find alot of 5 or 6 bedroom places, especially in Manhattan.

So airbnb's main draw for most people just isn't available in New York in a way that it would be in most other large cities.

Which means you'd expect alot less people to use airbnb over a hotel in New York.
drug dealers will continue to sell drugs irregardless of financial stability. when law enforcement defers arrest/prosecution the drug dealing doesn't become less harmful to communities, the opposite is true. look at SF/Oakland. organized rings maximizing profits in retail theft and property crimes. if this is the alternative to broken windows theory of policing then good luck w/ that.
Your general point makes sense: it’s true that 150 years ago news was more local.

But thanks to the telegraph and train even local news contained wider affairs. And as I put in my comment, the Chicago building was famous — world famous in fact. It was a technological phenomenon like the telephone. And an architect of large buildings couldn’t have not heard about it any more than a programmer not have heard of an LLM today.
For those that would want a dedicated GPU, the 16 inch model has an expansion bay that allows putting in a Radeon GPU.
Is P&G a particularly great employer that justifies such a bizarre job application?
Automakers Should Be Freaking Out About Student Loan Debt
Tech CEO: Please do not stop us from making money.
There's no shortage of hotel inventory in NY. The supply is there. Hotel pricing didn't change at all in NY pre/during/post-Airbnb.
Rent goes down, though, which seems good in general.
Doesn’t the Brady rule mean the prosecution would have to disclose the initial assessment, and the fact the police requested a change?
Over 100 years is entirely possible in this case. Under the Federal Sentencing Guidelines and precedent in the 2nd Circuit, the recommended total sentence will be stacked consecutively because SBF's "offense level" counsels life in prison. Here's the calculation.

A. Max sentence:

Wire fraud on customers (20 years max) + conspiracy to commit same (20) + wire fraud on Alameda lenders (20) + conspiracy for same (20) + conspiracy securities fraud on FTX investors (20) + conspiracy commodities fraud (25) + conspiracy money laundering (20).

145 years total possible

B. Determine SBF's offense level under the Federal Sentencing Guidelines, §2B1.1 (fraud):
See https://www.ussc.gov/sites/default/files/pdf/guidelines-manu... and Ctrl+F for "2B1.1" to ride along:

Base offense level (7 levels) + Greater than $550,000,000 loss (30 levels) + Resulted in substantial financial hardship to 25 or more victims (6 levels) + Offense otherwise involved sophisticated means (2 levels) + Defendant derived more than $1mm in gross receipts from one or more financial institutions (2 levels, maximum, due to a cap from earlier calculation) + Violation of securities / commodities law and defendant was "associated with a broker or dealer" or officer/director of a "futures commission merchant" (4 levels)

51 levels

C. Determine the Guideline sentencing range.
See https://www.ussc.gov/sites/default/files/pdf/guidelines-manu...

x axis: no criminal history. y axis, we calculated 51 levels.

The Guidelines therefore counsel life in prison.

D. Calculate sentence

The maximum sentence for each count is between 20-25 years. Under the Federal Sentencing Guidelines § 5G1.2(d) and Second Circuit precedent, sentences will be stacked consecutively "to produce a combined sentence equal to the total punishment." United States v. Evans, 352 F.3d 65 (2d Cir. 2003). In our scenario, that would be 145 years. This is the same legal reasoning used in stacking Bernie Madoff's sentences in the same federal district court, by the way.

E. Judge chooses sentence. He can depart downward from the Guidelines

Appeals courts are deferential to trial court choices in sentencing, so Judge Kaplan will have substantial latitude in choosing a sentence. That said, a judge may not be too favorably disposed to a defendant who stole billions of dollars from over 1 million customers, most of whom were ordinary people; who used Tom Brady, Bill Clinton, Tony Blair, Shaq, and Larry David as unwitting pawns; who advertised his scam in the Super Bowl and splashed its name on an arena; who used customer money to buy lavish real estate in the Bahamas, purchase favor from politicians, and make reckless leveraged bets
Wait until later on when everything is done via apps.
Had that worked well for their maps solution? Genuinely curious.
if my company asks me to come back, this will be my approach. I'll keep doing what I've been doing remotely and if they want to fire me, fine
How did you get the loans? Cosigners with decent credit were required when I looked into loans 5 years ago.
If a person only spends that much time applying, it's likely those applications are going in the trash, unless they have highly relevant signals. I change my resume for every company I apply, which is likely not happening.
There is no mention of the long term rental market and how this may affect it, which feels like a glaring omission.
For printed documents I prefer inches since letter paper is 8.5" x 11" and there are common chars/inch, lines/inch, and of course 72 points/inch. With Google Slides though I only use on screens and always just go by the ticks whatever they may be.
India and Russia have had friendly relations for a very long time. https://en.wikipedia.org/wiki/India%E2%80%93Soviet_Union_rel...