Wednesday, August 13, 2014

many Entries from my last few days

I've been  working on a project lately that is requiring me to take put brush my  asp.net skills and also my IIS now with the 8 version. Last time I touched was version 5 so is been a while.

here are some post from Stackoverflow that were useful when I couldn't understand what was going on.

1. Error with assigned ports on vs projects  Here

2. Request error on IIS. Here


http://www.shortoftheweek.com/2014/08/13/floating/



4. Paraguay NIghtLIfe. It's been two years.

Monday, June 16, 2014

Xampp and Skype

if you have a problem using Skype or Xampp at the same time, You just might need to go to

Tools > Options > and click on Connections on the right panel

un check port 80 and enter port 443.

Thursday, May 29, 2014

The Zen of Python



The Zen of Python, by Tim Peters

Beautiful is better than ugly.
Explicit is better than implicit.
Simple is better than complex.
Complex is better than complicated.
Flat is better than nested.
Sparse is better than dense.
Readability counts.
Special cases aren't special enough to break the rules.
Although practicality beats purity.
Errors should never pass silently.
Unless explicitly silenced.
In the face of ambiguity, refuse the temptation to guess.
There should be one-- and preferably only one --obvious way to do it.
Although that way may not be obvious at first unless you're Dutch.
Now is better than never.
Although never is often better than *right* now.
If the implementation is hard to explain, it's a bad idea.
If the implementation is easy to explain, it may be a good idea.
Namespaces are one honking great idea -- let's do more of those!

Friday, May 16, 2014

Acomba Software

 Some software company that I was checking during my research for Accouting Software in the cloud.

 
http://www.acomba.com/Solutions/AcombaXSuiteComptabilite

probably a point of comparison for available services and products to get ideas from.

Tuesday, May 6, 2014

Messy Outlook Image for signatures



How unfriendly is to have to make a 3 steps process to insert images on an email.

Outlook 365

so here I am trying to insert a signature for my internship  mail.


Saturday, November 16, 2013

C++ pthread Error on Eclipse.

So here it is the path to configure the library that I was missing for my code to compile. Basic but if you don't know can be annoying.

right cklick on the project in the

project explorer -> properties -> c/c++ build

ONCE  you are in the  C/C++ Build settings. you proceed like this:

c/c++ build -> Settings -> linker -> libraries -> add -> pthread ->

once you add the library  you click OK and Rebuild

ok -> rebuild

That should do the trick for: pthread_create and the such.


Wednesday, March 13, 2013

new Iphone Game




       So to put up a code with an example of what I'm trying to achieve today is my new game..  whozapp with initially is going to make a game based on images that you have to guess.   

  Here is the code for the "viewcontroller.h"   
       
           #import

@interface ViewController : UIViewController{
    NSString *Answerstring;
}

//declaring the properties.

@property (weak, nonatomic) IBOutlet UITextField *AnswerText;

@property (weak, nonatomic) IBOutlet UIButton *AnswerButton;

@property (weak, nonatomic) IBOutlet UILabel *Answerlabel;

// need to declare the IBaction for the control we are passing the event.
- (IBAction)AnswerButtonClicked:(id)sender;


//declaring properties for the sports Category


@end
 



and the  code for the viewcontroller.m :

 (IBAction)AnswerButtonClicked:(id)sender {
   
    [AnswerText resignFirstResponder];

    Answerstring = AnswerText.text;
    //userTwoString = user2.text;
    
    if([Answerstring isEqual:@"George Bush"] ||  [Answerstring isEqual:@"George W. Bush"] ||
       [Answerstring isEqual:@"Bush"]        || [Answerstring isEqual:@"George"] ){
        Answerlabel.text = @"You are correct, continue!";
        Answerlabel.textColor = [UIColor whiteColor ];
       
        //Answerlabel.backgroundColor = [UIColor blueColor];
    }else{
        Answerlabel.text = @"Sorry Incorrect, hint:former President of USA ";
        Answerlabel.textColor = [UIColor whiteColor ];
        Answerlabel.backgroundColor = [UIColor magentaColor];
    }

is we see here is just validating the data with a plain, vulgar text on the condition but we are going to put this on a enum so we can have a cleaner elegant code.