« first day (822 days earlier)      last day (4127 days later) » 

2:00 PM
You don't need facial recognition
 
@AmaanCheval good call
but I would like to attempt to find them
let the user adjust it
 
thanks for the lulz, but I'm supposed to be working - cya
 
Or you could put a fixed frame of reference which is shown over the camera so they can take pictures that way
 
maybe.. i'll have to mess with it
Blinkify me
 
@RyanKinal hmmmm
 
2:01 PM
hahaha
 
@rlemon Well all I want is to find an answer
 
@rlemon Do it, man
 
to my JS question
 
me-->boss: the term is not lamb-blasted...
 
@Bushy162 ask on the main site and stop pestering the rooms.. not that it's pester to ask - it's a pester to ask persistently over and over again when there has been little to no interest in helping you with your issue.
we don't all A) care, or B) know the answer, or C) both.
these do not taste good with coffee
 
2:05 PM
@RyanKinal i activated akismet
 
Anyone else have problems with the new jquery mobile version that came out yersterday (1.3)?
 
@Zirak btw that statement was really amusing
@RyanKinal By Day i am a student in a hell forksaken institute , by night i am a web developer :D
 
By day I am rlemon: Uber troll supreme.
By night I am rlemon: Love machine!, then Uber troll supreme, then cookie monster, then maybe juice, then bed.
 
You turn into a bed?
 
I'm really a broom
user image
3
 
2:14 PM
I am who I am, unless I am not.
 
Using SO as a dictionnary
0
Q: what is the top portion of a java method called

user974047I can't recall what the top portion of a method is called, the portion that will show up when you mouse over a method, for example, the default top portion of a doPost method in a servlet is: /** * Handles the HTTP <code>POST</code> method. * * @param request servlet reques...

 
@rlemon thats soo friken old
 
still has more hair than you
 
@FlorianMargaine Touche
 
2:23 PM
@FlorianMargaine That one hurt me... really
bye
 
:O
@RyanKinal that book looks great :)
 
I know, right!
 
Sam
@dystroy, still better than googling "that portion of code above the java methods"
 
Like many great things in life, you have Randall xkcd to thank for it
 
@Sam You mean it's easier for the asker ?
 
2:25 PM
@Darkyen if we can't laugh anymore with you :(
 
Sam
@dystroy, I mean it's faster for the asker. And he got what he wanted to.
 
"(Early in his jump, it was about minus 40 degrees, which is that magical point where you don’t have to clarify whether you mean Fahrenheit or Celsius—it’s the same in both.)"
it is? dammit, i got some reading up on Fahrenheit to do
 
!!/convert 40C
 
@Zirak 104F, 313.15K
 
Liar
 
2:27 PM
@Zirak minus
!!/convert -40C
 
@AmaanCheval -40F, 233.15K
 
Not a liar
 
"Log In"
No
 
@RyanKinal i really want to get into cooking, so i guess that book would be a perfect start
 
2:29 PM
@GNi33 Which one?
 
Cooking is fun :-)
 
..., Great Hacks, ... wot!?
 
I'm intrigued by that part
I'm like OMG COOKING HACKS!!! MUST HAVE!!!
 
20$ for the ebook-version, i guess i'm just gonna buy it
 
2:30 PM
Yeah... there are a couple things I want to order from Amazon, so I'll probably just bundle it with the rest.
 
Wait, cooking hacks? Can I make a raspberry pie with a raspberry pi?
 
heh. Added the book to my wishlist named "Programming stuff"
 
Pfff ... I'd like to order half Amazon sometimes ... don't have the money though. :D
@CBredlow If you can engineer the robot which will be controlled by Raspberry Pi, yes. :D
 
Cooking is incredibly fun for the hacker-minded
 
@FlorianMargaine lol, nice
 
2:32 PM
Custom oven with timing/heat control done by the board
 
@GNi33
F = 9/5C + 32
C = F =>
C = 9/5C + 32
-4/5C = 32
C = -40
 
I'd actually have to see a lot more improvement before I make my oven any more complicated
 
Robot oven is a bad idea.
Robot wife... then you don't need the robot oven. :P
 
If I were to make a robot wife, she'd be insulted by that comment.
 
meh, Robot wife has no feelings - she is a ball of wires and pistons.. real life husband doesn't give a shit :P
 
2:36 PM
You guys ... making me reach my account overdraft -.-
 
Anyone in here good at sql ?
INSERT
INTO user_roles
  (
    users_id,
    roles_id
  )
  VALUES
  (
    26095622,
    (SELECT roles_id
    FROM roles
    WHERE role_name='SAP STOCK VALUATION VILA'
    AND rownum     =1
    ORDER BY roles_id ASC
    )
  );
 
@RyanKinal nooooo, i successfully forgot about that blog
 
gives me error: missing right parenthesis
 
now i'll have to read every damn article :/
 
@GNi33 What blog?
 
2:38 PM
 
@OctavianDamiean what-if.xkcd.com
 
> From what height would you need to drop a steak for it to be cooked when it hit the ground?
Already love that blog.
 
yeah, it's awesome
 
@AndersMetnik Have any sample data?
 
The whole thing's brilliant.
 
2:42 PM
@AndersMetnik That is rather odd
 
My software professor: "If you ever have a chance to work with the French on a software project, don't" @FlorianMargaine
 
Hah
 
He's not racist, just talking about his work history
 
I was joking with my team about moving to Canada yesterday, and my boss told me that if I did, I had to work with French Canadians.
 
> In the end, there’s only one solution: Hitting the Earth with asteroids.
 
2:43 PM
He said that like it was a bad thing.
 
@SomeKittens meh :P
 
I can understand him though
 
> (I know what some of you are probably thinking, and the answer is no—it doesn’t spend enough time in the Van Allen belts to be sterilized by radiation).
wahaha, i love that guy
 
Readability, stupidity, the lot
 
2:46 PM
Readability: A
 
@RyanKinal Thanks me thought so as well, couldn't have an inner select like that :)
@CBredlow else thanks :)
 
can anyone come up with a great question that he should answer for the js-chatroom?
 
@Zirak I'd prefer better variable names, but it's not bad for readability.
@GNi33 Nope.
 
Yeah I dislike the d0 and d1 things too
 
Also, I think I'm just inexperienced at reading a functional style.
I still haven't "learned me a Haskell"
 
2:49 PM
@Zirak Look at you using hoisting like a pro
It's readable
 
The bind on line #23 is useless, forgot to remove it
And the reduce there can be a map
 
@AmaanCheval Mean line 7? :)
 
@OctavianDamiean Line 11
He has a return just before. To someone who doesn't know about functions being hoisted, it may be confusing
 
Oh that.
Didn't even pay all too much attention to it. :D
 
@RyanKinal You know what language honestly looks interesting? Prolog
 
2:52 PM
Yea, if you're a weirdo.
 
It does look pretty interesting
 
What could be better alternatives to d0 and d1? Just expand the d into date?
 
@Zirak Yep. That would help.
Is it necessarily true that d0 <= d1?
If so, you may want to add some sort of time-based element to the name.
 
Well what's d0 and d1 supposed to mean? I mean you're subtracting one form another apparently.
That's what I thought too. Like now and later or something.
 
Nope, but I assume that if the future is wanted, negative intervals are to be expected
 
2:56 PM
Whatever is semantically more correct.
 
heh, isn't it weird that it's 1 second, but -1 seconds
 
@Zirak Right right
 
startDate and endDate?
 
I like it
 
Mhmm, sounds good.
 
2:58 PM
@AndersMetnik Are you still having an issue with that insert statement?
 
@Vinay Beware of this solution. Objects don't have a guaranteed order.
Okay, and that earns you an ignore.
 
@ryankinal Oh really? is any other way to get these values in a order?
 
2 messages moved to bin
Don't spam the question. One time is enough.
 
@octavian okie.. but i can't find the question now. :(
 
It's in a cold and dark room.
 
3:02 PM
Do you think I could convince my boss to send me to CSS day?
 
@octavian shalll i post my question again?
 
Amsterdam, huh? ;)
 
@CBredlow Nope else thanks champ :) Got it working, by putting the number into the select, and letting it select both the values :)
 
okay
 
3:05 PM
@GNi33 Yep!
 
@Zirak Do you always indent with 8 spaces?
 
I gots to get back to Europe at some point.
 
pastiebin turns tabs into 8 spaces
 
YAY TABS!
 
3:06 PM
@RyanKinal meet Florian, Octavian and me when you're here ;)
 
I ♥ u0009
 
:-D
 
@rlemon :P
 
i need a t shirt that says that
 
0
Q: Sorting : Useful for more than just viewing data?

xixoniaContext I'm currently working on a personal project involving functional reactive JavaScript, and I've come up with an odd question. Note that this question is not JavaScript specific, but that is the context in which I am asking it. Scenario When filtering a collection of data, you end up wit...

 
3:09 PM
"functional reactive javascript"...
 
also reminds me. I want this ^
 
Speaking of pastebin, I mentioned that on an meta question, and was told "no, just no, this is just a bad answer, and I'm closing it" What's wrong with using pastebin for posting code?
 
there are better services than pastebin for that
likely
gist.github.com/
paste.ubuntu.com
etc.
 
Pastebin sucks, I only use it sometimes because of the expiration time
 
Gist is friggin' awesome because it's forkable and cloneable.
 
3:12 PM
I'll keep that in mind then
 
and because it is GitHub.
 
Anyway, thanks @RyanKinal, @AmaanCheval, @OctavianDamiean, @Superman et al.
 
or you can write your own paste service?
 
Which will be worse than gist
 
Man. Write a paste service that has a small chance to display the text as Zalgo stuff.
 
3:13 PM
posted on January 15, 2013 by Nicholas C. Zakas

If you’ve been doing web development for any amount of time, you have probably come across the recommendation to create a “skip to content” or “skip navigation” link for accessibility purposes[1]. The idea is to have the first link on the page linked to the main content so that those who can’t use a mouse [...]

 
@Zirak on it
 
"We checked your CV, and we must say, we are not impressed."
 
Wait, make a paste service that converts it to .docs and the font to wingdings
 
"I ran your code and got Error: Too much Zalgo :(
 
@CBredlow no
 
3:14 PM
bad idea?
 
@FlorianMargaine not on my hairs bro
please.................
 
alright
I won't do it again
 
dns propagation time is balls.
 
@rlemon whatever dude
2 hours is nothing!
it used to be 48
now THAT sucked
jesus that sucked..
 
@Loktar but but but... i'm impatient. I blame them (internet).
 
3:26 PM
@FlorianMargaine thnx :-) u can pick on anything else but hairs..
 
haha yeah, I dealt with the 24-48 hours too much to where the 2 hours im like EFF YEAH!
 
I used to use a 14.4K modem. Today I would sooner run backwards through a corn field naked.
 
@rlemon lol
 
@Zirak I vaguely remember that you got a new, strong computer recently, is that correct ?
 
they keep making things faster, I dislike waiting now.
@copy then he broked it
 
3:28 PM
So, no ?
 
@rlemon take a chill pill
 
@rlemon ... broked?
 
or buy off my laptop from me (x
 
no, he broked it
^ spoken in bad english southern style
 
3:34 PM
HE EATED MY COOKIE
 
don't fuck with my jokes @FlorianMargaine
 
don't fuck me, thank you
 
:( but I wannnnnaaaaaa
2
 
lol
 
3:35 PM
@ThiefMaster hey there
 
no love for the bromance?
 
Should SOLID be used in JavaScript?
 
YES
 
...why not?
 
definitely , at least the "SOL" part
 
3:38 PM
but what about Dependency Injection ?
 
What about it?
 
overlay.show(highlight, context, callback) - with dependency injection this constructions becomes quite reusable, if correctly implemented
 
Sam
Is it me or jsfiddle is down again?
 
It totally depends on what you do. For the average jQuery-based website you don't even need much OOP (except the OOP you get by using jQuery of course)
 
@OctavianDamiean that won't be available until March-ish probs
 
@rlemon HEY lemonmeme looks great!
 
@ThiefMaster an average "jquery website" used non-structured programming paradigm
 
Sam
@RyanKinal bookmarked
 
anything OOPish way above their skill-cap
 
@tereško but you can't avoid the use of globals in JS, no?
 
3:42 PM
You can. Why couldn't you?
 
you can, you should and people here actually DO
 
except if you mean those globals provided by the browser --- but that's the same as any globals provided by the environment you're in.
 
@SimonSarris hehe. it looks just like lememe - for now :P
beta site will always be that - it just moved from github to my server
 
well .. DOM is kinda like filesystem access in desktop programming - you can access it from everywhere , but you really should get your hands chopped of, if you do
 
Well, if you take a look at jquery-ajax implementation u would see as it violates Single Responsibility
 
3:46 PM
@metal_fan ...
 
as well as Prototype and dojo
 
var elements = document.all;
Array.prototype.forEach.call(elements, function(element, i) {
  var tmp = element.cloneNode(true);
  tmp.innerHTML += '<span> node # i</span>';
  element.parentNode.replaceChild(tmp, element);
});
/* u mad bro? */
 
@metal_fan if you look for programming practices from javascript frameworks , you should get your head checked
 
jQuery should not be pointed to as an example of good software design.
IMO, jQuery is mostly meant for designers looking to do cool shit quickly.
 
.. or clueless project managers
 
3:48 PM
or w3schools
 
Or lazy devs
 
probably not me then
 
... and I'm sometimes a lazy dev
 
I AM LAZY \0
 
w3 schools for dummies.
 
3:49 PM
i am extremely lazy
 
I'm not lazy, I'm efficient
 
i cannot be bothered to dig through another jquery plugin , just to make it red
 
return jQuery.addPunctuation("im not lazy but punctuation takes time");
 
Sure, I'm efficient... but sometimes I optimize for lazy.
 
good idea
 
3:52 PM
damn .. my document mapper is too diligent
 
@tereško why exactly not to look programming practice from extremely popular frameworks?
 
because they all suck under the hood
 
but it depends on how you define "suck"
 
Think about highschool/secondary school/9th grade. Were the popular people smart? Was it the best idea to follow what they did?
3
 
they are popular because of the features (or illusion of features) that they provide, not because of the code quality
@RyanKinal not that not-so-popular people were not capable to instigate some mayhem
 
3:58 PM
No they weren't
 
0
Q: User management in Node.JS

JustinI have moved all my webserver code dealing with user management into a single Node.JS module that I paste below. I have spent time polishing it, and churned it through JSHint. I am generally happy with the code, except for the error handling. I find it clunky at best. How can I improve error han...

 

« first day (822 days earlier)      last day (4127 days later) »