Jump to content

Bladzy

Member
  • Posts

    96
  • Joined

  • Last visited

Everything posted by Bladzy

  1. I'd merge it with the previous word. Also, make sure to run your tkinter gui in a seperate thread, this will make your experience smoother and more responsible (the window or additional features like buttons may hang if both your gui and main code run in the same thread).
  2. Personally I want a detatched keyboard, mouse and screen (out of comfort reasons). And I want to DIY the machine, thats why laptop is no primary solution for me, but I use it on the go from time to time. I can't use controllers (seriously I can't), thats why I am not in posession of any game console. Mobile games almost made me broke at one point and used up preatty much all my time, it's simply too tempting to play when the device is always at your fingertips... So I can't stand those anymore. As far as the rest goes, I have never treid it and can't judge.
  3. So it is indirectly editing related, yaaay (sry I am happy, but this is for real my first time reviewing other peeps code online, looking for errors and suggesting solutions). A long line is producing negative indentation value because "auto_indent" uses this formular to calculate the indentation values 15 - self.num_chars // 2 And if the number of chars is >31 it gets negative, resulting in a negative value getting saved as unsigned int, which won't work. Your function gets the wrong amout of arguments and it crashes. The easiest way would be indeed what he described, and he's the author so he shall know best right. Originally I wanted to suggest a fix to you, simply checking wether the return value of auto_indent is >0 else returning 0, but while trying to recrate the error in the first place I realized that I coudn't do that. So I went after to check what happend in the meantime and I think the autor already fixed your issue. You just need to redownload the script. He simply changed auto_indent to this code: return max(0, 15 - self.num_chars // 2) This will pick 0 whenever the other value gets negative. Thats quite a clever fix, I would have likely just opted for an if, else statement. But thats not as clean as his solution. I'd still suggest keeping the ammount of chars lower. Having to much will certainly cut some of and make for weird looks.
  4. I only read the script briefly, but what seems to happen is that in line 156 "struct.pack()" is getting either to much or not enough arguments. Since it's called on a per line bases, as defined in "saveStaffrollBin" it's likely just a formatting mistake inside of the text file you edited (maybe indentation, maybe missed a colon?) You could just create an incremental counter inside the for loop on line 431 in staffroll_lib.py and print it out to see what line it worked on before it crashed. So we don't have to search the culprit manually. (the code could look sth. like this, changes in bold) line_cnt = 0 for line in lines: line_cnt += 1 print(line_cnt) if line is None: f.write(b'\xFF\xFF\xFF\xFF') else: line.saveToBinFile(f) Or you can catch the exeption and ignore it (via try- except block). But this may lead to some lines missing, maybe the conversion won't even work. Unfortunately I am really tired and will not be back until in like 15hrs. So I can't try to help in the mean time.
  5. Hookers and Cocaine! No seriously. I'd get: GeForce RTX™ 3090 GamingPro OC (mainly because of its smaller form factor, this is the only model that fits my case) Samsung C49RG94SSU or similar (to go along with the new gpu) new motherboard with X570M chipset some "cheap" 2TB+ m.2 SSD new CPU to go along with the motherboard (8+ cores) likely a new PSU aswell matx case with passive cooling capabilities (to throw my old components in and make it a proxmox server running an ip camera, pihole, home vpn client, media server and some other cool things) This should leave me with ~ 1K which I likely would just save up until I need it. (Just realized I am not allowed to get an AMD CPU, well I'd try it anyways lol)
  6. But you could also just add a new user on your main installation, should be fine.
  7. What you are writing honestly sounds a little paranoid to me. But as far as the technical side of things goes it's totally doable.
  8. This video shows a test on 3440x1440 and 2560x1080 resolution on a 21:9 aspect ratio. Unfortunately LoL is not tested, but this can give you a idea of what to expect. Since those graphically more intense games seem to run just fine, LoL really should not be a problem.
  9. Bladzy

    White AIO?

    What about a DeepCool Castle 240EX White? At least wehere I live it's priced relatively competetive ~100€. They have great RGB "compatibility", supporting asrock, asus, gigabyte and msi software. The fans illuminate evenly and the cooler itself is quite an eyecatcher. I own a similar model, lemme share a pic (yes my side panel could need some cleaning... one day... )
  10. Oh I did not even realize you are in possession of a desktop rig alrdy. In that case I'd go with the Idea Pad 5 14alc05 that Darkseth linked above. Its battery processor combo really is appearing, and besides that it got everything I'd personally want from a laptop. Connectivity, fhd screen, enough ram and storage. For presentations additionally to the HDMi the usb-c port may be interesting on this unit. It supports power delivery and display output. I think it will serve you well. You will have to install windows and amd's adrenalin software yourself, but that's doable. As far as CNC control goes, honestly I don't know what's possible on laptops. I can imagine that wiring it will get a little tricky.
  11. While browsing the web I stumbled across sth. that may be worth a look. https://bit.ly/3yTgXAU It again has a dedicated GPU but its priced even lower (660€). It's considerable if a GPU is sth. you are after. Drawbacks are: less Ram, but it us upgradable. And it comes without windows, so you'd have to format and install a version on your own (at no extra cost, since windows works just fine unactivated). Other than that, it's what I deem appropriate for a business/coding laptop. The looks are not to gamery. It should feel comfortable and i general provide a good user experience.
  12. If you still have other connectors left on your mobo and don't want to solder or buy a splitter you could also try to control your fan speeds via a software called "speedfan". This allows you to use your gpus temp sensors and set a custom profiles for the reading. It works with basicly every fan in your system, you should even be able to control the GPU fan itself. Its a little complicated to use though.
  13. Dunno where all this salt comes from... But first of all he wanted to go with less than 1k€'s which you seem to have missed. Thats why I recommended lower priced parts. I never said pick the HP one for it's looks btw... Only if he doesn't mind them dude. I do data sience on my machines, thats why max specs are important to me. I never said the Intel CPU is special, but the unit has a dedicated graphics card at almost no extra cost compared to apu options with similar performance and price. The first 2 options have more cores, which I doubt he will need, but is nice to have for multi processing as I said. The 4500u is an excellent processor for programming hence its boost, core count, price and low power consumption. It also comes with decent vega graphics in case one wanted to play a game. I can't judge built quality w/o holding them in my hands. But they seem to be produced partly with alluminium and plastic, similar to lenovos Idea Pad 3's which really feel great, so I don't worry. The customer support I never had to contact with HP products, so again, I can't judge and you may have had bad experiences who knows.. For coding (readability) on a 15 inch you don't need a higher resolution than 1080p since pixel density is increased. Thats about it. I can't argue that your choices are not good, since they are, indeed. But besides this one: https://geizhals.de/lenovo-ideapad-5-14alc05-graphite-grey-82lm00apge-a2548315.html they all play in a different price park than what I was aiming at, sub 800€ which makes them somewhat uncomparable. The Lenovo Idea Pad 5 14alc05 , that you have linked really is a good choice. Mainly because the CPU is newer and because of its Battery. It beats the captivas. And If a dedicated gpu is of none interest, thats probably your best bet, agree.
  14. Why though, his CPU draws ~ 205W and the GPU ~220W. Furthermore the GPU is not spiking as much as the 3090's are and the rest of the system is not even close of using the ~200W threshold up. He should at least test if his PSU gets the job done before spending extra. Nothing can happen to his hardware since drawing not enough power can't damage any components. At max he will experience instability or a shutdown if power demand on the PSU is to high (which again, I doubt will happen).
  15. Yes it should. But the point is even if you overclock at some point, or experience stability problems, your hardware is not endangered at all. Your PSU has OPP and OVP protection. That means before anything is damaged it will shut dow. That means you can try it out before wasting any money on a new one.
  16. It won't catch fire. If you are overloading it (which I doubt) it will simply shut down your system in order to protect itself. In that case you can still buy a new one, but until than, I'd hang on the money and experiment since you seem to already own the psu if I understood your correctly.
  17. Depends on what hes playing/doing. If he figures he has not enough he can always just throw another 8GB stick in there. Since he's on a tight budget, that's what I'd recommend.
  18. Good call, but if you are going with that CPU (3 3100) and overclock it you need to buy a better cooler. With stock cooler it can be overclocked np at 4.2 ghz, but if you want to push it higher safely and stable you will need better cooling. (I biuilt a system with that chip lately, it really is good value and overclocks like a charm)
  19. Judging by specs, price and lastly looks (729,00€): https://www.otto.de/p/captiva-power-starter-r59-110-business-notebook-39-6-cm-15-6-zoll-amd-ryzen-5-500-gb-ssd-1301721267/#variationId=1301721268 Or this one if you want some more storage (769,00€): https://www.otto.de/p/captiva-power-starter-r59-125-business-notebook-39-6-cm-15-6-zoll-amd-ryzen-5-1000-gb-ssd-1301647331/#variationId=1301647382 But the model I'd take for the money is probably this one (799,00€) https://www.otto.de/p/hp-15-dk1250ng-notebook-39-6-cm-15-6-zoll-intel-core-i5-geforce-gtx-1650-ti-1000-gb-ssd-1295442683/#variationId=1295442684 It comes with a decent GPU so you can do gaming aswell. All its specs are on par or better than the ones above, at roughly the same price. If you don't mind the gamery look you should give this one a try. But there is one drawback, you do not want to use this unit on battery... (but if thats no top priority, hell yeah go for it, at its current price of 799€ its a steal.) In case you are wondering about those recommendations: Programming can use up quite a bit of RAM (depends on the application though). I prefer having at least a fhd display, makes text so much nicer to read! I personally also make quite a lot of use of multiprocessing thats why I like those CPU's. Having more than 500GB of storage is crucial (at least for me). A backlit keyboard really is comfort worth having (trust me, you will miss it if you own a backlit keyboard). The GPU in the last one come at preatty much no extra cost and is a bonus and since I always go for the biggest value that would be it. I don't like recommending e-waste. Thats why I stay away from thin and lights that have been stripped of their performance and connectivity (ports). Let alone chrome-books...
  20. According to this source your cpu supports at max 4 displays: https://en.wikichip.org/wiki/amd/ryzen_5/3500u
  21. just to clearify, when do you get the crashes. before the repair menue even pops up or during the repair process?
×