HackerTrans
TopNewTrendsCommentsPastAskShowJobs

yoursunny

no profile record

comments

yoursunny
·3 ปีที่แล้ว·discuss
I include my LOL video when I comment LOL: https://bit.ly/sunnyLOL

This ensures my LOL is authentic.
yoursunny
·4 ปีที่แล้ว·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 ปีที่แล้ว·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 ปีที่แล้ว·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 ปีที่แล้ว·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 ปีที่แล้ว·discuss
iOS Safari is crashing, 30 seconds after opening the article, every time.
yoursunny
·5 ปีที่แล้ว·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 ปีที่แล้ว·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 ปีที่แล้ว·discuss
NDN can work as a replacement for IP too, running directly over Ethernet or other link layer technology.
yoursunny
·5 ปีที่แล้ว·discuss
Several years ago, I wanted to make a huge lookup table in Node.js during a research project, but the program stopped making progress after a while. This incident was detailed in my Quora answer: https://www.quora.com/What-would-you-need-64GB-of-RAM-for/an...

I incorrectly concluded that Node.js has a limitation on how much memory it could use. After reading this article, I now understand that the real reason is that I'm setting too many properties on an Object, exceeding V8's limitation.
yoursunny
·5 ปีที่แล้ว·discuss
> Anything that requires combining a click with the shift and ctrl/cmd keys is not going to go down well with the average user.

These users need to retake the computer literate 101 class.

When I'm in elementary school, we learned how to multi-select in the tutorial system that comes with Windows 3.1.

I don't know why Windows XP deleted these very important tutorials and replaced them with a webpage.