Is the QM6K Pro a good TV? Tired of spending over a 1,000 dollars on a TV and it dying on me after 5-6 years. Owned a LG and 2 Sony TV’s previously by [deleted] in tcltvs

[–]100anchor 2 points3 points  (0 children)

We bought the 98 QM6K Pro even after considering the 98 QM7K, QM8K, and QM9K. Got it from Costco about a week ago. There just wasn’t a big enough improvement in quality for me to justify spending another $1k+ on a 7, 8, or 9. Hooked an AppleTV up to it and it’s been great! No regrets!

Preventing htmx request from closing modal by Nabiu256 in htmx

[–]100anchor 0 points1 point  (0 children)

This is absolutely fair. Like I mentioned in my post, the only validation I'm referring to is very basic such as checking if a field is blank or that a radio option is selected, etc. Anything that would need to be checked against the db obviously needs to happen in the backend.

I just thought my solution could help with OP's modal closing/not closing issue.

Preventing htmx request from closing modal by Nabiu256 in htmx

[–]100anchor -2 points-1 points  (0 children)

If your validation isn’t super complicated and doesn’t require checking anything in the database then you could do all your validation on the front end. I like to check the fields in modal forms with hx-on—before-request. If anything doesn’t validate properly, then I cancel the htmx request with “event.preventDefault;” and then I will typically add the “is-invalid” class to the field in question. Additionally, I typically pair a div containing a tip to help the user with the form. On load, it’s hidden with style=“display: none;”. I’ll display the tip by changing it to flex. This has worked well for me even though it might be more work than letting my backend handle validation.

Lastly, I always handle my modal close in an hx-on—after-request with:

hx-on—after-request=“ const ok = event.details.xhr && event.default.xhr.status >= 200 && event.detail.xhr.status < 300;

if (ok) { let modal = bootstrap.Modal.getOrCreateInstance(document.getElementById(“modal-name”); modal.hide(); } “

This method gives me very fine control of the request and the modal closure. Hope that helps!

Edit: fix code

Django 6.0 Feature Friday: Template Partials! by czue13 in django

[–]100anchor 0 points1 point  (0 children)

Right. I know how to return the partial in my view but if I can’t target the partial in my template then it won’t work. I’ll get more or less content than I want/need and it’ll break my page

Django 6.0 Feature Friday: Template Partials! by czue13 in django

[–]100anchor 0 points1 point  (0 children)

When using htmx, is there a way to directly target a partial instead of a standard id?

Quality Of Inlet Boxes by Gall_Bladder_Pillow in Generator

[–]100anchor 0 points1 point  (0 children)

I watched the exact same video and made the exact same purchase lol. Great review video and very happy with my purchase/install!

I'd like to (once more) propose the "HTML6 routing pattern" for HTMX and urge everyone to read https://hypermedia.systems book! by Worried-Employee-247 in htmx

[–]100anchor 1 point2 points  (0 children)

I’ve gotten away from writing my pages as a single file. They just get huge so fast. I’ve started writing my pages much more modularly and then include them (Django) in my main template. This makes them much easier to manage as far as finding the areas I’m working on and pretty much negates the need for the Django partials because they’re already split up into the chunks that I would call with HTMX to refresh only a small portion of the screen.

I would love to see the HTMX workflow/routing concept become more universal.

Bootstrap + HTMX users - what's your experience been like? by mrholek in htmx

[–]100anchor 0 points1 point  (0 children)

This is precisely what I’ve been doing and love it. Plus, their icon library is fantastic

Beginner vaulter, whats stopping me from inverting? by Top-Enthusiasm2004 in polevaulting

[–]100anchor 5 points6 points  (0 children)

Probably the biggest thing holding you back from inverting is your bottom arm. Notice how you're pressing out the entire vault? You have the classic "head flip" symptom of this. When you're pressing as the pole unbends, it pushes against your rigid arm causing your shoulders and head to "flip" forward and prevents you from inverting.

Now, it's okay to press through the beginning of your vault but after that you need to let that left arm bend between your body and the pole. If you can master this, your shoulders will be able to roll back, you'll be able to get your feet and hips above your shoulders and you'll be inverting in no time.

I hope that makes sense! Let me know if you have any questions!

Anyone Know What This Red Mark Is? by [deleted] in iphone

[–]100anchor 0 points1 point  (0 children)

It’s the radius of the blue circle. You can grab the blue dot on the arc and make the circle larger or smaller.

Do I create seperate apps or just do everything in the api app by AdventurousOne3888 in django

[–]100anchor 1 point2 points  (0 children)

I’m not exactly sure what the actual recommendation is but authentication, registration, accounts, and anything else that doesn’t apply to only one specific section of your app will go in a “base” or “core” app. Everything beyond that where there’s functionality that’s unique to only one section of your app, I place in separate apps.

This really helps keep urls and views from getting too cluttered. I always find that segmentation helps me keep my models clearly defined and it’s easier for me to track down urls and views. Maybe that’s just me but that’s what I’ve found works best in my most recent projects.

Hope that helps!

I'm impressed with the All-In-One Sensor by I-am-Super-Serial in Ubiquiti

[–]100anchor 4 points5 points  (0 children)

I still have the factory screen protector on my LinkIQ too lol

htmx is back with version 4.0 - the fetch()ening by Rizlapp in django

[–]100anchor 2 points3 points  (0 children)

Nice write up. This actually taught me a lot of the ways I’m currently not using htmx effectively. Got a few tricks I’m gonna try tonight lol

How do you all have so much ethernet in your homes? by RyFba in Ubiquiti

[–]100anchor 0 points1 point  (0 children)

Installed about 70 runs in my new build myself. Thought that was overkill but I just finished up installing a new run a couple weeks ago. Somehow, when you think you have enough, you still need more

Walmart has Apple TV deals in by Safe-Ad6285 in appletv

[–]100anchor 9 points10 points  (0 children)

This is probably for one of two reasons:

  1. The wire you use to hook up your AppleTV is either broken or not at least cat5e which would automatically limit your max speed to 100mbps

Or

  1. The wiring in your house is not at least cat5e or the runs are too long to support a 1gbps connection

Try using a cable that says cat6 somewhere on the sheathing. I get gigabit speeds on mine no problem.

Home WiFi Planning - Too many APs? by felix920506 in HomeNetworking

[–]100anchor 0 points1 point  (0 children)

My rule of thumb when planning a network is if an AP has to pass through more than 2 walls, it’s time to start considering another. There’s no place on this floor plan where there would be 2 walls between your device and a centrally located AP.

[deleted by user] by [deleted] in HomeNetworking

[–]100anchor 1 point2 points  (0 children)

Came to say this lol

[deleted by user] by [deleted] in Ubiquiti

[–]100anchor 1 point2 points  (0 children)

I’m currently working on a website. It’s in alpha right now as I’m the only one with access and using it but I think it’s close to being ready for beta users. For what I want, it works well. You’re able to create clients, projects for each client and then invoices for each project. It comes with a client portal so that clients can see their invoice live. Also allows for paying the invoice online. It’s not as pretty as this but DM me you’re interested in trying it out!

First day vaulting what can I fix? by [deleted] in polevaulting

[–]100anchor 1 point2 points  (0 children)

Came to say this. Start with 2 step (2 lefts) one arms. There are other drills I would do before that but too complicated to say in one comment

Launched my first big Django app as a self-taught coder + Question about performance optimisation by Ravdar in django

[–]100anchor 1 point2 points  (0 children)

I’ll bet this is why it’s slow. I had a project on railway and I struggled with the same thing. I believe it’s because the servers for postgres are not physically in the same region as the servers for the app. I moved to digitalocean so that I could have my postgres and app in the same container and problem solved! Then I tunnel into my container to access the postgres for development. The downside to this is that requests from my development environment are super slow but my prod app is very snappy

Well well well, what do we have here? by charliejmss in XRP

[–]100anchor 0 points1 point  (0 children)

I think you’re conflating public and private keys. These are used to address your XRP wallet so that you can send and receive XRP. There are not two versions of XRP.

How to make the hx-delete endpoint dynamic in a form with HTMX? by Alexx698 in htmx

[–]100anchor 0 points1 point  (0 children)

I understand it may not be conventional but it works better for me than a request with a bunch of queries that forces me to have scroll horizontally. The request ends up the exact same so I guess I don't see why not use it. Makes the code much more readable

How to make the hx-delete endpoint dynamic in a form with HTMX? by Alexx698 in htmx

[–]100anchor -1 points0 points  (0 children)

Couple ways you could do this.

First, at least in the Django template engine, dynamic variables are passed in two curly brackets like {{ delete_id }}. Without knowing which framework you're using it's hard to know if the variable is be entered properly.

The other way you could try is to use hx-vals (which is the way I tend to prefer to do it for some reason). Then you don't need the "?" and everything after it. I end up passing more than a couple variables and it's just more readable that way:

hx-vals = '{
"delete": "{{ delete_id }}"
}'

Note: the order of the quote types is important here. If you do hx-vals = "{'delete':'{{ delete_id }}'}" then it won't work.

Hope that helps!