Build fails due to duplicate resource error

When attempting to build the docs I'm currently getting the error below.
npx antora --stacktrace --log-format=pretty --log-level=info \
        playbook-local.yml \
        2>&1 | tee tmp/local-build.log 2>&1
[16:32:06.162] FATAL (antora): Duplicate attachment: latest@shared::attachment$rancher-psact.yaml
    1: /home/btat/rancher-product-docs/shared/modules/ROOT/attachments/rancher-psact.yaml in /home/btat/rancher-product-docs (branch: main <worktree> | start path: shared)
    2: shared/modules/ROOT/attachments/rancher-psact.yaml in /home/btat/rancher-product-docs/.git (branch: v2.10.1 <remotes/origin> | start path: shared)
    Cause: Error
        at ContentCatalog.addFile (/home/btat/rancher-product-docs/node_modules/@antora/content-classifier/lib/content-catalog.js:153:17)
        at /home/btat/rancher-product-docs/node_modules/@antora/content-classifier/lib/classify-content.js:41:87
        at Array.forEach (<anonymous>)
        at /home/btat/rancher-product-docs/node_modules/@antora/content-classifier/lib/classify-content.js:41:13
        at Map.forEach (<anonymous>)
        at GeneratorContext.classifyContent (/home/btat/rancher-product-docs/node_modules/@antora/content-classifier/lib/classify-content.js:36:6)
        at /home/btat/rancher-product-docs/node_modules/@antora/site-generator/lib/generate-site.js:26:38

The duplicate resource that it logs varies between runs. In our case it's either an attachment or partial since those are what we have in the /shared component, but it could be any of pages, partials, images, attachments, or examples. E.g.
[16:33:39.344] FATAL (antora): Duplicate partial: latest@shared::partial$en/cni-popularity.adoc

After investigating this seems related to our local playbook file not specifying a branch under the content source. As per the Antora docs, when the branches key is not specified

Antora will inherit the default branches filter, [HEAD, v{0..9}*]. That means Antora will use files from the current (for local) or default (for remote) branch (e.g., main) as well as any branch that begins with the letter v followed immediately by a number (e.g., v2.0.x). You can override this inherited value per content source by setting the branches key.

This has only become an issue recently since we created release branches for the December release cycle and these branches match the filter pattern. E.g. v2.8.11, v2.9.5, v2.10.1.
Initially we specified main in the branches field in this repo (and is still the case for other repos in our portfolio), but changes on feature branches could not be tested properly when set to main.


users read by email not working correctly

The function read_by_email is not working for the users. I have tested with various different emails that are correct by they all return;
PardotAPIError: Error #11: Invalid user email address

I have connected properly as I am able to access lists and send emails. But just this line of code always fails;
    def get_user_id(self):

        print(self.p.users.read_by_email("avalid@email.com"))

Sorry I didn't realise the prospects object is what I want. But I cannot get the prospect id from the user email


Implement back-end logic for DB update triggers

scores per round
winner per game
total score + total wins + total games per user


feat(feed): add publish new post function

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#45
#44
#43  👈
#42
#41
#40
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @xdjeremy and the rest of your teammates on  Graphite

di q binasa hehe


Captch control buttons defined through CSS

Example URL: https://www.google.com/recaptcha/api2/demo
The captcha controls such as  "Get a new challenge", "Get an audio challenge" and "Help" buttons (that becomes available on activating "I'm not a robot" checkbox) are defined through CSS. Because of that, these icons will not be visible in Internet Explorer browser on a Windows operating system for users browsing with their High Contrast mode turned on.
HTML:
<button class="rc-button goog-inline-block rc-button-reload" title="Get a new challenge" value="" id="recaptcha-reload-button" tabindex="0"></button>
CSS:
.rc-button-reload { background: url(https://www.gstatic.com/recaptcha/api2/refresh_2x.png); }
Suggestion:
Use CSS content property (with ::before and ::after pseudo-elements) or font: awesome icons to define the images to ensure that the image become visible when the Windows High Contrast Mode is turned on.
Alternatively, ensure all informative images must be implemented with the HTML  element and Provide empty alt attribute (alt="") in its source code as textual description is provided for the image.
<button class="rc-button goog-inline-block rc-button-reload" title="Get a new challenge" value="" id="recaptcha-reload-button" tabindex="0">
<img src="https://www.gstatic.com/recaptcha/api2/refresh_2x.png" alt=""></button>

These all look like automated issues for the widget unrelated to the PHP client library in this repo.


Error when you try sending message on channel

/home/darkmen/Telegram-bot/node_modules/@yuva1422/telegram.js/src/structures/Message.js:93
this.member = this.chat.members.add(this.chat.id, { id: data.from.id, extras: [{ user: data.from }] });
^
TypeError: Cannot read properties of undefined (reading 'id')
at Message._patch (/home/darkmen/Telegram-bot/node_modules/@yuva1422/telegram.js/src/structures/Message.js:93:71)
at new Message (/home/darkmen/Telegram-bot/node_modules/@yuva1422/telegram.js/src/structures/Message.js:41:20)
at WorkerClient.onMessage (/home/darkmen/Telegram-bot/node_modules/@yuva1422/telegram.js/src/client/WorkerClient.js:39:21)
at WorkerClient.processUpdate (/home/darkmen/Telegram-bot/node_modules/@yuva1422/telegram.js/src/client/WorkerClient.js:27:12)
at /home/darkmen/Telegram-bot/node_modules/@yuva1422/telegram.js/src/client/PollingClient.js:50:30
at processTicksAndRejections (node:internal/process/task_queues:96:5)
[nodemon] app crashed - waiting for file changes before starting...

Please send reproducable code

To reproduce:

Fire up the "ping" sample.
Create a telegram channel (in my case it was a private channel, but I doubt it matters).
add the bot to the channel.  Allow it to receive messages.
send any message on the channel.

If you change line 93 to:
if(data.from !=null)
  this.member = this.chat.members.add(this.chat.id, { id: data.from.id, extras: [{ user: data.from }] });

Then channel messages work.
I think that channel messages are just from the channel, not from a user.


RAS-638 Investigate how "Ready for live" button works, when replacing sample file (track time)

What and why?
This PR adds the configuration and request needed to let collection exercise know when the sample is ready and loaded so that when a sample is loaded in response operations, and all other values are loaded, the Set Ready for live button appears.
How to test?

Deploy this PR to your environment

Must be deployed using helm because there are changes to the deployment which are not reflected when deploying through spinnaker
Update the values.yaml file for your environment (including the gcp values)
Must be deployed last

Deploy https://github.com/ONSdigital/rm-collection-exercise-service/pull/319 to your environment
Deploy https://github.com/ONSdigital/response-operations-ui/pull/888 to your environment
Set up a collection exercise in this order

Required event dates
A collection instrument
A sample file

Ensure the sample has loaded
There is no Refresh link at the top of the page
The Set ready for live button appears and the collection exercise

Jira
RAS-638

/deploy scorfs

/deploy harrisonj


Turn source linking back on for WinDBG style so we at least have one …

…mechanism that works (and shouldn't interfere with the build.)
This was from #2857 and reverted in #2945.
This particular step wasn't interfering with the build, it was the sourcelink NuGet package. I'd like to have at least one way of having source-linked-symbols so I'm turning this one back on for now.

nit: make sure commit title is shorter; like 50-72ch

nit: make sure commit title is shorter; like 50-72ch

sure ok


Network Error, Reason: could not detect network

General information

Description
Value

Project version
2.4.2

Operating system and version
MAC OS

NodeJS version
16.14.0

NPM version
8.3.1

Yarn version
1.22.19

Truffle version
5.5.30

Good Morning,
I was wondering if anyone could help. I have been following the videos and have got to the point of opening my whitelist. When i run the command yarn whitelist-open --network truffle I get back and error code of 'Network_ERROR' and reason 'could not detect the network'.
I am on the test network Rinkeby Test Network and my config is set to:-
testnet: Networks.ethereumTestnet,
mainnet: ethereumMainnet.
Hash lips minting-dapp server is showing me as current network: rinkeby and also displaying my correct wallet address so all seems good on that front but i have no idea why it cant seem to find the network when unpausing.
Does anyone have any ideas please as i am struggling with this one...
Many Thanks in advance.

Hi @Bickeringmonkey, thank you for reaching out.
This error seems to be related to Truffle. Are you sure it's correctly running on the background while you run the command? Truffle acts as a bridge between the CLI and your Metamask wallet in order to confirm any transaction, so it's impossible for the CLI to work without it.


Pass the HTTP 416 code back from the proxy

The HTTP 416 code is not an error but a legitimate response to an attempt to re-get a completely downloaded file.
The code to handle this HTTP code is structured in a way to allow more codes to be added if necessary.

Ping?

There hasn't been any response or commits for over a year here, while he has been active on many other projects. I just personally considered it abonnoned and forked it and updated it myself if you want to look at it.
https://github.com/patrickdk77/aws-s3-proxy'


RFC: Support for boolean variant aliases

Description

This PR is a proof of concept for a feature: I often find myself creating variants using a series of mutually exclusive boolean aliases for brevity and readability.
For example, in the case of a React component I'd much rather have: <Component primary /> than <Component intent="primary" />.
This feature would allow variants to function as such when prefixed with an underscore:
const example = cva({
  variants: {
    _intent: { primary: "class-a", secondary: "class-b" },
    size: { sm: "class-s", md: "class-m", lg: "class-l" },
  },
});

example({ _intent: "primary",  size: "md" });  // Outputs "class-a class-m"
example({ primary: true,  size: "md" });  // Also outputs "class-a class-m"

The mutually exclusive nature of the variants is enforced with typing:
example({ primary: true,  secondary: true});  // Causes a typescript error

example({ _intent: "primary",  secondary: true});
// Valid but the alias will override the variant resulting in "class-b"

Additional context

My naming for this pattern is all over the place, I wasn't sure what to call it. (Exclusive variant aliases?) I've added a basic rough implementation with typescript enforcement and some tests. I'm  of course open to any feedback or suggestions.

What is the purpose of this pull request?

[ ] Bug fix
[X] New Feature
[ ] Documentation update
[ ] Other

Before submitting the PR, please make sure you do the following

[X] Read the Contributing Guidelines.
[X] Follow the Style Guide.
[X] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
[X] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).

Really appreciate you getting involved @ivoilic, but I'm going to choose not to go with this approach for now as I don't fully understand the benefits. Happy to revisit another time 🙏

I believe the benefit is to enable shorthands.


Show every user's bets on their profile

Somewhat controversial to make all these bets public, but I think this is actually correct, in the context of radical transparency, and pragmatically all this data was available anyways. Hopefully encourages people to bet more, too -- more betting is one thing we're kind of constrained on atm.
Some proposals/ways to move forward:
P1: Ship this as-is -- it's not revealing anything that wasn't already query-able via Firebase command before
P1.5: Because this is making public things that weren't previously public, give everyone a chance to delete their account or any specific bets they didn't want to expose to the world
P2: Only you get to see this on your portfolio
P2.1: You can opt in to showing this to the world
P2.5: Show total bet count and total profit/loss for everybody else
P3: Get rid of the Portfolio page in the sidebar, since it's duplicated here
P4: Make bettor identities in the "bets" tab on each market public
P5: Make bettor identities public in the API

Cool! Showing other users' profit has many beneficial effects. Showing their bets is more a mixed bag, although I can see it as a path to a more viral social app.
I guess I'm leaning toward "let's try it!" and see if we get a negative reaction or if it just increases engagement. Ditto for revealing bets on the market page (P4).
The friendliest way to do it may be to let people click a button to opt out of showing their bets, and email them e.g. 1 week before it goes live with that opt out option.

maybe we could just hide bets (unless commented) on any market in the personal fold
then we go around and tag all the #personal questions manually, just this once
I'm hesitant to roll this out without a robust implementation of personal / private markets. I think it hurts info aggregation in markets like "is everyone at this party going to have fun", "will I stay married" if people can't anonymously trade in these markets. These are exactly the kind of markets we're supposed to be better than other platforms at!

more polemically, I've been seriously thinking about making the market "Will Genesis House have any sexual assaults that I come to learn of in 2022" because I know some friends who have highly relevant knowledge, and other friends who would want to know that knowledge, but I myself and uncertain about the truth and do not have the social capital or time necessary to determine whether I should warn my friends or not.
There is literally no other info aggregation system, other than anonymous bets, that I think can actually solve this category of social problem. Legal systems are not up to the task. Twitter isn't up to the task. The informal networks of social capital that transact on whispers of gossip are not up to the task.

We discussed this a bit in standup today - I do think having private markets and private bets on Manifold would be good, but the reality is that we support neither at the moment.
I think implementing private markets and bets could be something we go off and do (especially if you're interested in making it happen, Sinclair!) -- other people who would be interested include markets for corporations or nonprofits with sensitive data. But I don't think we should block this feature on waiting for those to be implemented, because it'll take some amount of work to get private markets/bets technically correct.
(I worked a bit on the "off the record" feature of Hangouts Chat, and that was a nightmare to do correctly.)

I actually don't think it would be too hard to make bets private. We just need to not fetch the bets collection client-side, except for your own bets.
We'd need to call some api which gets bets stripped of their userId. Could be the same as the external API. Potentially we could mark some bets as revealed if you made a comment with it.

Hm, but then are we committing to keeping user balances private forever as well? What about leaderboards?
Because if we're not, then one theoretical attack slash thing that will happen in the future is someone scraping all our markets for activity, and matching up bets made with balance changes. Yes, I get that there's a huge difference in UX between having something be "natively supported" vs "possible", but on the other hand we should also be ready for worst-case attacks if we're going to run a trustworthy financial system.
I really think we should look to what crypto does -- again, crypto takes money transfer very seriously, and we... have not been, but we need to (cf double-entry accounting aka txns only being introduced 4 months after launch). The full transaction history of the major blockchains are fully public/pseudonymous, and this auditability is a core feature; in principle, we should support the same.
If we want to support private trades, I think we should do something like allow for burner wallets, not default transaction history to private.


Creating a new module inside pages module and creating components in it but it throws 404 not found

I have created a new module inside the pages module just like other modules that have already been there. I followed the same procedure in the new module as it was in a new module call USER and created new components in my new module. Gave the correct path in pages-menu.ts and routing.ts file too but everytime i click on the menu it only show me the page not found error.

<------user-add.component.ts------>
import { Component } from '@angular/core'; import { fruits } from './index';
@Component({     selector: 'ngx-user-add',     templateUrl: 'user-add.html', // Related HTML url     styleUrls: ['user-add.component.scss'] })
export class UserAddComponent {     fruits = fruits;
 users: { name: string, title: string }[] = [     { name: 'Carla Espinosa', title: 'Nurse' },     { name: 'Bob Kelso', title: 'Doctor of Medicine' },     { name: 'Janitor', title: 'Janitor' },     { name: 'Perry Cox', title: 'Doctor of Medicine' },     { name: 'Ben Sullivan', title: 'Carpenter and photographer' },   ]; }
<------pages-menu.ts------>
{     title: 'User',     icon: 'people-outline',     children: [       {         title: 'User-list',         icon: 'person-outline',         link: '/pages/user/user-list',       },       {         title: 'User-add',         icon: 'person-outline',         link: '/pages/user/user-add',       },     ]   }
<------pages-routing.module.ts------>
{        path: 'user',        loadChildren: () => import('./user/user.module')         .then(m => m.UserModule),     },     {       path: '',       redirectTo: 'dashboard',       pathMatch: 'full',     },     {       path: '**',       component: NotFoundComponent,     },   ], }];
@NgModule({   imports: [RouterModule.forChild(routes)],   exports: [RouterModule], }) export class PagesRoutingModule {  }

@zeqj323zq  did you fix it? what was the issue, i am currently facing similar challege

I have the same problem, it seems that you cannot create routes without being linked with a Component.
Ex: user component - / pages / user
If I need a route like: / pages / user / add
It will not work.

Closing as seems to be resolved


Restructure Organization show page into partials

Resolves #2659
Description
The Organization show page needed to be tidied up a bit, not only to display the information in a more user friendly way, but also because both the admin/organization and organization show views were getting a bit messy. This PR aims to fix this by:

breaking down the show view into partials, for better readability and maintainability
separating the Organization info from the Users table
spacing out the organization details and displaying the default email to the left
reusing the same views/partials for both an admin user and an organization, for consistency across different users
adding a scope and screen reader only header to the Organization Users table to fix some accessibility issues
adding more specs to ensure the correct header link is used and the sections are displayed as expected

Type of change

Code refactoring and styling change

How Has This Been Tested?
Added new examples to the organization and admin organization management system specs
Screenshots

This is beautiful! Thank you so much! :)


Is it possible to show datepicker in different culture apart from en?

I am using this https://bossanova.uk/jexcel/v4/examples/date-and-datetime-picker in jexcel UI.
I want to show datepicker in different culture based on browser's language. Is there any way to achieve this?

A few options:
https://bossanova.uk/jsuites/javascript-calendar/international


CAPG maintenance release (1)

Task
Prepare, test, release and rollout the first CAPG maintenance release.
Scope

[ ] Update the default apps;
[ ] Remove organization label from CRs;
[ ] Update Kubernetes to v1.23.16;

Other TODOs

[ ] Test the new release;
[ ] Upgrade gohan to this release;
[ ] Upgrade gunther to this release;
[ ] Upgrade falcon to this release;
[ ] Notify customers about the new release and it's impact;
[ ] Work with customers to upgrade their clusters.

Can we close this one? We don't have any customers in GCP.

Can we close this one? We don't have any customers in GCP.

Yes, it can be closed because CAPG development is frozen.


bootstrap 4.1.1

Webman, this is by far the best gulp-webpack setup i have ever seen. Congrats.
With a few small changes I just made it work with bootstrap 4.1.1, (it seems to work fine) but i have a question maybe you can answer: on the bootstrap docs they use post-css loader:
So my question is: why does bootstrap 4.1.1 seems to be working fine on this gulp-webpack setup even when we're not using postcss-loader?
Are you using postcss-loader on this setup that i may not be aware of?
Thanks for your time

Hi! Thanks man!
@lmuzquiz, link to doc you send me, it's just an example how you can integrate bootstrap to you project if you already use webpack.
Does gulp-webpack-starter use webpack? - Yes.
For CSS? - No.
Explanation:
In case of our tool we use webpack only for JavaScript bundling.
Regarding to CSS topic:
This is CSS gulp task: https://github.com/wwwebman/gulp-webpack-starter/blob/master/tasks/css.js
As you can see this task is allow you to use SASS in your project, also minification, concatinaion and some other features. What does it mean: you don't have to take care about configuration, you just use '@impont' to include some CSS/SCSS vendor file to exist  structure, just like below:
https://github.com/wwwebman/gulp-webpack-starter/blob/master/dev/sass/parts/vendor/_bootstrap.scss
I hope, it helpful for you ;)
So, basically, you pull request is very huge and a lot of changes have no sense. I have to decline it.
Other pull request are welcome! Next time please do some smaller pull request and before planning some changes, please, open some issue with you propositions or ideas or send some message on chat:
https://gitter.im/gulp-webpack-starter/Lobby :+1:


Mention version of the Standard for Public Code the guide refers to

Should we mention which version of the Standard for Public Code this guide currently is reflecting? If so, where?

Yes, it would be good to mention that the version is currently aligned to 0.4.0 as well as the intent to update to the latest version shortly after the release.
And updating the community-implementation-guide-standard should be a post-release step added to the standard as well.

fixed by 71f47a0b8901a5ac7cc2cee81d770ffca0274171


litmusctl: 1.9.0 -> 1.10.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/litmuschaos/litmusctl/releases.
meta.description for litmusctl is: Command-Line tool to manage Litmuschaos's agent plane
meta.homepage for litmusctl is: https://github.com/litmuschaos/litmusctl
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 1.10.0 with grep in /nix/store/m8kkv42a3fqbmjfmz1kwx8xldj05bzbs-litmusctl-1.10.0
found 1.10.0 in filename of file in /nix/store/m8kkv42a3fqbmjfmz1kwx8xldj05bzbs-litmusctl-1.10.0

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

litmusctl

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/m8kkv42a3fqbmjfmz1kwx8xldj05bzbs-litmusctl-1.10.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A litmusctl https://github.com/r-ryantm/nixpkgs/archive/883b7bd08366536fa19b22be80cc5b1acbe3d7c6.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/883b7bd08366536fa19b22be80cc5b1acbe3d7c6#litmusctl

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/m8kkv42a3fqbmjfmz1kwx8xldj05bzbs-litmusctl-1.10.0
ls -la /nix/store/m8kkv42a3fqbmjfmz1kwx8xldj05bzbs-litmusctl-1.10.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

litmusctl

Maintainer pings
cc @vinetos @Sail0rd for testing.

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

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

Result of nixpkgs-review pr 342797 run on aarch64-darwin 1

1 package built:

litmusctl


Master clue improvements

When doing a master clue that is a 3-step step, there are no solutions visible in Runelite for what to do to complete each step.
When doing a master clue, there is no indication as to what is going to spawn (eg. 3 wizards, etc).

First issue is a duplicate of #2923.
#3352 has been opened to try to address this feature,so if merged it will address that.
Second issue is a duplicate of #2580.


Add logging to load and misc. enhancements.

The amount of output generated by load.py was so overwhelming it meant a number of errors slipped through.
This pull request changes all the print statements to use logging.
Anything that's just information is logged as logging.INFO and sent to the log file "load.log".
Anything that is a warning is logged at logging.WARN and sent to stderr.
This PR also includes a bunch of miscellaneous efficiency optimisations, including the removal of one whole duplicated import function and PEP8 code enhancements.

Oh and we make sure we have UTF-8 for the data so we avoid a number of UnicodeDecodeErrors on data import (and hence missing data).

Current coverage is 65.03%

Merging #198 into master will increase coverage by +0.36% as of 0695381

@@            master    #198   diff @@
======================================
  Files          101     101
  Stmts         2955    2943    -12
  Branches         0       0
  Methods          0       0
======================================
+ Hit           1911    1914     +3
  Partial          0       0
+ Missed        1044    1029    -15

Review entire Coverage Diff as of 0695381

Powered by Codecov. Updated on successful CI builds.

In clldutils I have implemented a unicode-capable csv reader, which in addition works across python 2.7 and 3.4. The clldutils package is supposed to be moderate in terms of external dependencies, so it wouldn't be too much of a problem to use it here.


Format term-tracker-item annotations consistently

A handful of easy-to-fix cases: https://api.triplydb.com/s/-p00wlgwm

@hectorguzor could you please make these small fixes?

@jamesaoverton one of the terms with a bad term-tracker annotation format is an IAO term
http://purl.obolibrary.org/obo/IAO_0006011
Below is the term-tracker item for this term.
https://github.com/information-artifact-ontology/ontology-metadata/issues/40
This wouldn’t be a PR for OBI, but IAO to fix right? Should I just create a PR for the IAO repository for this term?

Yeah, please make an IAO PR for that fix. Much appreciated!


Fix [Subject of the issue]

Description
Describe your issue in as much detail as possible here.
Your environment

OS and version
branch that causes this issue
Device (Nano S, Nano S Plus, Nano X, Ledger Blue)

Steps to reproduce

Tell us how to reproduce this issue
Where the issue is, if you know
Which commands triggered the issue, if any

Expected behaviour
Tell us what should happen
Actual behaviour
Tell us what happens instead
Logs
Please paste any logs here that demonstrate the issue, if they exist
Proposed solution
If you have an idea of how to fix this issue, please write it down here, so we can begin discussing it

Closing, because no description


Take the rook images from registry.suse.com

Remove the temporary hack that pointed to registry.suse.de

Thanks @Itxaka , updated

Need to run this over the ses_rook path to check if it indeed works

Yep, let's wait for https://github.com/SUSE-Cloud/socok8s/pull/731

Yep, let's wait for #731

I actually retrigger the job with the ses_rook path :)

I do not see the CI results, but manual testing reveals:
Failed to pull image "registry.suse.com/ses/6/ceph/ceph:<IP_ADDRESS>4": rpc error: code = Unknown desc = Error reading manifest <IP_ADDRESS>4 in registry.suse.com/ses/6/ceph/ceph: manifest unknown: manifest unknown

Updated SES repo, let's see if it changes things...

Tested (manually). This works!


[fix](hash join) fix stack overflow caused by evaluate case expr on huge build block

Proposed changes
Issue Number: close #xxx
Hash join operator will merge build blocks to a big block with a lot rows, and using variable length array in expr execution may cause stack overflow.
Also add -Werror=vla compiler option to report compile error by default and
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wvla"
#pragma clang diagnostic pop

to ignore VLA usages where it's sure not to cause stack overflow.
Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


Prevented SPCreateFarm and SPJoinFarm from executing sets when in a farm

Fixes #375 - we do a check in the set methods now to ensure we aren't trying to create or join where an existing farm is there, warning the user that they must manually remove it first if the config is to be applied.

[X] Change details added to Unreleased section of changelog.md?
[X] Added/updated documentation and descriptions in .schema.mof files where appropriate?
[n/a] Examples updated for both the single server and small farm templates in the examples folder?
[X] New/changed code adheres to [Style Guidelines]?(https://github.com/PowerShell/DscResources/blob/master/StyleGuidelines.md)?
[X] Unit and Integration tests created/updated where possible?

This change is

Pushing this bug fix through immediately based on testing I've done with a customer to ensure it is included in the v1.2 release

Reviewed 5 of 5 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable

Reviewed 1 of 1 files at r2.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable


Use word breaking SPI for \b

I still need to update the README to include information on how to compile this and run tests locally.

@swift-ci please test

@swift-ci please test

@swift-ci please test Linux


"load" event for overlay

Relates to https://github.com/heigeo/leaflet.wms/pull/44
Problem
I have had some issues with loading control on my leaflet project. I could not get a proper loading feedback to the user because the overlay layer does not have a "load" event like the tile layer does. That means the loading indicator will never stop.
Possible solution
It would be very helpful to fire a "load" event once the overlay layer is loaded. I suggest the following minimal change:
'update': function() {
        if (!this._map) {
            return;
        }
        // Determine image URL and whether it has changed since last update
        this.updateWmsParams();
        var url = this.getImageUrl();
        if (this._currentUrl == url) {
            return;
        }
        this._currentUrl = url;

        // Keep current image overlay in place until new one loads
        // (inspired by esri.leaflet)
        var bounds = this._map.getBounds();
        var overlay = L.imageOverlay(url, bounds, {'opacity': 0});
        overlay.addTo(this._map);
        overlay.once('load', _swap, this);
        function _swap() {
            if (!this._map) {
                return;
            }
            if (overlay._url != this._currentUrl) {
                this._map.removeLayer(overlay);
                return;
            } else if (this._currentOverlay) {
                this._map.removeLayer(this._currentOverlay);
            }
            this._currentOverlay = overlay;
            overlay.setOpacity(
                this.options.opacity ? this.options.opacity : 1
            );
            if (this.options.isBack === true) {
                overlay.bringToBack();
            }
            if (this.options.isBack === false) {
                overlay.bringToFront();
            }
            this.fire("load");
        }
        if ((this._map.getZoom() < this.options.minZoom) ||
            (this._map.getZoom() > this.options.maxZoom)){
            this._map.removeLayer(overlay);
        }
    },

It is just the this.fire("load"); once leaflet fired "load" and everything alse is done. This holds true for each end every browser supported by leaflet.
Thank you for considering.

You also need this.fire("loading"); to start the updating, I forgot.


Restore pandas import check in db113 runtime

To fix the issue : https://github.com/NVIDIA/spark-rapids/issues/7820
Restore pandas import check in db113 runtime, as PR https://github.com/NVIDIA/spark-rapids/pull/7789 fixed the require_minimum_pandas_version() check failure

build


Create Pages “tarifs”

Automatically generated by Netlify CMS

👷 Deploy Preview for lehublot-coworking processing.
🔨 Explore the source changes: 827b4a8e4103aa7b0eed17a9c67cddb544ebc14f
🔍 Inspect the deploy log: https://app.netlify.com/sites/lehublot-coworking/deploys/620682bbfaaf6a0007f7d0a6


deepin.deepin-gtk-theme: 17.10.5 -> 17.10.6

Semi-automatic update generated by https://github.com/ryantm/nix-update tools. These checks were done:

built on NixOS
Warning: no binary found that responded to help or version flags. (This warning appears even if the package isn't expected to have binaries.)
found 17.10.6 with grep in /nix/store/ga3bv13qx17rpki527kh2wzmb8ri5h5w-deepin-gtk-theme-17.10.6
directory tree listing: https://gist.github.com/8406a3329d9f397b5fe75ab8f0eea6ad

cc @romildo for review

No attempt on x86_64-darwin
The following builds were skipped because they don't evaluate on x86_64-darwin: deepin.deepin-gtk-theme
No partial log is available.

Success on x86_64-linux (full log)
Attempted: deepin.deepin-gtk-theme
Partial log (click to expand)

0

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0

100  226k  100  226k    0     0   226k
   0  0:00:01  0:00:01 --:--:--  208k

Success on aarch64-linux (full log)
Attempted: deepin.deepin-gtk-theme
Partial log (click to expand)
install flags: install SHELL=/nix/store/3gg2p6n4kv2f0lsxd41f5iz1ivkbzyzr-bash-4.4-p19/bin/bash PREFIX=\$\(out\)
mkdir -p /nix/store/al1xvivrk6y4cndpmhsg5p9lwg9ckpn1-deepin-gtk-theme-17.10.6/share/themes
cp -r deepin /nix/store/al1xvivrk6y4cndpmhsg5p9lwg9ckpn1-deepin-gtk-theme-17.10.6/share/themes/
cp -r deepin-dark /nix/store/al1xvivrk6y4cndpmhsg5p9lwg9ckpn1-deepin-gtk-theme-17.10.6/share/themes/
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/al1xvivrk6y4cndpmhsg5p9lwg9ckpn1-deepin-gtk-theme-17.10.6
strip is /nix/store/3zq400fri5dv7d30lpxlqm2v9y1iis6j-binutils-2.28.1/bin/strip
patching script interpreter paths in /nix/store/al1xvivrk6y4cndpmhsg5p9lwg9ckpn1-deepin-gtk-theme-17.10.6
checking for references to /build in /nix/store/al1xvivrk6y4cndpmhsg5p9lwg9ckpn1-deepin-gtk-theme-17.10.6...
/nix/store/al1xvivrk6y4cndpmhsg5p9lwg9ckpn1-deepin-gtk-theme-17.10.6


Theme switcher

Feature description

An option in the settings to choose themes of the CWA.
Problem and motivation

Currently the apps theme is defined by the users system settings. A system-wide dark mode was added in Android 10. User who are not running the latest version of Android cannot use the dark theme of the CWA. As suggested by the Android guide the user should be offerd to switch the themes:

When running on devices running Android 9 or earlier, the recommended theme options are:

Light
Dark
Set by Battery Saver (the recommended default option)

When running on Android 10 (API level 29) and higher, the recommended options are different, to allow the user to override the system default:

Light
Dark
System default (the recommended default option)

Note that if the user selects Light, then Battery Saver will not change that setting.

Is this something you're interested in working on
No

I think that would make users of older devices very happy.

I'd also like to see this being implemented, although it's surely not a vital feature.

My girlfriend would also be very happy about this feature. :)


chore(pingcap/tiup): disable auto sync OWNERS files

Currently most community members of tiup is not active. We need stop the auto syncing for this repository.

/cc @kaaaaaaang
PTAL

/approve


DBT Configuration

Hi,
I want to know something about dbt like, I am orcherstrating dbt workflows in MWAA and when I written a sample code the task group has been created based on the dependencies in the dbt project. my condition is how we can manage the workflows through our custom arguments like running model one after another or running model when a particular previous model fails. can you give me some document links or some source codes .

transformed_data = DbtTaskGroup(
    group_id="transform"
    project_config=ProjectConfig(DBT_PROJECT_PATH),
    profile_config=profile_config,
    default_args={"retries": 2},
    operator_args={
        "dbt_cmd_flags": ["--models", "City_data"],
        "fail_fast": True,
        "warn_error": True,
    }

is this correct

Hey @AkashSonu14,  You could set operator args using operator_args param. Please see the docs: https://astronomer.github.io/astronomer-cosmos/configuration/operator-args.html

Hi @AkashSonu14, could you please update the title of this issue to something more descriptive? A title like “DBT Configuration” provides little context for the community to understand the issue at a glance. You can refer to the open issues here: https://github.com/astronomer/astronomer-cosmos/issues to see examples of how the community reports issues with clear titles and descriptions. Thank you!


BAU: Add Roch Trinque

We have a new team member called Roch Trinque. This commmit adds a new
user account for Roch.

Pair: @suthagarht @rtrinque

We should get Roch to do raise this as a first taster of the process :)


[PERFSCALE-1802] Enable HTTP2 for reencrypt/passthrough terminations

Type of change

[ ] Refactor
[x] New feature
[ ] Bug fix
[ ] Optimization
[ ] Documentation Update

Description
For the moment using hloader, results shouldn't be used for reporting till having verifying their stability.
Bumping ingress-perf version to fix HTTP/2 in re-encrypt routes https://github.com/cloud-bulldozer/ingress-perf/pull/71
Related Tickets & Documents

Related Issue #
Closes #

Checklist before requesting a review

[ ] I have performed a self-review of my code.
[ ] If it is a core feature, I have added thorough tests.

Testing

Please describe the System Under Test.
Please provide detailed steps to perform tests related to this code change.
How were the fix/results from this change verified? Please provide relevant screenshots or results.

/retest

/retest

/retest

/retest

/rerun

/retest

/retest-required


Add search filters to suggest request

Allow suggest requests to use the same filtering based on NameUsageSearchParameter as the usage search does.
See https://github.com/CatalogueOfLife/portal/issues/36

@ayco-at-naturalis is this difficult to add?
Basically moving this to NameUsageRequest?

private EnumMap<NameUsageSearchParameter, @Size(max = 1000) Set> filters;

plus these 2:
  @QueryParam("minRank")
  private Rank minRank;

  @QueryParam("maxRank")
  private Rank maxRank;

min/maxRank have been added, but not all filters


[2.8] Release artifacts

follow-up #3565
As discussed with @milosgajdos, we might need to also publish artifacts to GitHub Release like it's already done on the main branch. Will look like this:

# create the artifact matching your current platform in ./bin
docker buildx bake artifact

# create artifacts for many platforms in ./bin
docker buildx bake artifact-all

Waiting for inputs from maintainers so keeping in draft for now.
Signed-off-by: CrazyMax<EMAIL_ADDRESS>

Codecov Report

Merging #3568 (d31d67c) into release/2.8 (1840415) will not change coverage.
The diff coverage is n/a.

@@             Coverage Diff              @@
##           release/2.8    #3568   +/-   ##
============================================
  Coverage        58.72%   58.72%
============================================
  Files              102      102
  Lines             7104     7104
============================================
  Hits              4172     4172
  Misses            2286     2286
  Partials           646      646

Continue to review full report at Codecov.

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


Adjust look of payment view

Is this possible? Can i adjust, for example, the cornerRadius ? Background color?

Right now, actually, the only thing i'm seeing is text. i dont see the outline at all !

Hey @hsavit1,
This code has moved to https://github.com/stripe/stripe-ios, which now has a class called STPPaymentCardTextField that has similar behavior to PTKView. That class exposes cornerRadius, backgroundColor, and many other appearance-related properties, so I'd encourage you to migrate (it should take just a few minutes, and we've written a brief guide at https://github.com/stripe/paymentkit#migration). Of course, if that doesn't work for you, or you have any trouble migrating, reply here and I'll be happy to help.
Cheers!


Feature/linkta 392 Implement privacy policy page and update user agreement interaction

Description

Created a new privacy-policy page using the document from https://www.privacypolicies.com/live/40b69adf-2fb3-416e-b85c-c9ae02378cd7.
Corrected factual inaccuracies in the privacy policy content (company name, social signin partners etc.)
Updated the styling of the footer in the RootLayout component
Replaced the PolicyAgreement component with checkbox and Link components
Removed the unused PrivacyAgreement component, footer pages, and related links
Cleaned up some redundant and inaccurate HTML tags in the PrelaunchSignUpForm
Updated e2e tests to check footer text instead of header (removed from layout) & add checkbox checking to form validation tests

Fixes #392
Type of change

[X] ✨ New feature (non-breaking change which adds functionality)

How Has This Been Tested?

e2e testing

Checklist:

[X] I have performed a self-review of my own code.
[ ] I have commented on my code, particularly in hard-to-understand areas.
[ ] I have made corresponding changes to the documentation.
[X] My changes generate no new warnings.
[ ] Any dependent changes have been merged and published in downstream modules.
[X] I have reviewed the Security Best Practices Document.
[X] I have followed the Naming Conventions Guide for my changes.
[X] I have ensured that my pull request title is descriptive.

creating a new PR


error adding to pubspec

I get this error after flutter packages get
Package redux_persist_flutter has no versions that match >=0.4.5 <0.5.0

Which version are you trying to pull?

0.4.5

Try 0.4.6. There was a small mistake in the packaging of the previous version.

Always the same error

Which version of redux_persist are you trying? Try using v0.5.2.

Closing due to inactivity.


⚠ SICOEX has degraded performance

In e490e96, SICOEX ($URL_SICOEX) experienced degraded performance:

HTTP code: 200
Response time: 998 ms

Resolved: SICOEX performance has improved in ef7a676.


Decrease CPU usage when scanning

Use a different strategy that doesn't involve sleep() while scanning to improve energy efficiency and decrease unnecessary CPU usage. DispatchSemaphore might be a good solution.

I know that there is asyncAfter on DispatchQueues: https://developer.apple.com/documentation/dispatch/dispatchqueue/2300020-asyncafter
Could be handy if you can make the 2nd half of the scan function asynchronous

The new Swift Concurrency integration fixes this.


Update supported Python versions

Remove 2.6 and anything from 3.x that's reached EOL
Add 3.7 and 3.8

Fixed by 0c42cdebe1fce31f7f9a9d0bc159502dc22628b1


Cookiepage

By default, a number of cookies are placed on each website using this theme. To let users know which cookies are placed and why we use them it's nice to be able to use a default page template. On this page the following needs to be described:

What are cookies?
Which cookies do we use?
Cookies from third parties
Block and delete cookies

Issue is ready for release.


CSS hashing problem

I have some issue with the latest version (1.7.6)
When I modify a css file and then I reload the page, I got the same hash for the css files, like before the modification. Thats why the minified css will not overwritten, and the style is not refresh. And only 1 minified .css and .js files exist in the minified folder.
When I checkout to 1.7.3 it works. And on 1.7.4 if i modify the
public $schemas = ['//', 'http://', 'https://', 'ftp://'];

line to
public $schemas = ['/', 'http://', 'https://', 'ftp://'];

it works too.
The further changes was too complex, but something went wrong. Don't you realized this issue yet? Can you look after it? Thanks!

This bug has been fixed in version 1.7.8.
Thanks.

Uhhh sorry, I missed that release :D thanks :)
Az iPhone-omról küldve

ápr. 17. dátummal, 17:33 időpontban Revin Roman<EMAIL_ADDRESS>írta:

This bug has been fixed in version 1.7.8.
Thanks.
—
Reply to this email directly or view it on GitHub.


FileNotFoundError: chromedriver

File "C:...\lib\site-packages\lucd\clean.py", line 44, in remove_signature_in_javascript
subprocess.Popen(["sudo", "chmod", "755", self.chromedriver], stdout=subprocess.PIPE)
File "C:\Python310\lib\subprocess.py", line 966, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Python310\lib\subprocess.py", line 1435, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] The system cannot find the file specified

Thanks for your comment. The error has been fixed.


Need missing word added to PWSH CLI help file for Remove-Mailbox

[Enter feedback here]
In the classic PowerShell interface "help Remove-Mailbox" the third paragraph in the DESCRIPTION field needs to be changed from "Or, you can immediately the disconnected mailbox by using..." to "Or, you can immediately purge the disconnected mailbox by using..."
Thank you.
P.S. Yes, I did run Update-Help and it's still there

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

ID: 5286595d-c5b1-18e5-c5b7-4da806f66a68
Version Independent ID: a51a4a6c-11f4-ba4d-46fa-5187e2d99e5f
Content: Remove-Mailbox (exchange)
Content Source: exchange/exchange-ps/exchange/Remove-Mailbox.md
Service: exchange-powershell
GitHub Login: @chrisda
Microsoft Alias: chrisda

@officedocsbot assign @yogkumgit

@bingoglossy, I'll admin that it's bee a while since we've checked cmdlet reference help back into code (that's what updates command line help). Unfortunately, Exchange can't use Update-Help.
The topic on the web doesn't have that typo, so whenever we check help back into code, and the code is 'delivered' (to servers in the datacenters or in the next CU for on-premises Exchange Server), then the command  line help will be updated.
Thanks for the feedback.
Closing.


NRE on start

Bot was working well for several days, then it crashed and I can't start it anymore, it gives the same error everytime. I'm running it on debian with mono as non-root user.
There's errors.txt file:
Command: Discord.Commands.Command
System.NullReferenceException: Object reference not set to an instance of an object
  at NadekoBot.Classes.Help.Commands.HelpCommand+<>c__DisplayClass0_0+<<HelpFunc>b__1>d.MoveNext () <0x419a7870 + 0x001ed> in <filename unknown>:0
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x7febe99a42a0 + 0x00029> in <filename unknown>:0
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x7febe99a2170 + 0x000a7> in <filename unknown>:0
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x7febe99a20f0 + 0x0006b> in <filename unknown>:0
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x7febe99a20a0 + 0x0003a> in <filename unknown>:0
  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () <0x7febe99a26e0 + 0x00012> in <filename unknown>:0
  at NadekoBot.Classes.Help.Commands.HelpCommand+<>c+<<HelpFunc>b__0_0>d.MoveNext () <0x40a33310 + 0x0076c> in <filename unknown>:0
--- End of stack trace from previous location where exception was thrown ---
  at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () <0x7febe99a42a0 + 0x00029> in <filename unknown>:0
  at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) <0x7febe99a2170 + 0x000a7> in <filename unknown>:0
  at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) <0x7febe99a20f0 + 0x0006b> in <filename unknown>:0
  at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) <0x7febe99a20a0 + 0x0003a> in <filename unknown>:0
  at System.Runtime.CompilerServices.ConfiguredTaskAwaitable+ConfiguredTaskAwaiter.GetResult () <0x7febe99a26e0 + 0x00012> in <filename unknown>:0
  at Discord.Commands.CommandService+<>c__DisplayClass32_0+<<Discord-IService-Install>b__1>d.MoveNext () <0x40a221b0 + 0x01011> in <filename unknown>:0
-------------------------------------

Make sure that you updated the bot to the latest version (0.99.9z)
0.99.9z Release

First time i see this. Just save your data folder and credentials, download latest release and drop data and credentials back in


[RTD] initial notes

I made these notes while I was doing some initial investigation of the rtd branch. Posting here unedited for the moment:
Notes
Code formatting - can we make it any prettier, seems quite plain
The umbrella page for my getting started with modules course is replaced with just a toc. I put it in as the first item in the toc but its not showing up in the menu, not sure if this is a clash
We need to set up sitewide 301 redirects for old urls to new .html extension
Need to style the block quotes to have some kind background as articles written expecting it and now the > quotes just blend in with the text.
put one line or half line margin under each <li>
put a stroke around the images as they are mostly partial screenshots so just makes it neater as the image cuts off (in current docs site)
zip downloads are 404 - need to be moved to another storage location unless we can include them in the rtd build?
table to check fixed on line 294 of getting started with modules part 4
build error:
WARNING: html_static_path entry 'E:\\rtpSoftware\\OrchardDocs\\OrchardDoc\\docs\\_static' does not exist

@agriffard fyi

I added files in docs_static. You should be able to retrieve it.

I've split these all out into individual issues now so anyone can tackle them.


 Same macOS 10.13.1 (17B48) but late 2016 MacBook Pro 15" with Touchbar.

Me too macOS 10.13.1 mid 2014 MacBook Pro 15

I think they might be half visible instead?

I think they might be half visible instead?

Me too macOS 10.13.1 early 2015 MacBook Pro 13

Me too,so is there any method to open it by a command?

Me too,   and the screensaver doesn't play properly

me too ,and my screensaver doesn't play properly

@geniussheep Tick the "show with clock" option. It's just a workaround but it'll fix the playback until Apple fix their Intel drivrs.

Fixed in https://github.com/JohnCoates/Aerial/releases/tag/v1.4beta9


Blocked  and Parallel Batch normalization code.

@alheinecke The code is done for now. You can review and incorporate it. I tried 4*CP for middle loop but it didn't give me a performance advantage. However, reducing HW block size from 49 to 28 gives some improvement.


Fix stream writing bug (different encoding with BOM)

fixes #15

@ErikEJ Thanks for the quick fix. I'll merge this when the checks have completed so you'll get a new preview release.

CI failed ??

Yeah, not sure why. It looks like the SQL Server container was still trying to start, while the build was already trying to deploy the .dacpac. I've seen this a couple of times before, but it doesn't always happen. I'll have to figure out how I can wait for the container to fully be available before trying to deploy the package. I'll create a separate issue for that.

@ErikEJ I've restarted CI and it succeeded on the second attempt. A new prerelease version of the package should be available soon.


parallax image backgrounds into framework

similar to https://www.doi.gov/water/owdi.cr.drought/en

and more pics @gjahansen2

@jread-usgs add folder pics into repo

@jread-usgs Was this accomplished or am still missing something?

done


[RFE] Day-2 operations - Deploy pyroscope

Pyroscope is an interesting tool that can be very useful when reporting/troubleshooting a low level performance issue.
Deploying and configuring it as a 2nd day-op once the cluster is ready would be great.
For the moment, I'd configure pyroscope to scrape these components, which already expose the /pprof endpoints by default:

kube-apiserver (Bearer token authentication)
kube-controller-manager (Bearer token  authentication)
etcd (certificate authentication)

We can also consider scraping other core components like (optionally ? ):

ovnkube-master
ovnkube-node
kubelet
cri-o
kube-scheduler
operator-lifecycle-manager
openshift-apiserver
openshift-kube-controller-manager
prometheus

Prior start developing this RFE, we should investigate how much space requires pyroscope, and determin the overhead (if relvant) it adds to these components

With our move to prow, does it make sense to put this in scale-ci-deploy? Should we start abstracting these sort of day-2 operations in e2e-benchmarking or similar?

With our move to prow, does it make sense to put this in scale-ci-deploy? Should we start abstracting these sort of day-2 operations in e2e-benchmarking or similar?

that's right, not sure if e2e-benchmarking would be the right place though. It's a "benchmarking" repo and not a day-2 one.
Apart from that, this project still does lot of day-2 operations and it's has been updated recently (https://github.com/cloud-bulldozer/scale-ci-deploy/pull/213 and https://github.com/cloud-bulldozer/scale-ci-deploy/pull/211), if we're going to make that movement we should consider moving all the current day-2 operations performed here as well

Well #213 and #211 are really "hacks" to allow for us to test things like OVNIC or newer bits of OVN in our CI - not sure we want to conflate those steps w/ "Day 2 Operations".

that's right, not sure if e2e-benchmarking would be the right place though, as is a "benchmarking" repo and not a day-2 one.

Agreed... Not sure it is the right place.
Maybe we should consider a new repo for "Day 2" Operations?

Back in the Telco days, that's the path we went down.
We would deploy using JetSKi and then have all the dar-2 config (operators, logging stack setup, BigIP config) all encapsulated in https://github.com/redhat-performance/webfuse


Add Value.currencySymbolValueOf

I noticed that this is used by some scripts and they implement it themselves with the less efficient PlutusTx.sum . Map.elems.

@zliu41 @effectfully
Please add very explicit documentation around this function. It is extremely dangerous. This function is perhaps responsible for more critical vulnerabilities than any other utility function in onchain code. I personally have discovered a number of vulnerabilities that allow for malicious actors to completely drain protocol liquidity.
See for instance:
https://github.com/Liqwid-Labs/agora/pull/202
The issue is due to the fact that developers tend to intuitively use this function in minting policies in order to enforce that only one token is minted, because they believe that it returns the number of tokens with the given currency symbol in a value. The issue is symbolValueOf does not enforce that only one token name of the cs is present, nor that all the entries in the value are positive or negative.  Consider the following:
ourMintingPolicy :: ScriptContext -> BuiltinUnit
outMintingPolicy ctx =
  case (scriptContextRedeemer ctx) of
    -- minting conditions (ie deposit liquidity for LP tokens)
    Mint -> ...
    -- developer expects that this check will enforce that this redeemer can only be used to burn a token
   -- and minting will be impossible
    Burn -> symbolValueOf mintedValue ownCS == -1
  where
    (MintingScript ownCS) = (scriptContextScriptInfo ctx)
    mintedValue = txInfoMint (scriptContextTxInfo ctx)

The issue with the above use is that a malicious actor with two such tokens could perform a transaction using the Burn redeemer that burns two tokens and mints one and the validation will succeed. For instance, if they set txInfoMint = PMap[(PCurrencySymbol "",PMap [(PTokenName "",0)])]), (PCurrencySymbol ourCS, PMap [(PTokenName "TokenA", -2), (PTokenName "TokenB", 1)])])]
Instead of a non-specific symbolValueOf function, it is typically better to define two variants:
positiveSymbolValueOf and negativeSymbolValueOf. This forces the developer to be more deliberate in their use and thus reduces the risk of such vulnerabilities making it into production.
Here is a reference implementation of such functions:
psymbolValueOfHelper ::
  forall
    (keys :: KeyGuarantees)
    (amounts :: AmountGuarantees)
    (s :: S).
  Term
    s
    ( (PInteger :--> PBool)
        :--> PCurrencySymbol
        :--> ( PValue keys amounts
                :--> PInteger
             )
    )
psymbolValueOfHelper =
  phoistAcyclic $
    plam $ \cond sym value'' -> unTermCont $ do
      PValue value' <- pmatchC value''
      PMap value <- pmatchC value'
      m' <-
        tcexpectJust
          0
          ( plookupAssoc
              # pfstBuiltin
              # psndBuiltin
              # pdata sym
              # value
          )
      PMap m <- pmatchC (pfromData m')
      pure $
        pfoldr
          # plam
            ( \x v ->
                plet (pfromData $ psndBuiltin # x) $ \q ->
                  pif
                    (cond # q)
                    (q + v)
                    v
            )
          # 0
          # m

-- | Sum of total positive amounts in Value for a given policyId
ppositiveSymbolValueOf ::
  forall
    (keys :: KeyGuarantees)
    (amounts :: AmountGuarantees)
    (s :: S).
  Term s (PCurrencySymbol :--> (PValue keys amounts :--> PInteger))
ppositiveSymbolValueOf = phoistAcyclic $ psymbolValueOfHelper #$ plam (0 #<)

-- | Sum of total negative amounts in Value for a given policyId
pnegativeSymbolValueOf ::
  forall
    (keys :: KeyGuarantees)
    (amounts :: AmountGuarantees)
    (s :: S).
  Term s (PCurrencySymbol :--> (PValue keys amounts :--> PInteger))
pnegativeSymbolValueOf = phoistAcyclic $ psymbolValueOfHelper #$ plam (#< 0)

See for instance:

The linked issue was in 2022 and currencySymbolValueOf was added this year. How could currencySymbolValueOf have been the cause?

The issue is symbolValueOf does not enforce that only one token name of the cs is present

That should be obvious - there's no reason to believe that only one token is present. The whole point of currencySymbolValueOf is to calculate the total value across all tokens, so there certainly can be more than one. The Haddock also says "Get the total value of ...".

nor that all the entries in the value are positive or negative.

This is less obvious; we can add the following - "Each token of the currency symbol may have a value that is positive, zero or negative". Is that better?
Having said that, if one is not aware of this fact, then even without currencySymbolValueOf, they'd probably make the same mistake by writing something like
case Map.lookup cur mp of Just tokens -> sum (Map.elems tokens), which would do the same thing. currencySymbolValueOf is just a helper function that does that.

The linked issue (and most such exploits) are due to the Plutarch equivalent of this function which is called pcurrencySymbolValueOf.

Ok, I added the sentence to the Haddock, and opened https://github.com/IntersectMBO/plutus/issues/6445 in the backlog. Thanks for bringing this to our attention.

Since I last mentioned it, I have discovered the same vulnerability resulting from misunderstanding of symbolValueOf (and equivalents in other languages) in two additional protocols:
https://github.com/input-output-hk/partner-chains-smart-contracts/issues/134
https://github.com/mlabs-haskell/dens-onchain/issues/1
For some reason, this function is responsible for critical vulnerabilities at an unbelievably high rate.

@zliu41 sounds like we should have a separate issue for discussions around symbolValueOf?

@zliu41 sounds like we should have a separate issue for discussions around symbolValueOf?

That's what #6445 is for, unless we are talking about a different problem.

i don’t think documentation is sufficient for this. I would suggest removing this and replacing it with a variant that counts only positive quantities, and a separate variant that counts only negative quantities.

@zliu41 I'm not really following this discussion, but can we move it to the issue that you referenced or some other issue? Maybe by giving a summary there or at least providing a link and continuing there. It would be unfortunate to keep all that context in a merged PR.

i don’t think documentation is sufficient for this. I would suggest removing this and replacing it with a variant that counts only positive quantities, and a separate variant that counts only negative quantities.

I think this is covered by #6445, which is about making a newtype that represents values with non-negative quantities.

I'm not really following this discussion, but can we move it to the issue that you referenced or some other issue?

Can you be more specific? #6445 does link to this issue in its description, so I'm not sure what else to do.

ussion, but can we move it to the issue that you referenced or some other issue? Maybe by giving a summary there or at least providing a link and continuing there. It would be unfortunate to keep all that context in a merged PR.

Ah you are correct, that's exactly what that is for, and it should address this issue! Sorry for the misunderstanding.


Feature Request mcap2 Integration

Hi Bernd,
Thanks a lot for you great work.
Are you planning to also integrate mcap or do you know about a similar project allowing to write mcap bags directly.
Best regards,
Jonas

Hi Jonas,
If you want to write the bag in mcap format, try just modifying this line.
But if you are running on Jazzy or Rolling you can use the new composable recorder node directly, i.e. you don't need the software in this repo anymore. And there you can set the output format with a ros parameter.

Hi Bernd,
thanks a lot. This helps us out a lot.
Best regards,
Jonas


Bunch of code improvements

Removed unused directives in file.
Used pattern matching concept for simplification code.

Hi MCCshreyas ! :)
You use a old version of hexeditor. All file modified are ok exept HexaEditor.xaml.cs (very old version).
I can put you change if you update your base code.


Play backwards not working without loop

Hi,
First of all thanks for creating this package. Much less buggy than the original! I have come across an issue however-
Play in reverse with the direction=-1 and loop=false does not work. Playing in reverse only seems to work if loop=true. I've taken a look at the live example usage and the same issue happens. I would really like to implement a backwards play without having to do some loop=true/false trickery
Thanks

thanks for reporting.
I found the cause of the issue:
https://github.com/airbnb/lottie-web/issues/118#issuecomment-239319708


failing to build on ubuntu-focal

logs here https://travis-ci.com/github/rokmoln/support-firecloud/jobs/370344946

revert 2abdf3a
don't forget to enable ubuntu-focal-dev job as well

closed by d825ae4


Release/3.1.0

This release adds an option to set session properties through Subject and adds an example app.
Enhancements

Allow setting Subject session information (#78)
Add Example App (#75)

Under the hood

Update links in README
Update gopkg reference to v3 (#72)

coverage: 99.464% (+0.01%) from 99.452%
when pulling e3c667108e5b03162a66108dec252041ddd22f20 on release/3.1.0
into 88ca5cf2930840e8c7f0c65efbaef326de5fffd2 on master.


Crop popup problem

When you try to edit profile picture and before clicking "Upload & Crop" scroll the page down, the upon clicking on "Select file", the popup goes down and controls became hidden, so it makes crop feature unusable in such situations.
However changing window size make popup to go back to its correct positioning.

https://una.io/page/view-discussion?id=125

The same problem when you try to select file in Chrome when choosing icon for menu item when the page is scrolled down.


Failed mount after kubernetes worker node upgrade from v1.23.15 to v1.24.9

Hi!
So after upgrading half of my worker nodes to new kubernetes (v1.24.9) I noticed that some of the pods got stuck in failed mount.
Warning  FailedMount  15s (x6 over 31s)  kubelet
MountVolume.MountDevice failed for volume "pvc-5bc91a74" : rpc error: code =
Internal desc = stat /var/lib/kubelet/plugins/kubernetes.io/csi/beegfs.csi.netapp.com/874cf8f302b0da66de76a4edb4ca3f7e0c5f7a6f25ad368e8ce8fda969225eb5/globalmount: no such file or directory

To get them up and running again I forced them to use nodes with the old kubernetes version (v1.23.15) and that works.
Versions:

BeeGFS: v7.3.2
CSI Driver: v1.3.0

Regarding the csi driver deployment I am using the k8s one from the repo.
Config:
config:
  beegfsClientConf:
    connClientPortUDP: "8028"
    connDisableAuthentication: "true"
    logType: "helperd"

And the only modification I had to make was in csi-beegfs-node.yaml where I set the plugins-mount-dir to /var/lib/kubelet/plugins/kubernetes.io/csi/pv instead of /var/lib/kubelet/plugins/kubernetes.io/csi
The kubernetes 1.23.15 worker node directory structure of /var/lib/kubelet/plugins/kubernetes.io/csi
tree -L 4
.
└── pv
    ├── pvc-01ba9661
    │   ├── globalmount
    │   │   ├── beegfs-client.conf
    │   │   └── mount
    │   └── vol_data.json
    ├── pvc-03357f3e
    │   ├── globalmount
    │   │   ├── beegfs-client.conf
    │   │   └── mount
    │   └── vol_data.json
...

The kubernetes 1.24.9 worker node directory structure of /var/lib/kubelet/plugins/kubernetes.io/csi
tree -L 4
.
├── beegfs.csi.netapp.com
└── pv
    ├── pvc-090f23e1
    │   ├── globalmount
    │   │   ├── beegfs-client.conf
    │   │   └── mount
    │   └── vol_data.json
    ├── pvc-14ba4b44
    │   ├── globalmount
    │   │   ├── beegfs-client.conf
    │   │   └── mount
    │   └── vol_data.json
...

So for some reason the node with the newer kubernetes version has an empty beegfs.csi.netapp.com directory.
Why are the pods on the "new" nodes trying to mount this other location? Is the v1.3.0 version of the driver incompatible with kubernetes 1.24.9? Should I upgrade the driver to v1.4.0?
Please say if you need any more info.
Thanks in advance!

Thanks for opening this issue @mceronja. Apologies for the delayed response. It appears you have resolved the issue, but I thought I'd provide a bit of color anyway.
Kubernetes changed the staging paths for persistent volumes in https://github.com/kubernetes/kubernetes/pull/107065. Because they are no longer staged under .../csi/pv (and instead under the more general .../csi), and our old deployment manifests only give the driver purview over .../csi/pv, our old manifests are not compatible with Kubernetes >=1.24. That being said, our updated manifests (since >=1.3.0) use the more general .../csi and should be backwards compatible (as .../csi/pv is a subdirectory of .../csi).
It's hard to understand the exact cause of your issue without diving in pretty deep, but it seems likely to be upgrade flow related. It would make a lot more sense to me if you were coming from v1.2.2 (which had incompatible base manifests), but that doesn't appear to be the case. To anyone else arriving here for some similar reason:

Be sure you are using the base manifests and overlays as described in https://github.com/NetApp/beegfs-csi-driver/tree/master/deploy/k8s#basics so you will always pick up the latest base manifests when upgrading the driver.
Do not attempt to use driver version <1.3.0 with Kubernetes version >=1.24.0, as there is a hard incompatibility related to the discussion here.


Native audio upload feature

Describe the Feature
For musicians like me, showing our works is crucial, however right now we need to link our stuff elsewhere, or upload an entire video just for audio. This is not optimal as it ends up consuming more bandwidth than a simple audio file would require, for something that cannot even be 1 minute long.
Attachments
i think that a "simple" way to implement it would be just adding an audio widget like this (probably the length should extend to the entirety of the post):

Optional features would be for it to display the waveform and the filename, or other metadata present in the file.
Describe Alternatives
No response
Additional Context
brought up by this post https://bsky.app/profile/bjoernmeansbear.bsky.social/post/3l6wv44cckx2y

As a musician, Im begging for this functionality!

As a record shop, I'm begging for this feature too.

This shouldn't be a blocker for the overall feature, but Mastodon has a very nifty floating media player that detaches from the post when it scrolls out of view. Pretty such it also makes it easy to jump back to or open the post by tapping on it, and on Android it integrates with the system-wide playback controls (at least in the official app, but maybe also via browser?).
Something like that would make longer audio/music very enjoyable to find in the app. While floating, the player also shouldn't auto-dismiss when playback ends, so that the user can still quickly open the post to interact with it.

+1 to this because as a podcaster and audiobook creator this is crucial for promotion. Making videos just to post audio is so much extra unnecessary work, and I'm sure its also adding unnecessarily to the bandwidth and storage costs.

I will be trying my best to make this happen.
This makes so much sense.
Musicians like us need this feature.
Begging!


Update Cypress test for check issue 2968.

Motivation and context
Check issue #2968
How has this been tested?

Checklist

[x] I submit my changes into the develop branch
[ ] I have added description of my changes into CHANGELOG file
[ ] I have updated the documentation accordingly
[ ] I have added tests to cover my changes
[ ] I have linked related issues (read github docs)
[ ] I have increased versions of npm packages if it is necessary (cvat-canvas,
cvat-core, cvat-data and cvat-ui)

License

[x] I submit my code changes under the same MIT License that covers the project.
Feel free to contact the maintainers if that's a concern.
[ ] I have updated the license header for each file (see an example below)

# Copyright (C) 2021 Intel Corporation
#
# SPDX-License-Identifier: MIT

Coverage decreased (-0.02%) to 75.412% when pulling 403272b50f24746febd10b1c6feb13d52d8a1e6d on dvkruchinin:dkru/cypress-test-issue-2968 into d320c7efdd5645d4f6764484749ac92ed61c56ad on openvinotoolkit:develop.

@ActiveChooN, please, review the PR.


Plugin doesn't respond

Thank you for good work! I used plagin for a week on Pycharm and Rider IDEs.
It's worked fine but now stop working  on Pycharm. It's happens after tokens limit alert was show.
Now i can't change anything in plugin configuration (Ok Button is not active) and there is no respose on chat.
On Rider plugin working fine.
Pycharm shows three errors:
Pycharm Errors.txt

Weird... I will try to reproduce it locally.
Meanwhile, you could try deleting the CodeGPT settings file (CodeGPTSettings_170.xml) to see if it makes any difference.
https://intellij-support.jetbrains.com/hc/en-us/articles/206544519-Directories-used-by-the-IDE-to-store-settings-caches-plugins-and-logs

Thank you very much! It's working now!

Thanks!!


BTC Relay integration

@rainbeam:

BTC relay is now on mainnet. In principle we can make use of it in Maker Market, to allow BTC as a trading token.
https://github.com/ethereum/btcrelay
btc-relay provides an incentive layer for the publication of Bitcoin block header information to the Ethereum blockchain, acting as a SPV client. This means that we can verify whether a specific bitcoin transaction has taken place. As it is, btc-relay does not enable a BTC token, only transaction verification. In this sense it is read only.
The btc relay api provides a useful method for us:
relayTx(rawTransaction, transactionIndex, merkleSibling, blockHash, contractAddress)

Where contractAddress is an external contract that will be called (a Market endpoint). The rest is transaction related stuff. This could all come from the user, but that would require them to be running a node. Alternatively the user can just provide a tx hash, from which the rest can be derived by using an external source.
Proposed use case:

Seller creates Offer (sell TOKEN for BTC sent to BtcAddress)
Offer goes into OrderBook (maybe separate to regular erc20 orderbook)
Buyer accepts Offer. Offer is locked.
show modal to Buyer: "Send btc to BtcAddress, enter tx hash after 6 confirmations"
Buyer enters tx hash. Frontend gets transaction, e.g. from blockr.io, contructs merkle proof and calls relayTx
on relayTx success, TOKEN is transferred to Buyer, Offer closed
on relayTx failure / no tx entered before Timeout (1.5h?), TOKEN released back to Seller, Offer unlocked.

All the user is required to do is send BTC and then provide the tx hash after 6 confirmations.
Problems:

Transaction takes a long time. btc-relay requires 6 confirmations. I think this is ok as long as traders know about it. Might speed up in future. The real problem here is that Bitcoin is slow.
Reliance on external API. We need this to avoid the user having to supply the full tx info, rather than just the hash. We don't need to trust the provider of that info. This could be turned into a Keeper task.

 BTC Relay integration #87

@rainbeam referenced:
https://github.com/MakerDAO/maker-otc/issues/87

project is on hold, so will close it for now.


Correct bower rx-ember tag in addon blueprint

Blueprint directory wasn't being picked up due to the recent name change. Thanks for making this addon!

Oops, missed that. Thanks
Soon we'll be using the ember-cli addon instead.


(REQ) Event log

is there an event log like if someone takes damage you can see it

You mean a damage log? I can put a simple one in, similarly to the Purchase Log that is in Osiris currently.
#3178

No, like the one OT has where it says who damaged who for how much. If you can make one then please teach me how so I can do it every osiris update, ty

https://i.imgur.com/TjbqIYR.png
I made a simple one that goes in chat, similarly to how the votelogger is made. Is this similar to what you want? If so I will PR it so you can add it.


Update the gradle wrapper to 5.5

I believe there were minor changes to the wrapper binary, can you check?


Completely Support Mobile?

What doesn't support mobile?

We'll likely have a responsive add-on repo at some point—mostly just for the grid—but the timing isn't set in stone just yet.

Well, I'm looking forward.

Punting for now since it's something we'd address in the next major version at best.


image changed for category list

Related Issue
None
Description
Existing image for grocery does not look good and had some issue with layout and fitting within the layout. Now New image is added which would make the list fit with each other.
Type of PR

[X ] Bug fix

Screenshots / videos (if applicable)

Checklist:

[X ] I have performed a self-review of my code
[X ] I have read and followed the Contribution Guidelines.
[X ] I have tested the changes thoroughly before submitting this pull request.
[X ] I have provided relevant issue numbers, screenshots, and videos after making the changes.
[ X] I have commented my code, particularly in hard-to-understand areas.

Additional context:

Closes #738

There have some issues check it once


Error when fetching weather

With the latest available on pip:
$ wwy kolkata
Traceback (most recent call last):
  File "/usr/local/bin/wwy", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.8/dist-packages/wwy/__main__.py", line 146, in main
    display_weather_info(info)
  File "/usr/local/lib/python3.8/dist-packages/wwy/__main__.py", line 118, in display_weather_info
    for line in ascii:
TypeError: 'NoneType' object is not iterable

I apologise fro the inconvenience. What package name are you using? I recently moved the project from wwy to pwy. You can uninstall the old package and install the new one :)

Thanks. GitHub still redirects to this page.

pwy works fine. Any plans to show the local time at the place?

I've added the local time, but I haven't updated the PyPi package yet. I want to get it tested first.
Here's a snippet of it:
	            Cagayan de Oro, PH
	  .-.       Temperature: 23.28°C (24.14°C)
	 (   ).-.   Clouds. Overcast Clouds
	(________)  Pressure: 1012hPa  Humidity: 95%  Wind: 1.2km/h
	            Time: 21:06 PST

Can't wait for it to be available in PyPi!

I've updated the PyPi package. Feel free to create an issue if you found any problems wit it.

This shows the local time. I was suggesting adding the time at the location looked up.

I've fixed the local time. It now shows the time of the location that is being looked up. You can update the package now.


Error about asynchronous inference AsyncInferQueue

为什么异步推理调用完callback后不能有返回值

为什么我用相同的方法获取不到模型输出呢
我用的yolov7应该有三个输出的

What does it mean that you export your model to onnx without a grid layer

yolov7 is compex and unfriendly for onnx conversion, that is why model authors provides several options for model export with export.py script
https://github.com/WongKinYiu/yolov7/blob/main/export.py#L26
By default, if you export model without any additional arguments you got part of model which just contains all layers before "trouble makers", and need inplement postprocessing on own side.You got raw 3 outputs which in original torch moidel pass to Detect layer (need to be postproocessed in similar with this way):
https://github.com/WongKinYiu/yolov7/blob/main/models/yolo.py#L42
or you can add --grid parameter for get single output and postprocess it in way provided in detect.py.
You can see how it is done in our tutorial https://github.com/openvinotoolkit/openvino_notebooks/blob/develop/notebooks/226-yolov7-optimization/226-yolov7-optimization.ipynb

I need to post-process the output of the asynchronous inference, but the callback function does not return a value. How do I get the output of the inference?

in callback you have infer_request.results, which contains dictionary with outputs tensors and their results, postprocessing can be applied to them.
Although it does not allow return values, you can define some storage for results (e.g. list or dict for storing per image results) and use it for pushing results inside call back for future processing (e.g. visualization results)

@DDI1999 do you have any updates?

hi @DDI1999  This sample shows how to run yolov7 with AsyncInferQueue
https://github.com/OpenVINO-dev-contest/YOLOv7_OpenVINO_cpp-python


Add a .codeclimate.yml file to this repo

It is possible to configure how CodeClimate looks at a repository.
These Docs explain how this is done. Please create an appropriate .codeclimate.yml for this repo. It should test the main language of the repo and run tests.

CodeClimate is not available for HTML


Fix compilation errors concerning cleanup

For some reason, the cleanup is messing with compilation. The changes seemed relatively benign, which only adds to the confusion. It gives the error:
futhark/src/futhark.nim(232, 28) Error: expression 'kind["value"].str' is of type 'string' and has to be used (or discarded)

Here's a simple example of what I think is causing the issue:
import macros

const x = 1

proc compileContext(): int =
    case x
    of 1:
        -1
    else:
        error("Compilation error")

macro context() =
    discard compileContext()

context()

Which is malformed to the Nim compiler and gives the error:
Error: expression '-1' is of type 'int' and has to be used (or discarded)

I added the assumed superfluous lines back, and all is well.
My guess is that the compiler can't infer that all case-of branches error or return the correct type at compile time, so an explicit return is required or all branches need to implicitly return the correct type even if they are stopped by error before execution would ever happen.
This works, for example:
import macros

const x = 1

proc compileContext(): int =
    case x
    of 1:
        return -1
    else:
        error("Compilation error")

macro context() =
    discard compileContext()

context()

So does this:
import macros

const x = 1

proc compileContext(): int =
    case x:
    of 1:
        -1
    else:
        error("Compilation error")
        0

macro context() =
    discard compileContext()

context()

Seems like you can disable error returning, which is probably the root cause of the issue.

Which version of Nim are you using? I ran all the tests and tried compiling another project to make sure everything was working after my latest commits.
Something seems to have changed in a recent Nim version which caused the code to spit out warnings, fixing those warnings was not backwards compatible with older Nim versions. I guess keeping the warnings would've been better, I might revert that specific change.

Using 2.0.4 here

Could you try the latest? 2.0.6 as of writing

Sorry for the late response, upgraded to 2.0.8 and all is good. Closing now


NPE in Server tick loop

Describe the bug
We're playing on a server that has the dynamic trees mod. All of a sudden the server crashes.
To Reproduce
Steps to reproduce the behavior:
Join our server. Play for a while and see the server crash...
I don't see any specific action one of the players may have done that triggered the crash.
Screenshots
If applicable, add screenshots to help explain your problem.
crash-2019-05-05_08.42.32-server.txt
https://pastebin.com/j0tHa2dU
crash-2019-05-05_08.39.49-server.txt
https://pastebin.com/uj4RFn01
crash-2019-05-05_07.44.42-server.txt
https://pastebin.com/yQSiXFkr
crash-2019-05-05_07.42.03-server.txt
https://pastebin.com/WAmML185
Rendering Glitches
Are you using Optifine?
Additional context
Add any other context about the problem here.
Crashes

Are you running the latest version of Dynamic Trees?(Currently 0.9.4) 1.12.2-0.9.5
If you are using the DT Biome O' Plenty Add-on do you have the latest version?(Currently 1.4.1e) 1.12.2-1.4.1e
BOP version 1.12.2-<IP_ADDRESS>7-universal

Mods List
The Mods list and forge version are in the uploaded and pastebinned crach reports.
(btw hastebin is broken)

Please edit your issue to make it more concise. Also, please add a mod list and put the logs on hastebin.

I've edited the initial report.

You have many mods. Can you recreate the issue with only Dynamic Trees (and at most one other mod)?


Wrong % used

Your meter shows 5% used of my unlimited with double data plan. 5% of 200000 is 10000gb and I have actually used 571gb or 0.29%

Similar to above.  I have 834GB of 1TB left and it is calculating it as 79.58% rather than 83.4%

Interesting, I'll look into this!
if you can both log into
https://my.aussiebroadband.com.au/usage.php?xml=yes
if you can  paste the xml result you get into this issue, I'll have a better chance at debugging this or alternatively run the dev command and you will see a output in the console.

It's calculating it wrong.
My Rainmeter one and the other one at the start of the thread both calculate it correctly.
I'm sticking with my rainmeter usage meter anyway - just thought you'd like to know.

524278339294
50653804153
200000000
199425067856553
0
0
0
0
2018-04-29 14:41:36
6

usage>
524278339294
50653804153
<allowance1_mb>200000000</allowance1_mb>
199425067856553
0
0
<allowance2_mb>0</allowance2_mb>
0
2018-04-29 14:41:36
6

yeah it was my conversion of <left1></left>, I've fixed it in the latest commit.
Will be all fixed in 0.0.4-alpha which has linux support.
I've honestly never used rainmeter, This will be updated to be more feature full in the future hopefully I can win you over in the future 👍


Update instalation automaticly ends

Update to 0.6.16 will automaticly ends before making the instalation

I have this same issue, I cannot use the auto updater version.

I solved the issue just by manually reinstalling it


docs: updating version to latest available

Please review, @kbrashears5. Thank you!

created new v3.0.0 version, sorry for the delay


Add proposal for allowing implicit self in more circumstances

@dabrahams Thank you for the feedback! I've improved the wording in the places you've noted, and clarified the reasoning for excluding weak self at this point (along with calling it out in future directions).

@Jumhyn this is short notice, but would you be OK with kicking this review off on Monday, October 28?


MongoDB: Add replica set example using docker-compose

I think we should document the current MongoDB docker compose setup @millsp created, it might be the easiest one command setup (if you have docker compose).
Also, because MongoDB Atlas is not great to use for tests, it will suffer with latency and concurrency.
https://github.com/prisma/prisma/blob/main/docker/docker-compose.yml#L91-L99
So
version: '3.7'

services:
  mongodb:
    build: ./mongodb_replica
    environment:
      MONGO_INITDB_ROOT_USERNAME: root
      MONGO_INITDB_ROOT_PASSWORD: root
      MONGO_REPLICA_HOST: localhost
      MONGO_REPLICA_PORT: 27017
    ports:
      - '27017:27017'

Note I changed the port from current setup to use the default port, it's the one people will expect.
https://github.com/prisma/prisma/blob/main/docker/mongodb_replica/Dockerfile
FROM mongo:4

# we take over the default & start mongo in replica set mode in a background task
ENTRYPOINT mongod --port $MONGO_REPLICA_PORT --replSet rs0 --bind_ip <IP_ADDRESS> & MONGOD_PID=$!; \
# we prepare the replica set with a single node and prepare the root user config
INIT_REPL_CMD="rs.initiate({ _id: 'rs0', members: [{ _id: 0, host: '$MONGO_REPLICA_HOST:$MONGO_REPLICA_PORT' }] })"; \
INIT_USER_CMD="db.createUser({ user: '$MONGO_INITDB_ROOT_USERNAME', pwd: '$MONGO_INITDB_ROOT_PASSWORD', roles: [ 'root' ] })"; \
# we wait for the replica set to be ready and then submit the commands just above
until (mongo admin --port $MONGO_REPLICA_PORT --eval "$INIT_REPL_CMD && $INIT_USER_CMD"); do sleep 1; done; \
# we are done but we keep the container by waiting on signals from the mongo task
echo "REPLICA SET ONLINE"; wait $MONGOD_PID;

So when the docker-compose.yml and mongodb_replica/Dockerfile files are created, starting the replica set can be done with the following command
docker-compose up -d

and be accessed with the following conenction url
mongodb://root:root@localhost:27017/mydb?authSource=admin"

Note that this setup is only recommended for development.
Update: this works with MongoDB image v4 and v5 but fails with v6 because of https://www.mongodb.com/docs/manual/release-notes/6.0-compatibility/#legacy-mongo-shell-removed

this setup gives me the following error
Node.js v17.8.0

error Command failed with exit code 1.

warning package.json: No license field

/node_modules/@prisma/client/runtime/index.js:41448

            reject2(new PrismaClientInitializationError(error2.message, this.config.clientVersion, error2.error_code));

                    ^

PrismaClientInitializationError: Database error. error code: unknown, error message: Server selection timeout: No available servers. Topology: { Type: Unknown, Servers: [ { Address: localhost:27017, Type: Unknown, Error: Address not available (os error 99) }, ] }

    at /node_modules/@prisma/client/runtime/index.js:41448:21 {

  clientVersion: '3.12.0',

  errorCode: undefined

}

Please report that at https://github.com/prisma/prisma and we can take a look at it @chaoky

this setup gives me the following error
Node.js v17.8.0

error Command failed with exit code 1.

warning package.json: No license field

/node_modules/@prisma/client/runtime/index.js:41448

            reject2(new PrismaClientInitializationError(error2.message, this.config.clientVersion, error2.error_code));

                    ^

PrismaClientInitializationError: Database error. error code: unknown, error message: Server selection timeout: No available servers. Topology: { Type: Unknown, Servers: [ { Address: localhost:27017, Type: Unknown, Error: Address not available (os error 99) }, ] }

    at /node_modules/@prisma/client/runtime/index.js:41448:21 {

  clientVersion: '3.12.0',

  errorCode: undefined

}

This is much cleaner also uses Mongodb version 5 and no more adding shell scripts on entrypoint. If you used the main mongo docker you will have this error when using version 5
security.keyFile is required when authorization is enabled with replica sets. Bitnami/mongodb is verified so I think its ok to use
version: '3.8'
services:

  database:
    image: 'bitnami/mongodb:latest'
    environment:
      - MONGODB_ADVERTISED_HOSTNAME=<IP_ADDRESS>
      - MONGODB_REPLICA_SET_MODE=primary
      - MONGODB_ROOT_USER=anyuser
      - MONGODB_ROOT_PASSWORD=anypassword
      - MONGODB_REPLICA_SET_KEY=replicasetkey123
    ports:
      - '27017:27017'
    volumes:
      - 'mongo-db:/bitnami/mongodb'

volumes:
  mongo-db:

@masterbater thanks a lot, something similar worked for me (on wsl 2)
services:
  gmb:
    build: .
    restart: always
    ports:
      - 3001:3001
    volumes:
      - ./keypair.json:/keypair.json
      - ./freeze-keypair.json:/freeze-keypair.json
      - ./settings.json:/settings.json
    depends_on:
      - mongo
    environment:
      DATABASE_URL: "mongodb://root:root@host.docker.internal:27017/config?replicaSet=replicaset"

  mongo:
    image: bitnami/mongodb:latest
    environment:
      - MONGODB_ADVERTISED_HOSTNAME=host.docker.internal
      - MONGODB_REPLICA_SET_MODE=primary
      - MONGODB_REPLICA_SET_KEY=replicasetkey123
      - MONGODB_ROOT_USER=root
      - MONGODB_ROOT_PASSWORD=root
    ports:
      - 27017:27017

but there's no host.docker.internal on linux, that will only work for mac/windows

you can use
    extra_hosts:
      - "host.docker.internal:host-gateway"

in the mean time

why do we have to use the host network anyway? this is so unusual

You can use <IP_ADDRESS> or localhost during development.
On Tue, Apr 19, 2022, 9:58 AM Lordie, @.***> wrote:

why do we have to use the host network anyway? this is so unusual
—
Reply to this email directly, view it on GitHub
https://github.com/prisma/docs/issues/3040#issuecomment-1101917426, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AGI6VFHTX4XO76OGTCW2YOTVFYHOBANCNFSM5SVKAUKA
.
You are receiving this because you were mentioned.Message ID:
@.***>

I think it would be great to document the production configuration as well.

@Jolg42 thank you, it works well now.

Following @Jolg42 I have docker compose as
  mongo:
    build: ./mongodb_replica
    environment:
      MONGO_INITDB_ROOT_USERNAME: root
      MONGO_INITDB_ROOT_PASSWORD: example
      MONGO_REPLICA_HOST: localhost
      MONGO_REPLICA_PORT: 27017
    ports:
      - '27017:27017'

And mongodb_repilca folder Dockerfile is:
FROM mongo:4

# we take over the default & start mongo in replica set mode in a background task
ENTRYPOINT mongod --port $MONGO_REPLICA_PORT --replSet rs0 --bind_ip <IP_ADDRESS> & MONGOD_PID=$!; \
# we prepare the replica set with a single node and prepare the root user config
INIT_REPL_CMD="rs.initiate({ _id: 'rs0', members: [{ _id: 0, host: '$MONGO_REPLICA_HOST:$MONGO_REPLICA_PORT' }] })"; \
INIT_USER_CMD="db.createUser({ user: '$MONGO_INITDB_ROOT_USERNAME', pwd: '$MONGO_INITDB_ROOT_PASSWORD', roles: [ 'root' ] })"; \
# we wait for the replica set to be ready and then submit the commands just above
until (mongo admin --port $MONGO_REPLICA_PORT --eval "$INIT_REPL_CMD && $INIT_USER_CMD"); do sleep 1; done; \
# we are done but we keep the container by waiting on signals from the mongo task
echo "REPLICA SET ONLINE"; wait $MONGOD_PID;

With DATABASE_URL=mongodb://root:example@mongo:27017/majoklis_db?authSource=admin
I cant get this to work after countless hours (this has been so far the most difficult database setup I have experienced yet :/ )

root@bb9c8e39cee1:/app/ss-ad-scraper# npx prisma db push
Prisma schema loaded from prisma/schema.prisma
Datasource "db": MongoDB database "majoklis_db" at "mongo:27017"
Error: MongoDB error
Kind: Server selection timeout: No available servers. Topology: { Type: ReplicaSetNoPrimary, Set Name: rs0, Max Set Version: 1, Max Election ID: 7fffffff0000000000000001, Servers: [ { Address: localhost:27017, Type: Unknown, Error: Kind: I/O error: Cannot assign requested address (os error 99), labels: {} } ] }, labels: {}
   0: schema_core::commands::schema_push::Calculate `from`
             at schema-engine/core/src/commands/schema_push.rs:29
   1: schema_core::state::SchemaPush
             at schema-engine/core/src/state.rs:436

👋 we're cleaning up our backlog of issues and are closing everything older than two years. If you still feel that this issue is relevant, please feel free to re-open and our team will take a look. Thank you!


Finding Color Objects in a scene python blobs issue

https://robotacademy.net.au/masterclass/color/?lesson=727
the python code has an issue where the blobs function is dividing by 0 for some reason and is throwing an error, the rest of the code should all be working

Might be because of single pixel blobs. That needs fixing.

It was a relatively quick fix, ill submit a correction for the machinevisiontoolbox

I have submitted a pull request to the machinevisiontoolbox github, will close this issue down once the pull has been completed

xref https://github.com/petercorke/machinevision-toolbox-python/pull/5


error: 'BPF_FUNC_send_signal' was not declared

Building master (d95a2d1) on Ubuntu 19.10 currently fails with:
/home/mw/bpftrace/src/ast/irbuilderbpf.cpp: In member function 'void bpftrace::ast::IRBuilderBPF::CreateSignal(llvm::Value*)':
/home/mw/bpftrace/src/ast/irbuilderbpf.cpp:669:16: error: 'BPF_FUNC_send_signal' was not declared in this scope
  669 |       getInt64(BPF_FUNC_send_signal),
      |                ^~~~~~~~~~~~~~~~~~~~
make[2]: *** [src/ast/CMakeFiles/ast.dir/build.make:89: src/ast/CMakeFiles/ast.dir/irbuilderbpf.cpp.o] Error 1

Weird, cmake should detect whether that feature is available. I'll try to reproduce it

It can be reproduced in a ubuntu:19.10 docker container by following the official build steps from https://github.com/iovisor/bpftrace/blob/master/INSTALL.md#ubuntu
Please let me know if you need any more info from me.

Hmm what happens here is that your kernel supports send_signal but bcc does not:
$ grep -ri 'FN(send_signal' /usr/include/
/usr/include/linux/bpf.h:	FN(send_signal),

Compared to cgroupid
$ grep -ri 'FN(get_current_cgroup' /usr/include/
/usr/include/linux/bpf.h:	FN(get_current_cgroup_id),	\
/usr/include/bcc/compa1t/linux/bpf.h:	FN(get_current_cgroup_id),	\
/usr/include/bcc/compat/linux/virtual_bpf.h:	FN(get_current_cgroup_id),	\

We're using the kernel headers to verify whether the option is present but use the bpf.h shipped with bcc in the code generation.
I guess we could first check whether the kernel has the feature. If it does we check bcc. If bcc has it we set the flag. If bcc doesn't we emit a warning advising the user to upgrade to a bcc that has been synced with their kernel to enable more features.
Or maybe we can use the bpf.h shipped with the kernel.

Found the same problem in my Ubuntu 19.10 QEMU env.

I tried switching irbuilderbpf.h to the systems <linux/bpf.h> and it seems to work fine, except for the static build. The build can be found here
@ajor / @danobi  any objections to switching to the system bpf.h for irbuilder ?

Sounds good to me as long as the static build can be fixed

once #1063 lands the static build issue can probably be revisited to see if it is still an issue.