Eddy Cue And Craig Federighi Open Up About Learning From Apple’s Failures

http://www.fastcompany.com/3062596/tim-cooks-apple/eddie-cue-and-craig-federighi-open-up-about-learning-from-apples-failures

We had long discussions at the ET [executive team] level about the importance of Maps, where we thought Maps was going in the future, and could we treat it as a third-party app? I mean, we don’t do every app. We’re not trying to create a Facebook app. We think they do a great job. We always came back to the conclusion that Maps was not one of those. It’s an integral part to the whole platform. There were so many features that we wanted to build that are dependent on that technology, and we couldn’t see ourselves being in a position where that was something that we didn’t own.

It’s very, very expensive, and it doesn’t have a direct revenue stream. So when I say it’s only Google and us who are developing it, well, that’s part of the reason why. You can’t be a company going out and developing maps to make money; at least no one’s figured that out.

 

 

Posted in Software | Leave a comment

Sansa Clip Playlists

http://forums.sandisk.com/t5/Sansa-Clip-Sansa-Clip/PLAYLISTS-FOR-DUMMIES-TAMING-THE-SANSA-CLIP/td-p/108728

CREATING PLAYLISTS FOR PODCASTS, MUSIC AND AUDIOBOOKS

In the Clips’ Main menu, go into settings and scroll down til you find USB Mode.
Make sure it’s in Auto Detect.

Plug in the USB cable to your computer and find the player in Explorer (Start, My Computer, Sansa Clip).  Click “Internal Memory” to get to the Clips’ folders.  We’ll call this the Clip Explorer.  If you want to create a podcast playlist, open the Podcast folder and by selecting File, New Folder, create and name it whatever you want.  If you want your podcasts organized into two or three categories, just create more folders.  Do the same for Music and/or Audiobooks.

Leave it open and using Explorer again (Start, My Computer), find the files or folders you want to copy onto the Clip.  We’ll call this the Computer File Explorer.  It’s easier if you put your mp3 files in a folder in the Computer File Explorer first.  Then you can just copy those music, podcast or audiobook folders to the appropriate folder on the Clip (copy and paste).

What we have done thus far does not create playlists.  It merely puts all files into a big jumble on the player where they can only be accessed by tags in categories such as Artists, Albums and Genre.  In order to create a list that will play in sequence, we have to create a .pla file (a playlist from those files on the player).  Go back to the Clip Explorer, open a folder (Podcasts for example), select one of your created folders with a Right Click, and then select “Create Playlist” from the drop down menu.  At the bottom you’ll see “New Playlist.pla” flashing.  Now you just name it again whatever you want to and you’re done.  Get out of Explorer and unplug the USB cord.  Whenever you open up the Clip Explorer on your computer again, you’ll find that .pla file in the same folder.  If you want to rearrange the order of that playlist, just double click the .pla file and use the arrows at the bottom of the pop-up window.

The confusing category in the Clip Explorer is Playlists.  This is simply a place where you can drag and drop (or cut and paste) your .pla playlist files and see them all in one place in the Clip Explorer.  You don’t need to put them there.  You can just leave them in the Music, Podcast or Audiobook folders and they’ll still show up as playlists on the player, but if you have a lot of playlists, it is convenient to be able to see them all in one place.

Posted in Computers | Leave a comment

Einstein in plane with Indian

Einstein & a Gujju sitting next to each other on a long flight..
Einstein says,”Let’s play a game.. I will ask you a question,if you don’t know the answer,you pay me only $5 and if I don’t know the answer,I will pay you $500..”

Einstein asks the first question: What’s the distance from the Earth to the Moon..?

Gujju doesn’t say a word,reaches his pocket,pulls out a $5..

Now,it’s the Gujju’s turn..

He asks Einstein: What goes up a hill with 3 legs and comes down on 4 legs..?

Einstein searches the net and asks all his smart friends.. After an hour he gives Gujju $500..

Einstein going nuts and asks: Well,so what goes up a hill with three legs and comes down with four..?

Gujju reaches his pocket and gives Einstein $5.. Einstein fainted. Gujju makes $490

Posted in Jokes, Uncategorized | Leave a comment

How should performance reviews be done?

I believe that large software companies spend an inordinate amount of time stack ranking employees during performance reviews and fitting a performance curve and then distributing rewards (stocks + bonuses) according to the curve. For the longest time, a bell curve was used to model performance but recent studies advocate using a power-law curve. A simpler common sense approach to distributing rewards should be that the CEO decides how to distribute rewards among his direct reports and let each of them in turn decide how they want to distribute their share and so on. Besides the time wastage, stack ranking is also detrimental to teamwork and smells highly of hypocrisy because on one hand managers are expected to preach teamwork and then the same people behind closed doors are playing games and pitching people against each other. How can an employee be expected to act selflessly and be a strong team player when s/he knows that behind closed doors s/he will be ranked against his/her own peers?

Posted in Career | Leave a comment

Typical example of Java documentation page

https://dropwizard.github.io/dropwizard/0.7.1/docs/manual/example.html

Screen Shot 2016-05-06 at 11.45.15 AM.png

it goes on to describe the dropwizard-example module but on the whole page there is no link from where one can actually download the module

Posted in Software | Leave a comment

ISideWith Quiz

isidewith3isidewith5isidewith4isidewith6isidewith2isidewith

Posted in Politics | Leave a comment

HotSpot Dynamic Attach Mechanism

http://openjdk.java.net/groups/hotspot/docs/Serviceability.html#battach

HotSpot Dynamic Attach Mechanism

This is a Sun extension that allows a tool to ‘attach’ to another process running Java code and launch a JVM TI agent or a java.lang.instrument agent in that process. This also allows the system properties to be obtained from the target JVM.

The Sun implementation of this API also includes some HotSpot specific methods that allow additional information to be obtained from HotSpot:

  • The ctrl-break output from the local JVM
  • The ctrl-break output from the remote JVM
  • A dump of the heap
  • A histogram showing the number of instances of the classes loaded in the target JVM. Either all instances or just ‘live’ instances can be counted.
  • The value of a manageable command line flag. Such flags can also be set.

Dynamic attach has an attach listener thread in the target JVM. This is a thread that is started when the first attach request occurs. On Linux and Solaris, the client creates a file named .attach_pid(pid) and sends a SIGQUIT to the target JVM process. The existence of this file causes the SIGQUIT handler in HotSpot to start the attach listener thread. On Windows, the client uses the Win32 CreateRemoteThread function to create a new thread in the target process. The attach listener thread then communicates with the source JVM in an OS dependent manner:

  • On Solaris, the Doors IPC mechanism is used. The door is attached to a file in the file system so that clients can access it.
  • On Linux, a Unix domain socket is used. This socket is bound to a file in the filesystem so that clients can access it.
  • On Windows, the created thread is given the name of a pipe which is served by the client. The result of the operations are written to this pipe by the target JVM.
Posted in Software | Leave a comment