<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress.com" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>

<channel>
	<title>server &amp;laquo; WordPress.com Tag Feed</title>
	<link>http://en.wordpress.com/tag/server/</link>
	<description>Feed of posts on WordPress.com tagged "server"</description>
	<pubDate>Mon, 20 May 2013 05:34:49 +0000</pubDate>

	<generator>http://en.wordpress.com/tags/</generator>
	<language>en</language>

<item>
<title><![CDATA[Concerned Customer]]></title>
<link>http://kbrown8898.wordpress.com/2013/05/15/concerned-customer/</link>
<pubDate>Wed, 15 May 2013 11:30:27 +0000</pubDate>
<dc:creator>kbo8898</dc:creator>
<guid>http://kbrown8898.wordpress.com/2013/05/15/concerned-customer/</guid>
<description><![CDATA[I thought I should write in hopes that someone would take notice of a troubling event that took plac]]></description>
<content:encoded><![CDATA[<div>I thought I should write in hopes that someone would take notice of a troubling event that took place at a local restaurant this past weekend on Mother&#8217;s Day.  Normally I wouldn&#8217;t say much other than complain in the store and let it be, but to be honest this is a potential problem and a concern for the customers of this establishment as well as the public.  I&#8217;m not looking for anything other than sending a clear message that certain behavior cannot be tolerated.</div>
<div></div>
<div>It all started when I wanted to take my wife and family out for a Mother&#8217;s Day dinner at the Macaroni Grill on Winward Parkway in Alpharetta, Georgia, a place we had been to many times before and enjoyed going to.  That all changed as a result of a threatening and irrational restaurant manager and his absolute lack of self control.</div>
<div></div>
<div>The following is an account of that day and has been sent to the owners of that restaurant.  I&#8217;ve contacted the corporate offices of Ignite Restaurant Group in Houston with not much result as yet.  I&#8217;ve spoken to a regional manager who downplayed the event as an isolated incident and although apologetic, didn&#8217;t seem to think much would happen to the individual.  <strong>I as a customer and reasonable person expect to be allowed to voice my opinion when service and attitude are wrong or out of line</strong>&#8230;.</div>
<div></div>
<div> What started as a simple upsetting moment, turned into an almost physical confrontation due solely on the managers behavior.  As a result I was accused of &#8216;causing a disturbance&#8217; and actually yelled at and run out of the store being both verbally and potentially physically abused by the manager, a person who should be on the customer&#8217;s side from the beginning of the story.  This was not the case in any way.</div>
<div></div>
<div></div>
<div>
<p style="display:inline!important;"><span style="font-family:georgia, serif;"><i>We had just been seated and had ordered everything.  The server was delivering the kid’s drinks.  The first drink spilled all over my wife and drenched her completely.  Rightfully so, she was very upset.  The waiter was apologetic but my wife still asked to see a manager.  The server never attempted or offered to clean anything up, no napkins, nothing.  He just walks away.  The manager did come over and say he was sorry, but his tone was short and not at all sincere.  He seemed to take an almost defensive posture and says more than once how it wasn&#8217;t the servers fault and how he didn&#8217;t do it on purpose.  We never accused anyone of doing anything on purpose.  We were looking for some simple solutions and sympathy to the situation.  At no point did he attempt to clean anything up nor offered any assistance like extra napkins or to move us or anything.  The manager decides to only remove the wet paper from the table which he makes a further mess with.  We asked for another server and he did accommodate.  He never offered anything other than that the half-hearted apology. </i></span></p>
<p style="display:inline!important;">
</div>
<div>
<p><span style="font-family:georgia, serif;"><i>It took forever for the next server to come over although she was right there at the bar the entire time and had to have seen everything.    My wife and I had discussed how he had acted and when the new server came over we asked to see the manager again.  He came over.  My wife was still upset and had simply asked if he was going to offer something to us for sitting there wet and embarrassed, no offer to clean the clothing, comp the meal, nothing.  He says &#8216;no, I apologized and again he didn&#8217;t do it on purpose and it wasn&#8217;t his fault and that was all he was going to do.&#8217;  We were sort of shocked at his absolute disregard for any since of decency.  After a few more exchange of words, he finally comes around and says he&#8217;ll comp her meal reluctantly.  I haven’t said much up to this point but I finally tell him that he should have offered something the first time he came around.  We told him that we were not happy about the service as she is still sitting soaked without a reasonable initial response.  We shouldn&#8217;t have to pay for a meal and be insulted like that.  I told him I was shocked at his attitude toward this situation. </i></span></p>
<p><span style="font-family:georgia, serif;"><i>He continues to repeat himself to say that he’s done everything to accommodate us and that it wasn’t his fault and he didn’t do it on purpose.  We told him we never implied anyone did anything on purpose.  We just wanted some common decency with a proper response.  He comes back at us with &#8216;we can either stay and enjoy his fine meal in a great atmosphere or we can leave and that&#8217;ll be just fine with him.&#8217;   I basically told him his attitude was lousy and are you seriously kidding me.  Out of the blue he then went off on me and wound up saying he’s not going to offer the comp or anything anymore and that we should leave. </i></span></p>
<p><i><span style="font-family:georgia, serif;">We were definitely not going to sit there.  I was getting more upset at every word from his mouth.  As we were getting up to leave, I told him he was a ‘pathetic manager’ and he starts yelling at me right at table-side pretty much still right in my face.  I’m turned around trying to get my son out of the seat beside me as he’s continuing to berate me right there.  He starts yelling saying that if I didn&#8217;t leave he was going to get my license plate and call the police.  At this point I’m starting to feel a bit threatened by this guy.   I turned and asked him if he treats all of his customers this way.  <strong>On our way out, in front of my wife and two kids, he attempts to either grab my arm or push me aside trying to get past me for some reason.  I almost trip over him.  He’s following us out of the restaurant right on my heels yelling at us to leave&#8230;. in front of a packed lobby on mother’s day.</strong>  We are on our way out of the restaurant when he turns to one of his hostesses and yells to her to call the police and he&#8217;s going to get our license plate.  I&#8217;ve never been so insulted in my life.  We&#8217;ve done nothing to him but to expect some sincere apology and attempt to make things a bit better experience and a good enough reason to want to stay and try to have a nice meal.  He&#8217;s decided to go absolutely to the far left with his irrational behavior. </span></i></p>
<p>This situation is disturbing because of the lack of self control and the almost abusive behavior of a manager, who is supposed to be trained to deal with situations.  He did nothing to calm the situation or offer any sympathy to what was an accident to begin with, but turned into something much worse.  We didn&#8217;t have any undue expectations.  This person reacted in a threatening manner and I think the public should be aware of potential conflicts with this person may result in further erratic behavior.  I doubt this is the first time this manager has reacted this way and I&#8217;m afraid it won&#8217;t be the last.  Who knows what he might do next time or if the next person doesn&#8217;t stay calm enough to resist his personal insults and attacks.  He needs to be at least removed as a manager.</p>
</div>
]]></content:encoded>
</item>
<item>
<title><![CDATA[90% new dell,HP,IBM servers,lenovo,Asus laptops,tablets]]></title>
<link>http://waterjet2012.wordpress.com/2013/05/15/90-new-dellhpibm-serverslenovoasus-laptopstablets/</link>
<pubDate>Wed, 15 May 2013 08:21:24 +0000</pubDate>
<dc:creator>waterjet2012</dc:creator>
<guid>http://waterjet2012.wordpress.com/2013/05/15/90-new-dellhpibm-serverslenovoasus-laptopstablets/</guid>
<description><![CDATA[HP,lenovo,dell,samsung,fujitsu,toshiba,sony,Acer,Asus,ibm,server,laptop we have hundreds of 90% new]]></description>
<content:encoded><![CDATA[<p>HP,lenovo,dell,samsung,fujitsu,toshiba,sony,Acer,Asus,ibm,server,laptop</p>
<p>we have hundreds of 90% new dell,HP,IBM servers and HP,lenovo,dell,samsung,fujitsu,toshiba,sony,Acer,Asus laptops imported from USA, stored in our Hongkong warehouse. <br />Welcome to contact us!<br /><a href="http://www.net-silkroad.com" rel="nofollow">http://www.net-silkroad.com</a><br />Name: Bruce Chan<br />Tel: +86-13480134956<br />Fax: +86-13714409176<br />Mobile: +86-13823510166<br />E-mail: 13823510166@139.com<br />Add: Building 4,Seg Industry Park, Zhenxing Road, Shenzhen City, China<br />MSN: brucechan2000@hotmail.com<br />Skype: bruce.chan2000</p>
<p> </p>
<p> </p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Looks like Valve broke TF2 server updates, AGAIN!]]></title>
<link>http://cactusjaq.wordpress.com/2013/05/15/looks-like-valve-broke-tf2-server-updates-again/</link>
<pubDate>Wed, 15 May 2013 05:28:05 +0000</pubDate>
<dc:creator>cactusjaq</dc:creator>
<guid>http://cactusjaq.wordpress.com/2013/05/15/looks-like-valve-broke-tf2-server-updates-again/</guid>
<description><![CDATA[No matter how many times I type &#8216;exit&#8217;, like millions of times before, it just gets back]]></description>
<content:encoded><![CDATA[<p><a href="http://cactusjaq.files.wordpress.com/2013/05/tf2_server.jpg"><img class="size-full wp-image" id="i-181" alt="Image" src="http://cactusjaq.files.wordpress.com/2013/05/tf2_server.jpg?w=487" /></a></p>
<p>No matter how many times I type &#8216;exit&#8217;, like millions of times before, it just gets back to what you see in the screen shot! Sometimes I really hate Valve man! <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Here is what I have in my startup script:<br />
&#8220;screen -m -S tf2 ./srcds_run -game tf +hostport 27015 -replay -autoupdate -tickrate 66 -steambin /home/tf2/hlds/steam -maxplayers 24 +map ctf_2fort&#8221;</p>
<p>Does anyone have any ideas? I have tried a few things which you can find <a href="http://forums.steampowered.com/forums/showthread.php?p=34408811" target="_blank">here</a></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[I saw Goody Proctor with the Devil]]></title>
<link>http://feyip.wordpress.com/2013/05/15/i-saw-goody-proctor-with-the-devil/</link>
<pubDate>Wed, 15 May 2013 05:07:52 +0000</pubDate>
<dc:creator>feyip</dc:creator>
<guid>http://feyip.wordpress.com/2013/05/15/i-saw-goody-proctor-with-the-devil/</guid>
<description><![CDATA[Many of my previous posts have been about technology used for establishing location; GPS, GSM, WIFI.]]></description>
<content:encoded><![CDATA[<p>Many of my previous posts have been about technology used for establishing location; GPS, GSM, WIFI. All have their uses in determining where you are based on how far you are from their transmitter and the time taken for the signal to travel. Wireless technologies like this mean that even as you travel at great speeds you can know where you are (and how great your speed actually is).<br />
So if you can work out where on the planet you are using a device that fits in your pocket, receiving a light bulbs amount of power, sent from an atomically powered satellite, spinning round the earth at a distance of 20,000 km  and a speed of 14,000 km/hour, where in the world is this blog post actually hosted? Unlike GPS receivers or mobile phones, servers and switches that make up the internet are fixed boxes, that sit in air conditioned rooms, are always switched on, and have cables in the back of them that make their connections similar to a wifi signal but should be more stable than the wireless! Yet it&#8217;s not the ip signal that allows wifi to act as location method, but the method of transporting it, and knowing where the transmitter is located (Wardriving, for example, maps wifi using gps).<br />
This blog is hosted by WordPress, whose headquarters are in Redwood City, California, but that doesn&#8217;t mean that is where this post is hosted. Using a simple Dos command &#8211; Tracert (Trace Route) &#8211; I typed in the web address of my WordPress site, and the DNS server translated that into the sites ip address, which the tracert then shows hops through the servers to get to the site.<br />
It&#8217;s a bit like planning a journey using a GPS unit; you tell it where you want to start from, and your intended destination, and it gives you a step by step route that you can follow to get where you want to get to, complete with distances for each section.<br />
Based on that, the ip address of the server is 76.74.250.120, and typing that number into one of the many &#8220;locate ip address&#8221; sites that dot the internet, the location of the server is Texas.<br />
Or is it?<br />
Running the &#8220;tracert feyip.wordpress.com&#8221; command on a different machine I get an ip address of 66.155.11.238, which according to the same locate ip site is based in San Francisco, a difference of about one and a half thousand miles.</p>
<p>The location information is based on information held by the IANA - <a href="http://www.iana.org/">http://www.iana.org/</a> - who are the global coordinator of the IP network, as well as the DNS root. Users are assigned IP addresses by Internet service providers (ISPs). ISPs obtain allocations of IP addresses from a local Internet registry (LIR) or National Internet Registry (NIR), or from their appropriate Regional Internet Registry (RIR), which is split into five regions - AfriNIC:Africa Region, APNIC:Asia/Pacific Region, ARIN:North America Region, LACNIC:Latin America and some Caribbean Islands, RIPE NCC:Europe, the Middle East, and Central Asia &#8211; and is also added too by secondary sources such as user submitted information or &#8221;guesstimates from adjacent Class C range[2] and/or gleaned from network hops&#8221;.<br />
Basically, servers by default do not have geolocation information, and even those that do, may not be accurate if they&#8217;re based on averaging network hops from other people (going back to the location of this blog, I think WordPress has submitted the location of its servers). If the only way you could tell where your house was based on the time other people took to get there, then you&#8217;d have to account for the fact that not everyone travels at the same speed. If the hop is 5ms from server A, 5ms from Server B and 5ms from Server C, then it should be simple to triangulate to the position, providing the speed of the medium is the same. But they&#8217;re not.</p>
<p>Now, all of this research has been brought on by a post on a friends church Facebook page, by a person who was carrying out a vulnerability scan of what they said was a child porn site. I haven&#8217;t verified that&#8217;s what it is, or how he knows that&#8217;s what it is, but as we&#8217;re just interested with ip addresses the content isn&#8217;t really important to this blog post.<br />
<a href="http://feyip.files.wordpress.com/2013/05/scan.jpg"><img class="alignnone size-medium wp-image-558" alt="scan" src="http://feyip.files.wordpress.com/2013/05/scan.jpg?w=600&#038;h=504" width="600" height="504" /><br />
</a>Pointing out the obvious first, the person posting and the church are based in the UK, while the site the person is looking for has &#8220;dallas&#8221; in the title, and &#8211; based on the RIR &#8211; is based in the US (ip geolocation may not always be accurate, but as Continents come under different registries, telling that part is). After passing through the suspect ip the route takes another dozen hops.</p>
<p>His local area network is hop one of nineteen, while the server he believes to be in the church is hop two of nineteen, which for a residential set up is usually an ip associated with your ISP. If you go back to the GPS analogy, when you plan a car journey from your house then the first line will be your house (origination), and the second the street you live on (your route to the outside world). Where you go from there depends on your ultimate destination, but you need those two parts. Based on that screenshot, he was leaving his house and going down someone elses road, and he said he didn&#8217;t recognise it!</p>
<p>In theory, this tracert could be completely accurate&#8230;if he was in the church and therefore using their server. The routing would then go from his machine, to the church server, to the outside internet. But he said he was in his own house &#8211; two miles away &#8211; plus the ip addresses allocated by the church wired and wireless routers don&#8217;t match the numbers shown, so we can rule that out.</p>
<p>So that leaves something more sinister. His internet connection has been hijacked, and instead of going to his ISP, it&#8217;s going to this unknown ip address, which he then types it into a locate ip address site, and get the church as the result. Given he&#8217;s doing something that requires a bit of IT know how, detecting something so weird should probably have alarmed him; instead of going to the internet via his normal route he&#8217;s connecting directly to a church two miles away. Yet instead he then shares this as proof of wrong doing that he wants all too see.<br />
Problem is &#8211; as discussed above &#8211; ip geolocation is not exact, and results vary from address to address. In this case the site he tried said the church, while <a href="http://iplocation.truevue.org/">http://iplocation.truevue.org/</a> says it&#8217;s in Yorkshire, one<a href="http://www.geobytes.com/IpLocator.htm?GetLocation" rel="nofollow">http://www.geobytes.com/IpLocator.htm?GetLocation</a> gives Newcastle, while  <a href="http://www.iplocation.net/" rel="nofollow">http://www.iplocation.net/</a> puts it in the middle of the Irish sea! For all we know, it could be a proxy server and his information was being shared with people in Russia, but as he was too busy believing it was the church he didn&#8217;t seem to consider the dangerous consequences of this deviation.<br />
Sadly for him, the only proof it shows is he doesn&#8217;t know as much as he thinks he does. Sadly for everyone else, he&#8217;ll probably continue doing things like this without stopping to consider the consequences of his misplaced accusations.</p>
<p>As a father I support the crusade against paedophiles.<br />
But as a father I wouldn&#8217;t want my kids &#8211; or anyone elses kids &#8211; to have to grow up without a parent because they&#8217;ve been accused based on flimsy evidence like this, which is obviously wrong to those who know what to look for, but can still tarnish innocent peoples lives.<br />
In the play, Goody Proctor is saved from death because she&#8217;s pregnant, but other characters who where falsely accused did not get off so lightly.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[HowTo: User defined map]]></title>
<link>http://maaloo7.wordpress.com/2013/05/14/howto-user-defined-map/</link>
<pubDate>Tue, 14 May 2013 18:46:11 +0000</pubDate>
<dc:creator>maaloo7</dc:creator>
<guid>http://maaloo7.wordpress.com/2013/05/14/howto-user-defined-map/</guid>
<description><![CDATA[This HowTo explains the ability to use your preferred local map provider as source for the map tiles]]></description>
<content:encoded><![CDATA[<p>This HowTo explains the ability to use your preferred local map provider as source for the map tiles of the map. You can edit the settings of the &#8220;User Map&#8221; in a way the map tiles are usually accessed from map servers. Not all types of map servers are supported, but the majority which use the normal OpenStreetMap coding.</p>
<p>To edit the settings of the &#8220;User Map&#8221; follow this steps:</p>
<p>1) From the main screen choose Map / Download<br />
<a href="http://maaloo7.files.wordpress.com/2013/05/usermap1b.png"><img class="alignnone size-medium wp-image-197" alt="usermap1b" src="http://maaloo7.files.wordpress.com/2013/05/usermap1b.png?w=180&#038;h=300" width="180" height="300" /></a></p>
<p>2) Choose the last entry of the list of maps, the &#8220;User&#8221; map.<br />
<a href="http://maaloo7.files.wordpress.com/2013/05/usermap2.png"><img class="alignnone size-medium wp-image-195" alt="usermap2" src="http://maaloo7.files.wordpress.com/2013/05/usermap2.png?w=180&#038;h=300" width="180" height="300" /></a></p>
<p>3) Open the menu and tap on &#8220;edit map provider&#8221;<br />
<a href="http://maaloo7.files.wordpress.com/2013/05/usermap3.png"><img class="alignnone size-medium wp-image-196" alt="usermap3" src="http://maaloo7.files.wordpress.com/2013/05/usermap3.png?w=180&#038;h=300" width="180" height="300" /></a></p>
<p>4) This are the default settings for the OpenStreetMap-Mapnik-Server<br />
<a href="http://maaloo7.files.wordpress.com/2013/05/usermap4.png"><img class="alignnone size-medium wp-image-194" alt="usermap4" src="http://maaloo7.files.wordpress.com/2013/05/usermap4.png?w=180&#038;h=300" width="180" height="300" /></a></p>
<p>You can see some fields to edit. The main setting is the URL of the map server. The URL contains some placeholders {0}..{3}. The amount of placeholders depends on the amount of sub-servers the map server has (load balanced).</p>
<h2>The settings</h2>
<ol>
<li>URL
<ul>
<li>for Server Count &#62; 1: The placeholders are replaced with the server-number = {0}, zoom = {1}, tile-x = {2} and tile-y = {3}</li>
<li>for Server Count = 1: The placeholders are replaced with zoom = {0}, tile-x = {1} and tile-y = {2}</li>
</ul>
</li>
<li>Parameter Type
<ul>
<li>You should always choose OSM</li>
</ul>
</li>
<li>Server Count
<ul>
<li>Some map providers use more than one server to balance the traffic and reduce the server-stress</li>
<li>If this option should not be used, set it to 1 and replace the placeholder for the servers with nothing or a static value.</li>
</ul>
</li>
<li>Max Zoom
<ul>
<li>Type in the max zoom level the map provider allows. Some map servers provide map tiles until zoom level 16 only, escpecially such with included hill-shading. Usually this value is 18.</li>
</ul>
</li>
<li>File Extension
<ul>
<li>Type in the file-extension (png or jpg) of the format the map tiles are returned from the server.</li>
</ul>
</li>
</ol>
<h2>Examples</h2>
<p>Here is an example for the settings of a finnish map server.<br />
<a href="http://maaloo7.files.wordpress.com/2013/05/screenshot_v193_15.png"><img class="alignnone size-medium wp-image-189" alt="screenshot_v193_15" src="http://maaloo7.files.wordpress.com/2013/05/screenshot_v193_15.png?w=180&#038;h=300" width="180" height="300" /></a></p>
<p>And thus it looks like in the map:<br />
<a href="http://maaloo7.files.wordpress.com/2013/05/screenshot_v193_21.png"><img class="alignnone size-medium wp-image-188" alt="screenshot_v193_21" src="http://maaloo7.files.wordpress.com/2013/05/screenshot_v193_21.png?w=180&#038;h=300" width="180" height="300" /></a></p>
<h2>More examples</h2>
<p>Some links for potential map tile servers:</p>
<p><a title="http://www.neongeo.com/wiki/doku.php?id=map_servers" href="http://www.neongeo.com/wiki/doku.php?id=map_servers">http://www.neongeo.com/wiki/doku.php?id=map_servers   </a>(replace [z] with {0}, [x] with {1} and [y] with {2})</p>
<p>As test values for <strong>zoom</strong>, <strong>x</strong> and <strong>y</strong> you can use: zoom=10, x=542 and y=297 (Oslo, Norway) e.g. <a title="http://opencache.statkart.no/gatekeeper/gk/gk.open_gmaps?layers=topo2&#38;zoom=10&#38;x=542&#38;y=297" href="http://opencache.statkart.no/gatekeeper/gk/gk.open_gmaps?layers=topo2&#38;zoom=10&#38;x=542&#38;y=297">http://opencache.statkart.no/gatekeeper/gk/gk.open_gmaps?layers=topo2&#38;zoom=10&#38;x=542&#38;y=297</a></p>
<p>Leave a reply if you found a useful map provider which could be interesting for others.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[It's All In How You Look At It]]></title>
<link>http://servicewithastyle.wordpress.com/2013/05/14/its-all-in-how-you-look-at-it/</link>
<pubDate>Tue, 14 May 2013 16:47:26 +0000</pubDate>
<dc:creator>Dirk D. Myers</dc:creator>
<guid>http://servicewithastyle.wordpress.com/2013/05/14/its-all-in-how-you-look-at-it/</guid>
<description><![CDATA[English: The original Piggly Wiggly Store, Memphis, Tennessee. The first self service grocery store,]]></description>
<content:encoded><![CDATA[<div class="wp-caption alignleft" style="width: 310px"><a href="http://commons.wikipedia.org/wiki/File:Piggly-wiggly.jpg" target="_blank"><img class="zemanta-img-inserted zemanta-img-configured" title="English: The original Piggly Wiggly Store, Mem..." alt="English: The original Piggly Wiggly Store, Mem..." src="http://upload.wikimedia.org/wikipedia/commons/thumb/2/26/Piggly-wiggly.jpg/300px-Piggly-wiggly.jpg" width="300" height="238" /></a><p class="wp-caption-text">English: The original Piggly Wiggly Store, Memphis, Tennessee. The first self service grocery store, opened 1916. Français : Le premier supermarché Piggly Wiggly ouvert en 1916 à Memphis, Tennessee (Photo credit: Wikipedia)</p></div>
<p>It&#8217;s five o&#8217;clock in the afternoon, and you just got off work. You have gone to the <a class="zem_slink" title="Grocery store" href="http://en.wikipedia.org/wiki/Grocery_store" target="_blank" rel="wikipedia">grocery store</a> to get the one item you needed to finish dinner. After picking up your cart you see an immense stack of <a class="zem_slink" title="Coca-Cola" href="http://www.coca-cola.com" target="_blank" rel="homepage">Coke</a> strategically placed like the White House, and realized you needed a case of soda because it&#8217;s been a long day and you are thirsty. Then you turn the corner and you see all of these beautiful vegetables displayed and realized that you could make a great salad with just a couple more items. Rounding another corner you see dessert  peering through a little glass case at you, and of course that <a class="zem_slink" title="Angel food cake" href="http://en.wikipedia.org/wiki/Angel_food_cake" target="_blank" rel="wikipedia">Angel Food</a> cake would be great with some strawberriesand <a class="zem_slink" title="Whipped cream" href="http://en.wikipedia.org/wiki/Whipped_cream" target="_blank" rel="wikipedia">whipped cream</a>. So, back to produce and on to the one thing you needed. Passing the meat counter you see fresh Porterhouse steaks displayed on sale, and &#8220;Shazam&#8221; you have tomorrow night&#8217;s <a class="zem_slink" title="Main course" href="http://en.wikipedia.org/wiki/Main_course" target="_blank" rel="wikipedia">main course</a>. On each end cap is displayed amazing <a class="zem_slink" title="McKee Foods" href="http://www.mckeefoods.com" target="_blank" rel="homepage">Little Debbie</a> treats and <a class="zem_slink" title="Tortilla chip" href="http://en.wikipedia.org/wiki/Tortilla_chip" target="_blank" rel="wikipedia">Tortilla Chips</a>.  Turning you go over to the aisle where the salsa is located because you really wanted a different brand. Now you have four more items and you are headed for that one thing&#8230; What was it? Oh yeah!  Get milk&#8230; Then that takes you past the ice cream, and then another display with sale wines. Excellent&#8230; Oh, now you see one of those &#8220;Chip Clips&#8221; hanging next to the wine. Turning around you see the new <a class="zem_slink" title="Sports Illustrated" href="http://www.si.com/" target="_blank" rel="homepage">Sports Illustrated</a> displayed on the magazine rack. Then before you get to the register you see a display of <a class="zem_slink" title="Jerky" href="http://en.wikipedia.org/wiki/Jerky" target="_blank" rel="wikipedia">beef jerky</a> and realize how hungry you have become. With the saltiness of the jerky you are going  to want a soda in the cooler, next to the jerky,  to wash that down. By the time you get through the register, the milk you came for just cost you 83.55, Does  it dawn on you then that you have just been cleverly outsmarted by technical genius of a grocery store team that you thought was well below your pay grade? No, but you do remember to pick up flowers for your wife on the way out so she won&#8217;t yell at you for getting the Little Debbie&#8217;s.</p>
<div class="wp-caption alignright" style="width: 310px"><a href="http://commons.wikipedia.org/wiki/File:LD-Zebra-Cakes.jpg" target="_blank"><img class="zemanta-img-inserted" title="English: Little Debbie Zebra Cakes, made by Mc..." alt="English: Little Debbie Zebra Cakes, made by Mc..." src="http://upload.wikimedia.org/wikipedia/commons/thumb/6/67/LD-Zebra-Cakes.jpg/300px-LD-Zebra-Cakes.jpg" width="300" height="144" /></a><p class="wp-caption-text">English: Little Debbie Zebra Cakes, made by McKee Foods. (Photo credit: Wikipedia)</p></div>
<p>As a commissioned, or tipped, employee I would like to suggest that you need to take the &#8220;grocery store&#8221; approach to the services you provide. The key to a great haircut, meal, or outfit sale is to give your guest what they want while adding nuances along the way that will enhance their experience. We want them to walk away from that occasion in time knowing this was the best opportunity ever, and that they couldn&#8217;t duplicate it anywhere else with anyone else for that price.</p>
<p>When you introduce your customer to the menu they need to see all of the things that made your establishment special &#8211; your &#8220;Signature&#8217;s&#8221; so to speak. If it is a suit, they couldn&#8217;t have done it just right without one more really nice tie. In addition, the really needed the <a class="zem_slink" title="Cuff" href="http://en.wikipedia.org/wiki/Cuff" target="_blank" rel="wikipedia">French Cuff</a> shirts to set off the ensemble.Your job is to be aware of everything available to them with each option and then enhance their experience with such an option. Here&#8217;s the tough part &#8211; ready? You have to lay that suggestion in so softly they don&#8217;t notice they were just sold on it. They key is to never look hungry &#8211; like you need the sale, and never question in your mind whether they need something; &#8211; assume they do.</p>
<p>If the majority of the people that walk in have a set tip percentage in their mind then it is to your benefit to deliver the best experience at the optimum price point.</p>
<div class="wp-caption alignright" style="width: 310px"><a href="http://commons.wikipedia.org/wiki/File:Tripe.jpg" target="_blank"><img class="zemanta-img-inserted" title="English: unrecognized dessert." alt="English: unrecognized dessert." src="http://upload.wikimedia.org/wikipedia/commons/thumb/8/80/Tripe.jpg/300px-Tripe.jpg" width="300" height="199" /></a><p class="wp-caption-text">English: unrecognized dessert. (Photo credit: Wikipedia)</p></div>
<p>Here&#8217;s a trick for a server &#8211; It&#8217;s a bit of a Ninja maneuver &#8211; So, don&#8217;t let  just anyone try this. When you approach your table, before you get their drink order, introduce them to some of your favorite items. These items will be a little higher price point than the lower end items everyone else sells. Here&#8217;s what happens next. You get their drink order and are heading to the back to get their drinks. The time you are away works for you. Their mouth is now watering for the specialty Filet as opposed to the chopped steak they would normally be looking at. What just happened was you diverted their eyes from the inexpensive items and focused them with a laser fine gaze open the mouth watering top dollar steak. The time you have gone away has turned into time for that steak to melt into their braincells. Try it, and if you do it just right you will have them eating out of the palm of your hand, actually the best part of the menu the majority of the time.</p>
<p>The key to making money as a commissioned professional is to fully educate yourself with the items that are available to you and how to pair them with the accessories that are available with each item. You will find that the more tools you add to your toolbox the more prepared you are to to do specialty work in your job.</p>
<p>Always remember, most anyone can wait a table, or sell an outfit, but it takes a special person to create an experience.</p>
<p>Cheers!</p>
<h6 class="zemanta-related-title">Related articles</h6>
<ul class="zemanta-article-ul zemanta-article-ul-image" style="margin:0;padding:0;overflow:hidden;">
<li class="zemanta-article-ul-li-image zemanta-article-ul-li" style="padding:0;background:none;list-style:none;display:block;float:left;vertical-align:top;text-align:left;width:84px;font-size:11px;margin:2px 10px 10px 2px;"><a style="box-shadow:0 0 4px #999;padding:2px;display:block;border-radius:2px;text-decoration:none;" href="http://www.ivanhoe.com/channels/p_channelstory.cfm?storyid=31391" target="_blank"><img style="padding:0;margin:0;border:0;display:block;width:80px;max-width:100%;" alt="" src="http://i.zemanta.com/167404213_80_80.jpg" /></a><a style="display:block;overflow:hidden;text-decoration:none;line-height:12pt;height:80px;padding:5px 2px 0;" href="http://www.ivanhoe.com/channels/p_channelstory.cfm?storyid=31391" target="_blank">Hungry? Don&#8217;t Go Grocery Shopping!</a></li>
<li class="zemanta-article-ul-li-image zemanta-article-ul-li" style="padding:0;background:none;list-style:none;display:block;float:left;vertical-align:top;text-align:left;width:84px;font-size:11px;margin:2px 10px 10px 2px;"><a style="box-shadow:0 0 4px #999;padding:2px;display:block;border-radius:2px;text-decoration:none;" href="http://nieshadaviscake.wordpress.com/2013/05/07/1-angel-food-cake/" target="_blank"><img style="padding:0;margin:0;border:0;display:block;width:80px;max-width:100%;" alt="" src="http://i.zemanta.com/166768664_80_80.jpg" /></a><a style="display:block;overflow:hidden;text-decoration:none;line-height:12pt;height:80px;padding:5px 2px 0;" href="http://nieshadaviscake.wordpress.com/2013/05/07/1-angel-food-cake/" target="_blank">Angel Food Cake</a></li>
<li class="zemanta-article-ul-li-image zemanta-article-ul-li" style="padding:0;background:none;list-style:none;display:block;float:left;vertical-align:top;text-align:left;width:84px;font-size:11px;margin:2px 10px 10px 2px;"><a style="box-shadow:0 0 4px #999;padding:2px;display:block;border-radius:2px;text-decoration:none;" href="http://www.kcet.org/living/food/food-rant/grocery-shopping-while-hungry-is-a-terrible-idea.html" target="_blank"><img style="padding:0;margin:0;border:0;display:block;width:80px;max-width:100%;" alt="" src="http://i.zemanta.com/166865233_80_80.jpg" /></a><a style="display:block;overflow:hidden;text-decoration:none;line-height:12pt;height:80px;padding:5px 2px 0;" href="http://www.kcet.org/living/food/food-rant/grocery-shopping-while-hungry-is-a-terrible-idea.html" target="_blank">Grocery Shopping While Hungry Is A Terrible Idea</a></li>
</ul>
<div class="zemanta-pixie" style="margin-top:10px;height:15px;"><a class="zemanta-pixie-a" title="Enhanced by Zemanta" href="http://www.zemanta.com/?px"><img class="zemanta-pixie-img" style="border:none;float:right;" alt="Enhanced by Zemanta" src="http://img.zemanta.com/zemified_h.png?x-id=c894ce52-7775-4fc5-acf5-c603769eeec4" /></a></div>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Phil 5.14.13]]></title>
<link>http://fgmdev.wordpress.com/2013/05/14/phil-5-14-13/</link>
<pubDate>Tue, 14 May 2013 15:36:53 +0000</pubDate>
<dc:creator>pgfeldman</dc:creator>
<guid>http://fgmdev.wordpress.com/2013/05/14/phil-5-14-13/</guid>
<description><![CDATA[8:00 &#8211; 1:30 SR Backups. Added a line in the script for the PPM enhanced db Started the paperwo]]></description>
<content:encoded><![CDATA[<p>8:00 &#8211; 1:30 SR</p>
<ul>
<li><span style="line-height:13px;">Backups. Added a line in the script for the PPM enhanced db</span></li>
<li>Started the paperwork to mark the old certs as superseded. Here&#8217;s hoping I did that right!</li>
<li>General mucking about getting integrated with the Novetta portal. The IE browser plugin doesn&#8217;t work. But Firefox does. Switching over.</li>
</ul>
<p>1:30 &#8211; 4:00 FP</p>
<ul>
<li><span style="line-height:13px;">Starting to walk through the OpenAL source code</span></li>
<li>Meeting with Shawn this afternoon or Thursday
<ul>
<li>Discussed various FP concepts. Of the concepts, iRevolution seems to be the best fit with the IRAD dept. There was also some discussion about building a data visualization capability.</li>
</ul>
</li>
</ul>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Nether Reset]]></title>
<link>http://brianmcserver.wordpress.com/2013/05/14/nether-reset/</link>
<pubDate>Tue, 14 May 2013 14:00:08 +0000</pubDate>
<dc:creator>brian724080</dc:creator>
<guid>http://brianmcserver.wordpress.com/2013/05/14/nether-reset/</guid>
<description><![CDATA[Just a quick update on our survival world(s). Just earlier today, we have reset the Survival Nether]]></description>
<content:encoded><![CDATA[<p>Just a quick update on our survival world(s). Just earlier today, we have reset the Survival Nether World.  I&#8217;m sure many of you are interested in nether quartz and building with them. In addition, there aren&#8217;t that much stuff built in the nether, so the admin assumed that there should be no problem. I mean, who would store blocks of diamonds in the nether or build fancy mansions in that godforsaken place? Anyways, if your interested, go mine up some nether quartz any time!</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Setting up a VirtualHost in MAMP]]></title>
<link>http://applehelpwriter.com/2013/05/14/setting-up-a-virtualhost-in-mamp/</link>
<pubDate>Tue, 14 May 2013 13:20:27 +0000</pubDate>
<dc:creator>philastokes</dc:creator>
<guid>http://applehelpwriter.com/2013/05/14/setting-up-a-virtualhost-in-mamp/</guid>
<description><![CDATA[If you&#8217;ve installed a MAMP dev environment and have found the instructions you&#8217;ve read e]]></description>
<content:encoded><![CDATA[If you&#8217;ve installed a MAMP dev environment and have found the instructions you&#8217;ve read e]]></content:encoded>
</item>
<item>
<title><![CDATA[Configure Tomcat7 in Eclipse Juno in Ubuntu]]></title>
<link>http://ccainj.wordpress.com/2013/05/14/configure-tomcat7-in-eclipse-juno-in-ubuntu/</link>
<pubDate>Tue, 14 May 2013 12:37:56 +0000</pubDate>
<dc:creator>ccai</dc:creator>
<guid>http://ccainj.wordpress.com/2013/05/14/configure-tomcat7-in-eclipse-juno-in-ubuntu/</guid>
<description><![CDATA[If you want to use Tomcat as the web server, and you installed Eclipse and Tomcat separately, then y]]></description>
<content:encoded><![CDATA[<p>If you want to use Tomcat as the web server, and you installed Eclipse and Tomcat separately, then you need to configure Tomcat into Eclipse:</p>
<p>1) Before create the new server in the server view in Eclipse, you need to make sure Eclipse can access the Tomcat files:</p>
<pre><code><em><span style="color:#993300;">cd /usr/share/tomcat7
sudo ln -s /var/lib/tomcat7/conf conf
sudo ln -s /etc/tomcat7/policy.d/03catalina.policy conf/catalina.policy
sudo ln -s /var/log/tomcat7 log
sudo chmod -R 777 /usr/share/tomcat7/conf</span></em></code></pre>
<p>Make sure all the files in /usr/share/tomcat7/conf at least have the read permission for all users. During my installation, I had to put the command:</p>
<pre><code><em><span style="color:#993300;">cd /usr/share/tomcat7/conf</span></em>
<em><span style="color:#993300;">sudo chmod 644 tomcat-users.xml</span></em></code></pre>
<p>2) Then, you may create the new server in the server view in Eclipse and follow the instruction to choose the tomcat7 as the server.</p>
<p>If you encounter problem during the server creation, you need to remove the previous installed but not successful Tomcat7 server, and then re-creation it follow the creation steps above.</p>
<p>To remove the previous installed server, you can:</p>
<p>a) in Eclipse, go to:<br />
<span style="color:#ff0000;"><strong>Window-&#62;Preferences-&#62;Server-&#62;RunTime Environment </strong></span></p>
<p>Click the the <strong>Apache Tomcat v7.0</strong> in the right, and select <span style="color:#ff0000;"><strong>remove</strong></span><br />
b) <strong>or</strong> go the directory:</p>
<pre><code><em><span style="color:#993300;">cd ~/workspace/.metadata/.plugins/org.eclipse.core.runtime/.settings
</span></em></code></pre>
<p>then remove/rename the file:</p>
<p><code><span style="color:#993300;"><em>rm org.eclipse.jst.server.tomcat.core.prefs</em></span></code></p>
<p>Then, you may re-create the new server.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Thrifty Technophilia: Home Server (Steps 0-2)]]></title>
<link>http://colditzjb.wordpress.com/2013/05/13/thrifty-technophilia/</link>
<pubDate>Tue, 14 May 2013 03:31:52 +0000</pubDate>
<dc:creator>Jason</dc:creator>
<guid>http://colditzjb.wordpress.com/2013/05/13/thrifty-technophilia/</guid>
<description><![CDATA[I fantasize about living in a home that is stacked with speakers and playlists that I can control us]]></description>
<content:encoded><![CDATA[<p>I fantasize about living in a home that is stacked with speakers and playlists that I can control using my phone or laptop from the back patio, and televisions that can play my favorite movies without paid-subscriptions or digging through a DVD collection.  Making that happen would be easy if I had a huge stash of cash to spend, but I don&#8217;t &#8212; I have bills to pay and I&#8217;m pinching my pennies.  My goal is a technological paradise created from spools of wire, spare parts, bargain shopping, and elbow grease.  I&#8217;m a thrifty <a title="technophilia" href="http://en.wikipedia.org/wiki/Technophilia" target="_blank">technophile</a>, and what will follow in a series of &#8220;Thrifty Technophilia&#8221; posts is a catalog of my adventures in setting up a home fit for the 21st century, and on a tight budget.<!--more--></p>
<p><strong>Step 0: Using spare parts or asking a geeky friend to find some.</strong>  I&#8217;m willing to bet that most people who read this are no more than two degrees of separation away from personally knowing a technophile with spare audio, video, or computer parts.  Technophiles are always upgrading their set-ups, which means that they have random electronic hardware that is taking up space in a basement or storage bin since the last upgrade.  <span style="text-decoration:underline;">Hint</span>: Technophiles are typically happy to pass-along and help to set up used hardware for other aspiring technophiles.  There are many strains of technophilia &#8211; I&#8217;m an <a title="audiophile" href="http://en.wikipedia.org/wiki/Audiophilia" target="_blank">audiophile</a> at heart.  Somewhere, there is a wood-paneled mixing board from the 70&#8242;s that I gave to a friend who gave it to a friend who scrapped it for spare parts.  Here&#8217;s a look into my &#8216;modern&#8217; spare parts bin:</p>
<ul>
<li>I probably have more audio cables and adapters than your local Radio Shack store, a mixing board with two fried channels (thanks to &#8220;audio engineer&#8221; Steve for overloading the mix, circa 2007), a used <a title="Mackie 1400" href="http://www.mackie.com/products/m1400/" target="_blank">amplifier</a> that would blow the cones out of most home audio speakers, a shoebox full of audio connectors and adapters, and a couple of computer sound cards.  Sure, I might be hoarding a collection of audio fossils that have little- or no monetary value, but&#8230; I have spare components that bridge decades of audio technology and, I swear, will come in handy later!</li>
<li>For video: a couple of old <a title="Roku" href="http://www.roku.com/" target="_blank">Roku</a> players (with a bit of integration) = streaming TV video from a home server.  One fossil of a TV uses a <a title="RF modulator" href="http://www.ehow.com/how_7263397_use-rca-rf-modulator.html" target="_blank">RF modulator box</a> so that the Roku can plug into a lonely coaxial input (archaic, but less expensive than buying a new TV).  I have no desire to stream 1080p/HD videos anyway &#8211; I&#8217;m clearly not a <em>videophile</em>.</li>
<li>Spare computer parts are a plus.  Extra ethernet and video cables often come in handy, and it never hurts to have a backup DVD-ROM or hard drive.</li>
</ul>
<p><strong>Step 1: Building a server or finding one that is mostly built.</strong>  Home media servers don&#8217;t need to be cutting-edge technology, and they don&#8217;t need to cost thousands of dollars.  If you have a screwdriver and a bit of know-how (or a geeky friend), you can repurpose a desktop computer or a second-hand server.  As long as the system has enough processing power to get the job done, it is a step in the right direction.</p>
<ul>
<li>While shopping for a home media server, I stayed away from the big-name computer stores and websites.  After patiently waiting for a deal on my local <a title="CraigsList" href="www.craigslist.org" target="_blank">Craigslist</a> site, and with a little negotiation (down to $100), I was able to get a used server with a DVD-ROM, Intel dual-core processor, 2GB RAM, 30GB IDE hard drive for the operating system, on-board video and ethernet connections, and a handful of USB ports.  I installed a spare sound card and a new 1TB SATA hard drive to get it ready for playing audio and storing a growing media library.  The cooling fans run constantly and sound like an aircraft taking off, but at least I won&#8217;t have to worry about overheating (I was planning on keeping the server in a cabinet anyway).  For under $200, the basic server hardware is in place.</li>
<li>I&#8217;d like to think myself a computer programmer, but I&#8217;m not.  Still, I chose a Linux operating system in order to avoid the massive size, viruses, and general crankiness of a Windows platform.  I know enough about Linux to run some basic terminal commands but not enough to be comfortable setting up a server using only command lines.  I decided to install <a title="Ubuntu 12.04.2" href="http://releases.ubuntu.com/precise/" target="_blank">Ubuntu 12.04</a> &#8211; it is a popular platform that provides a nice mix of intuitive graphical user interface and customizability, and the Ubuntu user <a title="Ubuntu forums" href="http://ubuntuforums.org/forum.php" target="_blank">forums</a> are full of solutions for common problems.  <span style="text-decoration:underline;">Note</span>: Linux has more programming hurdles than Windows and does require some initiative, but I&#8217;ve never encountered a problem that I couldn&#8217;t fix after reading through the forums.</li>
</ul>
<p><strong>Step 2: Setting up the home network.</strong>  Moving beyond the nuts and bolts of hardware setup, integrating and managing a home network does take some effort.  For my purposes, I needed the server to be accessible to- and share folders with Windows-based computers over WiFi.  Because every network is a little different, I&#8217;ll focus only on the tweaks made to the server itself.</p>
<ul>
<li>File system:  Because I&#8217;ll be accessing the storage drive from a Windows computer, as a precaution, I set the file system of the media storage drive to NTFS &#8211; a native file system for the Windows interface that allows larger file sizes than the FAT32 file system (a consideration for large video files).  So far, neither Ubuntu nor Windows has had any problems reading or writing from the media drive.  I used the <a title="gparted" href="http://www.sitepoint.com/ubuntu-12-04-lts-precise-pangolin-using-gparted-to-partition-a-hard-disk/" target="_blank">gparted</a> package when setting-up the new drive.</li>
<li><a title="Samba File Server" href="https://help.ubuntu.com/10.04/serverguide/samba-fileserver.html" target="_blank">Samba File Server</a>:  The Samba package allowed me to share folders with a Windows computer on my home network.  Setting it up required me to learn a little bit about manually editing system files on the server to set up profiles and shares, but it wasn&#8217;t too overwhelming.  With Samba, I can access my media folders from a remote computer running Windows &#8211; an absolute necessity!</li>
<li><a title="xRDP" href="http://www.liberiangeek.net/2012/05/connect-to-ubuntu-12-04-precise-pangolin-via-windows-remote-desktop/" target="_blank">xRDP</a>:  xRDP allowed me to remotely access the server from a Windows computer.  This was important so that I didn&#8217;t have to constantly sit at the server box when updating the server system.  There is a little bit of lag for screen refresh, but the interface works well overall and I am able to control the computer remotely.  The only major hurdle that I&#8217;ve found: login sessions appear to be independent of one another, even when using the same login account&#8230; this means that if I start playing music while physically sitting at the server, and then log in remotely to play music, I end up with two overlapping audio streams instead of being able to skip songs or otherwise interact with the session in progress.  More on that in a future post&#8230;</li>
</ul>
<p>Overall, the server took about a week (playing around in the evening hours) to setup and configure basic functionality.  I&#8217;m now adding audio and video media with some success of streaming to a Roku player and Windows computer.  My next &#8220;Thrifty Technophilia&#8221; post will cover the software that makes that all happen.  Until then&#8230; feel free to post questions or points to ponder!</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Cluster Info]]></title>
<link>http://simplesqlserver.com/2013/05/13/cluster-info/</link>
<pubDate>Tue, 14 May 2013 03:09:28 +0000</pubDate>
<dc:creator>Steve Hood</dc:creator>
<guid>http://simplesqlserver.com/2013/05/13/cluster-info/</guid>
<description><![CDATA[This script is so simple you&#8217;ll start off by asking why you&#8217;d ever use it.  Then you]]></description>
<content:encoded><![CDATA[<p>This script is so simple you&#8217;ll start off by asking why you&#8217;d ever use it.  Then you&#8217;ll use it and wonder why no one gave this to you as part of your new-hire orientation at your first DBA job.  The truth is that in larger environments there will always be times when you&#8217;re asked what the active node is, are two instances running on the same node, what nodes are in that cluster, what drives belong to what instance, etc&#8230;  Here&#8217;s your answer.</p>
<pre style="font-family:consolas;font-size:12px;"><span style="color:blue;">SELECT </span>VirtualServerName <span style="color:gray;">= </span><span style="color:magenta;">SERVERPROPERTY</span><span style="color:gray;">(</span><span style="color:red;">'ServerName'</span><span style="color:gray;">)
    , </span>ActiveNode <span style="color:gray;">= </span><span style="color:magenta;">SERVERPROPERTY</span><span style="color:gray;">(</span><span style="color:red;">'ComputerNamePhysicalNetBIOS'</span><span style="color:gray;">) 
    , </span>PassiveNode <span style="color:gray;">= </span><span style="color:blue;">CASE </span><span style="color:gray;">(</span><span style="color:blue;">SELECT </span><span style="color:magenta;">COUNT</span><span style="color:gray;">(*) </span><span style="color:blue;">FROM </span><span style="color:green;">sys</span><span style="color:gray;">.</span><span style="color:green;">dm_os_cluster_nodes </span><span style="color:blue;">WHERE </span>NodeName <span style="color:gray;">&#60;&#62; </span><span style="color:magenta;">SERVERPROPERTY</span><span style="color:gray;">(</span><span style="color:red;">'ComputerNamePhysicalNetBIOS'</span><span style="color:gray;">))
        </span><span style="color:blue;">WHEN </span>0 <span style="color:blue;">THEN </span><span style="color:red;">'Stand-Alone'
        </span><span style="color:blue;">WHEN </span>1 <span style="color:blue;">THEN </span><span style="color:gray;">(</span><span style="color:blue;">SELECT </span>NodeName <span style="color:blue;">FROM </span><span style="color:green;">sys</span><span style="color:gray;">.</span><span style="color:green;">dm_os_cluster_nodes </span><span style="color:blue;">WHERE </span>NodeName <span style="color:gray;">&#60;&#62; </span><span style="color:magenta;">SERVERPROPERTY</span><span style="color:gray;">(</span><span style="color:red;">'ComputerNamePhysicalNetBIOS'</span><span style="color:gray;">))
        </span><span style="color:blue;">ELSE </span><span style="color:magenta;">Cast</span><span style="color:gray;">((</span><span style="color:blue;">SELECT </span><span style="color:magenta;">COUNT</span><span style="color:gray;">(*) </span><span style="color:blue;">FROM </span><span style="color:green;">sys</span><span style="color:gray;">.</span><span style="color:green;">dm_os_cluster_nodes </span><span style="color:blue;">WHERE </span>NodeName <span style="color:gray;">&#60;&#62; </span><span style="color:magenta;">SERVERPROPERTY</span><span style="color:gray;">(</span><span style="color:red;">'ComputerNamePhysicalNetBIOS'</span><span style="color:gray;">)) </span><span style="color:blue;">as VarChar</span><span style="color:gray;">(</span>2<span style="color:gray;">)) + </span><span style="color:red;">' Passive Nodes'
        </span><span style="color:blue;">END

SELECT </span>PassiveNodes <span style="color:gray;">= </span>NodeName 
<span style="color:blue;">FROM </span><span style="color:green;">sys</span><span style="color:gray;">.</span><span style="color:green;">dm_os_cluster_nodes 
</span><span style="color:blue;">WHERE </span>NodeName <span style="color:gray;">&#60;&#62; </span><span style="color:magenta;">SERVERPROPERTY</span><span style="color:gray;">(</span><span style="color:red;">'ComputerNamePhysicalNetBIOS'</span><span style="color:gray;">) 

</span><span style="color:blue;">SELECT </span>ClusterDrives <span style="color:gray;">= </span>DriveName 
<span style="color:blue;">FROM </span><span style="color:green;">sys</span><span style="color:gray;">.</span><span style="color:green;">dm_io_cluster_shared_drives
</span><span style="color:blue;">ORDER BY </span>DriveName
</pre>
]]></content:encoded>
</item>
<item>
<title><![CDATA[HOWTO: Start VirtualBox VM on boot - Windows]]></title>
<link>http://linuxexpresso.wordpress.com/2013/05/13/howto-start-virtualbox-vm-on-boot-windows/</link>
<pubDate>Mon, 13 May 2013 23:36:30 +0000</pubDate>
<dc:creator>evidex</dc:creator>
<guid>http://linuxexpresso.wordpress.com/2013/05/13/howto-start-virtualbox-vm-on-boot-windows/</guid>
<description><![CDATA[Here&#8217;s a quick and simple solution to getting a VirtualBox VM to start on boot in MS Windows.]]></description>
<content:encoded><![CDATA[<p>Here&#8217;s a quick and simple solution to getting a VirtualBox VM to start on boot in MS Windows.</p>
<p>Create a new batch script with Notepad. Enter the following code, changing to include the name of your VM.</p>
<pre class="brush: plain; title: ; notranslate" title="">
cd &#34;C:\Program Files\Oracle\VirtualBox&#34;
VBoxHeadless --startvm name_of_your_vm_here
</pre>
<p>Save and close your file. Now click and drag it from where you saved it, over the Start Menu and drop it into the &#8220;Startup&#8221; folder. Now, that script will be executed on startup.</p>
<p>That&#8217;s it! Reboot and check that your VM has started running. It will be headless (ie you won&#8217;t be a VBox window) which is great for VMs you want in the background. However, you will still have a command prompt open.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[ShadowRaid]]></title>
<link>http://shadowraid.wordpress.com/2013/05/13/shadowraid/</link>
<pubDate>Mon, 13 May 2013 23:05:11 +0000</pubDate>
<dc:creator>shadowcuzon</dc:creator>
<guid>http://shadowraid.wordpress.com/2013/05/13/shadowraid/</guid>
<description><![CDATA[ShadowRaid is a cracked minecraft community starting off as one main server. We are a Faction PvP se]]></description>
<content:encoded><![CDATA[<p><a href="http://shadowraid.files.wordpress.com/2013/05/2013-05-12_21-13-212.png"><img class="size-full wp-image" id="i-8" alt="Image" src="http://shadowraid.files.wordpress.com/2013/05/2013-05-12_21-13-212.png?w=650" /></a>ShadowRaid is a cracked minecraft community starting off as one main server. We are a Faction PvP server with great staff and community! This will be the webpage (For Now) Thanks for visiting!</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Apache - Restart - Stop]]></title>
<link>http://fuckingie.wordpress.com/2013/05/13/apache-restart-stop/</link>
<pubDate>Mon, 13 May 2013 21:45:40 +0000</pubDate>
<dc:creator>adrianzeus</dc:creator>
<guid>http://fuckingie.wordpress.com/2013/05/13/apache-restart-stop/</guid>
<description><![CDATA[ssh /etc/init.d/apache2 restart sudo /etc/init.d/apache2 restart # /etc/init.d/apache2 stop $ sudo /]]></description>
<content:encoded><![CDATA[<p><code>ssh <!--more-->/etc/init.d/apache2 restart</code></p>
<p><code> sudo /etc/init.d/apache2 restart</code></p>
<p><!--more--></p>
<p><code># /etc/init.d/apache2 stop</code></p>
<p><code>$ sudo /etc/init.d/apache2 stop</code></p>
<p><!--more--></p>
<p><code># /etc/init.d/apache2 start</code></p>
<p><code>$ sudo /etc/init.d/apache2 start</code></p>
<p><!--more--></p>
<h6 class="zemanta-related-title" style="font-size:1em;">Related articles</h6>
<ul class="zemanta-article-ul">
<li class="zemanta-article-ul-li"><a href="http://kunwardharmesh.wordpress.com/2013/04/01/how-can-i-start-and-stop-apache/" target="_blank">How can i start and stop apache</a> (kunwardharmesh.wordpress.com)</li>
</ul>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Generar un Script de la base de datos en SQL Server con las tablas y la data]]></title>
<link>http://msestudiantestech.wordpress.com/2013/05/13/generar-un-script-de-la-base-de-datos-en-sql-server-con-las-tablas-y-la-data/</link>
<pubDate>Mon, 13 May 2013 17:14:20 +0000</pubDate>
<dc:creator>valtamiranovasquez</dc:creator>
<guid>http://msestudiantestech.wordpress.com/2013/05/13/generar-un-script-de-la-base-de-datos-en-sql-server-con-las-tablas-y-la-data/</guid>
<description><![CDATA[En este post, aprenderás como generar un Script de la base de datos en SQL Server con las tablas y l]]></description>
<content:encoded><![CDATA[<p>En este post, aprenderás como generar un Script de la base de datos en SQL Server con las tablas y la data:</p>
<span class='embed-youtube' style='text-align:center; display: block;'><iframe class='youtube-player' type='text/html' width='640' height='390' src='http://www.youtube.com/embed/1kLi0fDHEts?version=3&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;wmode=transparent' frameborder='0'></iframe></span>
<p>&#160;</p>
<p>&#160;</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Install Eclipse for J2EE Developers in Ubuntu]]></title>
<link>http://ccainj.wordpress.com/2013/05/13/install-eclipse-for-j2ee-developers-in-ubuntu/</link>
<pubDate>Mon, 13 May 2013 16:11:16 +0000</pubDate>
<dc:creator>ccai</dc:creator>
<guid>http://ccainj.wordpress.com/2013/05/13/install-eclipse-for-j2ee-developers-in-ubuntu/</guid>
<description><![CDATA[If you install Eclipse using apt-get in the Ubuntu command line, you&#8217;ll install the Eclipse fo]]></description>
<content:encoded><![CDATA[<p>If you install Eclipse using apt-get in the Ubuntu command line, you&#8217;ll install the Eclipse for Java developers version, will <span style="color:#ff0000;"><strong>not </strong></span>install the Eclipse for J2EE Developers version. At this time, you need to add the J2EE/WEB feature by &#8220;Help -&#62; install new software&#8221; in Eclipse.</p>
<p>If you cannot find &#8220;servers&#8221; view, then you may have the Eclipse for Java Developers version.</p>
<p>To direct install the Eclipse for J2EE developers version:</p>
<p><em><strong><span style="color:#993300;">1. go to the Eclipse website <span style="color:#333399;"><a title="http://www.eclipse.org" href="http://www.eclipse.org/downloads/"><span style="color:#333399;">http://www.eclipse.org/downloads/</span></a></span></span></strong></em></p>
<p><em><strong><span style="color:#993300;">2. Download the right version, make sure is the J2EE version</span></strong></em></p>
<p><em><strong><span style="color:#993300;">3. Extract the File in the right directory</span></strong></em></p>
<p>&#160;</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[ENTROPY Updating to Minecraft 1.5.2, Coming BETA/Server Release]]></title>
<link>http://glixyl.wordpress.com/2013/05/13/entropy-updating-to-minecraft-1-5-2-coming-betaserver-release/</link>
<pubDate>Mon, 13 May 2013 13:53:19 +0000</pubDate>
<dc:creator>glixyl</dc:creator>
<guid>http://glixyl.wordpress.com/2013/05/13/entropy-updating-to-minecraft-1-5-2-coming-betaserver-release/</guid>
<description><![CDATA[UPDATE May 17th: entropy 013 promoted to Technic Launcher and Aegis Server. Our staff at Aegis, a no]]></description>
<content:encoded><![CDATA[<p><span style="color:#00ff00;">UPDATE May 17th: entropy 013 promoted to Technic Launcher and Aegis Server.</span></p>
<p>Our staff at <a href="http://aegisgaming.org" target="_blank">Aegis</a>, a non-profit gaming community, has been busy preparing for the new <span style="color:#ff0000;">entropy</span> launch on Minecraft 1.5.2 code, new features and balanced server-play.</p>
<p>This will involve an eventual map wipe and will take <span style="color:#ff0000;">entropy</span> to BETA status.  We want to get a decent player-base going and Technic is a good avenue to bring players in from.</p>
<p>If you want to play <span style="color:#ff0000;">entropy</span> before the new server launch, download it from the <a href="http://www.technicpack.net/modpack/details/entropy-by-glixyl.72573" target="_blank">Technic launcher (and please +1 the pack up to give exposure, get more players. ** you need to register on Technic to vote, but gives access to their forums and bug reporting)</a></p>
<p><a title="glixyl's entropy download" href="http://www.technicpack.net/modpack/details/entropy-by-glixyl.72573" target="_blank"><img class="alignnone size-full wp-image-1402" alt="glixyl-sig" src="http://glixyl.files.wordpress.com/2013/05/glixyl-sig.jpg?w=728&#038;h=100" width="728" height="100" /></a></p>
<p>I will also be releasing a public server download for entropy in conjunction with open beta.</p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Thợ lành nghề #11: Dùng hàm main để làm gì? (SMCRemote -  phần 1)]]></title>
<link>http://tapchilaptrinh.vn/2013/05/13/tho-lanh-nghe-11-dung-ham-main-de-lam-gi-smcremote-phan-1/</link>
<pubDate>Mon, 13 May 2013 12:19:12 +0000</pubDate>
<dc:creator>Phạm Anh Đới</dc:creator>
<guid>http://tapchilaptrinh.vn/2013/05/13/tho-lanh-nghe-11-dung-ham-main-de-lam-gi-smcremote-phan-1/</guid>
<description><![CDATA[Tác giả: Robert C. Martin Người dịch: Hoàng Ngọc Diêu | Biên tập: Phạm Anh Đới Bạn có thể tải mã ngu]]></description>
<content:encoded><![CDATA[<p style="text-align:right;">Tác giả: Robert C. Martin<br />
Người dịch: Hoàng Ngọc Diêu &#124; Biên tập: <a title="DoiPA" href="http://tapchilaptrinh.wordpress.com/author/doipa/" target="_blank">Phạm Anh Đới</a></p>
<p>Bạn có thể tải mã nguồn của bài viết trước ở <a href="http://www.objectmentor.com/resources/craftman/SDSocketServerR5_DanglingThreads.zip">đây</a>.</p>
<p style="text-align:right;"><em>Ngày 18 tháng 2 năm 2003</em></p>
<p>Trong đầu tôi cứ cân nhắc mãi mớ threads treo lủng lẳng trong khi ăn món mì ống spaghetty một cách lơ đãng. Sau bữa trưa, tôi trở về phòng làm việc tìm Jerry.</p>
<p>&#8220;Ông C nghĩ là SocketServer sẵn sàng để dùng rồi đó, và bây giờ ông ta muốn chúng mình làm việc với ứng dụng SMSRemote.&#8221;</p>
<p>&#8220;Ồ, đúng nhỉ!&#8221; Tôi nói. &#8220;Thì đó là lý do có SocketServer mà – mình đã dựng xong chương trình dùng để gọi phần biên dịch SMC từ xa, gửi mã nguồn đến server và gửi ngược lại tệp tin đã biên dịch.&#8221;</p>
<p>Jerry nhìn tôi chờ đợi và hỏi, &#8220;mày nghĩ mình bắt đầu sao đây?&#8221;</p>
<p>&#8220;Tôi nghĩ là tôi cần biết người dùng sẽ sử dụng chúng ra sao cái đã,&#8221; tôi trả lời.</p>
<p>&#8220;Xuất sắc!&#8221; gã mỉm cười. &#8220;Bắt đầu từ cái nhìn của người dùng luôn luôn là một điều hay. Thế thì đâu là cách đơn giản nhất người dùng có thể sử dụng công cụ này?&#8221;</p>
<p>&#8220;Anh ta có thể yêu cầu một tệp tin nào đó được biên dịch. Lệnh ấy có thể như thế này.&#8221; tôi viết lên tường như sau:</p>
<p><span style="font-family:Courier New;">java SMCRemoteClient myFile.sm<br />
</span></p>
<p>&#8220;Coi được đó,&#8221; Jerry nói. &#8220;Vậy mình bắt đầu sao đây?&#8221;</p>
<p>Mì spaghetti đã ấm trong dạ dày, và tôi cảm thấy khá vững tin sau khi làm SocketServer chạy được, thế nên tôi vớ lấy bàn phím và bắt đầu gõ:</p>
<pre class="brush: java; title: ; notranslate" title="">
public class SMCRemoteClient {
	public static void main(String args[]) {
		String fileName = args[0];
	}
}
</pre>
<p>&#8220;Xin lỗi!&#8221; Jerry ngắt ngang. &#8220;Mày có kiểm thử cho nó không?&#8221;</p>
<p>&#8220;Ý ông là sao?&#8221; tôi hỏi một cách thiếu kiên nhẫn. &#8220;Mã nguồn này thuộc dạng lẻ tẻ – sao mình phải viết kiểm thử cho nó làm chi?&#8221;</p>
<p>&#8220;Nếu mày không viết một kiểm thử cho nó thì làm sao mày biết là có cần hay không?&#8221; gã hỏi.</p>
<p>Câu hỏi ấy làm tôi khựng lại. &#8220;Tôi nghĩ điều ấy quá hiển nhiên,&#8221; sau rốt tôi nói.</p>
<p>&#8220;Vậy sao?&#8221; Jerry trả lời. &#8220;Tao không thấy thuyết phục cho lắm. Hãy thử một lối khác xem sao.&#8221;</p>
<p>Jerry vớ lấy bàn phím và xoá hết mã nguồn của tôi. Tự ái trong lòng bùng lên nhưng tôi cố dằn nó xuống. Dù gì cũng chỉ có vỏn vẹn bốn dòng code mà thôi.</p>
<p>&#8220;OK, mình cần những hàm nào đây?&#8221; gã hỏi.</p>
<p>Tôi nghĩ ngợi vài giây và nói, &#8220;mình cần lấy tên tệp tin từ dòng lệnh nhưng tôi không biết ông sẽ làm sao nếu không có phần mã nguồn ông vừa xoá mất.&#8221;</p>
<p>Jerry nhìn tôi với vẻ chế giễu, hắn nói, &#8220;tao biết,&#8221; và bắt đầu gõ phím.</p>
<p>Ðầu tiên gã viết một đoạn mã của khung làm việc kiểm thử mà giờ đã quen thuộc:</p>
<pre class="brush: java; title: ; notranslate" title="">
import junit.framework.*;
public class TestSMCRemoteClient extends TestCase {
	public TestSMCRemoteClient(String name) {
		super(name);
	}
}
</pre>
<p>Gã biên dịch và chạy, nắm chắc rằng kiểm thử bị hỏng vì thiếu kiểm thử, và rồi gã thêm kiểm thử sau:</p>
<pre class="brush: java; title: ; notranslate" title="">
public void testParseCommandLine() throws Exception {
	SMCRemoteClient c = new SMCRemoteClient();
	c.parseCommandLine(new String[] { &#34;filename&#34; });
	assertEquals(&#34;filename&#34;, c.filename());
}
</pre>
<p>&#8220;Được thôi,&#8221; tôi nói. &#8220;Có vẻ như ông lấy đối số của dòng lệnh bằng hàm parseCommandLine thay vì dùng main, nhưng phiền như thế làm gì?&#8221;</p>
<p>&#8220;Làm thế để tao có thể kiểm thử,&#8221; Jerry trả lời.</p>
<p>&#8220;Nhưng chẳng có gì để mà kiểm thử,&#8221; tôi cằn nhằn.</p>
<p>&#8220;Ðiều đó có nghĩa là viết kiểm thử thực sự rẻ.&#8221; Gã cười toe toét.</p>
<p>Tôi biết tôi sẽ không thắng nổi trận đấu này nên đành thở dài, vớ lấy bàn phím và viết đoạn mã sau để kiểm thử có thể đạt:</p>
<pre class="brush: java; title: ; notranslate" title="">
public class SMCRemoteClient {
	private String itsFilename;

	public void parseCommandLine(String[] args){
			itsFilename = args[0];
	}

	public String filename() {
		return itsFilename;
	}
}
</pre>
<p>Jerry gật đầu và nói &#8220;Tốt, nó thành công rồi&#8221;</p>
<p>Sau đó hắn lặng lẽ viết trường hợp kiểm thử tiếp theo.</p>
<pre class="brush: java; title: ; notranslate" title="">
public void testParseInvalidCommandLine() {
	SMCRemoteClient c = new SMCRemoteClient();
	boolean result = c.parseCommandLine(new String[0]);
	assertTrue(&#34;result should be false&#34;, !result);
}
</pre>
<p>Tôi lẽ ra phải biết hắn sẽ làm như thế. Hắn đã chỉ cho tôi thấy rằng việc viết kiểm thử mà tôi cho rằng không cần thiết là một ý hay.</p>
<p>&#8220;OK&#8221;, tôi thú nhận. &#8220;Tôi đoán việc lấy đối số của dòng lệnh ít vụn vặt hơn là tôi nghĩ. Có lẽ nó đáng để có một kiểm thử cho riêng nó.&#8221; Thế rồi tôi vớ lấy bàn phím và làm cho kiểm thử đạt.</p>
<pre class="brush: java; title: ; notranslate" title="">
public boolean parseCommandLine(String[] args) {
	try {
		itsFilename = args[0];
	} catch (ArrayIndexOutOfBoundsException e) {
		return false;
	}

	return true;
}
</pre>
<p>Cân nhắc kỹ lưỡng, tôi tái cấu trúc biến c và khởi tạo cho nó trong hàm setUp. Các kiểm thử đều đạt.</p>
<p>Trước khi Jerry có thể đề nghị trường hợp kiểm thử tiếp theo, tôi nói, &#8220;Rất có khả năng tệp tin không tồn tại. Chúng ta nên viết một kiểm thử chứng minh mình có thể xử lý trường hợp ấy được.&#8221;</p>
<p>&#8220;Quả vậy,&#8221; Jerry nói trong khi tóm lấy bàn phím từ tay tôi. &#8220;Nhưng để tao chỉ cho mày tao khoái làm cách đó như thế nào&#8221;</p>
<pre class="brush: java; title: ; notranslate" title="">
public void testFileDoesNotExist() throws Exception {
	c.setFilename(&#34;thisFileDoesNotExist&#34;);
	boolean prepared = c.prepareFile();
	assertEquals(false, prepared);
}
</pre>
<p>&#8220;Mày thấy không?&#8221; gã giảng giải. &#8220;Tao muốn đánh giá mỗi đối số của dòng lệnh trong hàm của chính nó thay vì trộn cả mớ mã phân tách và đánh giá chung với nhau.&#8221;</p>
<p>Trong khi đó, tôi kín đáo đảo mắt ráng ghi nhớ những điếm ấy để tham khảo sau này, tôi lấy bàn phím và thay đổi những điểm sau để làm cho kiểm thử đạt:</p>
<pre class="brush: java; title: ; notranslate" title="">
public void setFilename(String itsFilename) {
	this.itsFilename = itsFilename;
}

public boolean prepareFile() {
	File f = new File(itsFilename);
	if (f.exists()) {
		return true;
	} else {
		return false;
	}
}
</pre>
<p>Toàn bộ các kiểm thử đều đạt. Jerry nhìn tôi rồi ngó sang bàn phím. Hiển nhiên gã muốn &#8220;lái&#8221; nó rồi. Hôm nay dường như gã tràn đầy sáng kiến, bởi thế tôi chuyển bàn phím về phía gã.<br />
&#8220;OK, bây giờ xem đây!&#8221; gã nói, cỗ máy trong người gã rõ ràng đang gầm rú.</p>
<pre class="brush: java; title: ; notranslate" title="">
public void testCountBytesInFile() throws Exception {
	File f = new File(&#34;testFile&#34;);
	FileOutputStream stream = new FileOutputStream(f);
	stream.write(&#34;some text&#34;.getBytes());
	stream.close();
	c.setFilename(&#34;testFile&#34;);
	boolean prepared = c.prepareFile();
	f.delete();
	assertTrue(prepared);
	assertEquals(9, c.getFileLength());
}
</pre>
<p>Sau khi nghiên cứu mã nguồn của gã vài giây, tôi trả lời, &#8220;Ông muốn prepareFile() để lấy độ dài của tệp tin? tại sao?&#8221;</p>
<p>&#8220;Tao nghĩ lát nữa mình sẽ cần chúng,&#8221; gã giải thích. &#8220;và đó là một cách hay để chứng minh mình có thể đối phó với một tệp tin hiện có.&#8221;</p>
<p>&#8220;Mình cần nó để làm gì kia chớ?&#8221; tôi hỏi.</p>
<p>&#8220;Chúng ta sẽ phải gửi nội dung của tệp tin thông qua socket đến server, phải không?&#8221; Jerry hỏi.</p>
<p>&#8220;Vâng.&#8221;</p>
<p>&#8220;Và chúng ta cần biết sẽ gửi bao nhiêu chữ,&#8221; gã kiên nhẫn giải thích.</p>
<p>&#8220;Hườm… có lẽ,&#8221; tôi miễn cưỡng trả lời.</p>
<p>&#8220;Tin tao đi,&#8221; gã mỉm cười. &#8220;xét cho cùng thì tao là người hướng đạo cơ mà.&#8221;</p>
<p>&#8220;OK, khỏi nói đến chuyện ấy,&#8221; tôi trả lời một cách thiếu kiên nhẫn. &#8220;Tạo sao ông lại tạo tệp tin trong kiểm thử kia chớ? sao ông không giữ tệp tin này sẵn thay vì lần nào cũng phải tạo nó ra?&#8221;</p>
<p>Jerry cười khẩy rồi trở nên nghiêm túc. &#8220;Tao ghét giữ lại các nguồn bên ngoài cho mấy cái kiểm thử. Bất cứ khi nào có thể được, tao để cho mấy cái kiểm thử tạo ra nguồn chúng cần. Với cách ấy, không cách nào tao bị mất nguồn cả, hoặc ngay cả trường hợp nguồn bị hỏng nữa.&#8221;</p>
<p>&#8220;Ồ, điều này thì quả có lý,&#8221; tôi thừa nhận, &#8220;nhưng tôi vẫn không thích thú gì với mấy thứ độ dài của tệp tin kia.&#8221;</p>
<p>&#8220;Nhớ đó. Mày sẽ thấy!&#8221;</p>
<p>Tôi lấy bàn phím và bắt đầu làm viết mã để vượt qua kiểm thử. Trong khi tôi gõ phím, tôi thấy hơi lạ vì tôi đang viết mã sản xuất trong khi thiết kế là của Jerry – nhưng những gì Jerry làm chỉ là viết những kiểm thử nhỏ. Bạn có thể thực sự xác định một thiết kế bằng cách viết những kiểm thử không?</p>
<pre class="brush: java; title: ; notranslate" title="">
public long getFileLength() {
	return itsFileLength;
}

public boolean prepareFile() {
	File f = new File(itsFilename);
	if (f.exists()) {
		itsFileLength = f.length();
		return true;
	} else {
		return false;
	}
}
</pre>
<p>Kiểm thử kế tiếp tạo ra một cái server giả và dùng để thử khả năng của SMCRemoteClient truy cập vào đó.</p>
<pre class="brush: java; title: ; notranslate" title="">
public void testConnectToSMCRemoteServer() throws Exception {
	SocketServer server = new SocketServer() {
		public void serve(Socket socket) {
			try {
				socket.close();
			} catch (IOException e) {
			}
		}
	};

	SocketService smc = new SocketService(SMCPORT, server);
	boolean connection = c.connect();
	assertTrue(connection);
}
</pre>
<p>Tôi có thể vượt qua nó mà chả gặp mấy khó khăn:</p>
<pre class="brush: java; title: ; notranslate" title="">
public boolean connect() {
	try {
		Socket s = new Socket(&#34;localhost&#34;, 9000);
		return true;
	} catch (IOException e) {
	}

	return false;
}
</pre>
<p>&#8220;Tuyệt!&#8221; Jerry nói. &#8220;Mình nghỉ giải lao một tí.&#8221;</p>
<p>&#8220;OK,&#8221; tôi trả lời, &#8220;nhưng hãy viết phần main() trước đã.&#8221;</p>
<p>&#8220;main() gì, dính dự gì ở đây?&#8221; gã hỏi.</p>
<p>&#8220;Hở? đó là main của chương trình chớ gì!&#8221;</p>
<p>&#8220;Thế thì sao chớ?&#8221; Jerry rụt vai. &#8220;Nó chỉ gọi parseCommandLine(), parseFile() và connect().</p>
<p>Còn lâu lắm mình mới kiểm tra mấy thứ đó!&#8221;</p>
<p>Tôi rời phòng làm việc và đi về phía phòng giải lao. Trước giờ tôi cứ nghĩ main() là hàm đầu tiên cần được viết, nhưng Jerry rất đúng. Rốt cuộc, main() chỉ là một hàm khá thiếu thú vị.</p>
<p style="text-align:right;">Nguồn <a href="https://docs.google.com/a/fpt.aptech.ac.vn/file/d/0BwhCYaYDn8EgNzg4M2E4MjYtYjQxMS00NDEzLWFjODctNTFlNjYwZGQzZTc5/edit?hl=en">Clean Code</a></p>
<p style="text-align:right;">Người dịch: Hoàng Ngọc Diêu &#124; Biên tập: <a title="DoiPA" href="http://tapchilaptrinh.wordpress.com/author/doipa/" target="_blank">Phạm Anh Đới</a></p>
<p><a href="http://wp.me/p2AfxV-1fU">Thợ lành nghề #9: Những thread nguy hiểm (Dịch vụ Socket 4)</a><br />
<a href="http://wp.me/p2AfxV-1g2">Thợ lành nghề #10: Những thread lửng lơ (Vòng lặp không hạn chế)</a></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[Amanda's outrage.]]></title>
<link>http://silentwaitress.wordpress.com/2013/05/13/amandas-outrage-2/</link>
<pubDate>Mon, 13 May 2013 11:21:19 +0000</pubDate>
<dc:creator>silentwaitress</dc:creator>
<guid>http://silentwaitress.wordpress.com/2013/05/13/amandas-outrage-2/</guid>
<description><![CDATA[After his ill-fated one night stand with Delilah, things were never the same between Sid and the tea]]></description>
<content:encoded><![CDATA[<p>After his ill-fated one night stand with Delilah, things were never the same between Sid and the team. He cut our hours to save money, to the point where some of us couldn&#8217;t afford to feed ourselves any more, and the restaurant was routinely slammed full of customers that the remaining few members of staff couldn&#8217;t serve fast enough.</p>
<p>Work seemingly wasn&#8217;t the only area of his life spiralling downwards. His girlfriend had begun to smell a rat. She&#8217;d call the restaurant demanding answers from Justin and Tina. &#8220;Is Sid there?&#8221; she&#8217;d ask frantically, and they&#8217;d have to tell her that no, he wasn&#8217;t.  It looked like Delilah wasn&#8217;t the only girl he had cheated on her with. She kicked him out of their shared house a month before his visa ran out. There was nothing else for it: Sid had to leave the restaurant, and the country.</p>
<p>On his last day, Sid told us all he hoped we&#8217;d be there for his leaving party. Those of us that finished work in time were in two minds, but eventually, Yeliz, Delilah and I decided to show our faces. I borrowed Ash&#8217;s coat; we went straight from work and the weather had turned freezing cold. When I popped back into the restaurant, I was sucked in to telling everyone about it; about how uncontrollably wankered Sid was, about how he was getting with Jasmine, another manager from a different restaurant, and about how weirdly he&#8217;d treated us when we arrived.</p>
<p>&#8220;So, I walk up to the table, Yeliz and Delilah behind me, and he&#8217;s wasted, absolutely off his tits, and I&#8217;m like, hi Sid, we thought we&#8217;d come to say goodbye, and the first thing he says is, &#8216;Silent! YA CUNT!&#8217;&#8221;</p>
<p>I was sitting on a stool opposite Amanda as she shut down the bar, setting the scene whilst eating a handful of peanuts.</p>
<p>She stopped what she was doing. &#8220;You <em>cunt</em>?&#8221; she said incredulously, her clear blue eyes widening, dimples vanishing from her cheeks. &#8220;You <em>cunt</em>?&#8221; Surrounding tables were beginning to turn around to watch their aristocratically beautiful waitress swear like a sailor. &#8221;Oh my god, he called you a <em>cunt</em>? Well what did you say? Jesus <em>Christ</em>, I am <i>furious</i>! Did you call him a cunt back? You should have said, I&#8217;m not a cunt, <em>I&#8217;m looking at a fucking cunt</em>!&#8221;</p>
<p>And then she went back to cleaning the coffee machine.</p>
<p>- <em>silentwaitress</em></p>
]]></content:encoded>
</item>
<item>
<title><![CDATA[How to fix Eclipse Tomcat 7 404 / STS 404 problem]]></title>
<link>http://undebugable.wordpress.com/2013/05/13/how-to-fix-eclipse-tomcat-7-404-sts-404-problem/</link>
<pubDate>Mon, 13 May 2013 09:28:36 +0000</pubDate>
<dc:creator>Yoesoff</dc:creator>
<guid>http://undebugable.wordpress.com/2013/05/13/how-to-fix-eclipse-tomcat-7-404-sts-404-problem/</guid>
<description><![CDATA[HOW TO FIX STS/ECLIPSE TOMCAT 404 Make sure that no project inside the Server, or you can delete exi]]></description>
<content:encoded><![CDATA[<h3 style="text-align:center;"><strong>HOW TO FIX STS/ECLIPSE TOMCAT 404</strong></h3>
<p><a href="http://undebugable.files.wordpress.com/2013/05/sts_eclipse_404_error.png"><img class="aligncenter size-medium wp-image-386" alt="sts_eclipse_404_error" src="http://undebugable.files.wordpress.com/2013/05/sts_eclipse_404_error.png?w=300&#038;h=187" width="300" height="187" /></a></p>
<p>Make sure that no project inside the Server, or you can delete existing server and create new server.</p>
<ol>
<li>Right click on your server -&#62; Properties -&#62; then click &#8220;<strong>Switch location</strong>&#8221; and it must not [<span style="color:#ff0000;"><strong>workspaces metadata</strong></span>].</li>
<li>Then double click your server on explorer, then the &#8220;Overview&#8221; will show.</li>
<li>check &#8220;<strong>use tomcat installation (takes control of tomcat installation)</strong>&#8221; which placed under &#8220;Server Location&#8221;.</li>
</ol>
<p>Eclipse Apache Tomcat 404, STS 404, Spring Template project 404, Spring 404, not found</p>
		<div id="geo-post-382" class="geo geo-post" style="display: none">
			<span class="latitude">-6.929549</span>
			<span class="longitude">107.616228</span>
		</div>]]></content:encoded>
</item>
<item>
<title><![CDATA[Dining Out 101]]></title>
<link>http://thefinestincustomerservice.wordpress.com/2013/05/13/dining-out-101/</link>
<pubDate>Mon, 13 May 2013 08:53:41 +0000</pubDate>
<dc:creator>TheFinestinCustomerService</dc:creator>
<guid>http://thefinestincustomerservice.wordpress.com/2013/05/13/dining-out-101/</guid>
<description><![CDATA[When thinking about dining out, many consumers of the restaurant industry should watch the video bel]]></description>
<content:encoded><![CDATA[<p>When thinking about dining out, many consumers of the restaurant industry should watch the video below to help educate them on how to tip and basic etiquette for dining out.</p>
<span class='embed-youtube' style='text-align:center; display: block;'><iframe class='youtube-player' type='text/html' width='640' height='390' src='http://www.youtube.com/embed/sUW3X3orZHg?version=3&#038;rel=1&#038;fs=1&#038;showsearch=0&#038;showinfo=1&#038;iv_load_policy=1&#038;wmode=transparent' frameborder='0'></iframe></span>
<p>This video helps depict how guests should treat their servers when going out to eat. Videos from servers like Jay would be helpful for many restaurant foodies to see before dining out. These blogs are also fun entertainment for servers and consumers around Springfield to follow: <a title="The Oatmeal" href="http://theoatmeal.com/comics/tipping_tooting" target="_blank">The Oatmeal</a>,<a title="21 Things Waiters Dread" href="http://www.buzzfeed.com/seancurry1/things-waiters-dread-5qqa" target="_blank"> Buzz Feed</a>, and <a title="Tip Your Server" href="http://turs.wordpress.com/2011/11/04/chuck-norris/" target="_blank">Tip Your Server</a>.</p>
]]></content:encoded>
</item>

</channel>
</rss>
