« first day (888 days earlier)      last day (4285 days later) » 

16:00
@dievardump booo, you're from 01
I was so proud of this website 2 years ago
@Loktar just so u know from cs go if u die in the middle of a round u can play / start controlling a bot in your team
ah cool
do you play with bots?
@Loktar I think you know that video by heart, but just in case, this video is awesome: gdcvault.com/play/1014345/I-Shot-You-First-Networking
16:03
looks cool Ill check it ouit
have never seen it
Ivo show it to me and I think game differently since then
user2157210
it's cold in this country ..
user2157210
@dievardump only in NA
It Is probably taken from this monty python mp3
16:22
“Should array indices start at 0 or 1? My compromise of 0.5 was rejected without, I thought, proper consideration. ” - Stan Kelly-Bootle
user2157210
jsfiddle.net/UNh9P meh read comments maybe its more clear what i need now
That awkward moment when you see someone you dated briefly on the train to work.
@Shmiddty Why is this awkward?
@MaxBurucker don't ask for jsonp.
Yeah, shouldn't be if you only dated briefly
user2157210
@dievardump How do you mean that?
user2157210
16:29
@dievardump I tried text i get no response then
It was only briefly because I made an ass of myself. :D
@MaxBurucker if you ask for jsonp, expect the ajax method to try to parse what you ask for.
That's it.
user2157210
@dievardump yeah but if I ask for anything else i do not get any response of the server
could anyone recommend a phone simulator? I am using node.js. About to program some slide functionality
Phone simulator for NodeJS?
16:33
just in general
Just saying its not a native app, do not know if that matters
@MaxBurucker So their json is bad.
The android one?
Is this really what you get from the server? The pastebin?
user2157210
yes
Exactly like that? give me the url
with params and everything
that's awkward. That's not JSON
user2157210
16:36
i know thats not JSON thats some crap shit
user2157210
but i have an idea
user2157210
you cant access it thats the problem
user2157210
would have to get authenticated with the server and location
have you tried to open the answer in a new tab
16:37
(firebug, right click on the XHR call, open in a new tab)
Seeing the beginning, it's clearly a jsonp answer
user2157210
it is
with the jQuery thing?
jQuery172010543928159920735_1363778906902(
user2157210
yeah thats the script it should invoke
user2157210
16:40
but something there is misformed
Ok ok
 157);
		jQuery172010543928159920735_1363778906902(,
There is that in the middle of the answer.
That's what cause your problems
user2157210
i know
user2157210
but i can't fix that
why?
Contact the server owner and say there is a bug
Where is the problem with that?
user2157210
they sit right next room
user2157210
16:45
they have a new client and no time to fix it ..
are you client of them?
user2157210
im on a workplacement
user2157210
Have to make a web app for their software
So tell them you can not if their software is buggy
(probably the answer is too long)
user2157210
heck i did still im sitting on the problem and i need a good work job reference
16:47
or try another library
other than jquery
user2157210
good point
user2157210
@dievardump thanks i will try arround abit
0
Q: html5 canvas, how to export a 2x image?

user2018783I designed a web app with html5 canvas. To export an image, the code will be below: var img = canvas.toDataURL("image/png"); Is there any way to export a 2x image? It is for hdpi display like apple retina display.

context.scale?
16:52
any of you guys use font face?
never
fonts are for losers
thinking of dumping it and use cufon instead
Yes
Cufon is kind of... OLD
2 years ago it was ok to use Cufon
now it's not anymore
ya problem is font face really sucks on opera. Seems all pixelated
Who cares about Opera?
Hipsters use Opera.
16:54
well its a font that works pixel perfect in ie, firefox and chrome
but opera omg. Im really thinking of using js to fix this or just dump opera
Opera - Ruby - Haml - SaSS
Te C-C-C-COMBO Hipster!
pce
pce
afaik the current opera beta is webkit based
really? webkit based. Nice. Should improve things
@donotusetabtodigitthisnick Maybe you should ask the people who say it?
16:55
opera is chrome?
user2157210
@dievardump github.com/IntoMethod/Lightweight-JSONP used this sameproblem :(
still seems weird that its the only browser showing weird fonts.
@donotusetabtodigitthisnick Of course, my moto is "javascript is boring". That's why I use it all the time.
@donotusetabtodigitthisnick No
Why do I even take the time?
...what?
So you send a mail to the Technical Director of the server AND your current boss, and say: Sorry I have to do a mail for that: There is a problem with your service. Fix it, I can not work
That's how it goes.
found a bug in my script :/
16 messages moved to Trash can
no it works fine
bug was in the loading
16:58
Hahahaha
Totally saw that coming :p
How far back does it go?
Just the current page?
@SomeKittens just my visible page
I Ignored him. So there is no difference for me
I'm sad.
16:59
@rlemon mind checking out this one thing I posted in the css chat?
@SomeKittens bug: when the popup loads to select the user it is a static list of the people who were here when you joined :/
@Demorus one sec
sure
fixing a crucial bug
@rlemon I assume it's fixed now?
yea, f5 then run it
17:00
@rlemon Can't you Array.unique(Array.map(messages, function() { return user.id }));
probably
So you have only the user that posted a message ?
@rlemon ran it, didn't add button
user2157210
Can i forge packets with js?
Too much content?
17:03
Ah, got it.
7 messages moved to Trash can
Sweet. MUHAHAHA
...I was watching a movie
No, I don't.
@SomeKittens use my button?
@donotusetabtodigitthisnick Please share with the class what led you to this theory
@SomeKittens the button add is done on load. it was the only way I can be 100% sure the chat is loaded without doing some stupid checks
Is it that I've never talked about MooTools or ASP?
17:07
@rlemon I got it all working. This will be fun!
@donotusetabtodigitthisnick Not everyone, because I thought to give you a (beyond 5th) chance.
@SomeKittens well i'll be making some 'tweaks' right now, just got off a conf. call.
Which goes to prove again that you're an ass
Fuck off
@rlemon This might make a good meta post
6 messages moved to Trash can
@donotusetabtodigitthisnick you need a timeout?
17:09
ok last updates were: the user list is now 'live', and has a heading.
"last" as in most recent, or that there won't be more updates?
@Gordon need to go now i'm never been offensive or rude with dudes sincerily
most recent.
Woah, the PHP room is leaking!
17:10
functional wise it's all fixed now, rest will be sugars.
@donotusetabtodigitthisnick yeah, I've seen that
/nick someoneElese
/nick mustGoIncognito
@ircmaxell here, might be useful for PHP room as well. don't know how much garbage you guys put up with. gist.github.com/rlemon/e2ff662e4731ecf81a95
tl;dr adds a button that lets you one click trash every visible post by a user in the room
@rlemon . Although we usually don't get mass issues like that (where all a person's posts are bad enough to throw away)...
we get a lot of trolls. and not like, "rlemon is trolling." just bad trolls.
@SomeKittens does it need a confirmation?
It seems it might be easy to just 'X' someones messages by accident
17:15
@rlemon Yes. I can see where an errant double-click could cause havoc.
@rlemon we get them from time to time, but not THAT many...
updated
@Demorus ok what is your issue?
ok hang on
0
Q: Opera/Safari displays my custom font (Fontface) in an unusual pixelated manner.

user2199736My site looks perfectly identical on IE, Chrome and Firefox but it is having issues with Safari and Opera. Now the issue specificaly in opera is that all fonts are pixelated and really horrible. In Safari the issue is nearly the same but it seems that bigger text works and smaller text nearly unr...

@Gordon thanks for lealthy
user2157210
Ok guys now a simple question i guess
http://jsfiddle.net/Cw2zm/
17:21
@rlemon you don't need the true there gist.github.com/rlemon/…
@donotusetabtodigitthisnick google does notknow what lealthy means. neither do i Oo
@MaxBurucker Your fiddle isn't well formed. Did you give the link to the last version ?
uhm... thanks cause you are right
user2157210
its not js in there read the comment didnt want to spam the chat
user2157210
@dystroy let me reform it
17:22
@FlorianMargaine my bad, assumed it was a deep flag
it's a jquery element, $.fn.clone() goes deep by default. The true is only to keep events and data related to the elements
@Gordon lealthy = honestity
honest
el.cloneNode() needs true to deep clone though
@Demorus can you take a screen shot with the browsers side by side so I can see this?
17:22
sure
I don't have safari or opera
no problem
no problem rlemon
Coffee shop. Two teenagers notice an Internet Explorer ad on TV. One of them goes: "Huh, is Internet Explorer a new browser?" Times change.
@FlorianMargaine it's my problem; if a jQuery method has the same name as a native method I assume it takes the same overloads :/
bad assumptions
not the same name :P
user2157210
17:23
user2157210
basic question just used fiddle because people click on it :(
@FlorianMargaine hehe, yea, after my utils.js is run it is ;)
shut up! I don't like you!
full of my helpers, shims, etc.
how come your utils.js adds a native method?
noob
:P
17:25
@MaxBurucker You have a string which contains a script element and nothing else ? You could simply remove the </script> at the end and use a regex to find the start of the content
@MaxBurucker document.getElementsByTagName('script')[whatEverIndex].textContent; // js code as a string
@rlemon He says it's in a string (but I'm not sure I get the question, in fact)
user2157210
its an object i think?
user2157210
im not sure im just fiddling arround with this jsonp library
user2157210
its an object
17:27
heyyyy what about alert(console.log('ok')); why it doesn't works?
@rlemon tinypic.com/view.php?pic=2dk0ieg&s=6 this is the screenshot. Left is opera and right is Chrome, Firefox and Internet Explorer
@Demorus I imagine they are not applying the custom font and that is what the fallback looks like with your transformations
in Opera remove the custom font from the font-family and just use the fallback and see if it changes. if not, no font is loaded in that browser
user2157210
<script $$$> how is this part in between called? </script>
@MaxBurucker textContent
user2157210
ok
user2157210
17:32
@rlemon hmm gives me back a ""
well then problem is elsewhere
@rlemon sure. It is weird thought because it looks like its loaded just all pixelated and weird. Is this the method you mean? 456bereastreet.com/archive/201012/…
user2157210
yeah ill figure it out and report back
textContent is what you want. at least you know this now
user2157210
yeah thanks a lot
17:34
@Demorus no, I mean when you define the custom font family.
@rlemon did you scroll down? where it talks about fallback
yea, do you have fallbacks?
you should, I assumed you did
@rlemon nope I dont
just got this: @font-face {
    font-family:'modern';
    src:url('../fonts/modern.eot');
    src:url('../fonts/modern.eot?#iefix') format('embedded-opentype'),
        url('../fonts/modern.woff') format('woff'),
        url('../fonts/modern.ttf') format('truetype'),
        url('../fonts/modern.svg#modern') format('svg');
    font-weight:normal;
    font-style:normal;

}
1) haev to use double quotes for font-family (don't ask, it is stupid)
2) have to quote custom names.
font-family: "modern", fallBack;
Yooolo
17:38
@rlemon so I include fallBack or you mean font-family: "modern", arial;
user2157210
so if i alert script it says its an html script element
user2157210
i should be able to use script.textContent
@Demorus yes
the " might be all your issue
rlemon, ill try it out now.
heyo
17:43
hello
ciao a tutti
che ne dite se parlo in italiano ora?
@Demorus no Opera/Safari, i'm just using my google-fu to help you
You can’t trust code that you did not totally create yourself. [Ken Thompson]
does someone knows how to align text to div baseline?
to push text down to parent div baseline?
vertical-align: text-bottom;
any way dudes? in pure css/css3
@rlemon that shouldn't work with text dude, it's for images :(
17:56
what have you tried?
nothing i can't find any rule for this :(
i think there is no one rule indeed :(
if your div is 50px height , and you have 1 line of text , text will be stricted to top of the div, i would lik to push it to baseline
√ bottom
i can use line-height = div height
but then with 2 lines of text will be a hell
@rlemon, no success. Did all steps you mentioned. It seems that a fallback wont work because opera actually recognizes the text. It just renders it pixelated
@Demorus then there is something wrong with the font, or how it's being delivered.

« first day (888 days earlier)      last day (4285 days later) »