News for hackers. Stuff that matters.
Re:How Hackerman would create an image just by typing 0 and ... by atoav on Wednesday December 06, 2023 @12:54PM (#38547257)
I teach a foundational media technology course at on of the bigger european art universities — I do the same thing with the students using a broadcast wave file.

The goal of the thing isn't to turn them into hackers, it is to give them a feeling what the stuff they work with is made of, what a file is. This is also a great introduction to talk about compression, metadata, encoding, decoding, sample rate, bitdepth and so on.

If you dive that deep into it, the settings in a typical media conversion program will suddenly become much less intimidating. My motto always was: this was made by humans so it should be possible for humans to understand it as well. And this is maybe the "hidden" lesson: If you bring enough patience you can go into the depth of nearly every topic.

Re:How Hackerman would create an image just by typing 0 and ... by philsnow on Wednesday December 06, 2023 @06:51PM (#38551087)
I forgot most of what little I learned in semiconductor physics and analog design courses in college, but I remember enough to know that nothing about computers is magic. Nothing. That knowledge gives me confidence that I can figure out anything having to do with computers given enough quiet time.

On the other hand, I don't really know much about cars. If I had a 2024 model year car and something went wrong with it, I'd very quickly run up against a wall of arcane-seeming knowledge that I don't have easy access to. I don't know where I would start to learn everything about cars from scratch like I did with computers.

There might be a name for this, but I don't know what it is.

Re:How Hackerman would create an image just by typing 0 and ... by fsckboy on Wednesday December 06, 2023 @08:09PM (#38551634)
computers contain transistors and how transistors work is by magic.

before that, tubes. tubes also work by magic.

before that, relays, which are based on electromagnets. electromagnets work by magic.

Re:How Hackerman would create an image just by typing 0 and ... by philsnow on Wednesday December 06, 2023 @08:44PM (#38551840)
> how transistors work is by magic

ok but it's "just" semiconductor band-gap physics, which my monkey grug brain can kind of just barely make out, if I squint

> tubes also work by magic

tubes work by "just" thermionic emission, or "tube physics", which grug brain has a better handle on

> electromagnets work by magic

okay, you've got me there, physics grug brain think magnets high magic.

Re:How Hackerman would create an image just by typing 0 and ... by fsckboy on Thursday December 07, 2023 @01:43AM (#38553568)
tubes work by not just thermionic emission (that'd be a diode) but also by a sort of uncanny leveraging of inverse square laws in free space surrounding the grid. when the first tube amplifier was invented, it was by accident, it wasn't understood how it worked.
Re:How Hackerman would create an image just by typing 0 and ... by throWaway229034 on Thursday December 07, 2023 @06:37AM (#38555311)
You can make computers (in a non economical fashion) using pipes of water and water actuated valves. This can be done in a manner _highly_ analogous to transistor, tube or relay machines. That was what convinced me that computers are not magic.
Re:How Hackerman would create an image just by typing 0 and ... by mherdeg on Wednesday December 06, 2023 @09:32PM (#38552119)
> nothing about computers is magic

In this vein I think about nelhage's "Computers Can Be Understood" from time to time - https://blog.nelhage.com/post/computers-can-be-understood/ .

Re:How Hackerman would create an image just by typing 0 and ... by atoav on Thursday December 07, 2023 @02:12AM (#38553723)
Exactly this is the reason I do it. The "knowledge" part will fade if it isn't applied regularily. If I manage to convey a deeper understanding of how things are intertwined or at least the feeling that it is actually possible to understand things and that curiosity is king, that is all I can do.

It is an art school after all. I will never turn all of them into low level systems programmers, but I can give them enough understanding of the tech world that it can become the topic of art without making people with a tech background cringe.

And some of them take this as a starting point to go way deeper.

Re:How Hackerman would create an image just by typing 0 and ... by JohnFen on Wednesday December 06, 2023 @04:11PM (#38549509)
I absolutely love that you do this. There appears to be a trend to discount the value of knowing the low-level details of these sorts of things -- but even if you never actually work at that level, knowing what's happening "behind the scenes" increases and deepens understanding and can make high-level things that seem arbitrary or nonsensical make sense.
Re:How Hackerman would create an image just by typing 0 and ... by 1letterunixname on Wednesday December 06, 2023 @08:41PM (#38551826)
First principles and curiosity > blithe unconcern about the "magic box". Likewise, coders who don't have enough understanding all the way down the stack including hardware are merely engineer posers in it for a paycheck.
Re:How Hackerman would create an image just by typing 0 and ... by happybits on Thursday December 07, 2023 @03:52PM (#38561664)
Thanks a lot JohnFen.

One reason for writing the post and trying to create GIF-images from binary, was to come as close as possible to GIF format and especially the LZW-algorithm. To understand it in an intuitive way. To get a bit closer to the minds who created the algorithm in the first place.

Re:How Hackerman would create an image just by typing 0 and ... by happybits on Thursday December 07, 2023 @03:47PM (#38561607)
atoav: this sounds like at great exercise. Have you written any public article about that?

The main reason for writing this article was * My curiosity - what secret is behind all strange bytes in a graphical file * To spend some time doing something weird, that I know have zero effect of my career and no chance of giving and benefits or profit in the future.