So i've made a Node class : public class IntNode { private int _value; private IntNode _next; public IntNode(int v, IntNode n) { _value = v; _next = n; }… Discussion Thread by Adam_35 in Software Development
… uses isMember until you have tested isMember Reply by JamesCherrill
3 Weeks Ago
… a hidden checkbox. I have tested this page on a number… Discussion Thread by Susan_5 in Web Development
css
3 Weeks Ago
… a hidden checkbox. I have tested this page on a number… Discussion Thread by Susan_5 in Web Development
css
Unless your website is targeting an intranet or users where you have some control over what they will be using, I would definitely do my very absolute best to be backwards compatible, or at least downgrade nicely, for over 6% of my users. I tend to not … Reply by Dani
3 Weeks Ago
… a hidden checkbox. I have tested this page on a number… Discussion Thread by Susan_5 in Web Development
css
Thanks rproffitt -- very helpful links. Reply by Susan_5
3 Weeks Ago
… a hidden checkbox. I have tested this page on a number… Discussion Thread by Susan_5 in Web Development
css
Dani, I agree about backward compatibility, but what can I do here to distinguish between older androids and everone else? I don't want to remove these capabilities for everyone because they don't work for a few. I could easily give users of older … Reply by Susan_5
3 Weeks Ago
… a hidden checkbox. I have tested this page on a number… Discussion Thread by Susan_5 in Web Development
css
Perhaps check the user agent? Reply by Dani
3 Weeks Ago
… a hidden checkbox. I have tested this page on a number… Discussion Thread by Susan_5 in Web Development
css
You use the checkbox hack and what I know is that pseudo-class + general (`+`) / adjacent (`~`) sibling combinators doesn't work on Android below 4.1.2. but there is a solution for that. body { -webkit-animation: bugfix infinite 1s; } @-… Reply by gentlemedia
3 Weeks Ago
… a hidden checkbox. I have tested this page on a number… Discussion Thread by Susan_5 in Web Development
css
Not familiar with keyframes (other than seeing them used and never doing anything myself with them). Is "bugfix" just a friendly name? Reply by Dani
3 Weeks Ago
… a hidden checkbox. I have tested this page on a number… Discussion Thread by Susan_5 in Web Development
css
It's just a name picked by that Tim of the pen :) It could be any name. It's the [animation-name](https://developer.mozilla.org/en-US/docs/Web/CSS/animation-name) which you would refer to in the `@keyframes` Reply by gentlemedia
3 Weeks Ago
… a hidden checkbox. I have tested this page on a number… Discussion Thread by Susan_5 in Web Development
css
Thanks gentlemedia, that did the trick. And thanks everyone for your responses. I've used @keyframes for fading objects in/out. I'm not sure what it is doing here, but it works! Reply by Susan_5
3 Weeks Ago
… a hidden checkbox. I have tested this page on a number… Discussion Thread by Susan_5 in Web Development
css
Good stuff! > I've used @keyframes for fading objects in/out. I'm not sure what it is doing here, but it works! It seems that old Android needs a useless animation on the body tag for it to work :) Reply by gentlemedia
3 Weeks Ago
….) User input has to be tested using !cin.eof() &&… Discussion Thread by Sam_20 in Computer Science
You need #include <new> Reply by Chris_38
2 Weeks Ago
….) User input has to be tested using !cin.eof() &&… Discussion Thread by Sam_20 in Computer Science
This is when I drop back to C and use realloc() - much easier and sets errno appropriately if you run out of heap (returning NULL for the result of the call). No copying necessary - realloc() will allocate the new memory and copy data as necessary. … Reply by rubberman
1 Week Ago
… possible backside issue, I have tested from a fresh connection through… Discussion Thread by cereal in Databases
1 Week Ago
… possible backside issue, I have tested from a fresh connection through… Discussion Thread by cereal in Databases
If you are only interested in the number of rows of something then do SELECT COUNT(*) FROM test [WHERE...] Doing SELECT SQL_CALC_FOUND_ROWS * FROM `test` is a waste. In the first case, all the db has to return is the record … Reply by Reverend Jim
1 Week Ago
… possible backside issue, I have tested from a fresh connection through… Discussion Thread by cereal in Databases
Jim, I think that cereal is just demonstrating a simple example to show that found_rows() isn't working for him, and his actual use case isn't as simplistic as in the example he demonstrated. The advantage to using found_rows() versus count(*) is that … Reply by Dani
1 Week Ago
… possible backside issue, I have tested from a fresh connection through… Discussion Thread by cereal in Databases
Thank you Jim! Yes, that works fine and also counting the resulting array works fine. The original query is not like in the above example: I was using FOUND_ROWS() in a PHP PDO class, to automatically extract the number of rows, but it was not working … Reply by cereal
1 Week Ago
… possible backside issue, I have tested from a fresh connection through… Discussion Thread by cereal in Databases
Are you using a pre-release version? Reply by Dani
1 Week Ago
… possible backside issue, I have tested from a fresh connection through… Discussion Thread by cereal in Databases
No, it is the latest stable version available on Ubuntu 16.04. I will try to download it from MySQL and see if it makes some difference. Reply by cereal
1 Week Ago
… possible backside issue, I have tested from a fresh connection through… Discussion Thread by cereal in Databases
Just tested on two others Ubuntu 16.04: 32 and 64 bit, and it works fine with the same database version. So it may be my specific box. Thank you for support Dani and Jim! Reply by cereal
1 Week Ago
… im doing wrong because i tested this code before (or at… least i thought i thouroghly tested it) and it seemed to… Discussion Thread by berserk in Programming
4 Days Ago
… im doing wrong because i tested this code before (or at… least i thought i thouroghly tested it) and it seemed to… Discussion Thread by berserk in Programming
I think the code of how you are creating the `sec_id`'s would be more helpful because this seems to be a checking method only. One that keeps running until there is no longer a response on a random id (which might as well be the first number generated). … Reply by Traevel
4 Days Ago
… im doing wrong because i tested this code before (or at… least i thought i thouroghly tested it) and it seemed to… Discussion Thread by berserk in Programming
… is being generated and then tested against the system to check… Reply by berserk
4 Days Ago
… im doing wrong because i tested this code before (or at… least i thought i thouroghly tested it) and it seemed to… Discussion Thread by berserk in Programming
Well, the queries I see in the do-while loop are all SELECT queries. So that's not the bit of code that INSERTS the `sec_id` into the database. From what I can tell this is what's happening: // create a random number between 10.000 and 10.000.… Reply by Traevel
4 Days Ago
… im doing wrong because i tested this code before (or at… least i thought i thouroghly tested it) and it seemed to… Discussion Thread by berserk in Programming
i wanted to go with the unique id idea before but im not sure how to add that and still have it work across all tables. Can you have two unique id columns in one table? Also i really like the idea of find the largest value and then just incrementing from … Reply by berserk
4 Days Ago
… im doing wrong because i tested this code before (or at… least i thought i thouroghly tested it) and it seemed to… Discussion Thread by berserk in Programming
> so im doing a lot of assuming Be **very** careful with that, it will come back to bite you in the end. From the page I linked you: >The value of UUID_SHORT() is guaranteed to be unique if the following conditions hold: * The server_id … Reply by Traevel
4 Days Ago
… im doing wrong because i tested this code before (or at… least i thought i thouroghly tested it) and it seemed to… Discussion Thread by berserk in Programming
thank you so much for all your time! :D this has been extremely informative and i must say i have learned quite a bit and now feel a little more confident in how to think through this. I have talked to the higher ups and they explained to me that they want… Reply by berserk
4 Days Ago
… im doing wrong because i tested this code before (or at… least i thought i thouroghly tested it) and it seemed to… Discussion Thread by berserk in Programming
> would the greater than or equal to 1 solve my problem? It would if you are really checking against **all** tables. In your loop I see `$i < $table_count[0]-7;`. I'm assuming (zing!) you came to that by trial and error. However, the underlying … Reply by Traevel
4 Days Ago
… im doing wrong because i tested this code before (or at… least i thought i thouroghly tested it) and it seemed to… Discussion Thread by berserk in Programming
lol oh believe me i whole heartedly agree, i would have done things very different if i had started a project like this from the beginning but the biggest roadblock im running into is basically the people im attempting to rewrite this for already have a … Reply by berserk
4 Days Ago
… im doing wrong because i tested this code before (or at… least i thought i thouroghly tested it) and it seemed to… Discussion Thread by berserk in Programming
> then apply this fix i have worked out with you It's not really a fix though. When multiple people start adding records you're still at risk of getting duplicates. You won't be able to prevent that anywhere else but in the database itself. Whether… Reply by Traevel
4 Days Ago