Become a fan of Slashdot on Facebook

 



Forgot your password?
typodupeerror
×
User Journal

Journal Journal: Busy

Been super busy - so it's not that I mean to ignore you...

I'm not smart, I think I've said that before. Today I proved it by trying to use my old Nvidia card in my Fedora box again. Tired of hearing about that? Skip ahead then 'cause I'm gonna talk about it. I got it up and running for the most part. There is some strangeness in that it wont switch to OpenGL for compositing and I don't know why. But most software works well. I had to do the driver install twice. The Nouveau drivers leave things in quite the mess. The proprietary drives do fine so far. I'll know better after a few days. Oh - but back to the install twice. I had a lot of problems the first one and realized something that may have caused me a lot of trouble in the past.

When you I install the proprietary drivers via yum and the freshrpms repos there is some scripting that goes on to modify grub. Well I have this Seagate external drive and when it is plugged in and on - grub config fails. Something to do with sector sizes or some other. I don't remember. I just knew I had a lot of problems. Uninstalled the drivers, turned off the external drive, reinstalled and things are a lot better.

Oddly enough though - trying to use Amarok will completely lock up the system. Nothing works to get it going again. I have to hold down the power button until it shuts down. I switched to Clementine and things seem fine. It's not as pretty as Amarok but actually seems a bit easier to use so I'm willing to make that trade.

Chrome and Firefox work fine which is where I spend a lot of my time.

I've gotten involved in a mobile project. I pulled the code today but I need something from them to get Gradle set up. I've never used Gradle before so it should be interesting to learn about it.

I might be headed to Moscow in December. I've never been to Russia so I'm hoping it works out - even though it will be stinking cold.

That's mostly it. Life pushes forward.

User Journal

Journal Journal: The first 5 minutes with an iPad 9

Work is using iPad mini tablets for a project. They gave me one so that I could better support the project.

I've been busy and out of town so this morning I finally got to unbox it and set it up. The box is nice. The tablet itself feels heavy. The instructions to set it up and feedback were awkward. There was a little spinner thing and sometimes it would be spinning so I'd sit and wait to see what was going to happen but nothing would happen. It was waiting for me to hit "next". The next button was not always in the same place.

Whenever I had to type something I realized that the iOS keyboard is horrendous. It is so very, very bad. I always hear that people can't use Android because it isn't quite polished enough. How does any person use that horrible iOS keyboard, if they are picky about things. You can't even tell if you are typing upper or lower case unless you look to see what color the little shift key is. Unreal.

And it apparently wont charge off my desktop or laptop because those usb ports don't send enough power. Really? I read that turning off the screen will allow it to charge very slowly. So that's what I've done.

How do people make such a big deal about this platform. I haven't even gotten around to actually using it and I already don't like it.

User Journal

Journal Journal: Chrome New Tab Behavior 4

Opened up Chrome this morning and the page it loads on start is not my apps - which is what I want to see immediately. I had set it to always start with apps. Thought to myself, "Huh, I must have accidentally switched it somehow." and started looking to fix it.

Noticed that there is a new item on my bookmark toolbar that is called apps.

Do a little searching and realize that this is how it works now. I can't change it back through settings - looks like it will take poking around in the guts of chrome or finding an extension that fixes this.

What do I get instead of my apps? 8 thumbnails of my most recently visited sites and a google search text box. Right below my omni bar which I use to search with google. Now I have to add in a click to a little icon up in the corner - it feels and looks very much like using the corners on my wife's new windows 8 machine. Which is pretty funny if you think about it.

On a side note - Windows 8 isn't that bad in my opinion (for windows). My wife really likes it and I think it's pretty easy to use. It still has some annoyances that Windows has always had and maybe a couple new ones, but on the whole I think it's pretty similar to win 7 with some nice additions. Her laptop does not have touch but we haven't found it to be an issue. But I wander.

I guess Google beta tested this new tab behavior and received tons of negative feedback. I found this article saying be glad the new tab changes wont make it out of beta but unfortunately that guy was wrong. I found a google groups thread asking for feedback and it's almost completely against the change - but that apparently didn't outweigh whatever other considerations were pushing for the change.

I don't care if they want to play with the most viewed sites format - but I really don't understand taking away my ability to choose the apps view instead and forcing me to an extra mouse click to get to it. Seems to be the wrong direction.

Enough griping for today - got stuff to do.

User Journal

Journal Journal: California Scholarships for Undocumented Immigrants 2

I just read an article that interviewed a few kids taking advantage of college scholarships even though they aren't US citizens. Undocumented Students Get First Grants
 
I'm all for immigration reform and I think the US ought to be embracing immigration from Mexico in a big way. But this article made me sad. Look at what these kids want to study. Psychology? In my house we call that "getting a degree in retail management." Mostly because everyone I know with an undergrad degree in psych works as a manager in retail.
 
Please - give them scholarships - in fields that we need. medicine, technology, engineering - something. Not psychology and political science.

User Journal

Journal Journal: Windows Sound

I was doing some work and listening to music. The music was coming from the desktop that sits in my entertainment center, connected to my TV via hdmi. I'm no audiophile and my tv's audio is good enough for me. It was playing an Audioslave album in Google Music.

In the middle of a song the audio just cuts out. Total silence.

I kick over to a regular tv channel and it is fine. So the tv works.

I check the volume control and nothing is muted. Then I start digging around and there are a crazy number of places that have audio options/hardware settings. I was thinking, "Man I wish this was KDE - so much easier." I finally tracked it down. I'm not sure what happened - maybe an update to a driver for the audio stuff? There's a new audio manager program and I have no idea what started it or why it decided to change my default audio device, but it did. The machine had been up and running for quite a while. And the easy to find interface wouldn't let me switch the default. I had to find another menu via the control panel.

Pretty funny.

User Journal

Journal Journal: Sunday Comics

I never thought about this before. I was 11 when Bloom County started and 26 when Calvin and Hobbes ended. I consider myself very fortunate to have had the opportunity to read both as they were published.

I don't think either have been matched since. Not for a guy growing up anyway. I don't want to take anything away from Trudeau and others. But for me that was an amazing thing that my youth and those strips lined up so perfectly.

User Journal

Journal Journal: Journal Archiving re-re-re-revisited 3

I have written many times about how much I'd like to have a tool to archive my journal entries here. I've also written about the very nice tool that LeoP made. (wow - I wrote about it four years ago) But that sucker is now broken.

It probably says a lot about me that I'm interested in saving these. It's just me rambling on and most of it is rather limited in the length of time that it is relevant. But there's a part of me that doesn't like the idea that if slashdot is shut down tomorrow that all my journal entries go with it.

So anyway - I took a couple stabs at getting things working but usually got stuck and just got busy with other stuff. But now I have a script that I think will work.

I am not a proper programmer like Leo. There is no error handling. You need to put your username and password into the script. And I ran into a really odd case that I haven't handled yet that made it break. I had a journal entry listed, but when I followed the link to the entry I got a message about it not being there or that I couldn't see it. Strange. I hit the "edit" link from the list. That brought it up. I saved it from there and now it seems to be working properly. I've started the script again to see if it gets past it. (it did)

I'll post the script here and link to it so you can grab it if you are interested. I don't know what happens if you don't have a subscription. All this is built around how the site works for me right now.

I think it is also worth pointing out that it is rather slow. It takes anywhere from 1.5 - 3 seconds per journal entry. It took 52 minutes to download my 1,436 entries (Don't look at me like that). It doesn't look like it is doing anything when I run it in Konsole - that is because it outputs the html of each page and they always end the same. But it should either print out DONE when it finishes - or stop when it hits an error. I know, pretty amazing work.

Each entry is written to a text file. In the file is the url to the entry, the timestamp from when it was written, the title and the body. The body is in html format with the div that is wrapped around it in place.

Another file is created, linklist which will have every journal url in it. (without the http: part - it starts //)

I have not done anything to save comments yet - though I think I'd like to get that in there too. Quite a few of my entries are worthless without them. But that will have to wait for another time.

You can see it below or just download it. jarch.py

It should also be obvious - but just in case- you will need Python 2, twill and beautifulsoup installed to use it.


from twill.commands import *
from bs4 import BeautifulSoup

nick = 'your nickname here'
password = 'your password here'
uid = 'your user id here'

go("http://www.slashdot.org")
fv("3","unickname",nick)
fv("3","upasswd",password)

submit()

go("http://slashdot.org/journal.pl?op=list&uid="+uid)
all_links = showlinks()
lf = open("linklist",'w')

urllen = 25 + len(nick)

for item in all_links:

        if item.url[:urllen-1] == "//slashdot.org/~"+nick+"/journal" and len(item.url)>urllen:
                print>>lf,item.url
                jurl = "http:" + item.url
                go(jurl)
                soup = BeautifulSoup(show())

                journalid = soup.find('span',{'class':'sd-key-firehose-id'})
                bodytag = "text-" + journalid.string
                titletag = "title-" + journalid.string
                entrydate = soup.time.string[3:]
                entrytitle = soup.find('span',{'id':titletag}).text
                entrybody = soup.find('div', {'id': bodytag}).prettify()
                journalfile= "jfile" + journalid.string

                f = open(journalfile,'w')
                f.write(jurl.encode('utf8')+'\n')
                f.write(entrydate.encode('utf8')+'\n')
                f.write(entrytitle.encode('utf8')+'\n')
                f.write(entrybody.encode('utf8'))
                f.close()

print("DONE")
lf.close()

User Journal

Journal Journal: Pulled the Plug on Nvidia

I couldn't take all the problems and constantly fighting with my system any more. This morning I took the Nvidia card out of my Linux desktop. I plugged the second monitor into my little Windows laptop and I hooked up my main monitor to the on-board intel video.

All my issues are gone. All my software runs, the system does what it should, looks the way it should, etc. I'm not thrilled to have to work this way - synergy makes it a little more palatable but this is where I'm at for the time being. A little while down the road I'll try it again and see if things improve but for now I've got stuff to do.

User Journal

Journal Journal: Backblaze Box 3.0

Apparently Backblaze has a third generation box out. Backblaze is a provider of online backup who has a fixed fee "all you can eat" price structure. Because of this they have to minimize the cost of providing their huge storage needs. They designed a 4U server to hold 45 drives some years ago and open sourced it. Netflix uses the design now for their CDN. Since then Backblaze has improved it some and it has been reported here.

Now there's a site where you can buy them for retail, and there's a new version out. If you want to put 180TB raw into 4U, there is no more efficient way to do it.

45drives.com

User Journal

Journal Journal: It's about the people, stupid 1

In Star Trek they have a great deal of amazing technologies. Warp drive, transporters, phasers, replicators, lots of cool stuff. Some of these things have been realized at least partially with technology. Tech people love Star Trek mostly, and adore the tech. Some think that this is what Star Trek is about. This technology stuff is what makes Star Trek science fiction. This is not what Star Trek â" nor any popular fiction â" is about.

The tech in Star Trek has almost never been the story, and certainly never in a good episode. The tech is a method where the storyteller sets his story in a place just different enough from the current day that the audience can view the story objectively rather than subjectively. It is a prop. With this diversion the moral play becomes not a threat to the viewer's established prejudices because it happened in a mythical place far away in space and time, opening the viewer to alter their prejudices and experience (pleasurable) personal growth. Every Star Trek show is a moral play showing conflicts arising between people, and how they resolved them. It is about educating people about conflict resolution and ethical behavior. This and only this is why we watch. Roddenberry was shameless in re-telling all of the basic stories of the past in his postmodern future â" even Aesop's fables and Shakespeare. It's about the people because how people engage with other people is what we, as humans, connect with on an emotional level. That is what makes it a good story.

In the technology world we focus on the widget. What its gigawhats and megathings are relative to the one that came before. How many FPS it gets on TradeBench. This is entirely the wrong approach. The technology world is not about gigawhats. It's about people. People who have wants and needs, aspirations and dreams. To a certain extent we acknowledge this in the marketing department where the people who sell the stuff we make live and bring the money that buys our sweet engineering gear. Marketing understands this is how you sell things: You associate the thing in the customer's mind with a greater affinity with his family, the public, the world â" you empower and enable him to do what he needs or wants to do, to be important, or at least convince him you will, and he gives you his money.

Somehow a one-way conceptual firewall has been built between engineering and marketing where this idea cannot pass back to the people who invent stuff. Engineering doesn't respect marketing, and is living in its own Star Trek world where they invent ever more widgets they think are really cool and then fling them through the Barrier to Marketing to make of them what they can.

If you start instead at âoewhat do people really want and needâ and build that you don't need marketing much at all. People will beat down your door to get it once they know you have it. Make it your engineering goal to understand what people want and need at a basic human level, and focus on inventing stuff around enabling and empowering them to have that.

So what do people want and need? After air, food and shelter they want to connect with their fellow humans, to share and partake of sharing of each others' lives. This is why Facebook and Twitter are so huge. They want to relax and enjoy life, and enjoy songs and stories â" so, Netflix and Pandora. They want fame and recognition, so: Facebook and Twitter. Notice Facebook doesn't have a âoedislikeâ button? Know why that is? Because the fear of negative feedback would ruin the sharing experience by including the risk of rejection. They want love without fear. Give them that and they are yours.

User Journal

Journal Journal: Recent Travel 1

The family and I spent a couple weeks out and about. It was pretty fun - and a little stressful at a couple points. The stress parts were due to our ignorance mostly.

July 12th we drove from our home near Budapest down to Tetovo, Macedonia where we spent the night. Tetovo was a bigger place than I anticipated and I did not know it's inhabitants are mostly Albanian and Muslim. So when we rolled into town around 9 pm it was super busy as the sun had gone down and folks were out and about. It was a lot of fun. We had a light dinner and crashed as we were hitting the road again the next day.

Oh - when we crossed the border into Serbia they gave us a flyer encouraging us to drive safely. That's the first time I've seen that and I thought it was smart. I don't know if it helps but it seems worth making the effort.

We left Macedonia in the morning, on our way to meet friends in Tirana, Albania. All our driving to this point had been on good motorways. As we got closer to the Albanian border it switched. I was following the GPS and we'd never driven this way before. Our Garmin and my lack of familiarity with driving outside EU/Schengen were about to make the day interesting. The first wrinkle came as we were winding our way through the mountains - I looked at our track and realized we weren't doing what I'd seen when I'd previously looked over the route on google maps. We'd swung north when I thought we'd head south. I called my buddy in Tirana, but just as I started talking to him we rolled into the border crossing. So I got off the phone and told him I'd call him back once we were through into Albania.

The Macedonian border guard took our passports and car papers. He asked for our "green paper" and I said, "You have it there." I thought he meant our vehicle registration. What he actually meant was our insurance paperwork for the car. I had a paper proving I had paid for insurance but the not green paper showing what countries they covered. I had until this point never known we had or would need such a thing. (Being an American with little experience driving about here bites me in the butt on occasion. I'm learning slowly.) He said, "Well, we don't know what we are going to do with you. You should not have been allowed into Macedonia, you shouldn't have been driving around in our country without proper insurance." So it was a little tense for a while as we waited and a few men conferred. This guy was rather imposing and took some time to shout at some Albanians for a while who were coming into Macedonia. Finally he said, "We are just going to let you go. You are leaving, so you can't have problems here now. But this is a once in a lifetime, never again thing. When you get to the Albanian crossing they will make you buy insurance." We were just relieved to get going and we moved ahead to the Albanian side. They didn't ask or say anything about the insurance, so we were good.

Once I got through all that I called my friend back. He said, "You went the wrong way and you need to turn around and go back." I said, "I really don't want to try to go back into Macedonia. I feel fortunate to just have gotten out without any trouble." He said, "Well you are on a bad road and it is going to take you a lot longer."

He was right and it probably added 3 hours or so onto our trip to Tirana. The Garmin didn't have correct data to differentiate between different roads. What we were on was rough but it kept wanting me to turn onto stuff that was completely impassable in our Avensis. So we stopped occasionally to ask for directions. We stopped occasionally for sheep and cows too. The scenery was stunning. We were in the mountains and saw beautiful rivers, farms and lakes. It was just very, very slow.

We made it to Tirana and driving around in that city made me yearn for the country roads. It was an insane free for all of traffic. The city population has outgrown the infrastructure and it was like muscling yourself through a packed crowd in a club - but behind the wheel. Fortunately after meeting our friends and getting a quick lunch we were on our way down to Vlora.

Vlora is south, on the coast. Driving continued to be a bit crazy but when we got to our hotel the scenery was just breathtaking. We loved it. We were there a week, tutoring Albanian students in English. It was a blast. I'm a pretty reserved guy. My wife was thrilled when we learned to dance in traditional Albanian style and danced together for the first time since our wedding. (The first and only time I've ever danced prior to this trip.) The students were mostly university students from the area, with a few highschool students mixed in. They were a blast. When the young guys found out I worked in IT they would always ask me if I "hack". It was pretty funny. They weren't using it in the positive sense at all and I always laughed and told them I spend some amount of time working on not being hacked rather than trying to hack others.

The food was good, the music was good, the scenery was stunning and it was just a super pleasant time. I like the Albanians relaxed take on time. I never felt like I was in a rush. I also had a friend back in Hungary get the insurance papers I needed and he emailed me a copy of them and I printed that out.

When we were done, rather than going home the way we came we took a ferry from Vlora to Brindisi, Italy. We drove from Brindisi to Pompei. It was beautiful countryside and my first visit to Italy. It was amazing and I had to be careful to keep my eyes on the road. We spent the better part of a day touring the ruins of Pompeii. The next day we went to the top of Mount Vesuvius. We went right from there up to Florence. (We didn't have a lot of time before I needed to get back to work.) We didn't scratch the surface of Florence but walked around to a lot of the more popular sites, visited the DaVinci museum and the Academia museum. We were there two nights and then we drove back home. It's about 10 hours from Florence to where we live. How close things are in Europe still blows my mind, especially when I actually experience it.

I don't know if my kids really appreciate how fortunate they are to get to see and experience all of this. My son's favorite part of the whole trip was looking for cool rocks on Mount Vesuvius. I think he gets burned out pretty quickly on looking at old churches and statues. My wife and I though, we were just in awe for almost all the time we were gone.

We were in down town Budapest this last week-end. (Not many people out - maybe because it was crazy hot or maybe everyone was up at the Hungaroring track, either way it was fun to have so few tourists around on a summer day.) And I have to confess, having visited Florence has tempered some of my view of the city. Which bothers me a little. But Florence was just so crazy amazing. And I love Budapest but man. It gives me interesting stuff to think about anyway.

I'm back in my office. We wont go anywhere for a bit. In September I'll be back in Albania but that will be a short trip to train some people. And we have so many, many places we still need to see but a part of me just wants to go back to Italy and see all the other things we haven't seen yet. Though I think our next family trip will be to Germany. We still haven't visited my mother-in-law's home town there. My wife really wants to do that and so do I. And while I love the Mediterranean flare for life and food, I look forward to the German approach to driving.

User Journal

Journal Journal: Video Sadness

I was reading this front page story about a 3 monitor set up and I have to confess that it made me feel rather inadequate. I don't want three monitors - I just want two but it's a real pain. I got home and back in the office last week and ran updates on my fedora machine. I don't remember where things stood last I checked but as of that update - starting Firefox means my systems completely locks up and I have to force it to shut down with the power button. Chrome works - but if I close it after using it for a bit - same deal. The entire system locks up and nothing I do with keyboard or mouse has any effect. I have to power it down and start it up again. This is all with the Nvidia drivers. If I try to run the Nouveau drivers I can't get the system to boot at all - which is fine as they didn't work well before anyway. The proprietary drivers sort of work - with the exceptions noted above.

Oh - shut down/restart wont work from the launcher. Nothing happens. I have to open a terminal and shut down from the cli. Locking works but only to lock and unlock. Trying to switch users ends up with a non-responsive machine that must be hard powered down.

It got to me enough today that I thought about switching distros. Because I see a lot of people are using KDE and Nvidia and not having all these issues. But maybe it is my card and so it wouldn't matter. Plus I know Fedora best so I'm reluctant to change. I could go back to using the on board video and one screen but I really don't like working that way. Maybe I will have to do it though. I'll give that some serious consideration this week. A lot of what I do on the second screen is looking up documentation and what not - windows is good enough for that so my little travel laptop hooked up to the second monitor would suffice.

User Journal

Journal Journal: I Can't Leave Well Enough Alone 10

My desktop machine at work is now running Fedora 19. It just came out, I'm busy - what the heck is wrong with me?

So something about how stuff works regarding the nvidia drivers, the kernel and what not changed. So that saga continues. Getting both my monitors working was a real exercise in pain. I tried a lot of stuff before I ended up with it working and I went down so many different trails that I don't remember for sure how I got here so I'm not even help to anyone else. Stand out moments were that lots of paths that included just plugging in the card and both monitors led to lock ups at various points in the booting up or getting KDE going process. So while I don't remember specifics I can say that in general- I did the main install using the on board video (intel) and a single monitor. When I got that all working (mostly) then I put in the Nvidia card and hooked it up to a single monitor. Then I installed the nvidia drivers. All was fine (mostly) and it was hooking up that second that made everything go square shaped.

What fixed it? I don't freaking know. The order of how things went? What was hooked up first and then second? I really don't know. I just know now that the nvidia drivers are working and it is using both screens and they look rather nice. That's all I know.

Oh but get this -- I posted a lot about my struggles with Firefox. Well right at this moment Chrome crashes X and kicks me back to logging in. Firefox works fine - and google hangouts works fine with Firefox. What?! I don't know. I can't explain it. It just is what it is. Starting Chrome makes SELinux complain - maybe that's related. Maybe the Google folks will fix it at some point. They update Chrome pretty regularly. I like Fedora better anyway. And Opera works fine. Konqueror too of course. Oh man - there were some early attempts where Konqueror was all that worked and those were fun times.

I've got the new kscreen deal for setting up screens. And it's so much better than the old stuff but frankly I'm terrified to go anywhere near it right now. I'm sort of scared of messing stuff up. The nvidia x server settings program runs and that seems sufficient. I had fun earlier when using either of them locked up the system and it wouldn't take input from the keyboard. That went away do to some amazing, smart thing I did without knowing it.

It's not all that crazy different from my F18 setup. Oh - I've got MariaDB now instead of MySQL and they don't have the MySQL workbench (data modeling is still borked) in the repos any more. I can't say I'm totally on board with this decision. Now I've got to keep track of it and update it when appropriate. And I get that Oracle is the evil - but whatever. If I'd been running the world back in the when it would be PostgreSQL everywhere and I wouldn't even have to worry about this.

Here's a fun error message that apparently doesn't really matter - "A start job is running for Wait for Plymouth Boot Screen to Quit." Have fun parsing that puppy.

Slashdot Top Deals

Waste not, get your budget cut next year.

Working...