29,944 reputation
455111
bio website
location
age
visits member for 4 years, 3 months
seen 13 hours ago

Aug
1
answered Executing ajax calls in setTimeout after set intervals?
Jul
28
answered Changing an int to be a string in PHP / MySQL Schema
Jul
23
comment secure offline PC storage accessible through javascript
Yes, or you can pull it off the server as needed. But doing the latter wouldn't help when offline. That's why I recommended a desktop application instead - it'd be a lot more flexible. There are technologies like node-webkit that let you build desktop applications using HTML/JavaScript if you feel you need to stick with that.
Jul
23
comment secure offline PC storage accessible through javascript
You could encrypt it before putting the data into Local Storage. But this sounds like it might be a better case for a normal desktop application, not a web application.
Jul
22
comment Why is polling accepted in web programming?
@dennis given that a browser can't accept an incoming request, how then would a server initiate such a connection? The connection has to be initiated by the browser.
Jul
22
comment Why is polling accepted in web programming?
Ignoring for a moment that web browsers are not servers that can receive incoming connections... wait, no, lets not ignore that.
Jul
20
awarded  Nice Answer
Jul
20
answered Is it a bad practice to give two very different files with the same general purpose the same name?
Jul
18
comment Desktop client server application, limiting text area field compromise with customers
Is this really slowing down performance? Are you pulling back that information only when needed?
Jul
15
comment Cannot explain to the customer that he is taking the project wrong way
If a client is too busy to give you specs for the project, don't be surprised if they are too busy to send you payment.
Jul
15
comment Is there still any value in learning assembly languages today?
And who is going to create those magical assembly routines if no one learns assembly language?
Jul
14
comment Minimizability or readability?
@LukeMadhanga every bit does help, theoretically. But it may not have a noticeable affect. If you are going to optimize, you should measure. There's no point in trying to save 4 bytes when it would not result in any perceivable improvement by the user.
Jul
14
comment Minimizability or readability?
It sounds like you are over-analyzing things. Are you benchmarking actual performance, or just making changes like that regex because you 'feel' it will make things faster?
Jul
11
comment Javascript and SQL Lite (multi browser offline SQL/database query)
How are you going to write to a SQLite database, particularly if legacy browsers need to be supported? I agree with @DocBrown, you are probably better off with an actual desktop app. If you really want to stick with web technologies, there are a few solutions such as node-webkit that would allow you to build a desktop app using HTML/JS, which could then be used w/phonegap for mobile.
Jul
11
answered Is there a better way to load objects?
Jul
10
comment How to update a row in database without ID?
Some dbms's have built-in row id's that can reference a row even if no id is defined in the table schema. You might check your dbms's docs to see if yours does. (MySQL does not, SQLite does)
Jul
9
comment What is the simplest archive file format to aim for when writing collections of files?
You might insert files as blobs into an SQLite database. That'd give you direct access to read/write/update/delete files without having to roll your own format.
Jul
7
comment How can I cancel all running mysql queries in a web application?
Do you have indexes set up on that column to speed up searching?
Jul
3
comment Cross Platform Compilation of C++ .exe
You might automate the process of doing the remote build. You can ssh < filename to inject compile commands from a file into an ssh session. That can provide a 'one click' solution on your end to build all the necessary executables.
Jul
2
comment Managing database schema for a C++ app
You really need to clarify the question and describe how all the pieces go together, because the way it reads it sounds like your C++ program is doing the updates - "Managing database schema in a C++ app". If all you intended was for some SQL update scripts, that your client app is written in C++ isn't relevant.