28,984 reputation
453102
bio website
location
age
visits member for 3 years, 10 months
seen 16 mins ago

May
23
answered Ticket/Raffle DB schema
May
23
comment Ticket/Raffle DB schema
Store the tickets individually. It is not too much data.
May
23
comment Image Processing in browser is too slow on Android compared to that with desktop browser
You might look at the image filters in fabric.js. They seem to do ok in mobile browsers.
May
22
comment How significant is node's advantage of training developers in only one language and putting them on tasks across the tech-stack?
Completely agree with @MichaelT. The assertion here is that JavaScript on both the client and server would be less expensive than mixing JavaScript and PHP. I suspect that's not inherently true. Client and server-side programming are quite different, and the cost of entry for PHP (in terms of training, 3rd party support, available talent) is, IMO, a lot less than node.
May
22
comment Hashing + security as it pertains to a theoretical file sharing site
It might be more helpful when updating a file that had changed than it would be for new files.
May
22
comment Hashing + security as it pertains to a theoretical file sharing site
Oh, absolutely. You might also hash chunks of files, thereby allowing parts of files to match. I believe that's what bittorrent does.
May
21
answered Hashing + security as it pertains to a theoretical file sharing site
May
21
comment Store history in SQL database column
No, this is fine here, its a conceptual development question.
May
19
comment Direct database manipulation an anti-pattern?
that's much better!
May
19
comment Direct database manipulation an anti-pattern?
Its very difficult to answer "could it" or "is it possible" questions negatively. Be more direct with what you are asking.
May
15
comment How to find out if a tile is being covered by a polygon?
How are you determining if a tile is overlapped by the polygon now? Is this real-time rendering?
May
9
answered Single programmer working on a project from different computers: is Dropbox a good solution?
May
7
comment Develop a website using mustache.js and PHP
I use mustache.js in one of my sites for building certain parts of the interface. Works fine.
May
5
answered Back button after doing posts on the same page
May
5
comment Back button after doing posts on the same page
Whats the problem with the browser's regular back button? Is it that there's posted data and you cant go back without refreshing the page?
May
5
comment What is the best way to store multilingual data in MongoDB?
How are you defining 'correct' here? Are you asking if that will work? Sure.
May
2
comment Multiple long polling requests: bad idea?
I agree with Doval - step one is to re-engineer it to use a single connection. Whether a large number of long polling clients will be an issue or not really depends on what you are doing on a server. It'd be fine in node, for example. But probably not a great idea if you're launching a thread or process per connection.
May
1
answered Large MySQL Batch Inserts From PHP: Run insert from script, or save as SQL file?
May
1
comment Implementing a first basic interpreter: what should I learn first?
Yes, use the concepts of 'lexing' and 'tokens' and the like. I'm not suggesting you don't learn the concepts involved with an interpreter. I'm saying an interpreter is a much larger project than many people realize, so its not just something you sit down one day and learn everything about in one try.
May
1
comment Implementing a first basic interpreter: what should I learn first?
A full blown interpreter can be a very complex thing to create (assuming you intend to do it by hand), and there's lots of theoretical concepts involved. I'm suggesting you start off with a small chunk of those concepts and solve a more discrete problem (an expression evaluator) rather than trying to dive right into the whole thing.