gambler

search for more blogs here

 

"My Grails Moment" posted by ~Ray
Posted on 2008-11-13 11:53:38

In terms of configuration. Grails has no XML and the only properties files are i18n messages. Almost everything else is Groovy. I am familiar with 'convention over configuration' but I didn't know the configuration was so fluid and dynamic. Many of the language features of Groovy become perfectly obvious in the context of Grails. The big one for me was named parameters. As a Groovy language feature. I was neutral on it; in the DSL setting of a web application the feature is vital. Similarly for closures and other constructions. Also the MOP (Meta-Object Protocol) becomes extremely important. However it is so sublime that it is hard to "see". That is the Groovy code looks so lucid that it is easy to gloss over the machinations behind the scenes. The MomentIn Grails we created a test application and created a domain class. Subsequently we created an MVC controller for our app. At this point we had a barebones app that could be launched and viewed. Cool beans. However the turning point for me was that Jeff said we could generate a controller: that is. Grails would generate the full code and then we could tweak it. Without a hint of irony or coyness he warned us that it would generate a lot of source-code. Being from the Java world. I braced myself for the output. Surely it would be verbose impenetrable and a rats nest in terms of formatting. Surprise: the generated Groovy was gorgeous. Due to the brevity and style of the language the generated code was 2 screens long -- without doc. And I was able to grok it and start tweaking it immediately. At first. I just started changing some code. But then I realized that I was working with generated code. That was the profound moment. I understood. Below. I've provided the generated code for a Gambler controller (think of a casino app) on my local machine. Give it a glance.... As a hint the controller contains several methods which are actions (in MVC parlance) on either a target Gambler object or a list of Gambler objects. Note that I'm not asking if you can understand it cold. I'm asking "do you think you could understand it if warm?". Remember.. this is generated. Personally. I think it is stunning. Final Score: Grails 1 My Old Biases 0. Check out. class GamblerController { def index = { redirect(action:list,params:params) } // the delete save and update actions only accept POST requests def allowedMethods = [delete:'POST' save:'POST' update:'POST'] def list = { if(!params max) params max = 10 [ gamblerList: Gambler list( params ) ] } def show = { [ gambler : Gambler get( params id ) ] } def delete = { def gambler = Gambler get( params id ) if(gambler) { gambler delete() flash message = "Gambler ${params id} deleted" redirect(action:list) } else { flash message = "Gambler not found with id ${params id}" redirect(action:list) } } def edit = { def gambler = Gambler get( params id ) if(!gambler) { flash message = "Gambler not found with id ${params id}" redirect(action:list) } else { return [ gambler : gambler ] } } def update = { def gambler = Gambler get( params id ) if(gambler) { gambler properties = params if(!gambler hasErrors() && gambler save()) { flash message = "Gambler ${params id} updated" redirect(action:show,id:gambler id) } else { render(view:'edit',model:[gambler:gambler]) } } else { flash message = "Gambler not found with id ${params id}" redirect(action:edit,id:params id) } } def create = { def gambler = new Gambler() gambler properties = params return ['gambler':gambler] } def save = { def gambler = new Gambler(params) if(!gambler hasErrors() && gambler save()) { flash message = "Gambler ${gambler id} created" redirect(action:show,id:gambler id) } else { render(view:'create',model:[gambler:gambler]) } }} As described in the composing software has much in common with composing music: both require talent and skill and both have a spectrum from apprentice to virtuoso. At times when composing software there is the palpable sense of beauty -- the comp sci equivalent of hearing the chorus of. That feeling is I am a computer scientist part-time philosopher and part-time cyber-scriber. I live in St Louis. MO. USA and currently work on an agile dev team. I currently "think" in Java though I have torrid affairs with various scripting languages on occasion. I am not a musical composer but play guitar and am learning piano (on/off). I'm fairly literate with musical theory structures etc. That said my main hobby these days is triathlon. Alma Maters: and All posts are solely mine and do not represent the views of my employer. Nor do they represent the views of Apple. Google. Sun or Microsoft (since I have no affiliation with these companies that probably isn't surprising). All photos of people with stickers are taken with permission with a full explanation for their use.

Forex Groups - Tips on Trading

Related article:
http://codetojoy.blogspot.com/2007/11/my-grails-moment.html

comments | Add comment | Report as Spam


"I think it's safe to say The Gambler is coming back to Detroit" posted by ~Ray
Posted on 2007-12-15 14:45:49

Why you ask? News regarding Kenny Rogers and of Scott Boras just hit the wire... In an unexpected move to the offseason saga surrounding both remove agent pitcher Kenny Rogers and agent Scott Boras. Rogers informed Major League teams on Friday afternoon that he has dismissed Boras and is now representing himself in contract negotiations multiple baseball sources confirmed Friday afternoon. Sure sounds as if Rogers wasn't happy as to how uber-agent Boras was handling his free agency. When you feature this news with the which stated his 1st choice was to play in the D... "I would like not to address negotiations publicly," Rogers wrote. "I will say that I comfort hope to be in a Tiger furnish in 2008. Thanks for your understanding and patience during this process." . It's not hard to put 2+2 together. Rogers wants to put an end to all the games and get a broach done with the Tigers. Eliminating Boras allows him to do just that... When you factor in the utter lack of top-flight free agent pitching and the Tigers already losing a pair of top prospects to obtain Edgar Renteria thus making a change for starting pitching unlikely let alone risking the future re-signing Rogers is by far the best option for 2008. Let's wish I'm not misreading the signs. Not a good week for Boras was it? My first thought when I saw Rogers canned him was that Boras was spending too much measure on A-Rod. Apparently that wasn't adjust either. I'm a life-long Detroit sports fan who became fed up with the lack of quality sports coverage by the MSM. So I started "The Wayne Fontes undergo.". 500+ posts later it remains to be seen if that was a good idea... (And no. I'm not Eddie Munster despite what my leave's peak may undergo you thinking)

Forex Groups - Tips on Trading

Related article:
http://thewaynefontesexperience.blogspot.com/2007/11/i-think-its-safe-to-say-gambler-is.html

comments | Add comment | Report as Spam


"I think it's safe to say The Gambler is coming back to Detroit" posted by ~Ray
Posted on 2007-12-15 14:45:49

Why you ask? News regarding Kenny Rogers and of Scott Boras just hit the equip... In an unexpected twist to the offseason saga surrounding both remove agent pitcher Kenny Rogers and agent Scott Boras. Rogers informed Major League teams on Friday afternoon that he has dismissed Boras and is now representing himself in contract negotiations multiple baseball sources confirmed Friday afternoon. Sure sounds as if Rogers wasn't happy as to how uber-agent Boras was handling his remove agency. When you feature this news with the which stated his 1st choice was to play in the D... "I would prefer not to address negotiations publicly," Rogers wrote. "I will say that I comfort hope to be in a Tiger uniform in 2008. Thanks for your understanding and patience during this process." . It's not hard to put 2+2 together. Rogers wants to put an end to all the games and get a deal done with the Tigers. Eliminating Boras allows him to do just that... When you factor in the utter lack of top-flight free agent pitching and the Tigers already losing a unify of top prospects to acquire Edgar Renteria thus making a trade for starting pitching unlikely let alone risking the future re-signing Rogers is by far the best option for 2008. Let's wish I'm not misreading the signs. Not a good week for Boras was it? My first thought when I saw Rogers canned him was that Boras was spending too much measure on A-Rod. Apparently that wasn't adjust either. I'm a life-long Detroit sports fan who became fed up with the lack of quality sports coverage by the MSM. So I started "The Wayne Fontes undergo.". 500+ posts later it remains to be seen if that was a good idea... (And no. I'm not Eddie Munster despite what my leave's arrive at may undergo you thinking)

Forex Groups - Tips on Trading

Related article:
http://thewaynefontesexperience.blogspot.com/2007/11/i-think-its-safe-to-say-gambler-is.html

comments | Add comment | Report as Spam


"I think it's safe to say The Gambler is coming back to Detroit" posted by ~Ray
Posted on 2007-12-15 14:45:48

Why you ask? News regarding Kenny Rogers and of Scott Boras just hit the equip... In an unexpected twist to the offseason saga surrounding both free agent pitcher Kenny Rogers and agent Scott Boras. Rogers informed Major League teams on Friday afternoon that he has dismissed Boras and is now representing himself in contract negotiations multiple baseball sources confirmed Friday afternoon. Sure sounds as if Rogers wasn't happy as to how uber-agent Boras was handling his free agency. When you combine this news with the which stated his 1st choice was to compete in the D... "I would like not to address negotiations publicly," Rogers wrote. "I ordain say that I still hope to be in a Tiger uniform in 2008. Thanks for your understanding and patience during this affect." . It's not hard to put 2+2 together. Rogers wants to put an end to all the games and get a deal done with the Tigers. Eliminating Boras allows him to do just that... When you factor in the utter lack of top-flight free agent pitching and the Tigers already losing a pair of top prospects to obtain Edgar Renteria thus making a trade for starting pitching unlikely let alone risking the future re-signing Rogers is by far the beat option for 2008. Let's hope I'm not misreading the signs. Not a good week for Boras was it? My first thought when I saw Rogers canned him was that Boras was spending too much measure on A-Rod. Apparently that wasn't adjust either. I'm a life-long Detroit sports fan who became fed up with the lack of quality sports coverage by the MSM. So I started "The Wayne Fontes undergo.". 500+ posts later it remains to be seen if that was a good idea... (And no. I'm not Eddie Munster despite what my widow's peak may undergo you thinking)

Forex Groups - Tips on Trading

Related article:
http://thewaynefontesexperience.blogspot.com/2007/11/i-think-its-safe-to-say-gambler-is.html

comments | Add comment | Report as Spam


"Weekend NFL - American Football Betting" posted by ~Ray
Posted on 2007-11-17 15:26:32

Few expected these two to be play-off contenders but they have forged good seasons on the back of frugal defenses and this is where his game will be won. My gut feeling is Detroit to win at home (4-0) with Jon Kitna throwing well but he needs protection. The Giants rush defense is awesome - they sack better than the anyone else - 32 this year so far - and undergo four men on 4 1/2 each. The Giants also have a good preserve in Detroit - they have won the last three there - but the Lions have made it a mini-fortress this year. At 39/29 I am on Detroit pre-game hoping they give Kitna some lay and time. His ride is my major concern in this match and my finger will be ready to change out if he is hammered too much. Otherwise it is a good starting price when hoping for a tight game. Giants RB - Jacobs needs to make yards -they win when he moves the roll. Giants WR - Plexico Burress has a bad ankle and missed Wednesday training. Detriot Offensive Line - Protection for Kitna. Detroit RB - Can they act the ball on the floor? For these reasons: 1. Marc Bulger threw 302 yards in the Rams first win measure week v the Saints and completing 80%. 2. Rams running approve Jackson getting fit and running come up last week. 3. 49ers shut out by Seattle measure week. 4. 49ers RB pierce showed glimpses last week of his skill with a TD. So who wins? 49ers won their first two matches of toughen and then zip. Rams have one win - measure week. I am on the Rams as they have scored 79 points in last two weeks. At 4/6 it is a justified punt. I just cannot back the 49ers as they have shown so little. If they start well I may aim to trade but for now it is Rams.

Forex Groups - Tips on Trading

Related article:
http://www.totalgambler.com/tips/latesttips/3441/american_football_betting.html

comments | Add comment | Report as Spam


"Reader nears money - World Series of Poker Europe" posted by ~Ray
Posted on 2007-10-17 14:25:12

PokerPlayer reader Matthew Carter enters day three of the £10,000 World Series of Poker Europe Main Event with a real shot of making the money. But Carter who won entry into the tournament through a PokerPlayer freeroll still has to command his 58,400 stack through the dangerous currents of the table of death. Amateur player Carter has be drawn at the same delay as the ultra-aggressive pairing of tournament leaders. Gus Hansen and Patrick Antonius. And if that wasn’t enough who is sat directly to his right with lay on him? Daniel Negreanu. It won’t be easy but with just 84 runners left. Matthew has a great chance to reach the 36 money spots. 36th pays out &hit;27,150 which would be a good return on the be of a &hit;2.25 magazine. And if he keeps on going he stands to win a guaranteed &hit;1m first prize. Matt starts the day with around 30 big blinds and with well over 1m chips at the delay and some very lively players the PokerPlayer qualifier stands a great chance to get action if he hits some hands. Matt’s delay: Patrick Antonious 283200 Erik Joergensen 22100 Magnus Persson 165600 Matthew Carter 58400 Daniel Negreanu 31700 Willaim Durkee 92600 Sam Norman 29600 Gustav Hansen 349400 Sergey Feklisov 115500

Forex Groups - Tips on Trading

Related article:
http://www.totalgambler.com/pokerlife/pokerfeatures/2790/world_series_of_poker_europe.html

comments | Add comment | Report as Spam


"ANZ Cup Week 8" posted by ~Ray
Posted on 2007-10-02 19:51:03

I could be do by here but Canterbury I accept have incredibly covered every hit game they undergo played this toughen in the ANZ Cup. 7-0 ATS. Lucky 8th measure then:Taranaki to cover +22.5 v Canterburygood luck __________________"Be greedy when others are fearful be fearful while others are greedy" - Warren strike I could be wrong here but Canterbury I believe undergo incredibly covered every single bet they have played this toughen in the ANZ Cup. 7-0 ATS. Lucky 8th measure then:Taranaki to cover +22.5 v Canterburygood luck __________________"Be greedy when others are fearful be fearful while others are greedy" - Warren Buffet dave - challenge for you. Do you know much about Ripia and his bet? I've not seen him play before and would be interested in your thoughts about how you think he may go tonight. Also I imagine he ordain be on kicking duties tonight as come up is he a sharp shooter? __________________"Be greedy when others are fearful be fearful while others are greedy" - Warren Buffet dave - challenge for you. Do you experience much about Ripia and his game? I've not seen him play before and would be interested in your thoughts about how you evaluate he may go tonight. Also I create by mental act he ordain be on kicking duties tonight as well is he a sharp shooter? Seen him only 2-3 times as I'm pretty sure this is his first year for Waikato. Solid but nothing more is how I would evaluate him at this point in his career. Waikato would obviously in exceed cause If Donald was starting instead. stabilise goal kicker but would undergo slightly more faith in Donald. Seen him only 2-3 times as I'm pretty sure this is his first year for Waikato. Solid but nothing more is how I would rate him at this inform in his career. Waikato would obviously in exceed shape If Donald was starting instead. stabilise goal kicker but would undergo slightly more faith in Donald. __________________"Be greedy when others are fearful be fearful while others are greedy" - Warren Buffet Hey BAD. He hada brief appearence measure year for the Highlanders vs the Force. played NZ u19 iin 2004... Wisper is waikato undergo big raps on him :S Cant accept the determine NZTAB put up dave.... Opened $2.20 on monday.... ZOOOOOOOOOOOOOOOOOM. also fellas. NZTAB has shayne Williams @ $3.75 top cheat try scorer... determine... merchandise is $2.35. Hey BAD. He hada brief appearence measure year for the Highlanders vs the compel. played NZ u19 iin 2004... Wisper is waikato undergo big raps on him :S Yeah wouldn't be suprising if he does become a star its basically a production lie of talent over there. What Australia could do with someone desire Stephen Brett for instance alter now in France who is not even in the top 3 first 8th in NZ and not a starter in the Crusaders team __________________"Be greedy when others are fearful be fearful while others are greedy" - Warren Buffet Add for today a 2 event rugby union parlay :Counties +12.5 / Australia ML (1.83). 0.5 of a unitManawatu vs Counties. Australia v Wales. If Australia does win I evaluate them to get a tough challenge nothing like SA v England gldave __________________"Be greedy when others are fearful be fearful while others are greedy" - Warren Buffet

Forex Groups - Tips on Trading

Related article:
http://www.menstennisforums.com/showthread.php?t=110052

comments | Add comment | Report as Spam


 

 




blogs - aa blogs - air force blogs - aquarius blogs - aries blogs - army blogs - arts blogs - baby blogs - blogs 4 men - blogs 4 women - cancer blogs - capricorn blogs - career change blogs - choice blogs - christmas blogs - cigar blogs - cigarette blogs - cig blogs - coast guard blogs - coffee bean blogs - college baseball blogs - college basketball blogs - college football blogs - colleges blogs - computer blogs - create blogs - dating blogs - elvis blogs - email chat blogs - email pal blogs - enhancement blogs - fall blogs - fha blogs - freedom blogs - friendly blogs - funny blogs - gambler blogs - gemini blogs - her blog - his blog - hockey blogs - join blogs - javas blogs - kid safe blogs - leo blogs - libra blogs - apartments blogs - coffees blogs - horoscopes blogs - life advice blogs - lover blogs - marine blogs - married blogs - military blogs - misc blogs - more money blogs - mortgage blogs - move blogs - movies blogs - musical blogs - navy blogs - new in town blogs - obscure blogs - online date blogs - online game blogs - over 30 blogs - over 40 blogs - over 50 blogs - over 60 blogs - over 70 blogs - over 80 blogs - over 90 blogs - password blogs - pc blogs - mortgages blogs - peoples blogs - pictures blogs - pipe blogs - pisces blogs - poems blogs - poker blogs - police blogs - political blogs radio blogs - read blogs - recreational vehicle blogs - relocation blogs - reserve blogs - rv blogs - safe blogs - scorpio blogs - singles blogs - smokers blogs - smoker blogs - state blogs - state college blogs - taurus blogs - teen advice blogs - teenager blogs - tobacco blogs - tv blogs - vacation blogs - veteran blogs - virgo blogs - virtual blogs - weekly blogs - wingman blogs - word blogs - words blogs - writer blogs - poetry blogs - prescription blogs - sagittarius blogs - straight blogs - summer blogs - gi blogs - hooka blogs - penis enlargement blogs - vfw blogs - casinos blogs - casino blogs - web hosting blogs - hosting blogs - auto blogs - truck blogs - van blogs - suv blogs - 4 wheel blogs - harley blogs - flu blogs - diet blogs - pistols blogs - teenage blogs - lpga blogs - burnable blogs - new tunes blogs - coaching blogs - treasures blogs - trades blogs - nutty blogs - skate blogs - play 21 blogs - weather blogs - poker players - golf blogs - american blogs - football blogs - baseball blogs - hockey blogs - basketball blogs - soccer blogs - cooking blogs - recipe blogs - space blogs - 3d games blogs - barbecue blogs




the gambler archives:

11 articles in 2006-01
22 articles in 2006-02
27 articles in 2006-03
37 articles in 2006-04
27 articles in 2006-05
26 articles in 2006-06
24 articles in 2006-07
18 articles in 2006-08
22 articles in 2006-09
30 articles in 2006-10
22 articles in 2006-11
22 articles in 2006-12
12 articles in 2007-01
12 articles in 2007-02
3 articles in 2007-03
7 articles in 2007-04
11 articles in 2007-05
10 articles in 2007-06
3 articles in 2007-07
1 articles in 2007-09




next page


gambler