Batch xml file example for MZmine3

I am starting to use MZmine3, and I would like to use it in batch mode, I also would like to be able to read from the raw files directly. I am after two things.
I would like to use MZmine in batch mode but before I can do that I would need to have an
example XML input file to process a set of Thermo raw files or others, if the Thermo raw files
needs to be converted I would need to know what format that needs to be in to use the batch
mode with the XML file.
Also, it would be really useful to have a Thermo raw file reader in Python3 so that I can use it in
some other parsing code as well. Thermofisher has a C# version reader but that would require
me to write the wrapper code for this to be useful.
Would it be possible to get an example XML file to run in batch mode in MZmine3 for
command line use?
Also can MZMine3 export the raw file to a csv file from the command line using the xml batch
file?
Thanks.

Please refer to the documentation and our learners corner and youtube videos. You can use the mzwizard to setup a batch processing configuration. Start with the GUI to setup your batch and then use the file in CLI mode. You can always join the development in mzmine and add your own functionality. This is going to be much easier than working with the resulting files that we provide - in case you want to have stronger access to all data structures like scans and chromatograms.
Best regards
Robin

Also we just released mzmine 4 so check it out

Dear Robin,
ok thank you for letting me know.
What would be very useful and super cool to have is a command line control
mechanism to use MZmine to batch many raw files either
from Thermo fishers to export into a mgf file. In fact what I would need is
an example of xml file to use in batch mode that I can use with MZmine.
The second thing that would really help me is the python version of the
thermofisher raw files.
Regards,
Frederic.
On Mon, Apr 22, 2024 at 12:41 PM Robin Schmid @.***>
wrote:

Also we just released mzmine 4 so check it out
—
Reply to this email directly, view it on GitHub
https://github.com/mzmine/mzmine3/issues/1752#issuecomment-2069063051,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACFMCZCOXOLAS3ZYNABEKD3Y6TSNFAVCNFSM6AAAAABFZWUONSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRZGA3DGMBVGE
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Frederic Bonnet
@.***
=========================================================
This  email  message  is  intended   only for the addressee(s)
and contains  information  which may be confidential  and / or
copyright. If you are not the intended recipient please do not
read, save, forward, disclose, or copy the contents of this email.
If this email has  been sent to  you  in error, please delete this
email  and  any  copies  or  links  to  this  email  completely  and
immediately from your system.  No representation  is  made
that  this email is free of viruses. Virus scanning  is recommended
and  is the responsibility of the recipient.

I am not quite sure what you are trying to do.
There are Python packages that support mzml import or support further statistical analysis of mzmine results.
So within mzmine you can put together any workflow and export results to many different formats. If you need more data the best is to get involved and you can access all sorts of information from each feature or spectrum in mzmine. It is quite simple to build your own module in mzmine.


Better support for deploying to non-home tenant

Purpose
I've been deploying to my non-home tenant this week, and it's been tricky since DefaultAzureCredential doesn't necessarily know which tenant to use. Its chain is:

AzureCliCredential - which can have a default tenant override, if explicitly set
AzureDeveloperCliCredential - doesn't have a default tenant override, but will obey tenant_id or AZURE_TENANT_ID in global env

So sometimes my DAC will work, if I've got my az or env setup right, but often it will break.
This change makes our code more explicitly pass in the tenant_id for local use, which should be set by the azd up process.
However, its slightly backward incompatible as we were bringing tenantId into main.parameters.json, which was overriding what would otherwise be a correctly output tenantId and setting it to an empty string. So some developers may need to re-run azd provision, or go into their .env and set AZURE_TENANT_ID="" there, to get local dev working again.
Does this introduce a breaking change?
When developers merge from main and run the server, azd up, or azd deploy, will this produce an error?
If you're not sure, try it out on an old environment.
[X] Yes - See above
[ ] No

Does this require changes to learn.microsoft.com docs?
This repository is referenced by this tutorial
which includes deployment, settings and usage instructions. If text or screenshot need to change in the tutorial,
check the box below and notify the tutorial author. A Microsoft employee can do this for you if you're an external contributor.
[ ] Yes
[X] No

Type of change
[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[ ] Other... Please describe:

Code quality checklist
See CONTRIBUTING.md for more details.

[X] The current tests all pass (python -m pytest).
[ ] I added tests that prove my fix is effective or that my feature works
[ ] I ran python -m pytest --cov to verify 100% coverage of added lines
[ ] I ran python -m mypy to check for type errors
[ ] I either used the pre-commit hooks or ran ruff and black manually on my code.

CCing everyone who I've discussed DefaultAzureCredential woes with :)

@mattgotteiner  It works only if you're also logged into Azure CLI and have explicitly set your tenant's subscription to the one that was used in the app. So I think it's safer to go with the more explicit credential. We'll see if we get more/less issues with this sort of approach.


Replaced deprecated get_or_create_global_step.

Can you explain what is changing here since I'm not 100% familiar with this code. What is the difference between contrib.framework and train?

@klueska It is the same, basically it has graduated from contrib to train
See here: https://www.tensorflow.org/api_docs/python/tf/contrib/framework/get_or_create_global_step


Number Mapping

Elasticsearch supports a bunch of number types, which have a neat 1:1 mapping for Rust numbers.
Use the most detailed number type available:

Rust
Elasticsearch

i64
long

i32
integer

i16
short

u8
byte

f64
double

f32
float

The base work is looking done, just need to add mapping tests now.


⚠ Bofrost.at has degraded performance

In 88f1125, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2861 ms

Resolved: Bofrost.at performance has improved in 4b07742 after 20 minutes.


feat(api): add pagination following odata spec

closes AB#2935

Codecov Report

Merging #303 (30ad003) into master (3d6cb74) will decrease coverage by 0.02%.
The diff coverage is 27.02%.

:exclamation: Current head 30ad003 differs from pull request most recent head 926c7a2. Consider uploading reports for the commit 926c7a2 to get more accurate results

@@            Coverage Diff             @@
##           master     #303      +/-   ##
==========================================
- Coverage   26.25%   26.22%   -0.03%
==========================================
  Files          56       56
  Lines        3504     3523      +19
  Branches      643      649       +6
==========================================
+ Hits          920      924       +4
- Misses       2363     2378      +15
  Partials      221      221

Impacted Files
Coverage Δ

src/db/device.ts
10.76% <8.33%> (+0.42%)
:arrow_up:

src/routes/devices/getAll.ts
16.00% <11.11%> (-4.00%)
:arrow_down:

src/routes/devices/deviceValidator.ts
100.00% <100.00%> (ø)

src/routes/devices/index.ts
100.00% <100.00%> (ø)

src/utils/constants.ts
100.00% <100.00%> (ø)

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 3d6cb74...926c7a2. Read the comment docs.


Generics validation

Adds validation for generics such as List<@NotBlank String> orMap<String, List<@NotBlank String>>.
The DefaultValidator was modified to accommodate for the functionality. Refer to changes in tests for examples and details, like path display in this case.
Additionally, publisher validation was modified to be performed in form of Mono<@Valid Pojo>. Validation for single publishers (like Mono) was fixed.

@andriy-dmytruk shall I merge this?


Make branch instructions offset program counter by delta

Currently branch instructions such as Br, BrEqz and BrNez adjust the FuncFrame executor's program counter (pc) by an absolute value. The implication is that we always have to keep a base pointer to the first instruction of the function around in order to properly update the program counter and make it point to the next instruction.
An advantageous design is to change branch instructions to offset the program counter by a delta relative to the current program counter. This way we can avoid having the base pointer and only need to carry around a single pointer to the next instruction respectively per FuncFrame in the call stack.
Another implication with this proposed design is that returning from a function will no longer require to query the functions of a FuncFrame but only calling a function will have to do this, therefore call intense workloads will get faster due to having to do less in between function executions after returns.

Implemented in https://github.com/paritytech/wasmi/pull/478. Closed.


Styling

Coverage remained the same at 86.47% when pulling 7682c00a991057c703c66937892fa395af8ef510 on styling into 5179e60f16d0d537c658f6afaf1affa16c30a048 on development.


Check previous proof

Adds basic support for proofChains

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 90.66%. Comparing base (0004a66) to head (42fd29d).

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #35      +/-   ##
==========================================
+ Coverage   90.52%   90.66%   +0.13%
==========================================
  Files           4        4
  Lines         549      557       +8
==========================================
+ Hits          497      505       +8
  Misses         52       52

Files with missing lines
Coverage Δ

lib/DataIntegrityProof.js
90.20% <100.00%> (+0.15%)
:arrow_up:

Continue to review full report in Codecov by Sentry.

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


Space/distribution dimensions

I am working on wrapping the MCVI code in C, and I would like to access the dimensions of the state space. Can we have something like:
dims(space::AbstractSpace)

for spaces and maybe for distributions?
I really only need the number of state variables in the state space for MCVI so maybe we can get around creating a new method. I can get around this by having the user pass in the number of dimensions in the state space into the solver as well.
What does everyone think?

There is already dimensions(s::AbstractSpace) that is supposed to return
the number of dimensions. Is that what you need?
On 1/11/2016 5:27 PM, Maxim Egorov wrote:

I am working on wrapping the MCVI code in C, and I would like to
access the dimensions of the state space. Can we have something like:
dims(space::AbstractSpace)
for spaces and maybe for distributions?
I really only need the number of state variables in the state space
for MCVI so maybe we can get around creating a new method. I can get
around this by having the user pass in the number of dimensions in the
state space into the solver as well.
What does everyone think?
—
Reply to this email directly or view it on GitHub
https://github.com/sisl/POMDPs.jl/issues/50.

Incidentally, I just put a descriptor for it in the README... :-)
On 1/11/2016 5:27 PM, Maxim Egorov wrote:

I am working on wrapping the MCVI code in C, and I would like to
access the dimensions of the state space. Can we have something like:
dims(space::AbstractSpace)
for spaces and maybe for distributions?
I really only need the number of state variables in the state space
for MCVI so maybe we can get around creating a new method. I can get
around this by having the user pass in the number of dimensions in the
state space into the solver as well.
What does everyone think?
—
Reply to this email directly or view it on GitHub
https://github.com/sisl/POMDPs.jl/issues/50.

 Thanks for adding the description. I'll close the issue.


Add placeholder in profile

After register i saw many blank area, please add placeholder section for user experience

Done,


CocoaPods could not find compatible versions for pod "ar_flutter_plugin"

$ pod install
Analyzing dependencies
[!] CocoaPods could not find compatible versions for pod "ar_flutter_plugin"
In Podfile:
ar_flutter_plugin (from .symlinks/plugins/ar_flutter_plugin/ios)
Specs satisfying the ar_flutter_plugin (from .symlinks/plugins/ar_flutter_plugin/ios) depency were found, but they required a higher minimum deployment target.

Already set deployment target from 9 to 14
Still error persists

Hey @leahracquel, could you provide some more information on where the error occurs please? Are you trying to compile your own app that uses the plugin or the example app of the plugin itself?
I just ran pod installin both the ios folder of the example app and in the ios folder of another Flutter app of mine that uses the plugin and that targets iOS 13.0, both ran without errors

I cannot compile my own app and the example app since on pod install it already occurs.
Tried to rebuild and clean the project and app but error persists.
May i know the minimum target IOS?

The minDeployment version needs to be over 30.

utomatically signing iOS for device deployment using specified development team in Xcode project: 5TD7B79GK6
Running pod install...                                           2,408ms
CocoaPods' output:
↳
Preparing
Analyzing dependencies

Inspecting targets to integrate
  Using `ARCHS` setting to build architectures of target `Pods-Runner`: (``)

Fetching external sources
-> Pre-downloading: `FirebaseFirestore` from `https://github.com/invertase/firestore-ios-sdk-frameworks.git`, tag `8.7.0`
  > Copying FirebaseFirestore from
  `/Users/csmac05/Library/Caches/CocoaPods/Pods/External/FirebaseFirestore/c3b6c92018f885870de3f97721641333` to
  `Pods/FirebaseFirestore`
-> Fetching podspec for `Flutter` from `Flutter`
-> Fetching podspec for `ar_flutter_plugin` from `.symlinks/plugins/ar_flutter_plugin/ios`
-> Fetching podspec for `cloud_firestore` from `.symlinks/plugins/cloud_firestore/ios`
cloud_firestore: Using user specified Firebase SDK version '8.7.0'
-> Fetching podspec for `firebase_core` from `.symlinks/plugins/firebase_core/ios`
firebase_core: Using user specified Firebase SDK version '8.7.0'
-> Fetching podspec for `flutter_archive` from `.symlinks/plugins/flutter_archive/ios`
-> Fetching podspec for `geolocator_apple` from `.symlinks/plugins/geolocator_apple/ios`
-> Fetching podspec for `path_provider_foundation` from `.symlinks/plugins/path_provider_foundation/ios`
-> Fetching podspec for `permission_handler_apple` from `.symlinks/plugins/permission_handler_apple/ios`

Resolving dependencies of `Podfile`
  CDN: trunk Relative path: CocoaPods-version.yml exists! Returning local because checking is only performed in repo update
  CDN: trunk Relative path: all_pods_versions_d_d_b.txt exists! Returning local because checking is only performed in repo
  update
  CDN: trunk Relative path: Specs/d/d/b/GLTFSceneKit/0.3.0/GLTFSceneKit.podspec.json exists! Returning local because checking
  is only performed in repo update
  CDN: trunk Relative path: all_pods_versions_c_d_d.txt exists! Returning local because checking is only performed in repo
  update
  CDN: trunk Relative path: Specs/c/d/d/SwiftJWT/3.6.200/SwiftJWT.podspec.json exists! Returning local because checking is only
  performed in repo update
  CDN: trunk Relative path: all_pods_versions_4_e_a.txt exists! Returning local because checking is only performed in repo
  update
  CDN: trunk Relative path: Specs/4/e/a/ARCore/1.35.0/ARCore.podspec.json exists! Returning local because checking is only
  performed in repo update
  CDN: trunk Relative path: Specs/4/e/a/ARCore/1.33.0/ARCore.podspec.json exists! Returning local because checking is only
  performed in repo update
  CDN: trunk Relative path: all_pods_versions_0_3_5.txt exists! Returning local because checking is only performed in repo
  update
  CDN: trunk Relative path: Specs/0/3/5/Firebase/10.4.0/Firebase.podspec.json exists! Returning local because checking is only
  performed in repo update
  CDN: trunk Relative path: Specs/0/3/5/Firebase/8.7.0/Firebase.podspec.json exists! Returning local because checking is only
  performed in repo update
  CDN: trunk Relative path: all_pods_versions_1_6_1.txt exists! Returning local because checking is only performed in repo
  update
  CDN: trunk Relative path: Specs/1/6/1/ZIPFoundation/0.9.16/ZIPFoundation.podspec.json exists! Returning local because
  checking is only performed in repo update
  CDN: trunk Relative path: Specs/0/3/5/Firebase/8.7.0/Firebase.podspec.json exists! Returning local because checking is only
  performed in repo update
  CDN: trunk Relative path: all_pods_versions_4_2_c.txt exists! Returning local because checking is only performed in repo
  update
  CDN: trunk Relative path: Specs/4/2/c/FlutterMacOS/3.0.0/FlutterMacOS.podspec.json exists! Returning local because checking
  is only performed in repo update
  CDN: trunk Relative path: all_pods_versions_8_b_d.txt exists! Returning local because checking is only performed in repo
  update
  CDN: trunk Relative path: Specs/8/b/d/FirebaseCore/10.4.0/FirebaseCore.podspec.json exists! Returning local because checking
  is only performed in repo update
  CDN: trunk Relative path: Specs/4/e/a/ARCore/1.33.0/ARCore.podspec.json exists! Returning local because checking is only
  performed in repo update
  CDN: trunk Relative path: all_pods_versions_c_e_3.txt exists! Returning local because checking is only performed in repo
  update
  CDN: trunk Relative path: Specs/c/e/3/GTMSessionFetcher/3.1.0/GTMSessionFetcher.podspec.json exists! Returning local because
  checking is only performed in repo update
  CDN: trunk Relative path: Specs/c/e/3/GTMSessionFetcher/1.2.0/GTMSessionFetcher.podspec.json exists! Returning local because
  checking is only performed in repo update
  CDN: trunk Relative path: Specs/c/e/3/GTMSessionFetcher/1.2.1/GTMSessionFetcher.podspec.json exists! Returning local because
  checking is only performed in repo update
  CDN: trunk Relative path: Specs/c/e/3/GTMSessionFetcher/1.2.2/GTMSessionFetcher.podspec.json exists! Returning local because
  checking is only performed in repo update
  CDN: trunk Relative path: Specs/c/e/3/GTMSessionFetcher/1.3.0/GTMSessionFetcher.podspec.json exists! Returning local because
  checking is only performed in repo update
  CDN: trunk Relative path: Specs/c/e/3/GTMSessionFetcher/1.3.1/GTMSessionFetcher.podspec.json exists! Returning local because
  checking is only performed in repo update
  CDN: trunk Relative path: Specs/c/e/3/GTMSessionFetcher/1.4.0/GTMSessionFetcher.podspec.json exists! Returning local because
  checking is only performed in repo update
  CDN: trunk Relative path: Specs/c/e/3/GTMSessionFetcher/1.5.0/GTMSessionFetcher.podspec.json exists! Returning local because
  checking is only performed in repo update
  CDN: trunk Relative path: Specs/c/e/3/GTMSessionFetcher/1.6.0/GTMSessionFetcher.podspec.json exists! Returning local because
  checking is only performed in repo update
  CDN: trunk Relative path: Specs/c/e/3/GTMSessionFetcher/1.6.1/GTMSessionFetcher.podspec.json exists! Returning local because
  checking is only performed in repo update
  CDN: trunk Relative path: Specs/c/e/3/GTMSessionFetcher/1.7.0/GTMSessionFetcher.podspec.json exists! Returning local because
  checking is only performed in repo update
  CDN: trunk Relative path: Specs/c/e/3/GTMSessionFetcher/1.7.1/GTMSessionFetcher.podspec.json exists! Returning local because
  checking is only performed in repo update
  CDN: trunk Relative path: Specs/c/e/3/GTMSessionFetcher/1.7.2/GTMSessionFetcher.podspec.json exists! Returning local because
  checking is only performed in repo update
  CDN: trunk Relative path: all_pods_versions_6_1_e.txt exists! Returning local because checking is only performed in repo
  update
  CDN: trunk Relative path: Specs/6/1/e/nanopb/2.30909.0/nanopb.podspec.json exists! Returning local because checking is only
  performed in repo update
  CDN: trunk Relative path: Specs/4/e/a/ARCore/1.33.0/ARCore.podspec.json exists! Returning local because checking is only
  performed in repo update
  CDN: trunk Relative path: Specs/0/3/5/Firebase/8.0.0/Firebase.podspec.json exists! Returning local because checking is only
  performed in repo update
  CDN: trunk Relative path: Specs/0/3/5/Firebase/8.1.0/Firebase.podspec.json exists! Returning local because checking is only
  performed in repo update
  CDN: trunk Relative path: Specs/0/3/5/Firebase/8.1.1/Firebase.podspec.json exists! Returning local because checking is only
  performed in repo update
  CDN: trunk Relative path: Specs/0/3/5/Firebase/8.2.0/Firebase.podspec.json exists! Returning local because checking is only
  performed in repo update
  CDN: trunk Relative path: Specs/0/3/5/Firebase/8.3.0/Firebase.podspec.json exists! Returning local because checking is only
  performed in repo update
  CDN: trunk Relative path: Specs/0/3/5/Firebase/8.4.0/Firebase.podspec.json exists! Returning local because checking is only
  performed in repo update
  CDN: trunk Relative path: Specs/0/3/5/Firebase/8.5.0/Firebase.podspec.json exists! Returning local because checking is only
  performed in repo update
  CDN: trunk Relative path: Specs/0/3/5/Firebase/8.6.0/Firebase.podspec.json exists! Returning local because checking is only
  performed in repo update
  CDN: trunk Relative path: Specs/0/3/5/Firebase/8.6.1/Firebase.podspec.json exists! Returning local because checking is only
  performed in repo update
  CDN: trunk Relative path: Specs/0/3/5/Firebase/8.7.0/Firebase.podspec.json exists! Returning local because checking is only
  performed in repo update
  CDN: trunk Relative path: Specs/0/3/5/Firebase/8.8.0/Firebase.podspec.json exists! Returning local because checking is only
  performed in repo update
  CDN: trunk Relative path: Specs/0/3/5/Firebase/8.9.0/Firebase.podspec.json exists! Returning local because checking is only
  performed in repo update
  CDN: trunk Relative path: CocoaPods-version.yml exists! Returning local because checking is only performed in repo update

――― MARKDOWN TEMPLATE ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――

### Command

```
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/bin/pod install --verbose
```

### Report

* What did you do?

* What did you expect to happen?

* What happened instead?

### Stack

```
   CocoaPods : 1.11.3
        Ruby : ruby 3.1.2p20 (2022-04-12 revision 4491bb740a) [arm64-darwin21]
    RubyGems : 3.3.11
        Host : macOS 12.5.1 (21G83)
       Xcode : 14.0.1 (14A400)
         Git : git version 2.37.0 (Apple Git-136)
Ruby lib dir : /opt/homebrew/Cellar/ruby/3.1.2_1/lib
Repositories : trunk - CDN - https://cdn.cocoapods.org/
```

### Plugins

```
cocoapods-deintegrate : 1.0.5
cocoapods-plugins     : 1.0.0
cocoapods-search      : 1.0.1
cocoapods-trunk       : 1.6.0
cocoapods-try         : 1.2.0
```

### Podfile

```ruby
# Uncomment this line to define a global platform for your project
platform :ios, '13.0'

# Override firebase SDK version for compatibility reasons
$FirebaseSDKVersion = '8.7.0'
# CocoaPods analytics sends network stats synchronously affecting flutter build latency.
ENV['COCOAPODS_DISABLE_STATS'] = 'true'

project 'Runner', {
  'Debug' => :debug,
  'Profile' => :release,
  'Release' => :release,
}

def flutter_root
  generated_xcode_build_settings_path = File.expand_path(File.join('..', 'Flutter', 'Generated.xcconfig'), __FILE__)
  unless File.exist?(generated_xcode_build_settings_path)
    raise "#{generated_xcode_build_settings_path} must exist. If you're running pod install manually, make sure flutter pub get
    is executed first"
  end

  File.foreach(generated_xcode_build_settings_path) do |line|
    matches = line.match(/FLUTTER_ROOT\=(.*)/)
    return matches[1].strip if matches
  end
  raise "FLUTTER_ROOT not found in #{generated_xcode_build_settings_path}. Try deleting Generated.xcconfig, then run flutter
  pub get"
end

require File.expand_path(File.join('packages', 'flutter_tools', 'bin', 'podhelper'), flutter_root)

flutter_ios_podfile_setup

target 'Runner' do
  use_frameworks!
  use_modular_headers!

  pod 'FirebaseFirestore', :git => 'https://github.com/invertase/firestore-ios-sdk-frameworks.git', :tag => '8.7.0' # This line
  improves build times (see https://firebase.flutter.dev/docs/overview/)
  flutter_install_all_ios_pods File.dirname(File.realpath(__FILE__))
end

post_install do |installer|
  installer.pods_project.targets.each do |target|
    flutter_additional_ios_build_settings(target)
    target.build_configurations.each do |config|
      config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '13.0'

      config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= [
        '$(inherited)',

        ## dart: PermissionGroup.camera
        'PERMISSION_CAMERA=1',

        ## dart: PermissionGroup.photos
        'PERMISSION_PHOTOS=1',

        ## dart: [PermissionGroup.location, PermissionGroup.locationAlways, PermissionGroup.locationWhenInUse]
        'PERMISSION_LOCATION=1',

        ## dart: PermissionGroup.sensors
        'PERMISSION_SENSORS=1',

        ## dart: PermissionGroup.bluetooth
        'PERMISSION_BLUETOOTH=1',

      ]
    end
  end
end
```

### Error

```
JSON::ParserError - 451: unexpected token at '"~> 8.9.0-be'
/opt/homebrew/Cellar/ruby/3.1.2_1/lib/ruby/3.1.0/json/common.rb:216:in `parse'
/opt/homebrew/Cellar/ruby/3.1.2_1/lib/ruby/3.1.0/json/common.rb:216:in `parse'
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-core-1.11.3/lib/cocoapods-core/specification/json.rb:61:in
`from_json'
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-core-1.11.3/lib/cocoapods-core/specification.rb:748:in
`from_string'
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-core-1.11.3/lib/cocoapods-core/specification.rb:722:in `from_file'
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-core-1.11.3/lib/cocoapods-core/source.rb:188:in `specification'
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/resolver/lazy_specification.rb:37:in
`specification'
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/resolver/lazy_specification.rb:29:in
`subspec_by_name'
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/resolver.rb:362:in `block in
specifications_for_dependency'
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/resolver.rb:362:in `map'
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/resolver.rb:362:in
`specifications_for_dependency'
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/resolver.rb:165:in `search_for'
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/resolver.rb:274:in `block in
sort_dependencies'
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/resolver.rb:267:in `each'
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/resolver.rb:267:in `sort_by'
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/resolver.rb:267:in `sort_by!'
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/resolver.rb:267:in `sort_dependencies'
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/molinillo-0.8.0/lib/molinillo/delegates/specification_provider.rb:60:in
`block in sort_dependencies'
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/molinillo-0.8.0/lib/molinillo/delegates/specification_provider.rb:77:in
`with_no_such_dependency_error_handling'
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/molinillo-0.8.0/lib/molinillo/delegates/specification_provider.rb:59:in
`sort_dependencies'
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:754:in
`push_state_for_requirements'
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:744:in
`require_nested_dependencies_for'
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:727:in `activate_new_spec'
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:684:in `attempt_to_activate'
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:254:in `process_topmost_state'
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/molinillo-0.8.0/lib/molinillo/resolution.rb:182:in `resolve'
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/molinillo-0.8.0/lib/molinillo/resolver.rb:43:in `resolve'
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/resolver.rb:94:in `resolve'
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/installer/analyzer.rb:1078:in `block in
resolve_dependencies'
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/user_interface.rb:64:in `section'
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/installer/analyzer.rb:1076:in
`resolve_dependencies'
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/installer/analyzer.rb:124:in `analyze'
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/installer.rb:416:in `analyze'
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/installer.rb:241:in `block in
resolve_dependencies'
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/user_interface.rb:64:in `section'
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/installer.rb:240:in `resolve_dependencies'
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/installer.rb:161:in `install!'
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/command/install.rb:52:in `run'
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/claide-1.1.0/lib/claide/command.rb:334:in `run'
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/lib/cocoapods/command.rb:52:in `run'
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/gems/cocoapods-1.11.3/bin/pod:55:in `<top (required)>'
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/bin/pod:25:in `load'
/opt/homebrew/Cellar/cocoapods/1.11.3/libexec/bin/pod:25:in `<main>'


Update PricesYahoo

Adds _fill_reindexed_daily to fill missing prices for daily data
and raise PricesMissingWarning.
Adds test__fill_reindexed_daily to test_yahoo.py.
Revises implementation of yahoo_exchange_name to raise error if
invalid symbol passed to constructor. Also adds test_invalid_symbol.
Refactors part of _set_daily_bi_limit to new _first_trade_dates.
Adds restriction to PricesBase that all calendars must cover period
over which intraday price data available. Also adds
test_calendar_too_short_error to test_base.pyandCalendarTooShortErrortoerrors.py`.
Revises skip_if_fails_and_today_blacklisted to query multiple
CompositeCalendars.

Also fixes:

TestGet.test_openend
test_daterange_duration_days_end_oolb_minute.

Closed as PR workflow not enabled.


feat: linking dashboards part-3

All the dashboards have been tested, but these (as their metrics would be created based on the condition):

Health
Changelog Monitor
MetroCluster


Real time badge appears under other elements on a page.

When using   the badge 'pop out' appears below other elements in the page.
Is there a way to modify the CSS so that it would appear on top of any other elements, no matter what?

@stephantual could you show me a screenshot so I better understand the problem?


Fix a bug

Pointed out by Max Isi:

The sampling frequency should be 2fNyq, i.e., 2fMax, it shouldn't depend on what you call f_min. Any well-formed frequency series has to start at f = 0, for it to inverse-FFT into a well-formed time series. If your PSD frequency-series starts at some nonzero value, that just means we are assuming all values of the PSD below that fmin to be infinity / zero, but the corresponding sampling frequency would still be 2fmax, not 2(fmax - fmin).

The first two commits fix this bug and add more checks for the psd/asd file.
The third commit adds two more parameters: minimum_frequency and maximum_frequency to set_bilby_ifo.

@Lu-Neil Please take a look to see if you agree with these changes.

@Sizheng-Ma @Lu-Neil please merge this ASAP so we can use the hash as reference for the review

See this notebook for checks.


Keyboard focus is lost when using CMD-1/2/3

If I use CMD-1/2/3 to switch between Today/All unread/Starred, then the arrows on the keyboard no longer behave correctly. I have to press Tab at least twice for the side bar highlight to reappear (depending on if I have the toolbar visible or not). I cannot see where keyboard focus has moved to when pressing the shortcut.
Should the focus be whichever option I have just switched to rather than hidden/lost?

Which version of macOS are you running?

It looks like if the article list has focus when you press Cmd-1/2/3, focus jumps to the detail view instead of remaining on the article view.

This is in the upcoming 5.1. release.


API04758 use original upstream auth0/passport-wsfed-saml2

Uses the original upstream project auth0/passport-wsfed-saml2 instead of the internally managed fork, lighthouse-passport-wsfed-saml2
Remove forced resolutions from the package.

Note that @lukemarkwordtlibertyits  has exercised theses in the draft PR at https://github.com/department-of-veterans-affairs/vets-saml-proxy/pull/249.
SAML Proxy Regression Tests
Happy Path
Test Steps

Make an authentication request for user<EMAIL_ADDRESS>
Expected Results

[x] Access Token Returned
[x] ID Token Returned

Empty SSO Request
Test Steps
curl $HOST/samlproxy/idp/saml/sso

Expected Results

[x] User Redirected to Error Page.

MPI Lookup Error
Test Steps

Make an authentication request for user<EMAIL_ADDRESS>
Expected Results

[x] icnError.hbs should be rendered

Invalid Saml Request
Test Steps

Intercept SAML request, make the xml invalid.

Expected Results

[x] Sensitive Error page should be rendered

Invalid LOA
Test Steps

sign in with invalid loa user.

Expected Results

[x] Taken to verify page.

Basic Saml Modify Attack
Test Steps

Intercept Saml Request
Modify Assertion

Expected Results

[x] Sensitive Error should be rendered.

SXW Attacks
Test Steps

Apply SXW 1 - 8

Expected Results

[x] All should render a Sensitive Error.

Replay attack
Test Steps

Apply replay attack to assertion

Expected Results

[x] Sensitive Error should be rendered.

Comment Truncation Attack
Test Steps

Apply comment truncation attack on assertion.

Expected Results

[x] Outgoing assertion should be unchanged.


Hybrid WHfB: MarkDown code format, whitespace, typos

Description:
As mentioned in PR #8595, I noticed quite a few formatting issues in this document, both for MarkDown code block formatting and whitespace usage (or lack thereof).
Since the PR was focused on a quite specific topic update, the PR author did not want additional changes added. I therefore submit a list of my own improvements.
Changes proposed:

add MarkDown code block syntax highlighting language aspx for the schema scripts (might be asp.net or XML)
reformat and wrap the example script for removing any existing issuerID claim (Remarks section)
add proper MarkDown code blocks around separate command lines and important lists
add PowerShell syntax highlighting to PS MarkDown code blocks
remove PowerShell command prompt for command copying (current codestyle)
remove redundant ending ### in the heading "#### ADFS Web Proxy ###"
typo correction: replace "and" with "a" in "open and command prompt"
add missing colon at the end of introductory sentences

Whitespace changes:

add missing blank lines between section headings (H2/H3/H4) and their text paragraphs
remove any blank space at the end of lines (whitespace cleanup)
standardize number list spacing to a single blank (MarkDown standard)

Ticket closure or reference:
Ref. #8595

#sign-off

#sign-off

@e0i : For Your Information & please assign Matthew (mapalko) for code review. Request copy review if you find it practical.

@JohanFreelancer9 Copy editing is needed for this PR. Thanks.

@JohanFreelancer9 : Very good job. Well spotted. Thank you for pointing out all those missing punctuation items in this document. Feels almost like I did not make much of an effort to check the document for proper punctuation.

#sign-off

Thank you. Your confirmation is very welcome.

I recommend using Hide whitespace changes to reduce the amount of lines for review, but more importantly, to align the actual changes better:

https://github.com/MicrosoftDocs/windows-itpro-docs/pull/8686/files?diff=unified&w=1

(Some of the whitespace changes are causing disorder in the appearance of factual changes, making it look like I have altered some text content instead of only typo corrections.)

Sorry for the disruption. I made some mistakes during branch clean-up in my repo.

@e0i : May I ask you to please check if this PR has been dislodged from any automatic listing for PRs to be followed up, in case my unwanted closure and re-opening caused a technical problem?

@e0i : May I ask you to please check if this PR has been dislodged from any automatic listing for PRs to be followed up, in case my unwanted closure and re-opening caused a technical problem?


Validations

Hey @toranb, the integration looks great so far! Have you given any thought to how validations might work?
They could perhaps just be handled on the component, using https://github.com/DockYard/ember-validations. An action handler on a presenter component could take care of the validation before dispatching a closure action. While the ember-validations approach seems practical I'm not sure how it fits in with redux or CQRS (I've found CQRS to have clearer definitions of the responsibilities than redux - http://jaysoo.ca/2015/02/06/what-the-flux/).
edit: took closure actions into account

Good question! Right now I'm just doing component level validation (on purpose) because each component has a unique context/ or perspective. And because the mapped values from redux are just computed properties it should work/ act like normal ember.
For async validation a you can fire them from with the components actions mapping and you have a reference to anything you'd need to display feedback from the user. I'll throw up a short example tonight when I'm back in town to express the second half of my example (doing a full day of travel without wifi)

'''js
var mapDispatchToActions = {
return {
add: function() {
var component = this;
ajax("api/users", "GET").then((response) => {
console.log(component.get("number"));
//or dispatch({type: "ADD"});
});
}
}
};

Ah, I hadn't realised this pointed to the component. I'd have to check but I presume this would always point to the container component rather than the component where the action originated(where I'd want to handle the validation error). Closure actions seem to solve this one though. If you invoke a closure action from a normal action within a presenter component then it can return a promise and raise an error to indicate that creation of the action was rejected (e.g. when remote validation fails).

Right on - closure actions have solved this problem for me so far but let me know if you find anything else that we should add to support better validation in components generally.


Switch unsplash-wallpaper to versioned url

Thank you for the contribution. It was merged directly as 03bc1cdd77ad3ecc25941b2d4b299d3a8855f9cc to keep commit history cleaner. Your contribution is still credited to you.


[Frontend] fix CVE and add frontend test

Description
ejs dpendencies is causing critical CVE and patch with latest

@c007456


Add a subframes option to Movie Maker mode to improve rendering quality

If set to a value greater than 0, enables sub-frame generation. This will render more frames than will be recorded in the given video by the factor 1 + subframes. For example, setting --write-movie-subframes 3 will render 4 times as many frames as will be present in the final video file.
This will improve rendering quality in 3D by allowing temporal effects (TAA, volumetric fog, SDFGI) to converge faster and more accurately.

This closes https://github.com/godotengine/godot-proposals/issues/6543.

Preview
Subframes disabled
Notice how antialiasing is less stable (especially on the reflective spheres) and SDFGI visibly takes time to converge when the scene loads.
https://user-images.githubusercontent.com/180032/226412511-3e36af73-227c-40c7-b116-6349ab5eb122.mp4
With 99 subframes (highest value you can set in project settings)
Recording is much slower to perform, but temporal features appear to converge instantly. You don't need 99 subframes for optimal rendering quality (3-7 subframes will get you pretty far already), but this is to show an extreme example.
https://user-images.githubusercontent.com/180032/226412231-5254883f-b1f4-42fa-a995-daceadd41231.mp4

Rebased and tested again, it works as expected.


Fix URL to locations.geojson

For some reason, currently locations.geojson is referenced with an incorrect URL, which affects production.

This PR fixes the bug.

@jeanduplessis requesting a review from you because you edited this file a lot. Thanks

Thanks for the fix @oleggromov


Index page does not work when the type from Polymorphic is hidden

https://user-images.githubusercontent.com/237136/190891767-f9b32033-aa43-46b8-8572-b534cf905f79.mov
It even break the structure of the table.

@ruanltbg thanks for reporting this - it has been fixed in the latest release:
https://rubygems.org/gems/motor-admin/versions/0.3.12


Refactoring

Very like your code-style and how you defining an architecture in the app.
But want to add this refactoring things to project, because I'm thinks that too much symbols in one line of code is not so good:

Eyes not need always run to right side of an file (to the right half of a line, more than ~70 symbols)
Also if you want to check code from mobile device, it's inconvenient to always swipe right and left

Thanks for the PR, but I prefer to always wrap lines after = in functions. And also in properties unless it's a one-liner. I also prefer single line calls when I find it not too complicated. I know, it's subjective. Sorry, but I won't accept PRs for code style changes.


/managesources command does not save state upon bot restart

📝 Description
If I edit the sources using the /managesources command, when the bot gets restarted it goes back to the default. (The reason I restart the bot often is because Spotify dies after a few hours of the bot being up ¯\_(ツ)_/¯)
🪜 Reproduction Steps

Run /managesources
Change some stuff
Restart bot
Run /managesources again

ℹ Environment / Computer Info

Parrot version: 1.5.1
Operating System: Ubuntu 22.04.1 LTS (GNU/Linux 5.15.0-58-generic x86_64)

📸 Screenshots
No response

Hi and welcome, @futiiile! ✌
Unfortunately, as of now there's still no mechanism for preserving state, which is what #124 tries to solve. Once that issue moves forward, allowed/blocked sources will be stored.

😞 😞 😞

:sweat_smile:  peer pressure working at its finest. Here baitolas: https://github.com/aquelemiguel/parrot/pull/237

Hi and welcome, @futiiile! ✌
Unfortunately, as of now there's still no mechanism for preserving state, which is what #124 tries to solve. Once that issue moves forward, allowed/blocked sources will be stored.

Hello, thank you for the response!
I am glad to see it is being worked on. I hope you guys will also find a solution to keep Spotify alive during the whole time the bot is up. Good luck!

:disappointed: :disappointed: :disappointed:

@futiiile next release should contain the saving feature :) https://github.com/aquelemiguel/parrot/pull/237


Config changes to reflect the default branch from master to main. Please merge to complete the default branch renaming job.

Auto branch renaming content.

Docs Build status updates of commit 47c93ed:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

.openpublishing.publish.config.json
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Update README to list projects using your template

A nice thing is to update the README to contain a list of projects using your template. For example, mine: https://github.com/lucky-chap/seraph

Nice idea! I think it will be more appropriate to put it in a discussion thread like this one: https://github.com/chakra-ui/chakra-ui/discussions/405


Added LuaJIT hook blog

I know I've just spammed you with three PR's of my own work, hopefully they follow your idea of what this awesome resource you've compiled should be!

Thanks, Nick! Definitely, man. Just about anything game-hacking-centric is great here!


Login fails if we use the netrc strategy and there is no netrc file present.

import earthaccess
print(f"using earthaccess version {earthaccess.__version__}")

auth = earthaccess.login(strategy="netrc")

The code in earthaccess/api just passes the null auth object to the store and then it breaks. A fix is in progress.

I just came to report this... let me know if I can help!

I can see a number of solutions to this.

  Something like FileNotFoundError(".netrc not found.  See https://how_to_create_a_netrc")
Raise a warning with a similar message to above and then fall-back to entering EDL creds from cmd line.
Similar to 2 but allow .netrc to be created.

2 and 3 assume that earthaccess will be used interactively.  1 allows for earthaccess to be used from a script.  My preference is for 1 because I can see that one valuable use case for eathaccess is creating reproducible workflows.

I agree Andy, I think 2 things are needed:

What you suggested, if a user explicitly uses strategy=netrc and for some reason earthaccess cannot locate the .netrc, we should rise an exception with the error message.
earthaccess should automatically fallback if no strategy is provided i.e.

import earthaccess

auth = earthaccess.login()

should try the environment first, then the netrc and lastly ask the user for credentials if both fail.
What do you both think?

I like the idea of raising an error if the user specifies netrc but doesn't have one.

should try the environment first, then the netrc and lastly ask the user for credentials if both fail.
What do you both think?

I think I would try netrc, then environment, then command line. I don't know how universal this is, but at least for Hackweeks we've tended to recommend the netrc method of storing credentials, because it doesn't require the user to have an understanding of environment variables (what they are, how to automatically set them, etc., especially in a shared hub environment). I'm sure the computational difference is minimal, but I think we should order them by what the average user is most likely to have set up.

I think I would try netrc, then environment, then command line.

I would want the order to be exactly the opposite :rofl: . That is, I want to be able to easily override my default .netrc credentials without having to edit the .netrc file so that I can change between testing accounts. And I think, at least for the CLI ones, since a user would have explicitly provided them, you should just use them.
If using the .netrc is going to be a hard requirement (might be needed for distributed computing), then, I'd still allow CLI/ENV variables and write them to the .netrc for users, but raise an error if there is a .netrc already and the credentials don't match (or even just if there is a .netrc already since it can store many different credentials).

Just to clarify, we can use any mechanism explicitly, we can safely use interactive and override the .netrc credentials. I think the environment first makes sense for programmatic access, i.e. AWS uses the environment variables if they are set and if not, it tries to find the aws_config file. Another advantage of using the environment first is on CI, we can inject those and use earthaccess to render the notebooks without having to inject a .netrc file. For most users this will be transparent (if they have a netrc with EDL credentials)


pkg/system: Set appropriate CFLAGS on Solaris

The cgo in meminfo_solaris.go initializes variables in for loops, and therefore requires a -std=c99 CFLAG in order to compile (at least on modern SmartOS).
This pull request adds the flag.

@jen20 are you interested in doing a smartos port? The Solaris port is AFAIK cancelled unfortunately, so the code is in a bit of an unfinished state. If you are it would be good to open a tracking issue.

@justincormack I'm certainly interested in maintaining the parts of the client needed for use with Nomad (which I am currently porting to SmartOS) - is this what you mean or are you talking about a broader scope port?

@jen20 ah ok the client side should be relatively straightforward. The full Solaris port which was being worked on was a daemon port, which could perhaps have been ported to SmartOS too, had it been finished.


Change dir name for temp dir in bioconda-recipe/recipes/ from 2 to something unique

We are currently name the temp folder 2, this can cause us some headache and we should find some unique string which will never be a package name.

An idea for a unique string could be the SHA of the package name


Fix check if info event was already published

Hi, a stacker reported that NWC of cashu.me fails to link with Stacker News, see https://stacker.news/items/645420:

I'm getting and error trying to connect Cashu.me to Stacker.News using NWC in the wallets sections. The error I'm getting is EOSE received without info event. Does anyone see this? Cashu.me NWC works for other websites like NoStudel and Habla.
The rest of my logs look like this:

2m	[nwc]	error	failed to attach: EOSE received without info event
2m	[nwc]	info	closed connection to wss://relay.primal.net
2m	[nwc]	error	EOSE received without info event
2m	[nwc]	ok	connected to wss://relay.primal.net
2m	[nwc]	info	requesting info event from wss://relay.primal.net
3m	[nwc]	error	failed to attach: EOSE received without info event
3m	[nwc]	info	closed connection to wss://relay.primal.net
3m	[nwc]	error	EOSE received without info event

As you can see, it failed to link since the info event was not found.
I looked into the source code and noticed that ndk.fetchEvents returns a set and thus is always truthy. This means the info event never gets published.
This PR fixes that.

Solid bug fix, thank you very much!


[Feature Request]: Make the tagline of the page randomize...

The Original Website's Tagline in the heading is random and changes on every reload,
A clear and concise description of what you want to happen.
We need to implement this randomized tagline feature using JavaScript.

I would like to work on this issue.

I would like to work on this issue.

Sure @Chanpreetk03, I am assigning this issue to you.

Hey, I would like to work on this issue.

Created a pull request, please review and suggest any changes if needed.

Hey, I would like to work on this issue.

Good to see your interest, but sorry, @Ranjana993, this issue was already assigned to someone else. You can work on other issues if you want

Created a pull request, please review and suggest any changes if needed.

Alright, @Chanpreetk03, I have reviewed the PR and requested al


Update table-footer.js

[TABLE] Apply formatter function for column on footer summary by this column
Please make sure these boxes are checked before submitting your PR, thank you!

[ ] Make sure you follow Element's contributing guide (中文 | English | Español).
[x] Make sure you are merging your commits to dev branch.
[x] Add some descriptions and refer relative issues for you PR.

formatter accepts a function which has four parameters:  row, column, cellValue, index. Your code will trigger an error if someone just use the first parameter, eg:
formatter(row) {
return $ ${row.amount1}
}


of gettext(), unicode and non-unicode consoles

preemptive issue but no reports so far, so closing this


Start button AB test  For July 2016

Trello card
Description
This PR sets up AB test for the following smart answers:

overseas-passport
calculate-your-child-maintenance
marriage-abroad

Cohorts across the aforementioned smart answers fall under the following.

Start now
Continue
Next

Currently being tested in the Integration environment.
Also as a result of the recent update to the front-end toolkit.

https://github.com/alphagov/govuk_frontend_toolkit/pull/296
https://github.com/alphagov/govuk_frontend_toolkit/pull/294
https://github.com/alphagov/govuk_frontend_toolkit/pull/292

This PR also contains a bump to the front-end toolkit from 4.8.0 to 4.14.0
NB:
This branch has already been tested on the integration server by @vp2015 and Dan.
See on Integration (Deploy App Job):

5238
5208
5200
5183
5182
5181

Heroku Preview Links:

https://smart-answers-pr-2655.herokuapp.com/marriage-abroad
https://smart-answers-pr-2655.herokuapp.com/overseas-passports
https://smart-answers-pr-2655.herokuapp.com/calculate-your-child-maintenance

I have added the labels Needs factcheck and Ready for code review

Could you please update the commit notes of https://github.com/alphagov/smart-answers/pull/2655/commits/4fd10530c44985c3512c7f73db04744887c7d441 and describe why you are confident it is not breaking anything in smart-answers.
It feels like a big update: from 4.8 to 4.14 and I am not sure if the rest of the app will continue working as expected.

@pmanrubia Great point and thanks for pointing this out.
I have examined closely the diff betwee 4.14 to 4.8
I haven't see anything that is of concern.. @selfthinker can you take a quick look.
I also reviewing it again

I've looked at all the changes Ikenna listed in the bump commit:

Stylesheets:

_typography.scss e05ca517 , 70f53d27c
_colors.scss 11798945a , 3853a726c , 0052024b4b9 , 984d53292 , 2180a72e4

And I can confirm that none of them would have an effect on Smart Answers as far as I can tell.

@ikennaokpala is there any reason for this commit: 4fdd4d5cd049ebcd272406a7572383eb150ecdde?

@pmanrubia I have rebased the branch to sort that out..

Thank you @ikennaokpala and @selfthinker for reviewing the gem upgrade.
Great job @ikennaokpala!
LGTM

@pmanrubia Thank you for pointing out the none obvious points.


Please add a realtime Map ui Item for node-red-dashboard

It would be nice if we could see our Roomba on the Map.
See also:
https://github.com/koalazak/rest980#realtime-map-experimental

Ping

Sorry for not response.
I am not javascript developer, and have not enough time to work on this project. Real time map is an useful feature I also want to have, so I will leave this open, and maybe some day I will add this function, but I don't think I will finish it in near future.
If you can write code and have enough time and interest on this, you can do it yourself(fork & add function), and this is how FOSS works.

Hello @yuchangyuan
I found some code on the nodered Forum. Below the a little bit modified Flow.
May you could create a nice node that setup some basics for the chart node.
[{"id":"3c135b07.119c04","type":"link in","z":"8e19ac56.c71dc","name":"Takt","links":["ddd3bf.9d16944"],"x":165,"y":740,"wires":[["27d4e78.5dbe518","82bd568f.ac0638"]]},{"id":"82bd568f.ac0638","type":"function","z":"8e19ac56.c71dc","name":"modify chart options","func":"let gridcolors = 'rgba(255, 160, 0, 0.3)'\nmsg.ui_control = {\n    options: {\n        legend: {\n            display: false\n        },\n        tooltips: {\n            enabled: false\n        },\n        scales: {\n            xAxes: [{\n                type: 'linear',\n                id: 'custom-x-axis',\n                position:'bottom',\n                padding:100,\n                gridLines:{\n                    color:gridcolors,\n                    zeroLineColor:'rgba(123, 113, 113, 0.75)',\n                    tickMarkLength:7,\n                    drawTicks:false\n                },\n                ticks: {\n                    fontColor:\"#ccc\",\n                    max: 600,\n                    min: -10,\n                    stepSize: 50\n                   \n                }\n            }],\n            yAxes: [{\n                id: 'custom-y-axis',\n                \n                gridLines:{\n                    color:gridcolors,\n                    zeroLineColor:'red',\n                    tickMarkLength:5,\n                    drawTicks:false\n                },\n                ticks: {\n                    fontColor:\"#ccc\",\n                    max: 300,\n                    min: -650,\n                    stepSize: 50\n                }\n            }]\n       }\n    }\n}\ndelete msg.payload\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":420,"y":760,"wires":[["38072b72.56e0a4"]]},{"id":"27d4e78.5dbe518","type":"function","z":"8e19ac56.c71dc","name":"data collection","func":"var data = flow.get('xyC') || [];\ndata.push({x:global.get(\"X\"),y:global.get(\"Y\")});\nflow.set(\"xyC\", data);\n// array.length\n// array.shift()\n\n\n\nmsg.payload = [{\n    \"series\": [\"A\"],\n    \"xAxisID\": 'custom-x-axis',\n    \"yAxisID\": 'custom-y-axis',\n    \"data\": [data],\n    \"labels\": [\"\"]\n}]\n\nnode.status({text: \"{x:\" + global.get(\"X\") + \",y:\" + global.get(\"Y\") +\" }\"});\nreturn msg;","outputs":1,"noerr":0,"initialize":"","finalize":"","libs":[],"x":440,"y":700,"wires":[["38072b72.56e0a4"]]},{"id":"38072b72.56e0a4","type":"ui_chart","z":"8e19ac56.c71dc","name":"","group":"c7a27394.057878","order":5,"width":"20","height":"19","label":"","chartType":"line","legend":"false","xformat":"HH:mm:ss","interpolate":"linear","nodata":"","dot":false,"ymin":"-30","ymax":"30","removeOlder":"24","removeOlderPoints":"","removeOlderUnit":"3600","cutout":0,"useOneColor":false,"useUTC":false,"colors":["#00b3ff","#aec7e8","#ff7f0e","#2ca02c","#98df8a","#d62728","#ff9896","#9467bd","#c5b0d5"],"outputs":1,"useDifferentColor":false,"x":650,"y":740,"wires":[[]]},{"id":"c7a27394.057878","type":"ui_group","name":"CHART","tab":"54e197d8.7f7fe8","order":2,"disp":false,"width":"20","collapse":false},{"id":"54e197d8.7f7fe8","type":"ui_tab","name":"Home","icon":"dashboard","order":1,"disabled":false,"hidden":false}]


change issue templates to forms

Can you replace the 1.18.1 occurrences with ${minecraft} please?

Also I am unsure, if separate field for the modpack is required. Can't we put that into additional information? It already says other mods there.
And I quite dislike how "strict" the feature request form is.
Also blank issues should be enabled by default as we won't ever cover all issue cases with this.


Add view-logs anchor to publishing progress indicator

Intent

Resolves #1796
Add an anchor to show the Publishing Logs while deployment is in progress.
Type of Change

[ ] Bug Fix

[x] New Feature

[ ] Breaking Change

[ ] Documentation

[ ] Refactor

[ ] Tooling

Approach

Add an anchor only shown with the progress indicator, and execute the existing command to show the publishing log.

Automated Tests

Directions for Reviewers

Deploy and click on anchor while deployment in progress.
Checklist

[ ] I have updated CHANGELOG.md to cover notable changes.

I'm not sure about the appearance. Could it be a small button? Or, if it's a link, I feel like it should have more spacing from the text above it.

I think a button would be too large. The buttons we have are how VSCode styles buttons, unless you are talking about an icon button, but I think the text is more helpful here.
We could definitely add a bit of margin between the in progress text and the logs link though.

Code LGTM, and I verified locally.
I'm not sure about the appearance. Could it be a small button? Or, if it's a link, I feel like it should have more spacing from the text above it.
I like the View Log wording. Since we have the same command in the ellipsis menu, can we use the same text to describe it?

We have multiple logs to target within the ellipsis menus. I think it would be confusing if we had the publisher log listed as View Log, but the other one

Code LGTM, and I verified locally.
I'm not sure about the appearance. Could it be a small button? Or, if it's a link, I feel like it should have more spacing from the text above it.
I like the View Log wording. Since we have the same command in the ellipsis menu, can we use the same text to describe it?

I went with the link because I also thought a button would be too big there. I'll add a bit of margin.
On your wording request, we have multiple logs available to be seen within the ellipsis menu. Are you asking for me to switch to the phrase "View" rather than "Go to"? For context, here is the ellipsis menu currently:

On your wording request, we have multiple logs available to be seen within the ellipsis menu.

I read it as making the wording consistent so instead of "View Log" it would be "View Publishing Log" for the link and the context menu. I agree that consistency would be nice.
I'll let @mmarchetti confirm if I was reading that correctly.

I think a button would be too large

Yes, a typical button would be. I was thinking along the lines of the buttons in the Extensions panel:

I am also fine with keeping it as a link. As to wording, I would like to be consistent in the names we use for the same action. Seems like the options we've used or considered for showing a view are:

Show ___
Go to ___
View ___
(and I guess VSCode's default Focus on ___ in the command palette)

Of the 3, I think my preference for VSCode-local views would be Show because it shows an existing view. The View Content and View Content Log actions open new browser tabs and could retain different wording to differentiate them. I'm totally open to other options though.

I'm not sure about the appearance. Could it be a small button? Or, if it's a link, I feel like it should have more spacing from the text above it.

I think a button would be too large. The buttons we have are how VSCode styles buttons, unless you are talking about an icon button, but I think the text is more helpful here.
We could definitely add a bit of margin between the in progress text and the logs link though.

Here's a 5px top margin added:

Of the 3, I think my preference for VSCode-local views would be Show because it shows an existing view. The View Content and View Content Log actions open new browser tabs and could retain different wording to differentiate them. I'm totally open to other options though.

OK, I've updated to the following:

Use of "Show" verb is for views which are present within VSCode
Use of "View" verb is for an external view, with a qualifier for knowing it is external (typically "on Connect")

See https://github.com/posit-dev/publisher/pull/1896/commits/d50fee625b33494d786170c1eb0e592f0610c834

Yes, a typical button would be. I was thinking along the lines of the buttons in the Extensions panel:

@mmarchetti , are you thinking you want to replace the ellipsis menu then, with that dropdown menu?

I was just showing a small button that could be used in place of the Show Log link. But, I'm fine with this as is. It looks better with the added margin.


.as[Foo] doesn't catch DataFrame Dataset type differences

Spark 3.1
sparksql-scalapb_2.12:0.11.0
When used as a dataset, scalapb generated case classes don't catch type mismatches in the logical plan like ordinary scala case classes do.
E.g. in spark shell (regular case class):
scala> case class Foo(i:Int)
defined class Foo
scala> val badData = Seq[(Long)]((5L))
badData: Seq[Long] = List(5)
scala> val bdf = badData.toDF("i")
bdf: org.apache.spark.sql.DataFrame = [i: bigint]
scala> bdf.as[Foo]
org.apache.spark.sql.AnalysisException: Cannot up cast `i` from bigint to int.
...

Scalapb case class-based encoders don't blow up on as, but when the query runs (e.g. bdf.as[Foo].head).

(I would post my scalapb example but I'm running into the spark v scalapb protobuf version difference which I usually shade away but isn't working rn.)

I forked the test repo and can reproduce the issue:

0.11.0 displays the behavior described in this ticket - val ds: Dataset[Small] = df.as[Small] does not throw an exception despite the dataframe being incompatible with the dataset.
1.0.1 does throw and exception, but it's: java.lang.NoSuchMethodError

Re: java.lang.NoSuchMethodError - that was my mistake of compiling for spark 3.2, and running on spark 3.1 :facepalm:
It seems like casts from one shape of data to another are caught. E.G. (x: Int) -> (x: Int, y: Int) emits org.apache.spark.sql.AnalysisException: cannot resolve 'y' given input columns.


Remove and rename watch expression keypoard shortcuts have no effect

Issue Type: Bug
Open debug view and create a new watch expression.
Select it and press delete (default debug.removeWatchExpression).
Result: No effect
Expected result: The watch expresseion is deleted.
also press F2 (default for debug.renameWatchExpression).
Result: No effect
Expected result: The watch expresseion is in edit mode.
this is observed since version 1.30.
correct behavior up to version 1.29.
VS Code version: Code 1.31.1 (1b8e8302e405050205e69b59abb3559592bb9e60, 2019-02-12T02:20:54.427Z)
OS version: Windows_NT x64 10.0.17134

System Info

Item
Value

CPUs
AMD Ryzen 5 2600 Six-Core Processor             (12 x 3400)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwarerasterization: enabledsurface_synchronization: enabled_onvideo_decode: enabledwebgl: enabledwebgl2: enabled

Memory (System)
15.95GB (11.91GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (2)

Extension
Author (truncated)
Version

vscode-sqlite
ale
0.5.0

python
ms-
2019.1.0

I confirm this issue.
We need to contribute the command with the proper when context.

This issue still happening with extension PHP Debug installed.

It's fixed in Insiders and will be fixed in the next stable release.

Thanks a lot!

Confirmed working on 1.33.0 stable


feat(rpc): add eth transactions trait

This adds EthTransaction trait which is supposed to expose a subset of the EthApi spec.
we'll use this for the tracing endpoints because they need to fetch transactions.
this also adds support for fetch tx from the pool as well.

Codecov Report

Merging #1751 (adb9f25) into main (6c12ccb) will decrease coverage by 52.48%.
The diff coverage is 13.79%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@             Coverage Diff             @@
##             main    #1751       +/-   ##
===========================================
- Coverage   72.66%   20.18%   -52.48%
===========================================
  Files         392      392
  Lines       47174    47188       +14
===========================================
- Hits        34281     9527    -24754
- Misses      12893    37661    +24768

Flag
Coverage Δ

integration-tests
20.18% <13.79%> (+0.02%)
:arrow_up:

unit-tests
?

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

Impacted Files
Coverage Δ

crates/rpc/rpc-types/src/eth/transaction/mod.rs
0.00% <0.00%> (-30.62%)
:arrow_down:

crates/rpc/rpc/src/eth/api/mod.rs
48.27% <ø> (+1.60%)
:arrow_up:

crates/rpc/rpc/src/eth/error.rs
0.00% <ø> (-6.03%)
:arrow_down:

crates/rpc/rpc/src/eth/api/transactions.rs
29.00% <11.11%> (-31.25%)
:arrow_down:

crates/rpc/rpc/src/eth/api/server.rs
55.30% <100.00%> (-39.55%)
:arrow_down:

... and 257 files with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


On trigger deletion, th_holidays should not be called if not used

I didn't have th_hilidays enabled ; when deleting a trigger, it tries to remove stg from th_holidays which does not exist.
ProgrammingError at /th/trigger/delete/1

relation "django_th_holidays" does not exist
LINE 1: DELETE FROM "django_th_holidays" WHERE "django_th_holidays"....

Did you try to install it before today ?
It looks like a delete  (cascade) from model TriggerService which is propagated to all the th_* appli

aussi bizarre que cela puisse paraitre, pour shooter ce problème, il suffit de retirer une référence à holidays dans 2 endroits :

https://github.com/foxmask/django-th/blob/master/django_th/templates/mark_all.html#L7
https://github.com/foxmask/django-th/blob/master/django_th/urls.py#L152

je verrai pour rajouter un test (si possible) dans le template et urls.py, du genre :
if 'th_holidays' in settings.INSTALLED_APPS:


Bug: Mage Armor Effect does not change AC

After applying the mage armor effect the AC on the Abilities sheet remains unchanged.
Foundry: 10.291
Shadowdark: 1.3.2
OS: Win 11
Browser: Vivaldi 6.0.2979.22, Foundry Embedded Client

Hey
I'm new on developing System on Foundry, but I know javascript.
I will take this bug, ok?

Hey I'm new on developing System on Foundry, but I know javascript.
I will take this bug, ok?

sure! Feel free to go with it, just submit a pull request (and don't forget to update the release notes) when you're ready and we'll look at it and see how to get it merged! :)


I think this app work only with development not production! is it write?

Yes, https://github.com/frappe/wiki/issues/10

@aseelmohammed
yes
it is a js build issue
closing this, let's track using https://github.com/frappe/wiki/issues/10


Implement iOS' first wrapper method

Added PACECloudSDK to pods
Implemented first wrapper method for the sdk setup

Closes #2

This looks easy enough.


add elv-live tenant_auth_curl

we need this because these tenant auth tokens time out after 10 seconds, not enough time to copy-n-paste tokens, needs to be a single operation.
$ ./elv-live tenant_auth_curl
 tenant_auth_curl <url_path> <url_prefix> [post_body]

Generate a tenant token and use it to call an authd endpoint.

Positionals:
  url_path    URL path                                                                               [string] [required]
  url_prefix  URL prefix to use for POST or GET                                                      [string] [required]
  post_body   optional body; if set will POST, if not, will GET                                                 [string]

sample:
$ ./elv-live tenant_auth_curl /faucet/addOTP/iten4TXq2en3qtu3JREnE5tSLRf9zLod http://localhost:6546 '{"tenant_id":"iten4TXq2en3qtu3JREnE5tSLRf9zLod","eth_amount":0.03}'

which gives:
Network: demov3
curl -s -H "Authorization: Bearer ES256K_6pUKXiv23F36QA4J5VFKSq2ScsjEKKj2P9TSbxfgUZZTfj7iMqNtHj2jZbd55zJpd7mpi1PybBcA29DQr5PVQzjg6" http://localhost:6546/faucet/addOTP/iten4TXq2en3qtu3JREnE5tSLRf9zLod?ts=1705546584737 -d '{"tenant_id":"iten4TXq2en3qtu3JREnE5tSLRf9zLod","eth_amount":0.03}'
{"otp_id":"zzLdTMgFf5yS","status":"success"}

(might be nicer to collapse the url prefix and path into one URL - is there a reason why separating them is more ergonomical? We can use the URL module to add the ts query param)

iiuc it's due to the url_path being used as part of the token, separate from the prefix, so it needs to know how to split it.  but let me check into it.
related to that, this needs some more work in the case where the path has existing &foo= params.  when i tried it with the faucet example, i ran into problems, thus why you see the tenantId duplicated in the body for the sample above. will look at that too.
i will collect up more info here to share, not merge it immediately


Request Signing Fixes and Improvements

The following changes were made:

The & and = characters in parameter values are replaced with _ (underscore) to avoid parameter injection. This addresses the issue where parameter values containing & and = resulted in invalid signature being generated.
Signature function now adds timestamp if it's not present in the parameters.

The tests only fail because the test did not detect that both the parameter key and value are utf-8 encoded. The code otherwise is good.
The test cases have to be updated.

I'm taking these changes and manually incorporating them into a new PR.


[stable/osclass] Improve upgrade instructions in NOTES.txt

Signed-off-by: juan131<EMAIL_ADDRESS>What this PR does / why we need it:
This PR improves the upgrade instructions in NOTES.txt
Checklist

[x] DCO signed
[x] Chart Version bumped

/ok-to-test
/lgtm


[CRITICAL] onFinished is notified BEFORE final onStateChange

    fun StateMachine.stateFlow() = callbackFlow {
        val stateListener = object : StateMachine.Listener {
            override fun onStateChanged(newState: IState) {
                trySendBlocking(newState)
            }
        }
        addListener(stateListener)
        val finishListener = object : IState.Listener {
            override fun onFinished(transitionParams: TransitionParams<*>) {
                channel.close()
            }
        }
        addListener(finishListener)
        awaitClose {
            removeListener(stateListener)
            removeListener(finishListener)
        }
    }

Following code does not pass finalState notification.
It is critcal bug, because it is not possible to create any reliable flow of states, rxjava observable, etc..

Hi, could you post your state machine structure for testing?

fixed in v0.9.5 d4184ec8

Thank you for quick action!


Dynamic animation time

Allowing to pass a function as the duration prop.
Function is called when the animation is starting to determine the duration of the animation based on the current deltaTop.

Looks like a good feature to have - will checkout the PR soon :)

merged and published. thank's for the PR :)

Thanks for the quick merge and publish.
I see I forgot to update the documentation, so I'll submit a PR as soon as I get spare minute. :)


Allow ignoring SMTP Host SSL errors

Is your feature request related to a problem? Please describe.
I just tried the SMTP integration for reset password emails. Really cool idea, but if my SMTP server is in the local net and i dont have DNS setup in a specific way to where an actual domain will point to a local net address, i will not be able to use this.
When i tried to send me a reset password email for testing this feature, i got a error page, and in the log it says:
F, [2024-07-11T13:17:34.500187 #229] FATAL -- : [93efcad3-02b4-40f7-9fb4-966f0407926a]
[93efcad3-02b4-40f7-9fb4-966f0407926a] OpenSSL::SSL::SSLError (SSL_connect returned=1 errno=0 peeraddr=<IP_ADDRESS>:25 state=error: certificate verify failed (hostname mismatch)):
[93efcad3-02b4-40f7-9fb4-966f0407926a]
[93efcad3-02b4-40f7-9fb4-966f0407926a] app/controllers/users/passwords_controller.rb:21:in `create'
[93efcad3-02b4-40f7-9fb4-966f0407926a] app/controllers/application_controller.rb:72:in `switch_locale'

Describe the solution you'd like
I would like another environment variable in the SMTP section that is something like "SMTP_IGNORE_SSL_ERRORS", so that i can work around this issue in a clean manner.
Describe alternatives you've considered
Alternatively this could also be a "SMTP_VERIFY_SSL" where it needs to be actively set to "disable", but thats a thing you need to decide.

Pretty sure there's an ActionMailer setting for this, I'll see if I can expose it 👍🏻


update to juttle 0.5.0 and juttle-jsdp 0.3.0

@mstemm @demmer @mnibecker
Note:

In https://github.com/juttle/juttle-service/commit/ccc97b212f8d785b3be00cf24572f8d31e4665c6, I switched to explicitly sending the code, info, and message because thats what the client wants. Error serialization was added to juttle-jsdp, and we can use it if we want, but from talking with @mnibecker  (and I agree) we don't want to have actual Error objects on the browser-side generated for these. Sending an Error object in and getting a plain object out also seems weird, so thats I'm sending code, info, message instead of the Error.

TODO:

set correct juttle version in package.json once 0.5.1 is published

@go-oleg I just published juttle 0.5.1

thx

lgtm. I especially like deconstructing the errors/warnings, I think there were several problems with simply passing the object that this will clean up.


add CmdcDataSource with fields added it covid-data-public so far

This goes with https://github.com/covid-projections/covid-data-public/pull/56
It is part of https://trello.com/c/aAeEsPT8/185-intergrate-valorum-data
Please Check

[ ] Are the JSON schemas updated?
[ ] Are the api docs updated?
[X] Are tests passing?

 Intergrate Valorum Data


PENV-255: api pulses handler

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

Codecov Report

Merging #55 into master will increase coverage by 0.53%.
The diff coverage is 80.64%.

@@            Coverage Diff             @@
##           master      #55      +/-   ##
==========================================
+ Coverage   68.77%   69.30%   +0.53%
==========================================
  Files          39       39
  Lines        1899     1984      +85
==========================================
+ Hits         1306     1375      +69
- Misses        495      506      +11
- Partials       98      103       +5

Impacted Files
Coverage Δ

api/handlers.go
74.67% <80.32%> (+3.38%)
:arrow_up:

etl/storage/storage.go
82.71% <81.25%> (-0.37%)
:arrow_down:

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 851893d...9a19d5c. Read the comment docs.


 But shlex.split() probably does work.

[x] In execute_subp_run(), replace cmd_parts = cmd.split() with a call to shlex.split().
[x] Replace all calls to execute_subp_run_parts() with calls to execute_subp_run(). Do tests pass?
[x] Test

[x] unit tests pass
[x] integration tests (using -o automate_all) pass:

[x] fly_io
[x] platform_sh
[ ] heroku (No need, this acts locally so if it works on one run it will work on all platforms.)

[x] Remove execute_subp_run_parts() and any diagnostics.
[ ] Merge, no release needed. (Forgot branch, 2 commits on main.)

Working notes

This was only being called from within simple_deploy.py, from commit_changes().


Extend request body tests with ARGS_POST case

See the following issues for details:
https://github.com/SpiderLabs/ModSecurity/issues/1531
https://github.com/SpiderLabs/ModSecurity/pull/1886
This one should be merged after https://github.com/SpiderLabs/ModSecurity/pull/1886 submitting (I haven't marked proposed tests with TODO).

This can already be merged since https://github.com/SpiderLabs/ModSecurity/commit/a7198714586905f7862c91f060b7f0c86a552660 made it to v3/master.
Now merged as of https://github.com/SpiderLabs/ModSecurity-nginx/commit/c577c6801ac1fd300251fc665176c728a4353f53.
Thanks @defanator! :)


get position of given window

how to get screen coordinates of window where android screen translates?

Not sure to understand the question, but maybe the answer is:
https://github.com/Genymobile/scrcpy/blob/8ec077ce1b5ae3c8a5993e062668220e7c684c30/server/src/main/java/com/genymobile/scrcpy/Device.java#L101-L117
Otherwise, please give more context on what you are trying to do :wink:

I mean, i need left (X) and top (Y) coordinates of the window with android screen, pls see screenshot

SDL_GetWindowPosition.
Note that you can set the position with:
scrcpy --window-x 300 --window-y 300


PXE boot failing at 'Waiting for link-up on net0'

Hi guys, we notice that 1 out of 5 times when we are doing PXE boot, it would fail at the step Waiting for link-up on net0.
 Down (http://ipxe.org/38086101)

Reboot and Select proper Boot device

When this happens, we would need to manually reboot the machine. It's causing automated acceptance test of the RackHD CPI to fail if we don't reboot in time. Is there a way we can make this more stable? The DHCP server is already set to never expire.
Thanks,
Victor

Hey @victorfong, that down error (http://ipxe.org/38086101) is most likely specific to your switch and it's configuration. The timing for when that link comes active is a negotiation, and with intelligent (i.e. managed) switches it's controlled by the switches operating system.
If you're using a managed switch, I definite recommend enabling portfast (see http://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst4000/8-2glx/configuration/guide/stp_enha.html for an explanation of the concept from Cisco's world) - an equivalent concept exists in all the major switch vendors.

Hi Joe, I don't think this is a portfast issue. It waits for 15 seconds for the link between the node and the TFTP server to be up. We also saw that every time when the link down error occurs, we see this error in the on-tftp.log:
W 2015-12-23T22:16:18.981Z [on-tftp] [Tftp.Server] [Server] Tftp error
 -> /lib/server.js:47
file:          monorail.ipxe
remoteAddress: <IP_ADDRESS>
remotePort:    2070
S 2015-12-23T22:16:19.075Z [on-tftp] [Tftp.Server] [a5dcdd] tftp: 89.229 monorail.ipxe
 -> /lib/server.js:63

I wonder if they are related? Thanks.

What you're seeing the TFTP logs is serving the monorail.ipxe bootloader, which is what's happening just before the issue you're seeing. The link coming active error is happening from that monorail.ipxe bootloader being loaded and attempting to establish a network connection.
Can you detail how many network connections exist on your target machine, and what's plugged into what? What network switch are you using, what configuration settings are set for it, what is it attached to and is there any spanning tree or related network convergence system running in your environment?
Basically, we need more information to help your troubleshoot and debug this issue....

Sure. The orange box has a build-in "D-Link DGS-1100-16 managed gigabit switch with 802.1q VLAN support". 10 NUCs and the RackHD box are connected to this switch. To isolate this problem, we have tried turning on 1 NUC at a time. I took your suggestion and got into the managed switch, but the 1100-16 switch doesn't have a STP configuration. We have even tried using a different network switch and still saw the problem.
This is the very last issue in our phase of development. Once we can get this working, our automated CI pipeline will be completed.
We will be happy to provide whatever information you need. We can do a screen-sharing session with you to describe our setup. Please let us know which configuration file you would like us to share. Thanks a lot for your help!

Thanks Victor. A few more questions, and a request for a little work to help the debugging.
First, Is the DLink switch connected to any other networks, or is this system entirely standalone? If it's uplinked to another switch, how is that configured? Is this a closed layer-2 environment, or linked as layer-2 to a larger broadcast zone?
If you're uplinked/configured to another network, does that network provide DHCP at all, or is it a statically assigned IP address network? Or if you're uplinked, is it to a router that isn't doing layer2 transport?
Second, you mentioned you tried another switch - could you detail what the other switch was?
Third, does this happen repeatedly and every time, or is this error intermittent - sometimes failing, and sometimes working?
Finally, the suggestions to help debug. The switch data sheet that I found at http://www.dlink.com/-/media/Business_Products/DGS/DGS 1100/Datasheet/DGS_1100_Series_Datasheet_EN_EU.pdf indicates that the switch series has "loop back detection" as well as STP support. Can you determine through their web interface if either of those components are enabled?
When you power off and power on a NUC in this setup, there's a link light that will show up when the network port becomes active. When you power off a NUC, could you verify that the link light does indeed go off (I suspect it may not if you're using the single NIC port for OBM management as well), and when you power it on, could you verify that the link light comes on - and if so, roughly how fast it happens after the NUC is powered on? Instantaneous? A couple of seconds? Longer?
Is there any indicator of port status through the switches web interface that you can look at and that may get updated while you power cycle a NUC? I'd like to know if the switch is reporting the link as down at the same time that the NUC is reporting it's unable to bring up "NET0" per the details at the top of this bug?

Hi Joe,
The switch is totally standalone and not connected to any network.
The other switch we tried is a AirLink 5-Port 1000BASE-T Gigabit Ethernet Switch. We have connected just the RackHD Server and one other NUC to it, but we still saw the error intermittently.
On an average, this link down problem will happen 1/5 times. For the other 4/5 times, the PXE boot can establish the link within a couple of seconds.
In the web interface of the switch, Loopback Detention is presented, but disabled. STP is not presented in the web interface.
There are two lights in the network adapters of each NUC. The green light is always on regardless whether the NUC is powered on or not. The orange light is on only when the NUC is powered on.
For your last question, we will verify that and get back to you.
Thanks,
Victor
From: Joseph Heck <notifications<EMAIL_ADDRESS>Reply-To: RackHD/RackHD <reply<EMAIL_ADDRESS>Date: Thursday, December 24, 2015 at 2:29 AM
To: RackHD/RackHD <RackHD<EMAIL_ADDRESS>Cc: Corporate User <victor.fong<EMAIL_ADDRESS>Subject: Re: [RackHD] PXE boot failing at 'Waiting for link-up on net0' (#43)
Thanks Victor. A few more questions, and a request for a little work to help the debugging.
First, Is the DLink switch connected to any other networks, or is this system entirely standalone? If it's uplinked to another switch, how is that configured? Is this a closed layer-2 environment, or linked as layer-2 to a larger broadcast zone?
If you're uplinked/configured to another network, does that network provide DHCP at all, or is it a statically assigned IP address network? Or if you're uplinked, is it to a router that isn't doing layer2 transport?
Second, you mentioned you tried another switch - could you detail what the other switch was?
Third, does this happen repeatedly and every time, or is this error intermittent - sometimes failing, and sometimes working?
Finally, the suggestions to help debug. The switch data sheet that I found at http://www.dlink.com/-/media/Business_Products/DGS/DGS 1100/Datasheet/DGS_1100_Series_Datasheet_EN_EU.pdf indicates that the switch series has "loop back detection" as well as STP support. Can you determine through their web interface if either of those components are enabled?
When you power off and power on a NUC in this setup, there's a link light that will show up when the network port becomes active. When you power off a NUC, could you verify that the link light does indeed go off (I suspect it may not if you're using the single NIC port for OBM management as well), and when you power it on, could you verify that the link light comes on - and if so, roughly how fast it happens after the NUC is powered on? Instantaneous? A couple of seconds? Longer?
Is there any indicator of port status through the switches web interface that you can look at and that may get updated while you power cycle a NUC? I'd like to know if the switch is reporting the link as down at the same time that the NUC is reporting it's unable to bring up "NET0" per the details at the top of this bug?
—
Reply to this email directly or view it on GitHubhttps://github.com/RackHD/RackHD/issues/43#issuecomment-167060649.

@victorfong @heckj Hi guys, just wanted to circle back on this and verify if this issue has been resolved offline or are we still waiting on information and I should be driving this to completion. thanks!

@victorfong good question - are you guys at a good space with debugging and help understanding here, or can we be of further assistance?

@heckj - hi this problem is resolved after we updated the boot image. It can be closed now. Thanks a lot :)

@victorfong Perhaps it was https://github.com/RackHD/on-imagebuilder/pull/30 that solved your issue. Glad it's working :)


Python Pact Broker Client repo has been removed

The following link is dead,
https://github.com/pact-foundation/README/blame/master/README.md#L9
the package is still listed in pypi, last publish July 2017
https://pypi.org/project/pact-broker-client/#history

readme has been updated and this issue is no longer relevant


Add more motivation to the intro

Addresses https://github.com/melange-re/melange-for-react-devs/issues/58

@psb What do you think?

I think you might have to go deeper in comparing it to TypeScript. When you watch a video of someone doing TS or React in TS it is easy to think that TS is good enough or type safe enough, so I don't think words are going to convince someone to switch, especially since using Melange is not a trivial matter - someone has to learn Reason/OCaml, dune, melange, interop, and maybe even functional programming for the first time. I think code comparisons and concrete examples will be more convincing reasons to switch, e.g.,:

showing code that type checks in TS but actually causes a bug, and how it would have been caught by Reason
showing how interop can make third party code safe
automatic decoders and encoders compared to something like zod
(validators?)
type safe css
build times on large codebases with real numbers
no need to keep reloading the editor on large codebases
monorepos
match statement exhaustiveness vs switch statements or if else blocks
type safe routing (frontend and across to an ocaml backend)
errors as values compared to try/catch
react ssr speed compared to a node backend
any other examples that show off Reason/ReasonReact capabilities compared to TS

Some of this may overlap with Reason docs but I think that is okay. You really have to make someone think 'wow!' and really want to explore it further; otherwise, it will seem that TS is just good enough.
Testimonials from production users can also go a long way in convincing people to try it out.
This might have to it's own section if you think it is worth doing.

@psb

I think you might have to go deeper in comparing it to TypeScript. When you watch a video of someone doing TS or React in TS it is easy to think that TS is good enough or type safe enough, so I don't think words are going to convince someone to switch, especially since using Melange is not a trivial matter - someone has to learn Reason/OCaml, dune, melange, interop, and maybe even functional programming for the first time. I think code comparisons and concrete examples will be more convincing reasons to switch

I think the scope of the book is to teach the reader how to use Melange. Motivating them to do so should be the work of blog posts, conference talks, testimonials, i.e. the work of the wider community.


Error when using Download OSM Data (XAPI) tool and Download, Extract and Symbolize tool just gets stuck

Hi,
I installed this tool and tried using it following the instructions here https://github.com/Esri/arcgis-osm-editor/wiki/Download-data-from-osm but I always get errors when trying.
Is this the right place to get help trying to understand what might be the problem?
Cheers

Yes, this is the right place. Both tools are giving are giving you problems and both are getting stuck? What types of errors are you encountering? Is the error the same for the Download OSM Data (XAPI) tool as Download OSM Data tool? If you do get errors in the geoprocessing messages please post them into this thread.
For right now I suggest that we keep the model tool "Download, Extract and Symbolize OSM Data" out of the troubleshooting process as it is a combination of multiple tools.

Hi,
Using Download OSM Data (XAPI) tool I got errors twice. Using Download, Extract and Symbolize tool the window that opens gets stuck and unresponsive.
Screenshot of the error: (is the error also dumped somewhere with more info?)

Thanks!

There are a number of issues with the tool as referenced here #80, #82, and #87.
Unless you have very specific reasons to use the XAPI interface I do suggest using the standard Download OSM Data tool (located just above the XAPI tool in the toolbox). The standard tool uses the central OpenStreetMap server which is most up-to-date data repository.

Hi again,
I was just using the XAPI because it's in the first link in the How To guides (like the Download, Extract and Symbolize tool that also failed). I'll try the standard tool. Thanks!
My goal was to get elevation for Lisbon but I was told that the resolution is 90m (which is not detailed enough). Is this true?

I see, yeah XAPI is certainly not the tool you are looking for. In general, OpenStreetMap will give you vector data, like streets, building footprints, store locations, forests, administrative boundaries etc. with various additional information describing the information.
For elevation data please take a look at this service from ArcGIS Online http://www.arcgis.com/home/item.html?id=58a541efc59545e6b7137f961d7de883
For most of Europe you will find at least a 31 meters resolution.

Thanks for the reply. I'll try creating my own DEM with some .dwg data I got, but that link will be helpful in the future for sure!


Question about preprocessing Ego4D

When dividing the videos into 5-minute segments, did you allow overlaps between the segments, or were they disjoint? Thanks.

Hi @hyojinie
All segments are extracted without any overlap.
Best,
Yue

Thanks for clarifying!


Remove: Devicetree.dtc version 1.6.1

Package is not from an official distribution source
Checklist for Pull Requests

[x] Have you signed the Contributor License Agreement?
[ ] Is there a linked Issue?

Manifests

[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.9 schema?

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

Microsoft Reviewers: Open in CodeFlow

@Trenly would you accept https://packages.msys2.org/packages/dtc?variant=x86_64 as an "official" source?

URL: https://github.com/carlescufi/winget-packages/raw/refs/heads/main/packages/dtc/1.6.1/dtc-msys2-1.6.1-x86_64.zip
OK
(Automated message - build 924)

Hi @Trenly,
This manifest has the highest version number for this package. Is it available from another location? (This might be in error if the version is switching from semantic to string, or string to semantic.)
(Automated response - build 933.)

@stephengillie - intentional removal