Default Config File doesn't seem to work properly with latest Detekt version

Hello,
I just downloaded the default config file that is located in: https://github.com/detekt/detekt/blob/main/detekt-core/src/main/resources/default-detekt-config.yml
And when I try to use it on Android Studio with the latest detekt lib 1.23.6 I get a lot of errors about properties that are misspelled or doesn't exist:
 Run failed with 41 invalid config properties.
  	- Property 'complexity>CognitiveComplexMethod>allowedComplexity' is misspelled or does not exist.
  	- Property 'complexity>ComplexCondition>allowedConditions' is misspelled or does not exist.
  	- Property 'complexity>ComplexInterface>allowedDefinitions' is misspelled or does not exist.
  	- Property 'complexity>CyclomaticComplexMethod>allowedComplexity' is misspelled or does not exist.
  	- Property 'complexity>CyclomaticComplexMethod>ignoreLocalFunctions' is misspelled or does not exist.
  	- Property 'complexity>LargeClass>allowedLines' is misspelled or does not exist.
  	- Property 'complexity>LongMethod>allowedLines' is misspelled or does not exist.
  	- Property 'complexity>LongParameterList>allowedFunctionParameters' is misspelled or does not exist.
  	- Property 'complexity>LongParameterList>allowedConstructorParameters' is misspelled or does not exist.
  	- Property 'complexity>MethodOverloading>allowedOverloads' is misspelled or does not exist.
  	- Property 'complexity>NamedArguments>allowedArguments' is misspelled or does not exist.
  	- Property 'complexity>NestedBlockDepth>allowedDepth' is misspelled or does not exist.
  	- Property 'complexity>NestedScopeFunctions>allowedDepth' is misspelled or does not exist.
  	- Property 'complexity>StringLiteralDuplication>allowedDuplications' is misspelled or does not exist.
  	- Property 'complexity>StringLiteralDuplication>allowedWithLengthLessThan' is misspelled or does not exist.
  	- Property 'complexity>TooManyFunctions>allowedFunctionsPerFile' is misspelled or does not exist.
  	- Property 'complexity>TooManyFunctions>allowedFunctionsPerClass' is misspelled or does not exist.
  	- Property 'complexity>TooManyFunctions>allowedFunctionsPerInterface' is misspelled or does not exist.
  	- Property 'complexity>TooManyFunctions>allowedFunctionsPerObject' is misspelled or does not exist.
  	- Property 'complexity>TooManyFunctions>allowedFunctionsPerEnum' is misspelled or does not exist.
  	- Property 'coroutines>CoroutineLaunchedInTestWithoutRunTest' is misspelled or does not exist.
  	- Property 'empty-blocks>EmptyKotlinFile' is misspelled or does not exist.
  	- Property 'naming>FunctionNameMaxLength' is misspelled or does not exist.
  	- Property 'naming>FunctionNameMinLength' is misspelled or does not exist.
  	- Property 'naming>MatchingDeclarationName>multiplatformTargets' is misspelled or does not exist.
  	- Property 'performance>CouldBeSequence>allowedOperations' is misspelled or does not exist.
  	- Property 'potential-bugs>CastNullableToNonNullableType>ignorePlatformTypes' is misspelled or does not exist.
  	- Property 'potential-bugs>CharArrayToStringCall' is misspelled or does not exist.
  	- Property 'potential-bugs>MissingSuperCall' is misspelled or does not exist.
  	- Property 'potential-bugs>MissingUseCall' is misspelled or does not exist.
  	- Property 'potential-bugs>UnnamedParameterUse' is misspelled or does not exist.
  	- Property 'style>AbstractClassCanBeConcreteClass' is misspelled or does not exist.
  	- Property 'style>AbstractClassCanBeInterface' is misspelled or does not exist.
  	- Property 'style>DoubleNegativeExpression' is misspelled or does not exist.
  	- Property 'style>MayBeConstant' is misspelled or does not exist.
  	- Property 'style>RangeUntilInsteadOfRangeTo' is misspelled or does not exist.
  	- Property 'style>RedundantConstructorKeyword' is misspelled or does not exist.
  	- Property 'style>RedundantVisibilityModifier' is misspelled or does not exist.
  	- Property 'style>SpacingAfterPackageDeclaration' is misspelled or does not exist.
  	- Property 'style>UnnecessaryAny' is misspelled or does not exist.
  	- Property 'style>UnusedImport' is misspelled or does not exist.

I'm doing something wrong here?

I'm doing something wrong here?

I think so - you should use the default from 1.23.6, not main branch: https://github.com/detekt/detekt/blob/v1.23.6/detekt-core/src/main/resources/default-detekt-config.yml
You can also use detekt to save a copy of the default config shipped with detekt using ./gradlew detektGenerateConfig.

Thanks!


Promise is undefined in IE11

Hi,
i'm using your library and everything worked as expected on Chrome.
But testing the app in IE11, i got the following error:
Promise is undefined
at db.open (http://localhost:9000/bower_components/db.js/src/db.js:514:13)

Any ideas how to solve this problem?

Native Promises are not supported in IE. http://caniuse.com/#search=promise
It should use another solution.

Native promise support is coming in the next IE engine, aka Project Spartan - https://status.modern.ie/promiseses6?term=promises
You will need to use a polyfill (there are many out there) just like you would with mobile browsers, safari, etc.


Still pagination and cursor after destroy

Hello.
First of all, great slider :)
I just saw something.
When I use the "destroy" API, it remains the pagination and the cursor (when grabCursor is set to true).
It should not be removed too ?
Thanks.
Cyke.

For pagination i use this:
onDestroy: function () {
     $(this.pagination).html('');
}


Fix ACK re-INVITE race when offer in 200 Ok

There is a known race condition where the callee receives re-INVITE (established state) while in the moratorium state (waiting for ACK) which we currently throw an error on (we crash). The race is documented here: https://tools.ietf.org/html/rfc5407#section-3.1.5
It is not something that comes up if the application layer waits for a short period of time (like 2 seconds) before sending a re-INVITE after an ACK as per implementation recommended best practice, but we shouldn't crash regardless.
This fixes it so we respond with a 500 response per the specification.
@james-criscuolo brought this issue to my attention on 1/14.

I updated this so that it is backward compatible.


madMAx Temp Directories

Even if I mention 2 temp directories, how I will know its taking for -t and -2 in case of maxMax ? Is there any flag we can use for this ?

you can see it in the task list.   PlotNG passes TempDirectory to both -t & -2.  There's currently no support for separate  -t & -2.


lock graph when close()

also fix scheduleOrExecuteJob and closeScheduler dead lock:
when main thread catched lock in closeScheduler() then call closeSchedulerTx()
and wait for schedulerExecutor, at the same time scheduler thread call
scheduleOrExecuteJob() but can't get synchronized lock, caused dead lock.
fix #1075
Change-Id: I47e7d4bbb87dd1330dd33616b6d2c33b2a39a89e

calling initialized() cause reopen tx when graph is closed https://github.com/hugegraph/hugegraph/pull/1104/commits/dc7b924d0830ecea05c3a4865beb1c5c09005a81#diff-a7ddfcbed05d0ca6b726444d2184723fR304
[ERROR] Tests run: 673, Failures: 3, Errors: 1, Skipped: 13, Time elapsed: 868.376 s <<< FAILURE! - in com.baidu.hugegraph.core.CoreTestSuite
[ERROR] testCreateGraphsWithDifferentNameDifferentBackends(com.baidu.hugegraph.core.MultiGraphsTest)  Time elapsed: 48.688 s  <<< FAILURE!
java.lang.AssertionError: java.lang.IllegalStateException: Ensure tx closed in all threads when closing graph 'g1'
	at com.baidu.hugegraph.core.MultiGraphsTest.destoryGraphs(MultiGraphsTest.java:352)
	at com.baidu.hugegraph.core.MultiGraphsTest.testCreateGraphsWithDifferentNameDifferentBackends(MultiGraphsTest.java:301)
[ERROR] testCreateGraphsWithMultiDisksForRocksDB(com.baidu.hugegraph.core.MultiGraphsTest)  Time elapsed: 0.734 s  <<< FAILURE!
java.lang.AssertionError: No exception was thrown(expected com.baidu.hugegraph.backend.BackendException)
	at com.baidu.hugegraph.core.MultiGraphsTest.testCreateGraphsWithMultiDisksForRocksDB(MultiGraphsTest.java:315)
[ERROR] testCreateGraphWithSameNameDifferentBackends(com.baidu.hugegraph.core.MultiGraphsTest)  Time elapsed: 0.003 s  <<< ERROR!
java.lang.RuntimeException: GraphFactory could not instantiate this Graph implementation [class com.baidu.hugegraph.HugeFactory]
	at com.baidu.hugegraph.core.MultiGraphsTest.openGraphWithBackend(MultiGraphsTest.java:373)
	at com.baidu.hugegraph.core.MultiGraphsTest.testCreateGraphWithSameNameDifferentBackends(MultiGraphsTest.java:279)
Caused by: java.lang.reflect.InvocationTargetException
	at com.baidu.hugegraph.core.MultiGraphsTest.openGraphWithBackend(MultiGraphsTest.java:373)
	at com.baidu.hugegraph.core.MultiGraphsTest.testCreateGraphWithSameNameDifferentBackends(MultiGraphsTest.java:279)
Caused by: java.lang.IllegalStateException: Graph name 'graph' has been used by backend 'hbase'
	at com.baidu.hugegraph.core.MultiGraphsTest.openGraphWithBackend(MultiGraphsTest.java:373)
	at com.baidu.hugegraph.core.MultiGraphsTest.testCreateGraphWithSameNameDifferentBackends(MultiGraphsTest.java:279)
[ERROR] testCopySchemaWithMultiGraphs(com.baidu.hugegraph.core.MultiGraphsTest)  Time elapsed: 105.285 s  <<< FAILURE!
java.lang.AssertionError: java.lang.IllegalStateException: Ensure tx closed in all threads when closing graph 'schema_g1'
	at com.baidu.hugegraph.core.MultiGraphsTest.destoryGraphs(MultiGraphsTest.java:352)
	at com.baidu.hugegraph.core.MultiGraphsTest.testCopySchemaWithMultiGraphs(MultiGraphsTest.java:185)


all: add context.Context as the first parameter ?  Cannot properly trace http API calls all the way through GORM's sql calls with data dog

I'm using the latest versions of Go, Gin, Gorm, and DataDog go tracer.  The goal is to see in datadog console (or other APM monitor service like New Relic) the api calls from http level of app via GIN, and follow that trace all the way down to what SQL calls it makes.  This is a common observability goal of modern stacks.  It seems this cannot be done if Gorm does not support some level of Go's Context to link the two....  Thread from DataDog here:
https://github.com/DataDog/dd-trace-go/issues/226
It would be great to be able to initialize and provide Gorm some way to get or wrap a context when taking a connection out of the connection pool.  Any way this is possible today?

Thank you @bjm88 for filing this issue! Perhaps could we re-title it to "all: add context.Context as the first parameter"?
I just encountered this issue too.
 Should be addressed soon.


ContactUs page

The text on the right, when there's no input provided, may not appear very interactive.
Solution: It should be positioned below the Contact Us header.

Can i be assigned this issue?

resolved

If U would have assigned it to me I would have made it more attractive :)

@the-shivam-gupta if you have any thing more to add you can proceed

@pradeeptosarkar  I'm getting an error while running "npm start" on my system-
Error: Cannot find module './range'

It is showing the branch is already updated and the same error arises.

oh.! @mnnkhndlwl do you have anything to share?


prometheus-blackbox-exporter issue for team services

Describe the bug: (a clear and concise description of what the bug is)
When checking a teams  prometheus targets probe-services-<team> I see the following error:
Get "http://prometheus-blackbox-exporter.team-<team>:9115/probe?module=http_2xx&target=https%3A%2F%2F<url>": dial tcp: lookup prometheus-blackbox-exporter.<team-namespace> on <IP_ADDRESS>:53: no such host
Otomi version: 0.16.2

@Morriz could you review this issue? I am wondering if  svc: prometheus-blackbox-exporter defined in  team-ns-{{ $teamId }} helmfile refers to this issue?


LZ4.NET Portable on Xamarin Android

First of all, hello and thank you for a portable version of LZ4, in particular for Xamarin Android/iOS.  I am having a problem running on Android (I haven't tested iOS yet).
I am using version:
lz4net.<IP_ADDRESS>

with assemblies:
portable-net4+win8+wpa81+MonoAndroid+MonoTouch+Xamarin.iOS

and getting this error:
System.InvalidProgramException: Invalid IL code in LZ4pn.LZ4Codec:Encode32 (byte*,byte*,int,int): IL_003c: stloc.3

can be reproduced using this code:
var MemoryStream = new MemoryStream();

var CompressStream = new LZ4.LZ4Stream(MemoryStream, LZ4.LZ4StreamMode.Compress);
CompressStream.Write(new byte[1] { 0xFF }, 0, 1);

CompressStream.Flush();

The exception occurs on the call to Flush. Any advice or suggestions would be appreciated!

The only "special" thing about this method is that it uses unsafe (fixed) pointers. I guess it would be more a case for Xamarin (oops... Microsoft) team.

Happy to follow it up with Xamarin.  I just wanted to confirm that it wasn't me doing something obviously wrong. Is Xamarin Android something you have tested?  I noticed that you say 'MonoAndroid' and 'Xamarin.iOS' in the assembly folder.  Or is MonoAndroid the same as Xamarin Android?

Unfortunatelly, me saying "it works with Xamarin.Android" is a bold statement. I just made sure it compiles with Xamarin.Android portable profile. Although, I often use with Mono on Ubuntu and I had no problems. Never run it Android though. Sorry.

Ouch.  Well, I can confirm that it doesn't work on Xamarin Android!  But I am quite interested in helping you to resolve this issue and make your 'bold' statement become true.  Do you have any barriers to getting Xamarin?  If that is inconvenient for you I am willing to test any of your proposed fixes.

Thanks for the hint. I'll take a look.

It work now (>= <IP_ADDRESS>) on my Nexus 7. If you think it still needs some changes let me know.


Sprint 01 Stand Up

API/Angular: clean up front end figure out how stream only audio
Sockets: figuring out socket communication between client and server


Add explanation for Windows incompatibility in installation docs #2

Reverted Pull Request
This was initially addressed in this pull request: https://github.com/ivadomed/ivadomed/pull/605, however, we needed to incorporate some changes after merging, so it was reverted here: https://github.com/ivadomed/ivadomed/pull/620
Description
Mention operating system compatibility in docs. As mentioned in this review: https://github.com/openjournals/joss-reviews/issues/2868#issuecomment-752687437, there are difficulties in installing on Windows machines. To address this, I have added a few lines in the installation docs to state that we don't currently support Windows, but would like to in the future.
Linked issues
Related to: https://github.com/ivadomed/ivadomed/issues/604

Pull Request Test Coverage Report for Build 478235382

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 90.071%

Totals

Change from base Build 478237739:
0%

Covered Lines:
5987

Relevant Lines:
6647

💛  - Coveralls

Pull Request Test Coverage Report for Build 478235382

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 90.071%

Totals

Change from base Build 478237739:
0%

Covered Lines:
5987

Relevant Lines:
6647

💛  - Coveralls


Fix two Coverity issues

This pull request is ready to merge

Merged to master and 3.2. Thank you.


readme updates for v0.5.0

Reason for PR

Realised I forgot to make a Release in the Releases tab with the drag-and-drop quick behaviour for Windows.
A .gif would be handier than text.

Changes

Version bump to 0.5.0 to match upcoming Release (in readme and in vol2obj header comment).
Updated with a .gif.
No change to code.

Testing summary

Tested drag and drop behaviour before and after this PR's changes.

Risk of Merge

Typos

merging as this is blocking a release


Handoff to a human agent

I can't figure out how to implement handoff to a human agent with webchat channel. We have a bot service that is in Azure which using a Webchat channel. We like to have a live agent engagement if user question cannot be answered by the bot. Is this possible to do with webchat?
What I am thinking to do is create an agent hub (web based) for live agent with a webhook endpoint which will get requests and show a queue of conversations waiting to be handled by a live agent. When an agent clicks on a request the agent hub will lunch the Webchat and add the agent to the existing conversation. For this I should be able to add the agent to the existing conversation by sending some kind of a webchat built-in event. I can't find anything how to add a user to an existing conversation within WebChat.
Or are there better ways of handling handoff to a live agent?

@arman-g, take a look here: http://aka.ms/bfhandoff where we describe the recommended patterns and refer to examples on GitHub. The LivePerson sample might be of interest to you. You can use it a model for your own agent hub.

@arman-g, take a look here: http://aka.ms/bfhandoff where we describe the recommended patterns and refer to examples on GitHub. The LivePerson sample might be of interest to you. You can use it a model for your own agent hub.

@arman-g, take a look here: http://aka.ms/bfhandoff where we describe the recommended patterns and refer to examples on GitHub. The LivePerson sample might be of interest to you. You can use it a model for your own agent hub.

Thank you for your response. I have seen all these examples and honestly it is very difficult to understand what is going on. I think it would be good to have more detailed explanation of key components (what they do and why they needed) so one can build on their solution. For example in the proxy example you provided there is a reference to the connector which is a different project. Do we need it in proxy approach? how about bot as an agent etc?
Anyway, again thank you for your time. I guess I have to figure it out myself or suggest my client to use different frameworks for human handoff since bot framework clearly not matured enough for this.

@arman-g, take a look here: http://aka.ms/bfhandoff where we describe the recommended patterns and refer to examples on GitHub. The LivePerson sample might be of interest to you. You can use it a model for your own agent hub.

Thank you for your response. I have seen all these examples and honestly it is very difficult to understand what is going on. I think it would be good to have more detailed explanation of key components (what they do and why they needed) so one can build on their solution. For example in the proxy example you provided there is a reference to the connector which is a different project. Do we need it in proxy approach? how about bot as an agent etc?
Anyway, again thank you for your time. I guess I have to figure it out myself or suggest my client to use different frameworks for human handoff since bot framework clearly not matured enough for this.

@arman-g, the different project is needed because it is a reusable component. If you have specific questions I can answer, either here or email me directly at arturl (is my alias in microsoft.com)

@arman-g, the different project is needed because it is a reusable component. If you have specific questions I can answer, either here or email me directly at arturl (is my alias in microsoft.com)

@arman-g , did you figure out the solution?
I'm also stuck at the exact same issue.
I've my own agent hub, but how can he join the conversation and how to raise the built-in event


fantomas: enable darwin test

Changes

Enables the tests for Darwin platforms based on this newly closed issue
https://github.com/NixOS/nixpkgs/pull/289791

Status

https://nixpk.gs/pr-tracker.html?pr=289791
The flake lock needs to be updated when the above pr has been merged

(#1147)

@traxys I forgot that. I've rebased it now.


Add license file to source

I notice that the nuget packages generated from this code is BSD-licensed, could you add the same license to the code?
Currently it is defaulting to "All Rights Reserved" (https://help.github.com/en/articles/licensing-a-repository)

@nikr I am sorry your request slipped through the cracks (i.e. I didn't notice it till just now). Would you mind submitting this as a PR?

Yep no problem, I'll get around to it done time this week


Software update point requirements

Starting 1802, the MP requires to be configured to use HTTPS. What about the SUP, can it still work using HTTP?

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

ID: 778368d0-1054-678c-4d74-5dce1b5826c8
Version Independent ID: aaac7308-66e6-66f0-8248-14e1505c11a6
Content: Plan for cloud management gateway - Configuration Manager
Content Source: sccm/core/clients/manage/cmg/plan-cloud-management-gateway.md
Service: unspecified
GitHub Login: @aczechowski
Microsoft Alias: aaroncz

Thanks for the question @MartinRain. Just to clarify, in 1802 the MP only needs to be HTTPS for use with CMG, not in general. As for the SUP, we certainly recommend it is HTTPS as a security best practice. But there is no requirement for it to be HTTPS in this scenario. The CMG (via the CMG connection point) must have an HTTPS MP for client authentication, but HTTPS with the SUP is just to secure the communication channel. I think this is clear in the Ports and data flow section, so I'm going to close the issue. Reopen it if you think something is missing from the article.


Update cloud image to konflux

Update deploy image to konflux image

This is a follow up PR for Konflux this should go in later after this is in - https://github.com/RedHatInsights/edge-api/pull/2715

/retest

https://i.giphy.com/media/v1.Y2lkPTc5MGI3NjExOGp2Yml3NXVqazZ6cWF3andrM3N6Y2s3YncyeWNra3Vkc3Bpajd1eCZlcD12MV9pbnRlcm5hbF9naWZfYnlfaWQmY3Q9Zw/87xihBthJ1DkA/giphy.gif

/ok-to-test

/retest

Edge-api seems broken right now.

/retest

/retest

:tada:


keras fix layer sharing inputs names

fix the first issue in  #1151

I found more edge cases and working to fix them
I will reopen when is ready


[SPA] Add support for a port range on the SPA proxy

Uses a port range for the SPA front-end proxy

Did a test pass over IndividualAuth for both templates and for NoHttps and both work


Add user control over Cartesian plot

Need to add the ability for the user to set the minimum and maximum frequency along with the minimum and maximum y-axis values.

Will need to add some new styling/design, but the controls are working with getters and plot


check resource error in mount pod

fix https://github.com/juicedata/juicefs-csi-driver/issues/511

Codecov Report
Base: 45.78% // Head: 45.27% // Decreases project coverage by -0.51% :warning:

Coverage data is based on head (c997744) compared to base (6fb6285).
Patch coverage: 0.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #512      +/-   ##
==========================================
- Coverage   45.78%   45.27%   -0.52%
==========================================
  Files          27       27
  Lines        2885     2940      +55
==========================================
+ Hits         1321     1331      +10
- Misses       1464     1508      +44
- Partials      100      101       +1

Impacted Files
Coverage Δ

pkg/controller/pod_driver.go
39.19% <0.00%> (-6.33%)
:arrow_down:

pkg/juicefs/mount/builder/pod.go
54.62% <0.00%> (+0.38%)
:arrow_up:

pkg/juicefs/juicefs.go
55.23% <0.00%> (+0.98%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


WipEout® 2048 [PCSF00007]

App summary

App name: WipEout® 2048
App serial: PCSF00007
App version: 01.04

Vita3K summary

Version: v0.1
Build number: 1388
Commit hash: https://github.com/vita3k/vita3k/commit/b21496d

Test environment summary

Tested by: Zangetsu38
OS: Windows 10
CPU: AMD Ryzen 9 3900X
GPU: NVIDIA RTX 2070 Super
RAM: 16 GB

Issues

crash caused by sceFiberGetSelf

Log
vita3k.log
Debug screeén

Log
vita3k.log

3d rendering completely broken
Windows 11 22000.434
GPU: AMD RX 580 8GB
CPU: AMD Ryzen 5 2600
RAM: 16 GB

Vita3K summary

Version: v0.1.6
Build number: 2840
Commit hash: https://github.com/vita3k/vita3k/commit/4a2c6582
CPU backend: Dynarmic

Test environment summary

Tested by: Ridge
OS: Arch Linux
CPU: AMD Ryzen 5 2600
GPU: AMD RX 6700 XT (Mesa 22.1.7 open source driver)
RAM: 32 GB

Issues
Very laggy but only minor graphics issues in menus when using OpenGL, rare and minor texture issues when playing.
Vulkan rendering is completely broken on the other hand. (Refraction effects never leave the screen)
Music disappears eventually and doesn't come back, changing music manually in the pause menu makes it stop playing as well.
Some animations (such as ship idle on the starting grid) are somewhat jerky sometimes.
Screenshots & Video

Log
vita3k.log
This is a heavily stripped log, but I only removed 350 000+ duplicate lines regarding "Unknown base format" generated while racing through an event.
Recommended labels

Ingame+
graphics bug
slow

Confirmed ingame on OpenGL, although with severe performance issues and some graphics issues.
Crashes on the ship select screen and when loading a race on Vulkan. Also the emulator's viewport only shows the top left quadrant of the screen when the window is maximized, with the other sections of the viewport being a black screen. Vulkan issues are similar on PCSA00015 version.
Tested on v0.1.6 3080-ebedf66e. Windows 7 SP2 64bit, Intel i7 6700k, 8gb RAM, Radeon RX 570 8gb.
vita3k.log

Full desktop environment crash when entering a race. Game freezes at the very last frame of the loading UI before it swipes away. This also causes my desktop environment to crash.
These issues don't occur under openGL.
System:
OS:Linux Mint 21.3 x86_64
Kernel build: 6.5.0-1024-oem
Desktop env: Cinnamon 6.0.4
CPU: AMD Ryzen 7 7700X
GPU: AMD ATI Radeon RX 7900 XT/7900
MEM: 31291MiB addressed
Log below:
vita3k.log

Full desktop environment crash when entering a race. Game freezes at the very last frame of the loading UI before it swipes away. This also causes my desktop environment to crash. These issues don't occur under openGL. System: OS:Linux Mint 21.3 x86_64 Kernel build: 6.5.0-1024-oem Desktop env: Cinnamon 6.0.4 CPU: AMD Ryzen 7 7700X GPU: AMD ATI Radeon RX 7900 XT/7900 MEM: 31291MiB addressed
Log below: vita3k.log

Small update to this:
If I use my CPU's integrated graphics as the graphics device in Vulkan, the game doesn't freeze after loading and plays fine. Using any other device than the CPU results in a full desktop environment crash as described in my initial comment. Could this perhaps be an issue that isn't specific to this game?


Fix: Windows compatibility changes 'pull-data' operations

For enable_platform_ssh():

Use os.path.expanduser to get a platform-specific known_hosts path
Use ssh-keygen to remove existing keys before adding a new one

General:

Use subprocess.run() instead of local() for docker commands, as shlex.escape() doesn't work for windows

Changes tested by @TNA-Allan on local windows environment.


⚠ Bofrost.at has degraded performance

In dc2bc1a, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 835 ms

Resolved: Bofrost.at performance has improved in 123d4dd.


Added comments to make it more clear when we are setting the topic from the adapter

What
Added comments to make it more clear when we are setting the topic from the adapter

Please update the PR title and description before merging.


Fix for migration error [Issue 45]

https://github.com/Filsh/yii2-oauth2-server/issues/45
Renamed primaryKey() -> primaryKeyDefinition() to avoid naming collision with \yii\db\SchemaBuilderTrait::primaryKey()
also renamed  foreignKey() -> foreignkeyDefinition() for consistency

Why isn't this already merged? The migrations fail without this


 break

hey guys!
I want to make a grid with 3 rows per grid but i can't find a way to make "the jump" in the third row. I'm using map for looping in render method.
For example, i want something like this:
         <Grid>
          <Col style={styles.center}>
            <Text>1</Text>
          </Col>
          <Col style={styles.center}>
            <Text>2</Text>
          </Col>
          <Col style={styles.center}>
            <Text>3</Text>
          </Col>
        </Grid>
         <Grid>
          <Col style={styles.center}>
            <Text>1</Text>
          </Col>
          <Col style={styles.center}>
            <Text>2</Text>
          </Col>
          <Col style={styles.center}>
            <Text>3</Text>
          </Col>
        </Grid>

Anyone knows any way to do this?

Use flexWrap: 'wrap' for <Grid /> and give the <Col />s a width of ~devideWidth/3-10

@sankhadeeproy007 thanks for your answer but i can't make it work. Maybe i'm missing some property for Col?

Seems to work. Please follow this example.

@sankhadeeproy007 can you please explain devideWidth in above code?
How you extract and use it?

@cyclops24 deviceWidth can be calculated using
import {Dimensions} from 'react-native'
const deviceWidth = Dimensions.get('window').width;

Thanks @GeekRishabh,
I think it's a variable in NativeBase 😉

@cyclops24 it's just a variable name that hold the width of the device .


Nav A-Z

Nav A-Z
Use this issue to discuss the Nav A-Z component.
Preview the nav A-Z component
Find out more about the warning callout component and when to use it in the NHS Digital service manual.
See our contributing guidelines

Closing these individual placeholder issues.
Please use the NHS digital service manual backlog to discuss the usage of this component. If you're having trouble with the code, or have found a bug, please raise an issue on the NHS.UK frontend backlog


Hypernetworks issues

Hypernetworks isn't working correctly.
But it works good on local deployment of Auto1111 original version
I suspect this problem may cause by xformers.

we'll wait for more users feedback to see where is the issue

Running the last cell gives me this message:
Traceback (most recent call last):
File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/webui.py", line 32, in
import modules.hypernetworks.hypernetwork
ModuleNotFoundError: No module named 'modules.hypernetworks'

@zwitshr you are using an outdated colab notebook, use the one from here https://github.com/TheLastBen/fast-stable-diffusion

@zwitshr you are using an outdated colab notebook, use the one from here https://github.com/TheLastBen/fast-stable-diffusion

Thx,
got it working after deleting and reinstalling

Great !

Running the last cell gives me this message:
Traceback (most recent call last): File "/content/gdrive/MyDrive/sd/stable-diffusion-webui/webui.py", line 32, in import modules.hypernetworks.hypernetwork ModuleNotFoundError: No module named 'modules.hypernetworks'

I have the same issue. By deleting the sd folder fixed it.
Suggestion:
Can the output folder be defined outside of the sd folder?
Mostly starting the colab I receive an error of something not found. I had to copy the outputs folder out and delete the sd folder than restart the colab and things work again.

Could see if it's working correctly?
I can't see big difference when using different Hypernetworks

Could see if it's working correctly? @zwitshr
I can't see big difference when using different Hypernetworks

My bad, I should've noticed it. Thanks @TheLastBen


Footer overlapping content on package statistics page

When viewing the package statistics page grouped by version, the footer can overlap the content. This appears to happen when the version list is shorter than the checkbox column.
I can currently see this in latest Chrome and Edge, at the following link: https://www.nuget.org/stats/packages/NUnit.xamarin?groupby=Version

@xavierdecoster ?

Thanks @xavierdecoster!


Installationwindows

Edited install instructions
a note for windows users to install vs code since other install instructions require it
fixed broken link for on courses page for software install instructions

Thanks, @wvictor14 !


new method to build so that jwt works using layers

Fixes #3

Review successful.
Issues fixed: #3


We shouldn't autoplot on create global explanation for classical text explainer

@eedeleon - I thought we got rid of explain_global from classical explainer? Is this issue still needed?


Request: RSS Feed Support for Tracking New Submissions

I need the ability to track new submissions more efficiently. Currently, I have to manually check for updates, which is time-consuming. By implementing RSS feed support, I can easily subscribe to updates and receive notifications whenever new submissions are made. This feature would greatly enhance the usability and convenience of the platform.
Please have a look at https://github.com/trackawesomelist/trackawesomelist/ to gain some ideas.

@WilliamDavidHarrison Please take a look.

Sorry, I didn't see this issue show up in my notifications, thanks for mentioning me Jeymen.
If you would like @tillcash I could create a new script which makes the service use JSON files for adding/removing services instead of multiple markdown files? Would that work?
Also, regarding trackawesomelist, I see they have a custom program for for automatically updating lists. Unfortunately, I do not have experience with Deno (the language they use) so I would not know how to set it up.
If you would like to discuss this further, please consider contacting me on Discord. My Discord username is williamharrison.

May I ask what this implementation will be used for? I'm curious to know 😄
Also, may I know the JSON format you require?

I will consider adding this but I'm not sure when I will get to it as I am quite busy at the moment.

@WilliamDavidHarrison Are there any updates on this?

Not at the moment. I don't have the time to work on this, and the really only way this may get implemented is if someone else does it.

@wdhdev Any updates on this?

@Bocon778 Not really.

@Bocon778 Not really.

I can pick this up.

@VaibhavSys That'd be great if you did. I'll assign you.


Pull request for grass

resolves #1989

Sorry, but we do not accept PRs without tests. They will run daily. (Merges may take longer.)


feat: add AuthState via reducer (#583)

The implementation covers the current state. It lays the the ground work for error handling. Same with isAuthenticated.

for some test we can no longer call render as this produces an endless test loop, which is a test issue. I have fixed that using the same mechanism as used in auth0-react:

renderHook
waitForNextUpdate

i don't know why the coverage is failing. useAuth is new tested as well...
ready to merge

test coverage fixed by adding useAuth.test.tsx
ready for review + merge

i just noticed that after this is merged if (isMountedRef.current) is no longer needed. I will drop it in a following merge request. It does not harm behaviour...

For reference, this is a breaking change.

maybe before making a new release, let me fix #587 + #586 as well...

@pamapa can you please provide an explanation of the value added by this patch? Why the introduction of a reducer? What issue is this patch addressing or what feature is this patch adding? Thank you.

This merge request is a 1:1 replacing of the current features.
This patch prepares the ground to implemented a proper error handling, which is currently missing. In a next merge request i will provide the additional error + isAuthenticated flags in the auth state.
Also it makes handling auth states much more easy, as you wont need any if (isMountedRef.current). Are you sure this is correct (without the if)?:
https://github.com/bjerkio/oidc-react/blob/dffb3996c928fe0d125e4b53d8b91b47a2137613/src/AuthContext.tsx#L92
Please merge this as is.

To make it more clear, i have now adapted the patch to remove the isMountedRef already now and not later.
Please merge this as is.

@pamapa Can you explain why you introduced reducers to the code instead of useState hooks? Was there something that could only be achieved using reducers or are they what you're more comfortable with? I'm just thinking about code clarity going forward and the cost of introducing a new style of state management with reducers.

@ryancole The main idea about the auth state is that those fields inside the auth state depend on each other, if you change one it will affect others. Using reducers is much easier in that regard.
const [isLoading, setIsLoading] = useState(true);
const [userData, setUserData] = useState<User | null>(null);
// in short also:
const [isAuthenticated, setIsAuthenticated] = useState(false);
const [error, setError] = useState<Error>(null);
...
// this kind of block must be done at multiple places in different cominations
setUserData(user) // affetcs others:
setIsLoading(false)
setIsAuthenticated(true)
// error must remain

-> reducer is the way to go.
For me using reducers is inescapable for this kind of library.
BTW: auth0.react is using reducers as well.

@pamapa OK, so it's a preference thing. I'm fine with reducers, personally. It's @cobraz call to make.

@ryancole thanks for the review, i do no think that application must be adapted regarding this change.
@cobraz please merge this now, so that we can proceed with error handling :-)

@cobraz i guess you are busy with other stuff, friendly remainder to merge this

please merge this finally

please merge this finally

We'll be reviewing this and get back to you. We're doing the best we can, but as this is considered a breaking change (and as @ryancole pointed out, a new style as well) we're not taking it as lightly (therefore things move a bit more slowly).

@pamapa We are still looking into this, but considering you've closed all your issues (and created your own package) I don't know if you want to anymore?
Would love your feedback!

@cobraz this took too far long for me and my team. Additional I wanted to do more than this merge request. So we created our own library. Now i have all goodies I wanted first hand. I tried to avoid creating a new library that but it did not work out.
Iff you would have merged this, i would have provided more than 50% of this library code and still no permission to review + merge stuff, which i would not like anyway.
Thus i am no longer interested into merging this. Feel free to port code parts from my library (https://github.com/pamapa/react-oidc-context), into your code. Both libraries are licensed under MIT.


Uncaught InternalServerError in utils.py line 6680

Aider version: 0.60.1
Python version: 3.12.7
Platform: macOS-15.0.1-arm64-arm-64bit
Python implementation: CPython
Virtual environment: Yes
OS: Darwin 24.0.0 (64bit)
Git version: git version 2.39.5 (Apple Git-154)
An uncaught exception occurred:
Traceback (most recent call last):
  File "main.py", line 1586, in completion
    response = anthropic_chat_completions.completion(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "chat.py", line 1139, in completion
    response = client.post(
               ^^^^^^^^^^^^
  File "http_handler.py", line 371, in post
    raise e
  File "http_handler.py", line 357, in post
    response.raise_for_status()
  File "_models.py", line 763, in raise_for_status
    raise HTTPStatusError(message, request=request, response=self)
httpx.HTTPStatusError: Server error '529 ' for url 'https://api.anthropic.com/v1/messages'
For more information check: https://developer.mozilla.org/en-US/docs/Web/HTTP/Status/529

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "aider", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "main.py", line 776, in main
    coder.run()
  File "base_coder.py", line 730, in run
    self.run_one(user_message, preproc)
  File "base_coder.py", line 773, in run_one
    list(self.send_message(message))
  File "base_coder.py", line 1212, in send_message
    saved_message = self.auto_commit(edited)
                    ^^^^^^^^^^^^^^^^^^^^^^^^
  File "base_coder.py", line 1895, in auto_commit
    res = self.repo.commit(fnames=edited, context=context, aider_edits=True)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "repo.py", line 110, in commit
    commit_message = self.get_commit_message(diffs, context)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "repo.py", line 195, in get_commit_message
    commit_message = simple_send_with_retries(
                     ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "sendchat.py", line 46, in wrapper
    return decorated_func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "_sync.py", line 105, in retry
    ret = target(*args, **kwargs)
          ^^^^^^^^^^^^^^^^^^^^^^^
  File "sendchat.py", line 104, in simple_send_with_retries
    _hash, response = send_completion(**kwargs)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "sendchat.py", line 85, in send_completion
    res = litellm.completion(**kwargs)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "utils.py", line 1086, in wrapper
    raise e
  File "utils.py", line 974, in wrapper
    result = original_function(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "main.py", line 2847, in completion
    raise exception_type(
          ^^^^^^^^^^^^^^^
  File "utils.py", line 8194, in exception_type
    raise e
  File "utils.py", line 6680, in exception_type
    raise litellm.InternalServerError(
litellm.exceptions.InternalServerError: litellm.InternalServerError: AnthropicException - {"type":"error","error":{"type":"overloaded_error","message":"Overloaded"}}. Handle with `litellm.InternalServerError`.

This happened immediately after Claude was down for several times:
Tokens: 8.0k sent, 733 received. Cost: $0.03 message, $0.03 session.
Applied edit to src/...
Applied edit to src/...
litellm.InternalServerError: AnthropicException - {"type":"error","error":{"type":"overloaded_error","message":"Overloaded"}}. Handle with `litellm.InternalServerError`.
Retry in 0.9 seconds.
litellm.InternalServerError: AnthropicException - {"type":"error","error":{"type":"overloaded_error","message":"Overloaded"}}. Handle with `litellm.InternalServerError`.
Retry in 1.9 seconds.
litellm.InternalServerError: AnthropicException - {"type":"error","error":{"type":"overloaded_error","message":"Overloaded"}}. Handle with `litellm.InternalServerError`.
Retry in 1.0 seconds.
litellm.InternalServerError: AnthropicException - {"type":"error","error":{"type":"overloaded_error","message":"Overloaded"}}. Handle with `litellm.InternalServerError`.
Retry in 1.2 seconds.
litellm.InternalServerError: AnthropicException - {"type":"error","error":{"type":"overloaded_error","message":"Overloaded"}}. Handle with `litellm.InternalServerError`.
Retry in 10.7 seconds.
litellm.InternalServerError: AnthropicException - {"type":"error","error":{"type":"overloaded_error","message":"Overloaded"}}. Handle with `litellm.InternalServerError`.
Retry in 15.1 seconds.
litellm.InternalServerError: AnthropicException - {"type":"error","error":{"type":"overloaded_error","message":"Overloaded"}}. Handle with `litellm.InternalServerError`.
Retry in 15.3 seconds.

(followed by the error)

Anthropic's API server was overloaded/down.

I think it would be great to add to the backlog an improvement to the exception handling and messaging around this error, but I haven't studied the error, I've never looked at the codebase and have no experience of coding against these APIs so I could be suggesting something that isn't possible at the moment...


OSError: [Errno 101] Network is unreachable

My code
from scrape_amazon import get_reviews

reviews = get_reviews('in','B09RMG1M98')

Error log :
[INFO] Scraping Reviews of Amazon ProductID - B09RMG1M98
[scrape-amazon]  - Amazon.in:Customer reviews: realme narzo 50 (Speed Black, 4GB RAM+64GB Storage) Helio G96 Processor | 50MP AI Triple Camera | 120Hz Ultra Smooth Display
[scrape-amazon] Total Pages - 78
[scrape-amazon] Total Reviews - 773
71%|██████████████████████████████████████████████████                     | 55/78 [02:21<00:58,  2.56s/it]
multiprocess.pool.RemoteTraceback:
"""
Traceback (most recent call last):
File "/home/tops/environments/tp_env/lib/python3.6/site-packages/urllib3/connection.py", line 175, in _new_conn
(self._dns_host, self.port), self.timeout, **extra_kw
File "/home/tops/environments/tp_env/lib/python3.6/site-packages/urllib3/util/connection.py", line 95, in create_connection
raise err
File "/home/tops/environments/tp_env/lib/python3.6/site-packages/urllib3/util/connection.py", line 85, in create_connection
sock.connect(sa)
OSError: [Errno 101] Network is unreachable
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/tops/environments/tp_env/lib/python3.6/site-packages/urllib3/connectionpool.py", line 710, in urlopen
chunked=chunked,
File "/home/tops/environments/tp_env/lib/python3.6/site-packages/urllib3/connectionpool.py", line 386, in _make_request
self._validate_conn(conn)
File "/home/tops/environments/tp_env/lib/python3.6/site-packages/urllib3/connectionpool.py", line 1042, in _validate_conn
conn.connect()
File "/home/tops/environments/tp_env/lib/python3.6/site-packages/urllib3/connection.py", line 358, in connect
self.sock = conn = self._new_conn()
File "/home/tops/environments/tp_env/lib/python3.6/site-packages/urllib3/connection.py", line 187, in _new_conn
self, "Failed to establish a new connection: %s" % e
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f7c8b9c1780>: Failed to establish a new connection: [Errno 101] Network is unreachable
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/tops/environments/tp_env/lib/python3.6/site-packages/requests/adapters.py", line 450, in send
timeout=timeout
File "/home/tops/environments/tp_env/lib/python3.6/site-packages/urllib3/connectionpool.py", line 788, in urlopen
method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
File "/home/tops/environments/tp_env/lib/python3.6/site-packages/urllib3/util/retry.py", line 592, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='www.amazon.in', port=443): Max retries exceeded with url: /dp/product-reviews/B09RMG1M98?pageNumber=56 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7c8b9c1780>: Failed to establish a new connection: [Errno 101] Network is unreachable',))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/tops/environments/tp_env/lib/python3.6/site-packages/multiprocess/pool.py", line 119, in worker
result = (True, func(*args, **kwds))
File "/home/tops/environments/tp_env/lib/python3.6/site-packages/pathos/helpers/mp_helper.py", line 15, in
func = lambda args: f(*args)
File "/home/tops/environments/tp_env/lib/python3.6/site-packages/scrape_amazon/util/scrape.py", line 27, in extractPage
r = get_URL(url)
File "/home/tops/environments/tp_env/lib/python3.6/site-packages/scrape_amazon/util/urlFunctions.py", line 30, in get_URL
content: str = requests.get(url, headers={"User-Agent": user_agent})
File "/home/tops/environments/tp_env/lib/python3.6/site-packages/requests/api.py", line 75, in get
return request('get', url, params=params, **kwargs)
File "/home/tops/environments/tp_env/lib/python3.6/site-packages/requests/api.py", line 61, in request
return session.request(method=method, url=url, **kwargs)
File "/home/tops/environments/tp_env/lib/python3.6/site-packages/requests/sessions.py", line 529, in request
resp = self.send(prep, **send_kwargs)
File "/home/tops/environments/tp_env/lib/python3.6/site-packages/requests/sessions.py", line 645, in send
r = adapter.send(request, **kwargs)
File "/home/tops/environments/tp_env/lib/python3.6/site-packages/requests/adapters.py", line 519, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='www.amazon.in', port=443): Max retries exceeded with url: /dp/product-reviews/B09RMG1M98?pageNumber=56 (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f7c8b9c1780>: Failed to establish a new connection: [Errno 101] Network is unreachable',))
"""
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/tops/tp/scrapping.py", line 3, in
reviews = get_reviews('in','B09RMG1M98')
File "/home/tops/environments/tp_env/lib/python3.6/site-packages/scrape_amazon/scraper.py", line 17, in get_reviews
return scrape_reviews(all_reviews_url, domain)
File "/home/tops/environments/tp_env/lib/python3.6/site-packages/scrape_amazon/util/scrape.py", line 132, in scrape_reviews
results = p_map(extractPage, urlsToFetch)
File "/home/tops/environments/tp_env/lib/python3.6/site-packages/p_tqdm/p_tqdm.py", line 65, in p_map
result = list(generator)
File "/home/tops/environments/tp_env/lib/python3.6/site-packages/p_tqdm/p_tqdm.py", line 54, in _parallel
for item in tqdm_func(map_func(function, *iterables), total=length, **kwargs):
File "/home/tops/environments/tp_env/lib/python3.6/site-packages/tqdm/std.py", line 1195, in iter
for obj in iterable:
File "/home/tops/environments/tp_env/lib/python3.6/site-packages/multiprocess/pool.py", line 735, in next
raise value
requests.exceptions.ConnectionError: None: Max retries exceeded with url: /dp/product-reviews/B09RMG1M98?pageNumber=56 (Caused by None)
My guess is that the requests are getting blocked after a certain no of consecutive attempts. Please let me know if there is a solution

Something like an optional time=10 parameter could be useful for this


Rive exported animation showing up blank

Hello, I'm currently working with an animation exporting from Rive app.
The export is in Json flr format. I was recommended to use a 2d-inc runtime engine to run my animation using Javascript.
I have clone the repo and installed required npm dependencies. I can get the example animation to work fine. When I try to use the same code from js and html changing the flr file. My animation doesn't appear. I've checked the console and file loaded correct. The issue is that the js and html data is not the same.
Where can I find documentation on how to setup the html and js code to work with my exported flr animation from Rive?
Thanks

The example folder should provide a basic setup for setting everything up in your app..!
Would you mind sharing your .flr file, as well as your public file url? I can try taking a look

Hey thanks for your reply. I have attached gif here. You will need to change to flr file. I needed to do that in order to upload it here.  I have the flr2 as while.

That link doesn't seem to work for me. If your file is public on Rive, could you share its url?

https://rive.app/a/melmore/files/flare/basic-banking

That link doesn't seem to work for me. If your file is public on Rive, could you share its url?

https://rive.app/a/melmore/files/flare/basic-banking

Hello, I'm currently working with an animation exporting from Rive app.
The export is in Json flr format. I was recommended to use a 2d-inc runtime engine to run my animation using Javascript.
I have clone the repo and installed required npm dependencies. I can get the example animation to work fine. When I try to use the same code from js and html changing the flr file. My animation doesn't appear. I've checked the console and file loaded correct. The issue is that the js and html data is not the same.
Where can I find documentation on how to setup the html and js code to work with my exported flr animation from Rive?
Thanks

please,How can the case file run.
I still can't run according to the operation


A question about the calculation of the classification loss (I(Y|Z)) in VIB

Thank you for this good tutorial about VIB!
I have a question about the classification loss (I(Y|Z)). It should be a expetation over z~p(z|x), then why don't sample many z from  p(z|x), and calculate E[-log(y|z)]?
In my understand, the code just sample one z for each data to estimate the value ( in DeepVIB.reparameterise() function).
I wonder if these two implementation will cause any diffence in performance. I infer sample many z can better estimate the expectation value.
Thanks again!

Hi xuewanqi. Sorry for the late reply!
You are correct that the code just samples one z for each estimate. This is mainly a design choice and the original authors  actually sample 12 times for the estimate.


Creating Logoutrequest with multiple sessionindex entries(IDP initiated SLO)

As part of the IDP implementation, I want to create logout requests with multiple session index entries. Does ruby-saml support this functionality?

Right now only 1 session index per request, but you could fork and customize it
https://github.com/onelogin/ruby-saml/blob/master/lib/onelogin/ruby-saml/logoutrequest.rb#L115