skysight-inc/HackerNews huggingface dataset:
Show HN: SchemQl light TS library for SQL with type safety and schema validation
SchemQl is a lightweight TypeScript library that enhances your SQL workflow by combining raw SQL with targeted type safety and schema validation. It simplifies SQL usage in TypeScript by offering two main features:

- Robust Query Validation: Ensures the integrity of your query parameters and results through powerful schema validation, reducing runtime errors and data inconsistencies.
- Selective SQL Typing: Leverages TypeScript to provide real-time autocomplete and validation for specific parts of your SQL queries, targeting literal string parameters for tables, columns, parameters, and selections.

SchemQl is designed to complement your existing SQL practices, not replace them. It allows you to write raw SQL while benefiting from enhanced safety for specific query elements. Key characteristics include:

- Database Agnostic: Works with any database management system (DBMS) that has a compatible JavaScript/TypeScript client library, allowing you to fully leverage your database-specific features.
- SQL-First approach: Provides the freedom to write complex SQL queries while offering targeted type safety for literal string parameters.
- Lightweight: Focused on core features and intends to remain so.
- Targeted Type Safety: Offers TypeScript support for enhanced developer experience with literal string parameters, balancing flexibility and safety.

SchemQl is ideal for developers who appreciate the power of raw SQL but want added security and convenience through schema validation and targeted TypeScript integration for specific query elements.

Zod inside. An alternative to Kysely, Drizzle & co.

WDYT?
You didn't read the story but conclude it's a lie? The Economist is a respected publication, the type that cites factual stats rather than spin BS like many mainstream news outlets.
I've been surprised by the lack of polish in Golang for Arm, given all major clouds have server class, high performance, Arm processors, and Google even has their own. There's stuff on their backlog that is still unaddressed around the code generation, and if you compare the output in Godbolt, you can see the inefficiencies.
Why Surgeons Are Wearing the Apple Vision Pro in Operating Rooms
They say "AI". https://appfigures.com/support/kb/682/how-appfigures-estimat...
Ecosystems discovered in seafloor beneath hydrothermal vents
Maaaybe color highlight can annoy some purist, but multiline edit and cursor movement are the bare minimum. Either add these features or get rid of the battery included Repl in favour of third parties.
The networks also have YouTube channels, and when something happens are they're in direct competition with non-network channels they get ratio-ed by an order of magnitude. Most recently that happened with Milton.

I find it impossible to listen to patronizing presenters on network television an longer. That's before we even get to the group-think they peddle whenever the matter is controversial.
On their website, in a path namespace which includes "marketing", it is most certainly an advertisement for their services.
No grid is sized for the 100 year catastrophe. Then we need to make the same calculation for when half the French nuclear fleet was offline.

Consider an even worse issue and expect 80% to be offline for the 100 year catastrophe.

https://www.nytimes.com/2022/11/15/business/nuclear-power-fr...

In reality we work with statistics. In for example Sweden the “reliability guarantee” is at most one hour of demand exceeding production per year.

That’s a reliability of 99.8%.

Building nuclear power plants would mean locking in enormously more expensive energy costs for everyone, stalling the green revolution in terms of electrification of industry.

This is the problem with nukebros, there’s no logic to the suggestions. Only a complete fixation on nuclear power as the solution to everything.

Which means widespread continued fossil use and energy crisis power cost for the general public.

But that’s a price you’re willing to pay as long as we spend trillions of dollars on subsidies of nuclear power.
Wow, the use of attributes like [[__unsequenced__]], [[maybe_unused]] and [[noreturn]] throughout the book is really awful. It seems pretty pedantic of the author to litter all the code examples with something that is mostly optional. For a second I wondered if C23 required them.
Drupal is still a thing. It's actually really great, but it suffers from two things:

1. You need a deep knowledge of Drupal to put together something good. It's not beginner-friendly, you will build a couple clunkers before things click.

2. The mind-share is not there like it was for Drupal 7 - the devs still contributing are great, progress is being made, but if you're used to Wordpress plugins or an NPM package being available for whatever you need, Drupal can be frustrating.
Phoronix has a specific benchmark subset that tries to tease out (at least for zen5) a hint of how much the wider data-path matters vs. how much the frontend/ISA extension itself, by disabling those selectively on an epyc zen5 chip: https://www.phoronix.com/review/amd-epyc-9755-avx512

It's pretty clear that the ISA/frontend is much more impactful than the data-width on this set of workloads, and that also seems to jive with more indirect evidence from performance patterns more broadly.

i.e. it's the new instructions (and potentially register width) that matter significantly more than the actually wider data-path.
yeah sorry mb, french comming out
"The DeathStation 9000"

The what now?
According to Elon, X is actually growing: https://x.com/search?q=all-time%20high%20(from%3A%40elonmusk...
There is the Erlang based Zotonic.com which has a Wordpress like feel.
Discussion (52 points, 19 hours ago, 10 comments) https://news.ycombinator.com/item?id=41844260
Always had the equipment, never had a license. I prefer the culture just above, below and in 11 meters. Unallocated space.
>It's $CURRENTYEAR and Java still doesn't support structs

they call it records, added recently. Depending on where you work,
you may see them in a decade
Feels like one of the signs of the apocalypse :-) And it is a pretty stunning "conclusion" to a war that started 20 years ago with the introduction of Sledgehammer and the AMD64 instruction set.

For me though it really emphasizes how much of a threat ARM (and presumably RISCV) architectures are to these two companies.
Never used it myself, but that's a good call out and precisely why I asked.
If you want something simple, try this one: https://www.microfeed.org/
Where this gets interesting is when you have patterns of sparse data. Often a mix is best - AoS fails badly for partially-sparse rows, and SoA requires duplicating the key, but SoAoS only has to duplicate the key per struct, and SoAoSoA only has to duplicate it once per sequence of adjacent structs.
Sure.

If you put it above ground, you are a few short bullets from killing everyone in the loop. Hitting a wall of air in a vacuum at hundreds of miles per hour is going to be like hitting a brick wall. Ask any reentering spacecraft.

The same problem exists underground, the weakest points being the stations themselves which can be bombed.

A failure in the system itself (even just a power outage or malfunctioning equipment) would mean people suffocate inside after a matter of minutes.

So, sure, it is possible to create it, but it is impossible to make any sort of safety guarantees. In other words, literally any other mode of transport would be safer, including a hydrogen-filled dirigible.

So, sure, the concept itself might be possible, but an engineer doesn't concern themselves with possible. That is for scientists. An engineer considers what is realistic AND possible, because that is an engineer’s job: to make the possible real. This cannot be real; literally no regulator would ever sign off on it.
...re-written in Rust.
Jacobi is one of 70 IBM Fellows (think IBM internal professors, free reign over a research budget, you gain the title with technical prowess plus business acumen)

at the heart of the Mainframe success is this:

> I’d say high-availability and resiliency means many things, but in particular, two things. It means you have to catch any error that happens in the system - either because a transistor breaks down due to wear over the lifetime, or you get particle injections, or whatever can happen. You detect the stuff and then you have mechanisms to recover. You can't just add this on top after the design is done, you have to be really thinking about it from the get-go.

and then he goes into details how that is achieved. the article nicely goes into some details.

oh and combine the 99.9999999% availability "nine nines" with insane throughput. as in real time phone wiretapping throughput, or real time mass financial transactions, of course.

or a web server for an online image service.

or "your personal web server in a mouse click", sharing 10.000 such virtual machines on a single physical machine. which has a shared read only /ist partition mounted into all guests. not containers, no,
virtual machines, in ca 2006...

"don't trust a computer you can lift"
The deprecation of distutils caused a ton of havoc for e.g. FreeCAD
Aquarium Is Joining Notion
Down and to the left
Terry Pratchett: A visionary on the Discworld invents something vaguely like a modern object or industry. That invention enslaves the visionary and must be stopped by a crotchety old person who hates change.
A minor correction (though I agree with all the rest of your comment): baseball is also popular in several countries, just a different set of countries than basketball (most of them are in Latin America or East Asia).
That's false.

The Dutch government is even looking at sending inmates to prison in Estonia.

The real reason prisons are closing because there are not enough people available to work as prison guards.

(Note: I am Dutch and this is a topic in our news cycle several weeks now)
Again, I can only go from what I have read elsewhere in this mess (and Matt making the governance of the Foundation clear as mud doesn't help), but my understanding is that the Foundation is essentially staffed and directed by Automattic employees.

If they could hand it over to an independent board and reassign leadership duties, maybe?
Gift link: https://www.nytimes.com/2024/10/15/world/asia/panda-census-c...
Boycotting != blackmailing. It's perfectly within an advertiser's rights, even if you or I disagree. Vote with your wallet, as they say.
Also (9 points, 6 days ago, 7 comments) https://news.ycombinator.com/item?id=41784138
now that we're built on Next.js (3.0 beta), we now use Next.js as an optional head

you can still use Payload headless of course with any frontend but out of the box you have everything you need. it's pretty nifty
And pay for a screen size I won't use? No, thanks.
they didn't demand that he say or did not say certain things. they informed him that they didn't want their brands advertised next to the sort of things that their customers would frown upon.

you'd think that in becoming a billionaire, he'd have picked up a few rules of business.
I think you're mixing up other Lisps with Elisp. In this particular thread I'm specifically talking about Elisp, even though, in retrospect, I should've been more explicit about it and not dropped the 'E'.

AFAIK, Elisp is an interpreted language by design and always has the ability to evaluate s-expressions directly at runtime, there's no compiler-only implementation of Elisp. There's native compilation introduced in Emacs 28, but it just adds a layer of optimization, the interpreter still exists and can evaluate s-expressions directly, it doesn't turn Elisp into a "compiler-only" implementation.

But yes, there are other Lisps that compile code to machine lang, without an interpreter.

Good catch and a fine note, thank you!
Not any more. Dark web rollups include just about everything you could ever want to know about anyone. Using a unique address per service just makes it easier to identify which services you use.
Or: more free space and lower CPU usage in the EU.
The platform has no killer mainstream use-case besides watching movies on a big virtual screen in solitude, with the drawback of having a heavy headset strapped to your face. I doubt that it would fare very well even sub-$1000. If they invested in gaming and allowed 3D controllers, the story might be different.
What was the pun? Many/mini?
If you're interested in contributing to that, here is a good place to start (in early discussion stages):

https://github.com/rhashimoto/wa-sqlite/discussions/154
If you're used to the idiom, the intent couldn't be clearer.

I miss it when switching between C/++ and other languages.
@dang please delete this self-promotion. I read the entire article and there were no technical details and no value in general. If i come across something like this on Google then I blacklist the domain
It would have better through-put if it were rewritten in Elixir, I would do it in Erlang but I find the syntax less appealing.
When Swift first came out there was a subset of obj-c developers who hated Swift’s take on Optional. In obj-c you can freely send messages to nil and it just returns nil. In Swift you have to explicitly mark if a value is optional and handle it being nil if so, and even though this often means adding just a single character (foo?.bar), there were people who thought that Swift was just making things more complicated for no benefit.
The problem with that is a) the pay still isnt enough. But mainly the problem is that army bonuses are by MOS. The cyber mos can be done by a high schooler (by design). You can just get another high schooler by selling them that theyll be a hacker.

Actual operators already get the highest bonus the Army offers. But the reality is the Army will pay a civilian twice what a soldier gets (total compensation, including bonuses and intangibles) for the exact same job.
The Rise and Fall of Matchbox's Toy-Car Empire
> and open source

I'm kind of split about this. Yes, Facebook done a lot of great Open Source in the past, and I'm sure they'll do more great Open Source in the future.

But it's really hard to see them in a positive light when they keep misleading people about Llama, and publish blog posts that say how important Open Source is etc etc, then refuse to actually release Llama as Open Source, refuse to elaborate on why they see it as Open Source while no one else does it and refuse to take a step back and understand how the FOSS community feels when they actively mislead people like this.
Physical exercise is the most potent life extension intervention we have. So it's very unlikely we'll get anyone to 200 if they're stuck in bed with a broken hip.
You are a humanities professor at an Ivy League university, but also, somehow, in mortal peril. Your love interest is picturesque but ill-mannered...

This is also true of Indiana Jones, which everyone likes.
Yarn[1] has pretty much fixed this along with fabric.

[1] https://github.com/FabricMC/yarn
The rule of law is a key part of a nations success as argued by AJR. A very good exposition for the layman on the rule of law provided by Tom Bingham in the eponymous 'The Rule of Law):https://www.goodreads.com/book/show/7734691-the-rule-of-law

While the above is informed by the UK's constitutional arrangement, the 8 principles are near universal when considering nations that have or aim for The Rule of Law.

The principles are:

(1) The law must be accessible and so far as possible intelligible, clear and predictable.

(2) Questions of legal right and liability should ordinarily be resolved by application of the law and not the exercise of discretion.

(3) The laws of the land should apply equally to all, save to the extent that objective differences justify differentiation.

(4) Ministers and public officers at all levels must exercise the powers conferred on them in good faith, fairly, for the purpose for which the powers were conferred, without exceeding the limits of such powers and not unreasonably.

(5) The law must afford adequate protection of fundamental human rights.

(6) Means must be provided for resolving, without prohibitive cost or inordinate delay, bona fide civil disputes which the parties themselves are unable to resolve.

(7) The adjudicative procedures provided by the state should be fair.

(8) The rule of law requires compliance by the state with its obligations in international law as in national law.
What is the prospect of a perennial grain revolution of agriculture?
That statement strongly suggests it's the implementation of the ISA that matters more than the ISA, whether that be due to process node, skill and investment by the manufacturer, or perhaps a bit of luck.

By good ARM, do you mean specifically (and only) Apple? Given their budgets (both financial and transistor), their very long history and investment into their chips, their deep integration of stuff like memory and GPU, and their tendency to be a process node ahead of their competitors, Apple is a particularly hard example to interpret when it comes to ISA impact.

Hard to imagine another company making all those choices, since they all have costs too, which many won't be willing or able to bear, and some of those costs (like the lack of flexibility due to the deep integration) are possibly a non-starter for many niches.
My kingdom for fully specified, well defined portable bitfields.
At least 95% of accounts I follow are premium subscribers. The price is very reasonable if you consider the access to their Grok AI as useful.
It blocks trackers, which means ads usually get caught up in the net. It's anyone's guess if the ones that makes it through aren't tracking, or are successfully evading (I'd wager the latter).
Didn't really mean 'myself'. But if Pumpkin detects an existing world, and does the conversion to their own format. Then it is drop-in.

Even if they supply a tool, isn't it drop-in.

Otherwise I'd so no software in existence is really drop-in. Most of them have some update that has to happen.
Forking the code is easy, forking the infrastructure and community not so much. It would be a lot of work and with an apparently capricious founder any splinter project has a high likelihood of getting bogged down in drama. My guess is no code fork gets traction, business continues mostly as usual but the supporting service providers and dev ecosystem start moving to alternatives that have more stable governance. Eventually this means the de facto death of WP as a brand and technology.

This is all avoidable if Matt can restore confidence in WP's governance and give the community a sense of a positive vision for the future. That would probably have the side effect of being financially beneficial to Automattic and bring WPEngine into the major contributor fold.

I'm not sure how likely the good version of this is but for everyone's sake I hope WP ends up with some kind of positive resolution.
I took a fair number of trips when I was 16 and I think it literally brought my consciousness online. There was a pretty stark contrast between the me before who who just wanted to play video games and hang out with friends, and the me after who was overwhelmed by natural beauty and my smallness in relation to the vastness around me. It might have been responsible for the next 5+ years of my life where I shirked school/career in favor of delving pretty deep into hallucinogens and a hippy type lifestyle in search of some "Truth".

I don't know if it was just timing and it jump started a natural part of aging, or if it triggered something that would not have occurred otherwise. Either way it definitely did a number on my 16 year old brain, still unsure if it was a net positive or negative.

The sad part is they don't have such a profound effect on me anymore, it can still be pretty interesting but the life altering trips seem to be reserved for the first few times. My only expectation from them now is to feel nice and have some pleasant visuals. I don't approach it seeking some lesson or greater truth, just have a nice time, which is maybe the final lesson lol.
What Wikipedia article are you looking at? Even the article on 'Association Football' which I assume is referring to the modern organized form of the sport that did develop in the UK has a long history section referring to the many origins of 'football' or 'soccer'.
due to coming down from previous trip I realized that racism has infected fantasy like a virus, and the only way forward is poorly disguised Gormenghast pastiche.

on edit: thinly veiled threat to write 500 more comments on this issue in the next few months.
this was super fun when i configured this a couple of years ago. Had a couple of chats with really smart people. They helped me a lot.

Would be fun to connect my k8s cluster to it.
PyDBSP – Differential Dataflow for the Masses
An interesting approach could be to visit at least a few, 3 to 5, and get an idea of the scope and work they want to do on you (or your bank account), and then go with the one you like most, out of those wanting to do the LEAST work on you.
I'd pay the $11 for no ads.

Currently, I see an ad every 4 tweets on the free plan in the X mobile app. The $11 plan promises to half the ads I see, so that would be every 8 tweets.

I'd get no ads with the $22 plan, but that's way above the amount I'm willing to pay to read tweets.

Currently, I pay nothing and see no ads in my desktop browser, presumably due to uBlock Origin. Then, Control Panel for Twitter[1] fixes the rest.

1. https://jbscript.dev/control-panel-for-twitter
Would that even make sense, to “generate emojis” ? They are defined by the Unicode emoji specs like here: https://unicode.org/reports/tr51/
I guess it would need to generate all possible emojis given by the spec? Supposing it did generate all emojis, is there even a way to “install” it for example iOS ?
Ah yes, rust. A language so "safe" that its compiler downloads shit from the internet every time you call it.
In my experience, the house of cards is usually debugging, not building. I've had to do some pretty crazy debugging, stepping through deep call stacks frame by frame, keeping track of big data structures as they change along the way. This can take a huge amount of focus that would absolutely be ruined by even a 5 second conversation.
I have been working on one. If you're interested in working on it or contributing, feel free to chime in here:

https://github.com/rhashimoto/wa-sqlite/discussions/154

This essentially requires that we import the sqlite emscripten build via an extern C header in wasm bindgen, and then we need to re-implement the VFS in rust while compiling it in multi-threaded mode to allow for shared array buffer access. After that is all done, we will be able to access SQLite rows as raw wasm bytes. That gives us the ability to implement a rust-sqlite style wrapper or integration. There would still not be some of the niceties such as connection pooling, but in wasm you likely want to use the db in exclusive mode.
I've been using Statamic for a few months now. I've often worked with Laravel, so I tend to really like Statamic. The static content by default feature means you can skip a database altogether if you'd like. Theming and content management is a little bit more of a learning curve, but so much more powerful than something like Wordpress.

I do have one complaint. It can be remarkably difficult to learn how to use Statamic properly. The documentation is a bit lacking. I often struggle to find a solution to a blocker only to find out there's a simple solution that wasn't documented very well. I think this is one of those things that will likely improve as the community continues to grow and mature.
To the best of my knowledge, there's actually no diet that has been proven to yield long-term weight loss. (There are of course individual success cases.)
"The 6-pound cannon is fired everyday at 1 PM, from May to September."

Not at local noon?