You will notice that the ArrayList class has an items property that is an array type. Lit won’t let you do something like <array-list items = ['Item 1', 'Item 2', 'Item 3']></array-list> but it is fine with you passing it in using javascript. That means that myList.items = ['Item 1', 'Item 2', 'Item 3']; does the job, fine.
Is bread kneading NSFW? According to this TensorFlow client side indecent content checking tool, it is.
And this is why, you need manual check.
If you want to play with NSFWJS: https://nsfwjs.com/
@stephaniewalter a couple months ago I had to wait until I got home to install a new to-do list app because it had gotten flagged by the content system at school
@stephaniewalter I'm not sure... I just know it had come recommended to me, so one day between classes I went to the website to install it and was greeted by a message that I couldn't access the website due to its pornographic content.
I ended up using a hotspot... it all looked fine to me
When user experience meets climate impact awareness:
🐙 Octopus Energy is using the browser battery API to let me know about high carbon emissions and suggest I stop charging my phone.
@BeAware I can't speak for everyone, but personally: I knew about the LA purchase. I did not know that Spain owned LA a month before America bought it from France.
It became more believable after I learned that it was supposed to be only a one day difference: France had been unofficially ruling LA for a while, and the transfer from Spain to France was just a formality so the sale could go through.
Challenge for a UX designer: rethink the UI/UX around content warnings on the Fediverse (mastodon, pixelfed, etc) to allow capturing not just a text field, but also some predefined labels (e.g., 18+, sexual imagery, violent imagery, etc)
Technically these labels would come from "providers" which define what they mean and controls that should be implemented.
I just got 'the upgrade note' from #amazon video telling me to pay $3/month or face ads. If they had just raised the price of Prime, I'd likely just have gone with it. But this.... blackmail just feels so wrong and makes me feel powerless. I want to yell "hell no!" just on principle.
I know, this is childish, but in their greed to optimize the conversion funnel, they've destroyed their #brand and I feel like a #UX experiment. It feels dirty and I want nothing to do with it.
@scottjenson I canceled my Netflix subscription the day I signed up for it. I thought it was a little dystopian that they hid the tier I wanted behind a dark pattern to try to get me to pay for a more expensive one.
I was disgusted when they then prompted me to upgrade on my second time opening the app—before I had watched a single piece of content
@frameworkcomputer as a Chromebook power user, I'm really intrigued by the framework Chromebook edition because it gives you power no other model can match. 64gb of RAM in a Chromebook is a pretty epic selling point. Thanks for making it!
#JavaScript developers, do you think #ESLint should be a part of the build process?
I've seen quite a few projects use #Webpack and #Vite plugins to run ESLint during their build process. This both shows a huge error overlay when there are linting errors, and halts the build when building for production.
However, I never understood that, as linting does not really ensure validity of the code, but rather that it aligns to some stylistic rules.
@brawaru I vote yes, only because it doesn't make sense to use it halfway. If your team doesn't want to use a linter or a formatter, it doesn't need to be a part of your build process. But if you find any value in it, my experience is that nobody (including me 😅) cares about linter errors unless they're tied to something they want (like deployment)