« first day (903 days earlier)      last day (4060 days later) » 

10:26 AM
!!/Karma Benjamin
 
@GottZ benjamin has no karma
 
D: poor benjamin
BotFemale++
!!/Karma BotMale
!!/Karma BotFemale
!!/Karma BotWat
 
@GottZ botmale has 1 karma
@GottZ botfemale has 4 karma
@GottZ botwat has 1 karma
 
Next one telling me how bad Ubuntu is compared to other distributions will probably meet my fist.
 
ubuntu sux. arch is way better
 
10:30 AM
Just tried to install Fedora, the installer crashed midway ...
swings fist
 
Hey guys.. I'm having problems with removing whitespace after enter has been pressed on textarea.. val("") doesn't work.. ideas?
 
arch has no installer
it only has a blinking cursor when you boot the live cd
 
user2157210
@OctavianDamiean Ubuntu--
 
Nexxpresso meets Octavian's fist.
 
what is Knockout JS?
 
user2157210
10:32 AM
Hello octa fist
 
A MVVM library.
 
please mention the name with message for whome ur replying
 
user2157210
TO YOU
 
user2157210
HE IS REPLYING TO YOU
 
@Rahul_RJ You're asking about a library, to whom could I possibly reply to.
 
10:35 AM
So no ideas on clearing the whitespace, or showing the placeholder after submit?
 
@OctavianDamiean will you please let me know that, Is Knockout JS more useful or there is any other library like this?
 
More useful than what?
@GottZ huh, Arch that's a good idea. I should try Arch.
 
user2157210
refer him to use vanila
 
I just want to ask that Is knockout JS having more demand in Industrial Market? @OctavianDamiean
 
I can just guess what you're asking and the answer is, the question doesn't make sense. It is a library, the project dictates demand.
 
10:45 AM
NetTuts+ is a GREAT SITE!
 
11:02 AM
Holy crap!
NK suggested that all countries should get their ambassadors out of NK.
Including China!
 
I'm expecting war
 
That guy completely lost his mind if he even thinks about war ...
 
posted on April 06, 2013

A few more Blink-related links. (This article’s title was stolen borrowed from Thomas van Zuijlen.) Krzysztof Kowalczyk, an early WebKit contributor, shares his thoughts. Apple and Google weren’t too happy with each other. Apple didn’t want even the possibility of inserting Dart into WebKit, while it did not want to copy Chromium’s multi-threading, either, and instea

 
11:18 AM
@OctavianDamiean me, or the dictator?
 
Both.
If you think about war with SK and China then you're nuts too.
 
why china?
 
@AmaanCheval heard a building collapsed in Mumbai.
@JanDvorak As far as I know China will step in if either of the sides launch an attack.
 
... with fatal consequences for NK, I presume
 
I wouldn't try to mess with China.
 
11:22 AM
I wouldn't mess with USA either
 
Of course not, in fact I wouldn't mess with any country at all.
 
good point;
from google+
 
A horse walks into a bar. The bartender asks, "Why the long face?" The horse, incapable of understanding English, shits on the floor and leaves
 
11:47 AM
0
Q: What are the advantages of server-side Javascript and when would you use it?

user86834I have been looking at server side Javascript technologies like, Rhino and Node.js. What are the advantages of using server-side Javascript and where in the server-side to they fit in a stack?

 
@Octavian Really? When? I've been out all day, haven't heard that
 
I don't know exactly when, as far as I know it was still in construction but people were already living in it. 70 people are dead if I'm not mistaken.
 
12:04 PM
 
user2157210
holy that news is as old
 
user2157210
as my granny
 
user2157210
you are not informed about nk war
 
user2157210
sk conserative press is now hyping this shit up because some author said this 2 weeks ago
 
hey every one
$(document).ready(function() {
$("#name").focus();
$("#form1").validationEngine(),
jQuery(document).ready(function() {
if($("#form1").validationEngine()=="true"){
window.location = "mem_login.php";
}else{
window.location = "index.php";
}

});
return false;
});
what wrong in this query
 
user2157210
12:08 PM
holy jquery
 
ya it is jquery
 
Start by formatting the code. CTRL+K
 
user2157210
i can see its jquery
 
it showing syntax error in console
 
user2157210
then there must be a synstax error
 
12:10 PM
Add formatting please. Edit the post and press CTRL+K
 
user2157210
can use use window.location like this?
 
user2157210
shouldnt it be window.location.href?
 
@Nexxpresso i think you can
 
user2157210
hmm no should be possible
 
user2157210
yeah just read mdn
 
12:12 PM
@Nexxpresso doesn't cause a syntax error, though
@AnkurSaxena seriously, do you have ready within ready? What for? And why are you returning false from the outer one?
@AnkurSaxena Why is there a comma after $("#form1").validationEngine()?
 
user2157210
you acutally cared to read this shit?
 
@Darkyen Depends on what that is
 
There once was a girl from Nantucket,
Who had a nice fancy bucket.
She mopped up the floor
And went to the door
To answer it.
 
user2157210
reddit worldnews had it yesterday
 
user2157210
its old
 
@rlemon Haha, Abhishek is one of the common Indian names, like Rahul, or Ram. My name is on the rare side
@OctavianDamiean Holy shit, that looks bad
@rlemon If you use his and my full names, though, I have more results because Cheval is a a noun in French, whereas Hingnikar is just an uncommon last name
 
12:46 PM
@jAndy, THE GAME!
2
 
@Zirak parsers and interpretors my friend
 
@Darkyen I'm a bit stumpy on that subject as well, but care to elaborate?
 
@BadgerGirl that is awesome!
@copy lol wtf its hard as hell
 
1:03 PM
@Loktar It's sick!
 
1:30 PM
posted on April 06, 2013

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) {} Another glorious day at Skep Tech. I'll be on a couple panels. And,

 
1:49 PM
@Zirak wring an experimental language to learn how langauges work
the language is interpreted and the interpreter is written in C++
 
@Darkyen yeah, I saw that challenge to rlemon
 
rlemon thinks he has arthritis... :( already has carpal tunnel .. Fuck this.
Paint from the back of NY hand and wrist up the inside of my forearm and too my elbow
 
@Zirak well i am weak at parsing in js -_-
so c++ is becoming horrific for me :-(
any suggestions ? links ? tutors ? advice ?
so far the language is VM free :P , so horribly slow
 
On parsing? There's the dragon book if you can waddle through technicalities
It's the staple book on compilers
 
@AmaanCheval actually try implementing a VM even in js ;-D
u will understand why i refrain from it :P
 
2:01 PM
I don't really want to.
 
That's the dragon book, but those are the lecture notes. Get the actual book. Shouldn't be difficult to find a pdf somewhere.
 
:-)
 
I'm not that super with languages myself, despite continuing practice. Florian Margaine can tell you that (or you can see for yourself)
My biggest mistake was thinking I'd get away with a purely recursive solution. oh, such a fool I was...
 
oohhh, Borderlands
Deus Ex!
@AmaanCheval For someone who keeps saying "I shouldn't play new games now", you sure find a lot of new games.
 
2:11 PM
Yeah, I can't help it
I feel like Loktar
I've played ~20% of the games I own
 
You remind me of my sister and books. Growing up, I remember she owned more book than could fit the 2 libraries in her room, the shared one between our rooms, her closet, some of my library and some of the family one. And she kept buying them. Even after some of her trips abroad, where she just got back with ~20kg of books, she just kept getting more.
I don't think she managed to read a fraction of them.
 
Haha, I have tons of books too. Luckily, they're digital. I do read a lot of them, though (...eventually)
!!/choose Borderlands Darksiders
 
@AmaanCheval Borderlands
 
!!Should /choose be deprecated in favour of the weasel?
 
@Zirak Not a chance
 
2:19 PM
As you wish
 
Sex :D is awesome
as a variable name in a relational database :D
especially when you are discussing the schema and realtions
 
I thought you were drunk for a second
 
"Yo bro do we wanna have editable sex".
"Yo do we wanna have sex"
"Err we need different name for sex"
 
Why would you ask if you want to have a variable?
 
If you want to differentaite b/w male and female consumers
 
2:21 PM
Gender?
 
user2157210
@OctavianDamiean Do you follow Nk press?
 
You said no more DBZ jokes!
 
lol
That was funny, though
Unlike most DBZ jokes
 
3 messages moved to Trash can
Behold the might of censorship. Kill me if you so wish!
 
user2157210
2:30 PM
Those who provoke the just cause of the DPRK will meet only death.
 
user2157210
Censorship is strong in the lands of Javascript chatroom
 
Only for you.
 
Link to an article if you want.
 
Take that Ubuntu haters.
 
user2157210
take that ubuntu
 
That's from 2 years ago. I'm not a giant Ubuntu fan, but it has changed during the last 2 years.
 
Yeah! A random (old) blog article full of arbitrary straw men! That'll show 'em .
> You can see the benchmarks.
No, I can't, because you haven't provided any.
 
2:48 PM
> October 13, 2010
@Nexxpresso ^ you noob
 
user2157210
still sucks
 
user2157210
.
 
You suck but that's ok.
Someone has to do that job too.
 
does anyone see anything wrong with this line of code? (in the body of a small html file)
<script>setTimeout(function() { getElementById("hello").innerHTML="this is a test"; }, 2000);</script>
 
It's document.getElementById
 
2:52 PM
getElementById is a property of document, not a global function
 
And you shouldn't use innerHTML to set text
 
How do you make a plumber cry ? And why ?
 
<script>setTimeout(function() { document.getElementById("hello").textContent ="this is a test"; }, 2000);</script>
 
@rlemon IE users will hate you
 
fuck IE
 
3:01 PM
<script>setTimeout(function() { var hello=document.getElementById("hello"); hello.innerText=hello.textContent ="this is a test"; }, 2000);</script>
 
oh yeah, is textContent available in IE9+?
 
innerText is non standard
@Zirak yes
9+
 
Neat. Now we can doubly ignore it.
 
@rlemon I'm setting the textContent as well
 
you should not be setting a non standard property if it doesn't exist
 
3:03 PM
or you could just create a new text node or use jQuery :-)
@rlemon why not?
 
because there are better ways to do it
I would create the text node
 
show us :-)
 
!!> "no"
 
@SomeKittens "no"
 
!!/echo STOP
 
3:05 PM
@SomeKittens STOP
HAMMERTIME!
HAMMERTIME!
 
oh yeah, I added another "hammertime" variant. Wonder when (if) it'll be triggered (no cheating by looking at source!)
 
CEASE
 
STAHP
 
HAMMAHTIME!
 
yay
 
3:14 PM
Thoughts on lightboxes? Go!
 
@JanDvorak Cheater
@benlevywebdesign Boxes of light!
 
@SomeKittens lol
 
@SomeKittens No cheats, just a good guess
 
no but seriously
 
@benlevywebdesign That's just way too large of a question
 
3:17 PM
@SomeKittens Ok, I'll make it easier. Yes or No on them?
 
Oh dear hell why do I suck...I should know why setting height to 100% only does so for current viewpoint, not for everything...
 
@benlevywebdesign Rookie mistake. There's four zillion scenarios, each with a different answer.
 
@SomeKittens ok it would be used on a portfolio website
 
Much better. Can you be even more specific?
 
yes I can
 
3:20 PM
(then do so)
When asking a question like "Should I use this tech" you need to be as specific as humanly possible to get a good answer
 
@Zirak You may like the current indiegamestand.com deal
 
For development, should I use a computer.
 
@twiz What kind of development? :P
After getting Pid, I won't buy another game for at least a week.
 
Porn site. Lots and lots of porn
 
@SomeKittens I currently use this one on my current website/layout
 
3:24 PM
Loads a little slow, but I think that's just my crummy college internet.
 
@AmaanCheval Damnit, I can't afford more games! I'm procrastinating enough as it is (with other important things). You and your Indian mind voodoo...
 
@Zirak Haha, Pid is just $1
 
Not just money, time.
 
@benlevywebdesign Pretty sure the images are just really big.
 
3:25 PM
I should study. Don't want to fail because I was so lazy
 
actually they really aren't very big...
 
@OctavianDamiean Battlefield 4 has a 25% off on GreenManGaming.
I'm done.
 
@SomeKittens I am redoing my whole site (still working on it as I just started coding it up)
 
@Zirak Time is money
 
@twiz Really? I thought it was a dimension.
What will quantum physics find out next!?
 
3:28 PM
@Zirak Time is the 4th dimension. Money is the 5th.
 
and I am looking to either make my current lightboxes responsive(they are not responsive now) or just switching to one that is responsive
 
Next Episode, on This Week in Quantum Physics: The Musical: "oh Pedro, your brain makes my bra fall off!" "Well, it was already on and off...but I certainly know another thing that's on..."
Tune in! Same bat-time, same bat-channel.
 
@benlevywebdesign Sounds good. Let me know how it goes
 
@Zirak hahaha Sounds like the History Channel
 
What's the status on the bot's transition to node?
 
3:30 PM
@twiz Really? I thought money was a semi-abstract notion people materialistically cling to in order to fill the void in their life and try to find a better grasp at "happiness".
What will rationalizations find out next!?
 
@SomeKittens so should I try and make my current lightbox responsive or switch to a new one that responsive and looks cleaner and more matching of my new design
 
@Darkyen Genetic fallacy.
@benlevywebdesign Either one. Heck, do both!
 
@Zirak Its the 5th dimension. It can be whatever the fuck it wants to be.
 
@Darkyen Who cares? I'm sure he liked puppies too.
 
3:31 PM
Hitler drank water. Do you want to be like Hitler?
 
Also, did you know Napoleon was a failing artist too?
 
I knew that!
 
That type knows how to hold a grudge.
 
@Darkyen Wow! That's almost good enough to be hung in a motel.
 
"Those bastards...not appreciating my art...not respecting me...I'll show them...when I'm through, they'll beg me to paint!"
 
3:32 PM
!!/choose "Study now" "Study at 12 AM"
 
@SomeKittens I don't know where or how to go about making it responsive and maybe right now since my redesign is for my portfolio class it would be better to just spend more time on other things?
 
@AmaanCheval Study at 12 AM
 
Thank you
 
@benlevywebdesign The choice is yours. Alternately:
 
Oh! I just had an idea to narrow the list of places Zirak could be from
 
3:33 PM
I wonder when the super-rare choosing easter egg will trigger...
 
!!/tell benlevywebdesign choose "responsive lightboxes" "other things"
 
@benlevywebdesign other things
 
@AmaanCheval Dude you need a life
 
Though really, it's important to be able to make your own decisions
 
@SomeKittens have you ever used one?
 
3:34 PM
!!/choose "Easter egg is real" "easter egg is a lie"
 
@twiz Easter egg is real
 
oh damn
 
@Zirak I have one. This is just like a side quest that I can't crack.
 
!!make our own decisions or let you decide
 
@benlevywebdesign Used my own decision? Plenty of times.
 
3:34 PM
@Zirak let you decide
 
...the subject confusion is confusing me
 
@SomeKittens no a lightbox, lol
 
@Zirak Are you still planing to move the bot to node? I'm kinda playing with the idea to rewrite it in Python.
 
@OctavianDamiean Planning is the key point. And I won't do a rewrite, one of the reasons being that this is the javascript room.
 
Meh ... that's not a reason.
 
3:37 PM
You're not a reason
 
That's right, I'm a human.
 
ROT13 is sufficient encryption
 
@Darkyen You've done stuff. Make the background gradient extend to the full page, not just the current viewport.
 
!!/choose "install smarthome" "configure network"
 
@GottZ Y U NO MAEK SENSE!? Could not understand choose "install smarthome" "configure network" (perhaps you meant to execute a command? If so, prepend the command name with a /)
@GottZ configure network
 
3:47 PM
!!should I keep working on Kittens Chat or finally get around to writing that article?
 
@SomeKittens Of course not
@SomeKittens Absolutely not
2
 
....thanks.
 
Hi guys
 
yo
 
3:48 PM
css, why? Just...why?
 
fast Question:
I have this
 var p2="60389052 - OLGA YANETH PARRA PINILLA8390507 - VICENTE ARROYAVE ARANGO75757575 GERMAN CASTRO";
   	 w = p2.match (/\d+\D+/g);
     f= (w[1]);
     w21 = p2.replace (f,"<br>"+f+"<br>");

	 //result 8390507 - VICENTE ARROYAVE ARANGO
works fine
but
 
Format your code
 
this not and its the same to me
function fdemandados(){
texto2 = $('.textcero').text();
w = texto2.match (/\d+\D+/);
f= (w[1]);
w21 = texto2.replace (f,"<br>"+f+"<br>");
$('.textcero').html(w21);
return false;
}
 
(hit up to edit messages, ctrl+k to format)
 
@Zirak ok
 
3:49 PM
Better yet, make a fiddle
 
Im gonna make a fiddle
mmm not working in fiddle but working on my localhost..
 
@Zirak ??
 
@Darkyen See the "internet, you rock" message above.
 
If you had three quarters, four dimes and four pennies in your pocket you would have $1.19. You would also have the largest number (11) and combination of coins possible without being able to provide change for a dollar.
 
4:05 PM
Can anybody explain to me prototypes?
 
Imagine a red ball.
Now that red ball gave birth to another red ball.
 
@Zirak no car ?
red car can be amazing too
 
The 2nd red ball, Ball Jr., grew up to become a lawyer. And it gave birth to another red ball.
 
anyone here who uses rwe smarthome? (mostly a german product)
 
Do note that the 3rd red ball is quite distinct from the 1st and 2nd red balls. Unlike them, it likes Rock music and badly refrigerated dairy products.
The prototype is what connects them. Ball Jr. Jr. was made from Ball Jr., he received his properties and changed them. Ball Jr. did the same from Ball.
This might sound like classical inheritance, but it isn't. In java for instance, classes inherit from classes. An object can't give its properties to another object. In js, any object can be a prototype.
@Pawnguy7 Kapisch?
Don't tell me I wasted a red ball analogy! I love red balls.
They're so convenient.
 
4:15 PM
Oh. Soeey.
Was checking something.
Sorry, yes, I don't get it.
This does sound like classical inheritance.
 
Inheritance is inheritance, but it's not classical. There are no classes involved. It's directly dealing with objects.
 
Are prototypes the way to overload a method?
 
A prototype is simply a set of properties (methods included) an object has, without directly belonging to him.
You can, but that's a complete side-effect. You can override (no such thing as "overloading" in js) a function without any involvement with weird concepts.
var obj = { foo : function() { return 4; } };
obj.foo = function () { return 5; }; //overriden
 
x is a prototype of y = if y doesn't have z defined, x.z is used as if it were y.z
 
Also, the naming of func.prototype is incredibly misleading.
The prototype of something is a link backwards, not forwards
That property was falsely named prototype to appear to the java-minded.
 
4:24 PM
I see. Sort of.
Although.
If I access object.prototype.
What do I... do with that?
 
As said above, func.prototype doesn't refer to the actual prototype.
 
hi here
 
Object.getPrototypeOf(object) will give you the prototype
Really, any object can be a prototype of anything. It becomes a prototype once you create something with it.
via Object.create or a composition method of your choice.
 
If I were to go, Array.prototype.shuffle = function(){}, how is this different than doing the same without prototype?
 
Again, that is not the actual prototype
 
4:28 PM
Is it, that it adds it all created instances of the object, rather than a particular one?
Well, I want to know the use of this as well, whatever it is.
 
That and all other new esque syntax is a kick to the crotch of prototypical object orientation.
 
Does it do what I was guessing it did?
 
If you mean that thing, then yes, when you new a function, it creates an object with func.prototype as its prototype.
 
Array.prototype is the prototype for new Arrays
 
I mean to say, the array shuffle thing.
 
4:31 PM
but Array itself is just a constructor
that doesn't inherit from its prototype property.
 
what does the above code do?
 
If you do Array.prototype.shuffle = function(){...}, you can do yourArray.shuffle() later in the code
where yourArray is an array
but Array.shuffle won't be defined
 
what do you mean won't be defined?
 
JavaScript, you're weird
 
!!>Array.prototype.shuffle = true; console.log(""+[].shuffle); console.log(""+Array.shuffle)
 
4:36 PM
@JanDvorak "undefined" Logged: true,
@JanDvorak "undefined" Logged: true,undefined
 
@Loktar Games these days are way too easy
 
Hm.
Well.
I am just trying to understand OO in Javascript from a C++ perspective.
 
objects = instances, constructors ~ classes
 
Yes.
 
properties of constructors ~ static methods
 
4:40 PM
Like... how would I inherit something?
Wait. How does that work? What happens if you call a "static" class method that acts on object variables?
 
the basic way to emulate classical inheritance is Car.prototype = Object.create(Vehicle.prototype); like Car.prototype=new Vehicle(), but doesn't run the constructor.
 
Lose that terminology, it doesn't apply to js.
 
Inheritance is possible, but only John Resig has figured out how
 
adding Car.prototype.constructor = Car also helps
 
Hm...
What would I do with "real" prototyping?
 
4:51 PM
If we’d asked the customers what they wanted, they would have said “faster horses” — Henry Ford
 
An interesting use is var view = Object.create(data); return view to create a read-only (well, somewhat) view of your data. Nothing extremely secure, but it's a nice way to create lazy clones
 
@JanDvorak definegetter and setter is also a nice way for read / write access control
 
@GottZ my bigger worry is that it's a shallow clone
 

« first day (903 days earlier)      last day (4060 days later) »