• 2 Posts
  • 114 Comments
Joined 2 years ago
cake
Cake day: October 19th, 2023

help-circle
  • In many localities voters have used initiative powers to ban red light cameras and in some jurisdictions red-light camera fines are deemed constitutional violations because the US Constitution requires those accused of crimes to be able to “confront their accuser” in court which is not possible if the accuser is a machine.


  • NateNate60@lemmy.worldtomemes@lemmy.worldLike its a drag race
    link
    fedilink
    arrow-up
    45
    arrow-down
    4
    ·
    edit-2
    1 day ago

    While it is rude to honk immediately when the light turns green, it is also true that taking too long to accelerate when the light changes severely reduces traffic flow and causes congestion. And this is commonly caused by distracted drivers. You are supposed to release your brake and begin moving at roughly the same time as the car in front of you, i.e. when the car in front of you turns off their brake lights or when the traffic signal turns green if you’re in the front.

    Edit: “Too long” realistically means anything more than half a second. If everyone’s reaction time was one second it would reduce the number of cars per green light probably by half. That doesn’t mean it’s polite to honk after half a second but if your reaction time is that bad you should not be driving.




  • And for those who don’t: Plato, a Greek philosopher, was putatively asked by a student while teaching at the Academy what the definition of a man (human) was. Plato responded that a man is a “featherless biped”.

    Diogenes, another Greek philosopher and infamous quick-wit, caught wind of this and thought that was the dumbest thing ever, so he gate-crashed one of Plato’s lectures and pulled out a chicken which had all of its feathers plucked out and said “Behold, a man!”.




  • The actual reason: Gasoline prices in the United States were customarily displayed in cents per US gallon (about 3.8 litres). This means the sign originally read something like “15”, which meant $0.15 per gallon. Since the US has also a long history of pricing things in 9 or 99 (due to the psychological effect of such pricing), many service stations appended the extra 9/10 at the end to indicate 9/10 of 1 cent, which was a more meaningful price difference when the price of fuel was 15 or 25 cents and not two or three dollars. Legally, although the smallest cash denomination in the US is one cent, the US dollar can still be nominally divided into 1,000 “mills” for accounting purposes.

    Inflation has caused the price of gasoline to rise, and when it passed $1 per gallon, service stations continued the same pricing traditions by just adding a third digit to the number. When digital price displays came on the scene, many of them continued to just display a three-digit number with the traditional 9/10 at the end, i.e. 123 9/10

    New displays seem to have gotten rid of this tradition and just display a three-digit decimal number, i.e. 3.45 or 4.56.




  • NateNate60@lemmy.worldtolinuxmemes@lemmy.worldthe perfect browser
    link
    fedilink
    arrow-up
    74
    arrow-down
    2
    ·
    4 months ago

    I’m never going to be one to dog on something before I try it. If it’s good and can offer the same or better experience as Firefox then sign me up. The biggest sticking point for me, though, is potentially losing Firefox’s massive add-in library. I really like my uBlock Origin and Restore YouTube Dislike and my VPN extension and Metamask and all the other crap I’ve got there.



  • I don’t think a BRICS currency will be successful in replacing the dollar unless the governments of the participating countries force their businesses to use it. The reason why transactions are denominated and settled in US dollars is because of the perceived stability of its value and the openness of the US financial system to international trade. People use the US dollar because they trust the American government to not excessively devalue it and for it to be reliably useful later on.

    And yes, I recognise that all of these are under attack by the current US government.







  • You got downvoted here but you’re absolutely right. It’s easy to prove that the set of strings with prime length is not a regular language using the pumping lemma for regular languages. And in typical StackExchange fashion, someone’s already done it.

    Here’s their proof.

    Claim 1: The language consisting of the character 1 repeated a prime number of times is not regular.

    A further argument to justify your claim—

    Claim 2: If the language described in Claim 1 is not regular, then the language consisting of the character 1 repeated a composite number of times is not regular.

    Proof: Suppose the language described in Claim 2 is regular if the language described in Claim 1 is not. Then there must exist a finite-state automaton A that recognises it. If we create a new finite-state automaton B which (1) checks whether the string has length 1 and rejects it, and (2) then passes the string to automaton A and rejects when automaton A accepts and accepts when automaton A rejects, then we can see that automaton B accepts the set of all strings of non-composite length that are not of length 1, i.e. the set of all strings of prime length. But since the language consisting of all strings of prime length is non-regular, there cannot exist such an automaton. Therefore, the assumption that the language described in Claim 2 being regular is false.