|
Mods, change my
|
# ? Apr 15, 2015 16:58 |
|
|
# ? May 24, 2024 20:51 |
I am also fine with a numeric incremental naming policy, as long as I am 1. Maybe I will settle for 2 or 3.
|
|
# ? Apr 15, 2015 17:02 |
|
Manslaughter posted:Perhaps the user can adopt a new simple name when using the software. We could call it, ah, uh, a user name. This would be okay-ish in a system where the contact was actually using the software. But if I get your business card from a sales visit and I'm back at my desk entering your info into the system so I can record the visit and fill out a report, send you a thank you letter, and a price quote, it gets a bit more complicated. I mean unless we want people to put their usernames on their business cards. Or I can just call you up a couple days after the meeting. "Hey thanks for taking the time to meet with me last week. I'm working on your pricing but in order to enter you into our system I need to get your nick name". HardDisk posted:Mods, change my Hi! My name is 3a768eea-cbda-4926-a82d-831cb89092aa. Hi! My name is 3a768eea-cbda-4926-a82d-831cb89092aa er wika wika 3a768eea-cbda-4926-a82d-831cb89092aa.
|
# ? Apr 15, 2015 17:08 |
|
Subjunctive posted:I refuse to create joinder with your schema. It's "I do not consent to joinder...". Geez I bet you even pay your traffic 'citations' when they're issued by those 'law' enforcement officers who don't even have three forms of ID xzzy posted:We can form a committee to run the HNS, a hierarchal distributed database to convert GUID's to human readable "common names." But what about future people born on Mars? Or the moon? We'll have to go up another level and start with .earth. poo poo, that's taken. OK, we'll just start with .moon and .mars and fill in the rest when this gets some traction. I'll start the wiki.
|
# ? Apr 15, 2015 17:08 |
|
Munkeymon posted:It's "I do not consent to joinder...". Geez I bet you even pay your traffic 'citations' when they're issued by those 'law' enforcement officers who don't even have three forms of ID Make sure they all fall under .sol
|
# ? Apr 15, 2015 17:10 |
|
Manslaughter posted:I am also fine with a numeric incremental naming policy, as long as I am 1. Maybe I will settle for 2 or 3. Number 1 is clearly Adam.
|
# ? Apr 15, 2015 17:10 |
|
Munkeymon posted:It's "I do not consent to joinder...". Geez I bet you even pay your traffic 'citations' when they're issued by those 'law' enforcement officers who don't even have three forms of ID I think taser dude was "create", but I'm not going to listen on the work bus to find out. http://m.youtube.com/watch?v=A7U5eJN3hLI Good luck putting all his colons into your software, too.
|
# ? Apr 15, 2015 17:12 |
|
Related naming horror: at one point Netscape Communicator added automatic sorting of Cc and To lines by name (I forget what comparator function is used). After release of that update, the Japan (I think) sales team lost their poo poo because in Japan the ordering in those lists has to do with rank and deference and such. Whoops.
|
# ? Apr 15, 2015 17:15 |
|
Subjunctive posted:I think taser dude was "create", but I'm not going to listen on the work bus to find out. I'm just remembering a video where they're dragging one of them out of his car while he's screaming I DO NOT CONSENT over and over and the cop just says "you don't have to" or some such
|
# ? Apr 15, 2015 17:36 |
|
Subjunctive posted:Related naming horror: at one point Netscape Communicator added automatic sorting of Cc and To lines by name (I forget what comparator function is used). After release of that update, the Japan (I think) sales team lost their poo poo because in Japan the ordering in those lists has to do with rank and deference and such. Whoops. Uh, easy solution, first name on the list is now CEO.
|
# ? Apr 15, 2015 17:37 |
|
How does the Culture program around the naming issue?
|
# ? Apr 15, 2015 18:08 |
|
Even going ASCII only has problems. Before the letter Ĺ/ĺ was introduced in Danish, it was a single digraph, Aa/aa. Ĺ was only introduced in 1948, and the double a is still a perfectly legal alternative. It's also much more common in names than Ĺ is. Since Ĺ is the last letter of the alphabet, the given name Aase or the city Aabenraa are sorted after William and Viborg. Of course there are exceptions and the name Aaron (although it's not very common) should come before Adam. Good luck explaining the difference to a computer. you could spell it A(U+034F COMBINING GRAPHEME JOINER)aron. I believe similar issues exist in French with oe (ś) (and Oe in Danish happens to be a different spelling of Ř), and in German with ü/ue and ß/Ss. NFX fucked around with this message at 18:18 on Apr 15, 2015 |
# ? Apr 15, 2015 18:15 |
My name contains an ASCII \0, what now C/C++ coders?!
|
|
# ? Apr 15, 2015 18:31 |
|
Soricidus posted:You are in the minority, then. Most people do in fact want their names to be mangled in some way. Fred Bloggs wants his letters to be addressed to "Dr Frederick S Bloggs" and begin "Dear Fred". But Abdul Rahman bin Yahya will be rather dismayed if you write "Dear Abdul"! So always write "Abdul Rahman bin Yahya". That's the point: don't mangle because you'll do it wrong, that's a guarantee. What I find strange is that people keep defending this, yet every use for mangling names tends to be something that is completely broken in an internationalization context. Not mangling may not be perfect, at least it's not adding complexity just to ensure the problem actively gets worse. quote:Strip out everything that's not a-z, hyphen, apostrophe, or period. I don't think it's too unreasonable either. People with weird rear end names are probably used to it and are already aware of the issues from anything else they've dealt with? You're in the right thread, that's all I can really say. quote:I have a name picked out for a future daughter that has a diaeresis, and I'm resigned to the fact that more places will get it wrong than get it right. My kids are both ASCII and preconceptions-Americans-have-about-names compliant. Easier to fix the hardware than the software. quote:My name contains an ASCII \0, what now C/C++ coders?! std::string? Hiowf fucked around with this message at 18:42 on Apr 15, 2015 |
# ? Apr 15, 2015 18:37 |
|
Skuto posted:So always write "Abdul Rahman bin Yahya". That's the point: don't mangle because you'll do it wrong, that's a guarantee. What I find strange is that people keep defending this, yet every use for mangling names tends to be something that is completely broken in an internationalization context.
|
# ? Apr 15, 2015 18:44 |
|
Plorkyeran posted:It's almost like businesses who only have customers in one country don't give a poo poo about internationalization and want software that supports what they already do. Yeah, nobody ever moves to one country from another one.
|
# ? Apr 15, 2015 18:45 |
|
I didn't realize that GTAV was only sold in the USA.
|
# ? Apr 15, 2015 19:03 |
|
Not so much a coding horror but some bright spark apparently decided to do some "tidying" on a production db and tried to rearrange columns in a live table using a gui in a db tool. Predictably this massively hosed up the table and said tool is now banned. The mystery is, if you don't know what you are doing why would you do this and if you know what you're doing why the gently caress are you drag and dropping changes in a gui? Edit: And from what I remember you always need to do a drop and rebuild to change column order so it would have hosed up either way. Powerful Two-Hander fucked around with this message at 19:13 on Apr 15, 2015 |
# ? Apr 15, 2015 19:11 |
|
Subjunctive posted:Yeah, nobody ever moves to one country from another one. They may not be correct to not give a poo poo, but that doesn't magically make them give a poo poo.
|
# ? Apr 15, 2015 19:18 |
|
Oh yeah, on the topic of bad games. My Windows user name has a space in it, so my %USERPROFILE% is "C:\Users\First Last". In C:\Users\ there's a file called "First" (no extension). Its contents? C:\Users\First posted:C:\Program Files (x86)\Ubisoft\Ubisoft Game Launcher\Uplay.exe Last\UninstalString2.txt I don't even know how you'd have to redirect an output to mess up like that, but if anyone can, it's Ubisoft.
|
# ? Apr 15, 2015 19:56 |
|
Powerful Two-Hander posted:Not so much a coding horror but some bright spark apparently decided to do some "tidying" on a production db and tried to rearrange columns in a live table using a gui in a db tool. The only reason I can imagine needing to rearrange columns in a table is so that "select * from table" returns the columns in the desired order, which is a coding horror in and of itself. A simple "select col5, col1, col10 from table" would have accomplished the same thing.
|
# ? Apr 15, 2015 20:01 |
|
GrumpyDoctor posted:There's got to be some purely technical solution to this centuries-old rat's nest of fuzzy definitions, cultural assumptions, and special cases. We're software developers, we can figure anything out!
|
# ? Apr 15, 2015 20:13 |
|
Munkeymon posted:It's "I do not consent to joinder...". Geez I bet you even pay your traffic 'citations' when they're issued by those 'law' enforcement officers who don't even have three forms of ID Hi, I'm Hughlander.UnitedStates.NorthAmerica.Earth.Sol.Orion.MilkyWay.LocalGroup.Virgo.Laniakea.ObservableUniverse and you are?
|
# ? Apr 15, 2015 20:15 |
|
Which observable universe?
|
# ? Apr 15, 2015 20:19 |
|
Volguus posted:The only reason I can imagine needing to rearrange columns in a table is so that "select * from table" returns the columns in the desired order, which is a coding horror in and of itself. A simple "select col5, col1, col10 from table" would have accomplished the same thing. I will admit that I thought about this once when I was feeling autistic but after 30 seconds of checking what was involved (copy to temp table>drop>recreate>copy from temp to live) I abandoned it as not worth it and likely to go horribly wrong. Drag and drop for DB schema changes though I mean come on. The grognards talking about command line only were right!
|
# ? Apr 15, 2015 20:33 |
|
Some people may have witnessed me professing that Powershell is actually an okay language. I would like to walk that position back. It rivals PHP in its badness. Here's some fun code that you might write in Powershell: code:
code:
|
# ? Apr 15, 2015 20:34 |
|
Suspicious Dish posted:Wait, that means that if I attach a debugger to an existing process, the thread names won't be there? What the gently caress? I would assume you get a numeric thread ID.
|
# ? Apr 15, 2015 20:35 |
|
developers developers developers developers
|
# ? Apr 15, 2015 20:37 |
|
also here's what i was talking about with the touch events http://the-witness.net/news/2012/10/wm_touch-is-totally-bananas/
|
# ? Apr 15, 2015 20:38 |
|
Subjunctive posted:Related naming horror: at one point Netscape Communicator added automatic sorting of Cc and To lines by name (I forget what comparator function is used). After release of that update, the Japan (I think) sales team lost their poo poo because in Japan the ordering in those lists has to do with rank and deference and such. Whoops. I regularly rank my to/cc lines by relevance of the message to the addressee. Is the horror the feature or the reaction to it? (I don't really see value in auto-sorting as a feature in the first place)
|
# ? Apr 15, 2015 20:58 |
|
Windows messages are bad, who knew? It's all a giant pile of hacks dating back to win 3.x.
|
# ? Apr 15, 2015 21:23 |
|
Dessert Rose posted:Powershell code:
|
# ? Apr 15, 2015 21:38 |
|
VikingofRock posted:My name contains an ASCII \0, what now C/C++ coders?! if (name[i] == \0) name[i] = \n FlapYoJacks fucked around with this message at 23:27 on Apr 15, 2015 |
# ? Apr 15, 2015 21:54 |
|
Dylan16807 posted:This is amazing. It's not necessarily intuitive, but it's well-defined behavior. http://stacktoheap.com/blog/2013/06/15/things-that-trip-newbies-in-powershell-pipeline-output/ You can pipe the output of ReturnFalse into out-null so that it doesn't put the extra $false into the pipeline.
|
# ? Apr 15, 2015 22:49 |
|
Ithaqua posted:It's not necessarily intuitive, but it's well-defined behavior. A lot of the things PHP does are "well-defined behavior" too, that doesn't make them any less of a horror. This is unjustifiable behavior. Anyone who has ever written code in any language but Powershell is going to be surprised by this. And if you're lucky you'll be surprised by it when writing some one-off script. If you're me, today, you'll find out about it because your deployment system written entirely in PS (which is, itself, a horror) decided to take a code path that no one expected, taking down several production servers. I wasn't the one that wrote the offending code, but if four devs staring at the code (two of whom write PS daily) can't figure out what's happening for hours then I don't know if you can really blame the person who did.
|
# ? Apr 15, 2015 22:58 |
ratbert90 posted:if (name[i] == \0) My name contains a bell and two device control 1 characters.
|
|
# ? Apr 15, 2015 23:24 |
|
Manslaughter posted:My name contains a bell and two device control 1 characters. I wish mine did.
|
# ? Apr 15, 2015 23:27 |
|
Manslaughter posted:My name contains a bell and two device control 1 characters. Two turn tables and a microphone. where = _.at("its")
|
# ? Apr 15, 2015 23:50 |
|
Just remember that if you had a single "full name" field, users would get confused and be idiots that just put their first name, or so somebody said on HN once. The right schema is really the one that gets the most conversions. One time some software I worked on thought two people were the same because two different Outlook address books had the same cellphone number for them: it was "same".
|
# ? Apr 16, 2015 00:51 |
|
|
# ? May 24, 2024 20:51 |
|
Skuto posted:So always write "Abdul Rahman bin Yahya". That's the point: don't mangle because you'll do it wrong, that's a guarantee. What I find strange is that people keep defending this, yet every use for mangling names tends to be something that is completely broken in an internationalization context. No your solution isn't going to work 100% either. It's over simplifying a very complex problem. It's amusing to me that everyone arguing for this solution wants to be super friendly for all international cultures and situations, by removing all of the localization standards from the equation. The best solution to this problem is probably the suggested "Enter your full legal name: _________" then "What would you like to be called? (E.g.: When we email you.) Name: ____________" Then you get their full legal name for identification or legal purposes, and then a proper name to identify them with. But you're still going to need to apply some constraints here. Max length is the first thing that comes to mind, unless you want Janice “Lokelani” Keihanaikukauakahihuliheekahaunaele or any of those other people on the long names list to blow up anything you want to display it on. Is forcing her to truncate it herself worse than it being cut off everywhere? There's probably no right answer to that. I can see people getting upset that you made them shorten it, and upset that your letter head's address field cuts it off. Aside from that anything else you want to interface with in the States is probably going to want First Name Last Name formats. Yeah it would be nice if they didn't, and hopefully that changes, but until then this is what you have to deal with. Marketing selects a company that sends out your mailers and they want the data submitted as First name and Last name, or Sales wants a report of all of the contacts in MI that ordered over 50k last year, ordered by last name. At some point you have to say "No I can't meet this requirement." or "poo poo I need to parse my names." One of those situations you can probably get away with, but one of them will be a bit difficult to explain. I'm not saying our solution is perfect either. But we sat down, thought about our customer base, thought about how contact names are used company wide, decided what our anticipated needs would be, and then decided on our constraints. The initial script to clean up the junk was less than 1% of the contacts in the system. All new contacts entered must conform the to constraints, which are fairly reasonable given our customer base. Overall I think it turned out pretty well. Anyway, the whole thing is a horror. No answer is going to work 100% of the time, so I don't think it's unreasonable to try and target a reasonable set of constraints with a high success ratio.
|
# ? Apr 16, 2015 01:55 |