skysight-inc/HackerNews huggingface dataset:
Vite still leverages node, esbuild, swc, tsc, etc for parts it’s not directly responsible for.

Granted I have no experience with bun yet, my take on it is that you can leverage bun for running the local dev server (instead of node), leverage bun for bundling (instead of esbuild or tsc or rollup or an amalgamation of them), and leverage bun for transpiring instead of Babel and typescript.

What vite provides is an easy to configure setup for developing frontend applications with a nice DevX when working locally.
Yes you're right, he joined them six months in. I'll fix my comment.
From the thread it seems you are on Ubuntu. There are basically two package managers out of the box. One, the traditional combo of dpkg + apt on top is deeply embedded into the system. You can install a Discord .deb package using `$ sudo dpkg -i ~/Downlaods/discord-0.0.28.deb` or whatever because it is not in the operating system's repositories. If it was, it would be `$ sudo apt install discord` or something along those lines.

The Snap packaging system also includes a layer of software that can sandbox the packages it installed. The idea is, a single package is less distro-specific and also is limited in the damage it can do. Ubuntu is the main user of Snap. Many other distributions, especially Fedora and the like seem to lean more towards Flatpak, which is a different take on what Snap does. Yes, it is complicated but the idea is to increase the security and portability of software packages for Linux. To manage Snap packages from the command line, you can use the snap command.
I got a framework chromebook and I'm very happy with it. The only thing that would be better would be running chromeos on a fast system with no fan, but that doesn't exist.

An apple silicon/arm is the ideal laptop form factor since it's fast and has no fan, but apple won't let google use that as a building block of course. I have tried running x86 binaries on my mac studio, it's dead slow as others have reported with ubuntu; I tried an arm ubuntu image and it ran at native speed. I couldn't immediate figure out how to get an arm chromeos vm to try to run on it.
both you and the comment I'm replying to are hilariously hackernews pedantic

consider all the sounds humans can produce

now ask yourself

1) amongst them, if p and d are close (there is no world in which the answer to that is "no")

2) if there are real life examples of languages shifting between them or using them interchangeably (there are, papa and dada being a prime example)
The article tries to make it out as if it's about privacy and integrity in general. Google is all the way up at the top of the list of crooks together with arseholes like Meta.
There's a good chance this is rather a Go issue than a GC one. People get fooled by Go's pretense to be a high level C replacement. It is highly inadequate at performing this role at best.

The reason for that is the compiler quality, the design tradeoffs and Go's GC implementation throughput are simply not there for it to ever be a good general purpose systems-programming-oriented language.

Go receives undeserved hype, for use cases C# and Java are much better at due to their superior GC implementations and codegen quality (with C# offering better lower level features like structs+generics and first-class C interop).
I wonder if this focus on plastic waste was created by oil companies to distract people from climate change. Solving climate change depends on solving pollution of greenhouse gases mainly from burning fossil fuels. People seem to conflate any pollution with climate change.

It is important to keep plastic waste out of the oceans and other places. But I'm not sure if that can't be solved by making sure they get thrown away. There is plenty of space for landfills. Plastic in landfill is carbon neutral. There is energy in making plastic, but there is energy in making the alternatives and from the price, plastic likely uses less.

The other thing is that for climate change, plastic is a pretty small part of the problem, 2% of global emissions. Like it is more important how the restaurant is heated and cooled and how all the customers got there, than what the utensils are made of.
Paging Dr. Bot – Why algorithms cannot replace intuition in medicine
> I'm showing Exos x20 20TBs for ~$500 new.

Where? For new prices I'm seeing $350 at amazon, $350 at B&H, $280 direct from newegg, $280 at serverpartsdeals.
US grants first commercial licences for long-distance drone flights
Almost all Rust libraries just don't deal with concurrency at all.

Maybe async is the most popular concurrency construct there (I have no idea). But the entire population here is small.
Well, if he wants to get close to using 12% of the machine, he'll need the SIMD intrinsics that are hidden behind `unsafe` :(
There's really no explanation of Emacs' dependencies? Has no one bothered to write one?
More discussion yesterday over here: https://news.ycombinator.com/item?id=37421241
We do not want red and blue functions. Any language that implements async / await as coroutines instead of green threads is making a fundamental CS mistake.
https://journal.stuffwithstuff.com/2015/02/01/what-color-is-...

Concurrency's correct primitive is Hoare's Communicating Sequential Processes mapped onto green threads. Some languages that have it right are Java (since JDK17 - Java Virtual Threads), Go, Kotlin.
Recommended Card Games for Two Players
"be a 1950's and 2020's woman."

I hope he understands you're still laughing at him.
Yeah, that was my answer

> “for security reasons” is a pretty bad reason to reset the password to a default 8 characters printed under the box!
> There's Firecracker, which I believe is secure (AWS built it for Lambda after all) but good luck figuring out how to run that on a Mac.

Then, how about using AWS Lambda for your use case?
The bar for answering that is ambiguous.

What evidence would provide proof that it is really happening, as opposed to it being just words in an article?

Do we need to go to a plant?

Will following only _some_ of the carbon through it's lifecycle be sufficient?

Is burying _some_ of it sufficient?

Or are we looking for a full audit framework?

Is it okay if that's enforced by force of law?
Interface with GIS, 2D/3D AI automatic visualization generation
The lie of the existence of reliable detection served its purpose when it was originally claimed this content would poison the corpus of our whole culture. Now that conversation has passed and they don't have to answer the question anymore.
Interestingly, the newest Java memory feature (Panama FFI/M) actually can catch you if threads race on a memory allocation. They have done a lot of rather complex and little appreciated work to make this work in a very efficient way.

The new api lets you allocate "memory segments", which are byte arrays/C style structs. Such segments can be passed to native code easily or just used directly, deallocated with or without GC, bounds errors are blocked, use-after-free bugs are blocked, and segments can also be confined to a thread so races are also blocked (all at runtime though).

Unfortunately it only becomes available as a finalized non-preview API in Java 22, which is the release after the next one. In Java 21 it's available but behind a flag.

https://openjdk.org/jeps/8310626
This is this guy's opinion, it may or may not be a valid interpretation. SpaceX is by far the world's largest operator of space launch deluge systems and other than south texas operates 3 coastal pads, with dozens of launches per year...each.

In this case, a retention pond and collection system does exist. However, when the system is starting and stopping there is overspray outside of the launch area that doesn't get collected. This water is potable and ambient temperature though.
Have you tried since v0.7? Vite support was supposedly added then
Zig isn't an interpreted language; once the code is compiled, the produced artifact doesn't change. Stability doesn't really play a factor there.

Sure, the instability of Zig may increase the maintenance costs for Jarred, to use updated versions of Zig. But this has no effect on the features that Bun provides. The risk that a change to Zig would be so consequential that they would actually prevent Jarred from continuing to work on Bun, or would otherwise force Jarred to fork Zig, that risk is so low as to be inconsequential.

(disclaimer: not associated with either bun or zig, the above are pure opinions)
> This is a ridiculous thing to say.

I understand that inexperienced people oblivious to basic requirements of a simple release process might have a hard time understanding why those requirements need to be addressed.

> GitLab says it’s too complex. GitHub says that it’s too complex. Linus Torvalds doesn't use it.

I recommend you think things through by yourself instead of holding on to meaningless appeals to authority.

For starters, you should read what the CEO of Gitlab actually said about Gitflow. The "complexity" examples boiled down to complaining about using rebase, which is really immaterial to the discussion and pointless nitpicking, as nothing forces anyone to rebase anything anywhere nor does it have a fundamental role in gitflow, and complaining that "there should be one main branch" is frankly a pointless remark. That's the full extent of the nitpicking.

Name-dropping Linus Torvalds to point out he doesn't use it is also a very silly attempt at an appeal to authority. I mean, the Pope himself doesn't use trunk-based development. Is that relevant?

Your silly attempt at an appeal to authority is outright absurd when you factor in the fact that the Linux release process is far more complex and convoluted than gitflow, involving cutting release branches by pulling cherry-picked changes from countless remote repositories which may or may not even track the same point in the branch.

https://www.kernel.org/doc/html/v4.15/process/2.Process.html

https://news.ycombinator.com/item?id=9744606

> Both Google and Facebook use trunk-based development.

Are you really sure? I know for a fact that you are not, and I call out your bullshit by stating that I know for a fact that some FANG teams use Gitflow, because I worked in them.

> You think none of these people are professionals?

I know that your baseless and silly appeals to authority show you are certainly not a professional with any degree of experience doing releases, and that's where your name drop attempts end.
My Open Letter to the Open Source Software Industry
Ooh, that's very ezn. Ah crap I think I have a race condition.
I worked at Microsoft from 2005-2017 and mostly had a private office during that entire period. There were some teams that I joined in the later years that were more "startupish" that worked in open spaces, which I really didn't like, and you could see the company moving to that model in the mid-2010s.

Having a private office spoiled me as well, although I had come from companies that had cubicles. There was nothing like being able to close the door and turn up your music while you were coding. Nowadays, everyone is out in the open with headphones on, of course.
You are reading it right.
bun startup is fast compared to other JS runtimes but imo this is little or nothing to do with JSC versus v8 as the javascript engine. i did some experiments a while back and wrote them up here if you want to take a look.
https://just.billywhizz.io/blog/on-javascript-performance-03...
Apple advertising extends beyond the app store, both for iOS and macOS, and is personalized by default. You can disable this in Settings -> Privacy and Security -> Apple Advertising on both platforms.
It always amazes me how we can sweat bullets trying to get page load times down and then someone slaps google’s and someone else’s tracking shit onto it and everything grinds to a halt, but that’s okay.
> same could be said for NTSB reports, yet those are made public

Trucks aren’t dual use in the same way rockets are.
Smoke blocks the ability to chemically communicate. When an alert signal is heard, it is rapidly repeated causing a swarm. The smoke prevents it from being heard in the first place.
Out of curiosity, where are you getting those numbers? I'm seeing over 40-55% for iPad in all my links, which is quite significant. I'm not talking about single quarter shipments

People are buying android tablets. I'm not arguing that. But what percent of that tablet market has a pen they can target, and has consistent hardware support for everything else like graphics APIs?

Having done mobile dev, even across Samsung devices you have high variance in Vulkan support and bugs for example. Deploying even Unreal Engine or Unity games can be a minefield of compatibility testing.

It's lots of little and big things IMHO that often make it a difficult ROI to swallow.
I would absolutely give up my career to be a househusband, but increasingly, one income isn’t sufficient to support a family. I work in tech and even my salary (or my wife’s) cannot support the two of us + children. Yes we’d save some childcare costs, but that’s about it. If anything, your other expenses on an average remain the same but your standard of living drops because there’s less income.
How to Use IMGCentury Effectively?
These days, compressing images is tedious and slaps us with many limitations. Many websites are there for compressing images, such as Tiny PNG, ILUVImg, and many more. That's how IMGCentury is born.
Does this surprise anyone this has been the way households have been structured for millennia, even among the elite aristocrats of ancient Rome, or Egyptian dynastys there would always the woman was primarily responsible for the running of the home, which despite what it sounds like could be quite a daunting affair, similar on the level of running a small business.

I couldn't do what I do without my wife, she is just as critical to running the household as I am. Honestly how did we convince half of society that it was liberating and freedom to be able to slave away for a corporate wage day in and day out?
Minerals in the ocean come from rocks either from runoff eroding rocks or from undersea vents

https://oceanservice.noaa.gov/facts/whysalty.html

Since there is no outflow for these minerals the ocean has become salty over time.
Don't we want to leave those calcium compounds in the ocean to counteract the acidification of the ocean from CO2?
https://archive.ph/G0m3n
One of these days I really want to sit down and read a bunch of the takes on different async approaches by the Rust designers, and ponder the design choices in depth. Until then, I will defer judgement. I will say I prefer green threads as a user, but the common argument is that it is not a zero cost abstraction, and thus not appropriate for Rust, makes sense to me atm. I do wish async would get rid of its rough edges though (lack of async drop, async traits, scoped task, etc.) and at least become a first class citizen.
> The founder of a collapsed cryptocurrency exchange has been sentenced to more than 11 millennia in jail
Off-topic, but for anyone curious on the intelligence of bees, do watch the episode 7 of Cosmos: Possible Worlds by DeGrasse Tyson, this blew my mind on how certain animals and insects perceive geometry and how it is really not an acquired knowledge but an instinct to them:

https://tubitv.com/tv-shows/564291/s03-e07-the-search-for-in...
https://news.ycombinator.com/item?id=37424724
> Since that time, context switching changed from a O(log(n)) operation to an O(1) one.

I'm not sure how that's relevant here, if for example something takes 1ms and I do it 1000 times a second, I'm using 1000 ms of CPU time vs not doing it at all.
So if you want to use big o notation in this context it should be O(n) where n is the number of context switches, because you are not comparing algorithms used to switch between threads but you are comparing doing context switch or not doing it at all.
?

I use open source for the vast majority of things I do, but I'm still very selective about what I run. It's not an open source thing -- I also don't go out and grab random closed source executables from people I've never heard of.

People are distrusting unknown software from unknown devs, not open source software.
Yes, they are beautiful and natural. If you don't buy into a humanity/nature dichotomy then skyscrapers can be as well.
llm/transformers are 5 years old already.

llm companies raise lots of money on crazy evaluation, the question is if they will be able to build enough revenue stream to justify further money injections.
Doesn't matter what they testify, the burden of proof is on them at this point to prove they would have done this anyway, independent of the unionization effort. Which, given that it was suggested to them by the union-busters they hired, is going to be difficult.

The test for such a burden shift is 1) effected employees took a protected action 2) the company knew about it 3) the employer didn't approve of the protected activity. 1 and 2 are trivially proven, 3 is proven by the company hiring union busters.
Yesterday's news, more discussion over here https://news.ycombinator.com/item?id=37424724
Good question. When I was looking for developers I could only find freelancers interested in short term contracts.
In my country, bank transfers with vendor is usually done via QR code scanning which isn’t supported on the site. The flow for the site would required adding the vendor (even for a one-time transaction) to your bank contact list, manually inputting all of the account numbers/phone/email, then going back & selecting it—something no vendor wants to wait on. If you haven’t done it in 20 minutes, you will be logged out with no cancel logout pop-up & paste has been disabled for … ‘security’?
Even if it's a wash dollar wise, staying employed often means you get healthcare and retirement benefits AND the career progression that ideally comes with long term stable employment. Trying to hop back on the treadmill after a 5-10 year absence often has a huge opportunity cost on your lifetime earnings.
Reverse Fracking.....baking soda pumps...
PATA vs. SATA is a somewhat limited metaphor; PATA had a number of limitations such as the inability to hot swap hardware as well as using wide ribbon cables that made it largely obsolete. In contrast, both sync and async programming have reasonable applications; we're likely using both for the foreseeable future. The best EE analogy I can think of is using hyperthreading to execute multiple processes on a single core vs scheduling each thread to a separate core, but that's less a metaphor and more of a simplified model of what async vs sync is actually doing.

> Should we move back away from parallelism and focus on handling synchronous stuff faster instead?

Rust already has excellent handling of synchronous computation, given that it can meet/sometimes exceed equivalent performance in C. The problem is when you're I/O or network bound; you can either throw threads at the problem (and by extension throw memory at the problem for the thread stacks) or use async programming.
Rust has had channels since before Go was even publicly announced. Remember that Rust, like Go, was inspired by Pike's earlier language Limbo, which uses CSP. https://en.wikipedia.org/wiki/Limbo_(programming_language)
> But their routing things locks you into NextJS as a framework.

I'm confused by this -- how is a framework supposed to offer routing in a way that doesn't "lock you in"? are you "locked into" React Router if you use that? what's the alternative?

> RSC locks you into [Vercel's] hosting solution

how? you can self-host it if you want.
The performance overhead of threads is largely unrelated to how many you have. The thing being minimized with async code is the rate at which you switch between them, because those context switches are expensive. On modern systems there are many common cases where the CPU time required to do the work between a pair of potentially blocking calls is much less than the CPU time required to yield when a blocking call occurs. Consequently, most of your CPU time is spent yielding to another thread. In good async designs, almost no CPU time is spent yielding. Channels will help batch up communication but you still have to context switch to read those channels. This is where thread-per-core software architectures came from; they use channels but they never context switch.

Any software that does a lot of fine-grained concurrent I/O has this issue. Database engines have been fighting this for many years, since they can pervasively block both on I/O and locking for data model concurrency control.
Yeah, this price is frustrating from a small developer perspective. Back when prices were established, tablets weren't used for anything serious, so productivity apps were simple and cheap. Now Procreate is used for professional work and it competes with desktop apps that are much more expensive. Users still expect tablet app prices to be unrealistically low. I guess Procreate can do it because they have a huge amount of the market already. But in the long term it isn't sustainable to keep improving the same app, if everyone already bought the app.
Are all Windows PCs are getting charged to Microsoft's carbon footprint? $200M/year quite a steal if so
First analysis of weird golden orb from ocean floor leaves scientists stumped
Agreed—I got it just for that too!
I had the opposite problem, my ex wanted to be taken care of and not have to work (traditional housespouse); but they expected me to do half of the housework (or more, in the case of the dogs they wanted).

I would work 8-10hrs a day, then spend another 1.5ish walking dogs and .5-1ish doing house chores. After I was done, I would have to listen to them complain about how exhausted they were mopping the floors.

When I would mention to friends of the opposite gender that I felt taken advantage of and that they should contribute the majority of housework for their "free ride" (or get a job and contribute to expenses), the entire conversation would be warped into me being a sexist or abuser. It was a weird societal gaslight, for sure.
Rust is designed like this because it seeks to achieve zero-cost abstractions and safety.

Or in other words, the goal is that you can think in abstract what the natural optimal machine code would be for a program, and you can write a Rust program that, in principle, can compile to that machine code, with as little constraints as possible on what that machine code looks like.

Unlike C, that also has this property, Rust additionally seeks to guarantee that any code will satisfy a bunch of invariants (such as that a variable of a data type actually always holds a valid value of that data type) provided the unsafe code part satisfies a bunch of invariants.

If you use Go or Haskell, that's not possible.

For example, Go requires a GC (and thus requires to waste CPU cycles uselessly scanning memory), and Haskell requires to use memory to store thunks rather than the actual data and has limited mutation (meaning you waste CPU cycles uselessly handling lazy computations and copying data). Obviously neither of this are required for the vast majority of programs, so choosing such a language means your program is unfixably handicapped in term of efficiency, and has no chance to compile to the machine code that any reasonable programmer would conceive as the best solution to the problem.
If you file the FOIA request, I'll cover the Muckrock request fee ($5). Muckrock is useful because it creates a public trail of the request as well as government responses and responsive docs (if any), and the request link can be posted online for public consumption.

https://www.muckrock.com/
I'd disagree with "very bad" being the bottom end of the scale. The cost to plant a tree is not very resource intensive and many trees lost would be made up for a single successful tree. It's almost all upside.