I've been working on a little side project. I would like to have an app where people can read updates that I send out. It seemed like a fun way to learn more about programming mobile apps and it's something I could actually use if I can get it to a decent state.
I'm keeping it simple. I decided the app would just be an rss feed reader. And that meant I need a feed. I want it to be very specific to my app so I decided the way to go would be to just create my own back end for creating the feed. I decided to use php and I wrote a simple set up using the codeigniter framework. That gave me a quick way to set up authorization and it was easy to tie in styling from bootstrap so that things can look decent without any effort.
I've been doing all the work at my office, on my desktop running Fedora. I have two nice big lcd monitors and developing on Linux is just so easy. I had the environment up and running in no time.
Then this week my son got sick. Nothing serious - but enough for him to stay home from school for a few days. I worked from home to keep an eye on him. I've been putting off getting my Macbook set up to do this kind of stuff but now I really needed to tackle it. Ugh - what a pain. The machine itself has grown on me. The hardware is decent and works pretty well. The software isn't horrible. But oh my word - when I want to do anything 'out of the ordinary' and by that I mean any kind of meaningful work with the system, it is pretty bad. I know lots of professional developers use Macs but I'm stunned at what a pain it is to do things that are trivially easy in Linux.
Getting Mysql installed and running with Apache was a lot more work. Getting PHP working the way I want took more time than it ever has before. Things are far from ideal even now, but I've got it to a point where it works.
And now I have my code in 3 places. So I'll be using github to keep code in sync between them. It's a little more of a challenge because I have the production environment set up a little differently than the dev environment. But not so differently that it is a huge deal. I have ssh access to my hosting environment (Bluehost) so that makes it pretty easy. - Oh and that is the one thing that saves the mac - having bash. If it didn't I'd have given up on it long ago.
I got a thing from the IRS and they want me to fill out an on-line form.
To successfully complete the form I have to enter my filing address and it has to match my return. The form fields don't allow me to correctly enter the address.
So the address has to match for the form to validate, but the form wont allow me to enter the address correctly. It's beautiful. There's an email address to send information about the process and it says below the address that you can send an email but they wont respond. Super.
So I go to the page with a phone number to call. It says "You can call between 7 am and 7 pm your local time." I'd wager not.
I've never had a problem with the IRS or filing until this year. Something has put me onto some list with them, which they wont tell me about other than in a general way and now everything is exponentially more difficult. Fantastic.
The video editor built into youtube is surprisingly decent. It lets you cut videos up, add transitions, add photos, add text, put in music, all kinds of stuff.
With it running on their side I was able to edit up a bunch of separate videos, and then leave them processing while I did other stuff. It made it possible to do a lot of videos in parallel and not have my machine bogged down with it. Not bad.
It's not the greatest but for simple stuff that you just want to get up - it is pretty awesome. And it's really easy to get authenticated (or authorized or whatever) to load longer content than the default. I've been putting up stuff that is over an hour long without any problems.
We did our first home delivery from Tesco yesterday. My wife ordered on-line and they brought our stuff inside the window we were given for the delivery. The fee for delivery was 299 HUF which is about $1.10 right now.
It was a pretty awesome deal. The guy brought everything right in. There was a slight mix up - but that's because when people use GPS to come to our house it always takes them to my neighbor a little down the street. I don't know how it works in other parts of Europe, but in Hungary they seem to change the numbering of streets at a higher frequency than the U.S. So my house number is 6 but that use to be my neighbor Zsolt's house number and a lot of systems still think it is.
So the guy called me and after a moment or two of me fumbling around for the right Hungarian words, I realized he was 'here' and went outside to bring him in. A few minutes later we'd checked everything over, paid and we were all set. With gas going for around 400 HUF a liter, I doubt we could drive to the store and get it for less than we paid to have it delivered. On top of that the whole thing took maybe 10 minutes at most. If I go get it all myself I'm gone for over an hour. So we'll be using it again.
I got a message that the OTA update to Lollipop was available for my Nexus 7 so I installed it.
It made the tablet unusable. Performance was atrocious, battery life could dropped to a couple hours. It couldn't play music. Doing anything took so long (if it worked at all) that it was really not worth it.
I googled around. One suggestion was to clear the cache. I tried to do that but when I tried to boot into recovery that always failed with an error about "No command found."
So finally I just flashed it back to Kit Kat.
I'm wrapping that up now. Google backup is reinstalling my apps and such. Hopefully things will improve. I know it's 3 years old but I really like it and I don't think it's too much to ask for it to still run well.
My son updated his too (he has the 2013 model) and he's been complaining. So this was a good run through if he wants me to do the same for his. I don't think the impact on his was as bad. He may just not like how lollipop looks. I'll talk to him about it this week-end and see what he wants to do.
To get the most out of ffmpeg on Fedora - as far as I can tell - it needs to be compiled, not installed from a package manager. This is the only way I could find to get it with libfdk_aac support. I tried other stuff and then just went ahead and followed the very thorough guide on installing from source, right here: https://trac.ffmpeg.org/wiki/CompilationGuide/Centos
Though there was one thing I needed that they didn't have in the dependencies - libtool. That was quickly rectified. So if you do this - might as well add that on the front end. I noticed the need when there was an error with autoconf for one of the parts.
I use my Fedora desktop to work on development of all kinds. I love that with a Linux machine I can have a machine that matches my production environment very nicely and all the tools I want are there and work pretty well together.
I appreciate SELinux since it is there to keep me safe.
But sometimes - it is a frigging pain. I'm messing about with Yii, a PHP framework and I kept running into problems with permissions. At first I thought it was regular permissions but quickly realized that wasn't it and google pointed me to SELinux. Apache can't write to stuff in
I did lots of reading. I found one way to fix it, though that way quit working after I had to log out to get a change to a group setting to go into effect. And I read a lot more and it was hard to understand it all, confusing and finally I setenforce=0 and got to work.
I realize that this is a bad habit and I shouldn't do it - but I just need to finish stuff. I'd like a nice way to manage this. Any of you may feel free to make that happen.
I am in the office today. I'm pretty sure I'm the only person in the building. So today I'm doing something I almost never do - I'm listening to music via my speakers rather than using my headphones.
When I kicked off Amarok I went to switch the audio from the headphones to the speakers and realized I hadn't installed pavucontrol. I pulled it up in apper and saw that it was a gtk program. Not a big deal in itself. I have other gtk stuff already installed. But it just made me think - KDE must have a way to do this itself. That got me looking at Kmix but I couldn't find anything that would let me switch the audio from one device to another. So I installed pavucontrol, started listening to my musics and thought, this is a situation that should be fixed.
It seems like if this were going to happen in KDE it should happen with Kmix. So I looked up the project and got ready to email the maintainer. Then I thought, "There must be a place to put feature requests." I ended up at the KDE bug database and that is when I decided to search and see if this was already something in work. Searching the database was a little tricky - but I did end up seeing a bug report for kmix crashing when a stream was moved to a different device.
So I went back to Kmix. Right clicking on a stream brings up a menu that includes "Move" and there it was. I'm glad it already does what I want. I just wish it was easier to know. The Kmix handbook doesn't mention it and opening the Mixer it still works the same way - there's no menu that does the same thing without right clicking on a stream. I have this fear of a future where I just go right clicking all over the ui of everything I use, looking for stuff I need.
I love KDE and appreciate all the work that goes into it. Shoot - maybe this is a chance for me to contribute something. This is the kind of easy thing I could probably figure out. Anyway this is a note to myself for when I forget later. Plus it might help someone else.
On an unrelated note - when I hear Lorde's Royals - I can't help but hear the Weird Al version. He really nailed that one.
I run a Vbox instance of Fedora on my mac. It was Fedora 20 but I used Fedup to upgrade it to Fedora 21.
When I did that and updated everything I ran into a problem where guest additions wasn't working. And I don't know about other situations but in this one when Guest Additions isn't working then the VM is pretty much unusable. So I was digging around trying to figure it out. The install would run and complain about not being able to find the kernel headers but they were installed. Along with all other necessary packages.
I found a note where someone realized that using a debug kernel was there issue. I'd seen that listed as a kernel option when I'd booted - I'd never noticed it before but I didn't really think about it. So when I rebooted I just chose the kernel that didn't list -debug and then everything worked. I'm not sure just what's going on and I need to look into getting it so that the right kernel is automatically chosen every time, rather than my having to manually choose it. But at least it works now.
Having to carefully unselect crap I don't want installed on every Java update? Slimy
Rechecking the "stay logged in" button on facebook for me? Slimy
There's so much slimy stuff. Found a new one today. That Win 7 VM I mentioned, it wanted me to upgrade IE. Which I want to do - no problem. As I'm about to hit the Download button I see a small line further down "Download non-enhanced version." My gut tells me I don't want enhanced - do a quick google and I'm right. Non-enhanced means just the browser. Enhanced means that I'm selecting bing and some MSN junk. It used to be a check box and you had to unclick it. Apparently too many people did.
EDIT: I cleaned up restore points and that got the space used down to 27.4 GB - still crazy.
I have a Fedora 20 vm that I run in VirtualBox on my Mac. It gives me access to some tools I like, and it lets me run a web server that's closer to what a production environment would look like.
Yesterday I got around to setting up another VM. This one is Windows 7. I started the same as I did the Fedora image, with a 25 GB hard drive. That was fine for the windows install but I thought I'd check out the new community edition of Visual Studio. When I went to install it, it told me I didn't have enough free disk space. So I made the "hard drive" bigger - I bumped it up to 30 GB. The install worked then, but I have under 600 MB of free space on the drive. I have only installed Chrome and VS. That's it. WIndows 7, Chrome and VS are 30 GB. I've installed a bunch of stuff on my Fedora VM - Apache, MySQL, KDevelop, QT and the QT tools and so on. Lots of stuff and it is sitting at 18 GB right now.
Fortunately it's easy to give the Windows VM more space - it just surprised me I'd need so much.
Repel them. Repel them. Induce them to relinquish the spheroid. - Indiana University fans' chant for their perennially bad football team