« first day (1344 days earlier)      last day (3619 days later) » 

12:00 AM
there was another one too..
like Mr. puppet or something
 
I was more into the Fred Penner show.
 
was an old man.. thats about all i remember
 
that was followed by Under the Umbrella Tree
 
I remember that one, Under the Umrella Tree
not Fred Penner though
 
also the Sharon Lois and Bram show
 
12:00 AM
oh shit wait dude!
watching a youtube vid now, I totally remember this (Fred Penner)
 
so many memories man... I havent heard this song in like 25 years.. but totally remember it
 
@Loktar my most memorable moment from his show (they had a very low budget it seems) was when the "word bird" fell over (it was a fake bird) and he tried to play it off all sly
great fun
 
haha
 
@Loktar yea again, I remember watching it. but I feel I stopped when I was like 4-5?
 
12:03 AM
yeah I probably did too
I just remember the theme song mostly
 
I don't remember details other than the characters and a vague memory of the back yard and the "play place?"
 
man I need to remember the old man show I'm thinking of
 
so glad youtube and google exist now
 
do you remember recycle cycle
 
12:04 AM
nope
 
this?
it was all the same channel for me
so I imagine it was the one you got
 
nope
it was like a mr rogers rip off
had an old man and different characters
 
Mr Dressup?
 
damn Ill have to ask my mom or dad
YES!
DUDE mr dressup!
haha nice
 
:P
 
12:07 AM
thanks man I loved that show lol
 
same
Art Attack?
did you get that?!
if not man, awesome show
 
hmm not that I remember
man I bet he's dead that makes me sad.
friggin old as heck back then
2001
 
fuck man the feels this brings :P
I was so blissfully ignorant at that age
youtube.com/watch?v=0evlWSY8kTc that intro man. so 90's!
damn now you got me on youtube looking up all the old shows I watched
 
haha
 
12:50 AM
ahhh great, I just switched to the tab.. I saw a random video completely off-topic and a little bit insane... and I directly knew YES I'M IN JAVASCRIPT
 
JavaScript.chat === YouTube // true
 
if you can't sleep.. you have like 6 liters of caffeine in your body, some cocaine and speed too, doesn't matter you watch bob ross and you sleep like a little girl
 
@jAndy I don't think your brain works like that
 
like what
 
> Both girls are wearing shorts, and Shenendehowa officials said the incident happened last year.
...why is that relevant
 
12:59 AM
How would someone go about integrating markdown into their project? ie: allow users to format forum posts via markdown. Is it simply a regex that detects the various things? I'm really buzzed so I don't even know if that question makes sense
 
@jAndy You consume media using your eyes and ears, overpowering the effect of being massively drugged
 
I don't know how he does it.. but he does it
 
!!magic
 
@NickDugger get a plugin
 
1:01 AM
bob ross is so boring and relaxing at the same time
 
Ah, I see. I didn't even think about getting a plugin. I'm too buzzed to be functioinal
 
he could be used as a weapon
 
@NickDugger If you simply use a regex, you will end in a world of pain, ask @dystroy
 
How 'bout EpicEditor?
 
PONY PAIN
 
1:04 AM
!!weather Houston
 
@NickDugger Houston: 85.622F (29.79C, 302.94K), broken clouds
 
Really? It feels hotter.
Maybe that's the alcohol
 
@Zirak It was among the best things I've seen. In a way I've never seen before. 9.5/10
 
!!youtube one week barenaked ladies
 
1:08 AM
0
Q: Error handling in Promise / bluebird.js

ubaltaciWhats the difference between those then calls in context of handling errors ? .then(functionThatReturnsPromise(arg)) .then(function() { functionThatReturnsPromise(arg); }) In first example, if function functionThatReturnsPromise throws error, catch block isnt called and bluebird prints er...

 
Making cookies!
 
I'm gonna try drunk programming, so how bad it looks in the mornign, lol
see*
 
  if (profile.emails && profile.emails[0] && profile.emails[0].value) {
is there any better way to do that?
 
if profile.emails[0].value
why wouldn't that work instead?
 
TypeError: Cannot read property '0' of undefined
 
1:14 AM
wouldn't it return falsy?
Oh wait...
you're right
sorry... drunk. lol
I have no idea, man
Can you do a try/catch? I know that would kinda be abusing it, but it would work
 
don't want to
 
1:32 AM
@SomeKittens Let me know if you find a better way?
I've wondered for a while myself
 
all properties of undefined should also be undefined.
 
2:05 AM
@SomeKittensUx2666 No, then we will never get a runtime error
JavaScript is already getting fail early completely wrong, that would just make it worse
 
2:24 AM
Yeah. Better to have slightly ugly code than even more silent fails
 
2:35 AM
@SomeKittensUx2666 switch??
 
3:10 AM
if( e=profile.emails && e=e[0] && e.value )
 
Operator precedence
 
 
1 hour later…
4:11 AM
0
Q: How to prevent nested promise from hanging?

schmidlopThe following code works (the user object is written to the console), however the process doesn't exit. I believe one of the promises must not be resolved? var Promise = require("bluebird"); var mongodb = require('mongodb'); Promise.promisifyAll(mongodb); mongodb.MongoClient.connectAsync("mong...

 
 
2 hours later…
5:47 AM
@NickDugger There are many markdown to html libraries. Just search. If you don't have special needs, don't lose time making yours (and even then, take into account that many libs are customizable).
@copy I wouldn't say my special markdown to html transformer is a world of pain. I wouldn't do something bigger with just a composition of regexes but right now It's simple and small enough and there's no part hard to follow nor any complicated regex.
 
good morning
 
!!should i make a static background or an animated canvas
 
@AbhishekHingnikar You should make a static background
 
thank you caprica
 
6:03 AM
@CapricaSix Obviously Caprica isn't hosted by rlemon today
 
dystroy.org/cv holy shit, i feel uber noob
 
@AbhishekHingnikar Do you realize I'm 40+ and you're still a student ?
 
You are 40+ :O
i never knew that !
but still man you are extremely awesome :D
 
 
2 hours later…
8:14 AM
Haha, his age is literally on the first line of the CV
 
8:34 AM
hallo!
42 years, the perfect number
 
8:50 AM
@rlemon global vars! yay!
 
@dystroy dystroy.org/spacebullet is pretty fun to play
 
9:28 AM
other cool level you might want to try out (actually pretty hard)
0301000010000002000010000010001000000001000100000
link for who has lost it copot.eu/matei/games/b10k
 
@dystroy more like 50- :D
 
@SomeGuy would u call this rip english / rip hindi / rip humanity / rip darth vadar .... such fail ?
@SomeGuy i scrolled down straight to work exp.
 
@Mosho I have a new minigame for you :P
 
:o
 
@Mosho you've tried b10k, right?
 
9:37 AM
no :X
 
ok, click the last link I've posted
try the tutorial levels to get a hang of it
 
got it
 
then click play custom level and insert the string of numbers that looks like binary
 
alert inputs? really?
 
@Mosho just temporary
 
9:39 AM
@rlemon Do you have experience with drawing onto canvas using array buffer?
 
after you finish it go to the level editor if you have time, and try to make a challenge for me :P
 
what exactly are you trying to achieve ?
array buffer - > canvas pixel data ?
 
@AbhishekHingnikar I am sending an image from node.js with socket.io and then I try to drawImage(data,0,0) does not work. I read that this is because the data comes as a arraybuffeer. And console logging the data shows that it is a arraybuffer.
So yes.
 
@Schoening try converting that arraybuffer to a blob of image/png or image/jpeg
then you can draw with a blob as a file.
 
@mosho are you trying?
 
9:43 AM
Thanks I give that a try
 
also
7
Q: Receive Blob in WebSocket and render as image in Canvas

Arun GuptaI'm building a simple WebSocket application that transfers binary snapshots of the current canvas to other listeners. The current canvas snapshot is sent using WebSocket as: var image = context.getImageData(0, 0, canvas.width, canvas.height); var buffer = new ArrayBuffer(image.data.length); var...

 
@towc are you sure that level is possibe
 
@Mosho nope
 
it's not
pretty easy to check
 
if you can't do it then I'm sure it's impossible
 
9:44 AM
Cool I give that a read
 
I'll give you a real challenge tho:
 
have you tried the level editor?
 
not yet
need to get some shit done
 
oh, ok
try it when you have time tho
 
9:45 AM
perhaps
 
Does anybody know if Linux can "hear" ultrasonic sounds? I mean, the builtin mic should be able to receive ultrasonic sounds theory no?
*in theory. I'm going to experiment with long-distance data transmission
 
@mosho you'll find the challenge written in the level editor
 
Failing that, in which Stack Exchange site should I post this question? Superuser? Electronics? or just Stack Overflow?
ok..
 
10:08 AM
@AbhishekHingnikar I don't think I did it like you said. But I found a great tutorial.
http://pastebin.com/829QNwrW
 
10:24 AM
works
 
10:45 AM
@towc That isn't possible, is it?
Asshole :p
@AbhishekHingnikar Hahaha, I don't really care :P
 
@SomeGuy nope :P
try completing the challenge in the level editor
 
@SomeGuy i know u dont, neither do i but it was sure funny as hell
ake !
thank goodness "he" didn't wrote "ache"
 
11:00 AM
Hey guys, a quick node question
I've seen the following example:
var cluster = require('cluster');
var http = require('http');
var numCPUs = require('os').cpus().length;

var rssWarn = (12 * 1024 * 1024)
  , heapWarn = (10 * 1024 * 1024)

if(cluster.isMaster) {
  for(var i=0; i<numCPUs; i++) {
    var worker = cluster.fork();
    worker.on('message', function(m) {
      if (m.memory) {
        if(m.memory.rss > rssWarn) {
          console.log('Worker ' + m.process + ' using too much memory.')
        }
      }
    })
  }
} else {
  //Server
  http.Server(function(req,res) {
First, what guarantees that the workers I create will be attached to one CPU each?
And second, where the hell did process come from? Does it come from cluster?
!!mdn hasOwnProperty
 
11:19 AM
just wrote console.log(potato) in C
and fork creates a new process
so it only makes sense to have at most as many processors you have
how they get assigned depends on the OS
but if that's the only thing the machine/VM does, they will prety much get assigned to a CPU each
 
@SecondRikudo nope, it's a global variable in node
and what @Mosho said. It's a new process, so whatever the OS deems necessary.
 
11:40 AM
@Schoening easy peasy lemon squeazy
 
Good Morning Lemon
 
var idata = context.createImageData(width,height);
for( var i = 0; i < buff.length; i++ ) {
  idata.data[i] = buf[i];
}
context.putImageData(idata)
got up to pee, saw pings. going back to bed now
 
@rlemon why do that when there is possibility of native performance ?
ofc he could off done it .
 
12:06 PM
ok, working on editor looks now
 
12:33 PM
@AbhishekHingnikar @rlemon
var canvas = document.getElementById("canvas")
        var ctx = canvas.getContext("2d");
        var img = new Image();

        var socket = io();

        socket.on('image', function(data){
        	var arrayBuffer = data;
            var bytes = new Uint8Array(arrayBuffer);
            var blob = new Blob([bytes], {'type': 'image/png'})
            img.src = URL.createObjectURL(blob);

        });

        var render = function () {
        	requestAnimationFrame(render);
        	ctx.drawImage(img, 0,0);
 
works ? @Schoening
 
Yep :p Thanks for the help! Currently I am "streaming" by taking screenshots with AutoIt 24/7 probably better ways to implement later on.
 
1:08 PM
film anyone?
 
 
2 hours later…
2:44 PM
 
3:08 PM
posted on June 21, 2014

var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); try { var pageTracker = _gat._getTracker("UA-3727700-1"); pageTracker._trackPageview(); } catch(err) {}

 
3:31 PM
@Mosho still didn't try it?
 
Anyone here familiar with SailsJS (node)? Or just really familiar with MVC in general?
 
@abdellahmansur All your neighbors will be wondering why their dogs are constantly freaking out...
 
Nevermind, I think I figured out my issue. I was going to create a controller that I didn't actually need once I thought it over. My question was, why do I need a model for every controller? Maybe I don't need the functionality of a model for the controller I was gonna make.
Question still stands, but It's not urgent anymore
 
3:51 PM
@towc maybe later
 
@Mosho ok, ping me when you do
 
will do
 
4:51 PM
@twiz I'll experiment longer ultrasound links (we're speaking about a few KM at most) in a ghost city nearby where there are no dogs :) I finally managed to create a script to send "compressed" binary sequences on audio.. what remains is to filter out lower-frequency sounds. as of now I managed to send a "hello world" message to an endpoint 80m far in a semi-closed environment
Just heard one dog barking so far :P but the experiment was very short
*semi-closed and highly noisy from cars constantly passing (it's a main road)
 
@NickDugger a model is not a class, it's a layer
 
5:40 PM
@Zirak did you use tern.js? any feedback?
@Zirak or maybe you use js2-refactor?
 
I have a noob question: when naming methods/functions is there a common naming pattern? ex: getValue vs get_value
Or is it just personal choice?
 
oh wow... that goal
 
@mrzepka camelCase in js
 
@FlorianMargaine alright, I was just wondering because the book I'm going through has examples of both and in my experience Java is camelCase, while scripting (in my experience) uses underscores
 
6:01 PM
there should be overscore also like underscore
 
@mrzepka ugh. A book going through both sounds like a bad book.
 
uderscore is use for private methods mostly
 
{| class="wikitable" align="right" |- ! description || sample || Unicode || HTML |- ! overline(markup) |     || N/A | style="font-size:75%" |<span style="text-decoration:overline">   </span> |- ! rowspan="2" | overlinecharacters | ‾ || U+203E || &oline;&#8254; |- | ◌̅combining || U+0305 || &#773; |- !"macron"(ISO/Unicode) | ¯ || U+00AF || &macr;&#175; |} An overline, overscore, or overbar, is a typographical feature of a horizontal line drawn immediately above the text. In mathematical notation an overline has been used for a long t...
 
var template = {
    "a":0,
    "b":0,
    "c":0,
    "modified":false,
    "ohter":"",
    },
    example_1 = {
    "a":1,
    "b":10,
    "c":-5,
    },
    mix = {};

How do I create the mix = {} so that at the end it has all keys from template and all found values from example_1.
At the end of the function the mix should be :
mix = {
    "a":1,
    "b":10,
    "c":-5,
    "modified":false,
    "ohter":"",
    };
 
hello
 
6:16 PM
try it, @WalleCyril var array3 = template .concat(example_1);
hi short
var mix= template .concat(example_1);
 
can i use nodejs to store music and stream it like in soundcloud? is it better than server side languages like php?
 
You should look for a real media server
node will be nice but not as efficient as servers coded in c for the purpose :P
also streaming music is easy peasy. its just a file, okay with possibility to be played with an offset
 
@FlorianMargaine Looking over it again, it looks like what @web2students.com said about using underscores for private methods.
 
but is there any security concerns to be consider while streaming?
 
@KendallFrey ok
 
6:28 PM
@web2students.com concat is only for Array not for Object !
 
@mrzepka this practice is bad
I mean... it's kind of stupid
it's people trying to use java's class system in js
 
6:44 PM
I found a better way to do what I want, with factory pattern
 
@FlorianMargaine makes sense, camelcase seems more natural anyway
 
m59
7:06 PM
I'm about to flip my friggin' lid. I'm looking at two scripts with the exact same code, yet one is not working.
dohhhh
found it. Note to self: use a diff tool sooner.
 
Have a beautiful new week, friends!
 
7:23 PM
Whois.net really seems to think I should have a domain with 'crotch' in it.
 
@IonicãBizãu if I'm not missing something it's still saturday
 
3
Q: Any plans on making the `chat` platform into an opensource platform like discourse?

CawasThis is following Jeff's advice. I asked him: How about plans to making the current SEN chat into an opensource platform like Discourse? To which he quickly answered: Don't know, you would have to ask Stack Exchange about that. Post on meta.stackexchange.com I bet this is answered som...

Someone promote Miaou here
I'm on mobile
 
7:45 PM
@Loktar Game Dev Tycoon is addictive
:/
 
7:59 PM
@SomeKittensUx2666 I guess I'm not the right person to promote stuff
 
weird, it got upvoted
 
8:47 PM
Anyone here use Yeoman? Thoughts?
@Mosho heh, thanks.
 
wasn't me, actually
 
@Mosho yeah, it was me
 
@FlorianMargaine No
 
9:07 PM
o/
@SomeKittensUx2666 some people dislike asking for accept, the answer looks right to me
 
looks awesome
hey @copy
 
unonebox gifs plz
 
Morning
 
how do you do it?
 
edit and add a ` .` after the image
 
9:19 PM
too late to edit, sorry
you can move it to trash, right?
 
how do you move to other chats btw?
like, to the trash can
is it only for mods?
 
@Zirak omg, you should find out about github.com/magnars/js2-refactor.el But the best? discover.el and discover-js2-refactor.el
 
@FlorianMargaine Looking at the possible refactorings, I don't see anything very useful
 
9:35 PM
nothing useful there?
 
ghad, what a terrible website alexcican.com
 
lol, dat choppy animation
 
@KendallFrey are you kidding? I love his website
 
> I’m the cumulation of many skills and talents. I’m wisdom, creativity, and experience.
 
It's funny, since his other site has working parallax
 
9:43 PM
he should invest less time in boasting
 
@FlorianMargaine What do you find useful?
 
and more plucking his unibrow
 
@FlorianMargaine Why would anyone in their right mind use 28px point font for something that's not specifically designed for the vision-impaired?
 
@BenjaminGruenbaum \o Yeah, I guess so. I find asking for the accept increases the accept rate by a lot
 
:takes notes:
 
9:44 PM
@Zirak all the extract, the renames, the log this
 
His blog posts had me baffled because there was no content. Oh wait, he just put a huge nearly empty-page above the actual post.
 
@KendallFrey it's visually nice
 
And the half-obscured text at the bottom looks so broken
@FlorianMargaine Oh, it looks fancy enough, but the UX is terrible
 
hamburger menu... sigh
 
9:46 PM
open the site in chrome
send ie8 to the trash
 
What makes you think I'm using IE?
 
half-obscured text
there's nothing like that
 
in the menu, there's one slight change I'd make: separate more visually the sections
 
Or should I say, almost all the way
 
9:47 PM
oh
I didn't read the blog
yeah that's terrible UX
 
The blog front page is like jelly, you can't get a grasp on anything
 
wohoo unintended 3d spiral! codepen.io/Cicada3301/pen/mxoDg
 
10:59 PM
Wait, is the bot here?
!!live
We're in gallery and the bot is dead -_- @rlemon
room mode changed to Public: anyone may enter and talk
 
I've had that happen even when the bot was alive.
Not sure if bug or no
 
auto javascript for event.currenttarget is not showing up. what should be a possible solution
 
@andyPaul I will not buy this record, it is scratched.
 
@BenjaminGruenbaum meaninig? pls
 
@andyPaul my hovercraft is full of eels.
 
11:07 PM
@BenjaminGruenbaum hard to understand. anways i got it. thnks
 
@andyPaul I am no longer infected.
 
@Zirak your bot is malfunctioning again
 
For my next trick, I'm going to invent MangoDB, a web 2.0 scale DB
 
11:30 PM
@SomeKittensUx2666 then pongoDB
 
11:58 PM
@SomeKittensUx2666 just mmap things around. ez.
 

« first day (1344 days earlier)      last day (3619 days later) »