Page 1 of 1

show different appearance to blacklist/whitelist icons in alt mode

Posted: Sat Mar 02, 2019 1:47 am
by psychogears
TL;DR
When using ALT mode, there's no visual distinction in the icon between a filter that's blacklisting or whitelisting the item.

What ?
There's no visual difference between a filter that's blacklisting vs a filter that's whitelisting. (attachment 1) I suggest either changing the blacklisting background to a color like red, since blacklisting is a new function of the filter inserter and the black background could be already strongly associated with a whitelisting filter inserter and does not defy the visual expectation of the veteran player, or changing the whitelisting background to something like light gray, so a black background would mean the filter is blacklisting and a (dark) white glow will mean the filter is whitelisting.
Why ?
One can more quickly distinguish at a glance using ALT mode what the filter is doing, leading to quicker decisionmaking.

Visualize negated filter inserters

Posted: Thu Feb 11, 2021 8:57 pm
by Eiermann
Hey Ho!
TL;DR
Visualize the configuration of filtered inserters so players can see the difference.
What ?
i would like to see an indicator when a filter inserter has negated filters configured. At the moment you cannot recognize inserts with a positiv and a negative list. As you can see in the attachments.

The following changes could help:
a) show the configured filters in the info-bar
b) cross out the configured items
c) add additional icon that indicated a negated filter
Why ?
The following problems would be solved:
a) players can see the configuration across the map
b) players dont need to click on the inserter to see the configuration

Re: Visualize negated filter inserters

Posted: Thu Feb 11, 2021 10:42 pm
by starlinvf
you mean whitelist vs blacklist?

Re: Visualize negated filter inserters

Posted: Fri Feb 12, 2021 5:18 pm
by Eiermann
starlinvf wrote:
Thu Feb 11, 2021 10:42 pm
you mean whitelist vs blacklist?
Yes!

Re: Visualize negated filter inserters

Posted: Fri Feb 12, 2021 8:00 pm
by QGamer
What if the background was white for whitelisted items and black for blacklisted items?

Re: Visualize negated filter inserters

Posted: Sat Feb 13, 2021 10:00 am
by ssilk
White/blacklisting is a very old filtering pattern in information science.

In both cases there is a list of items. The filter takes one incoming item and checks it against the entries in the list. Either the item goes through the filter, or not.

For blacklisting this means: if there is any entry in the list that matches, it is filtered out. For whitelist it means: if there is no entry in the list, it is filtered out. The difference is: blacklisting is good, if you have many items, that needs to be filtered, because there is a chance, that the list don’t need to be scanned completely, while whitelisting is good, if you have many items, that match with the list.

The disadvantage of blacklisting is, that you don’t know, after filtering, what items could be in the result-set. Because of that, it is a security anti-pattern.

The reason why that is called white/black is not so obvious: white and black are patterns of security information science. White means in security, that you are operating in a so called “white room” (also a pattern of information science), and means that you can see everything, all is clear, it is secure to use an item. Black, because there is also a “black room”, where you cannot trust an item, it is dark, not clear.

So the origins are AFAIK from security information science. :)

You can replace white/blacklisting in case of Factorio with positive/negative listing, because here this pattern is not used in security context.

Re: Visualize negated filter inserters

Posted: Sat Feb 13, 2021 12:31 pm
by Eiermann
Its not about the naming convention. Its about the in-game visualisation. Currently you can not tell the difference between filter inserters by just looking at them (inserters with a blacklist configured look the same as inserters with a whitelist configured).

Just look at the example with the science packs. You simple cannot tell what the inserters are transfering from left to the right and vice versa (one has a blacklist, one has a whitelist).

Re: Visualize negated filter inserters

Posted: Sun Feb 14, 2021 8:24 am
by ssilk
@Eiermann: The idea is very good. I just answered the question above, because I was curious.

Re: Visualize negated filter inserters

Posted: Tue Feb 16, 2021 3:56 am
by foamy
Eiermann wrote:
Sat Feb 13, 2021 12:31 pm
Its not about the naming convention. Its about the in-game visualisation. Currently you can not tell the difference between filter inserters by just looking at them (inserters with a blacklist configured look the same as inserters with a whitelist configured).

Just look at the example with the science packs. You simple cannot tell what the inserters are transfering from left to the right and vice versa (one has a blacklist, one has a whitelist).
Yeah, it'd be nice of there was some kind of UI indicator in altmode about this. It can get real confusing in some builds that make use of both.

Re: Visualize negated filter inserters

Posted: Wed Feb 17, 2021 11:47 pm
by starlinvf
Well... the most direct approach is to have an strike-through over the item icon. But I don't know off hand if this can be a layer, or if they'll have to double the number of icons to incorporate the visual.

As for the origins of the terms...... Black list goes way back. Light research (not just wiki) says its at least as old as the 1600s, indicating a list of people who are suspicious/evil ... and I'm inclined to believe it given the verbiage.

"Ye secret oppressors,..ye kind drunkards, and who euer come within this blacke list of wickednesse."

https://www.reddit.com/r/AskHistorians/ ... klist_and/

Re: Visualize negated filter inserters

Posted: Thu Feb 18, 2021 7:56 am
by ssilk
Interesting. 8-)

Re: Visualize negated filter inserters

Posted: Thu Feb 18, 2021 8:38 am
by Zool
Absolutely amazing idea! The other day, I was looking for the error in a huge multiplayer factory, and only after starting to click through a good 100 inserters manually, I found that one that, for whatever reason, had whitelist instead of blacklist enabled.

Re: Visualize negated filter inserters

Posted: Mon Apr 05, 2021 12:47 pm
by ickputzdirwech
This is the same suggestion as this one: 66255 and should therefore be merged.

I noticed today that this kind of icon already exists. Exclusively for a deconstruction planner with "Trees/rocks only" however. And it's barely noticeable. They should change it to black maybe.
trees rocks only.png
trees rocks only.png (3.15 KiB) Viewed 493 times
+1 to the suggestion.

Re: show different appearance to blacklist/whitelist icons in alt mode

Posted: Mon Apr 05, 2021 11:29 pm
by ssilk
merged

Nice find, ickputzdirwech!