9,763 karma · joined Mar 4, 2015 (11y ago) · 1,712 submissions
comment 2y ago · link · parent
1: I still have a ton of micro-USB cables, and a decreasing number of things to use them for. Some are unused, still in unopened packages.
2: Devices like this don't get moved and plugged/unplugged frequently, which is what kills the connector.
comment 2y ago · link · parent
> It is hard to overstate the importance of properly filtered drains for dams. If you don’t believe me, take it from the Federal Emergency Management Agency in their 360-page report, Filters for Embankment Dams: Best Practices for Design and Construction. If that’s not enough, try the Bureau of Reclamation in their 400-page report, Drainage for Dams and Associated Structures.
To the point that:
> A civil engineer could spend an entire career just thinking about subsurface drains
comment 2y ago · link · parent
Kind of says it all.
At the end of the day if you have a complex product but don't have comprehensive test cases, it's just a matter of time until your users notice your product sucks.
comment 2y ago · link · parent
If I'm paying up-front, the subscription needs to be an optional add-on that provides additional value. The thing should continue working at some base level for its working lifetime, even if I cancel or the service is shut down.
If the "base level" on the thing I bought is ever changed after my purchase, the company has burned their trust with me. In fact I'll probably switch away and never buy anything from them again.
On the other hand, if they want to build it so a subscription is required to work at all, then I don't want to buy the hardware that I clearly don't actually "own" anyway. It's fair to require paying up-front for a year or two (eg: cell plans) or have a contract requiring a minimum term because obviously the hardware costs something to produce, but in this type of business the product is really the subscription, and the device is just the means of delivery.
comment 2y ago · link · parent
Are you happy to share your net worth, bank and credit account balance and activity with advertisers?
Are you ok with some AI determining (based on its opaque reasoning) that you are a potential terrorist threat, and should be imprisoned?
Even if you are okay with all the above, do you recognize that not all of society would agree and that some people could even be put into grave danger due to eg: political, religious, sexual etc views? In an extreme case, if "most" people are open and "have nothing to hide", it means that everyone who isn't open must "have something to hide" and should be persecuted. Normalizing this openness actually inches us toward this extreme.
Also you should recognize that your answer based on today's government and political parties may not resemble the parties that hold power in the future. Does an extreme group -- who is the farthest from your own views and in fact violently disagrees with your lifestyle choices -- taking power in the future not worry you at all?
comment 2y ago · link · parent
I guess macos probably just uses GNU tar? It's kind of surprising it wasn't modified or configured by default to ignore .DS_Store.
comment 2y ago · link · parent
Just means "swap stations" instead of charging or gas stations.
The (major) challenge is what you do with 400-800kg of batteries and a bunch of different vehicle types from different manufacturers. Standardize the size/placement so a robot can do it? Break it down to smaller pack sizes so a human -- driver or attendant? -- can do it? Have each car manufacturer have their own set of stations?
Took everyone long enough to agree on a plug, would it be possible to agree on a swappable pack?
comment 2y ago · link · parent
I think you're right if you go by that definition ("changelog is a raw, engineering driven manifest of everything that has changed"), but there I think there is an intermediate step between git log and the user-facing release notes, whether or not it's formalized, which is to basically squash the messages into the list of effective changes since another point-in-time (eg: last release).
Let's say you add a feature, then refactor it a bit, then fix a bug in that new code. The only thing that needs to be there is the "Added a feature" part, because the rest is meaningless noise when you compare it to the prior release.
Likewise, if you add then revert something, both can be removed.
Or if you bump a dependency to version 2.0.5, then a couple days later go to 2.0.6, you don't need to mention the 2.0.5 one at all.
For me personally, this is just part of the process of how I go from git history and PRs to actual user-facing release notes (that have "why", context, and are sorted by added vs fixed, and have callouts of deprecations or breaking changes). But there's a case for it being its own output, or even the only output.
comment 2y ago · link · parent
Anyway, I also realized my chime wasn't audible in some parts of the house, so what I did instead was disable the hardwired chime completely, then get a fairly cheap wireless doorbell with 3 plug-in receivers scattered around the house. An esp8266 module (Wemos D1) is wired directly to the doorbell button, supplying 3.3V to ring it.
I use Home Assistant to send the signal from the Unifi doorbell to the esp8266. The biggest downside is the need to have Home Assistant, Unifi Protect and Wifi all running for my doorbell to work, but at the same time, I have a lot of automations that stop without those, the doorbell is not that high on my list of critical priorities. People can knock.
Kind of wish I had this when I had a baby that slept during the day: it would be trivial to schedule the chime not to ring at certain times of day.
I did a write-up: https://imgur.com/gallery/wifi-doorbell-chime-QTYYQs4
comment 2y ago · link · parent
Even in the 28.8K modem era, people didn't suck down everything they could, partly due to time, partly due to storage space (eg: the reason I used CDs instead of big drives is because big drives were very expensive), so the life of these was pretty long. The software was also not rapidly changing, probably because distribution was harder (so: get it right the first time), and also partly because it was mostly for offline use (no network, servers, etc to stay in sync with or worry about remote vulnerabilities from).
comment 2y ago · link · parent
I'd bet customer perception is also a factor; there's a risk the old boards (not even made by Intel) die and cause problems, and Intel wouldn't want to deal with press/comments like "This CPU stopped working after 2 months" or "I installed this new CPU, and within 2 months it killed my motherboard that had been working fine for 7 years".
They've released CPU upgrades with the same socket before, I'm sure they have the sales data to know how that performs vs new socket.
Laptops have outsold desktops for well over a decade, and their CPUs pretty much non-upgradable. I can't easily find a nice chart to reference, but intuition tells me the desktop industry is similarly trending towards complete "system" sales vs individual parts. In other words: Most people don't upgrade their CPU, they upgrade by replacing the entire system. If true, this also means the socket would be almost entirely irrelevant to sales performance.
comment 2y ago · link · parent
https://i.imgur.com/Di09aD2.jpeg
It sounds like each band can be a part of (at least) 2 "groups", with the example showing groups 1-18 assigned to each stadium section, and 1-9 going all the way around from the first row to the highest/back row.
It's not hard to imagine that they've mapped each of those groups to a DMX channel, with the value indicating the color, and/or flash pattern, etc. Even if you're limited to 512 distinct groups (a single DMX universe), that's a lot of granularity. With that, any lighting designer/operator can use their console of choice to do scene and sequence programming -- no special training needed.
comment 2y ago · link · parent
I've worked with other developers that want to build high fidelity wire frames, sometimes in the actual UI framework, probably because they can (and it's "easy"). I always push back against that, in favor of using whiteboard or Sharpies. The low-fidelity brings better feedback and discussion: focused on layout and flow, not spacing and colors. Psychologically it also feels temporary, giving permission for others to suggest a completely different approach without thinking they're tossing out more than a few minutes of work.
I think in the artistic context it extends further, too: if you show something too detailed it can anchor it in people's minds and stifle their creativity. Most people experience this in an ironically similar way: consider how you picture the characters of a book differently depending on if you watched the movie first or not.
comment 2y ago · link · parent
This already has meant SO dropped out of relevance for anything that's long-lived but evolving. I assume it still works for brand-new stuff where there are no apparent duplicates. It works for unchanging old stuff (and the absolute basics of programming), because the old answers are still relevant. But take anything like Java, C#, Python, or Javascript that have evolved radically since SO's inception and the answers are often garbage.
IMHO, SO needs to solve this to not die... if it isn't already too late.
I can't tell from the article, but a logical use of AI on SO would be to answer questions, tailored to each user, just like people do with ChatGPT etc today. However this means there's now no new questions even feeding in, let alone new/updated answers. So the training data for the AI becomes increasingly out-of-date/wrong. I don't see how this solves the existential problem SO has, but maybe it will delay their demise a bit.
comment 2y ago · link · parent
It's just really hard to "undo" these things, both technically and because of the optics (user experience). Requiring your users to re-license their software is friction -- it burns user trust and costs a lot of time in support.
14 days is just too short to evaluate if the product will even meet your needs, let alone evaluate how much lock-in there is and what the path away could look like.
comment 2y ago · link · parent
In North America, roads are usually built in the complete opposite way, with long straight roads and wide lanes, so the design speed is actually quite high -- even if that wasn't the intent. People go fast, because it feels safe to go that speed, but isn't, because there are pedestrians and turns. We then "fix" that shit road design by having low speed limits.
This video is all I think of when this discussion comes up now: https://www.youtube.com/watch?v=bglWCuCMSWc
comment 2y ago · link · parent
Unless, of course, the site is malicious/spammy. It's possible to do all kinds of annoying things, from triggering consent dialogs, to opening new windows, to playing sounds.. and you can even do them in a loop. Adding (or not) a consent dialog for webserial doesn't change that.
comment 2y ago · link · parent
From there, any ISP can rent rack space, and arrange their own backbone/uplink, and get wired to whatever customers they can. Municipality charges a fee to use the fiber, and that's it.
Muni provides the line to the CO, ISP is responsible after that. They can compete on their internet speed, price, support, and whatever else they want (Netflix box, email, low latency to game servers).
Muni could even add a "no-internet" free service that just provides access to city services, library, etc.
comment 2y ago · link · parent
If you're roaming on another carrier's network, I'm not sure how the economics work there, but I suspect the other carrier gets paid regardless.
comment 2y ago · link · parent
This, plus the monetary incentives are the root reason it's still a problem. Ignoring the actual scam part, the companies terminating the calls (that is: your phone provider) is making money on two ends: they get paid by the originator, and they get paid by the consumer they're delivering the call to (you). The telco originating the call is getting paid by the spammer. Spam is profitable for everybody.
> I think that we’ll be able to push the genie a long way back into the bottle. The measure of success is that we all won’t be scared to answer our phone. It’ll be a surprise that it’s a robocall—instead of the expectation that it’s a robocall.
I think a different genie is out of the bottle that won't go back in: the expectation you can immediately and synchronously interrupt any person and demand their full attention. I almost never answer my phone for that reason, not just because of spam. I'd just rather interact asynchronously via text or email, without interrupting whatever I happen to be doing. If I'm able I'll reply quickly, and I'm happy to switch to a synchronous phone call if it makes sense (I'd still prefer that over dozens of back-and-forth texts where nuance is tricky and it's easier to misunderstand each other).
It's at the point if my spouse or most close family/friends actually phone me, my reaction is "Oh no, what's wrong?"
comment 2y ago · link · parent
comment 2y ago · link · parent
Since I went to digital music, I've had the same problem with practically every bit of software and streaming service. They all seem to have some mode where it wants to just mix stuff between genres and it drives me nuts.
My current service is Google Music, and the (auto-generated) "likes" playlist, which really contains only songs that I genuinely really like, even annoys me due to the mixing of genres.
I've found what works best for discovery is to make playlists (by genre, of course) and then from there pick "Start Radio". That is my main way of discovering new music, and when I find songs I enjoy I try to add them to the playlist, too, and "Like" them if they're especially great.
But I do always feel like I'm against the grain, wondering how anyone can ever use any of the auto-generated playlists that aren't constrained by genre, and why anyone would ever build such a thing.
comment 2y ago · link · parent
The best thing is it's declarative: you provide a text file with domains you want in each certificate, and it makes it happen.
Certbot has discrete commands you have to run to add, remove, or modify certificates, so you have to keep track of state. We had a management UI to control these domains, so it didn't work well with something like terraform (which I think otherwise solves the state problem for certbot). Instead we just wrote out the domain file based on db config changing + daily, and ran dehydrated. If there were no certificate changes or renewals needed, nothing would happen.
Also the hooks are great, iirc we had a pre-check in place for our own http-01 validation, so as not to cause failures on let's encrypt. (Mostly customers would cname domains to us, but lots could go wrong). We were also using s3 to store the validation files (again, super easy with bash hooks) to make it work across a pool of load balancers.
This is a great example of a tool where a focus on simplicity (config, hooks, and the way it stores everything) creates an incredibly easy to use, flexible (and thus powerful) system.
comment 2y ago · link · parent
This is somewhere in the realm of "clever" or "efficient" code: it looks like it could be written in an easier-to-grok way as dozens of lines of if statements, but I assume there is a reason it wasn't (that is better than "just because"). AI-generated or not, someone or team is responsible for making sure the code/app/service is working for customers, and they have to be able to fix bugs, maintain and modify this.
Does it work today? As a reviewer (or coming across this while fixing a bug), I only know by either trying it, or spending quite a long time to understand and analyze it in my head. Unit tests are the easiest way of "trying it", with all the edge cases and then some.
What if I'm faced with modifying this in 6 or 12 months? Even if I wrote it, chances are my internal mental model is gone. I'd like some reasonable assurance I am not breaking anything.
Also, I'd like to not be the only one responsible for this forever, so I want to let other people modify it. Unit tests are the guard rails that let me say "Go ahead and do whatever you'd like, but don't break the tests".
comment 2y ago · link · parent
You could potentially do this with "smart" alarms, or a traditional alarm system like DSC with each detector on its own zone (the main alarm siren sounds rather than all the individual units). I'm not sure how or if this complies with current building codes though, which I believe require an audible alarm in every bedroom (which normally means an interlinked unit in every room).
comment 2y ago · link · parent
Consider from the perspective of an average, non-technical person - someone who has never installed an OS or opened the case.
Their $900, 3-year old system "breaks". It'll cost $100 to diagnose, and anywhere from tens to hundreds to fix. Is it worth it? They're going to consider just buying a new $900 system, which will be faster and back under warranty again.
While a broken tv could be a $0.50 capacitor, the shame is a huge number of "broken" computers are purely software problems: sometimes malware, sometimes fixed by updating a driver, or even just changing a setting (And of course also "fixed" by paving over and installing a new OS).
This isn't hard to learn, but understandably people don't have the time or desire. And the value-risk-cost balance is off when compared to buying new. So perfectly good hardware becomes e-waste.
comment 2y ago · link · parent
Extremely few cases exist that I ever would stop whatever I'm doing to take an unsolicited voice call, except from close family/friends. I can't believe this was ever a thing society accepted.