9/23/2008

Reloading DHCP Client

Filed under: — funtaff @ 9:12 am

On OS X:

“(sudo) ipconfig set DHCP”

It’s technically equivalent to setting the interface to manual and back in System Prefs.

On Redhat / SysV Init:

“(sudo) /etc/init.d/networking restart”  - Full network restart

“(sudo) killall dhclient”

“(sudo) dhclient ” - Manual dhclient reset

On Windows:

“ipconfig /release”

“ipconfig /renew”

(But you knew that)

9/8/2008

Package mirroring

Filed under: — funtaff @ 2:42 pm

The environment variable PACKAGEROOT specifies an alternate location for
pkg_add to fetch from. The fetch URL is built using this environment
variable and the automatic directory logic that pkg_add uses when the -r
option is invoked. An example setting would be “ftp://ftp3.FreeBSD.org”.

8/4/2008

Good Eats

Filed under: — funtaff @ 1:06 am

Okay, honestly?  I’m sure I’m a bit star struck and admiring and whatever, but I was reading this Alton Brown interview and (him being a food personality) at some point he just diverges and starts explaining why Amazon.com can be slow at shipping and I just started laughing, uncontrollably.  You know, it’s 2am here and Natthanit is sleeping two feet away, but it’s hilarious.

Why?  Because I think that had the question come up and had I known the answer, I would have done the exact same thing.  I’m just as crazy as he is - or vice versa (still deciding).

5/16/2008

Boba

Filed under: — funtaff @ 7:40 pm

I’m so hungry right now.  I just wanted to jot something down before I forget.  When meds are in full force, I can think straight, I’m motivated… sometimes, I’m a genius.  It reminds me of when I was little.  The thing that worries me is that little things catch my eye (”Oohh a birdie!”) and I’ll just start riding off on that horse.  I’ll forget what I was doing before and have to backtrack what I was doing.  This occasionally gets out of hand at work and I have to real back in and cap what I am doing.
What does this mean?  It usually happens best after a med change, increase, or otherwise.  Are hyper ADHD like symptoms temporary side effects that wear off, leaving the main modulatory effects to persist?  I’d like to think I have ADHD because the medicine helps so much.  Like, it’s night and day what it does to my motivation to get things done, and my sleep schedule.  But I get so frustrated because, let’s say that the meds are correcting the physiological aspects of ADHD.  Even so, I then have to fix my life - organize it.  Organizing is so tough to do when you are a perfectionist - and when you are passionate about a lot of different things.

I dunno if I feel any better, but I think that somehow adequately describes the dilemma I always face when dealing with whatever it is that makes my mind unique.

3/24/2008

Sara Bareilles

Filed under: — funtaff @ 6:57 am

So that blasted Rhapsody commercial got me me wondering about Sara Bareilles. I mean, it’s a great song (”Love Song”), but it was more that she was just crazy jamming on that piano with a crazy smile the whole time. So I got the CD for Natthanit, but I must admit I’m listening to it right now.

Rhapsody Commercial - Sara Bareilles

Anyway, it turns out that she has the same birthday as me, and she went to UCLA. Small world.

And then while I’m trying to score the sheet music, I end up at some site that has the top requested sheet music in this list on the side. Lo and behold, Boston by Augustana is right up here with this song.

3/19/2008

Intersections

Filed under: — funtaff @ 7:37 am

So two of my favorite things turned out to be related!

Natalie Portman, my favorite actress, published a paper in NeuroImage when she was in school about Near IR imaging.

Well, it just happens to be that the Director of my lab founded that journal and was “co” Editor in Chief for many years. Our lab has a few dozen covers in NeuroImage (they pick an article each issue from which to get the cover image), and because of that we have framed copies of the journal all over the lab’s walls.

Apparently we have archives of all the issues in our conference room; I fully plan on tracking that issue down!

I’m aware that there are thousands of fan sites (and fans) that are aware of this and sing accolades and what not, but I thought it was worth sharing because I guess my lab has played a large role in the existence of that journal.

[PubMed]

[Article]

Kitty Cat

Filed under: — funtaff @ 7:25 am

2/15/2008

Speed tests :(

Filed under: — funtaff @ 2:55 pm

I can’t seem to get respectable speeds over this beast of a network we have.

—-

[dhasson@cutie]% dd if=/dev/random of=test-512m-rand bs=1M count=512
512+0 records in
512+0 records out
536870912 bytes transferred in 25.818451 secs (20794079 bytes/sec)
[dhasson@cutie]% dd if=test-512m-rand of=/tmp/tmp bs=1M
512+0 records in
512+0 records out
536870912 bytes transferred in 16.916974 secs (31735635 bytes/sec)
[dhasson@cutie]% cp test-2g-rand.bin /tmp
tty da0 pass0 pass1 cpu
tin tout KB/t tps MB/s KB/t tps MB/s KB/t tps MB/s us ni sy in id
0 78 123.38 277 33.42 0.00 0 0.00 0.00 0 0.00 1 0 18 14 68

More Speed

Filed under: — funtaff @ 2:55 pm

smb: \dhasson\> get test-2g-rand.bin

 tin tout  KB/t tps  MB/s   KB/t tps  MB/s   KB/t tps  MB/s  us ni sy in id
   0   78 107.00  50  5.21   0.00   0  0.00   0.00   0  0.00   2  0  1  1 95

 

1/30/2008

Wordpress reasearch

Filed under: — funtaff @ 4:28 pm

So since I’m using wordpress to publish our ctsi public side site, I can say that I’m actually doing work by typing this.  You know, really experiencing what it is to work on wordpress.

That being said, I took 72mg concerta today instead of 36mg.  My doctor upped my dose to 54mg but I haven’t had time to get the 18mg prescription yet (I will).  I feel more in the zone that I was with 36mg, more like that I had with adderall.  It’s not waking me up much in the morning, which I deperately need to make my schedule more regular - so I’ll try the 72mg in the morning tomorrow (today I took the second one after I was already up) and see if that helps.

 

1/27/2008

I’m back

Filed under: — funtaff @ 6:34 am

I’m back!  I just actually made code progress on something I’ve been meaning to do for a really, really long time!

I’m finally making some headway on my “take over the world” web app.  I think I’m going to stick with Ruby + ActiveRecord.  I was using Amirta2 for templating, but I was having trouble getting that to work so I switched to ERB for the time being.  I think I like the former more, because it’s more abstracted.  ActiveRecord is friggin sheer genius.  And just to remind you, I came up with that a long time before the haircutter show…  I have attempted to write a smart database class for perl before.  It was actually really helpful, but it can’t do the crazy cheese that activerecord does with relationships.  I even ported it to PHP so I could write in both languages. I’m not a big fan of rails.  I think with the right mentality, all you need is a good database class and a template engine.  Those aren’t worth doing yourself.  The rest - have fun with program design for goodness sakes!
I’m really, really psyched now.  I’m getting all excited about ajax again.  I just hope I can make enough headway framework wise so I can quickly bring in the new code for work and use that for my project on that end.  I might be hard to focus on both, we’ll see.   If I really get going, then there will be some ethical questions as well regarding code sharing , since I’ll have a similar project on the clock at LONI.  At least we’re not commercial!

I’m really liking ruby.  I didn’t think I could make it out of my stubbornness, but it’s just so fun to write.  It really is in the perl mentality - where you get creative in your statements.  It’s genius.

So basically all of that new music I talked of is finally sinking in.  It’s all like amazing after a few listens.  I’ve got Yellowcard on a loop right now, and had The Used on earlier.  Man, these guys are pretty talented.

1/25/2008

Back on track…

Filed under: — funtaff @ 8:12 am

So I am back on medication after a three week hiatus / I ran out.  This time we’re trying Concerta ER starting at 36mg.  I looked at the pharmacokinetics and the profile looks really smooth, and probably the correct duration.  Needless to say though, I’m jittery and with that comes a faux anxiety effect.  This should go away tomorrow or Sunday though.

A few things I’ve noticed - and I wanted to get these written down so I can see later:

1) I wrote on my whiteboard one day something to the following effect:  medication doesn’t always help me start something, but it helps me finish it.  There are some things that I have built up anxiety about doing, so I need to make an effort to get the ball rolling.  Once there, I’ll do better on medication than if I weren’t.  This is the case for existing tasks or action items, things that are looming.  As far as new items that come up, I’ll be more motivated to start on medication than without.  For all these “items” referred to, we’re talking about things that would have reservations associated with it - mostly related to the mental effort involved.

2) Adderall was saving my life, so to speak, in regards to scheduling.  I didn’t realize how much it was helping until I was off of it.  All of the sudden I was having issues sleeping at a normal hour, staying up even though I knew I should be sleeping - and then there was waking up.  Impossible.  Using it to wake up in the morning does seem sort of abusive in a sense, but a greater affect it had was structuring my day and allowing my to fall asleep at night.  I think the latter is a valid rational for this.

3) They used to call me the “HGD” at home - human garbage disposal.  I could eat a lot.  It seems that took about three weeks to finally revive.  It’s sad because I really enjoy foods a lot more (at least inherently) when completely off medication, however it wasn’t that hard to enjoy food after I had adjusted to the medication previously.  I gained about 20 pounds in the swing - from 155 (possibly underweight for me) to 175 at most (slightly overweight for me).  Most doctors would be alarmed by a 20 pound swing, so the effect is obviously significant.  In both situations, however, I’m relatively fit even without a lot of exercise - which is thanks to God for my metabolism.

I’m going to start working out again, but I really wish I had a heart rate monitor.  They are just too expensive it seems though.  I almost got one at the drug store (figured it would be a cheapo) - but then it was $75…

Ritalin is said to be a little less rough than Adderall on the onset/offset effects, etc - although I have occasionally heard the opposite.  The good thing for me is that most people react to Ritalin like I do to adderall - with a 3-4 hour duration.  Because of this, Concerta ER has been formulated with a release mechanism that I would have liked to have seen in Adderall.   They are so similar though, that this may be the answer for me even though I had previously thought I preferred AMP over MPH.  I’d still love to see some new studies on ADD…

This is kinda cool - you can tell by the volume of writing that I’m on medication.  I always learn so much about myself going on or off these things.

On another note, I’m so incredibly blessed with everything God has given me.  Natthanit is awesome, and even though things are tight right now, we have a pretty good thing going for us.

Oh yeah, and “Touchtone Inferno” by Reeve Oliver is… well, good.

1/17/2008

News sites

Filed under: — funtaff @ 4:15 pm

One thing that really annoys me is video content on news sites.  Usually when I’m on my computer, I like to read.  When I’m on my couch, I like to watch.  If you go to cnn.com or yahoo.com, you’ll notice that some headlines have a nice little video icon next to them, meaning they are video stories.

The problem is, what if you just want to read the story? 

You get to go search for it on another news site.  How fun.

Office 2008 Day

Filed under: — funtaff @ 10:06 am

(9:50:29 AM) David Hasson (gtalk): yeah if you could get a dmg out of that, that’d be great
(9:50:38 AM) Allan McKenzie-Graham: will do
(9:51:22 AM) Allan McKenzie-Graham: creating…
(9:57:03 AM) Allan McKenzie-Graham: verifying…
(9:57:45 AM) David Hasson (gtalk): hehe
(9:57:49 AM) David Hasson (gtalk): status updates galore
(9:57:58 AM) Allan McKenzie-Graham: installing…
(9:58:29 AM) David Hasson (gtalk): I love new software days
(9:58:35 AM) Allan McKenzie-Graham: so do I

1/16/2008

Mini Audio

Filed under: — funtaff @ 1:27 am

So I’m thinking…  a 7″ touchscreen on the right side of the wheel, Mac MINI, Alpine “Factory Sound Processor” connected via serial and spdif to the computer, alpine digital amps on a 2″ raised floor in the trunk, some custom three-way 6.5″ / 4″ / 1″ components up front, and two-ways 6.5″ / 1″ in back, but I don’t know about the subs.

Alpine PXE-H650

Lilliput 7″ Touchscreen

JL / Eclipse / Alpine:

300×1 Amp
150×4 Amp

Speakers TBA

Also, there will be some heavy code involved for the touchscreen GUI.  I don’t need multitouch, but I do need sex and glitz, and the ability to not crash while picking out your albums.  There will need to be some custom electronics to interface the steering wheel to the computer, and retain control of the factory system.

1/14/2008

Filed under: — funtaff @ 5:38 am

So I basically got all those CDs except for the Academy Is… well, actually most of them I didn’t get but I got the top three, Jimmy, Dashboard and… the new Reeve Oliver!  Natthanit hates the CD already, which means I must like it (overplay…).  And I seem to have become that annoying person that ends all thoughts with an elipsis…

So, in case you didn’t know, horny cats are really annoying.  Tofu seems to have gone into heat, and damn us for not keeping our first spaying appointment in the interest of paying $35 instead of $350 per kitty.  She just walks around meowing and yelping with her ass on display.  And “ass” was honestly the best word to use, it can only aptly describe how ridiculous it looks.

Another word of advice - don’t open up a Wells Fargo account if you are thinking about it.  They used to be pretty cool - they charge an arm and a leg, but then they are nice about it.  Well, it seems they still charge an arm and a leg, but they aren’t always nice about it.  I mean even free cookies at the branches can’t fix that.

1/3/2008

CDs that I need…

Filed under: — funtaff @ 3:12 pm

Coheed & Cambria: No World For Tomorrow

Foo Fighters: Echoes, Silence, Patience & Grace

Yellowcard: Paper Walls

Fall Out Boy: Infinity on High

The Used: Berth

The Used: Maybe Memories

The Used: Lies for the Liars

The Academy Is… Santi

The Starting Line.. Direction

Jimmy Eat World: Chase this Light

Armor for Sleep: Smile for Them

Dashboard Confessional: The Shade of Poison Trees

Thrice: The Alchemy Index, Vol. 1 & 2

New Found Glory: From the Screen to Your Stereo 2

Smashing Pumpkins: Zeitgeist

Interpol: Our Love to Admire

Lifehouse: Who We Are

1/1/2008

Projects for the day

Filed under: — funtaff @ 10:31 am

Not that these will get done, but things I want to look into today:

1) Getting a photo gallery on my ruby code

2) Getting up a recipe database on my ruby code

3) Reading about how to make retainers

12/19/2007

Phantom guilt

Filed under: — funtaff @ 4:42 pm

This is the second day in a row that around the end of the day I start feeling this apprehension about seemingly… nothing.

9/5/2007

Work and play

Filed under: — funtaff @ 5:39 pm

The font on the dashboard is huge, as to be expected because I haven’t changed it….

So I am trying to work from home right now and I am immensely more distracted than at work.  Like I feel like I have ADD (in the sense as it would be coming from a person without ADD…).  Interesting isn’t it?  Maybe at LONI I’ve managed not to mix work and play, which is a powerful tool for focus.

Cool, huh?