Change iter.x to iter.nextx as nvgText return.

With iter.x, it does not completely cover the last letter. Since it returns the initial position of the last character:

And with iter.nextx:

The code is:
nvgFontSize(vg, 14.0f);
nvgTextAlign(vg, NVG_ALIGN_LEFT|NVG_ALIGN_TOP);
nvgTextMetrics(vg, NULL, NULL, &lineh);

int x = 100;
int y = 100;

float lenghtText = nvgText(vg, x, y, "LuaBridge offers the following features:", NULL);

float SizeX = lenghtText - x;

nvgBeginPath(vg);
nvgRect(vg, x, y, SizeX, lineh);
nvgFillColor(vg, nvgRGBA(100, 100,255, 100));
nvgFill(vg);

As you can see, with iter.nextx we get the final position of the last character correctly.
float nvgText(NVGcontext* ctx, float x, float y, const char* string, const char* end)
{
	//All code

	//return iter.x; Old return
	return iter.nextx;
}

My English is bad, sorry.

Fixed the return value of nvgText. Take a look at nvgTextBounds, it is better suited for what you need.

Thanks, I close the issue.


feat(authy): add filter and display features

Hi @guga4ka! This PR will close the request I made in #845. I originally set out to just fork and maintain my own copy locally, but ended up deciding to make this PR. That's why there are a few additional features that I will outline below. It is currently all in one commit, but I'm happy to back out anything or make changes or open separate PRs.
Some of the features I added were also made easier by refactoring some of the code. Hopefully my changes aren't too subjective but in the case that it's harder to understand, I'm open to suggestions or I'm willing to take on CODEOWNERship to help with future maintenance.
Description
Adds excludeNames preference to optionally exclude accounts by name
This is the main feature I requested in #845. This implementation takes a preference as a comma separated list of values and removes any account matching one of those values. The comparison is done via name.trim().toLocaleLowerCase().
Adds separateAccounts preference to optionally not separate accounts by type
I personally prefer to see all my accounts together regardless of type like the Authy native apps do. I added a preference for this behavior which defaults to true to match the current behavior, but depending on how others feel about it I think it might be better as the only possible behavior.
Adds support for looking up icons by the preferred name property as an additional fallback
Previously logo and accountType were looked up to find an icon match, and this adds name to the end of that list.
Hides item subtitle if it is the same as the name
This removes the subtitle if it would be redundant in addition to the name.
Refactors logos in constants for easier aliases
I noticed that aws was mapped to amazonaws already in the code, and I had a similar need to map google apps to google. So I update the data structure in constants.js to make this easier.
Adds some icons that I use personally
I realize this doesn't scale to have everyone add the icons they want, but I thought I'd try to sneak this in while working on this extension 😄.
Type of change

Bug fix / improvement for somebody else's extension. Extension author: @guga4ka

Screencast
Here's a screenshot of the new preferences screen. The rest of the behavior is hard to show while maintaining my desired level of security hygiene 🤓.

Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast

As for arbitrary icons at runtime, I don't have any ideas currently but might take some time to hack on this and see if I can come up with something.


Reformatting initialValues in redux-form

I am loading the Redux form with initialValues being passed as props. However, I need to reformat the data so as to fit my form names .. so e.g if the data in initialValues passed as props is {name: 'John', age: '32'} (I dont have control over the format this data is coming because its coming from backend which is not in our control), I want to convert it to {user: {name: 'John', age: '32'}}. How do you achieve it ? Do you write a reducer to accomplish this and if yes then do you invoke it at the component load or there is some other way as well ?
Thanks.

I did call the reducer in the componentDidMount but it leads to re-rendering since it changes the state. Still looking for a way with single render.
To rephrase the problem to make it understand easier, The state that comes from server contains the value at the root node but i want to load it in the field name which is nested. E.g the state that comes from server {name: 'John', age: '32'} but I want to load name into a field who name attribute is set to user[name]

You can pass whatever object you want to initialValues. You can also call the action creator initialize with any object you'd like to initialize a form. I'm having trouble understanding what the issue is that you're having. Nothing is stopping you from transforming the value returned from the server before you pass it into initialValues.

@clayne11 it would be easier to have each Field normalize whatever is passed to it instead of having to parse an object and create a normalized version to initialize all the Fields with.
That way each Field is solely focused on its own thing and if the initial object changes for whatever reason the Field continues working as expected since it only cares about the value passed to it.
We've run into this exact issue since all our Fields are mini-components that handle errors and normalization within themselves. Now we're trying to initialize entire forms with data from the server and it's a bit of a nightmare to parse the object and map the keys to normalizer functions to recreate pretty values passed to initialValues of the form or dispatching initialize.

I run into the same issue. Any solution for this?


Command not working as expected

After adding command: config to my workflow markdownlint-cli2 doesn't find any Markdown files in the directory
Current setup in ci.yml:
- name: Lint all Markdown files
  uses: DavidAnson/markdownlint-cli2-action@0820d56e6c53c3cc344ec2ef9c09fc74041aeb1c
    with:
      command: config
      globs: |
        "./.github/workflows/config/.markdownlint.yml"
        "**/*.md"

Current output:
> Run DavidAnson/markdownlint-cli2-action@0820d56e6c53c3cc344ec2ef9c09fc74041aeb1c
markdownlint-cli2-config v0.4.0 (markdownlint v0.25.1)
Finding: "**/*.md"
Linting: 0 file(s)
Summary: 0 error(s)

Expected output:
> Run DavidAnson/markdownlint-cli2-action@0820d56e6c53c3cc344ec2ef9c09fc74041aeb1c
markdownlint-cli2-config v0.4.0 (markdownlint v0.25.1)
Finding: "**/*.md"
Linting: 25 file(s)
Summary: 0 error(s)

Previous setup returning expected output:
- name: Copy markdown config file to root
  run: |
    cp ./.github/workflows/config/.markdownlint.yml .markdownlint.yml
- name: Lint all Markdown files
  uses: DavidAnson/markdownlint-cli2-action@v5
    with:
      globs: "**/*.md"

You need to use a release that includes a commit I made yesterday to add this support - and no such release exists yet. I normally use a "next" branch to prevent GitHub from closing issues prematurely, but don't on this project. I expect to publish a new release soon.

In the description above I added that commit SHA (uses: DavidAnson/markdownlint-cli2-action@0820d56e6c53c3cc344ec2ef9c09fc74041aeb1c)

Sorry, I didn't notice that!
Since you saw my commit, you also saw that I added testing for this and it works as expected there. From what I can tell reviewing your notes, you've done everything reasonably. However, my suspicion is that you are running into a YAML quirk - though you didn't include the one piece of output that would tell for sure.
In the previous scenario, you had a single glob expression which you provided on one line in quotes. I think that YAML removes those quotes so that the glob expression passed to the tool is correct. However, in the new scenario, you need to pass multiple glob expressions and use the pipe syntax. In this case, we can see that YAML is not removing the quote characters because they show up in the output. Your files do not have a quote character, so that glob does not match anything. I think that if you remove the quotes in the new scenario this will work as expected.
Please give that a try and let me know! Thank you.

David, thank you for your support. You were right, it was caused by these quotes, my bad. Thank you for developing this feature


Fix: readme examples typo.

Removed extra brackets on js examples on README.md

closing bc this was addressed in #44!


mas-for-7 won't load

hi,
I'm happy to provide additionnal details as needed. I've gone through and installed MAS 1.12 but the gui utility just won't open.
All I get is the following:

Does it need to be in a particular directory, or have some specific .NET redis version?
cheers

Hello!
I want to start by saying thanks for the first issue! Much obliged! This is a fantastic chance to update this project.
Onto the matter at hand: MAS for 7 was developed for systems running Windows XP, Vista and 7. Therefore, in order to establish compatibility with the aforementioned OSes,.NET Framework 4 is used. As long as .NET Framework 4 installed, it should operate flawlessly on any Windows 7 computer.
Regarding the error you've encountered: MAS For 7 should run regardless of the directory the user executes it from. During the inital run, it should prompt the user to select the installation location of Intel's MAS. Did the application break before you could even select the directory, or were you successful in that regard?
Thanks.
Peter

Hi Peter, I'm glad to be the first issue! thanks for the quick response
thanks for clarifying on the directory location.
I was able to select my directory, it crashed after I clicked to the next step.
I will add that my username in windows contains an accent "é" UTF-8 character that oftens causes trouble with paths, that might be it?


bin/setup fails on fresh install

Please complete the following fields as applicable:
What version of the DMPRoadmap code are you running? (e.g. v2.2.0)
"master"
Expected behaviour:
"bin/setup" exit without failure
Actual behaviour:
root@86eda16fbefa:/srv/roadmap# bin/setup

[....] removed working installation steps

Post-install message from httparty:
When you HTTParty, you must party hard!

== Copying sample files ==
Traceback (most recent call last):
	5: from bin/setup:12:in `<main>'
	4: from /usr/local/lib/ruby/2.7.0/fileutils.rb:139:in `cd'
	3: from /usr/local/lib/ruby/2.7.0/fileutils.rb:139:in `chdir'
	2: from bin/setup:24:in `block in <main>'
	1: from bin/setup:24:in `each'
bin/setup:25:in `block (2 levels) in <main>': undefined local variable or method `new_file' for main:Object (NameError)

Steps to reproduce:
Fresh install, git clone and bin/setup as per the installation docs.
How to fix
Replacing l.25 in bin/setup by new_file = file.gsub('.sample', '').gsub('.example', '') worked for me.

Not sure if I should open a PR for that :)

Hi @yjarosz. Thanks for reporting this. Yes, a PR would be great!
Please submit one to the development branch. We will be creating a new release from the changes there over the next two weeks and it would be good to include this fix :)


Missing Docker Login Step

When following Push images to registry section, there should be docker login step before users can push image to ACR instance.
docker login acrInstance.azurecr.io -u acrInstanceName -p somePassword
Thanks.

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

ID: 6afe8c14-efa4-31a6-9fd9-e68f2d878226
Version Independent ID: c67857a5-ee1b-3ed2-f281-dd62c4c4c6f3
Content: Kubernetes on Azure tutorial - Create a container registry
Content Source: articles/aks/tutorial-kubernetes-prepare-acr.md
Service: container-service
GitHub Login: @mlearned
Microsoft Alias: mlearned

@stack247 The document already includes the step to log in to container registry here: https://docs.microsoft.com/en-us/azure/aks/tutorial-kubernetes-prepare-acr#log-in-to-the-container-registry
As per this doc, there are two ways to do log in:

Using invidual login with Azure AD
az acr login --name

Service Principal
docker login myregistry.azurecr.io

We will now close this issue. If there are further questions regarding this matter, please tag me in a comment. I will reopen it and we will gladly continue the discussion.


0x01 bytes are present at end of decoded data, that were not there with the original data

When looking at the decompressed save data, for some reason there are 0x01 bytes at the end of it.
Best I can tell, this is just due to some aspect of how the game implemented the compression.
Inspecting the game's memory while it is doing save game and while doing a load game you can observe that the game itself demonstrates this behavior:
Saving the game:
Last section of game state before it has the RLE encoding performed:

After the RLE Encoding:

After Huffman Encoding (At this point, it's written to the save file):

Loading the same save:
After Huffman Decoding:

After RLE Decoding (At this point, game uses the decoded data to construct game state):

Issue is with compression logic from the game. As noted above, game has this behavior, and will not affect ability to load the saves


Timeout should cancel connection attempt

Depends on https://github.com/clue/promise-timer/issues/2

Two tasks:

Support promise cancellation handler
Remove timeout handling here once it's been implemented as part of https://github.com/reactphp/socket-client/issues/28

We should also forward the cancellation request to the underlying Promise returned from the Connector: https://github.com/reactphp/socket-client/issues/40

Also keep in mind that cancellation support is only available with the Promise v2.1 API, which requires PHP 5.4. We should implement this in a way that PHP 5.3 is still supported, but could possibly skip cancellation support.

We should also forward the cancellation request to the underlying Promise returned from the Connector: reactphp/socket-client#40

Closed via #39

Remove timeout handling here once it's been implemented as part of reactphp/socket-client#28

See #40


Add widget only once

Hi, in our project we have got set of dashboard widgets. Widgets have no configuration, so each instance of same type of widget shows same data. Therefore, We want to filter out all widgets (filtered by [adf-widget-filter="{function}"]), which are already added into the dashboard.
Is there any way how to get list of all widgets, which are already included in dashboard instance or we have to extract these widgets from dashboard model ([adf-model="{ rows: [{ columns: [{ widgets: [...] }]}]}"])?
Thanks for your advices in advance

Hi, I implemented extracting function, which extracts widgets from the dashboard model, available here.


Fix the header hamburger menu and overall positioning. Improve classn…

…ames, delete some not required structural divs.

Coverage increased (+0.01%) to 57.834% when pulling c5b285ab908e73b64052dce858eb6cce78477b3e on fix-header-on-mobile into 668c3cfcc116e3885e940f863e087c88d70a217f on master.


Make etcd use node private ip

Proposed Changes
Etcd now uses advertised ip, which is the node external ip if it was passed to the cli, this change makes etcd use node private ip by default
Types of Changes
Bugfix
Verfication
run k3s server with --cluster-init and --node-external-ip  and make sure k3s is up and running
Issue
https://github.com/rancher/k3s/issues/2345

+1
I guess etcd peer IP should be set:

Equal to --advertise-address <PRIVATE_IP>  if specified
Equal to kube-apiserver-arg "advertise-address=<PRIVATE IP>" if specified
Equal to --external-node-ip/--node-ip if all previous one not specified


Flutter seemingly not pushing new dev builds without first running flutter clean

Steps to reproduce
I have repeatedly seen $ flutter run not ship new builds to a test device (which has included physical Android and iOS devices, and also macOS desktop) without first running $ flutter clean.
I first encountered this bug earlier this week when @schmidt-sebastian was unable to successfully rebuild an example on his test Android device in a project we are working on together.
Then, I saw the error myself yesterday pushing the same project to my iOS device.
And then this morning while livestreaming, I encountered it again on an unrelated project. The part where I start encountering new code not getting executed begins here, after some unrelated distractions resumes with a compilation error during an attempted hot reload here, and then concludes with me eventually using $ flutter clean here.
Expected results
$ flutter run should either ship the new app or fail loudly.
Actual results
$ flutter run either silently fails to compile and ships the old build, or just ships the old build regardless.
Code sample
I will revisit a minimal reproduction soon, but wanted to at least start documenting this since I no longer believe it is simple user error.
Screenshots or Video
No response
Logs
No response
Flutter Doctor output
Doctor output
$ flutter doctor -v
[✓] Flutter (Channel master, 3.22.0-18.0.pre.77, on macOS 14.4.1 23E224 darwin-arm64, locale en)
    • Flutter version 3.22.0-18.0.pre.77 on channel master at /Users/craiglabenz/Dev/git/flutter/flutter
    • Upstream repository git@github.com:flutter/flutter.git
    • Framework revision 3e399c1578 (2 days ago), 2024-04-30 13:25:24 -0700
    • Engine revision 0ce67714ce
    • Dart version 3.5.0 (build 3.5.0-114.0.dev)
    • DevTools version 2.35.0-dev.16

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/craiglabenz/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_SDK_ROOT = /Users/craiglabenz/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.0.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 15A507
    • CocoaPods version 1.13.0

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2023.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 17.0.9+0-17.0.9b1087.7-11185874)

[✓] IntelliJ IDEA Community Edition (version 2023.1.4)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart

[✓] VS Code (version 1.88.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.88.0

[✓] Connected device (4 available)
    • Craig's iPhone 15 (mobile)      • 00008130-0019391C0061401C • ios            • iOS 17.4.1 21E236
    • macOS (desktop)                 • macos                     • darwin-arm64   • macOS 14.4.1 23E224 darwin-arm64
    • Mac Designed for iPad (desktop) • mac-designed-for-ipad     • darwin         • macOS 14.4.1 23E224 darwin-arm64
    • Chrome (web)                    • chrome                    • web-javascript • Google Chrome 124.0.6367.119
    ! Error: Browsing on the local area network for Craig's iPhone 11. Ensure the device is unlocked and attached with a cable or associated with the same local area network as this
      Mac.
      The device must be opted into Developer Mode to connect wirelessly. (code -27)

[✓] Network resources
    • All expected network resources are available.

• No issues found!

To whomever first tries to look at this - I am available to pair up and investigate what is going on.

cc @andrewkolos

@craiglabenz
I've observed this behavior myself, when dealing with large trees of nested widgets and complex conditions. Sometimes, even after triggering a hot reload, the changes aren't accurately reflected, especially in deeper parts of the tree. This issue became more noticeable for me around version 3.16.

It just happened to me in production!
With fvm flutter build apk
[✓] Flutter (Channel master, 3.22.0-23.0.pre.27, on macOS 14.3 23D56 darwin-arm64, locale en-MK)
    • Flutter version 3.22.0-23.0.pre.27 on channel master at /Users/m2/fvm/versions/master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision c1cafcce12 (10 hours ago), 2024-05-03 22:04:11 +0530
    • Engine revision 837914f378
    • Dart version 3.5.0 (build 3.5.0-130.0.dev)
    • DevTools version 2.35.0

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
    • Android SDK at /Users/m2/Library/Android/sdk
    • Platform android-34, build-tools 33.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
    • All Android licenses accepted.

Build took shorter time and installing the release with
adb install build/app/outputs/flutter-apk/app-release.apk
Resulted in an old version being installed on the device.
This is now much more serious @christopherfujino @andrewkolos
Running flutter clean and re-running adb install build/app/outputs/flutter-apk/app-release.apk  lead to the correct version being installed.

Hot reload/restart definitely is affected also - it no longer works in all cases either - it may seem to work in some cases, but it often no longer works.  It does not matter if the debugger is being used or not.
The only way to develop with the current master channel is to ALWAYS flutter clean after ANY change - it is no longer possible to due any hotreloading - you simply can no longer depend on it.
This bug should be of the highest priority - the build environment is essentially totally broken in all cases.

This may be related to https://github.com/flutter/flutter/issues/147643

Great news - that would also mean #147709 should be our fix.

Update: #147709 does seem to fix this broken behavior for me. For anyone no the master channel who wants this know, if you build Flutter from a clone of the repo, checking out this and running flutter doctor will get you this patch immediately.

I can confirm that https://github.com/flutter/flutter/pull/147709 does fix this issue for me.  I have been testing it for the last few hours on several projects and changes I make are being correctly incorporated into builds and hot reloads.
(I applied the changes to my packages/flutter_tools/lib/src/build_system/targets/common.dart file (also adding a debug print statement to the build() method around line 167 so I could verify each build was using the changes))
(Once your common.dart is patched you need to delete the bin/cache directory so that it forces rebuilds of the tools)
Here's to hoping that #147709 gets merged into the master channel ASAP (for others sake - my environment works now :smile: )
This bug was and will continue to be a real time waster for developers on the master channel until it is fixed.   It is confusing as heck when changes you are making are not being incorporated into builds!

https://github.com/flutter/flutter/pull/147709 has merged, so I believed this issue should be resolved. Feel free to reopen if this is not the case.


How to PUT values on Cache on the CacheProvider when a miss happens?

Hi Guys,
/cc @timiblossom @ipapapa  @tbak
Im trying to write a driver for dynomite using ribbon and dyno. Something similar to the EVCache ribbon driver but for Dyno/Dynomite. However Im finding issues to figure out where to HOOK the PUT code the update cache after a miss. Even for the EVCache code i was not able to find the PUT to update the cache on the cache miss.
The CacheProvider class just have a get method, do you guys could tell me where to hook this? Or if this is a design design where should i update my cache in case of a miss happens?
Cheers,
Diego Pacheco

Diego, this is a cool idea. Are you envisioning Ribbon talking to Dyno locally, and then Dyno talking to Dynomite? or Ribbon sending REST calls directly to Dynomite?

@ipapapa
I Could be wrong but as far as i know this changes are more likely to be into Ribbon rather than in Dyno. Dynomite is awesome solution and looks like a perfect cache for low latency IMHO. I use the Netflix stack already with ribbon so would make more sense to me introduce dynomite as cache through dyno at ribbon level, so would be transparent for the microservices consumers.
We could make ribbon call dynomite via Dyno. That`s what i would like to do. I realize Ribbon has s caching annotation called: com.netflix.ribbon.proxy.annotation.CacheProvider  which is a factory and you provide a key + factory(CacheProviderFactory) that creates: CacheProvider.
However com.netflix.ribbon.CacheProvider just have a GET method :( So i don`t see how i can hook a PUT call to Dynomite via Dyno to feed a cache. There is not enough information in context to make the PUT call on the get operation. Since this is build based on a Ribbon Template class here(https://github.com/diegopacheco/netflixoss-pocs/blob/master/ribbon-map-cache/src/main/java/com/github/diegopacheco/netflix/pocs/ribbon/cache/RibbonServiceProxy.java) i would need to know:

What is the method that was called
What is the cache key name
What args was passed to the method
Have the proxy object instance

Them i would be able to do the call there and feed the cache, this info could be passed to another method something like OnCacheMiss or a updateCache method that`t could receive this info.
Another option would be have the reference of the instance RequestWithMetaData them i would just do: .execute().content() and i would have the ByteBuf in hand i would be happy :-)
You can get all code on this simple project i did here: https://github.com/diegopacheco/netflixoss-pocs/tree/master/ribbon-map-cache (there is no Dyno/Dynomite code here, but has some code using ribbon and show my point with a memory HashMapCache which does not working well because is caching all the time :(. If we have this changes in place it would be easy to replace the HashMap for a Dyno call or something else if someone want it.
Cheers,
Diego Pacheco

@diegopacheco I had a quick chat with @elandau and he informed me that Ribbon will not be actively developed in the near future. You can see some info #248 . Moreover, my understanding is that the cache you are referring to is a static pre-loaded cache so that is why you can find a PUT call to feed it.

@ipapapa  @elandau  thanks for the information i was not aware about this.
I will do the cache using Dyno and Dynomite  but outside of Ribbon, that`s fine.
Cheers,
Diego Pacheco


Appstudio update test-custom-default-branch-vnlk

Pipelines as Code configuration proposal

Pipelines as Code CI is skipping this commit.User rhtap-qe-bots is not allowed to run CI on this repo.

Pipelines as Code CI is skipping this commit.User rhtap-qe-bots is not allowed to run CI on this repo.


Multiple Views

Hello, i have 2 views MainPage, SecondPage
In each view, I again open the database and execute transaction, but when open SecondPage i get error cannot start next transaction: database not open
My logs:

I/ReactNativeJS( 2164): OPEN database: data.sqlite
I/ReactNativeJS( 2164): new transaction is waiting for open operation
I/ReactNativeJS( 2164): DB opened: data.sqlite
I/ReactNativeJS( 2164): Transaction OK
I/ReactNativeJS( 2164): CLOSE database: data.sqlite
I/ReactNativeJS( 2164): closing db with transaction queue length: 0
I/ReactNativeJS( 2164): cannot start next transaction: database not open
I/ReactNativeJS( 2164): Database is closed OK

Please, help me. Thanks

Hm, i have error, but content is show.
Sorry, this is my fail :(


1.2.2

Codecov Report

Merging #25 (5954699) into deploy (f4004ac) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           deploy      #25   +/-   ##
=======================================
  Coverage   84.00%   84.00%
=======================================
  Files          10       10
  Lines         694      694
=======================================
  Hits          583      583
  Misses        111      111

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 f4004ac...5954699. Read the comment docs.

Codecov Report

Merging #25 (5954699) into deploy (f4004ac) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           deploy      #25   +/-   ##
=======================================
  Coverage   84.00%   84.00%
=======================================
  Files          10       10
  Lines         694      694
=======================================
  Hits          583      583
  Misses        111      111

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 f4004ac...5954699. Read the comment docs.


Need sign in with google option

Need sign in with google option and only people who have signed in should view the board

@DhanushNehru  can i work on this issue?

Hello  @DhanushNehru , I noticed that the assigned contributor hasn't provided any updates on the issue for a week. Would it be possible to reassign it to me so I can help move it forward?

@DhanushNehru Could you please provide some explanations about the issue? Thank you.

Only people who have signed in with Google should be able to use this board @amrahs02

Hi @DhanushNehru, I have a doubt. Should the drawings be associated with each individual user who is logged in, or should they be linked to just Google login based on the user's browser session

Any approach is fine with me @JeevaRamanathan

As this issue is still open, I have added a solution and raised a PR @DhanushNehru


Add support for Angular 2 HTML

Register Angular2HtmlFocusedElementFinder to support Angular2HtmlLanguage and handle the parents as HtmlTag PsiElements.

 Mention [stepsize] in a comment if you'd like to report some technical debt. See examples here.

Looks like you didn't add the version to the gradle.properties

Looks like you didn't add the version to the gradle.properties

Yes sorry, forgot to push it, but had it locally.
Nevertheless, I think the current master build is not compatible with LATEST-EAP-SNAPSHOT. So I think it would be good to consolidate the versions if possible.
I was not able to find a working sass/python Version. because Intellij is ahead of it: IU-233.9802.14:


Sharing GenAI-Bench

Just wanted to share some other related work on robust benchmarking of T2I generation:
1 - VQAScore: VQAScore is a simple but effective automated scoring metric for image-text alignment. VQAScore strongly agrees with human judgments on compositional text prompts and can be run using one-line Python code in our repo here! It also significantly outperforms previous automated metrics such as ImageReward, HPSv2, and PickScore. Google's Imagen3 reported VQAScore as the strongest replacement for CLIPScore.
2 - GenAI-Bench: We introduce a comprehensive benchmark for compositional image generation with 1,600 prompts written by professional designers. We also show that VQAScore can be used as a strong reward metric by re-ranking the generated candidate images. GenAI-Bench was presented as the Best Short Paper at SynData@CVPR24 workshop and was highlighted in Imagen3's report.
Best,
Zhiqiu

Thanks for sharing these useful benchmarks, they will help a lot for the T2I community.


Many ISteamUtils functions are missing

Many of the new ISteamUtils functions appear to be missing bindings, especially ones related to the Steam Deck. Some of these are required to get a game to run on the Steam Deck well. Can they be added? I think the most important are:

IsSteamRunningOnSteamDeck
GetEnteredGamepadTextInput
GetEnteredGamepadTextLength
ShowGamepadTextInput
ShowFloatingGamepadTextInput

Looks like this is resolved in PR  #119 and Issue can be closed.

But for sone reason I don't see this methods published to docs.rs


[22.05] nextcloud25: init (non-breaking)

Description of changes
This is a non-breaking change because the default version installed by services.nextcloud remains pkgs.nextcloud24, but it gives users a chance to upgrade to v25 on 22.05.
I also left pkgs.nextcloud23 in here because it will only be dropped in 2022-12 which is also the EOL of 22.05.
The corresponding change in master is at
40b7f52b8f4fd63393c1fdb838f022a154a4f2b2 from PR #197386.

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] 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/)
22.11 Release Notes (or backporting 22.05 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
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Hi!
At the moment, when updating nixpkgs-unstable-small, I get the following comment:
After nextcloud24 is installed successfully, you can safely upgrade
to 25. The latest version available is nextcloud24.

which is a bit misleading. Should I change to nextcloud25 right now, or is it better to wait?

Hi! Did you see my message? Did the problem arise because the transition to nc25 was incomplete?

which is a bit misleading

What exactly is misleading? The full warning gives way more context than just the sentence you quoted.

Should I change to nextcloud25 right now, or is it better to wait?

That's up to you. We only ship supported Nextcloud majors. In case the warning isn't sufficient, there's more context in the documented in the manual: https://nixos.org/manual/nixos/stable/index.html#module-services-nextcloud-pitfalls-during-upgrade

Did the problem arise because the transition to nc25 was incomplete?

What? Which problem?
Nothing is incomplete here: the thing is - as mentioned in the full warning - you cannot upgrade across multiple Nextcloud versions (i.e. when doing 23 -> 25, you need to install 24 first).

Sorry but I have to disagree. I think my message is clear.
The problem was that the warning told me to update to nc25, while telling me at the same time that the latest available version is nc24. I quoted the relevant part of the warning.
Nothing serious, but something weird. I thought maybe it is just because I caught some inconsistent state between merging pull requests. No offense ment!

I agree the warning is incorrect, it says to update to Nextcloud 25 but using the package pkgs.nextcloud24 doesn't make sense.

Nothing serious, but something weird. I thought maybe it is just because I caught some inconsistent state between merging pull requests. No offense ment!

No offense from my side either!
Let me try to explain our misunderstanding: "which is a bit misleading" wasn't sufficiently clear to me, it sounded like something about the nature of the warning itself, that's why I was slightly confused because there's quite much context and documentation about how to upgrade Nextcloud.
Only after your third comment I realized that the warning itself had an error, sorry for that! Will file a PR today to fix that, that's indeed a bug.

Thanks a lot! Sorry for the confusion!

Fix is in #199345, but not mergeable right now because the updates are causing issues for me.


Fix react hydration failure message

Fixes popup in dev where hydration 'fails' due to mismatch between server and client.
Fixes a warning about forwarding refs, caused by https://github.com/vercel/next.js/issues/7915
There are still react hydration errors, but following https://nextjs.org/docs/messages/react-hydration-error in using babel styled components does not address the problem from what I tried.

Hmm. I need to revise this a bit, as there's something not quite right about it. It should only skip if document is not available and use an effect to 'activate'

Ok that's better.


Align Expander Fluent ControlTheme with WinUI

Is your feature request related to a problem? Please describe.
Over a year ago I updated the WinUI expander default style to fix several issues. I think these should be back-ported to Avalonia before the 11.0 release.

https://github.com/microsoft/microsoft-ui-xaml/pull/4394
Source: https://github.com/microsoft/microsoft-ui-xaml/blob/main/dev/Expander/Expander.xaml and https://github.com/microsoft/microsoft-ui-xaml/blob/main/dev/Expander/Expander_themeresources.xaml

Describe the solution you'd like
Align the Fluent ControlTemplate for Expander in Avalonia with WinUI.
Additional context
I'll take care of this one.

This was also discussed a bit when the Expander was last updated. Discussion starts here: https://github.com/AvaloniaUI/Avalonia/pull/5573#issuecomment-800751827


Definition description field in Field missing description field when conversion to ModelField

Initial Checks

[X] I have searched GitHub for a duplicate issue and I'm sure this is something new
[X] I have searched Google & StackOverflow for a solution and couldn't find anything
[X] I have read and followed the docs and still think this is a bug
[X] I am confident that the issue is with pydantic (not my code, or another library in the ecosystem like FastAPI or mypy)

Description
I am using it in the fastapi, I defined a TagQueryParams Model, Then set the TagQueryParams to the routing parameters of the fastapi, As in the form: TagQueryParams = Depends (TagQueryParams), But when I was in the debug, See that all the Field objects in TagQueryParams are converted to ModelField objects, But there is no description attribute in the ModelField object, The description of the field cannot be displayed in the Swagger UI of the fastapi
Example Code
class TagQueryParams(BaseModel):

    search: str = Field('', description="搜索内容")
    page: int = Field(1, gt=0, alias="p", description="当前页")
    limit: int = Field(10, gt=0, alias="l", description="每页条数")

Python, Pydantic & OS Version
pydantic version: 1.10.11
            pydantic compiled: True
                 install path: /home/wy/.virtualenvs/Iris-venv/lib/python3.10/site-packages/pydantic
               python version: 3.10.12 (main, Nov 20 2023, 15:14:05) [GCC 11.4.0]
                     platform: Linux-6.2.0-37-generic-x86_64-with-glibc2.35
     optional deps. installed: ['email-validator', 'typing-extensions']

Affected Components

[ ] Compatibility between releases
[ ] Data validation/parsing
[ ] Data serialization - .model_dump() and .model_dump_json()
[ ] JSON Schema
[ ] Dataclasses
[ ] Model Config
[ ] Field Types - adding or changing a particular data type
[ ] Function validation decorator
[X] Generic Models
[ ] Other Model behaviour - model_construct(), pickling, private attributes, ORM mode
[ ] Plugins and integration with other tools - mypy, FastAPI, python-devtools, Hypothesis, VS Code, PyCharm, etc.

@main1015,
I believe this issue is fixed in V2. We're no longer actively working on fixes for V1, so I'm going to close this issue.
We'd recommend upgrading to V2 for better performance and smoother API usage. Check out our migration guide here: https://docs.pydantic.dev/latest/migration/


li based scrollable list seems to be broken

On Chrome 61, IE11, FireFox 55, the "li based scrollable list" example seems to be broken ( http://angular-ui.github.io/ui-scroll/demo/listScroller/listScroller.html ).
There is no list rendered, and the browser console throws this error:
TypeError: $scope.$applyAsync is not a function     at adjustBuffer (ui-scroll.js:336)     at reload (ui-scroll.js:195)     at ui-scroll.js:169     at angular.js:13200     at completeOutstandingRequest (angular.js:4003)     at angular.js:4309

@koningskristof Oh, it's a problem of gh-pages branch. It still has ui-scroll v1.6.3 which is not good. I will try to update it to 1.7.0-rc.1

@koningskristof There were too many small changes, so I released 1.7.0-rc.2 and updated gh-pages branch. The issue is gone. Use the latest version!

Thanks Denis!
2017-09-29 18:15 GMT+02:00 Denis Alexanov<EMAIL_ADDRESS>
Closed #177 https://github.com/angular-ui/ui-scroll/issues/177.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/angular-ui/ui-scroll/issues/177#event-1271948614, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAWUoxmdmSyK5gbaYswceHq_hsM2-xMhks5snRe9gaJpZM4PoWmy
.


Bug: not possible for users to enable notification permissions for daily reminder

Description
When you first install > claim there is a modal requesting to show daily claim reminders for android app.
there is also in settings the option after this first time to enable/disable.
This  currently does not work as the modal states to enable it in app-settings.
This (used) to work (verified on android 10 -- still works).
On later versions its no longer able to give this permission (12 and up)

[ ] - either misconfiguration
[ ] - or we need an alternative flow for this
[ ] - if it still works on android <12, make sure new configuration does not break this behavior
[ ] - user activated notifications
[ ] - notifications sent
[ ] - user tapped it

copy request has been added here: https://github.com/GoodDollar/GoodDAPP/commit/c3f585e90d44bf8a1f7b9f5b8d658fa0e2063e8f

verified on prod


schemaless writer doesn't adhere to avro spec

The avro spec says that a single record encoded without a schema should have have a two byte marker of C3 01 and then an 8 byte little endian fingerprint before the actual binary. The schemaless_writer doesn't currently write out these 10 bytes (because it was implemented before the spec defined a single object encoding) and the schemaless_reader doesn't expect them.
A change here would be a breaking change, so we should be aware of that.

We could create a new set of functions that essentially call schemless_funcs but do the byte order mark, etc before calling the write/reader.

I closed this because after I posted it I re-read https://github.com/tebeka/fastavro/issues/201 and realized they were the same thing. We can keep discussion over at https://github.com/tebeka/fastavro/issues/201.


Build artifacts

Closes #272

Can you rebase this? I think @reconbot commit is already on master

This is actually already live 🙃


nodemon as devDependency

Hi,
should not be nodemon a dev dep?
https://github.com/covidgreen/covid-green-backend-api/blob/6fb764925d6be67fc1d926b34a3831cf66e6ad82/package.json#L49
right now it is listed as dependencies

Yes, it probably should be. It's not used outside of dev.


Remove dependence on sqlite

Migrate the Data1 code to fully use pandas.

In init(), immediately read the database into a list of pandas dataframes
Change the functions that run an sql query to pandas methods

We now have two functions (with standard interface) to read both csv files and database straight to dataframes: https://niimpy.readthedocs.io/en/latest/input-formats/
The database interface isn't going away yet, but won't be as documented or recommended.  It could be useful for very large data, though.


Remove acts as list from Lead

It turned out that append_sibling was what worked again here for reparenting (I'm personally starting to believe there's a bug in some of the other reparenting techniques regarding ordering).

Codecov Report
Attention: Patch coverage is 33.33333% with 32 lines in your changes are missing coverage. Please review.

Project coverage is 58.28%. Comparing base (0385006) to head (ccf2e71).
Report is 21 commits behind head on development.

:exclamation: Current head ccf2e71 differs from pull request most recent head 590f27f. Consider uploading reports for the commit 590f27f to get more accurate results

Files
Patch %
Lines

app/models/project_source.rb
7.14%
13 Missing :warning:

app/models/lead.rb
0.00%
5 Missing :warning:

app/controllers/project_sources_controller.rb
20.00%
4 Missing :warning:

app/helpers/workbench/navigation_helper.rb
20.00%
4 Missing :warning:

app/controllers/metadata_controller.rb
33.33%
2 Missing :warning:

app/helpers/collecting_events_helper.rb
0.00%
1 Missing :warning:

app/models/protonym.rb
50.00%
1 Missing :warning:

lib/export/coldp/files/name.rb
0.00%
1 Missing :warning:

lib/query_batch_request.rb
0.00%
1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@               Coverage Diff                @@
##           development    #3892       +/-   ##
================================================
- Coverage        84.37%   58.28%   -26.10%
================================================
  Files             2129     1644      -485
  Lines            79336    51957    -27379
================================================
- Hits             66941    30282    -36659
- Misses           12395    21675     +9280

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

I'm personally starting to believe there's a bug in some of the other reparenting techniques regarding ordering

Or that the add_child way of reparenting, for example, doesn't work the way I thought it did. add_child is documented as a way of reparenting nodes. I've been assuming that when you reparent a node it gets added to the end of the list of the current children. That might not be the case.
If I add the following to the multiple leads section of lead_spec.rb (thanks for adding the draw method, it's really great!):
specify "add_child doesn't work with ordering when reparenting" do
  lr.add_child r

  Lead.draw(lr.reload)
end

I get:
lr root 0 [.parent: l]
 lrl left 0 [.parent: lr]
 ll middle 1 [.parent: lr]
 lrr right 2 [.parent: lr]

as expected.
If I do
specify "add_child doesn't work with ordering when reparenting" do
  lr.add_child ll

  Lead.draw(lr.reload)
end

instead I get:
lr root 0 [.parent: l]
 lrl left 0 [.parent: lr]
 ll middle 1 [.parent: lr]
 lrr right 2 [.parent: lr]

where the new child was placed in the middle instead of the end.
My interpretation of that is that reparenting inserts a new child based on its current position, not necessarily to the end of the list: in the first case r had position 1 and it was added after the existing child with position 1, in the second case ll had position 0 and was added after the existing child with position 0 (and then the higher children had their positions bumped).
I guess add_sibling, for example, is the more explicit way of saying where the reparented child should be placed in the current children's list.

You get the same results using r.update! parent: lr and ll.update! parent: lr instead. That definitely changes things for me :/

The failure of the following algorithm for destroy_couplet, versions of which I've tried mutliple times, now makes sense:
Given
          r
        /   \
       a     b
     /  \
    c    d

If I want to delete a,b and reparent c,d on r, I might try:
r.add_child c
r.add_child d

and expect the children of r to be a,b,c,d at that point, in that order.
Then I would simply
a.destroy!
b.destroy!

and be done.
What actually happens is
r.add_child c

r's children are now a,c,b with positions 0,1,2 because c had position 0 and so got inserted after a, which already had position 0 (and then b's position got bumped to make room for c).
Now d has position 0 because it lost its only sibling, so when we do
r.add_child d

d gets added after the child of r with position 0 and now r's child list is a,d,c,b with positions 0,1,2,3.
Now the destroys of a and b work as expected and we're left with r's children in the order d,c instead of c,d.

My interpretation of that is that reparenting inserts a new child based on its current position, not necessarily to the end of the list

Yeah, that's looking to me like the way it works.
after_save calls rebuild:
https://github.com/ClosureTree/closure_tree/blob/af8572c460a5a5f69be19051d7ae702d0d37ebb1/lib/closure_tree/hierarchy_maintenance.rb#L39
rebuild first calls _ct_reorder_prior_siblings_if_parent_changed and then calls _ct_reorder_siblings.
Both of those functions call _ct.reorder_with_parent_id, the first with the previous value of the new child's parent id, the second with the current/new value of the new child's parent id.
Here's reorder_with_parent_id for postgresql: https://github.com/ClosureTree/closure_tree/blob/af8572c460a5a5f69be19051d7ae702d0d37ebb1/lib/closure_tree/numeric_order_support.rb#L34-L52
(As I'm sure will be obvious to many of you but was not at first to me) it assigns new positions sequentially based on the order of the current rows by position values.
So if current children have positions 0,1 for example and a new child just got added with position 0, the new child will get ordered as a second 0 (since it's newer), the current positions will get ordered as 0,0,1, and the newly assigned positions will be 0,1,2 based on sequentially numbering those current positions (nice! but corrections welcome if I got anything wrong).

When I restart docker, db/schema.rb gets adjusted like this:
     t.index ["parent_id"], name: "index_leads_on_parent_id"
-    t.index ["position"], name: "index_leads_on_position"
     t.index ["project_id"], name: "index_leads_on_project_id"
     t.index ["redirect_id"], name: "index_leads_on_redirect_id"
-    t.index ["text"], name: "index_leads_on_text"
     t.index ["updated_by_id"], name: "index_leads_on_updated_by_id"

and now one of the insert_couplet tests fails.
I don't understand:

why those two indices were removed (are they somehow automatic now?)
why removing an index would cause a test to fail

But I'm investigating now.

If I stash the db/schema.rb changes then all the tests pass again. I had thought schema was a representation of the db, not a determiner?

Okay, apparently the test database is recreated from schema.rb. Still don't know why removing an index would cause a test to fail (or why those indices are being removed).

@kleintom https://github.com/brendon/acts_as_list/issues?q=is%3Aissue+is%3Aopen+index
There are multiple issues there that reflect what you are seeing I think.

@kleintom ignore previous, of course we are no longer using acts_as_list!
You can always destroy schema.rb and re-migrate in case there were interactions between previous gem inclusions.

I pushed a commit to use append_sibling in insert_couplet instead of updating parents. I'll copy the commit message here - the cause of that failing test is speculative, but I do feel better about this version even if the particular reason for the error turns out to be wrong, as I explain in the message. It is slightly less intuitive and obvious to use append_sibling, so see what you think, if you prefer the old way (and you're not concerned about that test failing without those indices) I'm fine with that.
Here's the commit message:
To be honest this came about a bit by accident: I restarted docker and it came up with the following db/schema.rb changes:
         t.index ["parent_id"], name: "index_leads_on_parent_id"
    -    t.index ["position"], name: "index_leads_on_position"
         t.index ["project_id"], name: "index_leads_on_project_id"
         t.index ["redirect_id"], name: "index_leads_on_redirect_id"
    -    t.index ["text"], name: "index_leads_on_text"
         t.index ["updated_by_id"], name: "index_leads_on_updated_by_id"

With those changes, the test 're-attached child lead positions are correct after #insert_couplet (right)' was failing consistently (but only if run with all other tests, if you ran it on its own it consistently passed).
I don't know why any of the above was occurring, but I do believe the changes here using add_sibling instead of add_child/updating-parent are more explicitly correct. In the previous version with reparenting, on the second child in the o.each block, we're adding a child with position 0 (because it's now the first child after one child was already reparented) to the new parent which already has a child with position 0. That could be interpreted as asking for trouble.
The new child being reparented should get ordered after the child that has already been reparented since it was updated most recently (with its new parent_id) - at least I've been assuming most-recently-changed is how that implicit order works (see reference below) - but maybe without an index on position that order is no longer consistent and the second child's 0-position winds up with it ordered before the original child's 0-position. (Why the same doesn't happen when doing an insert on a left node - where the same 0-positions setup occurs - I have no idead. Why it fails when all tests are run but not when just the failing test runs alone, I don't know.)
The ordering issue I'm referring to is the 'ORDER BY POSITION' here: https://github.com/ClosureTree/closure_tree/blob/af8572c460a5a5f69be19051d7ae702d0d37ebb1/lib/closure_tree/numeric_order_support.rb#L45
When you've added a second child with position 0, as we were doing here, that code doesn't work right unless the most recently added 0-position-child gets ordered last by that order clause.
So in some sense the old code was maybe fine as long as those indices existed - which they definitely should - but I guess my feeling is that this version is still more explicitly correct nonetheless (since it doesn't make any assumptions about how the database is ordering two children with the same position [if that was actually the issue...]).

You can always destroy schema.rb and re-migrate in case there were interactions between previous gem inclusions.

I tried that: deleted schema.rb and then did bin/rails db:migrate from the app shell. It recreated the same schema.rb with the missing lead indices.

I should have said with the new commit all tests pass with either version of the schema.

@kleintom Thanks again for all the exploration and clarificaiton.  I'm going to pull this in for now so that we can anticipate a relelase if things align.

deleted schema.rb and then did bin/rails db:migrate from the app shell. It recreated the same schema.rb with the missing lead indices.

If I do bin/rails db:migrate:reset instead then the missing indices reappear (I'm sure that's what you meant). Thanks for the lead!

The schema issue seems to have been an issue with an old database dump I've been reloading for a month or so; I think what might have happened is I dumped that db when the leads migration existed but didn't yet have indices set on those two fields (parent and text). Now I reload that db dump, which says it has already run the migration that (now) provides those indices, but in actuality it wasn't dumped with the version of that migration that provided them.
I'm still not sure how I've not run into that failing test before now in that case... Probably because I'm constantly reverting unwanted schema.rb changes. I'm willing to call this a happy accident :-) (Sorry for all the extra email chatter on this.)


Question: Can you make bosses from this mod, not try to kill you in creative.


add return values to global callback setters

Glfw.setErrorCallback, Glfw.setJoystickCallback, and Glfw.setMonitorCallback (the last one is needed for imgui-docking) were not returning the previous callbacks. I missed those with the last fix, and this time I double checked that all functions named set…Callback have a return type.

Immutability (freezing) and threading on the native target might need a bit more thought.

Probably. @ThreadLocal is probably not the best solution (that was already there). I usually put all the mutable properties top-level and have references to them in the object if they need to be public.

A thought: (1) is it possible to detect if running on the main thread in native, and (2) should an exception be thrown if it's possible and a GLFW call is not running on main?

About (1), assuming main thread means, the thread in which GLFW is initialised, yeah there are a couple ways. You can store Worker.current and compare against future Worker.current calls or you can have a global @Threadlocal variable and do the same thing with it's hashCode() (as supposed to Worker.current).
About (2), I'm a bit sceptical about it but it's easier than dealing with frozen callbacks.

Personally, I would circumvent freezing the callbacks by storing them top-level (above the Glfw object). I have a suspicion that that may cause memory leaks, but honestly, in this specific instance, that doesn't matter since the Glfw object is intended to be in scope globally until the program exits, and functions more as a namespace than anything else. I'd add cleanup code to Glfw.terminate (eg, set callbacks to null to release the references for GC), and call it a day
Another point to consider is how multithreading with GLFW is handled in a C/C++ context.
Overall though the native handling of multithreading is a necessary discussion, but I'm not sure it applies to this pull-request, since that wasn't one of the things I changed.

Oh, I just noticed that the callbacks are already being stored. I was reading the JVM version when I was thinking about it.

Thanks for the PR!

Published in 0.1.9-dev-10


🌱  Optimize the dependabot config with multidir configuration

This commit adds newly introduced multi-directories feature in dependabot. With this hopefully all the go modules would be bumped in one PR for a dependancy.
Signed-off-by: Kashif Khan<EMAIL_ADDRESS>

/cc @tuminoid

LGTM now.
/override metal3-centos-e2e-integration-test-main metal3-ubuntu-e2e-integration-test-main


Compilation to the Quux intermediate language

The Quux intermediate language will be a method contract IR before compiling to a format supported by a verification tool.

This feature is jumping the gun and will need to be broken down when come to.


feat: added zgenom config

This does not load powerlevel10k. How do you load it with zgenom?

sorry I forgot to add powerlevel10k at the end. fixed the issue and pushed another commit.

Thanks! I've merged the first version with a few changes on top: https://github.com/romkatv/zsh-bench/commit/bd1b3979c726dbdc7d08d2b8745a44bda3d9e0a8
Note that this config is cutting corners on two counts: invoking compinit with -C and printing the first prompt before checking whether plugins need to be installed.


TypeContext

To be used in any situation where we want the complete lookup of types before applying any kind of processing.

How can embeddings come in handy?


Question about library usage

Hi!
I'm not sure if this repo is actively developed but I'll shoot a question anyway.
I am trying to add a way to detect whether a starship invocation is privileged, using the 'deelevae' crate. My initial method was to use WinAPI directly, but I feel this crate provides a more robust implementation. The whole discussion is here - https://github.com/starship/starship/pull/2791
The Readme mentions that this would work only on Windows 10 or higher.
I tried checking the source and saw that the restriction is in src/psuedocon.rs file, but I'm unable to understand how privilege detection is related to creating a console. So my question is will the crate work for privilege detection (only) on Windows 8? Will I need to enable/disable any feature flags or something in order to do that? Sorry I do not have a Windows 8 machine to test this out and hence the question.
Thanks and cheers!

If you only need to check the privilege level then you should be able to use this crate on older versions of Windows: the conpty code is only invoked when using the spawn_with_XXX_privileges functions, and that is the only part that depends on a specific version of windows.
Because this crate uses dynamic loading to resolve the conpty functions, I think you can use it as-is on older versions of Windows if all you are using is the Token struct to understand the privilege level.
However, I'm also open to a PR adding a feature (that defaults to enabled) so that the conpty support can be conditionally enabled.

Great, thanks for the detailed info!
I'll give integrating this into starship a go and revert back.

So I just tried this and ran into a problem - not with the functionality itself, but with compilation of the binary. Both starship and eledo try to set binary resources, which (IIUC is not supported) results in a compilation error. See the comments https://github.com/starship/starship/pull/2791#issuecomment-1057339747 and https://github.com/starship/starship/pull/2791#issuecomment-1057362150 for context.

The crate could be restructured a bit so that the build.rs is only used for building the executables; in other words refactor so that the executables are their own crate(s) with a build.rs, while keeping the library code in the main crate.
I don't currently have time to make those changes, but would welcome a PR that does, if you have the time!

Great, I will look into making the change in a few days. Although I have not done such a thing before, so I would appreciate if you have any specific pointers in this regard!

I think the gist of it is:

Create utils and deelevate directories
deelevate will be the library crate, utils will be the binary crate
Move the bin dir into utils
Copy the top level Cargo.toml into utils
Move the top level Cargo.toml into deelevate
Add a new top level Cargo.toml to be the workspace definition and have it list the utils and delevate crates as members (see: https://github.com/wez/wezterm/blob/main/Cargo.toml for a more complicated example)
Adjust the code and toml files so that utils depends on deelevate and to remove the build-dependencies from deleevate


微信统一支付出错

在window服务器正常，在Centos7上出错，错误信息
System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception.--->System.Security.Authentication.AuthenticationException: The remote certificate is invalid according to the validation procedure.\n at System.Net.Security.SslState.StartSendAuthResetSignal(ProtocolToken message, AsyncProtocolRequest asyncRequest, ExceptionDispatchInfo exception)\n at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)\n at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)\n at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)\n at System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)\n at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)\n at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)\n at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)\n at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)\n at System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)\n at System.Net.Security.SslState.StartReceiveBlob(Byte[] buffer, AsyncProtocolRequest asyncRequest)\n at System.Net.Security.SslState.CheckCompletionBeforeNextReceive(ProtocolToken message, AsyncProtocolRequest asyncRequest)\n at System.Net.Security.SslState.StartSendBlob(Byte[] incoming, Int32 count, AsyncProtocolRequest asyncRequest)\n at System.Net.Security.SslState.ProcessReceivedBlob(Byte[] buffer, Int32 count, AsyncProtocolRequest asyncRequest)\n at System.Net.Security.SslState.StartReadFrame(Byte[] buffer, Int32 readBytes, AsyncProtocolRequest asyncRequest)\n at System.Net.Security.SslState.PartialFrameCallback(AsyncProtocolRequest asyncRequest)\n---End of stack trace from previous location where exception was thrown---\n at System.Net.Security.SslState.ThrowIfExceptional()\n at System.Net.Security.SslState.InternalEndProcessAuthentication(LazyAsyncResult lazyResult)\n at System.Net.Security.SslState.EndProcessAuthentication(IAsyncResult result)\n at System.Net.Security.SslStream.EndAuthenticateAsClient(IAsyncResult asyncResult)\n at System.Net.Security.SslStream. < >c. < AuthenticateAsClientAsync > b__47_1(IAsyncResult iar)\n at System.Threading.Tasks.TaskFactory1.FromAsyncCoreLogic(IAsyncResult iar, Func2 endFunction, Action1 endAction, Task1 promise, Boolean requiresSynchronization)\n---End of stack trace from previous location where exception was thrown---\n at System.Net.Http.ConnectHelper.EstablishSslConnectionAsyncCore(Stream stream, SslClientAuthenticationOptions sslOptions, CancellationToken cancellationToken)\n---End of inner exception stack trace---\n at System.Net.Http.ConnectHelper.EstablishSslConnectionAsyncCore(Stream stream, SslClientAuthenticationOptions sslOptions, CancellationToken cancellationToken)\n at System.Threading.Tasks.ValueTask1.get_Result()\n at System.Net.Http.HttpConnectionPool.CreateConnectionAsync(HttpRequestMessage request, CancellationToken cancellationToken)\n at System.Threading.Tasks.ValueTask1.get_Result()\n at System.Net.Http.HttpConnectionPool.WaitForCreatedConnectionAsync(ValueTask1 creationTask)\n at System.Threading.Tasks.ValueTask1.get_Result()\n at System.Net.Http.HttpConnectionPool.SendWithRetryAsync(HttpRequestMessage request, Boolean doRequestAuth, CancellationToken cancellationToken)\n at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)\n at Microsoft.Extensions.Http.Logging.LoggingHttpMessageHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)\n at Microsoft.Extensions.Http.Logging.LoggingScopeHttpMessageHandler.SendAsync(HttpRequestMessage request, CancellationToken cancellationToken)\n at System.Net.Http.HttpClient.FinishSendAsyncBuffered(Task1 sendTask, HttpRequestMessage request, CancellationTokenSource cts, Boolean disposeCts)\n at Essensoft.AspNetCore.Payment.WeChatPay.Utility.HttpClientExtensions.DoPostAsync(HttpClient client, String url, String content)\n at Essensoft.AspNetCore.Payment.WeChatPay.WeChatPayClient.ExecuteAsync[T](IWeChatPayRequest1 request, String optionsName)\n at Donvv.Meeting.Controllers.PaymentController.MpPay(Int32 id, String openId) in E: \\DonvvMeeting\\server\\Meeting\\Meeting\\Donvv.Meeting\\Controllers\\PaymentController.cs: line 84 ","Properties ":{"SourceContext ":"Donvv.Meeting.Controllers.PaymentController ","ActionId ":"0791aadb - d831 - 4f4c - 95cd - 8fb940f6595e ","ActionName ":"Donvv.Meeting.Controllers.PaymentController.MpPay(Donvv.Meeting)","RequestId ":"0HLLUB9I9NS1B: 00000001 ","RequestPath ":" / api / Payment / MpPay
尝试解决方法：
ServicePointManager.ServerCertificateValidationCallback +=
(sender, certificate, chain, sslPolicyErrors) => true;无效
ServicePointManager.SecurityProtocol = SecurityProtocolType.Ssl3 | SecurityProtocolType.Tls12 | SecurityProtocolType.Tls11 | SecurityProtocolType.Tls; 无效
export DOTNET_SYSTEM_NET_HTTP_USESOCKETSHTTPHANDLER=0 无效
export SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt
export SSL_CERT_DIR=/dev/null 无效

未能复现，如果还未解决 请补充更多信息

@799429303 你解决了吗

@799429303 你解决了吗

换成paysharp了

解决了 这是我个人原因


Disabled exercises 84-92 should probably have warning text at the top

The async exercises have currently been removed from the build due to changes in the Zig compiler. This threw me for a loop at first until I looked at the build file. That information should probably also be at the top of each of the async files for now as well, telling people they have been disabled for now.

First, we have an issue about that: https://github.com/ratfactor/ziglings/issues/163
Second, the async functions will be back in the next days. Andrew is hard working on it.

The async exercises have currently been removed from the build due to changes in the Zig compiler. This threw me for a loop at first until I looked at the build file. That information should probably also be at the top of each of the async files for now as well, telling people they have been disabled for now.

With the latest version of the code, now zig build will print, as an example, Skipping 084_async.zig.


[Bug] [Worker] TaskInstance state update error

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened
find version: 2.0.1
When TaskExecuteThread  is running, if an exception is threw, it is caught and the kill method is executed,  but if kill methond also throw error instead of an exception, the TaskExecuteResponseCommand can not be set properties, like status, endTime, these can be set default value, for example, the status can be set 0 (state of submit success)

log

code

What you expected to happen
The state of TaskInstance is correct
How to reproduce

throw exception/error in try block

throw error in kill methond

Anything else
No response
Version
2.0.3
Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

I see the code in 2.0.5, the kill method will never throw exception. So this should already be fixed, I will close this issue.

@ruanwenjun not exception, but error. the user can custom task plugins, so override can be throw error , this happened with our custom Linkis plugin

@ruanwenjun And if you look at my screenshot, although it's exception, it's actually reversed.

@guoshupei Ok, so it's better to move the setting part to finally. Could you please submit a PR to fix this?

@guoshupei Ok, so it's better to move the setting part to finally. Could you please submit a PR to fix this?

yes ,  as you said, I need to know the task execution to set different states, failure or success.
but I have another plan:

First, put kill() after setting part,
Second, replace Exception with Throwable of catch block in kill method

WDYT?

@guoshupei Ok, so it's better to move the setting part to finally. Could you please submit a PR to fix this?

yes , as you said, I need to know the task execution to set different states, failure or success. but I have another plan:

First, put kill() after setting part,
Second, replace Exception with Throwable of catch block in kill method

WDYT?

The first plan looks good to me.

@guoshupei Ok, so it's better to move the setting part to finally. Could you please submit a PR to fix this?

yes , as you said, I need to know the task execution to set different states, failure or success. but I have another plan:

First, put kill() after setting part,
Second, replace Exception with Throwable of catch block in kill method

WDYT?

The first plan looks good to me.

okay，I will use first plan to fix it.

@guoshupei Can 2.0.6 version be reproduced ？

@guoshupei Can 2.0.6 version be reproduced ？

I don't use the 2.0.6 version, but I think it still exists

@guoshupei Can 2.0.6 version be reproduced ？
@JinyLeeChina Here's how we do it

The reason is the same as #13244


Folding level 2 unfolds level 1

I often want to fold the code, then expand a single class and fold its second level (eg. in Python or C++). But when I do CTRL+K CTRL+2 after CTRL+K CTRL+1, the first level is all expanded again.

PS: Is there also a way to prevent atom from folding the scope(s) that the cursor is currently positioned in?

Can you please provide a code example accompanied by screenshots with expected/desired outcome and the actual outcome. I'm struggling to understand how to replicate your issue as of present.

You start from this

Now when you collapse level 1

Now you collapse level 2 which causes all of level 1 to uncollapse.

Why is this bad? It prevents you from accumulating different folding levels. As I wrote above, I often collapse level 1, open a class and then collapse level 2. What I would like to see then is this:

But what you actually get is bar() also uncollapsed (as in the third picture)

The workflow I am used to from sublime allows me to position my cursor in a block that I would like to work in, fold level 1 and everything gets folded except for the block that my cursor is positioned in (and nothing below that block). Atom on the other hand just folds everything, whether your cursor is in a block or not.

Thanks for the detail. I'm starting to better understand your issue.
I think the functionality of second level folding is good as it is, however, I can understand why you would want to collapse all collapsible nests within an 'area' while maintaining previous fold states. For this, there is the fold selection command but unfortunately that folds all selected code into one complete fold rather than function independent folds.
I think the solution for your problem would be to have a collapse/folds function. Consider the following
Initial state

Highlight desired code and press collapse shortcut

Resulting state

@NiklasRosenstein can you confirm the proposed solution would resolve your issue?

Hi @andyrichardson I think selecting the code that I want to collapse is an absolute workflow killer. :) I might just look into making an extension that implements my desired folding behaviour.

Completely understandable! May I suggest closing the issue but posting your extension, in the future, for others who may have the same issue.

Yes, you can close the issue. When I find the time to write the extension,
I will post my results here. Cheers
On 22 September 2016 at 13:27, Andy Richardson<EMAIL_ADDRESS>wrote:

Completely understandable! May I suggest closing the issue but posting
your extension, in the future, for others who may have the same issue.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/atom/atom/issues/12323#issuecomment-248876440, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABQeJhTxTA3dHhDbzVYKLzKeNOvaRPODks5qsmYLgaJpZM4Jc7t9
.

--
Niklas Rosenstein
https://niklasrosenstein.com

Yes, you can close the issue

No can do but I'm sure @50Wliu would be happy to do so.

Or me :)


Makefile: Build improvments. Incremental by default

Hm, I know I've had trouble with incremental builds in the past.
From my experience, incremental builds don't catch changes to the _data directory (e.g changes to navbars)
@djosborne might know more.

What difference does --incremental make?  If I run make serve, I already see that the site is updated when I change any source.

@neiljerram it makes it faster.  Rather than rebuilding the entire site (which takes 15+ seconds on my machine) it just rebuilds the changes (takes ~1s on my machine)

Ah, OK, I didn't realise that what appeared to be incremental was actually a complete rebuild!

@neiljerram With incremental builds on, changes to sidebar layout or docwithnav will still build the whole site. But changes to a single markdown file will only take a fraction of a second


chore: Simpler deps

- What I did

Removed uuid4 as an external dependency

It is now included statically as private static functions so it can be easily modified to add other platforms

json header removed from atclient

json now provided by atcommons
wrapper around json implementation to make it platform specific

- How I did it
- How to verify it
- Description for the changelog

A question I have is:
If we're getting rid of our uuid4 fork and just having the code in our codebase (which is okay because of open LICENSING), why don't we do the same thing for cjson so we don't have to worry about managing the ATCLIENT_JSON_PROVIDER constant?

A question I have is:
If we're getting rid of our uuid4 fork and just having the code in our codebase (which is okay because of open LICENSING), why don't we do the same thing for cjson so we don't have to worry about managing the ATCLIENT_JSON_PROVIDER constant?

We could, but I've focused on doing the minium viable work for gettings things up on the portenta. I actually have a different non-cmake implementation of cJSON which has been ported to Arduino which will be included in the Arduino library folder.
Also, cJSON and mbedtls are libraries that tend to be available in more places. So I think it's ok to statically link against cmake fetches for now, leaving the option open to dynamically link if needed.

I should add, I don't see a world where we ever need to dynamically link uuid4, it's a tiny library, even in comparison to cJSON (which is already quite small)

A question I have is:
If we're getting rid of our uuid4 fork and just having the code in our codebase (which is okay because of open LICENSING), why don't we do the same thing for cjson so we don't have to worry about managing the ATCLIENT_JSON_PROVIDER constant?

We could, but I've focused on doing the minium viable work for gettings things up on the portenta. I actually have a different non-cmake implementation of cJSON which has been ported to Arduino which will be included in the Arduino library folder.
Also, cJSON and mbedtls are libraries that tend to be available in more places. So I think it's ok to statically link against cmake fetches for now, leaving the option open to dynamically link if needed.

The option to dynamically link makes more sense to me
I didn't see uuid4 on ESP-IDF, so it makes sense to just have the code live directly in our repo.

Ah... my merge resolution commit is still on local

Ok, conflicts have been resolved and everything is linking correctly. Just waiting on the tests to double check everything.


feat(integrations): utility to load keras models from a W&B artifact

Fixes GROWTH2-292
Description
This PR adds a utility function load_model_from_artifact that allows us to load a Keras model(s) directly from a W&B artifact.
Collaboration with @ayulockin
Testing
How was this PR tested?
Checklist

[ ] Include reference to internal ticket "Fixes WB-NNNN" and/or GitHub issue "Fixes #NNNN" (if applicable)
[ ] Ensure PR title compliance with the conventional commits standards

Maybe consider add the ability to load model weights from artifacts where save_weights_only is true.

@parambharat  This would probably require another function named load_weights_from_artifact.


Argument type checking doesn't print the given type name

This one is easier to demo than describe:
foo ::= (a: i64) => a
foo("s")

Output:
Expression cannot be called with the given arguments.

  3 | foo("s")
  * (a: i64) -> (i64) -- Parameter at index 0 cannot accept an argument of type `at index 0`

This bug was introduced somewhat intentionally as a short term solution. In order to make diagnostics show the best name for a type based on context near the error (see #57), we need to pass a AST expressions in to the function generating the diagnostic. This particular function doesn't have easy access, so instead, to reduce the size and scope of the commit, I temporarily made the diagnostic worse.


Add rest API to retrieve app/container history info

this is required by https://github.com/cloudera/yunikorn-web/issues/12

Hi @sunilgovind
https://github.com/cloudera/yunikorn-web/issues/12 is blocked by this one, do you have an estimation when this can be done?

moved the issue to jira:
https://issues.apache.org/jira/browse/YUNIKORN-14


Terraform & Functional Tests for AWS Lambda Plugin

Acceptance Criteria

Create a new subdirectory in https://github.com/AgnostiqHQ/terraform with the name covalent-awslambda-plugin, and initialize terraform in that subdirectory
Update main.py script generated by terraform cli in order to provision required cloud resources
In the corresponding plugin repo (not terraform repo) add a folder ./tests/functional_tests and add appropriate functional tests for the plugin which should include dispatching a non-trivial workflow as well as validating that various config options are being used as intended

Please add your planning poker estimate with ZenHub @kessler-frost


ISSUE-829: Fix for Concat function

CONCAT was assumed to be a calcite built-in function, however the calcite parser
returns it as a unresolved user defined function.
Due to this, to topology deployment code tries to download and package the jar which fails.

Implemented CONCAT as a streamline function.
Commenting the SUBSTRING function for now since theres no way from UI to pass the start index field as parameter for the Function.

Tested projection processor with following functions (UPPER, LOWER, CONCAT, INITCAP, CHAR_LENGTH) and it works.

@harshach , @priyank5485 please take a look.

In calcite, CONCAT is implemented as JDBC function (I interpreted this expression as non-ANSI standard) so need to wrap it with {fn }.
|| is used for concatenating two strings, and this is ANSI standard, despite some "famous" databases ignore to support the standard.
https://calcite.apache.org/docs/reference.html#jdbc-function-escape
https://stackoverflow.com/questions/11403931/what-is-the-difference-between-operator-and-concat-function-in-oracle
I'm fine with any way (wrap it, convert to ||, overriding function as this patch does) so please treat my comment as information. If we don't like wrapping with fn, +1 for the patch.
Btw, this also means we need to have at least SQL function reference page if we would want to support handling raw query.

Same as SUBSTRING: as you may already know, the syntax for ANSI standard SUBSTRING is SUBSTRING (char_exp FROM start_position [ FOR length ]), which is fairly different from UDF. There're also many other functions in Calcite reference page which have their own syntax.
So may need to decide on this: ignoring ANSI standard and convert functions as receiving comma-separated parameters, or don't modify its syntax (and semantic) and let UI/users refer the reference page or expect ANSI standard by default.

@arunmahadevan Tested the patch. No more deployment error. +1 for this change

@HeartSaVioR , we can support ANSI standard functions and syntax.  We need not support calicte syntax and for such functions we can expose our own UDFS than wrapping the functions in {fn }. SUBSTRING is disabled for now since the UI does not support passing literal arguments for functions.


Cannot overwrite file from base image

/kind bug
Description
I am uncertain that this a podman/buildah issue and it appears with docker build as well,
but I cannot use the following simple Dockerfile to overwrite a file which is added in the
base image using:
ADD launch_awx_task.sh /usr/bin/launch_awx_task.sh
Dockerfile:
FROM docker.io/ansible/awx_task:9.2.0

RUN sed -i '/.*awx-manage.*create_preload_data.*/d' /usr/bin/launch_awx_task.sh

Steps to reproduce the issue:

Create Dockerfile with content mentioned above

buildah bud -t awxtask:noreload-9.2.0

Describe the results you received:
STEP 1: FROM docker.io/ansible/awx_task:9.2.0
STEP 2: LABEL maintainer="Christian Felder"
STEP 3: RUN sed -i '/.*awx-manage.*create_preload_data.*/d' /usr/bin/launch_awx_task.sh
sed: couldn't open temporary file /usr/bin/sedy27igE: Permission denied
error building at STEP "RUN sed -i '/.*awx-manage.*create_preload_data.*/d' /usr/bin/launch_awx_task.sh": error while running runtime: exit status 4

permissions of this file are 755 in the base image.
Describe the results you expected:
creating an image
Additional information you deem important (e.g. issue happens only occasionally):
Output of podman version:
Version:            1.6.4
RemoteAPI Version:  1
Go Version:         go1.12.12
OS/Arch:            linux/amd64

Output of podman info --debug:
debug:
  compiler: gc
  git commit: ""
  go version: go1.12.12
  podman version: 1.6.4
host:
  BuildahVersion: 1.12.0-dev
  CgroupVersion: v1
  Conmon:
    package: conmon-2.0.6-1.module_el8.1.0+272+3e64ee36.x86_64
    path: /usr/bin/conmon
    version: 'conmon version 2.0.6, commit: 7a4f0dd7b20a3d4bf9ef3e5cbfac05606b08eac0'
  Distribution:
    distribution: '"centos"'
    version: "8"
  MemFree: 311787520
  MemTotal:<PHONE_NUMBER>
  OCIRuntime:
    name: runc
    package: runc-1.0.0-64.rc9.module_el8.1.0+272+3e64ee36.x86_64
    path: /usr/bin/runc
    version: 'runc version spec: 1.0.1-dev'
  SwapFree:<PHONE_NUMBER>
  SwapTotal:<PHONE_NUMBER>
  arch: amd64
  cpus: 2
  eventlogger: journald
  hostname: CentOS_8
  kernel: 4.18.0-147.5.1.el8_1.x86_64
  os: linux
  rootless: false
  uptime: 27h 58m 0.46s (Approximately 1.12 days)
registries:
  blocked: null
  insecure:
  - jenkinsng.admin.frm2
  search:
  - registry.redhat.io
  - registry.access.redhat.com
  - quay.io
  - docker.io
store:
  ConfigFile: /etc/containers/storage.conf
  ContainerStore:
    number: 15
  GraphDriverName: overlay
  GraphOptions: {}
  GraphRoot: /var/lib/containers/storage
  GraphStatus:
    Backing Filesystem: xfs
    Native Overlay Diff: "true"
    Supports d_type: "true"
    Using metacopy: "false"
  ImageStore:
    number: 17
  RunRoot: /var/run/containers/storage
  VolumePath: /var/lib/containers/storage/volumes

Package info (e.g. output of rpm -q podman or apt list podman):
podman-1.6.4-2.module_el8.1.0+272+3e64ee36.x86_64

Additional environment details (AWS, VirtualBox, physical, etc.):
CentOS-8 Parallels VM (macOS host)

@TomSweeneyRedHat PTAL

seems like I've to encapsulate my docker instructions in USER:
FROM docker.io/ansible/awx_task:9.2.0

USER root

RUN sed -i '/.*awx-manage.*create_preload_data.*/d' /usr/bin/launch_awx_task.sh

USER 1000

Otherwise the sed instruction will be run by user-id 1000.


import chunks when url is not root

Do you want to request a feature or report a bug?
Bug

What is the current behavior?
There is an issue when loading chunks with import in the case where the current url is not a root url:
i.e http://localhost:8080/admin/users
In that case, the chunk being loaded is for instance from the url http://localhost:8080/admin/2.js which doesn't exist.
See https://github.com/webpack/webpack/pull/5587 for the original PR.
If the current behavior is a bug, please provide the steps to reproduce.

What is the expected behavior?
The chunk should be loaded from the correct url
If this is a feature request, what is motivation or use case for changing the behavior?
Please mention other relevant information such as the browser version, Node.js version, webpack version and Operating System.
webpack 3.5.5

See output.publicPath option

As already stated in the other PR, setting output.publicPath to  "/" doesn't solve the issue and makes it even worse.

Please find below  the steps to reproduce the issue:

git clone git@github.com:FredericHeem/starhackit.git && cd starhackit/client && git checkout webpack-import-url-not-root && npm i && npm start

Change the url in the browser to http://localhost:8080/aaa, the 404 page should be dynamically loaded with import from http://localhost:8080/10.js

Now change the url to http://localhost:8080/aaa/bbb, the 404 page is not loaded because it tries to load the chunk http://localhost:8080/aaa/10.js

Let me know if you need more information.


Mini CNN has a bug?

Hi friend,
I ran the code of mini ccn, but python returns:
`ValueError: Exception encountered when calling layer "daub_wave_layer2d" (type DaubWaveLayer2D).
in user code:
File "C:\Users\marco\AppData\Local\Programs\Python\Python39\lib\site-packages\wavetf\_base_wavelets.py", line 109, in call  *
    return self.kernel_function(batch)
File "C:\Users\marco\AppData\Local\Programs\Python\Python39\lib\site-packages\wavetf\_daubachies_conv.py", line 216, in kernel_function  *
    s1 = tf.reshape(s1, [self.bs*self.cn*self.ox, -1, 1])

ValueError: Invalid value in tensor used for shape: -672

Call arguments received:
• batch=tf.Tensor(shape=(None, 224, 224, 3), dtype=float32)`
The images are RGB:
img_size= 224
channels = 3
input_shape = (img_size, img_size, channels)

The images are RGB:
img_size= 224
channels = 3
input_shape = (img_size, img_size, channels)

Hi @SrMarkLau,
which version of Tensorflow are you using?

same for me tf 2.4.0

Hi, can you produce a minimal, non-working example that I could run and test?

my error
ValueError                                Traceback (most recent call last)
 in
----> 1 wavelet_cnn(input_shape=(128,128,3))
 in wavelet_cnn(input_shape, ks, baselev, wavelet, wave_kern, hsv, convrep, num_classes)
22             wave0 = inputs
23         # compute 4 level of wavelet
---> 24         wave1 = WaveTFFactory.build(wave_kern)(wave0)
25         # compute new wavelet features from LL componenents
26         wave2 = WaveTFFactory.build(wave_kern)(wave1[:,:,:,:chans])
/usr/local/lib/python3.6/dist-packages/tensorflow/python/keras/engine/base_layer.py in call(self, *args, **kwargs)
920                     not base_layer_utils.is_in_eager_or_tf_function()):
921                   with auto_control_deps.AutomaticControlDependencies() as acd:
--> 922                     outputs = call_fn(cast_inputs, *args, **kwargs)
923                     # Wrap Tensors in outputs in tf.identity to avoid
924                     # circular dependencies.
/usr/local/lib/python3.6/dist-packages/tensorflow/python/autograph/impl/api.py in wrapper(*args, **kwargs)
263       except Exception as e:  # pylint:disable=broad-except
264         if hasattr(e, 'ag_error_metadata'):
--> 265           raise e.ag_error_metadata.to_exception(e)
266         else:
267           raise
ValueError: in user code:
/usr/local/lib/python3.6/dist-packages/wavetf/_base_wavelets.py:109 call  *
    return self.kernel_function(batch)
/usr/local/lib/python3.6/dist-packages/wavetf/_daubachies_conv.py:216 kernel_function  *
    s1 = tf.reshape(s1, [self.bs*self.cn*self.ox, -1, 1])
/usr/local/lib/python3.6/dist-packages/tensorflow/python/ops/array_ops.py:193 reshape  **
    result = gen_array_ops.reshape(tensor, shape, name)
/usr/local/lib/python3.6/dist-packages/tensorflow/python/ops/gen_array_ops.py:8087 reshape
    "Reshape", tensor=tensor, shape=shape, name=name)
/usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/op_def_library.py:744 _apply_op_helper
    attrs=attr_protos, op_def=op_def)
/usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/func_graph.py:595 _create_op_internal
    compute_device)
/usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/ops.py:3327 _create_op_internal
    op_def=op_def)
/usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/ops.py:1817 __init__
    control_input_ops, op_def)
/usr/local/lib/python3.6/dist-packages/tensorflow/python/framework/ops.py:1657 _create_c_op
    raise ValueError(str(e))

ValueError: Invalid value in tensor used for shape: -384

I clone your repository master branch and next pip install .

Hi, I just pushed a commit that seems to fix this issue.
Could you check if that works for you as well?

fix for me thanks a lot

All right then :+1:  Thank you for pointing out the issue!

Welcome,
small question: do you know how to reproduce this code with your keras module ?
https://github.com/mxbastidasr/DAWN_WACV2020

Hi,
I don't have time to write the network in detail, but keep in mind that, being wave the output of a wavelet layer working on 3 channels (e.g., RGB), its LL component is given by wave[..., :3], while the LH, HL and HH components are wave[..., 3:].
All the other layers in your network should be standard keras ones. Try to have a look at mini_cnn code for an example of applying a wavelet layer on the LL component of the output of a previous wavelet layer.


Problems running test and inference with Shufflenet

Hello, I'm interested in using this network with my own dataset for real time segmentation on a jetson TX2. Previous to that I want to see the performance of the program running the examples you give, so that I can check the fps I get on the Jetson.
My problem appears when I run:
python3 main.py --load_config=fcn8s_shufflenet_test.yaml test Train FCN8sShuffleNet
or
python3 main.py --load_config=fcn8s_shufflenet_test.yaml inference Train FCN8sShuffleNet.
I get an error saying that the archives X_test.npy, Y_test.npy and ynames_test.npy don't exist. These issues are actually true, because these .npy do not appear in the full_cityscapes_res.zip you can download from google drive. I don't know if this is an error and you can past arround that downloading the data from another source or in another way.
The problem is that even if I change this data with the validation or training data that is contained in full_cityscapes_res to avoid this error I get another error in line 907 of train_py:
Traceback (most recent call last):
File "main.py", line 19, in
main()
File "main.py", line 15, in main
agent.run()
File "/home/alejandro/Segmentation/TFSegmentation/utils/misc.py", line 18, in timed
result = f(*args, **kwargs)
File "/home/alejandro/Segmentation/TFSegmentation/agent.py", line 107, in run
self.test()
File "/home/alejandro/Segmentation/TFSegmentation/agent.py", line 146, in test
self.operator.test(pkl)
File "/home/alejandro/Segmentation/TFSegmentation/train/train.py", line 742, in test
y_batch = self.test_data['Y'][idx:idx + 1]
KeyError: 'Y'
Telling me that the array doesn't have any Y data, only X. I can't come over this error and therefore I can't run the program to discover how many fps it gets. I tried to remove this line or to fill it with the X data but I still get errors. Maybe the reason of these errors is that I need the .npy data that i don't have.
I also discovered that in line 891 of train.py a exit(1) appeared (also mentioned in this issues: https://github.com/MSiam/TFSegmentation/issues/55), with this exit the program runs until it gets to that point but it's useless for what I'm trying to check. I would also like to know what this exit stands for, I commented it so that the program runs completely.
Could someone help me to solve these errors? These is not even a part of what I'm trying to achieve using these repository, it's only a test for checking the performance and it's really demotivating to get these errors. If i can get over it I would like to ask how to use my dataset on this repository and which annotation tool you recommend for creating my labels.
For your information I'm using tensorflow-gpu 1.3, as recommended, with cuDNN 6 and python3 on a GTX 1070.
I will appreciate any help you can give me.
Thank you all in advance.

WHat is your image resolution?!


AllowSignInOptions

[Enter feedback here]
I have a Customer who is trying to follow the steps in this article but it doesn't appear like it works as described. It does working using the AllowSignInOptions registry, which is all I could get from a number of Technical Advisors too. Would it be possible to incorporate some of the Microsoft Forum responses, like the following and the AllowSignInOptions registry key, into this article?
https://answers.microsoft.com/en-us/windows/forum/windows_10-hello/how-to-disable-windows-hello/05ab5492-19c7-4d44-b762-d93b44a9cf65

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

ID: 789566d4-463a-4c64-bf89-fb963ac29f80
Version Independent ID: 02946732-bb29-d8e6-cedd-7f5e508f8798
Content: Manage Windows Hello in your organization (Windows 10) - Microsoft 365 Security
Content Source: windows/security/identity-protection/hello-for-business/hello-manage-in-organization.md
Product: w10
GitHub Login: @mapalko
Microsoft Alias: mapalko

@cloidl Would you like to add enable  sign in through windows hello   or disable windows hello through registry key in this article.

@cloidl Would you like to add enable sign in through windows hello or disable windows hello through registry key in this article

Disable Windows Hello through Registry

Why not include all possible values, so both?

Is this change to the documentation going to be made and if so when?

@Cloidl, has you customer tried following the instructions here: https://docs.microsoft.com/en-us/windows/security/identity-protection/hello-for-business/hello-aad-join-cloud-only-deploy?

@mapalko @RAJU2529 Is there any update on a potential update to this article to include those registry keys?

Those registry keys are not settings associated with Windows Hello and are not officially supported for this use case. We do not have plans to include those registry settings in our public documentation. And are investigating whether there are issues with supported, documented ways to disable the feature.


Fix serial quirks for IXFR after restart

For details, see #227. This PR adds a test to verify the correct serial is used for IXFRs after a restart and a fix for the issue reported.

The changes look good. It would be good to also fix xfrd.c:2359 compare_serial call parameters.

Include this one too, good catch :+1:

Is this ready for testing?

Hi @klaus-nicat, yes, it is.


Firebase static site upload documentation.

Update the current documentation to explain how to push the result of npm run build to a firebase host.

Hey I can look into this


A build environment docker image for kubernetes job to build a CloudImage

@Stevent-fei  FYI:  infra/container/images


Check if minor version cluster upgrade is allowed

Which issue this PR addresses:
Fixes 8573199
What this PR does / why we need it:
Checks if a new query string for the admin upgrade endpoint is set to true which allows the cluster to be upgraded to the next minor version. Will need to have corresponding Geneva Action changed.
Also fixed the error checking logic in an existing unit test and corrected or clarified some comments.
Test plan for issue:
Updated unit tests to include this new case
Is there any documentation that needs to be updated for this PR?
Yes, cluster upgrade SOP will need to be updated

Hmm, I'm not onboard with the spec for this - why do we want a minorOK checkbox? In what circumstances are we going to check it?

This might be a bad naming.
We want to make sure we don't upgrade 4.x version when Upgrade is executed on a cluster that has 4.x latest already.
So minor in this case is Y release.

@jim-minter you not onboard with name or approach?

I've been persuaded ;-)

@nilsanderselde gonna wait for your confirmation to merge

@nilsanderselde gonna wait for your confirmation to merge

@mjudeikis This should be good to merge once CI and E2E are green. This new query parameter can't == "true" until the GA side is released, so Y upgrades will be effectively disabled until then (using this particular GA). I think that's okay, though. The GA side is ready to be reviewed.


Apartment rent date

Should we do any action and when if apartment rent date has over

I will take away apartment from user