lorefnon

joined 1 year ago
[–] lorefnon@programming.dev 1 points 1 year ago

I like jooq, but after using it in a few projects, I now personally feel an Entity centric approach where you control domain objects rather than have them generated fits in better in the java/kotlin ecosystem where sooner or later you'll also need to add other annotations to the entities for jackson/spqr/microprofile-graphql etc.

Doing this with jooq is possible (given support for custom projections etc.) but it requires significantly more boilerplate as jooq is first and foremost a db-first library.

Having first class support for association loading etc. is also quite helpful esp. for crud-heavy applications as opposed to the jooq approach of staying closer to sql without abstractions. ymmv of course.

[–] lorefnon@programming.dev 2 points 1 year ago

Lounge looks pretty cool

[–] lorefnon@programming.dev 0 points 1 year ago

Tyson is nice - esp. if you are already using TS/JS.

https://github.com/jetpack-io/tyson

4
submitted 1 year ago* (last edited 1 year ago) by lorefnon@programming.dev to c/meta@programming.dev
 

I am unable to subscribe to RSS feeds for programming.dev from a yarr instance hosted on an AWS EC2 instance (ap-south-1).

This issue seems specific to programming.dev. I can access RSS feeds for other lemmy instances without any issues.

I can access the feeds from browser, but when I try to fetch it on AWS I get a 403 error. Curious if this is done intentionally.

$ wget https://programming.dev/feeds/c/programming.xml?sort=Active
--2023-07-17 18:27:15--  https://programming.dev/feeds/c/programming.xml?sort=Active
Resolving programming.dev (programming.dev)... 172.67.137.159, 104.21.73.21, 2606:4700:3031::ac43:899f, ...
Connecting to programming.dev (programming.dev)|172.67.137.159|:443... connected.
HTTP request sent, awaiting response... 403 Forbidden
2023-07-17 18:27:15 ERROR 403: Forbidden.
[–] lorefnon@programming.dev 2 points 1 year ago

Vim has a rich ecosystem of plugins like easymotion which allow you to jump directly to different parts of the current file with minimal keystrokes. There are vscode extensions like Jumpy and Acejump which provide a similar keyboard-driven cursor jumping support for vscode.

I highly recommend trying out one of these if you haven't already. Once you get habituated to easymotion, you wonder how you survived without this so long.

[–] lorefnon@programming.dev 2 points 1 year ago

I like it. The docs are a bit scattered and I haven't switched to it completely, but it has proven to be very handy for some scenarios where I scrape some content from external sources and pull them into a local sqlite as a long term structured archive.

[–] lorefnon@programming.dev 1 points 1 year ago

I don't use it right now, but two years ago I helped a team incrementally adopt Kotlin in a ten year old java/spring/mybatis codebase. We didn't have any android experience and in the initial few months mostly used kotlin as a better java, avoiding features that would prevent us from switching back to java if needed.

But it worked pretty well - we didn't face much resistence from people experienced with java because they could still continue to benefit from their jvm familiarity, and the language was approachable to new folks who joined us. It also helped that we could just copy paste java code into a .kt file and intellij would convert it to kotlin.

We didn't venture into kotlin's js/native targets but for jvm it worked out great for us.

[–] lorefnon@programming.dev 2 points 1 year ago (2 children)

I also have been using httpie for a few years - it is really great.

Recently I have started using nushell which has a similar module builtin: https://www.nushell.sh/commands/docs/http_get.html Combined with rest of the nicities in nushell its a pretty good cli experience.