|
jit bull transpile posted:Can someone explain what is meant by "composability"? It's a term that is used itt all the time but I've never encountered it elsewhere. it's when it's easy to use two different things together. name comes from function composition i.e. g(f(x)) how it's easy to compose the functions f and g. the opposite would be when two different things are real hard to use together, like how if you had to do some large conversion on the result f(x) before you could call g on it.
|
# ? Jul 23, 2018 21:31 |
|
|
# ? Oct 11, 2024 06:26 |
|
linq is a good example of composability.
|
# ? Jul 23, 2018 21:34 |
|
luckily i don't have to think about tefposts since everything in one db hell yeah no message queues no masters jony neuemonic posted:well, and this may be a not great explanation and will definitely be web-biased but here's why i like it (which will hopefully be more useful than a glib 'it passes messages to message handlers'): this is a way better sell than the mediatr github page
|
# ? Jul 23, 2018 21:51 |
|
jit bull transpile posted:Can someone explain what is meant by "composability"? It's a term that is used itt all the time but I've never encountered it elsewhere. to contrast with inheritance, in the "car extends vehicle" example instead of defining a complicated "Vehicle" interface that makes a lot of assumptions about what a vehicle is, you'd define smaller modules like "HasWheels", "ContainsPassenger", "KillsPedestrians" etc. Then you can have "Car extends HasWheels with ContainsPassenger" or "DriverlessCar extends HasWheels with KillsPedestrians". DONT THREAD ON ME fucked around with this message at 21:59 on Jul 23, 2018 |
# ? Jul 23, 2018 21:56 |
|
you see, composability is like lego
|
# ? Jul 23, 2018 22:00 |
|
composability good, class inheritance bad willing to die on this hill
|
# ? Jul 23, 2018 22:01 |
|
redleader posted:you see, composability is like lego i mean...it is though, right? i always took "composable" to mean "you can easily mash it together with other things in order to get different effects"
|
# ? Jul 23, 2018 22:01 |
|
negation is not composable with square roots unless you include the complex library
|
# ? Jul 23, 2018 22:06 |
|
Captain Foo posted:negation is not composable with square roots unless you include the complex library wish your posts weren’t composable
|
# ? Jul 23, 2018 22:07 |
|
Lutha Mahtin posted:i mean...it is though, right? i always took "composable" to mean "you can easily mash it together with other things in order to get different effects" that's how legos work
|
# ? Jul 23, 2018 22:08 |
|
MALE SHOEGAZE posted:wish your posts weren’t composed this is my legacy postbase, so deal with it
|
# ? Jul 23, 2018 22:08 |
|
ok what’s the best blogging option in 2018? this is about shameless self promotion and not a burning passion to share my ideas with the world so im willing to pay i guess. ideally there’d be analytics i guess. not sure about comments: id guess that comments generate more traffic but it gives people an opportunity to point out how stupid i am right there in the blog, as opposed to offsite. also people with blogs: do you think it’s helped your career much?
|
# ? Jul 23, 2018 22:14 |
|
MALE SHOEGAZE posted:ok what’s the best blogging option in 2018? this is about shameless self promotion and not a burning passion to share my ideas with the world so im willing to pay i guess. ideally there’d be analytics i guess. not sure about comments: id guess that comments generate more traffic but it gives people an opportunity to point out how stupid i am right there in the blog, as opposed to offsite. medium
|
# ? Jul 23, 2018 22:14 |
|
redleader posted:this is a way better sell than the mediatr github page ty. i think the author has done some blog posts about it but the github readme could probably still do with a "why, though?" blurb.
|
# ? Jul 23, 2018 22:15 |
|
carry on then posted:medium no syntax highlighting? i'm not writing a go blog friend. ok you can embed gists which is good enough but ugh this wysiwyg editor is really painful DONT THREAD ON ME fucked around with this message at 22:26 on Jul 23, 2018 |
# ? Jul 23, 2018 22:23 |
|
MALE SHOEGAZE posted:ok what’s the best blogging option in 2018? this is about shameless self promotion and not a burning passion to share my ideas with the world so im willing to pay i guess. ideally there’d be analytics i guess. not sure about comments: id guess that comments generate more traffic but it gives people an opportunity to point out how stupid i am right there in the blog, as opposed to offsite. https://dev.to/
|
# ? Jul 23, 2018 22:46 |
|
MALE SHOEGAZE posted:no syntax highlighting? i'm not writing a go blog friend. that's just what it takes to be a thought leader
|
# ? Jul 23, 2018 22:48 |
|
MALE SHOEGAZE posted:composability good, class inheritance bad willing to die on this hill
|
# ? Jul 23, 2018 22:55 |
|
gently caress it rolling my own blogging engine
|
# ? Jul 23, 2018 23:29 |
|
MALE SHOEGAZE posted:wish your posts weren’t composable
|
# ? Jul 23, 2018 23:30 |
|
Lutha Mahtin posted:i mean...it is though, right? i always took "composable" to mean "you can easily mash it together with other things in order to get different effects" i spent about zero seconds thinking through this analogy, so i'm sure someone is going to swing by and categorically explain why composability IS NOT lego and hurt my feelings
|
# ? Jul 23, 2018 23:30 |
|
redleader posted:i spent about zero seconds thinking through this analogy, so i'm sure someone is going to swing by and categorically explain why composability IS NOT lego and hurt my feelings actually it's k'nex
|
# ? Jul 23, 2018 23:33 |
|
MALE SHOEGAZE posted:gently caress it rolling my own blogging engine what are you writing it in?
|
# ? Jul 23, 2018 23:37 |
|
MALE SHOEGAZE posted:composability good, class inheritance bad willing to die on this hill they’re both good just for different things “class inheritance bad” is essentially denying the existence of is-a relationships, which is laughable on its face
|
# ? Jul 23, 2018 23:48 |
|
MALE SHOEGAZE posted:ok what’s the best blogging option in 2018? this is about shameless self promotion and not a burning passion to share my ideas with the world so im willing to pay i guess. ideally there’d be analytics i guess. not sure about comments: id guess that comments generate more traffic but it gives people an opportunity to point out how stupid i am right there in the blog, as opposed to offsite. putting your poo poo on your own domain (though hosted) is something you’ll want to do though be sure to leverage Twitter etc. too, for audience engagement micro.blog is easy to host stuff on, also can work like Twitter itself but also lets you host bigger content including photos and podcasts and can also act as a gateway/aggregator for your own hosted stuff (imagine if medium pulled from your wordpress server)
|
# ? Jul 23, 2018 23:52 |
|
MALE SHOEGAZE posted:gently caress it rolling my own blogging engine write it in server side Swift!
|
# ? Jul 23, 2018 23:52 |
|
write it in fullstack rust
|
# ? Jul 24, 2018 00:03 |
|
eschaton posted:write it in server side Swift! this. you'll be the only one with any experience doing it, which will present one or possibly two consulting opportunities in the future.
|
# ? Jul 24, 2018 00:04 |
|
redleader posted:luckily i don't have to think about tefposts since everything in one db hell yeah no message queues no masters yeah this is much more useful than the github page, thanks. I think I can think of a good use case for it to update a n existing feature but it would be a bit of a "doing it for the sake of doing it" type thing so maybe not. thought I guess it would be my opportunity to be "that guy" that integrates some incomprehensible library into an app for no reason
|
# ? Jul 24, 2018 00:18 |
|
MALE SHOEGAZE posted:gently caress it rolling my own blogging engine it's really not that hard if you just want markdown in -> static site out. i think i've written 3 different versions of that but still can't be bothered to actually blog.
|
# ? Jul 24, 2018 00:36 |
|
eschaton posted:write it in server side Swift! Bloody posted:write it in fullstack rust honestly i'm not gonna do it because like jony neuemonic, i've already done it 3 times and i dont want to get distracted by something i already know how to do. but i really want to. maybe i will write a blog engine in both languages and then write a blog comparing and contrasting. eschaton posted:theyre both good just for different things i'm being facetious. clearly a language needs to be able to model is-a relationships. i suppose i'd amend my statement to say "composition is better than complex inheritance. eschaton posted:
yeah i'm definitely going to market this around. the rust team just introduced some blog amplifying program where you submit your blog and they post it up all over the place so i'm gonna try and do that too.
|
# ? Jul 24, 2018 01:12 |
|
MALE SHOEGAZE posted:ok what’s the best blogging option in 2018? this is about shameless self promotion and not a burning passion to share my ideas with the world so im willing to pay i guess. ideally there’d be analytics i guess. not sure about comments: id guess that comments generate more traffic but it gives people an opportunity to point out how stupid i am right there in the blog, as opposed to offsite. medium and no, it has not. i wrote some rebuttals to antirez promoting dumb and broken things you could use redis for and i got six months of people begging me to help them fix their redis problems
|
# ? Jul 24, 2018 01:34 |
|
the only sustainable way I found to blog was to just post a thing there when it's either: a) a talk transcript b) a rant I keep repeating over and over until I'm tired and then I just link to the thing b) is worth it because if you're a talkative person with a lot of things to rant about, it ends up saving time. Everything else ended up being kind of meh, and either felt like chasing clicks (I got rid of all tracking to fix that), or dumping half-finished tutorials.
|
# ? Jul 24, 2018 02:17 |
|
lol, spent 3 hours in our dumbest and most simple API that literally just does CRUD operations trying to figure out why a consumer storing an ISO date string "2018-07-23T16:20:00Z" was getting back "7/23/2018 4:20:00 PM". The API isn't supposed to parse the string at all and the only transformation any data undergoes involves mapping the API data model to a DB data model before storing it in Cosmos DB. Weirdly, the string was actually correctly stored as an ISO string in Cosmos DB as well. Turns out that Newtonsoft.Json, dependency of several Microsoft packages, including the Cosmos DB one has a really cool feature: It parses ISO date strings from JSON as DateTimes by default even though JSON has no concept of a Date type.
|
# ? Jul 24, 2018 02:38 |
|
best part of that 2 y/o (and still recently active) github issue:thomaslevesque posted:@JamesNK could you explain the reasons behind this design? It seems pretty strange to me that a string value should arbitrarily be interpreted as a date just because it looks like a date... JamesNK posted:Because JSON doesn't have a date format.
|
# ? Jul 24, 2018 02:42 |
|
MALE SHOEGAZE posted:actually it's k'nex you wound me, sir
|
# ? Jul 24, 2018 02:45 |
|
i should find something to blog about. gives me some way of showing "despite the long stint at $job, this person still has a functioning brain and can pretend he knows what he's talking about"
|
# ? Jul 24, 2018 02:47 |
|
MALE SHOEGAZE posted:yeah i'm definitely going to market this around. the rust team just introduced some blog amplifying program where you submit your blog and they post it up all over the place so i'm gonna try and do that too. the Rust Evangelism Strike Force… is real?!
|
# ? Jul 24, 2018 03:18 |
|
I would blog if I had anything interesting to talk about at all that wasn't just straight up violating ndas
|
# ? Jul 24, 2018 03:20 |
|
|
# ? Oct 11, 2024 06:26 |
|
Bloody posted:I would blog if I had anything interesting to talk about at all that wasn't just straight up violating ndas oh my god the ndas i wanna pop rn
|
# ? Jul 24, 2018 03:24 |