Kateqoriya Arxivləri: Məzəli

Bu günah yaradan "bir yolunda bir Səbəb daxil etməyib.”

Mən son vaxtlar SharePoint axtarışı ilə iş çox məşğul və xüsusi KeywordQuery sinif olduğunuz, xassələri və metodları.

Siz nəticəsində adi şübhəli yuxarıda və ondan kənarda results qurmaq istəyirsinizsə, (burada), Siz SelectedProperties toplanması əlavə, kimi:

myKeywordQuery.SelectProperties.Add("xyzzy");

Many thanks və papaq bir ucu Corey RothBu olduqca faydalı blog (http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2008/02/19/how-to-use-the-moss-enterprise-search-keywordquery-class.aspx)

Mənə gəldikdə isə, "Xyzzy" həqiqətən idarə mülkiyyət deyil.  Mən hər halda SelectedProperties üçün əlavə zaman, SharePoint mənim sevimli heç Runtime istisna biri atdı:

"Bu fay yaradıcısı səbəbi göstərilməyib."

Mən xüsusilə Səbəb paytaxt "R" istəyirəm.  Bu "nin. NET ekvivalent kimi mənə səslənirMən heç bir ağız var, və mən fəryad lazımdır."

</son>

Blog abunə.

Da Twitter məni izləyin http://www.twitter.com/pagalvin

Jail siyahısı Straight – Cisco VPN Müştəri

Keçən yaz, Mən soyuducu üçün "həbsxanaya düz" siyahısına yaratmışdır.  #1 siyahıda Lawrence O'Donnell edir (qeyri-dəqiq proqnozlar üçün), ancaq ki, yolu bu blog çərçivəsindən kənara var :)  Bugün, Mən siyahısına Cisco VPN müştəri əlavə alıram, və bir burun tərəfindən daxilində var.

Müştərilərin çox il əvvəl bir dəstə onların site məsafədən çıxışın imkan Cisco VPN istifadə.  O zaman, Mən bu müştərilər hər biri üçün virtual PC yaradılmış və bu barədə Cisco yüklü? Niyə?  Hətta yerli şəbəkə printerlər göz bilməz ki, Cisco maşın qədər kilidlənir Çünki, Skype kimi tək təhlükəli alətləri bildirin, Communicator və "~" düyməsini basın.  Lakin,  bir VM bu yüklerseniz, Sizin VM aşağı kilidli deyil ana edilir. 

Mən Cisco VPN müştəri istifadə etmək üçün, çünki mən bu gün həmin şöhrət gün xatırladıb alıram * again * və mənə kilidlənir və mən bir dəqiqə onu istifadə etmək lazımdır.  Mən deyil, Cisco VPN müştəri həbsdə olması layiq nə qədər haqqında blog yerine istifadə edin ...

</son>

Blog abunə.

Da Twitter məni izləyin http://www.twitter.com/pagalvin

Bazar Səhər Funny: “Dədə, O, hətta bilmir”

Biz şimal New Jersey Galvin nin siyasi satira tv böyük azarkeşləri var. proqram, The Daily Show hosted by Jon Stewart. I don’t like to get political in my blogging, belə bütün demək lazımdır ki, ki, olmadan Daily Show, Mən də daimi itirilmiş ola bilər və ya haqqında mənada yumor bütün 12/12/2000.

Biz erkən keçən həftə göyərtə bir yemək olan və mənim on yaşlı oğlu bir son epizod gündəmə gətirir Göstərmək. Mən şərh, "Jon Stewart knows that he daha yaxşı mənə əyləncə etmək or there will be terrible consequences for Jon Stewart."

Oğlum bir dəqiqə bu barədə düşünür və deyir: "Dad, bir nömrəli: He doesn’t even know you."

Mən bir sıra iki gözlədi, lakin o, kifayət qədər idi və beat atlama olmadan Növbəti mövzu köçüb qərara.

Mən zarafatlar bu cür daha çox mileage almaq bilər ki, olmaq üçün istifadə, but he’s getting too used to me or too mature or both. I need to adjust somehow.

</son>

Blog abunə.

Technorati Tags:

Bazar Funny: “Bu Zengin Town olmaq idi Düşüncə”

Bir az üç ildən əvvəl, Mənim həyat yoldaşı və mən yay fəaliyyəti üçün oğlum imzaladı, The Midland Park Players. This is a drama group that spends about three or four weeks preparing for a play and then showing it to the parents, friends and relatives. It’s always been done very well.

I don’t know if everyone’s child is like this, but my son is extremely reluctant to try new things. Knowing this, we signed him up for the program. We’ve found that it’s best to alert him to these kinds of things early and often. Belə, in order to overcome his natural reluctance, we told him early and did our best to make it sound like fun, və s.. Even with a multi-month advertising campaign, he still wasn’t convinced. We forced him to do, baxmayaraq ki, and as is often the case, he had a great time.

By the time the second year rolled around, he had once again convinced himself that he didn’t want to participate. Lakin, we had signed him up and on zero-day, I dropped him off one morning at the high school where they practice. When I went to pick him up after lunch, he was very excited, all smiles and announced, "The play is the Velveteen Rabbit and I want to be the Rabbit". He had spent literally months carrying on (sometimes hysterically) about how he didn’t want to have anything to do with Park Players and after the first day, he wants to be the lead role in the play. We’ve seen this pattern before.

(Much to our surprise, he did get the Rabbit role and he was amazing.)

Fast forward a few years. He’s been in Park Players three times now, so he’s something of a veteran. This summer (2008), Players starts up again. Eyni zamanda, he’s finally convinced us he həqiqətən doesn’t want to play soccer and he never liked basketball. That left him with no extra-curricular activities for late Winter / early Spring. A client with whom I was working mentioned that his daughter was in a program called Stage Right. Stage right is a slightly more expensive version of Park Players and it’s not in my town, but adjacent to it. Perfect.

The thing to know about that town is that it’s practically another country in terms of wealth. It has a high-frequency train right to Wall Street and NYC in general. It’s just a wealthy place. One of the on-going family discussion themes is whether we should have moved to that town instead of where we live now. It’s a bigger town, its schools offer more programs for the kids, və s.. My wife grew up in that town and her parents live there, so we are "hooked in" despite not living there. I personally grew up in different circumstances in Massachusetts, so I don’t have a lot to say about this during family dinner conversation. This isn’t to say that we aren’t very happy where we live. We just know that that town is a level above our town economically.

Stage Right’s next program started too soon for us to launch our normal advertising campaign to overcome my son’s reluctance. This is when he came up with one my personal favorite arguments against doing something: "Friday nights are prime nights for sleep overs!" Stage Right was going to interfere with his weekend socials.

The day comes, we bring him there and drop him off and as with everything else, his natural love of just being alive took over and he’s been having a good time with it.

This past weekend my wife was talking to him and for the first time, I think he’s tailoring his discussions very precisely for his audience. She had asked him how Stage Right compares to Midland Park Players. He tells her that "In Park Players, we have teenagers that help us out. There aren’t any in in Stage Right. In Park Players, teenagers make all props. In Stage Right, we have to bring our own props. We have to do everything. And then he twists the knife: "I thought this was supposed to be a rich town."

All these years, I never really thought that he was hearing or understanding anything as it related to the "rich town". Lakin, it turns out he was.

</son>

Blog abunə.

Technorati Tags:

Bazar Funny: “Parolu əgər mən təəccüb …”

Bu yaxınlarda mən qardaşım üçün nahar alıb (həmişə olduğu kimi) and we ended up talking about funny things that we did at our respective colleges. At my alma mater, Lafayette College, the academic support IT department had a very inclusive way about it. We were given a LOT of rope and I took advantage of that at times.

Two my favorite memories relate to my good friend, Gabe. He had made the terrible mistake of telling people his freshman year that "I’m a freshman, but I have Sophomore standing" due to the various advanced placement classes he had taken, və s.. Many of us were similarly situated but we didn’t talk about it so much. His senior year, when we introduced him to people, we’d say "This is Gabe. He’s a Senior, but he has Sophomore standing".

The college had some Sun workstation/servers running X-Window. They had gigantic monitors and the engineers used them for CAD and other boring engineer stuff. We CS people used them to learn programming and, əlbəttə, to play games.

We didn’t like the computer-helpless engineers to much so one of our favorite things to do would be to telnet to the box they were on and run X-eye on them. This would pop up a pair of eyes that followed the mouse around on the screen. You could pop up even more and have literally a dozen or more of the X-eye applications running. Try not to laugh out loud when a hapless engineer is trying to close X-eye after X-eye and muttering under his breath about it 🙂

We also played X-trek on those boxes. To do that, you had to download the source, get various dependencies wherever you could find them and build it. I wasn’t a sophisticated C programmer, but I could read header files. I was looking through these and found directives like "#DEFINE MAX_TORPEDO_DISTANCE 10". I played around with that increase range and power for phases and torpedoes, re-built it and then destroyed Gabe the next time we played.

Gabe was also a huge fan of a TV show called Blake’s 7. I had never seen it, but that didn’t prevent me from insisting that Dr. Who is the superior show. The arguments would get heated at times 🙂

Bir gün, it occurred to me that I could probably guess his UNIX password. I sat down next to him one day and announced in a loud tone, "I’m going to guess your password right now, Gabe." "Yeah, sağ" was his answer. I then logged in, entered his user id, turned to face him, typed and said out loud, "I wonder if it’s B-L-A-K-E-7" ? Touch typing has never paid off as handsomely as it did that day.

Gələn həftə (or soon): More computer room antics from college.

Do you have any to share? Leave a comment or email me and I’ll publish them here.

</son>

Blog abunə.

Technorati Tags:

Bazar Funny: “Mən bir az oğlan idi”

Bir valideyn kimi,, somewhere along the line I discovered the "When I was a little boy" trick.

Oğlum, zamanı yəqin ki, dörd və ya beş, bir balon oynayan və balonları ilə oynamaq ki, ən kiçik oğlan kimi oldu, he popped it. He was very upset. The world had come to an end. I said to him, "when I was little boy, Mən bir şar idi və o, nəticədə atdı və, I got a new balloon." It seemed to help him cope with his loss and led to a fun talk about what it was like when I was a little boy.

That worked well as a consolation technique and I used it a several times over the next period of time. I did get into trouble once when his Monster Rancher 3 creature died. I talked about how my dog, Şahzadə, had died in a car accident. Bu dəfə, onun cavab idi, "Now I feel bad about two things!" I shied away from using the "when I was a little boy" sonra təsəlli üçün texnika.

Ölü it hadisədən əvvəl, lakin, I had also started to use the technique to convince him to do chores. "When I was a little boy, I had to go out and get the newspaper", "clean my room", "get Mommy her coffee cup", və s..

Bu da bir müddət üçün olduqca uğurlu olmuşdur, but he started to increasingly rebel against the tyranny of my childhood. One event, xüsusilə, marked the end. I told him to bring the garbage cans from curb back to the garage. He argued and I responded, "When I was a little boy, I had to take the garbage back to the garage." He responded, "Oh yeah! Well when you were a little boy, ki axmaq idi!".

</son>

Blog abunə.

Technorati Tags:

Bazar Funny: “NOT ixrac üçün”

Geri ətrafında 1998, the company I worked for at the time received some funding to create a new e-commerce product. We had the full gamut of business requirements to meet. It had to be fast, son istifadəçilər üçün asan, çığıran, çox dil, və s.. Sad to say, Mən yəqin ki, o sərxoş gündən yerinə yetirmək üçün iş iddialı bir dəst kimi idi yoxdur.

This effort pre-dated Microsoft.NET. Plain vanilla ASP was still somewhat new (mənim şirkət və ya ən çox müəmmalı). "Brick and mortar" companies were doomed. Məhkum! This is to say that it was pioneering work. Not Hadron Collider ilk iş, lakin bizim kiçik dünya, iş öncülük edilib.

We were crazy busy. We were doing mini POC’s almost every day, bir mahiyyət vətəndaşlığı olmayan orta dövlət qorumaq üçün necə figuring, çox dil məsələləri həyata figuring, row-level security. We even had create a vocabulary to define basic terms (Mən dövlət davamlı üstünlük lakin nədənsə, the awkward "statefull" Bu gün qalib).

Biz dəlicəsinə bu məhsul keşfetmeye kimi, the marketing and sales people were out there trying to sell it. Somehow, they managed to sell it to our nightmare scenario. Even though we were designing and implementing an enterprise solution, we really didn’t expect the first customer to use every last feature we built into the product day zero. This customer needed multi-language, a radically different user interface from the "standard" system but with the same business logic. Multi-language was especially hard in this case, biz həmişə ispan və ya fransız diqqət çünki, lakin bu halda, o Çin idi (Hansı istifadə olunan texnologiya verilmiş bir cüt bayt character set və xüsusi rəftar edir).

Fast forward a few months and I’m on a Northwest airlines flight to Beijing. I’ve been so busy preparing for this trip that I have almost no idea what it’s like to go there. I had read a book once about how an American had been in China for several years and had learned the language. One day he was walking the city and asked some people for directions. The conversation went something this:

  • Amerika: "Could you tell me how to get to [XX] küçə?"
  • Çin: "Sorry, we don’t speak English".
  • Amerika: "Oh, yaxşı mən Mandarin danışmaq." və Çin dilində yenidən xahiş, lakin daha dəqiq (o ola bilər ki, ən yaxşı).
  • Çin: Çox nəzakətlə, "Sorry, we don’t speak English".

The conversation went on like that for bit and the American gave up in frustration. As he was leaving them he overheard one man speaking to the other, "I could have sworn he was asking for directions to [XX] küç."

I had picked up a few bits and pieces of other China-related quasi-information and "helpful advice":

  • A Korean co-worked told me that the I needed to be careful of the Chinese because "they would try to get me drunk and take advantage of you" pis iş qərarlar məni təzyiq hissi ilə.
  • Biz avtomobil idarə etmək buraxılmayıblar (Bu xüsusi olub üçün bir çaşqınlıq var idi, hüquqi tələb və ya müştərinin qayda).
  • Gömrük yaşayır üçün xüsusi qaydalar var idi.
  • Biz bir şey Amerika pul istifadə buraxılmayıblar.
  • You’re not supposed to leave tips. It’s insulting if you do.

Və nəhayət,, Mən nisbətən təzə xatirələr də var Tiananmen soyqırımı. When I was at college, I remember seeing real-time Usenet postings as the world looked on in horror.

Qısa, I was very nervous. I wasn’t just normal-nervous in the sense that I was delivering a solution that was orders of magnitude more complicated than anything I had ever done before. I was also worried about accidentally breaking a rule that could get me in trouble.

Bu barədə Ben 14 saat uçuş və biznes sinif idi, 14 saat damned uzun vaxt. Okuyarak özünüzü əyləndirmək üçün yalnız bir çox yolu var, watching movies or playing with the magnetized cutlery. Even a really good book is hard to read for several hours straight.

Nəhayət, Mən proqram bir parça üzrə qablaşdırma materialı oxumaq üçün açılmış Mən müştəri üçün mənə əl balans idi, Netscape’s web server. I’m reading the hardware/software requirements, marketinq blurbs, Þirin şəkil baxan və birdən-birə, I zero in on the giant "NOT FOR EXPORT" xəbərdarlıq, haqqında bir şey 128 bit encryption. I stuffed the box back into my carry bag, üz-aşağı xəbərdarlıq (oldu ki, guya) və fikirlərin saxlamağa cəhd Midnight Express out of my head.

İndi geri Axtarıram, Mən narahat olmalı, əgər, ABŞ gedəndə, not when I was entering China 🙂 Nothing untoward happened and I still consider that to be the best and most memorable business trip I’ve had the pleasure of making.

</son>

Blog abunə!

Technorati Tags: ,

Bazar Funny: Onun ayaq Your Son saxlanması

One of the many joys I take in being the parent of a ten year old boy is finding new ways to make him laugh or think a little differently about questions and things in the world. I’ve used these techniques over the years:

===

Onun suallara yanlış anlamak:

Onun: Bu nə gündür?

Dədə: Çərşənbə bir gün əvvəl.

S: Yox, ayın hansı gün ki,?

D: Oh, bu 4 Jan gün sonra 25.

===

Ona qıdıq və o laughing vermir zaman dayandırmaq lazımdır onu demək.

===

TV otaq pilləkən aşağı getmək və anons, "It’s good to be the daddy." Sonra, taxt üzərində isti spot almaq və yaxşı bir şey üçün kanal dəyişdirmək üçün onu ala, ki, SciFi kanal kimi.

===

Read stories out loud. Insert ridiculous sentences in the middle of the story. My favorite is to add "killing him instantly" when the main characters encounters some minor trouble. Məsələn, "the knife slipped in his hand, şəhadət barmağı kəsici, dərhal onu öldürməkdən." Nothing quite gets your son out of a complacent and passive listening mode as the main character being killed instantly.

===

Read stories incorrectly. Read sentences backward. The best part of this is that the first couple of times I did this, my son thought he was helping me out by pointing out that I wasn’t reading the words in the right order. The down side is that he really doesn’t want me to read to him any more.

===

Go to Burger King for lunch. My son would eat BK morning, night and day if we let him. When going, onu demək, "I know you hate going there, but we simply have no choice." When he tries to explain that he loves BK, talk over him and say things like "We don’t have time to argue about it! We’re going and I don’t want to have a discussion!"

(Bu, mənim sevimli Borg zarafat xatırladır: "Borger King: We do it our way. Your way is irrelevant." hahaha!)

===

Səhifə üçün bir kitab aç 9 və demək, "hmm, that’s an odd page".

===

Fill the world with arch enemies. "We’re going to run quick over toe 7-11, arch-enemy of 11-7".

"Your aunt lives in Ringwood, Squarewood mahalında Arch Enemy."

===

Biz Nyu-Cersi From Massachusetts bir neçə dəfə bir il qədər sürücü və tez-tez çəkir 5 hours door to door. As we arrive home and pull into the driveway say, "oh, Unuttum, biz Əsas Depo sürətli bir tire etmək lazımdır."

===

Bir TV şiddətli bir epizod seyr edərkən (belə qəhrəmanlar kimi), Oğlun demək, "some times, iş, I need to destroy my enemies by burning them alive using the powers of my mind. I don’t like doing it, lakin siz bunu gerek nə gerek."

===

Pis dəhşət film seyr edərkən (see "It’s good to be the Daddy" yuxarıda), ascribe improbable motives to the evil character. Məsələn, tell your son that the reason Jason is so angry is because he wants some cake and they won’t let him have any.

===

Explain phone numbers incorrectly. Instead of telling your son to dial "201-111-2222", tell him it’s "2-011-1-12222".

===

Nə tövsiyələr istifadə edirsiniz?

</son>

Technorati Tags: