rick_h_ | brousch: Have him search Monster for "Network Administration Brighton". All of the info is there from what I've been told. Thanks for passing it along. | 00:18 |
---|---|---|
snap-l | Good morning | 11:42 |
rick_h_ | sucky morning | 11:43 |
rick_h_ | :) | 11:43 |
snap-l | Blergh. Have to take the trash out in this weather. | 11:44 |
snap-l | On the plus side, there is a bunny outside | 11:44 |
rick_h_ | crabby, stupid client morons | 11:46 |
rick_h_ | "how could we make this comlpetely worse and ask them to revert back to at least 3 things they originally had but we said we didn't like?" | 11:46 |
snap-l | rick_h_: I take it they're being quite creative. ;) | 11:46 |
brousch | manning deal of the day: half off http://www.manning.com/ceder/ | 11:46 |
snap-l | brousch: It's not that good | 11:47 |
rick_h_ | snap-l: yea, they're trying very hard to piss me off. We had 6 "mockups" colored "make this crap" | 11:47 |
rick_h_ | so I did, not 4th set of a dozen or more changes since then | 11:47 |
rick_h_ | some backtracking on earlier items, every one of them making it more of an ass project than before | 11:47 |
snap-l | I picked it up. Unless you really don't know Python, it's not going to get you too far. | 11:47 |
brousch | ok | 11:47 |
rick_h_ | I was more interestinged in oreilly's deal | 11:48 |
brousch | i haven't gotten that far | 11:48 |
rick_h_ | but realized I want it on my web kindle reader and nothing I buy out of the kindle store can show up :( | 11:48 |
snap-l | brousch: Have you installed Python? | 11:48 |
rick_h_ | which is another @#$@#% point of the day | 11:48 |
brousch | indeed i have | 11:48 |
rick_h_ | brousch: tons of better books | 11:48 |
brousch | though i have not compiled it | 11:48 |
snap-l | That's part 1 | 11:48 |
rick_h_ | oh, and NC dude strikes again | 11:49 |
rick_h_ | with a freaking book in IM this morning yay | 11:49 |
snap-l | rick_h_: "Why testing is hard, so I've decided to go shopping instead", by NC dude. | 11:50 |
rick_h_ | "Designing code is hard so I'd rather just rewrite every app over and over vs put forth the effort to the fruitless task of making a decently flexible system" | 11:51 |
rick_h_ | or there abouts | 11:51 |
snap-l | Rewriting vs. Repeating Code - Why I Repeat Myself Repeatedly Repeating My Repeating Code Repeatedly" | 11:52 |
rick_h_ | only he took 358 words to get to it | 11:52 |
snap-l | rick_h_: Oh that's awesome. | 11:52 |
rick_h_ | according to wc :) | 11:52 |
snap-l | Maybe he could beat his computer into a typewriter and take up freelance? | 11:53 |
nullspace | rick_h_: I feel like I'm out of the loop, who is NC dude? | 11:53 |
rick_h_ | nullspace: you won't understand, you've missed half the effect by having the history | 11:53 |
snap-l | nullspace: NC dude is Rick's Lex Luthor programming co-worker | 11:53 |
brousch | no, lex luthor is a genius | 11:54 |
brousch | it's his solomon grundy | 11:54 |
nullspace | rick_h_: have you tried running an exploit against his box, get reverse shell and then rm -rf /usr ? | 11:54 |
brousch | does he run linux? | 11:54 |
snap-l | where rick_h_ stands for consistency, repeatable results, testing, and optimization, NC dude stands for lazy development, repeating code, and 2 hour non-productive bug fixing sessions that could have been handled via build servers. | 11:54 |
brousch | i thought NC guy was the windows user | 11:55 |
rick_h_ | he's sinced gone dual boot | 11:55 |
nullspace | repeating code? as in he copy pastes the same thing | 11:56 |
snap-l | Honestly, if I was doing Linux / Windows, I'd use a VM at this point | 11:56 |
snap-l | Dual Boot = wasted time being in the wrong system. | 11:56 |
rick_h_ | it is NC dude | 11:57 |
snap-l | rick_h_: Ah, now I understand. | 11:57 |
snap-l | "Yeah, I know that vim is awesome, but I don't have vim in Windows, so I'll have to boot into Linux when I get done with my Daily Show viewing in Windows" | 11:58 |
snap-l | Bah, Borders is now 40-60% off. | 12:00 |
nullspace | snap-l: what the company, a branch or are we talking books | 12:02 |
snap-l | nullspace: Welcome to 2011. :) | 12:03 |
snap-l | Borders Books is closing all of their stores. | 12:03 |
snap-l | so everything is being liquidated. They're now at 40-60% off of everything in the store | 12:03 |
nullspace | so amazon prices? | 12:07 |
snap-l | nullspace: Yes, but shipped directly to the store for easy pickup. | 12:07 |
snap-l | And if you can find a book / CD that's 40% off of retail on Amazon, please feel free. :) | 12:08 |
snap-l | mostly they're 33% | 12:08 |
Wolfger | snap-l: http://goo.gl/M7Ntt | 12:10 |
Wolfger | by my math, that's 45% off | 12:10 |
snap-l | And if you're not a prime member, you get to factor in shipping. ;) | 12:11 |
nullspace | and now I''m distracted by Bosch's l-boxx modular storage systems | 12:11 |
Wolfger | super saver free shipping, for the patient | 12:11 |
Wolfger | and no sales tax | 12:11 |
Wolfger | Amazon Prime is a tax on the impatient. | 12:12 |
snap-l | Wolfger: Yes. :) | 12:12 |
snap-l | nullspace: stackable toolboxes aren't that distracting. :) | 12:13 |
nullspace | snap-l: I disagree | 12:14 |
snap-l | Just be done with it and get a rolling toolchest. ;) | 12:15 |
snap-l | http://www.craftsman.com/shc/s/p_10155_12602_00981337000P?vName=Storage+%26+Garage&cName=Tool+Storage&sName=Chests&prdNo=1&blockNo=1&blockType=L1 | 12:17 |
snap-l | Also, craftsman's site sucks | 12:18 |
nullspace | snap-l: most corporate sites suck, welcome to 2011 :) | 12:19 |
Wolfger | touche | 12:24 |
Wolfger | on the other hand, that's hardly new to 2011... | 12:31 |
nullspace | well it seems that it has become common place in 2011, either that or I'm just now seeing all the horror | 12:33 |
snap-l | I think you're just more sensitive to it, having not been aware of it most of 2011. ;) | 12:34 |
snap-l | Welcome to 2011. ;) | 12:34 |
nullspace | well I have been spending a lot of time working on the house and avoiding popular culture | 12:37 |
Wolfger | zomg, you've been avoiding pop culture? How can you live without (uh, somebody help me out here, who's a current pop icon?) | 12:48 |
snap-l | Menudo | 12:48 |
brousch | justin beeper? | 12:48 |
Wolfger | rofl @snap-l | 12:48 |
snap-l | Shawn Cassidy | 12:48 |
brousch | menudo is back? | 12:48 |
brousch | awesome | 12:48 |
snap-l | brousch: Yeah, along with Dynamite Magazine | 12:48 |
Wolfger | dyn-o-mite! | 12:50 |
Wolfger | that's it... snap-l's new nick is Rerun. | 12:50 |
Wolfger | :-D | 12:50 |
snap-l | Nah, I'm Roj | 12:51 |
snap-l | Wolfger: You can be Rerun, and nullspace can be Duane | 12:51 |
snap-l | now we need Shirley, Ma, and the kid sister. | 12:52 |
snap-l | http://pygame.org/docs/ref/examples.html#pygame.examples.midi.main | 12:53 |
snap-l | Mmm... maybe I can write my Glassblower application after all | 12:53 |
snap-l | (Glassblower being my interpretation of Philip Glass as done by computer) | 12:54 |
Wolfger | snap-l: sorry... Rerun is the only name I could remember off the top of my head :-) | 12:55 |
nullspace | Wolfger: who is Duane? | 12:55 |
snap-l | http://en.wikipedia.org/wiki/What's_Happening!!#Principal_cast | 12:55 |
snap-l | Dwayne, sorry. | 12:55 |
Wolfger | nullspace: Damned kid... get off our lawns. | 12:55 |
nullspace | Wolfger: you realize I have my lawn | 12:56 |
nullspace | my own lawn, sorry it's still kinda early | 12:56 |
Wolfger | I don't think you had your own lawn last time I visited you, so no. :-p | 13:03 |
nullspace | pretty sure that's not how it works | 13:04 |
Wolfger | ? | 13:05 |
Wolfger | how does realization work then? | 13:05 |
nullspace | hmm maybe I didn't tell your | 13:06 |
nullspace | you | 13:06 |
Wolfger | so you have your own lawn? Congrats! | 13:06 |
Wolfger | Want mine too? I hate mowing it. | 13:06 |
nullspace | I should just go back to my javascript, I seem to be doing a lot better with that language than english currently | 13:07 |
nullspace | Wolfger: mine is > 1/3 of an acre | 13:07 |
Wolfger | Then again, my dogs would not be happy if I didn't have it... | 13:07 |
snap-l | Wolfger: You could teach them how to use the potty. | 13:07 |
nullspace | not much if you ask me | 13:07 |
Wolfger | snap-l: I have 3 that would be pretty easy to litter-box train, and one that could easily sit on a toilet... though I don't think I want either of those things. | 13:09 |
nullspace | I just pictured a great dane on the pot, ha | 13:10 |
nullspace | http://img.skitch.com/20080807-8t49gh9g9pi5iymnd49piiiuw1.jpg | 13:18 |
Wolfger | Yeah. And unless I could teach her to flush... no thank you. | 13:19 |
nullspace | Wolfger: motion sensor! | 13:20 |
Wolfger | nullspace: good point | 13:20 |
Duolos | Anyone here use Eclipse, by chance? | 13:29 |
brousch | occasionally | 13:39 |
Duolos | brousch: Just curious because I can't get it to display my code properly. | 13:40 |
Duolos | #ubuntu kicked me out, basically, because I'm using the newest version lol | 13:40 |
brousch | i've only used it for python | 13:41 |
Duolos | ah okay. I'm using java | 13:42 |
Duolos | Just seems like it's missing fonts. Just displays empty boxes instead of the actual characters. But only for parts of the code. Very strange. | 13:42 |
Duolos | And, according to Google, no one else has ever had this issue. | 13:42 |
brousch | you have sun java installed, or the default opencrap java? | 13:43 |
Duolos | No, Sun Java. Not going to use OpenJDK for Android development :) | 13:43 |
snap-l | Duolos: I've used Eclipse, but only under Maverick, and under extreme duress. | 13:44 |
snap-l | Duolos: Are you perchance using Unicode in your code? | 13:45 |
Duolos | snap-l: I haven't even gotten to the point of typing any code. Just looking at the code that Eclipse generates when starting a new project. | 13:46 |
snap-l | And is it repeatedly showing the same blocks as hidden, or different blocks? | 13:46 |
Duolos | snap-l: It appears as though it's just the variables (color-coded blue). | 13:46 |
Duolos | values, rather | 13:47 |
snap-l | Would you take a screenshot of what you're seeing? | 13:49 |
Duolos | http://s891.photobucket.com/albums/ac115/nrossin81/?action=view¤t=snapshot1.png | 13:50 |
Duolos | ...and if you know of a better, easier place to post screenshots, PLEASE let me know lol | 13:51 |
snap-l | Heh. :) | 13:52 |
Wolfger | Duolos: my Google says differently? Or is you problem unlike this: http://www.eclipse.org/forums/index.php/m/520247/ | 13:52 |
snap-l | I use Ubuntu One, but that has varying degrees of success. | 13:52 |
snap-l | Wolfger: On the surface that looks similar. | 13:52 |
snap-l | and of course, no answers. | 13:53 |
Duolos | Wolfger: Fairly similar. Except that tells about the entire interface being messed up. My interface is fine, it's just part of the code. | 13:53 |
Wolfger | of course | 13:53 |
_stink_ | sure does look like a font thing. | 13:53 |
snap-l | Duolos: You're not using Hebrew, are you? :) | 13:53 |
Duolos | Greek and Aramaic, actually | 13:54 |
Duolos | ;) | 13:54 |
brousch | Duolos: how did you install eclipse? | 13:54 |
snap-l | http://www.eclipse.org/forums/index.php?t=msg&th=203659&start=0&S=46d79d739b260b4e24e4127a10392656 | 13:54 |
Duolos | brousch: That's the new version, just extracted. I'm currently downloading the older version from the repos to see if that does it too | 13:54 |
snap-l | Duolos: You might have downloaded a different language version by mistake? | 13:54 |
brousch | so you downloaded it, extracted it to your homedir, and are running it from there? | 13:55 |
Wolfger | Duolos: http://stackoverflow.com/questions/6629225/source-code-shows-as-rectangles-instead-of-charactars | 13:55 |
snap-l | That's the only thing I can think of that might cause that | 13:55 |
Duolos | brousch: correct | 13:55 |
brousch | good. the one in the repos is worthless | 13:55 |
nullspace | rick_h_: have you see this guys show? http://www.djmarks.com/woodworks.asp | 13:55 |
Duolos | brousch: #ubuntu wouldn't even discuss Eclipse unless I was using Galileo lol | 13:55 |
snap-l | Wolfger: Good find. That might be the cause. | 13:55 |
snap-l | Duolos: http://stackoverflow.com/questions/6629225/source-code-shows-as-rectangles-instead-of-charactars/6953954#6953954 | 13:56 |
snap-l | Worst case, you'll get a lot of fonts you don't need. | 13:56 |
snap-l | Best case, it'll solve the problem. | 13:56 |
rick_h_ | nullspace: yea, seen them all | 13:56 |
rick_h_ | he's pretty famous in the woodworkers circles for sure | 13:56 |
Duolos | snap-l: ahhh... looks to be it | 13:56 |
brousch | missing fonts makes sense. i mean, how thoroughly can eclipse be tested on a new kubuntu install? | 13:56 |
snap-l | wtf? Why is that including postfix? | 13:56 |
snap-l | Duolos: Be careful with those lines | 13:57 |
snap-l | I'd start with sudo apt-get install ttf-mscorefonts-installer | 13:57 |
Duolos | snap-l: Oh, I'll read them first lol | 13:57 |
Duolos | And probably install them one at a time. | 13:57 |
snap-l | Yeah, there's a bunch of crap in there that doesn't make any sense. | 13:58 |
Wolfger | my Google-fu is mighty. :-) | 13:58 |
Duolos | Looks like he just installed ttf* | 13:58 |
Duolos | :) | 13:58 |
Duolos | Wolfger: I guess I used the wrong keywords lol thank you | 13:58 |
Wolfger | took me a few tries, but I arrived after your clarification at: eclipse "missing fonts" in code | 13:59 |
Duolos | except... a lot of those are already installed | 13:59 |
Duolos | Grr... trial and error time. | 13:59 |
Wolfger | without quotes on "missing fonts" I got too much noise | 13:59 |
Duolos | Thanks for the help. Gonna go grab breakfast and give it some more time when I get back. | 14:01 |
nullspace | woo hoo 1$ JJ sandwiches today!! | 15:31 |
brousch | nullspace: everywhere? | 15:35 |
_stink_ | brousch: i think so\ | 15:41 |
_stink_ | maybe different times | 15:41 |
_stink_ | on WSU's campus it's 11-3 | 15:41 |
nullspace | _stink_: same here | 15:41 |
_stink_ | o/o/ | 15:42 |
_stink_ | gonna head there in a bit, ofc | 15:42 |
Duolos | Just thought I'd report back on my Eclipse issue. Turns out I wasn't missing any fonts, but the default font didn't support italics :) All fixed. | 15:44 |
nullspace | Duolos: nice | 15:44 |
snap-l | Duolos: Ah, good to know. | 15:44 |
snap-l | You might want to post that back on the Stack Exchange thread for the next time that Wolfger does Google Fu | 15:45 |
Duolos | snap-l: haha good call | 15:52 |
jrwren | how do you get $1 JJ? | 16:04 |
jrwren | just walk in? | 16:04 |
Wolfger | Duolos had italics in his source code? WTF? | 16:11 |
snap-l | rick_h_: http://www.bluemic.com/reactor/ MMmmmmmmm | 16:30 |
nullspace | jrwren: walking in the doors is the hard party what with the line | 16:30 |
The_Machine | anyone use clonezilla who knows how to get more entries in the mount /home/partimag ? | 16:30 |
The_Machine | it shows 4 that i don't want to use at all | 16:31 |
The_Machine | doesn't show the USB drive i would like to use. :-/ | 16:31 |
snap-l | The_Machine: Does dmesg show the drive as being recognized? | 16:35 |
The_Machine | actually, i just figured out that i don't think it is being recognized | 16:35 |
The_Machine | as you suggest | 16:35 |
The_Machine | :-/ | 16:36 |
The_Machine | i hate this stupid old whitebox | 16:36 |
The_Machine | thanks for your response | 16:36 |
The_Machine | i'm just going to go shoot random people now. | 16:36 |
snap-l | I'd just recommend a trip to Microcenter and a party store. | 16:36 |
snap-l | but whatever works. | 16:36 |
The_Machine | er, i meant hug. | 16:37 |
rick_h_ | snap-l reminds me of the movie robots I think | 16:40 |
rick_h_ | one day I'll save my pennies for one of those pr-40 mics I think | 16:40 |
rick_h_ | I like how it kills sound once you're outside the mic | 16:41 |
snap-l | Yeah, I love Blue mics. :) | 16:45 |
snap-l | How dows redis compare with mongodb? | 16:46 |
snap-l | n/m, key value only vs. document | 16:46 |
snap-l | IN other words, another great way to lose data. ;) | 16:47 |
rick_h_ | hah | 16:47 |
rick_h_ | redis == replace memcached | 16:48 |
rick_h_ | makes a great cache layer, session handler, queue backend, etc | 16:48 |
* snap-l is going to write a k/v store called devnull | 16:49 | |
snap-l | fastest around, with all the data integrity you've come to expect from NoSQL / Memcache | 16:49 |
snap-l | store whatever you want: documents, k/v pairs, your entire msuci collection | 16:50 |
Blazeix | went to JJ for $1 sandwiches, the line was out the door, looked to be about a 30 minute wait | 16:51 |
rick_h_ | http://techcrunch.com/2011/08/18/google-maps-adds-a-weather-layer/ hah cool! | 16:52 |
rick_h_ | should have asked them to deliver :P | 16:52 |
rick_h_ | I want weather radar on my google map though :( | 16:52 |
The_Machine | JJ for $1 sandwiches what?! | 16:54 |
snap-l | rick_h_: Can do the same with Weather Underground's Wundermap, which also shows the radar | 16:57 |
rick_h_ | right | 16:57 |
The_Machine | Blazeix, where did you hear about JJs for $1? Can't find on website :) | 17:05 |
Blazeix | The_Machine: I heard it from nullspace at 11:31:32 :) | 17:07 |
The_Machine | hehe | 17:07 |
The_Machine | alrighty | 17:07 |
rick_h_ | lmao http://brianhaveri.github.com/Underscore.php/ | 18:05 |
snap-l | wtf? | 18:12 |
Wolfger | snap-l: what is with your long string of wtf's on Buzz? Man, you're killing the tattered remnants of my faith in humanity. | 18:23 |
nullspace | Wolfger: foolish of you to hold on to those remains | 18:27 |
Wolfger | they are gone after seeing nullspace buzz about the torture/murder of a Maybach | 18:27 |
snap-l | Wolfger: I live to sweve | 18:28 |
snap-l | and serve | 18:28 |
snap-l | man, what a typo | 18:28 |
snap-l | If you really want to lose faith in humanity, don't fire up Miro all summer | 18:29 |
snap-l | God, my database didn't get deleted, and I have a shit-ton of stuff downloading | 18:29 |
_stink_ | gah, sqlalchemy question and no rick_h | 18:33 |
jrwren | is that what became of ipodder? | 18:34 |
_stink_ | rick_h_: i'm trying to find a way to take a sqlalchemy object that inherits Base, and get all columns names AND all relationship attributes that sqlalchemy knows about. i can get the columns with <class_name>.__table__.c, but i can't find a way to have it tell me about relationships it knows about. any advice? | 18:41 |
rick_h_ | _stink_: https://groups.google.com/forum/#!topic/sqlalchemy/_wOvkh6xKss | 18:54 |
_stink_ | rick_h_: thanks much. | 18:55 |
rick_h_ | np | 18:56 |
rick_h_ | _stink_: what are you doing that you need to pull the list? | 19:00 |
_stink_ | rick_h_: i was playing with a sort of /metadata rest resource... like "give me JSON with all the objects i'm allowed to see and their attributes", filtered in some appropriate way | 19:01 |
_stink_ | if this strikes you as "you're doing it wrong", let me nkow | 19:01 |
_stink_ | obviously while only having to define the objects in the normal way, map them the normal way, and only specify the stuff to block from view. | 19:02 |
rick_h_ | so then how are you getting all the realtion data? | 19:02 |
rick_h_ | and how far down to you nest through them? | 19:02 |
rick_h_ | so I'd rather build into base a to_json() method that could do some of what you're doing, but allow for a place to override where you need some custom/extras perhaps | 19:03 |
rick_h_ | but understand what you're saying, making it universal requires some internals like that | 19:03 |
_stink_ | well, not getting the data at all yet, ergo my question :) but i only want one level, i think | 19:03 |
_stink_ | yeah | 19:03 |
_stink_ | i made a table to hold the stuff to block, e.g., for each object | 19:04 |
rick_h_ | ah, I'd just do a __no_json__ = [xxx, yyy[ | 19:04 |
rick_h_ | on each object | 19:04 |
_stink_ | so there's an 'object_metadata' table that says whether a client can know about it at all, and if so, what columns to blcok | 19:04 |
rick_h_ | so you can see when looking at the code if the property is blocked vs looking into the db in some table | 19:04 |
_stink_ | see, that's a good idea. | 19:04 |
_stink_ | yeah | 19:04 |
_stink_ | i like it | 19:04 |
_stink_ | so then i would have to have a to_json() on each that held column names and relationship attr names | 19:05 |
_stink_ | but i guess at least it's all in one plcae. | 19:05 |
rick_h_ | well you add to_json() to base and they all get it | 19:05 |
rick_h_ | could even create a JSONBase(Base) | 19:06 |
rick_h_ | and then your models that need to drop to json just User(JSONBase): __no_json__ == ['password'] | 19:06 |
_stink_ | and each would also need to be told specifically about its relationships too, right? | 19:06 |
_stink_ | becusae in to_json() in Base I'd still need for blah in self.c: | 19:07 |
_stink_ | ? | 19:07 |
_stink_ | for the columns | 19:07 |
rick_h_ | no, your code you're doing to that would be the way you're heading | 19:07 |
_stink_ | i'm just trying to understand how the generic to_json can know about the attributes in each subclass. | 19:07 |
rick_h_ | because each of those subclasses inherits from Base | 19:08 |
rick_h_ | so it'll know the mapper/etc in that instance | 19:08 |
rick_h_ | https://github.com/mitechie/Bookie/blob/feature%2Fapi/bookie/models/__init__.py#L80 | 19:08 |
rick_h_ | that's the code I use to make all my models able to be cast to dict | 19:08 |
rick_h_ | User.get(13) | 19:08 |
rick_h_ | return dict(User) | 19:08 |
rick_h_ | and the json module can jsonify all dicts | 19:09 |
rick_h_ | but that doesn't work for relations | 19:09 |
_stink_ | right, so you loop through self.__table__.columns. doesn't this leave out relationship attributes? | 19:09 |
rick_h_ | so I handle that manually: https://github.com/mitechie/Bookie/blob/feature%2Fapi/bookie/views/api.py#L66 | 19:09 |
_stink_ | yewah, ok | 19:09 |
_stink_ | i see, yeah | 19:09 |
rick_h_ | I base that on extra url params | 19:09 |
rick_h_ | so in bookie's case, if you want the readable content, you pass with_readable=true | 19:09 |
rick_h_ | and it'll append it to the root object's dict | 19:10 |
_stink_ | sweet, i see | 19:10 |
rick_h_ | so yea, you're still in your boat for finding relations in an agnostic way | 19:10 |
_stink_ | so i could just have __no_json__ to block columns, and __add_json__ to append relationship | 19:10 |
rick_h_ | sure | 19:10 |
_stink_ | i'm not sure there's an obviously better way, so that's cool with me | 19:10 |
rick_h_ | just be aware that every one of those add_json is another query | 19:11 |
rick_h_ | so don't do that in a loop | 19:11 |
rick_h_ | that's why I use the with_content, it changes the query that pulls the records to do an eagerjoin on the extra realtion | 19:11 |
rick_h_ | https://github.com/mitechie/Bookie/blob/feature%2Fapi/bookie/models/__init__.py#L508 | 19:12 |
_stink_ | not sure i understand. if i just want to be able to return a JSON list of attr names when this view is hit, would that cause extra queries? | 19:13 |
rick_h_ | hitting a relation for data causes another query to go out to go get it | 19:14 |
rick_h_ | User.get(13) only queries the user table | 19:14 |
rick_h_ | return User.addresses will then do another query to that user's addresses | 19:14 |
rick_h_ | if you have phone, address, email | 19:14 |
rick_h_ | that's three queries extra | 19:14 |
rick_h_ | and if you're returning 20 users, that's 60 extra queries | 19:14 |
_stink_ | ok, i see. right | 19:14 |
rick_h_ | so I'd not get too "automatic" building of a big object without a manual query with some eager joins | 19:15 |
_stink_ | i think this view avoids that, but i have to be careful about that once i start retrieving these en masse | 19:15 |
rick_h_ | right, start out with api calls for /user | 19:15 |
rick_h_ | but eventually you want /users/all | 19:15 |
_stink_ | ok, bookmarked those to look at when i start grabbing this | 19:15 |
_stink_ | sweet. | 19:15 |
_stink_ | this is very helpful, thanks much | 19:15 |
rick_h_ | np | 19:16 |
rick_h_ | http://thenextweb.com/insider/2011/08/18/hp-announces-it-will-discontinue-touchpad-stop-webos-device-development/ | 19:21 |
rick_h_ | man, what a day | 19:21 |
rick_h_ | crushing blow after crushing blow | 19:21 |
jjesse | didn't they just reelease the touchpad? | 19:21 |
brousch | a few months ago | 19:22 |
jjesse | and they are going to spin off the pc busines? | 19:22 |
brousch | but best buy sold so few they wanted HP to take them back | 19:22 |
jjesse | wierd | 19:22 |
ColonelPanic001 | any brave souls here know a bit of Java and mind having a look at a absurdly simple line to see why Eclipse says it's wrong? | 19:23 |
brousch | wimmwishes they could do the same, but they have nothing else to sell | 19:23 |
brousch | rimm | 19:23 |
brousch | ColonelPanic001: pastebin | 19:23 |
brousch | don't ask to ask! what's wrong with you, man? | 19:24 |
ColonelPanic001 | I'M SORRY OMG | 19:24 |
ColonelPanic001 | http://pastebin.com/bpRnYq3b | 19:24 |
brousch | i'm reporting you to The Leader | 19:24 |
ColonelPanic001 | this seems too simple to mess up | 19:24 |
brousch | i don't think jave does the ' and " like python | 19:25 |
brousch | i think you have to use " | 19:25 |
ColonelPanic001 | s/python/every other language ever/ | 19:25 |
ColonelPanic001 | heh | 19:25 |
ColonelPanic001 | okay. lame. | 19:25 |
ColonelPanic001 | I was hoping I wouldn't have to go through and escape all the " | 19:26 |
brousch | and then escape the inner "s | 19:26 |
ColonelPanic001 | thanks | 19:26 |
ColonelPanic001 | while I'm asking - what's ' do, then? | 19:26 |
jrwren | single char | 19:26 |
ColonelPanic001 | ah | 19:26 |
ColonelPanic001 | thanks | 19:26 |
jrwren | char c = 'c';<-ok string s= 'c'; <<--compile err | 19:26 |
jrwren | rick_h_: what is ClarkstonUnion? | 19:49 |
snap-l | The union in Clarkston? It's a restaurant | 20:07 |
snap-l | rick_h_: I think HP wants to reconvene to see what WebOS will look like in the next few years | 20:09 |
snap-l | because tablet / mobile is pretty much a three-horse race | 20:09 |
rick_h_ | jrwren: it's a great little place to eat | 20:10 |
rick_h_ | best mac and cheese | 20:10 |
rick_h_ | right in downtown | 20:10 |
snap-l | qualifier: best mac and cheese if you like the crock-style baked mac and cheese. | 20:14 |
rick_h_ | yea, rich stuf | 20:15 |
rick_h_ | rich stuff | 20:15 |
rick_h_ | but mmmm so good | 20:15 |
snap-l | (had some folks recommend a pizza place as the best pizza in Chicago, but I didn't like that style of pizza) | 20:15 |
rick_h_ | what?! no likey the chicago style deep dish? | 20:15 |
rick_h_ | ok, closing this day out...I'm toast | 20:15 |
snap-l | heh | 20:16 |
snap-l | rick_h_: I like Jet's style deep dish | 20:16 |
snap-l | and even Buddy's / Shields | 20:16 |
rick_h_ | you sir...need new taste | 20:16 |
snap-l | but for whatever reason, this didn't do it for me | 20:16 |
snap-l | We need to get you over here for some Perry's when you can spare some calories | 20:17 |
snap-l | I won't claim they're the best, but they'll definitely make your top 10 | 20:17 |
snap-l | top 5 even | 20:17 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!