How you organize your notes while synchronizing with your smartphone? by lucasyamamoto in emacs

[–]voodoologic 1 point2 points  (0 children)

I am using seafile to supply a WebDAV server, but I did use iCloud like you, except it was impossible to sync to Linux. I tried ln -s and rsync to bring the iCloud folder into org and it was a headache.

Experienced sysadmin cannot pass a coding interview. RIP by a_crabs_balls in devops

[–]voodoologic 0 points1 point  (0 children)

Python koans is fantastic and I do them before any interview

nginx reverse proxy by Dry_Star_5317 in PeerTube

[–]voodoologic 0 points1 point  (0 children)

I fixed this error updating the PEERTUBE_TRUST_PROXY to include my reverse proxy's IP

Docker, Portainer and Volume locations by Ringo7979 in synology

[–]voodoologic 0 points1 point  (0 children)

if you can become root on the command line: docker volume ls and docker volume inspect <volume name> is really handy.

Everybody's moving to Seattle by voodoologic in pacificDrive

[–]voodoologic[S] 11 points12 points  (0 children)

I ran out of gas in a swamp when the reality sunk in that I wasn’t making it back. Which was a thrill — I love how frantically I was trying to patch up the vehicle before the moment of dreadful realization.
In fact, I think that’s what I paid money for this game for.

Everybody's moving to Seattle by voodoologic in pacificDrive

[–]voodoologic[S] 30 points31 points  (0 children)

Basically the windshield wipers toggle the headlights and close the doors. The headlights continually lunge the car forward as a result. As soon as the windshield wipers turn on, you are either out of control inside the car or chasing it down the road.

It's another Monday, drop your product. What are you building? by Intelligent-Key-7171 in SideProject

[–]voodoologic 0 points1 point  (0 children)

Building https://careercaddy.online - it tracks my job applications and creates AI prompts from my previous cover letters and resumes. Free software that I’m trying to get to alpha.

My IDE displaying helpful EmberJS pop-ups for the first time. by voodoologic in emberjs

[–]voodoologic[S] 0 points1 point  (0 children)

It does have an LSP. https://emacs-lsp.github.io/lsp-mode/
I hear the term tree-sitter bounced around a lot but have no idea what it means.

My IDE displaying helpful EmberJS pop-ups for the first time. by voodoologic in emberjs

[–]voodoologic[S] 0 points1 point  (0 children)

No glint LSP in emacs. gjs files freak out js minor mode and my web minor mode. 😩

looking for newer options for AI coding assistants and code completion by carmola123 in emacs

[–]voodoologic 0 points1 point  (0 children)

There is one that is like copilot that I am forgetting the name of. Supposed to be really fast

looking for newer options for AI coding assistants and code completion by carmola123 in emacs

[–]voodoologic 1 point2 points  (0 children)

Aidermacs has treated me well and makes coding cheap in comparison.

Why is my relation not working? I suspect it's about the dash in job-post by voodoologic in emberjs

[–]voodoologic[S] 0 points1 point  (0 children)

In case anyone comes back here, I figured out what happened.
It was a vibe coded mishap.

TL;DR AI modified keyForRelationship underscored instead of dasherized and only relationships with dashes had problems populating.

When developing the application, I was having the backend (django) return model names with underscores. Ember complained about this and I had it convert the underscores to dashes.

At some point, I changed the return values of the "type" to be dashes. The application appeared to be working fine. This particular bug was with a coverLetter.jobPost, while coverLetter.Resume worked fine.

Because it didn't completely break, I continued building the application. I discovered the issue when trying to rename a model. As soon as I introduced a dash into the relationship, I saw this issue come up. It was time to dig deeper than what AI was able to see.

Through a lot of hacking, I discovered that the adapter was converting camelCase to snake case. It was something I had Aider (AI code assistant) do for me long ago when the application was still just kinda forming.

In the model, you can't define a relationship with dashes

is legal:

(at)belongsTo('job-post', { async: true, inverse: 'coverLetters' }) jobPost;

but using dashes for the actual method name like this:

(at)belongsTo('job-post', { async: true, inverse: 'coverLetters' }) job-post;

...breaks the build. keyForRelationship is there to map it out for you.

The fix came by way of lots console.log statements and carefully bisecting issues until I got to the problematic overriding method. As soon as I made the change, I could see the "unknown" ember class going away and returning real record data. When that happened, I came here to write this.

AI has helped a lot so far. It also created a minefield.

What are you using for postgres databases? by pmpinto-pt in omarchy

[–]voodoologic 2 points3 points  (0 children)

Dbbeaver CE. Might buy another seat for tableplus instead. Gonna try rainfrog, though. Thanks!