Author Topic: Your pet peeve, technical or otherwise.  (Read 453474 times)

0 Members and 3 Guests are viewing this topic.

Online Siwastaja

  • Super Contributor
  • ***
  • Posts: 8172
  • Country: fi
Re: Your pet peeve, technical or otherwise.
« Reply #300 on: October 27, 2020, 10:32:14 am »
I would like to add a subset of this peeve which is when the coders know what you mean and raise an error telling you that is what you mean but make it a fatal error instead of just a warning

It's an error, not a warning because the compiler really doesn't know. It's a GUESS. For example: gcc nowadays prints those "helpful" "did you mean" suggestions. Guess what? Some 10% of the time for me, they are completely wrong. Thank god they are errors, not warnings.

Grow up, you are not an end consumer looking for the greatest "user experience", you are a programmer, be thankful that your tools catch your errors and don't produce random crap for you.

In C, for example, the following construct is used all the fucking time:
Code: [Select]
if( (retval = do_thing()) == SUCCESS)
    do_something_with(retval);

Explicit over implicit any day. Erroring out istead of "guessing" the intent, any day, for robust programming, and programs that work as expected.

You don't even save any significant time by guessing! Maybe some 0.001%, all of which is instantly wasted if the guess is wrong even once.
« Last Edit: October 27, 2020, 10:35:37 am by Siwastaja »
 
The following users thanked this post: Bobson, newbrain

Offline PlainName

  • Super Contributor
  • ***
  • Posts: 6843
  • Country: va
Re: Your pet peeve, technical or otherwise.
« Reply #301 on: October 27, 2020, 01:05:14 pm »
I wish to associate myself with the comment by Siwastaja  :-+
 

Offline eugenenine

  • Frequent Contributor
  • **
  • Posts: 865
  • Country: us
Re: Your pet peeve, technical or otherwise.
« Reply #302 on: October 27, 2020, 07:39:22 pm »
Linux isn't any better - you don't get a choice where to install anything. Unless you compile from source yourself, everything gets dumped together. But Microsoft should know a lot better, and did at one time.


Some Linux aren't any better you mean.  Other Linux let you pass a basedir= to the Slackbuild specifying where you want the install.
 

Offline PlainName

  • Super Contributor
  • ***
  • Posts: 6843
  • Country: va
Re: Your pet peeve, technical or otherwise.
« Reply #303 on: October 27, 2020, 11:39:31 pm »
Can't they just have a dialog with "Install folder: " and point/click selection of destination?
 

Offline rdl

  • Super Contributor
  • ***
  • Posts: 3667
  • Country: us
Re: Your pet peeve, technical or otherwise.
« Reply #304 on: October 28, 2020, 01:21:06 pm »
That's the way games do it. I've never had any problems. As a matter of fact, I've moved entire game folders from drive to to drive after installing and they still work fine. Maybe Windows 7 takes care of everything behind the scenes, I don't know but it's a non-issue.
 

Online Siwastaja

  • Super Contributor
  • ***
  • Posts: 8172
  • Country: fi
Re: Your pet peeve, technical or otherwise.
« Reply #305 on: October 28, 2020, 02:02:27 pm »
That's the way games do it. I've never had any problems. As a matter of fact, I've moved entire game folders from drive to to drive after installing and they still work fine. Maybe Windows 7 takes care of everything behind the scenes, I don't know but it's a non-issue.

It doesn't (take care of anything behind the scenes), but clearly the games are properly designed.

My pet peeves are programs that pollute the file tree or operating system in one way or another and are unable to work without "installation" which does random, unwanted and undocumented things to the system, and if you move the folder, they stop working.

Surprisingly many Windows programs are designed to just work putting the files somewhere, installers doing just that; cheers to them.

This being said, dynamic linking hell seems to apply to both Windows and linux distros.

On the unix tradition, this works in a completely different manner; so different that it isn't very fruitful to try to compare directly. The one which you are used to "feels" the only right way to do it. Strangely, I feel both are viable ways.

The very classic Windows way, "everything in one folder per program, including config" is quite good, but it has been broken a long time ago when programmers were encouraged to use The Registry for config storage; not that different from the unix tradition "put all config under /etc/", resulting in a strange mix of traditional Windows and Unix ways. In Unix, the idea is that all binaries of all programs are in one place, all config of all programs are in another place, all documentation of all programs in yet another... Which is again broken by the fact that there are multiple such places, think about /bin/, /usr/bin/, /usr/local/bin; and by the fact you have to come up with a place for files not easily classified under those traditional types.
« Last Edit: October 28, 2020, 02:10:38 pm by Siwastaja »
 

Offline rdl

  • Super Contributor
  • ***
  • Posts: 3667
  • Country: us
Re: Your pet peeve, technical or otherwise.
« Reply #306 on: October 28, 2020, 02:43:39 pm »
I have an entire folder called "portable" and almost every program I use is in there. None have ever been installed. Games however often require their own specific version of the MSVC++ runtime. I think there's around 15 copies on my game machine. It would be nice if these were contained in the game folder without requiring installation. But yeah, most Windows software will just run, no install needed.

I used to create a restore point, install something, then restore and see if it still worked. Almost always it did. One way to keep the registry unpolluted I guess.

Interestingly, writing to the registry seems built-in or maybe done by Windows itself in some cases, because it will happen even if a program folder is copied from a completely different machine once the executable is run.
 

Offline Nominal Animal

  • Super Contributor
  • ***
  • Posts: 6260
  • Country: fi
    • My home page and email address
Re: Your pet peeve, technical or otherwise.
« Reply #307 on: October 28, 2020, 08:20:10 pm »
Note that in most Linux distributions, the package manager not only forces a specific location, but it tracks them too.

For example, on Debian or Debian-derivatives like Ubuntu or Mint using Debian packaging, one can say for example
    dpkg-query -L $(dpkg-query -S $(which foo) | cut -d ':' -f 1)
to find out what other files are in the same package that provided command foo; or just
    dpkg-query -S $(which foo)
to find the names of the package(s) that provide existing command foo.

However, you most definitely can create Debian (and RPM) packages that use only the libraries provided within the package, in the same directory (or more preferably, a subdirectory), wherever it is compiled or installed to.  In fact, it is trivial for non-SUID, non-filesystem-capability-using binaries; and you don't even have to recompile the libraries.  All you need is to write a small wrapper that extracts its own absolute path, set the LD_LIBRARY_PATH to that directory (or suitable subdirectory), containing the libraries needed, and then execute the actual binary.  (Privileged programs that change UIDs or use filesystem capabilities do need to be relinked, with DT_RUNPATH ELF dynamic section attribute naming the correct location, and -z nodeflib option so that standard ELF cache locations are not used as a back-up location to search in.)
(I've ranted before about how it is possible and not difficult to make portable Linux applications – that Just Work across most/all Linux distributions –, so I won't repeat that here.  If anyone wants a practical example, though, just ask.)

You can also run binaries in a chroot environment (even bind-mounting existing filesystems or their leaf-parts to the chroot), but overall, a virtual machine is a better choice for that use case (since you probably want to protect the "parent" system from any shenanigans those binaries might do).

It is the same old story: with Linux, you can do whatever you want, but either you do it yourself, or you get someone to do it for you.  Ain't no free lunch.
By this I mean that if you want to use Linux as a tool in a production environment, you should have someone – paid, contracted, whatever – to do your support for you.
In an optimum situation, that someone or those someones also continually optimize the Linux environment you use for your workflow(s), too.

But try and get pointy-haired bosses to go for this!  At least, I myself am not enough of a salesman to get through the PHBs, even showing past proof of it working.
It seems like whenever you mention Linux, they think "no cost".  No, there is always a cost, and one should compare the cost to the tool you get for that (ongoing) cost, in terms longer than a quarter year.
« Last Edit: October 28, 2020, 08:22:09 pm by Nominal Animal »
 
The following users thanked this post: newbrain

Offline Ed.Kloonk

  • Super Contributor
  • ***
  • Posts: 4000
  • Country: au
  • Cat video aficionado
Re: Your pet peeve, technical or otherwise.
« Reply #308 on: November 11, 2020, 08:12:53 am »
Web 2.0 text that you can't select and copy, at least in part.
iratus parum formica
 
The following users thanked this post: Sal Ammoniac, SilverSolder, Red Squirrel, Gregg

Offline SilverSolder

  • Super Contributor
  • ***
  • Posts: 6126
  • Country: 00
Re: Your pet peeve, technical or otherwise.
« Reply #309 on: November 11, 2020, 03:13:08 pm »
Web 2.0 text that you can't select and copy, at least in part.

Be grateful that you can still do screen shots...
 
The following users thanked this post: Ed.Kloonk

Offline eugenenine

  • Frequent Contributor
  • **
  • Posts: 865
  • Country: us
Re: Your pet peeve, technical or otherwise.
« Reply #310 on: November 11, 2020, 08:58:20 pm »
or the web sites that now prevent cursor key scrolling
 

Offline james_s

  • Super Contributor
  • ***
  • Posts: 21611
  • Country: us
Re: Your pet peeve, technical or otherwise.
« Reply #311 on: November 11, 2020, 09:24:04 pm »
Web sites that nag you to install the app EVERY SINGLE TIME you visit with a mobile browser, even if the app is not supported on your version of the mobile OS.

Apps that drop support for older versions of iOS even when they were working perfectly. I do not need or want my phone to be updated to a newer, slower operating system with new bugs every year, and I an ticked off that ebay blocked their perfectly working app requiring a new version that requires a new OS. The effect is I spent a lot less time browsing ebay, save a lot of money, and sell much less on there too since these activities are much less convenient now. I used to browse the ebay app any time I was waiting somewhere and had time to kill, the mobile web experience is crap.
 
The following users thanked this post: SilverSolder, Red Squirrel, HobGoblyn

Offline Red Squirrel

  • Super Contributor
  • ***
  • Posts: 2750
  • Country: ca
Re: Your pet peeve, technical or otherwise.
« Reply #312 on: November 12, 2020, 06:16:18 am »
I realized I've been agreeing with pretty much all web related stuff people say, so to cover all bases:

Web 2.0.

That's my pet peeve.     Seriously though, Most modern designs just simply suck, they are less usable and more annoying than the more old school counterparts, while also taking up way more resources.   So many websites now are just filled with annoyances and every time they update they only make it worse.  Just look at Digikey.  it's a disaster now.

If you really want to push your system to it's limits try opening more than one Facebook tab.   If I can manage to do Alt F1 to get into a console and killall firefox I can recover, but usually once the cursor starts to feel like molasses, it's game over and I have choice but to do a hard reboot.
 
The following users thanked this post: Ed.Kloonk, SilverSolder, tooki

Offline SilverSolder

  • Super Contributor
  • ***
  • Posts: 6126
  • Country: 00
Re: Your pet peeve, technical or otherwise.
« Reply #313 on: November 12, 2020, 01:55:03 pm »
Basically, the Javascript engine in modern browsers is now so powerful that it acts like a virtual machine, running programs locally in your browser.   That is the real problem, because now we have a lot of bad programmers writing terrible code that executes inefficiently,  compared to old style HTML.

It isn't just the web designers that are the problem.   We also have companies like Adobe that have to justify their cloud subscriptions...  so they develop and sell web design tools that create reams of Javascript to turn a 100 byte web page into a 10 terabyte monstrosity, which can only be maintained using their tools. 

There is no cost to either the web designers or Adobe for doing this,  since it is us, the poor sap users, that have to pay the price of under-performing web sites.  If customers protest (e.g. like they do with the new Digikey site) the management is told that the web designers are professionals that use all the latest tools, and the customers are a bunch of old fuddy duddys that are fondly remembering the days of their youth around a no longer permitted camp fire...    Then they show the manager how easy it is to like their company on Facebook when using Digikey on a tiny screen phone, and the manager goes away again, pacified, thinking about his/her next promotion.

Of course, it needn't be like this.   There is no law of nature that says you can't make an excellent and well performing web site even if the tools have too much unsaturated fat in them...   So the main blame goes to the web designers that are slaves to modern fashion and don't bother to understand how the site is actually used and how their technology works, followed by tool makers like Adobe that tend to fool people into thinking that their tools are so good that the designers no longer have to think about how they work...    And of course a dunce prize for company management teams that let all this happen on their watch.

« Last Edit: November 12, 2020, 02:03:46 pm by SilverSolder »
 
The following users thanked this post: Ed.Kloonk, PlainName, Red Squirrel, Gregg

Offline james_s

  • Super Contributor
  • ***
  • Posts: 21611
  • Country: us
Re: Your pet peeve, technical or otherwise.
« Reply #314 on: November 12, 2020, 05:00:57 pm »
I bristle every time I hear someone say that a website needs updating because it looks dated. To me "dated" means it is clean and functional, and a redesign now inevitably means it will be bloated and buggy with half the information density and a bunch of useless crap that nobody asked for. I hate fashion because it overrides logic. You can watch the evolution of any product, it will start out primitive and then keep getting better and better until the development peaks, all the real problems have been solved and it is as close to perfection as it's going to get. But development doesn't just stop, they keep finding ways to screw with it in order to justify their own existence and inevitably it gets worse from all this constant tinkering and meddling. We use Slack for communication at work and it was mature and fully developed years ago and worked almost perfectly. This has not stopped them from constantly tinkering and making changes, moving things around in the UI for no apparent reason, adding annoying features that nobody asked for and then occasionally changing them again some months later after everyone complains. It drives me crazy, it's a tool, once it works just leave it alone and stop screwing with it. Some people can never just finish a project and go make something else, they have their one pet project that is always a project because they can never make up their minds and just call it finished.
 
The following users thanked this post: SkyMaster, Red Squirrel, tooki, HobGoblyn

Offline SilverSolder

  • Super Contributor
  • ***
  • Posts: 6126
  • Country: 00
Re: Your pet peeve, technical or otherwise.
« Reply #315 on: November 12, 2020, 06:11:28 pm »
Consider what would happen if a car maker decided to reverse the position of the gas pedal vs. the brake in their cars...  because their designer thought it looks better with the skinny pedal on the other side!  It would be pandemonium.

But in the software / web industry, making major changes to the GUI is considered cost free - and it pretty much is, to the people making the changes...

Some industries won't accept it.  If you change the GUI on a financial trading workstation, the sales manager will be phoned the next day and asked to remove this useless garbage from their premises!
 
The following users thanked this post: tooki, james_s

Offline PlainName

  • Super Contributor
  • ***
  • Posts: 6843
  • Country: va
Re: Your pet peeve, technical or otherwise.
« Reply #316 on: November 12, 2020, 09:47:05 pm »
Quote
Consider what would happen if a car maker decided to reverse the position of the gas pedal vs. the brake in their cars

Not a lot, really. First, that's essentially what it was like here in Britland in the 70's and 80's when we have British bikes (Triumph, BSA, etc) with the gearshift on the right, and Jap bikes (Honda, Yamaha, etc) with the gearshift on the left. Only a couple of times did I try to brake with the gearshift, and maybe once changed gear with the brake. But at that age I would have done stupid things like that anyway :)

Second, it's only because it's always like it is that there's a problem for anything different. If the norm were to be random then it would just be the norm and no-one would blink at it.

I am not saying that standardisation isn't desirable, just noting that we have survived without, and whilst it would be a bugger, it wouldn't be such a big one as might be imagined.
 

Offline CatalinaWOW

  • Super Contributor
  • ***
  • Posts: 5231
  • Country: us
Re: Your pet peeve, technical or otherwise.
« Reply #317 on: November 12, 2020, 10:02:59 pm »
I bristle every time I hear someone say that a website needs updating because it looks dated. To me "dated" means it is clean and functional, and a redesign now inevitably means it will be bloated and buggy with half the information density and a bunch of useless crap that nobody asked for. I hate fashion because it overrides logic. You can watch the evolution of any product, it will start out primitive and then keep getting better and better until the development peaks, all the real problems have been solved and it is as close to perfection as it's going to get. But development doesn't just stop, they keep finding ways to screw with it in order to justify their own existence and inevitably it gets worse from all this constant tinkering and meddling. We use Slack for communication at work and it was mature and fully developed years ago and worked almost perfectly. This has not stopped them from constantly tinkering and making changes, moving things around in the UI for no apparent reason, adding annoying features that nobody asked for and then occasionally changing them again some months later after everyone complains. It drives me crazy, it's a tool, once it works just leave it alone and stop screwing with it. Some people can never just finish a project and go make something else, they have their one pet project that is always a project because they can never make up their minds and just call it finished.

This is inevitable, because it is far easier to tinker with something that is working and desirable than it is to invent something new that is desirable.
 

Offline SilverSolder

  • Super Contributor
  • ***
  • Posts: 6126
  • Country: 00
Re: Your pet peeve, technical or otherwise.
« Reply #318 on: November 12, 2020, 10:21:16 pm »
Quote
Consider what would happen if a car maker decided to reverse the position of the gas pedal vs. the brake in their cars

Not a lot, really. [...]

Maybe if you are designing a new Edsel...   :D
 

Offline james_s

  • Super Contributor
  • ***
  • Posts: 21611
  • Country: us
Re: Your pet peeve, technical or otherwise.
« Reply #319 on: November 13, 2020, 12:34:48 am »
Quote
Consider what would happen if a car maker decided to reverse the position of the gas pedal vs. the brake in their cars

Not a lot, really. First, that's essentially what it was like here in Britland in the 70's and 80's when we have British bikes (Triumph, BSA, etc) with the gearshift on the right, and Jap bikes (Honda, Yamaha, etc) with the gearshift on the left. Only a couple of times did I try to brake with the gearshift, and maybe once changed gear with the brake. But at that age I would have done stupid things like that anyway :)

Second, it's only because it's always like it is that there's a problem for anything different. If the norm were to be random then it would just be the norm and no-one would blink at it.

I am not saying that standardisation isn't desirable, just noting that we have survived without, and whilst it would be a bugger, it wouldn't be such a big one as might be imagined.

I suppose it depends on how ingrained something is. Muscle memory is very hard to override, for a while my brother had a car that was almost identical to mine except his had an automatic and mine had a manual gearbox. I drove his a few times and had to wedge my left foot behind my right leg to keep from reflexively stabbing for the clutch, which results in catching the edge of the wide brake pedal used in slushbox equipped cars and slamming on the brakes.
 
The following users thanked this post: Cubdriver

Offline PlainName

  • Super Contributor
  • ***
  • Posts: 6843
  • Country: va
Re: Your pet peeve, technical or otherwise.
« Reply #320 on: November 13, 2020, 01:41:03 am »
Quote
Muscle memory is very hard to override

Sure is! And you really want muscle memory when driving so you're not half-focused on how to operate it.

Periodically I drive a motor with a push-button parking brake. Often it is only overnight but nevertheless it doesn't catch me out very often. But get back in my own motor and I'm forever trying to find the parking brake button! I think it's the strangeness of the different motor that keeps one mentally awake, but get back into familiar surroundings and you kind of relax your guard, but something at a low level is still saying 'that control is the other way around'.
 
The following users thanked this post: tooki

Offline JohnPen

  • Regular Contributor
  • *
  • Posts: 240
  • Country: gb
Re: Your pet peeve, technical or otherwise.
« Reply #321 on: November 13, 2020, 11:08:29 am »
Two experiences with different vehicles that caused some confusion.  Many years back in the UK  I purchased a Simca 1500. This had a different gear change to the normal in the UK as the original french version was a column change.  In the UK it had been changed to a floor change but  a different gear change order it was reversed  I cant remember where reverse gear was.
----------1 3--------------------3 1
----------2 4   ----------------  4 2 .
Being a lot younger then I did not find it a problem and fortunately it had a Porsche type gearbox that the recommended check for it's condition was to drive at 30 mph in a higher gear and then quickly change in to first  gear keeping the clutch disengaged. >:D   Yes it really worked with no problem but I wouldn't recommend that as a habit it did however protect one from possible gear change errors while adapting.   My second  confusion was arriving to pick up an American hire car (automatic) in Ottowa at night and being unable to release the handbrake or even find it.  I had not come across the 'Foot operated' version before and it was pitch black in the car park so I could not even see it.  A quick visit back to the pick up office and all became clear.  Nowadays electric handbrakes are automated as well but I do miss the option of using a handbrake manually especially when parking on steep inclines. Perhaps I will eventually trust them. :)
« Last Edit: November 13, 2020, 11:26:12 am by JohnPen »
 

Offline SilverSolder

  • Super Contributor
  • ***
  • Posts: 6126
  • Country: 00
Re: Your pet peeve, technical or otherwise.
« Reply #322 on: November 13, 2020, 03:24:09 pm »

Some cars with the automatic handbrakes let you activate them manually by pushing/pulling the release button.  It can increase the trust factor when parking on a hill!  :D
 

Offline Sal Ammoniac

  • Super Contributor
  • ***
  • Posts: 1670
  • Country: us
Re: Your pet peeve, technical or otherwise.
« Reply #323 on: November 13, 2020, 06:31:48 pm »
Frameless windows, like Windows Explorer windows on the latest version of Windows 10, that blend into white backgrounds so that you can't tell where one window ends and another begins.
Complexity is the number-one enemy of high-quality code.
 
The following users thanked this post: Ed.Kloonk, SkyMaster, SilverSolder, Tomorokoshi

Offline eugenenine

  • Frequent Contributor
  • **
  • Posts: 865
  • Country: us
Re: Your pet peeve, technical or otherwise.
« Reply #324 on: November 13, 2020, 11:11:03 pm »
Quote
Consider what would happen if a car maker decided to reverse the position of the gas pedal vs. the brake in their cars

Not a lot, really. First, that's essentially what it was like here in Britland in the 70's and 80's when we have British bikes (Triumph, BSA, etc) with the gearshift on the right, and Jap bikes (Honda, Yamaha, etc) with the gearshift on the left. Only a couple of times did I try to brake with the gearshift, and maybe once changed gear with the brake. But at that age I would have done stupid things like that anyway :)

Second, it's only because it's always like it is that there's a problem for anything different. If the norm were to be random then it would just be the norm and no-one would blink at it.

I am not saying that standardisation isn't desirable, just noting that we have survived without, and whilst it would be a bugger, it wouldn't be such a big one as might be imagined.

I suppose it depends on how ingrained something is. Muscle memory is very hard to override, for a while my brother had a car that was almost identical to mine except his had an automatic and mine had a manual gearbox. I drove his a few times and had to wedge my left foot behind my right leg to keep from reflexively stabbing for the clutch, which results in catching the edge of the wide brake pedal used in slushbox equipped cars and slamming on the brakes.

it was many years after I was married that my arm would still reach for the non existent gearshift in my wife's car when I felt the rpm at certain speeds.
 
The following users thanked this post: KeepItSimpleStupid


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf