skysight-inc/HackerNews huggingface dataset:
35Kx speedup is not scaled speedup. Throw this, naively parallelizable task at a bigger computer and get 70kx speedup, etc.

While i think there are tons of optimizations to be done for python (looking at you GIL) giving access to low level cpu primitives is not one I think that will be broadly adopted by the python community. That's one of the joys of python: system agnostic, looks pretty close to pseudocode, coding. If you want speed, glue together a bunch of compiled code calls, and hope the call overhead isn't too large. Or write cpu intensive operations in numba, or pyrex. At the end of the day, mojo's pay to play programming language harkens back to the early 90's Borland days.
Shouldn't we be looking at the percentage of people who suffer from food insecurity and lack of access to permanent housing to begin with? How far a dollar stretches, changes over space and time.
There is a hole cover plate that has to be pushed by rounded plug pins to pivot and unlock the socket holes.

You can try pushing with something like a screwdriver (to test for live) and it's hard to pivot the plate (feels like it needs both pins to pivot), and a non round tool snags on the plastic cover plate.
If those are representative of the sorts of businesses that are in that 50,000 then this strikes me as being a normal and good correction.
No, I was trying it for another medical condition. It worked most of the week other than the 2-3 days after injection where a side effect made that condition effectively worse, so it wasn't worth it.
He is a fastidious and interesting writer. I nonetheless found both these novels disappointing. They seem to be porn for engineers. Like all porn, the lead character is a cardboard cutout with monomaniacal motivation. (It seems revealing that both books place the protagonist in a position of complete social isolation.)

This was a more serious flaw in Project Hailmary, in which first contact - a profound event - is treated as a lone man’s engineering puzzle. The book is a good argument for sending poets, or at least properly thoughtful scientists, to meet our first aliens.
You aren't that far off. Much of what is in the realm of "management theory" is rehashed from the heady days of slavery if you trace it's inspiration back far enough, at least in the United States.

Basically, if you aren't an independent trades/craftsperson, you're being handled by the same corpus of institutional knowledge that kept ye olde plantation running smoothly. Less outright violence. Still there though.
I don't go a day where I don't drink at least two glasses.
Since C++20 that DbI is possible in C++, although not as nice as D, or as Andrei would like it to be.

By making use of constexpr if and concepts.

Yet another example of how D has missed to mainstream languages, that eventually got a good enough alternative, with a much rich and mature ecosystem.
Going to piggyback off of this thread and ask: does anyone know of an offline tool like this to show a visual diff between two pieces of text?

Edit: I’ve been using JetBrains IDEs for at least 10 years now and never thought to type “diff” into the actions menu looking for this… well, sure enough, it’s there! It’s about the same as the merge conflict resolver, which is amazing.
> Rather than 12 keyword arguments and 12 branches in 1 big function, it should be 12 small classes (in OOP) or 12 small functions (in FP) that each handle one of the branches.

I mean, sure, you could convert your library into 12 little classes, or a collection of purely-functional combinators. Sometimes that helps. Sometimes it makes the situation even worse.

Some of the most terrifyingly inappropriate abstractions I've seen in my career involved complex class hierarchies, or worse, things like "abstract interpretation over the free monad."

There's no substitute for asking, "Are these things I'm trying to abstract over actually similar in any fundamental way?" And "Is this code actually just horrible?"
Court sides with Grayscale in closely-watched Bitcoin ETF case
Then I recommend the Typescript version.
What was the one time?
Consumers respond to incentives. I wouldn't "blame" them either, but I would expect consumer behavior to adjust to taxes or revoking subsidies for certain goods.

If it were down to wagging a finger, yeah, that's for the birds. The only thing that serves is feeding the clickbait money machine inflaming a culture war. We already know that if some alternatives are on the market (electric vehicles, plant-based boxed crap), people will buy them. A large percentage of consumers buys plant-based products despite not being vegan or caring to be.
That always seemed to me, to be a fabulous danger. Reach for your towel on the counter, tangled with the hair dryer cord and the hair-dryer is pulled into the bathtub. Yow!

In the US, the cord would likely pull out of the wall, safely.
> Rc is the non-reference counted version and Arc is the atomically reference counted version.

Typo here I think Steve, Rc is reference counted, but it's not atomically reference counted. Hence the lack of an A. You've managed to instead say that it's not reference counted.
YouTube has an ad problem: I promise, I can prove it [video]
As far as I can tell, this is the correct way to handle this? I haven’t paid attention to any medical bills sent in the mail since I started working 15 years ago (I generally pay what they ask at the point of service), and I’ve never noticed any consequences (no denial of service anywhere, has never shown up in any way on my credit report, etc) — as far as my experience has shown, any bills sent after the fact are completely optional to pay.
Bookmarklet Maker
Yes they are. Most people will.

They are not the same because an LLM is a construct. It is not a living entity with agency, motive, and all the things the law was intended for.

We will see new law as this tech develops.

For an analogy, many people call infringement theft and they are wrong to do so.

They will focus on the someone getting something without having followed the right process part while ignoring the equally important someone else being denied the use of, or loss of property part.

The former is an element in common between theft and infringement. And it is compelling!

But, the real meat in theft is all about people losing property! And that is not common at all.

This AI thing is similar. The common elements are super compelling.

But it just won't be about that in the end. It will be all about the details unique to AI code.
> but what could you have gotten if you paid as much there as you pay in the US?

If you ignore the fact that I was already paying substantially more for it with higher taxes, the answer is still nothing. Countries with public healthcare don’t have expansive private healthcare systems, and nowhere in the world has a healthcare system that offers the level of service that the US system does. For example my sister was giving birth in New Zealand, and I wanted to just pay out of pocket for a private hospital for her. There are zero private hospitals in the country that offer this service, so her only option was to go to her local (and notoriously bad) hospital. She remained in the maternity ward for nearly a week, because while she was there that hospital had its 15th norovirus outbreak for the year.
> You might as well go and argue that some particular person from Africa can't be called “black” because his skin pigmentation is brown.

What if the person from Africa has brown skin pigmentation and are descendants of people from India? I had a friend in college like that who fit those qualities, but I am pretty sure he would experience backlash if he referred to himself as a black person (in the US).
>"As an aside, new hardware platforms such as NVIDIA Grace Hopper natively support the Unified Memory programming model through hardware-based memory coherence among all CPUs and GPUs. For such systems, HMM is not required, and in fact, HMM is automatically disabled there.

One way to think about this is to observe that HMM is effectively a software-based way of providing the same programming model as an NVIDIA Grace Hopper Superchip."

1) I am curious what the AMD equivalent of nVidia's HMM is, or will be...

2) I am curious if software will be able to be written with HMM (or some higher level abstraction API) such that HMM enabled software will also function on an AMD or other 3rd party GPU...
I wonder if it's possible to replicate that circuit in a USA house but still stay within code. I'd love to make my tea faster!
It's not back
What baffles me are these people who constantly show up to defend the US health care system, when there is clearly a plethora of real end user testimony showing how detrimental it is to the health of most United States citizens.

Maybe HN isn't the best site to discuss this on, I'm guessing most of you work for some large tech sector business that offers good insurance. But most of the world is not made up of tech workers.
I disagree. There are plenty of folks who would rather see the natural world preserved for its own sake, even at the expense of human growth and survival. And plenty of folks dismissing environmentalists as treehuggers who love nature more than humanity, who don't get that preserving the natural world is a prerequisite to human survival. I think the distinction is important.
I like this one: https://github.com/oobabooga/text-generation-webui

LLM is the swiss army knife for everyone not just developers.
The physical safety of executives at places like Exxon is at least in part dependent on the fact that people like me have too much to lose. They don't just deserve blame. They deserve some kind of justice.

Nobody has made them invest in more and more infrastructure instead of alternative energy. Nobody made them pay public relations companies to spread FUD about climate science and mitigation. These people are guilty of crimes against humanity as far as I'm concerned.
Humans are the cockroaches of large mammals. We're tropical apes that managed to survive in the some of the coldest places without anything that resembles modern technology.
I love my quality of care in the US. My insurance is quite reasonable compared to what my increased tax burden might look like overseas. I can’t imagine living in a nation that would make me wait months for something like an MRI, I love living in a nation where I can get an MRI for myself and my dog in the same day. I also enjoy living in a nation that doesn’t suggest I kill myself over trivial situations and backlogs, let alone suggest I kill myself at all.

The only thing I hate is dealing with Byzantine clerical processes in the occasions they make a mistake. Have to waste 3 hours on back and forth phone calls because a low-level nurse made a typo is obnoxious.
> it could serve to reduce deforestation in those regions by reducing the demand for more farmland

Only if the food surplus gets used to improve the life of people, without increasing population size!
>Bleacher Report, a top real time sports and media website, was hitting scaling problems due to their business success. With Elixir, they were able to 8x the average daily traffic load, going from 150 servers to only 5:
The site was originally written on the Ruby on Rails framework but Bleacher Report reached the point where they could no longer scale it, according to Dave Marks, BR’s senior engineering director.

And they said they could do it with 2. That is anywhere from 30x to 75x. Although I think the current work on Fibre and Async could have reduced it by 10x to 20x as well. Rails just need to adopt it. It is unfortunate they didn't try to optimise it but instead went with Elixir.
> What a load of snide hogwash. First of all, how are LLMs snake oil? There is actual usefulness to be had.

It is an energy wasting snake-oil burning the planet. [0] [1] Especially when they confidently hallucinate without any transparent reasoning or explanation other than the regurgitation that it has been trained to do, or more accurately they are stochastic parrots.

The issue is fundamental to LLMs and deep learning and researchers still don't know why other than tweaking parameters and fine tuning / re-training it with GPUs still incinerating the planet with no viable alternative to such wasteful methods.

> And I can run inference on my laptop, transferring capabilities to smaller models is a thing, quantization is a thing, optimization is a thing.

We are talking worst case for inference not 'smaller models' which still need to be trained or fine-tuned to exist in the first place and for improvements. For the so-called 'serious' cloud-based LLMs, they need to continuously serve every inference and that requires a fleet of GPUs to serve lots of users as the parameter count of the model gets larger.

> And, DL has been feasible for barely a decade, LLMs for a few years.

Neural networks which are fundamental to LLMs have been around for decades and are still unexplainable black boxes which are incapable of transparent reasoning other than regurgitating responses that it was trained on. Unacceptable and useless for a wave of use-cases that require explainability.

> Are you talking about crypto by any chance?

Crypto already has viable alternatives to its energy wasting problem [2] available today right now. Deep Learning still does not.

[0] https://gizmodo.com/chatgpt-ai-water-185000-gallons-training...

[1] https://www.independent.co.uk/tech/chatgpt-data-centre-water...

[2] https://consensys.net/blog/press-release/ethereum-blockchain...
> This is all pretty impressive if I can take my unmodified (slightly modified?) Python code and get that sort of improvement.

it'll never work as smoothly as they advertise. just hands down, beyond a shadow of a doubt, their claims about supporting "unmodified" Python code are startup hype. how do i know? i could give you a bunch of technical reasons about Python as a language and CPython as the de facto implementation (thereby informing tons of code already written, re extensions) but there's a much simpler way to reason about it: because there are already >10 attempts at this and no one has been able to do it. there's no magic here that any number of dollars or brains could pull off. instead each such project picks a point on the pythonic<->performant design-space tradeoff curve and then asks/expects you to live with that choice.

and taking ^ into consideration, mojo is not that special. only thing going for it is chris lattner isn't bad at designing languages so maybe, on its own, it'll be a nice language (but it needs to be open to get any traction on its own).
I’m running and finishing missions daily. There are bugs, yes, but it is imminently playable.
> It can't, that's what it says on the home page. Stuff that can't be freed during compile time is handled via GC.

The documentation I've quoted and posted a source to specifically says that all objects are freed either by 1) autofree or 2) reference counting.

> What's the impossible claim?

The impossible claim is that all objects are freed either by 1) autofree or 2) reference counting. As I've mentioned, neither static analysis (which is what autofree is) nor reference counting is capable of completely freeing all unreachable objects at runtime - reference counting is in particular unable to handle cyclic references.

> What's the issue again?

The issue is you vehemently claiming that V has never, ever promised a feature that was impossible - which is false, as I've demonstrated and cited with reference to archive.org of V lang documentation. So can you stop doing that, please?
It reflects a similar problem in industry. If you look at the trade magazines during the Renaissance in quality management, many paid lip service to the ideas of statistical quality control while trying to sell gadgets and data processing systems to enable 100% inspection. That's because leadership change can't be bought and requires work from leadership.

QA, I've always felt, is the wrong approach, in that I don't think quality is something you can assure, especially if it's not designed into the product. Whether you're talking about software testing, ISO 9000, GMP, or whatever, these approaches are good at providing a lot of activity and reports and not necessarily coordinated with quality product. They may be an essential part of achieving quality, but they don't cause it.

The US government, for a long time, was killing itself with QA that allowed purchasing from anywhere that could supply an "acceptable quality level", meaning on average 3% of any item was defective and an assembly could have a high likelihood of not working.

Similarly to software process, quality management gets fetishized and cargo-culted, so you end up with six sigma, "zero defects", total quality management, etc. I read that Deming once saw a TQM placard and said something like, "I hope I'm not guilty by association."
The article makes it sound like it wasn't free for tax payers and there were a bunch of subsidies and infrastructure costs that were tax funded.

"Foxconn could hire people in the final weeks of the year, get tens of millions in subsidies, and be free to lay them off once the filing deadline passed"

"State and local governments spent at least $400 million, largely on land and infrastructure Foxconn will likely never need."
Just take a look at the new content, this isn’t a recommendation problem. This is a problem with the show greenlighters all being women for the most part over the last couple of years. Even international films are only allowed on the platform if they toe a certain line.
This is not quite true. The claims about autofree made in the article are still extremely relevant.

For example, the following code from the article still leaks with autofree:

[heap]
struct MyHeapValue {
value i64
}

fn draw_text(value MyHeapValue) {
}

fn main() {
// ...
arg1 := MyHeapValue { 42 }
arg2 := MyHeapValue { 100 }
draw_text(arg1)
draw_text(arg2)
// ...
}

What's more, it leaks even if we completely remove the calls to draw_text and the function definition for draw_text.
For the induction cooktop, there's circuitry to drive the induction system, which then creates magnetic fields, which then interacts with the metal pot, which gets hot and heats the water on one side while radiating heat into the air on the other. There's a lot of stages for losses here.

On an electric kettle, there's just a heating element, often directly bathed in the hot water.

There's absolutely less losses with the electric kettle, so for a 3kW kettle and a 3kW induction cooktop the kettle is slightly more efficient. Slightly.
The article does take purchasing power into account for geographical differences, and inflation into account for temporal differences. All prices are normalised into an International Dollar across space and time, so that $30 in Cape Town in 1970 would still buy you $30 worth of goods in the USA in 2023.

It's outlined in the section[1] below the first graph, and the rationale for those methodologies is also outlined in that section.

https://ourworldindata.org/extreme-poverty-in-brief#differen...
I didn't -- I actually hit my first cybersecurity company straight out of a math degree. It was a firmware security thing, so I spent a lot of time outside of work learning about linux, device drivers, etc. and programming. That's to say -- diving in is surely possible. I'm now at my second cybersec company in a totally different part of the field.
Huh? That's how people did it for all of eternity until about 75 years ago.
Changing the conditions of employment unilaterally is exploitative, especially within a system in which employment is required to maintain access to health care.
Your default position should actually be caution considering how the introduction of foreign elements to the human body, especially one that enters the bloodstream, generally causes some kind of illness. See steroids, chemotherapy, heck even the antibiotics that we are prescribed to take sometimes. Why should microplastics get a pass by default in your worldview?

And don’t you think there’s disproportion in your asking for a total and convincing argument to believe otherwise, while also claiming that the basis of your doubt is some scene from a TV series that performs bathroom humor?
No.

This kind of zero sum thinking is rightfully rejected by most in the US. We don’t need to live with less, we just need to do a better job. More efficiency, lower footprint.

We need to do better, not do less.
I use NewPipe for all of those use cases. No ads, playback while screen is off, queue up and download videos, watch live streams, etc.

Sorry, was that supposed to be a gotcha?
> They are not comparable social situations.

I didn't compare them. I replied to a guy who was talking about space missions.
Rust and Unity? Using Unity as an editor for making Rust games with Bevy [video]
Not really. Democracy requires an incredible amount of work. Most people don't want that work. Even in governments which are technically democracies, the vast majority of the population never participate and accept a dictatorial rule. Not because of brainwashing, but because they don't want to get involved. They just want to live out their life and let someone else make the decisions.
Yea, favorite place I found OpenWRT was in DJI phantom 2 Wi-Fi Extender module. Managed to SSH into it. Hardware was not particularly interesting just cool to see OpenWRT in a widely purchased product.
No, we can still do that -- I have a dual-voltage shaver point next to my bathroom sink with my electric toothbrush plugged in.

There's a famous, common 20VA fixture by Legrand with a distinctive symbol. I asked an electrician about this last year. Most electricians will still fit them.

It won't supply a hairdryer or a pair of curling tongs, probably. Not that you really want such things in a bathroom or without an earth pin.
Plenty of OpenJDK alternatives still exist, just like there are several C and C++ compilers.
> As such, it will greatly increase throughput if given multiple cores, and will lead to lower pause times based on this improvement in throughput.

If given many cores or perhaps in a later revision with improved efficiency. Today throughput on a four core CPU seems to be lower.
The planet should be able to handle a lot more economic growth if gone about a different way, and if there is a more even distribution of wealth(I am not against billionaires per se but a lot can be done for the lower 50%). If 250 years after the industrial revolution humans have no other way to develop quickly other than pumping coal, whats the point of innovation?
Looks like a great tool for those who still aren't using Emacs.
Sometimes it's concurrency, but most of the time it's that I want to know I own the array. I want to know that `_array[5]` will be the same, no matter when I access it (excluding intentional modifications by callee). For example, if I take `T[]` as a parameter to my constructor, I might think `_array[5]` will be the same, but nothing stops the caller from doing `Array.Sort(theParameter)` sometime later.

// in one function of the caller's type
_data = new int[] { 1, 2, 3, 4, 5, 6, 7 }; // could come from some data collection engine
_dataTable = new(_data);

// then, sometime later, in another function of the caller's type
Array.Clear(_data); // reset for next iteration or something
// data table now has an array of zeros if it didn't copy the data

This is just an example, and the problem is not only limited to arrays; Mutable classes can be mutated by the caller after the callee is given them. Basically, the issue is multiple mutable references. The only solution to the above problem is a defensive copy by the "data table" constructor. I would like the ability to say, "the caller cannot modify this reference anymore".

This is something Rust gets right, IMO. If I want the callee and the caller to share mutable ownership, RefCell<T> or Mutex<T> can be used, and the usage of such a type makes that clear. If I want thread safety, I can wrap the mutex in an Arc<T>. And, if I don't want shared ownership, a plain T can be used, and ownership passes into the callee. The issue is: in C#, without defensive measures, all objects are just T* with no ownership or thread-safety.