HNHacker News
TopNewBestAskShowJobs

d_tr

968 karma · joined January 25, 2020

submissionscomments
d_tr··on OpenAI researcher announced GPT-5 math breakthrough that never happened
Whatever happened to "don't get high on your own supply"?
d_tr··on Why Every ML Engineer Eventually Has to Learn Linear Algebra Properly
Linear algebra is pretty straightforward if you learn it properly. Lots of resources seem to confuse matrices with tensors and linear operators because the creators don't really have any idea what they're talking about. Do yourself a favor, get a proper math book and be done with it once and for all.
d_tr··on Functions Are Asymmetric
Never heard about this one, thanks.
d_tr··on Functions Are Asymmetric
Thanks. Maybe I should have stressed this more, but what I had in mind was a more mainstream language suitable for everyday programming too. All the languages mentioned in this thread are great but they are not getting any more popular and you would not use them to build, say, a game or a linear algebra library, right?
d_tr··on Sharp Bilinear Filters: Big Clean Pixels for Pixel Art
Sounds like exactly the same thing since bilinear filtering in the upscaled image only has an effect near the edges of the fat pixels.
d_tr··on Ideas for Better Programming Tools
Whenever I think about better programming tools, I immediately think about better operating systems. That's what we ultimately need.
d_tr··on Functions Are Asymmetric
Functions map members of a set A to members of a set B. These can simply be Cartesian products whose members are tuples. In my dream PL syntax a function call would be a function name followed by a tuple, and that tuple would be no different than the tuples you would use in any other part of the program (and so you could use all the tuple manipulation library goodies). If the function preserves any other structure of the type, like an identity element, that could be stated so you could have morphisms. And that identity element or other properties could be declared just as other stuff like 'const' are declared, and since the compiler can't verify all these stated properties, it's on the user to provide correct info, just like it's on the user to write a correct program, so nothing lost here, and anything more, like verification by the compiler, would be a bonus.

Mathematicians have been packing all this stuff nicely for a couple of centuries now, maybe we could use more of their work on mainstream computing, and it could also be a nice opportunity to get more people to appreciate math and structure.

Something that has side effects all over the place should just not be called a function, but something else, maybe "procedure" would be an appropriate, clear term.

d_tr··on The illegible nature of software development talent
If they try to take me away from my compiler and my code to do irrelevant stuff I'm just going to quit.
d_tr··on Why we need SIMD
Wouldn't decoding also be an issue?
d_tr··on Qt 6.10 Released
Is it really so complicated? Genuinely curious.
d_tr··on Vibe coding cleanup as a service
Just wanted to apologize for the shallow dismissal and the snark. This is going to generate cash flows so the associated activities are totally legit and not parasitic and a waste of oxygen. My gut reaction was not civilized.
d_tr··on Vibe coding cleanup as a service
I just take some kitchen paper and one of these small thin plastic bags to clean up after my own dog's shit. No need to pay for a service.
d_tr··on SkiftOS: A hobby OS built from scratch using C/C++ for ARM, x86, and RISC-V
Wait, modules work now? Maybe it's time to give them a shot, at least for my own code...
d_tr··on Primitive Streaming Gods (2018)
You'll have to decide this for yourself. For me it's good enough. I had a 200 GB FLAC collection many years ago. I can't tell the difference and I don't care to try.
d_tr··on Ask HN: Which Linux or windows desktop do you find the easiest and fastest?
Arch + i3 is what I used until a couple years ago, then decided to move to Wayland, and Sway was buggy on my system so I went vanilla Gnome. It does all I need and also I get to have my settings in a simple script file which is just a bunch of gsettings calls.

I still think that the i3 way of managing windows is amazing, but I actually rarely needed lots of windows in the same workspace tiled.

I only have one extension installed from the package manager for the tray and that's it. Also on Fedora now only because of some proprietary software I need to run, but I also like the distro.

d_tr··on Primitive Streaming Gods (2018)
I have never used Spotify so I have no opinion on it, but have you tried YouTube Premium / Music? You can find all the music plus other types of good stuff you might like.
d_tr··on One-size-fits-all pancreatic cancer vaccine showed promise in early trial
> How much future is in this?

I guess it will ultimately depend on effectiveness regardless of any trends in public opinion.

Maybe I am missing information but the only tangentially relevant news I have read is Trump allegedly cancelling some funding for research on mRNA vaccines for viruses like the flu.

d_tr··on Quickshell – building blocks for your desktop
I'm not a fan of the language but QtQuick & QML is what I'd use for this type of widgets. OTOH I am starting two projects at work, one being a traditional desktop app and another being an HMI with lots of functionality, and decided to just go with QtWidgets and save myself from all of QML's JS influences and C++ interop boilerplate.
d_tr··on Ask HN: Which processor to pick for learning assembly?
IMHO just use whatever CPU you have available. x86-64, ARM... No need to overthink it.
d_tr··on Terrence Tao Loses Funding
You also need mathematicians and physicists for cutting edge research.
d_tr··on C++26 Reflections adventures and compile-time UML
> Having a flaky pile of junk as an alternative is never been an excuse to not fix the problem properly.

Thank you. Some people use the phrases "real projects" and "production code" as if they imply some standard of high quality.

d_tr··on C++26 Reflections adventures and compile-time UML
The post you responded to said they were very happy about their tools becoming better and your reply read as a dismissal of that, citing someone having made billions by writing an advertisement platform in Python.

So either I and others misread you or it is just a matter of different views on value.

d_tr··on C++26 Reflections adventures and compile-time UML
Great. But you can do anything you want by generating code. Why not have a standard solution instead of everyone doing their own, possibly buggy thing complicating their build process even more?
d_tr··on C++26 Reflections adventures and compile-time UML
What's the solution that's been around for years?

> ... just like always with newer additions to the C++ standard.

This is objectively laughable.

d_tr··on Never write your own date parsing library
I am in a work environment where I actually get to do hard shit for fun, learn a ton, and also "get stuff done" and my employer is happy.

For some of the stuff that has been done already, it might still make sense to do your own implementation, for example if you want to be able to experiment without having to navigate and learn a huge codebase and then have to maintain a fork just to have your own stuff in.

Another project we are starting now involves replacing software which is outright crappy and wastes our time. Thankfully my employer was able to see and understand this after talking it through with them.

d_tr··on Never write your own date parsing library
In a scenario where a programmer has to do this for work and might naively think that date handling is simple, the title is invaluable advice. It is one of those things that can cause real trouble.

OTOH writing, e.g., your own renderer could cause some funny display at worst and maybe some unnecessary effort.

d_tr··on Context Engineering Guide
"Context Architect" is probably going to be a job title soon. Stay tuned!
d_tr··on Hyprland Premium
> sway is not far off in quality

You mean it is better or worse in your experience?

d_tr··on Administering immunotherapy in the morning seems to matter. Why?
Based on these graphs and the differences in outcomes they show, you are not talking about "alert vs less alert" nurses but about "nurses doing their job vs nurses basically slowly killing dozens of patients".
d_tr··on When the sun dies, could life survive on the Jupiter ocean moon Europa?
> lol, you think we’ll live a hundred years...

... Yes? Do you really, seriously think that eight billion people can so easily disappear within a couple of generations and there won't be anyone left for the population to start growing again?

← PreviousPage 2 of 18Next →