Live data from Hacker News

Ask HN: What are the “lost arts” of our field?

news.ycombinator.com

1–10 of 24 posts

Ask HN: What are the “lost arts” of our field?

#1
I've been thinking a lot of the good old simple days of the internet and programming. Lots of technology and tools are killed now right out of the gate b/c of how powerful established players have gotten. Your hobby project to track bots on twitter, killed by an overnight API change.

So I'm looking for a list of the "lost arts".

For example, its near impossible to find documentation related to reverse engineering Widevine DRM.

Anything published is scrubbed from the internet search results lighting fast.

Re: Ask HN: What are the “lost arts” of our field?

#2
Analog video encryption and decryption, perhaps. see https://en.wikipedia.org/wiki/Videocipher

Knuth used to have a section on "sorting with tapes" that he removed; but the problems there might still generalize to slower access methods even when they're not as strictly sequential as tapes. Maximizing bandwidth to GPU chores and searching through 10TB+ hdd's with only relatively tiny access speed both have similarities to some of those problems.

Re: Ask HN: What are the “lost arts” of our field?

#3
Back in my day... probably not technically a lost art, but an interesting lesson in math.

I remember I was in computer science class. I was 17 years old.

And the teacher taught us how to read binary and how to calculate it. He said binary was math which is a universal language that even aliens could understand and would allow us to communicate though we'd still run into the struggle of converting that binary to actual meanings, such as converting binary to English or vice versa.

We often don't think about it, but our programming technology is based on binary calculations.

I'd put the Conversion to Binary or from Binary in the lost arts category because I highly doubt it is ever taught, not even in computer science classes nowadays because its just slow and boring to do the conversions.

But if you do think about it, he wasn't wrong.

For those who are curious about it:

Converting binary to English or math involves interpreting the binary representation of numbers or characters into their corresponding decimal values or ASCII representations. Here's how you can do it:

Binary to Decimal (Math): Each digit in a binary number represents a power of 2. To convert binary to decimal, start from the rightmost digit and multiply each digit by 2 raised to its position, then sum up the results.

Example: Convert binary 1101 to decimal.

1 * 2^3 + 1 * 2^2 + 0 * 2^1 + 1 * 2^0 = 8 + 4 + 0 + 1 = 13

Binary to ASCII (English): ASCII (American Standard Code for Information Interchange) is a character encoding standard where each character is represented by a unique numeric value. In ASCII, each character is assigned a decimal value, which can be converted from binary.

Example: Convert binary 01001000 01100101 01101100 01101100 01101111 to ASCII (which represents the word "Hello").

01001000 -> 72 (H)

01100101 -> 101 (e)

01101100 -> 108 (l)

01101100 -> 108 (l)

01101111 -> 111 (o)

So, to convert binary to English or math, follow these steps:

For English (ASCII characters):

Divide the binary into groups of 8 bits (1 byte).

Convert each group of 8 bits to decimal.

Find the ASCII character associated with the decimal value.

For Math (Decimal):

Write down the binary number.

Multiply each binary digit by 2 raised to its position (starting from the rightmost position).

Sum up the results to get the decimal equivalent.

Keep in mind that this process is straightforward for numbers and ASCII characters, but other types of binary data (like images or files) may require different methods to interpret.

Re: Ask HN: What are the “lost arts” of our field?

#5
Writing low level things from scratch, utilizing CPUs fully, not relying on high level things that abstract away all the underlying hardware, OS and other low level details.

The Handmade [1] community is really into that stuff Originally inspired by Casey Muratori's Handmade Hero Series [2]

[1] https://handmade.network/

[2] https://handmadehero.org/

Re: Ask HN: What are the “lost arts” of our field?

#6

Back in my day... probably not technically a lost art, but an interesting lesson in math. I remember I was in computer science class. I was 17 years old. And the teacher taught us how to read binary and how to calculate it. He said binary was math which is a universal language that even aliens could understand and would allow us to communicate though we'd still run into the struggle of converting that binary to actua…

Tangentially related: storing a bitmask in your database (as a single 32-bit value) to track many flags, and using bitwise math to manipulate/interpret it. Much more space efficient than what everyone would do now (a bunch of tinyints, enums, or booleans) but obviously you’d be rightly fired out of a cannon now for introducing something so difficult to grasp for young devs, just to save “cheap” memory and storage.

Re: Ask HN: What are the “lost arts” of our field?

#7

Back in my day... probably not technically a lost art, but an interesting lesson in math. I remember I was in computer science class. I was 17 years old. And the teacher taught us how to read binary and how to calculate it. He said binary was math which is a universal language that even aliens could understand and would allow us to communicate though we'd still run into the struggle of converting that binary to actua…

In the 2010s binary was taught in high school intro to CS and in university CS classes. I don't know about bootcamps though, I doubt it is taught there.

What isn't really taught is binary representations and what things look like in memory. I think there was one class in university that covered it, but just briefly.

Re: Ask HN: What are the “lost arts” of our field?

#8
post #4

Writing good Mac applications is a quite rare skill these days. Not extinct – but the share of devs that can do it is probably quite small.

Got any good examples of outstanding mac apps? I think I'd throw "Things 3" into that bucket for sure.

Re: Ask HN: What are the “lost arts” of our field?

#9
User research, UI design. Windows 95 was a big leap in that regard, at least in the PC space [1]

Nowadays it's "move fast & break things", following the fashion, and asshole design ("dark patterns").

[1] https://dl.acm.org/doi/fullHtml/10.1145/238386.238611

Re: Ask HN: What are the “lost arts” of our field?

#10

Back in my day... probably not technically a lost art, but an interesting lesson in math. I remember I was in computer science class. I was 17 years old. And the teacher taught us how to read binary and how to calculate it. He said binary was math which is a universal language that even aliens could understand and would allow us to communicate though we'd still run into the struggle of converting that binary to actua…

Binary is used often by embedded programming/FPGA dev types. I use binary and hexadecimal every day.
Post reply on HN