Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Dec 05 17:52
    vvshard edited #774
  • Dec 05 17:42
    vvshard synchronize #774
  • Dec 03 20:35
    vvshard commented #774
  • Dec 03 20:25
    vvshard synchronize #774
  • Nov 25 10:54
    vvshard opened #774
  • Oct 31 16:27

    github-actions[bot] on gh-pages

    Deploy to GitHub pages (compare)

  • Oct 31 16:19
    bors[bot] closed #773
  • Oct 31 16:19

    bors[bot] on master

    fix option name case-sensitivity Merge #773 773: fix option nam… (compare)

  • Oct 31 16:19
    bors[bot] commented #773
  • Oct 31 16:04

    bors[bot] on staging

    fix option name case-sensitivity Merge #773 773: fix option nam… (compare)

  • Oct 31 16:04

    bors[bot] on staging.tmp

    (compare)

  • Oct 31 16:04

    bors[bot] on staging.tmp

    fix option name case-sensitivity [ci skip][skip ci][skip netlify… (compare)

  • Oct 31 16:04

    bors[bot] on staging.tmp

    [ci skip][skip ci][skip netlify] (compare)

  • Oct 31 16:03
    euclio commented #773
  • Oct 30 22:50
    euclio edited #267
  • Oct 30 22:49
    euclio opened #773
  • Oct 30 22:44

    github-actions[bot] on gh-pages

    Deploy to GitHub pages (compare)

  • Oct 30 22:37
    bors[bot] closed #772
  • Oct 30 22:37
    bors[bot] closed #766
  • Oct 30 22:37
    bors[bot] commented #772
Ana Hobden
@Hoverbear
Hahaha
I've never looked into it much
Adolfo Ochagavía
@aochagavia
I think this code may serve as a basis for an irc client
we just need to figure out how to send user input through the stream, while also receiving data
I am going to as on IRC
if we could split the stream in two pipes it would be nice
hmmmm... You can clone it and still use it
Ana Hobden
@Hoverbear
I think it could for sure
Well, streams can have multiple writers
Just only one reader
Adolfo Ochagavía
@aochagavia
I am now fighting with the compiler
I think there is a bug, because I cannot use #[deriving(Clone)] on my struct
Ana Hobden
@Hoverbear
Interesting
Did you ask #rust?
Adolfo Ochagavía
@aochagavia
yes
it is a known bug
I will look at what they do in the std library to use buffers
because I need to change the [u8, ..4096]
Ana Hobden
@Hoverbear
A strbuf?
Adolfo Ochagavía
@aochagavia
The stream reads bytes into a mutable slice of u8
by now I am using this [u8, ..4096] (fixed size)
but it is not clonable because of a bug
nevermind, I have an idea :)
haha it compiles
Ana Hobden
@Hoverbear
:)!
@samebchase Hoya
Adolfo Ochagavía
@aochagavia
it works! I can write messages and receive them
Ana Hobden
@Hoverbear
Woooo
Adolfo Ochagavía
@aochagavia
I will upload the code so you can see it
do you know an irc server where we can test?
I don't want to spam #rust
Ana Hobden
@Hoverbear
@aochagavia Spam #testtest
Adolfo Ochagavía
@aochagavia
is that also in irc.mozilla.org?
Ana Hobden
@Hoverbear
You can make any cannel you want in there
Ana Hobden
@Hoverbear
@aochagavia Setting up unit tests in brower right now, talk about pita
browser
Ana Hobden
@Hoverbear
@bxio Bill!
```rust
let x = 10;
Adolfo Ochagavía
@aochagavia
@Hoverbear look at this one https://github.com/aochagavia/RustCalc
Ana Hobden
@Hoverbear
@aochagavia Nice!
Adolfo Ochagavía
@aochagavia
@Hoverbear Do you find this interesting? https://github.com/aochagavia/RTorrent
Ana Hobden
@Hoverbear
@aochagavia Heck yeah, I love torrent stuff
Adolfo Ochagavía
@aochagavia
@Hoverbear If you can help with anything, don't hesitate to do it!
Ana Hobden
@Hoverbear
@aochagavia I was looking at it, bencoding is interesting.
Adolfo Ochagavía
@aochagavia
@Hoverbear Indeed it is... But it is a little bit tricky because you have to work with ascii for some data and treat the rest as bytes (the hashes of the pieces).
Ana Hobden
@Hoverbear
@aochagavia Just don't pull a heartbleed. :)
Ana Hobden
@Hoverbear
@aochagavia I think I'm going to shift over to #rust-rosetta on irc.mozilla.org. I updated the readme.
Gitter is proprietary and requires a lot of github permissions.
Adolfo Ochagavía
@aochagavia
@Hoverbear seems good to me