skysight-inc/HackerNews huggingface dataset:
This eschews hardware-based TEE (like TrustZone or TPM) in favor of hardware support for nested virtualization, plus open-source L0 hypervisor code.

In the best case future, this will offer security properties based on a small OSS attack surface, rather than black box TEE firmware.
Request Control[0] can do this. Create a rule with the following settings:

Host: *.youtube.com

Path: /watch*

Types: Document

Action: Filter

Check "Filter URL Redirection"

List of Trimmed Query Parameters: v t list index time_continue

Check "Invert trimming"

'time_continue' is used when you navigate to Youtube from an embedded video. 'index' is used in playlists.

[0] https://addons.mozilla.org/en-US/firefox/addon/requestcontro...
So I know people hate them, but there are meaningful differences between green and blue bubbles:

1. The big one is obviously encryption, but in the hypothetical RCS with actual encryption future wouldn't be as relevant

2. Indicates that the message requires a cellphone (iMessage does not) because RCS is carrier+phone number based

3. Indicates that the message costs money (plenty of carriers still charge for RCS as they do SMS - I have a friend who accidentally spend $5 texting because they didn't realize international messages were "toll" messages not included in their "500 free texts" plans), similarly plenty of carriers charge to receive text messages as well.

Even if RCS were encrypted, that does not fix 2 and 3, and RCS is still unencrypted by default and the ability to send encrypted RCS is solely dependent on carriers not choosing to block it because supporting RCS _requires_ supporting downgrade attacks.
Totally, it's the good stuff. Same with their brand of scotch bright, it's good
Would a 3-or-more body gravitational problem be one of these that could use a speed up?
I mean, the way everyone else solves this problem is by having an SMS app and a "proprietary messaging platform". Cramming them together in order to increase adoption of the proprietary thing is definitely a... choice.
I thougt the red shift is due to Doppler effect and the universe expansion (planets are running away from any observer in the universe)
Valid points! In my experience, when someone has foreign key constraints in their database, they tend to develop their apps in "trusting" way. Meaning, the app trusts the DB to maintain referential integrity. When you do the three step breakdown, you remove that integrity, and the app doesn't know any better: it keeps feeding the database with data, the database says "fine", and the app assumes referential integrity is preserved.

This is why in our design PlanetScale will not take upon itself to do this three step change. The user is more than welcome to break this into three different (likely they'll be able to make it in just two) schema changes. But then the user takes ownership of handling unchecked references.

> making data changes that might look invalid until all data changes are done

In effect, the data _will be_ invalid, and potentially for many hours.

Now, it's true that if the user messed up the data in between, then adding the foreign key constraint will fail, in both PostgreSQL and in MySQL. To me, this signals more bad news, because now the user has to scramble to clean up whatever incorrect data they have, before they're able to complete their schema change and unblock anyone else who might be interested in modifying the table.

Personally, my take is to not use foreign key constraints on large scale databases. It's nice to have, but comes at a great cost. IMHO referential data integrity should be handled, gracefully, by the app. Moreover, referential integrity is but one aspect of data integrity/consistency. There are many other forms of data integrity, which are commonly managed by the app, due to specific business logic. I think the app should own the data as much as it can. My 2c.
Excellent, thank you for posting this!

I was actually just looking into fine-tuning an LLM for Magic: The Gathering this week -- I've been building a small card-similarity browser using semantic embeddings of cards to find functionally or flavorfully similar cards.

I've just been using InstructorXL, but either Instructor doesn't have enough innate knowledge of the game, or else I need to work on better prompts, but so far I've tried 9 different prompts, and none of them seem to perform very well for generating embeddings:

https://github.com/HanClinto/MtgMatrix/blob/main/data/create...

So my next step was to try and download a dataset of similar cards (I have some ideas on this), and I was trying to see if I could use this to do triplet-loss training of a large embedding model or something.

Aaaaand, that's as far as I've gotten. I haven't actually figured out _how_ to hook all of that up, but your post is extremely inspirational for me. Thank you for posting this!!
StackExchange has been going downhill since late 2019. A significant number of power users (moderators) have left and the writing has been on the wall for a number of years.

https://meta.stackexchange.com/questions/333965/firing-mods-...

https://meta.stackexchange.com/questions/394772/lets-talk-ab...
Is it using sixels?
This! A lot of young people pirate media to save money. But then when they grow up and start working, they /still/ keep pirating because now they are used to getting their hands on quality media that they like, rather than consuming whatever "curated content" the algorithm deems fit to make available. Usually these people are also subscribed to regular services, but still find it a far better experience to pirate stuff.

EDIT: Fixed typo "grow up".
Google's bandwidth and storage for the valuable content the public produces and provides to Google for free are more than paid for by the personal data they take from us and use against us at every opportunity. Google has the trillions to prove it. Some subset of youtube viewers depriving them of just one opportunity to exploit our personal information isn't going to hurt them one bit.
Have you taken a look at django-ninja? It's like a modern take on Django Rest Framework (async + OpenAPI + Pydantic support are built-in)
I don't know about that but yeah kudos for working on improving health for all.
Essential Apps Every Developer Needs
this is pretty fast - what infra are you guys using for your inference engine?
I had no idea, that's awesome; used to love Red Eclipse 2, and my father once roped my siblings and I into playing Urban Terror, both of which we owe to Cube
I’d pay for a blue Apple checkmark!
none of the companies making the previous hashing apps had the money that AI companies do. around here, the phrase "fish in a barrel" might be used to describe the situation.
COBOL Forever?
Probably two thirds of banking and insurance companies still use COBOL on the backend at some point because it's too hard to get regulators to approve replacements.
StyleX supports this pattern. You can export a bunch of styles in one file and then import and use them in another.

You can import many different styles and apply them conditionally etc.

Also, completely dynamic styles are supported. We were inspired by Linaria's solution to generate CSS vars and set their value with inline styles.
The only thing I know about the book is from this article https://acoup.blog/2021/10/15/fireside-friday-october-15-202... which recommends Azar Gat, War in Human Civilization instead.
It would be ironic if it were discovered if are mainly the salt mines what affects the climatological cycles, when the salt, after being consumed and evacuated from our organisms due to the high doses we receive (what damage our kidneys), arrives the rivers and ends up in the oceans increasing their salinity, affecting the heat dissipation and the currents of the whole planet.
I was excited until it asked me to login with my Google account. If it doesn't need an iCloud account why does it require my Google one?
Korea, pound for pound, has to be one of the most poorly legislated technology states in the world.

Everything is in absolute bizarro land in Korea when it comes to technology. Here are just a few of things I’ve encountered in Korea:

- You have to have a phone number to sign up for any type of account. (Hasn’t discouraged any toxicity either.)

- Foreigners can’t use things like delivery apps because they can’t make accounts due to the phone number thing or they can’t use their international credit cards.

- Most people own windows PCs because in order to do any banking in Korea you have to install software that is tantamount to the bank’s spyware on your computer.

- All mobile phones have non-mutable shutter sounds.

- Location services like find my iPhone are banned.

- cellular data usage costs an arm and a leg, making free WiFi a necessity at any business

- The quality of FaceTime calls is extremely throttled. For the longest time FaceTime just didn’t even work. KakaoTalk video calls never had that problem.

- contactless pay via Apple Pay was only introduced this past year

You’d think Korea would be bleeding edge when it comes to technology it’s far from a technocracy, It’s just a stumbling, bumbling, corrupt state that can only get out of its own way to clear space for the large conglomerates.

I feel so sad for the Korean people. What should be a thriving, entrepreneurship-driven economy is the exact opposite - an oppressive, corporatist hole that sucks up peoples economic dreams and emits zero-sum, despair-driven ambition.
Curious how different the performance would be if instead of a 'Hall of Famer' we tell the bot that it is decently-good, but will be deactivated if it can't achieve human-level performance...
A cursory search for Programable Industrial Controller gave me no hits apart from PLCs. Those would typically contain PID controllers. Could a link be provided to a PIC as meant here?
I disagree. Apple isn't like Google/FB where they take a loss on a service and make it back on the backend with ads. Apple seems like they evaluate each service as if it were a physical product ie it costs X and each service needs to stand on its own and make X + Y back.
Damn. I noticed this happening a while back and I didn't think much of it. I just deleted the si= part because I knew it's not necessary for a Youtube link to work! I was curious about why this has been added and figures there's been something nefarious going down.
Hey! We support dynamic styles, too.

We're continuing to work on optimisations for StyleX, and I'll be looking at Tamagui for inspiration!
> the iPhone is nudging me further to giving a Macbook/OSX a try one day,

Gaming isn't great on Mac (depending on what games you play), but macbooks are great imo. A pro or an air with apple silicon is worth the money. I've never really appreciated the build quality of a mac before.

> I just got an iPhone for the first time, and it is a noticeably better device than my previous Android phones.

In what way? What Android phones did you use in the past?
It’s the same with Canada and our Telecom+Media Oligopoly. Three companies basically control internet/phone/tv/radio, and exert incredible influence over politicians to implement laws and regulations that benefit them to the detriment of the general public.
Interested to know what the Deno JavaScript/TypeScript project thinks of this addition given it has already has a key value store backed by the database and JSON is JavaScript friendly.
Depends what the model targets. If I gave this problem to a bunch of musicians, they’d be pulling out features like the key, tempo, meter, chord progressions, any distinctive riffs or basslines, etc. Those are the things hashes could be built from and would be more information-dense than samples of the particular recording.

Using a model to deconstruct a song like that might enable the ability to recognize someone playing the opening bars of Mr. Brightside on a piano in a loud bar as well as its drunkest patrons.
Shopify served more than 1M RPS during Black Friday
We've all been there and have been hit hard by rolling back data as well as by not rolling back data. What we do with PlanetScale Reverts, though, is to preserve your data through the rollback. There aren't three classes of data, just one (or, it's nuanced, let's call it 1.5).

As you complete the migration, PlanetScale keeps your old table, and continues to sync any further incoming changes to the table, back to the old table. They're kept in sync, apart of course from what incompatible schema changes they may have. As you revert, we flip the two, placing your old table back, but now not only with the old data, but also with all the newly accumulated data.

I completely appreciate the roll-forward approach. That's something we do for code deployments. Except when we don't, when there's that particular change where the best approach is to revert a commit, revert a PR. I think of schema deployments in the same way. Reverts will be rare, hopefully, but they can save the day.
For that, accuracy seems to be a stronger limiting factor than speed.
[C++20] 60 LOC constexpr get_name for members / no ifdefs / Clang,GCC,msvc
Resources:

- https://reddit.com/r/cpp/comments/1890jr9/reflectcpp_automat...
- https://www.reddit.com/r/cpp/comments/18b8iv9/c20_to_tuple_w...

Auto-tuning version of constexpr get_name for members

struct foo {
int bar;
int baz;
};

static_assert("bar"sv == get_name<0, foo>);
static_assert("baz"sv == get_name<1, foo>);

Basic idea:

template <auto Ptr> [[nodiscard]] consteval auto get_name() -> std::string_view {
return std::source_location::current().function_name();
}
template <class T> extern const T external; // magic happens here
constexpr auto ptr(auto&& t) { auto&& [p1] = t; return &p1; }

struct foo { int field; };

std::cout << get_name<ptr(external<foo>)>(); // prints ...field...

Auto-tuning the name (to avoid ifdefs for compilers): // define a $struct$.$filed$ to find the parsing requirements for given compiler

struct $struct$ {
int $field$; // pick some name / $ is valid identifier now
};
constexpr auto $name = get_name_impl<0, struct$>;
constexpr auto $end = $name.substr($name.find("$field$") + sizeof("$field$") - 1);
constexpr auto $begin = $name[$name.find("$field$") - 1];

template <auto N, class T>
constexpr auto get_name = [] {
const auto name = get_name_impl<N, T>;
const auto begin = name.find(end);
const auto tmp = name.substr(0, begin);
return tmp.substr(tmp.find_last_of(begin) + 1);
}();

Full example - https://godbolt.org/z/MWhf6voTs
The approach maps the classical mechanics of coupled harmonic oscillators to a particular quantum system. I'm curious if there is some (unrelated) classical system whose quantization is that same quantum system. In other words, does this quantum system have a natural interpretation as the quantum mechanical version of some classical system? If so, it's presumably very different from (e.g., a lot smaller than?) the oscillator system which motivated the study of the quantum system.
India reveals that it has returned lunar spacecraft to Earth orbit
Vannevar Labs | REMOTE-FIRST | FULL-TIME | Offices in DC and NYC

Vannevar Labs builds next generation defense software for the public servants keeping our country safe. As a team, we exist because we believe in public service, and we think that our democracy and government improve only if we put serious, collective effort into improving them, including the technology our government uses. We build software to help the the US deter and deescalate conflict. We are a profitable growth startup with some of the best defense investors in the world, including General Catalyst, DFJ Growth, Point72, and enterprise tech investors Costanoa and Felicis.

We're looking for engineers to lead the build out of our core data platform, amongst other roles. Apply on our website: https://jobs.lever.co/vannevarlabs-2
It provides a much better group messaging experience than SMS (you can see who’s in a group and add and remove people), delivery/read receipts, better image quality, is encrypted (although that gets somewhat negated by automatic iCloud backups), and is free as long as a data connection is available.

Of course many other messengers offer most of these features too, but for some reason, no alternative has been able to establish itself in the US.
It’s really nothing special. I personally use WhatsApp with most of my friends.

The problem is when you have one person in a group that is on Android when everybody else is on Apple. This causes the iMessage conversation to use SMS instead. To signify this in the app, texts appear as green bubbles instead of blue, so it’s obvious when it happens.

This is bad because SMS is totally obsolete. It causes images and videos to be shared in extremely low resolution, along with problems of messages not getting delivered reliably and other missing features.

So effectively to the iPhone user, Android users very visibly cause group chats to be super crappy in iMessage.

This is not the fault of the Android user really, because it’d work way better if Apple supported RCS like Android phones do, but many people have a very strongly negative impression of Android due to this.

In fact, some iPhone users put social pressure on people with Android devices due to this in the form of excluding them from group chats or complaining about how they cause problems.

Apple has been perpetuating this problem because it suits them. People know this, but it’s Android and Android users that suffer regardless due to Apple’s dominant market position.
Yes, and undoubtedly a far lower percentage of his gains and income than practically any of us ever will.
Created something useful for ChatGPT users
Gapier is an Action API product for GPTs, offering 50 free Action APIs.

With just a 60-second integration, you can create unexpected applications using GPT. This enables ChatGPT to accomplish more specific tasks.

- Demo: https://twitter.com/gapier_com/status/1732247336779198593

- Homepage: https://gapier.com?utm_source=hackernews&utm_medium=post

- Producthunt: https://www.producthunt.com/products/gapier-for-chatgpt-gpts...
All you need considered harmful.
...what is the "it" that just arrived to the iPad?
Yes thank goodness those monopolies are gone and our cities are all clean and safe from fires and our sewage and road infrastructure is in top condition
Is it a regulator issue? My impression was that it was just hard to switch from COBOL to something more modern. All the bugs and corner cases were fixed in COBOL, and now porting them to NewLang without breaking any of them is nearly impossible without a massive budget and undefined timeline.
Their new stuff makes wood sanding almost an order of magnitude cheaper. https://youtu.be/NZDCRFi8dKY?si=ABQUh__nl9vSjor9

I wonder if they meant to price it so much lower than the competition...
Hm I googled and found this draft of the encoding - https://sqlite.org/draft/jsonb.html

It feels like it would be better to use a known binary encoding. I thought the MessagePack data model corresponded pretty much exactly to JSON ?

Edit: someone else mentioned BSON - https://bsonspec.org/

To be honest the wins (in this draft) don't seem that compelling

The advantage of JSONB over ordinary text RFC 8259 JSON is that JSONB is both slightly smaller (by between 5% and 10% in most cases) and can be processed in less than half the number of CPU cycles.

JSON has been optimized to death; it seems like you could get the 2x gain and avoid a new format with normal optimization, or perhaps compile-time options for SIMD JSON techniques

---

And this seems likely to confuse:

The "JSONB" name is inspired by PostgreSQL, but the on-disk format for SQLite's JSONB is not the same as PostgreSQL's. The two formats have the same name, but they have wildly different internal representations and are not in any way binary compatible.

---

Any time data is serialized, SOMEBODY is going to read it. With something as popular as sqlite, that's true 10x over.

So to me, this seems suboptimal on 2 fronts.
I wont use firefox because it doesn't do saving my shit in the cloud. I would switch at a heartbeat if they stopped with the stupid sync on another device thing. Fu
Not yet, but will check it out! Thanks for sharing it
If you scratch around enough they do say it's a paid product. Pretty cool yes,"show hacker news"? Dunno.
You've chosen a really bizarre way to package your software. I'm looking through your repo and can't see any code for your libraries. It seems like its somehow part of the docker image? So then this is just a shim for a docker environment that contains the code? Normally people would use Github for a hosted repo and make their software available on Pypi. But deploying with a docker file is kind of opaque and sketchy.

I would give better feedback but still no easy way to see the code? Unless you're trying to do it like this to have something like a closed-source version of your libraries... which would again be kind of a bizarre model to use with Python.
Most of the stuff they make industrially increases efficiency of downstream businesses in other supply chains and thus reduces environmental impact of making stuff like the phone you are using to comment (and the internet).
I'm familiar with MongoDB's BSON, but not JSONB. Here is an article I found that talks about the differences: https://blog.ferretdb.io/pjson-how-to-store-bson-in-jsonb/
That would be the military...
For me, this was about one part interesting because of the person and the time in which they said it (15 years ago for the date when the anecdote took place) and two parts interesting because of the values themselves.

Being rigorous about sticking to your values is so important in the context of curating a team of top performers and values and culture are as important when we downsize as they are when we grow.

A huge part of how a company waxes and wanes is down to the people on your team, how they think, and how they behave.
Given our current trajectory this will probably be possible in 10 to 15 years
Hey! I'm the maintainer of StyleX and I just wanted to say that you would probably like PandaCSS or Tamagui.

We don't think the Tailwind way of styling is readable in the long term, but we see the value is being able to author that way. We're looking into a VS Code plugin, that would let you author your styles inline and extract them out when you save.
This is really cool. I wonder how long it will be till we have GPT-4 quality models that run locally (if we ever will). Would open up a lot of possibilities.
Does speech to text require that much compute?

EDIT: Nvm, there seems to be a new project called Sayboard that does everything on your phone:

https://github.com/ElishaAz/Sayboard

(though switching from Swiftkey is a bit annoying)
Will Corewell Health and/or Welltok be subject to HIPAA fines? Or no, since it was not "willful" or "knowledgable"?

https://www.ada.org/en/resources/practice/legal-and-regulato...
Next step is to go full Ouroboros and have embedded SQLite DBs as records.
The protocol between your backend server and Apple, and between Apple and the phone, are completely different. So this comment seems almost off-topic...
We've heard of Tkinter before, but haven't really looked into it. We don't have a lot of experience with desktop apps and we're mostly unfamiliar with this space. But a few people have asked us about desktop, so we do a bit of research here.
>There were Blockbuster exclusive movies, but they all sucked so it didn't matter.

I mean, it sounds like they simply learned their lesson. Or got more budget to publish such stuff. Same tactics but now more effective after giving what the audience actually wants.

Its certainly an interesting phenomenon. Hosting brick and mortar is crazy expensive so it makes sense to delegate that. Hosting servers is cheaper and way more scalable (mostly dealing with country laws instead of every single nuldijg regulation code), so it's no surprise studios want to self-distribute now that the barrier lowered.
Probably not because even if the postage is free the paper, printing, envelopes, etc. are not.
Can someone remind me why we trust tech startups with our personal data, again?