Search found 69 matches

by Slidy
November 12th, 2018, 11:08 pm
Forum: Everything
Topic: Long time no see and Input Capture
Replies: 56
Views: 4910

Re: Long time no see and Input Capture

Alt+Tab and Ctrl+Esc are both Windows shortcuts. Alt+Tab switches window and Ctrl+Esc brings up the start menu. Perhaps that's why it won't allow you to use them?
by Slidy
November 11th, 2018, 11:06 pm
Forum: Everything
Topic: Long time no see and Input Capture
Replies: 56
Views: 4910

Re: Long time no see and Input Capture

I noticed for your StringHashMap class you're using an unordered_map with an EMPTY_STRUCT value type (https://github.com/BobsCrabShack/Input-Capture/blob/master/Macros%20Template/StringHashMap.h#L24). Just wanted to point out that you can use unordered_set instead. It's just like unordered_map excep...
by Slidy
November 5th, 2018, 1:32 am
Forum: Everything
Topic: Coding Challenge 5 - Meme Graveyard Keeper
Replies: 26
Views: 3904

Re: Coding Challenge 5 - Meme Graveyard Keeper

Here's another method of creating tests: #pragma once #include "TestCase.h" #include <random> #include <iomanip> #include <sstream> #include <string> using namespace std::chrono_literals; class TestCaseEmbeds : public TestCase { public: TestCaseEmbeds( std::chrono::duration<int,std::milli> timeoutMi...
by Slidy
November 4th, 2018, 3:04 am
Forum: Everything
Topic: Coding Challenge 5 - Meme Graveyard Keeper
Replies: 26
Views: 3904

Re: Coding Challenge 5 - Meme Graveyard Keeper

Optimized algorithm results: PASS (0.01ms) File Test: Buck Futter's Sexy Test 1 PASS (0.00ms) File Test: Buck Futter's Sexy Test 2 PASS (0.00ms) File Test: Buck Futter's Sexy Test 3 PASS (0.00ms) File Test: Buck Futter's Sexy Test 4 PASS (153.04ms) File Test: Slidy's Baseline Test (1,798,592 Command...
by Slidy
November 4th, 2018, 12:35 am
Forum: Everything
Topic: Coding Challenge 5 - Meme Graveyard Keeper
Replies: 26
Views: 3904

Re: Coding Challenge 5 - Meme Graveyard Keeper

Here's a test we can all use as a baseline generated using my python script: https://mega.nz/#!k4lViIrT!wijBZsLVJARLU6ScG0Z5FbclaIHq95TS-hgBT4YJKaQ Using a naive solution I get the following results: PASS (0.00ms) File Test: Buck Futter's Sexy Test 1 PASS (0.00ms) File Test: Buck Futter's Sexy Test ...
by Slidy
November 3rd, 2018, 9:43 pm
Forum: Everything
Topic: Coding Challenge 5 - Meme Graveyard Keeper
Replies: 26
Views: 3904

Re: Coding Challenge 5 - Meme Graveyard Keeper

Here's a python script to generate test files, it doesn't generate the answer for you so you'll have to fill that in manually. import random MAX_UINT = 4294967296 fieldsize = random.randint(1, MAX_UINT) num_commands = random.randint(1, 8000000) with open('Test.txt', 'w') as file: file.write("Slidy's...
by Slidy
October 5th, 2018, 6:01 am
Forum: Everything
Topic: Matrix Transformation Demonstration Project
Replies: 11
Views: 1302

Re: Matrix Transformation Demonstration Project

That looks sick :O
by Slidy
October 5th, 2018, 12:38 am
Forum: Everything
Topic: why have my solution failed?
Replies: 10
Views: 1251

Re: why have my solution failed?

I also re-submitted and had no issues, so I doubt it's that.

As for AverageWhale's issue I suspect it might have to do with signed/unsigned mixing going on.

Would be nice if the system gave you the input set that your solution failed on.
by Slidy
September 29th, 2018, 11:34 pm
Forum: Everything
Topic: A better alternative to solution files
Replies: 21
Views: 2256

Re: A better alternative to solution files

FinalL worked on converting the framework to use CMake & OpenGL, I'm not sure if it's in a working state or not though. Link to the repo: https://github.com/FinalL/chili_framewo ... CMakeBuild