mvee

joined 3 years ago
[–] mvee@lemmy.ml 1 points 1 year ago

You're right, I'm being judgemental about the English stuff... I think Im just especially suspicious of software that is written by people who clearly have the skills to pwn my machine when the software has access to ring0 and is used to boot and install entire oses. It's a malware gold mine. Even if the project is completely on the level, it's a high value target for adding malware because of the level of control you get over a machine (just like grub or syslinux of course, I'm mainly thinking about iventoy for that point). Plus as an American I'm definitely automatically more suspicious of software from China :/ not great but it's true.

[–] mvee@lemmy.ml 2 points 1 year ago (1 children)

I think what you have is the perfect amount of complexity, and easily extendable. I use callbacks like this all the time in my code, but also my users are part of my team at work so they don't have far for help when the callback API isnt clear :P most of my users dont even know callbacks are a thing.

If your list of supported events gets large or you want to cheaply support future changes to the server, you could pass all event names and data through a handler callback and make users handle multiple event types.

One of the things that makes plain callbacks nice is it's an easy way to let your users decide how they want to integrate with your library. If your callbacks are called from a background thread, it's up to the user to figure out how they want to pass the event to other threads. Async users can use their runtime of choice to submit tasks from a callback.

[–] mvee@lemmy.ml 3 points 1 year ago* (last edited 1 year ago) (3 children)

Kind of silly since python is basically source code in wheel form, but you have the package on pypi listed as gpl3 but don't provide a source repo link.

Also, I write worse code than this and get paid a lot for it :P don't sell yourself short

I would import whatever functions you want users to use often in the init script of the ogsapi module ... But idk python packages are all over the place with stuff like that, it's definitely not required.

[–] mvee@lemmy.ml 32 points 1 year ago (1 children)

I'll have it done by the end of the week

[–] mvee@lemmy.ml 4 points 1 year ago

Any kind of mechanical work would be easy if you can selectively phase through matter, way better than evading assailants or sneaking around.

[–] mvee@lemmy.ml 1 points 1 year ago

I like my users to have an interactive experience where they have to select the text in order to read it

[–] mvee@lemmy.ml 3 points 1 year ago

This reminds me of how I discovered that building a Linux kernel is actually super easy if you just need to add a few drivers

[–] mvee@lemmy.ml 1 points 1 year ago

Quick! Deploy Xwayland before it's too late!

[–] mvee@lemmy.ml 4 points 1 year ago (7 children)

The sketch factor on this software is over 9000. I would never run it

[–] mvee@lemmy.ml 3 points 1 year ago (2 children)

That site gives me sketchy vibes. Lol maybe because one of the nav items is just named "Document"

[–] mvee@lemmy.ml 6 points 1 year ago (1 children)

I mean what even are new memes?

[–] mvee@lemmy.ml 6 points 1 year ago

Blender is the model open source project :P

view more: ‹ prev next ›