« first day (1389 days earlier)      last day (3562 days later) » 

1:00 PM
unusual is a relative term.. its because i never knew that you has a wide variety of tastes
 
@rlemon Unusual in the sense that it's morning and you're almost entirely sober
 
little hung over
 
Types of programmers:
http://arttechz.com/types-of-programmers/
 
Well I feel like shit. Might have to take tomorrow off and break my three month streak of no sick days
 
if I had to label myself, The Code Cowboy
 
1:04 PM
Hahaha I am the martyr
I stay at work until 3A.M. sometimes on Sunday evening
 
I'm somewhere between cowboy and mediocre man
 
@zigi wow, for the first 6 types, at least one (former) colleague comes to mind for each
 
http://d3dsacqprgcsqh.cloudfront.net/photo/aoZEV6w_460sa_v1.gif
.
haha
 
there should also be the "Help Vampire" on there. "asks questions on StackOverflow then browses reddit until the email indicates there is an answer. if there is no answer by lunch just post again"
 
1:05 PM
@zigi don't forget to unonebox
 
ahahahaha :D
 
#7... check
jesus, this list is pretty accurate to be honest :D
 
@rlemon Are those people actually doing development work, though? Surely somebody should notice them not doing any work
 
@JanDvorak how do you unonebox
 
edit
 
1:06 PM
@Kippie people outsource their own jobs and play facebook games all day
 
yes I did by puttin a dot on the next line
@rlemon yes
 
But... Why would you play facebook games all day? Why not go all the way and play Dota 2 instead?
 
XPath??
 
XPath.
 
haha, so I'd be "The Evangelist" to a very small part
 
1:07 PM
YPath
 
@Kippie isn't that shareware?
 
@rlemon Isn't that the Googler minus the Google?
Sigh I'm the Evangelist...
 
How is that a bad thing?
Oh, nm, mixed it up with theoretician
 
and the ZPath
 
guys, I know this is JS chat
 
1:11 PM
Correct
 
"You fire up the source control system and see that at 4 AM, The Ninja checked in code that addresses the problem you planned to spend all week working on, and you did not even know that The Ninja was aware of the project!" LOL
 
Although I did complete a template on Monday that was supposed to take me all week
 
but I was wondering, how do you make your mapping on the back-end from DB rows -> REST I/O to be most effective?
 
@monners I used to do that in my old job.
 
and not expose the DB columns names
 
1:12 PM
do all of my weeks work on monday and just piss around until friday
 
@rlemon I just bug my PM (who's awesome) until he lets me play with shiny new stuff
About half of the PMs at my place have degrees in computer science
 
I was in a larger corporate deal. they knew I had no work but it wasn't anyones job to find me more
so I was told to work slower
 
@monners u need a paratrooper
 
@blackbee I've got plenty of Fanboys
 
Work slower, enjoy the occasional youtube video, take an hour and a half lunch.
 
1:13 PM
:D
 
I use my lunch hour to read TDWTF and SmashingMagazine
 
@monners dude, my girlfriend keeps insisting that I should buy a house in Melbourne, got any tips for me? ;)
 
now i'm the only in office dev
 
@GNi33 Ummm, start saving
 
so I find my own work
 
1:14 PM
I'm only supposed to have a half-hour lunch, but I usually go out to lunch with my boss, and we take an hour.
 
never a dull moment
 
@GNi33 Seriously though, you're thinking of moving to Aus? That's awesome! Melbourne is like the San Fran of Australia.
 
i need a quick tour into REST not from wikipedia
 
Not in the next years
 
@monners Lots of gays there?
 
1:16 PM
There's a lot of gays on earth
 
But it somehow is on my wishlist for something around 32+
 
@Kippie We're everywhere. You can't escape!
 
how does someone bcom gay?
 
I don't really know what else SF is famous for
Maybe google? Or Full House?
 
I hear they have a pretty big bridge
 
1:17 PM
So guys, once more, what is the best way to make a mapping between models (db rows) and output for REST
 
ridiculous rental prices?
 
@blackbee Well, you see, when a man loves another man...
 
@GNi33 See: Google
 
Yeah, Melbourne's expensive
 
when I think SF I think of Tech and Wine
 
1:18 PM
but why do they have to be so physical about it? i like my friends, does that imply i am gay
 
@monners my dream destination would be Byron Bay
 
when I think of Australia I think NOPE!!
 
@blackbee You're the gayest
 
Totes gay
 
thats not remotely true
 
1:18 PM
but I guess I'll need to be at least near a city because of work
 
look at that display pic. he is one happy indevidual.
 
Why NOPE!!? All the dropbears want to do is give you a hug
 
@GNi33 Awesome area.
 
ii never meet a dropbear
 
Then you've obviously never been to australia. Those fuckers are everywhere
 
1:19 PM
They make the scariest fuckin' sounds
 
!!youtube big gay al i am super
 
!!youtube the killers when you were young
 
!!youtube autotune i love cats
 
1:20 PM
 
Why must you always 1-up me, @rlemon
 
chiii
There will never be a W3C recommendataion for REST ??
 
so can anyone give me a reasonable answer?
 
Fun fact: having a cat sleep on your modem trebles download speeds
 
@NickDugger because it is easy
 
1:25 PM
!!welcome zigi
wait, that's not how it works.
 
hi Kip
please?
 
you're easy.
 
@zigi 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.
 
!!welcome kip
 
@kip 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.
 
1:26 PM
> if anyone's free and interested they'll help
 
!!punch zigi
 
@blackbee That didn't make much sense. Use the !!/help command to learn more.
 
That's not the case, so stop asking
 
o/
 
!!urban shebang
 
1:28 PM
@blackbee shebang something in its entirety
 
Well, there's another for the ol' ignore list...
 
:deletes 1100 lines of code:
 
it's a good day when you delete more lines than you write
 
It's a scary day when you start a rewrite
 
posted on August 05, 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) {} Only 2.5 weeks left to submit for BAHFEST!

 
1:33 PM
@RyanKinal omg I know the feels
I get to do my application soon
~13000 LoSpaghetti
I'm avoiding it like the plague
 
This is code I didn't write. In an application that I barely know. But it's causing a lot of customer-facing issues, and I think I can get a lot more efficiency out of it than the non-JS dev who wrote this JS app.
But I'm still a little terrified
 
ohh yea, I wrote all of mine. so i'm not as bad off.
but then I also have no one to be mad at but myself.
I won't be able to pass mirrors for weeks and weeks...
 
Time to debug the mysterious "This callback fired on friday, but doesn't on tuesday" bug
 
@Cereal It's not friday
oh
 
what kind of JS would be needed to count all rows LIKE ('liAddTimeRow2', 'liAddTimeRow3', 'liAddTimeRow4', 'liAddTimeRow5') ??
I mean DOM Elements not ROWS per say..
 
1:42 PM
@JoJo you better add classes than search for elements based on fragments of ID
 
document.querySelectorAll("[id^='liAddTimeRow']").length
 
I am better off adding classes to the elements and searching for those? or perhaps the same class ID?
 
Or classes
Classes work too
 
NICE @Cereal
 
1:43 PM
That ^ might need to be a $. I don't actually know what I'm doing. But classes work nice as well
 
you mean it may require jQuery not pure JS?
 
document.getElementsByClassName("addTimeRow")
 
that works too since we use jQuery also
 
if you want jQuery, $(".addTimeRow")
 
assuming the class addTimeRow is on the rows
 
1:45 PM
I think for simplicity I could count the class items called schedTable.. class="schedTable even"
 
if you don't support IE, .schedTable:nth-row(2n)
 
then to make it more complex I would need to find one of those elements to see if they have a display: none style.. ugh so hacky.. but new development always gets shot down..
 
@JanDvorak jQuery provides this too
.schedTable:even
should work on all browsers
 
$(":nth-child(2n)").addClass("even")
 
not looking to use the even / odd classes, just count the classes with schedTable and then find out if they have a style attribute with display: none.. ugh so hacky
I should just refuse.. lol
 
1:49 PM
You can
 
how best to refuse?
I need to get better at that lol..
 
I'm so sure that I asked this at least once in here already
code.google.com/p/micropolis <-- who's in to port this?
 
var els = document.querySelectorAll('.schedTable:even');
els.querySelectorAll("[style*='display:none']");
I think...?
 
nice Cereal.. let me play around with it! and thanks all!
 
@Cereal that won't work
jQuery has .filter, though
 
1:53 PM
I think your right.. jQuery was built specifically for this.. and WE ARE using it .. so better to save myself any pain
 
you're taking the easy path, @JoJo
 
var els = document.getElementsByClassName('schedTable');
els.querySelectorAll("[style*='display: none']");
Rereading that. That would work if display: none is in the style tag directly
 
@Cereal I'm pretty sure HtmlCollections do not have a QSA method
 
Oh you're right
herp derp
document.querySelectorAll(".schedTable[style*='display: none']")
 
I am using the following script to change the option -

function optionCheck() {
$('#song_select').val('test.json');

}
This changes the text in the drop down however does not fire the event that happens when I mannually change th dropdown option, what am I missing?
 
1:58 PM
@Ebikeneser add $('#song_select').change()
 
@Ebikeneser indeed. You can fire it manually, though
 
to trigger the change callback, if that's what you're aiming for
 
how do i unit test $scope.$watch calls that are looking at variables within a service?
 
better yet, rewrite your code to not intertwine model with view that much
 
@DrogoNevets you should not have $scope.$watch in a service :(
 
2:01 PM
Why is an ajax post failing with http response 200 =_=
 
@Cereal can't parse as the expected type?
 
@BenjaminGruenbaum it is within a controller, but the variable it looks at are within a service
 
@BenjaminGruenbaum is this blasphmous?
 
@JanDvorak That's it, thanks
 
2:03 PM
if so teach me the error of my ways (i just didnt see the point of pass throughs)
 
user1596138
Pfft no I do not want to be an "account manager" for Dr Pepper?
 
@Cereal thats the one thanks
 
user1596138
Recruiters who can't read...
 
@DrogoNevets services should not be aware of the scope
 
@Jhawins sure you do, you mentioned A singular word that is on the spec
@BenjaminGruenbaum its not, i dont think, just data is saved to the service direct (getModelFromService().towing) for example as an ng-model
 
2:06 PM
:O
 
@Jhawins have you gotten any emails from farmers insurance? I get tons of spam from them for a "sales rep" position.
 
Don't do that :D
 
@BenjaminGruenbaum that aimed at me? if so whats the alternative? pass throughs? with a watch on every variable to set the method?
 
@SecondRikudo LOL I love that movie
 
user1596138
2:09 PM
@NickDugger lol nope. But I get plenty of other bogus shit. Never use career builder.
 
@Jhawins another secret, have a second cheap phone as the contact number, that way, when yous top looking you can stop receiving the calls!
 
Services should be unaware of digests.
 
user1596138
Ah but that's just more money and fuss
 
@BenjaminGruenbaum ok, so how do we get data from the view to the model?
@Jhawins wait until youre happy in your new job and the calls just wont stop
 
HAMMERTIME!
 
2:11 PM
@CapricaSix shhhhh!
 
I should set up an email: jobs@nickdugger.com that I can simply deactivate, just like the phone number idea.
 
@NickDugger yes, do that too!
or just a filter looking for the word "oppotunity"
 
so... when will some room owner again change the room name to some other weird thing? and how do you guys decide that?
 
Does someone use Wireshark here? I discovered someone connecting to my wifi network. I can see they're exchanging packets but it doesn't show you what they're exchanging
 
@DrogoNevets function calls?
 
user1596138
2:13 PM
@DrogoNevets lol I google unknown numbers as they're calling me. I know when it's a recruiter doesn't bother me too much.
 
room topic changed to JavaScript: Complying with Awal Garg's wishes since 2014: Read this link: rules.javascriptroom.com. Before asking inform yourself on the XY problem goo.gl/taIqf | Angularjs is on topic here. stop asking. [bananas] [ecmascript] [git-is-not-here] [javascript] [phrasing]
happy?
 
@AwalGarg we have a secret room
 
shit
@rlemon why did you do that?
there are better ways to tease me...
 
:D
 
@BenjaminGruenbaum how do you mean? how is that different to a watch?
 
2:14 PM
@BenjaminGruenbaum I just can't believe that...
 
how does complying with your wishes equate to making fun of you
teasing you maybe.
 
yea that...
 
I'm not calling him that, just suggesting it.
 
@NickDugger there we go again.
 
@NickDugger still offensive
 
2:16 PM
@DrogoNevets the $watch code, should not be in the model layer.
 
!!summon 58694
 
@SecondRikudo That didn't make much sense. Use the !!/help command to learn more.
 
and... gone.
 
Heh, 30 minutes.
 
!!are you alive?
 
2:18 PM
@SecondRikudo Certainly not
 
@BenjaminGruenbaum its not, its in the controller
 
Why doesn't she work in my room?
 
@JanDvorak For what it's worth - it is hilarious.
!!summon 58694
 
@BenjaminGruenbaum not really
 
@JanDvorak oh, really?
 
2:19 PM
@BenjaminGruenbaum what Nick said? Yeah. That wasn't funny. Not even the first time.
 
@JanDvorak but it has the word "anal" in it, it has to be absolutely hilarious.
 
!!unsummon 58694
!!summon 58694
 
user1596138
I really like this devtools theme. Actually adds function
 
user1596138
 
2:20 PM
@BenjaminGruenbaum why do you think that this implication holds?
 
Hi @RahulKhosla
 
Is there any tutorials on how to have a hover about an img to show icon within the center of an image?
Not sure what its called so i'm having to describe.
 
@RahulKhosla which part aree you stuck on?
 
All of it.
 
!!unsummon 58694
 
2:22 PM
I just need a tutorial
But I can't google what I just said.
 
Jul 31 at 22:29, by rlemon
http://eloquentjavascript.net/
 
MAYBE
 
Im not learning all of JS for one hover technique.
 
!!google hover about an img to show icon within the center of an image?
 
so you want copy-paste ready code?
 
!!copy and paste or do a decent job
 
@DrogoNevets do a decent job
 
@RahulKhosla Well, i was going to sufgest just working on ANY hover effect (like change the border color), then we'll discuss how to do what you want exactly.
 
@RahulKhosla you don't even need js, that's the fun part about it
 
2:23 PM
:D
 
I can hover in css.
Im wanting something like...
 
@CapricaSix has spoken, you must learn how to do it properly
 
perfect, so you should be good
 
not to mention you CAN ".. google what I just said."
 
Ok i found it
Thanks anyways
 
2:25 PM
I love when people ask questions and I can copy and paste them word for word into google and yield results.
 
I believe its all CSS too :D
 
position: aboslute;
 
position: absslut;
 
oh god, I laughed a little bit too much about that
 
I am sure I have heard that same thing word to word from rlemon before :P
 
2:26 PM
is it really that hard to google first?
 
@RahulKhosla and yes, it is
 
@rlemon people are getting spoiled because brilliant experts like you guys sit here, and entertain them...
 
Robert Lemon - brilliant expert
 
@BenjaminGruenbaum how would you go abouts getting data from the view to the model in real time? (ie not on a form submit)
 
this should be your job description, pal
 
2:29 PM
I meant most of the room regulars, like him, Jan, Benji, m59, second, and others whom I don't have talked to much... specially the room owners.
 
@GNi33 could work. but then i'd have to replace "Sex Machine"
 
well... hard decision
 
pun intended?
 
I was thinking about making "hard" italic, but I let it slide
 
oh yeah, I hate it when these things come up.. but then, its my problem ofcourse.
 
2:31 PM
@Cereal - thanks - document.querySelectorAll(".schedTable[style*='display: none']") just got out of meeting..
 
@JoJo You should really try these before thanking me
 
will that work if the class="schedTable odd" ?
 
@DrogoNevets ng-click etc and model binding?
 
haha, screw it
 
oh yes, I plan on it, just strategizing, thanks for strat session
I may end up using jQuery also
 
2:33 PM
@BenjaminGruenbaum but thats what ive done. and you said "dont do that"
 
@DrogoNevets you said you did watchers.
 
the watchers look at the variables, and do something else (they do not get/set)
ie, if the user selects they want annual cover rather than single trip
the value is stored imediately, directly to the model
the watcher, looks at the variable in the model, and the goes of and gets the new quote for them
 
@NickDugger You've been flagged multiple times for calling a user "anal greg". Numerous people, including the user himself, asked you to stop it. So please stop it. Once and for all. Thanks.
2
 
the ng-model looks like ng-model="getModel().myVar"
 
@Gordon thankyou
 
2:37 PM
@DrogoNevets I wouldn't bind to a function.
@Gordon Hi Gordon! How have you been?
 
@BenjaminGruenbaum i haven't I have bound to a variable that is returned by the function - or is that what you meant?
although there is support for a getter/setter type thing now (ng-model-options)
 
A ha! Got the guy! He's literally flooding the router with "dummy" packets, that's why I didn't see anything initially.

The one below is the same packet he sent for more than 26k times. This guy looks really bored.
26726	39.456185000	192.168.1.5	192.168.1.1	TCP	66	42179 > http [ACK] Seq=104 Ack=2897 Win=35072 Len=0 TSval=141225219 TSecr=87953965
 
he's DDoSing you...
 
he likes you
 
2:52 PM
Yeah. I restarted the router, got hold of his address and position, disabled WiFi so I connect through ethernet. I'm going to contain WiFi radio waves within my house and only allow few MACs
The network was just slowed up as it luckily was no deauth packet attack.
 
Just make the SSID different and private.
 
Can't understand why they do that sort of things. They just risk people broking their legs
@BenjaminGruenbaum Tried that.. they seem to target every visible SSID :/
 
@SufiDeveloper I had someone once connect to my network and abuse it so I proxied all http requests for images to be blurred.
It was like 10 LoC and every image that did not originate from a trusted MAC was just a tiny bit blurred. Was a lot of fun.
 
Haha that surely makes for a lot of fun :)
I'd redirect their traffic to the police website or something
Maybe they get scared off
 
@BenjaminGruenbaum haha, that's awesome. I would have probably taken a little more... "extreme" approach with the images though ;)
 
2:57 PM
@GNi33 that was my initial thought, but you can get sued for that.
 
goatse all the images? that would be a fun court session I think
 
Here you can get sued even if you accidentally connect to an open WiFi network, no kidding
 
I read an article somewhere, where some guy caught a website hotlinking one of the images from his website, onto this other website, so they simply swapped out the image into porn, and the website that was stealing the image never even noticed.
 
if it is open...
public wifi isn't public?
@NickDugger by article you mean chat logs
 

« first day (1389 days earlier)      last day (3562 days later) »