⚠ Bofrost.lu has degraded performance

In 58cce17, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1261 ms

Resolved: Bofrost.lu performance has improved in e60dd5d after 10 minutes.


There are zero referenced to the CAS.MS URLs used by Cloud App Security here

Is that documented elsewhere or should it be here?

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

ID: 077406d8-bff1-496e-3ea2-b38558fd9355
Version Independent ID: 57db3dec-2250-2dee-fd1a-ec6656911798
Content: Office 365 URLs and IP address ranges
Content Source: Enterprise/urls-and-ip-address-ranges.md
Service: o365-administration
GitHub Login: @JoeDavies-MSFT
Microsoft Alias: josephd

@officedocsbot assign @mypil

@chrislehr - Thank you for submitting feedback.
I will get this issue over to the Enterprise writing team for investigation.
Thank you for reporting and making the docs better. Much appreciated.
I made a note to request the team to update this when the work is complete.

Hello @chrislehr , Thank you for your feedback. Please note that this document is only based on Office365 related products. Cloud App Security CAS is an independent product as you have to buy its license separately so information related to CAS doesn't fall under this.
You can find CAS related information at https://docs.microsoft.com/en-us/cloud-app-security/
Thanks.

Cas.ms also not listed there.  New issue for that then?
From: ImranHabib<EMAIL_ADDRESS>Sent: Wednesday, April 24, 2019 11:40 PM
To: MicrosoftDocs/OfficeDocs-Enterprise<EMAIL_ADDRESS>Cc: Chris Lehr<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/OfficeDocs-Enterprise] There are zero referenced to the CAS.MS URLs used by Cloud App Security here (#390)
Hello @chrislehrhttps://github.com/chrislehr , Thank you for your feedback. Please note that this document is only based on Office365 related products. Cloud App Security CAS is an independent product as you have to buy its license separately so information related to CAS doesn't fall under this.
You can find CAS related information at https://docs.microsoft.com/en-us/cloud-app-security/
Thanks.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/OfficeDocs-Enterprise/issues/390#issuecomment-486539417, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ACS7GE4ALGXCY2LHK67QCS3PSFG4NANCNFSM4HHQ3NAQ.

Hello @chrisahlers, Yes, please. You can open your request at https://docs.microsoft.com/en-us/cloud-app-security/getting-started-with-cloud-app-security so that this can be escalated to the relevant team to help answer your question and make necessary additions in docs.
Thanks.

@chrislehr - From our understanding, the issue you raised has been answered by joinimran. If you feel it hasn't been answered, please re-open this issue.
Thank you for your contribution to make the docs better! Much appreciated!

@officedocsbot close


Reuse bitness detection on Linux and macOS

Currently the same tool (getconf) is used for Linux and macOS bitness detection, but the code is duplicated because of conditional compilation. This code can be moved into some shared module and reused.

Closed by #193.


[HELP] Undefined Symbols during le linkedit with XCode

Hi everybody,
As expected, many problems trying to call your library from Flutter : I am totally new with RUST and I really need your help.
Many problems are/was because my Macintosh has an Apple Silicon M1 chip.
Actually, I am able to call from Flutter a very simple library which is a "helloWord" procedure in RUST.
This runs correctely both on iOS and Android.
Now, I am trying to replace my HelloWord library by  a Copy/Paste from one of your examples : granular.rs.
(I am still not able to compile the Rust code for Android, because I have an error clang not find the library -lgcc, but I think I will be able to solve this problem myself).
The problem I have is with iOS : the compilation of my rust code works fine.
But I have undefined symbols during the linkedit under XCode.
Showing All Messages
Undefined symbol: _AudioComponentFindNext

Undefined symbol: _AudioComponentInstanceNew

Undefined symbol: _AudioComponentInstanceDispose

Undefined symbol: _AudioUnitUninitialize

Undefined symbol: _AudioUnitRender

Undefined symbol: _AudioOutputUnitStart

Undefined symbol: _AudioUnitInitialize

Undefined symbol: _AudioUnitGetProperty

Undefined symbol: _AudioSessionGetProperty

Undefined symbol: _AudioOutputUnitStop

Undefined symbol: _AudioUnitSetProperty

Her is my .toml file :
[package]
name = "rsgreeter"
version = "0.1.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[lib]
name = "rsgreeter"
crate-type = ["staticlib", "cdylib"]

[dependencies]
web-audio-api = "0.15.0"

Thank you if you can help me. ❤

I was stupid. Some frameworks was missing.
The link is OK now.


Replace Express with uWebSockets

Consider replacing expressjs with uWebScket performance gain is huge https://github.com/uWebSockets/uWebSockets/wiki/(More-than)-one-million-requests-per-second-in-Node.js

This is likely worth looking into down the road, but right now our primary bottleneck is our evaluation strategy. We're currently working on that since we expect it to have large returns for improving performance.
In the interim, if any sufficiently interested users feel passionate about this please feel free to port master to uWebSockets and provide some perf info so we can see how big the change is.


[Dropdown] - Filter Dropdown

Steps to Reproduce

Do something
Do something else.
Do one last thing.

Expected
The Dropdown should do this
Result
The Dropdown does not do this
Testcase
(fork this to get started)
http://jsfiddle.net/rduvhn8u/1/

Search In-Menu
A dropdown can include a search prompt inside its menu
When i use its code actually it dosent work
On Tue, Jul 11, 2017 at 3:33 PM, Andrew Golubev<EMAIL_ADDRESS>wrote:

Closed #5528 https://github.com/Semantic-Org/Semantic-UI/issues/5528.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Semantic-Org/Semantic-UI/issues/5528#event-1158524583,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AZY-L2g-9tmVmNRqhhiWjxTw-68Lj-ylks5sM0-KgaJpZM4OT7nG
.

Hi @aamirramay296, what doesn’t work exactly? Please provide a test case as per our contributing guidelines; you can fork this JSFiddle.


Add cspell check

To improve the quality of the software we are adding a spell checker to the script files. At the moment the checker only checks comments and strings (some lines can be ignored, for example if they are arguments for input to a program)

@andreriesco FYI


mdbx_env_open returns error 22 (Invalid argument) on 32-bit Android devices

I tried to open an environment (with and) without any options or flags (mode 0600) all 64-bit targets work without issues but on older 32-bit Android devices I get error 22 when opening an environment.

Presumably the problem is that 32-bit android kernels do not allow you to create large-size memory mappings.
Please try create/open a small sized DB, about of 1 Mb.

I tried not setting the geometry. Isn't the default size pretty small?

I tried not setting the geometry. Isn't the default size pretty small?

Should be.
Could you run your exe/application, or a minimal testcase, under the strace ?

Unfortunately that doesn't work on Android. The debugging options for native code are very limited (non-existent?).
I hoped you might have an idea what could be wrong but I understand that it's difficult without more information.

I hoped you might have an idea what could be wrong but I understand that it's difficult without more information.

No ideas, except the mapping size may made behavior significantly difference under a 32- and 64-bit environments.

Please try this.
There is no other reasonable way.

Oh that's cool. But it requires a rooted 32-bit device. Will take me some time to get it. I'll post my findings here :+1:

Please write down what you got.
Otherwise, there is a risk that I will significantly postpone fixing this issue, even if it will be confirmed.

Sorry, I still don't have a 32-bit Android device. It's no problem if the fix takes a little longer 🙂

Sorry, I still don't have a 32-bit Android device. It's no problem if the fix takes a little longer slightly_smiling_face

Assume the AVD will enough, but not sure.


Sybil Attacker Report

Related Safe Addresses
10 addresses
0x447faa09c7ea8701fe66f8f472d4a9de6d095d49
0xa9c1b95708d26afebb2a3792d3d9a692a2fae4c6
0x0eecf436974ac2f011ea9a55e72e9d597d8e20fb
0x76fec6390910a6baf2ded8baa6d32695103ad1e7
0xbf2a3d5911b78e36b7d5ebc65af6306c63644086
0xd110abdb22b9d09c5eeb927047fe29b206c57bab
0xf668b876db6777a62d3e1e651a4e4063c717db4e
0x66f2a2faa695dd7f171f03435649d4d5d6b6c137
0xb5e29e3687a8b0876d527fa7efb00eaee10fc629
0xba1467c43793310ed999a7767babc3d3b355ca71

Reasoning

The EOA addresses created the above safe addresses have sequential transactions to the next EOA address consecutively in time with decreasing ETH values on 2022-07-07. Please refer to the following table.
The safes were created every two or three addresses in the above sequential order. (null in the table means no safe is created by the address in the 1st column.)
The Safe behaviors of the above safe addresses are usually sending and receiving a small amount of ETH (0.00x ~ 0.4x ETH, mostly 0.0xx).

Safe Address
0xAbeA4DC133037af99dfa63541090124ae9e0C81c

I am just curious where I had copied these addresses from.

It is not right to insult people without a single piece of evidence.
@tschubotz @johannesmoormann @lukasschor
I will progressively add the following facts to all my reported issues.

Totally different reasons were reported in this issue.
Pls see the following table.

Reported issue
Number of safe addresses
Satus

447
10

Other reported issues contained these safe addresses
Number of reported addresses in these issues

148
1300
invalid

49
>1000
invalid

41
>1000
invalid

4
1341
invalid

wow,
https://github.com/safe-global/safe-user-allocation-reports/issues/124#issuecomment-1251046383
can you provide evidence that i am copycat????

wow, #124 (comment)
can you provide evidence that i am copycat????

I never said anyone is copycat. I only stated the facts.

wow, #124 (comment)
can you provide evidence that i am copycat????

I never said anyone is copycat. I only stated the facts.
Wow, what's your fact?

you said me
skydotone raised a lot of empty issues (too many), and suddenly, these empty issues were full of results
But always there is someone in these issues who said that he was the first to find these addresses. :-)

Then can you give me an example? Whose address did I steal? ?

wow, #124 (comment)
can you provide evidence that i am copycat????

I never said anyone is copycat. I only stated the facts.
Wow, what's your fact?

you said me
skydotone raised a lot of empty issues (too many), and suddenly, these empty issues were full of results
But always there is someone in these issues who said that he was the first to find these addresses. :-)

Then can you give me an example? Whose address did I steal? ?

This is called fact. And pls do not comment on my issue anymore. Many thanks.

In my issue, only 124 and 260 have had disputes with others.
Please take a closer look at 260! ! Who copied it?
Regarding 124, I think my defense is sufficient.
Your slander and insult to me ruined all my efforts,
This is revenge.

i just stated the facts.

LISTEN, @zlgitol  ,
I gave you six hours today, and I hope we can have a good communication. check it 👉 https://github.com/safe-global/safe-user-allocation-reports/issues/443#issuecomment-1253183888
However, you have never made any reply.
So, let me sort out what happened.

You said me:
skydotone raised a lot of empty issues (too many), and suddenly, these empty issues were full of results
But always there is someone in these issues who said that he was the first to find these addresses. :-)

I answer you that I need to get the issue number to save my local markdown file , i always edit content to format in typora
I post 26 issues, only two of which had disputes with others, issue124 and issue260

SO THIS IS ALWAYS??????

Issue260, please look at this comment,https://github.com/safe-global/safe-user-allocation-reports/issues/343#issuecomment-1251968990   please work out WHO COPY WHO.
issue124, I think my answer is clear.

AND PLEASE KNOW , In this issue, I put forward a total of 99 addresses, 11 of which have disputes with others. Please see clearly! ! !.

That's all what happened. if you think what i said is wrong, please let us have a discussion. PLEASE

The next day, all my report were labeled Heavily edited and potential copycat.
Do you know how much damage you have done to me??
Do you know how hard it is for me to prove my innocence now??
Because of your insult and slander, all of my efforts have been ruined, ALL EFFORT!
I CAN TELL YOU CLEARLY THAT THIS IS REVENGE

Thanks for the report. 1 Safe has been found by another report already. We have found the following to be related to airdrop farming:
0xa9c1b95708d26afebb2a3792d3d9a692a2fae4c6
0x0eecf436974ac2f011ea9a55e72e9d597d8e20fb
0x76fec6390910a6baf2ded8baa6d32695103ad1e7
0xbf2a3d5911b78e36b7d5ebc65af6306c63644086
0xd110abdb22b9d09c5eeb927047fe29b206c57bab
0xf668b876db6777a62d3e1e651a4e4063c717db4e
0x66f2a2faa695dd7f171f03435649d4d5d6b6c137
0xb5e29e3687a8b0876d527fa7efb00eaee10fc629
0xba1467c43793310ed999a7767babc3d3b355ca71


feat: allow TextField props to override formik props

Use case: I was trying to call something on onBlur but it was been overridden by formik props.

I daresay it'd be nice to be able to override helperText even in the presence of an error, but maybe I need to write a new component for that...

...Nevermind! For my case, FormHelperTextProps={{ style: { display: 'none' } }} works too! 😜

Hmmm. I don't think this change should be done in isolation. Every component should be updated to work in the same way.
Users should definitely be able to override onBlur and the like to I agree in principle

going to standardize this change everywhere in https://github.com/stackworx/formik-material-ui/pull/193


TROUBLESHOOTING.md doc

As mentioned on #240 (last but one comment on code) this is a proposal of a troubeshooting doc in order to place common problems, tips, tricks and solutions on a single page.
A starting point:
Troubleshooting
This document lists common problems, how to analyze and solve them (...)
Check certificate sent by ingress controller
Ingress controller uses SNI to resolve the host of a request during the TLS handshake. Openssl may be used to send an arbitrary SNI field in order to test the ingress controller.
This will start a TLS handshake and output info about the connection, eg the cipher used to communicate and DN of the certificate and it's issuer:
$ openssl s_client -connect <IP_ADDRESS>:443

The same information, now filling the SNI field with the hostname:
$ openssl s_client -connect <IP_ADDRESS>:443 -servername example.com

Yeah we should start with a skeleton doc that includes the text from above (leave out the SNI part, not all ingress controllers support it).
We can also add a section called "Debugging ingress controllers", written in the style of https://kubernetes.io/docs/user-guide/introspection-and-debugging/, that has the basic "kubectl logs/events" type debug commands.

Few more ideas to add to the doc:

keepalive timeout tuning (i.e if you have ingress controller <-> nginx pod and you're seeing 503s)
browser complains about insecure connection, but curl works
Intermediate certs don't work
OSS ingress controller accessible via ssh + curl but not through ingress IP
multiple IPs show up in the ingress


Make ArborX work with current Trilinos/Kokkos install

After Kokkos package was updated in Trilinos, we can no longer build ArborX against it. For example,
/home/xap/local/opt/trilinos-kokkos/include/OpenMP/Kokkos_OpenMP_Exec.hpp:51:2: error: #error "You enabled Kokkos OpenMP support without enabling OpenMP in t
he compiler!"

It seems that the code was restructured/modified. Some of the flags that used to be in trilinos/lib/pkgconfig/kokkos.ps (like -fopenmp;--std=c++11) were moved elsewhere (trilinos/lib/cmake/Kokkos/KokkosConfig.cmake). There is no kokkos_generated_settings.cmake anymore, either.

Asked Kokkos developers about it in kokkos/kokkos#2779.

The Kokkos PR was merged in Kokkos develop. Waiting for it to appear in Trilinos.

This will be part of the Kokkos 3.1 release. There is no plan to hotfix it before.


It would be possible to block Threads connections?

Good afternoon @StevenBlack
I would like to propose if it would be possible to block all, or all, Threads connections.
I am commenting because of this: https://www.genbeta.com/redes-sociales-y-comunidades/threads-va-a-saber-todo-ti-informe-privacidad-apple-informacion-bancaria-incluso-tu-salud
Best regards and thanks for your help and time.

Hello @gallegonovato thank you for this.
We would need to know which domains are used by Threads.
Ping @sinfonietta for the social list?

Good afternoon @StevenBlack
Many thanks to you for your help and time.
At the moment there is no application here. But I have been doing some checking.
I put Threads.com on https://www.whois.com/whois/threads.com . It came up:
ns-1039.awsdns-01.org
ns-1731.awsdns-24.co.uk
ns-404.awsdns-50.com
ns-875.awsdns-45.net
threads.com
Then on another website https://viewdns.info/reverseip/?host=threads.com&t=1 , https://viewdns.info/dnsreport/?domain=threads.com
I don't know if you can help
Thanks for your time and help.

Thank you for this @gallegonovato.
Whois is never goint to tell us which domains are used by Threads.
Regardless, I won't include Threads in our main blocklist. It would go in our Social Media extension, and be part of lists that incluse social media blocking.
That said, this issue isn't actionable until we know what domains are actually used by Threads.

Good afternoon @StevenBlack
I agree with you on adding it to the social part.
About the pages I put you, it was what I managed to find from that connection. But as I was telling you I don't know if they are or not until the application itself makes them.
I hope to have if it is possible to hunt those connections. Because the truth is that it's amazing how much it wants to know about us.
A hug and thanks for your time and help.

FYI, it's threads.net not threads.com

Good afternoon @iam-py-test
You are right. I don't know why I went for the .com
Thanks for the clarification 👍
A hug

I made the same mistake; it happens

I'm closing this issue now because it's not actionable.
I'm sure one of our social media curators will add Threads as soon as they are moved to do so. This isn't something that we can launch here.
Closing.

Good afternoon @StevenBlack
Thank you very much for your help and time.
We look forward to hunting down those connections.
By the way I was told by a co-worker that it came up on his Adaway:
a.ns.facebook.com
b.ns.facebook.com
c.ns.facebook.com
d.ns.facebook.com
dns.facebook.com
mixer.com
l.wl.co
He doesn't want stuff from Facebook if he can block it?
A hug
Good afternoon @iam-py-test
The truth is that so many variables you can put after the point. That they drive you crazy.
A hug

Good afternoon @StevenBlack and @iam-py-test.
Sorry to bother you guys.
Now they're even going to add Nvidia stuff to Mozilla https://www.noticias3d.com/noticia/92380/firefox-soporta-nvidia-video-super-resolution.html
I even imagine they will put telemetry to Nvidia....
But I imagine that Nvidia will have a lot of connections and if they are blocked maybe it is not feasible or they break things of who uses their graphics.
It's getting harder and harder to look for privacy and security.
A hug


V2.0

This release is a complete rewrite of Nightclub and will add the following:

Multi-universe system where you can declare multiple "sets of lights" and load one at will
Fully customizable light system, choose your own (maybe even create your own!) pattern, lengths, angles, directions, etc.
^^ you can even choose what events you want your light to react to!
Powerful web editor (probably)
Preparations for possible Minestom support
JSON storage of universes and lights
API

https://streamable.com/gh9p91

https://streamable.com/7il002
https://streamable.com/emzo1l

https://streamable.com/o3krjb


Wrong typescript definition and JSDoc

The JSDoc and Typescript definitions still have lots of issues. I hope you can find a way to improve that as the experience for TypeScript users is not really satisfying. My last pull request took several months to be merged even though it were just a couple definitions I have fixed. Therefore I am not so motivated to fix them myself anymore.
For instance:
https://github.com/discordjs/Commando/blob/79dd807bfbe1b58ef4acbccfd6cfe0461d7b8a95/src/dispatcher.js#L76
JSDoc and the typings say the return type is a boolean, in fact it's apparently
boolean | string | [string, Promise<Message | Message[]>]

The latest TypeScript compiler versions won't even let you compile this if you actually use something else than a boolean as return type. Overwriting these package definitions locally is a pain, because the package libraries are always preferred.

Same problem with return type for Command.run. Cannot infer correctly. While you receive CommandoMessage as first argument, it requires function to return Promise<Message | Message[]>, and CommandoMessage is missing some fields from Message, so it doesn't compile.

discord.js: 12.5.1
discord.js-commando: github:discordjs/commando
My workaround to use Command.run
/* eslint-disable @typescript-eslint/ban-types */
import { Message } from 'discord.js';
import { Command, CommandoClient, CommandoMessage } from 'discord.js-commando';

export default class CreateTeamsCommand extends Command {
  constructor(client: CommandoClient) {
    super(client, {
      name: 'create',
      group: 'teams',
      memberName: 'teams',
      description: 'Creates two teams',
      details: 'tbd',
      examples: ['create'],
    });
  }

  async run(msg: CommandoMessage, args: object | string | string[]) {
    msg.mentions.roles.forEach((v, k) => {
      msg.say(k);
    });

    return new Message(null, null, msg.channel);
  }
}

discord.js: 12.5.1
discord.js-commando: github:discordjs/commando
My workaround to use Command.run
/* eslint-disable @typescript-eslint/ban-types */
import { Message } from 'discord.js';
import { Command, CommandoClient, CommandoMessage } from 'discord.js-commando';

export default class CreateTeamsCommand extends Command {
  constructor(client: CommandoClient) {
    super(client, {
      name: 'create',
      group: 'teams',
      memberName: 'teams',
      description: 'Creates two teams',
      details: 'tbd',
      examples: ['create'],
    });
  }

  async run(msg: CommandoMessage, args: object | string | string[]) {
    msg.mentions.roles.forEach((v, k) => {
      msg.say(k);
    });

    return new Message(null, null, msg.channel);
  }
}


[Suggestion] Display the inputted name after clicking "Back" button

OS: All
Build Version: 20191010.14
Repro Steps:

F1 --> Type and select "Azure App Service: Create New Web App... (Advanced)".
Enter a valid name --> Press "Enter" --> Select "+Create new resource group" --> Enter a new resource group name --> Click "Back" button.
Check the resource group name.

Actual:
Display the default name rather than inputted name.
Suggestion:
Display the inputted name.
More Info:

This issue also reproduces when creating a new App Service Plan and Application Insights Resource.
Clear the inputted web app after clicking "Back" button.

Fixed in https://github.com/microsoft/vscode-azuretools/pull/688


BTC transfer transaction with returning BTC in mempool can cause 0 balance

Total balance is input. Most is returned and a small amount is send elsewhere or spend as fee. Users can get a scare because it can look like their whole balance is gone.

After one confirmation the balance did show again as normal for the user.

By "returning BTC" what do you mean exactly? Are these PSBTs?

By "returning BTC" what do you mean exactly? Are these PSBTs?

I mean this output which is returning to the "input address".

@314159265359879 could you check if this issue is still relevant here please: https://github.com/hirosystems/wallet/pull/3927

@alter-eggo I have not seen it pop up testing with the latest build lets close this, for now, I will reopen if it does pop up again. It is a bit tricky to test because the issue didn't materialize in every situation.


JVM Language Interop

Summary
Even though GraalVM is a JVM, it doesn't provide a Truffle interpreter for JVM bytecode. This means that we can't easily provide our users with a seamless experience when calling Java, Scala, or one of the myriad other languages that run on the JVM.
It would, however, be ideal to work out some other mechanism by which users can write foreign Java, Scala and the like as part of their Enso projects, both to enable interop with the vast world of libraries for JVM languages, but also to ease the integration of Enso with existing systems written in those languages.
Value
Many enterprise places run on Java, making it important for us to enable interoperation between Enso and their existing systems and code.
Specification

Analyse the possible routes to providing interop with JVM languages with a particular focus on Java and Scala.
Though a generic solution is preferable, getting even just Java interop working would be a big boon.
Potential routes involve reflection, and encouraging oracle to provide a Truffle interpreter for JVM Bytecode.
Based on the design that is decided upon, implement this interoperation purely for Java.

Acceptance Criteria & Test Cases

Enso can interop with Java in a fairly effortless manner.

Oracle has been working on the Espresso project, which is a Truffle interpreter for JVM bytecode. As confirmed in this issue, the current work at Oracle is focused on implementing the last 1% of the interpreter to achieve full compatibility with the TCK, after which there are plans to open-source the project.
Even without a clear deadline for this becoming public, it is very clear that this obviates the need to implement our own custom interop, and can instead piggyback on the work done in #153 and #161.
This decision should be re-evaluated at the start of this epic, but seems like the best approach at this point.


Fix #35 and #36

Fixes #35 and #36.  This PR is mostly just moving code around.  The substantive changes are found in InterledgerPacket.java and (its unit tests) and CodecContext.java, which takes advantage of the InterledgerPacket handling framework.
Specifically:

Fix #35: Remove the “wire” package and move all codec-related interfaces/clases into the “org.interledger.codecs” package.
Fix #36: Move “InterledgerPacket” to a top-level interledger namespace.  Move “Packet Handler” mechanisms to be internally-defined in InterledgerPacket for clarity.
Add unit tests for InterledgerPacket.Handler abstract utility classes.

Misc

Add package-info.java classes where appropriate.
Formatting, package renames.
Formatting to appease Checkstyle.

Codecov Report

Merging #44 into development will increase coverage by 0.16%.
The diff coverage is 44.44%.

@@                Coverage Diff                @@
##             development      #44      +/-   ##
=================================================
+ Coverage          56.38%   56.55%   +0.16%
+ Complexity           159      157       -2
=================================================
  Files                 57       56       -1
  Lines               1002     1015      +13
  Branches              94       98       +4
=================================================
+ Hits                 565      574       +9
- Misses               388      391       +3
- Partials              49       50       +1

Impacted Files
Coverage Δ
Complexity Δ

...cs/packettypes/QuoteBySourceRequestPacketType.java
100% <ø> (ø)
1 <0> (?)

...s/packettypes/QuoteBySourceResponsePacketType.java
100% <ø> (ø)
1 <0> (?)

...interledger/codecs/QuoteLiquidityRequestCodec.java
0% <ø> (ø)
0 <0> (?)

...erledger/codecs/packettypes/PaymentPacketType.java
100% <ø> (ø)
1 <0> (?)

.../packettypes/QuoteLiquidityResponsePacketType.java
100% <ø> (ø)
1 <0> (?)

...dger/codecs/packettypes/InterledgerPacketType.java
58.53% <ø> (ø)
8 <0> (?)

.../org/interledger/codecs/oer/OerIA5StringCodec.java
67.64% <ø> (ø)
4 <0> (?)

.../codecs/oer/ilp/InterledgerPacketTypeOerCodec.java
50% <ø> (ø)
2 <0> (?)

...rg/interledger/codecs/InterledgerPaymentCodec.java
100% <ø> (ø)
2 <0> (?)

...ckettypes/QuoteByDestinationRequestPacketType.java
100% <ø> (ø)
1 <0> (?)

... and 22 more

Continue to review full report at Codecov.

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


Upgraded deps for docusaurus v3 and builds successfully complete

Docusaurus V3 requires Node and React >= 18. After upgrading the packages the Rush builds successfully complete.
Additionally I did upgrade postel to the latest available version (0.1.5).
It seems like postel is not maintained at the moment. The option is to rebuild the functionality using something else or fork the package.

@philippnagel We moved your PR code to a new one in order to prepare it for release.
Thank you for your contribution.


fixed sentry notification recipe to work with latest API changes

Q
A

Bug fix?
Yes

New feature?
No

BC breaks?
Yes

Deprecations?
No

Fixed tickets
N/A

API URL and params changed:
https://docs.sentry.io/api/releases/post-organization-releases/

after looking into it some more it appears they have two terms now: release and deploy. I think we should add a deploy as well. Basically you create a release and then deploy that release to specific environments, so maybe recipe should do the same

Can you do a PR for it too?

@antonmedv i will, do you think it should part of deploy:sentry or make it a separate one? i would probably do it inside the same, first create a release and then a deployment after all for us it's mostly the same

What's most common way of using it? Will somebody need it as separate recipe? I think if this is no for most of cases - part of deploy:sentry.

i can't think of any such use case, so let's first implement it as one task, make it work and if somebody complains we can always change it

Okay, let's do it.


Basic validation for cw20 and cw721 contracts added to treasury.

This performs some basic validation for cw20 and cw721 tokens added to the cw-core treasury. This is in response to an issue reported where a user added a cw721 and broke the Cw20Balances query.
Resolves #427

Codecov Report

Merging #428 (28da05c) into main (14e8467) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #428   +/-   ##
=======================================
  Coverage   95.43%   95.44%
=======================================
  Files          33       33
  Lines        4950     4958    +8
=======================================
+ Hits         4724     4732    +8
  Misses        226      226

Impacted Files
Coverage Δ

contracts/cw-core/src/contract.rs
95.75% <100.00%> (+0.10%)
:arrow_up:

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 14e8467...28da05c. Read the comment docs.


Support service meshes

See https://github.com/acorn-io/acorn/issues/456 for more details, but the idea is to improve networking and security posture of acorn apps by creating the proper underlying service mesh resources when launching an acorn app

We want mTLS and visibility (linkerd)

We have developed a linkerd plugin to support service mesh.
Repo: https://github.com/acorn-io/acorn-linkerd-plugin
It currently provides:

Automatically inject linkerd sidecar to every acorn to privode mTLS and traffic metrics
It will shutdown jobs that is completed but have a pending sidecar https://github.com/linkerd/linkerd2/issues/8006
Configures network policy to ensure project-level isolation.

QA
To verify the functionality above, we can test the following behavior

When launching an acorn app, the sidecar will injected. Can verify this by doing acorn logs, you should be able to see logs from linkerd sidecar

When launching acorn app with job defined, it should complete and not hang.

The acorn app can't not reach to apps in different projects(either though k8s service discovery or pod IP)

Need to figure out if we want to expose this in the acorn docs

As discussed, we will need docs for this explaining how to leverage this integration in acorn

@g-linville what remains here is adding docs explaining our linkerd integration. They should:

call out that the feature is experimental
explain you need to install the plugin (hopefully with some reasonably easy steps to do so)
explain the benefits you get (automatically putting apps on to the mesh and cross project isolation)

Can you pick this up? (And turn around some docs within 24 hours of now).
Doesn't have to be super comprehensive, just reasonably helpful

We've decided to bump this out of the release entirely, pending a re-evaluation of our mesh solution in hub


Test Problem

What's your test method to get the good results? In the code of provided, gallery set isn't used, as I know, the result on  probe set only cannot represent Heterogeneous FR problem? can you provide your test code for I can't get than good result by your code here, Thank you

Could you tell me how to design the data set in the test and training


Registered users features

Acceptance Criteria:

[ ]  Cart management ( items wish list)
[ ]  Sign Up for news letters
[ ]  Reminders for events


Issue 272: Release of 2.2.1

Description

Updated the changelog
Updated the package's version number

Testing
Locally updated kashoo-document-definitions to target the version of synctos with a fix for issue #270. Executed several document writes using both Sync Gateway 1.5.1 and 2.0.0 beta 2.
Related Issue

GitHub issue link: #272

👍


Update README.md

Give one line space after adding new tools.
Links are not working (Check once on your fork request)


I am wondering if you could share the changed JAVA-based 'Stock Management Game' module in your live session at 'AnyLogic Conference 2021'.

Hello Tyler Wolfe-Adam.
I want to use AnyLogic's Alpyne module and AnyLogic's simulation environment to write a thesis that applies deep reinforcement learning in a business simulation environment.
I was impressed with your session 'Adding Python to Your Simulation Modeling Workflow: The Pypeline and Alpyne Libraries' at 'AnyLogic Conference 2021', and while trying to reproduce your code, there are several problems.
For reference, I'm using 'AnyLogic 8 Personal Learning Edition 8.7.7
I'm using Build: <IP_ADDRESS>109242342 x64', and after installing that version, I'm changing the code a bit to the 'Stock Management Game' that comes with it by default.
The problem is that the 'Stock Management Game' I saw in your presentation session looks like you changed the code a bit... It's hard to follow which part needs to be changed. I am wondering if you could share the changed JAVA-based 'Stock Management Game' module to 'https://github.com/t-wolfeadam/Alpyne' Github.
And I share the log where there is an error while running 'simple run - single.py'. Thank you.
<Error Log : GET /versions/number/0: None >
/Users/parksurk/anaconda3/envs/rllib/bin/python "/Users/parksurk/anylogic/Stock Management Game/simple run - single.py"
2021-10-16 23:57:10,893 [alpyne.client.alpyne_client @ 69][    INFO] Starting model in /Users/parksurk/anylogic/Stock Management Game
2021-10-16 23:57:10,897 [alpyne.client.alpyne_client @ 89][   DEBUG] Executing:
java -cp alpyne/resources/:alpyne/resources/alpyne_lib/::Exported/:alpyne/:.idea/:Exported/StockManagementGame/:Exported/StockManagementGame/lib/:Exported/StockManagementGame/lib/database/:Exported/StockManagementGame/lib/sa/:Exported/StockManagementGame/lib/database/querydsl/:Exported/StockManagementGame/lib/sa/spark/:Exported/StockManagementGame/lib/sa/jackson/:alpyne/resources/:alpyne/pycache/:alpyne/data/:alpyne/client/:alpyne/resources/alpyne_lib/:alpyne/data/pycache/:alpyne/client/pycache/:.idea/inspectionProfiles/* com.anylogic.alpyne.AlpyneServer -p 28590 -o /Users/parksurk/anylogic/Stock Management Game -l ALL .
2021-10-16 23:57:10,899 [alpyne.client.alpyne_client @ 107][    INFO] Started app | PID = 64416
2021-10-16 23:57:10,900 [alpyne.client.http_client @ 30][   DEBUG] GET /versions/number/0: None
Traceback (most recent call last):
File "/Users/parksurk/anaconda3/envs/rllib/lib/python3.8/urllib/request.py", line 1354, in do_open
h.request(req.get_method(), req.selector, req.data, headers,
File "/Users/parksurk/anaconda3/envs/rllib/lib/python3.8/http/client.py", line 1252, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/Users/parksurk/anaconda3/envs/rllib/lib/python3.8/http/client.py", line 1298, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/Users/parksurk/anaconda3/envs/rllib/lib/python3.8/http/client.py", line 1247, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/Users/parksurk/anaconda3/envs/rllib/lib/python3.8/http/client.py", line 1007, in _send_output
self.send(msg)
File "/Users/parksurk/anaconda3/envs/rllib/lib/python3.8/http/client.py", line 947, in send
self.connect()
File "/Users/parksurk/anaconda3/envs/rllib/lib/python3.8/http/client.py", line 918, in connect
self.sock = self._create_connection(
File "/Users/parksurk/anaconda3/envs/rllib/lib/python3.8/socket.py", line 808, in create_connection
raise err
File "/Users/parksurk/anaconda3/envs/rllib/lib/python3.8/socket.py", line 796, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 61] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/parksurk/anylogic/Stock Management Game/alpyne/client/alpyne_client.py", line 49, in init
_, _, output = self._http_client.get("/versions/number/0")
File "/Users/parksurk/anylogic/Stock Management Game/alpyne/client/http_client.py", line 57, in get
return self.api_request(url, method="GET")
File "/Users/parksurk/anylogic/Stock Management Game/alpyne/client/http_client.py", line 38, in api_request
response = urllib.request.urlopen(request, timeout=3)
File "/Users/parksurk/anaconda3/envs/rllib/lib/python3.8/urllib/request.py", line 222, in urlopen
return opener.open(url, data, timeout)
File "/Users/parksurk/anaconda3/envs/rllib/lib/python3.8/urllib/request.py", line 525, in open
response = self._open(req, data)
File "/Users/parksurk/anaconda3/envs/rllib/lib/python3.8/urllib/request.py", line 542, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
File "/Users/parksurk/anaconda3/envs/rllib/lib/python3.8/urllib/request.py", line 502, in _call_chain
result = func(*args)
File "/Users/parksurk/anaconda3/envs/rllib/lib/python3.8/urllib/request.py", line 1383, in http_open
return self.do_open(http.client.HTTPConnection, req)
File "/Users/parksurk/anaconda3/envs/rllib/lib/python3.8/urllib/request.py", line 1357, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [Errno 61] Connection refused>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/parksurk/anylogic/Stock Management Game/simple run - single.py", line 33, in
client = AlpyneClient(r"Exported\StockManagementGame\model.jar", port=28590, blocking=True, verbose=True)
File "/Users/parksurk/anylogic/Stock Management Game/alpyne/client/alpyne_client.py", line 52, in init
raise ModelError(f"Failed to properly start the app. Error from process: {self._proc.stderr.readline().decode()}")
alpyne.data.model_error.ModelError: ModelError[path=, status=Failed to properly start the app. Error from process: Error: A JNI error has occurred, please check your installation and try again
, error=None, msg='']
2021-10-16 23:57:11,406 [alpyne.client.http_client @ 30][   DEBUG] DELETE /: None
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
File "/Users/parksurk/anaconda3/envs/rllib/lib/python3.8/urllib/request.py", line 1354, in do_open
h.request(req.get_method(), req.selector, req.data, headers,
File "/Users/parksurk/anaconda3/envs/rllib/lib/python3.8/http/client.py", line 1252, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/Users/parksurk/anaconda3/envs/rllib/lib/python3.8/http/client.py", line 1298, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/Users/parksurk/anaconda3/envs/rllib/lib/python3.8/http/client.py", line 1247, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/Users/parksurk/anaconda3/envs/rllib/lib/python3.8/http/client.py", line 1007, in _send_output
self.send(msg)
File "/Users/parksurk/anaconda3/envs/rllib/lib/python3.8/http/client.py", line 947, in send
self.connect()
File "/Users/parksurk/anaconda3/envs/rllib/lib/python3.8/http/client.py", line 918, in connect
self.sock = self._create_connection(
File "/Users/parksurk/anaconda3/envs/rllib/lib/python3.8/socket.py", line 808, in create_connection
raise err
File "/Users/parksurk/anaconda3/envs/rllib/lib/python3.8/socket.py", line 796, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 61] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/parksurk/anylogic/Stock Management Game/alpyne/client/http_client.py", line 38, in api_request
response = urllib.request.urlopen(request, timeout=3)
File "/Users/parksurk/anaconda3/envs/rllib/lib/python3.8/urllib/request.py", line 222, in urlopen
return opener.open(url, data, timeout)
File "/Users/parksurk/anaconda3/envs/rllib/lib/python3.8/urllib/request.py", line 525, in open
response = self._open(req, data)
File "/Users/parksurk/anaconda3/envs/rllib/lib/python3.8/urllib/request.py", line 542, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
File "/Users/parksurk/anaconda3/envs/rllib/lib/python3.8/urllib/request.py", line 502, in _call_chain
result = func(*args)
File "/Users/parksurk/anaconda3/envs/rllib/lib/python3.8/urllib/request.py", line 1383, in http_open
return self.do_open(http.client.HTTPConnection, req)
File "/Users/parksurk/anaconda3/envs/rllib/lib/python3.8/urllib/request.py", line 1357, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [Errno 61] Connection refused>
Process finished with exit code 1

Hi @t-wolfeadam , thank you for your kind feedback.
I am asking for the 'Stock Management Game' source files that you modified for your 'AnyLogic Conference 2021' session.
My 'Stock Management Game' source files in AnyLogic IDE look like below.

and I checked my JAVA version like below. My JAVA version is '11.0.12'.

And I share the log where there is an error while running 'simple run - single.py' again.
I guess the root cause of my error is ...
My 'Stock Management Game' source files doesn't have any 'End point' codes  for '/versions/number/0'.
so I am asking for your 'Stock Management Game' source files that you modified for your 'AnyLogic Conference 2021' session.
2021-10-19 14:24:11,651 [alpyne.client.http_client @ 30][   DEBUG] GET /versions/number/0: None
Thank you so much.
<< Full Error Log while running 'simple run - single.py'>>
/Users/parksurk/anaconda3/envs/rllib/bin/python "/Users/parksurk/anylogic/Stock Management Game/simple run - single.py"
2021-10-19 14:24:11,645 [alpyne.client.alpyne_client @ 69][    INFO] Starting model in /Users/parksurk/anylogic/Stock Management Game
2021-10-19 14:24:11,648 [alpyne.client.alpyne_client @ 89][   DEBUG] Executing:
java -cp alpyne/resources/:alpyne/resources/alpyne_lib/::Exported/:alpyne/:.idea/:Exported/StockManagementGame/:Exported/StockManagementGame/lib/:Exported/StockManagementGame/lib/database/:Exported/StockManagementGame/lib/sa/:Exported/StockManagementGame/lib/database/querydsl/:Exported/StockManagementGame/lib/sa/spark/:Exported/StockManagementGame/lib/sa/jackson/:alpyne/resources/:alpyne/pycache/:alpyne/data/:alpyne/client/:alpyne/resources/alpyne_lib/:alpyne/data/pycache/:alpyne/client/pycache/:.idea/inspectionProfiles/* com.anylogic.alpyne.AlpyneServer -p 28590 -o /Users/parksurk/anylogic/Stock Management Game -l ALL .
2021-10-19 14:24:11,651 [alpyne.client.alpyne_client @ 107][    INFO] Started app | PID = 8593
2021-10-19 14:24:11,651 [alpyne.client.http_client @ 30][   DEBUG] GET /versions/number/0: None
Traceback (most recent call last):
File "/Users/parksurk/anaconda3/envs/rllib/lib/python3.8/urllib/request.py", line 1354, in do_open
h.request(req.get_method(), req.selector, req.data, headers,
File "/Users/parksurk/anaconda3/envs/rllib/lib/python3.8/http/client.py", line 1252, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/Users/parksurk/anaconda3/envs/rllib/lib/python3.8/http/client.py", line 1298, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/Users/parksurk/anaconda3/envs/rllib/lib/python3.8/http/client.py", line 1247, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/Users/parksurk/anaconda3/envs/rllib/lib/python3.8/http/client.py", line 1007, in _send_output
self.send(msg)
File "/Users/parksurk/anaconda3/envs/rllib/lib/python3.8/http/client.py", line 947, in send
self.connect()
File "/Users/parksurk/anaconda3/envs/rllib/lib/python3.8/http/client.py", line 918, in connect
self.sock = self._create_connection(
File "/Users/parksurk/anaconda3/envs/rllib/lib/python3.8/socket.py", line 808, in create_connection
raise err
File "/Users/parksurk/anaconda3/envs/rllib/lib/python3.8/socket.py", line 796, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 61] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/parksurk/anylogic/Stock Management Game/alpyne/client/alpyne_client.py", line 49, in init
_, _, output = self._http_client.get("/versions/number/0")
File "/Users/parksurk/anylogic/Stock Management Game/alpyne/client/http_client.py", line 57, in get
return self.api_request(url, method="GET")
File "/Users/parksurk/anylogic/Stock Management Game/alpyne/client/http_client.py", line 38, in api_request
response = urllib.request.urlopen(request, timeout=3)
File "/Users/parksurk/anaconda3/envs/rllib/lib/python3.8/urllib/request.py", line 222, in urlopen
return opener.open(url, data, timeout)
File "/Users/parksurk/anaconda3/envs/rllib/lib/python3.8/urllib/request.py", line 525, in open
response = self._open(req, data)
File "/Users/parksurk/anaconda3/envs/rllib/lib/python3.8/urllib/request.py", line 542, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
File "/Users/parksurk/anaconda3/envs/rllib/lib/python3.8/urllib/request.py", line 502, in _call_chain
result = func(*args)
File "/Users/parksurk/anaconda3/envs/rllib/lib/python3.8/urllib/request.py", line 1383, in http_open
return self.do_open(http.client.HTTPConnection, req)
File "/Users/parksurk/anaconda3/envs/rllib/lib/python3.8/urllib/request.py", line 1357, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [Errno 61] Connection refused>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/parksurk/anylogic/Stock Management Game/simple run - single.py", line 33, in
client = AlpyneClient(r"Exported\StockManagementGame\model.jar", port=28590, blocking=True, verbose=True)
File "/Users/parksurk/anylogic/Stock Management Game/alpyne/client/alpyne_client.py", line 52, in init
raise ModelError(f"Failed to properly start the app. Error from process: {self._proc.stderr.readline().decode()}")
alpyne.data.model_error.ModelError: ModelError[path=, status=Failed to properly start the app. Error from process: , error=None, msg='']
2021-10-19 14:24:12,696 [alpyne.client.http_client @ 30][   DEBUG] DELETE /: None
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
File "/Users/parksurk/anaconda3/envs/rllib/lib/python3.8/urllib/request.py", line 1354, in do_open
h.request(req.get_method(), req.selector, req.data, headers,
File "/Users/parksurk/anaconda3/envs/rllib/lib/python3.8/http/client.py", line 1252, in request
self._send_request(method, url, body, headers, encode_chunked)
File "/Users/parksurk/anaconda3/envs/rllib/lib/python3.8/http/client.py", line 1298, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File "/Users/parksurk/anaconda3/envs/rllib/lib/python3.8/http/client.py", line 1247, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File "/Users/parksurk/anaconda3/envs/rllib/lib/python3.8/http/client.py", line 1007, in _send_output
self.send(msg)
File "/Users/parksurk/anaconda3/envs/rllib/lib/python3.8/http/client.py", line 947, in send
self.connect()
File "/Users/parksurk/anaconda3/envs/rllib/lib/python3.8/http/client.py", line 918, in connect
self.sock = self._create_connection(
File "/Users/parksurk/anaconda3/envs/rllib/lib/python3.8/socket.py", line 808, in create_connection
raise err
File "/Users/parksurk/anaconda3/envs/rllib/lib/python3.8/socket.py", line 796, in create_connection
sock.connect(sa)
ConnectionRefusedError: [Errno 61] Connection refused
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Users/parksurk/anylogic/Stock Management Game/alpyne/client/http_client.py", line 38, in api_request
response = urllib.request.urlopen(request, timeout=3)
File "/Users/parksurk/anaconda3/envs/rllib/lib/python3.8/urllib/request.py", line 222, in urlopen
return opener.open(url, data, timeout)
File "/Users/parksurk/anaconda3/envs/rllib/lib/python3.8/urllib/request.py", line 525, in open
response = self._open(req, data)
File "/Users/parksurk/anaconda3/envs/rllib/lib/python3.8/urllib/request.py", line 542, in _open
result = self._call_chain(self.handle_open, protocol, protocol +
File "/Users/parksurk/anaconda3/envs/rllib/lib/python3.8/urllib/request.py", line 502, in _call_chain
result = func(*args)
File "/Users/parksurk/anaconda3/envs/rllib/lib/python3.8/urllib/request.py", line 1383, in http_open
return self.do_open(http.client.HTTPConnection, req)
File "/Users/parksurk/anaconda3/envs/rllib/lib/python3.8/urllib/request.py", line 1357, in do_open
raise URLError(err)
urllib.error.URLError: <urlopen error [Errno 61] Connection refused>
Process finished with exit code 1

Hello @t-wolfeadam ~~
Thank you for your hint about 'It may be a problem with the changed port number or something I overlooked with macs'.
I changed some codes and it works now^^

client = AlpyneClient(r"**Exported\StockManagementGame\model.jar**", port=28590, blocking=False, verbose=True)

client = AlpyneClient(r"**Exported/StockManagementGame/model.jar**", port=28590, blocking=False, verbose=True)
But I still need the 'Stock Management Game' source files that you modified for your 'AnyLogic Conference 2021' session. If you offer 'Stock Management Game' source files that you modified for your 'AnyLogic Conference 2021'  to me, it would be very helpful for me to debug 'Alpyne example codes'.
Actually I've been spending a lot of time interpreting and analogizing the code you showed me in the 'AnyLogic Conference 2021' session below. Specially I don't know how it work with 'root.stockValueDS', 'root.inRLMode',  variables and 'actionEvent' in the 'Stock Management Game' source files at AnyLogic IDE.
<'Observation' codes in 'RLExperment' property>
// get current stock value
stock_amount = root.Stock;
// provide recent values for a possible indication of trajectory
int n = root.stockValueDS.size();
recent_stock_amounts = new double[] {
root.stockValueDS.getY(limitMin(n-2, 0)),
root.stockValueDS.getY(limitMin(n-3, 0)),
root.stockValueDS.getY(limitMin(n-4, 0)),
};
// include last action for more context
last_order_rate = root.OrderRate;
// include time for logging purposes; may aloso help the AI train
time_days = root.time(DAY);
<'Action' codes in 'RLExperment' property>
root.OrderRate = order_rate;
<'Configuration' codes in 'RLExperment' property>
// validate input
if (acquisition_lag_days < 1) {
root.warning("Provided lag input (%s) cannot be < 1; clamping at minimum (1).", acquisition_lag_days);
acquisition_lag_days = 1;
}
root.AcquisitionLag = acquisition_lag_days;
// make sure 'takeAction' will execute
root.inRLMode = true;
Finally, I add my alpyne.log(before, after). Thank you again^^

[2021-10-19 14:24:12] INFO    @ com.anylogic.alpyne.AlpyneServer main
| [PID=8593] Initializing @ '/Users/parksurk/anylogic/Stock Management Game' with arguments: {path=., port=28590, dev_mode=false}
[2021-10-19 14:24:12] FINER   @ ModelManager.
| ENTRY {0}	.
java.nio.file.NoSuchFileException: ./model.jar
at java.base/sun.nio.fs.UnixException.translateToIOException(UnixException.java:92)
at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:111)
at java.base/sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:116)
at java.base/sun.nio.fs.UnixFileAttributeViews$Basic.readAttributes(UnixFileAttributeViews.java:55)
at java.base/sun.nio.fs.UnixFileSystemProvider.readAttributes(UnixFileSystemProvider.java:149)
at java.base/java.nio.file.Files.readAttributes(Files.java:1764)
at java.base/java.util.zip.ZipFile$Source.get(ZipFile.java:1250)
at java.base/java.util.zip.ZipFile$CleanableResource.(ZipFile.java:733)
at java.base/java.util.zip.ZipFile$CleanableResource.get(ZipFile.java:842)
at java.base/java.util.zip.ZipFile.(ZipFile.java:248)
at java.base/java.util.zip.ZipFile.(ZipFile.java:177)
at java.base/java.util.zip.ZipFile.(ZipFile.java:191)
at com.anylogic.alpyne.sim.api.JarReader.findRLExperimentClassPath(JarReader.java:55)
at com.anylogic.alpyne.sim.api.JarReader.getRLExperiment(JarReader.java:30)
at com.anylogic.alpyne.sim.ModelManager.(ModelManager.java:42)
at com.anylogic.alpyne.AlpyneServer.main(AlpyneServer.java:93)
[2021-10-19 14:24:12] INFO    @ Version.load
| Loading from experiment
[2021-10-19 14:24:12] SEVERE  @ com.anylogic.alpyne.AlpyneServer main
| Issue while attempting to run server: null
java.lang.NullPointerException
at com.anylogic.alpyne.server.data.Version.load(Version.java:76)
at com.anylogic.alpyne.server.data.Version.(Version.java:49)
at com.anylogic.alpyne.sim.ModelManager.(ModelManager.java:43)
at com.anylogic.alpyne.AlpyneServer.main(AlpyneServer.java:93)
[2021-10-19 14:24:12] WARNING @ com.anylogic.alpyne.AlpyneServer main
| Alpyne terminated.
[2021-10-19 14:24:12] INFO    @ AlpyneServer.main
| [PID=8593] Initializing @ '/Users/parksurk/anylogic/Stock Management Game' with arguments: {path=., port=28590, dev_mode=false}
[2021-10-19 14:24:12] SEVERE  @ AlpyneServer.main
| Issue while attempting to run server: null
java.lang.NullPointerException
at com.anylogic.alpyne.server.data.Version.load(Version.java:76)
at com.anylogic.alpyne.server.data.Version.(Version.java:49)
at com.anylogic.alpyne.sim.ModelManager.(ModelManager.java:43)
at com.anylogic.alpyne.AlpyneServer.main(AlpyneServer.java:93)
[2021-10-19 14:24:12] WARNING @ AlpyneServer.main
| Alpyne terminated.

[2021-10-21 14:11:24] INFO    @ com.anylogic.alpyne.AlpyneServer main
| [PID=12633] Initializing @ '/Users/parksurk/anylogic/Stock Management Game/Exported/StockManagementGame' with arguments: {path=., port=28590, dev_mode=false}
[2021-10-21 14:11:24] FINER   @ ModelManager.
| ENTRY {0}	.
[2021-10-21 14:11:24] FINER   @ BonsaiBrainLearningPlatform.
| ENTRY {0}	{}
[2021-10-21 14:11:24] INFO    @ Version.load
| Loading from experiment
[2021-10-21 14:11:24] INFO    @ Version.load
| Inputs      = [(DOUBLE)AcquisitionLag=null, (BOOLEAN)inRLMode=null, (DOUBLE){START_TIME}=0.0, (DATE_TIME){START_DATE}=Wed Jan 01 00:00:00 KST 2020, (DOUBLE){STOP_TIME}=731.0069444444445, (DATE_TIME){STOP_DATE}=Sat Jan 01 00:10:00 KST 2022, (LONG){RANDOM_SEED}=null]
Outputs     = [(DATA_SET)_ds_Demand=null, (DATA_SET)_ds_SalesRate=null, (DATA_SET)_ds_OrderRate=null, (DATA_SET)_ds_AcquisitionRate=null, (DATA_SET)_ds_Stock=null, (DATA_SET)_ds_SupplyLine=null]
Config      = [(INTEGER)acquisition_lag_days=null, (DOUBLE){START_TIME}=0.0, (DATE_TIME){START_DATE}=Wed Jan 01 00:00:00 KST 2020, (DOUBLE){STOP_TIME}=731.0069444444445, (DATE_TIME){STOP_DATE}=Sat Jan 01 00:10:00 KST 2022, (LONG){RANDOM_SEED}=null]
Observation = [(DOUBLE)stock_amount=null, (DOUBLE_ARRAY)recent_stock_amounts=null, (DOUBLE)last_order_rate=null, (DOUBLE)time_days=null]
Action      = [(DOUBLE)order_rate=null]
[2021-10-21 14:11:24] WARNING @ org.glassfish.jersey.server.wadl.WadlFeature configure
| JAX-B API not found . WADL feature is disabled.
[2021-10-21 14:11:25] INFO    @ org.glassfish.grizzly.http.server.NetworkListener start
| Started listener bound to [localhost:28590]
[2021-10-21 14:11:25] INFO    @ org.glassfish.grizzly.http.server.HttpServer start
| [HttpServer] Started.


GUACAMOLE-262: set VNC trueColour flag to 1 instead of 255

Well ... It's unfortunate that this has to be done, but I guess it is what it is. This is definitely not the only workaround for libvncclient quirks present in the guacamole-server codebase. We should probably look into migrating away from libvncclient when possible.


MenuBar menu items do not display shortcut key on macOS with prefer_global_menu

Godot version
4.2.dev6
System information
macOS 13.6.0
Issue description
The MenuBar control can be used with the prefer_global_menu property (default true) to setup the application top menu bar when available (on macOS only?). This generates menus and items based on the PopupMenu nodes placed in the MenuBar.
While you can't access this via the editor I've now learnt that it is possible to set shortcuts for these menu items using script. This works  as intended for embedded menu items as shown below (apart from a bug that appends "(Unicode)"?):

However, if you toggle prefer_global_menu on again and the menu is converted to the OS standard menu these items do not get the assigned shortcut keys:

For reference how macOS menu items with shortcuts normally appear:

Likely when setting up the corresponding NSMenuItems for the macOS menu, the keyEquivalent property is not set to match the Shortcut for the item.
Correctly setting this keyEquivalent would also have the benefit of the menu item automatically intercepting the key event and highlighting the menu as appropriate when the item is triggered, as well as sending the event that the item was selected.
Steps to reproduce
Set up a project with a Control scene with:

MenuBar

PopupMenu

Configure the popup menu to have at least one item.
In ready, assign the keyboard shortcut to the menu item (in a script)
var menu:PopupMenu = $MenuBar/PopupMenu
var shortcut:Shortcut = Shortcut.new()
var shortcutKeyEvent:InputEventKey = InputEventKey.new()
shortcutKeyEvent.key_label = KEY_O
shortcutKeyEvent.command_or_control_autoremap = true
shortcut.events.append(shortcutKeyEvent)
menu.set_item_shortcut(0,shortcut,true)

Run on macOS and observer that the shortcut key is missing in the menu item.
Minimal reproduction project
NativeMenuItemShortcuts.zip

It's using keycode from the shortcut to set native menu shortcuts, not a key_label. But I guess should be checking for all options instead.

It's using keycode from the shortcut to set native menu shortcuts, not a key_label. But I guess should be checking for all options instead.

Ah, I understand. Thaks for the quick reply! I can confirm that using keycode shows the shortcuts correctly.

I did however find another bug: The menu shortcuts only work if you use them with the window of the original MenuBar control active. If you have another window active the menu bar item flashes showing it has received the shortcut key event and triggered, but the corresponding index_pressed / id_pressed signal isn't sent. So I'm guessing you don't use the events from the menu item and instead rely on some other way of catching these shortcut events that doesn't work if the window is not active? (even though the set_item_shortcut global flag is set to true)

So I'm guessing you don't use the events from the menu item and instead rely on some other way of catching these shortcut events that doesn't work if the window is not active?

Menu shortcuts are redirected to the generic Godot event processing (at least at some parts of the editor it's expected behavior, and some UI subelements override menu shortcuts). There's a DisplayServer method to connect callback directly to the native menu item, but it's currently not used by the PopupMenu (I'll probably will add a flag to allow using it).

How do you handle the action that comes from the NSMenuItem/NSMenu when the user uses the mouse to select a menu item? That still works for me regardless of what window is active and I'd expect the same action to be sent to the same target if the NSMenuItem is triggered by a keyEquivalent being pressed. The highlight/blink of the menu seems to indicate that the key event is causing the NSMenuItem to be triggered, so at least the key event is reaching the menu.
I noticed what could be a clue to why selecting the items with mouse works: If I open the menu and keep it open, the menu keyboard shortcuts trigger the expected action, even if a different window is active. Could it be that the menu popup is technically a little window, and the display server is allowing the action then since it comes from an active window? This would be the same when you select a menu item with the mouse, but not when the item is triggered by shortcut in a closed menu.

I noticed what could be a clue to why selecting the items with mouse works:
Clicking is always trigger the callback directly ([action](action:@selector(globalMenuCallback:)) of the item):
https://github.com/godotengine/godot/blob/9e455f424a635549b295272d82757c7ff99f33d7/platform/macos/display_server_macos.mm#L867
keyEquivalent is handled separately and either call the action (if a dedicated key_callback is set, which PopupMenu do not do), or forwarded to the key window. This is done to make sure editor shortcuts are handled the same way on all platforms (e.g, code editor have its own built-in menu with own Undo/Redo which should trigger first).
https://github.com/godotengine/godot/blob/9e455f424a635549b295272d82757c7ff99f33d7/platform/macos/godot_menu_delegate.mm#L76-L84

If I understand it correctly, if (value->key_callback != Callable()) is where you check if this GodotMenuItem has something to call when it's selected, this seems to be PopupMenu::activate_item(int p_idx) but it seems like this is assigned to p_callback and not p_key_callback in the various *add_item calls made from PopupMenu. So shouldn't it simply be
if (value->callback != Callable()) {
 	// If custom callback is set, use it.
 	value->callback.call(value->meta);

?
It also seems a little strange to me with the [[[NSApplication sharedApplication] keyWindow] sendEvent:event]; if there is no callback set. This feels like it could cause some sort of recursion since - (BOOL)menuHasKeyEquivalent:(NSMenu *)menu forEvent:(NSEvent *)event target:(id *)target action:(SEL *)action is likely called while processing events and the delegate method would I expect only return a matching target/action when appropriate and not need to initiate processing of non-matching events. It could be that this is what is causing the highlight of the item even though the action isn't triggered?

I think this is resolved now with your recent menu bar improvements @bruvzg being merged? Or is there still something we're waiting for with this specific issue?

Fixed by #82900.


Code snippet output mistake

What's the issue?
Look at the code snippet in the below image  where we are passing item "ITEM-123" & qty  '3'. If you look at output of the code you find that it show qty 1. So the output should match to input we are passing. The problem starts with objects section of the Learn page & continues till the end of properties section.

How to reach?

Goto - https://nucleoid.com/docs/learn#objects

Hey @canmingir found a new one while reading the docs, please verify it & this time give me a chance to fix it.

Sure thing, there is "Edit this page" button at the bottom of the page, it will navigate you to where need to be edited


Date validation. Year must be great than 1000.

I faced with unexpected behavior of date validation. Passing '0830-02-01' to after rule as parameter will be alwayes fail check. As result of research, I found that date validation fails if year is less then 1000.
I don't think this behavior is correct.

#316 create pr as hot fix.


Add delivered_amount to ledger RPC and websocket commands

This PR adds a synthetic delivered_amount to payment and check_cash transactions for the ledger RPC and websocket commands. It only adds these synthetic fields for non-binary requests only.
Note, there are some minor bugs in earlier commits that are fixed in later commits (such as using meta instead of metaData for the RPC command). Normally I would squash these down so the bug wouldn't be present while reviewing. However, the commit that moves the function out of the impl directory makes this difficult to do. I also opted to keep the commits as-is rather than squash them into a single commit, as I believe it's easier to review with some of the refactoring commits kept separate.

Jenkins Build Summary
Built from this commit
Built at 20190221 - 22:37:19
Test Results

Build Type
Log
Result
Status

msvc.Debug
logfile
1144 cases, 0 failed, t: 641s
PASS :white_check_mark:

rpm
logfile
1147 cases, 0 failed, t: n/a
PASS :white_check_mark:

msvc.Debug, NINJA_BUILD=true
logfile
1144 cases, 0 failed, t: 651s
PASS :white_check_mark:

msvc.Debug -Dunity=OFF
logfile
1144 cases, 0 failed, t: 1297s
PASS :white_check_mark:

msvc.Release
logfile
1144 cases, 0 failed, t: 419s
PASS :white_check_mark:

gcc.Release -Dassert=ON, MANUAL_TESTS=true
logfile
915 cases, 0 failed, t: 6m14s
PASS :white_check_mark:

docs, TARGET=docs
logfile
1 cases, 0 failed, t: 0m1s
PASS :white_check_mark:

gcc.Debug -Dcoverage=ON, TARGET=coverage_report, SKIP_TESTS=true
logfile
1147 cases, 0 failed, t: 17m20s
PASS :white_check_mark:

clang.Debug
logfile
1147 cases, 0 failed, t: 3m13s
PASS :white_check_mark:

gcc.Debug
logfile
1147 cases, 0 failed, t: 3m31s
PASS :white_check_mark:

clang.Debug -Dunity=OFF
logfile
1147 cases, 0 failed, t: 9m56s
PASS :white_check_mark:

clang.Release -Dassert=ON
logfile
1147 cases, 0 failed, t: 5m41s
PASS :white_check_mark:

gcc.Debug -Dunity=OFF
logfile
1147 cases, 0 failed, t: 11m27s
PASS :white_check_mark:

gcc.Debug -Dstatic=OFF
logfile
1147 cases, 0 failed, t: 3m28s
PASS :white_check_mark:

gcc.Release -Dassert=ON
logfile
1147 cases, 0 failed, t: 6m10s
PASS :white_check_mark:

gcc.Debug -Dstatic=OFF -DBUILD_SHARED_LIBS=ON
logfile
1147 cases, 0 failed, t: 3m29s
PASS :white_check_mark:

gcc.Debug, NINJA_BUILD=true
logfile
1147 cases, 0 failed, t: 3m2s
PASS :white_check_mark:

clang.Debug -Dunity=OFF -Dsan=address, PARALLEL_TESTS=false, DEBUGGER=false
logfile
1147 cases, 0 failed, t: 10m36s
PASS :white_check_mark:

clang.Debug -Dunity=OFF -Dsan=undefined, PARALLEL_TESTS=false
logfile
1147 cases, 0 failed, t: 11m53s
PASS :white_check_mark:

@ximinez I agree with your comment that a larger refactoring should be looked at. However, I do think this PR improves the situation in the meantime. I'd like to get this in first, and later on we can tackle a larger refactoring (which I fully support).

Codecov Report

Merging #2862 into develop will decrease coverage by 0.18%.
The diff coverage is 81.48%.

@@             Coverage Diff             @@
##           develop    #2862      +/-   ##
===========================================
- Coverage    70.09%   69.91%   -0.19%
===========================================
  Files          704      705       +1
  Lines        67255    56625   -10630
===========================================
- Hits         47143    39589    -7554
+ Misses       20112    17036    -3076

Impacted Files
Coverage Δ

src/ripple/rpc/impl/RPCHelpers.h
0% <ø> (ø)
:arrow_up:

src/ripple/rpc/impl/RPCHelpers.cpp
85.25% <ø> (-0.99%)
:arrow_down:

src/ripple/app/main/Application.cpp
57.87% <0%> (-5.29%)
:arrow_down:

src/ripple/app/ledger/LedgerHistory.cpp
52.32% <0%> (+0.2%)
:arrow_up:

src/ripple/rpc/handlers/AccountTxOld.cpp
0% <0%> (ø)
:arrow_up:

src/ripple/app/ledger/AcceptedLedgerTx.cpp
100% <100%> (ø)
:arrow_up:

src/ripple/rpc/handlers/Tx.cpp
62.5% <100%> (-0.66%)
:arrow_down:

src/ripple/app/misc/impl/AccountTxPaging.cpp
89.42% <100%> (ø)
:arrow_up:

src/ripple/ledger/TxMeta.h
92.59% <100%> (ø)
:arrow_up:

src/ripple/ledger/impl/ApplyStateTable.cpp
91.59% <100%> (ø)
:arrow_up:

... and 137 more

Continue to review full report at Codecov.

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

Squashed and marked as passed

Merged as c5d215d901d25b1ea18bf0e96529799b1b5158cc


Add a note to the README concerning paths with spaces and link_deps()

If any of the paths added to target_rustcflags by link_deps() contain
spaces, then compiletest breaks as split_maybe_args does not handle
paths with spaces correctly.

This caveat also applies to clean_rmeta, so I'll rebase #79 later on.

OK, I'll try to see if I can fix it soon.


Documentation out of date and demo project doesn't compile

We're upgrading from Abot 1.x to 2., and I'm trying to see how the new 2.x version should work. I tried copying code from the Readme where ShouldCrawlPage is called on PoliteWebCrawler, but it doesn't compile for me because ShouldCrawlPage is inaccessible:
var crawler = new PoliteWebCrawler();

crawler.ShouldCrawlPage((pageToCrawl, crawlContext) =>
{
	var decision = new CrawlDecision{ Allow = true };
	if(pageToCrawl.Uri.Authority == "google.com")
		return new CrawlDecision{ Allow = false, Reason = "Dont want to crawl google pages" };

	return decision;
});

I also tried copying code from the demo project, but it doesn't appear to have been upgraded for Abot 2.x and doesn't compile out of the box. Updating this project to 2.x would be helpful because I could then learn from the changes that you make during the upgrade.

There is a project called Abot2.Demo that exercises Abot2 lib code and the Abot.Demo exercises the older version. ShouldCrawlPage has been renamed to ShouldCrawlPageDecisionMaker in Abot2.

I'll update the docs, i can see why that is confusing. Thanks for reporting.

Updated docs and added warning at the top of Abot.Demo.Program.cs pointing out that demo exercises old code and the newer code is exercised in the Abot2.Demo project.


Crash to Desktop after RimThreaded.CompletePostWorkLists() function calls

IMPORTANT: Please first search existing bugs to ensure you are not creating a duplicate bug report!
Describe the bug
I was playing the game with an early colony (2nd quadrum) when it crashed to desktop. I'm running 144 mods, none of which are in the Incompatible Mods list.
Steps to reproduce the behavior (VERY IMPORTANT)
No known reproduction steps.
Error Log
Player.zip
Save file
I loaded up my autosave before the crash, but the in-game time progressed past that day and I couldn't reproduce the problem. I also didn't get a crash when harvesting that same set of berry bushes again.
Screenshots

Mod list (Preferably a RimPy compatible list.)
RimPy ModList.zip

most of the errors present in the log are no longer present in the 2.x codebase.


Microsoft.AspNetCore.Mvc and Copy Local on System Packages

The Microsoft.AspNetCore.Mvc package on nuget brings in many dependencies, and those dependencies bring in their own dependencies, most of which are listed under ".NETStandard 2.0". Many of those dependencies are system libraries and paket install adds references for the library using the system path (e.g. C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework.NETFramework\v4.7.1\Facades\System.AppContext.dll for "System.AppContext" if using .NET 4.7.1 on Windows 7).
The problem is that paket also sets "Copy Local" to true for those system libraries even though they are not referenced locally at all and are not copied to the output directory - and this causes Visual Studio to think the project needs to be rebuilt to copy the library into the output directory (despite it being a no-op). This means when building any project all of the projects it depends on must be rebuilt that reference any of these system libraries with Copy Local set to true.
Example:
Project C depends on project B
Project B depends on project A
Project A has one of these system libraries (e.g. System.AppContext.dll) referenced and Copy Local set to true.
Now right-click->Build on Project C will cause all the projects to be rebuilt even if project A and B had just been built.
I know the Copy Local setting is what causes Visual Studio to perform the rebuild by setting the "MSBuild project build output verbosity" to "Diagnostic" under Visual Studio->Tools->Options->Projects and Solutions.
Setting Copy Local to false would possibly fix the issue but must be done on every single system library package explicitly (which for Microsoft.AspNetCore.Mvc is a lot of transitive dependencies - a pain to maintain).
AspNetCore.Mvc and paket are both very popular and I find it hard to believe everyone is being forced to rebuild all projects that depend on a project that depends on AspNetCore.Mvc due to this issue, is there something I am missing here?

Can you please create such a project structure, zip it and upload here?
Am Do., 6. Dez. 2018, 02:29 hat Jedidiah Buck McCready <
<EMAIL_ADDRESS>geschrieben:

The Microsoft.AspNetCore.Mvc
https://www.nuget.org/packages/Microsoft.AspNetCore.Mvc/ package on
nuget brings in many dependencies, and those dependencies bring in their
own dependencies, most of which are listed under ".NETStandard 2.0". Many
of those dependencies are system libraries and paket install adds
references for the library using the system path (e.g. C:\Program Files
(x86)\Reference
Assemblies\Microsoft\Framework.NETFramework\v4.7.1\Facades\System.AppContext.dll
for "System.AppContext" if using .NET 4.7.1 on Windows 7).
The problem is that paket also sets "Copy Local" to true for those system
libraries even though they are not referenced locally at all and are not
copied to the output directory - and this causes Visual Studio to think the
project needs to be rebuilt to copy the library into the output directory
(despite it being a no-op). This means when building any project all of the
projects it depends on must be rebuilt that reference any of these system
libraries with Copy Local set to true.
Example:
Project C depends on project B
Project B depends on project A
Project A has one of these system libraries (e.g. System.AppContext.dll)
referenced and Copy Local set to true.
Now right-click->Build on Project C will cause all the projects to be
rebuilt even if project A and B had just been built.
I know the Copy Local setting is what causes Visual Studio to perform the
rebuild by setting the "MSBuild project build output verbosity" to
"Diagnostic" under Visual Studio->Tools->Options->Projects and Solutions.
Setting Copy Local to false would possibly fix the issue but must be done
on every single system library package explicitly (which for
Microsoft.AspNetCore.Mvc is a lot of transitive dependencies - a pain to
maintain).
AspNetCore.Mvc and paket are both very popular and I find it hard to
believe everyone is being forced to rebuild all projects that depend on a
project that depends on AspNetCore.Mvc due to this issue, is there
something I am missing here?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/fsprojects/Paket/issues/3448, or mute the thread
https://github.com/notifications/unsubscribe-auth/AADgNKVWXFEMAW_FHlsPb3DsN7736QLXks5u2HMAgaJpZM4ZFpFD
.

OK I made a minimal reproducing example, it has three projects with ProjectC depending on ProjectB and ProjectB depending on ProjectA. Here's what I determined in testing:

With ProjectA referencing Microsoft.AspNetCore.Mvc and ProjectA set to output xml documentation then right-click->build on ProjectC causes all three projects to be rebuilt (Visual Studio/MSBuild determines that ProjectC must be rebuilt because ProjectB must be rebuilt because ProjectA was rebuilt, and ProjectA was rebuilt due to Copy Local on System.AppContext).
With ProjectA referencing Microsoft.AspNetCore.Mvc and ProjectA NOT set to output xml documentation then right-click->build on ProjectC causes only ProjectA to be rebuilt (Visual Studio/MSBuild determines ProjectA must be rebuilt due to Copy Local on System.AppContext but that it is unchanged so then ProjectB and ProjectC are not rebuilt).
With ProjectA not referencing Microsoft.AspNetCore.Mvc then right-click->build on ProjectC builds the first time but then never has to rebuild after that unless files in the projects change (the expected behavior).

Here's the minimal example:
RebuildProblemExample.zip
The example has xml doc output on for ProjectA, you can turn it off by going to the properties on the project under the "Build" tab under "Output".
Does it make sense that paket should not set "Copy Local" to true for packages it finds in a common system path when it adds the reference to the project? System.AppContext.dll is never copied to the project output bin directory on my system but the executable finds the dll OK when it runs.

As I suspected one work around is to add copy_local: false to all the system packages that path to the .net 4.7.1 system path. This is what I had to add to the paket.references file that references Microsoft.AspNetCore.Mvc:
System.AppContext copy_local: false
System.Console copy_local: false
System.Diagnostics.FileVersionInfo copy_local: false
System.IO copy_local: false
System.IO.FileSystem copy_local: false
System.IO.FileSystem.Primitives copy_local: false
System.Linq copy_local: false
System.Linq.Expressions copy_local: false
System.Reflection copy_local: false
System.Diagnostics.StackTrace copy_local: false
System.Runtime copy_local: false
System.Runtime.Extensions copy_local: false
System.Runtime.InteropServices copy_local: false
System.Runtime.InteropServices.RuntimeInformation copy_local: false
System.Security.Cryptography.Algorithms copy_local: false
System.Security.Cryptography.Encoding copy_local: false
System.Security.Cryptography.Primitives copy_local: false
System.Security.Cryptography.X509Certificates copy_local: false
System.Threading.Thread copy_local: false
System.Xml.ReaderWriter copy_local: false
System.Xml.XmlDocument copy_local: false
System.Xml.XPath copy_local: false

NOTE: I had to add this to the paket.references file for each project that references Microsoft.AspNetCore.Mvc, adding the above to the paket.dependencies file had no effect (and did not error).


--halt-height=13743781 not works for v20 ugprade

multiple nodes halt at
  "checkTime": "2024-02-08T07:21:22.973Z",
  "blockTime": "2024-02-08T06:32:33.347Z (diff: 48:49.626)",
  "blockHeight": "13743785 (0x3e551fe1bc6746a66dd4734a0243565b86be400dc5a7d133131b3512b3af817f)",

& got broken post v20 binary upgrade
it will get
ERR Stopping peer for error err="Reactor validation error: wrong Block.Header.AppHash.  Expected A9C5F4FC150B24A6594FB5282205CFF0E185C3715B4543218BF8938CD04E1906, got D23C72530B7473D02BA953E932D66CC6019DAF0121A8B921D25FA69F5978A069" module=p2p peer="Peer{MConn{<IP_ADDRESS>:12656} 3e13a9743d4de8d2e9dd6b26788fca576c598894 out}"

https://atomscan.com/juno/ looks breaking for same issue & block height also

It could be related to this issue?
https://github.com/cosmos/cosmos-sdk/pull/16639

I also encountered the same problem, even upgrading to v20 didn't work.


Add support for verifying SHA-256 hash of Subject Public Key Info

axtls provides a way to implement "SSH" style key verification by checking the SHA-1 hash of the (entire) certificate. Unfortunately this checksum changes every time the certificate is changed, e.g. because it's getting renewed (usually every year, for letsencrypt.org even every 3 months) or extended with new domains.
For HTTP public key pinning (RFC7469), the SHA-256 hash of the Subject
Public Key Info (which usually only changes when the public key
changes) is used rather than the SHA-1 hash of the entire certificate. This makes a lot of sense for use with axtls, too. This pull request introduces a new function ssl_match_spki_sha256() that allows an API consumer to verify the SHA-256 hash of the SPKI. The existing SHA-1 certificate hash verification support is left untouched so there should not be any compatibility concerns.

Sorry for not having noticed this when the PR was opened. This change looks very good!

Can I suggest we remove the "SHA-1 certificate hash verification support" now that sha-1 is broke!?


Seeded Random Shuffle

Issue Number

#1102
Overview

995e00668 move 'shuffle' (and specs) into a separate module
In order to extend this and use it in other places than just the coin selection
it makes sense to give it a proper home.

9064a7827 replace 'Crypto.Number.Generate' by 'System.Random'
We don't need a crypto-resistent generator here and a system generator
will do for shuffling outputs or stake pools

5a7bb3798 allow shuffle to be seeded with a 'RandomGen'

7c95cec01 implement 'mkSeed' to generate a seed from a text
This would be pretty useful to bridge use any entity (e.g. WalletId) with a
ToText instance as a seed for such generator

Comments

Data.Vector.Shuffle
  shuffle
    every non-empty list can be shuffled, ultimately
      +++ OK, passed 100 tests (92% shuffled).
    shuffle is non-deterministic
      +++ OK, passed 100 tests (92% not deterministic).
    sort (shuffled xs) == sort xs
      +++ OK, passed 100 tests (93% non-empty).
  shuffleWith / mkSeed
    shuffling with the same seed is deterministic
      +++ OK, passed 100 tests (94% non singleton).
    different seed means different shuffles
      +++ OK, passed 200 tests; 21 discarded:
      91.0% different

      66.0% big list
      28.0% small list
       6.0% singleton

bors r+


pre_count option for :truncate isn't included in the documentation

Is there any reason pre_count isn't included in the documentation?
It does appear in the error message when trying to pass an unavailable parameter as an option to :truncate. (BTW thanks for that, super helpful)
I'll open a PR against this issue in case it just never got added.
Thanks

@prostko Good question. It is probably an oversight. Could you submit a PR for this issue?
Thanks!

https://github.com/DatabaseCleaner/database_cleaner/pull/666
Looks like it is included in the docs, but for the ActiveRecord lib.
Submitted a PR to update the link here.
Thanks again


Broken on win32

What version of the package or command are you using?
bfece90dc3bb7199e8a397a27eb267a6cdd9589c
What are you trying to do?
Extract Git-<IP_ADDRESS>-32-bit.tar.bz2 on Windows 7 32 bit edition
What steps did you take?
See task definition:

Downloaded Git-<IP_ADDRESS>-32-bit.tar.bz2 as git.tar.bz2

Extracted it successfully with archiver version 2.1:

archiver.exe open git.tar.bz2 git

Built from master branch revision bfece90dc3bb7199e8a397a27eb267a6cdd9589c
Tried to extract with version 3 arc unarchive git.tar.bz2 git2

What did you expect to happen, and what actually happened instead?
I expected the extraction to be successful. But I got errors:
Z:\task_1551972425>arc unarchive git.tar.bz2 git2
2019/03/07 15:37:07 [ERROR] Reading file in tar archive: git2\git\mingw32\bin\git-upload-archive.exe: making hard link for: link git2\git\mingw32\bin\git-upload-archive.exe\mingw32\bin\git-receive-pack.exe git2\git\mingw32\bin\git-upload-archive.exe: The system cannot find the path specified.
2019/03/07 15:37:10 [ERROR] Reading file in tar archive: git2\git\mingw32\libexec\git-core\git.exe: making hard link for: link git2\git\mingw32\libexec\git-core\git.exe\mingw32\bin\git.exe git2\git\mingw32\libexec\git-core\git.exe: The system cannot find the path specified.
2019/03/07 15:37:10 [ERROR] Reading file in tar archive: git2\git\mingw32\libexec\git-core\git-add.exe: making hard link for: link git2\git\mingw32\libexec\git-core\git-add.exe\mingw32\bin\git-receive-pack.exe git2\git\mingw32\libexec\git-core\git-add.exe: The system cannot find the path specified.
2019/03/07 15:37:10 [ERROR] Reading file in tar archive: git2\git\mingw32\libexec\git-core\git-am.exe: making hard link for: link git2\git\mingw32\libexec\git-core\git-am.exe\mingw32\bin\git-receive-pack.exe git2\git\mingw32\libexec\git-core\git-am.exe: The system cannot find the path specified.
2019/03/07 15:37:10 [ERROR] Reading file in tar archive: git2\git\mingw32\libexec\git-core\git-annotate.exe: making hard link for: link git2\git\mingw32\libexec\git-core\git-annotate.exe\mingw32\bin\git-receive-pack.exe git2\git\mingw32\libexec\git-core\git-annotate.exe: The system cannot find the path specified.
2019/03/07 15:37:10 [ERROR] Reading file in tar archive: git2\git\mingw32\libexec\git-core\git-apply.exe: making hard link for: link git2\git\mingw32\libexec\git-core\git-apply.exe\mingw32\bin\git-receive-pack.exe git2\git\mingw32\libexec\git-core\git-apply.exe: The system cannot find the path specified.
2019/03/07 15:37:10 [ERROR] Reading file in tar archive: git2\git\mingw32\libexec\git-core\git-archive.exe: making hard link for: link git2\git\mingw32\libexec\git-core\git-archive.exe\mingw32\bin\git-receive-pack.exe git2\git\mingw32\libexec\git-core\git-archive.exe: The system cannot find the path specified.
.....

How do you think this should be fixed?
Presumably this is a regression, since we could extract the same .tar.bz file on Windows 7 32 bit edition using archiver 2.1.
Please link to any related issues, pull requests, and/or discussion

Mozilla bug 1533402

Bonus: What do you use archiver for, and do you find it useful?
We import the go library at Mozilla in the worker that runs most of Mozilla's CI tasks.

Thanks for the detailed report! Reproducible on Mac too.

Should be fixed in #171

I think this issue is still present, see https://github.com/mholt/archiver/pull/171#issuecomment-588129903.
Many thanks!


Prep for Release of v1.1.9

Tracking issue for the June 2024 release of wlbot.

v1.1.9 has been published to npm: https://www.npmjs.com/package/wlbot/v/1.1.9

v1.1.9 release has been created on GitHub: https://github.com/mike-weiner/wlbot/releases/tag/v1.1.9


No benchmarks for most E*v4 instances.

The page lacks benchmarks for most of the E*v4 instances, such as En_v4 and Ens_v4 where n is the number.
Ideally, I'd be using this page to compare Ev3 to Ev4, to justify upgrading!

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

ID: c005a93a-6fce-d270-9bb5-8e7213156b70
Version Independent ID: 844d62d4-a06b-1578-488f-f6441242a07d
Content: Compute benchmark scores for Azure Linux VMs - Azure Virtual Machines
Content Source: articles/virtual-machines/linux/compute-benchmark-scores.md
Service: virtual-machines-linux
GitHub Login: @cynthn
Microsoft Alias: cynthn

@roy-work Thanks for the feedback! I have assigned the issue to content author to check and update the document as appropriate. We will update you accordingly.

@cynthn Can you please check and add your comments on this doc update request as applicable

As the benchmarks are verified and finished, they get added to the docs. I've not gotten any information that hasn't been published. As soon as I have it, I will update the docs.
#please-close


Adds renormalization #7476

Adds an additional parameter called renorm to add a stop gradient on gamma, beta parameters during the training phase. This has been discussed here https://github.com/tensorflow/tensorflow/issues/7476

Can one of the admins verify this patch?

Any updates ?

Sergey Ioffe mentions the following:
"There are multiple issues with that git change. It keeps maintaining the moving variance instead of standard deviation; will not work early in training due to the lack of debiasing; is inefficient because they do BN first and then correct; and finally the computation is wrong because they apply gamma and beta before the correction, but they should be applied after."
Sergey is working on a correct implementation of batch renormalization and will be pushing it soon. We will not be moving forward with this PR. Sorry about that.


Make an SOS action

Make an action that prints out the system information such as

inotify
inotify watches
systemctl status of the kubernetes services.
charms.reactive get_states
kubectl get pods,svc,ingress,secrets,pv,pvc,rc --all-namespaces
kubectl get nodes (any of the above that are not namespaced)
docker info
docker ps -a (if on worker)

Tar up the following files:

The unit log files for unit invoking the action.
The /etc/defaults/ files for this service.
The /lib/systemd/ file for this service.

Users would run this action.
Then follow up with a juju show-action-output to see the printed values and juju scp the tar file down to their local computer.

Could this go in a base layer?

layer-sos provides the sos action, which runs every script in sos-scripts/ and produces a .tar.gz file with their output
by default, sos-scripts/ has scripts for basic machine info, unit logs, etc
layer-kubernetes-worker includes layer-sos, plus its own sos-scripts for kubernetes and docker info

This would make our work here both reusable and extensible. Thoughts?

Great idea @Cynerva ! I approve this and would like to help you implement this, because if there is one thing I love is getting logs out of systems.
What about naming the layer "support" so we would include layer:support in our top most layers. It would install things like ntp and have an "sos" action or what ever we call it.

I agree, excellent idea. I'd also like to help, and I think there's plenty of work to go around. To be clear, I think the layout would look something like (using k8s-worker as an example):

layer:support/

support-scripts/

generic log/metric collection scripts, e.g. top, dmesg, etc. that we would want for every charm

layer:docker

support-scripts/

docker specific collection scripts, e.g., docker ps -a, journalctl -o cat -u docker, etc.

layer:kubernetes-worker/

support-scripts/

k8s-worker specific collection scripts, e.g., kubectl get po, kubectl get rc, etc. If there's overlap with kas-master, we might need a generic k8s-layer to normalize them.

When built, the support scripts folder in the k8s-worker charm would be a merge of all the layers' support-scripts folder, e.g.,

charm:kubernetes-worker/

support-scripts/

top
dmesg
docker-ps
docker-logs
k8s-get-pods
k8s-get-rc

If we take that tack, we'll need to prefix all our scripts to prevent them from being overwritten during the merge.
I feel a little nervous about doing things that aren't read-only, like installing ntp. Seems like if we want to ensure ntp is everywhere, we'd put it in layer:base?

I think this is a great idea, in general, I'd like to - once we flesh this out somemore, to announce this as an /idea/ to the Juju mailing list for further feedback.
I'd also like to propose the name "apport", support seems too broad a name IMO (though it entirely depends on the name of the action, SOS I think seems appropriate

I feel a little nervous about doing things that aren't read-only, like installing ntp. Seems like if we want to ensure ntp is everywhere, we'd put it in layer:base?

@wwwtyro In general a layer should install everything it needs to perform its function. I would argue that the time/date are critical to have if we are going to capture time sensitive data like log files (with timestamps) they need to be in sync with logs on other machines so we can properly correlate and compare times/dates.

However, not all deployments will have access to a public NTP / time
server. We can't just assume there wont' be additional configuration
requirements
On Fri, Oct 14, 2016 at 11:40 AM Matt Bruzek<EMAIL_ADDRESS>wrote:

I feel a little nervous about doing things that aren't read-only, like
installing ntp. Seems like if we want to ensure ntp is everywhere, we'd put
it in layer:base?
@wwwtyro https://github.com/wwwtyro In general a layer should install
everything it needs to perform its function. I would argue that the
time/date are critical to have if we are going to capture time sensitive
data like log files (with timestamps) they need to be in sync with logs on
other machines so we can properly correlate and compare times/dates.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/juju-solutions/bundle-canonical-kubernetes/issues/76#issuecomment-253837718,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAET1Z5rcTb4setNyFuuaSokMddmjDp3ks5qz6J6gaJpZM4KQRLP
.

I think that makes a case for the NTP charm instead of including NTP as part of the SOS layer.
That gives the deployment operator an opportunity to omit this, in which case, they're on their own for adjusting for clock skew. But at least they won't have a failure or be deploying an application doomed to fail-cycle.
Perhaps we make this 'recommended', and bundle it as part of the bundle, but don't enforce its presence or assume it's available. Thoughts?

Going to rename this to avoid conflicts with other uses of "SOS" ...

sosreport (bonus: juju plugin)
sosreport_charm

(thanks @chuckbutler for pointing this out)
Unless someone opposes, I'm gonna rename the action to collect-debug and the layer to layer-collect-debug:

The purpose is clear
It sounds like "collecty bug" and that makes me happy

I don't really like collect-debug, I think debug would be better. However, I'm cool with collecty bug, just my 2cents

Cool, works for me. Renamed sos -> debug. Repo is at https://github.com/cynerva/layer-debug
I'm ready to move the repo to https://github.com/charms whenevs

Closing this. The debug action has been added to kubernetes-master and kubernetes-worker, and I believe we've covered all the ideas in this issue.


Creates dataset of MFCC values per audio file.

Inputs the Mel Frequency Cepstral Coefficients as features into a Torch Dataset and the music genre as labels.

Audio files read into torch dataset.


New component: Bootstrap Table?

I'm using bootstrap table for my projects to Ajax load table data and display it with formatting and additional functions (print, export, search, show/hide columns, any many more):
https://bootstrap-table.com
Is it possible to maybe add this as new Symfony UX component? I think it would fit great in the eco system, because symfony itself could provide everything needed and javascript can add some additional possibilities.
Just an idea. Let me know what you think about it. And if interested I can sure assist in implementing it.

I like it.
Some features I think of:

Pagination
Sort
Filter specific column

These are all basically covered with bootstrap tables. The html-tags or javascript call should be generated by the UX-library then it would be a good extension to Symfony UX I think.

Its a feature i often use and a ready to use component would be a great addition !


Update version pragma

With pragma solidity 0.4.23 I'm seeing LiquidDemocracy.sol fails to compile with the following message:
../democracyearth/dapp/contracts/LiquidDemocracy.sol:1:1: SyntaxError: Source file requires different compiler version (current compiler is 0.4.18+commit.9cf6e910.Emscripten.clang..)

Anyone else seeing this? Updating to 0.4.18 lets me compile and test without an issue.

Yes, I was having the same issue, that's because some incompatibility issue between your truffle solidity version and the solidity code version. Fix it using ^: solidity ^0.4.23

That did it, closing this PR without a merge


broken tests

Running tests for omnipaxos_core fails as it cannot find TestConfig, which is only available using the hocon_config feature.
A quick fix would be to add hocon_config as a default feature. Although perhaps a better option, in the long run, is to eliminate the reliance on hocon in tests/.

I agree, we should remove the hocon dependency in the tests.

In general, the hocon library is no longer maintained as I recently discovered, so it would be good to try and migrate away from it. I got a ticket on the Kompact side to look into alternatives. See https://github.com/kompics/kompact/issues/187


u

Apologies. I was preparing a pull request and accidentally hit Enter long before I had a chance to even test my own fork against production data.
I'll be back with a full PR shortly.


Added Delete by Id and partition key API

Added API to deleteByIdAndPartitionKey() to CosmosRepository and ReactiveCosmosRepository

Codecov Report

Merging #437 into master will increase coverage by 0.07%.
The diff coverage is 57.14%.

@@            Coverage Diff             @@
##           master     #437      +/-   ##
==========================================
+ Coverage   69.62%   69.69%   +0.07%
==========================================
  Files          56       56
  Lines        1544     1551       +7
  Branches      163      163
==========================================
+ Hits         1075     1081       +6
- Misses        389      390       +1
  Partials       80       80

Impacted Files
Coverage Δ

...sitory/support/SimpleReactiveCosmosRepository.java
0% <0%> (ø)
:arrow_up:

...sdb/repository/support/SimpleCosmosRepository.java
91.8% <100%> (+0.57%)
:arrow_up:

...zure/spring/data/cosmosdb/core/CosmosTemplate.java
89.43% <0%> (+0.75%)
:arrow_up:

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 e72ce3b...d7e1ab5. Read the comment docs.


refactor(EvModuleInfo): use composition api

Signed-off-by: Lukas Mertens<EMAIL_ADDRESS>
Stack:

#164
#161
#160
#154
#153
#140
#139
#138
#136
#148
#135
#147
#134
#132
#129
#130
#128
#127
#126
#125 ⬅
#146

⚠ Part of a stack created by spr. Do not merge manually using the UI - doing so may have unexpected results.

✓ Commit merged in pull request #164