« first day (1287 days earlier)      last day (3662 days later) » 

7:00 PM
@redshift Yes that the height of the image is the height of the viewport and the width will be calculate from the height of the image/viewport. So when I make the viewport smaller, the left and right side of the image will be disappear. Is this clear enough for you?
 
Nunjucks looks pretty sweet if you are used to django.
 
http://jlongster.github.io/nunjucks/
I wonder how can I "affect" veriable after setting one up ?
like if {% set i = 1 %} how can I do i++ after that ?

if someone have any experince with it i'll be glad to get a direction how to make it done :)
@SomeKittensUx2666 actually I hate it, but ive to deal with it as it ><
 
@Caspert I'm not sure, did you try the CSS room?
style="width:100%"
 
@mikedidthis sweet ?! trust me .. its like hell, like firefox(made by mozilla)
 
Yes and no, I thought this was the best for javascript. I have create a topic on stack overflow. There where some solutions, but didn't work for this problem/ wish
 
7:04 PM
but there's no plugin needed for what you want, it's just css
 
@greW looks bad :P
 
ok, sorry i could not help
i'm a newbie
 
well, I think i'll just create a topic on stack overflow
 
@SomeKittensUx2666 sadly no, I needed some glue and was in a pinch.
 
@jAndy I'd rather be somewhere where I can do my own thing and choose. Aside from that, what you're asking is basically "which is better".
 
user1596138
7:14 PM
2 months ago the PHP room and JS room had almost identical message counts.
 
user1596138
Now they're 1.426m and 1.842m respectively
 
@BenjaminGruenbaum remember last week I was talking about the recruiter emailing me
 
you gave me some excellent verbiage to reject, but still talk to him
 
Yeah, I recall that.
 
7:17 PM
I forgot what it was. he emailed me again. (I also forgot to email him back last time)
shall I go transcript searching, or do you remember what you said?
 
Sure
Apr 16 at 18:48, by Benjamin Gruenbaum
@rlemon they get better at interviewing, you get better at getting interviewed, they get a benchmark for future candidates and you get a benchmark for future interviews. You get to know people in your area with similar interests and possible business partners for the future. At the very worst, you might get a tempting job offer.
 
@rlemon Cool word
!!define verbiage
 
@Zirak verbiage Overabundance of words
 
anybody got an idea how this SVG thing could be made to work without SVG in a somewhat nice fashion? (Need it for Android devices running versions lower than 3) dl.dropboxusercontent.com/u/2332843/svg/index.html
 
@SomeGuy ^^
 
7:20 PM
basically, I just need a nice way to fill those 3 parts with a solid color. I could use canvas, but maybe there's another alternative I have overlooked
 
solid, or the nice gradient / glossy you have there?
 
solid, the glossy thing is just a PNG overlay
it's basically a category selector for a mobile quiz app we're building
 
you can do pure html/css
 
there are 20 categories
 
similar to how you would do chrome logo in css
like this?
 
7:25 PM
@rlemon That is awesome
That would even get rid of the SVG stuff
The reason I'm doing this in the first place is that the got 20 categories so there's a total of 60 images for the pie chart, ~17mb in png. Which is just unfeasiable for a HTML5 app
 
7:37 PM
Woo Hoo!
all tests still green
functional tests that is
nice way to end a friday
solved a week long issue
 
grats @rlemon
also o/ @IvoWetzel
 
yea we're all pretty happy about it over here.
just two more major issues to solve (both hardware) and we're ready to roll out production
lol, we tried building our own expansion board without an eeprom chip. bad idea.
the beagle bone is all like "yo, I have no clue wtf that thing is"
@Loktar imgur.com/kDbzqOD see this yet?
how do people do that, same with Diablo 3
someone beat it in like a friggin day man
 
wait what?
what is that @rlemon?
 
someone beat DS 2 in a day
 
ooh crazy wth
 
7:46 PM
well, < 12 hours actually.
 
wtf?
256k deaths?
er 298k rather
 
I think that is total for everyone :P
 
ok haha
ooh I understand the stats now
 
> You forget that people have been doing speed runs on the PS3 for the past month. All those guys instantly switched to PC when it released. The game can be beaten very quickly when you run past everything and know exactly where to go.
okay that makes sense
@RyanKinal how's the beer?
 
@bla2eOD Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
7:49 PM
@Loktar hey there :)
 
good stuff :)
 
although I liked the click handlers on the SVG :P
 
when in doubt if something is possible, turn to codepen. people do all sorts of cool shit on there
 
but meh, just need some JS and basic trigo to figure out which one was clicked / tapped
 
the guy on the coursera python class be hatin on js
 
7:52 PM
@Rooster I mean, we ruined JS after all....
 
everyone hates on js. it is the new 'cool' thing to do
 
ah, ya, I guess both of those statements are true. I just wanted to say something provactive to break the ice.
so consider it broken
;)
 
how much does a polar bear weigh? enough to break the ice. Hi i'm rlemon.
3
 
zing!
 
@rlemon here's JSON, each parent attribute draws the tree parent
I dare you make a pretty tree for me out of it that looks cool
 
7:56 PM
oooh I love pretty treese!
 
like graphical?
can I use Canvas?
 
Yes, but it must look really pretty
I give you 2 internet points if you do this.
 
in lieu of me fixing my big issue, boss is letting us go now. so i'll be home in like 45 minutes. will start then.
@BenjaminGruenbaum does the code have to be pretty ;)
 
no
It can be as ugly as you'd like, I just need the tree for real life stuff and you're better at this sort of stuff :D
 
dude earth days in't for like 363 days
 
8:01 PM
wow such jealous. Make it pretty @rlemon :P
 
click logic done
 
@Loktar can you beat him?
:P
 
    function click(e) {

        var x = (e.offsetX === undefined ? e.layerX : e.offsetX) - 260,
            y = (e.offsetY === undefined ? e.layerY : e.offsetY) - 260,
            r = (Math.atan2(-y, -x) + Math.PI) * 180 / Math.PI,
            d = Math.sqrt(x * x + y * y),
            a = (r + 90) % 360;

        if (d < 260) {
            if (a >= 0 && a < 120) {
                console.log('right');

            } else if (a >= 120 && a < 240) {
                console.log('bottom');

            } else if (a >= 240 && a < 360) {
 
@VadimVinogradov Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
nah, I've been spending time on pxly.me
and been slacking on grapple hero :?
 
8:05 PM
hehe
!!afk home,beer,bitches,okay maybe not bitches..
 
lol
see ya
 
@rlemon what about my graph?
 
user1596138
My current project focus is an android app
 
:)
 
user1596138
And I liked web languages better :P
 
user1596138
8:10 PM
But I've found 2 potential pico projector suppliers :D
 
user1596138
And am waiting on a bbb
 
@dsw88 Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
user1596138
8:32 PM
So who heard about that fake moon landing in 1959?
 
user1596138
// dead room
 
@SomeKittensUx2666 I'm not dead! Honest!
 
ahh, ok, done dealing with stupid character encoding, on to the malort!
actually unfortunate bash scripting :(
 
Hi
 
8:35 PM
!s/Hi/As if there were any other kind of bash scripting/
whoops looks like thats not how that works
howdy
 
You need two exclamation marks
!!s/Hi/As if there were any other kind of bash scripting/
 
@SomeKittensUx2666 !s/As if there were any other kind of bash scripting/As if there were any other kind of bash scripting/ (source)
 
...flail
 
shucks, I haven't been in SO schat for a while
 
            var loginData = JSON.parse('{"username":"jony","fkey":"tGZ47U8PHw39Wp8GPujD4Miy4tO1WocJ0klKcxd1x8as6WSqgpcPkGvXtZcgIweq"}');
            loginData.push({packet: "login"});
Uncaught TypeError: undefined is not a function on the .push line
Why? O.o
 
8:37 PM
have this slack chat thing in ma office now, addicted to that
 
user1596138
!!stat
 
user1596138
!!stat jhawins
 
@Jhawins User Elusio proved elusive.
 
!!stat
@rlemon she's bloke
 
@SomeKittensUx2666 rlemon is afk: home,beer,bitches,okay maybe not bitches..
 
8:42 PM
!!stat Rooster
awwww man
wait a second
!!stat
!!stat bagawk
 
@Rooster User Elusio proved elusive.
 
!!s/stat/platitude./
 
@SomeKittensUx2666 That didn't make much sense. Use the !!/help command to learn more.
@SomeKittensUx2666 !!platitude. bagawk (source)
 
ba, I'm really trying to avoid this bashy stuff
hmm i wonder if there are some weird bash thing yous can do with node
yup
 
@batrulz Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
8:46 PM
I'll be here all night
 
hello, is there anybody familiar with soundmanager2?
 
@bla2eOD nope
@Rooster #!/usr/bin/env node
 
woof
i tihnk instead of being productive I'll just use the rest of my day to figure out how to chrome cast my laptop camera to the office tv
 
!!/help
 
@RalphWiggum Information on interacting with me can be found at this page
 
8:52 PM
ahhh, google cast
that was easy
!!/listcommands
 
@Rooster 420, help, listen, eval, coffee, refresh, forget, info, listcommands, tell, afk, awsm, ban, unban, color, convert, define, doge, domain, findcommand, github, google, hang, inhistory, jquery, learn, aliens, fa, easytools, wherearethegoats, tobacconist, joystick, fools, cake, cool, vengeance, ln, protip, slidepoop, zirak_naked, loktar, artisticpoop, crustypoop, buttstuff, poopkittie, daybreak, rfc, man, ಠ_ಠ..., getit, resources, html5unleashed, jspattern, ajax, xhr, guesswhat
amazon, ihazbukkit, solution, sandbox, gayclubs, kumar, echo, pizza, wherearemypants, yourwrong, martyhug
 
!!slidepoop
 
Mar 13 '13 at 1:40, by rlemon
(Random Fact, when rlemon was 13 he pooped on a slide. he isn't proud of it, but he felt it was time to confess. I'm sorry slide.)
 
whoa.
 
8:55 PM
!!gayclubs
 
Mar 18 '13 at 20:08, by Loktar
I've been to gay clubs more than regular clubs lol
 
Submitting a npm issue stemming from a question on main, can we upvote this to give it validity?
 
++
 
!! s/\+/-/
 
@RalphWiggum -+ (source)
 
8:56 PM
@RalphWiggum g flag
 
d'oh
 
How long does it take GitHub to update images? I just pushed github.com/hartwig-at/fm-log/blob/… but it still shows github.com/hartwig-at/fm-log/blob/master/img/example.png for master
This is confusing
 
posted on April 25, 2014 by Victor A. Rodriguez

After 5 or 6 years of using Ubuntu I am letting it go. Sort of.  I felt quite comfortable with it until one or two years ago they moved to Unity and the wind of change began blowing and sooner than later the hurricane warning widespread. With disrespect signals going back and forth you gain no friends. I will not reproduce here the plethora of controversial decisions Canonical has

 
Hah! And now it works :P
 
has anyone heard of something called the "Ultradian Rhythm" ?
im basically using it to learn javascript
it's how people, when crunched for time, get stuff done
 
8:59 PM
@ZachR Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
@redshift I thought that's what coffee is for
 
if u like having crashes
so basically it you go all out (like a sprint) for 90 minutes, then you rest for 20mins
repeat this all day every day
many bestselling authors did this to publish books in under 30 days
 
sounds like witchcraft to me
 
The human body is hard-wired to pulse. To operate at our best, we need to renew our energy at 90-minute intervals -- not just physically, but also mentally and emotionally.
they already do this training for olympic athletes
The modern model for success is to hunker down for long and continuous hours in front of a computer or at meeting, answer emails late into the night and work till we drop.
 
!!tobacconist
 
9:03 PM
@Rooster Drop your panties, Sir William; I cannot wait until lunchtime!
 
human beings aren't wired to operate like computers
 
@Jhawins made great progress with that little board
 
!!man
 
@Rooster Input not matching /(\d+) (\w+)/. Help: User-taught command: Create an URL to a command man page. The first argument is the section number, the second argument is the command name. <> http://man7.org/linux/man-pages/man$1/$2.$1.html
 
seems to boot fine if there is something connected to the jtag headers.
so you should get an ftdi cable and connect it
 
9:04 PM
oh that kind of man
 
I'll update when I figure out which pins to pull high and which to pull low
 
is the onclick attribute part of HTML spec?
 
Shouldn't be part of anything.
Burn it with fire!
 
like the witches using that rhythm
 
@rlemon but is it?
 
9:10 PM
@rlemon nah, it's the cool thing to do for a few years now.
 
@Connor yes
4.0.1 iirc
On mobile ATM.
 
@Connor No, it's part of DOM0
DOM0 means "shit IE and Netscape did but nobody standardised"
 
do you think a 'worst question ever' question on meta would be appropriate?
 
Before the w3c formed
 
@zirak orly I would have sworn I saw it in a 4.0.1 spec
 
9:12 PM
@Rooster They'd link back to your question
 
that would be worth it
ive asked some pretty bad questions on server_fault
 
@rlemon Checking
 
I might be full of shit (well. Not for long if you know what I mean)
 
I concede, they're defined under an umbrella term "event handler IDL attribute" w3.org/TR/html5/webappapis.html#event-handler-idl-attributes
 
But wouldn't it be in the global attrib spec.
Ahh. Cool
 
9:15 PM
 
@Connor rlemon was right, they're in the spec
 
Those pages are horrible on mobile
 
Ignore what I said before.
 
@indusBull Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
9:18 PM
@SomeKittensUx2666 Base 37
 
aw, don't spoil it. Build it up: They pretty much gave the answer away in the multiplication.
 
I didn't spoil it, just my intuition
 
Not spoiled - I'm still stuck
Also my dynamic programming solution didn't work
 
Follow their example leepadg, add some debug calls in the hash function
 
s/didn't work/I'm stupid/
Got it now, forgot to deep copy array
@Zirak Alright trying it the smart way now
 
9:31 PM
What was your solution? Brute-forcing?
 
is it possible to set a timeout on a specific websocket onmessage event? e.g ws.onmessage = function(e)... if not received message in 30 secs, stop event, show error?
 
@Zirak Binary search
 
@SomeKittensUx2666 - shouldn't you just divide instead of multiply? i mean there is no meaning to the characters, only the string length
 
@user3123545 Set a timeout. Inside the event handler, clear the timeout.
 
@Zirak setTimeout() right?
 
9:33 PM
@SomeKittensUx2666 What I wrote first is actually really useful
 
@user3123545 Correct.
 
on forget it - i misunderstood the question....
 
@SomeKittensUx2666 It's a neat puzzle, really. I'm too lazy to solve it, but as a hint, look at how to convert to and from hexadecimal for instance.
 
@copy - how would Base37 help with that?
i'm just curious
 
@Armlock29 Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
9:35 PM
@EliranMalka I'll show my solution later
 
ok, now i'm very curious
:)
 
@Zirak Let me know if I am not doing it correctly, but it doesnt work, pastebin: pastebin.com/KnSWRLaX
 
If it doesn't work, it's like that you're not doing it correctly.
 
obviously :P
 
Looks ok though, at least the setTimeout and clearTimeout calls
 
9:38 PM
yea but they never get called.
 
You might want to call clearTimeout before, but it's just a minor thing
Neither?
Oh, of course it doesn't work
You don't want to set the timeout inside
 
yeah, where should i set it though?
ah outside
and clear it inside
 
Otherwise it wouldn't make any sort of sense
 
RangeError: toString() radix argument must be between 2 and 36
 
but one problem Im stuck with, if I will add it outside and only clear inside, lets say it has timed out, how can I cancel the ws.onmessage event?
 
9:40 PM
They're clever.
 
@user3123545 ws.onmessage = null ?
 
@SomeKittensUx2666 It's not just base37
 
Right, it starts with 7
 
And there are fewer than 37 characters to choose from.
 
9:41 PM
thanks
 
Enjoy
 
If I have a ws.onmessage outside of that function block, will ws.onmessage = null in that function cancel it too?
 
It's a property like any other.
@Loktar, @rlemon, @SomeGuy youtube.com/watch?v=bduGNgPG1e4
 
@jAndy Backbone because it's insanely simple. Browserify because it's insanely simple.
 
I've never used backbone, but I've read enough to say that I don't like it too much. It smells like Java.
 
9:48 PM
nice, we were looking at that game the other day
I hadn't seen that video tho
 
It looks incredible
Seems to have all the reasons I fell in love with Kingdoms of Amaleur
 
@Zirak how? its basically just a simple architecture framework?
I like the fact that it doesn't do a whole lot.
 
@twiz oh c'mon...it's hard enough remembering all the different things and my opinions on them, why do I have to remember the reasoning as well?
 
Bah, almost there on conversion.
 
@ezeed Welcome to the JavaScript chat! Please review the room pseudo-rules. Please don't ask if you can ask or if anyone's around; just ask your question, and if anyone's free and interested they'll help.
 
9:51 PM
Haha sadly enough that's actually a reasonable statement.
 
That stupid pesky starting 7.
 
There are definitely some things I've used that I know I hate, but I can't actually remember why.
 
Like that stupid Zirak. Hate his guts. Always have. Don't remember why.
Maybe he's a communist.
 
It's because I'm better than you and stole your 3rd wife.
 
Can't be her, I was glad when she left me
 
9:54 PM
It's the AIDS she got from me
Or was it from you!?
 
The cancer destroyed all the AIDS
 
@twiz Nietzsche said that, btw
"It is hard enough to remember my opinions, without also remembering my reasons for them!”
 
haha nice
 
aaaand solution #2 done
 
@Zirak Thought as much, thanks :)
 
9:58 PM
Did you read on?
 
me?
oh
 
43 mins ago, by Zirak
@Connor rlemon was right, they're in the spec
Read inbetween those two
 
yh just did
damn
 
I feel as though code challenges probably aren't a very good method of selecting who to hire, but they probably do get more people to apply just by having one.
 

« first day (1287 days earlier)      last day (3662 days later) »