29 Topics
Haven't programmed in a long time. Last project was a GCODE pathway generator I wrote several years back. My compiler is obviously several years out of date. Uses time(), itoa(), rand(). Current standard compliant compilers should have <chrono>, <thread>, <random>, and to_string() in suppliment to those more deprecated functions. This … | |
As the title says - it's reporting, "The specified service does not exist as an installed service." I'm running this as an administrator and have a successful ALL_ACCESS handle to the SCM. At some earlier points I did have some trouble with the narrow to wide conversion. I believe that's … | |
Lounge is getting muddled down with to much crap. Here's a weak attempt at getting the ball rolling the other way: [LIST] [*]What's your thoughts on the ATCA agreements? [*]Would you start ingesting your iPod and other goods, in an attempt to circumvent any searches on your 80% pirated library? … | |
I was going through the ACMA's blacklist and wondered, "Do you think there'll ever be such a censorship in the states, in years to come?" Then staring at the list, why: don't they just report some of the crap to the staff with all the convenient report buttons on the … | |
I've just read one of the [URL="http://www.sherdog.com/news/articles/1/From-Surviving-the-Streets-of-Russia-to-MMA-The-Story-of-Aleksander-Emelianenko-Part-2-13709"]most manly articles every[/URL], here's the climax of it all: [quote]... I’m ready. It doesn’t matter with who or where. On foot or on horseback. With maces or poleaxes. To fight. To first blood or to death. It doesn’t matter, I’m ready to fight. … | |
[code=Secretive Trade-Secret Code I Just Made Up]function recursion() { addSpellCorrection("recursion"); displayResults("recursion"); } ... if(quick_compare(query, "recursion")) return_as_page(&recursion);[/code] Did Google actually have to add this: [URL="http://www.google.com/search?hl=en&q=recursion&btnG=Search&aq=f&oq=&aqi="]Recursion[/URL]? I can't stop clicking it; it wills me - no, it compels me! | |
[url]http://www.cracked.com/blog/using-windows-7-may-lead-to-murder/[/url] Turns out you'll need a floppy drive to install it, Quick Launch may have been cut to save room for MS Fax, Explore is simplistic and uncluttered but lacks thumbnails and such, as well, you may need a land-line to access some features. Over all, it's blazing fast, if … | |
Two version that do exactly the same thing! | |
Cheap, dirty code for Windows and *nix. | |
"Hello World!" done a little differently. Is this safe, unlikely; is there a point to all of this crap, nope; why are parts obfuscated, because I felt like it; was it fun, yes. You'll need the newest version of MinGW to compile, I used options -O2 -Os -s. | |
Got bored, remember a question asked in the forums, and decided to try something similar. | |
A quick way of spying inside of a process. You could also turn this into something like a disassemble, pretty easy, if you wanted too. Quick Notes: The inline assembly is GCC dependent(quick fix for other compilers), and in MinGW you need to link th32 and gid32. The code flow … | |
After flipping through some organic chemistry books I had, I found a interesting little table of basic hydrocarbons. I decided it would be nice to play around with it, by putting together something that could to some accuracy generate them. I am by no means a chemist. You don't even … | |
I decided to find a use for the STL map, and this is what I decided would be cool to practice with. Just have three placed in the code. Could use a function to load the requested elements from a file. | |
From part of a cryptanalysis tool I was writing, the other day. A way of obtaining possible XOR'ed string values. If you ever get to the point in the analysis that you can simply XOR the string to get closer towards your goal, of finding a weakness, this might be … | |
Occasionally there's times when you want to shift a bit over, but you would like to preserve the end of it, for one reason or another. Such as with say you have: [icode]10000001[/icode] but you would like: [icode]00000011[/icode] then latter on back to: [icode]10000001[/icode] Or in Dec 129-into-3, and 3-into-129. … | |
While trying to flag the following: [url]http://www.daniweb.com/code/snippet1262.html[/url] [url]http://www.daniweb.com/code/snippet1247.html[/url] I get an error page telling me I don't have the privileges to do so. I flagged some other pages and they went through fine. | |
Nominate your top pics for moderator. As many as you feel. A joint account with [U]Baman & Piderman[/U]. They're supeRetards so they can do the job all day without a care in the world. [U]Shitai[/U] because she's so full of vitality and as a maid knows how to deal with … | |
[url]http://www.agreaterdate.com/Categories/Nerd.htm[/url] uhhmmm.... yeah. | |
Since you geeks seem to love PB. Brand? Creamy or Crunchy? Self-stir or zero-effort? I prefer the Maranatha Crunchy, despite the small effort of stirring it before you eat. | |
We need a quarterly/bi-annual/annual coding challenge[s] here. There would be a suggestion box sort of thing, where challenge ideals can be submitted. Once a challenge is selected, permitted languages will be attributed along with minimum requirements. Then people can submit and vote; subsequently the top voted will be placed on … | |
In tech forms, when someone starts a new thread. It should be evaluated whether it has at least rudimentary sentence qualifiers, in the non-code tag fileds. A crude list of requirements might be: at least on capital and lowercase letter, one of [i][b].,?!;[/b][/i], perhaps even no excessive usage of internet … | |
We need a "Sage" feature that allows you to post something without having it bumped to the top. So there would be the standard view which doesn't have sage post bumped to the top, and a full chronological view that includes all post in the standard timeline order, even if … | |
In GCC/MinGW when I map a function to a specific section can I expect the sections [icode]Characteristics[/icode] bits 5, 9 and 30(IMAGE_SCN_CNT_CODE | IMAGE_SCN_MEM_EXECUTE | IMAGE_SCN_MEM_READ) to be set or always set? What about for an all variable mapped section? I just wanted to know if I could confirm a … | |
Here's what I'm trying out: [icode]Substitute characters into values with no set left bits; check if the next position is a vowel(or whatever), turn it into a value with no right bits set, join the two characters into a single byte, delete the unused position now.[/icode] Here's the code using … | |
I'm on Dev-C++ 4.9.9.2 default options, WinXP SP3, P4 w/ HT. When I c-shift a value, and then back I get back distorted values. Using the standard _rotr() and _rotl. [code] /*somewhere in main()*/ str = "I'm a fairy! abc xyz ABC XYZ"; printf("\n%s\n", str.c_str()); for(i = 0; i < … | |
Hello, here to warp my head with the C++ forums, and maybe keep up-to-date on tech related stuff(little bit behind, but pretty much the same). The only people that seem to use these intro threads are one-line posters who seem very bot-ish..... or am I imagining things? lol |
The End.