HNHacker News
TopNewBestAskShowJobs

jansommer

556 karma · joined July 16, 2020

https://ja.nsommer.dk
submissionscomments
jansommer··on Apple previews Live Speech, Personal Voice, and more new accessibility features
Doesn't seem to be possible on Android either unfortunately. One might be able to do it by writing a custom dialer - scope creep x100.
jansommer··on User stories? thanks but no
I thought Hacker News was where I could bring my user story jokes :(
jansommer··on User stories? thanks but no
As a developer, I've always thought user stories were kind of odd: "As a user, i would like to..." But no one writes like that, its user story jargon. Like writing tasks have been formalized in a way where you put yourself in the shoes of the person affected by the change, writing as if you were that person, yet it's (kind of) an order. Not very informal the way the article says they were meant to be.
jansommer··on Apple previews Live Speech, Personal Voice, and more new accessibility features
A voice changer for unknown or blocked caller id's is actually a great idea. Just looked in F-Droid and the Play Store, where there seems to be no such app. Preventing callers from sampling my voice is a concern I did not know I have.
jansommer··on Lightweight SQLite Editor for Windows
No, win10
jansommer··on Lightweight SQLite Editor for Windows
dataflow: That is indeed a nice looking combobox in your new screenshot. I'm not getting that result on win10 when using the Win32 c api, and if you're not using something like WinForms, MFC or another abstraction, it's hard to say why it works for you. I'm on a 4k resolution with 200% scaling and the button is way too thin.
jansommer··on Lightweight SQLite Editor for Windows
oblio: Have you seen the other comments for this post? There's plenty of people who think the default win32 gui is awesome.
jansommer··on Lightweight SQLite Editor for Windows
binjooou: The whole point for me when using win32 is to use the default look, since it's a better ui compared to todays flat design. But I acknowledge that there could be a little less dpi work associated with enabling visual styles.
jansommer··on Lightweight SQLite Editor for Windows
That is not the default Win32 combobox. I don't know what you're using, but it's not the plain c api.
jansommer··on Lightweight SQLite Editor for Windows
I don't know why you assume I'm here to give you helpful answers, but I'll bite.

Try a combo box on high dpi. The arrow button gets a lot thinner than on 96 dpi.

jansommer··on Lightweight SQLite Editor for Windows
I think you should try a plain win32 program on a high dpi and just see for yourself.
jansommer··on Lightweight SQLite Editor for Windows
Nope, you get the pleasure of implementing dpi support yourself.

https://building.enlyze.com/posts/writing-win32-apps-like-it...

jansommer··on Lightweight SQLite Editor for Windows
Use ChatGPT! It's night and day for Win32 dev in my experience, and the code it produces is really good.

One thing to note before going into Win32: You're going to have a pixelated, upscaled ui if you don't take care of high dpi support yourself, and that involves patching system controls. So prepare yourself for lots of dpi-work if that's a concern. (One thing I've been experimenting with is superclassing the system controls and "overwriting" the original by registering a superclass of eg. the edit control as simply "edit". This makes other system controls, like the combobox, use your dpi scaled/custom version).

jansommer··on De-Stressing Booking.com (2019)
I think this is a great example of how easy it is to change a ui in the browser, and something I think we take for granted now. Take any other tech and it'll be hard, potentially impossible.

Something that concerns me is that we end up with Flutter(-like) websites, on a canvas using wasm. No cool stuff like this would exist, no way to escape the ads, and eye strain from websites that Dark Reader can't change. I wouldn't be surprised seeing "dark mode" as an added benefit to a subscription one day.

(Yes, Flutter has html too. But if I tell my boss that it's because of my ideology for the web, that pixel's are a bit off, and performance is degraded, I might as well look for another job.)

jansommer··on Building a Database in the 2020s (2022)
neon.tech
jansommer··on How to start a React Project in 2023
Yes, the rx in rxjs means Reactive Extensions. I think it's perfect for UI dev, but the steep learning curve excludes a lot of developers.

Signals look identical to React hooks.

jansommer··on OpenAI CEO 'feels awful' about ChatGPT leaking conversations
This seems to be a common misconception. You do not need a role for every user. You can assign session variables, at least in Postgres, and use them in your policies.
jansommer··on OpenAI CEO 'feels awful' about ChatGPT leaking conversations
No it doesn't. No need for 1:1 db user mapping.
jansommer··on How to start a React Project in 2023
Another problem I've seen is that the default data binding being taught to new comers is slow. At least slow enough for a team I was on to later have switched to an approach (called OnPush) where you must manually tell the UI when to update with calls to detectChanges() all over the place. The way to avoid that is to fully embrace Reactice Extensions, but that seems to be very hard to grasp for a lot of developers that instead work around the library in all sorts of quirky ways (subscription()'s everywhere, that you must remember to dispose, that calls detectChanges()....).

Edit: Found this old GitHub issue I stumpled upon when looking up why this performance improvement wasn't the default.. I think these comments are interesting:

> Both OnPush and zone coalescing would, however, change the default semantics of building Angular apps. This is outside the scope of the feature.

> We did discuss this a couple of months ago and felt that we shouldn’t since it would complicate things for new user which are not familiar with change detection.

https://github.com/angular/angular-cli/issues/21278

jansommer··on Curl 8.0.1
Comment section reminds me of those for VLC. No clue why people complain about free stuff no one forces them to use. Like, just pay someone to implement DNSSEC if you really need that in curl, or write it yourself.
jansommer··on Sabre/dav: open-source CardDAV, CalDAV and WebDAV server
I wonder if the name 'Sabre' is a reference to The Office. Made me think of this song: https://m.youtube.com/watch?v=iCEohYELD30
jansommer··on Ask HN: Who wants a LED that blinks every time a new HN article is posted?
Make it blink like insane when a particular url pattern is posted. A link to your blog for instance.
jansommer··on Things that improved between Elasticsearch 1 and 7
I've installed Solr in a 3x5xcluster setup (3 data centers, 5 instances on each) called CDCR/cross data center replication. Has been working flawlessly for years.

But definitely go for Postgres FTS for simplicity as long as you can.

jansommer··on Pipe Operator (|>) For JavaScript
Certainly looking forward to the pipe operator - if it ever lands! It doesn't seem like it's moved to the next stage recently in the commit history, and it's been discussed for ages now.
jansommer··on Stop Building on Corporate-Controlled Languages
Install those languages in a VM if you're concerned about things they phone home about. Not sure if the metrics being sent is the biggest problem unless you're super paranoid about intellectual property theft.
jansommer··on Alpine.js
I agree. Though as others have said, JSX is indeed a DSL, but the type checking is unmatched. Other DSL's feel old school in comparison.
jansommer··on Ask HN: Strategies for working with engineers that are too smart?
One of the things I like about hierarchies is that such disputes should be handled by someone higher up with coding expertise. Someone or a team who can weigh in things like long term maintenance and cost. Perhaps there are similar issues elsewhere that the proposed solution, or an alternative, could solve. There's a need for someone higher up the chain, if developers can just add disputed complexity.

I see architects as the people to go to under such circumstances. They were not always interested in small things like whitespace, but I think they should take it seriously if it's brought up.

jansommer··on State of OpenID Connect Providers
* 50,000 monthly active users
jansommer··on State of OpenID Connect Providers
Azure AD is 6$/mo per Premium P1 user as far as I know, but I think yrro is talking about Azure AD B2C and that's free up until something like 200,000 monthly active users (not affiliated with Azure but their calculator is my start page)
jansommer··on Supabase Wrappers: A framework for building Postgres foreign data wrappers
I'm eager to start using foreign data wrappers in PG, but there are close to zero benchmarks. Is my database going to break when transactions start piling up because an API I'm using is slow? Will my TPS drop significantly due to longer transactions? In other words, what am I paying for all this good stuff?
← PreviousPage 4 of 7Next →