When you edit a commit, it creates a new commit. They are immutable. You can still find the old commit via the reflog, until it gets eventually gc'd.
If I had to guess a reason they were downvoted (and I didn't downvote, to be clear), it's probably because people see stacked diffs as specifically solving "reviews clearly taking too long, too much content in there", and so it feels contradictory. Then again, as I said, I didn't downvote!
That is not how statistical calculations of risk are made. If the crew has 1/30 crew mortality rate, and there were 30 crew members, that does not mean there is a 100% chance that one dies.
While there is negligible chances that only a portion of the crew were to return, the outcomes are closer to black and white of nearly 29/30 full crew return and 1/30 no crew return.
They can’t, it’s caused by the capacitors required to suppress electromagnetic interference caused by the switch-mode power supply. These allow a very very tiny amount of current to leak through from the mains side, which is then capacitively coupled to the metal case (IIRC Apple do not connect the case to power negative) reducing it further, but it’s enough for humans to sense it.
It can be avoided by using a grounded power supply, but because there are large countries that have ungrounded outlets in common use the most designs are ungrounded.
Why do only Macbooks suffer from this problem? When I had a work-issued Macbook I charged it and my personal Framework off the same USB-C charger and I only every felt the leaking current from the Macbook
Only Apple is insane enough to make actual laptop chassis with unpainted anodized aluminum. Others either do it in plastics and/or painted metal. And paints are kind of liquid plastics.
It's not only mac's suffering from this problem. My old dell latitude with magnesium case had the same thing. I didn't fully understand why and some people thought I was mad for feeling it but it was there.
It’ll depend on how well grounded you are compared to how well grounded the laptop is, where it’s touching your body, and your sensitivity to electricity which varies.
I once had an HP with an aluminum case and it had a grounded power supply but if you plugged it in without grounding his an adapter (sometimes you gotta do what you gotta do). You could feel it straight up vibrate while conducting current if you rubbed your hand over it. Not enough to shock me but it felt like kind of a shoddy design and leaked a lot more current than I've felt on a MacBook.
Is that what it is! On my pre-unibody MBP I used to run my finger across the body sometimes and it had this weird wavy feeling (honestly can't describe it well). I thought it was just a quirk of the aluminium itself!
Definitely been a long standing issue on many laptops with exposed metal parts. Late 90’s, if I used my brother’s Compaq while putting my feet up on the radiator, the metal speaker grills would give me mild shocks.
You can fix it by switching to one of the grounded charger heads. Unfortunately in most locales those are only available with an integrated extension cable (or as everyone seems to call them, the "gooseneck" cables)
It happens with other 2-pin chargers on both MacBooks and other laptops, but it depends upon various factors how strong the leakage is
It's also an issue on the new Neo. It was the first thing I noticed when I tried one in the Apple Store. I unplugged the power cable and it went away, replugged and it came back. I'm in the UK so I expected grounded electricity supply.
If you buy the UK 1.8-metre Power Adapter Extension Cable, this has a metal ground pin that grounds through the metal clip on the power brick. I switched all my MacBook & iPad chargers to this, no more earth leakage sensation from metal casing.
You wouldn't have this if your plug was properly grounded. Most developed countries have plugs that have grounding. EU via side pins UK via third prong
Apple avoids shipping grounded plugs as if it was personal affront to Ive. Also caused many many times for me to be shocked with electrostatic build-up.
> all my EU/UK macbook plugs I got from apple are always grounded, metal prong and metal side pins
The short version, where you remove the extension with the 3-prong plug and attach the plug directly to the charger brick, is only available in 2-prong in the EU/US (the UK thankfully still gets all 3 prongs in this configuration)
To add to this, I notice this more frequently in the UK and EU countries than in some other parts of the world (although it varies within each country quite a bit).
Once you go stainless you don’t go back. None of the hassle of cast iron, and eggs don’t stick with just some basic skill. Very easy to clean, no need to be gentle like with cast iron ceramic or non stick pans.
Mostly it seems the documentation is vague. Is there anything clearer than this?
> Web browsing: Certain complex web technologies are blocked, which might cause some websites to load more slowly or not operate correctly. In addition, web fonts might not be displayed, and images might be replaced with a missing image icon.
I'm a consultant rather than a contractor, but the "shitshow" projects are amongst my favourites. They offer the chance to make a clear positive impact, which can be hugely rewarding.
From my pov, green flags for a good "bad" project mostly come from the attitude of leadership - especially if they already recognise there's a problem, and that some form of cultural change may be needed rather than expecting a purely technical solution.
On the other hand, if they seem reluctant to consider root causes, or if there's any sense that they're seeking to cover up problems or shift blame, then those are pretty clear red flags. Quick fixes tend to fall apart, and aren't really satisfying for anyone.
Hard to put into a list, it was just the equivalent of a code smell. Some random examples:
- Fly out to the initial discussion, talk to their architect, some guy they imported from France in an otherwise entirely non-French company a long way from France (not bashing French folks here but just wondering where they dug this guy up). They've read about scalability and told him to come up with a design for that, which is distributed stateless everything (this was years before microservices and CRUD and whatnot). Except that they don't have the resources to build the stateless distributed everything so they're getting all the downsides of stateless distributed everything without getting the scalability that it's supposed to provide. You know its bad when one of the nontechnical sales guys that you're having a few drinks with after work can give you a breakdown if why it won't work.
- Parachute in for the first date, they've hired a bunch of kids straight out of college who are all hacking away at whatever they've been assigned to. So I'm walking around chatting to all of them, asking what they're doing and how long they think it'll take. Most of the time the answer is "oh, probably about two weeks". At the same time I'm running a mental Gantt chart for all the components and figure out that even if they meet their wildly, ludicrously unrealistic time estimates it's going to take them at least two years to get the product out the door. Some of their two-week timelines I estimate would take an absolute minimum of six months work, but probably a lot longer. Or a few days if they use the existing open-source tool that does the same thing, but they're going to do it better so they don't need to use any existing code.
- Site visit, the office manager screws up the travel arrangements, screws up the accom, the developers clock in at exactly 9am and down tools on the minute at 5pm so it's tumbleweeds in the office at 17:00:01, the mgt. is in a separate set of offices on the other side of the building and don't talk to the devs, over lunch the devs are talking about how much longer they'll stay before they start sending out resumes.
- The possibly-criminal one, I'll use an analogy to avoid identifying the actual job but lets say you've been brought in to develop an automated pen-testing toolkit. Not just a vulnerability scanner but something that then exploits the vulnerability. "You don't think that this could perhaps be misused by the people that commissioned it?". "Oh, we were so enthusiastic about the job that we never even thought about that".
You may have noticed a common theme here, talking to the techies and/or taking them out for lunch/drinks. So if there's one takeaway, it's do that. That's how you'll find out whether it's an organisation you want to get involved with or not.
Have a contract that encodes "fuck you, pay me" into the terms. Ideally, have an actual lawyer take care of the contract and the enforcement. There's a lot of law-y stuff out there that won't hold up in reality. Mortgage companies don't take payment in excuses from your clients, so neither should you.
reply