Android Gradle Build Failing to Download a Jcenter Resource that doesn't Exist gradle.plugin-7.3.0.pom 404

Steps to reproduce

Install flutter version 3.19.3 from the main channel.
Install android studio 2023.2
Add the android platform to your flutter project
Attempt to build

Actual results
The gradle build attempts to get a resource from the web that doesn't exist
Resource missing. [HTTP GET: https://jcenter.bintray.com/com/android/application/com.android.application.gradle.plugin/7.3.0/com.android.application.gradle.plugin-7.3.0.pom]

FAILURE: Build failed with an exception.

PS C:\Users\user> curl -X 'GET' 'https://jcenter.bintray.com/com/android/application/com.android.application.gradle.plugin/7.3.0/com.android.application.gradle.plugin-7.3.0.pom'
{
  "errors" : [ {
    "status" : 404,
    "message" : "Could not find resource"
  } ]
}

Logs

Logs

c:\code\app_mobile\android>gradle --info
...
Starting Build
Compiling settings file 'C:\code\app_mobile\android\settings.gradle' using SubsetScriptTransformer.
Now considering [C:\code\flutter\packages\flutter_tools\gradle, C:\code\app_mobile\android] as hierarchies to watch
Generating C:\Users\user\.gradle\caches\7.3\generated-gradle-jars\gradle-api-7.3.jar
Cannot use Kotlin build script compile avoidance with C:\Users\user\.gradle\caches\7.3\generated-gradle-jars\gradle-api-7.3.jar: class org/gradle/configurationcache/extensions/AutoCloseableExtensionsKt: inline fun useToRun(): compile avoidance is not supported with public inline functions
Cannot use Kotlin build script compile avoidance with C:\code\sdk\gradle\gradle-7.3\lib\kotlin-stdlib-1.5.31.jar: class kotlin/ArrayIntrinsicsKt: inline fun emptyArray(): compile avoidance is not supported with public inline functions
Cannot use Kotlin build script compile avoidance with C:\code\sdk\gradle\gradle-7.3\lib\kotlin-reflect-1.5.31.jar: class kotlin/reflect/full/KAnnotatedElements: inline fun findAnnotation(): compile avoidance is not supported with public inline functions
Cannot use Kotlin build script compile avoidance with C:\Users\user\.gradle\caches\7.3\generated-gradle-jars\gradle-kotlin-dsl-extensions-7.3.jar: class org/gradle/kotlin/dsl/GradleApiKotlinDslExtensions0Kt: inline fun environment(): compile avoidance is not supported with public inline functions
Cannot use Kotlin build script compile avoidance with C:\code\sdk\gradle\gradle-7.3\lib\gradle-kotlin-dsl-7.3.jar: class org/gradle/kotlin/dsl/ArtifactHandlerScope: inline fun invoke(): compile avoidance is not supported with public inline functions
Kotlin DSL script compilation (Settings/TopLevel/stage1) is not up-to-date because:
  No history is available.

> Configure project :gradle
Evaluating project ':gradle' using build file 'C:\code\flutter\packages\flutter_tools\gradle\build.gradle.kts'.
Caching disabled for Kotlin DSL plugin accessors for classpath 'e92c198a8488615b02887da4d2f59404' because:
  Build cache is disabled
Kotlin DSL plugin accessors for classpath 'e92c198a8488615b02887da4d2f59404' is not up-to-date because:
  No history is available.
Caching disabled for Kotlin DSL script compilation (Project/TopLevel/stage1) because:
  Build cache is disabled
Kotlin DSL script compilation (Project/TopLevel/stage1) is not up-to-date because:
  No history is available.
Caching disabled for Kotlin DSL accessors for project ':gradle' because:
  Build cache is disabled
Kotlin DSL accessors for project ':gradle' is not up-to-date because:
  No history is available.
Caching disabled for Kotlin DSL script compilation (Project/TopLevel/stage2) because:
  Build cache is disabled
Kotlin DSL script compilation (Project/TopLevel/stage2) is not up-to-date because:
  No history is available.
Resource missing. [HTTP GET: https://jcenter.bintray.com/com/android/application/com.android.application.gradle.plugin/7.3.0/com.android.application.gradle.plugin-7.3.0.pom]

FAILURE: Build failed with an exception.

* Where:
Settings file 'C:\code\app_mobile\android\settings.gradle' line: 22

* What went wrong:
Plugin [id: 'com.android.application', version: '7.3.0', apply: false] was not found in any of the following sources:

- Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
- Included Builds (None of the included builds contain this plugin)
- Plugin Repositories (could not resolve plugin artifact 'com.android.application:com.android.application.gradle.plugin:7.3.0')
  Searched in the following repositories:
    Google
    MavenRepo
    Gradle Central Plugin Repository

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 39s
Watched directory hierarchies: []

Flutter Doctor output

Doctor output

c:\code\app_mobile\android>flutter doctor -v
[√] Flutter (Channel stable, 3.19.3, on Microsoft Windows [Version 10.0.19045.4170], locale en-GB)
    • Flutter version 3.19.3 on channel stable at C:\code\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ba39319843 (12 days ago), 2024-03-07 15:22:21 -0600
    • Engine revision 2e4ba9c6fb
    • Dart version 3.3.1
    • DevTools version 2.31.1

[√] Windows Version (Installed version of Windows is version 10 or higher)

[√] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at C:\Users\jamesbewl\AppData\Local\Android\sdk
    • Platform android-34, build-tools 34.0.0
    • Java binary at: C:\Program Files\Android\Android Studio\jbr\bin\java
    • Java version OpenJDK Runtime Environment (build 17.0.9+0--11185874)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop Windows apps (Visual Studio Enterprise 2022 17.8.5)
    • Visual Studio at C:\Program Files\Microsoft Visual Studio\2022\Enterprise
    • Visual Studio Enterprise 2022 version 17.8.34511.84
    • Windows 10 SDK version 10.0.22621.0

[√] Android Studio (version 2023.2)
    • Android Studio at C:\Program Files\Android\Android Studio
    • 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--11185874)

[√] VS Code (version 1.87.2)
    • VS Code at C:\Users\jamesbewl\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.84.0

[√] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.19045.4170]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 122.0.6261.129
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 122.0.2365.92

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

• No issues found!

This looks like a Gradle issue rather than Flutter. Does it happen on an Android native project?
Could you please share the example project you have created here so that I can try running it on my end?


Create a Console app for Machine Learning tutorial

Problem encountered on https://dotnet.microsoft.com/learn/ml-dotnet/get-started-tutorial/create
Operating System: windows
Provide details about the problem you're experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.
Windows 10 Pro. Used Blend instead of the VBS19 Studio home screen to create a project.
Creating the project from VBS Home solved the issue.

The Issue is resolved by creating the project from VBS home and not BLEND.
No further action is needed.

Great! Glad you were able to resolve this.


Crawler: false positive in case of 1 millisecond added by BG

should be fixed by: #910 and #908

After the fix we don't see false alerts in our monitored environments. Closing this.


don't see live server and has error of port 5500

I'm submitting a...

[ ] Regression (a behavior that used to work and stopped working in a new release)
[ ] Bug report  <!-- Please search GitHub for a similar issue or PR before submitting -->
[ ] Feature request
[ ] Documentation issue or request
[ ] Other: <!-- Please describe: -->

Current behavior

Expected behavior

Environment
Browser:

- [ ] Chrome (desktop) version XX
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] IE version XX
- [ ] Edge version XX

For Tooling issues:

- Live Server: <!-- Check which version is installed -->
- Platform:  <!-- Mac, Linux, Windows -->
- Visual Studio Code: <!-- `code --version` -->

Others

i don't see live server and has problem of 5500


ai.djl.engine.EngineException Unknown type name 'torch.torch.classes.neuron.Model'

Description
(A clear and concise description of what the bug is.)
eks create a cluster on inf1.2xlarge, build djl app to ecr image, and create a deployment yaml,a pod has two container, djl app container and neuron-rtd whic use image:790709498068.dkr.ecr.us-west-2.amazonaws.com/neuron-rtd:1.0.6905.0,  after eks deploy, the app start success, but when access the djl inference api in a controller(named InferencePointController), get exception: ai.djl.engine.EngineException Unknown type name 'torch.torch.classes.neuron.Model'
Do i need to add 'torch_neuron/lib/libneuron_op.so' to  djl app ?
Error Message
(Paste the complete error message, including stack trace.)
ai.djl.engine.EngineException Unknown type name 'torch.torch.classes.neuron.Model'
Environment Info
djl 0.12.0, resnet50 on pytorch, i have compile the model to neuron model

@yingmuting
Did you set environment variable PYTORCH_EXTRA_LIBRARY_PATH?
export PYTORCH_EXTRA_LIBRARY_PATH=$(python -m site | grep $VIRTUAL_ENV | awk -F"'" '{print $2}')/torch_neuron/lib/libneuron_op.so

See: https://github.com/deepjavalibrary/djl-demo/tree/master/aws/inferentia
If you won't like environment, you can set system property: PYTORCH_EXTRA_LIBRARY_PATH, but you need make sure this is set before PyTorch engine is loaded.

@yingmuting
Did you set environment variable PYTORCH_EXTRA_LIBRARY_PATH?
export PYTORCH_EXTRA_LIBRARY_PATH=$(python -m site | grep $VIRTUAL_ENV | awk -F"'" '{print $2}')/torch_neuron/lib/libneuron_op.so

See: https://github.com/deepjavalibrary/djl-demo/tree/master/aws/inferentia
If you won't like environment, you can set system property: PYTORCH_EXTRA_LIBRARY_PATH, but you need make sure this is set before PyTorch engine is loaded.

thanks，when set ENV PYTORCH_EXTRA_LIBRARY_PATH in dockerfile，now is ok，my step is：
1.on inf1 ：pip install torchvision==0.9.1 torch-neuron==<IP_ADDRESS>.4.1.0 'neuron-cc[tensorflow]==<IP_ADDRESS>' --extra-index-url=https://pip.repos.neuron.amazonaws.com
2.download the libneuron_op.so ，then copy the file in dockerfile，set ENV PYTORCH_EXTRA_LIBRARY_PATH，build image


[Feature Request] Binary Search

🚀 Binary Search
It is an important algorithm in data structure, which is also used in several high level programs

Would you like to work on this feature?

[x] Yes
[ ] No

Can you please assign it to me? and also add the gssoc-ext label

Can you please assign this to me I want to work on it

Solved it #230


syntax error, unexpected ':', expecting ';' or '{' in /home/chawtechsolution/public_html/mdev/firstcall/vendor/kreait/clock/src/Clock.php on line 11

When we use kreait/firebase-php 3.9. it shows this error on php 5.6, anyone have the solution please help me.

The clock is not part of release 3.x, and is only compatible with PHP 7.0 and newer - something must have gone wrong. Have you installed your project locally and then uploaded to a PHP 5.6 server?

yes. now i have installed kreait/firebase-php 1.2.2.. I have found the solution for this. Thanks


What's the estimated release date of 2.0?

I read somewhere that you're completely rewriting it for 2.0 in a way that doesn't require flash anymore, right? I'm eager to know when you think you'll be finished with that.

Hey, honestly I haven't had really any available free time to work on this for several months now.  So I'm not really sure when an estimated release date would be...  I personally use the alpha build located here: https://github.com/radiant-player/radiant-player-electron/releases.  It has essentially no features except for keyboard control, so no themes, scrobbling, etc.  Of course if anybody wants to contribute pull requests, I would be thrilled!  Other than that, the release date would be "whenever I have time to work on it" which unfortunately I'm not able to predict.
Sorry about that!


Broadcast parameters with Tuples

This PR changes broadcasting of thermodynamic parameters from Refs to Tuples, as they are immutable and can be stack allocated to avoid dynamic allocations.

bors r+


[e2e] fix e2e bugs found in 1.2.2 regression

Changes

ADD implement vm_checker.wait_ip_addresses to check IP's availability.
UPDATE test_update_vm_machine_type to skip in newer version.
UPDATE change the way to get VM's IP in following test cases:

test_3_vm_functions.py
test_4_vm_backup_restore.py
test_5_vm_networks.py

The fix based on job/harvester-install-and-test-e2e-daily/195, to close #1284

Changes look good to me, however, we can detail out the problem we are fixing here, it's not very clear from https://github.com/harvester/tests/issues/1284.


Add "goal" feature

Hi there!
First thank you very much for this handy workflow. I really love using it ;)
as far as I can tell, only the idid feature is available. would it be possible to set up goals?
I can help you with that if you point me in the right direction :)

Great idea!  Here's a secret for you that will let you do this now.
Just start your done with [] or [ ]
Boom, now you've made a goal!

Chad

PS
Do you think something like igoal would be a cool way to automatically prepend that for you?

thanks chad! :)
for the name, igoal sounds good, I also though abouth iwill

idid check my emails
iwill send the presentation

iwill sounds really good along side idid; great idea!  I'm not sure how soon I'll incorporate this but I'd like to add it in.  :-)


Testing release 0.74.1: multiple errors when creating a new project

Environment
react-native -v: 0.74.1
npm ls react-native-macos: 0.74.1
node -v: v22.6.0
npm -v: 10.8.2
yarn --version: 1.22.22
xcodebuild -version: Xcode 15.4 Build version 15F31d

Steps to reproduce the bug
Hello. I am testing the new release 0.74.1 with a clean project.
Test sequence:
# Install RN
npx react-native@latest init test_project --version 0.74.1
npx react-native-macos-init --version 0.74.1

The second command will fail with the same error as https://github.com/microsoft/react-native-macos/issues/2152.
Afaik, this one should have been fixed with a fix to react-native-macos-init.
Should be the package be updated on NPM as well? (see https://www.npmjs.com/package/react-native-macos-init?activeTab=versions)
# Previous command failed, to workaround:
yarn add<EMAIL_ADDRESS>
# And rerun to proceed
npx react-native-macos-init --version 0.74.1

Then it fails with another error:
Couldn't install Pods. Updating the Pods project and trying again...
Command `pod install` failed.
└─ Cause: Invalid `Podfile` file: uninitialized constant Pod::Podfile::FlipperConfiguration.

 #  from /Users/moru/Documents/Work/test_project/macos/Podfile:18
 #  -------------------------------------------
 #      # Flipper is not compatible w/ macOS
 >      :flipper_configuration => FlipperConfiguration.disabled,
 #      # An absolute path to your application root.
 #  -------------------------------------------

Commenting the line ":flipper_configuration => FlipperConfiguration.disabled" in the podfile will allow the build to proceed. However, on my end running npx react-native run-macos then does not open the app. It seems there's at least an issue with the podfile, but atm I don't have a good enough understanding of the system to debug it.
Thank you!
Expected Behavior
No response
Actual Behavior
No response
Reproducible Demo
No response
Additional context
No response

└─ Cause: Invalid `Podfile` file: uninitialized constant Pod::Podfile::FlipperConfiguration.
You have to remove references of Hermes in the macOS Podfile -- it looks like the template hasn't been updated yet for react-native-macos. Flipper has been dropped from react-native.
See here:
https://react-native-community.github.io/upgrade-helper/?from=0.73.9&to=0.74.5#RnDiffApp-ios-Podfile

Indeed, :flipper_configuration was removed, so I think if that's still showing up in our template project, we need to remove it.

I had a look at https://github.com/microsoft/react-native-macos/blob/main/packages/rn-tester/Podfile to fix the Podfile, as it has been updated fairly recently.
However, even after removing :flipper_configuration and getting a successful build, when running npx react-native run-macos, nothing happens.
test_project % npx react-native run-macos

  WARNING: You should run npx react-native@latest to ensure you're always using the most current version of the CLI. NPX has cached version (0.74.1) != current release (0.75.1)

warn Argument --configuration has been deprecated and will be removed in a future release, please use --mode instead.
info Found Xcode workspace "test_project.xcworkspace"
info Building (using "xcodebuild -workspace test_project.xcworkspace -configuration Debug -scheme test_project-macOS")
(node:82100) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
(Use `node --trace-deprecation ...` to show where the warning was created)
........................................
2024-08-17 14:41:34.864 xcodebuild[82150:2765339]  DVTPlugInQuery: Requested but did not find extension point with identifier 'Xcode.InterfaceBuilderBuildSupport.PlatformDefinition'. This is programmer error; code should only request extension points that are defined by itself or its dependencies.
info Launching app "org.reactjs.native.test-project" from "/Users/moru/Library/Developer/Xcode/DerivedData/test_project-gxmjruklmbhydfapvfduwvvevpsy/Build/Products/Debug/test_project.app"
success Successfully launched the app

The app opens, there is a toolbar but no window. The previous version does work, with similar steps.
Thank you!

@morukutsu I think the problem is that bundleURL func is not defined in AppDelegate.mm.
Taken from https://react-native-community.github.io/upgrade-helper/?from=0.73.9&to=0.74.5#RnDiffApp-ios-RnDiffApp-AppDelegate.mm:
- (NSURL *)bundleURL
{
#if DEBUG
  return [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index"];
#else
  return [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"];
#endif
}

Here's the error I got from Xcode.
An uncaught exception was raised
Subclasses must implement a valid getBundleURL method
(
	0   CoreFoundation                      0x000000018e82f2ec __exceptionPreprocess + 176
	1   libobjc.A.dylib                     0x000000018e316788 objc_exception_throw + 60
	2   CoreFoundation                      0x000000018e82f1dc +[NSException exceptionWithName:reason:userInfo:] + 0
	3   rnmacos74                           0x000000010343477c -[RCTAppDelegate bundleURL] + 52
    [...]

Looks like this is still happening in rn-macos 75.2 & 75.3 & 75.4 with react native 75.3

@kaiyes should be fixed now

Just documenting for anyone on v0.74. When generating a fresh<EMAIL_ADDRESS>app, the following error will be raised on startup:
RCTAppDelegate::bundleURL not implemented
Subclasses must implement a valid getBundleURL method

It can be fixed, as suggested above, by applying the following patch to AppDelegate.mm:
  - (NSURL *)sourceURLForBridge:(RCTBridge *)bridge
  {
- #if DEBUG
-   return [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index"];
- #else
-   return [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"];
- #endif
+   return [self bundleURL];
  }
+
+ - (NSURL *)bundleURL
+ {
+ #if DEBUG
+   return [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index"];
+ #else
+   return [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"];
+ #endif
+ }


hardcode replicas haproxy, envoy in their templates

Description
This pull request changes the following:

It hard codes the replicas for haproxy and envoy proxy
It removes the replicas values from values.yaml

Related Issues

Closes #211

:tada: This PR is included in version 0.8.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Change stolen feather sprite to cape if applicable

I forgot that this is probably not feasible unless you're guaranteed to have only one or the other when you dig up the feather. So the sprite will stay as-is.

See #70, which is technically a duplicate but was resolved instead of wontfixed.


Flutter : Null Safety code issue

When I try to install in pubspec.yaml then I can't see null safety code. But When I see master brach it's null safety code.
How can I use Null Safety code from pubspec ?

Null safe issue fixed


Fixes #3090. Introduce StatusItem.HotTextSpecifier

Fixes #3090 - Include a terse summary of the change or which issue is fixed.
Pull Request checklist:

[x] I've named my PR in the form of "Fixes #issue. Terse description."
[x] My code follows the style guidelines of Terminal.Gui - if you use Visual Studio, hit CTRL-K-D to automatically reformat your files before committing.
[x] My code follows the Terminal.Gui library design guidelines
[x] I ran dotnet test before commit
[x] I have made corresponding changes to the API documentation (using /// style comments)
[x] My changes generate no new warnings
[x] I have checked my code and corrected any poor grammar or misspellings
[x] I conducted basic QA to assure all features are working

So we're clear, I'm breaking the rule of "no new v1 APIs" by supporting this.

Thank you, much appreciate it!

But this does need new unit tests before I'll approve it.

A unit test is added.


Snapshot limiting and standalone snapshot script for use with EssentialsX /backup

Also not noted in the commits was an undo of the snapshot name prefix change. No prefix for now, just snapshot date as the name like before.


Move the Resource class to the public API package

Fixes #3013

Thanks for the PR, however if we decided to make such a change to the API we would do it ourselves, so closing this


stylus stylesheets

For #126.

The CSS files should be removed. We should only store the Stylus files in the repository. We'll still need to work out when to compile the Stylus files, but it should be handled by the build.

I don't think we should put the Stylus files in the data folder. That folder is the data folder for the packaged gem (it's the data for the gem). Instead, we need another location in the project. I'd like to propose one of these two locations:

assets/styles
styles

I'm open to other suggestions.

The recent commits include:
I dicovered that stylus has a converter under the --css option, and this one preserves the comments and original structure more closely, so I re-converted from the css to stylus.
After that, I added an include file colors.styl with the available color hex codes. The color values are then associated by semantic function and these are used in the epub3.styl file.
$dark-gray = #666665

$link-border = $dark-gray

body a:link
  border-bottom: 1px dashed $link-border

I moved the stylus files to assets/styles folder.
My goal in this PR was to get the CSS from stylus files, and that's good now. At least with this much it was clear what to do. I know you mentioned considering how and when the CSS should be generated from stylus, but it's not very clear at the moment and it could be addressed later.
I recommend that this is ready to merge, unless you spot anything to fix.

Ah yes, and adding quotation marks to the font url regex in packager.rb.

Please mention if there is a problem with this PR, or if you simply haven't had the time to review it.


Add Windows as a Supported Platform

Gated behind version 5.2. This will allow for example, Windows specific
c/cxx flags to be passed to build indexstoredb and llbuild.
See also: https://forums.swift.org/t/adding-support-for-windows-as-a-platform/30158

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please smoke test linux

@swift-ci please smoke test linux


Support of additional level 'Flow'

I saw that pdfbox-layout has frames in a document and paragraphs in a frame. I need one more level between document and frame that can be places to specific positions.

Document has flows
Flow has frames
Frame has paragraphs

Flows have for example Parameters like: xCoord, yCoord, width and height.
How can I do this? Is there already existing something similar?

I guess you want some kind of nested layouts, is that correct?

Hi ralfstuckert,
Yes, exactly. I have for example 1 page with several flows that I can set the position. And the flows have paragraphs inside.
One more question is, how to manually to a page break?
Thank you for your help.

Sorry, nested layout is not possible with the current design, since layouting is done on the fly during rendering. To allow arbitrary nesting, a pre-rendering layout phase would be needed.

Does this mean that it's not possible to have multiple elements within a frame? For example, I would like to have multiple images in a frame or an image and some text. Basically, I just want to draw a box around multiple elements.


Why did HppyX experience so much performance decline in web benchmark testing on December 11, 2023?✨

https://web-frameworks-benchmark.netlify.app/result

I think this was after #216

HappyX was previously ranked first on the list for a long time, but now ranks behind 50th. Fixing any existing issues as soon as possible will help increase its visibility.


Cover image don't load when large version isn't available

GenericRecord.java always rewrites cover image URL to user large versions. Sometimes (≈ 2% of my list) a large version isn't available, like with Azumanga Daioh, Bokurano, Hidamari Sketch and Sailor Moon. When it happens cover_error.png is shown, instead of fallbacking to the normal, non-large, version.

I will try to fix it

Fixed by eb7ad5b


Can't plot the graph

@antoine-galataud Hello
I have the eplog folder ready, it has a model trained for 250 epochs. I am unable to run the graph plotting command
can I send my folder to somebody and can they print it out for me?

hi i am facing similar issue can you please guide me how you resolved it.


fix defaultIgnores to be proper reg-exps

this fixes my case mentioned in https://github.com/maxogden/electron-packager/issues/44 - i had my project in a folder /Users/zaggino/github/brackets-electron/ and .git matched the /github part

For the sake of documenting the rationale for this PR in this thread, could you describe where the filter is being processed and why regexes are necessary?

They're processed here: https://github.com/maxogden/electron-packager/blob/master/mac.js#L71-L80
if (file.match(ignore[i])) { with ignore being .git will match even folders like /github or mygitapp

btw README doesn't say that --ignore are processed as regular expressions, but according to code they are for all three platforms


StructureContainer object has no attribute 'plot' & setting up LAMMPS jobs for structures in a structure container

Hello again :wave: ,
I'm now tinkering around with dataset by using one of the notebook provided- RandSPGExample.ipynb. Somehow after creating the randspg structure by using:
spg = randspg(pr, np.arange(1,11), atomic_volume=12, min_radius=1.9, repetitions=1, element='Cu'); I'm not able to visualize various structural properties such as Lattice vector lengths, angles, atomic volume and Density as shown for Mg.
Am I missing something basic here?
Also, I'm interested in testing the workflow in the published work of yours. As a first step, I try to use LAMMPS to iteratively relax from (i) VOLMIN to (ii) CELLMIN to (iii) INTMIN.
Can you check if the following does what I intend to do with (i)-->(ii)--(iii)?
For (i), this is what I have:
units 	metal
dimension 	3
boundary 	p p p
atom_style 	atomic
read_data 	structure.lmp
variable dumptime 	equal 1

include 	potential.inp
compute peratom all pe/atom
fix             1 all box/relax iso 0.0 vmax 0.001
dump 1 	all custom ${dumptime} dump.out id type xsu ysu zsu fx fy fz vx vy vz
dump_modify 1 	sort id format line "%d %d %20.15g %20.15g %20.15g %20.15g %20.15g %20.15g %20.15g %20.15g %20.15g"
min_style cg
minimize 	1e-10 0.<PHONE_NUMBER>0000

thermo_style 	custom step temp pe etotal pxx pxy pxz pyy pyz pzz vol
thermo_modify 	format float %20.15g
thermo 	100

For (ii), I have the following [I'm not sure if this is right; in reality I should box/relax xy 0.0 yz 0.0 xz 0.0; but if the box is orthogonal , LAMMPS throws an error according to https://docs.lammps.org/fix_box_relax.html] :
units 	metal
dimension 	3
boundary 	p p p
atom_style 	atomic
read_data 	structure.lmp
variable dumptime 	equal 1

include 	potential.inp
compute peratom all pe/atom
fix             1 all box/relax aniso 0.0 vmax 0.001
dump 1 	all custom ${dumptime} dump.out id type xsu ysu zsu fx fy fz vx vy vz
dump_modify 1 	sort id format line "%d %d %20.15g %20.15g %20.15g %20.15g %20.15g %20.15g %20.15g %20.15g %20.15g"
min_style cg
minimize 	1e-10 0.<PHONE_NUMBER>0000

thermo_style 	custom step temp pe etotal pxx pxy pxz pyy pyz pzz vol
thermo_modify 	format float %20.15g
thermo 	100

For (iii), I use something like this:
units 	metal
dimension 	3
boundary 	p p p
atom_style 	atomic
read_data 	structure.lmp
variable dumptime 	equal 1

include 	potential.inp
compute peratom all pe/atom
dump 1 	all custom ${dumptime} dump.out id type xsu ysu zsu fx fy fz vx vy vz
dump_modify 1 	sort id format line "%d %d %20.15g %20.15g %20.15g %20.15g %20.15g %20.15g %20.15g %20.15g %20.15g"
min_style cg
minimize 	1e-10 1e-10<PHONE_NUMBER>0000

thermo_style 	custom step temp pe etotal pxx pxy pxz pyy pyz pzz vol
thermo_modify 	format float %20.15g
thermo 	100

I'm not sure how to supply this inside pyiron as input to LAMMPS and minimize the structures in my container iteratively?
@pmrv , any ideas/pointers?

Ok, I did figure out what was the problem here, spg should be actually a container to visualize the cell properties.
the following code snippet worked fine for me:
container = pr.create.job.TrainingContainer('dataset_example')
for i in np.arange(2,spg.number_of_structures):
    job_lammps = pr.create.job.Lammps("lammps_job")
    job_lammps.structure = spg.structure_lst[int(i)]
    job_lammps.potential = job_lammps.list_potentials()[0]
    job_lammps.calc_minimize(pressure=0)
    job_lammps.run(delete_existing_job=True)
    container.include_job(job_lammps)
df = container.to_pandas()
df['energy_atom'] = (df.energy / df.number_of_atoms)
df['volume_atom'] = df.atoms.map(lambda s: s.get_volume(per_atom=True))
container.plot.cell()
sns.scatterplot(
    data=df,
    x='volume_atom',
    y='energy_atom'
)
plt.xlabel(r'Atomic Volume [$\mathrm{\AA}^3$/atom')
plt.ylabel(r'Atomic Energy [eV/atom]')
plt.legend(title='Mg')

Please check with ateemu which other formats we can import

Hey,
there's no builtin write method, but you can quickly do it with something like
cont = pr.load(...)
with open('structures.extxyz', 'w') as f:
  for s in cont.iter_structures():
    s.write(f) # this is inherited from ASE, so pick any format that it supports

Feel free to submit a PR if that does it for you. ;)
As for the minimization, I am sadly mostly illiterate when it comes to lammps input scripts, but you can do it with the calc_minimize method:
(lammps)
# VolMin
job.structure.add_tag(selective_dynamics=[False,False,False]) # freezes fractional coordinates of all atoms
job.calc_minimize(pressure=0)
# CelllMin
job.structure.add_tag(selective_dynamics=[False,False,False]) # freezes fractional coordinates of all atoms
job.calc_minimize(pressure=[0,0,0,0,0,0])
# IntMin
job.calc_minimize(pressure=[0,0,0,0,0,0])

for VASP the syntax is slightly different, but it is more easily achieved by the ISIF flag
# VolMin
job.calc_minimize(pressure=0.0, volume_only=True)
# CellMin
job.calc_minimize()
job.incar['ISIF'] = 5
# IntMin
job.calc_minimize(pressure=0.0)

you can check after calling these which ISIF pyiron picked by job.input.incar.
What I do is essentially iterating over the container from randspg and apply the volume minimization in one project.  Collect all structures from that with TrainingContainer.include_job or StructureContainer.add_structure(job.get_structure()) and then repeat.
If your StructureContainer doesn't have a plot attribute, then your pyiron_atomistics is out of date.  If you install via conda and the problem persists after an update, you'll need to update the pyiron packages explicitly by providing the latest versions conda install -c conda-forge pyiron_atomistics=... (yes, it's a bit stupid, but such are the ways of the conda).


working with index column

First of all, thank you very much for your great work.
I have several doubts after reading the documentation.
Right now the first column is the index and has the following structure "_", "1", "2", "3", etc.

How can I add a title to that column so that it is not a blank space?
I want to change the numbering. That is to say that instead of 1,2,3, it is the hour for example. I have seen that you have responded in the following post https://github.com/paulhodel/jexcel/issues/1005, but I don't know if I understood the answer. If all the cells in the table have 2 values (x, y), how is it that to modify the numbering you only need 1 value?
If I modify the indexes, do I still access the cell values with "a1", "a2", etc?
If the first cell is A1, what is the numbering of the headers in the columns and rows to be able to work with / modify them?

In case it influences, I am using VueJs.
Thank you very much and sorry if you have already answered these questions, but after a while I was not able to find those answers.

Hi,

for Add text to header of column index use this

var table = jexcel(YourElement, YourOptions);
...

var HeaderIndex = table.el.querySelector('.jexcel_selectall');
if(HeaderIndex) {
  HeaderIndex.innerText = "Your custom text";
  HeaderIndex.style.textAlign = "center";
}

Coord it's data of cell and it's different that cell show
for your example

for (var j = 0; j < table.rows.length; j++) {
    table.rows[j].innerText = (j % 24) + ":00"; // 24 for 24h set 12 for 12h
}

Yes, coord different of value of cell
A1 = (x=0 , y=0) (Coord)
table.getValue("A1") = table.getValueFromCoord(0,0)


TR should not rename/recreate log files on rollover

This Improvement request (usability, performance, tech debt, etc.) affects these Traffic Control components:

Traffic Router

Current behavior:

The current log4j2 config causes TR to rename access.log to access.log.2022-01-30-30 (for example) then recreate the access.log file. This can cause data loss problems for log forwarding tools that expect to tail the same log file without having it change out from underneath them.
New behavior:

TR's log4j2.xml config should use a rollover strategy that doesn't cause the log file to be renamed then recreated. I think this can be accomplished with a DirectWriteRolloverStrategy which is documented here. However, in order to limit the number of rolled-over log files on disk, we may need to combine that with a custom delete action which is documented here.

Can this be assigned to me? I'd like to take a crack at it.

Assigned!

So, after reviewing the issue, the code and then reviewing the default configuration used on Traffic Router. I feel that a different approach would be better.
The problem with the directwriterolloverstrategy and the delete function is that the access.log is renamed/moved instead of copied. This changes the inode on access.log and other log forwarding applications will retain the lock to the file with the original inode.. Which is renamed. This is why we're seeing this problem.
After reviewing the log4j2 rotation strategies there is nothing available in log4j2 that does what we need, which would be a copy to new file retaining the inode, then truncate access.log. Now, I could create a plugin, but that leads me back to a philosophy idea that the goal of Traffic Router in this situation should be just getting the logs to a location and from there, it should be the job of the operating system or admin of said system to figure out how the logs are sliced up and rotated using an outside application. In this case, I feel logrotate does this reliably.
I simplified the configuration of our log4j2.xml to only use one file for both the traffic_router.log and access.log. Then I used logrotate with the below configuration to copytruncate daily.
`/opt/traffic_router/var/log/access.log {
daily
size 1k
compress
rotate 7
dateformat -%d%m%Y
copytruncate
}
/opt/traffic_router/var/log/traffic_router.log {
daily
size 1k
compress
rotate 7
dateformat -%d%m%Y
copytruncate
}`
This is the new log4j2.xml that I'm purposing to solve this issue on production systems.
<!-- file deployed via ansible push, local edits are subject to be overwritten --> <Configuration packages="org.apache.trafficrouter.trafficrouterappender" verbose="true">     <Appenders>         <Console name="stdout" target="SYSTEM_OUT">             <PatternLayout pattern="%m%n" />         </Console>         <File name="traffic_router" fileName="/opt/traffic_router/var/log/traffic_router.log" immediateFlush="true" append="true">            <PatternLayout pattern="%-5p %d{yyyy-MM-dd'T'HH:mm:ss.SSS} [%t] %c - %m%n" />            <ThresholdFilter level="ALL" />         </File>         <File name="traffic_router_access" fileName="/opt/traffic_router/var/log/access.log" immediateFlush="true" append="true">            <PatternLayout pattern="%m%n" />            <ThresholdFilter level="INFO" />         </File>     </Appenders>     <Loggers>         <Root level="WARN" additivity="false" >             <AppenderRef ref="stdout" />         </Root>         <Logger name="org.apache.traffic_control.traffic_router" level="INFO" additivity="false" >             <AppenderRef ref="traffic_router" />         </Logger>         <Logger name="org.apache.traffic_control.traffic_router.core.access" level="INFO" additivity="false" >             <AppenderRef ref="traffic_router_access" />         </Logger>     </Loggers> </Configuration>
I'm still waiting for word from Zach whether this is acceptable or not, but I feel this is probably cleanest way to fix this issue. Thoughts?

That sounds reasonable to me, but the trade-off is that the log storage requirements will be increased since logrotate is only run 1x/day whereas log4j can rollover whenever a threshold is reached. We just need to be aware of that when changing this.

We can change the size requirements as well and when we want it to rotate as well. By adding logrotate to a cron outside of cron.daily, we can add it to anywhere we want to search for a condition we'd like. EG: traffic_router.log being over 100m

I feel logrotate does this reliably.

Using logrotate for TR logs sounds good to me, too

I simplified the configuration of our log4j2.xml to only use one file for both the traffic_router.log and access.log.

What is the advantage to using only a single log file for both traffic_router.log and access.log?

So, they would both have separate log files still. That portion would still be controlled by log4j.
It's the log rotation that would be removed from the log4j2.xml and then handled by logrotate.
I took one of our production servers and tested the configuration. This is how the log folder would look with daily rotations. The 11th is small because I did this later on in the day.
drwxr-xr-x 4 root root 4.0K Nov 14 04:02 .
drwxr-xr-x 4 root root 4.0K Nov 11 18:22 ..
-rw-r----- 1 root root 231M Nov 14 19:12 access.log
-rw-r----- 1 root root  13K Nov 11 16:22 access.log-11112022.gz
-rw-r----- 1 root root 9.1M Nov 12 04:01 access.log-12112022.gz
-rw-r----- 1 root root  20M Nov 13 04:01 access.log-13112022.gz
-rw-r----- 1 root root  19M Nov 14 04:01 access.log-14112022.gz
-rw-r----- 1 root root 3.7M Nov 14 19:12 traffic_router.log
-rw-r----- 1 root root 2.0K Nov 11 16:22 traffic_router.log-11112022.gz
-rw-r----- 1 root root  73K Nov 12 04:01 traffic_router.log-12112022.gz
-rw-r----- 1 root root 143K Nov 13 04:02 traffic_router.log-13112022.gz
-rw-r----- 1 root root 145K Nov 14 04:01 traffic_router.log-14112022.gz
The advantage would be that we would keep the same inode for the log file allowing it to be copied instead of moved then truncated. The log forwarding application would be able to continue reading logs and we won't have issues related to open rotated files that we have been seeing on other nodes. I have looked and compared two of our nodes in one location and have verified this takes care of all of the extra open files we were seeing open via lsof after a rotation occured.

That all sounds great

Excellent, thanks @villajo !


python: add 'make generate' OS agnostic

The Python version of 'make generate' for Linux and Windows.

The cppcheck is failing not because of this PR but because the other PR merged before. I fixed the check in #2278


Hbm bank split transform

Adds the HbmBankSplit Transformation, which allows to distribute/gather arrays to many HBM-banks. It's intended to be used for Host-Device copies, but works in principle everywhere.

Could we use this transformation for splitting to different DDR banks too?
Based on some recent discussion, I think we're gonna want to extend the work you did to also work on DDR banks.

Could we use this transformation for splitting to different DDR banks too?
Based on some recent discussion, I think we're gonna want to extend the work you did to also work on DDR banks.

Sure, actually the transformation has nothing to do with HBM specifically, it just matches on directly connected Accessnodes, where one of the arrays has 1 dimension more than the other.

What do you think about renaming this to BankSplit then?


python312Packages.greeclimate: 1.4.1 -> 1.4.6

Diff: https://github.com/cmroche/greeclimate/compare/refs/tags/v1.4.1...v1.4.6
Changelog: https://github.com/cmroche/greeclimate/blob/refs/tags/v1.4.6/CHANGELOG.md
Description of changes

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[ ] Fits CONTRIBUTING.md.

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

Result of nixpkgs-review pr 323211 run on x86_64-linux 1

5 packages built:

home-assistant-component-tests.gree
python311Packages.greeclimate
python311Packages.greeclimate.dist
python312Packages.greeclimate
python312Packages.greeclimate.dist

@ofborg eval

Result of nixpkgs-review pr 323211 run on x86_64-linux 1

5 packages built:

home-assistant-component-tests.gree
python311Packages.greeclimate
python311Packages.greeclimate.dist
python312Packages.greeclimate
python312Packages.greeclimate.dist

Thank you!


Initial dev-setup for ros

This will help in setting up the development environment for ROS.
With this PR I have also moved app.py inside ros/app.py (same like yupana and drift) to create room for other scripts and will separate out the core application.

@patilsuraj767,
Thank you, added one inline comment.
Secondly, could you also verify attached sample file's content? I don't think it is good idea to include nested directories (Example - sample/{machine-fqdn}-20201108200821/var/tmp/metrics.json). Please correct me if I am missing anything.

Honestly, I have not thought regarding the tar extraction process. I have bundle it through the same way how normal insights-client and compliance does. They too have {machine-fqdn} in there tar archive.
[root@client qh5i99eq]# insights-client --no-upload
Starting to collect Insights data for client.example.com
Archive saved at /var/tmp/gy8dq6r1/insights-client.example.com-20201202231217.tar.gz
[root@client qh5i99eq]# cd /var/tmp/gy8dq6r1/
[root@client gy8dq6r1]# ls
insights-client.example.com-20201202231217.tar.gz
[root@client gy8dq6r1]# tar xf insights-client.example.com-20201202231217.tar.gz
[root@client gy8dq6r1]# ls insights-client.example.com-20201202231217/
blacklist_report  boot  branch_info  collection_stats  egg_release  etc  insights_commands  proc  run  sys  usr  var  version_info

@patilsuraj767,
Thank you, added one inline comment.
Secondly, could you also verify attached sample file's content? I don't think it is good idea to include nested directories (Example - sample/{machine-fqdn}-20201108200821/var/tmp/metrics.json). Please correct me if I am missing anything.

Honestly, I have not thought regarding the tar extraction process. I have bundle it through the same way how normal insights-client and compliance does. They too have {machine-fqdn} in there tar archive.
[root@client qh5i99eq]# insights-client --no-upload
Starting to collect Insights data for client.example.com
Archive saved at /var/tmp/gy8dq6r1/insights-client.example.com-20201202231217.tar.gz
[root@client qh5i99eq]# cd /var/tmp/gy8dq6r1/
[root@client gy8dq6r1]# ls
insights-client.example.com-20201202231217.tar.gz
[root@client gy8dq6r1]# tar xf insights-client.example.com-20201202231217.tar.gz
[root@client gy8dq6r1]# ls insights-client.example.com-20201202231217/
blacklist_report  boot  branch_info  collection_stats  egg_release  etc  insights_commands  proc  run  sys  usr  var  version_info

Thank you @patilsuraj767 for this information.


zones.list does not support getting more than 2500 zones.

The API documentation specifies to use the Link response header in order to page through more than 2500 results.
Atm, it seems that this sdk will always fetch only the first 2500 zones in an account, ignoring the rest.

Yep, apologies. this is a known issue - we need to add pagination support in the py-SDK. It's in the backlog. If you need it ASAP I'd encourage you to contact support, so they can work with you on prioritizing this and working things out so everyone is happy, and/or we'd be happy to take a look at a PR if you are so inclined.
Note: we also paginate (just) the records in zone responses - just a heads up in case it's relevant to you.

pagination support has just been merged, PyPI release will be coming soon. It's off by default, to keep from being a breaking change, so needs to be enabled in config, e.g. config["follow_pagination"] = True
apologies for the wait. I'm going to close this ticket, but feel free to file a new issue or reopen this one if you run across any problems.


Fixed broken openssl docs links

This change is

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/d47c72f4c950214a63decb63a1ff06117cc4079a/


WIP: Instead of global data store it in an OPENSSL_CTX

This is built on top of the commits in #8728 (Make the EVP API available from within the FIPS module) and addresses the current issues in that PR. Not sure whether to replace that PR with this one or keep it separate.
The new stuff is in the last two commits. Essentially all global data in the core and evp code is moved into the OPENSSL_CTX instead. This was always the intention anyway (see #8760).
A new function "openssl_ctx_run_once" is introduced which is similar to RUN_ONCE except initialisation code is run once per OPENSSL_CTX. We also add a new function "openssl_ctx_onfree" which is similar to OPENSSL_atexit() except it runs when the OPENSSL_CTX is freed.
The ex_data global data is a bit of a special case and needs some separate handling since we can't store that in the normal way in the OPENSSL_CTX (because ex_data is used in the implementation of OPENSSL_CTX).
Having made all these changes it is then possible to share all the same initialisation and de-initialisation code between the FIPS provider and the default provider. We don't need to treat FIPS any differently. Everything is initialised "on demand" as it is normally.
WIP because of the dependency on #8728 and because there are various updates required to the internal documentation that I haven't looked at yet.

Just wondering (having not thought this properly through): would it be reasonable to register the "openssl_ctx_run_once" calls like the "openssl_ctx_onfree" ones and make them automatic?

Just wondering (having not thought this properly through): would it be reasonable to register the "openssl_ctx_run_once" calls like the "openssl_ctx_onfree" ones and make them automatic?

Where would you register them? As a hard coded list perhaps? There are pros and cons:
pro: you don't have to check all the time whether you've done the initialisation yet
con: initialisation is no longer "on demand" so you might end up allocating lots of resources that you don't end up using

fixup up pushed to address "make update" issues.

Another fixup to address a mem leak.

con: initialisation is no longer "on demand" so you might end up allocating lots of resources that you don't end up using

Even if registered before time (a fixed list is a good place), they'd only be called on context creation.  Does that necesarily imply a cascade of other initialisers being called independent of what gets used by the applications??

Question: did you have to put ex_data stuff in the global context for some reason, or did you just take "everything" in #8760 more literally than I meant it?
My thoughts, that I may or may not have shared, is that the internal ex_data stuff would remain global (note: global to the module that includes the ex_data object file)

Not sure whether to replace that PR with this one or keep it separate.

I think this should be an entirely separate PR.  There's nothing in this PR that should be inherently dependant on #8728, and having the two mixed in one PR makes it harder to review this one.

Question: did you have to put ex_data class data in the global context for some reason, or did you just take "everything" in #8760 more literally than I meant it?

Yes. This solves the problem of the ex_data_lock. By tying it to the lifetime of the OPENSSL_CTX we avoid all the issues we were having with freeing it on the provider side. I see no reason to treat that global data differently to any other global data. In fact its kind of weird not to. This makes things conceptually much simpler.

This makes things conceptually much simpler.

I disagree, especially on a conceptual level.  See it like this, the OSSL_EX_DATA_GLOBAL is class data (not class instance data), and with the changes made here, you have basically made it so that you define the class data in terms of instances of that class.  Conceptually speaking, that's not simple, not one bit.

I disagree, especially on a conceptual level. See it like this, the OSSL_EX_DATA_GLOBAL is class data (not class instance data), and with the changes made here, you have basically made it so that you define the class data in terms of instances of that class. Conceptually speaking, that's not simple, not one bit.

I think you are overcomplicating it. Think of OPENSSL_CTX as a scope. The OSSL_EX_DATA_GLOBAL is class data for all classes within that scope. The OPENSSL_CTX class of objects is slightly different to other classes in that there is only ever one instance within a given scope. I don't think this is a problem.

I updated this to remove the dependency on #8728.

I updated this to remove the dependency on #8728.

Thank you!

The reason you're getting build errors on Windows is the new inclusion of "internal/cryptlib.h" in include/internal/property.h, which is included by test/property_test.c.  The simple solution is this:
: ; git diff
diff --git a/test/build.info b/test/build.info
index ded3bd770a..2800c71d3e 100644
--- a/test/build.info
+++ b/test/build.info
@@ -503,7 +503,7 @@ IF[{- !$disabled{tests} -}]
     DEPEND[wpackettest]=../libcrypto ../libssl.a libtestutil.a

     SOURCE[property_test]=property_test.c
-    INCLUDE[property_test]=../include ../apps/include
+    INCLUDE[property_test]=.. ../include ../apps/include
     DEPEND[property_test]=../libcrypto.a libtestutil.a

     SOURCE[ctype_internal_test]=ctype_internal_test.c

These manuals need an update:

doc/internal/man3/ossl_method_construct.pod
doc/internal/man3/OSSL_METHOD_STORE.pod
doc/internal/man3/openssl_ctx_get_data.pod

Just wondering (having not thought this properly through): would it be reasonable to register the "openssl_ctx_run_once" calls like the "openssl_ctx_onfree" ones and make them automatic?

After a bit of "Doh!" moment I realised that we could do this with all of the openssl_ctx_init_index calls - and suddenly you don't need some of the run_once calls at all because a number of them were only there to initialise the index. Furthermore, I realised I wasn't using OPENSSL_CTX quite right and I could move even more initialisation code into the OPENSSL_CTX_METHOD "new" functions. This significantly simplifies things. Most code can just set up an OPENSSL_CTX_METHOD and it all just initialises itself when needed and frees itself when the OPENSSL_CTX_METHOD is freed. No need to call openssl_ctx_run_once or openssl_ctx_onfree at all.
There is still one spot where openssl_ctx_run_once is required. There are no places where openssl_ctx_onfree is now needed, although I have left the implementation there since I suspect it will be needed as we roll this out to more places in the code.
New commits pushed addressing the feedback and making the changes described above. Taking this out of WIP.

Just wondering (having not thought this properly through): would it be reasonable to register the "openssl_ctx_run_once" calls like the "openssl_ctx_onfree" ones and make them automatic?

After a bit of "Doh!" moment I realised that we could do this with all of the openssl_ctx_init_index calls - and suddenly you don't need some of the run_once calls at all because a number of them were only there to initialise the index. Furthermore, I realised I wasn't using OPENSSL_CTX quite right and I could move even more initialisation code into the OPENSSL_CTX_METHOD "new" functions. This significantly simplifies things. Most code can just set up an OPENSSL_CTX_METHOD and it all just initialises itself when needed and frees itself when the OPENSSL_CTX_METHOD is freed. No need to call openssl_ctx_run_once or openssl_ctx_onfree at all.
There is still one spot where openssl_ctx_run_once is required. There are no places where openssl_ctx_onfree is now needed, although I have left the implementation there since I suspect it will be needed as we roll this out to more places in the code.
New commits pushed addressing the feedback and making the changes described above. Taking this out of WIP.

The simple solution is this

Thanks for the hint. Should be sorted now. Also I updated the internal manuals as requested.

Updated to address @levitte's feedback.

So, what about https://github.com/openssl/openssl/pull/8857#discussion_r280357779?

(other than that, I'm not reasonably happy with this PR)

So, what about #8857 (comment)?

Responded to

Pusehd! Thanks.

(other than that, I'm not reasonably happy with this PR)
I suppose you meant now instead of not :)

(other than that, I'm not reasonably happy with this PR)

I suppose you meant now instead of not :)

Uhmmmm... yes!


arm: _FaultShow: fix typo MMFSR -> UFSR

The right param should be SCB_UFSR not SCB_MMFSR
Signed-off-by: qianfan Zhao<EMAIL_ADDRESS>

Codecov Report

Merging #9261 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #9261   +/-   ##
=======================================
  Coverage   52.46%   52.46%
=======================================
  Files         201      201
  Lines       25290    25290
  Branches     5286     5286
=======================================
  Hits        13268    13268
  Misses       9938     9938
  Partials     2084     2084

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 b8ca8cf...08db3bb. Read the comment docs.


Fix the answer for 287/1

aaaaa > replace aaAaa > insert aaAaa0

Thanks for the contributions. @choroba


Change name of subdirectories

Initial plan was to have separate projects for tests and libraries. As a result a project named csv-validation-tests was created and all code is currently placed in it. Rename this to csv-validation taking care of all the side effects.

TODO: Change directory names in .gitignore

TODO: Change directory names in .gitignore


Define client header to support distributed event sessionization

Generally, a docker command instantiation makes several http requests to a running registry. Processing these requests in the registry server to sessionize the request flow is a non-trivial problem. While we have a proposed Docker-Command header in https://github.com/dmcgowan/docker/pull/18, it would be smart to include a unique token for each command execution that is added in a header to support trivial sessionization.
Use cases of these session identifiers include producing usable metrics for private registries or added to outgoing webhooks (docker/distribution#42) for later processing.
An example of such a header might be as follows:
Docker-Command: push 3eed4669-d1e8-4753-9420-998e530386b1

The header could be added to all requests, from the client to the engine and beyond. If taken that far, such a header could support distributed debugging or begin to enable dapper-like analysis.

I would like this as well, let me know if there is anything I can do to help.

Have you thought about two things:
1 - instead of using the cmd in the header used some uuid/session-id?  For a couple of reasons. It feels like a bit of security risk to include info from the cmd line on each request. Since I doubt you'd want to include the entire cmd on there you'll end up with a subset and run the risk of a dup from a previous run. Also, the same command run twice should result in 2 different sessions.  Non, CLI users (meaning normal API users) won't have a cmd line to include.
2 - having the daemon generate the ID on the first request and then each subsequent request include it.  Granted this assumes there is always just a single first request instead of multiple, which I don't know is right or not.

Oh, and if it is just a uuid then rename it Docker-Session-ID  :-)

@duglin

1 - instead of using the cmd in the header used some uuid/session-id? For a couple of reasons. It feels like a bit of security risk to include info from the cmd line on each request. Since I doubt you'd want to include the entire cmd on there you'll end up with a subset and run the risk of a dup from a previous run. Also, the same command run twice should result in 2 different sessions. Non, CLI users (meaning normal API users) won't have a cmd line to include.

As proposed in the ticket, the header would only include the name of the command (ie "push", "pull", etc.) and a session id, which is created for each run of the docker client, rather than the full cli command. Effectively, a "session" is one instantiation of a command and the id is dropped afterwards. I've clarified that above so please check that it's sufficient.

2 - having the daemon generate the ID on the first request and then each subsequent request include it. Granted this assumes there is always just a single first request instead of multiple, which I don't know is right or not.

Operations against the registry, such as push and pull, lead to several related requests. They would all retain the same docker session id.

If all you want is a unique header/ID for a group of messages I would prefer if you dropped the cli cmd part of it because if people are using the API directly (w/o the CLI) then the grouping isn't necessarily tied to a CLI command.  The grouping could be for some notion that Docker itself might not know about. If we need to associate the grouping with what's going on within the CLI then I would prefer for the cli logs to have that mapping.  The daemon doesn't really need to know it.

@stevvooe do you think it's still actual?

@LK4D4 I'd like to explore this but using a structured tracing system, like open tracing. It might also be more valuable to start this effort on the server-side and grow it to the client, rather than starting with the client.
Up to you whether we close and open a more concrete proposal.

@stevvooe Yeah, if you think that we should start from server-side then it's better to open new issue.


Support HTTP/2

Investigate the possibility of switching the http requests library to symfony/httpClient to support http2 which could dramatically speed up the parsing of import/exports.

implemented #9


Add rclone copy stage

[ ] Test functionality (https://github.com/leap-stc/chirps_feedstock/pull/1)
[ ] Archive https://github.com/leap-stc/test-transfer
[ ] Document difference between this and old copy stage. Decide on what to do with the old one.

Moved the entire config to env variables to avoid accidentally printing the secrets in case of an error.

Ahhh I just realized that we were using the custom image "quay.io/leap-stc/rclone-beam:2024.09.24" in the test case.
It is kind of a bummer that we now have to specify that in the feedstock (disconnected form this stage). It just took me a while to understand what the issue here](https://github.com/leap-stc/chirps_feedstock/pull/1) was (rclone is not installed). I guess we need a better way to detect this issue here?

Ok nice I was able to read this (authenticated, cause this is just a test bucket) from OSN:
import xarray as xr
import s3fs
fs = s3fs.S3FileSystem(profile='osn-m2lines-test', client_kwargs={'endpoint_url': 'https://nyu1.osn.mghpcc.org'})
fs.ls('m2lines-test')
mapper = fs.get_mapper("m2lines-test/test-rclone-stage/chirps-global-daily.zarr")
xr.open_dataset(mapper, engine='zarr')

Lets finish this bad boy.


One or more required libraries could not be found - RequireJS

When I open the Brackets program and got the following error:
Oops! One or more required libraries could not be found.
RequireJS
If you're running from a local copy of the Brackets source, please make sure submodules are updated by running:
git submodule update --init
If you're still having problems, please contact us via one of the channels mentioned at the bottom of the README.
Reload Brackets
Version: 1.13

If this is happening with an installed build, then it maybe due to a corrupted installation. Try reinstalling and notify if the problem persists.

Run,
git submodule update --init
if it fails read the error messeage
add the required module to your .gitmodules file in my case it was:
[submodule "src/extensions/default/PhpTooling/vendor/jetbrains/phpstorm-stubs"]
path = src/extensions/default/PhpTooling/vendor/jetbrains/phpstorm-stubs
url = https://github.com/JetBrains/phpstorm-stubs.git


Label - binding issue in case of int value

Label doesn't handle correctly offset and multiply in case when value is int type.

From Slack:
tobias_r 7:56 PM
i already have it running, but i'm still getting my battery state of charge (ratio, so multiply * 100) as "1%" for a full 100% battery, and my ambient pressure (in Pa, multiply set to 0.01 to get hPa) as "101142"
7:57
ttgo watch v1, current firmware, current designer, signalk 1.42.0
7:57
strangely enough, the multiply setting seems to work when I use a gauge...


When I download the package, it throws a husky install error

Describe the bug
➜ pnpm i
 WARN  deprecated<EMAIL_ADDRESS>Renamed to rehype
Packages: +383
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Progress: resolved 424, reused 383, downloaded 0, added 0, done
<EMAIL_ADDRESS>Running postinstall script, failed in 506ms
<EMAIL_ADDRESS>postinstall$ husky install
│ husky - .git can't be found (see https://typicode.github.io/husky/#/?id=custom-directory)
└─ Failed in 506ms
 ELIFECYCLE  Command failed with exit code 1.

Maybe the script should write npx husky install like this? And I don't understand why I need to execute this command when installing dependencies.
Reproduction

pnpm i

Expected behavior
Correct installation of dependencies
System Info
System:
    OS: macOS 12.6
    CPU: (8) arm64 Apple M1
    Memory: 145.73 MB / 8.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 16.14.2 - /usr/local/bin/node
    Yarn: 1.22.18 - /usr/local/bin/yarn
    npm: 8.19.2 - /usr/local/bin/npm
  Browsers:
    Chrome: 106.0.5249.91
    Safari: 16.0
  npmPackages:
    islandjs: ^0.2.6 => 0.2.6

Additional context

Validations

[X] Read the docs
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.

The script should not be executed in project, it is only used in development environment.And i will remove it in postinstall script :)

I have fixed it in v0.2.7


Docker plugin image does not provide arch requirements

Summary
I've tried to troubleshoot this for hours, until I realized that there are no arch defined for image and everything is only for amd64 (or x86 more likely). While I was trying to set this up from arm64/aarch64 (whatever you call it).
root@ubuntu:~# docker plugin install rexray/s3fs S3FS_OPTIONS="allow_other,use_path_request_style,nonempty,url=https://sgp1.digitaloceanspaces.com" S3FS_ENDPOINT="https://sgp1.digitaloceanspaces.com" S3FS_ACCESSKEY="..." S3FS_SECRETKEY="..."
Plugin "rexray/s3fs" is requesting the following privileges:
 - network: [host]
 - mount: [/dev]
 - allow-all-devices: [true]
 - capabilities: [CAP_SYS_ADMIN]
Do you grant the above permissions? [y/N] y
latest: Pulling from rexray/s3fs
5fa993fcb5a9: Download complete
Digest: sha256:8f1ededd08deb86093ece2c80defa263c9aeb3eadfead6b17fe7bd767e417df9
Status: Downloaded newer image for rexray/s3fs:latest
Error response from daemon: dial unix /run/docker/plugins/1989543fde49ff064586f82499ed4d7cd89607bacb9efcdc58bea3f82d2dee4b/rexray.sock: connect: no such file or directory

Expected Behavior
Image clearly defines arch (see Octoprint as example)
Actual Behavior
Architecture is not defined, which leads Docker daemon to pull it regardless the fact that amd64 will never run on arm64 or any other architecture for that matter.
Steps To Reproduce

Try install plugin on say raspberry pi 4 ubuntu 64-bit.

Also plugin does not build on arm64 architecture:
root@ubuntu:~/rexray# make DRIVER=s3fs docker-build-plugin
find: warning: the -d option is deprecated; please use -depth instead, because the latter is a POSIX-compliant feature.
find: paths must precede expression: `1'
cp -f .docker/plugins/s3fs/.Dockerfile .docker/plugins/s3fs/Dockerfile
cp -f .docker/plugins/rexray.sh .docker/plugins/s3fs/rexray.sh
sed -e 's/${DRIVER}/s3fs/g' .docker/plugins/rexray.yml > .docker/plugins/s3fs/rexray.yml
docker run -it \
  -v "/root/rexray":"/go/src/github.com/rexray/rexray" golang:1.9.1 \
  bash -c "cd \"src/github.com/rexray/rexray\" && \
  XGOOS=linux XGOARCH=arm64 GOOS= GOARCH= go generate && \
  GOOS=linux GOARCH=arm64 go build -tags 's3fs' -o \"rexray\""
cp -f rexray .docker/plugins/s3fs/rexray
docker plugin rm rexray/s3fs:0.11.4-2 2> /dev/null || true
sudo rm -fr .docker/plugins/s3fs/rootfs
docker build \
  --label `driver="s3fs"` \
  --label `semver="0.11.4+2"` \
  -t rootfsimage .docker/plugins/s3fs && \
  id=$(docker create rootfsimage true) && \
  sudo mkdir -p .docker/plugins/s3fs/rootfs && \
  sudo docker export "$id" | sudo tar -x -C .docker/plugins/s3fs/rootfs && \
  docker rm -vf "$id" && \
  docker rmi rootfsimage
Sending build context to Docker daemon  36.93MB
Step 1/14 : FROM alpine:3.5
3.5: Pulling from library/alpine
no matching manifest for linux/arm64/v8 in the manifest list entries
make: *** [Makefile:302: .docker/plugins/s3fs/rootfs/rexray.sh] Error 1

Hi @akamensky did you manage to compile RexRay for ARM?

Requesting Rexray for arm64. These machines are so much cheaper on AWS but unable to use them due to missing rexray plugin. Is there any plan to release for arm64?

Looking at https://github.com/rexray/rexray/pull/865 it seems like arm64 should be supported but seems like not the case currently. What's missing from getting proper arm support?


Huestacean wont detect my monitor?

ive given admin permissions, ive uninstalled and reinstalled the microsoft thing countless times. ive reinstalled huestacean countless times. im connectws by dvi from my monoprice 144hz monitor to my gtx 970, the only thing i havent done is installed Cmake and QT, do i need those?

You don't need cmake or Qt.
What do you mean by "won't detect my monitor" exactly? Do you mean the monitor drop-down is just empty, or something else? Which Release / Releases have you tried?

Also, hardware: Is this a laptop with a hybrid GPU? If so, it might be #25

I just have a pc. the monitor drop down has Monitor 0 (1920x1080) however its just the default flashing colors. ive tried 2.0 alpha 2 and 3.

Not sure what's going on here. It could either be failing to connect to the bridge or the DXGI screen capture calls could be failing.
I've attached a huestacean.exe with a bit more logging. If you could extract that into your huestacean directory, replacing the existing huestacean.exe, then run it from a command prompt (or run "start huestacean with command prompt.bat") , that might reveal something.
huestacean.zip

Are you using Windows 7? If so, see #73 and let me know so I can close this.

On Sat, Apr 7, 2018 at 7:26 PM Brady Brenot<EMAIL_ADDRESS>wrote:

Are you using Windows 7? If so, see #73
https://github.com/BradyBrenot/huestacean/issues/73 and let me know so
I can close this.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/BradyBrenot/huestacean/issues/66#issuecomment-379506371,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Aj5y9B5xmo1liHdtmcJ4v7OXCp7_hnRWks5tmUsSgaJpZM4S6ZbR
.

Nope

Can you upload dxdiag here?  -- https://help.ea.com/en-us/help/pc/how-to-gather-dxdiag-information/ has decent instructions for that

Okay so, I had a similar problem with my old laptop (which is hooked to my TV via HDMI). To get the lights syncing, try to lunch "NVIDIA Control Panel" and go to "Adjust Image Settings with Preview".
I don't know how or why but this is the only thing I needed to do.


Buymeacoffee integration

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

it seems the coffee icon does not do the default left alignment or when the configuration is set to 'Left'

@rpstreef thanks, could you open a separate ticket with details on the bug? thanks


tsmf updates/fixes for gstreamer decoder on X11 platform

Use decodebin2 instead of old decodebin - decodebin has issues
Use autovideosink - xvimagesink does not work with cards with no xv ports available and cant be used if wanted to use the fluendo hardware accelerated playback codec
Use autoaudiosink - let gstreamer choose best audio playback plugin
Catch when autosinks add known elements so that we can manipulate properties on them
Adjust caps of various media types to work better with gstreamer, some codecs are picky about having certain fields available
Remove unneeded plugins such as "ffmpegcolorspace" and "videoscale" - these do not work correctly with fluendo hardware accelerated playback codec
Name audio/video gstreamer elements better for easier debugging
Update gstreamer pipeline and element properties to handle playback better
Detect when valid timestamps are available for buffer from server and try to account for when they are not valid
Start time is much more reliable then end time from server for various media formats, so use it when possible to make decisions instead of end time
Do not rebuild gstreamer pipeline for a seek(very expensive), instead reset gstreamer time to 0 and maintain offset between real time and gstreamer time
Change buffer filled function back to a buffer level function, so that we can use buffer level to make better choices above gstreamer decoder in tsmf
Remove ack function from gstreamer, instead rely on ack thread to handle acks
Rework X11 gstreamer code to handle various videosinks which implement the XOverlayInterface and to keep more detailed information on the sub-window that is used for display
Add check to see if a decoder is available for telling the server the client various media types
Add in support for M4S2 and WMA1 media types
Fix flush message handling, they are for individual streams and not the entire presentation
Delay eos response to try to allow more time for buffers to be loaded into decoder, as we anticipate acks to server and the server will issue stop as soon as we ack eos.
Fix issue with geometry info being ignored when resent for new streams within existing presentation
Fixed volume level initialization issue when a stream is stopped and restarted
Attempt to sync video/audio streams...because we run two different gstreamer pipelines - they can enter pause/playing states at different times and are thus not synchronized. Attempt
to adjust video buffer timestamps based on difference between audio/video running time to account for this difference. This logic accounts for a huge improvement in audio/video sync(ie. lip sync to words)

@freerdp-bot would  you be so kind and test this nice PR ?

@bjcollins nice PR.
Guys with the merge rights, we have a branch that contains tons of fixes for the TSMF channels, some are possibly conflicting with this PR. I'd suggest that we wait before merging this one.

I looked at the output and I think my PR is probably flawed in terms of gstreamer 1.0 support as I was focused on gstreamer 0.10, I will look at fixing and resubmitting along with addressing various comments made against the PR.

@bjcollins don't invest too much in checks, we have a PR addressing all the checks that should be done and aren't

Ok. I just did something quick checks based on those few Stream_New calls, finished incorporating your comments also. But need to make fixes and do some Gstreamer 1.0 testing. I made some changes that were not compatible across both versions of gstreamer. Hoping to resubmit today.

Ok. I made some changes based on the feedback so far and fixed the gstreamer 1.0 build issue from my first commit. Retested both a gstreamer 0.10 and gstreamer 1.0 build.

lgtm, +1

Do I need to do something more to resolve the conflict? My original checkin failed, but I have since commited a fix to that.

@bjcollins Looks like you need to rebase your branch.

Ok, I updated I fixed this properly now.
@akallabeth Thanks for hint.  I do not use git much, but I also did not realize I was actually in conflict. Just thought it was still saying it was broke due to my first broke commit.

Rebased this again. Hopefully, it can be reconsidered now.

@awakecoding @hardening @bmiklautz This branch looks good to me, is there something preventing merging?

Nope, It looks good to me. We were waiting for the channel hardening to be in to consider merging this one. Now that it's upstream, let's merge.


Automator: update istio/api@master dependency in istio/istio@master

Generated by Automator - 2021-06-30T19:04:17+00:00

@istio-testing: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-security-multicluster-tests_istio
56e4ad80a4cfc0612c5716722cc27a5120be4db8
link
/test integ-security-multicluster-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

Already merged in another PR.


Margins Not Exporting

Heya! Firstly, thanks for all your hard work, this plugin is a lifesaver.
I have noticed that the margins are suddenly not exporting anymore? I can set them to whatever I want, but the exported document always has default 1" margins. I have tried all settings (None, Small, etc), changing to 0, restarting Obsidian, reinstalling, updating, etc. All margins are coming out the same.
I have attached screenshots of the in-app settings all set to 0/None, and the resulting PDF to show what I mean.
Thanks!

This Is a Test Note.pdf

Sorry, it does have issues, it was fixed in version 1.5.5.

Sorry, it does have issues, it was fixed in version 1.5.5.

No worries at all, I appreciate you looking into it so fast! I tried the update, but it's still being weird (although improved!)
Honestly, all good, just thought I'd mention it. It's still taking a huge amount of tedium off my hands, so much appreciated, lol

On your screenshot, margin: none, but showing the custom margin form, there's a problem with the linkage, although I haven't reproduced it. Other than that, are there any weird questions?


OS X file limit problem

I following documentation for tune file limit, I run command launchctl limit, show following:
	cpu         unlimited      unlimited
	filesize    unlimited      unlimited
	data        unlimited      unlimited
	stack       8388608        67104768
	core        0              unlimited
	rss         unlimited      unlimited
	memlock     unlimited      unlimited
	maxproc     709            1064
	maxfiles    256            unlimited

seems my soft and hard limit is 256 and unlimited, Then I create a file /etc/launchd.conf , and paste limit maxfiles 16384 32768 to the file, and restart my computer.
then run launchctl limit, show same limit, not changed.
then I run vernemq start, warring again:
$ vernemq start
!!!!
!!!! WARNING: ulimit -n is 4864; 65536 is the recommended minimum.
!!!!

In OS X 10.10

Aha, seems Apple changed this with Yosemite, we need to update our doc then.
Have a look here:
http://docs.basho.com/riak/kv/2.1.4/using/performance/open-files-limit/#adjusting-open-file-limits-in-yosemite
Thanks, @TangMonk !

Thanks!


Get working with github code spaces

This converts the project to publish to github packages instead of a custom container registry so that github code spaces can make use of it

Resolves #2

Thanks for the PR, but this isn't necessary. codespaces will be able to use this from the Azure container registry once they update the CLI tooling in their build environment.


Allow invoking hover when source node is still over drop target

For cases when no preview is used we would like to have option to receive hover in drop target when source node is still over drop target and pointer is outside of it.
Currently hover is not invoked when drag is started source is still over target and mouse is moved.

Thank you for submitting this pull request, however I do not see a valid CLA on file for you. Before we can merge this request please visit https://yahoocla.herokuapp.com/ and agree to the terms. Thanks! :smile:

LMK when the diff's ready for review

@longlho i think it's fine now... it took a while to go back to it anyway:

Example is added
It's aligned with master

Additionally:

I've updated deps,  yarn.lock / package-lock.json updated
I've fixed npm run dev, added some simple dev server
I've moved default example to sortableLists folder
I've updated package.json scripts
Removed some dead code from Touch.js
Updated Readme with installation steps for npm and yarn etc..
Updated import in examples
Some other minor cleanups in examples

Happy reading...

thanks! published as 0.8

People have been wanting to do this for years, so good work @xhubbsaxo. Here are some notes for people who can't quite see how it works immediately:
A quick read reveals it is DOM Node.contains that determines whether hover will still fire, which is different from "over" as the term is normally used -- there is no hit testing here, you have to keep the drag source node inside the target's DOM node.
It appears (without testing) that multiple nested parent drop targets will all fire if this condition is met -- presumably in the expected order.
The example's CSS looks like black magic, and as usual for CSS, that's because it is:

The parent list is position: relative, and so are the children. The first list item is relative to the parent; the rest are relative to their preceding sibling's pre-shifted position. Yes, CSS positioning is weird.
The code simply updates a top: 123px property on:

The drag source, whose top follows the mouse displacement
Any elements that need to be shifted +-$height to accommodate

The top values do not affect the relative position of the elements that come after.

All this raises one question for me: does this code hold up to a usage pattern where DOM nodes are moved around within a parent, instead of CSS-shifted, and each item has a drop target? It looks like it doesn't.

The example depends on the drop target being the container and having uniform or at least known item heights in px:

https://github.com/yahoo/react-dnd-touch-backend/blob/aad39fac58270f28b4d088b5acc074814e114403/examples/hoverOutside/js/List.jsx#L52-L53

If you followed the classic method of having one drop target per list item, none of them would Node.contains(sourceNode).

If you're trying to make this locked sortable, a more obvious way to achieve axis locking without studying years at the CSS monastery is to use a custom drag layer, and draw custom drag previews with only one of x or y displacement passed down. You will still be limited to uniform/known item heights, but that's not so bad for the UI patterns that really benefit from this feature.
There are a few API additions (possibly higher level than the backend, so it could be configured differently for different parts of an app) that might support more usage patterns here. Making targetNode.contains(sourceNode) a configurable function shouldHover(targetNode, sourceNode): bool somewhere in the API might help. This is the exact point at which react-beautiful-dnd diverged -- using weighted hit testing just wasn't possible. That signature might not be sufficient -- you might want to pick out of many options which target(s) is/are the best ones to fire hover on. I'm not sure how bubbling should work, or how it could remain fast.

@cormacrelf thx for feedback. I will analyze it and go back to you in couple of days. The first very quick question would be:
Are other examples correct? From my point of view List itself is a drop target . Having drop target on each of the items means that you would like to drag one item into inside of second one(or just drag sth into the item itself) right?

I'm really pointing to this, the canonical way of building it: http://react-dnd.github.io/react-dnd/examples/sortable/simple
The hover handler checks which half of the list item you're hovering on, and might trigger a reorder.
It also happens to be the basis for @angular-skyhook/sortable, which I wrote.


fix: correct naming in function for exporting css parts

Alaska Airlines Pull Request
Checklist:

[x] My update follows the CONTRIBUTING guidelines of this project
[x] I have performed a self-review of my own update

By submitting this Pull Request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Pull Requests will be evaluated by their quality of update and whether it is consistent with the goals and values of this project. Any submission is to be considered a conversation between the submitter and the maintainers of this project and may require changes to your submission.
Thank you for your submission!
-- Auro Design System Team
Summary by Sourcery
Fix the naming in the 'exposeCssParts' function to ensure correct CSS part exports and update the README.md with the latest auro-icon module version.
Bug Fixes:

Correct the naming in the 'exposeCssParts' function to properly export CSS parts for styling.

Documentation:

Update the README.md to reflect the new version of the auro-icon module.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Feature: Query Parameters must be 'stringified' for them to work

See the test RpcRoundTripTests.CreateAndParameterizedQueryRoundTripTest for an example where a struct must be converted to a to work.
https://github.com/ProphetLamb/Surreal.Net/blob/3ed84b191f60a98dd82837beec744d3e71129ae6/tests/Core.Tests/RoundTripTests.cs#L93

Fixed in #26

Yeah looks good!


Make the Inject() method optional

For components that don't require dependencies, it seems silly to require them to have a no-op Inject() method

Thank you SO MUCH for your feed back Mr. @ooesili  I will take you suggestion under advisement.


How to use c++ to do inference with .pth model trained by mmdetection

How to use c++ to do inference with .pth model trained by mmdetection. Is there any solutions?

We do not support c++ inference at the moment.

You can easily convert the models to ONNX, and do whatever you want


WiX: taller side artwork

For upcoming L&F changes in #236

Updated with 4x size for hi-dpi displays


No API, no overlay since updating to Vulkan SDK/RT <IP_ADDRESS>

It seems to affect old builds and the latest build that I'm working on right now (MinCity)
So I can't capture with RenderDoc on builds that used an older VulkanSDK version, or the latest (<IP_ADDRESS>)
This is the only thing that has changed on my PC - so are you by chance having a similar issue if you update the Vulkan SDK, and install the Vulkan RT <IP_ADDRESS> ?
Just want to also say I really dig RenderDoc - its clearly the most stable and best tool of the like out there - good job!
I should also note I tried uninstalling RenderDoc, deleting the directory and reinstalling RenderDoc 1.4 (installer version). Then updating the files in the directory with the latest RenderDoc nightly (9/29/2019) - same issue "no api" no RenderDoc overlay!
Thanks!
Attached a log file, if it will be of any help:
RenderDoc_2019.09.30_14.10.16.log
note: the WSA connection forcibly closed pops into the diagnostic log when I close the app(MinCity)

I also tried manually enabling the RenderDoc layer in the Vulkan configuration tool, that didn't seem to help.

The vulkan SDK version has very little to do with how RenderDoc works so the version should be immaterial. I've tested with the latest SDK and it works fine for me.
On the launch process panel within RenderDoc do you have a banner telling you that the Vulkan layer is not configured correctly? If the SDK had a bug or problem that caused the implicit layer registration to be lost then that might explain what you're seeing:

Can you capture a simple test program, like vkcube that's included with the SDK? Or does that have the same issues?
You should absolutely never use the Vulkan configuration tool with RenderDoc nor use any other way of enabling the vulkan layer than launching your application through RenderDoc. The config tool in particular has caused many problems in the past so it should be avoided, and enabling the vulkan layer in an unexpected way might break things because that's not how RenderDoc is supposed to be used.

Well, I rolled back drivers for my AMD Radeon 290 from 19.9.2 to 19.6.2 and now RenderDoc is capturing MinCity again! I'm not entirely sure why - just happy to see its working again.
If you need any more info / logs let me know.
I did try the Vulkan Cube before I rolled back and it would not capture either.

I've tested with them and the 19.9.2 drivers do work with RenderDoc, and generally a driver won't break things so badly that RenderDoc doesn't load into an application at all, which again suggests that this is some system problem and not a RenderDoc bug. You'd need to investigate the loader to know why it's not loading the layer.
Closing this if you have it working now.


[QUESTION] Can this be used to generate custom-only docker compose configs, or do we have to use a predefined template for it to work?

Currently, I understand we can use 'custom' backends, etc. in the prompt by choosing custom services and defining the Docker image to pull, env vars, network exposure, etc.
However, I am encountering the issue that if you only are working with a custom service definition and no other templated service definitions the program hard-errors on "No templates selected." and aborts.
Is this by-design?  Or is this a bug?  (If this is a bug I'll re-file as a Bug type issue and follow your layout/template)

Hi @teward. That sounds like a bug to me ...

I'll file a bug then on this, thanks.


Fix PyLayout and restrict PyRef::as_ref for non-native types

Fix #782.
Simply I make get_ptr a private method of PyCellInner.
This change forbids to get a base object of #[pyclass(extends=NativeType] style pyclasses.
Current &PyAny style API uses mainly a pointer of a pointer as an object handle, and integrates really badly with new PyCell :persevere:

FYI, this is a valid implementation of get_ptr of PyAny
    unsafe fn get_ptr(&self) -> *mut PyAny {
        crate::Python::assume_gil_acquired().from_borrowed_ptr(self as *const _ as *mut _)
            as *const PyAny as *mut _
    }

... but I'm not sure we should do so.

I've had a read through and looks fine. It's a shame to lose the safe API to access the super class.
I want to think for a bit longer and see if I can figure out another way to solve this.

It's a shame to lose the safe API to access the super class.

Yeah, but since native type inheritance was broken in PyO3 < 0.9, it's a not breaking change and not very problematic.

Agreed. I suggest we merge this PR to fix the safety issue, and I'll create a separate issue for finding a safe API for upcasting.


Bump to 0.2.0

@bors-servo r+

:pushpin: Commit e44f888 has been approved by Ms2ger

:hourglass: Testing commit e44f888 with merge b73de9e...

:sunny: Test successful - status-travis


FIX solver install only depending on global requirements

Fixes #690

Codecov Report

Merging #691 (7085b62) into main (90ceb5c) will decrease coverage by 0.37%.
Report is 1 commits behind head on main.
The diff coverage is 6.66%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #691      +/-   ##
==========================================
- Coverage   54.97%   54.61%   -0.37%
==========================================
  Files          45       45
  Lines        2974     2992      +18
  Branches      554      559       +5
==========================================
- Hits         1635     1634       -1
- Misses       1214     1232      +18
- Partials      125      126       +1


Feat: add integration parameters to super json helpers

Description

This PR adds support for integration parameters to super.json helpers.
depends on 152
Motivation and Context

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] I have updated the documentation accordingly. If you are changing code related to user secrets you need to really make sure that security documentation is correct.
[x] I have read the CONTRIBUTION_GUIDE document.
[x] I haven't repeated the code. (DRY)
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.

Included in #152


Doesn't work on a self-hosted runners behind a proxy server

Related to #4

Fixed the issue with #24 .

@tanmayghosh2507 I'm still seeing the same issue when running on a self-hosted linux agent behind a proxy server.

@tanmayghosh2507 the problem is solved when running on a github linux agent. But the self-hosted agent behind the proxy is still an issue.

@tanmayghosh2507 here's the log

Hi @sokunna Seems like a network issue while connecting to our server to download the symbol executable from your end. Can you check on your end if you get the similar issue while trying to connect to an external server from your hosted agent, if possible?


Coverall Errors: wrong filepath setup?

From #1483, the result all appears incorrectly and are marked with either "Source not available" or "incorrect hash"

@PPsyrius, I can see source now. Try to sign in on coveralls.io with your GitHub account.

Oh, that explains it


chore(main): release 1.2.14

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

Deploy to GH Container Registry (#320) (246ca16)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/somleng/sms-gateway/releases/tag/v1.2.14 :sunflower:


🔧 footer hello links

First PR on M2 Chip
PR Type

[x] Bugfix

Context

[x] Closes #5900

mmm

I would also

deleted completely Contribute page from this codebase (as we want maintain less same files)
link Contribute to https://hello.kodadot.xyz/be-part-of-kodadot/join-as-a-developer

https://hello.kodadot.xyz/be-part-of-kodadot/join-as-a-developer

Done, do we keep CONTRIBUTING.md?

I would also love to have tutorials in the footer:
https://hello.kodadot.xyz/tutorial/

@JustLuuuu is everything oki?

Nope wait for last commit

😢


git "commit-msg" hook isn't called when I commit

VSCode Version: 1.48.2
OS Version: Linux x64 5.8.3-arch1-1

Steps to Reproduce:

initial an angular project
add "commitlint" support and add angular profile
add husky hooks in packages.json
try to use a commit that doesn't meet specifications
it commits successful but shouldn't

Does this issue occur when all extensions are disabled?:

After I reboot the computer, now It works fine. Sorry.


Poll every 500ms to activate login button

There's another variant of issue #8352, where the form is initially
blank, but the user later types in a username which causes Firefox to
autofill the password field at this point in time, rather than on
initial pageload.  This does not trigger an input event, so the submit
button is never enabled.  To workaround this, I've changed setTimeout to
setInterval, so the page continually polls every 500ms.  This also means
we can remove the input event handlers, because the poll will pick up
the changed fields quickly anyway.
Signed-off-by: Tim Serong<EMAIL_ADDRESS>

@kmkanagaraj it was Firefox on openSUSE, some version slightly less than 34 (it definitely occurs in v24, which I've still got on an old Debian box but that's comparitively ancient). Since updating my main desktop to Firefox 34, I can't reproduce anymore, which suggests FF is triggering the right event now when the password autofills after manually entering the username.
So, this bizarre edge case seems to only be a problem if you don't have the latest & greatest browser. IMO there should be no real harm in taking this patch to support slightly older Firefoxes (a 500ms poll checking the value of a field is surely vastly less load than a random average web page left open with ads, share buttons and all that other junk), but OTOH, you could just say "please upgrade your browser"...

@tserong @kmkanagaraj I am going to close this since the form works as expected in new versions of firefox


Unable to swipe to bottom of sidr menu on mobile device when menu is taller than viewport

I have implemented the Sidr menu on a Drupal site - see http://sidr-txlg.pantheonsite.io/. The menu is taller than the phone's viewport, and there are some undesirable effects when trying to swipe down to the bottom of the menu.
When you first click the hamburger menu to trigger opening of the sidr, everything looks fine. However, when you start to swipe down to see the rest of the menu, rather than the sidr menu swiping as you might expect, the body moves down quickly, and the sidr moves down slowly. Even when you scroll to the bottom of the body, you still aren't at the bottom of the sidr menu. See attached screenshots - even the 'Trying to swipe to the bottom:' screenshot hasn't reached the bottom of the menu, there is a search bar at the bottom that is never visible.
This is only apparent when viewing the website on an actual mobile device - if you check it out in Chrome or Firefox using the dev tools, this behavior isn't apparent.
I have tried a number of different things, including changing the overflow-y on the div.sidr to either visible or scroll, adding (unsupported?) -webkit-overflow-scrolling: touch; to div.sidr, changing the height from 100% to a fixed height to make it even taller, but nothing seems to change this.
Thank you for the great plugin, but I would appreciate any help with this. If you know of any examples where a tall sidr menu has been used without this issue, I'd love to compare them to see what they've done differently.
Sidr menu after first opening:

Trying to swipe to the bottom:

I have found a potential workaround, but this behavior doesn't seem ideal. When I added 400px of padding to the bottom of the search bar that was previously unaccessible via swiping down, it now is accessible. Seems like Sidr needed some extra space at the bottom in order to have the swipe functionality work better.


Automated cherry pick of #3837: redis prepaid instance create bugfix

Cherry pick of #3837 on release/2.12.
#3837: redis prepaid instance create bugfix

Codecov Report

:exclamation: No coverage uploaded for pull request base (release/2.12@5faa9d3). Click here to learn what that means.
The diff coverage is n/a.

@@              Coverage Diff               @@
##             release/2.12   #3838   +/-   ##
==============================================
  Coverage                ?   6.92%
==============================================
  Files                   ?     500
  Lines                   ?   84433
  Branches                ?       0
==============================================
  Hits                    ?    5850
  Misses                  ?   78089
  Partials                ?     494

Flag
Coverage Δ

#aFlag
6.92% <ø> (?)

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 5faa9d3...f3cab30. Read the comment docs.

/lgtm

/approve

/approve