- Strength to Increase Rep
- +16
- Strength to Decrease Rep
- -4
- Upvotes Received
- 1K
- Posts with Upvotes
- 939
- Upvoting Members
- 284
- Downvotes Received
- 75
- Posts with Downvotes
- 71
- Downvoting Members
- 55
Re: > Anyone who knows how I can solve this problem? The short answer is don't put code in header files. Declarations go in header files, definitions go in source files. You get away with it in small projects where you only have one source file, and each header is included … | |
Re: You can do this with `xargs` find . -name "*.c" | xargs -d'\n' grep -w "main" Or if you know you want to search the same set of files many times. find . -name "*.c" > tmp.txt xargs --arg-file=tmp.txt grep -w "main" xargs --arg-file=tmp.txt grep -w "void" | |
Re: I'm a long-time moderator on cprogramming.com, but it's getting awfully quiet on many of the old forums. DiC was a loss, as was devshed. I seem to be most active now on reddit. | |
Re: There are 10 kinds of people in the world. Those that know binary, and those that don't. | |
Re: You have all the answers in your other thread. https://www.daniweb.com/digital-media/digital-marketing/search-engine-strategies/threads/542587/what-are-the-most-effective-seo-strategies-for-improving-organic-traffic | |
Re: How big is each record? If it's like say a customer record with maybe a dozen fields and taking up several hundred bytes of space, adding a single 32-bit timestamp isn't going to impact you. https://en.wikipedia.org/wiki/Entity%E2%80%93relationship_model Draw one of these for your [database schema](https://en.wikipedia.org/wiki/Database_schema) then consider which of the perimeter … | |
Re: Your app always needs to "phone home" to query the actual member status with your server. Otherwise, someone could log in twice, delete their account in one session and merrily carry on using their 'account' in the other session. Sure, you could use the cached version if the user is … | |
Re: > hladysz said > please fix the condition: Please explain why you think this is the wrong condition. | |
Re: If the drives are dropping out during normal operation, check the OS log files to see if any particular reason is reported. For all the drives, gather the [SMART](https://en.wikipedia.org/wiki/Self-Monitoring,_Analysis_and_Reporting_Technology) statistics. | |
Re: I would suggest you do `pip list` in your working and non-working environments. It seems that `wrap_socket` is deprecated (and insecure) https://github.com/eventlet/eventlet/issues/795 I would have thought your `mysql` would have depended on the right version to begin with. | |
Re: Which of the following things have you tried? 1. Cleared the cache and deleted all cookies in your browser 2. Tried with another browser 3. Tried with a browser running in "safe" mode - ie, without a bunch of plugins potentially messing with things they shouldn't 4. Tried with another … | |
Re: Passing familiarity with a search engine would be high on the list of skills. https://duckduckgo.com/?q=cyber+security+training&t=newext&atb=v296-1&ia=web | |
Re: If your batch size is say 1K, and your user decides to spam you with say 10K+ records, what does it matter to you? - flush your existing batch queue - loop through the large request 1K at a time and immediately commit to the database using some batch update … | |
Re: 1. Get something working in Python if that's your comfort zone. 2. Profile it to find out where the bottlenecks are (do not make guesses, find evidence) For example, if the program is spending a lot of time waiting for I/O (aka the disk), then writing chunks of code in … | |
Re: It doesn't require any 3rd party software. For example, I use Firefox profiles to separate my bank from my shops. https://support.mozilla.org/en-US/kb/profile-manager-create-remove-switch-firefox-profiles Coupled with quick-launch icons on the desktop, I find it to be a very easy to use solution. | |
Re: First, let's prepare two tar files using different compression schemes for demo purposes. $ cat foo_1.txt This is file 1 $ cat foo_2.txt This is file 2 This is file two This is file too # Three tar files, two compressed and one uncompressed for reference $ tar -j -c … | |
Re: 1. Run the program in the debugger. 2. Put a breakpoint on `con.Open();` 3. Run the backup part of the program. 4. Print the contents of the `cmd` string, after it's made all the runtime substitutions. Is that string what you were expecting? The spaces around your double-back-slash seem out … | |
Re: If you're sufficiently curious to study how the data arrives at your browser, and can wrangle some Javascript, then perhaps https://www.tampermonkey.net/ You can post-process the data to be whatever shape you want it to be. | |
Re: I thought this was going to turn into some kind of crypto nonsense on how to make money mining bitcoin or something. | |
Re: Well you can either: STFW with https://duckduckgo.com/?q=employee+retention+credit Wait for your sock-puppet to show up with their "recommendation". | |
Re: Or you just learn how to use the tools. If you want only reddit, then type this into your search: `c programming language site:reddit.com` If you want everything but reddit, then type this into your search: `c programming language -site:reddit.com` | |
Re: I suppose the first thing to answer would be whether the bottleneck is client or server side. | |
Re: If you want to know what windows is up to when you do something, then try using https://learn.microsoft.com/en-us/sysinternals/downloads/procmon | |
Re: Yeah - I remembered that little detail after the fact when I saw +0. | |
Re: [url]http://it.acronymfinder.com/af-query.asp?string=exact&acronym=csp&s=r[/url] Maybe we can't figure out which meaning of CSP you're talking about. > Is simple hill-climbing a complete algorithm for solving CSPs? That looks like a google question to me, if you'd done any research on the topic. | |
Re: So is that when you use [ICODE]for(int i = 0; i < len; i++)[/ICODE] rather than [ICODE]for ( string::size_type i = 0; i < len ; i++ ) {[/ICODE] | |
Re: > mov==getch(); > if(mov='d')//supposed to be right arrow, don't know how to You got them both wrong = is for assignment (the first one) == is for comparison (the second one) | |
Re: Hell, with only 2 posts, you've already joined the top 25% of posters on the board. Only 8 more posts will get you into the top 2%! | |
|