hey
i have the following domain model:
class Location {
String name
static hasMany = [locations:Location, persons:Person]
}
class Person {
String name
}
so basically each location can hold a bunch of people + "sub-locations".
what is the best way to recursively query for all persons under a location (including it's sub locations, and their sub locations, etc')?
Hey Everyone!
I just want to get valuable suggestions from your side that which language should I go for. I have learned C, C++ and Java upto GRADUATION level. Now i want to be professional in any language. Which one should I go for. is it okay to start with VB or any suggestions from your side.
Thank you !
Hey guys.
Circles are one of the basics geometric entities. Yet there is no primitives defined in openGl for this like lines or polygons. Why so? Its a little annoying to include custom headers for this all the time!
Any specific reason to omit it?
Hey
I'd like to know how to use XMLHttpRequest to load the content of a remote URL and have the HTML of the accessed site stored in a JS variable.
Say, if I wanted to load and alert() the HTML of http://foo.com/bar.php, how would I do that?
Thanks!
Hey guys,
I have a UITableView and I am having an issue with whenever I try to click on the Cell. When the cell is highlighted it puts some test on top of the text that is already on the cell make the text on the cell hard to read. This only happens while I have the cell highlighted.
Please help me with this issue.
Thanks
Hey folks,
does anybody know how to change it ?
I mean from
target/test-classes ... target/classes .... maven dependencies
to
target/test-classes ... maven dependencies .... target/classes
It relates to this surefire-plugin feature request
It's because surefire-plugin cannot exclude resources from /target/classes ... it can only modify resources via <testResources> element that modifies /target/test-classes
Hey guys, i've this theme of the week script, easy, just post like normally, save in database and echo it in a column.
But since its theme of the week, i would like it to automatically renew the value to say "none" or "not set" after a week. I know cron jobs could do this but is there another way? [Running in PHP]
Hey, I'm trying to write a program in C# that will track the pressing of certain keys (using a keyboard hook), and send different ones instead.
For instance, when I press the A key it will instead send the Q key.
I used http://www.codeproject.com/KB/cs/CSLLKeyboardHook.aspx this for my hooks and tried to use the SendKeys function, but I get an exception about the garbage collector destroying some object inside the hook class.
Hey,
I've got a repeater which is placed inside an updatepanel. When the user enters a new value, the repeater is updated without a postback. Is it possible to get the row that was updated in JQuery so that I can place an effect on it to make the change less subtle? For example, I'd like to fade a new color in on just the row that was changed.
Thanks
Hey,
I want to include a file to be accessible to any method/function in a PHP class. The file just contains a base-64 encoded variable. How do I do this?
Thanks.
Hey all,
Does anybody know how to implement an HTTP PROXY with oauth for rails?
I'm using the oauth gem but am behind a proxy server.
Finding it very difficult to work this out.
Very frustrating!
Thanks for any help,
John
Hey, So, I've seen web developers writing in their CV that they create "SEO friendly sites.
". Also I heard that Wordpress is SEO friendly site and other CMSs.
So, what does SEO friendly site mean? I understand, that titles and URLs are probably the most important things for making good positions in google, but is there any other things which I should know?
Thanks
Hey, I've just finished writing a VB.NET application. Now I want to package the executable and the database ofcourse into a single installer file. I tried using QSetup, InstallShield to make SQL Server embedded into the setup file, and finally after hours of try&fail I have no idea. Anyone?
Hey.
I have a large amount of log data that I need to get some relevant information out of.
The syntax is:
WORD1 some text KEYWORD some text WORD2 WORD1 some text KEYWORD some text WORD2 WORD1 some text KEYWORD some text WORD2 WORD1 some text KEYWORD some text WORD2
Would it be possible to use regex to get a certain block out of it - so that when I queried some keyword it would return WORD1 some text THIS_KEYWORD some text WORD2
PS: There could be multiple instances of one keyword, it should return all of the blocks (preg_match_all, PREG_SET_ORDER?).
hey Folks,
Is there any way in ruby to get the memory address of objects..
say..
(i = 5) is that possible to get the mem address of that object 5..
I have been trying to get this over some time..,
Any answer would be really appreciated...
thanks,
Regards levirg
Hey All,
i am very new to iphone Development and i am asked to use nsxml parser to parse xml from a google api. i have parsed another url which has xml but i am not able to parse google's because it is using id's to store data rather than inside tag. i.e.
Can somebody help me that how can i parse the attribute inside the tag.
Thanks & Regards
Hey!
I want to check wether or not the iPhone is muted when the app starts, and I want some code to be run every time the mute-switch switches.
Is this possible?
Thanks :)
Hey all,
im building a webshop in Drupal and i was wondering if you could help me with the following problem:
I got one big image frame (500x500) and 5 little image thumbnails(95x95) underneath the big one.
How can i realise that if the visitor clicks on the thumbnail, the big image frame gets filled with that specific image?
hey,
iN eclipse, is there any way to view element under . How can I add more elements under types through design view instead of writing code manually? Thanks.
Hey,
I'm looking for a way to use something similar to link_to_unless_current but for sub URLs, so for instance for both these URLs:
/entity_name/
/entity_name/123
it will not result as a link. How can I achieve that in Rails?
Hey Guys,
I am wokring on a dialog, where in execution I want to round up all items that have a specific attribute and place an attribute value of their's into a comma delited list.
This is as far as I have gotten, which isnt far.
buttons: {
'Hook': function(){
$('.grid_pic:has(border=3)').(loop through id's, grab src, build variable with srcs comma delimeited)
}
Any ideas?
Hey,
I wanted to know if we can access the HttpContext class in the App_Code folder. I am asking so because i have a CommonMethods.cs class inside my App_Code folder.
I have written a method that checks if a cookie exists on the client machine or not, but it does not return the cookie.
Although when i write the same code on the ASPX.cs page i get the cookie!!
can anybody clarify me as in whats going on??
thanks
hey there,
in my google analytics account there is a page tracked usually opened as a javascript window.open() pop-up (same domain as referring page).
unfortunately, g.a. categorizes the pop-up page as entrance, although it is just a step in the whole navigation flow.
how can i avoid this?
thanks for your help!