frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Ask HN: How are you acquiring your first hundred users?

77•amanchanda•2h ago•58 comments

Firefox moves to GitHub

https://github.com/mozilla-firefox/firefox
503•thefilmore•6h ago•286 comments

FastVLM: Efficient vision encoding for vision language models

https://github.com/apple/ml-fastvlm
279•nhod•10h ago•49 comments

Open Hardware Ethernet Switch project, part 1

https://serd.es/2025/05/08/Switch-project-pt1.html
159•luu•4d ago•23 comments

The Microsoft unit working to thwart hackers

https://www.bloomberg.com/news/features/2025-05-09/microsoft-s-hacker-hunters-inside-the-secretive-mstic-unit
18•svmt•3d ago•3 comments

TransMLA: Multi-head latent attention is all you need

https://arxiv.org/abs/2502.07864
82•ocean_moist•7h ago•21 comments

Anti-Personnel Computing (2023)

https://erratique.ch/writings/anti-personnel-computing
26•transpute•3h ago•9 comments

A programming language made for me

https://zylinski.se/posts/a-programming-language-for-me/
50•gingerBill•2h ago•40 comments

The Barbican

https://arslan.io/2025/05/12/barbican-estate/
576•farslan•19h ago•214 comments

Air Traffic Control

https://computer.rip/2025-05-11-air-traffic-control.html
189•1317•1d ago•67 comments

Why are coffee stains darker at the edges?

https://www.why.is/svar.php?id=5513
6•michalpleban•1d ago•2 comments

15 Years of Shader Minification

https://www.ctrl-alt-test.fr/2025/15-years-of-shader-minification/
95•laurentlb•3d ago•19 comments

Trial by Fire: The crash of Aeroflot flight 1492

https://admiralcloudberg.medium.com/trial-by-fire-the-crash-of-aeroflot-flight-1492-ee61cebcf6ec
18•shmeeed•4h ago•8 comments

Alephic Writing Style Guide

https://www.alephic.com/company/writing
35•otoolep•3d ago•23 comments

Revisiting Image Maps

https://css-tricks.com/revisiting-image-maps/
35•thm•3d ago•14 comments

Can you trust that permission pop-up on macOS?

https://wts.dev/posts/tcc-who/
304•nmgycombinator•16h ago•209 comments

A conversation about AI for science with Jason Pruet

https://www.lanl.gov/media/publications/1663/0125-qa-jason-pruet
151•LAsteNERD•15h ago•129 comments

Nextcloud cries foul over Google Play Store app rejection

https://www.theregister.com/2025/05/13/nextcloud_play_store_complaint/
35•brodo•2h ago•12 comments

Understanding LucasArts' iMUSE System

https://github.com/meshula/LabMidi/blob/main/LabMuse/imuse-technical.md
134•todsacerdoti•12h ago•27 comments

RIP Usenix ATC

https://bcantrill.dtrace.org/2025/05/11/rip-usenix-atc/
170•joecobb•18h ago•37 comments

A community-led fork of Organic Maps

https://www.comaps.app/news/2025-05-12/3/
308•maelito•23h ago•196 comments

How to avoid P hacking

https://www.nature.com/articles/d41586-025-01246-1
68•benocodes•4d ago•54 comments

HealthBench – An evaluation for AI systems and human health

https://openai.com/index/healthbench/
159•mfiguiere•17h ago•132 comments

University of Texas-led team solves a big problem for fusion energy

https://news.utexas.edu/2025/05/05/university-of-texas-led-team-solves-a-big-problem-for-fusion-energy/
252•signa11•23h ago•172 comments

Reviving a modular cargo bike design from the 1930s

https://www.core77.com/posts/136773/Reviving-a-Modular-Cargo-Bike-Design-from-the-1930s
196•surprisetalk•20h ago•153 comments

Launch HN: ParaQuery (YC X25) – GPU Accelerated Spark/SQL

122•winwang•19h ago•71 comments

Writing N-body gravity simulations code in Python

https://alvinng4.github.io/grav_sim/5_steps_to_n_body_simulation/
133•dargscisyhp•3d ago•24 comments

Ruby 3.5 Feature: Namespace on read

https://bugs.ruby-lang.org/issues/21311
206•ksec•21h ago•98 comments

NASA study reveals Venus crust surprise

https://science.nasa.gov/science-research/astromaterials/nasa-study-reveals-venus-crust-surprise/
88•mnem•3d ago•85 comments

The Beam

https://www.erlang-solutions.com/blog/the-beam-erlangs-virtual-machine/
81•Alupis•3d ago•18 comments
Open in hackernews

Revisiting Image Maps

https://css-tricks.com/revisiting-image-maps/
35•thm•3d ago

Comments

ag8•4h ago
wow, I used to make so many games with image maps back when I first learned HTML. One still survives: https://andrew.fi/beowulf/game/
bni•4h ago
Thanks for posting this.

I met the dragon and died I think.

chrismorgan•4h ago
There is no way to defeat the evil dragon Hrathogwar. View the page sources to more easily traverse the URL graph, and confirm there is no escape. You can wander back and forth forever, but if you try to progress, to make Hrothgar happy, you get stuck.
M95D•4h ago
This is all because of web standards playing catch-up with implementations instead of the other way around.
notarealllama•3h ago
TFA takes us on this journey and then at the end, "Image maps ended up not working for us" without telling us what they did. My money is on JavaScript for that "expressive" aspect of the hover.
chrismorgan•3h ago
The last third describes exactly what he did.
chrismorgan•3h ago
> My first thought was to embed anchors into the external map SVG: […]

> This approach is problematic. Those anchors are only active when SVG is inline and don’t work with an <img> element.

No, this approach is fine: you just need to use <object data=…> instead of <img src=…>. <object> is the correct choice for embedding interactive SVG.

But you probably do want the SVG to be inline anyway, because it will load faster and is in this case actively the content of the page; which is the technical decision he ended up at, though perhaps for partly the wrong reason.

(There’s also <iframe>.)

King-Aaron•3h ago
> There’s also <iframe>

Now that's a name I've not heard in a long time...a long time.

zyberzero•2h ago
Really? I'd say image maps was the name I haven't heard in a long time... As in I read a couple of paragraphs before it dawned on me that it was _that_ type of image maps that post was about - I first thought it was something regarding rasterized maps (like OpenStreetMap or something)
ogou•1h ago
If you're looking at any web page with ads or tracking, it has many iframe elements. The javascript that loads them usually creates an iframe and the ad appears there. A typical newspaper site could have 5-50 iframes on each page.
patates•14m ago
Perhaps you confused it with the frameset and frame?

frameset: https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/...

frame: https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/...

iframe: https://developer.mozilla.org/en-US/docs/Web/HTML/Reference/...

seabass•2h ago
> Anchors positioned absolutely over my map wouldn’t solve the pixel-based positioning problem or give me the irregular-shaped clickable areas I wanted. Anchors within an external SVG wouldn’t work either.

If you're trying something like this and irregular-shaped clickable areas are not a concern (like if only the numbered circles from the article's example would be clickable) then absolutely positioned anchors can be made to work. The trick is to use js to apply a css scale transformation to a relatively positioned parent container whenever the underlying image changes size.

kristel100•2h ago
Wow, flashback. Used these for interactive campus maps back in college. Interesting to think they still have use cases in ultra-light, JS-free sites. Almost retro-cool now.
danhite•22m ago
for those of you using something like their technique of opacity animating a clip-path region from one look to another upon ~click ...

if you wish to be visually kind to safari users you can eliminate the default gray selection indication flash animation safari does upon a tap activation with just a tiny bit of webkit-only css , for example ...

#links { -webkit-tap-highlight-color : transparent ; }

added to the css of their codepen fixes it (without causing any issues for other/std browsers afaik)