Wednesday, November 12, 2014

WashingtonPost.com - null trailer null

WashingtonPost.com website is written in Java. Back a couple of years they were an atrocious website, mainly because they had hired a bunch of java idiots who had over architected the whole thing, throwing all the latest java technology like JSF, Spring, Hibernate, etc...into the mix, making a very fine mess of everything. Every couple of days they would advertise for a new software developer, as some poor soul, ran away screaming. They seem to have gotten their crap together now. But, every so often we get stuff like below.

The title of below webpage is "Null trailer Null"...where can i watch this movie :)

wtf

i found this at this url: http://www.codingforums.com/showthread.php?t=267682
what could be the problem :)
With thanks to all codingforum members and volunteers...
I'm facing weird issues for a few days while im working with if condition.
Whenever i use something like

<? if ($x='1') { ...

this always returns $x to be 1, even though my database records say its not.

Hulu software developer job application

Hulu software developer job application

i was looking at Java jobs in LA on indeed.com and ran across Hulu's software developer position. So, I did ok on qualifications, CS degree, TDD, web services, etc. Also, ok on experience, Java, no objective-C, Python, no streaming video or Flash, but you know I could dream. So far. But then, I ran into this:

Since we're clearly into lists, here's a Top 5 for how you know you need to work at Hulu in no particular order (* they probably meant - how you need to think ! (nice, if a little Orwellian)):

You fall asleep thinking of ways to search through 100 billion sheep (sadly my last thoughts before going to sleep all involve ludicrous fantasies, involving women, mad money, absolute power, world domination...)

You recently had a nightmare that involved an unbalanced red-black binary tree (i kinda know what an unbalanced binary tree is, but a red-black one...)

You can compress better than H.264 (it's a video compression format, good for making torrents of Hollywood movies (jk, i'm into arthouse)...)

Your most recent open-source app was the 'Most Active' entry on SourceForge (SF and now there's github - sadly my projects always run into my arch enemies - beer, women, junk tv (storage wars !))

You rule at ping-pong, eating contests or Project Euler (exercise is a must, i love eating (PHO) and Euler was a mathematician)

If you're the kind of developer who obsesses over indentation (spaces or tabs), monitoring services, and jumps at the opportunity to take on new math challenges then Hulu may be the place for you. (i do like well formatted code, Euler was a mathematician....)

Dear Hulu,

Why do you have to be such dicks. Did you really have to give us this list? To utterly crush our hopes, just when we were getting ready to fire off our resume. To deny us the small satisfaction of saying, "hey i tried, i applied". A justification to spend the rest of the afternoon watching tv...contemplating your dwindling bank balance...the resultant panic of impending homelessness...causing you to call your Mom, after forgetting her birthday and ignoring countless calls...Did you REALLY have to drive us to this ???

I give up. Job postings like this make me realize, that I am just a mediocore developer. I do like writing code and am pretty good at it, but it's not my life. It's not the end all. Hire a bunch of us mediocore guys, pay your CEO a little less.

Ranjit

http://hire.jobvite.com/CompanyJobs/Careers.aspx?c=qxc9Vfwx&jvprefix=http%3a%2f%2fwww.hulu.com&jvresize=%2fjobs%2fresize_jobvite_frame&page=Job%20Description&j=oAaCWfw2

Java Code - This returns the first key in a HashMap given a value

Java Code - This returns the first key in a HashMap given a supplied value

import java.util.Iterator;
import java.util.LinkedHashMap;
import java.util.Map;

/**
 * general purpose utility methods
 * @author ranjit sandhu
 */
public class Utils {

    // gets first hashmap key from supplied value    
    public static String getKeyByValue(LinkedHashMap lhm, String value) {
        String tt = "";
        Iterator fat = lhm.entrySet().iterator();
        while (fat.hasNext()) {
            Map.Entry pairs = (Map.Entry)fat.next();
            String key = pairs.getKey().toString();
            String val = pairs.getValue().toString();
            if (val.equals(value)) {
                tt = key;
            }
        }
        return tt;
    } // end getKeyByValue
    
} // end Utils

google maps fractal

in google maps, street view you can zoom the camera upwards and achieve fractal views like below.