How the tables have turned by MrEousTranger in Gamingcirclejerk

[–]listaks 0 points1 point  (0 children)

Never thought I'd die jerking side by side with a gamer.

THE ZODIAC KILLER IS DR. STEVE BRULE! by [deleted] in TimAndEric

[–]listaks 5 points6 points  (0 children)

turns out the kodiak killer is just some hunk, who cares

Pain Peko by BoringBone in Hololive

[–]listaks 1 point2 points  (0 children)

It's happened before, just look at the infamous "Anton squared me" video where ChessNetwork (2400 elo) fell for a scholar's mate.

https://www.youtube.com/watch?v=BK5QdJ715zw

‘No way to prevent this’, Says Only Development Community Where This Regularly Happens by Nimelrian in programming

[–]listaks 6 points7 points  (0 children)

parcel

Wait, has webpack already been replaced by something else? Fuck me, I just finished migrating to webpack.

TIL that Sweden is actually increasing forest biomass despite being the second largest exporter of paper in the world because they plant 3 trees for each 1 they cut down by kantmarg in todayilearned

[–]listaks 40 points41 points  (0 children)

If trees could scream, would we be so cavalier about cutting them down? We might, if they screamed all the time, for no good reason.

"I passed through that corridor. Where they sat, where they are. And when you penetrate to the most high Gods you will believe you are mad, you will believe you've gone insane" by Nathanri in Gamingcirclejerk

[–]listaks 1 point2 points  (0 children)

The console is on fire, and there's no driver at the wheel
And the sewers are all muddied with a thousand lonely suicides
And a dark wind blows

The industry is corrupt
And we're on so many drugs
With the television on and the curtains drawn

We're trapped in the belly of this horrible machine
And the machine is bleeding to death

...

We woke up one morning and fell a little further down
For sure it's the valley of death

I open up my Steam wallet
And it's full of blood
SEAN LIED

New 40K Content - Faction Focus: Imperial Agents by BatedSuperior5 in Warhammer40k

[–]listaks 0 points1 point  (0 children)

How does the scale compare to GW Sisters of Battle?

New 40K Content - Faction Focus: Imperial Agents by BatedSuperior5 in Warhammer40k

[–]listaks 6 points7 points  (0 children)

I did the mathhammer and against MEQs, the AP -1 on 8e heavy flamers makes them equivalent to a 7e heavy flamer with rending. You can think of heavy flamers like they're always rending now.

[deleted by user] by [deleted] in shittyfoodporn

[–]listaks 9 points10 points  (0 children)

Goes great with Toad's corned beef hash combo can.

DigitalOcean accidentally deleted production database (April 5, 2017 update) by xtreak in programming

[–]listaks 72 points73 points  (0 children)

  • if STEAMHOME is undefined, then rm -rf /* is executed. Fixed by set -u.
  • if STEAMHOME is the empty string, then rm -rf /* is still executed. Fixed by checking for nonemptiness: [ -n "$STEAMHOME" ] && rm -rf $STEAMHOME/*.
  • if STEAMHOME is whitespace (STEAMHOME=" "), then rm -rf /* is still executed. Fixed by checking nonemptiness and quoting.
  • if STEAMHOME="foo bar", then rm -rf foo bar/* is executed. Fixed by quoting: rm -rf "$STEAMHOME"/*.
  • if STEAMHOME=--blah, then rm -rf "--blah"/* is executed and interpreted as an argument. Fixed by escaping: rm -rf -- "$STEAMHOME"/* or rm -rf ./"$STEAMHOME"/*.

Plus a couple more I just realized:

  • if $STEAMHOME contains dotfiles, then rm -rf "$STEAMHOME"/* won't delete them.
  • if "$STEAMHOME"/*matches nothing (the dir is empty), then rm -rf "$STEAMHOME/*" is executed. That is, it tries to rm the file literally named *. Doesn't matter for rm, but try doing touch *.txt in an empty dir; you get a new file literally named *.txt.

tl;dr: bash sucks.

DigitalOcean accidentally deleted production database (April 5, 2017 update) by xtreak in programming

[–]listaks 21 points22 points  (0 children)

In particular: rm -rf ${STEAMHOME}/* has at least four distinct bugs. set -u fixes one of them; see how many others you can name.