« first day (382 days earlier)      last day (4573 days later) » 

12:06 AM
hey, do we talk about plain java too?
 
@parioscreations No. See the Java room.
 
Yeah, sadly no one is in the Java room. But thanks!
 
@parioscreations however I can recommend you use node.js instead of java o/
@gsnedders whats your opinion on node?
 
oh man this place is WAY too complicated for me.
 
@Raynos In what context?
 
12:18 AM
@gsnedders open question
 
@Raynos It's fine, though one has to accept it's inherent lack of parallelism.
 
@gsnedders is there a problem with saying just run multiple processes?
 
@Raynos Depends on context.
 
:(
why you try to use reason and well thought arguments
rather then favourism, elitism or religious opinion on langauges
 
@Raynos Because I deal with JS, Python, Ruby, C++, and machine-code on a daily basis. And Java, C, and others on a weekly basis…
 
12:21 AM
Oh your well rounded and sensible
Im only semi-competent at js.
 
Different things work for different contexts.
 
I can't write good code in other platforms
 
I'd hate to write more than minimal parts of compilers in machine-code, but for that it's excellent.
 
For web applications, is node jawesome?
 
I only know VB.Net, I just started Java, and a little bit of C#. And I wrote a couple of apps for my calculator (in C)
 
12:22 AM
Never tried using it, and don't know what libraries are available for it.
 
There's node itself.
And then you just pick up any old open source module for specific features
and hope it works
 
Hint: I've never really touched node.js.
 
I mean thats a shit way to do it
@parioscreations you shouldnt defiantly get comfortable with C#
C# & VB.NET are very similar but C# is more popular
 
yeah, I learned VB.NET last year for my programming class and I'm forced to learn Java this year for AP Computer Science
 
I can't stand VB's syntax and lack of {} :\
 
12:26 AM
I think the world is turning to C#. The XBox, PC, and Windows Phone 7 all incorporate the use of C#.
 
C# and Java are both nice languages.
 
and I hated vb for the lack of {}
made the code unreadable
 
@gsnedders Y U SAY JAVA IS NICE
 
@parioscreations Note they're all Windows products, and none cross-platform.
 
@gsnedders I NO LIKE YOU ANYMORE.
 
12:27 AM
Windows ftw baby!!! :D
 
O_o
 
@parioscreations YOU MAKE ME SAD.
 
I like Linux :\
 
capslock ._.
sorry.
 
them stupid mac users can cry me a bucket of tears.
same with linux...
 
12:27 AM
@Raynos Java has its flaws, but I certainly have a preference for statically typed language with overloading.
 
@parioscreations take your epic trolls elsewher
@gsnedders I just cant stand the lack of lambdas. I really can't.
 
@parioscreations When you're dealing with open-platforms such as the web, you won't find people who like closed-platforms.
 
Once Java7 is around then cool.
 
Java does have its flaws, especially when drawing on the GUI. Tough as hell
 
@parioscreations pro tip: we dont like closed platforms. we dont like windows/microsoft platforms.
 
12:29 AM
@Raynos Proper lambda expression are in JDK 8
 
@gsnedders whats in java 7 ?
 
@Raynos so basically Java devs like all platforms...
 
My main point is, I want a language with first class functions or function pointers
@parioscreations Im not a java dev.
Remember this is the javascript room.
 
Excuse me JavaScript
eh hem
 
Theres a big difference between js & java
If you make that mistake again, ill get annoyed >_>
 
12:30 AM
yeah i know...
 
But yes open platforms awesome.
Open source awesome.
 
@Raynos Well, Java 7 has this weird half-assed closure impl
But truly I'm a Haskell fanboy, clean separation of impure functions, and a nice type-system.
 
@gsnedders whats wrong with java 7 closures?
 
Hello, in the following code:

flags ? flags.mode : 'BLOCK',

What does the ? and the : mean
 
12:45 AM
@Shawn31313 ? and : jointly make up the conditional operator. i.e., ifThisIsTrue ? doThis : elseThis
 
@Shawn31313 Ternary Operation
 
Thanks you two.
 
You're welcome :)
 
In your case, it's checking to make sure the object is defined and not null, otherwise mode in whatever code is using it defaults to 'BLOCK'
 
yes
Well this isnt my code I just saw it in some file and I see it alot, just wanted to get clear of how to actually use ? and : (Ternary Operation)
 
1:15 AM
nodeup taking the piss out of rails :D o/
I think its going to be a half hour rant.
 
@Raynos Fanboi.
 
@gsnedders fanboi & proud
 
Problem: I can never read "boi" without thinking of the LGBT-slang sense.
But perhaps that's not something I should admit. :P
 
2:00 AM
0
Q: xpath vs DOM API

Demian BrechtI just came up on xpath recently while writing a greasemonkey script and immediately fell in love. I haven't done any benchmarking yet (coming soon), but according to a couple sources that I read, xpath is faster than using the DOM API. After checking out the internals of a couple of libraries (S...

 
2:57 AM
hey all! i'm implementing a payment option in a popup window. are there any possibilites to make this ad-block friendly? i'm a bit scared people will get their popups blocked ...
(not to cause confusion: the payment system is done by a bank, i'm just integrating it)
 
so the payment method is an actual page that you have no control over?
the HTML that is?
 
exactly
pretty much like opening paypal in a popup
 
If you're concerned about it, you could open it in an iframe
 
they don't allow the paypal-style flow ( "leave and return" ), instead they state in the implementation notes it has to be in a poup, and actually there's a window.close() button at the end of their process
^ they suggest that also, but their site (unlike mine) is secured with ssl,
i want the users to see the location bar with the lock
at least: i'd want to see it :)
i think i'm really looking for how to make popups ad-block friendly.
so far i've only found a few forum and stackoverflow posts where people say "make sure you open the popup only directly upon user interaction"
that part makes perfect sense to me, but i'm wondering if there's more to it
(it's one of those topics where google doesn't seem particularly helpful)
 
hm... then in that case, the only thing I've seen to remedy this is basically a message to the user to make sure pop-ups are enabled. :( It's not so much a matter of ad-block friendly as browser implementation.
 
3:05 AM
good point,
 
the browser and how it is set up determines what is blocked and it does make sense that actual user interaction (physical button click) would prevent that behavior
 
^ this is not at all what i wanted to hear, but i suspect you're right about that warning message ... think i'll have to add it
 
@kritzikratzi make it a link. popups from links are valid
 
raynos: you mean something simple as <a href="#" onclick="openPopup();return false;">unrich me</a>
joseph: your message definitely sent me on the right track for a google search, apperently it's possible to check if a popup was opened or blocked (e.g. here davidwalsh.name/popup-block-javascript )
 
@kritzikratzi yes/no. If you use inline javascript in your html again I'll break your kneecaps
But yes that kind of thing.
 
3:14 AM
haha
yes, it was more for the sake of a quick example :)
k, think i'm all set...
thanks for the superquick help!
 
@Raynos break his kneecaps? O_o
 
i don't mind that sort of language online. in fact i'd be impressed if he'd manage to do so over my cable connection ...
 
 
6 hours later…
9:27 AM
@kritzikratzi , that isnt the point
what he is trying to say is that your way of writing code is considered harmful
 
 
2 hours later…
11:23 AM
anyone else participating in Movember?
I can't wait till mines nice and full.. then I can grease it up. Really rock those handlebars.
 
@rlemon mine doesn't grow properly in the middle, it's a PITA.
 
I can't connect the one side to my chin
so it looks like a questionmark if I grow a gotee
 
lol
 
kinda like the anger management guy
well, the girlfriend hates it.. so lets see how long this will last.
 
@rlemon moustache >>> girlfriend
You've got to have your priorities
 
11:43 AM
hahaha, i told her "ok, if i'm not shaving my upper lip, you don't have to shave yours"
 
doghouse for you, my friend.
 
hahaha, she'll get over it.
it's only a month
well off to work. see you chaps soon.
 
12:34 PM
jQuery Conference 2012: United Kingdom Announced http://bit.ly/uTMmZG
 
1:09 PM
Wow. Google's giving Indian businesses free domains. That's pretty darned cool (if you're Indian).
 
JavaScript masked inputs - do we need them? I'd say no. http://whattheheadsaid.com/2011/11/javascript-masked-inputs-do-we-need-them
 
@rlemon I've been growing one since october, now I'm a hipster.
@AndyE I really wish your site loaded for me.
 
@Incognito Loads fine for me
 
@Amaan I know.
 
@Incognito Stalker? O.o
 
1:22 PM
@Incognito but that doesn't count for Movember, as per the rules; on Shadow-een everyone MUST shave all facial hair. And for the duration of the month only the upperlip and handlebar areas can contain hair.
 
@Amaan It's isolated to me because my firewall blocks one of his social plugins that kills the site.
 
@Incognito Yeah, figured
 
@rlemon I'm old school and call it no-shave november.
 
@Incognito dammit, I forgot I'd reactivated that plugin - it was supposed to only be temporary. It should work for you now.
 
@Incognito No you're not. No shave November was what was trending on Twitter. Not Movember.
 
1:24 PM
@AndyE love your input mask in JS. first time reading your blog
 
@rlemon Wrong author :P.
@Amaan But how can I be a hipster without it?
 
@rlemon cool, thanks :-)
 
for some reason I saw his name in your post and just replied
Movember (a portmanteau of the slang word "mo" for moustache and "November") is an annual, month-long event involving the growing of moustaches during the month of November. The event was conceived in 1999 by a group of Australian men from Adelaide. Since 2004, the Movember Foundation charity has run Movember events to raise awareness and funds for men's health issues, such as prostate cancer and depression, in Australia and New Zealand. In 2007, events were launched in Ireland, Canada, Cyprus, Czech Republic, Denmark, Greece, Spain, the United Kingdom, Israel, South Africa, and the Unit...
 
@Incognito Hah. I wouldn't know, man
 
@rlemon I hate slacktavisim, giving money to research does something for cancer, not growing a moustache to "raise awareness," everyone knows about cancer and that people need money to work on it.
 
1:28 PM
@AndyE this explains a lot :p
 
Grow a moustache, it's fun and whatever, but don't pretend it's for cancer.
 
@Raynos "cool, thanks :-)" explains a lot? :-p
 
@Incognito it's like the "shave my head for the cause", not only does it raise awareness; ohh my look at all of those hairy faced men, and what is this Movember everyone keeps on about a quick google later ohh yea... mens health
 
@AndyE why youve been hacking around with styling
 
but people can and do donate to those who are growing said moustache
 
1:29 PM
Masked inputs are silly though.
We have HTML5 placeholder & validation
 
Yeah, I'm not a big fan of them.
 
forms 2.0 ftw
 
@AndyE dont let that nay sayer get you down. I think it's a cool little script.
probably wouldn't use it but it's cool none-the-less
 
@rlemon I highjack all of my friend's facebook statuses that go "9/8 people won't post this for 1 hour every day poltergeists kill someone with diabetus type seven" with a bunch of links to donation pages and say how good it is for everyone to be donating (basically, if you're going to be an idiot I'm going to guilt you into giving money to solve the problem)
 
@rlemon: don't get me wrong, the point of the post was to advise against masked inputs. But that little script was just to point out that they could be done better than they have been.
 
1:32 PM
@AndyE i understand.. i still like your script.
 
I probably wouldn't use a masked input either, unless it was 100% accessibility issue free.
@rlemon: so do I. In fact, I'm somewhat proud of it :-)
 
@Incognito thats why i no longer use facebook.
 
2:26 PM
@AndyE you follow everyone who follows you on Twitter back?
 
@Amaan: nope. Consider yourself speshal.
 
@AndyE Hahaha, you're so kind.
 
twitter is creepy
people I dont know follow me >_>
 
@Raynos That's kind of the point. Or you can make your account private
@Raynos what's your Twitter username?
 
2:41 PM
i need followers... i have 7 followers... I know 3 of them.
@thegreatrupert
 
@rlemon I'll follow you
 
@Raynos That's why I use my creepy face picture.
 
whats everyones handles?
 
@Incognito What is that, from when Chrome just came out?
 
2:43 PM
Why you stalk.
@Incognito lies. That is lies.
 
@Amaan It's from today's ars technica.
 
@Incognito IE has 41%
 
@Incognito This sucks.
@rlemon Twitter handles?
 
Wikipedia usually posts an aggregate from several different stat sites. The article hasn't been updated with October's figures yet.
The usage share of a web browser is the proportion, often expressed as a percentage, of users of all web browsers who use that particular browser. This figure can only be estimated, typically by determining the proportion of visitors to a group of websites that use a particular web browser. Browser usage share varies from place to place as well as through time. Accuracy Measuring browser usage in the number of requests (page hits) made by each user agent can be misleading. Overestimation Not all requests are generated by a user, as a user agent can make requests at regular time int...
 
@rlemon @cowbelljs @brianjGraham
 
2:47 PM
amaan
what you got?
are you Lau Thiam?
 
IE6 phase out is next year but xp support ends 2014...
 
@rlemon Na
 
someone start a petition
 
2:49 PM
anyone know who twitter.com/#!/lau_thiam_kok is?
are they from SO
 
@rlemon No idea. But that guy who was in here yesterday mentioned kok or something. Might be a Malaysian local thing.
 
I just thought it was humorous that he flames religious nuts why push their beliefs then three tweets later is telling people not to eat meat.
 
...saw that and shook my head
 
@rlemon Hah
 
fucking bricked my tablet.....
god damn!
 
2:52 PM
whaat?
what kind of tablet is it?
 
@rlemon Nice try, moses.
 
might be under warranty still if its not too old
 
Viewsonic G-Tablet
nahh, I voided the warrenty day 1
 
man if I bricked my tablet id be pissed
 
flashed a new OS onto it
 
2:53 PM
ah ok
 
I'll figure it out
these tegra chips are golden
 
yeah
Ive got the samsung 10.1
 
I just need to get it back to the stock
 
was playing shadowgun on it the other day
looks great, very mediocre game though
 
then I can use NVFlash, problem is I can't boot it right now and I don't know what bl version I have on there
 
2:55 PM
I just want a decent ARM ultrabook-like thing.
 
Ubuntu is comming to tablets eh
anyone else read this
 
@rlemon Yeah. And mobile phones
 
Ok so I am on a mac..snow leopard running (Yes there is a reason I havent updated yet) and I cannot stand the lag of VMWare Fusion 3...anyone have any virtual machine recommendations, on either optimization or other options...googled the hell out of this one and I can't seem to find anything worth reading
 
and TV's
lol
 
@rlemon TVs too? That'll be odd
 
2:59 PM
that'll be awesome!
no more having to have a dedicated box as my media pc
all of my tv's run off a media pc, fuck cable - everything I want streams at 720p
 
Maybe for you. Here in India, it won't work. Not for the next 5 years at least
 
It's about time TVs opened up more, tbh. Google TV didn't really seem to take off.
 

« first day (382 days earlier)      last day (4573 days later) »