Camelia, the Perl 6 bug

IRC log for #bioperl, 2009-09-14

| Channels | #bioperl index | Today | | Search | Google Search | Plain-Text | summary

All times shown according to UTC.

Time Nick Message
02:00 kyanardag joined #bioperl
04:11 kyanardag_ joined #bioperl
08:39 ChanServ joined #bioperl
12:57 kyanardag joined #bioperl
13:20 kyanardag__ joined #bioperl
14:35 rbuels joined #bioperl
15:21 * rbuels goes loco with deafferret's cake
15:29 * deafferret snatches back the cake
15:30 rbuels deafferret: just got  back from vacation
15:30 deafferret parasailing?
15:30 rbuels deafferret: went backpacking in the wallowa mts in ne oregon
15:30 rbuels deafferret: best backpacking i've seen since colorado
15:32 deafferret did your bear bell work?
15:32 rbuels no, but my vulcan nerve pinch did.
15:33 rbuels on a bear, it's a little lower down
15:33 deafferret how do you sneak past the swinging claws?
15:33 rbuels which is convenient, cause you can just reach out of the tent flap and do it
15:33 rbuels speed.  raw speed.
15:34 deafferret Robert "Miyagi" Buels
15:35 rbuels paint the fence, man.  paint that goddamn fence.
15:35 deafferret what color?
15:36 rbuels white.  for purity and motherhood.
15:36 deafferret and coke
15:36 rbuels and cake.
15:38 deafferret glad you survived. did you feel me rubbing your chin whenever people asked hard questions in here or #moose?
15:41 rbuels nope, didn't feel it.  clearly you need to work on focusing your qi.
15:41 deafferret ooo... tip: when you backup all your backups every day you soon run out of disk
15:42 rbuels nonono.
15:42 rbuels PROTIP:
15:44 deafferret do try not to shatter my self esteem
15:45 deafferret i is a delicate flower
15:53 perl_splut joined #bioperl
17:03 xp_prg joined #bioperl
17:29 vein joined #bioperl
18:16 rbuels_ joined #bioperl
18:18 rbuels_ joined #bioperl
19:21 pyrimidine joined #bioperl
19:27 * deafferret goes loco with the cake
19:48 rbuels deafferret: good god man, do you do that every day?
19:48 rbuels that ain't healthy
19:48 * deafferret eats rbuels
19:49 pyrimidine now that's unhealthy
19:49 * rbuels gives deafferret indigestion
19:49 * rbuels also perforates deafferret's duodenum
19:54 deafferret no!! i needed that!!  (i think. didn't i?)
19:54 deafferret rbuels: feel free to buy me a larger iPod
19:54 deafferret then I will go loco with cake less frequently
19:55 rbuels pyrimidine: for those following along at home, the joke here is that deafferret and I are wildly disparate in physical size
19:55 deafferret wildly? is that a fat joke? jerk
19:56 rbuels lol
19:56 deafferret people follow this?
19:56 * deafferret taps on the glass
19:56 * rbuels presses his cheek to it and moves his lips like a fish
19:56 deafferret mmmmm fish sticks
20:06 deafferret hmm... this iTunes "Random Fill" is eerily similar to last week's
21:18 pyrimidine rbuels: around?
21:19 pyrimidine rbuels: or should that be 'ping'?
21:24 rbuels pyrimidine: pong
21:25 pyrimidine rbuels: Do you recall which bugs were fixed from the YAPC::NA hackathon?  Just readying up the Changes log for a 1.6.1 release.
21:26 rbuels hmmm
21:26 rbuels i have that info somewhere
21:26 * rbuels looks
21:35 rbuels 2346, 2537, 2844, 2847, and 2850
21:35 rbuels looks like.
21:35 rbuels pyrimidine: ^^^^^^
21:35 rbuels (sorry, small interruption for conversation with landlord about hedge trimming)
21:35 pyrimidine Okay, will add
21:38 * deafferret lools
21:39 deafferret rbuels: that how you're paying your rent?
21:39 deafferret sinner
21:40 rbuels lol
21:40 deafferret if your wife might find out you need additional trim hedging
21:41 deafferret it's all about risk management
22:04 * deafferret sniffs
22:04 deafferret truly, the passing of an era
23:03 deafferret rbuels: does this suck? do you have some values trick for this?
23:03 deafferret foreach my $region (keys %$tree) {
23:03 deafferret foreach my $country (keys %{$tree->{$region}}) {
23:03 deafferret foreach my $city (keys %{$tree->{$region}->{$country}}) {
23:03 deafferret foreach my $str (@{$tree->{$region}->{$country}->{$city}}) {
23:08 rbuels hmmmmm
23:09 rbuels odds bodkins.
23:09 deafferret c'mon. make me feel stupid again, Perl wizard
23:09 rbuels do you actually need $region, $country, and $city?
23:09 deafferret it's a tree I have to prune back, so ya, I think so
23:09 deafferret big ass tree, unless this and that, then subtree, etc
23:10 rbuels so you might need to delete $tree->{$region} for example?
23:10 rbuels or possibly just $tree->{$region}->{$country}?
23:11 deafferret um... I'm not actually pruning the tree -- the tree is my dataset from the databse -- but then I have all these arrayrefs over in this other spot -- region_choices, country_choices, etc....
23:11 deafferret the choices keep chanding based on user input and random business rules
23:11 deafferret the tree is a load-once dataset
23:12 deafferret i was just curious about nested hashref walking with less typing
23:12 deafferret i've been doing it like this forever... -shrug-
23:12 rbuels well you could do hash slices....
23:13 rbuels foreach my $region (@{$tree}{@$region_choices}) { ...... }
23:13 rbuels that might cut things down
23:13 rbuels if that is actually what you're doing
23:14 rbuels if you don't actually need to know the name of the current region...
23:14 rbuels (and similarly for the next levels
23:14 rbuels )
23:15 deafferret hmmm...
23:16 rbuels i dunno, i'm kind of shooting in the dark here
23:16 rbuels since i can't see the whole script
23:16 deafferret ya. let me write more so you can see all the suck
23:16 rbuels but seems like useful constructs here might be hash slices, or each(), or maybe recursion
23:17 rbuels you could use each() to reduce the typing.....
23:18 rbuels foreach my $region (keys %$tree) {     goes to    while( my ($region,$region_rec) = each %$tree ) {
23:18 rbuels while( my ($country,$country_rec) = each %$region_rec) {
23:18 deafferret -ponder-  ok, thanks
23:18 deafferret ya
23:19 rbuels or if you just want the leaves......
23:19 rbuels you could write a recursive function to get them.......
23:19 deafferret i think maybe I need a tree per ... hmmm    i hate writing code before I know what they want
23:19 rbuels ho ho, or a recursive function that walks down the tree and selects each slice.....
23:20 rbuels yeah i bet you could do something really cute with recursion there
23:20 rbuels make like a functional programmer
23:20 * deafferret puts on his Erlang hat
23:20 rbuels i put on my robe and wizard hat
23:22 deafferret mmm... think I will commute and ponder. back on from home
23:24 deafferret & stunt action

| Channels | #bioperl index | Today | | Search | Google Search | Plain-Text | summary