Report Year 1 hourly 1 outputs as lifetime hourly to facilitate intepreting time series results in out years

Is your feature request related to a problem? Please describe.
For models with lifetime simulations, such as Detailed PV and PV Battery, some outputs are reported as "Hourly Data" for Year 1 only, and others are reported as "Lifetime Hourly Data" over the analysis period. This can make it difficult to interpret or troubleshoot results in out years (Years 2 and greater).
At a minimum, changing the following from Year 1 to lifetime would help address the question in https://sam.nrel.gov/forum/forum-general/3782:

Battery capacity percent for temperature
Battery temperature

Additional variables to consider as a partial solution would be

Irradiance data (particularly DHI and DNI)
Ambient temperature

See also this post on the SAM forum regarding "system power generated" and "electricity from grid" in lifetime vs year 1 outputs:
https://sam.nrel.gov/forum/forum-general/3795
Describe the solution you'd like
Show all time series outputs as lifetime variables.
Additional context
Need to consider potential memory or graph display issues.
"Hourly Data" includes time stamps when viewed on Data Tables tab. "Lifetime Hourly Data" shows row number. Would be nice to show time stamps for lifetime hourly data.
On Time Series graph, there is no indication of year in x-axis labels, so it can be difficult to tell where you are in the time series when the graph is zoomed in.
Related issues
https://github.com/NREL/SAM/issues/289
https://github.com/NREL/SAM/issues/99
https://github.com/NREL/SAM/issues/204

Closed in ssc 791


Creating new app fails due to ejs not being declared in ignite-cli dependencies

I'm unable to create a new project with ignite-cli, receiving this error message:
➜  Projects yarn dlx ignite-cli new MyApp --expo
➤ YN0000: ┌ Resolution step
➤ YN0000: └ Completed in 1s 776ms
➤ YN0000: ┌ Fetch step
➤ YN0000: └ Completed
➤ YN0000: ┌ Link step
➤ YN0007: │ ejs@npm:2.7.4 must be built because it never has been before or the last one failed
➤ YN0000: └ Completed in 0s 742ms
➤ YN0000: Done in 2s 641ms

/Users/ben/.yarn/berry/cache/gluegun-npm-4.7.0-e6db77a7fc-8.zip/node_modules/gluegun/build/index.js:13
    throw up;
    ^

Error: ignite-cli tried to access ejs, but it isn't declared in its dependencies; this makes the require call ambiguous and unsound.

Required package: ejs
Required by: ignite-cli@npm:7.8.0 (via /private/var/folders/q4/gmxb45ls6yl7x4dlms9b0d5h0000gn/T/xfs-fad81e17/dlx-91702/.yarn/unplugged/ignite-cli-npm-7.8.0-e148da8be4/node_modules/ignite-cli/build/tools/)

Steps to reproduce

Run yarn dlx ignite-cli new MyApp --expo

Versions:

node: 16.13.0
npm: 8.1.0
yarn: 3.1.1
ignite-cli: 7.8.0

npx ignite-cli doctor results:
➜  Projects npx ignite-cli doctor
System
  platform           darwin
  arch               x64
  cpu                8 cores      Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
  directory          Projects     /Users/ben/Documents/Programming/Projects

/Users/ben/.npm-global/lib/node_modules/ignite-cli/node_modules/gluegun/build/index.js:13
    throw up;
    ^
Usage Error: The 'yarn global' commands have been removed in 2.x - consider using 'yarn dlx' or a third-party plugin instead

$ yarn run [--inspect] [--inspect-brk] [-T,--top-level] [-B,--binaries-only] <scriptName> ...

(Use `node --trace-uncaught ...` to show where the exception was thrown)

Oh, wait... I just found your article explaining that this project is sticking with Yarn 1.


Correct link to RL AI repository.

The link to the tjwei/rl has the c and o in ".com" transposed. This fixes that.
As an aside,  thanks for the detailed readme  with links!

thanks


Fixes documentation bugs and adds IPv6 capability

ip6tables needs to load modules thus docker needs access to them.

I pushed the same change to the 1-docker.md inside the docs directory. There it also explicitly mentions modprobing ip_tables and ip6_tables already.


Obscure error message when trying to create account with existing username.

When trying to create new user with existing username, the installation script doesn't display proper error message.

This is a true, and problematic issue. Most likely, the script should, at least, attempt to print any error messages sent by the server.

Solved a while ago:
 Creating your account...  Account creation failed: User already exists

 If you think this is a bug, please report it to
 -> https://github.com/hashbang/hashbang.sh/issues/

 The installer will not continue from here...


Cannot receive the dismissCompletion event

hello ,i am facing a issues that if i using dismiss(animated: true) instead of swipe-down or just tapping on an empty space, the dismissCompletion cannot be received ,how to solve it , thanks you

Hello @LiDevil!
Thank you for letting me know about this inconsistency. Fixed it here https://github.com/joomcode/BottomSheet/pull/37
May I ask you to take a look at this PR to make sure it addresses your issue? As soon as I'll get your approve, I can merge to the main branch

Hello @LiDevil!
Thank you for letting me know about this inconsistency. Fixed it here #37
May I ask you to take a look at this PR to make sure it addresses your issue? As soon as I'll get your approve, I can merge to the main branch

Yes, it fix my pr ,thank you

Released in 2.0.5


Crashes once entering server on stable

Pretty much whats happening is it's crashing while clicking on a server without fail I've already tested that it doesn't happen on regular Discord but only crashes on Better Discord. So far I've reset all my settings no plugins or themes enabled but the crashes still happen.
This has been happening since an hour ago and I have no idea why.

You closed the issue, did you manage to find out a fix?

I think he closed because is because is duplicate

I closed it because I saw the Canary issue after I posted this so I thought it's a duplicate.


[from v1.19] highlight decoration node can be re-rendered which cause keyframe animation restart.

Prerequisites

[x] Put an X between the brackets on this line if you have done all of the following:

Reproduced the problem in Safe Mode: http://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
Followed all applicable steps in the debugging guide: http://flight-manual.atom.io/hacking-atom/sections/debugging/
Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages

Description
This issue started from v1.19 which use new editor-rendering with etch.
CC @as-cii
Short summary
From v1.19, highlight decoration node is re-rendered in it's lifetime which cause keyframe animation unwillingly re-started.
This was not issue in v1.18 where highlight decoration node was stable in it's lifetime.
See, each removal of brackets-matcher's highlight cause fadeout animation re-started.
Which is because highlight node of class=t9md-test-flash is re-created at that timing.

Detail
When highlight decoration is created by editor.decorateMarker, corresponding <div class="highlights"> node is created at top of LinesComponents.
Child nodes of this div represent actual decoration style.

Till v1.18 these nodes are stable in its lifetime.
From v1.19 with new editor-rendering, these nodes can be re-rendered during it's lifetime.

This is not problem when highlight class is simply set background: color.
But it's become problem when highlight class specify animation.
Lets' say

I have set decoration which class=flash-anime which will be destroyed after 1.0 sec
flash-anime css class have keyframe animation which fadeout flash during 1.0 sec.
When Atom re-render(re-create) this decoration node within 1.0 sec, it cause re-start fadeout keyframe animation.
This issue is more likely to happen when brackets-matcher involved, which create/remove decorations and it cause existing highlight node in the same LinesComponents re-rendered.

GIF: Animation in 10sec is separated into three because of re-render of highlight node.

GIF: style recalculation highlight decoration re-created which cause animation restart.

Steps to Reproduce
I can reproduce this issue with safe-mode.

Prepare sample.txt and custom-style.

sample.txt

{a: 1}

style.less

@keyframes t9md-test-animation {
  from { background-color: #5b91c8; }
  to { background-color: transparent; }
}

atom-text-editor .t9md-test-flash .region {
  animation-name: t9md-test-animation;
  animation-fill-mode: forwards;
  animation-duration: 10.0s;
  animation-iteration-count: 1;
}

Open sample.txt, place cursor at first line.
Paste following code in chrome-dev-tools console.

This code does.

highlight inner range of a: 1(inner range of curly brackets).
marker will destroyed after 10sec.
highlight class is t9md-test-flash which fadeout background color in 10sec.

(function flashreproduceIssue() {
  const editor = atom.workspace.getActiveTextEditor()
  const cursorPosition = editor.getCursorBufferPosition()
  const scanRange = editor.bufferRangeForBufferRow(cursorPosition.row)
  editor.scanInBufferRange(/{.*?}/, scanRange, ({range}) => {
    const innerRange = range.translate([0, +1], [0, -1])
    const marker = editor.markBufferRange(innerRange)
    editor.decorateMarker(marker, {type: "highlight", class: "t9md-test-flash"})
    setTimeout(function () {
      marker.destroy()
      console.log("destroyed");
    }, 10000);
  })
})()

Within 10sec, move cursor left/right to cause add/remove brackets-macher's highlight.

And see how keyframe animation is re-started because of re-creation of highlight node.
Expected behavior: [What you expect to happen]
Node used for highlight decoration is stabled(not re-rendered).
Actual behavior: [What actually happens]
Node used for highlight decoration is re-rendered, cause keyframe animation re-started.
Reproduces how often: [What percentage of the time does it reproduce?]
100%.
Versions
Atom    : 1.19.0-beta7
Electron: 1.6.9
Chrome  : 56.0.2924.87
Node    : 7.4.0

Additional Information
I use fadeout flash effect with keyframe animation a lot in vim-mode-plus to give feedback to user.
E.g. when yank inner range of brackets, flash inner bracket range.
From v.1.19 cursor move cause brackets-matcher's highlights add/removal which cause vmp's flash effect re-started unwillingly.

I don't know etch's handling to avoid unnecessary re-rendering.
React use key to check identity of list item which avoid unnecessary re-creation of same item.
https://facebook.github.io/react/docs/lists-and-keys.html#keys

Looking into this. The highlight nodes are indeed associated with keys and appear to be getting updated rather than created and destroyed. It may be that Etch's reconciliation routine is unnecessarily removing the nodes and then adding them again.


[ENHANCEMENT] : UI Betterment For Posting Data

Describe The Enhancement
Minor enhancements are needed in card from where the text and image is to be attached.
Steps To Reproduce
Steps to reproduce the behavior :

Login
Go to Homepage
Observe the top card

Expected behavior
A more enhanced UI of this component.
Screenshots/Videos

*Additional Context
It will improve UI interface.

@SwanandD121, please assign me this issue


Discussion: There is no need of demo application in library seed

I think that having demo application inside seed project, only creates confusion. Seed should be bare-bone library.
It is trivial to create demo app manually with angular-cli and add the library with npm link.
My preference is to always have minimalistyc approach when I have to try new things.
My proposal: delete "demo" folder and merge "src/lib"->"lib".

I'll weigh in with my hobbyist level opinion.
I don't think that have a demo causes any confusion. Most libraries I see have a demo folder and it only seems appropriate. Also having that demo folder might make a user of this seed to be more inclined to actually build one, thus providing more documentation of the library they develop (people get a demonstration plus they can also always look at the demo's source).
I will however say, the library I developed does not follow the src/lib folder structure, but has a src and demo folders at the root of my repository. But I have seen other libraries do the same thing this one i s.

I don't believe it create confusion at all. I use it as a 'kitchen-sink' that gets built and deployed to a gh-pages repo in our internal github. That allows other devs to check out the functionality of the components they're importing and also acts as an inventory of what we have in the library.
I also use it to make sure the library is working the way I want while I'm developing it.
I would not want to see it changed.

The demo folder here is not only for demo also for quickly testing the components in the library visually. If like what you said，create another demo application via angular-cli and npm link means I need to npm run build my library with a lot of imagination and confidence instead of testing ，even take a look at my components in my library，then npm publish，npm install and ng serve the demo app？？


Style and info

This PR begins by filling out the shell of this repo for Part 2 of the Data Visualization Course (Data Visualizations Practice) by

making style changes per the guide on ottrproject.org

creating .Rmd chapters with headings based on the developed outline NOTE: still need to create more here for additional types of visualizations, but this will be after the LOs step.

making some quick edits to the README and ._bookdown.yml files

Next steps will include filling out learning objectives and the names/motivation/goal sections of the index.Rmd and 01-intro.Rmd files.
Like in part 1, looking for feedback on layout and content of the shell -- e.g., is there anything that doesn't seem to be there that should be?

@laderast sorry GitHub is not letting me add you as a reviewer again

Looks good! just a couple of minor comments


Changing size of a region is not reflected in sub-project *.rzone file

This relates to example project LPC55S69.
When changing the size of a memory, i.e. CODE_S is the project "LPC55S69.azone" the modification is not reflected in the output file "hello_world_s.rzone".
Maybe it would be a good idea to make the build output a bit more verbose, by listing the files that are generated during the build step.

This is solved in the 0.9.2 release


\\G matches unicode character 0xFFFF

create a grammar with a rule containing \\G
"match": "\\G",
"name": "invalid"

run the grammar on a file containing the unicode character 0xFFFF
expected:
it doesn't match anything, as there are no \\G anchors available
actual:
it matches the unicode char 0xFFFF

abcdef

As far as I understand, it is because of this logic: https://github.com/microsoft/vscode-textmate/blob/09effd8b7429b71010e0fa34ea2e16e622692946/src/rule.ts#L692-L696. Can it be done smarter? Not sure.


Nothing is happening when I hit generate

I have the latest release. I am using A1111. When I hit generate, nothing happens.
It was working two days ago. No error messages or anything. I have waited over ten
minutes and the command prompt just sits there. Anyone else have this problem?

I have the same problem after new update to Stable Diffusion 1.8.0

me too, waiting for update for 1111 1.8.0

same here

same

Same for me. It working last 2 days ago.

same problem with automatic1111 and forge

Downgrade version to 1.7 with add Line in webuser.bat:
Git reset --hard cf2772f
Working for me.
While waiting for fix or a New version

After the update, I was the same. MOV2MOV it does not work, the CMD table does not work on MOV2MOV. Hope someone can read and help.

Downgrade version to 1.7 with add Line in webuser.bat:
Git reset --hard cf2772f
Working for me.
While waiting for fix or a New version

Downgrade version to 1.7 with add Line in webuser.bat: Git reset --hard cf2772f Working for me. While waiting for fix or a New version

I tried to do your way but this error: Notimplificationerror: no operator found for Memory_efficient_attention_Forward with inputs

Downgrade version to 1.7 with add Line in webuser.bat: Git reset --hard cf2772f Working for me. While waiting for fix or a New version

I tried to do your way but this error: Notimplificationerror: no operator found for Memory_efficient_attention_Forward with inputs

Problem appears to have been resolved by following the steps in #6871 (comment). Just delete venv folder and run webui with --xformers

https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/6871#issuecomment-1416400288

AUTOMATIC1111/ổn định-khuếch tán-webui#6871 (bình luận)

Thank you so much. I have fixed it.

Didn't work for me.  I deleted the venv folder and then ran
set COMMANDLINE_ARGS=  --xformers
Was this the right way to run it?  Is there suppose to be a space between the = and the --?
I done all this after reverting back to 1.7.

Downgrade version to 1.7 with add Line in webuser.bat: Git reset --hard cf2772f Working for me. While waiting for fix or a New version

The launch scripts (windows and linux) don't automatically update the repo so you really only need to run the command git reset --hard cf2772f once from the command line, no need to update your .bat or .sh files.

Downgrade version to 1.7 with add Line in webuser.bat: Git reset --hard cf2772f Working for me. While waiting for fix or a New version

The launch scripts (windows and linux) don't automatically update the repo so you really only need to run the command git reset --hard cf2772f once from the command line, no need to update your .bat or .sh files.

Where do I use the command? In python or the Webui-user-bat?

Downgrade version to 1.7 with add Line in webuser.bat: Git reset --hard cf2772f Working for me. While waiting for fix or a New version

The launch scripts (windows and linux) don't automatically update the repo so you really only need to run the command git reset --hard cf2772f once from the command line, no need to update your .bat or .sh files.

Where do I put the command in the Webui user.bat? At the start (line 1) or as one of the set COMMANDLINE_ARGS ?

Someone complained on SD Discord that this extension does not work on 1.8.0 and has no errors. So I tried the same thing we did https://github.com/deforum-art/sd-webui-deforum/pull/950, and mov2mov worked on both 1.8.0 and 1.7.0 on my computer.
Are there any volunteers to test the fix for 1.8.0?
Download m2m_ui.py.zip and replace the m2m_ui.py in the scripts folder of mov2mov, or check the differences and apply the fix yourself.

Someone complained on SD Discord that this extension does not work on 1.8.0 and has no errors. So I tried the same thing we did deforum-art/sd-webui-deforum#950, and mov2mov worked on both 1.8.0 and 1.7.0 on my computer.
Are there any volunteers to test the fix for 1.8.0? Please test on both versions if you can.
Download m2m_ui.py.zip and replace the m2m_ui.py in the scripts folder of mov2mov, or check the differences and apply the fix yourself.

I can confirm this fix works on 1.8.0. Thanks!

Someone complained on SD Discord that this extension does not work on 1.8.0 and has no errors. So I tried the same thing we did deforum-art/sd-webui-deforum#950, and mov2mov worked on both 1.8.0 and 1.7.0 on my computer.
Are there any volunteers to test the fix for 1.8.0? Please test on both versions if you can.
Download m2m_ui.py.zip and replace the m2m_ui.py in the scripts folder of mov2mov, or check the differences and apply the fix yourself.

Works perfectly on 1.8.0 - thanks for the effort.

Someone complained on SD Discord that this extension does not work on 1.8.0 and has no errors. So I tried the same thing we did deforum-art/sd-webui-deforum#950, and mov2mov worked on both 1.8.0 and 1.7.0 on my computer.
Are there any volunteers to test the fix for 1.8.0? Please test on both versions if you can.
Download m2m_ui.py.zip and replace the m2m_ui.py in the scripts folder of mov2mov, or check the differences and apply the fix yourself.

This superb solution works on 1.8.0

Someone complained on SD Discord that this extension does not work on 1.8.0 and has no errors. So I tried the same thing we did deforum-art/sd-webui-deforum#950, and mov2mov worked on both 1.8.0 and 1.7.0 on my computer.
Are there any volunteers to test the fix for 1.8.0? Please test on both versions if you can.
Download m2m_ui.py.zip and replace the m2m_ui.py in the scripts folder of mov2mov, or check the differences and apply the fix yourself.

I also faced the same issue, but have no idea what's going on as I'm a beginner. Could you explain the details, please?

Someone complained on SD Discord that this extension does not work on 1.8.0 and has no errors. So I tried the same thing we did deforum-art/sd-webui-deforum#950, and mov2mov worked on both 1.8.0 and 1.7.0 on my computer.
Are there any volunteers to test the fix for 1.8.0? Please test on both versions if you can.
Download m2m_ui.py.zip and replace the m2m_ui.py in the scripts folder of mov2mov, or check the differences and apply the fix yourself.

i'm unable to download the file you shared..
can you reupload it

i'm unable to download the file you shared.. can you reupload it

The file was uploaded with the message. Try the full link https://github.com/Scholar01/sd-webui-mov2mov/files/14539759/m2m_ui.py.zip If that still doesn't work, check differences and apply the fix yourself.
Or download my fork https://github.com/viking1304/sd-webui-mov2mov, find a file in zip and replace the original file.

i'm unable to download the file you shared.. can you reupload it

The file was uploaded with the message. Try the full link https://github.com/Scholar01/sd-webui-mov2mov/files/14539759/m2m_ui.py.zip If that still doesn't work, check differences and apply the fix yourself.
Or download my fork https://github.com/viking1304/sd-webui-mov2mov, find a file in zip and replace the original file.

Finally, it works! Thanks!!

Someone complained on SD Discord that this extension does not work on 1.8.0 and has no errors. So I tried the same thing we did deforum-art/sd-webui-deforum#950, and mov2mov worked on both 1.8.0 and 1.7.0 on my computer.
Are there any volunteers to test the fix for 1.8.0? Please test on both versions if you can.
Download m2m_ui.py.zip and replace the m2m_ui.py in the scripts folder of mov2mov, or check the differences and apply the fix yourself.

Works on 1.8.0. Thanks!

Someone complained on SD Discord that this extension does not work on 1.8.0 and has no errors. So I tried the same thing we did deforum-art/sd-webui-deforum#950, and mov2mov worked on both 1.8.0 and 1.7.0 on my computer.
Are there any volunteers to test the fix for 1.8.0? Please test on both versions if you can.
Download m2m_ui.py.zip and replace the m2m_ui.py in the scripts folder of mov2mov, or check the differences and apply the fix yourself.

it works for me,thanks!!! version 1.8.0

Someone complained on SD Discord that this extension does not work on 1.8.0 and has no errors. So I tried the same thing we did deforum-art/sd-webui-deforum#950, and mov2mov worked on both 1.8.0 and 1.7.0 on my computer.有人在 SD Discord 上抱怨此扩展程序在 1.8.0 上不起作用并且没有错误。所以我尝试了我们所做的同样的事情 deforum-art/sd-webui-deforum#950，mov2mov 在我的计算机上同时适用于 1.8.0 和 1.7.0。
Are there any volunteers to test the fix for 1.8.0? Please test on both versions if you can.是否有任何志愿者来测试 1.8.0 的修复程序？如果可以，请在两个版本上进行测试。
Download m2m_ui.py.zip and replace the m2m_ui.py in the scripts folder of mov2mov, or check the differences and apply the fix yourself.下载m2m_ui.py.zip并替换 m2m_ui.py mov2mov 的 scripts 文件夹，或检查差异并自行应用修复程序。

It works for me!! thanks!

Someone complained on SD Discord that this extension does not work on 1.8.0 and has no errors. So I tried the same thing we did deforum-art/sd-webui-deforum#950, and mov2mov worked on both 1.8.0 and 1.7.0 on my computer.
Are there any volunteers to test the fix for 1.8.0? Please test on both versions if you can.
Download m2m_ui.py.zip and replace the m2m_ui.py in the scripts folder of mov2mov, or check the differences and apply the fix yourself.

thanks! It works for me!! 1.8.0

Thanks worked for me :-)

誰かが SD Discord で、この拡張機能は 1.8.0 では動作せず、エラーも発生しないと苦情を言いました。、私のコンピュータではmov2movが1.8.0と1.7.0の両方で動作しました。
1.8.0 の修正をテストしてくれるボランティアはいますか? 可能であれば、両方のバージョンでテストしてください。
m2m_ui.py.zipをダウンロードして、m2m_ui.pymov2mov のスクリプトを修正するか、違いを確認して自分で修正を適用します。

有難うございました！解決しました。

Someone complained on SD Discord that this extension does not work on 1.8.0 and has no errors. So I tried the same thing we did deforum-art/sd-webui-deforum#950, and mov2mov worked on both 1.8.0 and 1.7.0 on my computer.
Are there any volunteers to test the fix for 1.8.0? Please test on both versions if you can.
Download m2m_ui.py.zip and replace the m2m_ui.py in the scripts folder of mov2mov, or check the differences and apply the fix yourself.

I appreciate your help. The problem has been solved.

Someone complained on SD Discord that this extension does not work on 1.8.0 and has no errors. So I tried the same thing we did deforum-art/sd-webui-deforum#950, and mov2mov worked on both 1.8.0 and 1.7.0 on my computer.
Are there any volunteers to test the fix for 1.8.0? Please test on both versions if you can.
Download m2m_ui.py.zip and replace the m2m_ui.py in the scripts folder of mov2mov, or check the differences and apply the fix yourself.

it works.but i can't understand why,just two function new

Someone complained on SD Discord that this extension does not work on 1.8.0 and has no errors. So I tried the same thing we did deforum-art/sd-webui-deforum#950, and mov2mov worked on both 1.8.0 and 1.7.0 on my computer.
Are there any volunteers to test the fix for 1.8.0? Please test on both versions if you can.
Download m2m_ui.py.zip and replace the m2m_ui.py in the scripts folder of mov2mov, or check the differences and apply the fix yourself.

thanks,it works.

Fix works.
Thanks for your efforts in programming this tool.

i'm unable to download the file you shared.. can you reupload it

The file was uploaded with the message. Try the full link https://github.com/Scholar01/sd-webui-mov2mov/files/14539759/m2m_ui.py.zip If that still doesn't work, check differences and apply the fix yourself.
Or download my fork https://github.com/viking1304/sd-webui-mov2mov, find a file in zip and replace the original file.

just wanted to say, your fork was the only reason why i was able ot get it to work. I was to new at the time to understand what was going on , but getting that url and putting it in my extensions tab saved my life. thanks.

just wanted to say, your fork was the only reason why i was able ot get it to work. I was to new at the time to understand what was going on , but getting that url and putting it in my extensions tab saved my life. thanks.

I just hope that the guy who made this extension is well, since I see that he didn't had any code commit in the last 6 months.

i'm unable to download the file you shared.. can you reupload it

The file was uploaded with the message. Try the full link https://github.com/Scholar01/sd-webui-mov2mov/files/14539759/m2m_ui.py.zip If that still doesn't work, check differences and apply the fix yourself.
Or download my fork https://github.com/viking1304/sd-webui-mov2mov, find a file in zip and replace the original file.

Nope. Still doesn't work for me on 1.9.4. Generate does nothing.  I downloaded and installed this fork.  Replaced m2m_ui.py with zipped file. Did not help.  Deleted and rebuilt venv folder just in case.  Still broken.
Is this fix incompatible with 1.9.4?  Do I need to downgrade to 1.80?  Is there as alternative to this extension that does work?
It's a shame that extensions start to fail once the original author stops working on it.

I'm so sorry everyone, my daughter was born last year and I needed to spend a lot of time on work/family balance, so this project has been on hold for nearly a year. I'll try to fix it in the near future


sort reverse alphabetically?

I don't see a way to sort alphabetically but in reverse order.
for example in jekyll blog list I'd like to see the newest blog post first, even if the older blog just got the latest change.
2020-06-12-post2.md
2020-06-05-post1.md

There are several options related to grouping and sorting, but none of them allow you to specify reverse alphabetical:
g:NERDTreeNaturalSort
g:NERDTreeSortOrder
g:NERDTreeCaseInsensitiveSort
g:NERDTreeSortHiddenFirst

The way NERDTree's sorting function is written makes this a difficult feature to implement. In fact, while researching the code, I came across a sorting-related function nearly duplicating the actions of another, and I'm not quite sure of its purpose. I'm not saying it's impossible to do this change, but it's not at the top of my priorities right now.

I'm not going to pursue this. It would involve too much refactoring to be worth the effort.


Onnx to keras model conversion failed

import onnx
from onnx2keras import onnx_to_keras

# Load ONNX model
onnx_model = onnx.load('/home/pat-011/Desktop/deep_learning/POC1/output/tensorflow/pytorch_onnx_tf_onnx.onnx')

# Call the converter (input - is the main model input name, can be different for your model)
k_model = onnx_to_keras(onnx_model, ['input'])

Error -
Traceback (most recent call last):
File "/home/pat-011/.virtualenvs/onnx/lib/python3.6/site-packages/keras/engine/base_layer.py", line 279, in assert_input_compatibility
K.is_keras_tensor(x)
File "/home/pat-011/.virtualenvs/onnx/lib/python3.6/site-packages/keras/backend/tensorflow_backend.py", line 474, in is_keras_tensor
str(type(x)) + '. ' ValueError: Unexpectedly found an instance of type <class 'NoneType'>`. Expected a symbolic tensor instance.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "tf-onnx-pytorch-keras.py", line 30, in
k_model = onnx_to_keras(onnx_model, ['input'])
File "/home/pat-011/.virtualenvs/onnx/lib/python3.6/site-packages/onnx2keras/converter.py", line 146, in onnx_to_keras
node_name
File "/home/pat-011/.virtualenvs/onnx/lib/python3.6/site-packages/onnx2keras/operation_layers.py", line 184, in convert_split
input_0 = ensure_tf_type(layers[node.input[0]])
File "/home/pat-011/.virtualenvs/onnx/lib/python3.6/site-packages/onnx2keras/utils.py", line 42, in ensure_tf_type
return lambda_layer(fake_input_layer)
File "/home/pat-011/.virtualenvs/onnx/lib/python3.6/site-packages/keras/engine/base_layer.py", line 414, in call
self.assert_input_compatibility(inputs)
File "/home/pat-011/.virtualenvs/onnx/lib/python3.6/site-packages/keras/engine/base_layer.py", line 285, in assert_input_compatibility
str(inputs) + '. All inputs to the layer '
ValueError: Layer lambda_1 was called with an input that isn't a symbolic tensor. Received type: <class 'NoneType'>. Full input: [None]. All inputs to the layer should be tensors.

@nerox8664 This happens because in operation_layers, and probably in other places too, the fake_input_layer parameter for ensure_tf_type isn't set.
I could go over all function the coming days and send a PR if you want. (Also happy if you do that ofc ;))


[FlexFec] Adding support for FlexFec RFC-03

Description
Context
This PR is part of a series of PRs to provide FlexFec support for pion.
https://datatracker.ietf.org/doc/html/rfc8627
Summary
This PR provides the following:

Adding a FlexFec encoder implementation for https://datatracker.ietf.org/doc/html/draft-ietf-payload-flexible-fec-scheme-03 => This is the implementation that chromium currently uses instead of the latest version of the draft. Providing support for this draft version will enable pion to work with chromium-based browsers.
Changing the FEC coverage data structure to use 2 uint64 to store the packet masks. This will reduce allocations.
Adding support for the actual Interceptor component that batches RTP packets together to generate repair packets before sending both types of packets over the network.
Various fixes to FEC header encoding, validated with chromium.

There are still some issues to be tackled:

Hardcoded timestamp for the RTP header. Chromium seems to work just fine with this but we need to properly set this value.
We currently limit ourselves to VP8, FlexFec is meant to be codec agnostic so we can provide support for more codecs.
We currently hardcode a minimum of 5 media packets protected by 2 media packets, this should be configurable.
We need to account for missing media packets, indeed media packets could be dropped on the way to being received by pion, and our FEC encoder assumes there are no missing media packets.

Reference issue
Fixes #...

Hey @pougetat, does this only work for Opus (since it has inbandfec=1) or will it work for VP8, etc as well?
I saw that the (Chrome) SDP has:
a=rtpmap:49 flexfec-03/90000
a=rtcp-fb:49 goog-remb
a=rtcp-fb:49 transport-cc
a=fmtp:49 repair-window=10000000

I'm assuming that means that flexfec-03 has to be sent over 49 instead of something like 96 or am I misunderstanding something?
Is this interceptor plug and play or do I need to set up extra lines in the SDP/RTCPFeedback/etc?


Reproduce behavior of load_sample in DSCR

Add a post-processing function or query utility, see https://github.com/stephens999/dscr/blob/master/man/load_example.Rd

Yes, this should certainly be implemented as a post-processing utility on data. I am actually thinking that I should get at least the lab's input on efforts related to this. Of course I'll provide a "master" data tables along the lines of #14 to start with, and I expect others to contribute documented R functions that extracts and re-organize information from these master data tables the way they see fit.

Discussed this with @road2stat and we'll initialize a shinydsc project.


Fix ResidualProgramCompiler compiling inside build directory

Make KotlinScriptHost depend upon TmpDirTemporaryFileProvider instead of the ProjectScopeServices TemporaryFileProvider.
Closes https://github.com/gradle/gradle-private/issues/3251

This should fix our recent increase in flaky tests:
https://ge.gradle.org/scans/tests?search.names=gitBranchName&search.relativeStartTime=P28D&search.rootProjectNames=gradle&search.tags=CI&search.timeZoneId=America/New_York&search.values=master&tests.container=org.gradle.integtests.publish.maven.SamplesMavenPomGenerationIntegrationTest&tests.sortField=FLAKY&tests.test=can deploy to local repository with kotlin dsl&tests.unstableOnly=true

@bot-gradle test this please

OK, I've already triggered ReadyForMerge build for you.

@bot-gradle test this please

OK, I've already triggered ReadyForMerge build for you.


"Drill to Details by" Feature Ignores Applied Filters in Superset 4.0.1

Bug description
In Superset, the "Drill to details by" feature does not apply filters correctly when generating the SQL query. If used without any filters, all raw data is displayed correctly. However, when filters are applied and the feature is used, the generated SQL query does not include the filters, resulting in the display of raw records instead of the filtered records in the drill down.
How to reproduce the bug

Create a Virtual Dataset:
SalesDataset:
SELECT
    region,
    customer_name,
    sales_usd
FROM public.sales
WHERE 1 = 1
{% if filter_values('company')|length %}
    AND company IN {{ filter_values('company')|where_in }}
{% endif %}

Create a Virtual Dataset for Filter:
CompanyFilterDataSet:
SELECT DISTINCT company AS company
FROM public.sales

Create a Pivot Table Chart:

DataSet: SalesDataset
Rows: region
Column: customer_name
Metric: count(sales_usd)

Create a Dashboard Filter:

**Source: CompanyFilterDataSet
**Column: company

**Test without Applying Filter:

**Use the "Drill to details by all" feature.
**The drill down shows the correct number of records.

Apply Filter and Test Again:

**Apply a filter using the CompanyFilterDataSet.
**Notice that the values in the chart change according to the filter.
**Use the "Drill to details by all" feature.
**The drill down shows the original raw records (without the filter) instead of the filtered records.

Expected Behavior
The generated SQL query for the drill down should include the applied filters, and the drill down should display the filtered records.
Screenshots/recordings

Superset version
4.0.1
Python version
3.11
Node version
18 or greater
Browser
Chrome
Additional context
When creating a dashboard, I performed the following steps:

Created a dataset SalesDataset with a filter condition for company.
Created another dataset CompanyFilterDataSet for filtering companies.
Built a pivot table chart using SalesDataset, with region as rows, customer_name as columns, and count(sales_usd) as the metric.
Added a dashboard filter using CompanyFilterDataSet on the company column.
Initially, without applying any filters, the drill down feature shows the correct number of records. However, when a filter is applied, although the chart updates correctly, the drill down shows the original unfiltered records.

Checklist

[X] I have searched Superset docs and Slack and didn't find a solution to my problem.
[X] I have searched the GitHub issue tracker and didn't find a similar bug report.
[X] I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.

Hi ,
This is not related to the #27941 (i've checked the problem statement of this fix)

I have a similar problem. Are there any working solutions?

this issue exists in version 3.1.3 as well


Update how-to-install-iot-edge-on-windows.md

Fixing Bug: https://microsoft.visualstudio.com/OS/_workitems/edit/31556464

@rsameser : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off


Releases and/or Change log?

Thank you for your work!
I just updated to the latest 0.3.1 from 0.2.0 and I'm sure I'm getting some goodies, but I have no idea what the changes are.
Perhaps you could add CHANGELOG.md or craft Releases -- whatever is easiest, even if you just add a single sentence per release 🙇 🙇♀

I think both sound like a good idea. The only reason I haven't currently been doing it was because I expected there to be a bunch of rule changes with the initial release, but it has slowed down a bit so I'll probably start doing this now. Thanks for the suggestion!

Created a release for v0.4 manually here: https://github.com/saadq/lynt/releases/tag/v0.4.0
Will be using that release module for future releases, it looks great :D
Going to leave this open until I do the next release using that module.

On that note, because Lynt is technically not following semver until v1.0 is out (should be soon), I'm going to hold off on using that release package until then.
With that said, v0.5.0 is out, and every new update is getting release notes!


Cleanup cert-rotation security rm page

Applied style guide rules. Only a few minor changes were done.
Viewed rendered output, and ran linter.
This commit applies to FFTK-2795
Readiness

[x] Merge (pending reviews)
[ ] Merge after date or event
[ ] Draft

Overview
Why merge this PR? What does it solve?
Checklist
Optional. Add a 'x' to steps taken.
You can fill this out after opening the PR. "Did I..."

[x] Run spelling and grammar check, preferably with linter.
[x] Avoid changing any header associated with a link/reference.
[ ] Step through instructions (or ask someone to do so).
[x] Review for wordiness
[x] Match tone and style of page/section.
[ ] Run make linkcheck.
[x] View HTML in a browser to check rendering.
[x] Use semantic newlines.
[x] follow best practices for commits.

[x] Descriptive title written in the imperative.
[x] Include brief overview of QA steps taken.
[x] Mention any related issues numbers.
[x] End message with sign off/DCO line (-s, --signoff).
[x] Sign commit with your gpg key (-S, --gpg-sign).
[x] Squash commits if needed.

[x] Request PR review by a technical writer and at least one peer.

Comments
Any thing else that a maintainer/reviewer should know.
This could include potential issues, rational for approach, etc.

Docs for aed92ddc9975dea7a01c2a88e1c6f8be4a83637a are browsable at: https://ci.foundries.io/projects/fio-docs/builds/2546/docs/artifacts/html/index.html


Implement access control functionality

rcModAccessControl, ichmod

Ive been running into the ACL functionality a lot more.
Goal #1 here would be to be able to access the existing permissions for a given file/collection for a specific user or group. The primary use case at the moment is being able to show if a collection/data Object is read only, or can be modified by a given user. Knowing where these permissions come from would also be useful - i.e. are these permissions granted at the level of a given user or for a group that the user belongs to. Knowing if a collection has permissions inheritance set would be useful so that this information could be passed on to the user, particularly for a collection that is shared with others ('All new files/collections created in this collection will have the following default access permissions:').
Goal #2 would then be to be able to modify permissions for collections/data objects - this will likely come with the need to be able to get lists of users and groups (and the users in those groups) in order to be able to grant permissions to those users/groups, etc. via some appropriate method, e.g. via a dropdown list or set of checkboxes on a web UI.
S.

Notes:
Goal 1: List collection/dataobject owner and groups (ACL):
https://github.com/irods/irods/blob/ef18afc8b6bb7c0e7494795b6d36db746bd859fc/lib/core/src/lsUtil.cpp#L352
$ ils -A

Goal 2a: List available users and groups (with users) for given zone:
$ igroupadmin || iadmin
> lg
> lg #{group-name}

Goal 2b: Modify ownership of data object/collection. Add/Remove groups:
$ ichmod -r #{access} #{group} #{object-or-collection}

Goal 3: Manage groups?

f, _ := notesFile.GetACL()

for _, acl := range f {
	if acl.Type == gorods.UserType {
		p(acl.User())
	} else {
		p(acl.Group())
	}
}

// acl.AccessLevel:
// Null
// Read
// Write
// Own


[question][websocket] Crashed while trying to reconnect to a websocket connection : (

Version of Beast
BOOST_BEAST_VERSION 322
Steps necessary to reproduce the problem
here is my issue codes: demo codes & some pics
I'm trying to create a websocket client and need sending message to server, for example, every 30 second, just like a heartbeat.
So I wrote the demo above.
I'm new to boost beast and I've meet some problems when trying to implement the reconnection feature.
In client, the flow of my codes is:

async_resolve endpoints
async connect, if faild close websocketstream and reconnect after a while;
async_handshake
start async_read and async_write like

AsyncRead()
{
    buffer_.consume(buffer_.size());
    ws_.async_read(buffer_,
        [self{ this->shared_from_this() }](beast::error_code ec, std::size_t byteTransferred)->void
    {
        if (ec)
        {
             TryReconnect();    // goes to step 2
        }
        self->AsyncRead();
    });
}

And what bother me a lot was when I emulated the situation as server disconnect:

Start server and client
I shutdown my server program for the first time
async_read 's error_code was system 10054 & async_write's error_code was system 995.
The client was still running ok, and started trying to connect remote server.
I restarted my server program for the second time
This time async_read 's error_code  & async_write's error_code was both system 995. And the client crashed instantly with a vc runtime abort()

I've tried lots of times, and get the same result. I wonder what had happened ..
It's weird that it didn't crash at the first time a close the server, and always accured after the second time.
I desperately want to know the cause of the problem and could you tell me what's the correct way to do the reconnect to websocket or how to handle this situation(reconnect to remote server) gracefully?
All relevant compiler information
no compiler error, runtime crashed..
Others
I'd really really really really appreciate it, for this has tortured me very very long :(

You cannot reconnect a beast::websocket::stream - you need to destroy it and recreate it before attempting reconnection.

um... so calling websocket::stream::close() while disconnected was wrong and what I need to do is recreate websocket::stream with net::make_strand again to restart a connect quest, am I right?

You probably don't need to make a new strand, but you will need a newly constructed stream.

Sorry I'm not quite sure what's the operations to do this. I stored the websocket stream as a class member, and construct it using strand. Is it possible to make this websocket stream recreate again as the class member?

So, made it self-contained: https://github.com/sehe/boost-websocket-issue/tree/sehe
Now I can make it fail to reproduce your problem:
https://user-images.githubusercontent.com/324097/164229792-34430179-ff6e-44de-8609-d395e13fca90.mp4
Now I'd use e.g. unique_ptr or optional to make ws_ dynamically/lazy initializable. In this case we only need the resettability:
    std::optional<websocket::stream<beast::tcp_stream>> ws_;

//...
    ws_.emplace(ws_->get_executor());

See it working:
https://user-images.githubusercontent.com/324097/164231032-2122bb13-8548-4fbc-b385-75a57ec71b3a.mp4

I'll close this issue. Feel free to re-open/post follow-up if you have remaining questions @ILikeIneine

This really helps me a lot as a beginner. Thanks very much!


Performance improvements

Several improvements to the internals of _search(_:in:) to avoid the less efficient parts of Swift's String implementation, namely the fact that count is O(n) for a string of length n, and String.index(_, offsetBy: n) is also O(n).
Overall speedup of up to 2.5x for search operations.
FuseUtilities.swift:

add a version of calculateScore which takes a patternLength parameter, to avoid repeated calls to String.count, which is O(n) for a string of length n.
calculatePatternAlphabet: eliminate unnecessary loop zeroing mask by using nil coalescing instead.
calculatePatternAlphabet: eliminate unnecessary calls to String.index(_, offsetBy: n), which is O(n), by instead looping through pattern.enumerated().
findRanges: eliminate unnecessary variable end and unnecessary subtraction of one, using ..< instead of ... operator.

Fuse.swift:

change all calls to calculateScore to use pattern.len (see FuseUtilities.swift)
calculate text.count only once
eliminate unnecessary Double/Int conversions in calculation of binMid
avoid calls to text.char(at:), which is O(n+j) for offset of j in string length n, instead calculate index of currentLocation once, then apply String.index(before:) once per loop iteration, which is O(1).

String+Fuse.swift:

avoid deprecated encodedOffset and instead compare self.count to position

Nice work!

Amazing work @peteraisher!

Thanks @krisk, glad you approve!


How can ı change superset login page

Screenshot
[drag & drop image(s) here!]
Description
[describe the issue here!]
Design input
[describe any input/collaboration you'd like from designers, and
tag accordingly. For design review, add the
label design:review. If this includes a design proposal,
include the label design:suggest]
I want to change login page HTML and CSS but  ı didn't find anything about that

Hello, I'm closing this issue as it is not a bug report.  A request for assistance like this is better suited to Apache Superset Slack chat or GitHub discussions, please feel free to post in either place.  I would suggest first searching both places for terms like "customize login page" as the topic has arisen before and you may find what you need.


Fix empty contact list case

@michaelkourlas
The UI locks up if the contact lists is empty  (contactsData is null after refresh)
This PR addresses the issue.

This is now moot, as the application is being rewritten for native Android.


core : datadog.conf log_file directives in wrong place (release 12.4.5180)

Hello,
This seems like an obvious config file issue so not going to run the detailed bug reporting steps.
version : docker-dd-agent latest-alpine release 12.4.5180 (agent 5.18.0)
file : /opt/datadog-agent/agent/datadog.conf
These directives appear last in the config file, which puts them under the [trace.ignore] section, and it looks like it is ignored as a result:
collector_log_file = /opt/datadog-agent/logs/collector.log
forwarder_log_file = /opt/datadog-agent/logs/forwarder.log
dogstatsd_log_file = /opt/datadog-agent/logs/dogstatsd.log
jmxfetch_log_file = /opt/datadog-agent/logs/jmxfetch.log

The effect is the default log locations are used by the agent and since those locations do not exist in the container file system, logging to file fails.
moving those directives to the [Main] section solves the issue

BUG REPORT INFORMATION
Steps to reproduce the issue:

start up an instance of : docker-dd-agent latest-alpine release 12.4.5180 (agent 5.18.0)

Describe the results you received:
run : /opt/datadog-agent/bin/agent info
you will see several of these in the output:
Log file is unwritable: [default log file]

nothing gets logged to /opt/datadog-agent/logs
Describe the results you expected:
You should see logs for the various components in their respective log files:
/opt/datadog-agent/logs/collector.log
/opt/datadog-agent/logs/forwarder.log
/opt/datadog-agent/logs/dogstatsd.log
/opt/datadog-agent/logs/jmxfetch.log

Hi @ggpretorius
Thanks for the report, and sorry for the trouble. We are working on this.

Hey, thanks for reporting this and apologies for the inconvenience. This PR is merged that will make the log lines more resilient to changes made to the Datadog.conf.example file so this doesn't happen in the future - https://github.com/DataDog/dd-agent/pull/3545

We just rebuilt the image, the issue is now fixed.
Thanks again for reporting this issue, and please let us know if you have any more issue.


[website] Fix /base-ui/ code duplication

~Randomly delete files of https://mui.com/base-ui/ that are duplicated to make sure we don't try to use them (they will go out of sync).~
Preview: https://deploy-preview-416--base-ui.netlify.app/

I don't understand the purpose of this PR. These files are indeed duplicated, but this copy should be the source of truth as we're going to host the live docs from this repo.

I removed the source of https://mui.com/base-ui/ because the source we have in Base UI isn't used in production, we made changes to it from http://github.com/mui/material-ui. I believe it's clearer this way (no duplication).

It doesn't really matter if they aren't in sync. What we have here will ultimately replace the landing page that's currently live at mui.com.
The changes proposed in this PR make PR previews basically unusable if you don't have the deep URL: https://deploy-preview-416--base-ui.netlify.app/base-ui/
cc @colmtuite

@michaldudak Agreed, it's fine if they're out-of-sync.

Would it work if we make it behave like https://master--material-ui-x.netlify.app?

What we have here will ultimately replace the landing page that's currently live at mui.com.

Oh, interesting, so the plan is Option C https://www.notion.so/mui-org/docs-infra-Marketing-site-code-location-70fa836aeb654e2eb429721706529e1d?pvs=4#a0a3f8db560b42ce8d6c4626b6741fc8?

@oliviertassinari My preference is option B, but it seems option C won.

Ok, for now I'm aiming for a simple goal with this PR: removing the code duplication in the codebase. I have fixed the problem @michaldudak raised with the URLs by coping MUI X's approach. We now have these links that I believe behave correctly:

https://deploy-preview-416--base-ui.netlify.app/base-ui/
https://deploy-preview-416--base-ui.netlify.app/

Going forward, the fate of https://github.com/mui/material-ui/blob/next/docs/pages/base-ui.tsx will depend on https://www.notion.so/mui-org/docs-infra-Marketing-site-code-location-70fa836aeb654e2eb429721706529e1d.

Oh, interesting, so the plan is Option C? https://www.notion.so/mui-org/docs-infra-Marketing-site-code-location-70fa836aeb654e2eb429721706529e1d?pvs=4#a0a3f8db560b42ce8d6c4626b6741fc8. It wasn't clear to me if we found a solution to this problem.

I wasn't aware of this discussion. It felt natural to me to keep all Base UI-related docs in our repo so we can own them, style them and host them separately if there's a need to.
It feels weird to me that everything but the landing page is in our repo, but if y'all prefer it this way, so be it.

@colmtuite We can definitely do the opposite. The problem is that we are fixing stuff in https://github.com/mui/material-ui/blob/next/docs/pages/base-ui.tsx that isn't propagated in this repository, the content we have here is outdated.

My take on it is that we should revert this PR but keep the landing page in the Core repo for now. Once we're ready with the new website (have enough components to build a nice landing page, etc.), we remove all Base UI-related code and docs from the Core repo and either have everything in this repo (option C) or in yet another repo (option C).

Yes I agree with @michaldudak.

It feels like I'm missing something, I would have expected this PR to be frictionless. What's the value in having https://github.com/mui/material-ui/blob/next/docs/pages/base-ui.tsx in this repository, but with an outdated version of it? I can't only see the downsides 😄


Can only test build environment on Linux

The current instructions in the wiki for building and testing additonal packages to the build environment do not work on macOS for two distinct reasons.

realpath is not available on macOS by default. This is fixable with brew install coreutils
The current instructions mount your rust installation and using that when building in Ubuntu, which does not work if you're on macOS.

Potential solutions

Provide a OS (At least *nix) agnostic way to test build environment.
Add seperate instructions for macOS.

Do you mind volunteering your time to test this solution?
realpath() {
    (cd "$1" && pwd -P)
}
rustup install nightly-x86_64-unknown-linux-gnu
rustup_home="$(rustup show home)"
cargo_home="$([ "$CARGO_HOME" = "" ] && echo ~/.cargo || echo "$CARGO_HOME")"
cd /path/to/your/crate
CONTAINER="$("docker" "create" \
    "-v" "$(realpath ./target):/opt/rustwide/target:rw,Z" \
    "-v" "$(realpath .):/opt/rustwide/workdir:ro,Z" \
    "-v" "$cargo_home:/opt/rustwide/cargo-home:ro,Z" \
    "-v" "$rustup_home:/opt/rustwide/rustup-home:ro,Z" \
    "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=$(id -u)" \
    "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "RUSTFLAGS=" \
    "-e" 'RUSTDOCFLAGS=-Z unstable-options
        --resource-suffix -20191116-1.41.0-nightly-5c5b8afd8
        --static-root-path / --disable-per-crate-search' \
    "-e" "CARGO_HOME=/opt/rustwide/cargo-home" \
    "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" \
    "-w" "/opt/rustwide/workdir" "-m" "3221225472" "--network" "none" \
    "build-env" "/opt/rustwide/cargo-home/bin/cargo" \
        "+nightly" "doc" --offline --locked "--lib" "--no-deps" "--target" "x86_64-unknown-linux-gnu")"
docker start -ai "$CONTAINER"

These did not work, I ran the below in the directory for the crate and received the following output.
realpath() {
    (cd "$1" && pwd -P)
}
rustup install nightly-x86_64-unknown-linux-gnu
rustup_home="$(rustup show home)"
cargo_home="$([ "$CARGO_HOME" = "" ] && echo ~/.cargo || echo "$CARGO_HOME")"
CONTAINER="$("docker" "create" \
    "-v" "$(realpath ./target):/opt/rustwide/target:rw,Z" \
    "-v" "$(realpath .):/opt/rustwide/workdir:ro,Z" \
    "-v" "$cargo_home:/opt/rustwide/cargo-home:ro,Z" \
    "-v" "$rustup_home:/opt/rustwide/rustup-home:ro,Z" \
    "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=$(id -u)" \
    "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "RUSTFLAGS=" \
    "-e" 'RUSTDOCFLAGS=-Z unstable-options
        --resource-suffix -20191116-1.41.0-nightly-5c5b8afd8
        --static-root-path / --disable-per-crate-search' \
    "-e" "CARGO_HOME=/opt/rustwide/cargo-home" \
    "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" \
    "-w" "/opt/rustwide/workdir" "-m" "3221225472" "--network" "none" \
    "build-env" "/opt/rustwide/cargo-home/bin/cargo" \
        "+nightly" "doc" --offline --locked "--lib" "--no-deps" "--target" "x86_64-unknown-linux-gnu")"
docker start -ai "$CONTAINER"
info: syncing channel updates for 'nightly-x86_64-unknown-linux-gnu'

  nightly-x86_64-unknown-linux-gnu unchanged - (error reading rustc version)

info: checking for self-updates
/opt/rustwide/cargo-home/bin/cargo: 1: /opt/rustwide/cargo-home/bin/cargo: �����8: not found
/opt/rustwide/cargo-home/bin/cargo: 2: /opt/rustwide/cargo-home/bin/cargo: ��H__PAGEZERO�__TEXTPVP__text__TEXT���F��__stubs__TEXT: not found
/opt/rustwide/cargo-home/bin/cargo: 3: /opt/rustwide/cargo-home/bin/cargo: Syntax error: "(" unexpected

Ah right, it's still trying to use the default version in bin/cargo. One last try?
realpath() {
    (cd "$1" && pwd -P)
}
rustup install nightly-x86_64-unknown-linux-gnu
rustup_home="$(rustup show home)"
cargo_home="$([ "$CARGO_HOME" = "" ] && echo ~/.cargo || echo "$CARGO_HOME")"
CONTAINER="$("docker" "create" \
    "-v" "$(realpath ./target):/opt/rustwide/target:rw,Z" \
    "-v" "$(realpath .):/opt/rustwide/workdir:ro,Z" \
    "-v" "$cargo_home:/opt/rustwide/cargo-home:ro,Z" \
    "-v" "$rustup_home:/opt/rustwide/rustup-home:ro,Z" \
    "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=$(id -u)" \
    "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "RUSTFLAGS=" \
    "-e" 'RUSTDOCFLAGS=-Z unstable-options
        --resource-suffix -20191116-1.41.0-nightly-5c5b8afd8
        --static-root-path / --disable-per-crate-search' \
    "-e" "CARGO_HOME=/opt/rustwide/cargo-home" \
    "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" \
    "-w" "/opt/rustwide/workdir" "-m" "3221225472" "--network" "none" \
    "rustops/crates-build-env" bash -c 'export PATH="$PATH:/opt/rustwide/rustup-home/toolchains/nightly-x86_64-unknown-linux-gnu/bin" &&
            "cargo" "doc" --offline --locked "--lib" "--no-deps" "--target" "x86_64-unknown-linux-gnu"')"
docker start -ai "$CONTAINER"

If this doesn't work we probably won't be able to use the host toolchain at all and I'll have to set up another intermediary docker container :(

As a workaround, you can install rust in the build container directly: https://blog.rust-lang.org/2019/09/18/upcoming-docsrs-changes.html#how-to-prepare-for-the-changes

Ok, clearly the docker container isn't working for people outside the very narrow case of x86_64-unknown-linux-gnu. I think a better long-term solution is to allow the docker image for docs.rs to be configured.
Mentoring instructions:

In RustwideBuilder::init, check for an environment variable (maybe DOCS_RS_LOCAL_IMAGE)
If it is set,

Create a SandboxImage using SandboxImage::local
In the same spot, call .sandbox_image() on the WorkspaceBuilder with the image as an argument.

Update the README to show how to use a custom image (i.e. DOCS_RS_LOCAL_IMAGE=build-env cargo run)

I'm going to work on this.

Fixed in #593


Add changelog for patch release 19.4

Issue #, if available:
Description of changes:
Testing (if applicable):
Documentation added/planned (if applicable):
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/hold

Created another PR to merge to main first.


Write a Java program to convert temperature from celsius to kelvin

Description
Write a Java program to convert temperature from celsius to kelvin
Input  ( C ) : -40
Output ( K ) : 233.15

Contributed by - @magar51

How to contribute

Comment !assign to assign this issue to yourself
Fork this repository
Create a new branch
Save the solution in program/program/convert-temperature-from-celsius-to-kelvin/ConvertTemperatureFromCelsiusToKelvin.java
Commit the changes
Create a pull request

!assign


HAWKULAR-585 - Updated Accounts - Cassandra datastore

Let's do this after https://github.com/hawkular/hawkular-agent/pull/101

merged as this one only changes poms that should not conflict with #101


Fix import of ApiKeys collection

Some files had incorrect APiKeys collection import.
Maybe it will resolve issue #263

I wonder if it wouldn't be something caught by eslint.

Good find!


Fix reassignment of struct members in impl self

Closes: https://github.com/FuelLabs/sway/issues/1169
When looking for the value to reassign, also look for it in the argument list of the function.

I've come across a slightly different scenario where the AST is saying that the following:
fn f(a: u64) {
    let a = a + 1;
    ...
}

Is a re-assignment, where IMO this is a new declaration which is shadowing the function argument. I didn't raise an issue at the time though...
This change is necessary, because it (e.g. self.a = 0 from the test) is a genuine re-assignment, but it'll also hide the above issue. But maybe the above issue isn't an issue.

You're right.. a new variable is being declared via let so this is certainly not a reassignment.

I've come across a slightly different scenario where the AST is saying that the following:
fn f(a: u64) {
    let a = a + 1;
    ...
}

Is a re-assignment, where IMO this is a new declaration which is shadowing the function argument. I didn't raise an issue at the time though...
This change is necessary, because it (e.g. self.a = 0 from the test) is a genuine re-assignment, but it'll also hide the above issue. But maybe the above issue isn't an issue.

You're right.. a new variable is being declared via let so this is certainly not a reassignment.

@otrho I looked at the AST of the following code:
fn foo(a: u64) {
    let a = a + 1;
}

fn main() {
    foo(5);
}

and I don't see a Reassignment in the AST 🤔


Support of a new network

Hello,
I want to work with the quorum network and would like to expand on the current functionality and create the necessary modules for the connection( vdr, dids etc.). I would like some pointers and how easy it could be.
If it works I would be more than happy to contribute with a PR.

Sorry for the late reply. If you want to add a new network you should implement the DidResolver ,DidRegistrar and AnonCredsRegistry (if you want to do anoncreds). You can look at the indy-vdr / cheqd packages for references!


SidebarBottom: create story for visual test coverage

From AP-4238
This isn't a bug per se but a requirement to finish the project. Storybook allows VTA to drop in an arbitrary component in the sidebar.
We have no coverage of this in the VTA project which makes it hard to test or adjust. I'd expect to see a story for SidebarBottom in our project.

Assigning "high" priority because it's a straightforward update which also unblocks a related bug from  AP-4114

Comments from mentioned ticket:

@domyen This Sidebar Bottom is a Manager API from SB core. Do we want that to be a standard height no matter the integration? I will coordinate with SB team if so.
via @thafryer

Agree that it seems like a Storybook API issue!

Yes that'd be helpful to have a standard height. We want it to align with the standard bottom bar in Storybook addons.

I did more investigation and saw that the CSS is set in an unexpected way for this element.
via @domyen

Because it is effectively a toolbar, the height of the filter container should be 40px + border size.
via @MichaelArestad

I think this one has been resolved. Will reopen if I see it again.
via @MichaelArestad


Request to update the Rancher Charts questions.yml section

Summary
The page describing the content of questions.yml now misses various types of questions. In 2.8.0 additional types were added (examples), and it looks like some were already missing (see https://github.com/rancher/questions-yml-examples/blob/master/charts/100/questions.yaml).
Further usages of questions.yaml can be found in https://github.com/rancher/partner-charts and https://github.com/rancher/charts.
The request is to understand which are missing and add them to the questions.yaml section

https://ranchermanager.docs.rancher.com/how-to-guides/new-user-guides/helm-charts-in-rancher/create-apps#questionsyml seems to be the page that needs to be updated.

Please, add some examples and reference documentation. I always feel lost when I need to update questions.yml because I do not know what it able to do. :+1:

any movement on this?


Recommended books on Angular JS

Add some recommended and standard books on Angular JS. These books should try to include beginner, intermediate and advanced. Make a PR referencing the Issue number.

Resolved 👍


Add instructions for color-blind users

The errors might look like warnings to some users. Add directions to fix for colorblind users in the README.

Editor and problems panel:
"editorError.background": "#ff000033",
"editorError.foreground": "#ff0000",
File name color:
"list.warningForeground": "#ffff77",
"list.errorForeground": "#ff7777"

Fixed with d6ca9c44e8dc0430ae5e8f53b1887f5da59bd7e4


{"msg": "Incorrect sudo password"}

I'm getting an error {"msg": "Incorrect sudo password"} error message.
I've created my vault
ansible-vault edit group_vars/all/kub-2/crypted --vault-password-file ~/.vault_pass.txt

with the right password in the format:
ansible_become_pass: [PASSWORD]

using  ansible-playbook -i hosts site.yml -K (adding -K) to the end of the command helped to resolve this, but it seems like I have to have the passwords the same to all of the instance.

Hi @michaelschem ,
in hosts file you may put the values that differ from hosts to host
e.g.
host1 ansible_sudo_pass=..
I guess the value can be another var also, and hold that in vault
more info here:
https://stackoverflow.com/questions/21870083/specify-sudo-password-for-ansible


Click bubbling from marker to map

I have:

marker with popup
map click handler (for geocoding)

When I click on marker I've got 'click' event on both map and marker.
So popup opened (ok) and geocoding start working (wrong!).
Why event from marker propagates to underlying  map?
How I can prevent this?

It doesn't propagate, at least not in my tests. Can you set up a JSFiddle test case that demonstrates your problem?

https://github.com/Leaflet/Leaflet/blob/master/debug/map/markers.html
Click on marker. In console:
markerStatic click
map click

@yohanboniface was this broken after your PR?

I'm in a workshop (as a trainer), I'll look on this tonight :/

@ktoto please verify the fix.

@mourner It's works for me. :)


Use the "trans" function for the i18n in the talk template.

Fix this bug: https://github.com/EuroPython/epcon/issues/151
How to generate the .po with the command line of Django ?
Nice to have in the README

HI Stéphane, could you please update the PR so that it applies cleanly again ? The templates have changed a bit in the last few days. Sorry, but I didn't see your PRs earlier.

Hi @malemburg Do you think I can update this PR ?

It's probably better to close the PR and create a new one that cleanly applies.


driftctl scan crashed when used with many remote tfstate files

Description

Our TF setup is split up into multiple directories which each comprise a part of the overall cloud system all contained in the same AWS account. There are directories for global/, dev/, prod/, etc. Each directory has its own tfstate file which is stored on S3.
When I try to invoke driftctl scan passing all these tfstate files with the --from tfstate+s3://[bucket]/[key.tfstate] syntax, the tool can handle up to 4 of these parameters, but crashes when I try to use it with 5 or more.
The error message given is: "A runner routine paniced: value is marked, so must be unmarked first"
Environment

OS: MacOS 11.3
driftctl version: 0.7.1

How to reproduce

See above
Possible Solution

Additional context

@theintz Do you reproduce the issue when using only one --from flag with the fifth state ? I suspect an issue with the latest state.

You are right, the same error happens when I use just that one state file. What can I do to help you reproduce?

Which version of terraform and which version of the AWS provider you used for the problematic state ?
Maybe you can use driftctl with crash reporting flag https://docs.driftctl.com/0.7.1/usage/flags/crash-reporting, it will send us a crash report and maybe we can investigate further. But it looks like it's an issue within terraform.

Here is the output
Terraform v0.15.0
on darwin_amd64
+ provider registry.terraform.io/hashicorp/archive v2.1.0
+ provider registry.terraform.io/hashicorp/aws v3.35.0

➜ tf providers

Providers required by configuration:
.
├── provider[registry.terraform.io/hashicorp/archive]
└── provider[registry.terraform.io/hashicorp/aws] ~> 3.35.0

Providers required by state:

    provider[registry.terraform.io/hashicorp/archive]

    provider[registry.terraform.io/hashicorp/aws]

I will run driftctl with the crash flag enabled.

Terraform v0.15.0

Maybe this is an issue with the latest terraform version,we need to check this on our side.

I will run driftctl with the crash flag enabled.

Thanks, we'll stay you informed.
Anyway, thanks for your feedback !

We recieved your crash report thanks !

@theintz It look like this is an issue within terraform.
I just build for you a driftctl version with an updated terraform version, can you run it on your state and let me know if it fixes your issue ?
driftctl_darwin_amd64.zip
If it solve your issue I will bump terraform version and the fix will be available in upcoming releases.
Thanks for your time 🙏🏻

Hi @eliecharra, I am unable to run the executable since it is not verified. Maybe you could push a proper update?

Hi @eliecharra, I am unable to run the executable since it is not verified. Maybe you could push a proper update?

By verified what do you mean exactly ? This is a dev binay and thus it is not signed with our GPG key but it does not matter.

MacOS tells me that it's unverified and can't be run. I'm not comfortable with adding a security exception.

May be it'd be easier for you to compile driftctl by yourself on a dedicated branch so you don't have to worry about security ?

Hi @theintz , did you try to use the glob pattern feature introduced in v0.8 ? Instead of passing multiple instances of --from like so : --from tfstate+s3://path/to/states/**/*.tfstate (documentation). Let us know if you still have issues with your use case.


New Robot Template for DIC POC combo terms

As discussed Aug 8th (and previously) with @jaclynsaunders we decided to make a new robot template for terms like
dissolved inorganic carbon
dissolved organic carbon
dissolved organic phosphorus
particulate inorganic carbon
particulate organic carbon
particulate organic nitrogen

The goal being to have unique IRI's for these frequently used combinations, which ideally link to back to axioms which can generate the same RDF as if they were created piecemeal using the BCODMO-semantic model phrase.

Some of my notes on how I solved this issue at a first pass. We can review and revise later.
* Quantifier 1
dissolved (Add to quantifier import PATO:0001986)
particulate (add to quantifier)
(suspended add to quantifier)
(colored have color PATO:0000014 in physics characteristic)
(total (already have sum as quantifier can add total as synonym))

* Quantifiers 2
organic ~ A chemical compounds that contain carbon-hydrogen or carbon-carbon bonds
inorganic ~ A chemical compound that lacks carbon–hydrogen bonds, with a few notable exception e.g., carbon monoxide, carbon dioxide, carbides, salts ~comment A compound that is not an organic compound

* entity
carbon -> carbon compound CHEBI:33582
nitrogen -> nitrogen compound CHEBI:51143
matter -> compound BSM:0210000
phosphorus -> phosphorus compound CHEBI:26082

________________________

We could use ->

organic compound CHEBI:50860
inorganic molecular entity CHEBI:24835

________________________

ID ranges if we make a new robot template:

Element:   0200000-0209999
Compound:  0210000-219999
NEW range: 0220000-229999

Temporary module run instructions:
from bcodmont/src/ontology/BCODMO_SM
2) Run Robot Templates
Run temp.tsv:
robot template --template chemistry/robot_templates/temp.tsv -i ../bcodmont-edit.owl --prefix "RO:http://purl.obolibrary.org/obo/RO_" --prefix "BSM:http://purl.obolibrary.org/obo/BSM_" --ontology-iri "http://purl.obolibrary.org/BCODMO_SM/chemistry/robot_templates/temp.owl" -o chemistry/robot_templates/temp.owl

3) Merge Robot templates
axiom free merge (added the chemistry/robot_templates/temp.owl)
robot merge --input intermediate/chebi_import_axioms_removed.owl --input intermediate/envo_import_axioms_removed.owl --input intermediate/uberon_import_axioms_removed.owl --input intermediate/go_import_axioms_removed.owl --input ../imports/iao_import.owl --input ../imports/cl_import.owl --input intermediate/pco_import_axioms_removed.owl --input intermediate/obi_import_axioms_removed.owl --input intermediate/so_import_axioms_removed.owl --input intermediate/mi_import_axioms_removed.owl --input intermediate/ms_import_axioms_removed.owl --input intermediate/ecocore_import_axioms_removed.owl --input intermediate/pato_import_axioms_removed.owl --input biology/robot_templates/anatomy.owl --input biology/robot_templates/physiology.owl --input biology/robot_templates/ecology.owl --input biology/robot_templates/biomolecules.owl --input biology/robot_templates/organism.owl --input chemistry/robot_templates/element.owl --input chemistry/robot_templates/compound.owl --input chemistry/robot_templates/temp.owl --input matrix/robot_templates/material.owl --input matrix/robot_templates/context.owl --input matrix/robot_templates/biome.owl --input matrix/robot_templates/region.owl --input quantifiers/robot_templates/quantifiers.owl annotate --ontology-iri "http://purl.obolibrary.org/BCODMO_SM/merge_products/BCODMO_SM_axioms_removed_merged.owl" --version-iri "http://purl.obolibrary.org/BCODMO_SM/merge_products/BCODMO_SM_axioms_removed_merged.owl" --output merge_products/BCODMO_SM_axioms_removed_merged.owl

4) Filter merge product to create final modules
robot filter --input merge_products/BCODMO_SM_axioms_removed_merged.owl --prefix "bsm:http://bcodmo/sm#" --select "oboInOwl:inSubset=bsm:temp" --select annotations  --signature true annotate --ontology-iri "http://purl.obolibrary.org/BCODMO_SM/chemistry/temp.owl" --version-iri "http://purl.obolibrary.org/BCODMO_SM/chemistry/temp.owl" --output chemistry/temp.owl

Current version gives the following hierarchy:

with APs like:

Next steps are to figure out how to add axioms to the quantifiers like dissolved and inorganic and entity carbon compound if we want to model things this way.

See TSV file in https://github.com/BCODMO/bcodmont/pull/26

OK I think we've got this in a reasonably good place with owl axioms to entities and quantifiers so that those can be written out to the RDF model if these terms are selected for annotation. For example DOC here has axioms linking to quantifiers for dissolved and organic and the entity carbon compound CHEBI:33582. This way when a DM selects this term we can hopefully get the RDF writing script can auto-populate the quantifier and entity fields.

Instead of using compound BSM:0210000 as the root node we could instead use material entity BFO:0000040 and give it the synonym matter. Then we could call the module matter_fractions or similar?


Added hooks for async startup

:tada: This PR is included in version 2.2.7 :tada:
Your semantic-release bot :package::rocket:


Refactor footer helper to accommodate both services

Context
This should make the footer helper a bit easier to scale for both services.
Changes proposed in this pull request
footer_helper.rb

 Refactor footer_helper


Feature/support multiple media types

Possibly a callback that returns a MediaType enum. e.g. onMediaTypeChanged(MediaType type)
Values might be: STREAM, AUDIO, and VIDEO.
This callback could be used to update the UI with a video player for a VIDEO or album art for AUDIO.

Fixed in a pull request.

An example of switching between video and audio can be found in the latest example app.


Readme: Specify Bootstrap version and haml example

Coverage increased (+0.5%) to 97.129% when pulling dbffe39da3ab4f5fb2d09ca4dafea15f475b395d on simonini:patch-1 into fed00b5fe3b0093449be1a53915824c9fa29a4b6 on piotrmurach:master.

Thanks ❤


[load testing] simplify, rince and repeat

:green_heart: Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS

Expand to view the summary

Build stats

Build Cause: Pull request #1553 updated

Start Time: 2020-12-04T16:04:12.623+0000

Duration: 46 min 30 sec

Test stats :test_tube:

Test
Results

Failed
0

Passed
1629

Skipped
12

Total
1641


Modified hal not compiling

Not sure where I've gone wrong...esp32-hal-uart.c
I had this working, then I had some issues with VSCode and now when I compile with the modified esp32-hal-uart.c I get the following:
Linking .pio/build/featheresp32/firmware.elf
.pio/build/featheresp32/libFrameworkArduino.a(HardwareSerial.cpp.o):(.literal._ZN14HardwareSerial5beginEmjaabm+0x14): undefined reference to `uartStartDetectBaudrate'
.pio/build/featheresp32/libFrameworkArduino.a(HardwareSerial.cpp.o): In function `HardwareSerial::begin(unsigned long, unsigned int, signed char, signed char, bool, unsigned long)':
/home/mac/.platformio/packages/framework-arduinoespressif32/cores/esp32/Stream.h:104: undefined reference to `uartStartDetectBaudrate'

I believe the equivalent place to [path to sketch folder]/Arduino/hardware/ in VSC and PIO for the esp32 is:
~/.platformio/packages/framework-arduinoespressif32/cores/esp32
(I thought putting there worked ...but, that was a few months back, and my aged brain doesn't do well with time. :) )

Had some time to look at this issue today. So I set up a clean arduino ide and used the input example from this library.
I got the same error on build in the arduino environment.
I looked in the esp32-hal-uart.c file that comes with the esp core and found this:
/*
 * To start detection of baud rate with the uart the auto_baud.en bit needs to be cleared and set. The bit period is
 * detected calling uartBadrateDetect(). The raw baudrate is computed using the UART_CLK_FREQ. The raw baudrate is
 * rounded to the closed real baudrate.
*/
void uartStartDetectBaudrate(uart_t *uart) {
  if(!uart) return;

  uart->dev->auto_baud.glitch_filt = 0x08;
  uart->dev->auto_baud.en = 0;
  uart->dev->auto_baud.en = 1;
}

unsigned long
uartDetectBaudrate(uart_t *uart)
{
    static bool uartStateDetectingBaudrate = false;
...

In the replacement esp32-hal-uart.c the uartStartDetectBaudrate function wasn't there.
I added this function to the replacement and the code builds and appears to work.
I don't know if I didn't get this lib installed correctly or something has been changed in the core.
I have no way of knowing if this addition causes other issues...


Error: Newman >= v4 does not support the v1 collection

When reviewing the daily blackbox tests job, I noticed the job is failing due to the following error message repeated over and over in the logs.
Starting blackbox-testing_volume_1 ... done
Pulling postman (postman/newman_ubuntu1404:)...
latest: Pulling from postman/newman_ubuntu1404
Digest: sha256:a94def5e27e103a1e13cc3b18c8d5a47e83af4f2bdd0ec1adb7a4e69409dd613
Status: Downloaded newer image for postman/newman_ubuntu1404:latest

  error: Newman >= v4 does not support the v1 collection format

  Use the Postman Native app to export collections in the v2 format

Example log here:
https://logs.edgexfoundry.org/production/vex-yul-edgex-jenkins-1/blackbox-testing-centos7-blackbox-4c-2g-california/51/console.log.gz
Example build here:
https://jenkins.edgexfoundry.org/view/blackbox-testing/job/blackbox-testing-centos7-blackbox-4c-2g-california/51/

We are pulling the https://hub.docker.com/r/postman/newman_ubuntu1404/tags/ latest tag, which was updated 5 hours ago.  Looks like it introduced a breaking change.  Will need the QA/Test team to pin to the appropriate version/docker tag here.

@JPWKU @tsconn23
Yes, Newman 4.0.0 dropped support for the v1 Postman Collection format.
The reference link: https://github.com/postmanlabs/newman/blob/v4.0.0/CHANGELOG.yaml#L10.
Then I use 3.10.0 for test, it's work fine, so we can use 3.10.0 as appropriate version.
And I create a PR https://github.com/edgexfoundry/blackbox-testing/pull/62, please help review.

@weichou1229 Unfortunately this solution breaks ARM64. There are two environment shell scripts which set the appropriate image in the CI pipeline. The reference to the appropriate image needs to be set there. I am going to create separate issues.


[trivy always recursive] terraform_trivy not excluding paths

Describe the bug
  - repo: https://github.com/antonbabenko/pre-commit-terraform
    rev: v1.86.0
    hooks:
      - id: terraform_trivy
        exclude: '/examples/'

This configuration is still scanning terraform included in example folders in external modules. As this isn't code that I'm deploying, I would like to exclude it from the check.
How can we reproduce it?
N.B the path is ecs_alb_service_task\**examples**\complete\main.tf
Trivy avd-aws-0178
MEDIUM: VPC Flow Logs is not enabled for VPC
════════════════════════════════════════
VPC Flow Logs provide visibility into network traffic that traverses the VPC and can be used to detect anomalous traffic or insight during security workflows.

See https://avd.aquasec.com/misconfig/avd-aws-0178
────────────────────────────────────────
 cloudposse/vpc/aws/main.tf:30-49
   via .terraform\modules\ecs_alb_service_task\examples\complete\main.tf:9-16 (module.vpc)
────────────────────────────────────────
  30 ┌ resource "aws_vpc" "default" {
  31 │   count = local.enabled ? 1 : 0
  32 │
  33 │   #bridgecrew:skip=BC_AWS_LOGGING_9:VPC Flow Logs are meant to be enabled by terraform-aws-vpc-flow-logs-s3-bucket and/or terraform-aws-cloudwatch-flow-logs
  34 │   cidr_block          = local.ipv4_primary_cidr_block
  35 │   ipv4_ipam_pool_id   = try(var.ipv4_primary_cidr_block_association.ipv4_ipam_pool_id, null)
  36 │   ipv4_netmask_length = try(var.ipv4_primary_cidr_block_association.ipv4_netmask_length, null)
  37 │   # Additional IPv4 CIDRs are handled by aws_vpc_ipv4_cidr_block_association below
  38 └
  ..
────────────────────────────────────────

Environment information
OS Name:                   Microsoft Windows 11 Pro Insider Preview
OS Version:                10.0.23612 N/A Build 23612
OS Manufacturer:           Microsoft Corporation
OS Configuration:          Standalone Workstation
OS Build Type:             Multiprocessor Free

Tools availability and versions:

trivy --version
Version: 0.48.3
Policy Bundle:
  Digest: sha256:f21e8e92a7b3f6042ef7acfd3b799afc1648536dc4111c4d5458bc16396f8332
  DownloadedAt: 2024-02-06 01:27:11.6126431 +0000 UTC

.pre-commit-config.yaml
  - repo: https://github.com/antonbabenko/pre-commit-terraform
    rev: v1.86.0
    hooks:
      - id: terraform_trivy
        exclude: '/examples/'

also, this .terraform directory that the examples are in the .gitignore so they shouldn't be going through the pre-commit

Please let us know when trivy adds the ability to disable recursive scanning.
I suggest you open a feature request in trivy repo and link this issue.
As a quick fix, use args as specified in README point 3, and provide to trivy itself --skip-dirs.

also, this .terraform directory that the examples are in the .gitignore so they shouldn't be going through the pre-commit

And they are not.
pre-commit sends only next modified files to terraform_trivy hook:
https://github.com/antonbabenko/pre-commit-terraform/blob/995a59d4c30c7710a640aba2bb430265677894c5/.pre-commit-hooks.yaml#L100-L101
We calculate which dirs are affected (because TF visibility is all files with specific extensions in the directory, not a single file)
https://github.com/antonbabenko/pre-commit-terraform/blob/995a59d4c30c7710a640aba2bb430265677894c5/hooks/_common.sh#L212-L215C5
and send a list of affected dirs to trivy binary
https://github.com/antonbabenko/pre-commit-terraform/blob/995a59d4c30c7710a640aba2bb430265677894c5/hooks/_common.sh#L253
https://github.com/antonbabenko/pre-commit-terraform/blob/995a59d4c30c7710a640aba2bb430265677894c5/hooks/terraform_trivy.sh#L45
Why trivy scans .terraform and ignore ,gitignore - that's a good question for trivy maintainers. I think they have already plenty of these questions like this one - https://github.com/aquasecurity/trivy/issues/3670

@MaxymVlasov thanks for the detailed reply; I will take this up with the trivy project.


OCM-2637: Fix to subsystem tests of htpasswd

was missing from https://github.com/terraform-redhat/terraform-provider-rhcs/pull/230

/approve
/lgtm


Create LICENSE

This sample code is currently unlicensed. This PR adds the MIT license. Is that appropriate for this project?
/cc @talniv

Note we use these samples exclusively on the developer documentation site, eg https://developer.github.com/guides/building-a-ci-server/#building-a-ci-server

This PR adds the MIT license. Is that appropriate for this project?

I'm fine with a license closer to the UNLICENSE or Public Domain: do whatever you want with these snippets. I think MIT asks for attribution back, and I personally don't care for attribution back for these.

I'm fine with a license closer to the UNLICENSE or Public Domain: do whatever you want with these snippets. I think MIT asks for attribution back, and I personally don't care for attribution back for these.

CC0 is probably more appropriate then. As I understand it, unlicensed and public domain are quite troublesome.

I think if I seek to serve and develop a collective labor monopoly is better regardless. Experience has shown that those who serve the public are ultimately successful. Every time money is not the man to bring happiness and height.

@bkeepers Set this to CC0. Feel free to merge if you're happy with it.

:metal:


Add HTML/CSS/JavaScript formatter

Motivation

Similar to what we have for Python (black and pylint), we could also add code formatting for JavaScript/TypeScript.
Proposed Solution

Use prettier
Add pre-commit hook
Add GitHub action or CircleCI job
Optionally: Integrate/Combine with ESLint (ossar-action)

Alternatives

Additional Context

Prettier also has support for HTML and CSS, so maybe we can evaluate whether we can format our HTML and CSS code as well...

Prettier does not support Django templates: https://github.com/prettier/prettier/issues/5581#issuecomment-647403815
Two alternatives are:

https://github.com/Riverside-Healthcare/djlint
https://github.com/rtts/djhtml (only formats indentation, does not change lines)

We can still use prettier for our typescript code though.


fixed a few typos in the docs

What changed?

Changed instances of autoprefixer to Autoprefixer for consistency with pre-existing text.
Changed Offcanvas  to Off-canvas for consistency with pre-existing text.
Changed type face  to typeface to match common spelling convention (examples here, here, and here).

Thanks!


WIP: Polishing the Docs

... based on feedback from tutorials at UBC.

Should the installation instruction to be more concise? Something like
using Pkg
pkg"activate ."
pkg"registry add https://github.com/ACEsuit/ACEregistry"
pkg"add ACE1pack"

This would make it easy to copy-paste.

maybe a good idea. Make the change and push to this PR?


Bump lua-resty-ipmatcher to 0.6.1

Summary
Fixes IPv6 using same prefix for same mask length: https://github.com/api7/lua-resty-ipmatcher/issues/18
Full changelog

Change lua-resty-ipmatcher version from 0.6 to 0.6.1

Thank you! Merged.


[Select] Ensure label is shrinked when using startAdornment

Resolves #10473

Thanks ! More may come in the future :p

I would love to review more in the future :)


[Improvement]  generate credential according to the data path and metadata path

What would you like to be improved?
Currently, Gravitino generates credential according to the table location, we should also consider  write.data.path write.metadata.path in iceberg table properties. https://github.com/apache/iceberg/blob/main/core/src/main/java/org/apache/iceberg/TableProperties.java#L265-L273
How should we improve?
No response

Hi, I’d like to work on this. Please let me know if it’s okay.

@orenccl sure

Currently, the only solution I can think of is to pass WRITE_DATA_LOCATION and WRITE_METADATA_LOCATION when injecting CredentialConfig.
CredentialUtils.vendCredential(
-             credentialProvider, loadTableResponse.tableMetadata().location());
+             credentialProvider,
+             new String[] {
+               loadTableResponse.tableMetadata().location(),
+               loadTableResponse.tableMetadata().property(TableProperties.WRITE_DATA_LOCATION, ""),
+               loadTableResponse.tableMetadata().property(TableProperties.WRITE_METADATA_LOCATION, "")
+             });

- public static Credential vendCredential(CredentialProvider credentialProvider, String path) {
+ public static Credential vendCredential(CredentialProvider credentialProvider, String[] path) {
    PathBasedCredentialContext pathBasedCredentialContext =
        new PathBasedCredentialContext(
-           PrincipalUtils.getCurrentUserName(), ImmutableSet.of(path), ImmutableSet.of());
+           PrincipalUtils.getCurrentUserName(), ImmutableSet.copyOf(path), ImmutableSet.of());
    return credentialProvider.getCredential(pathBasedCredentialContext);
}

However, I'm not sure what to do next—how to test it or what will be affected by these changes.
Could you give me some hints?

Yes, it should be worked if you are passing the specific locations.  Do you have a AWS or GCS account ? If yes, you cloud create to create a Iceberg table with specific metadata or data location, test whether could write data or not by spark, please refer to  https://gravitino.apache.org/docs/0.7.0-incubating/iceberg-rest-service#exploring-the-apache-gravitino-iceberg-rest-catalog-service-with-apache-spark.  If no, I could do some test based your PR.

I want to try testing it myself and will update you on the progress.
Thanks for your help!

Please try to add a test in IcebergRESTS3IT to cover the feature,  you could refer to testDML in IcebergRESTServiceIT

I want to try testing it myself and will update you on the progress.
Thanks for your help!

please contact me if encounter any problems, credential vending is something complicated


Fix Python 2.7 for IPv6 country code lookup

Introduction
Yo!
This change was randomly selected as a part of the Random Acts of Git [RAG] project by @tatemz. You can find the live streams for this project on my Twitch channel.
This pull request not only proposes a fix for the randomly selected issue, but also implements the following standards for each repo handled by the RAG project:

[X] Ensure testing framework is present
[X] Ensure build scripts work
[X] Provide test coverage reporting
[X] Implement CI
[X] Add missing documentation for any proposed changes
[X] Standardize the README
[X] Provide Docker development/runtime environment if possible
[X] Add tests to reproduce the issue and validate the fix

Related Issue
Fixes #1
Description of Problem
Looking up country codes for IPv6 was failing for Python versions < 3 due to a difference between unicode and str types.
Description of Solution
Use the six Python library to conditionally encode strings properly between Python versions 2 & 3.
Action Items
If you choose to merge this PR, there are a few action items you will need to do:

[ ] Setup your own Travis CI account and job for this repo
[ ] Setup your own Codecov account
[ ] Implement automated deployment to PyPi

Alternatively to merging this entire PR, you can select the commits relevant to the bug fix and perform a cherry-pick into your branch.

@tatemz Awesome! I was planning to allocate some of my time to fix the issue but someone volunteered to fix it. Thank you!

No problem! Happy to help! Feel free to check out tomorrows stream to see what the next issue for Random Acts of Git is!


Add support for prepopulating Web Font list with Google Fonts

To avoid users needing to manually type which option they're using, offer up a list they can choose from based on Google Fonts.
Fonts exposes an API that would allow you to do this: https://developers.google.com/fonts/docs/developer_api by querying https://www.googleapis.com/webfonts/v1/webfonts?.

Oh nice, I was looking for something like this!

Fixed in fc3d51d 🍰

Yay!
On Tue, Nov 22, 2016 at 5:25 PM Monica Dinculescu<EMAIL_ADDRESS>wrote:

Closed #2 https://github.com/notwaldorf/font-style-matcher/issues/2.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/notwaldorf/font-style-matcher/issues/2#event-869128004,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAGxae0RhpYQOpUlbSz_DzEXfNAm4bnxks5rA5YagaJpZM4K53vo
.


Fix a bug where files with #EXTVLCOPT lines fail to parse

Codecov Report

Merging #4 (14903bd) into main (ae21917) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main        #4   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            8         8
  Lines          152       177   +25
=========================================
+ Hits           152       177   +25

Impacted Files
Coverage Δ

Sources/M3UKit/Models/Channel.swift
100.00% <100.00%> (ø)

Sources/M3UKit/Parsers/ChannelMetadataParser.swift
100.00% <100.00%> (ø)

Sources/M3UKit/Parsers/PlaylistParser.swift
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 ae21917...14903bd. Read the comment docs.


bugfix: fixed the problem when photos taken in the landscape orientation are off

See https://github.com/capacitor-community/camera-preview/issues/232

Thank you!