skysight-inc/HackerNews huggingface dataset:
I know a trick, although it relies on the closed source cuBLAS library. The matrix multiplication in non-batched forward passes is really matrix-vector multiplication, but you can shoehorn that into matrix-matrix multiplication by setting the right dimension to 1. cuBLAS uses column major ordering to match Fortran instead of the row major ordering of C/C++, although you can swap transa and transb, m and n, a and b, lda and ldb; and if you are using cublasGemmEx() to use tensor cores, atype and btype. This relies on the property of mathematics where A * B = C and B’ * A’ = C’ for matrices. You can experiment with this on a CPU using a BLAS library like OpenBLAS or the Intel MKL before trying to do this on a GPU.

That said, to do matrix vector multiplication (GEMV), you just need to compute dot products on all of the rows of the matrix with the vector to get your output vector. You could probably just handle each dot product in power of 2 chunks on the GPU to compute partial sums. When you get to the last chunk that is not a power of 2, just have the threads that go pass the end of the dot product contribute 0 to the partial sums. Then you would have the threads handle the horizontal sum of the partial sums to finish the computation of an entry in the output vector.

As for matrix-matrix multiplication (GEMM), that is much harder to do in a performant manner. If you do it by treating the multiplication as a series of matrix-vector multiplications, you will be bandwidth limited rather than compute limited. You would need to implement tiling to get good performance, but there are many tricks needed and it is very hard to outperform cuBLAS on Nvidia hardware. Here is one person’s attempts to do it:

https://siboehm.com/articles/22/CUDA-MMM

Here is a fairly cryptic description of how to get close to cuBLAS that mentions a few key techniques:

https://accu.org/journals/overload/32/181/schuetze/

Here is another guy’s attempts that actually managed to outperform cuBLAS on the H100:

https://cudaforfun.substack.com/p/outperforming-cublas-on-h1...
I don't really know if that matters for this use case. Just by the very nature of source_data -> processing -> dest_data taking nonzero time anything consuming dest_data must already be tolerant of some amount of lag. And how it's coded guarantees you can never observe dest_data going new -> old -> new.
> In her “diagram of development,” Lovelace gives the fourth operation as v5 / v4. But the correct ordering here is v4 / v5. This may well have been a typesetting error and not an error in the program that Lovelace devised. All the same, this must be the oldest bug in computing. I marveled that, for ten minutes or so, unknowingly, I had wrestled with this first ever bug.

The real mark of a non-trivial program is that it doesn't work on the first try.

It's incredible how Babbage, frustrated that the mass production precision machining technology necessary to make his simple engine work didn't exist yet, decides that the best way forward is to design a new system an order of magnitude more complex and then go to Italy to find more advanced manufacturing somehow.
Serious question: for what searches?

In any of these "Google sucks" claims I've yet to see any definitive search results of Google compared to anything else where the alternative was clearly better. In fact, I rarely see any examples at all. It's all just feelings and vibes.

I've literally been hearing this for years at this point. DDG was the popular kid on HN for awhile and, even then, if you dug into the claims it would usually come down to "I don't use !g that often".
My boss would take a piece of data/input and run it through the entire process. It's a string data here, converts to number here, function transforms it here, summarized here, output format there... You wouldn't run into data type issues or have an epiphany that you're missing a data requirement.
And I'm calling you out for your overt bigotry, and pointing out that what you want to talk about has nothing to do with the topic.

I am well aware of the issues in theocratic rule, in multiple Abrahamic branches, and in non-Abrahamic religions.

That doesn't at all explain what "leave Christianity behind" is supposed to mean. When did Europe start that process?
12 Days of OpenAI: Day 8
Celestia – The first modular blockchain network
I don't think there is any plan to replace or even supplement ELisp with Guile Scheme. Guile is a language, but it is also a compiler and runtime. The later two have been intentionally designed such that different language front ends can be written to use them. The plan here is to use a new Elisp front end for the Guile compiler and runtime to replace Emacs' custom Elisp interpreter. Extensions and internal implementations will still be written in Elisp.
Bring back the 9210!
Their goal is to run this on their own cloud.

Despite their lofty claims about community building, their projects are very much about forwarding their use case.

Given that SQLite is public domain, they're not required to give anything back. So, it's very cool that they're making parts of their tech FOSS.

But I've yet to see anything coming from them that isn't “just because we need it, and SQLite wouldn't do it for us.”

There's little concern about making things useful to others, and very little community consensus about any of it.

https://turso.tech/
Qualcomm has fixed all but one issue.
I know, that was intentional.

It doesn't change that you _must not_ use Drop for safety.

You only can use it for cleanup, and that can involve unsafe code and that can make things easier, but you can't rely on drop running for anything safety i.e. soundness related.

And the article fails to highlight this problem but IMHO you really have to highlight it every time you speak about safety+drop, as its one of the biggest pitfalls of current rust and not doing so is irresponsible. There had been too much unsound code due to people overlooking that drop isn't guaranteed to run.

Like to quote:

> What about after you finish with the draining iterator, though? How does Rust guarantee that part of the contract?

> This is where it gets interesting.

> When the iterator is dropped — either because you hit the end of a for loop over it or because you drop it after iterating over some subset of elements — the Drain type’s implementation of the Drop trait takes over. That means that impl Drop for Drain is responsible for making sure that Drain is sound.

And that is _wrong_ the Drop impl _must not_ be responsible for making sure Drain is Sound.

The `drain` function call does so by setting len==0, i.e. making the vector forget about all it's content, i.e. semantically moves out all of it's elements. The Drop impl. semantically just moves the parts it didn't drain back into the Vec. I.e. it's isn't responsible for soundness but for not leaking the non drained elements.
> Think about it, almost everyone I know rarely clicks on ads or buys from ads anymore.

Most people have claimed not to be influenced by ads since long before networked computers were a major medium for delivering them.
Well, all of the conceptual elements it used are in the training set; it just combined them in ways that don't even make syntactic sense. Yes, I know we "just" combine ideas too when we're creating. My point is that I don't think it was producing new concepts, just slamming words together in grammatically acceptable ways. Do any of its absurd phrases mean anything to you? They don't mean anything to me. I could create something conceptually sound based on its absurd phrases, but that's still me doing the work where the LLM is acting as an algorithmic name generator.

I'd be curious if it could explain those concepts and use them in consistent ways. If so, I'd be curious how novel it could really get. Is it just going to be repackaging well-trod scifi and fantasy devices, or studied philosophy? Or could it offer us a story with truly new understandings? For example, to my knowledge, House of Leaves is something truly novel. It's probably not the first book with intentional printing errors, or with layered narration, or with place-horror, etc. But I think House of Leaves is pretty widely considered a sort of "step forward" for literature, having a profound impact on the reader unlike anything that came before it.

(A really serious discussion will require analyzing exactly what that impact is and how it's novel.)
The first stored program computer is a remarkable achievement, even if they didn't actually build it.
Put another way, over time people devalue things which can be produced with minimal human effort. I suspect it's less about humanity's values, and more about the way money closely tracks "time" (specifically the duration of human effort).
Stupid premise.

We already have exercise mimetics in pre-clinical trials. If you can keep yourself fit with zero expenditure of time, why wouldn't you?
> In fact, aside from the profusion of variables with unhelpful names, the C translation of Lovelace’s program doesn’t look that alien at all.

Clearly the author never met my coworkers.
I’m on mobile, but has anyone checked the source or inspected the resources as to where they’re being hosted?

Is there a neocities profile tool?

edit: there is. Site create date is March 2021. https://neocities.org/site/unworld

It drives me crazy when simulated image file corruption is nowhere near what a file would look like. Chromatic aberration?? What the hell is this crap?
> laughing out loud at the inventiveness of the generated replies

Inventive is one way of putting it, but I think he was laughing at how bizarre or out-of-character the responses would be if he used them. Like the AI suggesting that he post "it is indeed a beverage that would make you have a hard time finding a toilet bowl that can hold all of that liquid" as if those were his own words.
>Best way to get otherwise reasonable people to stop supporting social nets. Making a welfare system designed to support only the least well-off is the first step to removing it.

Isn't that what it already does? I live in a very rich very blue state and even here the qualification criteria for just about any state program more or less exclude any poor household that's trying to get ahead (single mom with a full time job, two employed parents multiple kids or elderly dependents, etc). I know the adjacent less rich less blue states are even worse.
This is something the EU got right for once in the DMA/DSA: It only applies starting from a certain, large size - if you're that big, you can afford the overhead.
Not related to the content of this post, but resizing my browser window on that site is kind of trippy.
Here is my question

If TikTok is no longer allowed to be hosted in US, how could they continue the service without transferring the data outside of US? It is going to be a bigger breach if they transfer US user data outside of US, right?
All true but I think an introvert is going to have difficulty taking on a "face of the company" sales and marketing role. That just naturally requires a lot of extrovert personality traits.
This is pretty laughable. HN has had it's quirks and completely hidden behavior pretty much since the beginning.

For example: YC alums can see other YC alums, but none of us plebs are allowed to see their special group. You can never know if you are arguing against a few individuals or a bunch of people with very aligned interests.
It's frustratingly like that and not like that.

For example, you cannot write a routine that says "get me the edges of this object generated by this other routine, and apply a 1mm fillet to them all". Because while the code manipulates geometry, the result is not geometry. The result is a 3D approximated picture of the geometry rendered in another form of geometry.

To do anything like operate on result vertexes or edges you have to replicate the result geometry, by hand, in data structures in the code.

So it is not just fillets as an operation that are missing. It is any notion of being able to access the edges that you would wish to fillet.

This is why I think OpenSCAD does not "aid design" in the CAD sense. It does nothing but compile your wishes into a mesh. The most basic notion of "aiding design" ought to be exposing the result geometry of one operation so it can be used as the variable input for another.

Is it good for quickly understanding basic geometry or displaying the results of formulae? Yeah. Undeniably so.
You use the word “we” quite often, but “we” are not all hurt equally. Nor do we have equal say or power despite the rhetoric.

10% of the populace owns 66% of the wealth and the trend is worsening.

This same 10% is relatively homogenous in race and creed and education compared to the remaining 90%.

This 10% is far more likely to have been born into wealth.

This 10% also has more access to the tools required to understand, manipulate and abuse human nature for their own purposes. Very handy for the rare election or referendum.

None of this is to say Mangione had the right to kill. If I were in his position, I wouldn’t. But I still don’t judge him for it.

And within such a society, “the right” doesn’t matter. That’s a religio-philosophical concept that is of little consequence to a truly stressed individual. When stresses increase, the stressed will react however their nature and nurture dictates.

Point being, rhetoric is only useful for true believers and those who are not stressed.

And a rational, intelligent ruling class wouldn’t let themselves become targets unless they believed they could get away with it and simply didn’t care about those reliant on them.

—-

Numbers alone makes this all clear. It’s easier to get 10 people to cooperate for their own benefit than to get 90 people to do the same. And if it’s a competition with unclear boundaries, then those 10 would be wise to split themselves into two camps to persuasively divide the other 90 while still acting in unison when it comes to maintaining power and wealth.

Granted the scale here is far greater and the cohesion is far less, but the principle remains.
TIL there was any controversy there. To me chili has always implied beans.
I meant specifically that the Earth is roughly ball shaped.
This guy on YouTube built a very clever DIY HRV, but got rid of it and went with a commercial ERV: https://www.youtube.com/watch?v=LiptsaKmq80
Built IndiePNL to simplify indie devs' finances
Built IndiePNL – a simple tool for managing project finances without the clutter of expensive services or messy spreadsheets.

What it does:
1) Connects to Stripe/LS/Zuora to track your runway and key metrics
2) Monitors spending and co-founder contributions 3) Analyzes trends and gives actionable insights

No-hassle financial management for indie devs and startups.

Would $20/month to eliminate these headaches be worth it? We’re in the whitelist stage. Sign up at indiepnl.com.
been anticipating something like this in the CAD space for a while
Author is beating the drum, but what about mission critical software running on x86 ? replacing it will take decades.
They basically already have this: https://workspace.google.com/products/vids/
People have had success flashing custom firmware in the past, so hardware wise they are compatible.
Yes, you mentioned those things that are documented everywhere. I do use LLMs to give me skeleton code for those parts I'm not familiar with.

How about a full equivalent of Qt that is proprietary and has absolutely nothing public in it? How is a LLM going to help with that? There is no public info anywhere.

> the absolute cutting edge of AI research

No offense but there are billions of public pages about "AI" research since it's the new gold rush. Of course LLMs have material about all your libs.
> But Google is engineered to give you bad results so you do more searches and are more likely to click on an ad.

Citation needed.

I do not believe Google would be a sustainable search business if people were routinely given bad results to keep searching.

What concrete examples can you give of what you consider "bad" search results? I'm genuinely curious.
What does shadowbanned mean to you?
One of the nice things about sqlite is that there is a very extensive test suite that extensively tests it. The question is whether the rewrite have something similar or will it get the similar testing? Especially if it uses fast but hard to write and potentially buggy features like io_uring.
Dialectic Mechanics [pdf]
The whole government page at https://www.ofcom.org.uk/online-safety/illegal-and-harmful-c... has an off-putting and threatening tone, celebrating how wonderful it is that online spaces will be tied in bureaucratic knots. Disgraceful.
Distinguishing between correlation and causation is not picking nits, it's one of the most important parts of science communication and is the one that is most frequently screwed up—often with terrible outcomes for public health.

The original title was clickbaity, but it stopped short of identifying a specific casual effect—it merely implied that there was one, which implication is corrected when you go read the body of the article. This title conveys a complete thought about the research that is inaccurate.
The joy of motion and physical effort.
Ratgdo doesn't go through the cloud. It's a separate board. You wire it into the opener the same way would a button, and it speaks the serial protocol that a myQ enabled button or console would use. Then it can speak MQTT over wifi.

I never paired my opener with any app nor do I have it on WiFi.
'a judge ordered Mullenweg to remove a controversial login checkbox'

remove means gone, not altered or replaced. i think clarification comes next, offering a chance to demonstrate lack of contempt before being jailed.
Was it just me who read this as "User Guide for Emacs"
AKA how to know someone is not from Texas
If you are thinking of deploying Home Assistant (HA), let me give you a few tips that I should have known when started. HA environment is vast. There are myriads of options, features, and functions. There are some gotchas that can be costly down the road.

All of the following are "for now, as you start out":

Do not gyrate over which version of HA to run. Run the HAOS loaded on RasPi, or a dedicated machine. You can migrate to other solution if that does not end up to be the best choice.

Make sure you get the latest Zigbee radio dongle the HA Forum recommends. I use in all my HA installs a combination dongle for Zigbee & Z-Wave and it works flawlessly (NORTEK Quickstick Combo).

Start with a few cheap Zigbee devices. Stay away from WiFi, LoRaWAN and other solutions. Z-Wave devices are great, but more expensive. You know you do not know if you even want to do this.

Initially, just use the built-in Zigbee (ZHA) integrations. Once you are comfortable deploying other ways, like MQTT can be established easily.

Do not spend too much on the devices now. I suggest you pick up a PIR motion sensors, door & window opening sensors, temperature & humidity sensors, smart plugs, and light bulbs. Anything else is overkill to try out. Sub-tip: all of these are battery operated, so try to consolidate on a standard battery. The ones I listed can all run off of 2032 cell batteries. Ikea sells most of these, Aqara is well known, and so on. If it is Zigbee (not Matter) you will have 96% chance it will work with HA.

Have fun!
I don't so it was a genuine question, checking if my understanding was correct. I guess it's more about the CL aspect.

From the article "Richard Stallman is not a fan of Common Lisp; rewriting Emacs using it is not likely to go far." My understanding is his preferences have a strong influence on emacs direction, which of course is well deserved, but he can be stubborn about things. I used "stallman factor" because it's not easy to sum up, as his strong opinions and influence on the project are both not bad things (even when I disagree with him I feel it's important to have someone like him) but they do prevent some avenues for improvement. Happy to be wrong about this.
>wouldn't anyone be glad to know that black plastics have more of a toxic chemical than white ones?

Why wouldn't anyone be able to do that? If you can verify the research, you can do whatever you want. Just don't fall for newspapers and blogspam, which also goad you into these things because that is literally how they make money. That way we're not even talking about the actual industry behind it.
Pelicans on a bicycle
At this point, every time he gets out of bed he is hurting his case
I’d say we are about the same. He looked like he’d come out of a business meeting. I had even joked with him about being overdressed for walking around Parc Guell.
So no plan. Simply let people die in the street. Got it.
Most startups burn runway and fail. Not a model for longstanding governance. Likewise what are your incentives? I think we have enough incentives already for people to be productive its just they face blockers to productivity. Investment is limited. Knowledge is gated and not evenly distributed or made accessible as means of stratifying the populace by trade. We seem more content to have a society of a few highly paid engineers vs a society where everyone is an engineer making a median wage. And a lack of social safety net means development optimizes for quick profitability in order to at least pay the owners bills vs developing novel technology that isn’t dependent on profitability in todays economic context (which severely limits human technological potential).
Bold take to proclaim we'll figure out interstellar travel before we figure out how to prevent muscle atrophy.
You are correct.

My Mac is an M4, though.
The hardest part to build a car these days is the emissions. Without it, the next thing is safety, but that is an easier solve.

I feel that Germany felt like EVs wouldn't take off, and thus ignored them for too long, and they got taken by surprise.

For example, the Model 3 Performance on 20" wheels has 303 miles of range, a 0-60 of 2.9 seconds and is about 20k cheaper than the BMW i4 M50 on 20" wheels has 227 miles of range and a 0-60 of 3.7 seconds.

Why? Well, the i4 isn't a purpose built EV. It sits on a platform that must incorporate everything, starting at a tiny 1.6 liter 4 banger, a 2 liter 4 banger with electric motor, a 3 liter 6 banger, and a plethora of configurations, manual, automatic, (air)suspension, performance (M3/M4), bodies (station wagon). And on top of that a battery pack beneath everything and electric motors.

Look under the hood on a BMW i4. Take the cover off. There is empty space there. It's wasteful.

So now I'm looking at our next car. Do I get the Tesla? Or the BMW?
This post vastly under-estimates the amount of malnutrition in most societies pre-modern times. Even with heavy physical labor, I would be willing to bet that the average physical laborer in say 1800, who we know was significantly smaller, would be weaker as well. Farmers and people who do physical labor do build muscles, but they also have modern high nutrition diets and medicine.
...and it's worth noting that trying to take revenge on a court for an unfavourable ruling is one of those things that most rational people would agree is unlikely to end well. We'll see how this one goes.
Qualcomm's exclusivity for consumer Windows ARM devices ends in 2025. It sounds like there may be several others starting up competition in this area e.g. https://www.tomshardware.com/desktops/gaming-pcs/nvidias-arm...
Also a lot of other EU regulations do the same.

Sometimes it's explicitly mentioned but oftentimes it's behind "appropriate and proportionate measures"
The parent means "why wouldn't you stay fit (either manually or with drugs)" rather than "why wouldn't you do it with drugs".