frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Mental Health and the 17th-Century Ship's Doctor

https://www.historytoday.com/archive/history-matters/mental-health-and-17th-century-ships-doctor
1•Thevet•3m ago•0 comments

SoK: On the security of non-fungible tokens

https://www.sciencedirect.com/science/article/pii/S2096720924000812
1•PaulHoule•6m ago•0 comments

A Letter to the CalyxOS Community

https://calyxos.org/news/2025/08/01/a-letter-to-our-community/
1•pabs3•7m ago•0 comments

Easy Audio Loopback in Electron: Chromium's Hidden Powers on macOS

https://alec.is/posts/bringing-system-audio-loopback-to-electron/
1•arm32•8m ago•0 comments

Audit logs for screensharing and Take control for Teams admins

https://techcommunity.microsoft.com/blog/microsoft365insiderblog/audit-logs-for-screensharing-and-take-control-for-teams-admins/4437837
1•gnabgib•9m ago•0 comments

US cancer research might never recover from proposed Trump funding cuts

https://www.thelancet.com/journals/lanonc/article/PIIS1470-2045(25)00414-0/fulltext
1•haskellandchill•9m ago•0 comments

Ask HN: Want to leave my job with nothing lined up

1•bsjak•10m ago•0 comments

Compromised Donor Emails: A post-mortem

https://pi-hole.net/blog/2025/07/30/compromised-donor-emails-a-post-mortem/
2•AdmiralAsshat•11m ago•0 comments

PresEngage Files Patent for Groundbreaking AI Co-Presenter

https://presengage.com/blog/presengage-files-patent-for-groundbreaking-ai-co-presenter/
1•presengage•18m ago•1 comments

Teams admins will now be able to see telemetry for screen sharing

https://www.neowin.net/news/teams-admins-will-now-be-able-to-see-telemetry-for-screen-sharing/
2•josephcsible•19m ago•1 comments

Galton Board

https://en.wikipedia.org/wiki/Galton_board
1•RyanShook•30m ago•0 comments

Ask HN: CS Course

1•h_tbob•33m ago•1 comments

Men know they should wear sunscreen, so why aren't they? [video]

https://www.youtube.com/watch?v=qkHlizfuWsw
1•mgh2•34m ago•1 comments

The mountain retreat – upholding an Italian tradition (football)

https://www.bbc.co.uk/sport/football/articles/czxylywwxgko
2•a_w•41m ago•0 comments

I built a Roblox Grow a Garden calculator to estimate fruit value and pet XP

https://growagarden-calculator.io
1•maysunyoung•42m ago•1 comments

AI's Pogo-Stick Grift

https://pluralistic.net/2025/08/02/inventing-the-pedestrian/
2•labrador•48m ago•0 comments

PatchworkOS: A 64bit non-POSIX OS where everything is a file

https://www.osnews.com/story/142960/patchworkos-a-64bit-non-posix-os-where-everything-is-a-file/
2•rguiscard•49m ago•0 comments

MIT Professor Fano on Computing as a Public Utility (1960s) [video]

https://www.youtube.com/watch?v=sjnmcKVnLi0
2•so-cal-schemer•50m ago•1 comments

Can't get AI to accurately analyze a spreadsheet – help needed

1•zyruh•51m ago•4 comments

Show HN: Realtime Magic-Eye Mirror

https://namuol.github.io/magic-eye-mirror/
1•namuol•52m ago•0 comments

Bassoon Tracker

https://www.stef.be/bassoontracker/
1•davepeck•53m ago•0 comments

Show HN: Voltpeek – A Vim inspired oscilloscope software

https://github.com/schuyler4/voltpeek
2•schuyler4•55m ago•0 comments

A novel nematode species from the Siberian permafrost

https://journals.plos.org/plosgenetics/article?id=10.1371/journal.pgen.1010798
1•mrintegrity•55m ago•1 comments

ILN

https://github.com/Tryboy869/iln-nexus
1•anzizdaouda0•56m ago•2 comments

Effect of Non-Nutritive Sweeteners on the Gut Microbiota

https://pmc.ncbi.nlm.nih.gov/articles/PMC10144565/
3•mgh2•1h ago•0 comments

A Doubly-MMapped Contiguous Shared-Memory Lock-Free Queue

https://www.reachablecode.com/2022/11/22/a-doubly-mmapped-contiguous-shared-memory-lock-free-queue/
3•ibobev•1h ago•0 comments

C++26 Reflections adventures and compile time UML

https://www.reachablecode.com/2025/07/31/c26-reflections-adventures-compile-time-uml/
6•ibobev•1h ago•0 comments

Quasi-Monte Carlo

https://thenumb.at/QMC/
2•ibobev•1h ago•0 comments

Show HN: InsForge – Open-source agent-native alternative to Supabase

https://github.com/InsForge/InsForge
6•honoyomu•1h ago•0 comments

You Have Too Many Metrics

https://staysaasy.com/management/2025/08/02/metrics.html
2•donutshop•1h ago•0 comments
Open in hackernews

HTML-in-Canvas

https://github.com/WICG/html-in-canvas
64•dannyobrien•2h ago

Comments

tantalor•2h ago
https://html2canvas.hertzen.com/
Waterluvian•2h ago
45kb gzipped is pretty beefy but incredibly small when you consider just what it takes to make this work today. If I understand correctly, it’s basically a DOM and CSS renderer.
kizer•2h ago
There's a bunch of CSS, etc. not supported by that. It would be great to have access to a native API to get bitmaps of the DOM.
masswerk•2h ago
Well, a fingerprinting dream…

Meaning, no way, just for the security aspect.

ttoinou•2h ago
Soon we’re gonna need Canvas rendering inside of HTML-in-Canvas
bastawhiz•1h ago
It should already work if the nested canvas uses the same approach. It's not cyclic, though. To make cyclic canvases work, you need to manually draw the parent canvas to a nested canvas.
hyperhello•2h ago
I see reliable rich text editing as more of a priority.
SeanAnderson•2h ago
I read the title and said "shut the fuck up, don't do that." but then I read the rationale and it's fair. It's true there is no layout engine inside canvas, and that is a pain, but I'm not sure it's such a pain as to invite this recursive hell.
teaearlgraycold•1h ago
You could disallow recursion.
nine_k•1h ago
One of the more senior engineers I worked with told me: "Every real-life data structure I encountered was tree-like".

It would be easiest to just ask the browser to render a fragment of HTML onto a canvas, or onto some invisible bitmap, like you can with most other UI toolkits.

monster_truck•1h ago
They would never do this because of fingerprinting, which is already the cause of most of the reasons we cannot 'just' do a lot of things, unfortunately.

E: And the infamous other half: malware. A bit over a decade ago malware devs started using canvas to do things like hide fragments inside of bitmap data in seemingly harmless ads and then a second script would extract and assemble it to evade detection.

mook•1h ago
Yeah, that's already available in Firefox for chrome/extensions, but not allowed for the web due to fingerprinting and other security risks. For example, rendering an iframe of your bank account…

https://searchfox.org/mozilla-central/rev/f691af5143ebd97034...

bongodongobob•52m ago
> Every real-life data structure I encountered was tree-like

I don't understand what the takeaway is here. Is that surprising? Is it not? What does "real-life" mean?

do_not_redeem•34m ago
> Every real-life data structure I encountered was tree-like

What does this even mean? Is a hash map "tree-like" somehow? Or is a hash map just a toy data structure with no real-life use cases?

UltraSane•8m ago
Nested hash maps are trees
mmastrac•2h ago
https://github.com/WICG/html-in-canvas/blob/main/security-pr...

> TODO: Expand on fingerprinting risks

codelikeawolf•2h ago
I immediately got "Pimp My Ride" vibes. Yo dawg, I heard you like HTML so I put HTML inside the canvas inside the HTML.
BobbyTables2•1h ago
I suppose all we need to do now is to compile a browser into WASM and run that browser inside a canvas element of the main browser…
sangeeth96•1h ago
How about an entire OS with IE? https://copy.sh/v86/?profile=windows2000
socalgal2•37m ago
https://www.chromium.org/blink/blink-in-js/
deadbabe•1h ago
true horror is finding every element of the HTML page your on has been rendered in a Canvas
turnsout•1h ago
Sad to say, but the first thing I thought was "oh good, a new fingerprinting target."
charcircuit•59m ago
This sounds really useful for being able to use standard web technology with webxr.
socalgal2•34m ago
I've never understood why they couldn't have just used the existing 3D CSS for WebXR. All the data is there, all they need to do is render the DOM from 2 POVs, one for each eye. They could even have had some standard to let it auto composite with WebGL.
ha1zum•53m ago
This could have a great utility, but for me HTML in canvas in HTML feels so cursed.

To make it make sense in my opinion canvas should already be a first class format for web browsers, so it doesn't have to be inside a HTML.

Then we would have a choice of HTML-first page with canvas elements in it, or a canvas-first page with HTML elements in it.

But what do I know.

Liron•43m ago
What if you want an HTML-first page with a canvas in it, but then you realize you want some layout/styling for the text within the canvas? Seems unnecessary to propagate that situation up to the type of top-level page.
socalgal2•38m ago
canvas first sites suck. They can't use any system services as it would all be a privacy issue. They can't use the system dictionary for correction since to do so they'd need the contents of the dictionary or at least a way to query user customized corrections. Similarly they can't offer the system level accessibility but end up having to roll their own in which case, every app that uses canvas has a completely different UI.
nemomarx•10m ago
That's basically how flash sites worked, and those were pretty common?
tinalovely101•46m ago
It seems to be impossible with html version.
ivanjermakov•44m ago
RIP accessibility
c-smile•43m ago
From the very beginning in Sciter an Image can be constructed in two ways at runtime ( other than just getting loaded image reference):

1. By painting on it using Canvas/Graphics API:

    new Graphics.Image(width, height, painter(graphics) [,initColor]);  
Where _painter_ is a function used for paining on the image surface using Canvas/Graphics reference.

2. By making snapshot of the existing DOM element:

    new Graphics.Image(width, height, element [,initColor])
Such images can be used in DOM, rendered by other Canvas/Graphics as also in WebGL as textures.

See: https://docs.sciter.com/docs/Graphics/Image#constructor

donatj•39m ago
I feel like this is bound to get kneecapped for the same reason as other canvas features, fingerprinting.
cheeaun•38m ago
Kinda reminds me of Flipboard https://engineering.flipboard.com/2015/02/mobile-web (2015)
talkingtab•25m ago
There is a real problem using canvas to replace HTML.

Not all but most HTML. I have not found a good solution for the issue of doing something like MDX in canvas. I have tried SDF, looked at 2D canvas Text, Troika, MSDF. You can get text, it is just that laying it out is very difficult. React three drei has the ability to put HTML into the threejs ecosystem, but there are issues about CSS and text that make that impractical.

For me the use case is very simple. I would like to take an MDX file and show it in a mesh. Laid out. Maybe I am missing something because I am new to the whole threejs thing, but I really tried.

A good article about text https://css-tricks.com/techniques-for-rendering-text-with-we...

And an example from the above article: https://codesandbox.io/p/sandbox/css-tricks-msdf-text-fks8w

This shows it can be done, I gave up trying to reproduce it in React-three-fiber.

Why? Personally, I think the use of 3D graphics produces an interface for users that is an order or magnitude better for users. The real question (and an interesting one to consider) is why are we still building HTML first websites?

nikeee•14m ago
Is that being made to make Flutter not being like Flash on the web?
sampton•13m ago
Servo + wasm.
reactordev•6m ago
I support this, as odd as it is. There’s times when you’re needing something drawn but can easily reuse an html element from elsewhere. Previously you’d have to render that to a bitmap offscreen and then copy that to a full screen quad or draw it on the canvas. Up until recently, even if you tried to z-index elements with position absolute it would be visually overwritten by the canvas (I think this is mostly fixed though).

I don’t know if this is the best solution but it’s better than previous hacks. IF you need to go that route. Basically html2canvas.