Hacker News new | past | comments | ask | show | jobs | submit | more tokumei's comments login

Awesome! Really missed this behavior when Linux and tiling window managers were my daily driver.


One thing with $ in a shell prompt - $ is meant to indicate the command should be ran as a normal user, while # indicates the command should be ran as a super user.


Generally, yes. But some guides or tutorials don't respect this convention and use any number of chars including the author's own personal prompt. (I see `>` used often too).


I would always use '>' in README files to indicate the command was to be ran in a command prompt window for Windows users, usually followed with context.


I'm guilty of this, as I have my prompt set to a single > character. I'd be interested to know where the $ as a representation for user input suggestion originated from. I didn't know about # indicating that a command should be run as a superuser


> I'd be interested to know where the $ as a representation for user input suggestion originated from.

In the absence of any configuration, the default prompt for most shells is (or was) simply $. When you su to root, it becomes #


Indeed.


I used to use GNU/Linux on the desktop for many years, now I mostly use macOS. I became the same kind of person I used to argue with online.


> If you have a server with SSH access, just init a bare repo in a directory, push to that, and you're ready to go. No web UI needed.

Used to do that years ago for my personal projects. Honestly does the trick.


It seems incidents like this with the big providers are becoming a lot more common. Wonder why that is


CSAM only works by checking a hash. Photos of a stolen bike, especially ones that are sold online would probably have unique images taken by the thief.


Also, all databases and app servers should be private, accessed by a bastion server. The only thing the outside should be able to reach are the load balancers/reverse proxies.


Flash is terrible in retrospect, but I used to love making Flash games in high school by myself. Amazing experience.


> Flash is terrible in retrospect, but I used to love making Flash games in high school by myself. Amazing experience.

Flash isn't terrible. Flash as a browser plugin was terrible and insecure indeed. Flash was no more terrible than Java or .net on the desktop as a multimedia app platform. In fact it made it easy not only to create interactive "experiences", games, but also artist authoring tools. Alchemy allowed to incorporate C/++ code into Flash, and Flash also had its own shader editor for effects. Adobe threw the baby with the bath water.


The tooling was excelent. In a way tooling is more important than the underlying tech. Especially for amatour projects.


> Flash is terrible in retrospect

Actually it has a good use case for videos and animation. Flash animation uses vector graphics, saving huge amounts of space for basic animations and allowing the animation to scale to any screen size without degrading resolution. Part of the reason Flash took off on the web was due to small size (useful when network throughput was more limited).


Never messed with LFS. I used Gentoo (and then Arch) when I had the luxury of more free time. Very fun to tinker with.

With Gentoo, waiting for your DE or web browser to compile was a great excuse to step away from the computer and go for a walk. The little things in life.


or run "emerge world"[1] before going to sleep and wake up at 3AM to check if it didn't halt on some missing deps while updating KDE...

[1] tbh I don't rememeber the exact emerge syntax, it was almost 20 years ago!


I much prefer using a Result<T, E> type now, even in C++. Makes it easier to reason about the code in my opinion.


The article shows that this approach adds to runtime even in the non-erring case.


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

Search: