• 6 Posts
  • 275 Comments
Joined 1 year ago
cake
Cake day: June 19th, 2023

help-circle

  • Honestly, it is much more code to use loop with non-local control like break, continue etc. (variable initialization, append, variable mutation in loops…) than just calling a collect function (which I assume just means to_list). In the above example, in most programming language I know, you don’t even need to collect the result into a list.

    Not to mention, large loops with non-local control is a breeding ground for spegatti code. Because you no longer have a consistent exit point to the loop, thus making the semantics hard o reason about.

    In many languages, there are type class / trait / interfaces (whatever you want to call them) that allows lazy structures to share the same API as strict ones.








  • There are several competing protocol: zigbee, zwave, and the newest is matter. They just require a hub to be controlled.

    I use all zigbee smart switches, and a conbee II usb stick. I have a old laptop running homeassistant os, and it has a one click addon for conbee II. I think amazon echo also have builtin zigbee controller.

    If the power goes out, all the switch automatically connects back to the hub when the power is back. Obviously, this setup is not affected by google, amazon, even the entire internet goes down. As long as my router is functional, I can control everything using my phone, when I am at home.



  • If I have given the chance to vote, I would personally think that your comment is inaccurate, but shouldn’t be removed, especially shouldn’t be removed as sexism.

    To me, “mistranslation” means that a translation do not accurately refelect the original content. However, the translation of IGN, although might benefit from additional clarification, accurately reflects the content and sexual nature of the original post.

    Regarding your alternative translation, although 舔 is slightly less sexual as “licked”, but 不能勃起 is as much sexual as “cannot erect”, if not more. If you translate it to “cannot sit”, it would significantly tune down its sexual and edgy nature. This is probably why the translator choose to translate it literally instead of rephrase to “kiss ass”.




  • It is in between, getting licked is the figurative speech for “unjust praises” with a hint of submission in the tone.

    English also have a similar expression like “licking one’s boots”, but in Chinese it is more sexual, as it typically refers to licking something else. An alternative is “跪舔”, which means “kneel and lick”.

    There are other comments in the article I linked:

    杨奇于2013年扬言游戏“不需要女性玩家的反向带动”,“有些东西就是做给爷们的”,“当真喜欢软娘腐的东西,换下个产品,哥天天穿丝袜吊打上班”

    Qi Yang (lead artist) has publically stated in 2013: “we don’t need female player”, “something are for guys only”, and "if we truely love soft female or gay stuff, we would change our product, I would wear stocking to work everyday.

    “游戏科学”技术美术师戴巍于2023年8月20日在知乎社区中扬言:《黑神话》中的女蛇妖“再多看看就能冲了。虽然蛇脖子暂时不习惯,但也不是不能培养”。

    On August 20, 2023, the technical artist of Game Science, Wei Dai, claimed on Zhihu (Chinese Quora): “[the players] will be able to masturbate to” the female snake monster in Black Myth. “Although she has the neck of a snake, which might not be the conventional aesthetic [for masturbation], but people can eventually get used to it”

    That being said, I do not claim that the dev still holds this view point now. China is a rapidly developing country, and its ideology and culture can shift just as fast.

    But I am very dishearten that they would mention “feminist propaganda” in their review bans. It seems like they are still not accepting of feminism.






  • Two of the same MAC address can’t exist in the same IP space, else the router can’t route packets to them.

    Yes, this seems to be my problem, both the host and the vm got the same IP, and I think I cannot send any traffic to either my host or vm. So my router is probably confused, as you suggested.

    Is there an issue with using Docker for this?

    I forgot to mention this, docker indeed work. However, ha requires a privileged docker running as root, which means ha essentially runs as root on the host.

    This is fine on dedicated hardware, but as my server have other infrastructure on there, running ha as root can be a security risk.


  • Hi, thank you for your reply.

    Did you make sure that eno2 is enslaved by br0? When br0 is created, it indeed have a unique MAC, but once it enslaves the hardware, it inherits the hardware address.

    I have not tried to get the bridge going with virsh, but I was unsuccessful with the virt-manager ui. And I assume they use the same system?

    It is possible I have accidentally disabled some network virtualization kernel component during setup, as I have implemented some mods from secureblue. I will try to reset everything to default, and try again.

    Do you have a tutorial for making bridge via virsh that you can share.