Warning: include_once(/home/llynix/llynix.com/wp-content/plugins/wordpress-support/wordpress-support.php): failed to open stream: Permission denied in /home/llynix/llynix.com/wp-settings.php on line 304

Warning: include_once(): Failed opening '/home/llynix/llynix.com/wp-content/plugins/wordpress-support/wordpress-support.php' for inclusion (include_path='.:/usr/local/lib/php:/usr/local/php5/lib/pear') in /home/llynix/llynix.com/wp-settings.php on line 304

Warning: Cannot modify header information - headers already sent by (output started at /home/llynix/llynix.com/wp-settings.php:304) in /home/llynix/llynix.com/wp-includes/feed-rss2.php on line 8
llynix.com http://llynix.com Code, Rants and Ramblings Wed, 19 Mar 2014 04:10:27 +0000 en-US hourly 1 https://wordpress.org/?v=4.7.6 My FAQ on E-cigarettes http://llynix.com/articles/my-faq-on-e-cigarettes/ Wed, 19 Mar 2014 03:08:54 +0000 http://llynix.com/?p=292 Is it healthier for you?

I’m not going to make any qualified health claims. Frankly speaking the evidence is not out and everything you hear about the health benefits of ecigs is probably false.

Wikipedia has this to say about it:
The benefits and risks of electronic cigarette use are uncertain. They may carry a risk of developing nicotine addiction, and their regulation is the subject of ongoing debate.

The studies that I have seen done properly suggest that the level of chemicals in ecigs are significantly less then in tobacco smoke, however carcinogenic chemicals are still present in trace amounts. I have not seen any other reputable studies in this area.

So I’m not going to tell you they are healthier for you. Because the evidence is not out there and probably won’t be for some time. However…


So Anecdotally speaking do you feel healthier?

MUCH! Within several days I had my sense of taste and smell back. I lost my smokers cough. I no longer smelled and people actually complemented me on how I smelled. I feel like I have more stamina, but I’m not very physically active so I can’t say much there. Overall I’m very happy switching to ecigs.


What chemicals are used?

There are four primary ingredients to e-cigs. Nicotine, Vegetable Glycerin, Propylene Glycol and flavoring. Yes, Propylene Glycol is used as anti-freeze, but it is generally recognized as safe (GRAS) and is approved for use in human and dog food. The nicotine and Propylene Glycol are toxic in large amounts but the amount you’ll be smoking won’t kill you at all.

If your switching from tobacco to ecigs the chemicals are a moot point in my opinion. Four chemicals instead of hundreds just seems simpler and safer.

There are still trace chemicals from tobacco that seem to carry over in the nicotine, but the study above suggests they are 1/1000 of the quantity of cigarette smoke.


Do you save money?

Short term I spent more, but over the past year I’ve saved about 20-30% smoking refillable ecigs. The gear is expensive to start with but after that I’ve only had to buy vapor and atomizers which are a fraction of the cost. If I hadn’t lost or damaged so many ecigs the cost savings would be greater. I’m a bit clumsy.


Do you have to mess with it much?

The rig I currently have lasts about a day on battery and a day and a half with the 1.8ml tank. I plug in at night and refill once a day. Refilling takes less time then going to the store and buying a pack so I feel as though I’ve saved time. My one recommendation is to buy a big tank and battery so you don’t have to mess with it much.


What’s the best rig to start out with?

I personally smoke a Vivi Nova tank with an Ego C Twist battery. I actually have two of the same tank at the moment and am waiting on my second battery after losing one during a trip.

Getting the right gear was the hardest part. I started smoking an e-cab by joyetech and the thing would leak all over the place. The atomizers were replaceable but the tanks were just crap. I then went to a Kanger and the ego twist, but the Kanger I bought was defective and leaked on the bottom thread and had different size atomizers which caused the top not to seal correctly. I have been very happy with the Vivi Nova tank although I must state that the first one I bought is slightly defective in that the center post isn’t centered. As a result I use a pen cap to ensure the silicone gasket is set properly in the cap. As long as I do this I get no leakage and neither one has given me any problems.

The eco c twist by Joyetech is my current battery. I would recommend buying a battery from a name brand company like Joyetech. There are a great deal of cheaper knock offs out there but I’ve heard numerous reports of house fires from improper chargers or batteries. Rather then risk it I spend more and buy the real thing. The ego c twist 1100 battery is huge, but lasts me pretty much all day and is adjustable so you can tune in the right vapor amount.


What about nicotine levels?

The vapor comes in different strengths. The store where I buy my vapor http://www.dfwvapor.com/ from has 0, 4, 8, 18, 24 and 36mg strengths. I would recommend starting at 24 if you are a normal to heavy smoker, and 18 if you are a light smoker. I tried 36 at first and got quite the buzz off that bottle of liquid. I equate smoking 36mg as smoking a camel no-filter wide.

I just took the jump to 8mg. I’m trying to ween off the nicotine.


What about flavors? I like the taste of tobacco!

They make tobacco flavors but I myself went to the more candy like flavors. My current favorites are Chai tea and honeysuckle. One of the great things about smoking ecigs is that I got away from the tabacco flavor and even now the smell of a cigarette or the few times I’ve had one since vaping make me a bit sick. If your really hell bent on smoking the tobacco flavor I would recommend at least trying some other flavor that you might enjoy. There are literately hundreds and hundreds of flavors to choose from. I quite enjoy shopping for vapor and reading the reviews and choosing new flavors to try out.


Wait, you’ve smoked since switching? What’s up with that?

Yes there are times I’m around friends that smoke or at the bar when I give in and bum one from friends. I’m doing this less and less as the smell and taste are really getting to me. I’ve bought only one pack of cigarettes since I started vaping and that was because my Kanger tank fell completely apart on a trip. I bought it to tide me over until my new equipment has arrived.


Do you think you can use it to quit nicotine all together?

That is the plan, I’ve been tapering down and plan on continuing. I like smoking but the cost and health benefits get more and more important as I get older. I’ve heard of many people successfully quitting by tapering down. They offer liquid with no nicotine and if I ever get to the point to where I can reach there I’ll be happy. My plan is to no nicotine it for a few weeks and then just try not to pick the thing up as often.


I wish you luck if you decide to switch to ecigs. The benefits have been great and I hope you can share in them. If you have any questions feel free to contact me.

]]>
Shopping for a new Computer http://llynix.com/articles/shopping-for-a-new-computer/ Sun, 15 Jul 2012 17:39:00 +0000 http://llynix.com/?p=284 Did a little online computer shopping and this is what I came up with:
MB + CPU $192.70
2x4gb mem $45.99 x2 $91.98
128 GB SSD $106.95
Case $39.99
Video Card $59.99
= 491.61

So under $500 I get an SSD with 16gb ram quad core. Nice.

]]>
The One Line Template Engine http://llynix.com/code/the-one-line-template-engine/ http://llynix.com/code/the-one-line-template-engine/#respond Mon, 15 Feb 2010 00:17:54 +0000 http://llynix.com/?p=270 Bought to you by vincevincevince over at webmasterworld.

The engine itself:
print preg_replace(“/\{([^\{]{1,100}?)\}/e”,”$$1″,file_get_contents(“template.tpl”));

Format of template.tpl file:

<html>
<head>
<title>{title}</title>
</head>
<body>
<h1>{header}</h1>
{text}
</body>
</html>

Setting variables:
$title=”Example page”;
$header=”My Examples”;
$text=”See the placeholders replaced?”;

“/\{([^\{]{1,100}?)\}/e”,”$$1″
I’m delimiting the regular expression with / / and using the modifier ‘e’ which causes the second argument to be evaluated by php.

Explanation


The pattern looks for an opening curly-brace ( \{ ) – the end of the pattern is a closing curly-brace ( \} ).

In between the two braces I look for any character which isn’t an opening curly-brace [^\{], avoiding mistaken nesting of tags.

I match between 1 and 100 of these non-{ characters by writing {1,100} and then I make the match non-greedy (try to find the shortest strings between { and }, not the longest) by adding a?. (? after *, + or {a,b} expressions changes them to non-greedy – in other situations? means 0 or 1 of the preceding).

The full string of non-{ characters is matched and stored as string $1 by surrounding that part of the pattern with brackets ().

Finally, the second argument of the preg_replace is “$$1”, using variable variables. If the pattern encounters “{title}” then the matched string $1 is “title” and so $$1 is $title.

]]>
http://llynix.com/code/the-one-line-template-engine/feed/ 0
Facebook Farmville HTML Fail http://llynix.com/articles/facebook-farmville-html-fail/ http://llynix.com/articles/facebook-farmville-html-fail/#respond Sun, 17 Jan 2010 11:32:11 +0000 http://llynix.com/?p=264 Found this while playing on Facebook.facebook-farmville-html-not-accepted

]]>
http://llynix.com/articles/facebook-farmville-html-fail/feed/ 0
iPhone Slowing Down http://llynix.com/articles/iphone-slowing-down/ http://llynix.com/articles/iphone-slowing-down/#respond Wed, 16 Dec 2009 02:54:34 +0000 http://llynix.com/?p=262 Today my iPhone got stuck. I went to unlock it and it took what seemed like minutes to respond. I had voicemail but after fifteen minutes of waiting I gave up.

The solution was simple. The iPhone just needed a quick reboot. I held down the power button for about five seconds and then slid the block to shut down. After I turned it back on my iPhone sprang back to life.

]]>
http://llynix.com/articles/iphone-slowing-down/feed/ 0
Migrating PuTTY http://llynix.com/articles/migrating-putty/ http://llynix.com/articles/migrating-putty/#respond Sun, 13 Dec 2009 01:55:51 +0000 http://llynix.com/?p=258 Transferring your PuTTY settings to another computer turns out to be surprisingly easy. Simply run this command to extract the settings.


regedit /ea settings.reg HKEY_CURRENT_USER\Software\SimonTatham\PuTTY

Transfer the file this creates to your new machine. There double-click on the file to merge your settings into your new installation.

]]>
http://llynix.com/articles/migrating-putty/feed/ 0
.htaccess Under Construction http://llynix.com/articles/htaccess-under-construction/ http://llynix.com/articles/htaccess-under-construction/#respond Thu, 10 Dec 2009 01:55:13 +0000 http://llynix.com/?p=257 Maybe your site needs to undergo maintenance, or you want to put up a placeholder page while you build a new website. Whatever the reason here is a great way to implement it using your web server’s .htaccess file.

First you should create your temporary page. Make note of any outside images or files that you link to as you will need to add an exception for them later. Finally modify and merge the following code into your root directories .htaccess file. Replace the X’s with your IP address and include any auxiliary files you may need.


# Turn on mod_rewrite
RewriteEngine On
# If not your IP address
RewriteCond %{REMOTE_ADDR} !^XX\.XX\.XX\.XX
# and not the temporary page and logo
RewriteCond %{REQUEST_URI} !^/construction\.
RewriteCond %{REQUEST_URI} !^/images/logo.gif
# redirect to under construction
RewriteRule /*$ /construction.html [L]

]]>
http://llynix.com/articles/htaccess-under-construction/feed/ 0
iTunes First Impressions http://llynix.com/articles/itunes-first-impressions/ http://llynix.com/articles/itunes-first-impressions/#respond Fri, 25 Sep 2009 11:46:09 +0000 http://llynix.com/articles/itunes-first-impressions/ I’m off to download iTunes, the first thing I notice is that Apple wants to send me special offers and updates via email.

No thanks, I wonder if they really need my email address or if a dummy one would suffice. I toss in my actual one and click the button.

Eighty eight frieken megs? I could fit an entire operating system in there. I’m already worried about bloat and I’m wondering if I’m getting more then I bargined for.

It takes awhile to download. While it does I play with the four buttons on my phone. I still don’t know what the up/down button on the side does.

Finally the download finishes and I click on the installer. I learn that I also will be installing quicktime.

I start reading the EULA, but really.. who reads them. I quickly click accept. On the next page it wants to put icons on my desktop to which I choose ok. It also wants to take over my audio files, which is certaintly not ok and it wants to auto-update. Which I choose no because I have no idea what the mechanism is. Will it install a program in the background constantly looking, or will it just check for updates when I load iTunes. Better safe then sorry. I should be able to turn back on the auto-update if the program is written well.

It also asks for a location to install and a language. I keep these at their defaults and click next. I’m greeted with a slideshow of features while the installer writes out eighty eight megs of software. So far I’m not impressed with anything in the slideshow. I was already able to import CD’s play my library and enjoy my collection without iTunes.

The installer seemed to get stuck. And only after a little hunting did I find that there was a second windows authentication to click yes on. Soon it’s finished. Sure I’ll open it up.

Once again I’m greeted with a software agreement. Maybe I should actually read this thing. After agreeing a wizard pops up to prepare me for my journey. I hate wizards.

It states it’s going to check my “My Music” folder for files. I don’t keep anything in there so I deselect those options. Next iTunes asks me if it should rename my files. Hell no. I’ve spent countless hours orginizing my collection. Don’t touch my files.

It mentions creating a store account so it can download artwork. All my music already has artwork. No thanks.

Next it asks to sync up with various applications. Nothing about Firefox in there.

Suddenly my phone actually works. Or so it seems.

——–

It did actually work, and for the last few days I’ve been playing around a lot. Still not completely happy with it’s marriage with iTunes but the ipod itself has been a wet dream.

]]>
http://llynix.com/articles/itunes-first-impressions/feed/ 0
Top iPhone Complaints http://llynix.com/articles/top-iphone-complaints/ http://llynix.com/articles/top-iphone-complaints/#respond Fri, 25 Sep 2009 11:38:40 +0000 http://llynix.com/articles/top-iphone-complaints/
  • Absolutely need a computer + iTunes to ‘unbrick’ the phone so to speak. This leaves linux users in the dust. Also what if you don’t have a computer and just want a cool phone?
  • App store EULA stated I could use paypal for payment, yet the signup asked for a credit card and had no way to enter paypal information. I found later I could go through iTunes and set this up but still a disapointment that I couldn’t do it via the phone. And to be honest I’m not sure it worked because it still displays my credit card under payment information.
  • No easy way to delete default apps. Follow the previous link to learn to do it the hard way.
  • Touch pad sometimes doesn’t work at all! Wait, that’s because my fingers are big and are triggering the pad at the sides when I normally hold the phone.
  • My refurbished iPhone did not come with any instruction manual. Not sure if there even is an instruction manual for the iPhone.
  • Did a search, and nope can’t get a bluetooth keyboard to work for the iPhone. In fact apparently you can’t get anything but mono headsets to work.
  • In order for me to program my own apps, I need to pay $99 at least to sign up with the iPhone Developer Program.
  • My flubby fingers hate hitting the M button on the keyboard. Keeps thinking I hit the delete key.
  • Sometimes the keyboard is smart, displaying a .com button for web addresses and defaulting to they numerical keyboard when you need to insert numbers. Sometimes it’s dumb, just giving you the standard keyboard.
  • iPhone does not import contacts from SIM cards. I had to manually type in every phone number.
  • I’ve been able to find tutorials to do most everything above and much much more. All these tutorials seems to start with… ‘I’m assuming your iPhone is jailbreaked.’

    Don’t get me wrong. I’m loving my iPhone and it’s miles above my Nokia brick phone I had previously. But there do seem to be some gotchas.

    ]]> http://llynix.com/articles/top-iphone-complaints/feed/ 0 Iphone Woes http://llynix.com/articles/iphone-woes/ http://llynix.com/articles/iphone-woes/#respond Thu, 24 Sep 2009 02:14:57 +0000 http://llynix.com/articles/iphone-woes/ I got an iphone yesterday.

    Although currently it’s not activated, for that I have to wait a few days. So I thought I’d see what I can do with it in spite of that.

    So far it turns out I can’t do anything.

    Upon loading up the iphone I’m greeted with a picture telling me to plug the phone into iTunes. On the bottom it says slide here for emergency, which I suppose allows one to make emergency calls despite the fact it isn’t activated.

    I really didn’t want to install iTunes. I wanted a more agnostic approach to controling my iphone so I hit the net. My first idea was to try to get my iphone synced with foobar2k. I quickly found a plugin called foo_pod but then was disapointed to learn it isn’t available for the latest version of foobar. But that led me to an alternate plugin called foo_dop.

    However the requirements for foo_dop stated I needed to install iTunes in order for it to work. I was back at square one. Googling again I found this comparison of ipod managers on wikipedia. First on the list stated Amarok has iphone support. Maybe I could get this to work on my linux box. But after searching I found not only did it not support my phone. But also amarok 2 doesn’t seem to support any phones at all.

    I looked through the list. Trying to find something. I came across floola. But it doesn’t support iphones. I tried mediachest, but it requires java.

    I then tried gtkpod. Which in order to use you need to mount the iphone first. So I installed ifuse. It seemed like it worked, although when I plugged in my iphone I got three camera icons instead of one in addtion to the mounted drive. I could see many directories on my iphone. Maybe I was in buisness.

    But alas, no matter what I tried and how many tutorials I read I could not get gtkpod to recognize my phone.

    And at that I ran out of options as far as I can tell. So I’m off to download iTunes in all it’s glory.

    ]]>
    http://llynix.com/articles/iphone-woes/feed/ 0