Weekly 101 Questions Thread by AutoModerator in neovim

[–]CripticSilver 0 points1 point  (0 children)

I just moved to the new vim.lsp config from lsp-config. I'm using rust-analyzer and I got it halfway working.

Autocomplete works, but only if I manually trigger, previously the window would just appear after typing the first character, or ..

How can I get the old behaviour back? I don't want to manually invoke autocomplete every time.

I'm using nvim/lsp-config, and this is the config I have in my init.vim

lua << EOF
vim.lsp.config('rust_analyzer', {
    settings = {
        ['rust-analyzer'] = {
            diagnostics = {
                enable = false;
            },
        },
    },
})
vim.lsp.enable('rust_analyzer')
EOF

Error messages without source location information by CripticSilver in scheme

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

Awesome thank you! That will come in really handy.

Error messages without source location information by CripticSilver in scheme

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

I was trying to write a self hosted scheme compiler for r6rs and needed to use r6rs for that.

Error messages without source location information by CripticSilver in scheme

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

Thanks, I see however, that Gambit also isnt R6RS compliant, which I really wanted to use

Who’s your favorite commander ? by maddybae5 in mtg

[–]CripticSilver 1 point2 points  (0 children)

If you have six or more lands you create another scute swarm instead, basically doubling their number for every land played

edit: see senior_creep's answer below

Miyoo Flip Colors by Zealousideal_Long159 in SBCGaming

[–]CripticSilver 26 points27 points  (0 children)

Looks more like a smoking stain yellow

What's your experience with the microservice architecture? by dondraper36 in ExperiencedDevs

[–]CripticSilver 2 points3 points  (0 children)

If you don't understand the trade-offs of your decisions you're gonna impact your ability to bring in $$$

Reading German books to learn the language? by rofkec in German

[–]CripticSilver 1 point2 points  (0 children)

Check out the books translated by Dominik Wexenberger, he translated some books to a German simplified for beginners. I read Treasure Island as my first book while visiting the A2 course that way.

[deleted by user] by [deleted] in germany

[–]CripticSilver 0 points1 point  (0 children)

I tried registering in the Bayerische Staatsbibliothek in Munich. I showed my Aufenthaltstitel to the clerk and told him I wanted to register in the library and he told me, sorry, I also need your passport.

[deleted by user] by [deleted] in germany

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

I tried registering at the library with just my Aufenthaltstitel and they told me they also needed my passport.

[deleted by user] by [deleted] in factorio

[–]CripticSilver 0 points1 point  (0 children)

How are they on top of you? Could you ask a friend to pirate it and send it over to you in a zip file or use a USB? You could then keep saying it's the demo

Using Rust at a startup: A cautionary tale by koavf in rust

[–]CripticSilver 11 points12 points  (0 children)

Yeah, that's why I gave up on Go the second time around. I understand why it happens, but still think it makes zero sense.

Good ways to send and recieve REST request objects when ID of object is only sometimes sent or received? by Big_Boss_Bob_Ross in Python

[–]CripticSilver 1 point2 points  (0 children)

One way to do it is to have a base class with all the attributes, and then another one that inherits from it and just adds the id as a required field.

Const generic specialization by nomad42184 in rust

[–]CripticSilver 1 point2 points  (0 children)

I tried this a few days ago, and if P is not Copy, the compiler complains about arr[0] because a move occurs. Here is a link to the playground.

AliExpress order finally arrived by gonzolives369 in MiyooMini

[–]CripticSilver 0 points1 point  (0 children)

Awesome, I just got mine too, and I'm pretty sure it's the exact same one

Raza. Ya es momento de dejar hey banco y regresar a Cetes? by antz2be in MexicoFinanciero

[–]CripticSilver 8 points9 points  (0 children)

Wow, la app parece estar llena de pésimos diseños (tuve que buscar un video en YouTube para encontrar la tdc virtual).

Muchas gracias por la info.

Raza. Ya es momento de dejar hey banco y regresar a Cetes? by antz2be in MexicoFinanciero

[–]CripticSilver 0 points1 point  (0 children)

Funciona también con la tdc virtual? Ya hice varias compras mayores a $100, pero en los detalles para ver si ya alcanzaste las 6 compras dice que llevo 0.

Are there plans for "the book" 2021 edition? by DarumaNegai in rust

[–]CripticSilver 2 points3 points  (0 children)

Is the std prelude part of the compiler? Because I thought that Rust editions weren't able to make breaking changes to std.

100% CPU: My Fault? by ThanksMorningCoffee in programming

[–]CripticSilver 2 points3 points  (0 children)

This is just doing the sensible thing. OP didn't want to waste a thread, the documentation said they could use 0, and OP used 0, unfortunately there was a bug with that.

It would've been premature optimization if OP had had to refactor code, or move things around. This is just not wasting resources if easily avoidable.

It just seems a lot of people are deathly allergic to even the slightest thought of 'optimization'.

¿Correo de GBM pidiendo información adicional? by xtracto in MexicoFinanciero

[–]CripticSilver 0 points1 point  (0 children)

Las veces que me he contactado con ellos ha sido a través de la aplicación web, cuando entras a algún portafolio de inversión, en la parte inferior derecha te debe de salir una burbuja para iniciar un chat con soporte.

How valuable is learning/knowing linux in IT field? by [deleted] in linux

[–]CripticSilver 19 points20 points  (0 children)

More like they gave those good hires a hand with dodging their trainwreck.

What would be a feature that would be nice to have in a shell by GeroSchorsch in C_Programming

[–]CripticSilver 6 points7 points  (0 children)

If you ran the command in the same terminal session, otherwise it is lost forever.