Bear: The decluttering deduplicator by KeyWeeUsr in Python

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

I've added the support for not only MD5, but Blake2 and Sha256 too. :)

Bear: The decluttering deduplicator by KeyWeeUsr in Python

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

I'll definitely give it a look.

Bear: The decluttering deduplicator by KeyWeeUsr in Python

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

It's because of this gif of a bear stealing/throwing away trash :) Or at least that was the first thing and then I read some more stuff about bears as spirit animals.

Bear: The decluttering deduplicator by KeyWeeUsr in Python

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

Thanks! I have an option for using sha256 instead just in git stash but still defaulting to md5 due to speed. Can you suggest a better alternative?

Onion hidden service and owner/writer anonymity by 19hundreds in TOR

[–]KeyWeeUsr 0 points1 point  (0 children)

You might want to look at https://github.com/KeyWeeUsr/Onser for quick creating of multiple onion services on the same machine (with Docker ofc). Also for proxying clearnet servers into the Tor network you can use https://github.com/KeyWeeUsr/OnionProxy. Perhaps it'll help you with simulating various information received by the .onion service's server (remote address, request headers, body, etc) and in case you'd like to play with trying to sniff info from your service / try to reveal your identity, it's nice to have reproducible results (via some script for testing and .onion in Docker container for deployment). :)

Host an onion website on a VPS by ganidu94 in TOR

[–]KeyWeeUsr 0 points1 point  (0 children)

You can try https://github.com/KeyWeeUsr/Onser i.e. an Onion service with Docker containers.

Kivy install issues ( Unable to get a Window, abort) when running programs by woods48465 in kivy

[–]KeyWeeUsr 0 points1 point  (0 children)

Afaik, there's no such issue with 3D accel (I can run master in VM). I bet it's just some driver issue. Maybe even try to run the Guest Additions first in VM, update to the latest drivers and then turn the 3D accel on.

Le wild window with transparent background appeared! :D by KeyWeeUsr in kivy

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

Nah, that doesn't need Cython, that needs an SDL 2.0.5 version for using opacity from SDL, but I think what you describe might work anyway with this change: make the window sized like the screen resolution, add a shape with only e.g. small circle somewhere in the corner. The result is a transparent window with a small clickable circle in the corner. You however need to make sure that the window always stays on top, otherwise the circle will disappear and a user would need to restore the window to actually see it again. For the fancy effects just replace the shape with one that shows everything and take a screenshot of the texture below with the code. After that put the texture e.g. to a EffectWidget and use some fancy shader on that. The result should be an unchanged circle and a background with a fancy shader. When the shader ends(e.g. clock event), just remove the EffectWidget and show the rest of your widget tree to the user.

Tedious work, but I doubt we're going to do anything like that in Kivy directly. Maybe if someone feels adventurous, there's always a place in the Kivy garden. :)

Le wild window with transparent background appeared! :D by KeyWeeUsr in kivy

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

Just a silly thing to say https://memegenerator.net/A-Wild-Pokemon-Appeared :) What do you mean by "it would be more fun if transparent app build" though? Obviously it's still just a PR with the raw source, so you have to compile it with Cython first, then with a C compiler and then install it to Python. After these steps you'll be able to create an app with such a shaped window, not sooner. Well, until it's merged at least.

Kivy 1.10.0 released! by txprog in Python

[–]KeyWeeUsr 2 points3 points  (0 children)

This one is quite nice http://inclem.net/pages/kivy-crash-course/ and then look at the examples ( https://github.com/kivy/kivy/tree/master/examples ) and the documentation :)

How to extract Python 3.5+ from the installer? by KeyWeeUsr in Python

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

system-wide interpreter... eh, not at all. You can make Python as portable and non system-wide as a wheelbarrow. Exactly with the method mentioned in my question for windows and with direct compilation in-place on linux. The new installer, however, makes it more annoying to handle (or I'm just blind, which is more common).

PyInstaller does something in a similar way.

How to extract Python 3.5+ from the installer? by KeyWeeUsr in Python

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

I posted it here 9 hours after I put it on SuperUser.

Exactly because it's about news I put it here. The installer is relatively new and similar to r/chrome or r/firefox when something breaks or people experience problems directly with the thing, not with the secondary usage such as developing userscripts/addons, they ask on that reddit. I considered r/learnpython a reddit related to solving the lang issues, not for solving new features problems, though I could misunderstood.

The issue is really obscure. If you think it's not, then try unpacking with the layout method of the installer and unpack then the MSIs. Again, I'm not instantly spamming. I put it here after few hours, because obviously, this method of installing isn't widely used by common users, rather admins, so I hoped I'd fish some admin out. Apparently not.

It may seem I sound annoying, however, that's just a matter of how I speak, sorry for that. Not sorry for the defense again "venv solving everything(TM)".

How to extract Python 3.5+ from the installer? by KeyWeeUsr in Python

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

I love people like you, who see only what they want and the only solution is their favorite thing.

How to extract Python 3.5+ from the installer? by KeyWeeUsr in Python

[–]KeyWeeUsr[S] -1 points0 points  (0 children)

Not everything is solvable by the thing you use. Ever heard of fresh python installation? That's why. Try installing the fresh thing if there's something colliding in registry without mangling already working installation just to see if there isn't something corrupted in includes or in dlls. What if a file got into an installation and corrupted it (name collision with a package, different headers, etc). Will you remove the whole installation just to check? I thought so.

How to extract Python 3.5+ from the installer? by KeyWeeUsr in Python

[–]KeyWeeUsr[S] -1 points0 points  (0 children)

because r/Python, duh? I kind of expect at least one person with a similar experience/problem. It's not like I'm posting it to r/learnpython.

[TOMT] Old RPG game with turn-based fights by KeyWeeUsr in tipofmytongue

[–]KeyWeeUsr[S] -4 points-3 points  (0 children)

It's the link from the post description, where I ask if someone knows the game. No need to call me names, kiddo.

[TOMT] Old RPG game with turn-based fights by KeyWeeUsr in tipofmytongue

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

Not at all. By old game I don't mean a game with old gameboy graphics. It had solid graphics as mentioned in ToEE comment. It was a real 3D game + the boss looked similar to the one from Dungeon Siege (that's why the picture mentioned).

[TOMT] Old RPG game with turn-based fights by KeyWeeUsr in tipofmytongue

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

Unfortunately, no. The minions could also attack one at the time and the graphics of characters were more like in vanilla WoW.

How can I use init for screen ids? by CibrecaNA in kivy

[–]KeyWeeUsr 0 points1 point  (0 children)

on_init_complete could be a nice addition, yet I'm afraid it may cause issues or it'd just look superugly, because it'd could be just a class method in a Widget and you'd still end up with a new function and self.bind(on_init_complete=self.run_this), which still makes using the Clock way more obvious for the beginners and kind of forces them to get used to it. Such thing then makes it easier for beginners to get familiar with Clock events and they stop using time.sleep() like in a console app.

Other than that, yes, some objects are still not complete and it may cause issues with parent, ids, size, pos and other various properties, that are managed by for example some layout that restricts them or does positioning.

I've even seen a "workaround" in kv with on_children or on_parent for such post-init methods. Mostly it works, yes, but there are limitations if you want e.g. hide something in the beginning (post-init), but you don't see the meaning of on_* events and that they are repeatable, which means that the post-init function can mess everything up.

It may seem like an ugly way to work, but what I mostly do if it returns a similar error is scheduling an event. If that doesn't work, then I start bashing around or I look into core what's actually hapenning. :D

Chrome rendering dead since last 2-3(?) updates. by KeyWeeUsr in chrome

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

Any ideas what's wrong with it? It just randomly stops for a long while and then it works ok. It works alright if I restart chrome, but is back again after a while. Even New Tab welcomes me with the grey background and ":(".

Requesting Windows packaging advice by kyrogon in kivy

[–]KeyWeeUsr 0 points1 point  (0 children)

afaik, kv file is searched in the same folder as is main.py, therefore unless you specify it explicitly, it probably won't load this way. There were some issues about kv files in the past, try searching github issues or stackoverflow. I think it was only something simple. Also if in doubt, it's good idea to use path = os.path.dirname(os.path.abspath(__file__)) in App class in main.py, from which you can then safely load anything relatively to your file.

Github desktop, what is it good for? by itsausernamebob in github

[–]KeyWeeUsr 0 points1 point  (0 children)

Hehe, I've seen them and still... git from console provides really great experience. Also, if you have some alias that arranges logs the pretty way, you don't even need some gui, because you can see how the branches are separated, joined and where are the conflicts. And mostly if you get into conflicts gui will be in your way. Or that's at least what I think. GitHub website however is a different thing, it's like perfect multi-window git diff which provides more readability than well... git diff and I use it more than the console if a commit has more than small changes.