skysight-inc/HackerNews huggingface dataset:
The borrow checker gives the compiler significantly more information about memory. The rust compiler exposed some bugs in LLVM because LLVM tried to use this extra information, but because it could never do so for cpp the code was buggy.
VirtualBox is owned by Oracle. If your motivation for switching vendors is getting screwed over by the old vendor, Oracle is the last place you want to go to.
Thank you. It’s really frustrating that people want to make documents as unreliable and annoying as the web.
We need bigger big data (tm) to feed our Ai.
What you say is true - HN might resemble a false ladder to popularity for a very small subset of teenagers - but content is at least as important as form. It's okay for there to be balkanized subsections of the internet that lead to serious discussion and which might occasionally lead to radical obsessions; take away the internet and that's just society in the streets of France in 1789 or Rome in 49 BC. The major difference is whether they find it or it finds them. Because if you find it, you can walk away from it once you grow up. If it finds you, you lose yourself and fail to develop the structure for independent / critical thought.
I would be really surprised. Anytime when I’ve searched for a feature (like DLNA sharing), and not for a specific app, I’ve got only very shitty spam apps in both stores. Even when I search for specific app, like GTA, the results deteriorate very quickly, in both stores.
Why not Styled Components? I've been using them for years now and I'm extremely productive.

Tailwind on the other hand looks like a hellish nightmare, horizontal reading, proprietary syntax, no selector targeting of other components.
Sorry, when I was talking about the stalemate rule, I meant the rule that declares that the game is a draw, if the only move you can make is putting yourself into check.

I was not talking about the rule that handles games that do not progress. (Though I would perhaps replace that rule with one that just forbids repeating board states, but that was besides the point here.)

So to make chess more elegant in how the rules are formulated (but probably not a better game, mind you), I would suggest removing all special rules around check and checkmate. Just replace it with the rule that you lose when your king gets captured (and obviously, keep Zugzwang).

Sorry, I was not clear that I also wanted to remove special handling of check and checkmate.

(Btw, this feels very similar to the rules against self-sacrifice in Go.)
Running an Offline Copy of Wikipedia
I just want to note, that reliability becomes an issue at scale as well. C can be the first to crash making it's "faster speed" useless. An example: there was a benchmark game for DNA GC counting. C was the fastest at beginning (a vectorized rust version has taken over). However, the C version in the lead at that time was the only version that could not count the GC ratio in human Chromosome X. Due to segfault/integer overflow. So in practical terms the C version was really infinitely slow even if the top ranker in the benchmark.

On a person note: I am dealing with C segfault ruining 261 hours of compute, which will probably need about a 1000 or so more to debug :(
Life is cheap
I agree with most of the content of this post.
One of the key things for me would be a requirement that figures and diagrams which can be expressed as SVG should be.

Images, limited to things that need grid-of-pixels representation like photographs, should be limited to that.
Unfortunately it’s a little more complicated than locality of behavior because there is a trade off with duplication and consistency of behavior
By whom? That simply isn't true.
That’s three times now with the accusations of trolling and the personal attacks and innuendo of being operating under a fake account, and generally the 4chan shit.

I’ve all but googled the source material for you.

Mute.
I will be sharing that hill with you, if you don't mind.
The Japanese philosophy for a no-waste world
Yeah, because Apple is totally privacy-focused, they don't track you at all, until you try to do something they don't like and suddenly you find that things are somewhat different...
I use Svelte for frontend develoment, and used all of JS frameworks that came before it. It's very web component'y. I feel Tailwind was partially created by the problems rising from the bad design choices of many modern web frameworks.

In Svelte, There is less need to use Tailwind, because HTML, CSS and JS (or TS) are all encapsulated in a single source file. Editing CSS alongside the HTML is easier than bloating the HTML with a class hell. You can use native syntax highlighting, IntelliSense, early compiler error catching and linting plugins of your editor.
Pandoc-url2cite: Automatically generate and manage citations from URLs
Exactly. The following demonstration on GDB in Emacs looks pretty good to me. In fact, it can do this even in tty, no GUI required.

https://m.youtube.com/watch?v=aNTFDq3e2Qo
Preaching to the choir, here. If you know much about me, you know that SV’s ageism is one of my biggest peeves. I feel that many of these jurassic-scale disasters, we hear about, are likely the direct result of inexperienced, impulsive, decisions, made with no adults In the room.

I just feel that each employee should be managed as an individual; an attitude that doesn’t mesh well, with today’s business culture.
ArVid: Russians squeezed 4 hard drives into one VHS tape in the 90s
We paid for the OS with commission fees from sales and IAP, that's what GP meant I think

If next phone prices go up (especially in EU) after this then maybe it is true?
This is a very specific example since video games genuinely require loads of resources to run at the end user side. Most software projects aren't client-side behemoths like that.
The Mughal empire started in 1526, and Mughals Cuisine was in full swing by the 1600s.

That said, based on linguistics, I don't think the tomato arrived in India until at least the late 1700s.
My biggest issue with Tailwind is point #5 on the article: Tailwind encourages div/span-tag soup. Together with the class name soup my HTML becomes unreadable.
Is looking at current running costs the only metric?

Computer co2 emissions are dominated by manufacture, not use.

At some point the extra bloat means you have to upgrade your computer / buy another one.
And the idea is misguided there as well. Kanji are problematic because people who can't read them can't differentiate their shapes. Any unique silhouette -- even a Latin letter -- is preferable to arrow diagrams, which end up unnecessarily similar to one another.
To go offline in slack should be an option. Talk to your manager or someone at the company. You have a disability, there must be accommodations.

What I do is keep any chat and such closed and only accept e-mail. I then have two set times a day where I check it by going through the mailbox. There should be no argument that you can't do this unless you're employed to be always on-call and need to be responsive in 5 minutes.

Make sure to generate a paper trail when asking.
Welcome to add on our Discord to #built with qdrant channel.

https://qdrant.to/discord
May be they actually love what they do to stay away for months doing nothing on a 'vacation'.
Having read Nick Wallis' excellent book on this matter, I think that, although the PO and Fujitsu acted in a despicable and criminal manner, the institution that really failed was British Justice.

People were sent to jail on the basis of a single number spat out from a black box called Horizon.

And to charge someone of false accounting when the system didn't give them much of an option and they communicated it to the helpline baffles me. It seems like their lawyers were pretty useless.
I also don't want my e-reader phoning home (to publisher/author) read time and page turns because the EPUB loads a pixel.
A few paragraphs before that one:

"Second, the services should offer more people enlistment bonuses and increase the dollar amounts of those bonuses. Research shows that enlistment bonuses expand the supply of recruits overall and have an especially large effect when targeted to recruits who choose to train in critical specialties"

And the paragraph immediately preceding that one:

"An important aspect of recruiter management is an incentive system that provides recruiters
with incentives to be productive. Research shows that these incentive systems affect recruiter
productivity in terms of the quality, number, and timing of enlistments.20 Recruiters are
incentivized to increase effort when these plans are designed properly, but the plans can have
perverse unintended effects if not designed well. For example, one study found that Army recruit
screening was poorer at the end of the recruiting month, when recruiters are incentivized to meet
their monthly recruiting missions."
> What do you mean the game keeps on going? One side has to move but has no legal moves.

As said elsewhere, I would suggest removing rules against putting yourself in check.

> The stalemate rule adds something that the attacking player has to keep in mind and gives the defending player something to shoot for - lots of creative and tricky play arises from this, with IM Eric Rosen being the most famous exponent[1] so much so that he now has a particular type of stalemate trap named after him.[2]

That's why I was careful in saying that the proposed change would make the rules more elegant, less clunky. I did not say anything about this making chess a better game. Sometimes adding weird corner cases to your rules can make the game better.

Just look at all the weird rules that you can find in Skat or Doppelkopf. (Though Mü is an example of a game with much cleaner rules that captures a similar spirit.)
George Carlin AI Lawsuit: Estate Sues Creators over Comedy Special
For example, styled components, stylex etc.
How are they doing to be able to track this? If there is an alternative App Store, I would assume they don’t share their download numbers with Apple. Is Apple going to track all apps running in iPhones?
This is a repost of a low quality paper from 2017 [1]. It's low quality because they haven't done anything truly novel - they simply took the results of the benchmarks game [2] and flipped it. The ones that ran faster are considered greener.

But there are so many other factors to consider. For example, if a language uses all available cores on the machine it's running on, that's a more efficient use of resources than ones that run single threaded by default. Unless of course, your deployment configuration has multiple processes scheduled so no cores are wasted (but assuming they're not bottlenecked by memory). But once we start discussing specifics like how individual deployments happen we can no longer make blanket statements about an entire language.

All that assuming the benchmarks game tells you something reasonable about how real world programs look. They're hyperoptimized by hand with inline assembly, barely readable. That's not normal.

The other issue is that real world programs are large, with dependencies that we pull in. Benchmarks game programs are relatively small and in a single file, no dependencies. Is that what the average Python, Javascript or Rust program looks like in production? What are we even comparing at this point?

They chose to use benchmarks game because it already existed and required minimal effort from them. I'm reminded of the alcoholic using a lamppost - more for support than illumination.

[1] - https://greenlab.di.uminho.pt/wp-content/uploads/2017/10/sle...

[2] - https://benchmarksgame-team.pages.debian.net/benchmarksgame/...
But it’s good for tracking what books people are reading. If the history of the internet shows anything, it’s that if surveillance is possible, it will eventually happen.

Lots of governments around the world would love to know what their citizens are reading. Few would be bold enough to go after this directly, but if some company operating in their country has the data then there’s a path for that government to get the data.
Depends on what counts as worth.
Ultimately you cannot finance yourself out of the system without enormous wattage.

So, this job thing you're talking about, at some point it will happen you, if even by taking your time, your children and family time.

There's likely a level where is really not worth any money to have one of those traditional contracts taking your time and energy for cash. That threshold is probably not as high as it seems to be, if not for land and housing prices.
Yes because SCSS and various other new technologies have tried stuff out and we took the best back to CSS. No reason to think tailwind won’t influence css. For me it’s an improvement upon the style attribute which we have been neglecting and have been told not to use for some reason. I think it’s great to be able to adapt a component locally without putting a one off class somewhere which we have been doing before.
Ask HN: Non-native English speakers, what language tools do you use?
Hello, I am a non-native English speaker working in an international company where English is the primary language of communication.

Do you use any daily tools to aid your language skills? I would greatly appreciate any advice. Also, for Slack users, are there any recommendations for effective grammar enhancement tools or extensions?

I often find myself struggling with incorrect sentence structures, and issues with using the appropriate tone and tense.

To assist me, I regularly use Grammarly across text fields. For writing texts longer than a couple of paragraphs, I input my drafts in ChatGPT and I go through an iterative process where I ask it to help me to fix any linguistic issues.
This was my experience as well. I talked to three different doctors in two different states and they were all lukewarm at best about multivitamins when I mentioned them. "It won't hurt anything" was about the best I got from one of them.
I only skimmed the article. But my stance is, anyone that ever used cherry-pick or reverted multiple commits is impacted by clean git history. Unclean git history could make a simple 2 minute cherry-pick or revert task to a 30 mins+ job.
I’ve got news, lots of fellow HN readers support this data collection through jobs called the ad / marketing industry.
When I signed up and put in my credit card details, they immediately cancelled my order and completely deleted my account. I had to resort to moaning at them on twitter to get them to unblock me, which they did. Bit of a rubbish start to the journey though.
there's evolution and there's insanity.

it only took ~20 years to get a working vertical align (which was available in HTML from basically day 1, might I add). similar for grid to be available and it still kinda sucks.
You could totally have one app store to rule them all (front end \neq repos).

Also, this whole "fractured with side markets" sounds massively overblown.
On the android side other app stores are allowed. Yet, almost nobody goes out of their way to add any app store that was not preinstalled.
And those preinstalled at most include one by the phone manufacturer, i.e. apple in this case.
this is an issue in the legal world. court opinions accessed only online are cited according to their “page number” in some reporter or another. it’s better to cite paragraph numbers when possible but most American legal documents are un-numbered.
I personally count a car driving any distance on a pavement something I don't want to see.

If you claim never to have seen that happen, then you must live in a hugely law abiding place. I live in a small town with a pretty old average age, and I see this regularly here. In London it was worse. Maybe as a cyclist you look out for these things more, or maybe you just get to see them more due to your positioning.
Tailwind provides many classes to use right out of the box, whereas vanilla CSS requires classes to be written, which takes longer.

If someone's good at, fast at, and enjoys writing vanilla css, it might be the way to go, but if they don't have a sense of design or lack skill in writing CSS, a framework allows pages to look professional quickly.

A site made with a css framework may not be as extensible as one made with vanilla css, but if there's strong enough desire it could always be taken out and swapped for vanilla CSS.

For quickly getting things done on projects where time/resources are , I'd go for a frame work (for the reasons above: I lack a sense of design and would spend an eternity tinkering and doubting my design choices).
Yeah, and the not every app handles the transition very well. For example, Facebook prompted me to install their new Threads social network for months before they actually released in on the EU appstore - presumably because their internal tracking data still thinks of my account as US-based.
What were they thinking? Who imagines that you can just copy someones likeness and get away with it? Ridiculous.

There is some doubt about the whole AI angle by the way. Perhaps the likeness is the only AI thing about it [1].

[1]: https://arstechnica.com/ai/2024/01/did-an-ai-write-that-hour...
My personal opinion is that styled components creates an unnecessary and fuzzy extra abstraction on top of components.
React Browser Components to fix hydration mismatches
Hi folks,
After using React for 6 years, I cannot count how many times I've seen the "window is not defined" error and its partner in crime, the "hydration mismatch error".
The introduction of React Server Components has been a great occasion to better explain the root cause of these issues by introducing React Browser Components.
The article describes this new concepts and ends with a list of multiple solutions to fix window not defined/hydration errors, with the appropriate situation where they apply.
Orion is almost certainly going to request the entitlement to ship a custom WebKit, in line with what they do on macOS. This might take a while, though.
I don't get what's so hard to understand here. Vision and mission statements are sanity checks for employees to see whether they help move the company towards or away from the desired direction.

For example, if a company aims to develop and deliver affordable and innovative healthcare solutions that enhance the well-being of individuals worldwide, an employee may realize that whatever they're working is too expensive and therefore inaccessible to many people around the globe.

You may correctly point out that a concrete goal for how much a given solution can cost is preferable, but the statements cover that as well: Management derives operational goals from these statements. Since healthcare solutions must be affordable, management can commission research on what the average person can afford in a given field, and use that research to inform how much a solution can cost.

Values dictate the morale boundaries: Sure, our goal is to to develop and deliver affordable and innovative healthcare solutions that enhance the well-being of individuals worldwide, but don't use child labor to achieve that.
I really dislike tailwind too, but I think there is lot of value for lots of people in the idea of having all the styles contained with the template and thus making copy-pasting of code easier without having to deal with the pesky 'Cascade' part of CSS.

Personnaly, I love the cascading part when used correctly, along with the 'latest' evolution of CSS such as 'calc()', variables, on top of using CSS selectors.
> People just want to continue to create this weird tension between engineer and business people

because there _is_ tension between business and technical people.

a business person can walk into a room and through charm and sheer force of will get what they want. No amount of charm will ever find and fix that bug.

It's a fundamentally different approach to the world, hence why they clash so often and why an engineer turned CEO is going to act vastly different than business person turned CEO.

and just as clearly, what a CEO values matters or they wouldn't be paid so much because they could be replaced by anyone otherwise.
The development time is almost inconsequential. Software is written once-ish, read a few times, and run many, many times.
I am the previous commenter

“stability” and “fragility” also rhyme
Looking at the benchmark where C++ is worst compared to other languages, it's depending on the library used. I would guess if they used Google's re2 Regex library instead of Boost's, the result would be different.

https://github.com/google/re2

https://github.com/greensoftwarelab/Energy-Languages/blob/ma...
Am I the only one who is getting tired of "It's X in rust" type projects? It's making me dislike the community.

Rust is not a user feature, it's an implementation detail.

<cue people telling me I should consider Rust a feature>
Then I can say that the C version for that game was designed badly from the start. You should not do that kind of mistakes when laying your foundation down.

I understand your pain. I have written a material simulator in C++ which didn't use any safety barriers after the startup process, which made sure that it was safe to start the hot loop. On the other hand, my code never had a memory leak or never crashed, because I knew what I was going into and designed it appropriately. Most importantly, that thing is fast. Millions of iterations per core per second fast.
> it seems unlikely that any kind of play in a playground could result in serious injury or death.

I think more important than the setting is ensuring they know how to play safely. Third most common cause of death is accidental self inflicted injuries. A lot of those are falls.
It's a completely separate accelerator code, though there's possibility of maybe using it in combined fashion with HIP/ROCm OpenCL (I think there's OpenCL compiler for AIE and AIE-ML, but I'm not sure at how well it works yet)
There were full working iOS ports of Firefox 2-3 different times in the past, but it's unclear whether they have one ready to go for this ruling, especially given how poorly Mozilla has been run lately and how much they've cut back in their browser development investment.
Hal Colebatch wrote a really great short story called 'The Colonel's Tiger' which is worth a read...
I'm with the author. I love vanilla CSS. With a well-thought, cascading structure you get the benefits of both global and local CSS.
Why is this article timing out for me on Firefox and in South East Asia?

EDIT: It was the CloudFlare DNS issue. NVM.
I do not get this Rosen Trap example you linked to... It's an easy win for blacks, just move the rook to 8th row instead of moving the pawn and it's checkmate. The pawn move seems kind of random, as if it was played by a child.
Well sure, you can make anything as complicated as you want it to be
Wow, the tech was really intricate! ¹

It could invert negative film to positive, and it could color correct scene by scene by looking at correction codes or counting frame numbers, then applying the correct color correction.

Later, broadcast TV started using flying spot scanners instead of just a video camera in front of a film projector. ²

1: https://en.wikipedia.org/wiki/Film_chain

2: https://en.wikipedia.org/wiki/Flying-spot_scanner
In a capitalistic society do injured kids mean reduced work force or more money for Big Medicine?
that's why it crashed on the last flight. They did a 'pacman -Syu' without looking at the archlinux news
The endless roundabout of discourse on which technology choice you should or shouldn’t make is exhausting. As a senior engineer im able to sift through the bullshit on this but as a junior I remember these discussions were draining and also made me feel like shit about decisions I’d made.

I guess it drills into a part of human nature where we are always measuring ourselves and our things against others.