[-] maor@lemmy.org.il 4 points 1 year ago

Me with every post here

[-] maor@lemmy.org.il 5 points 1 year ago

I guess they were referring to formatting other than tabs, like place of brackets and line length, which sounds like a neat idea

[-] maor@lemmy.org.il 7 points 1 year ago

He's literally me that's why I posted. Commenters won't get it

357
Anon is bewildered (lemmy.org.il)
submitted 1 year ago by maor@lemmy.org.il to c/greentext@lemmy.ml
55
submitted 1 year ago by maor@lemmy.org.il to c/linux@lemmy.ml

Saw the post here regarding CentOS's off-springs and a couple of people brought up the excellent point of: why play with fire? Let's just stick to Debian.

The only disadvantage I currently see is the outdated packages, and I'm curious whether makedeb solves them. Does anyone here use it regularly? How stable and comfortable is it? Did you write your own PKGBUILDs?

[-] maor@lemmy.org.il 11 points 1 year ago

can only get 25 hrs a week because obongocare

Uh can an American explain this? Obamacare sets a cap for weekly working hours?

[-] maor@lemmy.org.il 16 points 1 year ago* (last edited 1 year ago)

I feel the same and I've been using Python for years professionally. It's the lack of examples for me; usually functions and classes aren't meant to be used as-is but rather fed as an argument into some other function or class, and this info is seldom portrayed in the func's documentation. E.g. the documentation of BaseHTTPRequestHandler is one that I trip over every single time, I have to resort to reading the source code of SimpleHTTPRequestHandler to remember how handlers are supposed to be defined 🐺

[-] maor@lemmy.org.il 5 points 1 year ago

It's okay we all know the answer

[-] maor@lemmy.org.il 17 points 1 year ago

get-with-the-times-old-man.tar.xz

69

One of my fav Python writeups. I love Python and luckily I get to dictate how it's being written in my job, so I'm forcing types down the through of my colleagues. Saved a bunch of debugging time, so I can waste more time on Lemmy while still getting paid. Good shit

[-] maor@lemmy.org.il 4 points 1 year ago

Thanks a lot, I was looking for this exact kind of community. Posted there <3

28
$ cd lemmy-dir
$ du -sh *
456K    lemmy-ui
15G     pictrs
4.3G    postgres

Guys this is no longer funny please I feel literally chased by the "no space left" message. Please help I don't need those pics I did not upload them

[-] maor@lemmy.org.il 13 points 1 year ago

I really liked unity 😞

[-] maor@lemmy.org.il 20 points 1 year ago

Love me some systemd timers. Much more fun than cron.

  • Sane handling of environment variables with EnvironmentFile=
  • Out of the box logging. Especially useful is the ability to journalctl -f to watch long-running processes, which I'm not sure whether possible with cron
  • The ability to trigger the service manually rather than setting the timer to * * * * *, then forgetting it's supposed to run in a minute, get distracted, come back in 15 minutes

My only complaint is it's a bit verbose. I'd rather have it as an option inside the .service file. The .timer requires some boilerplate like [Unit].description (it... uh... triggers a service. that's the description), and WantedBy=timers.target. But these are small prices to pay

[-] maor@lemmy.org.il 6 points 1 year ago

Was it unofficial? I thought it was merely opt-in, but still official

[-] maor@lemmy.org.il 9 points 1 year ago

Wettest dream

3

Y'all should try it! I loved seeing it popping on other instances' /instances page, and seeing it polling other communities. Also changing the background in my theme was lit.

Lemmy's hosting documentation is a bit rough around the edges, especially the ARM situation (and its contemporary solution), so I had some extra tinkering to do. No shade at all yeah? I appreciate every bit of their work and I jotted down some points that I need to consolidate into a documentation PR soon.

Anyway, I feel like the extra @... on our usernames should be worn as a badge of honor you feel me? ;)

view more: next ›

maor

joined 1 year ago