• Member Avatar for Mike Askew
    Mike Askew

    Marked Solved Status for Simple One - TimeSpan.ToString() Formatting

    Howdy I have a timespan that contain in excess of 24 hours. For the example lets use a value of 1 day 6 hours and 32 minutes. I would like …
  • Member Avatar for Mike Askew
    Mike Askew

    Created Simple One - TimeSpan.ToString() Formatting

    Howdy I have a timespan that contain in excess of 24 hours. For the example lets use a value of 1 day 6 hours and 32 minutes. I would like …
  • Member Avatar for Mike Askew
    Mike Askew

    Began Watching Simple One - TimeSpan.ToString() Formatting

    Howdy I have a timespan that contain in excess of 24 hours. For the example lets use a value of 1 day 6 hours and 32 minutes. I would like …
  • Member Avatar for Mike Askew
    Mike Askew

    Began Watching Automatically export data in different folders

    Im using NetBeans to create a data entry software for a friend. when I save a data, it create a folder in specified location, and the name of that folder …
  • Member Avatar for Mike Askew
    Mike Askew

    Replied To a Post in Automatically export data in different folders

    I'm not sure what you are trying to do?
  • Member Avatar for Mike Askew
    Mike Askew

    Replied To a Post in Face detection software.

    I would have a look at http://www.codeproject.com/Articles/239849/Multiple-face-detection-and-recognition-in-real
  • Member Avatar for Mike Askew
    Mike Askew

    Marked Solved Status for Async Web Requests

    Using code from StackOverflow: HttpWebRequest webRequest; void StartWebRequest() { webRequest.BeginGetResponse(new AsyncCallback(FinishWebRequest), null); } void FinishWebRequest(IAsyncResult result) { webRequest.EndGetResponse(result); } How do you access the response to the request?
  • Member Avatar for Mike Askew
    Mike Askew

    Replied To a Post in Async Web Requests

    I realise I have asked the dumbest question ever, just dawned on me the `EndGetResponse` returns a HttpWebResponse object.... It's early I tell you!
  • Member Avatar for Mike Askew
    Mike Askew

    Created Async Web Requests

    Using code from StackOverflow: HttpWebRequest webRequest; void StartWebRequest() { webRequest.BeginGetResponse(new AsyncCallback(FinishWebRequest), null); } void FinishWebRequest(IAsyncResult result) { webRequest.EndGetResponse(result); } How do you access the response to the request?
  • Member Avatar for Mike Askew
    Mike Askew

    Began Watching Async Web Requests

    Using code from StackOverflow: HttpWebRequest webRequest; void StartWebRequest() { webRequest.BeginGetResponse(new AsyncCallback(FinishWebRequest), null); } void FinishWebRequest(IAsyncResult result) { webRequest.EndGetResponse(result); } How do you access the response to the request?
  • Member Avatar for Mike Askew
    Mike Askew

    Replied To a Post in slowness in transaction with SQL DataBase

    You should look into using a SQL transaction to execute all of your requests in one go, rather than one at a time.
  • Member Avatar for Mike Askew
    Mike Askew

    Gave Reputation to ddanbe in c# array issue

    Your `GetPeople` method returns an array of `Person` objects. If you want to get, say a persons last name of the second person in the array, you use `Person[1].LastName`.
  • Member Avatar for Mike Askew
    Mike Askew

    Began Watching slowness in transaction with SQL DataBase

    **Hello every body,** I working an application in C# to process a log file that has a size 1 terabytes. I have to read the file row by row and …
  • Member Avatar for Mike Askew
    Mike Askew

    Replied To a Post in slowness in transaction with SQL DataBase

    As Suzie said, seeing the code would help here.
  • Member Avatar for Mike Askew
    Mike Askew

    Created Download a PDF over WCF

    Hi So I have a silverlight 5 front end and some PDF generating code that is not silverlight compatible and so needs to sit server side and is called via …
  • Member Avatar for Mike Askew
    Mike Askew

    Began Watching Download a PDF over WCF

    Hi So I have a silverlight 5 front end and some PDF generating code that is not silverlight compatible and so needs to sit server side and is called via …
  • Member Avatar for Mike Askew
    Mike Askew

    Replied To a Post in Email Alerts Not Working

    Sorry blud, I wasn't aware of the last responses, do you still want email? Latest amusing email of the day... commented on a post and 5 minutes later got an …
  • Member Avatar for Mike Askew
    Mike Askew

    Began Watching Face detection software.

    Recently Im trying to make a software who can detect multiple faces in the some time. but not only faces. Eyes, Nose, mouth. saw some vids in youtube but they …
  • Member Avatar for Mike Askew
    Mike Askew

    Replied To a Post in Face detection software.

    There are multiple topics on this in both languages you have posted this under on codeproject which I found in about 10 seconds using Google. Why do you want to …
  • Member Avatar for Mike Askew
    Mike Askew

    Replied To a Post in String percentage formatting

    I hadn't tin and it was the solution, Prit beat you too it
  • Member Avatar for Mike Askew
    Mike Askew

    Marked Solved Status for String percentage formatting

    Ok time for the 2nd dumb question of the day that I should probably already know the answer too.. I have `string.Format(" {0, -22} | {1, 5} of {2, -5} …
  • Member Avatar for Mike Askew
    Mike Askew

    Replied To a Post in String percentage formatting

    Solved
  • Member Avatar for Mike Askew
    Mike Askew

    Created String percentage formatting

    Ok time for the 2nd dumb question of the day that I should probably already know the answer too.. I have `string.Format(" {0, -22} | {1, 5} of {2, -5} …
  • Member Avatar for Mike Askew
    Mike Askew

    Began Watching String percentage formatting

    Ok time for the 2nd dumb question of the day that I should probably already know the answer too.. I have `string.Format(" {0, -22} | {1, 5} of {2, -5} …
  • Member Avatar for Mike Askew
    Mike Askew

    Replied To a Post in string.Format Text Alignment

    Good shout, it's Courier New though for monospacing
  • Member Avatar for Mike Askew
    Mike Askew

    Marked Solved Status for string.Format Text Alignment

    So I have recently come across `string.Format("{0, x}", "Word")` for aligning strings, with demonstration code that works fine in the CMD. Does this also function correctly when pumping text to …
  • Member Avatar for Mike Askew
    Mike Askew

    Replied To a Post in string.Format Text Alignment

    and Prit takes the gold star once again... now to find a fixed width font that looks pretty...
  • Member Avatar for Mike Askew
    Mike Askew

    Replied To a Post in string.Format Text Alignment

    Aha shall try that and report back
  • Member Avatar for Mike Askew
    Mike Askew

    Created string.Format Text Alignment

    So I have recently come across `string.Format("{0, x}", "Word")` for aligning strings, with demonstration code that works fine in the CMD. Does this also function correctly when pumping text to …
  • Member Avatar for Mike Askew
    Mike Askew

    Began Watching string.Format Text Alignment

    So I have recently come across `string.Format("{0, x}", "Word")` for aligning strings, with demonstration code that works fine in the CMD. Does this also function correctly when pumping text to …
  • Member Avatar for Mike Askew
    Mike Askew

    Created Rest In Peace - Satoru Iwata

    A man who has impacted generation's childhood's. A developer and CEO. Some of his developmental achievements are damn impressive. A sad day :(
  • Member Avatar for Mike Askew
    Mike Askew

    Began Watching Rest In Peace - Satoru Iwata

    A man who has impacted generation's childhood's. A developer and CEO. Some of his developmental achievements are damn impressive. A sad day :(
  • Member Avatar for Mike Askew
    Mike Askew

    Gave Reputation to <M/> in Seeking a partner to create something world changing

    >Help with Java/PHP/Programming problem * Gaining advice on different business endeavours I've tried/want to try * Expressing my disdain for joining a company and building a conventional career Does that …
  • Member Avatar for Mike Askew
    Mike Askew

    Marked Solved Status for Bootstrap DatePicker

    I've inherited some code utilising the bootstrap framework. I'm currently seeing some odd behaviour where no matter what date was last picked, the date picker always seems to open showing …
  • Member Avatar for Mike Askew
    Mike Askew

    Replied To a Post in Bootstrap DatePicker

    Resolved. Within the `DPGlobal.parseDate` method it was looking for a format of `mm` whereas the format was `MM` so was defaulting to the current month. :)
  • Member Avatar for Mike Askew
    Mike Askew

    Began Watching How to prevent others from seeing contents of sql file

    Hi all! I have developed my application in VB.NET that uses a mysql database. From my application, I can make mysql backups and restore them. When i take a backup, …
  • Member Avatar for Mike Askew
    Mike Askew

    Replied To a Post in How to prevent others from seeing contents of sql file

    Can you not just restrict access to the folder holding your backups via user permissions on the OS?
  • Member Avatar for Mike Askew
    Mike Askew

    Replied To a Post in Bootstrap DatePicker

    Just been digging. Traced it down to the constructor. `this.format = DPGlobal.parseFormat(options.format||this.element.data('date-format')||'mm/dd/yyyy');` and then `this.date = DPGlobal.parseDate(typeof newDate === 'string' ? newDate : (this.isInput ? this.element.prop('value') : this.element.data('date')), this.format);` where …
  • Member Avatar for Mike Askew
    Mike Askew

    Created Bootstrap DatePicker

    I've inherited some code utilising the bootstrap framework. I'm currently seeing some odd behaviour where no matter what date was last picked, the date picker always seems to open showing …
  • Member Avatar for Mike Askew
    Mike Askew

    Began Watching Bootstrap DatePicker

    I've inherited some code utilising the bootstrap framework. I'm currently seeing some odd behaviour where no matter what date was last picked, the date picker always seems to open showing …
  • Member Avatar for Mike Askew
    Mike Askew

    Created WPF Report Style Presentation

    Howdy So I have a set of data coming back from a process with five different pieces of data per entry in the set. Are there any fancy ways you …
  • Member Avatar for Mike Askew
    Mike Askew

    Began Watching WPF Report Style Presentation

    Howdy So I have a set of data coming back from a process with five different pieces of data per entry in the set. Are there any fancy ways you …
  • Member Avatar for Mike Askew
    Mike Askew

    Replied To a Post in Email Alerts Not Working

    I got it yesterday at 10:20am :) Still a tad late :p
  • Member Avatar for Mike Askew
    Mike Askew

    Replied To a Post in Email Alerts Not Working

    I just got the email about the above post, down to 10 mins behind!
  • Member Avatar for Mike Askew
    Mike Askew

    Replied To a Post in Email Alerts Not Working

    Yes I turned on the mailing list when you first released it when we all didn't know what to expect :D Guess I'll settle for hourly! Just got to wait …
  • Member Avatar for Mike Askew
    Mike Askew

    Gave Reputation to jkon in PDO database select not returning expected data

    Are both trimmed ? Also what is the password type of the table field (could be smaller)? Irrelevant but Notice: That the PASSWORD_DEFAULT might change from one PHP version to …
  • Member Avatar for Mike Askew
    Mike Askew

    Replied To a Post in PDO database select not returning expected data

    Oh my days. Simple things... I didn't update the field size in db from 50 when moving to hashings. Set to 255 and re-created user and now it works. Issues …
  • Member Avatar for Mike Askew
    Mike Askew

    Replied To a Post in PDO database select not returning expected data

    Just done some reading on stack overflow. It is correct that I don't see the same as `password_hash` won't give the same response twice. So just have to figure out …
  • Member Avatar for Mike Askew
    Mike Askew

    Replied To a Post in PDO database select not returning expected data

    jkon, yeah the data is coming through now, just the password hashing that isn't lining up for some reason..
  • Member Avatar for Mike Askew
    Mike Askew

    Replied To a Post in PDO database select not returning expected data

    password_hash($regPassword, PASSWORD_DEFAULT) `$2y$10$fVVIZoq1WrgW6trHhp0hCe7jeAeMExKjOJH3dx92rHznCOL2BAsuC` is generating a different hash for the same password password_verify($subPassword, $result[0]["password"]) `$2y$10$IHO5FhB62/LrIFyAf0K2quDFe4yN6Jv9z1unzf2EHVL` Same password entered on both pages but echoing password_hash on the same page as the …

The End.