Hacker Newsnew | past | comments | ask | show | jobs | submit | hronecviktor's commentslogin

apt-get / apt-cache is one of those things that I simply cannot get out of my muscle memory. It's probably an alias under the hood by now, but I hope they never get rid of it.

Ofc stuff that is actually deprecated is a different story.

When I see some kind of tutorial or whatever from 2025 by a young dev and he is using ifconfig instead of ip or similar stuff... I am having a hard time holding myself back not telling them ifconfig was deprecated before they were even born :)

On the other hand sometimes when my brain goes full autopilot it still defaults to writing

/etc/init.d/someservice restart

Like sysV wasnt out for a decade by now


ifconfig is still the standard on *BSD, MacOS and other Unixen. Plus its output is more readable on Linux than ip IMO, because it adds a blank line between interfaces.


This is not specific to programming.

https://youtu.be/Hy8kmNEo1i8?si=ttPK3z2mp0-5KyW7


You cant really backspace into a command you already ran IRL, can you? :)

Thank you


These are all courtesy of AI of course.

Still, I may be a little anal about this but I align with this. I quote everything in bash. In this case I would do single quotes as it's a literal. You never know when someone with lesser bash knowledge will modify your script and put a variable in there. Shell expansions are nothing but footguns everywhere. Proper quoting hygiene and `--` goes a long way


I added python, bash (script style) and Postgres.

Also for the masochists among us - obfuscated perl, IOCCC style C and Malbolge ;)


Ahh, core memories


Dont even have to remap anything to cause issues. Case in point: we wanted to try mob programming with 2 colleagues.

I was using a 106 with US layout

Colleague #1 was using 60% with russian layout

Colleague #2 was on catalan layout

90% of the time we were just hunting for special chars


I can code real fast. It doesn't compile, but it's fast :)


It's on a VM running behind caddy + bog-standard Let's Encrypt DV cert. It apparently works for nearly everyone, but I did have one user in the past that reported that *.0s.is domain doesnt work in his browser. Could not get enough info about what his setup was, if you could share what OS/Browser + versions you got that would be much appreciated


For me, Firefox on desktop (Windows) and mobile (Android) both give the SSL warning. Although mine appears a bit different than the parent comment:

    An error occurred during a connection to haxxorwpm.0s.is. SSL received a record that exceeded the maximum permissible length.

    Error code: SSL_ERROR_RX_RECORD_TOO_LONG


No issues here with Firefox on Linux or Android 11 (installed from F-Droid in case that matters). Strange. I wonder if it's a network difference rather than the workstation setup


Thanks, if you have any specific ideas about the UI, I would love to hear them


Switching categories does not restore scroll position to top, so you start to type what shows as being on top and the whole list changes to "you've got the first command wrong and here is a completely new list to type". I didn't understand what had happened at first

The scroll position of the whole page (including the field where I'm typing) changes when you press enter with the first three commands, until until the current command is centered within the commands list

WPM is a strange measure when some words are -h and others are "user@example.com" including the quotes. Not like language doesn't have long and short words but especially with needing shift etc., this feels kinda weird and like it would depend a lot on which words you get randomly assigned. You can pick the longer duration to even that out, but you could also just switch to CPM and get more reliable results faster -- or so I'd expect

The highscores don't show the run's duration, aka the error margin

Theoretically this would have to use readline or whatever input mode the person is used to. Ctrl+P would put the cursor at the end of the previous command, Ctrl+W then erases the last word (until the previous whitespace), Alt+Backspace is similar but erases until the previous punctuation, etc. Not sure if that's all possible on web. For some reason it also didn't bother me though, although I'm a very heavy user of these and e.g. web KVMs and chat input fields (when writing a command to a nerd friend) keep tripping me up. I guess it just feels like a typing test and not "real". But it makes me wonder what "real" would do for typing speed

Going back to the previous command (with (ctrl+)backspace I think mainly) is something I kept trying to do though, also tripping up 3 commands in a row (notice typo -> autopilot-mode fixing it: backspace to undo the enter, type correct character, enter again -> now you have 2 lines wrong). Maybe backspace (or also arrow keys?) being able to go back to a previous command could be a setting so people are free to choose whatever is faster for them

The input field defocuses at the end, so then the default browser commands start triggering as I'm typing the remainder of the command (mostly that's just searching on the page and the scroll jumps to some random spot, but can also be leaving the page with backspace). Maybe the fix can be as simple as restoring the box' previous value onkeyup and coloring it as though it's disabled

Highscores are probably more fun if you see (or can toggle between) the latest submissions as well as the top month/year/all-time. More of a long-term thing, for now I lead one of the categories so I know the submission worked and that I'm amazing *pats self on back* (there is only one other person in that category for now :P)

I wonder how long it takes for everyone to get kicked out by a cheater though. Maybe there should be a cheater category that shows up once you hit >1.5×max(leaderboards), because people will want to try autotyping but you also don't want to give them ideas. Then they have some place to submit to without breaking the other highscores. I know that a lot of cheaters won't care but... I would :shrug:

Choosing e.g. Debian does not include Basic commands that I can tell, whereas of course on Debian it's not like you never mv a file. Maybe multi-selecting categories would enable people to combine it however they want, but then the highscore system is difficult so hm.

To reproduce... actually, I wonder if you can guess my browser and OS family based on the above :D

None of these are a blocker or big bother for me btw, it's just that I saw the invite to report UI issues/ideas and I can't help myself. I had fun using it, thanks for making!


> The highscores don't show the run's duration, aka the error margin

Different durations have different high score lists.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: