lisp
Lisp Community vi21 10 months ago 100%
GitHub - hikettei/cl-waffe2: [Experimental] Graph and Tensor Abstraction for Deep Learning all in Common Lisp 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
clojure
The Wrong Kind of Readability https://thomascothran.tech/2023/11/readability/

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

6
1
opensource
Open Source vi21 10 months ago 92%
Has Sony ever contributed anything to FreeBSD?

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

56
8
clojure Clojure programming language discussion Data-Driven Development is a Lie
Jump
  • "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
    10 months ago 100%

    I usually confuse between data-driven and data-oriented. So data-driven development is not the same as data-oriented programming, is it?

    3
  • linux Linux I want to make yet another toy-like Flatpak frontend. Can you name it for me?
    Jump
    linux Linux I want to make yet another toy-like Flatpak frontend. Can you name it for me?
    Jump
  • "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
    1 year ago 100%

    of the same package on Flathub the main ones i had issues with was Kdenlive, Zoom, and OBS.

    It means I probably won't fix bugs.

    5
  • linux Linux I want to make yet another toy-like Flatpak frontend. Can you name it for me?
    Jump
  • "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
    1 year ago 100%

    I'm not sure what version control implies in this case. Still, we can downgrade version of packages that we installed by Flatpak.

    2
  • linux Linux I want to make yet another toy-like Flatpak frontend. Can you name it for me?
    Jump
    linux
    Linux vi21 1 year ago 90%
    I want to make yet another toy-like Flatpak frontend. Can you name it for me?

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

    27
    17
    clojure
    Can autocomplete make use of Malli?

    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
    programming General Programming Discussion How does Python 3.10's string work?
    Jump
  • "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
    2 years ago 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
    General Programming Discussion vi21 2 years ago 100%
    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
    linux Linux Wav2vec2-compatible Speech recognition software
    Jump
  • "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
    2 years ago 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
  • linux
    Linux vi21 2 years ago 100%
    Wav2vec2-compatible Speech recognition software

    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
    planetemacs
    Can I close all buffers related to Sly in one command on #Emacs?

    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
    lisp
    Lisp Community vi21 2 years ago 100%
    Which file system should I use to enable the version when I open a file?

    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
    lisp
    Lisp Community vi21 2 years ago 100%
    How can I create automated tests for unexported functions in Common Lisp?

    I currently use Fiveam to test exported functions.

    3
    0
    linux Linux [Ubuntu] Pipewire as a replacement for pulse audio
    Jump
    opensource Open Source What do you use to donate to OSS projects?
    Jump
  • "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
    2 years ago 100%

    I have no idea about monero and zcash. I like the Tezos Defi ecosystem and its governance.

    2
  • lisp
    Lisp Community vi21 2 years ago 100%
    Can I force an s-expression to always be in one line?

    I want to do something similar to ndjson. Can I force an s-expression to always be in one line?

    3
    0
    opensource Open Source Which language should I learn to make a modern XMPP client?
    Jump
    opensource Open Source Which language should I learn to make a modern XMPP client?
    Jump
  • "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
    2 years ago 100%

    When the notification doesn't work correctly on my wife's phone, it is neither iOS's nor XMPP's fault. It is mine.

    1
  • opensource Open Source Which language should I learn to make a modern XMPP client?
    Jump
  • "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
    2 years ago 100%

    Yes, she did. I'm going to try @snikket_im@fosstodon.org's server maybe next year. Thank you.

    2
  • opensource Open Source Which language should I learn to make a modern XMPP client?
    Jump
  • "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
    2 years ago 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
  • linux Linux *Permanently Deleted*
    Jump
  • "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
    2 years ago 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
  • programming General Programming Discussion [ask fedi] Besides Common Lisp, is there anything programming environment and programming language that asks me what to do after the program tries to open a file that doesn't exist?
    Jump
    "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearPR
    General Programming Discussion vi21 2 years ago 100%
    [ask fedi] Besides Common Lisp, is there anything programming environment and programming language that asks me what to do after the program tries to open a file that doesn't exist?

    I don't want to rerun my batch after running it for two days because one didn't handle an exception.

    2
    2
    "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearTH
    Thai Natural Language Processing vi21 2 years ago 100%
    Common Voice Dataset 9.0 มาแล้วนะครับ commonvoice.mozilla.org

    ขอบคุณทุกท่านที่ช่วยเข้าไปฟังเสียง อัดเสียง เลือกประโยค เพิ่มประโยคครับ

    2
    0
    programming General Programming Discussion Given we have to listen to source code via a podcast, which is audio-only, which programming language is the most convenient to suitable? #askfedi
    Jump
    programming General Programming Discussion Given we have to listen to source code via a podcast, which is audio-only, which programming language is the most convenient to suitable? #askfedi
    Jump
    programming General Programming Discussion Given we have to listen to source code via a podcast, which is audio-only, which programming language is the most convenient to suitable? #askfedi
    Jump
    programming General Programming Discussion Given we have to listen to source code via a podcast, which is audio-only, which programming language is the most convenient to suitable? #askfedi
    Jump
    programming General Programming Discussion Given we have to listen to source code via a podcast, which is audio-only, which programming language is the most convenient to suitable? #askfedi
    Jump
    "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearPR
    General Programming Discussion vi21 2 years ago 100%
    Given we have to listen to source code via a podcast, which is audio-only, which programming language is the most convenient to suitable? #askfedi

    Is it helpful for coding in visual impairment?

    10
    9
    "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearTH
    Thai Natural Language Processing vi21 2 years ago 100%
    FOSS Asia Summit จะมีเรื่อง Common Voice นะครับทุ่มนึง คุณ Robert Reyes พูดครับ https://eventyay.com/e/6b901f56/session/7529?side_panel=true

    FOSS Asia Summit จะมีเรื่อง Common Voice นะครับทุ่มนึง คุณ Robert Reyes พูดครับ

    1
    0
    rust Rust Programming I'm starting to learn rust, do you have any advice for a beginner? I have some limited experience with Python and c#
    Jump
  • "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
    2 years ago 100%

    Even if your program clones some data instead of referring to them, it can be still fast.

    2
  • lisp
    Lisp Community vi21 2 years ago 77%
    『Are Arrays Really Needed? My short answer would be "No".』 https://picolisp.com/wiki/?pros-and-cons=

    PicoLisp looks very opinionated to me. It is very interesting for me since it doesn't provide too many choices for beginners.

    10
    1
    clojure Clojure programming language discussion Clojure - Clojure 1.11.0 release
    Jump
  • "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
    2 years ago 100%

    I always defined a function like below and passed a map.

    (defn f [{:keys [a b]}] 
       (println a b))
    

    So now I have choices.

    2
  • clojure Clojure programming language discussion Clojure - Clojure 1.11.0 release
    Jump
  • "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
    2 years ago 100%

    I didn't know that I can do this in 1.10.

    (defn f [& {:keys [a b]}] (println "A" a " B" b))
    
    2
  • tlwg Thai Linux Working Group จะเป็นยังไงถ้าฟอนต์ TH Sarabun เองใช้ขนาดแบบสากล?
    Jump
  • "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
    3 years ago 100%

    @thep@lemmy.ml มีความคิดเห็นบน Facebook ด้วยครับ แต่ผมอ่านไม่เข้าใจเลย

    https://m.facebook.com/groups/thainlp/permalink/1539675109747307

    1
  • tlwg Thai Linux Working Group จะเป็นยังไงถ้าฟอนต์ TH Sarabun เองใช้ขนาดแบบสากล?
    Jump
  • "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
    3 years ago 100%

    @thep "จุฬาภรณ์ลิขิต" มีโอกาสเป็นฟอนต์หลักแทนไหมครับ ?

    https://mastodon.in.th/@thep/107946786520523637

    1
  • tlwg
    Thai Linux Working Group vi21 3 years ago 100%
    จะเป็นยังไงถ้าฟอนต์ TH Sarabun เองใช้ขนาดแบบสากล? mastodon.in.th

    ขนาดฟอนต์แบบไทยๆ ที่ต้อง scale up ให้เข้ากับฟอนต์สากล (ไม่ใช่แค่ฟอนต์ตะวันตก) เป็นสิ่งที่ตกยุคมานานพอควรแล้ว ทั่วทั้งโลกดูจะเหลือแค่ภาษาไทยภาษาเดียวที่ทำแบบนี้ แต่เราจะย้ายไปใช้แบบสากลได้ยังไง? ใครมีความคิดเห็นดีๆ ไหมครับ? สำหรับผม คิดว่าด่านแรกคือการบังคับใช้ฟอนต์ TH Sarabun ของราชการ จะเป็นยังไงถ้าฟอนต์ TH Sarabun เองใช้ขนาดแบบสากล? เธรดนี้บอกเล่า pain point ของขนาดฟอนต์แบบไทยๆ ได้ดีมาก https://twitter.com/srakrn/status/1298875787504807936

    2
    5
    "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearLI
    Linux development vi21 3 years ago 100%
    Ultimate GTK4 Crystal Guide ultimate-gtk4-crystal-guide.geopjr.dev
    2
    0
    tlwg Thai Linux Working Group 7 Distro ที่น่าจับตามองในปี 2022
    Jump
  • "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
    3 years ago 100%

    slackware 15 สงสัยจะออกตัวจริงแล้วครับ แต่ผมไม่อยากกลับไป sysV init ละ

    2
  • linux Linux *Permanently Deleted*
    Jump
  • "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
    3 years ago 100%

    Because people code in Bash. For example, a Makefile that I downloaded from GitHub didn't work on my computer, since my computer's default shell was Dash.

    The Makefile didn't have the shebang to tell which shell is required, but it looks like a Bash script and it works on Bash.

    2
  • linux Linux STOP RECOMMENDING DISTROS, recommend DESKTOPS instead! (video)
    Jump
  • "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
    3 years ago 100%

    A beginner doesn't care about Flatpak or Snap or Zapp or other, but I won't be able to support them if they use a different one from me.

    5
  • lisp Lisp Community [#askfedi] Does #Lisp have any format storing a lot of S-expressions, similar to ndjson?
    Jump
  • "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
    3 years ago 100%

    Conspack is useful to me since my program currently saves serialized data to RocksDB. Anyway, I think it may be convenient to be able to work without the RockDB layer.

    1
  • lisp Lisp Community [#askfedi] Does #Lisp have any format storing a lot of S-expressions, similar to ndjson?
    Jump
  • "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
    3 years ago 100%

    @vi21 I use conspack for this. It’s very fast in my experience send encodes and decodes to binary. It also allows you to customise it to support custom classes. I can show some example code later when I’m in front of a computer.

    Do you put one big expression per file or many expressions per file?

    1
  • opensource Open Source 10 Reasons Node.js is the best choice for your next web app
    Jump
  • "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
    3 years ago 100%

    I agree that using JavaScript increases the chance of participation. I released a few versions of Thai word breakers in different programming languages. One on node.js is the most popular. 8 people contributed to the JS-based project compared to 2-3 people in other programming languages. However, JS has a downside too. In 2017, @iporsut and I made an experiment to compare Thai word breakers that we created. JS version running time is 15X of the Rust version. Even by comparing with another dynamic language, the Julia version is faster than the one in JS.

    I created a website using node.js in 2014, and it is still running. The performance is good. However, I have a few regrets.

    • We had a very hard time by install this project on other team members who use Windows 10 because we didn't know how to build a Bcrypt library.
    • Recently, I have to fix the project without adding any new feature because Express.js was changed, MongoDB was changed, and some packages that I used were abandoned.
    • It was a small project so I wanted to keep the session storage in RAM, but I can't since I ran 4 node.js processes. Now the project requires Redis as session storage, which causes more troubles for team members, who don't familiar with GNU/Linux, Docker, or WSL.
    1