skysight-inc/HackerNews huggingface dataset:
What would you say is state of the art for Rust-native text rendering on the web?

I'm aware of ab_glyph, used by e.g. https://www.egui.rs/ but it looks noticeably non-native to my eyes. For one there seems to be no hinting. So text ends up blurry at 96dpi, and since a glyph stroke is thinner than a pixel the text always appears slightly faded, never able to reach fully black or white.

I wish these libraries would just use native APIs on each platform to render text, then all these problems would already be solved by the OS/browser. Though I'm not sure if the web has good APIs for that.

Maybe there's something better in Rust these days that I missed?
> Only for a small part of the population is programming in itself an end.

What about in absolute terms? How many millions of developers would write or run code on their phone / tablet if they could?
"CodeWhisperer automatically filters out any code suggestions that are potentially biased or unfair and flags any code that’s similar to open-source training data."
They already use regional and national emergency warning systems, which are tied into all of those things already.

They were additionally doing Twitter, not exclusively.
That does not mean that governments are not doing it as well, or that we should discount their practices just because corporations are doing it a lot as well.

Even just the fact that the US army allows Hollywood directors access to military equipment with a say on the script as an exchange, so that they can brainwash young uneducated men to enrol and go fight an imperialist war in some foreign country could easily be labelled internal propaganda.
The key is that the length of IntStream.rangeClosed(a, b) is just going to be equal to (b - a) + 1.

So there's actually no reason to even invoke the streams API there.
> why wouldn’t you also change the damage and other related numbers (such as damage reduction and so on) to percentages as well?

Because a sword might do 5HP of damage, not 10% of anyone's damage (whether they've got 50 or 5000HP). Otherwise, hit points are meaningless: 10 attacks with a 10%-damage weapon kills a lowly serf or a mighty dragon.

And because damage reduction might reduce a fixed amount of damage from an attack. Etc.
>In the tech world, 8 years is already practically a lifetime.

I feel like that was the case in the 90s and earlier, but now? An 8 year old computer is quite capable of doing the kinds of basic browsing that most non-geek users do. But without the newest macOS, they are open to security vulnerabilities.
I'm going to bring this up next time people want to talk about Hexagonal Architecture: https://en.wikipedia.org/wiki/Hexagonal_architecture_(softwa...
Elon Musk buys ten thousand GPUs for secretive AI project
I thought you could boot into test mode to run unsigned drivers (or did they get rid of that?).
The author has a link in the mastodon post. I was simply quoting the article and some of their other threads.

There is a lot of fluff in general, but experience is the best teacher. I'm convinced personally that it helped speed up my recovery, but then again who knows if it is gone for good. That's the vicissitudes of life for ya.
Congrats on the launch!

I created Mito, a spreadsheet the lives inside of Jupyter. We've seen a ton of our users using Jupyter and ChatGPT playground side by side.

We're also experimenting with bringing chatgpt into Jupyter through the Mito spreadsheet.
(https://blog.trymito.io/5-lessons-learned-from-adding-chatgp...)

Looking forward to trying this out.
$30/mo for 20Mbps down/1.2Mbps up

Spectrum (aka Charter) near Louisville, KY

Grandfathered Time-Warner ELP (Everyday Low Price) that was originally $15/mo for 3Mbps down/1.2Mbps up

I could get 300Mbps up/down from AT&T for $65/mo, but that is only a 1-year intro rate and puts me on the "call AT&T every year to protest price hikes" treadmill. That's the reason I switched from 50/10 service years ago with Time Warner to ELP.
It's not promoted well. Relying on open source contributions to the ecosystem to keep it going also removes its "first-class" branding.

I've been using F# as a cross-platform Python/Bash/Powershell replacement. I've never heard or read about anyone else doing this, but it works super well in this use case for me.

People seem scared of functional programming languages, seeing them as difficult and impractical. I tried (and failed) learning Haskell three times, but F# makes writing very little code to accomplish a whole bunch easy, due to being able to use .NET libraries, and there's not really that much syntax to learn and the tooling (Ionide, Rider, VS) is great, e.g. run/debug works out of the box.
> Because numerators and denominators can blow up easily, rational types effectively require storing them as bigints. That makes them bad from a performance viewpoint.

While hardware support for full number towers might be neat, I don't think anyone is suggesting that int and floats should not have language/standard library support - only that there should be a blessed option for precise arithmetic.

Usually the slow correct answer is preferable to the quick wrong answer (esp in business logic).
No, that's increasing the precision, not accuracy. Many imprecise measurements can be averaged to a more precise measurement.

Say we had a perfect ruler to measure the length of something. It's absolutely precise and accurate. All measurements from it return the exact, same value, and preternaturally we know it's the "correct" value.

Now say some bandit comes in while we're not looking and adds a small chunck of diamond to the end of the ruler without telling us. Our ruler is still precise, but no longer accurate. If we take many measurements with it, they always come back with the same value. Averaging those values does not improve the accuracy at all.

Alternatively, say the bandit starts randomly changing the temperature of the room we are in. Thermal expansion is constantly changing the length of the ruler. The average length of the ruler is still the same, so it's still accurate, but it's no longer precise. We could average the measurements we take with it and get a more precise measurement.

What the central limit theorem says is that the averages of our measurements will be normally distributed, even if the change in temperature is not.
I'll answer this for you since people circles around it:

For people without need for sharing, use cloud storage. Make sure to use an app that protects from writes from different clients though.

For people with need for sharing, you are doomed. (e. g. Family sharing)
No idea. I've read stories about people getting CTs showing damage and others showing absolutely none. A very, very strange virus.
Stephen Wolfram talks AI, the universe, Richard Feynman and life advice
It reminds me of Aristotelian physics’ perfect ætherial heavenly bodies. Ironinic they were on the terrestrial sphere in the end.
The apps work similar to a browser, so we don't need access to the website's source code. And yes, for Android you get the aab file you can upload to Google Play. For iOS, we upload the app to your developer account for you, since that's the easiest way there.

We obviously don't inject malicious stuff since that'd ruin our reputation immediately (& open us up to lawsuits). I could see that happening with free app builders, but we make our money from subscription fees, so we have no need to turn to such illegal stuff to monetize the apps.

Even going open source wouldn't solve the issue, since most customers wouldn't be able (due to lack of technical knowledge) to compile the app themselves.
Mochi: Modern Anki replacement for spaced repetition
Given that it's possible for this tool to work, doesn't that mean Apple's choice to not officially allow the installation of new operating systems on these old computers had zero technical merit? What reason other than greed did Apple have for making that decision then? And how does "we're arbitrarily restricting what your old but still functional computer can do, so that you'll throw it away and buy a new one" square with caring about the environment?
It's a pity that tfjs never truly developed any decent ops. E.g. you need lgamma to implement the cap for zero-inflated poisson regression and tfjs simply doesn't have that: https://github.com/tensorflow/tfjs/issues/2011
Those guys simply dropped the ball on the floor, and the further framework development fizzled out.
I tried to find if WebGPU could be a replacement, but it's very hard to find a good description of the API surface. MDN also doesn't seem to help much – https://developer.mozilla.org/en-US/docs/Web/API/WebGPU_API
I really hope that one day I'll find something similar to pytorch, only in typescript. Tell me I'll live long enough to enjoy that day.
1. 80s computers were basically a mechanical keyboard connected to a low resolution CRT display (typically a TV). Text entry was the default. There was no GUI or pointing device. For smartphones, text entry isn't the default.

2. In the 80s seeing your choice of text on a screen was something really new to most people. Teletext would not be universal until the end of the decade. Nothing in the house had even a text display. Calculators were numeric only. These days, everything has a display.

3. There were no polished programs to compete with. A lot of early games were very simple. There was no App Store or Steam. You could write a Tic Tac Toe game never having seen a commercial implementation. Even if it was bad, your friends would be impressed.

If you want inclusive coding, Scratch is the world’s largest coding community for children - https://news.ycombinator.com/item?id=35373052 . The 40 characters wide Basic terminal was of its time.
But your bank also doesn't reward you for your situational-awareness skills, or give you a way to make even more money if you could somehow develop inhuman reflexes.

At least mine doesn't.

(Edit: to be fair, if I had been a little quicker on the draw when Schwab accidentally transferred $60+ million into my account several years ago, I might not be making this particular counterargument.)
It's true that it's a bit of an expansion of the word "business", but it doesn't really mean "something to do with commerce". It's just the parts of the code that handle the rules of the system that directly enable the user's goals, and not any of the auxiliary, supporting infrastructure. So for a DAW business logic is pretty broad, true, but it would be stuff like, faders or muting a track and the effect on the mix, whether you can copy-paste a snippet of audio, and routing audio through plugins. And not things like the file format of a project, or the code that interprets hardware interfaces.
This is what I had hoped Anki would eventually become. I'm sure there are some advanced features that power users are going to miss in Mochi, but for my simple "don't forget things I want to remember" Mochi is perfect.

- Creating new cards is much easier
- Great cross-platform & mobile support
- Modern, easily usable interface
> My wife is an exec and most of her direct hires are clueless as to their worth

I like how it's assumed your wife or any other exec reliably knows their worth.

> One of her direct reports got a promotion and when another found out, he complained. Meanwhile, he did less than half the work of the other.

Metrics used for measuring amount of work done are reliably unreliable in many fields.
There are multiple explanations for why cross-platform toolkits are kind of awful. I'm treating "cross-platform toolkits are kind of awful" as an observation here, because I've used them, I've worked with them. And my measurement for awful is poor UX, relative to native apps.

Different platforms are just slightly too different from each other to make it work well. So you end up with a bunch of cross-platform apps which are built on things like Electron. You more or less reject platform expectations for how apps should work, how they should look, or how they interact with other apps / other parts of the system.

You end up with stuff like Spotify or Discord.

Thing is--if I'm getting work done with this app, if I get paid for working with it, I'm going to pay for a better experience. Instead of using GIMP, I'll use Procreate, Photoshop, Pixelmator, whatever. Maybe I'll use Notepad++ or BBEdit. Maybe I'll buy Pro Tools despite its cost, or maybe I'll buy a Mac just so I can use Logic.

It is costly to just reimplement your UI for multiple platforms, but that's where the "closed ecosystems" come in. React Native is kind of a compromise between the Qt-style approach (cross-platform UX) and the native approach. You're given a framework which works with multiple native toolkits, and you can have a mix of cross-platform UI code and platform-specific UI code.
> They are using canvas & webgpu, & making their own rendering engine (borrowing Skia) to take web apps from part of a participatory open ecosystem where extensions & user-agency work, & turning the page into a giant animated screen.

This is effectively what Flutter does on other deployment targets as well, building a framework and high-level primitives on top of the host's low-level primitives, and in the process abandoning everything good about native frameworks and primitives for the sake of a Google-controlled runtime.

It's why Flutter apps feel so janky and awkward, and the same will be true of the web runtime.
Agree (at least for non-personal projects, where I might be more inclined to use Option/Result types). Wherever possible, I use null as an explicit value when a reference is present but not currently assigned a value, and treat undefined as absence of a reference. I try not to even use the undefined keyword if possible (which is sometimes necessary in types, but I can’t remember the last time I used it in runtime code).
Look at WebGPU. Still a WIP, but it shows that you really CAN provide a performant cross-platform... platform if you're really thoughtful about performance
Why exactly would programs running in web browsers not want the ability to access the most powerful piece of hardware in a users machine? WGPU unlocks an enormous amount of space for userland programs to explore.

I agree there have been some questionable 'advancements' in the web spec recently (web workers as a solution to multithreading, for example, were hilariously inadequate for quite a while), but as far as I can tell WGPU is a solid effort to unlock browsers as an actually interactive platform, instead of the fairly static image/text display devices they are today.

Maybe our visions of what browsers could or 'should' be are different
Long Covid Appears to Have Led to a Surge of Disabled in the Workplace (2022)
The role of eccDNA in cancer is not a particularly new concept. However, studies like this are important to further elucidate cancer-promoting mechanisms.

Additionally, the use of artificial eccDNA holds a lot of promise for genetic enhancement in many forms of life from humans, to livestock, to plants.

Essentially, we could create artificial chromosomes which express useful genes or have inverted repeats which deliver siRNA to silence other genes and viruses.

Similar to plasmids, except would have much larger payloads and ideally a heritable mechanism, perhaps by tethering against native chromosomes via zinc fingers, viral-encoded protein, or AT-hook motifs.
How do the costs not apply to the tens of thousands of lives that could have been saved?
Likely because their workers likely use HN, and their HR sent out an email.

It's yet another company tactic.

Like steam pages being owned by the game publishers and so banning users for anything negative.

Or like movie producers having everyone who worked on the movie in any capacity rate it 10/10 on IMDB and some write 10/10 reviews that 'saw the movie at [obscure festival]', has full names of everyone involved '[ditector] was amazing and deserves all awards as does [actor 1]. [actor 2] was oscar worthy [1st-time actor] gave the performance of a lifetime! [gaffer] also worked on [obscure film].'

Three days after release it's now at 4/10 and only because of the high starting point of 10/10.
Don't know anywhere you could get that for $100, but if you wanted to get hardcore about making that a reality you might be able to convince someone at a science center with one of these to make immersive challenges aimed at adults -> https://www.shudiscovery.org/programs-education/group-progra.... You'd probably have to offer to do at least some of the work/figure out how to make it happen and absorb that cost to have a chance of convincing them, doubt many people would consider funding anything like that.

Elite Dangerous in VR with a HOTAS is a more achievable way of scratching some of that itch. Might be VR games closer to what you're looking for, but it's the best spaceflight simulator I know of, though it's an unrealistic/sci-fi one (but it does recreate the entire milky way galaxy, which is awesome)
That's no different than if the president of the US used his power to acquire money. The only difference is that in Singapore the law itself has been corrupted to allow it.

Corruption, and even corrupt laws, exist in democracies too, but in a non-democracy all laws are inherently corrupt. Non-democracies have no legitimate basis for even having laws.
Here are instructions how to get much cheaper sandwiches: https://youtu.be/jtqpuYvOfHY
This is exactly what this is about. They are trying to make legal mass drag net surveillance and censorship. The key here is legal, they are already doing it covertly. There are plenty of murmurs this was done on purpose to set the excuse in place for restrict act, etc. Do you use a vpn? 20 years or a million dollar fine. Do you use tor? How about encrypted email? Signal? Crypto currency?

We look more like china everyday.
The developer behind this is Ben Feist, he built this as a hobby project (at the time his day job was in advertising). It inevitably did lead him to a job at NASA working on data visualizations.
Every now and again I think about changing to something else. Most likely a static generator because there are things about Blogger that I dislike (its handling of images, for example) and then I think two things:

1. I'll have to spend forever messing around getting the import right.

2. I'll discover things I dislike about $NEW_THING.

And so I stay with Blogger which, apparently, I've been using since 2005! Maybe now that it's been 18 years it's time for a change? If I did change, what should I use?

At some point I looked at using Hugo and discovered that there are four different "import from Blogger" tools. No idea which one is the best/works etc. so I was put off.
>> creating space to recover from burnout in one area of my life, while coasting in others, then rotating until I finally had the mental and emotional space to plan my full escape

This has been my experience as well. But I started through an easier path, by working out and improving my health.
It's sad for developers, I guess ;)
Who says it needs to come from Discord? These aren't heavily encrypted communications. I don't know if it's still the case, but Discord used Google at one point. Enough said.

The sheer scale of data generated means they are unlikely to ever successfully identify an account if that's their intent.

Where's the difference between a consumer that joins a lot of servers versus a contractor who joins a lot of servers? Where's the difference between a consumer that joins a specific server and a contractor that joins a specific server? There isn't one as far as monitoring them goes, unless they're coming from IPs known to not be civilian IPs, which is an easily solved problem for anybody to not be discovered.
Incompetence or happy to let it happen.
For something like KeePassXC, sync your kdbx file across all of them with your choice of cloud drive. Secure it with a key file you manually add to each of your devices but do not include on your cloud drive and a good password.
Sure, but you shouldn't need to develop on the phone itself. Where's an Arduino-like IDE that I can run on Windows or Linux to develop for iPhone? Should just be able to connect a USB cable and go. Where's the Python support?

Of course smartphones are mainstream so most owners are users not potential developers.. unlike the late 70s/early 80's computer scene which grew out of the hobby electronics scene where the early users were much more technical. My first computer came as a kit - bag of components and a motherboard - had to get out the soldering iron to build it.
bool is_alive(const Entity* unit) {
return unit->hp > ZERO_FLOAT;
}

Super easy…

Likewise I’m with you, the more I code, the more I see these kinds of things as bad design choices. If you’re going to deal with a type, keep it that type. If you’re going to convert, you need to take care of edge cases like OP. And don’t just add 0.0001f; that’s an exploit waiting to happen by someone with a macro to pickup/drop relics.
> These lies are knowingly spread

I'm not sure I understand why it's important that your average person has a completely accurate understanding of which guns blows out lungs and which guns only puncture them. Getting shot by any gun will probably result in a permanent injury of some kind, to say the least.

And that's not a position on gun rights, I won't state mine just to keep this thread on topic.

This sounds like a molehill being propped up as a mountain to distract and derail people from addressing actual topics.
>It's a computer I paid over £3,000 for, that got cut off 7 years after release

"after release" isn't even the metric we should be using. Rather we should measure starting from when the machine is _no longer sold_. Take the "Mac Pro 2013" (aka Trash Can Mac). It was introduced in 2013 but for sale by Apple until December 2019. macOS 13 Ventura, released October 2022, dropped support for it. That's only 3 years of support!
Baseless :)

My man, if you don’t know that businessinsider is not a real publication, and are fooled because it has business in the name, then your perspective is so far left that there’s just no getting through. And that’s OK.
For things that, historically, didn’t require any additional authentication, both macOS and iOS are moving in that direction, I think.

On MacOS, applications by default don’t have the right to read your disk and show a list of files, they have the right to ask the OS to show a dialog that reads your disk shows a list of files, lets you pick one, and then grants that application the right to read that one file. Similarly, for saving files, the save dialog runs under OS control, and grants an application to write a single ‘file’ (which, on macOS, could be a directory containing multiple files)

Similarly, on iOS, apps can’t read photos, but can ask the OS to show a photo picker.

MacOS (¿still?) has system preferences that allow users to disable such checks, though, granting full file access to certain apps, for example, and also will ask users to grant apps the right to read entire file systems when they try to do so.
The problem I've encountered with several older Apple and Android devices is that the hardware works just fine, and the older version of the OS also works well enough, but more and more apps begin to require a newer version of the OS.

When I can't install, upgrade, or use these apps by normal means, the usefulness of the otherwise-fine device dwindles.

For the apps I've experienced this with, I don't even think they truly need the newer version of the OS. I imagine the developers just wanted to reduce testing and customer support overhead in most cases.

For any app functionality that may actually require a newer OS version, I'd probably be just fine if that functionality were disabled/unavailable on older devices, especially if it let me use the rest of the app.