That makes sense. I guess I usually think of developing policies for this kind of thing to be pretty much what staff would do. I don’t usually expect the CTO to make decisions about how to do testing. To the extent the engineering leadership are to blame, it’s that they were the ones who hired/retained this guy. The buck ultimately stops with them to be sure, but making these kinds of policies seems within the remit of a staff eng.
I had to take computer architecture. We made a 4 bit CPU... or maybe it was 8 bit. I can't remember. But it was all in a software breadboard simulator thing. LogicWorks.
Credentials should only be provided at the application root, which is going to be a different root for a test harness.
Mockito shouldn't change whether or not this is possible; the code shouldn't have the prod creds (or any external resource references) hard coded in the compiled bytecode.
I totally agree, I’m being tongue in cheek, but given how poor some codebases can be, the more precautions the better ie compilation failures on non-mocked functions.
GraphQL and SQL are not comparable or competing technologies. GraphQL is more analogous to a REST API. GraphQL can use SQL under the hood, or you can even hand serve the bytes (tongue in cheek here). It's just an over-the-network protocol to serve data.
a Node.JS server might use SQL directly or call out to a GraphQL API, but I literally don't think it's possible to let client-side JavaScript (safely) call a SQL database server directly.
It doesn't hurt me personally but the article opens with the sentence "Neighbors complained about noise, security guards, and hordes of traffic. An unlicensed school named after the Zuckerbergs’ pet chicken tipped them over the edge."
The kids have to school and back home somehow, and ditto for the employees. Drive by a local school when it ends the day and marvel at the parents in line to collect their children.
Yeah I’m just grousing about how rotten design is when kids need to be driven to school, and if people don’t like traffic the solution is to forbid cars, not schools.
that's a culture/car/public-transport problem, not a school problem. in a place where cars are the only way to get around you can't have any popular place without cars.
Kids will slam car doors at dropoff/pickup. It's pretty annoying. I used to live around the corner from a school and parents would use our street for it. They can also cause unexpected heavy traffic if they have some special event.
Seriously? Beyond the unaccounted safety and traffic situation, you've obviously never lived next to a school. Kids are loud AF!
I lived right behind an elementary school (playgound was kitty-corner to my fence) two houses ago. During recess and lunch time, the kids were so loud I had to shout to hear people next to me inside my house.
...but forget all that: What you're advocating for is lawlessness. If you don't like the law, lobby to change it! Don't just violate it and screw over your neighbors in the mean time.
Your complaint amounts to "the law is not popular enough to be easily enforced against someone who has the means to defend themselves out of principal"