skysight-inc/HackerNews huggingface dataset:
Is there a demo or video showcasing the application? It would be great to see what it looks like before signing up.
it has been rewritten using a LLM to have broadly the same meaning but at the same time having all the lines at the same lenght.
Come here to this.

Also: How did it get HN frontpage ?
I don't like where this is going. There's nothing wrong with htmx except that aggressive marketing. SPA frameworks are overused but we got there because React was pushed everywhere exactly like htmx is being pushed right now.

SPAs are useful, not for everything and certainly not for most sites, but bashing SPAs without further thought will only lead back to dark ages of smart backends, postbacks, and huge session states with impossible to scale infrastructure.

Just my 2 cents.
Compute shaders aren't available in WebGL thanks to Google, OpenGL ES does them just fine.
Ask HN: Good way to extract small parts of YouTube videos as you watch
I've been using youtube-dl for years. And https://freetubeapp.io/ is amazing. But what I really want is right in the gui where the video is playing being able to mark timecode1,timecode2 and then download just that small clip.

Flow like this: hit spacebar to pause, then press A to mark that SpotA and then hit space bar again to resume playing... space again to pause, then press B to mark that SpotB. Download and repeat again for another section in video.

Before I build myself a gui to do this, is there a good way already?
Sincerely,

The Gatekeeper.
Microsoft is doing a good job of leveraging MS365 to make sure Linux isn’t an option for business users.

Besides that, desktop Linux frustrates me in some way every time I try it and I’ve been trying since you could get it on floppy disks. The last few years it’s been display scaling. I swear every Linux developer on the planet must be using 1080p screens because the display scaling sucks. Maybe I’m just unlucky, but the settings panel (in Debian and Ubuntu) is always flaky and the fractional scaling might as well not exist.
Building walkable cities (at large scale) in the US is impossible. Not because of physics or resources, but because of politics and American voters' preferences.

Sure, there's a small portion of the electorate that wants this, but they're a minority and not powerful enough to get real change outside of a few localities.
You can make judgements on uncertain data. It is a reasonable thing to do. It just happens that, given the number of people who muck up data that should be familiar to them, I say there is a lot of misplaced confidence in how well people understand other countries - confidence that often grows because the average person has very limited material to cross-reference with because they can't read a lot of publicly available stuff.
Then we extend the vastness of our consciousness with the Borg.
The future is already here, it’s just not widely distributed.

People will catch on to the useful things it can do for them soon enough.
> But researchers should do their due diligence on the way international statistics are compiled.

Do you have some evidence they didn't?
A Better Regex Experience
There's many other "worst case" scenarios than that. One is you'll end up worse but still not officially disabled. I've been there. But I do understand wanting to take the risk. I've had IBD all my life in addition to intermittent debilitating migraines and very bad allergies, and I've been part of various trials and (completely above board) experiments with new drugs and treatments, yet in every single case it ended up causing other side-effects or problems that just added to my list of issues. Eventually I've reached the conclusion that there rarely is any "miracle cure", because the body is a complex system -- and we can't track all the individual interactions well enough yet. I've instead managed to improve my situation a lot by changing habits and diets and behaviours. I insist on working from home because that's the only way I can manage it, and I also take long walks to make my bovel "active". To name the simplest of things. Which might sound trivial but it really hasn't been.
Retro Printer
I personally think if you are at fault because you were on your phone, you should go to jail for a period of time.

5-10 years should do it.
Wait, how is bundling hardware and software sketchy or illegal? That's the entire business model of many of the world's most successful companies.
World in Data's stats from before this 2003 statistical change happened:

https://ourworldindata.org/grapher/number-of-maternal-deaths...
How would anyone come to the conclusion that an API that explicitly allows setting a global seed value without mentioning anything about thread-local state, wouldn't contend for some kind of shared resource?
Posted this in hn few days ago
https://vkguide.dev/docs/gpudriven/gpu_driven_engines/
First impression: I signed up and it looks like a text chatroom with a background image. Closed the window.
The conclusion makes the point of view developed in the post quite clear:

> Do we all collectively need the same cycle of honeymoon then toxic relationship over and over? Couldn't we just move away from proprietary social media once and for all?

The author strongly suggests artists in want of an Instagram alternative to try out Pixelfed, the fediverse alternative: https://pixelfed.org/.
> How the heck does a bug with a single quote make it past QA, let alone crash an app?

I've reviewed code where the Linux kernel documentation states the function WILL return -1 if the feature is disabled, pointed it out in code review, they merge it later (completely ignoring my comment), then get the ticket where the user had disabled the feature in their micro-kernel and the app crashes.

Sometimes, it's like some devs just don't care about the unhappy paths.
thank you for mentioning this

I don't know how to articulate it, but wherever I hear the financial analysts talking about how much work AI is going to do for us, I just have this spidey-sense that they're severely underestimating the social aspect of why anyone tries to achieve a good outcome

they think they can just spend 100,000$ on GPUs and get 10x the output of someone buying a house and raising kids getting paid a 6 figure salary
I fundamentally agree with you.

However, I’m struggling to imagine how centralised actions would work. e.g.:

* Food and food ingredients are probably part of the problem, yet lots of people in America also manage to not be obese. There are some low-hanging fruit (eg high fructose corn syrup and saturated fats), but how far to go and where to stop? Also, this would generate a huge fight with those industries affected.

* We could create economic incentives or disincentives, but give there’re links between obesity and lower socioeconomic status, this would hit poor people harder and potentially exacerbate inequality.

* Education also seems like a rational response, but agreeing the ‘truth’ to educate people with would be a difficult fight! As in, the ‘Standard American Diet’ pyramid taught for generations and supported by “experts” is arguably a very bad diet to teach people to follow, yet misaligned incentives and economic influences meant that it persisted for generations. If that dogma was changed, where to go: low carb, vs. plant-based, vs. calorie counting, vs. paleo/primal, vs. intermittent fasting…?

And ultimately, as we saw during the pandemic, large groups of people are able to be stubborn and make scientifically bad decisions, especially in this world of ever-more polarised politics. You really think the anti-maskers will cope well with centralised (“communist”) meddling with their freedoms around food and drink?
My perspective is it’s a couple things. Mainly because it’s backed by several implementations with market pressure to deliver high quality working implementations (wgpu in Firefox, Dawn in Chrome). Not saying bgfx or others are bad, but the Chrome team will be putting in a lot of work for you to make sure Dawn works well everywhere Chrome needs to be. That plus it’s super portable. First time in a long time that we could truly be looking at a “write once run anywhere” GPU API. It also fills OpenGL’s niche by being much more approachable than Vulkan. I guess this really just adds up to it being the “OpenGL 2” a lot of people have been wanting in light of Vulkan’s complexity and weaker portability.
Originally you say it was a kind of kiosk operating system that ran a Web browser with Google apps deeply integrated to enable things like a little local file storage.

Some years ago, they enabled you to access a real local Linux operating system, and install and run arbitrary things.

I think but don't know that local Linux gives me a container or windows subsystem for Linux vibe.

It's sufficient to use a chrome book as a local dev machine, and I think googlers do that daily.
> Also graphics response in terminal are blazing fast, and compared to whatever is happening in the Apple, MS and Gnome GUI environment that are just getting sluggish by the version upgrade

Gnome is far from slow, and doing it properly matters. Sure, you can also have mouse and whatnot integration in a terminal.. but it becomes questionable.
Well yes, of course. The way the different angles are computed isn’t intuitive. If a ball bounces off a table, it doesn’t change direction from its normal reflected bounce just because it didn’t hit the center.

That’s why I’m suggesting there must be something that guides the idea that hit position changes the angle. If the paddle was actually parabolic, and just drawn as a rectangle, that’s an intuitive reason for the different reflective angles.
World Modelling (2015) [video]
We’re building https://rx.run so you don’t have to think about these sorts of things and can just ship your app.

If you can write a function, you can deploy to the cloud. No infra or deployments to configure or manage. Storage, auth, payments, and more are all built right in.

Currently in beta and TypeScript only but support for all mainstream languages coming soon.
- Have you worked there with the average salary?

- Have you met the reality of working class people there?

- Have you stayed on a touristic city or on industrial areas?

- The real criminals are people from Spain, speculative funds and tourists from all over the world buying property here and not using it. They steal to everybody.

Then we can't hire people for our business because people can't find rent. We aren't paying low, the problem is the crazy rent market.

Banks own 80% of not used living places in Spain. Tell me who is the burglar. Real okupas only squat in this places, I know a lot, and surprise! Banks will get you out faster than anyone else but keep their property unused and rotting. Because they don't care about houses, they only care about land.

Spanish constitution states that housing is a human right. That's the difference. If someone enters to your home, people will bust them, if someone enters to your speculative bargain or summer whim, good luck, people want to live.
It's worth watching, but tl;dw he used an LLM to pick words with similar meaning that make the lines the same length.
I live very close to the one in Italy (close to Turin). It's SO impressive. The early cathedral was built around the year ~800AD. And it was not "built" in the sense that they placed bricks one over the other. Instead, what they did was "cut" the stone of the mountain to shape it as a cathedral.

The steps of the stairs are just cut and shaped stone, the walls are just stone. It can be summer and 90degrees in Turin, and inside the cathedral is 30 degrees and so chill.

If you ever find yourself close, go visit it, it's a very humbling experience.
Towards Federated Key Transparency
Yea I know your pain when it comes to display scaling on a 3840x2160 monitor.

I use Kubuntu and found that if you set display scaling you need to restart to properly have the settings take effect. I normally have it at 150% scaling
this is absolutely great, multiplayer version?
> That’s breaking their spirit but it’s essential for them to become adults

If being an adult, is a human with a 'broken spirit', that may well explain many of the problems with modern society.

> do a bunch of work you hate

How about we encourage people to use the skills and passions they have, rather than box them into conforming to the vision of the few ?
I think the quote from Linus is spot on.

"Linux fanboys have ruined it’s (Linux's) image. Most of them take pride in doing simple things in an over complicated manner and wonder why people won’t switch."

(Couldn't find the source, Linus might not have said this)
Canonical could literally have made it happen if they had kept their great product focus on desktop users..

Don't know how much of their failure to do so is the need for a business model, vs. just crap decisions.
Contrary to urban myths, non-xbox consoles aren't that found of Khronos standards either.
It's one of a billion of "Here's my proposal for improving Linux: Make it like Windows!" articles that keep getting written, and have been written for 20+ years now.
Window management is fine, what is missing are half-split/full-screen shortcuts. There are many apps which can set them up, but a built-in possibility would fix most issues, since only a very small subset of users cares about tiling wm even on linux. Though, there was a new project the other day on HN, where SIP can remain on: https://github.com/nikitabobko/AeroSpace

I, for my part, have configured window placement shortcuts in Hammerspoon (also possible with KM, BTT and a what feels like a million of other apps) and am completely happy. I mostly look at the maximized terminal anyway, the splits do happen in neovim and tmux.
I'm stuck on the loading screen on firefox desktop.
Also works for drug design! Add a methyl group here or there, and presto, a new drug that probably has the same target and yet is new intellectual property!
IMHO having a good desktop linux distro (or a proper desktop linux experience) doesn't have to correlate to a gold mine, and I'm not sure why the author conflates the two.

If the linux desktop space is advancing so slowly is precisely and because of the opposite: because desktop linux is made and maintained by a bunch of people who do it for free.

Alas, valve has done a pretty good job with proton and steamdeck which is helping the ecosystem. here's to hoping wayland and nvidia drivers 555 with explicit sync[1] we might get something decent next few months.

https://zamundaaa.github.io/wayland/2024/04/05/explicit-sync...
Is there a reason why the RNG function would not be able to simply take the random seed as one of its arguments?
I like a lot of this article, and broadly agree that Linux Desktop _could_ take off in a bigger way if people like me and you started putting open source developer time into making good apps for it.

However, I think the author vastly overestimates the current state of the art by conflating Andriod and ChromeOS with Linux.

Yes these are technically Linux distros, but their entire environment is build on a stack (JVM or Web) whose purpose is to make the fact that it's a Linux distro as irrelevant as possible.

A world where JVM GUI apps or Web apps rule the desktop market is not quite the same thing as "Desktop Linux" taking off. However, web apps ruling the desktop market does have the interesting side-effect that it makes the barrier to using Linux a lot lower than it was in the past, so there's that. The fact that it implies "Desktop" is dying doesn't help, though.
Yes, exactly right. Because they don’t work that well in this interventionist mode when they are prescribed to already treated patients.

The study you shared talks about primary and secondary prevention in a clinical setting. So this is for people who either have heart disease or are likely going to develop it. At that point, it seems like it is already too late and I would say primordial prevention[0] is better. When I say prevention, I speak as not a medical professional, and I mean it in the common sense of the word, which aligns with primordial prevention.

There seems to be extensive research that they work well if prescribed preventatively decades in advance, and it’s covered in a few recently popular books by doctors on the topic of lifespan vs. healthspan. For example, Outlive: The Science and Art of Longevity by L. Attia.

Moreover, the study you quoted shows a 9-29% relative reductions of the outcomes. About 1% is absolute. For the entire population, 1.3% fewer will die from a myocardial infarction. But it is a 29% reduction in the sub-population that would die from it. And those are fantastic results with only primary and secondary prevention. Unless I misunderstand something.

The study you provided is relevant and valuable for critical reading of such books as the aforementioned. Thank you.

[0] https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4349501/
The fittest american cities are roughly the most walkable ones. Its gonna take a few generations to reverse sprawl
Isn't the iot version of windows free?
Ask HN: Why Does FreeBSD Default to Csh/Tcsh? Exploring Its Advantages
While I'm not a csh user myself, I appreciate the diverse approaches to shell scripting.

I'm curious to hear from csh users – could any of you share the advantages of using csh ?

https://www.tcsh.org/
I picture Mark Shuttleworth furiously writing notes after reading this article.
A quartz shield doesn't help if it gets coated in iron by a hot plasma. I think the only solution would be sveral shields you can jettison.

The glas used would probably be ok if the flaps held up.
Until you get some sort of grass roots movement or large shift from Windows or MacOS, Linux desktop shells will always be niche for the foreseeable future.
The two are in conflict:

> This one really annoyed me. I mean. Canonical knows for a fact that everyone is going to install these codecs anyway. Why not include them to save the end user some trouble ?

> not be as scummy as Google, Apple, or Microsoft

People want the easiest possible thing, but Evil Corp wants the easiest possible thing to be the thing that screws you. The reason those codecs aren't installed by default is because of legal restrictions. "Just STFU and make it work" often involves requiring the user to agree to something which is bad for them, and putting at least a minimum amount of friction in the way of that is a good thing.

And it also puts the friction on other people. If the codec isn't installed by default and then someone else is using it, you will notice this instead of seamlessly using the proprietary one, and possibly complain to them and try to get them to use a free codec like AV1.

The cost, of course, is that it's a minor deterrent to adoption. But the endgame of valuing market share over principles is Microsoft.
is there any sign whatsoever that notarization is the latter instead of the former?
Many other places. Holland is in general unnaturally flat. So many transportation problems vanish when you never have to worry about going uphill at all, or downhill too fast.
Oracle Code Assist: AI companion to boost developer velocity
His app appears to be written for Haiku, which is a BeOS clone. It might not come with the right codecs or embedded WebView you'd need to run YouTube. And even if it did, booting a whole browser to display a video invariably will add latency.
And yet the people of Europe individually chose to use social media that abused their privacy. You're making the case for collective action.
Made this mistake on a few collections on my app.
Still regretting to this day.
Interesting! Is there a way to center the content of the bar on the screen? The split is very cumbersome to use on an ultrawide display and I'd be happy if there was a way to put the content on the middle 3rd.
> Who can we compare it to in that case, UK, Australia and New Zealand?

Australia and New Zealand live upside down, you can not trust any of their data.
That's fair, my comment did understate their relation quite a lot. They are very closely linked, to the point stuff has been added to the WebGPU spec pretty-much because "eh, it's already in wgpu".

But the "knowledge is transferable to WebGPU" is key. Even when you're compiling your wgpu code to WASM, you're not using WebGPU directly - for every API call, you're going through generated bindings on the Rust side and then generated bindings on the JS side where the actual call is made. The JS wrappers aren't trivial either - Rust structs need to be converted to the nested JS objects required by WebGPU spec, numeric enums need to be converted strings, etc.

Considering that WebGPU is supposed to be the low-level graphics API for the Web, DX12/VK/Metal equivalent, all this is at least worth a mention, and "wgpu == WebGPU" brushes over a all that, to the point where we're now casually throwing statements like "[WebGPU] is guaranteed to run anywhere, including the browser".
Windows has a kiosk mode these days... I don't know much about it, but I suspect os-level support is way better than just running a full-screen app.
Opinionated == installs a lot of shit you'll probably never use.
Show HN: A Space for Your Internet Links, Each Link with a Description. PWYW
More concretely, Tom7 built a typesetting system (think TeX) that doesn’t only use the bounding boxes of words, or possible hyphenation to align justified text. His system allows for the text to be rewritten via an LLM if rewording would reduce excess spacing compared to the original.
> but on this older intel GPU for a user with outdated drivers it segfaults in the driver

Implying that up to date Intel drivers don't segfault on perfectly valid OpenGL use.
My parents (both over 80) daily use Linux Mint for a decade now.
They don't know it, simply last time we bought them a PC I put it there, explained how to open the web browser, play solitaire/FreeCell/whatever other game they like, how to shut it down etc. I live in another city and I almost never had to adjust anything there in all these years, differently on what happened when they had windows (they unknowingly installed a lot of spyware and bloatware, I had to clean it up periodically).

Still, for me this is one of the few experiments that went well, probably because the only "complex" need they have is a web browser. Now if a friend (not a technical one) needs a new computer advice I tell him to buy a second-hand MacBook and enjoy. No one ever complained (in fact all compliment me for the choice). The vast majority of users is not like my parents, has some specific needs, like they need Microsoft Office, or Photoshop, or they play on PC and still don't want to face the challenges you need to overcome if you want to do everything with Linux.
I would never use MacOS on my PC (not because it's not good, just because I'm a FOSS maniac), but it's the perfect operating system for casual users and even for many power users. The only rule I adopt for OS advice is "avoid Windows unless you are actually forced to use it (gaming, specific legacy programs etc)".
can't speak to the OPs situation, but I remember a case in mobile apps where if you wanted to let people log in with facebook you needed to depend on the facebook sdk which necessarily blocked the cold start of the app while phoning home, for analytics purposes naturally

I think this became a discussion item because facebook servers briefly went down and a bunch of apps wouldn't open

If I'm remembering it wrong, consider this a hypothetical scenario :)