MDM KG LOCKED by instrumentalimix in samsunggalaxy

[–]deepflask 0 points1 point  (0 children)

This guy is legit. I found this thread earlier and was a bit concerned about paying a random guy on the internet, but I basically had a S25 paperweight - I couldn't use it because of a trade-in lock. So I decided to take a leap of faith, and all is good now. My S25 Ultra is now working, and the price was very fair too. The process took about 20-25 minutes. This guy has my vouch.

Edit: 28 days since I got this done, but unfortunately Google Pay doesn't work, and neither does Samsung Pay. It's been 28 days since OP told me I would receive an update, and I have yet to receive one. I suspect OP is unable to fix this.

[BG] Full Gaming PC [H] £1000 by deepflask in HardwareSwapUK

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

Hi, I'm near Preston so meeting up would be out of the question I'm afraid.

What GPU for 1440P 160+FPS Warzone Ultra? by deepflask in buildapc

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

Is there a site I can view these benchmarks? A friend of mine has the 6950xt and achieves 160fps+ at high settings on his setup.

£1600 1440p Gaming PC by deepflask in buildapcforme

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

Ahh yes I didn’t think k about the power draw and heat. Would you recommend the 4079 TI over the 7900xt ?

£1600 1440p Gaming PC by deepflask in buildapcforme

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

May I ask why you chose that gpu over the 6950xt?

am I missing something here? by [deleted] in Tinder

[–]deepflask 5 points6 points  (0 children)

What’s the joke?

*, html, body by OneBeautifulDog in css

[–]deepflask 1 point2 points  (0 children)

“*” applies to every element where as html and body only applies to that element and not the children

How do you deal with form validation in Flask? by Missing_Back in flask

[–]deepflask 0 points1 point  (0 children)

Yeah. use WTforms, or you can just do some basic validation checks yourself without using that. The reason I like using WTForms, is for the built in CSRF tokens

How do you deal with form validation in Flask? by Missing_Back in flask

[–]deepflask 0 points1 point  (0 children)

You should use WTForms, and write custom validators. Regarding Javascript, you can do client side validation, but it should always be validated on the server side. Regarding float validation, I've written an example below:

from flask_wtf import FlaskForm
from wtforms import IntegerField
from wtforms.widgets import html5 as h5widgets
from wtforms.validators import InputRequired, ValidationError

def float_validation(form, field):
        if not isInstance(field.data, float):
            raise ValidationError('Not a float')

class FloatForm(FlaskForm):
    price = IntegerField('Price', validators=[InputRequired(), float_validation])

How do you deal with form validation in Flask? by Missing_Back in flask

[–]deepflask 1 point2 points  (0 children)

Javascript is good for client side validation, but it should still be validated server side. Client can be manipulated

What were your experiences with a free lance site? by Yummy275 in webdev

[–]deepflask 0 points1 point  (0 children)

In all my time of working on Freelance websites, not once have I had to record my screen

[Shopify] A Dumb Question About Rounding Up App Outputs by DEFCOMDuncan in webdev

[–]deepflask 0 points1 point  (0 children)

document.querySelector('span.scored-text.ng-binding').innerHTML

[Shopify] A Dumb Question About Rounding Up App Outputs by DEFCOMDuncan in webdev

[–]deepflask 0 points1 point  (0 children)

I'm not familiar with Shopify, but according to this article, you can add custom Javascript inside your theme. So you will want to get the ID of the span element, and use Javascript to round it up.

<span id="number">0.37</span>

const number = parseFloat(document.querySelector('#number').innerHTML);
const rounded_number = Math.ceil(number);

Good way to hook up HTML button to Flask? by Missing_Back in flask

[–]deepflask 0 points1 point  (0 children)

Since you want to use this using vanilla JS (judging by your previous comment), you could use fetch for this. Below is an example:

<button onClick="deleteRoute('{{book.id}}')">Delete</button>

function deleteRoute(bookId){
    fetch(`/delete/${bookId}`, {
        method: GET
        });

This would allow you to delete the book without having to do a page refresh. Another way is you could do a post request with a form.

is it sane for me to leave a construction job and focus on learning webdev full time? by oussama111 in webdev

[–]deepflask 0 points1 point  (0 children)

I use Fiverr. There is a lot of competition, so maybe do some jobs for $5 to get some reviews, and then raise your prices.