9,763 karma · joined Mar 4, 2015 (11y ago) · 1,712 submissions
comment 2y ago · link · parent
Many spew entries all over the registry (adding stuff to startup, context menus, special icons, etc), and it seems like those entries are also often responsible for the issues in the first place. Keeping those across a clean install seems counterproductive.
Likewise, installing the latest version of all the random apps is probably going to help more than hurt, and that's just as likely the actual thing that "reinstalling windows" fixes. If it retains older versions you lose that benefit.
All of this is ultimately bad software. If software can get a different state by installing fresh than it does going through the upgrade process, it is broken. (This includes the OS.) Too many vendors just don't care though, or have figured out it's more profitable to make their users do a reinstall than actually make their software not suck. This applies equally to the OS as it does to every app.
For like 99% of apps it's not even that hard to do it right, it just takes a tiny bit of knowledge, effort and caring.
comment 2y ago · link · parent
I think the opposite. It's super simple to understand as a beginner and is a low barrier to entry. The key is likely aligning when to introduce someone to a more structured language with when the are hitting the limits of GOTO - like just have finished writing an awkward large program that could be significantly simpler, spent hours debugging a problem caused by lack of scoped variables, or are trying to modify something they wrote a few months ago that has dozens of GOTOs. These are the things where ideally the light goes on and people "get it".
On the last point, I think that is really what makes people great. Go back and try to work on code you haven't looked at it even thought about in 6+ months. If you've only been coding a couple years, you'll gain a ton of insights into what (not) to do to write maintainable software, in the same way students learn why we don't use GOTO.
comment 2y ago · link · parent
With a touchscreen, you plan "touchscreen here" and the UI can be modified in software basically up to the point the first production car rolls off the line (and even after that, too).
comment 2y ago · link · parent
comment 2y ago · link · parent
* many new homes use metal "structured cabling" boxes (which block wifi signals)
* the box is not in a central location (eg: usually in a corner of the basement near where cabling comes in)
* Most people use their ISP-provided combination wifi/router
* The wifi is then located inside the metal structured cabling box
For most non-techie houses, if the access point is centrally located, it'll solve the vast majority of problems. However, to do this, practically, at least some of the following have to happen:
* The router and wifi need to be separate units, with ethernet cables to the wifi location
* The structured cabling box needs to be redesigned to be plastic or mount the router/wifi combo externally
* All the in-house ethernet and outside connections need to be run to a location near the center of the house, such that there are minimal walls between it and each living space
This isn't hard, it's just an incentives problem. Most houses don't sell for more money by doing this, so the builder has no incentive to fix it. ISPs have clearly decided that having a single modem/router/wifi combo is most cost-effective for them, and just let their customers deal with a less-than-optimal experience. In many cases people have little or no other ISP choice, so it's not like they lose the business.
comment 3y ago · link · parent
> [..] A company has been registered [..] under the name ; DROP TABLE "COMPANIES";-- LTD, which has some computer code around it.
As the post above points out, this would either work fine or cause an error, because of the quotes -- it's not actually SQL injection.
In theory, a system could have an actual vulnerability but if it does it would mean it's also going to fail on any name with a single or double quote in it (depending on the SQL dialect). Not sure why anyone would legislate a workaround to what is essentially a "intro to databases" level programming bug.
comment 3y ago · link · parent
They're all made of base64url-encodes segments, separated by a period. The first segment is always the header, and you can easily identify them by starting with "eyJh".
A plain JWT has two segments, the second is the payload. In practice AFAIK it's not really used because it's just bloating your data.
JWS has a third segment that's the signature of the payload plus private key, and can be verified if you have the public key. JWT.io is a site where you can play with these.
JWE has five segments including an encrypted symmetric key, the IV and ciphertext.
So yeah, JWE is technically a different subtype. I'll only note you can stick an already-encrypted payload in a plain JWT or a JWS, and you can also take a JWT or JWS and encrypt it, and none of these is the same as actual JWE token.
comment 3y ago · link · parent
Our fridge is often 75-95% full, and things I can picture this maybe being useful for - sour cream, pickles, condiments - are often pushed to the back or on the door. I have a hard time imagining anything besides mostly "oh look, the milk jug/large bowl of last night's leftovers is blocking the camera's view of this entire shelf".
It also doesn't solve the "is that sour cream at least 1/3 full?" or equally important "is it expired?" problem, which is almost worse, because seeing the sour cream container leads to a false positive, which means I don't buy more despite needing it.
comment 3y ago · link · parent
Judge for yourself, here's the code:
https://github.com/home-assistant/core/tree/5523e9947d82ac14... (before it was removed)
comment 3y ago · link · parent
1 - Most setups are done once
2 - Stability and quality has improved in recent years, and you don't have to fix or mess with it as much
That said, I very much like being able to edit the yaml for automations and the lovelace UI. I like being able to flip back and forth between visual and code from the UI itself. Best of both worlds, especially because there's a lot of automations that are like 60% copied from another one. Being able to use a text editor (that has autocomplete!) to change entity names as opposed to clicking through several layers of UI for each one is awesome.
comment 3y ago · link · parent
I moved out. It must have been a couple months later (we were and still are good friends), we're out somewhere and the first thing he says to me "did you install a BSOD screensaver on my computer?!?" And I suddenly remembered, realized it had been months and started laughing.
What's hilarious is he never tried pressing anything or moving the mouse.. since, being a developer, he knew that was pointless. He'd sit down, see the BSOD, (often swear,) then just press the hard reset button. In true evil fashion, I think I set it to a long interval, like 2 hours, so it only activated if he walked away but left it running.
I do still feel a bit bad about it. But only a bit. :)
comment 3y ago · link · parent
Pretty much sums up the problem with every community-run moderated site. It directly leads to the downfall because contributors get discouraged and leave, and eventually all that's left is people with the same view as the heavy-handed moderators. Having hours of work wiped out from editors/moderators who've spent less than a minute on it sucks.
Stackoverflow is another notable example of this.
comment 3y ago · link · parent
Pretty much sums up the experience of buying cables in the past couple years.
comment 3y ago · link · parent
People can learn a ton by answering questions. Trying to create a complete answer will make you realize the gaps in your own understanding. As an early SO user, I benefited from this greatly.
Sadly, I find this impossible these days. I've given up on SO as anything other than a mostly passive user. I'll vote, and make the rare comment, but that's it. The last time (a few years ago) I made a concerted effort to answer some questions, my experience was that many questions would be closed as dupe/low-quality while I was partway through answering. Flagging that it isn't low-quality (proven by the fact I can answer it) goes nowhere -- people are seemingly all too happy to yield their close hammer power, but not to re-open.
comment 3y ago · link · parent
comment 3y ago · link · parent
I suspect the answer is that Amazon doesn't really care about AI books, as long as they sell. But the longer term damage seems inevitable: trust lost for all self-published books.
comment 3y ago · link · parent
This is a fair point... but also just what happens with technology and time.
I assume you junked the radio not because it was broken (that can happen to any gear) but because the 30-pin interface itself is no longer desired -- it's no longer the best way to get the content you want (ie: from your phone).
This isn't really a different situation from a 20-year-old car (CD player), 35-year-old car (cassette deck) or 50-year-old car (8-track).
20 years from now, if there's a market for it and it's technically possible, someone will make adapters to get AA/Carplay units to be compatible with whatever the current technology is -- basically the 2043 equivalent of a cassette adapter.
comment 3y ago · link · parent
In my mind this has been largely solved for the past few years with Android Auto / Carplay. It would be nice if there was a true standard, but at the same time, there's only two phone operating systems so it works.
If you're not familiar with it, there are some huge benefits of the way it works:
* The system updates with your phone, not your car. Applies to both hardware and software.
* Data plans are also tied to your phone, which you presumably have anyway.
* Preferences are personal; my partner and I each get our own music, podcasts, and suggested destinations.
* Personally I love that my music/podcasts follow me around. I can browse and start listening to something in the car, then hours later throw in my wireless ear buds and continue from where I was while I mow the lawn.
There is also some level of upgradability from the car side, too: I recently added a wireless android auto adapter to my 2016 car. It was under $100, plugs into USB, and once I got it paired to my phone, I basically get in and start the car and in a few seconds the UI is there.
What I am skeptical about is that this will continue to be solved for the next few years: there's always that chance that Google will outright kill it, or Apple/Samsung/whoever will become exclusive to a single car manufacturer, or the manufacturers will somehow bungle this up with a subscription model of some sort.
comment 3y ago · link · parent
Think of it like if you used a GPPL to emit HCL. You get the power of that language: loops, function calls, unit tests, or even the ability to call external APIs. You're declaraing desired state and letting the framework sort it outb which is you say you aren't writing imperative code like:
if (!exists(dnszone)) create(dnszone);comment 3y ago · link · parent
> Pick a server or a piece of enterprise software and go take a look at its logs. If it's doing anything interesting at all, it'll be full of errors.
It's true, but IME those "errors" are mostly worth ignoring. Developers, in general, are really bad at logging, and so most logs are full of useless noise. Doubly so for most "enterprise software".
The trouble is context. Eg: "malformed email address" is indeed an error that prevents the email process from sending a message, so it's common that someone will put in a log.Error() call for that. In many cases though, that's just a user problem. The system operator isn't going to and in fact can't address it. "Email server unreachable" on the other hand is definitely an error the operator should care about.
I still haven't actually done it yet, but someday I want to rename that call to log.PageEntireDevTeamAt3AM() and see what happens to log quality..
comment 3y ago · link · parent
It's not just that, dug and shallow wells are also getting surface water run-off -- basically anything on the ground in the immediate area or uphill. There's actually an acronym for this: GWUDI (Groundwater under the direct influence [of surface water]). They're highly susceptible to seasonal changes and rain. The worst ones are people that in a lower-lying area than nearby farms -- nitrates (from animal feces and fertilizers) and pesticides are all extremely expensive to remove from water.
When you do a drilled well, the annular space (the hole around the casing) actually has to be sealed (with bentonite) to prevent surface water from getting directly into the well and aquifer. I see no mention of this in the article.
Where I live (Ontario Canada) there are environmental laws protecting ground water. Badly done wells can actually contaminate a huge area and affect other people's wells and drinking water.
comment 3y ago · link · parent
My understanding of them was (and assume still is) they sold two classes of cable: high-spec, brand-name "gold-plated", and dogshit-quality maybe just meets minimum-spec garbage. Both were way overpriced (aka: high-margin), and this is the entire business model: sell the TV at razor-thin margin, then make all the profit on over-priced cables.
Their $15 cable should really be $2, if that. Their $150 alternative should actually be maybe $30. Elsewhere you could pay $15-20 to get a high-end cable that was somewhere between 90 and 110% the quality. This is what I told to my friends/family.
I've definitely had people try to sell me cables but I've just politely declined and can't recall anyone being pushy about it.
And you must admit the "gold plated" thing was insane for a while. At the time when toslink was the rage, you could buy gold-plated fiber-optic cables. I also remember seeing an in-store display comparing cables their high-end HDMI cable to an alternative.. which of course was maybe-24awg dogshit composite cable. It's just so sleazy.