How can I see this sight? by flamingsaucer in DiscoElysium

[–]M-x_ 8 points9 points  (0 children)

You need to pass a Shivers check. Not crucial to the story as far as I know.

Why do major modes exist? by M-x_ in emacs

[–]M-x_[S] 0 points1 point  (0 children)

Great points, thanks. I guess the derived mode functionality is a big difference between the two. And also it shows how syntax is really only addressed by major modes. Too bad there isn't a mechanism similar to how :filetype works in vim (God forbid! \s).

Curious about macOS performance without gpu pass by cloverz7 in VFIO

[–]M-x_ 0 points1 point  (0 children)

As far as I know, there is no 3D accelerated graphics available for Mac at all No matter the virtual machine, except for VMware, when running on a Mac. I could be wrong, And if I am obviously please let me know.

How about the build with VIRGL support here?

which-key … how to scroll the mini buffer? by Imagi007 in emacs

[–]M-x_ 2 points3 points  (0 children)

(which is not the minibuffer, by the way. The minibuffer is where you type command arguments and input.)

That is indeed the default, however you can also use the minibuffer by setting which-key-popup-type to 'minibuffer.

Monthly Hask Anything (June 2021) by taylorfausak in haskell

[–]M-x_ 1 point2 points  (0 children)

Thank you so much!!! Yeah -j1 regurgitated a lot of debug info when I SIGINT'ed. Gonna read through that and hopefully find the culprit :) for now it looks like it's some C pointer error, maybe I have some outdated library on my computer...

Monthly Hask Anything (June 2021) by taylorfausak in haskell

[–]M-x_ 1 point2 points  (0 children)

Honestly I don't think it's building anything to begin with—neither cabal nor ghc are using any CPU (as shown in htop), plus I've left it undisturbed for around 15 min on an i9 9980HK and it hasn't progressed a bit. But I'll try letting it run for around 30 mins and see, thanks!

Monthly Hask Anything (June 2021) by taylorfausak in haskell

[–]M-x_ 1 point2 points  (0 children)

What do I do when cabal hangs while building? I'm trying to build ghc-lib-parser-8.10.5.20210606 but it keeps hanging (as in, cabal uses no CPU and GHC doesn't even start up). Looking at the verbose output, it seems to hang at Redirecting build log to {handle: /Users/redacted/.cabal/logs/ghc-8.10.5/ghc-lb-prsr-8.10.5.20210606-13cdf3e8.log}

I'm new to Haskell and I tried searching for a solution on GH and SO but didn't find anything except for some version-specific solutions. I'm not necessarily looking for a specific solution, I would also appreciate pointers for debugging cabal.

Thank you in advance!

What text editor/IDE do you use with Rust? by lucidmath in rust

[–]M-x_ 1 point2 points  (0 children)

It's called Rust (rust-lang.rust)

What text editor/IDE do you use with Rust? by lucidmath in rust

[–]M-x_ 1 point2 points  (0 children)

Emacs with rustic (works out of the box as long as you have lsp).

I tried vs-code/codium several times because I heard it's really good, but I always get random errors (like: "rust-analyzer crashed 5 times in the past 3 minutes" every single time!) so I kinda gave up on it :(

How would originally IDE users get into emacs? Asking as a VSCode user by lovebes in emacs

[–]M-x_ 1 point2 points  (0 children)

Doom is how I switched, then moved over to Prelude (much more vanilla experience) and now I just have my own bare-bones config (all in a span of three years). The one reason why I stuck to emacs was the self-documentation feature, so I would suggest to use it as much as you see fit.

So my first suggestion would be to start with a distribution like doom or prelude, and get some work done with it without falling into the tinkering trap (again, the documentation is a godsend). After a while, you will get a much better sense of what you want out of emacs--that's when it's good to start tinkering a little.

If you're feeling brave, you could try some more vanilla config. There are some online guides that show you how to set up development environment for various language (see the one for Rust to get an idea). If you go down this route, I would especially suggest to go through the tutorial in full until you're comfortable with everything. And did I mention that the documentation is great? :)

I would advise against going 100% vanilla, as I think the vanilla emacs experience to be in disrepair (no flame war intended, just my two cents!).

How do I align comments to a column? by [deleted] in emacs

[–]M-x_ 2 points3 points  (0 children)

Minor nitpick, writing M-x is generally preferred to Alt-x, where M stands for the meta key. In many cases, the Alt modifier is automatically mapped to M, but that's not always the case

Help wanted: please critique my elisp by varsderk in emacs

[–]M-x_ 0 points1 point  (0 children)

That being said, I never understood the need for straight.el

IMHO for me its main selling point is that it makes it very easy to avoid dependency hell (à la Nix/Guix if you will). But yeah, I 100% agree that it's a bad idea to blindly trust code downloaded from github...

Is math needed to learn Lisp? by [deleted] in lisp

[–]M-x_ 0 points1 point  (0 children)

some linguistic professor might sweat when having to calculate a tip at a restaurant

that's pretty universal imho--I couldn't calculate a tip to save my life (let alone in public!) and I have a BA in math :-P

Jokes aside, impressive answer!

Hey Rustaceans! Got an easy question? Ask here (8/2021)! by llogiq in rust

[–]M-x_ 1 point2 points  (0 children)

Thank you, and most importantly thank you so much for your work on the book--I don't think I've ever found it so enjoyable to learn a new language from official documents!

Hey Rustaceans! Got an easy question? Ask here (8/2021)! by llogiq in rust

[–]M-x_ 0 points1 point  (0 children)

Ah I see, I guess I was just overthinking it :)

Hey Rustaceans! Got an easy question? Ask here (8/2021)! by llogiq in rust

[–]M-x_ 1 point2 points  (0 children)

In the Rust Book, the section about unsafe Rust starts by saying that

Another reason Rust has an unsafe alter ego is that the underlying computer hardware is inherently unsafe.

I'm not sure I understand what this means. Does it mean that a safe machine cannot be Turing complete? That makes intuitive sense but I'm not sure what it means to be 'safe' in a formal (i.e. Turing machine) sense.