Slashdot is powered by your submissions, so send in your scoop

 



Forgot your password?
typodupeerror
×
User Journal

Journal Journal: This thing still on? 4

I'm writing this from Rose Barracks in Vilseck Germany. I'm Stationed here as a Scout in US Army. I'm also married with kid on the way. Those two sentences do a poor job of summarizing the last few years of my life if anybody is still active in this Journal clique I'll let you know the rest.

Miss you guys
-red5

User Journal

Journal Journal: Saturday Night is for Fighting 1

Or something like that... Could be for just sitting on your couch and drinking expensive beer. Maybe. It's, just that, well things are funky all over.

New job.

Was supposed to kick start my ass to do more. More adult shit. But, well that hasn't worked out at all. Though, now that my garage doesn't resemble Sanford and Sons, I think I can light up my heavy bag come morning.

Time slips right fast. Straight toward that big fucking black hole in the sky. Yeah, this entry is really, really REALLY positive. Should have slapped a rated R on it's arse.

So, here we are. Sitting on the precipice of deceit and... Whoa! What the fuck!? That was not me. No no no.

My beer is getting warm, so I will make this short: love the one you're with. Bwaahahahahahah!

Out.

Ubuntu

Journal Journal: Linux: adoption by those who are fed up? 6

Today, I had the most peculiar experience. A (female, and pregnant, but that has no importance at all for this story) cousin of mine complained on Facebook about a virus infection on her Windows machine (I assume Vista, but I actually didn't bother to ask). Locked out by one of these ransom viruses. Worst part is that she did have an up-to-date antivirus sponsored by the Bank where here partner works.

I don't mind helping, but -of course- my first comment was. "Drop that crap OS and go to ubuntu.com and get a real operating system". I NEVER expected her to actually do that. Well, she jumped on the occasion. She was also very happy to hear what a live CD is and that she could recover her data from her current installation using the LiveCD and copy it to a USB disk. So, she managed to burn the ISO, boot to it, copy her data and install the whole thing. Basically without me helping except saying that it could be done. I also explained what dual booting was and she could do that.

She asked me one question: Why do you use Windows? My reply was: I don't, unless I want to play games (the non-Flash variants. I illustrated Flash games with FarmVille). The tipped her over: She'd go full Linux.

I was completely baffled... You have to imagine the frustration Windows had to put on her so that she would try something completely unknown, just because I say I use it.

First reactions were: Hey, this thing already has Firefox,,Thunderbird and an Office suite. Wow, I have four workspaces (she means virtual desktops). She found Ubuntu Cloud (5GB seems a lot to her, I wonder where else she has been?) and -while not Ubuntu specific- I explained her what Firefox Sync is. She also seemed to like the idea of the Software Store (I compared it to Apples App Store, I know not the same, but she has to understand what it is) and steered her to installing ubuntu-restricted-extras and explained it was to install Flash and similar.

Linux on the desktop... Yes, it can be done... She is non-IT, perhaps a bit geeky, but definitely non-IT.

User Journal

Journal Journal: Vindicated 4

My decision to rip all of my audio losslessly to FLAC has been vindicated. I rip to Vorbis as well, but I always thought it was worth having the lossless originals around too. That way, if a new codec arrived on the scene at a later date, I could rerip to that without any further loss of quality. That codec is now here. Hello, Opus!

User Journal

Journal Journal: Thanks 5

Thanks to whoever burned five.

User Journal

Journal Journal: You get that many mod points 6

Wow, you get so many mod points, you feel the need to blast all 10 at me? I'm no longer the most prolific poster on slashdot, why do you bother?

User Journal

Journal Journal: Got myself a new monitor... No, nothing special, just cheap. 5

Got myself 58% more screen real estate at 117.99€. The prime condition on a Full HD[*] monitor was that it must have integrated speakers. This is because it saves desk space. That's hard to find in my allocated budget of max. 149€.

Funnily enough, this is exactly the same model as my moms screen which I bought nearly two years ago. 149€ back then. I have cursed myself ever since that day that I didn't buy one for myself.

The integrated speaker isn't as great as the ones in my old Fujitsu-Siemens C17-2, but more than sufficient for the occasional youp...I mean youtube video.

On a related note, I start to have quite a few "spare" LCD screens now.

[*] As much as I'd love to have a 2560x1440 monitor, there is no way I want to spend 400€++ on a monitor.

Java

Journal Journal: Does anyone even use the tomcat/jsf packages of Debian? 3

I don't program much these days any more, but due to a not very important reason, I wanted to do a little something with Java Server Faces. Being a sysadmin by day, I thought that setting up such an environment would be easy-peasy, as long as I stick to the default packages, I'd get an environment that would be more than sufficient for my modest needs. Basically, my idea was that

aptitude install tomcat6 libjsf-impl-java

on a base Debian squeeze would do it. I mean change a config file left and right, drop the webapp in /var/lib/tomcat6/webapps/ and point my browser to http://dusky.sharks:8080/megasuperextremewebapp

Well, apparently, it's not that easy. I took this as test web application, as it looked extremely simple. I immediately got greeted with a ClassNotFoundException on com.sun.faces.config.ConfigureListener. That seems to be one of the core JSF classes. No problem right? Just a classpath problem right? Well, I do remember that could get quite complicated. To make a long story short. The JSF jars are in /usr/share/java where you'd expect them. Superficially there didn't seem to be an entry to that in the classpath, so I added it manually. Didn't help.

Well, let's try adding a few symbolic links to the web applications WEB-INF/lib part... namely jsf-impl.jar and jsf-api.jar. Nope... Then I read something that can't do that but need to copy the jars to make it work. I do so. It still doesn't work, but the ClassNotFoundException is gone (replaced by another one). WTF?!? Java doesn't work with symlinks?

It's pretty much at that point that I decided to write this, because despite all my Googling, I found no references on how to do this (using default packages on Debian). All instructions basically are quite Windows centric, instruct you to download software here and there tell you to copy jars nilly willy, which would be okay if they explained why. I don't like "just do this" instructions.

I'm a big fan of the central repositories, but unless I have a blonde moment, server-side Java doesn't play nice at all...

So, is there anyone who ever tried using just the packages and have it work?

Programming

Journal Journal: Javascript 1

I'd forgotten how much I hated Javascript. I very much appear better suited to server programming than to web programming...

Lord of the Rings

Journal Journal: [Beloved] A Pretty Song (redux) 2

From the complications of loving you
I think there is no end or return.
No answer, no coming out of it.

Which is the only way to love, isn't it?
This isn't a playground, this is
earth, our heaven, for a while.

Therefore I have given precedence
to all my sudden, sullen, dark moods
that hold you in the center of my world.

And I say to my body: grow thinner still.
And I say to my fingers, type me a pretty song.
And I say to my heart: rave on.

-- Mary Oliver
Hardware Hacking

Journal Journal: I know you want to be green of envy... 4

Public album on Google+. You don't need a Google+ account to view.

It's my full Raspberry Pi kit: I was lucky, the two high speed 4GB SD cards were 5€ each on sale, and the power adapters were on sale at 7.50€ each.
The RS Components Pi was 39,16€. The Farnell/Element 14 Pi was 42.05€ (including the t-shirt!).

The whole shebang was thus "only" 106,21€....
The SD cards are both loaded with the default Raspbian, with SSH enabled (just added links manually in /etc/rc[2-5].d)

Hardware Hacking

Journal Journal: Farnell Pi underway 2

Called them up Wednesday to ask why the order never shipped. They confirmed me that it was because of an expired card, and if I wished to cancel the order. HELLO NO!

*grin*

User Journal

Journal Journal: On the merits of redundancy 3

Some people think I'm paranoid. I wouldn't say so. It's just that I pay more attention to the potential worst case outcome that some. So when it comes to storage, I have a mirrored RAID array in my home server. The contents are backed up to a separate disk in the same machine. I also have an offsite backup in a datacentre.

My offsite backup machine died, and is now sat at home waiting for me to rebuild it. So it was somewhat alarming when my backup drive also died. Uncomfortable about running with less redundancy than normal, I immediately went out and bought a replacement drive. When checking the drives in the machine to see which one I needed to pull out, I noticed that one of the mirrored drives had also failed and the array was running in degraded state. Eeeek! Of my four levels of redundancy, three had failed. If I'd had fewer, I'd be screwed right now!

I'm not sure why I wasn't notified about the RAID failure. Normally I automatically get an email when the array enters a degraded state. That's something I need to look into. For now, the array is rebuilding. I'll fit the new backup drive when I get home this evening.

Slashdot Top Deals

Thus spake the master programmer: "After three days without programming, life becomes meaningless." -- Geoffrey James, "The Tao of Programming"

Working...