Recently I received a Chromecast, it’s a really great addition to my TV and can stream online videos and browse web very easily. Thanks to my brother in law for gifting me one.
Installing Chromecast is pretty simple, just connect the dongle to the HDMI slot and connect the power source to the TV’s USB slot. If your TV don’t have a USB slot then don’t worry it packed with an external power adapter and can connect to a power outlet.
When I first connected to my TV it is showing only a blank screen with some colored dots. Some google search revealed that it’s because of the Reset button. After doing some analysis of the dongle I realized that, when I insert the dongle to HDMI, the core is pushing backward and jamming the reset button. Thus the device enter into a reset state. If the same issue is happening to you then connect the device and try to pull the cover a little bit so that the reset button wont get stuck and you should be able to click the reset button.
Next issue is installing the Chromecast app for my Android tab. I can’t install the app from Play store as I reside in India and the Chromecast is not released here yet. So I downloaded the apk from http://www.apkmaza.com/2013/07/chromecast-111.html and installed it. The setup was quite simple and the Chromecast Android app will guide you through each step. Once the setup is complete the dongle will check for the latest version and update it, if found. So make sure your WiFi router is connected to Internet.
If you don’t have any Android or iOS device then you can install a desktop app to configure the Chromecast dongle.
Even though my TV is a smart one, means I can connect to my Wi-Fi. But browsing sites or watching YouTube is bit difficult with the aide of that remote control. With Chromecast I can browse any site in my computer and if required just cast it to my TV. That means my TV can show any Chrome tab from my computer, if it has photo, video or text. Even I can do multitasking when I am casting a tab to TV, that means my son can watch his favorite video from YouTube running in one of the chrome tab and casted to TV, mean while I can browse Facebook in another tab and is available only to my computer.
One thing I really missing in Chromecast is streaming the videos or music I stored locally in my computer. I am not sure why Google is not provided any option to stream local videos as it’s a very important feature for an awesome device like Chromecast. Hope in future Google will come up with a desktop app to stream local videos.
Not for you, If
- you are looking to stream local videos.
- you have no Wifi device.
- your TV have no HDMI slot.
We started getting KeyNotFoundException when we evict an entity from session. The error is not consistent, some time it work and some time it wont. Searched a lot for the cause of this exception but not got any proper solution.
As per the stack trace, the error is because it couldn’t find the key in a collection. In a collection an entities identity is based on the hash code. In this case the entity has composite key. In the GetHashCode function, we append the values of composite properties and get the hash code of the resultant string. When I start checking in more details I saw some properties we used in getting hash code is not exist as part composite key in the mapping file (some keys were removed from the composite mapping but not updated GetHasCode()). I need to do some more analysis to find why those extra fields screwing up the GetHashCode function. I will update the post later if I get the answer.
To avoid these kind of issues make sure to use only composite properties in the Equal and GetHashCode function and avoid using properties that are not part of composite.
I was interviewing a guy for a new project with 7+ years experience. To start with I gave him a problem of representing a sales order in C# class. The candidate asked some more details about the Sales Order, so I explained like, I went to a shop and purchased Paste, tooth brush, etc, that means a sale order can have multiple items.
He tried for some time but couldn’t come up the class design. In my mind I already rejected him, to give him a feeling of some success, I asked him to design the table structure for the Sales Order. This is what he come up with.
|Column Name||Data Type|
He explained the design as well. If the user purchase Paste then the Quantity will go to the Paste column and like that. I wanted to see how extend he will go. I told him that my company have 100k products and how you will fit it in the above design. He answered, alter the table and add 100k columns to that table.
I interviewed so many persons in my career and never talked about the details to any one. But this one was the worse interview I ever had and thought of sharing it.
Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live.
Let me know if you guys have any experience like this.
Camera360 is always one of my favorite camera app in WP8. Let’s see what’s new in this release
- Double-Exposure (new feature).
- Thumbnails loading is faster.
- Photo saving failed bug is fixed.
- ‘Sweet’ filter bug in Portrait is fixed.
Except the first one rest all are bug fixes and performance improvements. Let’s look at the Double exposure in little more detail.
Till this moment I didn’t have much clue about what’s Double Exposure and how to do it. So I searched and come across this site that shows the photos created using Double exposure, It’s really amazing. I turned on Camera360 to see how Double exposure works, at first I didn’t know how to get it working. After playing with Camera360 for a minute or so, I got how to do it. it’s very simple
Push the Camera icon up (the icon sits in the center of the dial) . It will give two options Effects and Double Exposure.
Choose Double exposure and click the back button, a circle icon below the options. It will take you back to the shooting mode.
Point the camera to an object and shoot the first photo, next point the camera to a different object and take a shot.
Camera360 will merge these two shots and give you a single photograph. The real good feature is, while taking the second exposure, Camera360 will show a transparent preview of the first exposure. So that you easily know where to place the second object with respect to the first one.
Let me know how it worked for you. Also please share your double exposure photos, you can add the URL in the comment section. If you haven’t downloaded Camera360 go to Windows store and get it.
I was looking for a free private repository to host one of my pet project. I knew about Assembla and used it before. Free version of Assembla provides one Repository with 500 mb and three users to a repo. The main limitation here is the team size, it’s limited to 3 members per repo. In future I might want to add my friends to have a look into the code or contribute to it and this limitation in the team will be an issue. So I started looking for other providers that give free repository with a little more team size.
My search leads to RiouxSVN, a place where we can host free repositories and unlimited team size. RiouxSVN provides 50 mb free and four repo slot by default. You can easily add more disk space or number of repositories by purchasing credits.
So what’s a credit, each dollar you donate will earn a credit, yes its as simple as that. Each credit you earn is lifelong, for e.g. if you donate 1 dollar you can redeem 10 mb space. This 10mb space is life long, you don’t have to renew or pay every month or year. Awesome, I love this model, I pay for the space that I want to use and only once. To see more details go to the ‘Plan’ tab in the home page, for easy access I copied it below.
We only have one plan, the free plan, which includes:
- 50 MB per Repository
- 4 Repository Slots per account
- Unlimited users per Repository
Need more? Here is the deal:
- Extra Repository Storage: 1 credit per 10 MB
- Extra Repository Slots: 2 credits per Slot
What’s that credit thing?
Each dollar donated earns you 1 credit
There is another advantage is, you can retrieve your repository upgrade credits by deleting that repository. For e.g. I spend 2 credits to add one more repo to my account, later I decided to remove it for some xyz reason. When you delete that repo you will get that 2 credits back you spent on that repo, with that credit you can buy some more space or can buy another repo. It’s really cool isn’t it.
RiouxSVN will not provide an option to view your source code online. I don’t find it as a limitation as I rarely see my source code online. I use svn client to download my code to my computer and use it.
In my opinion RiouxSVN is one of the best SVN provider to host private repositories. The main selling point for me is it’s affordable flexible upgrade model. Try it your self and let me know your experience in comment section.
I come across so many people who try to claim as geeks by ditching Microsoft and it’s products. But in reality most of these guys started there career with MS Products or still it’s a bread winner for them. I am not talking about those guys who do wonders and are real geeks. I am talking about those guys who try to showoff and don’t know how to, so the easy way is just say ‘I hate Microsoft’.
A friend of mine was talking about how bad the MS products are, and praising other platforms. At the end he was telling ‘unfortunately I am working in MS products’ ahh!. Who the hell asked you to bed with some thing that you don’t like, no one holding you in point blank. You are the one who decides and if you still with MS products then shut up.
Telling a common man ‘I hate Windows and Love Linux or xyz’ might get you a wow factor. He might have seen only Windows or Mac and might have heard Linux, some thing with command lines and all those stuffs.
Geek-ism is a lifestyle, using one platform or ditching another wont get you there. You should be knowledgeable in all the similar platforms, to decide what to choose in a particular scenario. Do some thing wonderful to the world with what you have. Using Linux and just browsing and watching movies… will that make you some thing special.
I am not a fan of Microsoft or fan of any specific Company. I am a fan of technologies or frameworks that helps me to survive, to help me do my work at ease.
I always hunt for more and more apps related to photography for my Lumia920. One of the recent hit to the store is Hipstamatic Oggl, an awesome app for any photography enthusiast. One of the great feature of Oggl is I can download Lens and films from the Oggl online store and give my photos a unique style. In simple words these Lens and Films are like Filters, we can mix and match Lens and Film to give a unique effect to our photo.
Like Instagram, Oggl is a community driven platform. I can upload photos to Oggl web, I can follow and comment or like photos of others. Using Oggl I can upload photos to Instagram aswell.
One reason I fell for Oggl is, it’s capability of reapplying a different Lens/Film after the shot is taken. For e.g if I take a photo using Matty Lens with a Black and white film, I can change it to color later. I can apply a different color Film and make the same photo in color, without out reshooting it. To apply a different Lens, go to Library in Oggl, select the photo you want to edit and click the Gear icon (center icon).
In most other Camera app, if you shoot in Black and white, then no way to change it to color. By default the app comes with five predefined set like Portrait, Food, etc. I can add my own preset by choosing a Lens and a Film.
Oggl has an online store where we can download new Gears (Lens and Films). As per Hipstamatic they add more lenses every month. Oggl app is free and comes with a limited set of Lens and Films. To get full collection we need to subscribe for a Quarterly or Yearly subscription, subscription options are Quarterly for $2.99 & Yearly for $9.99. For Windows phone users there is a 60 day trial, in this period we can use the all the available Lenses and Frames.
One of the issue I have with Oggl is, it will be very slow if the phone is connected to Data network. I assume the app is trying to connect to the server before showing the camera app. I feel this is bit annoying and I might miss an opportunity because of this delay. Normally what I do is, I open Oggl and keep it running, I use the Back button and select Oggl whenever I required it. I reported this issue to Oggl support.
Oggl team is working on it to fix issues and adding more features. I like the customer support of the team, they provide a very fast response to our queries and suggestions.