Conversation Transcription does not work

Good day, currently i am working on a app to utilize Roobo device + conversation transcription possibilities. Everything was working fine till 26/06/2019, now when i start conversation transcription using SDK (on Android) i am either getting no results or $ref$, this happens in both my App and sample Androidapp (which should work perfectly fine) i am using CentralUS congnitive speech service(I can run user enrollment on this service without issues), i tried to delete and recreate this service several times but no luck(.
Can You please advice is there any issues with Service right now?
Thanks in advance!

Hello Dogmus,
We did not see any issues on the service right now, as we and other users can access it without problem.
Here are documentations of how to use Conversation Transcription
https://docs.microsoft.com/en-us/azure/cognitive-services/speech-service/how-to-use-conversation-transcription-service
And here is an example of how end users can call the Speech SDK APIs. Please note that SDK only supports pull/push data stream from the end users.
https://github.com/Azure-Samples/cognitive-services-speech-sdk/blob/master/samples/cpp/windows/console/samples/conversation_transcriber_samples.cpp
Could you share more details about how you are calling the APIs

Hi Wei!
Thank You for looking into this! I will try again on Monday( I will have two devices) and if still no luck I will share source code for the class that I use to call api.
Thanks once more and have a good weekend.
Best Regards
Evgeniy
Sent from my Samsung Galaxy smartphone.
-------- Original message --------
From: Wei Xu<EMAIL_ADDRESS>Date: 28/06/2019 20:59 (GMT+02:00)
To: Azure-Samples/cognitive-services-speech-sdk<EMAIL_ADDRESS>Cc: Eugen_Romanov<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [Azure-Samples/cognitive-services-speech-sdk] Conversation Transcription does not work (#279)
Hello Dogmus,
We did not see any issues on the service right now, as we and other users can access it without problem.
Here are documentations of how to use Conversation Transcription
https://docs.microsoft.com/en-us/azure/cognitive-services/speech-service/how-to-use-conversation-transcription-service
And here is an example of how end users can call the Speech SDK APIs. Please note that SDK only supports pull/push data stream from the end users.
https://github.com/Azure-Samples/cognitive-services-speech-sdk/blob/master/samples/cpp/windows/console/samples/conversation_transcriber_samples.cpp
Could you share more details about how you are calling the APIs
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/Azure-Samples/cognitive-services-speech-sdk/issues/279?email_source=notifications&email_token=ACSGJ2GC23HZPNMWTJZG5ODP4ZGP3A5CNFSM4H34SI2KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODY2YTBQ#issuecomment-506825094, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ACSGJ2HW7KBGCBPLVZYNDFTP4ZGP3ANCNFSM4H34SI2A.

Have a nice weekend, too.

Hi Wei,
I've tried to run Conversation transcription once more and it is still don't  work. I am using Java SDK for android from Sample APP, i think version is 1.5.1 (may release).   I was trying to find version 1.6 and try with it but didn't manage to do so, can You please send it to me?
[cid:897b4db5-ac7f-462a-9efb-7742518df6f5]
Thanks in advance!
Best Regards
Evgeniy

From: Wei Xu<EMAIL_ADDRESS>Sent: Friday, June 28, 2019 6:56 PM
To: Azure-Samples/cognitive-services-speech-sdk
Cc: Eugen_Romanov; Author
Subject: Re: [Azure-Samples/cognitive-services-speech-sdk] Conversation Transcription does not work (#279)
Have a nice weekend, too.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/Azure-Samples/cognitive-services-speech-sdk/issues/279?email_source=notifications&email_token=ACSGJ2HFRNIBVZ27KPR44YTP4ZNGJA5CNFSM4H34SI2KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODY243YQ#issuecomment-506842594, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ACSGJ2ATRJYYKGVX5V3EZTDP4ZNGJANCNFSM4H34SI2A.

all the download links on the documentation page are pointing to 1.6
maven packages for 1.6 are uploaded.
please check again ...
where are you looking for the 1.6 packages and not able to find them?

Hi Wolfgang, i had a local maven issue, after i resolved it i was able to pull 1.6 from Maven repo and test it. With SDK version 1.6 everything works fine.  Thanks everyone for the help, closing this ticket :)
Best Regards
Evgeniy

thank you for updating the issue -
take care!


Enhance explainability to give more accurate explanation of denied connection when possible (rather than all policies)

Moved to NP-Guard repo. See here


Fix encoding error in manually approved links

Fixes mitre/caldera#2968
This is a... Very simple fix, maybe too simple, to the point that I'm wondering really hard what I could have missed.
Here's my reasoning: I do not discuss the implementation of b64DecodeUnicode, just its usage in this case, because the command that gets passed to updateLink is definitely not encoded in Base64.
With this change on top of mitre/magma#48, I am able to approve links in a manual operations and actually have them work.

Great catch.

Thank you @guillaume-duong-bib !


WebM don't worked

What steps will reproduce the problem?
Open any webm video on lolibooru/other site
What is the expected behavior? What do you get instead?
tags only
What version of the program are you using? On what operating system?
5.0.1
Please provide any additional information below
Program can't play webm

maybe its because it is not a mediaplayer, but an image viewer?

Bionus, if you read this -  I can suggest a solution:
if user opens an webm / mp4 / whatever video in preview window, just show thumbnail image of this video from site in the center of the preview window (maybe 200% upscale thumbnail), with play button painted on it, if you press to this preview image video will opens in default programm for it on user OS (MPC, Windows media player, etc). it can solve all the problems with codecs or inserting player directly in grabber, will not be so hard to code and will be very clear, I guess.
Kind of this (open image in full screen):

I think the player should be built into grabber because As I try to dodge the because I see all your god damn open tabs

If you want to play WebM videos in Grabber, you need to install the codecs: https://tools.google.com/dlpage/webmmf/

Bionus, if you read this - I can suggest a solution

I always read everything :smile:
As for your suggestion, it's a good alternative to install-in the codecs (especially since they don't work very well with Qt).

dont wored for me on lolibooru

WebMMF codec is installed.

As for your suggestion, it's a good alternative to install-in the codecs (especially since they don't work very well with Qt).

dont wored for me on lolibooru
WebMMF codec is installed.

Well, me too.
Bionus, as you can see Current way isnt work properly and better way is to give this work to prof. media players. All of them can play webm, mp4, and will do it more fast, and with more options then any inside-Grabber mediaplayer. Just as images, download webm to Temp folder and then open it with default player in user OS. Easy and effective! I garantee, that users better open video in they favourite media player then in something else.

moreover, by remobing video player from grabber you can solve https://github.com/Bionus/imgbrd-grabber/issues/542 and other possible bugs with it :)


Predibase LLM Integration - prompt method deprecation update

Description
We updated the method for prompting an LLM with the latest Predibase SDK release and deprecated the old method. This PR addresses these changes

@connor-mccorm Thanks for the update! Would you like us to merge this in asap?


AIX Client with RabbitMQ SSL fails

When starting the sensu-client on an AIX 7.1 server, and using RabbitMQ as the transport over SSL, the connection fails.
Expected Behavior

Sensu agent should start up fully and successfully establish a connection to RabbitMQ

Current Behavior

Sensu agent starts
Sensu agent attempts to communicate with RabbitMQ over SSL
Agent generates the error below, and immediately exits

/opt/sensu/embedded/lib/ruby/gems/2.4.0/gems/eventmachine-1.2.5/lib/em/pure_ruby.rb:330:in `initialize': SSL_CTX_use_PrivateKey: key values mismatch (OpenSSL::SSL::SSLError)
        from /opt/sensu/embedded/lib/ruby/gems/2.4.0/gems/eventmachine-1.2.5/lib/em/pure_ruby.rb:330:in `new'
        from /opt/sensu/embedded/lib/ruby/gems/2.4.0/gems/eventmachine-1.2.5/lib/em/pure_ruby.rb:330:in `start_tls'
        from /opt/sensu/embedded/lib/ruby/gems/2.4.0/gems/eventmachine-1.2.5/lib/em/connection.rb:459:in `start_tls'
        from /opt/sensu/embedded/lib/ruby/gems/2.4.0/gems/amqp-1.6.0/lib/amqp/session.rb:1180:in `upgrade_to_tls_if_necessary'
        from /opt/sensu/embedded/lib/ruby/gems/2.4.0/gems/amqp-1.6.0/lib/amqp/session.rb:583:in `post_init'
        from /opt/sensu/embedded/lib/ruby/gems/2.4.0/gems/eventmachine-1.2.5/lib/em/connection.rb:58:in `block in new'
        from /opt/sensu/embedded/lib/ruby/gems/2.4.0/gems/eventmachine-1.2.5/lib/em/connection.rb:49:in `instance_eval'
        from /opt/sensu/embedded/lib/ruby/gems/2.4.0/gems/eventmachine-1.2.5/lib/em/connection.rb:49:in `new'
        from /opt/sensu/embedded/lib/ruby/gems/2.4.0/gems/eventmachine-1.2.5/lib/eventmachine.rb:683:in `bind_connect'
        from /opt/sensu/embedded/lib/ruby/gems/2.4.0/gems/eventmachine-1.2.5/lib/eventmachine.rb:653:in `connect'
        from /opt/sensu/embedded/lib/ruby/gems/2.4.0/gems/amqp-1.6.0/lib/amqp/session.rb:457:in `connect'
        from /opt/sensu/embedded/lib/ruby/gems/2.4.0/gems/amqp-1.6.0/lib/amqp.rb:242:in `connect'
        from /opt/sensu/embedded/lib/ruby/gems/2.4.0/gems/sensu-transport-7.0.2/lib/sensu/transport/rabbitmq.rb:214:in `setup_connection'
        from /opt/sensu/embedded/lib/ruby/gems/2.4.0/gems/sensu-transport-7.0.2/lib/sensu/transport/rabbitmq.rb:254:in `block in connect_with_eligible_options'
        from /opt/sensu/embedded/lib/ruby/gems/2.4.0/gems/sensu-transport-7.0.2/lib/sensu/transport/rabbitmq.rb:197:in `block in next_connection_options'

Steps to Reproduce (for bugs)

Install Sensu agent
Configure to point at RabbitMQ. I even found that it'd generate the same error if you point it at a random HTTPS webserver, since it seems to be the SSL negotiation that's actually failing.
If using RabbitMQ, I have mine to not require client certs, and not bother to verify clients.
Start Sensu agent

Context
Completely unable to use Sensu agents on AIX unless we turn off SSL for RabbitMQ (which isn't ideal). However turning off SSL on RabbitMQ does allow the client to work.
I used openssl the packaged openssl binary to verify that communication with the MQ server was fine, and it was:
# pwd
/opt/sensu/embedded/bin
# ./openssl s_client -connect sensu.test:5671 -CAfile /etc/sensu/ssl/cert.pem

CONNECTED(00000003)
depth=2 CN = SERVERCN
verify return:1
depth=1 DC = uk, DC = co, CN = SERVERCN
verify return:1
depth=0 C = GB, O = Z, OU = MYCOMPANY, CN = sensu.test
verify return:1
---
Certificate chain
 0 s:/C=GB/ST=X/L=Y/O=Z/OU=W/CN=sensu.test
   i:/DC=uk/DC=co/DC=W/DC=ad/CN=SERVERCN
 1 s:/DC=uk/DC=co/DC=W/DC=ad/CN=SERVERCN
   i:/CN=SERVERCN
 2 s:/CN=SERVERCN
   i:/CN=SERVERCN
---
Server certificate
...
...
---
No client certificate CA names sent
Peer signing digest: SHA512
Server Temp Key: ECDH, P-256, 256 bits
---
SSL handshake has read 5474 bytes and written 488 bytes
---
New, TLSv1/SSLv3, Cipher is ECDHE-RSA-AES256-SHA384
Server public key is 2048 bit
Secure Renegotiation IS supported
Compression: NONE
Expansion: NONE
No ALPN negotiated
SSL-Session:
    Protocol  : TLSv1.2
    Cipher    : ECDHE-RSA-AES256-SHA384
    Session-ID: 465A9504AADB060E2B7A313E3B82ED1CF7CC259D34F830450D81A2392B6AFAF1
    Session-ID-ctx:
    Master-Key: 41472708C009556CD81DE4437F6A8E4C3A620823DD4017A2A6659DC28BE318CB1DDC57D6DD90E5D292C1F47D10F10764
    Key-Arg   : None
    PSK identity: None
    PSK identity hint: None
    SRP username: None
    Start Time:<PHONE_NUMBER>
    Timeout   : 300 (sec)
    Verify return code: 0 (ok)

Your Environment

Using sensu-1.2.0-1 client

Running on AIX 7.1

RabbitMQ config:

[
  {rabbit, [
     {ssl_listeners, [5671]},
     {ssl_options, [{cacertfile,"/etc/rabbitmq/ssl/ca_cert.pem"},
                    {certfile,"/etc/rabbitmq/ssl/cert.pem"},
                    {keyfile,"/etc/rabbitmq/ssl/key.pem"}]}
   ]}
]

Client config

{
  "rabbitmq": {
    "host": "sensu.test",
    "port": 5671,
    "user": "sensu",
    "password": "MYPASSWORD",
    "vhost": "/sensu",
    "ssl": {
      "cert_chain_file": "/etc/sensu/ssl/cert.pem"
    }
  }
}

If both are using port 5671 I'm not sure why the RHEL servers would be working without the private key. Our documentation shows that the private_key_file field is required https://docs.sensu.io/sensu-core/1.2/reference/rabbitmq/#ssl-attributes.

Fair enough. It is strange, but I can deal with that if it means it'll all work 😄 Thanks for your help

No problem, glad I could assist you!


Even less intrusive notification

This PR is ready for review.
Risk
This PR makes no API changes.
Testing Plan

Clear testing app memory or reinstall it from device
Connect bluetooth to device (TDK, bluetooth headset)
First time should have a timeout of 10 milliseconds
Disconnect device
Reconnect device

If device previously connected through SDL the timeout should be upped to 20 seconds.
If device did not connect through SDL, timeout should be 10ms.

Summary
Add better logic to create an even less intrusive notifications for end users. If a device is found to have not connected through SDL, the timeout will decrease significantly (10ms) and the notification will essentially not be displayed.
Changelog
Enhancements

Less intrusive notifications for end users
Notification while waiting for a connection is now swipeable

CLA

[x] I have signed the CLA

Codecov Report

Merging #794 into release/4.6.0_RC will increase coverage by 0.02%.
The diff coverage is 0%.

@@                  Coverage Diff                   @@
##             release/4.6.0_RC     #794      +/-   ##
======================================================
+ Coverage               42.33%   42.36%   +0.02%
  Complexity               2794     2794
======================================================
  Files                     362      362
  Lines                   16872    16862      -10
  Branches                 1728     1724       -4
======================================================
  Hits                     7143     7143
+ Misses                   9418     9408      -10
  Partials                  311      311

Impacted Files
Coverage Δ
Complexity Δ

...icelink/transport/MultiplexBluetoothTransport.java
6.71% <ø> (+0.01%)
11 <0> (ø)
:arrow_down:

...martdevicelink/transport/SdlBroadcastReceiver.java
3.43% <0%> (+0.09%)
2 <0> (ø)
:arrow_down:

...om/smartdevicelink/transport/SdlRouterService.java
8.07% <0%> (+0.01%)
9 <0> (ø)
:arrow_down:

Continue to review full report at Codecov.

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


Simplify write_page() implementations using a trait associated constant

As suggested here, the page sizes could be defined by implementations of a PageSize trait for the different ICs.
However, implementing this would not compile at the moment.
This is blocked by upstream issue https://github.com/rust-lang/rust/issues/42863

This was solved using a macro


backend: Introduce check_send_private_message.

@showell: All our webhooks are migrated for now! The docs are updated too! :) @timabbott: FYI :)

@eeshangarg this looks good to me.  Can you update the webhook writing guide to point to check_send_stream message though?

Merged, thanks @eeshangarg!


Detailed / Simple Condition Categories

The weather categories should be configurable between a simple (4 categories) and a more detailed (ca. 10 categories) variant.

Added in v3.0.0

Alright, this is added in v3.0.0-beta.1
You can test the beta with npm install -g homebridge-neato@beta


Main branch file

I have created a file documentation.md accidently which is empty and can be seen in our homework repo. I tried to delete it but can't. @sharmistharanit PLEASE CHECK ONCE IF MAINTAINER CAN DELETE IT OR NOT?

If you plan to add to the file anyway, you could just add to it then make a merge request.

The file is empty, just wanted to remove it from the main branch of my repo and from main branch of our homework group.

I tried but could not able to delete it from the main branch


configure workflow

closes #35

Pull Request Test Coverage Report for Build 140039860

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 95.376%

Totals

Change from base Build 140022130:
0.0%

Covered Lines:
139

Relevant Lines:
142

💛  - Coveralls


Notebooks: no results output should have better indication

Refs: https://github.com/microsoft/vscode/issues/100965

Open my-work.github-issues
Run some cell that produces no results, or modify a cell such that it produces no results
Output of the cell is non existent - since there are no results. It would be nice if there was some UI decoration to make this more clear

I see that it says 0 results but it is easy to miss imho

What other sort of UI decoration do you expect? I think that the checkmark and result count will pop up more or less where the user is looking, and it seems sufficient to me.

The only thing I can image is some rendered output that says "no results" but that would likely be every extension specific...

I would expect something next to </> since that is just empty space now.
So what @jrieken mentioned, an extension should provide "no results", if the extenison does not provide anything there should be a "no results" default.

I think the extension must be returning an empty output, otherwise that button would not appear.

if the extenison does not provide anything there should be a "no results" default.

"no results" is context specific, vscode can't make any assumptions here
Maybe it would help for the extension to return a placeholder but it already says "0 results", I don't see why we need the same message a second time right next to it


Proposed workaround for #39 - Search for binary file if it isn't in root distribution

Per Issue 39, it seemed sensible to search through a given driver distribution's subdirectories for the binary file. This is a somewhat crude way to do it, but it seems to locate the driver path well enough.
This will probably all be obviated by Selenium Manager, but this may provide a short-term fix for anyone using this plugin.
One other problem I'm having in my project at the moment is that, using a local build off of this fork, I get this error when launching tests:
org.openqa.selenium.SessionNotCreatedException: Could not start a new session. Response code 500. Message: unknown error: cannot find Chrome binary

While my Chrome version has updated to 115, it still seems to be at the same old default location. Not sure if the Chrome team has somehow changed the expectation for the default binary to be the new Chrome for Testing distro or what. The workaround suggested in this SO post works well enough:
    def capabilities = new ChromeOptions()
    capabilities.setBinary(new File('/Applications/Google Chrome.app/Contents/MacOS/Google Chrome'))

In any event, I don't think it's necessarily a problem for this Gradle plugin to solve, since configuring ChromeOptions and the like is more of a problem for consumers. Just noting it here for anyone who may encounter further difficulties down the road.

Apologies for the delay. I have pushed the requested updates to my branch.

Thanks for the contribution @jonnybot0, it's been published as part of 3.2 just now.

Thank you both!
It works now like a charm!

Happy to hear that, @askucins!


Add possibility to override fullscreen page builder

Looks great, thanks! Sorry, I just merged another PR that made this one conflict. When you have some time, could you please resolve the conflicts and I'll merge it up?

Here it comes :)

Excellent, thanks again for contributing :)


Fix the diagnostics where there is a JDK version mismatch

[X] I’ve reviewed the contributor guide and applied the relevant portions to this PR.

Contribution guidelines:

See our contributor guide for general expectations for PRs.
Larger or significant changes should be discussed in an issue before creating a PR.
Contributions to our repos should follow the Dart style guide and use dart format.
Most changes should add an entry to the changelog and may need to rev the pubspec package version.
Changes to packages require corresponding tests.

Note that many Dart repos have a weekly cadence for reviewing PRs - please allow for some latency before initial review feedback.

coverage: 90.779% (+0.001%) from 90.778%
when pulling 2c78bb2ebba7c3989b87c155628bf5d2603d7345 on brianquinlan:version_diagnose
into 2ff68a9c9edfe6df3673026b397a36f427fc0b99 on dart-lang:main.


Flutter blue doesn't work after bundle compilation

Hi, I wrote an app that use flutter to detect and record RR data from heart rate sensor; on debug mode, everything work but after compilation on bundle for android (aab file), the installation from google play is OK, but when I launch the APP, the BT is on, GPS is on. Still, APP doesn't détect the BT on... The code is available here : https://github.com/pascalzellner/mismirrmonitor

我遇到的问题和你一样

The solution is here https://github.com/pauldemarco/flutter_blue/issues/772#issuecomment-783229078, it's works for me, just modify the Gradle built. I close the issue


msbuild C/C++ compiler license

Hello,
Is there a license requirement to use the setup-msbuild Action to compile C/C++ ?
The reason why is we need to share a repo that uses it with a company that does not have Visual Studio licenses. We are concerned that the C/C++ build tools installed on GitHub servers and used by msbuild might not be licensed.
Thank you,
Richard

Hi @rcotterill -- thanks for asking this.  This action does not carry any of the C++ toolset at all, it is merely a script that is intended to run on an agent that already has Visual Studio build tools installed, either in the hosted sense (as in GitHub Actions or Azure Pipelines agents) or via self-hosted configuration settings.  So as such, the better place to ask this question is actually over on the runner repository: https://github.com/actions/runner-images which is where the actual toolsets are installed into the hosted agents.  setup-msbuild is just a tool that then looks for MSBuild instances and adds it to PATH on the machine.

Hi @timheuer - I'll do that thank you :)
Best Regards
Richard


Feature/generalized message gather

Pull Request Test Coverage Report for Build 100

5 of 32 (15.63%)  changed or added relevant lines in 4 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+1.5%) to 45.012%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

aws_message/message.py
1
2
50.0%

aws_message/gather.py
0
4
0.0%

aws_message/sqs.py
2
24
8.33%

Files with Coverage Reduction
New Missed Lines
%

aws_message/gather.py
1
0.0%

Totals

Change from base Build 94:
1.5%

Covered Lines:
182

Relevant Lines:
353

💛  - Coveralls


[Feature Request] Player ESP

I think a pkayer esp would be nice, so you can see players and know where they are to kill them. It'd make playing Jester and Bracken easier, since you would always know where people are.

I'm already working on one :)

That's great, but when would it be out? (like just a rough time)
I know that you're one person but the stuff you made on this mod is already great.

That's great, but when would it be out? (like just a rough time)
I know that you're one person but the stuff you made on this mod is already great.

I'll try to get it done this week, but cannot promise anything

responding on an alt but hope it’s out soon! good luck


tachidesk-(jui|server): Rename to suwayomi-(jui|server), update to the latest versions

tachidesk-server
As from v1.0.0 release note:

Rename to Suwayomi
We've had the rename in the works for a while, we wanted to have a better branding. Tachidesk doesn't actually make sense, its a mix of 2 languages, and Tachi means standing. We ended up deciding on Suwayomi, which is a shorthand for Suwariyomi (sitting reading).

Update to version 1.0.0.
Update urls since project renamed.
Fix checkver.
Add new script for new launcher, remove deprecated scripts.
Rename to suwayomi-server.

Relates to Suwayomi/Suwayomi-Server#795.
tachidesk-jui
Rename to Suwayomi-JUI (as per 0a00f74).

Update to version 1.3.3.

Update urls since project renamed.

Fix checkver.

Rename to suwayomi-jui.

[x] I have read the Contributing Guide.

/verify

/verify

/verify

Fixes  #13232.

/verify

/verify

Automatic check seems to fail, possibly because of renamed *.ps1 script.
Tested locally.


ExceptionInInitializerError

i have a problem which makes my app crashes
as below:
java.lang.ExceptionInInitializerError
at com.j256.ormlite.db.SqliteAndroidDatabaseType.a(SqliteAndroidDatabaseType.java:76)
at com.j256.ormlite.dao.DaoManager.a(DaoManager.java:67)
at com.j256.ormlite.android.apptools.OrmLiteSqliteOpenHelper.getDao(OrmLiteSqliteOpenHelper.java:279)
at com.elitech.core.db.DatabaseHelper.getDao(DatabaseHelper.java:103)
at com.elitech.dicos.view.fragment.MsgTabFragment$TaskThread.run(MsgTabFragment.java:307)
Caused by: java.lang.IllegalStateException: Could not find support for DatabaseField A
at com.j256.ormlite.android.DatabaseTableConfigUtil.a(DatabaseTableConfigUtil.java:225)
at com.j256.ormlite.android.DatabaseTableConfigUtil.a(DatabaseTableConfigUtil.java:120)
at com.j256.ormlite.android.DatabaseTableConfigUtil.(DatabaseTableConfigUtil.java:38)
... 5 more

i noticed that ,when i run released apk,it just happens,but the debug apk doesn't;
and the diff. is about the proguard options,so,this exception may happens here,i will try

proguard-rules.pro files like this:
`# OrmLite uses reflection
-keep class com.j256.**
-keepclassmembers class com.j256.** { ; }
-keep enum com.j256.*
-keepclassmembers enum com.j256.** { ; }
-keep interface com.j256.*
-keepclassmembers interface com.j256.** { *; }
-keepattributes Annotation
-keepclassmembers class * {
@com.j256.ormlite.field.DatabaseField *;
}
-keepattributes Signature`

I'm going to mark this as fixed.  Feel free to reopen.


Github Flavored Markdown Fenced Code Blocks

It would be exceptionally great if the plugin supported Github Flavored Markdown's Fenced Code Blocks as well as the PHP Markdown Extra's approach.
Github Flavored Markdown allows:
```scala
class Example(name: String) {
  val field: Option[Int] = None
}
```

To render as:
class Example(name: String) {
  val field: Option[Int] = None
}

It would be awesome if pegdown could treat blocks like this the same as:
~~~
class Example(name: String) {
  val field: Option[Int] = None
}
~~~

and render as:
class Example(name: String) {
  val field: Option[Int] = None
}

Syntax highlighting is a bigger deal and IMHO better delegated to SyntaxHighlighter on the client-side.
Pegdown is great and thank you for building it :)

I'm trying to figure out how best to get my Atlassian Stash/Confluence to highlight github fenced code blocks.   They may say its not them, but pegdown, that needs an enhancement.   I need to know whether to tell them to upgrade pegdown or write their own HTML formatter ;)


Migrate script to Fedora

CentOS 7 is no longer supported since the minimum version of gcc has been increased past what's provided in base and EPEL.

cmake3 -> cmake

Closed by 4645f16, please report any bugs separately


Implement OpAssign traits for Vector #86

Macros and tests copied from matrix/impl_ops
Except from changing the names and replacing Matrix with Vector the macros and tests are almost identical with the original.

A couple comments on issues in the documentation.
Once that is cleaned up I'll merge. Thanks again!

Ok I missed that but I'm happy to help here.

Thanks! Merging this now.
I'll package up the last few updates into a minor release in a couple hours.


Add MAP_GUARD on FreeBSD.

It was added in FreeBSD 11.1.

r? @JohnTitor
(rust-highfive has picked a reviewer for you, use r? to override)

@bors r+

:pushpin: Commit 51a287b98aecce291651cd7d301d55b6a77d63fe has been approved by JohnTitor

:hourglass: Testing commit 51a287b98aecce291651cd7d301d55b6a77d63fe with merge a309e9124bba243d5411f2afa770a2080efab261...

:sunny: Test successful - checks-actions, checks-cirrus-freebsd-11, checks-cirrus-freebsd-12, checks-cirrus-freebsd-13
Approved by: JohnTitor
Pushing a309e9124bba243d5411f2afa770a2080efab261 to master...


Always check that subcommands succeeded

@indirect @smlance I need help finishing this up

What are we doing here? Just testing the exit codes for subcommands?

@indirect yeah. Generally, the idea is to make the tests more robust by forcing us to explicitly call out the subprocesses that are expected to fail, just like we would have to for normal method invocations

If I finish this up, you good with it @indirect ?

yeah, I'm good with this.

:umbrella: The latest upstream changes (presumably #3942) made this pull request unmergeable. Please resolve the merge conflicts.


Updated pt-BR translations

Thank you! It failed because of incompatible ajv change, it all works after fixing the version.


Can't use response_body from http_get virtual tables multiple times

First of all, thank you for this extension it's pretty sweet !
It looks like I can't reuse the body multiple times:
sqlite3> .mode table
sqlite3> select response_body, response_body from http_get('https://api.github.com/issues');

+--------------------------------------------------------------+---------------+
|                        response_body                         | response_body |
+--------------------------------------------------------------+---------------+
| {"message":"Not Found","documentation_url":"https://docs.git |               |
| hub.com/rest/reference/issues#list-issues-assigned-to-the-au |               |
| thenticated-user"}                                           |               |
+--------------------------------------------------------------+---------------+

Thanks for filing an issue!
You're right - referencing the response_body will read the response body reader to completion, so referencing it twice means the 2nd time will return NULL
I'll see how hard it'll be to cache that response. In the meantime, a workaround could be wrapping the query in a CTE with AS MATERIALIZED:
with responses as materialized (
  select response_body
  from http_get('https://api.github.com/issues')
)
select response_body, response_body
from responses;
/*
┌──────────────────────────────────────────────────────────────┬──────────────────────────────────────────────────────────────┐
│                        response_body                         │                        response_body                         │
├──────────────────────────────────────────────────────────────┼──────────────────────────────────────────────────────────────┤
│ {"message":"Not Found","documentation_url":"https://docs.git │ {"message":"Not Found","documentation_url":"https://docs.git │
│ hub.com/rest/reference/issues#list-issues-assigned-to-the-au │ hub.com/rest/reference/issues#list-issues-assigned-to-the-au │
│ thenticated-user"}                                           │ thenticated-user"}                                           │
└──────────────────────────────────────────────────────────────┴──────────────────────────────────────────────────────────────┘
*/

Hey there !
Yeah I was thinking about that workaround but it doesn't work for me: I'd like to use your extension in a recursive CTE, so it has to be in the "recursive statement" (https://sqlite.org/lang_with.html#recursive_common_table_expressions). My goal is to scrape an endpoint that offers paginated results with a next url that points to the next page:
WITH t(nextPage, numResults) AS (
    SELECT 'https://some.url', 0
    UNION ALL
    SELECT response_body->'next', json_array_length(response_body->'results') FROM http_get(t.nextPage)
)

I can't replace the second select with another CTE; I can't even replace it with
SELECT b->'next', json_array_length(b->'results') FROM (SELECT http_get_body(t.nextPage))

because a subquery like that doesn't work, it doesn't recognize that t is part of the recurvise CTE.


Script upload disabled on keycloack 18

Hello,
there is an issue with keycloack, script upload is disabled, so it is not loading realms from files:
2022-07-29 19:28:37,548 ERROR [org.keycloak.quarkus.runtime.cli.ExecutionExceptionHandler] (main) ERROR: Failed to start server in (development) mode
2022-07-29 19:28:37,548 ERROR [org.keycloak.quarkus.runtime.cli.ExecutionExceptionHandler] (main) ERROR: Failed to import realm: eauction
2022-07-29 19:28:37,548 ERROR [org.keycloak.quarkus.runtime.cli.ExecutionExceptionHandler] (main) ERROR: Script upload is disabled

So it is not loading realm. I found a workaround, with a different image and a parameter:
  keycloak:
    image: quay.io/keycloak/keycloak:17.0.0-legacy
    volumes:
      - ./keycloak:/opt/jboss/keycloak/imports
    environment:
      - KEYCLOAK_USER=admin
      - KEYCLOAK_PASSWORD=admin
      - KEYCLOAK_IMPORT=/opt/jboss/keycloak/imports/realm-export.json -Dkeycloak.profile.feature.upload_scripts=enabled
    ports:
        - 8080:8080

what do you think about this? am I doing sth incorrectly? or the docker compose file needs to be updated ?
Regards

Hi @link178. At what point did you get that error? I can't reproduce it when running the Keycloak container from this Docker Compose file: https://github.com/ThomasVitale/cloud-native-spring-in-action/blob/main/Chapter11/11-end/polar-deployment/docker/docker-compose.yml#L127

Hi, I tried with this config:
 keycloak:     image: quay.io/keycloak/keycloak:18.0     command: start-dev --import-realm     volumes:       - ./keycloak:/opt/keycloak/data/import     environment:       - KEYCLOAK_ADMIN=user       - KEYCLOAK_ADMIN_PASSWORD=password     ports:       - 8080:8080     deploy:         resources:             limits:                 memory: 500m             reservations:                 memory: 100m     networks:       - es-net
but same error message:
2022-08-01 20:13:43,549 ERROR [org.keycloak.quarkus.runtime.cli.ExecutionExceptionHandler] (main) ERROR: Failed to start server in (development) mode
2022-08-01 20:13:43,550 ERROR [org.keycloak.quarkus.runtime.cli.ExecutionExceptionHandler] (main) ERROR: Failed to import realm: eauction
2022-08-01 20:13:43,550 ERROR [org.keycloak.quarkus.runtime.cli.ExecutionExceptionHandler] (main) ERROR: Script upload is disabled

if you check keycloak docs, they indeed say that script upload have been disabled. So, I can´t move forward from here, unless I use the keycloak config I showed before....

@link178 thanks for your reply. The feature used in the book is the one for exporting/importing realms. Since Quarkus became the default distribution, importing realms can be done as explained in this guide: https://www.keycloak.org/server/importExport#_importing_a_realm_during_startup
The "upload-script" feature has ben deprecated for a long time and it's been removed in Keycloak 18. It's not needed to import a realm, but it looks like the import might fail depending on your Keycloak configuration regarding clients and authentication providers (which might rely on "uploading scripts"). I found this issue on the GitHub Keycloak project that might help you solve the problem: https://github.com/keycloak/keycloak/issues/11664
Does the import work when you use the JSON file I provide with the source code?

I'm closing the issue for now since the image runs correctly when using the configuration provided with the repository. Feel free to open a new issue should you find errors with the provided source code. Thank you.


Classifai frontend on web browser did not reflect the latest changes

Current Version: Version 1.1.1
Description: A bug(#277) supposed to be fixed in (v1.1.1) were not reflected although the older version (v1.1.0) has been deleted and reinstalled with the latest one.
In the web browser,
when the saving format for Pascal VOC
image: 1.png
saved as 1_png.xml
but supposed to be saved as 1.xml

Solution: https://github.com/CertifaiAI/CertifAI-Knowledge-Base/wiki/Clear-Browser-Cache


chore(master): release butler-sos 9.10.2

:robot: I have created a release beep boop
9.10.2 (2024-04-09)
Bug Fixes

Fix broken Docker image build (2c3a291)
Fix incorrect zip file names for pre-compiled binaries (f506ce1)
Supress experimental/deprecated warnings on startup (e2090a7), closes #762

Miscellaneous

master: release butler-sos 9.10.1 (6c7b297)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/ptarmiganlabs/butler-sos/releases/tag/untagged-7ff87c3d889d1be51f84 :sunflower:


MAINT: use abseil logging?

abseil's logging library has scant documentation and doesn't seem to be as powerful or configurable as the default logging library. I say we just stick with what we have for now. Closing.


Kscript: script compilation failed

I can't execute a simple Kotlin script because of compilation failed due to an invalid argument.
This is my Kotlin script:
#!/usr/bin/env kscript
println("Helloooo")

Then I've writter my very simple script, I've add executable permission to execute it:
chmod u+x SomeScript.kts
This is the error:
$ ./SomeScript.kts
[kscript] [ERROR] compilation of './SomeScript.kts' failed
error: invalid argument: -d
info: use -help for more information

How can I fix it?

Not sure, your example works perfectly for me. Are you using v2.9.3 of kscript?  How did you install it? Could you type
which kscript

to ensure that the intended version is being used?
What are your versions of java and kotlin?

Solved! I had already properly installed kscript via Homebrew, but, for some reason, only kotlinc was out of the PATH. I added it, and now it works!

You're welcome.


IIncrementalGenerator vs ISourceGenerator

I maintain a list of Roslyn Source Code Generators at ignatandrei.github.io/RSCG_Examples/v2/docs/List-of-RSCG
However, the source generators have been deprecated in favor of the new incremental generators , that allows better performance
See<EMAIL_ADDRESS>However this means passing from ISourceGenerator to IIncrementalGenerator
Could you do that ?
Thanks
Andrei

Hi,
If you're asking whether CsvMole.NET uses incremental source generation, it does.
If that doesn't answer your question do let me know
Thanks

Hi,
If you're asking whether CsvMole.NET uses incremental source generation, it does.
If that doesn't answer your question do let me know
Thanks

Hi,
If you're asking whether CsvMole.NET uses incremental source generation, it does.
If that doesn't answer your question do let me know
Thanks

Ups. I missed that. Thanks!


(Release 1.4) "null" Type for Optional Properties Part 3: Fix Update Partial Model

⚠ The fix belongs to Release 1.4. Need to change the target branch before merging.
Changes

Change the update behavior: set null instead of undefined to update the column value to null.
Fix bugs

Tests
Test to set null using MessageInfo use case.

create a MessageInfo by sending NotifyDisplayMessages
update MessageInfo without property, endDateTime and expect it is set to null in db.

Related PRs
Part 1: https://github.com/citrineos/citrineos-core/pull/183
Part 2: https://github.com/citrineos/citrineos-core/pull/184

Please feel free to let me know if there are other update need this set value to null behavior.


add GCE provider form has a dead link for google auth 2.0

Looking at upstream nightly 0624 image, I added a GCE provider and noticed that its add provider form has a "google auth 2.0" link under the provider credentials section which points to https:///auth/google_oauth2 and then redirects to the following error message on google.  Its a little unclear, I assume I need oauth configured first, with that said, it shouldn;t be a link if its not configured yet.
===============================================
400. That’s an error.
Error: invalid_request
Missing required parameter: client_id
Learn more
Request Details
access_type=offline
scope=https://www.googleapis.com/auth/compute https://www.googleapis.com/auth/devstorage.read_only https://www.googleapis.com/auth/logging.write https://www.googleapis.com/auth/cloud-platform email profile
response_type=code
redirect_uri=https://<appliance>/auth/google_oauth2/callback
state=<state>
client_id=

That’s all we know.

Hey, thanks for pointing this out. OAuth authentication does need some configuration to make it work, and also doesn't integrate easily with the fog-google client library. I think it's best to disable this as an authentication option as it's currently broken (or just remove this tab for now). @erjohnso, WDYT?

Having just started ramping up, I think I'd be in favor of removing the tab for now.

@erjohnso sounds good to me ... I think the Service Account credentials seems like a better authentication mechanism.

@miq-bot add_label providers/google

@blomquisg - regarding dev workflow, how does this issue get closed? I figured adding the issue id in PR #7091 would somehow auto-close.  I also don't see a miq-bot command for closing issues.

@erjohnso I think you did not follow https://help.github.com/articles/closing-issues-via-commit-messages/
Just mentioning the issue is not enough, you need to prefix it with a keyword GitHub understands.

Understood now, thanks @chessbyte.


docs: Added screenshots to the README

Fixes #11

@vijay-jaisankar Any changes required in this PR?

@yr1404 To keep up with accessibility standards, the docstrings and alt tags for images must be consistent - in this regard, there are a couple of (small) changes in this PR, please take a look at them in the Reviews section.

@yr1404 To keep up with accessibility standards, the docstrings and alt tags for images must be consistent - in this regard, there are a couple of (small) changes in this PR, please take a look at them in the Reviews section.

I am not able to find where are the changes listed. Can you help me with specifying those changes?

@vijay-jaisankar I have made alt tags and docstrings consistent for the screenshots. Kindly review.

LGTM! Thanks.


feat: add support for an MSSQL metadata backend

What issues does your PR fix?

resolves https://github.com/airflow-helm/charts/issues/487

What does your PR do?
This PR follows the official airflow guide and adds support for an MSSQL metadata backend. It does so by assuming the database is already set up according to the guide and creates the necessary database connection string, following the same process as for the already supported databases.
Checklist
For all Pull Requests

[X] Commits are signed off
[X] Commits have semantic messages
[X] Documentation updated
[ ] Passes ct linting

For releasing ONLY

[ ] Chart.yaml version bumped
[ ] CHANGELOG.md updated

@thesuperzapper, thanks for the review! I addressed your comments 👍
Lemme know if there's anything else

@thesuperzapper guess this can be closed: https://airflow.apache.org/docs/apache-airflow/2.9.0/release_notes.html#support-for-microsoft-sql-server-for-airflow-meta-database-has-been-removed-36514

@kodefish that's a bit sad, but I do understand why Airflow decided to do this, as its already a lot of work supporting MySQL and Postgres.


chore(main): release 39.2.0

:robot: I have created a release beep boop
39.2.0 (2024-08-22)
Features

dependency:install: add release def filter v2 (#108) (644f700)

Bug Fixes

dependency:resolver: missing dependencies due to package directory order (#107) (eb2fa37)
docs: update license info (f555bf4)
fht: fht/ft not being applied for post deployment (#101) (93a01cf)
pool: make pools using snapshot pools respect max allocation (#104) (a39b7d5)
schema: fix missing enableFT to schema (#106) (6138447)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/flxbl-io/sfp/releases/tag/v39.2.0 :sunflower:


Housekeeping calibration

There should be functions to convert data from ADU to physical units (e.g., A, mV) and vice versa.

Calibration class stub created. It provides 2 methods: calibrate(pol,hk,value) to convert from ADU to physical units and reverse(pol,hk,value) to convert physical units to ADU


no results return

Hi, is there an update recently?  since yesterday, googlenews.get_news() does not return anything

Hi @jiangcheng1999 there was an update yesterday - version 1.6.12 https://github.com/Iceloof/GoogleNews/releases/tag/v1.6.12

Thanks , it worked again, appreciated!


Request-promise depreceated

Request promise is deprecated.
Is there any specific need to use it that i'm missing? Or would it be possible to change to axios or any other non deprecated library?

I'll look into what framework is best later, maybe fetch for TS and then polyfill sth for the browser

i'm working on removing this right now for node-fetch, since it uses the same api as fetch from the browser, we can do a window.fetch || require('node-fetch')


Need to support panic recovery in the request handlers

https://github.com/lorenzodonini/ocpp-go/blob/c34f6ad20983d34d7575d9fa05d85368ed0109e2/ocpp1.6/central_system.go#L502-L509
What happen if a panic happens in a request handler in this go routine?
My server keep re starting since its a go routine, and my request level panic handler not working here. Need a way to handle the panic situations. Or have proper panic recovery for all the internal go routines.
defer func() {
			r := recover()
			if r != nil {
				var err error
				switch t := r.(type) {
				case string:
					err = errors.New(t)
				case error:
					err = t
				default:
					err = errors.New("Unknown error")
				}
				// sendMeMail(err)
				fmt.Println("recivered panic:", err)
				cs.sendResponse(chargePoint.ID(), confirmation, err, requestId)
			}
		}()

This is what is did in the start of the go routine to fix it.

The callback expects either a response or an error. Currently a panic within the same goroutine will break the request - response flow for that connection (which can only be fixed with a re-connection).
Why does the handler panic anyway?

My point was simply about "bad coders" beings responsible for their own implementation. If a handler is panicking, it should be fixed in there.
That being said your suggestion is definitely a good improvement, I'll add it in a PR.

My point was simply about "bad coders" being responsible for their own implementation. If a handler is panicking, it should be fixed in there.

Yes... it should be fixed in there, in our case there are many handlers performing ocpp message handling, and there is no common place in the library where i can wrap the logic of panic recovery. From a library perspective we need some handler injection possible at the root level,

That being said your suggestion is definitely a good improvement, I'll add it in a PR.

Thanks for taking it, better to accept it as a panic handler in the configurations of Server


Refactor out row partitioning logic from gpu_hist, introduce caching device vectors

This PR extracts out data structures and logic for partitioning rows in gpu_hist. It uses automatic caching memory allocators in the new data structure so that it may be deleted and recreated every tree building iteration without incurring memory allocation costs. The reason for doing this is to not keep memory buffers between training iterations with unknown state, instead it is cleaner and less bug prone to create and destroy data structures after each use.
The new RowPartitioner class accepts device lambdas as inputs to define logic for splitting instances into left or right nodes. This means the class has no dependency on any particular tree structure or logic for partitioning the tree.
This is part of an effort to separate our monolithic gpu_hist code base into parts that are reusable and separately testable. The indicator of whether we have succeeded in this is if the components could be reused in a different algorithm.
TODO:

[x] Check for performance regression on distributed benchmark

I see that external memory test is removed?  Will review once Jenkins passed.

Actually this is more interesting than code refactoring.  I sorted out some details of implementing boost_from_average.  One of them is we need to store row indices for trees so that we can renew the tree in objective.  I will see if it's possible to extend this row partition into support that.

I don't really want to write my own memory pool, I think it's hard to do correctly. But who knows, maybe we will have different requirements in future.
One benefit of the refactored allocators is that we can plug in the rapids memory manager for the rapids branch of xgboost to share memory with the ETL pipeline, but I don't see us doing that in xgboost proper.

this pr has broken unit tests and has regressed on training large datasets significantly. i'll comment on the pr with some observations.
even with those changes mentioned in the review comments, it still fails with kernel launch failures.

i could train the mortgage dataset with up 670m rows earlier on gpu. with this, it fails somewhere between 300 to 400m rows now.

Actually after #4587, I got a memory error once at this, then dead lock.  But running individual tests with cuda-memcheck shows no error.
[ RUN      ] GpuHist.SortPosition
terminate called after throwing an instance of 'dmlc::Error'
  what():  [01:54:56] /home/fis/Workspace/xgb/xgboost/tests/cpp/common/../../../src/common/common.h:41: /home/fis/Workspace/xgb/xgboost/src/tree/gpu_hist/row_partitioner.cu: 84: an illegal memory access was encountered
Stack trace:
  [bt] (0) ./testxgboost(dmlc::LogMessageFatal::~LogMessageFatal()+0x4a) [0x55585168eb0a]
  [bt] (1) ./testxgboost(dh::ThrowOnCudaError(cudaError, char const*, int)+0x19b) [0x5558517714f4]
  [bt] (2) ./testxgboost(xgboost::tree::RowPartitioner::~RowPartitioner()+0xb2) [0x555851ac8192]
  [bt] (3) ./testxgboost(xgboost::tree::TestSortPosition(std::vector<int, std::allocator<int> > const&, int, int)+0xb7c) [0x5558517e3c73]
  [bt] (4) ./testxgboost(xgboost::tree::GpuHist_SortPosition_Test::TestBody()+0x8c) [0x5558517e3d92]
  [bt] (5) /usr/local/lib/libgtest.so(void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*)+0x65) [0x7faab60248a7]
  [bt] (6) /usr/local/lib/libgtest.so(void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*)+0x5a) [0x7faab601e6a3]
  [bt] (7) /usr/local/lib/libgtest.so(testing::Test::Run()+0xd2) [0x7faab5ffcc4c]
  [bt] (8) /usr/local/lib/libgtest.so(testing::TestInfo::Run()+0xf3) [0x7faab5ffd5a9]

Here is the whole backtrace obtained by attaching gdb into the process:
#0  0x00007fff7b535b14 in clock_gettime ()
#1  0x00007f55e111b9f6 in __GI___clock_gettime (clock_id=4, tp=0x7fff7b4be0d0) at ../sysdeps/unix/clock_gettime.c:115
#2  0x00007f55668a1d0e in ?? () from /usr/lib/x86_64-linux-gnu/libcuda.so.1
#3  0x00007f556695cc77 in ?? () from /usr/lib/x86_64-linux-gnu/libcuda.so.1
#4  0x00007f556697e8e4 in ?? () from /usr/lib/x86_64-linux-gnu/libcuda.so.1
#5  0x00007f556687b38d in ?? () from /usr/lib/x86_64-linux-gnu/libcuda.so.1
#6  0x00007f55667886ce in ?? () from /usr/lib/x86_64-linux-gnu/libcuda.so.1
#7  0x00007f556678b7f3 in ?? () from /usr/lib/x86_64-linux-gnu/libcuda.so.1
#8  0x00007f55669077cb in cuMemcpyDtoHAsync_v2 () from /usr/lib/x86_64-linux-gnu/libcuda.so.1
#9  0x00005645a2f3a4df in cudart::driverHelper::memcpyAsyncDispatch(void*, void const*, unsigned long, cudaMemcpyKind, CUstream_st*, bool) ()
#10 0x00005645a2f0d3e3 in cudart::cudaApiMemcpyAsync(void*, void const*, unsigned long, cudaMemcpyKind, CUstream_st*) ()
#11 0x00005645a2f50118 in cudaMemcpyAsync ()
#12 0x00005645a2b5e05a in thrust::cuda_cub::trivial_copy_from_device<int> (stream=0x1, count=5, src=0x7f54ef004800, dst=0x5645a678c720)
    at /usr/local/cuda/bin/../targets/x86_64-linux/include/thrust/system/cuda/detail/util.h:98
#13 thrust::cuda_cub::__copy::trivial_device_copy<thrust::cuda_cub::tag, thrust::system::cpp::detail::tag, int, long> (count=5, src=0x7f54ef004800, dst=0x5645a678c720, device_s=...)
    at /usr/local/cuda/bin/../targets/x86_64-linux/include/thrust/system/cuda/detail/internal/copy_cross_system.h:80
#14 thrust::cuda_cub::__copy::cross_system_copy_n<thrust::cuda_cub::tag, thrust::system::cpp::detail::tag, thrust::detail::normal_iterator<thrust::device_ptr<int const> >, long, int*> (sys1=...,
    sys2=..., begin=..., n=5, result=0x5645a678c720) at /usr/local/cuda/bin/../targets/x86_64-linux/include/thrust/system/cuda/detail/internal/copy_cross_system.h:103
#15 0x00005645a2b5d6f3 in thrust::cuda_cub::__copy::cross_system_copy_n<thrust::cuda_cub::tag, thrust::system::cpp::detail::tag, thrust::detail::normal_iterator<thrust::device_ptr<int const> >, long, int*> (systems=..., begin=..., n=5, result=0x5645a678c720) at /usr/local/cuda/bin/../targets/x86_64-linux/include/thrust/system/cuda/detail/internal/copy_cross_system.h:244
#16 0x00005645a2b5cb0f in thrust::cuda_cub::__copy::cross_system_copy<thrust::cuda_cub::tag, thrust::system::cpp::detail::tag, thrust::detail::normal_iterator<thrust::device_ptr<int const> >, int*> (
    systems=..., begin=..., end=..., result=0x5645a678c720) at /usr/local/cuda/bin/../targets/x86_64-linux/include/thrust/system/cuda/detail/internal/copy_cross_system.h:264
#17 0x00005645a2b5bafb in thrust::cuda_cub::copy<thrust::cuda_cub::tag, thrust::system::cpp::detail::tag, thrust::detail::normal_iterator<thrust::device_ptr<int const> >, int*> (systems=..., first=...,
    last=..., result=0x5645a678c720) at /usr/local/cuda/bin/../targets/x86_64-linux/include/thrust/system/cuda/detail/copy.h:174
#18 0x00005645a2b5b014 in thrust::copy<thrust::cuda_cub::cross_system<thrust::cuda_cub::tag, thrust::system::cpp::detail::tag>, thrust::detail::normal_iterator<thrust::device_ptr<int const> >, int*> (
    exec=..., first=..., last=..., result=0x5645a678c720) at /usr/local/cuda/bin/../targets/x86_64-linux/include/thrust/detail/copy.inl:37
#19 0x00005645a2b5a056 in thrust::detail::two_system_copy<thrust::cuda_cub::tag, thrust::system::cpp::detail::tag, thrust::detail::normal_iterator<thrust::device_ptr<int const> >, int*> (system1=...,
    system2=..., first=..., last=..., result=0x5645a678c720) at /usr/local/cuda/bin/../targets/x86_64-linux/include/thrust/detail/copy.inl:72
#20 0x00005645a2b58e30 in thrust::detail::allocator_traits_detail::copy_construct_range<thrust::cuda_cub::tag, std::allocator<int>, thrust::detail::normal_iterator<thrust::device_ptr<int const> >, int*>
    (from_system=..., a=..., first=..., last=..., result=0x5645a678c720) at /usr/local/cuda/bin/../targets/x86_64-linux/include/thrust/detail/allocator/copy_construct_range.inl:218
#21 0x00005645a2b57e43 in thrust::detail::copy_construct_range<thrust::cuda_cub::tag, std::allocator<int>, thrust::detail::normal_iterator<thrust::device_ptr<int const> >, int*> (from_system=..., a=...,
    first=..., last=..., result=0x5645a678c720) at /usr/local/cuda/bin/../targets/x86_64-linux/include/thrust/detail/allocator/copy_construct_range.inl:291
#22 0x00005645a2b56edd in thrust::detail::contiguous_storage<int, std::allocator<int> >::uninitialized_copy<thrust::detail::normal_iterator<thrust::device_ptr<int const> > > (this=0x7fff7b4bf4c0,
    first=..., last=..., result=...) at /usr/local/cuda/bin/../targets/x86_64-linux/include/thrust/detail/contiguous_storage.inl:225
#23 0x00005645a2b55d5c in thrust::detail::vector_base<int, std::allocator<int> >::allocate_and_copy<thrust::detail::normal_iterator<thrust::device_ptr<int const> > > (this=0x7fff7b4bf4c0,
    requested_size=5, first=..., last=..., new_storage=...) at /usr/local/cuda/bin/../targets/x86_64-linux/include/thrust/detail/vector_base.inl:1097
#24 0x00005645a2b54adc in thrust::detail::vector_base<int, std::allocator<int> >::range_init<thrust::detail::normal_iterator<thrust::device_ptr<int const> > > (this=0x7fff7b4bf4c0, first=..., last=...)
    at /usr/local/cuda/bin/../targets/x86_64-linux/include/thrust/detail/vector_base.inl:230
#25 0x00005645a2b52a14 in thrust::detail::vector_base<int, std::allocator<int> >::range_init<thrust::detail::normal_iterator<thrust::device_ptr<int const> > > (this=0x7fff7b4bf4c0, first=..., last=...)
    at /usr/local/cuda/bin/../targets/x86_64-linux/include/thrust/detail/vector_base.inl:206
#26 0x00005645a2b50345 in thrust::detail::vector_base<int, std::allocator<int> >::vector_base<int, thrust::device_malloc_allocator<int> > (this=0x7fff7b4bf4c0, v=...)
    at /usr/local/cuda/bin/../targets/x86_64-linux/include/thrust/detail/vector_base.inl:119
#27 0x00005645a2b4d923 in thrust::host_vector<int, std::allocator<int> >::host_vector<int, thrust::device_malloc_allocator<int> > (this=0x7fff7b4bf4c0, v=...)
    at /usr/local/cuda/bin/../targets/x86_64-linux/include/thrust/detail/host_vector.inl:31
#28 0x00005645a2b464a5 in xgboost::tree::TestSortPosition (position_in=std::vector of length 5, capacity 5 = {...}, left_idx=1, right_idx=2)
    at /home/fis/Workspace/xgb/xgboost/tests/cpp/tree/gpu_hist/test_row_partitioner.cu:30
#29 0x00005645a2b46d92 in xgboost::tree::GpuHist_SortPosition_Test::TestBody (this=0x7f55d251d240) at /home/fis/Workspace/xgb/xgboost/tests/cpp/tree/gpu_hist/test_row_partitioner.cu:47
#30 0x00007f55e163c8a7 in void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) () from /usr/local/lib/libgtest.so
#31 0x00007f55e16366a3 in void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) () from /usr/local/lib/libgtest.so
#32 0x00007f55e1614c4c in testing::Test::Run() () from /usr/local/lib/libgtest.so
#33 0x00007f55e16155a9 in testing::TestInfo::Run() () from /usr/local/lib/libgtest.so
#34 0x00007f55e1615c45 in testing::TestCase::Run() () from /usr/local/lib/libgtest.so
#35 0x00007f55e1620b0a in testing::internal::UnitTestImpl::RunAllTests() () from /usr/local/lib/libgtest.so
--Type <RET> for more, q to quit, c to continue without paging--
#36 0x00007f55e163da2e in bool testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) () from /usr/local/lib/libgtest.so
#37 0x00007f55e16374fb in bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) () from /usr/local/lib/libgtest.so
#38 0x00007f55e161f563 in testing::UnitTest::Run() () from /usr/local/lib/libgtest.so
#39 0x00005645a2ab29f8 in RUN_ALL_TESTS () at /usr/local/include/gtest/gtest.h:2341
#40 0x00005645a2ab2884 in main (argc=1, argv=0x7fff7b4bfc98) at /home/fis/Workspace/xgb/xgboost/tests/cpp/test_main.cc:12

this seems to work:
diff --git a/src/common/device_helpers.cuh b/src/common/device_helpers.cuh
index c1ff749..d132e21 100644
--- a/src/common/device_helpers.cuh
+++ b/src/common/device_helpers.cuh
@@ -334,8 +334,8 @@ struct XGBCachingDeviceAllocatorImpl : thrust::device_malloc_allocator<T> {
    {
     // Configure allocator with maximum cached bin size of ~1GB and no limit on
     // maximum cached bytes
-     static cub::CachingDeviceAllocator allocator(8,3,10);
-     return allocator;
+     static cub::CachingDeviceAllocator *allocator = new cub::CachingDeviceAllocator(8,3,10);
+     return *allocator;
    }
    pointer allocate(size_t n) {
      T *ptr;
diff --git a/src/tree/updater_gpu_hist.cu b/src/tree/updater_gpu_hist.cu
index 714e625..e0e7be7 100644
--- a/src/tree/updater_gpu_hist.cu
+++ b/src/tree/updater_gpu_hist.cu
@@ -611,8 +611,6 @@ struct DeviceShard {
   /*! \brief Sum gradient for each node. */
   std::vector<GradientPair> node_sum_gradients;
   common::Span<GradientPair> node_sum_gradients_d;
-  /*! \brief On-device feature set, only actually used on one of the devices */
-  dh::device_vector<int> feature_set_d;
   /*! The row offset for this shard. */
   bst_uint row_begin_idx;
   bst_uint row_end_idx;
diff --git a/tests/cpp/tree/gpu_hist/test_row_partitioner.cu b/tests/cpp/tree/gpu_hist/test_row_partitioner.cu
index 1106d84..1503d2e 100644
--- a/tests/cpp/tree/gpu_hist/test_row_partitioner.cu
+++ b/tests/cpp/tree/gpu_hist/test_row_partitioner.cu
@@ -11,15 +11,16 @@ namespace tree {

 void TestSortPosition(const std::vector<int>& position_in, int left_idx,
                       int right_idx) {
+  dh::safe_cuda(cudaSetDevice(0));
   std::vector<int64_t> left_count = {
       std::count(position_in.begin(), position_in.end(), left_idx)};
-  thrust::device_vector<int64_t> d_left_count = left_count;
-  thrust::device_vector<int> position = position_in;
-  thrust::device_vector<int> position_out(position.size());
+  dh::caching_device_vector<int64_t> d_left_count = left_count;
+  dh::caching_device_vector<int> position = position_in;
+  dh::caching_device_vector<int> position_out(position.size());

-  thrust::device_vector<RowPartitioner::RowIndexT> ridx(position.size());
+  dh::caching_device_vector<RowPartitioner::RowIndexT> ridx(position.size());
   thrust::sequence(ridx.begin(), ridx.end());
-  thrust::device_vector<RowPartitioner::RowIndexT> ridx_out(ridx.size());
+  dh::caching_device_vector<RowPartitioner::RowIndexT> ridx_out(ridx.size());
   RowPartitioner rp(0,10);
   rp.SortPosition(
       common::Span<int>(position.data().get(), position.size()),
diff --git a/tests/cpp/tree/test_gpu_hist.cu b/tests/cpp/tree/test_gpu_hist.cu
index 3aebc1d..39dd911 100644
--- a/tests/cpp/tree/test_gpu_hist.cu
+++ b/tests/cpp/tree/test_gpu_hist.cu
@@ -197,8 +197,6 @@ void TestBuildHist(bool use_shared_memory_histograms) {
     gpair = GradientPair(grad, hess);
   }

-  int num_symbols = shard.n_bins + 1;
-
   thrust::host_vector<common::CompressedByteT> h_gidx_buffer (
       shard.gidx_buffer.size());

That's a memory leak though right? The object is never destructed.

the objects is created once and never destructed. this will be reclaimed when the process goes away. hence, from a memory consumption standpoint, there should be no difference. it is a memory in use that is never freed at exit. the ones that are bad are allocations that are repeatedly done that are never released.


Getting an error while trying to flash TTGO

Am I doing something wrong?

As far as I can see you're not doing anything wrong.
Is this the latest jade master branch (with the configs/sdkconfig_display_ttgo_tdisplay.defaults copied over sdkconfigs.defaults) ??
Have you tried removing sdkconfig and idf.py fullclean all first ?
I'm clutching at straws, to be honest.

Hm, ok:
DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
I don't see that ... might mean your python version is different which may affect those hashes.
FYI: I'm using Python 3.9.2, and have different environments with setuptools versions 52.0.0, 67.4.0 and 67.8.0 - all of which seem fine.  ( python -c "import setuptools; print(setuptools.__version__)")  (*I note the latest is 68.0.0 ...)

Also, probably unrelated to this precise issue but:
Project is not inside a git repository, or git repository has no commits; will not use 'git describe' to determine PROJECT_VER.
Not ideal - won't know what version tag to apply.  Better to ensure the Jade dir is a git repo and the user building has relevant permissions.

Is this resolved ?


Remove duplication between istioctl and in-cluster operator

we currently have a few areas, mostly IOP yaml merging and generation, that are slightly different between istioctl and operator, which is a potential source of hard-to-trace bugs. We should reuse as much code as possible between tools.

Fixed in https://github.com/istio/istio/pull/23165.


Release 0.14.0

Should the metadata add Puppet requirement? It's currently missing any Puppet field in the metadata.


fix(input): change height to max height on input

Short description of what this resolves:
This PR tries to add the same behavior in Chrome, Safari and FF, when the input is not wrapped in html tags :  see example with different browsers
https://glitch.com/edit/#!/regular-magician?path=index.html:5:8
Changes proposed in this pull request:

change height : 100% to max-height : 100%

Thanks! :tada:


Add 'hidden' class to 'Add Dataset' button

References: https://www.pivotaltracker.com/story/show/84948610
Hides 'Add Dataset' button because it is/feels broken and the card it is on will soon be heavily reworked.

Aside from the comment, looks OK. :+1:


Description of applied filters missing/misleading

[Enter feedback here]
For me as a reader of this documentation it is not clear if the copy of the visual only means that the set filters are described textually or if the filters set in the report are also found in the generated link.
That means when I click on the link I see exactly what the copier saw.

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

ID: 00479245-9654-ad47-b2d5-12f1e36ccdc9
Version Independent ID: b46f2147-f0e8-cad0-7240-28b7231ae70d
Content: Copy and paste a visualization in Power BI - Power BI
Content Source: powerbi-docs/visuals/power-bi-visualization-copy-paste.md
Service: powerbi
Sub-service: pbi-visuals
GitHub Login: @mihart
Microsoft Alias: mihart

Thanks for your comment, @JosefPrakljacic . This issue has been assigned to the doc author for review.

Edited to make it more clear. Now it reads: "When you copy a static image of a visual, you get a copy of the visual, including filters applied to it, along with its metadata."

@msftrien @JosefPrakljacic
Thank you both :-)  Closing this git issue now.


Example throws AttributeError

  File "auger/generator/generator.py", line 13, in <genexpr>
    if hasattr(mod, '__file__')

AttributeError: 'NoneType' object has no attribute 'replace

and if if fix that with
def init_module_names():
    modules = [item for item in sys.modules.items()]
    for name, mod in modules:
        try:
            key = getattr(mod, '__file__').replace('.pyc', '.py')
            file_to_module_name[key] = name
        except AttributeError:
            pass

it throws
auger/generator/default.py", line 73, in find_module
    file = getattr(mod, '__file__', '').replace('.pyc', '.py')

AttributeError: 'NoneType' object has no attribute 'replace'

which i can fix with
def find_module(self, code):
    for modname, mod in sys.modules.items():
        try:
            file = getattr(mod, '__file__', '').replace('.pyc', '.py')
            except AttributeError:
                continue
            if file == runtime.get_code_filename(code):
                if modname == "__main__":
                    modname = file.replace(".py", "").replace("/", ".")
                self.add_import(modname)
                return modname, mod

auger then runs the Foo example, and my own use case without any further issues

Hi there Robert, sorry for the delayed response.
How are you running the Foo example? If I have foo.py in the root of a virtualenv, and run the following script, it runs without issue.
import auger, foo

with auger.magic([foo.Foo]):
    foo.main()

i run a file with the following file with python test.py from bash:
class Foo:                # Declare a class with a method
    def bar(self, x):
        return 2 * x      # Duplicate x and return it

def main():
    foo = Foo()           # Create an instance of Foo
    print(foo.bar(32))    # Call the bar method and print the result

if __name__ == "__main__":
    import auger
    with auger.magic([Foo]):
        main()

Okeydokey, created a completely new virtual environment with virtualenv just for auger, with only
auger-python==0.1.35
funcsigs==1.0.2
mock==3.0.5
six==1.12.0

and test.py runs fine.  I installed an editable package (with pip install -e ), and it still runs. Might be a conflict with anaconda.

One thing you should be aware of is that auger is really written for Python 2, not Python 3, so you may run into some compatibility issues. For example, see issue #22

can anyone please help me understand what auger.magic means? i cannot find any class/file named magic in auger projectac


Windows Machine Learning Code Generator Not Working

I'm submitting a…

Bug report (I searched for similar issues and did not find one)

Current behavior

When adding an onnx model with right click on assets -> add existing item . No code is generated but onnx model appears in assets folder.
Expected behavior

Interface file to be generated.
Minimal reproduction of the problem with instructions

Repo - Stock MNIST tutorial demo.
Steps:

Open solution
Right click on assets
add from existing file mnist.onnx
Model is added but no code generated

Environment
Windows Build Number: 18362.535
App min and target version: 17763, 18362
OS Version (Server, IoT Core, Desktop, etc): Windows 10 Pro
Graphics Driver version: <IP_ADDRESS>72
DxDiag: 10.00.18362.0387
WinMLTools specific:
- Source training framework: (e.g. CoreML, Scikit-learn, …)
- WinMLTools version
Visual Studio

[x ] Microsoft Visual Studio Professional 2019 16.4.2
[x ] Microsoft Visual Studio Professional 2017 15.9.18
tried with both

l MLGen that g

Hi @LPBourret. I have tried the extension "Windows Machine Learning Code Generator" as per the title in both VS 2017 and 2019 with no luck. Even tried uninstalling the extension and reinstalling on both. Also tried uninstalling VS 2019 and reinstalling. No luck there either.

Hi @Janickvw
thank you for trying the install of the plugin, 1 more thing: can you confirm that after installing the plugin you excluded then added back the ONNX model file? If you installed the plugin and then opened your project already containing the model file, the class would not have been generated. The wrapper class generation occurs only upon adding the model file to your project.

@LPBourret Hi yes, I tried excluding and re adding the model many times after the extension was installed. Also tried excluding the model, closing VS, reopening and re adding to no luck.

I am seeing the same exact behavior.  I have tried install, uninstall/reinstall, disable/enable, different models from known UWP sample apps, model from Custom Vision - nothing happens when adding an onnx file to the project.

Hi @Janickvw and @mspmtc,
What's the ONNX versions of your models. I think they should be higher than opset8(ONNX 1.3).
The released MLgen support to generate code for models with versions under 1.3.
The coming releasing MLGen will support ONNX 1.4 and ONNX 1.5

Hi @zhangxiang1993 this is the model https://gallery.azure.ai/Model/MNIST-Handwritten-Digit-Recognition . I assumed this model would work with MLgen as it is literally the model used in the MLgen tutorial demo, so it doesn't make sense this wouldn't work. Also tried using my custom vision object detection model which didn't work either.

@Janickvw Weird, for me with Visual Studio 2019 (v16.4.2) and this Windows Machine Learning Code Generator pluging, the model you linked leads to correct automatically generated wrapping code. The model is of an older ONNX opset that was supported by CNTK 2.4 so the ONNX opset version is not the issue here.

@Janickvw. I cannot repro your issue on my machine, either.
But we have a new release for both VS2017 and VS2019.  You could take a try.

Just applied the 1/2/2020 update to WMLCG and still no joy.   Very disappointing.  No errors.  Muddling through how to build the c# wrapper using online code examples.

MLGEN is not working !  I tried with different versions under 1.3 and still no .cs generated.
I'm using VS2019

It may be a path character problem. For example, code generation failed in c:\한글\WIndows-Machine-Learning. It created the mnist.cs file to Assets folder but no code in it. So I moved the Sample folder to c:\WIndows-Machine-Learning and it works.

I'm experiencing the same issue in Visual Studio 2019 with an onnx model version 1.5

@miyrai can you install the latest "Windows Machine Learning Code Generator" from visual studio market place and try again? https://marketplace.visualstudio.com/items?itemName=WinML.MLGenV2

@miyrai , would you be able to share your model for investigation purposes? I was able to get onnx models version 1.3 and 1.5 working on my end.
1.3 model : https://github.com/onnx/models/tree/master/vision/classification/alexnet
1.5 model : https://github.com/onnx/models/tree/master/vision/object_detection_segmentation/ssd

@ryanlai2 I used this one https://github.com/onnx/models/blob/master/vision/object_detection_segmentation/mask-rcnn/model/MaskRCNN-10.onnx and i also tried your suggested models, but it didn't work with both of them.
I know that the problem is with my settings, because it works for you, so what i did is:

Extension > Windows Machine Learning Code Generation is installed
latest windows sdk version

Create a new Blank App(Universial Windows) Project

Target version: Windows 10, version 1903(10.0; Build 18362)
Minimum version: Windows 10, version 1809(10.0; Build 17763)

Right click on Assets folder > Add > Existing Item > .onnx file

@ryanlai2  if it works for you that the cs file of my onnx model is generated, maybe you could just send me the cs file? thats all i need

Here you go @miyrai ! Let me know if it works :) You will need to change the namespace.
MaskRCNN-10.zip

@ryanlai2 I used this one https://github.com/onnx/models/blob/master/vision/object_detection_segmentation/mask-rcnn/model/MaskRCNN-10.onnx and i also tried your suggested models, but it didn't work with both of them.
I know that the problem is with my settings, because it works for you, so what i did is:

Extension > Windows Machine Learning Code Generation is installed
latest windows sdk version

Create a new Blank App(Universial Windows) Project

Target version: Windows 10, version 1903(10.0; Build 18362)
Minimum version: Windows 10, version 1809(10.0; Build 17763)

Right click on Assets folder > Add > Existing Item > .onnx file

It works

For anyone still running into problems win the mlgen: The extension doesn't work if the full path to your project contains white spaces!
Unfortunately, this was was what broke it for me: There was one white space in the path, and the code generation didn't work. Once I eliminated the whitespace, code generation worked in an instant.


Automated cherry pick of #2451: Update OVS version from 2.14.0 to 2.14.2

Cherry pick of #2451 on release-0.13.
#2451: Update OVS version from 2.14.0 to 2.14.2
For details on the cherry pick process, see the cherry pick requests page.

There are some significant differences between this and the original PR being cherry-picked, due to some massive changes in how we track the OVS version post 0.13

Codecov Report

Merging #2462 (d705cc5) into release-0.13 (b54cce6) will decrease coverage by 9.60%.
The diff coverage is n/a.

@@               Coverage Diff                @@
##           release-0.13    #2462      +/-   ##
================================================
- Coverage         61.29%   51.69%   -9.61%
================================================
  Files               201      201
  Lines             17286    17286
================================================
- Hits              10596     8936    -1660
- Misses             5582     7402    +1820
+ Partials           1108      948     -160

Flag
Coverage Δ

kind-e2e-tests
33.46% <ø> (-17.79%)
:arrow_down:

unit-tests
40.99% <ø> (+0.07%)
:arrow_up:

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


[Bug]: Issues with the Filter tab of the Depictions annotator for Browse CO and Browse OTUs

Steps to reproduce the bug
Steps for Browse CO - similar for Browse OTUs.
1. Go to browse CO for a particular CO, say /tasks/collection_objects/browse?collection_object_id=1
2. Click on the radial annotator and choose Depictions.
3. Click on the Filter tab.

Actual results: get a red overlay saying `coIds.map is not a function`. Dev tools says the error is at `FacetCollectionObject.vue:56`. I'll continue the rest below.

Screenshot
No response
Expected behavior
No response
Additional Screenshots
No response
Environment
Development (docker)
Sandbox Used
No red overlay on sandbox, but you can see the error in devtools
Version
No response
Browser Used
No response

FacetCollectionObject.vue:56 is
https://github.com/SpeciesFileGroup/taxonworks/blob/f5e3a0c74a3b6a324bbc6cd366fce9ac677ea77e/app/javascript/vue/components/Filter/Facets/CollectionObject/FacetCollectionObject.vue#L53-L56
coIds is assumed to be an array, whereas in this case it's the number 1. If I fix that the red overlay goes away, but I think maybe the filter function is still not working?
If I'm reading things correctly it looks like the filter tab is loading a FilterImage that's listening for a parameters event and calling loadList to load images matching the filter, but FilterImage doesn't emit a parameters event and I don't see loadList ever getting called. I could easily just be confused though.
https://github.com/SpeciesFileGroup/taxonworks/blob/f5e3a0c74a3b6a324bbc6cd366fce9ac677ea77e/app/javascript/vue/components/radials/annotator/components/depictions/depiction_annotator.vue#L128-L132

The corresponding Browse OTUs issue is at
https://github.com/SpeciesFileGroup/taxonworks/blob/f5e3a0c74a3b6a324bbc6cd366fce9ac677ea77e/app/javascript/vue/components/Filter/Facets/Otu/FacetOtu.vue#L87-L90

Yah, you're right. Event shouldn't be there, this was implemented before we refactor filters and we forgot to update it. Otu Facet was fine, by default it was defining an empty array, the problem was CO facet, which it doesn't define anything by default. Anyway I've refactored to reduce request with multiple ids


3 D plotting

Original : https://github.com/SciRuby/daru/issues/154

[ ] nyaplot 3d plotting

[x] highcharts 3d plotting : 3d pie chart example | just need to add options3d: {enabled: true,} options

[x] google charts 3d plotting :  3d pie chart example | just add is3D: true options

Use camel case for options. So it should be is_3d and options_3d.

Options are used same as the how  highcharts/googlecharts using. So  I think it is better to not to change them. I will use is_3d  for nyaplot 3d.

I see that Nyaplot 3d has only these 3d charts features : http://nbviewer.jupyter.org/github/domitry/Nyaplot/blob/master/examples/notebook/3DPlot.ipynb
which is not much useful. @v0dro  Should daru-view use them ?


ARROW-2811: [Python] Test serialization for determinism

This adds a test to make sure that object serialization is deterministic (currently failing).

Cherry-picked this into #2216


Error when building as it is python 3.10.11 gpu cuda12

This doesn't work... There are quite a few parts of the code that don't work and need to be modified. In the end, I tried while editing the texttoimage.. The rest of the parts look similar???
Is it only in colab??

you should provide which error you are facing and specify your environment.
It does works.

maybe it's useful to you https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/14651
Don’t use dependencies from your project, instead handle dependencies and out-of-date API calls externally


404 at /go/guides/PS

I found a broken link : https://docs.docker.com/go/guides/PS

Can you tell us where you found this link?
Did you perhaps copy this link from the commmandline? I suspect you may have copied your shell's prompt (PS>)
The URL you're looking for is https://docs.docker.com/go/guides/

Closing as stale.


Script is killed when ran on Termux (Android)

System OS
Termux (Android)
Python Version
3.10 (CPython)
Install Source
Termux Installation Script (spotDL provided)
Install version / commit hash
3.9.6
Expected Behavior vs Actual Behavior
When downloading music, it printed something like [1] PID and then after downloading few song, starting to proccess, it suddenly stopped and says '[1] Stopped '
it happens both on Android 12 (which first i suspect is Phantom Killing) but it also happens in android 11
Steps to reproduce - Ensure to include actual links!

Install Spotdl
ran spotdl
wait until it stops loading
enter
then [1]+ stopped showed up, and the whole operation is killed

Traceback
spotdl https://open.spotify.com/track/2gANywSFYF58YFMPdDSAjC?si=NbRupIvvQXGyBvLbsLTiCA&utm_source=copy-link
[2] 18220
Fetching Song...
Found YouTube URL for "Oasis - Stand by Me" :
https://www.youtube.com/watch?v=AhM8nl3obLw

Oasis - Stand by Me   Download Started   ━━━━━━━━━━━━━━━━━━━━━━   0% -:--:--

[2]+  Stopped                 spotdl https://open.spotify.com/track/2gANywSFYF58YFMPdDSAjC?si=NbRupIvvQXGyBvLbsLTiCA

Other details
No response

You must remove &utm_source from URLs, since the & is a control operator in terminal


Firefox permissions

I noticed the extension now requires access to all tabs on Firefox.
I was wondering why this was needed but I couldn't find the commit where it was changed.
Could you point me in the right direction?
Kind regards,
Alice

Hello,
The tabs permission change was introduced early in the extension rewrite and is used only here.
The extension uses URLs to determine whether it should load an integration or not, and this also applies for the popout screen. Unfortunately for principle of least privilege, getting the URL of the currently selected tab in a popout requires the tabs permission which is rather broad sadly.

Actually, looking back at the docs it seems I completely overlooked the activeTab permission, whoops!
I'll loosen the permission requirements and publish a new version shortly.

The new version of the extension (0.6.1) should go live on AMO shortly. Thanks for the heads up!

Thank you :)


improve validation performance

Currently, updating the CSS classes during validation is very expensive. This is especially true if ngAnimate is loaded.
To improve this, let's be more efficient in updating the CSS classes (do only what is needed) and let's disable ngAnimate during refresh-processing.

Implemented on master (v2.0.0).


[BEAM-11111] Fix website publish to use stable directory so that .git directory can be found.

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

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

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

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

Website Publish

R: @kamilwu @ibzib


Add your MoJ email address to your Github account

Your access to the ministryofjustice GitHub organisation will be revoked if you don't add a @digital.justice.gov.uk, @justice.gov.uk, @cica.gov.uk or @hmcts.net email address to your GitHub account. This is an automated process please do not change any settings, only make the email change in your settings area.

I've added my @digital.justice.gov.uk email now


chore: bdd-spring-1573227408 to 0.0.1

chore: Promote bdd-spring-1573227408 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Inferred vs explicit principals

The three principals (#91), User, Organization and Team are explicitly defined by the act of a user registering an account and creating orgs and teams.
However, it is also possible for the existence of these principals to be inferred from other data. Inferred principals show up as a recurring pattern:

We may encounter a new User first via their email address or phone number, such as via a mailing list subscription, or a guest checkout in an online purchase.
Hasjob has an inferred Organization via the Domain model guessed from an email address. Discussion in hasgeek/hasjob#141.
Lastuser has a copy of this idea in #185 (inverted, email-backed teams and organizations).
Hasjob also has an inferred Team guessed from the collaborators on a job post. Discussion in hasgeek/hasjob#375.
Boxoffice similarly has inferred organizations and teams that show up in purchase orders. Organization-wide discounts need to be calculated on the basis of these inferred organizations (again using email domain for now).

Inferred principals aren't explicit data. They are metadata on other types of data within each app. They are best understood as queries or views rather than explicit models. While an explicit model may exist such as Hasjob's Domain, these are for convenience and classify as app data, not user data. Hasjob's domains cannot be renamed or deleted, for instance. A qualifying user may submit additional data such as a title (the organization's name), but will not own the inferred principal's record.
Inferred principals allow a user access to data they are authorised to own or edit, without requiring an explicit grant of that authority. Lastuser should provide guidelines on how inferred principals may be identified and related data placed under the authority of explicit principals.

In hasgeek/coaster#157, a new concept "anchor" is introduced, and inferred principals are defined as a chain of activity linking anchors.


Makes bitcoind a forking daemon

Unless I'm mistaken, we'd like bitcoind to run as a daemon, and doing so requires it to be a forking process under systemd .
See:

https://github.com/bitcoin/bitcoin/blob/master/contrib/init/bitcoind.service#L33
https://manpages.ubuntu.com/manpages/impish/man5/systemd.service.5.html
https://bitcoin.stackexchange.com/questions/74116/bitcoind-daemon-mode

This seems reasonable to me but I'm not a systemd expert. What do you think @casey?

Thank you for the PR! This seems reasonable, but I don't understand the motivation. Are you running into a problem that this solves? For the ord instances that we run, the current configuration seems fine. Also, this is a change in how the ord service is run, so to confirm that it's correct, we would need to do a local test deploy. We've wanted to be able to spin up a local test instance, but IIRC, we don't have a way to do that.

I don't understand the motivation
If I remember correctly I was running into issues with my own setup of bitcoind , ord and a python app when forking was not set correctly. This PR was made in hyper-vigilance more than practicality. I also do not have a local setup to test it, so, I'm going to close it since you haven't heard / seen any issues with the bitcoind daemon in your setup. Cheers


 The result is flaky.
Sometime it build once, and works (20% of the time), other times it will finish lazy build, and immediately initiate another build.
Aside from default storybook webpack preset, we are using ts-loader and a bunch of other loaders, we are not using any additional plugins though.
It seems like on the second build, it's trying to build all React.Lazy bundles.
In our story files, we did something like
stories.add('StoryName', () => (<Suspense fallback={</>}><LazyLoadedContent/></Suspense>)

Any idea why this might be happening?

Could you provide a reproduction-repo?

Sure! Ran into some setup issues when duplicating fresh repo. Reaching out to storybook team first.

There was an issue I ran into trying to repro. But found out it doesn't even work with most recent storybook.
https://github.com/storybookjs/storybook/issues/10156
Still waiting for their response, but thought it might help to post it here as well, as other plugins seem to work fine but not lazy-compile-webpack-plugin

@liximomo I think I have some new information. Reached out to storybook team, and they are using https://www.npmjs.com/package/virtual-module-webpack-plugin
in their latest version.
This means their file is sometimes generated in the cache and not available on the disk. In your code
async _recompile(filename) {
    return new Promise((resolve, reject) => {
      const now = new Date();

      // trigger watcher to recompile
      fs.utimes(filename, now, now, err => {
        if (err) {
          return reject(err);
        }

        resolve();
      });
    });
  }

utime relies on the file system on found modules. And that is causing it to be incompatible with newer storybook version.
This is not super related to the issueI raised. If you prefer I raise it as a separate issue for semantic I could.
For now I'll focus on duplicating this issue with an older version of storybook (if that's possible)

@liximomo I have successfully duplicated the bug in the repository:
https://github.com/devtreehouse/StorybookLazyCompile
To start the app, clone the repo, do yarn, and then yarn storybook. Storybook will spin up.
Sometimes the build only does once, sometimes it does twice or even 3 times.
One time:

Three times:

In our production repo, one build takes 2 minutes, so... rebuilding means waiting for 2 more minutes randomly, that means it defeats the purpose of saving time on lazy compile.
Additional context:
In our main app, I realized that on the second build, it goes and try to do a full build, that means all react suspense (code splitted) code will be built. But it doesn't happen on the first time.
Also I noticed the first build is not success, as some images on our webpage are not being displayed. I think it might be webpack trying to make up for it, but it never happens without this plugin enabled.
Would greatly appreciate it if you can take a look. I really want to use this in our official dev environment

Reopening a new issue as too much irrelevant information is in this thread


[MGDOBR-860] Updated changes according to Review Comment

MGDOBR-860
PR owner checklist
Please make sure that your PR meets the following requirements:

[x] Your code is properly formatted according to this configuration.
Run mvn clean verify -DskipTests so that imports are correctly set.
[x] Your commit messages are clear and reference the JIRA issue e.g: "[MGDOBR-1] - $clear_explanation_of_what_you_did"
[x] The layers in the kustomize folder have been updated accordingly.
[x] All new functionality is tested
[x] Pull Request title is properly formatted: MGDOBR-XYZ Subject
[x] Pull Request contains link to the JIRA issue
[x] Pull Request contains link to any dependent or related Pull Request
[x] Pull Request contains description of the issue
[x] Pull Request does not include fixes for issues other than the main ticket

PR reviewer(s) checklist

[ ] Check if code and Github action workflows have been modified and if the modification is safe
[ ] If the modification is safe, add the safe to test label

How to trigger pipelines and use the bots:

Run the end to end pipeline
Annotate the pull request with the label: safe to test. If you want to run the pipeline again, remove and add it again.

Rebase the pull request
Comment with: /rebase.

Deploy BOT
Comment with `/deploy <dev,stable> when the PR has been merged to deploy to a target environment.

@Aakanksha0311 Please adjust the PR title to describe what is actually delivered, for example as JIRA title.


Feature request: Arm support for docker

Any possibility of Arm support for the docker image? Preferably in multi-arch tags for ease of use.
Thanks

Sure! I can look into this!

Added in v1.7.7

@2fst4u Sorry for the wait! The multi-arch docker image should be available now

Brilliant it works perfectly!
Note this also fixes the issue in #33, the video plays straight away, no issues with black boxes.
Thanks!

Glad to hear it works now! I guess the issue had to due with the CORS proxy


C# Debug Tab

F1 on the Debug tab of a C# app | Properties menu lands here (at least for the one that has Profile/Launch/Application arguments options). Looking for the mixed mode debugging option, as it's not obvious to me where that might be now.

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

ID: 9a28ee58-bd99-e74a-0c0c-30f5a41da08e
Version Independent ID: 2467c672-a567-583c-2801-87dcaf0f2c91
Content: Default page for F1 help - Visual Studio
Content Source: docs/ide/not-in-toc/default.md
Product: visual-studio-dev15
GitHub Login: @gewarren
Microsoft Alias: gewarren

@marcelolr Thank you for the feedback Marcelo.


Missing PDF

Clicking "Download PDF" yields in Microsoft Edge noting that the PDF is empty.

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

ID: dc12e690-19c5-ba46-530f-56b2e4f2bb33
Version Independent ID: 237aec15-eb8f-78ed-086f-518b4ce554dd
Content: What's new in the Windows 10 Insider Preview Builds (RS5)
Content Source: wip/at-home/Whats-new-wip-at-home-1809.md
Service: wip-at-home
GitHub Login: @lizap
Microsoft Alias: elizapo

@officedocsbot assign @mypil

@NazmusLabs - Thank you for pointing this out.
I will get this issue over to the Windows Insider writing team for investigation.
Thank you for reporting and making the docs better. Much appreciated.
I made a note to request the team to update this when the work is complete.

@lizap - I checked on the Download link and it redirects to a page with a message-"Error
Failed to load PDF document." Here's the Download link URL - https://opdhsblobprod04.blob.core.windows.net/contents/8bbef6de52cc41879cccbe6cf3d0ddab/d98c1dd4008f04b2e9800998ecf8427e?sv=2015-04-05&sr=b&sig=9WZ8i3uvM78mrD%2F7SdlReXsfM6VgBbkFud3w80ZTOus%3D&st=2019-03-20T16%3A25%3A37Z&se=2019-03-21T16%3A35%3A37Z&sp=r
Please let us know what is the correct URL link for this so a PR can be created or please advise on how to proceed with this. Thank you.

@lizap - I would like to follow up on this. Any updates?

@NazmusLabs - From our understanding, the issue has been resolved. If you feel it hasn't been resolved, please re-open this issue.
Thank you for your contribution to make the docs better! Much appreciated!

@officedocsbot close


added my name to guestbook.md & added a note on authentication over HTTPS for Git

I spent several minutes trying to establish why I could not authenticate my push request until I realised that 2FA was prohibiting me. Added this note to help other people so that they needn't struggle with the same issue.

Thank you!


[WFLY-18685]:Upgrade santuario to 3.0.3

https://issues.redhat.com/browse/WFLY-18685

Thanks @jimma


Request for middle checkpoint

Thank you for the amazing release!
Do you plan to release the checkpoints from different stages, e.g., checkpoint before SFT? These checkpoints would be valuable for further fine-tuning.

@yaolug as discussed earlier, can we also open source the middle checkpoints?

Yes, will do.

Thank you! 👀


Pusher in one-node network

When I start a one-node network and upload a file (with bee-split), pusher gives a lot of error messages.
pusher: error while sending chunk or receiving receipt: closest peer: no peer found.

@jmozah


VmdkReadHandle: gracefully shutdown and close the socket

There is an additional issue that causes orphaned VMDKs, that the close() doesn't actually close the connection immediately, but we must first call .shutdown() first.

close() releases the resource associated with a connection
but does not necessarily close the connection immediately.
If you want to close the connection in a timely fashion,
call shutdown() before close().

This works in conjunction with the .sleep(5) workaround, which is needed to wait for VMware to release the lock on the VMDK once the http connection is (properly) closed.

This was tested in QA environment and works well, the VMDK being deleted successfully when a backup is interrupted.


The longest ascending sequence

Issue Id you have worked upon -
Created a program to check the longest ascending sequence in an array
Briefly explain your program logic -
The array is traversed to position n - 1, verifying if the value with index i is less than the next, if that happens, it increases the value of the counter by 1 because the sequence condition would be fulfilled in the first two elements and so on. increases. If one element is not a sequence of another, its value is stored in the maxTmp variable and pos, and then compared with the counter that will repeat step 1. Finally, the two variables are compared to determine which was the longest sequence and print from pos to pos + max.
Screenshots(Attach 2 screenshots of sample input and output) -
Input :

Output:

Checklist:
Eg - If your code follow the below guidelines. Kindly change [] to [x]
All the conditions should be fulfilled for considering your code for merging -
[x] I have mentioned the question as comment in my solution file.
[x] My code follows the guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented my code.
[x] My code gives the correct output.
[x] I confirm that I have not copied the code from anywhere. In case its found that I have copied I can be banned from the repository.
[x] I affirm that I strictly follow contributing guidelines and code of conduct.

@erickcernarequejo,
Make are short change in the program and instead of printint the length of longest ascending sequence in an array. Print the elements of longest ascending sequence in an array

@erickcernarequejo, Make are short change in the program and instead of printing the length of longest ascending sequence in an array. Print the elements of longest ascending sequence in an array

ok i just added the indicated solution.

@erickcernarequejo,
Kindly mention issue id and change the screenshots to a new one based on the changes you have made to the question

as
ok i just added the indicated solution.

@erickcernarequejo,
Kindly add comments to logical sections of your code

@erickcernarequejo, Kindly add comments to logical sections of your code

Ok, I add comments