• 2 Posts
  • 21 Comments
Joined 3 years ago
cake
Cake day: June 13th, 2023

help-circle
  • Internal combustion engines are very picky about how fast they spin, since they get their power from burning fuel the rate at which fuel enters the cylinders to burn correlates strongly to the power they have available. And since each cycle of a cylinder burns about the same amount of fuel the faster the engine spins the more power it generates.

    This is why internal combustion engine vehicles have gearboxes (transmission in the US?) to ensure that you can spin the engine fast even while the wheels are slow) or stopped) so you have enough power to start the car.

    Electric motors by contrast generate power through the strength of their electromagnetic fields, which is just how much current gets pushed through the electromagnets. How fast the motor spins just changes how fast the electronics have to “move” the generated field without changing the strength, so you get similar power even at slow speeds.

    So electric motors have enough torque at low speed that you can start your car without needing a gearbox.

    Note: this post is a gross simplification and probably mis-uses some terminology but it should give a general understanding of why the transmissions are different.



  • I maintain that salad cream is almost the perfect condiment and can work as a substitute for either ketchup (due to it’s acidity) or mayonnaise (due to everything else in it).

    (Probably not a good idea to substitute either of them when used as ingredients though)

    I think the name and the original intent was for it to work as a vinegarette equivalent since it is primarily oil and vinegar, and while it does certainly work there, I will pick vinegarette over sald cream if given the option. But for anything else where you would have ketchup or mayo salad cream wins.


  • Don’t design for having a nice codebase today, design for having a clean codebase after 3 months of Devs copy pasting one bit of code then tweaking it to do what they need or adding more fields to existing concepts.

    This generally means it’s best to have one pattern for a given thing, rather than having several patterns you pick based on context, the later runs into problems:

    • Someone copy/pasted pattern A for a pattern B context
    • Enough stuff changes in a pattern A implementation that it would now be better as a patter B thing.

    A second consideration for this is that if there are a group of classes/files/whatever that regularly needs to be copied they should live together. If there are different sections of the code that needs to be edited when creating a new resource, they should be kept in one place and kept small-ish.

    Most of this comes from accepting the way people tend to work and from the perspective that software is a living evolving process and only regarding a snapshot of it misses vital information.


  • it’s so insanely engrained into modern society

    If you want to read something deeply uncomfortable about how language shapes society and how blind we are to the pervasiveness of gender: I think about this essay a lot (CW. Predudice)

    https://www.cs.virginia.edu/~evans/cs655/readings/purity.html

    Spoiler for after reading:

    ::: spoiler So I probably don’t need to explain that it isn’t about racism, it uses racism to explain how gendered our language is and how gross that looks to anyone who hasn’t become numb to it over a lifetime. But some people I have shown this too have been very confused :::



  • I was going to say you have a static sense of what orientation you are in, e.g. you can tell standing up Vs lying on your front/back/side without relying on other senses and that feels different to the sensation of moving…

    But thinking about it I guess the orientation sense is just detecting acceleration due to gravity?




  • Since the beginning of our history, our capital city has been continually shaped and reshaped by the diverse communities that have called it home. If some people think we would be better off without jerk chicken or jollof rice, without Rye Lane or China Town, Ramadan or St Patrick’s Day, without the films of Sir Steve McQueen or the songs of Little Simz, without Yotam Ottolenghi’s food or Emma Raducanu’s backhand – I don’t think they’ll find many Londoners who will agree.

    In fact, the evidence is that Londoners have more positive views on lawful immigration than the rest of the UK, and that’s not a surprise. Because we know we have nothing to fear and everything to gain.

    This so perfectly sums up the biggest thing I love about London 🥰



  • How do you reverse a chemical castration if it’s later revealed the person was wrongfully convicted?

    You stop the regimen of drugs and the primary effect ceases https://en.wikipedia.org/wiki/Chemical_castration

    I’m not arguing for the policy, I think violating someones bodily authority is inherently evil and should not be on the table even as a result of a criminal conviction.

    But I think our objections should follow the science, we should object to the harm caused to the (falsely)convicted while on the drugs rather than the permencance of the sentence.


  • The difference is that chemical castration is typically a course of drugs that alter the body’s hormone production while it’s being taken to reduce sexual desire/function, when the subject stops taking the drugs the body returns to its natural hormone balance.

    Physical mutilation is a one off, permenant, irreversible operation.

    The problem is that the term chemical castration is wildly misleading in its attempt to describe the process.




  • Israel’s war crimes do not excuse Hamas’ terrorist attacks, nor do Hamas’ terror attacks excuse Israel’s war crimes.

    Intentionally escalating the conflict and suppressing rival organisations then turning around and saying “we are the only counterbalance to Israel, you must deal with us” is also kinda gross.

    That said, it’s weird that they want the UK involved given the history of the conflict and the relatively paltry (and apparently declining?) level of arms exports.

    I think the EU also designated Hamas as a terrorist organisation and Germany is a big arms exporter so I would have expected them to focus on getting that designation repealed.



  • Yeah, this is what I meant by informed consumer, In thory if the consumers are okay with palm oil chocolate so long as it’s cheaper then that’s what the market will provide. If they don’t like it then it won’t sell.

    But if they don’t know the difference they will go for the cheaper one then conclude they don’t like chocolate as much as they used to and buy less so both the customer and the brands providing real chocolate lose out.

    The more insidious version of this are additives which actually taste better but with less obvious long term health detriments, e.g. packing everything with sugar and salt.

    Nutrition labelling helps ofc, but even then who has the time to check the stats of every product they buy?


  • To play devil’s advocate;

    The theory is that privately run enterprise is more efficient and is able to provide goods and services at lower price, the mechanism for this that most people don’t mention is that if there are many companies in competition the inefficient ones are out-competed and go bust.

    The issue with privatisation is that this efficiency requires A: several businesses competing to provide the service, B: an elastic demand curve and C: informed consumers.

    Ideally providing excellent service at a good price increases market share and poor service at high prices results in decreased market share.

    The problem with privatisation is that most of the privatised services were nationalised originally because they are not a good fit for one of the above reasons.

    E.g. medicine is difficult because if you break a leg you aren’t shopping around for hospitals you go to the nearest one, you can’t really just put it off and medicine is incredibly complex so being and informed consumer is difficult and the country needs sufficient coverage so hospitals going bust is unacceptable.

    The UK has chronic issues with energy prices (I seem to remember seeing the highest in Europe?), but we don’t see energy companies undercutting one another, so it’s hard to argue that they are actually in competition.

    The issue is that most privatised services wind up running as a defacto monopoly the same as the nationalised one, just as you mentioned now with a profit motive too which incentivises hollowing out the service via cost cutting.




  • The threat of international condemnation and the less hawkish members of the Israeli government and electorate.

    Predictably the rate at which civilians in Gaza are bombed by Israel went up not down after Hamas’ acts of terrorism the other week.

    Even if you believe that the Israeli government is ontologically evil; serving them up causus belli to bomb and potentially invade Palestinian lands does not constitute “preventing Palestinians from being exterminated”, rather it actively helps them hastens the process