HNHacker News
TopNewBestAskShowJobs

dusted

7,259 karma · joined February 19, 2019

Disconnect and reclaim: When the wires are cut, what remains is yours.
submissionscomments
dusted··on Pixel is a unit of length and area
they don't need to, you can have monochrome pixels too, like those on monochrome displays)
dusted··on Pixel is a unit of length and area
I think the author forgets that pixels inherently have both width and height, a single pixel, is inherently a 2 dimensional entity, whereas the meter is a purely one dimensional concept. You don't usually talk about whether your meters are the same height as they are tall, or whether they're taller than they're wide.. because they don't have those two dimensions.. You don't talk about how your centimeters are arranged within your meter either.. (you can talk about how your subpixels are, and even if there are 3 or 4 of them).

So, I don't think it's entirely valid to talk about pixels as if they are pure, one dimensional units..

They're _things_ and you can talk about how many things wide or tall something is, and you can talk about how many things something has. Very much the same way you can with bricks (which are mostly never square) (though tiles are, you never talk about how many kilotiles is in your bathroom either, yet you can easily talk about how many tiles wide or tall a wall is).

So, no, pixels is not a unit in the mathematical sense.. it's an item, in the physical sense.

There are also things like scanners, that may have only one row of pixels on the scanner sensor, it does not have an area of zero, and you don't need to specify that there's one pixel on the other axis, because it's an inherent property of pixels that they have both width and height and thus area in and of themselves.

dusted··on How a 20 year old bug in GTA San Andreas surfaced in Windows 11 24H2
> all these findings prove that the bug is NOT an issue with Windows 11 24H2, as things like the way the stack is used by internal WinAPI functions are not contractual and they may change at any time, with no prior notice.

This reminds me of an excellent article I read a while back, the gist of it was that, given sufficient success, there's no such thing as a private API.

dusted··on The 'freaky and unpleasant' world when video games leak into the physical realm
Photography is a hobby of mine, and this is definitely another situation where I feel this influence strongly as well!
dusted··on IQ Tests and Virtual Substitution
An interesting article, of course, it primed me, so when I saw the picture, with the tree, saw, axe and hammer, I thought, hmm, actually.

The hammer stands out.. because there's a relationship between the tree, saw and axe, in that you can cut down and shape the tree with either an axe or saw, while you can't do much with the hammer (since there are no nails), a kid who would answer that way should probably be considered at least as smart as his peers.

I've generally always hated these "multiple perfectly valid answers, but only one counts, but we won't tell you which of the multiple valid perspectives we want you to take" type of questions.

dusted··on The 'freaky and unpleasant' world when video games leak into the physical realm
I remember this happening a lot when I was a child and teenager, mainly during and shortly after LAN parties, where we'd spend one or two entire days almost exclusively inside one or two virtual environments (like Action Quake or later, Day of Defeat), I remember how my brain "quantized" many of the sounds from physical environment into their closest equivalent of in-game sounds, such as footsteps, character sounds or gun sounds, for example, laying my very tired and head, spinning from a lack of sleep and overstimulation, down to rest on a pillow, it would be disorienting at first, and then as my breath rose and sunk the covers, I'd hear the sounds of the fabric as small cracks, like the footsteps constantly in my earphones during gameplay.. I'd walk around outside and see surfaces as more or less ideal for performing strafe-jumps (something we did a lot in the glorious Action Quake days), and think about good corners to round for a one on one shootout.

But honestly, it didn't feel so different from any other after-effect of intensive out-of-the-ordinary stimuli.. Think about the evening after a day of snowboarding, as you drift asleep, your brain starts to work its way down imaginary slopes, everything becomes transformed through the lens of snowboarding, rooftops becomes candidates for drops, piles of snow becomes ramps..

or when you've intensely learnt a new concept, your brain tries around it, to see if it somehow fits into what you've learnt.. Like how people learning about neural networks, can't help but go through at least a phase, where the idea of brains being computers are very appealing.

I don't think this "Game Transfer Phenomenon" is that novel or interesting, and most importantly, not related to games in particular.

It's just what the brain does when it engages in something.. it attempts to map and transfer concepts and relations, it's how we learn and grow..

dusted··on Ask HN: Writing an Interpreter in Go or Crafting Interpreters?
There's also an excellent tutorial from LLVM, it got me started, I got some ideas and didn't want to be too influenced by "the right way", so I stopped somewhere mid tokenizer.. But I have a turing complete, interpreted language as of now, that I'm having a lot of fun thinking about.

https://llvm.org/docs/tutorial/MyFirstLanguageFrontend/index...

dusted··on Find the Odd Disk
Interesting, it'd be neat if it showed the one you missed.. I had 19 of 20 correct, but I don't know which one I got wrong.. and my wife tells me I'm terrible with colors because I insist most turquoise are greener than they're blue :P
dusted··on Getting forked by Microsoft
There has been many, many stories of Microsoft doing just that, invite for some talk, learn what they need to know and then do it their way.

It's not a new practice, and it's not exclusive to Microsoft either, it's something every developer should be acutely aware of, in case they're interested in avoiding it.

dusted··on The dark side of the Moomins
I loved Moomins as a kid, and was so surprised when I talked with my wife about it, she thought they were so scary and "off" feeling.

I'm watching them now with our son, and I guess I was just born with a strong appreciation for melancholia.

I changed my mind, when I was a kid I thought they were good, now I think they are great!

In many ways, what makes moomin dark is that it shows us what we already know, the world _just_is_ and in the big picture, does not care about you, you might die, someone you care about might go away, and everyone is, fundamentally, alone, and what makes a person who they are, is partly how they deal with, if at all, being alone in this world of loners.

Moomin is very real and very direct in its dealings with the pain of the meaninglessness of life.

Snufkin, as a child, I took him for a cynic and disliked him, but he taught me something about the world, I think he is a stoic and a nihilist, and I very much like him now, he simply _IS_ in the world, and he accepts, and so appreciates that which also simply is, and which he cannot control.

Yeah, Moomin is dark, but life is dark, life is pleasure and pain, and we will all die, everyone we ever loved will suffer and die, but they will also experience pleasure and life, one could chose only suffering and death, one cannot chose only pleasure and life, and must come to terms with the fact that the underpinnings of pleasure and life is indeed suffering and pain. That's it, the world just is, and we're just in it.

I feel like a lot of the cartoons and tv shows of my childhood was like this, life.. it kinda has bad parts.. and back then, they showed them to kids, and what do I know.. maybe it prepared us to take it on ?

dusted··on What Are the Dots on the Side of Vinyl Turntables, Is It Decoration?
It would seem at some point that even manufacturers of contemporary turntables forgot (or just don't care) about this, I've seen multiple turn tables with trimming potentiometers, lacking the speed indicator and strobe, and I've put off buying, because.. gee.. how am I going to trim it without them.
dusted··on US appeals court rules AI generated art cannot be copyrighted
This is excellent news. I'm kind of surprised. I suppose it could also mean that anything else AI generated can't be copyrighted ? So corps generating code and content with AI hopefully can't copyright that? (of course they can, but just imagine the hilarity and panic that'd ensue!)
dusted··on GIMP 3.0
They are there own damn icons! And they should be! They always were. It's now an option that you need to enable.
dusted··on GIMP 3.0
Yeah, I don't buy this "we just hid the nice way behind an option" explaination, I've been stung by that too many times to ignore it..

It means "this gonna get dead" and the argument will be "oh, nobody uses it" yeah, because, you can only want a nice thing back if you knew it existed to begin with, eventually, most users either never knew it was there, or assumed it went away, and eventually, forget it entirely, and then it's gone.

dusted··on GIMP 3.0
> Updated graphical toolkit (GTK3) for modern desktop usage.

I'm scared, they already started messing with the toolbox stuff (putting multiple icons under the same button and then changing the icons too to make it entirely impossible to find anything).. "modern desktop" has taken on a different meaning for me, it's all about making it look neat at first glance, then entirely undiscoverable, removing any affordance in sight, burger menus, ribbon menus.. f...

dusted··on Show HN: Nash, I made a standalone note with single HTML file
That's neat.
dusted··on Peer-to-peer file transfers in the browser
I did the same thing a long time ago, though I cant brag about using as long a list of frameworks, source is https://github.com/DusteDdk/fileswithafriend so you can host it youself, announcement post and link to site where it can be used is here https://news.ycombinator.com/item?id=39622511

In my version, the entrypoint is not uploading your file (where would it go??) but establishing the connection between two devices, then bidirectional transfers between them.

dusted··on The Return of Digg, a Star of an Earlier Internet Era
Anyone remember fazed.org (slogan: until the weekend heals us) ? Absolutely loved that site, in a way, it was similar to hn in design and "random interesting stuff" type of content.. For me, what killed it was the now long dead "stumple upon" (well, maybe not dead, but they did something years ago to make it suck more)
dusted··on Show HN: Electro – A hyper-fast Windows image viewer with a built-in terminal
How is it that the preview-videos showing how fast it is, is still slower at loading small image than it is for my old desktop to START feh AND display the window and image ?
dusted··on 'Hey Number 17 '
This is quite disgusting, but at least they don't try to hide the evil behind some positive spin (which honestly, is even more repulsive). I especially like how they portray the managers complete lack of empathy for the situation of the worker, there's absolutely no regard for why he might have a bad month.

To quote a wise guy "I prefer my Nazis in uniform" (so I can properly identify and punch them in the face without them having any "oh but you misunderstood my good intentions sir"-kind of excuse).

dusted··on LeetCode but You Can Force People to Code in Light Mode
that's fair, the study didn't convince me it was better, it just prompted me to switch back to white, because, actually, I don't know, and then I found that _if_ it made any difference, it was probably positive, but, even though I sit at the screen from dusk till dawn, I find no difference in how pleasant light or dark mode it, it just makes so little difference to me that I don't care :)
dusted··on LeetCode but You Can Force People to Code in Light Mode
Yeah, I remember back when I was a cringy teenager and bought into all the propaganda about why darkmode was better for eyes and whatnot, so much stuff.. So I spent 15 years or so with darkmode, untile one day, i read somewhere that the evidence of darkmode being better was not just lacking, but that people read dark letters on a bright background faster and more accurately than the other way around.. Now this is the Internet, with a capital I so I won't back up that claim with any references, and it's not important whether anyone believes that or not, fact is, that day, I thought "hm" and I switched my editor back to light mode and thought "hm, this is fine too" and I kept it long enough that I discovered that I prefer it.. Now, my xterm, I do want white on black, but that's just something about how that bitmap font looks to my eyes, that makes me want it that way.

But honestly, I don't get what the big deal is with either preference, it's not a big deal really.. black or white.. it's fine!

dusted··on I Blog with Raw Txt
I write my blog in regular old plaintext files, I have a script that adds the header text to a file named with todays date and opens it in VIM.

I wrote a small script that renders the file in HTML and CSS, does code highlight and so on, but the goal is that blog-posts should look just fine in raw text, so that it is also usable on Gopher.

Here's how it look when it's rendered: https://dusted.dk/pages/phlog/2024-05-23.txt

And you can ask for the raw version: https://dusted.dk/pages/phlog/2024-05-23.txt?raw

dusted··on The average CPU performance of PCs and notebooks fell for the first time
Interestingly, so did server cpu thread performance, I guess we're now starting to see more direct prioritization of core count versus core performance, which I kind of understand, it's superficially simpler to think about horizontal scaling, and for very many workloads, it's ideal, and for many it's at least doable, though I fear the invisible overhead in both compute and complexity
dusted··on Software development topics I've changed my mind on after 10 years
Interesting, I've been in software development for a little more than 10 years, and just about every point I've read, I more or less agree one, will be interesting to see if it changes the next 10.
dusted··on Windows 11 – There's still nothing worth my time
yeah, I've been forced onto it by corporate on my windows machine.. from an aesthetic and usability point of view, there's only negatives.. the ui is even worse than 10, flat and featureless and ugly, looks like a bad prototype theme for gnome, 20 years ago. They somehow managed to take the utter mess that were the settings of windows 10 and redefine the word utter to a new low. I'm sure there's some technical things in the kernel and system API that needed changing, but somehow I feel like they could have done that without changing anything that's on the screen.. I wonder if they actually put the thought and consideration into windows user experience that they did when they designed Chicago.
dusted··on Discovery Coding
I call this exploratory programming, though my approach aligns more with the article I posted here, than with the Wikipedia definition.

I primarily use this method as a step preceding the actual production-quality implementation. It’s not like a prototype—I don’t throw everything away when I’m done. Instead, I extract the valuable parts: the learned concepts, the finished algorithms, and the relevant functions or classes. Unit tests are often written as part of setting up the problem, so I lift those out as well.

I’ve greatly enjoyed this approach, particularly in JavaScript&|TypeScript. Typically, I solve the difficult parts in a live environment and extract the solutions when I find them. I used to use my own "live environment" (hedon.js), but I eventually reversed the approach and built an environment around the built-in Node.js REPL (@dusted/debugrepl). I include this, at least during debugging and development builds, allowing me to live-code within a running system while having access to most, if not all, of the already-implemented parts of the program.

This approach lets me iterate at the function-call or expression level rather than following the traditional cycle of modifying code, restarting the program, reestablishing state, and triggering the desired call, something that annoys me to no end for all the obvious reasons.

dusted··on Why is Git Autocorrect too fast for Formula One drivers?
This is exactly what I'm trying to say. The actions are underway by muscles (or _just_ completed) and the brain catches something's off and so ctrl+c is queued.
dusted··on Why is Git Autocorrect too fast for Formula One drivers?
That'd be interesting, but I don't know how to prove that I'm not just "pretending" to make typos and correcting them instantly ?
dusted··on Why is Git Autocorrect too fast for Formula One drivers?
Yes exactly! This is what I'm trying to argue as well, it happens quite often for me that I submit a typo because it's already "on it's way out" when I catch it (but before, or about the same time it's finished and enter is pressed), so the ctrl+c is already on it's way :)
← PreviousPage 4 of 34Next →