Error for 1 certificate in cron, not manually

My cron file renews 5 certificates at the same time. I received 4 mails successfully, and one with these error messages. But when I renew this certificate manually by running the config.yml file, it happens without error.
====== mail with errors =======
/home/myapp/ruby-2.3.1/lib/ruby/gems/2.3.0/gems/acme-client-0.6.2/lib/acme/client/faraday_middleware.rb:43:in `raise_on_error!': Error creating new registration (Acme::Client::Error::ServerInternal)
	from /home/myapp/ruby-2.3.1/lib/ruby/gems/2.3.0/gems/acme-client-0.6.2/lib/acme/client/faraday_middleware.rb:33:in `on_complete'
	from /home/myapp/ruby-2.3.1/lib/ruby/gems/2.3.0/gems/acme-client-0.6.2/lib/acme/client/faraday_middleware.rb:18:in `block in call'
	from /home/myapp/ruby-2.3.1/lib/ruby/gems/2.3.0/gems/faraday-0.13.1/lib/faraday/response.rb:61:in `on_complete'
	from /home/myapp/ruby-2.3.1/lib/ruby/gems/2.3.0/gems/acme-client-0.6.2/lib/acme/client/faraday_middleware.rb:18:in `call'
	from /home/myapp/ruby-2.3.1/lib/ruby/gems/2.3.0/gems/faraday-0.13.1/lib/faraday/rack_builder.rb:141:in `build_response'
	from /home/myapp/ruby-2.3.1/lib/ruby/gems/2.3.0/gems/faraday-0.13.1/lib/faraday/connection.rb:387:in `run_request'
	from /home/myapp/ruby-2.3.1/lib/ruby/gems/2.3.0/gems/faraday-0.13.1/lib/faraday/connection.rb:174:in `post'
	from /home/myapp/ruby-2.3.1/lib/ruby/gems/2.3.0/gems/acme-client-0.6.2/lib/acme/client.rb:56:in `register'
	from /home/myapp/ruby-2.3.1/lib/ruby/gems/2.3.0/gems/letsencrypt_webfaction-2.2.3/lib/letsencrypt_webfaction/application.rb:70:in `register_key!'
	from /home/myapp/ruby-2.3.1/lib/ruby/gems/2.3.0/gems/letsencrypt_webfaction-2.2.3/lib/letsencrypt_webfaction/application.rb:26:in `run!'
	from /home/myapp/ruby-2.3.1/lib/ruby/gems/2.3.0/gems/letsencrypt_webfaction-2.2.3/exe/letsencrypt_webfaction:5:in `<top (required)>'
	from /home/myapp/.letsencrypt_webfaction/gems/bin/letsencrypt_webfaction:23:in `load'
	from /home/myapp/.letsencrypt_webfaction/gems/bin/letsencrypt_webfaction:23:in `<main>'

Based on the error class: Acme::Client::Error::ServerInternal, I'd think that this was a transient error due to upstream breaking. Are you seeing this consistently or was this a one-off?
If the latter, I'd ignore it unless it happens again.

Thanks William,
very happy with your work on Lest'sencrypt !!!


Can anyone answer this question? Regarding Flatlist and Peformance

https://stackoverflow.com/questions/51290320/flat-list-is-not-smooth-as-the-error-says

Sorry but GitHub issues are for bugs tracking only.
Questions should stay on StackOverflow, let's close this.


feat: support to send logs

[ ] Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
[ ] Ensure that the pull request title represents the desired changelog entry
[ ] Please describe what you did
[ ] Link to relevant issues in GitHub or Jira
[ ] Link to relevant pull requests, esp. upstream and downstream changes
[ ] Ensure you have provided tests - that demonstrates feature works or fixes the issue

I stop touching the send-build-logs-to-otel branch so that we don't conflict. I'll resume once you have merged.
Please have a look at this proposal I just added:

https://github.com/jenkinsci/opentelemetry-plugin/pull/306

superseded by https://github.com/jenkinsci/opentelemetry-plugin/pull/307


Set up production environment

map.wheatoncollege.edu
Will use Bedrock / Roots stack (Set up as multi-site)
Run under a different user than rest of the site, like NESamplerTour

Just do it on the normal server/wp install!

Production server has been setup.


Alternative types registration via interface merging

Problem
Hey there, while using the package I noticed that creating a const and a payload interface for each method is pretty verbose and a bit unreadable once the number of methods rises, especially if events have long names.
Example
interface BasePayload {
  prop0: number;
}

interface MyClientMethod1Payload extends BasePayload {
  prop1: number;
}
export const MyClientMethod1: SignalRClientMethod<MyClientMethod1Payload> =
  'myClientMethod1CalledFromTheServer';

interface MyClientMethod2Payload extends BasePayload {
  prop2: number;
}
export const MyClientMethod2: SignalRClientMethod<MyClientMethod2Payload> =
  'myClientMethod2CalledFromTheServer';

export const MyClientMethod3: SignalRClientMethod<BasePayload> =
  'myClientMethod3CalledFromTheServer';

Proposal
I got inspired by Laravel registering patterns and thought of an API which leverage interface merging to provide autocomplete on signalr.on/off and signalr.invoke.
If you expose 2 "map" interfaces (eg. named SignalRClientMethods and SignalRServerMethods), you can then allow devs to augment those interfaces with their types there, and extract them later on
Example
import { SignalRClientMethods, SignalRServerMethods, mapMethod, mapMethods } from '@quangdao/vue-signalr'

interface MyClientMethod1Payload extends BasePayload {
  prop1: number;
}

interface MyClientMethod2Payload extends BasePayload {
  prop2: number;
}

interface BasePayload {
  prop0: number;
}

interface SignalRClientMethods {
  MyClientMethod1: MyClientMethod1Payload, // Define an existing event and it's payload
  MyClientMethod2: MyClientMethod2Payload,
  MyClientMethod3: BasePayload,
  MethodWithoutPayload: false, // Define an existing event with no payload
}

interface SignalRServerMethods {
  'ChangeIncomingJobCount': ChangeIncomingJobCount,
}

// This would allow to easily rename/alias names coming from the server to ones following the client code conventions
mapMethod('myClientMethod1CalledFromTheServer', 'MyClientMethod1')

// or

mapMethods([
  ['myClientMethod1CalledFromTheServer', 'MyClientMethod1'],
  ['myClientMethod2CalledFromTheServer', 'MyClientMethod2'],
  ['myClientMethod3CalledFromTheServer', 'MyClientMethod3'],
])

// or

mapMethods({
  myClientMethod1CalledFromTheServer: 'MyClientMethod1',
  myClientMethod2CalledFromTheServer: 'MyClientMethod2',
  myClientMethod3CalledFromTheServer: 'MyClientMethod3',
})

signalr.on/off signature would then become
// Needed to prevent TS to collapse `'value1' | 'value2' | string` to `string`, which breaks first parameter autocomplete
// See: https://github.com/microsoft/TypeScript/issues/29729#issuecomment-832522611
export type LiteralUnion<T extends U, U = string> =
  | T
  | (U & Record<never, never>);

function on<K extends LiteralUnion<keyof SignalRClientMethods>>(
  target: K,
  callback: (
    arg: K extends keyof SignalRClientMethods
      ? SignalRClientMethods[K] extends false
        ? undefined
        : SignalRClientMethods[K]
      : any
  ) => void
) {
  // stuff
}

// Usage, first parameter will get autocomplete suggestions
on('mystring', (anyPayload) => {}); // method name not found, `any` type payload is used
on('MethodWithoutPayload', (noPayload) => {}); // method name resolves to `false` payload, `undefined` type is used
on('MyClientMethod1', ({ stuff }) => {}); // method name resolves to existing payload interface, the interface is used

signalr.invoke is similar, but based on SignalRServerMethods keys

Other
Personally, I'd rename "client methods" to "events" and "server methods" to "commands" for better readability.
This would make "map" interfaces names to become SignalREvents and SignalRCommands

I rewrote the package suited to my needs, feel free to take what you need (and give me feedback if you find some bugs)
https://github.com/dreamonkey/vue-signalr


[CBR-505] Extend LocalTimeInformation in node-info API

Description

it would be nice if the frontend got more descriptive information out of the ntp api endpoint. The ntp client exposes:
    data NtpStatus =
          -- | The difference between NTP time and local system time
          NtpDrift NtpOffset
          -- | NTP client has send requests to the servers
        | NtpSyncPending
          -- | NTP is not available: the client has not received any respond within
          -- `ntpResponseTimeout` or NTP was not configured.
        | NtpSyncUnavailable deriving (Eq, Show)```

At the moment the node maps both NtpSyncPending and NtpSyncUnavailable to null, but it would be better if null mean just one thing, and that NtpSyncPending was also revealed to the wallet.
Linked issue

CBR-505
Type of change

[ ] 🐞 Bug fix (non-breaking change which fixes an issue)
[x] 🛠 New feature (non-breaking change which adds functionality)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)
[ ] 🏭 Refactoring that does not change existing functionality but does improve things like code readability, structure etc
[ ] 🔨 New or improved tests for existing code
[ ] ⛑ git-flow chore (backport, hotfix, etc)

Developer checklist

[ ] I have read the style guide document, and my code follows the code style of this project.
[ ] If my code deals with exceptions, it follows the guidelines.
[ ] I have updated any documentation accordingly, if needed. Documentation changes can be reflected in opening a PR on cardanodocs.com, amending the inline Haddock comments, any relevant README file or one of the document listed in the docs directory.
[ ] CHANGELOG entry has been added and is linked to the correct PR on GitHub.

Testing checklist

[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

QA Steps

The localTimeInformation field can now have three different shapes:
{ "status": "unavailable" }
{ "status": "pending" }
{ "status": "available", "localTimeDifference": { "quantity": 14, "unit": "microseconds" } }

The two former are a refinement over the old null. Note that, when passing the force_ntp_check flag, the API call is blocking, so the API will return either an "unavailable" status or "available" one.
Screenshots (if available)

The API docs now looks like this:

How to merge
Send the message bors r+ to merge this PR. For more information, see
docs/how-to/bors.md.

bors r+

bors r+


Nested modal not working

Package
Other
Package Version
v2.16.42
Laravel Version
v8.0
Livewire Version
v2.0
PHP Version
PHP 8.1.0
Problem description
Nested modal not working after this commit
v2.16.42 modal not working

v2.16.41 modal working

Expected behavior
Nested modal should open from inside modal
Steps to reproduce
Open create create from inside modal
Reproduction repository
https://github.com/AAbosham/filament-deme-nested-modal-isssue
Relevant log output
No response

Where do we go in the reproduction repo to reproduce this issue? Looks like you've just cloned the demo.

If we don't have code & instructions to reproduce this with, the issue will be closed

I only add this action
 Tables\Actions\ViewAction::make('comments')
                    ->modalContent(fn ($record) => view('test', compact('record'))),

It's not possible to nest tables within table actions, since that would break W3 guidelines on nesting <form> elements:

In v3 we will aim to support this using Livewire v3's upcoming "teleport" feature.


Improve request.location(), add request.paranoid_location()

The original impetus for this was to fix exceptions thrown due to HTTP headers set by cruddy proxies, e.g.:

an exception would be thrown when HTTP_X_FORWARDED_FOR was set to ","

Other problems noticed along the way, and fixed:

location is vulnerable to trivial IP spoofing via HTTP headers; this has been added to the docs, and an alternate but less accurate paranoid_location provided.

location did not filter out proxies trusted by Rack, so for people running Rack behind their own proxy (as recommended, but frequently ignored), location would always return the location of that proxy.  location and paranoid_location now respect Rack/Rails trusted_proxies config

there's a whole zoo of nonstandard HTTP headers used by proxies to store the upstream address, a few more of them are checked now.

This is a great pull request. Thanks for the thorough testing and documentation. The only question I have is whether the new method should be called safe_location instead of paranoid_location since one need not be paranoid to use it, only prudent. I think it makes the same point, and perhaps more clearly. Any thoughts on that?

Oh, I have no attachment to the method name at all.  By all means, change it to whatever fits your house style; I just went with a convention I'd used on other projects.

OK, cool. I renamed the method. Thanks!


Map-like overview for providers

Is your feature request related to a problem? Please describe.
As a production application grows in complexity, and multiple developers collaborate on a project, maintaining an overview of the various providers can become a quite cumbersome task.
E.g. watch relationships modifying the lifetime of otherwise autodisposed providers can be hidden in "small" sub-providers, sometimes causing you to have to search through every usage of a provider with grep.
Describe the solution you'd like
A map-like overview showing the network of Providers and how they are interconnected, including which types of relationships, e.g. read vs watch.
Describe alternatives you've considered
I have no alternatives considered.
Additional context
I am aware this may be for an additional package, and not directly inside Riverpod. Posting here as maybe someone from the community would be interested in doing it. I would be interested, however i am not sure about the technical feasibility.
I made a similar project a few years back for Java Spring based microservices, in which we mapped endpoints in services to provide an overview in complex microservice architectures. That looked smth like:

There you go https://github.com/rrousselGit/riverpod/tree/master/packages/riverpod_graph :)


Enhancement: Diffie-Hellman Key Exchange - Basic C Implementation

Topic: Diffie-Hellman Key Exchange in C Programming
Difficulty Level of Algorithm: Medium Level
Time Complexity:  O(log n)
Is your feature request related to a problem? Please describe.
The current implementation of the Diffie-Hellman Key Exchange algorithm in the GitHub repository lacks a basic C implementation. This hinders users who are looking for a simple implementation of this cryptographic algorithm to understand and experiment with the concept. Thus, there is a need to provide a basic C implementation of the Diffie-Hellman Key Exchange algorithm in the repository.
Describe the solution you'd like
It is suggested to add a basic implementation of the Diffie-Hellman Key Exchange algorithm in C language to the repository. This implementation should include the necessary functions and logic to generate private keys, calculate public keys, and compute the shared secret key between two parties. It should be well-documented and include appropriate comments to aid users in understanding and utilizing the algorithm.
Describe alternatives you've considered

Utilizing an existing library: Instead of implementing the Diffie-Hellman Key Exchange algorithm from scratch, users could be directed to well-established cryptographic libraries like OpenSSL. However, providing a basic implementation in C would serve as a valuable learning resource and offer a starting point for those interested in understanding the algorithm.

Additional context
Including a basic C implementation of the Diffie-Hellman Key Exchange algorithm in the repository would be beneficial for users who prefer a lightweight and self-contained solution. It would foster learning and experimentation, allowing users to explore the algorithm's functionality and gain a better understanding of its cryptographic principles.

Serve as a foundation for further enhancements and optimizations, with the potential for community contributions to improve the code, optimize performance, and handle edge cases.
Empower users to have a hands-on experience and gain practical insights into the Diffie-Hellman Key Exchange algorithm by providing a clear and comprehensively documented implementation with usage instructions and examples.

Hello @96vksingh @rohitbabugaddeti @Hannibal404 @Kumar-laxmi,
I hope this message finds you well. I wanted to bring your attention to the issue I recently created titled "Enhancement: Diffie-Hellman Key Exchange - Basic C Implementation" in the "Algorithm" repository. I believe this issue is well-suited for the Social Summer of Code'23 program, and I am eager to contribute to it. Therefore, I kindly request that this issue be assigned to me for implementation.
Thank you for your consideration.
Best regards,
Neeraj Meena

refer #687


Add retry to loadfromhub, it sometimes fails in CI

Yea can do but either way it's good for this to retry when users are using it


Visual Expressions Editor: two issues with animations that have blendshape values over 100

I have an avatar that requires a blink blendshape to be set to 110 for the eyes to actually be closed.
Animation that has a blendshape value 0 on the first frame and 110 on the second will break the bar used to change the blendshape value in the editor. The bar is replaced with just the text [0 : 110]:

If you load a 2 frame animation where both frames have a blendshape value over a 100, the editor will silently change the values to 100 and will not allow setting values above 100.
You could add a setting under advanced to allow blendshapes to have values over a 100 in the editor. That setting could be disabled by default but should be enabled automatically if an animation with a value over a 100 is loaded. When an animation with a blendshape value of over 100 is loaded, don't automatically change it to 100.

Hello, regarding this:

The non-editable [0 : 110] is intentional, Visual Expressions Editor is not flexible enough to allow editing curves which keyframes have different values, so this displays a representation of the min-max range of keyframes values instead. The traditional animation editor must be used to edit these animations, at least in this version of the Visual Expressions Editor. I have plans for adding means of editing non-constant face expressions in a distant future.
The "silently change" issue will be fixed in the next update.

I do have a question though, I had been told that animating a blendshape outside of the [0:100] range only works in editor, but not in-game where it's clamped.
Were you able to effectively confirm that your animation does work in-game with the 110 value?

You are right of course. I assumed it worked outside the range because the original avatar creator had done it so and in unity there's a visible gap between the eyelids at 100. But I just tested it by setting a value to 200 with an animation and it was definitely clamped to 100 in game.

Hi, thank you for confirming so ⭐
Despite this I will fix the problem where the values are silently changed since this is not intentional.


python310Packages.requests-cache: 0.9.7 -> 0.9.7, python310Packages.cattrs: 22.1.0 -> 22.2.0

Description of changes

https://github.com/requests-cache/requests-cache/blob/main/HISTORY.md#097-2022-10-26
https://github.com/agronholm/exceptiongroup/blob/main/CHANGES.rst
https://cattrs.readthedocs.io/en/latest/history.html#id1

Things done

Built on platform(s)

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

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

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

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

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

[x] Fits CONTRIBUTING.md.

@ofborg build python310Packages.requests-cache home-assistant


Update test recordings for Schema Registry.

Description
Update test recordings for Schema Registry to use test proxy.
All SDK Contribution checklist:

[x] The pull request does not introduce [breaking changes]
[x] CHANGELOG is updated for new features, bug fixes or other significant changes.
[x] I have read the contribution guidelines.

General Guidelines and Best Practices

[x] Title of the pull request is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[x] Pull request includes test coverage for the included changes.

API change check
API changes are not detected in this pull request.


Refactor WeChatClient, wrap it as WeChat struct

@homu r+

:pushpin: Commit 9bafbc6 has been approved by messense

@homu retry

Hi! Sorry for off-topic, but I noticed that this pull request was not recognized by Homu, so I wanted to know the reason.
It seems that there was a bug of the recently added "rebase rather than merge" feature, and it made Homu fail to test this repository. This bug is fixed now, but I want to check if my assumption is correct. Did you happen to turn on the feature on homu.io when you tried to use Homu?
Again, sorry for the noise, and thanks in advance!

Yes, I was using the rebase feature.

Nice to know, thanks!


Feature/client pagination

This is a branch to get the proteus admin interface to scale better.
Related epic: https://github.com/TheTorProject/proteus/issues/21

I am going to merge this.


clarify why this is needed

I do not get ads (for now). so can you clarify why this is needed? one of my lists hasnt even been updated in 12 days:
uBlock Origin: 1.53.0
Firefox: 101
listset (total-discarded, last-updated):
 default:
  user-filters: 29-0, never
  ublock-filters: 36499-76, 2d.4h.22m
  ublock-badware: 7526-10, 2d.4h.21m
  ublock-privacy: 662-0, 5d.14h.51m
  ublock-unbreak: 2197-0, 2d.4h.20m
  ublock-quick-fixes: 114-1, 9h.56m
  easylist: 75490-702, 11h.57m
  easyprivacy: 32876-724, 4d.14h.52m
  urlhaus-1: 10890-0, 22h.28m
  plowe-0: 3721-1, 12d.14h.56m

This is needed if you have disabled your adblocker for youtube.

This is needed if you have disabled your adblocker for youtube.

why would anyone do that? you can enable the blocker and still use the site as expected, which was the point of my original comment

The extension is a workaround for when traditional Adblocker's aren't allowed see https://github.com/rkk3/ad-accelerator#background. Youtube has been gradually rolling out their prohibition on Adblockers since this summer and isn't enforcing it consistently for everyone yet.

I have gotten those notifications on the YouTube site for a while, and updating the the blocker resolved the issue. it was a cat and mouse game for some weeks, but at least for now uBlock Origin seems to have "won". do you have evidence otherwise?


Discussion: Suggestions regarding new forms of hierarchical/relational NFTs, natively

Algorand is more and more establishing itself as the best platform for representing ownership of arbitrary things of value. With its low fees, instant finality, 0 forking, scalability, approach to storage (vault, compact-cert, RtbF), etc; it is taking tokenization to another level.
I'm very fascinated by these supply chain partnerships:

Italia Oliviacola
VeriTx
Carnes Validades
Authentium
Blockchain Plaza
Liquid Vineyards

Consider the following scenario:
You have a tea farm. On that farm, you own a 1000 year old tea tree whose tea is super expensive. Every time you harvest it, you create an NFT representing a specific batch of tea.  In fact, maybe you have tokenized the tree and so there are other stakeholders that get a share of the profit from the tree.
You sell these off to the next layer in the supply chain - a packaging firm. The packaging firm has eco-grade containers that is good for the environment. They mate the tea leaf batch NFT + 30 empty containers -> 30 containers of excellent tea, child tokens. As part of this mating, the parent tokens are destroyed. But there is still a reference to them in the child tokens.
The containers are shipped to my local fancy tea shop. I show up and buy a container of fine tea in an atomic transaction, X Algo for the tea.
I come home, curious to see where the tea came from. Well, using your token, you should be able to find the parent tokens, and in turn be able to see that your tea did in fact come from the your tea farm, as well as the eco-grade packaging (might have been recycled plastic, its own parent-child relationship).
This can extend to other cases as well. For example, consider a dairy cow NFT that is "harvested" for milk tokens/milk batch NFTs.  It is consuming water (scarce resource in some places), feed and medicine, so we have a partial-group destruction (cow lives, other assets are consumed in the mating). One day the cow will be "economically nonviable" and slaughtered (single parent being destroyed) resulting in child tokens being created representing the cow's organs and muscles, that in turn get sold. Maybe the origin of the feed itself is sensitive, maybe the end-customer wants to be sure it's not soy feed coming from the Amazon Rainforest land that was burnt down.
So as you can see, in supply chains you have chains and cycles of products that go into other products. There are Harvestable Tokens, tokens able to produce new NFTs*. Tokens can be mated, that is, create new tokens into existence at the cost of one themselves (group destruct transaction). And there is always this hierarchical/relational structure to things, you might call it a parents-children/many-to-many relationship.
I believe embedding these types of hierarchical/relational/temporal activities natively in the Algorand blockchain would be very helpful, especially in lowering the barrier-of-entry for developers.
I'd like to hear people's thoughts. I'm sure there are some storage concerns that come with inserting the extra information necessary to make it happen into the tokens themselves.
* If it was just producing FTs it would be easy to implement actually. Just mint the FTs and hold them in reserve. Assign the reserve address to a smart contract. Create a governance token for that smart contract, i.e. the Harvestable token. I believe that it might require more work to mint a new NFT, with new addresses and hash values and so on.

So thinking it over, would be nice to be able to:

set a parent-pointer. However, not anyone can make a parent-pointer pointing just anywhere.
run a group deletion+minting transaction that takes in arbitrary input tokens and destroys them while simultaneously creating arbitrary output tokens. We call this group transaction a Transmutatation.

The parent-pointer can:

point from one NFT to a parent NFT, but ONLY if it was "harvested" from that NFT.
point from one NFT to a parent transmutation event.

So introduce:

A parent/pointer address.
A harvest address for each NFT. The harvest address has the privilege to harvest new tokens whose parent addresses are set to the token.
The transmutation group transaction, which takes in an arbitrarily sized input of tokens that are destroyed in favor of new tokens whose parent address -> the transmutation ID*

Lifecycle of dairy cow:

Is continuously "harvested" for milk tokens by the harvester address, producing milk tokens with parent pointers to the cow.
Is finally "transmuted" into a group of meat/organ tokens*, which have their parent address pointing to the transmutation tx id.

* Question: How will this interfere with the right to delete tokens? Should we connect it to the the harvest address, so that only the harvest address is allowed to harvest (create a new token pointing to this token) AND is allowed to transmute it (which would destroy the token).
You could have a smart contract as the harvest address, and it will only approve transmutations IF the right group of tokens are involved as input and are created as an ouput.

If the case is still relevant, please open a topic on the forum


Shush minor stdout noise on builds

@ixdy

LGTM

The ./hack/build-go.sh phase of Shippable passed. Good enough for me.


Throttling issues for facebook avatars

Is there any restriction get retrieving the facebook avatars?
Out of 30 request, we get 20 times the facebook logo.
Is it might be the case that facebook is requesting for login?
Any theories?

no idea about that – I guess they are rate limit get the avatar in some way

I need some feedback to know if this is still happening.
@jluisestrada did you get something like that these days?


Less global prerequisites

The gulp commands will now work without global installation of typescript and tslint

Deleted the branch by mistake..


Adding colon in attributes breaks syntax highlighting

Here is a test case
<template>
  <v-layout>
    <v-sider style="overflow-y: scroll">
      <AddNewDataSource />
      <TreeView :sourceData=this.globalData />
    </v-sider>
    <v-content>
      <GraphView :sourceData=this.graphData />
    </v-content>
    <v-sider>
      abc
    </v-sider>
  </v-layout>
</template>

...and here is what happens

I think your syntax is wrong. You need double/single quotes around the value like so:
<TreeView :sourceData="this.globalData" />
Also see #58.

Oh! Never noticed that. Thanks 👍
Well there's a question -  If it works works without quotes, don't you think it is a valid vue syntax? The docs may not use it, but it still could be valid. And if that's the case, don't you think that syntax highlighting should not break like that?

I've never used it that way -- can you find a doc or official example that include such usage? If so I'll add support.


New rule suggestion: no-spaces-in-singleline

Currently, the following will cause a generic React Native error on Android, with no line number or file. This makes debugging difficult:
<Tag> {children}</Tag>
(see https://github.com/facebook/react-native/issues/18773)
It would be nice if tslint could catch these extra spaces in single-line JSX for me.
Alternatively, a more brutish approach could be to disallow single line JSX entirely, but that isn't a great solution.
*by single-line JSX I mean lines with the opening and closing tags on the same line

Seems to be addressed in ESLint according to that issue thread you linked. Also closing due to #210

Fair enough, thanks @adidahiya


Support for typed array, DataView and ArrayBuffer in isEquals: take 2

supersedes #2693 fixes #2692 , feedback welcome,

Looking good! Let's add one more check to make sure ArrayBuffer is an object that exists in the runtime before starting, and I think we're there.

Yes I see the error. What's the best way to check. window.ArrayBuffer or root.ArrayBuffer? And I also have to skip the tests, there I don't have a reference to root, can I use window?

Why don't you test and cache a typeof ArrayBuffer check up at the top of Underscore, and then just check the variable within the deepEquals. You can't use window.

Great. Do you mind cleaning up the formatting and making it nice -- like the rest of the surrounding code? Spaces near parens, semicolons, and so on...

Yeah, installing eslint as we speak, the only issue that I don't know to tackle yet is node 0.8 which doesn't seem to support isView.

Coverage increased (+0.04%) to 96.801% when pulling 81e5bf79e9cb8918ba1b9709e8706450b04ec665 on maartenbreddels:typed_array_eq into 20e7c6e164085e832b6140acc690d6f66f7f6c63 on jashkenas:master.

the only issue that I don't know to tackle yet is node 0.8 which doesn't seem to support isView.

It doesn't? That seems like a bit of a dealbreaker.

Coverage increased (+0.05%) to 96.812% when pulling d73f20cd67361e879aca6c93d5302c84831e6703 on maartenbreddels:typed_array_eq into 20e7c6e164085e832b6140acc690d6f66f7f6c63 on jashkenas:master.

Do we care to support node 0.8? Last release was 2014.

Do we care to support node 0.8? Last release was 2014.

Fair enough, then.

Do we care to support node 0.8? Last release was 2014.

Fair enough, then.

Moot point since d73f20c solves that case too, right?

It seems like everyone was OK with this PR. Any chance of getting it merged?

@jashkenas Could you have another look and confirm that you still approve of this? If you do, I can take care of the merge conflicts.
I can also add isTypedArray to the exports and polish its implementation a little bit, if you like. Personally, I'd make that a condition for merging.

Sounds like a fine plan to me. It would also be great if we could drop that big list of toString fallback name checks, if they’re not necessary for modern JS environments anymore.


[WIP] [JSON] Raise exceptions when "sibling" keywords are unhandled

WIP BECAUSE THIS DEPENDS ON STILL-OPEN PR #1061
When an applicator has sibling keywords, JSON schema mandates that both sets of keywords are respected, e.g.
{
   "$defs": {"foo": {"type": "integer"}},
   "$ref": "#/$defs/foo",
   "minimum": 5
}

In this schema, "minimum" is a "sibling" to the "$ref", and we need to enforce BOTH the schema in the definition AND the "minimum" keyword.
There are some trivial examples of this general problem, and we can provide implementations for them (in this PR, I also include an implementation for combinations of the "type", "const", and "enum" keywords, which addresses the enum part of #1038). But when no implementation is provided, we need to raise an exception to prevent "type 1 errors" (the LLM is happy to generate an instance that might not validate against the full schema).
There are a number of tests in the TestRefs class that have to be xfailed due to this stricter behavior. In time, we can add more implementations that handle siblings, reducing the number of xfails.

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
Attention: Patch coverage is 93.97590% with 5 lines in your changes missing coverage. Please review.

Project coverage is 61.46%. Comparing base (855ce5b) to head (8c84aef).
Report is 1 commits behind head on main.

Files with missing lines
Patch %
Lines

guidance/library/_json.py
93.97%
5 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1063      +/-   ##
==========================================
- Coverage   65.33%   61.46%   -3.88%
==========================================
  Files          63       63
  Lines        4795     4842      +47
==========================================
- Hits         3133     2976     -157
- Misses       1662     1866     +204

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

@riedgar-ms ready :)


Cant connect from mobile-network (iOS & windows)

Describe the problem
I tried connecting my mobile (iOS) and found that i cant connect any peer.
I double checked an connected my windows laptop via mobile-phone hotspot and faced the same issue.
A clear and concise description of what the problem is.
To Reproduce
Steps to reproduce the behavior:
Connect via Mobile Network Provider.
Expected behavior
Connect the peers.
Are you using NetBird Cloud?
Self-Hosted
NetBird version
netbird version
NetBird status -d output:
latest, installed on 19.05.25 (Quickstart)
Additional context
iOS Logs:
2024-05-20T07:17:32Z DEBG client/internal/login.go:93: connecting to the Management service https://my.domain.com:443
2024-05-20T07:17:32Z DEBG client/internal/login.go:34: connected to the Management service https://my.domain.com:443
2024-05-20T07:17:32Z INFO client/ios/NetBirdSDK/client.go:89: Starting NetBird client
2024-05-20T07:17:32Z DEBG client/ios/NetBirdSDK/client.go:90: Tunnel uses interface: utun7
2024-05-20T07:17:32Z DEBG client/internal/login.go:93: connecting to the Management service https://my.domain.com:443
2024-05-20T07:17:32Z DEBG client/internal/login.go:34: connected to the Management service https://my.domain.com:443
2024-05-20T07:17:32Z DEBG client/internal/login.go:93: connecting to the Management service https://my.domain.com:443
2024-05-20T07:17:32Z DEBG client/internal/login.go:63: connected to the Management service https://my.domain.com:443
2024-05-20T07:17:32Z INFO client/ios/NetBirdSDK/client.go:118: Auth successful
2024-05-20T07:17:32Z INFO client/internal/connect.go:115: starting NetBird client version v0.27.5 on ios/arm64
2024-05-20T07:17:32Z DEBG client/internal/connect.go:176: connecting to the Management service my.domain.com:443
2024-05-20T07:17:33Z DEBG client/internal/connect.go:184: connected to the Management service my.domain.com:443
2024-05-20T07:17:33Z DEBG signal/client/grpc.go:92: connected to Signal Service: my.domain.com:443
2024-05-20T07:17:33Z INFO client/internal/routemanager/manager.go:93: Routing setup complete
2024-05-20T07:17:33Z INFO iface/tun_ios.go:44: create tun interface
2024-05-20T07:17:33Z DEBG iface/tun_ios.go:66: Attaching to interface
2024-05-20T07:17:33Z ERRO iface/uapi.go:15: failed to open uapi socket: mkdir /var/run/wireguard: operation not permitted
2024-05-20T07:17:33Z ERRO iface/wg_configurer_usp.go:189: failed to open uapi listener: mkdir /var/run/wireguard: operation not permitted
2024-05-20T07:17:33Z DEBG iface/wg_configurer_usp.go:37: adding Wireguard private key
2024-05-20T07:17:33Z DEBG iface/tun_ios.go:93: device is ready to use: utun7
2024-05-20T07:17:33Z DEBG signal/client/grpc.go:137: signal connection state READY
2024-05-20T07:17:33Z INFO signal/client/grpc.go:158: connected to the Signal Service stream
2024-05-20T07:17:33Z DEBG client/internal/engine.go:640: connecting to Management Service updates stream
2024-05-20T07:17:33Z INFO client/internal/engine.go:359: Network monitor is disabled, not starting
2024-05-20T07:17:33Z INFO client/internal/connect.go:261: Netbird engine started, the IP is: <IP_ADDRESS>/16
2024-05-20T07:17:33Z DEBG management/client/grpc.go:120: management connection state READY
2024-05-20T07:17:33Z INFO management/client/grpc.go:147: connected to the Management Service stream
2024-05-20T07:17:33Z DEBG management/client/grpc.go:253: got an update message from Management Service
2024-05-20T07:17:33Z DEBG client/internal/engine.go:666: got TURNs update from Management Service, updating
2024-05-20T07:17:33Z DEBG client/internal/engine.go:648: got STUNs update from Management Service, updating
2024-05-20T07:17:33Z WARN client/internal/engine.go:551: running SSH server is not permitted
2024-05-20T07:17:33Z DEBG client/internal/engine.go:697: got peers update from Management Service, total peers to connect to = 1
2024-05-20T07:17:33Z DEBG client/internal/engine.go:933: creating peer connection e6Rarf9LFHH0FhvQH+PlGDYZZCITcdU31Sk5S4itslk=
2024-05-20T07:17:33Z DEBG client/internal/routemanager/client.go:338: Received a new client network route update for <IP_ADDRESS>/0
2024-05-20T07:17:33Z WARN client/internal/routemanager/client.go:154: the network <IP_ADDRESS>/0 has not been assigned a routing peer as no peers from the list [e6Rarf9LFHH0FhvQH+PlGDYZZCITcdU31Sk5S4itslk=] are currently connected
2024-05-20T07:17:33Z DEBG client/internal/dns/host_ios.go:28: Applying DNS settings: {"domains":null,"routeAll":false,"serverIP":"<IP_ADDRESS>","serverPort":53}
2024-05-20T07:17:33Z INFO client/internal/acl/manager.go:52: ACL rules processed in: 149.958µs, total rules count: 2
2024-05-20T07:17:35Z DEBG client/internal/peer/conn.go:280: trying to connect to peer e6Rarf9LFHH0FhvQH+PlGDYZZCITcdU31Sk5S4itslk=
2024-05-20T07:17:35Z DEBG client/internal/peer/conn.go:312: connection offer sent to peer e6Rarf9LFHH0FhvQH+PlGDYZZCITcdU31Sk5S4itslk=, waiting for the confirmation
2024-05-20T07:17:35Z TRAC signal/client/grpc.go:400: received a new message from Peer [fingerprint: e6Rarf9LFHH0FhvQH+PlGDYZZCITcdU31Sk5S4itslk=]
2024-05-20T07:17:35Z DEBG client/internal/peer/conn.go:765: OnRemoteAnswer from peer e6Rarf9LFHH0FhvQH+PlGDYZZCITcdU31Sk5S4itslk= on status Disconnected
2024-05-20T07:17:35Z DEBG client/internal/peer/conn.go:333: received connection confirmation from peer e6Rarf9LFHH0FhvQH+PlGDYZZCITcdU31Sk5S4itslk= running version 0.27.7 and with remote WireGuard listen port 51820
2024-05-20T07:17:35Z DEBG client/internal/peer/conn.go:663: peer e6Rarf9LFHH0FhvQH+PlGDYZZCITcdU31Sk5S4itslk= ICE ConnectionState has changed to Checking
2024-05-20T07:17:35Z DEBG client/internal/peer/conn.go:622: discovered local candidate udp4 host <IP_ADDRESS>:51820
2024-05-20T07:17:35Z DEBG client/internal/peer/conn.go:622: discovered local candidate udp4 host <IP_ADDRESS>:51820
2024-05-20T07:17:35Z TRAC signal/client/grpc.go:400: received a new message from Peer [fingerprint: e6Rarf9LFHH0FhvQH+PlGDYZZCITcdU31Sk5S4itslk=]
2024-05-20T07:17:35Z DEBG client/internal/peer/conn.go:779: OnRemoteCandidate from peer e6Rarf9LFHH0FhvQH+PlGDYZZCITcdU31Sk5S4itslk= -> udp4 host <IP_ADDRESS>:51820
2024-05-20T07:17:35Z DEBG iface/bind/udp_mux.go:346: ICE: registered <IP_ADDRESS>:51820 for FdYfEKxGPcGxNewA
2024-05-20T07:17:35Z DEBG client/internal/peer/conn.go:622: discovered local candidate udp4 srflx <IP_ADDRESS>:43632 related <IP_ADDRESS>:51820
2024-05-20T07:17:35Z DEBG iface/bind/udp_mux.go:346: ICE: registered <IP_ADDRESS>:51820 for FdYfEKxGPcGxNewAstun:my.domain.com:3478
2024-05-20T07:17:47Z DEBG client/internal/peer/conn.go:663: peer e6Rarf9LFHH0FhvQH+PlGDYZZCITcdU31Sk5S4itslk= ICE ConnectionState has changed to Failed
2024-05-20T07:17:47Z DEBG client/internal/peer/conn.go:519: trying to cleanup e6Rarf9LFHH0FhvQH+PlGDYZZCITcdU31Sk5S4itslk=
2024-05-20T07:17:47Z DEBG iface/iface.go:88: Removing peer e6Rarf9LFHH0FhvQH+PlGDYZZCITcdU31Sk5S4itslk= from interface utun7
2024-05-20T07:17:47Z DEBG client/internal/peer/conn.go:663: peer e6Rarf9LFHH0FhvQH+PlGDYZZCITcdU31Sk5S4itslk= ICE ConnectionState has changed to Closed
2024-05-20T07:17:47Z DEBG client/internal/peer/conn.go:577: cleaned up connection to peer e6Rarf9LFHH0FhvQH+PlGDYZZCITcdU31Sk5S4itslk=
2024-05-20T07:17:47Z DEBG client/internal/engine.go:913: connection to peer e6Rarf9LFHH0FhvQH+PlGDYZZCITcdU31Sk5S4itslk= failed: connecting canceled by caller
2024-05-20T07:17:49Z TRAC signal/client/grpc.go:400: received a new message from Peer [fingerprint: e6Rarf9LFHH0FhvQH+PlGDYZZCITcdU31Sk5S4itslk=]
2024-05-20T07:17:49Z DEBG client/internal/peer/conn.go:750: OnRemoteOffer from peer e6Rarf9LFHH0FhvQH+PlGDYZZCITcdU31Sk5S4itslk= on status Disconnected
2024-05-20T07:17:49Z DEBG client/internal/peer/conn.go:756: OnRemoteOffer skipping message from peer e6Rarf9LFHH0FhvQH+PlGDYZZCITcdU31Sk5S4itslk= on status Disconnected because is not ready
2024-05-20T07:17:49Z DEBG client/internal/peer/conn.go:280: trying to connect to peer e6Rarf9LFHH0FhvQH+PlGDYZZCITcdU31Sk5S4itslk=
2024-05-20T07:17:49Z DEBG client/internal/peer/conn.go:312: connection offer sent to peer e6Rarf9LFHH0FhvQH+PlGDYZZCITcdU31Sk5S4itslk=, waiting for the confirmation
2024-05-20T07:17:49Z TRAC signal/client/grpc.go:400: received a new message from Peer [fingerprint: e6Rarf9LFHH0FhvQH+PlGDYZZCITcdU31Sk5S4itslk=]
2024-05-20T07:17:49Z DEBG client/internal/peer/conn.go:765: OnRemoteAnswer from peer e6Rarf9LFHH0FhvQH+PlGDYZZCITcdU31Sk5S4itslk= on status Disconnected
2024-05-20T07:17:49Z DEBG client/internal/peer/conn.go:333: received connection confirmation from peer e6Rarf9LFHH0FhvQH+PlGDYZZCITcdU31Sk5S4itslk= running version 0.27.7 and with remote WireGuard listen port 51820
2024-05-20T07:17:49Z DEBG client/internal/peer/conn.go:663: peer e6Rarf9LFHH0FhvQH+PlGDYZZCITcdU31Sk5S4itslk= ICE ConnectionState has changed to Checking
2024-05-20T07:17:49Z DEBG client/internal/peer/conn.go:622: discovered local candidate udp4 host <IP_ADDRESS>:51820
2024-05-20T07:17:49Z DEBG client/internal/peer/conn.go:622: discovered local candidate udp4 host <IP_ADDRESS>:51820
2024-05-20T07:17:49Z DEBG client/internal/peer/conn.go:622: discovered local candidate udp4 srflx <IP_ADDRESS>:43632 related <IP_ADDRESS>:51820
2024-05-20T07:17:49Z TRAC signal/client/grpc.go:400: received a new message from Peer [fingerprint: e6Rarf9LFHH0FhvQH+PlGDYZZCITcdU31Sk5S4itslk=]
2024-05-20T07:17:49Z DEBG client/internal/peer/conn.go:779: OnRemoteCandidate from peer e6Rarf9LFHH0FhvQH+PlGDYZZCITcdU31Sk5S4itslk= -> udp4 host <IP_ADDRESS>:51820
2024-05-20T07:17:49Z DEBG iface/bind/udp_mux.go:346: ICE: registered <IP_ADDRESS>:51820 for qsiaqUByKTiKZpLW
2024-05-20T07:17:49Z DEBG iface/bind/udp_mux.go:346: ICE: registered <IP_ADDRESS>:51820 for qsiaqUByKTiKZpLWstun:my.domain.com:3478
2024-05-20T07:18:01Z DEBG client/internal/peer/conn.go:663: peer e6Rarf9LFHH0FhvQH+PlGDYZZCITcdU31Sk5S4itslk= ICE ConnectionState has changed to Failed
2024-05-20T07:18:01Z DEBG client/internal/peer/conn.go:519: trying to cleanup e6Rarf9LFHH0FhvQH+PlGDYZZCITcdU31Sk5S4itslk=
2024-05-20T07:18:01Z DEBG iface/iface.go:88: Removing peer e6Rarf9LFHH0FhvQH+PlGDYZZCITcdU31Sk5S4itslk= from interface utun7
2024-05-20T07:18:01Z DEBG client/internal/peer/conn.go:663: peer e6Rarf9LFHH0FhvQH+PlGDYZZCITcdU31Sk5S4itslk= ICE ConnectionState has changed to Closed
2024-05-20T07:18:01Z DEBG client/internal/peer/conn.go:577: cleaned up connection to peer e6Rarf9LFHH0FhvQH+PlGDYZZCITcdU31Sk5S4itslk=
2024-05-20T07:18:01Z DEBG client/internal/engine.go:913: connection to peer e6Rarf9LFHH0FhvQH+PlGDYZZCITcdU31Sk5S4itslk= failed: connecting canceled by caller
2024-05-20T07:18:03Z TRAC signal/client/grpc.go:400: received a new message from Peer [fingerprint: e6Rarf9LFHH0FhvQH+PlGDYZZCITcdU31Sk5S4itslk=]
2024-05-20T07:18:03Z DEBG client/internal/peer/conn.go:750: OnRemoteOffer from peer e6Rarf9LFHH0FhvQH+PlGDYZZCITcdU31Sk5S4itslk= on status Disconnected
2024-05-20T07:18:03Z DEBG client/internal/peer/conn.go:756: OnRemoteOffer skipping message from peer e6Rarf9LFHH0FhvQH+PlGDYZZCITcdU31Sk5S4itslk= on status Disconnected because is not ready
2024-05-20T07:18:03Z DEBG client/internal/peer/conn.go:280: trying to connect to peer e6Rarf9LFHH0FhvQH+PlGDYZZCITcdU31Sk5S4itslk=
2024-05-20T07:18:03Z DEBG client/internal/peer/conn.go:312: connection offer sent to peer e6Rarf9LFHH0FhvQH+PlGDYZZCITcdU31Sk5S4itslk=, waiting for the confirmation
2024-05-20T07:18:03Z TRAC signal/client/grpc.go:400: received a new message from Peer [fingerprint: e6Rarf9LFHH0FhvQH+PlGDYZZCITcdU31Sk5S4itslk=]
2024-05-20T07:18:03Z DEBG client/internal/peer/conn.go:765: OnRemoteAnswer from peer e6Rarf9LFHH0FhvQH+PlGDYZZCITcdU31Sk5S4itslk= on status Disconnected
2024-05-20T07:18:03Z DEBG client/internal/peer/conn.go:333: received connection confirmation from peer e6Rarf9LFHH0FhvQH+PlGDYZZCITcdU31Sk5S4itslk= running version 0.27.7 and with remote WireGuard listen port 51820
2024-05-20T07:18:03Z DEBG client/internal/peer/conn.go:663: peer e6Rarf9LFHH0FhvQH+PlGDYZZCITcdU31Sk5S4itslk= ICE ConnectionState has changed to Checking
2024-05-20T07:18:03Z DEBG client/internal/peer/conn.go:622: discovered local candidate udp4 host <IP_ADDRESS>:51820
2024-05-20T07:18:03Z DEBG client/internal/peer/conn.go:622: discovered local candidate udp4 host <IP_ADDRESS>:51820
2024-05-20T07:18:03Z DEBG client/internal/peer/conn.go:622: discovered local candidate udp4 srflx <IP_ADDRESS>:43632 related <IP_ADDRESS>:51820
2024-05-20T07:18:03Z TRAC signal/client/grpc.go:400: received a new message from Peer [fingerprint: e6Rarf9LFHH0FhvQH+PlGDYZZCITcdU31Sk5S4itslk=]
2024-05-20T07:18:03Z DEBG client/internal/peer/conn.go:779: OnRemoteCandidate from peer e6Rarf9LFHH0FhvQH+PlGDYZZCITcdU31Sk5S4itslk= -> udp4 host <IP_ADDRESS>:51820
2024-05-20T07:18:03Z DEBG iface/bind/udp_mux.go:346: ICE: registered <IP_ADDRESS>:51820 for FsnhFfNmMIHDJewp
2024-05-20T07:18:03Z DEBG iface/bind/udp_mux.go:346: ICE: registered <IP_ADDRESS>:51820 for FsnhFfNmMIHDJewpstun:my.domain.com:3478
2024-05-20T07:18:15Z DEBG client/internal/peer/conn.go:663: peer e6Rarf9LFHH0FhvQH+PlGDYZZCITcdU31Sk5S4itslk= ICE ConnectionState has changed to Failed
2024-05-20T07:18:15Z DEBG client/internal/peer/conn.go:519: trying to cleanup e6Rarf9LFHH0FhvQH+PlGDYZZCITcdU31Sk5S4itslk=
2024-05-20T07:18:15Z DEBG iface/iface.go:88: Removing peer e6Rarf9LFHH0FhvQH+PlGDYZZCITcdU31Sk5S4itslk= from interface utun7
2024-05-20T07:18:15Z DEBG client/internal/peer/conn.go:663: peer e6Rarf9LFHH0FhvQH+PlGDYZZCITcdU31Sk5S4itslk= ICE ConnectionState has changed to Closed
2024-05-20T07:18:15Z DEBG client/internal/peer/conn.go:577: cleaned up connection to peer e6Rarf9LFHH0FhvQH+PlGDYZZCITcdU31Sk5S4itslk=
2024-05-20T07:18:15Z DEBG client/internal/engine.go:913: connection to peer e6Rarf9LFHH0FhvQH+PlGDYZZCITcdU31Sk5S4itslk= failed: connecting canceled by caller
2024-05-20T07:18:16Z TRAC signal/client/grpc.go:400: received a new message from Peer [fingerprint: e6Rarf9LFHH0FhvQH+PlGDYZZCITcdU31Sk5S4itslk=]
2024-05-20T07:18:16Z DEBG client/internal/peer/conn.go:750: OnRemoteOffer from peer e6Rarf9LFHH0FhvQH+PlGDYZZCITcdU31Sk5S4itslk= on status Disconnected
2024-05-20T07:18:16Z DEBG client/internal/peer/conn.go:756: OnRemoteOffer skipping message from peer e6Rarf9LFHH0FhvQH+PlGDYZZCITcdU31Sk5S4itslk= on status Disconnected because is not ready
2024-05-20T07:18:17Z DEBG client/internal/peer/conn.go:280: trying to connect to peer e6Rarf9LFHH0FhvQH+PlGDYZZCITcdU31Sk5S4itslk=
2024-05-20T07:18:17Z DEBG client/internal/peer/conn.go:312: connection offer sent to peer e6Rarf9LFHH0FhvQH+PlGDYZZCITcdU31Sk5S4itslk=, waiting for the confirmation
2024-05-20T07:18:17Z TRAC signal/client/grpc.go:400: received a new message from Peer [fingerprint: e6Rarf9LFHH0FhvQH+PlGDYZZCITcdU31Sk5S4itslk=]
2024-05-20T07:18:17Z DEBG client/internal/peer/conn.go:765: OnRemoteAnswer from peer e6Rarf9LFHH0FhvQH+PlGDYZZCITcdU31Sk5S4itslk= on status Disconnected
2024-05-20T07:18:17Z DEBG client/internal/peer/conn.go:333: received connection confirmation from peer e6Rarf9LFHH0FhvQH+PlGDYZZCITcdU31Sk5S4itslk= running version 0.27.7 and with remote WireGuard listen port 51820
2024-05-20T07:18:17Z DEBG client/internal/peer/conn.go:663: peer e6Rarf9LFHH0FhvQH+PlGDYZZCITcdU31Sk5S4itslk= ICE ConnectionState has changed to Checking
2024-05-20T07:18:17Z DEBG client/internal/peer/conn.go:622: discovered local candidate udp4 host <IP_ADDRESS>:51820
2024-05-20T07:18:17Z DEBG client/internal/peer/conn.go:622: discovered local candidate udp4 host <IP_ADDRESS>:51820
2024-05-20T07:18:17Z DEBG client/internal/peer/conn.go:622: discovered local candidate udp4 srflx <IP_ADDRESS>:43632 related <IP_ADDRESS>:51820
2024-05-20T07:18:17Z TRAC signal/client/grpc.go:400: received a new message from Peer [fingerprint: e6Rarf9LFHH0FhvQH+PlGDYZZCITcdU31Sk5S4itslk=]
2024-05-20T07:18:17Z DEBG client/internal/peer/conn.go:779: OnRemoteCandidate from peer e6Rarf9LFHH0FhvQH+PlGDYZZCITcdU31Sk5S4itslk= -> udp4 host <IP_ADDRESS>:51820
2024-05-20T07:18:17Z DEBG iface/bind/udp_mux.go:346: ICE: registered <IP_ADDRESS>:51820 for wcfOsAXiJBXKWKQx
2024-05-20T07:18:17Z DEBG iface/bind/udp_mux.go:346: ICE: registered <IP_ADDRESS>:51820 for wcfOsAXiJBXKWKQxturn:my.domain.com:3478?transport=udp
2024-05-20T07:18:30Z DEBG client/internal/peer/conn.go:663: peer e6Rarf9LFHH0FhvQH+PlGDYZZCITcdU31Sk5S4itslk= ICE ConnectionState has changed to Failed
2024-05-20T07:18:30Z DEBG client/internal/peer/conn.go:519: trying to cleanup e6Rarf9LFHH0FhvQH+PlGDYZZCITcdU31Sk5S4itslk=
2024-05-20T07:18:30Z DEBG iface/iface.go:88: Removing peer e6Rarf9LFHH0FhvQH+PlGDYZZCITcdU31Sk5S4itslk= from interface utun7
2024-05-20T07:18:30Z DEBG client/internal/peer/conn.go:663: peer e6Rarf9LFHH0FhvQH+PlGDYZZCITcdU31Sk5S4itslk= ICE ConnectionState has changed to Closed
2024-05-20T07:18:30Z DEBG client/internal/peer/conn.go:577: cleaned up connection to peer e6Rarf9LFHH0FhvQH+PlGDYZZCITcdU31Sk5S4itslk=
2024-05-20T07:18:30Z DEBG client/internal/engine.go:913: connection to peer e6Rarf9LFHH0FhvQH+PlGDYZZCITcdU31Sk5S4itslk= failed: connecting canceled by caller
2024-05-20T07:18:30Z DEBG client/internal/peer/conn.go:280: trying to connect to peer e6Rarf9LFHH0FhvQH+PlGDYZZCITcdU31Sk5S4itslk=
2024-05-20T07:18:30Z DEBG client/internal/peer/conn.go:312: connection offer sent to peer e6Rarf9LFHH0FhvQH+PlGDYZZCITcdU31Sk5S4itslk=, waiting for the confirmation
2024-05-20T07:18:31Z DEBG client/internal/routemanager/client.go:321: stopping watcher for network <IP_ADDRESS>/0
2024-05-20T07:18:31Z DEBG client/internal/engine.go:428: removing all peer connections
2024-05-20T07:18:31Z DEBG client/internal/engine.go:440: removing peer from engine e6Rarf9LFHH0FhvQH+PlGDYZZCITcdU31Sk5S4itslk=
2024-05-20T07:18:31Z DEBG signal/client/grpc.go:389: stream canceled (usually indicates shutdown)
2024-05-20T07:18:31Z DEBG signal/client/grpc.go:164: signal connection context has been canceled, this usually indicates shutdown
2024-05-20T07:18:31Z DEBG management/client/grpc.go:249: disconnected from Management Service sync stream: rpc error: code = Canceled desc = context canceled
2024-05-20T07:18:31Z DEBG management/client/grpc.go:157: management connection context has been canceled, this usually indicates shutdown
2024-05-20T07:18:31Z DEBG client/internal/engine.go:638: stopped receiving updates from Management Service
2024-05-20T07:18:31Z DEBG client/internal/peer/conn.go:519: trying to cleanup e6Rarf9LFHH0FhvQH+PlGDYZZCITcdU31Sk5S4itslk=
2024-05-20T07:18:31Z DEBG iface/iface.go:88: Removing peer e6Rarf9LFHH0FhvQH+PlGDYZZCITcdU31Sk5S4itslk= from interface utun7
2024-05-20T07:18:31Z DEBG client/internal/peer/conn.go:663: peer e6Rarf9LFHH0FhvQH+PlGDYZZCITcdU31Sk5S4itslk= ICE ConnectionState has changed to Closed
2024-05-20T07:18:31Z DEBG client/internal/peer/conn.go:571: error while updating peer's e6Rarf9LFHH0FhvQH+PlGDYZZCITcdU31Sk5S4itslk= state, err: peer doesn't exist
2024-05-20T07:18:31Z DEBG client/internal/peer/conn.go:574: failed to reset wireguard stats for peer e6Rarf9LFHH0FhvQH+PlGDYZZCITcdU31Sk5S4itslk=: peer doesn't exist
2024-05-20T07:18:31Z DEBG client/internal/peer/conn.go:577: cleaned up connection to peer e6Rarf9LFHH0FhvQH+PlGDYZZCITcdU31Sk5S4itslk=
2024-05-20T07:18:31Z DEBG client/internal/engine.go:913: connection to peer e6Rarf9LFHH0FhvQH+PlGDYZZCITcdU31Sk5S4itslk= failed: connection to peer e6Rarf9LFHH0FhvQH+PlGDYZZCITcdU31Sk5S4itslk= has been closed
2024-05-20T07:18:31Z INFO client/internal/routemanager/manager.go:117: Routing cleanup complete
2024-05-20T07:18:31Z DEBG client/internal/engine.go:1178: removing Netbird interface utun7
2024-05-20T07:18:31Z INFO client/internal/engine.go:246: stopped Netbird Engine
2024-05-20T07:18:31Z INFO client/internal/connect.go:275: stopped NetBird client

I also read about TURN may be an issue. My "external-ip" is set!
I tried: https://webrtc.github.io/samples/src/content/peerconnection/trickle-ice/ - with success:
Time | Type | Foundation | Protocol | Address | Port | Priority | URL (if present) | relayProtocol (if present)
-- | -- | -- | -- | -- | -- | -- | -- | --
0.007 | host | 0 | udp | 0e87545e-1fb7-497b-93fe-185c151f9948.local | 49951 | 126 \| 32512 \| 255 |   |
0.012 | host | 3 | tcp | 0e87545e-1fb7-497b-93fe-185c151f9948.local | 9 | 125 \| 32704 \| 255 |   |
0.013 | host | 0 | udp | 0e87545e-1fb7-497b-93fe-185c151f9948.local | 49952 | 126 \| 32512 \| 254 |   |
0.014 | host | 3 | tcp | 0e87545e-1fb7-497b-93fe-185c151f9948.local | 9 | 125 \| 32704 \| 254 |   |
0.141 | srflx | 1 | udp | PUB-IP(Peer) | 21504 | 100 \| 32543 \| 255 |   |
0.141 | relay | 2 | udp | PUB-IP | 57606 | 5 \| 32543 \| 255 |   |
0.157 | Done

From same network i can connect the peer successfull.
When coming from external there is a pfsense in between, may thats the issue?
From my understanding TURN shold go "through" without any changes.

@pascal-fischer  - thanks for your replay.
I was able to test with different devices and was able to isolate the issue.
Devices: iPhone1, iPhone2, Windows Client, Raspberry Pi
I cann connect every devices with each other via Mobile or Wifi connection but never with the Raspberry Pi.
So the issue seems to be on this specific device.
The stats on the afected raspi:
OS: linux/arm64
Daemon version: 0.27.7
CLI version: 0.27.7
Management: Connected
Signal: Connected
Relays: 0/2 Available
Nameservers: 0/0 Available
FQDN: home-raspbi.netbird.selfhosted
NetBird IP: <IP_ADDRESS>/16
Interface type: Kernel
Quantum resistance: false
Routes: -
Peers count: 0/3 Connected

The Netbird shows the devices as connected.
Details on Raspi Agent:
Peers detail:
 iphone-bernd-comp.netbird.selfhosted:
  NetBird IP: <IP_ADDRESS>
  Public key: xxxx
  Status: Disconnected
  -- detail --
  Connection type:
  Direct: false
  ICE candidate (Local/Remote): -/-
  ICE candidate endpoints (Local/Remote): -/-
  Last connection update: 9 seconds ago
  Last WireGuard handshake: -
  Transfer status (received/sent) 0 B/0 B
  Quantum resistance: false
  Routes: -
  Latency: 0s

 iphone-bernd-priv.netbird.selfhosted:
  NetBird IP: <IP_ADDRESS>
  Public key: xxxxxx
  Status: Disconnected
  -- detail --
  Connection type:
  Direct: false
  ICE candidate (Local/Remote): -/-
  ICE candidate endpoints (Local/Remote): -/-
  Last connection update: 24 seconds ago
  Last WireGuard handshake: -
  Transfer status (received/sent) 0 B/0 B
  Quantum resistance: false
  Routes: -
  Latency: 0s

 thinkpad.netbird.selfhosted:
  NetBird IP: <IP_ADDRESS>
  Public key: xxxxx
  Status: Connecting
  -- detail --
  Connection type:
  Direct: false
  ICE candidate (Local/Remote): -/-
  ICE candidate endpoints (Local/Remote): -/-
  Last connection update: 4 seconds ago
  Last WireGuard handshake: -
  Transfer status (received/sent) 0 B/0 B
  Quantum resistance: false
  Routes: -
  Latency: 0s

OS: linux/arm64
Daemon version: 0.27.7
CLI version: 0.27.7
Management: Connected to https://connect.xxx.onl:443
Signal: Connected to https://connect.xxx.onl:443
Relays:
  [stun:connect.xxx.onl:3478] is Unavailable, reason: stun request: context deadline exceeded
  [turn:connect.xxx.onl:3478?transport=udp] is Unavailable, reason: allocate: all retransmissions failed for ID-replaced
Nameservers:
FQDN: home-raspbi.netbird.selfhosted
NetBird IP: <IP_ADDRESS>/16
Interface type: Kernel
Quantum resistance: false
Routes: -
Peers count: 0/3 Connected

@pascal-fischer - Solved, sorry for the inconvenience...
For reference, if someone comes arround.
Outbound: UDP and TCP ports 3478, and UDP/TCP ports 49152-65535.


Add ifstat and ntpupdate

Needed by https://github.com/ethz-asl/ros-system-monitor

net-analyzer/ifstat and net-misc/ntp in gentoo if you want to be more accurate

looks like travis is stuck, closing and reopening to rerun travis


fix: https://spandigital.atlassian.net/browse/PRSDM-6419 - Made some minor styling fixes on navigation

JIRA Ticket

Updated border under brand name to be full width of column and also made it so it doesn't scroll with the navigation.
Updated font-weight of nav-items to be normal and not bold.

hey @aLR8. Have you tested this on the apple sites too?

@DustinFischer I added the JIRA link.
@SamShiels I tested it on the KMDS site I'm working on.


Add trial notification to FE/BE split

Migrate the changes from https://github.com/CartoDB/cartodb/pull/13060 to FE/BE split. We think it's better to finish the FE/BE tasks related to private dashboard (dashboard + profile + account + maybe some others?)before doing this, to avoid conflicts with ongoing work.
There is no hurry on this, but must be done before making FE/BE generally available.
cc @elenatorro @juanignaciosl

There's no other FE/BE split related to private dashboard right now than the ones you've already mentioned. I think we can make these changes when the account page is merged 👍


Adds support for user account authentication.

This was added in a newer version of yup-oauth, so I've had to bump that. But not all the way to the latest version, because that has various other API breakages. I'd be happy to do that in a separate PR, if desired.

Nice. The latest yup-oauth could be useful because they added support also for instance metadata credentials. But i agree that such a change doesn't have to be in this PR.

A fix to the failing CI is in https://github.com/standard-ai/ya-gcp/pull/11
If you rebase they should pass I think

Hmm, it looks like I already have that commit... I think the bumped yup-oauth2 pulls in a new version of time which has a higher MSRV

oh i see. Yeah I guess this a losing battle and ya-gcp needs to bump MSRV to 1.56 at least.
I can open a PR to do that, but I probably won't get to it until the end of this week. If you're on a shorter timeline then a PR is welcome.


Http Request Batching Example

Hey there, I'm trying to figure out if Swoole can receive many http requests and process the incoming data in batches? I've read through the docs and Master Swoole PHP (which does mention batching but I couldn't find any examples).
What I've been able to come up with is the following process:

Create a table to capture requests
Create a timer that checks for requests on an interval (in this case 1 second)
Remove the request from the table and add it to a batch array to do something with
Star the server and write request data to the table

$table = new Swoole\Table(1024 * 1024);
$table->column('data', Swoole\Table::TYPE_STRING, 1024);
$table->create();

$server = new Swoole\Http\Server('<IP_ADDRESS>', 6001);

$server->on('start', function () use ($table) {
    Swoole\Timer::tick(1000, function () use ($table) {
        if ($table->count() === 0) {
            return;
        }

        $batch = [];

        foreach ($table as $key => $value) {
            $batch[$key] = $value['data'];
            $table->del($key);
        }

        $count = count($batch);

        print("Processing batch of {$count} requests" . PHP_EOL);
    });
});

$server->on('request', function ($request, $response) use ($table) {
    // $id = uniqid();
    $id = md5(uniqid() . ' ' . microtime() . ' ' . rand(0, 10000));
    $table->set("request:$id", ['data' => $request->getContent()]);
    $response->end('ok');
});

$server->start();

This seems to work OK until I test it in a high throughput situation. Deleting items from the table does not seem to happen quick enough which results in duplicates in the batch process. Looks like I was being naive with uniqId() and it was the culprit here.

Sample Output
$ wrk -t 2 -c 100 -d 10 --latency http://localhost:6001
Running 10s test @ http://localhost:6001
  2 threads and 100 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency   599.28us  110.80us   3.68ms   74.50%
    Req/Sec    73.61k     1.45k   75.62k    95.54%
  Latency Distribution
     50%  606.00us
     75%  666.00us
     90%  717.00us
     99%  812.00us
  1479364 requests in 10.10s, 214.45MB read
Requests/sec: 146446.67
Transfer/sec:     21.23MB

$ php server.php
Processing batch of 33252 requests
Processing batch of 139284 requests
Processing batch of 145218 requests
Processing batch of 146185 requests
Processing batch of 137315 requests
Processing batch of 141549 requests
Processing batch of 146930 requests
Processing batch of 139085 requests
Processing batch of 139635 requests
Processing batch of 146278 requests
Processing batch of 108778 requests
Processing batch of 3984 requests
Processing batch of 1330 requests
Processing batch of 444 requests
Processing batch of 148 requests
Processing batch of 48 requests
Processing batch of 16 requests
Processing batch of 6 requests
Processing batch of 2 requests
Processing batch of 0 requests
Processing batch of 0 requests
Processing batch of 0 requests

Also note that $table->count() never reaches 0 even though all the rows should have been deleted (id was not unique enough 😄 ).
Is there a better and more efficient way to achieve this?

Fixed the issues with $table->count(). There were some key conflicts causing undesirable results when deleting rows. So let's just focus on, "is there a better way to do this"?

The concept is correct, but please make sure the batching operation is meaningful, for example merger multiple MySQL query into one.

@doubaokun thanks for taking a look and sharing feedback. Much appreciated.


deps: bump to<EMAIL_ADDRESS>

This makes the FEEL indicator available (including styles) for camunda-bpmn-js consumers:

Before, when using the library we'd end up in funny situations like this one:

:cake:


Can't load a picture in pygame

I try to load an image with pygame.image.load() in pygame which is in the same directory as the code file but vs respondes that the image couldn't be load.
Thanks for the help.

Is the code file in question at the root folder of your project?

The image wasn't in the root folder. After I moved it there the problem was fixed.
Thank you a lot, I couldn't figure it out.


⚠ RPC server - Conflux has degraded performance

In 3e91e40, RPC server - Conflux ($CONFLUX_RPC_URL) experienced degraded performance:

HTTP code: 0
Response time: 0 ms

Resolved: RPC server - Conflux performance has improved in 7fb1dcb after 5 minutes.


Move to Azure.Provisioning.* GA packages.

Moves to<EMAIL_ADDRESS>and<EMAIL_ADDRESS>except for Azure.Provisioning.ApplicationInsights which is still stuck at 0.1.0-beta.1 because the Azure.ResourceManager.ApplicationInsights package has never shipped at GA (will be addressed next week).
Microsoft Reviewers: Open in CodeFlow

/backport to release/8.0

/backport to release/8.0


Small CLI driver

As part of testing this package, it'd be nice to have a small CLI driver for our APIs.
In particular, something like:
$ # produces foo.whl.publish.attestation using the ambient OIDC credential
$ python -m pypi_attestation_models sign foo.whl

$ # dumps the attestation's inner statement + other metadata *without* verification
$ python -m pypi_attestation_models inspect foo.whl.publish.attestation

$ # verifies foo.whl against foo.whl.*.attestation, with `https://github.com/foo/bar` as the signing identity
$ python -m pypi_attestation_models verify foo.whl --identity https://github.com/foo/bar
OK: foo.whl.publish.attestation
OK: foo.whl.whatever.attestation

CC @DarkaMaul

(In particular, I think we should do this with python -m ... rather than a direct entry point, to keep this off the $PATH for now. So this should initiate via a __main__.py entrypoint, like sigstore-python: https://github.com/sigstore/sigstore-python/blob/main/sigstore/main.py)


Add Debug trait to Advice

TBD:  Should I add Clone, Copy, Default, or anything else to it?

Yes, we should add Clone, Copy, Eq, PartialEq, Debug and Hash. There is no Default value I guess.
It would not change much, since it's just a "flag" for a method, but it would be nice to have just in case.


control neural connections

At some point it would be cool to be able to have some sort of control about the way neural connections are made. Imagine Anna has something like a trauma or some misleading connections. Then it would be helpful to have some interface to help her to rewire her connections properly. This has a lot of implications.

This approach provides mechanisms to fight symptoms. This approach does not provide mechanisms to solve problems. Solving problems always must be the very first priority.
This approach provides mechanisms to rewire information in a even more weird way. Dramatizingly spoken it could be used to make Anna believe that murder is a good thing.

The current idea of neural connections is to have connections between peers within the knowledge network. These connections need to be manipulated by adding new ones. Such "tips" can be provided to guide Anna through problems.


fix utf-8 non-ascii char in source code filenames for checkmarx parser

We have done a couple of fixes already on this but we haven't fixed it for filenames.
When non-ascii utf-8 characters are found in source code filenames, importing the report makes defectdojo fail with errors like:
'ascii' codec can't encode character u'\xe9' in position 24: ordinal not in range(128)
I've also enriched the checkmarx parser unit test with this case.

Can you try with #1057 , let me know if that works ?

@adracea that doesn't fix it. In my case it fails here in parser.py:
 dupe_key = "{}{}{}{}".format(categories, cwe, name, result.get('FileName')
Here's the stackstrace by the way
uwsgi_1         | Internal Server Error: /engagement/1/import_scan_results
uwsgi_1         | Traceback (most recent call last):
uwsgi_1         |   File "/usr/local/lib/python2.7/site-packages/django/core/handlers/exception.py", line 41, in inner
uwsgi_1         |     response = get_response(request)
uwsgi_1         |   File "/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 249, in _legacy_get_response
uwsgi_1         |     response = self._get_response(request)
uwsgi_1         |   File "/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 187, in _get_response
uwsgi_1         |     response = self.process_exception_by_middleware(e, request)
uwsgi_1         |   File "/usr/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 185, in _get_response
uwsgi_1         |     response = wrapped_callback(request, *callback_args, **callback_kwargs)
uwsgi_1         |   File "/usr/local/lib/python2.7/site-packages/django/contrib/auth/decorators.py", line 23, in _wrapped_view
uwsgi_1         |     return view_func(request, *args, **kwargs)
uwsgi_1         |   File "./dojo/engagement/views.py", line 519, in import_scan_results
uwsgi_1         |     parser = import_parser_factory(file, t)
uwsgi_1         |   File "./dojo/tools/factory.py", line 71, in import_parser_factory
uwsgi_1         |     parser = CheckmarxXMLParser(file, test)
uwsgi_1         |   File "./dojo/tools/checkmarx/parser.py", line 62, in __init__
uwsgi_1         |     dupe_key = "{}{}{}{}".format(categories, cwe, name, result.get('FileName'))
uwsgi_1         | UnicodeEncodeError: 'ascii' codec can't encode characters in position 83-304: ordinal not in range(128)

I've added other encodes to be coherent, where we work with FileName
I've only left this one alone on line 73 as I'm not sure it's even doing anything:
result.get('FileName')


Restrict and log message sending on connect

Restricts users from sending messages until they are fully connected. This is related to a bug where if a player joins the server, send a message, and disconnects quickly enough the join message will not show up in the chat.
Also logs messages for debugging and security tracing reasons

Tested and seems to work.


Parent cmd descriptions, when not defined use the first commands description.

For example given these 2 commands:
// LintCommit lints all git commit messages using https://github.com/marionebl/commitlint
func LintCommit() error {
	return nil
}

// LintPull_request lists pull request titles and description to ensure they are connected to a ticket.
func LintPull_request() error {
	return nil
}

We end up with:
lint        LintCommit lints all git commit messages using https://github.com/marionebl/commitlint

Which is probably undesirable. Defining a parent cmd like:
// Lint lints all the things
func Lint() error {
	return nil
}

Solves the issue.

The problem is much larger than just help text. Now that we have the proxy arguments functionality when we have undefined parent commands it causes runtime error: index out of range.

:tada: This issue has been resolved in version 2.2.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


@conda-forge-admin, please add bot automerge

[ ] I read the conda-forge documentation and could not find the solution for my problem there.

Issue:

Environment (conda list):

$ conda list

Details about  conda and system ( conda info ):

$ conda info

Hi! This is the friendly automated conda-forge-webservice.
I just wanted to let you know that I added bot automerge in conda-forge/plotly-orca-feedstock#18.


Multiple presentations in one repo?

Is is possible to have more than one presentation in a repository, without branching?

Hi @larsbrinkhoff absolutely, take a look at the Asset Sharing and Modular Markdown pages on the GitPitch Wiki for details.

Great, thanks!


Java11 support

@tonivade
First of all.. thx for making such a great application.
You mentioned that you're making this for fun..
Wow.. I can not believe this can be done just for fun. You're great!!
By the way, I'd like to use this as a mock redis server for unit test.
Does not it support java11?  What happens if I run caludb in java11?
Could u explain little bit plz?

Thanks for you kind words!
About your question, yes, it should support 100% java11 (even java17) without problems. Honestly I don't remember why I created this issue in first place.

OK. Thank you for clearing this.
I'll use this with easy from now on.
TTTTHHHHAAANNNKKKS!!


Gray screen

Hey,
Once I started albibong from cmd I got these messages:
Thread sniffer started
Thread packet_handler started
Thread ws_server started
Thread http_server started at port 54688
Albibong started but there ws nothing except a gray background.
I'm using windows 11, python 3.10.11
Anything I could do to solve this?

hello, can you tell me what albibong version did you install?

Hello, I have 1.0.7.
Didn't have problem to install it on my other pc.
Correction, I have windows 10. (typo)

Can you try run Albibong again? And look for this message: Thread http_server started at port XXXX
Then open your browser and visit localhost:XXXX (XXXX is the port number in the message)
Let me know if the gray background persisted in the browser or not

Gray background on the browser. So it seems like it loaded but I have only a gray background. (I used Opera and Edge)

Hello, sorry for the very long wait. The issue has been solved in the latest update (ver 1.1.1). Please do check it out if you're still interested!
The problem (if you're interested):
A javascript application has to explicitly define MIME type to work on a Windows machine :(


Updates german language

sorry last line added was removed, i will find a better way to handle that, was not a clean way.

No problem at all ;) do my best as always...


Please tell the model input dimensions

Please mention the input data dimensions used to use the pre-trained weights

The model input dimensions are [batch size, 224, 224, 3], i.e. the images are resized to 224x224

Thanks for the response. I am getting the following error from the command mentioned:
base = mobilenet.MobileNet(input_shape=(224, 224, 3), include_top=True, weights='weights_mobilenet_aesthetic_0.07.hdf5')
Error Trail
<ipython-input-5-635740cf9285> in <module>()
----> 1 base = mobilenet.MobileNet(input_shape=(224, 224, 3), include_top=True, weights='weights_mobilenet_aesthetic_0.07.hdf5')

path-to-keras\keras_applications\mobilenet.py in MobileNet(input_shape, alpha, depth_multiplier, dropout, include_top, weights, input_tensor, pooling, classes)
    322         model.load_weights(weights_path)
    323     elif weights is not None:
--> 324         model.load_weights(weights)
    325
    326     if old_data_format:

path-to-keras\keras\engine\network.py in load_weights(self, filepath, by_name, skip_mismatch, reshape)
   1159             else:
   1160                 saving.load_weights_from_hdf5_group(
-> 1161                     f, self.layers, reshape=reshape)
   1162
   1163     def _updated_config(self):

path-to-keras\keras\engine\saving.py in load_weights_from_hdf5_group(f, layers, reshape)
    913                                                        original_keras_version,
    914                                                        original_backend,
--> 915                                                        reshape=reshape)
    916         if len(weight_values) != len(symbolic_weights):
    917             raise ValueError('Layer #' + str(k) +

path-to-keras\keras\engine\saving.py in preprocess_weights_for_loading(layer, weights, original_keras_version, original_backend, reshape)
    672             weights[0] = np.reshape(weights[0], layer_weights_shape)
    673         elif layer_weights_shape != weights[0].shape:
--> 674             weights[0] = np.transpose(weights[0], (3, 2, 0, 1))
    675             if layer.__class__.__name__ == 'ConvLSTM2D':
    676                 weights[1] = np.transpose(weights[1], (3, 2, 0, 1))

path-to-numpy\numpy\core\fromnumeric.py in transpose(a, axes)
    596
    597     """
--> 598     return _wrapfunc(a, 'transpose', axes)
    599
    600

path-to-numpy\numpy\core\fromnumeric.py in _wrapfunc(obj, method, *args, **kwds)
     49 def _wrapfunc(obj, method, *args, **kwds):
     50     try:
---> 51         return getattr(obj, method)(*args, **kwds)
     52
     53     # An AttributeError occurs if the object does not have

ValueError: axes don't match array

Any help would be appreciated

You are trying to initialize the original MobileNet architecture with weights from MobileNet Aesthetic. The architecture for MobileNet Aesthetic differs from the original one, hence you won’t be able to use these weights.
Use the NIMA model class in src/handlers/model_builder.py to manually load the aesthetic weights.

thanks for your response. However I am not able to figure out how to get a pretrained model from this repository. Can you provide the steps. It will be very helpful. Thanks.

Hey, in src/evaluater/predict.py you can see how the NIMA model class is being used to load the pre-trained weights from models/MobileNet
For example, to load the aesthetic weights you could run (ensure that your working directory is src)
from handlers.model_builder import Nima

nima = Nima('MobileNet', weights=None)
nima.build()
nima.nima_model.load_weights('../models/MobileNet/weights_mobilenet_aesthetic_0.07.hdf5')
nima.nima_model.summary()

Hope this helps


[WIP] Add check for dotnet sdk resolvers dll

Should fix #1340, but I need to know if this is the best way to do it, and if it is I'll add tests.
Pls help :)

I don't think this is the right fix. I'm not sure the .NET Core SDK resolvers are installed when the .NET Core workload isn't installed. If that's true, this would cause OmniSharp to stop working for .NET Framework projects.

Sorry, I'm failing to understand what do you mean with:

I'm not sure the .NET Core SDK resolvers are installed when the .NET Core workload isn't installed

You are talking about the VS Installation?
btw: I don't think that this has something to do with the Full framework, from what I understand (and from what the name suggests) it's a dotnet core resolver only.
I would like some help to make sure that this works for both environments. Do you have any tests in mind?
PS: I've been using a local build with this fix for 6 days now on VSCode and it works for every solution I've tested so far

Also, sorry for taking so long to reply. GH is not the best at reminding you that something is pending. hehe 😅

Yes, I meant the VS installation. I suspect that Microsoft.DotNet.MSBuildSdkResolver.dll may only be installed in Visual Studio when the .NET Core workload is installed. So, if we require for the presence of that binary, we'd break fully supported .NET scenarios that don't require .NET Core to be installed (such as .NET Framework).

Unfortunately, the perfect solution isn't exactly possible because the projects can't correctly be analyzed without using MSBuild to analyze the projects, and this code is all about finding the MSBuild that will be used. It's a chicken-and-the-egg situation. :smile:

the loop just tries to find a better (.net full + .net core) VS Installation

I don't think that's precisely accurate WRT to .net full + .net core. The loop will always prefer a VS installation with the .NET Core workload installed over .NET desktop workload. Note that these are different workloads in the VS installer and different installations of VS can have none, one, or both of them installed.
I don't think this change will break things in practice (honestly, it'll probably make things better), but I don't think it's the right approach long term. I'd rather see us add configuration rather than more magic.

Yeah definitely is a chicken-and-the-egg situation hehehe but can we just analyze the egg from the outside in this situation? 😆
What I mean is that we can try to read all the .csproj staticly just to get the sdk it uses:
<Project Sdk="Microsoft.NET.Sdk">  = dotnet core
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/19tooOld" ToolsVersion="old">

= full framework
It might be the same thing that msBuild has to do somewhere..
Would that work?
And if we do that we also need to have a check to know if the VS installation has the .NET Full framework there, right?

@johnnyasantoss: That'd be an estimate, but there would likely be edge cases where it didn't work. Also, we should be careful not to conflate .NET Core and .NET Framework with SDK-style projects and older-style projects. They aren't equivalent. After all, an SDK-style project can be made to target a .NET Framework TFM.

It might be the same thing that msBuild has to do somewhere

MSBuild doesn't have to do this at all, it just assumes that everything is installed to build any requested project. The SDK attribute is just a general MSBuild feature.

Would that work?
And if we do that we also need to have a check to know if the VS installation has the .NET Full framework there, right?

I wouldn't recommend any of that. It would almost certainly result hair-pulling, difficult to debug issues, not unlike the one you're trying to solve. :smile:
Let's just go with your tweak for now. I really think the ideal experience is to provide good diagnostics when something goes wrong and add the proper configuration support to fix it.

@rchande are you going to review this again? or is it okay to be merged? :)
Please let me know because I don't know how you guys handle pull requests in this project

I pulled and built this locally and it appears to work.

Now it is ready to be merged 😄


Enable CORS for zipkin-server

Enabling CORS headers (Access-Control-Allow-Origin: *) in the Zipkin query API will allow API access from UI applications running on different hosts, which seems very useful. Is there a reason not to enable this by default?

+1
No reason, except nobody has made a PR yet :wink:

Sounds fine to me..  implementation would be to add @CrossOrigin onto ZipkinQueryApiV1
@gena01 @marcingrzejszczak @shakuzen unless you know a reason not to, let's make this change


HotKey

I can't change the hotkey and default hotkey don't work

What have you tried? What system are you on? What version of GPMDP?
Hotkeys need a modifier key and number pad keys won't work. Default media keys should work out of the box unless something else has grabbed them like chrome.

I have tried to change the default keys with my custom keys and no changes. i'm on a desktop pc with windows 10 pro 64 bit and GPMDP v 3.6.0

I've restarted the application and now works well =D

Awesome!


Empty object after json validation

When using JSON validation with patchAndFetchById() (I'm assuming patch() behaves the same way) one can end up with an empty object after validation, since the required part of the schema isn't validated. This will result in invalid SQL statements such as this one:
update "Test" set  where "Test"."id" = 1

Perhaps an error should be thrown after validation if the resulting model is completely empty during a patch or operation?
Here is a sample model:
const Model = require('objection').Model;

class TestModel extends Model {
  static get tableName(){
    return 'Test'
  }

  static get jsonSchema() {
    return {
      type: 'object',
      required: ['test'],
      properties: {
        id: {type: 'integer'},
        test: {type: 'string'}
      }
    };
  }
}

TestModel.query().patchAndFetchById(1, {test2: 'test'});

Yep. Currently all properties that are not listed in jsonSchema (if jsonSchema is defined) are omitted from the database representation. This behaviour will change in 0.8.0. You can already control it using the static Model property pickJsonSchemaProperties.
Related to #299 and #308

I knew I had seen something like that in the docs but I couldn't find it when I went back to look for it, thanks!


Polish

This PR polishes a bit.

The readme file changes make sense (good catches). I think the other changes make sense, but I'd like another review, too, so I have tagged Greg Turnquist as a reviewer. If need be, assign that review to someone else, please, Greg. Thanks.


added some warnings and tests

Description
Added some warnings, improved some exception messages, added tests for both.
closes #3088
closes #3178
closes #3179
output
Because the exceptions are the focus of this PR are stacked by __cause__ the actual command output might be hard to follow from the test cases alone. Therefor I'm providing an overview of what the end user would see here.
1. load v2 from v1 libs
Failed to load module minimalv2module (reported in import minimalv2module (./main.cf:1))
caused by:
  Could not load module minimalv2module
  caused by:
    inmanta.module.ModuleMetadataFileNotFound: Module at /home/sander/documents/projects/inmanta/inmanta-model-test/libs/minimalv2module looks like a v2 module. Please add it as a v2 requirement with `inmanta modules add <module_name>`

2. incorrectly installed v2 module (pip install instead of inmanta module install

case 1: setup.cfg missing:

Failed to load module minimalv2module (reported in import minimalv2module (./main.cf:1))
caused by:
  Could not load module minimalv2module
  caused by:
    inmanta.module.InvalidModuleException: Invalid module: found module package but it has no setup.cfg. This occurs when you install or build modules from source incorrectly. Always use the `inmanta module` `install` and `build` commands to respectively install and build modules from source.

case 2: no model:

Failed to load module minimalv2module (reported in import minimalv2module (./main.cf:1))
caused by:
  Could not load module minimalv2module
  caused by:
    inmanta.module.InvalidModuleException: The module at /home/sander/.virtualenvs/inmanta-core/lib/python3.9/site-packages/inmanta_plugins/minimalv2module contains no model (.cf) files. This occurs when you install or build modules from source incorrectly. Always use the `inmanta module` `install and `build` commands to respectively install and build modules from source.

Self Check:
Strike through any lines that are not applicable (~~line~~) then check the box

[x] Attached issue to pull request
[x] Changelog entry
[x] Type annotations are present
[x] Code is clear and sufficiently documented
[x] No (preventable) type errors (check using make mypy or make mypy-diff)
[x] Sufficient test cases (reproduces the bug/tests the requested feature)
[x] Correct, in line with design
[x] End user documentation is included or an issue is created for end-user documentation (add ref to issue here: )

Reviewer Checklist:

[ ] Sufficient test cases (reproduces the bug/tests the requested feature)
[ ] Code is clear and sufficiently documented
[ ] Correct, in line with design

Improved exception format?
Failed to load module minimalv2module (reported in import minimalv2module (./main.cf:1))
caused by:
  Module at /home/sander/documents/projects/inmanta/inmanta-model-test/libs/minimalv2module looks like a v2 module. Please add it as a v2 requirement with `inmanta module add --v2 <module_name>`

Note to self: make sure exception messages are accurate. Create ticket to make them more specific with explainer.

I've got some review work to do so I've ticketized the explainer after all: #3325.

Processing this pull request

Pull request rejected by merge tool. Failed to parse change entry file: Invalid yaml in change entry /tmp/tmpzgz2nirz/changelogs/unreleased/3088-modules-v2-warnings.yml: mapping values are not allowed here
in "/tmp/tmpzgz2nirz/changelogs/unreleased/3088-modules-v2-warnings.yml", line 1, column 24

Processing this pull request

Merged into branches master in bb65654c8f92b213c13a2eea05849da1526cd7f2


Ignore parameters which don't have a = following their name

Per https://mimesniff.spec.whatwg.org/#parse-a-mime-type it ignores the invalid parameters instead of failing to parse the mime type.
mime 0.2 did the right thing but mime 0.3 returns Err(FromStrError { inner: MissingEqual })

Sigh, the problem with media types is that there are literally a trillion specs that say different things: https://tools.ietf.org/html/rfc7231#section-<IP_ADDRESS>

Yeah, I know... Unfortunately this makes some wpt tests fail as they rely on the behavior specified in the whatwg spec (sending stuff with "text/css;blah" as Content-type).

Does RFC 7231 specify how to deal with header values that do not match the expected grammar? Does it mandate dropping the entire header, or is that v.s. within-header-value error recovery unspecified?

It does not seem like behavior was specified for errors, only grammar is specified. I'm not set on it following what 7231 says, I was just crying that it's hard to remember which spec to follow.

assert_eq!( Err(MultipartError::ParseContentType) ,"multipart/form-data; boundary=----WebKitFormBoundaryqFrxd8432dXMhW6i==".parse::mime::Mime());
assert_eq!( Ok(ct) ,"multipart/form-data; boundary=----WebKitFormBoundaryqFrxd8432dXMhW6i".parse::mime::Mime());


Issue with k8s.io/docs/tutorials/kubernetes-basics/deploy-interactive/

This is a...

[ ] Feature Request
[ X] Bug Report

Problem:
Tutorial hangs at "we are preparing the environment for you..."
Proposed Solution:
Make the tutorial work.
Page to Update:
http://kubernetes.io/...

Thank you for the report @sungwookgit
Could you verify that you can generally get access to the website https://katacoda.com from your local browser? I just accessed the page you indicated, and the tutorial iframe came up and was active without issue, but it is hosted separately from the documention itself. If you're unable to access content from a 3rd party website, the interactive tutorial component may not work correctly for you.

/cc @BenHall

Thanks @sungwookgit, as @heckj mentioned could you please try directly on the site at https://katacoda.com/kubernetes-bootcamp/scenarios/1

Thanks for the quick responses. The linked site shows the same thing. I guess it is either my company network or some missing plugins then. I will try this at my home. FYI, I was using Chrome browser running on Windows 7 :)

@sungwookgit thanks for the feedback and the issue. I'm going to close this issue for now, but feel free to re-open if there's a specific documentation issue. You can also reach us on the sig-docs channel of the Kubernetes slack