1,909 karma · joined Sep 24, 2012 (14y ago) · 1,011 submissions
comment 7y ago · link · parent
comment 7y ago · link · parent
This isn't entirely true. AIUI, Apple enables LCD filtering and subpixel rendering by default, because it knows that you're using an LCD and what the subpixel order is. However, these are usually toggleable via the GUI, and even without them it usually still looks fine.
488.
Upgrade Windows Server 2016 to Windows Server 2019(microsoft.com ↗)
1 points · by Hello71 · 7y ago · discuss
comment 7y ago · link · parent
comment 7y ago · link · parent
comment 7y ago · link · parent
this is so hilariously wrong that it is clear that the author has never actually tried any of the things he complains about.
Python 3.7.1 (default, Oct 22 2018, 10:41:28)
[GCC 8.2.1 20180831] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> if True:
... if True:
... pass
... pass
File "<stdin>", line 4
pass
^
IndentationError: unindent does not match any outer indentation level
same error in Python 2.7.15. the caret is at the wrong place, but the error message is perfectly fine on its own.edit: I checked the CPython source, and this message actually dates back to 2000. so unless the author was using python 1.x back in the 90s, or is dumb enough to use single spaces for indentation, the story is a complete fabrication.
comment 8y ago · link · parent
comment 8y ago · link · parent
For such a large project, there is no such thing as dormant, only rotting. Archiving makes this status clear to potential users.
comment 8y ago · link · parent
comment 8y ago · link · parent
tl;dr "additional functionality" yes, and also some missing functionality.
comment 8y ago · link · parent
#!/bin/bash
set -e
pid=$1
if [[ "$pid" = *[^0-9]* ]]; then
pid=$(pgrep -x "$pid")
fi
lasttime=$((2**64))
while sleep 10; do
read pid comm state ppid pgrp session tty_nr tpgid flags minflt cminflt majflt cmajflt utime stime cutime cstime priority nice num_threads itrealvalue starttime vsize rss rsslim startcode endcode startstack kstkesp kstkeip signal blocked sigignore sigcatch wchan nswap cnswap exit_signal processor rt_priority policy delayacct_blkio_ticks guest_time cguest_time start_data end_data start_brk arg_start arg_end env_start env_end exit_code < /proc/$pid/stat
newtime=$((utime+stime))
if (( newtime - lasttime > 1 )); then
gcore $pid
fi
lasttime=$newtime
done
This one has the benefit of being extensible to handle whatever metric you want, or execute whatever command you want, change the polling period...comment 8y ago · link · parent
Remote: Ambivalent
Willing to relocate: Yes
Technologies: C, shell, Rust, Python, networking, others
Résumé/CV: https://alxu.ca/resume.pdf
Email: see resume
comment 8y ago · link · parent
╔══════════╦═══════╦════════════════╦══════════════════════════════╗
║ Tier ║ Rated ║ Highest Report ║ Highest Report (But Pending) ║
╠══════════╬═══════╬════════════════╬══════════════════════════════╣
║ Platinum ║ 286 ║ 2356 ║ 1467 ║
║ Gold ║ 372 ║ 399 ║ 232 ║
║ Silver ║ 319 ║ 472 ║ 367 ║
║ Bronze ║ 178 ║ 195 ║ 158 ║
║ Borked ║ 245 ║ 1162 ║ 960 ║
╚══════════╩═══════╩════════════════╩══════════════════════════════╝comment 8y ago · link · parent