Annoying Bugs
@AnnoyingBugs
Followers
16
Following
97
Media
20
Statuses
277
boost::hash for our resource names (long common prefix + 18 random characters) always returned value divisible by 8. Not the best algorithm to pick a shard id.
0
0
0
How many external dependencies does your service have? Me: Zero. SVG loader: Am I a joke to you? y.c.a.ServiceApplication: Not started: Server returned HTTP response code: 503 for URL:
0
0
0
RandomStringUtils.random might break if locale is non-Unicode compatible and will produce string of question marks: Method exited: return value = "????????", "thread=main", org.apache.commons.lang3.RandomStringUtils.random(),
0
0
0
Windows/KDE/MacOS UX Engineers: write thorough guides on UI design and follow it. CLI Tool Developer: I like -r/-f/-i switch for input file names. Or an argument. Or only support stdin.
0
0
0
Thank you for useful tip, machine. MissingSchema: Invalid URL 'None/some/path': No schema supplied. Perhaps you meant http://None/some/path?
0
0
0
Not all digits can form a number: > Note this depends on what exactly you mean by 'int'. E.g. is ٢ an int? IsDigit says yes but strconv.Atoi fails to parse it https://t.co/JZ0VUqu73q
0
0
0
Number of wrappers around subprocess in #python I've written as of today: 284^W 285
0
1
1
My first attempt with GRPC: accidentally written my code to connect to `50054:localhost` GRPC tries to resolve localhost into a service in LDAP in infinite (?) loop. Technology is not simple this days.
0
0
0
_get_newest_kernel_rhel in DKMS is very specific: if [ `echo $LIK_FORMATTED_NAME | grep 2.6 >/dev/null` ]; then NEWEST_KERNEL=$LIK_FORMATTED_NAME
0
0
0
Providing an example of singleton for class Employee. Hmmm. https://t.co/hzBm0wQdz3
0
0
0
Python's deepcopy won't break references in this case because it has "memo": >>> a = {} ; b = {"a": a, "b": a} >>> c = copy.deepcopy(b) >>> c['a'] is c['b'] True
0
0
0
My Android phone: Your memory is 95% full Also, my Android phone: You can't install file manager to clean up unused files, because your memory is 95% full
0
0
0
Oh the irony, BitBucket REST client is hosted on GitHub: https://t.co/FdYBUXsAPK
0
0
0
So `a is not None,` is a valid expression in Python and resolves to True when a=None (because the right side is tuple).
0
0
0
My personal growth as a developer: 1st company: Uses 192.168.0.0/16 for intranet 2nd: Uses 10.0.0.0/8 Current: Uses IPv6 because IPv4 is not big enough
0
0
1
So pybuild in debhelper generates package names in format python3?-${PYBUILD_NAME} unconditionally. If you want to have different package naming scheme, you'll have to write some perl :(
0
0
0
13:00 Trying to launch a game through Steam on my #Linux box 21:00 Submitting patch to LKML fixing VFS
0
0
0