|
LockeNess Monster posted:Isn't the only thing you need to do to prevent SQL injection is to just use compiled statements?
|
# ? Apr 21, 2010 23:53 |
|
|
# ? Apr 27, 2024 08:47 |
|
Mustach posted:Exxxxxtreeeeeeme MUMPS! Does Epic have a thing for physics grads? They tried to recruit me last year as I was graduating. Thankfully, grad school went through.
|
# ? Apr 22, 2010 04:27 |
|
Insurrectum posted:Does Epic have a thing for physics grads? They tried to recruit me last year as I was graduating. Thankfully, grad school went through. Physics is one of several majors (math too, and maybe music) that they target to hire into technical services to support customers. The position involves a lot of troubleshooting and debugging, plus potentially developing fixes or custom programming. They're looking for people with logic/reasoning skills that can be taught to program adequately well, while saving the serious programmers for R&D.
|
# ? Apr 22, 2010 06:07 |
|
dwazegek posted:This made me smile haha, whoops, that was supposed to be "Replaces " with & quot"
|
# ? Apr 22, 2010 14:41 |
|
I don't know if this is a horror or a moby hack: http://blogs.msdn.com/developingfordynamicsgp/archive/2008/10/15/what-is-column-dessprkmhbbcreh.aspx I was going through a great plains DEXSQL.log file and kept seeing what looked like a 'legit' error message, 'Invalid column name 'desSPRkmhBBCreh'. It turns out that it's faster to determine the presence of a table by asking for a non-existent column within it instead of waiting for a system meta table to build a list of all the tables. So these guys built their 'doestableexist' calls into GreatPlains by trying to select from a column composed of their initials; if the table exists they'll get 'invalid column' error message, if it doesn't they'll get another one.
|
# ? Apr 22, 2010 19:02 |
|
Scaramouche posted:I don't know if this is a horror or a moby hack: It's a horror for the person who comes in after you and has to figure out what the hell you were trying to accomplish. Because if you're writing that you're probably not commenting it.
|
# ? Apr 22, 2010 19:49 |
|
Mustach posted:Exxxxxtreeeeeeme MUMPS! Epic tried to recruit me last week decided not to respond
|
# ? Apr 22, 2010 21:19 |
|
So why is this Epic thing treated like the bubonic plague?
|
# ? Apr 22, 2010 21:26 |
|
Broken Knees Club posted:So why is this Epic thing treated like the bubonic plague? http://thedailywtf.com/Articles/A_Case_of_the_MUMPS.aspx
|
# ? Apr 22, 2010 21:28 |
|
Also http://en.wikipedia.org/wiki/MUMPS#Sample_programs (Also also the employees are idiots and the CEO is a fruit loop.)
|
# ? Apr 22, 2010 21:29 |
|
Broken Knees Club posted:So why is this Epic thing treated like the bubonic plague? Because every player I can think of in the field of healthcare IT is terribly crippled beyond hope of redemption. It could be like printing money but for some reason every company that tries bungles it. I haven't met a doctor, nurse, lab tech, or hospital janitor happy with the software that they have to use. I used to work for one of these places We didn't have MUMPS, but the VB6 flowed like antifreeze-laced wine
|
# ? Apr 22, 2010 21:31 |
|
Avenging Dentist posted:the CEO is a fruit loop. The CEO is also a workaholic, and has built a company culture that expects everyone else to be too (my boss got a call once from someone who heard me mention I only average 42 hours a week). I like my job well enough, and they pay very well, but I don't think most CoCers could handle the VB6+MUMPS thing. Jethro posted:http://thedailywtf.com/Articles/A_Case_of_the_MUMPS.aspx Not to defend MUMPS, but that article is terribly inaccurate. It also misses a lot of good reasons to hate MUMPS.
|
# ? Apr 22, 2010 22:52 |
|
Zhentar posted:The CEO is also a workaholic, and has built a company culture that expects everyone else to be too (my boss got a call once from someone who heard me mention I only average 42 hours a week). This is also something that seems to be common in healthcare IT...my former CEO is written about in textbooks regarding an angry letter he sent saying that the parking lot wasn't nearly full enough at 7PM
|
# ? Apr 22, 2010 22:55 |
|
Wasn't there a MUMPS program listed in this thread once that was a terrible, indecipherable wall of text that made eyes bleed?
|
# ? Apr 22, 2010 23:07 |
|
jonjonaug posted:Wasn't there a MUMPS program listed in this thread once that was a terrible, indecipherable wall of text that made eyes bleed? That pretty much sums up all of the MUMPS code posted in this thread.
|
# ? Apr 22, 2010 23:11 |
|
mr_jim posted:That pretty much sums up all of the MUMPS code posted in this thread. or anywhere else
|
# ? Apr 22, 2010 23:14 |
|
mr_jim posted:That pretty much sums up all of the MUMPS code posted in this thread. I don't know, this doesn't look that terrible. You can tell what it's doing with a cursory glance. It's self-documenting!
|
# ? Apr 22, 2010 23:18 |
|
It's pretty easy to write obfuscated MUMPS, but with some decent coding standards (and not trying to be clever) it's easy to understand. The abbreviated commands can be confusing if you aren't familiar with it, but it's actually quite nice.
|
# ? Apr 23, 2010 00:26 |
|
Nicer than what? Not trying to be snarky; I just don't get it.
|
# ? Apr 23, 2010 00:28 |
|
rt4 posted:Nicer than what? Not trying to be snarky; I just don't get it. http://en.wikipedia.org/wiki/Stockholm_syndrome
|
# ? Apr 23, 2010 00:31 |
|
rt4 posted:Nicer than what? Not trying to be snarky; I just don't get it. It has an admittedly cool DB layer (or at least, it was cool back in the day where no one had heard of associative arrays). Nowadays, especially with things like MongoDB, literally everything MUMPS did is done better elsewhere.
|
# ? Apr 23, 2010 00:32 |
|
csammis posted:Because every player I can think of in the field of healthcare IT is terribly crippled beyond hope of redemption. It could be like printing money but for some reason every company that tries bungles it. I haven't met a doctor, nurse, lab tech, or hospital janitor happy with the software that they have to use. Funny story about this: My dad is a dentist. He's also a bit of a techie, and has a dream of running the world's first paper-free dental office. As part of this, I wrote a big complicated web-based system for tracking stuff like lab cases, supplies, business statistics, and employee time records. It is awesome, works great to this day (over a year since I moved out to the bay area), and is probably a big part of why his is one of the few/only practices in his town to survive the recession mostly unscathed. However, his attempts to market this to other dentists has been an abject failure. Nobody is interested in minor things like knowing how much they spend on supplies, or when a patient's lab case is due to arrive. In fact, many dentists are completely uninterested in computers. One of his good friends has only one computer in his office, using DOS 6.2 and some ancient proprietary management system. Another doesn't have any computers, and runs his whole office with a giant corkboard. Now, recently, another techie-dentist had the same idea of "why the gently caress is everything so broken", except he's a big Microsoft / C# guy. So he wrote a desktop-based practice management system, which is about a million times better than the old proprietary applications dentists had to use. We migrated to it on desktops, integrated it with our web-based system, and life got even better. Besides being faster and easier to use, it doesn't cost thousands per year in support fees. But how many dentists use it? Not many. The idea of sitting down, clicking a mouse 4-5 times, and then using this free awesome software is so abjectly terrifying to the average dentist that they avoid it like it's dick cancer. The only way healthcare technology improves is by old doctors retiring and letting the young whippersnapper 60-year olds take their place.
|
# ? Apr 23, 2010 00:57 |
|
Zhentar posted:It's pretty easy to write obfuscated MUMPS, but with some decent coding standards (and not trying to be clever) it's easy to understand. The abbreviated commands can be confusing if you aren't familiar with it, but it's actually quite nice.
|
# ? Apr 23, 2010 01:11 |
|
Janin posted:But how many dentists use it? Not many. The idea of sitting down, clicking a mouse 4-5 times, and then using this free awesome software is so abjectly terrifying to the average dentist that they avoid it like it's dick cancer. You've got to know how to motivate dentists. As a dentist, the number one thing I'm concerned with in my practice is the degree to which I can cause another human being suffering. If you market the software as being able to help dentists inflict more pain on their patients, they will eat that poo poo right up.
|
# ? Apr 23, 2010 01:16 |
|
https://www.youtube.com/watch?v=bOtMizMQ6oM
|
# ? Apr 23, 2010 01:38 |
|
rt4 posted:Nicer than what? Not trying to be snarky; I just don't get it. The abbreviated syntax is nicer than the not-abrreviated syntax. Plorkyeran posted:Can you post an example of some MUMPS code that you would consider easy to understand? I've never seen any that did anything not completely trivial that wasn't hideous. I don't have anything handy that would be understandable without a whole lot of context. I'll check out the programming competition thread and put together a solution for something quick, unless you have any specific ideas.
|
# ? Apr 23, 2010 01:47 |
|
Zhentar posted:unless you have any specific ideas. Write fizzbuzz
|
# ? Apr 23, 2010 01:52 |
|
rt4 posted:Write fizzbuzz code:
|
# ? Apr 23, 2010 02:11 |
|
If that's actually a correct FizzBuzz solution then MUMPS has some really loving weird control flow structures.
|
# ? Apr 23, 2010 02:34 |
|
^^^ Yeah, it does. And I've got more for you too! I decided to do Project Euler problem #10 http://projecteuler.net/index.php?section=problems&id=10 posted:The sum of the primes below 10 is 2 + 3 + 5 + 7 = 17. code:
|
# ? Apr 23, 2010 03:07 |
|
Avenging Dentist posted:You've got to know how to motivate dentists. As a dentist, the number one thing I'm concerned with in my practice is the degree to which I can cause another human being suffering. If you market the software as being able to help dentists inflict more pain on their patients, they will eat that poo poo right up. That explains a whole hell of a lot about Cerner's business and development models
|
# ? Apr 23, 2010 03:12 |
|
Does that print Fizz/Buzz/FizzBuzz instead of or in addition to the number? edit: I was right pre:1 2 3 Fizz 4 5 Buzz 6 Fizz 7 8 9 Fizz 10 Buzz 11 12 Fizz 13 14 15 FizzBuzz Also, you made me install a MUMPS compiler to figure this out and have earned my eternal mild enmity. pseudorandom name fucked around with this message at 05:26 on Apr 23, 2010 |
# ? Apr 23, 2010 05:13 |
|
ih8ualot posted:Case in point. Sometimes I grep our work codebase (which is borken up into different areas for different groups of people that people rarely leave) for ridiculous stuff. "I'm sorry" came up with results from only our best (by far) coder. I usually look for ridiculous stuff though. In matlab both variables and functions share the same namespace, and there are local variables and functions, so you can override things like core library functions with variables which just happen to have the same name. Very very rarely this results in some brilliant trickery, but usually it is asinine poo poo like masking the function "sum" with a variable named "sum". Whenever I think of something like that I search to see if someone has done it - and invariably someone has. God damned math and physics graduates don't think about their tools.
|
# ? Apr 23, 2010 05:27 |
|
csammis posted:That explains a whole hell of a lot about Cerner's business and development models It also explains a lot about AD's posting Also from that MUMPS sample program wiki link before quote:This program sets a value of "x x" to a variable named x, and then launches an infinite recursive execution of x, resulting in stack overflow. At 13 characters, including spaces and an end-of-line mark, the first variant demonstrates that it can be as compact and obscure as such languages as Perl. This is a good thing?
|
# ? Apr 23, 2010 05:35 |
|
Shavnir posted:This is a good thing? I think that's wikipedia humor.
|
# ? Apr 23, 2010 05:37 |
|
pseudorandom name posted:Does that print Fizz/Buzz/FizzBuzz instead of or in addition to the number? Oops. Should've read the description more carefully.
|
# ? Apr 23, 2010 05:50 |
|
code:
Now I know even more MUMPS, and my enmity has increased from mild to moderate. (I've edited this post 3 or 4 times now to make the code easier to read and fix some compiler warnings. I really need to stop reading about MUMPS...) pseudorandom name fucked around with this message at 06:15 on Apr 23, 2010 |
# ? Apr 23, 2010 05:53 |
|
pseudorandom name posted:
Content: I'm in the process of rebuilding an ASP/Access website with a modern one built on ASP.NET MVC and SQL Server. This function more or less sums up the original programmer. Really great guy, I mean no offense to him by posting this here, but this is definitely babby's first CMS: code:
Also almost the entire website is shoehorned into one single database type. Not one table with hundreds of columns, but the "article" table was repurposed to do almost everything. Article summaries can be image URLs, article subtitles can be category names, article text can be a link destination. There's nothing really horrifying about this code, just some perplexing design decisions
|
# ? Apr 23, 2010 06:38 |
|
niteice posted:it's Perl and VB and COBOL and Fortran
|
# ? Apr 23, 2010 17:32 |
|
|
# ? Apr 27, 2024 08:47 |
|
Shumagorath posted:Am I alone in liking that for loop structure (start:increment:end)? Maybe it's because I got my start in OOT and Pascal. I'm cool with the for loop structure. It's the foreach structure that gets a bit awkward, although it makes up for it by being very flexible. code:
|
# ? Apr 23, 2010 18:02 |