« first day (647 days earlier)      last day (4292 days later) » 

3:09 PM
what are the haps my scripters
 
o/
 
0
Q: recursive descend parser - avoiding left recursion

Jinu J DI have the following productions A -> Aa A -> b so it is clear that there is left recursion like parseA() { parseA();//recursion parsea(); } It is said that the left recursion can be avoided using the following rule A -> bA' A' -> aA'|null How is left recursion avoided ...

 
I disagree that school is overrated @rlemon
I think that analysis only covers a very small aspect of school, and not the arguably more important parts of making friends, networking, and getting the opportunity to do research
I think you get out of all education what you put into it, and $40,000 buys not education but opportunities that are otherwise unavailable
 
I think you can create a lot of the same opportunities without going to an academic institution and paying thousands of dollars.
 
3:14 PM
For Computer degrees I agree, especially post-internet
 
School as a facility of learning 'subjects' is overrated. School as a social interaction learning environment (street smarts and social abilities) - yes I agree it is important. however with the state I see many schools today going too - I think i'm going to home school my kids once highschool hits
 
learning in general is what you put into it. A facility that focuses on teaching isn't going to make a difference if I have the drive regardless.
 
For (say) biology... not so much
 
yeah I totally agree
technology is really the only area where I feel that way, and that is totally due to the internet, and other resources available.
 
2 hours ago, by dievardump
Where is SimonSarris ? I usually like his interventions :(
Aha.
He comes and PAF
 
3:16 PM
The fact that universities are so woefully behind in technology is another deterrent for many, myself included.
 
@SimonSarris i'm talking specifically to my own school experiences... but I learned nothing of value in school, CS and ENG courses were just a joke. Math courses were just copying notes.
 
But didn't you make any friends of value? Start any projects with them of value? Get any job offers of value?
 
UofW has amazing eng and cs courses - however good luck getting accepted and paying for it. (iirc 60K+)
 
iirc = ?
 
@SimonSarris I made some friends my first go at college. But got nothing at all of importance my second time, but it was a totally online expierience.
 
3:17 PM
I went to RPI, one of the most expensive schools in the nation :D
 
@SimonSarris not in school. I made more friends / had more fun with side projects etc in my first real dev job
 
I make a very good living, and dont even have a HS diploma :P
 
if i recall correctly. iirc stands for Impatient Imp Runs Courses
 
...
 
I hate that impatient imp.
reminds me of Dungeon Keeper II
 
3:18 PM
lol
 
@dievardump wat .__.
 
Thanks =)
 
@Loktar o/
 
crap am I the resident contrarian?
 
my girlfriend still plays that game
 
3:20 PM
@Abhishek \o
 
I'm too soft for that position, I resign
 
Oh no
 
that game is amazing!
@SimonSarris you live in the US right?
 
She says it indeed is a great game and she loves it
 
anyone from Chicago? /* bold for readability */
 
3:21 PM
she should try Startopia
its just like DK2 but in space.
its a bit newer than dk2, really fun.
 
I was a big fan of Spore
but only after you got to space.
 
hah I was the opposite
I loved the initial stages
 
how to securely obfuscate javascript. don't want YUI
 
@Loktar Yes, New Hampshire
 
ah ok, was j/w couldnt remember if you were also from CA
 
3:22 PM
the space travel is intense. played one game for a year and circled the galaxy
 
@BasicBridge Do you want the closure compiler on advanced mode?
 
@rlemon I learnt an amazing amount doing CS at University
 
@Loktar Nay I turned down a lot of jobs from CA :D:D:D:D wich maybe I will regret someday
 
I was already a pretty fair coder, but the algorithms, formal methods, etc, they're very hard to learn from just books
 
well I hear NH is really nice
would be hard to leave
 
3:24 PM
@SimonSarris I have used that but it's corrupting script.
or I think i'm using it correctly
 
@Alnitak see I find it easier to absorb information from books / seeing it done as an example or finished works. some don't learn that way
 
I have to do something to learn it :?
 
jsfiddle.net/Fcyxt/3 @FlorianMargaine see it with about a phone screen width
 
I guess it helps that it was a good university with a world-renowned group of CS researchers
 
yeah thats a major difference too
universities are so drastically different
 
3:25 PM
UofW is an amazing CS university
best in canada.
University of Waterloo
 
I went to bit.ly/pazndq
I was a lousy student, though. Did joint-degree with Engineering, and was majorly bad at thermodynamics and fluid dynamics
 
@Alnitak is that a silhouette of the tin man on the front page?
wait sorry, scarecrow, from the wizard of oz
the silhouette has the same hat as the scarecrow
 
it says "robot search and rescue" on the legend
looks like a US-style firefighter's helmet
 
I will continue to hope it is an allusion to the scarecrow's wishing that he only had a brain, and the implication that they are making him one.
 
3:32 PM
@Abhishek "Florian Margarine"? -_-
 
@Abhishek dude... you should totally use typesetting.js for that header
:P
also how accessible is the pseudo css generated content? do screen readers and Braille converters see it?
@FlorianMargaine I told you it looked like Margarine :P
 
@Alnitak "Creating Kill Bots so humans don't have to risk their lives killing other humans"
@FlorianMargaine I can't believe you're not butter?
 
@Zirak if we're being honest the point of any weapon is to make the same job (killing) safer for the killer.
 
@SimonSarris which is why I only kill with piano wire.
 
Not only safer, but more efficient :/
 
3:40 PM
@FlorianMargaine sorry
but does it looks good >
@rlemon its just 6 spans typesetting.js is huge for that
@rlemon yes.
atleast opera's speech css rule does
 
lol typesetting is like... 3.5kb unminified and un gzipped :P
@Abhishek yea that would be my only serious concern about the code - accessibility concerns.
 
The easiest 25 reputation ever stackoverflow.com/questions/11634061/…
 
@rlemon its a smartphone site
 
if chrome and FF cannot recognize the pseudo content for accessibility then the page is kinda useless to those users (which might not be a bad thing depending on your audience)
 
for chatting , erm i am wondering will i even need accessibility ?
i mean can u use an android when blind ?
 
3:44 PM
@Abhishek so? my android has a screen reader
yes yes you can
 
(o_O) yeah basically talk to it ?
 
there is even a Braille third party device for 'reading' without the text to speech
 
oh boy
 
@Abhishek it goes much beyond that - this is why semantic accessible HTML is important.
 
so far i am Not demographically including blinds
 
3:45 PM
@Abhishek looks good, but you should add a margin for .user-info
 
@rlemon A friend :D (Otherwise, no I don't think so)
 
lol. well I was just saying.
 
@FlorianMargaine you mean the .deck ?
 
@SimonSarris no there is, they were talking about it at google i/o (now i'm looking for it)
 
yeah
touching the sides looks bad
 
3:46 PM
HMM
 
just this and it looks way better, right?
 
hmm
but this way the content below it ?
like ur statuses and stuff ?
 
@Abhishek 3G is fastest than home Internet in North America :o
 
but yeah it looks cool.
@dievardump the fuck ?
 
@dievardump erm
 
3:49 PM
yeah it's better to keep some space on the sides
 
We're not Friday ?
I wish we could be Friday :(
 
like 5px, it's not much, but it makes it a lot better
 
@FlorianMargaine i just think the way u made it looks cool!
 
right?
margaine looks way cooler than margarine :]
 
@SimonSarris It's sometimes right. Seriously, in Canada, Internet plan are jokes.
 
3:50 PM
@FlorianMargaine i c what u did there.
 
seriously he says like 6 words about it in the middle of some other presentation
 
oh dear lord, what the f*** stackoverflow.com/a/1820837/995876
this answer is responsible for existence of this question stackoverflow.com/questions/11634150/…
 
@rlemon why is the blind person bothering to look at a screen? They should keep their laptop screen closed to save power!
 
3:51 PM
yes yes they should
:P
or at least dim it :P
 
From now on if a backlight in a computer screen is broken I will just call it a brailled screen
 
also now with Jelly Bean android boasts "Native support for refreshable Bluetooth Braille displays."
 
@SimonSarris From now on if a website is broken I will just call it a Railed screen
 
var foundArray = eval(foundJSON); ?
 
sorry @SimonSarris I was not trying to give the assumption that these devices were manufactured or sold my Google or Samsung but rather they are available and smart phone and tablet designers are trying to ensure they are compatible with their devices.
 
3:54 PM
@rlemon it seems like a really cool idea
 
@Esailija js libs? For doing fucking basic data structure manipulation? :/
 
@Zirak the js libs are not the wtf here...
 
@Esailija suggest down voting that crappy answer - I just did...
 
the wtf is turning it into a string so you can search with a regex
 
I know, I'm just going one wtf at a time...
 
3:56 PM
revolution in computer science... forget about objects, searching strings is the way
 
absolutely
 
the answer is three years old
 
this is how google scales to billion documents
 
Like this one: wtf??????
 
they simply have a huge string that they apply regex on
 
3:57 PM
@Zirak this one is nice
 
@SimonSarris yea... as of like 2002 or 2003 or something there were 10 million blind or visually impaired people in the US, a million more in Canada - and like 150 million more worldwide. I can only imagine that number has grown (with the populations) so to ignore that market is just insanity.
 
Array methods! We have array methods!!
shakes closest baby
 
yeah, still, this lib is syntactic sugar
if you're doing tons of manipulation like this, it can be handy
 
@Zirak I don't like his button animations... they are choppy for me
 
posted on July 24, 2012 by miraculous1

I’m super-excited to introduce my new ebook Retinafy your web sites & apps to you. It’s out now in beta! Whether the small pixels of retina screens scare you (just kidding!) or you’ll simply don’t want to spend countless hours researching it, my book will be your guide. Step-by-step instructions will show you how to [...]

 
4:04 PM
@Feeds sigh
 
i have a submit button that can fire one of two jQuery functions: 1 to validate that fields are non-empty, the other to submit the form. I can only get the first to fire. how do i apply conditional functions?
 
(there is no such thing as a jQuery function) "Can" fire? If you're not sure it will do both, you added the listeners wrong
 
@Zirak what are you referring to, the feeds article doesn't mention anything about jQuery
oh LOL
you were answering to mike
I have developed a blind spot for these messages it seems
 
so, i misspoke. my point being one or the other should fire. only one is.
not sure of how to trigger conditional functionality is my point
 
if(){}else{}
^usually works for me
 
4:11 PM
eh? show deh codez
 
@SomeKittens yea, that's what i thought, too.
@Zirak 1 sec. will paste
brb. got pulled off to something else.
 
@SomeKittens never worked for me i still use goto
javascript needs a goto keyword .!~!
 
@dievardump I can beat that
 
"Every time someone has homosexual intercourse, God punishes us by letting Nickelback release another album"
so goooood
It's the best oatmeal ever
 
4:22 PM
That lovely moment when you discover a problem with your code and find out that your past self already fixed it.
 
@dievardump ...
 
@Abhishek ? You like Nickelback ?
 
one song alteast
 
@Abhishek With Nickelback, "one song" === "Every Nickelback song"
 
@SomeKittens yes i like nickel back
and metallica and linkin park and skrillex and gaga and ke$ha and pitbull and micheal jackson and akon and sum 41 and Lords of Acid and mega deth and t-pain and a lot of singers BUT NOT JB
 
4:26 PM
I know a lot of bands who are full of wannabe rockstars, but at least Nickelback has the guts to announce that they all [are] wannabe big rockstars.
 
apps.eky.hk/css-triangle-generator <- really handy supports upto iE 6
 
Why do people take these things (like joking on Nickelback) so personally? I think Pink Floyd is the greatest thing that has occurred in the history of every known universe, but I can laugh when people joke about them. I don't care if people call me by names for loving Pink Floyd. Same is true for other things I like; guitars, motorcycles, javascript, Margaret Weis, Douglas Adams, Hendrix, Zeppelin, moustaches, C, functions, jelly, ...
 
Douglas Adams FTW
 
It's understandable when people mock your basic set of beliefs (like your religion, philosophical and world view, etc etc) or your nationality, but even that can be laughed at pretty easily.
 
Thanks Zirak
I felt alone
 
4:37 PM
Don't touch me
 
I won't
Well until i made you drink something that will help you being nice.
 
When you've got a moustache like mine, you don't need to be nice
2
 
who dared star this...
 
whistles innocently
 
oh hey its @Nathan
havent seen you in forever
 
4:44 PM
oh hai
I've been busy...
how're things around here?
 
@Nathan <3
 
I see many of the regulars from awhile back.
 
good, same ol thing
 
0
A: simple maths with jQuery

Neal Some text so that I can get past the filters....

 
@Zirak :{D
 
4:45 PM
@Nathan whoa. hello ^_^
Where have u been?
 
Dunno, around. For a long time I had not much JS to do so I stopped spending all day in here.
But now I have lots of the JS to do.
 
pffft
 
hm
I guess nathan was a regular before I was
 
So actually I came in to solicit feedback on a very small new jQuery plugin I wrote last week
 
@Nathan Ummm... there is an HTML5 feature that does that already
 
4:49 PM
It's so short it's hardly worthy of a formal plugin, but I thought the idea was interesting and am thinking I will use it a lot.
I have to deal with crappy embedded IE6/IE8 so newfangled solutions mostly fail.
@Neal which html5 feature?
 
googles that
 
@Nathan linkified it for ya :-P
 
I see!
 
@Nathan nice one
just my two cents
why this?

var u = opts;
	     opts = {
		 url: u
	     };
         }
instead of opts = { url: opts };?
 
4:53 PM
@Nathan haha you cant fish for my image anymore :-P
 
and why var timeoutId = window.setTimeout(pollify, o.poll_ms); ? window.setTimeout(pollify, o.poll_ms); is more than enough :p
also, using window sort of everywhere is kinda pointless :x
 
@FlorianMargaine Well that way he can come up with a way to stop the timer I assume :-P
 
"sort of": if( typeof window.console !== "undefined" && console.log &&
@Neal he's not stopping it anywhere
 
@FlorianMargaine in the first case we're changing opts from a string to an object but need to retain the string in the 'u' var.
@Esailija no but I'm using $.get()
 
You put this in jQuery prototype, yet it does not operate on any dom elements from what I can see
 
4:55 PM
I don't see where you using the u var either :o
(otherwise than where mentioned)
well well well
after this quick review
off to play /o/
 
(d'oh I seem to have lost the keyboard tricks I expect here)
 
I mean it should be a static function
because it doesn't operate on dom elements
you put it on the prototype as a method
 
yup
you should use it like $.reloadify()
not $().reloadify()
 
oh... you're right... I was actually thinking about that at a random away from computer moment recently
 
what's the point of doing $("div").reloadify() when it doesn't do anything to the jQuery collection :P
 
4:58 PM
thanks!
 
And while you're at it, why are you defining it on $ anyway?
 
Just for encapsulation
 
window.reloadify isn't pretty enough for you?
 
I am not about to write my own $.get(), so I might as well package it as a jquery plugin.
 
if it is dependent on jQuery it's fine to use $.reloadify
although all my application code is dependent on jQuery and I am not stuffing it into $
 
5:04 PM
There it goes, beautifying itself for you all day along; excercising, waxing, putting on make-up, picking nice clothes, while you're at the office shagging secretaries
And when you get back home, you don't appreciate its beauty, and congratulate it for its loveliness. NO. And you know how difficult it is for it!? DO YOU? Selfish bastard.
It cries at night because of you. Is a simple good thought its direction so hard!?
pfft
 
um... yeah.
 
@FlorianMargaine if
 
5:20 PM
css-tricks.com/sass-vs-less just a good article
 
@Zirak you didn't want to take it? Your reasonably suitable as a js consultant
@Esailija badass on the isDocType in IE8
 
@Raynos cheers
 
@rlemon in the same domain (but I think I already posted it here) : plus.google.com/u/0/116854015978291432198/posts/Fh95nStYerV
 
@rlemon how are we on the md table
there is some $ but can probably be ported to dom
I just wanted to focus on the algorithm
 
@Nathan 3 more.... stackoverflow.com/q/5874652/561731 :-)
 
5:30 PM
0
Q: How to merge multiple lists together in particular order in a functional style

RaynosI have three lists of items that I want to merge into one list but in a particular order. The order is 112123. This gives me a way of having the first list be more frequent in the result. Doing this with a for loop / imperative style is easy. Doing this in a functional style feels difficult Do...

Go stackoverflow monkeys
solve my problems
 
@Esailija are you trying to avoid table tag for a table content display ?
 
@Raynos What does 112123 mean?
 
look at the pseudo code ?
 
@dievardump it's for the "copy as markdown" chrome extension
if you select a html table, you will get "ASCII" table from it which can be used in answers
 
@Raynos Write function yourself, call it zip3
 
5:32 PM
@Raynos I don't understand it....
 
@Neal updated
@copy it feels like zip3
@copy but its not a zip
 
Oh wait
 
a zip takes there lists of same length
and returns a single list that's somehow a join of them
 
@Esailija probably a few days before I can even start on it. I'm busy with work / life :<
 
@Raynos how does 112123 translate to : two items from first list, one item from second list, one item from first list, one item from second list, one item from third list??
 
5:33 PM
they take up too much time
 
ok, I can probably work on features during that time
like centering and |'s
 
@Neal 1 is first, 2 is second, 3 is third, See the pattern?
 
@Raynos this is a very very localized question....
 
@Neal yes :D
 
@Raynos if your lists are bigger, what is the suite of 112123
?
 
5:36 PM
yeah I cannot continue the pattern after that
 
Array(5) == Array(5)

false
 
1+1 = 2, ok... but then you go back to 1..
hmm
 
@dievardump it loops infinitely
 
[,,]==[,,] wtf JS ?
 
@Abhishek == is same as ===
when the types are same
the type being object
 
5:38 PM
@Esailija still Array(5) must be == Array(5);
[1,1,1,1] == [1,1,1,1] logically this should be true
 
why
the logic is well specified
 
whats that ?
 
2 object references are equal if they are in fact the same reference
 
@Raynos probably split into tupels with size 3 for list 1, 2 for list 2, 1 for list 3 and then zipWith
 
@Abhishek arr !== arr2, even if arr.toString() === arr2.toString()
 
5:40 PM
hmm
intresting
 
@copy ah I see interesting. Yes, map them into tuples to get three lists of the same size
 
=== works to compare values
so you only use it on primitive variables usually
not objects, because it compares the references
 
then zip them
then unpack the tuples of size 6 with a flatten operation
 
Ah now i understand
 
The last 2 can be combined into zipWith (zip with callback)
 
5:42 PM
i dont think they can
zip with should zip three lists of same length into one using some combining operator
 
Oh yeah. Another function maybe
 
0
Q: Is Cloud 9 IDE ready for production

Morgan HerlockerI have been using Cloud 9 for a few days now. I really like the interface and love the idea of having the exact same environment accessible anywhere with a browser, however, so far it seems completely bug-ridden. It goes online and offline randomly every 20 minutes or so, I can only save files ab...

 
omg
that's the funniest pic I've seen in a while
 
nice found a chrome bug
 
me too, no emails for a month now
 
5:53 PM
if your page does not provide a title, but the domain you are on has set a title previous to that page, the last title was used (cached title only)
page titles cache seperatly... well this i did not know before :P
 
@rlemon Only on certain browsers
 
@Neal I 'showed' your response because I kinda figured when your gravatar jumped to the front of the line it was to me. Now i'm sad I did. I mentioned three lines up that this was in chrome. back too ignore (you're still on my weekly ignore list... see you monday)
 
@rlemon it happens in certain versions of Firefox as well. I do not really think of it as a "bug" per se
 

« first day (647 days earlier)      last day (4292 days later) »