2015-10-23 at 6:34 PM UTC
The following users say it would be alright if the author of this
post didn't die in a fire!
2018-11-25 at 6:59 AM UTC
gadzooks
Dark Matter
[keratinize my mild-tasting blossoming]
Oh man, and don't get me started on how awesome list/dict comprehensions are in python.
OMG.
2018-11-25 at 7:17 AM UTC
gadzooks
Dark Matter
[keratinize my mild-tasting blossoming]
Like I just realized how easy it would be, using python, to, say, find the post with the most Thanks, using so little code:
most_thanked_post = sorted([sorted([(post, post.thanks) for post in subforum if post.thanks > 0*], key = lambda x: x[1])[-1] for subforum in forum], key = lambda x: x[1])[-1]
At least I think that would work.
Then again, I wouldn't consider anybody a complete moron for not being able to interpret that immediately, even as a skilled/experienced developer, BUT, it just is really kinda cool that you can technically do all that in one line.
* Stricken out because technically not necessary.
EDIT: For the record, I tested it, and it works (using a collection of mock posts with a thanks attribute (an integer representing how many it has received), divided into subforums).
2018-11-25 at 9:07 PM UTC
gadzooks
Dark Matter
[keratinize my mild-tasting blossoming]
Y u no take interest in programming threads NIS?
Who else besides Lanny, Sophie, and myself are programmers here?
And not necessarily as a job, but even enthusiasts/hobbyists?
2018-11-25 at 9:14 PM UTC
SpectraL is the greatest hacker of all time. filtration and apt (RIP) are legit, though.
The following users say it would be alright if the author of this
post didn't die in a fire!
2018-11-25 at 9:15 PM UTC
Ohh and aldra of course. He's wicked.
2018-11-26 at 1:17 AM UTC
Probably not dead, or probably not suicide, or both? He certainly hasn’t been around much.
2018-11-26 at 1:30 AM UTC
gadzooks
Dark Matter
[keratinize my mild-tasting blossoming]
So we have Sudo and we have apt.
Do we have any posters by the name of install or update?
2018-11-26 at 3:33 AM UTC
The caption is literally what I think when the crack runs out.
The following users say it would be alright if the author of this
post didn't die in a fire!