skysight-inc/HackerNews huggingface dataset:
The whole building isn't economic or productive. They could probably make more money tearing it down and replacing it with a Starbucks.

The vast majority of human activity isn't productive. And that's awesome. We've got so much wealth that we can afford to use it on things that are merely pretty or interesting, like video games and space telescopes and flowers.

It would be nice if we could use more of it to ensure that people have the basics, but that's rarely about lack of money. It's nearly always due to some more systemic problem that can't be fought just by throwing money at it.
what kind of interesting failures have you seen because of caching
https://stacklok.com/careers

stacklok is a series A round startup in the supply chain security space, co-founded by the founders of kubernetes and sigstore.

Currently seeking mostly engineering roles. front end (react) and backend (go / gprc).

This is full time remote, but only hiring from EMEA to the East Coast of the US.
This recent article talks about advantages of analog computers and their possible uses as coprocessors to digital processors

https://www.wired.com/story/unbelievable-zombie-comeback-ana...
What if... ME/PSP are actually very low security risk relative to everything else in the system.
One common trick in safer C libraries is to encode the length of the string one word prior to the beginning of the string. So "hello world" in memory would be

11 'h' 'e' 'l' 'l' 'o' ' ' 'w' 'o' 'r' 'l' 'd' '\0'

ptr ^

C could be upgraded to do this in future versions, without too much backwards incompatibility.
Well, he write stuff for developers so he might know the space well enough to start his work,

unlike the recent story of a developer trying to disrupt coffee delivery
If this comment[1] is correct, they would be first cousins, once removed. Their closest common ancestor would be Huang's grandparents, which makes them first cousins, and they are one generation different from each other, when tracing from that ancestory, which makes them once removed.

1: https://news.ycombinator.com/item?id=36164991
It doesn't really help understand what they are, but for completeness CUDA is an acronym for "Compute Unified Device Architecture" while HIP is "Heterogeneous-compute Interface for Portability"
This is a little bit of an over-simplification. These particular 21700 and 4680 Panasonic cells are not off-the-shelf or catalog. As far as I know, they were designed specifically with the EV application and Tesla pack in mind. And to my knowledge, the Tesla Panasonic cell variants only exist in Teslas.

We could not take some other 21700s and make a roughly equivalent pack without a good deal of effort. The thermal characteristics, impedance, length, width, diameter, would be different. There may not even be any cells available with equivalent form factor and performance characteristics.

We haven't seen Tesla or anyone else taking "commodity" 21700 cells and mixing and matching them and throwing them into a pack, it's not possible to do that. Usually, we pick one or two cell manufacturers. It's telling that even Tesla, with their massive buying power, doesn't purchase from LG, Sony or Samsung, only Panasonic in the West for NCA and CATL in China for LFP. Why exactly do we think that is?

It's not quite at the level of people saying computer chips are commodities, and you can just plug your device into one interchangeably. But these cells are not easy and simple. We tend to just think something's easy because we don't have good experience with it. For lithium ion, under the hood, there's enough complexity and risk that the details become very important, very quickly.
> You could try to pay the CEO of Netflix $500k, but you're going to be out a CEO pretty quick.

Let's go one step further and replace that one CEO with 3 employees in some part of the world with lower wages, for 50k/year each.
HN is not a jobs board, please see the FAQ and posting guidelines
Russia says it uncovered U.S. operation to compromise Apple phones
See the sibling comment for an article with some data answering some of your rhetorical questions.
Depends on the model and GPU. Here is an example of almost 2x on a 3060 for StableDiffusion:
https://www.youtube.com/watch?v=_6BsUijOWoM
The cheeky answer would be to throw away the trash every decade, but the real answer is that there is tooling in place to pick the best possible implementation of a function at link time on modern *nix systems to target several levels of SIMD support e.g. SSE2 only, SSE4.2, AVX2, common collection of AVX512 extensions.
The wolf is here and has been here. It's eating more and more sheep every year. But the sheep at the other end of the pasture don't know anyone who's been eaten, so they think the whole idea of the wolf was a scam to steal their grass.
OpenCL did (and still does I think) work on nvidia cards. People I talked to back in the day complained more about OpenCL being "C but on GPUs" while cuda was more akin to C++. They could move faster and do more in cuda and the nvidia lock in didn't matter as the fastest cards of the day were nvidia. I think vega cards were faster (or faster per dollar maybe) for some of the code that was relevant, but not by much and by that point legacy code lock in had taken over.
AITemplate's original designer is here. We quit Meta in January and start HippoML (https://hippoml.com/). We just disclosed our new engine's performance on LLM: https://blog.hippoml.com/large-language-model-inference-from... On Apple M2 Max our new engine encode/decode is 13.8X/2.4X faster than llama.cpp
There are 181 Stack Exchange sites. There are fewer than 10 that I have found, in years of using the place, that are about computers.
YouTube reverses misinformation policy to allow U.S. election denialism
I'm usually docked and using a model-m style keyboard and a standard two button + scroll-wheel mouse. So such gestures aren't really convenient for me. Switching apps is really painful, as I tend to have a few browser windows with different profiles, as well as a couple projects on VS Code open. It's kind of ugly imo.

I wouldn't mind if I could trigger the same gesture (as three finger swipe) with cmd or cmd+ctrl with the scroll wheel.
Agreed on your first paragraph. We in the US literally don't even know how much we spend and how on defence. The pentagon has failed 5 audits in a row

https://oversight.house.gov/release/comer-sessions-open-prob...
I'm not sure why AMD hasn't just directly implemented CUDA, but they did ship HIPify which can translate CUDA code to HIP. Doesn't work for everything, but seems to work for a lot of important ML code. ROCm stack doesn't seem very fully baked though. Only a handful of consumer GPUs are officially supported and stability seems less than great
A theremin input maybe? Could even be part of the build experience. No mechanical parts, which is nice, and pitch bends are fun sounds.
Also: switch it up?
Or just avoid all use of application functions in your database migrations, and you never have to worry about either problem.
All software is technical debt. It has to be maintained, deployed, debugged.

Debt is not inherently bad (mortgage, operating lines of credit, financing a purchase because we’re gaining more with our investments than the debt costs).

We do it (debt) because it’s better than the alternative. In the case of software we earn more from having the software than the maintenance liability.

If you’re concerned about debt make sure your debt is serviceable, and at a reasonable rate, and gains you more than it costs you.
Some decade and a half ago my now ex gf who is microbiologist told me that mankind at one time in the past went through some drastic filter and that all humans alive are descendants out of just 5 mothers. And they could have been related too in the past. So yes we are all one big family, not that it helps with anything
Reasons to Punish Autonomous Robots
Poorly, in my experience.

CUDA is compiled into PTX, an intermediate language. PTX is then compiled into a specific NVidia assembly language (often called SASS, though each SASS for each generation of cards is different). This way, NVidia can make huge changes to the underlying assembly code from generation-to-generation, but still have portability.

OpenCL, especially OpenCL 1.2, (which is the version of OpenCL that works on the widest set of cards), does not have an intermediate language. SPIR is an OpenCL2.+ concept.

This means that OpenCL 1.2 code is distributed in source and recompiled in practice. But that means that compiler errors can kill your code before it even runs. This is especially annoying because the OpenCL 1.2 compiler is part of a device-driver. Meaning if the end-user updates the device driver, the compiler may have a new bug (or old bug), that changes the behavior of your code.

-------------

This doesn't matter for DirectX, because like CUDA, Microsoft compiles DirectX into DXIR / DirectX intermediate language. And then has device drivers compile the intermediate-language into the final assembly code on a per-device basis.

-------------

It is this intermediate layer that AMD is missing, and IMO is the key to their problems in practice.

SPIR (OpenCL's standard intermediate layer) has spotty support across cards. I'm guessing NVidia knows that PTX intermediate language is their golden goose and doesn't want to offer good SPIR support. Microsoft probably prefers people to use DirectX / DXIR as well. So that leaves AMD and Intel as the only groups who could possibly push SPIR and align together. SPIR is a good idea, but I'm not sure if the politics will allow it to happen.
Nope, works really well in modern systems with VFIO: https://wiki.archlinux.org/title/PCI_passthrough_via_OVMF
US corruption is a worldwide operation effort. Russia's is at best significant on Eurasia and US. It will take Putin some time to reach US level.
I was being obtuse on purpose so that young ones and those from more goal-seeking cultures wouldn't spam, but I was imagining a google search leading to a LinkedIn profile.
I didn't misunderstand. Every art form is someone's truth so it's rather superfluous to say that modernism is obsessed with it.
Shark Tank's Barbara Corcoran says Musk is right about commercial office space
> Ideally C needs one way of doing this, and that would be described in the standard.

I'm really glad that C doesn't do this, personally. It would reduce one of the main advantages of the language.
A less successful example of this type would be Hugh Hendry, who after the implosion of his Eclectica fund is now seeking listeners willing to pay via Patreon for his weekly podcast recordings.
What workplaces are have PTO tied to tenure? Wouldn't that discourage new people from joining?
>My long experience is that they care quite a lot about debug information changes; and barely know any of the people involved in language designs and compiler implementations.

Not sure which "programmers" you met in your "long experience" that never cared about language designs and compiler implementations.

Corporate programming drones? People doing CRUD apps who don't care for the history, lore, and ongoing developments in language design? Yeah, most programmers are like that.

Not the kind of programmers that would frequent HN, Lambda the Ultimate, and such websites, though. So you probably never met HN crowd programmers then, who can do both program and debate language designs and compiler implementations, worship people from Chuck Moore and McCarthy to Rich Hickey, SPJ, Joe Armstrong, and Alan Kay, and can even walk and chew gum at the same time.

Probably also missed the fact that the first line of people involved in the case, and in publicizing and discussing the case are not just developers but core Rust contributors - hardly "tech bros" or managers types you can dismiss as "no programmers".
Shouldn’t interest rate hikes hasten a recession?
It's the opposite in red states. People harass strangers in public for wearing masks. Same vibe as the maskers in blue states. It's the never-maskers vs. the ever-maskers.
You assume a langue without UB would allow stack manipulation. But then it would have to be defined. How would you possibly define it fully?
Tus: Open Protocol for Resumable File Uploads
I just ran a 512x512 Stable Diffusion benchmark with this yesterday

Pytorch Eager Mode with some optimizations: ~6it/s

Pytorch Inductor (torch.compile with dynamic=True): ~7it/s

AITemplate: ~9it/s

All of them support changing settings and such, albeit with some work in progress bugs/caveats.

That is 512x512 on a 2060, so I would expect the gains to be bigger on newer GPUs with more overhead to take advantage of.
This may come in handy later, thank you.
I will bite and play the what-about-ism game.

And I dont mean this as an insult but factually you wont see crap smeared on sidewalks and armies of dope fiends walking around in the cities of Austria.

It seems like profit at the expense of everything else, morals included and sustainable growth are two different concepts.

So yes, Austria (country of 10 million) does not have many unicorn companies, but the quality of life for an average person is miles removed from that of an average person in the US, the country with most unicorns in the world?
thanks, you just saved my procrastinating on reddit on mobile (it's fine in Firefox for Android btw)
GPTs are not trained on themselves, and what little knowledge they have of their own capabilities is limited to the discussion of it in their training set. This is a hallucination.
>It might output a much more detailed image than a human-drawn sketch

That's not a necessary property of AI image generation. You could just add a 'output as a sketch' system prompt.
You've continued to repeatedly post unsubstantive and flamebait comments after we asked you to stop. I don't want to ban you, but if this keeps up we're going to have to.

If you'd please review https://news.ycombinator.com/newsguidelines.html and make your substantive points thoughtfully—and avoid flamebait and name-calling—we'd appreciate it.
Of course you can. People that get highest salary are best at one thing. Getting highest salary, that's their job and they're amazing at it. Their actual performance doesn't matter. They can destroy the company and next one will hire them for even more. There are numerous examples.
Im in a startup sometimes i long for the boring stuff :P
Most of that is alleviated by autocomplete with browser history.
Meta tells staff to return to office three days a week
> a system of empowerment, where we can leverage ourselves & have dignity in our relations with technology

He explains in the book why the very existence of technology rules over humans, not the other way around, and why it is not subject to rational human control. It’s force unto itself, with an emergent will independent of those of humanity. He makes the case that technology would create the same outcomes even if AI or non-human aliens were using it, the only requirement for the dystopia which he predicted is an entity caring about its survival. His predictions came true, we’re living it today.

But what led to technology? It’s the human desire for more material, the old greed and the only thing that is known to be effective at controlling it at the societal scale is religion, specifically Islam. Note that emergence of technology is highly correlated with the decline in faith which came with the enlightment and that technology developed primarily in less religious western populations.
It's the economics.

Countries like India, China, Israel, and South Korea also have tech industries that can pay EU level salaries (and in Israel's case US level) despite a cost of living comparable to Eastern Europe (excluding Israel).

The reason is those counties and the US have an oversized software+hardware industry with a very mature VC+PE+IPO market within the tech sector or a pipeline to the US's financial sector, and are thus able to make 8-9x multiples of revenue based on a single IC.

Most of the EU doesn't have software+hardware companies with comparable revenue multipliers. That said, in certain niches (eg. Pharmaceuticals, Finance, Defense) in some regional employment markets like those in the UK, Denmark, Netherlands, and Ireland might be able to offer US comparable salaries (not SV level but a decent $70-100k base)
But Thai already stands for (and describes the actions of) the Movie And Film Industry of America
> Most hand sanitizers were Ethanol or Rubbing Alcohol

You can't know that. The regulations and testing requirements were suspended, so companies were free to use benzene and nobody would know.

We already know for sure that some companies did use benzene, and its not hard to imagine companies switching to a cheaper, lower grade source for their alcohol.

In any case, the government simultaneously saying "Its okay to put benzene in hand sanitizer" and "Everyone should constantly disinfect with hand sanitizer" was not a good move.
How so? You mean graphics or compute?

The whole concept of the way graphics drivers works is bonkers, thanks to IP issues and game patching, but in production the NVIDIA drivers are very reliable and sophisticated.
Ask HN: Looking for the Shazam for Song Fragments
Yesterday I was listening to Perfect Circle's "The Noose" and I noticed a particular pattern I really like about this song that I remember listening to in other songs, but there's no way to look for them.

It'd be great to have an app which receives some short fragment of a song and returns a list of songs containing similar sounding patterns.

Do you know if something like this already exists?
It's based on the algorithm used by the Windows 95 file copy progress bar
I'll just quickly plug Kanel (https://github.com/kristiandupont/kanel) which I use to generate Typescript types from a Postgres database. I agree with the author to think migrations-first, though I prefer to write them in SQL to ensure I can utilize all the powerful features that Postgres has to offer.

With it, I only get types for the tables and views etc., so any join will be untyped if done client-side. This is still a big win in my opinion, and I much prefer it to normal ORM's.
> C could be upgraded to do this in future versions, without too much backwards incompatibility.

But I'd hope that doing that would always be optional. There are numerous situations where that would seriously get in the way.
Previous articles stated that 1) she is an immigrant, 2) English is not her native language, 3) even when provided with a translator she seemed to lack the mental competence to understand her medical condition.

I don't think that's a Tacoma thing. That's just a person in a bad way that's difficult to help.

What I keep wondering is if the authorities can find her family or anyone that could assume legal guardianship for her and get her treatment. She's going to die of TB because she doesn't understand she's that sick. She clearly had acquaintances that were willing to drive her around. Is this a case that no one is willing to come forward for her?

Update: Her son is at least trying to follow up:

> On May 1, a person who identified himself as the woman’s son called the Health Department, according to court filings, and asked if his mother had missed her hearing and when the next hearing would be held. The next hearing is scheduled for June 23.

https://www.nytimes.com/2023/05/23/us/washington-tuberculosi...
What kind of wealth cannot evaporate at any time?

What is real disposable wealth?
The biggest misunderstanding people have around UB is—in my experience—the (often) subconscious assumption that UB optimization is around optimizing the performance of code that exhibits UB. It is not.

You're partially correct. foo() won't have any access to y so won't be able to modify it… unless foo() is written in way that exploits undefined behavior. Compilers can (and should) assume that foo() is not written pathologically in a way that writes into the frames of functions higher in the call stack, and so can make the above optimization.
Private companies are dictatorships. Every private company starts out as one. The amount of power that the founders abdicate to shareholders via shareholder voting arraignments is entirely up to them. And make no mistake, Netflix is a private company. The "public" means "publicly traded" not "publicly owned" like the Bank of China.

Massive corporations are built on providing value to consumers. Netflix and its ilk have unquestionably done so. Why do we need to dive into the internals of how they work and what they pay their executives? What does it matter? They provide a service that millions (billions?) of people are happy to consume. Isn't that enough of a public good?
> that hand santizer did jack shit.

Does hand sanitizer stop other illness?

If yes, then it is still very useful in a pandemic. If you have to go to the hospital because you're shitting your brains out from something else, then you are at insanely high right from catching covid.
You can be well known and still not be wealthy. I'd speculate that it's the wealth that attracts more hate than anything.
Skyboxes are used in 3D games. They are usually made of images plastered to the inside of a cube that is larger than the game area, with the player at the center. It makes the game area appear larger than it really is, because clouds, mountains and buildings appear far away.
Shrews also starve to death if they go a few hours without food, which might complicate the logistics of the experiment a bit.
Google doesn't actually respect robots.txt... they want you to use meta tags instead.
AutoDIDACT will be an improvement: it will independently author code from a ticket and update the diff in response to code review feedback.
This evaluates macro parameters multiple times, so if the parameters have side effects or evaluate inconsistently this won't work. For example:

size_t SomeIndex() {
static size_t example_index = 0;
return example_index++ % 2;
}

int main() {
NEW(int, arr, 1);
// This buffer overflow is not detected:
*AT(arr, SomeIndex()) = 42;
return 0;
}
Actually, reading the Github Terms of Service: https://docs.github.com/en/site-policy/github-terms/github-t...

> If you set your pages and repositories to be viewed publicly, you grant each User of GitHub a nonexclusive, worldwide license to use, display, and perform Your Content through the GitHub Service and to reproduce Your Content solely on GitHub as permitted through GitHub's functionality (for example, through forking).

It doesn't say "modify", but it says "use [...] through the GitHub Service". I wonder if that means that all the code publicly available on GitHub can be used (but not modified) even if there is no license?
The major difference is the US gov is bound by the Constitution, and the Constitution does not enumerate Healthcare as a power over which Congress can legislate or for which it can levy taxes.

ACA/Obamacare is unconstitutional as it is.

Not saying whether this is good/bad. Simply stating the facts.
Some of the money went to folks who lost jobs. A lot of money also went to business owners who were supposed to use it "to not lay people off". Many probably didn't even need the money but took it because "free money". The number of business owners who bought new "toys" (i.e. cars, boats, etc.) or second and vacation homes during a time of supposedly difficult financial times is daunting...

Think about this: the cost to write off outstanding college loans is ~$350 billion. This amount was accumulated over a few decades. ~$700 billion was given to business owners in under a year...
https://en.m.wikipedia.org/wiki/Skybox_(video_games)

It’s the term for the image used for the sky in a 3D environment.