Readit News logoReadit News
gregsadetsky commented on A CT scanner reveals surprises inside the 386 processor's ceramic package   righto.com/2025/08/intel-... · Posted by u/robin_reala
gregsadetsky · 15 days ago
Hey @kens, congrats on the page! Extremely super small usability note/suggestion: if you changed your inputs (above the tool that lets you see all of the layers) to something like this:

    <input name="layer" type="radio" onclick="show('https://static.righto.com/images/386-package/layer0.jpg')" id="layer1">
    <label for="layer1">Pins</label>
then it would be possible to click the label name (i.e. Pins, I/O Vcc, etc.) instead of having to click the small radio circles.

It's a small thing, but I think it's a lot more fun/easy/fast to click the different label names rather than the circles. It's truly a small nit - just in case it's an easy fix for you. Cheers!

(just to make sure: you need to add a unique "id" attribute for each "input", and then make a <label> tag for each label referencing that id in the "for")

gregsadetsky commented on Show HN: The current sky at your approximate location, as a CSS gradient   sky.dlazaro.ca... · Posted by u/dlazaro
mourner · 15 days ago
Author of Suncalc here — this is exactly the kind of stuff I love to see my code being used in, thanks for sharing!
gregsadetsky · 15 days ago
Hey, small note that your excellent https://suncalc.net/ is showing an error due to the Google Maps API token having expired.

I know that you deeply know map tech :-) but if I may make a suggestion - you might consider switching from Google Maps to Protomaps? https://github.com/protomaps/protomaps-leaflet

Cheers

gregsadetsky commented on Show HN: The current sky at your approximate location, as a CSS gradient   sky.dlazaro.ca... · Posted by u/dlazaro
cloudfudge · 15 days ago
As an old-timer who's not up on all the latest whiz-bang web stuff, I have to ask what is the astro/cloudflare/wrangler magic that allows the following to work:

  const { latitude = "0", longitude = "0" } = Astro.locals.runtime.cf || {};
I gather you're using some cloudflare feature wrapped in astro to provide lat/long but I don't see the actual plumbing that gets it to you (and I did try to spelunk through a decent amount of documentation to find it). Can you elaborate?

gregsadetsky · 15 days ago
You can enable a feature in Cloudflare which will inject the approximate user's lat/lng (based on their IP (and other factors?)) as an HTTP header added to the original request:

https://developers.cloudflare.com/network/ip-geolocation/

"This Managed Transform adds HTTP request headers with location information for the visitor's IP address, such as city, country, continent, longitude, and latitude."

gregsadetsky commented on Dial-up Internet to be discontinued   help.aol.com/articles/dia... · Posted by u/Kye
neilpomerleau · 16 days ago
gregsadetsky · 16 days ago
I like this explanatory graphic (after many many years of listening to the dialup sounds) - https://oona.windytan.com/posters/dialup-final.png

And this version combining the graphic and the sound used to make the graphic: https://www.youtube.com/watch?v=abapFJN6glo

And this alternative version (h/t @Kye): https://www.youtube.com/watch?v=jpMrTxMV6E4

u/gregsadetsky

KarmaCake day5773November 7, 2010
About
gs /at/ gregsadetsky.com

Cofounder of a web mapping startup acquired by Apple.

Received awards from the US Coast Guard and the Governor General of Canada for creating a map that helped rescue 1,700 people during Hurricane Harvey.

---

Currently working on: https://disco.cloud/

See my talk about it at the Recurse Center: https://youtu.be/z2lP7C8VT6M

---

More - https://greg.technology

View Original