MurphyA/hacker-news huggingface dataset:
by imtringued | 2025-04-20 09:57:05+00:00
I'm personally starting to get the impression that the CUDA programming model is actually terrible for things like matrix multiplication.

The author is constantly trying to work around the mismatch between the software model and the hardware model.

When doing matrix multiplication you don't want to program at the CUDA core level, you want to program at the streaming multiprocessor level.

There is no such thing as uncoalesced reads at the streaming multiprocessor level. It just doesn't exist.

mma.sync.aligned expects you to program at the streaming multiprocessor level. This is because the threads are sharing tensor cores, meaning that the concept of individual threads is really poorly thought out in this context.

I also have to comment on the Blogpost itself.

>Kernel 5 - Tune Tile Dimensions

This section is unlovingly named "tune tile dimensions", when you should explicitly say what you did: you allocated more memory towards accumulators. Matrix multiplication is accumulator bound.

This also plays into the misconception early in the post.

>To illustrate the best case scenario, imagine that fast memory was large enough to fit A,B and C in their entirety.

This is not correct, because you can split matrix multiplication along it's k or D dimension. You only need to keep the accumulator C in fast memory. If you can keep all of C in fast memory, then you only need to keep one vector of dimension n for A and one vector of dimension n for B in fast memory. Obviously in the case of tiles you want a vector of tiles. In the extreme limit the memory of A and B is irrelevant, because each element in the vector for A and B is read n times. As your matrix gets bigger, the sharing gets more extreme! O(n) memory for the inputs A and B but O(n^2) for C means that arithmetic intensity is inevitable!

The accumulator bottleneck is the essence of matrix multiplication!
by jillesvangurp | 2025-04-20 09:57:10+00:00
It's an interesting phenomenon that you can observe with other things as well like tastes in music. I think it has something to do with people having access to about sixty years of people trying out just about everything they could think off. It's all been done before at this point and it's all available in new and fresh forms. So, it's no longer about collectively picking something that is genuinely new but individuals cherry-picking whatever that they like. And it helps of course that we're not funneling media through a handful of TV channels, newspapers, etc. anymore like we used to. So people cherry pick where they get their information as well.
by Angostura | 2025-04-20 09:58:07+00:00
That’s not how audio trademarks work. A sound trademark can represent a product (think Intel jiggle, MGM lion roar) but it can’t be the product.

So in this case I suppose they might be able to Trademark ’Antivomotone’ as a word mark to describe the tone, but no-one is going to be able to trademark the tone itself.
by notarobot123 | 2025-04-20 09:58:13+00:00
What about books that amount to propaganda or indoctrination? There's obvious potential for harm in books that promote dangerous ideologies or things like self-harm and suicide. In the age of self-publishing and AI authoring, a book can contain pretty much anything without the quality/safety filters that publishing used to imply - maybe it's time to revise your stance?
by acka | 2025-04-20 09:59:31+00:00
Humans also have a vestibular system[1] and proprioception[2], which I think are very important in making judgments about safe following distance, car handling, and road conditions, in particular in adverse conditions like strong side winds and slippery or icy roads, which may not always be visually obvious.

While some of this can be handled by an IMU, I think humans still have a strong advantage in fusing their various sensory inputs, thanks to millions of years of evolution.

[1] https://en.wikipedia.org/wiki/Vestibular_system

[2] https://en.wikipedia.org/wiki/Proprioception
by numpad0 | 2025-04-20 09:59:49+00:00
I kind of get the both sides of the argument. It kinda feels wrong on one hand. Lots of people agree. The other hand, it kinda, just works. Great. Everyone's hit with down-trend TFR anyway so maybe not it.

> at best they'd only make it a bad approximation of what we, our (older) generation, best think that that world should be.

Also, this part in GP doesn't feel exactly right to me. The problem doesn't seem to be in education, but rather lack of systematic resistance in current systems of society against humans weaponizing the system as tools to hamper progress of humanity as means to win minor inner struggles which is stupid. But the world doesn't seem to be moving in a wrong direction, only slowly.

Asian kids in 80s dreamed of bunches of permanent artificial space habitats running on fusion reactors. Still do. We've only gotten ground based fission reactors and space motor homes since then. But at least we are moving in that direction, just slower than at the ideal rate.

China's just done a humanoid robot marathon event. The winner completed the race. They're definitely in the future. US is, in a state not in line with site guideline to describe. And the latter is supposed to be more correct state than the other? How is that possible?
by InsideOutSanta | 2025-04-20 10:00:03+00:00
There are a bunch of "weird" colors that we don't see naturally. Wikipedia has a page on them: https://en.wikipedia.org/wiki/Impossible_color

Some can be created at home without any special equipment. For example, you can't mix red and green and create a "redgreen," but if you cross your eyes and have one eye see red and the other see green, you might see a new color you haven't seen before.

I also see weird colors in displays with a high frame rate that cycle between colors quickly. And at one point, I had a laser shot in my eye, which destroyed part of my vision. Initially, in that spot, I saw a weird iridescent silver-greenish color I had never seen before. Although that was pretty cool, I wouldn't recommend repeating this involuntary experiment just to see that color.
by Epa095 | 2025-04-20 10:01:13+00:00
Maybe democracy just has to be a bit complicated to work?

As a bit on an anecdote, I know two Canadians, and I asked them if they were voting in the upcoming election. They both answered 'Maybe, but there is really no point, since liberals/conservatives always wins my riding anyway', and that made me pretty sad. I wonder how many people live in Democracies where their vote just don't matter at all?

The best would be a simple, proportional and geographically representative system. But if we can't have all, I think dropping simple is better.
by nottorp | 2025-04-20 10:03:45+00:00
> On the other hand, good bye p2p.

You mean, good bye using my bandwidth without my permission? That's good. And if I install a bittorrent client on my phone, I'll know to give it permission.

> such as companion apps for watches and other peripherals

That's just apple abusing their market position in phones to push their watch. What does it have to do with p2p?
by LtdJorge | 2025-04-20 10:04:36+00:00
The pixel shifting that GP mentions is already included in most if not all. I'm dailying an LG C3 42" as a monitor and these 16 months, so far so good.

However, I am on Linux and running a custom "DE" with Sway, my background is pure black and swayidle locks my screen in 3 minutes (to black). Also, anytime I get up, I power it off because even if it's displaying only black, the screensaver kicks in after some time (dumb feature that I cannot disable and would be better served by my solution).
by senko | 2025-04-20 10:06:04+00:00
This is because it served as an accidental documentary and/or field guide for many micro entrepreneurs trying to break out during the autumn years of communist Yugoslavia.

The feeling lingers up to present - many still associate the word "entrepreneur" with at least slightly shady dealings.

If you work in tech in the valley, imagine how easily you could relate to Sillicon Valley (the show). It's the same for Only Fools and Horses for the 90s-00s Balkans.
by LiamPowell | 2025-04-20 10:06:11+00:00
> You want private DNS to private IPs

Nothing stops you getting a cert while pointing your DNS records to internal addresses. The DNS-01 challenge exists to serve exactly that kind of configuration.

> lots of ISPs won't even serve your private IPs through their DNS caches

I have never seen this, could you give an example? However, if this is an issue then there's nothing stopping you from just using your public DNS for DNS-01 challenges and using your internal DNS for everything else.

It is also impossible for your ISP to do this if you're using DoH or DoT, which you really should be, especially if you already know that your ISP is messing with DNS traffic.

> You want subsigning CAs for your VPN, contractor services, websites, teams, etc.

You can't do this, but you can have your own ACME server that forwards requests to a public CA if you really need to let different teams manage their own certs. A better option is probably to use one of the paid CloudFlare tiers where you can create scoped API keys that provide DNS editing access scoped to a subdomain, or you could of course host your own DNS server or find a different DNS provider that offers this service.
by 986aignan | 2025-04-20 10:07:37+00:00
You might need some kind of MMP part if you want it to be truly proportional. If the voters can only rank about ten candidates before it gets unwieldy, that would give an effective 9% absolute threshold. A party that gains 8% support everywhere would get no candidates elected.

Here's a paper by Markus Schulze proposing such a method: https://aso.icann.org/wp-content/uploads/2019/02/schulze4.pd... He uses some very large districts, but it should work for smaller districts too.
by aeonik | 2025-04-20 10:07:54+00:00
Yea I have some ideas, but I haven't found an easy way to implement it yet.

The term of art that I'm exploring is called "Holographic Interferometry".

Sibling poster gave you a link to regular interferometry.

But basically, if you split the laser beam, one goes straight into the camera sensor, and the other off your object, you can do some pretty amazing things. Depending on a lot of little details (The devil is hiding here).

I found 3Blue1Brown's explanation to be the best, but less "ready to use".

https://youtu.be/EmKQsSDlaa4?si=j-YJm6scxK6bh_Is
by robocat | 2025-04-20 10:08:31+00:00
Land? Why?

For savings it will soon fail. Urban land value rises with a growing working-population. What are the demographics in your area? In New Zealand we have immigration pressuring land value, however if our economy tanks then urban land values will dive.

For prepper? Good luck keeping your land against your violent neighbours when anarchy hits!

Rich enclaves might grow in value, but you need to already be rich to buy in.

AI?

How many hours do you spend programming? There's a lot of work that AI won't replace: like understanding client needs. Maybe you haven't been through a few past hype cycles? Predictions of needing less developers have been made before.
by cardanome | 2025-04-20 10:09:06+00:00
The problem in this discussion is that people here seem to miss that both an excessively authoritarian parenting style is bad but also going full liberal and just letting them run wild is not the solution. Sometimes children need guidance an a gentle push.

Even as a adult I sometimes need to get pushed. I sometimes take guided courses so I don't skip over the hard but important parts of learning a new thing.

Just don't push your children too hard or you do more harm than good. Accept that they are not you and have different interests and needs. Like make them practice an instrument but give them a choice which one. And if after a few years they still hate it, well you tried. Maybe it is not for them.
by ahofmann | 2025-04-20 10:09:38+00:00
Just my 2 cents: I've installed quite a few servers and racks of hardware in very unsuitable spaces. LTO drives in dusty rooms, important disks in hot and cold (summer and winter), dusty and vibrating rooms and so on. I was very worried about them dying way sooner than people would expect. The only thing that died after two years was the LTO drives. Everything else is still running. So I wouldn't worry much about your hot attic. 43° Celsius outside means constantly over 50° inside the server, which sounds horrible but in the last 15 years of my experience nothing died because the room was too hot, or cold, or humid, or shaky. I've installed dust Filters in front of all air intakes, though. My reasoning is, that dust kills way faster than temperature.
by hilbert42 | 2025-04-20 10:09:52+00:00
"20 years later, I got back to playing piano, and I can't thank my parent enough for having me to continue playing in my teenage years."

One of the tragedies of being young is that few have the insight to realize that the 'boring' stuff parents and teachers are forcing us to learn will actually benefit us and that eventually we'll be very thankful that they did.

My parents nagged me all the time about studying and even though I did my fair share of it I never fully appreciated how important it was until much later.

It's a strange phenomenon, one cognitively understands the reasons but one is isolated from the reality so one is somewhat distant from it. For example, one can get upset watching war footage on TV but being there is on another level altogether (soldiers often do not talk of their experiences because they know those at home will never fully understand).

In the same way, wisdom gained through experience is almost impossible to impart to a younger generation who has no actual experience.
by dns_snek | 2025-04-20 10:11:21+00:00
On Android? It must be an app-specific issue because it's possible for apps to implement alarms so that they work before unlocking the device after a reboot, but I don't know the technical details behind it.

I've had that happen a few times and the alarms went off on time but they used the default alarm tune instead of the one I had selected, presumably that data was still encrypted.
by kbr- | 2025-04-20 10:12:19+00:00
It makes things easier. Usually the move constructor (or move assignment operator) will cause the moved-from object to stop being responsible for releasing a resource, moving the responsibility to the moved-to object. Simplest example: move- construct unique-ptr X from unique-ptr Y. When X is destroyed it will free the memory, when Y is destroyed it will do nothing.

So you can allocate resource in one function, then move the object across function boundaries, module boundaries, into another object etc. and in the end the resource will be released exactly once when the final object is destroyed. No need to remember in each of these places along the path to release the resource explicitly if there's an error (through defer or otherwise).
by lunaticlabs | 2025-04-20 10:12:24+00:00
Not anymore! These are allowed at least in the UK and in Germany (where I reside) now. It was not the case when I first moved here a few years ago, but read about how they're within code now. The problem I have is that they're not actually available anywhere that I've seen, and I doubt I'll find a plumber easily who will install one.
by cj | 2025-04-20 10:14:25+00:00
We have a team who uses a ".dev" domain for local development (with a publicly issued SSL cert), with an A record of 127.0.0.1.

We had someone new join the team and couldn't get the dev environment working. Turns out his ISP's DNS wouldn't resolve to an internal IP. Simple fix was updating his system DNS away from his ISP. We only saw this happen to one person, so wouldn't say it's common but it happens.
by os2warpman | 2025-04-20 10:14:53+00:00
>A valid point of criticism, but I do wonder if this only applies to those who can (still) easily spot LLM assisted output.

It is still somewhat easy to spot LLM output.

The number of humans who aren't a committee of MBAs and lawyers crafting a memo by consensus that reads like this: "Absolutely! A well-arranged conference can be a delightful experience. Here are some ideas to inspire you:" can be counted on zero fingers.

There is always the risk that what you are reading was indeed written by a committee of MBAs and lawyers crafting a memo by consensus.

My coworkers and I have taken to screenshotting the vapid LLM autoresponses in the tools we use, circling the most appropriate and/or depressingly funny option in red, and sending an image as a message.
by rightbyte | 2025-04-20 10:19:02+00:00
> Most of the mechanical one was cars. It happened as it became harder to repair things.

I don't think it has become harder to repair cars though. Most problems that need repair are the same old bushings, brakes, spindles, rust, bearings ...

I think it is some cultural change away from handy work in general.

Electronics have become harder to repair with smaller and more integrated circuits though.
by saberience | 2025-04-20 10:19:03+00:00
I hate this language: "built an AI", did you train a new model to do this? Or are you in fact calling ChatGPT 4o, or Sonnet 3.7 with some specific prompts?

If you trained a model from scratch to do this I would say you "built an AI", but if you're just calling existing models in a loop then you didn't build an AI. You just wrote some prompts and loops and did some RAG. Which isn't building an AI and isn't particularly novel.
by Viliam1234 | 2025-04-20 10:19:12+00:00
> And then you have AIs talking to each other

This could be a future version of the "block" button.

Regular "block" button hides everything that the person wrote.

The new, AI-powered "block" button hides everything that the person wrote, but also makes the AI write a response, so that the person never finds out that he or she was blocked.

So at the end, 99% of social networks will be bots talking to bots, but you will still be able to talk to your friends and ignore all of that.

That is, this is what you will think, of course.
by Moru | 2025-04-20 10:20:21+00:00
Seems I have the computers mixed up in my memory, it was definitely a IBM PS/2 Model 70 486. But our computer club were running some 8086 with a version of Linux before that as a router, think you had to compile the core yourself to get it working. Not to mention getting two different network cards running... My memory is fuzzy, wasn't me doing it, just watched the guy do it and bought him lunch :-)
by edg5000 | 2025-04-20 10:20:31+00:00
Indeed, that is why we may end up with some sort of standardized and structured way to write functional descriptions of software that we can train AIs on. How close to natural language it will be I'm not sure. Arguably, since the birth of computing we see programming languages inching ever closer to natural language, albeit still far removed. Perhaps we will end up with something indeed really formal and strict, but much more high-level. AIs could than be trained on the full language; maybe we can then solve the "confident yet wrong" problem with current agentic programming.
by djeastm | 2025-04-20 10:21:48+00:00
Not if access to those things are limited while providing opportunities for other things that people enjoy.

You don't replace enjoyable things with unenjoyable things and expect the child to become a well-adjusted adult. You give them alternative enjoyable things.

Managing a child's burgeoning dopamine regulation system is a primary function of a parent. Abdicating that function for quick fixes is a form of neglect, in my opinion, just like feeding kids sugary cereals.
by moffkalast | 2025-04-20 10:21:54+00:00
It's always exasperating to see parents with their "well you don't have kids so you don't understand" excuse to do whatever, like we weren't all kids who had parents at some point.

And also I guess then we can't criticize politicians because we never ran for office, or judge a murderer because we never killed anyone. Like show me your graduation diploma from parent school that makes you a qualified expert on parenting and I'll concede the argument.
by ndsipa_pomu | 2025-04-20 10:22:51+00:00
Maybe something like this: https://linuxgizmos.com/sony-introduces-as-dt1-described-as-...

> With a horizontal field of view of 30° or more and 576 ranging points (24 x 24), the sensor supports a frame rate of 30 fps, with a reduced 15 fps mode for maximum distance operation.
Show HN: GithubPin – Pin GitHub repos, issues, and PRs for quick access
by melmahdi | 2025-04-20 10:23:59+00:00
I built a Chrome extension called GithubPin that lets you pin GitHub items (repositories, issues, pull requests, and projects) for easy access later.

It adds a small pin button directly on GitHub pages and stores your pins. You can view and manage everything from a clean, GitHub-like extension's popup or your dashboard.

Key features:

Pin/unpin directly from GitHub UI Organize pins by type (repos, issues, PRs, projects) See metadata like labels and status No login or account required I built it out of personal need and kept it minimal by design. Would love feedback, ideas, and thoughts from fellow devs.

Chrome Web Store: https://chromewebstore.google.com/detail/githubpin/hfedkfpmc...
by gjvc | 2025-04-20 10:24:00+00:00
"Atlassian Mono is a derivative of JetBrains Mono which was specifically tailored for developers."

Typical Atlassian behaviour. On the other hand, JetBrains Mono is the only good (IDE) UI work JetBrains have done in the past five years, the rest being regressions. (YouTrack and TeamCity have actually improved.)
by anthk | 2025-04-20 10:24:59+00:00
Macsyma, PDP10 + ITS under Maclisp.

https://en.m.wikipedia.org/wiki/PDP-10

https://en.m.wikipedia.org/wiki/Incompatible_Timesharing_Sys...

https://en.m.wikipedia.org/wiki/Macsyma

Fun fact: old Macsyma's math code still runs at is on modern Linux'/BSD's with Maxima. Even plots work the same, albeit in a different output format.

A 386 it's far more powerful than this.
by yarekt | 2025-04-20 10:25:06+00:00
Despite my earlier comment, the way Sentry approaches open source is at least a little better than the majority, so its good that you at least provide an escape hatch that means heavy integration with Sentry isn't a complete vendor lock.

On your second point, you're right that self-hosting is cost cutting, but I found that when a business is growing, the features that sentry offers are more of a nice to have along the way, not quite critical to its success (No point capturing errors if no-one's using your bloody thing). Its easy to rack up that monthly bill with nothing but nice to have hosted services.

What I'd love to have is dumb versions of tools to self host initially when the requirements (and traffic) is very low. Kibana for example is a pig to self host, at one point it was taking up 25% of our production capacity. I found Loki is much better for simple cases in the beginning.

Good example that strikes a balance is Grafana / Prometheus. Its practically impossible to run a software shop without them, and everywhere I worked went through the same phases: Chuck a set of random containers in prod -> Deploy helm chart -> Migrate to Thanos -> Move to hosted Grafana when user/teams management gets out of hand.

Benefit is that absolutely everyone is familiar (and even likes) your tooling, I hope that's enough of a reason to give away a simpler offering.
by maccard | 2025-04-20 10:25:29+00:00
I’ve competed at elite level spots in the past, and been in the top percentiles overall for running and weight lifts. I was faster and stronger than pretty much any normal person would be. The difference between me and an average Joe in strength technique and speed was still less than the difference between me and the Olympic level athletes that I occasionally competed (or worse, trained) with. I’ve seen this since with musicians, and even the occasional engineer. They’re just operating at a different level to the rest of us.