Better HN
topnewbestaskshowjobs
Log inSign up

dector

199 karma · joined Aug 30, 2017 (9y ago) · 25 submissions

Submissions

comment 2mo ago · link · parent

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

comment 8mo ago · link · parent

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!

comment 8mo ago · link · parent

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!

4.

Ask HN: Help me to collect a list of engineers that don't use AI for writing(github.com ↗)

2 points · by dector · 8mo ago · 4 comments

comment 1y ago · link · parent

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

comment 1y ago · link · parent

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.

comment 2y ago · link · parent

My point is that token stays the same all the time instead of changing it over the time even for the same session.

comment 2y ago · link · parent

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. :)

comment 2y ago · link · parent

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

comment 5y ago · link · parent

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!

comment 5y ago · link · parent

> 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.

comment 6y ago · link · parent

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!

comment 6y ago · link · parent

Except that whole project is done side-by-side with Google team that works on Jetpack Compose AFAIK. ;)

comment 6y ago · link · parent

Nothing.

comment 6y ago · link · parent

Accessibility (and testing) in Jetpack Compose is done via [Modifier.semantics](https://developer.android.com/jetpack/compose/testing#semant...).

comment 6y ago · link · parent

Compose is based on Kotlin Compiler Plugin. I'm not sure that you can use it from Scala for now.

comment 6y ago · link · parent

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...)

comment 6y ago · link · parent

Good luck with the project anyway.

comment 6y ago · link · parent

Do you have plans to support non-MacOS platforms in the future?

20.

Kotlin 1.4 Online Event, Day 1: General Overview(youtube.com ↗)

3 points · by dector · 6y ago · discuss

comment 6y ago · link · parent

That's a very good idea! Are you going to monetize your project or (maybe) open-source code and/or data?

comment 6y ago · link · parent

Actually you can self-host it: https://github.com/HabitRPG/habitica

comment 6y ago · link · parent

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.

24.

Routed Gothic Font(webonastick.com ↗)

346 points · by dector · 6y ago · 57 comments