News for hackers. Stuff that matters.

yoursunny

Re:LOL Verifier on Sunday February 19, 2023 @02:17PM (#34860814)
I include my LOL video when I comment LOL: https://bit.ly/sunnyLOL

This ensures my LOL is authentic.

Re:A project with a single 11,000-line code file on Sunday April 03, 2022 @08:47PM (#30902311)
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.
Re:Go’s major versioning sucks – From a fanboy on Friday March 04, 2022 @08:14PM (#30562922)
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?
Re:Defrag Like It's 1993 on Thursday December 16, 2021 @10:04PM (#29587187)
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'

Re:An exposed apt signing key and how to improve apt security on Wednesday December 15, 2021 @05:18PM (#29572314)
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.
Re:Lego has designed a set that can't be taken apart on Friday December 03, 2021 @04:34PM (#29435863)
iOS Safari is crashing, 30 seconds after opening the article, every time.
Re:Building stuff from source on Sunday November 07, 2021 @06:07AM (#29138337)
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.

Re:The Benefits of Iframe Based Development on Tuesday November 02, 2021 @07:23AM (#29079622)
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.

NDN can work as a replacement for IP too, running directly over Ethernet or other link layer technology.
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.

Re:Canistilluse.com on Thursday August 26, 2021 @09:58AM (#28315020)
> 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.

Does the one billionth rickroll recipient receive an award of sorts, like an MP3 player that plays Never Gonna Give You Up on repeat?
Re:Freenom, the free domains website, is a scam on Sunday July 25, 2021 @04:00PM (#27952415)
Freenom free domains only grant you usage rights. The registrant listed in WHOIS is still their company. You don't own the domain.

I have a few Freenom domains, but they are only for short-term use (e.g. try out a new ACME client). Nobody should use a Freenom domain on a serious website.

Re:Google Maps updates 'dangerous' Ben Nevis route on Saturday July 17, 2021 @07:57PM (#27869750)
I downloaded OpenStreetMap data from OpenAndroMaps, and was viewing it in c:geo geocaching app. I figured out the difference between contour lines and trails, the second time around.
Re:Google Maps updates 'dangerous' Ben Nevis route on Saturday July 17, 2021 @05:59PM (#27869166)
I wish OSM can show the trails instead of a green blob in some of our state parks. Maryland USA.
Re:Google Maps updates 'dangerous' Ben Nevis route on Saturday July 17, 2021 @05:56PM (#27869151)
OpenStreetMap also takes some get used to. I once mistook an contour line (denotes equal elevation) for a trail, and wondered why the "trail" needs so much bushwhacking.
It's amazing how much redundancy was built into those out-of-touch systems, 30 years ago. However, the number of backup units is finite, so let's hope the now-operating system can last for several more decades.
Re:Increasing HTTPS Adoption on Wednesday July 14, 2021 @02:34PM (#27836630)
I hope HTTPS-First mode would become the default, so that the full page warning can finally convince my classmate to adopt HTTPS on their website that "does not contain any private info so it doesn't need encryption".
Re:Goodbye, Fleets on Wednesday July 14, 2021 @02:30PM (#27836586)
I see Fleets as a thing that takes up a row in the Twitter mobile app, but I never clicked it. Now I hope Facebook says goodbye to Stories.
Re:TinyPICO – tiny fully-featured ESP32 board on Monday July 12, 2021 @06:22PM (#27815818)
This looks great. It's the smallest ESP32 board I've ever seen.

There needs to be an ecosystem of "hats" such as OLED screens and environment sensors and buttons, so that it's easier to build simple projects.

Re:Updating the Go Memory Model on Monday July 12, 2021 @05:08PM (#27815152)
If I have a uint64 counter incremented by C code and read by Go code, is it safe to do so without using any locks and atomic?
Re:Check If Email Exists on Thursday July 01, 2021 @10:22PM (#27707253)
You'll get blocked by your hosting provider first. See a recent instance here: https://www.lowendtalk.com/discussion/comment/3237390/#Comme...
Re:I was let go for refusing to deploy a dark pattern on Friday June 25, 2021 @01:18PM (#27633665)
In 2007, I had a script on my website that records every click and every mouse move. When my classmates are reading my webpages, I'm watching a video simulation of their mouse moves.

My website doesn't contain any textbox, so there's no personal data except IP address. Nevertheless, I more or less know who's reading my page because every student has a static IP.

Nowadays, I don't collect mouse moves anymore, but I have navigator.sendBeacon() for video playback behavior.

In my agency, we are allowed to use work laptop for personal purposes, except certain prohibited software and prohibited sites.

I don't store files though: they are only accessed though the browser.

Re:PNG files can be animated via network latency on Wednesday June 23, 2021 @10:47PM (#27613294)
LowEndBox is full of scammers. https://talk.lowendspirit.com/ is cleaner.
Re:PNG files can be animated via network latency on Wednesday June 23, 2021 @10:36PM (#27613229)
I'm "guilty" of this on my video site https://pushups.ndn.today (does not work on iOS). So far one person figured out how to download those videos, after spending 4 hours studying my source code.
Re:Cool URIs don't change (1998) on Thursday June 17, 2021 @10:19AM (#27539845)
Since I switched from ASP to PHP (2008), I avoided file extensions in page URI in most cases, and instead placed every page into its own folder. This is compatible with every web server without using rewrite rules.

When I switched from PHP to static generators (2017), most URIs continued working without redirects.

Re:Cool URIs don't change (1998) on Thursday June 17, 2021 @07:43AM (#27538518)
I opened my website in 2006. Since 2009, I've kept all the links unchanged or redirected through two rebuilds.

It's a lot of work because I need to customize URI structure in blog systems and put complex rewrite rules.

To ensure the setup is more or less correct, I have a bash script that tests the redirects via curl. https://bitbucket.org/yoursunny/yoursunny-website/src/912f25...