Reputation
30,582
Next tag badge:
118/100 score
19/20 answers
Badges
4 57 112
Newest
 Nice Answer
Impact
~968k people reached

Jul
2
comment Would it be possible to create a language similar to Ruby/Python with static typing that had the speed/memory usage of a compiled C program?
There's no reason it wouldn't be possible. For example, look at Apple's Swift, which is a higher level language that compiles to native code.
Jul
2
comment When should mixed PHP/JS snippets be refactored into a separate JS file?
That is pretty painful to look at. Its probably easier for the author of the code to maintain because he wrote it.
Jul
1
comment Make a gui for the windows command line function junction point
The 'easiest' way is too subjective. For me the easiest way would be Delphi, because I already have it installed.
Jun
27
comment Updating a video's view count. Should this happen client-side or server-side?
What you are describing seems sensible. Update it on the server each time the client presses play.
Jun
27
comment Eclipse plugins - safe to install?
Generally, sure. I've installed a bunch without problem. Though I've only ever installed the ones available through their built "install new software" system.
Jun
26
comment Sharing functionality between platforms and languages
How complex are the graphics? On the Web side you'll probably want to look at WebGL, not canvas. But that would still be a re-write.
Jun
25
comment BCMath vs MySQL: performance
I'd use MySQL. I'd be very surprised if returning all the necessary rows to perform your calculations within PHP would be faster than having MySQL handle it. But like virtually every other optimization question posted here, there's only one way to know for sure and that's to try both.
Jun
25
comment BCMath vs MySQL: performance
Sounds like your actual question is BCMath vs your ORM, not MySQL.
Jun
25
comment Linux header files for Win32 typedefs like BOOL, LONG, and WCHAR
Since that code is from the ReactOS source, I would start looking there or at WINE's source for the headers.
Jun
23
comment Is serving a single document from a server to a browser slower than serving multiple documents?
base64 will increase the size of your images significantly. Also by using separate css and js files, they can be cached between pages by the browser, reducing the transfer size.
Jun
17
comment Making a safe PHP login system
You don't want to save the user id hash on the client. Save it as part of a session variable as I described in the other question. You only need to store a unique and random session id on the client. From that you can retrieve the session information from your database.
Jun
17
comment The correct way to use Sessions (PHP)?
What exactly is your concern with it?
Jun
8
comment NoSQL or MySQL?
To paraphrase Mr. Myagi, either MySQL do or NoSQL do... but sit in the middle of road by using both... squashed like grape.
Jun
3
comment Why would I need node.js to run a javascript library?
It looks like it uses npm to install dependencies, but to be sure you should ask the author of that package directly.
May
22
comment DLL or web service for common functions?
A web service could be many thousands of times slower for just 'internal math calculations' than a local DLL. I think you need to look at the specific bits of functionality in question rather than a one-size-fits-all approach.
May
6
comment how to import large amounts of data without locking sqlite database
You might try parsing the csv file and loading it into a second table (perhaps a memory table), and then do a single bulk insert statement into the final table there. That would at least cut out the csv processing time. Also, make sure you are doing the whole thing within a single transactions - that seems to make a big difference.
May
1
comment Social network notification system
I worked on a project with a similar (but smaller) notification system. I had a background process that looked at a queue of new posts and handled the notifications (which in this case was actually inserting an email into a second queue for sending). It wasn't real time, but it generally handled everything within a couple minutes.
May
1
comment Social network notification system
Can you expire notifications? For example, delete anything over 2 weeks old. That should more or less balance out the size of the table used as the site matures.
Apr
22
comment Executing a script continuously
You can set your script up to be run by the mail server for each incoming email.
Apr
22
comment Can a the kind of load Uber handles be served from just one server?
It sounds like its one million business transactions, not one million web requests. There's likely many hundreds or thousands or more web requests per business transaction.