« first day (793 days earlier)      last day (4157 days later) » 

5:00 PM
@jAndy its still better then being noThing :P
 
hell I love inputs pattern and require attributes alongside their proper css pseudos
most underrated feature
 
OK I should get going. It's 1 am in Singapore
Night all
 
the parent selector syntax sucks
< would be better instead of ! or w/e
 
@BoltClock Gnight
 
5:03 PM
the whole THING sucks imho
 
@FlorianMargaine Once people stop calling it the parent selector then maybe it'll make more sense
 
if you need a parent selector, you did something very wrong
 
It's not a freakin' parent selector. You just happen to be able to use it to select a parent
 
O_O
that caused an overflow in here [Brain]
 
5:04 PM
It can also function as a previous sibling selector for example
h3! + p
 
then what is it?
 
@BoltClock hmm makes sense that way
 
It is a subject selector, as the spec calls it. You attach it to whichever selector that you want to apply the styles to (this is called the subject)
 
5:06 PM
GO TO BED FFS
 
Kinky.
 
@BoltClock ok, that sounds vastly more awesome than a "parents selector"
 
Yeah its globally nicknamed as parent selector
 
sdf
hi
i see stackoverflow chat do polling every second
 
sdf means "sans domicile fixe" in french, which means homeless.
 
5:19 PM
lol :)))
 
sounds like a font
 
My neighbour is homeless
 
which makes you an even better person :p
 
@Zirak did you just divide by zero?
 
Poor guy
I have this rad box
 
5:20 PM
Am going back to C++ land .. wish me condolances .. re-writing JS code is awesome , rewriting C++ code is Pita
 
oh my gosh, take care @Abhishek
farewell
..and then he left the ecmalands.. never to return...
 
i guess they will see a big part of my brain .. .dead because of help vampire classmates
 
what does window.copy function do
 
Wait wait waiit.....


Oh god i almost forgot
 
Occurs check: cannot construct the infinite type: x0 = [[x0]]
Expected type: [[[x]]]
  Actual type: [x]
Haskell :(
 
5:22 PM
Would u guys be willing to rate some code out of 10 ? [ done by college students in a competition .. can be JS or C++ / C ]
 
1
Q: Directory structure for a website (js/css/img folders)

nightcoderFor years I've been using the following directory structure for my websites: <root> ->js ->jquery.js ->tooltip.js ->someplugin.js ->css ->styles.css ->someplugin.css ->images -> all website images... it seemed perfectly fine to me ...

 
@Esailija it doesn't exist
 
@Zirak Just grab a stapler, that should fix it
 
at least, not in chrome
 
@Esailija
> window.copy
undefined
 
5:22 PM
copy
function () { [native code] }
 
firefox?
 
Chrome version?
 
That's me, I tricked you
 
@Esailija what website ?
 
hehehe
 
5:23 PM
just chrome console 23
NVM
 
on chrome , gmail.com puts me
 
function copy(elem) {
    var target = document.getElementById("js-img-content");
    target.innerHTML = "";
    $(target).append($(elem).clone());
}
lol
 
$

function Native code
 
what the fuck
 
wait a second ..
 
5:24 PM
obvious memory leak
 
@Abhishek that's just an alias to querySelector
 
@FlorianMargaine i know
 
@Abhishek Perhaps because it's the console built-in
 
Node.prototype === jQuery // true
 
but first time i saw it , i was like wtf!
 
5:24 PM
I knew it
 
8
A: Why am I able to use jQuery syntax in Chrome's JS console when current page doesn't have jQuery loaded?

Florian MargaineBefore, Chrome had an alias to document.getElementById with the $ variable. Recently (probably on Chrome 23 release), it has been changed to an alias to document.querySelector. So your code is the equivalent of document.querySelector('body').

 
which is another.. really dumb decision by browser-vendors / debugger vendors
its not like js libraries are using these characters for ages now
 
Interesting...why this chat use shot-polling every 1 second instead of long-polling aka comet???
 
it uses websockets
 
@adsurbum it uses websockets falling to comet
 
5:27 PM
SO use websockets for all page updates?
 
it uses websockets I just wanted to fit in
 
i see in fiddler request every second (for ie9)
 
okay so no-reply >_<
Would u guys be willing to rate some code out of 10 ? [ done by college students in a competition .. can be JS or C++ / C ] .. I am organizing one at college want a **quality Jury**
 
(error is in parenthesis)
 
Does IE9 have web-sockets?
 
5:28 PM
@Zirak caniuse.com
 
I don't think IE9 supports all brotocols
 
betting no though :P
 
so why no long polling? :P
 
@Abhishek Rhetorical question
 
5:29 PM
@Abhishek quality jury? Why are you in here?
 
@Neil I assume you , zirak , florain , loktar , amaan , es , copy , somekittens
to be 10x better then my college teachers :P atleast
 
if ($.browser.msie && parseInt($.browser.version, 10) === 8) {
    copy(document.getElementById("sc").querySelectorAll(".slide")[current - 1].childNodes[2]);
} else {
    copy(document.getElementById("sc").querySelectorAll(".slide")[current - 1].childNodes[3]);
}
FML
 
@Zirak: the question was on the same level as.. "does north korea support democracy"
 
@Abhishek Our egos are yes, that's for sure
 
the irony is to use jQuery to sniff browser, and then proceed with browser dependent apis anyway
 
5:30 PM
@Neil no you seriously are better :P
 
Irony should be the name of a place where people gather to iron things
 
^
 
Preferably clothes
 
Node folks: As much as I enjoy MongoDB, it absolutely refuses to work on my server. What db solution should I use?
 
Ping me if yes :-) , the code will be on github anyways :P so
..
and now farewell
 
5:32 PM
I need another metasyntactial variable, any suggestions ?
 
@SomeKittens Redis
@SomeKittens whats wrong with MongoDB ?
it worked nearly everywhere for me ?
 
It won't start
 
@SomeKittens did u made those two folders ?
 
It seems that the only help ever given is one repair command
that didn't work
 
for data ?
 
5:33 PM
?
 
@adsurbum why do you use ie9?
 
did it started the first time ?
 
nope
the service starts, and then trying to connect kills it
 
@Esailija even without this... getEBI().QSA()? Really?
 
@SomeKittens log ?
 
5:35 PM
@FlorianMargaine there is infinity WTFs in that code
 
0
Q: Errors trying to run MongoDB

SomeKittensI'm running Ubuntu Server 12.04 (32 bit) on an old (1998) computer. Everything's working fine until I try and start MongoDB. somekittens@DLserver01:~$ mongo MongoDB shell version: 2.2.2 connecting to: test Sun Dec 16 22:47:50 Error: couldn't connect to server 127.0.0.1:27017 src/mongo/shell/mon...

 
right now I am trying to figure out why in IE10 you would need childNodes[2]
I mean, IE 8
 
maybe because it handles spaces differently?
 
@SomeKittens
*********************************************************************
 ERROR: dbpath (/data/db/) does not exist.
 Create this directory or give existing directory in --dbpath.
 See dochub.mongodb.org/core/startingandstoppingmongo
*********************************************************************
Fix that
 
ERROR: dbpath (/data/db/) does not exist.
 Create this directory or give existing directory in --dbpath.
 See dochub.mongodb.org/core/startingandstoppingmongo
@Zirak aw u ninja'd
@SomeKittens thats what i was talking about anyways
 
5:37 PM
I did that
read the whole thing
 
where ?
 
aha, he tells the truth
 
somekittens@DLserver01:/var/log/mongodb$ sudo mkdir /data
somekittens@DLserver01:/var/log/mongodb$ sudo mkdir /data/db
 
@SomeKittens ugly but try this
cd /
sudo mkdir /data
 
I discovered that the default location is /data/db but the package install puts it in /var/lib/mongodb
 
5:39 PM
chmod 777 data
cd data
mkdir db
chmod 777 db
 
#in your log for $ mongod --repair
Unable to create/open lock file: /data/db/mongod.lock errno:13 Permission denied
 
and then run it
 
IIRC, that was covered in one of the fix thingies. Did you cover those bases?
 
gave me pita on windows but i nailed it by making C:/data :P
wont work any other way
 
5:40 PM
@FlorianMargaine ?
 
there are videos that just make you want to fap
 
It's called porn, dear. We already had that talk.
2
 
that's not even porn :(
 
hey guys how are you...I have been searching the net for a definite answer but not even MSDN has anything concrete so I am hoping you guys can help. Does windows mobile 7 IE9 support the touch* events or is it the mspointer* events?
 
5:41 PM
@Abhishek that sucks, really
 
@FlorianMargaine same as urs though :P
 
@Abhishek that's even ugly compared to the vimeo video.
 
makes u fap , if u see it a while , hell its complete porn
 
not really...
I don't think porn makes you want to fap tbh
 
You may be getting a little bit too close now
 
5:43 PM
@FlorianMargaine urge to fap is persons personal decision
based on his hormones and what he likes so ...yeah ur decision
//g /g/g/g
 
No idea
 
1 message moved to recycle bin
Please don't ask more than once (certainly not in a short time frame.) Everyone can see your question; if someone can (and wants to) answer, they will. Thanks, The Management.
 
No idea either
 
@Abhishek that didn't work
Has anyone used couchdb?
People seem to think that's "easy to use"
 
Wow...the solutions here are incredibly convoluted.
Those questions are fun, though
Looks fudgin ugly, tbh: paste.ubuntu.com/1445740
 
5:58 PM
And mongo's dead. Time to move on
 
Is it normal for npm to freeze?
websocket@1.0.7 node_modules\websocket
It stops after outputting that line.
 
It's happened to me
try re-running your command as sudo
 
I'm on Windows.
 
ah
run cmd as admin?
 
Don't know how.
It seems to have installed properly, as require("websocket") works.
 
6:08 PM
yay!
now if only I could get anything to work
 
What db solution do you use?
 
Whut
 
both mongo and couchdb have utterly failed me
I'm about ten seconds away from just saying "screw this" and writing the whole thing in flat files.
 
Most of my db experience is with CodeBase.
Do not ask why.
node.exe wasn't even using CPU. I have no idea what it's problem was.
Ctrl+C FTW.
 
6:22 PM
Try that out, maybe?
 
I'm not using AWS
It's a box from 1998 that's repurposed
 
I'd have to disagree, but okay
 
You think I'm not using a box from 1998?
 
Ian
And I bet you are using AWS
 
@SomeKittens Oooooh, I though you were calling AWS a box from 1998 that's been repurposed.
I was REALLY confused
But what does your 1998 server have to do with using or not using AWS?
 
6:34 PM
The 1998 server's free
I'd rather not start burning money when all we have is an idea and a finicky database.
 
You can pick and choose your AWS services. You don't have to use their hosting.
 
We'll see
 
6:45 PM
I've seen some horrible code today
the worst? using async: false
 
Ouch
 
@Zirak Wut?
 
posted on December 17, 2012 by RKoutnik

Jeff Atwood says that every programmer should learn at least the basics of marketing.  We can do brilliant things but if we can't (or won't) convince anyone to look at them, the net result is zero.  He provides three points to what marketing is: people understand what you're doingpeople become interested in what you're doingpeople get excited about what y

 
@FlorianMargaine Sometimes that's needed.
 
@OctavianDamiean it wasn't, really
 
6:59 PM
Like for deliberately upsetting other developers. :)
 
just a huge pile of shitty code
 

« first day (793 days earlier)      last day (4157 days later) »