20h
accepted CSS Adjust div width to text content width up to X pixels
20h
comment CSS Adjust div width to text content width up to X pixels
max-width: 200px + width: auto does not seem to work in any case, not only mine. Check out jsfiddle.net/9fhtsgfd (Chrome still renders a 800px width div in both cases in that example)
20h
revised CSS Adjust div width to text content width up to X pixels
added 78 characters in body
20h
comment CSS Adjust div width to text content width up to X pixels
It would be more like max-width: 200; width: auto;. But in that case the content gets wrapped before reaching 200px. I don't know why...
20h
comment CSS Adjust div width to text content width up to X pixels
nope. If the content is less than 200px I want the width to be the content width, not 200px.
20h
asked CSS Adjust div width to text content width up to X pixels
Sep
11
revised PHP scripts aren't run on localhost
added 7 characters in body
Sep
11
answered PHP scripts aren't run on localhost
Sep
7
accepted Parse APEX RESTful WebService reference JSON response stored in CLOB001 column
Sep
2
comment Parse APEX RESTful WebService reference JSON response stored in CLOB001 column
That was pretty much my line of thinking and now I've modified the rest service to output XML instead (A one line modification, after all). I was just wondering, with JSON being so popular for rest services, how come there is no straight forward way to handle response parameters, as it is for XML? The examples I've found also use AJAX calls, but if I need server-server communication (I don't want the client to be able to see the details of this call or I'm calling an internal service) and modifying the REST service to output XML is not an option it would be nice to have that kind of feature...
Aug
29
asked Parse APEX RESTful WebService reference JSON response stored in CLOB001 column
Aug
21
awarded Supporter
Aug
20
answered One of my project subdirectories has disappeared from Eclipse PHP Explorer and refuses to reappear
Aug
20
comment One of my project subdirectories has disappeared from Eclipse PHP Explorer and refuses to reappear
Thanks for the tip, but it didn't work either. The folder reappears, yes, but as soon as as I close and reopen the project it's missing again, so no improvement at all (I even copied the entire folder to a dedicated workspace with the same results). Anyway, what did work was upgrading Eclipse to last version (Luna), removing the project files (.settings, .classpath and .project) and creating a new project on a new workspace. Now I can close and reopen the project as many times as I want :-)
Aug
17
comment Check if a word is combo of some given symbols
I see your point. I'm about to try that :-)
Aug
10
comment Check if a word is combo of some given symbols
BTW: You'll see that in the first screen capture the exec times on the first test are considerably higher: ~320 seconds for the iterative and ~25 seconds for the recursive. That's because on that test I was using the ~10000 symbols dictionary (The one that breaks the regex; that's also why there's no regex result).
Aug
10
revised Check if a word is combo of some given symbols
added 272 characters in body
Aug
10
comment Check if a word is combo of some given symbols
I didn't notice it was running slower on ideone, but now you've pointed it out I did retest and still got the same 12x faster results (pic2: imgur.com/a/51IeS) on my dev server, but not on my production server (pic3: imgur.com/a/51IeS). This is really weird because, despite one being a VirtualBox machine and the other an EC2 instance, they have exactly the same configurations (OS and PHP version, config and updates, as well as available RAM and number of virtual cores)
Aug
10
comment Check if a word is combo of some given symbols
Thanks, I'll try that, maybe it'll work :-) About the recursive method beating the iterative, that's pretty curious: As the number of symbols in the word to test increases, the iterative method should be faster, or at least more memory efficient. I did verify it on my development server: The iterative version ran consistently faster: about 12x faster every time (Check pic1 on this album: imgur.com/a/51IeS).
Aug
10
revised Check if a word is combo of some given symbols
added 4 characters in body
1 2 3 4 5