446 karma · joined July 22, 2016
Ensuring you don't lose money, or overreact to numbers on a screen, are not among them.
I feel terrible for the kid. Even though he should have been well aware of what to expect in this situation, it seems like common sense that RH (or any trading software) should have some UI indication when the balance shown is a partially settled trade. It is an accounting reality - yes for a bit his account is really -$700k - but even if you know that, opening the screen and seeing it without some caveat is like a prank. Got you! You're actually not bankrupt. Seems unnecessary.
(a) 99%+ of people buying these things do not know or care about security, aside from someone stealing their WiFi bandwidth (b) the manufacturer does not care because of (a).
As follows, all they care about (WRT to the web server) is that they are easy enough for non-technical people to setup such that they don't end up on a tech support call or returning the device for a refund. That is it.
If you are the 1% that cares about security on your home network, it is far less stressful to simply conclude these products are not for you and move on with your life. You should be looking at enterprise hardware, open source router firmware, or rolling your own.
In any case, what surprises me is that over time the router manufacturers haven't simply built up a single, relatively patched-up, web server implementation that they re-use. Even without aligned incentives, you would think over years and years of development they'd have something at least as good as what you can clone out from from github for free.
Also most of these vulnerabilities (as the article points out) are in the web server. If the web server isn't exposed,it isn't of much practical security concern.
I've also run DD-WRT for years with excellent results. Per the usual benefits of open source and active maintainers, it is generally going to (a) have the trivial stuff already addressed (b) keep up to a reasonable extent with security patches.
Nowadays if you had a game with glitches that allowed people to steal your items outside of intended game mechanics, there would be an uproar on Twitter and punishing 1-star steam reviews. Back then it was infuriating, but part of the atmosphere. The night was dark and full of terrors, so to speak. Also the actual concept of real-estate, with a real house and your own vendors, was really next-level stuff for immersion. Exploits like duping that ruined the economy weren't beneficial to the atmosphere though, and actually broke immersion.
Nostalgia holds up a lot of it though I'm sure. Just like anything else, playing it again now probably wouldn't bring back the same experience.
I’ve been using C++ for about 15 years now, and also tbh, and dislike just about everything beyond 11-14. The cognitive load reading code has just skyrocketed. The simple basis of the issue was when the meaning of existing syntax elements being “overloaded”. &, &&, [] in my mind. It is not complicated or profound reasoning - simple as now you need to decipher more context to understand what is being expressed. I’ve been materially disappointed to spend 5-10 minutes reading a small bit of unfamiliar code only to learn that what it ultimately expressed was truly trivial. It just makes you feel like c++ has become like the toxic parts of academics/math where everything is expressed in the most complex way possible to establish superiority over others.
The comments about debug ability are true. STL sources/template stacks are absolutely terrible to work with. Luckily with the STL though, what 99%+ of the time, the bug is in your usage, so it doesn’t matter much. To be fair though that is a trade off - I feel like I’m on vacation debugging c# or Python, but that is (almost) an intrinsic benefit of interpreted languages, with the well-known associated costs. Just templates... the cognitive load of having to understand (simply read) and debug code from an abstract definition introduces significant pain in terms of debug ability and general usability.
“C++ is not the STL” - true but c’mon - whatever is built-in mostly defines the stuff that you can be sure is portable, and rely on as a standard practice/resource in large projects. Very few sane people want 5 different implementations of a vector or string from god knows where with god knows what bugs. In the industry for c++, there is serious need for the _option_ to “reinvent the wheel” of standard libs, but it shouldn’t be that this is necessary to achieve baseline performance or usability in common use cases.
I am of the same opinion as at least one other below - simplicity of implementation and readability of language are king in the “real” world. What’s better than the beauty of a meta-programmed, absolute masterpiece of modern C++ and zero-cost abstractions? A program that I can understand in 10 minutes two years after it was written, or better yet that can be understood and debugged by 90% of skill levels instead of 10%.
This conversation could, and does, go on without end. My net-net conclusion so far is that modern C++ has done more harm to itself than good because it is trying to be too much. When the creator of the language can’t even keep up with it enough to call himself an expert, it’s a pretty obvious red flag that things have gone off the rails.
The Three-Body Problem & The Dark Forest.
The important math for understanding the foundations of finance and business isn't advanced math. It is accounting - primarily addition, subtraction and simple algebra or calculus 101 for things like interest calculations or discounted value modeling. This basic math also underpins the "fundamentals" of business used in objective, common-sense investing - the kind Warren Buffett is fond of.
Also, "stocks" and math are a classic "the map is not the territory" situation. Math describes stocks and business performance very well but does not define it. A machine learning algorithm trained on historical price data in concert with differential equations of 1,000 variables will historically do no better at investing than buying and holding index funds.
Technical Analysts "quants" would disagree, but alas: https://www.bloomberg.com/news/articles/2020-05-02/after-qua...
So the thing to focus on isn't going from math -> stock trading. It is to learn accounting and business and basic stock market concepts. Eventually a math background will help, but it's support not the foundation.
I've often wondered if there is some alternate base or mathematical system entirely that would be "better" in these respects. The thought usually comes up thinking about why pi is such an "ugly" number in base-10 decimal.
Maybe in some cases they just need a new IBM mainframe instead of re-written software.
Old doesn’t necessarily mean worse and newer doesn’t necessarily mean better, but that logical foundation is easy to forget in a tech culture so often myopically focused on innovation(tm) and short-term profit or austerity above robustness.
The relative rarity of COBOL programmers aside, this is a just an garden variety f* up of keeping legacy systems around too long because they aren’t “broken”. And like technical debt, the money and effort to fix them, despite many warnings and pleas, is called a waste because there is no immediate benefit or profit.
Then something like this happens, and everyone forgets the shortsighted management or decision makers that ignored the risk and collected bonuses and praise for saving the Corp/taxpayers money. Those who warned about the debt coming due get nothing except being able to say “I told you so” for a few weeks until the whole thing blows over.
Contrary to popular belief that options = gambling, this is the #1 real utility of them. If 90% of your investments are tied up in S&P 500, it makes sense to hedge that with put options which provide a clearly defined max-loss over the contract duration of the option.
So in a period like this when those put options become valuable due to price drop and general IV, you can do as suggested and sell them to re-coup losses and maintain capital. It doesn't change the lifetime performance of your money placed in the corresponding security, but it most certainly improves the performance of your portfolio as a whole and limits the damage that can be done in any given downturn.
If you only hold securities, index or otherwise, your only recourse is time. I certainly wouldn't recommend trying to time the market, just like I wouldn't buy an insurance policy the day before a loss. That doesn't mean you avoid insurance altogether because you can't predict when you'll need it.
Don't often see a true-to-life, physical embodiment of the phrase "half baked"
But at least if you know something is happening in real-time, motion triggers being the most important, there is at least some chance to intervene or call the police depending on the circumstances. Even if you can't stop them, speed is key, and if they are on foot they could be caught in the area afterwards with vague id such as clothing only. Capturing a license plate is probably optimal though, if they aren't on foot. Cameras are very good these days - HD and higher 30/60fps video - not the pixelated/blocky/useless recordings of 10 years ago.
Also good to know ahead of time if there is anyone snooping around looking for easy targets (as small-time burglars do). Some systems do also have monitoring services.
Otherwise yeah, cameras are at best a deterrent and source of evidence, nothing more as a passive device. Best security system I've ever had was a German Shepherd. Fully autonomous deterrent + active response if necessary :)
Also, humorously, cited by:
US10430379B2 2017-06-05 2019-10-01 Vmware, Inc. Identifying common file-segment sequences
Is that a referencing error?
I'm not making this up - this is how model testing is actually done, in multiple domains. Simulation is a reason banks, HFTs, hedge funds, etc. use massive compute infrastructure - doing it the right way, with many millions of plausible data sets, requires orders of magnitude more computing resources than back-testing on one data set that just happens to represent one way things could have played out (i.e. reality).
Thinking that one historical data-set is somehow special (in itself, without context) is largely a delusion. In fact you can generate near perfect historically accurate price charts just using a random walk algorithm seeded with an opening price.
All sliding the window does is discover the parameters that work for the whole data set in chunks - it is an artificial distinction. It still regresses to: you've found some number space generated by some function that matches some percentage of the numerical relationships (correlations) present in the data.
It's circular reasoning because during creating the parameters you're testing it on the "future" data. It only "guarantees" success in the "future" because you discarded all the parameters that didn't work in the "future". No different from writing a model that uses the S&P 500 price "parameters" between 250 and 1000 and back-testing it on data from 1950-1996.
The only way to prove your algorithm's robustness is to generate random data and test it on that. Once you've tested against every one of the infinite possible realities of a single time window, then you can rightly assert that past results have guaranteed success in the future. Hint: it's impossible, but the random data testing is actually the correct technique to test algorithms at scale.
Back-testing on historical data is like a footnote compared to the thesis simulation can generate - the only value it contains is correlating relationships between market data and external variables not present in the numbers. Back-testing to tune an algorithm based purely on the numbers in the data is just an exercise in quantified hind-sight bias.
In that sense, the math and "indicators" are just an obfuscated, custom-fit version of another algorithm that backtests 100% - if price[now] > price[now+1] -> sell else -> buy.
Rather than looking up the prices via array in the data, clearly "cheating", a set of parameters is hunted down that encodes that relationship in a number space. It doesn't mean anything more than the meme: 79 beers - your age + 40 dollars = the year you were born (which backtests perfectly as long as you were born after 1900).
That said, by all means, keep running the algorithm on new data every day and see how long it stays perfect. I'd be interested in the results.
And your assertion that "any software technique...won't look like the face" is incorrect. Again using multiple frames, it's entirely possible to infer what clearer underlying detail would result in the less-sharp pixel values in the video, given the training data establishing the relationship. It's a specific technique for reconstruction, not just drawing in a realistic but synthetic replacement like Photoshop's content-aware fill.
In fact I watched these two videos on Ring, since by insane coincidence this happened in a neighborhood less than 3 miles away. Someone there had already recognized seeing the person sitting outside a nearby Starbucks.
Facial recognition, image search, and the internet has come a long way. It shouldn't be long or far-fetched that local law enforcement can start leveraging these tools to pursue more of these cases. For all the fear-mongering, and true ethical issues, of facial-recognition and surveillance, this is a situation where it can actually pay dividends.
(and no they'll probably never get their stuff back, but that is what insurance is for. Hopefully it was nothing sentimental or otherwise irreplaceable and truly just "stuff")
RE: Graphene though, there are so many military applications, that it’s hard to say what the lag will be to civilian technology. If history is any indication, and I hope it isn’t, there could be a decade or (much) more between first production applications and public knowledge that those applications even exist, let alone having access to products incorporating them.
Some people have integrity and have earned their credibility. This exact kind of situation is when that matters.