Thanos Receive doesn't announce external_labels which are set in hashrings.json when it works in routing and ingesting mode.

Thanos, Prometheus and Golang version used:
Thanos: 0.34.1;  go1.21.7,  Prometheus 2.48.1

Object Storage Provider:
AWS S3
What happened:
Thanos Receive doesn't announce external_labels  set in hashrings.json when it's working in routing and ingesting mode.
I explicitly set need external labels for the tenant in the hashrings.json:
[
  {
    "endpoints": [
      {
        "address": "endpoint-1:10901"
      },
      {
        "address": "endpoint-2:10901"
      },
      {
        "address": "endpoint-3:10901"
      },
      {
        "address": "endpoint-4:10901"
      },
      {
        "address": "endpoint-5:10901"
      }
    ],
    "external_labels": {
      "team": "frontend",
      "prometheus": "prometheus-1"
    },
    "hashring": "frontend",
    "tenants": [
      "frontend-prometheus-1"
    ]
  }
]

When I used the default mode of the receive deployment (without splitting to route and ingester) this external_labels were announced by the receive instances (I could check it via Query UI), but after switching to the split mode I noticed that this labels are gone in Query UI.
What you expected to happen:
I expect that external_labels functionality works correctly in route/ingester mode.
How to reproduce it (as minimally and precisely as possible):
Run Thanos Receive in route/ingester mode and try to use external_labels in hashrings configuration.

Yes, currently this is just supported in RouterIngester mode. But we do have plan to support it in the RouterOnly and IngesterOnly mode too. Here's the proposal: https://github.com/thanos-io/thanos/blob/main/docs/proposals-accepted/202209-receive-tenant-external-labels.md
Actually, before supporting this in these two modes, it's best to split their implementation logics. I remember there's a PR that's very close to finish here: https://github.com/thanos-io/thanos/pull/6043
PRs are welcome to finish these^^


Return error in LDAP

Problem:
An error is being logged but not returned. This causes the caller to
panic when attempting to dereference the pointer
Solution:
Return the error instead of logging it allowing caller to catch the
error
Issue: https://github.com/rancher/rancher/issues/15757

LGTM

LGTM


[BUG] (dev branch) Infinite loop in ACF_PenetrateMapEntity, lines 505 to 518

Pretty clear whats going on, this can probably just have some hard limit
A trace of function calls
on latest dev branch

Patched this issue on 71ee31f, bullets that could start an infinite loop when interacting map entities will be removed. It's not a definitive solution, in fact it's far from being an optimal one, so I won't close this issue and I suggest you to do the same.
I really don't like patching stuff instead of just fixing the actual problem, but I've been dealing with this issue for about 9 hours and I still can't find the root of it.


Add security and versioning dependency alerts

Dependabot alerts on updates for the project's dated and vulnerable dependencies and automatically creates PRs to easily update them

Built with ❤ by Pipeline Foundation.

#2775


injecting css when the entry point contains both css and js

If I have an entry point (ie. app.js) which contains both javascript and css, is there currently a way to get the css file into a link in the html file?
I found a way, but had to modify the plugin to support it.
https://github.com/squirmy/indexhtml-webpack-plugin/
Here's an example of it in use:
https://github.com/squirmy/vue-loader-example/
The implementation is working for me, but perhaps doesn't feel 100% as it assumes that you're wanting a .css file to be linked. I feel like this a good feature to have - I'm happy to take some feedback and polish it up if needs be.
Could this be related to #2 ?

I've changed my implementation a little so it aligns with #2.


Could you please provide the code for merging the generated output file into the original model?

Very good project, I wonder if you can provide the code for merging the generated output file into the original model?

It's same with fastchat,example:
python3 -m fastchat.model.apply_delta
--base-model-path /path/to/llama-7b
--target-model-path /path/to/checkpoints/...
--delta-path model/output
It should be noted that the final training is the PEFT model, and the model that needs to be merged needs to be found from the checkpoints


Fix total header struct size

"Therefore, the total size of a squeak header is 192 bytes" ...

https://github.com/squeaknode/squeak/pull/165


Support Traversable objects in HtmlHelper

This PR adds support for Traversable objects in all selection params in yii\helpers\BaseHtml.
Selection params are used by checkboxList, dropdownList and similar functions.

Changelog, please :)

Merged https://github.com/yiisoft/yii2/commit/c5794c61b4d66e33c0841be23808c61a888a1b17

Thank you!


RHOAIENG-15235: Add test coverage support

https://issues.redhat.com/browse/RHOAIENG-15235
Upload coverage reports from jest & pytest to Codecov

Welcome to Codecov :tada:
Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.
Thanks for integrating Codecov - We've got you covered :open_umbrella:

I've opened https://app.codecov.io/github/opendatahub-io/elyra/commit/1f676c9a213fafd228ab152bdda71cbe66f57727/tree and it seems to be looking good!
/lgtm from me


Switch to import style QueryBuilder

Depends on https://github.com/orbitjs/orbit.js/pull/307

Thanks again @opsb!


add link to ember-map video

I think I'd prefer it if we'd put the link closer to the "More information on why that is useful are available on our blog!" line in the "Features" section


About oap starter assert.

Please answer these questions before submitting your issue.

Why do you submit this issue?
[x] Question or discussion
[ ] Bug
[ ] Requirement
[] Feature or performance improvement

In the code ModuleManager, method assertPreparedStage called by manager.find(). I think find executed behind init method, also they run in the same thread as main thread. is this must assert ?

Yes, because #find should only happen after init stage. Init should not count on the dependencies.


Allow evil users to quickly close the LSP signature buffer

in normal state by ESC.
We should have a way to quickly escape this beside "C-g":

BTW do you think other hooks should be executed after closing the signature successfully while it's active?
Currently the hook returns t (prevent other hooks) since in lsp-signature-mode-map (signature is shown), C-g is directly mapped to lsp-signature-stop, which doesn't do anything that is non-lsp.

BTW do you think other hooks should be executed after closing the signature successfully while it's active?

Yes, that makes sense to me.
Quick question: is turning off lsp-signature-mode the right way to close the signature? Does LSP reactivate it every time the signature is shown?

Quick question: is turning off lsp-signature-mode the right way to close the signature?

By inspecting LSP's source, I think it's not supposed to be activated directly but should be turn on/off by lsp-signature-activate & lsp-signature-stop, respectively as there are only bindings for the 2 command (but not the mode itself) and they also do many things before toggling lsp-signature-more.

Does LSP reactivate it every time the signature is shown?

Yes, lsp-signature-mode is temporary, it is deactivated automatically after we move the cursor out of the describe symbol.

Understood, then this looks fine to merge. Thanks again for your help!


Deprecated lifecycles componentWillMount

Warning: componentWillMount has been renamed, and is not recommended for use. See https://fb.me/react-async-component-lifecycle-hooks for details.

Move code with side effects to componentDidMount, and set initial state in the constructor.
Rename componentWillMount to UNSAFE_componentWillMount to suppress this warning in non-strict mode. In React 17.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run npx react-codemod rename-unsafe-lifecycles in your project source folder.

Please update the following components: AnimatedComponent

it seems duplicate of #353

it seems duplicate of #353 and has been resolved by PR #342

@SaeedZhiany I'm still getting the same error and updated the library. Do you know what I can do to fix it?

The fix hasn't been released in npm yet.

Changes has been merged in 1.3.0. You can close this issue


Ssh_RemotePortForwarding hangs

The Expect() is called without a timeout, causing the test to hang if Expect is not satisfied.

I have several fixes to stabilize the integration tests. I'll submit a PR when the open PR is merged.


Validator partial implementation

Hello,
Thanks for the hard work on this package! Though I've encountered a little thing that I hoped you could help me clarify.
The Validator class seems to be not much but a proxy to an actual Laravel Validator class.
However only a small subset of the methods from the Laravel implementation has been mapped in this proxy.
Is there/what are the reasoning behind this - and would you be open for PRs to map more of the methods?

Hello! No problem, glad you like the package!
Yeah, it's sort of a proxy to the actual Laravel Validator class. I'm going to make this better in v2 when I get the time to work on that.
In the meantime, the reason for the subset of methods implemented is I just followed the interface. My programming style is to stick to interfaces, so if Laravel haven't defined some of the methods on their interface, that's why they're not in there.
If you want any other methods, I'm happy for them to be added - but you'd need to submit PRs for the methods you want added as this won't be a priority for me. (When I next get time to work on this package - hopefully soon - I'll be working on v2.)

That makes good sense.
I'll try find some time to get around implementing more of the methods. I'll try investigate why there
are not more of them on the interface.
Thank you!


Added support to configure the multiple lpars-v3

Fixed indentation issues from existing MachineConfig.py. To fix the indetation error i have run the below command, ->autopep8 -i MachineConfig.py

Thanks Samir. LGTM

@SamirMulani  can you please align the commit subject with what patch does like a example
1- have pylint fixex
2- Added support to configure the multiple LPAR

@SamirMulani can you please rebase this

Update latest code found with below PR:
https://github.com/open-power/op-test/pull/829


Default python.workspaceSymbols.enabled to false

For #9046

[x] Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR)
[x] Title summarizes what is changing
[x] Has a news entry file (remember to thank yourself!)
[ ] Appropriate comments and documentation strings in the code
[ ] Has sufficient logging.
[ ] Has telemetry for enhancements.
[ ] Unit tests & system/integration tests are added/updated
[ ] Test plan is updated as appropriate
[ ] package-lock.json has been regenerated by running npm install (if dependencies have changed)
[ ] The wiki is updated with any design decisions/details.

Codecov Report

Merging #9056 into master will decrease coverage by 0.34%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #9056      +/-   ##
==========================================
- Coverage   57.07%   56.73%   -0.35%
==========================================
  Files         551      551
  Lines       29075    29075
  Branches     4392     4386       -6
==========================================
- Hits        16596    16495     -101
- Misses      11573    11673     +100
- Partials      906      907       +1

Impacted Files
Coverage Δ

src/client/testing/serviceRegistry.ts
49.09% <0%> (-47.28%)
:arrow_down:

src/client/testing/codeLenses/main.ts
40% <0%> (-30%)
:arrow_down:

src/datascience-ui/interactive-common/tokenizer.ts
35% <0%> (-30%)
:arrow_down:

src/client/datascience/jupyter/jupyterUtils.ts
64.7% <0%> (-29.42%)
:arrow_down:

...t/datascience/jupyter/jupyterDataRateLimitError.ts
50% <0%> (-25%)
:arrow_down:

src/client/formatters/serviceRegistry.ts
75% <0%> (-25%)
:arrow_down:

src/datascience-ui/native-editor/redux/store.ts
75% <0%> (-25%)
:arrow_down:

src/datascience-ui/history-react/redux/store.ts
75% <0%> (-25%)
:arrow_down:

src/datascience-ui/react-common/arePathsSame.ts
37.5% <0%> (-25%)
:arrow_down:

...ience/jupyter/jupyterDebuggerRemoteNotSupported.ts
60% <0%> (-20%)
:arrow_down:

... and 15 more

Continue to review full report at Codecov.

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


[EPIC] Implement Apple Pay

Is your feature request related to a problem? Please describe.
To make payments as easy as possible, we want to add Apple Pay option, so that iPhone users can donate without entering card details.
Describe the solution you'd like
On the donation payment page, we can show the Apple Pay button as alternative to Card payment.
Describe alternatives you've considered
Currently payment method is selected using radio buttons, but when adding more payments may be we just need to list the branded payment buttons like Apple Pay and Paypal. Another option will be to have a dropdown with selecting the payment option.
Additional context
Apple Pay for Web: https://developer.apple.com/documentation/apple_pay_on_the_web
Apple Pay integration will need Apple Development Account and Merchant Account.

Do we have an Apple Developer Account for the NPO. I tried creating one,but it requires a lot of information that I don't have access to.
This is the form that comes up after logging with your Apple ID (I used mine in this case), but I think we should probably have one created also for the NPO

Hello guys,
Sorry if I jump-in unprepared, but doesn't stripe offer Apple Pay directly? Why do you need a direct implementation?

Hello guys,
Sorry if I jump-in unprepared, but doesn't stripe offer Apple Pay directly? Why do you need a direct integration?

Seeing this issue I assumed it doesn't. We should check then

Ok. I will then take another issue in the meantime since I cannot do much without the Apple ID.
But if there is a tax through Stripe and we get around it with integrated Apple ID then I think it is worth implementing @dstoyanoff?

https://stripe.com/docs/apple-pay?platform=ios#using-stripe-and-apple-pay-versus-in-app-purchases

Apple Pay doesn’t replace Apple’s In-App Purchase API. You can use any of Stripe’s supported payment methods and Apple Pay in your iOS app to sell physical goods (for example, groceries and clothing) or for services your business provides (for example, club memberships and hotel reservations). These payments are processed through Stripe and you only need to pay Stripe’s processing fee.
Apple’s developer terms require their In-App Purchase API be used for digital “content, functionality, or services,” such as premium content for your app or subscriptions for digital content. Payments made using the In-App Purchase API are processed by Apple and subject to their transaction fees.


Add compiler backend tests

Rather than dumping them all in "end to end".

https://github.com/unsplash/intlc/commit/5f16858233ff8eeb7acb5ca01ff8b08e7d8b5eb4


Move footer to bottom of screen

#109 fixed a couple pages, might be one or two more to fix later

I think all of these have been resolved


⚠ Asset Delivery has degraded performance

In ad145b2, Asset Delivery (https://assetdelivery.roblox.com) experienced degraded performance:

HTTP code: 200
Response time: 1521 ms

Resolved: Asset Delivery performance has improved in 7a14f92 after 4 minutes.


Add --file-types flag to include only specified config file types

There isn't a way to limit the validation to only a subset of config file types. You can use --exclude-file-types to remove all the ones you do not want scanned but as that list has gotten bigger you'd have to do the following command if you only wanted JSON or XML: validator --exclude-file-types=yaml,toml,ini,properties,hcl,plist,csv,hocon,env,editorconfig. Not only is that hard to remember but even if you save the command you'd have to update it every time we add additional validation types. We need an option to specify which types to include - something like this: validator --file-types=xml,json. We need to also add CLI logic so --file-types and --exclude-file-types should not be used together.
Implementation should be fairly simple because it will be the inverse of --exclude-file-types

Hey there ! I think I can work on this, can you please assign me this ?

@Kinshuk0 Done!

@Kinshuk0 Haven't seen an MR for 2 weeks so opening this up to others

I think building an exclude-file-types list based on file-types can be done to avoid duplicating the code in FSFinder. I have a PR #192 for this.
Is it a good idea?


chore(ci): Avoid denoify API rate limit

For now, we'll attempt to mitigate the issue using a GitHub Token.
Author should do the followings, if applicable

[ ] Add tests
[ ] Run tests
[ ] yarn denoify to generate files for Deno

close #1398

Thanks, hope this works well. Let's go!


Weird bug when I run a command after launching the Chroot

So you can see what's happening:

@quag  I tried with a bunch of versions of it with Nix Run and ./Dosbox to open the executable directly. Tried with both the executable I build and nixpkgs! If I don't run the chroot from enter like you set up, no commands work inside the Chroot

This worked:

HOWEVER

AND THIS

DIDN'T...


Waybar: only inject colors

The CSS that is shipped with stylix for waybar is not quite what I want, as I already have written my own styles for it. I only want for the colors to be prepended to the CSS, so that I would be able to use them.
It would be great if there would be an ability to only inject color definitions, as it is already being done:
https://github.com/danth/stylix/blob/73c6955b4572346cc10f43a459949fe646efbde0/modules/waybar/hm.nix#L36-L41
I'm not sure of what's the best practice to implement such behavior, as I, as the user set the waybar.style property, but stylix also has to write into there somehow. Perhaps a whole different paradigm is required for this, but I'm not the author of stylix to decide.

It seems we're trying to cater to two different groups of users:

Those who expect the CSS to be fully functional without further coding
Those who want to customise the CSS

The best idea that comes to mind is adding a way to partially disable an individual target, so you still get the colors as variables but not applied to anything.

The best idea that comes to mind is adding a way to partially disable an individual target, so you still get the colors as variables but not applied to anything.

That is pretty much the behavior that I would expect, yeah, doing something like
stylix.targets.waybar.addCSS = false;

The best idea that comes to mind is adding a way to partially disable an individual target, so you still get the colors as variables but not applied to anything.

That is pretty much the behavior that I would expect, yeah, doing something like
stylix.targets.waybar.addCSS = false;

Is this not essentially disabling targets with stylix.targets.<TARGET>.enable = false;?

Is this not essentially disabling targets with stylix.targets.<TARGET>.enable = false;?

It would keep the variable definitions part of the CSS, but not the opinionated part which applies those variables to certain areas of the UI.

I suppose you can just disable stylix for waybar and include the @define-color ... lines just the same as the home-manager module would do.


OCPBUGS-23403: [release-4.13] Address http2 vulnerability

/jira cherry-pick OCPBUGS-23358

It seems that we don't need to generate downstream specific manifests as we did in the parent PR

One question, but otherwise...
/lgtm

Updated OCPBUGS-23403 target version, but 23358 needs to get past ON_QA

/jira refresh


Dragging objects

Is it possible to draw an object onto the canvas, but then be able to select it and drag it to another position?  If so, any tips on how to implement something like that?

To clarify, this requires a lot of UI work. Also, how would you handle eraser lines? :-)

OK, so the eraser ship has sailed (see SVG export), and there is clearly a huge demand for being able to move things around. I have some ideas about how to make this work, but it might not be for some time.

@irskep I plan to start work on this; can you give me a quick overview of your vision for the implementation of this feature?

You can look at the text tool for inspiration. It uses bounding box detection and a selection shape. But it's quite  tacky.

*hacky

@jhiswin -- I just noticed your comment! I've implemented this as far as I need for the project I'm working on in PR#346, if you want to collaborate / use any of that.


FEATURE - Firebase Analytics Add / Update / Delete

Describe the feature you want the app to have that it currently doesn't

Log Firebase Analytic events. Do not log what the user wrote, but that the action happened successfully

Create a new vehicle
Update a vehicle
Delete a vehicle
Create a maintenance event
Update a maintenance event
Delete a maintenance event

Describe alternatives you've considered

N/A

Additional context

Feel free to DM @mikaelacaron on social media and ask if I see any new events come in from your testing (at the moment, I am not adding anyone to the Firebase project), so the only way to check if it worked is by Mikaela viewing the console, or by adding more logging in Xcode, as shown in the post linked above

@narendrajagne You've done #33, I labeled this issue first-timers-only, so only someone new to contributing to this project should pick up this one! Thanks!

Hey! I would love to work on this as a first timer

You can use the analyticsScreen view modifier to implement this: https://github.com/firebase/firebase-ios-sdk/blob/master/FirebaseAnalyticsSwift/Sources/Analytics%2BSwiftUI.swift#L56

You can use the analyticsScreen view modifier to implement this: https://github.com/firebase/firebase-ios-sdk/blob/master/FirebaseAnalyticsSwift/Sources/Analytics%2BSwiftUI.swift#L56

@peterfriese That's for logging which screen, right, not a specific event from a button action?

You can use the analyticsScreen view modifier to implement this: https://github.com/firebase/firebase-ios-sdk/blob/master/FirebaseAnalyticsSwift/Sources/Analytics%2BSwiftUI.swift#L56

@peterfriese That's for logging which screen, right, not a specific event from a button action?

That's right. Sorry for mixing up screens (which you can definitely track with this modifier) and actions.
That being said, if you come up with a reusable way to encapsulate an action, this might even be worth considering a contribution to the Firebase SDK.


[Feature Request] Choose between tree style tab on left or right

Natively, tree style tab lets you choose if its on the left or right. I think it would be nice if we could also do this for the tree style tab implementation in FlyingFox, too. I might also be able to do this myself and just add a pull request, and if I did, are there any files I need to modify other than userChrome-hover.css and userChrome-static.css?

Static sidebar on right should be possible right now. Tst's header has been removed but bookmark bar still has a header so if you did ctrl + b and selected "move sidebar to right" from the drop down menu in header, tst should appear on right next time you toggle it.
The hover sidebar is a different story though. And yeah if you work on it you'll have to make a version of userchrome-hover.css that gives the same kind of hover functionality but on right side. For tst itself, treestyletab/custom.css(icons on the left, rather than on right in custom-hover.css) should give the desired look for a right side hoverable tst but if any tweaking is required, then that would also go in a separate file.
Appreciate your help!


update enterprise contract pipeline to use the bundles resolver

https://issues.redhat.com/browse/HACBS-2543

/retest

Merged #560 which caused a conflict here so I rebased and created #564, so closing this one


[Solved] Unable to build 2.1.1 from source: can't assign String to List

Hi!
I'm building Dart SDK 2.1.1 from source using depot_tools in a Linux container. The complete build log follows:
{docker|rpmbuild} [rpm]⚓ rpmbuild -ba SPECS/dart-sdk.spec
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ZcU9Dq
+ umask 022
+ cd /home/builder/rpm/BUILD
+ [[ -d depot_tools ]]
+ export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/builder/rpm/BUILD/depot_tools
+ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/builder/rpm/BUILD/depot_tools
+ mkdir -p dart-2.1.1
+ cd dart-2.1.1
+ [[ -d sdk ]]
+ fetch dart
Running: gclient root
Running: gclient config --spec 'solutions = [
  {
    "url": "https://dart.googlesource.com/sdk.git",
    "managed": False,
    "name": "sdk",
    "deps_file": "DEPS",
    "custom_deps": {},
  },
]
'
Running: gclient sync

________ running 'git -c core.deltaBaseCacheLimit=2g clone --no-checkout --progress https://dart.googlesource.com/sdk.git /home/builder/rpm/BUILD/dart-2.1.1/_gclient_sdk_8K1wh1' in '/home/builder/rpm/BUILD/dart-2.1.1'
Cloning into '/home/builder/rpm/BUILD/dart-2.1.1/_gclient_sdk_8K1wh1'...
remote: Sending approximately 693.81 MiB ...
remote: Counting objects: 921, done
remote: Finding sources: 100% (43/43)
Receiving objects:  74% (607942/817958), 444.30 MiB | 7.50 MiB/s
[0:01:00] Still working on:
[0:01:00]   sdk
Receiving objects:  76% (621649/817958), 512.79 MiB | 9.02 MiB/s
[0:01:10] Still working on:
[0:01:10]   sdk
Receiving objects:  78% (641399/817958), 588.32 MiB | 6.14 MiB/s
[0:01:20] Still working on:
[0:01:20]   sdk
Receiving objects:  95% (780330/817958), 681.97 MiB | 9.51 MiB/s
[0:01:30] Still working on:
[0:01:30]   sdk
remote: Total 817958 (delta 656360), reused 817955 (delta 656360)
Receiving objects: 100% (817958/817958), 693.26 MiB | 8.62 MiB/s, done.
Resolving deltas:  79% (518555/656360)
[0:01:40] Still working on:
[0:01:40]   sdk
Resolving deltas:  87% (574121/656360)
[0:01:50] Still working on:
[0:01:50]   sdk
Resolving deltas: 100% (656360/656360), done.

[0:02:00] Still working on:
[0:02:00]   sdk
Syncing projects:   0% ( 0/ 2)
[0:02:03] Still working on:
[0:02:03]   sdk
Syncing projects: 100% (84/84), done.

________ running 'download_from_google_storage --no_auth --no_resume --bucket dart-dependencies --recursive --auto_platform --extract --directory sdk/third_party/firefox_jsshell' in '/home/builder/rpm/BUILD/dart-2.1.1'
0> Downloading sdk/third_party/firefox_jsshell/linux/jsshell.tar.gz...
0> Extracting 5 entries from sdk/third_party/firefox_jsshell/linux/jsshell.tar.gz to sdk/third_party/firefox_jsshell/linux/jsshell
Downloading 1 files took 7.836850 second(s)
Running hooks:  22% ( 2/ 9) 7zip
________ running 'download_from_google_storage --no_auth --no_resume --bucket dart-dependencies --platform=win32 --extract -s sdk/third_party/7zip.tar.gz.sha1' in '/home/builder/rpm/BUILD/dart-2.1.1'
The current platform doesn't match "win32", skipping.
Running hooks:  33% ( 3/ 9) sysroot_i386
________ running '/usr/bin/python sdk/build/linux/sysroot_scripts/install-sysroot.py --arch i386' in '/home/builder/rpm/BUILD/dart-2.1.1'
Installing Debian Jessie i386 root image: /home/builder/rpm/BUILD/dart-2.1.1/sdk/build/linux/debian_jessie_i386-sysroot
Downloading https://commondatastorage.googleapis.com/chrome-linux-sysroot/toolchain/7031a828c5dcedc937bbf375c42daab08ca6162f/debian_jessie_i386_sysroot.tgz
Running hooks:  44% ( 4/ 9) sysroot_amd64
________ running '/usr/bin/python sdk/build/linux/sysroot_scripts/install-sysroot.py --arch amd64' in '/home/builder/rpm/BUILD/dart-2.1.1'
Installing Debian Jessie amd64 root image: /home/builder/rpm/BUILD/dart-2.1.1/sdk/build/linux/debian_jessie_amd64-sysroot
Downloading https://commondatastorage.googleapis.com/chrome-linux-sysroot/toolchain/7031a828c5dcedc937bbf375c42daab08ca6162f/debian_jessie_amd64_sysroot.tgz
Running hooks:  55% ( 5/ 9) sysroot_amd64
________ running '/usr/bin/python sdk/build/linux/sysroot_scripts/install-sysroot.py --arch arm' in '/home/builder/rpm/BUILD/dart-2.1.1'
Installing Debian Jessie arm root image: /home/builder/rpm/BUILD/dart-2.1.1/sdk/build/linux/debian_jessie_arm-sysroot
Downloading https://commondatastorage.googleapis.com/chrome-linux-sysroot/toolchain/7031a828c5dcedc937bbf375c42daab08ca6162f/debian_jessie_arm_sysroot.tgz
Running hooks:  66% ( 6/ 9) sysroot_amd64
________ running '/usr/bin/python sdk/build/linux/sysroot_scripts/install-sysroot.py --arch arm64' in '/home/builder/rpm/BUILD/dart-2.1.1'
Installing Debian Jessie arm64 root image: /home/builder/rpm/BUILD/dart-2.1.1/sdk/build/linux/debian_jessie_arm64-sysroot
Downloading https://commondatastorage.googleapis.com/chrome-linux-sysroot/toolchain/7031a828c5dcedc937bbf375c42daab08ca6162f/debian_jessie_arm64_sysroot.tgz
Running hooks:  77% ( 7/ 9) download_android_tools
________ running '/usr/bin/python sdk/tools/android/download_android_tools.py' in '/home/builder/rpm/BUILD/dart-2.1.1'
Copying gs://mojo/android/tool/0d320c50b0ed188c7e1182388e2beb623a1d307d.tar.gz...
\ [1 files][412.4 MiB/412.4 MiB]   10.4 MiB/s
Operation completed over 1 objects/412.4 MiB.
Copying gs://mojo/android/tool/e626c47cb82a7439b0eda03ac6e0e9e1e41c6093.tar.gz...
- [1 files][668.3 MiB/668.3 MiB]    7.6 MiB/s
Operation completed over 1 objects/668.3 MiB.
Running ['python', '/home/builder/rpm/BUILD/depot_tools/gsutil.py', 'cp', 'gs://mojo/android/tool/0d320c50b0ed188c7e1182388e2beb623a1d307d.tar.gz', '/home/builder/rpm/BUILD/dart-2.1.1/sdk/third_party/android_tools/sdk.tar.gz']
Extracting Android tools (sdk)
Running ['python', '/home/builder/rpm/BUILD/depot_tools/gsutil.py', 'cp', 'gs://mojo/android/tool/e626c47cb82a7439b0eda03ac6e0e9e1e41c6093.tar.gz', '/home/builder/rpm/BUILD/dart-2.1.1/sdk/third_party/android_tools/ndk.tar.gz']
Extracting Android tools (ndk)
Hook '/usr/bin/python sdk/tools/android/download_android_tools.py' took 193.02 secs
Running hooks: 100% (9/9), done.
Running: git submodule foreach 'git config -f $toplevel/.git/config submodule.$name.ignore all'
Running: git config --add remote.origin.fetch '+refs/tags/*:refs/tags/*'
Running: git config diff.ignoreSubmodules all
+ cd sdk
+ git fetch --tags
+ git checkout 2.1.1
Previous HEAD position was e7d263b... [fasta] Transform set literals in annotations.
HEAD is now at 265af02... Version 2.1.1
+ exit 0
Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.d0O0Lw
+ umask 022
+ cd /home/builder/rpm/BUILD
+ export PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/builder/rpm/BUILD/depot_tools
+ PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/home/builder/rpm/BUILD/depot_tools
+ cd dart-2.1.1/sdk
+ ./tools/build.py --mode release --arch x64 create_sdk
Running python /home/builder/rpm/BUILD/dart-2.1.1/sdk/tools/generate_buildfiles.py
ninja -C out/ReleaseX64 create_sdk
ninja: Entering directory `out/ReleaseX64'
[1472/1525] ACTION //utils/kernel-service:kernel-service_snapshot(//build/toolchain/linux:clang_x64)
FAILED: gen/kernel-service.dart.snapshot
python ../../build/gn_run_binary.py compiled_action dart --deterministic --packages=/home/builder/rpm/BUILD/dart-2.1.1/sdk/.packages --snapshot=gen/kernel-service.dart.snapshot --snapshot-depfile=/home/builder/rpm/BUILD/dart-2.1.1/sdk/out/ReleaseX64/gen/kernel-service.dart.snapshot.d --snapshot-kind=app-jit /home/builder/rpm/BUILD/dart-2.1.1/sdk/out/ReleaseX64/gen/kernel_service.dill --train file:////home/builder/rpm/BUILD/dart-2.1.1/sdk/pkg/compiler/lib/src/dart2js.dart
Command failed: ./dart --deterministic --packages=/home/builder/rpm/BUILD/dart-2.1.1/sdk/.packages --snapshot=gen/kernel-service.dart.snapshot --snapshot-depfile=/home/builder/rpm/BUILD/dart-2.1.1/sdk/out/ReleaseX64/gen/kernel-service.dart.snapshot.d --snapshot-kind=app-jit /home/builder/rpm/BUILD/dart-2.1.1/sdk/out/ReleaseX64/gen/kernel_service.dill --train file:////home/builder/rpm/BUILD/dart-2.1.1/sdk/pkg/compiler/lib/src/dart2js.dart
output: Unhandled exception:
file:////home/builder/rpm/BUILD/dart-2.1.1/sdk/pkg/compiler/lib/src/dump_info.dart:55:29: Error: The argument type 'String' can't be assigned to the parameter type 'List<CodeSpan>'.
 - 'List' is from 'dart:core'.
 - 'CodeSpan' is from 'package:dart2js_info/info.dart' ('file:///home/builder/rpm/BUILD/dart-2.1.1/sdk/third_party/pkg/dart2js_info/lib/info.dart').
Try changing the type of the parameter, or casting the argument to 'List<CodeSpan>'.
          size: size, code: code, outputUnit: _unitInfoForConstant(constant));
                            ^
file:////home/builder/rpm/BUILD/dart-2.1.1/sdk/pkg/compiler/lib/src/dump_info.dart:136:15: Error: The argument type 'String' can't be assigned to the parameter type 'List<CodeSpan>'.
 - 'List' is from 'dart:core'.
 - 'CodeSpan' is from 'package:dart2js_info/info.dart' ('file:///home/builder/rpm/BUILD/dart-2.1.1/sdk/third_party/pkg/dart2js_info/lib/info.dart').
Try changing the type of the parameter, or casting the argument to 'List<CodeSpan>'.
        code: code,
              ^
file:////home/builder/rpm/BUILD/dart-2.1.1/sdk/pkg/compiler/lib/src/dump_info.dart:296:15: Error: The argument type 'String' can't be assigned to the parameter type 'List<CodeSpan>'.
 - 'List' is from 'dart:core'.
 - 'CodeSpan' is from 'package:dart2js_info/info.dart' ('file:///home/builder/rpm/BUILD/dart-2.1.1/sdk/third_party/pkg/dart2js_info/lib/info.dart').
Try changing the type of the parameter, or casting the argument to 'List<CodeSpan>'.
        code: code,
              ^
file:////home/builder/rpm/BUILD/dart-2.1.1/sdk/pkg/compiler/lib/src/dump_info.dart:343:47: Error: Too few positional arguments: 3 required, 2 given.
      OutputUnitInfo info = new OutputUnitInfo(
                                              ^
file:///home/builder/rpm/BUILD/dart-2.1.1/sdk/third_party/pkg/dart2js_info/lib/info.dart:211:3: Context: Found this candidate, but the arguments don't match.
  OutputUnitInfo(this.filename, String name, int size)
  ^
file:////home/builder/rpm/BUILD/dart-2.1.1/sdk/pkg/compiler/lib/src/dump_info.dart:554:17: Error: Method not found: 'BasicInfo.resetIds'.
      BasicInfo.resetIds();
                ^^^^^^^^
file:////home/builder/rpm/BUILD/dart-2.1.1/sdk/pkg/compiler/lib/src/dump_info.dart:634:18: Error: Method not found: 'AllInfoJsonCodec'.
    sink.add(new AllInfoJsonCodec().encode(result));
                 ^^^^^^^^^^^^^^^^
#0      train.<anonymous closure> (file:///home/builder/rpm/BUILD/dart-2.1.1/sdk/pkg/vm/bin/kernel_service.dart:653:7)
#1      _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:171:12)

ninja: build stopped: subcommand failed.
BUILD FAILED
error: Bad exit status from /var/tmp/rpm-tmp.d0O0Lw (%build)

This is a new container, fresh checkout, latest depot_tools (rev. 18f119bb3a0335fe9fdf8b94e5eebcea527784d9).
Please advise. The exact same RPMspec (written by me) has built 2.1.0-dev.7.1 no problem.

Solved by using
gclient fetch --no-history --with_tags dart
(cd sdk; gclient sync --no-history --revision %{upstream_version}; )

Instead of
fetch dart
(cd sdk; git fetch --tags; git checkout %{upstream_version} )

Looks like depot_tools entertain some funny business around git submodules — which breaks the naïve git checkout.

@ulidtko if you checkout a specific version of SDK via git checkout then you need to rerun gclient sync to fetch specific dependencies because DEPS file is managed by git while the dependencies are managed by gclient


Also move automation when using "Xenakios/SWS: Reposition selected items..."

Unless I'm mistaken, when I reposition the selected items, I can't take the automation with them, unless there is a way to freeze the automation to an item?
Cheers.
Sam

Yes, good one, please !


Node js temaplate engines (EJS) Resources

Documentations should be added About  :

What are Template engines ?
Use cases of Teamplate Engines
EJS?

@DhanushNehru  assign this to me and add  hacktoberfest-accepted and  hacktoberfest 2024 labels


VEP schema decoding is causing silent failures

Context
Our annotation pipeline follows this process:

Split a VCF into multiple VCF fragments (code link)
Annotate each fragment with VEP, producing a JSON output (code link)
Read the many JSON fragments back into a single Hail Table (code link)

Inferring type and data structure while ingesting JSON is incredibly inefficient, so we process using a fixed schema.
Issue
The schema we are using is incomplete, but we never found out because of a silent failure mode
Examples
From a recent batch - this is the Job which collates all the VEP JSON into a Hail Table. Note that the logs here are completely free of issues ☮
As we are using Query on Batch, each of the tasks is carried out as a separate process - Batch ID https://batch.hail.populationgenomics.org.au/batches/429013
Example job
This worker job contains a number of parsing errors due to missing
Earlier example (completely separate from latest VEP updates) and a corresponding worker task with errors
e.g.
<schema> has no field uniprot_isoform at <root>.transcript_consequences[element] for value JArray(List(JString(Q96S66-3)))
<schema> has no field seq_region_name at <root>.colocated_variants[element] for value JString(1)

Conclusion?
I don't think this is urgent - the fields being missed out aren't processed during AnnotateCohort, so they don't end up in Seqr - impact here is minimal
We should be aware of this potential silent failure in future, and address schema discrepancies where appropriate
Resolution

Update VEP 105 schema to resolve these issues
Update/design VEP 110 schema to avoid issues

Nothing left to action CC @MattWellie :)


changes to support Jakartaee10 jars and Glassfish 7

changes to support Jakartaee10 jars and Glassfish 7.

In the #12 PR is have reorganized the artifacts and modules to be generic, and the version reflects the GlassFish version. Once this PR is merged, I can update the master branch to use the same organization.

PR #12  needs to be merged and conflicts needs to be resolved before PR can be merged.

If I try to build your fork with SE 11, I'm seeing that the org.glassfish.hk2:hk2-locator:jar:3.0.0-M1 artifact cannot be found:
[ERROR] Failed to execute goal on project arquillian-glassfish6-common: Could not resolve dependencies for project org.jboss.arquillian.container:arquillian-glassfish6-common:jar:1.0.0.Final-SNAPSHOT: org.glassfish.hk2:hk2-locator:jar:3.0.0-M1 was not found in https://jakarta.oss.sonatype.org/content/repositories/staging/ during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of jakarta-nexus-staging has elapsed or updates are forced -> [Help 1]

If I try to build your fork with SE 11, I'm seeing that the org.glassfish.hk2:hk2-locator:jar:3.0.0-M1 artifact cannot be found:
[ERROR] Failed to execute goal on project arquillian-glassfish6-common: Could not resolve dependencies for project org.jboss.arquillian.container:arquillian-glassfish6-common:jar:1.0.0.Final-SNAPSHOT: org.glassfish.hk2:hk2-locator:jar:3.0.0-M1
was not found in https://jakarta.oss.sonatype.org/content/repositories/staging/ during a previous attempt. This failure was
cached in the local repository and resolution is not reattempted until the update interval of jakarta-nexus-staging has
elapsed or updates are forced -> [Help 1]

currently not able to reproduce the issue, attaching logs

failure

^ failure is not reproducible at CI run https://ci.eclipse.org/jakartaee-tck/job/guru/job/cditck-porting-guru/job/jakartaee-10/81/consoleText

@starksm64  - org.glassfish.hk2:hk2-locator:jar:3.0.0-M1 artifact cannot be found  error is not seen in local setup or CI.

@starksm64  - Let me know if the PR can be merged, as review comments are not open?

I merged it. We still need to get the main branch CI config updated and working.


Spec path should end with . . . *_spec.rb incorrectly being thrown.

Hi,
After looking at some of the source file that throws the spec pathing offense, I think it might be getting thrown by accident for describe blocks for nested classes/modules.
Here's the example code that's causing the error:
require 'spec_helper'

tags = { . . . meta_data . . .}

RSpec.describe Module::PluralizedModelController, tags do
end

Rubocop reports Spec path should end with 'module/pluralized_model_controller*_spec.rb' but the file follows that format. pluralized_model_controller_spec.rb is within a folder named module.
There isn't anything else in the file and the error is repeatable with the example I've given above. Could there be a Regexp issue with https://github.com/nevir/rubocop-rspec/blob/master/lib/rubocop/cop/rspec/file_path.rb?
Thanks!

+1

I had the same problem, but I had misspelled the directory name. When I corrected the spelling the offense was gone.

I had this issue with companies_spec.rb
The cop was happy if I named the file companys_spec.rb
but instead I disabled this cop with  # rubocop:disable RSpec/FilePath

@kWhittington @adarsh: I'm having trouble reproducing this problem. Could you confirm if it's still happening in the latest release?
@seanlerner: that sounds like it might be a separate issue. Could you give some more details about what your spec file's contents?

I just tried it again in the app it was happening in. I'm not getting the error in our controller specs anymore. We've updated rubocop and rubocop-rspec since I first reported this:
rubocop (0.39.0)
  parser (>= <IP_ADDRESS>, < 3.0)
  powerpack (~> 0.1)
  rainbow (>= 1.99.1, < 3.0)
  ruby-progressbar (~> 1.7)
  unicode-display_width (~> 1.0, >= 1.0.1)
rubocop-rspec (1.4.1)
  rubocop (= 0.39.0)

Thanks for asking.

Sorry for not closing the loop here - I realized the spec file was
mis-named and that was the root problem. I'm okay closing this issue, at
least from my end.
--
@adarshp http://www.twitter.com/adarshp
313.454.1515 (mobile)
See when I am free: http://bit.ly/adarshcal
On Sun, May 8, 2016 at 2:24 PM, Kyle Whittington<EMAIL_ADDRESS>wrote:

I just tried it again in the app it was happening in. I'm not getting the
error in our controller specs anymore. We've updated rubocop and
rubocop-rspec since I first reported this:
rubocop (0.39.0)
parser (>= <IP_ADDRESS>, < 3.0)
powerpack (~> 0.1)
rainbow (>= 1.99.1, < 3.0)
ruby-progressbar (~> 1.7)
unicode-display_width (~> 1.0, >= 1.0.1)
rubocop-rspec (1.4.1)
rubocop (= 0.39.0)
Thanks for asking.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/nevir/rubocop-rspec/issues/37#issuecomment-217747053

@andyw8 - I'm not able to reproduce the issue any longer. (I've moved away from 'Company' as a model name). thx for following up.

+1 directory name misspelling

@vladlena please provide some information about how to reproduce your problem.

Looks like everyone reporting issues here wound up figuring out their problem. Closing this. Let me know if anyone still has problems

@backus Hey. I have similar issue with acronym controller name.
My controller is named: POIsController and POI is added to rails' inflections, but rubocop shouts:
spec/controllers/pois_controller_spec.rb:4:1: C: RSpec/FilePath: Spec path should end with po_is_controller*_spec.rb.

@nowakov rubocop-rspec does not read from the Rails reflections, but you can define a CustomTransform:
RSpec/FilePath:
  CustomTransform:
    POIsController: pois_controller

https://github.com/backus/rubocop-rspec/blob/master/lib/rubocop/cop/rspec/file_path.rb

@andyw8 Fair enough. Thanks! 🎉


Can asm be resolved from jcenter/google/mavenCentral?

Maybe. It has to be shaded, though. So it could be resolved from a public repo, and then shaded/relocated during the build process.

Ideally I will be able to use the gradle shadow plugin to bundle this and other libs into the published artifact, but it does not yet support the new SoftwareComponent concept.


Unable to install or test

Describe the bug
Regardless of whether I use Windows or macOS, the demo web page appears blank.  The Chrome Browser developer tools console window reports:
Failed to load resource: net::ERR_HTTP2_PROTOCOL_ERROR
main.23fe6e18.chunk.js:1          Failed to load resource: net::ERR_HTTP2_PROTOCOL_ERROR
DevTools failed to load source map: Could not load content for chrome-extension://gighmmpiobklfepjocnamgkkbiglidom/browser-polyfill.js.map: System error: net::ERR_FILE_NOT_FOUND

Regardless of whether I use Windows or macOS, the command npm install listed in the README.md generates a long string of errors, and the subsequent npm run start fails. An example output on macOS:
npm install
npm WARN deprecated<EMAIL_ADDRESS>This version has been deprecated and is no longer supported or maintained
npm WARN deprecated<EMAIL_ADDRESS>This version has been deprecated and is no longer supported or maintained
npm WARN deprecated<EMAIL_ADDRESS>Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated<EMAIL_ADDRESS>https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated<EMAIL_ADDRESS>fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
npm WARN deprecated<EMAIL_ADDRESS>fsevents 1 will break on node v14+ and could be using insecure binaries. Upgrade to fsevents 2.
npm WARN deprecated<EMAIL_ADDRESS>Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm WARN deprecated<EMAIL_ADDRESS>Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies.
npm WARN deprecated<EMAIL_ADDRESS>babel-eslint is now @babel/eslint-parser. This package will no longer receive updates.
npm WARN deprecated<EMAIL_ADDRESS>Moved to 'npm install @sideway/address'
npm WARN deprecated<EMAIL_ADDRESS>This package has been deprecated and is no longer maintained. Please use @rollup/plugin-babel.
npm WARN deprecated<EMAIL_ADDRESS>This version has been deprecated and is no longer supported or maintained
npm WARN deprecated<EMAIL_ADDRESS>Please upgrade to @mapbox/node-pre-gyp: the non-scoped node-pre-gyp package is deprecated and only the @mapbox scoped package will recieve updates in the future
npm WARN deprecated<EMAIL_ADDRESS>Switch to 'npm install joi'
npm WARN deprecated<EMAIL_ADDRESS><EMAIL_ADDRESS>is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Please, upgrade your dependencies to the actual version of core-js.
npm notice
npm notice New major version of npm available! 8.19.3 -> 9.2.0
npm notice Changelog: https://github.com/npm/cli/releases/tag/v9.2.0
npm notice Run npm install -g<EMAIL_ADDRESS>to update!
npm notice
npm ERR! code 1
npm ERR! path /Users/cr/src/mriviewer/node_modules/canvas
npm ERR! command failed
npm ERR! command sh -c -- node-pre-gyp install --fallback-to-build
npm ERR! SOLINK_MODULE(target) Release/canvas-postbuild.node
npm ERR!   CXX(target) Release/obj.target/canvas/src/backend/Backend.o
npm ERR! Failed to execute '/opt/homebrew/Cellar/node/19.2.0/bin/node /opt/homebrew/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --module=/Users/cr/src/mriviewer/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/Users/cr/src/mriviewer/node_modules/canvas/build/Release --napi_version=8 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v111' (1)
npm ERR! node-pre-gyp info it worked if it ends with ok
npm ERR! node-pre-gyp info using<EMAIL_ADDRESS>npm ERR! node-pre-gyp info using<EMAIL_ADDRESS>| darwin | arm64
npm ERR! node-pre-gyp WARN Using needle for node-pre-gyp https download
npm ERR! node-pre-gyp info check checked for "/Users/cr/src/mriviewer/node_modules/canvas/build/Release/canvas.node" (not found)
npm ERR! node-pre-gyp http GET https://github.com/node-gfx/node-canvas-prebuilt/releases/download/v2.6.1/canvas-v2.6.1-node-v111-darwin-unknown-arm64.tar.gz
npm ERR! node-pre-gyp http 404 https://github.com/node-gfx/node-canvas-prebuilt/releases/download/v2.6.1/canvas-v2.6.1-node-v111-darwin-unknown-arm64.tar.gz
npm ERR! node-pre-gyp WARN Tried to download(404): https://github.com/node-gfx/node-canvas-prebuilt/releases/download/v2.6.1/canvas-v2.6.1-node-v111-darwin-unknown-arm64.tar.gz
npm ERR! node-pre-gyp WARN Pre-built binaries not found for<EMAIL_ADDRESS>and<EMAIL_ADDRESS>(node-v111 ABI, unknown) (falling back to source compile with node-gyp)
npm ERR! node-pre-gyp http 404 status code downloading tarball https://github.com/node-gfx/node-canvas-prebuilt/releases/download/v2.6.1/canvas-v2.6.1-node-v111-darwin-unknown-arm64.tar.gz
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using<EMAIL_ADDRESS>npm ERR! gyp info using<EMAIL_ADDRESS>| darwin | arm64
npm ERR! gyp info ok
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using<EMAIL_ADDRESS>npm ERR! gyp info using<EMAIL_ADDRESS>| darwin | arm64
npm ERR! gyp info find Python using Python version 3.9.12 found at "/Users/cr/opt/anaconda3/bin/python3"
npm ERR! gyp http GET https://nodejs.org/download/release/v19.2.0/node-v19.2.0-headers.tar.gz
npm ERR! gyp http 200 https://nodejs.org/download/release/v19.2.0/node-v19.2.0-headers.tar.gz
npm ERR! gyp http GET https://nodejs.org/download/release/v19.2.0/SHASUMS256.txt
npm ERR! gyp http 200 https://nodejs.org/download/release/v19.2.0/SHASUMS256.txt
npm ERR! gyp info spawn /Users/cr/opt/anaconda3/bin/python3
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args   '/opt/homebrew/lib/node_modules/npm/node_modules/node-gyp/gyp/gyp_main.py',
npm ERR! gyp info spawn args   'binding.gyp',
npm ERR! gyp info spawn args   '-f',
npm ERR! gyp info spawn args   'make',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   '/Users/cr/src/mriviewer/node_modules/canvas/build/config.gypi',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   '/opt/homebrew/lib/node_modules/npm/node_modules/node-gyp/addon.gypi',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   '/Users/cr/Library/Caches/node-gyp/19.2.0/include/node/common.gypi',
npm ERR! gyp info spawn args   '-Dlibrary=shared_library',
npm ERR! gyp info spawn args   '-Dvisibility=default',
npm ERR! gyp info spawn args   '-Dnode_root_dir=/Users/cr/Library/Caches/node-gyp/19.2.0',
npm ERR! gyp info spawn args   '-Dnode_gyp_dir=/opt/homebrew/lib/node_modules/npm/node_modules/node-gyp',
npm ERR! gyp info spawn args   '-Dnode_lib_file=/Users/cr/Library/Caches/node-gyp/19.2.0/<(target_arch)/node.lib',
npm ERR! gyp info spawn args   '-Dmodule_root_dir=/Users/cr/src/mriviewer/node_modules/canvas',
npm ERR! gyp info spawn args   '-Dnode_engine=v8',
npm ERR! gyp info spawn args   '--depth=.',
npm ERR! gyp info spawn args   '--no-parallel',
npm ERR! gyp info spawn args   '--generator-output',
npm ERR! gyp info spawn args   'build',
npm ERR! gyp info spawn args   '-Goutput_dir=.'
npm ERR! gyp info spawn args ]
npm ERR! gyp info ok
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using<EMAIL_ADDRESS>npm ERR! gyp info using<EMAIL_ADDRESS>| darwin | arm64
npm ERR! gyp info spawn make
npm ERR! gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
npm ERR! In file included from ../src/backend/Backend.cc:1:
npm ERR! In file included from ../src/backend/Backend.h:6:
npm ERR! In file included from ../../nan/nan.h:176:
npm ERR! ../../nan/nan_callbacks.h:55:23: error: no member named 'AccessorSignature' in namespace 'v8'
npm ERR! typedef v8::Local<v8::AccessorSignature> Sig;
npm ERR!                   ~~~~^
npm ERR! In file included from ../src/backend/Backend.cc:1:
npm ERR! In file included from ../src/backend/Backend.h:6:
npm ERR! ../../nan/nan.h:2535:8: error: no matching member function for call to 'SetAccessor'
npm ERR!   tpl->SetAccessor(
npm ERR!   ~~~~~^~~~~~~~~~~
npm ERR! /Users/cr/Library/Caches/node-gyp/19.2.0/include/node/v8-template.h:814:8: note: candidate function not viable: no known conversion from 'imp::Sig' (aka 'int') to 'v8::SideEffectType' for 7th argument
npm ERR!   void SetAccessor(
npm ERR!        ^
npm ERR! /Users/cr/Library/Caches/node-gyp/19.2.0/include/node/v8-template.h:807:8: note: candidate function not viable: no known conversion from 'imp::NativeGetter' (aka 'void (*)(v8::Local<v8::Name>, const v8::PropertyCallbackInfo<v8::Value> &)') to 'v8::AccessorGetterCallback' (aka 'void (*)(Local<v8::String>, const PropertyCallbackInfo<v8::Value> &)') for 2nd argument
npm ERR!   void SetAccessor(
npm ERR!        ^
npm ERR! ../src/backend/Backend.cc:111:10: warning: address of stack memory associated with local variable 'msg' returned [-Wreturn-stack-address]
npm ERR!   return msg.c_str();
npm ERR!          ^~~
npm ERR! 1 warning and 2 errors generated.
npm ERR! make: *** [Release/obj.target/canvas/src/backend/Backend.o] Error 1
npm ERR! gyp ERR! build error
npm ERR! gyp ERR! stack Error: `make` failed with exit code: 2
npm ERR! gyp ERR! stack     at ChildProcess.onExit (/opt/homebrew/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:201:23)
npm ERR! gyp ERR! stack     at ChildProcess.emit (node:events:513:28)
npm ERR! gyp ERR! stack     at ChildProcess._handle.onexit (node:internal/child_process:293:12)
npm ERR! gyp ERR!  System Darwin 20.6.0
npm ERR! node-pre-gyp ERR! command "/opt/homebrew/Cellar/node/19.2.0/bin/node" "/Users/cr/src/mriviewer/node_modules/canvas/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
npm ERR! node-pre-gyp ERR! cwd /Users/cr/src/mriviewer/node_modules/canvas
npm ERR! node-pre-gyp ERR! node -v v19.2.0
npm ERR! node-pre-gyp ERR! node-pre-gyp -v v0.11.0
npm ERR! node-pre-gyp ERR! not ok

npm ERR!      /Users/cr/.npm/_logs/2022-12-13T12_47_03_347Z-debug-0.log

Given the warnings, there seems to be incompatibilities with modern versions of node (e.g. I tried v18.12 on Windows and v19.2 on macOS). Are there work arounds?

Dear Mr. Rorden.
It is not a node issue, it is the cairo-based canvas issue. Cairo-based means that you should install cairo lib on your system.
Here is the instruction from here on how to do it:

Let me know if it helped or didn't

My apologies, I was in wrong context, it is another project - but the solution is still similar. Please, install required dev-tools via https://github.com/nodejs/node-gyp#on-windows

Hmm, on Windows the gtk-2 and gtk-dev-2 installers created a lot of files in C:\GTK\bin, but there are a lot of unresolved dependencies
npm ERR! Warning: Missing input files:
npm ERR! C:\GTK\bin\libintl-8.dll
npm ERR! C:\GTK\bin\libexpat-1.dll
npm ERR! C:\GTK\bin\libpng14-14.dll

Is it possible to get the demo web page running for browsers?

Unfortunately, it seems that EPAM doesn't support old version of the software and demo link is leading to new version Product page: https://lifescience.opensource.epam.com/mri/
Demo link: epa.ms/mri.
@DanilRostov please, correct me if I wrong.

@alterfo http://epa.ms/mri is only alias for pre-released version. We're gona push upcoming major release in the nearest time. Old version is available through the next link and will be supported for a while - https://mriviewer.opensource.epam.com/, but
@neurolabusc regarding the original issue - currently there are some instrastructure issues with our several opensource projects. We're working of that and it will be fixed very soon.

Hi, Just wanted to comment that this URL: https://mriviewer.opensource.epam.com/ is also not working for me (replicating @neurolabusc 's original post).

@neurolabusc Thanks for opening an issue.
We have released version 2.0 of MRI viewer. Could you try to reproduce please?
If you face any problems please open new issue with details.
Thank you

For me I just had to use node 16, using nvm, to get it to work. On 18 and 20 it does not work, including the new 2.0 release. I think it should be made clear in the readme that this requires node 16.


Focus multiple inputs

If a form-group contains more than one input (e.g. for a date range), the focusError function will call focus on all the inputs within the first .has-error. I suggest changing .has-error:first :input to .has-error :input:first.

Form groups should only have one input inside of them or else the validator won't function properly.

That's generally true, but surely it wouldn't hurt to make this small change?

The change you suggest will try to focus every form group with an error (not the just the first one) which will have the effect of focusing the last one.
Secondly, you really shouldn't have multiple inputs in the same form group. You can nest form groups inside of each other, so you should just wrap your inputs in their own form group or else you'll get into situations where one of the inputs is clobbering another input's errors, etc.

I've tried running the query and it always selects only one element, equivalent to ('.has-error :input').first(). If there's any concern, you could always use .has-error:first :input:first :)
Yeah, I know I shouldn't have multiple inputs but in my case it's a connected date range picker with a start date and an end date inside a single input-group. It works because the datepicker plugin ensures that the range is always valid (including filling in the other field when you only enter one of them), so the validation plugin is simply making sure that you have entered a date.

Ah, looks like you're right. It appears :first will always only return a single element. In that case I guess putting it at the end of the selector is the safer approach. I'll make that change.

Thanks :)


Disable Sauce labs in CI

Running our test suite with Sauce labs in CI seems to fail almost more often than not for reasons that we are not responsible for. Take this run, for example, which took more than 2 hours before it timed out.
It's still very important to have real browser tests other than PhantomJS, but with Sauce labs being as unreliable as it is, I think it's hurting us with intermittent failures on people's PRs and our master branch.
Alternatively, we can try looking into our Sauce labs integration (which is pretty ad-hoc) and figure out if we're doing anything wrong and could be improve parts of it with strict timeout settings and reconnect attempts.
/cc @dgraham

We can disable them if they aren't useful. I rely on make test to validate changes.

Done in 133f690710b04f6b899357aa6767a94a1afac3a7.


Added triggered info to Clear

I thought this would be useful, it would be to me. This commit adds a bool return to the TriggerFd::Clear function to tell the caller whether the trigger was triggered (and now, cleared) or if it was not triggered (and thus, the clear just read nothing, just got EAGAIN). The reason why this is useful is because I'm using a TriggerFd as one of many Fds in a poll call, but this particular event is high priority, so I want to check it more often than just whenever I get around to it looking at all the other events ready in the pollfd set. I guess that I could poll the fd alone with a zero timeout too (not sure if that is entirely portable), but I figured that just clearing it and getting back the confirmation that it was triggered would be a more atomic.
Thinking about that, although I don't think you intend to support users having multiple threads polling on the same TriggerFd, in theory, if people did that, it would be a racy without this feature. With multiple consumers waking from the poll, they'll need an atomic clear-and-check (aka CAS) to clear it and confirm that they should do whatever the trigger is supposed to cause them to do. Without that, you'd get a random number of consumers reacting to a single trigger. (explaining all this more for posterity, since you understand all this stuff much better than me ;) )
Anyways, this seems like a pretty simple change. An alternative would be a "probe" function to check if the fd is readable without clearing it, but that wouldn't fix the potential race condition.

Looks fine as a way to know if the read worked, but you are right about using an eventfd (or pipe) in multiple threads.  That is a recipe for disaster unless you never clear the eventfd as it is always racy (the first to clear it will prevent the poll from triggering for all others).  Even multiple coroutines would behave badly in this case. I don't think that duping the file descriptor would work, but it might - I haven't tried.  You really want to have a separate pipe or eventfd for every thread or coroutine (like subspace does for each subscriber).  It's interesting to hear you are using multiple threads though, I am avoiding them like the plague these days in favor of coroutines or multiple processes.

Thanks for the merge.

It's interesting to hear you are using multiple threads though

No, I am not using multiple threads, I am avoiding them like the plague too. ;)
The thought of the race condition scenario just came to me after writing "atomic" as I was describing the PR.
All I want is a way to check-and-clear without the inconvenience of calling poll again. Basically, to check one particularly important triggerfd ("quit" event) in between looking at a bunch of other fds (subspace channels).
And yeah, multi-threaded notifications are always racy, it seems. I guess that's why you never really see that implemented. Either you have condition-variables with spurious and arbitrary wake-ups (win32 style) (which is basically what you get with TriggerFd where one thread wakes up and clears it, while some others would have woken up for no reason and others not at all), or you have one-shot notifications like absl::Notification.


Add SSE

Hey, I tried running skiftOS in v86 but it crashes because of some invalid opcodes which belong to SSE. Are there any plans to implement SSE?

Yes, https://github.com/copy/v86/issues/48

There's full SSE2 support now and skift works: https://copy.sh/v86/?profile=skift

There's full SSE2 support now and skift works: https://copy.sh/v86/?profile=skift


Created New UI for rubex docs.

Need some more time to create complete UI.

Hey,
I just had a look at the UI, and overall it looks really good and very well polished. Here's a bunch of things that would be great if changed:

The first 'I love Ruby' part says 'I love C' as well. We use Rubex because we don't like C. Its too tedious to write. So we create an abstraction called Rubex. So maybe you can have these three lines:

The elegance of Ruby
The power of C
Say hello to Rubex

On the right hand side there's the paragraph on Rubex. How about removing the quotes and splitting it up like so:

Rubex is a language that makes writing CRuby C extensions as
simple as writing Ruby. It does this by providing a syntax that is
the perfect blend of the elegance of Ruby and the power of C.

Rubex compiles to C and implicitly interfaces with the Ruby VM
in a manner that is completely transparent to the programmer.

Rubex keeps you happy even when writing C extensions.

The paragraph appears too small for my screen (see screenshot). Maybe it larger and increase the font size? Should be more in-your-face kind of.

The 'Download Rubex' button should point to rubygems - https://rubygems.org/gems/rubex

There should be another link called 'GitHub' on the navigation bar that points to the GitHub repo.

The code samples on the home page are comparing Ruby with a C extension. They should compare a C extension (i.e. C code) with Rubex. So here's some further improvements to those:

The size of the font should be larger.
The padding that the code samples have should be lesser (ideally span the entire column).
The heading for the left side (C code) should be - `This is a C extension that calculates Fibonacci numbers'.
The heading for the right side (Rubex code) should be - `This is also a C extension that calculates Fibonacci numbers'.
And now we basically want to drive home the point that Rubex is a much better way of doing the same thing (i.e writing C extensions) so at the bottom of these columns you can write 'Rubex is better, right?`.

Also, the code in code samples on the front page should have 2 space indentation :P

Will make that changes and raise new PR

You can just push to this PR.

Any update on this?


Import error on webp images

When using the Import/Export function to import a product with product images that have the webp-Format, the import will fail with the error “Invalid media url”
Steps to reproduce:

Create product with at least 1 webp image
Export that product using the default product profile
Select the unmodified file for import and start a dry run
The import will fail

Example error CSV attached
Both <IP_ADDRESS> and <IP_ADDRESS> are affected
[^Standardprofil Produkt_20241217-075116.csv]
[^Standardprofil Produkt_20241217-075116_failed.csv]

[public] Shopware automated response: This issue is linked to the internal issue: NEXT-40069
[created from NEXT-40069, comment 528072]

[public]

Priority changed to: High

Thank you for your report. Based on the information in this report, we have decided to investigate this issue in more detail and are planning to provide a fix for this issue. Although we are always eager to solve such problems as soon as we can, we can't give you a more specific time frame right now. We appreciate your patience and thank you for your understanding.
[created from NEXT-40069, comment 528272]


Update swift argument parser dependency to version 0.0.2

Attempting to use version 0.0.2 of swift-argument-parser in a project which also depends on PythonKit results in
error: because root depends on swift-argument-parser 0.2.0..<1.0.0 and root depends on swift-argument-parser 0.0.1..<0.1.0, version solving failed.

There are probably different ways to resolve this, but I thought it would be nice to update the dependency here to the latest version.

sorry I was confused ad actually wanted to update to 0.2.0 but there is slightly more work to do (can take care of that)


When a project is missing metadata, mediaflux silently fails to create it

Expected behavior
I expect that if I make a project in mediaflux, and that project fails to be created because it is missing required metadata, that there would be a meaningful error telling me what information is missing so I can fix the issue.
Actual behavior
Instead, it just silently fails. We can tell the mediaflux asset wasn't created, but we can't easily tell why.
Steps to replicate
(byebug) project = FactoryBot.create(:project)
#<Project id: 1378, mediaflux_id: nil, metadata_json: {"data_sponsor"=>"danuta_carroll", "data_manager"=>"nathanaeljustin", "data_user_read_only"=>[], "data_user_read_write"=>[], "departments"=>["RDSS", "PRDS"], "directory"=>"big-data", "title"=>"The Men from Outer Space", "description"=>"a random description", "created_on"=>"2024-04-19T08:10:56-04:00", "created_by"=>"edison", "updated_on"=>"2024-04-19T08:10:56-04:00", "updated_by"=>"desmond", "project_id"=>nil, "status"=>"pending", "storage_capacity_requested"=>"500 GB", "storage_performance_expectations_requested"=>"standard", "project_purpose"=>"research"}, created_at: "2024-04-19 12:10:56.932476000 +0000", updated_at: "2024-04-19 12:10:56.932476000 +0000">
(byebug) project.mediaflux_id = ProjectMediaflux.create!(project:, session_id: )
"" <-- The mediaflux project wasn't created, but it isn't clear why, we just get a blank id back
(byebug) project.mediaflux_id
nil

Whereas, if we create the project object with the required metadata:
(byebug) project = FactoryBot.create(:project, project_id: "doi:123:456", directory: "something")
#<Project id: 1380, mediaflux_id: nil, metadata_json: {"data_sponsor"=>"brian", "data_manager"=>"fritz_erdman", "data_user_read_only"=>[], "data_user_read_write"=>[], "departments"=>["RDSS", "PRDS"], "directory"=>"something", "title"=>"Death Brain", "description"=>"a random description", "created_on"=>"2024-04-19T08:17:46-04:00", "created_by"=>"enoch", "updated_on"=>"2024-04-19T08:17:46-04:00", "updated_by"=>"efren_jerde", "project_id"=>"doi:123:456", "status"=>"pending", "storage_capacity_requested"=>"500 GB", "storage_performance_expectations_requested"=>"standard", "project_purpose"=>"research"}, created_at: "2024-04-19 12:17:46.364057000 +0000", updated_at: "2024-04-19 12:17:46.364057000 +0000">
(byebug) project.mediaflux_id = ProjectMediaflux.create!(project:, session_id: )
"1319" <-- Now mediaflux made an asset and gave us the ID

Impact of this bug
We spend more time than we should figuring out why something wasn't created in mediaflux. As our schema evolves, and as we face the challenge of keeping the schema definition in rails in sync with the schema definition in mediaflux, it's going to become ever more important to detect metadata issues early and clearly.
Implementation notes, if any
I'd like to see a custom exception class raised for metadata issues. This would allow us to see them in Honeybadger and know how often they're happening. All exceptions that are raised should include the current expected metadata schema version number, as well as what metadata is missing.

Hey team! Please add your planning poker estimate with Zenhub @bess @carolyncole @hectorcorrea @jrgriffiniii @kelynch @leefaisonr


EIP-1559 for substrate mainnet

Transfer 500 tokens to another account and include one ggx as a tip.
The base fee was transferred with 0.25 of the tip to the treasury.


Adding an OCI repo to repositories breaks if helmfile.lock is present

Reproduce
Start with a hemlfile.yaml
repositories:
  - name: jetstack
    url: https://charts.jetstack.io

releases:
  - name: cert-manager
    namespace: cert-manager
    chart: jetstack/cert-manager
    version: v1.6.1
    wait: true
    timeout: 300
    atomic: true
    cleanupOnFail: true
    createNamespace: true
    set:
      # for GKE also need a firewall rule https://cert-manager.io/docs/installation/compatibility/
      - name: webhook.securePort
        value: 8443
      - name: installCRDs
        value: true

run helmfile deps, helmfile.lock would be like:
version: v0.143.0
dependencies:
- name: cert-manager
  repository: https://charts.jetstack.io
  version: v1.6.1
digest: sha256:42efdf240ca1f4a8d19e8566204dcd50af1532e1e6b0fc9985ba59a00eee2593
generated: "2022-02-02T17:04:31.604181725+03:00"

Adding an OCI repo to repositories
repositories:
  - name: huma
    url: ghcr.io/huma-engineering/helm-charts
    oci: true
  - name: jetstack
    url: https://charts.jetstack.io

releases:
  - name: cert-manager
    namespace: cert-manager
    chart: jetstack/cert-manager
    version: v1.6.1
    wait: true
    timeout: 300
    atomic: true
    cleanupOnFail: true
    createNamespace: true
    set:
      # for GKE also need a firewall rule https://cert-manager.io/docs/installation/compatibility/
      - name: webhook.securePort
        value: 8443
      - name: installCRDs
        value: true

  - name: compose-operator
    namespace: compose-operator
    # chart: ../charts/compose-operator
    chart: huma/compose-operator
    version: 0.39.0

Try to get template:
$ helmfile template
Adding repo jetstack https://charts.jetstack.io
"jetstack" has been added to your repositories

in ./helmfile.yaml: [no resolved dependency found for "compose-operator", running "helmfile deps" may resolve the issue]

run helmfile deps, helmfile.lock would not change.
$ helmfile deps
Adding repo jetstack https://charts.jetstack.io
"jetstack" has been added to your repositories

Pulling ghcr.io/huma-engineering/helm-charts/compose-operator:0.39.0
Exporting ghcr.io/huma-engineering/helm-charts/compose-operator:0.39.0
Pulled: ghcr.io/huma-engineering/helm-charts/compose-operator:0.39.0
Digest: sha256:59632103db46727136a1cd08388cced3ee802e596f1d119a2b2bd6318b93fa06

Exporting ghcr.io/huma-engineering/helm-charts/compose-operator:0.39.0
Pulled: ghcr.io/huma-engineering/helm-charts/compose-operator:0.39.0
Digest: sha256:59632103db46727136a1cd08388cced3ee802e596f1d119a2b2bd6318b93fa06

Updating dependency /tmp/helmfile2282725958/compose-operator/compose-operator/compose-operator/0.39.0/compose-operator
Updating dependency /tmp/2481716747
Hang tight while we grab the latest from your chart repositories...

...Successfully got an update from the "jetstack" chart repository

Update Complete. ⎈Happy Helming!⎈
Saving 1 charts
Downloading cert-manager from repo https://charts.jetstack.io
Deleting outdated charts

End result is like in this gist
I am stuck in a loop.
helmfile deps don't change the .lock, template is asking to read from lock.

I got problem with the OCI repo only, and I got a workaround for my case: to delete the existing helmfile.lock.

Are there plans to resolve this and improve the OCI support so the lock file does not have to be removed manually?

@day1118 please see: https://github.com/roboll/helmfile/issues/2148

@day1118 please see: #2148

I don't know how I missed that, thanks @yxxhero !


Run integration and tool tests with settable decimals

Fixes #736
I updated the tests that test the tools as well as the integration tests
to use by default 18 decimals. The value can be overridden in all the
tests (also unit tests) with the same ENV variable (OPENST_DECIMALS).
The test:range still runs simply npm test, which by default runs the
"test" script from within package.json.
However, I updated how the tests are organized so that npm test runs
all the tests, and the individual tests have script names
test:<section>.
I moved "generate test proofs" out of the test namespace, as that is not actually running tests, it is just using mocha.

Reviewing 🦖


Serious bug with distributed search

When a synbiohub cannot be reached (like SBH Utah that is down right now), it crashes SBOLExplorer.  It appears you are missing a try/catch to error out properly in this instance.

This should be fixed.  Needs testing.

Also, dumps file appears to be missing even with distributed search off.

Running uclust
b'usearch v10.0.240_i86linux32, 4.0Gb RAM (16.4Gb total), 6 cores\n(C) Copyright 2013-17 Robert C. Edgar, all rights reserved.\nhttp://drive5.com/usearch\n\nLicense<EMAIL_ADDRESS>Running uclust complete
parts: 0
hits: 0
Returning error float division by zero
Successfully updated config
Successfully updated config
Query for sequences
endpoint: http://virtuoso:8890/sparql?
Successfully updated config
00:01 101Mb   100.0% Reading usearch/sequences.fsa
00:01 119Mb   100.0% DF
00:01 120Mb  48557 seqs, 45124 uniques, 42942 singletons (95.2%)
00:01 120Mb  Min size 1, median 1, max 50, avg 1.08
00:01 121Mb   100.0% DB
00:01 122Mb  Sort length... done.
10000 20000 30000 40000 48557
Query for sequences complete
Running uclust
Successfully updated config
Returning error [Errno 2] No such file or directory: 'dumps/uri2rank_dump'
Returning error [Errno 2] No such file or directory: 'dumps/uri2rank_dump'
Successfully updated config
Query for sequences
endpoint: http://virtuoso:8890/sparql?
Successfully updated config
03:53 237Mb    35.1% 15807 clusters, max size 10, avg 1.1
usearch/usearch10.0.240_i86linux32 -cluster_fast usearch/sequences.fsa -id 0.8 -sort length -uc usearch/uclust_results.uc
---Fatal error---
Empty file usearch/sequences.fsa


Phan fixes

Coverage remained the same at 100.0% when pulling c9849b93fe6efa93d510da8537225372cb133d63 on phan-fixes into 453ea7d9be8470afb8f2ab05a0fc340a120f2e68 on master.


nil token for current process reference

New Issue Checklist

[ ] Updated fastlane to the latest version
[ ] I have read the Contribution Guidelines

Issue Description
Complete output when running fastlane, including the stack trace and command used
INSERT OUTPUT HERE

▸ Touching xxxxxxxxxx.xctest
** TEST FAILED **
testExample, UI Testing Failure - Failure attempting to launch XCUIApplicationImpl: 0x7f9a540432e0  xxxxxxxxxx at /var/folders/fq/w918t4gx1ml9254rk4nn5qkc0000gn/T/snapshot_derived20160403-60672-5vckqu/Build/Products/Debug-iphonesimulator/ xxxxxxxxxx.app, nil token for current process reference XCUIApplicationProcess: 0x7f9a54003dd0  xxxxxxxxxx (64407)
/Library/Ruby/Gems/2.0.0/gems/snapshot-1.12.1/lib/snapshot/runner.rb:52:in work': [!] Tests failed - check out the log above (RuntimeError) 	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.70.0/lib/fastlane/actions/snapshot.rb:17:in run'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.70.0/lib/fastlane/runner.rb:143:in block (2 levels) in execute_action' 	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.70.0/lib/fastlane/actions/actions_helper.rb:35:in execute_action'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.70.0/lib/fastlane/runner.rb:129:in block in execute_action' 	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.70.0/lib/fastlane/runner.rb:128:in chdir'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.70.0/lib/fastlane/runner.rb:128:in execute_action' 	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.70.0/lib/fastlane/fast_file.rb:149:in method_missing'
from Fastfile:39:in block (2 levels) in parsing_binding' 	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.70.0/lib/fastlane/lane.rb:36:in call'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.70.0/lib/fastlane/lane.rb:36:in call' 	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.70.0/lib/fastlane/runner.rb:52:in block in execute'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.70.0/lib/fastlane/runner.rb:46:in chdir' 	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.70.0/lib/fastlane/runner.rb:46:in execute'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.70.0/lib/fastlane/lane_manager.rb:46:in cruise_lane' 	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.70.0/lib/fastlane/command_line_handler.rb:30:in handle'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.70.0/bin/fastlane:38:in block (2 levels) in run' 	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:178:in call'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:178:in call' 	from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/command.rb:153:in run'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/runner.rb:428:in run_active_command' 	from /Library/Ruby/Gems/2.0.0/gems/fastlane_core-0.41.0/lib/fastlane_core/ui/fastlane_runner.rb:23:in run!'
from /Library/Ruby/Gems/2.0.0/gems/commander-4.3.5/lib/commander/delegates.rb:15:in run!' 	from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.70.0/bin/fastlane:156:in run'
from /Library/Ruby/Gems/2.0.0/gems/fastlane-1.70.0/bin/fastlane:162:in <top (required)>' 	from /usr/local/bin/fastlane:23:in load'
from /usr/local/bin/fastlane:23:in `'
Configuration Files
scheme "xxxxxxxxxx"
devices([
"iPhone 6"
])
languages([
"en-US"
])
ios_version '9.0'
Environment
xCode 7.3
snapshot 1.12.1
fastlane version (fastlane -v):1.70.0
Do you use bundler, rbenv or ram?

Hi @PeterWong2015! Great to hear from you. Can you let me know if you can run these tests from Xcode? That'll let us know if it is an issue wit snapshot or with your project config.
Thanks!

Hi, it cannot pass the test in Xcode.

(void)setUp {
[super setUp];
// Put setup code here. This method is called before the invocation of each test method in the class.
// In UI tests it is usually best to stop immediately when a failure occurs.
self.continueAfterFailure = NO;
// UI tests must launch the application that they test. Doing this in setup will make sure it happens for each test method.
XCUIApplication *app = [[XCUIApplication alloc] init];
[Snapshot setLanguage:app];
[app launch];
// In UI tests it’s important to set the initial state - such as interface orientation - required for your tests before they run. The setUp method is a good place to do this.
}

(void)tearDown {
// Put teardown code here. This method is called after the invocation of each test method in the class.
[super tearDown];
}

(void)testExample {
// Use recording to get started writing UI tests.
// Use XCTAssert and related functions to verify your tests produce the correct results.
[Snapshot snapshot:@"0" waitForLoadingIndicator:NO];

}

Hi @PeterWong2015! Thanks for following up. These tests need to pass in Xcode before you can run snapshot. Can you edit the tests to make them pass and try again?
Thanks!

This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its
recipients. This is a temporary error. The following address(es) deferred:
<EMAIL_ADDRESS>Domain zyapps.com has exceeded the max emails per hour (494/400 (123%)) allowed.  Message will be reattempted later
------- This is a copy of the message, including all the headers. ------
Received: from github-smtp2-ext6.iad.github.net ([<IP_ADDRESS>]:52312 helo=github-smtp2b-ext-cp1-prd.iad.github.net)
by serveur.ex2-p10.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256)
(Exim 4.87)
(envelope-from<EMAIL_ADDRESS>id 1bEKub-002m1c-NY
for<EMAIL_ADDRESS>Sat, 18 Jun 2016 20:24:10 +0200
Date: Sat, 18 Jun 2016 11:23:24 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com;
s=pf2014; t=1466274204;
bh=rlf/FywaCTrqtGo66g5lY9kk6tkv9hc0FSTl6cAZ0lk=;
h=From:Reply-To:To:Cc:In-Reply-To:References:Subject:List-ID:
List-Archive:List-Post:List-Unsubscribe:From;
b=tYjcZDLrg5pnlOlah3Qlk4DQJqexmgvYp4mUTk+hlY8z2koRL+OvCvxkl+S6bNFQZ
ZVrudEV49s81EAgJj4L2mpu9HX3N1p5YIJGERPT3c75hwB7ilah0SceT6DW7/esT6Q
Jnd4lIjCm1RjcHDrd/nLr2PP+YPRW8GkdWYCYS+4=
From: fastlane bot<EMAIL_ADDRESS>Reply-To: fastlane/fastlane<EMAIL_ADDRESS>To: fastlane/fastlane<EMAIL_ADDRESS>Cc:
Message-ID<EMAIL_ADDRESS>In-Reply-To<EMAIL_ADDRESS>References<EMAIL_ADDRESS>Subject: Re: [fastlane/fastlane] nil token for current process reference
(#4039)
Mime-Version: 1.0
Content-Type: multipart/alternative;
boundary="--==_mimepart_5765919c60c97_23fb3fe01e15b2b839981";
charset=UTF-8
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: fastlane-bot
X-GitHub-Recipient: yanndupuy
List-ID: fastlane/fastlane <fastlane.fastlane.github.com>
List-Archive: https://github.com/fastlane/fastlane
List-Post<EMAIL_ADDRESS>List-Unsubscribe<EMAIL_ADDRESS>https://github.com/notifications/unsubscribe/AA3w3GfwXRSn6efJJF5TCBqgZBZgYkKDks5qNDecgaJpZM4H-nZ4
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address<EMAIL_ADDRESS>X-Spam-Status: No, score=-4.1
X-Spam-Score: -40
X-Spam-Bar: ----
X-Ham-Report: Spam detection software, running on the system "serveur.ex2-p10.com",
has NOT identified this incoming email as spam.  The original
message has been attached to this so you can view it or label
similar future email.  If you have any questions, see
root@localhost for details.
Content preview:  This issue will be auto-closed because there hasn't been any
activity for a few months. Feel free to open a new one
if you still experience this problem 👍 [...]
Content analysis details:   (-4.1 points, 5.0 required)
pts rule name              description

-5.0 RCVD_IN_DNSWL_HI       RBL: Sender listed at http://www.dnswl.org/, high
trust
[<IP_ADDRESS> listed in list.dnswl.org]
-0.0 RCVD_IN_MSPIKE_H2      RBL: Average reputation (+2)
[<IP_ADDRESS> listed in wl.mailspike.net]
-0.0 SPF_PASS               SPF: sender matches SPF record
0.0 HTML_MESSAGE           BODY: HTML included in message
1.0 HTML_IMAGE_ONLY_16     BODY: HTML: images with 1200-1600 bytes of words
-0.1 DKIM_VALID             Message has at least one valid DKIM or DK signature
-0.1 DKIM_VALID_AU          Message has a valid DKIM or DK signature from author's
domain
0.1 DKIM_SIGNED            Message has a DKIM or DK signature, not necessarily valid
X-Spam-Flag: NO
----==_mimepart_5765919c60c97_23fb3fe01e15b2b839981
Content-Type: text/plain;
charset=UTF-8
Content-Transfer-Encoding: quoted-printable
This issue will be auto-closed because there hasn't been any activity for=
a few months. Feel free to [open a new one](https://github.com/fastlane/=
fastlane/issues/new) if you still experience this problem =F0=9F=91=8D

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/fastlane/fastlane/issues/4039#issuecomment-226957489=
----==_mimepart_5765919c60c97_23fb3fe01e15b2b839981
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: quoted-printable
This issue will be auto-closed because there hasn't been any activity =
for a few months. Feel free to open a new one if you still experience this problem=
 =F0=9F=91=8D
&m=
dash;You are receiving this because you are subscribed to this thre=
ad.Reply to this email directly, view it on GitHub, =
or mute the thread.

----==_mimepart_5765919c60c97_23fb3fe01e15b2b839981--

This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its
recipients. This is a temporary error. The following address(es) deferred:
<EMAIL_ADDRESS>Domain zyapps.com has exceeded the max emails per hour (495/400 (123%)) allowed.  Message will be reattempted later
------- This is a copy of the message, including all the headers. ------
Received: from github-smtp2-ext2.iad.github.net ([<IP_ADDRESS>]:52333 helo=github-smtp2b-ext-cp1-prd.iad.github.net)
by serveur.ex2-p10.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256)
(Exim 4.87)
(envelope-from<EMAIL_ADDRESS>id 1bEKub-002m1e-My
for<EMAIL_ADDRESS>Sat, 18 Jun 2016 20:24:11 +0200
Date: Sat, 18 Jun 2016 11:23:24 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com;
s=pf2014; t=1466274204;
bh=0JOIfNrE63sBn4MbBDoLRlI8LRIYex8on3UYn/QqPbU=;
h=From:Reply-To:To:Cc:In-Reply-To:References:Subject:List-ID:
List-Archive:List-Post:List-Unsubscribe:From;
b=lA0SVVwmr//T8A4mdX/CgmmbQB7mXe7uPQ3DF+wUQdyvwDykShW3QFLeoxliZoDBc
f3z/xDNuimDMKD+p2vPs0YvfMJwqDAzmRKZcBvlo4eArU5q2utLVI9Sni5nWvodRKB
rOteexyqEwWXzQfePAnP8mPWMmcEFJTNzaQo8I3A=
From: fastlane bot<EMAIL_ADDRESS>Reply-To: fastlane/fastlane<EMAIL_ADDRESS>To: fastlane/fastlane<EMAIL_ADDRESS>Cc:
Message-ID<EMAIL_ADDRESS>In-Reply-To<EMAIL_ADDRESS>References<EMAIL_ADDRESS>Subject: Re: [fastlane/fastlane] nil token for current process reference
(#4039)
Mime-Version: 1.0
Content-Type: multipart/alternative;
boundary="--==_mimepart_5765919c785c0_4de03fc216c9d2a05548f9";
charset=UTF-8
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: fastlane-bot
X-GitHub-Recipient: yanndupuy
List-ID: fastlane/fastlane <fastlane.fastlane.github.com>
List-Archive: https://github.com/fastlane/fastlane
List-Post<EMAIL_ADDRESS>List-Unsubscribe<EMAIL_ADDRESS>https://github.com/notifications/unsubscribe/AA3w3GfwXRSn6efJJF5TCBqgZBZgYkKDks5qNDecgaJpZM4H-nZ4
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address<EMAIL_ADDRESS>X-Spam-Status: No, score=-4.1
X-Spam-Score: -40
X-Spam-Bar: ----
X-Ham-Report: Spam detection software, running on the system "serveur.ex2-p10.com",
has NOT identified this incoming email as spam.  The original
message has been attached to this so you can view it or label
similar future email.  If you have any questions, see
root@localhost for details.
Content preview:  Closed #4039. --- You are receiving this because you are subscribed
to this thread. Reply to this email directly or view it on GitHub: https://github.com/fastlane/fastlane/issues/4039#event-696785374
[...]
Content analysis details:   (-4.1 points, 5.0 required)
pts rule name              description

-5.0 RCVD_IN_DNSWL_HI       RBL: Sender listed at http://www.dnswl.org/, high
trust
[<IP_ADDRESS> listed in list.dnswl.org]
-0.0 RCVD_IN_MSPIKE_H2      RBL: Average reputation (+2)
[<IP_ADDRESS> listed in wl.mailspike.net]
-0.0 SPF_PASS               SPF: sender matches SPF record
0.0 HTML_MESSAGE           BODY: HTML included in message
1.0 HTML_IMAGE_ONLY_16     BODY: HTML: images with 1200-1600 bytes of words
-0.1 DKIM_VALID             Message has at least one valid DKIM or DK signature
-0.1 DKIM_VALID_AU          Message has a valid DKIM or DK signature from author's
domain
0.1 DKIM_SIGNED            Message has a DKIM or DK signature, not necessarily valid
X-Spam-Flag: NO
----==_mimepart_5765919c785c0_4de03fc216c9d2a05548f9
Content-Type: text/plain;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Closed #4039.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/fastlane/fastlane/issues/4039#event-696785374
----==_mimepart_5765919c785c0_4de03fc216c9d2a05548f9
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
Closed #4039.
—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or mute the thread.

----==_mimepart_5765919c785c0_4de03fc216c9d2a05548f9--


Docs release 1.2.13

LGTM but I don't understand the purpose of it :)

The purpose is to do an assembly release which now additionally contains the quick starter code. Then in the docs.daml.com repo, the daml finance *.rst files which contains code snippet links referring to quick starter code have been updated to take the code snippet from the downloaded assembly file.
Previously, it was taking the code snippets from the daml repo version of the quickstarter.

All clear, thanks for explaining 🙏


Make EntityProcessorImpl and its getAnnotations() method public

This allows external programs to programmatically extract annotations from plain text documents (the current publicly accessible method, annotateEntities(), is designed to work on HTML content, as per https://github.com/SciGraph/SciGraph/issues/282).
WIP: Needs tests and better comments.

Coverage remained the same at 0.0% when pulling a20cf2ef8ad7f3b78041e5c5232c9fa1a08f9f79 on gaurav:use-get-annotations into 7dae477f972cfffbf63cbe592fcc57fd1bac462e on SciGraph:master.

Superceded by https://github.com/SciGraph/SciGraph/pull/285, closing.


go/lint: go fix pkger files

Go 1.17 introduced a migration with build constraints and they offer a migration with gofmt
See https://go.googlesource.com/proposal/+/master/design/draft-gobuild.md#transition for more details

FYI I reported this upstream, but the project is semi-depreciated. https://github.com/markbates/pkger/issues/151


Feature request: support for systemd-timesyncd

systemd-timesyncd offers very basic NTP time synchronization support, but is often times sufficient. Is there a reason why this Ansible system role does not support it? If not, is there an interest to receive a pull request for this? Has it maybe been tried before and should I be aware of any caveats? I couldn't find any closed issues on the topic.

systemd-timesyncd offers very basic NTP time synchronization support, but is often times sufficient. Is there a reason why this Ansible system role does not support it?

Not that I'm aware of.  The purpose of the role is to hide the implementation details from you e.g. I want to ensure that there is a timesync configured on the system, and the role is opinionated and provides guidance about the provider and config settings for the given platform.  In other words - what is the use case that you would want to use systemd-timesyncd instead of chronyd, assuming you didn't know or care what is the default timesync provider?

If not, is there an interest to receive a pull request for this? Has it maybe been tried before and should I be aware of any caveats? I couldn't find any closed issues on the topic.

I think it would be relatively straightforward to add systemd-timesyncd as a provider.  One caveat is that if this provider is very basic, I'm assuming many/most of the parameters would not be applicable?  So documenting that and handling that in the role might be tricky e.g. how do you tell the user that timesync_some_setting is not applicable to the chosen provider?  Or the documentation will be sufficient that the users knows if they set timesync_provider: systemd-timesyncd then they cannot set timesync_some_setting which is not applicable to that provider?

what is the use case that you would want to use systemd-timesyncd instead of chronyd, assuming you didn't know or care what is the default timesync provider?

Exactly that. I don't care about the default timesync provider, even if it's something as minimal as systemd-timesyncd. However there are systems on which people might care about additional packages being installed and services being started, consuming presumably limited storage space, memory and CPU power. Things like the Raspberry Pi and other low spec (ARM based) hardware comes to mind.
My personal use case would be for a couple of Raspberry Pi systems, but after digging around in this role a bit more I realized that it is not officially compatible with the Debian based Linux distributions that are prevalent on the Pi, so that would be something to look at first in that case.
So it seems my request was ill considered, you may close it at your convenience.

what is the use case that you would want to use systemd-timesyncd instead of chronyd, assuming you didn't know or care what is the default timesync provider?

Exactly that. I don't care about the default timesync provider, even if it's something as minimal as systemd-timesyncd. However there are systems on which people might care about additional packages being installed and services being started, consuming presumably limited storage space, memory and CPU power. Things like the Raspberry Pi and other low spec (ARM based) hardware comes to mind.
My personal use case would be for a couple of Raspberry Pi systems, but after digging around in this role a bit more I realized that it is not officially compatible with the Debian based Linux distributions

If you can use Ansible to manage those platforms, you can modify the role to support those platforms.  There are system roles other than timesync that support ubuntu/debian - see https://github.com/linux-system-roles/ssh/tree/master/vars

that are prevalent on the Pi, so that would be something to look at first in that case.
So it seems my request was ill considered, you may close it at your convenience.

Exactly that. I don't care about the default timesync provider, even if it's something as minimal as systemd-timesyncd.

My opinion is that if you don't need a synchronized clock, you shouldn't enable any NTP clients. That's the most secure configuration. If you need a synchronized clock, but don't know the specifics of each implementations, you generally want something a bit more robust than timesyncd. For a use case of NTP over Internet, I'd consider something like openntpd or the busybox ntpd as the absolute minimum.

However there are systems on which people might care about additional packages being installed and services being started, consuming presumably limited storage space, memory and CPU power. Things like the Raspberry Pi and other low spec (ARM based) hardware comes to mind.

In order to save a significant amount of storage or RAM, you might need to replace systemd first (on which timesyncd depends). Small devices like routers (e.g. 4-16 MB of flash and 32-128 MB RAM) typically run the busybox ntpd.
Anyway, timesyncd doesn't support most of the options that this role has and behaves very differently from the supported implementations, so I don't think it would be a good fit.


CBL-2775: Enable ICU shim for Linux builds

This will allow a reduction in the number of unique builds needed for platform coverage.  Basically, at this point only two unique builds will be needed -> Builds for distros that are built against GCC 8+ and those that are not

Note, this requires a core update to actually function

I have created https://issues.couchbase.com/browse/CBL-2805 for the failed test.