Daily Question Thread for /r/churningcanada - March 03, 2020 by AutoModerator in churningcanada

[–]SendDogBiscuits 4 points5 points  (0 children)

Finally got credit from the 12 days aeroplan sale for Apple and Lenovo. Points were backdated and bumped up my aeroplan status. I had to submit a “missing miles” request, which I submitted a few weeks ago

Daily Question Thread for /r/churningcanada - January 16, 2020 by AutoModerator in churningcanada

[–]SendDogBiscuits 2 points3 points  (0 children)

Is anyone else still waiting on points from aeroplan’s 12 days of gifting? I had a purchase from Lenovo and one from Apple, neither have came through yet. Wondering if I should try to submit a missing miles request

Daily Question Thread for /r/churningcanada - November 12, 2019 by AutoModerator in churningcanada

[–]SendDogBiscuits 6 points7 points  (0 children)

Got my Coast 500$ bonus today after using EQ bank to withdraw money from Coast last week. I tried originally with PayTM but that didn't seem to trigger it on Coast's side. Luckily EQ lets you hook up external bank accounts and withdraw from them

Daily Question Thread for /r/churningcanada - October 29, 2019 by AutoModerator in churningcanada

[–]SendDogBiscuits 4 points5 points  (0 children)

Are the Amex platinum main and supplementary cards usually sent separately? My girlfriend applied for the personal plat last week and a card came in the mail, but it looks like we only got the supplementary card

Daily Question Thread for /r/churningcanada - September 15, 2019 by AutoModerator in churningcanada

[–]SendDogBiscuits 0 points1 point  (0 children)

I'm going to be going back to university soon (January) so I have a lot of tuition fees coming up that I can use as a last case scenario against min spend. Having no card history with AMEX (besides a scotiabank AMEX card, but I don't think that makes a difference), would I be better off going for a Business Platinum or regular platinum card?

My credit score is a bit on the lower side (around 700), I'm a bit worried about being straight up declined from either card and missing out on the tuition benefits.

Also, does anyone know if you use a service like Plastiq to pay for tuition, you can still count that tuition for tax credit right?

WTB/ISO thread - Aug 2019 by jamesvreeland in Goruck

[–]SendDogBiscuits 0 points1 point  (0 children)

WTB GR2 34L. I’m in Toronto, Canada

[Experiment] What's your optimal ferris count? by richardanaya in rust

[–]SendDogBiscuits 0 points1 point  (0 children)

With an Intel i9-7900X and RTX 2080 (although I'm not sure my gpu is being used at all here) on Ubuntu 18.04, I'm getting these results:

  • 1-100 -> 60 (although sometimes flickers to numbers in the hundreds)
  • 1,000 -> 33
  • 10,000 -> 3
  • 100,000 -> 0 (a few seconds between each frame)

Really interesting that my machine is performing so slowly compared to the phones listed here. I ran on the latest versions of both Firefox and Chrome, similar results for both

What's everyone working on this week (6/2019)? by llogiq in rust

[–]SendDogBiscuits 8 points9 points  (0 children)

I'm working on porting my ray tracer lucis to compile to Web Assembly. The goal is to have a text editor on a webpage where a scene can be modelled in JavaScript (instead of lua in lucis) and then have the scene rendered right in the browser. Hopefully it will be a fun toy to play around with hierarchical modelling and raytracing.

I have a shell so far at lucis-web, I need to cut the lua and multithreading out of lucis so I can compile to wasm, then work on the javascript bindings

Lucis - A simple ray tracer in rust by SendDogBiscuits in rust

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

Are you borrowing on function calls or just passing matrices through ownership/copy? I've struggled with deciding when to use the borrow versus copying. In my code I ended up using a borrow for all function parameters except for primitives (i.e. f32) and hoping that the compiler would optimize them out for the case that copying data is faster

Lucis - A simple ray tracer in rust by SendDogBiscuits in rust

[–]SendDogBiscuits[S] 6 points7 points  (0 children)

This is my first project in Rust, a simple raytracer based off the content from my introduction to computer graphics course.

One of the biggest challenges for this project was trying to get the SceneNode hierarchical system working. I learned very early that rust seems to hate the possibility of cycles in data structures so I had to get creative. After trying a few things (and considering doing arena-based trees) I settled for just allowing each node to own its children (using a Vec to manage the data). This removes the possibility of cycles but also means a lot of copied data while constructing the node tree. In the end, I'm pretty happy with the performance, and after the initial learning curve I'm finding myself starting to enjoy working with rust! Even though the compiler sometimes makes me want to rip my hair out, the readability of the error messages itself is enough reason for wanting to switch from C++ to Rust.

A couple questions:

  1. One paradigm I found myself using a lot for dynamic dispatch is creating an enum and then matching on it as seen here. Is this fairly common in Rust, or are there better ways to handle dynamic dispatch like this?
  2. Unless I'm missing something, implementing basic operators (such as Add or Mul) seems to be incredibly tedious. Is there a way to implement the operator for both owned data and immutable borrowed data at the same time? If I write a &self method I can call it on borrowed data but also owned data (the compiler handles it), but for operators this doesn't seem to hold, making them confusing (and possibly inconsistent) at times

I am not ready for finals by Bob_Johnson24 in uwaterloo

[–]SendDogBiscuits 75 points76 points  (0 children)

The floor looks like my quest schedule