Tabs are a dark pattern confirmed.
The war is over, long live spaces.
Tabs are a dark pattern confirmed.
The war is over, long live spaces.
A repo dedicated to non-unit-test tests would be the best way to go. No need to pollute your main code repo with orders of magnitude more code and junk than the actual application.
That said, from what I understand of the exploit, it could have been avoided by having packaging and testing run in different environments (I could be wrong here, I’ve only given the explanation a cursory look). The tests modified the code that got released. Tests rightly shouldn’t be constrained by other demands (like specific versions of libraries that may be shared between the test and build steps, for example), and the deploy/build step shouldn’t have to work around whatever side effects the tests might create. Containers are easy to spin up.
Keeping them separate helps. Sure, you could do folders on the same repo, but test repos are usually huge compared to code repos (in my experience) and it’s nicer to work with a repo that keeps its focus tight.
It’s comically dumb to assume all tests are equal and should absolutely live in the same repo as the code they test, when writing tests that function multiple codebases is trivial, necessary, and ubiquitous.
I see a dark room of shady, hoody-wearing, code-projected-on-their-faces, typing-on-two-keyboards-at-once 90’s movie style hackers. The tables are littered with empty energy drink cans and empty pill bottles.
A man walks in. Smoking a thin cigarette, covered in tattoos and dressed in the flashiest interpretation of “Yakuza Gangster” imaginable, he grunts with disgust and mutters something in Japanese as he throws the cigarette to the floor, grinding it into the carpet with his thousand dollar shoes.
Flipping on the lights with an angry flourish, he yells at the room to gather for standup.
It’s not uncommon to keep example bad data around for regression to run against, and I imagine that’s not the only example in a compression library, but I’d definitely consider that a level of testing above unittests, and would not include it in the main repo. Tests that verify behavior at run time, either when interacting with the user, integrating with other software or services, or after being packaged, belong elsewhere. In summary, this is lazy.
My router actually can’t keep up Even with deep packet inspection and all the security features turned off I can’t crack 1700. If I connect directly to their provided router I get the full 2K. (I have a first version unifi dream machine pro, the SE supposedly handles it just fine).
It was a long road, getting from there to here.
2000/1000
For what it’s worth, I’ve bought two laptops from them in the last four years and had tons of problems initially (there were both essentially pre orders, first run laptops). A few minutes on the phone, some trouble shooting,and I had replacements for both overnighted for free. Zero issues with the replacements in both cases.
So yes, don’t order the brand newest Lenovo. Get the one a generation old at deeep discount.
2016->2019