Posts

Showing posts with the label system

Valve Reveals SteamOS A Linux Based Operating System

Image
Valve Reveals SteamOS A Linux Based Operating System Valve has announced SteamOS today, a free, Linux-based operating system "designed for the TV and the living room". This is the first of the 3 announcements Valve will make this week, all related to bringing Steam into living rooms, with the next one to follow in 48 hours, as THIS page points out. SteamOS will feature: in-home streaming: the SteamOS machine can stream the games over your home network to your TV; music, TV and movies; family sharing: share the games you purchase with your friends and family - this allows you to take turns playing one another�s games while earning your own Steam achievements and saving your individual game progress to the Steam cloud; family options: youll be able to control what titles get seen and by whom. " As we�ve been working on bringing Steam to the living room, we�ve come to the conclusion that the environment best suited to delivering value to customers is an operating system bui...

Using WRITE SECURE SETTINGS permission on non system apps

Using WRITE SECURE SETTINGS permission on non system apps I happen to frequently use an app that doesnt work if USB Debugging - ADB (Android Debug Bridge) is enabled. It is very cumbersome to go to settings and enable or disable the setting every time I need to use the app. I checked if there are any widgets that could do this in a click and returned empty handed. So, I did what every developer would do - build it myself! In order to change the adb settings, I had to use WRITE_SECURE_SETTINGS permission. But there was one major problem! This permission is not available for non system apps!! The easiest solution to this was to move the apk to /system partition. Except that I didnt want to do this as I frequently keep flashing /system partition. Another solution was to use pm and grant permission to the app like this: adb pm grant <package name> android.permission.WRITE_SECURE_SETTINGS This was great! However I didnt want users who were gonna use the app to go through all this...

Using RMarkdown in an Analysis Archive and Retrieval System

Using RMarkdown in an Analysis Archive and Retrieval System Hopefully, youve already heard of RMarkdown. If not, youll understand it pretty quickly by looking at this simple example: http://rpubs.com/medined/replacing_part_of_time_series_using_time_based_selection Essentially, you mix R code with Markdown markup to create a living document. The R code is executed when the page is displayed. The full power of R (and all of its extensions) can be used. There are many examples of this online. RMarkdown pages can be computer-generated. Imagine if any given analytic documented the intermediate steps from Data Load to Final Visualization using RMarkdown? I bet user confidence in the final product would increase. It would also be trivial for the document to be duplicated and tweaked (draft mode) before being republished. Since RMarkdown is text-based, you could provide human-readable diff reports between analyses. Another advantage of this text-based system would be full-text search acr...

Using your Operating System Login for IBM Notes can Poison your IDs and how to fix it

Image
Using your Operating System Login for IBM Notes can Poison your IDs and how to fix it For years, weve had it easy with Notes. Weve had our ID files stored safely on a secure drive and whenever a user moved to a new desktop, we could simply copy their original ID over to their new machine and do most of the setup without them. All that changed somewhere between Windows 7, Notes 9 and getting Notes to use the Operating System login. Its a good change, dont get me wrong and it certainly protects the users privacy and makes things more secure. Unfortunately it also renders all of our IDs "Poisonous" and now we cant reuse them. Instead when opening an ID file on a new client installation, just after agreeing to "copy the file to the Notes data directory", we get messages telling us that Notes cannot open the ID File.   Eventually I tried other ID files only to find the same problem. Fixing the Problem As it turns out, theres a surprisingly easy fix for this. Simply gener...

View available updates from terminal without updating the system Ubuntu

View available updates from terminal without updating the system Ubuntu I find it a faster way to install updates on my Ubuntu machine from terminal rather then using a GUI package manager. sudo apt-get update  // collects information on updated packages from the repos sudo apt-get upgrade // install upgrades for packages for which updates are available The commands above are cool, of course, and quick to type, but one thing always annoyed me - I could only see what was updated after I actually initialized the process of upgrading the system. Well, not cool (GUI package manager would show what packages are upgradable). How to view available updates from terminal without updating the system : apt-get --just-print upgrade apt-get -s upgrade These 2 show the very same output (they both simulate an upgrade, dont really do it). So the 2nd one is shorter to type. Another command for the same purpose: aptitude search ~U Anyway, I find a command like below a bit more logical when re...