HNHacker News
TopNewBestAskShowJobs

bandie91

197 karma · joined June 15, 2020

email: C8XEVR(at)bitinfo.hu
submissionscomments
bandie91··on Vulnerabilities show why STARTTLS should be avoided if possible (2021)
what is wasted? IPs. not like IP addresses themself were not an actifical limit - but let set aside this for now. if i setup an MX, it still needs to be on port 25, because the vast majority of MTAs are not capable of service discovery; and there is no Host header or SNI/ECH for SMTP, so for each mail.DOMAIN.TLD i have to buy an IP, just to put them over a single multi-domain postfix/exim in order to please those MTAs who are requisiting the HELO name to match to the MX's reverse record.

how wonderful a world-wide adoption of rfc 6186 would be to able to put multi-domain mail server on a single IP.

bandie91··on Why CSV is still king
the site says "something went wrong" just 1 sec AFTER it successfully displayed the content. something is so wrong that had withdraw the content from the user... use js only to enhance UX!
bandie91··on Why CSV is still king
a lesson in confusing representation and data. if users can learn not to edit xls in text editor and to "go to next cell" type "tab" in spreadsheet software, they can learn edit csv in a proper csv editor. the only trap was that we made a non-text format so simple that tricked ourself that "it's only plain text".
bandie91··on xdg-override: change default application temporarily on Linux
IMO PATH-prepending is the right (unix-y) way to override certain commands, as OP does.

but sadly, many projects, programms which I came across (mostly but not exclusively daemons), defines PATH for themself, not respecting inheritence: saying "what if someone set it up maliciously" or "default PATH is not enough / too wide / in wrong order / etc" ...

man, sorry, process! what you inherit is what there is, it's your environment where you need to do your job. you can't? just fail and let the caller know the error case. will you (as an app author) change the CWD because it's unfamiliar (breaking relative path parameters along the way)? or redirect STDERR from a file to tty because "user MUST SEE this error" (making it NOT shown in the error log where the user did want to put the error output)? no. that's why you should not touch PATH. except if you are a logon process, a wrapper whose responsibility is to prepare the env for descendents, or crossing privilege boundary.

due to this defiance of many programms, I started to switch from PATH-prepending to "over-mount executables in separate mount namespace" strategy. I hope it won't be voided by they invent "let's switch to the default namespace because it's my will" type of overreach.

bandie91··on xdg-override: change default application temporarily on Linux
joining to the "everyone reimplements a file-opener" team (shameless plug) : https://github.com/bAndie91/mimeopen-gui
bandie91··on A rare disorder makes people see monsters
people still believe they have a self-consistent world view when they dismiss the extra-natural world just because it is not accessible by natural means. it's like "there are no forests because you can't drive in them because there are no motorways in them"
bandie91··on A rare disorder makes people see monsters
just as much as we need stinky drinking water and deliciously tasting poison.
bandie91··on Dtui – TUI for introspecting the state of the system/session dbus
it can not call dbus methods. can it? how is it better than say "qdbus" or dbus-call? apart of course from the TUI vs CLI aspect?
bandie91··on The Elegance of the ASCII Table
shameless plug: https://repo.or.cz/hband-tools.git/blob/HEAD:/tabdata/README...
bandie91··on The Elegance of the ASCII Table
man 7 ascii
bandie91··on The Elegance of the ASCII Table
yea he must meant that it jumps to a fixed position
bandie91··on The Elegance of the ASCII Table
there is not only a quantitative difference between a conlang designed by a small group (or 1 person) and a "human" language developed organically in the span of centuries by millions of speakers, but also qualitative.
bandie91··on Show HN: Doggo – A powerful, human-friendly DNS client for the command line
or AXFR... but it is allowed on even less places than ANY.
bandie91··on Why not parse `ls` and what to do instead
i searched through the page and have not found `find ... -printf "%M %n %u %g %s ...\0"` mentioned. this way you get ls(1)-like output, yet machine-parseable.
bandie91··on SSH as a Sudo Replacement
why must systemd re-invent everything?
bandie91··on SSH as a Sudo Replacement
note, that even with ForcedCommand, sshd still executes ~/.ssh/rc in the user's name, so she can execute arbitrary command once she can write the rc file (unless disabled by PermitUserRC).

shameless plug: you can prevent this by https://github.com/bAndie91/tools/tree/master/ssh-groupcomma...

bandie91··on Start all of your commands with a comma (2009)
in the context of "some tool that expects $0 in the system path..." - i do not understand either.

if a tool looks up a command name "x" given to it, it just takes $PATH and goes through it. the same $PATH as in your shell when you call "x" directly.

thinking more about it, you must thought something like putting "@daily mycommand ..." in crontab, then being annoyed by it not finding your command. then the problem is not that some tools expecting a "system path", but that some tools being defiant and overrides inherited path on their own accord. which is totally unneccessary: environment is called environment because it is prepared for you (the given program) to run in.

bandie91··on Show HN: Shpool, a Lightweight Tmux Alternative
like reptyr[1] or retty[2] does?

[1] https://github.com/nelhage/reptyr [2] https://github.com/lkundrak/retty

bandie91··on To the brain, reading computer code is not the same as reading language (2020)
in C there is only epic mode :)
bandie91··on Tmux is worse-is-better
generally you can not bring processes to the foreground once you left the session. there are hacky ways to do it though:

http://github.com/nelhage/reptyr

http://github.com/jerome-pouiller/reredirect

https://github.com/lkundrak/retty/

bandie91··on People who won't give up floppy disks
mine was tomsrtbt[1]. 1 diskette.

[1] https://en.wikipedia.org/wiki/Tomsrtbt

bandie91··on Show HN: Dotenv, if it is a Unix utility
> Programs should simply bundle their dependencies.

awww. i don't think it's OK in any way to download libc6/msvcrt as many times as I download __any__ software. even more, is there a strong difference between dependency and runtime environment? if sensible people does not bundle the whole python distribution to a "stuff.py" then why bundle libopenssl.so to a webserver application?

IMO, a saner approach would be just not to confuse dependencies: appX depends on libY 1.9; appZ depends on libY 2.0; people are quick to declare that appX and appZ are incompatibe as they can not run on the same system due to "conflicting dependencies". but who said you have to seach libY in /usr/lib*/libY.so? if you need different versions of a lib, just install them in separate dirs and make your apps find the right one (eg. by setting RPATH or versioned .so filenames).

bandie91··on Catholic Group Quickly Defrocks AI Priest Father Justin
steam is 100% made out of the same material as water, still not of the species water. nor ice. now imagine some sect attempts to baptize with steam and/or ice, just to demonstrate they are "smart" to find "loophole" in the CIC :-)
bandie91··on HTML Attributes vs. DOM Properties
just as well-thought-through as other parts of the web ecosystem, starting at the scripting language designed in a mere week.
bandie91··on Show HN: A CLI tool that enables you to remove files easily and safely
shameless plug: recyclix.so <https://github.com/bAndie91/libyazzy-preload/tree/master?tab...>
bandie91··on Freenginx: Core Nginx developer announces fork
are we at the twelfth fork? :)
bandie91··on Figure out who's leaving the company: dump, diff, repeat

  if git is-there-anything-to-commit; then git commit ...; fi

  'is-there-anything-to-commit' is aliased to '! [ -n "$(git status -s --porcelain --untracked-files=no)" ]'
bandie91··on A practical guide to quitting your smartphone
maybe it's a genuine human-to-human interaction which helps healing these...
bandie91··on Protecting Secrets from Computers (2023)
otpw PAM module does this.

https://manpages.debian.org/buster/libpam-otpw/pam_otpw.8.en...

bandie91··on An Introduction to the WARC File (2021)
YaCY (self-hosted search engine + index) can do this when using it as a proxy.

https://yacy.net/

← PreviousPage 4 of 9Next →