skysight-inc/HackerNews huggingface dataset:
Ruff is not a replacement for black[^1]. It's also currently complementary to pylint, not a replacement[^2]. I still use those tools with ruff.

Further, out of the box, ruff doesn't even replace isort. You have to specifically enable it to sort imports (`I`)[^3].

I personally think that ruff's defaults are much too conservative. I configure it with `ALL` and then ignore the rules I don't want. I _want_ upgrades of ruff which add new rules to find new things. I'll never know about the new rules if I have to follow its development. I fully expect `pre-commit autoupdate` to cause me some pain after I run it, and that's okay. Linters adding new rules are usually helping me make my code cleaner.

[^1]: https://docs.astral.sh/ruff/faq/#is-ruff-compatible-with-bla...

[^2]: https://docs.astral.sh/ruff/faq/#how-does-ruff-compare-to-py...

[^3]: https://docs.astral.sh/ruff/rules/#isort-i
I don't like going too fast, you usually make more mistakes and expend more energy when you try to go faster than you're able to.

But one way I know I became faster is by coding more and diversify what I've done. This way, your brain learns patterns and habits. It's faster to adapt a solution you already know than coming up with a entirely new one. It's also faster to use tools you're accustomed too, so the more you use them, the faster you'll be while using them.

Like always, the more you code, the better you are at coding.

So, by referencing existing solutions.

That and avoiding loafing. I'm literally doing it right now by responding to this post.
By fan I meant house fan. I was always told the vent hood was for heat. I've never seen it be useful for smoke.
Swiss people have been able to vote via mail-in vote since forever and there were never any instances of large-scale fraud that I know of.

It's true that in-person voting is safer. If you mail in your ballot, nobody can verify that you were truly alone and weren't coerced into giving your vote. And of course, it's not rare for e.g. a child to fill out the ballot for its senior parent etc. But it's still hard to commit large-scale fraud, as you'd need to be in control of the mail delivery.
Rent control (and to a lesser degree below market rate units) itself seems to be a huge problem that's impossible to unwind, since all it does is arbitrarily grant exemptions to the rising cost of housing while exacerbating the overall problem. There are plenty of affluent people who have a have a rent controlled pied a terre in SF that they've had for 20 years while spending most of their time in their house in Sonoma.
Yes? I'm not downplaying that fact at all. It's that the city wasn't stupid and realized that this was what people actually wanted. The other trendy areas didn't invest in parking at all or privatized it and it created a lot of friction to get people to come out and spend money. No auto manufacturer bribery necessary.

There are lots of walkable areas that have the same feel, and this new development are their lunch and tax revenue.
This statement would be technically legal on its own in x86 real mode if the compiler didn't do null pointer checks. However it would set the divide-by-zero IRQ handler to itself 0000:0000, and when the next division by zero happened, the machine run into UB (likely a reset or halt) because it would jump there, do 4x ADD byte ptr [BX + SI], AL (or ADD byte ptr [EAX], AL) followed by running the remaining interrupt vectors as instructions.
One of my favorite things to do in museums is to use Google Translate on artifacts. I find it so exciting to point my phone at a 500 year old vase and read what it says. Here are a couple examples from a trip I tool to the British Museum, it handled the Arabic and Chinese pretty well but the Rosetta Stone's Greek stumped it.

[1] Arabic: https://photos.app.goo.gl/jQw3QCdC5PrWQGkr9
[2] Chinese: https://photos.app.goo.gl/dXhsH7Xq6zpFS6Eq8
[3] Greek: https://photos.app.goo.gl/DBGWCDd8EhzuB2y67
> the only (unfortunately) novel thing here is doing this without the express consent and cooperation of the game's developer.

Nvidia did it "properly" and worked with valve to develop it in-engine. I could definitely be wrong but I think many of the game-specific optimizations have to to with how they handle the draw-calls, not modifying the actual games themselves.
Classic synchronicity at work
Speed is not a paper thing, it can have results within hours in large countries.

Voting with paper also doesn't have to take all day - a few minutes at a polling station or even less by mail ballot (fraud isn't an issue of paper here).

Also, voting is more than a right, it is exercising authority and that might perhaps need at least some minimum of hurdle in it to get focus.

In terms of broader and more fluid democracy - perhaps, but need to be careful to maintain focus and not end up in something gamified.
Exponential growth tends to work at the beginning of "something". Since the world is finite, at some point new somethings need to be created or discovered for an exponential growth, quite possibly eating the last thing that was exponentially growing at one point. So part of the trick is to be in on the exponential growth phase and sell off / reduce exposure to the thing when that tapers off.
Gnome Foundation Welcomes Holly Million as Executive Director
After playing 10,000 games of Backgammon on my phone, I disagree.
Even Go has randomness, no? After all, you need to decide who goes first, usually at random
0 is the only pointer value that's guaranteed to be aligned on all possible alignment boundaries, which is why it's so useful as a pointer in C.
(AIUI,) You can't 1031 exchange an owner-occupied property into a rental property. (1031 is a "like kind" exchange treatment and you can't take personal-use property and directly 1031 into business-use property.)
I know Sci fi kind of "solves this" with "hard sci-fi" trying to limit the ideas like time travel and FTL but push our current science the furthest it can go.

(Three body problem, Blindsight, many others)

Maybe there exist some subgenre of military sci fi too?
This feel like Utopian thinking. I believe that there are better and worse ways of living and thus better and worse laws. Most ways of living and laws come with trade-offs, others appear to be materially better or worse all around. In other words, there *is* a type of ground truth we can move towards and not everything is relative.

However, we are humans and thinking that "we have arrived" and "I know Utopia" is full of pride and not humble.

Rule of Law is a *process*, that is, it should (ideally) be procedurally symmetrical to all people it applies to based on each person's applicable merit or demerit. So long as you live in a republic, you should try to follow the Rule of Law. No, you are not obligated to throw rocks at police, even when they are tools. You fight tyrants where it matters to them, in the courts, voting box, and make the rule of law apply to them. Tyrants won't care if you injure an officer, in fact, they will use that against you (see rules for radicals, they want your reaction). You find the real battle and fight there.
SFBA >> SF, so a few shitty aspects of SF won't deter the action elsewhere.

I know plenty of startups in Palo Alto, San Mateo, Mountain View, Sunnyvale, San Jose and Santa Clara. Even in Oakland. I'd say center of gravity for SFBA is again shifting back to SV.
Ishkur's Guide V1 is classic internet lore.

I'm looking forward to AI models that can describe, classify, and recommend music. Obviously there's Shazam and things like Cyanite (https://cyanite.ai/) but hopefully there will be some good open source models too shortly.

You could imagine Ishkur's Guide V3 is constructed automatically by AI models, and places every track somewhere on the map, listing all the genres and influences, etc.
Plenty of people I know handwrite faster than they can type! And have they tested those using shorthand?

What I could believe is that our brains might be better at remembering the sorts of movements our hands make while handwriting (essentially using your wrist and elbow) vs those made while typing (fingers only), perhaps because the former are closer to the act of manipulating the physical environment in ways that might needed for survival (gathering food etc.) and because you're physically tracing out a desired path in 2d space, though it seems tenuous at best.
Great rec. Also Solar Fields - Earthshine is a tremendous album as well. I really like my beats and grimy basslines when I'm in the mood for that.
I don't like most electronic music, but I really enjoy Caribou's music.

https://caribouband.bandcamp.com/

As an entry point, start with the song Melody Day:

https://caribouband.bandcamp.com/album/andorra
My handwriting is admired by most who see it. I put a lot of time and energy into learning to write more beautifully as a kid, and I was very much into creative writing, and conlanging. Over a few decades, this has now resulted in some rather painful repetitive stress issues in my right hand and wrist. I am not sure that I’d change my life at all, but I do think that children should be taught posture and instrument handling techniques to avoid damage to themselves.
I wonder if this avoids the fate of Google "Glasshole".

On one hand, the camera is more subtle and the glasses look like normal glasses, on the other hand, the camera is better quality so it's even worse for other people's privacy.

I'm also conflicted. It's a spying device, spying on me and everyone else around me, at the same time, they look great, they aren't crazy expensive, and it could have some good usecases, both for private use or professional.
This makes me a bit unhappy.

Recently, I have been leaning more on physical media as the price of streaming has gotten higher. I have a few comfort movies and shows, and I was able to trade HBO max for a few disks.

Like how records had a resurgence, I suspect that DVD/blu-ray will also have a resurgence. Especially if gamers still demand disk drives.
Initial D also has pretty good description of car dynamics, (although stylisticslly the speeds are greatly exaggerated and drifts are portrayed as taking way longer than in reality)

For example, initially, the protagonists car was setup to be more twitchy, since his father wanted him to get good at control. Once he started racing, his father set his car up for more understeer. This is exactly what you do for RWD cars - more understeer allows you to get on the throttle harder out of corners without spinning the car out.
It was the eve of the new year, the evening that started at the end of 1999-12-31 and ended in time for brunch on 2000-01-01. I was partying with the fun people after arguing the numbers for a few days in 1998 or 1999.
Was it the same event as this? https://arstechnica.com/information-technology/2021/04/penta...
Hopefully she will be able to use her shamanic wisdom to lead gnome forward...
One is making a second order statement and another is making a first order statement. Yes we are merely slowing emissions, but yes a decelerating car is much safer when heading towards cliffs.
How exactly did the world-leading research institute in coronaviruses, the one from Wuhan, help in the pandemic?
Voting is a massively parallel process. Officials can count ballots, fill acts and seal the urns in the same day. In fact, elections in other countries, like Mexico, usually have at least 95% of votes certified by the next day, even if the last few percent drags their feet for some reason.

There's no sensible reason to wait weeks for voting results, just put more people to the task, for the sake of transparency and promptness.
> Polling shows that there's only a slight preference for single family homes.

So, 51% vs 49% ? That's still half of the people wanting houses.

I agree that regulations are to blame, and most of the voters vote against housing, because people in the us who vote are mostly the boomers, who are mostly homeowners, hence increasing the value on their home.
The problem is that if you rebase branch1 based on feedback, your branch2 now has a dangling source commit. So you need rebase-fu to fix, and it’s per-stacked-branch. Even with rerere the merges can be annoying.

The tooling in Phab (and Graphite) makes stacks much easier to work with by auto-rebasing the whole stack as you push new changes to base commits.
Yes, this is legit. It is just a new account. I am a bit befuddled, what do you think a scammer could achieve by faking a post like this one? Besides wasting his time and other people's. Just curious.

Anyway, shoot me an email if you are interested. It is kind of hard to put these things together and the fact that I've seen some interest from the community makes me very optimistic. Come join us!
Labor issues, and the lightening is dead on arrival, just like cybertruck. The regular F-150 line already includes hybrid.
You're asserting this, but actual large strikes are quite rare. For instance the recent automakes strike only involved a few hundred actual strikers.

Meanwhile you read about "All transit workers in <EU Country>" going on strike and causing widespread chaos (because no one else can get to work either) every 6 months or so. Usually, but not always, France.

https://en.wikipedia.org/wiki/2023_Romanian_teachers%27_stri...
https://en.wikipedia.org/wiki/2023_German_public_transport_s...
https://en.wikipedia.org/wiki/2023_French_pension_reform_unr...
https://en.wikipedia.org/wiki/2021_French_labor_protests
https://en.wikipedia.org/wiki/2019%E2%80%932020_French_pensi...
I was curious about this myself. I extracted the json for the "uncompressed" image:

https://gist.github.com/jmfd/8dbb96fcd8a1ba1e8ad6e9167bd70ce...

And then tried these commands against it:

gzip: 39.56kb (93.7%)
zstd: 35.86kb (94.3%)
gzip -9: 35.51kb (94.4%)
bzip2: 24.35kb (96.1%)
zstd -19: 24.01kb (96.2%)
brotli: 21.42kb (96.6%)

(I'm not up-to-date on default web server configs, but I imagine most would automatically transmit with gzip over the wire for json?)
Sounds nice. OTOH, given that SpaceX went from being founded to successfully launching a satellite* into orbit in 6 1/2 years...vs. Blue Origin was founded ~1 1/2 years before SpaceX, and has yet to even attempt any sort of orbital launch - yeah. I'll file this one under "Vaporware in Space".

*A dummy payload, admittedly
>Yes, generally being successful at executing on things is a good indicator of intelligence, while failing to ever even attempt things is a mark of at least timidity.

Being timid doesn't mean that you lack intelligence. But you're also missing the overall point that OP is making - just because you might be "successful at executing on things" doesn't mean that you are, as OP said, "smart in a broad way". No, it only means that you can finish a task.

They're clearly (and they can step in and tell me I'm reading them wrong) referring to the fact that just because, say, Joe Schmo founded the world's first ride-sharing company and made billions in the process, a cult of personality develops and suddenly everyone thinks that Mr. Schmo is going to have a valid opinion on the housing crisis, or how to prevent war between Israel and Palestine, or how to reduce drug use, etc.
I think randomness is mostly used to hide the flaws in an imperfect game. In a sufficiently complex game, the natural cause-effects from play should result in new and interesting game states. The opponents inputs + the game rules should create something inherently exciting and intriguing. A poor set of rules can be made interesting by adding dice rolls. Creating an interesting game without randomness is much harder.
Twitter API (2006)
Append "Instrumental" to your search results and look for non Spotify playlists (i.e. community tended). I feel like every time I pick a "recommended" playlist that swears it is non-vocal, I wind up hearing some horrific voice samples ~30 minutes later.

My go-to deep work music when I don't have time to think is "techno bunker" with random playback. Some genres do not lend themselves to vocals very well and I hide inside of these as appropriate.

My other strategy with vocals is to listen to music in other languages, preferably stuff like German or Korean (you might even catch me listening to kpop while coding). Most romantic languages I can decipher enough to get distracted.
Not quite. (char *) 0 is the null pointer. The null pointer is not necessarily a binary all-zero. On some compilers in x86, the null pointer intentionally points to something which will cause a crash when written to.
The fun thing is that ... they're all right! Even the Texans!
> Which is to say that their anticheat system is defective because the method it uses has false positives -- as exemplified by this case, which is not an attempt to cheat.

This is not a false positive. What AMD did is identical to what cheats do. You cannot modify the game logic without disabling the anticheat period.

Depending on how AMD did it, VAC may not have any idea _what_ modified the game, just that it was modified in an unintended way.

It's not the anti-cheat's job to decide "oh they hijacked the game engine but they're good guys so its okay".

I cannot stress enough that what they did is IDENTICAL to how cheats work, they just happened to be one of the few with innocent intentions which is irrelevant - nobody may tresspass the game logic.

Generally you cannot do this at all - AMD likely won't be whitelisted - valve will add support in-engine instead.
That's a really good point but thinking about it that way brings the decision to use Java at all into question. Clearly iOS/iPhones did great with ObjC in the same era.
When I went to college in the mid 90's, the entire campus was on a /16, flat network, every machine had a 255.255.0.0 netmask. There was no subnetting, everything was switched (they said "bridged" at the time.)

With today's switches, you could do much crazier things. Definitely not an /8 though.
I was just thinking of language deprivation experiments [1], and I realized that Nicaraguan Sign Language is like a real-world experiment of that kind.

[1] https://en.wikipedia.org/wiki/Language_deprivation_experimen...
Serious question - why dont you just not let your daughter use these apps ? My kids not old enough to want to use them yet, but knowing what i know, she wont have access until she is 18, by then, you have no control anyways
US has been increasing its central bank interventions, while China has been reducing them. They'll reach an equilibrium soon.
Then on the other hand, Scala was developed in Switzerland, and Pascal before that. :)
And here I thought goatse was just for trolling and arp- and IP-spoofing http:// on unprotected Wi-Fi.

PS: NSFW in case the casual observer never encountered the horror that was goatse.cx:

NSFW https://web.archive.org/web/20010518002205/http://www.goatse... NSFW
Would you see comments weighted by votes?

Is this some kind of emotional response you're having to seeing votes? I don't understand how it would improve the experience.
I just don't think there's anything in particular that we could we doing that we aren't doing already. It's not like the whole capitalist enterprise is not working towards maximizing efficiency across the board. This might eventually, at some people in the future, bring us genuine abundancy. The point is, we're working on it already.
There's plenty of cautionary tales about mindless techno-optimism, but the role of 70s environmentalism is blocking nuclear power and making climate change orders of magnitude worse is a great cautionary tale on the dangers of pessimism and obstructionism.

A big part of the problem with 70s environmentalism is that a lot of it's rooted in the fantasy of returning to some pre-industrial mode of existence. That's never going to happen barring an extinction level event that would do as much harm to the rest of the biosphere as it would to us. We need to be looking at how to make our technological civilization less damaging to our biosphere and more sustainable long term, not wasting time with fantasies.
Do you manage the Wordpress blog installation yourself?

As part 2 will detail, the whole purpose of switching to Wordpress was to reduce the work load of building/maintaining the site. I fully agree, Wordpress is swimming in tutorials, docs, and sometimes guides disguised as advertisements for a paid theme.

Re. changing fonts - My actual first thought was 'Surely I just need to find the settings in WP that let's me change the theme's font', and my experience was that Wordpress did not 'natively' support this.
Different people have different concerns. I don't own a motorcycle because I demand higher safety standards. I sometimes consider giving up my bicycle because those are equally dangerous on roads (I have separated bike paths to where I want to go, but when those cross a road I'm never even looked for - bikes are normally much worse), but my doctor ensures me that the health benefits make up some of the danger.

Cars are dangerous too, but lacking transit options it is the safest choice I have.
Sure, that’s the prosecutor’s argument. I think it’s a loser.

I think goatse (I arrived on the internet in 1992 or so, so yes, I’m familiar with bothe the giver and the receiver) is somewhat conservative, actually, given the full realm of possibilities. I would be prepared to argue that to a jury in the right jurisdiction. I could convince twelve people who don’t care in New Jersey but probably not Mississippi.

I’d be very surprised if any prosecutor thought they’d have a substantial likelihood of a conviction. There is a very high probability that this immature outburst would not be prosecuted or that it would plead to something like disturbing the peace if anything at all.

Goatse is the internet’s way of saying “you don’t really want to look at this.” Hell, your parenthetical says as much.
The up/down arrows are too small to hit easily on a tiny phone anyway. There could be a button for "this post made me feel a certain way", and then it would pop up a pie menu to select an options for how it made you feel or your reaction to it, which would work, even on a tiny phone screen.
No comment on how instead of retaliating against the thieving website, he's retaliating against the –probably unknowing– users that just happened on those websites through Google?

(Some among whom are probably children)
I have never seen this strategy described. Is there any literature on it? Cause it does seem to be that this would be as good as the other algorithms for generating UUIDs, but faster and with the benefit of compression. It would make resulting UUIDs easier to guess, but that has never been a design goal of UUIDs anyway.
can't imagine people doing B or G style

the rest are plausible / i have seen in the wild
Seg fault!
Quoting Charlie Munger:

> Show me the incentive and I will show you the outcome.

Unfortunately for the original spirit of the internet that they've cashed in on over and over in the previous 25 years, I can't imagine a more Marc Andreessen/Andreessen Horowitz post, today, than this one here.
It's B99 not 30 Rock
>> can’t bring myself to check out that new season!

You aren't alone. I got maybe ten minutes in. It is the now Kelsey Grammer show. He is surrounded by actors that do not challenge him at any level. In Frasier, it was a groups of actors/characters, each of which could carry an episode on their own. Frasier also did edgy stuff, for the time. This new thing is just another rehash of "old guy revisits past acquaintances", akin to Picard but without the trek ornamentation and excitement.
my reading is that graphs in that post are just fantasized by author to demonstrate his idea and not backed by any benchmarks or measurements, at least I don't see any links on code in article and no mentions what logic he actually tried to run, how many threads/connections he spawned.

> The problem has only gotten worse since then, computers have not become more single threaded.

Computers are now can handle 10k blocking connections with ease.
Apple Vision Pro Developer Labs Expand to New York City and Sydney
JSON compresses well in general. Can you do the same with a binary version?