@benwis@hachyderm.io
@benwis@hachyderm.io avatar

benwis

@benwis@hachyderm.io

Software Engineer (he/him)
Rustacean🦀 | Typescriptee | Runner 🏃‍♂️
Easily tempted with food

Really excited about Rust on the web and WebAssembly!

This profile is from a federated server and may be incomplete. Browse more on the original instance.

benwis, to rust
@benwis@hachyderm.io avatar

A developer is only as good as their IDE. I wrote up how I built a sick Leptos IDE in neovim with autocompletion, formatting, auto tag closure, and highlighting of RSX in view! macros!

https://benw.is/posts/easy-leptos-editor

benwis, to rust
@benwis@hachyderm.io avatar

Using Rust for full stack web development has a lot of advantages, and represents a competitive advantage for some applications.

My talk from Rust Nation UK is now a blog post!
https://benw.is/posts/full-stack-rust-with-leptos

eb, to security
@eb@social.coop avatar

Unfolding now: https://news.ycombinator.com/item?id=39865810

An incredibly technically complex in xz (potentially also in libarchive and elsewhere) was just discovered. This backdoor has been quietly implemented over years, with the assistance of a wide array of subtly interconnected accounts:

The timeline on this is going to take so long to unravel

benwis,
@benwis@hachyderm.io avatar

@brainwane @luis_in_brief @glyph @geofft @diazona @eb @djc How to monetize open source is such an interesting question.

benwis,
@benwis@hachyderm.io avatar

@luis_in_brief @eb @brainwane @glyph @geofft @diazona @djc

Does Tidelift support Rust projects?

benwis, to random
@benwis@hachyderm.io avatar

It takes about as long for C++ developers to learn Rust as to teach Java developers Kotlin. About 8 weeks/2 months.
-Lars Bergstrom, Google
Rust Nation UK Talk

benwis, to rust
@benwis@hachyderm.io avatar

"Rust teams at Google are as productive as ones using Go, and more than twice as productive as teams using C++" - Google

benwis, to rust
@benwis@hachyderm.io avatar

I compiled my Rust/C++ crate to WASI and used it to build a markdown editor with live preview! Then I wrote about it!
https://benw.is/posts/compiling-rust-to-wasi

benwis, to rust
@benwis@hachyderm.io avatar

I'm very excited about the future of webassembly and wasi preview 2.0. I compiled my Rust/C++ crate femark into a wasi component, and used it to make an editor with live preview and syntax highlighting for Leptos

A video of a side by side editor, where you type markdown and markdown code blocks on the left, and ithe right is a life preview

benwis, to rust
@benwis@hachyderm.io avatar

Is it reasonable to expect a program to return 0 if successful or non-zero if not? Rust doesn't seem to do tha by defaultt, and it seems like it might be archaic

benwis,
@benwis@hachyderm.io avatar

@onelson We've got a cli tool that spawns a bunch of sub tasks, and the sub tasks failures aren't propagating upward. It's a more complicated issue as to whether it's a bug or not, as it's not really supposed to, but I was curious about how common this behavior is

benwis, to random
@benwis@hachyderm.io avatar

Why is it that fast food in foreign countries is so much better than the US. KFC in Japan has a whiskey bar, Wendy's a foe-gras and Truffle burger. Why do we tolerate that?

https://www.smithsonianmag.com/arts-culture/why-japan-is-obsessed-with-kentucky-fried-chicken-on-christmas-1-161666960/

thelusciouslibra, to random

If you ever see a single person bitching about sex workers advertising on mastodon with the premise that it's "meant to be an ad free space" please tear them a new one.

The circle of safe social media platforms for sex workers keeps growing smaller, mastodon may be one of the only places we have left.

Please don't kick us out too.

benwis,
@benwis@hachyderm.io avatar

@thelusciouslibra If I can promote my random tech stuff, you should be able to promote your stuff.

Sorry social media(and society) isn't more understanding

benwis, to random
@benwis@hachyderm.io avatar

I can think of few people who can teach Rust better than @timClicks
He's got a few more slots in his pay-what-you-can course. Check it out
https://comprehensive-rust-2023-11.lilregie.com/

benwis, to random
@benwis@hachyderm.io avatar

Y'all have no idea how excited I am that Rust's http crate is going to be Clone on November 15!
https://github.com/hyperium/http/issues/395

benwis, to random
@benwis@hachyderm.io avatar

I reduced my incremental compile times, and you can too. Probably.
https://benw.is/posts/how-i-improved-my-rust-compile-times-by-seventy-five-percent

timClicks, to random
@timClicks@mastodon.nz avatar

From observing companies' recent behaviour, it appears that the cool thing about AI is that you can call yourself an open source company without actually being open source.

benwis,
@benwis@hachyderm.io avatar

@timClicks Kinda like they can say they are a startup despite having millions of dollars, a large staff, and having been around for years!

timClicks, to random
@timClicks@mastodon.nz avatar

Musk has finally solved the social curse of needing to protect vehicles from stray arrows.

benwis,
@benwis@hachyderm.io avatar

@timClicks Tesla owners are now safe from Robin Hood!

simon, (edited ) to random
@simon@simonwillison.net avatar

Urgh. Got woken up at 3:19am by a test of the earthquake alert system that was supposed to happen at 10:19am... but they accidentally scheduled it in UTC instead of California time zone!

I mean, time zones are hard, but still - such a rookie error
https://www.latimes.com/california/story/2023-10-19/california-earthquake-early-warning-test-goes-off-seven-hours-early

benwis,
@benwis@hachyderm.io avatar

@simon Interesting, I got it exactly at 10:19

benwis,
@benwis@hachyderm.io avatar

@simon Maybe I slept through it lol

benwis, to random
@benwis@hachyderm.io avatar

Taking a poll, what's your favorite workstation Linux distro?

benwis,
@benwis@hachyderm.io avatar

@AngryAnt I’m on Nixos right now, and it’s been just annoying enough that I’m considering switching to something like Arch with Nix

aeva, to random
@aeva@mastodon.gamedev.place avatar

I swear, for the love of god, to whoever makes these UI pages: stop being so fucking creepy.

Seriously, what the actual fuck, you people sign me up for emails I don't want, and then I get opt out buttons like this:

benwis,
@benwis@hachyderm.io avatar

@aeva @cwebber Nothing like guilt tripping people who try to leave

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • kavyap
  • DreamBathrooms
  • thenastyranch
  • magazineikmin
  • osvaldo12
  • khanakhh
  • Youngstown
  • mdbf
  • slotface
  • rosin
  • everett
  • ngwrru68w68
  • Durango
  • anitta
  • InstantRegret
  • GTA5RPClips
  • cubers
  • ethstaker
  • normalnudes
  • tacticalgear
  • cisconetworking
  • tester
  • Leos
  • modclub
  • megavids
  • provamag3
  • lostlight
  • All magazines