Live data from Hacker News

Italian Ruby

github.com

161–170 of 178 posts

Re: Italian Ruby

#162

There's this absolutely mind bending idea that is - every single function should have a unique identifier. Which is to say: def square(x: Int): Int = x * x should get hashed (and if it has dependencies, they should get hashed in there, too), and your programming language should track the unique identity of this function, and keep a list of names separately from the hashes. This totally solves the localization problem…

even better make the hash a rolling locality sensitive hash based on the input to the function to find similar functions, etc.

Re: Italian Ruby

#163

Earlier quoted context omitted.

That's not actually true tho. Chinese Mandarin has ~ the same number of speakers as all English speakers, it's just your Englo-centric bias that makes you see the world in your skewed way, where English is the center of everything, which is exactly what I'm railing against (in English no less)! It does have international currency, but that's blurrier than you might think. French and Arabic both have enormous regional…

> where English is the center of everything, which is exactly what I'm railing against (in English no less)! Nah. English isn't the center of everything, but it's already in lots of places, and that momentum is hard to stop. > Chinese Mandarin has ~ the same number of speakers as all English speakers I said non-native speakers. Look at the distribution too. Outside of China/HK/Taiwan, the number of people who are pro…

Wow, girl, you're really desperate to prove this. I'm sorry I didn't mean to upset you I was just contradicting you, I know that must be hard. So... you're in realityland and I'm in fantasy land, right? Okay, I got it. You have a nice day :)

You might wanna get out of your English centric bubble tho. See the world. Travel.... big world out there, plenty of room for different ideas, experiences and languages.

Then, you'll have some experience to back up your Wikipedia facts. ¯\_( ツ)_/¯ I don't know, could work, right? hehe :) ;p xx

Re: Italian Ruby

#164

There's this absolutely mind bending idea that is - every single function should have a unique identifier. Which is to say: def square(x: Int): Int = x * x should get hashed (and if it has dependencies, they should get hashed in there, too), and your programming language should track the unique identity of this function, and keep a list of names separately from the hashes. This totally solves the localization problem…

Yes, appshare.co stores code as a hash as well. We were inspired by Unison so full credit goes to them

Re: Italian Ruby

#165
post #7

ah, this reminds me of how much JOY I am having using my localized Microsoft Excel. All formulas have been translated to my native language and it's just BLISS to work with. This makes it MUCH easier to search the interweb for my specific formula question. We obviously need much more localization. Particularily in error messages.

I encourage you to remove the sarcasm from your post and look at what's left. You probably wouldn't have even posted it. Let's ween off sarcasm.

Good luck starting that in a post about Italian.

Re: Italian Ruby

#167

Earlier quoted context omitted.

“Accessor” is an English word. Sure, it originates in computing, but that doesn't make it any less part of the language.

I'll rephrase, Your Honor: Even in English, "accessor" is a word that was rarely, if ever, used, before it was picked up in the programming languages jargon. So much that it has not made its way into some dictionaries, like Cambridge and Merriam-Webster.

Checking the Oxford English Dictionary (2nd Ed.), they have accessor only as a form of accessory (as a noun). So yeah, the programming use is "new".

fwiw, they have "default", in the computing sense of the preselected option, from 1966, while "by default" (in a legal context) has an example from 1764, "Where a defendant makes default, judgement shall be had against him by default."

Re: Italian Ruby

#168
post #148

Earlier quoted context omitted.

It's not a coincidence, the A in ASCII stands for American.

Sure, but just the fact that roman characters with no accents (or just a few), plus all of the punctuation, fits in a 7 or 8 bit key space.

And even 5 bits was enough for a long time, across a few European languages: https://en.wikipedia.org/wiki/Baudot_code (which I just learned is also where "baud" comes from!)

Re: Italian Ruby

#169
post #131

Earlier quoted context omitted.

> I dread every time I see Chinese in a codebase (simply because they are a large enough market to split the dev community) They aren't going to split it, the rest of us will adapt. English was arbitrary, so was French and Latin and Greek before it. Probably in the form of some Romaji-like equivalent (ideograms are too high a bar) but we will start to adopt it. The largest economy dictates the lingua franca because t…

It's a pretty amazing coincidence how it just so happens that English is (one of) the most convenient languages to encode into bytes.

Is it more convenient than any other phonetic script? I just happened that ASCII was based on English and became the standard.

Re: Italian Ruby

#170
Love the idea. There is something about using the language I associate with Calcio, Art, Moda, Renesanse, Culinary experience that goes well with programming. That being said and someone pointed out italian has a lot of synonyms and double (close) meanings but then again so does English. According to some study, German is the most precise language. Since I recon not many people would like to write their algorithms in German, the next best neutral(ish) language with high precision is Latin! It is still taught in many schools with classical education and most of European languages are based on it.
Post reply on HN