« first day (320 days earlier)      last day (4626 days later) » 
00:00 - 18:0018:00 - 00:00

12:09 AM
@MattMcDonald meh. Just use EventEmitter2
 
 
2 hours later…
1:57 AM
can anyone help with an assetmanager in javascript for canvas?
oh, nvmd - got it
 
3:01 AM
RT @sethladd: New post: Follow 3 more HTML5 game developer blogs http://t.co/PLQ91M6
RT @mattur: "An Evaluation of the World Wide Web as a Platform for Electronic Commerce" [1995] http://t.co/XRfBif2
RT @jsgoodies: Future of editing on the web; on the upcoming features of html5 regarding editing stuff, can't wait: http://js.gd/1zm
RT @rik24d: Wow, great news ! RT patmeenan: Experimental Firefox support is now available on WebPagetest http://t.co/H0MP72q #webperf
 
3:39 AM
0
Q: Make edits with PHP or Javascript?

kdubI am using a theme in which requires each post to have a post thumbnail, otherwise it will be replaced with a default. I know some posts on my blog aren't going to have a thumbnail, so I located the function that inserts the thumbnails and altered it so it doesn't produce any default image, howe...

 
4:00 AM
0
Q: What is the reason for creating the symbols ∞ on the client side?

PacerierTake a look at this link: http://math.stackexchange.com/questions/60766/what-is-the-result-of-infinity-minus-infinity What is the reason for transforming the symbols ∞ on the client side? Because if someone disable javascript, this is what they see: So right now I'm pondering what may be the...

 
4:58 AM
0
Q: Dungeon map generator not working in javascript

RaptrexI am trying to convert this dungeon algorithm from java into javascript, however, my script works 70% of the time. When it works, the rooms are missing a wall on one side, and when it does not work, it is stuck in an infinite loop. (Sorry the images are small, getting the pixels to scale ...

 
5:40 AM
0
Q: Using jquery and javascript in Wordpress

japanwormAfter trying for many many days without any improvement, I think I have no other choice but to ask for your help. I have to admit that I don't know much about coding, but I've tried various tutorials, but just can't get to work what I want. The problem is that I want sidebar tabs using jquery to...

 
 
5 hours later…
11:09 AM
RT @borismus: Finally offline gmail, calendar and docs. No gears, just open web technology! http://t.co/Qeg6e2Z
RT @ariyahidayat: Antti's patch for faster #WebKit querySelector/querySelectorAll is landed! http://t.co/Qo3RdJY #performance #CSS #in
RT @rwaldron: I just stood up for the first time in hours, good news though: jQuery 1.7 looks like it will support HTML5. thanks @paul_i ...
RT @mathias: JägerMonkey gets type inference in Firefox 9: http://t.co/hZqn1TP Expect performance improvements up to 30%.
RT @slightlylate: How many pointers, how many un-used vtable entries have to live futile allocations in our DOMs for an XML future that ...
RT @maboa: Loving this series by @sonnati on FFmpeg. Part 4 - The Swiss Army Knife of Internet Streaming : http://t.co/NXmyxx7 (via @zbu ...
RT @assaf: Better Browser Caching http://t.co/7MBmd03
RT @dstorey: Opera Dragonfly 1.1 is now out, and auto-updating to you as we speak. Find out more at http://t.co/cj2KeL7
RT @maboa: If IE8 supported HTML5 <audio> and <video> we'd be looking at well over 85% support. As it stands it's more like ...
RT @kylebarrow: PSA: browsers can't handle setTimeout etc. with timers greater than 599,147,937,791 ms.
 
FEEDS
 
11:58 AM
 
lolololol
 
Can some please help me with the following question stackoverflow.com/questions/7269582/…
 
0
Q: Official keyboard shortcuts

balpha Screenshot About This is the official keyboard shortcuts script for the Stack Exchange sites, as announced on Meta Stack Overflow. It is still in active development, and will eventually move from being a user script to being a full-blown (optional) feature when it is ready for that. Do...

 
12:45 PM
sigh
I saw I had 8 replies in chat after I left yesterday
That was a little sad and pitiful
 
@RyanKinal ?
 
@Raynos The newb I was helping yesterday apparently kept tagging me. And tagging me. And tagging me. Despite the fact that I was gone.
 
@RyanKinal o/ thats what you get for talking to noobs and/or not ignoring them
 
@Raynos I know. I've learned my lesson.
 
1:08 PM
is there any build-in functionality which converts a hex-string into rgb values ?
I just created this goofy method, but I'd be delighted to use any native thing
function createRGB( hex ) {
    if( typeof hex === 'string' && hex.length % 2 === 0 ){
        var hex     = hex.split(''),
              rgb     = [ ];

        do {
            rgb.push( parseInt( hex.splice(0,2).join(''), 16 ) );
        }while( hex.length );

        return rgb;
    }
}
 
@jAndy I don't believe there's anything native
 
@jAndy I think you may be able to goof around with CSS, but I'm going to advise against that on a baseless claim that it's going to be slow as turtles in molasses, ugly as a sack full of Medusas, and hackish as some kinda third thing that's really hacky.
Also-- You need to make it manage 3-digit RGB values.
 
@Incognito: couldn't really use css hackery. I'm getting a 6-lenght hex string from a server and I want to have that color at a lower opacity
 
ie, #FFF and #FFFFFF are the same, where the double-byte values are 16million colours and single-byte are 4000.
 
so now I'm using the above method to convert it into its rgb values and add the opacity for rgba
 
1:23 PM
Make it portable Andy!
 
@jAndy theres parseint :P
 
@Raynos: guess what :p
 
Oh parseInt doesnt down grade like that
 
@Raynos No because it's byte hackery, not numbers in order.
ie, F5A isn't "7532", but actually 15. 5. 10
 
ffffffffffffffffff
 
1:26 PM
Which is what happens when you mix data and logic on any level.
You end up with unportable stuff that's confusing and needs several formats.
Is it FFF, is it FFFFFF, is it 255, 255, 255, is it FF, FF, FF, is it 15, 15, 15 ?
is it "white" ?
 
couldn't we just do some bit-math to convert like, #ff0000 into the same as rgba(255,0,0,0.35) for instance
I'm afraid my bit math kongfu is not strong enough to do it just like that
 
More bitfu!
 
2
A: Color code from color name

Ryan KinalThis is kind of an odd way of doing it, and it won't work in any browser that doesn't have getComputedStyle(), coughIEcough, but I think it's pretty slick. var x = document.createElement('div'); x.style.color = 'red'; x.style.display = 'none'; document.body.appendChild(x); var code = window.get...

Should also work with hex strings
... but isn't cross browser :-P
Hmmm. Actually, slightly different problem
 
@RyanKinal Honestly I think using the dictionary in the spec as a hash is probably your best bet.
0
Q: How do I break silos that exist because of culture, and make them flow horizontally?

IncognitoI have a silo in an organization of under 20 people. Actually, it's about five silos that everything needs to go up to approval for, come back down with revisions, go back up... and we keep running in circles. The silos exist because that's the way it's always happened-- I've attempted directly ...

Awh sweet I found it.
 
1:56 PM
-2
Q: you can delete this

winusernevermind i solved this now myself

:D
 
lol
That's awesome
Ugh. I hate having to translate C# into VB -_-
 
could be worse i suppose
 
I suppose so. I could be translating... er... PHP into Fortran?
:shrug:
 
Try translating Java to Assembly
 
oh god lol
 
2:09 PM
Class functionality in Assembly doesn't sound like fun
 
@Zirak JVM bytecode or Java to JVM BC to a specific processor instruction set?
@Zirak Classes don't actually exist beyond high-level languages.
Assembly is all about the stack, man.
 
Java source code into...whatever they use these days.
Yeah I know, should've said "Emulating class functionality[...]"
 
Stuff goes in, stuff goes out, you get some registers, they do thangz, whatever brah.
Emulating classes in anything is a pain :P.
There's a reason hobby programming languages are really simple.
 
I still feel shivers in my spine whenever I think "C structs should support functions, why don't I do something about it?"
And I mean real functions, not function pointers - bounded this value
 
Ugh, I have a 2 thousand book marks. Why?
@Zirak Pointer to function. Problem? ;)
One day, when I have time, I'm going to make some slide shows man... slide shows about all the computer things.
 
2:16 PM
@Incognito See message right after that
 
Hrmm, been a while since I used C (we're talking 5 years), but can't you put the value of something to the function?
err, the function to be the value*
 
Haven't done this in a while too, but you can do something like:
struct magic {
    int (name*)(int arg0, intarg1)
};
Don't remember the exact syntax
 
brian-graham.org/BOOKMARKS.HTML < all the bookmarks :(
Actually, that's half.
@Zirak That looks right to me. I've been in JS land too long however.
 
Would any of you guys be interested in a monthly code compo site (think js1k every month with diff themes) where the winner gets $100-$200.
I just know how much I love the js1k's so I want to make a site that does them either monthly or every 2 months.
 
C is an awesome language. It's the only non-machine language I know that's just a language - other's are made out of libraries.
You can really do anything in C
 
2:27 PM
@Loktar Yeah sounds good, and would give me an excuse to write code.
 
cool, I think im going to start one up then.
 
Think about how to offer prestige too.
@Loktar What did you have in mind?
 
basically js1k every month or every 2 months initially
Theme for september - something 3d
theme for october - something dark
just stuff like that
 
@Loktar Code golf?
 
or like September - Something 3d, under 1k.
 
2:28 PM
Hrmm, there's a great opportunity here for learning/teaching/community. Want some help with planning this?
 
sure
I just saw that there wont be another js1k until march :?
and I really like these competitions
I would just use some of the profits from my other sites for the prize
 
Alright, [redacted]@gmail.com send me an email with your thoughts and when you'd like to discuss. I should have a bit of free time this weekend.
 
so it would be a garuanteed 100-200 for the winner each time.
cool Ill shoot you an email of what Im thinking
 
Great, save it because I'm editing it out.
 
@Loktar How do you determine the winner?
 
2:30 PM
idk :? thats one of the things to figure out
I DONT want it to be a popularity contest though for sure.
just because mr. doob is mr. doob doesnt mean he should win, I sometimes feel js1k kind of runs like that.
maybe guest judges every month, or the prev months top 3 are judges
 
There should be some styling rules in place. If someone doesn't use much spacing, it gives an advantage over someone that does.
 
would have to have a point system definitely points for sticking to the theme, points for staying within the constraints (1k, 5k ect.) points for creativity
oh thats a good idea for months rules @Zirak
for example js1k anything goes generally code wise
but like one month could be a theme, under 5k, no minificiation or eval
I think it could be really fun for sure, if anything just for a random challenge.
 
Has to run on IE7+ maybe? Or just whatever works on latest Chrome/Firefox?
 
yeah that could be part of a months theme as well
all kinds of weird constraints every month
 
"Must run on Netscape 3"
 
2:35 PM
and im getting an ambiguous name so it doesn't have to be tied to just JS
example theme - something robotic, only css no js.
for that id say only modern browsers apply
id imagine seeing cool css3 related stuff, animations, etc
 
@Zirak O_O
 
heh I need to write all this down.
 
@Loktar Just a heads up, I'm highly systematic and analytic, I'll ask us to define clear goals. Not everyone likes that discussion. A lot of people hate it.
 
well just to get this out there, my goal is not to make any money off of this
mainly just to provide fun problems with a reward for people who do well
 
Typically responding with "What do you mean planning? I just wanna throw code at the wall till it sticks"
 
2:39 PM
lol
 
@Loktar Good goals.
Don't make profit, money's okay, you need that for prizes and giving back to the community.
And running the servers, etc.
 
yeah, server shouldnt be a prob I have a dedicated server I use for my other sites
but it does cost $$ of course heh
 
It will if you get slammed with traffic. ;).
One worry at a time, start with goals, diverge into objectives, converge into reality, plan to make the reality, ensure the plan meets the goals.
 
VB makes me cry
 
You want people to have fun and reward people who do well by.... what methods? I mean, the contest is a general idea, we'll run with the first instinctive options to pop into our heads, but if we slow down we can think of the coolest stuff dude.
 
2:42 PM
Fun JS competitions make me happy :-)
 
yeah I agree @Incognito
 
We can run a side-track with teaching before, during, after... we can effect change in the community to write better code by our ranking system, etc.
We could get funding from big names too.
 
@Incognito How about first you make it work?
 
yeah @Incognito that all sounds cool as well, mainly I really just want a code compo site for JS
alot like js1k but monthly
thats my initial goal anyway
and to throw money at people :P
 
@Loktar That's fine, we don't have to do everything at once, in fact, we shouldn't, but we should be able to grow into all the cool things we can do without it being painful.
 
2:45 PM
I don't know your financial state, but 200$ a month is a lot.
 
@Zirak Hence funding. Websites can make money, not-for-profit doesn't mean no income.
It just means I didn't profit.
 
yeah @Zirak a few of my sites make a few k every month
I look at this as advertising funds mostly
so I have no prob putting that money up monthly
id scale it back if the site only got say 20 users or so participating of course
but 50-100 users and I think thats pretty fair.
 
It sounds like a good idea. Contact me if you'd need any help, and no-one good is around :P
 
will do @Zirak
!!!
I got codecompo.com
I cant believe that was available
 
3:00 PM
Hey anyone know the best way to use focus() to focus on a txt box.. I am generating the txtbox using innerHTML and want the focus to be on it as soon as its made..
 
There's more than one way to use focus to focus?
 
I have never used it before. whats the best?
 
The best is the worst, since they're the same one.
 
So whats the only way to focus?
 
element.focus()
 
3:05 PM
got it. thanks
 
Rock on
 
Another quick one.. is it possible to get the value or innerHTML of an li element using .value ?
 
Try it. Make (or focus on) a li, and use a console to see
 
okay. thanks.
 
user1385191
only form elements have a value property
 
user1385191
3:18 PM
you're looking for childNodes otherwise
 
Just read a resumé which included "languages such as JavaScript, Object Oriented JavaScript, jQuery, JSON, and AJAX"
Congratulations, one of those is a language. Move along.
 
JSON is kinda a language
 
It's a data format
But I guess you're right
 
user1385191
if anything, it's just JS lite
 
But yeah, move along
 
3:24 PM
Also, it's an 11 page resumé
WHO DOES THAT
 
user1385191
what the?
 
DEM TROLLS DO THAT
 
user1385191
are those pages sticky notes?
 
@Loktar +1 for things o/
I want competitions too
 
@MattMcDonald Full 8.5 by 11 paper. With maybe a 12 point font.
Maybe 10 point
 
user1385191
3:27 PM
I can only imagine the "work experience" section goes back to childhood
 
@Incognito That attitude is good
I have it too. People dont like it
 
user1385191
"age 6, successful entrepreneurial endeavour into the lemonade retail industry"
 
@MattMcDonald 12 Years, I think (my coworker has it now) - every entry is very detailed.
 
I'd love to see a resume written in Elven (or is it Elvish?)
12 years and he programs in AJAX?
 
Nice @Raynos glad you think so :)
 
3:30 PM
@Zirak That, of course, was not the only subset of "languages" - others included ASP.NET, VB, C#, C, Java, (etc. etc. etc.)
This, mind you, is for an entry-level break/fix/internal support position
@Zirak I have to wonder how a company hiring a linguist would react to a resumé written in Elven/ish
 
If HR has nerds, you're hired
 
3:56 PM
@Zirak It's Quenya.
 
@Incognito NERD
 
I'm in a computer programming discussion chat room. Who'da guessed? :P
 
... I'm currently reading transcripts of a D&D game I ran two years ago
 
I'm trying to remember what George called the sea, the time he saved the whale from suffocation while pretending to be a marine biologist.
Something like "an old man trying to get a refund over his chowder"?
 
@Zirak Couldn't tell you. But I remember the episode.
 
user1385191
ack, it's "Oriented"
 
lol, searching "George telling how he saved a whale" in youtube got me the answer
 
@MattMcDonald fixed.
 
Aha! "Like an old man trying to send back soup at the deli"
 
user1385191
When I see a job posting for a dev requiring experience in "Object Orientated Programming" I die a little inside. http://twitpic.com/2u3bdo
 
4:07 PM
@MattMcDonald lol whose post is that?
 
@MattMcDonald whats wrong with experience in OOP ?
 
@Raynos Orientated....
 
@Raynos I like it, the overall blog what you ended up with I mean.
 
@Raynos why do u have <code> tags inside of <pre> tags?
 
user1385191
@Neal you make me want to hit my head against a wall until it bleeds
 
user1385191
4:10 PM
it says right under the tweet
 
@Neal because thats what markdown does
 
@Raynos what markdown code are u using?
 
marked
 
hmmm it they do the same thing on SO. I wonder why is like that?
havent updated thesoconundrum.com in a while
 
@Neal Congrats, you just used a picture of a text rick roll to rick roll
 
4:20 PM
@Zirak ??
huh? im not sure what u mean
 
 
@Zirak what abt it?
 
Now I link to a picture of a rick roll displaying a text rick roll...in order to explain to someone why he rick rolled, while rick rolling
First comment there
 
@Zirak ok.... i rly dont know wth ur talking abt...
 
4:24 PM
no i know what a rick roll, im not sure what it has to do with me
 
You update thesoconundrum.com , true or false?
 
@Zirak not recently. i need more posts. why?
 
"not recently" is a truthy answer. Now, since you do, you've posted an image, containing a rick roll written out in plain-text format. Therefore, it is a picture of a text rick roll, making it a picture of a text rick roll. And, since you're the one who put it up there, you are actually rick rolling.
Q.E.D
 
hacker news post is it a mistake?
 
user1385191
4:31 PM
boy, wouldn't it be cool if you could use that in the DOM?
 
@Zirak i just wanted to put up funny q's/a's
 
And you did. RickRolling is not a crime.
 
@Zirak have anything to add to the conundrum? :-)
 
Not that I can remember, but will let you know when I do
 
@RyanKinal do you know how to make the height of the left column the same as the height for the container? I tried adding height % to the parent and the child but it did not work jsfiddle.net/nMUVj
 
user1385191
4:37 PM
it's the border fyi
 
oh, I just want that left column div's height to be the same as the container's height
 
@Zirak kk ^_^
@MattMcDonald whats the border?
 
i tried setting the height in body, + nav + container, did not work
the link i read said if you set the height in the parent it should work
or its suppose to, i tried it didnt work
it works here but not the other fiddle i showed jsfiddle.net/2BJYu
 
user1385191
equal-height columns are an exercise in futility
 
user1385191
CSS3 is just now starting to cover them
 
4:43 PM
o
 
Clever equal-height solution (although quite the div soup)
several more solutions (some overlap)
One of these, I'm sure, will fit your use-case
 
@RyanKinal thanks a lot, I am readign the solution. I tried fixing the height by pixels and i tried couple diff monitors and it seems to appear fine on them all
 
@JeffHodge The problem with fixed height comes with text-zoom, not with different resolutions.
Although, most browsers use a full-page zoom these days
 
@Raynos i read in the news of a website that makes hackers compete for "points" and the hackers are ranked according to whoever has the most points
@RyanKinal thanks a lot, another thing I learned today from you :)
if you dont mind me asking, ive often read "sessions are bad for long run because they can build up on the previous session and cause denial of service etc" what does this exactly mean though. How do sessions build up on each other?
i try googling and i get results from the bible on building things up and various other non relevant subjects
 
@MattMcDonald They're not, but you usually have to compromise in some way
Usually it's easier just to not use it in a design
 
user1385191
4:54 PM
it's interesting to look at the layout for news sites
 
@JeffHodge sessions are fine if you don't Do It Wrong...
I'd guess ASP, especially, has lots of ways of doing them wrong.
 
i understand that, but what does it really mean when they "build up on the previous session"
 
@JeffHodge maybe, if done wrong, the server runs out of memory from tracking too many sessions, if they start too often and persist too long. It used to be more of a problem in like 1997 than it is now; mostly solved, partly by better hardware.
But I'm not exactly sure what you mean by "build up on the previous session".
And anyway it's prolly not relevant to JS.
 
they say not to use sessions for a long time
 
RT @onGameStart: Do you know R. Evans,author of @isogenicengine,one of the best&most advanced WebGameEngines?Yes,he is our next speaker! ...
RT @devongovett: Congrats to everyone at @strobe on your launch today! Awesome work @tomdale @jtaby @okito @wycats et. al! :-)
RT @IE: Browsing without plugins, feature detection & graceful degredation: http://t.co/Msid5kK #webstandards
RT @annevk: Merged DOM Range into DOM Core. Now it needs refactoring. http://t.co/rqNXXnz #domcore
RT @annevk: Should we rename DOM Core (again) to DOM4? (And maybe have DOM Living Standard in parallel.) #domcore
RT @Fyrd: Pretty, interactive web browser timeline by Google: http://t.co/4vEJpFN
RT @rwaldron: Added @rem's http://t.co/16qCJt2 to jQuery Bug Fixin' Guide http://t.co/vw4JUGD thanks to @mathias
RT @WFMU: Insane Anti-Rock Chants from Elizabeth Clare Prophet's Cult: Think "Rubber Biscuit" or Balinese Monkey Chant: http://t.co/g5vz4Vz
 
5:12 PM
omfg feeds
:hides posts from feeds:
I miss PHP. :reminisces:
 
heh you guys notice on the timeline, they have google os
 
@Loktar "the timeline"?
Oh. Oh god...
0
Q: jQuery - Too long and repetitive code, ISO shorthands

user827253I'm trying to make a google chrome extension using jQuery. Now, this is working but it's too long (it isn't "write less do more"). So I'm looking for some shorthand. This is what a did // max-width function from http://www.labs.skengdon.com/maxSize ;(function($){$.fn.maxSize=function(options){i...

 
user1385191
I want to cry :/
 
I nearly did
 
Wow. Just wow.
 
5:30 PM
...
COPY PASTE SCRIPT KIDDIES Y U EXIST
 
Nice first comment.
 
@RyanKinal i tried one of the solutions to column fix and it kind of works except 1 problem, could you please help in the web dev lounge?
 
AMH
5:51 PM
@RyanKinal hi
 
RT @plhw3org: Web Performance: Last Call for User Timing and Performance Timeline http://t.co/J7l9ZvE
 
00:00 - 18:0018:00 - 00:00

« first day (320 days earlier)      last day (4626 days later) »