Fix performance issue with external identity provider lookup [SAML]

SAML related issue, details in https://github.com/cloudfoundry/uaa/issues/2821
What version of UAA are you running?
What output do you see from curl <YOUR_UAA>/info -H'Accept: application/json'?
How are you deploying the UAA?
I am deploying the UAA

locally only using gradlew
using a bosh release I downloaded from bosh.io
using cf-release
using cf-deployment

What did you do?

Add many external SAML IdP to an identity zone ( > 10.000)
Perform a SAML to only one
Check login times / DB metrics / memory

SAML delegates the lookup from entiyID (external key or the SAML assertion) to spring-security-saml and in UAA there is a cache but if there are many entries there is a memory problem, e.g. https://github.com/cloudfoundry/uaa/blob/develop/server/src/main/java/org/cloudfoundry/identity/uaa/provider/saml/LoginSamlAuthenticationProvider.java#L129 reads all saml providers from DB and resolves then the needed one from SAML message (entityID)
Please include UAA logs if available.

@swalchemist @Tallicia FYI

@strehle, do you have or know cases where UAA is configured with that many external SAML IdPs? I wonder if this issue is actually practical.

@strehle, do you have or know cases where UAA is configured with that many external SAML IdPs? I wonder if this issue is actually practical.

it is related to use case, that you have multi-tenant CF and for CF login / management you have links from the tenants into UAA zone. And we have this, not for SAML, but for OIDC. Means with https://github.com/cloudfoundry/uaa/issues/2505 and even now, we have many (> 1000) IdPs in UAA zone. Thus we have this select screen: https://uaa.cf.us10.hana.ondemand.com/ , means account chooser.
In account chooser you provide the origin where we have a indexed search. However if the Answer from IdP returns - in both cases SAML and/or OIDC - then the lookup is done from entityID (SAML) or issuer (OIDC) without any indexes.
The issue is similar in SAML and OIDC; but in our weekly sync meetings we discussed to have 2 issues for SAML and OIDC.


Update Sample

When sampling labels using a dictionary, the labels lose values for name, settings, and transforms. This PR fixes by reassigning attributes after sampling.

I think adding the replace parameter would be helpful.


I should see a footer on all pages with the specified styling and links

A/C

[ ] When I hover over the links, they should be underlined
[ ] When I click 'Terms of Use', I should be taken to the terms of use page
[ ] When I click 'Contribute' I should be taken to the Contribution readme
[ ] When I click feedback, I should be taken to the github issues pages where I can submit feedback (https://github.com/concourse/dutyfree/issues/new)
[ ] Styling should match mocks in Figma

Link to Figma: https://www.figma.com/file/pmLRwbPKrwDAGn6XLDoUiA/Concourse-Resources?node-id=1182%3A60

for the underline, https://github.com/mdgriffith/elm-ui/issues/158
sigh
override time

actually i might be able to do it with a very sharp shadow...

for the actual terms of use page, some sort of routing needs to be set up... good reference:
https://elm.christmas/2018/15

https://github.com/elm-explorations/test/issues/24
:(
previous tests which test the model changes are broken cause no testing for Browser / Nav.Key (which we use for changing the url)
time to ponder this

for the underline, mdgriffith/elm-ui#158, won't be as easy as we'd hope
override time

The underline isn't necessary if there's no easy implementation. There are a number of other options (bold the text, darken the color of the text, or just keep as is with a changing tooltip on hover which should be built into the browser by default)

@ibagha footer stuff should be up on the test site!


Improvements made while working on GTC NVidia demo.

Includes work by me, Marco Foco & Sascha Santoleri.

Thanks!


Make Windows build more robust for the ONECORE variant

I am trying to build OpenSSL on Windows and have discovered two issues that prevent a successful build of the ONECORE variant:

The makefile fails to execute the binaries (e.g., CC / CPP) if there are spaces in the path.
The makefile misses the checks of whether the files exist when calling copy.pl.

This PR addresses the two issues above and improve the robustness of the build system.

Just wondering, any plan to merge this PR?

We need another review, not just mine.  @openssl/committers?
(I hadn't updated the labels, done now)

So FYI, @haohui, we apply a 24h grace period after the approval: done label has been set.  In other words, unless some reviewer has a different opinion, this gets merged tomorrow, same time as now.

Merged.
b5756085078f43c0a6c9a22ba6e87bc073515780 Make Windows build more robust


Tiny ideas to clarify documentation of common metadata

WIP
Just to share some ideas.

? not clear why this should be failing tests ?
Presumably, existing problems with the cube-arithmetic FB


Issue with selecting region of interest on image using mouse

When I try to highlight a region of interest using my mouse as described ( https://mantis.parkerici.org/populations/ ), the lasso tool never lets go, even after I release the mouse button, and the region is never selected. I did not have this issue earlier today, but now I have this issue recurrently even after re-downloading mantis-viewer. Do you have any tips on how to resolve this issue?

I forgot to open the segmentation labels file before selecting the region. That corrects my issue

I forgot to open the segmentation labels file before selecting the region. That corrects my issue

Glad you figured it out!

Glad you figured it out!


Auto-logout after 20 minutes?

Was reading some code when I saw something related to the issue H1-123897.
We already have some timeout.
Is it really useful to decrease the time to 20 minutes? I find already the 6 hours really short compared to the other websites. No credit card data is displayed and if somebody tries to change your Paypal email, you get a notification since he has to add an email to your account. In addition, if we start requiring to enter the password again for sensitive actions, it won't be really needed.
What are you thoughts about this?

In addition, if we start requiring to enter the password again for sensitive actions, it won't be really needed.

I'm fine with this approach. We incorporate both financial and social elements. The financial elements (payment methods, transaction details) should be considered sensitive, but not the social elements (profiles, team pages).

Closing this issue in favour of one related to password confirmation, then.


comments are always wrapped in html

Due to that we have to use html syntax in the comments to use code blocks and link formatting, for example, rather than markdown syntax (which is a bit a counter sense given that we are generating markdown documentation, and that go documentation supports markdown syntax as far as i understand)

Greetings, this utility is specifically used with Hugo to generate document sites. It's actually the reason I wrote the utility. What is that you're proposing?

greetings to you @rrmcguinness :) sorry for being slow, I was out of office.
Hugo may be interesting also for us in the future. May be I can ad flag to serialise comments without HTML, so that default behaviour won't change.
What do you think?

That sounds like a good approach. Would you like to add that patch or is
that something you'd like me to put in the backlog. Either works for me.
On Wed, Oct 18, 2023 at 5:55 AM Federico M. Facca @.***>
wrote:

greetings to you @rrmcguinness https://github.com/rrmcguinness :) sorry
for being slow, I was out of office.
Hugo may be interesting also for us in the future. May be I can ad flag to
serialise comments without HTML, so that default behaviour won't change.
What do you think?
—
Reply to this email directly, view it on GitHub
https://github.com/GoogleCloudPlatform/proto-gen-md-diagrams/issues/5#issuecomment-1768097287,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AX4TOXWNEBSNHSND63JVQ2TX76RR3AVCNFSM6AAAAAA564JHRGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONRYGA4TOMRYG4
.
You are receiving this because you were mentioned.Message ID:
@.***>


Stored properties cannot be marked unavailable with '@available'

Build error in Xcode 15. Can you help me update the this repository?

Build error in Xcode 15. Can you help me update the this repository?  i am also having same issue can you please give alternate solution to it.

@ShravaniNovo
Step 1: fork this repo to your repo.
Step 2: Fix in your repo.
Step 3: Change Podfile link to your repo.
Something like that:
pod "MagicTimer", :git => 'https://github.com/<Your repo>/MagicTimer.git', :branch => 'master'

Having the same issue here

It has been fixed in 1.0.5 version.

Unable to find a specification for MagicTimerCore depended upon by MagicTimer throwing this error while updating pod

It has been fixed in 1.0.5 version.

Unable to find a specification for MagicTimerCore depended upon by MagicTimer throwing this error while updating pod.

@sadeghgoo Thank you! love your timer :)

The Problem with Cocoapods has been fixed: pod 'MagicTimer', '~> 1.0.6'

@sadeghgoo, I was using MagicTimerView with UIKit in my old project, is it deprecated in v1.0.6?


Why are the coordinates returned by  get_curpos different from that displayed in the teach pendant?

I have already selected the 8th User Frame and Tool Frame in the teach pendant, but the coordinates in the teach pendant are different from that returned by the get_curpos function
get_curpos:

teach pendant:

The data of 8th User Frame and Tool Frame are zeros.

The coordinates you get returned by get_curpos is dependend on the utool and uframe you have initialized in the system variables. You can navigate like this to get there:
Menu -> System -> Variables -> Group
I'm not sure why this is the case, maybe @torayeff can tell us more about that. Because get_curpos should return the TCP dependend on the $MNUTOOL variable, which is not the case


DropBox

Followed a link from site as I am trying to paste code into auth for Thunderbird Vers 68.12.1 and paste does not work!
Describe the problem and steps to reproduce it:
https://addons.thunderbird.net/en-US/thunderbird/addon/cloudfile-provider-for-dropbox/
(Please include as many details as possible.)
What happened?
Page returned "Couldn't find" https://addons.thunderbird.net/en-US/thunderbird/addon/cloudfile-provider-for-dropbox/
What did you expect to happen?
Anything else we should know?
(Please include a link to the page, screenshots and any relevant files.)

I don't understand what your issue is, sorry. There is no addon at that link.
If you have an issue with this addon: https://addons.thunderbird.net/en-US/thunderbird/addon/filelink-provider-for-dropbox/ this isn't the place to get add-on support, it's for issues with the website.

This seems like it's probably a support issue with the FileLink system, you can request support on https://support.mozilla.org/en-US/questions/new/thunderbird


ci: CodeBuild scripts to support AL2

Resolved issues:
Ci portion of #387
Description of changes:
Scripts to support running Ci on AmazonLinux2, both aarch64 and x86_64.
This is splitting up a previous PR that created a pre-build docker image.
Call-outs:

Unit tests passing
Added a S2N_NO_SSLYZE flag to prevent it running on AL2
Integration v1 tests currently hang when s2nd exits (crashes?)
Must run tests as root
Changed how shellcheck is installed  (this should really be a github action)
Added 4 new env vars to s2n_setup_env.sh: DISTRO, ARCH, VERSION_ID, VERSION_CODENAME so we can be more granular with what gets installed where
Only packages for gcc-7 ready to go.  Ask AL2 maintainers for newer builds
Tweaked tox and gnuTLS installs for AL2/mac

Testing:

How is this change tested (unit tests, fuzz tests, etc.)? Are there any testing steps to be verified by the reviewer?

AL2 docker images and Graviton2 EC2 instances.  Please help double check with the following steps:
(as root)
./codebuild/bin/install_al2_dependencies.sh
TESTS=integrationv2 S2N_LIBCRYPTO=openssl-1.1.1 BUILD_S2N=true GCC_VERSION=7 NO_PQ=1 S2N_NO_SSLYZE=true  ./codebuild/bin/install_default_dependencies.sh
PATH=$PATH:/root/.local/bin TESTS=integrationv2 S2N_LIBCRYPTO=openssl11 make
PATH=$PATH:/root/.local/bin TESTS=integrationv2 S2N_NO_SSLYZE=true make -C tests/integrationv2 all

Is this a refactor change? If so, how have you proved that the intended behavior hasn't changed?

Script changes, yes. CodeBuild runs against Ubuntu need to pass before merging. AL2 CodeBuild automatio will come in future PRs.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

Merging #2362 into main will increase coverage by 4.20%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #2362      +/-   ##
==========================================
+ Coverage   81.19%   85.40%   +4.20%
==========================================
  Files         267      166     -101
  Lines       18272    14031    -4241
==========================================
- Hits        14836    11983    -2853
+ Misses       3436     2048    -1388


Proposed documentation updates

[ ] What to expect if you have 0 or 1 timestamps in your data
[x] Explaining EDA range

What it means to have a value of 1000
What it means to have a value of 0.03

See this FAQ for updates on EDA:https://www.reddit.com/r/EmotiBit/comments/tl8w29/why_is_my_eda_signal_flat_and_sometimes_has_jumps/


Play speed 1x may have some problem on the statistic second count

So basically we have a student played the whole video while only recorded 49%.

Actually, the above commit after closing the issue may be the real solve. Turn out that I never re-sign request Auth header in most of the requests, including watch-time, so maybe the watch-time request simply suffers a JWT expiration during watching, especially when the video is long.

We may finally solve this issue.


[ci] update versions of GitHub Actions

Contributes to #3763.
Proposes updating all external Github Actions that LightGBM uses to their latest versions.
Benefit of this change
Attempts to resolve the following deprecation warnings, before they become errors and result in LightGBM's CI failing.

Node.js 12 actions are deprecated. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/. Please update the following actions to use Node.js 16<EMAIL_ADDRESS>r-lib/actions/setup-pandoc@v1

r-lib/actions/setup-pandoc@v1 is deprecated. Please update your workflow to use the 'v2' version.

The save-state command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/

Appreciate the offer, thanks @jmoralez ! I can fix it right now, I haven't started traveling yet.


New version: Flux v0.16.0

Registering package: Flux
Repository: https://github.com/FluxML/Flux.jl
Created by: @CarloLucibello
Version: v0.16.0
Commit: bcbecab8e814ae6ff147ae1882e7e9b56a9735da
Reviewed by: @CarloLucibello
Reference: https://github.com/FluxML/Flux.jl/commit/bcbecab8e814ae6ff147ae1882e7e9b56a9735da#commitcomment-150373590
Description: Relax! Flux is the ML library that doesn't make you tensor

@CarloLucibello Can the breaking change in v0.16.0 be detailed like it was in the last breaking change v0.15.0.

Yes! Detail is in NEWS.md, I'll copy into the release page as well

done!

Much appreciated!


Got rid of the What's New text on the Contribute page

Not necessary to include what’s new text. removing redundancy.

@rhamilto CHECK IT!

Nice job, @LHinson!


Add Escrow RPC

We currently duplicate a lot of logic in the javascript library to get the current individual and total escrow balances. This would be better placed in a RPC extension.

Closed by #689


Revert "add node_modules to .gitignore"

Reverts matrix-org/matrix-doc#3632
this was a duplicate of an existing entry

No? Which entry? if it's /spec/, then no, because i had node_modules listed on /.


AzureResourceManagerTemplateDeployment task fix

Task name: AzureResourceManagerTemplateDeploymentV3
Description: Fixing ARM task issue
Documentation changes required: (Y/N)
Added unit tests: (Y/N) N
Attached related issue: (Y/N) https://github.com/microsoft/azure-pipelines-tasks/issues/18792
Checklist:

[ ] Task version was bumped - please check instruction how to do it
[ ] Checked that applied changes work as expected

/azp run


/namespace flag references fix for name collisions but I'm confused

The description for the /namespace flag says "To make sure that the message contract name does not collide with operation name, you should either qualify the type reference with ::, or make sure the names are unique." but I don't understand how/where I'd qualify the type reference. Do you mean in the WSDL? What if its outside of my control? Do you mean to edit the proxy after its been generated? If so, how? I'm experiencing a collision issue with a .net core proxy generated for a third-party soap api. I've got my hopes up that this could be the fix.

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

ID: 0952b258-0ee3-950f-3193-4ed5635b1a6e
Version Independent ID: 58aae6b7-c83c-40e8-530d-0848e9761919
Content: ServiceModel Metadata Utility Tool (Svcutil.exe)
Content Source: docs/framework/wcf/servicemodel-metadata-utility-tool-svcutil-exe.md
Product: dotnet-framework
Technology: dotnet-wcf
GitHub Login: @HongGit
Microsoft Alias: wcfsrvt

@HongGit @mconnew can you please look at this feedback?

Here's a problematic scenario. You have a namespace called Animals which contains a class called Dog. You also have a class called Animals with a property called Dog in the namespace MyApp. In this code:
namespace MyApp
{
    public static class Program
    {
        public void Main(string[] args)
        {
            DoSomething(Animals.Dog);
        }
    }
}

How does the compiler resolve Animals.Dog? Is it the class Dog in the namespace Animals? Or is it the property Dog on the class Animals? One way is to use :: as per the documentation here (which also provides more examples). If you mean the class Dog, you can use Animals::Dog. Basically the documentation is saying that when you provide a mapping between XML namespaces and CLR namespaces, you can end up with the "Is it a class or is it a namespace" ambiguity. If this happens, you can disambiguate which it is using the :: operator. An operation in a WSDL becomes a method on an interface. A message contract in a WSDL becomes a class definition. Sometimes this things end up with the same name.
@dgbrown, if you are still stuck after this, open an issue in https://github.com/dotnet/wcf including the wsdl and a description of the problem you are having with the generated code.


⚠ ClamAV has degraded performance

In 8e7a33b, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 483 ms

Resolved: ClamAV performance has improved in 70ad33a.


Generated example response qoute is formatted badly

If asked to generated markdown with json example code, it creates this:

```
json :
{

instead of this

```json
{

Swagger2Markup version: 1.3.1

I have found out that the problem is a bit hard to fix. In delimitedBlockText the newline is always added after ``` which I cant find a good way to make it only do if the block is a type with a language hint. Because where this is called we dont really have the information of if language typehing is included. Ideas?

I release now that this issue is on the wrong project also. I didnt know it was this split up. Here is link to relevant code: https://github.com/Swagger2Markup/markup-document-builder/blob/master/src/main/java/io/github/swagger2markup/markup/builder/internal/markdown/MarkdownBuilder.java#L125

@RobWin imho this is a bug, not "enhancement". Where does the "\n:\n" concept come from?


ResponseEntity headers broken w/ spring-cloud 2020.0.0

I'm trying to upgrade my system from spring-cloud Hoxton.SR8 + spring-boot 2.34.-RELEASE to spring-cloud-2020.0.0 + spring-boot 2.4.1.
Some of my tests started failing upon this upgrade, and investigation shows what seems to me a rather serious issue that I'd like to bring to your attention.
I have a simple echo service that takes a query param and echoes it back. I call it with a simple Feign client:
@FeignClient(name = "echo-service")
public interface EchoClient {
    @GetMapping(path = "/echo", produces = MediaType.APPLICATION_JSON_VALUE)
    ResponseEntity<Echo> jsonEcho(@RequestParam("m") String message);
}

My test checks the Content-Type header of the response:
        String message = "Hello JSON!";
        ResponseEntity<Echo> entity = client.jsonEcho(message);
        assertThat(entity.getHeaders().getContentType()).isEqualTo(MediaType.APPLICATION_JSON);

The test fails, because response headers seem to be broken in this latest version. I don't know whence the change stems, but it seems pretty clear it won't work properly:

feign.SynchronousMethodHandler calls feign.Response#build
feign.Response converts every header key to lower case in feign.Response#caseInsensitiveCopyOf
Response (in my case) gets wrapped into a org.springframework.http.ResponseEntity
ResponseEntity's headers are case-sensitive. The assertion in the test above fails because entity.getHeaders().getContentType() is null!

The same test passes with spring-cloud Hoxton.SR9 and spring-boot 2.3.7.RELEASE, because ResponseEntity#getHeaders eventually queries a org.springframework.util.LinkedCaseInsensitiveMap (spring-core-5.2.12.RELEASE and spring-web-5.2.12.RELEASE), which handles header keys cases-insensitively.

The same test passes with spring-cloud Hoxton.SR9 and spring-boot 2.3.7.RELEASE, because ResponseEntity#getHeaders eventually queries a org.springframework.util.LinkedCaseInsensitiveMap (spring-core-5.2.12.RELEASE and spring-web-5.2.12.RELEASE), which handles header keys cases-insensitively.

Maybe ResponseEntityDecoder in createResponse method should use HttpHeaders (and it's default constructor which uses LinkedCaseInsensitiveMap) instead of case sensitive LinkedMultiValueMap to build headers for ResponseEntity.

Maybe ResponseEntityDecoder in createResponse method should use HttpHeaders (and it's default constructor which uses LinkedCaseInsensitiveMap) instead of case sensitive LinkedMultiValueMap to build headers for ResponseEntity.

As I mentioned yesterday, It's working correctly in case I replace the following line in ResponseEntityDecoder.createResponse method:
MultiValueMap<String, String> headers = new LinkedMultiValueMap<>();
with this one:
HttpHeaders headers = new HttpHeaders();
Not sure if it's proper fix, but it's working at least :)

As I mentioned yesterday, It's working correctly in case I replace the following line in ResponseEntityDecoder.createResponse method:
MultiValueMap<String, String> headers = new LinkedMultiValueMap<>();
with this one:
HttpHeaders headers = new HttpHeaders();
Not sure if it's proper fix, but it's working at least :)

PRs welcome

PRs welcome

@martinsefcik @spencergibb
The odd thing is that ResponseEntityDecoder hasn't changed at all, so what causes the regression?
I think this is the commit that caused the modified behaviour:
https://github.com/spring-projects/spring-framework/commit/3276f818519f9bde187c4ccb83653c21c2e0e7fb
Prior to that commit, the map passed by ResponseEntityDecoder would have been wrapped in a HttpHeaders instance; after it, no more. In that sense, changing ResponseEntityDecoder to create a HttpHeaders itself would seem reasonable.

@martinsefcik @spencergibb
The odd thing is that ResponseEntityDecoder hasn't changed at all, so what causes the regression?
I think this is the commit that caused the modified behaviour:
https://github.com/spring-projects/spring-framework/commit/3276f818519f9bde187c4ccb83653c21c2e0e7fb
Prior to that commit, the map passed by ResponseEntityDecoder would have been wrapped in a HttpHeaders instance; after it, no more. In that sense, changing ResponseEntityDecoder to create a HttpHeaders itself would seem reasonable.

@martinsefcik Please let me know if you would like to create the PR. If not, I'll add these changes.

@martinsefcik Please let me know if you would like to create the PR. If not, I'll add these changes.

@OlgaMaciaszek it looks like it will be much faster when you do it. As I was trying to setup local environment on my computer for spring-cloud-openfeign project, but I was not successful yet.

@OlgaMaciaszek it looks like it will be much faster when you do it. As I was trying to setup local environment on my computer for spring-cloud-openfeign project, but I was not successful yet.

Thank you!

Thank you!


[Question]How to set memory useage less than 1GB or less

OrientDB Version:
2.2.24
Java Version:
2.8
OS:
centos 6.9
Expected behavior
When Orientdb start, it use more than 1GB memory, Is there any way to reduce memory useage?
I expect orientdb storage 500000 vertices and 300000 egdes in graph mode, and I don't want orientdb use more than 1GB memory, is that possible?
my start parameter and top -c
/usr/local/easyops/jdk/bin/java -d64 -server -Xms256m -Xmx512m -Djna.nosys=true -XX:+HeapDumpOnOutOfMemoryError -XX:MaxDirectMemorySize=512g -Djava.awt.headless=true -Dfile.encoding=UTF8 -Drhino.opt.level=9 -Djava.util.logging.config.file=/usr/local/easyops/orientdb/config/orientdb-server-log.properties -Dorientdb.config.file=/usr/local/easyops/orientdb/config/orientdb-server-config.xml -Dorientdb.www.path=/usr/local/easyops/orientdb/www -Dorientdb.build.number=2.2.x@rd3309b6660d38e14390344a1fa98a43ade2e2073; 2017-07-20 15:46:56+0000 -cp /usr/local/easyops/orientdb/lib/orientdb-server-2.2.24.jar:/usr/local/easyops/orientdb/lib/*:/usr/local/easyops/orientdb/plugins/* -Djava.net.preferIPv4Stack=true com.orientechnologies.orient.server.OServerMain

   PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
 28757 xxxxxxx   20   0 6049m 1.2g  15m S  0.3 14.7   0:05.13 /usr/local/xxxxxxx/jdk/bin/java -d64 -server -Xms256m -Xmx512m -Djna.nosys=true -XX:+HeapDumpOnOutOfMemoryError -XX:MaxDirectMemorySize=512g -Djava.awt.headless=true -Dfile.e

My English is not very well, thanks reading.

Hi @lightjiao just set -Dstorage.diskCache.bufferSize=312 and you should get this result

Thank you very much, it works.
I know the parameter  [-Dstorage.diskCache.bufferSize](http://orientdb.com/docs/2.2.x/Configuration.html#storagediskcachebuffersize)
The doc tell me it's about disk buffer, why it can change the memory useage?
and why 312?
I do not know much about JVM, could you tell me? or any document and paper can tell me ?
Thanks

@laa

@lightjiao disk buffer is the main consumer of direct memory. Because you already consumed  512M by the heap, size of disk buffer should be less than 512M to add up till 1GB. Please note that JVM itself consumes some amount of memory. So 312 M seems good first approximation. You can try 450M at first and check what the real memory consumption is.


Dont use gogoanime

Is your feature request related to a problem? Please describe.
See there are many instances of gogoanime there and many of them are even blocked in some area of glob
Describe the solution you'd like
Before using gogoanime you should know that gogoanime is not the anime provider but instead of that it also scrapes from its parents website thats why its not really easy to ban all the instances of gogoanime.
Describe alternatives you've considered
gogoanime scrapes from gogo-play.net you can verify that whenever you press on the download button it takes you to the download page and that time check the domain gogo-play.net so thats why I am thinking we should you that instead of gogoanime and Its would be easy to use globally.
Additional context

Hi @prinixos ,
I have created a proof of concept to extract the content of the iframes, I hope this POC will help you to continue investigating.
Thank you for your comment!


Isolate Header Banner

What does this PR do?
Creates a reusable Header Banner component and deletes other specific Header Components:

Members
Contact
Candidates
Projects

Related issues
#63
Todo: Change icon button color scheme

Btw, you can copy the unit test already made from the previous proyects header test.
It includes scrolling and component rendering, just modify it with the corresponding components.

Btw, you can copy the unit test already made from the previous proyects header test.
It includes scrolling and component rendering, just modify it with the corresponding components.


WaiUntil not working as expected

I am using FluentAutomation & SpecFlow with PageObject.
When I try and use the WaitUntil command to wait for a modal to load, it doesn't wait as expected (2 mins as an extreme) it just continues without pausing.
What gives?
When the test begins, I set the Config for the timeouts like this:
[Binding]
public class FeatureSteps : FluentTest
{
    [Given(@"I do something important")]
    public void GivenIDoSomethingImportant()
    {
        Config.Settings.WaitTimeout = TimeSpan.FromSeconds(120);
        Config.Settings.WaitUntilTimeout = TimeSpan.FromSeconds(120);

        Pages.Get<HomePage>()
            .Go()
            .DoSomething()

Then in DoSomething
    public HomePage DoSomething()
    {
        I.WaitUntil(() => I.Expect.Exists(".className")); // doesn't wait here
        I.Click(".className");

        return this;
    }

Any ideas?

Have also tried with I.Assert.Exists

I also had some challenges with WaitUntil combined with I.Find or I.Assert.Attribute. As you said it didn't seem to wait. I needed to WaitUntil an element displayed, then I needed to wait for the element to no longer display. The element was a delayed loading overlay. Here was was my work around:
    public bool TryFindElement(By by, int timeoutMilliseconds)
    {
        this.Provider.Manage().Timeouts().ImplicitlyWait(TimeSpan.FromMilliseconds(timeoutMilliseconds));
        try
        {
            this.Provider.FindElement(by);
        }
        catch (NoSuchElementException ex)
        {
            return false;
        }
        return true;
    }

	[Then("the content has loaded")]
	public void WaitForContentLoad()
		if (TryFindElement(By.CssSelector("div[style*='display: block;'] div[class='jtable-busy-message'][style='display: block;']"), 1200))
			{
				//code to execute when element found
			}

As a side note this worked perfectly fine for image based load wait that I have:
	I.WaitUntil(() => I.Assert.Not.Visible("img[src='loading.gif']"), TimeSpan.FromSeconds(120));


Update app and chart versions

Update Trino to 450, which is the latest available now.

I don't think an announcement is necessary, there are no changes in the chart.


Validation errors

Describe the bug
Errors when trying to download mods
55.93 - Loading server whitelist
60.73 - Loaded permissions for 116 servers and 51 Google Drive files
60.73 - Running validation checks
61.04 - Schlongs_of_Skyrim_SE_HDT-SMP - v1.1.rar is not a whitelisted download
61.04 - 0.95.57.eng.rar is not a whitelisted download
61.04 - Sexlab Defeat Addon by BakaFactory 1.01V SE English.7z is not a whitelisted download
61.07 - Encountered error, can't continue - System.Exception: 3 validation errors found, cannot continue.

The list is down, this is not a bug. Wait patiently for the 0.3 update.


Fix #214.

Hi @SamProf
I tried to implement options rendering with data binding for Enhanced MattSelect. I hope it is useful.
Alberto
Thanks also @roald-di

Hi @SamProf
did you see the pr?
Thanks Alberto


Consider an encryption scheme that keeps the user data out of website author hands

e.g., share a website-specific encryption key between the various tech vendor of a website (operator, CMP, adserver, SSP., DSP..).
This also suggest that the wording below should be adapted:
https://github.com/criteo/addressable-network-proposals/blob/ef04286eb1a8f20ed387f4594389b786556eb4ee/mvp-spec/operator-design.md?plain=1#L13
=> no decryption is needed by website. Decryption might stil be needed by e.g. the SSP. The benefit is still there:  it's possible to handle the payload through client side javascript until it reaches the SSP.

I've made some progress on this requirement.
Objective
The objective is that for some publishers,

no readable data is stored as 1st cookie party
no readable data is available in the browser

In other words, Prebid data is encrypted for these publishers and can only be decrypted by backends, when needed
(to get consent by CMP, to display existing preferences by CMP, to bid by ad server)
Changes
Big picture (and to build on the existing proposition), it would mean the following changes in the current design & API:

when the operator receives a request to read data from a "sender", if a secret key is associated with this sender then encryption is activated
when encryption is activated, the returned ID and preferences are encrypted with the sender's secret key. In this case the data model is different, for example:

in this case, instead of:
{
  "sender": "operatorO.com",
  "timestamp":<PHONE_NUMBER>793,
  "signature": "message_signature_xyz1234",
  "body": {
    "preferences": {
      "version": 0,
      "data": {
        "opt_in": true
      },
      "source": {
        "domain": "cmpC.com",
        "timestamp":<PHONE_NUMBER>,
        "signature": "preferences_signature_xyz12345"
      }
    },
    "identifiers": [
      {
        "version": 0,
        "type": "prebid_id",
        "value": "7435313e-caee-4889-8ad7-0acd0114ae3c",
        "source": {
          "domain": "operator0.com",
          "timestamp":<PHONE_NUMBER>,
          "signature": "prebid_id_signature_xyz12345"
        }
      }
    ]
  }
}

the response would look like:
{
  "sender": "operatorO.com",
  "timestamp":<PHONE_NUMBER>793,
  "signature": "message_signature_xy48789799",
  "body": {
    "encryptedPreferences": {
      "value": "A3NpbmdsZS41MWRjLnVrAC...CfXor0v9Y1R+NzY8z1k=",
      "encrypter": "publisherP.com"
    },
    "encryptedIdentifiers": [
      {
          "value": "HijVo2mQtOst1durTtajwevb_V480ODx...dZy32NIkXH414nhdE9K1JFyiVU",
          "encrypter": "publisherP.com"
      }
    ]
  }
}

Signature algorithm for the "read" response also needs to evolve to handle possible encrypted values.

Signature of the response would probably be based on the concatenation of:

sender + '\u2063' +
receiver + '\u2063' +
preferences.source.signature + '\u2063' +
encryptedPreferences.value + '\u2063' +
identifiers[0].source.signature + '\u2063' +
identifiers[1].source.signature + '\u2063' +
...
identifiers[n].source.signature + '\u2063' +
encryptedIdentifiers[0].value + '\u2063' +
encryptedIdentifiers[1].value + '\u2063' +
...
encryptedIdentifiers[n].value + '\u2063' +
timestamp

the encrypted value is an encryption of a serialization of the full identifier or preferences object, including its source

this is because once decrypted, the object must be verifiable

when the website client receives data, it can write it as a local cookie, but only the encrypted value is stored

it is useful to write it as a 1st party cookie to avoid querying the operator again and again:
having a cookie named "prebid id" with value encrypted means PAF has already been queried

in this configuration, id and preferences are never read in the browser
the data can be decrypted but only by a backend, for example by the ad server. This ad server needs to have the secret key that was used for encryption
to remain consistent, the write endpoint must also be adapted to accept encrypted ids and preferences

and the signature algorithm must also be adapted

Challenges / issues

need to clarify how the CMP manipulates clear data, but the publisher that triggers the CMP display does not have access to this data
when encryption is active for a publisher, readable data cannot be accessed in the browser. Is this never an issue?
when the website client receives encrypted data from the operator, is it useful to verify the response's signature?

because either data has been rightfully encrypted by the operator and only the operator or the publisher can decrypt it, or a man in the middle has encrypted data but in this case it won't be possible to decrypt it anyway.
option? include the encryptedPreferences.encrypter and encryptedIdentifiers[1].encrypter in response signature.

the encryption of the audit log needs to be tackled as well: if id & preferences are encrypted but the audit log (and its seed) is received "clear", then that's a security hole.


Bug Fix: Department Search Bar

Fixed a glitch where the department could not be cleared in the search form.
Also updated setDept to clear the department search label when set to null.

Here's the bug that this fixes:


docs line missing

Hi, Thank you for creating this library.
a minor thing:
It seems that the documentation in the readme is incomplete / duplicated
on the 3rd line of the following quote

// create asset
var newAssetName = MKIOClient.GenerateUniqueName("asset");
var newasset = client.Assets.CreateOrUpdate(newAssetName, newAssetName, "storagename", "description of my asset");
// create asset and use labels to tag it
newAssetName = MKIOClient.GenerateUniqueName("asset");
newasset = client.Assets.CreateOrUpdate(
newAssetName,
newAssetName,
"storagename",
"description of asset using labels",
AssetContainerDeletionPolicyType.Retain,
null,
new Dictionary<string, string>() { { "typeAsset", "source" } }
);

Thanks! The sample shows how to create two assets but I will clarify.

Only now I see that I needed to scroll to the right to see the right part of the sentence (facepalm)
there was no error all along... sorry about the confusion.
I do have another remark on the docs though. It is info that I also find missing in the official mk.io docs.
I would like to see a complete code example on how to add a new video to MK.IO.
I am currently trying to figure this out myself based on logical reasoning and the text from other issues
I mean (not sure this is the flow):

(azure) create an input container in azure

(azure) create an inputblob in the input container

(azure) upload a file into the input container

(azure) create an output container in azure

(mk.io) create an input asset matching the input container

(mk.io) create an output asset matching the output container

(mk.io) create a job that does the transform (assuming the transform is already created)

.. this is where I am still figuring things out currently

(mk.io) poll the job for completion

(mk.io) set up the streaming endpoint for the asset

(mk.io) set up the streaming locator for the asset

output: a streaming url

This is the flow I think

(mk.io) create an input asset (it will create the container for you)
(azure) upload a file into the input container as blob
(mk.io) create an output asset (it will create the container for you)
(mk.io) create a job that does the transform (assuming the transform is already created)
(mk.io) poll the job for completion
(mk.io) set up the streaming locator for the asset
output: a streaming url

Note : streaming endpoint has to created one time, you can use it will all your assets.

thanks for the info, this will simplify my code somewhat.
As 'an mk.io beginner' I would love to see this flow in the docs / code sample

You are right. I will see how to add that.

In case someone is interested, I got it working with the following code
MKIOVideo - my database entity for keeping track of the video
`public sealed class MKIOVideo
{
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public int Id { get; set; }
public Guid VideoId { get; set; }
public string BackendString { get; set; } = "";

public string AzureInputBlobContainerName
{
    get
    {
        return $"{VideoId}-{BackendString}-input";
    }
}

public string AzureOutputBlobContainerName
{
    get
    {
        return $"{VideoId}-{BackendString}-output";
    }
}

public string AzureInputBlobName
{
    get
    {
        return $"{VideoId}-{BackendString}-inputblob";
    }
}

public string MkIoInputAssetName
{
    get
    {
        return $"{VideoId}-{BackendString}-input-mkio";
    }
}

public string MkIoOutputAssetName
{
    get
    {
        return $"{VideoId}-{BackendString}-output-mkio";
    }
}

public string JobName
{
    get
    {
        return $"job-{VideoId}";
    }
}

public string JobStatus { get; set; } = "Unknown";
public string OriginalFilePath { get; set; } = "";// the original path of the uploaded video file
public string StreamingUrl { get; set; } = "";

[Obsolete]
public MKIOVideo()
{
    //for EF
}

public MKIOVideo(string uploadFilePath, string backendString)
{
    VideoId = Guid.NewGuid();
    BackendString = backendString;
    OriginalFilePath = uploadFilePath;
}`

Server Side
`private async Task StartProcessingVideo(MKIOVideo mkioVideo)
{
IMKIOClient client = GetMKIOClient();
//this call will create the container in azure (if it does not yet exist)
var MKIOInputAsset = await client.Assets.CreateOrUpdateAsync(
assetName: mkioVideo.MkIoInputAssetName,
containerName: mkioVideo.AzureInputBlobContainerName,
storageName: _mkioStorageAccountName,
description: "input asset",
containerDeletionPolicy: AssetContainerDeletionPolicyType.Delete); //we aim to delete this afterwards
await UploadFileToAzure(mkioVideo);

//this call will create the container in azure (if it does not yet exist)
var MKIOOutputAsset = await client.Assets.CreateOrUpdateAsync(
    assetName: mkioVideo.MkIoOutputAssetName,
    containerName: mkioVideo.AzureOutputBlobContainerName,
    storageName: _mkioStorageAccountName,
    description: "output asset",
    containerDeletionPolicy: AssetContainerDeletionPolicyType.Retain);

var jobSchema = await client.Jobs.CreateAsync(
    transformName: _transformName, //manually created in the mk.io portal
    jobName: mkioVideo.JobName,
    new JobProperties()
    {
        Input = new JobInputAsset(
            assetName: mkioVideo.MkIoInputAssetName,
            files: new List<string>() { mkioVideo.AzureInputBlobName }
            ),
        Outputs = new List<JobOutputAsset>
        {
                new JobOutputAsset { AssetName = mkioVideo.MkIoOutputAssetName }
        }
    });

}
private async Task UploadFileToAzure(MKIOVideo mkioVideo)
{
BlobServiceClient blobServiceClient = new BlobServiceClient(_azureStorageConnectionString);
var blobContainerClient = blobServiceClient.GetBlobContainerClient(mkioVideo.AzureInputBlobContainerName);
var httpRequest = HttpContext.Request;
var postedFile = httpRequest.Form.Files[0];
 var fileId = Guid.NewGuid();
 byte[] buffer = new byte[postedFile.Length];

 using (var memoryStream = new MemoryStream())
 {
     await postedFile.CopyToAsync(memoryStream);
     buffer = memoryStream.ToArray();
     memoryStream.Position = 0;
     var blobContentInfo = await blobContainerClient.UploadBlobAsync(mkioVideo.AzureInputBlobName, memoryStream);
 }

}
private async Task UpdateJobStatus(MKIOVideo mkioVideo)
{
var mkioClient = GetMKIOClient();
var job = await mkioClient.Jobs.GetAsync(_transformName, mkioVideo.JobName);
mkioVideo.JobStatus = job.Properties.State.ToString();
if (job.Properties.State == JobState.Finished)
{
    var streamingLocators = await mkioClient.Assets.ListStreamingLocatorsAsync(mkioVideo.MkIoOutputAssetName);
    var streamingLocatorName = $"{mkioVideo.Id}-streaminglocator";
    if (streamingLocators != null && !streamingLocators.Any())
    {
        var mklocator = await mkioClient.StreamingLocators.CreateAsync(streamingLocatorName,
            new StreamingLocatorProperties
            {
                AssetName = mkioVideo.MkIoOutputAssetName,
                StreamingPolicyName = PredefinedStreamingPolicy.ClearStreamingOnly
            });
    }
    var streamingUrls = await mkioClient.StreamingLocators.ListUrlPathsAsync(streamingLocatorName);

    //Store streaming urls in db

    //clean up the job
    await mkioClient.Jobs.DeleteAsync(_transformName, mkioVideo.JobName);

    //clean up the input asset, because we have set Mkioasset.AssetContainerDeletionPolicyType.Delete it will also delete the azure side (container + blobs)
    await mkioClient.Assets.DeleteAsync(mkioVideo.MkIoInputAssetName);
}

await _dbContext.SaveChangesAsync();
return mkioVideo;

}
`

As you might read from the code:
creating an input asset through mkio will indeed create the azure container for you,
but the azure container does not seem to be ready for file upload directly after this method returns.
Therefore in my code I create it in azure prior to calling the mkio call to ensure it's ready for upload.
I don't know if this is a bug, but it is inconvenient.
Do you think I should report this to mk.io? (because i doubt it is in your library)?

The sample code is now in the main branch and I added a reference to it in the readme.
Thanks for your suggestion !


Carry #14813 on linting package opts and trust

Carry the work of @sevki, updated according to comments and rewrote a bit some on opts (that were there before #14756).
/cc @LK4D4 @dmcgowan @tiborvass
Closes #14813.

LGTM

LGTM


#277 fix git clone hangs

Fixes: #277
Implements:

asynchronously and parallel capture of process output and error streams
fixed process working directory not being updated when ProcessContext was initialized already

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
98 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.03%) to 58.975%

Files with Coverage Reduction
New Missed Lines
%

com/devonfw/tools/ide/context/GitContextImpl.java
30
51.15%

com/devonfw/tools/ide/process/ProcessContextImpl.java
68
43.63%

Totals

Change from base Build<PHONE_NUMBER>:
-0.03%

Covered Lines:
4247

Relevant Lines:
6925

💛  - Coveralls


Delete windowsribbon-element-dynamicui.md

This type was never meant for public consumption

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

Topic deleted in an internal PR due to corresponding TOC and redirection updates.


Color blindness simulator

http://lowvision.support/
They use filters on an iframe - way cool!

Will be bringing in #44 - a color blindness contrast checker - for this as well. It currently sits in its own branch.


Bug When Playing A Scene With A Video Player

Godot version:
3.2.1 Stable
OS/device including version:
Windows
Issue description:
when I start A Godot Scene With A VIdeo Player It Just Goes To Not Responding
Steps to reproduce:
Try To Fix The Crash Rate ???????????????

We can't do anything if you don't provide steps to reproduce or a minimal reproduction project.

prefer to give a minimal project in this case...

Potential duplicate of #37648?

Duplicate of #37648.


Admin Create Event Page

Admin can find a create game page through the admin panel

Need to double
Need to handle Reducer and hook up thunk
Need to Write Test


⚠ Bofrost.at has degraded performance

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

HTTP code: 200
Response time: 2718 ms

Resolved: Bofrost.at performance has improved in 3b45b77.


Thermal loading problem

We configuration is as follows,but it isn't work
webpack.prod.conf.js
new webpack.optimize.CommonsChunkPlugin({
      name: 'vendor',
      minChunks: function (module, count) {
        // any required modules inside node_modules are extracted to vendor
        return (
          module.resource &&
          /\.js$/.test(module.resource) &&
          module.resource.indexOf(
            path.join(__dirname, '../node_modules')
          ) === 0
        )
      }
    }),
    // extract webpack runtime and module manifest to its own file in order to
    // prevent vendor hash from being updated whenever app bundle is updated
    new webpack.optimize.CommonsChunkPlugin({
      name: 'manifest',
      chunks: ['vendor']
    })

webpack.base.conf.js
entry: {
        app: ['./src/main.js']
    },
    output: {
        path: config.build.assetsRoot,
        publicPath: process.env.NODE_ENV != undefined ? './' : config.build.assetsPublicPath,
        filename: '[name].js'
    },
    resolve: {
        extensions: ['', '.js', '.vue'],
        fallback: [path.join(__dirname, '../node_modules')],
        alias: {
            'src': path.resolve(__dirname, '../src'),
            'assets': path.resolve(__dirname, '../src/assets'),
            'components': path.resolve(__dirname, '../src/components')
        }
    },

router config eg
const makeComponent = (path) => {
    return (resolve) => {
        require([path], resolve)
    }
}

'/dashboard': {
        icon: 'dashboard',
        name: 'dashboard',
        label: '控制台',
        hide: false,
        component: makeComponent('./components/page/Dashboard.vue')
    },

the folder structure after packaging

there is only one chunk file

Can you try upgrading to webpack 2 and set up a standalone example to study? Thanks.

I'm closing this issue because of inactivity. Feel free to comment, and we can always re-open it again.


Alt Key shortcuts still work in AoT mode

Describe the bug
Alt Key shortcuts still work in AoT mode, allowing users to switch to different modes while in AoT, resulting in broken UI.
Steps To Reproduce

Toggle AoT
Press Alt + 2, 3, or 4

This is your friendly Microsoft Issue Bot. I've seen this issue come in and have gone to tell a human about it.

Good catch! These shortcut keys should be disabled until we expand always-on-top support for other Calculator modes


[Feature/Change] Windows build

Description
Currently druid cannot be builded under windows. Previously 0.12.3 was building fine(even debugging was fine), but currently where are many problems with druid-console.
At first it uses bash scripts, and looks like they can be replaced in follow way :

replace clean script with maven clean plugin
replace cp-to script with maven resources plugin
replace build script with webpack. At first it copies old druid-console. Its also can be done with maven plugin. But i dont understand what is happening after it. It looks like its importing css using script ._.

sed 's|url("assets|url("/assets|g'<EMAIL_ADDRESS>> lib/blueprint.css

is there any issues doing it using webpack?
something like
import '@blueprintjs/core/dist/blueprints.css!'

At second, it uses maven frontend plugin. I think most of interprise companies uses some internal network and custom ssl keys.
This can be handled making another maven profile, which will build console using globally provided npm ( which is already configured to work in such environment) without node installation phase. This is not really windows problem. For example in our  isolated production environment npm/node is preconfigured and globally provided by jenkins
if everything with changes described before is ok, i will try to make it

when i look closer i understand this scripts used from npm build.
to make it work in both ways( from maven and from npm) it can be composed in follow way :

copy all files/dirs using webpack copy plugin
import css using webpack
import stylus using stylus loader https://github.com/shama/stylus-loader
for generation of sql functions  - parse file using javascript in webpack.config.js during build and injecting variable with all the  data
from maven execute only npm goals instead of bash scripts


Adding missing inscription

The final inscription missing final change.

The project is for Baby Zombies. Missing half of the inscriptions


Using hooks with options fail in Ruby 3.0

In Ruby 3.0, positional and keyword arguments are separated.
https://www.ruby-lang.org/en/news/2019/12/12/separation-of-positional-and-keyword-arguments-in-ruby-3-0/
In this code, if **options is missing, passed options is a part of *args.
Here is one of __original_#{callback}.
https://github.com/rails/rails/blob/v6.1.6/activemodel/lib/active_model/callbacks.rb#L130-L133
This method receives *args and **options.
Before Ruby 2.7, the last Hash of *args will be **options.
After Ruby 3.0, *args is still *args.  **options will be empty.

I couldn't find a test for this code.
Adding tests to this change will take time.  So I made a PR without test.  Sorry :pray:
If tests are mandatory to merge, any advice would be appreciated.

Thanks for your contribution!
I found that this test case reproduces your report.
https://github.com/a2ikm/mongomapper/pull/19
So, could you cherry-pick or re-implement it in your branch?
After it passes, I will merge this request.

Combined the two PRs in https://github.com/mongomapper/mongomapper/pull/698


MessageUI app

Followed one of android studios tutorials to make this, its pretty cool showcase on how to use jetpackComposes ui

I basically reworked the app to be a single app containing pages to other apps (STILL WIP im figuring out AS)


Remove throttling for visibility change event

This fixes #19.

:rocket: PR was released in v3.3.5 :rocket:


Constant evaluation should support all types and relevant stdlib functions

Basically this issue is a combination and an extension of #400, #284 and #195
The following types aren't supported right now:

Slice
Builder
StringBuilder
Maps
Structs

Also the types that are already supported don't handle most of the stdlib and built-in functions.
Resolving this issue would mean making constant evaluation complete and full.
Depends on #290

Also the types that are already supported don't handle most of the stdlib and built-in functions.

We need to implement special  support for the built-in function, but for pure stdlib functions it would be nicer to evaluate those natively, i.e. implement function calls and interpret statements.

Also the types that are already supported don't handle most of the stdlib and built-in functions.

We need to implement special support for the built-in function, but for pure stdlib functions it would be nicer to evaluate those natively, i.e. implement function calls and interpret statements.

I don't know if it's the correct place for this, but regarding evaluating stdlib functions and gas optimization we could really look into beginCell()...endCell()-like factory pattern. Like, to try and construct Cells at compile-time if all the prior values in such chained calls are constant and known. I scratched the topic a little in #344 before :)


fix: drift detection parsing issue

This fixes an issue where parsing the Terraform statefile would error during drift detection. See #317 for more details.

For the fun, I did a small experimentation:
package main

import (
        "fmt"
        "os"

        "github.com/hashicorp/terraform/states/statefile"
)

func main() {
        f, err := os.Open(os.Args[1])
        if err != nil {
                fmt.Println(err)
        }
        state, err := statefile.Read(f)
        if err != nil {
                fmt.Println(err)
        }

        for moduleName, module := range state.State.Modules {
                for _, stateRes := range module.Resources {
                        targetResources := map[string]struct{}{
                                "google_organization_iam_binding": {},
                                "google_folder_iam_binding":       {},
                                "google_project_iam_binding":      {},
                                "google_organization_iam_member":  {},
                                "google_folder_iam_member":        {},
                                "google_project_iam_member":       {},
                        }
                        if _, ok := targetResources[stateRes.Addr.Resource.Type]; ok {
                                fmt.Println(moduleName, stateRes.Addr.Resource.Type, stateRes.Addr.Resource.Name)
                        }
                }
        }
}

This seems to yield the resources we are interested in.
The thing is , this package has moved to github.com/hashicorp/terraform/internal, but I was able to go get it @v0.15.3 , which I think is the last release before 1.0.

@smaftoul I would prefer not to take a dependency on an "outdated" Terraform package, I think my latest push should solve this issue.


Open asset library example?

Hello,
Do u have an example to show how to use the open asset library?
BR,
Terry

@terrylai sorry, that code is not publicly available yet. You can look into specs folder for some examples. Use AssetProcessor with, for instance, Chain Ruby SDK to fetch transactions and it will validate and color them on the fly.


Cielo Home reads current unit but can not write a change to unit

If I change the unit temperature via the Cielo app, the unit changes, and it is reflected in the HACS Cielo Home HA card. However, if I change the temperature on the HA card, it is not changed at the unit. There is no error, and the card remains on the changed temperature, but the target is still the previous one set by the Cielo app. This worked fine until today.

Can confirm I am having the same issue.  I did update the Home Assistant Core today to 2024.5.2 from the latest version prior, and I have restarted the entire server several times but it's not fixing the issue.

Same issue here.. in the past I just reloaded the integration.. but now it just reading the entities.  I can not change any of the settings.
core 2024.5.2
supervisor 2024.05.1
operating system 12.3
frontend 20240501.1

Also seeing this issue starting today. I enabled debug logging and it looks like Cielo is returning errors:
2024-05-10 11:10:13.811 DEBUG (MainThread) [custom_components.cielo_home.cielohome] Receive Json : {"message": "Internal server error", "connectionId": "-------", "requestId": "-------"}

I didn't do any updates today. Currently running:

Core 2024.4.1
Frontend 20240404.1

Same issue here

Same here. I upgraded my HA to 2024.5.2 in few days and noticed the issue today. I rollback to 2024.4.4 and same issue so I assumed that its not related to HA's OS upgrade. The log stated
Entity None (<class 'custom_components.cielo_home.climate.CieloHomeThermostat'>) implements HVACMode(s): off, cool, dry, fan_only, auto, heat and therefore implicitly supports the turn_on/turn_off methods without setting the proper ClimateEntityFeature. Please create a bug report at https://github.com/bodyscape/cielo_home/issues

Probably a change on the cielo server. I'll check on it

Same over here without any update. Tried to redo the connection. Same thing. Can read but not write. Great job with your integration btw!

Same here, noticed that it started today when automation ran and nothing happened on Cielo side. Had this issue a month ago and it was fixed within a few days.

Same symptoms, reports the state but doesn't actually send the IR commands. Happy to fetch logs or something if that would help.

Fix on the version 1.7.5, please try it.

Thanks for the quick fix. 1.7.5 works perfectly. No issues, can control from HA or Apple HomeKit integration. All automations running again.

All working perfectly again. Thanks for the quick fix and the integration as a whole!

Can also confirm it's working.  Thanks so much for the quick turnaround!

Fix on the version 1.7.5, please try it.

You da man!

Works great, thanks again for your awesome support! Bought some more coffee for you. Cheers.

Was having exactly the same issue. How come the update does not show in HA? I see other HACS ready for update but not this one.

@iRonin you may need to go into HACS and select "Redownload" from the 3 dots menu of the Cielo Home integration.  I did that and it showed up as available to install/update.

@iRonin you may need to go into HACS and select "Redownload" from the 3 dots menu of the Cielo Home integration. I did that and it showed up as available to install/update.

Thanks. I just redownloaded and restarted and it's working again.


Implement traits for tuples.

Although we do not do so currently, it's valid to implement FromZeroes and FromBytes for tuples of any size, so long as all of the elements of those tuples also implement those traits. Use this as a model for how to provide generic implementations of these traits: https://github.com/google/zerocopy/blob/0ff2dd15c958ab615b8094cf273f6b37d113c8fa/src/lib.rs#L1094-L1108
Note: We cannot implement Unaligned nor AsBytes for any tuple type other than () — all other tuple types have the default representation, and so a) there is no upper bound on their alignment and, b) there are no guarantees made about the absence of padding.
Additionally, add tests for the presence/absence of these impls for various concrete tuple types (where the tuple element types are both sufficient and insufficient for generating the impl for the entire tuple). The assert_impls! macro may be helpful for this: https://github.com/google/zerocopy/blob/b083f1f12839b91a54460ab5d2518105f3fc5355/src/lib.rs#L4512
Following the lead of the standard library, we should implement these traits for tuples up to size 12.

Can I have a go at this issue?

Sure!


INS-20428 | Karapace Rest Proxy goes in infinite loop while retrieving broker details

About this change - What it does
The fix is to stop KafkaAdminClient from going on an infinite loop while fetching broker metadata.

Why this way
The sequence of events which cause this problem are below:

connection to bootstarp-0 is being made.
connection to Node-1 is being made.
bootstarp-0 is connected. MetaData request is still not in-flight.
Node-1 is connected.
Node-1 closes all bootstrap node connections. (See: https://github.com/aiven/kafka-python/blob/9feeb79140ed10e3a7f2036491fc07573740c231/kafka/client_async.py#L301)
Connection to Node-1 is closed due to being idle or no request in-flight and an EVENT_READ is registered(see https://github.com/aiven/kafka-python/blob/9feeb79140ed10e3a7f2036491fc07573740c231/kafka/client_async.py#L666)
And the process repeats.

We believe this is because of the overridden implementation of _maybe_refresh_metadata in Karapace(see: https://github.com/aiven/karapace/blob/fdfcb73c2e649f4ab61ec96a7ad154dac7f7ccae/karapace/utils.py#L174)
This is always preferring bootstarp node over least loaded node. Hence causing this problem (due to step 5).
The fix for this would be just to use the _maybe_refresh_metadata from aiven/kafka-python (see: https://github.com/aiven/kafka-python/blob/9feeb79140ed10e3a7f2036491fc07573740c231/kafka/client_async.py#L807)
which always makes the request to the least loaded node.

While this seems OK I note that the removed code has the comment Lifted from the parent class with the caveat that the node id will always belong to the bootstrap node,  thus ensuring we do not end up in a stale metadata loop, how does the new code ensure that we do not end up in a stale metadata loop?

While this seems OK I note that the removed code has the comment Lifted from the parent class with the caveat that the node id will always belong to the bootstrap node, thus ensuring we do not end up in a stale metadata loop, how does the new code ensure that we do not end up in a stale metadata loop?

Hi @Claudenw ,
While going through the commit which introduces this change, I found this was made to "fix a bug where metadata calls would end up continuously being made to no longer valid connections, resulting in a stale metadata" (commit: 4335886e597a1eaa6d55f2837e60a4f30bc09b62).
And I also found a later commit in aiven/kafka-python which introduces _send_request_to_least_loaded_node, where it is being checked "if the target node is
available in the cluster metadata" after every poll() (commit: 726066465e5effa6d3b182844b3037d4ded30644).
So I think the later already safeguards the problem with least_loaded_node, hence it would be alright not to use the overridden implementation in Karapace.

Hi @tvainika ,
While https://github.com/aiven/kafka-python/commit/1b95333c9628152066fb8b1092de9da0433401fd safeguards against stale cluster metadata loop problem, this does not solve the problem I mentioned in this PR.
The problem in this case occurs from consistently trying to make  a connection to bootstrap node and other nodes in parallel, where connection to any non bootstrap node, once connected, kills all bootstrap node connections in the connection callback method(https://github.com/aiven/kafka-python/blob/8006e65a3f92d0131441600a3e875459a1b3cffb/kafka/client_async.py#L303) and thereby going in an infinite loop(more on this in the PR description).
I think as karapace now uses https://github.com/aiven/kafka-python/commit/1b95333c9628152066fb8b1092de9da0433401fd, we can safely use the _maybe_refresh_metadata from aiven/kafka-python instead of the overridden implementation in karapace. Especially as the overridden implementation was only preferring bootstrap node without any checks to make sure if the bootstrap node is part of the broker metadata.

Thanks @tvainika . Could you please tell me when can we expect this to be released?

@debaditya-netapp Karapace 3.4.3 has been finally released containing this fix.


chore: appease pylint

Hopefully this finally appeases the CI.

Hi @agoose77. Should I merge this or are you still working on it?


SDXL training images resolution

Thank you for your great contribution!
I have a question about the training on SDXL model.
Did you use 1024x1024 images for training on SDXL ipadapter model since pretrained SDXL model was trained with 1024x1024 images?
or did you use 512x512 images?
Thank you

Firstly, we perform pre-training at a resolution of 512x512. Then, we employ a multi-scale strategy for fine-tuning.

Thank you for answering!
can you please tell me which scales did you use?
did you use multi-scale strategy noted on sdxl paper?

3 stages:
(1) 512x512
(2)     buckets = [
[768, 768],
[960, 640],
[640, 960],
[768, 896],
[896, 768],
[768, 832],
[832, 768],
[768, 960],
[960, 768],
[768, 1024],
[1024, 768],
[704, 1024],
[1024, 704],
[1024, 640],
[640, 1024],
]

(3)
buckets = [
[1024, 1024],
[768, 1280],
[1280, 768],
[832, 1216],
[1126, 832],
[832, 1152],
[896, 1152],
[1152, 896],
[1152, 832],
[960, 1088],
[1088, 960],
[896, 1088],
[1088, 896],
[960, 1024],
[1024, 960]
]

How much memory do you use when training with SDXL

using 40GB 8xA100s, batch size can be 8*8 at 512x512

If I train with 256, will it be much less effective

How long does it take to train SDXL to get a good effect with multi-scale strategy?
thanks!

If I train with 256, will it be much less effective

I don't test, but I think you should train at 512+

Why do I reduce the size of the image, but the memory footprint and no significant decline, even though I - resolution = 8 -- he will error torch train_batch_size = 1.
Cuda. OutOfMemoryError: CUDA out of memory. Tried to allocate 26.00 MiB (GPU 0; 23.70 GiB total capacity; 21.79 GiB already allocated; 7.56 MiB free; 22.43 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid  fragmentation.  See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF

SDXL was trained on 10241024 so how did you train on 512512 images, which is out or distribution.
Did you add a lora to the unet to be able to support low res images ?
If so did you train ip-adapter+lora together ?

SDXL was trained on 1024 so how did you train on 512 images, which is out of distribution. Did you add a lora to the unet to be able to support low res images ? If so did you train ip-adapter+lora together ?

pretrain at 512x512 and the fintune at 1024x1024

How many steps did you do for each stage?


Braket SDK requires amazon-braket-schemas-python >= 1.10.0

Describe the bug
Braket SDK requires amazon-braket-schemas-python >= 1.10.0.  A change in amazon-braket-schemas breaks customers attempting to call AwsDevice.get_devices() for versions before 1.10.0.
To fix
Locally:
pip install --upgrade amazon-braket-schemas
From a Braket Notebook Instance:
!pip install --upgrade amazon-braket-schemas

Closing as this issue is now stale.


Sourcemaps for combined js file

Hi,
We use Raygun.io for crash-reporting in production, and we found that without sourcemaps, the error details are not very helpful. I know connect-assets support source maps for seperate js files, but we are using a single combined js file in production, whose source look like this:
// This is application.js
//
//= require semantic-ui
//= require highcharts/highcharts
//= require highcharts/modules/drilldown
//= require polyglot/build/polyglot
...

Is there anyway to generate a sourcemap file for the combined js? I'm thinking something like application.js.map?
Thanks a lot!

We really should have better source map support for production environments. The focus of the source map support originally was for dev and staging kinds of use cases. I'll look into making it easy to use source maps for production (outputting for upload to external services and such).
Thanks for the input!

We badly need this to produce source maps suitable for debugging our production environment.
@blakevanlan can you share some of your thoughts on this feature?

Finally had the time to take a look at this and I just published 5.3.0 that now has a --sourceMaps option for the CLI! This will write the source map for each file to the builtAssets directory with the .map extension appended to the original filename.
@codynguyen and @siboulet: Let me know how it works for you guys and if there's something I've missed. Sorry for the month delay on this one.

From mincer:

// Strange ")]}'\n" line added to sourcemap is for XSSI protection.
// See spec for details.

And then found in the Proposal for Source Map Revision 3 at the bottom. Probably the right call is to make that an option as well.

I'm going to leave this issue open until the XSSI protection is fixed. I'll add an option to remove the prefix when I get a chance.

@blakevanlan Oh I see, thanks for the info!

@blakevanlan I've created a PR over at https://github.com/nodeca/mincer/pull/227 to add the option to skip the XSSI protection header when writing source map to file. I can look at adding the corresponding option here when I got a respond from the mincer folks.

I think it also worth ask Raygun stuff to fix sourcemaps support, as described in standard.

@puzrin I was gonna contact Raygun about that too, but then I realized XSSI protection header does not make sense if the source map file is NOT to be accessible via HTTP. In our case to keep the source map files private, we directly upload the files to Raygun's source map center and they then use those files internally to map the js backtrace to the original source.


Add translation in Fee modal

Will ask #content for actual text.

what about:
A fee of 0.07% is assessed on each swap to aid the DAO's development and maintenance by our community of contributors. Thank you for supporting AirSwap by using AirSwap!
@dmosites

@0xtra Oops, sorry! There is already text for this in the swap feature. 😅


Fix mujoco.viewer import order bug

I was having an issue with mujoco.viewer and jax in a source install, where everything was fine with the following import order:
import mujoco
import mujoco.viewer
import jax

But a different order,
import jax
import mujoco
import mujoco.viewer

threw a mysterious GLIBCXX_3.4.30 not found error.
It turns out the problem has to do with miniconda3 using some old c++ libraries by default. This PR fixes the problem by including gxx_linux-64 as an explicit conda dependency. It then reverts the import order hacks I used to get around the issue before.

LGTM, nice job looking for this. Just curious, did you test this on a fresh env?

Yup, tested on a fresh env and a fresh mujoco source copy


Arabian and Hebrew need LTR instead of RTL in the PDF Generator

Arabian and Hebrew need RTL instead of LTR in the PDF Generator. Right now they are read LEFT-TO-RIGHT. I need to write and loop if languages are read RIGHT-TO-LEFT like Arabian and Hebrew.

Fixed!


Add colormap awareness to IRISMapCube.

Hi @Cadair.  I found this open PR.  I think it's actually ready to merge as it's such a small change.  Can you give it a two minute review to see if you agree?  If so, I'll just merge.


Improvement Refine ignoring data distribution without join

Proposed changes
Issue Number: close #xxx

run buildall

run buildall

run buildall

run buildall

run buildall


tf.app.flags issue for multiple file AttributeError(name)

python train.py
messi
Traceback (most recent call last):
File "train.py", line 24, in
import model
File "/home/gezi/mine/tensorflow-exp/tests/flags/model.py", line 23, in
print(FLAGS.batch_size)
File "/usr/lib/python2.7/site-packages/tensorflow/python/platform/flags.py", line 43, in getattr
raise AttributeError(name)
AttributeError: batch_size
gezi:~/mine/tensorflow-exp/test
AttributeError: batch_size
I have 3 .pys, running tensorlow 0.10
#-----------------------------------------train.py
from future import absolute_import
from future import division
from future import print_function
import sys,os
import tensorflow as tf
flags = tf.app.flags
FLAGS = tf.app.flags.FLAGS
flags.DEFINE_integer('step', 5, '')
import util
import model
#------------------------model.py
from future import absolute_import
from future import division
from future import print_function
import sys,os
import tensorflow as tf
flags = tf.app.flags
FLAGS = tf.app.flags.FLAGS
flags.DEFINE_integer('batch_size', 100, '')
print(FLAGS.batch_size)
#--------------------------util.py
from future import absolute_import
from future import division
from future import print_function
import tensorflow as tf
flags = tf.app.flags
FLAGS = tf.app.flags.FLAGS
flags.DEFINE_string('name', 'messi', '')
print(FLAGS.name)
These demo code will not cause error, if I switch to use gflags.
Another problem:
python train.py --help
usage: train.py [-h] [--step STEP] [--name NAME]
optional arguments:
-h, --help   show this help message and exit
--step STEP
--name NAME
Why not show default values as c version gflags do ?

I think if you have multiple files like this, tf.app.flags must be used with 'tf.app.run()'.
tf.app.run() is where the flags you have declared are parsed, so if run code that inspects FLAGS before tf.app.run(), it won't work.
My suggestion would be to set it up so that:
model.py and util.py define functions but don't inspect FLAGS on import
And then your 'train.py' would define its code in a main function
def main(argv):
  .. your code ...

Then at the bottom:
if name == "main":
tf.app.run()
As for the default values, I'll have to look

@vrv  Got the point now, it works, thanks!

If someone wants to change flags.py to use https://docs.python.org/3/library/argparse.html#argparse.ArgumentDefaultsHelpFormatter when calling argparser so that it shows defaults, that would be great.  Closing the bug as is though.


Multiple spaces in class attribute value

Multiple spaces are still present after applying the fixer
Before fixer:
className="space-y-5 sm:space-y-4 md:max-w-xl lg:max-w-3xl xl:max-w-none rtbf-ad rtbf-ad__container rtbd-ad__article-grid hidden-md hidden-lg js-ad js-ad-mmr   js-ad-hideable "

After fixer:
className="space-y-5 sm:space-y-4 md:max-w-xl lg:max-w-3xl xl:max-w-none rtbf-ad rtbf-ad__container rtbd-ad__article-grid hidden-md hidden-lg js-ad js-ad-mmr  js-ad-hideable"

FIXED in v1.0.3

Hi 👋🏿
I'm using your eslint-plugin within my setup and am very happy with it - I noticed, that the issue you mention in this ticket still does occur for me 😭
something like
className="flex        flex-row"

will be ignored.
It's also not kicking in, when the classname reorder applies (which I tried by switching flex and flex-row)
eslint-plugin version:     "eslint-plugin-tailwindcss": "^3.6.0",
eslint version:     "eslint": "^8.23.0",
setup in eslintrc
  extends: [
    'plugin:tailwindcss/recommended',
  ],
  rules: {
    'tailwindcss/classnames-order': 'error',
    'tailwindcss/migration-from-tailwind-2': 'off',
  }

Happy to provide more info if required
Thanks in advance 🙇🏿

Hmm  I am still observing whitespace in the fixed JSX, even when classnames are reordered:
Before

...

After

...

Expected

...

How about a new rule, say, tailwind/whitespace?

@francoismassart, can we maybe re-open this ticket?

I have created https://github.com/francoismassart/eslint-plugin-tailwindcss/issues/263 to help us track this feature request.


FIX StringIndexOutOfBoundsException in svg average gradient color computation

See https://github.com/jgraph/svg2xml/issues/24

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Create .htaccess for hosting in apache

Just some example htaccess rewrite for the script to accept all request.

I'm using this:
RewriteEngine on
RewriteRule ^(.*)$ no.php [L,QSA]

because I want it to fail on error.


UTM for Android devices

Won't we ever have UTM for Android (apk)? And if so, why we won't have?

Please use the search feature before creating a new issue.
UTM on Android has been requested many times, and the reason it will not happen is twofold

AFAIK the developers behind UTM are mostly iOS, not Android developers. That also means we can‘t just pick up the code here and run it on Android, it‘s very platform specific.
UTM (on iOS) is based on QEMU. There are several Android apps based on QEMU that allow you to run VMs on an Android device.


No cameras detected

I've been using Camera.MAUI for a week now, and I haven't had any issues.
The camera had been working for a couple of hours, but now, no cameras are detected.
Here's a screenshot of the issue, and my code

This is my front-end
<cv:CameraView      x:Name="FrontCameraView"      CamerasLoaded="FrontCameraLoaded"/>
I've tried revoking permissions, and giving them again on my phone.
I've tried uninstalling the app on my phone, and debugging again, so it would ask for permissions again.
I'm using a OnePlus Nord CE 2 Lite 5G.
Android version: Oxygen 13.0.

I've also tried fixing it, by revoking Debugging permissions, and granting them again.

Using a different device helped. So I'm just hoping it won't happen to this one.


Bump OS image and dependencies for Read the Docs build config

Description
Our Read the Docs configuration is slightly outdated by now, so I've updated the following:

the OS version from Ubuntu 20.04 to Ubuntu 22.04
the Mambaforge version from 4.10 to 23.11

The RTD build is working without any issues and isn't related to a bug or a user-facing feature; self-merging. Thanks!


Unable to close on error fix

:tada: This PR is included in version 1.0.2 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


correct metric type for http req/res sizes

It took me a while to find out these docs were wrong, reading the OTLP receiver code, then the obs reporter helper, then the opentelemetry-go-contrib which holds the instrumentation for the HTTP servers. Thought I would save someone else the time.
These are counters, not histogram. Here is the code that records this: link
Interestingly, the gRPC code uses a histogram, so I've left it: link

Thankyou @jpkrohling!

For what it's worth, a counter here is more useful for me because I want to know total bytes rather than distribution over requests. I can see use cases for both. This is probably not the right place to discuss it, though.


Raster Size Corrections

Move towards using DPI rather than raster step as primary means of defining density within the program.
When put through plot planning then the DPI will be converted to native units of a given step size in both x and y direction.

The make_image_for_op in cutplan likely needs some changing and probably the rasterwizard, since the main switch here is that DPI is pre-cutplan size based on actual values size whereas raster_x and raster_y are post cutplan information.


adds sass-rails

Hi I was having an issue with the importing the medium_editor css files as per the instructions.
I was getting sass load path errors when doing this
@import 'activeadmin/medium_editor_input';
Changing it to this
@import 'activeadmin/medium_editor_input.css';
got rid of the sass errors but then in the browser I kept getting 404s.
I came across this issue in the font-awesome-rails repo that was similar. It looks like their is an issue with dependencies and engines. (Didn't read the article yet, But the solution suggested seemed easy enough to require sass-rails in the engine).
Let me know what you think and how I can help.

Sorry to reply so late. Someone else had a similar problem but it seemed due to the sass version they were using in the project, reference here.
In doesn't seem like an issue related to this component directly because the choice of the sass library is up to the project owner.
Closing the PR


Kanka 2.0 broke something.

Kanka has its update today. Something seems to have broken. After making a new token, it is not detecting any campaigns in my Foundry.

Not sure if relevant but I want to mention: my campaign from boosted changed to premium (the old system and the new for subscribers) and instead of a random number it now has a vanity url.

Hi @Nedrapter ,
have you updated to the latest version? I have released two new versions of the module that fixed bugs regarding the Kanka 2.0 integration just about 1 or 2 hours before you posted.
If this error still persists: Could you please check the devtools console on your browser or Foundry client (usually F12 on Windows or Cmd +  alt + i on mac, then make sure you're on the "console" tab) for any (red) errors that might be related to Kanka? You might want to reload Foundry (F5 or Cmd + R) to make sure you see any errors coming up when initializing the module. It would be very helpful if you could post copies or screenshots of those errors here.
Thanks!

I'm on Kanka 3.1.11
I see the following error related to Kanka:

I have reloaded and relaunched my worlds.

Error 401 means you are not authorized to access that URL (in this case the list of campaigns). Could you please generate a new access token in Kanka and try that? Maybe your token has expired. If that still doesn't work I'll investigate a bit more in regards to vanity URLs, though I'm not sure why that would result in a 401 error 🤔

Error 401 means you are not authorized to access that URL (in this case the list of campaigns). Could you please generate a new access token in Kanka and try that? Maybe your token has expired. If that still doesn't work I'll investigate a bit more in regards to vanity URLs, though I'm not sure why that would result in a 401 error 🤔

Made a new one just now. Same result.

This also was in the console now

Thanks for all the info. I'll look into this soon and will try to fix the issues.

Made a 4th new token but from a different browser. It seemed to work passed the step I had issues with. Then it wasn't saving my campaign choice. Then after a reload of the world, it worked. Not sure if copying it from Opera was the issue (then used Firefox), or the 4th new token fixed it...
Thanks for the assistance though!

I am also getting a similar error and not able to get the plugin to connect. I have tried three new API tokens including creating one in a different browser. I am getting the following errors:

It looks like the plugin is trying to call an incorrect url: https://api.kanka.io/api/1.0/campaigns but I think it should be: https://api.kanka.io/1.0/campaigns based on all the info and screenshots in previous posts.

Hi @icewolf08 ,
yep, the URL in that screenshot is wrong. Please make sure you have set "api.kanka.io" as base URL in the settings and have also updated to the latest version of the module. That should hopefully fix it for you.

@eXaminator it seems that it was something stuck in my browser cache. Killing chrome and re-launching allowed it to work correctly.

Thanks for letting me know. I will close this issue now. Let me know if you have any more errors and I'll reopen it.


raftstore: flush store stat correctly

What have you changed? (mandatory)
Flush store statistics correctly.
What are the type of the changes? (mandatory)
Bug gix.
How has this PR been tested? (mandatory)
make dev.

I think there is still a bug which causes that keys_read and keys_written have the same value.


Remove C++ keyvault-administration package

cc @gearama, @antkmsft

@antkmsft as long as we remove the release tag as well then it will not come back. If we cannot remove the release tag then we can set hide=true for this entry if we want to simply hide it for now.

Closing this for now. Consistency was "eventual" on the doc index site after removing the docs from the storage account and re-running docindex.
It just took a few minutes before the page updated properly in my browser https://azure.github.io/azure-sdk-for-cpp/keyvault.html


Winston logger support, issue #30

Winston support was added. Level of logging is set into 'error'. To see statistics messages and some info about unresolved ids please set logging level into 'debug'.
P.S Also I need to change logging for .bin/srclib-javascript file - will be done together with refactoring of 'scan' command

LGTM


Provider conflict when installing two apps integrated with the SDK

To my knowledge, one cannot install two different apps with the SumUp SDK on the same device.
The adb error is the following: Failure: INSTALL_FAILED_CONFLICTING_PROVIDER
This should be reported as a bug

resolved


feat: Add ignorePath option in cli (infuse, squeeze)

fix: #149
add ignorePath to yargs.
add 'ignore' (npm package), and make sure to load .ignore file.

This branch is Vue2.x version and from maintain-v1 branch.

@kiibo382
Could you fix the CI failure?

@kiibo382
Could you fix the CI failure?

Oh, sorry.
I forgot "npm run lint".
I fix it, please rerun.


Confusing trust message in banner for new empty window

enable workspace trust
open new empty window
the banner message mentions "this folder" which is confusing

this issue mentioned here https://github.com/microsoft/vscode/issues/124392#issuecomment-847278461


test: use vagrant inventory file

Instead of writing a host file for each scenario, let's re use the file
generated by vagrant during the up sequence.
Signed-off-by: Sébastien Han<EMAIL_ADDRESS>

I'm -1 on this because I think placing an actual host file is what a user would do, so it's closer to a  real usage test. Also, I've added host vars to many of the inventory files to facilitate different testing scenarios like: https://github.com/ceph/ceph-ansible/blob/master/tests/functional/centos/7/cluster/hosts#L2

@andrewschoen I was waiting for your input thanks, this was actually a test. I think vagrant does what a user would do but you have a point with this host file having options. It's just that maintaining this host file for each scenario is not ideal but I guess I can live with that :).


chore: renamed resources according to diagram

Signed-off-by: Thomas Schuetz<EMAIL_ADDRESS>

do we want to change also this ? https://github.com/keptn-sandbox/lifecycle-controller/blob/feat/renaming_resources/operator/api/v1alpha1/event_types.go#L29

pls remove Service and ServiceRun from this file https://github.com/keptn-sandbox/lifecycle-controller/blob/08361db852c68174da4fe64cd20c875dcf134221/operator/PROJECT#L20

do we want to change also this ? https://github.com/keptn-sandbox/lifecycle-controller/blob/feat/renaming_resources/operator/api/v1alpha1/event_types.go#L29

No, as the Event resource will be dropped in one of the next PRs ...


Neater listing

Description

The algorithms are listed in a table with simple bootstrap classes used.

How to test:

[x] Check for oddities

no obvious oddities found during adding stuff


[qt5-base] Build error

Host Environment

OS: Ubuntu 20.04 (arm64, Jetson Xavier NX)
Compiler: gcc 9.4.0

To Reproduce
Steps to reproduce the behavior:
export VCPKG_FORCE_SYSTEM_BINARIES=1
./vcpkg install qt5
(attempting "./vcpkg install qt5:arm64-linux" does not make a difference )
Failure logs
-- Configuring arm64-linux-dbg
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:128 (message):
    Command failed: /home/autofom/repos/vcpkg/buildtrees/qt5-base/src/5.15.3-2b7235b680.clean/configure -confirm-license -opensource -verbose -system-zlib -system-libjpeg -system-libpng -system-freetype -system-pcre -system-doubleconversion -system-sqlite -system-harfbuzz -icu -no-angle -no-glib -openssl-linked -no-sql-psql -no-sql-mysql --vulkan=no -fontconfig -xcb-xlib -xcb -linuxfb -nomake examples -nomake tests -static LIBJPEG_LIBS=/home/autofom/repos/vcpkg/installed/arm64-linux/debug/lib/libjpeg.a ZLIB_LIBS=/home/autofom/repos/vcpkg/installed/arm64-linux/debug/lib/libz.a "LIBPNG_LIBS=/home/autofom/repos/vcpkg/installed/arm64-linux/debug/lib/libpng16d.a /home/autofom/repos/vcpkg/installed/arm64-linux/debug/lib/libz.a" PCRE2_LIBS=/home/autofom/repos/vcpkg/installed/arm64-linux/debug/lib/libpcre2-16.a "FREETYPE_LIBS=/home/autofom/repos/vcpkg/installed/arm64-linux/debug/lib/libfreetyped.a /home/autofom/repos/vcpkg/installed/arm64-linux/debug/lib/libbz2d.a /home/autofom/repos/vcpkg/installed/arm64-linux/debug/lib/libpng16d.a /home/autofom/repos/vcpkg/installed/arm64-linux/debug/lib/libz.a /home/autofom/repos/vcpkg/installed/arm64-linux/debug/lib/libbrotlidec-static.a /home/autofom/repos/vcpkg/installed/arm64-linux/debug/lib/libbrotlicommon-static.a" "ICU_LIBS=/home/autofom/repos/vcpkg/installed/arm64-linux/debug/lib/libicui18n.a /home/autofom/repos/vcpkg/installed/arm64-linux/debug/lib/libicutu.a  /home/autofom/repos/vcpkg/installed/arm64-linux/debug/lib/libicuuc.a /home/autofom/repos/vcpkg/installed/arm64-linux/debug/lib/libicuio.a /home/autofom/repos/vcpkg/installed/arm64-linux/debug/lib/libicudata.a" QMAKE_LIBS_PRIVATE+=/home/autofom/repos/vcpkg/installed/arm64-linux/debug/lib/libbz2d.a QMAKE_LIBS_PRIVATE+=/home/autofom/repos/vcpkg/installed/arm64-linux/debug/lib/libpng16d.a "QMAKE_LIBS_PRIVATE+=/home/autofom/repos/vcpkg/installed/arm64-linux/debug/lib/libicui18n.a /home/autofom/repos/vcpkg/installed/arm64-linux/debug/lib/libicutu.a  /home/autofom/repos/vcpkg/installed/arm64-linux/debug/lib/libicuuc.a /home/autofom/repos/vcpkg/installed/arm64-linux/debug/lib/libicuio.a /home/autofom/repos/vcpkg/installed/arm64-linux/debug/lib/libicudata.a" QMAKE_LIBS_PRIVATE+=/home/autofom/repos/vcpkg/installed/arm64-linux/debug/lib/libzstd.a "SQLITE_LIBS=/home/autofom/repos/vcpkg/installed/arm64-linux/debug/lib/libsqlite3.a -ldl -lpthread" "HARFBUZZ_LIBS=-lharfbuzz -lm -lfreetyped -lbz2d -lpng16d -lm -lz -lbrotlidec-static -lbrotlicommon-static" "OPENSSL_LIBS=/home/autofom/repos/vcpkg/installed/arm64-linux/debug/lib/libssl.a /home/autofom/repos/vcpkg/installed/arm64-linux/debug/lib/libcrypto.a -ldl -lpthread" "FONTCONFIG_LIBS=/home/autofom/repos/vcpkg/installed/arm64-linux/debug/lib/libfontconfig.a /home/autofom/repos/vcpkg/installed/arm64-linux/debug/lib/libfreetyped.a /home/autofom/repos/vcpkg/installed/arm64-linux/debug/lib/libexpat.a -luuid" -debug -prefix /home/autofom/repos/vcpkg/installed/arm64-linux -hostprefix /home/autofom/repos/vcpkg/installed/arm64-linux/tools/qt5/debug -hostlibdir /home/autofom/repos/vcpkg/installed/arm64-linux/tools/qt5/debug/lib -hostbindir /home/autofom/repos/vcpkg/installed/arm64-linux/tools/qt5/debug/bin -archdatadir /home/autofom/repos/vcpkg/installed/arm64-linux/tools/qt5/debug -datadir /home/autofom/repos/vcpkg/installed/arm64-linux/share/qt5/debug -plugindir /home/autofom/repos/vcpkg/installed/arm64-linux/debug/plugins -qmldir /home/autofom/repos/vcpkg/installed/arm64-linux/debug/qml -headerdir /home/autofom/repos/vcpkg/installed/arm64-linux/include/qt5 -libexecdir /home/autofom/repos/vcpkg/installed/arm64-linux/tools/qt5/debug -bindir /home/autofom/repos/vcpkg/installed/arm64-linux/debug/bin -libdir /home/autofom/repos/vcpkg/installed/arm64-linux/debug/lib -I /home/autofom/repos/vcpkg/installed/arm64-linux/include -I /home/autofom/repos/vcpkg/installed/arm64-linux/include/qt5 -L /home/autofom/repos/vcpkg/installed/arm64-linux/debug/lib -L /home/autofom/repos/vcpkg/installed/arm64-linux/debug/lib/manual-link -platform linux-g++
    Working Directory: /home/autofom/repos/vcpkg/buildtrees/qt5-base/arm64-linux-dbg
    Error code: 3
    See logs for more information:
      /home/autofom/repos/vcpkg/buildtrees/qt5-base/config-arm64-linux-dbg-out.log
      /home/autofom/repos/vcpkg/buildtrees/qt5-base/config-arm64-linux-dbg-err.log

Call Stack (most recent call first):
  ports/qt5-base/cmake/configure_qt.cmake:127 (vcpkg_execute_required_process)
  ports/qt5-base/portfile.cmake:372 (configure_qt)
  scripts/ports.cmake:145 (include)

error: building qt5-base:arm64-linux failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with `git pull` and `./vcpkg update`.
Then check for known issues at:
  https://github.com/microsoft/vcpkg/issues?q=is%3Aissue+is%3Aopen+in%3Atitle+qt5-base
You can submit a new issue at:
  https://github.com/microsoft/vcpkg/issues/new?template=report-package-build-failure.md&title=[qt5-base]+Build+error
including:
  package: qt5-base[core]:arm64-linux -> 5.15.3#2
    vcpkg-tool version: 2999-12-31-unknownhash
    vcpkg-scripts version: f6af75acc 2022-04-10 (32 hours ago)

config-arm64-linux-dbg-out.log
config-arm64-linux-dbg-err.log
Additional context
Multiple attempts have been made, first addressing problems with ninja (https://github.com/microsoft/vcpkg/issues/21482), then making sure required packages are installed (https://github.com/microsoft/vcpkg/blob/master/scripts/azure-pipelines/linux/provision-image.sh) and even though installing "libxcb-xinerama0-dev" has been claimed to solve the problem  (https://github.com/microsoft/vcpkg/issues/15150) it is not the case for me.

cc @Neumann-A

https://doc.qt.io/qt-5/linux-requirements.html
Try installing dependencies first

I thought I had all the dependencies installed, but I missed the last on on the list ("libxkbcommon-x11-dev"). So now the build process seems to continue, but now it fails because I am running out of disk space (my Jetson is only equipped with a 64GB SD-card) :-(
I'll close the issue for now. I will see if I can another ("larger") SD-card and then try again. If the problem persists, I'll get back again.
Thank you for you assistance.


Tanh function applied to the output of representation and transition models

RepresentationModel
https://github.com/kc-ml2/SimpleDreamer/blob/e12d4dbdd7206db5b52250679c6efb0fd1263cfa/dreamer/modules/model.py#L93
TransitionModel
https://github.com/kc-ml2/SimpleDreamer/blob/e12d4dbdd7206db5b52250679c6efb0fd1263cfa/dreamer/modules/model.py#L67
create_normal_dist
https://github.com/kc-ml2/SimpleDreamer/blob/e12d4dbdd7206db5b52250679c6efb0fd1263cfa/dreamer/utils/utils.py#L59
Hi, I have another question about your implementation: why do you apply the tanh function to the output of the representation and transition models?
In the forward methods of both representation and transition model you do not pass the std as actual parameter, so the tanh function is applied to the chunked input x.
In the paper I have not read about any application of the tanh function to the output of the representation and transition models, so I would like to ask you if you have observed some improvements with this choice or if you have used it for other reasons.
I thank you in advance for your helpfulness.

Thank you for your ongoing interest. We've considered that scaling the output could be beneficial, but we haven't tested it yet. I believe it would be worthwhile to specify it.