kssd: pull upstream fix for -fno-common tollchains

Without the change build fails on upstream gcc-10 as:
ld: ccD2iWhk.o:(.bss+0x8): multiple definition of `domain';
  ccgA4lYl.o:(.bss+0x8): first defined here
ld: ccD2iWhk.o:(.bss+0x0): multiple definition of `long_domain';
  ccgA4lYl.o:(.bss+0x0): first defined here

Description of changes

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

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

1 package built:

kssd


fix issues/82

first time to commit a rust code, please feel freely to give comments.Thanks in advance!

The changes made on src/data/value.rs is just to pass the "cargo clippy" in github action:
https://github.com/gluesql/gluesql/pull/96/commits/0357243125ad64bf344f0aedb976a80f4b09e835

@zhangchunzhong Yes, that's right. It's just because changes are made by https://github.com/gluesql/gluesql/pull/96/commits/0357243125ad64bf344f0aedb976a80f4b09e835 and https://github.com/gluesql/gluesql/pull/96/commits/858de2ed67d98207f756a689e046dd8c6bd4b5a9

resolve #82

@zhangchunzhong Thanks! merging


error on jetson nano

Hello. I ran the command to change darknet weights to tensorflow weights in jetson nano, but it doesn't work as below. I've been facing a problem for a few days so
I'm hoping for some wise advice. Thank you
commnad:
python save_model.py --weights ./data/yolov4.weights --output ./checkpoints/yolov4-416 --input_size 416 --model yolov4
Error
Aborted (core dumped)

The issue can be fixed by using yolov4-tiny model


Fix router

Since ConnectedRouter has been introduced, history.push history.goBack and any otherhistory function has no effect on the rendering process (but dispatch actions properly ).
This probably happens because there are two router nested HashRouter from app/routes.js is nested into ConnectedRouter from app/containers/Root.js
How to reproduce:
app/Home.js
// @flow
import React, { Component } from 'react';
import styles from './Home.css';
import { history } from '../store/configureStore';

export default class Home extends Component {
  render() {
    return (

Home

          <button onClick={() => { history.push('/counter'); }}>
            test
          </button>

    );
  }
}

@anthonyraymond changed the base of the PR to release v0.11.2. Would be great if you could resolve the merge conflicts

Should be ok. I used the online user-friendly "Resolve button". Didn't knew that ever exists x)
I hope this will work. Otherwise i'll do a manual commit tonight

@Slapbox Would really appreciate if you could test this out before merging into v0.11.2

I implemented it without issue in my app, but I'm not actively using the router. I am 100% single paged, so my test case is very weak, just loading my main page and then not routing again.

By the way, since it's related to router, worth mentioning it has no effect on #935 for me.

This is the most annoying thing about the JS ecosystem (and probably other language ecosystems). You change on upgrade some dependency and you find out later that something broke (and you have no idea why).

Much truth. Dependency hell has been made a lot less terrible by Yarn, but it still exists in its own way.

Sorry for the delay on this. Wanted to take the time to do some testing myself

No problem :)
Thabks for the merge


Install Issue Duplicate entry

I am at step 4/8 and when I hit submit I get this error.
Error connecting to your database.
SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '1' for key 'PRIMARY'
I am also incredibly new at this so I may of missed something obvious.

Hi @Monknot
Are you sure you install pH7CMS on a new fresh database?
If the problem persists, can you create a new database through your phpmyadmin and run the following files (in the same order)

https://raw.githubusercontent.com/pH7Software/pH7-Social-Dating-CMS/master/_install/data/sql/MySQL/pH7_SchemaGame.sql
https://raw.githubusercontent.com/pH7Software/pH7-Social-Dating-CMS/master/_install/data/sql/MySQL/pH7_Core.sql

And let me know if you see any errors from there.
Thanks

Second one created this error.
CREATE TABLE IF NOT EXISTS pH7_AdminsLogSess (
profileId tinyint(3) unsigned DEFAULT NULL,
username varchar(40) DEFAULT NULL,
password varchar(240) DEFAULT NULL,
email varchar(120) DEFAULT NULL,
firstName varchar(50) DEFAULT NULL,
lastName varchar(50) DEFAULT NULL,
sessionHash varchar(40) NOT NULL,
idHash char(32) NOT NULL,
lastActivity int(10) unsigned NOT NULL,
location varchar(255) DEFAULT NULL,
ip varchar(45) NOT NULL DEFAULT '<IP_ADDRESS>',
userAgent varchar(100) NOT NULL,
guest smallint(4) unsigned NOT NULL DEFAULT 1,
dateTime timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY profileId (profileId),
FOREIGN KEY (profileId) REFERENCES pH7_Admins(profileId),
KEY sessionHash (sessionHash),
KEY lastActivity (lastActivity)
) ENGINE=InnoDB DEFAULT CHARSET=utf8
MySQL said: Documentation
#1171 - All parts of a PRIMARY KEY must be NOT NULL; if you need NULL in a key, use UNIQUE instead

Thanks @Monknot . I published a patch.
Can you remove your database and create a new one and do the same again with these new updated files

https://raw.githubusercontent.com/pH7Software/pH7-Social-Dating-CMS/master/_install/data/sql/MySQL/pH7_SchemaGame.sql
https://raw.githubusercontent.com/pH7Software/pH7-Social-Dating-CMS/master/_install/data/sql/MySQL/pH7_Core.sql

2 rows affected.

First result.
"# MySQL returned an empty result set (i.e. zero rows)."
Second result.
"# 2 rows affected."

I also get the same error at the same place in the install.

So, now it works by running the both SQL files manually through PHPMyAdmin but when you go the pH7CMS installer, it doesn't work. Is that right? Please confirm @Monknot

Correct.

Thanks. Are you sure you installed pH7CMS with a new database (empty one) for installing pH7CMS (to make sure you won't get duplicate entries)

In phpMyAdmin I typed in a new name (Several different names and times just to make sure) and hit create. I than put the name of that new database in the database field on the forum when filling it out.

I am also wondering should I tag you in my responses like you do me? I am new to GitHub and tickets so I am unsure about proper etiquette.

No need to tag me ;)
Thanks for those details. In order to reproduce the error, could you tell me if you tried to install pH7CMS on a local host (MAMP, XAMPP, WAMP, ...?) or with a sharing web hosting. If so, what's the name?
Once I have the details of your environment, I will try to install pH7CMS with the same web environment.
Thanks

I installed it on my Linux laptop and I placed it in my /home/var/www/html folder. I setup a LAMP environment. I am not using anything other than LAMP. I have the required mods for Apache as well.

Could you tell me your MySQL version you are using? I will try to setup on LAMP env on my linux machine.
P.S. If you don't use MySQL strict mode, it should work.

Server version: 5.7.20-0ubuntu<IP_ADDRESS> - (Ubuntu)


Private torrent

So after successfully downloading a public ubuntu distro torrent, I decided to test out the private torrent that our team is going to use, and I encountered some problem.
System.InvalidOperationException with message You cannot add external peers to a private torrent was being thrown for each peer.
On line 296 inside the Initialize function in the TorrentManager.cs
Our current setup:
(Everything is being done in one local network, for simplicity)
1 raspberry pi 3 b+ running our own little private tracker(opentracker)
1 raspberry pi 3 b+ running Transmission torrent client
1 Chromebook running Transmission torrent client
1 Windows machine running Transmission torrent client
I create a private torrent with our tracker address added in the tracker list from the Transmission client, load that file on all computers.
3 Transmission clients on 3 different OSes will happily share among themselves.(We usually start seeding from windows client, but that doesn't really matter i guess)
Now I load the same torrent file onto the SampleClient it gives me the above error and shuts down.
What I tried so far was to disable DHT and local peer discovery in the ClientEngine.cs file with the boolean flags.
And I also tried commenting out the portions of the code that loaded the DHT file.
One strange thing is that whenever the error occurs I can see the list of peers and their IPs and they all match the 3 clients we are running for testing. which confuses me even further.
I think monotorrent does support the private torrent and private trackers, or am i wrong?

You're right, it should work.
This was a regression introduced during the wide-sweeping change to move to an async/await codebase. Specifically this is where the check was accidentally applied to peers retrieved from Trackers, instead of just being applied to peers retrieved from DHT/PEX/LPD etc.
The change would be to split the AddPeersAsync method back into two parts so that when the Tracker adds peers they do not go through that particular if statement. If you're feeling like submitting a patch, one way to implement it would be to add a second overload of AddPeerAsync and AddPeersAsync which looks like this:
public Task<bool> AddPeerAsync (Peer peer)
    => AddPeerAsync (peer, false);

internal async Task<bool> AddPeerAsync (Peer peer, bool fromTrackers)
{
    if (HasMetadata && Torrent.IsPrivate && !fromTrackers)
        throw new InvalidOperationException ("You cannot add external peers to a private torrent");
}

public Task<bool> AddPeersAsync (IEnumerable<Peer> peers)
    => AddPeersAsync (peers, false);

internal async Task<bool> AddPeersAsync (IEnumerable<Peer> peers, bool fromTrackers)
{
    // same checks as above...
}

Then the tracker would call: await AddPeersAsync (e.Peers, true);.
I should be able to do that, add a test, and verify nothing else has gone wrong in this area later on today if you're still blocked by this.

Thanks for the suggestion, I will try to tinker around a bit and see if i can make my little set up working.

I applied your fix and it seems to have no issues. I also created a pull request with fix applied #119


isabelle: fix darwin build

It looks like the check for whether to include procps was backwards. I removed the duplicate Java dependency as well while I was at it.
I moved procps into propagatedBuildInputs, since it's needed to check the number of cores every time Isabelle is run, and as such is needed to build any packages that depend on Isabelle (tlaps). Would patching Isabelle to use the absolute path be preferable?
I'm not sure whether or not this will build successfully in Hydra: it fails to build once I turn on the sandbox (I believe due to trying to access /tmp/isabelle-), but so does Isabelle 2023, and that built fine in Hydra.

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

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

@ofborg build isabelle

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 348092

x86_64-linux

:white_check_mark: 3 packages built:

isabelle
isabelle-components.isabelle-linter
tlaps

aarch64-linux

:white_check_mark: 3 packages built:

isabelle
isabelle-components.isabelle-linter
tlaps

x86_64-darwin

:x: 3 packages failed to build:

isabelle
isabelle-components.isabelle-linter
tlaps

aarch64-darwin

:x: 3 packages failed to build:

isabelle
isabelle-components.isabelle-linter
tlaps

nixpkgs-review result

Are you building with the sandbox enabled? I'm already aware that this fails with it on (as does the polyml dependency).
I also figured out why it still builds in Hydra anyway: if #29087 is up-to-date, Hydra simply doesn't have sandboxing enabled on Darwin in the first place. Maybe CONTRIBUTING.md should be updated to clarify that it's only enabled on Linux? That's what made me think it was enabled on Darwin too.

nixpkgs-review result

Are you building with the sandbox enabled? I'm already aware that this fails with it on (as does the polyml dependency).
I also figured out why it still builds in Hydra anyway: if #29087 is up-to-date, Hydra simply doesn't have sandboxing enabled on Darwin in the first place. Maybe CONTRIBUTING.md should be updated to clarify that it's only enabled on Linux? That's what made me think it was enabled on Darwin too.

No, I don't use sandbox on darwin.

No, I don't use sandbox on darwin.

Oh, my bad: I didn't realise that nixpkgs-review would rebase the PR on top of master, and I can reproduce the failure if I rebase it on top of a commit from the date you ran nixpkgs-review.
I think this was breaking due to #349555, which I've now pushed a fix for; do you want to try it again?

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 348092

x86_64-darwin

:white_check_mark: 3 packages built:

isabelle
isabelle-components.isabelle-linter
tlaps

aarch64-darwin

:white_check_mark: 3 packages built:

isabelle
isabelle-components.isabelle-linter
tlaps


Add dictionary unions (| and |=)

Closes #14

I submitted a Java implementation, including test cases, as https://github.com/bazelbuild/bazel/pull/14540.

cc @brandjon @adonovan

Can we undo this change before it is too late?

syntax contradicts meaning of a union: result is not a union of two dicts if keys intersect
python does not support it, but support {**dict1, **dict2} which is unambiguous

Can we undo this change before it is too late?

syntax contradicts meaning of a union: result is not a union of two dicts if keys intersect
python does not support it, but support {**dict1, **dict2} which is unambiguous

This operator, with the same name and semantics, has been part of Python since PEP-584, which also has an extensive section weighing the pros and cons. I am also not fully happy with the name "union", given that dictionaries are naturally maps of sets rather than sets, but Python provides the precedent.

the name "union"

If it is called “or” (which is another form of union) it is equally inconsistent.

has been part of Python since PEP-584

TIL. I would not do it, but if Python has done it, it is OK.
Thank you for the explanation!

This feature is very useful for combining select()-ed pieces of a dictionary with unconditional ones.


@cloudflare/pages-plugin-graphql fails with an internal error occurred

Relates to #12
Steps to Reproduce
https://github.com/remarkablemark/cloudflare-functions-demo
I copied and pasted the Cloudflare's official doc on GraphQL Pages Plugin
Expected
No Cloudflare Pages build failure.
Actual
Build failure:
2023-03-12T23:37:48.346296Z	Cloning repository...
2023-03-12T23:37:49.177812Z	From https://github.com/remarkablemark/cloudflare-functions-demo
2023-03-12T23:37:49.178437Z	 * branch            8df362a48bb341219070f8e6f083eb7bd2e27ae7 -> FETCH_HEAD
2023-03-12T23:37:49.17868Z
2023-03-12T23:37:49.220667Z	HEAD is now at 8df362a feat(functions): add graphql
2023-03-12T23:37:49.221262Z
2023-03-12T23:37:49.372136Z
2023-03-12T23:37:49.404629Z	Success: Finished cloning repository files
2023-03-12T23:37:50.080897Z	Installing dependencies
2023-03-12T23:37:50.092025Z	Python version set to 2.7
2023-03-12T23:37:52.09027Z	Attempting node version '16' from .nvmrc
2023-03-12T23:37:53.556349Z	Downloading and installing node v16.19.1...
2023-03-12T23:37:53.985716Z	Downloading https://nodejs.org/dist/v16.19.1/node-v16.19.1-linux-x64.tar.xz...
2023-03-12T23:37:54.446482Z	Computing checksum with sha256sum
2023-03-12T23:37:54.578234Z	Checksums matched!
2023-03-12T23:37:59.077338Z	Now using node v16.19.1 (npm v8.19.3)
2023-03-12T23:37:59.514748Z	Started restoring cached build plugins
2023-03-12T23:37:59.529242Z	Finished restoring cached build plugins
2023-03-12T23:38:00.035109Z	Attempting ruby version 2.7.1, read from environment
2023-03-12T23:38:03.797687Z	Using ruby version 2.7.1
2023-03-12T23:38:04.171332Z	Using PHP version 5.6
2023-03-12T23:38:04.343956Z	5.2 is already installed.
2023-03-12T23:38:04.373226Z	Using Swift version 5.2
2023-03-12T23:38:04.374033Z	Started restoring cached node modules
2023-03-12T23:38:04.391976Z	Finished restoring cached node modules
2023-03-12T23:38:04.947063Z	Installing NPM modules using NPM version 8.19.3
2023-03-12T23:38:05.389871Z	npm WARN config tmp This setting is no longer used.  npm stores temporary files in a special
2023-03-12T23:38:05.390385Z	npm WARN config location in the cache, and they are managed by
2023-03-12T23:38:05.39057Z	npm WARN config     [`cacache`](http://npm.im/cacache).
2023-03-12T23:38:05.813524Z	npm WARN config tmp This setting is no longer used.  npm stores temporary files in a special
2023-03-12T23:38:05.814055Z	npm WARN config location in the cache, and they are managed by
2023-03-12T23:38:05.814272Z	npm WARN config     [`cacache`](http://npm.im/cacache).
2023-03-12T23:38:07.211455Z
2023-03-12T23:38:07.212089Z	added 4 packages, and audited 5 packages in 1s
2023-03-12T23:38:07.212326Z
2023-03-12T23:38:07.21247Z	found 0 vulnerabilities
2023-03-12T23:38:07.22347Z	NPM modules installed
2023-03-12T23:38:07.803083Z	npm WARN config tmp This setting is no longer used.  npm stores temporary files in a special
2023-03-12T23:38:07.803442Z	npm WARN config location in the cache, and they are managed by
2023-03-12T23:38:07.803638Z	npm WARN config     [`cacache`](http://npm.im/cacache).
2023-03-12T23:38:07.823143Z	Installing Hugo 0.54.0
2023-03-12T23:38:08.667354Z	Hugo Static Site Generator v0.54.0-B1A82C61A/extended linux/amd64 BuildDate: 2019-02-01T10:04:38Z
2023-03-12T23:38:08.671785Z	Started restoring cached go cache
2023-03-12T23:38:08.693349Z	Finished restoring cached go cache
2023-03-12T23:38:08.84449Z	go version go1.14.4 linux/amd64
2023-03-12T23:38:08.859244Z	go version go1.14.4 linux/amd64
2023-03-12T23:38:08.862244Z	Installing missing commands
2023-03-12T23:38:08.862565Z	Verify run directory
2023-03-12T23:38:08.862789Z	Executing user command: npm install
2023-03-12T23:38:09.358137Z	npm WARN config tmp This setting is no longer used.  npm stores temporary files in a special
2023-03-12T23:38:09.35848Z	npm WARN config location in the cache, and they are managed by
2023-03-12T23:38:09.358655Z	npm WARN config     [`cacache`](http://npm.im/cacache).
2023-03-12T23:38:09.653146Z
2023-03-12T23:38:09.65347Z	up to date, audited 5 packages in 326ms
2023-03-12T23:38:09.654337Z
2023-03-12T23:38:09.654622Z	found 0 vulnerabilities
2023-03-12T23:38:09.665543Z	Finished
2023-03-12T23:38:09.666307Z	Found Functions directory at /functions. Uploading.
2023-03-12T23:38:10.409124Z	✨ Compiled Worker successfully
2023-03-12T23:38:10.441211Z	Validating asset output directory
2023-03-12T23:38:11.337595Z	Failed: an internal error occurred

This is my build config:

Any chances to get this fixed?

The issue is related to #32
Deployment does not fail if this line is removed https://github.com/cloudflare/pages-plugins/blob/c9bdd1e8a10ad276958c399111a1e5293574af4f/packages/graphql/functions/index.ts#L39


[Issue] [Autogather] Botanist not gathering until manually clicking window

Issue where when botanist it will get stuck attempting to gather until I manually click the item (sometimes this will not start auto gather either), have not had issue while mining.

Forgot to add this issue doesn't seem to occur with crystals/clusters etc


Warn if there were unused parameters

In the (I hope) unlikely case that someone is using the parameters incorrectly and some parameters were not used, it would be nice to show a warning with the unused parameters:
$ ./vcf_validator -i a.vcf -r summary, text
[warn] unused parameters: "text"

could we also add one more check in check_options warning user if he provides multiple levels in single go,
for example:
$ ./vcf_validator -l error,stop,warning -i input.vcf

well, in the case of several levels, it shows [error] Please choose one of the accepted validation levels and aborts, so I think it's fine.


allow viewBox to be animated via paper.animate

issue #192

Merged manually, since it’s not targeting dev, but master.


[WIP] Don't belongs_to :parent_manager in base manager classes

The base NetworkManager / StorageManager class shouldn't belong to a parent_manager as this makes it significantly more difficult to have standalone managers of those types.

Is it possible to remove the delegation to parent managers in general?

As long as we have a "parent" cloud_manager which holds the credentials and one-to-many "child" managers we'll at least need to delegate all of the connection methods to the parent manager (or duplicate the creds across the child managers and keep in sync which seems worse).

When dealing with screens, it is tricky to have a relationship that is defined in a subclass.

I misspoke.
Delegating connection and keeping credentials works great.
It is the delegations that are used to search, order, or display something on the screen that would be nice to avoid.
best scenario is for all classes to act the same for all parents and children.  E.g.: all of them have zone_id, or the same relationship defined.
If we have screens that only target infra, then putting infra only associations there is good too. But we run into problems when we search on the parent providers and those overwritten attributes/relationships are used.
These one off managers that have a special way to determine information that is a different way from others will cause the screens to behave in peculiar ways. And happen to not perform as well.
thanks for all the help getting rid of these delegates and duplicating values from parent managers to child managers.

@agrare I think merged the PRs that made sure the zones/ems and others are propagated from parent to child managers.
So have we already solved this PR?
Or have we done all the work and just need to merge this?
Or is there probably stuff outstanding and we have higher priorities?


Smart Auto-sync records to API server on change to overcome local concurrency

REST API's (and JSONAPI in particular!) are not very friendly towards concurrency, and AR.js' asynchronous implementation and direction potentially invites that to happen a lot. In our application, we save a record every time it's changed, and it's a big nuisance to keep track of record states all the time (in our case meaning it's downright impossible).
I think this management should be part of AR.js. @nicklandgrebe and I have previously talked about auto-aggregating changes throughout concurrent .save() calls so that every resource can only be updated once at a time per session, but this is very difficult to implement as it requires a centralized resource repository.
This issue is a request for an alternative solution that is both easier to build and probably easier to use for developers.
Auto Patch
Instead, we could have every change to a resource to be persisted immediately.
person = await Person.first();
person.autoPatch = true

# Initiates PATCH [name: 'John']
person.name = 'John'

# Does not initiate anything until previous PATCH is done, after which it will patch again.
person.lastName = 'Doe'
person.age = '34'

For web-based products, maybe a debouncer is handy:
person = await Person.first();
person.autoPatch(500) # Debounce 500 msec after the last change

I imagine that it incidentally can do this on a greater scale too:
Person.autoPatch().first(3) # Will enable autoPatch on all results

Immutable
Obviously, one would expect this to work flawlessly on immutable resource records too.
Supporting immutable is a bit more tricky. I think though AR.js can automatically propagate the current autoPatch behavior to subsequent records, so in order to keep track of different instances of the same resource, a bit more of a centralized approach may be necessary, but I imagine Dirty Tracking already does something similar.

Maybe this can help: https://www.npmjs.com/package/axios-observable


⚠ St. Lawrence Global Observatory CKAN Sitemap has degraded performance

In d765f94, St. Lawrence Global Observatory CKAN Sitemap (https://catalogue.ogsl.ca/sitemap/sitemap-1.xml) experienced degraded performance:

HTTP code: 200
Response time: 12004 ms

Resolved: St. Lawrence Global Observatory CKAN Sitemap performance has improved in 8f88c04 after 9 minutes.


[BEAM-13857] Add K:V flags for expansion service jars and addresses to Go ITs.

Adds functionality for running jars to the Go integration test framework, and uses this functionality to implement handling of K:V flags for providing expansion service jars and addresses to the test framework. This means that tests can simply get the address of an expansion service with the appropriate label, and this feature will handle running a jar if necessary, or just using the passed in endpoint otherwise.

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

[x] Choose reviewer(s) and mention them in a comment (R: @username).
[x] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[x] If this contribution is large, please file an Apache Individual Contributor License Agreement.

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

See CI.md for more information about GitHub Actions CI.

R: @lostluck @riteshghorse @jrmccluskey
This seems like it would be good to be reviewed by anyone who's likely to implement an integration test sometime soon.

New test is failing. It looks like sorting before comparing is the right move probably...
17:36:51 --- FAIL: TestExpansionServices_GetAddr_Jars (9.00s)
17:36:51     expansions_test.go:126: processes in ExpansionServices does not match jars that should be running: diff(-want,+got):
17:36:51           []string{
17:36:51         - 	"jarFilepath2",
17:36:51           	"jarFilepath3",
17:36:51           	"jarFilepath1",
17:36:51         + 	"jarFilepath2",
17:36:51           }
17:36:51 FAIL

Good change Daniel! Except @lostluck's suggestion rest looks good.

Portable PreCommit isn't thrilled about this either, but this time it's a flag issue:
> Task :sdks:go:test:ulrValidatesRunner
Feb 19, 2022 1:38:42 AM org.apache.beam.sdk.expansion.service.ExpansionService loadRegisteredTransforms
INFO: Registering external transforms: [beam:transforms:xlang:test:cgbk, beam:transforms:xlang:test:flatten, beam:transforms:xlang:test:prefix, beam:transforms:xlang:test:multi, beam:transforms:xlang:test:gbk, beam:transforms:xlang:test:comgl, beam:transforms:xlang:test:compk, beam:transforms:xlang:count, beam:transforms:xlang:filter_less_than_eq, beam:transforms:xlang:test:partition, beam:transforms:xlang:test:parquet_write, beam:transforms:xlang:parquet_read, beam:transforms:xlang:textio_read, beam:external:java:generate_sequence:v1]
INFO:apache_beam.runners.portability.local_job_service:Grpc server started at localhost on port 56391
INFO:__main__:Listening for beam jobs on port 56391.
go1.16.12: already downloaded in /home/jenkins/sdk/go1.16.12
System Go installation: /snap/bin/go is go version go1.16.13 linux/amd64; Preparing to use /home/jenkins/go/bin/go1.16.12
go1.16.12: already downloaded in /home/jenkins/sdk/go1.16.12
/home/jenkins/go/bin/go1.16.12 test -v ./test/integration/... ./test/regression -p 3 -timeout 2h --runner=portable --project=apache-beam-testing --region=us-central1 --environment_type=DOCKER --environment_config=apache/beam_go_sdk:dev --staging_location=gs://temp-storage-for-end-to-end-tests/staging-validatesrunner-test --temp_location=gs://temp-storage-for-end-to-end-tests/temp-validatesrunner-test --dataflow_worker_jar= --endpoint=localhost:56391 --test_expansion_addr=localhost:33671
flag provided but not defined: -project


Rule 932260 false positive with "scheduledAt" keyword

Description
Our web application needs to sort events, we have different sorts and one of them is against a scheduledAt field.
How to reproduce the misbehavior
curl https://sandbox.coreruleset.org/events?sortBy=scheduledAt

Your Environment

CRS version (e.g., v3.3.4): default from sandbox
Paranoia level setting (e.g. PL1) : PL1
ModSecurity version (e.g., 2.9.6): default from sandbox
Web Server and version or cloud provider / CDN (e.g., Apache httpd 2.4.54): default from sandbox
Operating System and version: default from sandbox

Confirmation
[X] I have removed any personal data (email addresses, IP addresses,
passwords, domain names) from any logs posted.
Blocked by #3276

Hi @thibauds!
Thanks for your report. First, could you clarify your description? I mean you wrote:

CRS version (e.g., v3.3.4): default from sandbox

but it seems that Sandbox uses 4.0.0 without any argument (I checked your command above).
    "error_messages": [
      "[file \"apache2_util.c\"] [line 271] [level 3] [client <IP_ADDRESS>] ModSecurity: Warning. Match of \"rx [0-9]\\\\\\\\\\\\\\\\s*\\\\\\\\\\\\\\\\'\\\\\\\\\\\\\\\\s*[0-9]\" against \"MATCHED_VAR\" required. [file \"/etc/modsecurity.d/owasp-crs/rules/REQUEST-932-APPLICATION-ATTACK-RCE.conf\"] [line \"472\"] [id \"932260\"] [msg \"Remote Command Execution: Direct Unix Command Execution\"] [data \"Matched Data: sched found within MATCHED_VAR: scheduledAt\"] [severity \"CRITICAL\"] [ver \"OWASP_CRS/4.0.0-rc1\"] [tag \"modsecurity\"] [tag \"application-multi\"] [tag \"language-shell\"] [tag \"platform-unix\"] [tag \"attack-rce\"] [tag \"paranoia-level/1\"] [tag \"OWASP_CRS\"] [tag \"capec/1000/152/248/88\"] [tag \"PCI/6.5.2\"] [hostname \"localhost\"] [uri \"/events\"] [unique_id \"ZO8ScQS8FF8G3PGJJ9tHHQAAAIE\"]",
      "[file \"apache2_util.c\"] [line 271] [level 3] [client <IP_ADDRESS>] ModSecurity: Warning. Operator GE matched 5 at TX:blocking_inbound_anomaly_score. [file \"/etc/modsecurity.d/owasp-crs/rules/REQUEST-949-BLOCKING-EVALUATION.conf\"] [line \"186\"] [id \"949110\"] [msg \"Inbound Anomaly Score Exceeded (Total Score: 5)\"] [ver \"OWASP_CRS/4.0.0-rc1\"] [tag \"modsecurity\"] [tag \"anomaly-evaluation\"] [hostname \"localhost\"] [uri \"/events\"] [unique_id \"ZO8ScQS8FF8G3PGJJ9tHHQAAAIE\"]",
      "[file \"apache2_util.c\"] [line 271] [level 3] [client <IP_ADDRESS>] ModSecurity: Warning. Unconditional match in SecAction. [file \"/etc/modsecurity.d/owasp-crs/rules/RESPONSE-980-CORRELATION.conf\"] [line \"96\"] [id \"980170\"] [msg \"Anomaly Scores: (Inbound Scores: blocking=5, detection=5, per_pl=5-0-0-0, threshold=5) - (Outbound Scores: blocking=0, detection=0, per_pl=0-0-0-0, threshold=4) - (SQLI=0, XSS=0, RFI=0, LFI=0, RCE=5, PHPI=0, HTTP=0, SESS=0, COMBINED_SCORE=5)\"] [ver \"OWASP_CRS/4.0.0-rc1\"] [tag \"modsecurity\"] [tag \"reporting\"] [hostname \"localhost\"] [uri \"/events\"] [unique_id \"ZO8ScQS8FF8G3PGJJ9tHHQAAAIE\"]"
    ],

If you want to see only the triggered rules, you should use this command:
curl -H "x-format-output: txt-matched-rules" https://sandbox.coreruleset.org/events?sortBy=scheduledAt

This gives less details:
932260 PL1 Remote Command Execution: Direct Unix Command Execution
949110 PL1 Inbound Anomaly Score Exceeded (Total Score: 5)
980170 PL1 Anomaly Scores: (Inbound Scores: blocking=5, detection=5, per_pl=5-0-0-0, threshold=5) - (Outbound Scores: blocking=0, detection=0, per_pl=0-0-0-0, threshold=4) - (SQLI=0, XSS=0, RFI=0, LFI=0, RCE=5, PHPI=0, HTTP=0, SESS=0, COMBINED_SCORE=5)

The triggered rule is 932260, which exists only in 4.0, but not in 3.3.
As you can see in the rule's comment, the regexp was generated by crs-toolchain and the rule's regex file. This file includes several files, eg. unix-shell-4andup-with-params.ra, which contains the sched pattern. This is the cause.
We can check whether this is really a false positive or whether it is at this PL (PL1), but I'm afraid the solution now is that you make an exclusion against this rule (or against the rule and the affected target).
Let me know if I can help you that.

@airween I am sorry for the confusion about the version and my expectations.
Let me clarify:

You are right the version is 4.0.0.
I was not looking for a solution, I just wanted to raise attention (I was reading this blog post which recommends to report false positive on a PL 1 system). I am not knowledgeable enough to decide if this rule is acceptable or not, you can close this issue if you think that it is.

Thanks for your help and your great work.

It appears that several plain English words are caught at PL 1 by rule 932260, including
bash
curl
shell
strings
unzip
I can understand how a judgement call might be made to live with FPs on bash, curl, and shell, as those seem like obvious targets. But strings and unzip I'm less sure about.

As discussed in the meeting, any PR for this issue should wait until #3276 has been merged.

The idea is to solve this by adding English words in the command list (generated) to the "FP" list used by the rule.

Note to self: waiting on #3276. Check again on Monday.

We're getting there with #3276.

#3276.
See also #3189, which should fix the issue for user agents.

@theseion So is this issue dependent on / blocked by #3189? Do I need to also wait for that to be completed?

No, it’s not dependent. I just pointed it out because it’s related.
--
Sent from Canary (https://canarymail.io)

On Thursday, Sep 21, 2023 at 10:48 AM, Andrew Howe @.*** @.***)> wrote:
@theseion (https://github.com/theseion) So is this issue dependent on / blocked by #3189 (https://github.com/coreruleset/coreruleset/issues/3189)? Do I need to also wait for that to be completed?
—
Reply to this email directly, view it on GitHub (https://github.com/coreruleset/coreruleset/issues/3288#issuecomment-1729130874), or unsubscribe (https://github.com/notifications/unsubscribe-auth/AAB5GV5BJAOCZHHUVY45EUDX3P5ORANCNFSM6AAAAAA4EC5FXU).
You are receiving this because you were mentioned.Message ID: @.***>

'eval' and 'sched' now added to the Unix rules PL 1 exclusion/FP list.
Fixed in #3320.


Ubuntu repo broken

Issue Type: Bug
Err:9 https://packages.microsoft.com/repos/vscode stable/main amd64 Packages
File has unexpected size (156214 != 156065). Mirror sync in progress? [IP: <IP_ADDRESS> 443]
Hashes of expected file:

Filesize:156065 [weak]
SHA512:12e6dffcd247d1ff067acfa61a3c4eb6078c326c2858feb4f6f141a1d809e22292a78282414a5c103038ea80bb63cd734c7516782c9809c341335083d4e7611b
SHA256:c850f35f1979831ac75641978c397e51519fa22313598ec12bde5f52277044c0
SHA1:1f65f4a7388c22bcf7b7f30fb7bc337c60d94b2e [weak]
MD5Sum:4153a12e4a5629bfb14ed98f4c8ac234 [weak]
Release file created at: Thu, 12 Dec 2019 19:59:19 +0000

VS Code version: Code 1.41.0 (9579eda04fdb3a9bba2750f15193e5fafe16b959, 2019-12-11T18:32:17.711Z)
OS version: Linux x64 4.15.0-72-generic

System Info

Item
Value

CPUs
AMD A8-7410 APU with AMD Radeon R5 Graphics (4 x 1803)

GPU Status
2d_canvas: unavailable_softwareflash_3d: disabled_softwareflash_stage3d: disabled_softwareflash_stage3d_baseline: disabled_softwaregpu_compositing: disabled_softwaremetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: disabled_offrasterization: disabled_softwareskia_renderer: disabled_offsurface_control: disabled_offsurface_synchronization: enabled_onvideo_decode: disabled_softwareviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_offwebgl: unavailable_softwarewebgl2: unavailable_software

Load (avg)
3, 1, 1

Memory (System)
3.29GB (1.78GB free)

Process Argv
--no-sandbox --unity-launch

Screen Reader
no

VM
0%

Extensions (2)

Extension
Author (truncated)
Version

python
ms-
2019.11.50794

Go
ms-
0.11.9

Ubuntu 16.04, Linux 4.13.0-36-generic also comes across the similar problem, even after uninstall then reinstall using the downloaded deb:
"sudo apt update" shows:

Err:15 http://packages.microsoft.com/repos/vscode stable/main amd64 Packages
Writing more data than expected (1066720 > 1065578)
Fetched 3,959 B in 6s (608 B/s)
Reading package lists... Done
E: Failed to fetch http://packages.microsoft.com/repos/vscode/dists/stable/main/binary-amd64/Packages  Writing more data than expected (1066720 > 1065578)
E: Some index files failed to download. They have been ignored, or old ones used instead.

I've same problem that @CompassHXM and @ginanjarn  mentions.
I think the key is mismatched and it should be fixed.

/duplicate of #86858


feat: support modular imports from mambu-sdk

Current dependencies on/for this PR:

main

PR #18   👈

This comment was auto-generated by Graphite.


User recent GHC versions in CI config

Hello @aisamanra
I'd like to get this package compiling with GHC 9.4.2.
Currently it's not possible due to too-restrictive bound on text dependency.
To get some confidence that it compiles with the latest GHC version I added tested-with field in the cabal file and regenerated github actions CI config using haskell-ci tool (and removed the previous hand-written ci config from the repo).
Could you please check the changes and merge if you don't see any issue?

Awesome :smile: Thank you for publishing the new version on hackage :1st_place_medal:


Transparent viewmodel when holding the block scanner.

When holding the block scanner in your primary, or off hand, your viewmodel will become transparent, and experience
lighting issues.

looks like a cool potential cosmetic effect


[Feature]: add if tag for conditions

What kind of feature do you want?
Add tag if for showing task by specific conditions defined in scripts.
Draft example
First, you need to set path to directory where you will be store condition scripts.
For example Conditions in the root of vault.
You can write script tuesday.js to show task only on tuesdays.
// Conditions/tuesday.js
const date = new Date();
const dayOfWeek = date.toLocaleString("en-US", { weekday: "long" });

function showOnTuesday() {
  if (dayOfWeek === "Tuesday") {
    return true;
  }

  return false;
}

export default showOnTuesday

Remark: Your function must return boolean value.
And then you can use your condition:
- [ ] do a very important task #if/tuesday

And then if task is not done, it will appear in UI on every tuesday.
You can define different logic like show task on location, weather, time, device conditions etc.
It's all about your imagination and JavaScript API capabilities.
Impact
Impact for users
Pros:

Users can define their personal wanted conditions
Users don't need to wait on new functionality for task conditions

Cons:

Risk of using not verified scripts (How to avoid: write your own scripts or use verified ones)
Learning JavaScript for creating scripts (How to avoid: developers need to create list for verified scripts for common usage)

Impact for development
Pros:

Delegate part of work on plugin to users personal scripts
Decrease unnecessary code growing

Cons:

Increases risk of bugs because of new functionality (How to avoid: cover new functionality by tests)

Additional questions

[X] I want to work on this feature request

Also I have a plan to add params to conditions.
#if/script-name/parameter ->
#if/range/monday-tuesday ->
range(params) { magic code, params is 'monday-tuesday' } ->
return true from monday to tuesday, others are false


What's the input context length for the benchmark results?

With longer input length, the prefill phase latency would be higher, could you share the model input token count when obtaining the results in this post?
https://pytorch.org/blog/accelerating-generative-ai-2/?utm_content=273712248&utm_medium=social&utm_source=twitter&hss_channel=tw-776585502606721024

Low, maybe 5 tokens?

I see, it would be nice to benchmark on larger context length as the first token latency can increase significantly.


Change the power control of bmh

What this PR does / why we need it:
don't control bmh power state if it goes to provisioned state
provisioned was completed, we should be able to power off the node on a case-by-case.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #

/ok-to-test

/test-centos-e2e-integration-main
/test-ubuntu-integration-main

provisioned was completed, we should be able to power off the node on a case-by-case.

Thanks for the PR @shibaPuppy. Maybe I missing the use case here, but regardless of the host state, we should not power down the node. Can you elaborate more on your use-case?

provisioned was completed, we should be able to power off the node on a case-by-case.

Thanks for the PR @shibaPuppy. Maybe I missing the use case here, but regardless of the host state, we should not power down the node. Can you elaborate more on your use-case?

@furkatgofurov7
We are using libvirt node with CAPM3.
I think it should be possible to force power off the vm to proceed with the evacuation due to memory issues.
Similarly, I thought that the PM HW issue should be able to be forcibly turned off.

I think it should be possible to force power off the vm to proceed with the evacuation due to memory issues.

that could be taken care by features, like remediation IMO and not forcing the controller to power down the node

that could be taken care by features, like remediation IMO rather than forcing the controller to power down the node

In some cases, after turning off the power, the node where the OS is installed is moved to an isolated rack for inspection.
I haven't used machine-health-check yet.
the kubelet may have issues, but the libvirt vm may not.
may not be able to proceed with reinstalling the OS.

/reopen

As far as I can see there were no decision on this PR and @shibaPuppy is still active so I have reopened this.
/cc @dtantsur @kashifest @zaneb @elfosardo @hroyrh @hardys    let's expand the scope of reviewers a a bit.

I agree that we should not be continuously forcing the power control to be on, which it appears we are currently doing because setHostSpec() is called from Update(). We just need to make sure it is on at the time the host is provisioned.
I think I'd prefer to set it inside the same block that we are setting the image, rather than relying on the state, since that could be racy. But in practice I expect this is probably ok.
/cc @honza

@honza @zaneb @Rozzii
really want this feature :sob:

/assign @kashifest

I think I'd prefer to set it inside the same block that we are setting the image, rather than relying on the state, since that could be racy. But in practice I expect this is probably ok.
/cc @honza

This also makes sense to me. @honza opinions?

Looking into this a bit more deeply...
I looked at our fork of the original CAPBM (from the pre-CAPM3 times), and the provisionHost() function (equivalent of setHostSpec() here) also sets Online to true unconditionally. That's OK though, because it is only called from Create(), so it only happens when the Machine is in the Provisioning phase.
What really changed in CAPM3 is that 31d394f1ab4323c74d11ccbe559dc46d6287533e started calling setHostSpec() not only from Associate() but also from Update(). Presumably this means it now gets called all the time no matter what phase the Machine is in. Since the purpose of this patch was to set the owner reference on the BMH, which we've already agreed (in #1358) is wrong, maybe we should revert that whole patch.

/remove-lifecycle stale

/hold
I am holding this based on @zaneb 's reply https://github.com/metal3-io/cluster-api-provider-metal3/pull/1008#issuecomment-1891113489 , could we discuss this @shibaPuppy ?

@Rozzii @zaneb
I am not sure about my opinion as I lack a deep understanding of the CAPM3.
I think the power on function of baremetal nodes through a call to provisionHost() is essential, but I don't think there is a need to force the state in metal3machine when it is in provisioned state.

I think I'd prefer to set it inside the same block that we are setting the image, rather than relying on the state, since that could be racy. But in practice I expect this is probably ok.

Does the image block match that line?
https://github.com/metal3-io/cluster-api-provider-metal3/pull/1008/files#diff-cd2cdab0bdcc6b6e359db724b479ca86f879705fbfbcdddba7dbc876941e89bbR1121-L1151
@kashifest @zaneb @Rozzii

@Rozzii @zaneb I am not sure about my opinion as I lack a deep understanding of the CAPM3.
I think the power on function of baremetal nodes through a call to provisionHost() is essential, but I don't think there is a need to force the state in metal3machine when it is in provisioned state.

Yes, correct. It should do it once and leave it.
I think we should stop calling setHostSpec() from Update(), which would have the same effect by reducing complexity instead of adding to it.
We should also stop setting the owner reference, because we agreed in #1358 that that's a bug.
A straight revert of https://github.com/metal3-io/cluster-api-provider-metal3/commit/31d394f1ab4323c74d11ccbe559dc46d6287533e would achieve both.

/retitle 🐛 Remove m3m ownerRef from bmh

@Rozzii @zaneb
owerRef commit was not reverted, so I wrote a commit to remove it.

Do we need to keep DeleteOwnerRef for the time being? I'm thinking of an upgrade scenario where someone already has hosts with OwnerReferences that now are going to stick forever.

We agreed to close this in favor of https://github.com/metal3-io/cluster-api-provider-metal3/pull/1742#issuecomment-2160751565 since this PR was opened initially with different purpose and removing ownerreference is dealt on the other one


replaceText() on STR in a cell

Hello, i try this lib and it found! :)
but i have this problem: a STR into a table cell in a docx
I launch a script but lib never replace text into cell (as if it did not find the text to be replaced if the text is inside the cell)
Any info about it?

Hello NeDetto! Let me try to help you here.
Can you provide some example of a file with such cell and code that you are using?

Hello and thank you very much for answering.
I checked the problem and found that it does not depend on the table cells.
In practice, when I write the name of a variable in the document, if I use
the copy-paste function, the variable is written "bad" and the script does
not recognize it.
That is :)
Watch the example here
[image: error_example.png]
Il giorno mar 4 set 2018 alle ore 09:15 Igor Rebega <
<EMAIL_ADDRESS>ha scritto:

Hello NeDetto! Let me try to help you here.
Can you provide some example of a file with such cell and code that you
are using?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/igorrebega/docx-replacer/issues/3#issuecomment-418265352,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALBf-CNzEA27xSxkzFwY8aA4dhYsc4dHks5uXiiLgaJpZM4WXv7M
.

@NeDetto I can`t see the image from GitHub.

I'm sorry.
This is the img link
https://ibb.co/nmpXEe
Il giorno mar 4 set 2018 alle ore 10:26 Igor Rebega <
<EMAIL_ADDRESS>ha scritto:

@NeDetto https://github.com/NeDetto I can`t see the image from GitHub.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/igorrebega/docx-replacer/issues/3#issuecomment-418284127,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALBf-FUe24NBUPJn0fBerD-hzWNcMbQkks5uXjk7gaJpZM4WXv7M
.

Okay, I see the problem, docx format is very strange so we cant be 100% sure that such problems wont happen, maybe you can try to write your custom script to remove redundant characters?
If no - please provide me an example of such document and I will try to check this on weekend.

You can find i file here:
https://ufile.io/1ktjn
for now i havn't time to try this mod sory :-/
If i modify your code i send you a message :)
Have a good day :)
Yuri_
Il giorno mar 4 set 2018 alle ore 12:32 Igor Rebega <
<EMAIL_ADDRESS>ha scritto:

Okay, I see the problem, docx format is very strange so we cant be 100%
sure that such problems wont happen, maybe you can try to write your
custom script to remove redundant characters?
If no - please provide me an example of such document and I will try to
check this on weekend.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/igorrebega/docx-replacer/issues/3#issuecomment-418319279,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALBf-Ii_Il-SsYLbysbzBWanXku03ixVks5uXlbagaJpZM4WXv7M
.


snapshots cannot open snapshot-launch_arguments.txt

New Issue Checklist

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

🐞 Issue Description
When running bundle exec fastlane ios screenshots the following can be observed in the console:
2017-03-31 17:29:14.396 XCTRunner[80950:258525] CFURLCopyResourcePropertyForKey failed because it was passed an URL which has no scheme
Couldn't detect/set launch_arguments due to Error Domain=NSCocoaErrorDomain Code=256 "The file “snapshot-launch_arguments.txt” couldn’t be opened." UserInfo={NSURL=~/Library/Caches/tools.fastlane/snapshot-launch_arguments.txt}

Note that the error is only visible if SnapshotHelper.swift:setLaunchArguments() (L88) is:
print("Couldn't detect/set launch_arguments due to \(error)")

🚑 Possible Workaround
SnapshotHelper.swift:pathPrefix() (L148)
homeDir = URL(fileURLWithPath: homeDirUrl.absoluteString)

Environment
Please run fastlane env and copy the output below. This will help us help you :+1:
If you used --capture_output option please remove this block - as it is already included there.
🚫 fastlane environment 🚫
Stack

Key
Value

OS
10.12.4

Ruby
2.0.0

Bundler?
true

Git
git version 2.12.2

Installation Source
~/Work/REDACTED/vendor/bundle/ruby/2.0.0/bin/fastlane

Host
Mac OS X 10.12.4 (16E195)

Ruby Lib Dir
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib

OpenSSL Version
OpenSSL 0.9.8zc 19 Mar 2015

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
8.3

System Locale

Error

No Locale with UTF8 found 🚫

fastlane files:
`./fastlane/Fastfile`
# Customise this file, documentation can be found here:
# https://github.com/fastlane/fastlane/tree/master/fastlane/docs
# All available actions: https://docs.fastlane.tools/actions
# can also be listed using the `fastlane actions` command

# Change the syntax highlighting to Ruby
# All lines starting with a # are ignored when running `fastlane`

# If you want to automatically update fastlane if a new version is available:
# update_fastlane

# This is the minimum version number required.
# Update this, if you use features of a newer version
fastlane_version "2.7.0"

default_platform :ios

platform :ios do
  before_all do
    # ENV["SLACK_URL"] = "https://hooks.slack.com/services/..."
  end

  desc "Create new screenshots to verify the Link iOS flow"
  desc "Additionally, this will add device frames around the screenshots"
  lane :screenshots do
    snapshot
    frameit(white: true, path: './screenshots')
  end

 #desc "Runs all the tests"
 #lane :test do
 #  scan
 #end

 #desc "Submit a new Beta Build to Apple TestFlight"
 #desc "This will also make sure the profile is up to date"
 #lane :beta do
 #  # match(type: "appstore") # more information: https://codesigning.guide
 #  gym # Build your app - more options available
 #  pilot

 #  # sh "your_script.sh"
 #  # You can also use other beta testing services here (run `fastlane actions`)
 #end

 #desc "Deploy a new version to the App Store"
 #lane :release do
 #  # match(type: "appstore")
 #  # snapshot
 #  gym # Build your app - more options available
 #  deliver(force: true)
 #  # frameit
 #end

  # You can define as many lanes as you want

  after_all do |lane|
    # This block is called, only if the executed lane was successful
    # slack(
    #   message: "Successfully deployed new App Update."
    # )
  end

  error do |lane, exception|
    # slack(
    #   message: exception.message,
    #   success: false
    # )
  end
end

# More information about multiple platforms in fastlane: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Platforms.md
# All available actions: https://docs.fastlane.tools/actions

# fastlane reports which actions are used
# No personal data is recorded. Learn more at https://github.com/fastlane/enhancer

`./fastlane/Appfile`
app_identifier "REDACTED" # The bundle identifier of your app
apple_id "REDACTED" # Your Apple email address

team_id "[[DEV_PORTAL_TEAM_ID]]"  # Developer Portal Team ID

# you can even provide different app identifiers, Apple IDs and team names per lane:
# More information: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Appfile.md

fastlane gems

Gem
Version
Update-Status

fastlane
2.24.0
💥 Check failed

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

bundler
1.14.6

CFPropertyList
2.3.5

i18n
0.8.1

minitest
5.10.1

thread_safe
0.3.6

tzinfo
1.2.3

activesupport
4.2.8

public_suffix
2.0.5

addressable
2.5.1

babosa
1.0.2

claide
1.0.1

colored
1.2

highline
1.7.8

commander-fastlane
4.4.4

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20170223

dotenv
2.2.0

excon
0.55.0

multipart-post
2.0.0

faraday
0.11.0

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

faraday_middleware
<IP_ADDRESS>

fastimage
2.1.0

gh_inspector
1.0.3

jwt
1.5.6

little-plugger
1.1.4

multi_json
1.12.1

logging
2.2.0

memoist
0.15.0

os
0.9.6

signet
0.7.3

googleauth
0.5.1

httpclient
2.8.3

hurley
0.2

mime-types-data
3.2016.0521

mime-types
3.1

uber
0.0.15

representable
2.3.0

retriable
2.1.0

google-api-client
0.9.28

json
2.0.3

mini_magick
4.5.1

multi_xml
0.6.0

plist
3.2.0

rubyzip
1.2.1

security
0.1.3

slack-notifier
1.5.1

terminal-notifier
1.7.1

unicode-display_width
1.1.3

terminal-table
1.7.3

tty-screen
0.5.0

word_wrap
1.0.0

nanaimo
0.2.3

xcodeproj
1.4.2

rouge
1.11.1

xcpretty
0.2.4

xcpretty-travis-formatter
0.0.4

generated on: 2017-03-31

Is https://github.com/fastlane/fastlane/pull/8755 related to this issue?

@asfalcone Thanks for making the connection. Yes, it appears that this issue and #8755 are related.

I have a pr for this issue: https://github.com/fastlane/fastlane/pull/8791

This issue is now resolved with the most recent release, right?


Setup for Python 2.7 fails

I can't get JPype 0.7.2+ installed in Python 2.7. Is Python 2.7 still supported?
Building thunks
  including thunk build/lib/org/jpype/classloader/JPypeClassLoader.class
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/tmp/pip-install-ayWnsX/JPype1/setup.py", line 52, in <module>
    use_scm_version = True,
  File "/home/me/Sources/jaydebeapi/.tox/py27-driver-hsqldb-newjpype/local/lib/python2.7/site-packages/setuptools/__init__.py", line 145, in setup
    return distutils.core.setup(**attrs)
  File "/usr/lib/python2.7/distutils/core.py", line 151, in setup
    dist.run_commands()
  File "/usr/lib/python2.7/distutils/dist.py", line 953, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "/home/me/Sources/jaydebeapi/.tox/py27-driver-hsqldb-newjpype/local/lib/python2.7/site-packages/setuptools/command/install.py", line 61, in run
    return orig.install.run(self)
  File "/usr/lib/python2.7/distutils/command/install.py", line 601, in run
    self.run_command('build')
  File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
    self.distribution.run_command(command)
  File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "/usr/lib/python2.7/distutils/command/build.py", line 128, in run
    self.run_command(cmd_name)
  File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
    self.distribution.run_command(command)
  File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "/home/me/Sources/jaydebeapi/.tox/py27-driver-hsqldb-newjpype/local/lib/python2.7/site-packages/setuptools/command/build_ext.py", line 84, in run
    _build_ext.run(self)
  File "/usr/lib/python2.7/distutils/command/build_ext.py", line 339, in run
    self.build_extensions()
  File "setupext/build_ext.py", line 73, in build_extensions
    self.run_command("build_thunk")
  File "/usr/lib/python2.7/distutils/cmd.py", line 326, in run_command
    self.distribution.run_command(command)
  File "/usr/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "setupext/build_thunk.py", line 153, in run
    namespace="JPThunk")
  File "setupext/build_thunk.py", line 103, in createThunks
    outputClass(filename, name, fimpl)
  File "setupext/build_thunk.py", line 53, in outputClass
    output(fout, l)
  File "setupext/build_thunk.py", line 36, in output
    buffer.frombytes(l)
AttributeError: 'array.array' object has no attribute 'frombytes'

https://github.com/jpype-project/jpype/blob/57fd1afb00b40a7addb2e068b5536724a6c9f509/setupext/build_thunk.py#L35
According to https://stackoverflow.com/a/52330049/1960601 for Python 2 the fromstring method can be used...

Sorry.  After 0.7.1 no further support for Python 2.7 was possible.   The object model of JPype is very tied to the internals of Python and it was literally a 10-100 times slower to try to support the Python 2 model thus we dropped support for 2.7 at end of service life.   Once 2.7 reached end of service life we could finally move all of the support mechanisms to the Python 3 object model and remove all exposed private variables.


Bug: Fields in detail window get cut off if too long

The screenshot below shows a long note, but the same happens if email and address are too long.
Possible solution: Make the area next to the QR code scrollable

Has already been added as part of #193


Added support for utf-8 and quoted printable

Added support for utf-8 encoding and quoted printable characters on plaintext emails
Is the pull request based off the lastest version?
Yes
What features have you added?
Added support for utf-8 and quoted printable characters
What bugs did you fix?
Wrong characters read
Is your code valid PSR-2?
Yes
Have you properly documented your code?
Yes
Has anything in your pull request already been fixed?
No
Anything else?
Optional things below
[X] Added your name to the credits

Thanks! Much appreciated!


cuquantum v22.11.0

Checklist

[ ] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

cc: @DmitryLyakh for vis

It seems Travis CI still keeps failing (it's known very flaky, which was why I disabled it in the past...) Let's see if #20 would fix it.

I wonder why the bot does not send a version-update PR... need to check, don't merge too quickly.

I checked the bot log: https://github.com/regro/autotick-bot/actions/runs/3587636859/jobs/6038203664 it seems the heuristics for guessing the next version needs to be relaxed. 22.07 -> 22.11 is a wide span that the bot failed to guess. No big issue here otherwise.

Proof:
>>> from conda_forge_tick import update_sources
>>> nv = update_sources.NVIDIA()
>>> nv.next_ver_func('cuquantum', '22.03.0')
'<IP_ADDRESS>'
>>> nv.next_ver_func('cuquantum', '22.07.0')
'<IP_ADDRESS>'
>>> nv.next_ver_func('cuquantum', '22.07.1')  # <- found nothing
>>>


Add a service install script for non-russia

Describe your feature / Опишите ваше предложение
Here is the script:
@ECHO OFF
PUSHD "%~dp0"
set _arch=x86
IF "%PROCESSOR_ARCHITECTURE%"=="AMD64" (set _arch=x86_64)
IF DEFINED PROCESSOR_ARCHITEW6432 (set _arch=x86_64)

echo This script should be run with administrator privileges.
echo Right click - run as administrator.
echo Press any key if you're running it as administrator.
pause
sc stop "GoodbyeDPI"
sc delete "GoodbyeDPI"
sc create "GoodbyeDPI" binPath= "\"%CD%\%_arch%\goodbyedpi.exe\" -5" start= "auto"
sc description "GoodbyeDPI" "Passive Deep Packet Inspection blocker and Active DPI circumvention utility"
sc start "GoodbyeDPI"

POPD
echo done
pause

(Slightly modified russia script)
Please add it to the repo

.cmd files are not part of the software, but they indeed need some improvements.


I've marked with a ✅, all those that I created or where the change to instance appeared straightforward.
To help you keep track of things, there's a column for each of you in the table, if you'd like to use it.
Feel free to push changes to this branch.

As of 1c4c569, I have:

tested all Cientos playground demos
tested all Cientos docs pages for errors

I have not tested anything outside of the Cientos package, including Labs.

I created an issue for the contact shadow https://github.com/Tresjs/cientos/issues/401.
The case of the enviroment component is weird it doesn't return the texture but if I logged it appears. Anyways we can solve them later. The rest of the components I think doesn't apply for this "migration"
If you agree we can merge now to the v4

@JaimeTorrealba , sounds good.
@alvarosabu , do you want to have a look before we merge?


How can I decrypt the jsc file and render its content using nodejs express?

i'm trying to do something like this:
app.get('/content', (req, res) => {
  try {
    // Execute the bytecode file
    const result = bytenode.runBytecodeFile('./public/js/main.jsc');

    // Send the content to the client
    res.send(`<html><body><pre>${result}</pre></body></html>`);
  } catch (error) {
    console.error('Error executing .jsc file:', error);
    res.status(500).send('Internal Server Error');
  }
});

but it's not showing javascript content. How can I pass to a ejs file to load javascript content from jsc file?

You should use require function, not runBytecodeFile.

You should use require function, not runBytecodeFile.

Can you please give me an example?

你应该使用 require 函数，不 runBytecodeFile. 您应该使用 require 函数，而不是 runBytecodeFile 。

你能给我举个例子吗？

I think it should be something like adding require('bytenode') at the top instead of using bytenode.runBytecodeFile. Perhaps the author's V8 bytecode has a specific custom format and isn't strictly adhering to the V8 bytecode standard? I'm not entirely certain about this.
Moreover, as far as I know, V8 bytecode cannot be decompiled back into JavaScript code. Its AST has already been discarded, leaving only the bytecode. Additionally, some parts of the bytecode are JIT-compiled (hotspot code) at runtime, which makes things even worse. It is almost impossible to rely on the bytecode to restore the original JavaScript code.


Git link for Ambari project is broken on Ambari project website

What changes were proposed in this pull request?
Update URLs that still reference the old Git repo at git-wip-us to point to gitbox.
How was this patch tested?
cd docs
mvn site
open target/index.html

Verified External Links > Git link (top right corner).

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/675/
Test FAILed.
Test FAILured.


downloading rootfs freezes

There is no network activity for around 10 minutes on "alwsl (info): Downloading alwsl rootfs (this might take a while)..." stage.
Even with administrator privileges.

Cannot reproduce from multiple locations.

Sniffed with wireshark and last session, that I got is so:
GET /ubuntu/pool/main/l/lzo2/liblzo2-2_2.06-1.2ubuntu1.1_amd64.deb HTTP/1.1
Host: archive.ubuntu.com
User-Agent: Debian APT-HTTP/1.3 (1.0.1ubuntu2)

Please recheck, I would like to provide any info

Try downloading the file manually.

I just used WSL Distribution Switcher with built-in docker hub pull


Bootstrap's sass is not working with new r2.0.0-next.66cc7a90 (with opt-in sass)

Is this a bug report?
Doubt it, but it might be interesting to know, due to the fact that bootstrap is recommended in the README, and bootstrap itself recommends using sass for its full potential
Relates to #3815
Environment

node -v: 8.9.1
yarn --version (if you use Yarn): 1.6.0
npm ls react-scripts (if you haven’t ejected): r2.0.0-next.66cc7a90
Operating system: debian sid amd64

Steps to Reproduce

npx create-react-app myapp --scripts-version<EMAIL_ADDRESS>rename index.css to index.scss
update index.js to point to index.scss
yarn add bootstrap
open index.scss and add at the bottom @import "~bootstrap/scss/bootstrap.scss";
yarn && yarn start

Expected Behavior
No error is shown.
Actual Behavior
This error appears:
./src/index.scss
Module build failed:
module.exports = require('./lib/node-progress');
^
      Invalid CSS after "m": expected 1 selector or at-rule, was "module.exports = re"
      in bla/bla/bla/node_modules/progress/index.js (line 1, column 1)

More info
According to bootstrap:

For Bootstrap to compile, make sure you install and use the required loaders: sass-loader, postcss-loader with Autoprefixer

I think those loaders are missing, does anyone know if there's an easy way to add them without ejecting?
I hope to be helpful,
Thanks to everyone!

Same here.
node 8.9.1
npm 6.0.0
react-scripts 2.0.0-next.66cc7a90
osx 10.13.4

I'm getting the same error. Deleting @import progress from node_modules/bootstrap/scss/bootstrap.scss fixed the problem. The file being imported is javascript, but I think is being read as CSS.
Thanks for supporting sass and looking forward to a fix!

I think this is related to https://github.com/webpack-contrib/sass-loader/issues/556
For me it happenend when I had a npm package with the same name as a sass file I was trying to import from node_modules.

AFAIK<EMAIL_ADDRESS>solves this problem.

Does someone want to submit a PR to update sass-loader? It would be nice to add a test for this case as well.

I merged the PR updating sass-loader to 7.0.1 but I'll leave this issue open for the time being.

Could the fixed alpha version be deployed to npm?

add  ``import 'bootstrap/dist/js/bootstrap.bundle.min';  to your route index.js

This is working in v2 beta. We don't use the options linked in above issue -- not sure this is worth keeping open unless someone can formulate a better proposal on what we need to keep an eye out for or do.


Collecting metrics cause error logs

I am getting log flooded by
WARNING: 2020/04/04 11:26:10 grpc: Server.Serve failed to create ServerTransport:  connection error: desc = "transport: http2Server.HandleStreams received bogus greeting from client: \"GET /metrics HTTP/1.1\\r\\nH\""
WARNING: 2020/04/04 11:27:10 grpc: Server.Serve failed to create ServerTransport:  connection error: desc = "transport: http2Server.HandleStreams received bogus greeting from client: \"GET /metrics HTTP/1.1\\r\\nH\"

If prometheus scrapping is on.
Any advice?

@korjavin Are these from the operator or one of the Jaeger components? Can you provide the first part of the log (i.e. from start up) - and also information about how you install/configure your prometheus?

It's from jaeger-collector
and it's because prometheus trying to collect metrics from it

Can you provide the first part of the jaeger-collector's log please.
Do you use the jaeger operator to deploy the jaeger instance? If so, can you attach your CR.
What version of Jaeger operator/collector are you using?
How do you deploy and configure your prometheus server?


Error "Layered Texture is currently unsupported" during converting

Hi!
I have a trouble during converting fbx to vrx model.
Model: model_no_light.fbx.zip
Dem-iMac:viro_converter dem$ ./ViroFBX ./model_no_light.fbx ./model_no_light.vrx
2018-04-12 10:33:37.013 ViroFBX[742:23615] "Loading file [./model_no_light.fbx]"
2018-04-12 10:33:50.439 ViroFBX[742:23615] "Import successful"
2018-04-12 10:34:00.479 ViroFBX[742:23615] "   Original up axis 2, sign 1"
2018-04-12 10:34:00.479 ViroFBX[742:23615] "   Original forward axis 2, sign 1"
2018-04-12 10:34:00.479 ViroFBX[742:23615] "   Coordinate system 0"
2018-04-12 10:34:00.479 ViroFBX[742:23615] "Triangulating scene..."
2018-04-12 10:34:01.141 ViroFBX[742:23615] "Exporting FBX..."
2018-04-12 10:34:01.152 ViroFBX[742:23615] "Exporting skeleton"
2018-04-12 10:34:01.152 ViroFBX[742:23615] "Exporting node [Pilow_3_1], type [mesh]"
2018-04-12 10:34:01.152 ViroFBX[742:23615] "   Exporting geometry"
2018-04-12 10:34:01.798 ViroFBX[742:23615] "      UV set name UVW"
2018-04-12 10:34:01.798 ViroFBX[742:23615] "      Polygon count 203575"
2018-04-12 10:34:02.247 ViroFBX[742:23615] "      Num vertices 610725, stride 48"
2018-04-12 10:34:02.247 ViroFBX[742:23615] "      VAR size 29314800"
2018-04-12 10:34:02.247 ViroFBX[742:23615] "   Exporting materials"
2018-04-12 10:34:02.247 ViroFBX[742:23615] "      Num materials 1"
2018-04-12 10:34:02.282 ViroFBX[742:23615] "      Primitive count for material 0: 203575"
2018-04-12 10:34:02.282 ViroFBX[742:23615] "      Phong material"
2018-04-12 10:34:02.282 ViroFBX[742:23615] "         Opacity set to 1.000000"
2018-04-12 10:34:02.282 ViroFBX[742:23615] "[******************************** ABORT ]\n"
2018-04-12 10:34:02.282 ViroFBX[742:23615] "        File: /Users/radvani/Source/ViroFBX/ViroFBX/VROFBXExporter.cpp\n"
2018-04-12 10:34:02.282 ViroFBX[742:23615] "        Line: 1497\n"
2018-04-12 10:34:02.282 ViroFBX[742:23615] "    Function: exportMaterial\n"
2018-04-12 10:34:02.282 ViroFBX[742:23615] "      Reason: Layered Texture is currently unsupported"
2018-04-12 10:34:02.282 ViroFBX[742:23615] "[***************************************]"

We do not supported "layered" texture format. But you can fix this in a 3D editor. All you need to do is re-assign materials (for instance a new phong regular material w/ your texture assigned to diffuse to your models) and re-export them.

Hi, @dam00n. Ok.. I asked our designer to fix models. But maybe you cand answer on my qusetion.. Do you plain to support the "layered" texture format in the future?


require tensorflow 0.11.0rc1 instead of 0.11.0rc2

I think we can leave it at 11.0rc2. The only problem is with the docker image, and I was able to rely on the 11.0rc1 docker image, and then let our pip package end up installing 11.0rc2. So I think it all works out.
Hopefully the Bazel problem gets fixed soon.

Ah ok, will close.


Formulae UI

Add support for computed variables in the Cicero UI.
Contact @Michael-Grover with your email address to get access to the clickable prototype on invision
https://projects.invisionapp.com/d/main#/console/16741009/406893195/preview

https://projects.invisionapp.com/d/main#/console/16741009/406893195/preview

https://projects.invisionapp.com/d/main#/console/16741009/406893196/preview

https://projects.invisionapp.com/d/main#/console/16741009/406893194/preview

https://projects.invisionapp.com/d/main#/console/16741009/406893193/preview

https://projects.invisionapp.com/d/main#/console/16741009/406893192/preview

@Michael-Grover 👍 Let's call those "Formulas" from now on?

@Michael-Grover is this what you'd have in mind with the new variable UI?

yeah that looks good


[BUG] Touch events not passed through on iOS

Description
When having a SKCanvasView in front of a button the touch events don't reach the button on iOS even if EnableTouchEvents is set to false. Same when setting EnableTouchEvents to true and setting Handeled property of TouchEventArgs to false.
On Andorid everything works as expected.
Code
Case 0:
<forms:SKCanvasView EnableTouchEvents="false" HorizontalOptions="FillAndExpand" VerticalOptions="FillAndExpand" PaintSurface="Handle_PaintSurface" />
Case 1:
<forms:SKCanvasView EnableTouchEvents="true" HorizontalOptions="FillAndExpand" VerticalOptions="FillAndExpand" Touch="SKCanvasView_OnTouch" PaintSurface="Handle_PaintSurface" />
private async void SKCanvasView_OnTouch(object sender, SKTouchEventArgs e)         {             e.Handled = false;         }
Expected Behavior
When setting EnableTouchEvents to false touch gets passed through to underlying elements. Same when handling touch events and setting handled to false for TouchEventArgs. Just like it works on Android.
Actual Behavior
See description.
Basic Information

Version with issue:  1.68.0
Last known good version:  none
IDE:  Visual Studio for Mac / Rider
Platform Target Frameworks: iOS, Android

iOS:  Tested: 12.2 & 11.3

Target Devices:   Tested: Simulator & iPhone 6s

Reproduction Link
See for demo application:
https://github.com/Alex-Witkowski/SkiaSharpTouchTest

Hello!
I am facing the same problem. Did you manage to work around it?
Thanks


Spanish translations

Hey there, I've finished updating the Spanish translations for the new and changed strings, so with this pull request it will be back to 100% translation.

@kbravh Thanks! :tada: I will merge this PR once CI passes.


Skip indexing layers with unrecognized compression

Issue #, if available:
Closes #591
Description of changes:
Replace fatal error on non-gzip compression type with simply skipping the layer.
Emit fatal error if all layers are skipped, including for pre-existing skip conditions which currently is mostly min-layer-size.
Testing performed:
Significant troubleshooting and some updates to existing tests.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Check failure is due to golangci-lint exhausting available memory and being killed, after upgrading to golang 1.20. I will re-implement my change not using 1.20 features and open a new issue to get the environment upgraded to use 1.20 successfully.


Add health probe reaction to stopped VM/VMSSS

Customer and internal feedback that it is reasonable to expect health probe status to be impacted by stopping a VM or VMSS, i.e. if I stop 1 of 3 VMs in my backend pool my average health status will be 66.67.
This is not the case and correct behavior has been explicitly called out in this PR.

@erichrt : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off

@erichrt: I'm sorry - only the author of this article, @asudbring, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.

I'm sorry @asudbring I made a PR to the public repo again. Fixing this now.


How to manage multiple view controller through navigation items?

I'm not sure the general pattern for selecting different items in navigation and may need some guides for that. I'm really excited with this framework.
By the way, how to change default background color for GuillotineMenuViewController?

Hi. To change background color of GuillotineMenuViewController you need to change color of navigationBar:
        let navBar = self.navigationController!.navigationBar
        navBar.barTintColor = UIColor(red: 65.0 / 255.0, green: 62.0 / 255.0, blue: 79.0 / 255.0, alpha: 1)

Hi,
your post title is "How to manage multiple view controller through navigation items?" but your question is about the menu background color. I try to integrate GuillotineMenu with différente viewController with keeping his beautiful animation, I have fallow readme instructions but it doesn't work, I have that error:
GuillotineMenuExample[3239:679815] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Could not find a segue class named 'GuillotineMenuSegue'

The new version of GuillotineMenu (2.0.1) is available. Feel free to check it out!


What about Linux support ?

the window grabber seems only will works for Win OS.

there is a test project which won't be expanded to Linux in anyway.
Thanks.


Integrate Jenkins build status in github PR status

This was originally the goal of #9  but that ticket got a bit side-tracked by stuff that had to happen first.
Creating a new one specifically for getting the Jenkins build status integrated in github pull requests

we have this integration on repo's like https://github.com/Open-EO/openeo-python-driver and https://github.com/Open-EO/openeo-geopyspark-driver  but I don't know yet how that was done

@JeroenVerstraelen did you already figure out how the connection between VITO Jenkins and these "check" reports in github PR views work?

As discussed irl, we will have to create a new github account ourselves and ensure it can access our private repositories. Then we can switch the users in jenkins from my personal token to the new account.

As discussed irl, we will have to create a new github account ourselves and ensure it can access our private repositories. Then we can switch the users in jenkins from my personal token to the new account.

Who will create and maintain this new account? Is this project-specific or something multiple projects will make use of?

@JeroenVerstraelen can you give an update on the progress and let us know if there's hanging tasks for other people?

@kvantricht It's something we would like to use for all openEO related projects. @jdries Which vito email address can we use for this?

we would need to create a new vito email address for this I assume.

@jdries Did we already have a vito email address for this or is it best to make an ASSIST ticket at INF to create a new one?

best to create new mailing list via cvb, inf usually does shared mailboxes, which may be more difficult to track

@JeroenVerstraelen any updates on this one?

@HansVRP this one is hanging already for a long time. Could you follow up? It's an interesting one to have the Jenkins results coupled to Github. But it hasn't been a priority for anyone so far so it's stale for way too long.


api: generate c++ grpc stubs

Signed-off-by: Ben Plotnick<EMAIL_ADDRESS>Description: Generate c++ grpc stubs
This passes use_grpc_plugin to pgv_cc_proto_library, which enables c++ grpc stubs to be generated. There are some necessary binds that need to be done unfortunately. This would be easier if we could do load("@com_github_grpc_grpc//bazel:grpc_deps", "grpc_deps"), but you can't load within a macro. I'm not sure if there's a better way to do this.
Note that bazel targets depping the _cc targets will also have to add these binds. Generally, they can call grpc_deps() as I mentioned before. But perhaps this should go in api_dependencies instead so that users can use that?
Risk Level: Low
Testing: We've been using this internally for a little while now and it works.

@bplotnick can you merge master? There were flake fixes that went in.

So i forgot to run the api tests (doh) and i think this is going to need a bit more work. The problem is the one I alluded to in the description. Now @envoy_api directly depends on com_github_grpc_grpc. The idea I had of moving grpc into api_dependencies is not going to quite work because of the way we dep libssl and cares.

@bplotnick why can't you do the load in https://github.com/envoyproxy/envoy/blob/master/api/bazel/repositories.bzl and then make use of the grpc_deps in api_dependencies()?

@htuch, that seems to make the bazel.api tests pass, but i'm confused as to how this works. The com_github_grpc_grpc external dep shouldn't actually be present in the @envoy_api workspace, since it is added in the @envoy workspace. What would happen for direct users of data-plane-api? Would they need to manually add the com_github_grpc_grpc external dep into their workspace?
The reason I didn't go down this route is that i thought I would've had to add the external dep in the same macro as the load. When i tried doing this, I ran into the same problem detailed here: https://github.com/bazelbuild/bazel/issues/1550
My current approach that i'm trying (about to commit) is to move the _com_github_grpc_grpc() macro into the api and then do conditional loading for cares and libssl like is done in grpc_deps, but not use that function directly because (as mentioned above) i can't.
Btw, I'm still pretty new to Bazel, so please feel free to correct me if my terminology or understanding is wrong. Also, i'm happy to discuss this on Slack if you prefer that 😄

@htuch I had another go at this and managed to get it working with the strategy I laid out before (moving the grpc dependency stuff to api_dependencies).
I pulled cares out of prebuilt and now build it in bazel using the BUILD file that grpc provides. It was failing for -Wold-style-cast, so i put a bunch of pragmas in place where we use the preprocessor macros. It's pretty ugly (and made uglier by check_format dedenting the pragmas) and i'd like to do this a different way, but i'm not sure how yet.
I also bumped grpc to 0.13.1 to pick up a workaround for bazel build failures on mac for grpc (https://github.com/grpc/grpc/issues/13856). It required me to add -DGRPC_BAZEL_BUILD copt.
Lemme know what you think.

the downside is we lose some of the nice machinery for managing repository locations that @jmillikin-stripe setup there.

Can't we just move or copy the repository_locations stuff into api/bazel/? It's not a lot of code and isn't especially complex. As long as the Envoy folks want to keep the external dependency URLs declarative, I think it makes sense for the API build to match.

@jmillikin-stripe I don't want to expand the scope of this PR so i'll tackle copying the build logic to api/bazel in separate PR.
Do you happen to know a better solution for the -Wold-style-cast issues?

Yeah, that works. It's a bit ugly; we have inconsistent treatment of headers in include style. Can you add a TODO to fix this? Also, please at least add a TODO for porting the repository_locations.bzl infrastructure to bazel/api. Thanks.

@htuch I finally got back to this PR. I added one TODO for porting the repository_locations.bzl logic, and I went ahead and made the ares includes consistently be system includes.


Unhandled exception in TessApiSignaturesImplementation.BaseApiInit on Tesseract 4.1 , is it also on tesseract.dll 3.3.0

@charlesw
@peters
Any quick help is much appreciated
we get unahndled excpetion on "InteropRuntimeImplementer.TessApiSignaturesInstance.TessApiSignaturesImplementation.BaseApiInit" while instantiating tesseract engine
TesseractEngine.Initialise
The stack trace looks similar to link
https://github.com/charlesw/tesseract/issues/497
Was this an issue with old version of tesseract also i.e.  tesseract.dll 3.3.0 and liblept1753
We want to go back to this old version for our legacy clients
If I understand correctly, the issue is environment specific and because of CPUs that don't support AVX. The only fix is to  use C++ Tesseract.dll compiled without optimizations
like C++ Tesseract.dll compiled without optimizations
https://github.com/charlesw/tesseract/pull/499
System.Runtime.InteropServices.SEHException: External component has thrown an exception.
   at InteropRuntimeImplementer.TessApiSignaturesInstance.TessApiSignaturesImplementation.BaseApiInit(HandleRef handle, String datapath, String language, Int32 mode, String[] configs, Int32 configs_size, String[] vars_vec, String[] vars_values, UIntPtr vars_vec_size, Boolean set_only_non_debug_params)
   at Tesseract.Interop.TessApi.BaseApiInit(HandleRef handle, String datapath, String language, Int32 mode, IEnumerable`1 configFiles, IDictionary`2 initialValues, Boolean setOnlyNonDebugParams)
   at Tesseract.TesseractEngine.Initialise(String datapath, String language, EngineMode engineMode, IEnumerable`1 configFiles, IDictionary`2 initialValues, Boolean setOnlyNonDebugVariables)
   at Tesseract.TesseractEngine..ctor(String datapath, String language)
   at FIS.Ambit.Optimist.Core.TesseractOCR.TesseractImageToTextConverter..ctor()
   at Optimist.Web.ModelCalculationService.Program.<>c.<Main>b__3_15(IComponentContext c)
   at Autofac.Builder.RegistrationBuilder.<>c__DisplayClass0_0`1.<ForDelegate>b__0(IComponentContext c, IEnumerable`1 p)
   at Autofac.Core.Activators.Delegate.DelegateActivator.ActivateInstance(IComponentContext context, IEnumerable`1 parameters)
   at Autofac.Core.Resolving.InstanceLookup.CreateInstance(IEnumerable`1 parameters)
   --- End of inner exception stack trace ---
   at Autofac.Core.Resolving.InstanceLookup.CreateInstance(IEnumerable`1 parameters)
   at Autofac.Core.Resolving.InstanceLookup.Execute()
   at Autofac.Core.Resolving.ResolveOperation.GetOrCreateInstance(ISharingLifetimeScope currentOperationScope, ResolveRequest request)
   at Autofac.Core.Resolving.ResolveOperation.Execute(ResolveRequest request)
   at Autofac.ResolutionExtensions.TryResolveService(IComponentContext context, Service service, IEnumerable`1 parameters, Object& instance)
   at Autofac.ResolutionExtensions.ResolveOptionalService(IComponentContext context, Service service, IEnumerable`1 parameters)
   at Microsoft.Extensions.DependencyInjection.ActivatorUtilities.GetService(IServiceProvider sp, Type type, Type requiredBy, Boolean isDefaultParameterRequired)
   at lambda_method(Closure , IServiceProvider , Object[] )
   at Microsoft.AspNetCore.Mvc.Controllers.ControllerFactoryProvider.<>c__DisplayClass5_0.<CreateControllerFactory>g__CreateController|0(ControllerContext controllerContext)
   at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Internal.ControllerActionInvoker.InvokeInnerFilterAsync()
   at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeNextResourceFilter()
   at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Rethrow(ResourceExecutedContext context)
   at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeFilterPipelineAsync()
   at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeAsync()
   at Microsoft.AspNetCore.Builder.RouterMiddleware.Invoke(HttpContext httpContext)
   at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware.Invoke(HttpContext context)
   at NetEscapades.AspNetCore.SecurityHeaders.SecurityHeadersMiddleware.Invoke(HttpContext context) in C:\projects\netescapades-aspnetcore-securityheaders\src\NetEscapades.AspNetCore.SecurityHeaders\SecurityHeadersMiddleware.cs:line 68
   at Microsoft.AspNetCore.Builder.Extensions.MapMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Server.IISIntegration.IISMiddleware.Invoke(HttpContext httpContext)
   at Microsoft.AspNetCore.Builder.Extensions.UsePathBaseMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ProcessRequests[TContext](IHttpApplication`1 application)

@charlesw  could you please revert if the exception comes on tesseract 3.3.0?
it is a production issue for our clients that are on windows server 2008 ( old machines) and we are unable to reproduce it on any of our environments

Sorry I'm not 100% sure what your asking.
From reading your issue it sounds like you're attempting to upgrade to the
latest version the library however it's not working in prod. If so in this
case I would be rolling back the change until you can resolve it. However
that's very much in your court.
As for the exception you mentioned initialization errors are normally due
to not having the correct version of VS runtime installed and that's what
I'd check first. Version 4.1 (latest nuget release) is compiled with AVX
and other instruction sets turned off so that shouldn't be the issue.
Hope that helps.
On Fri, 13 Aug 2021, 15:47 Vani Kulkarni, @.***> wrote:

@charlesw https://github.com/charlesw could you please revert if the
exception comes on tesseract 3.3.0?
it is a production issue for our clients that are on windows server 2008 (
old machines) and we are unable to reproduce it on any of our environments
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/charlesw/tesseract/issues/568#issuecomment-898206870,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAB7HSD4IWFL75OVJHSZJUTT4SWYRANCNFSM5CBKB5OQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email
.

Sorry I'm not 100% sure what your asking. From reading your issue it sounds like you're attempting to upgrade to the latest version the library however it's not working in prod. If so in this case I would be rolling back the change until you can resolve it. However that's very much in your court. As for the exception you mentioned initialization errors are normally due to not having the correct version of VS runtime installed and that's what I'd check first. Version 4.1 (latest nuget release) is compiled with AVX and other instruction sets turned off so that shouldn't be the issue. Hope that helps.
…
On Fri, 13 Aug 2021, 15:47 Vani Kulkarni, @.***> wrote: @charlesw https://github.com/charlesw could you please revert if the exception comes on tesseract 3.3.0? it is a production issue for our clients that are on windows server 2008 ( old machines) and we are unable to reproduce it on any of our environments — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub <#568 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAB7HSD4IWFL75OVJHSZJUTT4SWYRANCNFSM5CBKB5OQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .

This definitely helps @charlesw
We are using tesseract 4.1 latest nuget pkg in .net core 2.1 on windows server 2008 ( old machine but has AVX processors)
We have confirmed that the VC++ redistributable package 2015-2019 latest version is installed on the machine
Still we get the issue frequently
Surprisingly we see form our product log that sometimes OCR runs as expected
Looking at the stack trace , do you think of any other option to check?
PS: we are running tesseract OCR for the first time for our client

If it's an intermediate issue then that screams a threading issue to me. Tesseract isn't threadsafe and a single instance can't be used concurrently. I noticed from your stack trace that your using autofac so I'd be checking your container configuration.

If it's an intermediate issue then that screams a threading issue to me. Tesseract isn't threadsafe and a single instance can't be used concurrently. I noticed from your stack trace that your using autofac so I'd be checking your container configuration.

@charlesw  as per release notes for tesseract 3.1
Tesseract is now thread-safe (multiple instances can be used in parallel in multiple threads.)
we are using it in our load testing with 8 concurrent users and have not seen any problem with that.
however, in this particular scenario, we checked the container settings, it is creating 1 new instance of TesseractEngnine per web API call and using it to do OCR sequentially one image at a time.
Hence threading wont be an issue here, what do you think?
Or it this something that has to do with windows server 2008 OS ?

Your correct in that multiple separate instances of tesseract can be used
concurrently. I had a closer look at the library loading code and there may
be an issue if multiple instances are created concurrently in that library
initialization code isn't protected by a lock. However it's probably not
likely. It also doesn't really match the behaviour you've described.
Given that you've stated it has worked occasionally i don't think its a vs
runtime problem or AVX instruction problem as I would expect that to fail
every time. So I'm a little stumped 🙁
I'll have a closer look at the potential library loading issue when I have
more time. However doubt that it'd help here.
On Mon, 16 Aug 2021, 15:56 Vani Kulkarni, @.***> wrote:

If it's an intermediate issue then that screams a threading issue to me.
Tesseract isn't threadsafe and a single instance can't be used
concurrently. I noticed from your stack trace that your using autofac so
I'd be checking your container configuration.
@charlesw https://github.com/charlesw as per release notes for
tesseract 3.1
Tesseract is now thread-safe (multiple instances can be used in parallel
in multiple threads.)
we are using it in our load testing with 8 concurrent users and have not
seen any problem with that.
however, in this particular scenario, we checked the container settings,
it is creating 1 new instance of TesseractEngnine per web API call and
using it to do OCR sequentially one image at a time.
Hence threading wont be an issue here, what do you think?
Or it this something that has to do with windows server 2008 OS ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/charlesw/tesseract/issues/568#issuecomment-899243318,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAB7HSHYVKMXKTLPIUPWGTTT5CSCRANCNFSM5CBKB5OQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email
.


Move doc file install to takora.docs file

Signed-off-by: Travis Rhoden<EMAIL_ADDRESS>

Refer to this link for build results (access rights to CI server needed):
http://jenkins.ceph.com//job/takora-pull-requests/6/
Test PASSed.

...I concur.


Implement WMTS GetFeatureInfo

Implement GetFeatureInfo functionality on ol.source.WMTS to access information from WMTS layers, similarly to what has been done for ol.source.TileWMS and ol.source.ImageWMS.

Want to back this issue? Place a bounty on it! We accept bounties via Bountysource.

I have built on this by adding REST encoding functionality along with populating this from the WMTS capabilities in #3150. Please have a look at this if you're interested.

Any follow up on this topic ? :)


chore: update golang version

Since go has released 1.21, moving the build window from [1.19, "1.20"] to ["1.20", "1.21"].

Codecov Report

Merging #162 (2d1b9bd) into main (0c1ec3b) will not change coverage.
The diff coverage is n/a.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the GitHub App Integration for your organization. Read more.
@@           Coverage Diff           @@
##             main     #162   +/-   ##
=======================================
  Coverage   89.13%   89.13%
=======================================
  Files          21       21
  Lines        1693     1693
=======================================
  Hits         1509     1509
  Misses        149      149
  Partials       35       35

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


missioncontrol: add invalid onion blinding handling for blinded paths

This PR updates mission control to handle InvalidOnionBlinding errors, fixes #7882.
Key ideas in this PR (h/t @bitromortac for digging into edge cases):

Blinded errors should only every originate from an introduction node.
We should not penalize the introduction node, as it is responsible for reporting on behalf of the blinded route.
We should minimize the number of ephemeral blinded keys that we store in mission control, as they're single use (also the case with bolt 11 hop hints).

Key for images:

Yellow = node sending InvalidOnionBlinding
Pink = node penalized
Green = node success

Regular Blinded Paths

Misuse of Error Code

Final Hop
Final Hop Case:

Updated handling of blinded errors after the introduction node to a higher level in the decision tree (before we decide to handle intermediate / final). I think that this makes sense because it's a new "class" or error type we need to handle, but also happy to move it into the individual process functions if that's more readable.

@ziggie1984: review reminder

@ziggie1984: review reminder

@ziggie1984: review reminder

@ziggie1984: review reminder

Latest push just a rebase!

EDIT: Maybe it makes sense to create an issue that specifies that the error handling will need to get updated when we are capable of forwarding/failing blinded path payments ?

Def, can you create this (given current context) @carlaKC?

Opened #8363 with write up, @ziggie1984  / @bitromortac please give it a peep to make sure I've covered everything properly!