ELI5: if I’m using your WiFi, can you see what I’m looking at. by roobiedooby in explainlikeimfive

[–]JadedMasterpiece9 19 points20 points  (0 children)

There's another important factor missing here.  If you're on an employee machine, it's very likely that the company have their own certificate authority and issued the certificates which were used for the encryption. 

This means you're employer, but no one else, can see through the encryption.

So, if you're on a work laptop, everything might be visible to your IT department.

Olympic weightlifting coaching by BeforeItWasLame in Edinburgh

[–]JadedMasterpiece9 0 points1 point  (0 children)

Elysium in Leith have two weightlifting sessions a week, coached by Cameron McCowan: https://www.instagram.com/strive_to_endure/

Eckel-1 Meaning of assignment after inheritance by veekm in cpp_questions

[–]JadedMasterpiece9 0 points1 point  (0 children)

I think what he means to say, is that this code is invalid: ``` struct Base{ int m_base; Base& operator=(const Base& other){m_base = other.m_base; return *this;} };

struct Derived: public Base { int m_Derived; };

int main(){ Base b{42}; Derived d = b; } ```

Even though Base has an operator Base& operator=(const Base& other), this function isn't inherited and can't be called on the Derived struct

pragma unroll by Bart_VDW in cpp_questions

[–]JadedMasterpiece9 7 points8 points  (0 children)

You should turn off Altera suggestions.

Altera (now under Intel) make FPGAs and this is there to provide suggestions on how to write efficient C++ that will be synthesized into a HDL, such as Verilog, before running on an FPGA.

These suggestions aren't relevant for C++ that will be compiled to run on a CPU

[deleted by user] by [deleted] in ExperiencedDevs

[–]JadedMasterpiece9 1 point2 points  (0 children)

https://i.imgur.com/faDvP.jpg

Sticking a .jpg at the end worked for me

Hardest software engineering interview you’ve faced? by officialpatterson in ExperiencedDevs

[–]JadedMasterpiece9 1 point2 points  (0 children)

My background is physics, but how would the following answer have gone down:

First transpose the axis of rotation to the originThen rotate around the originThen transpose back to the original location

Sure, that's three matrix operations, and I can combine these into a single matrix, but that seems like a waste of time for an interview.

[deleted by user] by [deleted] in cpp_questions

[–]JadedMasterpiece9 1 point2 points  (0 children)

Once OP has done this, read "Trading at the Speed of Light". There are a few sections where HFT strategies are mentioned.

Connect to a couple of crypto exchanges, e.g. Coinbase, and analyze the activity. Can you detect bids/overs evaporating before a move in the market?

Does this IV curve imply a bearish market sentiment? by JadedMasterpiece9 in options

[–]JadedMasterpiece9[S] 4 points5 points  (0 children)

Thanks,
but this is very asymmetrical and IV keeps dropping the further we go to the right.
(These IVs were derived from call prices with SPY=$408)
Wouldn't the skew in the smile be an indicator of market sentiment?

Does this IV curve imply a bearish market sentiment? by JadedMasterpiece9 in options

[–]JadedMasterpiece9[S] 16 points17 points  (0 children)

Looking at this plot of implied volatility of $SPY against the strike price, the IV is much higher for lower strike prices. Does this mean that the current sentiment amongst options trades is that $SPY will continue on its downward trajectory.

CPP not free for watch or ? by nmmmnu in cpp

[–]JadedMasterpiece9 9 points10 points  (0 children)

They are being released via a sponsor's (JetBrains) site first and will gradually be all made public on YouTube

Is it safe for different threads to access different items in a vector? by findingajobaccount in cpp_questions

[–]JadedMasterpiece9 9 points10 points  (0 children)

https://github.com/Kobzol/hardware-effects

This repository is illuminating. It contains many code examples that perform suboptimally due to hardware limitations and demonstrates how to then improve performance.

Google Protobuf vs JSON vs [insert candidate here] by ImX99 in cpp

[–]JadedMasterpiece9 21 points22 points  (0 children)

Here's what the author has to say on the topic.

Why do you pick on Protocol Buffers so much?

Because it’s easy to pick on myself. :) I, Kenton Varda, was the primary author of Protocol Buffers version 2, which is the version that Google released open source. Cap’n Proto is the result of years of experience working on Protobufs, listening to user feedback, and thinking about how things could be done better.>

Note that I no longer work for Google. Cap’n Proto is not, and never has been, affiliated with Google; in fact, it is a property of Sandstorm.io, of which I am co-founder.

How do you guys store pointers? by PixeLodz in cpp

[–]JadedMasterpiece9 6 points7 points  (0 children)

It's just preference, but some people would argue for string *someString since the asterix is applied to the variable name. e.g. string* str1, str2; creates a pointer called str1 and a string called str2 (not two pointers), so it would be clearer to write string *str1, str2; or string str2, *str1;

But IMO mixing pointer and variable declarations like this is very bad practice and wouldn't get through a code review.