« first day (1187 days earlier)      last day (3761 days later) » 

9:00 PM
Serial ports, eh?
No help from me
 
user1596138
Ok. I'm looking at throwing one of my biggest projects up on GitHub. What is the standard /a good way to document the required database structure?
 
so... if you have a textbox and use the :checked selector on it, will it return true if there is anything in the textbox or?
 
holy fuck.
:set paste
how did I just learn of this
 
user1596138
@Crowz what..? It's a textarea?
 
O_o
 
user1596138
9:03 PM
@rlemon what does it mean
 
?I feel like i've been missing out on so much
 
user1596138
That happens to me a lot in this room lol
 
@Jhawins VIM command to remove auto indent on so when you paste the new lines are not fucked
 
user1596138
Oh. Fuck VIM. It plays terribly with Macs.
 
user1596138
Mostly because Apple has vital keys/shortcuts locked to other things, where they are vital as well.
 
m59
9:06 PM
@RyanKinal now that I had some food...don't you just need $apply() instead of $timeout? It looks like that's why $timeout is working for you - it wraps the function with $apply()
 
user1596138
Guys. Representing SQL database structures with text. How I do
 
New girl in the office is quite hot, and we just had a pretty in depth conversation, and I already forgot what it was about besides the "Hey were u from" crap
 
m59
@RyanKinal now that I had some food...don't you just need $apply() instead of $timeout? It looks like that's why $timeout is working for you - it wraps the function with $apply()
 
@RUJordan as long as you kept eye contact the entire time
that is what counts the most
 
@rlemon wow wait what? I want that
 
9:09 PM
:set paste
 .... paste your stuff
:set nopaste
 
I actually did
She has big eyes and they're pretty
 
there is probably a more elegant way about it, but when pasting large blocks over that is VERY nice
 
It also helped that she had a sweater on that stopped me from staring at her boobs
That might have been a red flag
 
@RUJordan it doesn't help that she is actually lurking in the chat right now
 
I'm back!
 
9:11 PM
It doesn't help that now I also have boobs on the brain
 
now I want popeys chicken
 
anything fun I missed?
 
move your mouth up and down and let the meat slide down your throat hole
@SomeKittensUx2666 I didn't stare at the hot new girls boobs?
 
m59
@RyanKinal hmm...nm. I'll figure it out
 
@m59 Yeah, that was my problem with services. I thought apply should work, but I don't have access to the scope. Or am I incorrect there?
 
m59
9:18 PM
@RyanKinal $rootScope, but that doesn't seem to be it.
 
No? Huh.
 
user1607528
This is what is in my clients website
 
user1607528
Your browser does not support dynamic html. Please download a current version of either <a href="http://www.microsoft.com/ie/">Microsoft Internet Explorer</a> or <a href="http://www.netscape.com/">Netscape Navigator </a> and try visiting our site again. Thank You
 
user1607528
LOL
 
-_-
 
m59
9:19 PM
@RyanKinal I looked at the jsbin history - this is crazy. I have a demo almost exactly like yours - works, but it shouldn't....
I bet I know why...
 
@Muhammet I hate your client.
 
user1607528
I do too
 
Ah, the browser wars. When devs were devs and tables had a place in layout.
 
I told my boss I wanted to start WWIII and direct it at Internet Explorer and he quoted me to his boss ealier and they laughed.
 
user1607528
I surrender
 
9:21 PM
Scary times. Exciting... but scary.
 
user1607528
I quit this job
 
@Muhammet You must do so in spectacular and angry fashion.
 
user1607528
I dare that anyone would do it
 
user1607528
F*ck this job :D
 
Not bad. Not terribly innovative or spectacular, but you got the anger down.
 
9:22 PM
lol
 
(Also we don't really care about the odd "fuck" around here... in general, anyway)
 
m59
@RyanKinal your jsbin is right angular wise. It's the ajax call that doesn't work.
 
it's the even fucks we care about
 
m59
just change the url to something like this/that
 
@m59 Yeah, I know. That's what I've been trying to figure out.
Oddly, I see the correct request/response in the Network tab of the Chrome dev tools.
But it's erroring for some reason
 
m59
9:23 PM
yeah, because jsbin sends that status code
so the error fires even if it got data
 
But it looks like a status 200 to me...
 
m59
use $.get('test').then(function(data) { }
oh. hm.
well that's odd.
Still, the angular stuff works...
 
I added a defer.resolve to the error handler. It's not resolving.
 
m59
I just learned something myself.
 
Oh wait... yes it is
wtf
 
9:26 PM
@RyanKinal if you have a promise issue, please be specific
 
user1596138
@rlemon Interesting...
 
I apparently don't have a promise issue
 
user1596138
 
It's something in my app
 
m59
9:26 PM
Yeah, something is odd.
 
@Jhawins look at the revision history of the page
It used to say "Not to be confused with jQuery"
 
m59
it looks like deferred.resolve() calls its on $apply
 
Meh. My (hacky) app is working as intended. I'll figure it out later.
@m59 Strange
 
user1596138
jQuery.com haha
 
m59
There's no reason I can think of that this can work otherwise (it does work)

    jQuery.get('whatever').then(function(resp) { deferred.resolve(resp); }
 
9:28 PM
Yeah, it seems to be working in the jsbin demo, but for whatever reason, it doesn't in my app.
 
@m59 that looks like an anti-pattern.
 
m59
@BenjaminGruenbaum lol of course, but it's just funny that it works.
 
I'm losing my shit over here.
this code isn't working
but it should be working
fuck my life
 
Anyway, thanks for the tips @m59. I'm out for the day.
 
@rlemon did you write unit tests?
you know, if you you return a promise from a promise it acts like you'd expect :D
 
9:30 PM
@BenjaminGruenbaum i've written like 15 lines of code
 
m59
@RyanKinal np, I couldn't really help :( you did a good job.
 
this is the most simple stuff. and it isn't working
 
@rlemon use a debugger.
I can tell you 'show me the code' but you'll just hate me if it's something trivial :P
 
user1607528
I told my client that I will make the website from 0 rather than fixing it if he wants
 
user1607528
else i'm out
 
9:31 PM
i'm using node.js on a beagle board to read modbus holding registers from a proprietary device over a serial connection.
 
@Muhammet smart.
 
what debugger should I use.
 
user1607528
@phenomnomnominal :D
 
m59
@BenjaminGruenbaum huh? You might be missing the context. If you (for no good reason) used jQuery ajax within angular it still runs a $digest when resolving a promise in that context.
 
user1607528
He already funded the job, so i guess he doesnt have a choice
 
user1607528
9:32 PM
:D
 
I'm getting nothing but timeout errors (meaning the device is not returning the correct values, meaning the command i'm sending it wrong. but it isn't. it is the exact command i've used before)
 
m59
So, resolving promises triggers a $digest no matter what the context, which is cool . At least that's how it appears to me...
 
@m59 it still uses $q promises with real jQuery (no jqLite?)
 
m59
@BenjaminGruenbaum Ahhhhhh I think I see what you mean. The docs suggest that I was write...it should need $apply. Let me check further.
 
@m59 can I make a friendly suggestion?
 
m59
9:34 PM
sure
 
Angular docs suck
Like, really bad
 
m59
haha true
 
Angular unit tests are awesome, and the code is crystal clear
Whenever you have a doubt about how something works - the docs are the third place you go to
Sometimes, the fourth (if the issue is about the type of arguments something takes)
Also, that's how you learn about the interesting edge cases - for example github.com/angular/angular.js/blob/master/test/ng/…
 
Is it possible to "resend" an http request? Like, you send a request to index.cfm, it displays data based on your post values. But, you want to make a PDF page with the same data for printing. Can I send the same post values when I click the link "export to pdf"?
 
@RUJordan an HTTP request is very general, you mean like a form submission? Or like AJAX?
 
9:38 PM
Yes sorry, the initial results come from a simple form submission
And on the page it's handled, I want to mimic that form submission's results when I click the export link so I can run the same exact query
 
use AJAX, much better control
 
without having to re-submit the form
 
m59
@BenjaminGruenbaum Yeah, it just has to be calling a $digest each time jsbin.com/AzifiFa/7/edit
That's as clear as it gets
 
Ajax isn't an option, sorry
bosses orders
 
I wish one of you guys had a Beagle Board so you could help me
 
9:39 PM
@rlemon why are we locked?
 
room was fighting. it was a warning for people to stop or else I would start muting
room mode changed to Public: anyone may enter and talk
 
Ohhh I think I have an idea
I can mimic the form as a button using hidden fields
That way it's still a button/link but it submits the FORM as a param
 
Hmm something tells me I should look into AngularJS
 
@qwertynl egghead.io look into it then
@rlemon rlemon, threaten to kick their ass next time :D
 
@BenjaminGruenbaum Is it that good?
 
9:45 PM
@RUJordan such wow, so convoluted.
@qwertynl not at all, but it's worth learning and looking into.
 
@BenjaminGruenbaum Cool. :-)
 
@BenjaminGruenbaum no I only do things to your ass
erm..
i'll stick with it
 
user1596138
@BenjaminGruenbaum I undid the removal of the "This article is about the actor. For the JavaScript library, see jQuery." part
 
user1596138
Because as the OE pointed out voice search leads to Jake Weary instead of jQuery.
 
@Jhawins haha, commented with "I was confused' :P?
 
9:47 PM
@BenjaminGruenbaum I am starting with chapter 1
 
@qwertynl lemme know if you need any help :)
 
!!define convoluted
 
@RUJordan convoluted Having numerous overlapping coils or folds.
 
Yeah, it's a real pain in the ass
 
@BenjaminGruenbaum will do thatnks :-D
 
user1596138
9:48 PM
!!urban convoluted
 
@Jhawins Convoluted Gourmet, overtly complicated, needlessly difficult, heavily involved, deeply intricate, the opposite of simple & easy, requiring patience & commitment.
 
user1596138
!!urban folds
 
@Jhawins fold to back down from any thing
 
user1596138
!!urban commitment
 
@Jhawins [commitment](http://commitment.urbanup.com/997124) Commitment is what
Transforms the promise into reality.
It is the words that speak
Boldly of your intentions.
And the actions which speak
Louder than the words.
It is making the time
When there is none.
Coming through time
After time after time,
Year after year after year.
Commitment is the stuff
Character is made of;
The power to change
The face of things.
It is the daily triumph
Of integrity over skepticism.
 
user1596138
9:51 PM
Oops not what I expected.
 
user1596138
Wow that's some of the worst poetry I've ever read.
 
user1596138
 
user1596138
Got enough scripts Facebook?
 
prolly not
 
user1596138
9:53 PM
Yeah I didn't think so
 
This looks amazing @BenjaminGruenbaum My mind is blown.
 
Make sure you understand how it works and why it's useful :)
 
user1596138
39 externally loaded scripts on 1 page. Classy..... Whore!
 
I seriously can't remember the last time I was presented with such a fucking roadblock.
it is really discouraging.
I feel like this should be simple.
 
@BenjaminGruenbaum Can you explain (as best you can) why you find it useful?
 
user1596138
9:57 PM
@qwert keep it in your pants bud
 
@Jhawins huh?
 
user1596138
You've been about to squirt for an hour. Save it.
 
@qwertynl GUI has a big issue - it deals with presenting things. Separating the business logic (what your logic is) and the presentation (what the screen is showing) is _very fundamental. Angular let's you do it concisely (with bindings and directlves), all CSS/HTML or DOM manipulation goes in one place (Directives), all dependencies go in one place (services), and all the objects are still in JS.
 
user1596138
!!afk exactly
 
You get separation of concerns nicely with Angular and it's pretty fully featured. Also easy to get support with. It's not a one size fit all but it's certainly a good hammer to hammer a nail when prototyping.
Also, testability and dependency injection by design, it has a dependency injection container from the start which is great.
 
user1596138
9:59 PM
Hmm...
 
@BenjaminGruenbaum Yea on our app I have been creating objects on my own that relate to the DOM and manipulating those objects which then in turn manipulate the DOM... So what you are saying is that I am failing at reinventing the wheel?
 
user1596138
@rlemon #166 needs changed. We should've kept the confirmation message for /afk
 
My version is so slooow
 

« first day (1187 days earlier)      last day (3761 days later) »