Wednesday, November 30, 2005

Election called on Tuesday. That same day I see a Jack Layton sign on someone's yard (his wife is running in my area and the sign is likely from the last election). Then today, I see the Jack Layton campaign bus on campus along with TV network vans...

This is exactly what we need, politicians putting up wreaths and shit. Sorry, politicians and Santa (or the Holiday Armadillo or whatever) don't mix.

Tuesday, November 29, 2005

People do some strange searches. I notice them periodically when I check my site stats. I see for example a number of people getting to my site by Googling things related to sleep, waking up, and alarm clocks, because of my Alarm clocks are bad, wake up and feel better post </shameless plug>. I also get ones related to my posts like "fob hairstyles", "tropicana orange juice", "chinks japs", "harry cheung google", and "tikibar". Then I get ones from perverts, like "a girl & her mom sleep naked in bed", no idea how that search made it to my blog, but I'm guessing that they made it to this post. Who searches for stuff like this?!?!? If it was you, you can leave now. That person was messed up anyways b/c he/she used Yahoo search. Who uses Yahoo anymore?!?!? Unfortunately I don't have his/her IP address, otherwise I could make fun of them more....

Then there are the personal searches. These include my name and maybe someone else's with perhaps a verb thrown in there. People think they're searching anonymously. But they don't know that I can see what they searched for if they got to my page from a search engine. Reality check: every web page you go to can do the same thing. If you search for something and click on a link, that page can see what you searched for in order to get to their page. I figure that if people spy on me, I will spy on them. But it's not like you can really tell who did the search. At best you can nail down that the person searched from say NoNameCity, SomeProvidence and some other clues, but you can't tell who exactly it is unless you get like a search warrant (or whatever you need, like a gun) and get their ISP to tell you.

For future reference if you want to remain anonymous when searching for something, or you're going to a seedy webpage, or you want to get around content filters at work/school/library/etc., you can try Hide My Ass, which is a free web proxy. Just enter the address of the page (eg. http://www.google.com/) and they fake your IP address so that you can remain anonymous. Not that I have anything to hide...

I don't believe everying they say, but I think there is some truth in there and it's nice to see some actual reporting and investigation for once instead of this mindless and naive crap in the media. The video is similar to Fahrenheit 911 in that it takes a view opposed to the Bush administration, but goes at it from a different perspective.

Sunday, November 27, 2005

Recently I've been staying away from those cheap $1 packages of pasta. My recent thing has been Barilla brand pasta. It's a little pricier, but it's totally worth it. It's noticeably thicker, springier, and has more substance in its taste.

Then, after I watched Harry Potter, I went to the St. Lawrence Market as it was just across the street and I hadn’t been in there before. I was quite surprised by all the food that was inside, which was fortunate as I needed to get some groceries. There was a stand that was selling fresh pasta and true to their word, they were making pasta right on the spot. The pasta was soft, not dried out like the stuff you buy in stores. They also advertised the absence of preservatives, so I doubt that it has a long shelf life.

I bought a bag of fusilli and two small tubs of their meat sauce (they ran out of large). It lasted me two meals and set me back $10. I'm not sure what the price breakdown was, but it's more expensive than the regular stuff, but cheaper than in a restaurant and as good as anything I've had in a restaurant.

It was quite tasty. The pasta itself was awesome. It cooked really fast, faster than regular pasta (the Barilla pasta takes longer to cook b/c it's thick and dried) and had a great taste (I love carbs), texture, and feel. I didn't think that their sauce was anything amazing though. I think that my sauce tastes just as good. I don't quite remember the pasta at Marche, or what is now known as Richtree Market, as they have fresh pasta as well.

I don't think I can go back to the cheap pasta. I'd probably get the fresh pasta more often if the market wasn't so far away and had longer hours. I rarely do my grocery shopping during regular hours.

I grab the can of Pepsi on my desk and throw it back thinking that there's only a smidget left and this way I can get those precious last drops, only to find out that there's more left than I expected and I get Pepsi all over my face and clothes....and I just did laundry....

Who does this kind of thing?.... At least I'm on the right path for one of the Darwin awards....

I wish I had an ensuite washer and dryer like I had in Seattle. Sure beats having to take the elevator down 25 floors and carrying my laundry. At least I can do all of it in parallel, but it's a bitch when you forget something and you have to go all the way up, down the hall, and reverse to put in the volleyball kneepads into the wash....

While I'm at it, I'd also like to have the dishwasher I had in Seattle as well as a car. It'd be so much easier to get groceries with a car...

Though I enjoy riding on the subway and walking in downtown, minus the black stuff on the kleenex when you blow your nose, but it's WAY better than say.... Hong Kong.

I went to pick up "dinner" from Subway yesterday. I go inside and there's like a hundred kids in there! Ok, maybe like 8. I was like, no way am I going to wait half an hour listening to these 10 year olds scream and giggle while the ONE guy working there makes all those damn subs. I'd probably have a conviction some sort of brutal, grotesque, violent crime on a minor had I stayed there.

I didn't understand why there were so many kids there. It was almost 8 and it was right beside my apartment, across from U of T campus. Don't these kids get fed at home??!

Strangely enough, when I got back to my apartment. My suitemate and his gf were making dinner and they made extra for me. This was very strange. Never happened b4. It's been the other way around a couple of times b4. Apparently the gf did most of the cooking, but she says that she doesn't cook, which scared me even more. Dinner was actually pretty good.

Then, today, I went to go see the new Harry Potter movie. I quite enjoyed it. I had forgotten some of the book as I hadn't read it in 2 years (back when I was a bum in Winnipeg in the summer b4 grad school and I read the first 5 Harry Potter books in a week - I suffered huge Harry Potter withdrawal after that). I enjoyed it more than the previous (3rd) movie. One guy came with us that hadn't read the books and said that it was confusing and didn't follow it.

Anyways, how does this relate to kids? Well, sitting right behind us were some kids that were talking the whole movie!!!! It was annoying as stupid undergrads knocking on my office door looking for people that aren't there. The kids had obviously not read the books either as they were like, "oh, this and this is going to happen!!" and I was like "no, you stupid sh*t, you'd know that wasn't the case if you read the god damn book, now shut the f*ck up!" Who's idea was it to watch Harry Potter as a matinee on a Saturday anyways? FYI, don't watch kid movies during kid friendly hours.

Oh, and I found a decent cheap movie theatre - Rainbow Cinemas Market Square. Matinees are $4.25 and they play 1st run movies. Regular price is $7.50, which is decent. Though the theatre is pretty old school and small. Not as good as Cinema City in Winnipeg where you can watch a movie on Tuesday for $1.75 (cheaper with frequently available coupons) or $3.00 regular price, though it's 2nd run movies (after the main theatres, before DVDs).

Wednesday, November 23, 2005

I was browsing through my feeds in Google Reader and saw this post on Blogger Buzz about adding personal touches to you blog. Then I see this picture, and I'm like, hey! My cat has that stuffed animal too! Freaky. Though, my black and white cat is much cuter than the one in this picture.

Funny thing about that stuffed animal. It looks a lot like my older black and white cat, and my younger, orange tabby cat likes to chase my older cat and attack her (she's lost weight ever since we got the second cat as she's had to run more). Anyways, my orange cat also enjoys attacking this stuffed animal pretending that it's my other cat :p

Tuesday, November 22, 2005

I just went to go grab a hot dog around the corner from Frankie's (the hot dog stands around campus are awesome), but he was no where to be seen. I guess he had already packed up for the day. Ordinarily I would then just go to Sid Smith and try the hot dog stands there, but it was too cold! Earlier in the day, it wasn't bad, so I was too lazy to bring my gloves and toque for this short trip, which I now regret. The wind just made it brutal...

When did this happen? The other day I was walking outside in a t-shirt (granted just down the street briefly), and today it's freezing outside. Like it's not that bad, but comparing to the other day, it's horrible.

I so need to move somewhere warm. I think I'm losing my Winnipeg tolerance to winter.

I'll probably try again later to get some food when I'm better prepared, but for now I'm settling for a bag of vending machine pretzels.

Monday, November 21, 2005

Uploading amateur video onto the web is starting to get pretty big. And of course, as with most stuff on the Internet, this was first pioneered by the porn industry, perhaps the most innovate group on the Internet.

The thing that gets me are that these videos are really cool and entertaining and you'd never see them on TV at least in their full length glory. Aside from America's funniest home videos (again, the full length video wouldn't be there and only "funny" videos would be on that show), the Internet is really the only outlet for distributing this kind of stuff....

Anyways, aside from the fabulous golf video, here are two videos I found today that are jaw dropping and insanely entertaining.

Crazy Christmas light display - My theory is that the guy recently got laid off and is using this as a way to land a job, because it's obvious that he has WAY too much time on his hands and doesn't have a job or life.

Update (later that day): Not sure why this stuff amuses me so much (nostalgia?), but here's a guy playing mario on the piano, blindfolded. Short version, long version, his webpage. Check out the end of the video, he just goes crazy - Super Mario World when time is running out! This makes me want to learn how to play piano.... Hmmm... I wonder how this music will be viewed like 100 years from now, like will it be as cherished as Beethoven? Considered to be classicial music? Some orchestras are actually playing Mario music nowadays....

Nebojsa says my superpower is "to take any algorithm and make it work". My weakness appears to be Civilization 4, which I've been playing way too much ever since I got it on Wednesday, hence the lack of blogs since then :p. I've been a big fan of the series ever since the first one. I like it so much that I actually bought it! That's saying a lot ;)

My whole sleeping schedule's all screwed up ever since I came back. Until last night, I hadn't gone to bed before 6 am. I guess it would be me going to bed at the same time as I was in Seattle, so basically I just didn't change time zones. No particular reason though for staying up so late. Just too lazy to go to bed.....

Civ 4 just made it worse. One day I'm up for 24 hours straight, then next day, after going to bed well after the sun has risen, I'm only awake for 12 hours before going to bed at a decent time. I need to fix this....

Wednesday, November 16, 2005

By popular demand (ok, 1 person), here's a magic trick to entertain you.

Pick the number of days that you'd like to have sex this week (1-7).

Multiply this number by 2, because you'll want twice as much.

Add 5, man you're naughty.

Multiply by 50, because you get 2 weeks of vacation in a year.

Add 1754, no idea what's going on here.

If you've already had your birthday this year, then add 1 for bonus.

Subtract the four digit year you were born (19XX).

What you're left with is the number of days that you want to have sex this week followed by your age. Pretty clever huh? No, but at least my commentary was somewhat entertaining...

Are you a Potentate of the Rose? Check out the Petals Around the Rose game. It's a fun, simple game and can be done either on or offline. Some dice are rolled and you have to guess the score. The answer is always zero or an even number. That's all I can tell you and that's all there is to it.

If you figure out what's going on, then you get to join the exclusive club. The only rule about being in the club is to not tell anyone so that the game can continue to drive them nuts. Best played with a group of people when you can have some keeners get it and then laugh at the strugglers 8-|

It was a rather comforting feeling being back in my bed last night. I like my mattress here. Not too soft. Not too hard. My mattress in Seattle was alright, but I didn't like their mattress cover thingy b/c it bunched up sometimes.

The thing that most surprised me was the feeling of my blanket. I had completely forgotten what it felt like. I didn't particularly like the blankets in Seattle. The bed was like a hotel bed - flat sheet, fuzzy blanket, flat sheet, thin colourful blanket. The housekeeping people also tucked in the sheets like in a hotel. Sometimes I like to sleep with the blankets all tucked in, but other times it feels to restricting. I only now realize, after sleeping back in my bed, why it doesn't feel the same. With those blankets, what happens, especially when the sheets are tucked in, is that you get the "tent" effect. The blankets will cover you, but drape off you very gradually, leaving an air gap between you and the blankets, plus the blankets feel dense and the layers can get mis-aligned.

I have a goose down blanket here. It's thick, but fluffy and light. I use it throughout the year - keeps me warm in the winter, somewhat cool in summer. Lying in bed last night, I really felt the difference. It was such a comforting feeling. The blanket hugged me completely, but was not suffocating as it's light. The air gaps were very minimal as it naturally filled in all the empty space between me and the blanket. Just an amazing feeling.

Of course, I had my pillow with me in Seattle. Anyone that is familiar with my sleeping habits knows that I don't go anywhere without my pillow. Seriously, if I'm travelling anywhere, I take my pillow with me. What's so special about my pillow? It kicks ass, that's what's special about it. What? Ya, that's right, it kicks ass. You're crazy. I know.

I have a buckwheat pillow and have had one for who knows how long, probably like 10 years or something. My pillow is filled with grain. What? Yes. Grain. It's kinda weird, but I love it. I love how it conforms to the shape of my head and neck, provides amazing support, feels great on my head, and doesn't retain heat (the old commerical took a blow torch to the pillow, so I guess it's also not flammable). When I use other pillows now, my neck is usually sore when I wake up. I just got a Duo Bucky pillow a couple months ago to replace my older buckwheat pillow (which was many years old) and it's great. This particular pillow has both buckwheat and millet inside.

The best part of having a buckwheat pillow are the KO's you get when you have pillow fights ;)

I got back into Toronto late last night, but was too lazy to blog about it.

I went to Seattle with 2 extremely packed suitcases, each weighing at least my weight. I thought I was going to get my ass kicked by the check-in counter lady, but by some act of god (I don't believe in god, but maybe it's being in america so much that everything has to be about god), she didn't even weigh my luggage!!! It might have been b/c I was late and they pulled me out of the line to check me in b/c the line was long. Anyways, so I had no idea how much I was bringing.

I came back to Toronto with 3 bags, 2 of the overweight and got rapped up the ass sideways twice by the airline. So, apparently all the airlines are now limiting luggage to 50 pounds, instead of 70, which seems so anachronistic (that my friends, is a GRE word!!!). By the law of technology, things should be getting better, faster, cheaper, more efficient, and less polluting, yet the airline industry is reducing how much I can carry! This is not progress! This is proof of America's recent abomination of science! I blame Bush.

So, that's $80 for the extra bag. $25 for each overweight bag. My luggage was 70, 60, and 25 pounds. Yes I could've distributed the weight better (well, it would've been hard considering the size of my third bag). I handed over my credit card for the US$130 bill. Fortunately, Microsoft pays for relocation costs :D

But seriously, the worst thing is that from now on, I'm going to have to travel super light, this includes my upcoming trip to Winnipeg (in the middle of winter) and LA/Mexico (which necessitates minimal amount of clothing). How am I going to pack winter and summer clothes in a single suitcase (won't be able to bring more than 1 suitecase onto the cruise) in addition to Christmas presents (bringing them back to Toronto) all within 50 pounds???!!?!?!? Impossible.

Back to the trip. My flight was direct to Toronto, with a brief stop in Chicago. I'm reboarding the plane, and I see this guy that looks crazy familar, but it can't be him, why would someone I know who should be in Toronto be in Chicago on MY plane? I'm like totally staring him down as I'm standing in the aisle of the plane waiting for the people in front of me to move. He glances back. I'm not sure it's him though, but as I walk past him, I see the mole on the side of his neck and man, it's gotta be him!

Landing in Toronto, the custom's guy doesn't even bother looking at my I-94 visa stuff and just waves me on. My luggage comes out on the wrong belt, but crazy fast. I get outside the baggage claim area and the guy is with his brother (who was also on the plane) and their gf's. I know both JP and Ann from volleyball this past summer. Totally crazy that he was on my plane. He apparently was in Japan and had gotten re-routed through Chicago on his way back.

I jumped in a cab (courtesy of Microsoft) and got home just after midnight.

The thing about high speed internet at home is that you don't appreciate it until you've been on dial-up for a while. Man does it ever feel good! I'm so used to waiting for pages to load. Of course, I had crazy fast high speed at work, but my ports were limited (at least on my laptop) and didn't use my desktop there as much for leisure purposes as I would my home computer.

Oh, in unpacking today, I see this stray piece of paper in one of my suitcases. "Notification of baggage inspection". Apparently they checked my bag. Didn't seem like anything was moved around, so I'm guessing they just popped it open and the dog didn't smell any explosives. That's never happened to me before. I guess that's why they tell you to not lock your baggage when travelling in the US b/c they will break the lock to peek inside (says so on the paper that they "may have been forced to break the locks on your bag").

Monday, November 14, 2005

Speaking from experience, leaving work at 1 am on Friday, Saturday, or Sunday nights is great in that you completely avoid the rush hour. Plus, with the super smart traffic lights here, all the lights turn green for you by the time you get to the intersection :)

However, Microsoft gives off clear signs that you're working too late and actively discourages people from working late. Usually, the first sign is that the lights in the washroom are off. They turn off automagically when no one's used it for a while. This phenomenon is typically observed around 6 or 7 pm on weekdays. Fortunately, the lights automagically turn on when noise is made in the washroom, which is fortunate for those long occasions in the stall - sounds of struggle keep the lights on.

The second sign that you're working too late is when the building ghosts get restless and play with the lights. This freaked me out the first couple times it happend. The lights would flicker in the evenings. I was quite startled by the power failure, but relieved when my computer didn't shut off. It was as if god him/her/themselves blessed me and saved my computer! I would then panic and quickly save my work in case the god(s) changed hi/her/their mind. Sometimes, the lights would go off for prolonged periods of time and I would begin to wander the halls of darkness in confusion, but then suddenly, as if an act from god(s), they'd relight themselves and I would rejoice as I was blessed with light from the light god(s)!

I later found out that it wasn't ghosts that were playing with the lights, but rather it was an energy saving feature. The light flicker signals the immenent disapperance of light. To save yourself from working in the dark, you must go and flick the switch on the wall in the hallway, which buys you another 2 hours of artificial sun. I have studied this marvel quite thoroughly and it starts at 9 pm on weekdays and runs continuously on the weekends.

Hmm... it's currently 11:50 pm on a Sunday, why the hell do i hear vacuuming?....

Sunday, November 13, 2005

Why the hell is "How the Grinch Stole Christmas" already playing on TBS??!?!? That's just retarded. Check your calendar people! It's November! Still a month and a half until Christmas!!!! Yes, the movie will get old after airing it 1,000 times this holiday season!!!

Starring

Must..... have.... more..... Battlestar Galactica!!! Someone give me a hit!! Anyone?!?! I just want one more episode!!! I'll do anything!!!

AAAAHHHHHHHHHHHHH!!!!!!!!

Edit (after several hours of counseling):

Hi, my name is Vincent andI'm a Battlestar Galactica addict.

Having gone through Harry Potter and Desperate Housewives, I moved onto Battlestar Galactica. Watched the mini-series (basically the length of a movie), the first season (13 episodes), and caught up to the most recent episode in season two (episode 10). Unfortunately, no new episodes until January :(

If you've seen the show, you probably know why I'm addicted, if you haven't, then you probably think that only light sabre swinging, dungeon dragon playing, Star Trek obsessed, overalls up to their neck, nerd geek freaks would watch a show called Battlestar Galactica. I was just as skeptical when I first heard of the show. With a name like Battlestar Galactica, you just expect it to be another Star Trek / Babylon 5 / other space nerd show. Well, it's not.

Battlestar Galactica is not about traveling faster than the speed of light, fighting aliens, discovering new planets, or using futuristic technology, the show is all about what it means to be human. The story is set-up through the genocide of humans by our own creation, but soon questions our humanity and reflects on how we live in our current civilizations. The characters make the show and they are amazing and the character development is really deep. The characters are real people. The script is clever and well written.

I implore you to give it a shot. Watch the mini-series. It's only the length of a movie. Otherwise I'll force you.

Also, it's not just a show for guys, to my complete utter surprise, I met several females over the weekend who watch Battlestar Galactica, and one of them is not a techie at all - she works in HR and was not at all impressed by my binary joke.

Here's a wiki about the show. And for the guys (and girls who swing the other way), here's a very convincing argument, my current obsession, Grace Park, who unfortunately does not wear such outfits on the show (for the girls out there, she's quite clothed on the show).

Sunday, November 06, 2005

Oh, and around 3, this girl that's on the Xbox team goes to her car and brings in an Xbox 360 :)

It's not even out until the end of the month! All (zero of) my friends on the "Internets" are gonna be so jealous!!!

It was pretty fun. I was told that I can't disclose any information or share pictures.

Actually the UBC engineer and one of the Waterloo girls are both on the Xbox team and they were like, it's not a big deal to them b/c they play with it every day and see people playing on it all the time. The rest of us were like, hey it's cool and wanted to check it out, but none of us were huge gamers or anything. You know, only 3 people got punched and 1 guy got knifed in choosing who got a controller. The strangest and funniest thing was that me and another guy were playing this one game (can't disclose which game) and the two girls were telling us what to do. It was just the strangest feeling...

Not like they were geek girls, ok, well, everyone there was geeky, but they don't appear or act geeky, like you wouldn't pick them out of a crowd as such. It's cool that way though. Geek is chic.

I picked a great day to go to the Hot Sake dragon boat practice. It was like the coldest day since I've been here (high in the single digits), plus it was raining pretty hard. I don't have any rain or snow/cold weather gear with me here. I scraped together any clothing that was almost suitable for the weather and managed to keep warm. As nothing I have is water proof, what I did was just layer like crazy so that it'd take the rain a while to seep through all the layers :p. T-shirt, long sleeve, sweater, wind jacket, life jacket. Fuzzy pants + track pants. Two pairs of socks + runners. Hat from the company meeting + hood from my jacket. Crappy stretchy wool gloves. Surprisingly, while I could see my breath and anything exposed was completely wet, I was really comfortable. Didn't even notice the rain or cold, but it might have been the pain that drone it out.

I had a good time and the company was really cool. This group of people just doesn't do anything small, which is awesome. 20-something people showed up to paddle in the rain and we took two boats out. It was pretty hard as they were doing like 22 min. of continuous paddling on each side and my muscles don't nearly have enough endurance to do that right now, considering that it was my first time dragon boating. I'm pretty sore today - upper back is pretty bad, my butt has got to be seriously bruised or something, and my side muscles are sore.

They had an end of the year meeting later that day and I crashed the party after the meeting. They had it in one of the peoples' house. I get inside and there's like this massive group of people.... Everytime I see them, it's a big gathering. They have like 40+ people in total, not sure how many were actually there, but quite a bit more than at practice. The group is really cool, it's an interesting mix of people - ranging from around my age to undisclosed ages, good balance of guys and girls, people of all colour, and as typical of my experience here, few Americans :p. A bunch are from Microsoft, but there's also representation from Amazon, Starbucks, and the unemployed. We had good representation of engineering from across Canada too - a girl from computer engineering at UBC, me from comp. eng. U of M, and two girls from systems design engineering Waterloo. Aside from dragon boating, the other common denominator that I see that strings them all together is that they all act as if they're in their 20's :)

Not too late in the evening, we shifted over to another couples' house back in Bellevue. Apparently the convoy of cars is quite typical. We lost some people, but still had something like 20. House party where the people throwing the party actually owns the house, that's new :). There was some indoor volleyball going on :). It was a pretty late party, didn't end until 4 in the morning :p.

The only bad thing is that I only met all these people like a week and a half before I'm leaving. Just as I met some people that are cool to hang out with and fun to socialize with...

Saturday, November 05, 2005

Every fracking person I meet in Seattle is from Canada! (frack is from my current tv show obsession and is freely substitutable for it's more common 4 letter word, including all its derivatives)

I went to the University of Washington Huskies women’s volleyball game against Stanford last night with some people from volleyball (Huskies are ranked #2 and Cardinals #4, so it was a good game and the Huskies won). Little did I know that they were going as this massive group of 22 people. I later found out that their connection is dragon boating and I’m going to their practice tomorrow/later this morning. The guy that organizes this volleyball watching is like a crazy fan of women's college volleyball. He knows all the players on all the teams by name and their stats and histories, etc. It's sick. A bunch of these people are pretty regular viewers of the Huskies games, and it’s good volleyball to watch. The Huskies haven’t lost a game this season and have only dropped 3 sets out of like 30 or something. So anyways, after the game these guys (and girls) go to the “Ram” for food and it’s kinda funny because I guess their two reasons for going are because it accepts the Microsoft prime discount card and that the volleyball players often go to this place after the game. We saw 3 of the Huskies players there last night, they were sitting at the table on the other side of the glass from us. Gawking ensued.

Anyways, back to the central theme of this post - I have yet to meet anyone from Seattle!!! The stupidest thing is that one of the guys last night grew up in Winnipeg and graduated from the U of M in computer engineering. C’mon!!! Can I never escape these people??? Then there was this girl from Toronto (ok, Etobicoke) and like half the people were from Canada.

I guess the first sign was orientation when I met this girl from Toronto who ended up knowing some of my older sister’s friends who were in Seattle that were originally from Winnipeg. I met up with all them when my sister was in town. Chalk up a couple more Winnipeggers that I met in Seattle….

Then all these interns. None of them are American. These winter interns are worse because they’re all from Waterloo. When I went hiking at Mount Rainier, out of our like group of 10 or something, there was like 1 American. I went to this Fright Fest thing last weekend - Halloween theme at the local Six Flags amusement park, i.e. haunted houses and roller coasters. Anyways, the Six Flags here blows, the rides are all crap, but that’s because it was bought by Six Flags, not built as a Six Flags. The Six Flags over Texas is still the scariest. My pants are still wet from the longest and highest wooden rollercoaster in the world, which was incidentally my first rollercoaster and I was 10. But now all the rollercoasters are just elevator rides. I digress. Half of our group of 6 was from Waterloo, I’m from Toronto/Winnipeg, that makes 2/3 Canadian. The other two were from the Netherlands. They were pretty cool and I spent most of the evening talking to them. Europeans are cool.

That reminds me, I’m famous to the point of getting recognized on the street! Soon I’ll no longer be able to go to the grocery store without disguise. Ok, fine, that’s not going to be a problem. Anyways, one of the Waterloo guys was like, did you write a cycle stealing program that got passed around? I was like no. Then, I was like, umm… wait, I did write such a program, but I didn’t pass it around. Well, a while back, my supervisor told me to send an e-mail to the HPC (high performance computing) guys about my distributed computing system b/c I might need to use their resources to run some stuff. Apparently the e-mail got forwarded around the group and that intern was from HPC.

I digress again. So, when people ask me what it’s like in Seattle. I answer that it’s quite similar to Canada, but my view is skewed because every goddamn person I meet is from Canada!!!!

Oh wait, now that I think of it, I have met some Seattleites. Of course, from volleyball. Everyone I know I met through volleyball. But these Seattleites do not play at the Pro Club – those are all Microsoft employees and none of them are from around here, and many are not from the States. I’ve gone to a school in Redmond a couple times for pick-up volleyball and as that’s more local, I’m quite sure that at least some of them are from Seattle. At least the kids. There are some guys that I’m pretty sure are high school players, so there, I have met some people from Seattle. Of course, conversion is limited on the court and mostly I’m just screaming for help (the passing’s not so great there).

This topic came up over one of those 2 hour lunches with my supervisor and my fellow slaves here. I don't quite remember how we got onto the topic, but I started educating the Yugoslavian, Mexican (not Mexican’t), and the American about the whole Quebec separation thing. It’s a strange thing because supposedly, if the majority votes for separation in a referendum, then Quebec would separate. The kicker is that there’s essentially no limit as to how many referendums there can be. There’s already been 2 and there’s talk of a 3rd. One majority of “yes” means separation, regardless of how many “no” referendums there are. But once you get that “yes”, then that’s it, there’s essentially no going back. So, in the limit, you’re basically guaranteed to have separation…

Now, is this how irreversible decisions should be made? Repeated attempts at doing something, with basically no consequences of failure, but a success is final. Seems rather strange. If you get a bad sample (i.e. strange voter turnout), then this could skew the results. I guess maybe that’s why Jean Chrétien was saying that 50% + 1 vote is not enough…

So, the reason I thought of this recently is the whole digg thing. My most recent attempt at getting onto digg worked, but after appearing on the front page for half an hour, I was unceremoniously removed. There are mechanisms built-in so that stories can be weeded out by the people. Not sure if a story is removed if it gets a certain number of “bad” votes or it’s a thing of say, “if more problem reports (or some fraction) than diggs, then kill”, but once it’s gone, it’s gone (I asked). Now, this is a strange way of dealing with things. People may report the story for the wrong reason or out of jealously or whatever, or maybe you get a bad sampling of the population. But, it’s one of those irreversible decisions handled by some sort of “voting public” where the vote can be done limitless number of times, but once you reach the breaking point, there’s no going back.

Am I bitter? No. Am I disappointed? A little, but I’m over it now. Just ranting about the oddities of the world. Do I have a better solution? Not really, but it does seem like some educated and intelligent higher power, leader (i.e. not Bush), or committee/judge panel should be calling the final shot on things like these.

Tuesday, November 01, 2005

The great thing about the hierarchy in a company is that it gives you an instant view of your position in the company and your power. It also serves as a great measure of your worth and importance compared to your fellow employees.

For example, I am just a measely intern, but one at Microsoft Research, not just a product group, and I am 6 levels down from Bill Gates (who remains the symbolic leader here, as even Steve Ballmer is below Bill).

This may seem quite far down, but I've seen product groups go down to more than 10 levels, as they're strangled in significantly more hierarchy and faced with more scrutiny from the (many) higher levels.


Q:

How does water supply enter into a pedestal house in cold climates?

I do a fair amount of traveling through West Virginia and other Appalachian destinations and I have noticed a number of pedestal houses (that stand on concrete piers, wooden posts or a combination of the two), most of them looking like 2nd homes or cabins.
My initial confusion is, having installed water supply into my detached shed and having to dig 3 ft to reach below the frost line so the pipe doesn't freeze in the winter and having a frost hydrant inside the shed to turn water on/off down below so that no water remains in the frost accessible areas, how is this problem solved with pedestal homes?  I mean, if the whole house sits on posts, and the water supply plumbing comes from the ground, then the section of the pipe between the ground and where it enters the house is unheated and could freeze no matter how much insulation you wrap around it.
For regular homes that sit on a slab, assuming the inside is always heated and above freezing temps, the pipe goes in from under the frost line straight into the heated area, i.e. it is never exposed to the cold, unlike is the case with pedestal homes.

A:

Typically in an insulated chase, with heat tape. A more minimal install may just use heat tape and insulation without a chase, but it does not last well - but that's usually what you'll find under mobile homes that are not "on a foundation" in Maine, for example. A high-class operation will use internal "heat tape." A low end operation, or one with a gravity pressure water system (well higher than the house) may simply have a faucet they leave dripping all winter.
For a second home or cabin, the water may just be shut off for the winter. Drain everything, put some antifreeze in the toilets and sink traps.


662 F.2d 345
Francisco SALINAS, Plaintiff-Appellant,v.Richard S. SCHWEIKER, Secretary of Health and HumanServices, Defendant-Appellee.
No. 81-1232

Summary Calendar.
United States Court of Appeals,Fifth Circuit.
Nov. 25, 1981.
Luis M. Segura, San Antonio, Tex., for plaintiff-appellant.
Hugh P. Shovlin, Asst. U.S. Atty., San Antonio, Tex., for defendant-appellee.
Appeal from the United States District Court for the Western District of Texas.
Before GEE, GARZA and TATE, Circuit Judges.
PER CURIAM:

1
Plaintiff Salinas filed an application for disability insurance benefits, alleging that he was unable to work.  The application was denied administratively, both initially and on reconsideration, after a physician and a disability examiner evaluated the evidence and determined that plaintiff was not disabled.  Plaintiff's claim was considered de novo by an administrative law judge of the Social Security Administration, who found that plaintiff was not disabled.  On review before the district court under § 205(g) of the Social Security Act, 42 U.S.C. § 405(g), the Secretary's decision was upheld as supported by substantial evidence and defendant's motion for summary judgment was granted.1  We agree with the district court's determination and, therefore, we affirm.

2
Our sole duty in reviewing a case such as this one is to determine whether there is substantial evidence in the record to support the findings of the Secretary.  Perez v. Schweiker, 653 F.2d 997, 999 (5th Cir. 1981); Rodriguez v. Schweiker, 640 F.2d 682, 685 (5th Cir. 1981).  The record contains substantial evidence when there is such relevant evidence as a reasonable mind might accept as adequate to support the conclusion.  Perez, supra, Anderson v. Schweiker, 651 F.2d 306, 308 (5th Cir. 1981).

3
Plaintiff argues that the absence of any vocational expert at the administrative hearing means that the Secretary's decision was not supported by substantial evidence.  We disagree.

4
The Secretary carefully considered all the medical evidence of record and plaintiff's testimony and determined that although plaintiff was unable to perform his past relevant work as a grinder in an automotive factory, he possessed residual functional capacity for at least "light work," as defined by 20 C.F.R. § 405.1510(c) (1980), which provides:

5
(c) Light work.  Light work entails lifting 20 pounds maximum with frequent lifting or carrying of objects weighing up to 10 pounds.  Even though the weight lifted may be only a negligible amount, a job is in this category when it requires walking or standing to a significant degree, or when it involves sitting most of the time with a degree of pushing and pulling of arm or leg controls.  To be considered capable of performing a full or wide range of light work, an individual must be capable of performing substantially all of the foregoing activities.  The functional capacity to perform light work includes the functional capacity to perform sedentary work.

6
This finding of the ALJ is supported by, inter alia, Salinas's own physician who, in his medical report, stated that plaintiff could, in his estimation, lift, carry, push, or pull 10 to 20 pounds.2 In addition to finding that Salinas possessed residual functional capacity, the ALJ found that Salinas was a "younger individual" according to 20 C.F.R. § 14.1506(b) (1980)3 and had a "marginal education" according to 20 C.F.R. § 14.1507(c) (1980).4

7
The difficulty arises, according to Salinas, in the structure of administrative notice provided by the rules.  Regulation 20 C.F.R. § 404.1513 discusses 20 C.F.R. § 404, Subpart P, Appendix 2, which sets forth rules reflecting the major functional and vocational patterns that are encountered in cases in which claimants are not engaging in substantial gainful activity and are prevented by a medically determinable impairment from performing their vocationally relevant past work, and where claimants do not qualify for disability stated on medical considerations alone.  Regulation 404.1513 provides that when the findings of fact made as to all factors (age, education, transferability of skills, work experience, and residual functional capacity) coincide with the criteria of a rule in Appendix 2, that rule directs a conclusion as to whether the claimant is "disabled" or "not disabled."  In the present case, the ALJ applied his findings of fact to Rule 202.17, Table 2, of Appendix 2, which provides:

Table No. 2--Residual Functional Capacity:
Maximum Sustained Work Capability Limited

8
To Light Work as a Result of Severe Medically

Determinable Impairment(s)

9
-------------------------------------------------------------------
 Rule   Age         Education    Previous Work Experience  Decision
-------------------------------------------------------------------
202.17   Younger     Limited        Unskilled or None           Not
        individual  or less-                               Disabled
                    At least
                    literate
                    and able
                    to
                    communicate
                    in English

10
The ALJ concludes that Salinas was not disabled.

11
Given the explicit factual findings in the record by the ALJ, the existence in the economy of jobs that a person with Salinas's qualifications could fill could be established by administrative notice, 20 C.F.R. § 404.1509(c) (1980).5  The tables in Appendix 2 are a sophisticated method of taking this administrative notice that is permitted by the regulations.

12
Although the Secretary may decide to use a vocational expert to establish the existence of work in the national economy that an applicant is capable of performing, it is by no means necessary.  The Fourth Circuit has recently upheld the use of these vocational regulations by the Secretary in lieu of calling a vocational expert to testify Frady v. Harris, 646 F.2d 143, 144-45 (4th Cir. 1981).  In addition, the most recent regulations, albeit not applicable to the time period involved in this case, explicitly empower the Secretary to use his discretion in employing the services of a vocational expert.  20 C.F.R. § 404.1566(e) (1981).6

13
Salinas relies on our decision in Johnson v. Harris, 612 F.2d 993 (5th Cir. 1980) to establish the need for a vocational expert.  However, in Johnson we remanded for further hearing because of insufficient questioning by the ALJ of the vocational expert; the ALJ asked the vocational expert what sedentary jobs the claimant could do, given his qualifications, but " 'disregarding completely any mental or physical impairment which the claimant may have or he found to have.' " 612 F.2d at 998 (emphasis in original).  In the present case, the ALJ determined that Salinas's impairments were of sufficient severity so as to limit Salinas to light work only then did the ALJ consult the vocational regulations.  Because Salinas's physical impairments were considered in determining whether he could engage in substantially gainful employment, this case is distinguishable from Johnson.

14
Salinas's case is also distinguishable from our recent decision Perez v. Schweiker, 653 F.2d 997 (5th Cir. 1981), in which we rejected the use of vocational regulations to establish a lack of claimant's disability.  In Perez, we held that the vocational regulations were inapplicable because, by their own terms, these guidelines apply only when all factors used in the tables coincide with the claimant's actual situation, and there was no evidence in the record to indicate that Perez had residual capacity to perform "light" work.  In Salinas's case, there was ample evidence in the record to support the ALJ's findings that were then "plugged into" the vocational regulations.

15
In this case, the use by the Secretary of vocational regulations in lieu of vocational expert testimony was proper, and, therefore, we AFFIRM.

16
AFFIRMED.

1
 More than thirty days after the district court signed and conferred its order granting summary judgment in favor of defendant, the magistrate filed findings and recommendations that were favorable to defendant.  Salinas argues, and the government accepts, that we should not consider the magistrate's findings

2
 In Salinas's motion for summary judgment, he attached two additional medical reports that were not before the ALJ.  Although Salinas concedes that we may not consider these reports in determining whether the Secretary's decision was supported by substantial evidence, he urges that we exercise our discretion under 42 U.S.C. § 405(g) to remand the case to the Secretary, for "good cause shown," in order to have the ALJ consider these reports.  Assuming that this was an appropriate case for remand under the statute, we would decline to exercise our discretion to remand because the reports to which Salinas refers are ambiguous, conclusory, and apparently unsupported by clinical data

3
 20 C.F.R. § 14.1506(b) (1980) defines "younger individual" as:
(b) Younger individual.  In the case of a younger individual (under age 50), age in itself is ordinarily not considered to affect significantly the individual's ability to adapt to a new work situation.

4
 20 C.F.R. § 14.1507(c) (1980) defines "marginal education" as:
(c) Marginal education.  Marginal education refers to competence in reasoning, arithmetic, and language skills which are required for the performance of simple, unskilled types of jobs.  Absent evidence to the contrary, formal schooling at a grade level of sixth grade or less is considered a marginal education.

5
 20 C.F.R. § 404.1509(c) (1980) provides:
(d) Administrative notice of job data.  In the determination of whether jobs, as classified by their exertional and skill requirements, exist in significant numbers either in the region or the national economy, administrative notice shall be taken of reliable job information available from various governmental and other publications; e. g., "Dictionary of Occupational Titles," published by the Department of Labor; "County Business Patterns", published by the Bureau of the Census; "Census Reports", also published by the Bureau of the Census; occupational analyses prepared for the Social Security Administration by various State employment agencies; and the "Occupational Outlook Handbook", published by the Bureau of Labor Statistics.
It should also be noted that although no testimony was given by a vocational expert at the hearing, the ALJ was able to consider the report of the Bureau of Disability Insurance vocational specialist who concluded that Salinas retained the residual capacity to perform numerous types of work activity.  The specialist listed those activities.  Salinas argues that this report is worthless because it was prepared about 16 months before the hearing, and, more importantly, fails to take into account that Salinas now lives in Texas and not Illinois.  Salinas's argument ignores the plain language of 20 C.F.R. § 404.1509(9) (1980) which states, consistent with the explicit provision of 42 U.S.C. § 423(d)(2)(A):
(a) General.  Work is considered to exist in the national economy when it exists in significant numbers either in the region where the individual lives or in several other regions of the country, regardless of whether such work exists in the immediate area in which the individual lives, or whether a specific job vacancy exists for the individual, or whether the individual would be hired if the individual applied for work.
(emphasis supplied)

6
 20 C.F.R. § 404.1566(e) (1981) states:
(e) Use of vocational experts and other specialists.  If the issue in determining whether you are disabled is whether your work skills can be used in other work and the specific occupations in which they can be used, or there is a similarly complex issue, we may use the services of a vocational expert or other specialist.  We will decide whether to use a vocational expert or other specialist.
The regulations in 20 C.F.R. Subpart P were substantially revised in 1981.  See 20 C.F.R. §§ 404.1501-1598 (1981).


Idiopathic (unexplained) pulmonary embolism is associated with an impaired prognosis compared to other entities of pulmonary embolism.
In patients following acute pulmonary embolism, little is known about long-term prognosis attributed to individual risk factors and entities of pulmonary embolism. The aim of our study was to identify predictors of long-term mortality and morbidity, taking into account precipitating causes and entities of pulmonary embolism, especially in cases of idiopathic pulmonary embolism. We reviewed the records of 257 consecutive patients presenting with acute pulmonary embolism in the emergency room of the University Hospital in Frankfurt between 1997 and 2006. The median of the follow-up time in this study population was 670 days (n = 236; interquartile range: 378-1397 days). The patients were divided into three groups depending on the cause of pulmonary embolism: idiopathic pulmonary embolism (n = 83; 33%), neoplasm (n = 44; 17%) and other causes (n = 130; 50%). As expected, patients with neoplastic-associated pulmonary embolism demonstrated the poorest prognosis in the Kaplan-Meier analysis. Surprisingly though, patients with idiopathic pulmonary embolism demonstrated a markedly worse long-term survival compared with other causes (log-rank P < 0.001). When Cox-regression analysis was restricted to patients discharged alive without neoplasm, idiopathic pulmonary embolism was the strongest predictor of long-term mortality (hazard ratio: 3.29; P = 0.017). Patients with acute pulmonary embolism and known malignancy demonstrated the highest mortality compared with those with other causes. However, idiopathic pulmonary embolism is a common diagnosis and is associated with an unfavorable long-term prognosis compared with other entities of pulmonary embolism.


Q:

Issues with AngularJS and IE10 routing.

Often when I quickly switch between different angular modules/controllers in IE10, the necessary routing will never take place.  I'm left with my page skeleton where no content has loaded and the index controller was never hit, but the angular module was defined.  The URL also indicates that no routing has occurred (no appended #/).  My module is defined as such with AngularJS 1.0.7:
angular.module('Users', ['ngResource', 'localization', 'pagination', 'resourceService']).
    config(function ($routeProvider) {
    $routeProvider.
        when('/', {templateUrl: '../user/listAll.jsp',
            controller: ListUsersCtrl}).
        when('/edit/:userId', {templateUrl: '../user/edit.jsp',    controller: UserEditCtrl}).
        otherwise({redirectTo: '/'});
});

function ListUserCtrl($scope, $resource, $routeParams, $location, $timeout) {...}
function UserEditCtrl($scope, $resource, $routeParams, $location, $timeout) {...}

Again, this works fine most of the time, it's only about every 9th or 10th page reload that no routing will take place.  Does anyone have any thoughts or suggestions as to why this may be happening?  It may be present in older versions of IE but I can't confirm that.

A:

I had a similar problem, solved it by forcing IE10 to IE9 Compatibility mode.
Add this to your html head:
<meta http-equiv="X-UA-Compatible" content="IE=9">


rule m2318_6134e408d8bb0932
{

   meta:
     copyright="Copyright (c) 2014-2018 Support Intelligence Inc, All Rights Reserved."
     engine="saphire/1.3.1 divinorum/0.998 icewater/0.4"
     viz_url="http://icewater.io/en/cluster/query?h64=m2318.6134e408d8bb0932"
     cluster="m2318.6134e408d8bb0932"
     cluster_size="4"
     filetype = "text/html"
     tlp = "amber"
     version = "icewater snowflake"
     author = "Rick Wesson (@wessorh) rick@support-intelligence.com"
     date = "20171120"
     license = "RIL-1.0 [Rick's Internet License] "
     family="ramnit html script"
     md5_hashes="['3664e175aa7e9f71552489d40f14a22c','6dba5ea2c2495986eedf10d33e6a17d8','bedf9a6afdb3e343e8fbf9e3af6d06fc']"

   strings:
      $hex_string = { 696e672e46696c6553797374656d4f626a65637422290d0a44726f7050617468203d2046534f2e4765745370656369616c466f6c646572283229202620225c22 }

   condition:

      filesize > 65536 and filesize < 262144
      and $hex_string
}


Optimization of production of conjugated linoleic acid from soybean oil.
Linoleic acid from soybean oil was used to synthesize conjugated linoleic acid (CLA), and the response surface methodology (RSM) was applied to optimize the process. A temperature of -35 degrees C and a solvent to oil sample ratio of 8 were suggested for removal of saturated fatty acids by low-temperature crystallization. The ratio of oil sample/urea/methanol suggested was 1:2:5.5 (w/w/v) for removal of oleic acid by urea crystallization. A temperature of 150 degrees C and a time of 140 min were found to be the optimal conditions in the isomerization for the production of c-9,t-11 and t-10,c-12 CLA isomers.


If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Hey guys, I need a modest horsea, sedra or kingdra with swift swim. PM me if you've got one for trade.

Edit: I've got the horsea now, and I need a Dragon scale...

Last edited by the_showstopper; 23rd October 2007 at 7:29 AM.

Cant acess serebii as much as i want due to epic lag... If you have MSN, PLEASE add me if you want to battle me. the email is XSquareStickIt@live.com.Youtube channel:http://www.youtube.com/user/XSquareStickItI accept only NU standard rules battles. FC is 3094 1535 8960. Prepare yourself for Glaceon, that's all I can say.

the_showstopper i can get a Modest Horsea w/ this Ability what do you offer?

shiny moltres or shiny rayquaza. i also have a untouched careful cresselia.

Cant acess serebii as much as i want due to epic lag... If you have MSN, PLEASE add me if you want to battle me. the email is XSquareStickIt@live.com.Youtube channel:http://www.youtube.com/user/XSquareStickItI accept only NU standard rules battles. FC is 3094 1535 8960. Prepare yourself for Glaceon, that's all I can say.


Q:

Copy multiple workbook into single workbook "you cannot paste here because the copy area vba"

I'm trying to open all the selected file using the filedialog method and then copy all the content inside the selected path to the current workbook. The first path file manage to copy all the content, when it come to the second one, the error:

"you cannot paste here because the copy area, select just one cell in the paste area etc."

Below is my code:
Sub Select_File_Click()
Dim lngCount As Long
    Dim cl As Range
    Dim c2 As Range
    Dim ItemType As String

    ThisWorkbook.Sheets("Sheet1").Range("A:D").ClearContents
    Set cl = ActiveSheet.Cells(1, 3)
    ' Open the file dialog
    With Application.FileDialog(msoFileDialogOpen)
        .AllowMultiSelect = True
        .Filters.Clear
        .Filters.Add "comma-separated values", "*.csv"
        .InitialFileName = "*" & ItemType & "*.*"
        .InitialView = msoFileDialogViewDetails
        .Show
        For lngCount = 1 To .SelectedItems.Count

            ' Add Hyperlinks
            cl.Worksheet.Hyperlinks.Add _
            Anchor:=cl, Address:=.SelectedItems(lngCount), _
                TextToDisplay:=.SelectedItems(lngCount)
            ' Add file name
            'cl.Offset(0, 1) = _
            '    Mid(.SelectedItems(lngCount), InStrRev(.SelectedItems(lngCount), "\") + 1)
            ' Add file as formula
            cl.Offset(0, 1).FormulaR1C1 = _
                 "=TRIM(RIGHT(SUBSTITUTE(RC[-1],""\"",REPT("" "",99)),99))"

            Set cl = cl.Offset(1, 0)
            Set c2 = cl.Offset(0, 1)
        Next lngCount
        Sheets(1).Cells(1, 1) = .SelectedItems.Count

End With
End Sub

Sub All_data_Click()
Dim Count As Integer
Dim iLast As Long

ThisWorkbook.Sheets("Copy").Range("A1:AZ5000").ClearContents
Count = ThisWorkbook.Sheets(1).Cells(1, 1)
iLast = 1

For i = 1 To Count
pth = ThisWorkbook.Sheets("Sheet1").Cells(i, 3).Value 'Select folder path
Set LookupWB = Workbooks.Open(Filename:=pth)
Set sourceColumn1 = ThisWorkbook.Sheets("Copy")
Set Source = ActiveWorkbook.Sheets(1)
Set sourceColumn1 = Source.Columns("A:AZ")
Set targetColumn1 = ThisWorkbook.Worksheets("Copy").Rows(iLast)
sourceColumn1.Copy Destination:=targetColumn1   <---Error Here:
iLast = iLast + sourceColumn1.Range("A" & Rows.Count).End(xlUp).Row
Next i

End Sub

Is there any idea to solve this problem? I'm lost already.

A:

If I understood correctly what you are trying to do, I suggest a slightly different approach in 1 go:
Sub Select_File_Click()
    Dim Wb As Workbook: Set Wb = ThisWorkbook
    Dim Sh1 As Worksheet: Set Sh1 = Wb.Sheets("Sheet1")
    Dim Sh2 As Worksheet: Set Sh2 = Wb.Sheets("Copy")
    Dim i As Integer, Cnt As Integer
    Dim Wbt As Workbook

    Sh1.Range("A:D").ClearContents
    Sh2.Cells.Clear
    Cnt = 1

    ' Open the file dialog
    With Application.FileDialog(msoFileDialogFilePicker) 'Using a file picker instead of open
        .AllowMultiSelect = True
        .Filters.Clear
        .Filters.Add "comma-separated values", "*.csv"
        .InitialFileName = "*.*"
        .InitialView = msoFileDialogViewDetails
        .Show

        For i = 1 To .SelectedItems.Count

            'You dont actually need the 4 lines below if you only need to do the copy
            ' Add Hyperlinks
            Sh1.Cells(i, 3).Worksheet.Hyperlinks.Add Anchor:=Sh1.Cells(i, 3), Address:=.SelectedItems(i), TextToDisplay:=.SelectedItems(i)
            ' Add file as formula
            Sh1.Cells(i, 4).FormulaR1C1 = "=TRIM(RIGHT(SUBSTITUTE(RC[-1],""\"",REPT("" "",99)),99))"

            Set Wbt = Workbooks.Open(.SelectedItems(i))
            Intersect(Wbt.Sheets(1).UsedRange, Wbt.Sheets(1).Columns("A:AZ")).Copy Sh2.Range("A" & Cnt)
            Cnt = Cnt + Intersect(Wbt.Sheets(1).UsedRange, Wbt.Sheets(1).Columns("A:AZ")).Rows.Count
            Wbt.Saved = True
            Wbt.Close
        Next i
    End With
End Sub


Q:

Why is my perl hash not returning values?

I'm ingesting a CSV file:
"ID","LASTNAME","FIRSTNAME","PERM_ADDR1","PERM_ADDR2","PERM_CITY","PERM_ST","PERM_ZIP","DOB","LIB_TYPE","BARCODE","EMAIL","LOCAL_ADDR1","LOCAL_ADDR2","LOCAL_CITY","LOCAL_ST","LOCAL_ZIP","CAMPUS_ADDR1","CAMPUS_ADDR2","CAMPUS_CITY","CAMPUS_ST","CAMPUS_ZIP","DEPARTMENT","MAJOR"
"123","Lastname","Firstname","123 Home St","","Home City","HS","12345-6789","0101","S","1234567890","last.first@domain.local","123 Local St","","Local City","LS","98765-4321","123 Campus St","","Campus City","CS","54321-6789","IT",""

Using Text::CSV, I'm attempting to parse this into a hash:
my $csv = Text::CSV->new();

chomp(my $line = <READ>);
$csv->column_names(split(/,/, $line));

until (eof(READ)) {
    $line = $csv->getline_hr(*READ);
    my %linein = %$line;
    my %patron;

    $patron{'patronid'} = $linein{'ID'};
    $patron{'last'} = $linein{'LASTNAME'};
    $patron{'first'} = $linein{'FIRSTNAME'};

    print p(%linein)."\n";
    print p(%patron)."\n";
}

Using this code, the print statements at the end (using Data::Printer) return this:
{
    "BARCODE"        1234567890,
    "CAMPUS_ADDR1"   "123 Campus St",
    "CAMPUS_ADDR2"   "",
    "CAMPUS_CITY"    "Campus City",
    "CAMPUS_ST"      "CS",
    "CAMPUS_ZIP"     "54321-6789",
    "DEPARTMENT"     "IT",
    "DOB"            0101,
    "EMAIL"          "last.first@domain.local",
    "FIRSTNAME"      "Firstname",
    "ID"             123,
    "LASTNAME"       "Lastname",
    "LIB_TYPE"       "S",
    "LOCAL_ADDR1"    "123 Local St",
    "LOCAL_ADDR2"    "",
    "LOCAL_CITY"     "Local City",
    "LOCAL_ST"       "LS",
    "LOCAL_ZIP"      "98765-4321",
    "MAJOR"          "",
    "PERM_ADDR1"     "123 Home St",
    "PERM_ADDR2"     "",
    "PERM_CITY"      "Home City",
    "PERM_ST"        "HS",
    "PERM_ZIP"       "12345-6789"
}
{
    first      undef,
    last       undef,
    patronid   undef
}

What I don't understand is why %patron is not being populated with the values from %linein.  I'm wondering if this is somehow related to using Text::CSV, as I'm parsing other files elsewhere in the script and they work just fine.  Those files, however, are not CSV, but rather fixed-width, so I'm parsing them manually.

A:

Try
 $csv->column_names(map {/"(.*)"/ and $1} split(/,/, $line))

Instead of
 $csv->column_names(split(/,/, $line));

Your CSV keys were being defined as the literal strings
 '"LASTNAME"' ,  '"FIRSTNAME"'

Instead of just
 'LASTNAME' ,  'FIRSTNAME'

Data::Printer wasn't doing too bad a job at showing you what was happening -
all the keys in p(%linein) are shown as containing double quotes as part of
the string, as opposed to p(%patron)


The solution according to the invention is used for measuring a surface property of paper or paperboard. The paper or paperboard surface is illuminated and the illuminated paper or paperboard surface is imaged by a camera for measuring.
The properties used for describing the surface properties of paper and paperboard include roughness and gloss which are used e.g. for estimating the printability of paper. The probably most common way of measuring paper roughness is based on airflow measuring methods which are employed in the apparatuses of Bendtsen, Parker-Prit-Surf-Sheffield, Bekk and Gurley Hill, for example. In these solutions a cylindrical element is pressed against the paper or paperboard surface with a certain amount of force. A pressure difference with respect to the ambient air is caused in the element, and the air flowing through an opening between the edge of the cylindrical element and the paper or paperboard surface is measured. There are several problems related to these measurements. The parameter representing roughness is also influenced by the porosity of paper. The measurement is also integrally directed at a large surface area, for which reason accurate information on the detailed structure of the paper surface cannot be obtained. This is disadvantageous to the estimation of printability, for example. A further disadvantage is an error factor caused by the dependency between the measuring result and the force used for pressing the cylindrical element against the paper or paperboard surface.
The surface properties of paper and paperboard can also be measured optically. In profilometric roughness measurement the paper surface is examined unidimensionally using a focused ray in the same way as when reading a CD. Problems are caused by porosity, paper transparency and strong reflectance, if any, which distort the profile. Unidimensionality of the measurement is also a disadvantage. Roughness can also be measured utilizing light scattering. In the prior art solution the paper surface is conventionally illuminated at an oblique angle (45xc2x0 to 85xc2x0) with respect to the normal of the surface, and the intensity distribution of radiation from the direction of specular reflection is measured to determine roughness. This solution is described in greater detail e.g. in Finnish publication no. 56453, which is incorporated herein by reference. Specular reflection is typically also measured in connection with the measurement of the gloss. In the standardized solution according to the prior art, gloss of paper or paperboard is measured by illuminating the paper or paperboard surface at a large angle (e.g. 75xc2x0) with respect to the surface normal and detecting optical radiation reflected from the surface at the angle of reflection. This solution is described more closely in standard T 480 om-92, which is incorporated herein by reference. The prior art measuring arrangements measure gloss and roughness integrally from a large area the size of which is usually dozens of square millimeters. The average measured from a large area does not give accurate information on the structure of the paper surface and thus e.g. printability cannot be estimated reliably. The large measuring angle further impairs the measuring accuracy. An additional problem is that the surface roughness and the surface gloss are mixed with each other and they cannot be determined separately with any certainty.
An object of the invention is to provide a method and an apparatus implementing the method to eliminate the above-mentioned problems. This is achieved with the solution according to the invention which relates to a method of determining a surface property of paper or paperboard, the method comprising illuminating the paper or paperboard surface and imaging the illuminated paper or paperboard surface onto the pixels of a camera""s detector surface. For measuring at least gloss as the micro surface property, the method according to the invention comprises illuminating the paper or paperboard surface with collimated light substantially parallel with the normal of the paper or paperboard surface; controlling the reflected optical radiation with an aperture of the desired size before the camera; producing an image of the paper or paperboard surface onto the pixels of the camera""s detector surface by means of the reflected optical radiation, each of the pixels imaging an area in the order of micrometers of the paper or paperboard surface, and measuring at least the gloss of paper or paperboard surface on the basis of the intensity of the pixels on the camera""s detector surface.
The invention also relates to a measuring arrangement for determining a surface property of paper or paperboard, the measuring arrangement comprising an optical power source for illuminating the paper or paperboard surface and a camera for imaging the illuminated paper or paperboard surface onto the pixels of the camera""s detector surface. The measuring arrangement according to the invention comprises, for measuring at least one micro surface property, a collimating optical block for collimating the optical radiation emitted from the optical power source; a partially permeable mirror for projecting the optical radiation onto the paper or paperboard surface substantially parallel with the normal of the paper or paperboard surface; an imaging optical block for producing an image of the illuminated paper or paperboard surface onto the pixels of the camera""s detector surface by means of the reflected optical radiation; an aperture of the desired size for controlling the reflected optical radiation; the measuring arrangement being arranged to measure at least gloss of the paper or paperboard surface on the basis of the intensity of the pixels on the camera""s detector surface.
The dependent claims disclose the preferred embodiments of the invention.
The solution according to the invention is based on illuminating the paper or paperboard surface with collimated optical radiation from the direction of the surface normal. An aperture is used for controlling the quality of the micro surface property to be measured. When gloss is measured, the aperture is used for adjusting the direction of optical radiation entering the camera. When roughness is measured, the aperture is used for adjusting the depth of focus of the image formed onto the pixels of the camera""s detector surface. In both cases the micro surface properties are measured by means of the intensity received by the pixels on the camera""s detector surface.
The measuring arrangement and method according to the invention provide several advantages. The invention enables measuring of a surface property of paper or paperboard from a surface area in the order of micrometers, in which case the surface properties can be determined as micro surface properties. This allows to separate gloss and roughness reliably from each other. Thanks to this, the printability of paper or paperboard can be estimated accurately, which results in considerable savings in the production costs of various printed goods because paper or paperboard processing can be controlled during the manufacture. In practice this means that the consumption of ink used in printing, for example, can be optimized, which allows to guarantee good quality of the text and pictures.
The invention will be described in greater detail by means of preferred embodiments, with reference to the accompanying drawings, in which
FIG. 1 illustrates a measuring arrangement for measuring micro surface properties of the paper or paperboard surface,
FIG. 2 illustrates a measuring arrangement for measuring gloss of the paper or paperboard surface,
FIG. 3 illustrates dependency between an optical aperture and optical radiation reflected from the surface,
FIG. 4 illustrates a measuring arrangement for measuring roughness of the paper or paperboard surface,
FIG. 5 illustrates determination of the depth of focus,
FIG. 6A is a top view of a rotatable disc,
FIG. 6B is a perpendicular side view of a rotatable disc,
FIG. 7 illustrates a measuring arrangement for determining micro surface properties of the paper or paperboard surface.


Attached is  a draft of our GISB agreement for your review.  Upon your
review, please give me a call.

Regards,
Debra Perlingiere
Legal Specialist


United States Milk Consumption Has Fallen Nearly 30 Percent

Like us on Facebook:

The current article you are reading does not reflect the views of the current editors and contributors of the new Ecorazzi

Are non-dairy eaters and drinkers rubbing off on others? They just might be, as the U.S. Department of Agriculture recently revealed the consumption of milk is falling.

The Wall Street Journal reports that “per-capita U.S. milk consumption, which peaked around World War II, has fallen almost 30 percent since 1975, even as sales of yogurt, cheese and other dairy products have risen.”

This will definitely affect the milk industry and as Tom Gallagher, CEO of Dairy Management Inc. says, the business “is coming to recognize this as a crisis.”

What’s causing the decline? The rise in bottled water popularity and those that consider milk a high-calorie beverage.

People who love milk might also feel discouraged by these statistics, but vegans and those that choose to drink soy, rice and almond milk, and cut out dairy completely, might rejoice in this news.

With the increase of childhood obesity and the fact that more children are drinking sugar-filled energy drinks and sodas, children are becoming less likely to drink milk, which is also another factor in the decline.

Many celebrities have even been ditching dairy to lose weight and stay healthy. For example, actress Megan Fox just announced she’s foregoing dairy to help her lose baby weight. She only gave birth in September and already has her smoking hot body back.

“I’m not eating dairy, that’s my biggest secret. It’s really hard on your hormones and it’s not good. If you want to gain weight, eat dairy. If you don’t, don’t eat it,” she explained.

Now, there’s no direct correlation between vegans, non-dairy diets and the decline in milk sales, but it could be part of the effect, as well as the large number of dairy-free milks flooding the market.

For the full article, and other facts, head on over to WSJ.com.

Photo Credit: Shutterstock


As a result of the outbreak and fewer youths being held in Maryland facilities, the state has closed two juvenile detention centers: the Savage Mountain Youth Center in Garrett County and the J. DeWeese Carter Center in Kent County. Abed said the state also has stopped accepting new youth detainees at the Baltimore City Juvenile Justice Center, because of an outbreak of the virus there.


Q:

C#: Remove the spacing at the edges inside a button

Situation: I need a tiny button, with some text on it.
Problem: The button seems to think displaying empty space near its edges is more important than displaying my Text.
I can't for the life of me figure out how to remove that blank stuff at the edges. Any help is greatly appreciated!
Thanks in advance.
-MonsterMaw

A:

Assuming you're talking about WinForms, you can set the FlatStyle property of the button to System.
That will let you resize the button so that it is small enough for the text to fit exacty, without any internal padding.


- 2*i**2 + 4*i**2 + 3*i**2 - 3*i**2 - 2 + 1 + 2*i**2 - 1 + (-2 - 1 + 18)*(i**2 + 5*i**2 - i**2).
80*i**2 - 2
Expand ((2*c + 0*c - 3*c)*(-1 - 3 + 3) + c + c - 6*c + (-1 + 1 + 2*c)*(3 - 6 + 1))*(c**2 - 16*c**2 + 3*c**2)*(0*c + 6*c - 4*c).
168*c**4
Expand (-d + d - 2*d**2)*(d + 1 - 1) + d**3 - 3*d**3 + 3*d**3 - 67*d**3 - 269*d + 269*d + (2*d**3 - d**2 + d**2)*(1 + 1 + 3).
-58*d**3
Expand (-w**2 + w**2 + w**3)*(1 + 0 - 2) + 3*w**3 + 3*w**3 - 2*w**3 + 24*w**3 + 136 - 136.
27*w**3
Expand (1 + 1 - 4)*(2 - 5 + 1)*(-24 - 20 + 8)*(-3*x - 10*x + 26*x)*(3 - 6 + 4).
-1872*x
Expand (-5*s - 2*s + s)*(843*s**3 - 88*s**3 + 816*s**3).
-9426*s**4
Expand (19 + 13 + 1 + (5 + 0 - 3)*(5 - 5 - 2))*(-10 - 3*k**2 + 10).
-87*k**2
Expand -118*h**2 + 56*h - 141*h**2 - 57*h + (11*h + 2 - 2)*(-1 + 3*h + 1 + (-1 - 5 + 5)*(3 - 3 + h)).
-237*h**2 - h
Expand (-4*n + 5*n - 2*n)*(-39*n + 4734 - 9470 + 4740 - 18*n).
57*n**2 - 4*n
Expand (0 + 0 + 1)*(-3*n**5 + 2*n**5 + 3*n**5) + (5*n**3 + 3*n**3 - 2*n**3)*(-48*n**2 + 110*n - 110*n).
-286*n**5
Expand -38 - 31*m**3 + 38 + (m**3 + 0*m**3 + 2*m**3)*(-2 + 1 - 1) + (4*m**2 - 3*m**2 + 0*m**2)*(-m - 2*m - 4*m).
-44*m**3
Expand (-25*j + 3*j + 509*j)*(-2 + 1 + 4)*(4 + 3 - 6).
1461*j
Expand (-q**2 - 3 + 2*q**2 - 1)*(q**2 + 775172*q - 775172*q).
q**4 - 4*q**2
Expand 4*p**3 - 27*p**3 - 9*p**3 + (-p + 0*p - 2*p)*(-5*p**2 + 5*p**2 - 7*p**2).
-11*p**3
Expand (-2 + 0 + 4)*(-8 + 6 - 4)*(90 - 189 + 112)*(-5*x + 3*x + 0*x)*(2*x + x - 2*x).
312*x**2
Expand (-d - 2*d + 2*d)*(-2 - 3 - 63) - 7*d + 0*d + 9*d + 39.
70*d + 39
Expand (-5*v**4 + v**4 + 3*v**4)*(2*v + 0*v - 7*v) + v**5 + 10*v**5 - 3*v**5 - 3*v**5 - 6*v**5 - 8*v**5.
-4*v**5
Expand (13*y**2 + 7*y**2 + y**2)*(8 + 5 - 1).
252*y**2
Expand (0*c - 4*c + 3*c)*(-2 - 2 + 6) + (-3 - 1 + 3)*(1 - 1 + c) - 664*c + 116*c - 102*c.
-653*c
Expand (-3 - 16*a + 20*a + 25*a)*(-2 + 0 - 2).
-116*a + 12
Expand 10*m**3 - 8*m**3 - 9*m**3 + (-3*m + m + m)*(-3*m**2 + 5*m**2 - m**2) - 6*m**3 - 39*m**3 - 6*m**3 + (-1 + 1 - 2*m)*(-3*m**2 - m**2 + 2*m**2).
-55*m**3
Expand (-34*s - 43*s - 70*s)*(1 + 0 + 8)*((-2 - 2 + 3)*(-2*s**4 + 2*s**4 - s**4) + 3*s**4 - 3*s**4 + 9*s**4).
-13230*s**5
Expand ((-2*u**4 - u**4 + u**4)*(6 - 3 - 1) + 5 - 2*u**4 - 5 - 40*u + u**2 - 1146*u**4 - 1148*u**4 + 2296*u**4)*(-2 + 2 + 4).
-16*u**4 + 4*u**2 - 160*u
Expand 0*w - 3*w + 4*w + (3*w - 5*w + 3*w)*(1 - 1 + 1) + (-226*w + 26*w + 100*w)*(1 - 1 + 1)*(1 - 1 - 2).
202*w
Expand (-25*p**2 + 170*p**2 + p - 74*p**2 + 3)*(3 - 1 + 0)*(-5 + 5 + p**2).
142*p**4 + 2*p**3 + 6*p**2
Expand ((1 - 3 + 4)*(3*r - 4*r + 2*r) + r + 0 + 0 + 2*r - 2*r + 2*r)*((r - 2 + 2)*(-1 - 3*r + 1) + 175 + 22*r**2 - 175).
95*r**3
Expand (-5 + 4 + 2)*((-1 + 3 - 1)*(y + 3*y - 5*y) + 3*y + 2*y - y) + 4*y + y - 3*y + (-2*y + 0*y + y)*(1 - 4 + 4) + 15*y - 284 + 284 + 0*y + 5*y - 3*y.
21*y
Expand -11 + 11 + 5*c**3 + (3 + 2 + 0)*(10 - 16 + 43)*(0*c**3 + 2*c**3 + 2*c**3).
745*c**3
Expand (2*c**3 + 0*c + 0*c)*(2*c**2 - 5*c**2 + 5*c**2) + (-2*c - 7*c - 6*c)*(-7*c**4 + c**4 - 3*c**4) - 8*c**5 - c**2 + c**2.
131*c**5
Expand (4*a - 17*a - 4*a)*(19*a - 2*a - 3*a)*(-1 + 0 - 3).
952*a**2
Expand (-6 - 5*o**4 + 6)*(5 - 3 - 4)*(-15 + 42 + 53)*(-5 - 3*o + 5).
-2400*o**5
Expand (414*c - 345*c - 263*c)*(-7*c**2 - 6*c**2 + 3*c**2)*(0*c + 4*c - 6*c).
-3880*c**4
Expand -3*b**3 + 0*b**3 + 2*b**3 + (-b - b + b)*(3 - 3 + 2*b**2) - 21178*b - 215*b**3 + 42377*b - 21195*b.
-218*b**3 + 4*b
Expand (-3 + 3 + 1)*(u**4 + u**4 - 7*u**4) + (-u**4 - 2*u**4 - 2*u**4)*(3 + 5 - 2) - u**4 + u**4 - 3*u**4.
-38*u**4
Expand (-286*m + 4*m - 520*m)*(4 - 3 + 1).
-1604*m
Expand (-7 + 26*p + 35 - 14 - 11)*(-5 + 2 - 5) + 3*p + 0*p - p.
-206*p - 24
Expand (2*u**2 + 0*u**2 - 4*u**2)*(114*u + 146*u + 62*u) + (3 - 2*u - 3)*(-6*u + u + 3*u)*(-5*u + 2*u + u).
-652*u**3
Expand (-14 + 84 + 57 - 32)*(4127*g**3 + 0*g**4 + 3*g**4 - 4141*g**3).
285*g**4 - 1330*g**3
Expand (-1 + 4 - 1)*(-2 - 2*p + 2)*(75*p + 18 - 125*p - 8).
200*p**2 - 40*p
Expand (-3*s**2 + 0*s**2 + 2*s**2)*(7*s + 39*s + 12*s) + (1 + 4 - 2)*(7*s**3 + 0*s**3 - s**3).
-40*s**3
Expand -2 + 4*y + 2 + (0 - 4 + 3)*(-2*y + 2*y - 5*y) + 4*y - 6*y + 0*y + (-241 + 241 + 14*y)*(0 + 2 - 1).
21*y
Expand 0*z + 8*z**2 + z - 9*z**2 + (-99 - 89 + 45)*(3*z**2 + z**2 + z**2).
-716*z**2 + z
Expand (34 - 19 + 8)*(0*m + 0*m + m)*(-6*m**2 - m**2 + 0*m**2).
-161*m**3
Expand -28247*g**2 + 1028*g**3 + 28247*g**2 - 3 + g**3 - 3*g + 3*g + (3*g - g - 3*g)*(-3*g**2 + 0*g**2 + 2*g**2).
1030*g**3 - 3
Expand (-4 + 0 + 2 + (-2 + 0 - 3)*(-3 - 7 + 6))*(0 + 2*u + 0)*(-6 + 10 + 9).
468*u
Expand (-4 + 4 - 3)*(-4 - 7 - 5)*(2 + 2 - 2)*(215*o - 84*o - 49*o)*(-1 - 1 + 4).
15744*o
Expand (-4*h**4 + h**4 + 2*h**4)*(3 - 2 - 2)*(-4918 + 977 - 576)*(2*h - 4*h + 0*h).
9034*h**5
Expand (184*p**2 + 514 - 514)*(5*p - p - 18*p).
-2576*p**3
Expand (-30 + 35 + 24)*(v**3 - 3*v**3 + v**3) - 4 + 15*v**3 - 4 + 9.
-14*v**3 + 1
Expand -128 + 345 + 582 + 178 + 249 + 11*l + (-l + 1 - 1)*(-5 + 4 - 1).
13*l + 1226
Expand (3 - 3 + 2*y)*(-15*y + 15*y + 29*y**2) + (7*y**2 - 8*y**2 + 57*y**2)*(0 + 2*y + 0).
170*y**3
Expand (4 + 43*y - 40*y + 7)*(-y + y - y) - 2*y**2 - 3*y**2 + 4*y**2 + 2*y**2 + 3*y**2 - 3*y**2 - 2*y**2 - 23 + 23.
-4*y**2 - 11*y
Expand -3*t + 3*t + t**2 + (-4*t + 2*t + 0*t)*(-t - 2 + 2) - 149*t - 128*t - 26*t**2 + 27*t**2 - 2 + 2 - t**2.
3*t**2 - 277*t
Expand (2 - 6 - 5)*(0 - 3 + 2)*(-k**3 + 4*k**3 - k**3) + 8*k + 12 - 13*k + 7*k - 4*k**3.
14*k**3 + 2*k + 12
Expand -945*m - 2*m**4 + 1523*m - 761*m + m**4 - m**4 + 2*m**4 - 4*m**4 + 2*m**4 + 0*m**4 + (0*m**2 + 0*m**2 + 2*m**3)*(4*m - 2*m - 7*m).
-12*m**4 - 183*m
Expand (-792 - 972 - 1484 - 1455 - 802)*(5*b - 4*b + 0*b).
-5505*b
Expand (3*s**4 + s**4 - 3*s**4 + s**3 - s**3 - 2*s**4 + (-4*s**3 + 3 - 3)*(s - 2 + 2))*(4 - 2 + 15).
-85*s**4
Expand (-9 + 8 - 8)*(2 + 4 - 15)*(-n**2 - n**2 + 0*n**2).
-162*n**2
Expand (-2*p + 3*p - 2*p)*(-4 - 1 + 4) + (-27 - 8 + 0)*(1 + 1 - 11)*(-2*p - p + 4*p).
316*p
Expand (-2*p - 3676 + p + 3909)*(-4*p - 1 + 2*p + p).
p**2 - 232*p - 233
Expand (-2*r + 4*r - 4*r)*(((-1 + 0 + 3)*(3 + 1 - 2) - 6 + 3 + 2 + 33 + 23 + 277)*(-2 + 0 + 1) - 5 - 2 + 2).
682*r
Expand (0*a**2 - 2*a**2 + 0*a**2)*(-3535 - 1010 - 3*a - 866 - 1101).
6*a**3 + 13024*a**2
Expand (2 - 5 + 4)*(-4*x - 2*x + 7*x) + 7*x - 15*x + 22*x + (1 + 0 + 1)*(-2*x + x + 3*x) - 26*x + 2*x + 14*x.
9*x
Expand (17*s - 5 - 9*s - 19*s - 42*s)*(2*s - 2*s - 2*s**4).
106*s**5 + 10*s**4
Expand (c + 0*c + c)*((-2*c - c + c)*(358*c**3 - 164*c**3 - 100*c**3) - 2 + 2 - 5*c**4).
-386*c**5
Expand -6*l**5 + 10*l**2 - 10*l**2 + (-2*l**3 - 6 + 6)*(0 - l**2 + 0) - 338*l**5 - l**2 - 6 + 170*l**5 + 167*l**5 - l**4.
-5*l**5 - l**4 - l**2 - 6
Expand -2*k + 4*k - k + (-2 + 5 - 1)*(-2 + 2*k + 2) + 7*k + 5 - 5 - 31*k + 10*k - 64*k.
-73*k
Expand ((-1 - 1 + 0)*(0 + 4 - 2) + 0 + 0 + 3)*(-y**2 - 4*y + 4*y + 3*y + (y + y - 3*y)*(-3 + 3 - 2*y)).
-y**2 - 3*y
Expand (6288 - 6288 + 17*n)*(2 - 3 - 1)*(25 - 36 + 19).
-272*n
Expand (0*u - u + 2*u)*(102 - 652*u + 1186*u - 624*u).
-90*u**2 + 102*u
Expand -173 + 357 + 15003*n - 184 + (-2 + 2 + 3*n)*(-1 + 0 + 0).
15000*n
Expand (-2 + 1 + 3)*(3*t + 6*t**2 - 3*t) + 128112*t + t**2 - 18*t**2 - 128114*t.
-5*t**2 - 2*t
Expand (11*a - 5 + 5)*(-3 + 3 + a)*(-3 + 4 + 1)*(78*a + 2862 - 2862) + (a**3 - a**3 - 2*a**3)*(-3 + 3 - 1).
1718*a**3
Expand (64*a**3 - 103*a**3 + 65*a**3)*(6*a**2 - 9*a**2 - 11*a**2)*(1 + 2 - 2).
-364*a**5
Expand -37 + 21*x**5 + 37 + (6*x - 6*x - x**3)*(x - 4 + 4)*(3*x + 4*x - 5*x) + 0*x**4 - x**5 + 0*x**4 + (-3*x**2 - x**2 + 3*x**2)*(x**3 + 3*x**3 - 3*x**3).
17*x**5
Expand 2*a - 5*a + 5*a - 144*a + 12*a - 28*a + (2*a + 0*a - a)*(0 - 3 - 2).
-163*a
Expand (o**4 - 21*o + 21*o + o**2 - 3*o**4 - o**2 + (-3 - o**4 + 3)*(3 + 0 - 1))*(74 + 45*o - 74).
-180*o**5
Expand 0*o - o**5 - 3*o + o + 34*o**2 - 7*o**5 - 34*o**2 - 2*o**5 - 4*o**5 + o**5 + (-1 + o + 1)*(0*o**4 + 3*o**4 - o**4).
-11*o**5 - 2*o
Expand (((-1 + 0 - 1)*(2 - 2 + 2) - 2 - 4 - 1)*(1 - t - 1) + (2*t - 4*t + 4*t)*(1 - 2 + 3) + t + 0*t + 0*t)*(1 - t + 2 + 1).
-16*t**2 + 64*t
Expand (30 - 124 + 60)*(-162*z + 131*z - 161*z).
6528*z
Expand (6*g**2 - 2*g**2 + 3 - 5*g**2)*(63*g - 13460 - 24*g + 13454).
-39*g**3 + 6*g**2 + 117*g - 18
Expand (2*k + 0*k + 5*k)*(-8*k - 4*k + k + 53 + 5*k + 378).
-42*k**2 + 3017*k
Expand 0*h - 2*h - 3*h + 2


# This is based on the ElasticSearch template Dockerfile
# (https://registry.hub.docker.com/u/dockerfile/elasticsearch/dockerfile/)
#
# It has been modified to support multiple data directories

FROM docker.elastic.co/elasticsearch/elasticsearch:5.6.16

ADD elasticsearch.yml /usr/share/elasticsearch/config/
ADD log4j2.properties /usr/share/elasticsearch/config/

# Remove annoying X-Pack
RUN bin/elasticsearch-plugin remove x-pack

# Install AWS plugins
# RUN bin/elasticsearch-plugin install discovery-ec2
RUN bin/elasticsearch-plugin install repository-s3

USER root
RUN chown elasticsearch:elasticsearch config/elasticsearch.yml
RUN chown elasticsearch:elasticsearch config/log4j2.properties
USER elasticsearch

ENV ES_JAVA_OPTS ""
ENV MAX_LOCKED_MEMORY unlimited
ENV AWS_ACCESS_KEY_ID ""
ENV AWS_SECRET_ACCESS_KEY ""

VOLUME ["/data0"]


Q:

Treat last element differently when concatenating strings

I made a loop for concatenating strings:
For cz As Integer = 0 To length - 1 Step +1
    result += GetChar(a, index) + " * 2^" & length - 1 & " + "
    index += 1
    length -= 1
Next cz

Is it possible to not add the "+" on the loop's last step?
I want to use some operations on that result but when i have "+" as last char I can't.

A:

String.Join will accomplish that for you if you pass it an enumerable of strings:
Dim result = String.Join(" + ",
    a.Select(Function (c, i) c & " * 2^" & (a.Length - 1 - i)))


<!DOCTYPE html>

  <meta charset="UTF-8">
  <title>Humpback</title>
  <meta name="description" content="Description">
  <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
  <link rel="stylesheet" href="//unpkg.com/docsify/lib/themes/vue.css">
  <base href="/humpback/" />

Translations

 English

 中文