Jump to content

Lennart van de Merwe

Member
  • Posts

    254
  • Joined

  • Last visited

Posts posted by Lennart van de Merwe

  1. 11 hours ago, whispous said:

    This is a recipe for total disaster and eventual total account lockout. Goodbye email address!

     

    But you could set up an authenticator like Authy or google authenticator, and when it needs verification, it should allow you to pick an auth method.

     

     

    But this is going to end in disaster. You need a commercial solution for managing shared mailboxes really. You must be giving out the password to so many people?

    I do agree, but we're a relatively small branch of a charity organization. We do not have the budget to get ourselves a commercial solution. 
    Furthermore, the commission generally does not expand beyond 10 people at any one time, and we change the passwords after someone has left the commission.
    So yeah, we need a commercial solution, but that won't happen anytime soon, unless someone starts giving us proper amounts of money.

  2. Greetings all,

    So I'm a chairman for a Veterinarians Without Borders commission. For organising our activities we use a shared google-account but it's been a continued problem where google sends account verification notifications to unsuspecting commission-members who then need to verify your new login. As you might imagine, this is very inconvenient as sometimes someone needs to do a login on a new device, whilst all the other people are busy in their daily work as a Vet or Vet-med student. Now I've already discovered that it is not possible to disable this feature (and no, I am not talking about the verification upon every login; that's a different verification), but I couldn't figure out or find whether it might be able to assign a single phone (mine as chairman) to receive these security/verification notifications. Any ideas? Thanks in advance =D

  3. 1 minute ago, AlexThorin said:

    First off, not sure if this is the proper thread to post this in, but, I have a game I play that I personally find a lot of fun and I'm not sure, (proper testing resuired as the only systems I've ever had are fx-8350 (whatever had a base clock of 4 GHz) and ryzen 5 3600 @ stock both with 1070 TI at 1800 GHz core and I forget what ram clock and DDR3 1600 and DDR4 3200 MT/s respectively per cpu) but BeamNG.Drive has what they call "Bannana Bench" and it looks like beam as I'll call the game from here on scales infinitely per core/thread. Would love to see that used as a type of physics benchmark and maybe even work with the community and devs a little to get it to be a proper benchmark tool since the devs (being a small team as I've seen) are really open, really just wanted to post this as I love both the game and modding community around it, and play it a ton.

     

    Sorry in advance for messed up wording and whatever my phone autocorrect stuff to, I'm slightly drunk.

    ~Alex Thorin

    yeah seems interesting. Especially since Beam can practically blow up any hardware set if you give it enough cars to crunch through. Should be interesting.

  4. So I updated my HP x360 envy (R7 4700u integrated w/ 16 gbs ram) to windows 11 and up until now have regretted it ever since.
    To make a list of my earlier problems real quick:

    - bluetooth died for a while until the driver finally became frens with win11
    - wifi connectivity has been incredibly painful. It experiences "connected, no internet" a lot, even though my phone (even with mobile data disabled) has wifi just fine. That's besides the fact that win11 isn't great friends with those wacky login sequences you get at big organisation wifi (I don't really know how to describe it).
    - windows hello just dies every once in a while meaning my fingerprint scanner is just for aesthetics 
    - office apps like word sometimes refuse to boot (my desktop running win10 doesn't have this problem), by this I mean that you get the starting logo, but after that disappears it just hasn't done anything and task manager doesn't show it running.
    - tablet mode detection sometimes happens when in laptop mode 
    - and the most recent of all: Civ5 crashing after a few dozen turns, and not just crashing, but crashing so bad that I have to reboot the entire laptop once or twice. Weird thing is, before the crashes started happening I had around 30 hours of civ on this laptop running on win11 without any problems whatsoever. Heavier games like hoi4 also run stable (though not with more than slide show performance after 1942, but that's the laptop's fault).

    So I haven't had any of these problems running windows 10 on this laptop, so I can only suspect windows 11 is behind it. I'm curious what your experiences are with windows 11, and whether I should start screeching harder or just wait patiently until the next patch drops (or go back to windows 10 perhaps).

  5. I have a B450 Aorus elite coupled with a ryzen 2600x and 2x8 gbs of 3000 Mhz corsair vengeance ram.
    My PC appears to work just fine and posts like normal, but the motherboard keeps giving very annoying constant single beeps. Every few seconds it'll beep once. The beeps are not in some sort of rhythm so I take it they're single beeps, from what I've read online is that single beeps are supposed to be something with your RAM, so I reseated it with no effect. I could try swapping to a single stick and seeing whether it's just one of the stick acting up. Weird thing is, when I ran AIDA64 and Userbenchmark on no significant performance losses were detectable by me. I'm also not sure whether the beeps apply here, since the single beep thing is supposed to be something during start-up only (during start up I have no beeps generally).

    I also considered that the beeps might not be the mobo, but my old HDD dying, so I ran HDtune on it, but that had no errors come back either.

    So, any idea on what the beeping might be, and how do I stop it?
    Also, fyi, I have stopped using my desktop for now and am now on laptop. If you need any hardware info, please do ask.

     

  6. On 8/9/2021 at 4:11 AM, Noodle 1 said:

    Look at ultrabooks such as the Dell XPS, Lenovo ThinkPad, and Framework laptop. The CPU performance will be there and if you need a GPU, there are some models with low to mid range discrete graphics. The XPS and Framework PC look the same but Lenovo has a dozen lines of their ThinkPad series so there's one for your need no matter how specialized. A late 2020 Dell XPS onward is pretty sweet but if you're on a budget, then a used ThinkPad or new Framework (DIY version) is your friend. Like someone else said, ThinkPads are basically mini tanks, NASA uses them  and they are (or were) iconic for professionals for a long time for good reason. 

     

    As for frame.work, get the DIY config with a base CPU and wifi card (it's actually a good deal compared to US Amazon prices) and buy your own used (or on sale) RAM, SSD, and bootleg Windows 10 license and that should keep you under $1000. It's under $800 USD for the laptop plus $60 for 16gb of used RAM and another $100-120 for an nvme SSD and $15 or so for a bootleg Windows 10 license.

     

    https://frame.work/products/laptop-diy-edition/configuration/edit

    Right I forgot to tell, but I'm in the Netherlands, and Framework doesn't really ship there yet, but it's a good suggestion aside from that.

    I'll start looking for a ThinkPad ig

  7. Exactly as the title says. 

    I'm starting my study of Veterinary Medicine at the uni this september, and I require a laptop for access to digital learning material on the go. I have a desktop for everything that requires more horsepower (ryzen 5 2600x, 16 gbs of ram, rtx 2060; so no worries there)

    My wishes for a laptop that are slightly unrealistic given the price:

    - Good build quality
    - decent CPU performance (gpu can just be integrated) - everything that equals or beats an i7-6700HQ is decent in my opinion
    - GOOD BATTERY LIFE REEEEEEEEEEE (I need to be able to get through an entire day on a single charge. There are no outlets in a stable after all...)

    Optional:
    - 2 in 1 laptop (this will be my main way of accessing books for my study, so I'd like to be able to use it as a book, if possible)


    Stuff I've been considering:
    - Macbook air (M1, 8 gbs ram, 256 gbs) - 969
    - Surface Laptop GO (i5 1035G1, 8gbs ram, 128 gbs) - 800
              - has shitty battery from what I've heard
    - Surface pro 7 (i5 1035G4, 8 gbs ram, 128 gbs) - 989
               - nvm, the keyboard is not included. Stoopid microsoft

    Please help me out here... Thanks!

    EDIT: I'm considering buying an HP envy X360 13-ay0930nd. From what I've heard it has good battery life, good performance (ryzen 7 4700u, 16 gbs ram) and decent build quality. It's available for 949.- 
    There's also a cheaper variant with a ryzen 5 and 8gbs of ram, but I'm kinda uncomfortable with buying 8gbs of ram without the possibility of upgrading (it do be a lot cheaper for 750).

  8. 17 hours ago, Guuhan said:

    Why using static? They are bothersome in Unity and very inefficient. Try creating an instance of BCFC and use the script directly where ever you want. Also, why BFBC.instance? It doesn't do anything if the script isn't in the scene (ex, on a game manager object).

    Thanks for the feedback, but I gotta be honest, I'm far from the level of C# where I can make actual decisions on how to do stuff best. Currently I'm following a tutorial, and trying to fix whatever error comes along, and so hopefully learning the language bit by bit. For the record, I've been doing C# for 5 days now, so maybe at some point in the future I can use your feedback...

    Furthermore, BFBC is attached to a gameObject so it should be working.

    Anyways, I managed to fix the error, and I think it should be working now.


    UPDATE: It worked, I fixed it.

    I changed it from:

    BCFC.instance;

    to

    controller = BCFC.instance;

  9. 15 minutes ago, minibois said:

    Maybe it will work, maybe not. Without knowing the context, I have no idea what "BCFC" is, what "BCFC.instance" is supposed to do, etc. 

    Ait,  I tried it,  too bad it didn't work. It would appear it's ought to do something.

    Without "BCFC.instance" I just get NullRefException errors.

    Here's my BCFC code, the goal of this code, and the tester, is to change the source image of a UI element (in order to change the background).
     

    public class BCFC : MonoBehaviour
    {
        public static BCFC instance;
    
        public LAYER background = new LAYER();
        public LAYER cinematic = new LAYER();
        public LAYER foreground = new LAYER();
    
        void Awake()
        {
            instance = this;
        }
    
        [System.Serializable]
        public class LAYER
        {
            public GameObject root;
            public GameObject newImageObjectReference;
            public RawImage activeImage;
            public List<RawImage> allImages = new List<RawImage>();
    
            public void SetTexture(Texture texture) 
            {
                if (texture != null)
                {
                    if (activeImage == null)
                        CreateNewActiveImage();
    
                    activeImage.texture = texture;
                    activeImage.color = GlobalF.SetAlpha(activeImage.color, 1f);
    
         
                } else
                {
                    if(activeImage != null)
                    {
                        allImages.Remove(activeImage);
                        GameObject.DestroyImmediate(activeImage.gameObject);
                        activeImage = null;
                    }
                }
            }
    
            void CreateNewActiveImage()
            {
                GameObject ob = Instantiate(newImageObjectReference, root.transform) as GameObject;
                ob.SetActive(true);
                RawImage raw = ob.GetComponent<RawImage>();
                activeImage = raw;
                allImages.Add(raw);
            }
        }
    }

    Maybe this can give some insight as to why I'm getting CS0201

  10. 5 minutes ago, minibois said:

    Where did you get this code from?

    A youtube tutorial on how to make a Visual Novel.

     

    Quote

    Basically, what is happening is you're stating the name of a variable, but you're not trying to do anything with it.

    So I can just put "//" before it and hope for the best?
     

  11. Hi so my code is producing error CS0201: Only assignment, call, increment, await, and new object expressions can be used as a statement. It's located in line 15 (marked with //). As of now, my BCFC script contains a public static that I'm trying to refer to. So, what's wrong?

     

     

    using System.Collections;
    using System.Collections.Generic;
    using UnityEngine;
    
    public class TestBackground : MonoBehaviour
    {
    
        BCFC controller;
        public Texture tex;
    
        // Start is called before the first frame update
        void Start()
        {
            BCFC.instance; //this is line 15, and producing the error
        }
    
        // Update is called once per frame
        void Update()
        {
            BCFC.LAYER layer = null;
            if (Input.GetKey(KeyCode.Q))
                layer = controller.background;
            if (Input.GetKey(KeyCode.W))
                layer = controller.cinematic;
            if(Input.GetKey(KeyCode.A))
                layer = controller.foreground;
    
            if (Input.GetKey(KeyCode.T))
            {
    
            } else
            {
                if (Input.GetKeyDown(KeyCode.Z))
                    layer.SetTexture(tex);
                
            }
        }
    }


     

     

    This originally wasn't my code and I'm still in the process of trying to understand, but I'll try to answer any questions you might have and/or provide extra code or info you might need.

  12. I was wondering whether this (Subwoofer out --> receiver --> passive sub) would be possible. I'm on a budget so I can't afford buying an active sub to hook up to the soundbar, which only has subwoofer out, but I do have a receiver and passive sub that works on that receiver. I was thinking of buying a cable that either went from subwoofer out --> 3.5 mm, or subwoofer out --> stereo rca (and then a cable: stereo rca --> audio jack). I'm fine with a bit of distortion. The sub will only be meant is complimentary to the listening experience and not be centre stage, but I'm wondering if it'd work. 

    If you need more specs, just ask.

  13. 10 minutes ago, wanderingfool2 said:

    It's a compiler warning, which means that it doesn't always do the most indepth analysis of what the upper bound may be.  It is giving that warning because it just detected that the number might be larger than the original (in this case it is sort of a guideline to look into to make sure it won't).

     

    As a note though, strlen is null terminated; so yes originalLen could be greater than the defined length and you could be reading the memory that comes after the decryptedmessage.

    
    int main() {
    	char[2] a;
        a[0] = 'a';
        a[1] = 'b';
        int len = strlen(a); //Len is not well defined.  In theory you might think it is 2, but in practice it could be anything
        	//Since it will depend what is stored in the memory location a[2] (sometimes it might be 0, so you might get the right answer)
            //but it isn't guarenteed
    	return 0;
    }

     

    All you could use something like as follows to catch it properly

    
    if(lenOfPaddedMessage > LenOfPaddedMessage)
    	lenOfPaddedMessage = LenOfPaddedMessage;

     

    *So now this is just my opinion, but it I always try keeping variable names distinct from each other.  Yes, l vs L makes it a different variable but to me it just makes things confusing when they are used together (having to remember which is which as I don't usually process the capitals in my head)

    Thanks a lot for the input and clear explanation. Unfortunately it only makes it worse when it comes to the output of the code, so I'm leaving the bug as it is, especially since I have to start handing in my assignment.

  14. 2 minutes ago, AbydosOne said:

    Basically, if you have something with 10 slots, and you ask it for whatever is in slot 11, the thing isn't going to know how to respond, and so it might throw an error, or crash, or give you what would be in slot 11 if it existed (this is usually the nastiest outcome for various reasons).

    Point is, there a chance you might ask the array for something in a position that doesn't exist, and so you need to ensure that your value of 'x' doesn't tell the arrays 'decryptedmessage' or 'paddedMessage' (in that line) to pick from a slot beyond what they have, by making sure that 'x' is always smaller than the length of either array.

    Yes, but that int is determined by taking the length of the decryptedmessage, which then also defines the length of the paddedmessage. Could it be something to do with:
     

    int originalLen = strlen((const char*)decryptedmessage);
    			int lenOfPaddedMessage = originalLen;
  15. 14 minutes ago, AbydosOne said:

    See here.

     

    Basically, it's just warning you there's a chance that 'x' might be a larger value than the declared length of 'decryptedMessage'. Check that x < decryptedMessageLength in your for loop.

    I'm sorry, but what do you mean by that? I'm a noob remember X<

  16. unsigned char* decryptedmessage = new unsigned char[LenOfPaddedMessage];
            for (int i = 0; i < LenOfPaddedMessage; i++) {
                decryptedmessage[i] = encryptedmessage2[i];
            }
    
            for (int i = 0; i < LenOfPaddedMessage; i += 16) {
                AES_Decrypt(decryptedmessage + i, inputkey);
    
            }
    
            cout << endl << endl;
            cout << "\nDecrypted message:" << endl;
            for (int i = 0; i < LenOfPaddedMessage; i++)
            {
                cout << decryptedmessage[i];
                
            }
            cout << endl << endl;
            
            string AnswerYesNo; // een test/encryptie module
            cout << "\nType 'yes' if you wish to encrypt the message, answer 'no' if not: ";
            getline(cin, AnswerYesNo);
            int AnswerLength;
            AnswerLength = AnswerYesNo.length();
    
            if (AnswerLength == 3)
            {
                int originalLen = strlen((const char*)decryptedmessage);
                int lenOfPaddedMessage = originalLen;
    
                if (lenOfPaddedMessage % 16 != 0)
                    lenOfPaddedMessage = (lenOfPaddedMessage / 16 + 1) * 16;
    
                unsigned char* paddedMessage = new unsigned char[lenOfPaddedMessage];
                for (int x = 0; x < lenOfPaddedMessage; x++)
                {
                    if (x >= originalLen) paddedMessage[x] = 0;
                    else paddedMessage[x] = decryptedmessage[x];
                }

    Hi guys this is Austin, I'm having a problem with my C++ project for school (it's making AES, if you're wondering). I'm a massive noob when it comes to coding, let alone C languages, so please have mercy on my soul.

    The problem I'm having is in the second to last line: "... else paddedMessage[x] = decryptedmessage[x];" 
    The warning Visual gives me is coded C6385. Of course I've looked this up and I understand what the problem might be, but I can't seem to figure out the cause of it. I suspect it's something to do "decryptedmessage", but I'm not sure.The code listed above isn't the entire code (that's something like 600 lines: too much for this post I suppose, but if you need it, just ask), I've chosen to take the code from the 'birth' of decryptedmessage until the error. If you need more, once again, just ask.

    I'm sorry for my awful description of the problem and I know I'm a horrible noob. Please help me out, it would mean a lot.
    Thanks in advance.

  17. 20 minutes ago, Lennart van de Merwe said:

    Hi guys, my PC has been working just fine for quite a while, but today for some reason in windows my ram settings have changed: only 7,9 gbs are available as normal ram. The other 8,1 gbs have turned into hardware reserved ram for no reason. I also saw that my memory speed is at 2133 Mhz instead of the normal 3000 Mhz. My settings in the bios haven't changed (it's still got XMP enabled and is supposed to run at 3000 Mhz according to my bios). Nothing has happened with my computer as far as I'm aware, it must've happened today since I experienced some instability in minecraft today, but not yesterday (Minecraft's got 8 gbs dedicated in the settings and that's a problem if it's only got 4 gbs). So, my question for you guys: what's happened with my ram, and how to fix it?

    Thanks in advance.
     

    Good news! I have fixed it. After watching a sketchy Slovenian tech-youtuber list me three options to fix this I decided that the memory swap wouldn't hurt. With this I mean a quite literal memory swap: you take stick 1 out of slot 1 and stick 2 out of slot 2 and then put stick 1 in slot 2 and stick 2 in slot 1. Then I booted, went into the bios and reconfigured my XMP-profile. badabiembadaboem. IT WORKS!

    Proof of my caveman solution (with the ltt window so I couldn't have faked it):

     

    Screenshot (116).png

     

  18. Hi guys, my PC has been working just fine for quite a while, but today for some reason in windows my ram settings have changed: only 7,9 gbs are available as normal ram. The other 8,1 gbs have turned into hardware reserved ram for no reason. I also saw that my memory speed is at 2133 Mhz instead of the normal 3000 Mhz. My settings in the bios haven't changed (it's still got XMP enabled and is supposed to run at 3000 Mhz according to my bios). Nothing has happened with my computer as far as I'm aware, it must've happened today since I experienced some instability in minecraft today, but not yesterday (Minecraft's got 8 gbs dedicated in the settings and that's a problem if it's only got 4 gbs). So, my question for you guys: what's happened with my ram, and how to fix it?

    Thanks in advance.
     

    Specs:
    Ryzen 2600x
    2x8 gbs of corsair vengeance ram (3000 Mhz)
    Aorus B450 elite gaming motherboard
    (rtx 2060; 60 gb ssd; etc.)

    Task manager window at this time:
     

    Screenshot (115).png

  19. Hi guys, 

     

    I'm fixing someone's PC. The guy complained that his PC wouldn't boot to the 'right windows' anymore (it booted to Vista when I tried it; he said he had win10 on it). Now, win10 was installed on the SSD and vista on the HDD. The SSD was properly installed and plugged in, but it didn't show up in the bios of the OG PC. Then I went ahead and put the SSD in my own PC with my own cables to check if it'd show up there. It didn't. My question to you guys: how many dead SATA cables may I have (they're not very high quality, but last time I used they worked fine + I already dusted the connector) or is this SSD bust (it was secondhand bought a few months ago, but I haven't heard of any horror stories like this one).

    Thanks in advance, hope to hear from someone soon.

    EDIT: I've tried 3 SATA cables so far.
    EDIT 2: It's officially dead.

  20. I couldn't even get into a single match, I've tried three times, and all three times my game has crashed. I've had similar problems with this game before.
    It ain't my PC, because that bad boy is doing just fine in everything else I throw at it.

    Does any one have any suggestions for what might be fucking up this game so badly? The devs? Ea?

×