mvee

@mvee@lemmy.ml

This profile is from a federated server and may be incomplete. Browse more on the original instance.

mvee,

Interesting, I would start with a Wireshark capture of the dns traffic to get a better idea of what’s going on.

mvee,

I’m interested in this as well. Also is anyone using libre accounting or crm software? Gnucash seems legit, I’ve never used the foss crm stuff but it also seems good from the outside

mvee,

Technically this should be the behavior of os.remove when called with no arguments

mvee,

Exactly, just remove the os 😅

r/selfhosted is still rising, WTF? Come to Lemmy!!!

Hi all! I used to be a daily r/selfhosted lurker and a bit active user. Since the Reddit saga I thought that r/selfhosted would be one of the first and bigger community to move to Lemmy due to the IT knowledge of all of their users and the sensitivity about self host/privacy/open source, but I see that not only the community is...

mvee,

Hmm does Lemmy need search engine optimization? I have no idea how seo works these days :/

mvee,

I’m gonna have to borrow this book

mvee,

Better apply for a mutable library card now before someone else does

mvee,

Bloat and coersion from canonical when using Ubuntu.

Also I hate typing mount on my home machine and sifting through a sea of mountpoints.

My first website (lemmy.ca)

Hello, This is my first website and I want some feedback from you guys. It’s very basic and I haven’t added much. just wanted to host something so I threw invidious and whoogle instance there. My ISP doesn’t provide a static IP so I had to host it on tor :( what else do you think I should host there? server spec: 15 year...

mvee,

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

mvee,

Have you factored in your power costs? I never do :P buuut with older machines you get closer and closer to burning enough power to justify a hosting bill.

mvee, (edited )

You could get a free oracle cloud instance www.oracle.com/cloud/free/

Free dns freedns.afraid.org

Then use letsencrypt to get free SSL certificates

Then you’ll have a site that is secure and validates correctly with almost all web browsers.

You could run services in oracle cloud, or use ssh or OpenVPN to proxy traffic to your home server, or other providers free tier machines

Working on my first real python project - an API wrapper for a Go server I play on - Looking for advice / tips! (gitlab.com)

I have done plenty of basic scripting for work, but this is my first “real” project, and wanted to see what real python experts think of it and see if there is anything I might be doing horribly wrong lol....

mvee,

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,

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,

Quick! Deploy Xwayland before it’s too late!

mvee,

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,

No, I like living in my nat cocoon so I don’t have to worry as much about all the devices on my network. Jk it’s turned on, but I don’t usually enable it on devices

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • rosin
  • thenastyranch
  • mdbf
  • DreamBathrooms
  • everett
  • magazineikmin
  • GTA5RPClips
  • Youngstown
  • cisconetworking
  • ethstaker
  • slotface
  • ngwrru68w68
  • kavyap
  • provamag3
  • cubers
  • InstantRegret
  • Durango
  • osvaldo12
  • modclub
  • tester
  • Leos
  • khanakhh
  • normalnudes
  • tacticalgear
  • megavids
  • anitta
  • lostlight
  • All magazines