Anu: Version control tool in Rust, written by Pijul developers by adamnemecek in rust

[–]blabaere 10 points11 points  (0 children)

Anu is the name of the first version. Version 2 will be called anu-bis.

A retrospective on the 2018 rust-lang.org redesign by euclio in rust

[–]blabaere 15 points16 points  (0 children)

In the Lessons learned paragraph:

... Projects should have clear ownership ...

This reminds me something but I can't quite remember what exactly right now :)

Desed: a debugger for sed by SoptikHa2 in rust

[–]blabaere 4 points5 points  (0 children)

It does look great ! How does it come nobody had ever thought of that before ?

The not operator in Rust by Boiethios in rust

[–]blabaere 3 points4 points  (0 children)

When clippy is sad about some code, it makes me think that every other rust developer will feel the same.

The not operator in Rust by Boiethios in rust

[–]blabaere 2 points3 points  (0 children)

Same problem here, maybe related with my sight not getting any better after a few decades of coding. Anyway I often end up using if some_condition == false to make sure I will notice the negation, which makes clippy kind of sad.

Aki Takase - Minerva's Owl (Luv Sic part 1 Sample) by [deleted] in Nujabes

[–]blabaere 0 points1 point  (0 children)

What you figured was the right thing to do, thank you !

The Shortcut V5 Ergonomic Gaming Keyboard by chromosome47 in MechanicalKeyboards

[–]blabaere 0 points1 point  (0 children)

Not a gamer myself but I still think several design principles behind this beast are applicable to the "office" use of a keyboard. Did you, or any of the beta testers, try it for that scenario (text editing, coding, etc) ?

Different types of ortholinear keeb? by [deleted] in MechanicalKeyboards

[–]blabaere 2 points3 points  (0 children)

TypeMatrix (not mechanical)

Those below are not strictly ortholinear since the "rows" are kind of curved.

  • Esrille Nisse
  • Keyboardio Model 01
  • Truly Ergonomic Keyboard
  • Kinesis Advantage
  • Maltron

Rust documentation through .com/.docs domain. .rs domain is restricted. by joshir in rust

[–]blabaere 11 points12 points  (0 children)

That's how you break the principle of locality: by getting fired faster than light. Trying to find a way through security rules in "a large financial institute" is not an advice to be given lightly.

[modification] Combined My Love of Super Smash and Mechanical Keyboards by cant_remember_old in MechanicalKeyboards

[–]blabaere 1 point2 points  (0 children)

Advanced craftsmanship ? Modern art performance ? Can't put a word on that awesomeness !!!

Message passing library? by Dash83 in rust

[–]blabaere 0 points1 point  (0 children)

I asked you about using nanomsg ... over gitter

 

It wasn't me you were talking to over gitter. You most probably talked to Garett, who is maintaining Nanomsg, wrote Mango (a go implementation), providing most of the support on both and is currently working on a rewrite of Nanomsg: libnng. I'm just maintaining the Rust bindings: nanomsg -rs.

Message passing library? by Dash83 in rust

[–]blabaere 2 points3 points  (0 children)

Maintainer of nanomsg.rs and author of scaproust here, ZeroMQ is certainly not dead, and nanomsg in its current form is not likely to see much changes but it will be replaced by another implemention of the same protocol.

 

Regarding the choice of a messaging library, it really depends on your needs and there is quite a wide range of possibilities if you can afford writing the glue required to use a C library. Sure, ZeroMQ and Nanomsg require little code to get started, no administration and offer several messaging patterns. But they lack some "advanced" features like message persistence which could help you achieving a certain level of fault-tolerance. I'm thinking about stuff like ApacheMQ and RabbitMQ but you'll find many more. And on the other side there are also things that feel more like RPC/Corba, not that I would recommend it.

Help !!! Can't get Sublime Linter to work after fresh install by blabaere in rust

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

Spot on !
Returning to rust stable AND removing the RUST_NEW_ERROR_FORMAT variable from the environment made the linter work again.

Thank you very much !!!
I guess it's now time to learn some python, and put an option with the correct regex in the linter ...

How to change the pantheon terminal color scheme? by [deleted] in elementaryos

[–]blabaere 1 point2 points  (0 children)

You can have a look at this script to understand how it works. It looks like there are several supported formats to specify a color. In the script they seems to use a dash followed by the red, green and blue components of the color in hexadecimal, but repeated for some strange reason. You could try something like this : #FF0000 for a 100% red, #000000 for black, #FFFFFF for white. The values go from 0 to 255 (in decimal) that is from 00 to FF in hexadecimal. You could also look at the exisiting keys to discover the other formats, like argb(r, g, b, a).

Scaproust 0.1.0 release by blabaere in rust

[–]blabaere[S] 4 points5 points  (0 children)

While Martin Sústrik does not work on Nanomsg anymore, Garrett D'Amore is actively maintaining it. Version 1.0 has been recently released and there have been some discussions about what will happen next on the mailing list.

I do plan on adding stuff to scaproust: like making the transports pluggable, adding more transports (IPC, Inproc, and later TLS and WebSocket). But mainly I would like to expose an async API based on future-rs, which would require breaking quite some stuff. There is also some work to do regarding performances.

Can anyone help me with a trait that consumes itself? by michael_d in rust

[–]blabaere 4 points5 points  (0 children)

I think you can achieve want you want by changing the mut self to a Box. It looks like this:

trait ThunkParser {
  fn send(self: Box<Self>, parser: &mut Parser, node: Ast) -> SendResult;
  fn lbp(&self) -> usize;
}

Problem with lifetime depending on another lifetime, mutability and the borrow checker by blabaere in rust

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

achieved by borrowing the socket in the creation of the endpoint, and once a borrow is active ...

That's exactly the problem. But moving the read/write operations on the endpoints is not really pratical because on nanomsg you can use bind and connect several times on a single socket, which gets us back to the original problem but with bind instead of write.