@fasterthanlime@hachyderm.io titelbild
@fasterthanlime@hachyderm.io avatar

fasterthanlime

@fasterthanlime@hachyderm.io

hi, I'm amos! 🦀 I make articles & videos about how computers work 🐻‍❄ cool bear's less cool counterpart ✨ be kind

Dieses Profil is von einem föderierten Server und möglicherweise unvollständig. Auf der Original-Instanz anzeigen

fasterthanlime , an Random Englisch
@fasterthanlime@hachyderm.io avatar

I often think about "computer bad" and similar defeatism — so much is fixable via training, customization + just not buying garbage (which requires money, money solves a lot of problems!).

I'll never understand folks complaining about something they have the means to fix.

fasterthanlime OP ,
@fasterthanlime@hachyderm.io avatar

I guess for me key insights were: anyone who says "it just be like that sometimes" simply hasn't put the requisite effort into it, that my work output and health depend directly on the equipment I have, and that it's okay to take yourself seriously and invest in yourself.

fasterthanlime OP ,
@fasterthanlime@hachyderm.io avatar

I notice this elsewhere — that things aren't nearly as bad as reported. French administration, driving in Paris, both infamous: turns out? Not that bad! There's rules, a culture, a vibe, but it can be learned, it's solvable. It's not an unquantifiable, anxiety-inducing evil.

fasterthanlime OP ,
@fasterthanlime@hachyderm.io avatar

I guess it's human nature to complain. No matter their living situation, humans will find something to complain about.

With depression, I don't have that luxury: genuinely starting to believe "everything is shit" is the beginning of the end for me.

fasterthanlime OP ,
@fasterthanlime@hachyderm.io avatar

I can't accept that "everything is shit". I accept the bad things, but looking for the good things is a matter of survival for me.

And there is plenty of good. Meds helping, I can see that now. I can't stop everyone else from complaining, but I can feel.. blessed.

fasterthanlime OP ,
@fasterthanlime@hachyderm.io avatar

@deshipu you're choosing to interpret my words with a specific framing that's clearly different from the one I had when writing them. that's your prerogative!

fasterthanlime , an Random Englisch
@fasterthanlime@hachyderm.io avatar

I have a MIDI keyboard and Ableton open and my cat and I are playing a game of "find what setting my paw toggled"

I'm losing, btw

fasterthanlime OP , (Bearbeitet )
@fasterthanlime@hachyderm.io avatar

My other cat (who has a bed beneath my screens, just behind my keyboard), has learned that if he extends a paw onto my keyboard, he gets cuddles and kisses as I beg him to not paw my keyboard.

Our incentives may not be aligned anymore.

fasterthanlime , an Random Englisch
@fasterthanlime@hachyderm.io avatar

left on the cutting room floor:

fasterthanlime OP ,
@fasterthanlime@hachyderm.io avatar

@dysfun

> ass.trailing_ones();

mhhhhhhh

fasterthanlime , an Random Englisch
@fasterthanlime@hachyderm.io avatar

update: the zed folks are working on updating the page at /eula — it predates their open source release.

https://x.com/katopz/status/1795687703700541611

https://hachyderm.io/@fasterthanlime/112514518353979917

fasterthanlime OP ,
@fasterthanlime@hachyderm.io avatar

@onelson I hear it works pretty well for some folks! Haven't tried it myself (except for the headless version).

fasterthanlime , an Random Englisch
@fasterthanlime@hachyderm.io avatar

Say you had a bunch of .rar files and you forgot their password. What tool would you use to recover the data, in the year of our lord 2024?

fasterthanlime , an Random Englisch
@fasterthanlime@hachyderm.io avatar

Has anyone found a decent alternative to codecov yet? I basically just want to show llvm's coverage output over time, nothing too fancy.

Also I want the upload to never ever fail.

fasterthanlime , an Random Englisch
@fasterthanlime@hachyderm.io avatar

zed is so fucking good now.

so fucking good. it's been my daily driver for a few weeks now! it's so good.

fasterthanlime OP ,
@fasterthanlime@hachyderm.io avatar
fasterthanlime OP ,
@fasterthanlime@hachyderm.io avatar

@tulpenkiste @argv_minus_one @jakob @mo I don’t think that’s accurate. I asked them to clarify.

fasterthanlime OP ,
@fasterthanlime@hachyderm.io avatar

@jakob No reply yet

fasterthanlime OP ,
@fasterthanlime@hachyderm.io avatar
fasterthanlime OP ,
@fasterthanlime@hachyderm.io avatar
fasterthanlime OP ,
@fasterthanlime@hachyderm.io avatar

@mandarvaze ollama yes for the assistant (although I haven't tried that yet). It's not possible to swap out github copilot right now afaict.

fasterthanlime OP ,
@fasterthanlime@hachyderm.io avatar

@mandarvaze The setting has existed for longer than the documentation, which was updated in the last few weeks if I remember correctly 😌 I don’t mind answering questions about Zed!

fasterthanlime , an Random Englisch
@fasterthanlime@hachyderm.io avatar

Although I've known about it for years it's just now going click in my brain how big of a hack the syn crate is and how much I dislike it 🙃

https://lib.rs/crates/syn

fasterthanlime OP ,
@fasterthanlime@hachyderm.io avatar

I really dislike that derive macros have to essentially ship their own parser to access some form of AST: introspection would solve that and yeah, we missed out on that rustconf talk + work, didn't we.

fasterthanlime OP ,
@fasterthanlime@hachyderm.io avatar

And yeah I understand some proc macros essentially need to be parsers because they extend the syntax or whatever, sure. And I understand API compatibility for an AST is really hard (I studied the proc macro bridge) but that's... such a waste of CPU cycles.

fasterthanlime OP ,
@fasterthanlime@hachyderm.io avatar

@mgattozzi yeah yep same

fasterthanlime OP ,
@fasterthanlime@hachyderm.io avatar

@ENDERZOMBI102 there's already a proc macro bridge! the machinery is there.

fasterthanlime OP ,
@fasterthanlime@hachyderm.io avatar

@janet mhhH I wonder if cargo --timings reports time spent on proc macro invocations, now that I think about it. (I suspect it doesn't)

fasterthanlime OP ,
@fasterthanlime@hachyderm.io avatar

Speaking of wasting CPU cycles I just learned/remembered that proc macros (just like all build-time deps) are compiled in debug mode by default.

Maybe we could switch to using cranelift with optimizations at some point in the future? Idk.

fasterthanlime , an Random Englisch
@fasterthanlime@hachyderm.io avatar

There’s still noticeable lag between the map being dragged and the paths following in Uber for iOS. What the fuck are they doing over there.

fasterthanlime , an Random Englisch
@fasterthanlime@hachyderm.io avatar

Another 12 hour flight, cross your fingers for me please 🤞

fasterthanlime , an Random Englisch
@fasterthanlime@hachyderm.io avatar
brooke , an Random Englisch
@brooke@bikeshed.vibber.net avatar

do i miss irc or do i miss being 25

fasterthanlime ,
@fasterthanlime@hachyderm.io avatar

@brooke today in hard truths

chrisbiscardi , an Random Englisch
@chrisbiscardi@hachyderm.io avatar

diving back into wgpu 0.20 + winit 0.30 with a focus on referencing crates and connecting concepts.

fasterthanlime ,
@fasterthanlime@hachyderm.io avatar

@chrisbiscardi yes yes yes

fasterthanlime , an Random Englisch
@fasterthanlime@hachyderm.io avatar

re offline Rust: everything in crate docs, or rustdoc (the cargo manual, incl. unstable features, etc.) you can take with, but, for example, neither serde_derive nor serde_macros actual documents container/field attributes.

reading proc macro sources in anger is no fun!

fasterthanlime OP ,
@fasterthanlime@hachyderm.io avatar

I had the same issue with at least another crate, the rust doc comments were pretty short and linked to the website heavily, which... I wish I thought about httrack'ing before the flight, but, reader, I didn't.

fasterthanlime OP ,
@fasterthanlime@hachyderm.io avatar

In other news, I'm excited to announce that instead of writing a proc macro (I definitely can't off the top of my head + didn't have the right deps offline), I wrote a program that invokes cargo rustdoc, parses its JSON output, and pipes generated code to rustfmt

Because there's no reason gophers should get all the codegen fun!

fasterthanlime OP ,
@fasterthanlime@hachyderm.io avatar

@mjk well it's not even a build script, since those slow down compilation a lot too.. it's just a separate crate that generates the sources for another crate. I need to remember to run it manually now and then.

fasterthanlime OP ,
@fasterthanlime@hachyderm.io avatar

I'm not even sure this could be a proc macro tbh? Since its output is a macro-by-example. Can proc macros output MBEs?

https://github.com/bearcove/fluke/blob/09afc3aafeac74647cf1502fefcf414f68486581/crates/httpwg-gen/src/main.rs

fasterthanlime OP ,
@fasterthanlime@hachyderm.io avatar

@mgattozzi I guess one hard bit is that... I sorta want my proc macro to be stateful? Like.. I'm registering (http2 compliance suite) test cases and then there should be another macro that generates the macro.. that generates rust test cases (against a specific implementation)

it's.. confusing. and I'm not exactly sure how a proc macro crate would keep track of all that.

fasterthanlime OP ,
@fasterthanlime@hachyderm.io avatar

@mgattozzi cargo caching is the thing stopping me from doing that x)

imagine only some invocations get done, or in a different order…

iacore , an Random Englisch
@iacore@mastodon.de avatar

@fasterthanlime

hello futurerthanlime!

fasterthanlime ,
@fasterthanlime@hachyderm.io avatar

@iacore woops I guess I meant "starting 2026"? I don't know, can "as of" really not be used for the future?

fasterthanlime , an Random Englisch
@fasterthanlime@hachyderm.io avatar

Ready for a 12 hour flight 🫡

fasterthanlime , an Random Englisch
@fasterthanlime@hachyderm.io avatar

Uhhhh wish me luck

fasterthanlime OP ,
@fasterthanlime@hachyderm.io avatar

@denis likewise

fasterthanlime OP ,
@fasterthanlime@hachyderm.io avatar

I really should've gotten that shirt after all https://www.bonfire.com/parody-shirt-do-not-sue/

fasterthanlime OP , (Bearbeitet )
@fasterthanlime@hachyderm.io avatar

Playing Boeing roulette again today

edit: I lived!

cadey , an Random Englisch
@cadey@pony.social avatar

Twitter changed the URL to x.com for me. End of an era.

fasterthanlime ,
@fasterthanlime@hachyderm.io avatar

@cadey RIP

  • Alle
  • Abonniert
  • Moderiert
  • Favoriten
  • random
  • haupteingang
  • Alle Magazine