Jump to content

Mokomoko

Member
  • Posts

    39
  • Joined

  • Last visited

Awards

This user doesn't have any awards

Recent Profile Visitors

598 profile views
  1. I must have missed it, how much was the whole PC setup in total? Was it at least cheap?
  2. Thank you everyone for your suggestions. I am going to get the mount conversion kit and I changed my Mainboard to support DDR5 as proposed. I also changed my case to a bigger size because It's still unclear if it will 100% fit in the 4000D. Here is my updated Part List: https://de.pcpartpicker.com/list/drKDVw Feel free to give more input on this build, it's now slightly over Budget but that's alright.
  3. To find the mode of an array, you can use a similar approach to the one you have implemented. One way to modify your code to handle ties is to use a Map to track the count of each value in the array. You can then iterate through the map to find the value with the highest count. Here is an example of how you can do this: import java.util.HashMap; import java.util.Map; //Implement your methods and use this body: double[] array = {1, 2, 3, 3, 3, 4, 5}; Map<Double, Integer> counts = new HashMap<>(); for (double value : array) { if (counts.containsKey(value)) { counts.put(value, counts.get(value) + 1); } else { counts.put(value, 1); } } int maxCount = 0; double maxValue = 0; for (Map.Entry<Double, Integer> entry : counts.entrySet()) { if (entry.getValue() > maxCount) { maxCount = entry.getValue(); maxValue = entry.getKey(); } } System.out.println("The mode is: " + maxValue);
  4. Here are some ressources which are quite good: "Mastering Regular Expressions," 3rd edition, by Jeffrey E.F. Friedl is a comprehensive guide to regular expressions that covers a wide range of topics and includes many examples and exercises. This book is considered a classic and is widely recommended as a resource for learning regular expressions. "Regular Expressions Cookbook," 2nd edition, by Jan Goyvaerts and Steven Levithan is another popular resource for learning regular expressions. This book includes a wide range of examples and covers a variety of programming languages and contexts in which regular expressions are used.
  5. I agree with Zalosath. It looks like you are attempting to remove the name key from the person object in local storage. However, you are using the window.localStorage.removeItem function and passing in name as the argument. This will not remove the name key from the person object stored in local storage. Instead, it will remove the item with the key name from local storage entirely. To remove the name key from the person object in local storage, you will need to retrieve the object from local storage, modify it, and then set it back in local storage. You can do this as follows: let person = JSON.parse(window.localStorage.getItem('user')); delete person.name; window.localStorage.setItem('user', JSON.stringify(person)); This will retrieve the person object from local storage, remove the name key from the object, and then set the modified object back in local storage. If you want to remove the entire person object from local storage, you can use the window.localStorage.removeItem function and pass in the key for the object, which in this case is 'user': window.localStorage.removeItem('user'); This will remove the person object from local storage entirely.
  6. Edit: I already made some changes from the comments below, this is my new Partlist: https://de.pcpartpicker.com/list/drKDVw Budget (including currency): 2000 - 3000€ - Money is not a problem but I don't want to spend anything on Looks and I want good value for my money. €/Performance is important to me Country: Germany Games, programs or workloads that it will be used for: AAA Games (I want to be able to play all Games in 2023 on 2K Resolution), Software Development (Running VM's, Heavy Multithreading) I already own everything in the list below that is marked as purchased. It's in my current PC and I want to reuse it if possible. I already configured most of my new PC but I've got a couple of questions to the build below: I already own a Power Supply but it only has 650W which seems too low, should I go for another one and if yes, can you recommend a good Modular Power Supply for that build? I built my new PC on an Intel Plattform, do you recommend AMD Instead, if yes can you provide an alternative Build with AMD? Personally I feel like Intel is better but I might just be brainwashed Will everything fit in the case that I chose? I am worried the Graphics Card and the CPU Cooler might take up too much space. Is the Mainboard overkill? I want a good performance but I also want a quality Plattform while not spending any money on unnecessary features like WIFI or RGB Stuff Does the CPU Cooler fit on that new processor? I currently have it mounted on an i7-9700K but I am worried that the bracket that mounts onto the mainboard might not fit cause I bought it over 3 years ago when the 13th Gen Intel didn't exist yet Do you recommend faster RAM? I am still not sure how much RAM Clock matters to PC Performance especially in Quad-Channel Mode PCPartPicker Part List: https://pcpartpicker.com/list/6Xf43y (Total Price Currently ~2.700€) CPU: Intel Core i9-13900K 3 GHz 24-Core Processor ($594.99 @ Newegg) CPU Cooler: Noctua NH-D15 82.5 CFM CPU Cooler (Purchased For $0.00) Motherboard: Asus ROG STRIX Z690-A GAMING WIFI D4 ATX LGA1700 Motherboard ($308.99 @ Amazon) Memory: G.Skill Trident Z RGB 32 GB (4 x 8 GB) DDR4-3200 CL16 Memory (Purchased For $0.00) Storage: Samsung 960 Pro 512 GB M.2-2280 PCIe 3.0 X4 NVME Solid State Drive (Purchased For $0.00) Storage: Samsung 960 Pro 512 GB M.2-2280 PCIe 3.0 X4 NVME Solid State Drive (Purchased For $0.00) Storage: Samsung 980 Pro 1 TB M.2-2280 PCIe 4.0 X4 NVME Solid State Drive ($99.99 @ Amazon) Storage: Samsung 980 Pro 1 TB M.2-2280 PCIe 4.0 X4 NVME Solid State Drive ($99.99 @ Amazon) Storage: Seagate Barracuda Compute 2 TB 3.5" 7200 RPM Internal Hard Drive (Purchased For $0.00) Storage: Seagate Barracuda Compute 2 TB 3.5" 7200 RPM Internal Hard Drive (Purchased For $0.00) Video Card: Asus TUF GAMING GeForce RTX 4080 16 GB Video Card ($1499.99 @ Amazon) Case: Corsair 4000D Airflow ATX Mid Tower Case ($104.99 @ Amazon) Power Supply: be quiet! Power Zone 650W 650 W 80+ Bronze Certified Fully Modular ATX Power Supply (Purchased For $0.00) I am looking forward to all of your answers. You don't have to answer all questions but I am interested in every bit of insight that I can get, even if it's just an opinion.
  7. I did an upgrage from that build aswell a while ago and came up with this: PCPartPicker Part List CPU: Intel Core i7-9700K 3.6 GHz 8-Core Processor ($339.99 @ Amazon) CPU Cooler: Noctua NH-D15 82.5 CFM CPU Cooler (Purchased For €0.00) Motherboard: Asus PRIME Z390-A ATX LGA1151 Motherboard ($181.89 @ OutletPC) Memory: G.Skill Trident Z RGB 32 GB (4 x 8 GB) DDR4-3200 Memory ($209.99 @ Newegg) Storage: Samsung 970 Evo Plus 500 GB M.2-2280 NVME Solid State Drive ($109.99 @ Amazon) Storage: Samsung 970 Evo Plus 500 GB M.2-2280 NVME Solid State Drive ($109.99 @ Amazon) Video Card: NVIDIA GeForce GTX 1070 8 GB Video Card Case: Phanteks Enthoo Pro ATX Full Tower Case (Purchased For €0.00) Total: $951.85 Prices include shipping, taxes, and discounts when available Generated by PCPartPicker 2019-09-01 18:05 EDT-0400
  8. I love that your HDD is already peaking at 4MB/s - even a USB drive is faster than that. Uninstall that bad anti virus cr*p and get a good SSD or something. You also might consider switching to a leightweight Linux distro to minimalize System usage.
  9. You can do that, make sure to either change your boot priority in the BIOS to your primary HDD or use the Boot Menu (F12 usually during booting) to choose your primary HDD. Using that you can then easily format the HDD. You could also boot into safe mode, or command line mode, and then do it from there, but that would be a little bit more challenging.
  10. That would highly depend on the connector of those HDD's (S-ATA, SCSI, etc.) and if you have those available in your new system. Also you'd need some electrical power, so your power supply would have to have enough power output cables.
  11. It seems you two seem to be in an agreement then! I didn't even consider that you can customize these laptops on their website, thats really helpful! So far a customized version of the Lenovo seems to be the choice for around 1000$
  12. Thanks 5x5! looked at that one and I found this review and by looking at the specs alone it seems to be true... Do you think there is more to that story? @GeneXiS_X maybe you can give your opinion on this one aswell ?
  13. I am buying a Laptop for my girlfriend because she is rocking a 6 year old Macbook (yikes!) and I'd like to play some games with her. Here are my current ideas: It should be able to run Minecraft and more modern titles at around 60FPS+ on medium settings It should NOT contain an extra HDD, just to save some costs It should contain an SSD It should have at least 8GB of Ram preferably in Dual Channel Good Dedicated GPU (no idea what a good mobile GPU would be) Upgradeability does not have to be the best External Mouse and Keyboard will be used No External Monitor will be used (for now, cause she doesn't have one) 1080p Is fine Battery life and Portability doesn't really matter IO doesn't matter Target country is the USA, shop doesn't matter And the most important thing: Under 1000$, even better if its for around 800$ - 900$ If the pricepoint is not possible, please suggest a different config or pricetag (although money is kinda a limitation). I was looking at the Acer Nitro 5 because Linus was saying it's great back in 2018, although now it seems to be a litte outdated, right? Maybe we can also use the Intel Gaming days @https://gamerdays.intel.com although the deals seem to be very limited for laptops. Thank you so much for reading! ?
  14. I am just saying the number of posts is pretty Elite right now.
  15. Thanks for the detailed description! The Phanteks Eclipse P400/s sounds most promising so far Especially for the price.
×