« first day (1092 days earlier)      last day (4078 days later) » 

15:00
@Zirak I find .map(x => x*x) a lot more readable than .map(function(x){ return x*x) , it's not just less to type, I think it shows intent more clearly and I like the notation better.
@BenjaminGruenbaum Don't you just love seeing Sturgeon's Law in action, with its good friend, "the lowest common denominator"...
wat? deprecating var?
A function is a mapping after all from a group to a group, I take an element x and map it to x*x
Did I miss something (I obviously did)?
@OctavianDamiean not deprecating, but moving towards let. let is just a more restrictive var in a sense.
15:01
Oh that.
LoL here it's work..

http://jsfiddle.net/#&togetherjs=AwSS90qDLh
@OctavianDamiean Not officially, but with the introduction of let and the advice "don't ever use var", it's practically deprecating.
@Zirak name one thing var does better?
@BenjaminGruenbaum Well, then we're in syntactical disagreement.
I don't quite get it, wouldn't let suffer from the same problem as with?
15:01
@BenjaminGruenbaum It's in the language.
@BenjaminGruenbaum , @OctavianDamiean , @Zirak , @Raynos wanna implement a STUN server in node.js ? which can mount itself on express.
@Zirak Use C# for a week then say that.
@AbhishekHingnikar no :P
@Zirak indeed
@AbhishekHingnikar no
@Zirak The main issue people have with var is re-declaration. Would I add var to the language? Probably not. Do I think adding it is ok? Probably.
15:02
@BenjaminGruenbaum aww comon !
@AbhishekHingnikar no
okay i guess thats a challenge for @Raynos ;-)
@BenjaminGruenbaum Then change the behaviour of var to error on re-declaration. God knows they're changing enough crap as it is.
@Zirak They should have done more in strict mode imo
I'm a little worried. There are really a lot of changes and not so small ones as well.
15:04
It's time for "use stricter";
@OctavianDamiean It's a mishmash of people who say "I like Ruby/Python/Java/Pascal/Haskell/YAML/AWK/Perl, can I have them in js, kthxbai"
So we get array comprehensions. Yay.
If you don't like the direction it's heading you're welcome to talk to these people.
"I like Lisp, and I find a bit of it in every other language."
I've talked with these people, they don't like me. I'm too conservative.
^ every lisper, ever
wow
Raynos has a lot of people wanting to recruit him
15:07
However I like the idea of them trying to formalize a standard every year.
@FlorianMargaine Of course he does, he's been shitting out libraries like crazy in the last couple of months. :D
heh, true
looks like he gave a talk at nodeconf?
he's one of the camp counselors
whatever that means
I don't know... I don't like to be too much in one technology only :|
I talked to him, he said he really liked nodeconf, I try to avoid these sort of conventions but he said it was very fun.
Let's see if I can find a video of that talk.
@BenjaminGruenbaum Why don't you like them?
15:13
Sorry I fail
Meant this youtube.com/…
@Zirak They're good for job offers, they seem like circle jerking otherwise. We can communicate and exchange information over the internet. The plus is meeting people in person and having a beer with them and I'd rather to do it with all my friends at a bar and not in a convention with a bunch of people I don't know.
Holy hell
Conventions sound good for networking, other than that..
How about meeting new people with a known shared interest?
@BenjaminGruenbaum it lets you meet new friends with shared interest
I mean, how did you meet your current friends if you never went out?
15:14
(horrible reason, I won't do that myself, but that's apparently motive for someone)
@FlorianMargaine He has no friends.
shared interest, right?
1 min ago, by Benjamin Gruenbaum
@Zirak They're good for job offers, they seem like circle jerking otherwise. We can communicate and exchange information over the internet. The plus is meeting people in person and having a beer with them and I'd rather to do it with all my friends at a bar and not in a convention with a bunch of people I don't know.
@Zirak If only there was a net capable of connecting people from a distance. Someone could write a virtual room, where people can join that "room" and join in and talk! Hmm... kind of like an internet where people can chat in chatrooms.
he said he did :(
Wonder why no one thought of that yet.
@BenjaminGruenbaum which is not the same as face-to-face talking. And you know it.
15:14
Yeah like that'd work
I'd have a beer with any of you guys, but traveling around the world hearing sales pitches sounds silly.
I planned to attend more conferences next year.
@FlorianMargaine Again, that really depends.
People would just post goat porn all day long.
I'm supposed to attend jsconf.eu this year
trip and conference paid by my company
15:15
So far I'll be in Vienna this December at a CouchDB Hackathon and in February I'll probably be in Brussels at the FOSDEM.
but nore sure it's going to happen :|
@FlorianMargaine Lucky
@FlorianMargaine I can ask for that, honestly I passed on more interesting things already.
Oh, damn!
Wait, I can't say that in a public chat :P
15:16
Also @BenjaminGruenbaum virtual conferences suck big time.
I think people are missing the horrible thing that he's announcing here youtube.com/…
Microsoft conferences are probably sales pitch mostly
confs like nodeconf are probably more interesting on a technical level
@FlorianMargaine They give you free stuff, a lot of it
15:16
The worst decision Canonical ever made was to cancel the face-2-face UDS events and introduce virtual UDS.
@BenjaminGruenbaum Look at that syntax, look at what it implies
@Zirak You mean to the type system?
It's sadder and sadder
The day I read that I actually cried a little.
You have to do non behavioral typing for value objects. I think value objects are worth it though.
15:17
@NickRubin 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.
I feel like they solve a real problem I've had quite a few times
oh no, it's dotjs, not jsconf
that I'm probably going to
@Zirak that bothered me too.
Lars Bak will give a talk
I'd love to meet all these people in person to have a beer with them, but I don't think I'll be a better programmer for it.
I might get more interesting job offers but I'm really not looking.
Wherever you live, is it common to cold call developers and offer them a job?
15:19
@FlorianMargaine Mhmm, with some luck I'll be going there as well.
@BenjaminGruenbaum you can have really interesting programming discussions though
@OctavianDamiean Now The Zirak is sad.
@BenjaminGruenbaum yeah
@BenjaminGruenbaum well, "cold call" is if they found your resume somewhere on the net
@FlorianMargaine Yeah, but I do that every day anyway. With my co-workers, and with you guys.
like on linkedin or stuff like that
15:20
@FlorianMargaine That makes me sad :P I get a lot of calls and messages on facebook and on email. I really dislike that.
@Zirak Maybe I'm too conservative, who knows.
They waste my time, especially ones that are not developers.
@BenjaminGruenbaum different people, especially the speakers, usually have different views and knowledges. I'm sure having a talk with Lars Bak is different than with us :)
@BenjaminGruenbaum well I'm currently pseudo-looking for a job, so it doesn't bother me
@FlorianMargaine Yeah, but I can talk with v8 guys whenever I want anyway. People who like their job generally like talking about it too.
@FlorianMargaine If someone wants to discuss something you're passionate about and they go the extra mile to reach you - chances are you'll talk to them, I know I will.
Maybe you're right because I can remember that I didn't enjoy talking about my last job, so if I apply reverse logic it might be true.
15:22
I have in my happy flash days quite often.
@BenjaminGruenbaum yeah but face-to-face talking is quite different
happy flash days? then you went Microsoft? Dude, you're the stereotype of anti-open source :D
@FlorianMargaine I was never an open source guy. I was always for the most convenient solution.
@OctavianDamiean Don't just think about work-work, think about projects you did on your free time.
I like the controversy in that statement happy flash days
15:24
I use C# over Java because C# is a better language and .NET is a better ecosystem. That's the only reason.
But you're also not an extroverted person, so...
@OctavianDamiean I liked flash.
Anwyay, going to see The Butler.
I just love K in vim
what would be the point of new (static.Server)(); rather than new static.Server();
15:25
@Zirak Enjoy!
@bushdiver no point really. Different syntax, same semantics.
In the same static.Server is an expression, in the second it's not. Really shouldn't bother you.
i see, thanks =D
hey friends
how can i give target blank on the specific a href tag in my navigation ?
with jQuery
maybe setAttribute
15:40
!!tell Dave-88 google jquery target blank on href
@Dave-88 not setattribute, .attr jsfiddle.net/GNLLc/1
thx for the help
but i will to solve otherwise here my question
0
Q: how can i give a target blank on the specific href tag in my navigation jQuery

Dave-88i will to give a specific outside link in my navigation with target blank. How can i solve this with jQuery ? Here my Site: http://devel.hoevermann-gruppe.de/ If you klick auf "Kontakt" in the head navigation you see the sub a href and if you click on Facebook so the outside started in the sa...

@OctavianDamiean you know what would be a HUGE help
if the images were organized :P
@rlemon by?
15:50
well really I just need all of the seperate block pngs
like these ones
then you will be able to view on a toolbar what you are laying
if you could try to organize those items out (I have to run to the grocery store) that would be a huge help
then I can make a spritesheet of them
ohh and just you wait to see the 'features' i will add
Oh yea @AbhishekHingnikar is there going to be a mini Abhishek soon or not?
like procedural 'world' builder.
so if you don't want to start with just a flat world.
@OctavianDamiean there will
15:53
Welp, congrats.
we deciding to go for abortion -_-
shes too young :P
Oh.
How old is she?
20 and shes in medical college ... too much stress on her so No
Meh
@AbhishekHingnikar Yea the education part I understand.
:-)
and since its ~3months ... its an Aww so close
+ shes anemic
15:55
Oh damn!
Heh @rlemon I'm wondering if anyone has ever tried to defeat all three hardmode bosses at once.
Like the destroyed, the twins and skeletron prime. :D
I haz a question
How does this sounds as an api :-|
user.privateMessage("Hello World");  // sends a message through socket.io
user.call(); // Makes a phone call using p2p api
Heck I'm going to try it, If I win I'll be like uber bauce
or will that be confusing ?
cause i am using 2 different transports for two different services, but abstracting them ?
@AbhishekHingnikar why not user.message
is your api based on webrtc? public?
Its based on mutiple things
webRTC / socket.io (since messages need to be stored)
and yes it is going to be public :P
16:04
id like to fiddle with it when you go public - im working on webrtc / socket.io project right now
i don't like any of the frameworks right now, so im just using standard webrtc
Socket.io is amazing
webrtc sucks ass atm imho
no stun server that you can hook with express :-/
and i DONT wanna host 2 servers
or even bind 2 ports
$ make
clang -std=c99 -Wall -c src/main.c -o obj/main.o
src/main.c:34:35: error: expected expression
            if (full_bytes_read === PNG_HEADERS_SIZE)
                                  ^
1 diagnostic generated.
make: *** [obj/main.o] Error 1
heh...
lol
I get that in C# a lot
Oh well, guess who doesn't. :D
ok
$ make
cc    -c -o src/png-reader.o src/png-reader.c
In file included from src/png-reader.c:1:
src/png-reader.h:6: error: expected ‘)’ before ‘headers’
src/png-reader.c:4: error: expected ‘)’ before ‘headers’
make: *** [src/png-reader.o] Error 1
16:19
How to get previous URL?
document.referrer
Thanks
But it is actual... I want url like when I use back() or something like this :D
@BenjaminGruenbaum github.com/wprl/baucis
so friggin awesome
^ Node in VM in the browser
nice
when will we see the code? :P
16:31
When it's done
@hjgraca 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.
posted on October 12, 2013

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) {} Doing an emergency server swap, I'm afraid. We hope there will be a

How to set location of dialog?
you ask it nicely
16:37
Oh hello @Reno!
Sup bro?
sup
Not much, doing stuff.
I just dropped by to check if anyone got my bad joke
11 hours ago, by Reno
user image
It's so bad it is good
It's so bad I'm not even sure I get it
I had to sing the song
16:40
Thanks you everybody for answer :)
@Reno historically D has been a preference
@copy hah :) How does it perform?
@Reno I don't get it. Mind ruining the joke by explaining it?
He went down in History
Yes
16:47
Guys how to set position for dialog in jQuery please?
!!google jquery dialog position
I just say "Thank"
@OctavianDamiean no, but that would be fun
I accidentally summoned the destroyer and skeleton prime at once. but that wasn't too bad
@Reno or drop the 'you'
;)
16:55
@BenjaminGruenbaum Node is pretty bad, running that snippet took about 1 minute
@copy Hmm, what about vim, does it run smoothly?
Yeah, most other things (including lua and md5sum) run pretty good
Probably because they don't need a lot of io?
(does node do stuff with I/O when starting? I don't remember really)
I don't know, could be warmup or something
Not sure what you mean by IO? Files?
Maybe it attempts to sniff around the network configuration of the server it's running in before attempting to do anything else?
17:01
@BenjaminGruenbaum I'd like to get your impressions of this: github.com/SomeKittens/feature-flags
the biggest problem I have with node so far is file paths, things are always pointing incorrectly between application/dependancies/modules and I have to change things - anyone have this issue ever or am i doing something wrong?
@bushdiver typically, the file path is where you ran node app.js
not the location of the file
@SomeKittens why is that? "You'll need MongoDB on your localhost"
2
A: My node.js server doesn't work when launched from another directory

SomeKittensWhen you run node, it references all filesystem calls from the directory node was called from, instead of the directory that app.js is in, so if you're trying to require('./myfile'), myfile.js will need to be in the directory you're running node in. Run this simple script from different director...

interesting though.
17:03
@BenjaminGruenbaum I used to run everything through mongo bud decided I'm an idiot
currently it only backs up everything to mongo (though I might remove that too)
@BenjaminGruenbaum That's a possible cause, but I don't think nodejs is internet-centric like that
I may allow the user to point it to a mongo install and have it load the rules from there instead of app
Today was such a strange day
seems like it should be that way.. but heres 1 example: I start app at node Documents/GitHub/Webrtc/server.js which listens on port 2013, i should then be able to access the index file at : localhost:2013 but I have to go to localhost:2013/Documents/GitHub/Webrtc/step7/index.html
I don't get why 2013 would be listening relative to my User folder
Oh, in terms of accessing static files
17:07
and then socket.io is failing because its searching relative to user: localhost:2013/socket.io/1/?t=1381597078922
Are you using Express?
no
I can though
It might be a good idea, it simplifies everything like static assets
Helps lower the learning curve
I'll try that now, I did want to try it out anyway
@Reno did the animals tell you all sorts of stories?
17:10
@Loktar how was ur experience with mean.io c/c benji
@OctavianDamiean I can get you a list of the createTile: N (where N is the Tiles_N.png file for the tiledata) files used.
can you pull the images off that?
Well, as long as I have a list of tile IDs I can do pretty much everything.
well it isn't the id of the files I need, but it should allow you to find the entry in the list.
I hope that is enough
I'll match the tile ID to the item ID and then extract the images I need.
"577": {
    "id": 577,
    "name ": "Demonite Brick",
    "useStyle ": 1,
    "useTurn ": true,
    "useAnimation ": 15,
    "useTime ": 10,
    "autoReuse ": true,
    "maxStack ": 999,
    "consumable ": true,
    "createTile ": 140,
    "width ": 12,
    "height ": 12
},
so here, I would provide 140.
17:18
Exactly.
wait
something fucked up there
You mean the order?
nope
don't care about that
updated
was a rogue tiles.txt in there
actually, yea. order them please
wait, nvm. that is stupid
can you rename them based on the ID I provided?
17:24
@bushdiver Incredibly useful tool
@rlemon I'll do it like this, I'll map every tile ID to the item ID, with that ID find the file, then rename the file using the item name.
well the spritemap making program I use uses the file names to create the class for the css
so just make sure the names are sensible. and keep in mind the tiledata name identifiers.
check out the new file @OctavianDamiean
@rlemon the names are going to be smallcaps and whitespace will be underline.
ok so exactly how I did it:P
17:33
Yea like that.
hi people!
Great just great!
Fuck it, now I'm pissed.
Why?
Goddamn computer locked up before I could save that fucking wireframe!
17:41
Which one?
have you got any back ups?
Maybe a JSFiddle?
No, an actual wireframe.
An UI mockup.
Oh.
"Absolute Positioning
An absolute position element is positioned relative to the first parent element that has a position other than static. If no such element is found, the containing block is <html>:"

How do i edit a div so that i can position things inside the div without messing stuff up?
@deep That makes no sense.
Mess what up?
http://m.deepschool.kd.io/Pages/Mobi/index.html

each one of those is an option, image and heading.
i wan tit to look similar to this.
@rlemon I'm a lil pissed.
17:50
@deep Well firstly you set position: relative; on .menuoption so that it is the containing parent...
ok...
im still haveing trouble with node folders.. have read this npmjs.org/doc/files/npm-folders.html multiple time and i still dont get it. I think node setup just sucks on windows
Then you position the image absolute like img{ position: absolute; left: 0; } and maybe adding some padding-left: 30px; on the .menuoption
ah...
17:53
Add the padding so that it pushes the text left so the image is not overlapping the text, so the padding should be the width of the image plus a few extra px
@bushdiver I've never had a problem with it on windows, what are you doing? installing?
@OctavianDamiean lemonmeme.com/Terraria%20Designer/index2.html does this make you feel any better?

« first day (1092 days earlier)      last day (4078 days later) »