last day (152 days later) » 

12:30 PM
room topic changed to EcmaScript: Where hobby programmers/chat regulars chill. [chat] [ecmascript] [javascript] [programming] [promise] [rlemon] [zirak]
room topic changed to EcmaScript: Currently we are invite only. Where hobby programmers/chat regulars chill. [chat] [ecmascript] [javascript] [programming] [promise] [rlemon] [zirak]
 
 
Welcome to the reg room. This is an experiment. Feel free to invite people in, kick people out as much as you want.
7
Hello
Oh hi @dystroy :D
 
This may be a good idea. Might get too silent here, though
Worth a shot, I guess
 
@SomeGuy this is an experiment, it might work or not - let's give it a week
 
@BenjaminGruenbaum Hi. What about keeping programming as main focus in this room ?
 
12:43 PM
It should be a focus of the room but I'm not sure if I'd make it the "main focus"
We all know eachother here, I think friendly chat is OK
 
Aren't long digressions in the other room the reason we don't have you more, or petka anymore at all ?
 
I still come, I'm just super busy coding 15 hour days
 
ok... how do I give access ?
 
From the 'info'
 
Ahoy hoy
 
12:44 PM
I don't mind the discussion at all, I mind the spam/ranting bits and the arguments. We're all civil
 
Woah, so many requests to join this room
 
Feel free to give access to anyone, but the idea is not to make this JS#2, the idea is to have a room that is only for regs we know
For example, in my opinion @C5H8NNaO4 is ok, but the others are up for your discretion imo
So, why is this #1 at HN? gwendall.github.io/way It doesn't look too revolutionary
 
@BenjaminGruenbaum Good call. Gents, I have a major head ache. I'll see you all tomorrow if my firmware survives the night.
 
@BenjaminGruenbaum pretty demo... that's why...
 
@dystroy looks like Knockout
 
12:48 PM
looks like many things, maybe it's good under the hood, I don't want to dive into it
 
So what are you up to these days anyway?
 
Me, I'm just finishing a 4 days work week in the middle of my holidays, so being a lot with my family. And when I have some time I try to make miaou better and I try not to be too desperate about the low adoption
Your startup ? Is it fine ?
And I realized my current job is getting better and better so I don't look for a new job anymore
Florian isn't among the owners here ?
 
1:05 PM
@dystroy that sounds pretty sweet :)
@dystroy oh, that might have been a mistake, invite him
 
Whoops
@dystroy quite good actually.
 
1:16 PM
What about you @SomeGuy ?
 
I'm super busy these days
 
College
9-5 on most days, plus an hour of commuting, and then homework / studying once I'm home
 
Oh, I didn't know you were in college
CS?
 
Just started my undergrad
IT
 
1:18 PM
@SomeGuy no CS?
 
We don't have an IT degree here, only "CS" and "Computer Engineering"
I really enjoyed my first year of university
 
Yeah, that's how it should be, but the Indian education system separate CS and IT
CS has almost equal parts hardware and software
 
Oh, what's the difference?
 
IT has mostly software after the first year
 
Oh, here there isn't the tiniest bit of hardware in CS
 
1:19 PM
IT grads here usually end up working with server administration
 
That's what I wanted too, so I went with IT
 
Also, is it a good college or is it like @AbhishekHingnikar 's ollege?
@SomeGuy server administration?
 
@PatsyIssa I was worried about that, but it looks like our IT curriculum resembles a CS curriculum in most systems in other countries
 
In a way IT over here is regarded as those that couldn't cut it in CS
 
1:20 PM
@FlorianMargaine o/ what's up?
 
@BenjaminGruenbaum No, being more towards tech support than being a programmer
 
@BenjaminGruenbaum not much, rushing at work
 
@SomeGuy you want to do tech support?
 
got a deadline
 
Me too :/ Learning a new language and all
 
1:21 PM
@BenjaminGruenbaum No, I was worried about that happening because it's "IT"
@PatsyIssa Yep, people's views are similar in India, but the qualifications required aren't like that
 
@SomeGuy ah, cool.
!!afk be back in 20 minutes
 
@SomeGuy as long as you end up doing something you enjoy degrees are just a fallback
Hell my degree had nothing to do with programming :P
 
Yeah, I hope that works. I know for a fact that it doesn't work that way in India for jobs
 
I can't see myself getting a degree in anything programming-related
 
@BenjaminGruenbaum Better! It is still an Indian college, but it's definitely better than the tales he's told us
 
1:25 PM
@SomeGuy BenjaminGruenbaum is afk: be back in 20 minutes
 
@KendallFrey Why not?
 
@KendallFrey go for a business degree, you already have the technical know-how
Being able to manage and code is a good combination of skills
If I ever do end up going for a master's degree it won't be programming related
 
I don't want to be a businessman
If I get a degree it will probably be math or physics
 
Yeah, I kind of thought about a Math degree too
I don't think I'd have it in me to pull through, though
 
1:32 PM
should have been closed before
 
Needs 1 more
 
Closed
 
I wanted to be the one to close it!
Hmph
 
Dang sry for that :P You'll get the next one :)
 
Sorry, we've had a "Happy half hour" which means "beers and free cool food and mingling in the office"
We have that about once a week
@SomeGuy good to know :)
 
1:48 PM
It's always surprising to see that developers can have no idea of timezone problems...
> I always get the wrong date when i use var date = new Date(timestring), there is always +2 GMT hours!!!
 
:D Yeah, it's actually quite a complicated problem
 
Yep, MomentJS seems like it may be worth it
 
BTW I just learnt that date parsing will be changed in ES6 : instead of silently parsing an ISO string as UTC, new Date will silently parse them as local... funny incompatibilities ahead...
 
Wait what? Where did you read that?
 
1:51 PM
Woah
 
Wow
This seems like a bad change to me
They avoid breaking things so much, and then they make such a drastic one?
> If the time zone offset is absent, the date-time is interpreted as a local time.
 
I don't think such a change can actually be made
 
It looks more coherent as you shouldn't have a different timezone when you have a specific format or not, this format might be dependent of a user config... But this will break things...
I saw that while answering this question :
0
Q: Javascript string to time always with gmt + 2 hours

user2964559I dont understand what i should do!!! I always get the wrong date when i use var date = new Date(timestring), there is always +2 GMT hours!!! var unsortedPlayTimes = [{date:'2014-08-11T09:30:00'}, {date:'2014-08-11T08:30:00'}, ...

 
haha
> I dont understand what i should do!!!
 
@BenjaminGruenbaum I'm not sure they should...
 
1:53 PM
Awesome first line
 
I'm not sure the hack I give with the replace is the best solution ^^
 
I upvoted it, it seems like OP's only option pretty much.
 
Why is the : breaking this regex ?
0
Q: Java repllaceAll Illegal repetition

hurricaneI have a big json which i get String type. I want to change some part of the String and i get this error. My code : String example = "\"date\":{\"nil\":\"true\"}"; example.replaceAll( "\"date\":{\"nil\":\"true\"}", "\"date\":\"2014-08-14T10:00:00.000+02:00\""); Error : Exception in t...

 
@dystroy look at the edit :P
 
@dystroy It's the { that breaks it
It's pointing to the : because that's what it's repeating
 
2:07 PM
ok... I'm stupid...
 
It was edited
 
I shouldn't look too much at exception messages in java
This is valid in JS : /"date":{"nil":"true"}/
 
I think so
don't see why it wouldn't be
 
But this raises an exception in java :
Pattern.compile("\"date\":{\"nil\":\"true\"}");
 
2:14 PM
Is this a new room?
Hai :3
 
@dystroy not enough \
 
@SterlingArcher yes, I kind of got tired from the constant argumentation in JS
 
user1596138
Since I am a room owner here I'm assuming I was invited :)
 
@BenjaminGruenbaum thank. fucking. god.
 
@FlorianMargaine why ? Where ?
 
2:15 PM
@dystroy j/k.
haven't done enough java
 
Yeah, you can invite regs from the JS room and other chat rooms
 
not any reg
 
user1596138
@SomeGuy Moment is awesome. What are you doing? (don't have time to scroll through transcript)
 
Can I invite zigi pls?
 
I don't consider the negative people "regs" to be fair
So how have you been @Jhawins ?
Still working for the same place?
 
user1596138
2:16 PM
@SterlingArcher Lets not even mention the problems we just eliminated here ;)
 
So, I first joined this one forum in 2008, and was always an asshat, but now that I'm older, I've grown pretty close with the owners, and one of the guys just got hired by EA for short contract period, and Ubisoft for full-time afterwards. I'm pretty jealous
 
Hehehe
 
@Jhawins moment is cool but most often, in a real application, you realize you could avoid loading it without cluttering your code... that's what I did in Miaou because moment.js is huge
 
Isn't moment.js like 2KB?
 
user1596138
@BenjaminGruenbaum Pretty good. There's just no housing around here worth half a dick. Working at the same place, just finished all the backend services for their app. Once I deploy that I'm pretty sure I'm about done.
 
2:17 PM
@NickDugger I imagine we haven't heard of the forum
 
@BenjaminGruenbaum more like 10k minified
 
user1596138
But am doing an app phonegap style... jQuery mobile. So I did skimp in the end. Although I have my reasons
 
@dystroy and after gzip?
 
@Cereal You haven't, but that doesn't make me a hipster!
 
(ok "huge" is a little too much)
 
2:18 PM
@Jhawins jQuery mobile :/?
 
@BenjaminGruenbaum can't remember, but the miaou tool chain logs the gzipped size and removing moment.js made a notable difference
 
oh ok, cool.
 
(less than removing snapsvg but still)
 
user1596138
@BenjaminGruenbaum Have you seen it? It's actually pretty impressive. Cross-platform was the thing. I'm a little impressed by it
 
Does anyone have a large photo of @Cereal ?
 
2:19 PM
@dystroy Does it require jQuery?
 
user1596138
^ I repeated myself. Need coffee
 
@Jhawins I heard nothing but bad things about jQuery mobile.. also about phonegap
 
@NickDugger ಠ_ಠ
 
@dystroy Could it probably be that { is seen as repetition in the regex? // Does [{] work?
 
@BenjaminGruenbaum miaou requires jQuery. Removing it would save space but change a lot of things in the code
@C5H8NNaO4 what I wonder why is why it's different in java and js on that specific detail
 
user1596138
2:20 PM
@BenjaminGruenbaum Eh. This app the main focus is the push notifications. The rest of it is basically just presenting calendar events and showcasing individual venues/artists. There's just no point in doing it native.
 
@Jhawins With Moment? Nothing
 
@Jhawins I also heard only bad things on jquery mobile and my tests made me qualify it as ridiculously buggy and useless
 
user1596138
The most complicated thing it will ever do is loop through a JSON response and output the text in the right places..
 
@Jhawins I just really dislike how mobile apps get 'stuck' when coded in JS
 
@Jhawins Doing notifications with phonegap ? Does that work well ? (asking for miaou as it's something I plan to do)
 
user1596138
2:21 PM
Well dammit. I don't want to do everything twice.
 
user1596138
@dystroy Specifically Appery.
 
@BenjaminGruenbaum What do you mean?
 
user1596138
Check them out. They have some nice services, the docs are worthless though.
 
Like lag?
Oh, when they take that extra second to switch between pages?
 
user1596138
I didn't use any of their backend services though I setup a REST api of my own
 
2:23 PM
@SomeGuy the GC is killing performance, they get jittery
 
user1596138
Yaaaayyyyyy bosses wife just insisted I let her make me breakfast :)
 
in JavaScript, Feb 19 '13 at 16:12, by John Resig
bad uses of JavaScript existed long before jQuery ever came out - jQuery being popular doesn't stop bad devs from existing, the only thing that stops bad devs is good education, which is why I've written two books and am working at Khan Academy
^ My response to all jQuery rants
@Jhawins sounds kind of... inappropriate?
 
user1596138
Nah she's making him breakfast too
 
user1596138
She's like a second gramma to me lol
 
Careful, swingers are tricky devils bro
3
 
2:25 PM
^
 
@Jhawins you mean a third?
 
!(s && !o) is !s || o, right?
 
user1596138
@FlorianMargaine No, I never met a single person on my dad's side of the family :P
 
@SterlingArcher Yeah we are
2
I mean... what?
 
@Cereal I don't think so, it looks like && not || to me
For that condition to pass, s must be falsy and o must be truthy
@RyanKinal LOL
 
2:27 PM
@Cereal yes, that's de'morgan's rule
 
user1596138
@BenjaminGruenbaum for the record I didn't mean to say phonegap is good... Or jquery mobile. Just that I'm impressed by how seamlessly it works out on all platforms so far
 
(A || B) <=> (!A && !B)
 
@BenjaminGruenbaum @KendallFrey @Zirak You guys might like this gametheory.stackexchange.com
 
@Jhawins that's ok, I like wordpress :P
> Warning: this site is currently in private beta for at least 5 more days.
 
user1596138
But yes, cordova|phonegap shit was kind of annoying. The page navigation is terrible so I rewrote that and started using localStorage to keep track of where you are and not get stuck/have back buttons actually work.
 
2:28 PM
@BenjaminGruenbaum Oh, whoops, didn't realize you couldn't even see it
 
user1596138
In the right use case... It's good enough.
 
Good enough is all I need
 
Yeah, good enough is alright
 
user1596138
Usually I would go on a rant about the pursuit of perfection...
 
2:29 PM
@BenjaminGruenbaum I knew I paid 800 dollars for that logic course for a reason
 
user1596138
But I've been here over 2 years now. Good enough is enough and I want to move on with my life
 
@Cereal Hahaha
 
@RyanKinal oh snap! Look at that jealous couple behind you!
That guy is like "Damn, I wish I had hair like that"
 
@RyanKinal how went that 1st date?
 
@RyanKinal who's that?
 
2:30 PM
@SterlingArcher Well, to be fair, anybody would be jealous of that girl's legs.
@BenjaminGruenbaum Me :-)
 
mmmm peanut butter and crackers take me aeayyyyy
 
@RyanKinal you I know, I meant the girl
:P
 
@RyanKinal very fair statement. She pretty from the back-side. Well done sir!
 
@FlorianMargaine Good! Casual, fun. Kissed her goodnight.
 
yay! That means a 2nd date's coming then.
 
2:31 PM
@BenjaminGruenbaum Sounds terrible, but I don't remember her name
 
Kissed her with your...?
 
@SterlingArcher lol, no
 
@RyanKinal fair enough, doesn't sound terrible at all :)
 
@SterlingArcher mouth?
 
2:31 PM
@FlorianMargaine Yep! Though, not for a while... I'm busy this weekend, and I leave for California Sunday.
 
@RyanKinal Haha, really?
 
Glad you had fun!
@FlorianMargaine not my mouth :D
 
user1596138
@BenjaminGruenbaum and what about yourself? How's it been. What is your job anyway?
 
Sorry, I'm all hyped up on coffee. lol
 
@RyanKinal oh too bad
 
2:32 PM
@SomeGuy Yeah... I've danced with so many women over 12 years.
 
harass her with texts though, or she'll think you forgot about her. Send her ~150 texts a day with slicktext, it should be fine.
 
@FlorianMargaine lol, that would be hilarious.
 
Hahaha, it's amazing that you could actually do that
 
I wish I was good at dancing. My coordination with my feet isn't too good D:
 
@Jhawins I work at TipRanks (tipranks.com) Workin hard, got a new mac, learning Swift
 
2:34 PM
I can't dance for shit
 
user1596138
@RyanKinal slickText needs an "overly attached girlfriend" package for this
 
@BenjaminGruenbaum It's still in its infancy, isn't it?
 
@FlorianMargaine he should teach her JavaScript through SMS
 
It seemed okay to me, but I haven't given it a fair try yet
 
@SomeGuy he already makes millions
 
user1596138
2:34 PM
@BenjaminGruenbaum Oh, someone must've linked that the other day
 
@SomeGuy yes, very much so, lots of compiler bugs, very interesting community, nice people
@Jhawins Mosho is coming to work for us in two weeks
 
@SomeGuy oh, swift.
 
Speaking of bugs... our course creation software just broke
!!afk stupid fucking application
 
@FlorianMargaine oh didn't you know I'm a baby?
 
@FlorianMargaine Yeah. I know SlickText's been around for quite a while
 
Just realized you thought I was talking about TipRanks, not SlickText
 
This is me yesterday.
 
I didn't know monkeys had tails
2
Wait, yes I did
=_=
 
maybe that's not the tail
 
That would be one weird ass penis
 
2:40 PM
lol
 
!!s/ass /ass-/
 
@KendallFrey No matching message (are you sure we're in the right room?)
 
yep
fuck you cap
 
@KendallFrey That works in the JS room only
(Since it uses the DOM)
 
2:41 PM
That's a pretty compelling reason to give up on this room, though. What are we going to do without !!s
 
@SomeGuy I know, I know, fuck her anyway
 
---removes--- pretends to remove Cereal's write access
 
Heathen
I just looked up the definition for heathen. It means someone who doesn't hold the popular religion. That's not what I thought it meant at all.
 
I thought it was spelled hethen this whole time
oops
 
---striked text--- can't be at the start of some italics ? edit : you can. What's the matter with @SomeGuy ? edit-bis : yes, that's it
 
2:43 PM
That's what I was wondering
 
@Cereal hey thanks :(
 
Weird. ---Probably--- because it was at the beginning of the italics?
Yep
 
brb, testing on miaou - yeah, works
 
user1596138
@BenjaminGruenbaum Really? Aren't you in Israel and he's in Canada?
 
2:45 PM
@Jhawins yeah, he's coming over
 
user1596138
Sorry, was busy eating this awesome food :P
 
"awesome"
 
user1596138
Damn that's cool!
 
@dystroy Which markdown parser are you using?
 
@SomeGuy Ahem
 
2:46 PM
Your own? :p
 
"cool!"
!!slidepoop
 
in JavaScript, 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.)
 
Do I look like I prefer to look for libs when it's more fun and faster to simply make one ?
 
I feel compelled to star slidepoop every time
 
2:47 PM
@BenjaminGruenbaum who's "Mosho" ?
 
@GNi33 A regular from the JS room
He used to be regular anyway
 
what? Am I crazy?
 
The doge guy!
 
ooooh, the doge guy, alright
 
2:48 PM
Yay! Easy fix! Folder permissions got changed...
 
"The Doge guy" :D
 
no doge here, that's a rule, right ?
 
!!doge doge,rule,wat
 
           wow
               so doge
                            many rule
such wat
 
yeah, when reading "Doge guy" it suddenly clicked
probably never read his username :D
 
2:49 PM
Haha, knew you'd recognize his display picture
 
lol
 
I'm determined to beat Slender during lunch
Must unlock different modes
 
O.O
 
I always wondered if you worked, or just played slender all day
 
A bit of both
 
2:54 PM
@Cereal
 
I think I'm in too many chat rooms... JS, Ecma, HTML, music.SE, beer.SE...
Not that the last two are very active
 
I have trouble multi-chatting.
 
@NickDugger God, it's beautiful
 
Always end up ignoring one of the chats by accident
 
Yeah, me too
 
2:56 PM
@Cereal It's because you're a hipster
 
Or I get confused, and post to the wrong one
 
that too
Ihave 3 chats open, 2 stack, 1 game
Ignoring all but this right now lol
 
@SterlingArcher Yeah
What I hate about multiple chat rooms is keeping the tabs open
(I don't like switching by loading the other room's page, because slow internet sucks)
 
yeah, since all the stack chats have the same favicon I can never remember which is which
 
I have an order
Ctrl+3 goes to the JS room
Ctrl+4 goes to this one (now)
 

  last day (152 days later) »