skysight-inc/HackerNews huggingface dataset:
The same kind of stuff happened during the Iraq war - makes the normal person feel like the regular Joe or Jane is getting a piece of the action. But in reality they just let you get a pass through %.

That movie War Dogs, while comical and inaccurate about a number of points, kinda was spot on about that one.
Something else that should be prosecutable is having a headline that so misleads the reader from that actual content that people are able to make comments like yours in online forums
I'm curious whose phd work you are referring to?
I had the same problem on a Pixel 4a, it worked perfectly, I performed a factory reset, immediately after it refused to boot due to "battery issue" (I don't remember the exact message). So I think Pixel 4a is also impacted by the "brick on factory reset" issue.
Zero-Trust Shuffle
The Nintendo Switch uses a Tegra X1 chip.
Might just be a bigger after-work voting rush. I’d assume turnout was higher in NI than elsewhere, in that the result was more in question than in most places.
Destroyed like he destroyed those people’s digestive tracts with the salmonella his cult put in the salad bar?
> For the most part, 2FA is just a hack to mitigate the fact that passwords are a weak form of authentication: people reuse passwords, and websites leak them.

Yep, and "using a password manager with a randomly generated password for each site" already mitigates that just as well.

Barring a user using 1Password and still reusing the same password on every site (why are you using 1Password then?) the only use-case I can think of for storing TOTP tokens alongside your password in 1Password is "the service requires me to use TOTP and I don't care about security".

That said, full disclosure, I've kinda got a bone to pick here because I was a long time 1Password user that was forced to switch off when 1Password removed the ability to have multiple vaults because, as they have said on their support forums, "It's called 1Password and our users only want one password." which was a... mind-boggling response from a company that should be focused on security. And this blog post really doesn't instill much more confidence than that response did.

These days I have my passwords in a KeePassX database. I have my TOTP secrets stored in two places--on my phone in an authenticator app where they're on a very secure platform and practically unrecoverable, and in an entirely separate KeePassX database that has nothing in common with my password database. The only time the KeePassX TOTP database is opened is when I set up a new service and want to add my TOTP secret. It's only there to "break glass in case of emergency" and allow me to recover access if my phone were to become unavailable. It's the right balance of risk _for me_, and in most practical sense two _factor_ authentication.
Apparently people with or without money do not care to research if the expensive thing they want to buy is actually a decent product. As long as these people will exist this business model will follow
the vehemently anti-blockchain community is starting to sound more religious about their belief than the cryptobros ever did...
It only devalues the brand if you lower the price or the quality drops below a critical threshold. There are a lot of people with money but no ability to gauge quality in something like clothes. That's not very surprising since modern society is hyper-specialized. I know nothing about sewing or fabrics so I can't gauge quality in clothes beyond basics like "feel" either.

Lowering the price, on the other hand, signals that the brand is now lower quality or less exclusive. Everyone understands that.
> Using completely random UUIDs is IMO the worst choice

Can't say that without context. I've worked in systems where even the version bits were randomized, and for good reason (i know, technically, no UUID anymore).
Needs an arcweld sinter together mode
While it is not sold at cost, you might say you could trust ferrari in using high quality material and paying workers a liveable wage, while fashion brands that don't do all of this might have absurd markups such as 10x/20x [1] while clothing industry markups are about 2/2.5 [2]

[1]https://www.cbsnews.com/news/what-would-a-luxury-handbag-cos...

[2] https://www.vogue.com/article/what-is-the-right-price-for-fa...
Anxious Generation – How Safetyism and Social Media Are Damaging the Kids
It shouldn't be tried by a country, it should be tried by people.

Why would you decide who can vote? Municipal voting right is by residency, no change in that. Everybody votes on the issues that concern all.
This is an option for those who want to learn from a more interactive medium instead of from a textbook.

Different people learn in different ways. I wouldn’t call any of it a waste.
Globalism is the greatest thing to ever happen to the slave trade. It pretty much put the “problem” away from people’s eyes.

Now no one sees the insane conditions and “salary” that is being paid. No need to own anybody, just pay them $10 a day at some foreign country. Works out cheaper as well.
> they clearly have the revenue to produce quality goods safely

The headline figure does “not include raw materials such as leather,” nor core costs like distribution, R&D, retail and marketing.

(That a “luxury” brand can be made by abused workers is a separate farce.)
The EU could start blocking payments to that porn studio. Avoiding the block would be money laundering, which is also illegal in California. The EU (or it's constituent countries - not sure) also controls imports, and could seize and destroy illegally purchased iPhones at the border. Every one of my international purchases is already stopped and processed by customs to evaluate import taxes. It would be quite easy for them to simply say "you can't import this."
I'd like to see calligraphic paths. I.e., you have some primitive like an ellipse that you move along a path while keeping its orientation fixed wrt the coordinate system.

This is something that Adobe Illustrator could do 20 years ago, but is still not possible in Inkscape. I.e., you select a path, set a calligraphic pen on it, and then optionally covert the stroke to its outline path.
I think MD is a big waste of time and resources for nearly all problems, even free energy prediction. Maybe useful for studying kinetics of sub forms, ala Pande. Baker and deep mind lead the field with many ankle biters nipping at their heels. It's al proceeding roughly as I expected when I did casp in 03-04
what _you_ "think" doesn't matter. if it's on the premises of company then it's private.
CUPS uses it when the print target doesn't support Postscript natively. Many of us still print things, even though it is 2024!
No WM at all is less nice, but can work. A bit over a decade ago, we shipped a kiosk/appliance that software-wise only had kernel, X, and firefox. All starting directly from /etc/inittab, something like this:

id:5:initdefault:
x1:5:respawn:/etc/rc-x11
ff:5:respawn:/etc/rc-firefox

...where /etc/rc-∗ are few lines of shell that set up environment variables, and end with "exec chroot --userspec=... / /bin/firefox ..." - this way X and firefox run under same PIDs that sysvinit knows about, so they get restarted after a crash.
> What comes next? Perhaps pay to download a photo of a printed receipt that says you own a jpeg?

The bottom is gacha games, which make billions annually, and are growing year-over-year with no end in sight. It's like a slot machine, except at least a slot machine has a theoretical chance of having a material payout. It's like Counter Strike skins, except at least Counter Strike skins can be sold to other players. It's like NFTs, except at least NFTs represent a notion of "ownership" that could theoretically survive the death of the issuing party. Gacha games are the worst of all worlds--gambling for jpegs that are neither transferable nor durable--and are the logical endpoint of the race to the bottom (well, maybe a slot machine that directly injects carfentanyl into your veins would be worse).
That was the experiment they did?
That really wasn't aggressive. How would you have phrased it?
We may be well into the juice stage.
In this snippet

```python
if header.startswith("X-Forwarded-"):
section = header.removeprefix("X-Forwarded-")
```

the `startswith()` check is unnecessary. If `header` doesn't start with "X-Forwarded-" then `header.removeprefix("X-Forwarded-")` just returns `header`.

Nice summary doc, with good examples. You can also visit [this site of mine](https://ptmcg.pythonanywhere.com/python_nutshell_app_a_searc...) to search for changes by version (3.7-3.11).
Very cool! I implemented some shared-memory atomic snapshots in Rust [0] and also did my best to take automated testing very seriously. I started out using loom [1], the library mentioned in the article, but latter switched to shuttle [2].

Shuttle's approach is to be randomized, instead of exhaustive like loom. However, the scheduler does still give probabilistic guarantees about finding bugs. I found that shuttle was faster and scaled to more complicated test scenarios.

Similar to the article, shuttle also lets you save the random seed if a particular schedule causes the test suite to fail. Being able to quickly reproduce failing tests is really important and enables you write explicit test cases for bugs that were previously caught and fixed [3].

[0] https://github.com/kaymanb/todc/tree/main/todc-mem
[1] https://github.com/tokio-rs/loom
[2] https://github.com/awslabs/shuttle
[3] https://github.com/kaymanb/todc/blob/0e2874a70ec8beed8fae773...
Curious to know if you’re under the presumption that TVs are square? Or are you imagining that the logo doesn’t move at 45 degrees?

Both seem obviously false but I’m struggling to think how someone could otherwise have come to your conclusion.
> The subcontractors were Chinese-owned firms, prosecutors said. They said most of the workers were from China, with two living in the country illegally and another seven working without required documentation

This is how almost all "Made in Italy" clothing products are produced.

Local Italian governments made SEZs where garment manufacturing would occur but with no oversight from labor inspectors.

You'd have a bunch of small shops do piece work that was outsourced by the brands, and these small shops were largely Wu dialect speakers due to the mass migration from Zhejiang back in the 90s.

It's been reported on for decades but no one cared [0][1][2].

Italy has a massive shadow economy powered by laborers trafficked from China (garments), India (dairy), Sri Lanka (garments), etc.

30 years ago it would have been Albanians, Yugoslavians, Romanians, or Poles but they'd rather go to Germany which has been developed much longer than Italy (Italy's HDI in the early-mid 1990s was comparable to Mexico, China, Thailand, and Serbia's HDI today)

[0] - https://inthesetimes.com/article/working-for-fashion-chinese...

[1] - https://www.reuters.com/article/us-italy-sweatshop-insight/i...

[2] - https://www.newyorker.com/magazine/2018/04/16/the-chinese-wo...
Notably, the price tag does not even include the raw material. Which makes it an even weirder headline. But then it’s BI, which is not exactly known for quality or reporting.
I’ll bite what cool stuff is “too woke” Google or Apple missing in glyphs?
Indeed, and they saw that software of sufficient quality can't be funded merely by sales of these devices, and decided to create a platform where the software publishers share the cost with the end users.

I yearn for Windows Mobile but it has suffered from this problem greatly. Same with early Nokia and Sony Ericsson phones with smarter features like J2ME.
I'm surprised they even cost that much to produce. Is this surprise to anyone? Even the people paying retail prices have known for some decades how this works.

It's no less disgusting that they put human beings through what they do in order to squeeze every last penny out, and as a society we should stigmatise high price brands.
There is some sort of stingy pleasure at spending slightly more money than you can afford. That's why the secretary will buy the hermes scarf, the nerd will buy the overclocked super-XXL computer that will hardly make a difference. Serious question: how do you get that pleasure when you have millions in excess cash? Come luxury brands, art dealers and other conmen who will provide them satisfaction, and achieve the socially useful role of recirculating that excess cash in the economy.
Feel and hand can be deceiving too due to resins and coatings that might be applied to the yarns to make them softer, although they might be eventually washed away and/or give poor breathing properties. I've found reddit and even moreso styleforum to be of help when needing to evaluate the quality of a brand. Although at a certain price point you get improvements that aren't really perceivable such as mother of pealr buttons, i'd rather get a custom shirt than pay more for a ready to wear shirt with MoP buttons that fits poorly due to me being short and thin but slightly muscular in the shoulders
More than 90% of statups fail.

Why do you expect better lower failure rate for *moonshots* than for startups? That's entirely unreasonable.

It's very interesting that you're focusing on failures rather than on graduated projects. Do you really expect 100% success rate for moonshots?

It might actually be hard to estimate success rate as best ideas got absorbed into Google itself. E.g. Google Brain originated at X. Wikipedia has other examples: https://en.wikipedia.org/wiki/X_Development#Others
True. People aren't paying $2,780 for the bag. They're paying for the brand name, and they get what they paid for. Seller and buyer are both happy.

The bad PR around this may ruin the brand value though, making the bags worth less retroactively.
Yeah, I'm old enough that I remember being taught not to use singular they in elementary school, but I'm young enough that he/she was given as the preferred alternative.
> At least the legislators are elected and answer directly to voters.

With the corresponding downside of being eminently and legally bribeable. A hundred grand to your PAC goes a long way.
By the same author https://levien.com/phd/phd.html
Dijkstra on Math-Programming Synergy
>And they managed it just fine despite working with auto-incrementing big ints.

I wonder how. I've had to do several big merges in my career, and it was always a nightmare because of all the external systems which were already referencing and storing those pre-existing ints. Sure, merging the databases is easy if you don't mind regenerating all the Id's, but it's not usually that simple.
I think there’s an interesting difference between debating something logical vs. empirical. But maybe I’m just not seeing how they’re actually the same.

Debating a flat earther is usually a waste of time. They’re not seeking resolution and they’ve always got “well that’s just part of the conspiracy” to fall back on.

I’m not sure if it’s possible to say “oh well 1x4 = 4 is just part of the conspiracy.”

Though I guess there’s also the even more frustrating endeavour of arguing semantics. I’m right because I’ve redefined how these operators work. And I’ll hand wave a reason for why my redefinition is more correct.
Ah! That might have been a better title. As it is, it's clickbait.
Sometimes distribution is not for performance but tenant isolation for regulatory or general isolation purposes. I work in such an industry.
It's an exaggeration to say only high income people can afford fruits and vegetables, but it is true that affording them can be a problem for many lower income people.

Around 19 million people in the US live in "food deserts", which are low-income places with poor access to transportation and no supermarkets within a mile (for urban and suburban food deserts) or within 10 miles (for rural food deserts).

Their choices for affordable day to day food tend to be fast food places and convenience stores. When the closest you've got to a grocery store is 7-11 your fruit and vegetable options are limited.
It’s not very different on Android, and anyone big enough distorts the market. There is no real competition or choice here for the market to work. That’s why regulation is needed. To be clear I want Google and Microsoft regulated similarly on both mobile devices and regular computers.
This is really fun! Reminds me of early internet days when there was fun discovery sites like this.
I find it funny rich people buying a cheaply made Chinese product and thinking it is a status symbol and that their bag is superior.
If the UUID is used for external representation, now you need to join a row to get it.
Most big timers also come out super bad, it's just you don't hear about these cases because it is almost never so dumb(the option trade this guy did is not hard to catch at all).

IIRC only Steve Cohen managed to battle back from catching an insider case.
Idk I been to a dairy farm in central Italy, the margins aren’t that great for the farmer. He was mostly self employed working literal 10+ hour days. The supermarkets get most of the cut.

He explained getting a worker trained and then paying them wasn’t feasible.
Are you kidding? Python code bases break week-to-week because pip is full of unversioned transitive dependencies, broken distro nonsense, and who knows what else.

Major version changes are easy and rare.
> If your system is sensitive to such change, you likely should optimize something else.

This isn’t even optimization, it’s just understanding your tools and needs. It’s akin to profiling your app under load, seeing that at worst it needs 1 GiB of RAM allocated, and then giving it 8 EiB just in case.

By all means, if you can reasonably predict that a given table will near or pass 2^31 rows in the near future, just set it to BIGINT now. But as has been pointed out, most apps are never, ever going to have close to 2 billion users, or for that matter 2 billion anything. The only thing I can think of that might reasonably run up against that would be invoices for large scales, or object metadata for something like Notion.
You need to count from 0.

1 BC should be renamed year 0. Then the years 0-99 are the 0th century, the years 1900-1999 are the 19th century, etc.

To avoid confusion between new style and old style centuries, create a new word, "centan", meaning "100 years" and use cardinal instead of ordinal numbers, for conciseness. Then the years 1900-1999 are the 19-centan.
Has it been decades since they outsorced the manufacture?
> They failed so badly that Germany had to send systems they can’t spare. Again. That’s why the US is now literally requisitioning new deliveries to send them to Ukraine.

"We want more! As many as you can spare!" is not typically what you say when the system sucks. There's a reason Patriot batteries are sought after, and countries are leery of loaning theirs.

> “If you foolishly believed Ukrainian numbers,” you forgot to add.

I mean, there's a drone video of an S-400 battery getting wiped off the map upthread. It doesn't seem to be all that unusual.

> the Chinese are taking notes

They would be wise to. Taiwan is as well; I'd imagine they're investing heavily in drone jet skis, Javelins, and other things the Ukranians have used well against Soviet-style weaponry.
Is it time to cash in on your skills?
My Google pixel 4xl was working, doing some backup at 1:30am a few months ago.

At ~2am the massive ATT outtage occured that lasted several hours.

By 7am when I woke up the phone had zero sign of life, can't get it to charge or indicate anything.

Weird, I know phones break. But it broke while being untouched, during a rare long term outage. Still makes me wonder.
Tabs - it's an accessibility feature. Even with large font sizes I have trouble reading code that's indented with 2 spaces, and 8 is just unreadably wide.

This isn't word processing - everyone's IDE or environment is going to be different, from colour scheme to syntax highlighting to font size to font to line spacing to monitor DPI. Get over it and use tabs - you will not control how code looks on my screen(s).
> When UUIDs become your bottleneck.

When UUIDs become your bottleneck you'll be celebrating for picking UUIDs, because now you can move to a distributed architecture and not worry about IDs.
Yeah, definitely. I use eco leather too as well as real leather, just let's not pretend it is higher quality than real leather
GIL is a python paradigm.
If only—I think most US citizens who actually work with units of measurement on a daily basis would love to switch to the metric system. Unfortunately, everyone else wants to keep our “freedom units” (and pennies)
You were definitely a very early adopter if you had broadband in 1994. It wasn’t until the late 90s that most people started switching away from dialup.
> Normally, I'd assumed that "famous brands used sub-contractors to do the dirty work" ==> "famous brand gets off with a slapped wrist".

Typically licensees work very hard to gain the licensing to manufacture for a brand. And the licensor has requirements like regular inspections for work conditions, that the licensee typically pays for, because they don't want publicity like this to damage their brand.

Without knowing the details I could guess that Dior wouldn't have wanted whichever factory they hired to shirk their guidelines. But, Eastern and Western norms for work conditions are very much different and getting Easterners to follow Western guidelines is quite difficult no matter how much you're willing to pay. In many cases factories put on a show for the inspector. Once he/she returns to their home country, the factory returns to its regular operating conditions, which are usually just normal work conditions for their country.
You can't justify leaving migrant workers to literally die due to workplace accidents and not taking them to get medical care [0][1]

This has been an issue for decades in Italy.

While Italy might be in Europe, it's rule of law and lack of support for those at the bottom rung of society is comparable to (not much) poorer Eastern European peers like Czechia.

[0] - https://www.bbc.com/news/world-europe-49687248

[1] - https://www.meltingpot.org/2024/06/a-latina-satnam-singh-e-s...
love the underscore instead of hyphen. easy to double click for selecting text.
Yeah, Raku has some neat features like being able to build parsers directly with the language.
> And migrating all of this later on can be a right pain so it's worth getting it right up-frong

I've never had to move from uuids to integers. I've had to move from integers to uuids plenty of times though.
However we are also in a hyper connected world. One tiktok is literally enough to expose and kill a brand.
Indeed the culture you describe does not sound healthy! In theory, Engineering does not report to Product, it is a partner with an important perspective, and can negotiate prioritizing certain projects without subterfuge.

In low trust environments, all engineering-led projects that Product/"the business" don't understand are assumed to be low value. Sometimes this is unfair, but sometimes it is warranted. Poor engineering leadership will green light all sorts of counterproductive "silver bullet" projects.
This is a terrible, terrible idea. TOTP is secure for nerds but presents very very real security downsides for literally everyone else. Increased popularity of TOTP invites increased frequency of malicious TOTP apps exfiltrating user OTPs. This is pretty much THE reason why it’s quite common to see companies provide TOTP as a hidden, nerdy alternative.
Again, if HN got what it wanted as far as tech regulation, the world would be a terrible place, but HN consistently puts nerdy desires ahead of what would actually help wider society.
php isn't bad, it contains lots of useful functions.