generator: Don't build other llvm binaries when building lld from source

PR#51 changed the recipe which builds lld from source so it would only build lld and not the rest of the llvm tools.  This change was lost in the transition to AsyncProcess in PR#77.
This change reduces a scratch build from about 19m30s to 16m on my machine.

@swift-ci test


Not unrar if .rar are in folder into an another

Hi,
I'm on Debian 10 with last unpackerr version.
My conf it's like this
# TV Series / Episodes
[[sonarr]]
   url = "http://<IP_ADDRESS>:8989"
   api_key = "myapikey"
   # File system path where downloaded Sonarr items are located.
   path = "/media/Data/torrents/Postprocess"
# Default protocols is torrents. Alternative: "torrents,usenet"
   protocols = "torrents"

# Movies
[[radarr]]
  url = "http://<IP_ADDRESS>:7878"
  api_key = "myapikey"
  # File system path where downloaded Radarr items are located.
  path = "/media/Data/torrents/Postprocess"
# Default protocols is torrents. Alternative: "torrents,usenet"
   protocols = "torrents"

# Music
[[lidarr]]
  url = "http://<IP_ADDRESS>:8686"
  api_key = "myapikey"
  # File system path where downloaded Lidarr items are located.
  path = "/media/Data/torrents/Postprocess"
# Default protocols is torrents. Alternative: "torrents,usenet"
   protocols = "torrents"
# folder will be decompressed. This has *nothing* to do with Sonarr/Lidarr/Radarr.
[[folder]]
  path = "/media/Data/torrents/Postprocess"
  # Delete extracted items this long after extraction. Set to 0 to disable. Uses Go Duration.
  delete_after = "10m"
  # Delete original items after successful extraction? true/false, no quotes. Honors delete_after.
  delete_original = true
  # Move extracted files into original folder? If false, files go into an _unpacked folder.
  move_back = false

I've modify the unpackerr.service to add user and group with good permissions and reload it
Now to explain my issue, have got a complete season in Postprocess folder, into this folder i've got a folder for each episode.
Into each episode folder have got rar files to extract.
So structure is like /Postprocess/Season1/Episode1
In this configuration unpackerr doesn't unrar anything, here is the log file
unpackerr.log
But if i move manually each episode on Postprocess root, unpackerr do the job !
Anyway I can't choose another structure...
Sonnar download complete season, move it into Postprocess folder and unpackerr should working alone, no ?
Thanks :)

I see where you moved the season folders into the watched extraction folder. It seems to have extracted all of those. Does the "problem" you describe appear in the log file? If so, what time stamp should I look for? What is the name of the folder that did not extract? Did that folder have other folders in it? ..and those folders had the extractable items?
I think, as it is right now, it will only extract files 1 level deep. Going deeper levels gets a bit more complicated as you have to avoid overwriting things. I can look into it though.

Before 16:30 structure folders is /Postprocess/Season1/Episode1 /Episode2 etc...
.rar files are in folders Episode1 Episode2 etc...
In this configuration unpackerr unrar nothing.
After 16:30 i moved manually folder by supress the first folder, the Season1 folder which contain each folder episode.
Structure folders after that is /Postprocess/Episode1 /Episode2 etc...
In this configuration unpackerr unrar all files correctly.
Thanks for your time, unpackerr is really good

So, when you copied the multi-level folder into the watched folder, unpackerr didn't even acknowledge it? There was just nothing in the log for that action?

You've configured this all incorrectly. The Folder feature should not be the same path as your *arr apps. It's unrelated and not meant to be used in tandem with those. That will undoubtedly cause undesired behavior.
There is a typo in the config file. The Proto needs to be torrent, and this is why none of the arr triggers are working. Disable/remove the folder config and fix the typo.

Ok i understand my mistake.
Thank for your help

A working beta version is available. Please try it out and let me know how it works out for you. https://github.com/davidnewhall/unpackerr/releases/tag/v0.7.2-beta7
On docker: docker pull golift/unpackerr:0.7.2-beta7


Allow passing in generatorOpts

Allows passing in generatorOpts to babel  https://babeljs.io/docs/en/options#generatoropts without passing it to preset-env. This will allow passing options like compact etc to babel.
Did this as referenced in https://github.com/ef4/ember-auto-import/issues/549#issuecomment-1330104695

Thanks, this looks good to me. Not having it is definitely a gap, and telling people to switch to useBabelConfig: true (as mentioned in other issues about this) without creating an upgrade path for their addon-provided babel plugins isn't really a viable alternative at this time.

The 8.0.0 release is imminent, so this will be in there. I don't think 8.0 will be a difficult upgrade for most people, but if it turns out to be we can also consider back-porting this.

Awesome! Thanks


Create version of TraverseAssemblyWithAction that operates on suboccurrences instead of occurrence docs

Should be closed with cddc9556705d71a41571550b8849d615209d9bda
Leaving open until it can be thoroughly tested.

Need to refactor to work on suboccurrence objects instead of using SubOccurrence.ThisAsOccurrence as this changes the assembly context. Create adapter for occurrence and suboccurrence common members?

TraverseOccurrencesWithAction now supports an Occurrence and an IOccurrenceEsx signature. Working directly on occurrences will break the top level assembly context. When using the IOcurrenceEsx pattern, suboccurrences will be cast to an interface with common members implemented so that those common actions can be performed without breaking top level assembly context.


In memory database

Hi there!
I know this is probably isn't a related question but since we using this package we can't really take advantage of sqlite for testing so my question is that is there any possible way to have or implement an in-memory database testing for mongodb?

@A-H-Pooladvand, do you want use mongodb for testing cases or main storage?

@Smolevich well I'm using mongodb as main DB but I want to know if there is an in memory feature for test cases

it depends from configuration mongodb, For example you can run instance with in-memory engine( Docs)

Thanks, it answered my question. As mentioned in the linked docs, however, inMemory engine is mongodb enterprise only.
See also https://github.com/docker-library/mongo/issues/224
Guess I'll just spin up a mongodb docker instance for testing.


Battle.net play action does not launch the game, if the launcher is not started first. Gets stuck in "Launching" state.

Launching Starcraft 2 via Playnite only works, if battle.net launcher is already running. Else it starts the launcher and the play button has the label "Launching", but nothing happens.
A quick glance over the code did not show why this happens (at least not for a noob like myself). From what I can gather, the plugin should indeed start the launcher, wait for three instances of the process (checked in task manager, there are indeed at least 3) and then start the game.
The log file also shows this is indeed firing. But the game never launches. Only if I click the "Launching" button, tell it to stop monitoring and then click Play again (this time with the launcher open).
14-04 06:02:34.500	INFO	BattleNetLibrary#BnetPlayController:Battle.net is not running, starting it first.
14-04 06:02:34.500	DEBUG	BattleNetLibrary#ProcessStarter:Starting process: C:\Games\Battle.net\Battle.net.exe, , , False
14-04 06:02:37.163	DEBUG	BattleNetLibrary#ProcessStarter:Starting process: C:\Games\Battle.net\Battle.net.exe, --exec="launch S2", , False
14-04 06:02:37.172	DEBUG	BattleNetLibrary#ProcessMonitor:Watching dir processes G:\Games\StarCraft II, False, False

Done in the latest update.

And how do I get this update? Playnite does not show any new updates and the Github release is still the old one.

main menu -> add-ons


plotting irfs in all RISE examples

Hi dear Mr. Maih
At first Thank you so much for spending your time answering our questions, your answers are so useful for us learning about RISE and enable us research more in these fields.
About errors mentioned in previous issue, which occurs while running the 'print irfs', I tried  all examples of RISE toolbox which has 'plot irfs' 's order,  like "GavinKeenRichterThrockMorton" and "Smets Wouters" in markovswitching example, I faced this error while running the order " plot irfs", (I sent you the print-screen of the error in attachment). I wonder if the problem is due to my matlab software (for example it needs some adjustments, or not? would you please give me some guide?
if you want to help me in this problem, what is the more information you need to determine the problem?
again thank you for your help
sincerely
Narmin
screen shot.pdf

Dear Narmin,
What you are sending me is not an error message, it is a warning.
I can see from the address bar that you are in a folder with markov
switching dsge examples. There is no way running those examples is going to
call abstvar.
The relevant questions are whether :

you loaded RISE properly
you are running the codes properly

Unfortunately, just by seeing the warning message I cannot tell what
problem occurred.
Cheers,
J.
On Thu, Sep 10, 2020 at 6:09 PM Narmin davoudi<EMAIL_ADDRESS>wrote:

Hi dear Mr. Maih
At first Thank you so much for spending your time answering our questions,
your answers are so useful for us learning about RISE and enable us
research more in these fields.
About errors mentioned in previous issue, which occurs while running the
'print irfs', I tried all examples of RISE toolbox which has 'plot irfs' 's
order, like "GavinKeenRichterThrockMorton" and "Smets Wouters" in
markovswitching example, I faced this error while running the order " plot
irfs", (I sent you the print-screen of the error in attachment). I wonder
if the problem is due to my matlab software (for example it needs some
adjustments, or not? would you please give me some guide?
if you want to help me in this problem, what is the more information you
need to determine the problem?
again thank you for your help
sincerely
Narmin
screen shot.pdf
https://github.com/jmaih/RISE_toolbox/files/5203144/screen.shot.pdf
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jmaih/RISE_toolbox/issues/149, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AATKBT4AVFRZMYYMTMP2GUDSFD22PANCNFSM4RFLCXLQ
.

Hello Mr. junior
Thanks for your attention
you can see the errors in screenshot in attachment
best regard
Narmin

Narmin,
As  I said before I don't know what you are doing to get that error
message. For sure you are doing something that Matlab or rise do not
recognize.
J
On Thu, Sep 10, 2020, 20:33 Narmin davoudi<EMAIL_ADDRESS>wrote:

Hello Mr. junior
Thanks for your attention
you can see the errors in screenshot in attachment
best regard
Narmin
[image: Screenshot 2020-09-10]
https://user-images.githubusercontent.com/47849581/92781794-ade22600-f3b9-11ea-9c8e-0e4cdcd6de36.png
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/jmaih/RISE_toolbox/issues/149#issuecomment-690605916,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AATKBT6MNE3SMJYNCQCQEV3SFELWNANCNFSM4RFLCXLQ
.

Dear Junior
I do really apologize for repeating my question,
actually, I do nothing by myself or on my own model, I am just running "howto.m" in Markov Switching example folder,  step by step. all steps run properly, but "Plot irfs" step, gives these errors
you think it is from my RISE installation? (something is wrong or incomplete? and it needs to be installed again?)
see the attachment please
thank you so much

From: Junior Maih<EMAIL_ADDRESS>Sent: Friday, September 11, 2020 1:13 AM
To: jmaih/RISE_toolbox<EMAIL_ADDRESS>Cc: Narmin davoudi<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [jmaih/RISE_toolbox] plotting irfs in all RISE examples (#149)
Narmin,
As I said before I don't know what you are doing to get that error
message. For sure you are doing something that Matlab or rise do not
recognize.
J
On Thu, Sep 10, 2020, 20:33 Narmin davoudi<EMAIL_ADDRESS>wrote:

Hello Mr. junior
Thanks for your attention
you can see the errors in screenshot in attachment
best regard
Narmin
[image: Screenshot 2020-09-10]
https://user-images.githubusercontent.com/47849581/92781794-ade22600-f3b9-11ea-9c8e-0e4cdcd6de36.png
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/jmaih/RISE_toolbox/issues/149#issuecomment-690605916,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AATKBT6MNE3SMJYNCQCQEV3SFELWNANCNFSM4RFLCXLQ
.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/jmaih/RISE_toolbox/issues/149#issuecomment-690716159, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALNCA3ODF35HLTO2FREUIG3SFE277ANCNFSM4RFLCXLQ.

Hi Narmin,
In that case you may want to check

the version of matlab you are using
whether you downloaded RISE properly
whether you load rise correctly by calling rise_startup
whether you have not mistakenly saved some paths from a different
version of RISE
whether you need to restart matlab

Please check this and let me know,
J.
On Fri, Sep 11, 2020 at 4:10 PM Narmin davoudi<EMAIL_ADDRESS>wrote:

Dear Junior
I do really apologize for repeating my question,
actually, I do nothing by myself or on my own model, I am just running
"howto.m" in Markov Switching example folder, step by step. all steps run
properly, but "Plot irfs" step, gives these errors
you think it is from my RISE installation? (something is wrong or
incomplete? and it needs to be installed again?)
see the attachment please
thank you so much

From: Junior Maih<EMAIL_ADDRESS>Sent: Friday, September 11, 2020 1:13 AM
To: jmaih/RISE_toolbox<EMAIL_ADDRESS>Cc: Narmin davoudi<EMAIL_ADDRESS>Author <
<EMAIL_ADDRESS>Subject: Re: [jmaih/RISE_toolbox] plotting irfs in all RISE examples (#149)
Narmin,
As I said before I don't know what you are doing to get that error
message. For sure you are doing something that Matlab or rise do not
recognize.
J
On Thu, Sep 10, 2020, 20:33 Narmin davoudi<EMAIL_ADDRESS>wrote:

Hello Mr. junior
Thanks for your attention
you can see the errors in screenshot in attachment
best regard
Narmin
[image: Screenshot 2020-09-10]
<
https://user-images.githubusercontent.com/47849581/92781794-ade22600-f3b9-11ea-9c8e-0e4cdcd6de36.png
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<https://github.com/jmaih/RISE_toolbox/issues/149#issuecomment-690605916
,
or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/AATKBT6MNE3SMJYNCQCQEV3SFELWNANCNFSM4RFLCXLQ
.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<
https://github.com/jmaih/RISE_toolbox/issues/149#issuecomment-690716159>,
or unsubscribe<
https://github.com/notifications/unsubscribe-auth/ALNCA3ODF35HLTO2FREUIG3SFE277ANCNFSM4RFLCXLQ

.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/jmaih/RISE_toolbox/issues/149#issuecomment-691117832,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AATKBT5EGAQIHINW65AU7CTSFIVVZANCNFSM4RFLCXLQ
.

Hi dear Junior,
As you guided me testing some cases in exploration some error reasons, I did all and got some results:

the version of matlab which I'm using is R2018b.

I downloaded RISE-toolbox-master from github.com az zip again, added it's path to matlab, ran rise_startup and faced attached error.
    I realized something:

In new downloaded folder of rise_toolbox, rise_startup m_file is empty and uncomplete and any function not included in. I replaced the old rise_startup M_file, and again faced the same error but with identified the line that error occurred.
the other M-files like rise_exit, Contents,  have the same problem.

matlab works properly, because in using dynare, irfs figures appear correctly.
I will be appreciated if you help me in these problems.
sincerely
Narmin Davoudi

From: Junior Maih<EMAIL_ADDRESS>Sent: Saturday, September 12, 2020 2:03 PM
To: jmaih/RISE_toolbox<EMAIL_ADDRESS>Cc: Narmin davoudi<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [jmaih/RISE_toolbox] plotting irfs in all RISE examples (#149)
Hi Narmin,
In that case you may want to check

the version of matlab you are using
whether you downloaded RISE properly
whether you load rise correctly by calling rise_startup
whether you have not mistakenly saved some paths from a different
version of RISE
whether you need to restart matlab

Please check this and let me know,
J.
On Fri, Sep 11, 2020 at 4:10 PM Narmin davoudi<EMAIL_ADDRESS>wrote:

Dear Junior
I do really apologize for repeating my question,
actually, I do nothing by myself or on my own model, I am just running
"howto.m" in Markov Switching example folder, step by step. all steps run
properly, but "Plot irfs" step, gives these errors
you think it is from my RISE installation? (something is wrong or
incomplete? and it needs to be installed again?)
see the attachment please
thank you so much

From: Junior Maih<EMAIL_ADDRESS>Sent: Friday, September 11, 2020 1:13 AM
To: jmaih/RISE_toolbox<EMAIL_ADDRESS>Cc: Narmin davoudi<EMAIL_ADDRESS>Author <
<EMAIL_ADDRESS>Subject: Re: [jmaih/RISE_toolbox] plotting irfs in all RISE examples (#149)
Narmin,
As I said before I don't know what you are doing to get that error
message. For sure you are doing something that Matlab or rise do not
recognize.
J
On Thu, Sep 10, 2020, 20:33 Narmin davoudi<EMAIL_ADDRESS>wrote:

Hello Mr. junior
Thanks for your attention
you can see the errors in screenshot in attachment
best regard
Narmin
[image: Screenshot 2020-09-10]
<
https://user-images.githubusercontent.com/47849581/92781794-ade22600-f3b9-11ea-9c8e-0e4cdcd6de36.png
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<https://github.com/jmaih/RISE_toolbox/issues/149#issuecomment-690605916
,
or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/AATKBT6MNE3SMJYNCQCQEV3SFELWNANCNFSM4RFLCXLQ
.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<
https://github.com/jmaih/RISE_toolbox/issues/149#issuecomment-690716159>,
or unsubscribe<
https://github.com/notifications/unsubscribe-auth/ALNCA3ODF35HLTO2FREUIG3SFE277ANCNFSM4RFLCXLQ

.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/jmaih/RISE_toolbox/issues/149#issuecomment-691117832,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AATKBT5EGAQIHINW65AU7CTSFIVVZANCNFSM4RFLCXLQ
.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/jmaih/RISE_toolbox/issues/149#issuecomment-691455654, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALNCA3JBKOVIFMXK7KDDBILSFM56PANCNFSM4RFLCXLQ.

I can imagine your frustration.
Can you share your screen in skype or google meet so that I see what are
the exact steps you are following?
If you have my email address, send me yours so that I can invite you on a
virtual google meet meeting.
J.
On Thu, Sep 17, 2020 at 12:16 PM Narmin davoudi<EMAIL_ADDRESS>wrote:

Hi dear Junior,
As you guided me testing some cases in exploration some error reasons, I
did all and got some results:

the version of matlab which I'm using is R2018b.
I downloaded RISE-toolbox-master from github.com az zip again, added
it's path to matlab, ran rise_startup and faced attached error.

I realized something:

In new downloaded folder of rise_toolbox, rise_startup m_file is empty
and uncomplete and any function not included in. I replaced the old
rise_startup M_file, and again faced the same error but with identified the
line that error occurred.
the other M-files like rise_exit, Contents, have the same problem.

matlab works properly, because in using dynare, irfs figures appear
correctly.
I will be appreciated if you help me in these problems.
sincerely
Narmin Davoudi

From: Junior Maih<EMAIL_ADDRESS>Sent: Saturday, September 12, 2020 2:03 PM
To: jmaih/RISE_toolbox<EMAIL_ADDRESS>Cc: Narmin davoudi<EMAIL_ADDRESS>Author <
<EMAIL_ADDRESS>Subject: Re: [jmaih/RISE_toolbox] plotting irfs in all RISE examples (#149)
Hi Narmin,
In that case you may want to check

the version of matlab you are using
whether you downloaded RISE properly
whether you load rise correctly by calling rise_startup
whether you have not mistakenly saved some paths from a different
version of RISE
whether you need to restart matlab

Please check this and let me know,
J.
On Fri, Sep 11, 2020 at 4:10 PM Narmin davoudi<EMAIL_ADDRESS>wrote:

Dear Junior
I do really apologize for repeating my question,
actually, I do nothing by myself or on my own model, I am just running
"howto.m" in Markov Switching example folder, step by step. all steps run
properly, but "Plot irfs" step, gives these errors
you think it is from my RISE installation? (something is wrong or
incomplete? and it needs to be installed again?)
see the attachment please
thank you so much

From: Junior Maih<EMAIL_ADDRESS>Sent: Friday, September 11, 2020 1:13 AM
To: jmaih/RISE_toolbox<EMAIL_ADDRESS>Cc: Narmin davoudi<EMAIL_ADDRESS>Author <
<EMAIL_ADDRESS>Subject: Re: [jmaih/RISE_toolbox] plotting irfs in all RISE examples
(#149)
Narmin,
As I said before I don't know what you are doing to get that error
message. For sure you are doing something that Matlab or rise do not
recognize.
J
On Thu, Sep 10, 2020, 20:33 Narmin davoudi<EMAIL_ADDRESS>wrote:

Hello Mr. junior
Thanks for your attention
you can see the errors in screenshot in attachment
best regard
Narmin
[image: Screenshot 2020-09-10]
<

https://user-images.githubusercontent.com/47849581/92781794-ade22600-f3b9-11ea-9c8e-0e4cdcd6de36.png

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<
https://github.com/jmaih/RISE_toolbox/issues/149#issuecomment-690605916
,
or unsubscribe
<

https://github.com/notifications/unsubscribe-auth/AATKBT6MNE3SMJYNCQCQEV3SFELWNANCNFSM4RFLCXLQ

.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<
https://github.com/jmaih/RISE_toolbox/issues/149#issuecomment-690716159
,
or unsubscribe<

https://github.com/notifications/unsubscribe-auth/ALNCA3ODF35HLTO2FREUIG3SFE277ANCNFSM4RFLCXLQ

.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<https://github.com/jmaih/RISE_toolbox/issues/149#issuecomment-691117832
,
or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/AATKBT5EGAQIHINW65AU7CTSFIVVZANCNFSM4RFLCXLQ
.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<
https://github.com/jmaih/RISE_toolbox/issues/149#issuecomment-691455654>,
or unsubscribe<
https://github.com/notifications/unsubscribe-auth/ALNCA3JBKOVIFMXK7KDDBILSFM56PANCNFSM4RFLCXLQ

.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/jmaih/RISE_toolbox/issues/149#issuecomment-694138244,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AATKBT6E4IJAUVDRJOSIXBDSGHOZHANCNFSM4RFLCXLQ
.

I really appreciate your attention, thank you so much dear junior,
I sent you a massage on skype, by Narmin Davoudi,
Thank you again

From: Junior Maih<EMAIL_ADDRESS>Sent: Thursday, September 17, 2020 4:20 PM
To: jmaih/RISE_toolbox<EMAIL_ADDRESS>Cc: Narmin davoudi<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [jmaih/RISE_toolbox] plotting irfs in all RISE examples (#149)
I can imagine your frustration.
Can you share your screen in skype or google meet so that I see what are
the exact steps you are following?
If you have my email address, send me yours so that I can invite you on a
virtual google meet meeting.
J.
On Thu, Sep 17, 2020 at 12:16 PM Narmin davoudi<EMAIL_ADDRESS>wrote:

Hi dear Junior,
As you guided me testing some cases in exploration some error reasons, I
did all and got some results:

the version of matlab which I'm using is R2018b.
I downloaded RISE-toolbox-master from github.com az zip again, added
it's path to matlab, ran rise_startup and faced attached error.

I realized something:

In new downloaded folder of rise_toolbox, rise_startup m_file is empty
and uncomplete and any function not included in. I replaced the old
rise_startup M_file, and again faced the same error but with identified the
line that error occurred.
the other M-files like rise_exit, Contents, have the same problem.

matlab works properly, because in using dynare, irfs figures appear
correctly.
I will be appreciated if you help me in these problems.
sincerely
Narmin Davoudi

From: Junior Maih<EMAIL_ADDRESS>Sent: Saturday, September 12, 2020 2:03 PM
To: jmaih/RISE_toolbox<EMAIL_ADDRESS>Cc: Narmin davoudi<EMAIL_ADDRESS>Author <
<EMAIL_ADDRESS>Subject: Re: [jmaih/RISE_toolbox] plotting irfs in all RISE examples (#149)
Hi Narmin,
In that case you may want to check

the version of matlab you are using
whether you downloaded RISE properly
whether you load rise correctly by calling rise_startup
whether you have not mistakenly saved some paths from a different
version of RISE
whether you need to restart matlab

Please check this and let me know,
J.
On Fri, Sep 11, 2020 at 4:10 PM Narmin davoudi<EMAIL_ADDRESS>wrote:

Dear Junior
I do really apologize for repeating my question,
actually, I do nothing by myself or on my own model, I am just running
"howto.m" in Markov Switching example folder, step by step. all steps run
properly, but "Plot irfs" step, gives these errors
you think it is from my RISE installation? (something is wrong or
incomplete? and it needs to be installed again?)
see the attachment please
thank you so much

From: Junior Maih<EMAIL_ADDRESS>Sent: Friday, September 11, 2020 1:13 AM
To: jmaih/RISE_toolbox<EMAIL_ADDRESS>Cc: Narmin davoudi<EMAIL_ADDRESS>Author <
<EMAIL_ADDRESS>Subject: Re: [jmaih/RISE_toolbox] plotting irfs in all RISE examples
(#149)
Narmin,
As I said before I don't know what you are doing to get that error
message. For sure you are doing something that Matlab or rise do not
recognize.
J
On Thu, Sep 10, 2020, 20:33 Narmin davoudi<EMAIL_ADDRESS>wrote:

Hello Mr. junior
Thanks for your attention
you can see the errors in screenshot in attachment
best regard
Narmin
[image: Screenshot 2020-09-10]
<

https://user-images.githubusercontent.com/47849581/92781794-ade22600-f3b9-11ea-9c8e-0e4cdcd6de36.png

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<
https://github.com/jmaih/RISE_toolbox/issues/149#issuecomment-690605916
,
or unsubscribe
<

https://github.com/notifications/unsubscribe-auth/AATKBT6MNE3SMJYNCQCQEV3SFELWNANCNFSM4RFLCXLQ

.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<
https://github.com/jmaih/RISE_toolbox/issues/149#issuecomment-690716159
,
or unsubscribe<

https://github.com/notifications/unsubscribe-auth/ALNCA3ODF35HLTO2FREUIG3SFE277ANCNFSM4RFLCXLQ

.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<https://github.com/jmaih/RISE_toolbox/issues/149#issuecomment-691117832
,
or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/AATKBT5EGAQIHINW65AU7CTSFIVVZANCNFSM4RFLCXLQ
.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub<
https://github.com/jmaih/RISE_toolbox/issues/149#issuecomment-691455654>,
or unsubscribe<
https://github.com/notifications/unsubscribe-auth/ALNCA3JBKOVIFMXK7KDDBILSFM56PANCNFSM4RFLCXLQ

.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/jmaih/RISE_toolbox/issues/149#issuecomment-694138244,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AATKBT6E4IJAUVDRJOSIXBDSGHOZHANCNFSM4RFLCXLQ
.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/jmaih/RISE_toolbox/issues/149#issuecomment-694179160, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ALNCA3L2VT5Y2V3L74WKX3TSGHZXVANCNFSM4RFLCXLQ.


fix #6, add transaction api

Good work, it will require some time to review it.

thanks @clockfly. I've updated the pr addressing your comments and also modifying PersistentState and PersistentTask APIs.
I've been thinking really hard on this design and actually going back and forth several times for the past month in previous versions of this pr.
Finally, this is what I feel most comfortable.
PersistentTask provides users with transaction support by the framework. If users have their own ways to transaction they are free to write their own transactional tasks. To use PersistentTask, users should pass in a PersistentState, which could either be the framework's built-in UnboundedState and WindowState or their own implementations.
PersistentTask hides onStart and onNext (where the framework recovers and checkpoints state in the background) from users but provides extra hooks for users to invoke PersistentState API. Currently, we have processMessage which is called in onNext and we could also add one for onStart.
As to support combining states, I prefer your second solution. The framework only knows one Persistent[T] although that T could combine multiple user states. Only binary data will be transferred between user states and the framework. I think this keeps our design simple.

Good work!
Only added a few small suggestions.
+1

thanks @clockfly. updated against your comments.


MB-800 - module 5 - lab 5.1 errors in lab instructions

Module:5
Lab/Demo: 5.1
Exercise: 1
Step: 1a
Description of issue - the V9002 is not Cronus Cardoxy Sales - but it is Robert Townes
I have taken Robert Townes to proceed, but came across further issues as described below...
Module:5
Lab/Demo: 5.1
Exercise: 2
Step: 2d ii
Description of issue - when entering CHW1002 as the product, I get an error message to say "validation results - The tax posting setup does not exist. identification fields and values: VAT Bus. posting group =, VAT prod posting group =".
How do i fix this please?

This issue may be related to a missed step in Lab 5, exercise 1.You need to make sure that the correct address is selected and include the correct country code value of 'DK'. Once the address is correct, the tax posting setup should validate.

MOC Labs Review did not experience this issue.

Was not able to reproduce

MOC Labs Review confirms this issue

can this be reopened please if MOC labs confirms this issue?


Accumulation of user statstics

Currently, user statistics are accumulated, in the sense that the existing values can be updated at each step. This results in unexpected output with --stats -q0,0,0. At each step accumulated values are presented and the user statistics of the last step and in the accumulated values are identical. Should we give the user the possibility to add per step and accumulated values to better integrate with the handling of clasp's other statistics?

Does anyone actually need this feature? I'm also not sure how such a feature should look like. Do you want to have another special root key?

So far no one. I just felt that it does not quite fit with the handling of the other statistics because in the existing statistics we are using an accu key under which accumulated statistics are stored.
This could be solved with a second root, which we could put under [accu][user_defined]. The statistics callback could then simply take two root keys as arguments. A simple implementation could then only fill the accumulated statistics and, hence, no additional per-step statistics would be printed, which would cover simple use cases. In any case, I would leave the accumulation to the user.
I was mentioning this because multi-shot solving in clingo is important. So getting the per-step statistic right is probably a good idea.

I continued working on clingo's statistics branch. It turned out that with our current API it is not really necessary to use callbacks at all. So I decided to kick them out. The below patch removes the callbacks from clasp and adds support for per step and accumualted statistics. If you'ld like to keep the callbacks in your interface please feel free to do so, removing them is just a suggestion.
You might also want to remove the changeRoot logic in the statistics. I think it is not needed anymore.
What I would like to have is the extra logic to distinguish per step and accumulated statistics. I had to do two things to achieve this. Pass the final argument to the statistics visitor because it did not arrive in the ClingoView. Please check this because I did not fully understand how things are handled there. Is it still correct with this patch or is there another way to figure this out? The two statistics types are distinguished using two different keys added under the root level: "user_step" and "user_accu". Feel free to rename them. Their contents are printed by the text output if present.
diff --git a/clasp/clasp_facade.h b/clasp/clasp_facade.h
index 865bc45..8e6dd1b 100644
--- a/clasp/clasp_facade.h
+++ b/clasp/clasp_facade.h
@@ -235,7 +235,7 @@ public:
                SumVec               lower()        const;
                //@}
                //! Visits this summary object.
-               void accept(StatsVisitor& out) const;
+               void accept(StatsVisitor& out, bool final) const;
                FacadePtr facade;    //!< Facade object of this run.
                double    totalTime; //!< Total wall clock time.
                double    cpuTime;   //!< Total cpu time.
@@ -330,19 +330,6 @@ public:
         */
        bool               read();

-       typedef void(*StatsCallback)(Potassco::AbstractStatistics*, void*);
-       typedef Potassco::Span<std::pair<StatsCallback, void*> > StatsCallbacks;
-
-       //! Adds a callback for defining external (i.e. user-defined) statistics.
-       /*!
-        * \param cb Callback method to be called once before and after each solve step.
-        * \param data Additional data passed back on each call to cb.
-        */
-       void addStatisticsCallback(StatsCallback cb, void* data);
-
-       //! Gets all registered callbacks for defining external statistics.
-       StatsCallbacks getStatisticsCallbacks() const;
-
        //@}

        /*!
diff --git a/src/clasp_facade.cpp b/src/clasp_facade.cpp
index 8188c70..0a22a43 100644
--- a/src/clasp_facade.cpp
+++ b/src/clasp_facade.cpp
@@ -571,8 +571,6 @@ double _getExhausted(const SolveResult* r) { return static_cast<double>(r->exhau
 }

 struct ClaspFacade::Statistics {
-       typedef std::pair<StatsCallback, void*> UserSource;
-       typedef PodVector<UserSource>::type     CallbackVec;
        Statistics(ClaspFacade& f) : self_(&f), tester_(0), level_(0), clingo_(0) {}
        ~Statistics() { delete clingo_; delete solvers_.multi; }
        void start(uint32 level);
@@ -580,9 +578,7 @@ struct ClaspFacade::Statistics {
        void end();
        void addTo(StatsMap& solving, StatsMap* accu) const;
        void accept(StatsVisitor& out, bool final) const;
-       void addExternal(StatsCallback cb, void* data);
        bool incremental() const { return self_->incremental(); }
-       Potassco::Span<UserSource> external() const { return clingo_ ? clingo_->external() : Potassco::toSpan<UserSource>(); }
        typedef StatsVec<SolverStats>        SolverVec;
        typedef SingleOwnerPtr<Asp::LpStats> LpStatsPtr;
        typedef PrgDepGraph::NonHcfStats     TesterStats;
@@ -598,9 +594,7 @@ struct ClaspFacade::Statistics {
        public:
                explicit ClingoView(const ClaspFacade& f);
                void update(const Statistics& s);
-               void addExternal(StatsCallback cb, void* data) { sources_.push_back(UserSource(cb, data)); }
-               Potassco::Span<UserSource> external() const { return Potassco::toSpan(sources_); }
-               Key_t user() const;
+               Key_t user(bool final) const;
        private:
                struct StepStats {
                        SummaryStats times;
@@ -617,12 +611,10 @@ struct ClaspFacade::Statistics {
                StatsMap*   keys_;
                StatsMap    problem_;
                StatsMap    solving_;
-               CallbackVec sources_; // callbacks for user-defined stats
                struct Summary : StatsMap { StepStats step; } summary_;
                struct Accu    : StatsMap { StepStats step; StatsMap solving_; };
                typedef SingleOwnerPtr<Accu> AccuPtr;
                AccuPtr accu_;
-               Key_t   user_;
        }* clingo_; // new clingo stats interface
        ClingoView* getClingo();
 };
@@ -635,9 +627,6 @@ void ClaspFacade::Statistics::initLevel(uint32 level) {
                tester_ = self_->ctx.sccGraph->nonHcfStats();
        }
 }
-void ClaspFacade::Statistics::addExternal(StatsCallback cb, void* data) {
-       getClingo()->addExternal(cb, data);
-}

 void ClaspFacade::Statistics::start(uint32 level) {
        // cleanup previous state
@@ -683,8 +672,8 @@ void ClaspFacade::Statistics::accept(StatsVisitor& out, bool final) const {
                const SolverVec& solver = final ? accu_ : solver_;
                const uint32 nThreads = final ? (uint32)accu_.size() : self_->ctx.concurrency();
                const uint32 nSolver  = (uint32)solver.size();
-               if (clingo_ && clingo_->user()) {
-                       out.visitExternalStats(clingo_->getObject(clingo_->user()));
+               if (clingo_ && clingo_->user(final)) {
+                       out.visitExternalStats(clingo_->getObject(clingo_->user(final)));
                }
                if (nThreads > 1 && nSolver > 1 && out.visitThreads(StatsVisitor::Enter)) {
                        for (uint32 i = 0, end = std::min(nSolver, nThreads); i != end; ++i) {
@@ -708,7 +697,6 @@ ClaspFacade::Statistics::ClingoView* ClaspFacade::Statistics::getClingo() {
 }
 ClaspFacade::Statistics::ClingoView::ClingoView(const ClaspFacade& f) {
        keys_ = makeRoot();
-       user_ = 0;
        summary_.add("call"       , StatisticObject::value(&f.step_.step));
        summary_.add("result"     , StatisticObject::value<SolveResult, _getResult>(&f.step_.result));
        summary_.add("signal"     , StatisticObject::value<SolveResult, _getSignal>(&f.step_.result));
@@ -732,18 +720,12 @@ ClaspFacade::Statistics::ClingoView::ClingoView(const ClaspFacade& f) {
                accu_->step.bind(*f.accu_.get());
        }
 }
-Potassco::AbstractStatistics::Key_t ClaspFacade::Statistics::ClingoView::user() const {
-       return user_;
+Potassco::AbstractStatistics::Key_t ClaspFacade::Statistics::ClingoView::user(bool final) const {
+       Key_t key = 0;
+       find(root(), final ? "user_accu" : "user_step", &key);
+       return key;
 }
 void ClaspFacade::Statistics::ClingoView::update(const ClaspFacade::Statistics& stats) {
-       if (!sources_.empty()) {
-               user_ = add(root(), "user_defined", Potassco::Statistics_t::Map);
-               Key_t oldRoot = changeRoot(user_);
-               for (CallbackVec::iterator it = sources_.begin(), end = sources_.end(); it != end; ++it) {
-                       it->first(this, it->second);
-               }
-               changeRoot(oldRoot);
-       }
        if (stats.level_ > 0 && accu_.get() && keys_->add("accu", accu_->toStats())) {
                accu_->step.addTo(*accu_);
                accu_->add("solving", accu_->solving_.toStats());
@@ -957,15 +939,6 @@ bool ClaspFacade::read() {
        return true;
 }

-void ClaspFacade::addStatisticsCallback(StatsCallback cb, void* data) {
-       POTASSCO_REQUIRE(stats_.get(), "Statistics not yet available");
-       stats_->addExternal(cb, data);
-}
-
-ClaspFacade::StatsCallbacks ClaspFacade::getStatisticsCallbacks() const {
-       return stats_.get() ? stats_->external() : Potassco::toSpan<std::pair<StatsCallback, void*> >();
-}
-
 void ClaspFacade::prepare(EnumMode enumMode) {
        POTASSCO_REQUIRE(solve_.get() && !solving());
        EnumOptions& en = config_->solve;
@@ -1093,8 +1066,8 @@ SumVec ClaspFacade::Summary::lower() const {
        }
        return SumVec();
 }
-void ClaspFacade::Summary::accept(StatsVisitor& out) const {
-       if (facade->solved()) { facade->stats_->accept(out, this == facade->accu_.get()); }
+void ClaspFacade::Summary::accept(StatsVisitor& out, bool final) const {
+       if (facade->solved()) { facade->stats_->accept(out, final); }
 }

 }
diff --git a/src/clasp_output.cpp b/src/clasp_output.cpp
index d4461c0..68b8cc2 100644
--- a/src/clasp_output.cpp
+++ b/src/clasp_output.cpp
@@ -675,10 +675,10 @@ void JsonOutput::printSummary(const ClaspFacade::Summary& run, bool final) {
                }
        }
 }
-void JsonOutput::printStatistics(const ClaspFacade::Summary& summary, bool) {
+void JsonOutput::printStatistics(const ClaspFacade::Summary& summary, bool final) {
        if (hasWitness()) { popObject(); }
        pushObject("Stats", type_object);
-       summary.accept(*this);
+       summary.accept(*this, final);
        popObject();
 }
 /////////////////////////////////////////////////////////////////////////////////////////
@@ -833,10 +833,10 @@ void TextOutput::printSummary(const ClaspFacade::Summary& run, bool final) {
                }
        }
 }
-void TextOutput::printStatistics(const ClaspFacade::Summary& run, bool) {
+void TextOutput::printStatistics(const ClaspFacade::Summary& run, bool final) {
        printBR(cat_comment);
        accu_ = true;
-       run.accept(*this);
+       run.accept(*this, final);
 }
 void TextOutput::startStep(const ClaspFacade& f) {
        Output::startStep(f);
diff --git a/tests/facade_test.cpp b/tests/facade_test.cpp
index 7256db6..d580120 100644
--- a/tests/facade_test.cpp
+++ b/tests/facade_test.cpp
@@ -981,10 +981,9 @@ static void getStatsKeys(const Potassco::AbstractStatistics& stats, Potassco::Ab
        }
 }

-static void addExternalStats(Potassco::AbstractStatistics* us, void*) {
+static void addExternalStats(Potassco::AbstractStatistics* us, Potassco::AbstractStatistics::Key_t rootkey) {
        typedef Potassco::AbstractStatistics::Key_t Key_t;

-       Key_t rootkey = us->root();
        Key_t general = us->add(rootkey, "deathCounter", Potassco::Statistics_t::Map);
        REQUIRE(us->get(rootkey, "deathCounter") == general);
        REQUIRE(us->type(general) == Potassco::Statistics_t::Map);
@@ -1182,16 +1181,16 @@ TEST_CASE("Facade statistics", "[facade]") {
                REQUIRE(stats.size(arr) == 1);
        }
        SECTION("testClingoUserStats") {
+               typedef Potassco::AbstractStatistics::Key_t Key_t;
                Clasp::Asp::LogicProgram& asp = libclasp.startAsp(config, true);
                lpAdd(asp, "{x1;x2;x3}. #minimize{x1, x2}.");
-               libclasp.addStatisticsCallback(addExternalStats, 0);
                libclasp.prepare();
                libclasp.solve();
                Potassco::AbstractStatistics* stats = libclasp.getStats();
-               typedef Potassco::AbstractStatistics::Key_t Key_t;
                Key_t r = stats->root();
+               Key_t u = stats->add(r, "user_defined", Potassco::Statistics_t::Map);
+               addExternalStats(stats, u);
                REQUIRE(stats->type(r) == Potassco::Statistics_t::Map);
-               Key_t u = stats->get(r, "user_defined");
                REQUIRE(stats->type(u) == Potassco::Statistics_t::Map);
                Key_t user = stats->get(u, "deathCounter");
                REQUIRE(stats->type(user) == Potassco::Statistics_t::Map);

Hi Roland,
I like your patch but I don't understand why you had to change the signature of Summary::accept(). The final actually means accumulated and this information is already part of the Summary object accepting the visitor.

My problem was that the final argument of ClaspFacade::Statistics::accept was always false. Like I said, I don't quite understand the meaning of this parameter.

Final should be true only for the accumulated summary, i.e. ClaspFacade::accu_. The accumulated summary is returnd by ClaspFacade::summary(true) but only if a) incremental solving is active and b) more than one step was solved. When you say:

My problem was that the final argument of ClaspFacade::Statistics::accept was always false.

Can you elaborate on when (i.e. in which context)  this was the case?

That might be the reason. I solved only one step. So the assumption is that for the first step both keys are identical? In my example I was experimenting with accumulated statistics and was wondering why they do not appear. I guess this is an optimization to only have accumulated statistics for steps > 0. The downside is that this makes things more difficult to explain to the user and one always has to add both per step and accumulated statistics in the multi-shot case. We can of course document this.

I removed the questionable optimization for the missing accumulation of the first step and also got rid of the callback interface (as suggested in your patch). Summary::accept() now looks for 'user_step' or 'user_accu' depending on whether the summary belongs to the current step or the accumulation of all steps.
I close the issue now but feel free to reopen it, if I missed something important.

Thanks, that should be everything.


mavlink: 2020.2.2-1 in 'eloquent/distribution.yaml' [bloom]

Increasing version of package(s) in repository mavlink to 2020.2.2-1:

upstream repository: https://github.com/mavlink/mavlink.git
release repository: https://github.com/mavlink/mavlink-gbp-release.git
distro file: eloquent/distribution.yaml
bloom version: 0.9.0
previous version for package: 2020.1.16-2

That version now also buildtool_depend on ros_environment, because #23527 jenkins still fails.
https://github.com/mavlink/mavlink-gbp-release/blob/master/patch/package.xml#L34
Old topic: #23513


Extra datasets

Have you evaluated this on BURST/TAO and MOSE?

@bhack Thanks for providing these new benchmarks. We haven't evaluate our methods on them. However, we may consider adding corresponding results in the future.

Relative challenges:
https://taodataset.org/workshop/cvpr23/
https://codalab.lisn.upsaclay.fr/competitions/10703

@bhack Thank you! We add test our method on them later.


Unable to fetch URL from any source.', 'gn://github.com/flutter/engine.git;name=src/flutter'

Hello,
I am trying to build a imx-image-core with i.MX8MP but I got this error for the flutter-engine-runtimerelease.
What kind of fetcher is gn at the recipe flutter-engine_git.bb?
Am I missing something other than configuration files from the workflow for i.MX8MM?
Log file is attached. Thank you in advance.
mylog.LOG

fetcher gn caches a gclient enlistment to the DL_DIR using depot-tools.
What branch/commit?
Are you overriding FLUTTER_SDK_TAG?
I am not hitting this error in kirkstone branch CI.

Hello, Thank you for your response.
My reference was workflow at Kirkstone Branch.
I am not overriding FLUTTER_SDK_TAG
I also have this kind of warning I dont know if it matters.
WARNING: depot-tools-native-git-r0 do_populate_sysroot: File '/home/gencay/NXP_workspace/build/tmp/work/x86_64-linux/depot-tools-native/git-r0/recipe-sysroot-native/usr/share/depot_tools/ninja-linux64' from depot-tools-native was already stripped, this will prevent future debugging! WARNING: depot-tools-native-git-r0 do_populate_sysroot: File '/home/gencay/NXP_workspace/build/tmp/work/x86_64-linux/depot-tools-native/git-r0/recipe-sysroot-native/usr/share/depot_tools/ninja-linux32' from depot-tools-native was already stripped, this will prevent future debugging!

You can ignore the warning.
To get unblocked try setting FLUTTER_SDK_TAG to 3.3.3 in your local.conf.  There's a upstream issue, but it's unclear why my CI isn't hitting it.  It will go away with roll to 3.3.5.

Hello, thank you for your response.
I was able to built an i.mx6 image, the error for the flutter-engine resolved with only building recipe: bitbake flutter-engine_runtimerelease However some other recipes, I couldn't built due to do_unpack error so I removed some of them. Here is my current local.conf:
`MACHINE ??= 'imx6sxsabresd'
DISTRO ?= 'fsl-imx-wayland'
PACKAGE_CLASSES ?= 'package_rpm'
EXTRA_IMAGE_FEATURES ?= "debug-tweaks"
USER_CLASSES ?= "buildstats"
PATCHRESOLVE = "noop"
BB_DISKMON_DIRS ??= "
STOPTASKS,${TMPDIR},1G,100K
STOPTASKS,${DL_DIR},1G,100K
STOPTASKS,${SSTATE_DIR},1G,100K
STOPTASKS,/tmp,100M,100K
HALT,${TMPDIR},100M,1K
HALT,${DL_DIR},100M,1K
HALT,${SSTATE_DIR},100M,1K
HALT,/tmp,10M,1K"
PACKAGECONFIG:append:pn-qemu-system-native = " sdl"
CONF_VERSION = "2"
SSTATE_DIR="/hdd/imx6/sstate-cache/"
DL_DIR ?= "/hdd/downloads/"
ACCEPT_FSL_EULA = "1"
Switch to Debian packaging and include package-management in the image
PACKAGE_CLASSES = "package_deb"
EXTRA_IMAGE_FEATURES += "package-management"
INHERIT += "rm_work"
GLIBC_GENERATE_LOCALES:append = " en_US.UTF-8 es_US.UTF-8 en_GB.UTF-8"
IMAGE_LINGUAS:append = " en-us en-gb es-us"
DEFAULT_TIMEZONE = "America/Los_Angeles"
DISTRO_FEATURES:remove = "vulkan"
IMAGE_INSTALL:append = "
tzdata-core
tzdata-americas
flutter-auto-runtimerelease
flutter-gallery-runtimerelease
flutter-test-video-player-runtimerelease
flutter-test-frb-runtimerelease
"
LICENSE_FLAGS_ACCEPTED += " commercial"
`
When I try to test gallery on the board at user weston, I get:
imx6sxsabresd:~$ flutter-auto --w=800 --h=480 --b=/usr/share/flutter/gallery [INFO:configuration.cc(248)] ********** [INFO:configuration.cc(249)] * Global * [INFO:configuration.cc(250)] ********** [INFO:configuration.cc(251)] Application Id: .......... flutter-auto [INFO:configuration.cc(255)] Cursor Theme: ............  [INFO:configuration.cc(256)] Disable Cursor: .......... false [INFO:configuration.cc(258)] Debug Backend: ........... false [INFO:configuration.cc(260)] ******** [INFO:configuration.cc(261)] * View * [INFO:configuration.cc(262)] ******** [INFO:configuration.cc(269)] Bundle Path: .............. /usr/share/flutter/gallery [INFO:configuration.cc(270)] Window Type: .............. NORMAL [INFO:configuration.cc(271)] Size: ..................... 800 x 480 [INFO:configuration.cc(273)] Fullscreen: ............... false [INFO:configuration.cc(275)] Accessibility Features: ... 0 [ERROR:/usr/src/debug/flutter-auto-runtimerelease/git-r0/git/shell/wayland/display.cc(51)] Failed to connect to Wayland display. No such file or directory ' When I try it at root: root@imx6sxsabresd:~# flutter-auto --w=800 --h=480 --b=/usr/share/flutter/gallery
[INFO:configuration.cc(248)] **********
[INFO:configuration.cc(249)] * Global *
[INFO:configuration.cc(250)] **********
[INFO:configuration.cc(251)] Application Id: .......... flutter-auto
[INFO:configuration.cc(255)] Cursor Theme: ............
[INFO:configuration.cc(256)] Disable Cursor: .......... false
[INFO:configuration.cc(258)] Debug Backend: ........... false
[INFO:configuration.cc(260)] ********
[INFO:configuration.cc(261)] * View *
[INFO:configuration.cc(262)] ********
[INFO:configuration.cc(269)] Bundle Path: .............. /usr/share/flutter/gallery
[INFO:configuration.cc(270)] Window Type: .............. NORMAL
[INFO:configuration.cc(271)] Size: ..................... 800 x 480
[INFO:configuration.cc(273)] Fullscreen: ............... false
[INFO:configuration.cc(275)] Accessibility Features: ... 0
[INFO:display.cc(275)] Keyboard Present
[INFO:display.cc(284)] Touch Present
[INFO:engine.cc(567)] (0) Loading AOT: /usr/share/flutter/gallery/lib/libapp.so
Illegal instruction
`
What can be the cause of this issue?

@gencay3535 You're now hitting https://github.com/meta-flutter/meta-flutter/issues/204
He offers a short term work around.

Ultimately to solve the illegal instruction with vfp+neon enabled requires some digging.  I'm suspecting Dart SDK build either with parameter passing or patching source tree.  A complete stack trace would be helpful, which requires a hand built engine debug build; non-stripped with symbols.

@gencay3535 Weston should be setup to run under a user session.  Given the issue no longer matches the title of the bug I am closing this issue.  Feel free to open an issue if there is an issue with meta-flutter.


Fix non-English characters being url encoded in breadcrumb

This is a bug fix.

Summary

Non-English characters being url encoded in breadcrumb navigation.
I added url_decode filter in breadcrumb navigation link text to fix that
Context

Tis related to my discussion #3816

@silvio2402, thank for your checking. I have removed | replace: '%20', ' ' in the latest commit


1.3.6 completely removes the Coinkite app

v1.2.0 had a lovely coinkite app, with the functions

Test Nano
Go to Coinkite
Export Key
Cosign Transaction

This app has completely dissapeared from 1.3.6

Ledger is now integrated directly from the coinkite web application, and the Coinkite app is not necessary anymore (deprecated).
You can see more information here:
https://ledger.groovehq.com/knowledge_base/topics/how-to-use-the-ledger-nano-with-coinkite-multisignature

I can now see all versions > 1.2.0 have the Coinkite app removed.
This "new" method is as simple a one-click  -- in line with other ease of use choices you've made for Nano like a 4-digit-PIN, 2fa card instead of HID replay confirmation, future firmware upgrades wont wipe the seed, Chrome-only initialization (no user or device entropy, no offline command line initialization)
However I strongly believe removing the "old" cosign method reduces Coinkite + Ledger Multisig to a mere proof of concept, rather than an enterprise grade multisig option.
There is no redundancy.  Coinkite provides a full UTXO report, and if their service disappears I could still manually retrieve my funds.
With your the "old" method, I could use the btchip-c-api / python-api / bitmex scripts and offline co-sign the transaction.
With this "new" method, if a future Chrome update breaks something, or if Ledger's home server goes offline then it will be impossible to cosign.  A single point of failure.  How could I trust my life's savings on the uptime of Ledger's server ?  This is even worse than case wallet's multisig.
At least Trezor is not dependent on myTrezor (who's BoP server crashes intermittently). One can still use mycelium/electrum or a BIP32 calculator to retrieve my funds.
All is not lost - Ledger Chrome 1.3.6 still supports fw 1.4.13, which includes winUSB.  I'm unable to compile unified firmware updated btchip-c-api binaries, and removing winUSB breaks pyusb compatibility for me.  With this older firmware, and reverting /views/wallet/settings/app/list.js, I am able to coinkite multisig online with "Import BIP32 xpub", sign from Ledger chrome wallet via the coinkite app with the backup option of offline BitMEX signing from the command line as disaster recovery.
I hope you will consider officially adding back the coinkite beta app, or offering it as a stand alone chrome app and/or HTML tool.  It will also be necessary to provide an easy firmware downgrade path for those who do wish to more easily manage their HW-1/Nano from the command line.

I can now see all versions > 1.2.0 have the Coinkite app removed.

Yes because as it's not necessary to have it in. Not because we removed anything.

This "new" method is as simple a one-click

you still need to enter a PIN to unlock the device - the choice we made for all multisignature implementations (such as GreenAddress) is that it's up to another co-signing party to check the validity of the transaction until we have a device allowing to do that easily.
Other choices have been taken to make the device easier to use, while not compromising on security, or even improving it. Besides, power users can still choose to use the older methods if they wish to do so.

in line with other ease of use choices you've made for Nano like a 4-digit-PIN,

The chip supports up to 32 digits PINs. 4 digits is the de-facto standard for EMV (banking) and SIM cards, also the chip is wiped after 3 wrong attempts.

2fa card instead of HID replay confirmation

HID replay confirmation can still be used through the API. It is indeed better than the 2fa card, but not convenient as you'd need to have another device nearby to use it in a secure way. Also the mobile phone validation is way better and more convenient than HID replay or the 2fa card.

future firmware upgrades wont wipe the seed,

It makes the device more convenient and more secure to use as you don't have to go through the live CD boot cycle every time you plan to upgrade the firmware.

Chrome-only initialization (no user or device entropy, no offline command line initialization)

you can still initialize it offline with the API or the Live CD we'll provide. You can provide your own entropy by providing your own seed.

However I strongly believe removing the "old" cosign method reduces Coinkite + Ledger Multisig to a mere proof of concept, rather than an enterprise grade multisig option.

It doesn't change anything. It just moves the app back to Coinkite where it belongs.

There is no redundancy. Coinkite provides a full UTXO report, and if their service disappears I could still manually retrieve my funds.

With your the "old" method, I could use the btchip-c-api / python-api / bitmex scripts and offline co-sign the transaction.

you can still do that. Absolutely nothing has changed. When using the command line tools you just need to start the derivation from the path we arbitrary chose in https://github.com/LedgerHQ/ledger-wallet-chrome/blob/master/app/src/utils/apps/coinkite.coffee (0xb11e'/0xccc0') or 45342h/52416h if using a different notation. Exactly the same as before.

With this "new" method, if a future Chrome update breaks something, or if Ledger's home server goes offline then it will be impossible to cosign. A single point of failure. How could I trust my life's savings on the uptime of Ledger's server ? This is even worse than case wallet's multisig.

I think you'll revise this considering what I said before
Besides, the old application didn't change anything there - it was still bound to the wallet, and couldn't start if you couldn't open the wallet.

At least Trezor is not dependent on myTrezor (who's BoP server crashes intermittently). One can still use mycelium/electrum or a BIP32 calculator to retrieve my funds.

You can do exactly the same here.
Of course if you lock funds in a multisignature then all parties need to collaborate.

All is not lost - Ledger Chrome 1.3.6 still supports fw 1.4.13, which includes winUSB. I'm unable to compile unified firmware updated btchip-c-api binaries, and removing winUSB breaks pyusb compatibility for me.

1.4.13 is deprecated, and we don't advise anyone to keep using it. The WinUSB issues are unfortunate and the way to fix them properly would be to make the C API build process better to handle your specific build issues (which would solve both the C and Python problems), not going back to WinUSB. I'll have another member of our team talk to you, he also had some issues building HIDAPI in his environment, solved them last week and can likely help.

I hope you will consider officially adding back the coinkite beta app, or offering it as a stand alone chrome app and/or HTML tool

The right way to do it would be to merge it with Coinkite offline recovery tool, or at least add a section in the tutorial pointing to Bitmex. We'll be adding that.

It will also be necessary to provide an easy firmware downgrade path for those who do wish to more easily manage their HW-1/Nano from the command line.

The right way to do that would be to understand and fix the issues of the command line tools with the latest version, everything is designed to be backward compatible and supposed to stay that way. Note that this doesn't include WINUSB support, but there's really no technical reason for any platform to support this and not HID.

However I strongly believe removing the "old" cosign method reduces Coinkite + Ledger Multisig to a mere proof of concept, rather than an enterprise grade multisig option.

It doesn't change anything. It just moves the app back to Coinkite where it belongs.

There is a significant difference in the engineering.  The old method relied only on Coinkite's server to be up (and even then one could pre-download the unsigned .json files, or manually build one's own transaction from the UTXO report).
In the "old" method Ledger Wallet queried the Coinkite Server via CK's API, requiring the API_KEY and API_SECRET.
In this "new" method Coinkite's server is querying the Ledger Server via Ledger API.  But this code is completely closed source, and uses a different derivation path than the "old method"

There is no redundancy. Coinkite provides a full UTXO report, and if their service disappears I could still manually retrieve my funds.
With your the "old" method, I could use the btchip-c-api / python-api / bitmex scripts and offline co-sign the transaction.

you can still do that. Absolutely nothing has changed. When using the command line tools you just need to start the derivation from the path we arbitrary chose in https://github.com/LedgerHQ/ledger-wallet-chrome/blob/master/app/src/utils/apps/coinkite.coffee (0xb11e'/0xccc0') or 45342h/52416h if using a different notation. Exactly the same as before.

Using the BitMEX scripts and the above derivation path, and 1.4.xx firmware with winUSB, I was able make the equivalent offline signature as with the "old" Ledger Coinkite App.
$ python utils/getKey.py 45342h/52416h
Path: 45342'/52416'
XPUB: xpub = same as Ledger Coinkite App
$ vi settings.py
KEYPATH_BASE="45342'/52416'"
COINKITE_API_KEY="fill this in"
COINKITE_API_SECRET="fill this in"
COINKITE_USER_REF="fill this in"
Downloading the coinkite sign-xxxx.json
$ python signTxCoinkiteJSON.py sign-xxxx.json
....
Output written to output-yyyy.json
This file can be uploaded to CK to complete the cosign.

With this "new" method, if a future Chrome update breaks something, or if Ledger's home server goes offline then it will be impossible to cosign. A single point of failure. How could I trust my life's savings on the uptime of Ledger's server ? This is even worse than case wallet's multisig.

I think you'll revise this considering what I said before

Besides, the old application didn't change anything there - it was still bound to the wallet, and couldn't start if you couldn't open the wallet.

At least Trezor is not dependent on myTrezor (who's BoP server crashes intermittently). One can still use mycelium/electrum or a BIP32 calculator to retrieve my funds.

You can do exactly the same here.

Of course if you lock funds in a multisignature then all parties need to collaborate.

With this "new" method, both CK and Ledger's server need to be online.  With the "old" method only CK's server was needed.  Today already we have seen both greenaddress and myTrezor go down
Coinkite multisig offers Download/Upload of the .json file for ledger's "new" method as backup.
Can you provide the Path Derivation this "new" method uses when CK queries Ledger's API, so that I can generate a BitMEX signed output .json ?
At the moment this would only work for me on old firmware, but I'll see if David's tips get the python and c tools working for unified HIDAPI firmware.

Thanks Nicolas for all the help
To cosign the "old" method with BitMEX
$ vi settings.py
KEYPATH_BASE="45342'/52416'"

To cosign the "new" method with BitMEX
$ vi settings.py
KEYPATH_BASE="45342'/52416'/1"

likewise, thanks for the tests. I'll send a PR soon to BitMEX to fix this properly.

For information, you can still launch the Coinkite app by going in the console:
ledger.app.router.go("/apps/coinkite/dashboard/index")

For information, you can still launch the Coinkite app by going in the console:
ledger.app.router.go("/apps/coinkite/dashboard/index")

I can only access :  Right Click > Inspect Element > Console If I have manually downloaded the .crx, unzipped it, then manually added with unpacked extension to Chrome.
If I either download the Ledger Chrome Wallet from Google Play, or Drag'n'Drop install the .crx release, then Right Click is disabled.
In both cases, the hotkey for JavaScript Console doesn't work in the Chrome App, but does work normally in a browser window.

Just go to chrome://extensions to launch the console on the
view/layout.html
Le 23 juin 2015 17:43, "aussiehash"<EMAIL_ADDRESS>a écrit :

For information, you can still launch the Coinkite app by going in the
console:
ledger.app.router.go("/apps/coinkite/dashboard/index")
I can only access : Right Click > Inspect Element > Console If I have
manually downloaded the .crx, unzipped it, then manually added with
unpacked extension to Chrome.
If I either download the Ledger Chrome Wallet from Google Play, or
Drag'n'Drop install the .crx release, then Right Click is disabled.
In both cases, the hotkey for JavaScript Console doesn't work in the
Chrome App, but does work normally in a browser window.
—
Reply to this email directly or view it on GitHub
https://github.com/LedgerHQ/ledger-wallet-chrome/issues/7#issuecomment-114551138
.

Thanks -- found the views/layout.html button.
https://medium.com/@Ledger/implementing-a-trustless-security-solution-with-hardware-wallets-and-multisignature-8f50732c6f4c

With the integration of the Ledger API by Coinkite, it is now possible in just a few clicks to build a very secure and trustless 2 of 2 multisignature wallet. Each key is secured by a Ledger Nano (or Ledger HW1), and the transaction logic is managed seamlessly by Coinkite’s interface.

In case of a disaster (Ledger and/or Coinkite goes out of business), you can recover your bitcoins using BIP39 backups and some scripting tools.

At the moment this is only partially true, With the BitMEX scripts and the correct derivation paths, one can now cosign from the command line the Coinkite JSON files, for the CK "Hardware wallet" method and the CK "Import Key" xpub method.
However Ledger Chrome Wallet requires 1.01 unified firmware, paired to a 2nd factor security card, and the BitMEX scripts are expecting the HID keyboard replay 2nd factor.  Attempting to BitMEX JSON script sign 1.01 firmware fails, getting stuck at use2FA=True, but works with old 1.4.1x firmware.
Also Coinkite does not supply any scripts to generate a manual transaction from their Full UTXO report, so if Coinkite goes out of business you could not guarantee retrieval transaction of your multisig funds.


[bootstrap] Forward swift compiler path when building llbuild

rdar://problem/44583560 Swiftpm needs to forward --swiftc to llbuild

@swift-ci test with toolchain OS X

@swift-ci test with toolchain Linux

@swift-ci test with toolchain Linux

@swift-ci test with toolchain Linux

Going to merge this so people can use the toolchain trigger. Thanks, @aciidb0mb3r for fixing this issue.


Grab animations from NOAA to present in HA visually

Is your feature request related to a problem? Please describe.
N/A
Describe the solution you'd like
Grab animation information from https://www.swpc.noaa.gov/products/aurora-30-minute-forecast to be able to display on HA. Looking at source on page, images seem to be accessible from https://services.swpc.noaa.gov/products/animations/ovation_south_24h.json which would be great displayed on HA.
Describe alternatives you've considered
Embed webpage of static image from https://services.swpc.noaa.gov/images/animations/ovation/south/latest.jpg
Additional context
N/A

I'm actually working on this in the images branch, if you're able to give any input on that branch it would be greatly appreciated.

I would love to add current images of sun conditions, corona conditions, aurora predictions.  I am trying with multiscraper but no luck yet

Thanks for the interest @arrikhan and @dro-ex
I kind of stalled out on this, but I have it really close I think.
So far in the python library I wrote to actually pull data from NOAA SWPC I have the ability to generate GIFs like this:

[Original 1280x1280]
My first problem is that not all users may want to enable animations because they are network and CPU intensive to stitch together, I haven't figured out how to allow users to enable/disable the feature.
The next problem is that when you install the component it wants to update all the data on initialization, including several animations makes the normally near instant installation of this component take ~30 seconds. I'm not okay with that.
I need to figure out a way to lazy load these after installation, maybe presenting a placeholder until the first image is available. The long creation time shouldn't be an issue in a ~10 minute polling period, I just need to allow opt-out and not make it take so long on installation.
open to ideas and PRs, I'll try to get back into looking at this

My first problem is that not all users may want to enable animations because they are network and CPU intensive to stitch together, I haven't figured out how to allow users to enable/disable the feature.

Could the solution be a play button overlaying the last available image, with the animation initiated by the button itself, and immediately replaced by the pause button?

I think that would be more of a frontend way of handling it, the component itself I don't think you have that much control over how the data is displayed. It might be enough to just not update the image until one is added to a dashboard, I'm not sure what that looks like though, I'll have to play with it.

I think that would be more of a frontend way of handling it, the component itself I don't think you have that much control over how the data is displayed
I mean: would it be feasible to make the data downloading be controlled by the play/pause button?

Let me explain:

the user opens the page with the card; the last available image is immediately downloaded and displayed, no other data is downloaded.
the user clicks a play button contained in the card (e.g. overlay); instead of the play button the animated wait icon appears and in the meantime the data is downloaded (I guess it is a few MB). When the download is complete, the animation starts and the animated wait icon is replaced by the pause icon.
the animation (and thus the downloading of data) is stopped if the user clicks on the pause icon; the same happens if he/she changes page
In this way the download is delegated to the user.

Note: mine is just a user suggestion, I don't know the codebase, nor Python, Javascript, or Typescript.


Resolves #3

Codecov Report

Merging #11 (6b248af) into main (ca4eaf9) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main       #11   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            3         3
  Lines          106       109    +3
=========================================
+ Hits           106       109    +3

Flag
Coverage Δ

unittests
100.00% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

hb_organiser/check.py
100.00% <100.00%> (ø)

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 ca4eaf9...6b248af. Read the comment docs.

Codecov Report

Merging #11 (6b248af) into main (ca4eaf9) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main       #11   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            3         3
  Lines          106       109    +3
=========================================
+ Hits           106       109    +3

Flag
Coverage Δ

unittests
100.00% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

hb_organiser/check.py
100.00% <100.00%> (ø)

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 ca4eaf9...6b248af. Read the comment docs.


CORS policy: No 'Access-Control-Allow-Origin'

Hi @joeldenning,
Access to script at 'http://localhost:8086/main.js' from origin 'http://localhost:4200' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.
If we create two separate website in window IIS and try to load it with single spa.
"imports": {
"app1": "http://localhost:8651/main.js",
"app2": "http://localhost:8600/main.js",
"single-spa"<EMAIL_ADDRESS>}

What version of angular are you using?
The latest version of Angular has Access-Control-Allow-Origin headers which solve this issue.
If you're on an older version, I can add some code to single-spa-angular to fix it.

I am using the version 7.3.6. Let me check if I have missed any thing.

One gotcha with browsers and headers is that if you go directly to a URL, the server will not send CORS headers and the browser will cache the headers. So then when you access the URL from a different domain the cached headers don't have CORS and it fails.
So maybe clear cache?
If not that, maybe push a repo that reproduces the problem?

I have created repo @https://gitlab.com/Hemendra.patel/spaapps
I have followed below step to do the setup
npm i
npm run build:single-spa
appcmd add site /name:navbar /id:70 /bindings:http/*:88: /physicalPath:C:\SPA\navbar\dist\navbar
appcmd set config navbar /section:system.webServer/directoryBrowse /enabled:true
npm i
npm run build:single-spa
appcmd add site /name:angularspa1 /id:71 /bindings:http/*:89: /physicalPath:C:\SPA\angularspa1\dist\angularspa1
appcmd set config angularspa1 /section:system.webServer/directoryBrowse /enabled:true
npm i
npm run build:single-spa
appcmd add site /name:angularspa2 /id:72 /bindings:http/*:90: /physicalPath:C:\SPA\angularspa2\dist\angularspa2
appcmd set config angularspa2 /section:system.webServer/directoryBrowse /enabled:true
npm i
npm run build:single-spa
appcmd add site /name:portal /id:73 /bindings:http/*:91: /physicalPath:C:\SPA\portal
appcmd set config portal /section:system.webServer/directoryBrowse /enabled:true
now browse the potal app to get the issue - http://localhost:91

I got the same issue when trying to link build main.xxxxxxxxxxx.js file which is hosted on any other server i.e. Apache Local www/html folder.

@amaneer94 it sounds like you’re not using Ng serve (which uses webpack-dev-server that is configured to send CORS headers).
So your problem is not related to single-spa or single-spa-angular. Just CORS. To get Apache to send CORS headers, see https://enable-cors.org/server_apache.html

@HemendPatel63 your problem is not related to single-spa or single-spa-angular. It’s just related to CORS and IIS.
You need to configure IIS to send Access-Control-Allow-Origin headers. See https://docs.microsoft.com/en-us/iis/extensions/cors-module/cors-module-configuration-reference.
I’m closing this since it’s not related to single-spa-angular.

I am so very thankful for your time!.
Yes - Its require IIS  core extension.

Hi @HemendPatel63 how id you fix this issue using IIS core extension please ,?!!! Because i have the same issue !!!

Okay thanks for your response and I'll will try it
Le mer. 28 août 2019 à 3:20 PM, HemendPatel63<EMAIL_ADDRESS>a
écrit :

Hi mohamedJeddi,
you can install IIS CORS Module using below link and then enable the
CORS in web.config
Install CORS: https://www.iis.net/downloads/microsoft/iis-cors-module
Web.Config entry :
https://docs.microsoft.com/en-us/iis/extensions/cors-module/cors-module-configuration-reference
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/CanopyTax/single-spa-angular/issues/74?email_source=notifications&email_token=AHJQNFCA52DKUTW6PRIEALLQG2CUHA5CNFSM4HMTSY2KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD5LJH4Q#issuecomment-525767666,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHJQNFCWITIZZ4NS3G4NOGTQG2CUHANCNFSM4HMTSY2A
.


Can no longer use --show-trace with #activate

Hi, previously, with the Nix version of #activate, we were able to provide custom arguments to the function that would be passed on to nixos-rebuild, such as --show-trace. Now, with the Nushell version this is not possible.
Edit: related to https://github.com/srid/nixos-flake/issues/57

It is a regression from Nushell rewrite of the activate script which was done to add some features; #56, #60
More generally, we should make the new activate script take arbitrary arguments from the user and pass them nixos-rebuild, darwin-rebuild or home-manager switch as appropriate.


How to use this with nicehash. And how to remove it with a bat file

Hello, This looks really good. But how can i use it with nicehash? and how can I easily remove the installed program from both its save path and registry with a bat file.

For nicehash just use the normal stratum as scheme, enter daggerhashimoto.LOCATION.nicehash.com:3353 as the pool (replace LOCATION with a location from here https://www.nicehash.com/support/mining-help/mining-advanced-topics/which-stratum-servers-are-available) and then your BTC wallet as your wallet address and it should work.
For your second question, I don't think you can kill the full miner with a bat file. You can kill the watchdog, remove the registry key and remove the miner file with batch but since the running miner is injected into explorer.exe you would have to kill all of them since there's no batch support for WMI as far as I know, you would probably have to use powershell to be able to kill everything.

@UnamSanctam Okay, but if I don't have watchdog enabled how can I do it with powershell then. Since don't I just need to remove some registry key and the file from the savelocation?

And it then still would be removed after a restart with a bat file right?

This should remove everything, although I haven't tested it
taskkill /IM "sihost64.exe" /F
DEL /F/Q/S "%AppData%\WinCFG"
RMDIR /Q/S "%AppData%\WinCFG"
reg delete "\HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\" /v "MINERFILE.exe" /f
del /F/Q/S "MinerLocation"

Replace MINERFILE.exe with what you entered into the file name inside the "Install" tab when you made the miner. And replace MinerLocation with the location of the miner, if you chose to install it to temp for example then enter "%TEMP%\MINERFILE.exe".

But yes even if you only kill "sihost64.exe" and remove the registry key then it won't start up again in the next restart.

@UnamSanctam btw do you know how I could make a Powershell script to just add windows defender exceptions for those things? the registry entry, the startup service etc

You would have to bind a file with the commands it or use some sort of software to run these:
powershell -Command Add-MpPreference -ExclusionPath '%UserProfile%'
powershell -Command Add-MpPreference -ExclusionPath '%AppData%'
powershell -Command Add-MpPreference -ExclusionPath '%Temp%'

Okay, will try that. Did you see the stackoverflow post about changing the theme of the datetimepicker?

Yeah, I know how to do it but since I'm working on other things it's been put on the backburner.

That's fine, i am looking forward to it :)


Add integration test for AnnotateVideoWithContext transform

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

Retest this please

Run Python 2 PostCommit

Run Python 2 PostCommit

Run Python 2 PostCommit

Run Python 2 PostCommit

Run Python 2 PostCommit

Run Python 2 PostCommit

Run Python 3.7 PostCommit

R: @EDjur Could you take a look?

LGTM, cheers.

Run Python 3.7 PostCommit

Run Python 3.7 PostCommit

Run Python2_PVR_Flink PreCommit

Run Python 3.7 PostCommit


replaceIfExists createView Tag for MSSQL does not work

Environment
Liquibase Version: 3.8.8
Liquibase Integration & Version: run as jar File
Liquibase Extension(s) & Version: NO
Database Vendor & Version: Microsoft SQL Server 2016 (RTM-GDR) (KB4058560) - 13.0.1745.2
Operating System Type & Version: Windows10
Description
The following change set produced Exception because the generater sql syntax is invalid.
//it s working for db2 but doesn't work for MSSQL
Steps To Reproduce
<createView viewName="AC_COMFORT"             fullDefinition="false"             remarks="ZUGFeRD DB EDI interface"             replaceIfExists="true">             SELECT ACKEY,ACTYPE,ACREF,ACLFD,ACTACI,ACTACBA,ACTACRF             FROM ZFINVOICAC WHERE ACTYPE = 0  	</createView>
Expected/Desired Behavior
We expect that replaceIfExists="true" does not use the key word REPLACE, because it does not exist in MSSQL. Instead it should be two commands:

IF OBJECT_ID('AC_COMFORT ', 'V') IS NOT NULL  DROP VIEW AC_COMFORT ;
CREATE VIEW AC_COMFORT AS ...

Error: Incorrect syntax near the OR keyword. [Failed SQL: (156)] CREATE OR REPLACE VIEW AC_COMFORT

Hi @reza-sp Thanks for taking the time to write up this issue.  We will add it the list of MS SQL Server issues.

Looks like its already fixed for liquibase 4.16.1


add support for .gz files

would be nice to add support for opening .gz files
Ideally we could pass a file handle, eg
import gzip, paratext
with gzip.open(f, 'rb') as fh:
  paratext.read(fh)

It seems like the file handle is opened by the C code, so perhaps this is not practical, and easier to add gzip reading support directly to the C code?

Thank you for the feature request and the suggestion. The way paratext is architected, using a Python file handle would require random access on the file. This is not easily achievable with the Lempel-Ziv algorithm on which gzip is based -- some files use a fixed dictionary in the header, but this is not true of all files. One would need to do a first sequential pass on the file to build the dictionary at different chunk start points. Then, the threads are spawned and start decompressing their respective chunks using each's respective reconstructed dictionary. We would welcome this contribution if someone wants to take a crack at it!


Error reporting in GPUfit

We need an error reporting mechanism, so that the code can fail gracefully rather than just crash.  We can do this after the paper submission.

For the bindings we have the problem that we use the C interface, so just forwarding C++ exceptions is not possible, nor recommended. The standard way is something like catching all exceptions, returning an error code and having a function like last_error or throwing errors in the native environments (Python, Matlab, ...).

implemented


Visualization when using PVGeo in an external python IDE

Hello. I am interested in using this package to do some analysis with multiple 3D mesh, but I am unable to get this to work for me. I started by installing Using PVGeo in a Python Environment, and I am able to import PVGeo in my python environment (IDE outside paraview). Although I have paraview executable (ParaView-5.7.0-Windows-Python3.7-msvc2015-64bit), I am unable to see any plot when I try the quick examples, although running the example itself does not throw any error indicating that the installation is OK.
I also tried using PVGeo in Paraview, but I could not get step-6 (here) and loading the plugins to work even after multiple attempts, including following everything recommended in this issue. I spent several hours to make sure I am honoring the versions/compatibility issue, but I wasn't able to get this to work.
At this point I am able to get the PVGeo to work with Python (outside the Paraview), but I am not able to see the plots, perhaps because they are meant to be viewed using Paraview only? Could you please help me guide how I can see the plots if I am interested in using PVGeo in an external Python (3.7) IDE (Spyder)?

Hi @L4student, when not using PVGeo within ParaView (now the recommended use case), it is meant to be used with PyVista. When you install PVGeo (pip install PVGeo), PyVista is installed with it! So no need for ParaView at all.
In brief, PVGeo is a set of file readers and filters that make/process VTK/PyVista mesh objects into other mesh objects. PVGeo does not do any displaying - that's left for either ParaView or PVGeo. So in essence, your question is really on how to get PyVista working in your specific IDE.
When you run an example from the Quick Examples, like this one, you should see PyVista plotting windows appear. They may be somewhere in the background... or perhaps sinnce your IDE spider, it might be running the script in an IPython environment, in which case, PyVista may be fooled by that environment and trying to output a display within the HTML cell outputs like in a jupyter notebook. To resolve that, you would need to add the notebook=False argument whenever a PyVista Plotter is instantiated.
Perhaps try a simple example with just PyVista like:
import pyvista as pv

p = pv.Plotter(notebook=False) # make sure to not use IPython notebook embedding
p.add_mesh(pv.Sphere(), show_edges=True)
p.show()

If that doesn't work, please share a system report by:
import pyvista as pv
print(pv.Report())

Thank you, @banesullivan ! It looks like the simple example with just PyVista works for me as it shows a beautiful plot of a spherical mesh.  I tried adding the following lines to get it to work for the 'Read SGeMS Grid' example you suggested, which uses the plot option of the PVGeo grid object, but it didn't work.
p = pv.Plotter(notebook=False) # in the beginning of the code

p.show() # at the end

Does the PVGeo has any attribute like Plotter(notebook=False) that can be invoked in the code to show the plots?

@banesullivan : I tried using the notebook=False attribute inside the plot()  function of PVGeo, and it seems to work. However, after the first plot shows up, the Python/IDE just hang up and the currently running code (assuming if it's still running) cannot be canceled through Ctrl + C. I have to restart the Python/IDE once it hangs up. I tested this couple of times and it hangs up every time on the first figure. The only way to avoid this behavior is to run the specific lines of the code, close the figure (for the console to show the cursor), and then run next lines of code. I have printed the output of the pv.Report() in case that is of any help.
Python 3.7.6 (default, Jan  8 2020, 20:23:39) [MSC v.1916 64 bit (AMD64)]

            0.23.0 : pyvista
             8.1.2 : vtk
            1.17.4 : numpy
             2.6.1 : imageio
             1.4.3 : appdirs
             0.5.0 : scooby
             3.1.1 : matplotlib
             5.9.2 : PyQt5
            7.11.1 : IPython

  Intel(R) Math Kernel Library Version 2019.0.4 Product Build 20190411 for
  Intel(R) 64 architecture applications

I am also get the following error if I import import pyvista as pv and then call pv.examples.downloads._download_file(), but I am able to run this line (pv.examples.downloads._download_file()) without error if I do from pyvista import examples instead.
  File "<ipython-input-1-4659765c4464>", line 9, in <module>
    filename, _ = pv.examples.downloads._download_file('A_WLreferenceCAT.sgems')

AttributeError: module 'pyvista' has no attribute 'examples'

I tried adding the following lines to get it to work for the 'Read SGeMS Grid' example you suggested, which uses the plot option of the PVGeo grid object, but it didn't work.

In that plot call, pass notebook=False. That grid object is a PyVista mesh object - PVGeo is simply an extension package to PyVista. You could also not call that .plot method and pass that grid object to the .add_mesh() just like the sphere in my example above.

However, after the first plot shows up, the Python/IDE just hang up and the currently running code (assuming if it's still running) cannot be canceled through Ctrl + C. I have to restart the Python/IDE once it hangs up. I tested this couple of times and it hangs up every time on the first figure. The only way to avoid this behavior is to run the specific lines of the code, close the figure (for the console to show the cursor), and then run next lines of code.

So this is expected behavior. When you show the basic Plotter object, it takes over the thread so that the script will not continue until the Plotter is closed (either by the exit button or pressing q). If you want an interactive plotting window, then you might want to checkout PyVista's BackgroundPlotter.

I am also get the following error if I import import pyvista as pv and then call pv.examples.downloads._download_file(), but I am able to run this line (pv.examples.downloads._download_file()) without error if I do from pyvista import examples instead.

Again this is expected. examples is a seperate module, so it must be imported on it's own. i.e.:
from pyvista import examples

examples.downloads._download_file(...)

I'd highly recommend you head over to PyVista's docs as you are really using PyVista with a few add ons from PVGeo (PVGeo is not a standalone package, it is an extension package to PyVista). Maybe check out the Getting Started chapter starting with Basic API Usage](https://docs.pyvista.org/getting-started/simple.html) and work your way to PyVista's Quick Examples

Thank you for the clarification and recommending the appropriate docs. I will go through the suggested docs.

Hope this helps! Let me know if there is anything else and feel free to close this issue once you are up and running


Restoring task's backup which initially was created from file share fails

Actions before raising this issue

[X] I searched the existing issues and did not find anything similar.
[X] I read/searched the docs

Steps to Reproduce
During development of #8287 the problem occured:

Connect file share to CVAT
Create a task with files from share
Add some annotations
Backup the task
Try to restore it, the error occurs:

Expected Behavior
Backup should be restored successfully
Possible Solution
It seems backup of the task which is created from local files and file share have different folder structure. Maybe this is the problem.
Backup with task from share looks like this:

Backup with task from local files looks like:

Context
No response
Environment

Git commit ff50b464ddaa85a2496da79ac87fa71455f01c92
Env: local
Full error log:

[2024-08-13 08:10:57,951] ERROR rq.worker: [Job import:task-02f399a3-612d-4bd8-b1fb-9ed57c83c2e9-backup]: exception raised while executing (cvat.apps.engine.utils.import_resource_with_clean_up_after)
Traceback (most recent call last):
  File "/home/kirill/projects/cvat/.env/lib/python3.10/site-packages/rq/worker.py", line 1431, in perform_job
    rv = job.perform()
  File "/home/kirill/projects/cvat/.env/lib/python3.10/site-packages/rq/job.py", line 1280, in perform
    self._result = self._execute()
  File "/home/kirill/projects/cvat/.env/lib/python3.10/site-packages/rq/job.py", line 1317, in _execute
    result = self.func(*self.args, **self.kwargs)
  File "/home/kirill/projects/cvat/cvat/apps/engine/utils.py", line 289, in import_resource_with_clean_up_after
    result = func(filename, *args, **kwargs)
  File "/usr/lib/python3.10/contextlib.py", line 79, in inner
    return func(*args, **kwds)
  File "/home/kirill/projects/cvat/cvat/apps/engine/backup.py", line 751, in _import_task
    db_task = task_importer.import_task()
  File "/home/kirill/projects/cvat/cvat/apps/engine/backup.py", line 742, in import_task
    self._import_task()
  File "/home/kirill/projects/cvat/cvat/apps/engine/backup.py", line 690, in _import_task
    _create_thread(self._db_task.pk, data.copy(), isBackupRestore=True)
  File "/usr/lib/python3.10/contextlib.py", line 79, in inner
    return func(*args, **kwds)
  File "/home/kirill/projects/cvat/cvat/apps/engine/task.py", line 553, in _create_thread
    manifest_file = _validate_manifest(
  File "/home/kirill/projects/cvat/cvat/apps/engine/task.py", line 342, in _validate_manifest
    if is_manifest(full_manifest_path):
  File "/home/kirill/projects/cvat/utils/dataset_manifest/core.py", line 819, in is_manifest
    return is_video_manifest(full_manifest_path) or \
  File "/home/kirill/projects/cvat/utils/dataset_manifest/core.py", line 824, in is_video_manifest
    return validator.validate()
  File "/home/kirill/projects/cvat/utils/dataset_manifest/core.py", line 737, in validate
    with open(self._manifest.path, 'r') as manifest:
FileNotFoundError: [Errno 2] No such file or directory: '/home/kirill/projects/cvat/share/manifest.jsonl'

Hello, Has this issue been resolved? I would like to resolve this issue if it has not been as I am currently working on a open source project with bugs that need fixing and I would like to take this task on. Please let me know.

@MSDEV0630,
No, it was not resolved. You can try to reproduce it using the provided scenario.


Put(name) vs Get(id) vs Find(prefix)

I'm using stow to build a graph. As such I am often curious if, given the key I would Put() a node to if that key exists. I end up doing a lot of Find()s. The Find() for the local driver gives me the ID() which I can run strings.HasPrefix() on but if I try to use the Name() function I only get the file name, not the path below the Container.
Given this state of affairs, I am very frustrated that the API doesn't give me a way to translate a Put(name) to a Get(key) so I can test if a node is available without doing a Find(). Can this be improved?

I think PR #175 fixes this (at least, Name() returns something relative to the container, and Put with relative path is also relative to the container)


Update wrapper

This PR fixes some problems in the Blobtool wrapper, and include a reduced version of the database.


Optimize the rotm kernel with RVV intrinsic.

Based on the scalar implementation of rotm, we optimized it by using RVV 1.0 Intrinsic.
Subsequently, we developed related cases for the functional and performance verifications on K230 and K1.
The performance data are shown as below:
Parameter setting: OPENBLAS_LOOPS = 10000.

K230 [C908, vlen =<EMAIL_ADDRESS>|         Cases          |       Scalar / MFlops     |        Optimized RVV / MFlops     |
|     srotm.goto     |              875.57            |                    1536.78                    |
|     drotm.goto    |              799.77             |                   1408.70                     |

K1 [C908, vlen =<EMAIL_ADDRESS>|         Cases          |       Scalar / MFlops     |        Optimized RVV / MFlops     |
|     srotm.goto     |              880.02            |                    1490.44                    |
|     drotm.goto     |              811.13            |                   1541.92                    |

In the above data, the bigger value is, the better performance is.

Thanks - the numbers are very compelling, but I'm not entirely sure having that much architecture-specific code at the interface level is a good idea. At least I don't think we've done this before, and if every architecture ifdef'd their specific intrinsics implementation into it, the file would get unwieldy rather quickly. (Need some time to think about alternatives though - not sure if it's easy to add a kernel mapping for just riscv64 either...)


Testing whole workspace with features enabled in some crate(s)

Problem
I have a workspace with a testing crate and some unit tests in other crates. Some tests need big dependencies, so I'd like to disable these by default and enable them only in CI. In CI, I then want to run all the tests, enabling the features for these tests. Here are some things I've tried:
cargo test --all --features dependency-test
cargo test --all --features testing/dependency-test (testing is the directory the testing crate lives in relative to the workspace root)
cargo test --all --features project_testing/dependency-test (project_testing is the package.name for the testing crate)
However, none of these seem to actually run the tests in question, whereas I'd expect at least one of them would (most likely the latter one?).
Actual use case is https://github.com/djc/askama, the actix feature in the testing crate. (Prototype change is here: https://github.com/djc/askama/compare/actix-off?expand=1).
Testing with stable Rust/Cargo on either macOS or (Linux) Travis.

Some workarounds:
cargo test -p askama_testing --features "actix" -Z package-features
or cd into each directory and run cargo test within it.  AFAIK you can't do all packages at once.  Currently in a workspace the features selected depends on which directory you are in (-Z package-features changes this behavior).

I understand about the workaround of cding into a particular directory, but that means either making the Travis config more complex by specifying all contained crates separately, or making the test suite slower to run because some tests are run twice.
Since I'm running this at the top of the workspace, I think there are two reasonable conceptual models that could work: either I'm one level "above" the crates, and I should be able to use a crate/feature value to select a feature in the crates, or my command is more or less "copied" into each crate, in which case I should be able to use the bare feature.
If neither of these work, it seems like there is a conceptual hole in the workspace implementation (or how the test command interacts with it).

Yea, I agree there should be some way to do it.  Typically the form foo/bar for features means the bar feature of the foo dependency, but in a virtual workspace there is no foo dependency (there is a foo member). So it may be confusing what that actually means. It may also be confusing on how to select features when building multiple packages (which is why I believe -Z package-features prevents you from trying).
This has been reported several times (#4753, #4106, #4463, #5364, etc.), so you're not alone.  I'm trying to collect all the issues with features to see if there is a cohesive way to deal with them all.