9,763 karma · joined Mar 4, 2015 (11y ago) · 1,712 submissions
comment 4y ago · link · parent
It's like the $3k MacBook pro has worse performance than the $500 generic, the $20k car is a better drive, or the $10 meal is better food than the fine dining.
Sure, the aesthetic and convenience qualities of the expensive versions are better, but basic functionality of a high-end product has to be at least comparable to the mid-range, and definitely has to be better then the low-end.
comment 4y ago · link · parent
Neither of these means they have even the basic skills to be a manager at all, let alone a good one.
Unfortunately since these types of managers don't recognize good manager skills, they'll go on to promote more unqualified ICs below them into manager positions.. and the cycle repeats.
comment 4y ago · link · parent
This is the key difference from religion, which has no such "falsifiability" equivalent.
The closest thing to "beliefs" is probably an individual following which of several competing theories is most likely correct -- but there's always the underlying basis that any of them might have evidence showing they're incorrect at any time, and one's view should adjust as a result.
Often this comes in the form of deferring to other people or a consensus view, which could be construed as "faith" but is different: If you asked me how the universe exists, I'd say the big bang theory is the best answer we have, but I don't understand enough about the underlying science to explain why nor can my brain comprehend the reality of it. I have no loyalty or allegiance to this view, though; I could be swayed to another theory if the big bang is ever proven false or if a better theory arises.
Further reading: https://www.theatlantic.com/science/archive/2015/11/why-scie...
comment 4y ago · link · parent
I'm the same. I commit frequently. A lot of those end up being `--amend`, but a lot of time I will rebase and squash/reorder/etc. In fact I'd say the majority of time I push changes I've rewritten my local history at least once.
According to any git history you'd find from me on the server, you'd think I never accidentally commit syntax errors, break unit tests, and that when I do big structure changes or refactors I get it the way I want it on my first attempt.
> including configuring git pull to rebase rather than merge
It annoys me a bit this isn't the default -- at least for teams that work from a single centralized git repo (eg: almost all corporate dev, and the majority of open source). I've done it for years and have never had any issue with it.
It doesn't rewrite anything but your local (non-pushed) history, which is totally fine. (Unless you are working with multiple remotes, in which case it causes chaos, which I think is why it isn't the default).
Are there other drawbacks?
comment 4y ago · link · parent
comment 4y ago · link · parent
Aside from immunity to radio signal jamming, there's no worrying about batteries/charging or ugly wall warts. You can also power your PoE switch from a UPS to survive power outages.
It's also vendor agnostic and fairly future proof. What I mean is while you might have lock-in with cameras/NVR today, you aren't locked in forever; worst case is you may be forced to replace everything but the wiring, but that's by far the hardest part to do in a finished house. The Cat5/6/7 will be useful for the foreseeable future.
comment 4y ago · link · parent
I'm on Team Write-Good-Commit-Messages. The key of being on this team is learning interactive rebase: of course everyone makes mistakes, but by rebasing before you push no one has to know you did. When the commits are clean, the history is clean.
Write good PRs, too, and make sure they translate to good merge commits. Then you can run `git log --first-parent master` and get a pretty decent high-level overview of changes, but with all the other benefits of keeping individual branch commits in history.
comment 4y ago · link · parent
I feel like there's a whole generation of people who are now in senior decision-making roles who are still bitter about Reader. Killing that product, specifically, is likely costing billions per year in GCP revenue.
comment 4y ago · link · parent
Very few people have ever been capable of fixing things, especially electronics. As electronics got smaller, more integrated and more complicated the bar got higher, reducing the pool of capable people even more.
The other problem is that TVs have gotten cheaper at the same time labor prices have gone up. This drove all the TV repair shops out of business because the bench time alone to even do a quick diagnosis is already starting to approach the cost of a new TV. Spending hundreds of dollars to (maybe) repair your 5+ year old TV just doesn't really make a ton of sense to most people. And that's assuming there's not a major fault: replacing a few capacitors is one thing; replacing the mainboard or LCD panel can cost more than buying a new TV.
This same pattern repeats for most consumer electronics, sadly.
comment 4y ago · link · parent
The other is just to make work more fun. Beyond 3-4 people, everyone stays muted, and with no cameras, a lot of the jokes and banter just stops. Dead air is a soul-draining response to jokes (whether good or not) that an individual can only try so many times. This works well during scrum meetings (when it's just the small team anyway).
I say this as very much an introvert: meetings are tiring for me anyway; I'd rather they're not also boring.
comment 4y ago · link · parent
With async comms, you initially go back and forth over text/chat/email/whatever. Sometimes resolving in minutes/hours. If you both decide it'd be faster to chat synchronously, you schedule a call and do that.
Honestly, that fact async comms exist makes it kind of presumptuous to assume you can make someones device ring at anytime and just get their immediate and full attention. I feel that way both as a caller and callee.
There's obviously exceptions, such as immediate family: but we roughly know what each other are doing, and the context. If my wife actually phones me, I will drop whatever I'm doing because it's guaranteed to be more important.
comment 4y ago · link · parent
What do you mean by this?
The problems they bring up essentially boil down to increasing user access to privacy, security, and new features. Locking people into default browsers put us back into the stagnant, horrible IE6 era.
The only thing I can figure out is you're saying if client-side scripting didn't exist, some of these would be less pressing. Which is true, but it does exist, so the choice is abolish/avoid it (good luck getting mass user adoption!), or deal with it.
comment 4y ago · link · parent
On a personal level, I don't consider "Netflix time" interrupting anything -- it's like the lowest priority thing I ever do, and I'd happily answer a call from a friend or family member. I and most of my friends have kids, so we rarely spontaneously call each other: it's usually preceded by a text along the lines of "You around?". I'm not sure what would happen with only phone; probably just less communication overall. Today I'll sometimes get (or send) a text in the middle of the work day, but I'm not sure that would be replaced by a phone call -- it would either happen outside work hours or not at all.
Excluding group chats is also not really fair: for example a group chat I'm in now has been about arranging a get-together soon, and that would likely involve several phone calls to make it happen and figure out a time that works for most people.
There's also some correspondence that happens over email today that you'd have to consider. For example, if you're moving (selling / buying houses) there's a whole ton of things with real estate agents, lawyers, bank and insurance that have to happen. If your lawyer calls to confirm a couple details, you either interrupt what you're doing or pay them extra as they can't finish their work and will have to pick it back up later (your return call is just as interrupting to them!).
comment 4y ago · link · parent
The problem for me is the asymmetry: Someone interrupts whatever I'm doing with an unrelated random topic and wants me to make a decision or answer questions, with basically no time to switch contexts or think. This is infuriating to me.
At least with work, friends and family, for the last several years I've not even really used the "phone". All my calls are either scheduled conference calls, or adhoc calls initiated after a text/chat message.
It's just contractors, dentists, daycare, stores etc that still use the phone primarily. Hopefully they'll all join the 2010's within the next decade or two.
comment 4y ago · link · parent
How hard would it be to implement a timer that just sees after x minutes there's no activity, so reset to the clock? I guess this just isn't a feature that sells microwaves or that you can even put in marketing material, so it never gets done.
comment 4y ago · link · parent
When I worked in an office, I had the same issue as the OP - docking/undocking my laptop resulted in switching from wired to wireless, and connections (eg: SSH, RDP) would often drop. I ended up unplugging the ethernet at my desk and using wireless most of the time because it was just easier.
What would help is protocols actually support the concept of a "reconnection" -- ie: a TCP session that has the same identifier or token as a previous one that lets it it silently resume instead of starting fresh with new authentication. This isn't even that hard to implement if designed in from the start.
comment 4y ago · link · parent
Reality is people use multiple different and mobile devices, roam across connections, and intermittently go offline. Building software and protocols that are designed around this is beneficial to every use case - even those using whatever you consider a non-"terrible computer" to be.
comment 4y ago · link · parent
The entire operation of it is simple but powerful: everything is based on a manifest file [1]. The official manifests are in git repos, but you can also install from a local file or a gist.
Chocolatey's usage of nuget packages while also basically just running the app's normal installer is weird and results in all kinds of situation where versions don't match, chocolately upgrades don't do the expected thing, etc. All these problems just don't happen with scoop (at least not in my years of experience with it).
Scoop apps install to ~/scoop/apps/<appname>/<version>/ and then get a symlink ~/scoop/apps/<appname>/current/, while also getting a ~/scoop/persist/<appname>/. It's just very elegant.
It adds "shims" for any executables in ~/scoop/shims/, and because that's the only directory added to your path (when scoop is first installed), newly added apps "just work" in all your open terminals/apps/etc.
It also seems faster. "scoop install <appname>" and a few seconds later you can use it. Chocolatey usually does the UAC prompt stuff and generally just feels clunky by comparison.
[1] https://scoop-docs.vercel.app/docs/concepts/App-Manifests.ht...
comment 4y ago · link · parent
There's certain things easier on one or the other, usually caused by silly hardcoding of paths (or other OS-specific assumptions). I've run into this with python packages on Windows for sure.
My Windows dev is mostly limited to .net, and I've been writing cross-platform for years (first via Mono, now .net core / .net 6). Most challenges with cross-platform .net are caused by hardcoding Windows-specific paths and backslash (vs using Environment.* and Path.Combine()), and secondarily by using win32-specific things (eg: registry).
Tip for Windows dev use: install Windows Terminal [1], scoop [2], oh-my-posh [3], and busybox [4]. Makes the cli so much more usable, at least for someone like me with linux CLI muscle memory (ls, grep, etc).
I've found the combo of busybox utils and PowerShell is very productive. I nearly always have at least a couple terminal tabs open, and I'm nearly 50/50 of whether I use cli or explorer to browse or operate on files.
comment 4y ago · link · parent
If you have a 3rd party using an endpoint, it kind of changes things. Providing short-term instead of long-term BC is maybe slightly less effort, but any BC at all is an order of magnitude more work than none.
With no BC, you would basically say "Hey on Thursday afternoon we're deploying a new version and the old one goes away -- be ready!". That nearly guarantees a 3rd party will have downtime, and is frankly a very hostile way to treat them. If I was the 3rd party I'd either be hounding your business for a long-term BC commitment for anything I use, or complaining about how it's a garbage API that constantly breaks on us and advocating switching away to a competitor ASAP.
comment 4y ago · link · parent
Commit message: "Improved clarity and detail in error message"
Ok, that's obvious what's happening, and as a standalone change that's absolutely fine. But the question it doesn't answer is why did someone actually put that effort in?
If the commit message mentions a ticket, then you can go look that up, and now you can find out, for example: it was a ticket that was an unknown bug being experienced by one specific customer, and so the error message was being improved as part of tracking down the bug. You also see who the customer was, internally who reported/escalated it, how long this has been an issue for, and if the bug was found and eventually fixed or not.
I'd argue absolutely none of that belongs in comments in the code, and it's way too onerous for a dev to constantly put that level of detail into every commit message. It's a balance: it's only useful to lookup that info on a small fraction of commits; it takes a lot of time to figure it out when missing (especially if it was many months ago); and putting a ticket number in each commit message is very low effort.
comment 4y ago · link · parent
If you configure it to be reasonable -- keep the workflows very simple with few to no validation rules -- it can be fine to use. The temptation seems to be locking down admin access to managers, and then the admins going crazy building workflows like "these 19 custom fields must be filled out to start" "items must go through a QA step" "QA users are the only people that can approve that step" and "PMs are the only ones that can close a ticket". This quickly gets out of hand and makes it horrible to use.
It also depends on the people using it -- garbage in garbage out, as they say. If people write good tickets (concise titles, format the body, remove irrelevant crap, and properly fill out meta fields like fixVersion) it is much more useful. JQL is awesome, and embedding tickets and JQL queries of tickets into Confluence is awesome (hint: easy way to make release notes) -- but both of these require non-garbage ticket content.
comment 4y ago · link · parent
If you force your frontend to only use what makes sense as a "general" backend API, it ends up being inefficient. There are 1:n calls needed to get all data, or a lack of a specific filter requires pulling back everything to do client side filtering, etc.
On the other hand, if you build out your back-end to support every single front-end use case, it gets massive quickly. If other third parties start using it (as part of your published API) you now are forced to support it long term - even if your frontend changes and no longer consumes it - until you finally decide to break backwards compatibility (and the third party app). Break things enough and your users will quickly hate you.
This is especially true early on, when your frontend is going though rapid and radical changes.
I see BFF as the intermediate, giving best of both. You can rapidly adapt to front-end needs but don't commit to long-term support. There's actually no need for BC support at all if you can deploy front-end and BFF atomically.
If you build your code in a structured way, you're sharing the actual business and data logic, and it's trivially easy to "promote" a BFF resource to the official API, with whatever BC commitment you want to provide. The key thing is you are doing this deliberately, and not because the front-end is trying something out that might completely change in the next iteration.
comment 4y ago · link · parent
It's also easy to send "from" an addresses that passes SPIF/DKIM but bounces inbound mail -- not sure what reason someone would have for this other than hurting the service reputation or acting as a DoS of sorts, but it can be done.
comment 4y ago · link · parent
I find the main page without being logged in is filled almost entirely with absolute garbage I have zero interest in and would never watch.
The channels I follow, though, are on topics I find interesting, and generally produce quite good content. I watch YouTube when I just feel like vegging out - it's the modern substitute for "channel surfing". Very easy to find 5 to 12 minute long videos that are interesting, yet not the same commitment as a full tv series. For some hints: Smarter Every Day, CGP Gray, Not Just Bikes, Kurzgesagt, Linus Tech tips, Wendover Productions, colinfurze, Rick Beato, 8bit guy, SciShow..
If you don't veg out in front of the tv anyway, there's no no point of doing it front of YouTube. But if you do, it sure beats watching the last half of a rerun of some random sitcom you've seen a million times.
comment 4y ago · link · parent