-
Posts
57 -
Joined
-
Last visited
Awards
This user doesn't have any awards
About MSVSora
- Birthday Jan 28, 1994
Profile Information
-
Gender
Male
-
Location
Somewhere behind a computer screen
-
Interests
Gaming, Programming
-
Occupation
Server Programmer
System
-
CPU
Intel Core I7-4820K @ 3.70GHz
-
RAM
32GB Kingston Hyper X Beast
-
GPU
Nvidia GTX 780 TI
-
Case
Coolermaster
-
Storage
Lots
-
Display(s)
3x Dell Ultrasharp U2412M
-
Keyboard
SteelSeries APEX
-
Mouse
Logitech G502
Recent Profile Visitors
640 profile views
MSVSora's Achievements
-
I'm just doing it for fun really, I know I could build something far better, for far cheaper and a lot more dense, but its just for fun and completely theoretical. Also using it as a bit of a learning experience when it comes to server hardware as obviously there are some significant differences. So as it is propitiatory, there would still be the option of measuring out and making my own standoffs, in this case what other case manufacturers would be good to look at?
-
So I am currently playing about with a theoretical build using the lga 1567 socket, gathering a list of the parts and all that, but so far when it comes to the case I am struggling a bit as I have never worked with server cases before. So the motherboard that needs to fit in this case is the Supermicro X8QB6-F (http://www.supermicro.com/products/motherboard/Xeon7000/7500/X8QB6.cfm). Which according to the spec sheet has a propietary form factor, so the main thing I am thinking of here is that the standoffs might not fit just because the board itself fits inside a case. While supermicro have their own cases that would fir this board, I am curious to see what other options would be available but could use some advice. Thanks in advance
-
Asus x99 Deluxe II USB devices dropping after random ttime
MSVSora posted a topic in Troubleshooting
So I have recently set up my new PC and everything seemed to be working fine, until suddenly it wasn't. It started with the keyboard dropping for a second then connecting again but not sending any input (LEDs flashed off and on again like a refresh), then after a bios update and some driver updates it started happening with the mouse. After that I restarted again and now the keyboard is doing it again. If I unplug the device and plug it back in again it works for a short period of time before stopping again. I have tried googling a bit and it seems to possibly be an issue with the Usb3.1 driver but I cant seem to find any installers for the driver to go back to an older version.I am unsure of what to do and could really use some advice. Thanks in advance -
It checks to see if you have any guesses left, if you do then it prints the text, if not then it doesnt
-
Try setting it to the teamspeak server's queryport instead, default is 10011
-
This is probably due to you calling to the wrong host/port
-
In your else statement add "if(i != 0){ your string thingy; }" <- this way only if you have tries remaining will it output the message
-
$botModeSelect = $("<select id='botModeSelect'><option value='red' class='btn-danger'>Bot color: Red </option><option value='black' class='btn-black'>Bot color: Black </option><option value='random' class='btn-random'>Bot color: Random </option><option value='trainMode' class='btn-train'>Bot mode: Train </option><option value='rainbow' class='btn-rainbow'>Bot mode: Rainbow </option></select>");$botModeSelect.addClass("btn-danger"); All this is on one line, all I can say is, bad
-
This shouldn't really compile as far as I can tell, you have 1 too many brackets, though this may just be the way you have done your indentation. Anyway I would recommend you define a bool above the while something like "bool usedCorrectPassword = false;" and then in your if after you output the in years ect but before the break you add "userCorrectPassword = true;" and then on the cout for "Have exceeded the limit... try later." you surround it with "if(!usedCorrectPassword)". That way you will check so if they use the correct password, and if they did you wont output the text
-
A switch case is written by doing the following //enums also work here switch(integer variable) { case integer value: //code here break; case integer value2: //code here break; default: //code here break; } Though this wouldn't help you much, personally I would write the code something like this const int maxNrOfTrys = 5; for (int i = 0; i > 0; i = maxNrOfTrys; --i) { cout << "Enter your password "; getline(cin, input); if ( input == "P@ssw0rd") { cout << "In " << years << " years, $" << D << " deposited per month will grow to $" << S ; break; } else { cout << "incorrect, password! " << i <<" more try limit\n"; } }
-
The problem you are seeing here is because of your scope. In C++ a scope is defined by the '{' and '}' brackets. When you use "if(bool) statement;" it basically just creates the scope for the single line, so when you are trying to use break, it creates it after that scope, so your code actually looks something like this while(true) { if (i == 0) { break; } i = i - 1; cout << "Enter your password " ; getline(cin, input); if ( input == "P@ssw0rd") { cout << "In " << years << " years, $" << D << " deposited per month will grow to $" << S ; } break; else { cout << "incorrect, password! " << i <<" more try limit\n"; } } while what you probably want is something more like this while(true) { if (i == 0) { break; } i = i - 1; cout << "Enter your password " ; getline(cin, input); if ( input == "P@ssw0rd") { cout << "In " << years << " years, $" << D << " deposited per month will grow to $" << S ; break; } else { cout << "incorrect, password! " << i <<" more try limit\n"; } } also rather than and a while you probably want to use a for loop
-
Learning from a structured course isn't always a bad thing, can be good for getting the basics without getting a bunch of gaps in your knowledge. The docs only really help once you have a basic understanding of the language, or know a few others beforehand
-
window.location.href = "http://www.google.com"; while (document.readyState !== "complete"); document.getElementById("username").value = "user"; document.getElementById("password").value = "pass"; document.getElementByID("Submit1").Click(); LinkHref = "http://www.google.com"; while (document.readyState !== "complete"); var elements = document.getElementsByTagName("a"); for(var i = 0; i < elements.length; i++) { if(elements[i].getAttribute("href").toLowerCase() == LinkHref.toLowerCase()) { elements[i].click() break; } } So basically @xQubeZx add this as a bookmark (just replace the LinkHref, username and password, window.location.href values) javascript:window.location.href = "http://www.google.com"; while (document.readyState !== "complete"); document.getElementById("username").value = "user"; document.getElementById("password").value = "pass"; document.getElementByID("Submit1").Click(); LinkHref = "http://www.google.com"; while (document.readyState !== "complete"); var elements = document.getElementsByTagName("a"); for(var i = 0; i < elements.length; i++){ if(elements.getAttribute("href").toLowerCase() == LinkHref.toLowerCase()){elements.click()}} Edit: fixed a couple of bugs