skysight-inc/HackerNews huggingface dataset:
> Windows 10 (64-bit x86) and that's a full fledged desktop OS with much more capability than a smartphone OS

Given all the fancy things phones can do nowaydays, talk to satellites, crash detection, gyroscopes, GPS, all in a tiny form factor while managing battery life and a massively powerful camera, I'd argue desktop has maybe less capability than a smartphone OS
It already can, as it currently just transpiles to C++ it just needs clang to build [1].

Even though it doesn't require SerenityOS, even SerenityOS GUI apps can be ported to run on Linux, Andreas already has ported its Ladybird Browser that wraps SerenityOS LibWeb engine in a QT App [2] to Linux, his last video shows "Abstracting the event loop so Ladybird can be fast & responsive on Linux" [3]

[1] https://github.com/SerenityOS/jakt#usage

[2] https://github.com/SerenityOS/ladybird

[3] https://youtu.be/S8lXroxngYo
They did not copy GIMP, they literally extracted the widget code out of GIMP (and with it the object model) and made it into an independent toolkit. At the time there was no decent free toolkit at all, people were trying to reimplement Motif (Lesstif) or Qt (Harmony) but GIMP's was the first free software toolkit for X11.

Then over time it was extended beyond widgets, and the tooling around it grew to focus on exporting introspection information for language bindings.
>Classic HN. Can you really not conceive any benefits? Is your imagination so limited that it does not extend to seeing that other people have different use cases to you?

[...]

>being able to put yourself in other people's position, seeing from their perspective is an invaluable life skill.

Indeed. I thought the same thing when reading all the comments regarding the Apple and SpaceX announcements regarding satellite communications on ordinary phones stating "Who needs this? I'm never going to be anywhere outside cellular service!" Good grief.
> worthwhile to spend all this engineering effort manipulating, culling, tree shaking, modularizing our CSS?

You don't have to ever think about this stuff if you use a component-driven frontend framework like Vue w/ Vite (or Webpack).

The general design: you use one global .css file for your shared styles (app.css) and then each component has their own inline CSS.

Vite will automatically extract each component JS and CSS in tiny files and only load them when you visit a page with the specific component.

This all happens automatically and you can cleanly organize your project by keeping the styles close to the view template and logic (often the same file has the template, <style> and <script> which each get extract automatically into bundles). The .css/.js filenames match the component name which makes debugging easier too in dev console.

HTTP2 handles loading 20-100 small files like nothing and with large SaaS apps usually only have tons of components that rarely get used, so no need to load them all for every page.

If you had to think about this stuff, manage the tooling, and customize then it would be overhead, but otherwise with frameworks it's pure benefit.
Teams is almost uniquely bad. I can’t name a single other program as bloated and feature lacking as Teams.
> “C was and still is a good choice for a core portable cross-language library. But UIs are probably the only programming context where OOP fits well. So people came with Gobject.”

That’s my exact criticism: they came up with GObject instead of using the C-based solution that already existed, had open source compiler support, and was actively developed by Apple.

The GTK community made a huge mistake in trying to turn GIMP’s poor design into a generic GUI framework rather than collaborating with GNUstep on creating a next-generation framework.
I found it kind of a pain to keep the Firefox extension connected. Additionally, I never found a solution for sync I was happy with - I had settled on OneDrive and there is an open source OneDrive sync client for Linux, but I had a couple instances where I ended up with conflicts and having to copy new or modified entries over manually. I’m not sure that any sync client is great across all of Windows, macOS, Linux and iOS - but I use them all frequently.

I can’t really comment on secrets, I use a YubiKey for SSH and GPG for signing Git commits so I’ve never needed to look into it.
There's tons of expensive Android phones too, not just cheap ones. Honestly you need to widen your horizon a bit.

A Galaxy Z Fold4 - Samsung costs $1800 before tax. Form factor only available on Android.
Even a Xiaomi 12 Ultra Phone costs over EUR1000 in Europe.
Ridiculous bloat.
You can also get windows instances with GPU attached and RDP in, though personally I prefer Linux

https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/accel...
The number of people who want those things is orders of magnitude greater than the number who care about how many gb of ram they have.

I guess you could always pick the librem phone and miss out on every modern advancement.
And supersonic flight is really a hardware / physics / materials science problem than a software one. (again: see Concorde)
Jakt looks pretty interesting. Would “rust without the productivity sapping affine types / lifetimes / borrow checker, but with zig’s take on comptime” be a fair summary or am i doing an injustice?
Extremely cool! Have been thinking about how to go about this. It feels like a perfect test bed for automated reasoning. The high level description in the intro is very clear and makes a lot of sense.
This week in KDE: Getting Plasma 5.26 ready
I did not expect to like tailwind, and it still irks my past-self's approach to CSS. But I can't argue that as a wholistic approach to CSS, it is very capable and once you learn the lexicon, very fast to develop with. I really did enjoy it.
These Apple vs Google conversations on HN remind me of console wars on old forums or even the modern US political discourse. Everyone picks their team and relentlessly defends or attacks the other team whenever possible, when both teams want all of your money and to lock you in perpetually.
I really don’t believe the statement that Windows is much more advanced than Android and iOS.

And the experience of using windows with 2GB ram is absolutely abysmal. Really 8gb is the minimum for anything acceptable. Microsoft just cares a lot less about user satisfaction so the windows minimum is the absolute minimum possible to boot on while the android minimum is the minimum required to not hate using the phone.
I did not. It's impossible to do so after an hour or something. But even if I would have, I'm going by the example being discussed here in the OP, not IRL buffet, you're still trying to steer the discussion toward your preferred topic instead of discussing what we are actually discussing.

Anyway, throwing insults at each other like children is not what this site is about, let's have substantiative discussions like adults and keep this site fun and interesting and not turn it into reddit.
Charles III to be proclaimed king at historic ceremony
This seems odd, there is still a human authoring the images through the use of prompts etc. How does this differ from using a paint brush?
10 years ago, when I got my first CPAP, they didn't yet have (or hadn't widely released) devices that could upload data wirelessly. Instead, I was expected to bring the device in (or at least the flash card inside it) for regular appointments at the sleep clinic. At least in that particular situation it was made very clear that my insurance was paying for this device on the condition that I would adhere to the program laid out by my doctor. So none of this is particularly new.

I purchased my most recent model out of pocket in part because I didn't want to deal with that stress. That said, there is a genuine question of how you ensure that medical devices are available for people who need them (and are willing to actually use them). There's only a couple of brands of CPAPs and it seems likely that prices could be driven down and production increased, but at some point you're still talking about a relatively expensive device available in limited quantities with fairly high rates of noncompliance. (Partly because full compliance with CPAP usage is hard!)
This seems like a great course. What level is it? Is this a first year course at Stanford?
It seems the benefits of vala were so large that not having a proper version one was not a problem.
I have one too.

As far as I can tell it’s just an extra layer of thin plastic that sits, unattached, under the expanded foam.

The idea being that it slides and stops the helmet gripping you head.

I’ve often wondered, how much of the same feature would be achieved with just a cycling cap under the helmet?

I’m not sure there was a huge premium for getting MIPS so I guess I’m happy to have it. It certainly doesn’t hurt.
Very neat. They write:

> In this course, we’ll be looking for the following trifecta: (i) ideas that are non-obvious, even to the well-trained computer scientist, so that we’re not wasting your time; (ii) conceptually simple — realistically, these are the only ideas that you might remember a year or more from now, when you’re a start-up founder, senior software engineer, PhD student, etc. (iii) fundamental, meaning that there is some chance that the idea will prove useful to you in the future.

In the first lesson, they discuss consistent hashing, and they seem to have achieved their goals.

ETA: Must include this anecdote on the history of the algorithm:

1. 1997: The implementation of consistent hashing given in this lecture first appeared in a research paper in STOC (“Symposium on the Theory of Computing”) [...] Ironically, the paper had previously been rejected from a theoretical computer science conference because at least one reviewer felt that “it had no hope of being practical.”

2. 1998: Akamai is founded.

3. March 31, 1999: A trailer for “Star Wars: The Phantom Menace” is released online, with Apple the exclusive official distributor. apple.com goes down almost immediately due to the overwhelming number of download requests. For a good part of the day, the only place to watch (an unauthorized copy?) of the trailer is via Akamai’s Web caches. This put Akamai on the map.

4. April 1, 1999: Steve Jobs, having noticed Akamai’s performance the day before, calls Akamai’s President Paul Sagan to talk. Sagan hangs up on Jobs, thinking it’s an April Fool’s prank by one of the co-founders, Danny Lewin or Tom Leighton.
That seems useful. when I was young I used to like the idea of having all tabs of everything I want to do or read in the future. I don't remember when I changed to a person who get stressed out if I have more tabs than what Firefox will start hiding titles.
All that pops into my head here, is that in this case, the two particles, when twinned, are actually the same particle... simply at different time references.

This behaviour makes zero sense to me otherwise.

That makes me think that all particles are actually the same particle, and we're only observing them at different time references. The twinning only objectifies that, so as observers, we are viewing them at time references which allow for known state.

Yes, this has a gazillion holes in it.

edit: to add to this, there is no reason to infer that because things are separated by distance, they are not the same thing. The universe does not have to play nice, to ensure that humanly derived, evolved logic thinks that things make sense from a classical perspective.

If all electrons, for example, are the same electron? Just observed at different time references and locations? Then things such as entanglement make more sense.

edit2: What I mean by 'the same particle', is that theoretically all matter in the universe was one ball of whatever prior to the big bang. Everything already is one particle, prior to diffusion and differentiation due to cooling.

Thus, every electron in the universe was at one point in time the same, single thing. Therefore, they are the same thing. If time does not exist, it means that this electron here, and over there, can be the same electron, for it can spend <unlimited time> here, and then <unlimited time> there, while at the same moment co-spanning the same time reference as we view it.

OK, I'll shut up now, because this is gibberish.
That really confused me until I worked out that they’d reused the name of a defunct film cartridge for a sensor size. https://en.wikipedia.org/wiki/Advanced_Photo_System
Air pollution cancer breakthrough will rewrite the rules
PoS has various acronyms alternatives..
And only got updated to iOS 9. Naturally, the minimum requirements for later version were greater than that.
It must be insane being a manager at these megacorps. Imagine fixing a bug at work and accidentally kicking off a decade of bad press, memes, and legal issues because the fix was not communicated perfectly.

I agree they should have explained to the user better, but imagine how many minor behind the scenes fixes they have to fix and can’t possibly bother the user with them all. I can see how these things slipped through.
Approx 4th year CS.

It presupposes the basics of CS (such as hashing) and mathematics (such as some linear algebra). The prerequisites are CS107 (Computer Organization & Systems) and CS161 (Design and Analysis of Algorithms), which have prerequisites in turn.

The lecturers write:

> We welcome all comers — there’s a zillion courses you could be taking, and we’ll be happy and flattered if you decide to take this one.
That said, to prepare a coherent lecture, it’s helpful to have a target audience in mind. We view the canonical student in the class as a senior-year computer science major. As you can see in this lecture, we assume a certain degree of “computer science maturity,” taking for granted that you know and care about concepts like caching, hashing, balanced search trees, and so on. We also assume sufficient programming maturity to translate the high-level descriptions given in lecture to working implementations.

> Our ambition is for this to be the coolest computer science course you’ve ever taken. Seriously!
Looks neat but the real question is how well does it handle very large JSON files, like a 1 GB file. The only JSON viewer I've found that can remotely do that is Firefox (it completely freezes while loading the file but it does eventually succeed).
> I've been writing C++ GUI apps with gtkmm for more than 22 years

How did you resist Qt?
Sounds like the physicists maybe mixed up the concepts of correlation and causality.
For me it looks like a more pleasant, productive and safer native language than C++ with emphasis on readability and safety. It's definitely inspired by other languages with similar goals but I wouldn't consider it defined by them.

One of its Co Creators @jntrnr was on both the Rust core language and TypeScript language teams which was how they were able to build the first rust based compiler + VSCode static analysis so quickly. Once the language was capable enough they rewrote the compiler in Jakt where it's now self hosting.

Excited to track its trajectory given how fast they were able to develop it, which already has a nice development experience in VSCode.

[1] https://twitter.com/jntrnr
It's absurd, Reddit isn't usable from browser anymore. I've never seen a company deliberately destroying its product user experience like this just to feed a smaller portion of its services.

Where are the investors? Where's the board? Do they use the product? Reddit used to be in a dominating position for everything between 4chan and Facebook, why are they trashing everything to squeeze a bit of data? If that's benefitting the company (and I'm really in doubt of that) it's just in the shortest term... You'll see a small boost in sign ups maybe, app downloads, but the company's reputation is lost forever.
Fuck them cunts. Endless tales of them suddenly locking people's accounts, for no apparent reason. Sometimes leaving people completely stranded far from home or overseas.

I closed my account straight away, when I read some of the horror stories. They deserve to go bust.
Fortunately (or ironically) Apple slow adaption of new APIs and their restrictions on iOS browsers will make this effort incomplete. Or at least would force google not to push these as they want but with some cross references.

That's of course if I am not missing a point here.
Facebook has already tried payments before through Messenger, and no one really used it. I don’t really see WhatsApp doing much better.
Japan’s newly appointed digital minister is waging war on floppy disks
Looks really good.

Interesting to me is that a lot of the material you could also find in a theoretical machine learning course or in an applied mathematics course. Before seeing the syllabus I was expecting more on streaming algorithms, randomized algoriths, etc. In my experience most Computer Science students get a bit freaked out when, e.g., concentration inequalities enter the scene.

"Nothing I learned in CS has an application to industry programming" is a regular complaint in discussion on education here and elsewhere. This is a good course to point to for people who have this very limited view on CS.
The information can be useful.

Some years back I hit on a notion of how to rate websites, domains, and even TLDs based on the prevalence of specific terms within them, as returned by Google search.

I came up with a list of 100 search terms in the Foreign Policy Top 100 Global Thinkers list. I added a few searches that should at least proxy for English-language texts using frequently-used but not stopwords (the word "this" was one of those). And arbitrarily chose the string "Kim Kardashian" to represent non-salient content.

That gave me a touch over 100 terms, and I identified roughly 100 target sites (sites, domains, TLDs).

The method was to run a Google web search on each of these and scrape the reported number of hits. That meant something north of 10,000 Google web searches, which I automated with a creative application of delays (up to several minutes), running over a week or two. Anti-bot tactics deployed by Google make this all but impossible now, though there's a service which (for a price) offers a directly-queriable web index so far as I'm aware, which might make for some interesting further research.

I summarized and posted the results here: <https://old.reddit.com/r/dredmorbius/comments/3hp41w/trackin...>

But contrary to your assertion, estimates of total results even if not directly viewable through Google SERPs are* of potential value.
It's in the user menu (icon top right). If you mean for your own comments, that's a bug and will be fixed in the next update.
In Farsi we have a saying, “All the troubles are for the lame.” Bad things are correlated. It’s not fair, but true. People with the most merit are statistically the ones with the most undeserved privilege. Consider the extreme case; unborn people are the most unlucky, and yet nobody even thinks about them much.
My (heretical?) opinion is that videos are a waste of time compared to text for the majority of content and the majority of people. There are some ideas that can be very nicely visualized and some people (e.g. dyslexics, non-native speakers) who struggle with text. For the rest I think text is better.
It’s behind a paywall
If are talking about the whole device backup, Most of it are encrypted with your phone unlock pin or recovery code. Only iMessages (iirc) are not e2ee.
Interactive Server Side Rendering in Common Lisp
A particle is less like a coin with only two sides, and more like a little arrow which could be pointing in any direction.

Quantum mechanics allows you to measure the projection of the arrow along any one axis, and you'll always get +1 or -1. If the two people with entangled particles measure along the same axis, they will always get opposite results. But they are also free to measure along different axes.

The statistics of what results the two experimenters get when they measure their particles arrows along random axes in repeated trials are not the same as what you would get if the arrows had a predetermined direction all along.

Google "Bell inequality" for details.
I have this same question. I've tried using Tiktok twice. Both times I was as honest as I can be about my interests and both times it quickly devolves into stuff I simply don't care about and will never deliberately take time out of my day to seek out.

Just had a thought... is there a psychology to "idle browsing" that I just don't have? I never browse the Google Play store for apps but more than 50% of users discover my apps this way. I never browse Netflix for recommendations. I almost never browse Youtube's recommendations unless I'm listening to a playlist and want to discover similar music (while doing something else).

In almost all of these contexts I discover content through word of mouth or browsing discussion forums and search for exactly what I'm looking for.
It is expensive in several dimensions to build a narrowly tailored database engine from scratch. Database engines are not modular, you can't assemble them from arbitrary parts while maintaining control of their basic characteristics.

Aren't things like LMDB and RocksDB sort of modular parts you can build databases around?
Chrome leveraged Google Web Search, itself already an established monopoly in search, to facilitate that spread.
Pretty accurate satire on most of the threads on this site. People just see “Google” in the headline and start frothing with rage. Anything but the latest Rust encrypted notes app gets strangely hate filled threads.
Did you give Firefox Focus a try? I guess it gives you Firefox Sync + ad blocking
I am a fan of CSSWizardry and yet I find this post misleading. The examples shown are ways NOT to do frontend performance engineering.

The current best performant way to load JS is asynchronously as documented at https://web.dev/efficiently-load-third-party-javascript/.

And the best way to load CSS is with Critical Path CSS + Async CSS as documented at https://web.dev/defer-non-critical-css/.

The easiest way to generate Critical CSS is https://github.com/addyosmani/critical where you may suggest multiple resolutions.

I have found https://github.com/addyosmani/critical-path-css-tools to be a great resource to master critical path CSS which improves page render speeds. It helps build fast rendering sites, sometimes even sub-second renders given you have a low latency backend.
https://www.reddit.com/r/COPYRIGHT/comments/vshypc/the_us_co... talks about a (paywalled) article that discusses this problem.

This was a Style Transfer AI - it takes a source image and recreates it in the style of a painter.

In this case, the person both took the photo that the style was transferred to, and selected the style and a variety of variables. The US Copyright office still felt that his contribution was not distinguishable from the work that the AI did.

I'll note that this is very US specific - there are a lot of counter-examples of other countries allowing for the copyright of work like this, including the EU, UK, Canada, India, etc.
I think a lot of ski instructors used to do something else. It isn’t their life career. It is seasonal after all.