« first day (754 days earlier)      last day (4195 days later) » 

10:00 AM
@eicto no, codepen is for neat stuff
jsbin would be a better suggestion
 
@florian :(
 
what?
codepen is for showing off
 
@FlorianMargaine you always follow the rules ?
 
@FlorianMargaine Yeah man, be a rebel!
Fight the system!
 
codepen will work same as jsfiddle, no problem to use it same way :)
 
10:02 AM
Anyone wants to help me set up nodejs? :D
got an error when trying to do "make" on it :/
make[1]: g++: Command not found
make[1]: *** [/home/ame/Downloads/node-v0.8.14/out/Release/obj.target/v8_base/deps/v8/src/accessors.o] Error 127
make[1]: Leaving directory `/home/ame/Downloads/node-v0.8.14/out'
make: *** [node] Error 2
 
Then fix the error
 
@AndersMetnik you have no compiler
 
@eicto that's just a stupid question
@AndersMetnik sudo apt-get install g++ if you're on ubuntu/debian/mint
 
thought linux was born with compiler, so need a g++ compiler aight, im on it, thanks
 
Get GCC, and if you're on a Debian system, build-essential
 
10:04 AM
@AndersMetnik which is why people argue that ubuntu is not a real linux
 
@AndersMetnik why would it have the compiler? you only need the compiled files to run
 
@Zirak sudo apt-get install build-essential
?
 
yeah
 
you just need g++
 
@AndersMetnik aptitude install nodejs
 
10:05 AM
@AndersMetnik don't forget to checkout to the latest release
 
@eicto No.
you get 0.6 which is way too old
 
posted on November 08, 2012

A podcast interview with me — in Dutch. Ik werd geinterviewd door Maurice de Beijer van dotNed, de .NET gebruikersgroep Nederland. We hadden het over mobiele browsers, Fronteers, en een boel andere dingen. De podcast is hier. 1 uur rond. Dit was de eerste keer dat ik in het Nederlands werd geinterviewd.

 
10:06 AM
works on ubuntu? (yes yes ubuntu sucks, i heard you ;-) )
 
@AndersMetnik of course it does, that's what I'm using on ubuntu.
 
With the drawbacks of ubuntu, it can still compile things
 
I just install make and g++ before
 
@FlorianMargaine no good maintainer in debian ?
 
heh .. i would just do : cd /usr/ports/www/node && make install clean .. and it would get compiled with all the dependencies
 
10:07 AM
@eicto dunno, didn't bother
@tereško which version is it?
 
9.1 .. freebsd
 
And what distro is it on?
 
@FlorianMargaine remember i'm also a noob @ git/github :)
 
@tereško I mean, the node version
and I'd rather use pkg_add on freebsd btw :p
 
@FlorianMargaine 0.8.14 , or 0.9.3 if you choose www/node-devel
 
10:09 AM
 
git clone https://github.com/Ralt/.dotfiles/blob/master/install.sh
Right? :)
 
@tereško oh cool, the maintainer is active or is it how freebsd works?
@AndersMetnik no... just read the commands, it's how to install node
don't use the install.sh file, it's quite custom
 
@tereško I didn't spend enough time in freebsd to know how sources version are maintained
 
And thanks all :)
 
10:11 AM
@FlorianMargaine both, the node ports have multiple maintainers and it is a common practice to provide ports for bot stable and current version
 
git clone github.com/joyent/node.git
cd node/
git checkout origin/v0.8.14-release
./configure
make
sudo make install
cd ..
rm node/ -rf
 
there is also a separate version of ports which contain "bleeding edge" stuff instead of "stable + current"
 
yeah on it :)
 
@AndersMetnik don't forget the git checkout
@tereško k, so the ports are updated frequently
 
yes
you can use latest ports on freebsd 5.x (released on ~2003) ... and you would be able to upgrade to the latest version when it comes out (ports are maintained through CVS or GIT based systems)
 
10:13 AM
what happens if I ran ./configure before the checkout? :-i
 
You'd have run configure on the master branch. Just change branches.
 
okay guess that doesn't matter? :) ran the configure again, make in process :)
Hey Cheval :)
 
@FlorianMargaine IMHO that is one of the coolest benefits from source-based software distribution systems - you are not tied to a specific release of OS
 
Danm make takes time ^^
 
Just wondering: If you append divs with js, what is 'quicker' css in js or css in style sheet? Or doesnt this matter
 
10:19 AM
Yeah, compiling usually takes time
 
... you obviously have not compiled KDE or OpenOffice before , @AndersMetnik ... it takes ~day compile them on a new machine
 
Right you are :)
ubuntu.com download - burn - install :D
 
@Opoe "Quicker" doesn't matter here. If you're using static styles, put them in CSS.
I don't cook in the toilet, you shouldn't use css in js.
 
@AndersMetnik download - burn - install - something breaks - reinstall
also , when you compile software on your machine you can optimize it for your machine
 
my machine is fast enough without optimization :P
 
10:22 AM
@Zirak okay, so it doesn't matter thank you. Hope you don't take a dump in the kitchen though... haha
 
And it would require me knowing how to ;)
 
Yeah, and you wouldn't wanna have to learn. That's just bad for you.
 
Not I wouldn't want to learn that
Have plenty of other things to learn before that
 
@Zirak What OS are you running now?
I'm thinking of giving Arch a shot (again)
 
@AndersMetnik it's like how i said "gnome starts fast enough" before i tried fluxbox
there is a difference between "fast" and "fast enough"
 
10:25 AM
@AmaanCheval ubuntu...too lazy to replace it. But I'm definitely going to go for debian.
 
@Zirak , if you are switching away from ubuntu, maybe you should give Arch or Gentoo a try
 
@tereško True and this is fast, compared to what I used to be using... windows ;-)
 
Even if I try another one, I'll keep Ubuntu
 
@eicto omg, you rock
2
Q: jQuery execute a click function only once on each element?

OpoeInformation hello all, with my add a box butten (#purchase), I add boxes/items to the shopping carts. (this costs 25 of the credits) When you click the orange div inside, the credits also decrease with an amount of 15 credits, an fades out the top div (so you can see wich element has already co...

 
10:26 AM
@eicto what is that abomination ?!
 
@tereško huh ?
 
@tereško So many distros, such short time...thanks for the suggestions
 
The beginning of a tower defense :D
 
please post your answer :)
 
for( var i = 0; sentence = data[i] ; i++) vs for( var i = 0; i < data.length ; i++)
which is better ?
 
10:29 AM
@Opoe Does each element have the same class?
 
@Zirak those two are good for learning , but not hard enough to satisfy a masochist (unlike slackware)
 
@AndersMetnik yess, just trying some stuff out
 
@Abhishek Doesn't the first one throw any errors for you?
 
@AmaanCheval nope
 
@tereško What's your take on Debian?
 
10:30 AM
my list is filtered for undefined and shit before
 
In strict mode?
 
('.class').click();
Should click once on each element with that class afaik :-/
 
@Zirak debian's software management system is a mess ... it is locked to a specific version, unless you are ready to forsake any support (you can use unofficial distros, but community like not assist you when they don't work) .. also i have some issues with debian starting to work more like a derivative of ubuntu instead of other way around , lately changes in debian have started to originate in ubuntu
 
@AmaanCheval havent ran it in strict mode
i dont think i even need strict mode for this
 
@Abhishek Define "better". The former is a basic foreach, latter is a regular for.
 
10:33 AM
@Zirak faster
and less buggy [ if array is filtered ]
i mean if the array is filtered to be consistent is there any more causes the former can go rogue ?
 
@tereško hrm. I've noticed debian packages being messy, but it's really such a vast thing, I was a bit inclined to give up its niceness for the sheer size.
 
@Zirak , the most important thing for you to learn would be the ability to compile any software that you need
then you are not dependent on the repositories
 
And Arch would be good for that, right?
 
@Abhishek If one is faster, it's a micro-optimization (unless you're dealing with incredibly vast things, in which case, you should benchmark.) And "buggy", well, the former will stop on any falsy value (0s and empty strings, for instance.) So consider that.
 
@Zirak well the sentences are from a wikipedia article [ all of em ]
in POS Tagged Arrays. would u call that Vast ?
i will go with the first one.
 
10:38 AM
@tereško I know how to compile things, I'm not a total noob on that regard, but its dependency handling tickles me the right way
 
@eicto my English isn't very good, so it's very clever you understood the question, because the other answers, don't work :o
 
@Abhishek If you notice it's too slow for you, benchmark. Oh, and if you're going for the former, don't forget to declare sentence before the loop, so it won't be an implicit global.
 
@Zirak i am putting the code on git soon , since you are much more pro on ai / bots a helping hand would be really appreciated.
and this is being made for a noble cause
 
I suck at AIs/bots, but sure, a look shall be given
 
Danm nodejs sounds quite impressive when hearing Ryan Dahl's intro to it :)
 
10:50 AM
@Abhishek Ask @SomeKittens if you've got AI related problems
 
Here is a question
how to find subject & object
out of a sentence ;D
 
Yeah, that's not gonna be easy.
Nor accurate
 
maybe you can use something like nltk.org for it
never worked with it though, so no idea if it can do that or not
 
@ThiefMaster i am already using opennlp for it
and they both won't support it
the only accurate one afaik is the stanford parser
which is ugly java :-/
 
10:56 AM
 
@tereško Actually is objectively the "worst" tag.. meta.stackoverflow.com/questions/100529/…
 
this can run as a cli and takes stdin as input spitting to stdout.
the stanford parser runs in 1 go
and takes about 5 seconds just to load the models
 
@ThiefMaster lol
 
11:08 AM
Is there a plugin for netbeans to autocomplete stuff etc. for nodejs?
 
11:26 AM
nodejs is javascript
 
0
Q: JavaScript IE8: Add a function to a NodeList object

GregI have a reference to a NodeList, and I simply want to attach a function to the object for later invoking by another area of the script. // Quick and dirty hack to obtain a NodeList from given element(s): var fragment = document.createDocumentFragment(), nodeList; fragment.appendChild(docume...

Could anyone cast their views on this question? ^^
 
@Greg did you try NodeList.prototype.someMethod = function() {}?
 
Don't mess around with host objects.
 
also, AFAIK, it's pretty much a bad idea to extend the DOM in old browsers
new browsers somehow handle this better since they at least try to implement standards
 
@FlorianMargaine omg i didnt knew node.js is javascript!
 
11:34 AM
@Abhishek yeah, it's not only C++, sorry
 
damn!
 
@FlorianMargaine If that was in reply to me, then that still doesn't quite answer the "autocomplete" part ;)
ei. writing req[ctrl+space] require('net'/'http') etc is shown
 
'net'/'http' makes no sense :p
 
@FlorianMargaine wouldn't that add the function to all instances of NodeList ?
 
You can't divide a string by a string in most languages
 
11:40 AM
@ThiefMaster I'm pretty sure he meant "or"
 
@FlorianMargaine: whats the difference between HTMLCollection and NodeList prototypes
 
\o/ Steam Beta for Ubuntu is now live! :)
 
@OctavianDamiean Yep!
It works well too!
:D
(I've only tried World Of Goo's demo)
@OctavianDamiean Did you see the bypass?
 
Shame on you, try Team Fortress 2.
 
/*Not ENGLISH Grammer Rules .js */
/* THIS IS NOT ENGLISH GRAMMER SO DONT DETAIN ME FOR IMPROPER GRAMMER */
module.exports = {
	chunks : [
		["Adjective Noun"],
		["Noun "]
	];
};
 
11:43 AM
@AmaanCheval Yea read about it.
 
It's 10 GB
Will take quite a lot of time to download for me
 
@jAndy NodeList is a bunch of nodes, not necessarily connected to one another. HTMLCollection has a special meaning; e.g. document.links, inputs of a form...
 
any grammar nazi around ?
 
11:43 AM
My grammar sucks and i need it [ so far using american_girlfriend.h ]
2
 
Nice list of compatible games on Linux
 
@Abhishek There is no set structure that'll always work. After a verb, practically anything else can appear.
And so goes for any other language construct.
 
@Abhishek Hahahaha
 
@Zirak well reading wikipedia most articles are 3rd person
 
@Zirak right you are
 
11:45 AM
so for a proof of concept
a buggy neural tree should be makable
, though u are absolutely correct
 
@Abhishek You know, that's not necessarily a guarantee for proper grammar either. :D
 
@Abhishek Then make a bayes network of NL tags
 
@Zirak thanks for the heads up
 
Or something like that. Depending on what you're using it for. I'd use that if I were mining for data. But I suck at this, so don't listen to me. Except for the part(s) where I tell you not to listen to me, then you should listen to me.
 
The essence of his message actually is that he sucks.
 
12:17 PM
@OctavianDamiean Have you tried TF2 yet?
 
Nope.
I'm still too busy pretending to work.
 
12:50 PM
@jAndy QSA returns NodeList, gEB* and document.links and the likes are supposed to return HTMLCollections (chrome returns NodeList for gEB* however, not really standards compliant)
 
What's the difference between the two?
 
Node/HTML
but not really much for the usage
 
is there any way of runnink a link ( in address bar) which later runs a js ?
 
yea .. that stuff is pretty much anybodys choice so far.. unfortunately
about NodeList/Collections and where native methods are stored
(in which prototypes)
 
I want to send my friend a url and then - change a value in the form
 
12:53 PM
@jAndy nope, there are standards for what method returns what
 
I dont have control over the code inside the page.
 
@jAndy yeah... can't find anything about that
uhwait
actually...
 
something like
http://aaa.com/1.html

but then

javascript:doWork()
 
dom.spec.whatwg.org/#element NodeList is supposed to inherit from Node
well, it's supposed to be a method on the Element object, inheriting from Node
hmm... I'm just saying bullshit actually
HTMLCollection doesn't have any prototype
 

« first day (754 days earlier)      last day (4195 days later) »