|
Is there anything Siebel devs use outside of the official tools to help debugging? Cause the debugger really sucks, so far I've been working with useless vague error messages and loglines.
|
# ? Aug 31, 2012 10:02 |
|
|
# ? May 15, 2024 16:45 |
|
Just a quick question about program design. I have a MySQL database. One table relates to physical stock and the other relates to correspondence about that stock. Throughout the project, I've had to search through these two tables. If you imagine the output of these searches to be code:
SQL code:
PHP code:
|
# ? Aug 31, 2012 13:03 |
|
Scaramouche posted:I think what you're looking at is two different problems. The first is collecting payments; because of the security required by payment processors they are not going to want to be switching this account around at the drop of a hat. They're going to want that account to be rock solid and in good standing. As far as I know there is no legal way to set up a payment firehouse that comes straight from the consumer and ends up straight in the pocket of a quasi-random person except for: Correct. Similar services will have one account that people pay into with some sort of transaction ID that's saved on their end. Then, once a week they'll distribute the funds to each corresponding account. I do not want to touch other people's money and I don't want to deal with having to manually distribute funds each week myself. I also don't think there's a way to programatically create an account. For example, the user on my site says "Hey, I want to set up a payment account, here are my details" and which I then go out to say Google Wallet and create the account with its details via some sort of api. Sadly, I don't think that exists either
|
# ? Aug 31, 2012 13:38 |
|
Depending on the amounts involved you might be able to finagle an interconnect. I once helped set up a payment system similar to this based on a small bank in Switzerland's access to the ATM network, but you've got to be talking in the hundred thousands/month before you can get that kind of access. If not, I can't think of a single case where an account on the service doesn't have to be created. Things like HyperWallet have (slow) bank transfers, but again, gotta have that account which needs: name, address, email, bank account number, transit number, and home branch location. Not sure if they have an API for that. If it's small scale (e.g. among friends/close clients) you might be able to use the inter-banking network if they're all part of the same bank (basically glorified interac e-transfers), but I doubt that, and you'd probably need way too much of their info to be comfortable with to set it up.
|
# ? Aug 31, 2012 21:18 |
|
EDIT: Found the SQL thread. Sorry.
truavatar fucked around with this message at 23:53 on Aug 31, 2012 |
# ? Aug 31, 2012 23:07 |
|
I don't suppose there's a thread for OpenCV?
|
# ? Sep 1, 2012 04:40 |
|
How hazardous is it to have a MySQL server running on a developer machine and accepting TCP/IP connections? Only one account exists, root@localhost, with a weak password. There is no anonymous account. I would rather it did not accept TCP/IP connections, but I want to create some Python scripts to run on this machine and manipulate data stored in a database, and it seems that Python is unable to communicate with MySQL on this machine unless MySQL is configured to allow TCP/IP connections. If I disable TCP/IP connections, then upon attempting to connect at the Python command line, I get a traceback containing the message "No connection could be made because the target machine actively refused it". I can configure the MySQL service to run manually (i.e. not to run automatically when Windows starts), but I am unsure whether it is something I should be worried about when the service is running. I considered asking this in the SQL thread, but it isn't really a question about SQL or about database design, so I decided to ask it here instead.
|
# ? Sep 2, 2012 01:47 |
|
Tell it only allow connections from 127.0.0.1
|
# ? Sep 2, 2012 02:35 |
|
Yeah just read the GRANT documentation and create a user that has access to everything and limit it to localhost. http://dev.mysql.com/doc/refman/5.1/en/grant.html
|
# ? Sep 2, 2012 03:38 |
|
I'm trying to create a budget and expense tracker in google spreadsheet and I'm having a bit of trouble writing a function. I want to write a function that will run through column D, and if it finds a Food transaction, add the appropriate amount to a running total in cell E2. The same goes for Gas and Misc. I tried searching their help topics but I can't figure it out. Thanks for the help.
|
# ? Sep 2, 2012 18:45 |
|
Hughmoris posted:I'm trying to create a budget and expense tracker in google spreadsheet and I'm having a bit of trouble writing a function. Try code:
|
# ? Sep 2, 2012 21:46 |
|
YardKGnome posted:Try This works like a champ, thank you.
|
# ? Sep 2, 2012 22:46 |
|
Hughmoris posted:I want to write a function that will run through column D, and if it finds a Food transaction, add the appropriate amount to a running total in cell E2. The same goes for Gas and Misc. I tried searching their help topics but I can't figure it out. Thanks for the help. This may be a stupid question, but why not just enter the value into the appropriate column instead of all values in one column? This would get rid of the need for tagging the entries with categories, since the column they are in would indicate their category.
|
# ? Sep 3, 2012 02:49 |
|
Vaginal Engineer posted:This may be a stupid question, but why not just enter the value into the appropriate column instead of all values in one column? This would get rid of the need for tagging the entries with categories, since the column they are in would indicate their category. Because itemizing everything in one vertical list (sorted by date) is better for all the non-categorical things you want balance sheets and ledgers to do.
|
# ? Sep 3, 2012 03:15 |
|
I'm trying to build a tool in .NET with Windows Forms where the user can draw a set of polygons and move their vertices around and whatnot. I'm having some trouble because I'm inexperienced with event driven programming. Is there anything similar to the typical Update() loop you see when making games? Any recommendation on what object I should use to draw the polygons to the screen?
|
# ? Sep 3, 2012 05:29 |
|
WinForms has the main paint loop. Your control should draw in that callback, using Direct2D or GDI+.
|
# ? Sep 3, 2012 10:10 |
|
Hi guys. I've run into an issue while trying to get acquainted with Google App Engine. I'm trying to deploy the "Hello World" message to my Google App engines account. But whenever I do, it gives me a 403 Error. It says, 'You do not have permission to modify this app". Full details:code:
melon cat fucked around with this message at 21:24 on Sep 3, 2012 |
# ? Sep 3, 2012 20:38 |
|
Here's a very basic question for any C++ knowledgeable folk... I'm trying to read from a text file which says: quote:ARTICLES: And then stores the words in an array char* words[7][10] I'm pretty sure I use a double for loop, using an ifstream, copying the words into words[i][j] (For example). Where the 1st dimension of the array is the "type of word" and the 2nd dimension is the word itself. So how do I get the file stream to ignore the "ARTICLES:" part, skip to the next line, then take in the appropriate words, then detect the end of the line, rinse and repeat. Many thanks for any help I get!
|
# ? Sep 4, 2012 01:09 |
|
Do you need to use C++ for that? String processing is infinitely more pleasant in almost any other language.
|
# ? Sep 4, 2012 01:12 |
|
an skeleton posted:Here's a very basic question for any C++ knowledgeable folk... just wondering, any reason you're using C strings (char *) and not std::string ? The std library takes care of a lot of the headaches of using C strings. also what ultrafilter said; this is a 2-liner in something like Perl or Ruby
|
# ? Sep 4, 2012 01:15 |
|
Deus Rex posted:just wondering, any reason you're using C strings (char *) and not std::string ? The std library takes care of a lot of the headaches of using C strings. I don't know, I guess I could used a different language. I'm in programming 3 and c++ is the only language I have any experience with, I'm a little rusty after summer and string processing was always something I had trouble with. I think it has to be in Java or C++, anyways.
|
# ? Sep 4, 2012 01:19 |
|
ultrafilter posted:Do you need to use C++ for that? String processing is infinitely more pleasant in almost any other language. I've been learning Objective-C and string processing makes me want to kill myself after Python.
|
# ? Sep 4, 2012 01:20 |
|
Try using getdelim and getline?
|
# ? Sep 4, 2012 01:34 |
|
Suspicious Dish posted:Try using getdelim and getline? I'm using getline right now, for some reason I can't declare the "fillarray" class I declared in the main function. I can't imagine why. It says the fillarray identifier is undefined or something like that... anyway, in that class' source, this is the code I'm using: quote:infile.open("text.txt"); Hopefully this works if I can get an iteration of the class in the main.
|
# ? Sep 4, 2012 01:41 |
|
Use the code tags, not quote, so that your formatting comes through correctly.
|
# ? Sep 4, 2012 01:45 |
|
ultrafilter posted:Use the code tags, not quote, so that your formatting comes through correctly. Ok, here is my code: code:
|
# ? Sep 4, 2012 02:08 |
|
That is not the getline that I know of. Turns out there's also istream::getline; I was thinking of the POSIX getline.
|
# ? Sep 4, 2012 02:52 |
|
Yeah, also my for loops were formatted incorrectly but I fixed that now.
|
# ? Sep 4, 2012 03:17 |
|
Then you need to repaste the exact code that you have, not just a part of it, and any and all errors you got while compiling.
|
# ? Sep 4, 2012 03:24 |
|
Suspicious Dish posted:Then you need to repaste the exact code that you have, not just a part of it, and any and all errors you got while compiling. Alright, well I got it to work and this is the code I am using, I had to make a few changes to the text file Text File: quote:ARTICLES: and heres the code: code:
My next issue is I need the words to produce 10 random sentences. So I suppose I need to figure out a sentence structure and an algorithm which selects a random number [0-9] and outputs the corresponding word.
|
# ? Sep 4, 2012 03:33 |
|
There's a C/C++ thread. But seriously: literally learning enough Python or Perl or Ruby to do what you want will likely be faster than learning enough C++ to do it, even with no prior experience.
|
# ? Sep 4, 2012 09:47 |
|
How easy or difficult is it to learn enough to work with Access at an "average" level if my current coding experience is "I can write simple vb scripts and am a competent google user"? I mean, I am sure the answer depends greatly on what I want to do, but is it something I could reasonably try to tackle, or would it be closer to learning an entire language? We have an Access application/database at work that has no caretaker and it could use one. TIA.
|
# ? Sep 4, 2012 20:35 |
|
totalnewbie posted:How easy or difficult is it to learn enough to work with Access at an "average" level if my current coding experience is "I can write simple vb scripts and am a competent google user"? I mean, I am sure the answer depends greatly on what I want to do, but is it something I could reasonably try to tackle, or would it be closer to learning an entire language?
|
# ? Sep 4, 2012 21:09 |
|
GrumpyDoctor posted:There's a C/C++ thread. Thank you for the advice.
|
# ? Sep 4, 2012 23:06 |
|
OK for some reason git keeps saying I've modified all the files I have in this folder. Looking at the diff it shows the entire file being deleted and added, but it's exactly the same. I did a git diff with the `--ignore-space-at-eol` flag and that gives me an empty diff. Anyways I assumed that I could reset it by running git checkout, or a git reset HEAD but none of those seems to solve the problem. I also did a git reset to the SHA1 of the last commit, and that didn't seem to fix it either. It seems to be some kind of issue with whitespace/CR/LF issue. Anyone know how to fix this issue?
|
# ? Sep 5, 2012 07:18 |
|
Strong Sauce posted:OK for some reason git keeps saying I've modified all the files I have in this folder. Looking at the diff it shows the entire file being deleted and added, but it's exactly the same. I did a git diff with the `--ignore-space-at-eol` flag and that gives me an empty diff.
|
# ? Sep 5, 2012 10:48 |
|
Doctor w-rw-rw- posted:Did you try committing then doing a hard reset to HEAD^? I ended up just doing a git stash ^_^;;;
|
# ? Sep 5, 2012 16:32 |
|
Strong Sauce posted:I ended up just doing a git stash ^_^;;; Ah. Basically the same operation.
|
# ? Sep 5, 2012 18:58 |
|
Definitely not a programmer but as someone who is "good with computers". I've been asked to help fix a problem for a family friend. Some googling hasn't turned up much. He's got a wordpress site for his business using PHP and html I guess. His website is https://www.website.net going to this site results in a 404. His landing page is https://www.website.net/home As far as I can tell, I cannot edit anything on the word press related to https://www.website.net to push it forward to https://www.website.net/home/, so I started digging into the wordpress files hosted on his domain hosting site. In the wp-config.php I inserted code:
And played with changing it to .net/home/ but only end up breaking things more. And yeah, thats pretty much it. I have no idea what I'm doing and any help would be appreciated.
|
# ? Sep 6, 2012 17:56 |
|
|
# ? May 15, 2024 16:45 |
|
Paper Diamonds posted:Definitely not a programmer but as someone who is "good with computers". I've been asked to help fix a problem for a family friend. Some googling hasn't turned up much. I don't know how wordpress is set up, but I guess just configure an .htaccess file to redirect? http://kb.mediatemple.net/questions/242/How+do+I+redirect+my+site+using+a+.htaccess+file%3F
|
# ? Sep 6, 2012 17:59 |