Software

Sage for Cygwin Please!

Finally off the subject of local politics for a little while. (This is a Tech Blog still.)

Netbooks have very limited resources. With a 10″ screen, the price of portability is performance and desktop space. Personally it is no big deal. I still have my Linux Machine back at home to fall back on…assuming that Firefox isn’t eating up the memory like the fat kid from Lord of the Flys.

Since I last used Cygwin, performance has improved significantly. Especially the console program mintty. I actually enjoy programming Python in Cygwin more than I do in IDLE. Many Open Source programs ported to Windows also use Python. The biggest flaw is that every program has it’s own version of Python that it uses for just that one program, which means on windows there could be a dozen places where Python or MinGW (MinGW is how you get C/C++ for Windows with no strings attached) is installed unnecessarily.

Since Python is used just about everywhere these days, and since Cygwin is the ideal Linux-like environment for Windows, I think programmers should consider borrowing resources from within the C:\cygwin directory just as Linux or Unix would.

Sage would DEFINITELY benefit from this, but the programmers of the open source math software have found difficulties with the .dlls that Cygwin uses, a problem that has always existed.

But using Cygwin instead of VirtualBox or Wubi is more ideal and still uses less resources than any virtual desktop.

Downloading Sage is also a pain! Instead of downloading a .tar.gz, or .zip, or some binary, you have to download a .metalink. Even downloading the source code requires an unnecessary piece of software.

The Sage project seems to suffer from Ubuntu Evangelism at this point.
It requires the need to download software you don’t need. It wants you to use a virtual desktop to run another operating system. And it seems to be a resource glutton.

The Sage programmers need to rethink how they distribute and run their software.

Tags: , , , , , , , , , ,

Friday, May 28th, 2010 Linux, Python, Software, Windows, mathematics No Comments

Droid Does Quite Well

Generally when I write my critiques, I have an unconventional way of writing them. I like to point out the faults and grevances first before pointing out the praise, features, and benefits. This way, when someone finishes reading the article they can think postively about the thing that I wrote about. This can work the opposite way if you list the postive first and the negative second.

I’ve had my Motorola Droid for nearly a week now. Though it is a good phone it is not without grevances.

First, there is the grevances with Verizon. The usage of mail in rebates is so last century. The fact that I have to pay an extra $100 to get that $100 back is BS. The concept of the rebate system seems to be on the idea that people are lazy and that they will not take the effort to photocopy a sales recept (easily done at the workplace, local library, Kinkos, or if you are lucky to have an open top printer/scanner). I certainly wasn’t going to go to Sam’s to pay $184 for a $199 phone that is worth paying an extra $8 for an insurance policy. It also would have been nice if Verizon would have created a printout of what the bill would look like. Though service will likely be near $100/month, there are a few things that can be done to reduce the cost of service. When I find out, I’ll be sure to write about it.

Next, their is the grevances with Motorola. I was suprised to here that the Droid was Motorola’s Hail Mary Pass in that hearing things like Motorola has been putting out some bad phones over the years. The Droid is a good phone….but Motorola wasn’t truthful in reporting the SAR rating of the phone. While Motorola told the FCC that it had an SAR rating of 0.89 W/kg (body) and 1.10 W/kg (head), the manual for the Droid has different values. Like 1.5 W/kg (body) and 1.49 W/kg (head). Of course, it is not like there is someone who keeps track of these things, right? On the other hand, I did disable the GPS on the phone, which probably explains why I don’t need to recharge the thing every four hours. GPS is a nice feature to work with mapping applications, but it can be a real battery drainer and privacy invader.

Which brings me to the final set of grevances that I have with Google. Google has played a big part in the Android Operating system development. It was kind of a let down that the applications I though Google had availble to use Google’s services weren’t there, or were so much better if used in the Internet browser than on the phone. Sure, you have Google Maps (which is good), Google Calendar (also good), and Gmail (which could use an upgrade), but Google does not have any applications for Tasks, Notes, or Docs. These applications are available for iPhone from Google, but Android users, no matter which phone you are using, will need to go to the Internet for that.

Seeing as how the Android operating system now brings Google applications to a mobile device, one can’t help but wonder if the guy at Google who decided to discontinue Google Notebook isn’t kicking himself right now. Notebook would have been a great app for Android, and the fact that it was discontinued is a foolish mistake. It would be like Microsoft removing Notepad because you have Word. Hopefully, someone will reinstate this service so that moble users can jot down notes.

The Android Market deserves both praise and criticism.

If anyone is not aware of the Anonymous hacker group, you should probably know that these guys mean business even in their quirky unorthodox ways. Anonymous is fickle. To either laud or jeer them would be hazardous to one’s online reputation. However, I find their motives of dealing soundboards in the Android Market (under the guise of “Onymous Heroes”) to be conspicuous. While it is great that the Android has many free appications to try out (although It would be nice to see a few more from Google and the Android group), the fact that one of the most stand-alone-complex group might not be so obvious to many users is a little concerning but at the same time a reminder that not everyone is creating programs in the Market (or App Store for that matter) with good intentions. That is, other groups (not like Anonymous) could have their own applications on the market to do some bad things. It is sort of like a reminder by them to say “hey watch your back” or taking advice from a theif on how to better safeguard your home from intrusion. On the other hand, the fact that no one is really keeping an eye on the Market to weed out programs that can be potential secuirty threats should make Android users wary of who the download their software from.

Reguardless, I do have plans on writing many reviews in the future about Android Apps. I would also like to develop some of them. I probably should put more effort into writing things in Java, to which that is what brings me to the upside of this review.

The Android operating system is Linux based, but many of the programs are written in Java. Perhaps I had alot of bad experiences with Java (as I don’t even use Java when browsing the Internet as the processes will keep on running), but the performance of Java on the Android is remarkable! Back when I had a Motorola RAZR, Java was unplesant. Palm couldn’t use Java work a dan on the Treo. But Android, has pretty much saved Java from being just another legacy language. Android doesn’t use the Java 2 SE or ME standards, which probably explains why Android programs are so fluid.

As stated earlier, the security flaws of the Android operating system is not with the operating sysetem itself, but with programs from some shady individuals selling their wares on the Market. However, there are gems among the junk. Where Palm Treo didn’t have the random number generation to develop a proper encryption key to run things like SSH and IRC (or battery life), the Android operating system does. Security is also one of the main goals of the Android operating system. If anything bad happens to the phone because of a program, Google will know about it. So basically, security is very good on the phone.

The Droid has a beautiful and sharp 16:9 screen. Despite the criticism by many critics about the camera, I think they seem to forget that the camera has two flashes on it. And why is everyone complaining about the 5 megapixel camera? Sure, you have to hold down the picture button to take a photo, but 5 megapixels is a sharp good of not great quality camera. (Perhaps my review of digital cameras is short sighted, then again, I don’t exactly have $700 at the moment to go out and buy the latest Nikon camera on the market. So in my opinion, 5 MP is good.)

Another thing the critics have been ripping on is the audio. Perhaps it is the foolish assumption that because a phone has a speakerphone on it that it can be used as a radio. Well…yes and no. Like just about all other smartphones, you will need to use headphones or an audio adaptor that plugs into your car stereo or home audio equipment. With a 3.5mm headphone jack, any set of headphones can be plugged into the Droid. The iPhone, much like my previous phone which was a Palm Treo, does not have a 3.5mm headphone jack. Instead, iPhone users need to use an adaptor, which in my previous experience of using audio adaptors for headphones, is an unplesant experience as it makes listening to music impossible afte a while. The Droid, like its competitor the Palm Pre, has a 3.5mm jack as opposed with the G1 that has no jack (USB audio only has one purpose: SKYPE!).

Droid does streaming audio much like the iPhone. If there is one Application I can recommend right now, it is imeem Moble. Streaming audio has evolved over the years. Just remember when you do streaming audido, do it where you can get WiFi. Otherwise, don’t forget to bring your music collection with you. (Remember: “unlimited” on the 3G network, no matter which telecom you use, means 5GB.)

So to call the iPhone better because “it has 100,000 apps” and that “it is more popular” is clearly a sign that the critics are not interested in what is new or what is better, just what is cool. Remember that next time when you try to listen to music on your iPhone but can’t because your headphones sound awful because you need to use an adaptor. Remember that when you can’t swap batteries, run multiple applications, take night shots with the camera, or make a phonecall without having to deal with the Jack-In-The-Box-speaker-quality sound.

The Droid Does but Android still needs development.

Tags: , , , ,

Mobo battery is fine.

That error I was talking about earilier this month about the clock battery on the motherboard was probably nothing. I haven’t had that problem recently. More than likely, the computer’s hardware was trying to adjust to the new hardware that was installed. I wouldn’t be surprised to see it again in the near future when a new power supply unit is installed.

Everything seems to be software conflicts at this point. More than likely the guys who write the updates for the software drivers fell asleep at work and now are running behind the kernel software developers.

So as a quick reminder, it is probably not such a good idea to install any kernel updates untill the graphics card updates become available. Then again, this is stuff happening on my computer. Your milage may vary.

It’s no big deal. In fact, I really like getting new software upgrades every week or every other week.

I think there are about 89 updates this afternoon. Most of them KDE and Python. I’ve been using GNOME for quite some time as I could never get use to the new do-dads that KDE added–which Microsoft ripped off for Vista. (Serves them right.)

I mean, there is alot about KDE that has been around long before Vista was released…possibly before they became popular on Apple’s OSX too. But as dynamic as these things are in KDE–and as clunky as they are in Vista–they are too damn big! Icons are very large. Taskbars are obnoxious. Even though I have a 17″ screen, there is no need to suck up so much space.

And as brand news as my graphics card is and as much as I really would like to put the pedal to the metal, these thing take up way too many resources than they should. It’s like how even when I use a computer with Microsoft XP (which is still better than Vista), the first thing I do is go to the control panel and switch everything from that Fischer-Price looking GUI to the simple “Windows 98″ looking GUI.

One thing I hate about many GUIs is that they try to impose the GUI into other programs. You see this with buttons and scroll bars. It completely ruins your intent to have a dark-colored GUI interface when you customize it. Right now, GNOME has issues with the scroll bars. I set the scroll bars to be one style but every time I open a new program or start up the computer, it reverts it to the default ones.

As much as I prefer using GNOME GTK-based applications over KDE’s Qtk-based applications there are still many features that KDE still has that are irresistable.

Speech recognition, athough ideal for acceabiltiy features, looks very promising on KDE. I wanted to give orca a spin using GNOME, but nothing seemed to work. I really would like some help configuring sound input featurs so that I can still enjoy listening to music and record sounds for my own music and voice. KDE’s simon looks capable of doing that, though I’d like to see how it would handle speech-to-text.

STT/TTS (speech-to-text/text-to-speech) technology should be implemented on small cellular devices, especially since not everyone has tiny hands to type on those tiny keyboards (which are good) or on screen keyboads (which are mediocre).

"But I have these tiny hands."

"But I have these tiny hands."


Then there are people like myself who have square thumbs, which makes it very difficult for me to use the on-screen keyboards unless I use a stylus (an accessory that does not come with any of the new cell phones it seems).

I really want to embrace some new technology. (Preferibly anything that has NOT been endorsed by U2.) But it helps to have a good interface when you use it.

Tags: , , , , , ,

Thursday, August 27th, 2009 Follow up, Linux, Software, computers, hardware No Comments

Chinese Censorship Built Into Global Computer Components

Many people are familar with the V-Chip, a computer chip that censors content on TV as a form of “Parental Control”.

Thanks to the export of American industry to China (you too, GM. You get a golf clap!), China now has control over the manurfacturing of most of the globe’s computer hardware.

Imagine if you bough an American Car with Chinese made components. (For many people, this is reality, especially with all the electronics and on-board computer components.) Imagine that this car would not start because you spoke out against the government or the Chinese Government in particular.

This seems to be the strategy with Chinese-made computers. Even if we assembled the parts back in America, the big problem still remains: The Parts are made in China and they are loaded with software that permits the Chinese Government to break into your computer and wipe out any dissent. The computer industry calls it Trusted Computing. And China clearly has decided NOT TO TRUST YOU!

Of course the same execuse for installing the software always seems to be “we want to protect our children from pornography” (which is impossible as one way or another they will find it). The main goal is to protect people from “political pornography” or as we call it here in America DEMOCRACY!

The very though of an opposing party keeps the status quo up at night. Hence Dick Cheney’s fear of everything Obama. During the election last year, their was alot of the “kitchen sink” strategy. Only the Chinese don’t care about whose a Democrat or whose a Republican. Their concern is whose been buying books on American history on Amazon.com by American Authors for their Chinese students to read.

Meanwhile, the EFF has been no stranger to Mr. Cheney, or former Senator John Ashcroft (R-MO), foot-in-mouth problems that attempt to make dissent into a form of terrorism. (Isn’t this what Iran, North Korea, and even China do in the first place? Why be like them or sink to their level? Honesty?)

It’s because of fools like him, the military was privatized and bough contracts for defect products that hurt and even killed soliders both in and outside of combat. The same philosophy now has our military intelegence in a bind. Maybe not with showerheads being near electrical sockets like KBR and Haliburton, but with computer hardware and software the Pentagon and the White House use being the same stuff you buy at Best Buy. Even the Kremlin as well as any other superpower has on their desk, the same technology that Joe Sixpack has. Then they wonder why the Chinese break into their “high security” computers. I’ve mentioned this problem before. We can’t have military intellegence stored on computers if the computers aren’t made in the same country the military intellegence is suppost to be stored on especially if their security strenght is equal to that of an Apple iPod.

Not to mix anymore politics into this blog entry, the EFF is not happy with China’s decision at all to load this free software. (Can’t I buy a hard drive with NO software on it? Not even the operating system?)

The only solution is to make computer COMPONENTS back in America. But because today’s industrialists are too stubborn to hire American workers, comply with laws involving workplace safety, environmental standards, and especially union and labor practices, most of our blue collar jobs are in Asia and most of our white collar jobs are going to Asia too.

Of course, it doesn’t help anyone outside of China to resolve this problem unless we are taugh how to defend ourselves from manufactured consent or how to make things here instead of over there.

Consumerism has it’s price, and in the near future, China seeks to show it to us.

Tags: , , ,

Pixlr: The Photoshop Killr

The first time I bought a copy of Adobe Photoshop it was Adobe Photoshop Elements. Even at student software pricing, this piece of software I bought in 2003 set me back about $100 and by 2004 became of no use to me especially after purchasing Ulead GIF Animator (which by 2004 also became of no use to me). By 2006, I was enfachuated with the GIMP (GNU Image Manipulation Editor). For a breif instance, I also liked OpenOffice.org Draw until it was recoded, then recoded again, then recoded again. (Why screw with something that was fine to begin with?!)

So now, all my raster work is done with the GIMP, and all my vectoring done using Inkscape (though at times I sometimes fall back to regular code by hand, which for Scalable Vector Graphics is a must know.)
I want to get into Blender, POV-Ray and BRL-CAD, but they don’t have the simple interface that AutoCAD has where you can either use mouse commands or command-line. On top of that, I don’t really have the skills of a full fledge graphics designer, nor should I need those skills to express my ideas. Pad and paper can only go so far though. Blender’s Python interface got me hooked on Python which as it turns out Python also supports OpenGL to a certain degree.

While none of these compare to the simplicity of ClarisWorks Draw program from back in the 1990s that I used during my teen years, the GIMP and Inkscape have become the de facto open source graphics programs. Though I would like to see Blender become more intuitive with people who aren’t graphics desingers.

But I’m not hear to blog about that today. Today’s blog is about Pixlr. The only downside with Pixlr is that it is in Flash. Where as we’ve seen Writely (now Google Docs) become popular and set of a trend of SaaS (Software as a Service) programs back in 2007. Most liked are the Google Calendar which I wish was around years earlier when at the time I was fiddling around with XHTML div elements. Clearly with software like WordPress, much of the coding has been taken care of.

Pixlr’s design is very much like Adobe Photoshop. It has a desktop. It has a task bar. It has menu bars and tool bars and modules that tell you the history of your actions as well as other information. What it lacks is a ruler and guildlines. These are probably things on the Pixlr developer todo list. But most importantly, what should be on there list is to develop a program like this without Flash. Otherwise, the next thing they’ll make is a version of Flash MX inside a Flash program.

Despite these drawbacks, there is a bright future for Pixlr up until the Adobe folks move in with either a lawsuit or plans to purchase the company.

If Pixlr wants to survive, it should develop itself to be different from Adobe…BETTER THAN ADOBE!

Photoshop, to my knowledge, still does not have GIF animation features. The GIMP does, but the GIMP does have layer grouping like Adobe. And there still is no Flash-MX-like program for Linux, though SaaS could change that.

Another set of online multimedia tools include Hobnox’s Noxtools which include Audiotool (create electronic music) and Livetool (video editing). Again, these a Flash-based SaaS programs.

But Mozilla is warning that Adobe (and rival Microsoft) have hidden agendas with Flash and Silverlight. Clearly Silverlight is a gaudy attempt by Microsoft to take a stab at Flash’s 98% share of the market. (Where’d Java Go? Oh! That’s right. No body uses Java anymore except for cellphones and businesses. Sorry, SUN. But Oracle isn’t going to save you.)

The concept of moving away from Flash and Silverlight has been on the table. Dailymotion recently mentioned adding features in HTML5 that allow for video playback without Flash. The W3C is considering such features in HTML5.

But the future is still slow to develop at this time. But hopefully it will be the future soon.

Tags: , , , , , , , , , , , , , , , , , ,

Friday, June 5th, 2009 Software, audio, critique, graphics, music No Comments

Oracle takeover of Sun: Good for Oracle’s Investors, Bad for MySQL’s Users

In what can be compared to as the Anheuser-Busch/InBev merger of the technology industry, Oracle bought Sun Microsystems today.

The goal of this merger is being promoted as a way to save Sun Microsystems, when what it really is is a way to kill MySQL.

Oracle had made offers in the past to purchase MySQL AB in the past and were susequently rejected.

But the people on Wall Street are oblivious to the things that go on in Silicon Valley that effect everyone around the world. So much so that just about every artcle the AP publishes about Oracle and Sun Microsystems never mentions MySQL. Ronald Bradford also notices that there is no talk about MySQL in Sun’s merger announcement.

For them to say that consumers would not be affected by the merger would be lying as a majority of open source projects such as MediaWiki (the software that powers Wikipedia) and WordPress (the software tha powers this blog) and social networking websites such as Facebook and Twitter use MySQL as their database.

Having Oracle come in and increase Total Cost of Ownership (TCO) by 20% by replacing MySQL’s GPL license with Oracles Proietary License should make any adminstrator cringe in fear right now.

OpenOffice.org and Java Users should also be on notice. Oracle loves to add bloatware–which mean your get to install alot of stuff that you will never use but loves to take up space on your computer. This was one of the many turn offs I had about Oracle in 2003 where I had no clue as to what most of the unnecessary stuff does.

Most of it a buch of business/accounting acronyms, which for any computer geek that uses their own set of acronyms is written in Greek for the most part. The only major ones worth knowing are TCO (Total Cost of Ownership), ROI (Return on Investment), and DBA (Database Adminstrator). The rest of their alphabet soup of acronyms that have no merit to a computer programmer (in the same way the acronyms of a computer programmer have no merit for the average computer user) mean nothing! They’re just there to sound important.

I’m not an accounted or stock broker! Unless it invovles trying to use pointers or references, I could care less about “Business Layers” and “Business Logic”. Just tell me what you want the dang program to do! Spare me the Jim Cramer crap! Put it in Leo Laporte terms!

I think that is what is wrong with many businesses. They only think about the guys in the board room making the most money not the people in the cubicals, assembly lines, or sweat shops who write the programs and make the products that make them all that money.

This merger will have a profound negative affect on the open source community and to programmers who use MySQL instead of Oracle.

However, Mark Atwood at MySQL, and working on Drizzle (a fork of MySQL) says everything will be OK for now.

Let’s hope so.

Monday, April 20th, 2009 Business, C++, MySQL, PHP, Python, Software, drizzle, economy, java, news No Comments

The Free Software List is Back!

Created in 2006, I decided to make a list of free, open source software. Originally, it was a list of software that could be stored on a thumbdrive or accessed using an SSH connection. But some of the software became a little more complex and setting would be forgotten or left on computers that didn’t belong to the user. (Something I did not want to happen.)

Personally, the best software is the software that relies on a command line interface rather than a graphical user interface. Their appearances may seem more primative, but their utility more than makes up for it.

The list of free software (not to be confused with freeware) provided by the Free Software Foundation is a large directory of software projects, some of which has been abandoned.

A misconception of free software is that it is gratis (without cost). The “free” in free software implies liberty or freedom. Though it is free to download, if you frequenty use the software, why not chip it and help develop the software or donate a couple of bucks.

The list that I developed is more concise. Rather than browsing through a long directory, especially if you are new to the Free Software movement, this list provides links to software that you will more that likely enjoy or find quite useful.

The list is still being rewritten, but it will include a list of software development tools. The popular language in many open source projects right now is Python, an object-oriented scripting lanugage.

Because the list doesn’t look as good as it did in 2006 using the Darklight WordPress theme, I am thinking of switching themes again.

Wednesday, March 4th, 2009 C++, Free Software List, Linux, Python, Software No Comments

Getting back to what matters

After that previous blog entry, I think it is time to talk about more pressing matters.

Specifically, projects and tutorials.

For the past couple of months, I have been struggling to get a decent Vim tutorial off the ground. The question of weather I should write it as a page in WordPress, or a text file, or an HTML file has been tricky.

I dislike the Vim Tutor that comes with Vim. Vim is a great text editor, but no one bothers to talk about what features should be enabled to prove itself or write in such a way that people who use Windows, and have suffered using Notepad or Visual Studio can return to the roots of good programming, and that is a good text editor.

Vim has features that are very useful. Though the interface is primitive, the commands are phenomenal.

Features such as automatic word completion, language dictionaries, undo and redo, and popup dialogs are nothing new for IDE users, but to have a text editor do these tasks is probably one of the many best kept secrets of programming.

Best of all, the total cost of operations and training is minimal. Vim becomes very easy to use once you understand the basic commands and even easier to use when you know what features to enable.

Over the course of the next few weeks, I would like to discuss what I find. Perhaps then I will be able to collect my thoughts to completely write a tutorial for Vim.

Another thing I would like to do is find a way to use Vim to explain the programming features of various languages better. Suppose you are writing a C++ program and have some difficulty understanding the concept of references and pointers. Perhaps a dialog or a quick help feature will help remind the user on how to use such constructs.

Another tutorial that I would like to complete is one for Tcl. There is already a Tcl tutorial available online, but the examples are in small repetitive chunks.

On top of that, there is a Tk tutorial also online, but it adds alot of talk about how to do Tk using Python, Perl, and Ruby. To be quite honest, Python is probably the way to go when developing Tk interfaces considering all the verbose modules that Perl has accumulated over the years.

Python, despite its simpicities is an ideal programming lanugage for writing interfaces. While great programs are written in C and C++, Python is great if you are writing a program and someone else comes in to work on a project. They don’t have to decipher all the code you wrote or that someone else wrote and that you now have to use.

While Windows is the still the most used operating system, I would be wrong if I didn’t state that I am partial to Linux. Unix is also good, but Linux ideal for program development. The tools are provided for writing a program with just about every Linux distribtion, where as Windows requires that you find them or make the bigger mistake of purchasing some expensive software suite. Programming in C, C++, Tcl, Tk, and Python seems more natural in a Linux environment.

In the future, there will be many articles about programming. I hope that readers can participate in this blog to provide feedback.

Wednesday, March 4th, 2009 C++, Linux, Programming, Projects, Python, Software, Tcl, Tutorials, Vim No Comments
September 2010
M T W T F S S
« Jul    
 12345
6789101112
13141516171819
20212223242526
27282930