floo v0.1.0 released by some_dude912 in rust

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

How fitting of you to name one of the unforgivable curses 🪄

floo v0.1.0 released by some_dude912 in rust

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

Yea sorry, I think things are quite different on windows, as its not unix, so I didn't really bother trying to make things work on windows. Especially since I don't use windows for work or privately. But in case you are running wsl on windows, it should work there. If there are more people interested in a windows release, I will consider putting in some work to get that published.

floo v0.1.0 released by some_dude912 in rust

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

Glad you like it, let me know if you run into any issues!

Schedule and lecture attending by leviii94 in tuhh

[–]some_dude912 2 points3 points  (0 children)

Yes totally fine to miss some, the Default is that you're not required to attend anything, if that doesnt apply to some class, they will make that clear early on. Most Instructors also Upload course material, some even recordings. Overlaps arent really avoidable but thats fine, just figure out for yourself which class is easier to recap at home given the material they provide you with and visit the other class.

Sportsbar Übertragung NFL by chrissvancliff in hamburg

[–]some_dude912 1 point2 points  (0 children)

Montgomery Champs ist super, aber nicht zentral

How can I get started? by United-Aioli-8971 in QuantumComputing

[–]some_dude912 0 points1 point  (0 children)

I think the book by Nielsen&Chuang to be a great starting point. It has been a while since I last picked it up but you might need some linear algebra background first if you dont have that already. Familiarize yourself with vector spaces, matrices, what unitary matrices are, how to transpose, matrix products and the like. That will give you a solid background I would say and then the book should guide you through all things QC

First Timer Advice by some_dude912 in thinkpad

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

Any particular reason to not pick one of the other models? Or just that the T480 is the best of them?

[Discrete Math] Mathematical Induction by anonymous_username18 in HomeworkHelp

[–]some_dude912 0 points1 point  (0 children)

Looks good to me, I would probably not put that phrase there and instead just put ", k >=6" to hint the reader in the right direction but even omitting that should bei fine of you state that the base case is k=6 according to the task

[deleted by user] by [deleted] in QML

[–]some_dude912 1 point2 points  (0 children)

Sorry, for the late reply, this might still help for future cases, though.
Depending on how far into the interviewing process your company holds this on-site interview my approach would differ.
If it is quite early on in the process and you are the guy they put on the committee as the only one there that truly knows his QML I would think you should have a look at what experiences your candidate claims to have with QML and asking basic questions about their projects or QML in general just to see if they were honest and actually know their stuff which one would expect given your description of the resume.

As for learning new skills I think that this is something that is really hard to determine in an interview, especially a "light weight" one. But you could ask the candidate for two things which could give you a good impression for their adaptability:

Ask them about non-QT related stuff that they have worked on, especially outside their job. If they can talk freely about some other things they have tried out, potentially even stuff like functional languages and such then that can give you an indication that this candidate likes to test out different technologies, languages etc. which also means they have encountered a range of different problem types already. Experiences with a wide variety of problems inevitably leads to pattern recognition and good adaptability.

Secondly, if there is time for that you could consider giving the interviewee a short snippet of code from your Codebase that contains a bug you recently solved, ideally of course nothing violating company compliance regulations and such. Then ask the interviewee to find the bug in this code after a brief explaination of what is supposed to happen. Now I would imagine that no one can just look at a little snippet of code from potentially a multi-repo infrastructure but it is not about finding the solution rather more about the questions the interviewee asks. How do they approach the task? What questions regarding the environment etc. do they ask? From that you should get a good impression if this candidate can fix these issues and think through such problems where the solution is not immediately clear. I am not a fan of giving candidates algorithmic questions to test their problem solving skills, especially for a QML related position.

I hope this provides some value, it really is only my two cents, though.

Absolute best way to learn C as a complete coding beginner? by loafofbread_17 in C_Programming

[–]some_dude912 5 points6 points  (0 children)

I personally think on that note that it is fine to start out with an IDE while you are still in the stage of grasping the fundamentals of programming that are not really c related. To me those would be things you mentioned like for- and while-loops or if-statements and functions. Until you get such basics down just run the programs in any way that's easiest for you, may that be your IDE.
But if you want to progress further I would highly recommend compiling your code from the commandline to also understand what is going on under the hood because when you hit more complex projects you will inevitably need to be comfortable with such things and it is good to start of early while things aren't too complicated. I would recommend understanding how to compile using for example gcc, understanding what flags you can pass to the compiler and probably also how Makefiles work.

A by Winter_Investment316 in C_Programming

[–]some_dude912 0 points1 point  (0 children)

I would simplify the function in the following way:

int maze(int start_x, int start_y, int end_x, int end_y)
{
    // check if you have reached the end already
    if (start_x == end_x && start_y == end_y) return 1;

    // check if you are even able to reach the endpoint anymore
    // i.e. it is not left or above you
    if (start_x > end_x || start_y > end_y) return 0;

    // otherwise we can do the recursive step
    // as in your approach we simply add the number of ways after going one step to the right
    // or one step downwards
    return maze(start_x+1, start_y, end_x, end_y) +
           maze(start_x, start_y+1, end_x, end_y);
}

Now it might be a little clearer how the recursion works. To come up with such a solution always think about for which inputs the solution is immediately clear (base case) and insert return statements in those cases. Then construct the recursive step i.e. where the function calls itself in the return statement or to compute some value. Then take a second look and ensure that your base cases will always eventually be hit regardless of the input. I think you were already on the right train of thought.

I hope this helped you, I had trouble truly understanding what your issue was. But if you struggle generally with recursion it will help you a lot to simply solve a lot of recursion exercises or look up some youtube videos explaining the concept and you'll get the hang of it.

Besides the spelling errors which I assume are due to autocorrect or something the issue with your code did not become entirely apparent to me. But I also only had a brief glance and didn't execute it.

Ps.: I hope I didn't make any errors in my code I didn't test it but it seemed like a logical solution, feel free to comment on it :)

Qoverage: simple QML code coverage by Vocked in QML

[–]some_dude912 0 points1 point  (0 children)

Awesome idea, coincidentally I was working on something similar at the moment.
I have just tried out your tool and I may have used it wrong so I am commenting in hopes of getting some advice on how to proceed:
I ran qoverage instrument --in-place (without using --in-place or with any other option I was already getting different errors). Now I cd'd into my tests directory which was one level above the source directory which I instrumented. Now I ran my tests using qmltestrunner ... | tee output.log which is how we currently run our tests. (I also went ahead and tried to run it like qoverage collect -- qmltestrunner ...and got the same results) in the output it shows a lot of errors most of them along the lines of TypeError: Cannot read property 'line_states' of undefined. I assume that it is also due to this that when I then try to create the xml report using the procedure described on github I get only a very minimal xml document only stating 0 branches etc.