HackerTrans
TopNewTrendsCommentsPastAskShowJobs

yoursunny

no profile record

comments

yoursunny
·3 anni fa·discuss
I include my LOL video when I comment LOL: https://bit.ly/sunnyLOL

This ensures my LOL is authentic.
yoursunny
·4 anni fa·discuss
Circa 2006, I was in college, and I got hired to write a webapp for a college department. I didn't know JavaScript could have classes and capture variables, so I made the app with entirely global variables and plain functions combined with `eval`. It's over 2000 lines, and nobody after me could understand it.
yoursunny
·4 anni fa·discuss
I develop experimental software where backwards compatibility is the least of my concerns. To avoid the SemVer nonsense imposed by Go and NPM, I simply name every version to be 0.0.yyyymmdd derived from commit date. If Ubuntu and DPDK can name their versions by date, why can't I?
yoursunny
·5 anni fa·discuss
In case the second sudo wants to ask for password but there's no disk space for logging, it's safer to:

sudo bash -c 'dd if=/dev/zero of=/zeros; rm -f /zeros'
yoursunny
·5 anni fa·discuss
I run a small apt repository without signing, delivered over HTTPS only. Then I tell users to put `trusted=yes` in the source line. There's no APT signing key, no risk of compromise, and no need to backup.
yoursunny
·5 anni fa·discuss
iOS Safari is crashing, 30 seconds after opening the article, every time.
yoursunny
·5 anni fa·discuss
My software has only Makefile, but it works on both Ubuntu 20.04 and Debian 11. The Makefile calls meson & ninja & npm.

I tell macOS users to install VirtualBox and then build my software inside.
yoursunny
·5 anni fa·discuss
IFRAMEs still require a top-level page and their positions still need CSS.

I usually use FRAMESET and FRAMEs: they are positioned perfectly in a grid, with no need for CSS or TABLE. There's no postMessage API: you can write <A target=other-frame-name> to navigate to a page in another FRAME.

HTML5 doesn't have FRAMESET, but all the browsers still support HTML4 perfectly.
yoursunny
·5 anni fa·discuss
NDN can work as a replacement for IP too, running directly over Ethernet or other link layer technology.