Difference between revisions of "RustBiFri"

From TAMI
Jump to navigationJump to search
 
Line 17: Line 17:
 
  - does not provide intermediate results
 
  - does not provide intermediate results
 
  - iow should display each jpeg in turn
 
  - iow should display each jpeg in turn
 +
 +
* hyper is the HTTP library for rust
 +
* there is no multipart read support for Response - it reads until the end, no callback mechanism
 +
* how I saw this: run under a debugger (tried rr - got a failure to allocate an OpenGL context)
 +
  python2.7 ./mach -v run --debug --dev http://space.telavivmakers.org:8081/
 +
* ctrl-c
 +
* thread apply all bt
 +
* thread 41
 +
 +
  67 /// Read the response body.
 +
  68 impl Read for Response {
 +
  69     #[inline]
 +
  70     fn read(&mut self, buf: &mut [u8]) -> io::Result<usize> {
 +
  71         match self.message.read(buf) {
 +
  72             Err(e) => {
 +
  73                 let _ = self.message.close_connection();
 +
  74                 Err(e)
 +
  75             }
 +
  
 
=== hebrew does not appear at all for non bold fonts - rectangles instead ===
 
=== hebrew does not appear at all for non bold fonts - rectangles instead ===

Latest revision as of 19:24, 20 April 2017

Rust Bi weekly Fridays

Learn you a great rust for moderate good! http://rust-lang.org/ (you can compiler straight from the page!)

We meet on every second Friday. Two meetings already, with 3 people in total! (2 distinct)

Next meeting: 3.3.2017

Servo

Next up: try to get our main page working.

telavivmakers.org

google calendar is broken

window._init is not a function

space.telavivmakers.org:8081

multipart/x-mixed-replace is not working

- does not provide intermediate results
- iow should display each jpeg in turn
  • hyper is the HTTP library for rust
  • there is no multipart read support for Response - it reads until the end, no callback mechanism
  • how I saw this: run under a debugger (tried rr - got a failure to allocate an OpenGL context)
 python2.7 ./mach -v run --debug --dev http://space.telavivmakers.org:8081/
  • ctrl-c
  • thread apply all bt
  • thread 41
  67	/// Read the response body.
  68	impl Read for Response {
  69	    #[inline]
  70	    fn read(&mut self, buf: &mut [u8]) -> io::Result<usize> {
  71	        match self.message.read(buf) {
  72	            Err(e) => {
  73	                let _ = self.message.close_connection();
  74	                Err(e)
  75	            }


hebrew does not appear at all for non bold fonts - rectangles instead

space.telavivmakers.org

no support for jpeg with boundary (forgot the technical terms)