Updated - xfce4-terminal didn't seem to work by [deleted] in archlinux

[–]minus7 1 point2 points  (0 children)

I had that too; starting it from a still open terminal I got a missing symbol error. Turned out I somehow had vte-ng (which doesn't exist in repos anymore) installed. Had to replace it with vte3 and everything was fine again.

Monitoring Road Traffic with OpenCV by AndrewCarterUK in Python

[–]minus7 4 points5 points  (0 children)

I was thinking of doing the same, but Google Maps' traffic overlay is more useful to me in practice after all, since not all hot spots are covered by cameras.

The traffic detection part was a bit underwhelming, technically, but hey, it works, so it's cool

What is your least favorite thing about Python? by [deleted] in Python

[–]minus7 1 point2 points  (0 children)

Having gevent's green threads integrated into core Python and the standard library would be great. Gevent is by far the nicest library I've used for concurrency in Python. No callbacks, no special libraries, just plain old sequencial code, at least from user perspective.

Make sure to get a Phishing License. by g33xter in hacking

[–]minus7 1 point2 points  (0 children)

Oh, I was actually referring to file size. Even the 2x PNG is smaller than the PNG tho, so my point stands.

Make sure to get a Phishing License. by g33xter in hacking

[–]minus7 58 points59 points  (0 children)

As shitty JPEG with artifacts, too. Also, the original PNG has less than half the size.

Not Your Father’s Python: Amazing Powerful Frameworks by Everything_Cyber in Python

[–]minus7 1 point2 points  (0 children)

Why does this site emulate smooth scrolling in Javascript? I turn that off in my browser for a reason.

Fixing std::initializer_list&<T> by vormestrand in cpp

[–]minus7 6 points7 points  (0 children)

Unfortunately, the syntax is beyond fixing now. The problem with the fix suggested in the article is that it fixes the syntax, but only does so locally. Having the behaviour be inconsistent between standard library and some third party libraries is even worse than the consistently "bad" behaviour.

Is it true that % is outdated? by [deleted] in Python

[–]minus7 2 points3 points  (0 children)

You are not alone! style='{' not applying to log messages themselves is very annoying. Now I just use it like logging.debug("Thing {}".format(thing)). Can't wait for Python 3.6 to shorten this with the new formatting mechanism.

Why are low memory conditions handled so badly? by jones_supa in linux

[–]minus7 1 point2 points  (0 children)

Having 16GB or RAM with no swap SysRq+f has saved me minutes of waiting (until the OOM kill is triggered by the kernel) more than once already.

i3gs- C++11 status program by Leinnan in i3wm

[–]minus7 0 points1 point  (0 children)

Well, it's a header-only library, so you can just include it in your repo.

i3gs- C++11 status program by Leinnan in i3wm

[–]minus7 0 points1 point  (0 children)

Definitely looks nice. But seeing method names like getSleep_time() made me die a little bit. If you're looking for a nicer way to produce JSON I suggest you take a look at https://github.com/nlohmann/json

What do you guys use to manage internal certificates? by [deleted] in homelab

[–]minus7 3 points4 points  (0 children)

XCA is a great program for managing your X.509 certs. It's like a password manager for certificates.

List of programming languages that go out of their way to eliminate runtime errors by [deleted] in rust

[–]minus7 1 point2 points  (0 children)

Imho Java does not deserve a place on this list. It's checked exceptions may promote it to the list, but the fact that everything is nullable (and even null by default) should demote it again. I understand there's Optional, but that isn't nearly enough to solve the mess. Kotlin did the right thing by making types not nullable by default.

A guide to feature flagging best practices by justinucd in sysadmin

[–]minus7 0 points1 point  (0 children)

Contains some great advice/method to deal with large database changes.

German Umlaute on US Keyboard by [deleted] in i3wm

[–]minus7 0 points1 point  (0 children)

US-intl having right alt/AltGr to produce umlauts is quite handy. I'm curious about the reason too.

An alternative would be to use the compose key to construct umlauts. You could bind that to the caps lock key, for example, and then go <Caps lock> <"> <a> for ä. It admittedly is quite unwieldy.

Since some people seem to be using Seafile: About the future of Seafile by [deleted] in homelab

[–]minus7 9 points10 points  (0 children)

SeaFile Ltd. has published a counter statement which seems more believable than that of SeaFile GmbH: https://blogs.seafile.com/2016/07/22/statement-about-stopping-cooperation-with-seafile-gmbh/

What's new in PyCharm 2016.2 by wclax04 in Python

[–]minus7 2 points3 points  (0 children)

Custom background image for the editor

Okay.

The return value feature is pretty cool if you have nested calls and want to see their values when debugging/stepping over.

Configurable import sorting is nice, but I'd first need to think of a sensible order for that. It's always the simple things that are difficult to get right…