May
19
awarded Popular Question
May
1
comment MySQL "IN" operator performance on (large?) number of values
For the sake of others, I'll add that running in VirtualBox (CentOS) on my Late 2013 MBP with an i7, the third line (the one relevant to the question) of the output was: Random selection = 500744 Time execution time =53.458173036575s.. 53 seconds might be tolerable depending on your application. For my uses, not really. Also, note that the test for even numbers isn't relevant for the question at hand since it uses the modulo operator (%) with an equals operator (=) instead of IN().
Apr
30
comment How to add additional fields to form before submit?
My preferred answer due to using this instead of the redundant #form
Apr
28
comment Is it possible to show a Facebook app as a Page Tab on mobile devices?
@LysanderGray: Did you find a workaround for this? For years, the solution provided by CBroe seemed to work. However, now I've noticed the links don't work from the FB mobile app. Maybe this is the way it was before and I just didn't notice it? Not sure...
Apr
28
awarded Student
Apr
28
comment Can I use SketchUp with a Macbook's trackpad?
Confession: Asking this question mainly because I always forget, and the top results on Google don't seem to answer the question right... Maybe I'll see this next time I'm searching. And maybe it will help someone else! :)
Apr
28
asked Can I use SketchUp with a Macbook's trackpad?
Apr
28
answered Can I use SketchUp with a Macbook's trackpad?
Apr
27
revised Updating a post without escaping ampersands?
added 55 characters in body
Apr
27
awarded Yearling
Apr
27
comment Updating a post without escaping ampersands?
Also, researching this a bit more, it looks like someone has blogged about this. And, as it turns out, that person was me. Facepalm? :) endorkins.com/2013/08/27/…
Apr
27
comment Updating a post without escaping ampersands?
Fun trivia: KSES is a recursive acronym meaning, "KSES Stops Evil Scripts"
Apr
27
answered Updating a post without escaping ampersands?
Apr
27
asked Updating a post without escaping ampersands?
Apr
23
comment Detecting errors generated by $wpdb->get_results()
Sounds reasonable - I can't look into this right now, but if this works, it would come in handy in the future! Thanks! :)
Apr
20
awarded Caucus
Mar
30
comment What is the difference between Insights metrics page_engaged_users and page_consumptions_unique?
2015 Update: See also brnrd.me/engagement-vs-consumption-the-facebook-dilemma
Mar
28
comment Providing alternative text for copy/paste
While I'm still interested in a possible answer to this question, the approach I ended up using (for the case described in the comments above) was: table td { white-space: nowrap; max-width: 300px; overflow: hidden; }
Mar
28
comment Providing alternative text for copy/paste
Of course, the best solution is to probably just provide a "copy to clipboard" button that copies the full, untrimmed data. Regardless, I thought I'd ask, because I remembered having done something like this in the past.
Mar
28
comment Providing alternative text for copy/paste
Thanks for your insight. I'm planning on using it on a backend that displays large amounts of data in a table. Some cells contain a lot of text that makes the rows incredibly tall (since there are so many wrapped lines in the cell). The idea is to display a preview of the text, but when the user copies the text, he/she gets the full version. Speaking of which, writing this comment reminds me - I think I might have solved this by using HTML/CSS to effectively "disable" the soft wrapping of the cell...
1 2 3 4 5