|
kmoorevs wrote: '1 record(s) returned'. or worse '1 records returned'. C'mon, it only takes a few seconds to handle it correctly!
I do that, rather obsessively. 1 is singular. Everything else gets an 's', including 0.
|
|
|
|
|
kmoorevs wrote: C'mon, it only takes a few seconds to handle it correctly!
At least one time I was told that for grammatically correct Chinese that numbers change based on something. Not necessarily gender but perhaps even/odd.
So not so easy if one wants to internationalize it.
And if one wanted to use the written form of the number, so 'one' rather than '1' then gender would definitely play a role in multiple languages.
|
|
|
|
|
In Stock, On order, Invoice Items ... are more instructive. "Widget" is a "type of" field and maybe shouldn't even be a "label". Depends on the context.
"Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I
|
|
|
|
|
dandy72 wrote: I like to label my fields, listboxes...One of my coworkers hates this...What's your preference? Or has your company adopted something formal?
My preference is that people would recognize that a UI should be written with the user of the UI in mind and not the developer.
That said of course for any UI that is actually going to get used substantially the user is not going to care about small oddities in how the boxes are labeled. After just a short while they will intuitively know what each box is without reading anything at all.
What they do care about is that the UI and the rest of the application actually works. So might be better to focus on that.
|
|
|
|
|
Maybe use regular expression suffixes?
Widget must select 1
Widget+ must select 1 or more
Widget* may select 0 or more
Widget? may select 0 or 1
Every coder will agree. Suffix should be added automatically based on setter methods argument.
0 maps to nullable type or List.
Widget -> setWidget(Widget w)
Widget+ -> setWidget(List<widget> list)
Widget* -> setWidget(List<widget>? list)
Widget? -> setWidget(Widget? w)
I would probably still pass an empty list to the * method over a null.
Widget spelling is start to look really weird after typing it so many times!
Good luck!
|
|
|
|
|
englebart wrote: Maybe use regular expression suffixes?
I'm already being told I'm "thinking too much like a programmer" and that normal people get confused by that. I don't think regular expression suffixes would go over very well. 
|
|
|
|
|
But the team member that took the time to remove the “(s)” from every label might LOVE the idea and do all of the work! 😁
|
|
|
|
|
How do you feel about online data storage? Is it really secure?
Paranoid.
|
|
|
|
|
The data can be technically secure, but then there's always this...
xkcd: Security
With this out of the way...
If I absolutely, positively, had to upload data I don't want shared, I'd only be uploading TrueCrypt (or similar) file containers. That'd be missing the point of convenience, but that's hardly ever part of the question when it comes up.
|
|
|
|
|
I use OneDrive as it's the easiest way to share stuff between my desktop, Surface, and phone - but if it's anything I don't want public, it gets encrypted first. (Even if it's just "normal" photos with identifiable humans in).
Is it secure? I assume it's at the "Chocolate Teapot" security level.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
That's exactly what I use it for as well - I have a bunch of tiny, self-contained utilities (one EXE, no install, etc - think the SysInternals stuff) that I like to keep up to date and synchronized across the systems I use. OneDrive is great for that.
If it gets breached? Obviously I'll be concerned there was a breach at all, but the fact that those files got compromised is completely unimportant.
|
|
|
|
|
I also use OneDrive for general stuff. It has a section called "Personal Vault" requiring 2FA with Microsoft Authenticator that I use for more sensitive stuff.
Really sensitive stuff stays on an SSD in a bank vault. Different levels of paranoia
Mircea
|
|
|
|
|
I don't put any of my data online, not knowingly anyway.
Who knows what security they have and even then it can be hacked. Not that I have top secret information, I just don't want anyone to know about that cheeze-whiz incidence.
|
|
|
|
|
No one can protect your stuff as well as you can.
If security is important, then don't let anyone else have your stuff.
|
|
|
|
|
Yes.
It's secure. (as secure as you can keep your own password secure).
It's friggin' practical.
It's safe in case of catastrophic failure.
Remember that 99.9% (made up statistic) of people do not have the technical knowledge or discipline to make backups and duplicating backups and storing the duplicate backup offsite and also to make sure the backup actually works.
I'm happy with the cloud
CI/CD = Continuous Impediment/Continuous Despair
|
|
|
|
|
Makes sense ... We use GDrive for shared work in a team of 4.
It works great for remote work from home office.
BTW, I like your definition of CI/CD
|
|
|
|
|
Lose your password or account, or get a "share" wrong, and you've lost your data. I don't see getting by without at least one physical backup.
"Before entering on an understanding, I have meditated for a long time, and have foreseen what might happen. It is not genius which reveals to me suddenly, secretly, what I have to say or to do in a circumstance unexpected by other people; it is reflection, it is meditation." - Napoleon I
|
|
|
|
|
"secure"
depends what you put in it, like anything its all relative.
should you put you banking details on it, depends how detailed they are
should you keep a backup of you family photos, depends how questionable those photos are, and everyone should have print outs of photos, don't rely on pure digital storage
critical business flow - well that's what they being used for. so your journal notes about the nightmares will be secure enough
so as a ease of generally anywhere storage solution - great
single point of storage - NO
personal notes - none issue
incriminating evidence- why do you still have this evidence
|
|
|
|
|
Nothing is secure.
I use OneDrive for my work files -- I've had 2 scares where my laptop was flaking out. Having all files in OneDrive means I can be assigned a new laptop without loss of files. While regular backups are just as important, a backup is only as good as how recent it is. OneDrive is up-to-date within a minute or two. [Visual Studio projects are in MS Azure.]
I also use OneDrive for most of my personal files, as it facilitates sharing between my desktop, laptop, and phone. Please note that none of these files are sensitive, and there would be no embarrassment or problems if someone else saw them.
Critical files, such as tax records, go no where near any online service. In addition to regular backups, I burn to DVD (cheap, easy to store, and ransomware proof).
I also don't use online password managers. "Experts" have been advising the use of online password managers for years, but it was just a matter of time until one got hacked. And even more dangerous is the hacks that go undiscovered. Or unreported.
|
|
|
|
|
I use DVD backups as well. Used to use CDs, but they tend to fail over time. Make several DVD backups and store them in different locations.
|
|
|
|
|
I burn a new DVD after I do my taxes each year, so the current DVD has everything. I have enough copies that when older ones eventually fail, I'm safe.
|
|
|
|
|
Strangest supermarket online shopping substitutions[^]
To save you going near the Sky News (which requires PPE at the best of times), I'll summarize:
Dog chews instead of chicken breasts.
Toilet rolls instead of bread rolls.
A bag of onions instead of a loaf of bread.
Shoe polish instead of fruit.
Bacon rather than BBQ-flavoured crisps (Chips for the west ponders).
Easter egg despite ordering hot dog rolls.
A roll of tinfoil which was swapped out for a chocolate Santa.
Strawberries instead of bin bags.
Alcohol-free bottle of wine in place of a standard bottle.
And my personal favourite: Toilet roll replaced with Sellotape (Scotch tape for West ponders, Durex for Ozzies).
I'm assuming that either this was computerised via QA, or the UK supermarkets employ surrealist packers ...
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
OriginalGriff wrote: or the UK supermarkets employ surrealist packers
If those in my area are anything to go by, just take a look at these people, and try to convince me they care about the job they do.
|
|
|
|
|
The ones round here are all tidy folk - happy to help, friendly, willing to take (and make) a joke.
Self-scan Jan can be difficult to understand (she had a stroke about 6 years ago and is still relearning how to talk) but she takes care (and the piss).
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
OriginalGriff wrote: The ones round here are all tidy folk - happy to help, friendly, willing to take (and make) a joke.
Mom-and-pop shops, maybe, but grocery chains around here tend to hire whoever's willing to work for (barely-above) minimum wage. This is the result.
|
|
|
|