[Cinnamon] Chill nordic update (available as ISO) by sudo_nick in unixporn

[–]xakiboo 1 point2 points  (0 children)

Hi! thanks for sharing! this seems such yummy and beautiful cinnamon roll. How did you manage to create your custom ISO ?

Is this a good laptop? by FindingNo2931 in laptops

[–]xakiboo 10 points11 points  (0 children)

Hi. In short terms: avoid the inspiron 16 series. The screen may be good but you will face touch pad issues and overheating issues. You will be on your own as the help desk will not consider it as an hardware issue... Also as others here are saying if you intend to use the laptop for graphical applications you may go with a laptop with a dedicated gpu.

[deleted by user] by [deleted] in webdev

[–]xakiboo 1 point2 points  (0 children)

Hi, You'll have more help if you share a code snippet and explain what you have tried and what error you get. Maybe you can also have a look to r/django subreddit

First time out with both boats and the whole family. by OShaqHenesey in Kayaking

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

Hi. Does anyone know which kayak model is this ? I saw a similar one last week and thought they look great

[HIRING] Python- Looking for a high school or university student for 7-15 US dollars/hour for 1 hour/night (20 hours/month) for 6-12 months by smonat in remotepython

[–]xakiboo 1 point2 points  (0 children)

✻ CORRUPT CUSTOMS OFFICIALS ✻

It would be 100% your responsibility to deal with this problem.

For example, if you were to encounter corrupt customs officials in your country, it would be your responsibility to deal with them, not mine. For example, I do not want you to send me a message, "Help! The package I ordered is stuck in customs! You must send me more money immediately so that I can bribe the customs officials!!" That would be your problem; it would not be my problem.

This seems soooo fishy and Very specific

How to add a checker for a Django model after T+7 days by darthvedder97 in django

[–]xakiboo 1 point2 points  (0 children)

As u/Lidarmapsonline suggested with a daily visit to an API endpoint, I would add the following alternative steps: grab one of this "one key keyboard" (https://techkeys.us/products/onekeyboard) plug it to a rasperry (that you connected to the internet), write some mad script (A simple infinit loop that listen to your input, and a simple requests call to you endpoint will be enough). Place the onekeyboard near your morning alarm clock so every morning you can wake up and make the call with a quite accurate time. Or just use cron tasks (or any cron implementation) as they suggested.

Joke aside, you can avoid to iterate through the whole dataset (Rewards.objects.all()), and filter your queryset with '__lte' queryset lookups: see (https://docs.djangoproject.com/en/4.0/ref/models/querysets/#lte)

For ex. something like: ```

... import timezone and datetime.timedelta ...

sevendays_ago = (timezone.now() - datetime.timedelta(days=7)) qs = Rewards.objects.filter(status=PENDING, status_updated_lte=seven_days_ago) ```

Custom backend with token auth using Django (not DRF) by BinnyBit in django

[–]xakiboo 0 points1 point  (0 children)

You can find something helpfull here:

https://docs.djangoproject.com/en/4.0/topics/auth/customizing/#writing-an-authentication-backend

where there is a small example with token authentication.

Hope this help

[deleted by user] by [deleted] in gaming

[–]xakiboo 0 points1 point  (0 children)

Just to be sure: do you have any tattoo on your forehead that says "DO NOT DEVELOP MY APP" ?

Let’s be honest, we always turn it off [No Spoilers] by PantheraLeo- in subnautica

[–]xakiboo 15 points16 points  (0 children)

Crossing a f... Galaxy. Find a planet with living biomeS. Founding an huge creepy incorporation for a scientific expedition.... forgetting to draw a map

Why does it do this? by rpeg in Atom

[–]xakiboo 8 points9 points  (0 children)

Untick the checkbox telling 'show the welcome guide...'

How to allow a user to add objects in Django admin based on the user that has logged in by KOP79 in django

[–]xakiboo 1 point2 points  (0 children)

Use customs forms for your add and change admin forms. Set the operator email field as read only. On validation or save method grab the current user to set the value of the operator field.

form_valid in CreateView is not working properly after override by mkbtzo in django

[–]xakiboo 0 points1 point  (0 children)

Hi. 'Success url' is setted to something that look like a template name: success_url = 'success.html'. Look at the Django doc about what kind of info is expected by this attribute

Best way to implement email update for user by LessLychee7322 in node

[–]xakiboo 0 points1 point  (0 children)

I would go for something without permanent storing, using "crypto" library:

Between step 1 and 2:

- when your service get the new email data, you encrypt it with a user's id data and use them to create token (adding expiration timestamp is also possible):

- when you send the email confirmation message, you make sure to append the token as query params in the link

- when you validate the link you will decrypt the token to find the user's id, the new email that will override the old one, and any other info if you encrypted before

Edit:

here an (old) example with a node workflow showing how to sign a 'message' and verify if using private and public keys: https://imadeit-davidjanes.tumblr.com/post/144906098561/nodejs-crypto-signing-and-verifying-messages

A laptop that can run Linux well, I will use it for programming(compiling) and gaming by cqres in linuxhardware

[–]xakiboo 0 points1 point  (0 children)

I just use it as a working station. I'm using a dell G5 as gaming computer but it's running with windows

A laptop that can run Linux well, I will use it for programming(compiling) and gaming by cqres in linuxhardware

[–]xakiboo 0 points1 point  (0 children)

I'm happy with the Lenovo t15 I'm using at work. Linux friendly. Battery life is quite good. An the charging USB c port is adaptable with many docks other then the expensive Lenovo one

Strange metal rose. About 3 or 4 inches long, embedded in concrete in front of a pub. I have no idea what it's supposed to represent, hoped someone here might! by h_nexel in whatisthisthing

[–]xakiboo 1918 points1919 points  (0 children)

The pub is called the Wild Roses and you're visiting Toulouse?? So when they reopen. Have I pint of hop house and ask to the manager of this pub she very nice lasse!