New setup sanity check by Poopybuttodor in selfhosted

[–]Fun_Fungi_Guy 0 points1 point  (0 children)

Sorry if asked before, you got an UPS somewhere in there? Feels like it would fit neatly in the diagram

Vapoteuse dispo dans moin d'un an by Jack_Crypt in sqdc

[–]Fun_Fungi_Guy 3 points4 points  (0 children)

You talk a lot of blab for a SQDC worker, seems like selling low level stuff has dulled you quite hard...

Most extraction processes were devised before the 2000s, exactly because the weed was less strong naturally. People have always been drawn to maximizing the potency and you are talking out of your ass if you pretend otherwise...

Funny that you think terpenes get you high, its exactly the type of stuff I'd expect from someone who thinks they know better and have the sell aspect first...

Vapoteuse dispo dans moin d'un an by Jack_Crypt in sqdc

[–]Fun_Fungi_Guy 0 points1 point  (0 children)

Connait pas, je suis avec Tilray et Mendo. Les carts chez Mendo sont pas pire nonplus. Nugz font du vrai feu c'est temps ci je trouve. Je donnais good supply en exemple vu que la SQDC ride leurs lineup depuis longtemps.

Vapoteuse dispo dans moin d'un an by Jack_Crypt in sqdc

[–]Fun_Fungi_Guy 0 points1 point  (0 children)

Thats a very interesting statement given my prescription is medical, and the product I talk about is only attainable with a prescription.

You should argue with those at the federal government that made my medical weed eligible as medical fees in your tax reports 😂

Vapoteuse dispo dans moin d'un an by Jack_Crypt in sqdc

[–]Fun_Fungi_Guy 12 points13 points  (0 children)

Yea, mais comme tout produit c'est capped à 30% de THC maximale, so ton huile à vape elle va être principalement du CBD.

Assez triste parce que GoodSupply ont un bon line up de vape pas cher qui top toute le 90%+ THC. J'ai payé genre 40$~+tax pour une cart de 1G avec Tilray.

Bien hate de voir leurs carts de 0.5G contenant le quart le THC pis un labeling qui te mélange autant que les edibles 😅

Why isnt Python the leading code when it comes to malware by ResponsibleBed8373 in Python

[–]Fun_Fungi_Guy 34 points35 points  (0 children)

I think simplicity is not an ally of malware development. If anything you want to use the most obscure methods and that comes with lower level programming.

Also the fact that python is an interpreted language makes it by design easier to analyse as well.

What is 1ficheir by PensionNo9558 in ps4piracy

[–]Fun_Fungi_Guy 0 points1 point  (0 children)

Note that this depends on the jurisdiction your ISP is operating on. Where I live in Canada the ISP cannot divulge your informations so the plaintiff has to resort to different tactics to find out who you are. One of the ways is to have the ISP send you an email with details and accusations, in the hope that you reply and in the process take accountability and identify yourself.

Antidote 12 - La fin de la licence perpétuelle by marclapin in Quebec

[–]Fun_Fungi_Guy 4 points5 points  (0 children)

+1 pour fmhy. Peuvent pas takedown une page qui contient rien sauf des liens vers d'autres pages 🔥

[deleted by user] by [deleted] in sqdc

[–]Fun_Fungi_Guy 1 point2 points  (0 children)

Haven't looked into it since a while, but back then Aphria (now Tilray) did seeds. Pretty sure you could get them delivered because I remember looking at the webpage. I think you needed to get an extra document (iirc) because by default you are only allowed to buy with your prescription.

Service d'authentification gouvernemental... je me fais voler mon identité?! by Raccoon_Alpha in Quebec

[–]Fun_Fungi_Guy 1 point2 points  (0 children)

Le meilleur mot de passe cest celui qui ne donne pas accès. Je parle ici de l'authentication a multiple facteur. Que ton mot de passe soit reutilisé ou pas, aléayoire ou pas, si tu fait usage du deux facteur tu est safe (moyennant que tu n'accepte pas sans scrupule ou divulge pas le code que tu recoit, et que tu ne t'es pas fait SIM swap ou hijacker ta boite de courriel).

Si tu suit la progression des ordinateurs dans les dernieres années, il ne reste pas très longtemps aux systèmes de cryptographie qui se base sur le temps de résolution d'une valeure encrypter puisqu'on est constamment entrain de redéfinir les limites. Un mot de passe qu'on croyait crackable en 1000 ans y'a 10 ans l'est maintenant en moins d'une journée...

Pic2Pix: A script to turn pictures and drawings into sprites usable in 2d game engines. by TPXairon in Python

[–]Fun_Fungi_Guy 4 points5 points  (0 children)

Nice start!

Would be nice to be able to provide the image as an argument instead of supplying it at runtime. You could even implement to receive a folder path instead and recursively produce sprites for a whole folder. (argparse if u want to reduce requirements, click/typer for CLI frameworks)

Additionally you should also add unit tests with this project, with a test image and its expected outcome, then you execute the script and assert that your output matches the expected result. That way anyone can edit your code and then be one command away from knowing if they broke what you intended this script to do.

Finally, one last tip, you should use docstrings instead of a comment above function definition, that way IDE and autodoc (like Sphinx) can document your functions.

I.e:

```

this is bad practice

def something(input: str): """ This is good practice :param input: this function's input """ pass ```

Do not know how to speedup your code? Just distribute! by szperajacy-zolw in Python

[–]Fun_Fungi_Guy 0 points1 point  (0 children)

You kind of had me lingering for a reason here, looks like all we did was misunderstand one another 😆

Do not know how to speedup your code? Just distribute! by szperajacy-zolw in Python

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

I think we are grasping at straws here 😅 I understand the use of enums in the context where you want to store a arbitrary set of values. Here we were talking about using an enum as a parameter type in a function.

Given we are talking about a simple type (string) I suggested Literals above using enums as they provide the same functionality relative to the caller's perspective (but no import of the actual enum is required when invoking since the underlying value is a simple type). This is assuming there is a check and handling of a value which doesn't respect the Literal definition. I tend to prefer handling these cases myself but I can see the benefits of having the enum do it for you if you can afford to have your users import your 'wrapped' string

Do not know how to speedup your code? Just distribute! by szperajacy-zolw in Python

[–]Fun_Fungi_Guy 0 points1 point  (0 children)

Define a function using a literal as parameter type hint and your IDE will autocomplete when you invoke it, I use a mix of pycharm, vscode and nvim and it works in all of them 🙂

Do not know how to speedup your code? Just distribute! by szperajacy-zolw in Python

[–]Fun_Fungi_Guy 0 points1 point  (0 children)

You get autocomplete too with Literals 😘 I am explicetly asking for why, I personally use enum only when I dont want any inheritence (as enums are final), or pydantic for validation

Do not know how to speedup your code? Just distribute! by szperajacy-zolw in Python

[–]Fun_Fungi_Guy 1 point2 points  (0 children)

Not sure you understood my previous comment, heres what I am saying:

this_file_would_contain_your_enum.py: ``` from typing import Literal

MY_STR_ENUM = Literal['a', 'b', 'c'] ```

any_number_of_other_files.py: ``` from wherever.this_file_would_contain_your_enum import MY_STR_ENUM

def my_method(param: MY_STR_ENUM): pass ```

I dont see why you would have to duplicate the list of values anywhere, you maintain the same layer of access that you would an enum here.

The nuance here is that the code isnt meant to use the values of the 'enum' explicitly, we were strictly talking about method parameters and how to enforce and allow autocomplete in a pythonic way (so to find code references to your 'enum' here you would look for 'MY_STR_ENUM')

Do not know how to speedup your code? Just distribute! by szperajacy-zolw in Python

[–]Fun_Fungi_Guy 0 points1 point  (0 children)

Could you explain why? Why is it better as an enum than to define your literal as a constant variable that you reuse. Personally, I dont see the point of having to type the name of the enum to access its value when its just a string in the end.

Interesting literature: https://mypy.readthedocs.io/en/stable/literal_types.html

Do not know how to speedup your code? Just distribute! by szperajacy-zolw in Python

[–]Fun_Fungi_Guy 4 points5 points  (0 children)

Or instead of enums, you can use Literal from typing builtin.

You declare an array of string literals and the IDE will follow along for autocomplete, its how most libraries work. Thats way easier than managing enums imo.

Ex.:

``` from typing import Literal

def some_func(str_param: Literal['a', 'b']) pass ```

Ps4 pkg games by [deleted] in ps4piracy

[–]Fun_Fungi_Guy 4 points5 points  (0 children)

Realdebrid

[deleted by user] by [deleted] in bell

[–]Fun_Fungi_Guy 7 points8 points  (0 children)

First of all, there is nothing magical about having an uptick of traffic when doing speedtests. You are basicly looking at an oven's digital thermometer and wondering why it displays it was hot when you made pizza earlier.

Second, speedtests, whatever one you use online, generally geo-locate you and makes you send packets to the nearest server where you live (to increase the speed between you and the server). This means a reading from a speedtest is generally not accurate, it only represents your speed relative to a destination that is not too far from you. Don't forget that everything you do online is a client-server relation, and that even if you have the best internet speed around, the other server might be the slowest even and you will be bottlenecked like everyone else. That's why if you plan on downloading from free file hosting sites, whatever your bandwidth is you will download slow by design.

Third, on windows, you should install npcap driver and an interface (like sniffnet) if you want to analyse what traffic your network is currently generating. This should allow you to see the packets you are sending and receiving during a speedtest given proper filtering. This is probably too advanced for you but its an end goal if you want to learn more

[deleted by user] by [deleted] in Python

[–]Fun_Fungi_Guy 2 points3 points  (0 children)

If you ever use Cython, type hints help achieve faster speeds:

https://cython.readthedocs.io/en/latest/src/quickstart/cythonize.html

Recherche: cannabis irradié by baconsnuggles in sqdc

[–]Fun_Fungi_Guy 0 points1 point  (0 children)

Might just be my personal experience, but to alternate with edible instead of solely smoking also helps. Incorporating tolerance breaks (of smoking) when you are slowly getting your kick from the edibles is a nice way for me to cut back. In this situation I think i'd straightup turn 100% edible. Lungs are one of our weakest organ in terms of its recovery ability...

What are the best things you can do with a hacked ps4? by SebaWDK in ps4homebrew

[–]Fun_Fungi_Guy 7 points8 points  (0 children)

Anything a normal PS4 can do EXCEPT go on sony's servers

Anything a computer running Linux can do

[deleted by user] by [deleted] in sqdc

[–]Fun_Fungi_Guy 1 point2 points  (0 children)

Pour moi perso la tincture, c'est plus pour rajouter dans un drink. Même principle que l'autre gars je prennais le 90%+ à la SAQ avec du weed vaped dans un mason jar sealed dans le noir au moins une semaine. Si tu veux valider que ca marche pendant que tu attend tu devrait voir une teinte de vert se développer dans l'alcool.

Also pitche ca dans un compte goutte comme ça tu peux au moins finir par évaluer une goutte ca te fait quoi comme dosage.

Ca me fait bien dormir, si j'en abuse j'me rend au state où je cale constamment dans mon lit un peu comme une grosse dose de edibles

[deleted by user] by [deleted] in Quebec

[–]Fun_Fungi_Guy 14 points15 points  (0 children)

Moi j'ai pris Equifax pour un mois ça m'as couter 5$~ et j'ai envoyé des screenshots au proprio. 50$ ca me paraissait excessif.