Better HN
topnewbestaskshowjobs
Log inSign up

divan

2,855 karma · joined Oct 30, 2014 (12y ago) · 901 submissions

https://divan.dev
Submissions

comment 7m ago · link · parent

> I think Javascript is so awful, and until recently so prevalent in the roles available to me, that it made me want to not be a Software Engineer anymore.

Thank you for sharing that. I was lucky to be able to get rid of all JS in our codebases and continue building products I love, but I share that sentiment 100%. It was really painful to see over past two decades how Javascript (and HTML/CSS to that matter) has been eating up market share.

comment 4d ago · link · parent

Why not 512GB SD card? (honest question. I'm shooting with two CF Type A 512GB cards, and have 512GB SD card as a backup to offload stuff if I'm not in reach to my SSD drives. Seeing this complicated setup for... 500GB looks a bit strange to me.)

comment 1mo ago · link · parent

it took me a while to figure out how to skip that intro...

comment 1mo ago · link · parent

There was a great post on this subject by Tim Urban: https://waitbutwhy.com/2015/03/7-3-billion-people-one-buildi...

comment 2mo ago · link · parent

It's more like 27" screen. Most people (including me) don't see one of the edges clearly (it gets too far into periphery). Like 5% of the right and bottom edge can be hard to see without moving. With 3DoF you would be able to just move your head, but without there 2 options: - somehow push glasses closer to the eyes (some reported that they replaced nose pads for that) - just accept it (my case - I just make terminal screen slightly smaller in height from the full height, and it's fine)

Again, the screen is fantastic. Even overkill for text-related stuff (reading, coding, terminal, etc). It's FullHD HDR 10-bit OLED. I do edit videos Davinci with these glasses. They target it for gaming and movies.

comment 2mo ago · link · parent

Yeah, seems like RayNeo GT Max have proper 3DoF tracking. Shoot, now I need these :)

comment 2mo ago · link · parent

I work with Rayneo Air 4 Pro - they have HDR/120fps displays (image quality is top-notch and they're bright enought to work even with direct sunlight). They don't have battery or software, it's plug-in-play USB-C external screen essentially. It's more than enough for travel, or for sitting straight while working cafe, for privacy reasons or working outdoors. I even tried them while walking in the forest (with laptop in the backpack and using voice input).

Drawback - they don't do 3DoF tracking, so the screen just follows where you're looking, you can't change screen size, and no multimonitor setup. They have IMU sensors, though. It's possible to create your own virutal monitor software (or use someone's else like RealWarp), but IMU drift is hard to beat and experience is far from perfect. So I stick with 'just one high-quality screen' for now, and to be honest it was some quality-of-life improvement for me.

PS. Couple of weeks ago there was new release from RayNeo, which supposedly have 3DoF and same quality. Haven't tried those.

comment 2mo ago · link · parent

I installed iOS 27 yesterday and first thing went to try new Siri. My settings for Siri responses was set to 'Auto' and it wasn't responding with a voice. So the first chat with a new Siri went like this (tried first example):

   Me:   - Hey, what's the sunrise time tomorrow?
   Siri: - (showing me popup with sunrise info)
   Me:   - Can you respond with a voice?
   Siri: - To whom?
   Me: - To me..
   Siri: - Here are the contacts I found in your contact list.
   Me: - No, I mean can you give me the answer using voice?
   Siri: - Here are some results I found on the web...

comment 2mo ago · link · parent

My 2 cents on this question – it's easier to learn the follower part: you get some basics and then go to social dances events and practice with a good leaders. But to learn the leader part you can't just go to dance events and practice with good followers. It takes more deliberate practice in classes to get the leading part.

comment 3mo ago · link · parent

You can also put it in ~/.claude/settings.json:

   "permissions": {
    "defaultMode": "bypassPermissions"
   },

comment 3mo ago · link · parent

Yup. I just made this mode default via settings.

comment 3mo ago · link · parent

There seems to be 2 locations created for Tallinn on meet.hn:

https://meet.hn/city/59.4372155,24.7453688/Tallinn (7 people)

https://meet.hn/city/59.4372420,24.7572693/Tallinn (1 person)

comment 4mo ago · link · parent

Sure, you could've heard about it outside of that space. Yet, most likely, you have not.

It just feels wrong when HN commenters downvote comments that try to clear up legitimate confusion.

comment 4mo ago · link · parent

why is this downvoted? for people who aren't in audio codec dev space, parent comment reads exactly as 'Opus 4.8 rewrote the codec and blew out all competitors'

comment 4mo ago · link · parent

Yes, Discourse and Flarum have been a breath of fresh air. Something was unsettling with Discourse to me though - it had an opinionated UI, and some design choices that made it feel different from traditional (-BB type) forums. It seems to be a great fit for technical communities, but not for others (taking my own words with a grain of salt here).

comment 4mo ago · link · parent

The word 'crappy' stood out to me. I feel the same sentiment about bringing back forums, but as a person who maintained few of those for many years, I always wanted explicitly non-crappy forums.

In fact, I attribute much of the decline of forums to the fact that they were crappy and hard to maintain. Those PHP/Ruby monstrousities, with plugin system that was a security and maintaiability nightmare, made maintaining a forum quite a challenging task. I have some forums died purely because it was impossible to update them anymore without blowing up half of the functionality.

Bring back non-crappy forums!

comment 4mo ago · link · parent

> if we wanted a good UI/UX framework we'd have to start from typesetting

I think UI framework begins with a model of how composition, layout, rendering, input/focus and state works. Typesetting subsystem should be built on top of that.

And that's exactly the problem with this kind of post-rationalization of HTML legacy - it's a wonderful mechanism for what it was created for, but decades of attempts to add and repurpose all those missing foundational blocks for app development leads to the twenty layers of hacks on top of hacks.

comment 4mo ago · link · parent

Electron is not a novel approach or "technology" of achieving cross-platform UI. It's literally a Chromium browser plus a Node.js runtime, using web-stack to impersonate desktop application. None of these tools have been designed to solve UI pain points.

Closest thing to what you're describing is Flutter, which is a UI framework designed from ground up for modern UI app needs, without delegating much to OS level.

comment 4mo ago · link · parent

> Native UI frameworks don't bother fixing the real hard problems

I'm genuinely curious what do you mean by that.

My beef with web stack was exactly this - typesetting engine from 80s has been never designed for modern UI/UX needs, and it cannot adequately provide those. Whenever I interact with web apps, I experience so many glitches, weird interaction issues (especially if there is a zoom/selection/scrool involved), that I don't even pay attention to them anymore - it's a norm. It's a norm on web to 'just refresh page' (which is equivalent to 'restart native app') - we do it all the time, because absolute majority of web apps is just crap that requires extremely advanced team of web developers to make it a 'baseline' native-like experience level of quality.

comment 4mo ago · link · parent

> still dont understand Electron is vastly superior technology

in what sense crossplatoform desktop-wrapper around typesetting engine is a 'vastly superior technology' to native UI frameworks?

comment 5mo ago · link · parent

This. It's nuts how the whole industry accepts that typesetting engine from 80s with bunch of hacks on top is currently dominating cross-platform UI development.

comment 5mo ago · link · parent

As someone who passionately and ardiently hates prolifiration of this set of _hacks on top of hacks_ called CSS (and CSS/JS/HTML aka Web-stack), I must say this is good and valid use case for CSS. :)

comment 5mo ago · link · parent

To be fair FIFA is one of the best international federations in terms of good governance. Dutch sport think-tank Play The Game has an assestment methodology and the project called "Sports Governance Observer" and did asses FIFA in 2018 [1]

FIFA gets disproportionate amount of attention and, ofc, high-level corruption scandals, but I would say it's more like a by-product of the sheer scale of the football, and not a problem with FIFA itself. I believe most sports federations in the world are very far from FIFA in terms of governance, but also from facing problems that FIFA has.

[1] https://www.playthegame.org/publications/sports-governance-o...

comment 6mo ago · link · parent

This method of animated QR data transfer is quite efficient with fountain codes. I had PoC implementation back in the day - Txqr [1] [2]

[1] https://divan.dev/posts/animatedqr/

[2] https://divan.dev/posts/fountaincodes/

Recently I rewrote it in Dart/Flutter and finally implemented RaptorQ codes (way more efficient than Luby used in original Txqr). Testing it internally now, prepareing Appstores/GooglePlay/Web deployment and new article.

25.

What's New in Flutter 3.44(blog.flutter.dev ↗)

2 points · by divan · 6mo ago · discuss

comment 6mo ago · link · parent

There is definitely some body of research around what I'm asking [1] [2]. Just curious if someone have a good grasp on the current state of it.

[1] https://openaccess.thecvf.com/content/CVPR2025/papers/Wu_Sin...

[2] https://arxiv.org/abs/2409.04196

comment 6mo ago · link · parent

And how did you style it like Anthropic design system? :D
12345
31