Live data from Hacker News

I coded something dumb and I'm proud of it

plbrault.com

21–30 of 88 posts

Re: I coded something dumb and I'm proud of it

#22

this is an evil take but i think emojis are massively, massively underrated for use in signaling information (and massively overused in git readmes) A grimacing emoji when a process is thrashing, a fire emoji when it's eating CPU, a sweating smile emoji when the process is running longer than expected, etc etc etc. It sounds dystopian in a way but also useful - neat seeing them used here!

Personally, I disagree. I'm probably in the minority, but emojis don't helot me much when conveying information and I see them more as visual clutter that makes it difficult to distinguish what's going on. This is especially the case when there are a lot of emojis (or other icons for that matter) instead of text, e.g. in menus. It makes it much harder for me to distill the information and it takes me longer to grok w…

Yeah, emoji on top of color is redundant and less legible. I find that people that use emojis for dashboards and the like tend to overuse them, but I agree with GP in that a single (well aligned and on an adequately colored background for contrast) emoji per item can convey a lot of info quite efficiently.

Re: I coded something dumb and I'm proud of it

#23
Well done!

It is exactly the correct approach — especially with the dataset potentially changing at each iteration, treating it as a contiguous sequence of executions is wrong anyways. Plus, you should always strive to reduce state as much as possible.

Re: I coded something dumb and I'm proud of it

#26

Earlier quoted context omitted.

Personally, I disagree. I'm probably in the minority, but emojis don't helot me much when conveying information and I see them more as visual clutter that makes it difficult to distinguish what's going on. This is especially the case when there are a lot of emojis (or other icons for that matter) instead of text, e.g. in menus. It makes it much harder for me to distill the information and it takes me longer to grok w…

The young will use and understand them much more. How many years will it be before the Oxford English Dictionary begins listing definitions for individual and groups of emoji? In 100 years they will just be an ordinary feature of language somewhere between a word and a punctuation mark.

"What are letters?"

"Kinda like mediaglyphs except they're all black, and they're tiny, they don't move, they're old and boring and really hard to read."

-- The Diamond Age (Neal Stephenson)

Re: I coded something dumb and I'm proud of it

#27
Another way to describe what has been done: implement a pure function and avoid storing additional state. It sounds way less dumb that way. It is not really a pure function but the spirit is here.

I've done the same during a refactoring of a side-project recently. It handles the input/output to a MIDI controller with many buttons, knobs and matching LEDs. Instead of computing what LED should change at regular interval, I am switching to recomputing the whole state each time. No more complex logic, no more mutable data. Only a pure function that outputs the desired LED state based on software internal state. Then a diff is computed and only changes lead to MIDI messages. Code is less efficient (for 100-ish LEDs) but much more straight forward.

Re: I coded something dumb and I'm proud of it

#28

this is an evil take but i think emojis are massively, massively underrated for use in signaling information (and massively overused in git readmes) A grimacing emoji when a process is thrashing, a fire emoji when it's eating CPU, a sweating smile emoji when the process is running longer than expected, etc etc etc. It sounds dystopian in a way but also useful - neat seeing them used here!

When used thoughtfully, I find my clients love emojis on some things and they seem to work better than many web icons.

Warning Emoji, a weight, phone emoji ... people see them every day and understand them immediately.

https://emojipedia.org/warning

Granted silly emojis, those that imply other things, eggplant. Not so much. And the burrito is just for developer type stuff.

Re: I coded something dumb and I'm proud of it

#30
post #26

Earlier quoted context omitted.

The young will use and understand them much more. How many years will it be before the Oxford English Dictionary begins listing definitions for individual and groups of emoji? In 100 years they will just be an ordinary feature of language somewhere between a word and a punctuation mark.

"What are letters?" "Kinda like mediaglyphs except they're all black, and they're tiny, they don't move, they're old and boring and really hard to read." -- The Diamond Age (Neal Stephenson)

How would they have learned a contraction if everything is based on glyphs/ images?
Post reply on HN