News for hackers. Stuff that matters.
Re:Text editing hates you too (2019) by bombcar on Friday May 21, 2021 @02:27PM (#27237963)
For people involved with technology I think this is a perfect response to "how hard can it be" - no matter if they're discussing how to keep toilet paper stocked or why cURL can be replaced with five lines of shell script - it emphatically shows how complicated something apparently simple can be once you start diving into it.
Re:Text editing hates you too (2019) by colllectorof on Friday May 21, 2021 @04:51PM (#27239804)
More often than not a problem that looks simple and has insane complexity once you dig a bit deeper is based on some faulty assumptions. Assumptions that either changed over time or never made sense to begin with. The wast majority of software systems out there are significantly simplifiable. However, not all developers are willing to analyze and question fundamental assumptions about systems they deal with. Most, in fact, are far more comfortable learning to jump through arbitrary hoops. They then brag about their "expertise" in the "domain" (which often doesn't even exist outside of software).
Re:Text editing hates you too (2019) by bsder on Friday May 21, 2021 @06:25PM (#27240735)
> The vast majority of software systems out there are significantly simplifiable.

I think exactly the opposite, actually.

Most programmers don't just write lines of code for no reason. They generally stop when the problem is solved.

So, you might be able to simplify new programs, but I wouldn't put a lot of money on it. The programmer would have had to miss something architecturally up front for that to be the case. It happens, but it's not that common.

So, you might be able to simplify production programs. Maybe, but those have a lot of bug fixes already implemented. And they encode the political state of the entity that built it (see: microservices). So, a program that has existed a while may not encode the current political system, but I don't think fixing that is making things simpler.

So, you might be able to simplify legacy programs. Perhaps, but those have a LOT of business state encoded in them--much of which is still used occasionally but you won't know that until you do a deep dig on the code. That rule for disbursements to Civil War descendants is there because the system still needed it up until a couple years ago.

Oddly, the best way I have found to simplify computer systems is to give the humans more power. Humans are good at exceptions; computers not so much. This is, sadly, anathema to modern programming and modern political/corporate structures.

Re:Text editing hates you too (2019) by alex_smart on Friday May 21, 2021 @07:14PM (#27241105)
>The programmer would have had to miss something architecturally up front for that to be the case. It happens, but it's not that common.

It is very, very common indeed. Seldom is software created with all the requirements and complexities of the problem known upfront. In fact, very often the process of development of the software itself reveals all the different ways in which the original specifications were imprecise and not completely thought through. And new features and requirements get added onto later all the time.

Software is created in an iterative process of feedback and development. At each stage, the programmers takes the shortest, most straightforward approach to solve the problem. When the programmers are not careful (or just lazy) they inadvertently add dependencies that shouldn't exist and make the whole thing more complex. Of course, any single infraction seems innocent enough, but eventually you almost always end up with software that is much more complex than it needs to be.

Here is a talk on how software is too complex all the way from 2006. I am more than confident that the problem has only gotten worse in last 15 years.

https://www.kernel.org/doc/ols/2006/ols2006v1-pages-441-450....

Re:Text editing hates you too (2019) by josephg on Friday May 21, 2021 @07:30PM (#27241257)
Yes exactly.

> At each stage, the programmers takes the shortest, most straightforward approach to solve the problem.

Unfortunately, this is the often the best case. There’s a point in the life of most good programmers where they can’t help but to massively over engineering everything they make, adding pointless interfaces and abstractions everywhere, to chase the dream of reusability. This mindset will utterly bury your capacity to iterate.

I once saw a Java method trail to initialise something which was 19 levels deep - each level just making one method call to the next abstraction. You couldn’t just trace it in the IDE - lots of those calls called an interface method or something, so you had to hunt down the implementer. But it got worse. There was also a method trail alongside it for cleaning up that context. It had the same 19 levels deep trail, but after all that work the final callee was an empty function.

Re:Text editing hates you too (2019) by ratww on Friday May 21, 2021 @07:21PM (#27241181)
> Most programmers don't just write lines of code for no reason. They generally stop when the problem is solved.

If only. Over-engineering is definitely a thing. And programmers definitely miss something more often than not, even when over-engineering. Or even: especially when over-engineering.

Re:Text editing hates you too (2019) by p1necone on Friday May 21, 2021 @08:29PM (#27241872)
You must have above average programming peers. It's my experience that architectural decisions that could cut future work by orders of magnitude are quite commonly missed.
Re:Text editing hates you too (2019) by leoc on Friday May 21, 2021 @05:30PM (#27240210)
Alan Perlis' old motivational-poster slogan "Fools ignore complexity. Pragmatists suffer it. Some can avoid it. Geniuses remove it." has a fair bit going for it.
Re:Text editing hates you too (2019) by oneeyedpigeon on Friday May 21, 2021 @06:55PM (#27240968)
I love that apart from the "Some can avoid it" bit — feels out of place with the rest. Who's "some"? Pithy slogans often come in three parts rather than four; I love the overall message, I think I'd just prefer it with that 25% removed.
Re:Text editing hates you too (2019) by blake8086 on Friday May 21, 2021 @07:31PM (#27241268)
You're a genius.
Re:Text editing hates you too (2019) by bryanrasmussen on Saturday May 22, 2021 @02:21AM (#27244030)
I think this is a funny thing on several levels - one you see the part that doesn't fit so you remove it making you the genius - in this way it's a nice motivational poster level thought.

But you could be a some. But if you were a some it would mean that there was no possibility of actually removing the some from the statement because it actually did describe accurately that there were somes that could avoid it.

So it is sort of a Gödelian joke.

Re:Text editing hates you too (2019) by B1FF_PSUVM on Friday May 21, 2021 @09:22PM (#27242273)
I'd be leery of messing with Perlis, but then again, most popular quotes are misquotes. Carry on ...
Re:Text editing hates you too (2019) by leoc on Friday May 21, 2021 @09:45PM (#27242433)
No, he's a some ...
Re:Text editing hates you too (2019) by hunter2_ on Friday May 21, 2021 @11:51PM (#27243265)
I was thinking pragmatist, tbh (albeit one seeking to remove or avoid, without having achieved it yet)
Re:Text editing hates you too (2019) by stemlord on Saturday May 22, 2021 @04:49PM (#27250139)
I read it as

"Some can manage to get the thing done by avoiding the complexity, geniuses remove the complexity for everyone"

Re:Text editing hates you too (2019) by patrec on Saturday May 22, 2021 @03:59AM (#27244507)
> Who's "some"?

Charles H. Moore, e.g. -- the 25% pulls its weight.

Re:Text editing hates you too (2019) by rudnevr on Saturday May 22, 2021 @12:03AM (#27243324)
...and managers get their pride in it.
Re:Text editing hates you too (2019) by alex_smart on Friday May 21, 2021 @06:53PM (#27240946)
Does that mean that Geniuses would be terrible software engineers, since removing complexity is seldom the right thing to do business-decision wise?
Re:Text editing hates you too (2019) by ratww on Friday May 21, 2021 @07:15PM (#27241115)
No, it doesn't, and no, it isn't. As much as some people like to pretend it doesn't exist, accidental complexity is a thing, and reducing it is part of our job. Also, there are ways of removing complexity of processes before they are turned into software, but that requires talking with people and agreeing. Not every program has to do everything.
Re:Text editing hates you too (2019) by coldtea on Saturday May 22, 2021 @05:28AM (#27244951)
>As much as some people like to pretend it doesn't exist, accidental complexity is a thing

Yes, and it's often the best feature of the software, as far as the sale teams is concerned, because it allows them to sell concultancy fees or because it satisfies the customer by matching 100% it's crappy requirements (which they don't really need).

Re:Text editing hates you too (2019) by alex_smart on Friday May 21, 2021 @07:28PM (#27241249)
>accidental complexity is a thing

Of course it is, in fact it is pretty much all-pervasive in our field, even in very successful software companies - which makes me question whether removing it is as valuable as people make it out to be.

Re:Text editing hates you too (2019) by NikolaNovak on Friday May 21, 2021 @10:33PM (#27242788)
Yes, and I think you provided a lot of the answer.

You can spend 5 years customizing off the shelf ERP software to do insane things because John in accounting and Jane in HR won't budge from weird processes they built over the decades... Or you can use that opportunity for business transformation, simplify their processes and their program, save money, reduce errors, improve responsiveness and timeliness, and generally make it a win win win.

Not all complexity can be reduced of course. I can imagine self driving cars, rocket science, etc are all about critical edge cases.

But when it comes to business, and particularly back office processes (where a huge amount of IT goes) , a lot of complexity is unnecessary. Each company each department each person is certain they are special, unique, and their requirements are paramount and unchangeable. But if you move around a bit you'll come to believe otherwise.

Re:Text editing hates you too (2019) by recursive on Friday May 21, 2021 @07:51PM (#27241463)
Even after removing some, there's still likely to be some less. It seems like it's probably good to remove it, all else being equal.
Re:Text editing hates you too (2019) by ratww on Friday May 21, 2021 @07:53PM (#27241477)
Of course it's is valuable. Complexity makes software expensive to make, so removing it is literally worth a lot of money that can be better spent making features. Nobody buys software because it's accidentally complex, they buy it because of features, quality (which is something that's also affected by complexity!), etc.

The only reason complexity is prevalent is due to a shortage and geniuses (and also a shortage of "Some" too, if we're going by Alan Perlis' quote).

Re:Text editing hates you too (2019) by josephg on Friday May 21, 2021 @07:19PM (#27241167)
Most things in life and programming exist on a trade off curve of goodness vs simplicity. Making the thing better means giving up simplicity. Making it simple means removing features people want.

Geniuses invent new ways to get both. Those ideas permanently move the trade off curve outwards.

In programming, some abstractions which have done this are: Operating systems (Abstracting away the hardware), Grace Hopper’s invention of program libraries, high level languages and compilers, HTTP and JSON, tcp/ip (replacing custom transmission protocols), and there’s lots more. Calculus and the Arabic numeral system are examples in mathematics. (It’s insanely difficult to multiply using Roman numerals!)

Re:Text editing hates you too (2019) by patrickdavey on Friday May 21, 2021 @09:24PM (#27242284)
I once read a book called "simplicity" by de bono I think it was...

He made the point (I think) that you do want simplicity, you don't want simplistic. That is: it should be able to do all the things you want to, but in an easy to use manner.

Worth striving for I believe.

Re:Text editing hates you too (2019) by chousuke on Saturday May 22, 2021 @03:34AM (#27244394)
"Simple" isn't always easy either.

To me, simplicity means that there's clarity of purpose for each component and how it interfaces with other components. A large system can still be simple if the interactions and interfaces between the different components are reasonably well understood and justifiable. I think thoughtful UI design is how you prevent complexity. The UI for developers and software is the API.

When you start adding features and instead of generalizing you simply (heh) add a special case to allow two unrelated components to communicate, and then another, and another, until the two components become dependent on each other such that neither can do anything without the other; then you have a complex system, and the "UI" for the developer is worse because it's full of seemingly random elements in random places that only do one very specific thing.

Re:Text editing hates you too (2019) by alex_smart on Friday May 21, 2021 @07:40PM (#27241354)
>Operating systems (Abstracting away the hardware), Grace Hopper’s invention of program libraries, high level languages and compilers, HTTP and JSON, tcp/ip (replacing custom transmission protocols)

How many of us get to work at such lofty problems though?

>Calculus and the Arabic numeral system are examples in mathematics.

Eye roll. Of course reducing complexity is the very essence of mathematics. Let us not pretend that software engineers are mathematicians.

Re:Text editing hates you too (2019) by josephg on Friday May 21, 2021 @08:22PM (#27241798)
> How many of us get to work at such lofty problems though?

How many of us choose to work on such lofty problems? You can work on whatever you want, whenever you want. But lofty, unproven ideas don’t pay Google salaries. Your career is a choice, not a prison.

And of course most software engineers aren’t mathematicians. We’re talking about genius - and most of us are a long way from that. Most of us are lucky if we manage to invent a couple complexity reducing concepts in our entire careers.

But lots of great computer science ideas have “come down the mountain” from mathematics adjacent work. Functional programming wasn’t invented by C lovers like me. But I love closures, pure functions, and map / filter / reduce. This stuff makes certain problems lovely. And we wouldn’t have any of this without mathematically minded CS.

Re:Text editing hates you too (2019) by edoceo on Friday May 21, 2021 @07:09PM (#27241071)
What? IME removing complexity removes costs. That's a good choice. I can't think of a case where it didn't happen. Of course this only works for the removable complexity, which is discovered through analysis (possibly iterative/recursive)
Re:Text editing hates you too (2019) by alex_smart on Friday May 21, 2021 @07:23PM (#27241197)
Time spent removing complexity is time not spent developing features. And your users/clients care more about features than complexity (which is completely invisible to them) or even speed. They don't even care if your app runs 10 times slower than it needs to, as long as it runs at an acceptable speed.

That is why software engineers are seldom rewarded at their companies for "removing complexity", only for finishing projects.

Re:Text editing hates you too (2019) by torstenvl on Friday May 21, 2021 @07:43PM (#27241373)
You're right that, given a set amount of programming time, working on features versus working on performance is zero-sum.

But that doesn't mean you should always work on features. If anything, it only means that feature-bloat is doubly bad, not only adding logic and binary size, but imposing opportunity cost.

Most users hate features. Nobody has ever sworn at their computer because they had to make a mess in Excel to use VLOOKUP() before XLOOKUP() was invented (even though I love XLOOKUP()). Plenty of swearing happens because the computer just won't respond or it's taking whole minutes to send each email when you're trying to leave work on Friday night.

Re:Text editing hates you too (2019) by alex_smart on Friday May 21, 2021 @07:51PM (#27241456)
> Plenty of swearing happens because the computer just won't respond or it's taking whole minutes

Of course, my point was that it is usually not beneficial to worry about performance until that happens. And when it does, improving the performance of the product becomes a project in its own right. Misbehaving parts of the software are diagnosed and fixed, usually by introducing even more complexity.

Re:Text editing hates you too (2019) by edoceo on Friday May 21, 2021 @07:36PM (#27241305)
Sounds like our companies and clients are very different. As for the feature/maintenance trade-off, a reasonable CBA will show the answer. I don't think it's quite as absolute as you've described.
Re:Text editing hates you too (2019) by p1necone on Friday May 21, 2021 @08:27PM (#27241847)
I think there's an unspoken implication that "complexity" refers to implementation complexity, not removing needed functionality.
Re:Text editing hates you too (2019) by notriddle on Friday May 21, 2021 @06:45PM (#27240892)
> More often than not a problem that looks simple and has insane complexity once you dig a bit deeper is based on some faulty assumptions.

Okay, I'll bite.

What are the faulty assumptions that cause text editing widgets to be so complicated?

Re:Text editing hates you too (2019) by maccard on Friday May 21, 2021 @09:36PM (#27242367)
The number 1 assumption is that all text will meet the format you're expecting it in. Be that an encoding (everyone in the US speaks English, but utf-8 is dangerously compatible with ASCII), or a character range (do we block input of certain characters?)

Presentatuon is huge too, How do we render a pasted newline into a single line block? Where do you put the cursor if someone pastes a block of Arabic text into your multiline input? What do you display if your font doesn't have the character they've copied and pasted from another source?

There's also just the basic stuff of "every keypress/chord equals a new character" - I have an app that I use every day that renders Ctrl + backspace rather than deleting the word?

Then there's input considerations; Macos uses alt for per-word navigation, windows uses Ctrl. Do you support the OS input type, or do you support a popular editor bindings (emacs) and how do you differentiate between an input to display and an input to take a navigation from? What about mobile? Most boards support input gestures, and autocomplete suggestions. How do you know to modify your current context over appending it to your input?

Finally, what about non-renderable input? If you're modifying a rich text string, how do you escape from a block, or how do insert between two separate blocks?

Re:Text editing hates you too (2019) by kayodelycaon on Friday May 21, 2021 @10:13PM (#27242643)
> utf-8 is dangerously compatible with ASCII

This. My name is Kayodé Lycaon. Note the é... how many places don’t support it? Some people consider names to be sacred and changing the spelling is more than a little offensive. Even UTF-8 can’t represent all characters in use. I believe there are Japanese names that can’t be represented by its character set.

I get it’s technically difficult but so many places treat people who are different as edge cases to be optimized away.

Re:Text editing hates you too (2019) by amake on Saturday May 22, 2021 @01:06AM (#27243677)
UTF-8 can represent any Unicode code point. If there is a character that it can’t represent, then that’s because that character is not encoded in Unicode; it has nothing to do with UTF-8 itself.
Re:Text editing hates you too (2019) by kayodelycaon on Saturday May 22, 2021 @10:04AM (#27246640)
Not being in Unicode is what I meant.
Re:Text editing hates you too (2019) by microtherion on Friday May 21, 2021 @11:06PM (#27243001)
One of the most ridiculous places to insist on ASCII recently was... the Unicode consortium: https://twitter.com/Laserhedvig/status/1395338394713079810
Re:Text editing hates you too (2019) by exporectomy on Friday May 21, 2021 @07:27PM (#27241231)
Perhaps the assumption by Unicode that we need emoji modifiers instead of just more emojis. All ~2000 valid combinations are enumerated anyway and many require different images so they're effectively different isolated characters.
Re:Text editing hates you too (2019) by madhadron on Friday May 21, 2021 @07:40PM (#27241355)
That text is a sequence that we edit by having a cursor into it as opposed to a specialized form of graphics, maybe? We've inherited the controls of a typewriter (which provided a very simple graphical model for a narrow range of languages), but maybe they aren't what we need?
Re:Text editing hates you too (2019) by 7373737373 on Friday May 21, 2021 @02:57PM (#27238372)
This seems to be the ideal occasion to show off my latest pet project: https://icebergcharts.com
Re:Text editing hates you too (2019) by LeifCarrotson on Friday May 21, 2021 @03:38PM (#27238893)
I appreciate that "making a ****ing iceberg chart" is at the bottom of the Hobbies iceberg :)
Re:Text editing hates you too (2019) by benboughton1 on Friday May 21, 2021 @05:40PM (#27240311)
For someone not overly ear to the ground culturally this is a rabbit hole. The Youtube one fascinates me. I've not heard of most but imagine there are hundreds of interesting stories behind every item. Interesting work and concept. Well done.
Re:Text editing hates you too (2019) by dhosek on Friday May 21, 2021 @10:32PM (#27242778)
I clicked on directors to discover that I've seen at least one film by almost all the directors in all the tiers (my omissions being Denis Villeneuve, Nicolas Winding Refn, Gaspar Noé, and Tom Six.

Over the course of my life and in my thirties especially, I've watched a lot of movies.

Re:Text editing hates you too (2019) by shard on Friday May 21, 2021 @06:39PM (#27240843)
Wasn't there a post or (most probably) a comment recently (within a month or so) with an iceberg chart? It looked very much like this site, but I can't find the right subject. Someone even commented that one of the best links in the chart was to a fictional story on the site itself. For the life of me I can't recall what the subject of the iceberg was, except that I think it was technology related, but I did spend several hours digging through all the links.
Re:Text editing hates you too (2019) by 7373737373 on Friday May 21, 2021 @06:40PM (#27240852)
Yep, that's where I got my inspiration (and some CSS) from, and I also link to it in the footer on my site: https://suricrasia.online/iceberg/ :)
Re:Text editing hates you too (2019) by shard on Friday May 21, 2021 @06:40PM (#27240851)
Ah, found it in search. It was this one:

The Cursed Computer Iceberg Meme

https://suricrasia.online/iceberg/

Re:Text editing hates you too (2019) by xjm on Saturday May 22, 2021 @06:45PM (#27250925)
Your iceberg should lay on its side but then the layout would look weird :(

https://gizmodo.com/youre-drawing-icebergs-all-wrong-1846329... https://joshdata.me/iceberger.html

Re:Text editing hates you too (2019) by noofen on Friday May 21, 2021 @04:36PM (#27239633)
This is fantastic. My only wish is to be able to export them as a PNG... maybe add a small watermark so people can find you.
Re:Text editing hates you too (2019) by SavantIdiot on Friday May 21, 2021 @05:02PM (#27239929)
See! Irony at work: it wasn't good enough for you so you wanted a feature. That's where it all starts. I'm not dissing you, I'm pointing out how innocuous feature creep can be.
Re:Text editing hates you too (2019) by 7373737373 on Friday May 21, 2021 @04:41PM (#27239697)
If you scroll down there is "Download as Image" :)

I'll try to create an unobtrusive watermark

Re:Text editing hates you too (2019) by noofen on Friday May 21, 2021 @05:14PM (#27240054)
Oh, I see. Perfect!
Re:Text editing hates you too (2019) by jkrubin on Saturday May 22, 2021 @01:28AM (#27243773)
This is brilliant

Ps: I just sent this to everyone I know.

Re:Text editing hates you too (2019) by cocoa19 on Friday May 21, 2021 @05:11PM (#27240025)
Pretty cool. It would be nice to have one entry for computer science.
Re:Text editing hates you too (2019) by 7373737373 on Friday May 21, 2021 @05:20PM (#27240109)
Yeah, the Ultimate Minecraft Iceberg was already pretty surprising to me, I hope more subject matter experts will contribute
Re:Text editing hates you too (2019) by yourapostasy on Friday May 21, 2021 @10:18PM (#27242685)
I call this fractal requirements.

It most commonly afflicts organizations with management that insists upon KISS interactions from their direct reports, but then micromanages the details when the going gets tough (scrutiny from higher layers). Some of the more common phrases you will hear in these interactions is, "I don't understand why this has to be so complex", or "Give me the 50 thousand meter/foot summary". They elevate their mental model of the domain to a level where they cannot resolve the granular details.

Analogous to the lack of optical resolution of any telescopes (including Hubble) we have to see the American flag on the moon [1]. You need a very massive bandwidth (the telescope diameter) to resolve those details, but then you trade off for increased processing time (analogy breaks down here).

Surprised Pikachu when they drill down, and the requirements explode in complexity. With most successful, highly-refined systems, it isn't the primary requirement that should be the focus of planning (Microsoft Word is just a text editor, how hard can it be!?). It is all of the 1% of features 1% of the market/stakeholders want that deliver 80% of the value proposition of the system to them. Stacked together, all those "corner cases" add up the value of the overall system, and add up the complexity. It isn't just a heap of features binned together; the team has to make sense of how it all fits together.

[1] http://curious.astro.cornell.edu/about-us/45-our-solar-syste...

Re:Text editing hates you too (2019) by dmitrygr on Saturday May 22, 2021 @12:30AM (#27243485)
In college we had a professor in software engineering class who had this wonderful saying: "no matter how complex a problem looks, if you look at it just right, you will see that it is in fact even more complex."

It took years of working as a software engineer to begin to appreciate just how deep that is.

Re:Text editing hates you too (2019) by cgriswald on Friday May 21, 2021 @06:10PM (#27240604)
I think there's some context that matters. I often don't need the full functionality of übertool and can implement the functionality easily because I don't have to worry about 90% of use cases with their associated edge cases. It's dead simple to keep toilet paper stocked in my house. But I would not use the method I use for my house to run inventory for a grocery store chain.
Re:Text editing hates you too (2019) by shard on Friday May 21, 2021 @06:27PM (#27240757)
That's exactly the point. The "how hard can this be" comments are often applying an individual use case, where corner cases can be ignored or worked around, to an enterprise situation, where corner cases may hit some legal constraints (e.g. accessibility) or may no longer be corner cases once in enterprise-scale (e.g. multiple languages / currencies / time zones).
Re:Text editing hates you too (2019) by tonyedgecombe on Friday May 21, 2021 @04:23PM (#27239435)
Strings, dates, floating point, even true and false are messy in some languages.
Re:Text editing hates you too (2019) by slver on Friday May 21, 2021 @03:43PM (#27238961)
Things are as hard as we allow them to be. You know, fixed width ascii terminals in text mode sure were much easier in the 80s
Re:Text editing hates you too (2019) by crazygringo on Friday May 21, 2021 @03:48PM (#27239019)
No, things are as hard as they need to be.

Fixed-width ASCII terminals didn't work for virtually anyone except English-speaking users.

Turns out the entire world needs to use computers.

That's a "need". Not "allowing".

Re:Text editing hates you too (2019) by slver on Friday May 21, 2021 @04:09PM (#27239254)
It depends how big you think. Dealing with status quo, things like text direction are necessary complication.

But at a higher scale it’s purely incidental complexity: you only need one direction for all languages. All languages are linear. No language uses direction to encode meaning. Direction in language is just “stuff starts one place and ends in another”.

Balkanization of the encodings is not a good thing. Imagine if every city had a different color for a traffic stop light. Why not? Maybe it’s a matter of cultural pride. What if every country had its own network protocols? Imagine what a nightmare internet would be.

But thankfully we had common sense in few cases. In many others we don’t.

And Unicode is full of incidental complexity itself. Did we really need skin color emoji. Who is yellow here? Anyone being brightly yellow perchance? No. We had the perfect abstract color for emojis.

But now we have to deal with this shit.

Re:Text editing hates you too (2019) by zaptheimpaler on Friday May 21, 2021 @04:16PM (#27239342)
?srekaeps hsilgne-non lla rof sdrawkcab txet lla ekam ot si noitulos ruoy oS
Re:Text editing hates you too (2019) by bombcar on Friday May 21, 2021 @04:27PM (#27239500)
It's not the last time major portions of the world fundamentally changed how they did things to align with the major powers at the time.

Even WITH all the Unicode support that currently exists in the computing world I don't know of a single computer language that isn't based on English in ASCII. I guess you could count APL there (or perl!).

Re:Text editing hates you too (2019) by slver on Friday May 21, 2021 @04:32PM (#27239575)
Imagine if Europe was pre-metric system today. Merely proposing unification I'd be instantly downvoted, and called a bigotted racist who doesn't respect the cultural heritage of every nation.

Unfortunately those are the times right now. We, the most adaptable and intelligent species on the planet, have become used to bragging about not having to adapt or know a lot. We sure do have really strong opinions about everything, though.

Re:Text editing hates you too (2019) by bombcar on Friday May 21, 2021 @04:38PM (#27239653)
I think that's the dividing line - each person decides if it's worth it to learn something new. For example, some people love foreign media so much that they trade fansubs of said media or even learn the language so they can watch.

Someone who wants to program computers will most likely learn functional English, just because of how much content on that subject is in English (the "lingua franca" of computers).

But someone in Mongolia who wants to text his mom has no inclination to learn a whole new language just to handle the limitations of ASCII. And if you want to sell him a phone you'll meet him where he is.

(This doesn't even begin to touch the "it's not fair" aspect that people like to point at.)

Re:Text editing hates you too (2019) by slver on Friday May 21, 2021 @05:08PM (#27239983)
You PoV is understandable, but still do you believe the ongoing long-term pain of this fragmentation is LESS than the short-term pain of unifying?

This is why I mentioned the metric system, and what not. Every time throughout history when we decided to unify, the advantages VASTLY, and I mean VASTLY have outweighed the short-term drawbacks.

In fact I'd say, one of the biggest test for us as species is that we can fully understand, internalize and implement this concept. Because we always reach for the short term. Short term profits over long-term strategy in the enterprise. Short term economy benefits over long-term climate impact. And so on and so on.

Someone in Mongolia won't have to switch overnight. Someone in Mongolia may gain the option to have it both ways until they're used to it, and eventually there will be unification. That's basic change management.

Change management is a necessary art to survive and to thrive.

Re:Text editing hates you too (2019) by crazygringo on Friday May 21, 2021 @11:09PM (#27243021)
> the advantages VASTLY, and I mean VASTLY have outweighed the short-term drawbacks.

Except you're not even including the value of diversity in your argument.

"Unity" also leads to groupthink and monocultures which are less resistant to new challenges. Unity comes with costs you're ignoring.

Languages aren't just an encoding, but an entire paradigm of thinking. Eradicating linguistic differences eradicates entire perspectives.

Languages aren't just measuring systems. Culture is embedded in them too.

Re:Text editing hates you too (2019) by slver on Saturday May 22, 2021 @05:03AM (#27244843)
Languages aren’t paradigms of thinking. We borrow phrases and concept from each other at a higher level, they’re basically identical, unless you’re isolated on an island and don’t interact with anyone.

For proof, look up the etymology of a random set of words. They come from all over the world.

This is literally pride over encodings. It’s superficial, petty, and ignorance makes it seem profound and important.

Re:Text editing hates you too (2019) by crazygringo on Saturday May 22, 2021 @09:57AM (#27246579)
You should study linguistics. Your're flat-out incorrect.

I speak two languages fluently and they really are two different modes of thinking. That's why translation is an art, not a science, and for literary stuff it's quite difficult.

Re:Text editing hates you too (2019) by oblio on Saturday May 22, 2021 @02:27AM (#27244058)
You do know that the bastion of computerhood, the US, is mostly non metric?
Re:Text editing hates you too (2019) by KineticLensman on Friday May 21, 2021 @04:52PM (#27239823)
> I don't know of a single computer language that isn't based on English in ASCII

https://en.wikipedia.org/wiki/Non-English-based_programming_...

Re:Text editing hates you too (2019) by dijit on Friday May 21, 2021 @05:12PM (#27240037)
I think if you’re reaching for _brainfuck_ as one of the solutions for the prevalence of English in programming; then you’ve probably failed.

A few of the languages on the list are designed precisely to be unreadable.

Re:Text editing hates you too (2019) by tobr on Saturday May 22, 2021 @05:38AM (#27244999)
I think if you click a link which points to a very detailed list of programming languages based on non-English languages, then decide to take an example from a different list and suggest that’s what OP was “reaching for”; then you’ve probably failed.
Re:Text editing hates you too (2019) by KineticLensman on Friday May 21, 2021 @05:23PM (#27240133)
my link contains programming languages based on Arabic, Chinese, etc, not just unreadable esolangs
Re:Text editing hates you too (2019) by slver on Friday May 21, 2021 @07:00PM (#27241006)
Let’s face it. Your link defeats your own point.
Re:Text editing hates you too (2019) by recursive on Friday May 21, 2021 @07:56PM (#27241522)
Independent third party here. I don't think it does, and as such, don't think it would really be appropriate to face it.
Re:Text editing hates you too (2019) by exporectomy on Friday May 21, 2021 @08:28PM (#27241859)
Can you honestly say you know of AxumLight / Geez#, Al-Khawarizm, Jeem or anything at all that's based on another human language? These are mostly obscure.
Re:Text editing hates you too (2019) by SSLy on Sunday May 23, 2021 @08:17AM (#27254494)
I've used AC-Logo in middle school.
Re:Text editing hates you too (2019) by trnglina on Friday May 21, 2021 @07:34PM (#27241293)
Sure, but not all people who use computers are programmers, and programmers make up a small minority of computer users. Much of the value in computers come from augmenting other workloads. There are no shortage of people composing e-mails and documents, or consuming content, in non-English languages. Probably more than there are fluent English users.
Re:Text editing hates you too (2019) by account42 on Tuesday May 25, 2021 @08:38AM (#27276088)
I was not aware that english is the only left-to-right language.
Re:Text editing hates you too (2019) by slver on Friday May 21, 2021 @04:25PM (#27239482)
> ?srekaeps hsilgne-non lla rof sdrawkcab txet lla ekam ot si noitulos ruoy oS

So you just said all non-English speakers use right-to-left? No, the direction isn't what's confusing me, rather the fact you're trying to score a cheap outrage comment, but actually wrote non-sense no matter which direction you read it.

How about maybe educate yourself a little, and rephrase your question to reflect reality, and we can have an intelligent conversation about it.

Most of the world uses left-to-right and top-down (yes look around when you go out and notice all the vertical logotypes in English around the city). Right-to-left is relative minority. If you have democratic thinking and we gotta vote for it, the winner is obvious. Yet, I'd rather learn to read fluently English in right-to-left than the current mish-mash of "whatever".

Also read about Korean. It was a top-down right-left language, today it's written left-right. People are surprisingly adaptive, you know, it's supposedly our top advantage as a species. No one is born with "right-to-left" grafted in their DNA. We honestly gotta tone down the ignorance in these discussions.

My native language isn't English, by the way. And I don't mind adapting.

Re:Text editing hates you too (2019) by zaptheimpaler on Friday May 21, 2021 @06:36PM (#27240827)
Okay, well sorry I was being snarky, so let me try to be a bit more serious.

You are proposing that we teach millions-billions of people a new way to write, rather than teach a few hundred thousand at most how to write computer programs that accommodate existing ways of writing.

Like maybe you underestimate how genuinely ridiculously hard of a problem it is to get billions of people to do anything! It would take literal decades of work by multiple governments and unimaginable amounts of money! Getting 10 people to agree on a favorite programming language is hard enough. Teaching a city full of kids a new way to multiply numbers takes 1000s of hours of prep, planning, syllabus development etc. by teachers. Just imagine how much harder this is.

Certainly I can see how nice it would be if the whole world used the same date format, same language, same metric system etc.

But from a practical point of view, making systems to accommodate the way people do things is 1000s of times cheaper and easier than getting them all to change.

Re:Text editing hates you too (2019) by crazygringo on Friday May 21, 2021 @04:36PM (#27239636)
I'm not who you're responding to, and obviously the commenter should have said "some" non-English speakers rather than "all".

But the main point is still obvious and true: how would you like it if another country was a dominant technological power and we all had to re-learn to read and write English backwards precisely like that to use computers?

No need to get snarky about it. Comments like "maybe educate yourself a little" are against HN guidelines. [1]

Also, Korean is different because the characters represent entire syllables, so legibility isn't impaired as much by direction. CJK scripts have historically been flexible in direction in a way that Latin scripts never have been.

[1] https://news.ycombinator.com/newsguidelines.html

Re:Text editing hates you too (2019) by slver on Friday May 21, 2021 @04:42PM (#27239706)
> how would you like it if another country was a dominant technological power and we all had to re-learn to read and write English backwards precisely like that to use computers?

I'd actually like it.

You know, thanks to this we have Murican Internet that's the same stack everywhere. How would YOU like it if "Internet" was just your country?

We gotta disentangle this obsession with encodings as some kind of national cause for pride. Encodings are INCIDENTAL. Encodings are LEARNED. You weren't born reading right-to-left or left-to-right and you can switch both in surprisingly short amount of time, if you bothered.

Re:Text editing hates you too (2019) by crazygringo on Friday May 21, 2021 @04:54PM (#27239836)
Pride doesn't even matter here. It's simple economics.

It's far less effort and cost for developers to accomodate the world's existing scripts, than it is for the vast majority of the world's population to re-learn how to read and write a new script.

By orders of magnitude.

And obviously, it's not just direction that differs from English but a whole host of other aspects as well.

Re:Text editing hates you too (2019) by brulard on Friday May 21, 2021 @05:09PM (#27239996)
I see it the other way. It would be actually orders of magnitude less effort for the rest of the world to learn one standard system/language than to have every app/product/document adapted to every single language/script/whatever in existence
Re:Text editing hates you too (2019) by crazygringo on Friday May 21, 2021 @05:38PM (#27240289)
That's just factually untrue.

The percentage of the world population involved in script adaptation and language translation is really quite tiny. Consumers vastly, vastly, vastly outnumber producers.

Not to mention that we have things like automated translation that are "good enough" for many cases as well.

Whereas learning a new language to fluency, for most adults, takes about ten years.

Re:Text editing hates you too (2019) by cutemonster on Saturday May 22, 2021 @09:41AM (#27246448)
Or takes forever, for some older/middle aged people, living in their own a bit isolated communities where there's no need to learn the new language
Re:Text editing hates you too (2019) by antris on Friday May 21, 2021 @06:16PM (#27240651)
>the rest of the world to learn one standard system/language than to have every app/product/document adapted to every single language/script/whatever in existence

But they don't. That's precisely why the text input handling is so difficult, because it has to solve it for all apps. How many apps have you worked on that has had to create their own text input system from scratch? I think for most developers that's zero.

Like the article said in the end:

>The necessary complexity here is immense, and this post only scratches the very surface of it. If anything, it's a miracle of the simplicity of modern programming that we're able to just slap down a <textarea> on a web page and instantly provide a text input for every internet user around the globe.

Re:Text editing hates you too (2019) by shard on Friday May 21, 2021 @07:11PM (#27241088)
There is an issue with that just like with programming languages. Do we want to standardize on one programming language for all use cases? Because they have different expressiveness and core concepts, not all programming languages are the best fit for all situations (consider assembly versus TensorFlow). Similarly, different human languages have different core concepts, and express them differently (for example, English has a stronger emphasis on time branches, with all the different tenses, while Korean has a stronger emphasis on relations, with all the very specific words for different members of the family and politeness levels). If they are replaced with one language, that expressiveness would be lost.
Re:Text editing hates you too (2019) by slver on Friday May 21, 2021 @05:20PM (#27240105)
> It's far less effort and cost for developers to accomodate the world's existing scripts, than it is for the vast majority of the world's population to re-learn how to read and write a new script.

That's the short-term analysis. But this is not a short-term impact change. And in the long-term, things turn around.

If as a species, we can't think long-term, we're basically doomed.

Re:Text editing hates you too (2019) by recursive on Friday May 21, 2021 @07:58PM (#27241537)
Even though we're basically doomed, we can still do a lot of cool and fun things at the moment though.
Re:Text editing hates you too (2019) by account42 on Tuesday May 25, 2021 @08:36AM (#27276071)
> But at a higher scale it’s purely incidental complexity: you only need one direction for all languages. All languages are linear. No language uses direction to encode meaning. Direction in language is just “stuff starts one place and ends in another”.

I think an interesting example here is Chinese which is traditionally written top-down-right-left but these days is just as if not more commonly written left-right-top-down. There seems to be almost no push for supporting vertical text while its just assumed that RTL is a must, why is that?

Re:Text editing hates you too (2019) by GekkePrutser on Saturday May 22, 2021 @12:17AM (#27243397)
I'm not a native English speaker and have always used computers in English. Early computers simply didn't come with language options and still people were able to use them. In fact I find the localized Windows versions odd and contrived.
Re:Text editing hates you too (2019) by oblio on Friday May 21, 2021 @03:46PM (#27239006)
And then we discovered that not only English speakers want to use PCs.
Re:Text editing hates you too (2019) by pjc50 on Friday May 21, 2021 @04:37PM (#27239647)
Not even just non English speakers, we in en-gb land had enough trouble getting £ to work 100% of the time, which was kind of a basic requirement for business use.
Re:Text editing hates you too (2019) by account42 on Tuesday May 25, 2021 @08:49AM (#27276161)
It's not a basic requirment, just convenient. In the absence of £, GBP works nearly as well.
Re:Text editing hates you too (2019) by geenew on Friday May 21, 2021 @04:06PM (#27239232)
Didn’t extended ASCII cover that and make text terminals usable with non-English character sets? Genuinely curious.
Re:Text editing hates you too (2019) by qsort on Friday May 21, 2021 @04:33PM (#27239590)
Extended ASCII was actually several different and incompatible encoding, "codepages". It was kind of a solution, but there were major issues that made it much worse than Unicode/utf8:

- Asian languages needed special encodings, 256 characters weren't sufficient.

- It was impossible to work with different languages in the same document, each codepage only covered some character/alphabet.

- There was no 'safe subset': Unicode codepoints 0-127 are exactly ASCII, which means that ASCII is compliant utf8. The same wasn't true at the time.

Re:Text editing hates you too (2019) by skrebbel on Friday May 21, 2021 @04:15PM (#27239330)
How would you use extended-ascii to write Arabic?
Re:Text editing hates you too (2019) by superjan on Friday May 21, 2021 @04:46PM (#27239760)
The following was actually used:

https://www.charset.org/charsets/iso-8859-6

There’s no single byte encoding for Chinese, Japanese, or Korean though.

Re:Text editing hates you too (2019) by enqk on Friday May 21, 2021 @05:21PM (#27240114)
In practice, young folks write arabic with roman script when they chat. (with numbers to supplement the missing letters)
Re:Text editing hates you too (2019) by tonyedgecombe on Friday May 21, 2021 @04:26PM (#27239488)
Only if you didn't leave the US. Over in Europe (and I assume Asia) it was a constant source of problems.
Re:Text editing hates you too (2019) by GekkePrutser on Saturday May 22, 2021 @12:23AM (#27243434)
I thought it was fine really. It forced us to drop some of the quirkier characters sooner. Nobody in the Netherlands uses things like the paragraph sign anymore, or the 'ij' glyph. And accents on words are now pretty much optional.