@natevw@toot.cafe avatar

natevw

@natevw@toot.cafe

some mix of TMBG's Dr. Worm, Yael Naim's New Soul, and Frank Zappa's Montana perhaps

didn't used to use the extra comma; occasional drama llama; overthinks current events whilst knowledge of prior events is lacking

hobbies have been limited by international treaty to: books/reading, music/making, gardening/animals, electronics/radio, computers/interfaces (in no particular order and perhaps a couple others grandfathered in that I'm forgetting right now (like such as in hoarding business cards))

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

indutny, to random
@indutny@fosstodon.org avatar

I love how the Category Theory textbook that I’m reading pulls somewhat advanced concepts from adjacent fields as examples with little to no introduction at all, and later draws on them and puts them in the exercises.

natevw,
@natevw@toot.cafe avatar

@indutny are you taking a guided course or is it approachable enough for self-taught? if the latter then I'm curious which one!

ekuber, to rust
@ekuber@hachyderm.io avatar

Request for feedback: how would you change this compiler error? Can you tell what's going on? What the problem is? Do you get a sense of how you might be able to solve it?

natevw,
@natevw@toot.cafe avatar

@ekuber the problem seems clear enough about halfway through. the solution though — idk? iiuc you're telling me that the trait at play in one place comes from a different crate in the other place 👍

but now, as a newcomer to Rust culture — is the solution to alias the crates so I can refer to each one explicitly? or to somehow get rid of the conflicting copy? (maybe the fanciest would be for cargo itself to detect and warn before the code even gets to this point?)

natevw, to random
@natevw@toot.cafe avatar
aeva, to random
@aeva@mastodon.gamedev.place avatar

random brain wandering:

Suppose you have a cellular space like a grid or a quad tree or such. Each cell intersecting a shape (say, a triangle) records relative surface feature (say, a plane) that might be useful for recovering or extrapolating a nearest point on surface. Maybe a cell stores an authoritative surface feature, or maybe it can have several, doesn't really matter for this post.

Then, empty neighbors use that data to generate their own (non-overlapping) relative surface features.

natevw,
@natevw@toot.cafe avatar

@aeva are you and @zens talking about at all the same thing? https://merveilles.town/@zens/112352175025354588

as a non-3d graphics I'm interpreting both as kind of, pixels with sparkling metadata? 🙈

exchgr, to random
@exchgr@mastodon.world avatar

how i write songs: at random intervals, my teeth retract and a cd pops out of my mouth with a fully formed song on it, which i then learn to play

natevw,
@natevw@toot.cafe avatar

@exchgr lol, I've been reading this book and I don't know barely anything about the author or his band beyond how he's presented himself within but I feel like this advice could have made the cut

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

I'm becoming increasingly convinced that it is inappropriate for bug trackers to be used as high level project management tools and vice versa.

natevw,
@natevw@toot.cafe avatar

@aeva endorse!

one of my best-managed clients literally "just" maintains two copies of the TODO lists — issue tracker for the devs, checklists in some wysiwyg webapp for the stakeholders. I suspect it must be a lot of work for the PM to constantly translate/sync everything between the two. But what valuable work, for me as a dev, for our upstream client, and I suspect for him to keep tabs on it all as well!

natevw,
@natevw@toot.cafe avatar

@aeva and the beautiful irony of "agile" is that "We value individuals and interactions" of course got immediately turned into something that could be forced over a team as processes and tools.

https://agilemanifesto.org/

natevw,
@natevw@toot.cafe avatar

@aeva /me realizes he has never hugged his very non-BS PM

and that's probably just fine by him 😆 but I've certainly been taking his work less and less for granted the more of it I end up only attempting to emulate elsewhere. I think it must help him stay engaged and empowered to keep the deliverables on track too!

natevw, to random
@natevw@toot.cafe avatar

before you npm/cargo install ask yourself:

will I be killing any number of birds with any number of stones, here? or more just, maiming this bird with a whole subtree of someone elses's turds?

natevw,
@natevw@toot.cafe avatar

(this is true of other languages too but languages without "good" [?] package managers in my experience the bias seems to be more towards leveraging a few big dependencies like numpy or libcurl rather than dozens of random free-as-in-puppies like "make-array-unshift-slightly-more-cool")

natevw,
@natevw@toot.cafe avatar

"the better the package manager, the more bloated the projects"

(template via https://floofy.tech/@mynotaurus/112225070861924416 the other day)

danderson, to random
@danderson@hachyderm.io avatar

dangit, my inner data structure has a structural fault because of rust ownership semantics.

Conceptually, the inner struct is a binary tree where inner nodes can carry a value, and leaves can carry a value or a child tree. If you need a leaf to hold both a child and a value, you store the child and move the value to the child's root node.

Conceptually again, lookups walk down this tree-of-trees looking for the node representing the lookup key, and nearest self-or-parent value is the result.

natevw,
@natevw@toot.cafe avatar

@danderson @irenes @creachadair So I was maybe coming at it from a different angle, but found https://cliffle.com/p/dangerust/ really helpful. My understanding of unsafe Rust is basically similar to silencing a linter warning or (frankly) writing code in C itself — especially if you're writing data structures your job might very well be to craft a few careful tricky parts into a safer (or in Rust's case outright "safe") abstraction.

danderson, to random
@danderson@hachyderm.io avatar

Ooh, nope, got two more lines into this function, and I've been detained by the rust police again. This time the charge is that I tried using a value after relinquishing ownership.

Which, hmm, is correct, and I believe in this instance an explicit clone is right, because it's all just memcpy-able paperwork bits around an Rc, and I do in fact want to increase its refcount here.

Ooh, but in another branch of the enum there's no Rc, just a Box, and that must not be cloned. Hmm.

natevw,
@natevw@toot.cafe avatar

@danderson thank you for liveblogging this!

I've picked up maybe a dozen other programming languages, and all the cool kids love Rust and the way it's marketed a shoo-in for something I would too, but so far I've made barely any progress and it's been barely any fun 🤕

exchgr, to random
@exchgr@mastodon.world avatar

adam erics

natevw,
@natevw@toot.cafe avatar

@exchgr cw: polus

natevw,
@natevw@toot.cafe avatar

@exchgr or… polsu? 🤔

dabeaz, to random
@dabeaz@mastodon.social avatar

Current annoyance:

>>> @dataclass
... class Point:
... x : int
... y : int
...
>>> p = Point("two", "three")
>>> match p:
... case Point(x):
... print("Yep:", x)
...
Yep: two
>>>

Actually, there are multiple annoyances.

natevw,
@natevw@toot.cafe avatar

@dabeaz not following, were you hoping Python would stop you long before assigning x or more just that it would receive a different value?

natevw,
@natevw@toot.cafe avatar

@dabeaz ah, not at computer but I'm assuming then that Python wouldn't let you directly do Point("two") at runtime due to incorrect number of arguments? seems halfway legit that it would let you elide unused arguments when matching though.

hazelweakly, (edited ) to random
@hazelweakly@hachyderm.io avatar

Something that I find missing in almost every software company is this thing that I'm not sure I've seen explicitly called out anywhere, but I'm going to call it an Engineering Language.

https://hazelweakly.me/blog/engineering-language/

natevw,
@natevw@toot.cafe avatar

@hazelweakly I see I'm not the only one this resonated with (still need to finish reading it and now catch up on the additional convos here!) but this whole thing about how to communicate snowballing thoughts/ideas linearly has been a thing for me lately — thanks for writing this up and starting the discussions!

futurebird, to random
@futurebird@sauropods.win avatar

Car colors have grown more drab over the decades. I viewed this as a good thing. Cars are the prestige items they once were. Not a thing to impress anyone, just a machine. However, someone pointed out that the most popular colors now are a safety risk. They are the same color as the road or fog.

Tax break for bright purple and orange cars? Could it save lives?

natevw,
@natevw@toot.cafe avatar

@futurebird the graphs of the trends (e.g. https://www.thedrive.com/news/37001/this-graph-shows-how-car-paint-colors-have-gotten-more-boring-over-the-years has one) are always kind of fascinating to me — visually and just trying to guess at what the underlying correlations/causations might be!

natevw, to random
@natevw@toot.cafe avatar

the timeless way of building

mariyadelano, to marketing
@mariyadelano@hachyderm.io avatar

I have a mental illness and it affects my business.

My company is shaped by me and my moods. The way I network is shaped by the problems I struggle with. And the way I show up as a content creator and a marketer is affected by the mental illnesses that my brain suffers from.

If you don't mind taking 12 minutes out of your day, I would truly appreciate it if you could listen to my story.

#Marketing, #work, and #business – everything professional is also personal.

https://youtu.be/QHSOlYRJH68?si=FswlMg0dcRG53YqX

natevw,
@natevw@toot.cafe avatar

@mariyadelano oof yeah. have been thinking about so many words you used e.g. "bottling up" / "professional service" and others lately as I learn and grow through things in my own career. thanks for sharing!

exchgr, to random
@exchgr@mastodon.world avatar
natevw,
@natevw@toot.cafe avatar

@exchgr that seems to be a favorite right-wing trick lately, basically argue that any government agency that didn't exist in 1776 isn't allowed to have any power unless it plays a proper part in Others' patriotic obeisance to Homeland Security or Judeo-Christian™ Morality of course

natevw, to random
@natevw@toot.cafe avatar

@textfiles is https://www.tri-cityherald.com/news/local/article283639278.html a sort of collection Internet Archive would be interested in?

gsuberland, to random
@gsuberland@chaos.social avatar

one upside to having accidentally gotten super nerdsniped yesterday is that I made a bunch of realisations about transmission line behaviours in the lumped element model that I hadn't considered before.

natevw,
@natevw@toot.cafe avatar

@gsuberland /me wouldn't mind this accident becoming contagious, been too long since I've been on an RF physics binge!

natevw, to random
@natevw@toot.cafe avatar

got the 4 box set (at well below retail price)

  • All
  • Subscribed
  • Moderated
  • Favorites
  • Leos
  • khanakhh
  • magazineikmin
  • thenastyranch
  • Youngstown
  • Durango
  • rosin
  • slotface
  • everett
  • InstantRegret
  • PowerRangers
  • kavyap
  • tsrsr
  • DreamBathrooms
  • tester
  • mdbf
  • hgfsjryuu7
  • cubers
  • cisconetworking
  • vwfavf
  • ngwrru68w68
  • tacticalgear
  • GTA5RPClips
  • osvaldo12
  • modclub
  • ethstaker
  • normalnudes
  • anitta
  • All magazines