900 karma · joined June 6, 2011
Combined with ajv you can even have more advanced custom validation with custom error messages.
I also found that when clicking through to an opening on your site, it would always say "no games find at this position". Bug?
How do you unify ratings?
Edit: ah I see you don't, makes sense I guess. Might be interesting to have them both on the same graph even if the y axis is different..
The whole ecosystem of state management does feel like a bit of a wild west.. but I guess that's often the feeling with javascript.
I ended up settling with easy-peasy, which I think has similar aims to zustand. Definitely appreciate that it uses immer out of the box as that seems like a very sensible default way to go.
Admittedly due to the nature of Vue syntax, it's harder to make a mess because everything is just key/value.. but then you have to learn an API to express things in that way. I enjoy the fact that you don't have that layer/step with react.
I definitely feel that the 3rd party classnames package should be built into React, I agree that out of the box conditional class names look a mess.
I don't have enough experience with either library yet to form an opinion on which I prefer, but I definitely appreciate not having the mental overhead of remembering the vue api. I'd rather have a bit of code that's more explicit/"just javascript" than have to think "what's that symbol I need to use again?". Definitely a personal preference thing though!
{items.map((item) =>
item.display && (
<SomeElement
onClick={(e) => e.preventDefault() && foo()}
className={classNames({'current': item.active})}
/>
)
)}------
Went digging through my old files, turns out this was almost 10 years ago!.. and looks like I left it unfinished.
I was using nltk to convert cmudict words into MM sequences using phenomes.
Then I was basically brute forcing all the different ways you could slice the given sequences into sub sequences. Then the idea would be to try and identify the "best" sequence.
You'd want to restrict it to using relatively common words, preferably nouns. Really you'd want to avoid any words that are ambiguous or could be easily confused.
Even better would be able to find grammatically correct sentences that fit the sequence.. but I think it's unlikely you'd have any hits.
Anyway.. this is the broken/unfinished code I found in the depths of my hard-drive: https://github.com/johtso/mnemonic_major
The advantage it has compared with a "link system" [2] is that forgetting one link doesn't mean you lose the rest of the chain. You can also jump to an arbitrary point in your palace.
You're right in saying the use of a physical location is just a convenient but not fundamental part of such a system.
A system that really pushes the idea that the pegs you attach things to can be arbitrary is SemCubed [3], a system where you create a large 2-dimensional grid of "pegs". It also makes use of the Mnemonic Major System that I'm a big fan of.
[1] https://www.ludism.org/mentat/PegSystem [2] https://www.ludism.org/mentat/LinkSystem [3] https://www.ludism.org/mentat/SemCubed
Has a good description of this derivation.
Definitely raises questions about the best way to avoid these kinds of last minute situations in the future..
Because Banksy is a famous brand, and his work has big price tags attached to it.
The whole thing is totally unique and fascinating. Banksy has developed his concept so well. He clearly also acknowledges the absurdity of the situation. His self shredding painting is clearly a comment on the contradiction between the ephemeral and the valuable.
Street art is inherently ephemeral. It's the wild west. There are no rules (although sometimes etiquette), because by its very nature it is breaking the rules.
Seeing newspaper articles where people are talking about a Banksy piece having been "vandalised", or that someone cutting out a piece of their wall to sell it is "stealing something that belongs to the community".
At the same time, street art in general is viewed as vandalism. The law doesn't try to make distinctions based on the artistic merit of a specific bit of unauthorised public space modification.
But money and fame, that's something anyone can understand! If something is worth money, then it's good. You painted on my wall! How lucky I am! Oh yeah and the pictures great too, what a clever image!
I personally think his work is pretty good. But much more interesting is how society has reacted to it.
The tricky thing is that in this context, the fact that drivers are peeing in bottles is likely a symptom of a broken system that is exploiting workers and forcing them to spend all the time they can on the road. Definitely have no interest in defending profit optimisation at the expense of people.
There's a huge difference between using a pee bottle as a choice/convenience vs. to avoid some kind of workplace consequence.
> Hiring people and then failing to plan an appropriate amount of time for them to take a break is wrong, and should be illegal.
Totally agree.