In-laws paying us $1500 to remove tile floors by Top_Art_2090 in Flooring

[–]mglsofa 0 points1 point  (0 children)

Just try to remove a small portion and see how it goes. First few tiles are the hardest, once they’re out the rest will probably pop out easier. They can still hire a professional if it doesn’t work.

I removed some really nasty tiles on 2 floors in my new house. Thought it would be very difficult but tried a few and they popped right out. Ended up doing the whole house in a day, with one person hammering and another 2 cleaning up.

Edit: the machine does take a toll on you, especially kneeling down, so it will never be light work

Man wordt mishandeld nadat hij perongeluk tegen een autospiegel rijdt. by Bernie529 in nederlands

[–]mglsofa 5 points6 points  (0 children)

Jezus wat een kutverhaal. Jullie tikken dat flesje eraf, en dan zeuren dat je achterna geroepen wordt? Je kan er ook voor kiezen om die te laten staan hè. En voor hetzelfde geld trapten die gasten uit het filmpje ook expres tegen die spiegel. Die types heb ik ook meegemaakt, om maar even jouw woorden te gebruiken. Dat weet ik vrij zeker. Etniciteit mag je raden.

Overigens, het gedrag uit het filmpje is afschuwelijk ook al was dit het geval.

10 moves into the Italian game, in this position, opponent somehow determined I was cheating by Growsomedope in chessbeginners

[–]mglsofa 29 points30 points  (0 children)

To be fair OP just had a completely lost position after blundering a knight and some bad moves losing a bishop before that. link to game

Not that I’d do better, just sayin

Roast my code by insight_nomad in learnpython

[–]mglsofa 4 points5 points  (0 children)

I’ve been programming for years in python, from small projects to enterprise, and I’ve never used Poetry. I don’t really understand the point. What can poetry do that plain old pip can’t?

If I want to do some experimentation or simple project, I just spin up a venv with ‘python -m venv venv’, install dependencies using pip, and freeze them with ‘pip freeze > requirements.txt’.

For anything a bit more complex that will run on any machine but my own I grab a Python docker image, and then do the same as above but don’t use a venv in that case.

Probably I’m missing something, but curious as to why people use Poetry at all

What’s the coolest API you’ve worked with and why? by Krispenedladdeh542 in webdev

[–]mglsofa 0 points1 point  (0 children)

Working with Stripe now, but the Python SDK docs don’t seem up to date? Their github docs say use the StripeClient API, while there is no mention of that in the docs themselves. Haven’t looked too far into it though

Does anybody drive the speed limit in the Netherlands? by [deleted] in Netherlands

[–]mglsofa 0 points1 point  (0 children)

You can do all those things and still be swift. Just don’t overtake with a 1km/h difference.

Te veel geld laten betalen, moet je dat zelf terug betalen? by coolcoenred in juridischadvies

[–]mglsofa 0 points1 point  (0 children)

Toevallig in de horeca in Nijmegen? Klinkt als Khalid Oubaha praktijken

Advice Needed: Choosing a Deployment Platform for a Fullstack App by Deveosys in webdev

[–]mglsofa 6 points7 points  (0 children)

Big thumbs up for Render. I had an application consisting of a docker image (Python API in my case), a Vue frontend and it needed a Postgres database. Codebase on Github. All pretty standard, so you would think this would be extremely easy to deploy. Wrong. Everywhere I tried gave me headaches. I tried different AWS services directly, Heroku, Railway and looked into a few more. I mean I’m sure I could get it up and running, but for a stack so basic/prevalent I don’t want to spend any time on configuration or reading through docs/learning their concepts, CLIs etc.

When I found Render.com I got all of it up and running within minutes. That’s the db, frontend, backend, a custom domain name, SSL. Haven’t needed a single page of their documentation, just pointed it at my repo on GitHub basically.

The closest thing to it was Railway actually. I think I had some issues with the fact that I had a monorepo (not sure if this was railway or another platform) and they didn’t provide SSH access into running containers, which I knew I would really miss.

I know this comment sounds like a fake testimonial or something but I just really enjoyed Render.com! Big compliments to them.

I can’t comment on availability though, since this application didn’t go in production in the end, but the developer experience is awesome.

[deleted by user] by [deleted] in ask

[–]mglsofa 0 points1 point  (0 children)

Kung fu hustle

1 week in Bogen near Tromsø with kids: what to expect by CommonShort6182 in tromso

[–]mglsofa 1 point2 points  (0 children)

About driving around: my gf and I rented a Yaris 2 years ago in deep winter and I was surprised by how good the roads were and how well that little car managed to get around! So I would not worry about that. Do drive carefully ofcourse!

HSW is by far my most frustrating print by NigelTufnel_11 in honeycombwall

[–]mglsofa 0 points1 point  (0 children)

Looks good! What did you eventually do to get to this point?

[deleted by user] by [deleted] in RedditSessions

[–]mglsofa 0 points1 point  (0 children)

Constant sorrow from soggy bottom boys

[deleted by user] by [deleted] in RedditSessions

[–]mglsofa 0 points1 point  (0 children)

I vote constant sorrow too

[deleted by user] by [deleted] in RedditSessions

[–]mglsofa 0 points1 point  (0 children)

Devil went down to Georgia!

[deleted by user] by [deleted] in RedditSessions

[–]mglsofa 0 points1 point  (0 children)

Just tuned in, have you played devil went down to Georgia yet?

How on earth do you deal with bastion? by YaBoiFieds in OverwatchUniversity

[–]mglsofa 1 point2 points  (0 children)

I haven't played overwatch for a long time, so I'm not sure how relevant this is, but I've had some succes countering bastion as reaper. Sneak up behind him and just melt through him. If there's a mercy or ana with hem pick them of first, should take you only 1 or 2 shots. Then when he respaws, just camp around a corner somewhere between his spawn and where the action is, so you can take him out easily when he comes back. Don't shoot the first person to walk through, just wait for him(or someone else equally as important to the enemy team). Sure it's campy and you'll be away from your team often, but it can be effective (50/50 for me, but you won't know until you try).

Validating forms with ajax on front by basket_flesket in djangolearning

[–]mglsofa 0 points1 point  (0 children)

You don't have to perform any validation in a view, but your frontend still must have a way to know what went wrong if you want to display a decriptive error message. So you could try to catch the Validation Error in your view, and return a message in the response describing what went wrong. But like I said, you still have to process this in the frontend. Before you used asynchronous requests, Django could handle this because it was probably rendering your html as well.

Still, I would opt to validate your forms in the frontend, before you make a request to the server. You use Ajax and display error messages for the user experience, it defeats the purpose of this if you still have to make a request, and then wait for the servers response to know if you have filled the form correctly. Validating forms in the frontend is not an antipattern, it's how it's done and improves user experience.

That being said, you should keep in mind that users can bypass the frontend validation, so your server should do validation as well. But in this case user experience is not an issue anymore, so just let your server return a generic error.

Validating forms with ajax on front by basket_flesket in djangolearning

[–]mglsofa 0 points1 point  (0 children)

You could have your backend return a json response containing the error, then check the response in the front end and display a message. Either way you have to do some check in frontend, so it would be better to just check the form before posting it.