« first day (164 days earlier)      last day (4800 days later) » 

5:11 PM
@TVK you just get it unexpletidly some day, @Box9 and myself tried to game the system to get it but that failed
 
@MylesGray Haha, nah. I'm not actively trying to get it.
 
Myles Gray, Belfast, Northern Ireland
3.4k 7 25
hmm interesting
 
Ooh.
TVK-, The Netherlands
848 12
 
only 250 more upvotes to CSS Silver :D
 
: )
Needs more tagbadges.
Nice. : )
 
5:15 PM
hm that could take a while, 250 upvotes JUST from CSS :P
 
Just retag any question you answer with CSS. : )
 
@TVK :O!!!!!!!
 
(Joking, don't ban, please.)
 
whips out banhammer
 
D:
 
5:28 PM
My Enterprise is rolling out IE8! Two-thousand-and-late.
 
do want
Haswell is the codename for a processor microarchitecture to be developed by Intel as the successor to Sandy Bridge. Haswell uses the 22 nm process (the tock after Ivy Bridge) and will implement fused multiply-add (FMA3) instructions. Like Nehalem, Haswell is to be developed by Intel's Oregon team. CPUs based on the Haswell microarchitecture are expected to be released in the first half of 2013. There are no details regarding this microarchitecture's development. Architecture *22 nm process. Haswell is expected to have the following features: *14 stage pipeline. *Available up to 8 co...
 
Euhhg, IE!
quietly vomits.
 
@Nathan what about IE9?
you guys on XP then?
 
@MylesGray mostly XP but they keep saying they're going to roll out Win7 by the end of the year!!! Just like last year.
 
5:32 PM
@Nathan hey theres a chance :)
 
IT pros like me get to install whatever we need but there are a lot of XP+IE6 machines out there.
 
@Nathan Lucky you, most IT people (like myself in a lot of cases) are forced to old crap because companies don't want to invest in proper software.
 
I am pretty lucky really. IT is well funded here, though I spend an unfortunate amount of time on garbage apps.
 
5:59 PM
Watching some really awesome names pop up on the jQuery Conference attendee list :( Will *you* be there too? http://bit.ly/gUMI95
 
Anyone any idea why this doesnt work in Opera:
-webkit-transform: rotate(-5deg);
	-moz-transform: rotate(-5deg);
	transform: rotate(-5deg);
 
You need: -o-transform:
 
rolls eyes
that must be what modernizr is for...
 
ahhh -o
of course
 
Silly browsers with their custom tags.
What could the purpose of those possibly be?!
 
6:13 PM
@TVK to stop collisions with standards tags
 
They should rather use standard tags that work with the standards.
 
@TVK its for refining the standard
thats how stuff gets into the spec is through vendor customisation
 
You know something's wrong when you need 4 CSS attributes for 1 single modification, though.
 
@TVK true but in time they convert to standards
I believe FF4 did a lot of that?
 
I'm not sure, I hope so, though.
 
6:23 PM
Just to clarify, we are in fact very :) to see the conference sign ups rolling in! #wrongparenthesis
 
LOL... real programmers know the difference between the parentheses.
 
@Nathan What?
 
I'm making fun of whoever is tweeting as "jquery" (published by @Feeds above)
 
holy hell its @IvoWetzel
hey
 
Ahh, I've blocked Feeds. : )
Too much spam I don't care for.
 
6:42 PM
anyone know if i can apply a border to the text itself with css?
im going for some awesome page indentation type thing with the text like I have for the box containing the search box here: beta.mutant-tractor.com/?page_id=9
except what I have tried only applys a border to the containing element of the text
 
You can use text-shadow.
 
Anyone going to the stackoverflow meetup on wednesday?
 
^ what he said
 
Blur on zero, alpha on 100%.
 
@TVK with an inset value?
text-shadow: inset 1px 1px 2px #000 or the like?
 
6:45 PM
I'm thinking of going to the bristol one
 
It's been a while since I used it so I can't remember it more specific than what I just shared.
You'll have to play around a bit. :p
I can't remember inset being needed, though.
 
@TVK that just applys a shadow outside otherwise
ill try inset to get it inside the text
 
Seems logical. : )
I'd say outset would be better then, though.
 
Kenneth Russell - Chromium Blog: Getting smoother animated web content while reducing CPU usage http://goo.gl/3Dy0I
 
Jon skeet might be at the london one. Might be worth going just to idolise jon skeet and make him feel uncomfortable
 
6:47 PM
Else, your thinner letters will become a lot thinner compared to thicker letters.
 
Ah, like that. : )
Fancy.
 
there was an awesome one.. i cant find the link now though
 
I can't wait until everything below IE9 dies out so we can start depending on CSS3.
@Loktar Nice page. I'm noticing Firefox having trouble scrolling past the neon one quickly, though. :p
 
the fire one is kind of cool
YES!
thats the one I was looking for
 
6:52 PM
@Loktar thats HOT!
 
yc
Potentially stupid question: setInterval checks excluded, is it possible to attach an event listener to an array to trigger a callback anytime it changes?
 
Haha, oh god... that all the way button.
 
haha yeah
thats what I remembered about it
 
@yc Nope. Your best bet might be to make an array wrapper which takes a callback function as an argument.
 
7:04 PM
@Shaz Apparently Chrome on Windows XP doesn't support WebGL :-(
 
@RyanKinal What version of Chrome?
 
What do we think of the txt shadow on the date: beta.mutant-tractor.com/?page_id=9
Im not happy wiht how it looks... just seems... wrong
 
It's say the grey could be a bit lighter.
Aw, where's the fancy album hover animation? : (
 
7:15 PM
Liking how the outside is a photo (low quality) and the inside is rendered properly
 
@MylesGray diagonals are uncommon for a reason in text-centric layouts.
 
@Nathan good point
 
Take a break and write an awesome post! It will inspire your design to have some actual content.
 
@Nathan I have content: mutant-tractor.com
 
user1385191
those diagonal dates hurt my eyes
 
7:18 PM
im just hosting the new design in a subdomain :)
 
I like the diagonal dates.
They could be a bit less rotated, though.
 
@TVK fixed the album art slider
@Raynos what do you mean?
 
@MylesGray Yay. : )
 
user1385191
the colors need to stand out more on the dates as well
 
user1385191
try a layout on the date text where you have day: float: left; clear: left;, date: float: left; clear: left;, and then month float: left; clear: left;
 
user1385191
7:23 PM
so essentially, one item on top of another on top of another
 
anyone tried amplify.js yet?
 
Lol
"1-877-JQUERY-HELP"
 
@Shaz heh
 
@Shaz They screwed it up - my pay-for-service line is 1-999-JQUERY-HELP
 
user1385191
Want jQuery help? Fly to San Francisco, pay $300-400, and attend the jQuery workshop at the jQuery conference (wish I was making this up)
 
7:29 PM
@RyanKinal Real number too, take a look at appendto.com/contact
 
@Shaz lol... I guess people don't know how to use Google
 
@RyanKinal Well, they do say it's for "Emergency Help" with jQuery. ;)
 
@MattMcDonald meh. its viable for corporates If there going to pay 20$K a year for Visual studio then $400 for jQuery day t raining is the same value / money
 
but, how do you enter the letters on the phone?
 
user1385191
hah, don't disagree with that
 
user1385191
7:31 PM
that's the "oh, let's put the lunch on the company tab" crowd
 
@MattMcDonald @Raynos ... the CEO of my company once bought me and my girlfriend a steak dinner. I may be part of that crowd.
 
I would just be annoyed by the noobs in the class
 
@Loktar o/ "Stop using .live, .delegate is better"
 
"I dont like icky javascript, so I use JQUERY :))"
haha Im sure they wont even go into stuff like that
 
Or "Gah cache your queries!"
 
user1385191
7:34 PM
so take the $400 advanced class
 
Or "use this.id not $(this).attr("id")"
 
yeah I keep forgetting about the advanced class
 
user1385191
I taught a classmate today to use event.target/srcElement, then el.value instead of $(this).attr('value'). :)
 
Everyone with their trendy wire frames and blazers with skin tight jeans
 
user1385191
don't forget the MacBook Pros!!!
 
7:36 PM
thats my experiences with any conference lol
haha yes that too
heh im guilty of using the attr('id') in the past
SO answers I just try and get them answered insanely fast to get points :P
 
Everything is better with jQuery.
 
user1385191
hopefully, they teach the difference between HTML attributes and DOM properties in that workshop
 
user1385191
it's essential to understanding the DOM
 
hello everyone :)
 
oh so are you going @MattMcDonald?
to the advanced one that is
 
user1385191
7:38 PM
ha, not in my lifetime
 
Morning.
 
user1385191
my money's going towards moving out
 
i have a question... can anyone help? :)
 
@sebastian I suppose that depends on the question
 
That would depend on the question.
 
7:38 PM
Probably not anyone but most people in here should be able to
 
Dammit, beat me to it!
 
Aaaaaaand we reveal the snark that resides in this room
 
@DontCare4Free i have this autocomplete model: navioo.com/javascript/tutorials/…
 
@sebastian there is nothing there...
 
@DontCare4Free There's code if you scroll
 
7:40 PM
Yeah, the example doesn't work.
 
I just get "Opps!!!.This page is no longer available.!!! "
 
it works on my page. and i kinda like it
 
@MattMcDonald Who can tell me what they think the best way to go about saving dynamically created data (user's custom input) is? I also need to save the position of it's container element.

Example with what I'm working with here: http://goo.gl/92Mya

I can only use localStorage or SQLite, so...
 
the thing is that it takes it's values from a variable var arrValues = ["red", "orange", "yellow", "green", "blue", "indigo", "violet", "brown"];
 
@Shaz doesn't localStorage use SQLite as backend?
 
7:41 PM
0
Q: Jquert live - launching a fancybox iframe

rosceohHi, So I have a an ajax table of results that have tags links that allows you to edit the entries. Currently the links look like this <a href="edit.php?id=$id">Edit Entry</a> What I want to do is open edit.php in a lightbox and send the id so as it is ajax I have to launch the li...

JQuert thats a new one
yesterday had jquiry still my fav
 
how can i modify it to use some values from an php query?
 
user1385191
every time I read the description for .live(), I get sick inside
 
do you want it to update as you type or just load it statically?
 
user1385191
@Shaz I have experience in neither, can't help you.
 
Dammit @DontCare4Free! Beat me to it AGAIN!
 
7:43 PM
@DontCare4Free Not sure
 
(Pressed enter too soon, thinking it would autoadd your name from the suggestion box, but I had to click it as enter sends the message regardless of suggestions.)
Hooray for the chatmessage edit function, though.
 
@MattMcDonald Think it's good enough for a question on SO then?
 
@TVK Actually, it notified me even with the partial name
 
@MylesGray I preferred it before. : (
 
7:44 PM
@TVK </3
 
@DontCare4Free You only need like 3-5 letters of the name to trigger it I believe
 
user1385191
yes, date looks better already
 
@DontCare4Free Yeah, I get notifications for @TVK as well, even though there's supposed to be a dash behind it. : )
 
anyone?
 
@sebastian You'll have to answer DontCare4Free's question first.
"do you want it to update as you type or just load it statically?"
 
7:46 PM
oh, didn't see it
thanks
 
user1385191
@Shaz Yeah, it sounds like a valid question. I'm pretty apprehensive about asking anything that would take a few minutes to fix, but this appears to be more important.
 
Anyone used ejs on the client?
 
Offtopic: How ironic, that a site for helping people with programming is actually slowing the programming of my app down.
 
@DontCare4Free i want to make categories, but not type them every time. if it exists to show up, if not to add one that was just typed
 
@sebastian So... you just want the suggestions loaded in with the page, and not query them every time someone types?
 
user1385191
7:49 PM
wow, the JS room has exploded with visitors. we might need another room.
 
@TVK yes, to suggest an already existing category. if it doesn't exist to make an new one.
 
@sebastian that was not what was asked
 

Web Developers Lounge

A place to talk about HTML, CSS, JavaScript, or anything else ...
 
@sebastian In that case, just get a list of your categories, and print them as a Javascript array.
 
@TVK there are to many to add manualy.
 
7:50 PM
@sebastian I believe you can do that by using json_encode on your array
 
echo "suggestions = [" . implode(", ", $categories) . "]";
Like that.
 
@TVK I think it would be easier to just do "echo json_encode($categories);"
 
all i want to do is to use suggestions from an php array that i got from an query
 
Could be, I haven't used that function before.
 
@TVK me neither, just found it on the php docs
 
7:52 PM
but i don't know how to combine js and php
 
@sebastian Aren't these two suggestions enough to help you do that?
 
@MylesGray I think you should write year for posts too
 
@MylesGray Haha, nah. I'd pick either the first or second one. :p
 
dammit
 
7:54 PM
@TVK no they are not, I have a lot of categories, it would take me a very long time to type them by hand
 
@sebastian Ah, you want help with the query part?
 
hello everybody
=)
 
'lo.
 
hello
 
7:55 PM
@TVK no, i want to use the suggestions from an php array
 
@sebastian check that out
 
i need an help cant get rid of the first trailing comma
 
@sebastian But both our suggestions let you do that. : (
 
(negative index removes the last one =S)
 
@TVK echo "suggestions = [" . implode(", ", $categories) . "]"; can i add this dirrectly in the JS code?
 
7:56 PM
no
 
@sebastian That goes in your PHP code, to generate JS.
 
Tom
@sebastian you could do templating though
good evening, infidels =P
 
Good morning, godless heathen.
 
Tom
suggestions = [" <?=implode(", ", $categories)?> "]
 
8:00 PM
@Tom no
 
anybody could enlighten me??=)
 
don't use the shortcut php syntax
 
@DontCare4Free Why not?
 
Tom
@TVK hoe gaat het met u? =P
 
@luca Sorry, bit too much effort to fix right now. :p
 
8:01 PM
@TVK it's off by default
 
@Tom Goed, dankjewel. Met jou ook? : )
@DontCare4Free But on by fix. : )
 
Tom
@TVK yes :D
 
Haha.
 
Tom
suggestions = [" <?php echo implode(", ", $categories); ?> "]
happy?
 
sure
or do it this way: gist.github.com/893123
suggestions = <?php echo json_encode($suggestions) ?>;
 
8:03 PM
@TVK- too much effort!? come on just give a look! =)
 
@luca But I'm working on my own projects and it doesn't seem like a quick fix. : (
 
@luca what is your particular problem?
 
i just cant get rid of the trailing comma,when removing the first element on the list
 
Tom
oh you're that guy xD
 
@TVK- Np..just kidding ! i thought it was an easy fix
 
Tom
8:05 PM
I would say, make a list =P
 
@Tom I would to agree
 
Tom
<ul> seems more semantic for HTML than a comma separated list
 
@luca I could quickly write a regular expression to remove any commas at the start or end if you want. : )
Ups.
Should be @luca.
 
@TVK hooray for edit then
 
Either way, that's not the prettiest solution, of course.
 
8:08 PM
@tom i think you're perfectly right
 
@DontCare4Free Edited. : )
 
so... what's the simplest way to do it? ^^
 
@TVK dont worry ..what's your project about?..if i may ask =)
 
@sebastian didn't we give you your answer?
 
Adding some fancy features.
 
8:10 PM
@DontCare4Free both none of them seem to work...
 
wow ma di dove sei??
=)
 
@luca Err.. what?
 
@sebastian if we take mine first, what did it output? (in page source, where you inserted the snippet)
 
Tom
@luca is that italian?
 
@luca The Android Market selects its language automatically depending on who views it. :p I'm Dutch.
 
8:12 PM
@TVK- AHAH ! sorry i just noticed it's an automatic selection
 
@luca Haha, no problem. : )
 
Tom
@TVK what HTC do you have?
 
@Tom The Nexus One.
 
Tom
@TVK great :D I have it's bastard brother the Desire
 
@Tom Haha. : ) Nice phone as well.
I made €2.80 with my app already, I'll be a millionaire before I know it. : )
 
8:14 PM
@DontCare4Free yes it does :D thanks a lot
 
@sebastian did it work now?
 
@DontCare4Free yes it id :D thanks a lot ^^
 
@sebastian I saw it the first time..., anyway, who's solution did you end up using?
 
@DontCare4Free yours worked perfectly :)
 
@sebastian actually, I think both solutions would have worked
 
8:18 PM
with the other solution it wouldn't load anything
 
slightly (as in very) off-topic, but does anyone here know anything about IIS configuration?
 
@DontCare4Free Very very little
 
Tom
@DontCare4Free yes, you go to start > uninstall programs and select IIS
then you go to php.net and download the latest build
and it's fixed
 
@Tom Replace 'php' with 'apache', and you're close ;-)
 
Tom
@RyanKinal k whatever >.<
hahaha
 
8:22 PM
@RyanKinal actually, I'm primarily running on apache, but I have some stuff that is using asp.net
 
@DontCare4Free What's up?
 
Tom
@DontCare4Free oh you can run asp on apache aswell
 
@DontCare4Free A tiny bit as well.
 
@Tom well, I'm not sure about that, also, the apache server is running under linux
 
@tvk BTW wich option does android market check to make me feel so stupid ??=)
 
8:23 PM
anyway, the thing is that I'm running my apache server as a reverse proxy for the iis server
 
Tom
@DontCare4Free one sec I'm checking mine
 
and since the reverse proxy replaces the host header in the request, it messes up openid
 
@luca What do you mean?
@DontCare4Free I'm afraid that surpasses my IIS knowledge. :p
 
Tom
something like that
 
which parameter let the android market know my homecountry
 
Tom
8:25 PM
@DontCare4Free or this: mono-project.com/Mod_mono
 
Your IP and hostmask, probably.
 
Tom
@luca your IP
 
If you've got a database which has the information on what IP blocks are located where, you can easily trace it back.
And Google knows everything.
 
so, anyway, my question was that I remember that I could force-change the hostname server-sided under apache and wondered if that was possible under IIS
 
Slightly off-topic as well. I love how the avatars slowly fade to white when you don't talk.
 
8:27 PM
yeah that should be an impressive amount of data isn't it?
 
@TVK I agree
 
@luca Quite.
 
although there are some free databases out there to use, so you don't have to collect it yourself
 
Not that Google'd need those. :p
 
could you point me some of those @dontcare4Free
 
8:30 PM
@luca sure, wait a sec
 
=) thanks em may be useful
 
I can't wait until IPv6 goes live globally. Just to see how many websites start breaking.
 
Who are these new comers
Where did they come from?
 
@luca maxmind.com has a free database, and there are bindings for it on PECL, see se.php.net/manual/en/geoip.installation.php for php binding docs
 
Did they advertise the SO chat anywhere?
Can't remember the last time people were actaully chatty.
 
8:33 PM
@Raynos I think they do on SO
 
user1385191
@Raynos I'm baffled too
 
0
Q: Saving positions of draggable elements with custom user generated content

ShazWhat would be the better path to take if I were in need of storing dynamically created content, which when inserted into the page, will have a pre-defined position within a container? To make it a little more simpler to understand, say a user types something into an input box, which turns out to...

 
Nice accept rate. : )
 
@TVK yeah
 
user1385191
I have recently discovered the awesomeness of offsetLeft/offsetTop
 
user1385191
8:35 PM
it makes adding tooltips through the DOM super easy
 
@DontCare4Free thanx
 
It is awesome indeed.
 
Tom
@Shaz don't extensions have some kind of storage made available for them?
 
@Tom Yes, localStorage
 
user1385191
broken in IE quirks mode though. time for some research
 
Tom
8:37 PM
@Shaz if that's the only thing, I'd say go with that
 
Can also use DLL's, though I'm not 100% sure what they are :P
 
@MattMcDonald why would you even use IE quirks mode?
 
user1385191
that's a serious question, right?
 
Tom
@Shaz a dynamic library, basically a file for containing a programmatic class, may it be methods or attributes
 
@MattMcDonald mine?
 
Tom
8:39 PM
@DontCare4Free To normalize the behaviour of older IE versions, so you can develop for them as a single browser...
 
user1385191
Quirks Mode is what happens when you don't use proper markup or explicitly declare to use it. Many sites break in Quirks Mode, and I pride myself on my work looking fine in Quirks Mode.
 
@Tom No there is also SQLite, but I can only have 5mb of data, so I need the simplest way, using encoding or binary or something. :p
 
Tom
@Shaz 5MB for storing some position integers is A LOT
 
It's not just positions, it's user generated content as well
Have you seen the page I'm working on?
 
Tom
@Shaz no, show me =P
 
8:41 PM
@Shaz is that limit for both storage methods?
 
Tom
@Shaz looks very clean and nicey... like the design
 
@Tom seconded
 
Tom
@Shaz either localStorage (it kinda makes sense to save private user content there) or a DLL (it's a big resource)
 
Thanks :)
 
8:43 PM
@Shaz Looks fancy. : )
 
@Tom I'm not sure the app can create DLL's itself so I don't think that will work
 
@Shaz also, I think the usage of them is restricted in web applications
 
Tom
@Shaz yeah I was wondering about that option because a DLL could eventually be a security risk, being stored on the file system outside of chrome's sandbox
 
@Tom yup, so you would probably have to make it as a separate plugin, with a separate installer
 
Tom
yeah, go for localStorage :D
 
8:45 PM
@Tom wheres your awesome work
Who here is an expert with node.js / mongodb ?
 
@Tom Yeah, if you use DLL's, Google has to approve the extension before they place it on the extensions page
 
Tom
@Raynos which one you talking about? =P
 
@Shaz why localstorage rather then ram
@Tom wernt you doing something awesome?
@Shaz choose either local storage or web sqlite. That's basically it
 
Tom
@Raynos hmm well I'm designing a site yeah, but haven't advanced much since the last time I showed it
anyway you can take a look: thomaswilde.ch/buscasa
 
Anybody on who works with Sencha Touch?
 
8:48 PM
@Tom I like the design. : )
 
Tom
@TVK thx :D
@Shaz you know what would be cool? to create boxes on the left bar and be able to save all open windows in a box, and navigate thru boxes
 
@Tom yeah
 
Tom
so I could create a box called pr0n and store my family pictures there and another called family and store my porn there... or the other way around
 
@Shaz does that answer your question?
 
@Raynos the first question he asked was if he should choose local storage or sqlite
 
Tom
8:57 PM
does anybody know a REAL good host in terms of EVERYTHING's available, like mongoDB and such stuff?
I'm on hostgator, they're ok, their prices are good.. but not as flexible as others
 

« first day (164 days earlier)      last day (4800 days later) »