Skip Navigation

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/)MA
Posts
2
Comments
258
Joined
2 yr. ago

  • It is possible. My country has laws that specify penalties such as “x months in jail and/or a monetary fine of the nth degree” where the amounts for each degree get updated every once in a while.

  • For a big road/street, whatever the main flow of traffic is following. So for a north-south street that’s busier than the east-west street intersecting with it, optimise the flow for traffic going north-south, including the intersections ahead. A “green wave” or “groene golf” in Dutch would work wonders. Stick to the advised speed on the digital signs and you get a wave of green lights for x amount of upcoming intersections. I’ve had them for up to 9 in a row. For the streets crossing the main road, you get some sensors, probably inductive loops to check if there are cars waiting. If there are, periodically give them green and turn the main road to red. If there are no cars on the main road (e.g., at night), you could have an extra induction loop ahead of the crossing so that the light turns green for the crossing road whenever someone approaches, before even having to stop at the light.

    Sure, you could use reinforcement learning there. But you really don’t have to. Analyse the traffic for a while, and it’ll stay pretty much the same for a long, long time. Just optimise the cycles according to the time of day and day of the week and you should be good.

  • ...

    Jump
  • I tend to agree with you. Something that subtitles even miss sometimes are the subtle jokes or nuances in the source language. Human dubs often miss those, and I doubt AI dubs will be any better, at least for the foreseeable future.

  • I can see why people might dislike them. Adds some bloat perhaps. But at the same time, I like the idea that my input is definitely sanitised since the ORM was written by people who know what they’re doing. That’s not to say it won’t have any vulnerabilities at all, but the chance of them existing is a lot lower than when I write the queries by hand. A lapse of judgement is all it takes. Even more relevant for beginning developers who might not be aware of such vulnerabilities existing.

  • Have a look at an ORM, if you are indeed executing plain SQL like I’m assuming from your comment. Sequelize might be nice to start with. What it does is create a layer between your application and your database. Using which, you can define the way a database object looks (like a class) and execute functions on that. For instance, if you’re creating a library, you could do book.update(), library.addBook(), etc. Since it adds a layer in between, it also helps you prevent common vulnerabilities such as SQL injection. This is because you aren’t writing the SQL queries in the first place. If you want to know more, let me know.

  • If you like tinkering, go for it! If you expect hassle free setup the first time, might want to look elsewhere. I’ve got mine dialed in so that I only need to wipe the bed clean with a cotton pad and some rubbing alcohol. Took a while and some upgrades, though. ;)