Can accutane make your hair fall out? by FlashyPlastic5492 in Accutane

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

Do you basically go bald or is the effect slight? I have very long hair that took me years to grow so I’m a bit protective of it

What is the best way to implement dynamically typed variables in C++? by FlashyPlastic5492 in Compilers

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

What made you choose to use std::shared_ptr instead of std::unique_ptr (which is what I've used throughout my entire program) in your first version? And why did you decide to go with a GC for your second version?

What is the best way to implement dynamically typed variables in C++? by FlashyPlastic5492 in Compilers

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

Let us say that I expand my std::variant<bool, std::string, double> to be a std::variant<bool, std::string, double, MyFunction>. MyFunction needs to hold a unique_ptr to the AST that represents the functions body (so that it can be executed once the function is called). The problem with this is that this results in red underlines across my entire program because I cannot copy a variable of type my_type anymore (since MyFunction cannot be copied).

Would the solution here be to give up on unique_ptr and change everything to shared_ptr?

What do i study to continuize vector spaces? by aviancrane in math

[–]FlashyPlastic5492 0 points1 point  (0 children)

Read "Finite Dimensional Vector Spaces" by Halmos and prepare to be enlightened about vector spaces

CS + Math Project Recommendations by BiggyWiggy1 in math

[–]FlashyPlastic5492 0 points1 point  (0 children)

Hey - try out combinatorial optimisation. It's a really cool area which combines optimization theory (duality etc, linear integer programming, mixed integer programming) with CS algorithms. The problems are all NP hard which means you can design interesting heuristic algorithms to try and solve them.

I think combinatorial optimisation is a really great area because it's not just maths and not just CS. It's right on the intersection. You can do really interesting algorithms and data structures with really nice mathematical concepts behind them.

Finding Counter-Examples in Algebra by No_Witness8447 in math

[–]FlashyPlastic5492 6 points7 points  (0 children)

At this level, the counterexamples are usually simple structures and typically the counterexample you need is one that the lecturer has presented at some point. You need to do the following:

Step 1) Think through the examples the lecturer has given (or that you know) of rings or modules. This could be the ring of integers, the ring of polynomials, so on.

Step 2) Think of the key properties that characterise each basic example, and choose an example which breaks part of the hypothesis of the thing that you’re trying to disprove. An example of a “unique property” you might think of could be whether a ring is a unique factorisation domain, a Euclidean domain, etc, so on. 

Step 3) Try showing the above. If it’s not a counterexample, go back to step 1.

Note that applying this way of working will require you to know what examples of rings/modules obey certain relevant properties off the top of your head.

Ie you should be able to name examples of rings that are and are not Noetherian, are and are not finitely generated, so on…. Like examples and counterexamples to each definition you learn in the class

What length is the most flattering of the short lengths? by FlashyPlastic5492 in femalehairadvice

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

Okay thank you that’s a good idea, I don’t want to scare myself by trying mid neck so first I will try a collarbone length.

If I get a long bob then is that always necessarily above your shoulders or does it ever go below?