Get you app on Droid

1 Download and Install   IntelliJ IDEA 

https://www.jetbrains.com/idea/help/basics-and-installation.html#d1847332e131

2 To update which version of Java you want

$ sudo update-alternatives --config java

3 Download and Install Android Studio

http://developer.android.com/sdk/installing/index.html?pkg=studio

4 Learn about basic app building from MIT App Builder ( its a GUI so relax)

http://ai2.appinventor.mit.edu/ Screenshot from 2015-08-19 11:44:13

5 Give up building yourself and post for a developer for your Android app at http://www.appfutura.com/

 

Sources-

http://askubuntu.com/questions/64329/how-to-replace-openjdk-6-with-openjdk-7

 

Traps to avoid if you are a grey hat hacker

  1. Bait and Switch – used to plant embedded malware or logging systems https://en.wikipedia.org/wiki/Bait-and-switch the action (generally illegal) of advertising goods which are an apparent bargain, with the intention of substituting inferior or more expensive goods. It can be avoided by periodically changing your hardware and software with a reliance for open source and open market and of course by avoiding things that are too good to be true.
  2. The Honey Traphttps://en.wikipedia.org/wiki/Honey_trapping
    a stratagem in which an attractive person entices another person into revealing information or doing something unwise. This one got Julian Assange
  3. The Honey Pot  –https://en.wikipedia.org/wiki/Honeypot_(computing) a honeypot is a trap set to detect, deflect, or, in some manner, counteract attempts at unauthorized use of information systems. Generally, a honeypot consists of a computer, data, or a network site that appears to be part of a network, but is actually isolated and monitored, and which seems to contain information or a resource of value to attackers. This is similar to the police baiting a criminal and then conducting undercover surveillance. This one got Sabu.
  4. The Tax Trap- This one got Al Capone. Since there is no evidence against your cyber activities they put you in tax court based on the mismatch of your income and expenditure. It can be avoided by creating appropriate legal mechanisms including corporations.
  5. The Informer Trap– God can protect you against your enemies but not your friends. This can be avoided by delineating the personal private and professional life of your activities in different compartments, hardware and virtual machines including your own personality and brain. Reveal you true identity to boast and you will end up a Reservoir Dog

Screenshot from 2015-08-18 10:55:41

Why I love Open Source

No egos about sharing your hard work

No egos about sharing your great ideas

Lets write the code now lets focus on money later

Reminds me of the Hacker Attitude especially point 4. If only companies could focus on STOPPING selective open source and open core (that Revolution Did with the RevoScaleR package et al)

1. The world is full of fascinating problems waiting to be solved.

2. No problem should ever have to be solved twice.

3. Boredom and drudgery are evil.

4. Freedom is good.

5. Attitude is no substitute for competence.

This made me smile though

Screenshot from 2015-08-05 16:41:55

 

Trolling Behavior on StackOverflow

I have asked a question on Stack Overflow based on discussions between myself and a few others members of Delhi Data Science groups

http://meta.stackoverflow.com/q/296887/447537

How do we report trolling behavior, bullying or harassment in terms of constant and targeted down voting?

I have sometimes noticed trolling behavior by a group of people, they are fairly highly ranked in terms of reputation, but have abysmal manners in terms of snark, group down-voting as well as targeted down-voting.

How do i report such behavior?

Does Stack Overflow have any remedy for small and new users targeted by high reputation users ?

a lovely tool for Data Explorer in Stack Overflow

http://data.stackexchange.com/stackoverflow/query/25355/have-we-met

 

Have we met?

Where have I ‘met’ another user? (Reminder, Jon Skeet’s user id is 22656 🙂 May throw up some false positives because of @Name matches.
- Have we met?
-- Where have I 'met' another user? (Reminder, Jon Skeet's user id is 22656 🙂 May throw up some false positives because of @Name matches.

declare @MyId int = ##MyId##;
declare @TheirId int = ##TheirId##;

declare @LikeMyName nvarchar(40)
select @LikeMyName = '%' + DisplayName + '%' from Users where Id = @MyId

declare @TheirName nvarchar(40)
declare @LikeTheirName nvarchar(40)
select @TheirName = DisplayName from Users where Id = @TheirId
select @LikeTheirName = '%' + @TheirName + '%'

-- Question/Answer meetings
  select
   Questions.Id as [Post Link],  
    case
      when Questions.OwnerUserId = @TheirId then @TheirName + '''s question, my answer'
    else 'My question, ' + @TheirName + '''s answer'
    end as [What]
  from Posts as Questions
  inner join Posts as Answers
   on Questions.Id = Answers.ParentId
  where Answers.PostTypeId = 2 and Questions.PostTypeId = 1
   and ((Questions.OwnerUserId = @TheirId and Answers.OwnerUserId = @MyId )
     or (Questions.OwnerUserid = @MyId and Answers.OwnerUserId = @TheirId ))
union
  -- Comments on owned posts
  select Posts.Id as [Post Link],
    case
      when Posts.PostTypeId = 1 and Posts.OwnerUserId = @TheirId then @TheirName + '''s question, my comment'
      when Posts.PostTypeId = 1 and Posts.OwnerUserId = @MyId then 'My question, ' + @TheirName + '''s comment'
      when Posts.PostTypeId = 2 and Posts.OwnerUserId = @TheirId then @TheirName + '''s answer, my comment'
      when Posts.PostTypeId = 2 and Posts.OwnerUserId = @MyId then 'My answer, ' + @TheirName + '''s comment'
    end as [What]  
  from Posts
  inner join Comments
    on Posts.Id = Comments.PostId
  where ((Posts.OwnerUserId = @TheirId and Comments.UserId = @MyId )
     or (Posts.OwnerUserid = @MyId and Comments.UserId = @TheirId ))

union
 -- @comments on posts
  select Posts.Id as [Post Link],
    case
      when UserId = @TheirId then @TheirName + '''s reply to my comment'
      when UserId = @MyId then 'My reply to ' + @TheirName + '''s comment'
    end as [What]  
  from Comments
    inner join Posts on Comments.PostId = Posts.Id
  where ((UserId = @TheirId and Text like @LikeMyName )
     or (UserId = @MyId and Text like @LikeTheirName))

order by [Post Link]

Random Thoughts on Cryptography

Some random thoughts while taking a walk in the park-az1

1) The inevitability of interception- Sooner or later, encrypted messages will be captured.

2) The cost of decryption- Decryption is inevitable. All the coder can do is increase the cost (time, money and computation) to the enemy

3) Signal/Noise- Introducing multiple algorithms to create random noise messages can increase the cost of decryption but reduce the probability of interception.  The technologically weaker player should introduce more noise to distort the signal/noise ratio knowing the messages are being intercepted anyways ( especially electronic, radio or digital)

4) Intercepted flag- Interception takes time. Flags to capture interception shall help coders in knowing which messages have been intercepted and which not. This of course can be manipulated by the interceptor.

5) Turing is not God- You can use pictures, use Navajo slang, poetry code in the same message. Maybe change the code from binary to something else.cryptography

6) Kill all the decryptographers- Focusing on the personnel of the enemy can help increase the cost of decryption.

(yawns and shrugs)