Skip Navigation
Union, intersection, difference, and more are coming to JavaScript Sets
  • Sets are super useful for all sorts of stuff where you want the datatype to guarantee there is only one instance of a value in the collection. UI components where you are incrementally adding things to a selection is a great example.

    It's a completely standard feature in many stdlibs and has nothing to with turning JS into a database.

  • Mozilla is looking for a Senior Staff Software Engineer to work on their Mastodon server at mozilla.social
  • This is not true at all, except maybe in very specific places (e.g. some jurisdictions do not allow you to call yourself an engineer without a specific qualification).

    Software Engineer and Developer are essentially interchangeable terms and largely a matter of taste.

  • 85% Of Car Drivers Break 20mph Speed Limits, Reveals U.K.’s Department For Transport
  • There is evidence that 20mph zones do save lives and injuries even if people don't obey them. This is because they still drive slower than they would in a 30mph zone.

    I would agree, however, that if the limit is set to 20mph then the road design needs to be changed to match that, making it uncomfortable for drivers to exceed the limit. Unfortunately the UK is quite institutionally poor at this kind of traffic calming design compared to some of its neighbours.

  • Car Prices Might Be Unsustainable for Buyers
  • You misunderstand the statistic. The 90% compliance measures cars that were driving into a future LEZ area. There was no need for any of those vehicles to be compliant at the time of measurement. The measurements were performed to analyse the impact that the new LEZ would have when introduced.

    Additionally, I think it's extremely misleading to say that you need to buy a new car every eight years. In this case, you might need to buy a used car that is already eight years old (or much older if petrol). They are not expensive compared to new cars. In the case of London there has also been a scrappage scheme to assist people, though this probably isn't available everywhere.

  • Car Prices Might Be Unsustainable for Buyers
  • Where is there an LEZ that forces you to buy a 'new car'? The ones I'm aware of require compliance with either fairly or very old emissions standards.

    For example, in London, the ULEZ requires that petrol cars be Euro 4 (every UK vehicle since 2006 complies automatically) and diesel cars to be Euro 6 (mandatory for new cars since mid-2015). So, worst case, the vehicle needs to be newer than eight years old. More than 90% of vehicles driving into the expanded ULEZ area were already compliant before it became active.

  • Most motorists want noise cameras installed to clamp down on loud cars
  • Your suggestion is that people experiencing antisocial behaviour that affects their health and wellbeing should just move to a new house? Where the same thing can easily happen again? And that we, as a society, should do absolutely nothing else about it?

    Deranged take, worthy of a 'libertarian' teenager.

  • Most motorists want noise cameras installed to clamp down on loud cars
  • A single loud exhaust can wake up 10,000 people. The impact on mental and physical health if this happens a few times a night is immense.

    Motorists had their chance to not ruin the world for everyone else, and they failed the test. Time to intervene.

  • Supermarket plastic bag charge has led to 98% drop in use in England, data shows
  • Car-centric cities waste tonnes of space on parking which sits empty most or all of the time. Improving them requires less knocking stuff down and more filling in the gaps.

    Luckily your city doesn't have to pay for this - since property developers will do it for you to make money for themselves. You just need to fix the regulatory barriers: remove parking minimums and legalise mixed-use zoning.

    If you want to accelerate the process, your local government can adopt the Japanese model: build rail or light rail and then develop dense areas around or above it. This is generally profitable but requires taking on a decent amount of initial risk.

    So it can be done. But sitting around grumbling about how a better future is impossible because everything has to stay how it is right now won't get us there.

  • Grant Shapps earmarks £20bn for new fleet of nuclear reactors in UK
  • There are quite a few nuclear power stations operated by private companies without incident around the world already.

    I think the bigger concern is construction costs spiralling out of control and landing on the taxpayer.

  • How the Dutch Fietsstraat "Doesn't Exist"

    Some interesting insight into how you build a street that prioritises cyclists.

    0
    InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)ME
    median_user @lemmy.one
    Posts 1
    Comments 12