github.com

> The advantages of using Common Lisp are numerous: > > 1. The shape of tensors is not limited to numbers, but can also include symbols and even S-expressions! > 2. Automatic Generation of Iterators, ShapeError, etc. > 3. Works as a Domain Specific Language for Deep Learning embedded in Common Lisp

7
0
https://thomascothran.tech/2023/11/readability/

>Architectural layers and abstraction impedes imperative readability, since both hide the concrete implementation details.

6
1

I wonder whether Sony has ever contributed anything to FreeBSD codebase or the FreeBSD foundation.

56
8

I want to a tool for conveniently switch between Kdenlive versions using Flatpak.

27
17

Given I have a schema for the function get-stock. ```Clojure (m/-> get-stock [:cat :int] -> [:map [:price float?] [:sym string]]) ``` When I a code below, ```Clojure (-> (get-stock) ;;; the cursor is here ) ``` Can any tools show me possible keywords that are :price or :sym at the cursor?

1
0
"Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearPR
Jump
How does Python 3.10's string work?
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearVI
    vi21
    Now 100%

    If they used UTF-8 internally, they wouldn't need 4 versions of the split function.

            case PyUnicode_1BYTE_KIND:
                if (PyUnicode_IS_ASCII(self))
                    return asciilib_split_whitespace(
                        self,  PyUnicode_1BYTE_DATA(self),
                        len1, maxcount
                        );
                else
                    return ucs1lib_split_whitespace(
                        self,  PyUnicode_1BYTE_DATA(self),
                        len1, maxcount
                        );
            case PyUnicode_2BYTE_KIND:
                return ucs2lib_split_whitespace(
                    self,  PyUnicode_2BYTE_DATA(self),
                    len1, maxcount
                    );
            case PyUnicode_4BYTE_KIND:
                return ucs4lib_split_whitespace(
                    self,  PyUnicode_4BYTE_DATA(self),
                    len1, maxcount
                    );
    

    https://github.com/python/cpython/blob/1402d2ceca8ccef8c3538906b3f547365891d391/Objects/unicodeobject.c#L9757

    1
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearPR
    How does Python 3.10's string work?

    I don't know how Python 3.10's string works internally. Is it choosing between 8-bit, 16-bit, and 32-bit per character in runtime? For example: ```Python for line in open('read1.py'): print(line) ``` Can the line string be an 8-bit, 16-bit, or 32-bit character string in each iteration? Should the line be 8-bit by default and become a 32-bit string if that line has an emoji?

    5
    2
    Wav2vec2-compatible Speech recognition software
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearVI
    vi21
    Now 100%

    [Longer version]

    Thanks to Common Voice contributors, Mozilla and @wannaphong@lemmy.ml , now we have a Wav2vec2 model for recognizing Thai speech available by training a wav2vec2 model on the Common Voice dataset. Now, I can use the model to convert my speech to text on the Huggingface website. It works accurately. I love it.

    However, using speech-to-text on the Huggingface website seems to be for testing. I want to use it instead of typing on LibreOffice or Firefox. I did some explorations, but I didn't find anything that I could use.

    Is there any speech recognition software on GNU/Linux which will work with a wav2vec2 model?

    2
  • Wav2vec2 model for recognizing Thai speech is available. However, I don't know how to use it on GNU/Linux. Is there any speech recognition software on GNU/Linux which will work with a wav2vec2 model?

    8
    2

    I want to close all buffers with has "sly" in their name. Can I do something like this: CLOSE buffer WHERE buffer.name LIKE '%sly%';

    1
    0

    I saw in the hyperspec that I can (make-pathname .... :version ...). I didn't see anything different on Ext4. I don't have to use the version, but I'm just curious.

    2
    0

    I currently use Fiveam to test exported functions.

    3
    0
    Which language should I learn to make a modern XMPP client?
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearVI
    vi21
    Now 100%

    My wife uses iPhone. So you should learn Swift and make a reliable XMPP client on iOS, which always notifies my wife when she has a new message.

    1
  • *Permanently Deleted*
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearVI
    vi21
    Now 100%

    I agree open source must be a better choice. However, I guess the Chinese gov't will prioritize Chinese business and acquire Kingsoft instead of using existing open-source office suites.

    7
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearVI
    Now
    122 132

    vi21

    lemmy.ml