« first day (614 days earlier)      last day (4339 days later) » 

2:00 PM
so, that's why i idle around in this room most of the day. thank you, fine gentlemen, thank you!
 
@rlemon Sorry rlemon, you take hard words in your mouth and a far from being playful.
Let me guess what that says about your ego.
Especially the addiction you admitted to have for me "trolling".
 
fetches popcorn
 
huh? ignore everywhere seems appropriate about now.
 
But anyway, I made my points, I wish you do take care next time things get broken.
 
he's now going above an beyond and the newest posts are all 'altered'
0
Q: Apple *.caf files in HTML5 <audio> tag

NewyCan I include *.caf files in HTML5 tags or do I need to convert them first?

 
2:05 PM
@rlemon I don't understand this sign
 
idk why but this guy really irks me.
o/ <- me holding up my hand for a hi five
\o <- you returning said hi-five and not leaving me hanging.
\o/ <- yay I got a hifive
^ three different ways of spelling hi five
 
o/ \o
 
/o\ -> self-hifive or just clapping?
 
This is a list of notable and commonly used emoticons or textual portrayals of a writer's mood or facial expression in the form of icons. The Western use of emoticons is quite different from Eastern usage, and Internet forums, such as 2channel, typically, show expressions in their own ways. In recent times, graphic representations, both static and animated, have taken the place of traditional emoticons in the form of icons. Western The emoticon in Western style is written most often from left to right as though the head is rotated 90 degrees. Thus, most commonly, one will see the eyes...
 
@GNi33 the "A" in "YMCA"
 
2:10 PM
I don't think MS will be as friendly about him ripping their content.
 
yes, obviously ;)
 
please test the autocomplete nowjs.com/examples
 
@rogcg Got "argentinagentina" when I typed "ar"
 
@RyanKinal that's what I noticed when I typed brazil, I got braazizizlzil
LOL
 
Typed "neth", got "nepalth"
 
2:15 PM
question: Why someone would post an example with problems?
 
Because they haven't seen the problems
If you take your time and wait for suggestions to load, it works fine
 
@RyanKinal but that is so clear!
 
If you type at a normal (programmer) speed, then it doesn't
 
users don't expect an autocomplete like that.
 
Yeah, but developers sometimes test in odd ways, because we're too close the the application.
We use it how we expect it to be used, rather than how it will be used
 
2:17 PM
Well after flagging the answers as SPAM they were removed so the 4 links I posted just make me look like I'm going crazy! — rlemon 19 mins ago
 
@RyanKinal so their approach is probably wrong?
 
I think it's not that misleading. Thanks for bringing that up btw.
 
@rogcg Most likely
 
@RyanKinal it's like reinventing the wheel
 
Wheels might not need to be reinvented, but mousetraps do. If you can figure out a better way to do something, why not try?
And, of course, trying sometimes means failing.
 
2:22 PM
forums.asp.net/post/5035500.aspx I want to be the one to tip the pot on this guy and get him shut down
he ranks very well in google.
steals all his content. and is making money off it! (i see ads)
 
@RyanKinal totally agree. but in that case it was clear it would fail, just a little test and you could see it. Doing something knowing it will fail, is totally fail.
 
rlemon is on a crusade here :D
 
@GNi33 QFT
 
1
Q: Express.js (node.js) + socket.io + backbone.js

dev.pusI want to dive in to JavaScript (client- and server-side) programming. Usually I always used Symfony2 (PHP-Framework) with some jQuery for effects/ajax. But there comes the time where this isn't enough anymore (Realtime apps). I now found out that Express.js and Backbone.js both rather use a JSO...

I don't know how to answer this :|
 
Right, but that's my point. The developer will often use something he built differently than a normal user. It wasn't obvious to him that it would fail.
 
2:24 PM
@GNi33 you know it!
 
@RyanKinal that's why there are Testers. ;)
 
My guess is that this particular dev was checking two characters to see if it would auto-complete, then checking 3 characters (slowly), and getting a false positive
 
Is is too much for him to just attribute the authors.? I mean he obviously has done some good in SEO - he'll still get the hits regardless.
!!> var b = "0100111001100001010011100110000101001110011000010100111001100001010011100110000‌​101001110011000010100111001100001010011100110000100100000010000100100000101010100‌​01001101010000010100111000100001".replace('/\s+/‌g', ""),L=[],t; for (var i = 0, l = b.length; i < l; i += 8) { t = ''; for (var j = 0; j <= 7; j++) { t += b[j + i]; } L.push(String.fromCharCode(parseInt(t, 2)));}L.join('');
 
@rlemon "NaNaNaNaN0\u0000æ\u0014æ\u0014æ\u0012\u0004$\u0015\u0004MAN!"
 
wow
 
2:33 PM
yeah I think I need to roll back to my version
but too lazy
ok I should be running my version now
 
@rlemon That dont work :-(
 
!!> var b = "0100111001100001010011100110000101001110011000010100111001100001010011100110000‌​101001110011000010100111001100001010011100110000100100000010000100100000101010100‌​01001101010000010100111000100001".replace('/\s+/‌g', ""),L=[],t; for (var i = 0, l = b.length; i < l; i += 8) { t = ''; for (var j = 0; j <= 7; j++) { t += b[j + i]; } L.push(String.fromCharCode(parseInt(t, 2)));}L.join('');
@Esailija "NaNaNaNaNaNaNaNa BATMAN!"
 
@Neal ohh but it does!
i just showed you the screenie
 
I just copypasted your message it works now :)
 
wtf?
 
2:35 PM
I changed the bot version
I used latest from zirak
 
ohh
 
:4211792 "NaNaNaNaNaNaNaNa BATMAN!"
 
first time in these chats...ok if i ask a general 'how should i approach' type question?
 
@Esailija "NaNaNaNaN0˜S˜S˜HUÔâ"
 
it didn't have the unicode bug fix
 
2:36 PM
you can ask whatever you'd like
 
Thats what I get
 
don't mind a little bit of assholery (usually it's just misread sarcasm)
 
@JonBest sure, we're here to talk
 
i'm tryin to think of a way to be able to, say, have a 20 block by 20 block section that you can click drag different sized rectangles in
so click down...starts 1 corner
 
@JonBest don't be scared by people being assholes though. We're all developers and have our opinions (sometimes harsh)
 
2:37 PM
click up ends opposite corner and you have a box
my question is how should i approach knowing that i want it to snap to the corners of the 20x20
 
sounds like a canvas job to me
 
ugh...i was hoping you wouldn't say that :P no chance of using something like jq ui draggable?
 
especially when you have methods to draw rectangles with pixels values
probably possible with jq ui draggable
just way uglier
 
fair enough
 
if you are set on using jq ui components for grid type d and d sortable works much better
 
good idea
i like the idea of keeping it non-canvas/svg/webgl etc because of the portability to phonegap
 
@Neal why would you star, and link to my starred text, when it contains profanity
 
most mobiles support canvas
 
thats just asking for a "rlemon ban"
 
2:42 PM
I'd worry if you were using IE tho
 
jerk :p
 
ios doesn't support canvas unless it's an iad
 
but jq ui might be very slow on mobile tho
oh :(
 
haven't seen if it's ok in ios6 beta, but that's too buggy to trust anyways right now!
anyways...thx for the help
 
5
A: Unstar message in chat

Michael MrozekBeing a room owner gives you the ability to cancel stars; the option is in the menu in the star list itself:

damn, I wanted to click on the arrow to close the box
 
2:44 PM
yea I am not a room owner :P
@BoltClock iirc mods can also do this! cancel my star with profanity please
@Neal stared it then linked it in a meta post. like common!?!
 
@rlemon Seriously, don't do that. Just flag one of his posts.
 
If you flag all his spammy posts as spam, you're using up your flags and wasting our time.
 
flagged like 3 - they were removed... saw a few more - flagged them.
this is a few days old with no action. flagged made mods take action.
 
If Tim Post comes in I imagine he'll be giving you hell for it :P
 
Oh crap, it's BoltClock!
hides
 
@BoltClock but can you please remove this post chat.stackoverflow.com/transcript/message/4211075#4211075
or edit it
 
@FlorianMargaine lmao
 
I can see people getting offended because it is now stared.
which was not my intentions.
 
@FlorianMargaine I think all tags have badges for 100, 400, and 1000 upvotes
 
2:47 PM
@rlemon I edited it
 
@Esailija yeah, they have
 
thankyou.
 
I just never thought anyone would have a golden badge for css-selectors (i.e. not enough questions with this)
 
wow why do we have as much modo here these days ?
 
for example, there is no css3 golden badge atm
 
2:48 PM
I have soon bronze badge for
 
9 mins ago, by rlemon
user image
^ I really am asking this
 
@rlemon cut & wrapped
 
@FlorianMargaine I'm working on it.
 
hahaha
one golden badge attributed stackoverflow.com/tags/node.js/topusers
 
hello people
 
2:51 PM
oh, there's a css3 - tag
*fav*
 
@Abhishek o/
 
o/ @Abhishek
 
how are you all ?
 
-_-
@Abhishek o/
 
2:52 PM
 
\o @FlorianMargaine , @Loktar , @GNi33
 
felix kling has some kind of cheat ratio
5 upvotes for every answer, HOW
slaks has even more cheat ratio
 
@Esailija It's because of this
144
A: Why does ",,," == Array(4) in Javascript?

Felix KlingBecause the right hand operand is converted to a string and the string representation of Array(4) is ,,,: > Array(4).toString() ",,," If you use the array constructor function and pass a number, it sets the length of the array to that number. So you can say you have four empty indexes (s...

 
wow
 
@Esailija CMS is worse
 
2:54 PM
lol even i am in there!
 
do people share this stuff on google's front page or how do they get so many people to view that kind of question
 
@Loktar hey hey hey - jsfiddle.net/rlemon/kDy2U/21 LAST bug (i hope) So I have wrapping \o/ on long lines... and if I split on the spaces (words) this is perfect... except when the word is too long and exceeds the max width. So now I have to split and wrap.
 
@Abhishek you're on all pages, so that you can see your own answers/votes
 
@Esailija what does the numbers mean ?
@FlorianMargaine ah! never knew that !
 
upvotes | answers
 
2:55 PM
so atm if you type "Never gonna give you up, never gonna let you down" iirc gonna splits
 
ratio = upvotes / answers
 
so you only want words/spaces to wrap?
 
@Esailija yes, and CMS is even worse
 
dont cut it in the middle of a word?
 
oh wait, last 30 days
sorry :D
 
2:56 PM
just wondering is jsfiddle.net down ?
 
@FlorianMargaine lol yes. Maybe he got 10000 votes for one answer that's ruining the ratios
 
ok I want words to wrap naturally, but If the user enters "Ahhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh" Instead of clipping the ends of the word I should cut it no?
 
oh hey, you're in there
 
8 mins ago, by rlemon
9 mins ago, by rlemon
user image
 
2:56 PM
@FlorianMargaine oh I hate that guy
 
this guy is a noob :|
 
he is a total noob
I think one morning I had to downvote 3 of his answers in succession
 
yeah he's a jquery developer
but a bad one
his solutions work, mind you
but they're usually bad
 
I didn't downvote because they were bad but because they didn't solve the problem or didn't just work at all
 
oh god, the pink is so flashy blog.greg-net.co.uk/post/21228054876/…
alright, gotta go, cya guys
 
3:00 PM
Hi all again
 
@rlemon yeah instead of clip they should flow I agree
it looks like it does
 
@Loktar open up that fiddle (jsfiddle.net/rlemon/kDy2U/21 ) and enter "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa ok that worked... but now look at the W that fell."
i'm working on the solution
2 mins
 
0
Q: review request: javascript for ebook about card game

soupman55The javascript below is used to display my ebook. Links http://www.keepcount.net/ebook/01-09/02_tricks.html (ebook) http://db.tt/w9mYXwHZ (ebook-templates) Key Features of UI for eBook one html file per chapter, one css file, one javascript file no scrolling: html file organised into pa...

 
I cannot seem to get away from loops in loops.
function fragmentText(text, maxWidth) {
    var words = text.split(' '),
        lines = [],
        line = "";
    if (ctx.measureText(text).width < maxWidth) {
        return [text];
    }
    while (words.length > 0) {
        while (ctx.measureText(words[0]).width >= maxWidth) {
            var tmp = words.shift();
            words.unshift(tmp.slice(0, -1));
            if (words.length > 1) {
                words[1] = tmp.slice(-1) + words[1]
            } else {
                words.push(tmp.slice(-1));
This function takes a string, and a max width and splits the string into lines, cutting and wrapping long words as well (total word is longer than the maxwidth)
it works... but it's ugly and (imo) slow.
ugh. post it in here and see my own mistakes .
 
@FlorianMargaine @Esailija I think CMS was one of the most respected users in our JS community, at least for a while.
I don't know about now, I'm not too active in JS
 
Ive been getting a lot of karma for that
user image
2
^ my boys yesterday
making an html5 game :P
 
cool
 
@Loktar That's awesome
 
lol yeah makes me so proud
my son spent all day yesterday while I was at work hand typing a tutorial
first thing I had to teach him.. save :P
 
half my internet is not working
 
3:18 PM
:-D
 
dude that is epic
 
@Loktar wwot (y)
 
I have a SVG file I want to manipulate with JS, can anyone help with that?
@Abhishek left or right half?
 
can they improve the performance of my canvas code?
 
haha yeah right
maybe one day :P
hard part is just guiding them, and not doing it for them..
 
3:19 PM
@SomeKittens :-| facebook works , so works nothing else
 
ok well until then jsfiddle.net/rlemon/kDy2U/23 get to work!
 
also coming up with good examples on what things are
like a variable I explained as a drawer in a dresser
and an array like dressers with drawers.. inside dressers lol
 
see for my bro I used a 'bag' example
 
ooh thats a good one
 
@Abhishek Try unplugging the cable and then shaking it out. Sometimes the internet gets clogged in there. Hold it over a trash can for a few minutes to let it drain.
 
3:21 PM
@SomeKittens >_>
 
@rlemon, your chat plugin works great
 
BOOO
-1
Q: Timeline javascript ERROR

amanaP lanaC A nalP A naM AI am in the timeline for one of my questions And I click on one of the little A's expected for it to show me what answer it is from: But it does nothing, so I check the console: There is a bug here, and it should be fixed. I Should able to see the answer if I click on the A Sidebar: Th...

 
@Abhishek First, go an get an apple, a screw driver, an old sock, some potato chips, and a 3/4
wrench. open up your cd-ROM, place in the apple. Using the screw driver you can punch out the core for less mess. Now take the old sock and wrap it around your Windows CD. Eat the potato chips. Using the wrench you can turn at the screw driver until you hear a pop. Now you place your sock covered install disc over top of the apple and kick the computer (bare foot). If this doesn't work call you're uncle brian from tech support (too low brow?)
2
 
@Abhishek Sorry, but it's difficult to diagnose such problems through chat. There's various basic things you can do, like rebooting PC/router/modem, clearing cache, and refreshing your connection
@rlemon I find that only works on Mac fanbois. They think using an Apple can fix anything.
 
@rlemon LOL
 
3:25 PM
@SomeKittens thanks :)
seriously though... anyone wanna take a crack at improving this:
function fragmentText(text, maxWidth) {
    var words = text.split(' '),
        lines = [],
        line = "";
    if (ctx.measureText(text).width < maxWidth) {
        return [text];
    }
    while (words.length > 0) {
        while (ctx.measureText(words[0]).width >= maxWidth) { // for when a single word is longer than the max width
            var tmp = words[0];
            words[0] = tmp.slice(0, -1);
            if (words.length > 1) {
                words[1] = tmp.slice(-1) + words[1];
 
@SomeKittens i was just wondering if some of those "huge" lines got broken
well we are having stromy conditions for 2 days so this aint unlike to happen
 
@rlemon Clearly, you need more jQuery.
 
@Abhishek how is the infrastructure in india. DSL? Cable? you are on phone lines? Fiber?
 
@Abhishek We can't help you with that....
 
@SomeKittens I would lul if this ever did anything that jQuery would be useful for.
but it's string manipulation.
 
3:28 PM
I'm looking at it now, but I'm pretty noobish when it comes to such things.
 
jsfiddle.net/rlemon/kDy2U/24 here it is in a fiddle.
 
@rlemon emmm, why is it upside down?
 
it's not
it's wrapping from bottom up.
 
 
ohh
maybe old code for rendering
yup
 
3:31 PM
I need some help with a sticky menu (sticks to top on scroll) I'm having a hard time getting it to stick to top after scrolling back up, you almost always have to scroll all the way to top of page before it sticks (and not just above the original menu position like it should) pastebin.com/V6qTc4MG
 
bottom up needs lines.forEach(function(line, i) { to be (lines.reverse()).forEach(function(line, i) {
 
@rlemon this is what is in my textbox:
> What the heck is going on here? Why is everything upside down?
 
yea
it's just a cp error
draw() function was old. fragmentText was new
 
@rlemon there you go :-)
 
there you go neal :P always commenting on shit that has nothing to do with the issue at hand :P
 
3:32 PM
@rlemon And the issue is? (i have a job, so i dont pay attn to this chat 24/7 :-P)
 
-4
Q: Change site content based on a time

c s hWant to Change my site content once a week at midnight, how can I schedule that with javascript/jquery?

 
Ok I have a jsfiddle of my issue here: http://jsfiddle.net/Dn9VQ/

If you scroll down, and then scroll up slowly, you'll notice it doesn't stick back until being well past the menu
 
ok quick question
having a brain fart
what are the prefilled things called in text boxes :?
like for a phone number it shows xxx-xxx-xxxx in the input before typing anything
the other dev called it a water mark.. which is clearly incorrect
they have to have a term associated with them. I just cant think of it.
 
I think +header.height() fixes the issue
@Loktar Well in Excel and Access those are data validation I believe
 
input masks!
 
3:39 PM
yes
 
or value mask
cool
 
@Event_Horizon I think it's the - $(window).scrollTop(), actually
 
@RyanKinal what do you suggest?
 
Removing - $(window).scrollTop() in the following line:
else if ($(this).scrollTop() <= pos.top - $(window).scrollTop() && menu.hasClass('nav_f')) {
Seems to work for me
 
Will test on site, because adding +header.height() makes it attach before reaching the top of menu by like 8 pixels on some pages
 
3:42 PM
Does anyone here have experience with SVG/JS?
 
@RyanKinal You were right thanks.
 
@Loktar haha, that is awesome!
 
@rlemon Copper Cable DSL we get blazing 256kbps - 2mbps !! woot woot!
 
Thanks :), ImpactJS dev just offered me a free license for the kids
 
on for me too? ;)
nice move from the guy
 
3:51 PM
yeah definitely
I thought about having the kids use my game engine.. but his has a pretty awesome editor
so I think it would be a lot easier for them to get into
 
+1
@Loktar only for kids btw .. have u tried showing them scratch.mit ?
 
not yet
 
show em they will love it :-)
kids will get a nice community and nice competition :-)
 
deleted
If anyone could help, that'd be awesome
 

« first day (614 days earlier)      last day (4339 days later) »