skysight-inc/HackerNews huggingface dataset:
> that's my editorializing; all apps SHOULD be web apps

Jesus god, no. I like having excellent accessibility features that actually work and not seeing my battery get mugged and left for dead.
> the official Rubik's cubes are very poor quality

That used to be true but hasn't been for years.

The Rubik's branded cubes (e.g. that you can get a Walmart) now have decent, fast action and real plastic faces rather than stickers. They don't have the beveled inner corners for the smoothest action, but are usable.

I've seen YT videos of people solving them in 20 seconds or less.
Curious too. I follow Lunatic [0] as a candidate for future use, and also wasmCloud [1].

[0] https://lunatic.solutions/

[1] https://wasmcloud.com
If you limit yourself to the recommended ones they're supposed to be reviewed by a human and subject to some amount of guidelines - https://support.mozilla.org/en-US/kb/recommended-extensions-... and https://extensionworkshop.com/documentation/develop/build-a-...

Personally I do try to limit the amount of them I run, stick with recommended and take at least a glance at the source from time to time, but it would not defend against version updates or good efforts to obfuscate bad code.
I do feel at least somewhat confident that for recommended extensions with substantial usage the internet would surface funny business quite quickly.

But yes, I would love for some independent third party to have some review program! Unfortunately it's not clear how it would be funded.
Where is still on break? I think most schools around here started the better part of a month ago.
I don't know why the article doesn't mention it but most of the product is already premium: it's grass fed (and often grass finished) beef. It's low carbon because the ranchers don't need to buy them much food, but it's not a sustainable alternative for most of the country.

The ranch I buy my annual half-cow from runs a sister ranch in Wyoming and they claim a 2:1 ratio of energy input to output in kcal simply because the cows roam. It's almost $5,000 for an XL whole cow though (compared to $2,000-3,000 elsewhere), so it's definitely an upmarket product.

The GHG cost post slaughter depends too much on customer specifics though. Shipping half a cow to a single customer California is a lot worse than shipping 10 tons of beef to a supermarket or a large group of buyers.
Microsoft Guidance for LLMs is not active anymore
I got to jq for the same reason I go to regular expressions. If you tell me this is too complex

(?:[A-Z][a-z]+_?(\d+))

Then I don't know what to tell you. Do you think that's too complex and should be a python script too? I don't think so. It looks complex, but if you just learn it, it's easier than a 'simple' script to do the same thing.

I'd argue it's good code if you don't have to sift through lines of boilerplate to do something so trivial in jq or regex syntax.
Unless you're Chinese, right?
https://www.nytimes.com/2021/05/17/technology/apple-china-ce...
Zig is fast, promising, compatible with existing C libraries, and relatively barebones. The language itself may not be ready for production, but the binaries built in the language work just fine.

If Zig dies tomorrow, bun could probably continue using it as-is, perhaps after fixing the bugs they encounter. It's "the API and language spec isn't complete yet" unstable, not "we haven't implemented floating point operations yet" unstable. So far, only the allocalypse has caused major grief in terms of language changes, as far as I know.
A friend in grad. school would put obvious glaring errors in his preliminary drafts of write-ups so the prof's would then be happy to correct these, feel they'd done their work, and move on, avoiding any actual substantive criticisms requiring actual work on his part to fix.
Mdi-Selector
This is vue 3 material design icons picker
Lockheed-Martin gets into the fashion business
I wonder what bias the "Cowboy State Daily" has.
Async actually doesn’t require sync/send. This only happens if you have a work stealing runtime like tokio. However, single threaded runtimes are possible and do exist. Work stealing is appropriate for some use cases, thread per core designs for other use cases.
Average angular apps take at least 4 min in release mode on machine.
I think the persons behind Rust are working on a particularly hard and complicated problems, so I don't want to say that async Rust work is bad. I would instead say it is complicated and hard to understand and use casually, instead.

Async Rust is many language features and behaviour all interacting with each other at the same time, to create something more complicatedly than how you would describe the problem you're actually trying to solve (I want to do X when Y happens, and I want to do X when Y happens × the number of hardware threads). When you're using async rust, you are having to think more carefully about:

* memory management (Arc) and safety and performance

* concurrency

* parallelism, arbitrary interleavings

* thread safety

* lifetimes

* function colouring

All interacting together to create a high cognitive load.

Is the assembly equivalent of multithreading and async complicated?

Multithreading, async, coroutines, concurrency and parallelism is my hobby of research I enjoy. I journal about it all the time.

* I think there's a way to design systems to be data intensive (Kleppmann) and data orientated (Mike Acton) with known-to-scale practices.

* I want programming languages to adopt these known-to-scale practices and make them easy.

* I want programs written in the model of the language to scale (linearly) by default. Rama from Red Planet Labs is an example of a model that scales.

* HN user mgaunard [0] told me about "algorithmic skeletons" which might be helpful if you're trying to parallelise. https://en.wikipedia.org/wiki/Algorithmic_skeleton

I think the concurrency primitives in programming languages are sharp edged and low level, which people reach for and build upon primitives that are too low level for the desired outcome.

[0]: https://news.ycombinator.com/item?id=36792796

[1]: https://blog.redplanetlabs.com/2023/08/15/how-we-reduced-the...

Note: You can use async Rust without threading but I assumed you're using multithreading.
PG&E Induction Cooktop Loaner Program
The JEP to remove it chronicles the rise and fall of java.security: https://openjdk.org/jeps/411
I thought his point was async is not good for apps with lots of work to do, and that green threads are a much better idea. IDK.
I think they just missed the word "that" before "lithium-ion batteries".
Refusing TypeScript is a signal that you don't care about code quality
No, it's a problem because the formats are fundamentally incompatible and it's impossible to infer the author's intent. A package with no imports/exports or requires could be either ESM or CJS and no heuristic can solve for that reality.
iOS has changed over time, such that silent mode affects notification and interaction sounds but not multimedia - I can still listen to music or watch videos regardless of whether the phone is on silent or not.
There are ways to call both from both for sure, but my point is if you don't want any async in your code at all...that often isn't a choice if you want to use the popular web frameworks for example.
It's nice being able to make an expensive purchase with my credit card. My savings are a lot more than 10% of my annual income.
> As fun as it is to hate on JavaScript, it's really interesting to go back and watch Ryan Dahl's talk introducing Node.js to the world

Agreed. JavaScript was actually my first language after TurboPascal in 1996.

I was also there listening to the first podcasts when node came out.

JavaScript is a very interesting language, especially with it's prototype memory model. And the eventloop apart from the language is interesting as well. And it's no coincidence Apple went as far as baking optimizations for JavaScript primitive operations into the M1 microcode.

But I still think multithreading is best done by using blocking operations.

NIO can be implemented on top of blocking IO as far as I know but not the other way round.

Also, sidenote, I think JavaScript's only real failure is the lack of a canonical module/import system. That error lead to countless re-implementations of buildsystems and tens of thousands of hours wasted debugging.
I'll be honest I haven't seeked out how Watson X is being projected externally, and don't know much about the details internally - it's being driven by a different division of the company. So even if I were in the position to comment, I don't believe I have anything meaningful to say there.

You touched on a point I meant to add - reliability. Something that sets the Z mainframe apart from the Power server is the unyielding quest for absolutely no downtime (in exchange for compromise in raw compute/memory per drawer vs Power). I believe the quoted number is 3 seconds per year maximum. Because having huge throughput is well and good for business, but lost transactions could really strike at the bottom line with an unpredictable ripple effect. And in the case that a network of major hospitals is using the mainframe - no downtime could potentially save lives.
Hmmm...I would just spend the money planting trees and lobbying for legislation that makes people get permits to cut them down.
Rust without the async (hard) part (2022)
So to clarify - you support DDoS attacks in order to prevent the propagation of a viewpoint or opinion espoused by a website?
The free stuff is the website that shows the ad, at least that's what they want you to believe.

But ... it's not really free since the ad will just make products more expensive, since now you also pay for the adtech that's involved (besides paying with your personal data).
Erlang often crops up in these conversations.
I don't understand your statement. If a git clone of a specific commit also pulls the data that is generated from that commit hash via IPFS simultaneously, then you can always have the data at whatever state you choose. How might this have a negative effect on conserving the data? Do you mean that there are additional structures required to manage keys if the data is encrypted?
It’s (I think) misleading to characterize the AK permanent fund dividend as UBI, even if only because many people perceive UBI conceptually as meeting basic needs. $1500 a year pre-tax (give or take) isn’t much at all. At best it’s a less-than-adequate COLA even in the most developed towns. Presently, the statutory amount is occasionally hitting double that but somehow the state has contrived to skim it for the budget shortfalls. However, many Alaskans think it preferable to garnish the dividend payout before seeing a state-level income or sales tax implemented. As the resource development moves overseas, the economy in AK will only shrink and these choices will become more difficult, ultimately ending in worst of both worlds (no dividend and new taxes).
Haskell has always been a language where there are many ways to skin any particular cat, for reasons from ergonomics to expressiveness to theoretical niceness or practicality. "Learn the idioms" has nothing to do with it. Why didn't you just use do-notation instead, for example, than write some applicative mess where it isn't needed?

It's not rocket science why someone would ask this. I don't always use list comprehensions. But sometimes I do. They have open arity and the syntax doesn't as often require things like parenthesis to handle fixity conflicts between other (non-applicative) operators. They are asking about list comprehensions, just because they think it's nice. It is a very simple question and talking about applicative is irrelevant.
Seems very cool but hitting 1.0 without full windows support do not inspire me confidence. Using tools that consider your environment a second class citizen is never a great idea... I will give it a try in WSL though.
I don't get the "Maybe Rust isn’t a good tool for massively concurrent, userspace software" conclusion.

Rust is all about lifetimes and the borrow checker. Async code (a la C#) will introduce overhead to reason about lifetime and it might not be as "fun" as it is with other languages that makes use of GCs and bigger runtimes.

The CSP vs Async/Await discussion is valid, but like in the majority of the cases, the drawbacks and benefits are not language relevant.

In CSP, the concurrent snippets behave just like linear/sequencial code as channels abstracts await a lot of the ugly bits. Sequential code tends to be easier to reason and this might be very important for Rust considering it design.

A good tool for massively concurrent software will as expected depend on the aspects you're evaluating:
- Performance: the text does not show benchmarks evaluating Rust as a slow language.
- Code/Feature throughput: the overall conclusion from the text if that Async Rust is a complex tool and expose the programmers in many ways to shoot themselves in the foot.

Assuming the "Maybe Rust..." is only talking about Async Rust, the existence of big Async Rust projects is a good counter argument. We also have the whole rest of the Rust language to code massively concurrent, userspace software.

Massively concurrent, userspace software tends to be complex and big to the point that design decisions generally impact way more the language decision.

Rust is a modern language with interesting features to prevent programmers from writing unsafe programs and this is a good head start to many when making those kind of programs, more than whether you want to use Async code or not.
The US is the largest oil producing country in the world. Mostly from Texas. https://www.eia.gov/tools/faqs/faq.php?id=709&t=6

2nd is Saudi Arabia then Russia. However it happens that US is also the largest consumer and their production doesn't meet the demand so they have to import from other countries like Canada and Saudi Arabia

So Saudi Arabia most definitely does have a lever, and so does Russia since the rest of the world including US allies like Japan, South Korea, Australia, NATO countries depend on their lovely black gold to have functioning economies.
> the TPM makes for a really bad yubikey. You can't … you can't back it up

Technically speaking, the exact same restrictions apply to a Yubikey.

That’s what makes it secure.
NTSB reports do not reveal detailed investigation info, only a mishap summary and assessed proximate causes.
Is that a problem? It's a kerosene engine, there's nothing harmful in the exhaust.

And if there was something in the exhaust (there isn't) it goes in the air and lands on that area anyway.
As a french I expected something very different from that link :3
It's not a stable diffusion issue, it's a culture issue.
Its a risk that goes beyond Apple but applies to all devices, once the patch is released and the exploit method is published and explained, any competent malicious/curious person could have a go especially if they can string more than one exploit together, so do you trust the people around your devices especially if these devices leave the house?
Another great thing about it -- NO subscriptions or IAPs!

They've done some huge updates over the last 5 years and not even charged for a new version.
At this point I don't understand why hardware vendors can't just do it like Apple. Put a small ARM SoC with some firmware in ROM onto the mainboard that starts before the main CPU and initializes it, ensuring that the system is in a known state before any components boot.
I remember picking up this sort of advice from a professor way back in college. It's a godsend. Structure the problem as data flowing between tasks and connect them up with queues, avoid sharing state. It's just a better way to deal with multithreading no matter what language you use.
In California the UC system came back in the middle of August. The first few weeks are easy, I concur that demand will climb as the semester progresses.
No. That would be abolishing the police.

Perhaps defunding eventually reveals that we should abolish the police. Perhaps not.
That was the argument for Go. But Go is not used that way. People still share and lock stuff in Go. Go is only safe for race conditions that break the memory model, not all race conditions, as Rust is.
Ask HN: Would denormalizing a string prevent AI/LLM consumption?
Hi. With burgeoning AI, I don't particularly like the idea of my persona being unwittingly scraped into an AI corpus.

Would denormalizing a string to unicode help prevent AI from matching text in a prompt? For example, changing "The quick brown fox" to "𝓣𝓱𝓮 𝓺𝓾𝓲𝓬𝓴 𝓫𝓻𝓸𝔀𝓷 𝓯𝓸𝔁" or "apple" to "ÁÞÞlé". Since the obfuscated strings use different tokens, they wouldn't match in a prompt, correct? And although normalization of strings is possible, would it be (im)possible to scale it in LLMs?

Note that I'm not suggesting that an AI couldn't produce obfuscated unicode, it can. This question is only about preventing one's text from aiding a corpus.
I think Hydrogen is a great fuel to replace natural gas for generating electricity. But is it safe enough for commercial airplanes? I don't know, we'll have to see.
It is argued that ethanol is more polluting than gasoline based on the entire lifecycle but that article only shows how complicated it is to calculate - and ended with only an opinion that biofuel is worse than gasoline.
The inner part of the engine and outer parts, running coolant would even out the temperatures but without coolant some parts will become much hotter than others and could warp or create stresses that the engine was not designed for. I assume these people know something that I don't and I guess diesel engines can be quite forgiving.
Things that are typically confused for productivity
I don't know if there were NTSB reports for e.g. the crashed B-2, but I'm sure they would not include information that could compromise either B-2 or air force operations, or assist an adversary to develop such a craft.
I keep looking for an element with "Recents" in it and Chrome isn't showing anything.
School is back in session I'm sure the traffic will pick back up :)
> the authors of project Loom are simply wrong

Why?
Starlink did not have a US military contract in Ukraine at the time I believe.
What's cursor?
That's pretty much a designer/web dev trope, turning in mistakes to the boss that are easy to fix so he can put his stamp on it.
Even in San Francisco Trump got over 30% votes. Republicans know better than to publicly voice their affiliation, however, as the career repercussions can be severe.
I picked up a copy of Popular Mechanics yesterday and it took me a solid 2 seconds on half a dozen pages to determine if it was an ad or an article. The styles have sort of blended together and I don't think that's an accident.
Newer Rubik's cubes are not horrible to turn at all, other than through the perspective of an elite, competitive speed cuber.

Rubik's cubes have a long history of being crap. They used to have crappy stickers that would peel off, and would explode. The newer ones don't explode.

You can definitely corner twist.

Modern Rubik's brand cubes have hidden screws under two of the faces (yellow and white, I think) where you can adjust tension to some extent.
I am not sure current SAT solver is good at solving things that a good CAS can do. It is fast at a lot of operations related to bits (xor, shift, and, or ...) but it performs way worse for things like solving a linear system in a finite field. (This is all from my personal experiences, so I may be wrong.)
It depends. Little boy would be easiest as the speherical detonation and materials science for the Fat Man implosion would still be difficult to design and machine. I also do not beleive the activator designs have ever been declassified.
Maybe the problem is that Android already has decent and established painting apps. Procreate would get a small part of a smaller market. Big risk for not enough reward.
Friday Facts #375 – Quality – Factorio
> Something not having alternatives doesn't make it necessarily nice

Of course not, but compared to every alternative today, jq is eons better than everything else. It's conciseness, ease of use, ease of learning all make it awesome. So as of right now, it is the nicest thing to use by far.

Personally though, I don't think I do wish for better. Jq is missing nothing that I want.
This Tuesday was the first day of school for several high schools in my area.
You run a large organization. Are you burned out? Maybe pulled in too many directions? You get a little reward each time you close out one of those distractions and eventually you look forward to that feeling. You can become avoidant of larger items which require attention.

Secondly, knowing your status is a large step in the right direction. You can build routines around the things that seem to slip from your consciousness. For example, patting yourself down for your usual items before leaving in the morning, or making a habit of capturing everything you learn in some sort of notes application for future use.

I'm in the same boat and am at the point of NEEDING medication so I sympathize and wish you luck.
I imagine the animation features in the exist app will wither relative to Dreams. They’re fairly limited in the existing app, so IMO separating them out and focusing development there is probably for the better.
You must not live in a tech hub
> Apple’s own apps don’t need to display the prompt because as per their privacy policy they don’t collect or use information for tracking purposes (which is also visible in the privacy labels of their apps in the App Store).

This is the privacy policy [0] of an example of their app, Apple News. I quote:

"Advertising

In order to deliver great content to you from leading publishers, Apple News is ad supported. If the Personalized Ads setting is on, Apple’s advertising platform may use information about your account, the topics and categories of stories you read, and publications you follow, subscribe to, or turn on notifications for to serve ads that are more relevant to you. We may also use information about your subscriptions to personalize your ads on the App Store."

[0] https://www.apple.com/legal/privacy/data/en/apple-news/
Memory pinning in Rust is not a problem that has to do with concurrency because the compiler will never relocate memory when something is referencing it. The problem is however with how stackless coroutines in general (even single-threaded ones, like generators) work. They are inherently self-referential structures, and Rust's memory model likes to pretend such structures don't exist, so you need library workarounds like `Pin` to work with them from safe code (and the discussion on whether they are actually sound is still open!)
Thanks. Focusing on high-impact, low-effort makes a ton of sense. I'm definitely staying close to paying customers. Wondering how you delineate core vs noncore tasks that you outsource?