frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

A Brain-like LLM to replace Transformers

https://arxiv.org/abs/2509.26507
76•thatxliner•1h ago•17 comments

Democracy and the open internet die in daylight

https://heatherburns.tech/2025/10/22/democracy-and-the-open-internet-die-in-daylight/
71•speckx•1h ago•25 comments

Linux Capabilities Revisited

https://dfir.ch/posts/linux_capabilities/
9•Harvesterify•26m ago•0 comments

MinIO stops distributing free Docker images

https://github.com/minio/minio/issues/21647#issuecomment-3418675115
320•LexSiga•7h ago•190 comments

Die shots of as many CPUs and other interesting chips as possible

https://commons.wikimedia.org/wiki/User:Birdman86
96•uticus•4d ago•16 comments

Chezmoi introduces ban on LLM-generated contributions

https://www.chezmoi.io/developer-guide/
5•singiamtel•1h ago•1 comments

Internet's biggest annoyance: Cookie laws should target browsers, not websites

https://nednex.com/en/the-internets-biggest-annoyance-why-cookie-laws-should-target-browsers-not-...
224•SweetSoftPillow•2h ago•277 comments

Tesla Recalls Almost 13,000 EVs over Risk of Battery Power Loss

https://www.bloomberg.com/news/articles/2025-10-22/tesla-recalls-almost-13-000-evs-over-risk-of-b...
54•zerosizedweasle•1h ago•26 comments

AI assistants misrepresent news content 45% of the time

https://www.bbc.co.uk/mediacentre/2025/new-ebu-research-ai-assistants-news-content
20•sohkamyung•37m ago•8 comments

Go subtleties

https://harrisoncramer.me/15-go-sublteties-you-may-not-already-know/
126•darccio•1w ago•66 comments

Infracost (YC W21) Hiring First Dev Advocate to Shift FinOps Left

https://www.ycombinator.com/companies/infracost/jobs/NzwUQ7c-senior-developer-advocate
1•akh•2h ago

Evaluating the Infinity Cache in AMD Strix Halo

https://chipsandcheese.com/p/evaluating-the-infinity-cache-in
116•zdw•9h ago•46 comments

Show HN: Cadence – A Guitar Theory App

https://cadenceguitar.com/
103•apizon•1w ago•18 comments

Jaguar Land Rover hack cost UK economy an estimated $2.5B

https://www.reuters.com/sustainability/boards-policy-regulation/jaguar-land-rover-hack-cost-uk-ec...
50•giuliomagnifico•1h ago•49 comments

French ex-president Sarkozy begins jail sentence

https://www.bbc.com/news/articles/cvgkm2j0xelo
199•begueradj•8h ago•261 comments

Greg Newby, CEO of Project Gutenberg Literary Archive Foundation, has died

https://www.pgdp.net/wiki/In_Memoriam/gbnewby
272•ron_k•5h ago•47 comments

Knocker, a knock based access control system for your homelab

https://github.com/FarisZR/knocker
40•xlmnxp•5h ago•65 comments

Distributed Ray-Tracing

https://www.4rknova.com//blog/2019/02/24/distributed-raytracing
14•ibobev•5d ago•6 comments

Tiny sugar spoons are popping up on NYC fast-food menus

https://gothamist.com/news/tiny-sugar-spoons-are-popping-up-on-nyc-fast-food-menus-youre-being-wa...
10•nodumbideas•23m ago•2 comments

Starcloud

https://blogs.nvidia.com/blog/starcloud/
89•jonbaer•2h ago•114 comments

Patina: a Rust implementation of UEFI firmware

https://github.com/OpenDevicePartnership/patina
34•hasheddan•1w ago•5 comments

Cigarette-smuggling balloons force closure of Lithuanian airport

https://www.theguardian.com/world/2025/oct/22/cigarette-smuggling-balloons-force-closure-vilnius-...
10•n1b0m•51m ago•0 comments

rlsw – Raylib software OpenGL renderer in less than 5k LOC

https://github.com/raysan5/raylib/blob/master/src/external/rlsw.h
218•fschuett•17h ago•78 comments

LLMs can get "brain rot"

https://llm-brain-rot.github.io/
425•tamnd•23h ago•256 comments

Power over Ethernet (PoE) basics and beyond

https://www.edn.com/poe-basics-and-beyond-what-every-engineer-should-know/
202•voxadam•6d ago•151 comments

Ghostly swamp will-O'-the-wisps may be explained by science

https://www.snexplores.org/article/swamp-gas-methane-will-o-wisp-chemistry
9•WaitWaitWha•1w ago•5 comments

Ask HN: Our AWS account got compromised after their outage

347•kinj28•22h ago•83 comments

NASA chief suggests SpaceX may be booted from moon mission

https://www.cnn.com/2025/10/20/science/nasa-spacex-moon-landing-contract-sean-duffy
365•voxleone•1d ago•965 comments

Evaluating Argon2 adoption and effectiveness in real-world software

https://arxiv.org/abs/2504.17121
22•pregnenolone•1w ago•10 comments

The Stagnant Order. and the End of Rising Powers

https://www.foreignaffairs.com/united-states/stagnant-order-michael-beckley
17•csomar•1h ago•2 comments
Open in hackernews

Drawing Text Isn't Simple: Benchmarking Console vs. Graphical Rendering

https://cv.co.hu/csabi/drawing-text-performance-graphical-vs-console.html
10•todsacerdoti•1w ago

Comments

time4tea•9h ago
Quite conventional - its how FreeType works.

Computing a bitmap for a glyph is expensive because of all the splines and whatnot.

https://freetype.org/freetype2/docs/tutorial/step1.html#sect...

laserbeam•9h ago
You really do need units in your tables. It is not very obvious you are talking about FPS in them… or is it milliseconds or microseconds. The only place a unit of measurement is actually mentioned (FPS) is the window title of a screenshot.
rrgok•5h ago
I agree.
evolighting•8h ago
This blog page feels laggy in Firefox, but it works fine in Chrome.

The floating menu with the frosted glass effect seems to be causing the problem, remove that div in F12, fix it. What’s the reason behind this?

louisbourgault•8h ago
Thanks for that! I was finding it painful as well
unwind•5h ago
Agree, it was kind of comical that a web page complaining about text rendering performance uses some kind of design that a) only has relevant content on ~half the screen and b) causes me to have to wait every time I move the scroll wheel. :|
fainpul•4h ago
It's specifically this:

  backdrop-filter: blur(6px);
aappleby•8h ago
The "right way" to do this on the GPU if you're using a monospaced console font is to have a glyph atlas, a persistently mapped text buffer, a persistently mapped attribute buffer, and then draw a single triangle that covers the viewport and do absolutely everything else (text map lookup, attribute lookup, glyph atlas lookup, blending/compositing) in the pixel shader.

You should be able to hit 1000 fps with most modern GPUs, and the code is fairly simple after youve got the buffers and shaders set up.

dcrazy•8h ago
Fullscreen tri is not necessarily the way. If the GPU has significant penalties for rejecting fragments, or your text is sparse, you should probably use form-fitting quads or polys.

Also, monospace (and implicitly, Latin) is doing a huge amount of lifting in your comment.

aappleby•8h ago
Of course, the example in the article is all monospaced console stuff. I've written a lot of text rendering over the years, everything from tiny bitmap for microcontrollers to analytically-antialiased true type based on code from some paper by Charles Loop years ago.

If GPU is cheap and CPU is expensive, draw one tri every frame and don't worry about the rest. If CPU is cheap and GPU is expensive, do a glyph per quad and some basic dirty rectangles if needed.

bschwindHN•7h ago
Essentially as it's described here, right?

https://www.youtube.com/watch?v=lStYLF6Us_Q&t=1472s

Casey refers to it as "backwards" rendering - starting from the pixel location and determining what should be drawn there, vs. "forward" rendering where you have things you want to draw, and you determine which pixels they will be drawn in.

Terr_•5h ago
> Casey refers to it as "backwards" rendering

Sounds much like "backwards" raytracing in 3D, except with some special rules for an orthographic projection.

I know that "except with" makes it sound like a narrow refinement, but I suppose the history of computer display hardware likely has it the other way around.

afishhh•8h ago
> Drawing text isn't simple

I agree, but even this article seems to oversimplify.

> You can't really optimize texture copies much more.

Did the author try packing the textures in an atlas?

Texture atlases can improve performance significantly since then you can use instanced draw calls to draw a whole bunch of glyphs at once.

dcrazy•8h ago
FWIW you cannot have Unicode-correct rendering by caching at the codepoint (what many people would call “character”) level. You can cache bitmaps for the individual “glyphs”—that is, items in the font’s `glyf` table. But your shaping engine still needs to choose the correct “glyphs” to assemble into the extended grapheme clusters dictated by your Unicode-aware layout engine.
afishhh•7h ago
Exactly why I referred to drawing glyphs instead of characters :)

There's even more depth one can go into here: subpixel positioning. To correctly draw glyphs that may be on subpixel positions, you need to rasterize and cache glyphs separately for each subpixel position (with some limited amount of precision, to balance cache usefulness and accuracy).

However I have a feeling that describing an entire Unicode-aware text stack here may not be useful, especially if TFA seems to only care about simple-script monospace LTR.

dcrazy•6h ago
Nowadays people expect their terminals to handle UTF-8, or at least the Latin-like subset of Unicode, without dealing with arcana such as codepages. For even the simplest fonts, rendering something like í likely requires drawing multiple glyphs: one for the dotless lowercase I stem, and one for the acute accent. It so happens that dotless lowercase I maps to a codepoint, but it is not generally true that a single extended grapheme cluster can be broken down into constituent codepoints. So even “simple” console output is nowadays complected by the details of Unicode-aware text rendering.
zokier•7h ago
There are like at least half dozen open source terminal emulators that have decent performance text rendering if you want to look into how it is really done. It is not simple, but at this point I feel it is a largely solved problem.
gschizas•5h ago
I feel that there might be a bigger difference by using Console Host vs Windows Terminal. Windows Terminal IIRC is GPU accelerated.

EDIT: The screenshot sure looks like Console Host.