« first day (408 days earlier)      last day (3380 days later) » 

2:06 PM
solved my SVG issue, yeaaaaa jsbin.com/vefahide/2/edit
 
man setting up a project with node.js feels like being cuddled by soft kitties after a bubble bath with rubber ducklings
 
@SomeGuy Supporting England, bet on Uruguay.
 
Haha
 
@mikedidthis I wish I was still in the UK for the cup
 
@SomeGuy I got last pick of the teams for the betting. England, Brazil, Spain and Italy were all taken.
 
2:18 PM
Damn it!
 
@ZachSaucier Be better if you were in England. In Scotland they just wait for Englands downfall :D
 
hah
I mainly meant that pubs are better for soccer in general over there
though Scottish futbol in general I was disgusted by
KICK IT HARD, NOW HEAD IT, KEEP HEADING IT, BEAT THAT OTHER GUY - YEAH
hardly any form
 
TIL: Zach thinks Scottish football is shit.
 
is there any particular reason why one should specify js variables like this?
var express = require('express')
, routes = require('./routes')
, fs = require('fs');
 
Just code style. Doesn't need the extra var.
 
2:23 PM
putting the , infront instead on the end of line
nono - i mean the comma - not var
not comma
,
 
makes sure you have the comma I guess
 
hmm yeah it's an argument
 
^ that as well. You can delete a line with no worries that you have missed the ,
 
IT WORKKKSSSS
looks like shit but it fires :P
 
who?
the crossbow?
 
2:25 PM
yup
 
lol
vid
 
^
 
Got pics vid in a few or i m getting my ass fired :P
 
patsy's office now
 
2:29 PM
lol
the shieet
 
AWESOME!!
 
It was a pain in the ass to fire without a thick rubber band we had to improvise
 
nice!
 
Also one of the dinosaurs here got pissed when the shot landed next to him :P
 
@PatsyIssa -:D awesome...
 
2:37 PM
^^
 
@SomeGuy aah high tides on worli sea face...
nothing more..
 
Yeah, my mom just told me a while ago
 
posted on June 12, 2014

var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); try { var pageTracker = _gat._getTracker("UA-3727700-1"); pageTracker._trackPageview(); } catch(err) {} Wooh! Almost to another ridiculous stretch goal! Thanks, geeks!

 
@rlemon kind of catchy
 
2:45 PM
!!wiki shasum
 
sha1sum is a computer program that calculates and verifies SHA-1 hashes. It is commonly used to verify the integrity of files. It (or a variant) is installed by default in most Unix-like operating systems. Variants include shasum (which permits SHA-1 through SHA-512 hash functions to be selected manually) and sha224sum, sha256sum, sha384sum and sha512sum, which use a specific SHA-2 hash function. Versions for Microsoft Windows also exist, and the ActivePerl distribution includes a perl implementation of shasum. On FreeBSD this utility is called 'sha512' and contains additional features. ...
 
Anyone know of a simple system where a user can log in via a single input, which would require a folder name, if that folder exists, the user is then authenticated and shown said folder and its contents. If the input content happens to be "admin" or something of the like, the user will be authenticated and shown all the folders and their contents with the option to remove files and drag and drop to upload more files?
If not, I guess I'll make my own
 
@AskoNõmm I doubt since that is not very secure - maybe for intranet use only
 
Yeah, it isn't really authentication at all
It's "fetch me these directories"
 
2:51 PM
I know, yet my client demands exactly that.
 
lol, oh clients
 
Is it an internal thing?
 
it's like a passphrase for mafia disco :D
 
client will give each of his clients a folder, which will contain files for said client
so the client' client can view them by just going to a url and entering in his folder name.
 
and client logins by typing folder name and clicking button?
very unsafe
 
2:52 PM
so my client wants, yes.
 
"if he knows the password, he be worthy"
A world where knowledge of the password begets authorization, rather than authorization begetting knowledge of the password
I think it'd be a more fair world than this
 
^ true that
 
well I sure as hell don't want to make a bloody member system for it
 
you have weird clients
 
Thank you, THANK YOU, at least I'm not the only one who thinks that
 
2:55 PM
all clients are weird
some even smell funny
 
It's like a rule
 
@AskoNõmm Why don't you just give them a ftp connection to the folder?
 
with ssh keys :O
 
They want it to be extremely simple. By general rule all my clients are idiots
 
@easwee Then they'd have to actually authenticate :-P
 
2:56 PM
and assign each user to his own folder
 
@TylerH yes - but it's more secure and almost 0 work
 
@TylerH not if you provide the ssh key with it
 
not an option
 
@PatsyIssa Sure it is, you can't get to it from a web browser
 
well than just make it :D
i guess you have no alternatives
 
2:57 PM
@TylerH not what i meant :P instead of supplying the people with a url and a name give them a generated sshkey for said ftp user
 
buh 5pm - I'm going home
laters
!!afk walking in the rain
 
^ hipster
 
peace
 
:P
 
3:04 PM
fellas! Has anyone gone so far as to use the Datatables plugin (for JQ) and tried to filter it by a custom attribute in the <tr> itself?
 
Oh, I see what that article means now by "Sassy Z-Index"
literally using Sass
 
^ lol
 
> I don't understand. It works in Chrome but not in Safari. Do I have a virus or something?
 
that day is not far when users will post codes of all pages
@ZachSaucier he dumped the code, see the size
 
3:16 PM
@Mr.Alien should comment and tell him not to, not vote to close yet IMO
 
also look at the number of js files, no code provided as well for js...
 
at least cv for other reason :P
 
@ZachSaucier close vote will explain the reason, the issue is I can comment and leave, when you look back, you will see 2-3 answers with assumptions like try doing this, try doing that
 
I suppose
 
3:21 PM
That one is almost cv-worthy from the bit.ly link alone
really who's going to click that
 
posted on June 12, 2014 by Chris Coyier

Here's a (lightly edited) real email exchange I just had with someone in my family. I thought it would be worth sharing. Hi Chris, I understand that you have been talking with [another family member] about our website. I expressed to him that I would like to have the ability to change, expand, and improve it occasionally. He said that you would be willing to help me learn to do this. My con

 
3:50 PM
@Mr.Alien @ZachSaucier why does it align to the bottom
 
@PatsyIssa <div class="more-btn">more</div>
that is stopping it touch the bottom.
 
Not the problem
Why doens't it align to the top
Need both divs to start from the top
 
@PatsyIssa vertical-align:top; jsfiddle.net/Zeaklous/bZ7Nq/1
 
I misread
disregard
 
perfecto
@ZachSaucier So the default of inline-block aligns elements to the bottom of the one with the biggest height?
 
3:52 PM
yep
 
@PatsyIssa baseline
and sorry, was excited to answer js question :p
 
Trying out inline-block instead of floats
 
I like 'em
vertical-align:middle; so helpful
 
@ZachSaucier middle
@PatsyIssa sucks...
 
Writing up the markup for a temporary static design thought I d challenge myself to write it in the least hacky way possible
 
3:54 PM
@Mr.Alien :P
 
brb ciggy
 
can I embed answers on stackexchange on my site?
 
user2985029
@Mahesha999 that's a good question
 
hahaha
 
I see there is API, but dont know how to do this api.stackexchange.com/docs/answers-by-ids
 
4:01 PM
@Mahesha999 I'd guess so
I mean, it's completely free so there should not be a problem
deleted questions might be iffy though
 
so thats just returns json, I have to decide how to display/style it
 
and you cannot change the names of the original authors as well...
 
yes, unedited posting of it should be fine (:
just like citing a resource for anything it can't lose it's original intention and the author(s) must be attributed
 
is there a simple example about how to make those json calls?
I just find API methods
 
You're approaching vamp space
 
4:06 PM
but no single example explaining how to use them
 
@Mahesha999 its just an ajax request, no explaining to do: jsbin.com/vaheru/1/edit
 
hey guys, anyone knows why jquery.valid() says that \d+?[\,\.]?\d+? allows 1.4 but not 1,4 ?
 
@PatsyIssa thats usually the case with users who type the code on SO again, anyways the issue cannot be reproduced and hence I closed
 
It's a typo
 
4:31 PM
yea
 
how do I detect if parameter is not there?
function(x) {
    x = undefined ? newVal : x;
}
 
look at it? :D
 
^^ doesn't seem to be working
 
need to check the typeof
 
DOH == xD
 
4:33 PM
yep, against somthing xD
 
but still doesn't work
 
function(x){ x = (typeof x == "undefined") ? newval : x }
 
@PatsyIssa as I told you, he rectified stackoverflow.com/revisions/24189165/4
 
should work
 
typeof x === 'undefined';
 
4:34 PM
and this is great, our room has a force of 5 now...
 
though, as anyone used jquerys' validate() function? Kinda need to understand why it doesn't respect my awesome regex :\
 
If its just a fallback: jsbin.com/fisux/1/edit
 
function test(bob){
    bob = bob || "wut?";
    console.log(bob);
}

test();
test('hi');
fails for false, and 0
 
4:36 PM
+2
 
= 4
 
/me lols
 
*2250.25
 
2048
 
^^ incorrect answer
 
4:37 PM
2048 flappy bird
 
@easwee damn, that wins
 
function test(bob){
    if(bob === undefined){
        bob = "wut?"
    }
    console.log(bob);
}

test(false);
test('hi');
another way to detect false and 0 still
@mikedidthis shit didn't see yours
 
@Loktar Some elaborating didn't hurt - makes me think :)
 
nonsense lol :D
 
4:42 PM
Start here
in JavaScript: typeof NaN is cheese, 11 mins ago, by Jhawins
You consciously decide to let yourself fall asleep. No matter how much you feel like you're fighting to stay awake (unless it's been days) you still have to make the conscious choice to stop fighting. Therefore making the decision to fall asleep is your fault.
JS room's been trolling
 
why you guys are switching the titles these days?
 
Shits and giggles
The "JavaScript" part stays the same, so it doesn't matter
Hahahaha
 
javascript room is messed up - I'm still scared to talk there xD
 
randoms drop in everyday, very few are regulars I think
 
Hahaha
Oh, no, more than we have here
More vampires too, though
 
4:47 PM
:D
 
The regulars stop being regular at times, though
 
yeah - i just read the chat
 
Like I'd count Wes as part of this room, even though he hasn't been here for very long
 
this room is very consistent with the users as well as php
 
There are people like that in the JS room too
 
4:48 PM
@SomeGuy yeah miss him too - where is he gone? I heard he opened his own business?
 
Let's ask him
 
/me is in js room everyday
there are like 10 consistent regulars id say
at least
 
me too - i just don't talk :D
 
@WesNetmo What's been up with you these days?
The JS room is a pinned tab for me
 
heading home
 
4:50 PM
@PatsyIssa cya
 
see ya
@SomeGuy same here, only at work though
I hate how the pinned tab doesnt show new messages
it glows, but id rather the favicon be a number if there are new ones
 
It starts doing this weird glowing thing, though
The glowing thing annoys me :p
Especially for something like Google Music
 
oh yeah man..
 
maybe there's some extension to show the number from title of tab?
 
It glows everytime the song changes
 
4:51 PM
haha yea
 
i tempted to make a plugin for chrome to show it xD
 
@easwee We could easily make one that changed the favico to show the number
 
that would be cool
 
thats what I was thinking too
but.. how would you get the number?
is it added to the title tag already or something?
I notice full tabs have it
 
it shows in title at the end
(2)
^ like this
 
4:52 PM
whats the new prototype thingy in js?
 
would be cool to have also different icons for each room
cause i have 3 pinned tabs usually
this js and close votes rooms
you could tell faster which room it is
 
I wish we could switch between rooms in one tab
The way IRCCloud does
I'd be regular in way more rooms if I could
@rlemon You want to make an extension to do that? :p
 
@SomeGuy could use your custom page and iframes
 
I want an elegant solution
i.e. no iframes
 
yeah and add those tiny people generator @Loktar made for favicons for each room
 
4:56 PM
@ZachSaucier SO has iframe call disabled
 
working on it :p @SomeGuy
 
@Mr.Alien O:
 
@Loktar You are? :D
That'd be amazing
 
@ZachSaucier security reasons
 
Could you also look into support for chat on other SE subdomains?
 
4:56 PM
@Mr.Alien what can be done through iframes that can't be done otherwise?
@SomeGuy I already waste enough time here.
 
it was a typo in the end
 
@ZachSaucier Clickjacking
 
@ZachSaucier aint sure but they have it disabled
 
I should've answered this
 
5:02 PM
@DarkAshelin flash :(
but otherwise cool .)
@Mr.Alien lol we had a talk about that just yesterday here :D
 
@DarkAshelin That is so cool!
 
@easwee yea :D
@SomeGuy RAINS :D
 
I'm not really excited about the rains
 
!!> 1.5 >> 0
 
@easwee 1
 
5:10 PM
learned this trick
 
@SomeGuy me neither, I don't even step out of my house, but I was tired of heat
 
Everything gets dirty (especially public transport), and it makes me more anxious about spoiling my phone
Haha, it'll stay hot for a few weeks still, won't it?
 
@SomeGuy yea, especially trains and roads... and yea now it will be more heated up for a week...
 
@easwee Bitwise tricks are mostly pointless unless you're into codegolfing
 
yes - i was taught about that too :)
 
5:12 PM
@easwee are you self taught?
 
yup
what concerns coding yes
 
Group high five!
 
i did multimedia school
we only coded actionscript
and some php
 
I did highschool
 
@SomeGuy o/
 
5:13 PM
We coded some shit for Excel
 
aah yes so maximum over here are selfies
 
mostly
we take selfies when one code works
 
@DarkAshelin New Challenge: Do that in CSS
 
as far as I know, u, mike, me, someguy, lemon, loktar, pats are selfies..
 
The JS room has more too
 
5:16 PM
dystroy is the one I know who is a selfie
 
nah mines some random dude
I stalk him
 
And can we not call ourselves "selfies"? It's so self-deprecating :p
 
haha
 
@Loktar Hahahaha
 
If you mean self-taught, I'm one too
 
5:17 PM
thats what I have
but its not working :?
 
though I'm still learning
 
for some reason the stupid favicon wont change
 
JS shell
Try it on a regular HTML page
The eval'd window doesn't control the favicon of the page you see
 
hmm what do you mean?
ah
wouldnt a bookmarklet be able to modify it or no?
 
arghhhh how foolish this people are, they run big companies but don't have common sense, assume that a web page has an height of SO homepage, now client says that he doesn't want a vertical scroll, fit the contents on visible viewport
 
5:27 PM
yeah just make it all responsive, duh! :-P
 
no vertical scroll
 
but make it fit and make sure it's readable and make sure it looks good
 
is that even possi
I've 13px font size, he says decrease it
 
also you're using the wrong colors
so basically change everything
but you have a good start
s/rename TylerH > ClientFromHell
 
nah I don't design much, I just code those out, the height is around 3K px, how can I fit on the visible viewport area only
 
5:37 PM
lol
so when I start testing no one talks in any room
 
hehe
was in store
 
damn didnt work
itll change it initially now
just need to get the timeout working
I wanted to draw it over the SO Image, but stupid tainted canvas sec error
 
hmm is it supposed to work from jsfiddle?
 
no its a user script
I user tamper monkey
so I can just edit/paste on the fly which is nice
 
kk
@Loktar testing and it writes HTML in favicon
in opera
running the script onload
 
5:45 PM
yeah but then when it updates, itll blank it out
 
hmm
 
trying to figure that out real quick and then it should work
 
ping me
 
Is there a way to set top/right/bottom/left as percentages when using position: absolute?
 
@PatsyIssa Download Riptide GP2, will play online tomorrow...
 
5:52 PM
Wow
I didn't think this would be the answer stackoverflow.com/questions/24190754/…
facepalm
"I have z-index: 1 on two elements and they aren't working." "Try changing one of them to z-index: 2" "OMG IT WORKED"
 

« first day (408 days earlier)      last day (3380 days later) »