News for hackers. Stuff that matters.
Re:Help! Is This Arabic? by SamBam on Sunday February 26, 2023 @10:20PM (#34952549)
I actually thought that part was perfectly clear.

> In general, the letter combination ال should be common.

So if your text has more than a few words, you should be able to look though your text and see that somewhere.

I can't read Arabic but I can recognize that pattern. I went to https://www.bbc.com/arabic and could find numerous occurrences.

It's a bit like saying "if you have a paragraph in 'English' and it has no e's in it, it's probably not English."

Re:Help! Is This Arabic? by ramin_hal9001 on Sunday February 26, 2023 @10:51PM (#34952738)
> It's a bit like saying "if you have a paragraph in 'English' and it has no e's in it, it's probably not English."

This is true. You should also be able to see the word "the" in several places in English text, and if it is rendered as "ehT" or something like that, the ligature code may have a bug -- similar with reversing the ال (read as "al") pattern.

> I can't read Arabic but I can recognize that pattern. I went to https://www.bbc.com/arabic and could find numerous occurrences.

Really? I only ever learned to read just enough Arabic to read parts of the Quor'an and am by no means fluent, but I couldn't see any mistakes on that website myself.

Re:Help! Is This Arabic? by Nition on Sunday February 26, 2023 @10:56PM (#34952772)
The comment was that they found numerous cases of ال, not ل ا.
Re:Help! Is This Arabic? by fortran77 on Sunday February 26, 2023 @11:58PM (#34953156)
> It's a bit like saying "if you have a paragraph in 'English' and it has no e's in it, it's probably not English."

For the exception, see

see https://en.wikipedia.org/wiki/Gadsby_(novel)

Re:Help! Is This Arabic? by quickthrower2 on Monday February 27, 2023 @04:40AM (#34954610)
Wow, having read the example prose, it is quite an interesting sounding book.
Re:Help! Is This Arabic? by ehecatl42 on Tuesday February 28, 2023 @01:10AM (#34966229)
https://en.wikipedia.org/wiki/Ella_Minnow_Pea is a riot of a read. Starts with a full complement of letters and drops one letter chapter by chapter.
Re:Help! Is This Arabic? by quickthrower2 on Monday February 27, 2023 @01:44AM (#34953770)
A group of flying kookaburras flap about a body of liquid. In this group, individuals distinguish from distinct sorts. Small, big, colorful or plain, all flap wings as a way to maintain afloat. It's a sight to watch as this group zips, zooms, and turns all around. It's a natural habitat for this flying squad, and you can find it in many spots around our world. This group adds to our natural world's charm and, through its distinct traits, brings a lot of joy to many.
Re:Help! Is This Arabic? by adaml_623 on Monday February 27, 2023 @02:50AM (#34954064)
Great example because if that text is on your corporate website then someone upstream is not doing their job

Edit: obviously it is English but it's definitely not correct for a company website.

Re:Help! Is This Arabic? by quickthrower2 on Monday February 27, 2023 @04:37AM (#34954591)
Hey, you now want corporate website standard English with no Es? Talk about scope creep!
Re:Help! Is This Arabic? by mcv on Monday February 27, 2023 @04:38AM (#34954597)
But it may be totally correct for a website about kookaburras.

There's more than just corporate websites, and frankly, if a company of any meaningful size offers content in Arabic, I'd expect them to hire someone for that. Even part-time or freelance.

Re:Help! Is This Arabic? by thaumasiotes on Monday February 27, 2023 @07:18AM (#34955563)
> But it may be totally correct for a website about kookaburras.

It isn't; "to maintain afloat" is not grammatical.

You could replace that with "stay afloat" and it would fix the grammatical error without introducing an E.

There's a similar unforced error in referring to a "group" of kookaburras rather than a "flock".

"Individuals distinguish from distinct sorts" is gibberish. I cannot tell what it's supposed to mean.

"All flap wings as a way to [stay] afloat" is, at best, very awkward; fluent English would require "flap their wings", but that would introduce an E.

"Flapping about a body of liquid" is a very odd thing to say unless the body of liquid happens to be suspended in midair, since midair is the only location where you can find birds flapping.

Re:Help! Is This Arabic? by darkwater on Monday February 27, 2023 @03:52AM (#34954379)
Now, find anothEr 20% of commEnts hErE that follow the samE rulE as yours.
Re:Help! Is This Arabic? by Oxidation on Monday February 27, 2023 @06:39AM (#34955289)
Ah yes, the good old "your heuristic doesn't work on my carefully constructed pathological case" observation, wouldn't be the Internet without that.

GP also said "probably". That's how heuristics work.

Re:Help! Is This Arabic? by quickthrower2 on Monday February 27, 2023 @07:01AM (#34955421)
You would almost think what you described was our profession :-)
Re:Help! Is This Arabic? by Oxidation on Monday February 27, 2023 @08:52AM (#34956383)
Wait, you get paid for Internet snark?
Re:Help! Is This Arabic? by quickthrower2 on Monday February 27, 2023 @05:16PM (#34962742)
> your heuristic doesn't work on my carefully constructed pathological case

This is a bit like writing unit tests, debugging code, and so on.

Re:Help! Is This Arabic? by Oxidation on Monday February 27, 2023 @06:20PM (#34963451)
It's a heuristic (claims to be probably helpful). You might as well complain that checking string size first as part of an equality check of strings that demonstrably have a very large distribution of sizes is obviously dumb because obviously you can construct same-length strings at will. Breaking rules of thumb is the easiest thing in the world.
Re:Help! Is This Arabic? by inkcapmushroom on Monday February 27, 2023 @09:37AM (#34956901)
The 'e' is in your username. :)
Re:Help! Is This Arabic? by BoiledCabbage on Monday February 27, 2023 @02:53AM (#34954081)
> In general, the letter combination ال should be common.

It was a really smart way of saying you don't need to know anything at all to pattern match on this a spot a very common problem.

Also, if you haven't checked out the youtube video on that page I highly recommend it. It gives a great concise summary of the issue, and it's impressive how much I was able to learn to visually parse Arabic script with only a couple of mins into the video.

[1] - https://youtu.be/X1ynZm1wI18?t=65

Re:Help! Is This Arabic? by roenxi on Monday February 27, 2023 @06:16AM (#34955162)
The article even links to a site where you can practice: https://notarabic.com/

Thanks to this training, I can now identify that numerous Arabic strings on that site are backwards. He wasn't joking, IJ is everywhere.