Follow Slashdot blog updates by subscribing to our blog RSS feed


Forgot your password?
Slashdot Deals: Deal of the Day - Pay What You Want for the Learn to Code Bundle, includes AngularJS, Python, HTML5, Ruby, and more. ×
User Journal

Journal Journal: The Moon is a Harsh Mistress while listening to Time by ELO 1

Don't know why - but I really like that combination.

I've gotten off my schedule of reading Starship Troopers and TMiaHM every year - but I did just reread The Moon is a Harsh Mistress last week-end. My wife was in Ukraine and I was kind of bored but not motivated enough to do something that took effort.

I've outgrown RAH's politics but I still love the story.

User Journal

Journal Journal: Magnet Links from Chrome in Plasma 5 3

For some reason magnet links that I clicked in Chrome were opening the Transmission client instead of Ktorrent. I remember doing something in the past related to this - though I think the issue then was that chrome didn't know how to handle them at all.

So I started digging and founds all kinds of people who had the issue, different solutions and most of it was pretty old. The lowdown - as far as I can tell is that chrome uses xdg-open and I'm pretty sure that is what I set.

I looked in /usr/share/applications for ktorrent.desktop and it wasn't there. I did a bunch more digging, followed some rabbit trails and then finally got smart. ktorrent.desktop was in /usr/share/applications/kde4 and I copied it a directory up. Then all acted as expected.

I think in the upgrade this got borked.

Plasma 5 is mostly pretty much working for me now. I'd have rather stayed on 4 longer but I guess it is o.k. I really just need a new machine. They keep making stuff take more resources and my little Acer just can't keep up.

User Journal

Journal Journal: F21 - F22 Today 6

Support for Fedora 21 is coming to an end and so I decided to upgrade to Fedora 22.

I don't run the default Fedora install, I use the KDE spin. I realize KDE isn't the primary desktop for Fedora, but until now it's been alright. I use Fedora for a lot of reasons but mostly because it is the distro I know. I know it because it is the first distro I used on a regular basis for more than just messing around. I did that because at my work we got a new server running RedHat.

I've really been putting off this update. It's the move from KDE Plasma 4 to 5.

It's taken me all day but I think I have it working. I'm scared to reboot and the next time I have to run an update will probably suck. I had so many stupid things happen today trying to get this to work. The kicker is my second display. Everything is fine if I use the built-in intel graphics or my Nvidia card with one display. But as soon as I added the second everything went to crap.

There were times I could only log into KDE as root. Then - and I'm not sure how - I got it fixed. I mean there is still some weird stuff happening but it seems to mostly work. Both monitors are on and displaying at the resolution I want.

Maybe I can hang in there long enough for this stuff to get smoothed over. I made it through the jump from 3 to 4.

The kicker is though - if I log into Gnome it works without any issues. It's just that I hate Gnome.

I don't use RHEL any more - maybe I need to jump over to Suse or something.

User Journal

Journal Journal: Teaching Python 4

Well, it looks like I'll be teaching one of my kids how to program.

To an extent, he's already familiar with some programming, as he's figured out how to program a TI calculator (not sure of the model, but it's in the 80s). Whether he understands the instructions he gives his calculator or not, I don't know. He'll know far more when I'm done. :)

I've decided to go with Python instead of any of several other languages available. One thing that I thought was important is that the base installation (in Linux and in Windows) has a module called "turtle". If you're old enough to remember learning Terrapin Logo or Karel (by way of Apple Pascal), then the idea behind turtle should not be foreign to you.

The idea is that you have a "turtle", a cursor that represents where all the action is going to happen. You give it instructions and depending on whether the pen is "up" or "down", it will draw as it goes. Tell it to move left, right, forward, or backward, and off it goes.

turtle is cool because its programs are really Python, whether the student realizes it or not. New functions (methods) can be created. What is drawn by the program is displayed with no hassle.

In all, it's pretty cool. I'm actually looking forward to playing around with it as I teach it to my son. Maybe one or both of the other two will become interested as well? Only one way to find out. :D

User Journal

Journal Journal: Your opinion matters... 3 me, at least.

Does anyone else have experience with ?

I was given an invitation to it. I've signed in and set up a couple things, but I haven't had much else to do with it so far.

I'm curious to see what others think of it. Your thoughts?

User Journal

Journal Journal: Pet Peeves of the Job Search

- Pushy recruiters with foreign accents so thick you can't understand what they are saying
- Who clearly have not read your resume and only found you on a keyword search
- Who cannot read a map and do not understand "I cannot relocate 500 miles for a temporary job, and in software, all jobs are temporary"

User Journal

Journal Journal: Knowledge Transfer Time 11

What is your favorite Data Modeling Software that interfaces with SQL Server?

It looks like Microsoft has dropped Visio for Enterprise Architects, which is what I used the last time I had to do a massive knowledge transfer of a data heavy application.

User Journal

Journal Journal: Back to coding, doing something I haven't done before 6

Does anybody know of a good Javascript, .NET, or HTML5 (or combination of the three) library for doing a user-customizable widget grid?

I've seen it done enough that this *should* be a readily available control, but I don't seem to be able to find one with my first three rounds of google searching, I'm probably calling it the wrong thing.

What I want is to be able to configure a user's home page on the website with their choice & order of several widgets.

Anybody know of a great tool for doing this? Worst case scenario is I roll my own with a three column table built up from a sub table off of the users.

Oh yeah, and mandatory technology for this project is SQL Server Database, Visual Studio .NET Webforms (yeah, after doing MVC the last 4 projects I'm thinking Yuck too with these code-behinds), intended for HTML5 browsers.

User Journal

Journal Journal: An Lá 1

Solas agus Ãilleacht duit, a mhuirnÃn, an là seo agus gach lÃ, cibé a bhfuil tÃ.

User Journal

Journal Journal: Back into Python 1

Okay... A couple weeks ago, I decided to take another look at Python-- the first such look I've given the language since around 1997.

So far, I have the basic stuff down. I've got a quick script down that provides functions to add ANSI colors to my output, so I have that going for me. :D

I have Python 2.x on a VM on my work system, but I'm using Python3 on my home system.

Now I need to look at learning classes and lambda (I know OF classes but I've only heard of lambda in passing), and that may take me a while.

User Journal

Journal Journal: When did I become an incompetent at TSQL? 32

What is wrong with this code? It's like I can have the inner loop execute, or the outer loop execute, but not both.

DECLARE @BatchMatch varchar(40)
Declare @mcount int
Declare @dcount int
Set @mcount=1
Set @dcount=1
While @mcount <13
        while @dcount<32
                Set @BatchMatch=Right('00'+Convert(varchar(2), @mcount),2) + Right('00' + Convert(varchar(2),@dcount),2)
                Print @BatchMatch
                Set @dcount=@dcount+1
        Set @mcount=@mcount +1

PS, no I don't care that all months don't have 31 days, but I must cover months that do.

Update- failed to reset the inner loop counter, that's what.

I have a theory that it's impossible to prove anything, but I can't prove it.