HNHacker News
TopNewBestAskShowJobs

dector

199 karma · joined August 30, 2017

submissionscomments
dector··on GPT-6 Astra on OpenRouter
Btw, they had 3D pelican-on-the-bicycle easter egg in one of the promo videos: https://youtu.be/bOC3DisEOfg?t=117 so I'm pretty sure that they spent some small amount of resources to train the model to produce good svg version as well. :D
dector··on Ask HN: Help me to collect a list of engineers that don't use AI for writing
The request was totally opposite. But I genuinely wondering where is this hostility comes from. :)

If you have suggestions how to improve my initial request to make my intentions more clear - I would love to hear them!

dector··on Help me to collect a list of engineers that don't use AI for writing
Hi HN!

I'm considering myself as quite enthusiastic about integrating "AI" into SWE processes. HOWEVER I'm really tired of reading AI-generated or heavily post-processed blogs.

So I would really appreciate if you can share with me some blogs (mostly about engineering but other topics are fine I guess) where authors declare that they prefer not to use "AI" for writing.

I guess it's fine to use some tools to fix grammar lightly or cherry-pick some suggested improvements. But I __really__ want to "hear" voices and ideas of real people, not from Internet-averaged generative algorithms.

Thank you very much and have a nice day!

dector··on Fedora 42 Beta
Been playing around Bluefin recently [1]. Which is based on Fedora Silverblue [2]. These are atomic OSes which seems very nice and innovative indeed.

I'm Debian user for 15+ years. But stable version is too old and testing for some reasons breaking quite often (last year I wasted more time on fixing Debian Testing after updates than my friend which uses Arch -_-). Now I'm looking for good alternatives and I think I will stick with containers rabbit hole. :)

Thanks @jcastro [3] and contributers for fantastic work! <3

[1]: https://projectbluefin.io/ [2]: https://fedoraproject.org/atomic-desktops/silverblue/ [3]: https://news.ycombinator.com/item?id=38992292

dector··on Why blog if nobody reads it?
I frequently discover useful and/or thought-provoking and/or inspirational information on numerous small indie-dev blogs.

If you are the author of one of these or similar blogs: thank you, and please keep posting.

dector··on The Copenhagen Book: general guideline on implementing auth in web applications
My point is that token stays the same all the time instead of changing it over the time even for the same session.
dector··on The Copenhagen Book: general guideline on implementing auth in web applications
Usually on low-risk projects where I don't want to bother myself with handling token pairs (or where it's impossible) I have similar simplified approach but regenerating token:

- Session token has two timepoints: validUntil and renewableUntil. - If now > validUntil && now < renewableUntil - I'm regenerating session token.

This way user is not logged out periodically but session token is not staying the same for 5 years.

But maybe I'm just overthinking it. :)

dector··on The Copenhagen Book: general guideline on implementing auth in web applications
Would be nice to see alternative documents for similar topics (e.g. something like OWASP Cheatsheet but from more practical point of view).

With all the respect, I'm a bit skeptical about this document for such reasons:

- Name is quite pompous. It's a very good marketing trick: calling some document like if it was written by group of researchers from a Copenhagen university. :)

Yes, Lucia is a relatively popular library but it doesn't mean that it is promoting best practices and that its author should be considered an authority in such important field unless opposite is proven.

- I don't like some aspects of Lucia library design: when user token is almost expired - instead of generating new security token Lucia suggesting just to extend life of existing one. I see it as a very insecure behavior: token lives forever and can be abused forever. This violates one of the security best practices of limited token lifetime.

But both Lucia and "Copenhagen Book" encourages this practice [1]:

``` if time.Now().After(session.expiresAt.Sub(sessionExpiresIn / 2)) { session.ExpiresAt = time.Now().Add( updateSessionExpiration(session.Id, session.ExpiresAt) } ```

[1]: https://thecopenhagenbook.com/sessions#session-lifetime

dector··on Penpot Alpha Release – Free and Open-Source Design Plattform
Thanks! Very promising. Another thing that surprised me is low latency and usability: I signed up, clicked "New Project" and it showed me editor. Like INSTANTLY.

I hope it'll be more or less on the same level later. It feels like magic especially after extremely slow and laggy Figma (seriously, modern 3D games with tons of polygons are working much smoother than web-based tool for drawing colorful rectangles).

Awesome work!

dector··on The mythical “fast” web page
> It's physics, not perception.

I guess both counts. :)

But I agree with you that core problem is that many websites are ACTUALLY slow and bloated.

dector··on TailwindCSS v2.0
It's very obvious (in many different places: landing, documentation, streams) that TailwindCSS is made with love. Thank you for that!

P.S. Trailer is cool!

dector··on JetBrains Compose
Except that whole project is done side-by-side with Google team that works on Jetpack Compose AFAIK. ;)
dector··on JetBrains Compose
Nothing.
dector··on JetBrains Compose
Accessibility (and testing) in Jetpack Compose is done via [Modifier.semantics](https://developer.android.com/jetpack/compose/testing#semant...).
dector··on JetBrains Compose
Compose is based on Kotlin Compiler Plugin. I'm not sure that you can use it from Scala for now.
dector··on JetBrains Compose
This is Desktop interpretation of Google's Jetpack Compose done by JetBrains team.

I guess, for Alpha stage they are not targeting wide audience but mostly people that are familiar with Compose (or wanted to try it).

In most cases you can just copy-paste your Android UI layer or make it cross-platform (like in this code-viewer example https://github.com/JetBrains/compose-jb/tree/master/examples...)

dector··on Blokdots – Build interactive hardware prototypes visually
Good luck with the project anyway.
dector··on Blokdots – Build interactive hardware prototypes visually
Do you have plans to support non-MacOS platforms in the future?
dector··on Ask HN: Favourite blogs?
That's a very good idea! Are you going to monetize your project or (maybe) open-source code and/or data?
dector··on Habitica – A gamified habit-building and productivity app
Actually you can self-host it: https://github.com/HabitRPG/habitica
dector··on Belarus election: Police use live fire on protesters in Brest
You are right. My fault.

I guess I was triggered by amount of users that were registered very recently and that they are broadcasting the same messages as pro-kremlin propaganda does.

Will not do this again. Thanks for letting me know.