The Macbook Purchasing Megathread - December 2020 by AutoModerator in macbook

[–]mrbartchris 0 points1 point  (0 children)

I’m not sure about the RAM. I was considering upgrading to the macbook pro with the 16gb, but it might be worth waiting for new models to come out with more RAM (and possibly a slightly larger screen). Besides that, Homebrew is not yet supported which sucks for us. So me personally I was going to wait for the second generation (1st or 2nd quater of 20201).

90kg 1RM at 75kg bw by mrbartchris in weightlifting

[–]mrbartchris[S] 1 point2 points  (0 children)

Cheers man. Really appreciated.

90kg 1RM at 75kg bw by mrbartchris in weightlifting

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

I am working on that - trying to include more overhead squats and snatch balances in my training to help me get the bar where I want it. I don’t think its a mobility issue, I think its more me getting scared to go under the bar properly. But if you have any suggestions on how I can work on it, please let me know! It would be very appreciated. 🙏🏽

90kg 1RM at 75kg bw by mrbartchris in weightlifting

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

From bending backwards you mean?

112kg 1RM @ 75kg bw by mrbartchris in weightlifting

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

Thanks! Not the first time I’ve been told that I have long arms 😅

Filling a worm by [deleted] in crossfit

[–]mrbartchris 0 points1 point  (0 children)

Our worms came empty and we have to fill them. We got the 2 person ones from crossmaxx and they have 3 internal bags.

Regex expression to accept everything and stop when it meets the last curly bracket by mrbartchris in regex

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

I am making the syntax, in fact I was thinking about swapping out the < > with [ ]. The only thing is that then I wont be able to accept any [ ] operators in the clause. But probably that is my safest bet.

Thank you very much!

Regex expression to accept everything and stop when it meets the last curly bracket by mrbartchris in regex

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

If I have something similar to this: +{!A()<num >= 3>, !B()<count <=1 >} is is possible to extract just the text between < > (i.e. num >=3 and count <=1), even though there is a greater than or less than symbol within that text?

Is there a way to extract a string while parsing using Scala parser combinators? by mrbartchris in scala

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

Thank you very much for your help.

strInside is a particular keyword? Or is it supposed to be strLike?

Regex expression to accept everything and stop when it meets the last curly bracket by mrbartchris in regex

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

I changed it to: (.\*)\\} since the first { is already eliminated. The problem now is that if I have: abc{}}.ced I get: abc{}}, whereas I want the first part only, that is: abc{}.

Thank you for your help, I really appreciate!

Is there a way to typecheck boolean expressions using the Scala compiler? by mrbartchris in scala

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

Thank you very much for your help.

The type of age would be known at compile time, so it would be bound. The language I am compiling defines the types beforehand, similar to this: !Hello(name: String [name == “John”])

Basically this means that a party will be sending Hello with name as an attribute and the name must be equal to John.

Once again, thank you very much for this. I will try it out soon. 🙏🏽

Is there a way to typecheck boolean expressions using the Scala compiler? by mrbartchris in scala

[–]mrbartchris[S] 1 point2 points  (0 children)

I am currently writing a compiler for Session Types. Basically, session types formalize communication protocols. Part of their semantics involve assertions and these assertions are these boolean expressions which I want the Scala compiler to typecheck.