User Profile
Collapse
-
When entering `-123456789012345 67890` as parameter, te value `-2147483648` is returned... 😢😉 -
Do you really need 1000 lines of code to do this validation in C? I do not have enough experience with C, but that seems too much. Maybe you can post the code that you wrote to get tips on how to improve the code.Leave a comment:
-
What language are you using to solve this problem in? (C#, Javascript, Python, Go, ...... )
In most languages you can pass a parameter, which can pass the value to the other form.Leave a comment:
-
-
If the files are using this: https://tap3edit.github.io/TAP3-Tap3edit.html, then i cannot help you 😎
Because that would be too complex, if you do not already have that knowledge... (and i am also not having that knowledge!)Leave a comment:
-
"So is it possible to have field where the total boxes will be mentioned and within that field to have the record of individual boxes??"
No, that is not possible, because then you will be storing two values in 1 field.
1) where the total boxes will be mentioned
2) have the record of individual boxes??Leave a comment:
-
Can you provide 'complete' example? I do mean some code which produces an error on some line, but not some code with comment that the error happens there....Leave a comment:
-
Try to escape this by putting a '\' in front of it.
EDIT: stupid /me, i should have know better...
A 'a&b' on a label produces 'a\b'Leave a comment:
-
@jackob1234: as donbock wrote you have to ask a NEW question, specify what your problem is, and tell us what YOU did to try and solve it. Explain where you 'got stuck'. Someone here will/can provide tips on ho to proceed with solving your problem but, in the end, YOU will solve the problem (with some help from a kind poster here 😉), which is much more satisfying than copy/paste a given solution which you do not understand how it works a...Leave a comment:
-
It's not clear what you are trying to do.
Can you provide a minimum example of you filterfile (test2.txt), and and what you expect as output?Leave a comment:
-
Real developers do not have a social life....
(and therefore do not have an instagram account!)Leave a comment:
-
@SioSio: a late reaction....
and if more than 2 processes are needed, i do like this one more:
Code:uuidgen | base64 | sed 's/\(....\)\(....\)\(....\)\(....\).*/\1-\2-\3-\4/g'
Leave a comment:
-
You could do this by creating a javascript function for each button
change line #34 to:
Code:echo '<td><button onclick=' . 'alert("' . $key . '")' . ' id="btn">Delete</button></td>';
With this code you should see a popup window with the value of $key.
In stead...Leave a comment:
-
And,, for all of you wo do not speak German, next link: https://en.wikipedia.org/wiki/WYSIWYG#Related_acronymsLeave a comment:
-
Because you show an 'external link' to the code, I have copied the code to this site, so everyone can see what piece is handling the quantity stuff.. (If they are really interested in the complete code, they can follow the link (for as long as it exists...))
I did not change the code, because to /me your problem is SOO obvious (sorry), so I just copied relevant piece of code.Leave a comment:
-
I did not test what happens when you use AddtoCar without quantity, but looking at the code is seems pretty obvious why you cannot add an object with quantity=0
Do examine this piece of code from 'index.php'
Code:if(product_quantity > 0) { $.ajax({ url:"action.php", method:"POST", data:{product_id:product_id, product_name:product_name, product_price:product_price,
Leave a comment:
-
You should test both options, and choose the one that fits your needs. I am also not an expert in this (unfortunatly)Leave a comment:
-
It's unclear what you want
1) do you want to create a loop in python?
2) do you want the Excel equivalent of this code?
Do you want a python solution? or an Excel solution (in which case this post needs to be moved …)Leave a comment:
-
Is it a 1-time-action? Or should all actions be automatically be deleted when they are older than 14 days?
When it's a one-time action, you should be able to craft a 'DELETE FROM logger WHERE ...' statement in SQL. If you are not able to create that, than you fail exams for your Diploma Final Project.
If this needs to be done 'automatically', I do mean that everything older than 14 days is deleted, so when you come back...Leave a comment:
-
@zmdb: I was 'as-lazy-as' @adanvilla10,
and did stop reading after 'Error 52'
The text after this 'Bad file name or number' would (or should) have made bells ringing.
@adanvilla10: Happy debugging!Leave a comment:
No activity results to display
Show More
Leave a comment: