home.social

#concatenation — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #concatenation, aggregated by home.social.

  1. Так как же всё-таки быстро конкатенировать строки в C++?

    Всем практикующим программистам приходится конкатенировать строки. Именно конкатенировать, у нас не какой-то там JavaScript или PHP, у нас в C++ это называется вот таким заумным словом. Программисты на других языках без излишних мудрствований строки просто "складывают", даже не особо задумываясь об этой операции. Ведь что может быть проще, чем return "The answer is " + str_answer + ", count is " + count; Но если для скриптописателей простительно не думать о том, что стоит за такой простой записью, для опытного разработчика не приемлемо так безответственно подходить к такому важному вопросу. Опытный разработчик, представив такой код на C++, сразу видит ужасающую бездну проблем, которые может породить такой подход.

    habr.com/ru/articles/993240/

    #string #strings #concatenation #c++ #строки #конкатенация_строк

  2. Так как же всё-таки быстро конкатенировать строки в C++?

    Всем практикующим программистам приходится конкатенировать строки. Именно конкатенировать, у нас не какой-то там JavaScript или PHP, у нас в C++ это называется вот таким заумным словом. Программисты на других языках без излишних мудрствований строки просто "складывают", даже не особо задумываясь об этой операции. Ведь что может быть проще, чем return "The answer is " + str_answer + ", count is " + count; Но если для скриптописателей простительно не думать о том, что стоит за такой простой записью, для опытного разработчика не приемлемо так безответственно подходить к такому важному вопросу. Опытный разработчик, представив такой код на C++, сразу видит ужасающую бездну проблем, которые может породить такой подход.

    habr.com/ru/articles/993240/

    #string #strings #concatenation #c++ #строки #конкатенация_строк

  3. Так как же всё-таки быстро конкатенировать строки в C++?

    Всем практикующим программистам приходится конкатенировать строки. Именно конкатенировать, у нас не какой-то там JavaScript или PHP, у нас в C++ это называется вот таким заумным словом. Программисты на других языках без излишних мудрствований строки просто "складывают", даже не особо задумываясь об этой операции. Ведь что может быть проще, чем return "The answer is " + str_answer + ", count is " + count; Но если для скриптописателей простительно не думать о том, что стоит за такой простой записью, для опытного разработчика не приемлемо так безответственно подходить к такому важному вопросу. Опытный разработчик, представив такой код на C++, сразу видит ужасающую бездну проблем, которые может породить такой подход.

    habr.com/ru/articles/993240/

    #string #strings #concatenation #c++ #строки #конкатенация_строк

  4. Так как же всё-таки быстро конкатенировать строки в C++?

    Всем практикующим программистам приходится конкатенировать строки. Именно конкатенировать, у нас не какой-то там JavaScript или PHP, у нас в C++ это называется вот таким заумным словом. Программисты на других языках без излишних мудрствований строки просто "складывают", даже не особо задумываясь об этой операции. Ведь что может быть проще, чем return "The answer is " + str_answer + ", count is " + count; Но если для скриптописателей простительно не думать о том, что стоит за такой простой записью, для опытного разработчика не приемлемо так безответственно подходить к такому важному вопросу. Опытный разработчик, представив такой код на C++, сразу видит ужасающую бездну проблем, которые может породить такой подход.

    habr.com/ru/articles/993240/

    #string #strings #concatenation #c++ #строки #конкатенация_строк

  5. One day, one decomposition
    A048991: Write down the numbers 1,2,3,... but omit any number (such as 12 or 23 or 31 ...) which appears in the concatenation of all earlier terms

    3D graph, threejs - webGL ➡️ decompwlj.com/3Dgraph/A048991.
    2D graph, first 500 terms ➡️ decompwlj.com/2Dgraph500terms/

    #decompwlj #maths #mathematics #sequence #OEIS #javascript #php #3D #numbers #omit #concatenation #earlier #terms #graph #threejs #webGL

  6. One day, one decomposition
    A048991: Write down the numbers 1,2,3,... but omit any number (such as 12 or 23 or 31 ...) which appears in the concatenation of all earlier terms

    3D graph, threejs - webGL ➡️ decompwlj.com/3Dgraph/A048991.
    2D graph, first 500 terms ➡️ decompwlj.com/2Dgraph500terms/

    #decompwlj #maths #mathematics #sequence #OEIS #javascript #php #3D #numbers #omit #concatenation #earlier #terms #graph #threejs #webGL

  7. #MyUnpopularOpinion
    "cishet" should be "cis het" or "cis/het" because it's two words. People concatenate way too many things in English, especially in American English.

    Also a million others: "someday", "hashtag", "cannot", et al.

    #English #Abbreviation #Concatenation

  8. #MyUnpopularOpinion
    "cishet" should be "cis het" or "cis/het" because it's two words. People concatenate way too many things in English, especially in American English.

    Also a million others: "someday", "hashtag", "cannot", et al.

    #English #Abbreviation #Concatenation

  9. #MyUnpopularOpinion
    "cishet" should be "cis het" or "cis/het" because it's two words. People concatenate way too many things in English, especially in American English.

    Also a million others: "someday", "hashtag", "cannot", et al.

    #English #Abbreviation #Concatenation

  10. #MyUnpopularOpinion
    "cishet" should be "cis het" or "cis/het" because it's two words. People concatenate way too many things in English, especially in American English.

    Also a million others: "someday", "hashtag", "cannot", et al.

    #English #Abbreviation #Concatenation

  11. #MyUnpopularOpinion
    "cishet" should be "cis het" or "cis/het" because it's two words. People concatenate way too many things in English, especially in American English.

    Also a million others: "someday", "hashtag", "cannot", et al.

    #English #Abbreviation #Concatenation

  12. @DJP1974
    “Other less-usual senses of #syllapsis (or #syllēpsis) are nonetheless essential for deciphering [fragment] CXXIV.” -- Kahn 1979, p.282 ... (1) #Syllēpsis is etymologically a ‘taking-together’, a physical #conjunction or #concatenation of sounds or the like, as in the cognate #syllabē, ‘syllable'. (2) #Syllēpsis can designate the cognitive act of #collecting-together, #comprehending, or #summing-up” [ibidem].

  13. @DJP1974
    “Other less-usual senses of #syllapsis (or #syllēpsis) are nonetheless essential for deciphering [fragment] CXXIV.” -- Kahn 1979, p.282 ... (1) #Syllēpsis is etymologically a ‘taking-together’, a physical #conjunction or #concatenation of sounds or the like, as in the cognate #syllabē, ‘syllable'. (2) #Syllēpsis can designate the cognitive act of #collecting-together, #comprehending, or #summing-up” [ibidem].

  14. @DJP1974
    “Other less-usual senses of #syllapsis (or #syllēpsis) are nonetheless essential for deciphering [fragment] CXXIV.” -- Kahn 1979, p.282 ... (1) #Syllēpsis is etymologically a ‘taking-together’, a physical #conjunction or #concatenation of sounds or the like, as in the cognate #syllabē, ‘syllable'. (2) #Syllēpsis can designate the cognitive act of #collecting-together, #comprehending, or #summing-up” [ibidem].

  15. @DJP1974
    “Other less-usual senses of #syllapsis (or #syllēpsis) are nonetheless essential for deciphering [fragment] CXXIV.” -- Kahn 1979, p.282 ... (1) #Syllēpsis is etymologically a ‘taking-together’, a physical #conjunction or #concatenation of sounds or the like, as in the cognate #syllabē, ‘syllable'. (2) #Syllēpsis can designate the cognitive act of #collecting-together, #comprehending, or #summing-up” [ibidem].

  16. Is | pipelining possible with functions? I know composition is.

  17. #DifferentialPropositionalCalculus • 2.4
    inquiryintoinquiry.com/2020/02

    #CactusCalculus Conventions —

    The briefest expression for #LogicalTruth is the #EmptyWord, denoted \(\varepsilon\) or \(\lambda\) in #FormalLanguages, where it forms the #IdentityElement for #Concatenation. It may be given visible expression in this context by means of the logically equivalent form \(\texttt{((} ~ \texttt{))},\) or, especially if operating in an algebraic context, by a simple \(1.\)

  18. #DifferentialPropositionalCalculus • 2.4
    inquiryintoinquiry.com/2020/02

    #CactusCalculus Conventions —

    The briefest expression for #LogicalTruth is the #EmptyWord, denoted \(\varepsilon\) or \(\lambda\) in #FormalLanguages, where it forms the #IdentityElement for #Concatenation. It may be given visible expression in this context by means of the logically equivalent form \(\texttt{((} ~ \texttt{))},\) or, especially if operating in an algebraic context, by a simple \(1.\)

  19. #DifferentialPropositionalCalculus • 2.4
    inquiryintoinquiry.com/2020/02

    #CactusCalculus Conventions —

    The briefest expression for #LogicalTruth is the #EmptyWord, denoted \(\varepsilon\) or \(\lambda\) in #FormalLanguages, where it forms the #IdentityElement for #Concatenation. It may be given visible expression in this context by means of the logically equivalent form \(\texttt{((} ~ \texttt{))},\) or, especially if operating in an algebraic context, by a simple \(1.\)