« first day (863 days earlier)      last day (4081 days later) » 

m59
8:00 PM
So, that work doesn't need to be done again until the cache expires.
 
Ah, nice
Makes sense
 
m59
Saves like .0001 seconds haha
 
Hahaha
 
m59
nah, I don't really know. But it is better :)
Dude, I've seriously spent over 1000 hours on this. When I started, I knew what a variable did...that's about it.
It was procedural style and all global vars LOL
 
Hahaha
You've come a long way, then
 
m59
8:02 PM
It gets worse. When the new feeds loaded, I deleted everything from the dom and started over
It's hilarious looking back on it.
 
I learned on my own, so I didn't know about global vars at all for long
 
I have a use who asks a question, delete it just after I answer (not for the first time), the ask again the same question and is insulting when I answer. What to do ?
0
Q: Is there an advantage of using a named function over an IIFE?

pure_codeI see IIFE's all the time. I see a series of statements that are left open, i.e, they are not encapsulated by brackets. Why have I not seen a function followed by its invocation // lib code...we are inside an IIFE function fooName () { } fooName(); // lib code... to im...

 
m59
Mustachify them.
 
> The rep system is fecal matter.
 
The first time I did, it was because I had 2 for loops, both with i = 0 in different functions, and they skipped
 
m59
8:04 PM
ah yeah
global i lol
Yeah, I was on like m in my loops
still clueless about globals
 
@ThiefMaster I have a user spawning insults in comments and immediately deleting his comments
 
Hahahaha
 
where?
 
m59
now I feel pro because I managed to eliminate youtube's love of globals.
 
The first candidates post was posted before the election started?
@ThiefMaster wut?
 
8:06 PM
@ThiefMaster in the question I linked jut above
 
nice how he's talking about fecal matter instead of just crap
 
@AmaanCheval wadya mean?
 
@ThiefMaster He edited his comment.
 
If you check it at the correct moment, the time shown for it is before the time shown for when the election was posted
 
@dystroy would you like to mod? You have the neccessary badges
 
8:09 PM
Oh, actually, no. I think I messed it up
 
Yeah, I just miss the necessary intelligence so that I don't have to ask again where are hidden the functions when I need them :)
 
@AmaanCheval why not... I will fail anyway...
2
Hmmm apparently I cannot comment on my own nomination
 
php is good
 
@SOChatBot Are you actually a bot
 
@Neal I'm sure you can be a little more verbose for your nomination...
 
8:21 PM
@dystroy yea, I am editied now. Care to help me out? :-)
 
Hum... Dunno... Maybe I'll keep my ideas for myself :p
 
lol
 
I edited my nomination :-)
 
nomination ?
is there any election going on
 
m59
8:25 PM
@AmaanCheval you're the man. Much like this: youtube.com/watch?v=zjYSERaXEGI Hero of the day.
Gotta get going for the moment. Peace dudes.
 
@m59 Hahahaha
@TimeToShine It is indeed
 
 
@KendallFrey what is the "crap" for?
 
i'd guess the guy's age
 
8:33 PM
And the fact that he doesn't really seem to get it.
At least, that's the way I see it.
(Disclaimer: I haven't looked at his stats)
 
I don't know why he points the "incident"... That's not really a selling point and doesn't seem so important...
 
@ThiefMaster Would you say SO need more moderators ? And what would you say if you wanted to convince users to apply ?
> I have had my ups and down with this network
 
hmm?
 
yes, more moderators are a good way to reduce the load for all of us
 
8:41 PM
@Neal : It casts doubts on your candidature. No good for you in my opinion.
 
and i'm not good at that kind of stuff you are asking for in your second question
 
@dystroy I am trying to be transparent.
 
tbh, that "considered to delete myself" thing is a reason for me not to vote for someone
 
@ThiefMaster hmmm I am trying to be transparent and not lying about anything. How can I change that, but still be me?
 
I wouldn't mention things that don't really matter
 
8:44 PM
@Neal you'd better remove it, in my opinion. Even for people who knows it, that would show you got over it.
 
@m59 you really need to strip down the number of arguments
 
@dystroy remove the whole paragraph or just that line?
 
@Neal I would remove the whole paragraph the time to think about it and come up with a thought enough one.
 
@dystroy :-\ I really am trying to be completely honest in the post, so that way people do not throw it back in my face later like they have done before...
 
Don't write too fast : even if it's tomorrow, it's good enough. But things you write too fast might hurt you.
 
8:46 PM
namespace.thumbs.prototype.load_feed = function(feedUrl, callback) {
};

namespace.thumbs.prototype.load_feed(feedUrl, function() {
    object.feedCallback(context, options, data, optList, listNum, feed);
});
@m59 something like this makes the signature cleaner ^
 
And I can't say more as I don't know the past Neal.
 
so many arguments usually means that the function does too much
and there... you clearly don't need so many arguments
 
@FlorianMargaine yea... I usually limit to 3-4 params
 
jAndy for president !
 
@jAndy I'd vote for you :P if you were more present :>
 
8:48 PM
oowwhhh.. no, no, but @Neal is trying I saw !
 
I'm sooo not going to nominate myself btw.
 
@JeremyBanks is being an ass
 
@jAndy I don't see your nomination. Are you serious ?
 
@dystroy: no, I'm too lazy for that kind of thing I guess
but I'd take the position.. to get all the fame and girls
!!
 
@jAndy Y U NO MAEK SENSE!? Could not understand ``
 
8:49 PM
all the glory...
 
Can people flag that comment.... He is just bashing... I am not sure why...
 
(I star your comment, Neal : if I nominate myself and you too, I'll need some ammunition to destroy you :) )
 
look at @ThiefMaster, he can't rescue himself from girls, money and glory
lol :)
 
@jAndy He really can't.
 
I know.. SO mod is like... hollywood star !
 
8:51 PM
@jAndy I'd vote for you!
 
Should I even respond to Jeremy's blasting, or ignore it?
 
why? he wouldn't be all to yourself then
 
I applied once.. 2 years ago or so ? for a mod position.. I got owned by some fools and lesser minds (kidding.. :p)
but it looked pretty crazy.. vote counts of thoussands for no obvious reasons
 
as it turns out my knee is going to be fine - just strained - however my "heel spur" upon a second opinion is now "tendonitis in my achilles"
 
I'm not so convinced of their voting mechanics there
 
8:53 PM
why can't doctors ever just agree
 
human beings are pretty interesting, aren't they ? If they have an urgent need, anything else in their orbit just become totally irrelevant.. right now, I don't care about ANYTHING.. 'cept for the delivery boy, bringing my noodles
I so don't care about anything else right now its ridiculous
 
1. It couldn't find the page.
2. It COULD find the title.
3. WTF
 
@KendallFrey haha idk
 
Right now I care about getting my hands on some descent pain killers or booze
or both
 
8:57 PM
Using the word 'gay' in a negative sense is just gay.
 
might be a fun night ;)
Today I am so not Gay.
It's been a very depressing day.
but seeing all of your hairy upper lips makes me smile a bit
 
!!s/pain killers or/pain killers and/
 
@RyanKinal Right now I care about getting my hands on some descent pain killers and booze (source)
 
3 mins ago, by rlemon
or both
I thought of it a little too late.
 
And I'm blind :-P
 
9:01 PM
pain killers and booze will cure that!
demorol and whiskey is my suggestion.
 
!!s/cure/ensure/
 
Take two and forget everything until morning.
 
@RyanKinal pain killers and booze will ensure that! (source)
 
Unfortunately, I have work to do when I get home from work.
 
so do i :(
 
9:02 PM
Boy, is that ever a depressing sentence.
 
spent all day thinking about my knee
> "I used to be productive, then I took some black ice to the knee"
 
Yeah, I saw that
Sorry to hear about it. I had a little wipeout this morning as well, though not nearly as bad.
(from the sounds of it)
 
omfg JeremyBanks.... I do not get what he has against me...
 
Is this even possible:
 
why wouldn't it be?
 
9:05 PM
Figured it out. Thanks for rubber ducking
 
Woo! \o/
 
I've decided that I no longer like hex colours
rgb(all,the,things)
 
rgba(all,the,things,yo)
:-P
 
I even came up with a little rhyme as a retort to all the haters
/*
Some people question my use of rgb over hex. To them I say:
    You down with RGB? (Yeah you know me!)
    Who's down with RGB? (Every last homie!)
    You down with RGB? (Yeah you know me!)
    Who's down with RGB? (All the homies!)
*/
anyone living in the early-mid 90's will get this
 
I was alive... but I don't get it.
 
9:08 PM
opp naughty by nature ...
 
Ah
Definitely wasn't listening to hip hop in those days.
 
but it was naughty by nature
 
@rlemon that's white guy rap lol
 
no..
 
baaah
 
9:10 PM
^ white guy rap
 
lol
 
^ white guy rap (funny as hell too)
 
probably it sucks as much as any other rap
 
Yo, MC Plus Plus, my rhymes are so phat,
I'm PSPACE-complete but I'll reduce you to 3-SAT.
My crew is so hard that we roll in NP,
And bitches dereference my pointer for free.
^ sample
 
9:11 PM
lol
 
Your mom circulates like a public key,
Servicing more requests than HTTP.
She keeps all her ports open like Windows ME,
Oh, there's so much drama in the PhD.
^ how can this not be the most awesome ever
 
haha, now that's nice
i still prefer reading it though
 
With my finger on the trigger I run ./configure
Yo, this package is big, but MY package is bigger.
 
lol nerdcore is such funny rap
@RyanKinal monzy.com/intro/drama_lyrics.html fifth paragraph lyrics.
best verse of the song imo
 
oy.... this is all quite dilly LOL
 
9:14 PM
> I'm an unsigned long int and you're an 8-bit char.
I have to use this insult one day in real life.
 
lol
So, I was writing a post for Blogascript about using class names for event delegation, and how it's probably bad for separation of concerns. But... is it? I'm not sure.
As long as you're using semantic class names, it might be okay.
 
imagine some guy is talking trash at the bar. "Yea well. Bitch, I'm an unsigned long int and you're just an 8-bit char! What do you think of that? Wanna step outside? wait! you can't because you're weak compiler do not allow for public static methods.. yea. step off."
 
by the way, you should go and buy this game:
impressive atmosphere, and it already scared the shit out of me a couple of times
 
@m59 pastebin.com/td1rSnVf to give you an idea of how to refactor
 
9:19 PM
@RyanKinal dude. that's not event delegation
that's event bubbling
 
Okay... I was under the impression that delegation took advantage of bubbling.
 
yep
event delegation is when this is the target element you chose to delegate to
which means it's not always e.target
 
I... see...
 
Redditors of the JS room: reddit.com/r/css/comments/197qmk/… upvotes please
 
@RyanKinal let me build up a simple example
 
9:23 PM
Karma Karma Karma Karma Karma chameleon...
 
@AmaanCheval Braces are for bitches :P
 
@phenomnomnominal Hahahaha
 
y u no like python? just because of the braces?
 
I no liek whitespace denoted block structure
braces and brackets > spaces and tabs IMO
 
but it means that the code has to be tidy(ish) to even be valid!
 
9:27 PM
I don't like the language to dictate my indentation
the plus (I imagine) is that other peoples codes would be easier to maintain because of a language driven IoC
 
@RyanKinal sorry, updated for correct code now.
@RyanKinal I hope the code makes my sentence clearer :D
the important part is line 17
 
@FlorianMargaine according to these three blogs, what I did above is event delegations.
But yeah, I see where you're going with this.
 
these blogs are wrong
 
9:31 PM
I think that's probably just more convenient event delegation.
 
it's just event bubbling
 
that's not delegating
but oh well ~~
 
having never noticed this before in /r/css I just had a good lul
 
@FlorianMargaine It's the same concept, just with extra boilerplate that includes a .call
 
9:33 PM
@rlemon i guess you have never spent time in ##css
it is an actual issue
 
@RyanKinal and it makes it so much convenient
and on these words, good night!
 
1 message moved to Trash can
 
Wikipedia is unaware of "spicale"
 
Trashed due to "i hope you understand and you can do it for me :)"
 
9:39 PM
Err I want built internet. How can do?
 
I mock. but don't be asking people here to do your shit for you
well you sent it here as well.
well get going on the links in the js tag wiki
learn the languages (basics will do)
write the game
ok, yea, you're probably in the wrong place then.
protip: pasting a wall of requirements is not a very good way to get help
posting a link to your (however feeble) attempt will be
 
@user2108912 Rent a Coder
 
elo all, have a question to all of you. What way do you think is the best to cross-browser test a page?
 
@user2108912 No one can help if you don't say what your problem is. Posting what you want to do is not stating your problem.
 
I know i'm ignored, so i'm just going to wait for him to ask one more time for help then bin everything he's said because he's spamming now.
rlemon feels jerky
 
9:43 PM
Has anyone ever played around with a custom asset loader?
like a queue of assets to load
which can be shuffled
 
@user2108912 A site where you can get people to do stuff for you. Unlike this site.
 
Not sure how possible it is
trying to come up with a nice solution for client-side templates
 
finger was on the trigger.... messages were highlighted and all.
I'll give him one more chance.
 
is IEtester any good?
 
9:44 PM
Yeah, that was more specific. One more chance indeed.
 
hahahaha
 
@user2108912 LOL NO DELETED
 
@Wobot not from my experience. Microsoft now give out VMs though for each version here modern.ie
 
26 messages moved to Trash can
 
@user2108912 Sweet. Do that, then.
 
9:46 PM
1 message moved to Trash can
and that is done with
 
@RyanKinal ØØØØ ok
 
we've clearly shown no interest in writing this for you
stop spamming the room
 
@AdamLynch What does each of those cost? or is them for free?
 
haha I would love to see that fiverr post
 
@Wobot free
 
9:46 PM
"I will throw together some piece of shit javascript code for you for $5"
 
@AdamLynch thanks for the tip, will look in to that
 
all further communicae(?) relating to this project will henceforth be binned.
 
@twiz I will copy and paste source code for $5
@Wobot np. Takes ages to download though
 
I am in no mood for help vamps of this nature
 
@AdamLynch haha should try that just to see if you get any responses
 
9:47 PM
hey all
hows it going
 
rlemon is not gay. rlemon is very not gay.
 
@twiz "I will duplicate any website or HTML5 game you can find online for $5" haha
You could automate that too
 
Amaan? decided we need to take back gay = happy. too long has it been used as a derogatory term.
 
lol
 
@rlemon Whats up lemon. You gay?
 
9:49 PM
no
slipped on some ice this morning - twisted my knee
 
damn. is you're life that shitty.
 
been aching all day
 
guess os
 
yea I have bad luck
 
@rlemon hmmm that might be a little gay
 
9:50 PM
I am a "lemon" after all.
 
wow
 
So no one has any idea about queuing asset loads and reshuffling them (and possible dependent assets)?
Kinda thought so
Bit of a tricky one
 
@AdamLynch wait... why would you want to shuffle them?
 
@twiz not literally shuffle... let's say you have an infinite amount of client-side templates
already compiled to JS
but need to be loaded in the background after the page is loaded
so you have a hardcoded queue and GET requests by likeliness of them being needed first
so then the user clicks a button which should use a certain template and render a view on the client
but the asset isn't loaded
so nothing will happen
user has to just wait and press again
 
DI?
 
9:53 PM
what I'd like is that what you press the button that if it's not already loaded then it's moved to the top of the queue so it's loaded next
but tricky especially without making assumptions and I've IE8 as a main focus
 
ohhh I kind of get what you're talking about
 
@rlemon in JS?
 
but thats sort of confusing
 
@twiz ya
 
yea you can do IoC and DI in js
it's just kinda faking both but it's doable
 
9:54 PM
hey does anyone know why jsfiddle is so damn slow?
 
@rlemon Hmm ok. Just trying to think what that'll achieve
I need all assets to load
 
ahh I thought you were just describing you needed some sort of DI system
 
but just one that's requested based on a user action should be loaded next
 
tl;dr so I skimmed over it
 
@rlemon np :)
Ok so one thing I could do is to make assumptions;
a modern browser can typically load up to 6 assets in parallel from one domain
 
9:56 PM
so basically you've requested a few assets and the next action is determinate on said assets but they are not done loading?
 
so I call 6 GETs
and keep the rest in a list
and then when I get a reply for one of the GETs, I send the next
and that way I change change the order if needs be
@rlemon yeah
let's say you've an infinite amount
 
well then nothing would work because you'd never satisfy all dependencies ;) .
 
instead of nothing happening / console error, I'd prefer a little preloader and that asset to be loaded next, then used when ready
 
lets say a large finite amount
 
@rlemon go ahead :)
 
9:58 PM
these 'assets' are libs or objects or both? just js files correct?
 
Google Closure code I think
 
ajax or jsonp them in?
 
Twig templates pre-processed into JS functions
added as globals to the page :/
@rlemon right now we just spawn a $.get for each one
but then we have no control over the order after that
the browser just manages it from there onwards
 

« first day (863 days earlier)      last day (4081 days later) »