|
Sebbe posted:It's a range excluding its endpoints. (x,y) is the standard way of expressing this in mathematics. (which obviously invites confusion with tuples)
|
# ? Aug 30, 2014 22:52 |
|
|
# ? Jun 8, 2024 06:51 |
|
Jeb Bush 2012 posted:(x,y) is the standard way of expressing this in mathematics. (which obviously invites confusion with tuples) Either notation is used, it all depends on where you look. Where I studied math (Denmark), the ]x,y[ notation was more common, but I've encountered both.
|
# ? Aug 31, 2014 04:44 |
|
Jeb Bush 2012 posted:(x,y) is the standard way of expressing this in mathematics. (which obviously invites confusion with tuples) Not that much confusion. In general it will be abundantly clear from context whether an interval or an ordered pair is meant.
|
# ? Aug 31, 2014 14:21 |
|
Usually, yes.
|
# ? Aug 31, 2014 14:57 |
|
Hammerite posted:Not that much confusion. In general it will be abundantly clear from context whether an interval or an ordered pair is meant. I wish I lived in your world. So much optimism. So much faith in the goodness of all coderkind.
|
# ? Aug 31, 2014 15:44 |
|
(x,y) is obviously a complex number.
|
# ? Aug 31, 2014 16:44 |
|
Not a huge horror, but my alma mater making me proud: Makes me remember the good ol' days when marquees like this were special purpose hardware/software... now it's probably just being powered by a Windows machine somewhere and for some reason someone just had to use XML. Like the time I was driving down the freeway and saw the LED sign outside a shopping center was clearly just being treated as a huge monitor for an XP machine because an alert dialog had somehow popped up over it.
|
# ? Aug 31, 2014 20:31 |
|
A few weeks ago I saw a freeway billboard that had a BIOS screen on it, or at least the upper left quadrant of a BIOS screen. The computer feeding the display was set up to PXE boot and couldn't get a network connection. I wondered how those billboards had realtime info to display. I for some reason assumed it was more specialized hardware rather than probably just some PC rendering some crap in Flash and only using the top left corner of the screen.
|
# ? Aug 31, 2014 21:25 |
|
kitten smoothie posted:A few weeks ago I saw a freeway billboard that had a BIOS screen on it, or at least the upper left quadrant of a BIOS screen. The computer feeding the display was set up to PXE boot and couldn't get a network connection. I wondered how those billboards had realtime info to display. I for some reason assumed it was more specialized hardware rather than probably just some PC rendering some crap in Flash and only using the top left corner of the screen. I think the days of specialized hardware/software for stuff like this pretty much ended the minute it became much cheaper to just find someone to develop a startup fullscreen app running on a desktop machine camouflaged by some plastic. Probably where the majority of XP machines live on.
|
# ? Aug 31, 2014 23:04 |
|
OS/2 error messages on ATMs are basically reassuring at this point.
|
# ? Sep 1, 2014 01:18 |
|
The day I see a Javascript backtrace on an ATM screen is the day my money leaves the bank system.
|
# ? Sep 1, 2014 03:00 |
|
Deus Rex posted:The day I see a Javascript backtrace on an ATM screen is the day my money leaves the bank system. Day after your money's already left, more like.
|
# ? Sep 1, 2014 04:23 |
|
SupSuper posted:If it makes you feel better, I've also seen billboards running off Mac or Linux-based desktop systems (usually tipped by some boot error or hanging on the login screen). Our public transportation uses macs. I know this because I often see an "Update available" window for random applications.
|
# ? Sep 1, 2014 06:35 |
|
From the artist who brought you the previous gemSkiant posted:
I present to you the "Captain Obvious" code:
|
# ? Sep 1, 2014 10:16 |
|
Skiant posted:From the artist who brought you the previous gem Wait until he starts putting forms inside forms
|
# ? Sep 1, 2014 10:32 |
|
eithedog posted:Wait until he starts putting forms inside forms We already do that to some extend with the magic of Angular's ng-form. I always have this picture in mind. I should also mention his style of comments: code:
|
# ? Sep 1, 2014 11:01 |
|
Skiant posted:I should also mention his style of comments: I've seen people use the // kind of comment in XML.
|
# ? Sep 1, 2014 12:58 |
|
qntm posted:I've seen people use the // kind of comment in XML. is it followed by <![CDATA[ ?
|
# ? Sep 1, 2014 13:20 |
How does anyone manage to reach the conclusion that running a major public-facing site on Sharepoint is a great idea?
|
|
# ? Sep 1, 2014 20:58 |
|
nielsm posted:How does anyone manage to reach the conclusion that running a major public-facing site on Sharepoint is a great idea?
|
# ? Sep 1, 2014 21:01 |
|
Westie posted:is it followed by <![CDATA[ ? Very possibly. That particular XML snippet was being constructed using string operations from data input by the user.
|
# ? Sep 1, 2014 22:22 |
|
SupSuper posted:I think the days of specialized hardware/software for stuff like this pretty much ended the minute it became much cheaper to just find someone to develop a startup fullscreen app running on a desktop machine camouflaged by some plastic. Probably where the majority of XP machines live on. Yes, XP running Flash content, but we are moving to Windows 7, Ubuntu and Android now. Tons of our clients still use XP but we are trying to migrate them to... Android media stick things, whose quality is hilariously inconsistent so far.
|
# ? Sep 2, 2014 01:43 |
|
Microsoft itself uses SharePoint for most of its partner-facing portals. It causes no end of problems such as different people with ostensibly the same roles and rights having access to completely different content in reality. Tech support tickets disappear for months into some 3rd world country's call center and come back with some boilerplate nonsense.
|
# ? Sep 2, 2014 11:39 |
|
Code that I wrote today and then puzzled for a long while over why my method wasn't working how I want it tocode:
|
# ? Sep 2, 2014 14:53 |
|
edit: gently caress. n/m.
|
# ? Sep 2, 2014 15:59 |
|
Flobbster posted:Not a huge horror, but my alma mater making me proud: There is nothing wrong with using XML. There is plenty of not using an XML parser to marshall and unmarshall the data. I guess this does confirm I need to add all the XML escape sequences to the web service integration guide. This is do to a request by a business manager who couldn't figure out why the XML he was seeing contained & and demanded we fix it. We had to explain it is an XML escape sequence for text. He then demanded we add it to the integration guide. I would personally tell anyone who is consuming our service and is not using an XML parser or can't understand why he is getting an & in the document to get hosed, but that's me. HFX fucked around with this message at 17:18 on Sep 2, 2014 |
# ? Sep 2, 2014 17:15 |
|
HFX posted:There is nothing wrong with using XML. Lies.
|
# ? Sep 2, 2014 17:28 |
|
HFX posted:There is nothing wrong with using XML. Hmm.
|
# ? Sep 2, 2014 17:29 |
|
I liked XML better back when it used to be called "Lisp SEXPRs."
|
# ? Sep 2, 2014 19:04 |
|
Skiant posted:
Can't tell if this is php or javascript, but what would be the proper form here? code:
Is that the horror?
|
# ? Sep 2, 2014 19:59 |
|
Knyteguy posted:Can't tell if this is php or javascript, but what would be the proper form here? $scope makes me think it's JavaScript, using AngularJS.
|
# ? Sep 2, 2014 20:25 |
|
Ithaqua posted:$scope makes me think it's JavaScript, using AngularJS. Also that dates is not a valid PHP variable. And object methods/attributes are called with -> in PHP.
|
# ? Sep 2, 2014 22:41 |
|
Today I discovered that the SAX XML parser bundled with the Oracle JVM sometimes returns junk values for attributes if someone gives you a large XML 1.1 document, and probably always has done. The solution is to use a third-party XML parser instead of the default one. Or just to pray nobody ever sends you a large XML 1.1 document. I love XML, Java, and having feces rammed down my throat with a rusty iron pole.
|
# ? Sep 3, 2014 00:09 |
|
nm
xtal fucked around with this message at 00:56 on Jun 20, 2018 |
# ? Sep 3, 2014 00:48 |
|
HFX posted:There is nothing wrong with using XML. As a general-purpose markup language with validation, sure. Tragically, no-one ever uses it for that. They use their own bastard ad-hoc version of Markdown instead, and use XML for data serialization. What's that? All you wanted was a Map[String, String] with a few dozen entries? TOO BAD, PREPARE TO PARSE A HUNDRED KILOBYTES OF USELESSLY OVER-ENGINEERED XML WITH A VARIETY OF UNFORGIVABLY lovely LIBRARIES!
|
# ? Sep 3, 2014 01:32 |
|
Knyteguy posted:Can't tell if this is php or javascript, but what would be the proper form here? That's not quite the same. You'd need to do: code:
|
# ? Sep 3, 2014 04:06 |
|
Bognar posted:That's not quite the same. You'd need to do: I don't see any difference... Edit: Ah I guess if you don't want to set it to anything if date is undefined. Strong Sauce fucked around with this message at 05:14 on Sep 3, 2014 |
# ? Sep 3, 2014 05:11 |
|
ToxicFrog posted:As a general-purpose markup language with validation, sure. I deal with a lot of data exchanges between companies where the relationship is more than just x->y. The interactions usually have to go through some sort of web proxy at some point. XML works great for it. Json would work great if their was a way to provide a machine enforceable schema. In fact, one of my biggest complaints with XML is the in ability to take a very large schema, and provide a restriction through a schema update to only what tags and attributes we will use. Soricidus posted:Today I discovered that the SAX XML parser bundled with the Oracle JVM sometimes returns junk values for attributes if someone gives you a large XML 1.1 document, and probably always has done. The solution is to use a third-party XML parser instead of the default one. Or just to pray nobody ever sends you a large XML 1.1 document. I think that has been a more recent problem. On the plus note, the 3rd party parsers are usually quite a bit quicker then the default implementation. The bad part is trying to get them past company standards people who I think create paperwork to keep themselves employed. PrBacterio posted:I liked XML better back when it used to be called "Lisp SEXPRs." That's dangerous. That could lead to actual Lisp being adopted. That would lead to business people managing technical items head exploding, and we couldn't have that now could we? HFX fucked around with this message at 14:26 on Sep 3, 2014 |
# ? Sep 3, 2014 14:02 |
|
HFX posted:Json would work great if their was a way to provide a machine enforceable schema. In fact, one of my biggest complaints with XML is the in ability to take a very large schema, and provide a restriction through a schema update to only what tags and attributes we will use. There's this: http://json-schema.org/, but as far as the W3C drafts go, I think this is the only mention: http://www.w3.org/community/odrl/work/json/ (http://tools.ietf.org/html/draft-zyp-json-schema-04) There're also YAML-related schemas - http://www.kuwata-lab.com/kwalify/ / http://rx.codesimply.com/, but again - nothing official.
|
# ? Sep 3, 2014 16:36 |
|
|
# ? Jun 8, 2024 06:51 |
|
XML is nothing compared to the billion "I saw something using XML so I copied what it looked like" pseudo-XML files out there. Just because you wrap values in angle brackets does not mean you are using XML
|
# ? Sep 3, 2014 17:56 |