Newer posts are loading.
You are at the newest post.
Click here to check if anything new just came in.

March 10 2010

kaleb
01:33

T-Mobile G1 Android System Update

I just noticed tonight that my phone, a T-Mobile G1, wanted to perform a system update. This got me excited. I've been wanting Android 2.1 or even 2.0 for a while, even though I knew it was not going to be a possibility. The recent Android builds are just simply too big for the G1's internal memory.

It turns out that it was just a minor update after all. T-Mobile just wanted to fix some radio issues. All this update does is decrease drops and increase clarity. I should be happy that I got silver even though I really wanted gold.

SOURCE: http://www.androidspin.com/2010/03/07/unofficial-radio-update-for-g1mt3g/

March 09 2010

kaleb
03:45

Reduction ad Palindromo

My Programming Languages professor assigned the following as an assignment today:
It is claimed that all numbers, when reversed and added to their
reversal repeatedly, will eventually become palindromes.   Write a
program that allows a user to enter a number and then displays the
series of efforts to find its palindrome.  If the statement turns out
to be false, stop iteration of your program after some number of tries
to find the palindrome.
The following is my solution:

#!/usr/bin/python

def partition(obj):
    """Return a triple of the first half, middle (if it exists), and last half
    of an iterable object.
    """
    ctr, odd = divmod(len(obj), 2)
    fwd = obj[:ctr]
    if odd:
        mid = obj[ctr]
        aft = obj[ctr+1:]
    else:
        mid = None
        aft = obj[ctr:]
    return (fwd,mid,aft)

def palindromic(obj):
    """Return the palindromicity of an object."""
    if type(obj) == type(list()) or type(obj) == type(tuple()):
        pass
    else:
        obj = list(str(obj))
    front,mid,rear = partition(obj)
    return front == rear[::-1]


def reductio_ad_palindromo(num):
    """If a number is not palindromic, sum it and its reverse. Repeat until a
    a palindrome is found. Return a list of all attempts.
    """
    num = int(num)   # Make sure its an int.
    iterations = []
    def pal(n):
        iterations.append(n)
        if not palindromic(int(n)):
            pal(n + int(str(n)[::-1]))
    pal(num)
    return iterations

if __name__ == "__main__":
    """Since this most likely will be ran from `bash`, return the array in the
    form of a space delimited `bash` array."""

    from sys import argv

    print " ".join([str(i) for i in reductio_ad_palindromo(argv[1])])

I am not sure what she means by this antecedent, "if the statement turns out to be false," but Python's got the antecedent covered. Python will stop a recursion automatically after 1000 loops, that is unless it is told otherwise.
Tags: Python

March 08 2010

kaleb
11:18
http://www.youtube.com/user/shedskateboards?feature=autoshare
Subscribed to shedskateboards
I subscribed to shedskateboards’s channel on YouTube.
kaleb
02:34
http://www.youtube.com/user/hgoodman9?feature=autoshare
Subscribed to hgoodman9
I subscribed to hgoodman9’s channel on YouTube.
kaleb
02:33
http://www.youtube.com/user/rajdaggubati?feature=autoshare
Subscribed to rajdaggubati
I subscribed to rajdaggubati’s channel on YouTube.
kaleb
02:27
http://www.youtube.com/user/sweetestpea3?feature=autoshare
Subscribed to sweetestpea3
I subscribed to sweetestpea3’s channel on YouTube.
kaleb
02:26
http://www.youtube.com/user/mbrich422?feature=autoshare
Subscribed to mbrich422
I subscribed to mbrich422’s channel on YouTube.
kaleb
01:34

Accessing Apple Time Capsule From GNU/Linux

Access to content on an Apple Time Capsule under the GNOME Desktop Environment is easy. From the GNOME Panel's main menu bar, navigate to Places > Network. From here, users instantaneously have access to all the content on the Time Capsule and any attached storage devices as long as long as Samba is properly up and running. There is one caveat, however: there is no write access by default.

If one wants to have write access and has already connected to the share with Nautilus, unmount or "eject" it. Then, run sudo mount.cifs //10.0.1.1/"My Book" /mnt/tc -o pass=$tr0ngP@55w0rd from the command-line, where 10.0.1.1 is the IP address of the Time Capsule, My Book is the name of a drive connected to the Time Capsule, /mnt/tc is an empty directory designated for use as the mount point, and $tr0ngP@55w0rd is the Time Capsule base station password. If all goes well, a connection to the drive should be established with both read and write access. This is all fine and dandy if one wants temporary access to the Time Capsule, but for a more permanent mount, one must edit fstab.

The fstab configuration file sets mount points for the system at boot time and is located at /etc/fstab. To set a longer lasting mount point for the Time Capsule, open fstab using a text editor and append the following line:
//10.0.1.1/My\040Book/Share /mnt/tc cifs password=$tr0ngP@55w0rd
The string fragment "\040" is used in this line to designate that a character space is being used. Everything else should be self-explanatory.

If all goes well, a permanent read/write solution has been established from a GNU/Linux system to an Apple Time Capsule. Many thanks goes to Ubuntu Forums and Linux Forums for all the help.

Now with this solution and PS3 Media Server, my home computer network has become a little more connected.
Tags: Linux

March 07 2010

kaleb
00:35

Streaming Media From Linux to PS3 With

Today, I set up a program called PS3 Media Server, or PMS for short, on my home network. It is an application that makes it possible to stream media from one's desktop computer to a PS3. It's pretty handy and sure beats dragging and dropping files to a USB drive just to watch or listen.

On first try, streaming was a bit too fidgety for for my wife's and my tastes, so we opted to do a network copy instead. Although we had to wait for the copy to finish before we could begin watching, we still did not have to dig out a thumb drive, but stutter free streaming would definitely be best. We were just too impatient and wanted to watch an episode of Stargate Atlantis over our fancy new PMS setup now and could not wait on me monkeying around with configurations until streaming was perfect.

In addition to streaming and copying movies to the PS3, other great features include:
  • YouTube Viewing
  • Podcast Streams
  • Internet Radio
  • Image Streaming
PMS even has an innovative way of configuring itself directly from the PS3. This is a must have application for any PS3 owners out there.

EDIT:
I thought that the PS3 may have used some proprietary locked-in service to do its streaming, but I was wrong. After doing some more research, I found out that the PS3 uses a technology standard called DLNA to do its streaming. I posted a question on a forum to find out if in fact PMS was my best option. And now I await answers.
Tags: Linux PS3

March 05 2010

kaleb
21:00

What's the Best Way to (and Why Should I) Create a Home Inventory? [Ask Lifehacker]

Dear Lifehacker,
In light of all the natural disasters wreaking havoc across the globe, I've realized I should take a home inventory to document everything I own for insurance purposes. What's the best way to do this?

Signed,
Happy Homeowner

Hi Happy,
You're smart to want to document your possessions in case of burglary, damage, or fire. The short answer to your question: The best tool for the job is the one you'll actually use.

Taking a home inventory isn't really hard, it's just time consuming. It's also extremely important; a good inventory will speed up the insurance claims process and ensure your insurance takes care of everything you lost. (You do, of course, need the insurance.)

Many tools can guide you through taking your inventory and storing it (we'll list some below), but the basics are pretty simple. You'll want to take pictures of all your stuff. (It's also a good idea to snap pictures of serial numbers of your gadgetry.) If you've got a video camera, you can simply walk through your home and film every room for a good and simple start.

It's also very important that you store your inventory outside your home in some form. You could store it at your office or somewhere else outside of your home. If it's digital, upload it to a server somewhere. Videos can go to YouTube or Vimeo (marked as private), images can be uploaded to Flickr, synced with Dropbox, or emailed to yourself. Of course, that's sort of the minimum.

We've covered a lot of home inventory software, tips, and ideas at Lifehacker, so let's take a look at some of your options for managing your inventory.

  • Know Your Stuff Inventories Your Home - This free Windows/Mac download from the Insurance Information Institute not only keeps a database of all your stuff, it also lets you export the file for offsite storage.

  • Inventory Your Home or Office with StuffSafe - A free web site that stores pictures, descriptions, and other vital information about the stuff you own. It's web-based, so you don't have to worry about losing your inventory if something happens to your home.

  • Photo Inventory Your Stuff - At the very minimum, free online photo storage sites like Flickr make great safehouses for photo documentation of your belongings. Just take some pics and make a "home inventory" set; it's better than nothing.
  • Declutter Your Home with a Detailed Inventory - A nice side benefit of a thorough home inventory is that you can declutter and get rid things you don't need along the way.
  • ManageMyHome - Reader wjglenn recommends checking out ManageMyHome.com for tracking home inventory and managing home projects.

Readers, we'd love to know how you manage the monumental task of documenting your possessions. Share your ideas in the comments.

Love,
Lifehacker

Thanks, Lauren!

March 04 2010

kaleb
23:28
kaleb
22:58

www.npc.navy.mil

Shared by Kaleb Hornsby
What's in the check off sheet to earn this I wonder?
    Bwahahahahahahahahahahahahaha    
kaleb
22:55

A Public Funded "Microsoft Shop?"

Shared by Kaleb Hornsby
What happened to lowest bidder contracts?
An anonymous reader writes "I work at a public hospital in the computer / technical department and (amongst others) was recently outraged by an email that was sent around our department: '(XXXX) District Health Board — Information Services is strategically a Microsoft shop and when talking to staff / customers we are to support this strategy. I no longer want to see comments promoting other Operating Systems.' We have also been told to remove Firefox found on anyone's computer unless they have specific authorisation from management to have it installed under special circumstances. Now, I could somewhat understand this if I was working in a company that sold and promoted the use of Microsoft software for financial gain, but I work in the publicly / government funded health system. Several of the IT big-wigs at the DHB are seemingly blindly pro-Microsoft and seem all too quick to shrug off other, perhaps more efficient alternatives. As a taxpayer, I want nothing more than to see our health systems improve and run more efficiently. I am not foolish enough to say all our problems would be solved overnight by changing away from Microsoft's infrastructure, but I am convinced that if we took less than half the money we spend on licensing Microsoft's software alone and invested that in training users for an open source system, we would be far better off in the long run. I would very much like to hear Slashdot's ideas / opinions on this 'Strategic Direction' and the silencing of our technical opinions."

Read more of this story at Slashdot.

kaleb
22:45

Registration for Google I/O 2010 is now closed

Shared by Kaleb Hornsby
:( I wanted to go.
This year's conference is now sold out, which means we'll be seeing over 4,000 of you on May 19-20 at Moscone West! For those of you who can't join us in person, video recordings of all sessions and keynotes will be available on YouTube following the conference.

Continue to follow us on Twitter for updates on sessions, speakers and the Sandbox. We'll also continue posting updates and Google I/O-relevant content on this blog.

By Joyce Sohn, Google Developer Team

March 03 2010

kaleb
21:29

Life Before Google

Shared by Kaleb Hornsby
Awesome.
On the theme of research before the internet era, Daniel Kirk shared this cartoon:
Older posts are this way If this message doesn't go away, click anywhere on the page to continue loading posts.
Could not load more posts
Maybe Soup is currently being updated? I'll try again automatically in a few seconds...
Just a second, loading more posts...
You've reached the end.