vi21

joined 4 years ago
MODERATOR OF
 

The Integrity Data Platform (IDP) team decided to rewrite one of our heavy Queries Per Second (QPS) Golang microservices in Rust. It resulted in 70% infrastructure savings at a similar performance, but was not without its pitfalls.

[–] [email protected] 1 points 1 month ago

Thank you for providing rationale.

 

I tested Debian 13 RC1 by installing the Nvidia proprietary driver using:

apt install nvidia-driver

The error from systemctl status dkms is as follows:

× dkms.service - Builds and install new kernel modules through DKMS
     Loaded: loaded (/usr/lib/systemd/system/dkms.service; enabled; preset: enabled)
     Active: failed (Result: exit-code) since Sun 2025-05-18 07:37:53 +07; 1min 22s ago
 Invocation: da858b6286f04dd6965e54bc964fc78f
       Docs: man:dkms(8)
    Process: 855 ExecStart=/usr/sbin/dkms autoinstall --verbose --kernelver 6.12.27-amd64 (code=exited, status=21)
   Main PID: 855 (code=exited, status=21)
   Mem peak: 6.3M
        CPU: 204ms

May 18 07:37:53 vlegion systemd[1]: Starting dkms.service - Builds and install new kernel modules through DKMS...
May 18 07:37:53 vlegion dkms[1069]: Error! Your kernel headers for kernel 6.12.27-amd64 cannot be found at /lib/modules/6.12.27-amd64/build or /lib/modules/6.12.27-amd64/source.
May 18 07:37:53 vlegion dkms[1069]: Please install the linux-headers-6.12.27-amd64 package or use the --kernelsourcedir option to tell DKMS where it's located.
May 18 07:37:53 vlegion systemd[1]: dkms.service: Main process exited, code=exited, status=21/n/a
May 18 07:37:53 vlegion systemd[1]: dkms.service: Failed with result 'exit-code'.
May 18 07:37:53 vlegion systemd[1]: Failed to start dkms.service - Builds and install new kernel modules through DKMS.

Of course, this problem was fixed by installing 'linux-headers-6.12.27-amd64.'

However, I wonder if 'linux-headers-6.12.27-amd64' should be installed automatically. Is this a bug? How can I check if anyone has reported this already?

[–] [email protected] 4 points 2 months ago

With CachyOS and Mint, it is very easy.

Remark: I disabled secure boot.

 

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
 

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

[–] [email protected] 1 points 2 years ago

No, I haven't.

 

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

[–] [email protected] 2 points 2 years ago

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

[–] [email protected] 5 points 2 years ago

I'm not going to use this name, but it is the most accurate one.

[–] [email protected] 5 points 2 years ago (1 children)

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.

[–] [email protected] 2 points 2 years ago (1 children)

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

[–] [email protected] 10 points 2 years ago

flatswitch

I love this name.

 

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

[–] [email protected] 1 points 2 years ago

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

 

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:

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?

[–] [email protected] 2 points 2 years ago

[Longer version]

Thanks to Common Voice contributors, Mozilla and @[email protected] , 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?

 

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?

 

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%';

view more: next ›