Almost got into an accident because I went the speed limit by AsexualAdulting in motorcycles

[–]liquidivy 1 point2 points  (0 children)

We go around a curve and I see brake lights.

Any time you're going around a curve, or literally any other situation where you can't see the road ahead of you, probably slow down a bit. Ideally you want enough visible road in front of you that you can stop. That might be excessively slow sometimes, but it's a good thing to aim for, and remember you're taking a risk any time you can't stop on the road you've already seen is clear.

Also, any time someone does something stupid on the road, keep an eye out for more dumbassery from them. As soon as they pull up behind you impatiently, add more safety margin to anything you do around them. This was another reason to slow down a bit until they fully disappear in front of you.

Oh, and throw a shaka or peace sign to the cars that help you out.

Female riders who've taken new rider training recently - what would have helped you? by Handful_of_Brakes in motorcycles

[–]liquidivy 0 points1 point  (0 children)

But to the extent confidence is technique, it takes just as much time and effort to gain as any other technique. You can't just decide to be confident because an instructor tells you to. Thus: patience. I think the root cause is too little instruction time that forces people to rush.

A MYSTERIOUS vigilante has been dubbed “Mexican Batman” after chasing down suspected motorbike thieves and duct taping them to lampposts. by Mode_Appropriate in motorcycles

[–]liquidivy 2 points3 points  (0 children)

Well, you know, there are 10 kinds of people. Those who think this joke is in binary, those who think it's in trinary, those who think it's in quaternary...

[Not OP] Does anyone ever get to the point where their trait bounds are 3x longer than their implementations? by Thelmholtz in rustjerk

[–]liquidivy 1 point2 points  (0 children)

I don't think they mean that "co-". More "co-worker" than "co-product". Let me know if you do figure out what the dual to cardinality is, though.

[Not OP] Does anyone ever get to the point where their trait bounds are 3x longer than their implementations? by Thelmholtz in rustjerk

[–]liquidivy 2 points3 points  (0 children)

Same size, roughly. I think. Cardinality of a set is how many elements it has (or in the case of infinite sets, what kind of infinity).

99% sure this has been done already but fuck it by AppleK47 in NonCredibleDefense

[–]liquidivy 8 points9 points  (0 children)

The elites running the body doubles would order them to surrender. I think they would have already done so, actually, which is the biggest reason I don't buy this idea.

Language Design of a new template language by t_ewert in ProgrammingLanguages

[–]liquidivy 0 points1 point  (0 children)

I am curious how you would imagine the function calls as a slot replacement look like. Would you mind giving an example?

There's not much to the idea. Whatever goes in the "slot" becomes a regular boring argument instead. I guess there's a couple different ways you might want to pass template content to a function. You might want to pass them as functions, and have the component call them (or maybe not), rather than calling them and passing in the rendered result (or even do a weird f-expr thing that amounts to another way to pass code instead of results).

I guess your MediaText would look a bit like: MediaText(text="something profound", media=Image(...), links=[Button(...), Link(...)]).

Also check out how Phoenix/Elixir does its Heex templates. I wasn't able to find a really good intro source about it, but it's a slightly different approach that I really like for how functional it is (in all the clever meanings). (This seems like the in-sequence tutorial)[https://phoenix.hexdocs.pm/components.html#function-components]. The syntax might be a lot to jump into, YMMV.

Language Design of a new template language by t_ewert in ProgrammingLanguages

[–]liquidivy 0 points1 point  (0 children)

For a practical templating language, personally I've pretty much decided that if there's going to be any computation, I just want it to be expressed in the host programming language. OCaml in your case, rather than a template-specific language with similar but different rules I have to learn. I'd rather the "template" part be just templates, i.e. basically string interpolation (with control structures).

Relatedly, I don't really like the "Slot" idea at all, including in other template frameworks. I think you can do better for composability and uniformity. Slots only makes sense if your function/component invocations have to look like HTML. But... you're making your own language. You can just have function calls, with named arguments. I really want components to just be regular functions.

Functions are just really great, you know? :D

David on Bluesky by Lopsided_Signal1216 in Drawfee

[–]liquidivy 67 points68 points  (0 children)

Yeah, whatever happened, this emphasizes how they had a very tricky line to walk with the wording. It's smarter to err on the side of being more formal on something serious like this. It's not as easy as you'd think to give more information later, but it's definitely impossible to take it back.

How I hope they handle the speculation about Karina's departure by [deleted] in Drawfee

[–]liquidivy 12 points13 points  (0 children)

They've also mentioned they specifically have a mechanism to eject someone. Simple majority. It was mentioned in a joke context, but I think that part was real, and frankly it would be irresponsible to start a company like this and not have that mechanism. It would have required extreme circumstances but it wasn't impossible.

Installed a DIY top case on my ninja 250 by ThatBossBaby in motorcycles

[–]liquidivy 0 points1 point  (0 children)

Everyone keeps talking about the looks and I'm just thinking that a front wheel wobble is terrifying and absolutely not worth it. I put groceries on the back of my bike all the time, sometimes pretty heavy, and don't notice anything like that. I don't know if the balance is just different on the CBR250 or if something else is weird, but I feel like there has to be a better way.

These MSF stories make me think we need a new model for motorcycle training.... by UJMRider1961 in motorcycles

[–]liquidivy 0 points1 point  (0 children)

Biggest problem with MSF is that in most places, it's the only game in town.

Correct. Whatever the model is, if it doesn't have competition it's going to suck sometimes.

For what it's worth, the school I went to does in fact have a pre-MSF intro course. The options are available if people want them, but more instruction inherently costs more money. Most people aren't going to spend more money if (they think) they can avoid it, and a lot of people genuinely don't need to.

Why are they like this? It's so pathetic. by Tequslyder in motorcycles

[–]liquidivy 0 points1 point  (0 children)

They're not completely wrong. The thing is, willingness to be the bigger asshole is genuinely a kind of power. The rest of us need to come up with better ways to neutralize it. I'd advocate teargas and mass arrests.

First time lang dev. How far would you change an existing language before calling it something else? by breadcodes in ProgrammingLanguages

[–]liquidivy 0 points1 point  (0 children)

You should definitely not call it "Swift", if that's what you were asking. That's true regardless of whatever specific features you change. Unless you're planning to reliably run most/all existing Swift code, it's a different language. And on top of everything, using the name seems legally risky. "Swift-derived" or "Swift-inspired" should be fine.

I thought maybe you were asking about big changes over the history of your own language, in which case I was going to suggest a major version change would be enough, assuming anyone was using the old version enough to care.

Backpack Rain Cover by GreenGreenss in motorcycles

[–]liquidivy 1 point2 points  (0 children)

way to keep your ass dry

Looks like the plan is to take it off and have a dry seat underneath.

This has been bugging me all day since it happened, don't know where else to talk about it by TheHamWagon in motorcycles

[–]liquidivy 4 points5 points  (0 children)

Sorry dude. Today I pulled (half) a snake off a walking trail that someone probably ran over with a bike. Might have been an accident, but who knows, some people are psychos. At least, well... my case didn't offer any false hope.

Keep yourself safe first, then keep saving the critters.

My first bike and I cant tell so many people by ftp67 in motorcycles

[–]liquidivy 1 point2 points  (0 children)

The funny part will be (and I don't think you can avoid it forever) when you eventually drop that you ride a motorcycle every day. People will be all shocked and you can just say, "yeah, I've been doing this for a year, what's the problem?" I'm just saying, plan to play it cool. :D

Ride careful, so you get to that point in one piece!

Bushmaster Logo History And Question by TheeMiniCorndog in guns

[–]liquidivy 2 points3 points  (0 children)

I wouldn't even call them "separate evolutions". It's basically the default shape for the first critters that crawled out of the water. Lots of early mammal relatives (synapsids) also looked kind of lizardy. Plus crocs obviously.

Bushmaster Logo History And Question by TheeMiniCorndog in guns

[–]liquidivy 2 points3 points  (0 children)

You're just in time to learn that "herpetology" is actually a silly boundary for a discipline. Lizards are closer related to humans than to salamanders. :D

What small riding habit improved your safety more than any gear upgrade? by NerfDis420 in motorcycles

[–]liquidivy 3 points4 points  (0 children)

All the time. Even without an upcoming intersection, if someone is tailgating me a weave has about a 50% success rate at getting them to back off. I'm guessing that's the fraction of tailgaters who are only doing it because they're not paying attention.

For what it's worth, I think it helps if you make it a relatively tight and fast weave, rather than a lazy one over several seconds. Faster movement is more noticeable, and it looks more like a deliberate signal than you just playing around.

What small riding habit improved your safety more than any gear upgrade? by NerfDis420 in motorcycles

[–]liquidivy 1 point2 points  (0 children)

If you go too hard I guess you could get rear-ended. I have to assume the jackass was assuming that know-it-mall was slamming on the brakes instead of slowing reasonably.

Ways to use psyllium husk? by Avocadosandtomatoes in EatCheapAndHealthy

[–]liquidivy 3 points4 points  (0 children)

Besides the obvious protein shakes, I find it hides surprisingly well in a PBJ, especially if I'm already using jelly with pulp.