Wednesday, August 31, 2016

Download Portal 2 Live Wallpaper

,
Portal 2 Live Wallpaper featuringan animated Wheatley, that followsyou around.Portal 2 Live Wallpaper brings thePortal 2 feeling to your homescreen . It features a custom madePortal 2 background and ananimated Wheatley who follows youaround.Tap Wheatley to make him go away,and tap an empty area of yourhome screen to bring him back.How to use :Long click your home screen – >Choose Wallpapers – > ChooseAnimated Wallpapers -> ChoosePortal Live Wallpaper -> Enjoy!Troubleshooting:If the wallpaper gets stuck orWheatley does not appear , try thefollowing:1 . Re- apply the wallpaper .2 . Re- install the wallpaper.3 . Restart phone .( This problem can be caused bycustom roms or custom launchers...
Read more

Tuesday, August 30, 2016

Googler Shumin Zhai awarded with the ACM UIST Lasting Impact Award

,
Posted by Alfred Spector, Vice President, EngineeringRecently, at the 27th ACM User Interface Software and Technology Symposium (UIST’14), Google Senior Research Scientist Shumin Zhai and University of Cambridge Lecturer Per Ola Kristensson received the 2014 Lasting Impact Award for their seminal paper SHARK2: a large vocabulary shorthand writing system for pen-based computers. Most simply put, this is one of those rare works that is responsible for fundamental and lasting advances in the industry, and is the basis for the rapidly growing number of keyboards that use gesture typing, including products such as ShapeWriter, Swype, SwiftKey, SlideIT, TouchPal, and Google Keyboard.First presented...
Read more

Best office apps my apologie for last week

,
Well as title says today I will show you top 10 office apps. It will be two PowerPoint replacement and 8 Microsoft office apps. Today you will see all kinds of app; from fully featured and almost the same as Microsofts office ones to lightweight nice looking ones so everyone can pick its own favourite and 1. Polaris officeIt is an app that comes preloaded on most of android smartphones and tablets. It gathers "Notes, Exelc, Word and PwerPoint" in one app. You get every basic future from Microsoft Office so you dont have to worry but for all power users that need a lot of different photo effects or maybe animations in PowerPoint this is not the best option. Well what I really like is couple...
Read more

Updated trick for enabling Folder option

,
Many times Windows users face a common problem. The “Folder Options” in “Tools” menu is not visible. Even It can’t be accessed from Control Panel. Also “Registry Editor” is disabled. Follow the simple steps mentioned in this tutorial and your problem will be solved:1. If Folder Options is disabled but Registry Editor is still working in your system, then you can enable Folder Options by editing Windows Registry.Type regedit in RUN dialog box and press Enter.it’ll open Registry Editor, now go to following keys:HKEY_CURRENT_USERSoftwareMicrosoftWindowsCurrent VersionPoliciesExplorerHKEY_LOCAL_MACHINESoftwareMicrosoftWindowsCurrent VersionPoliciesExplorerIn right-side pane, check whether a DWORD...
Read more

PowerShell v2 Function Remove FileSecurely Requires sDelete

,
To help deal with some requirements for an automation project we needed to come up with a way to securely (that means fully) remote data from the system.  We used to use Heidis Eraser, but, this program has proven to be ineffective according to auditors.  So, the Sysinternals sDelete utility was our next option.  I basically wrote the following function to remove files by wrapping sDelete to ensure the data was cleaned up.  From what I can tell sDelete simply overwrites the file space with random data, but, I could be wrong.  sDelete just ensures the actual space, not just the pointers to the used space, is overwritten.  This script assumes the sDelete.exe is located...
Read more

Why Watson and Siri Are Not Real AI

,
A recent article from Popular Mechanics raises the common argument that what people call AI actually isnt AI. This argument is based on John Searles Chinese Room thought experiment in which he clearly demonstrates that computers just manipulate symbols. They do not, cannot, ane never will understand what those symbols mean. However, Alan Turing, the father of AI, never claimed that machines would understand. His test for machine intelligence, now called the Turing Test, he originally called "the imitation game." He envisaged that computers would "imitate" intelligence not be intelligent in the sense that we are. Read the Popuar Mechanics article but keep this in mind -...
Read more

Monday, August 29, 2016

Using the Google Voice C API

,
First of all, this obviously isnt an official Google API. I wrote it because I wanted one in C++ and couldnt find one that worked.That being said, the code is on github here (in the TextCommand folder) and is available under GPLv3 for anyone to use.I know this could (maybe even should) have its own github project but since I use it for my home automation projects, its included in the PiAUISuite. That being said, the current gvapi binary is also compiled for the Pi. So you will need to run make gvapi if you want to use it on any other linux machine.To include the C++ code in your own project, you just need to include gvoice.h in your file and then you should be able to access the GoogleVoice...
Read more

PowerShell v2 Function Hide Folder

,
While working on a project I came up with a quick need to hide a folder, so, I wrote this canned function:function Hide-Folder {      param(            $foldername      )            if(Test-Path $foldername)      {            $(Get-Item $foldername).Attributes = Hidden      }      else      {            Write-Error "The folder ($($foldername))...
Read more

Sunday, August 28, 2016

The Tears of Donald Knuth

,
Happy New Year. I hope you all had a good festive season. Ill start this years blog with a link to a fascinating article on the history of computer science by Thomas Haigh in the Communications of the ACM titled "The Tears of Donald Knuth" brought to my attention by colleague Bob Doran. This interesting piece puts forward a very cogent argument as to why there is so little written about the history of computer science - basically you cant make a career at it; computer science histories are therefore mostly written by CS academics as a hobby in their spare time, not by trained historians. You can read the full article here. from The Universal Machine http://universal-machine.blogspot.com/...
Read more

This day in history the first tweet

,
On March 21 2006 Jack Dorsey sent the very first tweet. Like many tweets not especially informative and presumable Jack didnt have many, if any, followers. Twitter was opened to the public that July and had its first major success at the South by Southwest (SXSW) conference in 2007, shortly after it had been made into a company. And the rest< as they say, is history. You can follow me and this blog @driwatson from The Universal Machine http://universal-machine.blogspot.com/ Put the internet to work for you. via Personal Recipe 895909 Recommended for you ...
Read more

Mole Word 1 0 2

,
Mole Word 1.0.2 apk androidTags: mole word game, mole word problems, mole word android, mole word apk, mole word game online free, mole word game online, mole word search, mole word meaning, mole word for pcNo more boring word games! Discover words, beat the clock, unlock the vault, collect gems, and uncover the top-secret Mole Word! the new version!Mole Word is the fun, fast-paced word game for all ages thats easy to pick up, but impossible to put down!Form words from letters anywhere on the game board to unlock the vault and collect the treasure! But uh-oh, It looks like youve got a mole in your midst! Watch out for Shades the Spy Mole as he tries to put a hole in your plan and steal...
Read more

B Sc IT Mumbai subjects with electives

,
Hi! Those who have just passed std 12th from Science Stream and wondering what next. B.Sc IT (Bachelor of Science in Information Technology) in one of the best option you can go for. In India, Bachelor of Science in Information Technology is a 3 year course alone with Bachelor of Information Science, this degree is completely different from normal B.Sc.A candidate for being eligible for admission to the degree course in Information Technology must have passed the H.S.C Examination of the Maharashtra Board of Higher Secondary Education or its equivalent and secured not less than 45% marks in the aggregate.Below are the subjects offered in this course along with the electiv...
Read more

Angry Birds For Android

,
Use the unique powers of the Angry Birds to destroy the greedy pigs fortresses!The survival of the Angry Birds is at stake. Dish out revenge on the greedy pigs who stole their eggs. Use the unique powers of each bird to destroy the pigs’ fortresses. Angry Birds features challenging physics-based gameplay and hours of replay value. Each of the 270 levels requires logic, skill, and force to solve.Angry Birds is back with a brand new underground episode: Mine and Dine! With a bottomless appetite, the bad piggies have burrowed deep in underground caverns to hide the eggs they stole from you. Use the landscape and geology to your advantage to chase the pigs out of their hiding holes, gather rare...
Read more

Saturday, August 27, 2016

PowerShell v3 in a Year Day 8 about Split

,
I did not discover the Split operator for far too long in my workings with PowerShell. I had used similar things in Javascript, C#, Perl and VBScript, but, didnt know about this one. Man, was I missing the boat. In PowerShell, the general syntax is to place whatever you want to split on the left hand side of the operator, the -split operator in the middle and the delimiter on the right hand side of the operator as below:

"Lastname:FirstName:Address"-split "(:)" 
When you run this it returns five values:

Lastname
:
FirstName
:
Address 
The delimited is a character (or characters) that identify the end of the substring. The default is whitespace, which includes spaces and control characters, such as new line (`n) and tab (`t). Normally, the delimiter is omitted from the result set. To preserve part (or all) of it, enclose the part you want to retain in parentheses.

For example, here is an instance where the delimiter is omitted:
test1234test1234test123 -split test
Note that I am using a multi-character delimiter. It is good to be aware that you are not limited to single-character delimiters. This outputs the following:

1234
1234
123
Now, here is an example of where you retain the delimiter, test, by placing it in quotes:
 test1234test1234test123 -split (test)
and its output:

test
1234
test
1234
test
123
 NOTE: When providing an initial definition for -split I said, "In PowerShell, the general syntax is to place whatever you want to split on the left hand side of the operator, the -split operator in the middle and the delimiter on the right hand side of the operator". What I want to emphasize here is the condition in general. The operator has a second use where you can specify the maximum number of substrings after the delimiter.

For example, taking our previous example, let us say we only wanted three substrings for a space-delimited list of letters, a b c d e f, how would we do that in PowerShell? Like this,
a b c d e f -split ,3
When you run this in PowerShell it returns this:
a
b
c de f
What is happening is PowerShell tokenizes the string, and, pops 1 (a), 2(b) and 3 (c d e f) character groups for the result. This is useful when you need to have a fixed number of results but cant control the input. Note that values of 0 or negative integers will return the full, original substring.

One interesting use of the right hand side of the operator is to pass to it script blocks. For example, taking one straight from the help, we want to split if the character is an e or a p.
$c = "Mercury,Venus,Earth,Mars,Jupiter,Saturn,Uranus,Neptune"
$c -split{$_ -eq"e" -or$_ -eq"p"}
When it is run, it returns the following:
M
rcury,V
nus,Earth,Mars,Ju
it
r,Saturn,Uranus,N

tun
This can be very helpful if you have very specific conditions you need to meet, and/or criteria to match against. Additionally, you can perform dynamic analysis, i.e., calculations, with scriptblocks.

Another powerful aspect of the -split operator is its option set. At present there are two sets, each with a few suboptions, to pay attention to. I have included a list of these below.

  1. SimpleMatch: Use simple string comparison when evaluating the delimiter. Cannot be used with RegexMatch.
    1. IgnoreCase: Forces case-insensitive matching, even if the -cSplit operator is specified.
  2. RegexMatch: Use regular expression matching to evaluate the delimiter. This is the default behavior. Cannot be used with SimpleMatch.
    1. IgnoreCase: Forces case-insensitive matching, even if the -cSplit operator is specified.
    2. CultureInvariant: Ignores cultural differences in language when evaluting the delimiter. Valid only with RegexMatch.
    3. IgnorePatternWhitespace: Ignores unescaped whitespace and comments marked with the number sign (#). Valid only with RegexMatch.
    4. ExplicitCapture: Ignores non-named match groups so that only explicit capture groups are returned in the result list. Valid only with RegexMatch.
    5. SingleLine: Singleline mode recognizes only the start and end of strings. Valid only with RegexMatch. Singleline is the default.
    6. MultiLine: Multiline mode recognizes the start and end of lines and strings. Valid only with RegexMatch. Singleline is the default.
These rules are helpful when dealing with edge cases that require a little extra TLC to properly manage. The syntax for these is to include a third comma separate value after the max substring indicator. For example, the help examples provide a here string for which we use a regex with the multiline option. The here-string is:
$a = @
1The first line.
2The second line.
3The third of three lines.
@
The syntax for handling this with -Split looks like this:
 $a -split"^d",0, "multiline"
All we are trying to do with this regex is to return all substrings (with a maxsubstrings value of 0) and an option of "multiline". When it is run, it returns this:

The firstline.

The secondline.

The thirdof threelines.
The fourth key point about using -Split involves recognizing a difference between unary and binary splitting. Unary splitting, where there is no left hand side to the statement, has a higher precedence order than a binary split operator, where there are both left and right hand sides to a statement. To explain this, let us look at this example. For example, if we evaluate the following statement,
-split "1 2", "a b"
It returns this
1
2
 a b
Since my first exposure to -Split was the binary operator, this was a little confusing to me first. It seemed, in my initial understanding (binary operator only) you had to have both a Left Hand Side (LHS) and a Right Hand Side (RHS) to form a complete statement. For binary operation, this is true, but, not for unary operation.

As noted earlier, when PowerShell encounters a -Split operator, the first thing it will do is try to evaluate it as a unary operator where only a RHS is expected. If that fails, it will then fall through to the second condition, binary operation, and, PowerShell will then attempt to evaluation the statement as having both a LHS and a RHS. It is important to keep this in mind if you ever run into odd behavior with the -Split operator. Glance at your LHS and RHS to be sure they make sense and no lexical errors could be forcing the wrong mode (unary instead of binary or binary instead of unary) of operator to be evaluated.

When working with binary operators in particular, you can force a set of strings to be evaluated by wrapping them in parentheses on the RHS, such as,
(1 2, 3 4) -split ,
which evaluates to
1 2
3
Here are some other results. Splitting on nothing, (1 2, 3 4) -split , gives you,

1

2


How to display codes in blogger post

,
Code without border.Code with border.Have you ever tried to display codes in blogger. Many blog posts display codes. I always wonder how is this code displayed. After deep search with Google, I found the secret. In this post, i will share with you, how to display codes as it is in any of your post.First of all copy your code and encode your code. Click here to do this.After you click on encode button your code will be encoded. Copy the code.Paste it in your post. Thats it.If you want to add a border or put the code inside a box, Place the encoded code inside <fieldset style="border: 1px dotted ;>------your code------</fieldset> tagLets try one:Go to Blogger >> Posting >>...
Read more

How to Use Multiple Gtalk

,
...
Read more
 

Computer Info Copyright © 2016 -- Powered by Blogger