had my first "spend hours writing a heap of rust code, finally compiles, and omg what it works!?". here's a simulation of pixel positions from a tetrahedron shape, yay!pic.twitter.com/TaCRaXstct
This is the legacy version of twitter.com. We will be shutting it down on June 1, 2020. Please switch to a supported browser, or disable the extension which masks your browser. You can see a list of supported browsers in our Help Center.
A programming language empowering everyone to build reliable and efficient software.
You can add location information to your Tweets, such as your city or precise location, from the web and via third-party applications. You always have the option to delete your Tweet location history. Learn more
Add this Tweet to your website by copying the code below. Learn more
Add this video to your website by copying the code below. Learn more
By embedding Twitter content in your website or app, you are agreeing to the Twitter Developer Agreement and Developer Policy.
| Country | Code | For customers of |
|---|---|---|
| United States | 40404 | (any) |
| Canada | 21212 | (any) |
| United Kingdom | 86444 | Vodafone, Orange, 3, O2 |
| Brazil | 40404 | Nextel, TIM |
| Haiti | 40404 | Digicel, Voila |
| Ireland | 51210 | Vodafone, O2 |
| India | 53000 | Bharti Airtel, Videocon, Reliance |
| Indonesia | 89887 | AXIS, 3, Telkomsel, Indosat, XL Axiata |
| Italy | 4880804 | Wind |
| 3424486444 | Vodafone | |
| » See SMS short codes for other countries | ||
This timeline is where you’ll spend most of your time, getting instant updates about what matters to you.
Hover over the profile pic and click the Following button to unfollow any account.
When you see a Tweet you love, tap the heart — it lets the person who wrote it know you shared the love.
The fastest way to share someone else’s Tweet with your followers is with a Retweet. Tap the icon to send it instantly.
Add your thoughts about any Tweet with a Reply. Find a topic you’re passionate about, and jump right in.
Get instant insight into what people are talking about now.
Follow more accounts to get instant updates about topics you care about.
See the latest conversations about any topic instantly.
Catch up instantly on the best stories happening as they unfold.
had my first "spend hours writing a heap of rust code, finally compiles, and omg what it works!?". here's a simulation of pixel positions from a tetrahedron shape, yay!pic.twitter.com/TaCRaXstct
had a long battle with the rust borrow checker, ended up on top!
then moved on to the puzzle of how to implement a shape walker.
pic.twitter.com/hQ3pxSyYXk
bought some aluminum led strip channels, made a 3d model of the tetrahedron connectors, with 3 led strip channels per edge so the edges will be lit from all angles (for example, seeing the other side of the shape _through_ the shape)!



https://github.com/ahdinosaur/chandeledra/blob/master/edge-connectors/tetrahedron-edge-connector.stl …pic.twitter.com/xPjmetK1kO
.@whimful helps me with tetrahedron angles math, my previous edge connector was so wrong.
so fixed it, then re-structured it to fit wires inside and round the back!pic.twitter.com/6AL5YeqBvE
i made a new controller scene
https://github.com/ahdinosaur/chandeledra/blob/6d7f562fed9a5393606230402887901394d0b97c/controller-app/src/scene/spark.rs …pic.twitter.com/pVwhHiv1Ti
i got the rust code running on the Pocket Beagle displaying on some real led hardware!
(more details in ssb thread)pic.twitter.com/QWabKtGo7b
today got all the edges setup and powered! for context: there's 0.5 meters per channel, 60 pixels per meter, 3 channels per edge, 6 edges in a tetrahedron.
pic.twitter.com/6xBuVgM41Q
all controlled by @rustlang code running on this cute Linux computer from @beagleboardorg!
#beaglebone #pocketbeagle
fun learning: using rust's `--release` flag led to a 10x performance increase, wow!
pic.twitter.com/dsOUo63Gtt
That looks great! I'm curious, is there any article/paper explaining why you would see 10x performance increase due to `--release` flag?
Rust as a language is designed under the assumption that certain kinds of abstractions are easy for a compiler to optimize. It creates tons of intermediate structures that are supposed to be boiled away at runtime, for example.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.