skysight-inc/HackerNews huggingface dataset:
Take a look at the evergreen Let's Build a Compiler, by Jack Crenshaw

https://compilers.iecc.com/crenshaw/

Chapter 2 and 3, expression parsing, should give you the idea. Instead of building the AST, you build code. So you're cutting out the middle man (AST).
Hello!

I have recently been working on the platform that you can see in the video. It allows automating tasks that depend on live video inputs without having to maintain any infrastructure.
You just connect your video sources and select some filters that will extract structured data from them. Then you can process that data in a loop to perform any action you can code.
For a website named “reason.com” this article lacked it. A link to a poll and a WSJ article, and otherwise drivel lamenting the change in habits and attitudes toward play.

There is a very good case to be made against the impacts of social media and an arguably overinvolved parenting style for Gen Z, but this article is some middle aged lament rather than anything substantive.
Yes, and worse pedestrian infrastructure, very limited law enforcement, and lax driver licensing. There isn’t a single fix which is going to make our roads as safe as, say, Germany but progress in any area will help.
Yet, those 1% or 0.1% false positives, even if they kill the car's occupants, may still reduce the aggregate number of deaths. I expect government to make choices that are best for society at large, rather than for any individual.
> next to the yaml of openapi anything will look good.

Challenge accepted!

https://github.com/bufbuild/protovalidate/blob/main/examples...
the whole point of a DSL for APIs is so it can interop with different languages, frameworks and toolchains. Sure if you all your services are NestJS then you don't need this.
If csv files bring criminal liability then I am guilty.

Sidenote: this particular criminal conspiracy is open to potential new members. Please join the Committee To Keep Csv Evil: https://discord.gg/uqu4BkNP5G

Jokes aside, talking about the future is grand but the problem is that data was written in the past and we need to read it in the present. That means that you do have to detect encoding and you can't just decide that the world runs on UTF-8. Even today, mainland China does not use UTF-8 and is not, as far as I know, in the process of switching.

I understand UTF-8 is mostly fine even for east asian languages though - and bytes are cheap
This can be traced to CNN Headline News in 1991, which put "factoid" in common culture.

https://m.youtube.com/watch?v=n13g2Ae1GiU

There it was used to mean silly facts. I'm not sure "small fact" is the common use. I'd say "I had cereal for breakfast" is a "small" fact, but not a "factoid" in that sense.
This new book explores the complete change we have made in how we raise our kids in the last 30 years:

The Anxious Generation: https://www.anxiousgeneration.com

It's really been one domino after another: Overprotection, helicoptering, immersive 3D games, 24 hour cartoon channels, internet, smartphones, social media. Our kids are no longer having the social interactions we evolved to need to properly train our brains. He calls it "the great rewiring".

It's a good book - lots of data and research, good analysis and a good plan of action (starting with getting phones out of schools).
Just to be clear, the two options in this false equivalence are "no fake USPS app has ever been seen, though it is possible in theory" vs "scam websites see as much traffic as USPS itself".
Kind of agree with both. Cloud is complicated and over-priced.

Yet this video could almost be satire? It proposes to show how easy self hosting is, then goes on to use a dozen tools with complex configuration that no normal joe-blow user would understand. It almost makes the case for cloud, because by the time I was half way through video, I was already ready to just give up and say use the Cloud.

Like: "It's Easy", then proceeds to show complex solution.
Even if true, who cares, if it means fewer preventable fatalities?
As someone who's mostly worked with Java & the JVM, I've thought about switching to C# & .NET/CLR for a while.
To me C# & some of the tooling/frameworks seem really nice. What made me curious was the Avalonia framework for desktop GUI development which seems to be much better than JavaFX/Swing.

But, I'm still not entirely convinced Microsoft has changed their ways (not that Oracle is any better...), particularly because of the things mentioned here: https://isdotnetopen.com/

Last time I checked, they reversed their decision regarding the proprietary vscode extension, which is great, but the debugger situation hasn't changed & that makes me question whether it's worth switching.
Stress Is About Cheating
> 2. I've no idea how to temporarily drop privileges for a single transaction. Connecting as the correct user on each incoming HTTP request is way too slow.

`SET ROLE`[1] changes the "the current user identifier of the current SQL session"; after running it "permissions checking for SQL commands is carried out as though the named role were the one that had logged in originally".

Whilst it changes the "current user" it doesn't change the current "session user", and this is what determines which roles you can switch to.

The docs also note that:

> SQL does not allow this command during a transaction; PostgreSQL does not make this restriction because there is no reason to.

[1]: https://www.postgresql.org/docs/16/sql-set-role.html
Yeah, the only real way to fix this proactively is mandatory labeling and that requires a lot of regulatory oversight to see through.

Which isn’t necessarily bad of course, but it requires political willpower to put in place. Otherwise you’re just dealing with organizations like consumer reports trying to do their own analysis and lift the curtain, but that’s not nearly as effective as a nutrition facts style label mandated to be right on the box.
> - Then performs a "git push --force", which will force-push all of their local branches, including feature branches from other developers that they may have checked out previously

This is (part of) why, for most common operations, I use a Git GUI (SourceTree). Force pushing all branches can only be done by very explicitly selecting them all and initiating a force push; the default when pushing is to push only the currently active branch.

It's also overall much clearer and more intuitive to use than the Git CLI. I use it when I have to—there are things that I can't do through SourceTree, and a few things that are complicated enough that I just want to be 100% sure I know exactly what's happening—but for 99% of the Git operations I do, it handles them perfectly and without any worry that I've mistyped something or forgotten to specify a branch.
At a past job I spent a lot of political capital, and time and effort trying to convince directors that to actualise their emergency plan of "move to another cloud in 30 days or less" in case of regulations changing (finance industry) we should invest in k8s. It is a large-ish company (some 5-6k employees when I worked there) and completely able to invest in rolling out k8s, even more when a couple of years after my first pitch managed k8s started to be deployed by cloud providers.

I lost the battle, they hired some AWS Sales Engineer who eventually climbed into a director position and implemented a complete lock-in into AWS offerings without rolling out k8s. As far as I heard from former colleagues after 5 years out of there their AWS bill has increased substantially and there's no way out.
Stallman's odd eccentricities got a lot less adorable in light of https://drewdevault.com/2023/11/25/2023-11-26-RMS-on-sex.htm... and I think any discussion of his lifestyle should probably mention he is practically unable to pass on an opportunity to defend pedophiles.
My deployment for the hobbies project:

DOCKER_HOST=ssh://mydomain docker-compose up -d
Not so sure.

From mid-to-late 90s onwards a mobile phone was basically an essential item.

I was never tempted to buy an iPod, but combine the phone and iPod and give me internet access to boot... sold.
Debatable: 80 columns ease reading, as each line is completely within the cone of vision. It's not enforced in their style(5)[0], but the code mostly and naturally (e.g. short variable names) falls within this limit (random sample[1]).

(I don't think that Plan9's "not thinking in terms of terminals", which is more of a "a better-than-X11 GUI is the default UI" is really relevant in this context)

EDIT: I don't have a Plan9 box around, but at least on plan9port, man(1) by default wraps lines to 72 columns or so.

[0]: https://man.cat-v.org/clive/6/style

[1]: https://github.com/plan9foundation/plan9/blob/main/sys/src/c...
> Perhaps knowing the car ahead of you may brake suddenly outside of human control will break the habit of tailgating!

But tailgating is how you know a cop is unhappy with you.
Building a self-updating profile README for GitHub (2020)
>You are clearly thinking about smaller projects.

Yes, because that's the majority.

You will probably not see another major upgrade from .NET to new-shiny-thing in a decade or more, so you may as well take the extra time to do things right for .NET now, even for the largest projects.

There have been multiple LTS's to target, and once you are over the initial Framework -> .NET "hurdle", upgrading from there should be much easier.

>Larger projects can't survive a "stop the world" / "go async" project.

I don't know how it would be fatal unless the company doesn't want to give you the time for it - either because it doesn't make financial sense or they haven't been convinced. .NET is certainly one of the easier languages to refactor with confidence.

If it will never make financial sense, then I guess it'll go on to join the still-running COBOL projects, but that's an outlier.
"Do you mind sharing more about the equipment and process"

I'm sorry, but this is making me laugh so hard. I don't know a lot about astrophotography, but one thing I've experienced so far is that astrophotographers love to talk about their equipment and process.

It's like asking a grandparent, "Oh, do you have pictures of your grandkids?" It kind of makes their day. :)
I hear this somewhat often from people (less so nowadays) but before and after prompt examples are never provided. Do you have some example responses saved from the olden days, by chance? It would be quite easy to demonstrate your point if you did.
Please Don't Say Just Hello In Chat

There was a point this had become so pervasive I set my Slack status to "I am currently busy working on a prioritized issue. Please open a jira and then speak to management if the case is urgent." then moved slack to another workspace and muted sound. That was my form of time management and it worked well for me personally, most of the time. One can always check with their manager if they are cool with this.
I don't think it said that. It said that China could become dangerously effective.

It is not wise to assume that your enemy is going to remain bumblingly incompetent forever.
This hasn’t been my experience. And like anything else, turn it off if you don’t like it and don’t buy the vehicle with poorly implemented technology.
A unique, insightful and useful perspective about stress. It's not very long and well worth reading, but here is the core argument:

"
Stress is the feeling one gets when there is so much to do that it can't be done without cheating. For most people, cheating is unpleasant. In order to get the courage to cheat, we need another unpleasant feeling to whip us into it. And that feeling is called stress.

Stress is what we experience when we have too many deadlines to meet too soon. We know that something must go. But we don't know what. So the feeling of stress becomes a perpetual spur to cheat with small things. Maybe work can't be sacrificed. But cooking can. So stressed people eat sandwiches and drink Coke although they know they will feel bad from it in the long term. They avoid double-checking details they know they should be double-checking and hope to get away with it. They know they should be friendly to people around them, but they cheat with that too, because they know they will get away with it, for a while at least.
[...]
having realized that stress is essentially about cheating, I had the key to stop feeling stressed in everyday life: Only set ridiculously realistic and flexible goals for myself. Decide exactly what I want to do with the time and energy I have and do that and nothing else.

Humans in general want to do more than they are able to do. That is only natural. The opposite, wanting to do less than one is technically capable of doing is called depression. That is not a nice feeling. So the first step towards not being stressed is accepting that if ambitions are higher than ability, that is just a sign of mental health.

Step 2 is to choose consciously among those ambitions. This is hard, because it requires giving up on parts of one's identity. I want to be a person who works hard, keeps physically in shape, spends time with my children, reads books, writes about what I read, maintains a home with a certain standard of maintenance and cleanliness, has many children, wears clothes that are not visibly worn out… I want all that. And I can't achieve all that. I have to choose.

The choice can be made two ways:

1. Consciously and calmly making priorities: What is important and what is less important? What needs to be done right now and what can be saved for later? What should I simply skip?

2. Unconsciously and chaotically. Try to do everything that would be nice to do, and cheat constantly in the process.
"
> Bytecode dispatch is using less than 3% of the total CPU time, according to my measurements

> compiling all the way down to machine code might provide a performance boost 3% or less

This logic doesn't seem sound? Because the application now spends 3% on bytecode dispatch doesn't tell us anything about how long it would instead spend on e.g. interpreting SQL.
Ohhhh, is that why it was spinning going into the reentry attempt?
Really cool, do you have pictures or a blog post about this?
> rather than this persona of …

This belongs to tone policing, a subcategory of ad hominem.
Skylicht: Modern Fork of Irrlicht 3D
This is what militant descriptivists (and some prescriptivists) miss.

"Correct" and "incorrect" language is not the importsmant distinction.

What's important is whether a novelty of language increases or decreases expressive power. New words are better than corrupting old words, unles the old meaning is so low importance that it doesn't deserve to keep its place in the "Huffman" encoding of the language (which is, high frequency words/structures should be smaller).
> "in the matter .." is strictly correct.

Is it? That was my question.

Latin in means in or on, and res means thing, but that doesn't make in re valid Latin for the English phrase "in the matter [of ...]", any more than quomodo pendet would be valid Latin for the English phrase "how's it hanging?".

For the meaning expressed by "re" in office usage, I'd be more likely to use "wrt", which has the benefits of being English and making sense when read aloud.
Seems like this exists in a similar problem domain as pkl?

https://pkl-lang.org/index.html
Yeah, I started writing software a "while" ago. I've encountered a handful of users (and charsets) in my time.

With CSV exports, there's already a good bit of training you have to do WRT the column layout, file format, headers (or not), cell value formats, etc. There's far more lift involved in training users there than ensuring they select "UTF-8" when they select CSV.

And, there's really nothing technical about it, as they don't need to understand what "UTF-8" actually means any more than they need to understand what "CSV" stand for. It's a simple ask in a list of asks.

I weigh this against having every developer now believe they have to check/convert every character set, which can be unreliable and produce garbage, BTW. And, speaking of garbage, there are some encodings that you won't be able to convert in any case, so it would be technically impossible to preserve data integrity without pushing some requirement on the source up to the user.

So, it's about tradeoffs. And, again, if asking users to choose UTF-8 is the difference between customers choosing your app or a competitor's, then you probably need to be more worried about that than your charset encoding.
The feeling of stress comes from an inability to choose between obligations - greatly put
> Musk said, in his typical bluster, that he wants Tesla to be “absolutely hard core” about headcount reduction, saying that executives whose subordinates “don’t obviously pass the excellent, necessary and trustworthy test”

I'm not sure Musk passes that test.
Like many visionaries, he started sniffing his own farts.
FreeMoCap: Hardware agnostic motion capture framework
> The cost here is pretty trivial from my understanding.

The cost to implement it or the cost to make it utterly bulletproof?
I try to frame it as worker camaraderie, we can’t allow each other to race to the bottom.
Similar to how a modern car, no matter the quality, won't last as long as a wagon.
Your question doesn’t make sense if you read it directly, why are you asking which door to pick if you already know the door? It’s what you call a “trick” question, something humans are also bad at. It’s equally plausible (and arguably more useful for general purposes) for the model to assume that you mistyped and for eg. forgot to type “don’t” between I and know.
> I like C# a lot, but the complexity of getting async “right” is a turn-off to new developers learning the language.

This is not complex at all once you grasp the basics. It all trickles down from there.
V5 was always my favorite, but the v7 consistently stands up to my ham handed abuse without ruining the ball. They will leak if flown with or washed, and because of a few dramatic ruptures I have been experimenting with the uniball vision fine with excellent results.
Is there really no way on an Android to keep an app forever without taking updates? Of course maybe the OS needs to be updated which then breaks the app and necessitates updating the app, but the distinction of a forced update seems important.
Many of us paid that cost over the last couple decades. I also have spent years paying a cost for learning AWS, effectively giving rent extracting oligarchs free space in my head, and learning skills I will never use in my own endeavors.
This requires a automotive grade camera with connection to the can Bus.

This might not be expensive per se but is still a few hundred bucks.

For a small car this can easily be a few percent extra.
Solar Fuel Production Just Needs a Change in Direction
I have it in my Subaru Forrester and it's... OK? It has saved me from near collision twice, but also triggered false positives a few times. The false positives never led to actual breaking, just to the loud peeping before the breaking starts: usually triggered by a going too fast into sharp curve with a warning sign next to the curve.
It maps.

If you throw a nodejs or python package in apt, you can either include all of its js / python dependencies in the package itself or make separate apt packages for each of the projects dependencies and have the apt package depend on those packages. The difference is pretty similar to static / dynamic linking. Including the dependencies gives the package author explicit control over the versions of all your dependencies. But depending on external apt packages means you can install security updates to shared libraries system wide. (Think log4j or xz). And as I understand it, that is what Debian prefers.

In JavaScript projects it’s even become common practice to use a bundler to “compile” server side JavaScript (with all your dependencies) into a single large unreadable .js file. Doing that can reduce memory usage and dramatically improve startup time. The bundled code usually has dead code elimination. It’s more or less identical to static linking - except the resulting artifact is another JavaScript file.
There is an analyzer https://www.nuget.org/packages/Microsoft.VisualStudio.Thread... to catch some common mistakes
The unfortunate history of SWEET16 is that it was never used for its intended purpose - https://retrocomputing.stackexchange.com/a/14513/11579
Does anyone know of similar things but for Azure?

On the other hand I should probably brush up my AWS skills, been stuck in Azure land for way to long…
On their adversaries perhaps too.
Something important to note is that code like this:

var a = await AlphaAsync();
var b = await BetaAsync();
var g = await GammaAsync();

will be slower than the equivalent synchronous code. It does the same work, in the same order, and will not run any part in parallel. It can theoretically scale to more concurrent connections and in-flight requests, but I had a tough time achieving a measurable benefit even in benchmark tests.

To get things running in parallel, the tasks have to be started but not immediately awaited:

var ta = AlphaAsync();
var tb = BetaAsync();
var tg = GammaAsync();
...
var a = await ta; var b = await tb; var g = await tg;

I've only ever seen this turn up in real code maybe once or twice. People just don't do it, and the samples and documentation doesn't show this pattern either.
> If the user is already using a Google Account for the app (you need a google account to officially download apps from the Play store), they are okay with minimal use of the Google account.

I'm using an unofficial Google Play client, Aurora Store, which can use anonymous accounts instead of your own account.

Anyway, giving the user an option to backup data in Google is better than no option at all, although I'd also add a simple export to file, too.
I am very skeptical of the claim.

A driver glance down to change the station, going 110 kms, with less than 15 meters and the car in front of you full stop breaks, you are going to crash, but yet folks still continue to do it and still they believe they'd be able to stop in time even with all the experience of driving.

I don't believe most drivers today would be able to pass the present driver test successfully the first time due to formed bad habits.
Zserio: Zero serialization overhead for C++, Java, Python
Solarcity, FSD and Cybertruck helped propelled Elon to world richest billionaire. Hype is good!
yeah, these accounting table field names have not changed since around 30 years, which is not necessarily a bad thing...

for a human readable view of this you can look e.g. here
https://docsfortec.com/sap/S4/tables/ACDOCA
Why I Love Etymologies: Telephones popularized "hello," "lox" is 8k years old
A while back was musing if it was possible to come up with something resembling the instruction set for a CPU for an abstract relational-engine. Is this basically what SQLite is doing with bytecodes?
That law does not exist since 2020 as it was found not to help with drink driving accidents.

https://www.thelocal.fr/20200108/france-to-finally-scrap-law...
"The second usage given is modern and is the meaning more commonly understood in American English, possibly because of the association with moot court."

"Up for debate but not decided yet"

"Debatable, but decision doesn't matter".

It's a natural ambiguity, resolved by context, one of many, many in language. Which one is correct is a mute point.
He is not right...

And no you don't need constantly a growing economy.

Hey our model only works if we continue growing our x every year. Do you know what it means if something grows 2% per year?