Reputation
30,672
Next tag badge:
117/100 score
18/20 answers
Badges
4 58 112
Newest
 Good Answer
Impact
~986k people reached

15h
comment Multiple Canvas in the Browser — How to Proceed?
I just don't see what the benefit of using iframes would be here. It doesn't give you any more flexibility, and it complicates the page.
Aug
26
comment How to do simple video processing with PHP?
@PeregrineStudios Install ffmpeg with 'apt-get install ffmpeg'. If that doesn't work for you, you'll get better results by asking for assistance on how to install it either on ffmpeg's forums or possibly the Ubuntu stack site.
Aug
26
comment How to do simple video processing with PHP?
PHP lets you directly call command line programs, so build the command line you want to run and run it from PHP.
Aug
18
comment An anti-piracy technique that locks software to a specific computer?
@Ouroborus "Is it possible to create an anti-piracy technique...". I would call that an 'is it possible' question.
Aug
17
comment An anti-piracy technique that locks software to a specific computer?
"Is it possible" questions generally make for poor questions.
Aug
13
comment Authenticate Joomla User from an External App based on Node.js, Javascript and mongoDB
@user2190986 a Joomla database is typically just a normal MySQL database (though I believe it could be others as well). So it seems what you really should look for is how to access SQL databases from node - for which there are plenty of resources online. You'd connect to the database and query the joomla users table to do the authentication.
Aug
12
comment Authenticate Joomla User from an External App based on Node.js, Javascript and mongoDB
What exactly is the problem? Can't you check the credentials against the joomla database in node?
Jul
23
comment Why does convention say DB table names should be singular but RESTful resources plural?
@user61852 There are people who may use it by convention. But it is by no means a broadly followed industry convention as presented in this question in the way, say, that camelCase or MarkDown is.
Jul
23
comment Why does convention say DB table names should be singular but RESTful resources plural?
There is no such established convention. I've always used plural table names. users, accounts, etc, since they are holding more than one of that thing.
Jul
15
comment One table for all transaction VS. Table for each user
If you go with one table per user, what happens when you need to calculate the sum of transactions for all users across a particular date range?
Jul
8
comment Obstacle bypass in 2d environment
Is this a homework question... or for an actual robot without knowledge of what is ahead? If the latter, have it follow along the obstruction until its movement towards the target is no longer obstructed.
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.
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
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?