Jump to content

KuroSetsuna29

Member
  • Posts

    29
  • Joined

  • Last visited

Awards

Profile Information

  • Gender
    Male
  • Location
    Canada

System

  • CPU
    Intel Core i7-13700K
  • Motherboard
    MSI PRO Z690-A WIFI DDR4
  • RAM
    Corsair Vengeance LPX 32GB DDR4 3200 MT/s
  • GPU
    ASUS ROG STRIX RTX 3080 GAMING OC
  • Case
    BitFenix Ghost
  • Storage
    WD SN750 1TB, WD HDD 3TB
  • PSU
    Corsair RM 850W
  • Display(s)
    Massdrop Vast 35" Ultrawide 1440p 100Hz
  • Cooling
    NH-U12S chromax.black
  • Keyboard
    Corsair Gaming K95 RGB Mechanical Gaming Keyboard (Red)
  • Mouse
    Logitech G502 Proteus Core
  • Operating System
    Windows 10 Professional

Recent Profile Visitors

801 profile views
  1. 1) Airflow is sufficient, and temps are well within operating range (< 85C) 2) It looks like it is running at x8 since it split the x16 lane for the two cards. This should be enough. 3) I have set the client to full power. 4) I do not have CPU folding enabled. However other my CPU usage has been close to hovering near 100%. This might seem to be related to another issue I am having with Windows not adding up CPU usage correctly. It would report 100% but adding all the values only is ~65%. Now that the CPU usage is hovering around 80% the PPD seems to be running around 700k now. It very well might be the CPU usage that could be causing this. I guess it is very well almost time to upgrade from my 3570K. Thanks @Gorgon
  2. Hi all, it has been awhile since I last folded and just recently started back up again. I am running two GPU in my system: ASUS STRIX GTX 1080 ~550k-600k PPD Gigabyte GTX 1070 ~500k PPD From what others are saying the GTX 1080 should be getting upwards of 800k PPD. I am I doing something wrong? (Note, I do stop folding for a couple of hours while playing games but even days where I don't I am still getting low PPD) NVIDIA drivers: 416.34 Point history: https://folding.extremeoverclocking.com/user_summary.php?s=&amp;u=666958 System Specs: CPU Intel Core i5-3570K @ 4.0GHZ Motherboard ASRock Z77 Extreme4 RAM G.SKILL Ripjaws X F3-2133C11D-16GXL16GB Operating System Windows 10 Home
  3. Rig name: KUROYUKI Cpu: i5 3570K @ 4.0GHz OC Gpu: GTX 970 @ 1365 Core, 3750 Mem Ram: 16 GB DDR3 Score: 6.6
  4. @PlutoNZL +1 As the OP mentioned in their "notepad", I think Codecademy (and others like it) is a great starting point for those that are interested in programming with little/no experience, eg. Kids! They don't want to hassle with setting up an environment, configurating it, and learn how to use it, just to write a small Hello World program. That is just making them climb a very steep hill only to find shallow end on the other side, and a reason why I think so many get deterred at the beginning unless you were truly passionate about it. Of course its not meant to replace education, books, or even the official documentation, just a small stepping stone. And you don't need to stay with Codecademy, once you start feeling more confident you can start reading other resources like docs, books and youtubers, or ask programmers you know since its now easier to follow along now that you know the basic syntax. TL;DR: It was never meant for a moderate to skilled programmer, which I think a lot of members here are not.
  5. If you are not familiar with XML, depending on what requirements you need and how Name, Department, Account Number, and Reference Number connect with each other, your XML will look something similar to this as a direct translation from your INI above: <Users> <User> <Name>John Smith</Name> <Department>Department 1</Department> </User> <User> <Name>Jane Smith</Name> <Department>Department 2</Department> </User> <User> <Name>Alex Smith</Name> <Department>Department 1</Department> </User> <User> <Name>Oliva Smith</Name> <Department>Departmnet 3</Department> </User> </Users> <Accounts> <Account> <AccountNumber>123456</AccountNumber> <ReferenceNumber>987654</ReferenceNumber> </Account> <Accounts> However, knowing more about your data, you can change it to something that makes more sense like this?: <Account> <AccountNumber>123456</AccountNumber> <ReferenceNumber>987654</ReferenceNumber> <Users> <User> <Name>John Smith</Name> <Department>Department 1</Department> </User> <User> <Name>Jane Smith</Name> <Department>Department 2</Department> </User> <User> <Name>Alex Smith</Name> <Department>Department 1</Department> </User> <User> <Name>Oliva Smith</Name> <Department>Departmnet 3</Department> </User> </Users> <Account> As you see elements "<...>" can have a child element which gives an information about the parent element, and each child element can have another child element. I would also suggest taking a look at http://www.w3schools.com/xml/. That particular site is more oriented for XML in web, but the basics of XML still apply outside and I find that site as a handy cheat sheet for reference. @Nuluvius posted some great resources, especially about Serialization, about how to serialize/deserialize XML in VB.NET. Is there a particular reason you are using VB.NET, I find it very outdated and C# much easier to work with.
  6. For infix notation, (eg. (1 + 1) * 2) It follows the standard "BEDMAS" (although that is technically not correct either), but keeping it simple it is: Brackets, Exponents, Division, Multiplication, Addition, and then Subtraction. If you wanted to explicitly apply the order of operations, you would need to wrap brackets as opposed to the other two notations. For prefix notation, also known as Polish Notation, (eg. * + 1 1 2) It is like a stack of operations, from inside out. In essence it is in this format: <operator> <value1> <value2> Where each value can be another polish notation expression. For example: * + 1 1 2 = * (+ 1 1) (2) = * (2) (2) = 4 Note: (the parenthesis are not required, just easier to visually see what is going on) This can seem very confusing if not use to the notation, but advantage is it leave very little ambiguity of which operation applies first, and thus does not require any parenthesis. For postfix notation, also known as Reverse Polish Notation, (eg. 1 1 + 2 *) As the name suggests, it is the opposite of Polish Notation where the operator goes after the two values instead of before.
  7. When you do (int)Console.Read() that is actually getting the ASCII value of the string "1". As xshockz suggested, you want int.Parse("1") or int.TryParse("1", out InputInt). The difference is that int.Parse will throw exception if the string cannot be parse. Where as int.TryParse will return false, useful if you want to repeat until valid input. Ref: https://msdn.microsoft.com/en-us/library/f02979c7%28v=vs.110%29.aspx
  8. It also helps if you keep good formatting to help read code, it can be very confusing when it keeps indenting. If you are not encrypting passwords, then you can just do as Midnight suggested, use .equals(), like so: for (int i = 0; i < RegUsers.length; i++){ if (RegUsers[i].equals(user)) //Up to you if case sensitive matters, use equalsIgnoreCase() { if (RegPass[i].equals(pass)) { // correct password } else { // wrong password } break; }} There are probably much better ways of doing this, but this is the quick and dirty solution.
  9. ^ That. But here goes, this is my second time with pascal, no criticism please. I leave it to you to figure out how to ignore spaces. Possibly loop through input string and count number of non-spaces? var input1, input2, output : string;var len1, len2, multiple, modulus, i : integer;begin input1 := 'comp'; input2 := 'hello'; output := ''; len1 := byte(input1[0]); len2 := byte(input2[0]); multiple := len2 div len1; (* integer division *) modulus := len2 mod len1; (* repeat whole word *) for i := 1 to multiple do begin output += input1; end; (* output last partial string *) output += copy(input1, 0, modulus); writeln(output);end.
  10. Just curious, what results did you get vs what was expected? It looks right to me, although you may want to modify it to not return and instead add to current instance. public void add(Fraction secondFraction){ this.den *= secondFraction.den; this.num = this.num * secondFraction.den + secondFraction.num * this.den; // Reduce fraction if needed}
×