skysight-inc/HackerNews huggingface dataset:
I did a double take when I read this too. However, I’d wager that in 99% of cases the bottleneck isn’t at the language level for most desktop apps or GUI apps in general.

I have an app that has one pretty frequent cpu intensive call (it computes the lcs for diffing). I decided to benchmark a rust wasm bindgen implementation against the js one I was using and found that ironically enough, node did perform better than rust. To be fair to the rust version, I think the JS implementation was slightly better optimized. I then looked into parallelizing LCS, (which is possible) but bindgen and almost all node:rust ports don’t support multithreaded calls, I can think of a myriad of ways to overcome this but not in a browser context. At that point I gave up on worrying about porting to lower level languages for cpu intensive work because if you’re forced into a single threaded context the gains of a memory managed language are going to be trivial at best and add ipc overhead at worse.

The main culprit of poor JS performance in native contexts is almost always bridges and the serialization/deserialization that comes with them. Electron apps don’t really suffer from the bridge problem. While, I’d never claim that JS is as fast as GO or Java (objectively it isn’t), it’s seems equally naive to suggest that using memory managed languages without exploiting multicore is going to lead to significant performance gains in a native app or web app.

I think the real power of wasm is the power of virtualization, it won’t be performance unless web APIs decide to break the single thread paradigm.
True freedom includes the freedom to do things others might not like.

I happen to like the space and enjoy the noise.[1] So does nearly everyone around me.

You can squeeze together in your claustrophobic factory-farm cities if you like, but leave those who don't out of it.

[1] I highly recommend taking a ride in a 70s "land yacht" with a mildly tuned engine sometime. It might change your perception of cars entirely if all you've been in are cramped sluggish econoboxes.
What Is Killing Cursive? Ballpoints. Probably
ijq [1] is. I am using it almost every time I need to come up with a jq expression. However, it gets noticeably laggy with enormous JSONs.

[1]: https://sr.ht/~gpanders/ijq/
I'm having a hard time following this.

It is definitely not illegal to plant seeds.
> There isn't really a way to enforce this that doesn't violate a private company's rights.

Should a private company have those rights? We meed corporate reform in America.
L1 support is mainly for filtering out PEBKAC cases. Using chatbots as a force multiplier makes total sense. 1 outsourced agent can now handle Xx more cases, by monitoring chatbot flows and intervening/escalating where necessary.
Pre-v21, Java's threads were 1:1 based on OS threads. HFT apps were normally single-threaded with exotic work-dispatching frameworks, native-memory buffers &| built-in network stacks so, while being undoubtedly fast, were not particularly representative.

V21 virtual threads are more like Go's goroutines. They map 1:m with OS threads, and the JVM is responsible for scheduling them, making them much less of a burden on the underlying OS, with fewer context switches, etc. And the best thing is, there has been minimal change in the Java standard library API, making them very accessible to existing devs and their codebases.
When the wind stops, the form goes offline because the Pi uses 100% renewables. Last month the form went offline during a windy period because the neighbours complained about the wind noise the micro-sized windmill was producing: nimby.
Virtual threads, generational GC, manual memory management, all things .NET has had for ages. Too bad it can’t shake the “MS tech is boring” reputation
This boggles the mind on the cultural-legal implications in fax-centric countries of doing:

Fax to TIFF to OCR to PDF to internet transfer to TIFF to fax

But anyone still requiring fax would probably just be happy "it came out of a fax machine / software."
Makes sense, and seems easy enough to set up except for the barrier of people being uncomfortable talking about serious potentialities.

In basic military training we used code words / challenge words at entry points as one half of two-factor authentication: I see your ID photo ~matches your face, and I hear your response, thus increasing the chances you are who you appear & claim to be.
It's quite a bit more subtle than that. News organization have their sources that are in the intelligence community. They use each other. Sometimes the journalist wants to use their sources for information. Other times their sources feed them disinformation disguised as information. Other times they want a back channel to leak some real information but can't be seem as coming from a government source. Being a good journalist is hard and often doesn't pay very well.

I'm often remind of PG's essay on corporate PR and the media: http://www.paulgraham.com/submarine.html
Just like Johnny Depp and Amber Heard right? Oh wait Depp won, was awarded millions, everyone knew about it, and Amber Heard was mocked & laughed at until she faded off. Why doesn't Brand do what Depp did, if they are just making it all up?
I build websites for small business, and since the beginning have used Google Analytics. What used to be a valuable tool that I would eagerly tell my clients to utilize, has now become an overly complex nightmare I loathe to install and rarely recommend to my clients. I recently had a client ask to use StatCounter.com (my reaction: "they're still around?!?") and it was refreshingly simple, much like the original Google Analytics.

I'm sure the new GA is super powerful, but most people just want to see how many "hits" they got, what content is most popular, and where the visitors came from. Google would do well with a simplified Analytics service just for small business.

Once you go down the optimization route, if your Google Analytics isn't super valuable it's an easy bloat to eliminate.
How can you be sure they weren't hallucinations?
Very impressive work by the NSA, if true. Both from a political and technical perspective. It's good to know that our intelligence services are doing what they're supposed to, and doing it well.

However, as interesting as this revelation is, it's unfortunate that Snowden decided to defect to the Russians and share his stolen cache of top secret documents with them and China, using Western journalists as ideological cover. I look forward to the day when he is brought to justice for treason.
I am waiting for it to get a better beyond plugins and have some ability to query an api for more detailed facts.

A friend told me he uses Bard for current data. I have not tried it, so I can’t confirm.
We should all really remove "first name" and "last name" from our vocabularies. They literally refer to written order, but when most (western) people use them, what they actually mean are given and family names.
In this particular case, it's easier to think of the problem as "allocating $10 among 3 parties" rather than "dividing $10 among 3 parties." The latter insinuates equal distribution. Often, having the 3 parts sum back up to $10 is more important than giving an extra penny to one person and not dividing equally.

What I've used before is "Express the value in pennies. Divide by X (number of parties). Take the whole number part and give it to each person evenly. Take the modulus and distribute it one by one to each remaining party, until there is nothing left."

Example: allocate $10.01 among 3 parties:

1. You have 1001 pennies

2. Divide by 3 - give each person 333 pennies

3. Take the modulo 1001 % 3 - you have 2 pennies remaining. Time to distribute them round-robin!

4. Give one penny to person A. You have 1 penny remaining.

5. Give one penny to person B. You have no pennies remaining.

If you do this many times, randomly establish the order of the parties each time you round-robin them. In that case, no one will be systematically under-allocated, just because their name starts with the letter Z.

This is not a universal truth, and each situation is different. It may not apply to other kinds of money dividing situations.
The FSFe's knock-on effects (getting involved in local politics) also tends to translate to software that serve end-users.

A big issue with the FSF is that the GNU project only really serves two groups of users: programmers and power-users/commandline junkies. I belong to both of those groups. You know who doesn't? Most people out there. 99.9% of people using a computer don't give a shit on if their stuff is compiled with GCC, musl or clang. That's a fight that only concerns programmers (and one the GNU project arguably lost). The FSF simply never adapted to the idea that there's gonna be a sizable portion of computer users that will not know how to program. Too much of their rethoric is still laden on the assumption that everyone who uses a computer knows how to program (arguably an RMS relic, given his advice on learning how to program is just... unsuited for a lot of users[0]).

If you want free software to matter, start by funding free software that your average Joe needs to use. The FSFe seems to have figured that one out to some extent - governments contract out their IT work, so if you can get in a FOSS clause on those contracts, then that's a big win for everyone.

Just look at Peertube and Matrix for successful examples (regardless of product quality -I think Matrix is fundamentally broken-, these are both tangible things a regular user can access that are a meaningful alternative to YouTube/IRC).

[0]: https://stallman.org/stallman-computing.html
I asked for flights from Poland to Cancun, Mexico in May 2024. It told me I can with Wizzair (the operator operating in Europe only) with stopover in Kyiv, Ukraine (lol).

Maybe it can connect to Google Apps but can't give reliable results.
Ask HN: Do you know any good web framework performance comparisons?
I am trying to create a new website, and decided to go with a framework which renders on server side. I don't want to use any React/Angular or similar frontend frameworks.

Currently I am looking at these frameworks:

- Django + HTMX

- Ruby on Rails

- Elixir + Phoenix

I haven't used any of these in production yet.
I am trying to find some information on the performance of these frameworks, the scalability, how much hardware they need, etc. I also wanna see how much TPS they can handle on the same hardware (CPU/Memory) with similar access patterns.

Does anyone know any good posts/websites that does a detailed comparison? I am having trouble finding any good analysis that actually makes sense...

(I would love to go with Elixir + Phoenix, but after some research I realized the library support is nowhere near to Python/Ruby. But I am a bit worried about performance if I go with Django or Rails. I want to spend as few dollars on hardware as possible.)
Snowden leaked a shit ton of documents, the vast majority of which had absolutely nothing to do with any kind of NSA wrongdoing. Journalists then had to go through and try to figure out what these documents actually meant (which they frequently misunderstood). Obviously they're still doing it to today.
This is a great idea in that they’ll likely also patch their stuff when they discover the other team has exploited it.
FTC vs. Microsoft document leak outs detailed plans for mid-gen Xbox refresh
No clue whether Brand is innocent or guilty before the law, but if he's exonerated would he have grounds to sue YouTube/Google or do the terms of service allow YouTube to demonetize people based on accusations even if they turn out to be false at a later time?
> Innovative touch operating concept for protection-related special functions

It must be a special kind of UX hell to be operating a touchscreen while being shot at
"none expected or prepared for a four-year slog of trench warfare"

Yet another parallel with what's happening in Ukraine right now. Both Russia (and some in NATO) I think expected this to end in days with an ugly military defeat, capture of the capital, and then years of guerilla and political battles.

We appear to be at a similar juncture as WWI in geopolitics and military organization/technology, where the relative capabilities of various forces are not well understood.

(And similar to WWI this seems to be primarily about imperial economics, within which smaller nations get caught up as battle sites and pawns and the issue of the self-determination of smaller ethnic nation states becomes one of the defining issues. At least that's how Lenin and others analyzed WWI, and it's notable that Putin went out of his way to namecheck and attack Lenin in particular at the start of the conflict...)

Coffee brainfarts, sorry. :-)
> When I learned about that interior camera in my Model Y

Wait, Tesla cars video their users? Seriously?

I'm gobsmacked users tolerate and agree to this.
But that's not where we are. Without $$ incentive, nobody is going to build what is needed to remove the carbon or mitigate the effects of warming. The market is not magically going to solve anything if we simply remove regulation, that is a strawman. The market needs incentives, as well as restrictions. When we solved the ozone layer, we first restricted chloroflorocarbons to stop the bleeding, then we added incentives to create replacements. And it worked. It's not alarmism that's the issue here, it's heads in the sand.
I switched to plausible.io for my small business and couldn't be happier. Maybe take a look at them
>100% clips of public figures with no commentary. Demonetized.

Doesn’t sound like satire or commentary to me
"Everything can be mapped to software"

Perhaps, but chemistry is chemistry. It existed before software did, and you need to understand it on its own terms.
Well, yes, which is why you need to be in control of your rounding and not just let the width of data type you chose for the implementation dictate that.
Glad to hear you're enjoying it. The Magellan theme was super fun to build.
I'm not defending Unity, I'm just not defending Valve/Steam (also App Store, Play), which is a much, much bigger drain on revenue.

The Unity pricing structure is complicated and badly managed. The fees were previously uncapped, and it allows for edge cases where the fees look like they could exceed revenue. It causes problems for givaways, bundles and Gamepass deals.

Still, for many situations the math works out so Unity is cheaper than Unreal, even before this 4% rumour. You wouldn't want to accidentally hit one of those edge cases though.
God forbid you fact check American mythology!
Incredibly relevant commentary today, in regards to the Ukraine conflict
Joking? LOL

https://thehackernews.com/2023/07/critical-mikrotik-routeros...
Bard now connects to Google Apps and services
Pretty sure only the EdgeRouter and some of the older Unifi Security Gateways use Cavium chips. Most of the newer stuff (like the Dream Machine line) I don't think are anymore. None of the Unifi APs did either I don't think (the U6 ones have Mediatek chips in them)
with c++ having smart pointers, what else benefit can rust provide?
can someone please explain?
Absolutely, and so different from Ukraine, where I think pundits expected an Iraq-like situation. Initial rapid capture followed by years of instability. American advisors at the beginning looked like they were interested in mainly supplying Ukraine with guerilla warfare tools, etc. expecting that kind of situation.

... but reality went another way and now the west is sending in cruise missiles tanks and cluster artillery.
Why now? Looks like Snowden is being weaponized, wich might indicate that he is still part of the group he is denouncing, is he a psyop? What's the goal?
And? That doesn't help me if I want to target low-end hardware. Not every game should need a gaming laptop to run.
There was a recent comment on HN, which I liked and saved for the future. So it's not 100% for your particular case but maybe helps you..

"Fear is usually based in an abstract concern. Try to make it more concrete. What are you actually afraid of?
For example, you're probably not actually afraid of losing your job, but losing your paycheck. But you're not actually afraid of losing your paycheck, you're afraid of not paying your bills. But you're not actually afraid of not paying your bills, you're afraid of being evicted. But you're not actually afraid of being evicted, you're afraid of where you'll live afterwards. And then you realize you haven't actually thought about this situation, so it's just an abstract worry.

So your entire fear base is based on this abstract fear of "What will I do? I'll be screwed." If you dig into it more, you'll find concrete solutions. You might realize you have lots of savings so getting evicted due to not paying rent is really unlikely. And if you do get evicted, you can just go crash at a friend's place while you figure out your next steps. And worst case if no next steps happen, you can live with your parents. Etc etc.

I often find when doing this exercise is that what I'm actually afraid of is very unlikely to happen. It's the worst version of the worst scenario. And even if it does happen, it's actually not that bad and I can handle the situation just fine."
I mean he did before, I'm surprised he's not continuing to ignore them. Maybe the lawyers got through to the other investors in SpaceX.

https://www.theverge.com/2021/1/29/22256657/spacex-launch-vi...
The Divide – A Brief Guide to Global Inequality and Its Solutions
In Europe, the GDPR.
The main problem I can see with this is that international law is something that IMO is still in its infancy. International law is also something that usually isn't respected all that much by the major players of the world. And you can't trust even the first-world to make laws that are sane - that are free from malicious intent.

At least in the US, laws seem to be just made to control/monitor/limit the masses in increasingly more insidious ways. Besides basic gestures like gay marriage, I haven't personally witnessed or felt anything that impacted my life in a meaningful, positive way.

There is no universal bill of rights for humans - right to life, right to thrive, right to speech, right to be free/not a slave (such as proper work conditions) etc.

What is considered appropriate behavior is subjective, varies from person to person - from institution to institution - country to country, and too often laws often just end up being made as a reaction to maintain control. I'm not aware of many countries where I think democracy is a truly active process for everybody involved/affected and there are many countries that are hostile to some of the ideas I espouse.

And companies basically make all the standards on the web/computer. Although, thanks to players like Mozilla and OSS as a whole (and the good companies that truly embrace the OSS philosophy), there is resistance to this. Because of that, I'll hold out hope that we can figure out how to free the computer and web. IMO we are still at the drawing board phase for realizing computers/operating systems/a web that works for everybody, after all these years.

The only way any of this happens is if we 1) work on bettering diplomacy with other countries to even get to the starting point to realizing this - 2) encourage organized, civilized debate, denoted by tolerance and good faith, between many countries and individuals to determine what constitutes a minimum expected standard of living/draft a universal bill of rights for each and every citizen (this isn't the middle ages, we can do this) - 3) work on making all levels of education accessible, open, and free to every person willing to learn - imagine billions of people involved in problems and working towards solutions that work for society/their communities.

But, I will say to hell with worrying about "market costs of maintaining parts of the Internet". We need to heavily incorporate decentralization, open-source/free software, etc. into every facet of the computing ecosystem.

The average person shouldn't have to worry about backdoors - not knowing what every part of their computer is doing because of proprietary software/firmware, they should not have to be bombarded by advertisements and other attention/time-consuming dark patterns, and they shouldn't have to worry about the impersonal, but organized stalking/data collection of their every move they make using technology by those who are driven by greed, paranoia, and control.
jq is probably better if you don't have node or deno installed since fx can't do expressions without it
I haven’t used a single bard whatever google has released yet. Their marketing dept is really shtty. When I go bard.google.com it does not allow any sort of usage
He was donating quite a lot while not making much himself. That was the reason me asking why he is doing it.
Modern journalists are just terminally online twitter heads.

"Why go out or talk to anyone when I can just stay home and be on twitter all day!?!"

It's the absolute worst outcome for journalism, and none of publications seem to care. If I had a publication the first thing I would do is ban twitter use (and probably go bankrupt because of it.)
>People complain that Tesla doesn't do enough to prevent humans from defeating driver assist systems and then also complain about the privacy issues. Can't have it both way. Internal cameras are used to confirm you're attentive and eyes are on the road.

Tesla took the cheap way out. Ford Bluecruise uses IR sensors to detect whether you're paying attention or not, as does GM Supercruise. They don't produce potentially embarrassing photos and videos. They also don't send that video back to a mothership for employees to share your private/embarrassing moments.
You're correct that many people do move - that's why California lost a congressional seat. But there are plenty that get 'caught out' - they don't have the cash to move somewhere far away with no friends or family or a job lined up.

The statistics are pretty clear that, at a high level, it is about housing prices. That's why California has more homelessness than Detroit despite the latter being mired in poverty. That's why there's more homelessness in Oregon than West Virginia, even if the latter has a raging opioid problem.

https://www.noahpinion.blog/p/everything-you-think-you-know-...
Duplicate of: https://news.ycombinator.com/item?id=37569573
If a company can't get by without mistreating its users/developers, that company should not exist.
“The first rule of ARIA is to not use ARIA”

I’m sure that argument is going to come up, but react-aria exists because accessibility in complex interactive applications is _hard_ and often _needs_ ARIA. The landscape of accessibility tools is fragmented, full of bugs, problems, and often _inaccessible_ (have you seen the cost of JAWS?).

I’ve been a proponent and supporter of using react-aria when using React. The developers of it really understand both the accessibility needs as well as “thinking in react” that is paramount for making applications performant.

If you’re using React and creating your own interactive component design system, you _should_ be using react-aria. As much as you think that you can make things accessible on your own, well, you’re probably wrong – but if you’re not, good luck getting an entire team to keep it up. You can’t expect everyone to know how to do everything – and frontend is already a very deep stack.
I love how small details, like rounding always up for 2.50 would be significantly skewing the numbers to the higher values, so there are functions like ROUND_HALF_EVEN that would round up on even numbers, and down on uneven ones.
Meta comment: Where did you save this / how did you find it again?
It’s already in the TOS that not a single Tesla owner read
Yes, and if we want more competition in the smartphone space, it seems silly to argue that everyone has or should have the same brand of everything.
That's why other lawyers call them ambulance chasers. Their ethics are notoriously questionable.
And unfortunately, in the world of electron apps there’s far more leaning in the direction of Teams than in the direction of VS Code.