1,015 karma · joined April 8, 2021
- Gives cyclist false sense of security, since they need to yield to vehicles turning across "their lane"
- Little notice given to drivers that they need to take care, since they have right of way
- Cyclists have to stop at every side road, which can make taking the bike path as slow as walking
Experience cyclists won't use them and novice cyclists are given an unsafe and slow route; they will drive instead. What a waste of public funds.
A better solution, as seen in NL and some parts of London, is to make the motorist give way or even remove the vehicle entrance entirely. The transport mix you get is the transport mix you build for.
* let
* discriminated unions
* records
* lists
* seq
* async
* fun
Like all languages people actually use, F# has a long tail of advanced features! > [ 1, 2, 3 ] === [ 1, 2, 3 ]
false
Ridiculous!Well if you pay top salaries and have a tough recruitment process maybe. They claim to hire the best from all over the world.
> This comes at a cost of making adding and removing components from an entity more expensive.
I think you could write a design-time tool that takes a simple description file (with hints) and outputs code that stores your entities and components efficiently.
Description file:
{
"archetypes": [
{
"components": [ "A", "B", "C" ]
},
{
"components": [ "B" ]
},
{
"components": [ "B", "C" ]
}
]
}
Output: class ArchetypeABC {
A a;
B b;
C c;
}
class ArchetypeB {
B b;
}
class ArchetypeBC {
B b;
C c;
}
class EntityStore {
ArchetypeABC[] entitiesABC;
ArchetypeB[] entitiesB;
ArchetypeBC[] entitiesB;
}* physics - position component + physics component
* rendering - position component + animation component
* etc..
How do we now store these components? How do we create / access aggregates efficiently?
If we have two arrays then there is lots of hopping around:
PositionComponent[]
PhysicsComponent[]
Maybe we need some kind of grouping class? struct EntityData {
PositionComponent position; // Null if not a position entity
PhysicsComponent physics; // Null if not a physics entity
}
Interfaces have their issues too, but at least it's fairly clear what to do: class BouncyBall : IHasPosition, IHasPhysics {
IPosition getPosition() {
// ...
}
IPhysics getPhysics() {
// ...
}
}
Anyone solved this before?To anyone who believes this, I encourage you to checkout this series of blog posts: https://www.nemil.com/mongo/1.html
No that only shows we can change the climate, not engineer it to best suit humanity.
I think deep down majority knows the climate is changing, but they are not prepared to make any personal sacrifices.
They can significantly hurt the price but limiting reputable shops from accepting it though.
- Most things you want to express can be expressed in a static language
- Tooling is much easier to build over static languages, and I think automated checkers are the future of rapid development of robust programs
I don't think that OOP languages as they are now (particularly Java 8) are the future, but something with less ceremony like an ML. Java and C# might flourish in the long term by becoming ML languages, but only if they are prepared to remove the cruft.
Here's the no-fly policy for GB Duro, which Lachlan also completed: https://www.theracingcollective.com/gbduro.html#no-fly
If you haven't tried an ultra endurance sport before - could be running, cycling or even walking - I would highly recommend it. The frame of mind it puts you into is like nothing else. It's as different to everyday life as deep programming work, but another experience entirely. It's also very addictive, in a good way.
I agree, however the media insists on talking about Johnson's "Libertarian instincts" and the "Libertarian wing of the party". I don't see them as very Libertarian at all! See also drug policy, protest bill, internet surveillance, housing market interventions...
Personal responsibility does mean you get to decide when to put others at risk, for example by going near them without a mask. Now, we might argue that there is a trade-off between respecting individual sovereignty on the one hand and lowering the friction of society on the other, but to frame this as a "personal responsibility" move is absurd. The Conservatives should read their intellectual heroes more carefully. Last I checked, Libertarians believe in the non-aggression principle.