« first day (1435 days earlier)      last day (3514 days later) » 

5:06 PM
@rlemon :-)
 
in PHP, 3 mins ago, by R. Martinho Fernandes
Wow, I can pin stuff in your room :P
nice
 
Nice!
 
It did not happen without a lot of emotional pain
 
5:12 PM
@Zirak just so you know
.me's prices change yearly [and usually go high really fast[
 
Really? Source?
 
@Zirak <gf's domain>.me, goph.me -> RS 499 first year ... 2559 this year
 
Maybe you have a scumbag registrar?
 
godaddy ? well its scum + douchebag
 
hrm, you may be right, at least for the second year. Adding another year is ~$18, but after that it seems to be multiples
 
5:24 PM
A WHOLE EIGHTEEN DOLLARS?!?
 
@SomeKittens You could buy a new shirt with 18 dollars! OMG!
And after two years, YOU CAN BUY TWO SHIRTS!!!
 
5:46 PM
@Zirak sending 'document' in jsh crashes it
 
Correct, you can't inspect nodes yet.
 
shoot
 
ok
 
dat.gui might not work with my architecture.
 
:O Is this just javacript? :O
http://rlemon.ca/stardust.html
 
5:50 PM
@rlemon @loktar pingola
 
what?
 
@TomášAresakMalčánek "view source" knows all
 
@TomášAresakMalčánek yes
 
@TomášAresakMalčánek right click -> view page source
 
I know I just didn't believed that :DD
Wow
That's very good
 
5:51 PM
@rlemon What's the best way to use dat.gui to influence a large collection of objects?
 
Our lemon is talented
 
@SomeKittens have the collection references a 'settings' object
 
@Zirak I see :D
 
5:52 PM
see how I have a global settings object
the update / render functions use those settings on each pass
of course if you have a specific problem and not a generic question I can probably be more helpful
 
ok, I can see that
one sec
^ for instance, if I wanted to modify the decay property
I'd have to access it inside update/render?
 
instead of setting it in the constructor
 
yes
 
5:58 PM
your website is stock images right ?
 
no that was a yes to abhishek
 
can we have a quick chatter ?
<not in this chat>
 
@SomeKittens you can trigger stuff on property change
 
Modern websites...
http://spsd14.symbiant.cz/short/?s=4
 
@AbhishekHingnikar sure
 
5:58 PM
pinging you on gtlalk
 
Another, more challenging example is dealing with different ship sizes
(modifying this.img.src)
 
pinged u
 
controller.onFinishChange(function(value) {
  // Fires when a controller loses focus.
  alert("The new value is " + value);
});
you can make a function to augment the ship on it's prototype
call it when the gui control changes
or mark a flag, and call it on the next update?
 
@rlemon I think the flag sounds cleaner, but altering the prototype would keep dat.gui out of the main code
thanks - lemme play around with it
 
m59
What the heck, Chrome?!
I had a canvas only on a certain view that wouldn't render text.
The exact same canvas worked everywhere else
I had to restart the browser and it worked (I had previously tried hard refreshes and checked everything out in my directive)
@AbhishekHingnikar lol
 
@m59 out of memory?
 
m59
That's the second time in this month Chrome has done weird stuff like that. @JanDvorak nope, all is smooth
that last time it stopped recognizing hrefs
 
norepro
 
some regex pros here? What I want is the following. I want to replace the following strings with the string after =>
^1 => ^{1}
^1^2 => ^{12}
^1^2^9 => ^{129}
^1^2^7^2 => ^{1272}
and so on
 
6:23 PM
?
 
this is what I've got: regex101.com/r/tV5jM1/1
 
oh. That doesn't seem like stuff pure regex can do
I'd go for a regex with callback
 
@Kasper: \^(\^?\d)+
owwait, nope.
 
@Cerbrus hi bestie
 
.replace(/(\^\d)+, function(match){...})
 
6:27 PM
chrome --latest is extremely unstable @m59
are you using beta ?
 
@JanDvorak not sure what you mean
 
m59
@AbhishekHingnikar nope, just whatever Chrome auto-updates
 
!!tell kasper mdn string replace
 
Hi, @SomeKittens
 
6:31 PM
@CapricaSix the webpage is not available
 
hmm...
!!tell kasper google msdn string replace
 
m59
@door LOL
 
Can anyone ever really know JS?
 
m59
JavaScript is like ______ (censored for soon to be obvious reasons). It spun the web world into existence and then left us to our own devices.
 
6:35 PM
All hail our Lord, Brendan Eich
 
@SomeKittens Has anyone really been far even as decided to use even go want to do look more like?
 
ahem...
!!tell kasper google msdn javascript string replace
 
4th place.
wow.
did they just stick in a random number generator?
 
6:43 PM
@SomeKittens Congrats on 4th place in the server category!
 
Uh, no
I'm withdrawing
this is a farce
 
@SomeGuy oh well... expected to be at least in top 60, but nope
 
Haha happens. There were a lot of entries
I don't understand how Pong got first in Server
 
6:46 PM
@SomeGuy yeah wtf??? the example is first place, a non-server game in second, and in third a game that you can't have any idea about what it does if noone else is on
he tots deserved first
I'm pretty disappointed about what the judges decided :/
at least we'll get free shirts!
:D
also, most of the games on top 20 don't work on chrome XD
 
Mozilla sponsorship.
 
Hahaha
 
Anyone wants to bring my morale up?
this was a bad day
 
much better!
 
6:57 PM
@SomeKittens your new avatar ?
 
results = text.replace(/(?:\^\d+)+/g, function($1) {
return "^{"+$1.replace(/\^/g,"")+"}";
});

yeahhhhhHhhhhh !
 
whats so much about the pst control game ?
 
1st place Pest Control : Weasels by Siorki
 
7:05 PM
No, the Server category
1st place: Pong
 
@SomeKittens no the overall desktop first is piece of shit
 
heh
 
the second game is actually way more fun
though the 1st one has lot more dynamcis
 
apparently end3r is a friend of Miszy's
I also didn't get how to play 'whistleblower'
5th place
you just make sounds... but how are you supposed to control anything else?
 
Anyone feel like code golfing?
 
7:15 PM
@KendallFrey maybe
 
I need some ideas
 
like?
matthy stuff? minigames? Data control?
 
mathy stuff is fun
 
thingsLearned++;
git reset --hard HEAD
 
@KendallFrey ascii fractals?
 
7:19 PM
@SomeKittens is that the git version of fapping?
 
...?
 
@towc Hah, that was actually in my C# book
@SomeKittens reset.. hard.. head.....
 
yeah, you're kinda reaching there.
 
@KendallFrey I actually wouldn't have the slightest idea of where to start
 
So yeah. Not entering js13k again.
 
7:25 PM
@SomeKittens Next time I'll just try to aim for the social tropheys. Every comment on the post on facebook is like a 'like'. Just spamming comments giving with a little sense could get me on top (that's probably how "turtles can't skate" got 109 likes)
 
nah, not even worth that
 
@SomeKittens cmon! free shirts!
 
I'm going to tell him not to send one
 
elematter
is actually a sweet game to play
 
I'm not taking any of the prizes.
 
7:27 PM
@SomeKittens ?
 
@AbhishekHingnikar the author won all the previous editions
 
@AbhishekHingnikar He is going to email me and ask where to send the prizes, I am going to tell him to shove it.
 
@SomeKittens send them my adress! 2 FREE SHIRTS!
 
@SomeKittens awww thats not nice of u
relax buddy
 
@AbhishekHingnikar I'm not particularly concerned with nice at this point
 
7:29 PM
or give them the adress of a youth club or smth
ok, that's rage
 
@SomeKittens chill
dude its a game u lost u lost
 
I'm using a Firefox and while having a return in a functions I don't see the output in the FF's console. What should be wrong?
 
@SomeKittens heck this was js13k even Imagine Cup has such stupidity at times
have a beer and sex.. chuck it
 
> The only game that is worse than yours is one that literally does not load
 
sauce?
 
7:32 PM
@rlemon not a direct quote
but fifth place didn't load, I got fourth.
 
@SomeKittens like 'ibex', 16th in desktop
 
i wonder if there were sexual relations involved #13kGamerGate
 
^ lol
@SomeKittens link me your game ?
 
though that's not the latest
I'm currently working on some improvements
 
Anyone got experience with aligning Three.JS plugin inside div?
 
7:37 PM
@Marek instead of document.appendChild you do div.appendChild
 
@SomeKittens are you using webrtc ?
 
Socket.IO
WebRTC is for media
 
@towc YOU MY TODAYS HERE IF IT WORKS
 
woah, nobody here has ever been anyone's todays here
 
who's spaceshipping?
 
7:39 PM
who am i playing against ?
 
@AbhishekHingnikar me :P
 
Some mysteries solve themselves :P
 
@towc you think that this is correct?
 container = document.createElement('div');
div.appendChild(container);
 
Usernames might be a good addtion
 
@Marek nope
 
7:39 PM
@SomeKittens okay now seriously remove that fucking 13k limit
and add some decent graphics
 
uh
I was at 4.6
 
What about this? @towc
 
no ser1ously bro
show him what you are :D
ps you can still haz aewsome graphics and stay < 13k
but meh its pride :P
 
Graphics are from retroships.com
 
i know :P, but its 21st centuary
 
7:41 PM
container = document.createElement('div');
div.body.appendChild(container);
 
wurt?
 
@AbhishekHingnikar and that's on the roadmap, but not near.
 
@Marek nooooo!! container.appendChild(canvas)
 
@SomeKittens you can find sexy ships on sketchup workshop
 
7:42 PM
link
 
...but that's in 3D
this is a 2D game
 
oh yeah :x, well i'd just render then top-down
!!should i complete my zombie shooter with AI (not for zombies)
 
@AbhishekHingnikar Nope
 
!!should i write the simple chatbot demo instead
 
7:46 PM
@AbhishekHingnikar Of course!
 
!!will you merge with the AI chatbot ?
 
@AbhishekHingnikar No
 
-_- meany
!!are you sure i should make the chatbot and not the zombies ?
 
@AbhishekHingnikar By all means
 
// sometimes a random chatbot talk could be awesome x_x
 
7:49 PM
We tried that
 
@SomeKittens i am talking about snapicks nl based ai xD but i guess it'd be overkill
i am going to talk about snapick :P thought of a demo
 
@towc Yeah, but that I can still understand. Turtles Can't Skate looks and feels pretty bad
@SomeKittens Thank you! :D
 
oh, congrats @SomeGuy!
 
@SomeKittens you didn't want the prizes, right? Mike and Amaan were on a team, and there are no shirts and disks for both. You could give them the adress of one of them
 
@towc Haha, the shirts aren't prizes
They're for participation!
End3r said they may have some extras left. He'll see
 
7:54 PM
how would you call them?
 
Well they are prizes technically, but I doubt Kittens meant the participation prizes when he said he didn't want the prizes
@Zirak Thanks!
 
@towc Participant Badge
 
We weren't even in the top 60 ranked by the judges though
 
You were an infinite places above me
 
@SomeGuy that was pretty disappointing
 
7:56 PM
@SomeGuy all I "won" was NodeBB
 
@Zirak That's quite true
@SomeKittens Yeah, I know
 
@Zirak you were place -infinity?
 
Even #1 in the Server doesn't get much
 
wow, before the first?
 
@SomeGuy ^, @Zirak
 
7:59 PM
those got lame around 2002
 
i wonder why is there no game doing that ?
 
Toribash?
 
awesome game
when you're bored at least
 
@SomeKittens not toribash
something like god of war but using stickmen
will open a whole different world
 
8:09 PM
There has to be at least a dozen flash games like that
 
that much dynamics ?
 
@AbhishekHingnikar Why?
 
@Zirak lower demand of graphics, higher creativity and roam for physics
 
8:22 PM
@Zirak I love the pop-ups on the end loool :D
 
FUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU‌​UUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUU
i wish webkit speech recognition was any faster :-/
How can a .jpg image animate ?
 
m59
hmm, I'm stuck on a fence post problem
I mean, I can "fix" it, but I'd rather not break it to begin with
 
@AbhishekHingnikar It's a gif
 
m59
8:37 PM
      for (var fontSize = 5; ctx.measureText(text).width < c.width; fontSize+= 5) {
        fontSize+= 5;
        setFont(fontSize);
      }
      fontSize-= 5;
      setFont(fontSize);
 
@AbhishekHingnikar please tell me you're trolling
 
Ehh going to sleep guys, night night
 
m59
@TomášAresakMalčánek night!
 
@FlorianMargaine :'( yes i was
i was trying to kid.
@Zirak ^ ... but you guys took it too seriously
 
Ha. Hahaha. Haha.
 
m59
is there no way around my redundancy?
I did it 5 ways with the same amount of awkwardness.
 
Oh, yeah, I'm not getting what you want to do
 
m59
Incremenet the font size until it hits the width
I can't see any way to avoid surpassing the width, then reducing the font size.
 
9:05 PM
teehee, someone tried to access jsh.zirak.me/wp-login.php
 
m59
nooooooooooo WP
 
@Zirak 404
 
Urg, data structures
 
m59
tried to access it so they could properly destroy it claps fingers together
 
I want a sortable object.
 
9:06 PM
@towc Who'd have thought
muahahaha, and now I see 4 people trying to access that at once
 
tell me more...
 
One from California, another from Tennessee (both using Comcast), and another from Italy, seems like Torino
 
I never knew having a public server was fun
So much power...
 
m59
<- TN
 
9:10 PM
<- CA
 
<- ISR
 
<- Moon
 
hahaha
 
Nice detective work there
 
Thank you someone from Israel for a lovely url
/GOATS.suckit
 
9:11 PM
that was me
your analytics suck
 
oh, I assumed it was Israeli because of @SecondRikudo
Aaannd yeah, Kitchener
 
@Zirak Eh?
 
...I lost the game
 
lol
 
@Zirak It is my current goal in life to get to a point that whenever I speak in chat, some or most of you would lose the game.
 
9:15 PM
You aim high, kid
 
!!xkcd anti-mindvirus
 
I continuously subconsciously link myself to the game with AFK messages and subtle hints
 
yeah, how does one win it?
 
@towc Be me.
Or Chuck Norris.
Chuck Norris wins the game all the time.
 
9:16 PM
@SecondRikudo subtle, alright
 
@SecondRikudo I swear I'm trying hard, but it's not working
 
Since every time someone loses someone else must win, Chuck Norris takes all the wins for all of your losses.
 
the submit page is still up XD js13kgames.com/submit
 
9:38 PM
user image
7
 
@rlemon lol what the hell
 
rickrolling his server logs
 
I can see that :D
 
now i'm just fucking with him
I hope he sees them
 
hah
letting it run :D
lolol
krakjoe is JoeWatkins from the php room, the guy who wrote phpng
 
10:02 PM
Why are you spamming my logs? :P
 
coz it's fun
 
10:21 PM
:D
 
m59
10:56 PM
oh my
two views using include the same template and have the same function in their controllers....
one the ui datepicker works fine. in the other, it opens once and then never again.
There's just no other factors....
2 messages moved to Trash can
 
11:11 PM
@AbhishekHingnikar there isn't much secrets. Eat a ton of fruits and vegetables, some grains and some long-chained carbs like rice , sweet-potatoes and potatoes. Eat as much as you want as long it is as unprocessed as possible. Of course, don't forget your greens, spinach and good shit like that. easy peasy, healthy and super-powers in a couple of weeks
 
@jAndy I just had a fast-food burger. It tasted miles better than anything in that list. Suck it.
 
m59
sigh, I guess it was some typo somewhere
 
that actually was my lunch today
 
m59
I just started over and it all works now.
 
11:17 PM
it outclassed any tiffanys, mcd, bk, whatever burger
 
Why did I just watch a giraffe giving birth...
 
m59
Did you mean to write "not"?? If so, your view is dead wrong. Troll level wrong. — m59 23 secs ago
I don't think you're in a position to tell me that. — Radu Andrei 1 min ago
lolz
 
11:33 PM
Bitch, you have no idea what position I'm in.
 
m59
It's impossible for any response I have to not be offensive.
 
Taken from MDN:

o2 = Object.create({}, {
  p: {
    value: 42,
    writable: true,
    enumerable: true,
    configurable: true
  }
});

I understand what writable does, but what does enumarable and configurable do?
 
m59
That guy isn't in a position to own a computer.
app.factory('close',function(){
   return {
      close: function(){
                $('.mySelector').fadeOut();
             }
   }
});
 
@NickDugger enumerable affects whether it gets seen in for..in, IIRC
 
Oh, alright, how 'bout configurable?
 
11:37 PM
I'm RTFMing
 
sets whether or not you can remove or overwrite a property
 
> if the type of this property descriptor may be changed and if the property may be deleted from the corresponding object.
 
Any idea why they'd all be set to false by default? Seems a bit odd. Now I have to set them all to true, every time.
 
welcome to ES5
 
touche'
 
11:40 PM
its pretty much the first thing someone creates..
a wrapper to defineProperty which handles exactly this issue
 
Makes sens. I could actually do that pretty easily, me thinks
spelling errors all day, err' day
 
and after you have that.. you might say GNABH SCREW IT, I just go like foo = { } :p
 

« first day (1435 days earlier)      last day (3514 days later) »