« first day (945 days earlier)      last day (2843 days later) » 
06:00 - 17:0017:00 - 00:00

6:21 AM
posted on December 01, 2015

New Cyanide and Happiness Comic

 
Heh, sweet, got a reversal badge tonight. Shame it's on meta, though.
 
Abe
7:25 AM
I'm gonna need a bigger coffee cup. https://t.co/wabYvCsvm3
morning.
 
7:43 AM
Hello
I'm doing a project and I own a paid server. But for this project I can't use my own server. The only one interesting that I found is 5gbfree.com. Are there other providers that you would recommend ?
 
8:04 AM
@Poteito managed or unmaneged?
@Abe dat episode
 
Abe
DAT
 
This season has been legit
 
Abe
i predicted the kid would have gotten killed but it didn't happen
 
me 2 :/
I wanted him to die
now his idiot brother is gonna get everyone killed
that entire family has been nothing but a pain in the ass
 
Abe
true, and rick didn't even bang the milf
btw, she's hella hot
 
8:14 AM
yup
rosita and maggie >
 
Abe
they are all hella hot
 
lol
 
Abe
includes carol, tara, michonne
 
hahahahha
 
Abe
and sasha
 
8:17 AM
basically anything that moves in the walking dead and happens to be female
 
Abe
correct
for different reasons of course
carol is hot because is bad ass
for instance :D
........tara is hot because has massive b.
 
broooo I know it's the end of the world but damn have some standards :P
 
Abe
ahahaha
can't tell which i prefer more
maggie is hot but dumb sometimes
 
Hate that she's pregnant :/
she's gonna go like lory
 
Abe
lol
probably tara is the one i prefer though
has the best attitude, and she's hot
 
8:23 AM
lol
Stereotype confirmed, italians like meat on their bones
She's had her share of pasta ;)
 
Abe
nah
it's not that
 
@Kitler What do you mean by managed ?
 
Then you want a managed one :P
 
lol
 
you could try namecheap
they give you the first year for ~9.99$
renewal is ~34$ i think
 
8:34 AM
I'm sorry, I forgot to mention that it has to be cost free :/
 
ah lol
what are you hosting on it?
 
Only basic html css javascript maybe php later but not sure
apache and ftp should be enough
 
divshot.com <<< this will work for everything without php
heroku.com << php but turns the server off 6 hours a day
 
Thx kitler
 
You can get creative and host your front end on divshot and the server on heroku
 
8:54 AM
f*ck. Then why am I still caring about IE 9? .-.
 
because someone paid you to do it?
 
@Kitler naw. ;-; i cri
 
crl
Can I have an HTML element with a funky shape? (the difference between a rectangle and a smaller inside one, ie. a rectangle without the inside)
 
@crl try svg
 
crl
ah god point, thought of it
 
8:57 AM
Tho, you can try that simple shape with background:none; and border;
 
pic of shape you're trying to make
 
Abe
suddenly a penis drawing appears
that would be easy to make, though
 
lol
 
crl
lul
 
8:59 AM
why not dickbutt?
 
crl
@Osmond the thing is that I put a high z-index on it, and with a full rectangle it captures the drop event which I wouldn't like
 
@crl oh
 
Is it possible to get the sum of an array(javascript) without using a loop ?
 
crl
reduce
 
array.length?
 
crl
9:01 AM
!!> [1,2].reduce((a,c)=>a+c)
 
@crl 3
 
.length gives me the size of the array
 
I know it's possible and all, but can anyone recommend a good/easy way to have wordpress expose REST endpoints and build the frontend in angular instead of using a regular theme?
 
crl
thanks, I think I'll need a path.. even for that simple rectangular shape
1
Q: svg - draw hollow rectangle(rect donut)?

user1634692Can anybody help me with drawing hollow rectangle with svg WITHOUT using any js lib(e.g. Raphael)? In basic, it should be same idea as "donut shape" but rectangle. something like this:

 
9:07 AM
var total = [0, 1, 2, 3].reduce(function(a, b) {
  return a + b;
});
// total == 6
What is a and what is b ?
 
crl
a is accumulator, b is current value
!!tell Pot mdn reduce
 
I searched that but I don't get it
 
crl
read more, that'll come
 
lol, who invited me to JamExchange? XD
 
9:08 AM
Yo o/ !
 
eyo
 
crl
<path d="M10,10h100v100h-100zM20,20v80h80v-80z" fill="yellow" stroke="black"/> Can someone explain those strange units?
 
you ll want to give reduce something to start off with
var total = [0, 1, 2, 3].reduce(function(a, b) {
  return a + b;
}, 0);
 
crl
M, h, v, z
also the current index is the 3rd arg of reduce, and array the 4th
 
@crl h = horizontal, v = vertical, I guess.
 
crl
9:12 AM
ok
 
Adobe Illustrator is best for making paths.
 
crl
I'll have to dynamically change it in JS
 
I once read that they copy the path and paste it to <path>.
 
crl
oh M is move to x,y
 
can anyone tell me one stop resource for learning css internals. Man the properties are so confusing and I have never come across a tutorial that explains everything very well
 
crl
9:14 AM
and z is ..zip (close path)
!!tell Fai mdn
 
@Kitler I just created a function
function fAverage2(pArray){
    return pArray.reduce(function(previousValue, currentValue){ return previousValue + currentValue });
}
 
thanks s much @CapricaSix
 
CapricaSix aka crl :P
 
lol
I haven't tried IE10 and MS ended it's support. y u gotta be meany, MS? ;-;
!!tell Fai robot
 
9:29 AM
@Osmond Command robot does not exist. Did you mean: riot, bot (note that /tell works on commands, it's not an echo.)
 
I suck at this. -.-
 
@Osmond bot
 
@MadaraUchiha ik
 
well hello there
 
Herro
 
epic
 
op af
 
crl
!!> [1,2].reduce((a,v)=>[...a,v], [])
 
@crl "TypeError: a[Symbol.iterator] is not a function"
@crl "1,2"
 
10:36 AM
Did we ever decide if it was bad practice to use bool && function(); in JS?
@MadaraUchiha I remember you having a viewpoint on this
 
@Sippy I think we came to the conclusion that it's ugly, but has it's uses...
 
10:53 AM
@Sippy bool && func(); is okish
func1() && func2() && func3(); is not.
 
Well, I can imagine how that'd be useful...
 
@MadaraUchiha That line gives me anxiety so that's a good sign.
 
@Sippy It would have been useful, if Errors weren't a thing.
 
11:24 AM
funciton seems like a nice band name
 
I m starting to understand why people hate rails
active record is a complete fucktard if you need to join shit
 
@MadaraUchiha why?
Oh wait, it's not in an if statement but only executing functions if the previous function was truthy right? Yeah, that seems bad.
 
anti if people push for that
jshint looses it's shit :P
If statement makes it more readable
 
Abe
@Kitler yo mama
 
is phat?
 
Abe
11:35 AM
haha
just annoying you with an useless ping, though :D
 
@Abe <3
 
Abe
lol
haha
 
@StephanMuller Shorthand for if (func1()) { if (func2()) { return func3(); } }
 
I actually really like bool && func();
To me that seems very readable..
I think I avoided it before because I asked a bunch of coworkers and none of them had any idea what it would do.
 
11:49 AM
such indentation
 
12:04 PM
Why AngularJS data binding is working only one time inside a foreach loop of Ghost blogging platform
 
12:51 PM
@Kitler cant tell if serious...
though haskell doesnt really use if statements, its preferred that you use pattern matching instead. also, you cant have an if without a corresponding else
 
greetings!
 
1:07 PM
hoi
what does it mean left: 0; right: 0; on an absolutely positioned element
i mean how does it work
 
@shortCircuit what do you think it means?
 
I don't think ad far as I have seen its used for centering elements .. feels like width: 100%
 
Not that easy to make a nav ul li a : hover where you have a border-top and border-bottom effect when hovering
 
@shortCircuit does it make the element 100% wide?
 
no, it doesn't . :P because width: 100% without left/right: 0 doesn't give the desired result
 
1:11 PM
what kind of element?
 
fiddle or it didnt happen
 
hihi
 
I don't think something with width: 100% is supposed to have a left/right: 0 and vice versa... frowns
 
@VictoriaS. based on what?
 
1:18 PM
@BoltClock, are you around?
 
based on my current knowledge of html/css
 
there is a little display flex on body .. but please ignore that
 
youre looking for answers in the wrong location. developer.mozilla.org/en/docs/Web/CSS/right
> For absolutely positioned elements (those with position: absolute or position: fixed), it specifies the distance between the right margin edge of the element and the right edge of its containing block.
 
hah. weird. okay. today I learned
 
1:37 PM
@cimmanon "campaign" died early on :P
 
it seems more like a campaign for proper indentation than for doing away with if/else statements
 
crl
I don't get why people like parallax effects getuikit.com/docs/parallax.html seems useless/confusing to me
 
@crl A very subtle one can make the experience more enjoyable but the vast majority are distracting/not used well
 
crl
1:52 PM
hmm ok, thanks
 
starts today
if anyone has time to waste
 
nice, thank you
 
first day is cheap
but I bet day 2 will be hard
 
!!tell rlemon fu
3 messages moved to Trash
 
2:25 PM
@easwee day 1 down \o/
 
\o
damn latest ubuntu update to 15.10 messed lightdm so badly took me 5 hours to get it back
 
crl
nubuntu (jk it's a good OS)
 
blame nvidia
on desktop pc it went through without problems
amd
 
crl
2:58 PM
Is there a smarter way to do this: jsfiddle.net/crl/0803vkd4 (see the long ass css to apply the red bg)
 
Step 1: use <table> when you want to make a table
 
crl
yeah :), ok for you
 
also whaaaaaaaat the hell
JSFiddle is white now
 
crl
holy shit fiddle changed their css
yeah same time
 
that dude needs to stop fucking with the styles and just fix the functionality
 
crl
3:03 PM
that's ass ugly, well I need time to get used
 
why didn't you start with a table?
 
Luckily color:white on #actions .actionItem a.aiButton and background: #00529B on #actions fixes the change
though that's not quite the same shade of blue
FUUUUUUU and keyboard shortcuts are gone
 
crl
ok ok making that damn table, thanks :)
 
I mean, to be fair, what you're trying to do would probably be better with css grids, but unfortunately that's not really supported well yet
 
crl
Array.from({length:10}, _=> '<tr>'+Array.from({length:10}, _=>'<td><span></span></td>').join('')+'</tr>').join('')
@TylerH yea, nvm it's ok with a table
 
3:10 PM
also I'm pretty sure the header of jsfiddle isn't supposed to be white, because the logo is hidden
 
sigh stupid users and their feature requests that totally make sense but completely invalidate my data model :-(
 
#tableSelectionGrid > div:nth-child(-n+3) > .cell:nth-child(-n+4) {
    background:red;
}
 
Users. The bane of our existence. Yet painfully crucial to it at well...
 
crl
@ZachSaucier thanks!, finishing the table
 
I don't think CSS can combine nth-child like that though....
 
3:14 PM
theres no room to put rewards in here because the nodes that grant the rewards that are of interest have nothing to do with the nodes that have essentials: [(DDQDay, [(DDQEssential, [DDQRosterData])])]
 
crl
@ZachSaucier unfortunately, no, doesn't work
 
looking into it
dunno why it doesn't like it
weird
if you take away the class and change to span it works... #tableSelectionGrid > div:nth-child(-n+3) > span:nth-child(-n+4) {
background:red;
}
it's true across all browsers...
 
that's because he didn't write .cell as a class
he wrote .ce11
(the number 1 instead of an L)
 
wat
why would you do that @crl
 
lol
 
crl
3:25 PM
@ZachSaucier bu default I want only a few cells visible (less space) and I'll expand later with JS if the pointer is close to the border
 
@crl I think he means why did you write ce11 instead of cell for your class names
 
crl
@TylerH ah yea, thanks
 
and you did it like 100 times
 
crl
sorry put that shitty name to make sure I don't conflict with another ui lib
 
what a ho
don't do that
prefix it if you have to
 
3:26 PM
but you're not using any libraries...
 
don't do 11 crap
ever.
 
yeah the number 11 is banned in programming /s
 
22
Q: Can I combine :nth-child() or :nth-of-type() with another selector?

atanamirIs there a way to select every nth element that matches (or does not match) a selector? For example, I want to select every odd table row, but within a subset of the rows: table.myClass tr.row:nth-child(odd) { ... } <table class="myClass"> <tr> <td>Row <tr class="row"> <!-- I want t...

 
crl
jsfiddle.net/crl/0803vkd4/2 sorry for the shitty .ce11
 
@cimmanon it works fine, Zach just didnt see that crl used leetspeek for his classnames
 
crl
I can't override the table border-spacing, normally there shouldn't be spaces between cells here jsfiddle.net/crl/0803vkd4/3
 
@crl we're not going to do all of your work for you :P
 
crl
oh padding:0
 
http://i.imgur.com/GeKqOKr.png
just got this code review. 4 removed lines fixes 10% performance
 
3:32 PM
@TylerH ugh 2 space tabs
 
@ZachSaucier i think he is trying to have a competition with overexchange to see how many questions he can ask in here before people get fed up with it.
 
oe is much worse in my experience
 
@ZachSaucier yeah, my comment on the post mentioned please reverting that or letting us choose
the difference between crl and oe seems to be that crl can actually write code
 
why does a removed message still send the notification long after it's been removed
 
crl
the table is annoying with the tbody when you don't need it.., yes I know I'm an asshole
 
3:39 PM
@BoltClock because it's still there, probably
it's just replaced with "removed"
unless you mean chronologically
it probably sends the notification immediately, then you can't really rescind it
 
bad logic. Make a meta about it @BoltClock :)
 
wtf jsfiddle just updated
NOW
 
@CSᵠ scroll up to see my link to the blog post explaining it
 
3:44 PM
i was literally just using it
 
Abe
@easwee would freakin have
 
@ZachSaucier what's bad about the logic of not being able to unsend a notification?
 
@Abe probably a beast
:D
 
Abe
indeed
just 3k. if i had where to park it i would buy it just for the fun
:D
 
@TylerH there
 
3:48 PM
@CSᵠ wat
oh
you pinned it
 
4:00 PM
@TylerH if only they would make the left menu toggle, or place it on top
 
@CSᵠ they're working on letting it toggle
it used to be able to, with ctrl+shift+up arrow
 
ossm!
 
but I guess this new design came with a new backend
and they didn't implement that yet
I like that they're burying relevant stuff in the corner buttons instead of on the menu
but I wish the buttons didn't overlap with the scroll bars
 
@TylerH i love that too
i mean, that's ux genius
 
o/
@CSᵠ how do you deal with (never executed) parts of a query?
 
4:10 PM
huh?
 
pg's explain analyse
Index Only Scan using people_pkey on people (cost=0.14..0.27 rows=1 width=4) (never executed)
 
@Kitler context? i'm not following what you refer to
 
when you run an explain on a query and get a part of it marked as never executed
 
it must be there for a reason
right?
 
It's making me doubt my query :/
 
4:13 PM
anyway, not sure why you targeted me
what's your query?>
 
You have pg-fu :P
 
i do i do
i have -fu *
 
:P
 
boy this sure is a great error message
"There could be any number of reasons why your submission was rejected. The actual reason may have nothing to do with an error on your part"
 
@TylerH Do tell me one of your developers didn't write that.
 
4:25 PM
It was either the .NET developer that is here now or the .NET developer before him that left about 6 months ago
 
I suggest finding out which one it was
And if it was the new one, find a large, heavy object and hit him with it.
 
lol
well that might result in my termination
but I appreciate the sentiment
 
As long as it also results in his termination that seems like a fair trade.
 
internet sucks today :/
 
@Kitler you suck
 
4:26 PM
^
 
Is it clever day at the obvious camp?
We all know i suck -.-
 
lol
sup
 
hate
anger
death
 
D-:
Are you a Sith
 
Well i m only part indian
 
4:28 PM
LOL
@SomeGuy @Mr.Alien
 
:P
 
lasers fired
 
@Kitler never seen that before, are you worried about the sequential scan?
 
crl
end result: jsfiddle.net/crl/0803vkd4/12 (this will be in a dropdown)
 
06:00 - 17:0017:00 - 00:00

« first day (945 days earlier)      last day (2843 days later) »