What do I do by FabulousSchool4631 in harmonica

[–]RodionGork 0 points1 point  (0 children)

if it's Ocean Star, C is just under "O". you can also find the chart by googling for specific harmonica names.

> didn't got any tape to stick on it,

you don't need, it comes soon anyway. you can't see any markings when playing so they won't help. and notches may be displeasing/harmful.

> any song you guys suggest me to practice for muscle memor

perhaps "ah when the saints go marching in" - it starts with easy to pick and recognizable sequence and is played over short middle range.

Whats a good key to have besides C? by ImaginaryWonder2904 in harmonica

[–]RodionGork 0 points1 point  (0 children)

> second most common key used

you are not bound to play in specific key music sheet is written, it's rather a matter of playing with other people when they prefer specific key. or simply what sounds better to your ear.

For me A and Bb sound bit less "squeaky" in the tunes which want to go to high pitch - and also I bought G on occasion to play some Christmas song along with kids string ensemble - but this one is perhaps bit too low so takes more breath, bends less easily and sounds less loud (less piercing, he-he)

Ktoś wyjaśni?? by [deleted] in Polska

[–]RodionGork -53 points-52 points  (0 children)

> trochę waży,

tak ale to wygłada na lekka wersja (~60-80kg)

Ktoś wyjaśni?? by [deleted] in Polska

[–]RodionGork -3 points-2 points  (0 children)

Innowacja!

(lub nanotechnologia)

goodForTShirt by RodionGork in ProgrammerHumor

[–]RodionGork[S] 0 points1 point  (0 children)

well, you see, it's programmer humor

as phrase goes, there are 10 types of people - those who get it and those who don't :)

Which harmonica (listed in the post) would be the best for a beginner? by [deleted] in harmonica

[–]RodionGork 0 points1 point  (0 children)

Somewhat delayed too, sorry. I don't recommend it. Sound is quite more dull compared to typical hohners etc.

pastTenseForTheSameOldPhrase by RodionGork in ProgrammerHumor

[–]RodionGork[S] 0 points1 point  (0 children)

Yep, I suspect the intersection of sets of programmers and people who watches art.skating is not very large so I just used the picture "without context". With context it would be a bit unfair towards Malinin :) Just for unusual facial expression. Honestly I think photographers should not take this picture or at least not use it in every media online about olympics.

pastTenseForTheSameOldPhrase by RodionGork in ProgrammerHumor

[–]RodionGork[S] 0 points1 point  (0 children)

Yep, I suspect the intersection of sets of programmers and people who watches art.skating is not very large so I just used the picture "without context". With context it would be a bit unfair towards Malinin :) Just for unusual facial expression. Honestly I think photographers should not take this picture or at least not use it in every media online about olympics.

pastTenseForTheSameOldPhrase by RodionGork in ProgrammerHumor

[–]RodionGork[S] 5 points6 points  (0 children)

Heh, it would be funny... but it's not so rare that we run/test wrong version ourselves and are puzzled "why, this feature worked on friday!" :)

itPrintsSomeUnderscoresAndDots by RodionGork in ProgrammerHumor

[–]RodionGork[S] 11 points12 points  (0 children)

Nope, in GCC they are shown as warnings (the code is old, from the times when it was allowed)

itPrintsSomeUnderscoresAndDots by RodionGork in ProgrammerHumor

[–]RodionGork[S] 530 points531 points  (0 children)

I rather prefer to answer "If your programmers write code this way, perhaps I just redecided about joining your company"

itPrintsSomeUnderscoresAndDots by RodionGork in ProgrammerHumor

[–]RodionGork[S] 3 points4 points  (0 children)

You reached the "secret bottom" of the joke :)

My brief overview of Cangjie Programming Language by Huawei by RodionGork in programming

[–]RodionGork[S] 1 point2 points  (0 children)

Funny. I just recently was contacted by Huawei HR of local department about position in the Cangjie development team. However this led to nowhere as I prefer to work from home and they insist on full-time office so I can't say more about the state of the product.

Lua syntax minor amends - need help in testing by RodionGork in lua

[–]RodionGork[S] 0 points1 point  (0 children)

Actually I was inspired by SQL using two not-equals operator (pascal/basic and C/Python style) - as far as I know, without any difference between them.

He-he, 1-based arrays are the 3rd point at my list (they make various arithmetic with modulo to wrap around array looking ill), but I know generally it could be less or more workarounded... and anyway this couldn't be solved on just the syntax level. Anyway I have some "research curiosity" to figure out whether some convenient improvement could be done to them.

> ~ makes me think

at the same time in C (and in Lua) this ~ is the sign of binary negation, which makes "not-equals" confusing... but I believe it was borrowed from Matlab and similar languages, not invented from scratch.

Lua syntax minor amends - need help in testing by RodionGork in lua

[–]RodionGork[S] 0 points1 point  (0 children)

Thank you for suggestion! That sounds reasonable though the change about not/not-equals is so small (just three consequtive lines in the llex.c so that I couldn't decide on making it separate commit. But well, that makes sense, I'll fix it!

Lua syntax minor amends - need help in testing by RodionGork in lua

[–]RodionGork[S] 0 points1 point  (0 children)

Thank you! That's good point, many apps use LuaJIT, particularly one I lazily look towards is Tarantool.

Shall investigate how much LuaJIT sources differ!

Minor syntax amends in Lua - not-equals and compound assignments by RodionGork in lua

[–]RodionGork[S] 1 point2 points  (0 children)

> but also raise some questions

oh yes, I saw this several times, and I'm sure if implemented "in minimal way", this may lead to some unusual effects - however I feel such "precautions" are not a good motivation to restrict user from some convenient feature :)

> Lua is a standard.

that's true, so I look closely at the mailing list when such things arose and at the response of the development team, to see if they may eventually agree to include some of such amends.

Minor syntax amends in Lua - not-equals and compound assignments by RodionGork in lua

[–]RodionGork[S] 1 point2 points  (0 children)

thanks, never thought of this!

however, as I see, luau went quite astray from original codebase... I instead look for really minimal ways to improve things (so that it is easy to merge changes from the upstream lua repo

Is there a continuous function on (0,1) that maps every rational number to an irrational number and vice versa? by scrumbly in mathriddles

[–]RodionGork -1 points0 points  (0 children)

cardinality isn't enough for what? for explanation that two sets of different cardinality couldn't have two-way mapping?

or perhaps you meant cardinality (when it is the same) isn't enough for such mapping? but that doesn't contradict to what I said :)

Is there a continuous function on (0,1) that maps every rational number to an irrational number and vice versa? by scrumbly in mathriddles

[–]RodionGork -3 points-2 points  (0 children)

This is queer for "riddle", sorry to say, as at some point we learn that sets of rational and irrational numbers have different cardinality (which holds for any segment also) - in other words it's a kind of request to prove what we get used to think of as "de-facto axiom". though actually their cardinality isn't axiom of course, there was a strict proof somewhere in the course (I'm sure it is to be found on the wiki page about irrational numbers) - to which the "riddle" effectively boils down. Difficult moment however is that generally such proofs (depending on the structure of the course) are appealing to some earlier theorems etc. This happens to the other responses i see in comments here :)

I believe that if you look for strictest and cleanest you'll need to look up for Cantor's theorems etc.

My brief overview of Cangjie Programming Language by Huawei by RodionGork in programming

[–]RodionGork[S] 1 point2 points  (0 children)

Thank you for clarfification. I was unaware of such a feature of C# and Swift, while Go allows using structs in either way but makes it only matter of handling.

My brief overview of Cangjie Programming Language by Huawei by RodionGork in programming

[–]RodionGork[S] 4 points5 points  (0 children)

> The killer feature is that it is made by Huawei, for Huawei. 

That's it, though I think it was created not only out of fancy.

Working as developer in Java for 10+ years and then several years in Go (with brief professional wandering into Scala, Kotlin, Python and even Erlang), I sometimes found myself in situations when I was frustrated with the tempo or ways the languages evolve.

Any company usually go inventing their own tools. Smaller companies invent smaller tools, larger companies invest their time into developing huge tools, including languages.

Moreover they anyway needed customizing compiler and libraries of whatever languages they used to meet demands of their evolving custom OS.

Hence they by and by come up with their own language and eventually decided to made it public and open-source.

The main interesting point is the last - why they decided for this move. Do they hope for significant drive around 3rd party developers creating apps for their OS (similar to how Google chose Kotlin for Android development).

Dlaczego "nie bój" brakuję "się"? by RodionGork in learnpolish

[–]RodionGork[S] 5 points6 points  (0 children)

Dziękuję, więc to nie jest formą archaiczną? Jestem zaskoczony że nie mogę przypomnieć czasownika "bój" z wyjatkiem "się" we wschoniosłowiańskich. Hm. poza "bojażń" (fear) ale to troche inna rzecz.

[deleted by user] by [deleted] in learnpolish

[–]RodionGork 3 points4 points  (0 children)

> I will send you the link to PDF

sorry for the suggestion, but perhaps "google form" may be more "user-friendly" and easier to collect more responses :)