A Protocol for Dying

原文地址：http://hintjens.com/blog:115

References

臨終協定

状态：准备翻译 / 阅读中

启动日期：2021 / 01 / 04
截止日期：2021 / 01 / 31

启动日期：2021 / 01 / 04
截止日期：2021 / 01 / 31

Time for my last article (as it turns out, not really). I could probably write more, yet there are times for everything and after this, my attention will be focused on the most comfortable position for my bed, the schedule for pain killers, and the people around me.

关键词/句

as it turns out, not really：然而事实并非如此

on the most comfortable position for my bed ： 在我的床上最舒服的地方

my attention ：我的注意（注意力）

focused：专注 、聚集

pain killers： 止痛药

the schedule ： 时间表

around：周围

my attention will be focused on the most comfortable position for my bed, the schedule for pain killers, and the people around me.
在床上最舒适的地方，我的注意都集中在了止痛药的时间表上和我身边的人。

是时候，写我的最后一篇文章了（然而事实并非如此）。我本可以写更多的，但每一件事情都它的时间，而在这之后，在床上最舒适的地方，我的注意将止痛药的时间表上和我身边的人。

Time for my last article (as it turns out, not really). I could probably write more, yet there are times for everything and after this, my attention will be focused on the most comfortable position for my bed, the schedule for pain killers, and the people around me.

关键词/句

as it turns out, not really：然而事实并非如此

on the most comfortable position for my bed ： 在我的床上最舒服的地方

my attention ：我的注意（注意力）

focused：专注 、聚集

pain killers： 止痛药

the schedule ： 时间表

around：周围

my attention will be focused on the most comfortable position for my bed, the schedule for pain killers, and the people around me.
在床上最舒适的地方，我的注意都集中在了止痛药的时间表上和我身边的人。

是时候，写我的最后一篇文章了（然而事实并非如此）。我本可以写更多的，但每一件事情都它的时间，而在这之后，在床上最舒适的地方，我的注意将止痛药的时间表上和我身边的人。

Yesterday I had twelve visitors, including my lovely young children. You'd think it's exhausting, yet the non-stop flow of friends and family was like being in a luxurious hot bath with an infinite supply of fresh water.

关键词/句

the non-stop flow ：不间断的流动

luxurious ：豪华

hot bat ：热浴

fresh water ：淡水

昨天，我有 12 个访客，包括我可爱的孩子们。你可能想这会令人疲倦，然而，不断往来的朋友和家人们就像有着无限供应的热水的豪华浴室。

Yesterday I had twelve visitors, including my lovely young children. You'd think it's exhausting, yet the non-stop flow of friends and family was like being in a luxurious hot bath with an infinite supply of fresh water.

关键词/句

the non-stop flow ：不间断的流动

luxurious ：豪华

hot bat ：热浴

fresh water ：淡水

昨天，我有 12 个访客，包括我可爱的孩子们。你可能想这会令人疲倦，然而，不断往来的朋友和家人们就像有着无限供应的热水的豪华浴室。

I was a disconnected and lonely young man. Somewhat autistic, perhaps. I thought only of work, swimming, my pet cats, work. The notion that people could enjoy my company was alien to me. At least my work, I felt, had value. We wrote code generators in Cobol. I wrote a code editor that staff loved because it worked elegantly and ran on everything. I taught myself C and 8086 assembler and wrote shareware tools. The 1990's slowly happened.

关键词/句

I was a disconnected and lonely young man ：我是一个 孤僻的人

Somewhat ：有点、稍微

autistic ：自闭证

perhaps ：也许、或许、大概

notion ：想法、信念

alien ：陌生的

to me ：对我而言

At least ：不管怎样

staff ：工作人员

assembler ：汇编程序

shareware ：共享软件

I was a disconnected and lonely young man. Somewhat autistic, perhaps. I thought only of work, swimming, my pet cats, work. The notion that people could enjoy my company was alien to me. At least my work, I felt, had value. We wrote code generators in Cobol. I wrote a code editor that staff loved because it worked elegantly and ran on everything. I taught myself C and 8086 assembler and wrote shareware tools. The 1990's slowly happened.

关键词/句

I was a disconnected and lonely young man ：我是一个 孤僻的人

Somewhat ：有点、稍微

autistic ：自闭证

perhaps ：也许、或许、大概

notion ：想法、信念

alien ：陌生的

to me ：对我而言

At least ：不管怎样

staff ：工作人员

assembler ：汇编程序

shareware ：共享软件

Over time I learned that if you chat with a stranger, in the course of any kind of interaction (like buying a hot dog, or groceries) they'll chat back with a beam of pleasure. Slowly, like a creeping addiction to coffee, this became my drug of choice.

Over time I learned that if you chat with a stranger, in the course of any kind of interaction (like buying a hot dog, or groceries) they'll chat back with a beam of pleasure. Slowly, like a creeping addiction to coffee, this became my drug of choice.

In time it became the basis, and then the goal of my work: to go to strange places and meet new people. I love the conferences because you don't need an excuse. Everyone there wants, and expects, to talk. I rarely talk about technical issues. Read the code, if you want that.

In time it became the basis, and then the goal of my work: to go to strange places and meet new people. I love the conferences because you don't need an excuse. Everyone there wants, and expects, to talk. I rarely talk about technical issues. Read the code, if you want that.

And so I'm proud of my real work, which has been for decades, to talk with people, listen and exchange knowledge, and then synthesize this and share it on with others. Thousands of conversations across Europe, America, Africa, Asia. I'll take whatever credit people want to give me for being creative, brilliant, etc. Yet the models and theories I've shaped and documented are consistently drawn from real-life experience with other people.

And so I'm proud of my real work, which has been for decades, to talk with people, listen and exchange knowledge, and then synthesize this and share it on with others. Thousands of conversations across Europe, America, Africa, Asia. I'll take whatever credit people want to give me for being creative, brilliant, etc. Yet the models and theories I've shaped and documented are consistently drawn from real-life experience with other people.

Thank you, my friends, for that. When I say "I love you" it's not some gesture. You literally kept me fed, professionally and intellectually.

Thank you, my friends, for that. When I say "I love you" it's not some gesture. You literally kept me fed, professionally and intellectually.

So I wanted to document one last model, which is how to die, given some upfront knowledge and time. I'm not going to write an RFC this time. :)

So I wanted to document one last model, which is how to die, given some upfront knowledge and time. I'm not going to write an RFC this time. :)

How it Happened

How it Happened

Technically, I have metastasis of bile duct cancer, in both lungs. Since February I've had this dry cough, and been increasingly tired and unfocused on work. In March my Father died and we rushed around arranging that. My cough took a back seat. On April 8 I went to my oncologist to say that I was really not well. She organized a rush CAT scan and blood tests.

Technically, I have metastasis of bile duct cancer, in both lungs. Since February I've had this dry cough, and been increasingly tired and unfocused on work. In March my Father died and we rushed around arranging that. My cough took a back seat. On April 8 I went to my oncologist to say that I was really not well. She organized a rush CAT scan and blood tests.

On 13 April, a horrific bronchoscopy and biopsies. On 15 April, a PET scan. On 16 April I was meant to drive to Eindhoven to keynote at NextBuild. Instead I went to the emergency room with explosive pains in my side, where they'd done the biopsies. I was checked in and put on antibiotics, which fixed the pain, and on 18 April my oncologist confirmed it was cancer. I'm still here, and my doctors are thinking what chemo to try on me. It is an exotic cancer in Europe with little solid data.

On 13 April, a horrific bronchoscopy and biopsies. On 15 April, a PET scan. On 16 April I was meant to drive to Eindhoven to keynote at NextBuild. Instead I went to the emergency room with explosive pains in my side, where they'd done the biopsies. I was checked in and put on antibiotics, which fixed the pain, and on 18 April my oncologist confirmed it was cancer. I'm still here, and my doctors are thinking what chemo to try on me. It is an exotic cancer in Europe with little solid data.

On 13 April, a horrific bronchoscopy and biopsies. On 15 April, a PET scan. On 16 April I was meant to drive to Eindhoven to keynote at NextBuild. Instead I went to the emergency room with explosive pains in my side, where they'd done the biopsies. I was checked in and put on antibiotics, which fixed the pain, and on 18 April my oncologist confirmed it was cancer. I'm still here, and my doctors are thinking what chemo to try on me. It is an exotic cancer in Europe with little solid data.

On 13 April, a horrific bronchoscopy and biopsies. On 15 April, a PET scan. On 16 April I was meant to drive to Eindhoven to keynote at NextBuild. Instead I went to the emergency room with explosive pains in my side, where they'd done the biopsies. I was checked in and put on antibiotics, which fixed the pain, and on 18 April my oncologist confirmed it was cancer. I'm still here, and my doctors are thinking what chemo to try on me. It is an exotic cancer in Europe with little solid data.

What we do know is that cholangiocarcinoma does not respond well to chemotherapy. Further, that my cancer is aggressive and fast moving. Third, I've already some clusters in other parts of my body. All this is clear and solid data.

What we do know is that cholangiocarcinoma does not respond well to chemotherapy. Further, that my cancer is aggressive and fast moving. Third, I've already some clusters in other parts of my body. All this is clear and solid data.

So that day I told the world about it, and prepared to die.

So that day I told the world about it, and prepared to die.

Talking to a Dying Person

Talking to a Dying Person

It can be horribly awkward to talk to a dying person (let's say "Bob"). Here are the main things the other person (let's say "Alice") should not say to Bob:

"Hang in there! You must have hope, you must fight!" It's safe to assume that Bob is fighting as hard as possible. And if not, that's entirely Bob's choice.

"This is so tragic, I'm so sad, please don't die!" Which my daughter said to me one time. I explained softly that you cannot argue with facts. Death is not an opinion. Being angry or sad at facts is a waste of time.

"You can beat this! You never know!" Which is Alice expressing her hope. False hope is not a medicine. A good chemotherapy drug, or a relaxing painkiller, that's medicine.

"There's this alternative cure people are talking about," Which gets the ban hammer from me, and happily I only got a few of those. Even if there was a miracle cure, the cost and stress (to others) of seeking it is such a selfish and disproportionate act. With, as we know, lottery-style chances of success.

"Read this chapter in the Bible, it'll help you."  If Bob wants religious advice he'll speak to his priest. And if not, just do not go there. It's another ban hammer offense.

Engage in slow questioning. This is passive-predatory, asking Bob to respond over and over to small, silly things like "did I wake you?" Bob is unlikely to be a mood for idle chitchat. He either wants people close to him, physically, or interesting stuff (see below).

It can be horribly awkward to talk to a dying person (let's say "Bob"). Here are the main things the other person (let's say "Alice") should not say to Bob:

"Hang in there! You must have hope, you must fight!" It's safe to assume that Bob is fighting as hard as possible. And if not, that's entirely Bob's choice.

"This is so tragic, I'm so sad, please don't die!" Which my daughter said to me one time. I explained softly that you cannot argue with facts. Death is not an opinion. Being angry or sad at facts is a waste of time.

"You can beat this! You never know!" Which is Alice expressing her hope. False hope is not a medicine. A good chemotherapy drug, or a relaxing painkiller, that's medicine.

"There's this alternative cure people are talking about," Which gets the ban hammer from me, and happily I only got a few of those. Even if there was a miracle cure, the cost and stress (to others) of seeking it is such a selfish and disproportionate act. With, as we know, lottery-style chances of success.

"Read this chapter in the Bible, it'll help you."  If Bob wants religious advice he'll speak to his priest. And if not, just do not go there. It's another ban hammer offense.

Engage in slow questioning. This is passive-predatory, asking Bob to respond over and over to small, silly things like "did I wake you?" Bob is unlikely to be a mood for idle chitchat. He either wants people close to him, physically, or interesting stuff (see below).

Above all, express no emotions except happiness, and don't give Bob new things to deal with.

Above all, express no emotions except happiness, and don't give Bob new things to deal with.

Bob's Duties

Bob's Duties

It's not all Alice's work. Bob too has obligations under this protocol. They are, at least:

Be happy. This may sound trite yet it's essential. If you are going to be gloomy and depressed, Alice will be miserable every time she talks to you.

Obviously, put your affairs in order. I've been expecting death for years now, so had been making myself disposable wherever I could. For family, that is not possible. For work, yes, and over the years I've removed myself as a critical actor from the ZeroMQ community.

Remove all stress and cost that you can. For example Belgium permits euthanasia. I've already asked my doctors to prepare for that. (Not yet!, when it's time…) I've asked people to come say goodbye before I die, not after. No funeral. I'll give my remains to the university here, if they want them.

Be realistic. Hope is not medicine, as I explained. If you are going to negotiate with your doctors, let it be pragmatic and in everyone's interests. I've told mine they can try whatever experimental chemotherapy they wish to. It's data for them, and the least I can do for a system that's given me five+ years of extra life.

Assume the brutal worst. When my oncologist saw my scan she immediately called me and told me, in her opinion, it was cancer. In both lungs, all over the place. I put the phone down, and told the children. The next day I told their schools to expect the worst, then my lawyer, then my notary. Ten days later the biopsies confirmed it. That gave us ten more days of grieving and time to prepare.

Be honest and transparent with others. It takes time to grieve and it is far easier to process Bob's death when you can talk about it with Bob. There is no shame in dying, it is not a failure.

It's not all Alice's work. Bob too has obligations under this protocol. They are, at least:

Be happy. This may sound trite yet it's essential. If you are going to be gloomy and depressed, Alice will be miserable every time she talks to you.

Obviously, put your affairs in order. I've been expecting death for years now, so had been making myself disposable wherever I could. For family, that is not possible. For work, yes, and over the years I've removed myself as a critical actor from the ZeroMQ community.

Remove all stress and cost that you can. For example Belgium permits euthanasia. I've already asked my doctors to prepare for that. (Not yet!, when it's time…) I've asked people to come say goodbye before I die, not after. No funeral. I'll give my remains to the university here, if they want them.

Be realistic. Hope is not medicine, as I explained. If you are going to negotiate with your doctors, let it be pragmatic and in everyone's interests. I've told mine they can try whatever experimental chemotherapy they wish to. It's data for them, and the least I can do for a system that's given me five+ years of extra life.

Assume the brutal worst. When my oncologist saw my scan she immediately called me and told me, in her opinion, it was cancer. In both lungs, all over the place. I put the phone down, and told the children. The next day I told their schools to expect the worst, then my lawyer, then my notary. Ten days later the biopsies confirmed it. That gave us ten more days of grieving and time to prepare.

Be honest and transparent with others. It takes time to grieve and it is far easier to process Bob's death when you can talk about it with Bob. There is no shame in dying, it is not a failure.

Explaining to the Children

Explaining to the Children

My kids are twelve, nine, five. Tragic, etc. etc. Growing up without a father. It is a fact. They will grow up with me in their DNA, on Youtube as endless conference talks, and in writing.

My kids are twelve, nine, five. Tragic, etc. etc. Growing up without a father. It is a fact. They will grow up with me in their DNA, on Youtube as endless conference talks, and in writing.

I've explained it to them slowly, and many times over the years, like this. One day, I will be gone. It may be long away, it may be soon.  It is part of life.

I've explained it to them slowly, and many times over the years, like this. One day, I will be gone. It may be long away, it may be soon.  It is part of life.

Imagine you have a box of Lego, and you build a house, and you keep it. And you keep making new houses, and never breaking the old ones. What happens? "The box gets empty, Daddy." Good, yes. And can you make new houses then? "No, not really." So we're like a Lego houses, and when we die our pieces get broken up and put back in the box. We die, and new babies can be born. It is the wheel of life.

Imagine you have a box of Lego, and you build a house, and you keep it. And you keep making new houses, and never breaking the old ones. What happens? "The box gets empty, Daddy." Good, yes. And can you make new houses then? "No, not really." So we're like a Lego houses, and when we die our pieces get broken up and put back in the box. We die, and new babies can be born. It is the wheel of life.

But mostly I think seeing their parent happy and relaxed (not due to pain killers), and saying goodbye over weeks feels right. I am so grateful not to have died suddenly. I'm so grateful I won't lose my mind.

But mostly I think seeing their parent happy and relaxed (not due to pain killers), and saying goodbye over weeks feels right. I am so grateful not to have died suddenly. I'm so grateful I won't lose my mind.

And I've taught my children, to swim and bike and skate and shoot. To cook, to travel and to camp. To use technology without fear. At three, Gregor was on Minecraft, keyboard in left hand, mouse in right. At seven, Noemie learned to shoot a pistol. They speak several languages. They are confident and quick learners, like their dad.

And I've taught my children, to swim and bike and skate and shoot. To cook, to travel and to camp. To use technology without fear. At three, Gregor was on Minecraft, keyboard in left hand, mouse in right. At seven, Noemie learned to shoot a pistol. They speak several languages. They are confident and quick learners, like their dad.

And everyone needs to learn what it means to die. It is a core part of being a full human, the embrace of one's mortality. We fight to live, of course. And when it's over, we embrace the end. I'm happy that I can teach this lesson to my children, it is one that I never had.

And everyone needs to learn what it means to die. It is a core part of being a full human, the embrace of one's mortality. We fight to live, of course. And when it's over, we embrace the end. I'm happy that I can teach this lesson to my children, it is one that I never had.

Euthanasia

Euthanasia

I am, finally, so glad I never quit Belgium. This country allows for death on demand, for patients who are terminal or have a bad enough quality of life. It takes three doctors and a psychiatrist, in the second case, and four weeks' waiting period. In the first case, it takes one doctor's opinion.

I am, finally, so glad I never quit Belgium. This country allows for death on demand, for patients who are terminal or have a bad enough quality of life. It takes three doctors and a psychiatrist, in the second case, and four weeks' waiting period. In the first case, it takes one doctor's opinion.

My dad chose this, and died on Easter Tuesday. Several of us his family were with him. It is a simple and peaceful process. One injection sent him to sleep, into a coma. The second stopped his heart. It was a good way to die, and though I didn't know I was sick then, one I already wanted.

My dad chose this, and died on Easter Tuesday. Several of us his family were with him. It is a simple and peaceful process. One injection sent him to sleep, into a coma. The second stopped his heart. It was a good way to die, and though I didn't know I was sick then, one I already wanted.

I'm shocked that in 2016 few countries allow this, and enforce the barbaric torture of decay and failure. It's especially relevant for cancer, which is a primary cause of death. Find a moment in your own jurisdiction, if it bans euthanasia, to lobby for the right to die in dignity.

I'm shocked that in 2016 few countries allow this, and enforce the barbaric torture of decay and failure. It's especially relevant for cancer, which is a primary cause of death. Find a moment in your own jurisdiction, if it bans euthanasia, to lobby for the right to die in dignity.

My Feelings on All This

My Feelings on All This

I've never been a fearful person. My last brush with death left me so casual about the whole concept of professional and social risk that I became the predatory character Allen Ding so nicely describes. That calmed down after our Game of Thrones project ended. It was never really me, just the person I became to make things work, in that place and time.

I've never been a fearful person. My last brush with death left me so casual about the whole concept of professional and social risk that I became the predatory character Allen Ding so nicely describes. That calmed down after our Game of Thrones project ended. It was never really me, just the person I became to make things work, in that place and time.

Having had years to prepare for this, and having seen a great many delicate plans come together over those years, leaves me deeply satisfied. Since 2011 I've become an expert pistol shot, taught myself to play piano (and composed many small pieces), seen my children grow into happy, bubbling characters, written three books, coached the ZeroMQ community into serene self-reliability. What more can a Bob ask for?

Having had years to prepare for this, and having seen a great many delicate plans come together over those years, leaves me deeply satisfied. Since 2011 I've become an expert pistol shot, taught myself to play piano (and composed many small pieces), seen my children grow into happy, bubbling characters, written three books, coached the ZeroMQ community into serene self-reliability. What more can a Bob ask for?

The staff here are lovely. I've no complaints, only gratitude to all my friends for the years of pleasure you've given me, my drug, which kept me alive and driven.
Thank you! :)

The staff here are lovely. I've no complaints, only gratitude to all my friends for the years of pleasure you've given me, my drug, which kept me alive and driven.
Thank you! :)

Think of the Children

Think of the Children

Please use this article to add your stories. If you have them elsewhere, or you emailed me, copy/paste as a comment. Feel free to write in Dutch or French if that's your language. I'd really like a single place where my kids can come and read what other people say about their dad.

Please use this article to add your stories. If you have them elsewhere, or you emailed me, copy/paste as a comment. Feel free to write in Dutch or French if that's your language. I'd really like a single place where my kids can come and read what other people say about their dad.

Many people have asked my PayPal address<EMAIL_ADDRESS>to send a donation for my children.

那些想给我的孩子们捐款的人们在问我的 PayPal<EMAIL_ADDRESS>

Many people have asked my PayPal address<EMAIL_ADDRESS>to send a donation for my children.

那些想给我的孩子们捐款的人们在问我的 PayPal<EMAIL_ADDRESS>


Proposal: option to drop data-theme in favor of prefers-color-scheme

Have you read the Contributing Guidelines on issues?

[X] I have read the Contributing Guidelines on issues.

Description
It would be valuable for Docusaurus to provide an option that disables data-theme entirely, and drops all attributes and JavaScript for it, in favor of solely using the prefers-color-scheme property.
Has this been requested on Canny?
N/A
Motivation
In the following scenario, it's best to drop data-theme altogether:

the website uses prefers-color-scheme
does not provide an on-site toggle
light mode and dark mode are the only color schemes available

Some developers, such as myself, don't provide an on-site toggle for changing theme. Instead, we guide users to their browser or operating system settings if it's supported.

This also improves theming when JavaScript is disabled, whereas currently Docusaurus and similar tool chains are locked into light mode when JavaScript is disabled.
In the scenario described initially, this minimally reduces the network transfer when serving pages and parsed/executed JavaScript.
Avoids any messiness or disputes regarding if the ePrivacy Directive applies to this use of localStorage to store theming preferences.

This option would introduce a tradeoff that developers would have to consider:

current behavior, clients with JavaScript disabled can't access dark mode
proposed option, clients on old software can't access dark mode

API design
I think the best way to do this is to perform the action implicitly based on the current config, no API change is necessary.
In the color mode config, if disableSwitch: true and respectPrefersColorScheme: true are configured, then implicitly perform this behavior, where all styling is applied through prefers-color-scheme, not [data-theme=dark].
export default {
  themeConfig: {
    colorMode: {
      disableSwitch: true,
      respectPrefersColorScheme: true,
    }
  }
};

Have you tried building it?
I have reviewed the Docusaurus repo. Skipping the script that adds the theming script at the top of the <body> is easy.
The part I'm not sure of is how to approach selectors for [data-theme='dark'] in the code. I'm thinking this would be easiest as a post step with PostCSS or webpack to convert them to @media (prefers-color-scheme: dark), but I have not done this yet.
Self-service

[X] I'd be willing to contribute this feature to Docusaurus myself.

That seems a bit complicated for limited usefulness.
Who disables JS these days? I mean it can fail to load ok (but in our case it's inlined) but if you disable it on purpose you can expect 99.9% of the internet to not work as good as if it were enabled 😅
Who has a concrete use-case for this, apart theorically? Do you browse internet using a very old browser (which we don't support) or with JS disabled?

Who disables JS these days?

Not many people, admittedly. However, as a participant in privacy spaces, I have encountered users who browse with JavaScript disabled by default (i.e. with uBlock Origin rather than the browser setting) and only enable it again for sites they trust.

Who has a concrete use-case for this

The only group I can think of, and a reference to the above, are individuals who are protective around privacy/tracking.

Do you browse internet using a very old browser (which we don't support) or with JS disabled?

I, personally, do not disable JavaScript myself.
I have considered it, but as you've said, some sites don't work as well, and many don't work whatsoever. However, this can also explain why I'd value building a better JavaScript-less experience in web apps, since I'd like to see the web run better without JavaScript.

In general, I agree it's niche and might be more work than it's worth. If you aren't into it, I'm happy to look externally to get this done.
I thought it would be great to have this baked into Docusaurus because it already has a (mostly) good JavaScript-less experience, so I assumed it was one of the goals. It's actually one of the reasons I tried it out.
If JavaScript-less browsing hasn't been a focus, I'm actually surprised and impressed with how well it works. ^-^'

Thanks for the explanations.
Yes working without JS has been a focus for most features (notably navigation), and we kept the hardest cases for later.
I guess we can close as duplicate of the existing "no js support" issue: https://github.com/facebook/docusaurus/issues/3030


update migrator

Coverage decreased (-0.03%) to 54.844% when pulling afb7003775c104b37b03ffec0f2da5ffc8e1b41b on wy65701436:update-migrator into 49f52ef8f8a55401d004b19f0335fb0b285b37dc on vmware:master.

Coverage decreased (-0.04%) to 54.836% when pulling 55314d6d47b75503f80eeac0c82167a9a8c273ae on wy65701436:update-migrator into 49f52ef8f8a55401d004b19f0335fb0b285b37dc on vmware:master.

Coverage decreased (-0.2%) to 54.686% when pulling 7b91e73a2628665ae51e19d626edb35b28641f74 on wy65701436:update-migrator into 49f52ef8f8a55401d004b19f0335fb0b285b37dc on vmware:master.

Coverage decreased (-0.02%) to 54.686% when pulling 2dd5b67eb52398aed944613d14fa6e1c7abe099c on wy65701436:update-migrator into 749435ccf3d9d7bcb9292293f1c1fef5fe7372b5 on vmware:master.


changed dashes in every "tag_name" to underscores

This PR aims to address #1397.
All dashes in tags are replaced by underscores so that a vanilla call to set_tags with tag_name=tag_value will not break as tag_name does not contain any dash symbol.

hi, I know its a small change but I'm worried this may cause conflicts with other ongoing PRs thus causing others grief. Might it be better to do it module by module (forecasting as one PR, then transformations, etc)?

hi, I think the code has gone beyond this, it is probably worth doing this more incrementally when the classification refactor is complete. Can I close this PR?

@TonyBagnall, not sure - pending fixes in the merge conflicts, might be worth doing this before the release?

out of sync since 1 y old, closing. Let´s try the renaming separately.


Add configuration parameters to property testing

invocation count - the number of different values that should be fed in
minsuccessful - the mininum number of attempts that must pass
threads - number of threads to use in the executor pool

If you want to pick this up @helmbold feel free, otherwise I'll do it after my other tickets.

Yes, I would do it next week.

Is this still outstanding?

Yes, it is still open. This was not on my radar ...

Check three comments up :p

Yes, I know :-/ But completely forgotten this issue, though.

Ok I'll do it.
On 10 Oct 2016 20:06, "Christian Helmbold"<EMAIL_ADDRESS>wrote:

Yes, I know :-/ But completely forgotten this issue, though.
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/kotlintest/kotlintest/issues/41#issuecomment-252715707,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAtZGrlHVI-uPwQOflQLBoVOv3aqGz-Aks5qyoyjgaJpZM4I6thI
.

I'm closing this as since #222 we can specify the number of attempts, and the number of threads can be specified by using any standard test block.


Java-based version of database replication POC via inbound and outbound CDC

see #208

Awesome work @cstub. I'm just curious about the serializer configs. Will merge when answered.


Channel: view error

Clicking the 'View' button within an episode in the CMS produces an error. The URL is still trying to resolve under 'channels' as opposed to 'channel'.
Clicking 'View' returns a 404:

Just fixed this. That URL is authorable in the CMS via the related template settings, but I'd recommend not editing those pages if at all possible. We shouldn't have to change this again regardless.
Tested working.


Error sending Telegram notification

2020/09/22 20:05:10 Unable to send message to telegram, bad request.
Error testing Telegram notification exiting...
Using in CMD
set TELEGRAM_API_KEY=XXX:XXX
set TELEGRAM_CHAT_ID=-XXX
nvidia-clerk-windows.exe -telegram -test

I don't have a telegram API key to test this paging @forestlovewood

Invite API token (temp bot):<PHONE_NUMBER>:AAH4yrxsoSPqNACPLsqipaPlOnGZ_miFkS4
If you have no Telegram, use test channel token: -482559859 (needs to include the -)
I will output the result
Testing with CURL to ensure bot works messaging channel:

Can someone write a short instruction on how to set this up please?

Out of curiosity if you wrap the API_KEY and CHAT_ID with "" does it resolve this? I.E.
set TELEGRAM_API_KEY="XXX:XXX"
set TELEGRAM_CHAT_ID="-XXX"

Out of curiosity if you wrap the API_KEY and CHAT_ID with "" does it resolve this? I.E.
set TELEGRAM_API_KEY="XXX:XXX"
set TELEGRAM_CHAT_ID="-XXX"

Yes, I tried and get the same error.
nvidia-clerk-windows.exe -telegram -test 2020/09/22 20:28:35 Unable to send message to telegram, bad request. Error testing Telegram notification exiting...

Can you try using the API format below?
https://api.telegram.org/bot1333902211:AAH4yrxsoSPqNACPLsqipaPlOnGZ_miFkS4/sendMessage?chat_id=-482559859&text=TEST123

@jpdsceu @ianmarmour I suspect this may be because the Telegram notification handler is adding a @ to the start of the chat ID which was only relevant for my own test case, and not for private channels or groups. I've created PR #49 which resolves this.

https://github.com/ianmarmour/nvidia-clerk/releases/tag/v1.7
forest made changes that should resolve this can you go in and test @jpdsceu thanks!

@ianmarmour I just tested the new 1.7 release but no go yet with Telegram.
Note: I created a test bot using BotFather and when I use the URL format from @jpdsceu above with my bot's API string and my chat id, I do receive a message from the bot in my Telegram app, so I know the API key is working.

@ianmarmour I just tested the new 1.7 release but no go yet with Telegram.
Note: I created a test bot using BotFather and when I use the URL format from @jpdsceu above with my bot's API string and my chat id, I do receive a message from the bot in my Telegram app, so I know the API key is working.

What @ianmarmour means is that there is a new version with the fix.
I am unable to test it now, only tomorrow morning.
Will update once I tested it.

@jpdsceu I know there is a new version with the fix, I downloaded it from @ianmarmour 's link posted above and it's 23 minutes old now :)
But anyway I will await your tests tomorrow...

Working here.
Batch file:
Test:
set TELEGRAM_API_KEY=**XXX**
set TELEGRAM_CHAT_ID=**XXX**
START nvidia-clerk-windows.exe -telegram -test

Worker:
set TELEGRAM_API_KEY=**XXX**
set TELEGRAM_CHAT_ID=**XXX**
START nvidia-clerk-windows.exe -telegram -region=**XXX**

Keep in mind that the CHAT_ID needs to begin with "-"
@ianmarmour, maybe it would be good to advise people to use Groups and not direct chat. Bots seem to hate it?

@jpdsceu Could you then explain how to create an API key and what the format should look like?
Like I said, I created a test bot and used the API token I got from the bot (formatted like so:<PHONE_NUMBER>:ABCde-AbcdeFgHI9987654ABCdE).
When I test this together with my chat id using the https://api.telegram.org URL that is shown above, it works (as long as I put "bot" in front of the API key). But the Nvidia Clerk program keeps giving me the bad request error. Tried different formats of the API key, chat id with and without "-" and with and without quotes around everything.

Working here.
Batch file:
Test:
set TELEGRAM_API_KEY=**XXX**
set TELEGRAM_CHAT_ID=**XXX**
START nvidia-clerk-windows.exe -telegram -test

Worker:
set TELEGRAM_API_KEY=**XXX**
set TELEGRAM_CHAT_ID=**XXX**
START nvidia-clerk-windows.exe -telegram -region=**XXX**

Keep in mind that the CHAT_ID needs to begin with "-"
@ianmarmour, maybe it would be good to advise people to use Groups and not direct chat. Bots seem to hate it?

I'm not too involved or knowledgeable regarding telegram, if you want to submit a pull request to update the documentation regarding telegram feel free to submit it though and I'll review.

Never mind. It suddenly started working LOL. I did not use the "-" sign though. Just used my own chat id without the "-" and it works now, so thanks!

You don't need to put the word not infront of the API_KEY, only the<PHONE_NUMBER>:ABCde-AbcdeFgHI9987654ABCdE.
Regarding the CHAT_ID. I would advise to create a group, invite the bot.
Next, open Telegram web, click on the group. In the address bar you should see the group number with a letter infront of it. Usually a or b. Do not copy the letter, instead put a - infront of the numbers. There is your CHAT_ID.
Example CHAT_ID: -482559859. In the browser address bar it will show something like s482559859 or g482559859.


[Designer]Bug 33489363: [FoodOrder.Json]: Screen reader is not announcing the 'Expand/Collapse' state of "Steak", "Chicken" and "Tofu" buttons under 'FoodOrder.json. Adaptive Card.

Problem Description
Bug 33489363: [FoodOrder.Json]: Screen reader is not announcing the 'Expand/Collapse' state of "Steak", "Chicken" and "Tofu" buttons under 'FoodOrder.json. Adaptive Card.
Test Environment:
Application: Adaptive Cards
OS version: Dev (OS Build 21387.1)
Application Version: 2.7.2105.11001
Screen Reader: Narrator
Repro steps:

Launch the Adaptive Card application and narrator.

Adaptive Card UWP Visualizer screen starts appearing.

Navigate to FoodOrder.Json button by using Tab key and activate it.

FoodOrder adaptive card will be appeared on right sight of the pane.

Navigate to FoodOrder card by using Tab key.

Navigate to "Steak", "Chicken" and "Tofu" buttons with Tab key and observe the issue.

Actual Result:
Screen reader is not announcing the 'Expand/Collapse' state of "Steak", "Chicken" and "Tofu" buttons under 'FoodOrder.json. Adaptive Card. Screen Reader is only announcing 'Steak button'.
Expected Result:
Screen reader should announce the 'Expand/Collapse' state of "Steak", "Chicken" and "Tofu" buttons under 'FoodOrder.json. Adaptive Card. Screen reader should announce as, "Steak button Expanded/Collapsed".
User Experience:
User depending on screen reader might get affected if screen reader does not pass State information about the control. Screen reader user will not able to know the property of that control and will face problem while interacting with it.
Observation: Issue also repro with NVDA(2020.4).
Note: Same issue is also repro with "Steak", "Chicken" and "Tofu" buttons under 'Food Order with Validation' card,
Card JSON
Designer Bug. Repro on UWP Adaptive Card visualizer

Screenshot
No response

Hi @anna-dingler and @paulcam206
Is there any update on this issue as this issue is still repro? As the control is expandable button control then it should announce the state infomration.


unable to read content of out parameter

I'd apologize on the outset if this is a silly question.  After trying to resolving this issue on my own attempt for almost an entire day, this is my last resort.  Please help...
Here's what I have:
A DLL with the following methods:
...
#region DLL Import Declarations
<EMAIL_ADDRESS>EntryPoint="functionA", CharSet=CharSet.Ansi)]
private static extern int functionA(int num);
[DllImport("test.DLL", EntryPoint="functionB", CharSet=CharSet.Ansi)]
private static extern int functionB(StringBuilder aData, ref int aMaxSize, int fmt);

...
in my nodejs project, I have:
var intPtr = ref.refType('int');
var stringBuilder = ref.types.void;
var stringBuilderPtr = ref.refType(stringBuilder);
var myDLL = new ffi.Library('test.dll', {
'functionA'    : ['int32', ['int32']],
'functionB': ['int32', ['pointer', intPtr, 'int32']]
});
console.log(myDLL.functionA(14));  // works fine!
var outString = ref.alloc('string');
var outNumber = ref.alloc('int');
outNumber.writeInt32LE(0, 0);
console.log(myDLL.functionB(outString, outNumber, 1));
console.log('outString.length = ' + outString.length);   // always output 4
var out = outString.deref();
console.log(out);  // gibberish. e.g.  p�$�.M9M9M9M9M90�$0�5p�$�.M9M9M9M9`M9M9�N#p�$

The question is how do I read the content of the 'out' buffer.  It seems to be pointing to some gibberish, mostly 76 bytes but sometimes 3 bytes.  Based on what I know functionB should return XML string.
Thanks in advance!

So is StringBuilder a char ** type then basically?

StringBuilder is a C# type, which, accordingly to MSDN, works like String with better performance.
Suppose we should use char **, would you suggest that I create "pointer-to-pointer" to ref.types.void?
Thanks

Based on what I can find, I think we can assume the native call to be something like this:
int functionB(char *aData, int *aMaxSize);
Assuming the above is right, how do I pass-by-reference a JS variable as the first parameter, and read its content after the native call is made?
Thanks!

finally figured out my problem -- a word of advise for those that might run into the same issue: READ THE DOCUMENTATION!
It turns out that the DLL is requiring a double call - once to get the buffer size, and second time to assign data to the buffer parameter (out param) with the right size set.  Once I set up my code as such, things start to work.  Dang...


Sampling issue with WebP

Discussed in https://github.com/Shopify/react-native-skia/discussions/2449

Originally posted by natuanorg May 28, 2024
We are currently using React Native Skia for image rendering in our application and have noticed that the image quality is significantly lower compared to when using the expo-Image library.
Here is a sample code snippet for rendering an image using React Native Skia and expo-image to illustrate the issue:
const URI = 'https://i.ibb.co/D1rZQvR/2024.webp';
export const TestScreen = () => {
  const image = useImage(URI);
  if (image === null) {
    return null;
  }
  return (
    <View style={{flex: 1}}>
      <Canvas style={{flex: 1}}>
        <Image
          fit={'cover'}
          image={image}
          x={0}
          y={0}
          width={256}
          height={256}
        />
      </Canvas>
      <View style={{flex: 1}}>
        <EXImage source={URI} style={{width: 256, height: 256}} />
      </View>
    </View>
  );
};

We are looking for guidance on how to improve image rendering quality using React Native Skia. Any insights, recommendations, or configurations that could help us achieve better quality would be greatly appreciated.
Thank you for your attention to this matter. We look forward to your support and suggestions.

@wcandillon  We have resolved the low image quality issue by using offscreen canvas to render and export images. Thank you for your support!


How to flash the meteorite

Thank you so much @syssi for your great work on unchaining these device from chinese cloud servers!
I would love to get my meteorite in esphome, but right now, i am a little bit struggling with your instructions.
I got a USB-TTL-Dongle ready up for some flashing action, but i actually don't understand how i can hold down the state of the GPIO01-Pin on the ESP. Do i need to bridge something to get it in that state?
Would you be so kind and give me some instructions how to get the esp32 in the proper state, to flash it through the dongle with esphome? The latter part i already know from to epaper-esp32-devices, but i'm just struggling with the part of preparing the esp32-board.
Thank you in advance and best wishes
Chris

No problem. It provide some instructions later the day.

How to flash the meteorite:

Disassemble the device to have proper access to the daughterboard.
Solder 4 (if possible 5) wires to the board (3.3V, RX, TX, GND, GND): https://raw.githubusercontent.com/syssi/esphome-yeelight-ceiling-light/main/images/yldl01yl/007.jpg
The fifth wire is to have propery access to GND. You could use the second test point on the left if you don't want to solder two wires to the same test point (on the right).
Make sure the dongle isn't plugged in.
Attach RX , TX, GND and 3.3V to your USB-TTL-Dongle. Please be aware: The dongle won't provide enough power to drive/boot the ESP32 and connect to your WiFi. If you want to play around with the serial output of the stock firmware you've to provide the voltage from another source providing enough current. Just for flashing the device (booting into the flash mode) the power of the dongle could/should be enough.
Connect the fifth wire (GND) to the test point IO0. This is called: "Pull IO0 down". If GPIO0 of an ESP32 is pulled down and you connect power to the device the microcontroller goes into the "download mode" (flash mode).
Plug the dongle into the PC (make sure IO0 is pulled down). You could also have the dongle always plugged into your USB port and simply connect 3.3V to the board (while pulling IO0 down). If you look at the serial traffic at the same time you would see the this message:

rst:0x1 (POWERON_RESET),boot:0x3 (DOWNLOAD_BOOT(UART0/UART1/SDIO_REI_REO_V2))

waiting for download

Now you've entered the download mode and the ESP32 can be flashed via esphome.
If you are done please don't expect the ESP32 is able to connect to your WiFi (after reboot). You have to remember: Your dongle doesn't provide enough current.

Thank you very much for the comprehensive guide.
Today i disassembled the light and soldered the pins on the mentioned points. I also soldered a wire on the IO0, which i then held down to the GND near the TX and RX points. Unfortunately i am not able to get any serial output through putty and the COM-Port of the Dongle. Also i'm not able to flash the binary through the esphome-flasher, as it is unable in detecting the esp chip.
It seems the ESP doesn't go into Download mode and i'm currently at loss here, what might be wrong.
Do i need a special configuration of the usb-dongle (it is an AZDelivery UART-TTL USB Adapter with CH340G Chipset on Standard Windows-Settings)?
As the ESP itself doesn't show any activity (a LED for instance), i'm also not sure, if it powers up at all.
Do you have any ideas?

Did you try to swap TX und RX?

Hah! You're my hero. Swapping TX and RX helped. Funny stuff. Thanks!

How to flash the meteorite:

Disassemble the device to have proper access to the daughterboard.
Solder 4 (if possible 5) wires to the board (3.3V, RX, TX, GND, GND): https://raw.githubusercontent.com/syssi/esphome-yeelight-ceiling-light/main/images/yldl01yl/007.jpg
The fifth wire is used to have easy access to GND. You could use the second test point on the left if you don't want to solder two wires to the same test point (on the right).
Make sure the dongle isn't plugged in.
Attach RX , TX, GND and 3.3V to your USB-TTL-Dongle. Please be aware: The dongle won't provide enough current to drive/boot the ESP32 and connect to your WiFi. If you want to play around with the serial output of the stock firmware you've to provide the voltage from external power supply providing enough current. Just for flashing the device (booting into the download mode) the power of the dongle could/should be enough.
Connect/press the fifth wire (GND) to the test point IO0. This is called: "Pull IO0 down". If GPIO0 of an ESP32 is pulled down and you connect power to the device the microcontroller goes into the "download mode" (flash mode).
Plug the dongle into the PC (make sure IO0 is pulled down). You could also have the dongle always plugged into your USB port and simply connect 3.3V to the board (while pulling IO0 down). If you look at the serial traffic at the same time you would see the this message:

rst:0x1 (POWERON_RESET),boot:0x3 (DOWNLOAD_BOOT(UART0/UART1/SDIO_REI_REO_V2))

waiting for download

Now you've entered the download mode and the ESP32 can be flashed via esphome. As soon the device as entered the download mode (1 second after powering up) you don't have to pull down GPIO0 any longer.
If you are done please don't expect the ESP32 is able to connect to your WiFi (after reboot). You have to remember: Your dongle doesn't provide enough current. Add an external power supply or reassemble the device. In future the device can be flashed via OTA.

Hi you,
Recently flashed a Meteorite lamp with esphome but now is in boot loop.
The logs sais this and i cant enter on bootmode with pull IO0 down
Can you help me?
[08:41:21]ets Jun  8 2016 00:22:57
[08:41:21]
[08:41:21]rst:0xc (SW_CPU_RESET),boot:0x13 (SPI_FAST_FLASH_BOOT)
[08:41:21]configsip: 0, SPIWP:0xee
[08:41:21]clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
[08:41:21]mode:DIO, clock div:2
[08:41:21]load:0x3fff0030,len:1184
[08:41:21]load:0x40078000,len:13132
[08:41:21]load:0x40080400,len:3036
[08:41:21]entry 0x400805e4
[08:41:22]E (626) cpu_start: Running on single core variant of a chip, but app is built with multi-core support.
[08:41:22]E (626) cpu_start: Check that CONFIG_FREERTOS_UNICORE is enabled in menuconfig
[08:41:22]
[08:41:22]abort() was called at PC 0x40082cfd on core 0
[08:41:22]
[08:41:22]
[08:41:22]Backtrace:0x4008374d:0x3ffe3b800x4009310d:0x3ffe3ba0 0x400986d1:0x3ffe3bc0 0x40082cfd:0x3ffe3c40 0x400792ba:0x3ffe3c90  |<-CORRUPTED
[08:41:22]
[08:41:22]
[08:41:22]
[08:41:22]
[08:41:22]ELF file SHA256:<PHONE_NUMBER>000000
[08:41:22]

Did you change the YAML configuration? Which ESPHome version did you use?
You should be able to enter the boot mode nevertheless. This should work always. Please double check your wiring.

Did you change the YAML configuration? Which ESPHome version did you use?
You should be able to enter the boot mode nevertheless. This should work always. Please double check your wiring.

I used the yaml for ceiling.10, and the wires are soldered. If a pull io0 log not show anything and if a i start without io0 pull the log show what i pasted before.
Any idea to start bootmode? I used esphome web flash for first flash.

Please pull GPIO0 and try to flash the ESP another time. Does the ESP accept the upload? It should!

Please pull GPIO0 and try to flash the ESP another time. Does the ESP accept the upload? It should!

I tried many time with same result.
Can i flash with other software with new bootloader or any else? like ESP32 FLASH DOWNLOAD TOOL?

Yes. You can flash the ESP with any software/programmer you want.

I tried, but no lucky, bootmode not work. You know any other mode to boot with bootmode? any software can do this?

No. AFAIK pulling GPIO0 is the only way to boot the ESP into the download mode. Could you provide some photos and describe what do you do exactly?

Hi Sebastian,
Pulling io0 don't work bootmode, i tried serveral times and nothing work.
I'm thinking desolder the ESP32 and solder a new one programed previously.
Thanks for all.
El mié, 3 jul 2024 a las 13:05, Sebastian Muszynski (<
@.***>) escribió:

No. AFAIK pulling GPIO0 is the only way to boot the ESP into the download
mode. Could you provide some photos and describe what do you do exactly?
—
Reply to this email directly, view it on GitHub
https://github.com/syssi/esphome-yeelight-ceiling-light/issues/14#issuecomment-2205813303,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQLOPRMARKG3O7YVIK2WE2TZKPLHBAVCNFSM6AAAAABKI42GYCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMBVHAYTGMZQGM
.
You are receiving this because you commented.Message ID:
@.***>


Update Knife Bootstrap code to eliminate all vbscript

the windows_bootstrap_context.rb file has a method called win_wget that uses wscript to do work on remote windows nodes. That needs to go away immediately. Also the fallback_install_task_command method looks like it needs to be sanitized and move to PowerShell_exec as well.

Hi @johnmccrae,
I have done some analysis on this issue and found that there are two methods win_wget and win_wget_ps in windows_bootstrap_context.rb seems like both of them are having the same functionality. and is getting called here  https://github.com/chef/chef/blob/main/knife/lib/chef/knife/bootstrap/templates/windows-chef-client-msi.erb#L35. Just wanted to confirm before removing is PS completely supported by all windows versions we support so removing VS script will be completely safe? looks like it would be safe to remove VBScript as per PowerShell support & Chef Client OS support
The second thing regarding sanitizing the fallback_install_task_command method can you please describe a little what exactly we like to sanitize here and how are we going to use it in PowerShell_exec?

Hi, PowerShell is supported by default on all current versions of Windows. There are 2 versions of PowerShell - Windows PowerShell and PowerShell Core (aka just called PowerShell). Removing the vbscript is safe.
The fallback command seems really hard to read, I'd rewrite that in PowerShell. It's much cleaner and easier to understand

@johnmccrae can you also clarify on how we can use  fallback_install_task_command in PowerShell_exec its looks here we are just passing the scripts to run it through PowerShell_exec. Moving that method here, how will we going to use it for PowerShell_exec . Or may be we can move it into one module and call it in bootstrap by passing it to  powershell_exec! method like we have done other places?

update on this issue.
I have done the part where we need to convert the VB to Powershell script ref. Now facing issue as it not recognizing PowerShell script directly in the knife, gives following error

C:\Users\Administrator\Documents>Wait-Event -SourceIdentifier chefclientinstalldone -Timeout 600
C:\Users\Administrator\Documents> if(ERRORLEVEL -eq 1)
cmd.exe : 'installation' is not recognized as an internal or external command,
+ CategoryInfo : NotSpecified: ('installation' ...ternal command,:String) [], RemoteException
+ FullyQualifiedErrorId : NativeCommandError
operable program or batch file.'detected' is not recognized as an internal or external command,operable program or batch file.'$MSIERRORCODE' is not recognized as an internal or external command,operable program or batch file.'Write-Warning'...

To make this work I have tried using PowerShell_exec (by requiring as well as by moving related files to the knife) but it keeps on  giving Exception: NoMethodError: undefined method 'ffi_lib' for FFI:Module. if we use the standard FFI library it works but as its overridden in chef its not able to found some methods.
My suggestion is to bifercate it into smaller issues as adding powershell to knife will require time. Or if there is any other solution through which Powershell script can work please let me know?

I have converted fallback_install_task_command VB script https://github.com/chef/chef/blob/main/knife/lib/chef/knife/core/windows_bootstrap_context.rb#L361 to PS script https://github.com/snehaldwivedi/script/blob/main/fallback_install_task.ps1. This PS script is working perfectly fine if I run it directly on the windows remote node but it doesn't work in this fallback_install_task_command method tried different scenarios. Can anyone suggest something on why PowerShell is not getting executed on windows host when trying to execute it as part of the bootstrap command?

Hi, in your error window it shows you passing a PowerShell block to cmd.exe. Where/how is PowerShell being called please?

Hi @johnmccrae,
I have  tried  to send a powershell block to execute using <<EOH tags as it was working for VB script, but does not look like it gets executed.
For detailed flow of this:
these EOH tags are under fallback_install_task_command  which is called under install_chef  method . And this is called through windows-chef-client-msi.erb.
Please let me know if there is some other way to execute it?


[Accessibility] Narrator focus moves to hidden element ‘Status 240 results’ under left navigation pane.

Test Environment:
OS Build: Version 22H2(OS Build 25140.1000)
Browser: Version 104.0.1278.2 (Official build) dev (64-bit)
URL: Graph Explorer | Try Microsoft Graph APIs - Microsoft Graph
Screen reader: Narrator
To Reproduce
Steps to reproduce the behavior:

Turn on Narrator using ‘Win + Ctrl + Enter’ key.
Open the above URL in Edge browser.
Navigate the left navigation pane via down arrow key,
Observe the issue.

Actual Result:
When the user navigates via down arrow in scan mode, the narrator focus moves to a hidden element and announces, ‘Status 240 Results available’.
Expected Result:
Narrator focus should not move to any hidden element while navigating via the down arrow key.
Observation:
Same issue is repro with NVDA.
User Impact:
The PWD users will be confused if focus shifts to hidden element and announces unnecessary information.
MAS Reference:
Meaningful Sequence - Liquid (microsoft.com)

https://office.visualstudio.com/OC/_workitems/edit/6175858
Issue resolved by design


ASReview 0.19 RIS export error: "float object is not iterable"

Discussed in https://github.com/asreview/asreview/discussions/988

Originally posted by jaohls February 22, 2022
Hi there all you excellent ASReview people,
Stumbled upon this problem - a colleague in my team cannot export to RIS file after screening ~25 % of the data.

Export to CSV and Excel formats seem to work.
Uploaded the .asreview project file in question here: https://drive.protonmail.com/urls/NTB1H2V6QG#tQ68AB753Apx

Steps to reproduce the issue:
from asreview import ASReviewData

asr_data = ASReviewData.from_file("Ny_uten_dupl_MR_Eksport.txt").to_ris("test_export.ris")

Output
Type "help", "copyright", "credits" or "license" for more information.
>>> from asreview import ASReviewData
>>>
>>> asr_data = ASReviewData.from_file("Ny_uten_dupl_MR_Eksport.txt").to_ris("test_export.ris")
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/xxx/Documents/GitHub/asreview/asreview/data/base.py", line 489, in to_ris
    return write_ris(df, fp)
  File "/Users/xxx/Documents/GitHub/asreview/asreview/io/ris_writer.py", line 102, in write_ris
    rispy.dump(records_new, fp)
  File "/opt/homebrew/Caskroom/miniforge/base/envs/asreview_m1_2/lib/python3.9/site-packages/rispy/writer.py", line 185, in dump
    text = dumps(references, implementation=implementation, **kw)
  File "/opt/homebrew/Caskroom/miniforge/base/envs/asreview_m1_2/lib/python3.9/site-packages/rispy/writer.py", line 208, in dumps
    return writer(**kw).formats(references)
  File "/opt/homebrew/Caskroom/miniforge/base/envs/asreview_m1_2/lib/python3.9/site-packages/rispy/writer.py", line 145, in formats
    return "\n".join(lines)
  File "/opt/homebrew/Caskroom/miniforge/base/envs/asreview_m1_2/lib/python3.9/site-packages/rispy/writer.py", line 138, in _format_all_references
    lines_ref = self._format_reference(ref, count=i + 1)
  File "/opt/homebrew/Caskroom/miniforge/base/envs/asreview_m1_2/lib/python3.9/site-packages/rispy/writer.py", line 123, in _format_reference
    for val_i in value:
TypeError: 'float' object is not iterable

It looks to me like there is a np.nan send to rispy, however it should be None. @ottomattas

Example of what is passed to rispy
{'abstract': 'Background Logic and experience suggest that it is easier in '
              'some situations than in others to change behaviour and '
              "organisation to improve patient safety. Knowing which 'context "
              "factors' help and hinder implementation of different changes "
              'would help implementers, as well as managers, policy makers, '
              'regulators and purchasers of healthcare. It could help to judge '
              'the likely success of possible improvements, given the '
              'conditions that they have, and to decide which of these '
              'conditions could be modified to make implementation more '
              'effective. Methods The study presented in this paper examined '
              'research to discover any evidence reported about whether or how '
              'context factors influence the effectiveness of five patient '
              'safety interventions. Results The review found that, for these '
              'five diverse interventions, there was little strong evidence of '
              'the influence of different context factors. However, the '
              'research was not designed to investigate context influence. '
              'Conclusions The paper suggests that significant gaps in '
              'research exist and makes proposals for future research better '
              'to inform decision-making.',
  'accession_number': 'rayyan-264553546',
  'alternate_title1': nan,
  'author_address': nan,
  'authors': ['Øvretveit, John C.',
              'Shekelle, Paul G.',
              'Dy, Sydney M.',
              'McDonald, Kathryn M.',
              'Hempel, Susanne',
              'Pronovost, Peter',
              'Rubenstein, Lisa',
              'Taylor, Stephanie L.',
              'Foy, Robbie',
              'Wachter, Robert M.'],
  'custom2': nan,
  'date': nan,
  'doi': nan,
  'edition': nan,
  'id': '1022',
  'included': nan,
  'issn': '2044-5415',
  'keywords': ['Environment',
               'Classification',
               'Patient Safety',
               'Program Implementation',
               'Methods',
               'Quality Improvement',
               'Research Priorities',
               'Accidental Falls',
               'Prevention and Control',
               'Behavioral Changes',
               'Guideline Adherence',
               'Health Facility Environment',
               'Leadership',
               'Medication Reconciliation',
               'Organizational Culture',
               'Research Design'],
  'language': nan,
  'notes': ['tables/charts. Journal Subset: Blind Peer Reviewed; Europe; '
            'Expert Peer Reviewed; Health Services Administration; Peer '
            'Reviewed; UK & Ireland. NLM UID: 101546984. PMID: NLM21493589.',
            'ASReview_not_seen'],
  'number': '7',
  'original_publication': nan,
  'place_published': nan,
  'publisher': nan,
  'secondary_authors': nan,
  'secondary_title': 'BMJ Quality & Safety',
  'short_title': 'How does context affect interventions to improve patient '
                 'safety? An assessment of evidence from studies of five '
                 'patient safety practices and proposals for research',
  'start_page': '604-610',
  'subsidiary_authors': nan,
  'title': 'How does context affect interventions to improve patient safety? '
           'An assessment of evidence from studies of five patient safety '
           'practices and proposals for research',
  'type_of_reference': 'JOUR',
  'url': 'https://www.ncbi.nlm.nih.gov/pubmed/21493589',
  'volume': '20',
  'year': '2011'}


[GSoC '24] Tracker Issue

Describe the issue
Just organizing too many PRs :))
Suggest a potential alternative/fix

[x] AEBiGRUNetwork
[x] AEAttentionBiGRUNetwork
[x] AEDCNNNetwork
[x] DCNNNetwork
[x] AEDRNNNetwork
[x] AEBiGRUClusterer
[x] AEAttentionBiGRUClusterer
[x] AEDCNNClusterer
[x] DCNNClusterer
[x] AEDRNNClusterer
[x] Multi-Rec Loss FCN Network
[x] Multi-Rec Loss Residual Network

@hadifawaz1999 Anything left to do here?

@hadifawaz1999 Anything left to do here?

i think not i just need to find time to review the PRs but i think its all good for now !

closing this as completed


HITL: Gyro scaling incorrect

Its not yet clear to me where the error originates, but the scaling is quite a bit off.

Fixed here: https://github.com/PX4/Firmware/pull/2940


add MarkupSafe dependency to docs

Since https://github.com/pallets/werkzeug/pull/2448, there has been a dependency on MarkupSafe, so updating the docs that still said no direct dependencies

I'd rather just remove this section, there's no reason to list the dependencies here, pip handles that for users.

d554cb73


Release 0.6.0 with include and exclude

https://github.com/sphinx-contrib/openapi/pull/56, which adds support for the include and exclude options, was merged about a month ago, but hasn't been released. The feature has been very useful in our project, so we've been working off of a GitHub pin of the commit. A point release (or patch, whatever works) would be appreciated. Thanks!

Sorry for the delay. I just released new version. https://pypi.org/project/sphinxcontrib-openapi/0.6.0/


YAML example for dell-csm-operator CRD is missing few fields. How can that be corrected

Discussed in https://github.com/k8s-operatorhub/community-operators/discussions/1008

Originally posted by rensyct March 30, 2022
YAML example for dell-csm-operator CRD is missing two fields. How can that be corrected? Samples are corrected and image is updated to have the correct entries. What step should be taken next so that OperatorHub will show the updated sample yaml files for the CRD

Hi @rensyct,
The content of the discussion was moved to here. I'd like to kindly ask for you to raise issues instead if you face an issue or have questions in the future.
Regards the question, could you please provide more info so we are able to help with:
a) You say YAML example for dell-csm-operator CRD is missing two fields. How can that be corrected?  How are you checking that it is missing the two fields? How are you testing and checking it?
b) What is the version used?
c) Are you the Operator mantainer or are you its user? If you do not keep this project maintained, did you try to raise an issue for its repo already?
c/c @mvalarh @J0zi

Shows that it was discussed and sorted out in : https://github.com/k8s-operatorhub/community-operators/issues/1024


gnomeExtensions.open-bar: init at unstable-2024-06-17

Description of changes
Adds openbar GNOME extension
Things done

Built on platform(s)

[x] x86_64-linux
[x] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

@jtojnar when I attempted to use it, I ran into this issue: https://github.com/neuromorph/openbar/issues/38
Once I have it in a functional state, I'll be happy to rework this to update the current package and would appreciate feedback on how to actually implement that (the nixpkgs GNOME extension documentation was really not clear to me -- which is why I'm probably doing it incorrectly).

@jtojnar I can confirm my latest commit fixes the issue I linked above.
Please let me know how I should organize this correctly and I will do what is needed. :thumbsup:

This technically still has one other issue that I think should be addressed before this is considered ready, that I outlined in this comment: https://github.com/neuromorph/openbar/issues/38#issuecomment-2187664398
The issue is that the files this extension generates are all created with 444 permissions, which causes the extension to not turn back on if you turn it off and try to turn it back on.
I also need to add my commit to add myself as a maintainer.

I tested using the latest commit on the nixfix branch of open bar and it works correctly so far. I think the branch is on the active development path though and has quite a few bugs. Once it is merged in though, the auto packaging should be sufficient.

Latest main branch of open-bar works properly for me!
@jtojnar it seems like the best thing would be for me to back out this PR and revert back to nixpkgs' automatic updating of GNOME extensions. Or maybe I can repurpose this PR to update all the extensions to the latest version?
What would you suggest would be the best path forward for getting the latest working version of openbar added to nixpkgs?

If the release comes soon, you can update all extensions.
Probably better to open a new PR for that.

If the custom packaging doesn’t add any extra value maybe it’s better to remove it, then it’s less stuff to maintain, right?


Sqldbawithabeard database dash name fix

fixes to sql files for databases with dashes
Fixes Issue #40

Damn - that has the changes for the other PR as well - created branch from wron base


Refreshing nodes on interval timer breaks socket.io pubsub adapter

Using socket.io-adapter causes the redis connection to enter subscriber only mode, any other command causes an error, and a reconnect.

Error: Connection in subscriber mode, only subscriber commands may be used

Therefore the ioredis interval timer which refreshes cluster nodes every 5 seconds causes an error, and continual reconnections due to the fact that is runs CLUSTER NODES which is not allowed.
Not sure how to resolve this, given the purpose of the interval – but I thought you should be aware.

A fix (WIP) is here https://github.com/luin/ioredis/pull/697. Waiting for tests to be added.


Add Protocol Buffers as a schema input and output target

Thema has an increasingly robust set of lang/schema expression inputs and outputs at this point - OpenAPI, JSON Schema, Go, TypeScript (though the latter two are only outputs).
It's about time we add Protocol Buffers, especially given that it should be pretty easy given CUE's stdlib support.

cc @amckinney - inching towards what we talked about!


36 Unit tests

Closes #36.
This PR adds:

An option to consider only the first output of normalization step during unit tests
Several unit tests for rules in yegor.yaml

PR-Codex overview
This PR introduces a new RuleTestOption type, allowing for test-specific options in the EO Phi rules. It also modifies test cases to include these options for more flexibility.
Detailed summary

Added RuleTestOption type for test-specific options
Updated test cases to include RuleTestOption for more flexibility

The following files were skipped due to too many changes: eo-phi-normalizer/src/Language/EO/Phi/Syntax/Doc.txt

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@Anatolay It is not a good idea to name Git branches the way you named this one: "unit-tests". You've earned -10 points. Next time, better give your branch the same name as the number of the ticket that you are solving. In this case, a perfect name, for example, would be "460". Your running balance is +5.

@Anatolay, #36 required 5 unit tests for each rule. Please add more unit tests

@Anatolay, #36 required 5 unit tests for each rule. Please add more unit tests

Wasn't it discussed that 2-3 per rule should be enough?

It was discussed, but not agreed.

@Anatolay, it was agreed to write at least 3 tests

Let's merge this, and follow up with more unit tests if necessary, in a separate PR.

@fizruk Thanks for the review! You've earned +49 points for this: +25 as a basis; +34 for the 340 hits-of-code that you reviewed; -10 for too few (3) comments.  Your running balance is +189.

@Anatolay Thanks for the contribution! You've earned +23 points for this: +30 as a basis; -7 for too many hits-of-code (340 >= 100). Please, keep them coming. Your running balance is -5.

@Anatolay Thanks for your review! While we appreciate your effort, reviewing your own contribution isn't recommended. You've earned +5 points: +25 base, -40 for self-review, +20 minimum adjustment. Remember, external reviews often provide valuable insights. Your current balance is +23. Keep up the good work, and consider inviting others to review your future contributions!

@deemp Hey there! 👋 Great job on the review! You've snagged +42 points for this one: +25 for being an awesome reviewer, +6 for tackling those 340 hits-of-code (that's a lot!), and +11 for your 11 insightful comments. 💬 Your effort really shows, especially since you avoided the -10 point deduction for having less than 6 comments. Keep up the fantastic work! Your running balance is now +130. Remember, the more you contribute, the more you earn. Looking forward to your next review! 🚀


PySCF PR #1859 incompatible with MC-PDFT

PySCF's PR #1859 changed __init__ methods of several classes which is causing inconsistency with MC-PDFT here. Hopefully an easy fix.

Thanks for the fixes of your PR!


Add Indicator & Info about Signed Packages

Description
Similar to what I believe the intent of #4800 was... The NuGet Gallery should show and offer filters packages that are Authenticode Signed. This has the effect of conveying to package consumers that they can trust that the packages they are consuming have not been tampered with and that they are in fact published by the legitimate package author.
Package Consumers should ultimately be able to see the public certificate info just as you currently can on MyGet.org

Second I would say just showing that a package is signed is already technically there, but it is only available to the Package Author when they are logged in and viewing their own packages.

// cc @rido-min @anangaur

@dansiegel , we already have a similar issue here: https://github.com/NuGet/NuGetGallery/issues/6882
I'm closing this one as duplicate.


Trouble running the repository

Hello!
I am a complete beginner with the OpenAI Gym and I am not entirely sure how to use the repository.
What would be the quickest way to run the implementation (e.g. on Google Colab) on an example dataset (like the ones under JSS>Instances), and then get a nice Gantt chart like the one you have in your example.

Hi,
Sorry for the late answer.
To render the solution, you can have a look to this piece of code: https://github.com/prosysscience/JSSEnv/blob/master/tests/test_rendering.py
To load an instance, you can use the gym interface:
env = gym.make('jss-v1', env_config={'instance_path': 'INSTANCE_PATH'})
If you download one of the instances inside the path of the instance you can directly start with one of those. Otherwise, you can also use yours.

Hey! I get 12 errors for the test_solutions of the 12 tests. The error is that there is no environment named jss. All the errors point to this equivalent line in the different tests: env = gym.make('jss-v1', env_config={'instance_path': 'INSTANCE_PATH'})
I am trying to run the project on pycharm but don't seem to find a solution for this problem. I tried to read the source code for the gym.make method but still nothing. Can you help please ?


Adding Multi-Language toggle support

I included a "language" property on the Form to dynamically change it. I was not sure if it was better to just use the options object and give a 'defaultLanguage' property...but at least in the Formio they just go a change directly the instance of the class like I did.
Best!

Looks good! I would like to get @randallknutson thoughts on this, but we will include this in the next release.

Looks good. Published as 3.0.1


Introduce high-level "timeline" abstraction

Hello!
Thank you for this great library! It looks very promising.
I was using my own custom solution for this exact purpose, but it looks like the better idea wood be to switch to this library instead.
However, it's lacking some extra functionality that I (and probably other developers) require. Please consider the following use case:
There are users in the system who can purchase subscription for the service. Each subscription can be represented as a Period instance with start and end dates. Subscription starts on the date of purchase or exacly when previous subscription ends (overlapping or "abuts" periods). Sometimes user can purchase subscription to use in the future (there is a gap between subscriptions). So in the end we have a Timeline entity that consists of overlapping and isolated periods and we have to answer this question: when the current continous period starts/ends?. What if we will need to merge all overlapping periods on a timeline to get only continous periods for better visualization? What if we need to sort all periods on a timeline?
I think we can introduce a Timeline class that will allow us to work with such abstraction.

The API could be the following:

$timeline = new Timeline([$periodA, $periodB, ..., $periodN]);

$timeline->addPeriod($periodC);

// Timeline will sort all periods added to it internally to always maintain a chronological order.

// Timeline instance can be easilly iterated in chronological order
foreach ($timeline as $period) {
    // output a period for visualization
}

// Will return a new Timeline with all overlapping periods merged together.
$mergedTimeline = $timeline->merge();

// Merge method will support a tolerance as a DateInerval instance
$mergedTimeline = $timeline->merge(new \DateInterval('P1D'));
// If two periods are close enough (the gap between them is less than tolerance) they will be also merged together

// Will return periods from the Timeline that includes the specified date.
$periods = $timeline->getPeriodsForDate(new \DateTime());

// Will merge the periods around the specified date (with respect to tolerance) and return a merged period.
// Actually this can be achieved by calling merge() and getPeriodsForDate() inernally.
// Or a better optimized method can be used.
$period = $timeline->getContinousPeriodForDate(new \DateTime, $tolerance);

Does it make sense?
Thank you!

mergePeriods
Here's the function that can be used to merge periods on the timeline with respect to tolerance. All periods MUST be chronologically ordered first. It implements a linear algorithm.

    /**
     * Merges intersecting time periods inside the collection.
     *
     * @param \DateInterval $tolerance
     *
     * @return TimePeriodCollection
     */
    public function mergePeriods(\DateInterval $tolerance = null)
    {
        // Making a shallow copy of the list.
        $list = $this->list;

        $count = count($list);

        for ($i = 0; $i < ($count - 1); $i++) {

            $timePeriodA = $list[$i];
            $timePeriodB = $list[$i + 1];

            $firstDateEnd = $timePeriodA->getDateEnd();

            // Adding tolerance to the right border of the first period
            // if it's specified.
            if ($tolerance) {
                // We have to clone the date in order to
                // preserve original instance's value.
                $firstDateEnd = clone $firstDateEnd;
                $firstDateEnd->add($tolerance);
            }

            // Periods are intersecting.
            if ($timePeriodB->getDateStart() <= $firstDateEnd) {

                // Finding an end date for a merged period.
                // Second period can be inside of the first one.
                $newDateEnd = max(
                    $timePeriodA->getDateEnd(),
                    $timePeriodB->getDateEnd()
                );

                $mergedPeriod = new TimePeriod(
                    $timePeriodA->getDateStart(),
                    $newDateEnd
                );

                // Removing first period from the list.
                unset($list[$i]);

                // Adding merged period as a second one.
                // It will become first period in the next iteration.
                $list[$i + 1] = $mergedPeriod;
            }
        }

        // Returning a new instance of the collection with the merged list.
        return new self($list);
    }

I've tried to consider all possible use cases and make it as ellegant as possible.

Hi,
thanks for using the Period package. I've read you features request and I do understand and share part of your concern however I think that this is out of scope for the package. The reason is that what you are suggesting in currently achievable using the composition pattern.
While reading your suggestion I had already thought of 2 possible ways to creaet your class:
1°) What your call a timeline can be seen as a Calendar. So nothing prevents you from using one of the currently available calendar package on Github (granted some don't use the Period package but I think any good Calendar package ought to provide the feature you are requesting).
2°) If the Calendar solution does not correctly respond to your need then you can think of your class as a Collection of Period object to which you add various filters to manipulate. In the perspective I would recommend using a adapter class around Laravel Collection class for instance. By simply doing that you would get your Timeline class up and running in a couple of minute.
Both solution could use the currently available class without having to create a TimeLine/Calender class.
The Bottom line is that the Period package provide low level usefulness to manipulate Time range as value objects. It is a starting block from which you can build more complex and powerful classes and/or packages. That is why I would avoid adding more sugar to the package so that anyone can use it freely in his/her codebase.
Hope my explanation makes sens

Hello @nyamsprod! Thank you for your reply.
Probably you are right — this functionality belongs to another package.
I would've created it myself, but I'm migrating from PHP to Node.js and my time is very limitted. Maybe you or someone else from PHP league will be able to implement it in the future. I think this functionality is useful in many projects.
Thanks again )


feature: GroupBy.iter

Looks like this is needed for scikit-lego's groupedpredictor

closed in #122


Chunks misbehaves for zero-sized item types

Calling .chunks(n) on a stream of zero-sized items produces a stream that waits until the original stream terminates, and then yields all the items at once, regardless of the value of n.
use futures::stream::{self, Stream};

fn main() {
    let val = ();
    for i in stream::repeat::<_, ()>(val).take(5).chunks(3).wait() {
        dbg!(i).ok();
    }
}

Actual output:
[src/main.rs:6] i = Ok(
    [
        (),
        (),
        (),
        (),
        ()
    ]
)

Expected output:
[src/main.rs:6] i = Ok(
    [
        (),
        (),
        ()
    ]
)
[src/main.rs:6] i = Ok(
    [
        (),
        ()
    ]
)

Chunks should probably hold its own cap: usize field rather than relying on items.capacity(), because Vec::<()> reports capacity of usize::MAX regardless of what capacity was requested.

0.3 has the same misbehaviour, tested with:
#![feature(async_await, await_macro, futures_api)]

use futures::stream::{self, StreamExt};

fn main() {
    futures::executor::block_on(async {
        let mut stream = stream::repeat(()).take(5).chunks(3);
        while let Some(i) = await!(stream.next()) {
            dbg!(i);
        }
    });
}

seems like a bug in Vec, IMO.


add more tests

I am exploring internal implementation details of factorie, and I find that writing tests is a great way to get started. Hopefully others can also benefits from the tests.

Does anyone object to merging this? I've only looked through it a bit, but so far it looks good to me.

I agree, I think mainly everyone was intimidated by the size of the PR.

Thanks @cllu !


Can you make it compatible with exordium

It would be very useful because these mods are a beast in getting more fps.

@Remko115 supported as of https://github.com/AnOpenSauceDev/Methane-mod/commit/511cf4b0a0c6d311cf2d63025cbc887972488917


[Meetup] September

Task List
Preparation

[ ] Find speaker(s)
[ ] Find location
[ ] Determine date
[ ] Announce event on Meetup.com
[ ] Promote on social media

After the event

[ ] Send mail to attendees to wrap up
[ ] Shoutouts on social media
[ ] Share content (slides / video / images) if/when available
[ ] Promote next event (If available)

Context and additional details

Istvan will pick this one up :)

Indeed, I can help out with a location.
We can provide food and drinks for 50-70 people

@ioosterl: I am currently trying to recruit speakers for this one 👍 I'll drop a message here if I found some.
Could you comment the exact location where this could take place and any limitations you see?

@TomCools
Exact address is Interleuvenlaan 74, 3001 Leuven
Maximum capacity is about 70 people.
If the expected attendance is lower, we can reduce the size of the room to make it more cosy
Only other potential issue I see is if the date would be September 19th

Perfect, let me look around for some speakers! :)

@ioosterl, did you talk to Edwin about this?
Also, @octonato could be a speaker already. If Edwin can't come, then I would suggest Quicky sessions? :)

Yes, I can.
But I'm confused about your question.  If that's the case, yes, I can do it in September.

Hmm, I think I understand it now. You are looking for two speakers, me and Edwin. And if he can't come we fill his slot with Quickies, correct?
I have another suggestion, I have two talks that are complementary. The one I submitted here and another one about Saga Pattern (Choreography and Orchestration). If you guys really want to hear me talk for 2 hours, I can do both on the same day. 😄

Yes! The 2nd 😅. 2h might be a bit too much Renato. 😅

Great news.
I had a chat with both Maarten and Edwin last friday, but I haven't finalized anything.
I'm looking for the first full week of September (4-8). Would that fit for you @octonato ?

Well, the way things were shaping up, I am no longer available second week
so that would be kind of hard to host the even then ;)
I've checked in with Edwin, he would prefer september 7th.
If you can make that work as well, I think we have our date.
Op wo 12 jul 2023 om 22:00 schreef Renato Cavalcanti <
@.***>:

It would be easier for me in the second week (11-15), but I can adapt if
needed. No worries.
—
Reply to this email directly, view it on GitHub
https://github.com/BeJUG/bejug.github.io/issues/23#issuecomment-1633129887,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADLPFD6RB6FBSU4J6ZULCADXP366PANCNFSM6AAAAAAYST5AUU
.
You are receiving this because you were mentioned.Message ID: <BeJUG/bejug
<EMAIL_ADDRESS>

That's fine. I can make it on the 7th. Let's stick with it.

It looks like we have our date then.
I've reserverd the location.
I propose @octonato  that your talk is first, Edwin has a lot of travel to do so this way we can have some buffer in case traffic intervienes

@TomCools
Looks like we check some boxes on the task list (i don't seem to be able t do that):
Date:  07/09/2023
Location: Interleuvenlaan 74 in Heverlee (If the subscription would drop lower - say only 30 - we could go across the street to a more cosy setting, that would be Interleuvenlaan 27B)
Speakers: @octonato and Edwin
Do you require anything extra to do the announcement and promotion on Social Media?
PS: I trying to look for an alternative to pizza as food, but no promises yet

@ioosterl. Excellent work! :) All I would need is the name/logo/socials of the hosting company and for the meetup.com page i'd need an abstract and bio from each speaker ;)
@octonato, you already posted https://github.com/BeJUG/bejug.github.io/issues/29, is this the abstract I can use? And do you have a bio you would like me to use?
For Edwin, I'll check with him directly ;), i got the link to his Devoxx submission ^^

@TomCools, sure. Here is the Bio I usually use in talks.
Renato is a software developer at Lightbend, working in the Kalix and Akka Teams. Scala aficionado since 2009, has been hacking in Scala and related technologies for fun and profit. He is interested in Event Sourcing/CQRS, DDD and Microservices  Architectures. He's the founder of BeScala (Belgian Scala User Group).

@TomCools Hereby the logo and the socials for AE

LinkedIn :https://www.linkedin.com/company/ae-consultants/
Twitter: @AE_NV

@ioosterl sorry for the delay. Child being born and such ;).
Could you check the draft page: https://www.meetup.com/belgian-java-user-group/events/295051128/?
If you give the OK, I'll post it sometime during the week.
and the card:

@TomCools No worries, we stil got a bit of time, and be all means congratz on becomming a dad!
As for the draft, I would not put pizzas in between the 2 sessions as that could be a bit annoying logisticly and it Will not be pizza but plenty of other food that can be considered dinner 😉
I will try to arrange with our facilities team that food will be there before the sessions, especially. So timing would be something like 18h food and drinks, 19h first session, 20h next session, with some mingling afterwards.
I will finalize with facilities a week before the event. I guess that we can issue an update if needed?

It's adjusted. Issuing an update is always possible ;) but we do try to keep the updates as low as possible because it creates confusion :).

As soon as it is posted i will inform our marketing team as well

@TomCools can you share the social media posts so our marketing team can pick it up?

I saw posts on:
https://www.linkedin.com/feed/update/urn:li:activity:7098275534651969537?utm_source=share&utm_medium=member_desktop
https://twitter.com/BeJUG/status/1692157996372005175
I also shared it on bsky:
https://bsky.app/profile/simonverhoeven.bsky.social/post/3k5and3uib22u

Was changing diapers and now @SimonVerhoeven beat me to it 😆

Thanks @SimonVerhoeven  and @TomCools

For the record, the abstract can be found here https://github.com/BeJUG/bejug.github.io/issues/29

@octonato donno how we missed that. Sorry about that.
I have updated the page.

@octonato I missed it completely, even though @TomCools asked me to review it.
Thanks for fixing it Tom.

@TomCools , tomorrow I have final alignment meeting with our facilities team.
With the current number of participants and the current weather forecast, I might just steal the idea of the last meetup and host it in our "outdoor meeting room" on Interleuvenlaan 27b, which is diagonally across the street. We can put up signing if we change to make sure there is not too much confusion. Hope this is a small enough change that won't cause troubel

As long as we guide people correctly and we have an alternative in case the weather goes to hell... i see no issue 😊

Done, should still be on time.


A workflow Needs to be created to add a note to all New Bookshelf Items on a regular basis

This workflow will need to run on a daily basis. It needs to identify every item at the location Evans nbs, and for each item it need to ensure that there is a Checkin note attached to it, instructing the Staff at the time of checkin to return the book to the Evans New Bookshelf.
The specific note type will be supplied by @jeremythuff as will the text of the note.
An example of adding notes to items through the API can be found here: https://github.com/TAMULib/folio-scripts/blob/main/add_item_note.js

Can directly access the DB to retrieve the data.
There is a table in LDP folio_reporting.item_ext, with the column effective_location.
Check if notes already exist and if not then add the note.
This is expected to be a scheduled workflow rather than a manually triggered workflow.


Fix macOS install problem caused by coincurve (#72)

coincurve fixed this issue in https://github.com/ofek/coincurve/commit/971d07fe79ec36b5b60ae103e40ce32f8f61efc4

Codecov Report

Merging #100 into master will decrease coverage by 0.59%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master     #100     +/-   ##
=========================================
- Coverage   77.87%   77.27%   -0.6%
=========================================
  Files          17       17
  Lines        1681     1571    -110
=========================================
- Hits         1309     1214     -95
+ Misses        372      357     -15

Impacted Files
Coverage Δ

nekoyume/models.py
74.75% <0%> (-0.71%)
:arrow_down:

tests/game_test.py
100% <0%> (ø)
:arrow_up:

tests/models_test.py
100% <0%> (ø)
:arrow_up:

nekoyume/game.py
89.41% <0%> (+0.28%)
:arrow_up:

nekoyume/items.py
77.65% <0%> (+1.26%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8b0068e...1ef74b2. Read the comment docs.

:+1:


Fix #1209 Add all to init.py

Summary
This pull request resolves #1209 by adding __all__ to __init__.py files.
Category (place an x in each of the [ ])

[x] slack_sdk.web.WebClient (sync/async) (Web API client)
[x] slack_sdk.webhook.WebhookClient (sync/async) (Incoming Webhook, response_url sender)
[x] slack_sdk.socket_mode (Socket Mode client)
[ ] slack_sdk.signature (Request Signature Verifier)
[x] slack_sdk.oauth (OAuth Flow Utilities)
[x] slack_sdk.models (UI component builders)
[x] slack_sdk.scim (SCIM API client)
[x] slack_sdk.audit_logs (Audit Logs API client)
[x] slack_sdk.rtm_v2 (RTM client)
[ ] /docs-src (Documents, have you run ./scripts/docs.sh?)
[ ] /docs-src-v2 (Documents, have you run ./scripts/docs-v2.sh?)
[ ] /tutorial (PythOnBoardingBot tutorial)
[ ] tests/integration_tests (Automated tests for this library)

Requirements (place an x in each [ ])

[x] I've read and understood the Contributing Guidelines and have done my best effort to follow them.
[x] I've read and agree to the Code of Conduct.
[x] I've run python3 -m venv .venv && source .venv/bin/activate && ./scripts/run_validation.sh after making the changes.

In this pull request, I've fixed many mypy warnings too. That being said, it does not mean that we will use mypy for this project itself. We already use flake8 and pytype. These tools have been helping us to keep the quality at a high enough level. Spending more time for satisfying mypy is not the direction where we would like to head.

@mwbrooks

Is there a way that we want to test that all include the correct imports?

Good question! There is no way to write unit tests for it, but flake8 (linter) detects missing items if there is any.

Cool, at least flake8 will help ensure we add them going forward!


Question about code

Thank you for your open source sharing of this wonderful work! I encountered difficulties while reading the code: I couldn't find the specific code implementation of Mamba-2 Scan Connector in the paper. If it's convenient, please give me some guidance. thank you!

I have provided a detailed installation process description in the README under the Installation section. The implementation of the Mamba-2 Scan Connector can be found in the mamba repository that I further developed. You can follow these commands to access it:
git clone https://github.com/WenjunHuang94/mamba`
cd mamba && pip install -e .
I hope this helps. Thank you!


Focus mode: not very obvious how to exit review mode

Testing #2136
I feel that the webview itself should maybe offer a way to exit review mode?

Merging with https://github.com/microsoft/vscode-pull-request-github/issues/2182


Fixes Supreme Court of Nevada scraper

Bad news! I got a wild hair and decided to fix this one myself yesterday, but was waiting to push it until I had ohio done too. I thought I'd push it last night, but then got carried away with another thing, and here we are! Damn!
I'm working on Ohio now, but my plan is to stop after I wrap this up and get back to my regular work. If I haven't annoyed you too much by beating you to the punch on NV, can you check the oral arg scrapers and anything alphabetically after ohio?


Where does preprocessing of CMIP5 model input data that is used in a diagnostic fit in?

A diagnostic makes use of some land surface data (from CLM) that is used as input for several CMIP models. This land surface data needs some preprocessing and is later read by the diagnostic. In a way, it could be treated as OBS data, but this might be confusing since it clearly is a different category. Also, it does not fit into the category of a derived variable. Any thoughts where this might fit in?

@mattiarighi  Any idea's? Or can you tag someone who can help? The raw data is available after registration. However, as mentioned, it does not fit in the OBS category. It is CMIP input data.

The solution could be to use the auxiliary_data_dir in config-user.yml, which is designed for such auxiliary data. @ledm used that in one of his recipes, if I remember correctly.

if you need that data only during the diagnostic phase then it can be an input to the diagnostic settings see for example https://github.com/ESMValGroup/ESMValTool/blob/version2_development/esmvaltool/recipes/recipe_autoassess_landsurface_snow.yml where climfiles_root: points to the root where various specialty masks are extracted from for use during the diag. If preprocessing is needed then you can probably do it during the diag before using them in the diag per se. The  auxiliary_data_dir is also a solution but I don't think that the data there can go through the full set of preprocessor steps - @ledm correct me if I iz wrong, man :beer:

When I used the auxiliary_data_dir field, it was to pass datafiles to Cartopy, so that cartopy could access the land/sea interface datasets and to add the continents to our figures. We didn't want this auxiliary data to be loaded by ESMValTool,
It sounds like @bascrezee wants to add initial conditions datasets to the recipe and treat them in a similar way to CMIP data (ie, preprocess them and so on). The solution seems to be to add another category of data, something like OBS data, but call it a external_model_data, initial_conditions or similar. Does that sound right to you?
As a work around for now, you can probably just treat it like Obs data as far as ESMValTool is concerned.
Note that if you want ESMValTool to process this data, it will have to be CF compliant.

It sounds like @bascrezee wants to add initial conditions datasets to the recipe and treat them in a similar way to CMIP data (ie, preprocess them and so on). The solution seems to be to add another category of data, something like OBS data, but call it a external_model_data, initial_conditions or similar. Does that sound right to you?

Yes, exactly, that is the case.

As a work around for now, you can probably just treat it like Obs data as far as ESMValTool is concerned.
Yes, I will go for that.

I would avoid defining another category of data if we can use auxiliary_data for the same purpose, just to keep it simple.
@bouweandela what do you think?

I would avoid defining another category of data if we can use auxiliary_data for the same purpose, just to keep it simple.

Fine with me, as long as I can pass all the data in auxiliary_data through the preprocessor (I can, right?) as defined in the recipe.

It should be possible, I remember we discussed it as a possible application of auxiliary_data_dir but there is no example yet.

The auxiliary data dir is meant for extra files needed by the recipe that do not need processing. For example, we have a recipe that uses shapefiles to cut out a particular area. The shapefiles can be stored in the auxiliary data dir and the path in the recipe is relative to that directory, see recipe_shapeselect.yml.
If the data needs preprocessing just like model or observational datasets, it would make more sense to me to add it either as OBS data (even if that's not strictly correct, but it's only one case) or define an additional category (if there are many such cases).

Reopen if necessary.