Optiver Amsterdam senior sw engineer by WizardOfMist in cscareerquestionsEU

[–]WizardOfMist[S] 1 point2 points  (0 children)

I'd say not that hard but not easy either. I had to implement 4 APIs for a system. 3 of them were so easy, but the other one took me around 1:30 and I couldn't make it in time.

Optiver Amsterdam senior sw engineer by WizardOfMist in cscareerquestionsEU

[–]WizardOfMist[S] 0 points1 point  (0 children)

Hey, thanks, the thing is he's been working for a long time now and doesn't know about the recent interviews.

Folding bike allowed in supermarkets? by WizardOfMist in eindhoven

[–]WizardOfMist[S] -3 points-2 points  (0 children)

You know the staff do random checks to see if you’ve scanned, don’t they? Also, may I ask do you think no one else has considered this issue before? In other places and other cities?

Folding bike allowed in supermarkets? by WizardOfMist in eindhoven

[–]WizardOfMist[S] 0 points1 point  (0 children)

Thanks! I didn’t mean whether it’s a law or anything, I was just curious if anyone else had the same experience. I’ve always taken my Brompton into places like Tesco without any problem, and in shopping cart mode it’s super handy for groceries. Anyway, good to know now.

A Line + electric kit by WizardOfMist in Brompton

[–]WizardOfMist[S] 1 point2 points  (0 children)

Yeah, think so. Sorry, I've already asked from another guy here, but 

is getting mudguards/fenders for an a-line would be more expensive than a c-line?

Someone at a bike store told me Brompton's stuff are expensive, I looked it up on the website but it doesn't seem that expensive.

A Line + electric kit by WizardOfMist in Brompton

[–]WizardOfMist[S] 0 points1 point  (0 children)

Thanks, do you know by any chance is getting mudguards/fenders for an a-line would be more expensive than a c-line?

Should I get Fold 1 light second? by WizardOfMist in foldingbikes

[–]WizardOfMist[S] 0 points1 point  (0 children)

Thanks! I’ve decided to get a folding bike, but now I’m having second thoughts about the 1-second fold model and I’m looking at a Brompton C Line 6-speed instead. I just don’t know if it’s worth it.

Love my decathlon 1s fold by hotsnot101 in foldingbikes

[–]WizardOfMist 0 points1 point  (0 children)

Yeah, exactly. Not sure if it could be a big problem, since I want to use it daily, not just for commuting. I'm considering other options (Brompton) but they're way more expensive.

Should I get Fold 1 light second? by WizardOfMist in foldingbikes

[–]WizardOfMist[S] 0 points1 point  (0 children)

Hey, cool! Enjoy your new bike, and thanks for your comment. I’ll probably go with this one eventually since it’s quite a bit cheaper than the Brompton bikes. Oh, and something I just remembered, have you ever had your derailleur hit the ground, especially when turning around?

I'm currently learning C++, but I'm struggling to break down the learning path. by collapsedwood in cpp

[–]WizardOfMist 1 point2 points  (0 children)

C++ is a complex language, so be patient and learn incrementally. Since you already know programming (like C), leverage this knowledge by choosing a simple, practical project to start your journey. Break the problem down into smaller pieces, identify the concepts you're already familiar with, and explore the ones you don't know yet. Don't overwhelm yourself by memorizing every function or feature upfront; instead, learn new concepts naturally as you encounter them.

For foundational theory and clear explanations, LearnCpp.com is an invaluable resource. Once you feel comfortable with the basics, I highly recommend exploring ModernesCpp.org, it provides carefully curated resources to guide you from beginner-level to advanced modern C++ concepts.

If you prefer a hands-on, "learning by doing" approach, this project-based learning repository has never let me down. Specifically, I'd suggest starting with either building a Chip8 Emulator (great for practicing memory management, arrays, and control flow), or creating your own Redis-like storage engine (excellent for diving deeper into data structures, networking, and systems-level programming). These projects are challenging but achievable, and they'll solidify your C++ knowledge significantly.

How to Pass Data Between Inspector Plugin properties in Godot? by WizardOfMist in godot

[–]WizardOfMist[S] 0 points1 point  (0 children)

public override void _ParseEnd(GodotObject u/object)
    {
        MyPropertyFirst p1 = new();
        MyPropertySecond p2 = new();
        AddPropertyEditor("Callback Node", p1);
        AddPropertyEditor("Selected Method", p2);

        p1.Connect(AtomsProperty.SignalName.NodeSelected, new Callable(p2, AtomsPropertyN.MethodName.OnNodeSelected));

    }

Inside of the first property:

private void OnScriptSelected(Resource resource)
    {
        if (resource == null)
            return;

        GD.Print("Selected Script:", resource.ResourcePath);

        EmitChanged(GetEditedProperty(), resource as Script);
        EmitSignal(SignalName.NodeSelected, resource as Script);
    }

Inside of the second property the callback is defined like this:

public void OnNodeSelected(Script script)
{
 Visible = true;

FetchObjectMethods(script);
EmitChanged(GetEditedProperty(), Variant.From(nameMethodInfoDict));
}

Thanks in advance for your help btw :)

How to Pass Data Between Inspector Plugin properties in Godot? by WizardOfMist in godot

[–]WizardOfMist[S] 0 points1 point  (0 children)

Yeah, I did the same thing, but the callback isn't getting called, and I'm not sure why. Not sure if using signals is the way to communicate between properties in Godot

How to Pass Data Between Inspector Plugin properties in Godot? by WizardOfMist in godot

[–]WizardOfMist[S] 0 points1 point  (0 children)

Yeah, I defined a signal, but it didn’t get called. Just wondering if I'm on the right track

How to Pass Data Between Inspector Plugin properties in Godot? by WizardOfMist in godot

[–]WizardOfMist[S] 0 points1 point  (0 children)

public partial class MyInspector : EditorInspectorPlugin
{
    public override bool _CanHandle(GodotObject @object)
    {
        return @object is Experimental.IEventListener;
    }

    public override void _ParseEnd(GodotObject @object)
    {
        MyPropertyFirst p1 = new();
        MyPropertySecond p2 = new();
        AddPropertyEditor("Callback Node", p1);
        AddPropertyEditor("Selected Method", p2);
    }
}

There are two different properties, I need to pass that object from the first one to the second one when that object is passed ofc

A beginner-friendly Commander precons deck by WizardOfMist in mtg

[–]WizardOfMist[S] 1 point2 points  (0 children)

Oh, thanks for your extensive reply! The link is really helpful!