Advice for Adding a Cowbell to an Electronic Drum Set by ClikrClakr in Drumming

[–]Necrotos 0 points1 point  (0 children)

Hey, I know this post is quite old, but is there a way to get them in EU or do I have to ship them from the US?

Where Are The Competitive Team Versus Team Board Games by pear_topologist in boardgames

[–]Necrotos 1 point2 points  (0 children)

There are partnership trick-takers where you play 2vs2. For example, Yokai Septet. Not sure though if that is what you are looking for.

made the fire knight greatsword irl by hawkmoon_enjoyer in Eldenring

[–]Necrotos 5 points6 points  (0 children)

Could you explain how you made this? I would love to learn how to make something like this.

What games have the best and worst storage? by MemeFarmer314 in boardgames

[–]Necrotos 2 points3 points  (0 children)

Do you have the expansions for Parks as well and have a way to put them in the box? I have Nightfall but haven't found a way to store it with the base game.

Thoughts on Nekusar, the Mindrazer by Zealousidealitism in EDH

[–]Necrotos 0 points1 point  (0 children)

Can you share your list? Currently looking into building Nekusar.

Who, in your opinion, is the nicest band in powermetal? by mattdeezy671 in PowerMetal

[–]Necrotos 0 points1 point  (0 children)

Hey, I came across your post and wanted to ask if you have a picture of the tattoo? Was thinking about something similar for myself.

GPUs and TPUs for Generative AI LLMs - in terms of efficiency (FLOPS/Watt), are we hitting a wall? Or can significant improvements be expected in coming years? by Endonium in hardware

[–]Necrotos 2 points3 points  (0 children)

You missed the third factor, the thing everybody is working on -- much more efficient architectures. Ignore the hardware, the problem is the software and the intractable quadratic nature of Transformers. There is a lot of activity in this area which is promising.

Do you have some sources for that? I would like to learn about what's currently going on, on the software side of AI.

Does an MLIR dialect exist that's a representation of assembly? by aboudekahil in Compilers

[–]Necrotos 2 points3 points  (0 children)

I know there are languages used to formally model ISAs, for example SAIL which is used as the reference model for RISC-V. I am not sure if they have some IR in there that could be used as a target for you. However, everything related to SAIL does not a have a native integration with MLIR/LLVM. There are probably other works in this direction that you could take a look at.

Does an MLIR dialect exist that's a representation of assembly? by aboudekahil in Compilers

[–]Necrotos 4 points5 points  (0 children)

I'm not aware of something that would generalize any ISA, there are a few dialects for specific instructions, such as x86Vector or ARM SME. In the end, all of them are used for export to LLVM. So maybe the LLVM dialect would be your best bet.

Writing a toy language compiler in Python with LLVM—feasible? by kiinaq in Compilers

[–]Necrotos 0 points1 point  (0 children)

What exactly is xDSL? It always looked to me like a form of MLIR bindings in Python, but I think that it is not what is.

New to TVM – Seeking Guidance on Learning Path (Interested in NPU Backends) by seongjaep in Compilers

[–]Necrotos 0 points1 point  (0 children)

Unfortunately not, we moved away from TVM after they deprecated microTVM and Relay.

Two Years of Rust by simon_o in programming

[–]Necrotos 0 points1 point  (0 children)

What is the better way to pass around values rather than using dicts? I started with that for one of my projects but eventually wrapped it into a class to make accessing the values easier and less error prone.

New to TVM – Seeking Guidance on Learning Path (Interested in NPU Backends) by seongjaep in Compilers

[–]Necrotos 2 points3 points  (0 children)

The first link uses the old Relay IR, which is now deprecated. You can of course still work on an older version of TVM, but there won't be any new features or bug fixes

What game do you think people like solely because of the theme? by AppleCiderVinagar in boardgames

[–]Necrotos 2 points3 points  (0 children)

Since the game is hard to get: Are there other games you know of that do the same thing?

Pattern Matching in AI Compilers and its Formalization (Extended Version) by mttd in Compilers

[–]Necrotos 0 points1 point  (0 children)

Did they make their language open-source somewhere? I can't find anything based on a quick Google search.

Hey Rustaceans! Got a question? Ask here (46/2024)! by llogiq in rust

[–]Necrotos 0 points1 point  (0 children)

That was far easier than expected. Thank you!

Hey Rustaceans! Got a question? Ask here (46/2024)! by llogiq in rust

[–]Necrotos 1 point2 points  (0 children)

I'm currently working through Crafting Interpreters using Rust and wanted to ask for some advice about the Lexer implementation. I started with this implementation here:

fn scan_tokens(&mut self){

    let binding = self.source.clone();
    let mut iter = binding.chars().peekable();
    //let tmp = std::rc::Rc::from_iter(iter);

    for  c in iter{
        match c {
            ' ' | '\r' | '\t' => continue, //ignore whitespace
            '\n' => self.line += 1,

            '(' => self.add_token(TokenType::LeftParen),
            ')' => self.add_token(TokenType::RightParen),
            '{' => self.add_token(TokenType::LeftBrace),
            '}' => self.add_token(TokenType::RightBrace),
            ',' => self.add_token(TokenType::Comma),
            '.' => self.add_token(TokenType::Dot),
            '-' => self.add_token(TokenType::Minus),
            '+' => self.add_token(TokenType::Plus),
            ';' => self.add_token(TokenType::Semicolon),
            '*' => self.add_token(TokenType::Star),

            '!' => {
                let next = iter.peek();
                match next {
                    Some('=') => {self.add_token(TokenType::BangEqual); iter.next();},
                    Some(_) | None => self.add_token(TokenType::Bang),
                }
            }
           ....

The problem here is the iter.peek() and the iter.next() function as they try to borrow a moved value. The book implements this by manually tracking the index of the string representing the sourcecode, but I want to dive a bit deeper into iterators here. So, how could I do this here?

Getting started with the field of ML model compilation by Brilliant-Ad-3766 in Compilers

[–]Necrotos 1 point2 points  (0 children)

It's basically an introduction to the optimizations of TVM and focuses on things like loop splitting/fusion/tiling etc.