as far as I know, C# don’t have proper ergonomic monadic bind as in F# (computation expression), Haskell (do expression), and Ocaml (let*), but I could be wrong.
as far as I know, C# don’t have proper ergonomic monadic bind as in F# (computation expression), Haskell (do expression), and Ocaml (let*), but I could be wrong.
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.
Shortly after publishing this article in her blog, she also published a gh repo collecting incidents of misogynism https://github.com/iyzhang/misogyny/ It would be great if people can give it a read or contribute incidents.
Glad to see this article is eventually published by the ACM.
so you are the degenerate that follow world news on lemmynsfw. I was wondering why are there so many news on the all feeds of my porn account.
Apologists for Chinese/Russian government.
deleted by creator
People who prefer to not release toxic waste for no good reason?
I think modern coffee is judged by how much the tastes reflect its distinct characteristics, which includes physical characteristic of the farm (altitude etc), fermentation process, and roasting process.
It takes a lot of work to produce good coffee, and the end result should let these efforts shine. Acidity, fragrance, and funk are great ways to communicate the life of the coffee to the taster. That is why they are typically the standard to determine good coffee, instead of generic and monotone"smoothness" that is shared across kirkland signature, peets, starbucks, and gas station coffees.
Please don’t, it is not only a product of colonialism injustice, it is also produced in extremely inhumane manner. To make the matter even worse, the industry consensus is that they tastes terrible.
Related video: https://www.youtube.com/watch?v=pkbuFwHnJQY
I have figured out the problem. Turns out although in ip a
, the MAC is the same, yet in the vm, the MAC is different.
As for being assigned the same IP, it is just my stupid router… Getting a new MAC (creating a new VM) fixes the issue.
Sorry, a stupid question.
If the bridge is the primary interface on host, and the homeassistant KVM also uses this bridge, will this cause them to get the same IP again?
Thank you for your patience.
Thank you for the configuration. I wonder, because you have turn dhcp off for the host, will this prevent the host from getting an ip address?
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.
Last time I tried ChatGPT it cannot even do a trie in Haskell, so I don’t see any way it is useful for me, unfortunately. IIRC, I was testing with some trivial modification of a trie, but I do not remember at this point.
Maybe it is useful for college homework, but I have yet to find any problem it can solve beyond college. But I would love to learn more, since you have more experience with it. :)
Edit: I tried a problem I encountered couple month ago on https://perplexity.ai. I want to implement a parser in Haskell that do not halt on error, but record the error and keeps going.
It should take 2 lines with mtl, and the AI gives me a more verbose answer that is also completely wrong.
So… I don’t see how they are helpful, honestly. Sorry.
I don’t get the hype around LLM, it is a terrible way to search. It has never give me anything useful on any of my search, ever.
Most of the time asking chatgpt anything non-trivial, it will just spit out gibberish that doesn’t mean anything.
Who in their right mind would look at these terribly stupid thing and think: Yeah! This garbage is going to advance humanity.
since most western outlets are causally dismissive of the claims.
It is interesting you didn’t give any western media the benefit of the doubt, while giving CCP plenty.
After a quick google search, it seems like there are several court documents for Zhang’s case circling the internet:
There are two different versions, one judgement, one indictment (copy). Their contents seems to match, and they also match the reports of various media articles.
The indictment mentioned neither “the lie” nor “the truth”, which, in my mind, is probably why most media never reported it.
The document only mentioned:
故根据现查明的事实可以证实 张展通过微信、“twitter”(推特)、“YouTube”(油管)等网络媒介发布的相关文章、视频及接 受采访内容均与武汉市实际防控疫情的客观实际情况不符。
according to current known fact, the related article, videos, and interview by Zhang Zhan on wechat, twitter, youtube, differ from the objective truth of situations in Wuhan.
I was not able to find any court document from official source from China/CCP. Since all these articles are either photos or transcribed from photo, I don’t imagine the original documents are easy to find. It seems like the original document can be obtained from: https://wenshu.court.gov.cn/ (according to the title of the website, and Chinese government owned domain name), but they require personally identifiable information (like phone number, which is connected to ID in China) after I typed in 张展 (Zhang Zhan).
But since you clearly know more about China and CCP than I do, so you might want to give it a try.
According to https://dictionary.cambridge.org/dictionary/english/arrest, “arrest” means
If the police arrest someone, they take them away to ask them about a crime that they might have committed
And in https://www.merriam-webster.com/dictionary/arrest
to take or keep in custody by authority of law
Dr. Li was taken to police station because the police has deemed his action is against the law.
He was later released because he signed a consent about “stop spreading misinformation”, which I showed in my response. We wouldn’t know how he will be treated if he refuse to sign such consent. But I might hypothesize that the police wouldn’t simply let him go.
And he has never spread any misinformation, the patient record he sent to his friend clearly indicated the patient has tested positive for SARS; and as we know later, the disease is indeed caused by SARS-cov2.
I want to say “live to see another day”, but on retrospect, that is indeed, quite boring.