Jump to content

nighthawk454

Member
  • Posts

    8
  • Joined

  • Last visited

Awards

This user doesn't have any awards

Recent Profile Visitors

370 profile views

nighthawk454's Achievements

  1. PCPartPicker part list: http://pcpartpicker.com/list/Y4n7TH Price breakdown by merchant: http://pcpartpicker.com/list/Y4n7TH/by_merchant/ CPU: Intel Core i5-6600K 3.5GHz Quad-Core Processor ($237.89 @ B&H) CPU Cooler: Corsair H80i v2 70.7 CFM Liquid CPU Cooler ($86.99 @ B&H) Motherboard: ASRock H110M-ITX/ac Mini ITX LGA1151 Motherboard ($67.99 @ SuperBiiz) Memory: Crucial 8GB (1 x 8GB) DDR4-2133 Memory ($29.99 @ Adorama) Memory: Crucial 8GB (1 x 8GB) DDR4-2133 Memory ($29.99 @ Adorama) Storage: Samsung 120GB 2.5" Solid State Drive ($52.99 @ SuperBiiz) Storage: Seagate Barracuda 2TB 3.5" 7200RPM Internal Hard Drive ($60.00 @ Amazon) Video Card: EVGA GeForce GTX 1070 8GB SC Gaming ACX 3.0 Video Card ($439.99 @ NCIX US) Case: Silverstone Sugo SG13B-Q Mini ITX Tower Case ($42.98 @ Newegg) Power Supply: Corsair CX 430W 80+ Bronze Certified Semi-Modular ATX Power Supply ($69.98 @ Amazon) Monitor: Asus PB278Q 27.0" 60Hz Monitor ($384.99 @ Best Buy) Keyboard: Logitech G710 Plus Wired Gaming Keyboard ($125.99 @ Amazon) Mouse: Razer DeathAdder Chroma Wired Optical Mouse ($60.99 @ Best Buy) Total: $1690.76 Prices include shipping, taxes, and discounts when available Generated by PCPartPicker 2016-07-24 22:08 EDT-0400
  2. Going into separate branches can be done by 'nesting' multiple if/else statements inside of each other. If/Else gets you two branches per question - one for 'yes' and one for 'no'. Then, for each subsequent question you get another two branches. You can then make flowcharts that look like this shape (imagine the numbers are questions): Here's an example that closely mimics your flowchart: # This function is just to help out getting input# from the user. By writing it up here once, the # rest of the code can be cleaner and more readable.def askUser(question): answer = input(question + "? ").lower() if answer == "yes": return True elif answer == "no": return False else: print("Please answer yes or no.") askUser(question)# TROUBLE SHOOTER CODE STARTS HEREprint("Nice to meet you, " + input("What is your name? "))print("Welcome to my troubleshooter\n") if askUser("turns on"): print("Great") if askUser("iPhone 5 or later"): print("unsupported") else: if askUser("device specific"): print("forums") else: if askUser("iOS 7.1 or later"): print("update") else: if askUser("hard reboot"): if askUser("fixed?"): print("Great!") else: print("???") else: print("hard reboot")else: if askUser("physically damaged"): print("RMA") else: print("???") Give this code a try by saving in in a ".py" file and running it in Python. You should be asked different branches of questions depending on your answers. Side note, props on using Python 3.
  3. How far along are you? I won't write it all for you, but if you send back code I'll help you with it. For now, here's some hints: This flowchart can be written using two programming concepts: Asking the user for yes/no (boolean) input. This can be accomplished using Python's input() function. Chaining together if/else statements to match a flowchart. This is the same concept as what I posted above. Here's an incomplete snippet based on your flowchart: if input("Does your iPhone turn on?") == "yes": if input("Do you have an iPhone 5 or later?") == "yes": ... else: ...else: if input("Is it physically damaged?") == "yes": print("Send it back to Apple for RMA") Note that your flowchart is not strictly yes/no - the first question has three paths leaving it, and there are only two possible answers to the question.
  4. For simple (small) trees, use if/else hierarchies. In Python, that would be: if stock_level < 10: if num_available < 10: buy(num_available) else: buy(10)elif 10 <= stock_level <= 40: if cost < 5: buy(5) else: returnelif stock_level > 40: if cost < 2: buy(5) else: return Once you have the full logic written/thought out, you can simplify the tree as well: if stock_level < 10: buy(min(num_available, 10))elif 10 <= stock_level <= 40 and cost > 5: buy(5)elif stock_level > 40 and cost < 2: buy(5)
  5. Hey centimuz, I had the same problem - it's the power supply. Assuming you're using the Silverstone 450W SFX Gold PSU, that actually won't work with this case. If you look at the website for the case, there's a reason they suggest either the 450W Bronze not the 450W Gold. When I ordered my parts, I figured the 450W Bronze and 450W Gold are like the same price, why not get the gold rated one? This is for a server after all. The reason is that the 5V rail doesn't carry enough current to power the drive cage backplane. If you look at the specs on Silverstone's website, the ST45SF-G carries only 14A on the +5V rail, whereas the ST45SF (bronze) carries 22A and the SX500-LG carries 20A. Based on estimates I've seen on forums, the backplane requires about 16A - just outside the range of the 450W Gold. When debugging my rig, I found that the machine boots fine with out power connected to the drive cage backplane, but as soon as you touch a power connector to the backplane it dies, as if it had shorted out. So I ended up testing with two power supplies, using the second just to power the backplane and the 450W Gold for the rest of the system, and everything worked fine. Furthermore, I tried 'juicing up' the backplane with the second PSU, then after a second or two of power, switched it over to the main 450W Gold and everything was still fine. So it seemed that only the initial current draw was the problem. Here's actually a comment on Newegg from the Silverstone RMA Department, confirming that the issue is the backplane requiring more current than the PSU can deliver: If you look around on Google, you'll see most people mention it's due to the power required by the hard drives (e.g. PCPartPicker forums). However, in my experience, it's not number of hard drives, but powering the backplane at all. I experienced this issue even with 0 drives installed. Looking at the board, there doesn't appear to be any switching logic to only enable circuits for bays that have drives installed, so all of those capacitors charge up regardless of how many drives you have installed (even with 0 drives). That initial current draw seems to be the problem, as once the caps charge up, you can connect the PSU without crashing the system. Weirdly, I had actually had the system up and running, and had rebooted it probably ~10 times before I started hitting this issue. Sort of makes the whole thing more scary because you could have this rig in production working fine for arbitrarily long between reboots, then any power failure or reboot may make it look like your system has died. Hopefully if the LMG guys are actually using this rig they have a good PSU! Anyway, yeah, I'd try getting a different PSU. I went with the 500W Gold version and it works fine, though a bit large at an SFX-L size. FWIW, Silverstone is now recommending either the 430W Bronze, 450W Bronze, or 600W Gold.
×