[-] somegeek@programming.dev 1 points 3 hours ago

So we all become labor workers and let AI companies become richer and richer while we are the slaves and peasants?

[-] somegeek@programming.dev 3 points 3 hours ago

Vlc android is amazing. I think it can be used somehow.

[-] somegeek@programming.dev 1 points 3 days ago

Where me-me?

[-] somegeek@programming.dev 9 points 3 days ago* (last edited 3 days ago)

Comp sci and software engineering are 70% the same, the difference is CS is more math and theory oriented, software engineering is hogher level and more about methodologies, software architecture, systems design.

(Consider any other science discipline vs. Engineering discipline)

[-] somegeek@programming.dev 3 points 4 days ago

Hahaha. It's actually my favorite workout implement, right after Persian meels(dumbells)

2

This is my bulgarian bag. I feel like the handles won't last that long like this. Will wrapping duct tape or something around them increase their lifespan? Any other tips?

[-] somegeek@programming.dev 6 points 4 days ago

I'm a software engineer so I search quite a lot.

99% of my search is on duckduckgo and it provides me the best answers. Even if I'm using someone else's device to show them something for example, and their default search engine is google, I will switch to ddg because it genuinely provides better answers.

[-] somegeek@programming.dev 1 points 6 days ago* (last edited 6 days ago)

Emacs has basically everything. If you are willing to set it up.

Like I said, my suggestion is to not get hung up on the live preview feature and use an external tool for that. This way you can decouple your editor from that specific functionality you need.

[-] somegeek@programming.dev 1 points 6 days ago

Good to hear that.

I'm also approaching it with a sort of zero trust security model. Everything, in and out is validated and sanitized. Especially Html injection and XSS.

[-] somegeek@programming.dev 4 points 6 days ago

if hosting on a VPS counts:

  • radicale (DAV)
  • Gitea/Forgejo
  • My websites
[-] somegeek@programming.dev 7 points 6 days ago

Selfhosting porn is the most neckbeard gooner thing I've heard of :))

[-] somegeek@programming.dev 8 points 6 days ago* (last edited 6 days ago)

People here gave great suggestions!

  • simple graphical: Kate
  • powerful but complicated graphical: Emacs
  • simple terminal: Helix
  • Powerful but complicated terminal: Neovim
  • (honorable mention) graphical: Geany

Live HTML previews isn't a dealbreaker feature. Use external tools like https://github.com/Abenezer-Daniel-1/live-html

So now this requirement is decoupled from your editor.

[-] somegeek@programming.dev 1 points 6 days ago

Hypermedia APIs (i.e. HTML) are specific to the layout of your application, so there is almost never any reason you’d want to insert someone else’s HTML into your page. All you have to do is make sure you only call your own routes (htmx 2 will actually disable calling other domains by default).

Although I do control the routes, its seems like it's not common. One way is a reverse proxy so the component server is forwarded on /components path on the client. So the client can still call relative routs.

6

cross-posted from: https://programming.dev/post/54211132

Hi people. I'm creating a system using HTMX
It's a server using clj-kit, which renders "components" using hiccup and HTMX based on the requests.
A component generator basically. But it also has some JSON APIs which return pure data.

The details don't matter. It just exposes REST APIs, user calls REST API with their own custom params and get their custom component.

The goal is so this can be used for progressive rewrite and enhancement of legacy systems, and the components to be usable in multiple systems, reducing work.
In order for the user of the system to be able to use these components, they should also add HTMX to their client, and call the service. for example

<div hx-get="https://component.service/componentx?data-url=https%3A%2F%2Fdata.source%2Fdata" hx-trigger="load">

This is the architecture I thought of. Is this ok? This HTMX article on security says it's not ok to call HTMX with external sources. So what is the best way you suggest to create such system?

I'm halfway through it already, but I would like to hear what others have to say and your suggestions. Maybe HTMX isn't the right choice at all? I felt like it is.

Thank you.

4

Hi people. I'm creating a system using HTMX
It's a server using clj-kit, which renders "components" using hiccup and HTMX based on the requests.
A component generator basically. But it also has some JSON APIs which return pure data.

The details don't matter. It just exposes REST APIs, user calls REST API with their own custom params and get their custom component.

The goal is so this can be used for progressive rewrite and enhancement of legacy systems, and the components to be usable in multiple systems, reducing work.
In order for the user of the system to be able to use these components, they should also add HTMX to their client, and call the service. for example

<div hx-get="https://component.service/componentx?data-url=https%3A%2F%2Fdata.source%2Fdata" hx-trigger="load">

This is the architecture I thought of. Is this ok? This HTMX article on security says it's not ok to call HTMX with external sources. So what is the best way you suggest to create such system?

I'm halfway through it already, but I would like to hear what others have to say and your suggestions. Maybe HTMX isn't the right choice at all? I felt like it is.

Thank you.

2

cross-posted from: https://programming.dev/post/54023908

Hi!

I've never read any of Uncle Bob's books. But I have taken interest in "Clean Architecture" as it seems like a good solution to make mid to large sized projects simple to understand and maintain.

I think MVC gets too much coupling and fails at larger projects, same with n-tier. But I'm not sure about anything right now (software design is a very complicated problem after all).

So I was wondering if you friends who have used Clean Architecture in production can share your knowledge and experience with me about this design?

Is it actually good and worth investing in?

Footnote:

I'm especially weighing this architecture because Uncle Bob's writings are really hit and miss. I don't see him as a master or guru so I take everything he says with a grain of salt.

2

cross-posted from: https://programming.dev/post/54023908

Hi!

I've never read any of Uncle Bob's books. But I have taken interest in "Clean Architecture" as it seems like a good solution to make mid to large sized projects simple to understand and maintain.

I think MVC gets too much coupling and fails at larger projects, same with n-tier. But I'm not sure about anything right now (software design is a very complicated problem after all).

So I was wondering if you friends who have used Clean Architecture in production can share your knowledge and experience with me about this design?

Is it actually good and worth investing in?

Footnote:

I'm especially weighing this architecture because Uncle Bob's writings are really hit and miss. I don't see him as a master or guru so I take everything he says with a grain of salt.

35

cross-posted from: https://programming.dev/post/54023908

Hi!

I've never read any of Uncle Bob's books. But I have taken interest in "Clean Architecture" as it seems like a good solution to make mid to large sized projects simple to understand and maintain.

I think MVC gets too much coupling and fails at larger projects, same with n-tier. But I'm not sure about anything right now (software design is a very complicated problem after all).

So I was wondering if you friends who have used Clean Architecture in production can share your knowledge and experience with me about this design?

Is it actually good and worth investing in?

Footnote:

I'm especially weighing this architecture because Uncle Bob's writings are really hit and miss. I don't see him as a master or guru so I take everything he says with a grain of salt.

1

Hi!

I've never read any of Uncle Bob's books. But I have taken interest in "Clean Architecture" as it seems like a good solution to make mid to large sized projects simple to understand and maintain.

I think MVC gets too much coupling and fails at larger projects, same with n-tier. But I'm not sure about anything right now (software design is a very complicated problem after all).

So I was wondering if you friends who have used Clean Architecture in production can share your knowledge and experience with me about this design?

Is it actually good and worth investing in?

Footnote:

I'm especially weighing this architecture because Uncle Bob's writings are really hit and miss. I don't see him as a master or guru so I take everything he says with a grain of salt.

2

Hi.

I'm curious what architecture do you use for medium to large Clojure applications? MVC, Clean Architecture, N-tier?

What were your experience with them? What do you recommend?

I'm asking this question in general to discuss the common architectural patterns in Clojure, but I'm also creating a somewhat complex "micro" service with clj-kit and I'm interested in learning how to organize and architect it.

6

cross-posted from: https://programming.dev/post/53556505

Git repo

Convert Outlooks' horrendous .pst file to standard .vcf vCard and import to any vCard compatible client (your phone, radicale, thunderbird, etc.)


Why I made this?

I decided to move my whole org to ThunderBird to be free from forced proprietary formats. And I created this Java CLI app (Because Java had the java-libpst to work with PST files) to do it. I converted ~500 contacts successfully and we are free from Outlook at last.


This has worked for us, and I tried to make it as robust as possible. If you see any issues, please open an issue or PR.

LLM disclaimer: I used OpenCode + BigPickle to create this but I wouldn't call it vibecoded. I spent ~2 days on it so far and let the LLM help me. Hope it helps.

35
submitted 2 weeks ago* (last edited 2 weeks ago) by somegeek@programming.dev to c/selfhosted@lemmy.world

cross-posted from: https://programming.dev/post/53556505

Git repo

Convert Outlooks' horrendous .pst file to standard .vcf vCard and import to any vCard compatible client (your phone, radicale, thunderbird, etc.)


Why I made this?

I decided to move my whole org to ThunderBird to be free from forced proprietary formats. And I created this Java CLI app (Because Java had the java-libpst to work with PST files) to do it. I converted ~500 contacts successfully and we are free from Outlook at last.


This has worked for us, and I tried to make it as robust as possible. If you see any issues, please open an issue or PR.

LLM disclaimer: I used OpenCode + BigPickle to create this but I wouldn't call it vibecoded. I spent ~2 days on it so far and let the LLM help me. Hope it helps.

AI Disclosure:

  • Implementation - Generated
  • Testing - Generated
  • Review - Assisted
  • Deployment - Pair
7
submitted 2 weeks ago* (last edited 2 weeks ago) by somegeek@programming.dev to c/java@programming.dev

Git repo

Convert Outlooks' horrendous .pst file to standard .vcf vCard and import to any vCard compatible client (your phone, radicale, thunderbird, etc.)


Why I made this?

I decided to move my whole org to ThunderBird to be free from forced proprietary formats. And I created this Java CLI app (Because Java had the java-libpst to work with PST files) to do it. I converted ~500 contacts successfully and we are free from Outlook at last.


This has worked for us, and I tried to make it as robust as possible. If you see any issues, please open an issue or PR. My goal for sharing it is so more people can get out of outlook because the address book thing was a huge blocker for us, for quite a while.

LLM disclaimer: I used OpenCode + BigPickle to create this but I wouldn't call it vibecoded. I spent ~2 days on it so far and let the LLM help me. Hope it helps.

11
submitted 3 weeks ago by somegeek@programming.dev to c/vpn@lemmy.world

Hi guys. Just a heads up that Nym is total garbage. It has horrible, prototype-level apps. And the connection is so unstable. You'll be lucky if you connect at all. I used mullvad before and it would take 1-3s to connect. Nym takes at least 30s to connect, IF it connects at all.

Tge only reason I bought it was the very cheap price. But a cheap price isn't worth it if it's not even working.

view more: next ›

somegeek

0 post score
0 comment score
joined 3 years ago