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

March 26 2010

kaleb
17:30

Day Two: No One Even Attempts Hacking Chrome at Pwn2Own Competition [Security]

We mentioned this yesterday, but now, after two days at this year's Pwn2Own browser-hacking competition, Chrome alone stands unhacked; hackers infiltrated every other browser on day one. Perhaps the best indicator of Chrome's security is the fact that competitors haven't even attempted to crack Chrome's "sandbox" despite a $10,000 prize. Chrome gives every process started within the browser very limited privileges to get the job done, keeping it essentially in the sandbox, so while it's possible to get in the sandbox, you can't do very much while you're there. It seems like this bodes extremely well for Chrome's security system, especially compared to its competition—and it'll likely give more people reason to choose Chrome over Firefox. [ITworld] More »

March 25 2010

March 24 2010

kaleb
20:57
kaleb
16:01

March 19 2010

March 15 2010

kaleb
17:15

Shopping- Men vs Women | Daily Shite

Source: dailyshite.com
There's no getting around this one - it's one of those little facts of life.
    True, very true.    

March 14 2010

kaleb
14:33

Chattanooga Times Free Press | The Pledge

Chattanoogas only daily newspaper. Complete coverage of breaking news in Chattanooga. Other local, regional and national news. Classifieds and online marketplace.

March 13 2010

kaleb
20:43
http://www.youtube.com/user/theycallmest3r?feature=autoshare
Subscribed to theycallmest3r
I subscribed to theycallmest3r’s channel on YouTube.
kaleb
06:11
Play fullscreen
James Blunt- No Bravery
I rated a YouTube video (5 out of 5 stars): Toma la canción "No Bravery", la ultima de su disco debut, Back to Bedlam fue escrita en las barracas en Kosovo en 1999, mientras que James era un oficial de la armada británica, mientras que de día patrullaba Prístina, él mantenía una guitarra soldada a la parte de afuera de su tanque. De noche, llegaba el momento de llevársela a las barracas con él mientras componía sobre la vida de un joven soldado de 22 años que mantiene la paz en la parte que le siguió una de las guerras civiles mas sangrientas de la década. El resto de su unidad le ordenó mantener bajo el volumen mientras componía y cantaba en el silencio de la medianoche, él no lo hizo. "No Bravery" es la única canción terminada que compuso en Kosovo. "La escribí mientras estaba sentado en la cama con mis botas puestas. Tenías que dormir con las botas puestas. La canción es fatalista, de hecho el resto de el álbum es fatalista". Cuenta James.
kaleb
02:04

Isograms

Another Python assignment from my programming languages class:
Write a program that will find isograms from user input.
dog is a 1 letter isogram.
TartAr is a 2 letter isogram.
Remove is not an isogram.
Aqwsssaqwaqwswqa is a 4 letter isogram.
Test-test has an illegal character
Here's my answer:

#!/usr/bin/python

def char_count(word):
    """Return a dictionary of character counts."""
    chars = {}                  # Should use py2.7's Counter class, not dict
    for char in word: chars[char] = chars.get(char,0) + 1
    return chars

def func(word):
    """If word is an isogram, return its degree, otherwise return 0."""
    if not word.isalpha(): raise Exception("Illegal character.")
    vals = char_count(word).values()
    return vals[0] if not any([cmp(vals[0],i) for i in vals]) else 0

Tags: CS Python

March 12 2010

kaleb
03:48

Project Euler 55

A few days ago, I made a post about palindromic numbers. After some thought, I realized that I should have done some things different. For one, there was no need for the partition function.

I also found out that a number which cannot become a palindrome through the process of reversing and addition is called a Lychrel number, and Project Euler has a problem concerning Lychrel numbers.

From Project Euler question #55:
If we take 47, reverse and add, 47 + 74 = 121, which is palindromic.

Not all numbers produce palindromes so quickly. For example,

349 + 943 = 1292,
1292 + 2921 = 4213
4213 + 3124 = 7337

That is, 349 took three iterations to arrive at a palindrome.

Although no one has proved it yet, it is thought that some numbers, like 196, never produce a palindrome. A number that never forms a palindrome through the reverse and add process is called a Lychrel number. Due to the theoretical nature of these numbers, and for the purpose of this problem, we shall assume that a number is Lychrel until proven otherwise. In addition you are given that for every number below ten-thousand, it will either (i) become a palindrome in less than fifty iterations, or, (ii) no one, with all the computing power that exists, has managed so far to map it to a palindrome. In fact, 10677 is the first number to be shown to require over fifty iterations before producing a palindrome: 4668731596684224866951378664 (53 iterations, 28-digits).

Surprisingly, there are palindromic numbers that are themselves Lychrel numbers; the first example is 4994.

How many Lychrel numbers are there below ten-thousand?

Here's my solution:

lychrel = 0
for i in xrange(10000):
    for k in xrange(50):
        r = int(str(i)[::-1])
        if i == r and k != 0: break
        else: i += r
    else: lychrel += 1
print lychrel

I've seen many solutions out there written in Python that were either un-pythonic or slow, and may of the times the former led to the latter. I am pretty sure that this is the fastest Python implementation.
Tags: Euler CS Python
kaleb
00:09

ASU Spring Film Series- "Ricky" (2010) (3/15/2010)

Shared by Kaleb Hornsby
This seems like an interesting movie. Only if I could find a baby-sitter.
Start Date: 3/15/2010 Start Time: 7:00 PMEnd Date: 3/15/2010 End Time: 8:30 PM
Main Campus - University Hall, Room 170

Comedy/drama/fantasy (France/Italy), 90 minutes

French/English subtitles

Dir: Francois Ozon

http://www.francois-ozon.com/en/videos

From the French director of the art house thriller Swimming Pool comes a totally different type of film, featuring the love story between a Spanish man and a working-class single mother. The result of their relationship is a baby with an extraordinary ability. The film, based upon an English short story by Rose Tremain, is described as ‘magical realism’ and many scenes are stolen by the smiling ‘cherub’ Ricky.

Not Rated

March 11 2010

kaleb
03:28
Play fullscreen
Galactica: Sabotage Comparison
I favorited a YouTube video: Side by side comparison of the original vid and my own edit. HOLY CRAP, I didn't expect this to take off like it did. Hi everyone! ------------------------ Copied almost shot-for-shot from the Beastie Boys' "Sabotage" video. Song property of Capitol Records and Beastie Boys. Video property of NBC/Universal. No infringement intended, just a fan tribute to both. This transformative work constitutes a 'fair use' of any copyrighted material as provided for in section 107 of U.S. Copyright Law.
kaleb
03:26
Play fullscreen
Galactica: Sabotage Comparison
I rated a YouTube video (5 out of 5 stars): Side by side comparison of the original vid and my own edit. HOLY CRAP, I didn't expect this to take off like it did. Hi everyone! ------------------------ Copied almost shot-for-shot from the Beastie Boys' "Sabotage" video. Song property of Capitol Records and Beastie Boys. Video property of NBC/Universal. No infringement intended, just a fan tribute to both. This transformative work constitutes a 'fair use' of any copyrighted material as provided for in section 107 of U.S. Copyright Law.
kaleb
02:33

Sick Sketch

Sick, I cam home early from work today. What's the best thing to do when sick? Sketching! I found this cool sketching site via Lifehacker.

<< I feel sick.

I wish I had a rocket ship. >>
kaleb
01:59

"Mythical Man-Month" Supposedly Busted By MIT Startup

Shared by Kaleb Hornsby
These are all things that I have observed working in software as well. More engineers on one project does not mean a quicker solution, but more engineers on different projects increases productivity.
An anonymous reader writes "We all know about the Mythical Man-Month, the argument that adding more programmers to a software project just makes it later and later. A Linux startup out of MIT claims to have busted the myth, using an MIT holiday month to hire 20 college student interns to get all their work done and quadrupling its productivity."

Read more of this story at Slashdot.

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/
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.