Jump to content

Mkfish

Member
  • Posts

    305
  • Joined

  • Last visited

Reputation Activity

  1. Like
    Mkfish got a reaction from Ben17 in Show off your old and retro computer parts   
    Yeah I think you are right there, the cooler definitely smacks of that generation. I've not bothered looking at it to be honest as it was offending my eyes with cables and dust.
     
    They are indeed phone jobbies I'm affraid, it's a really old Blackberry, and unnatural light source means even more blurrrr.
  2. Funny
    Mkfish reacted to knightslugger in Aio for Rx 580   
    the G10 is a GPU cooler... why would  AM4 come into the picture?
  3. Agree
    Mkfish reacted to kanesmadness in Threadripper Build   
    To answer the rest of your question. As @DrMacintosh said...Intel has nothing at the moment that touches threadripper. A 7900X in AUD at the moment is $1449 and the 1950X is $1439 (when its released in 3 days). As for why NVME drives...unless im missing some kind of compatibility problem why wouldn't I go with fastest possible drives.
  4. Like
  5. Like
    Mkfish reacted to Revan654 in [Build Log] Project Ice Dragon - CaseLabs SM8 | Z170 WaterCooled | i7 6700K | GTX 1080 | 4K   
    ^ Going to rebuild My Gaming PC and most likely transfer it to one my other Case-Lab Cases. So far looks like it will be my S8.
  6. Funny
    Mkfish reacted to amancalledoss in Has anything suprised you fixing someones PC   
    Well yesterday my neighbour asked me to have a look at his laptop because it just wouldnt turn on , I was on my way out at the time so I said leave it with me and Ill sort it for you , he wasnt keen on the idea but did leave it .
    As soon as I got back home he rushed out to see if I was going to do it and I told him yes later but he seemed so low I said Id have a look right away so I plugged it in and nothing so next option I checked the fuse and plugged it back in again and it fired up , he snatched it up so fast he broke the screen so I asked "wtf did you do that for" and he broke down told me he was gay and that his wife didnt know and was worried Id find out when the screen came up and Id tell her !!!!
    Im having a bloody strange day !
  7. Like
    Mkfish reacted to GeorgeKellow in Has anything suprised you fixing someones PC   
    Not sure if I cant post this or not but I worked in a pc repair shop for my work experience and I came across child porn. Called police, got arrested and thrown in prison to rot for 14 years  
  8. Funny
    Mkfish reacted to RollinLower in Has anything suprised you fixing someones PC   
    i once got asked to clean up and 'revive' my boss's laptop. it was some old laptop rocking a pentium and i think 2 gigs of RAM. so yeah it was a beast to begin with.
    after cleaning up some pop-ups and other addware junk i got around deleting junk files. i found this one folder and after clicking it to see if it had any junk in there i got bombarded with naked pics of my boss and his missus. but even worse, some of these pics where taken by a 3rd person!
     
    i closed the folder, finished up cleaning the laptop and gave it back without ever mentioning seeing it, but i never quite look at my boss the same after this. quite traumatising.
  9. Funny
    Mkfish reacted to imPixelTV in Has anything suprised you fixing someones PC   
    I was installing windows 7 on my PC and i needed the network drivers, so i asked my stepdad if i could borrow his laptop (he "borrowed" it. i haven't gotten it back. stereotypical scouser) and out of curiosity i looked in the firefox history and i saw a site amongst the history bollocks that read something like "guy wanks on girls boobs". no wonder he was reluctant to let me borrow his laptop, hah.
     
    also, when i was doing my year 10 work experience, we got a computer in from a local ford garage, and malwarebytes found around 250 things, and updates hadnt been installed in months. be wary of where you spend your money, kids!
  10. Agree
    Mkfish reacted to Nuluvius in Programing Practice   
    Don't bother with VB. If you want a more relevant equivalent then focus your efforts on C#.
  11. Agree
    Mkfish reacted to Nuluvius in Programing Practice   
    Even so I'm an advocate of always doing a thing properly and to the best of one's ability.
  12. Informative
    Mkfish reacted to Nuluvius in Programing Practice   
    In the general sense if one ends up writing out lots and lots of if else statements then it's a clear indication that something is going wrong.
    And nesting them is even worse, adding Boolean conditionals is worse still. Topologically you have just made a mess that's going to be very difficult to understand. Both to yourself in a few months time and worse for anyone else who has the misfortune to have to deal with it. See Cyclomatic Complexity.
    In general you want these conditions to come first, they are known as Guard Clauses. If they fail then you simply exit that particular route of execution, for instance:
    private void SomeProcedure(string someParameter) { if (string.IsNullOrEmpty(someParameter)) { return; } // Else do something with it } Not only is this far more simple and readable but it's the accepted standard when writing classical and iterative recursion; it is a best practice is to have one's termination clauses at the start.
     
    When dealing with a number of conditions then one can obviously combine then into a single logical condition so long as it is not overly convoluted - this is likely trivial when dealing with two concerns such as two inputs... If it does end up being convoluted then consider more than one of such clauses or, once again, consider that something is wrong with the design.
    You have identified a thing here: Range. If it were me then I'd probably lift this out and make it a part of my narrative:
    class Range { public int Minimum { get; set; } public int Maximum { get; set; } public bool ContainsValue(int value) { return value >= Minimum && value <= Maximum; } } You even seem to have some data?
    In general declaring any kind of literal in one's code i.e. a string or a number for example is considered very bad; these are known as magic values. They add to the overall entropy of the code and therefore damage the integrity of the design. The solution for magic values is to use a constant with the caveat being that there must be a clear reason for it's existence and that it fits into your narrative in some meaningful way.
     
    In this particular case you may have a few values. Therefore the solution here may be to either declare them statically or load them in dynamically at run time from some kind of data source such as a file for example.
     
    I've chosen to hard code the values for this example:
    class Program { class Range { public int Minimum { get; set; } public int Maximum { get; set; } public bool ContainsValue(int value) { return value >= Minimum && value <= Maximum; } } private static readonly List<Range> Ranges = new List<Range> { new Range { Minimum = 0, Maximum = 10 }, new Range { Minimum = 60, Maximum = 70 } }; static void Main(string[] args) { ProcessSomeNumber(100); ProcessSomeNumber(5); Console.ReadKey(); } private static void ProcessSomeNumber(int someNumber) { if (!IsInRange(someNumber)) { return; } Console.WriteLine($"Do something with {someNumber}"); } private static bool IsInRange(int someNumber) { return Ranges.Any(r => r.ContainsValue(someNumber)); } } Again, if it were me, then I'd probably seek to further encapsulate this behaviour inside of a class that was concerned with holding this list of Ranges and checking at the highest topological level whether a value was within any of them or not (this can still be accomplished in a single readable line by using Linq).
     
    You want to be moving away from spaghetti implementations and towards thinking about and identifying different concerns that occur in your design or emerge and evolve within your code. Remember SOLID that I linked you earlier.
     
    In object oriented software design we seek to decouple and encapsulate implementation detail. We achieve this by using clearly defined and readable abstract interfaces. The concept of 'is something within a range' is an abstract concern for an interface and the mechanics of how that check is accomplished is an implementation detail and a concern for the concrete implementation of that interface. We also try to favour Composition over Inheritance.
  13. Agree
    Mkfish reacted to dalekphalm in Linus becoming an AMD Fanboy?   
    Kind of hilarious, given how many times he's been accused of being either an Intel or NVIDIA shill.
     
    Linus isn't becoming an AMD fanboy. It's actually refreshing to hear him talk about AMD in a positive manner.
     
    And frankly, Intel's i9 platform is a complete flusterfuck of "I don't know what I'm doing".
  14. Funny
    Mkfish reacted to LinusTech in Linus becoming an AMD Fanboy?   
    It's cyclical.. 
     
    Some company releases a good/exciting/interesting product, and I say it's good/exciting/interesting, then I get labeled a fanboy of aforementioned company.
     
    That company's competitor does the same, and I do the same thing.. then I'm "switching sides".
     
    How about this? I'M NOT A FAN OF ANYTHING SO THERE IS NO SIDE-SWITCHING FOR ME TO DO!
     
    I'm not on "a side" and anyone who thinks I am needs to take a LONG, HARD look in the mirror and figure out why they see the world in terms of "which side someone is on".. because if you think of things that way you're probably a fanboy. And that's sad.
  15. Agree
    Mkfish reacted to vorticalbox in Making a div clickable for changing another element   
    you have it inside the scroll function so you won't be able o access it unless youre scrolling.
     
    move it outside and try. 
  16. Agree
    Mkfish reacted to DXMember in Are there any Fade in/ Fade out effects for pictureboxes in C#?   
    you might not need it for animation, but it's a good enough reason to start learning how to do threading
  17. Informative
    Mkfish reacted to MoonlightSylv in New RYZEN Rig won't boot... HELP   
    His board will run them in dual channel, quad channel support is controlled by mobo/CPU, not RAM.
  18. Like
    Mkfish reacted to Faljake in New RYZEN Rig won't boot... HELP   
    I'm only using 2 sticks, but the board was build specially for Ryzen, so I have a hard time believing they would overlook something like that.
  19. Informative
    Mkfish got a reaction from Joveice in c# Self hosted website as "form"   
    ASP.NET controls have events that you can call in order to do what you are trying to achieve.
     
  20. Like
    Mkfish reacted to cheapasian in Post Custom Desktop   
    My wallpaper

  21. Informative
    Mkfish reacted to Vasllo in How bad is my CPU bottlenecking my GPU?   
    Use MSI Afterburner while you play and keep an eye at the CPU usage. If it's at 100% AND your GPU is under 99% on well optimized games, then you have a problem. Remember not all games are CPU-intensive.
  22. Like
    Mkfish reacted to Rambo3456 in HDMI vs DVI to HDMI Adapter   
    Thank you i appreciate your help 
  23. Like
    Mkfish got a reaction from Rambo3456 in HDMI vs DVI to HDMI Adapter   
    In my experience they work perfectly with zero noticeable difference unless you have an option like Dynamic Super Resolution (AMD) or the nVidia equivalent to increase DPI and overall image quality
  24. Agree
    Mkfish got a reaction from Rambo3456 in HDMI vs DVI to HDMI Adapter   
    Amazon do incredibly cheap cables/adapters that work brilliantly (from experience)
    You're lucky that the 970 comes with HDMI 2.0 output ports, on the R9 Fury I just bought the HDMI is only 1.4 which means 4K(UHD) only runs at 30hz... 
    I had to buy a £30 display port 1.2 to HDMI 2.0 active adapter to finally get 4k(UHD) @ 60hz.. it was totally worth it though
  25. Like
    Mkfish reacted to Rambo3456 in HDMI vs DVI to HDMI Adapter   
    thanks
×