Adds dct using vDSP_DCT for Vector{Float32}

This implements dct using Accelerate's vDSP_DCT routine.  As far as I know, there is only a single precision implementation.
I also fixed the unit tests.
I tried to implement the FFT as well (which supports double precision), but the currently commented out code causes a segment fault.  I'm not sure the correct way to pass in a pointer to a C struct
typedef struct DSPDoubleSplitComplex {
double *realp;
double *imagp;
} DSPDoubleSplitComplex;
I tried creating what I thought would be the equivalent data structure to DSPDoubleSplitComplex*:
immutable DSPDoubleSplitComplex
realp::Ptr{Float64}
imagp::Ptr{Float64}
end

Thanks! I'm a bit busy at the moment, but I'll try to look at the FFT next week.

I just had a quick look over this: maybe we should change the plan_dct name, as it isn't quite a drop-in replacement for Julia's plan_dct (for one thing, it returns a pointer, whereas Julia's is purely a side-effect).

Maybe it should return a new Julia type, so that
P=plan_dct(2^4,1)
P*rand(Float32,2^4)

works?   The dct’s are also slightly different normalizations.  So maybe the dct should be renamed as well?

On 30 Sep 2015, at 8:32 pm, Simon Byrne<EMAIL_ADDRESS>wrote:
I just had a quick look over this: maybe we should change the plan_dct name, as it isn't quite a drop-in replacement for Julia's plan_dct (for one thing, it returns a pointer, whereas Julia's is purely a side-effect).
—
Reply to this email directly or view it on GitHub https://github.com/JuliaLang/AppleAccelerate.jl/pull/4#issuecomment-144349724.

Yeah, good idea (I was hoping to see something like this in the new Julia FFT interface, whenever that gets merged).

That is how the new FFT interface works, in 0.4rc:
v=rand(64)
P=plan_fft(v)
P*v

On 30 Sep 2015, at 8:50 pm, Simon Byrne<EMAIL_ADDRESS>wrote:
Yeah, good idea (I was hoping to see something like this in the new Julia FFT interface, whenever that gets merged).
—
Reply to this email directly or view it on GitHub https://github.com/JuliaLang/AppleAccelerate.jl/pull/4#issuecomment-144357878.

Ah, I didn't realise it had been changed.  Yes, I think we should make a vDSPPlan type.


Using the Include Rank Detail check box in combination with the Select Properties field hangs client

After adding custom Select Properties, enabling the Include Rank Detail option will cause the client to hang.

Fixed in the code base - and will be included next time we create a release.


HDFS-15912. Allow ProtobufRpcEngine to be extensible

NOTICE
Please create an issue in ASF JIRA before opening a pull request,
and you need to set the title of the pull request which starts with
the corresponding JIRA issue number. (e.g. HADOOP-XXXXX. Fix a typo in YYY.)
For more details, please see https://cwiki.apache.org/confluence/display/HADOOP/How+To+Contribute

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 36s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  1s

codespell was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

-1 :x:
test4tests
0m  0s

The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
34m  8s

trunk passed

+1 :green_heart:
compile
20m 50s

trunk passed with JDK Ubuntu-11.0.10+9-Ubuntu-0ubuntu1.20.04

+1 :green_heart:
compile
18m  6s

trunk passed with JDK Private Build-1.8.0_282-8u282-b08-0ubuntu1~20.04-b08

+1 :green_heart:
checkstyle
1m  6s

trunk passed

+1 :green_heart:
mvnsite
1m 35s

trunk passed

+1 :green_heart:
javadoc
1m  4s

trunk passed with JDK Ubuntu-11.0.10+9-Ubuntu-0ubuntu1.20.04

+1 :green_heart:
javadoc
1m 36s

trunk passed with JDK Private Build-1.8.0_282-8u282-b08-0ubuntu1~20.04-b08

+1 :green_heart:
spotbugs
2m 20s

trunk passed

+1 :green_heart:
shadedclient
15m 39s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 51s

the patch passed

+1 :green_heart:
compile
19m 58s

the patch passed with JDK Ubuntu-11.0.10+9-Ubuntu-0ubuntu1.20.04

+1 :green_heart:
javac
19m 58s

the patch passed

+1 :green_heart:
compile
17m 58s

the patch passed with JDK Private Build-1.8.0_282-8u282-b08-0ubuntu1~20.04-b08

+1 :green_heart:
javac
17m 58s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

-0 :warning:
checkstyle
1m  4s
/results-checkstyle-hadoop-common-project_hadoop-common.txt
hadoop-common-project/hadoop-common: The patch generated 18 new + 20 unchanged - 3 fixed = 38 total (was 23)

+1 :green_heart:
mvnsite
1m 29s

the patch passed

+1 :green_heart:
javadoc
1m  3s

the patch passed with JDK Ubuntu-11.0.10+9-Ubuntu-0ubuntu1.20.04

+1 :green_heart:
javadoc
1m 38s

the patch passed with JDK Private Build-1.8.0_282-8u282-b08-0ubuntu1~20.04-b08

+1 :green_heart:
spotbugs
2m 29s

the patch passed

+1 :green_heart:
shadedclient
15m 54s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
17m 16s

hadoop-common in the patch passed.

+1 :green_heart:
asflicense
0m 54s

The patch does not generate ASF License warnings.

178m  0s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2905/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/2905

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell

uname
Linux 77460dfcfc53 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / a1c99c8da2a835e469d9209cfd01911f66fb6180

Default Java
Private Build-1.8.0_282-8u282-b08-0ubuntu1~20.04-b08

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.10+9-Ubuntu-0ubuntu1.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_282-8u282-b08-0ubuntu1~20.04-b08

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2905/1/testReport/

Max. process+thread count
1850 (vs. ulimit of 5500)

modules
C: hadoop-common-project/hadoop-common U: hadoop-common-project/hadoop-common

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2905/1/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 34s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  1s

codespell was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

-1 :x:
test4tests
0m  0s

The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
39m 11s

trunk passed

+1 :green_heart:
compile
27m 43s

trunk passed with JDK Ubuntu-11.0.10+9-Ubuntu-0ubuntu1.20.04

+1 :green_heart:
compile
24m 50s

trunk passed with JDK Private Build-1.8.0_282-8u282-b08-0ubuntu1~20.04-b08

+1 :green_heart:
checkstyle
1m 15s

trunk passed

+1 :green_heart:
mvnsite
1m 49s

trunk passed

+1 :green_heart:
javadoc
1m 10s

trunk passed with JDK Ubuntu-11.0.10+9-Ubuntu-0ubuntu1.20.04

+1 :green_heart:
javadoc
1m 52s

trunk passed with JDK Private Build-1.8.0_282-8u282-b08-0ubuntu1~20.04-b08

+1 :green_heart:
spotbugs
2m 56s

trunk passed

+1 :green_heart:
shadedclient
20m 58s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
1m  5s

the patch passed

+1 :green_heart:
compile
27m 18s

the patch passed with JDK Ubuntu-11.0.10+9-Ubuntu-0ubuntu1.20.04

+1 :green_heart:
javac
27m 18s

the patch passed

+1 :green_heart:
compile
21m 28s

the patch passed with JDK Private Build-1.8.0_282-8u282-b08-0ubuntu1~20.04-b08

+1 :green_heart:
javac
21m 28s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

-0 :warning:
checkstyle
1m  5s
/results-checkstyle-hadoop-common-project_hadoop-common.txt
hadoop-common-project/hadoop-common: The patch generated 2 new + 20 unchanged - 3 fixed = 22 total (was 23)

+1 :green_heart:
mvnsite
1m 30s

the patch passed

+1 :green_heart:
javadoc
1m  4s

the patch passed with JDK Ubuntu-11.0.10+9-Ubuntu-0ubuntu1.20.04

+1 :green_heart:
javadoc
1m 38s

the patch passed with JDK Private Build-1.8.0_282-8u282-b08-0ubuntu1~20.04-b08

+1 :green_heart:
spotbugs
2m 29s

the patch passed

+1 :green_heart:
shadedclient
15m 47s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
17m 24s

hadoop-common in the patch passed.

+1 :green_heart:
asflicense
0m 54s

The patch does not generate ASF License warnings.

214m  7s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2905/2/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/2905

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell

uname
Linux 6b254dac494b 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 4c7f0198f35eb505d6f037f1073598140fc3627b

Default Java
Private Build-1.8.0_282-8u282-b08-0ubuntu1~20.04-b08

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.10+9-Ubuntu-0ubuntu1.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_282-8u282-b08-0ubuntu1~20.04-b08

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2905/2/testReport/

Max. process+thread count
3047 (vs. ulimit of 5500)

modules
C: hadoop-common-project/hadoop-common U: hadoop-common-project/hadoop-common

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-2905/2/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.


Optimize images for PR 10903

I was in the process of optimizing images for the docs (https://github.com/docker/docker/pull/10929) and saw that your pull-request included some images. I optimized the images losslessly, reduced the file-size with roughly 50% feel free to include this in your pull request :)

Thanks for merging!

I accidentally stomped on my merge commit for this PR when I rebased. I don't know how to get this commit back out of github though.


Whether the font file can be embedded to the js file use base64 or other way?

Is there some way to embed the font file to the js file? Because in my project it can't add the font file, it will cause the package size issue.
Thx.

I don't understand, fonts are very tiny and making them base64 encoded would only increase the size? Anyway, the answer is no :-)

Thank you very much~


clr-field color does not change when input value change

Hi, this color widget is awesome, thanks for making it. I used for my project and everything works great except a little details. Maybe I missed something.
When I change the input value the parent element (clr-field) color does not change.
I tried to replicate it:
https://codepen.io/b-lint-pipei/pen/xxWNmNb
I am sorry if I missed something.
Thanks
Balint

If you are trying to change the thumbnail color when you programmatically change the value of the input, the documentation describes the way to do it here: https://github.com/mdbassit/Coloris#manually-updating-the-thumbnail

Thank you.


BackgroundExecutionManager.RequestAccessAsync: What does "Package Relative Application ID" mean?

Here are some questions that the documentation for the BackgroundExecutionManager.RequestAccessAsync(String applicationId) API should answer:

The applicationId parameter is described as the "Package Relative Application ID". What is a "Package Relative Application ID"? After a lot of searching I found out from this page that it is the value of the Id attribute of the Application element in the Package.appxmanifest. The doc for this page should make it easier to jump to documentation on "Package Relative Application ID".
If I call this API from a PPLE because I want to register a background task to be run in my PPLE, what value should I pass for applicationId?

Adam Comella
Microsoft Corp.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 87a7208c-98b2-9368-578d-8d7108416447
Version Independent ID: d2e8925a-af0b-0793-cba7-2438b8cc9684
Content: BackgroundExecutionManager.RequestAccessAsync Method (Windows.ApplicationModel.Background) - UWP app developer
Content Source: https://cpubwin.visualstudio.com/DefaultCollection/windows-uwp/_git/winrt-api-build?path=%2fwinrt-api-build%2fwindows.applicationmodel.background.backgroundexecutionmanager.yml&version=GBlive&_a=contents
Product: windows
Git Login: wdg-dev-content
Microsoft Alias: wdg-dev-content

Thanks for the issue, @rigdern. My fix for #1 should be live on Monday morning. Now that I've made contact with you internally, let's work on #2 in-house over email and I'll fix the docs if/when I get that info. Meanwhile, I'll close this issue.
Thanks!
Steve


align NOTICE file with FINOS project blueprint

Can one of the admins verify this patch?

Can one of the admins verify this patch?


Recompile of 0.3.0 needed for play-json 2.4.x...

We were using scala-slack for years with our Play2.2, then 2.3 application but when we went to Play 2.4.11 we got the following exception:
play.api.libs.json.JsValue.$bslash(Ljava/lang/String;)Lplay/api/libs/json/JsValue;
        at com.flyberrycapital.slack.HttpClient.checkResponse(HttpClient.scala:46)
        at com.flyberrycapital.slack.HttpClient.post(HttpClient.scala:91)
        at com.flyberrycapital.slack.Methods.Chat.postMessage(Chat.scala:80)
        at ...

The $bslash method has existed forever in play-json, but in 2.4.x it no longer returns play/api/libs/json/JsValue (now it returns JsLookupResult - see https://www.playframework.com/documentation/2.4.x/Migration24#json-api-changes).  The code here on master looks correct, but the published version (0.3.0) of the jar still expects the old version of the $bslash.  So I think just a recompile and a version bump (0.3.1) would do the trick?
Meantime, we have to download and compile ourselves...

Thanks for letting me know -- bumped the play-json dep to v2.6.6 in the meantime as well. v0.3.1 should be hitting Maven central shortly.

@ksolan Hey, I am getting the same error. Any update on when the v0.3.1 is going to hit Maven?

It should be on maven now! Lemme know if you're still seeing this issue.

Can you update the Readme to show 0.3.1? Thank you for the quick response though. It is working perfect on my end

Just did! Thanks for flagging.
On Thu, Nov 30, 2017 at 10:27 Wesam Haddad<EMAIL_ADDRESS>wrote:

Can you update the Readme to show 0.3.1? Thank you for the quick response
though. It is working perfect on my end
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/flyberry-capital/scala-slack/issues/2#issuecomment-348277424,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACZEHItEwqC3qyElLoxkIfQ3U8AXzdZjks5s7vOBgaJpZM4Pl_Bf
.


Feature request: cabal icon

Cabal is used with Haskell projects to denote package metadata and build information. Configuration files use *.cabal extension.
Here's a logo in SVG: https://www.haskell.org/cabal/images/Cabal.svg.
Would it be possible to integrate a new cabal icon into material-theme?

Done  in next release


When istio sidecar is enabled , the readiness probe is failing and notebook not accessible

when there are not SG , this is working too

replaced by doing more investigation by this https://github.com/awslabs/aws-orbit-workbench/issues/509


clean-conversation-sidebar breaks dropdowns

Description
Go to any PR or issue you have write access to, try changing the labels. Clicking the header or gear icon doesn't do anything. The same happens for the Milestones, Projects and Development sections. The Assignees and Reviewers sections are unaffected.
Apparently, clean-conversation-sidebar removes the dropdown rather than the subsequent element:

How to replicate the issue + URL

https://togithub.com/vuejs/eslint-plugin-vue/pull/2021 (for me)
this issue (for you)

Extension version
<IP_ADDRESS>4
Browser(s) used
Firefox 106.0.1

Ouch, again. Similar issue a while ago.

https://github.com/refined-github/refined-github/pull/6076 might avoid this issue in the future: assert the text content before removing it.


Set ITEMGLGROUP not response correct

Hi,
I use setInventoryGlAccountNo('number account'); to set Inventory GL account to Item when creating ( \Intacct\Functions\InventoryControl\ItemCreate). The item was created successfully but when I query the item it return

all item in ITEMGLGROUP is empty.
How I can get GL accounts attached to the item?

If you login to the UI and view the item, does it show the inventory GL account?  The company may be setup for advanced transaction definitions, which means these GL accounts you set on an item are hidden and configured a different way.


Unable to load the service index for source https://powershell.myget.org/F/powershell-core/api/v3/index.json - Feed does not exist.

With reference to: https://github.com/dotnet/sdk/issues/15276
/usr/lib/dotnet/sdk/3.1.201/NuGet.targets(124,5): error : Unable to load the service index for source https://powershell.myget.org/F/powershell-core/api/v3/index.json. [/usr/src/photon/BUILD/PowerShell-7.0.3/src/powershell-unix/powershell-unix.csproj]
/usr/lib/dotnet/sdk/3.1.201/NuGet.targets(124,5): error : Response status code does not indicate success: 404 (Feed does not exist.). [/usr/src/photon/BUILD/PowerShell-7.0.3/src/powershell-unix/powershell-unix.csproj]
error: Bad exit status from /var/tmp/rpm-tmp.x28ccJ (%build)
While accessing the url: https://powershell.myget.org/F/powershell-core/api/v3/index.json, it throws "Feed does not exist."
Please suggest

Powershell team,
Any suggestions please..
.net team suggested to check with powershell team:
https://github.com/dotnet/sdk/issues/15276#issuecomment-760489422

Powershell team,
Any suggestions please..
.net team suggested to check with powershell team:
https://github.com/dotnet/sdk/issues/15276#issuecomment-760489422

Publishing to myget was removed in #14613. I guess the feed was removed too.
/cc @rjmholt @JamesWTruher Please comment the issue.

Publishing to myget was removed in #14613. I guess the feed was removed too.
/cc @rjmholt @JamesWTruher Please comment the issue.

@satya-rajesh Could please add more info why do need this?

@satya-rajesh Could please add more info why do need this?

@satya-rajesh Could please add more info why do need this?

We were building powershell 7.0.3, till last week it was building. It was failing after that and the root cause is, powershell is having this url "https://powershell.myget.org/F/powershell-core/api/v3/index.json" in it's source which is no longer working - Feed does not exist.

@satya-rajesh Could please add more info why do need this?

We were building powershell 7.0.3, till last week it was building. It was failing after that and the root cause is, powershell is having this url "https://powershell.myget.org/F/powershell-core/api/v3/index.json" in it's source which is no longer working - Feed does not exist.

@satya-rajesh Could please add more info why do need this?

We were building powershell 7.0.3, till last week it was building. It was failing after that and the root cause is, powershell is having this url "https://powershell.myget.org/F/powershell-core/api/v3/index.json" in it's source which is no longer working - Feed does not exist.

Is there any patch we can try to fix this issue ?

@satya-rajesh Could please add more info why do need this?

We were building powershell 7.0.3, till last week it was building. It was failing after that and the root cause is, powershell is having this url "https://powershell.myget.org/F/powershell-core/api/v3/index.json" in it's source which is no longer working - Feed does not exist.

Is there any patch we can try to fix this issue ?

I think you need to build 7.0.4.
It seems it's not finished yet though. Perhaps we need to wait a day.

I think you need to build 7.0.4.
It seems it's not finished yet though. Perhaps we need to wait a day.

I can now build with 7.0.4 . But i saw in nuget.config there's only one source "https://api.nuget.org/v3/index.json" left. Is everything moved under here?

I can now build with 7.0.4 . But i saw in nuget.config there's only one source "https://api.nuget.org/v3/index.json" left. Is everything moved under here?

myget was used only for publishing preview versions. Now the site is not used.

myget was used only for publishing preview versions. Now the site is not used.


fixes

Coverage decreased (-0.1%) to 78.258% when pulling ef4d146e802a767484d247b9305a8d17854639fd on Tr0nYx:master into 52459241c5ad8ea5b51780aef3c3bf809de82e12 on Alpha-Trader:master.


Allow transitive dependencies plugin to process non-existent libs wit…

…hout crashing

LGTM. Will merge after "Basic tests" job completes


Fix cinderScheduler in config samples

Fix the cinderScheduler configuration to ensure an actual replica is created. Even though its default replica count is 1, the service isn't properly initialized unless something is specified in the CR.

/retest

recheck

/retest

recheck


Set url options to host name

contributes to #112

Set default_url_options to the asset host.

In order for this fix to be complete, we must also change RAILS_ENV to staging on the Heroku app.

@beyondtheteal what's the reason for changing the RAILS_ENV? Rather than relying on the RAILS_ENV producing different behavior, I suggest just relying on environment variables. It doesn't look like there are any if Rails.env.staging?s in the code (which is good). Staging is not an environment that comes out of the box with Rails and I think using Heroku removes any real need for it.

What a mess!
I see the logic of @beyondtheteal, RAILS_ENV is set to "production" in the  staging environment and this screams MISTAKE!
@Ross-Hunter, I see the order we would gain by picking one method for setting environment variables.
We need some rules to sort out what we expect RAILS_ENV to do.
I propose:
Setting ENV['RAILS_ENV']='production'  should

set RAILS_ENV to 'production' only in Heroku's settings
turn off  dotenv and render the environment vars in  .env useless
switch the application to the production database
turn off testing
RAKE?

Setting ENV['RAILS_ENV']='staging'

turn off  dotenv and render the environment vars in  .env useless in the staging environment
switch the application to the testing/staging  database
RAKE?

What about RAKE what does RAKE do or not do in staging and production?

I have found with Rails and Heroku that creating an environment called "staging" only results in pain, and it's much better to build the app conforming to 12 Factor. This also complicates review environments and whatnot.production really means deployed or the non dev/test environment.


Gstreamer Decoders

Set rotation from the encoded image on Gstreamer video décoder
Set the rotation in video sink.


RPGMaker 2000 Font Pack Request

You can find it here https://www.deviantart.com/tabmok99/art/RPG-Maker-2000-Font-Pack-900800437
Easy download link in case you don't have a Deviantart account: https://www.mediafire.com/file/cyhjemiqfm26nj9/rpg_maker_2000_font_pack_by_tabmok99_dewba2d.zip/file

I have decided not to add this font due to copyright concerns since it is exclusive to specific software and I just added another bitmap font. However, I have added the ability to add your own fonts easily locally through the latest patch. Hopefully, this should suffice! :)


Design QA - Disabled cashout button doesn't need hover state.

Style is different
Please, do not include hover state for this button as Cashout is disabled.

Great!


Charging Stations > Columns must all be center to avoid wide blank space on large screen

This is not the kind of column to be centered imho.

Gege request.

Gege request.

Je comprends, je la ferme alors hahahaha !


"Not enough spell material to cast null"

I'm currently checking out the mod to see if I should add it to my gameplay (like it so far) and I just managed to unlock the spells button. However, if I simply try to use the Vade Mecum without selecting any kind of word then you'll the error mentioned in the title.
I believe this to be a bug because I'm all too well familiar with "null" :)
Right now my assumption is that I haven't selected any spell, still try to cast one and instead of telling me that I don't have a spell it's referring to my mana instead.
How to reproduce:

Start a new game.
Get the Mecum
Shift right click to change the color

=> On a side note I prefer "sneak (or crouch) right click" because plenty of players could have remapped this ;)

Try to cast something by right clicking

This will generate the error shown in the title.

Yup, known issue. I'll go ahead and leave this open till I decide to fix it.


Option to specify CDATA wrapper for content

Closing in favor of #38. Thanks for getting this started @tmshv!


Adding APIv4 Support and a few other features

This is our working version of the BOT which integrates a few of the outstanding pull requests as well as adds support for APIv4. Many of the changes including the APIv4 support were previously contributed by @seLain back in Sep'17, I just grabbed them from his repository and got them to work together with a few minor tweaks. Below is a high level summary of the changes.

Adding APIv4 Support (source branch) #35
Enabling local settings  #47
Allow posts from multiple teams #46 #45 #39
Added missing default plugins #54
Added ignore 'ignore strings' anywhere in a message #37
A few other minor cosmetic changes

Hi,
I've been trying to use your new version of the bot, but I keep having a team issue
Traceback (most recent call last):
  File "C:/Users/chuiv/PycharmProjects/bot_mattermost/run.py", line 5, in <module>
    Bot().run()
  File "C:\Users\chuiv\PycharmProjects\bot_mattermost\mattermost_bot\bot.py", line 29, in __init__
    settings.SSL_VERIFY)
  File "C:\Users\chuiv\PycharmProjects\bot_mattermost\mattermost_bot\mattermost_v4.py", line 110, in __init__
    self.login(team, email, password)
  File "C:\Users\chuiv\PycharmProjects\bot_mattermost\mattermost_bot\mattermost.py", line 184, in login
    self.user = self.api.login(team, email, password)
  File "C:\Users\chuiv\PycharmProjects\bot_mattermost\mattermost_bot\mattermost_v4.py", line 25, in login
    self.load_initial_data()
  File "C:\Users\chuiv\PycharmProjects\bot_mattermost\mattermost_bot\mattermost_v4.py", line 34, in load_initial_data
    self.default_team_id = self.teams[0]['id']
IndexError: list index out of range

If I print self.teams = self.get('/teams'), I get an empty array []
If I connect to the webclient like a normal person / user, everything works fine

@Sebastien-Meiffren I went ahead and opened an issue for you in my fork, for now it would be easier to resolve this there and push the change/fix to this pull request. Here is the link to the issue.

Sorry to hijack this PR but as a python beginner what's the best way to use your fork meanwhile? I used pip to get the latest version from LPgenerator but I would like to test out these changes at the moment.

I would do it this way without removing installed mattermost_bot (from PyPI) :

create a virtual environment mmpy_bot_test
python -m venv mmpy_bot_test
activate the virtual environment
mmpy_bot_test\Scripts\activate
install attzonko's fork:master
pip install git+https://github.com/attzonko/mattermost_bot.git
then you can test your bot under this virtual environment

MM api docs claim that the v3 api is deprecated as of 2018-01-16.
How far away is this code from being able to be merged?
--timball

@timball Not sure the original author is ever planning to merge this in. Feel free to use my fork of this project. I plan on making a new pypi package shortly.

Oh cool. can you update your docs? i tried to follow the example in the
readme and it blows up.
--timball
On Tue, Feb 27, 2018 at 1:34 PM, Alex Tzonkov<EMAIL_ADDRESS>wrote:

@timball https://github.com/timball Not sure the original author is
ever planning to merge this in. Feel free to use my fork of this project. I
plan on making a new pypi package shortly.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/LPgenerator/mattermost_bot/pull/55#issuecomment-368979464,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AACY8EjTCtDmiih0oJfptZV57oWQQ1nQks5tZEpBgaJpZM4RVLQo
.

--
GPG key available on sks-keyservers.net
pub   rsa2048/D0A8B0F1638B16EF 2018-01-03 Timothy Lu Hu Ball <
<EMAIL_ADDRESS>Primary key fingerprint: 1453 FD65 1D18 A992 621E  E4BE D0A8 B0F1 638B 16EF

Before you could get around without using MATTERMOST_BOT_SETTINGS_MODULE but now you have to? I see that you changed it from os.get to os.environ, any reasons for that?

NVM I see that you updated the readme on how to use it thank you :)

actually i figured what i did wrong. typo put http instead of https and
it gave a non-sensical error. Fixed the typo and i'm off to the races.
thanks!
--timball
On Thu, Mar 1, 2018 at 5:14 PM, Patrick-Jeffrey Pollo Guilbert <
<EMAIL_ADDRESS>wrote:

NVM I see that you updated the readme on how to use it thank you :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/LPgenerator/mattermost_bot/pull/55#issuecomment-369749683,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AACY8J1uBUCKDS9kMv9b_MF5pk1qt_GYks5taHLHgaJpZM4RVLQo
.

--
GPG key available on sks-keyservers.net
pub   rsa2048/D0A8B0F1638B16EF 2018-01-03 Timothy Lu Hu Ball <
<EMAIL_ADDRESS>Primary key fingerprint: 1453 FD65 1D18 A992 621E  E4BE D0A8 B0F1 638B 16EF

@attzonko   I am interested in contributing!  I have a vested interesting in seeing this apiV4 support through and love python too!  :)

@scottleedavis Hey we ended up creating a new repo from this instead of a fork to change the name and be able to release pypi packages. take a look at https://github.com/attzonko/mmpy_bot
Would love to have you contribute!


Followup Pull Request to Fix Scheduling Methods

Summary
Follow up Pull Request to #10214
Ran 'tox -eblack' on the repo
Details and comments

hey @ArushSamadhia it looks like your CI is failing with a linting error. Running tox -eblack should fix it :)


UploadIcon component

When an observation has not been uploaded to the server, we'll need an UploadIcon component in one of three states:

[ ] Up arrow encircled by dots - upload has not started
[ ] Up arrow with circular progress bar that fills in as the upload progresses
[ ] Checkmark for completed upload

The default color for the arrow should be:

[ ] #454545 (darkGray)

The default color for the checkmark should be:

[ ] #74AC00 (inatGreen)

The icon will need to accept at least two props: color and uploadStatus.

may be duplicate of https://github.com/inaturalist/iNaturalistReactNative/issues/400#issue-1559023468 ?

Yup, looks like a duplicate.


Bumped production release number for 1.26-8

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/lgtm


Keyboard Interface

Users are now able to navigate WebRICE only using the keyboard in line with accessibility guidelines. All event listeners are an alternative for a 'click' event. With this, we have no key combination which automatically selects WebRICE. It is unnecessary to be in line with AA accessibility but we may wish to add it for user convenience later.
Edit: all commits are available now.

It looks good. There's just the problem of the many eventlisteners.

Fixed the many event listeners bug I recreated so it should be set to merge

Suggestions have been committed :)


Formatter: Preserve end-of-line comments in imports

We turn dangling end-of-line comments in the parentheses of import-from into own line comments instead of preserving them
black:
from .fields import (  # NOQA
    GeometryField,
)

ours:
from .fields import (
    # NOQA
    GeometryField,
)

Relatedly, this:
from foo import bar, bop, bar, bop, bar, bop, bar, bop, bar, bop, bar, bop, bar, bop, bar, bop # baz

Gets wrapped as:
from foo import (
    bar,
    bop,
    bar,
    bop,
    bar,
    bop,
    bar,
    bop,
    bar,
    bop,
    bar,
    bop,
    bar,
    bop,
    bar,
    bop,
)  # baz

We already solved these problems for the isort module, but it's probably hard to reuse what we built there 🤔

I've been thinking about reusing comment placement logic in the linter, it would allow e.g. better comment handling in edits


[BUG] ./script/run_inference.sh MiniCPM-Llama3-V-2_6 MathVista_MINI all

是否已有关于该错误的issue或讨论？ | Is there an existing issue / discussion for this?

[X] 我已经搜索过已有的issues和讨论 | I have searched the existing issues / discussions

该问题是否在FAQ中有解答？ | Is there an existing answer for this in FAQ?

[X] 我已经搜索过FAQ | I have searched FAQ

当前行为 | Current Behavior
Did not detect the .env xxxxx/MiniCPM-V/eval_mm/vlmevalkit/.env, failed to load.
期望行为 | Expected Behavior
Did not detect the .env xxxxx/MiniCPM-V/eval_mm/vlmevalkit/.env, failed to load.
复现方法 | Steps To Reproduce
No response
运行环境 | Environment
- OS:
- Python:
- Transformers:
- PyTorch:
- CUDA (`python -c 'import torch; print(torch.version.cuda)'`):

备注 | Anything else?
Did not detect the .env xxxxx/MiniCPM-V/eval_mm/vlmevalkit/.env, failed to load.

Hello, Thank you for your attention. This is a system warning, and will not affect the inference

And also you can try using the official vlmevalkit!
https://github.com/open-compass/VLMEvalKit


it8xxx2: espi: fill OOB header at driver level

With this change, app code has not to fill/prepare OOB header.
fixes #43568
Signed-off-by: Dino Li<EMAIL_ADDRESS>

@VenkatKotakonda can you review this PR?


Please add short cut command

hatch run panel serve docs/examples/**/*.py --static-dirs thumbnails=docs/assets/thumbnails --autoreload is a very long copy that takes time to write or copy paste.
Please implement short cut command. Is something like hatch serve possible?

Thanks for adding this! I personally didn't know how to until your PR


CODE: Add footer to homepage

Add the footer from Jessica's visual designs to the OSio homepage. Verify that links works as expected and navigate to the proper social media spots.
VC:

community links are correct
social media links are correct
site matches visual design (verification by Jessica)
footer matches web branding standards (Tiffany)

Links with https://github.com/openshiftio/www.openshift.io/issues/44

Completed with PR https://github.com/openshiftio/www.openshift.io/pull/50


command 'extension.updateMarkdownToc' not found

I see this :point_down: and TOC is not generated.

Command 'Auto Markdown TOC: Insert/Update' resulted in an error (command 'extension.updateMarkdownToc' not found)

Version: 1.44.1
OS: Linux x64 4.9.0-12-amd64

which version are you using, on which platform.
Could you try again with version 3.0.9 preview?

Extension v3.0.9 on vscode 1.46.1 tested successfully. Thanks.


C# Guide: Getting Started with Visual Studio

The getting-started-with-visual-studio topic (http://github.com/docnet/core-docs/blob/master/docs/csharp/getting-started/with-visual-studio.md) index should contain:
o installation information for Visual Studio Community Edition (current version)
o Tour of the Visual C# Templates
o Create and run your first C# program.
o basic debugging with Visual Studio
At this time, the "current version" should be the public preview 4, as the next major release is Visual Studio 15.

How does https://github.com/dotnet/docs/pull/1679 fit into the picture? ... or has the direction changed? If so, should that PR be closed?

@GuardRex I don't think PR #1679 should be closed. There's a lot of good work there that improves the content we have. Maybe we move this topic into April, and start with the other sub-tasks in #942 first. Then, this can get merged, and it would be easier to move the parts focused on core to the getting started directory under core.
@mairaw what's your opinion?

We all see that there's a major challenge here: .NET Core, tooling, and language are somewhat strongly linked at a high level (i.e., the level of introductory docs). It's difficult to concentrate on one without muddying it up with the other two.
The sub-tasks look like bits of the Core tutorials, except for the difference that they'll have a better example than Hello World!, which is what we have in the VS for macOS one ... PLUS ... with the debugging bits, such as from the bottom of the 2nd VS for macOS tutorial. I take it that your intention was to dup those bits somewhat ... I mean if one assumes the reader hasn't seen the tooling, then most of what's over there in those tutorials will end up over here just re-factored/combined differently.
WRT #1679: If that content is headed over to Core tutorials, then I'd prefer to just close the PR and move/merge it there directly in a new PR, primarily because there's refactoring to be done + there was a lot of file name/TOC churn on #1679. I think it will be smoother that way.

There's still a major difference, though, between a C# tutorial that uses .NET Core and a .NET Core tutorial that uses C#. Assuming that the languages were supported, each of the existing C# tutorials, for example, could be converted to a VB or even a C++ tutorial without actually changing any text. (There may be some incidental text changes, but that's about all.) So the focus here is really, given knowledge of a language, how to you create a simple application in .NET Core.
What we also need is a tutorial that covers some basic language concepts (variables, variable scope, properties, methods, control structures, etc.) but just uses a simple .NET Core app as its backdrop. The focus here is on learning about C#, not learning about .NET Core.

What we also need is a tutorial that covers some basic language concepts (variables, variable scope, properties, methods, control structures, etc.) but just uses a simple .NET Core app as its backdrop.

... which is what I think of when I think of a C# (or 'name your language') "getting started" doc. I was wondering why tooling would appear in the C# guide other than CLI commands and screenshots of console apps. I presume this has all been worked out by the team, so I just need to know if I should follow the sub-tasks as written. If so, I'm ready to get crank'in on them.

If #1679 is going in, can #1686 go in as well?

I don't wanna lose the changes you made for those PRs but I haven't had time to review them yet. 😢
For example. for the class library topic, do we want to show how to create .NET Core libraries or .NET Standard libraries and where would the topic live if it was the second choice?
The duplication was not a decision made, it just happened. That's why when I think of that macOS VS Code tutorial, I mostly see it as a CLI topic not a VS Code one and it's not specific to Mac.

Is this expanding into a project? It feels like this is expanding in scope.
In the fullness of time, we want great "getting started" content around the tools, the libraries and platforms, and the programming languages. The sample will be simple, and could be largely shared among the different topics.
What's different is the main focus of the text: what the reader will learn from reading and following along. I'd also expect that we would liberally link between the different topics.
With the two PRs in progress, were all agreed that we don't want to lose any of that work. Some of those should get merged reasonably soon, as it relates to the VS 2017 release.

We just chatted briefly about it. Yes, let's please get those two prior PR's merged first (or decide to close them and refactor the content for Core getting started/tutorials). They may not mostly affect this work, but they're in that section of the docs with TOC churn. I'd like to see what things look like when the dust settles wherever they land. That can't happen until next week at the soonest.
For 942 and sub-tasks, I have questions about the organization and content. I'm just about out of time to get anything done this week, but I'll definitely read everything carefully this weekend and come back with focused questions on the bits that I don't understand. I'll put those on the parent 942 issue ... prob Monday morning.

Closing this.
It doesn't fit the new organization of the C# guide, the two PRs that are part of the discussion have been merged.


ArmoredOutputStream: Add method to clear out all headers

This PR adds a method to remove all headers from the ArmoredOutputStream.
This is useful to prevent fingerprinting.

I've added this - one small change method is no called "clearHeaders()". Thanks.


Can't load model when I train transformer after training pvqvae

I use pvqvae_imagenet.yaml and transformer_imagenet.yaml to train on my own dataset. Training pvqvae is OK, but when I train transformer, I meet a model loading problem:
RuntimeError: Error(s) in loading state_dict for MaskedImageInpaintingTransformer:
Missing key(s) in state_dict: "pos_emb", "content_codec.encoder.pre_layers.0.weight", "content_codec.encoder.pre_layers.0.bias", "content_codec.encoder.res_layers.0.layers.1.weight", "content_codec.encoder.res_layers.0.layers.1.bias", ......
Unexpected key(s) in state_dict: "encoder.pre_layers.0.weight", "encoder.pre_layers.0.bias", "encoder.res_layers.0.layers.1.weight", "encoder.res_layers.0.layers.1.bias", "encoder.res_layers.0.layers.3.weight", "encoder.res_layers.0.layers.3.bias", "encoder.res_layers.1.layers.1.weight", "encoder.res_layers.1.layers.1.bias", "encoder.res_layers.1.layers.3.weight", .....
How to solve it?

Hi @zhougeAI ,
You should provid the path of pvqvae model weights in the configure file of transformer, then it will be automatically loaded. You can refer to this line for example:
https://github.com/liuqk3/PUT/blob/7de8ce0ada1e63e8c5300857a463d68380e142f0/configs/put_cvpr2022/ffhq/transformer_ffhq.yaml#L23


Enable PCAP option

Enable PCAP option.
You can retrieve data from PCAP file using pcl::HDLGrabber/pcl::VLPGrabber.
Please merge PR https://github.com/Microsoft/vcpkg/pull/1856 for fix WinPCAP port.

@UnaNancyOwen,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by Microsoft. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

Thanks for the PR (and sorry for the delay)!


feat(allow-whitelist-keys): allow whitelist keys in metadata

Filtering resource metadata by allows keys, Only branches that contain keys from keys_to_allow will be sent to epsagon.

:tada: This PR is included in version 1.42.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Add nanprod to BatchedArray

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (82de360) 100.00% compared to head (075a550) 100.00%.

:exclamation: Current head 075a550 differs from pull request most recent head 18df25a. Consider uploading reports for the commit 18df25a to get more accurate results

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #621   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           30        30
  Lines         2524      2535   +11
  Branches       326       327    +1
=========================================
+ Hits          2524      2535   +11

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


setup-workspace.sh bug on prefix option

setup-workspace has a bug where if you do not specify the prefix variable it will prompt you for it. The prefix is listed as optional and not required so this shouldn't happen.

old issue


ci: Fix cli auto publishing

This is https://github.com/tauri-apps/tauri/pull/10222 but for dev branch

Yes we can but I didn't want to risk it tbh (in case we rename it)

that's what i thought too, let's hope github doesn't create a new id somehow

Oh man, that'd be just our luck


Release 0.2.3 is not available on the Maven central repository

If I'm not mistaken, the latest release (0.2.3) is missing in the corresponding Maven repository. (The latest release available at Maven central repository is 0.2.2.)
(Furthermore, I'm not sure if the release tag 0.2.3 was pushed to the correct commit since the commit switched the version to 0.2.4-SNAPSHOT.)

As far as I can see, the release was added in the meantime: https://mvnrepository.com/artifact/com.edgedb/driver/0.2.3


Speech: Incomplete protobuf

When using google-cloud-speech in http mode, the response to a long running recognize contains totalBilledTime. This field is however not present in the protobuf causing the error below.
Traceback (most recent call last):
  File "./manage.py", line 10, in <module>
    execute_from_command_line(sys.argv)
  File "/Users/anil/Dev/repos/dictanote/lib/python2.7/site-packages/django/core/management/__init__.py", line 363, in execute_from_command_line
    utility.execute()
  File "/Users/anil/Dev/repos/dictanote/lib/python2.7/site-packages/django/core/management/__init__.py", line 355, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File "/Users/anil/Dev/repos/dictanote/lib/python2.7/site-packages/django/core/management/base.py", line 283, in run_from_argv
    self.execute(*args, **cmd_options)
  File "/Users/anil/Dev/repos/dictanote/lib/python2.7/site-packages/django/core/management/base.py", line 330, in execute
    output = self.handle(*args, **options)
  File "/Users/anil/Dev/repos/dictanote/dictanote/management/commands/pull_results.py", line 29, in handle
    if op.poll():
  File "/Users/anil/Dev/repos/dictanote/lib/python2.7/site-packages/google/cloud/operation.py", line 267, in poll
    operation_pb = self._get_operation()
  File "/Users/anil/Dev/repos/dictanote/lib/python2.7/site-packages/google/cloud/operation.py", line 235, in _get_operation
    return self._get_operation_http()
  File "/Users/anil/Dev/repos/dictanote/lib/python2.7/site-packages/google/cloud/operation.py", line 224, in _get_operation_http
    api_response, operations_pb2.Operation())
  File "/Users/anil/Dev/repos/dictanote/lib/python2.7/site-packages/google/protobuf/json_format.py", line 402, in ParseDict
    parser.ConvertMessage(js_dict, message)
  File "/Users/anil/Dev/repos/dictanote/lib/python2.7/site-packages/google/protobuf/json_format.py", line 433, in ConvertMessage
    self._ConvertFieldValuePair(value, message)
  File "/Users/anil/Dev/repos/dictanote/lib/python2.7/site-packages/google/protobuf/json_format.py", line 535, in _ConvertFieldValuePair
    raise ParseError(str(e))
google.protobuf.json_format.ParseError: Message type "google.cloud.speech.v1.LongRunningRecognizeResponse" has no field named "totalBilledTime".
 Available Fields(except extensions): [<google.protobuf.descriptor.FieldDescriptor object at 0x10f1bac10>]

@anilshanbhag Thanks for the report!  Can you tell us what versions of the google.cloud-related packages you have installed?  E.g.:
$ pip freeze | grep google

Also, what do you mean by "in HTTP mode"? I do not think the Speech module supports anything other than gRPC anymore.

I am using google-cloud-speech==0.30.0.
Cloud speech does have a HTTP endpoint. To use in client, I did:
from google.cloud import speech
speech_client = speech.Client(_use_grpc=False)

The reason I use HTTP client is I have a bunch of long running recognize requests. I want to be able to check later (say after an hour) and get the answer. To do this, I can get the request id after making the request to cloud-speech. Then at the later point, I can use the id to fetch the results.
To make it work, I ended up doing two hacks in _get_operation_http method of google/cloud/operation.py:

Delete the totalBillableTime attribute
Change client.speech_api._connection to client.speech_api._connection

Final code:
    def _get_operation_http(self):
        """Checks the status of the current operation.

        Uses HTTP request to check.

        :rtype: :class:`~google.longrunning.operations_pb2.Operation`
        :returns: The latest status of the current operation.
        """
        path = 'operations/%s' % (self.name,)
        api_response = self.client.speech_api._connection.api_request(
            method='GET', path=path)
        if 'response' in api_response:
            if 'totalBilledTime' in api_response['response']:
                del api_response['response']['totalBilledTime']
        return json_format.ParseDict(
            api_response, operations_pb2.Operation())

@anilshanbhag The current release (0.32.0) no longer supports the HTTP endpoint.
Please reopen if you can reproduce against that version.


Fix ALTREP test failures

Problem
This pull request aims to fix the integration test failure which was found during #600. The error message says

thread '<unnamed>' panicked at 'misaligned pointer dereference: address must be a multiple of 0x8 but is 0x310073656e696c', D:\a\extendr\extendr\extendr-api\src\wrapper\altrep.rs:544:13

This indicates the extendr extracts the pointer address from what should not be treated as a pointer. The line the message indicates is here:
https://github.com/extendr/extendr/blob/581329f49e3742f3dc4f7b3e5c5e0b87ced0e40a/extendr-api/src/wrapper/altrep.rs#L543-L544
Cause and fix
ALTREP is a pairlist of two SEXP objects.
SEXP R_new_altrep(R_altrep_class_t aclass, SEXP data1, SEXP data2)
{
    SEXP sclass = R_SEXP(aclass);
    int type = ALTREP_CLASS_BASE_TYPE(sclass);
    SEXP ans = CONS(data1, data2);
    SET_TYPEOF(ans, type);
    SET_ALTREP_CLASS(ans, sclass);
    return ans;
}

https://github.com/wch/r-source/blob/08a6e5c3f1c10ba269a02a391d33454404119ed2/src/main/altrep.c#L1150-L1158
In extendr's case, data1 is an external pointer (EXTPTRSXP), and data2 is NULL.
https://github.com/extendr/extendr/blob/581329f49e3742f3dc4f7b3e5c5e0b87ced0e40a/extendr-api/src/wrapper/altrep.rs#L508-L515
EXTPTRSXP has a destructor, and extendr's implementation uses  Altrep::get_state_mut() to acquire the pointer address. But, since it's applied to the external pointer, not the ALTREP itself, it should use R_ExternalPtrAddr() directly. This is the main thing of this pull request.
Tweak related to ALTLIST
One tricky thing is that list ALTREP, or ALTLIST, is not supported on R < 4.3. So, #600 needed to use a feature gate and enable it depending on the version in build.rs. This needs the same tweak. More precisely,

add libR-sys as the dependency because the build.rs needs the envvars of R versions (DEP_R_R_VERSION_...)
skip alt-list integration tests on R < 4.3.
skip macro snapshot tests as the implementation is actually diverged on R < 4.3

Idea: Maybe extendr-api should emit a compile-time cfg to dependent crates on whether or not ALTLIST is available. This is done in extendr-api/build.rs by using  cargo:KEY=VALUE, and emitting use_r_altlist, which then for downstream users DEP_EXTENDR_USE_R_ALTLIST. I am not sure it is possible to rename this.
Of course you know this already, as you taught us this already..

Oh, thanks. Since it was long ago I investigated how to propagate the settings or versions, I didn't remember how to do it (or even it's possible). It really helps!

Hmm, sorry, I couldn't figure out how to use DEP_ envvars in the case of non-sys crates. I think I'm hitting the same limit as this, but I'm not sure. I'm giving up this time...
https://github.com/extendr/libR-sys/pull/159#discussion_r1167616378

At this point, it is confirmed that

all compilation succeed, and
all integration tests fail

as expected. Next, I'm pushing the fix.

I updated the description and marked as ready for review.

Can you merge master? I suspect that since you touched {extendrtests}, the snapshot test may fail after merge.

Yeah, it failed and I addressed.

Thanks, merging.


In detailed list Lumina-FM resizes columns when changing dirs

As the title says, as you change directories in detailed list mode the width of the columns changes based on the shortest file name.  If a user widens any column to a preferred width it will rest upon changing directory.
I don't recall this behavior in the past, but I may have just not noticed it before.

Fixed!
https://github.com/trueos/lumina/commit/df0a6abc4622e4527fb8ef6f618485bb4fdc4cb1


Create Placeholder Interface

Create an interface which accepts the data structure detailed within the requirements along with any other information (canvas context / DOM element for example) and produces the canned radar chart example produced in #3.
This should setup the rough structure of the module and a test example we can use going forward.

The interface takes in the canvas div, a title for the graph and the sessions data. Closing this since the structure has now been added as well as a demo folder.


20170329-Hacky-Hour

Join us for a Hacky Hour on 3/29. We're looking for good places to hold this event. Click the link below to suggest a location
https://goo.gl/forms/Yhru3Zi0QZOaQpiv2

We'll be meeting at the BU Pub! Hope to see you there

Will try to swing by this if I can

great!

5 ppl for counting


Fixed width navigation making it difficult to read

Hi,
Maybe it is the wrong place to report, but I couldn't find the right place. Also,  this is the first issue that I created as a developer.
The API documentation has a fixed width side navigation. Considering the long class names, it can be a pain to differentiate submodules. I searched a list view of the API modules, but I couldn't find it. Maybe you can consider adding a page (not a sidebar view) that lists API modules or a sidebar with a proportional width.  Thanks.

@canburaks transferred this to the appropriate repository (sorry for the slow reply).
Is this a duplicate of #58?


Move to edge-prefix for auth/router

Signed-off-by: Alex Ellis<EMAIL_ADDRESS>Description
This change syncs with the latest changes for the router and auth
services which now have a prefix of edge-.
How Has This Been Tested?

TBD once upstream changes are merged in openfaas-cloud repo
Checklist:
I have:

[x] checked my changes follow the style of the existing code / OpenFaaS repos
[ ] updated the documentation and/or roadmap in README.md
[x] read the CONTRIBUTION guide
[x] signed-off my commits with git commit -s
[ ] added unit tests

I used the binary of this branch to deploy to a GKE cluster and it worked ok. I recently did a push and build went ok: https://github.com/matipan/faas-demo/runs/123482699
Authentication is working ok too

Thank you. I will cut a binary now by doing a release


[FEATURE] Ability to monitor/view temperature/thermals

When I first setup my harvester cluster, I wanted to ensure that the cooling system I installed was adequate. I tried looking in the web-ui for some temperature metrics but it seems that nothing is available.
It would be nice to have this integrated with prometheus/grafana so that it could be measured and monitored overtime

Seems sensors command was available in version 1.3 for basic monitoring finally.
But It will be great if the info can show in the embedded UI


Backend unable to extract API resources when updating an API

Description:
The publisher UI communicates the API resource information to the backend via a Swagger object. The backend parses this Swagger object to obtain the API resources that will be persisted. It is suspected that intermittently, there is a scenario where the Swagger object is not in the expected format, which results in the backend being unable to extract the API resources but still updates the API, which in turn leads to the data corruption.
Affected Product Version:
2.6.0

This issue can be closed.


Greater Than and Less Than

How do you correctly express relationship criteria of:
((Type='Customer Meeting' OR Type='Prospect Meeting') AND (ActivityDate>=2015-01-01) AND (ActivityDate<=2015-05-31))
I recently added the "AND (ActivityDate<=2015-05-31)" and it isn't calculating.  No error, it just isn't returning a value.  I'm trying to get Activity Date for just the 1st quarter 2015.

Take a look at the Salesforce docs, maybe what you need is some of the QUARTER date literals. If your still struggling, please share your question on the Chatter Community group linked on the README file. Thanks! :+1:


Solution Package for Attacker Tools Threat Protection Essentials

Required items, please complete
Change(s):

See guidance below

Reason for Change(s):

See guidance below

Version Updated:

Required only for Detections/Analytic Rule templates
See guidance below

Testing Completed:

See guidance below

Checked that the validations are passing and have addressed any issues that are present:

See guidance below

Guidance <- remove section before submitting

Before submitting this PR please ensure that you have read the following sections and filled out the changes, reason for change and testing complete sections:
Thank you for your contribution to the Microsoft Sentinel Github repo.

Details of the code changes in your submitted PR.  Providing descriptions for pull requests ensures there is context to changes being made and greatly enhances the code review process.  Providing associated Issues that this resolves also easily connects the reason.

Change(s):

Updated syntax for XYZ.yaml

Reason for Change(s):

New schema used for XYZ.yaml
Resolves ISSUE #1234

Version updated:

Yes
Detections/Analytic Rule templates are required to have the version updated

The code should have been tested in a Microsoft Sentinel environment that does not have any custom parsers, functions or tables, so that you validate no incorrect syntax and execution functions properly.  If your submission requires a custom parser or function, it must be submitted with the PR.

Testing Completed:

Yes/No/Need Help

Note: If updating a detection, you must update the version field.

Before the submission has been made, please look at running the KQL and Yaml Validation Checks locally.
https://github.com/Azure/Azure-Sentinel#run-kql-validation-locally

Checked that the validations are passing and have addressed any issues that are present:

Yes/No/Need Help

Note: Let us know if you have tried fixing the validation error and need help.

References:

Guidance for Detection checks
General contribution guidance
PR validation troubleshooting

Please add status: Available in Analytic Rule files
Please also add skip validations
Please add test document

Please remove en-us in below files

Point 4 in below image is not aligned with other bullet points

I see there are 2 guid shared with other solution see below image. Please verify if we need to make change in guid or we are ok with it.

Please remove en-us/ from below data file

@v-sabiraj There are merge conflicts

let us know once all changes are done

@v-amolpatil , I've done the changes, the id changes, are not done as I discussed with with @anki-narravula, it is used as gallery template as well, thanks.

Approved and merged as Amol has approved the PR


Speech recognition can't use multi GPU to train

When I train "speech recognition" on multi GPU,
I got this error codes:

| model vggtransformer_2, criterion CrossEntropyWithAccCriterion
| num. model params: 315190057 (num. trained: 315190057)
| training on 2 GPUs
| max tokens per GPU = 5000 and max sentences per GPU = None
| no existing checkpoint found ./checkpoints/checkpoint_last.pt
| loading train data for epoch 0
Traceback (most recent call last):
File "/opt/conda/envs/pytorch-py3.6/bin/fairseq-train", line 11, in
sys.exit(cli_main())
File "/opt/conda/envs/pytorch-py3.6/lib/python3.6/site-packages/fairseq_cli/train.py", line 317, in cli_main
nprocs=args.distributed_world_size,
File "/opt/conda/envs/pytorch-py3.6/lib/python3.6/site-packages/torch/multiprocessing/spawn.py", line 171, in spawn
while not spawn_context.join():
File "/opt/conda/envs/pytorch-py3.6/lib/python3.6/site-packages/torch/multiprocessing/spawn.py", line 118, in join
raise Exception(msg)
Exception:
-- Process 1 terminated with the following error:
Traceback (most recent call last):
File "/opt/conda/envs/pytorch-py3.6/lib/python3.6/site-packages/torch/multiprocessing/spawn.py", line 19, in _wrap
File "/opt/conda/envs/pytorch-py3.6/lib/python3.6/site-packages/fairseq_cli/train.py", line 284, in distributed_main
main(args, init_distributed=True)
File "/opt/conda/envs/pytorch-py3.6/lib/python3.6/site-packages/fairseq_cli/train.py", line 80, in main
train(args, trainer, task, epoch_itr)
File "/opt/conda/envs/pytorch-py3.6/lib/python3.6/site-packages/fairseq_cli/train.py", line 120, in train
for i, samples in enumerate(progress, start=epoch_itr.iterations_in_epoch):
File "/opt/conda/envs/pytorch-py3.6/lib/python3.6/site-packages/tqdm/_tqdm.py", line 955, in iter
File "/opt/conda/envs/pytorch-py3.6/lib/python3.6/site-packages/fairseq/data/iterators.py", line 286, in next
File "/opt/conda/envs/pytorch-py3.6/lib/python3.6/site-packages/fairseq/data/iterators.py", line 40, in next
File "/opt/conda/envs/pytorch-py3.6/lib/python3.6/site-packages/fairseq/data/iterators.py", line 35, in iter
File "/opt/conda/envs/pytorch-py3.6/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 278, in iter
File "/opt/conda/envs/pytorch-py3.6/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 682, in init
File "/opt/conda/envs/pytorch-py3.6/lib/python3.6/multiprocessing/process.py", line 105, in start
File "/opt/conda/envs/pytorch-py3.6/lib/python3.6/multiprocessing/context.py", line 223, in _Popen
File "/opt/conda/envs/pytorch-py3.6/lib/python3.6/multiprocessing/context.py", line 284, in _Popen
File "/opt/conda/envs/pytorch-py3.6/lib/python3.6/multiprocessing/popen_spawn_posix.py", line 32, in init
File "/opt/conda/envs/pytorch-py3.6/lib/python3.6/multiprocessing/popen_fork.py", line 26, in init
File "/opt/conda/envs/pytorch-py3.6/lib/python3.6/multiprocessing/popen_spawn_posix.py", line 47, in _launch
File "/opt/conda/envs/pytorch-py3.6/lib/python3.6/multiprocessing/reduction.py", line 60, in dump
File "/opt/conda/envs/pytorch-py3.6/lib/python3.6/site-packages/torch/multiprocessing/reductions.py", line 323, in reduce_storage
RuntimeError: unable to open shared memory object </torch_1325_1707593516> in read-write mode

I think It may be the dataloader problem, when I set the args "num-workers" to 0, this error will not appear!
But it will be slowly!
Thank you !

Can you include the command you are using to launch the job?

This is my script(./run.sh):

This im my result:

root@todebug-1924478367-rcgnb:/workspace/lustre/fairseq# ./run.sh | NOTE: you may get better performance with: --ddp-backend=no_c10d | distributed init (rank 0): tcp://localhost:19270 | distributed init (rank 1): tcp://localhost:19270 | initialized host todebug-1924478367-rcgnb as rank 1 | initialized host todebug-1924478367-rcgnb as rank 0 Namespace(adadelta_eps=1e-08, adadelta_rho=0.95, anneal_eps=False, arch='vggtransformer_2', best_checkpoint_metric='loss',bpe=None, bucket_cap_mb=25, clip_norm=10.0, conv_dec_config='((256, 3, True),) * 4', cpu=False, criterion='cross_entropy_acc', curriculum=0, data='/workspace/lustre/tmp/librispeech_final', dataset_impl=None, ddp_backend='c10d', device_id=0, disable_validation=False, distributed_backend='nccl', distributed_init_method='tcp://localhost:19270', distributed_no_spawn=False, distributed_port=-1, distributed_rank=0, distributed_world_size=2, enc_output_dim=1024, fast_stat_sync=False, find_unused_parameters=False, fix_batches_to_gpus=False, force_anneal=None, fp16=False, fp16_init_scale=128, fp16_scale_tolerance=0.0, fp16_scale_window=None, input_feat_per_channel=80, keep_interval_updates=-1, keep_last_epochs=-1, log_format='json', log_interval=1, lr=[1.0], lr_scheduler='fixed', lr_shrink=0.1, max_epoch=80, max_sentences=None, max_sentences_valid=None, max_tokens=5000, max_tokens_valid=5000, max_update=0, maximize_best_checkpoint_metric=False, memory_efficient_fp16=False, min_loss_scale=0.0001, min_lr=-1, no_epoch_checkpoints=False, no_last_checkpoints=False, no_progress_bar=False, no_save=False, no_save_optimizer_state=False, num_workers=1, optimizer='adadelta', optimizer_overrides='{}', required_batch_size_multiple=8, reset_dataloader=False, reset_lr_scheduler=False, reset_meters=False, reset_optimizer=False, restore_file='checkpoint_last.pt', save_dir='./examples/speech_recognition/checkpoints', save_interval=1, save_interval_updates=0, seed=1, sentence_avg=False, skip_invalid_size_inputs_valid_test=False, task='speech_recognition', tbmf_wrapper=False, tensorboard_logdir='', tgt_embed_dim=512, threshold_loss_scale=None, tokenizer=None, train_subset='train', transformer_dec_config='((1024, 16, 4096, True, 0.15, 0.15, 0.15),) * 6', transformer_enc_config='((1024, 16, 4096, True, 0.15, 0.15, 0.15),) * 16', update_freq=[8], use_bmuf=False, user_dir='./examples/speech_recognition/', valid_subset='valid', validate_interval=1, vggblock_enc_config='[(64, 3, 2, 2, True), (128, 3, 2, 2, True)]', warmup_updates=0, weight_decay=0.0) | dictionary: 5001 types VGGTransformerModel(   (encoder): VGGTransformerEncoder(     (conv_layers): ModuleList(       (0): VGGBlock(         (layers): ModuleList(           (0): Conv2d(1, 64, kernel_size=(3, 3), stride=(1, 1), padding=(1, 1))           (1): LayerNorm((80,), eps=1e-05, elementwise_affine=True)           (2): ReLU()           (3): Conv2d(64, 64, kernel_size=(3, 3), stride=(1, 1), padding=(1, 1))           (4): LayerNorm((80,), eps=1e-05, elementwise_affine=True)           (5): ReLU()           (6): MaxPool2d(kernel_size=(2, 2), stride=(2, 2), padding=0, dilation=1, ceil_mode=True)         )       )       (1): VGGBlock(         (layers): ModuleList(           (0): Conv2d(64, 128, kernel_size=(3, 3), stride=(1, 1), padding=(1, 1))           (1): LayerNorm((40,), eps=1e-05, elementwise_affine=True)           (2): ReLU()           (3): Conv2d(128, 128, kernel_size=(3, 3), stride=(1, 1), padding=(1, 1))          (4): LayerNorm((40,), eps=1e-05, elementwise_affine=True)           (5): ReLU()           (6): MaxPool2d(kernel_size=(2, 2), stride=(2, 2), padding=0, dilation=1, ceil_mode=True)         )       )     ...     ...     )     (fc_out): Linear(in_features=1024, out_features=5001, bias=True)   ) ) | model vggtransformer_2, criterion CrossEntropyWithAccCriterion | num. model params: 315190057 (num. trained: 315190057) | training on 2 GPUs | max tokens per GPU = 5000 and max sentences per GPU = None | no existing checkpoint found ./examples/speech_recognition/checkpoints/checkpoint_last.pt | loading train data for epoch 0 | NOTICE: your device may support faster training with --fp16 Traceback (most recent call last):   File "train.py", line 352, in <module>     cli_main()   File "train.py", line 344, in cli_main     nprocs=args.distributed_world_size,   File "/opt/conda/envs/pytorch-py3.6/lib/python3.6/site-packages/torch/multiprocessing/spawn.py", line 171, in spawn     while not spawn_context.join():   File "/opt/conda/envs/pytorch-py3.6/lib/python3.6/site-packages/torch/multiprocessing/spawn.py", line 118, in join     raise Exception(msg) Exception: -- Process 1 terminated with the following error: Traceback (most recent call last):   File "/opt/conda/envs/pytorch-py3.6/lib/python3.6/site-packages/torch/multiprocessing/spawn.py", line 19, in _wrap   File "/workspace/lustre/fairseq/train.py", line 311, in distributed_main     main(args, init_distributed=True)   File "/workspace/lustre/fairseq/train.py", line 107, in main     train(args, trainer, task, epoch_itr)   File "/workspace/lustre/fairseq/train.py", line 147, in train     for i, samples in enumerate(progress, start=epoch_itr.iterations_in_epoch):   File "/workspace/lustre/fairseq/fairseq/progress_bar.py", line 125, in __iter__   File "/workspace/lustre/fairseq/fairseq/data/iterators.py", line 290, in __next__   File "/workspace/lustre/fairseq/fairseq/data/iterators.py", line 41, in __next__   File "/workspace/lustre/fairseq/fairseq/data/iterators.py", line 36, in __iter__   File "/opt/conda/envs/pytorch-py3.6/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 278, in __iter__   File "/opt/conda/envs/pytorch-py3.6/lib/python3.6/site-packages/torch/utils/data/dataloader.py", line 682, in __init__   File "/opt/conda/envs/pytorch-py3.6/lib/python3.6/multiprocessing/process.py", line 105, in start   File "/opt/conda/envs/pytorch-py3.6/lib/python3.6/multiprocessing/context.py", line 223, in _Popen   File "/opt/conda/envs/pytorch-py3.6/lib/python3.6/multiprocessing/context.py", line 284, in _Popen   File "/opt/conda/envs/pytorch-py3.6/lib/python3.6/multiprocessing/popen_spawn_posix.py", line 32, in __init__   File "/opt/conda/envs/pytorch-py3.6/lib/python3.6/multiprocessing/popen_fork.py", line 26, in __init__   File "/opt/conda/envs/pytorch-py3.6/lib/python3.6/multiprocessing/popen_spawn_posix.py", line 47, in _launch   File "/opt/conda/envs/pytorch-py3.6/lib/python3.6/multiprocessing/reduction.py", line 60, in dump   File "/opt/conda/envs/pytorch-py3.6/lib/python3.6/site-packages/torch/multiprocessing/reductions.py", line 323, in reduce_storage RuntimeError: unable to open shared memory object </torch_10154_2428146948> in read-write mode root@todebug-1924478367-rcgnb:/workspace/lustre/fairseq#

Can you include the command you are using to launch the job?

When I add these code on top of "fairseq/train.py" file to close the shared memory, this problem can be solved.
but I think it may cause loss of performance.

Other threads ([1][2][3]) seem to suggest that this is an out of memory issue.  Try setting --num-workers 0.  I'm going to close this as it doesn't seem to be an issue with fairseq.

I'm getting the same issue. @lematt1991 Setting workers to 0 will work, but training will be unreasonably slow and GPU utility is low.

I modify the "train.py" code:
add these lines of code to the top of "train.py"
to debug
import sys
from torch.utils.data import dataloader
from torch.multiprocessing import reductions
from multiprocessing.reduction import ForkingPickler
default_collate_func = dataloader.default_collate
def default_collate_override(batch, *args, **kwargs):
dataloader._use_shared_memory = False
return default_collate_func(batch, *args, **kwargs)
setattr(dataloader, 'default_collate', default_collate_override)
for t in torch._storage_classes:
if sys.version_info[0] == 2:
if t in ForkingPickler.dispatch:
del ForkingPickler.dispatch[t]
else:
if t in ForkingPickler._extra_reducers:
del ForkingPickler._extra_reducers[t]
Henry Mao<EMAIL_ADDRESS>於 2019年11月2日 週六 上午8:55寫道：

I'm getting the same issue. @lematt1991 https://github.com/lematt1991
Setting workers to 0 will work, but training will be unreasonably slow and
GPU utility is low.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/pytorch/fairseq/issues/1171?email_source=notifications&email_token=AEO52MK7K2MUF2YPXY2GYHDQRTFWNA5CNFSM4I2ACDR2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEC4P2SA#issuecomment-548994376,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AEO52MJBXJVFWD62TGSXOTDQRTFWNANCNFSM4I2ACDRQ
.

Try this fix, it works for me.
#https://github.com/pytorch/fairseq/pull/1453/commits/ad038bc4e74b989b74249ba4a675e931be5a9a19

FYI, we have a new implementation now for speech-to-text tasks (speech recognition, speech translation, etc.): https://github.com/pytorch/fairseq/tree/master/examples/speech_to_text. Dataloading is optimized there and does not have this issue. And we will merge this ASR example (and VGGTransformer) into that one soon.

Hi @kahne, I am not in the speed to text field, but I am curious about how did you optimize the data loading that avoids the above issue? Can you share some points on that? Thanks!

@hiyyg It reduced the usage of shared memory and allows faster online feature extraction with pyKaldi as well as offline feature extraction.


SwiftUI example problems with running on device

It's work on a simulator, but doesn't work on my device.

Resolved.
The problem happen because initRecognizer is calling on main thread.
Please, fix it like this:
    init() {
        DispatchQueue.global().async {
            self.initRecognizer()
            self.initRecorder()
        }

    }

Also need to add Privacy - Microphone Usage Description in info.plist


Wrong version bumping while digit count increasing.

From action point of view, after version v0.10.0 we should use v0.9.2 tag for next version:
...
 /usr/bin/git pull --unshallow --tags --ff-only
From https://github.com/IATkachenko/HA-YandexWeather
 * [new tag]         v0.1.0     -> v0.1.0
 * [new tag]         v0.10.0    -> v0.10.0
 * [new tag]         v0.2.0     -> v0.2.0
 * [new tag]         v0.3.0     -> v0.3.0
 * [new tag]         v0.4.0     -> v0.4.0
 * [new tag]         v0.4.1     -> v0.4.1
 * [new tag]         v0.4.2     -> v0.4.2
 * [new tag]         v0.4.3     -> v0.4.3
 * [new tag]         v0.4.4     -> v0.4.4
 * [new tag]         v0.5.0     -> v0.5.0
 * [new tag]         v0.5.1     -> v0.5.1
 * [new tag]         v0.6.0     -> v0.6.0
 * [new tag]         v0.7.0     -> v0.7.0
 * [new tag]         v0.8.0     -> v0.8.0
 * [new tag]         v0.8.1     -> v0.8.1
 * [new tag]         v0.9.0     -> v0.9.0
 * [new tag]         v0.9.1     -> v0.9.1
Already up to date.
Recommended release type: patch
Because: There are 0 BREAKING CHANGES and 0 features
Using GIT to determine the new version
Changelog generated
## [0.9.2](https://github.com/IATkachenko/HA-YandexWeather/compare/v0.9.1...v0.9.2) (2022-07-02)
...

So, I have to remove all previous releases to release v0.10.1
Workflow config is:
jobs:
  changes:
    name: "Create changelog and tag"
    runs-on: ubuntu-latest
    outputs:
      skipped: ${{ steps.changelog.outputs.skipped }}
      clean_changelog: ${{ steps.changelog.outputs.clean_changelog }}
      tag: ${{ steps.changelog.outputs.tag }}

    steps:
      - name: checkout
        uses: actions/checkout@v2
        id: checkout

      - name: Conventional Changelog Action
        id: changelog
        uses: TriPSs/conventional-changelog-action@v3
        with:
          github-token: ${{ secrets.github_token }}
          output-file: "false"
          skip-version-file: "true"
          skip-commit: "true"

So if i see it correctly it should have bumped to v0.10.1 right?

Right.
New version should be v0.10.1, not 0.9.2.

Could you provide the full log of the action?

Sure
Run TriPSs/conventional-changelog-action@v3
  with:
    github-token: ***
    output-file: false
    skip-version-file: true
    skip-commit: true
    git-message: chore(release): {version}
    git-user-name: Conventional Changelog Action
    git-user-email<EMAIL_ADDRESS>    git-pull-method: --ff-only
    git-push: true
    preset: angular
    tag-prefix: v
    release-count: 5
    version-file: ./package.json
    version-path: version
    skip-git-pull: false
    skip-on-empty: true
    fallback-version: 0.1.0
    git-url: github.com
    skip-ci: true
    create-summary: false
Using "angular" preset
Using "chore(release): {version} [skip ci]" as commit message
Using "Conventional Changelog Action" as git user.name
Using<EMAIL_ADDRESS>as git user.email
Using "5" release count
Using "./package.json" as version file
Using "version" as version path
Using "v" as tag prefix
Using "false" as output file
Using "" as config file
Using "github.com" as gitUrl
Skipping empty releases is "enabled"
Skipping the update of the version file is "enabled"
Pull to make sure we have the full git history
/usr/bin/git config user.name Conventional Changelog Action
/usr/bin/git config user.email<EMAIL_ADDRESS>/usr/bin/git remote set-url origin ***github.com/IATkachenko/HA-YandexWeather.git
/usr/bin/git rev-parse --is-shallow-repository
true
/usr/bin/git pull --unshallow --tags --ff-only
From https://github.com/IATkachenko/HA-YandexWeather
 * [new tag]         v0.1.0     -> v0.1.0
 * [new tag]         v0.10.0    -> v0.10.0
 * [new tag]         v0.2.0     -> v0.2.0
 * [new tag]         v0.3.0     -> v0.3.0
 * [new tag]         v0.4.0     -> v0.4.0
 * [new tag]         v0.4.1     -> v0.4.1
 * [new tag]         v0.4.2     -> v0.4.2
 * [new tag]         v0.4.3     -> v0.4.3
 * [new tag]         v0.4.4     -> v0.4.4
 * [new tag]         v0.5.0     -> v0.5.0
 * [new tag]         v0.5.1     -> v0.5.1
 * [new tag]         v0.6.0     -> v0.6.0
 * [new tag]         v0.7.0     -> v0.7.0
 * [new tag]         v0.8.0     -> v0.8.0
 * [new tag]         v0.8.1     -> v0.8.1
 * [new tag]         v0.9.0     -> v0.9.0
 * [new tag]         v0.9.1     -> v0.9.1
Already up to date.
Recommended release type: patch
Because: There are 0 BREAKING CHANGES and 0 features
Using GIT to determine the new version
Changelog generated
## [0.9.2](https://github.com/IATkachenko/HA-YandexWeather/compare/v0.9.1...v0.9.2) (2022-07-02)
### Bug Fixes
* avoid crashes while HA restart before first update while initial setup ([38bfe30](https://github.com/IATkachenko/HA-YandexWeather/commit/38bfe304aab743eb0a639938b94d991b68685f0b)), closes [#33](https://github.com/IATkachenko/HA-YandexWeather/issues/33)
* **HACS:** remove extra key from hacs.json ([5fec7b3](https://github.com/IATkachenko/HA-YandexWeather/commit/5fec7b337f4e4c6b0fba20074c7b988e6d314e09))
New version: 0.9.2
/usr/bin/git tag -a v0.9.2 -m v0.9.2
Push all changes
/usr/bin/git push origin main --follow-tags
To https://github.com/IATkachenko/HA-YandexWeather.git
 * [new tag]         v0.9.2 -> v0.9.2

Who created the v0.10.0 tag? How it looks like is that the latest tag is v0.9.1 so thats why it's using that tag.

v0.10.0 was created by the action too:
Run TriPSs/conventional-changelog-action@v3
  with:
    github-token: ***
    output-file: false
    skip-version-file: true
    skip-commit: true
    git-message: chore(release): {version}
    git-user-name: Conventional Changelog Action
    git-user-email<EMAIL_ADDRESS>    git-pull-method: --ff-only
    git-push: true
    preset: angular
    tag-prefix: v
    release-count: 5
    version-file: ./package.json
    version-path: version
    skip-git-pull: false
    skip-on-empty: true
    fallback-version: 0.1.0
Using "angular" preset
Using "chore(release): {version}" as commit message
Using "Conventional Changelog Action" as git user.name
Using<EMAIL_ADDRESS>as git user.email
Using "5" release count
Using "./package.json" as version file
Using "version" as version path
Using "v" as tag prefix
Using "false" as output file
Using "" as config file
Skipping empty releases is "enabled"
Skipping the update of the version file is "enabled"
Pull to make sure we have the full git history
/usr/bin/git config user.name Conventional Changelog Action
/usr/bin/git config user.email<EMAIL_ADDRESS>/usr/bin/git remote set-url origin ***github.com/IATkachenko/HA-YandexWeather.git
/usr/bin/git rev-parse --is-shallow-repository
true
/usr/bin/git pull --unshallow --tags --ff-only
From https://github.com/IATkachenko/HA-YandexWeather
 * [new branch]      dev        -> origin/dev
 * [new tag]         v0.1.0     -> v0.1.0
 * [new tag]         v0.2.0     -> v0.2.0
 * [new tag]         v0.3.0     -> v0.3.0
 * [new tag]         v0.4.0     -> v0.4.0
 * [new tag]         v0.4.1     -> v0.4.1
 * [new tag]         v0.4.2     -> v0.4.2
 * [new tag]         v0.4.3     -> v0.4.3
 * [new tag]         v0.4.4     -> v0.4.4
 * [new tag]         v0.5.0     -> v0.5.0
 * [new tag]         v0.5.1     -> v0.5.1
 * [new tag]         v0.6.0     -> v0.6.0
 * [new tag]         v0.7.0     -> v0.7.0
 * [new tag]         v0.8.0     -> v0.8.0
 * [new tag]         v0.8.1     -> v0.8.1
 * [new tag]         v0.9.0     -> v0.9.0
Already up to date.
Recommended release type: minor
Because: There are 0 BREAKING CHANGES and 1 features
Using GIT to determine the new version
Changelog generated
# [0.10.0](https://github.com/IATkachenko/HA-YandexWeather/compare/v0.9.0...v0.10.0) (2022-05-21)
### Features
* **weather:** use configurable weather condition state pictures ([94c7b60](https://github.com/IATkachenko/HA-YandexWeather/commit/94c7b6048c59b25c64b283a7508b3ea0312de4d9)), closes [#30](https://github.com/IATkachenko/HA-YandexWeather/issues/30)
New version: 0.10.0
/usr/bin/git tag -a v0.10.0 -m v0.10.0
Push all changes
/usr/bin/git push origin main --follow-tags
To https://github.com/IATkachenko/HA-YandexWeather.git
 * [new tag]         v0.10.0 -> v0.10.0

It's look like the integration use last row from git pull --unshallow --tags --ff-only to get latest tag.
But git sort tags as strings: str(1) < str(9), str(100) < str(9) and so on.
The action should sort tags as versions, and only after this get the last as latest version.

git-semver-tags is used to get all the tags, this should return the tags in order of creation, apparently that is not so so I think we need to sort the fetched tags ourself and then get the highest one.

/unstale

Hi there, any news about it ?
Thanks :)

I'm seeing the same issue on an action repo that pushes a v1 tag as well as the vx.x.x semver tag on release

@bencat-sixense @joshuasimon-taulia would any of you be open to create a PR that will sort the tags?

I am experiencing the same issue.
Here is a truncated list of my tags
attendant-2.6.14 attendant-2.7.0 attendant-rc2.10.0 attendant-rc2.11.0 attendant-rc2.12.0 attendant-rc2.13.0 attendant-rc2.14.0
and here is the log from the action
`
Run TriPSs/conventional-changelog-action@v3
with:
github-token: ***
preset: angular
skip-on-empty: false
skip-version-file: true
skip-commit: true
tag-prefix: attendant-
git-message: chore(release): {version}
git-user-name: Conventional Changelog Action
git-user-email<EMAIL_ADDRESS>git-pull-method: --ff-only
git-push: true
git-branch: refs/heads/master
output-file: CHANGELOG.md
release-count: 5
version-file: ./package.json
version-path: version
skip-git-pull: false
skip-tag: false
git-url: github.com
skip-ci: true
create-summary: false
pre-release: false
pre-release-identifier: rc
Using "angular" preset
Using "chore(release): {version} [skip ci]" as commit message
Using "Conventional Changelog Action" as git user.name
Using<EMAIL_ADDRESS>as git user.email
Using "5" release count
Using "./package.json" as version file
Using "version" as version path
Using "attendant-" as tag prefix
Using "CHANGELOG.md" as output file
Using "" as config file
Using "github.com" as gitUrl
Using "master" as gitBranch
Using "" as gitPath
Skipping empty releases is "disabled"
Skipping the update of the version file is "enabled"
Pull to make sure we have the full git history
/usr/bin/git config user.name Conventional Changelog Action
/usr/bin/git config user.email<EMAIL_ADDRESS>/usr/bin/git remote set-url origin ***github.com/extenda/mdc-flutter.git
/usr/bin/git rev-parse --is-shallow-repository
false
/usr/bin/git pull --tags --ff-only
Already up to date.
Recommended release type: minor
Because: There are 0 BREAKING CHANGES and 38 features
Using GIT to determine the new version
Changelog generated
[2.7.0](https://github.com/extenda/mdc-flutter/compare/attendant-2.6.14...attendant-2.7.0) (2023-03-27)
Bug Fixes

DMTCS-1178:
DMTCS-1179:
removed actually commit log

New version: 2.7.0
/usr/bin/git tag -a attendant-2.7.0 -m attendant-2.7.0
fatal: tag 'attendant-2.7.0' already exists
Unhandled Rejection occurred. Error: The process '/usr/bin/git' failed with exit code 128
at ExecState._setResult (/home/runner/work/_actions/TriPSs/conventional-changelog-action/v3/node_modules/@actions/exec/lib/toolrunner.js:592:25)
at ExecState.CheckComplete (/home/runner/work/_actions/TriPSs/conventional-changelog-action/v3/node_modules/@actions/exec/lib/toolrunner.js:575:18)
at ChildProcess. (/home/runner/work/_actions/TriPSs/conventional-changelog-action/v3/node_modules/@actions/exec/lib/toolrunner.js:469:27)
Error: Unhandled Rejection occurred. Error: The process '/usr/bin/git' failed with exit code 128
at ExecState._setResult (/home/runner/work/_actions/TriPSs/conventional-changelog-action/v3/node_modules/@actions/exec/lib/toolrunner.js:592:25)
at ExecState.CheckComplete (/home/runner/work/_actions/TriPSs/conventional-changelog-action/v3/node_modules/@actions/exec/lib/toolrunner.js:575:18)
at ChildProcess. (/home/runner/work/_actions/TriPSs/conventional-changelog-action/v3/node_modules/@actions/exec/lib/toolrunner.js:469:27)
at ChildProcess.emit (node:events:527:28)
at maybeClose (node:internal/child_process:1092:16)
at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)
at ChildProcess.emit (node:events:527:28)
at maybeClose (node:internal/child_process:1092:16)
at Process.ChildProcess._handle.onexit (node:internal/child_process:302:5)
`
I cleaned the action output a little but in principal it should contain all the information.

Are there no plans to take a stab on this issue?

This issue should now be fixed in v5, git-semver-tags updated their code to sort the tags on date.


Use math.prod

Minor housekeeping. Requiring python >= 3.8 seems reasonably safe now.

Indeed there should be no issues with using it now. You do sometimes do have to be a little careful that 0-D arrays (or numpy scalars) don't sneak in. But if that happens, generally it means you should have put a call to int somewhere.


Fix tests again

[x] Using latest version as provided on the master branch
[x] Searched for similar issues including closed ones

What is the purpose of your issue?

[x] Bug
[x] Feature Request
[ ] Question
[ ] Other

Description
Any chance we can (finally) make the tests more stable? It's a bummer to see those failing because some YouTube video search ended not up as expected, it makes it kind of hard to quickly notice real broken builds!
E.g. the latest: https://travis-ci.org/ritiek/spotify-downloader/jobs/426367358
=================================== FAILURES ===================================
____________ TestYouTubeTitle.test_single_download_with_youtube_api ____________
self = <test_without_metadata.TestYouTubeTitle object at 0x7fc115278c18>
    def test_single_download_with_youtube_api(self):
        global content
        global title
        expect_title = "Tony's Videos VERY SHORT VIDEO 28.10.2016"
[1m        key = 'AIzaSyAnItl3udec-Q1d5bkjKJGL-RgrKO_vU90'
        const.args.youtube_api_key = key
        youtube_tools.set_api_key()
        content = youtube_tools.go_pafy(raw_song, metadata)
        title = youtube_tools.get_youtube_title(content)
>       assert title == expect_title
E       assert 'Very short video' == "Tony's Videos VERY SHORT VIDEO 28.10.2016"
E         - Very short video
E         + Tony's Videos VERY SHORT VIDEO 28.10.2016
test/test_without_metadata.py:98: AssertionError
----------------------------- Captured stderr call -----------------------------
DEBUG: query: {'maxResults': 50, 'part': 'snippet', 'type': 'video', 'q': "Tony's Videos VERY SHORT VIDEO 28.10.2016"}
DEBUG: query_results: {'maxResults': 50, 'part': 'contentDetails,snippet,statistics', 'id': 'j0VwlUkxJmw,fK4SLPmxeY4,OE4dDJw5wAI,uRasm7397MM,plCGs8PYreo,Twkb_jXEPuU,sulRwNHbjcc,5USR1Omo7f0,AkDye53pE0M,XV4LCjRERlM,t-1vaOy8oPU,ouWRtZhVQSU,f1GUj4dKYc0,mrOPFt9E0eQ,YXeLqhkBjyA,FDL4C8oiJJg,F2gEzNbPDWA,9JISEn8rXis,B2lOBiN_RD8,qBNmY7S0BG8,cpoj2thH7WI,TbUIaV6qm1U,FmWUx7Uf6so,ghhOWJlKwHo,WgOTH0b2HDc,3H2EUKPZkxA,_mogWYk6ivE,nD4JmSv_rGo,roaIAdnGEJQ,mmcztns2a3w,J8HdWBKe4eQ,N2QZ6eo8Yfs,VqxLe7dbR14,rMPmpQBeESg,SzwpRcK5xfY,zsVF9Y4P8ho,thXtwk2_Jbg,vICQsxfjw5U,UQBnBFvxo4M,NgO3Rr9o-Hk,_yHtPPYyoBM,uFqO7A89DAY,QsEBPWeSOJ0,ZCzXDp_Mtug,c9AcYskh_0U,ZNxRXQRg1JU,YY2l--Vje7o,aBbemsM9d28,2--NFvaVgL4,0zbPVwnyacg'}
DEBUG: Since no metadata found on Spotify, going with the first result
===================== 1 failed, 52 passed in 78.21 seconds =====================

Omg, this is so weird. Just a few moments ago, all builds were passing without problems. I have no idea how to make these tests more stable while actually keeping them in.
For now, I am going to keep re-running the tests on Travis until they pass lol.

Yep, this seems to be an issue with travis-ci itself.

I have no idea how to make these tests more stable while actually keeping them in.

The thumb rule with tests (unit testing) is that when you have to make a network request (or something similar which you can't necessarily test), is to mock it.
Mocking in our case would be giving the function the html that is required for the function.
Mocking the tests will ensure that they won't fail when youtube changes something. But the problem with mocking tests are they won't fail when youtube changes something. (See what I did there :smile_cat:)
So if we want our CI to not fail occasionally, we can mock the tests. If we want to catch when yt actually changes something we have to live with these occasional failures.
What are your thoughts on this?
NOTE: I initially thought mocking tests were a joke. But I have grown to respect them more nowadays.

The thumb rule with tests (unit testing) is that when you have to make a network request (or something similar which you can't necessarily test), is to mock it.

That sounds like a neat idea indeed!

So if we want our CI to not fail occasionally, we can mock the tests. If we want to catch when yt actually changes something we have to live with these occasional failures.

I'd prefer to see the CI passing if our code changes are correct, not failing because of YouTube changing something - which we would notice after a short amount of time anyway (someone opens an issue or we experience the issue ourselves).
So the way I see it the tests should indicate whether our code is correct.


Read Kubeconfig path from env on priority.

This PR aims to read Kubeconfig path from environment first and as fallback uses default location.
Methods having only local use are kept/made local.
The unite tests are added to cover newly added code.
fixes #45

The CLI parameter (rootCmd.PersistentFlags().StringVarP(&kubeconfig, "kubeconfig", "k", "", "Path to kubeconfig file (optional)")) must always take precedence, then environment, then the default path.

The CLI parameter (rootCmd.PersistentFlags().StringVarP(&kubeconfig, "kubeconfig", "k", "", "Path to kubeconfig file (optional)")) must always take precedence, then environment, then the default path.

Yep. This is done by checking if the value of the flag is empty

The CLI parameter (rootCmd.PersistentFlags().StringVarP(&kubeconfig, "kubeconfig", "k", "", "Path to kubeconfig file (optional)")) must always take precedence, then environment, then the default path.

Yep. This is done by checking if the value of the flag is empty

Thanks. I wasn't exactly sure from the PR title and by taking a very short look. Change looks good!

@rameshgkwd05 Do you intend to complete this MR?
I would like to put it in the upcoming release

@rameshgkwd05 Do you intend to complete this MR? I would like to put it in the upcoming release
Yes @yonahd I would address review comments and make it review ready


Passwords in UI and CLI displayed in plain text

SUMMARY
UI and CLI clients both show clear text passwords when viewing the config
STACKSTORM VERSION
Paste the output of st2 --version:
st2 3.3.0, on Python 3.6.9
OS, environment, install method
Oracle 7 using st2-docker
Steps to reproduce the problem
Here I'm just using the core.remote action on an interval timer
Expected Results
Password shouldn't be displayed in clear text in the config. When going to edit or run the action the password is hidden.
Actual Results
What happened? What output did you get?
Making sure to follow these steps will guarantee the quickest resolution possible.
Thanks!

To be clear, the issue here is that, in the rule widget, action parameters and action runner parameters that are marked secret: true are not properly obfuscated by the server.
This probably also happens for the passphrase, private_key, and sudo_password parameters to the remote runner.

A better place to report this might be https://github.com/StackStorm/st2web.

Moved to https://github.com/StackStorm/st2web/issues/896


Switch tests to lab, update most of dependencies

Fixes #8
I was unable to update seneca-store-test due to #11

I've update seneca too. I wasn't able to reproduce #7


For M1 Mac I had to install ffmpeg@4 to be compatible with the required OpenCV

The OpenCV 4.5.3 depends on ffmpeg v.4 as it looks for file libavcodec.58.dylib specifically. As I am running the server notebook of course1-week1 ungraded lab after two years of its introduction, the current ffmpeg version is 6 where the file mentioned above does not exist anymore.
It would be great if this info is added to the env setup instructions so that people install the correct required version of ffmpeg right away.
https://github.com/https-deeplearning-ai/machine-learning-engineering-for-production-public/blob/main/course1/week1-ungraded-lab/server.ipynb
See resource for required ffmpeg version: https://www.linuxfromscratch.org/blfs/view/11.0-systemd/general/opencv.html

Do you mean we should have the v4 installed in the Mac ?
Did you follow the exact instructions and it worked because I am having some issues with that ?
I would love to ask you gif you have more details, please contact me in the following email<EMAIL_ADDRESS>Thank you!