« first day (604 days earlier)      last day (4410 days later) » 
01:00 - 20:0020:00 - 00:00

8:03 PM
Speaking of emailing you @RebeccaChernoff: stackflair.com/Generate/options/theme=black/…
:'(
> An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
I do love how you give me tribute like that, but it breaks my <img> tags :-(
 
Stack(Trace)Flair!
2
 
Why would a suggested edit to a question (i.e. not a tag wiki) not have an "Improve" button?
 
Link?
 
@PopularDemand: Link or it didn't happen!
 
@TheUnhandledException I really need to finish moving that over to api v2 >_<
 
8:05 PM
Ah, never mind, I see it.
 
@RebeccaChernoff ahhh, that issue
No rush, my website gets such little traffic anyway. Just thought I'd make you aware
 
@RebeccaChernoff Crap, which reminds me that I need to take care of the Elections Site after I get done Data Explorer stuff |:
 
Page not found?
 
STACK EXCHANGE CODE TAKING ALL OUR TIME!
 
8:06 PM
hmm wait
that's a different error
 
@PopularDemand That's a bug.
 
ohhh, the sites listing is probably broken
 
The answer was deleted.
 
yeah, that's fixed in the partial v2 I have
 
8:07 PM
It shouldn't show you any buttons, in that case..
 
I thought waffles made all suggested edits on deleted posts go away?
 
Yeah, it's page not found for me too, now. Perhaps I loaded it at exactly the wrong microsecond.
 
@animuson Well, that's why it's a bug ;)
 
Must be a cockroach
 
For reference, if you're inclined to file a bug.
Add FHC to taste.
2
Oh, @jadarnel27, for the love of god do not let me forget to add user searching to Data Explorer too (and fix the fact that that page is too wide). :P
The way that page is right now, it's basically useless.
 
8:13 PM
I suppose I can do that before I head home for the day.
 
Interestingly it allowed me to reject the edit without complaint.
 
@TimStone Oh my. I've never been to the User list page before. Gross =)
 
It occurs to me I have no idea where to put queries when working with an ORM.
 
Very
@mootinator Hmm, with Hibernate in Java, you can have it precompile named queries by putting them in an annotation on the model object.
But otherwise we use static methods on the model class.
 
@TimStone Yeah, I should probably stick to the model class I'm returning, lol.
I wanted to return the right side of a join from the other class, but that doesn't really make sense.
Well, it does, but not really.
 
8:20 PM
Bug filed, if anyone cares.
And now I'm off.
 
Actually, my problem is that I'm trying to use ORM for retrieving a summary at all.
AHA!
Needs hql
 
Every time I can't use Dapper I shed a tear. I just want normal SQL. :(
 
I have to make a named hql query in GORM. I have a whole 1/2 day experience using Grails at all. This is going to be fun.
This is the problem with having the people familiar with the app domain and the people familiar with the framework not being the same people.
 
Yeah, I imagine so.
 
Get this done right away! Whoops, everyone knows half of what they need to!
 
8:27 PM
You're supposed to merge into one super developer, of course!
 
@mootinator Thankfully, GORM is quite "thin" for cases where you need advanced capabilities and need to dig down to Hibernate itself.
 
MegaZord! Er...MegaDev!
 
@cdeszaq =)
 
I recently started working with Grails and it's like a breath of fresh air. (and when it isn't, it's not Grails' fault, it's the frameworks it's built on that are actually getting in the way)
@mootinator I'm sure you've already found this, but if not, it will help: grails.org/doc/2.0.x/ref/Domain%20Classes/namedQueries.html
 
@cdeszaq I really do like it. It's like the stack I built for myself in ASP.NET MVC except I didn't spend all that time building it =)
 
8:30 PM
like I said, it's really thin when you need to dig down.
 
@cdeszaq I noticed this query today: Tag Rankings. It's pretty gross looking (although it doesn't appear to being doing anything all that fancy).
 
@jadarnel27 Yeah, that's the same idea as that other one we were talking about the other day, except this one just has it's "inner table" still in there rather than generating it and stashing it in a table variable.
That's typically how I usually write my queries that need to aggregate data and then do some other calculations / joins with the aggregate.
 
@cdeszaq What I'm having problems with is stupid things like whether I can slap some hql into namedQueries.
Or whether that's only for criteriabuilder stuff
 
@mootinator Is the Criteria Builder not quite to your liking? ;-)
 
@cdeszaq I prefer that technique as well, but mostly because using variables in SQL still weird me out.
 
8:38 PM
I want to stab criteria builder =)
Maybe what I need is patience.
 
@cdeszaq You're throwing off the balance of the universe
 
@jadarnel27 Better?
 
Much =)
27
Q: Add chat oneboxing support for comment links

darvids0ncommented: I think that pony has a jgs stuck in its hair.

 
@mootinator You can do HQL (still looking to see how that syncs with named queries)
 
First!
 
8:41 PM
@cdeszaq Yeah, I'm thinking I might just do some HQL and throw it in my service class, since the query really isn't going to return anything resembling any of my domain objects.
 
@mootinator umm... then what is it going to return?
@mootinator And yes, if it doesn't return a single instance or a list of one of your domain objects, it should probably be a service. (ie. if it's just a generic list of strings or numbers or whatever, then a service method is ideal)
 
@cdeszaq Aggregate data summarized by date.
 
@cdeszaq I just read a comment directed at you that didn't ping you. Golly, that dude is angry.
 
@mootinator So, something like a map like <String statName, Int statValue> (plus some date info) or something like that?
@jadarnel27 Lol, that's mighty funny. Don't worry, I'll defend myself (perhaps). I love a good word battle
 
@cdeszaq Something like SELECT table1.Date, table2.resource, table1.job, SUM(table2.qty), table2.unit of measure WHERE table2.resource IN (SELECT resource FROM table3) GROUP BY Date, resource, job, uni of measure
I guess I could conceivably criteria query that.
 
8:59 PM
@mootinator - I found you a couple of examples of doing calculations with GORM and HQL.
 
@RebeccaChernoff Heh, woops!
 
hugs her pre-twitter-bastardized version of tweetdeck
 
@cdeszaq thankyas
 
@mootinator No prob. The more people that happily use Grails, the better the framework gets. Good luck
 
@mootinator Heh, that's funny. Grails 2.0.2 was just released to fix exactly the security hole you talk about
 
@cdeszaq Oh nice, heh.
I'm stuck in 1.3.7 land for the forseeable future D:.
 
@mootinator That's rough
@mootinator The way they handle that issue now is that, for default "simple" mappings, only the domain classes' statically typed fields are bound/mapped and they changed the ordering of dependency injections.
Spring MVC actually gives much more control over the mapping issue, and i put in a grails feature request to make the Grails mapping better, but I don't think it will go anywhere.
 
Oh well.
 
9:14 PM
Blame ALL the devs.
 
:)
happy hour
 
I agree though that there isn't really any good solution because even the asp.net mvc method has issues, since you have more objects(code) to deal with.
 
in how much time?
 
9:39 PM
Upcoming events: in 1 hour Meta Stack Overflow Happy Hour
almost :)
see you in one hour
 
 
2 hours later…
11:52 PM
or not
 
01:00 - 20:0020:00 - 00:00

« first day (604 days earlier)      last day (4410 days later) »