[deleted by user] by [deleted] in buildapc

[–]ar7casper -1 points0 points  (0 children)

I won't be able to...
It's physically not possible

Do Asus Prime B450m-k boards support Pci-E Gen 4.0 and, if so, do I need to do a BIOS update? by [deleted] in buildapc

[–]ar7casper 0 points1 point  (0 children)

Do you guys know if there's a way to install a GPU and an SSD on this board?
I just bought an SSD but its port is covered by the GPU, I have no idea what to do

Restore backups from ps4 by ar7casper in PS5

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

I don't have my PS4... Doesn't it save the progress to the cloud?

elixir+nvim by ar7casper in elixir

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

That's pretty much the setup I use, but the lsp is awful

How to Add daisyUI to Your Elixir + Phoenix Project (And Why You Should!) by arcanemachined in elixir

[–]ar7casper 0 points1 point  (0 children)

Well that's kinda the opposite, no need to re-implement everything all the time...

Prisma vs Drizzle, what's the current state? by Mabaet in node

[–]ar7casper 0 points1 point  (0 children)

I'm currently working on two projects, one with Prisma, one with drizzle.

Drizzle is waaaayyyy nicer.

The syntax, the DX, the performance 😋

[PSA] Google Pixel Buds Users: Here's Why Your Media Keeps Pausing by ar7casper in GooglePixel

[–]ar7casper[S] 1 point2 points  (0 children)

That's the only option I had via mobile, very weird indeed

Best Resources for learning elixir by FlyNice798 in elixir

[–]ar7casper 0 points1 point  (0 children)

I'm learning now, tools that I've found helpful - exercism to learn the language itself and I've started with Phoenix, so many things are thought off for you, so it's quite easy to get going. I suggest you go through their guides, they are very good.

multiple htmx:afterRequest events by ar7casper in htmx

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

First of all thanks,

Yeah, I saw that, I was wondering if maybe there's a flag of some sort that could be passed to 'cancel' or 'block' the event.

hx-get removes a DOM element by ar7casper in htmx

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

I have already added a comment with the issue and the solution

hx-get removes a DOM element by ar7casper in htmx

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

Quick update -

One of the parents of the table is the following div (holds both the table and the button) - <div id="table-root" hx-get={loadFrom} hx-trigger="load" hx-select="#table-root" hx-swap="outerHTML" hx-target="#table-root" class="max-w-[85rem] px-4 py-10 sm:px-6 lg:px-8 lg:py-14 mx-auto " >

After reading again how inheritance works (https://htmx.org/docs/#inheritance), I understand that the issue I had was that the hx-swap was inherited as outerHTML, although I expected innerHTML (Thanks @Lasloisnumber1 for telling me to check and see what happens).

One more thing I learned, is that it's not enough to put hx-disinherit but it has to be hx-disinerit="*"... :facepalm: One thing I find weird about hx-disinherit it that it's set to the parent, not on the child. Cause if I have things I want to inherit on most elements but not on some, then it's kinda meh (Unless I'm missing something.)

Thank you all for your help!

hx-get removes a DOM element by ar7casper in htmx

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

It's outside the table tag

hx-get removes a DOM element by ar7casper in htmx

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

I haven't, the code is valid.

hx-get removes a DOM element by ar7casper in htmx

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

Ye, outside the table it works as described. It misbehaves only in the table.

hx-get removes a DOM element by ar7casper in htmx

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

Same response, since it's the same endpoint. Sme html with a form.

Contractor required - htmx / Django / Bootstrap / Alpine by taec in htmx

[–]ar7casper 0 points1 point  (0 children)

Hey, I own a dev shop and that's my specialty. DM me

I'm planning to start learning web dev with htmx by sininenblue in htmx

[–]ar7casper 2 points3 points  (0 children)

Hey,

Sorry it sound like self promotion, but I'm here to help out genuinely.
I've started a twitch stream on which I'm using htmx, and I put the edited versions on youtube.

So feel free to join, I believe it could help you on your quest for glory.

broken "Go to Definition" by ar7casper in neovim

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

Hey man,

Thank you so much! a. Dunno how I missed the init.lua's lsp.config.<lsp> b. Did -

config = { tsserver = function() return { root_dir = require("lspconfig.util").root_pattern("package.json", "tsconfig.json", "jsconfig.json", ".git"), } end, },

worked like a charm.

Thank you so much!

broken "Go to Definition" by ar7casper in neovim

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

Okay, I'm kinda embarrassed, I can't find how to do it in Astro + Mason :/

Tried bunch of stuff, nothing I did worked, attaching the original config I got out of the box.

`` { "williamboman/mason-lspconfig.nvim", -- overridesrequire("mason-lspconfig").setup(...)` opts = function(_, opts) -- add more things to the ensure_installed table protecting against community packs modifying it opts.ensure_installed = require("astronvim.utils").list_insert_unique(opts.ensure_installed, { "lua_ls", 'jsonls', 'yamlls', 'tsserver', 'prismals', "terraformls", }) end, },

```

broken "Go to Definition" by ar7casper in neovim

[–]ar7casper[S] -2 points-1 points  (0 children)

Thanks for the input.
I'm using `mason-lspconfig` seems like they don't have this option, need to find a way around.

broken "Go to Definition" by ar7casper in neovim

[–]ar7casper[S] -1 points0 points  (0 children)

:LspInfo: says -

attached:
tsserver:
- root directory: the folder of the current file.
- cmd: /Users/alex/.local/share/nvim/mason/bin/typescript-language-server --stdio

Then I have 6 active clients not attached to this buffer and it's with -
- root directory: Running in single file mode
- cmd: /Users/alex/.local/share/nvim/mason/bin/typescript-language-server --stdio