[Snyk] Security upgrade io.swagger.core.v3:swagger-core from 2.1.13 to 2.2.1

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to fix one or more vulnerable packages in the `maven` dependencies of this project.
Changes included in this PR

Changes to the following files to upgrade the vulnerable dependencies to a fixed version:

pom.xml

Vulnerabilities that will be fixed
With an upgrade:

Severity
Priority Score (*)
Issue
Upgrade
Breaking Change
Exploit Maturity

509/1000  Why? Has a fix available, CVSS 5.9
Denial of Service (DoS) SNYK-JAVA-COMFASTERXMLJACKSONCORE-2326698
io.swagger.core.v3:swagger-core:  2.1.13 -> 2.2.1
No
No Known Exploit

589/1000  Why? Has a fix available, CVSS 7.5
Denial of Service (DoS) SNYK-JAVA-COMFASTERXMLJACKSONCORE-2421244
io.swagger.core.v3:swagger-core:  2.1.13 -> 2.2.1
No
No Known Exploit

(*) Note that the real score may have changed since the PR was raised.
Check the changes in this PR to ensure they won't cause issues with your project.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
🛠 Adjust project settings
📚 Read more about Snyk's upgrade and patch logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

Already fixed in #441


Treat crates.io and git dependencies as immutable

Refactorings like "rename symbol" should not attempt to change their source. Also if possible opening them through for example "goto definition" should open a read-only editor.

There's no support in LSP for opening documents in a read-only mode (maybe we could hijack the document URI?) but we can at least change what we return for edits.

I just got bitten by this. I tried to rename my import of something from the std library...and instead rust-analyzer seems to have renamed it in the std library itself, since I then got an error inside std. (Running rustup install stable seems to have fixed it, despite it saying "unchanged", unless it just fixed itself.)

closed by #8540


dApp: Transfer screen header is being displayed on select token screen

Todo
Create a separate route specifically for this entry point to the dApp.
Steps to Reproduce

Connect to the dApp with no previously connected tokens

Expected Result

Select token header

Actual Result

Transfer header

Additional Infos (Optional)

We have discussed the issues cause and also the solution. For documentation purpose I'll write a summary of it here. Details will be available in the related PR.
Technically the behavior of the dApp here is correct (Talel hates me for this statement :joy: ). Nevertheless from a user perspective this is wrong and might be confusing. The origin of this issue is that the above display route is not a route on its own, but it is in fact the transfer route. So the title is correctly displayed. But the transfer route has a special case when the user has no token with a channel and behaves completely different then.
Fixing the symptom only isn't a good approach and actually very hard to do. Rather fixing "awkward" transfer route solves the issue at its root. Therefore the now split transfer route gets actually split into two routes. One as the usual transfer route that gets shown in most cases (in fact expect the first time). But in case the user has no connected token, the other route should be shown. This will be handled with a route guard. As our architecture for route guards is very powerful, modular and generic, this is a very nice use-case that is easy to add. Once the user has opened his first channel, the user will just see the regular transfer route.


As a user of Notation, I want to sign and verify images using distribution-spec 1.0 registries

I think most of our work has focused on the ORAS artifact-spec work. It would be useful if there's a backwards compatible solution that can sign images on registries without the newer ORAS artifact-spec APIs. Possible options I'm thinking of:

Use well known tags, similar to other projects that push a tag with the digest of the artifact being signed and some extension.
Push a new Index that contains both the image being signed and any associated artifacts, changing the tag pointer.

For the first option, to push multiple signatures, we may need to wrap the signature artifacts with an OCI Index and the Index replaces the list of artifacts we'd see from the new API query. To handle race conditions, that may have to be a best-effort / user problem, unless we can get ETag and Precondition Semantics supported in the registry.
For the second option, there may be users that want that to tightly control what is associated with their image, who want this ability rather than the API anyway. The challenge is that this requires the existing runtimes to recursively descend through Index to find the image to run, and I'm not sure they do that if they don't see the platform field or if there's an Index within an Index, which may result in breaking changes to existing image runtimes that aren't checking the signatures. This would need a lot of testing if we went that way.
Are there other options than these, and is there interest in adding any of these backwards compatibility features to Notary v2?

I think digest pinned deployments will never see an updated scan report if we use the index to constantly append and recompose the images. This was my reason for supporting the first solution here

https://hackmd.io/j0-EWCPlQNOQttQy22S5xg?view -

It didn't cross my mind that distribution spec didn't explicitly call out preconditions and it seems like clarifying that will avoid a lot of issues.

First pass at comparing the options: https://hackmd.io/FIa5U4xcSV6ccftwCPAZjA

I'm not sure what 1.1 refers to. Distribution-spec is only at 1.0.1, and the .1 patch I believe is focused on a client side vulnerability.

This issue is related to distribution-spec for OCI Artifact update.

Closed this issue, as Notary Project supports OCI 1. 0 registries now.


DCR creating 2 OAuth clients per request

When using the Test Certs postman collection to create a DCR, 2 OAuth2 clients are being created per request.
When using real OBIE certs, this is not the case but we do see 2 calls being made to AM to register but the second one is failing.
It seems that something in the route is causing 2 requests to be sent to AM.

The issue is that the filter chain's next.handle is getting called twice in the SSAVerifier filter. Once from the thread handling the initial request, and once from the async callback.
See lines 137 and 149:
https://github.com/SecureBankingAccessToolkit/securebanking-openbanking-uk-gateway/blob/58d0d56cb12dcc1fdbc9c722623354507aa11050/config/7.1.0/securebanking/ig/scripts/groovy/SSAVerifier.groovy


Adding my project text file

Here is my Git project. Please review.

🎉🍾🎊 Great work on your project today. I have a few thoughts:
2. Where are the popsicles?
3. I like to use big words to sound more photosynthesis
4. Not enough text files. Need 10 more.
5. Marty, we have to go back!!!
6. We built this city on rock an' roll!
7. Sauron did nothing wrong.

10/10 would review again```


5 financial portfolio summarize assets

still has a minor issue need to solve before merge.
https://jam.dev/c/25d77571-05e5-4979-ab44-44545f1b5887


Need a new /dev/addons folder for VS to copy assemblys onBuild

done.
/inetpub/clibCommonAssemblies


libxml2: 2.12.4 → 2.12.5

Description of changes
https://discourse.gnome.org/t/libxml2-2-12-5-released/19337
https://gitlab.gnome.org/GNOME/libxml2/-/compare/v2.12.4...v2.12.5
Fixes: CVE-2024-25062

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Reading upstream this might also affect anything >2.11 so a fix should be backported to 23.11 too.

The patch has been backported and is part of 2.11.7. We should update stable to that.

You consider it serious enough to merge directly to staging-next?

Not sure if it should go to staging or staging-next. It affect XMLReader but apparently only when DTD validation and XInclude expansion is enabled. Not sure if some projects do that on untrusted output.

OK, I'll assume staging for now.


single line of horizontal led

is it possible to have a single line of horizontal leds?
Actually i have a LED strip arranged on the left (9x), right (9x) and top border (12x) of my LCD TV, not the bottom.
So when i enter the LED count in the Physical LED Setup window the total count is wrong...

sorry for the long time without any reply! There is no switch or anything, but you can simply fake it. Just enter the numbers in the arduino code and in the windows app as if you would have the bottom LEDs.
Also this only works, if your strip starts either bottom left or bottom right.
I guess at least a manual or that said switch would be helpful!


允许设定带有某个tag的memos为默认公开，或私人

Is your feature request related to a problem?
当我设定memos为默认私人时，如果想公开某个memo，需要手动去调整。
如果可以设定打有某个tag的memo为默认公开（或私人）时，免去了我手动设置的动作。
Describe the solution you'd like
允许我设定，打上某个tag的memo，默认状态为公开或私人
比如：当给一个memo加上#pubilic标签时，这个memo默认为公开的memo
Additional context
No response

Sounds like too complicated behaviour for memos. memos' beauty is simplicity.
I can't think of an implementation for this that isn't ugly.

What's the difference in action between "add a tag #public" and "select the visibility of PUBLIC"?
And as @jxpsert said, its implementation is too complicated and ugly, in my imagination.

One case that I can think of is when you have a fair amount of private memos that contain the same tag, and then you want to make them public, instead of updating them one by one, is it possible to update them in a batch?


syncer: fix table checkpoint panic problem

What problem does this PR solve?

Issue Number: close https://github.com/pingcap/tiflow/issues/5439
What is changed and how it work?

Add shardingReSyncUnfinished to resolve the lowest global checkpoint.
Fix the problem that savedGlobalLastLocation when shardingResync interruption occurs.
Reduce the time we clone locations when comparing.

Check List
Tests

Unit test
Integration test

Questions
Will it cause performance regression or break compatibility?
Possibly.
Do you need to update user documentation, design documentation or monitoring documentation?
No.
Release note
None

/run-dm-integration-test

/run-dm-integration-test

/hold

/unhold

/run-dm-integration-test

/run-all-tests

@GMHDBJD @D3Hunter PTAL

/run-all-tests

/run-all-tests

/run-all-tests
https://ci2.pingcap.net/blue/organizations/jenkins/dm_ghpr_integration_test/detail/dm_ghpr_integration_test/5878/pipeline/

/run-all-tests

/run-all-tests

/run-all-tests

/run-all-tests

/run-all-tests

/run-dm-integration-test

/hold
adding some integration tests

/run-dm-integration-test

/run-dm-integration-test

/unhold

/run-dm-integration-test

/run-dm-integration-test

/run-dm-integration-test

/run-dm-integration-test

/run-dm-integration-test
https://ci2.pingcap.net/blue/organizations/jenkins/dm_ghpr_integration_test/detail/dm_ghpr_integration_test/6079/pipeline

/run-dm-integration-test

/run-dm-integration-test

/run-dm-integration-test
Open API integration test failed
https://ci2.pingcap.net/blue/organizations/jenkins/dm_ghpr_integration_test/detail/dm_ghpr_integration_test/6103/pipeline/204

/run-verify-ci

/run-verify

/run-all-tests

/run-verify-ci
/run-dm-integration-test

@D3Hunter @lance6716 PTAL

/run-all-tests

/merge

/run-verify-ci


Can you add two settable functions?

Feature Description

The page size of game content can be adjusted;

The game cover can be set to the right position;

As shown in the figure below:
Screenshots

The page size of game content can be adjusted;

Added as a ThemeModifier extension option

The game cover can be set to the right position;

It's not possible, only one position can be set in the theme files and it's not possible to change in any way.
The reason I moved is because that area overlaps with other elements, like the game title and buttons. This gets worse if you open all panels, use a high DPI and have a small screen resolution

On the second question, can the location be designed to be optional，Added as a ThemeModifier extension option。
Facing different users, users can decide where to locate themselves

Hmmm I'll need to see if it's possible and also if it doesn't overcomplicate the theme template definition.


The script is very useful. It would be even better if it had these two functions

Dear author,
I really appreciate your script. It has made my experience of using YouTube much more concise, natural and convenient. During the process of using it, I noticed that for many long comments, I have to click on them one by one to view the full content. It would be even better if the comments could be automatically expanded. Also, the navigation bar for comments is relatively too wide. It would be wonderful if its width could be adjusted.
Thank you again for your great work!

It would be even better if the comments could be automatically expanded.
Disagree. This feature will never happen in this extension.

the navigation bar for comments is relatively too wide.

The width is appropriated. No Change


Vim theme background colours not rendered properly

I have the gruvbox theme setup for vim but the background colour does not seem to be rendering properly.
Alacritty on the left vs iterm2 on the right

This should be a duplicate of #85

I also have colour issues with vim. I use the solarized dark theme in alacritty and vim. Works in st and gnome-terminal.

Thanks @d3rrial I will close this issue and link to it in #85.

@NickeZ Your issue is a separate one: alacritty re-defines terminal colors in its config file. By default, white is 0x424242 for example, which is absolutely ludicrous.
I'd recommend you try defining those colors by hand again within the .alacritty.yml config file, in accordance with your solarized dark theme. Maybe also open a new issue. I'm interested to see what comes of this.

Should this be closed? #85 is closed but with the current build
~ alacritty --version
alacritty 0.1.0

In vim I can see background colors not rendering correctly when I page up/down:

Can confirm, I have the same bug with current master

Also witnessing the issue on master today.

@lwouis I thought we had an issue tracking this specifically, but I can't seem to find it right now.

Would someone experiencing this issue mind taking #720 for a spin? I believe it should fix this issue.

@jwilm Can confirm #720 fixes vim background issue for me

Same here. #720 fixes it.

#720 fixes it for me too. Thank you! It also fixed the basic background color which was not taking into account outside of Vim. Amazing!
On the left is before #720. On the right is with #720.

Opening a file in Vim without scrolling

Opening a file in Vim, then scrolling down

Thanks for all the feedback!


Workspace Trust - should be made accessible more easily.

Type: Feature Request
In a recent update, I saw a shortcut was added to easily switch Trust level.
But accessing this Page requires too many steps and maybe hitting on keyboard on the way. In case of an accidental selection of trusting, finding this page back again is not easy.
Currently there are 2 occurences this page can be opened easily, and both requires a zero/no trust level. One occasion is when a untrusted folder is opened where the page is auto-popped. and the other is to use the shield icon that sits on the left-bottom corner.
But once you select to trust the folder, game is over. you have to first remember what is the name of this setting so to make a search. then search all the menus where you find almost no traces. then maybe make an internet search. only then open the command palette and start typing Workspace Trust.
This page also supplies a list of other trusted folder, so one can easily check them and remove some or all folders to clean the list. For such an important (and useful) setting, accessing it is too much stressful.
So, in short, please make accessing to Workspace Trust page is easier. Two of the best places I can think of are the status bar (a shield just like an untrusted workspace has) and/or a menu item under the settings menu.
VS Code version: Code 1.75.1 (441438abd1ac652551dbe4d408dfcec8a499b8bf, 2023-02-08T21:32:34.589Z)
OS version: Windows_NT x64 10.0.19044
Modes:
Sandboxed: No

Unfortunately, as the description is not in English, it's hard for us to work on. If possible, please edit the original issue to be in English.

I know you corrected its mistake, but does this bot do this often or is it new?

The bot does look at the issues to detect when the description is not in English but this was a bug in our automation.


Version 2.0

Hi, here some plans for the next big update of this project:
Support multiple source: local folder, cloud hosting, ....

[x] Local file
[ ] Onedrive
[ ] Google Drive
[ ] Cloudflare R2
[ ] Amazon S3
[ ] Deta Drive

Moving frontend to Solid JS

[x] Basic layout
[ ] Basic operation
[ ] Split view
[ ] Cloud source
[ ] Drag & drop
[ ] Setting panel

Update running task in realtime

[x] Websocket backend
[ ] Frontend support

Admin UI

[ ] Source configuration

The frontend is almost done, yay :D


LAB_02b-Manage_Governance_via_Azure_Policy.md.pdf

English:
Navigate back to the storage account blade.
Current Translation:
Retournez au volet de compte de stockage.
Suggested Translation:
Retournez dans le panneau de compte de stockage.

Hello contributor,
Thank you for your contribution! We are processing your suggestions and we will update you shortly.
Kind regards,
Microsoft Worldwide Learning Team

Run bugfix tool and waiting for result.


run_mtxDE using zibr converts terms (e.g., "HIV_Status") to "var1" "var2" etc

Addressed at some point around #19


chore(main): release 4.6.3

:robot: I have created a release beep boop
4.6.3 (2024-10-16)
Bug Fixes

cicd: check execution (2a9b38e)
cicd: check execution (9d52e0b)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v4.6.3
:sunflower:


GRPC idle connection recycling and request concurrency, causing tikvRPC to fail

Phenomenon:
When the cluster load is very low, p99 is very high. When the cluster load is high, p99 returns to normal.
Cause Analysis:
When the cluster load is low and a request comes, if atomic.CompareAndSwapUint32(&c.idleNotify, 1, 0) is satisfied, it will run in the background
go c.recycleIdleConnArray(), and this request needs to get the grpc connection to send the request.
That is to say, when a TCP connection is being closed and a request is sent on this connection, in a concurrent situation, this request is likely to fail and trigger backoff, resulting in higher latency.
https://github.com/tikv/client-go/blob/v2.0.7/internal/client/client.go#L592
How to reproduce:

On a cluster, access once at an interval of idleTimeout = 3 * time.Minute, and it must appear.
If accessed every few seconds, it will appear occasionally.

Troubleshooting process:

It is found that tikv-client API p99 is relatively high, about 100ms.

Find out through opentracing that time is spent on backoff;

Statistics on the metric on tikv-client found that the metric of backoff is the same as the counter of batch_client_reset metric, so the method of recycleIdleConnArray was located.
Modify recycleIdleConnArray to run synchronously, and the problem disappears.

Solution ??
a) Modify recycleIdleConnArray to run synchronously, and you will not encounter connection reset. However,I'm not sure whether it will cause other problems when close a dead connection.
b) Or, change idle connection to daemon task recycling?

For idle connection recycle, I this it's a legacy solution of  https://github.com/pingcap/tidb/issues/32500.

Similar issue caused by connection recycling.
https://github.com/pingcap/tidb/issues/32500


Quasar.exe is not found

I tried to donwload Quasar and had to download visual studios in order to build and compiled the file to run it but as soon as i compile the file a erros shows up "The debug executable
'C:\Users***\Desktop\RAT\Quasar\bin\Debug\net452\Quasar.exe' specified in the 'Quasar.Server' debug profile does not exist " can anyone please help?
There's not even a bin in the downloaded zip, i have tried every posible version but same problem, how can i fix this?

Did you compile it in debug mode?
On Thu, Feb 24, 2022 at 1:20 PM Dantanorrr @.***> wrote:

I tried to donwload Quasar and had to download visual studios in order to
build and compiled the file to run it but as soon as i compile the file a
erros shows up "The debug executable
'C:\Users***\Desktop\RAT\Quasar\bin\Debug\net452\Quasar.exe' specified in
the 'Quasar.Server' debug profile does not exist " can anyone please help?
There's not even a bin in the downloaded zip, i have tried every posible
version but same problem, how can i fix this?
—
Reply to this email directly, view it on GitHub
https://github.com/quasar/Quasar/issues/1054, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOJKHW4KIMZZKJDPZX5VULDU42OJTANCNFSM5PIQREYQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

how do i check that?

I tried i on Release but same problem, the problem is that there is no bin folder in the download, no wonder he can't find the quasar.exe i think its a problem with the download file

This has been answered several time before. Please do a complete search using our search feature before posting, you'll most likely find a answer quicker then waiting for a response.
Thank you

can i please send me a link of the issue, i have searched for a solve but i didnt find anything

Did you just compile Quasar.Server and not the whole solution? You are supposed to compile the entire solution.

i compiled the entire solution

can i please send me a link of the issue, i have searched for a solve but i didnt find anything

Did you Turn OFF Windows Defender/or other Anti Virus or make a exclusion for the  Quasar-Master Folder  within Windows Defender? Windows Defender will turn itself back on after a while at least it has done that to me several times. Which is why putting Quasar sever .exe and the Client.exe along with the folder you are building/Compiling it in in Windows or whatever Anti Virus software you're using exclusion list to avoid being scanned and deleted.


Use with esmodules: "type": "module"

Currently if you attempt to use jsxte with esmodules, there's a ton of type errors saying Cannot find module 'jsxte/jsx-runtime' or its corresponding type declarations.
In order to fix that error, jsxte needs to use the exports field of the npm package.json.
At a minimum, it'll need to export the main index file and the jsx-runtime for typescript to properly know how to reference it.
  "exports":{
    ".": "./dist/index.js",
    "./jsx-runtime": "./jsx-runtime.js"
  },

However, as I'm using references to the individual prop-types, the ability to reference from the dist/jsx folder onwards would be helpful. (or just have the individual prop-types exported from the main module so they can be referenced or extended).
  "exports":{
    ...,
    "./dist/jsx/*": "./dist/jsx/*"
  }

Could you provide a reproducible example with this error? I am not getting any errors with "type": "module" setting, it'd be helpful to see all the configuration in which this problem occurs.

I believe the main contributor to this issue is the moduleResolution: 'NodeNext' in typescript which only allows specified entries to the package, so if the jsx-runtime isn't specified, then it isn't possible to work with.
I've never gotten typescript to properly work with esmodules properly without it, so I didn't think to mention it.
Relevant docs from typescript: https://www.typescriptlang.org/docs/handbook/esm-node.html#packagejson-exports-imports-and-self-referencing
Relevant settings.
"module": "NodeNext", // or Node16
"moduleResolution": "NodeNext", // or Node16

I am trying with those settings but cannot reproduce this issue. For example with this config and<EMAIL_ADDRESS>{
  "compilerOptions": {
    "jsx": "react-jsx",
    "jsxImportSource": "jsxte",
    "module": "ESNext",
    "moduleResolution": "NodeNext"
  }
}

it gives me no errors.
Could you post your tsconfig.json? Also what typescript version are you using?

I'm using typescript 4.7.4 and ts-node 10.9.1 (I get the errors in both the build and the editor)
with NodeNext
without NodeNext
For reference, here's my tsconfig.json, and I didn't edit the package.json of jsxte locally until after I started getting this error. Which is when I initially switched from my default of working in esmodules to commonjs, until I figured out the exports bit that I posted here.

tsconfig.json
{
  "compilerOptions": {
    /* Projects */
    /* Language and Environment */
    "target": "ES2020" /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */,
    "jsx": "react-jsx" /* Specify what JSX code is generated. */,
    "jsxImportSource": "jsxte" /* Specify module specifier used to import the JSX factory functions when using 'jsx: react-jsx*'. */,
    /* Modules */
    "module": "NodeNext" /* Specify what module code is generated. */,
    "moduleResolution": "NodeNext" /* Specify how TypeScript looks up a file from a given module specifier. */,
    "types": [
      "node"
    ] /* Specify type package names to be included without being referenced in a source file. */,

    /* Emit */
    "outDir": "./dist" /* Specify an output folder for all emitted files. */,

    /* Interop Constraints */
    "esModuleInterop": true /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */,
    "forceConsistentCasingInFileNames": true /* Ensure that casing is correct in imports. */,

    /* Type Checking */
    "strict": true /* Enable all strict type-checking options. */,

    /* Completeness */
    "skipLibCheck": true /* Skip type checking all .d.ts files. */
  },
  "ts-node": {
    "experimentalResolver": true,
    "esm": true
  }
  // "include": ["./build.tsx"]
}

If you still have trouble with it

Ok, I was able to reproduce the issue (aside from the NodeNext module setting in tsconfig, type in package.json also must be set to "module" for this error to occur).
I took this opportunity and revamped the build process and packaging of the library. So from now on you will get a separate build files for esm and commonjs projects. This should also fix the error you were having. You can test it out on the latest canary release. Once I do some more testing around this, I will publish the stable version with these changes.


Layout

@winstywang Please have a look and see if this breaks anythign

@mli @ptrendx changed auto tuning strategy to be on by default.
@mli We need to remove the cudnn_tune: 0 field from all pretrained symbols so they can benefit from this (they won't break if we don't but tuning would still be off if you load those symbols)


Add WithKey interface to AttributePlainEnumValue and AttributeLocalizedEnumValue

I added WithKey interface to AttributePlainEnumValue and AttributeLocalizedEnumValue because the classes were missing them. This caused issue when trying to use generics with these classes.

Could you also directly add it to the generated classes please. Else it's waiting till the next generator cycle after merge

Could you also directly add it to the generated classes please. Else it's waiting till the next generator cycle after merge

https://github.com/commercetools/commercetools-sdk-java-v2/pull/443/commits/7b6962885678cfe5812e45f97f1736b065db3dcc


Segmentation Fault at world.getMap()

I´m compiling CarlaLib myself following the instructions for the c++ client on this page:
https://github.com/carla-simulator/carla/tree/master/Examples/CppClient
But after including the lib to my program and when i´m calling world.getMap(),  i´m getting a segmentation fault :
void std::vector<carla::road::Lane*, std::allocatorcarla::road::Lane* >::emplace_backcarla::road::Lane*(carla::road::Lane*&&) at /usr/include/c++/7/bits/vector.tcc:98
0x00007f2423227040 in /home/aadc/AADC/_install/linux64/bin/Simulation_Input.adtfplugin: carla::road::MapBuilder::CreatePointersBetweenRoadSegments() at /home/aadc/AADC/build-debug/src/aadcUser/simulation/input/CarlaPrj-prefix/src/CarlaPrj/Build/../LibCarla/source/carla/road/MapBuilder.cpp:705
0x00007f242322dc62 in /home/aadc/AADC/_install/linux64/bin/Simulation_Input.adtfplugin: carla::road::MapBuilder::Build() at /usr/include/c++/7/bits/hashtable.h:492
0x00007f24231fcc82 in /home/aadc/AADC/_install/linux64/bin/Simulation_Input.adtfplugin: carla::opendrive::OpenDriveParser::Load(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&) at /usr/include/c++/7/bits/stl_vector.h:434
Thx in advance!

@akramer123 could you provide more information about your system, version of carla, etc?

for me, the error reproduces with carla 0.9.9 and master.
I tried ubuntu 16.04 and 18.04

here is a similar issue: https://github.com/carla-simulator/carla/issues/2079

Yes, i´m also working with carla 0.9.9 and master and running it on Ubuntu 18.04 LTS.
@germanros1987

Hi, that problem was fixed in patch version <IP_ADDRESS>
It was related to a workaround for an Unreal bug, that is also fixed with an Unreal patch on <IP_ADDRESS>
I hope it works for you.

just tried with <IP_ADDRESS> version, the issue still reproduces.
I have next_lane == nullptr here https://github.com/carla-simulator/carla/blob/master/LibCarla/source/carla/road/MapBuilder.cpp#L708
It looks like there is a problem with parsing of .xodr map file.

Are you trying to load a CARLA map or a custom one?
It seems that the .xodr is malformed.

I just run make launch, UE Editor opens Carla's map "Town03". I play this map, connect to Carla from client app and try to get map with world.getMap(). I also tried other default maps but got the same error

xodr files doesn't seem to be corrupted, as the test libcarla_test_client_release parses them successfully

I also tested it with version <IP_ADDRESS> and got same segmentation fault.

@bernatx any ideas what can we do to help investigate the problem?

when I build my app with carla_client_debug.a, this assertion fails:
(gdb) bt
#0  0x00007fffeee0ef47 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#1  0x00007fffeee108b1 in __GI_abort () at abort.c:79
#2  0x00007fffeee0042a in __assert_fail_base
    (fmt=0x7fffeef87a38 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x7ffff78d6ee7 "next_lane != nullptr", file=file@entry=0x7ffff78fbd46 "../../LibCarla/source/carla/road/MapBuilder.cpp", line=line@entry=707, function=function@entry=0x7ffff78fcd73 "void carla::road::MapBuilder::CreatePointersBetweenRoadSegments()") at assert.c:92
#3  0x00007fffeee004a2 in __GI___assert_fail
    (assertion=0x7ffff78d6ee7 "next_lane != nullptr", file=0x7ffff78fbd46 "../../LibCarla/source/carla/road/MapBuilder.cpp", line=707, function=0x7ffff78fcd73 "void carla::road::MapBuilder::CreatePointersBetweenRoadSegments()") at assert.c:101
#4  0x00007ffff770cf04 in carla::road::MapBuilder::CreatePointersBetweenRoadSegments() (this=0x7fffffffb828) at ../../LibCarla/source/carla/road/MapBuilder.cpp:707
#5  0x00007ffff770c9e3 in carla::road::MapBuilder::Build() (this=0x7fffffffb828) at ../../LibCarla/source/carla/road/MapBuilder.cpp:38
#6  0x00007ffff76ad423 in carla::opendrive::OpenDriveParser::Load(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)Python Exception <class 'gdb.error'> There is no member named _M_dataplus.:
 (opendrive=)
    at ../../LibCarla/source/carla/opendrive/OpenDriveParser.cpp:49
--Type <RET> for more, q to quit, c to continue without paging--
#7  0x00007ffff768e3c0 in carla::client::MakeMap(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)Python Exception <class 'gdb.error'> There is no member named _M_dataplus.:
 (opendrive_contents=) at ../../LibCarla/source/carla/client/Map.cpp:29
#8  0x00007ffff768e246 in carla::client::Map::Map(carla::rpc::MapInfo) (this=0x55557c8467e0, description=...) at ../../LibCarla/source/carla/client/Map.cpp:38
#9  0x00007ffff75cd197 in boost::make_shared<carla::client::Map, carla::rpc::MapInfo>(carla::rpc::MapInfo&&) (args=...) at ../boost-1.72.0-c8-install/include/boost/smart_ptr/make_shared_object.hpp:256
#10 0x00007ffff75c646f in carla::MakeShared<carla::client::Map, carla::rpc::MapInfo>(carla::rpc::MapInfo&&) (args=...) at ../../LibCarla/cmake/../source/carla/Memory.h:30
#11 0x00007ffff75c6405 in carla::client::detail::Simulator::GetCurrentMap() (this=0x55557dd1ca80) at ../../LibCarla/source/carla/client/detail/Simulator.cpp:129
#12 0x00007ffff74d1400 in carla::client::World::GetMap() const (this=0x7fffffffc2a0) at ../../LibCarla/source/carla/client/World.cpp:22

Is that happening with Town03?

With other maps too, but when the same code is executed with python client - method carla::client::MakeMap() works having the same input. Maybe there is a conflict with some libs from my app, for example I have boost 1.68 and carla uses 1.72.
Will try to reproduce with CppClient from Examples

yep, it's something related to dependencies in my app, with CppClient the error doesn't reproduce for me

Probably the boost version, because we use 1.72 as you say, but also we patch two files of boost to work with openDRIVE, so it seems both things are related to the problem. Try with the proper version of boost (CARLA will patch automatically if you use the make setup command).

It's even more interesting now, the problem is related to Qt, I created a simple main() function and a single line causes crash:
int main(int argc, char *argv[]) {
  QApplication a(argc, argv);
...

without QApplication world.getMap() works, when uncommented - segmentation fault.
attempt to use boost from carla doesn't have any impact

tried different qt versions: 5.9.9, 5.12.9, 5.15.0 - everything crashes

Finally, I identified the problem, it's related to the system locale, looks like Qt affects it somehow.
The default separator for floating-point numbers changes from . to ,, it breaks xml parsing and only integer part of road lengths is used.
For me, the problem was fixed after setting locale manually:
std::setlocale(LC_ALL, "en_US.UTF-8");

@akramer123 , could you please check, if it helps you too?

@kwetril
Thx! That fixed our problem!

Sounds similar to an issue we have been experiencing from the python side: https://github.com/carla-simulator/carla/issues/3194

Finally, I identified the problem, it's related to the system locale, looks like Qt affects it somehow.
The default separator for floating-point numbers changes from . to ,, it breaks xml parsing and only integer part of road lengths is used.
For me, the problem was fixed after setting locale manually:
std::setlocale(LC_ALL, "en_US.UTF-8");

@akramer123 , could you please check, if it helps you too?

Can you please explain more where these lines of code should be modified? Thanks a lot.


Decentralized Reserve Design doc

https://www.notion.so/clabsco/Decentralized-Reserve-8ba72b1c688c4d39ba2aa0f260c19843#0c394c365ce54b0e8a54c0ab9cae953c

Already done


Migrate to @ConfigurationProperties

Hi,
Instead of @Value, could you please migrate these to a simple POJO annotated with @ConfigurationProperties. This not only gives you better support for relaxed binding but if you enable the spring-boot-configuration-processor you'll offer content assist for those keys in the IDE (STS, Intellij IDEA and Netbeans are offering such Spring Boot support now)
I am happy to help you migrating to that model.
See also the documentation

Absolutely. Help is always welcomed! :-)

This is done. 1.0.0-RC1 is released.


ruff rule should include a property that indicates the fix is unsafe or not

Usecase
We have a legacy python project that we want to ease into using ruff and would like to start with just formatting and any linting that  can be automatically fixed. Using the ruff rule --all --output-format json we should be able to build a command that allows for that.
Command we are using to build the list (tested only on MacOS)
ruff rule --all --output-format json | jq -r '.[] | select(.fix == "Fix is always available." and .preview == false and .code ) | .code' | sort | paste -sd, - | sed 's/[^,]*/"&"/g'

We can then just take this and put it into the select section of the config.
Since there is no flag it requires us to copy and paste the above, then run ruff check --fix --statistics and copy all the values that are reported after not being fixed into the ignore list.
Current state
ruff rule --all --output-format json
Example output:
[
...
{
    "name": "verbose-raise",
    "code": "TRY201",
    "linter": "tryceratops",
    "summary": "Use `raise` without specifying exception name",
    "message_formats": [
      "Use `raise` without specifying exception name"
    ],
    "fix": "Fix is always available.",
    "explanation": "## What it does\nChecks for needless exception names in `raise` statements.\n\n## Why is this bad?\nIt's redundant to specify the exception name in a `raise` statement if the\nexception is being re-raised.\n\n## Example\n```python\ndef foo():\n    try:\n        ...\n    except ValueError as exc:\n        raise exc\n```\n\nUse instead:\n```python\ndef foo():\n    try:\n        ...\n    except ValueError:\n        raise\n```\n\n## Fix safety\nThis rule's fix is marked as unsafe, as it doesn't properly handle bound\nexceptions that are shadowed between the `except` and `raise` statements.\n",
    "preview": false
  },
...
]

fix will only be one of 3 values today. https://github.com/astral-sh/ruff/blob/f8f2e2a442aae2c1dfb4949e5ce99dc7a9d3e902/crates/ruff_diagnostics/src/violation.rs#L10-L18
Possible options

Update the fix property to add some sort of indicator on if the fix will be unsafe or not.
Add a new property that indicates unsafe is true or false. Similar to how preview is done.
Maybe its a new flag on the cli that --fixable that can be used alongside or instead of --all

Keywords
unsafe fix rule property cli flag

Thanks for providing all the details!

We have a legacy python project that we want to ease into using ruff and would like to start with just formatting and any linting that can be automatically fixed. Using the ruff rule --all --output-format json we should be able to build a command that allows for that.
Command we are using to build the list (tested only on MacOS)
ruff rule --all --output-format json | jq -r '.[] | select(.fix == "Fix is always available." and .preview == false and .code ) | .code' | sort | paste -sd, - | sed 's/[^,]*/"&"/g'

We can then just take this and put it into the select section of the config.

I believe this can be achieved using the following command 😅:
ruff check --select=ALL --fix

Or, am I misunderstanding what you're trying to achieve?

I see, thanks for providing the details. I think you already know this but not all rules provide a fix, and the --fix flag will apply the fix for all the selected rules that provides an autofix. You can learn more about fixes at https://docs.astral.sh/ruff/linter/#fixes.
Regardless, I don't think this is possible as fix applicability depends on the generated fix itself and is dynamic in a way that it could be "safe" or "unsafe" to fix the same rule depending on the source code. And, the ruff rule command is meant to provide information about a rule irrespective of the source code. Does that make sense?

Yes, we can't support this because the fix safety isn't static metadata. It depends on case per case, and the only way to make it static metadata would be to offer fewer fixes, which I don't think is a good outcome.


PerPrimitive antialiasing not working for offscreen rendering in Direct2D.

I'm not 100% sure yet, as I'm just starting to work with Direct2D, but I'm pretty sure that PerPrimitive anti-aliasing isn't working when I render to an offscreen texture.
Edit: It may be that offscreen rendering doesn't support anti-aliasing, but I haven't confirmed this yet.

This is most likely a usage issue/or a limitation of Direct2D, so I'm closing this. (unless you are not able to reproduce this with C++ code)


Fun with Xcode 10

Xcode 10 (and the associated Commandline Tools development package) was released today and it is doing weird things on macOS 10.13.6.
The latest Vim builds successfully but there are the following warnings at the end of the process.
link.sh: Using unmodified link command
  gcc   -L/usr/local/lib 	-o vim objects/arabic.o objects/beval.o objects/buffer.o objects/blowfish.o objects/crypt.o objects/crypt_zip.o objects/dict.o objects/diff.o objects/digraph.o objects/edit.o objects/eval.o objects/evalfunc.o objects/ex_cmds.o objects/ex_cmds2.o objects/ex_docmd.o objects/ex_eval.o objects/ex_getln.o objects/farsi.o objects/fileio.o objects/fold.o objects/getchar.o objects/hardcopy.o objects/hashtab.o  objects/if_cscope.o objects/if_xcmdsrv.o objects/list.o objects/mark.o objects/memline.o objects/menu.o objects/misc1.o objects/misc2.o objects/move.o objects/mbyte.o objects/normal.o objects/ops.o objects/option.o objects/os_unix.o objects/pathdef.o objects/popupmnu.o objects/pty.o objects/quickfix.o objects/regexp.o objects/screen.o objects/search.o objects/sha256.o objects/spell.o objects/spellfile.o objects/syntax.o objects/tag.o objects/term.o objects/terminal.o objects/ui.o objects/undo.o objects/userfunc.o objects/version.o objects/window.o  objects/encoding.o objects/keyboard.o objects/mouse.o objects/parser.o objects/pen.o objects/termscreen.o objects/state.o objects/unicode.o objects/vterm.o        objects/os_macosx.o objects/os_mac_conv.o   objects/channel.o objects/xdiffi.o objects/xemit.o objects/xprepare.o objects/xutils.o objects/xhistogram.o objects/xpatience.o   objects/charset.o objects/json.o objects/main.o objects/memfile.o objects/message.o        -lm -lncurses  -liconv -framework AppKit
ld: warning: text-based stub file /System/Library/Frameworks//AppKit.framework/AppKit.tbd and library file /System/Library/Frameworks//AppKit.framework/AppKit are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/PrivateFrameworks/UIFoundation.framework/Versions/A/UIFoundation.tbd and library file /System/Library/PrivateFrameworks/UIFoundation.framework/Versions/A/UIFoundation are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//ApplicationServices.framework/Versions/A/ApplicationServices.tbd and library file /System/Library/Frameworks//ApplicationServices.framework/Versions/A/ApplicationServices are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//Foundation.framework/Versions/C/Foundation.tbd and library file /System/Library/Frameworks//Foundation.framework/Versions/C/Foundation are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//CoreGraphics.framework/Versions/A/CoreGraphics.tbd and library file /System/Library/Frameworks//CoreGraphics.framework/Versions/A/CoreGraphics are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//CoreText.framework/Versions/A/CoreText.tbd and library file /System/Library/Frameworks//CoreText.framework/Versions/A/CoreText are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//ImageIO.framework/Versions/A/ImageIO.tbd and library file /System/Library/Frameworks//ImageIO.framework/Versions/A/ImageIO are out of sync. Falling back to library file for linking.

I have no idea what that means or whether Vim can do anything about it.  I know that Xcode10/CLT have changed the location of all kinds of header files.

Hi,
On Tue, Sep 18, 2018 at 7:39 AM chdiza<EMAIL_ADDRESS>wrote:

Xcode 10 (and the associated Commandline Tools development package) was released today and it is doing weird things on macOS 10.13.6.
The latest Vim builds successfully but there are the following warnings at the end of the process.
link.sh: Using unmodified link command
gcc   -L/usr/local/lib -o vim objects/arabic.o objects/beval.o objects/buffer.o objects/blowfish.o objects/crypt.o objects/crypt_zip.o objects/dict.o objects/diff.o objects/digraph.o objects/edit.o objects/eval.o objects/evalfunc.o objects/ex_cmds.o objects/ex_cmds2.o objects/ex_docmd.o objects/ex_eval.o objects/ex_getln.o objects/farsi.o objects/fileio.o objects/fold.o objects/getchar.o objects/hardcopy.o objects/hashtab.o  objects/if_cscope.o objects/if_xcmdsrv.o objects/list.o objects/mark.o objects/memline.o objects/menu.o objects/misc1.o objects/misc2.o objects/move.o objects/mbyte.o objects/normal.o objects/ops.o objects/option.o objects/os_unix.o objects/pathdef.o objects/popupmnu.o objects/pty.o objects/quickfix.o objects/regexp.o objects/screen.o objects/search.o objects/sha256.o objects/spell.o objects/spellfile.o objects/syntax.o objects/tag.o objects/term.o objects/terminal.o objects/ui.o objects/undo.o objects/userfunc.o objects/version.o objects/window.o  objects/encoding.o objects/keyboard.o objects/mouse.o objects/parser.o objects/pen.o objects/termscreen.o objects/state.o objects/unicode.o objects/vterm.o        objects/os_macosx.o objects/os_mac_conv.o   objects/channel.o objects/xdiffi.o objects/xemit.o objects/xprepare.o objects/xutils.o objects/xhistogram.o objects/xpatience.o   objects/charset.o objects/json.o objects/main.o objects/memfile.o objects/message.o        -lm -lncurses  -liconv -framework AppKit
ld: warning: text-based stub file /System/Library/Frameworks//AppKit.framework/AppKit.tbd and library file /System/Library/Frameworks//AppKit.framework/AppKit are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/PrivateFrameworks/UIFoundation.framework/Versions/A/UIFoundation.tbd and library file /System/Library/PrivateFrameworks/UIFoundation.framework/Versions/A/UIFoundation are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//ApplicationServices.framework/Versions/A/ApplicationServices.tbd and library file /System/Library/Frameworks//ApplicationServices.framework/Versions/A/ApplicationServices are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//Foundation.framework/Versions/C/Foundation.tbd and library file /System/Library/Frameworks//Foundation.framework/Versions/C/Foundation are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//CoreGraphics.framework/Versions/A/CoreGraphics.tbd and library file /System/Library/Frameworks//CoreGraphics.framework/Versions/A/CoreGraphics are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//CoreText.framework/Versions/A/CoreText.tbd and library file /System/Library/Frameworks//CoreText.framework/Versions/A/CoreText are out of sync. Falling back to library file for linking.
ld: warning: text-based stub file /System/Library/Frameworks//ImageIO.framework/Versions/A/ImageIO.tbd and library file /System/Library/Frameworks//ImageIO.framework/Versions/A/ImageIO are out of sync. Falling back to library file for linking.
I have no idea what that means or whether Vim can do anything about it. I know that Xcode10/CLT have changed the location of all kinds of header files.

I am also seeing the same warning messages when building Vim with the
latest Xcode 10 tools.
Some of the articles on the web suggest removing and reinstalling the
Xcode command line tools.
https://github.com/EOSIO/eos/issues/5418
I haven't tried this workaround yet.
Regards,
Yegappan

That workaround didn't do anything at all over here.

Either way, it doesn't work。

Hmm, seems like the original idea of the workaround comes from http://sd.jtimothyking.com/2018/07/26/stub-file-and-library-file-out-of-sync/ , and personally, I think the solution looks good.
So I'm not sure why that didn't work for both of them here.  I'm wondering how that failed to work.  By any chance, System Integrity Protection (SIP) was still enabled when both Option 1 and Option 2 were given a try?

I think the solution looks good.

It may look good, but it doesn't work :)
I have SIP disabled, and have had it disabled ever since installing the OS.
But hey, it's a new major version of Xcode, and every year Apple decides to break a bunch of things for no reason.  Apparently some of us are encountering one of the breakages.

I'm also with disable SIP. Might be the cause?

The above tricks didn't work for me either. I have a suspicion, that Xcode 10 will not be your friend until MacOS 10.14 comes out. Recall that the "out of sync" elements to which these refer are in the system frameworks, which are not updated by Xcode. Earlier, I had the same manifestation, and it happened because an in-place (non-clean) update of Xcode was screwed up. A clean install fixed it. I'm sure some of the tricks above would have worked as well, but despite manifesting the same way, I think this is a different problem. My guess is that after a little while, there will be an update for Xcode 10 that will fix it, followed by the release of...what's the new one called?...whatever, MacOS 10.14.

Since I've got no technical details about the issue so far, I've just updated macOS and Xcode for myself and their current versions are 10.13.6 and 10.0 (10A255), respectively, and then did
$ git clone https://github.com/vim/vim.git
$ cd vim/src
$ ./configure
$ make

To my surprise, I didn't get any linker warnings at all...
So, would someone tell me how to reproduce or point out what I'm missing?  Are there any combinations of configure options which result in the linker warnings in question?

It doesn't depend on my ./configure options.  I can run e.g., ./configure with no flags at all, then make, then I see the warnings.
This is probably a bug in either Xcode 10 or the installer package for the Xcode 10 CLT.  I have never touched the directory containing the allegedly out-of-sync things, so it must have been Xcode or the CLT that touched them.
Some other things that I build have shown this (though I can't recall what), while some other things don't show this.
@nuko8 I have the same Xcode 10 build (10A255) as you, and CLT <IP_ADDRESS>.1.1535735448.
I wonder if perhaps it has something to do with what's described in the Xcode 10 Release Notes, under "Command Line Tools" => "New Features".

Also for me, stuff that I was compiling using cmake now raises the error. I tried to open a bug issue on the apple bug tracker...

Those warnings also happen on Mojave, too.  Jeez.  I guess Apple done messed up.

same

Same here

Just reinstalling the Command Line Tools may not be enough. In my case (Mojave), setting the environment variable SDKROOT seems to work:
export SDKROOT=macosx10.14    # or macosx10.13 etc.
cd path/to/vim/src && ./configure && make

This doesn't appear to have anything  to do with Vim in particular.  So I'll close it.


style: adjust padding on bulk actions

Description
In the panel controls component the bulk actions checkbox has incorrect padding when checked.
The PR corrects the padding.
Screenshots

Before
After

Testing in sage-lib

Navigate to Panel Controls
Click the bulk actions checkbox
Verify the padding is corrected.

Testing in kajabi-products

(LOW) Updates padding of panel controls checkbox

Related
https://kajabi.atlassian.net/browse/DSS-1171

I applied a temp fix in KP to resolve the bug there. Will need to remove shim once bump is completed: https://github.com/Kajabi/kajabi-products/pull/38220


Ruby coding style fixes via rubocop in Vagrantfile

I ran rubocop --auto-correct on Vagrantfile to be more ruby coding style compliant and made some minor style fixes. The .rubocop.yml is there to skip two remaining offenses (long lines and indentation).

Sorry for letting this linger so long... can you run it again and post the latest fixes, and I'll test locally and merge if it's all good?

Updated and fixed in #472 - thanks @oxyc and @nemeth, much nicer Ruby syntax!


New feature : pam authentication in web_server module

No pam authentification for web api but authentification based on arangoDB authentification.
If arangoDB is configured to use pam, then stix2arango will use pam too
See commit 55cb622.


Knife unnatural predictions

Hi,
I am running the test_synthesis.py with the pretrained checkpoints.

Thanks for checking.

I have looked at most motions but not at all and so far I have only seen it for the knife.
I just followed the README.MD Getting started. I use the decimated meshes like described here: #1. After the setup I run python src/test/test_synthesis.py. And then in the render_smplx.py I adjust the dir_path='./save/pretrained_models/exp_31_model_Interaction_Prior_Posterior_CVAE_clip_lr_0-0005_batchsize_64_latentD_100_languagemodel_clip_usediscriminator_False_/test/' to the generated data.
(Side Note: In the render_smplx.py when calling SMPLXLayer on line 56-60 I think setting the v_template is missing.)

Thanks for pointing it out. It could be that synthesizing movements with the knife falls under a failure case as the knife was a rare object in the training data .  More details of such scenarios are mentioned in the limitations section of our paper,


[discussion] split databases from files

I tried downloading two files in the same directory the other day, but dat wouldn't let me because it already had a database in the dir. How would you feel about splitting off the databases from the actual files and store them in ~/.level using https://github.com/yoshuawuyts/named-level-store ?
I feel this would make it a bit more predictable to manage leveldb instances, not only in dat but also in lower level tools like hyperdrive, normcore, hyperreduce and the like. For dat-desktop I also had to spend a bit of time tracking down the database to reset it which like isn't great. Keen to hear thoughts!

I think this should be discussed on a call instead of typing to minimize back and forth. @mafintosh @maxogden and @jhand probably have more to say regarding .dat file in the local folder vs. in the home folder. We have talked about it a bunch in person as well as online and decided on the .dat file in the folder to mimic git's behavior, but happy to discuss more.

yeah so talked about it on IRC and doesn't seem like a great idea for right now; thanks for the patience :sparkles:

Oh PS if we ever do decide to go down the route of using multiple hyperdrives, I wrote https://github.com/yoshuawuyts/multidrive yesterday which might be useful - not yet for SLEEP files but yeah hah


docs: 修正 dispatch 单词

Checklist

[ ] npm test passes
[ ] tests are included
[ ] documentation is changed or added
[ ] commit message follows commit guidelines

Description of change

any feature?
close https://github.com/dvajs/dva/ISSUE_URL

Codecov Report

Merging #2480 (749c81f) into master (3eaee30) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #2480   +/-   ##
=======================================
  Coverage   85.90%   85.90%
=======================================
  Files          18       18
  Lines         518      518
  Branches      114      114
=======================================
  Hits          445      445
  Misses         59       59
  Partials       14       14

Continue to review full report at Codecov.

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


Enable serialisation of SeriesHelper data points

We're introducing InfluxDB reporting in to a batch job pipeline we have. However, we don't want to introduce a runtime dependency on our InfluxDB server (as it's only intended for rough metric tracking, so doesn't have an SLA from the team that run it).
It would be good if there were a supported way of serialising all the data point that a SeriesHelper class has been given in the public API; we could write these out and have a separate job (whose failure wouldn't block our broader pipeline) read them in and write them to InfluxDB.

Currently, I think we can do this by calling the ._json_body_() method, and writing the result out to disk. Really, I think all I'm asking is that this is moved in to the public API, so I can worry a bit less about it disappearing in future.

Digging in to this a bit further, the dict returned by _json_body isn't actually JSON-serialisable because it contains a datetime object.
So maybe something like a new .to_json() or .points_as_json() method which returns a JSON string with the datetime converted to something that will round-trip would make more sense?
There's also the question of resetting the series; I wouldn't expect this new method to do so, but people might want it. Perhaps something like .commit_to_file(f) which would do the reset?
(We'd only call this once at the end of a batch job, so it doesn't really affect us.)

Thanks for reporting this @OddBloke, not really sure what that'll buy you if we have another function to split the data back as a pure JSON blob but if you're up for the challenge we'd love to see a PR on this?
Is this blocking your usage of the system right now?


Help with foreign key relation of manyOf

Hello,
How can I create the schema in a manyof relationship where the ID of one model matches the primary key of another table when the create method is used?
I use faker to generate the UUID.
For example SalesPerson has many Orders in a one to many relationship
How can the SalesPersonId column in the Orders table match the primary key of SalesPerson?

Hi, @veih14. Can you help me understand your requirement a little better?
The way to define the relationship you described is this:
import { factory, primaryKey, manyOf } from '@mswjs/data'

const db = factory({
  user: {
    id: primaryKey(faker.uuid),
    name: String,
    orders: manyOf('order')
  },
  order: {
    id: primaryKey(fake.uuid)
  }
})

db.user.create({
  name: 'John',
  orders: [
    db.order.create(),
    db.order.create()
  ]
})

I'm not sure what you mean about that ID relationship though. Each user and each order will have their own UUID since the primary key represents a unique identifier within that model. A user cannot share their primary key with their orders in any way because that'd imply that many orders have the same primary key, which is a no-op.
If you could give me a pseudo-code example of what you want to achieve, I'd be able to help you.

Thank you for your reply @kettanaito !
yes to clarify basically from your code I need each order to have a property (userId) and value that matches the PK of the User.
An example of the object I’m trying to build:
{userId: 1234, name: ‘Joe’, orders: [{orderId: 345, userId: 1234}, {orderId: 346, userId: 1234}]}

Thanks for elaborating on the expected behavior! Now it's clear to me.
This is a viable use case that we don't support at the moment. Even with the V1 refactoring I'm working on, you'd be able to achieve this only through new functionality that I haven't spec'ed out yet.
What I'm thinking, a combination of a relationship and something called a derivative property can work here:
factory({
  user: { id: id(Number) },
  order: {
    user: oneOf('user'),
    userId: derivative(({ user }) => user.id))
  }
})

This will work with V1 even in its current form but you will have the order.user property which you may not want to have.
Alternatively, if you're okay with that, you can declare that oneOf relationship even with the latest Data!

Thank you @kettanaito for the suggestion. So as I understand it won't be supported until V1 is released (no timeline yet right?).

Yes, that's correct.
It would great to have a selective syntax for relationship properties but then it becomes something else, not a relationship between models in its purest form. I think derivatives properties is the right choice here. It's also not uncommon to have "internal" model properties that are not present on the created entities. In the context of Factory Bot, those are called transient attributes and can help achieve the use-case you're after.
factory({
  user: { id: id(Number) },
  order: {
    user: transient(oneOf('user')),
    userId: ({ user }) => user.id,
  }
})

This way order.user is always available in the model definition, like in the order.userId property definition, but is not set on the generated entity. This looks like a fun feature to add.


Update API

Hi
Instagram Update something that say in this page :
https://www.instagram.com/developer/sandbox/
and new api developer users Cannot use it !
please Update Then API something change such as login permissions :
https://www.instagram.com/developer/authorization/
Thanks from @fujiy

+1 I would like the API updated to the latest, as well :-)

@Dan9boi  hi
its update but i cant get any data from instagram with new version of instagram api id
Can you help me?

its update but i cant get any data from instagram with new version of instagram api id

The question would be: What do you mean by "can't get any".
internal static CustomInstaSharpConfiguartion InstagramConfig = new CustomInstaSharpConfiguartion()
        {
            ClientId = "aclientid",
            ClientSecret = "aclientsecret",
            RedirectUri = "anUrlWhichisConfiguredOnInstagram"
        };
var auth = new OAuth(InstagramConfig);
var oauthResponse = await auth.RequestToken(code);
if (oauthResponse == null || oauthResponse.AccessToken == null) return null;
var user = new InstaSharp.Endpoints.Users(instagramConfig, oauthResponse);
var self = await user.GetSelf();
var id = self.Data.Id.ToString()
Maybe you have to check again the Endpoints and Scopes?

Instagram just made hard to be a API/App developer, like Twitter has made some time ago.
I couldn't get a Client-Id approved to leave the sandbox, so I can't test the API

Done


fix(scrape/manager): reload manager's internals with new function

Add a new function, ApplyConfigAndOptions, to allow external parties to reload scrape managers.

Refactored to remove deprecated enable_protobuf_negotiation option

Hello from the bug-scrub!  Do you think you will come back to this @hainenber , or shall we just close it?

You can go ahead and close it. Unlikely I'll have time continuing.


feat(gomod):update gomod for kubernetes v1.19.2

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

/lgtm


Typescript issue on upgrade to latest

ERROR in /Users/Danijel/projects/am/am-web/node_modules/react-chartjs-2/index.d.ts
(11,49): error TS2694: Namespace '"*"' has no exported member 'ChartData'.
ERROR in /Users/Danijel/projects/am/am-web/node_modules/react-chartjs-2/index.d.ts
(14,41): error TS2694: Namespace '"*"' has no exported member 'ChartData'.
ERROR in /Users/Danijel/projects/am/am-web/node_modules/react-chartjs-2/index.d.ts
(17,27): error TS2694: Namespace '"*"' has no exported member 'ChartData'.
ERROR in /Users/Danijel/projects/am/am-web/node_modules/react-chartjs-2/index.d.ts
(18,18): error TS2694: Namespace '"*"' has no exported member 'ChartType'.
ERROR in /Users/Danijel/projects/am/am-web/node_modules/react-chartjs-2/index.d.ts
(23,20): error TS2694: Namespace '"*"' has no exported member 'ChartLegendOptions'.
ERROR in /Users/Danijel/projects/am/am-web/node_modules/react-chartjs-2/index.d.ts
(25,21): error TS2694: Namespace '"*"' has no exported member 'ChartOptions'.
ERROR in /Users/Danijel/projects/am/am-web/node_modules/react-chartjs-2/index.d.ts
(31,27): error TS2694: Namespace '"*"' has no exported member 'ChartData'.
ERROR in /Users/Danijel/projects/am/am-web/node_modules/react-chartjs-2/index.d.ts
(37,19): error TS2304: Cannot find name 'chartjs'.
TsConfig
{
  "compileOnSave": false,
  "compilerOptions": {
    // https://www.typescriptlang.org/docs/handbook/compiler-options.html
    "declaration": true,
    "target": "es5",
    "module": "commonjs",
    "moduleResolution": "node",
    "lib": [
      "es6",
      "esnext.asynciterable",
      "dom"
    ],
    "diagnostics": false,
    "sourceMap": true,
    "jsx": "react",
    "removeComments": true,
    "outDir": "./dist",
    "pretty": true,
    "importHelpers": true,
    "experimentalDecorators": true,
    "emitDecoratorMetadata": true,
    "noImplicitAny": false,
    // Raise error on expressions and declarations with an implied ‘any’ type.
    "forceConsistentCasingInFileNames": true,
    // Disallow inconsistently-cased references to the same file.
    "preserveConstEnums": true
    //Do not erase const enum declarations in generated code.
  },
  "exclude": [
    "node_modules",
    "typings"
  ]
}

Hopefully 2.7.1 will fix this issue for you. please reopen if it does not.

I am still getting this error


Implement AzurePowerShellCredential and add to DefaultAzureCredential chain

See .NET implementation here:  https://github.com/Azure/azure-sdk-for-net/blob/master/sdk/identity/Azure.Identity/src/AzurePowerShellCredential.cs

@christothes @chlowell @joshfree Hi team, I already have this issue: https://github.com/Azure/azure-sdk-for-js/issues/14582 I'll close this one on favor of https://github.com/Azure/azure-sdk-for-js/issues/14582


User Menu Animation Effect

Describe the desired behavior
User Menu animation (transition in/out) does not match the React User Menu animation.
It should use a shrink animation instead of a grow animation.
Describe the current behavior
User Menu has a similar animation style to a mat-select or mat-menu components.
Is this request related to a current issue?
No

If this issue manages to sit here until July 2022, I'd opt to place a wont-fix label on it.


Fix Multiplication/Recurrence for ChebyshevDirichlet

ChebyshevDirichlet <: PolynomialSpace but doesn't implement the appropriate Recurrence operator...

ChebyshevDirichlet is equivalent to JacobiWeight(1,1,Ultraspherical{1}()) up to scaling apart from the first two modes.  This might help with this.

This has been implemented.


Refs #16859 -- updated CSRF FAQ to mention CSRF_USE_SESSIONS setting

Merged in 503e944ac792498e7b38c799d8e4b06f74e9d65a, thanks! (we don't need to duplicate a versionchanged annotation each time the setting is mentioned).


Improve tooltip consistency, clarity, and look.

prepend a 'v' to the version number headings to make it clearer what
they represent, as someone not familiar with rust may not immediately
infer that '1.42' on its own is a version number
changed perfDelta to always return a number, rather than a formatted
string, and put the string formatting in the tooltip's formatter
function, a little bit more cleanly shown with string template
also use toFixed for delta+value numbers rather than string manip to
consistently round off to 2 decimals, where before there were odd
artifacts like "(12.%)" sometimes
changed the separator to remove the leading space, because a string
like "key : value" is less common convention than "key: value".

before:

after:

Sorry about this, I think there's a merge conflict.
Changes look good otherwise!

I see Cloudflare still won't comment. No matter, I'll merge this since there are no merge conflicts.

it seems the tooltip line got included in the changes -- resolved :)

Seems like the build failed.

Build issue is now fixed after updating recharts.


HUMBI dataset website can no longer login

Hi,
Thank you for your great contribution to our society. Currently, I am trying to download data from the official website https://humbi-data.net/. However, neither could I register a new account nor could I use my teammate's account to login(Displaying 'Login Failed, Please Try Again"). Would you mind to check whether the website is still supported? Looking forward to your reply.
Best,
S.F

Just FYI, I registered yesterday and today (Dec 22nd, 2022) I received an email with link to reset my password, and it all seems to be working fine. Do check your SPAM folder, my e-mail ended up there. It seems like there is a manual account approval step, but once it is granted, you can access to the dataset with no problem.


With knipse sjakk

I rebased this code upon upstream master so we're starting from the same version of the code.
Lichess uses English variant names.
I started to define the Flick-Chess ruleset, however so far I have not decided how to encode a Flick using a Uci object (in the move list, for spectators) nor how to implement takebacks!

Using this version of scalachess seems like it requires some changes to names in my lila fork to work properly. That might might not be consistent or even correct behavior compared with how adding variants is supposed to work so I thought I'd let you know. Particularly, you should be made aware of the code in lila/app/views/round/player.scala.html that loads lichess.flick.js instead of lichess.round.js in the case of the flickchess variant.


Shaka does not autoplay when the stream starts with a gap

Have you read the FAQ and checked for duplicate open issues?
Yes
What version of Shaka Player are you using?
3.0.5
Can you reproduce the issue with our latest release version?
Yes, 3.0.5 is the latest I can find
Can you reproduce the issue with the latest code from master?
Yes
Are you using the demo app or your own custom app?
Yes, both
If custom app, can you reproduce the issue using our demo app?
Yes
What browser and OS are you using?
Mac OS 10.15.6 and Chrome.
For embedded devices (smart TVs, etc.), what model and firmware version are you using?
n/a
What are the manifest and license server URIs?
manifest (not encrypted)
"https://lbs-usp-dash-live.cmore.se/group05/debug/live.isml/.mpd?t=2020-11-12T12%3A30%3A00.000-2020-11-12T12%3A45%3A00.000"

What did you do?
I start playing it in your demo player and in my own player respectively. Hence, we have jumpLargeGaps = true
What did you expect to happen?
I expect the stream to start playing in the demo player, since other streams we have autoplay in the very same player. If we press play the stream starts. In my own player, I notice that the "canplaythrough" event, is not dispatched, and we use this to enable video controls. So our own player is not possible to start.
What actually happened?
In the demo player, the stream had to be manually started. In my own player, the controls are never visible. If there is another event from shaka to indicate that the player is ready, I am happy to change canplaythrough to that event, to solve this issue.

@lemonwhale, I was just informed by email that this is working in dash.js.  For comparison, and to help us debug, can you please try this stream in dash.js and Shaka Player and compare the buffered ranges presented in each?
const b = videoElement.buffered;
console.log('Buffered ranges: ' + b.length);
for (let i = 0; i < b.length; ++i) { console.log(b.start(i) + ' - ' + b.end(i)); }

Hi Joey,
Two screenshots as I do not have player versions where I easily can insert code, I hope this helps.

dashjs (with debug info / buffer length)

shake (which shows video length of 15:03, download of fragments but no play)

Hi Joey,
Two screenshots as I do not have player versions where I easily can insert code, I hope this helps.

dashjs (with debug info / buffer length)

shake (which shows video length of 15:03, download of fragments but no play)

Can you run the following code in the JS console with both players?  You don't need to insert code into the player itself.  This will tell us what the buffered ranges are for the two players, which will help us understand the difference between them.
const b = videoElement.buffered;
console.log('Buffered ranges: ' + b.length);
for (let i = 0; i < b.length; ++i) { console.log(b.start(i) + ' - ' + b.end(i)); }

Can you run the following code in the JS console with both players?  You don't need to insert code into the player itself.  This will tell us what the buffered ranges are for the two players, which will help us understand the difference between them.
const b = videoElement.buffered;
console.log('Buffered ranges: ' + b.length);
for (let i = 0; i < b.length; ++i) { console.log(b.start(i) + ' - ' + b.end(i)); }

Hi Joey,
The videoElement seems undefined
Please run the code your mention on this url
https://lbs-usp-dash-live.cmore.se/group05/debug/live.isml/.mpd?t=2020-11-12T12%3A30%3A00.000-2020-11-12T12%3A45%3A00.000 https://lbs-usp-dash-live.cmore.se/group05/debug/live.isml/.mpd?t=2020-11-12T12:30:00.000-2020-11-12T12:45:00.000
Kind regards,
Dirk

On 20 Jan 2021, at 18:54, Joey Parrish<EMAIL_ADDRESS>wrote:
Can you run the following code in the JS console with both players? You don't need to insert code into the player itself. This will tell us what the buffered ranges are for the two players, which will help us understand the difference between them.
const b = videoElement.buffered;
console.log('Buffered ranges: ' + b.length);
for (let i = 0; i < b.length; ++i) { console.log(b.start(i) + ' - ' + b.end(i)); }
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/google/shaka-player/issues/2987#issuecomment-763824085, or unsubscribe https://github.com/notifications/unsubscribe-auth/APOGCIZHIMLKUAJFI6SYIPTS24KD5ANCNFSM4TUKSG4Q.

Hi Joey,
The videoElement seems undefined
Please run the code your mention on this url
https://lbs-usp-dash-live.cmore.se/group05/debug/live.isml/.mpd?t=2020-11-12T12%3A30%3A00.000-2020-11-12T12%3A45%3A00.000 https://lbs-usp-dash-live.cmore.se/group05/debug/live.isml/.mpd?t=2020-11-12T12:30:00.000-2020-11-12T12:45:00.000
Kind regards,
Dirk

On 20 Jan 2021, at 18:54, Joey Parrish<EMAIL_ADDRESS>wrote:
Can you run the following code in the JS console with both players? You don't need to insert code into the player itself. This will tell us what the buffered ranges are for the two players, which will help us understand the difference between them.
const b = videoElement.buffered;
console.log('Buffered ranges: ' + b.length);
for (let i = 0; i < b.length; ++i) { console.log(b.start(i) + ' - ' + b.end(i)); }
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/google/shaka-player/issues/2987#issuecomment-763824085, or unsubscribe https://github.com/notifications/unsubscribe-auth/APOGCIZHIMLKUAJFI6SYIPTS24KD5ANCNFSM4TUKSG4Q.

I should have been more specific about the video element.  That's whatever the actual video element is, not a literal variable I expect to be predefined.
If there's only one video element on the page, this should do it:
const videoElement = document.querySelector('video');

I should have been more specific about the video element.  That's whatever the actual video element is, not a literal variable I expect to be predefined.
If there's only one video element on the page, this should do it:
const videoElement = document.querySelector('video');

Hi Joey,
All I see is ‘undefined’ - which seems the result of the expression (as I find online, ‘console.log(‘hello’) also gives ‘undefined’ but with ‘hello’ as ’side-effect’)
Same happens in Dash.js,
Can you not yourself paste the url in the player?
https://lbs-usp-dash-live.cmore.se/group05/debug/live.isml/.mpd?t=2020-11-12T12%3A30%3A00.000-2020-11-12T12%3A45%3A00.000 https://lbs-usp-dash-live.cmore.se/group05/debug/live.isml/.mpd?t=2020-11-12T12:30:00.000-2020-11-12T12:45:00.000
Kind regards,
Dirk

On 21 Jan 2021, at 22:00, Joey Parrish<EMAIL_ADDRESS>wrote:
I should have been more specific about the video element. That's whatever the actual video element is, not a literal variable I expect to be predefined.
If there's only one video element on the page, this should do it:
const videoElement = document.querySelector('video');
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/google/shaka-player/issues/2987#issuecomment-764938904, or unsubscribe https://github.com/notifications/unsubscribe-auth/APOGCI5OHGRVKISUQPGF423S3CIYRANCNFSM4TUKSG4Q.

Hi Joey,
All I see is ‘undefined’ - which seems the result of the expression (as I find online, ‘console.log(‘hello’) also gives ‘undefined’ but with ‘hello’ as ’side-effect’)
Same happens in Dash.js,
Can you not yourself paste the url in the player?
https://lbs-usp-dash-live.cmore.se/group05/debug/live.isml/.mpd?t=2020-11-12T12%3A30%3A00.000-2020-11-12T12%3A45%3A00.000 https://lbs-usp-dash-live.cmore.se/group05/debug/live.isml/.mpd?t=2020-11-12T12:30:00.000-2020-11-12T12:45:00.000
Kind regards,
Dirk

On 21 Jan 2021, at 22:00, Joey Parrish<EMAIL_ADDRESS>wrote:
I should have been more specific about the video element. That's whatever the actual video element is, not a literal variable I expect to be predefined.
If there's only one video element on the page, this should do it:
const videoElement = document.querySelector('video');
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub https://github.com/google/shaka-player/issues/2987#issuecomment-764938904, or unsubscribe https://github.com/notifications/unsubscribe-auth/APOGCI5OHGRVKISUQPGF423S3CIYRANCNFSM4TUKSG4Q.

Same happens in Dash.js,

Same happens in Dash.js,

Sorry for being absent in the conversation, been working on other stuff. Thanks both of you for looking at this. I will try the suggestion above.

Sorry for being absent in the conversation, been working on other stuff. Thanks both of you for looking at this. I will try the suggestion above.

For Shaka player:
Buffered ranges: 1
1.996 - 63.996

For Shaka player:
Buffered ranges: 1
1.996 - 63.996

For Dash.js
Buffered ranges: 1
1.996 - 23.996

For Dash.js
Buffered ranges: 1
1.996 - 23.996

@joeyparrish Did you see the logs above?

Hi Joey, Any news on this?

Hi gentlemen, sorry for the delay!
@TheModMaker Can I drag you into this as a gap expert, if you have some time?
@dirk-unified @lemonwhale if both our gap experts are too busy (as in - if there's no news on this in the next few days), please feel free to ping me next week. It'll be a little slower as I'm not as familiar with our gap logic, but I'll do my best! :)

I believe I've found a bug in the GapJumpingController component that has been there since the beginning.  I believe I have a fix that makes autoplay work correctly on this content.
In essence, we don't want to jump ahead while paused.  But when playback starts, the video is automatically in a "paused" state.  With autoplay set on the video, as soon as we jump ahead to the first buffered range, playback starts.  So the fix is to allow jumping ahead if we're paused at time 0, but not paused elsewhere.

Awesome. That sounds very promising. Any rough estimate when we can get this fix for test and production?

The fix got held up in code review, but it just landed in the master branch.  I should be able to push out a v3.0.9 some time next week.


OpenGL ES2 on Linux

Hello,
AFAIK OpenGL ES2 on RayLib is used by default on Android and Web versions. How can I compile RayLib to use OpenGL ES2 on Linux? I want to code on Linux and port shaders to Android, so maybe work with the same OpenGL version could help.
thx.

Hi @dmalves,
OpenGL ES is intended for Embedded Systems, on desktop you should use OpenGL, actually, OpenGL ES 2.0 is equivalent to OpenGL 3.x in lot of functionality.
raylib uses OpenGL ES 2.0 for Android and Raspberry PI; for HTML5 raylib uses WebGL (it is directly translated from OpenGL ES 2.0 using emscripten). On Linux you should use OpenGL... there are some ways to enable OpenGL ES through emulation libraries (Mesa, ARM emulator, PowerVR emulator...) but it's not the expected use.
Here there are some links with additional information on this subject:
https://forum.openframeworks.cc/t/gles-opengl-es-on-desktop-linux-customeglwindowsettings/21925
http://stackoverflow.com/questions/12045488/any-gles-examples-in-c-on-x86-linux
http://stackoverflow.com/questions/3809236/how-to-develop-opengl-es-gles-2-0-applications-on-linux

About shaders porting... I recommend you to use GLSL 120 on desktop platform, it could work with OpenGL 2.1 or even 3.3 and it's quite similar to GLSL ES 100, the shader language used on OpenGL ES 2.0.


Fp8 support

Please add fp8 support and bnb nf4 for flux add this so I can use t5xxlfp8 with sd3 ,add clip support there's a sd3 clip model that's available but it's not supported.

Partly duplicate of https://github.com/leejet/stable-diffusion.cpp/issues/329


feat: upgrade everpcpc/actions-cache to v2

to use node20
https://github.com/everpcpc/actions-cache/releases/tag/v2
https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/

Already done via renovate


fix(jszip): path traversal detection update

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Remove InMemoryStateReader.global_state_root

Remove InMemoryStateReader.global_state_root:
Now instead of making

 let key = self
                .global_state_root
                .get(contract_address)
                .ok_or_else(|| StateError::NoneContractState(contract_address.clone()))?;
            let result = self.ffc.get_contract_state(key)?;

let result = self
                .ffc
                .get_contract_state(&contract_address.to_32_bytes()?)?;

we transform the contract_address into a [u8;32] and used it as the StorageKey

Fix Address.to_32_bytes() method

Codecov Report

Merging #92 (52a677c) into storage-write (a78b201) will increase coverage by 0.03%.
The diff coverage is 84.61%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@                Coverage Diff                @@
##           storage-write      #92      +/-   ##
=================================================
+ Coverage          61.97%   62.00%   +0.03%
=================================================
  Files                 29       29
  Lines               1512     1516       +4
=================================================
+ Hits                 937      940       +3
- Misses               575      576       +1

Impacted Files
Coverage Δ

src/business_logic/state/cached_state.rs
69.04% <ø> (ø)

src/business_logic/transaction/internal_objects.rs
0.00% <0.00%> (ø)

src/utils.rs
43.90% <87.50%> (+2.34%)
:arrow_up:

...usiness_logic/fact_state/in_memory_state_reader.rs
86.95% <100.00%> (-0.55%)
:arrow_down:

...rc/core/syscalls/business_logic_syscall_handler.rs
51.72% <100.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


C1189: Py_LIMITED_API is incompatible with Py_DEBUG, Py_TRACE_REFS, and Py_REF_DEBUG still here

I've set Multi-threaded DLL (/MD) for all configurations but "C1189: Py_LIMITED_API is incompatible with Py_DEBUG, Py_TRACE_REFS, and Py_REF_DEBUG" error still happened until I removed _DEBUG preprocessor definition under debug configuration.

After that everything seems ok, mixed mode debugging works fine.

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

ID: 40e3b6b1-a3d2-f4f2-b1ad-dd654a062343
Version Independent ID: b2418b84-04f4-60d2-ec1d-291a5d4d0c51
Content: Write C++ extensions for Python - Visual Studio
Content Source: docs/python/working-with-c-cpp-python-in-visual-studio.md
Product: visual-studio-windows
Technology: vs-python
GitHub Login: @JoshuaPartlow
Microsoft Alias: joshuapa

I'm addressing this in https://github.com/MicrosoftDocs/visualstudio-docs/pull/6632

Closing as this was addressed in recent PR to the docs.


[core] improved readability of lb funcs, switch to slices.Contains

What this PR does / why we need it:
Fixed nested conditions logic and switched to slices.Contains, removed Contains func from util package.
Which issue this PR fixes(if applicable):
n/a
Special notes for reviewers:

Release note:

NONE

@zetaab @mdbooth can you add lgtm to merge this? I have yet another PR with further code improvements. And I believe I'll submit more. Last time when I tried to make code improvements in one PR, it didn't work.

/lgtm


How to Use this project for custom video streams?

Hi,
I'm working on vehicle speed detection, i found your work useful and i tried to work it out but i don't know how to run on custom streams like you created in settings.json please help me

Hello, I am facing the same issue can you elaborate how you solved if you did.


Allow downloading items with curl

To download an artifact from CAS, in addition to being able to do it with the CLI, you can use the /download HTTP endpoint in the control-plane.
If you open the link below in your browser you'll get redirected and the download will start.
https://cp.chainloop.dev/download/sha256:744ffb7e09fca615818a151745ef872903ae79880f966efb805da736369b1d98
but that's not the case if you use curl and authenticate with an API token (new feature #461)
curl -L -H "Authorization: Bearer $API_TOKEN" https://cp.chainloop.dev/download/sha256:744ffb7e09fca615818a151745ef872903ae79880f966efb805da736369b1d98

The result of running that is a mere Your download will begin shortly... but does not redirect and hence the download process never starts.
It's likely that the issue is related to the use of meta-redirect headers, a feature potentially not supported by clients like curl.

The issue is because the server returns a refresh header to show a message before redirecting to the CAS.
 HTTP/2 302
< date: Mon, 18 Dec 2023 21:55:24 GMT
...
< refresh: 1;url=https://cas.chainloop.dev/download/sha256:744ffb7e09fca615818a151745ef872903ae79880f966efb805da736369b1d98...

There is a comment explaining the reason for using this kind of redirect as opposed to the regular 302
	// In order ton show a redirect message in the page before the redirection,
	// we need to use a Refresh Header instead of a vanilla redirect (via location change)
	// We want to show a message because in some cases the download will be shown as downloadable and hence
	// the UX for the user is like the browser got stuck

in any case, we need to support clients like curl and maybe, if detected, return 302 directly


fix: add the a timeout of 60 minutes to GoReleaser in the CI

Closes #3072

It is not needed to build the manager. Only the plugin requires long time because it has a lot of architectures


New version: Mozilla.Firefox version 119.0

[ ] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?

[x] Does your manifest conform to the 1.5 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

This is my attempt of automatically checking for Firefox updates and automatically generating manifests. This has several diversions from previous versions, so I want to check if I'm doing the right thing. If everything seems fine, I could add this to my cron job and completely automate this (expanding to Beta, Thunderbird, etc.).

I "migrated" this to 1.5.0 schema. I just changed the schema and manifest version and did nothing else. Yaml checks seem to pass. Validate seem to pass. Let me know if I'm missing something.
I unified formatting across locales so that now everything is within 100 width. I also removed line breaks in descriptions that doesn't make sense to me. If we put them there for a reason, I'll put those back.
I added ProductCode to every installer field that supports it, just so that we have some consistency between locales.

Microsoft Reviewers: Open in CodeFlow

@microsoft-github-policy-service agree


Add versioning

Introduces a global version for the mono repo packages using a calendar based versioning scheme:
YYYY.MM.N
intermediate development builds use YYYY.MM.N-build.current_date.commit_sha, where the prefix is the latest release.
bump-my-version is used to automate version bumping as much as possible.

Versioning benefits from a changelog, one was added inspired on https://keepachangelog.com/en/1.1.0/

an initial version 2024.1.0 was also added

closes #102


Needs to be updated for compatibility with league/container 2x?

Sorry about this, I haven't had a chance to look at this or if League\Container 2.0 has landed yet. If you'd like to provide a PR or some details about what I need to change, I'd be glad to review?
Alternately, I'm recommending folks use the standard CallableListener that ships with Tactician core, rather than an individual adapter for every container out there. https://github.com/thephpleague/tactician/blob/master/src/Handler/Locator/CallableLocator.php

Take a look at pull request #6 I submitted a while back for upgrading to League\Container 2.0 (which has a stable release now).
Because League\Container 2.x implements container-interop/container-interop upgrading will allow this package to work with any container that also implements the container-interop interface rather than just the league/container package.

See #8 for a status update but dev-master should work for now. Sorry for the long delay on this!


YAML Example in "Substituting Properties" doc is formated wrong

Environment
https://docs.liquibase.com/concepts/changelogs/property-substitution.html
Description
The YAML example leads to NullPointerExecptions when running it
Steps To Reproduce
Copy and Paste the example to a changelog file and use it
Actual Behavior
The YAML parser crashes
Expected/Desired Behavior
Liquibase can parse the example
Additional Context
The whitespaces are wrong after copy and paste

Thanks for this! We will follow up and fix.

Hi @dve If you want to move this to our documentation repository we can cover this.
https://github.com/Datical/liquibase-docs/issues

Created https://github.com/Datical/liquibase-docs/issues/132


Addition of missing resource

URL was pointing to 404 page. Updated the link.
Problem: https://github.com/MicrosoftDocs/microsoft-365-docs/issues/1735

@JohanFreelancer9 - kindly do the copy editor review for this PR. Thanks.

@mypil Ready to go live.

Thank you @joinimran and @JohanFreelancer9


Allow files with leading . to appear in file list

Description
Occasionally I need to edit a .env or some other .something file (with a leading .)
Suggestion
We can install vim which will allow me to edit these files via the terminal, but not everyone is versed in vim. If the file browser GUI could show these files, it would allow for the GUI text editor to edit them. This seems like the most optimal solution.

Do you mean, being able to see dotfiles in the Jupyter Lab UI? If yes, then it's beyond QHub, isn't it?

Do you mean, being able to see dotfiles in the Jupyter Lab UI?

yes

it's beyond QHub, isn't it?

I don't know - is it? :)

This looks like a jupyterlab server configuration that would need to be made and not something that can be configured on the web browser side... maybe the vscode integration makes this less of a pain point? Since jupyterlab isn't an editor anyways.

This looks like a jupyterlab server configuration that would need to be made and not something that can be configured on the web browser side... maybe the vscode integration makes this less of a pain point? Since jupyterlab isn't an editor anyways.

@kcpevey Does the vscode integration helped to lessen the impact of this issue?


use more efficient API for job status with host filter in CLI and client

Uses the new API method introduced in #1095 in HeliosClient and in
JobStatusCommand so that helios status --host foo does not need to
fetch all jobs, the job status for all jobs, and then filter by hostname
within the CLI. The filtering is all server-side as of #1095.

To be merged/released after #1095
@spotify/helios-team

note that the test testFilteringJobAndHostStatuses - com.spotify.helios.system.MultipleHostsTest fails because this commit is on top of master and not #1095 so the test does not have the new API logic to test against; I'll rebase this once #1095 is merged.

Codecov Report

Merging #1096 into master will increase coverage by 0.33%.
The diff coverage is 78.94%.

@@             Coverage Diff              @@
##             master    #1096      +/-   ##
============================================
+ Coverage     51.49%   51.82%   +0.33%
- Complexity     1547     1558      +11
============================================
  Files           266      266
  Lines         12746    12742       -4
  Branches       1466     1469       +3
============================================
+ Hits           6563     6604      +41
+ Misses         5691     5633      -58
- Partials        492      505      +13

Continue to review full report at Codecov.

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

rebased on top of master now that #1095 is merged


Keras not exporting tensor names when freezing TensorFlow graph/model

Hi,
I am trying to export Keras model (with TensorFlow backend) for an Android app. Here are the steps to reproduce it:
First, obtaining the TensorFlow session:
sess = K.get_session()

The model itself:
X = tf.placeholder(tf.float32, shape=(None, N_TIME_STEPS, N_FEATURES),  name="input")

model = Sequential()
model.add(InputLayer(input_tensor=X))
model.add(LSTM(32))
model.add(Dense(N_CLASSES, activation='softmax', name='y_'))

Training & exporting the graph:
optimizer = RMSprop(lr=0.01)
model.compile(loss='categorical_crossentropy', optimizer=optimizer, metrics=['accuracy'])

class TFCheckpointCallback(keras.callbacks.Callback):
    def __init__(self, saver, sess):
        self.saver = saver
        self.sess = sess

    def on_epoch_end(self, epoch, logs=None):
        self.saver.save(self.sess, 'freeze/checkpoint.ckpt', global_step=epoch)

tf_graph = sess.graph
tf_saver = tf.train.Saver()
tfckptcb = TFCheckpointCallback(tf_saver, sess)

model.fit(sequences, labels, validation_split=0.05, batch_size=1024,
                    epochs=2, shuffle=True, callbacks=[tfckptcb])

tf.train.write_graph(tf_graph.as_graph_def(),
                     'freeze', 'graph.pbtxt', as_text=True)
tf.train.write_graph(tf_graph.as_graph_def(),
                     'freeze', 'graph.pb', as_text=False)

This executes without any problem. Finally, freezing the graph:
from tensorflow.python.tools import freeze_graph

MODEL_NAME = 'har'

input_graph_path = 'freeze/graph.pbtxt'
checkpoint_path = './freeze/checkpoint.ckpt-1'
restore_op_name = "save/restore_all"
filename_tensor_name = "save/Const:0"
output_frozen_graph_name = 'frozen_'+MODEL_NAME+'.pb'

freeze_graph.freeze_graph(input_graph_path, input_saver="",
                          input_binary=False, input_checkpoint=checkpoint_path,
                          output_node_names="y_", restore_op_name="save/restore_all",
                          filename_tensor_name="save/Const:0",
                          output_graph=output_frozen_graph_name, clear_devices=True, initializer_nodes="")

I got the following error after executing the lines above:
AssertionError: y_ is not in graph

Is there another way to name the output tensor?

Having a similar issue here as well.

Anyone solved this?

So I think you want to use y_/MatMul or something like that. Haven't figured out exactly which one you want but take a look at the nodes named y_/* that gets created in your pbtext

You can basically print all your nodes (all had some generated name) and use the one you like.

[print(n.name) for n in sess.graph.as_graph_def().node]
Then name of nodes will be printed out.

Is "y_/Softmax" correct?
I used @nyoshimura 's method to print all the layers and found this.

(I'm not sure but) I think so if your output is like this:
model.add(Activation('softmax', name='y_'))

FYI:
Run your Keras models in C++ Tensorflow

You can get the tensorflow op names like this
[x.op.name for x in model.outputs]

did you solve it ? @curiousily

Hi @progfiles! Which version of TensorFlow are you using?


Raw idea, on_open_pre can return False to block editor loading

Not tested

https://github.com/ildarkhasanshin/cuda_font_preview/commit/b69d792d0aeac0a68ff00db720fa5e0d71ea39e1