Jump to content

RileyTheFox

Member
  • Posts

    1,192
  • Joined

  • Last visited

Awards

This user doesn't have any awards

3 Followers

Profile Information

  • Gender
    Male

System

  • CPU
    Intel Core i7 8700
  • Motherboard
    ASUS Z370-F STRIX GAMING
  • RAM
    8GB Corsair Vengeance DDR4 2133MHz
  • GPU
    MSI GeForce GTX 960
  • Case
    Unknown
  • Storage
    250GB Samsung 850 EVO, 1TB Seagate, 200GB WD
  • PSU
    EVGA 600w (forgot exact name)
  • Display(s)
    ASUS VC239H and another ASUS 21 inch monitor
  • Cooling
    Artic Cooler PRO CPU Cooler and some fans for the case
  • Keyboard
    Corsair Raptor K40
  • Mouse
    Black generic mouse
  • Sound
    AudioMicro Wireless Bluetooth Headphones
  • Operating System
    Windows 10

Recent Profile Visitors

3,381 profile views
  1. Hi. I have installed MinGW on my machine and added it to my PATH, and the commands work in command prompt but in VS Code they are not recognised: VS Code: Command Prompt: My environment variables: How come this doesn't work?
  2. Hi. I recently went on vacation and just came back and to my surprise, my AOC 24G2U monitor no longer powers on. It was working completely fine before I left. The monitor is plugged in correctly, but when I press the power button nothing happens (No power LED or anything). I tried a different cable and also tried swapping it from being connected to a socket extension bar to the wall directly. But still nothing. There were some thunderstorms while I was away, but no power cuts or lightning hitting us. My socket extension bar also has surge protection so that would surely deal with any issues. What's weird is if there was a surge that caused it to die, my other monitor (Asus VC239H) would have also died too I'm pretty sure. But that is working just fine. Is there anything I can do myself to try and fix it? Or is this a case of warranty replacement (it should still be in warranty). Thanks.
  3. Hi. I'm writing a Class Library in C# and it depends on some external DLL files, is there any way I can include those dependencies into the DLL so I don't need to distribute loads of other dependencies (and their dependencies, then their dependencies etc). Is there any way to do this in the visual studio build process? Thanks.
  4. Well this has only started happening today, how can I stop this?
  5. Hey. An issue with photoshop popped up just today and it's extremely frustrating. I have a canvas that is 636x690 pixels and an image that is 636x690 pixels. If I drag the image onto the canvas from explorer for example, this happens: However, if I copy the image to my clipboard in windows photo viewer and then paste it into photoshop, the image appears fine. This has only started happening today and is extremely annoying. How can I fix this?
  6. Hey. Over the past few days my VPS has been pinned to 100% CPU usage by the process 'kswapd0'. Using the top command, this is the information I get: The user sidney is just a friend's user account, and the kswapd0 issue only occurs from there. I tried deleting the user account and remaking it (in case there was anything that got corrupted) and after deletion, the problem was solved. But soon after recreation the problem arose again. Multiple sources online tell me to run "echo 1 > /proc/sys/vm/drop_caches" but this also achieves nothing. The system is consistently pinned to 100%. I dabbled in killing the kswapd0 process, and that solved the problem, however that means swap is no longer running (and it could be unstable too?) This has only started happening since around a week ago. I've tried a kernel upgrade to see if that would solve anything but nothing worked. Even the VPS company's support couldn't help me after so long. Does anyone have any solution to this? Thanks.
  7. A friend provided a solution that worked perfectly. Here's the code: for (int i = 0; i <= v1.Length - v2.Length; i++) { bool match = true; for (int j = 0; j < v2.Length; j++) { if (v1[i + j] != v2[j]) { match = false; break; } } if (match) { return true; } } return false;
  8. It can find the individual numbers but it fails to find the sequence as a whole thing.
  9. Hey. So I have 2 vectors of different sizes, and in the bigger one I need to be able to find a sequence of elements that matches the smaller one. Here's an example of the vectors: std::vector<int> bigVec{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16}; std::vector<int> smallVec{4, 5, 6}; How would I find smallVec within bigVec? bigVec contains the sequence 4, 5, 6. smallVec also has that sequence. So how would I find that sequence in bigVec? Help is appreciated, thanks!
  10. Hi. I just got an AOC 24G2U and I'm using it through DisplayPort. This is the first time I'm using DisplayPort and I've noticed that Windows disconnects the monitor when I turn it off. This causes all my windows to move about and is pretty frustrating. Is there any way to stop this? I tried looking up a solution and was told to disable DDC in the monitor settings. I tried that and it didn't work, unless I just didn't do something right. Can anyone help? Thanks.
  11. Hello. This just started happening about 2 minutes ago. I have 2 monitors. My main one is connected via the dGPU and the second one is connected via the iGPU. Just now while playing a game that doesn't require a lot of GPU power, my second monitor went black (but still powered) twice, and a purple line flashed across my first monitor just below the center. I'd like to note that my GPU drivers are slightly out of date as I have just fresh installed Windows a couple of days ago. I also want to note that the other day, both my monitors completely froze and then went black for about 5 seconds, then my computer returned to a normal state. It has not happened while writing this post, and this has taken around 5 ish minutes. It only happened those 2 times. Is this a driver issue? Or am I facing faulty hardware? I will try to update my GPU drivers through GeForce Experience to see if that helps. My PC specs are listed in my signature if you would like to know them, Thanks.
  12. I'm forgetting about Ubuntu now. I need to fix my Windows install. I've removed all the partitions relating to Ubuntu and I've just tried to fix the Windows boot files using repair my computer through the windows setup USB. I tried bootrec /fixmbr and bootrec /fixboot but these didnt work. Am I completely fucked here? Do I need to format my SSD and start again? Thanks.
×