frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Can your terminal do emojis? How big?

https://dgl.cx/2025/06/can-your-terminal-do-emojis
15•dgl•2h ago

Comments

b0a04gl•1h ago
emoji width bugs mostly come down to how terminals interpret Unicode's "grapheme clusters" vs "codepoints" vs "display cells". emoji isn't one codepoint - it's often multiple joined by zero-width joiners, variation selectors, skin tone modifiers. so the terminal asks wcwidth(), gets 1 or 2, but the actual glyph might render wider or combine into a single shape.

some emoji even change width depending on font. family emoji is like 7 codepoints, shows up as one glyph. most terminals don't track that. they just count codepoints and pray.

unless terminal is using a grapheme-aware renderer and syncs with the font's shaping engine (like freetype or coretext), it'll always guess wrong. wezterm and kitty kinda parse it right often

crackalamoo•46m ago
Yeah, unfortunately I feel like despite all the advances in Unicode tech, my modern terminal (MacOS) still bugs out badly with emojis and certain special characters.

I'm not sure how/when codepoints matter for wcwidth: my terminal handles many characters with more than one codepoint in UTF-8, like é and even Arabic characters, just fine.

mmastrac•37m ago
I'd be happy if we could get terminals to agree on how wide the warning triangle emoji renders. The emoji are certainly useful for scripts, but often widths are such a crapshoot. I cannot add width detection to every bash script I write for every emoji I want to use.

If only there was a standards body that could perhaps spec how these work in terminals.

charcircuit•23m ago
You could ship a terminal with your script. This is how apps like Slack deal with inconsistent handling of standardized content by shipping an embedded chromium.

Sprite – 2D scene graph for rendering and animation (go lang)

https://pkg.go.dev/golang.org/x/mobile/exp/sprite
1•selvan•1m ago•0 comments

Lifetime Dispersion and Generational GC: An Intellectual Abstract

https://dl.acm.org/doi/10.1145/3735950.3735958
1•matt_d•3m ago•0 comments

Interactive visualization of billions of galaxies from Vera C. Rubin Observatory

https://skyviewer.app/explorer
1•proc0•17m ago•0 comments

Interview with Taika Waititi on making kiwi film 'Boy' [video]

https://www.youtube.com/watch?v=-EsmSgG_NZI
1•keepamovin•25m ago•0 comments

OpenCode

https://opencode.ai/
1•handfuloflight•28m ago•0 comments

Building Ramps to Extend Corgispace

https://blog.vbuckenham.com/building-ramps-to-extend-corgispace-2/
1•tobr•32m ago•0 comments

Format for 200x faster VM disk snapshots

https://cognition.ai/blog/blockdiff
1•suryao•36m ago•0 comments

Good Morning

1•emeriezaiya•37m ago•0 comments

Skip the Design Patterns Architecting with Nouns and Verbs [video]

https://www.youtube.com/watch?v=v-N6r8lcsNc
2•todsacerdoti•40m ago•0 comments

Show HN: A2A Xkcd Agent as per the Spec

https://github.com/hemanth/A2A-XKCD
1•init0•44m ago•0 comments

Batch Inference, Type Systems, and Why Cortex Aisql Got Me Excited

https://kostasp.net/batch-inference-type-systems-and-why-cortex-aisql-got-me-excited/
1•cpard•47m ago•0 comments

Appeals court grants Donald Trump broad powers to deploy troops to US cities

https://theconversation.com/appeals-court-ruling-grants-donald-trump-broad-powers-to-deploy-troops-to-american-cities-258894
2•rstuart4133•50m ago•1 comments

Free tool to audit how AI search engines rank your website

https://www.propensia.ai/
2•LargePanda•53m ago•1 comments

Silkroad Interactive Map

https://en.unesco.org/silkroad/silkroad-interactive-map
2•thunderbong•59m ago•0 comments

Wiley and IEEE Collaborate with Zendy to Drive Ethical AI Through RAG Model

https://zendy.io/blog/wiley-ieee-join-zendys-rag-based-model-as-momentum-builds-among-publishers
1•EmadGinawi•59m ago•1 comments

I vibe coded hypeflo.ws in a few hours

https://pedramnavid.com/blog/llm-workflow-site-build/
2•pinkbeanz•1h ago•0 comments

Perspectiua Corporum Regularium (1568)

https://archive.org/details/gri_33125012889602
1•bulmenisaurus•1h ago•0 comments

Ask HN: How is a company like Astral viable, financially?

3•ashwinsundar•1h ago•0 comments

Open source Ethernet switch – part 2

https://serd.es/2025/06/23/Switch-project-pt2.html
1•purpleidea•1h ago•1 comments

ProPublica's Investigation of the FDA's Gamble on Generic Drugs

https://www.propublica.org/article/fda-drug-safety-foreign-manufacturers-takeaways
3•caser•1h ago•0 comments

Easy to extract key YouTube information. Share or download

4•laughing_me•1h ago•0 comments

Human Cell Atlas

https://www.humancellatlas.org/
2•d_silin•1h ago•0 comments

FringeWare Review

https://archive.org/search?query=creator%3A%22FringeWare%2C+Inc.%22
2•Duanemclemore•1h ago•1 comments

Open Source Service Router Operating System (SR OS)

https://www.nokia.com/ip-networks/service-router-operating-system-nos/
3•teleforce•1h ago•0 comments

LinkedIn is become another social Media, Try Peerlist- A modern LinkedIn

https://peerlist.io/mdanassaif/signup
2•M0HD197•1h ago•0 comments

Accumulation of Cognitive Debt When Using an AI Assistant for Essay Writing Task

https://www.media.mit.edu/publications/your-brain-on-chatgpt/
2•tamersalama•1h ago•0 comments

A New Kind of Computer (April 2025)

https://lightmatter.co/blog/a-new-kind-of-computer/
2•gkolli•1h ago•0 comments

Short vs. Long Workouts

https://www.gq.com/story/short-vs-long-workouts
2•dcu•1h ago•0 comments

The Japanese student dorm that governs itself (2023)

https://theface.com/culture/inside-kyotos-radical-self-governed-student-accommodation-yoshida-dorm-japan-students-photography
3•miles•1h ago•0 comments

Show HN: Platform Agnostic Agent for Job Applications

https://twitter.com/restocc/status/1937347623155077129
2•korbinschulz•1h ago•0 comments