Better HN
topnewbestaskshowjobs
Log inSign up

defined

927 karma · joined Mar 14, 2017 (9y ago) · 307 submissions

[ my public key: https://keybase.io/edfine; my proof: https://keybase.io/edfine/sigs/rgBNx308Zssn4xQWDxgQyjw0aROLuRDyXvaAmBLUP0I ]
Submissions

comment 9y ago · link · parent

This. Anyone who had doubts can get a stack of z/OS DVDs and the Hercules S/390 emulator and just try to get it to boot! Not trivial.

Although I don't know if Hercules is still alive and hasn't been shut down by the suits.

comment 9y ago · link · parent

Please don't remind me. I had to convert the expat XML parser to compile on z/OS and work in EBCDIC, and found that round tripping between ASCII and EBCDIC was sometimes impossible because of the existence of not two, but THREE line terminator characters: CR, LF, and NL (0x85).

Not to mention that you cannot test for uppercase or lowercase like the ASCII `ch >= 'A' && ch <= 'Z'` because they are not contiguous in EBCDIC. A good reason to use the C RTL.

comment 9y ago · link · parent

Although I was never a mainframe programmer per se, I did quite a bit of interfacing between mini/microcomputers and IBM mainframes, so I got to see under the hood a little. (If I write something stupid, it's either memory issues or ignorance).

I recall seeing how files were allocated on disk (remember that mainframes have many different OSes, like OS\390, and even OSes on top of OSes like VM/CMS, and I don't remember what this was running on).

In this particular case, a file was preallocated in JCL to use N extents starting on a specific cylinder. Fixed size. None of this fancy ext3 or NTFS ;)

JCL (Job Control Language) was a language to control batch jobs, and many have called it the worst language ever designed, although not as bad as brainfk.

On the other hand, I had a chance to interface C++ with CICS (a transaction processing subsystem) using WebSphere MQ, and I must say, I was really impressed with its sophistication. It was a kind of SOA long before the term was invented.

A lot of what I saw in the mainframe world predated things - by decades - that some may think are new(er) concepts, such as clusters (sysplex), front-end processors, hypervisors, HA, and so on.

Those of us who had to fiddle with implied file formats with fixed-length fields and records won't find this stuff quite as alien, but equally as painful to deal with. I recall using some sort of ETL program to get around this. On the plus side, these primitive formats certainly were efficient in terms of processing speed, and a great match for COBOL.

Speaking of COBOL, as part of this project, I had to write a parser in C++ to parse COBOL copybooks (kind of a COBOL data structure definition) and generate C code to read the data.

It is a very different world, but I don't think it's all bad. After all, the technology has been working very well for a long time. Kudos to the COBOL Cowboys. I hope they charge a lot more than $100/hr!

comment 9y ago · link · parent

FWIW, there's a description of most of Erlang internal data structures here: https://edfine.io/blog/2016/06/28/erlang-data-representation...

comment 9y ago · link · parent

I like it. There are some annoyances to do with minor syntactical warts, like commas and semicolons, but all in all, I find it expressive.

comment 9y ago · link · parent

Um, shouldn't that be "misled"?

comment 9y ago · link · parent

> Whomever has the most power at the time will be able to decree some speech "fraud" and "disinformation" and punish people for speaking ideas that are too dangerous to entrust to the hoi polloi.

Yes, and in a free speech society, whomever has the most power and/or money at the time will be able to take advantage of free speech to conduct widespread and targeted disinformation and harassment campaigns - under a false flag of "angry citizens" - that can change (and have changed) the course of history.

It cuts both ways, sadly.

comment 9y ago · link · parent

Yes. Network Manager is horrible.

comment 9y ago · link · parent

Sure, but if the big wall is a map, and you're trying to find something on that map, all the dicks make it so much harder to find it that giving up in despair is often the reaction.

It's hard to tune out a cubic mile of dicks when you're looking for a pearl.

comment 9y ago · link · parent

This is a good point.

You know Sturgeon's Law? Something along the lines of "90% of science fiction is crap, because 90% of everything is crap?"

Well, if you more or less agree with that, there is just so much more of everything that there is so much more crap.

Another commenter expressed this as a signal-to-noise ratio problem. It is that, but it is also that O(N) is bad news for very large values of N.

comment 9y ago · link · parent

I definitely programmed TP 1.0 in mixed case on a TRS-80 Model II running CP/M.

comment 9y ago · link · parent

I was at first excited, then deflated, because I initially read the headline as "Optimize your Node app by deleting Node.js" (snerk).

comment 9y ago · link · parent

If your omission of what you assume is "unimportant detail" leads to your audience misunderstanding the "important" detail, you actually are failing to communicate.

It may also happen that the one person who you felt was not "worth the trouble" turns out to be someone who will be very important to you one day, like a potential business partner or investor, and who interprets your misuse of language as ignorance.

There's a difference between obsessing over unimportant detail and being thorough, IMHO.

comment 9y ago · link · parent

But iced tea typically does not contain ice unless you add it. Buy a can of Lipton's Iced Tea - it's still iced tea, with no ice in it. But whatever, this is getting to angels on the head of a pin territory :)

I think you are making an unwarranted assumption about me. I have indeed spent a great deal of time thinking about language; I just have different thoughts, or points of view, about it. I have been very interested in etymology for a long time.

I neither claimed that natural language was capable of being entirely unambiguous, nor that people cannot communicate in the face of ambiguity. In fact, ambiguity in language allows for great artistic expression: humor, poetry, and other word play. So I agree with you on that point.

But holy crap, do we have to make it harder than necessary to communicate, when we aren't deliberately playing with words?

Surely you agree that much of the misery, pain, and suffering in this world of ours is due to avoidable language-related misunderstandings?

comment 9y ago · link · parent

This. Thank you.

comment 9y ago · link · parent

I didn't know OS/X used the decimal prefixes, but that just means it's less true, not untrue. There are still many more systems out there that use the binary prefix. I imagine most *nix, and not sure about Windows. And RAM is still power of 2.

I don't think it's terribly user hostile to express sizes as powers of two when you work with these kinds of numbers for a living, especially when it's near the bare metal (Erlang binary data type FTW!)

But I do think it's user hostile to have two different units depending on what you're looking at. If it were all decimal or all binary, it would be much easier.

comment 9y ago · link · parent

Ah crap, yes, I did. Got to stop this middle of the night posting...

comment 9y ago · link · parent

Sorry, I disagree. Kindly enlighten me.

comment 9y ago · link · parent

Occam is the Latinized version of Ockham, as in "William of Ockham" [1].

[1]: https://en.m.wikipedia.org/wiki/William_of_Ockham

comment 9y ago · link · parent

Ah, I didn't see your comment before I wrote mine. And I agree violently with your point of view.

comment 9y ago · link · parent

Well, no. If we're going to be pedantic, we should say MiB (mebibytes), because file sizes on disk are expressed in multiples of powers of 2, but the SI prefixes are multiples of 10.

So a 1 megabyte file (as reported by the file system) is actually 1048576 bytes, which technically - sorry, I mean pedantically - speaking, is 1 mebibyte.

To make matters worse, disk manufacturers use the decimal prefixes, so our nice 1 terabyte drive is 931 mebibytes, but is reported by the file system as 931 megabytes (not MiB).

Finally, memory manufacturers use the binary prefix, so 1 megabyte of RAM is actually 1 mebibyte (1048576 bytes).

A bit of a mess, no?

All the above is, IMHO, a consequence of imprecision. If we get used to being loose with our terminology, we risk carrying that attitude over into our work product, with sometimes regrettable results.

So I'll continue to strive to be pedantic (translation: precise).

comment 9y ago · link · parent

I think you have a good point. The whole reason for standards (like SI units) is so that people don't need to guess or interpret. I don't get why this was downvoted.

comment 9y ago · link · parent

Sometimes it can be useful to expand the compound noun to see if it makes sense.

Apple pie:

- Pie found in apple(s)? Nope.

- Apple that is used to do something to pie! Hmm, no.

- Pie that is modified by an apple. No...

- Pie that is made with apple the primary ingredient? Yes

Ice algae:

- Algae found in ice? Bingo.

- Algae that is used to do something to ice? No.

- Algae that is modified by ice? Nope.

- Algae that is made with ice the primary ingredient? No again.

Ice axe:

- Axe found in ice? No.

- Axe that is used to do something to ice! Yes.

- Axe that is modified by ice? Definitely not.

- Axe that is made with ice the primary ingredient? No.

Finally...

Ice tea:

- Tea found in ice? No.

- Tea that is used to do something to ice? Not that I've heard of.

- Tea that is modified by ice? Mmm... it's not modified. It's still tea, only cold, not hot. Its temperature, a non-essential property of tea, has been modified. So wouldn't that be "iced tea", as in, "tea that is normally served hot but has been cooled down, namely, iced"?

- Tea that is made with ice the primary ingredient? No.

Bottom line: "ice tea" is ambiguous. "Iced tea" is not.

I regret I have honestly never heard of bubble tea (but I have heard of bubble gum), so I have no clue what it is, other than it has something to do with tea and bubble(s).

Is it tea with which one makes/blows bubbles?

Carbonated tea?

Tea served in a bubble?

Tea made from bubbles?

comment 9y ago · link · parent

Yeah, look, I'm aware of language evolution (or devolution, as it may be), and that there's no formal authority for the language. I mean, there are already at least two major dialects of English (British and American), and there's enough of a difference between the two to cause problems for the unwary.

What I'm railing against is more that there appears to be little interest, in general, even to try to get things right. I see this not just in human language, but in business, software development, publishing, pretty much everywhere.

I'm really tired, so I'm not expressing myself as well as I should, so perhaps I should just wrap this up and get some sleep. An iPad is also not the best UI for writing on HN.

Thanks for your thoughtful and thought-provoking response.

comment 9y ago · link · parent

Point taken, I made a mistake, but I think you're so focused on picking apart the comment that you've ignored the meat of it. That's ok, I said my piece and expected it to be downvoted - and it was.

comment 9y ago · link · parent

That's a sutra.

comment 9y ago · link · parent

Yeah. The Janus party.

comment 9y ago · link · parent

Except when the government effectively becomes, collectively, the king, and represents nothing more than their royal self-interest. Which is how I see things going in the USA, for all intents and purposes.

comment 9y ago · link · parent

Thank you, fellow detail-oriented person.

comment 9y ago · link · parent

> I'll continue to say... as I please.

By that argument, we should all just be able to say and write whatever we want however we want to, even if it's technically or factually incorrect, like Humpty Dumpty or Donald Trump.

Why bother hewing to "elitist" rules of grammar and accepted spellings, being that it's just prescriptivism?

How does one decide objectively if something is just plain wrong, or merely prescriptive?

Case in point: "premises". So many people treat this singular noun as a plural and use horrors like "on-premise", which is so utterly wrong that it is painful for me to look at. What's worse is that "premise" is a real word and an entirely different thing and is most definitely not the singular of "premises".

This word came about (as many English words do) as a corruption of the Latin "praemissus", meaning something like "the aforementioned", and was used often in legal agreements for properties, and so became a word in itself that meant "the property".

Now we are corrupting it yet again, this time without the excuse of it being a different language, on the basis that "I'll say it however I please." People I have mentioned this to have told me that it is so difficult to get people to use the right word that they've just gone with "on-prem".

Now readers can take this comment as the rant of a "grammar nazi" or a pedant, but it wasn't meant that way, and I'll respond in advance with this: why is it not ok to identify something that is wrong? Because it's mere nitpicking?

Maybe so - but that's how matters devolve, over the decades, back to widespread ignorance and intolerance: one little oversight at a time.

Sorry, I didn't mean to get on the soapbox - sometimes it's just frustrating for those of us who are perhaps overly detail-oriented. But the world needs "pedantic" people like us more than it likes to admit.

1
7891011