skysight-inc/HackerNews huggingface dataset:
It'd be interesting to see if that would hold true if the country hadn't gone 30+ years without having an adult conversation about taxes.

Republicans learned one lesson in 1993 and learned it well: "Read my lips: no new taxes" should mean no new taxes. Since then government responsibilities have grown as private industry has shirked it in the name of profit transfer to shareholders. There's also of course been wars of convenience.

The gap has been funded with money printing and deficit spending. Now we sit here and say "but all of their money would only fund things for eight months!" and forget why there's so much interest on loans to pay in the first place.
Thanks! Macroexpanded:

John Carmack on Inlined Code - https://news.ycombinator.com/item?id=39008678 - Jan 2024 (2 comments)

John Carmack on Inlined Code (2014) - https://news.ycombinator.com/item?id=33679163 - Nov 2022 (1 comment)

John Carmack on Inlined Code (2014) - https://news.ycombinator.com/item?id=25263488 - Dec 2020 (169 comments)

John Carmack on Inlined Code (2014) - https://news.ycombinator.com/item?id=18959636 - Jan 2019 (105 comments)

John Carmack on Inlined Code (2014) - https://news.ycombinator.com/item?id=14333115 - May 2017 (2 comments)

John Carmack on Inlined Code (2014) - https://news.ycombinator.com/item?id=12120752 - July 2016 (199 comments)

John Carmack on Inlined Code - https://news.ycombinator.com/item?id=8374345 - Sept 2014 (260 comments)
Imagine this: a group of cyber masterminds pulled off a heist so slick, they swiped $243 million in crypto from a single guy, only to then splash out on Lamborghinis, turning themselves into real-life, high-speed, carjacking villains straight out of a Hollywood blockbuster. All this while probably thinking they were untouchable, until reality hit, and their joyride ended with handcuffs instead of more Instagram likes.
That is not the state of nature though. There are "primitive" societies that don't organize their village that way. Social pressures and you working alone are enough to protect your property when the total population to worry about is around 100 people.

We use taxes because nature doesn't scale to towns of 1000, much less nations of millions. But that is not the state of nature.
What is even the point of digging in deeper, did they not see everyone around them doing the i>ii workaround? You've lost, call it a failed experiment and move on.
Good overview, although a rather important aspect of the 'resilience' that's not really covered here is the way that SQL technologies navigate and sustain performance trends. Relational databases are sticky in large part because the implementations are always getting faster and more sophisticated.

SQL being a declarative language means that applications built on top of it can relatively easily take advantage of new hardware and increasing parallelization without changing any code (in addition to all manner of new software tricks, compression/optimization/joins/etc).
ELI5: Why do people love Python so much?

From an outsiders perspective: The ecosystem is a disaster, on a level even exceeding that of JavaScript IMO. The 2->3 transition was awful and lead to a rift in the python community for years (still causes issues 15 years later). Maintainers seem happy to introduce breaking changes without major version bumps. It's not that performant of a language (slower than modern Ruby, for example). Best thing it's got going for it is readability.
Even worse with food.

> Bob's "Best" Burgers

what's wrong with the burgers??
Eye and Jay are go to as well
Related:

John Carmack on Inlined Code - https://news.ycombinator.com/item?id=39008678 - Jan 2024 (2 comments)

John Carmack on Inlined Code (2014) - https://news.ycombinator.com/item?id=33679163 - Nov 2022 (1 comment)

John Carmack on Inlined Code (2014) - https://news.ycombinator.com/item?id=25263488 - Dec 2020 (169 comments)

John Carmack on Inlined Code (2014) - https://news.ycombinator.com/item?id=18959636 - Jan 2019 (105 comments)

John Carmack on Inlined Code (2014) - https://news.ycombinator.com/item?id=14333115 - May 2017 (2 comments)

John Carmack on Inlined Code (2014) - https://news.ycombinator.com/item?id=12120752 - July 2016 (199 comments)

John Carmack on Inlined Code - https://news.ycombinator.com/item?id=8374345 - Sept 2014 (260 comments)
The Value of Being Meh
I'm generally behind open source companies wanting to stop commercial freeloaders, but putting this fight in front of your users seems unhinged.

They need to take a step back. Again, I think they probably do have a trademark case, and they can set whatever rules they like for accessing their plugin repo, but this drama isn't something users appreciate.
yeah but when people talk about input lag for consoles its generally still in the 60hz sense, rare for games to be 120hz

smash brothers ultimate for example runs at 60fps and has 5-6 frames of input lag
Highly useful software is not always profitable. Limiting our species to developing technologies that are profitable rather than merely useful is a severe blow to our path of innovation.
That’s not a given, the store could easily be called "Eva’s Brille", I’d say that’s even more likely than the archaic sounding Brillenladen.
Reaction time is completely different to the input latency Carmack is worrying about in his scenario. Imagine if you thought I'm going to move my arm, and 200ms later your arm actually moved. Apply the same to a first-person shooter --- imagine you nudge your mouse slightly, and 200ms later you get some movement on screen. That is ___hugely___ noticeable.
That is absolutely and factually incorrect.

Several of the most popular plugins are maintained by WPEngine.

WPEngine donates/sponsors hundreds of thousands of dollars a year to WordPress community events. Indeed, the convention where Matt went "nuclear" was sponsored by WPE to the tune of $75,000 (and despite these all being supposedly independent entities, somehow WPE was banned from attending by the Foundation. No refund, though).

> So if you're eager to volunteer to be their free labor, be my guest.

Matt is demanding that WPE provide his for-profit company, Automattic, free labor, to be directed as Automattic see fit. Not the Foundation, not the open source project.
I am not at all confident that a government lab will be either well-funded or efficient in any sense of the words.
Thanks for the tip! Mitzu sounds interesting. Just curious—how flexible is the SQL it generates? Can I customize the queries for specific KPIs or segments, or is it more template-based?
How does a program work when its disallow "backward branches". Same thing with "subroutine calls" how do you structure a program without them?
> So no, you cannot "simply" use ToUpper() / ToLower(). They might work well enough of basic ASCII for languages like English, but they have a habit of making a mess out of everything else. You're supposed to use CultureInfo.TextInfo.ToUpperCase() and explicitly specify what locale the text is in so that it can use the right converter. Which is of course essentially impossible in general-purpose text fields.

Have you ever read the documentation? https://learn.microsoft.com/en-us/dotnet/fundamentals/runtim...
> The state of nature is no tax, and as it's unpleasant

Being able to accumulate capital, at least without having to resort to extreme violence is also about as "unnatural" as it gets..

No taxes = No government = No excess (above subsistence level) accumulation of assets
Wordpress has plugins to generate static sites. You can have your rich editing and fast loading times as well.
My taxi driver in barcelona still refused to turn on the meter until I argued with him for a few minutes, definitely not a solved problem

The most recent time I was in the EU, I used freenow everywhere for upfront fares and driver ratings - would it even exist if not for uber?
It Was Ten Years Ago Today
> the author would've been able to have it published SOMEWHERE and it wouldn't just be a gist

ad hominem and appeal to authority fallacy

> Don't know why I wasted my time clicking that link. I knew it would be what it was.

If you already had your mind made up, why did you bother clicking and reading the link?
This has historically been the philosophy of English linguists, but for many languages (Spanish, French, German…) there is a central institution that does indeed decide what is officially correct. Their decisions are taken seriously and are intentionally propagated anywhere where language is used in a somewhat official context (not just in public institutions).

True they adapt the standard over time following common usage, but the standard is the primary source of truth and many things are decided unilaterally regardless of common usage.
Is that really a majority? I have big trouble believing so. The majority still doesn't know what is bitcoin (except "that money thing").
> He is always asked about his lawyers, and he repeatedly claims that they're cool with his behavior.

Even there he's inconsistent. He spent a day or so talking about how his lawyer said "If you're in the right, talk all you like!", then a few days after that made an announcement about how he'd retained a lawyer just that day.
> 2008

This is completely irrelevant because culture-sensitive case conversion relies on ICU/NLS.
For those of you from a Python background - this is basically "Pydantic for Typescript". See also trpc - cross client/server typing using zod under the hood - https://trpc.io/
> You know very well what sex your boss is, but "they" is used for virtue signaling.

I doubt it's virtue signaling. I'll use they to refer to the position not the person. Sometimes it's deliberate obscuration. Other times it's a form of laziness. I don't have to think about which pronoun to use if I just use the generic one.

In my case, once I got used to seeing people as people first instead of their gender, it's been easy to slip up on the pronoun.
Matlock, is that you?
You don’t elect a lot of the people with power, either.

My point is we worry a lot about outliers in a wealth distribution but not the outliers in a power distribution (some people, of course, being outliers in both!)

And that seems misguided to me for the reason I mentioned: The unfortunate exercise of political power at least anecdotally seems to be more of a risk to the average person’s health and happiness than the misuse of dollars.
It’s less about wanting to see all the caches, and more about excluding all the caches, e.g. from backups. Likewise, there is one directory for machine-independent configuration which you might share, and another for machine-specific state (such as window positions).

Is the spec perfect? No, of course not. But is it thoughtful, and does it address genuine needs? Yes, certainly.
Same here. I was keen to see the functionality first. Encountering a sign-up form as the first step is an instant closing of the tab for me.
Me too please :^)
Sure they do. They don't know about WP or static site, but they do know about "how long does the page take to load" and does the page work properly. It's certainly possible to build a WP set up that is super fast (and basically a SSG), but the vast, vast majority of them will not be done like that. They'll be loaded with a bunch of marketing plugins that kill performance and routinely throw errors that manifest to the user as some broken button or form that won't submit properly.

It's possible, but much harder, to build a static site that performs as poorly.
What bugs me most about Kagi at the moment is that their iOS plugin behaves weirdly. Frequently it will completely swallow my search and I'll have to retype it. Eventually I just disabled it :(

Arguably this is not their fault - I really wish iOS/MacOS Safari let you set a custom search engine instead of picking from a fixed list.
Wonder what it looks like for China today
Free Software Foundation to serve on "artificial intelligence" safety consortium
I've gotten refunds from uber when the driver got comically lost and i reported, try that with a medallion taxi

lyft even shows a notification on the passenger's phone now when the driver deviates from the planned route
Possibly relevant -- Nim has a compile-time warning for bare exceptions, initially enabled by default [1]. I think Nim-core changed their mind about this being a good idea a few months later: https://github.com/nim-lang/Nim/pull/21728 (though the message still says "The bare except clause is deprecated" if you do compile with --warning:BareExcept:on - I think the urge to actually deprecate has gone away).

I think for Python, rather than breaking bajillions of unpublished lines of code they should start with a more tentative & minimally invasive environment var/CLI switch opt-out warning that says something like "may be deprecated" where even the Python ./configure script lets you opt out at Python interpreter-compile-time. Measure the scope of the porting problem for a few years before trying to decide on The Plan for something that might be too disruptive.

[1] https://github.com/nim-lang/Nim/commit/91ce8c385d4ccbaab8048...
> It's an invasive agreement designed to give his commercial entity a competitive advantage.

Given how much they sunk into the boat anchor that is Tumblr, and how well Tumblr is doing right now, I'm not surprised they need any competitive advantage they can get.
>the new rule allows it only in very specific circumstances. I'm of the opinion that nobody should have to consult a complicated rulebook in order to write well

Exactly. If you ask me it kind of makes sense to have it for possesive (not plural) use anyway. It clarifies that the s is not part of the name but serves a different function.
The absurdly long waiting times
> Now I'm pretty sure we will see the first trillionaire in the next decade

Not if we do the right thing and switch to labeling our large numbers using the "long" system. Then they'll merely be back to being "billionaires" (instead of milliardaires) despite having the net worth you were discussing.
There is a longer version of this thought-provoking post, also including Carmack's thoughts in 02012, at https://cbarrete.com/carmack.html. But maybe that version has not also had threads about it.
I always found it pretty awkward that you even need libraries like this. A limitation of TS I suppose.
I wonder about a Typescript with alternate design decisions.
The type system is cool and you can do a lot of compile time metaprogramming.
However, when there's a type error in computed types, it's a nightmare to visually parse

type { foo: ... , bar: ..., ... } can't be assigned to type { foo: ..., bar: ... }. type { foo: ... bar: ..., ... } is missing the following properties from { foo: ..., bar: ..., ... }

Apart from repeating roughly the same type 4 times (which is a UX issue that's fixable), debugging computed types requires having a typescript interpreter in your head.

I wonder if we had nominal runtime checked types, it could work better than the current design in terms of DX.
Basically, the : Type would always be a runtime checked assertion. Zod certainly fills that gap, but it would be nicer to have it baked in.

The type system would not be as powerful, but when I'm writing Kotlin, I really don't miss the advanced features of Typescript at all. I just define a data class structure and add @Serializable to generate conversions from/to JSON.
Alaska utilities pursue renewables as costs escalate for fossil fuel electricity
In 2007, the lack of Flash support alone would disqualify it from being "first class" IMO.
This has to be some kind of joke. If it had gone the other way and python had originally required people to write "except BaseException", a PEP to allow a bare except would be an obvious improvement to the language, since it would allow people to do the same thing and save pointless typing. This proposal is suggesting we break virtually all existing Python code to make the language objectively worse.
I'm guessing this is a sort of "modest proposal" type parody.
Hearing "codes" generally means you've found yourself around Fortran. Simple as.
In tree leaves, it could be leaves from a single tree or multiple trees. Hence, you can't pluralize tree into trees leaves, tree isn't allowed to recieve a plural there. If you write it as tree's leaves, then tree is singular, and the form is possessive (whereas before it served to disambiguate from, say, leaves of a book). Then you can also pluralize tree to trees' leaves, and now it's leaves from multiple trees.
An interesting thought, but I think it falls apart a bit when it meets reality.

Most people want to retire eventually, and can't really predict what the cost of living is going to be or for how long they'll be paying it. So it makes sense to want to accumulate more wealth than your known spending needs demand.

Also, the alternative the author suggests is to spend only as much time as you need to spend in order to earn exactly what you need. This is also not particularly realistic, as many forms of labor don't allow you to precisely invest only as much time as you feel like, or stop/start working immediately based on whether or not you currently need more money.
So Fair use means "open source but only if you don't compete with me because I want to retain exclusive benefits for 2 years". I don't see how the goal couldn't be achieved by using AGPL and then going to another, less viral license after the 2 years. This has the advantage that at no point is the software not Free/Libre
My primary interest is how Alphabet will attempt to implement this. In particular, if they break up Search and Ads, or really any major product in google3/borg, Alphabet will have a massive pile of work splitting those up in a way that allows the resulting groups to achieve the same level of horizontal and vertical integration that they currently enjoy.

Personally I am skeptical that they have enough technically capable and charismatic leaders to pull this off.
Thank you. I feel like I understand the structure better now
Not meaning to apologize for Python here, but you have significantly more ability to segregate “editions” when you statically compile code.

All the more reason to take a breakage very seriously. This is even worse than the walrus operator. At least I can ignore that. This breaks working code for some notion of purity.
I don't know why this is seen with such aversion. This is the language forcing sane coding practices, since you always include what should be cached. Also, the syntactic sugar for except BaseException is to not catch it in your `try ... except` clause. If you do, for example:

>>> try:
... raise TypeError
... except ValueError:
... print("keke")
... raise
...

TypeError will bubble up. If you want to catch everything, and handle it, like the example from Mailman[0], you should catch the base exception anyways.

This can be solved and detected by static analysis tools anyways.

[0]: https://gitlab.com/mailman/mailman/-/blob/master/src/mailman...
Which means pointing it out has a higher potential for bearing fruit. If we convince just one web dev to start thinking/caring about it, that's a win.
Yeah exactly, that's why refusing to simply spec the bytecode at the time was exactly the sabotage that everyone called it out as.
Yea, but OSM has variable quality by country, and isn’t really a “navigable” map in most places.

You can’t get turn-by-turn directions because they don’t (consistently) have things like lane permeability, turn restrictions, directionality, etc. You can’t get accurate ETAs because they don’t have speed limits or free flow speeds. And traffic data of course. Unless things have changed, routing class and surface type are also unreliable, so a shortest-path graph algo will take you down neighborhood streets or unmaintained roads.

There is a ton of under-the-hood map data, invisible to the end user, that you need to have to be able to deliver a modern phone navigation experience.
That situation is unfortunately all too familiar and it speaks to deeply ingrained gender biases that exist not only in some Indian cultural contexts but also in many other parts of the world
> Most of the video you encode on a computer is actually all in software/CPU because the quality and efficiency is better.

It depends on what you care about more, you don't always need the best possible encoding, even when you're not trying to record/stream something real time.

For comparison's sake, I played around with some software/hardware encoding options through Handbrake with a Ryzen 5 4500 and Intel Arc A580. I took a 2 GB MKV file of about 30 minutes of footage I have laying around and re-encoded it with a bunch of different codecs:

codec method time speed file size of original
H264 GPU 04:47 200 fps 1583 MB 77 %
H264 CPU 13:43 80 fps 1237 MB 60 %
H265 GPU 05:20 206 fps 1280 MB 62 %
H265 CPU ~30:00 ~35 fps would take too long
AV1 GPU 05:35 198 fps 1541 MB 75 %
AV1 CPU ~45:00 ~24 fps would take too long

So for the average person who wants a reasonably fast encode and has an inexpensive build, many codecs will be too slow on the CPU. In some cases, close to an order of magnitude, whereas if you do encode on the GPU, you'll get much better speeds, while the file sizes are still decent and the quality of something like H265 or AV1 will in most cases seem perceivably better than H264 with similar bitrates, regardless of whether the encode is done on the CPU or GPU.

So, if I had a few hundred of GB of movies/anime locally that I wanted to re-encode to make it take up less space for long term storage, I'd probably go with hardware H265 or AV1 and that'd be perfectly good for my needs (I actually did, it went well).

Of course, that's a dedicated GPU and Intel Arc is pretty niche in of itself, but I have to say that their AV1 encoder for recording/streaming is also really pleasant and therefore I definitely think that benchmarking this stuff is pretty interesting and useful!

For professional work, the concerns are probably quite different.
One painful one that is still reverberating a bit in some areas is the renaming of "SafeConfigParser" to just "ConfigParser" in the standard library (in 3.12). This caused a whole lot of breaking in some areas because versioneer (a package for determining a package version from git tags) used it (in code that was placed inside your package, and so couldn't be solved by just upgrading versioneer).

Also, I'm starting to get warning about something in tarfile that I will need to track down: https://peps.python.org/pep-0706/
Hey, thanks so much for the feedback. A lot of valid points there, a few of which we’ve voiced internally too. Definitely room for improvement when it comes to the landing page, target market and providing clarity on the product straight away and so on.
Deno 2 with full Node compatibility is huge, presupposed it works reliably without runtime surprises. I wouldn't mind if I get a warning when a Node package is not supported, but runtime must be rock solid, especially with server packages like node-postgres (pg).

Apart from this little doubt, I love it:

The APIs and std lib are so extensive that we don't need huge amounts of third party packages. Typescript support is great. Deno actually can check Typescript (not just run it by stripping it as Node or Bun). Compiling (bundling) is another great feature.
Really? For example under "Main concepts" on the "Schemas" site[0], I see stuff like this:

- I support the creation of schemas for any primitive data type.

- Among complex values I support objects, records, arrays, tuples as well as various other classes.

- For objects I provide various methods like pick, omit, partial and required.

- Beyond primitive and complex values, I also provide schema functions for more special cases.

Same for "Mental model", "Pipeline", "Parse data", "Infer types", "Methods" and "Issues" - I'll assume the other sections also follow this style. That's all not showing up for you?

While the LLM suggestion is nice, it's not something I'm comfortable with unless hallucinations are incredibly rare. Why would I use a library whose documentation I have to pass through an unreliable preprocessor to follow a normal style?

[0]: https://valibot.dev/guides/schemas/