wesamco

Joined 10 years ago

Karma
164
Submissions
39
Member since
Nov 16
I like Lisp, SQLite and Lua. I know, what a surprise, just the typical HN user.

Olive Oil guzzler.

My Email Address is "mister" (but the shortened form) @wis.am

[ my public key: https://keybase.io/wis; my proof: https://keybase.io/wis/sigs/KNgxF55sVi_FtPQGkgHLsKlPmRNiVsxgstM4PIf7m94 ]

View on Hacker News

Recent submissions

Comment · 2 years ago
I can't find it in the settings for Google Search, has it been removed?
Comment · 2 years ago
I've been seeing this specific type of sock puppet spam on YouTube for years, the same exact modus operandi, my earliest distinct memory of seeing this specific kind of sock puppet spam comments promoting a financial scam is from early 2020, just before the breakout of COVID19.

The screenshots shows how they are the top comment on the video, as a result of manipulating YouTube's comment ranking algorithm, with the sock puppet comments. (note: it's a big screenshot, you might need to zoom in)

How is it that Google has not fixed this yet? How can spam email classification in Gmail be so good while this is allowed to go on?

I believe a small finetuned LLM can easily identify this kind of sock puppeting spam.

Google should do something about this specific kind of sock puppeting comment spam that promotes financial scams and shadow ban them.

Can somebody who knows someone that works at Google ask them to raise this internally?

It infuriates me and makes my blood boil how they specifically target old people. and they intentionally target YouTube videos that old people are more likely to watch.

Comment · 2 years ago
> Soon, developers will be able to withdraw the stars earned by their bots in Toncoins via Fragment.

So it's backed by Telegram's own cryptocurrency, or at least soon gonna be. reading this killed the little excitement I had.

Comment · 2 years ago
I guess the accuracy really depends on your location or ISP.

I believe my ISP rarely or never rotates IP addresses, and on top of that I think my ISP provided router is assigned an IPv6 address and it prioritizes using it, because when I visit whatismyipaddress.com with JS disabled, it can only show my IPv6 address, but if I enable JS it can show an IPv4 address too (I assume through the WebRTC IP leak method, which requires JS)

Comment · 2 years ago
How the heck did it automatically pan the map to my current location, my small town, in an Incognito window, on page load?

Is IP geolocation this accurate and accessible to every website nowadays?

If this website can do this I assume every website I visit can do it too?

Comment · 2 years ago
While you can't save to localStorage as my sibling commenters have shown, greyface- down below in the thread posted a version that saves to the hash fragment of the URI. Saving to the (Data) URI has a benefit over localStorage of allowing you to save by bookmarking, which also enables you to save many notes, not just one.

I code-golfed greyface-'s code and made the text cursor autofocus on page load:

  data:text/html,<body contenteditable autofocus oninput="history.replaceState(0,0,'%23'+btoa(this.outerHTML))" onload="location.hash&& document.write(atob(location.hash.slice(1)))">#
Comment · 2 years ago
Nice! I bookmarked it and I'm gonna start using it, thank you.

For a quick and dirty save, you can press Ctrl+P to open the print window/dialog and select "Save as PDF", or you can press Ctrl+S and save as a single HTML file.

Edit: to make the text cursor focus automatically when the page loads, you can add the autofocus attribute to the body tag.

Comment · 2 years ago
Comment · 2 years ago
and using one image format (or fewer number of them) increases the CDN's cache hit rate, so it decreases latencies and makes your site load faster.
Comment · 2 years ago
I just realized that the PNG file for the logo hosted on wikimedia, is 232KB! That is a lot, that's unnecessarily large for such a simple logo, so I used vtracer, a raster image to SVG vectorizer, written in Rust, and SVGO, a SVG optimizer, to create the SVG file version of the logo, it is 16KB. a 93.1% improvement in size! (and they look the same)

The 2 commands used:

  > wget 'https://upload.wikimedia.org/wikipedia/commons/d/d5/SUN_microsystems_logo_ambigram.png'
  --2024-05-14 17:33:31--  https://upload.wikimedia.org/wikipedia/commons/d/d5/SUN_microsystems_logo_ambigram.png
  Loaded CA certificate '/etc/ssl/certs/ca-certificates.crt'
  Resolving upload.wikimedia.org (upload.wikimedia.org)... 185.15.59.240, 2a02:ec80:300:ed1a::2:b
  Connecting to upload.wikimedia.org (upload.wikimedia.org)|185.15.59.240|:443... connected.
  HTTP request sent, awaiting response... 200 OK
  Length: 237484 (232K) [image/png]
  Saving to: ‘SUN_microsystems_logo_ambigram.png’
  
  SUN_microsystems_logo_ambigr 100%[=============================================>] 231.92K   821KB/s    in 0.3s
  
  2024-05-14 17:33:32 (821 KB/s) - ‘SUN_microsystems_logo_ambigram.png’ saved [237484/237484]
  
  > vtracer --input SUN_microsystems_logo_ambigram.png --output SUN_microsystems_logo_ambigram.png.svg
  Conversion successful.
  > svgo --precision 1 -o SUN_microsystems_logo_ambigram.png-opt2.svg -i SUN_microsystems_logo_ambigram.png.svg
  Done in 73 ms!
  63.162 KiB - 76% = 15.148 KiB
  >  ls -lah
  total 114M
  drwxr-xr-x 2 wis wis 4.0K May 14 17:34 .
  drwxr-xr-x 4 wis wis 4.0K May 14 17:29 ..
  -rw-r--r-- 1 wis wis 232K Jan 12  2019 SUN_microsystems_logo_ambigram.png
  -rw-r--r-- 1 wis wis  16K May 14 17:34 SUN_microsystems_logo_ambigram.png-opt2.svg
  -rw-r--r-- 1 wis wis  64K May 14 17:33 SUN_microsystems_logo_ambigram.png.svg

Makes you think how much the Wikimedia Foundation can improve the loading experience for users and save in bandwidth costs, if they optimize all the PNG raster images that can/should be optimized, which this file is a prime example of.
Comment · 2 years ago
Oh wow, this book cover art-piece has the same concept, but even more impressive; the Sun logo has 3 "sun" words in the logo not 4 (I know I also thought they were 4 initially), but this art piece has the word "Al-Khwarizmi" 4 times, one for each edge of the square.

Edit: I can't count, both have 4 words, one word for each edge.

Comment · 2 years ago
The logo SUN Microsystems had is a 4-way ambigram with rotational symmetries. Designed by Professor Vaughan Pratt of Stanford, the logo features 4 interleaved copies of the word "sun", forming a rotationally symmetric ambigram, with the letters U and N in each word forming the letter S for the next word. You can read the word "sun" if you rotate your head by 45°, 135°, 225°, or 315°.

* Objectively according to me. :P

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton