Add high-level overview to docs

Create a schematic diagram (similar to https://e3sm-project.github.io/zppy/_build/html/main/schematics.html) on how zstash operates, in the HPSS, Globus-HPSS, no-HPSS cases.

From @TonyB9000's suggestion on #261: Graphical/pictorial representations of steps depicting tape-archive, local caches, final destinations, etc with create and extract would probably be useful someday, for HPSS and non-HPSS usages


Added confirmation dialog to database delete action

Refers to merge request : https://github.com/PHOENIXCONTACT/MORYX-MaintenanceWeb/pull/40

@VladPxC you might want to have a look here. Starting with our .net5 support wemoved the maintenance to be part of MORYX-Core. Your change makes a lot of sense to me so we would apply it here as well 👍


Correction for raw affiliation Institut Curie, Université PSL, Sorbonne Université, CNRS UMR3244, Dynamics of Genetic Information, Paris, France

Correction needed for raw affiliation Institut Curie, Université PSL, Sorbonne Université, CNRS UMR3244, Dynamics of Genetic Information, Paris, France
raw_affiliation_name: Institut Curie, Université PSL, Sorbonne Université, CNRS UMR3244, Dynamics of Genetic Information, Paris, France
new_rors: 04t0gwh46;013cjyk83;02en5vm52;02feahw73;02q6fa122
previous_rors: 04t0gwh46;013cjyk83;02en5vm52;02feahw73
works_examples: W3195324000
contact: d272ea48106d4735349e8deea6512e69:62f85d59a9ae4e27447d51f767 @ sorbonne-universite.fr

This issue was accepted and ingested by the OpenAlex team on 2024-12-19. The new affiliations should be visible within the next 7 days.


"In a two-stage address translation, is it possible to configure VSatp as sv39 and hgatp as sv48, or VSatp as sv48 and hgatp as sv39?

Yes.


check raftcmd term.

Fix #1317
Still working on detailed test.

Ready to review.
/cc @BusyJay @siddontang @ngaut @zhangjinpeng1987

@siddontang PTAL. I've add struct CbContext to carry data that engines need to pass back to upper level.

PTAL @siddontang @BusyJay
I see no better way other than add the new context. We might rethink it later.

LGTM
PTAL @zhangjinpeng1987

LGTM

PTAL @BusyJay

LGTM


fix: react native adjustments

Related https://github.com/libp2p/js-libp2p/issues/2136

This is the app, very basic so far: https://github.com/ipfs-shipyard/js-libp2p-react-native

Actually it sort of does but generators don't appear to have the Symbol.asyncIterator property.

The crypto situation is pretty dire, from what I can gather there's no SubtleCrypto support and Facebook's response to questions about adding it were lukewarm.
This rules out simply following the browser path in modules with node/browser support since they depend on SubtleCrypto.
We could shim in pure-js versions of everything but crypto is such a bottleneck for us that doing everything in js on your phone is likely to melt it.
The community response yielded react-native-webcrypto but it's incomplete and only works on Android.
react-native-webview-crypto is an interesting hack though the library it depends on has a showstopping bug that's only had a PR to fix it open for three years.  It also involves stringifying and copying all data to be encrypted/decryped to/from a webview - I haven't measured it but common sense says that will not be a performant approach.
We could patch the library to fix the bug and transfer the Uint8Arrays but that will break clever memory optimisations elsewhere because the underlying Uint8Arrays will become unusable after the transfer.

The other approach is to follow the node path instead and use rn-nodeify to shim node core modules in where necessary.
This opens up the possibility of using react-native-quick-crypto which does crypto in C/C++ so would be preferable.
Unlike most of the other crypto libraries here, quick-crypto appears to still be under development so that's heartening.

Getting there, it can dial the bootstrappers now:

Circuit relay works:


fix(jsii): TypeError: Cannot read property 'getJsDocTags' of undefined

When a trailing semicolon was left after a method body, the compiler
would choke with a TypeError due to attempting to read the JSDoc tags
of an undefined symbol.
This checks for this particular case and ignores the "class member" that
is represented by the dangling semicolon; and emits a diagnostic message
informing users the token could be removed.
Fixes #2098

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

AWS CodeBuild CI Report

CodeBuild project: AutoBuildProject6AEA49D1-Blkkw9bQFn8A
Commit ID: 7a9982fde8515b6b09400b30a04f498e04f60567
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: AutoBuildProject6AEA49D1-Blkkw9bQFn8A
Commit ID: e8e6421d6ba71f6ff1d03825e38f328c49f45d36
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: AutoBuildProject6AEA49D1-Blkkw9bQFn8A
Commit ID: 5d9652ebf8a2d0821a7cd85dceb406285f34a6af
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: AutoBuildProject6AEA49D1-Blkkw9bQFn8A
Commit ID: 894956f9971afa72ffa35c15d3b5a2a69494c930
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository


Logging multiple metrics

Hi,
I was just wondering if anyone could point me to an example of how to log multiple metrics when fitting a network. The fit function seems to only take one function in the eval_metric parameter, so I was wondering how to record multiple metrics.
Thanks for your time.

You can modify the eval_metric in model.py and callback.py into python list so you can see multiple evaluation metrics.
Here is the link of the gist where I modified the two files, you can take a look.
https://gist.github.com/shengwa/35f523c06ca978c2edbd

I think making the metric allow composition would be more elegant. For example, we can use mx.metric.Accuracy() + mx.metric.MSE() to generate a new instance of EvalMetric. And hence it directly applies for current API.

You can modify the eval_metric in model.py and callback.py into python list so you can see multiple evaluation metrics.
Here is the link of the gist where I modified the two files, you can take a look.
https://gist.github.com/shengwa/35f523c06ca978c2edbd

This could work, but not without making changes to mxNet, which could be being used by others. Is there a cleaner solution


Accordion column block #114

Variants
The left variant can be detected by positioning the images in the right side or by adding the variant keyword Left.
For the Gray Background variant, can be added as a section metadata as style option ~OR as a regular variant.~
the red mark over the title is added always by the block
Test URL
drafts/jlledo/v2/accordion-column-demo

Fix #114
Test URLs:

Before: https://develop--vg-macktrucks-com-rd--netcentric.hlx.page/drafts/jlledo/v2/accordion-column-demo
After: https://114-accordion-column-block--vg-macktrucks-com-rd--netcentric.hlx.page/drafts/jlledo/v2/accordion-column-demo

I see some space left of the image that makes the VW a little bit wider than it should... dont know where this is coming

Also check margins/paddings for desktop in v2-accordion-column__item-header-button


Remove tooltip on hover on table header?

When you mouseover on table header/column name, it shows a tooltip showing the column header name. To me its redundant. How can I disable it? Thanks.

@flipjs, I'll support this in these day. Thanks

Add headerTitle={ false } on <TableHeaderColumn> and upgrade to v2.5.7. Thanks :)

Cool stuff! Thanks so much @AllenFang !

Related question. How would one modify the text displayed in the tooltip? I've tried using headerText, but it seems to have no effect when the column name is not an object. For instance, I'd like to name my column "YoY" and display "Year over year" in the tooltip. Thanks


Should not advise users to install with sudo

The README states to install this program with sudo pip install .... This introduces needless security risks. pip install works just fine.

Why was this closed? Running the arbitrary Python code in setup.py as root:

is very insecure
risks messing up the OS packaging system
is outdated, especially now that modern pip defaults to --user mode.

See e.g. Is `sudo pip install` still a broken practice? - Ask Ubuntu
I agree with OP that the README should be fixed.


Don't load all Price currencies everytime we load a Webapp (bug 1089848)

https://bugzilla.mozilla.org/show_bug.cgi?id=1089848
This already happens once per worker thread, since Price.get_price_currency() calls Price.transformer([]) if necessary. It could be useful to get rid of that too, but let's start slow first.

r+

Is this mostly just removing that big select all on Price? B/c the rest seems to be the same just moved to the transformer?

Yes. This is unnecessary, when you get a price for the first time, it actually does this behind the scenes, except it caches it as a property on the Price class (see description/full commit message).


Error: jest-haste-map: @providesModule naming collision

Environment
  React Native Environment Info:
    System:
      OS: macOS High Sierra 10.13.6
      Memory: 1.69 GB / 8.00 GB
      Shell: 4.4.12 - /usr/local/bin/bash
    Binaries:
      Node: 8.9.2 - /usr/local/bin/node
      npm: 5.5.1 - /usr/local/bin/npm
      Watchman: 4.7.0 - /usr/local/bin/watchman
    SDKs:
      iOS SDK:
        Platforms: iOS 11.4, macOS 10.13, tvOS 11.4, watchOS 4.3
      Android SDK:
        Build Tools: 23.0.1, 25.0.0, 25.0.3, 26.0.1, 26.0.2, 26.0.3, 27.0.1, 27.0.3, 28.0.0, 28.0.1
        API Levels: 23, 24, 25, 26, 27
    IDEs:
      Android Studio: 3.0 AI-171.4443003
      Xcode: 9.4.1/9F2000 - /usr/bin/xcodebuild
    npmPackages:
      react: 16.5.0 => 16.5.0
      react-native: 0.57.0 => 0.57.0
    npmGlobalPackages:
      react-native-cli: 2.0.1
      react-native-git-upgrade: 0.2.7

Description
The nodejs-mobile-react-native plugin runs a nodejs project in a react-native application. It creates a nodejs-project folder in the react-native's project root folder, which will be copied in the build process to be included in the mobile application assets, which means the Bundler will detect duplicate modules.
Before react-native version 0.56, this duplication caused a warning while the bundler was starting, but the mobile application was still able to function and get the react-native files from the bundler. In and after version 0.56, the bundler will now throw an error when the mobile application tries to get the bundle from the development machine:
error: bundling failed: Error: jest-haste-map: @providesModule naming collision:
Before react-native version 0.56, it was possible to use the plugin without creating a rn-cli.config.js file in the react-native project, as this was only a warning, but now creating a rn-cli.config.js file in the main project with a blacklist for the Metro bundler is mandatory for using the plugin: https://github.com/janeasystems/nodejs-mobile-react-native/tree/ed727edea17e8a9e1a85cef3413becc83b8a0328#duplicate-module-name
Since this is now an error that won't allow the application to work, is there something that can be done from inside the plugin to have the Metro bundler ignore some paths?
Thank you, in advance.
Reproducible Demo
Before react-native version 0.56, the application is able to run successfully.
react-native init DuplicateModulesWarning --version 0.55.4
cd DuplicateModulesWarning
npm install nodejs-mobile-react-native
mv nodejs-assets/nodejs-project/sample-package.json nodejs-assets/nodejs-project/package.json
mv nodejs-assets/nodejs-project/sample-main.js nodejs-assets/nodejs-project/main.js
react-native link
react-native run-android

The react packager throws warnings but the application can still run and get the bundle from the development machine:
Loading dependency graph, done.
jest-haste-map: @providesModule naming collision:
  Duplicate module name: sample-node-project

In and after react-native version 0.56, the application will fail to run due to the bundler failing:
react-native init DuplicateModulesError --version 0.56.0
cd DuplicateModulesError
npm install nodejs-mobile-react-native
mv nodejs-assets/nodejs-project/sample-package.json nodejs-assets/nodejs-project/package.json
mv nodejs-assets/nodejs-project/sample-main.js nodejs-assets/nodejs-project/main.js
react-native link
react-native run-android

The same warning is still thrown but now there is an additional error when the application running in the device tries to get the bundle from the development machine:
error: bundling failed: Error: jest-haste-map: @providesModule naming collision:
  Duplicate module name: sample-node-project
  Paths: /Users/username/temp-projects/DuplicateModulesError/nodejs-assets/nodejs-project/package.json collides with /Users/username/temp-projects/DuplicateModulesError/android/build/nodejs-assets/nodejs-project/package.json

This error is caused by a @providesModule declaration with the same name across two different files.
    at setModule (/Users/username/temp-projects/DuplicateModulesError/node_modules/jest-haste-map/build/index.js:446:17)
    at workerReply (/Users/username/temp-projects/DuplicateModulesError/node_modules/jest-haste-map/build/index.js:496:9)
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:188:7)
 BUNDLE  [android, dev] ../../index.js ░░░░░░░░░░░░░░░░ 0.0% (0/1), failed.

Sometimes this error won't occur in the first run, so there's probably a timing issue here. If it doesn't occur in the first run, close the Metro Bundler and run react-native run-android again.

This looks like it's a problem with metro. It would be more productive to report this problem at facebook/metro instead of react native.

As I've suggested in the linked Metro issue, I think that the fix should be done in the default Metro config for RN apps (which lives here).

I'm getting same error. In my case has to do with using a local module in package.json that also has react-native as a dependency.
"react-native-services": "file:///Users/r01/Projects/react-native-services"

@r01010010 Did you resolve this? I'm having the same issue.

@r01010010  Did you resolve this issue? I am getting same issue for saleforce mobile sdk sample code
Error is
This error is caused by hasteImpl returning the same name for different files.
(node:6352) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will ter
minate the Node.js process with a non-zero exit code.
(node:6352) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 3): Error: jest-haste-map: Haste module naming collision:
Duplicate module name: react-native
Paths: D:\project\ReactNative\SalesforceMobileSDK-Templates-master\SmartSyncExplorerReactNative\node_modules\react-native-force\node_modules\react-n
ative\package.json collides with D:\project\ReactNative\SalesforceMobileSDK-Templates-master\SmartSyncExplorerReactNative\node_modules\react-native\pa
ckage.json
This error is caused by hasteImpl returning the same name for different files.

As I've suggested in the linked Metro issue, I think that the fix should be done in the default Metro config for RN apps (which lives here).

This link is dead, FYI.

Is that a fix or just triage @jamalx31?

@mjstelly a fix. at least in my case.
Give it a try

@jamalx31 This is not working in my case. same problem.
when I tried to make bundle I am getting following error

This error is caused by hasteImpl returning the same name for different files.

Error: jest-haste-map: Haste module naming collision:
Duplicate module name: react-native
Paths: D:\project\ReactNative\SalesforceMobileSDK-Templates-master\SmartSyncExplorerReactNative\node_modules\react-native-force\node_modules\react-n
ative\package.json collides with D:\project\ReactNative\SalesforceMobileSDK-Templates-master\SmartSyncExplorerReactNative\node_modules\react-native\pa
ckage.json
This error is caused by hasteImpl returning the same name for different files.
at setModule (D:\project\ReactNative\SalesforceMobileSDK-Templates-master\SmartSyncExplorerReactNative\node_modules\jest-haste-map\build\index.js:
551:17)
at workerReply (D:\project\ReactNative\SalesforceMobileSDK-Templates-master\SmartSyncExplorerReactNative\node_modules\jest-haste-map\build\index.j
s:613:9)
at
at process._tickCallback (internal/process/next_tick.js:188:7)

can anybody suggest how to resolve this?

@mosinbagban I think I didn't work for you cuz you are on Windows. try to update the regex.
(Windows use backslash () in the path)

Link to the Metro issue https://github.com/facebook/metro/issues/265, please refer to that.

Ok. Thanks!
Sincerely,
Michael Stelly | M: +1.918.978.2000 | LinkedIn
http://www.linkedin.com/in/mstelly | Twitter
https://twitter.com/michaelstelly
On Wed, Dec 12, 2018 at 10:03 AM Lorenzo Sciandra<EMAIL_ADDRESS>wrote:

Closed #21242 https://github.com/facebook/react-native/issues/21242.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/facebook/react-native/issues/21242#event-2021721933,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AATJ2-ff_DDKQZ7BryGeBylRrLvFHidWks5u4RragaJpZM4Wz2MX
.

im having this problem but on react-native-desktop

```This error is caused by hasteImpl returning the same name for different files.
at setModule (/Users/sagarr/Documents/ReactNativeProject/RNpay/node_modules/jest-haste-map/build/index.js:569:17)
at workerReply (/Users/sagarr/Documents/ReactNativeProject/RNpay/node_modules/jest-haste-map/build/index.js:641:9)
at process._tickCallback (internal/process/next_tick.js:68:7)
::ffff:<IP_ADDRESS> - - [12/Mar/2019:12:32:43 +0000] "GET /index.bundle?platform=ios&dev=true&minify=false HTTP/1.1" 200 - "-" "RNpay/1 CFNetwork/897.15 Darwin/17.5.0"
Error: jest-haste-map: Haste module naming collision:
Duplicate module name: react-native
Paths: /Users/sagarr/Documents/ReactNativeProject/RNpay/ios/Pods/React/package.json collides with /Users/sagarr/Documents/ReactNativeProject/RNpay/node_modules/react-native/package.json
This error is caused by hasteImpl returning the same name for different files.
at setModule (/Users/sagarr/Documents/ReactNativeProject/RNpay/node_modules/jest-haste-map/build/index.js:569:17)
at workerReply (/Users/sagarr/Documents/ReactNativeProject/RNpay/node_modules/jest-haste-map/build/index.js:641:9)
at process._tickCallback (internal/process/next_tick.js:68:7)```

I have some issue, please help

Same issue after upgrade react-native to latest version :/

Same issue in RN 0.59.4, this is my Podfile:
`# Uncomment the next line to define a global platform for your project
platform :ios, '9.0'
target 'mynewapp' do
Uncomment the next line if you're using Swift or would like to use dynamic frameworks
use_frameworks!
Pods for mynewapp
Pods for ReactPushNotifications - Add these lines
pod 'Firebase/Core'
pod 'Firebase/Messaging', '~> 5.15.0'
pod 'RNGestureHandler', :path => '../node_modules/react-native-gesture-handler'
pod 'RNVectorIcons', :path => '../node_modules/react-native-vector-icons'
pod 'RNCAsyncStorage', :path => '../node_modules/@react-native-community/async-storage'
target 'mynewapp-tvOSTests' do
inherit! :search_paths
# Pods for testing
end
target 'mynewappTests' do
inherit! :search_paths
# Pods for testing
end
end`

@jamalx31 could you please let me know where to add this code?
const blacklist = require('metro-config/src/defaults/blacklist');
module.exports = {
    resolver: {
        blacklistRE: blacklist([
            /node_modules\/.*\/node_modules\/react-native\/.*/,
        ])
    },
};

@muhammadwfa  you need to create rn-cli.config.js  file and add it inside it

Please check out this solution. It was the problem I had, and the answer helped me get it solved:
https://github.com/invertase/react-native-firebase/issues/414#issuecomment-388135093

@muhammadwfa I had to put it in metro.config.js instead of rn-cli.config.js.

I still couldn't get it to work, even with updating the Podfile to reference node_modules and configuring metro.config.js with the blacklist.
It turns out my issue was that there was an unused React directory lying around within ios/Pods which was causing the conflict. After I removed that, metro started first time.

I am getting this error because the project is nested. this mean project in project .

Same error on RN 0.59.X
rn-cli.config.js doesn't work. I fixed it by putting jamalx31's code on a metro.config.js

I start to get this error after upgrading to rn 0.57.7. the jsbundler started to complain about every npm package that includes react-native. so I added rn-cli.config.js
const blacklist = require('metro-config/src/defaults/blacklist');

module.exports = {
    resolver: {
        blacklistRE: blacklist([
            /node_modules\/.*\/node_modules\/react-native\/.*/,
        ])
    },
};

OK About to board a plane so can't find out which bit worked but following metro config works finally:
`/**

Metro configuration for React Native
https://github.com/facebook/react-native

@format
/
/ eslint-disable import/prefer-default-export */
const blacklist = require('metro-config/src/defaults/blacklist');

module.exports = {
resolver:{
blacklistRE: blacklist([
/react-native/local-cli/core/fixtures./,
/node_modules/./node_modules/react-native/./,
/nodejs-assets/./,
/android/./,
/ios/./,
/node_modules\.\node_modules\react-native\./,
/nodejs-assets\./,
/android\./,
/ios\./
])
},
getBlacklistRE () {
return blacklist([
/react-native/local-cli/core/fixtures./,
/node_modules/./node_modules/react-native/./,
/nodejs-assets/./,
/android/./,
/ios/./,
/node_modules\.\node_modules\react-native\./,
/nodejs-assets\./,
/android\./,
/ios\./
])
},
transformer: {
getBlacklistRE () {
blacklist([
/node_modules/./node_modules/react-native/./,
/nodejs-assets/./,
/android/./,
/ios/./,
/node_modules\.\node_modules\react-native\./,
/nodejs-assets\./,
/android\./,
/ios\./
])
},
getTransformOptions: async () => ({
transform: {
experimentalImportSupport: false,
inlineRequires: false,
},
}),
},
};`

@lupelius Could you please post a well formatted code snippet, of you can made a gist on GitHub

Isn't the blacklist regex listed by everyone here broken?... It should just be .*\/node_modules\/react-native\/.*

Also have this isse with 0.59. Like @leemcmullen said I've got a new React folder in Pods since I've installed @react-native-community/async-storage, but after I deleted it I can't build my project anymore; Build input file cannot be found: '/project/ios/Pods/React/React/Base/RCTBridge.m'. How can I get this working with 0.59 and the seperate async-storage?

I still couldn't get it to work, even with updating the Podfile to reference node_modules and configuring metro.config.js with the blacklist.
It turns out my issue was that there was an unused React directory lying around within ios/Pods which was causing the conflict. After I removed that, metro started first time.

surprisingly this fixes the issue in my case, even though I as compiling for android release. thx man.

This worked for me:

https://github.com/invertase/react-native-firebase/issues/414#issuecomment-388135093
https://github.com/facebook/react-native/issues/24192#issuecomment-479500780

I just renamed "name": "react-native", to "name": "react-native-", in /Ios/Pods/React/Package.json :)


Plz Improve Ui Like j2k

Describe your suggested feature
new modern ui
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] If this is an issue with an official extension, I should be opening an issue in the extension's repository.
[X] I have updated the app to version 1.10.1.
[X] I will fill out all of the requested information in this form.

No


[geogram] Add arm64-windows support

What does your PR fix?
Adds arm64-windows support by fixing the usage of popcount intrinsics.

Which triplets are supported/not supported? Have you updated the CI baseline?
!uwp, yes

Does your PR follow the maintainer guide?
Yes

If you have added/updated a port: Have you run ./vcpkg x-add-version --all and committed the result?
yes

Is this an upstream fix?

@dan-shaw I will create the PR to upstream. But it seems there are two mirrors - the one VPCKG uses and the one which has more stars and claims is the main mirror. Anyway, that's a good question and suggestion. Thank you for your response!

https://github.com/BrunoLevy/geogram/pull/22


rxjs conflict due to multiple package.json files

My apologies if I'm not adding this issue correctly... very much a newbie here.
I've run into some trouble in an Angular/Ionic application where typescript got angry about having multiple package.json imports. Long story short, I got errors basically saying Observable is not compatible with Observable. Digging into it a little I realized it was because the first Observable was from one package, and the second was from the other (this is in reference to the extra package.json referenced in issue #410)
The fix is fairly simple:
Just add the following lines to compilerOptions.paths in tsconfig.base.json at the root of the nx workspace:
       "rxjs": ["node_modules/rxjs"],
 "rxjs/*": ["node_modules/rxjs/*"]

I'm seeing the same issue, can confirm that the workaround mentioned by @tptshoe works.

Apparently, the Ionic Angular monorepos with NX publication and the Y @nxtend/capacitor were a success, as many developers are trying to move their projects to Monorepos workspaces.
And that has led us to find different situations on this path.
For example, I am trying to get the plugin to work:
@codetrix-studio/capacitor-google-auth;
in an ionic-angular project inside an Nx workspace:
But, once installed I get this error:
Error: Module not found: Error: Can't resolve '../../../../../capacitor.config.json'
and I had patched it by specifying the capacitor.config.json file location, but when developers work with multiple ionic projects. How are we going to patch it?
This has led me to think that maybe Capacitor needs to rethink the way to integrate the multi-projects (Monorepos) feature to the Capacitor workflow since the current way forces us to have a node_modules folder inside our project and that breaks the monkey repo approach.

My apologies if I'm not adding this issue correctly... very much a newbie here.
I've run into some trouble in an Angular/Ionic application where typescript got angry about having multiple package.json imports. Long story short, I got errors basically saying Observable is not compatible with Observable. Digging into it a little I realized it was because the first Observable was from one package, and the second was from the other (this is in reference to the extra package.json referenced in issue #410)
The fix is fairly simple:
Just add the following lines to compilerOptions.paths in tsconfig.base.json at the root of the nx workspace:
 "rxjs": ["node_modules/rxjs"],
 "rxjs/*": ["node_modules/rxjs/*"]

this does not solve the IDE (Webstorm) Error hint. And Webstorm is very strong. Also, it is worst-case to have a package.json in the project folder.
The Android projects do not have any AndroidManifest.xml, which is required -> is this package production ready? ATM I don't think so
The Android Projects does not have Gradle build support, which is highly recommended.
So in the end, two questions:

What is the outcome of this package
What is missing in the docs

currently, I don't think this package will solve our biggest problem, one code base - multiple apps - on multiple platforms...


Add the possibility to purge audio and video?

Now that Ghost has added the possibility to upload audio, video and other files, it would be terrific if it would be possible to purge those as well.

Hi @Maxszik , thanks for your message
It is added in the just-released v3.2.0 https://www.npmjs.com/package/ghost-purge-images/v/3.2.0
Please let me know if you have any questions or find any issue, happy to help :)

Terrific, that was very fast, bravo.
Just one question: does this purge files as well. Ghost now supports uploads of video, audio and files/docements. Thank you !

thank you @Maxszik
no, the v3.2.0 does not support it
I just released v3.2.1 that includes it :)


Fix logic to push wrong buffer to free queue

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
📝 Please visit https://cla.developers.google.com/ to sign.
Once you've signed (or fixed any issues), please reply here (e.g. I signed it!) and we'll verify it.
What to do if you already signed the CLA
Individual signers

It's possible we don't have your GitHub username or you're using a different email address on your commit. Check your existing CLA data and verify that your email is set on your git commits.

Corporate signers

Your company has a Point of Contact who decides which employees are authorized to participate. Ask your POC to be added to the group of authorized contributors. If you don't know who your Point of Contact is, direct the Google project maintainer to go/cla#troubleshoot (Public version).
The email used to register you as an authorized contributor must be the email used for the Git commit. Check your existing CLA data and verify that your email is set on your git commits.
The email used to register you as an authorized contributor must also be attached to your GitHub account.

I signed it. thanks

freeQueue_: how can I save it to PCM file by convert to bytes array in java? Does freeQueue_ is the data of recorder bytes?

Yeah, it is byte array ( raw pcm data ):

recorder pass pcm to app ( us )
app puts it into reQueue_ (; then get an empty buffer from freeQueue_ and give to recorder)
player pop a recorded audio buf from playQueue_: playQueue and recQueue are the same queue, shared between player and recorder.  ( player puts the just played buf onto freeQueue -- so recorder could use ).

The PCM format used is controlled by app: frequency, float/int, 16bit/24bit etc.
we are moving on to use Oboe, please develop with Oboe, same concept but much simpler.

Thanks for your answers, I resolved my issue following
https://github.com/koseonjae/Karaoke
P/S thanks Koseonjae too.

Still error, in Oboe, I can't see example for echo app (like Karaoke). Therefore I still using audio-echo example with fixed code from: https://github.com/koseonjae/Karaoke:
bool EngineService(void *ctx, uint32_t msg, void *data) {
  assert(ctx == &engine);
  switch (msg) {
    case ENGINE_SERVICE_MSG_RETRIEVE_DUMP_BUFS: {
      *(static_cast<uint32_t *>(data)) = dbgEngineGetBufCount();
      break;
    }
    case ENGINE_SERVICE_MSG_RECORDED_AUDIO_AVAILABLE: {
      // adding audio delay effect
      sample_buf *buf = static_cast<sample_buf *>(data);
      assert(engine.fastPathFramesPerBuf_ ==
             buf->size_ / engine.sampleChannels_ / (engine.bitsPerSample_ / 8));
      engine.delayEffect_->process(reinterpret_cast<int16_t *>(buf->buf_),
                                   engine.fastPathFramesPerBuf_);

      // TODO error crash in some device that has low speed sdcard -> using vector for save data
      /*if(fos == nullptr)
        fos = fopen("/sdcard/recorded_audio.pcm", "wb");
      fwrite(buf->buf_, 1, buf->size_, fos);*/

      sample_buf output = sample_buf();
      output.buf_ = new uint8_t();
      *output.buf_ = *buf->buf_;
      output.size_ = buf->size_;
      bucket.push_back(output);

      break;
    }
    default:
      assert(false);
      return false;
  }

  return true;
}

In stop function *stopPlay(JNIEnv env, jclass type) - I added:
if(fos == nullptr)
        fos = fopen("/sdcard/recorded_audio.pcm", "wb");
  LOGE("====stopPlay %u", bucket.size());
  for(auto const& value: bucket) {
    fwrite(value.buf_, 1, value.size_, fos);
  }
  fclose(fos);
  fos = nullptr;

I don't know why the fwrite which write directly to sdcard work (but some crash in low speed sdcard devices) in EngineService, My Vector bucket write out ok but cannot hear anything.
Does someone explane it? Something wrong here?
P/S: I think write to memory like vector is faster than sdcard? It true, isn't it? But not working

EngineService is inside Audio recorder's callback thread, could not do file writing: file access is blocking I/O, there just no time to do this in audio thread:

while waiting for writing to happen, player would already running out buffer to play
recording side would over-run big time.
Disk access could not be inside audio thread.  Copying out to memory seems ok to me ( audio data is not that big, comparing to video ), could not directly write to disk from audio thread. I am not familiar with the implementation of the framework: there got to be a queue between disk-writing and incoming audio thread.

so, how to disable/enable echo mode?

Playing silent audio but keeps the streaming going is one way of stopping, and resuming playing back real recorded audio would be resume it. This way app might be more smooth ( escaped the so called "audio warm-up" period ) and app having more control. The downside is that it is always running (but might have a better audio experience overall )
Or tearing down everything to stop, re-starting from scratch for starting. This way app might experience glitch audio; and starting / stopping might has complication ( as recording and playing back are in the different thread, make sure releasing resources AFTER no callback threads are still running )

Thanks for reply, but if I we can modify volume level of micro to zero? I tried it but I can't find where to do in audio-echo source code :(

not in the source code, check for  https://www.khronos.org/registry/OpenSL-ES/api/1.1/OpenSLES.h, for
Volume Interface / Mute
you would add them in.


'Remember me' when using oauth

Logging in with GitHub will only set a session cookie, so next time you open your browser, gogs will ask you to login again which is slightly annoying. Would it be possible to implement remember me functionality for oauth logins?

Close as no OAuth support right now.


docker agent port option

Hi all.
Right not ngrinder agent docker image just get a controller web port and ip address as enviroment variable. This make a issue that controller need to have a same port as 16001. So we can't run only one controller at one docker host server.
If  we can specify controller live check port as enviroment variable in agent, it's possible to run one more controller at one server.

This is already possible to run multiple controllers using a single multi-ngrinder-controller image.
See https://hub.docker.com/r/ngrinder/multi-controller/


Aggregate Input Schema not generated

Bug description
For Models without any type of number the {model}AvgAggregateInputObjectSchema and {model}SumAggregateInputObjectSchema are imported in the aggregate{Model}.schema.ts file but these schemas are not created.
How to reproduce

clone this repo
use the schema.prisma file provided below
run prisma generate
open generated/schemas/aggregateUser.schema.ts

Expected behavior
import { UserAvgAggregateInputObjectSchema } from './objects/UserAvgAggregateInput.schema';
import { UserSumAggregateInputObjectSchema } from './objects/UserSumAggregateInput.schema';

are not imported and:
  _avg: UserAvgAggregateInputObjectSchema.optional(),
  _sum: UserSumAggregateInputObjectSchema.optional(),

are not defined in UserAggregateSchema = z.object({})
Prisma information
generator client {
provider = "prisma-client-js"
}
datasource db {
provider = "sqlite"
url      = "file:./dev.db"
}
generator zod {
provider         = "node ./lib/generator.js"
output           = "./generated"
isGenerateSelect = true
}
model User {
id    String  @id @default(cuid())
email String  @unique
name  String?
}
Environment & setup

OS: MacOS
Database: SQLite
Node.js version: v18.11.0

Prisma Version
prisma                  : 4.3.1
@prisma/client          : 4.3.1
Current platform        : darwin-arm64
Query Engine (Node-API) : libquery-engine c875e43600dfe042452e0b868f7a48b817b9640b (at<EMAIL_ADDRESS>Migration Engine        : migration-engine-cli c875e43600dfe042452e0b868f7a48b817b9640b (at node_modules/@prisma/engines/migration-engine-darwin-arm64)
Introspection Engine    : introspection-core c875e43600dfe042452e0b868f7a48b817b9640b (at node_modules/@prisma/engines/introspection-engine-darwin-arm64)
Format Binary           : prisma-fmt c875e43600dfe042452e0b868f7a48b817b9640b (at node_modules/@prisma/engines/prisma-fmt-darwin-arm64)
Format Wasm             : @prisma/prisma-fmt-wasm 4.3.0-32.c875e43600dfe042452e0b868f7a48b817b9640b
Default Engines Hash    : c875e43600dfe042452e0b868f7a48b817b9640b
Studio                  : 0.473.0

Thank you for the report. This indeed seem like a bug. Good thing there's a PR ready, you're in luck.


TNG-19: add group UI and add edit group name

This is what the edit group name showing from create a group default as group + index. and when modify the name, the current name will show in the dialog blank.

![Screen Shot 2022-04-25 at 5 11 03 PM](https://user-images.githubusercontent.com/100877272/165175699-e5dec34a-8d62-4c80-84cb-25a3cdb33948.pn

g)


add join to valid merge modes

join is a valid merge mode, but if we use it gets catch on a exception

the error was with the cifar10, but I didn't touch that. Any idea?

The Travis checks no longer build, for a reason I can't understand (it's not something we changed on the Keras side, it seems to be linked to a Travis update).
I'll merge this PR, but the Travis issue would need to be resolved quickly so we can safely merge more complicated PRs...


WIRE on MRI data

Hi @vishwa91 thank you for the nice repo :) I am trying to fit some MRI data with WIRE. However, I tend to get gradient problems as my loss and PSNR goes to NaN after a couple of epochs using the recommended lr and omega and sigma in the range 10-30. I am  able to fit the data with SIREN. Do you maybe have some pointers to use WIRE for this kind of data?

@luisdavid64 try using a omega/sigma ratio that is smaller than 2. So if you use sigma value of 10, use omega that is 20, no higher. You can circumvent this problem by setting hidden omega to a smaller value, such as 1.
Hope that helps!

Thank you that seems to solve the issue!


Upgrade to Cake 1.0.0

Hi,
could you please upgrade Cake reference to v1.0.0?

:tada: This issue has been resolved in version v1.0.0 :tada:
The release is available on:

GitHub Release
NuGet Package


Bug with  tag with VueJS

I already ruled out that this is due to treesitter, it only happens with the  tags, with the others it works fine, it happens with all the themes I have:

My config with Lazy:
 -- Installation
  {
    'lukas-reineke/indent-blankline.nvim',
    opts = {
      char = '│',
      show_trailing_blankline_indent = false, -- if i delete this nothing happens
    },
  }
-- Config:
local status_indent, indent_line = pcall(require, 'indent_blankline')
if (not status_indent) then
  print("Indent blankline not added")
else
  indent_line.setup {
    space_char_blankline = " ",
    show_current_context = true,
  }
end

And this also happens with LunarVim and NvChad.
And if I put the configuration directly in Lazy the same thing happens.
My hypothesis is that this would be solved if in Treesitter we remove the option to draw the underline, but I have not found how to do that.

Got it, almost all problems are solved by looking at the source code.
The problem is this:
-- some-theme.groups.lua
groups = {
...
<EMAIL_ADDRESS>= { link = "Underline" },
...
}

If you change this value to something else it solves the problem, but I still think this bug should be solved here, and should not affect Treesitter, so I'll leave this as a temporary fix for anyone who cares.

Can you make a minimal config to reproduce this?


update IntelliJ metadata

update IntelliJ metadata - this addresses some issues people encountered at First Look opening examples in the flutter repo

@pq @mit-mit

Change LGTM! But I was wondering if we should also add an /examples/.idea/examples.iml file so that it works if you do a File > Open on the examples folder?

I was wondering if we should also add an /examples/.idea/examples.iml file so that it works if you do a File > Open on the examples folder?

sgtm! I did see that case happen at first look.

Late to the party, but LGTM2!


Enabling multithreading

Hardware description: STM32F7
RTOS: FreeRTOS
Installation type: Static lib
Version or commit hash: Foxy

I'm not following on https://github.com/micro-ROS/micro_ros_setup/issues/180 as not to stack deep down that thread something irrelevant.
I have some questions regarding what do the different flags really mean when enabling multithread support.
Even though I want to run multiple nodes, as it is right now, I don't need them to communicate between them. Thus, can I then not enable UCLIENT_PROFILE_SHARED_MEMORY? Furthermore, as I won't have nodes communicating between them, and if the SHARED_MEMORY is disabled, do I need to set anything for these two flags?
My use case would be the following
1 Node simply checking status (pinging the agent and other basic stuff, plus providing the setup)
1 Node with a subscriber
1 Node with a publisher and a subscriber
1 Node with a subscriber
This could also increase later, but as it's right now, the nodes are simply used as peripherals, they don't have any logic themselves.
I think I know what needs to be modified and taken into account on the colcon.meta, and how to adjust the rmw to support the entities + nodes, etc.
Thanks

Hello @bjv-capra,
If you check the middleware CMake, right now in develop UCLIENT_PROFILE_SHARED_MEMORY is being enabled by default when UCLIENT_PROFILE_MULTITHREAD is enabled. But the shared memory engine will only act when a local publisher and subscriber match.
Regarding the other two flags, you don't need to set them because they have default values. But as long as you are not going to use the shared memory feature, you can set then to zero to save static memory.

I think I've got it, however, I've run into an issue with the tracetools not liking my -fno-rtti flag. Even though I have set
"tracetools": {
            "cmake-args": [
                "-DTRACETOOLS_DISABLED=ON",
                "-DTRACETOOLS_STATUS_CHECKING_TOOL=OFF",
            ]
        }

I've never had this issue before...
tracetools/include/tracetools/utils.hpp:65:34: error: cannot use 'typeid' with '-fno-rtti'
   65 |   return _demangle_symbol(typeid(l).name());

Do you prefer if I open a new issue regarding this? I haven't been able to verify that it builds correctly yet.

Yes please, open a new issue for that explaining the steps to reproduce the issue (your CMake toolchain, steps, compiler version...)

I'm reopening the issue as I'm not being able to run under the intended use. I've enabled multithreading, however, I still see the following limitations.
Each node has to be manually initialized one at a time.
I can't ping the agent and have nodes running at the same time.
As mentioned in the first comment,
My use case would be the following
1 Node simply checking status (pinging the agent and other basic stuff, plus providing the setup)
1 Node with a subscriber
1 Node with a publisher and a subscriber
1 Node with a subscriber
Where the first node checking the status HAS and is launched first, it also provides a handle for the other nodes to initialize the node and executor (dependant on the support). The rest of the nodes could initialize simultaneously.

If I make the nodes initialize one by one (after the support), and if I remove the periodic ping to the agent, then it seems to work fine, however, this worked the same without multithreading enabled.

If you initialize the nodes in a thread and then launch the multiple threads for spinning the executors, it works as expected?

BTW ping feature is not thread-safe:

https://github.com/micro-ROS/rmw-microxrcedds/blob/a3db0734af49f9a4500a0720d861813fcf1ec432/rmw_microxrcedds_c/src/rmw_uros_options.c#L287
https://github.com/eProsima/Micro-XRCE-DDS-Client/blob/c292903e6c388011520c03ccb39872a6705f72c6/src/c/util/ping.c#L23

Let me annotate this in our TODO list, I will come back when we find a solution.
CC: @Acuadros95

I'd say, most likely, I don't have a way to check, however, I'm making sure the nodes are initialized sequentially (which would happen if I do it in a single thread).
However, I still can't ping the agent while the other nodes are being used. On the other hand, could it be a problem because of trying to ping the agent AND trying to initialize a node at the same time? I'd assume it shouldn't be a problem, but maybe it is?

Okay, that was what I was thinking, maybe I should just put on hold the ping  feature until it's thread-safe

Thanks for the quick response! I'll get back soon with some results :). I'll close the issue in the meantime

Cool, we are looking forward to hearing your feedback. If you have any other problems please tell us and we will try to improve de functionality asap.

Update: We are working on this issue on the following PR. After it is merged the ping functionality should be thread safe, along with all the transport communications.

Awesome, thanks for the quick response

https://github.com/eProsima/Micro-XRCE-DDS-Client/pull/234 merged, please rebuild your micro-ROS libraries and tell us if everything works as expected


How to run tests against IL Linked assemblies?

The IL Linker announced in #915 is fantastic.
I'm seeing a 71% reduction in final size!
The Linker Instructions mention that the final executables need to be tested after linking.

Linking only happens during publish, and therefore the linked app needs to be tested after publish, not just after build.

This makes complete sense, but I can't find any information on how to run my tests with dotnet test against an already compiled executable. Is there a way? If so, can this information (or a link to it) be added to the linker instructions?

That is a great question. @ManishJayaswal can you give any advice on how someone can run their tests against a published output?

I don't think we have a good solution at this time other than to publish the tests as apps and then run them.
@codito - do you know if you guys are thinking about this?

Let's track this issue here and make sure folks have instructions on how to do it. https://github.com/dotnet/cli/issues/7570


`database_z1/0' is not running after update when deploying Diego

Acting as user 'admin' on deployment 'cf-diego' on 'bosh'
Getting deployment properties from director...

Deploying
---------

Director task 74
  Started unknown
  Started unknown > Binding deployment. Done (00:00:00)

  Started preparing deployment
  Started preparing deployment > Binding releases. Done (00:00:00)
  Started preparing deployment > Binding existing deployment. Done (00:00:00)
  Started preparing deployment > Binding resource pools. Done (00:00:00)
  Started preparing deployment > Binding stemcells. Done (00:00:00)
  Started preparing deployment > Binding templates. Done (00:00:00)
  Started preparing deployment > Binding properties. Done (00:00:00)
  Started preparing deployment > Binding unallocated VMs. Done (00:00:00)
  Started preparing deployment > Binding instance networks. Done (00:00:00)

  Started preparing package compilation > Finding packages to compile. Done (00:00:00)

  Started preparing dns > Binding DNS. Done (00:00:00)

  Started preparing configuration > Binding configuration. Done (00:00:01)

  Started updating job database_z1 > database_z1/0 (canary). Failed: `database_z1/0' is not running after update (00:02:55)

Error 400007: `database_z1/0' is not running after update

Task 74 error

For a more detailed error report, run: bosh task 74 --debug

We ssh into database_z1/0 and find etcd is not running because etcdmain: listen tcp <IP_ADDRESS>:7001: bind: address already in use.
root@39d8e04e-5544-4a40-88b0-3498590eb581:/var/vcap/sys/log/etcd# monit summary
The Monit daemon 5.2.5 uptime: 28m

Process 'etcd'                      not monitored
Process 'bbs'                       running
Process 'consul_agent'              running
Process 'metron_agent'              running
System 'system_localhost'           running

This issue is about diego release itself. A similar one is tracked here.
https://github.com/cloudfoundry-incubator/diego-release/issues/119

This is a known bug with the database_z1 job  that's been fixed but not in a release yet- https://www.pivotaltracker.com/n/projects/1488988/stories/110687048
Workaround is to manually restart etcd once the consul job is up.
To do this, break out of the deploy while it's updating database_z1, then  bosh ssh database_z1  and sudo su; monit quit etcd ; monit quit bbs ;  killall -9 etcd ; monit start all

Thank you @svrc-pivotal .
Will close it after the fix is released.

FYI, the fix is done but the problem is still occurring.  I've filed a ticket with Pivotal support

This has been fixed in PCF 1.6.17,  Diego releases 0.1446.3+ and 0.1452.0+ , etcd release 27 +

The doc for Diego has been updated. Just close it.


Fixed issue where mx_perpendicularPoint(for:) could not "select" path elements with very small length.

Added random sample path to illustrate points (zero length elements) in path.
Fixed https://github.com/ImJCabus/UIBezierPath-Superpowers/issues/2

Also fixes https://github.com/ImJCabus/UIBezierPath-Superpowers/issues/1


Add more user email normalization to lowercase

Noticed this while working through https://github.com/mitodl/mitxonline/pull/1586 - didn't address it in that PR though. Searches for email addresses in the user object should be case insensitive, as email addresses themselves are not case sensitive. I noted this because I created an account with all caps and then tried to log in without that capitalization and was denied access. (Oddly, there's some of this already - the domain is normalized to lowercase but the username part is not. I was able to log into RC as<EMAIL_ADDRESS>but this is stored as<EMAIL_ADDRESS>in the database.)
We should probably store the email address as specified by the user and instead normalize interactions through the system to lowercase to compensate for insufficiently smart email servers that may actually treat the username part of the email address as case-sensitive. (In less words, login should use a case insensitive search but in my example it should be stored as it was.)
Steps to Reproduce

Create a user account using an email address in all capitals.
Attempt to log in with that same email address, but input it in lowercase.

Expected Behavior
I should be able to supply the password and complete the login process.
Actual Behavior
I get the "Can't find your email" message and cannot log in.

It doesn't look like this is working as intended.
See https://github.com/mitodl/hq/issues/1523#issuecomment-1561762003

I'm pretty sure I introduced this error in this PR: https://github.com/mitodl/mitxonline/pull/1610.  I'm working through Docker troubles, but I would assume this line (https://github.com/mitodl/mitxonline/blob/d69dba9965a4c80f42dff552b44f96933ab12aa0/authentication/serializers.py#L225) should have __iexact added to it


Do not support the "|" operator

ifHCInOctets{instance="<IP_ADDRESS>|<IP_ADDRESS>"}

No data returned
ifHCInOctets{instance="<IP_ADDRESS>"}

Return the data
ifHCInOctets{instance="<IP_ADDRESS>"}

Return the data

@iwctwbai I don't think that's any unintentional behaviour. If you want to use a pipe, then it should be a regex expression.
Like: ifHCInOctets{instance=~"<IP_ADDRESS>|<IP_ADDRESS>}

This was not detected in the 100% compatibility test, but promQL is supported
You said this I remember testing is also not good
Now I'm using this scheme
ifHCInOctets{instance=~"^<IP_ADDRESS>$|^<IP_ADDRESS>$"}

It looks tedious

@iwctwbai sorry, I do not understand here. Is the behaviour of PromQL evaluation something different than that of Prometheus's PromQL engine?

@Harkishen-Singh
Maybe I'm not making myself clear
Prometheus's PromQL engine can parse ''' ifHCInOctets{instance="<IP_ADDRESS>|<IP_ADDRESS>"} ''' , but promscale is not.

I got around this problem with regular expressions（''' ifHCInOctets{instance=~"^<IP_ADDRESS>$|^<IP_ADDRESS>$"}  '''）, but it's obviously not a good solution

@iwctwbai
I tried parsing  ifHCInOctets{instance="<IP_ADDRESS>|<IP_ADDRESS>"} on Promscale's latest master commit and its showing me no errors. The same is true for Prometheus. Can you please tell your Promscale version (also Prometheus for better info)? Maybe this was some previous issue that was later fixed.

Ah, i see that you are able to parse as well, its that the data is not being returned. Can you tell me which exporter is this so that I can replicate this issue on my side?

@Harkishen-Singh
https://github.com/prometheus/snmp_exporter
Thank you very much

@iwctwbai I tried reproducing this issue, by creating a new metric that has a | in the label value and then querying as normal equal matcher with the pipe. It works for me as I get the results with the pipe as well, even though the matcher is just EQL. So this means I am unable to reproduce this issue.
Can you tell me which Promscale version are you using?

version：0.21
This is weird because I'm doing it through regular expressions right now
@Harkishen-Singh

@iwctwbai the pipe will work only if you have a regex operator match. If you want the pipe to work without the regex, (in a EQL operator =) then the actual label value should have the pipe.
To confirm this, you can see the actual behaviour of prometheus at https://demo.promlens.com/
go_goroutines{job="cadvisor|prometheus"} gives empty result, but go_goroutines{job=~"cadvisor|prometheus"} gives you both series, one for cadvior and other for prometheus.

I am closing the issue because I think it's resolved? But feel free to reopen if it is not


[BugFix]Fix tablet delete by mistake because of the outdate report version

Why I'm doing:
The report version in SystemInfoService maybe outdate in a concurrent scenario.
What I'm doing:

Update the report version incrementally.
Fix the report version bug of PseudoBackend.

What type of PR is this:

[x] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Does this PR entail a change in behavior?

[ ] Yes, this PR will result in a change in behavior.
[x] No, this PR will not result in a change in behavior.

If yes, please specify the type of change:

[ ] Interface/UI changes: syntax, type conversion, expression evaluation, display information
[ ] Parameter changes: default values, similar parameters but with different default values
[ ] Policy changes: use new policy to replace old one, functionality automatically enabled
[ ] Feature removed
[ ] Miscellaneous: upgrade & downgrade compatibility, etc.

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

[ ] This is a backport pr

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto-backported to the target branch

[x] 3.2
[x] 3.1
[x] 3.0
[x] 2.5

ignore backport check: 2.5.19


2nd paragraph contains raw HTML

2nd paragraph says:
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
it should not use HTML code for link to "FlagsAttribute" page

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

ID: 71e30e65-537f-0c95-7b5d-e5c08f4c69ec
Version Independent ID: ad8154d1-0d08-11f6-e6d5-03965203856c
Content: VirtualKeyModifiers Enum (Windows.System) - Windows UWP applications
Content Source: winrt-api-build/xml/Windows.System/VirtualKeyModifiers.xml
Product: uwp
Technology: winrt-reference
GitHub Login: @hickeys
Microsoft Alias: hickeys

This issue seems to have been resolved between the time you opened this issue and now. Since everything seems correct, I'm going to close this issue. If there is still a problem on this page, please reopen with a comment, or log a new issue.
Thanks,
Shawn


Completely revamped the ;noob-scripter command

I have comp;etely revamped the ;noob-scripter command with a new, clean embed - This embed was made using Discohook

What would be the benefit in making this an embed?

Will take some time to properly add this embed to the server


Fix Ruby webhook server example

Issue
The ruby webhook server example introduced in https://github.com/TrueLayer/truelayer-signing/pull/148 does not work correctly. I am getting 401 - "Unauthorized" after doing all the steps from Readme.md
Implementation details
In the current PR, I've restored the broken ruby webhook server example. Related to https://github.com/TrueLayer/truelayer-signing/issues/177
The reason was incorrect TrueLayerSigning settings, and incorrect parsing of request headers.

Introduced ensure_certificate_id_present! method which checks the certificate is present or assigns a random one. This fixed TRUELAYER_SIGNING_CERTIFICATE_ID is missing error from truelayer-signing/ruby/lib/truelayer-signing/utils.rb.
Server moved to webrick to get convinient access to headers, path, and body.
In the previous implementation, the x-tl-webhook-timestamp  header was parsed to incorrect value  33Z, leading to the failing signature verification.

@kplattret could you please have a look?

Also, you need to add the following to the Gemfile as it doesn't seem to come with Ruby by default:
gem "webrick"

Thanks for the detailed review @kplattret ! I fixed all your comments.
I was pretty sure the webrick it's part of the ruby stdlib, but as I can see now since version 3 they (seem to) have removed it from there https://bugs.ruby-lang.org/issues/17303


$window.zip.unzip not working

if you skip the wrapper code and
window.zip.unzip works fine

It's entirely possible that there's a bug in the wrapper code; could you put together a minimal reproduction of this issue along with what you expect to happen so that I can look into it further for you?


Multiple domains or frontents (using crt-list)

Can I use this plugin if we are serving many domains from one haproxy-instance?
Currently we are serving serts using the crt-list mechanism, which lists domains and their certs.
We also have multiple front ends (different ip-addresses).

Yes you can, it's possible to serve multiple domains. But beware if you create a certificate for multiple domains with certbot the first domain listed in the -d argument is the name of the newly created letsencrypt folder. So don't change the order of the first domain after the initial enroll sequence because this will mess up your Letsencrypt folder structure.
So you should use certbot this way:
certbot certonly --text --webroot --webroot-path /var/lib/haproxy -d domain1.com -d domain2.com --renew-by-default --agree-tos --email<EMAIL_ADDRESS>sudo cat /etc/letsencrypt/live/domain1.com/privkey.pem
/etc/letsencrypt/live/domain1.com/fullchain.pem
| sudo tee /etc/letsencrypt/live/domain1.com/haproxy.pem >/dev/null
Add the /etc/letsencrypt/live/domain1.com/haproxy.pem only once to your front-end https config which serves all domains.

Thank you!


error while running berksfile

Hello,
first of all, many thanks for the great work you did. I just got one error when I try to vagrant up the standalone server under windows 8:
error: unable to create file files/default/vendor/gems/docker-api-1.22.0/spec/vc
r/Docker_Image/_build_from_dir/with_a_valid_Dockerfile/with_a_block_capturing_bu
ild_output/uses_a_cached_version_the_second_time/calls_the_block_and_passes_buil
d_output.yml (Filename too long)
fatal: Could not reset index file to revision '61ebc82d8a0c40d527b78ca8b3e113775
bb254be'.
Do we have any change to solve this problem under windows?
Best Regards
Jing

I solved a similar issue by configuring core.longpaths to true  :
git config --system core.longpaths true
After that the reset commands works as expected.
Hope this helps,


Telephony Channel: NullReferenceException with empty activity received by the bot

Version
4.11
Describe the bug
An echo bot built with Composer 1.3.* and with Telephony Channel enabled drops messages every so often. App Insights shows that the bot fails the following the exception for the missing messages:
System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.Bot.Builder.Streaming.StreamingRequestHandler.ProcessRequestAsync(ReceiveRequest request, ILogger`1 logger, Object context, CancellationToken cancellationToken)
This happens for several different types of activities : conversationUpdate, messageactivity, eventActivity, commandActivity.
To Reproduce
Steps to reproduce the behavior:

Create an echo bot using Composer 1.3 (enable app insights)

Enable the Telephony Channel

Call the bot repeatedly

Notice that ~1 in 6 calls has periods of silence (sometimes at the beginning of the call when greeting is lost, or bot does not echo back the message).

App Insights shows the following exception:
System.NullReferenceException: Object reference not set to an instance of an object.
at Microsoft.Bot.Builder.Streaming.StreamingRequestHandler.ProcessRequestAsync(ReceiveRequest request, ILogger`1 logger, Object context, CancellationToken cancellationToken)

Further tracing shows the activity is sent by the channel and received by the Bot SDK --> streaming library. It is lost along the way from the Streaming library to the bot.

Expected behavior
Activities from the Telephony channel successfully reach the bot.

Refactor of streaming lib ongoing will include a fix for this. ETA R14


Application is not muted even when the machine is muted!

I am using RocketChat application on Debian 10.
Even when I mute my machine I keep hearing sound of RocketChat messages!
Why doesn't the application get muted as well?

Hello @Atinjanki
How could you mute the machine and keep listening it? We need more information on what exactly are you doing and is happening.
You can configure what will notify you on the chat. But we don't touch system audio.


Lithology and Curve Class Abstraction

Lithology and Curve classes are not abstracted using title lists. It should be done to minimize work when upgrading to new versions of the file.

AltLayer Airdrop Season One Update

🚀 Exciting Announcement! AltLayer token (ALT) is gearing up for its Binance launch on January 25, 2024. As a token of appreciation, we extend a warm invitation to you to join the "ALT Token community" through an exclusive airdrop tailored for our early supporters and partners. Here's a quick overview:

Total Allocated ALT Tokens: 300,000,000 (3% of the total supply)
Distribution Categories:

Ethereum Mainnet
Binance Mainnet

For a comprehensive breakdown of criteria and further details, refer to the complete announcement Oficial Website.
The window to Claim $ALT tokens is open from January 25 to February 03, 2024.
Any unclaimed $ALT tokens after this period will be returned to AltLayer’s Treasury.
We deeply appreciate your contribution to AltLayer's success! Stay tuned for more exciting developments in Season One.
Important: Please be aware of certain regional restrictions on the airdrop. Review the disclaimer before participating.
shayan09, @SERDAR-AKIN, @yzhaoyu, @nitinongit, @louishuynh, @andtheysay, @gerlachjan, @NeerajSarwan, @Daniel1989, @wangmn93, @TEMPEST-2-95, @MtDeity, @rayaq-siddiqui, @gdemos01, @BenSparksCode, @nkbrooks, @nitec427, @Elijas, @pyapyapya, @baghii


Add support for changing the slider value using up and down also

Call event.preventDefault() to prevent unwanted scrolling.

https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/ARIA_Techniques/Using_the_slider_role recommends supporting Up and Down also to interact with the slider, and is also how <input type="range"> works in most browsers today.
I also call event.preventDefault() to prevent unwanted scrolling, which is more likely to happen when the user presses up or down, but could also happen with left and right on a wide page.

Thanks for your work @esseb!


ci: prod deploy 01/05/2022

Reviewers
Functional:
Readability:

Changes

add
remove
modify

Definition of Done (from ticket)
QA steps (optional)
Known Issues

Changed to merge commit from squash 👌

Excitingg! First prod deploy of 2022 🤩 🚀 !


[CP] Fix bigtable_it_test instance naming

Cherry pick of #29249 - generated with git cherry-pick b228b4c20560e8ea4877de40b969ae517e2bbf53

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI or the workflows README to see a list of phrases to trigger workflows.

R: @Abacn


ios: Fix RCTEventEmitter import for Expo 44+

When a project is using Swift modules (like Expo 44+), then imports must use the React/<header>.h form, otherwise you get a compiler error: duplicate interface definition for class 'RCTEventEmitter'
This change should be comptabtible with React 40+, which introducedthe React/ headers.
See https://github.com/expo/expo/issues/15622#issuecomment-997225774 for the detailed investigation and fix.
Here is a similar change in another package: https://github.com/LinusU/react-native-get-random-values/pull/33

In the meantime, the following patch (suggested in https://github.com/expo/expo/issues/15622#issuecomment-997225774) to ios/Podfile works with Expo 44:
--- a/ios/Podfile
+++ b/ios/Podfile
@@ -25,6 +25,15 @@ target 'sdk44' do
   post_install do |installer|
     react_native_post_install(installer)

+    # Workaround build error for classic quoted imports
+    installer.pods_project.targets.each do |target|
+      target.build_configurations.each do |config|
+        unless ['React-Core', 'React-RCTText'].include? target.name
+          config.build_settings["USE_HEADERMAP"] = "NO"
+        end
+      end
+    end
+

Thanks for reporting this @renchap. Fix will be in release 2.0.0


Use new repo name for callable workflows repo

Closes #66
This should be merged to also use v1 instead of main directly.

Codecov Report

Merging #67 (8995ba9) into main (653314c) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #67   +/-   ##
=======================================
  Coverage   72.95%   72.95%
=======================================
  Files          14       14
  Lines         514      514
=======================================
  Hits          375      375
  Misses        139      139

Flag
Coverage Δ

linux
72.95% <ø> (ø)

windows
?

Flags with carried forward coverage won't be shown. Click here to find out more.

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 653314c...8995ba9. Read the comment docs.


Remove warnings during tests

Description

Related Issue

[ ] Closes #
[ ] Related to #

Checklist

[ ] Checked that the pre-commit linting/style checks pass
[ ] Included tests that prove the fix is effective or that the new feature works
[ ] Added necessary documentation (docstrings and/or example notebooks)
[ ] If you are a pro: each commit corresponds to a relevant logical change

Modules affected

[ ] MMM
[ ] CLV

Type of change

[ ] New feature / enhancement
[ ] Bug fix
[ ] Documentation
[x] Maintenance
[ ] Other (please specify):

📚 Documentation preview 📚: https://pymc-marketing--823.org.readthedocs.build/en/823/

WIP. The more the merrier

Great 🙌

Only 7 warnings on the 3.10 tests now. Mainly from the CLV fits with potentials
Any thoughts on this?
https://github.com/pymc-labs/pymc-marketing/actions/runs/9876739390/job/27276622994

Bunch of warnings from pytest deprecations upcoming in python 3.14...


Validate template compiler pass lightweight imports

If we add a template compiler, we want to be sure that modules with compiled templates do not need to import the template prep steps from lit-html. We may need to refactor the Template class to facilitate this.

As shown in #1339 we can bypass the TemplateClass completely. We can arrange modules and exports in the future to create a module that excludes Template, html, and svg.


Performance issue compare to native pg connector

Problem
Prisma ORM is 10 to 30 times slower than native pg connector on Node-alpine images we pg-bouncer connection. For a read access pg is taking around 2 to 5 ms, prisma 40 to 140 ms. It's getting worst on write access.
With pg-hero tools we find out that the problem is not on the pg database (same transaction time), and with our tracing solution we discover that prisma operation are very slow.
Suggested solution
Prisma should be at least as performant from native pg connector.
Additional context
https://prisma.slack.com/archives/C044YLSN49E/p1686763739693639

I'm seeing this as well. Prisma is taking 100 to 200ms to run a very basic select-a-single-row-based-on-primary-key query that takes < 5ms otherwise. I'm logging the query from Prisma to be sure that I'm testing the exact same thing.

This makes sense since Prisma uses a rust engine part that has to serialize data to and from. Ghttps://www.prisma.io/docs/orm/more/under-the-hood/engines#prisma-engines  Good example over engineering in my mind.

Curious, is this still an issue on 5.17.0+?

Hey folks, we're about to release Prisma 5.17.0 and it comes with performance improvements on queryRaw.
On our side, we've measured up to 2x perf improvements compared to Prisma 5.16.0, as well as improved memory usage. Here's a similar graph that @laplab did with the new improvements, based on the same pgbench dataset 👇. Please, keep in mind that we won't ever be as fast as a bare driver.

We hope these improvements show promising results on your side as well. With that, I'm closing the issue 🙏
Originally posted by @Weakky in https://github.com/prisma/prisma/issues/23573#issuecomment-2230518040


Unexpected token in datepicker reactjs

./node_modules/react-datepicker/dist/react-datepicker.css Module parse failed: Unexpected token (1:0) You may need an appropriate loader to handle this file type.
| .react-datepicker-popper[data-placement^="bottom"]
| .react-datepicker__triangle, .react-datepicker-popper[data-placement^="top"]
| .react-datepicker__triangle, .react-datepicker__year-read-view--down-arrow,
@ ./datepicker.jsx 21:0-53
@ ./main.js
@ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./main.js

I'm having this same issue and I have a CSS loader in my webpack config. What are some other possibilities that this might occur?


Update app-insights-platforms.md

Making it more clear what languages are officially supported by Application Insights team and what languages are community supported

@AlexBulankou,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

@AlexBulankou : Thanks for your contribution to the Azure documentation! The author, @OlegAnaniev-MSFT, has been notified to review your proposed change.

#sign-off


On IOS , when scroll a gif image out of view , it will pause

scroll a gif image out of view, and scroll back to it , it paused , why is this happened?

http://stackoverflow.com/questions/25125610/how-to-keep-animated-gifs-animated-while-scrolling-on-ios-devices This is not a problem depending on iScroll. Its a native iOS dependency.


Brave <IP_ADDRESS> cannot start

Message Box when starting:

D:\scoop\apps\brave\current\brave.exe
The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail.

In the Event Viewer:

Activation context generation failed for "D:\scoop\apps\brave\current\brave.exe". Dependent Assembly <IP_ADDRESS>,language="*",type="win32",version="<IP_ADDRESS>" could not be found. Please use sxstrace.exe for detailed diagnosis.

The exact executable version is <IP_ADDRESS>

Latest available version in this bucket is 1.4.96.
#3803

IT'S NOT
I have the problem with 1.4.96.
After 2-3 months not using the browser (which worked then), today decided to test some sites with it and saw the error -> updated to the current version an hour ago which is 1.5.115

Then it cannot be from extras bucket
https://github.com/lukesampson/scoop-extras/blob/bf352c2617bac7f1ff995fe02a9af53288f1e898/bucket/brave.json#L2
Checkver was disabled before weak and no updates were done after.

I thought the same:

PS C:\Windows\system32> scoop uninstall brave
Uninstalling 'brave' (1.5.115).
Removing shim for 'brave'.
Removing shortcut ~\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Scoop Apps\Brave.lnk
Unlinking D:\scoop\apps\brave\current
Removing older version (1.0.1).
Removing older version (1.1.20).
Removing older version (1.1.23).
Removing older version (1.2.42).
Removing older version (1.2.43).
Removing older version (1.3.115).
Removing older version (1.3.118).
Removing older version (1.4.96).
'brave' was uninstalled.

scoop update


chore: fix caching and on prem connectivity for iss and jwt combination

This fixes caching and  for iss and jwt.
Caching and on-prem connectivity take the following for identification:

user
tenant

xsuaa jwt
user jwt
service token based on user jwt

custom jwt
user jwt
user jwt

iss only
service token based on iss (is most likely undefined)
service token based on iss

iss + user jwt
user jwt
service token based on iss

Closes SAP/cloud-sdk-backlog#1058.

Thanks for writing down that table, that's definitely helpful. I'm wondering: What about our documentation, both for sdk users and for developers. Is it obvious enough how this behaves based on what parameters you pass? Is it obvious enough what the tradeoffs are with providing a custom issuer?

Thanks for writing down that table, that's definitely helpful. I'm wondering: What about our documentation, both for sdk users and for developers. Is it obvious enough how this behaves based on what parameters you pass? Is it obvious enough what the tradeoffs are with providing a custom issuer?

No, that's why I added this: https://github.com/SAP/cloud-sdk/pull/1336


Release Google.Cloud.DocumentAI.V1Beta3 version 2.0.0-beta19

Changes in this release:
New features

Support Chunk header and footer in Doc AI external proto (commit 4e73a14)

Documentation improvements

Keep the API doc up-to-date with recent changes (commit 4e73a14)

Created release for Google.Cloud.DocumentAI.V1Beta3-2.0.0-beta19


Add support for exit-when-no-features option

https://github.com/arminc/clair-scanner/issues/68

@arminc can't get why Travis is broken. Any clue?


289 add reinvite button to deleted users

Fixes #289
Also add a sorting class for DataTables, sort-asc

:shipit:


Prepare release notes for 0.34 (and ash-window 0.8) with Vulkan 1.2.203

Pending #514
CC @filnet

Should we get https://github.com/MaikKlein/ash/pull/482 in as well?


How to delete all the rows from a table?

How can I wipe an entire table with a single command? Using BatchWrite?

you can't - the easiest and cheapest way to do this is to delete the whole table and create a new one.

if you want to do this without table deletion you have to scan the table and delete the records that are returned

Thanks @akleiber , I ended up adding an expiring time to each row, and use the update command to either add/update, and a combination of both of these things fixed my problem.
Closing this ticket.


DDI-1024 modal closing docs

:tada: This PR is included in version 4.0.0-alpha.71 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.0.0-alpha.113 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 2.0.0-alpha.6 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Gauche Chart Area

Gauge chart takes the same total area of a pie chart.
The half bottom is empty space and it makes responsiveness very hard to work with.
The screenshot below is from project's example page:

Just found a similar issue was posted here before:
https://github.com/gionkunz/chartist-js/issues/272
But the issue was closed when another bug was fixed.

I also had this issue. Had to give up on the gauge because of it.

We will need to rewrite the whole space calculations within the pie charts based on the arc bounding box width and height and align it to use as much space as possible. This shouldn't be too much of a thing but it requires some rethinking.

You can always use transforms to scale and move your chart within the container if desired: http://jsbin.com/vitota/edit?html,css,js,output

Gionkunz, your suggestion worked very well. Nonethless, it reminded me of another problem with the gauge. The gauge's base is not aligned in firefox. I'll open a issue.

In case anyone wants a live demo on how to fix this: http://codepen.io/EvanWieland/pen/bpjrog. This solution also maintains proper chart height during browser resize thanks to the created event.


Can the theme be changed on the fly?

So I am using utterances for my blog, which has a switch to toggle between light and dark mode.
I wonder if there's any way for utterances to switch theme on the fly (maybe with some css or javascript?) so the comment section can always match the whole site's theme.

Seems like a duplicate of #427 to me.

Yes, it is. Thanks.
The solutions in #427 all feels like hacks though. Still hope that utterances can support this out of the box.
Anyway, closing this issue for now.


Inline jetty.xml into pom.xml [in Dev]

Fixes #7634
Removes jetty.xml from the root directory by inlining the configuration into pom.xml that uses it.

Closing in favor of #9353


Sync with master

/cc @PiotrSikora

cc @lizan / @mandarjog [ we need this to fix the protocol sniffing issues]

@PiotrSikora

Interfaces changed, so this sync requires changes to WASM code as well.

Okay, I'll update that.

I'm going to close this PR, since I'm going to be syncing with upstream once the the security release is out in a few hours.


python3.pkgs.astroid: add wheel and pip dependencies

Description of changes
This will be needed by (and is extracted from) https://github.com/NixOS/nixpkgs/pull/245509 for ease of reviewing. This PR adds two dependencies to astroid that were implicitly provided by Python setup hooks but will no longer be.
Things done

Built on platform(s)

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

[x] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] 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/)
23.11 Release Notes (or backporting 23.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

[x] Fits CONTRIBUTING.md.

@ofborg eval


Import error in converter.py

I think there's an error in the latest version of the code that makes the file_converter.py script fail:
import path_modification  # to make timezonefinder package discoverable

should be:
from timezonefinder import path_modification  # to make timezonefinder package discoverable

The script is working for me. Can you please specify your error? How are you calling the script?

This should be fixed in v4.4.0
@zedrdave could you please try and confirm here if the issue has been fixed (so I can close this issue)?
There also is a new shell script parse_data.sh for automatically parsing ocean data.
Could you please try the new functionality and report back preferably directly in the respective issue #88? Thanks in advance.

Thanks for the fix! I will give it a try as soon as possible and report back (hopefully within a day or two).

Hello again!
Sorry for the delay! I was able to check and confirm that the convert_file script now works fine.
The parse_data.sh also does (although it fails if the $WORKING_FOLDER_NAME dir hasn't been created beforehand: perhaps better to use /tmp/ and/or provide an option to set it through a script argument?).
Now that there is parse_data.sh, it might not be very difficult to add an option-based post-install script, that downloads and sets-up tzf with Ocean data, directly from pip/pipenv… If you are open to it, I'd be happy to look into that…

thanks for the feedback!

Now that there is parse_data.sh, it might not be very difficult to add an option-based post-install script, that downloads and sets-up tzf with Ocean data, directly from pip/pipenv… If you are open to it, I'd be happy to look into that…

yes, that would be really great! please report your progress in issue #88

There is still import path_modification in https://github.com/MrMinimal64/timezonefinder/blob/663b340/timezonefinder/file_converter.py

Is there a problem with that?

Same bug as above.
It is invalid syntax on Python 3.

Can you please post the error you get?
This import is required in some configurations in order to make the parent package (timezonefinder) discoverable.
I can run the script with Python3.7 .
Please make sure to update to the latest version of timezonefinder.


Feat/monitoring documentation

Dear @sobrase
Thanks a lot 😊
Merging in temporary branch so we can work on it.


Use the Neat grid

### Problem
I'm unable to use the Neat grid (2.0). https://github.com/thoughtbot/neat
I've changed all Neat's import statements to use the correct markup:
@import url('new-folder/style.scss')
It's get's passed through the Slate CLI build and the stylesheet get's uploaded to Shopify, but the site won't load the stylesheet. (Note: I haven't used any neat mixins in the theme at this point)
There are no logs and no developer mode, so I can't figure out what's going wrong.
### Scope
Issue with Slate's theme scaffolding
### Replication steps
Install neat 2.0 and change it's import statements to comply with Slate

Ultimately Neat 2.0 isn't going to work with any Shopify theme since Shopify's servers only support Sass 3.2.6.  Since Slate doesn't handle any Sass compiling, there's no reason why it wouldn't work if Shopify decides to update to a more recent version of Sass.

As mentioned in the public docs: "Slate does not compile Sass to CSS. Slate uploads .scss files to your theme's /assets directory and compilation is done by Shopify. Shopify is using a forked version of Sass v3.2 which does not support importing partial Sass files with the @import directive."
https://shopify.github.io/slate/theme-scaffold/#sass-helpers

there's no reason why it wouldn't work if Shopify decides to update to a more recent version of Sass.

We'd have to figure out how to do this without breaking a whole bunch of stores using deprecated Sass directives first 😛

As a suggestion to @driespieters, Neat has a plugin to make a grid class set now https://github.com/whmii/neat-class-generator, so you could have a local process to generate your finished grid (with resulting compiled CSS file) then include that in your theme.

Ok, thanks for all the info! I've decided to use a gulp build in combination with Themekit. (Using slate's theme files as a starting point.)

I realize this issue has been closed, but I just wanted to +1 the idea of using Neat & Updating SASS. 3.2.6 is 4 going on 5 years old, that's pretty stale IMO.
I was hoping to use Neat on a recent Slate based project, and was disappointed when I found I wouldn't be able to because of the old version of SASS in use.
As an aside, all versions of Neat were unusable in my testing, as the lowest required version of SASS I was able to locate was 3.3.X


Question about download()

What is the significance of the int returned by FlDownloader.download() ?
What values mean success and failure?

Never mind. When I call FlDownloader.download() in a loop, I found that the return value starts at 1 and increments with each successive call. It doesn't seem to signify success or failure.

@dv30fps the returned int is a downloadId so you can use this number to cancel a download that is running before it finishes or to open the downloaded file on Android only using this number

I will add this information on the method documentation

OK thanks. I decided to use another package that downloads the file to memory instead of writing it to storage. I need to do some processing on the contents before writing to storage. With fl_downloader, I need to read the downloaded file from storage, process, and write the processed contents to storage. The extra I/O operations with fl_downloader double the transit and processing time.


Failed to create organization

Creation of an organization failed. Investigation showed that this is because the organization name already existed for a different user. Organization names should not be unique

Seems like is works now, duplicate names are allowed


[CLI]: Key Error in wandb.config when using wandb.sweep and wandb.agent for parameters tuning in pytorch

Describe the bug

wandb.config sometimes can not access the parameters when using wandb.sweep and wandb.agent, I followed this instruction as well as the document but still encountered the error

sweep_config = {
  "name" : "xxxxxx",
  "method" : "grid",
  "parameters" : {
    "nhead" : {
      "values" : [2, 3]
    },
    "d_model": {
        "value": 6
    },
     ......
  }
}

sweep_id = wandb.sweep(sweep_config, project='xxxxx')

def run(train_loader, val_loader, config=None):
    with wandb.init(config=sweep_config):
        config = wandb.config
        params = {'d_model': config.d_model, 'nhead': config.nhead, 'd_hid':  config.d_hid,
           'nlayers':  config.nlayers, 'n_class': 18,
           'seq_size': 300, 'hid_size': config.hid_size, 'dropout': config.dropout}
        print(params)
        model = Transformer(**params).to(device)
......

wandb.agent(sweep_id, function=run(train_dataloader, val_dataloader), count=10)

Changes to your `wandb` environment variables will be ignored because your `wandb` session has already started. For more information on how to modify your settings with `wandb.init()` arguments, please refer to [the W&B docs](https://wandb.me/wandb-init).
Tracking run with wandb version 0.12.17
Run data is saved locally in D:\Project\xxxxxx\wandb\run-20220527_064552-173j5uls
Syncing run [eager-snowball-22](https://wandb.ai/xxxxx/runs/xxx) to [Weights & Biases](https://wandb.ai/xxxxx) ([docs](https://wandb.me/run))
Waiting for W&B process to finish... (failed 1). Press Ctrl-C to abort syncing.
Synced eager-snowball-22: https://wandb.ai/xxxxxxxxr-xxx/runs/xxxx
Synced 4 W&B file(s), 0 media file(s), 0 artifact file(s) and 0 other file(s)
Find logs at: .\wandb\run-20220527_064552-173j5uls\logs
---------------------------------------------------------------------------
KeyError                                  Traceback (most recent call last)
~\AppData\Local\Temp\ipykernel_18320\3958647640.py in <cell line: 4>()
      2                       step_size=25, patience=3, params=None, sweep_config=sweep_config, tune=True)
      3
----> 4 wandb.agent(sweep_id, function=run(kuhar_train_dataloader, kuhar_val_dataloader), count=4)

~\AppData\Local\Temp\ipykernel_18320\2749057259.py in run(train_loader, val_loader, config)
     42     with wandb.init(config=sweep_config):
     43         config = wandb.config
---> 44         params = {'d_model': config.d_model, 'nhead': config.nhead, 'd_hid':  config.d_hid,
     45            'nlayers':  config.nlayers, 'n_class': 18,
     46            'seq_size': 300, 'hid_size': config.hid_size, 'dropout': config.dropout}

D:\Softwares\Anaconda3\lib\site-packages\wandb\sdk\wandb_config.py in __getattr__(self, key)
    158
    159     def __getattr__(self, key):
--> 160         return self.__getitem__(key)
    161
    162     def __contains__(self, key):

D:\Softwares\Anaconda3\lib\site-packages\wandb\sdk\wandb_config.py in __getitem__(self, key)
    126
    127     def __getitem__(self, key):
--> 128         return self._items[key]
    129
    130     def _check_locked(self, key, ignore_locked=False) -> bool:

KeyError: 'd_model'

I also print wandb.config before params = {'d_model': config.d ......, it shows:
{'method': 'random', 'metric': {'name': 'val_loss', 'goal': 'minimize'}, 'parameters': {'nhead': {'values': [2, 3]}, 'd_hid': {'values': [2, 3, 4]}, 'nlayers': {'values': [4, 6, 8]}, 'hid_size': {'values': [128, 256, 512]}, 'dropout': {'values': [0.1, 0.5, 0.8]}, 'n_class': {'value': 18}, 'seq_size': {'value': 300}, 'd_model': {'value': 6}}}

So to debug it, I run:
def test_():
    with wandb.init(config=config):
        print(wandb.config.dropout)
        print(wandb.config.nhead)
        print(wandb.config.d_hid)

wandb.agent(sweep_id, function=test_, count=1)

it works:
wandb: Agent Starting Run: tqywqzvm with config:
wandb: 	d_hid: 3
wandb: 	d_model: 6
wandb: 	dropout: 0.5
wandb: 	hid_size: 128
wandb: 	n_class: 18
wandb: 	nhead: 2
wandb: 	nlayers: 6
wandb: 	seq_size: 300
Tracking run with wandb version 0.12.17
Run data is saved locally in D:\Project\xxxxx\wandb\run-20220527_065403-tqywqzvm
Syncing run [zesty-sweep-1](https://wandb.ai/xxxx) to [Weights & Biases](https://wandb.ai/xxxx) ([docs](https://wandb.me/run))
Sweep page: https://wandb.ai/xxxxx
0.5
2
3
Waiting for W&B process to finish... (success).
Synced zesty-sweep-1: https://wandb.ai/xxxxx/runs/xxxx
Synced 5 W&B file(s), 0 media file(s), 0 artifact file(s) and 0 other file(s)

It seems work, so I run my code again and this time it also works, so weird:
Changes to your `wandb` environment variables will be ignored because your `wandb` session has already started. For more information on how to modify your settings with `wandb.init()` arguments, please refer to [the W&B docs](https://wandb.me/wandb-init).
Tracking run with wandb version 0.12.17
Run data is saved locally in D:\Project\xxxxxx\wandb\run-20220526_203808-5f51ptmu
Syncing run [smooth-sweep-5](https://wandb.ai/xxxxx/xxxx) to [Weights & Biases](https://wandb.ai/xxxx) ([docs](https://wandb.me/run))
Sweep page: https://wandb.ai/xxxxxx/xxxx

{'d_model': 6, 'nhead': 3, 'd_hid': 2, 'nlayers': 6, 'n_class': 18, 'seq_size': 300, 'hid_size': 128, 'dropout': 0.1}

206it [00:38,  5.31it/s]
[Epoch1] | train_loss:2.2786 | val_loss:1.7227 | train_acc:0.1833 | val_acc:0.2871 | val_f1:0.1980 | lr:1.000000e-01
206it [00:38,  5.34it/s]
[Epoch2] | train_loss:1.6901 | val_loss:1.6323 | train_acc:0.3201 | val_acc:0.3180 | val_f1:0.2638 | lr:1.000000e-01
......

But after the first round of count, a new bug is encountered:

To conclude it, each time I want to tune my parameters, I have to run wandb.agent on the test_() function firstly, other wise I will encounter the first bug. However, after the first ```count`` finish, another bug is encountered.
Additional Files
No response
Environment
WandB version:  0.12.17
OS:  Windows-10-10.0.19044-SP0
Python version: 3.8.12
Versions of relevant libraries:

pytorch version 1.9.0

Additional Context
No response

Hi @AlanConstantine,
That is definitely very odd. Would it be possible for you to share a reproduction of this issue as a Google Colab Notebook? It will help me start off my investigation on my end.
Additionally, the debug.log and debug-internal.log files associated with the affected runs would be very helpful.
As for The TypeError you see, it might be possible that your call to your PyTorch module's forward() call might not be configured correctly - looks like your function args are missing an argument called "src".
Thanks,
Ramit

I reopened my Jupyter and it runs normally now. But as for the TypeError, if my function args missing "src", how can it run and finish the first round? (Actually, I check with my function and I am sure I have passed the "src").
Anyway, I just figured out this bug, thank you!


Consuming SOAP Api. Where can I set the httpBody?

version : 8.0.0-beta.5
swift 3.0
In common way I used the soapMessage which is a String with XML tags, create the data from it and pass into request.httpBody like that:
var request = URLRequest(url: url)
request.addValue("text/xml; charset=utf-8", forHTTPHeaderField: "Content-Type")
request.addValue(soapMessage, forHTTPHeaderField: "Content-Length")
request.httpMethod = httpMethod
request.httpBody = soapMessage.data(using: .utf8, allowLossyConversion: false)

URLSession.shared.dataTask(with: request) {
    [weak self] (data, response, error) in
    if error == nil {
        var result: String?
        if let data = data {
            result = String(data: data, encoding: .utf8)
        }
        completion(result)
    } else {
        self?.log.error(error!.localizedDescription)
        completion(nil)
    }
}.resume()

If I want to use the Moya and TargetType the parameters is a Dictionary type and a sampleData is not called after doing this:
let provider = MoyaProvider<Endpoint>()

provider.request(.authenticateManager(login: "login", password: "123123")) {
  result in
  print(result)
}

My Endpoint  class:
enum Endpoint {
    case login(login: String, password: String)
}

extension Endpoint: TargetType {

    var task: Task {
        return .request
    }
    var validate: Bool {
        return false
    }

    var baseURL: URL {
        var rl : URL;
        return URL(string: "https://someurl.com")!
    }

    var method: Moya.Method {
        return .post
    }

    var path: String {
        return "/somepath.asmx"
    }

    var parameters: [String: Any]? {
        return nil
    }

    var sampleData: Data {
        switch self {
        case .login(let login, let password):
            return SoapMessageCreator()
            .login(userName: login, password: password).data(using: .utf8)!
        }
    }
}

So my question is where should I put the Data from my soapMessage(with XML tags) String ? Or where can I set the httpBody ?
Thanks!

In this case you best bet is to modify the httpBody of the underlying URLRequest. You have two choices on where to do this. Either in the providers requestClosure or by creating a plugin and using the prepare function.

If you can represent all of your XML data in key/value format, another option would be to create a custom parameter encoder conforming to ParameterEncoding and utilize the TargetType.parameters property to pass the data. Then in the endpointClosure create the endpoint with your custom parameter encoder.

You can now use TargetType.parameterEncoding to change the parameter encoding, but you would still need to create a custom XML-based ParameterEncoding.

Ok, thanks for that complete answer!

@k8mil No problem! If you wind up creating a custom XML ParameterEncoding, it would be awesome to submit that to Alamofire in a PR. That way we can offer it to all Moya consumers as well.


Support for numbers in scientific/exponential notation?

Is there any way ipysheet could support number_formating in scientific notation (like '0.00e+00' or some such thing?  I would like to use this for students creating plots and they have to enter some very small and very large numbers, scientific notation would be helpful for cleanly showing the values.

We currently use Handsontable for rendering the table which uses NumbroJS old format for number formatting, I don't see any support for scientific notation here.
I would like ipysheet to use d3-format for number formatting, this one has scientific notation, and it is used by ipywidgets for the slider readout so we will have the same formatting conventions.

This is a kind of a duplicate of this one: #104


Value error when executing program

Hi,
I have this issue when I run the program :
neuralcoref.add_to_pipe(nlp)
File "/Users/name/miniconda3/lib/python3.6/site-packages/neuralcoref/init.py", line 37, in add_to_pipe
nlp.add_pipe(coref, name='neuralcoref')
File "/Users/name/miniconda3/lib/python3.6/site-packages/spacy/language.py", line 293, in add_pipe
raise ValueError(Errors.E007.format(name=name, opts=self.pipe_names))
ValueError: [E007] 'neuralcoref' already exists in pipeline. Existing names: ['tagger', 'parser', 'ner', 'neuralcoref']
And I don't get when I run some examples on the command line.
Any help please ?
Thanks a lot!

The error message points you to the right direction: you already have an neuralcoref component in your pipeline nlp object. So when you add it again with add_to_pipe(), this error is thrown.
I can imagine two cases: either you've called this method twice in your code, or you've loaded an nlp object from file which already had the neuralcoref in it. Either way - there is no need to add it again, so the line that throws the error, can just be removed from your script.