Archive for the ‘Software’ Category
Slimserver
Posted by: jeffro in Software, Technology on March 2nd, 2007
I decided that I didn’t want all my music just sitting on my home machine, so I moved it all to my file server in the basement. The problem was that outside of mounting one of the samba shares, I couldn’t access my music anywhere but in the house. That solution worked for about a week, until I got curious to see how I could listen to my music anywhere. Well, by anywhere, I meant, anywhere there was an internet connection and a modern browser.
I tried a couple of different products, but none really did what I wanted. Then a coworker told me about the software from Slimdevices that streams music to their hardware is open source and free for download. Never one to pass up a deal that included the word free (ye gods I am cheap, I admit it), I downloaded the source and eagerly tried to install it on my Ubuntu server. That lasted about as long as it took me to find that they have a package repository for debs. Just add the following to your sources.list:
deb http://debian.slimdevices.com testing main
then ‘apt-get update’ then ‘apt-get install slimserver’ and your running. I forgot to mention that you need perl installed on your machine too, but that usually comes standard anymore.
Oh, and I tried running APF last night for about 3 hours to no avail. At this point I am ready to give up, there HAS to be a better way to manage iptables than manually specifying everything.
Bad moods
Sometimes I think that bad moods are brought about by circumstance. I wrecked my car, I am getting sued, I got fired. Whatever. But today I am convinced that bad moods can be the result of nothing at all, or a something that isn’t apparent to the one having the bad mood. Take, well, me for example, today I feel like punching kittens. Why? I have abso-fricken-lootely no idea. My run in the morning turned into a walk to the end of the alley, with a twenty minute zone-out at the intersection, followed by a vigorous saunter back to the house.
I can’t concentrate on my code today. Its just a mess of stuff that I don’t want to make sense of.
My server was the unwilling target of a massive brute force attack last night, I just got my logwatch email telling me about all the failed login attempts. Those just bother me. I am going to set up the Brute Force Detection with Advance Policy Firewall from RFXNetworks, hopefully that cuts down the attempts.
I don’t know why it bothers me so much, if they did get access all they would have access to is my music collection and some encrypted backups. Well, I guess they could turn it into a zombie too, that would be bad. I guess it just bothers me that someone else has been banging away at my machine. Kinda like if some johnny were to hit on my wife. I wish I were smarter, I could hit back, but ell-if-I-know how to hackback. I suppose I could take the time to learn but I am too busy being in a bad mood right now..
Goodbye uptime-project!
As of March 1st 2007 the Uptime-Project will be no more. This is very sad news indeed, as I have been using their services for the better part of three years. For anyone that doesn’t know, it was a novelty project that let you proudly display the up time of your machines on attractive site badges and whatnot. I have an Uptime-Project site badge on the bottom of the right column of this site, but unfortunately I will be taking it down when the site goes offline. I will probably roll my own uptime-ish badge in the future.
Thanks to everyone at the Uptime-Project.net for everything they have done. You will be missed!
Hobby programming projects..
I started a project about a year ago, I started to make a game. I have only ever developed web based applications, so the idea of having a loop that just, well keeps looping has been difficult to wrap my head around. I had grand ideas, of how it would play and what it would look like. I started coding like a man possessed. I bought a book and almost finished it. Then, my enthusiasm started to wain. I wasn’t making the progress I was in the beginning, I wanted to head in a direction that the book wasn’t going. So I started to wing it…Then I realized how much I really was leaning on the examples from the book. i got frustrated and took a month off, and when I came back to it, none of it seemed to make any sense.
I got the project all setup in SourceForge and I was checking things in and out of SVN there as I worked, but I felt like I was swimming upstream. I never seemed to make any progress. So tonight as I stared at my editor with some of the base classes open in front of me. I thought, should I just give up all together? What ever happened to those dreams of making this the coolest open source game out there? Its seems sad that for all my excitement at the beginning, it takes herculean effort to just open my editor at home and sift through all my old work.
So is this where its going to end…?
Firebug 1.0
If you are a web developer and you haven’t seen or used Firebug, run, don’t walk, over to: http://www.getfirebug.com/ and download it. It’s plugin for Firefox that is the most useful development tool I have ever used in my career. I can’t even start to explain how many useful features is has, just head over to the site and check it out for yourself.
But there is one feature that I have been waiting for, the network monitor. It times and logs each request in a stylish bar graph giving you an image of what was downloaded, how big it was and how long it took. Indispensable, really, I love this tool.
Syntax highlighting
I have been meaning to post alot of the code I use day in and out, so that other could benefit from it. But I didn’t want to just slap some code and have it looking all nasty. I think format and syntax is part of the art of coding. How sexy is monochrome code that is all in Courier and no indenting? Not very.
I tried a number of other syntax highlighters and none of them seemed to work quite right. Then I stumbled here: http://erik.range-it.de/wordpress/plugins/syntaxhighlighter/
It uses the uber-cool dp.SyntaxtHighlighter. Check out my first page where I use it. Good stuff.
Maybe this JS stuff has merit
Posted by: jeffro in Software, Technology on October 11th, 2006
Steve Yegge has an interesting take on Javascript’s place. I for one can honestly say that since I have been doing massive amounts of JS coding, I have become a better programmer overall. There is nothing I can specifically put my finger on. Just better overall I suspect.
It makes me wonder if Javascript will ever get the respect of other “high” level languages do.
Yahoo! Maps
Posted by: jeffro in Software, Technology on May 15th, 2006
Alright, Google just had the gauntlet thrown down on it. Yahoo! Maps seriously ups the ante in the online mapping arena.
Some of the features that I found really cool:
- Automatically supports way points in a route. If I want to get from one place to another, but I absolutely must go through another place(s). Google maps doesn’t do this easily, or at all that I am aware of.
- You roll over a part of the directions and it highlights the part of the route on the map it is referring to. Very cool.
- Traffic view. You can overlay current traffic congestion/problems on major roadways on you directions.
Those were the first things that really jumped off the screen at me. Oh, and another thing for developers, Yahoo! is offering all the Javascript libraries that make Yahoo! Maps work, available for download at developer.yahoo.com
Feeling like a fool
Posted by: jeffro in Software, Technology on May 4th, 2006
There is nothing like talking with someone and being made to feel like a total idiot. I was talking with a Senior Developer at another company and he was to gauge my technical ability by asking me some questions. Needless to say I did terrible. But I am convinced it wasn’t all just me being stupid. First, he called a day early. So I had start answering his questions as I walked in the door from getting out of my car. Second, I have never been good at understanding Indian accents, his was unusually thick and difficult to understand. The phone conversation was pretty much a total waste of time for both of us.
It spooked me enough to realize that I have gotten majorly lazy in my programming though. Most of the questions I knew, but couldn’t recall the answer. He was asking me things that I has used in the past, but since I hadn’t used them in a long time, I just couldn’t recall the specifics. It really kinda ticked me off. So I have decided to start kicking my butt back into shape. I am going to start writing some basic programs that stress a full gambit of functionality of a language, not just what I am comfortable with. Time to start using some of the obscure functionality that I have been avoiding.
Enough blogging, time to fire up my text editor!!
Summer is coming
Posted by: jeffro in Software, Technology on April 25th, 2006
So Google’s Summer of Code 2006 is preparing to start up but I am just enjoying the nice weather. I really wish the Summer of Code project was around when I was in college, its a great opportunity to advance Open Source projects, for college students to get some money and get some great experience. I wish I had th time to contribute to some OS projects, but at this stage in my life I just don’t feel I have the time. Someday tho, someday.
My parent’s have been here for almost two weeks now. They are camping about 30 minutes away so we both get little breathers from each other in the evenings. Not that we can’t stand being around each other, but most scientists will agree that long enough exposure to ANYTHING will cause cancer. Its been great having them around, my Dad and I have finished some projects around the house that I have been itching to finish and my Mom helps out with the kids, which is a mini vacation in itself.
I have been using a new framework (CMS) for a few projects at work. Its called Cuyahoga, and I am really enjoying it. Its almost like when I found Maverick.NET. This is one reason I think programming is such a great profession. Usually programmers enjoy hobby programming too, so its a hobby that usually doesn’t cost alot of money, doesn’t take up space in the garage and can be worked on it all weather. Then you can share you work with other so everyone benefits! Yeah, I know I can be a bit of a fan-boy at times.



