[#148234139] Deploy cf-networking-release (enable private applications)

#148234139 Deploy cf-networking-release (enable private applications)
What
We want to use cf-networking-release to enable private networking between
containers and apps in the platform.
In this PR:

We copy the config from cf-deployment, adapting it to use RDS, our own
secrets, CA rotation, etc
Adapt the tests for the new feature.
Enable the related tests from acceptance test.
Add test to avoid vpc peering overlap.

How to review
Code review. Run the deployment and acceptance tests.
You can test the private networking https://docs.cloudfoundry.org/devguide/deploy-apps/cf-networking.html#add-policy
Who can review
Anyone but @henrytk or @keymon

While deploying from master I had one error in the API availability tests, but I do not think it was related.

The admin user in dev environments doesn't get updated to have the additional permissions. This is because the sync_admin_users job is skipped in dev environments.

Scratch that. It does get the permissions, I had to do a fresh login to pick them up though.

I've been testing rotating the certificates following the team manual, and I've run into an issue after the first redeploy (after rotating the CAs). Bosh errored with:
Task 185 | 10:59:43 | Error: 'diego-cell/752b03a9-d9b3-4c68-8a4b-82118b308abc (0)' is not running after update. Review logs for failed jobs: vxlan-policy-agent

On the VM, the vxlan-policy-agent job isn't running. I see the following error in the logs:
{"timestamp":"1524483809.405450344","source":"cfnetworking.vxlan-policy-agent","message":"cfnetworking.vxlan-policy-agent.policy-client-get-policies","log_level":2,"data":{"error":"http client do: Get https://policy-server.service.cf.internal:4003/networking/v1/internal/policies: x509: certificate signed by unknown authority (possibly because of \"crypto/rsa: verification error\" while trying to verify candidate authority certificate \"networkPolicyCA\")"}}

Looking on the VM, I see that /var/vcap/jobs/vxlan-policy-agent/config/certs/ca.crt only contains a single cert, whereas I'd expect it to include 2 while rotation was in progress. I think the instance_groups.diego-cell.jobs.vxlan-policy-agent.properties.cf_networking.vxlan_policy_agent.ca_cert needs to be included in 010-cert-rotation.yml.

Well spotted, I though I fixed all those cases.
There is a test to check every CA which has a corresponding _old CA certificate, is used in the manifest as ((<name>_ca))((<name>_ca_old)).
But in this case I did not even add network_policy_ca_old and the test pass.
Shall we add a test that checks that every <name>_ca certificate must have a corresponding <name>_ca_old one?

Shall we add a test that checks that every _ca certificate must have a corresponding _ca_old one?

I think that's a good idea given we missed this one.


Update sales-tax-specification-by-ledger-transaction-report-taxspecpe…

Updating topic per Support request.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

dynamicsax2012-technet/sales-tax-specification-by-ledger-transaction-report-taxspecperledgertrans.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

dynamicsax2012-technet/sales-tax-specification-by-ledger-transaction-report-taxspecperledgertrans.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Update ammonite to 2.3.8-36-1cce53f3

Updates com.lihaoyi:ammonite from 2.3.8-4-88785969 to 2.3.8-36-1cce53f3.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.lihaoyi", artifactId = "ammonite" } ]

labels: library-update, semver-pre-release

Superseeded by #1193


feat(combine-api): relaxed required metadata for simulation projects

:tada: This PR is included in version 8.4.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


10.0.22621.3593 - the number of connections to this computer is limited

i have downloaded RDPWrap-v1.6.2.zip extracted it, stopped termservice, launched the install.bat copied the correct ini file for 10.0.22621.3593.
made the following settings in gepedit.msc
Computer Configuration -> Administrative Templates -> Windows Components -> Remote Desktop Services -> Remote Desktop Session Host -> Connections:
Limit Number of connections: Enable and RD Maximum Connections allowed 999999
Computer Configuration -> Administrative Templates -> Windows Components -> Remote Desktop Services -> Remote Desktop Session Host -> Connections:
Restrict Remote Desktop Services users to a single Remote Desktop Services session: Disabled
rebooted
RDPConf.exe shows fully supported
and still i get "the number of connections to this computer is limited"
i am on windows 11 enterprise 10.0.22621.3593
thanks

10.0.22621.3593

can u provide termsrv.dll ?

Hey there,
https://1drv.ms/u/s!ApyxOPTqXK-QhNpbSBkdry41Rf73AA?e=WaR7xJ
No idea how to share it here ...

Hey there,
https://1drv.ms/u/s!ApyxOPTqXK-QhNpbSBkdry41Rf73AA?e=WaR7xJ
No idea how to share it here ...

can u ws me i anydesk help u solve it
wa.me/60103322996

Hey there,
https://1drv.ms/u/s!ApyxOPTqXK-QhNpbSBkdry41Rf73AA?e=WaR7xJ
No idea how to share it here ...

can u ws me i anydesk help u solve it wa.me/60103322996

sorry i had to report this incident on github

Duplicate of #2611


Add an alarm mechanism if the agent runs out of funds

We need an alarm if agent runs out of funds. Easy way would be to do it via prometheus .

spin up a new thread to detect when an agent is low on ETH or on any of the configured tokens
introduce thresholds for tokens and ETH (low amounts) in the config file
make a script that e-mails us when the testnet agents are low on funds

I have some questions that are not clear to me.
Will the agents run this service on their own? Will they be able to run a setup/initiation script that will let them define the parameters, e.g., what email address the warning should be sent to? What is the threshold, how many times should the person receive an email per day / what are the check intervals once he runs out of funds? Is it just once or should it be done multiple times?

Is this done by the monitoring script? @compojoom

Is this done by the monitoring script? @compojoom

I think the idea here was to provide this feature as part of the agent itself (see https://github.com/beamer-bridge/beamer/issues/788#issuecomment-1200963272).

Yes, but since we have the monitoring script, which is supposed to run aside to the agent (possibly adding it to the docker compose), wouldn't this be a better fit?

Note, that the monitoring script is planned to support chat updates and direct connection to the owner of the agent anyways.

Note, that the monitoring script is planned to support chat updates and direct connection to the owner of the agent anyways.

Ah, in that case, yes, it makes sense to delegate all of that to the monitoring script.
Liquidity providers should not rely on us in order to monitor their agents. :+1:


Investigate language server

Many queries about extensions are talking about language specific features, such as code completion, syntax highlighting (errors on the fly, not just at compile time), and so on.
See this reply: https://discuss.haiku-os.org/t/improvements-to-packaging-system/9086/8
In order to appeal to most devs on Haiku, make this experience great for Haiku and Paladin/Koder. Will need @KapiX to assist on this one. E.g. Engine in Paladin, highlight output in Koder.

Microsoft worked on a Language Server Protocol to solve similar issues when they wrote VSCode.
https://code.visualstudio.com/api/language-extensions/language-server-extension-guide
List of all language servers: https://langserver.org/
Current language servers that could (with work) run on Haiku:-

LLVM/Clang - https://reviews.llvm.org/diffusion/L/browse/clang-tools-extra/trunk/clangd/
CQuery - https://github.com/cquery-project/cquery
CCLS - https://github.com/MaskRay/ccls <---- This appears most current. Going to start investigating here

Feature needed in Paladin in order to enable Koder to provide a Function List view, similar to the Pe feature - drop down function to jump the editor window to.


Add multi-cluster and Service LB doc links

Add the multi-cluster and Service LoadBalancer user doc links to
getting-started.md.
Add the multi-cluster architecture doc link to architecture.md.
Signed-off-by: Jianjun Shen<EMAIL_ADDRESS>

Codecov Report

Merging #3722 (25fbd0b) into main (9677ccd) will decrease coverage by 20.70%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             main    #3722       +/-   ##
===========================================
- Coverage   64.55%   43.84%   -20.71%
===========================================
  Files         278      210       -68
  Lines       39513    35800     -3713
===========================================
- Hits        25507    15697     -9810
- Misses      12022    18964     +6942
+ Partials     1984     1139      -845

Flag
Coverage Δ

kind-e2e-tests
?

unit-tests
43.84% <ø> (-0.01%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.


FunctionType::new

https://github.com/paritytech/parity-wasm/blob/5b56959a1ef3b7841352fd59a5cfb1c474dc1ff0/src/elements/types.rs#L162-L170
why not 0x60?
if I new a FunctionType , form  can't be set

This can be closed because https://github.com/paritytech/parity-wasm/pull/302 is merged


fix: packages dependencies & animted rename

Hi, I very like this project.Now a lot of people are using react-native-reanimted v2.
Upgrading to react-native-reanimted v2 is highly recommended. 😄
So:

Project's react-native-reanimted version should depend on myself project.
fix: "WARN  Easing was renamed to EasingNode in Reanimated 2. Please use EasingNode instead"

So this PR is for v2, thanks!!!

Thank you for your work! @MonsterAnan
I just commented on some line!
please check it!

Yea,you are right!
Thank you for you reply!

@MonsterAnan
Oh I was just giving an example, I thought it would be nice
"peerDependencies": {
      "react-native-reanimated": ">=2",,
  }

could you fix it?

Oh,sorry, I edited it on my phone the other night, I thought you fixed it 🤣.
Now It's been fixed, I think there is no problem. 🤝 @heyman333

Hi, could you publish npm?
My project need it.
Thanks.

@MonsterAnan
hey. I just published npm. Please let me know if you have ploblem.

thank you! 💗
I have no more problems.


CUDA 9.2 + cuDNN 7.1.4 Support for Windows

I installed CUDA 9.2 and cuDNN 7xx on windows 10. when I import tensorflow in python, it says that tensorflow works only with CUDA 9.0, so when wil the support for CUDA 9.2 come.

As @alanpurple mentioned, and as documented at https://www.tensorflow.org/install/install_windows
Our prebuilt binaries are built for cuda 9.0.
The sources can run on cuda 9.2, but you just need to build from sources tourself.
According to our discussions, we will probably jump straight to cuda 10.


dart no-such-file.dart complains that it doesn’t understand that command

In the Dart VM logic for running some action:
dart no-such-file.dart
yields and error message that the VM doesn’t understand that [no-such-file.dart] command.
Instead if a command ends with .dart, a message that the file doesn't exist should be printed out.

This bug is not completely fixed.  If options are passed to dart, and the dart file is not found, we get:
>dart --enable-experiment=non-nullable --null-safety foo.dart
Warning: The following flags were passed as VM options and are being ignored: --enable-experiment=non-nullable, --null-safety
These flags should be passed after the dart command (e.g., 'dart run --enable-asserts foo.dart' instead of 'dart --enable-asserts run foo.dart').
Error when reading 'foo.dart': No such file or directory.

If there are no command-line options, the correct error, "Error when reading 'foo.dart': No such file or directory" is returned.
Using "dart run" instead of "dart" eliminates the problem.

@bkonyi can you take another look?

@mit-mit this should be resolved once I move dartdev in-process. Is this issue a blocker for the 2.9 release?

Also, this issue will be fixed as a side effect of this CL which will remove the need to spawn a separate process from DartDev.

I'm OK with a slight regression in experience here for 2.9 if this is expected to be fixed shortly after.

Should be resolved by https://github.com/dart-lang/sdk/commit/157ebfe50f399c59a20d603acdf5143ceaa4cccf


[Bugfix] Remove MPTT

Codecov Report

Merging #269 into develop will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##           develop     #269   +/-   ##
========================================
  Coverage    93.39%   93.39%
========================================
  Files           56       56
  Lines         2044     2044
  Branches       189      189
========================================
  Hits          1909     1909
  Misses         114      114
  Partials        21       21

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 2583d86...f3143f6. Read the comment docs.


 on import window

<ESC> on import window (<Plug>JavaComplete-Imports-Add) chooses the first option instead of canceling the operation.

not issue,you should read the output info,the default selection is 0

and  maybe we can provide a g:var to disable this feature,but by default it is 0,because @artur-shaik want add the feature about most used suggestion

Better an option to disable, since not always the list is updated and in this case we wish to cancel.

@adelarsq In the new PR, if you want disable the auto selection of import ,you just need to add this option to you vimrc.
let g:JavaComplete_Import_Default = -1

Cool! Thanks @wsdjeg. I have added the basedir config also:
let g:JavaComplete_BaseDir='~/.vim/javacomplete2'

I think it is better set
let g:JavaComplete_BaseDir='~/.cache/javacomplete2'

because .vim is vim's default user root dir,rather than cache dir
but It does not work now ,because the PR has not been merged

Yeap. But this is because I prefer all plugin related stuff in ~/.vim directory. I did get your pull request into my branch, so its working for me already. :+1:

I prefer all plugin related stuff in ~/.vim

maybe  you can use ~/.vim/cache/javacomplete2,because many plugin will generate cache file ,not only javacomplete2,use cache directort,will make ~/.vim tidy

It's better. I already use like this for anothers plugins (ctrlp, undo, etc), but didn't remember. It's working.

let g:JavaComplete_ImportDefault = -1 - should work.


Enable jdk_beans on all linux

Enable jdk_beans on alinux, plinux, slinux for all java versions

related: eclipse-openj9/openj9#20531

Grinder links:
slinux
https://hyc-runtimes-jenkins.swg-devops.com/job/Grinder/45622/
plinux
https://hyc-runtimes-jenkins.swg-devops.com/job/Grinder/45628/
alinux
https://hyc-runtimes-jenkins.swg-devops.com/job/Grinder/45634/
mac:
https://hyc-runtimes-jenkins.swg-devops.com/job/Grinder/45685/

typo slinux -> zlinux

In this case, the Adoptum master repo and branch and disabled.jdk_beans were used.

We are expecting Grinders to test PR.

Grinder links:
zlinux
https://hyc-runtimes-jenkins.swg-devops.com/job/Grinder/45731/
plinux
https://hyc-runtimes-jenkins.swg-devops.com/job/Grinder/45740/
alinux
https://hyc-runtimes-jenkins.swg-devops.com/job/Grinder/45750/
alinux jdk8
https://hyc-runtimes-jenkins.swg-devops.com/job/Grinder/45756/

re https://github.com/adoptium/aqa-tests/pull/5808#issuecomment-2529228842, please update PR description and commit message


Xss vulnerable

The util.createElement method uses the innerHTML method.
Therefor I can execute a script like this :
Input value for a taggable selectr instance :

<img srx=‘x’ onerror=‘alert(1)’>`

I’ll try to create a pull request as soon as possible.
See
https://developer.mozilla.org/en-US/docs/Web/API/Element/innerHTML
For more information

see latest pull request update

Good to see the issue is already on the radar :+1:
I got it reported via https://app.snyk.io/test/npm/mobius1-selectr/2.4.8


Clarification of installation instructions

Can you please clarify the installation instructions?
After downloading the zip file and unzipping it to C:\temp\geoportal-server-harvester-master I try:
cd c:\temp\geoportal-server-harvester-master
mvn clean install

This runs for 5 seconds then generates the error message:
[ERROR] Failed to execute goal on project geoportal-harvester-csw: Could not res
olve dependencies for project com.esri.geoportal:geoportal-harvester-csw:jar:1.0
.0-SNAPSHOT: Could not find artifact com.esri.geoportal:geoportal-commons-http:j
ar:1.0.0-SNAPSHOT -> [Help 1]

The full error log is here:
install_errors.txt
Am I doing something wrong, or is there a different problem? (This is my first time using MVN).
I'm using Apache Tomcat 8.0.35 and jdk1.8.0_92 on Windows 7. Thanks

Stephen,
Harvester is still under development and not released yet. If you pull recent changes you will be able to compile without the error. The error was caused by invalid reference in one of the projects pom.xml file (thanks for attempting building it).
There are several ways envisioned how the harvesting could be conducted. Currently, you can either deploy war file on Apache Tomcat and use REST end points (no real UI available yet), or use somewhat complicated command line.
You would be able to pull data from either WAF or CSW repository and push to the catalog.
Let me know which option is feasible for you, then I will guide you how to do it.

Cool, thanks for the info. In terms of keeping my harvester installation up-to-date with your GitHub version, what is the recommended approach? Would I clone the repo then synchronise GitHub each time there's a change - if so do I need to rebuild the code using mvn each time?
I'm actually evaluating this for a client, so I'll probably recommend that they stick with Geoportal SErver 1.2.6 for the meanwhile, since this is all so new. Do you have a timeline for when 2.x will be released?
Thanks again,
Steve

Once you cloned repository into your local folder, it's enough to invoke 'git pull' command inside the folder using GIT bash. Or, you could use any available GUI tool to do the same. The short answer is: yes, you need to do pull keep your source up to date. Then, you need to rebuild the code.
This is good as long as you are not planning to make any changes to the source. However, if you do then there are several ways to proceed, although the recommended one would be to create a fork (see: 'Fork' button). I don't do fork myself, since I have a full access to the repository (read/write); all I do is to create so called development branches, then merge it back to the main branch.
When it comes to Geoportal versions, 1.2.x is more all-in-one solution, while 2.x.x aims more toward distributed environments.


First round of adjustments to proposal review feedback

This implements feedback from the proposal review.
Motivation:
Based on the feedback of SE-0303 there were certain suggestions, and this starts to bring the implementation in line with the revisions being made to the proposal.
Modifications:

fold prebuild into buildTool capability, using CommandConstructor API to distinguish
keep the inputFiles and outputFiles properties with build commands and outputDirectory with prebuild commands
remove postbuild capability and associated commands
simplify internal implementation now that there are only two fairly similar build commands
adjust unit tests

An upcoming round of revisions will adjust the path API available to the plugin.

@swift-ci please smoke test

@swift please smoke test linux

@swift-ci please smoke test linux

@swift-ci please smoke test macos


0 ROAs from ripe or apnic -- how to troubleshoot?

Hello,
I have two installations of routinator (just upgraded, but this issue predates the upgrade I'm almost certain).  somewhere along the way, it seems my instances are no longer able to get ROAs from one or more regions.  One instance reports 0 ROAs from apnic and ripe, and another 0 from just apnic.  example output from the /metrics:
# TYPE routinator_valid_roas gauge
routinator_valid_roas{tal="arin"} 5878
routinator_valid_roas{tal="apnic"} 0
routinator_valid_roas{tal="lacnic"} 2767
routinator_valid_roas{tal="afrinic"} 590
routinator_valid_roas{tal="ripe"} 13091

# TYPE routinator_valid_roas gauge
routinator_valid_roas{tal="arin"} 5878
routinator_valid_roas{tal="lacnic"} 2767
routinator_valid_roas{tal="apnic"} 0
routinator_valid_roas{tal="ripe"} 0
routinator_valid_roas{tal="afrinic"} 590

i can't seem to find any logs to see why one or more seem to be failing.  Looking at other metrics being reported it looks like rsync exit codes 0 for all of the repositories (and it seems RRDP is failing with code -1 for the ones it is attempting).
Any feedback as to how to troubleshoot or where to look would be appreciated!
Thanks!

APNIC and RIPE are the two regions that use RRDP, so it probably is related to that. You can verify by running Routinator with the --disable-rrdp option. If that gets you a full set of ROAs, then indeed RRDP is the problem. In that case, there should be an error message in the logs. Where does are depends a bit on how you run Routinator. In server mode it will prefer syslog, in vrps mode it will prefer to print to stderr.

thanks @partim I will give that a try.  Is there anything I need add / install to enable RRDP?  In my config file I have 'disable-rrdp = false'.  I run routinator with routinator -d at present with a .routinator.conf file.  The log level specified in the config file is WARN -- do I need to adjust that to see the relevant log messages?

i updated my config file to log to local file and level INFO, and also disabled rrdp, and i see in the log all the rsync messages seemingly complete.  and indeed, on /metrics I now see ROAs for all the RIRs:
# HELP routinator_valid_roas number of valid ROAs seen
# TYPE routinator_valid_roas gauge
routinator_valid_roas{tal="arin"} 5878
routinator_valid_roas{tal="lacnic"} 2767
routinator_valid_roas{tal="apnic"} 5202
routinator_valid_roas{tal="ripe"} 13091
routinator_valid_roas{tal="afrinic"} 590

I will try re-enabling RRDP and see if any logs point direction to why it fails.

well, now i'm thoroughly confused, as it seems to have everything working, at least for now (maybe some are cached from the prior rsync run?).  info from metrics after restarting with RRDP enabled again:
# HELP routinator_valid_roas number of valid ROAs seen
# TYPE routinator_valid_roas gauge
routinator_valid_roas{tal="arin"} 5878
routinator_valid_roas{tal="lacnic"} 2767
routinator_valid_roas{tal="apnic"} 5202
routinator_valid_roas{tal="ripe"} 13091
routinator_valid_roas{tal="afrinic"} 590

# HELP routinator_rsync_status exit status of rsync command
# TYPE routinator_rsync_status gauge
routinator_rsync_status{uri="rsync://rpki.arin.net/repository/"} 0
routinator_rsync_status{uri="rsync://repository.lacnic.net/rpki/"} 0
routinator_rsync_status{uri="rsync://rpki.apnic.net/repository/"} 0
routinator_rsync_status{uri="rsync://rpki-repository.nic.ad.jp/ap/"} 0
routinator_rsync_status{uri="rsync://rpki.ripe.net/ta/"} 0
routinator_rsync_status{uri="rsync://ca.rg.net/rpki/"} 0
routinator_rsync_status{uri="rsync://rpki.afrinic.net/repository/"} 0

# HELP routinator_rrdp_status status code for getting notification file
# TYPE routinator_rrdp_status gauge
routinator_rrdp_status{uri="https://rrdp.apnic.net/notification.xml"} 200
routinator_rrdp_status{uri="https://rrdp.ripe.net/notification.xml"} 200
routinator_rrdp_status{uri="https://rrdp.twnic.tw/rrdp/notify.xml"} 200
routinator_rrdp_status{uri="https://rpki.idnic.net/rrdp/notify.xml"} 200
routinator_rrdp_status{uri="https://rpki.cnnic.cn/rrdp/notify.xml"} 200
routinator_rrdp_status{uri="https://ca.rg.net/rrdp/notify.xml"} -1

for ca.rg.net RRDP failure, this was seen in the log:
[2019-11-24 20:01:25] routinator::repository Found valid trust anchor rsync://rpki.ripe.net/ta/ripe-ncc-ta.cer. Processing.
[2019-11-24 20:01:25] routinator::rrdp::server RRDP https://rrdp.ripe.net/notification.xml: Updating server
[2019-11-24 20:01:25] routinator::rrdp::server New session. Need to get snapshot.
[2019-11-24 20:01:25] routinator::rrdp::server RRDP https://rrdp.ripe.net/notification.xml: updating from snapshot.
[2019-11-24 20:02:09] routinator::rrdp::server RRDP https://ca.rg.net/rrdp/notify.xml: Updating server
[2019-11-24 20:02:09] routinator::rrdp::http https://ca.rg.net/rrdp/notify.xml: https://ca.rg.net/rrdp/notify.xml: error trying to connect: invalid certificate: UnknownIssuer
[2019-11-24 20:02:09] routinator::rrdp::server Marking RRPD server 'https://ca.rg.net/rrdp/notify.xml' as unusable
[2019-11-24 20:02:09] routinator::rsync rsyncing from rsync://ca.rg.net/rpki/.
[2019-11-24 20:02:09] routinator::rsync rsync://ca.rg.net/rpki: Running command "rsync" "--contimeout=10" "--timeout=300" "-rltz" "--delete" "rsync://ca.rg.net/rpki/" "/home/layer3/.rpki-cache/repository/rsync/ca.rg.net/rpki/"
[2019-11-24 20:02:26] routinator::rsync rsync://ca.rg.net/rpki: successfully completed.

ill go through the same process on my other instance and see if it recovers for the time being.  i'll check it again tomorrow and see if it still reports data from all the RIRs.
Thanks,
Will

Interesting! Thanks for figuring that out!

The reason why you ended up with 0 ROAs for the RRDP-capable regions is that while Routinator will fail over to rsync if RRDP doesn’t work at all, it will not if it has what appears to be a valid local copy of an RRDP repository. This is so that it won’t fail over for intermittent RRDP failures that would fix itself on the next run. In this case it will just use the existing local copy. I suspect that in your case, it did exactly that but since it didn’t update anymore, that copy slowly expired, eventually leading to 0 ROAs.
PR #250 fixes the failure to run RRDP with the -d option, so now RRDP failures should really be actual networking or server issues again and the strategy makes sense.
I believe we never discovered the issue since hardly anyone actually uses that option – in most cases the init system seems to want to do its own forking. For the same reason, I am tempted to not do an urgent release for the fix.

Let’s move this to a separate comment for posterity: My impression is that the -d option is used relatively rarely and a bug-fix for the issue is not necessary. If I am mistaken and someone would rather I did a release, I am happy too, though.

Thanks @partim - what is the most common method to run routinator?  via systemd?  I saw the example unit file, but myself am not familiar with how to incorporate -- if that is the best / preferred way to run, i'll hit up my colleagues that are more systems oriented to help me figure it out with how I currently have routinator installed (also likely not ideal...right now just in my user home directory on the instance i'm running)
Thanks again!

On Linux, I would indeed suggest to use systemd. There is two service unit files, the minimal one should work on any version of systemd, the regular one needs a newer and we had issues with it leading to segfaults on some systems. The service assumes a config file similar to etc/routinator.conf.system-service.
If you are using Debian-based systems, you can also build a Debian package via cargo deb, but I am not quite sure how well that works currently. It definitely doesn’t do the routinator init bit, so you’d have to run routinator -c /etc/routinator/routinator.conf init after installing.
Alternatively, Docker via Docker Hub seems to be very popular.

yea i think longer term we'll probably look to deploy as a docker container, but in the interim i'll work on getting the unit file working.
Thanks,
Will


Switzerland missing (again?) in country codes

Hi,
despite having been fixed earlier (#114 ), I don't see Switzerland in the selection for the country code.
When using 'Germany', I can start the 2FA process and am receiving the email with the code. However the 'Challenge-Id' is not filled in, and after entering the OTP, authentication still fails with 401.
From the source (index_m.html) I see that Switzerland should be after 'China', but in the Admin UI it is missing.
Tried with different browsers and uninstall/re-install the adapter with no success.

Got lost during port to jsonConfig - going to fix it.

please test current version from github if it works for you.

Thanks, Switzerland is back in the Country Code list and I could successfully connect to the devices. Thanks a lot!


Bad character escape sequence

There is a issue about angularjs-template-loader, the prolem is below:

ERROR in ./src/scripts/controllers/personalCenter/pcPersonalCenter/personalInformationController.ts
Module build failed: SyntaxError: F:/programme/StudentClient_Optizition/src/scripts/controllers/personalCenter/pcPersonalCenter/personalInformationController.ts: Bad character escape sequence (112:116)
110 |                 skipHide: true,
111 |                 controller: uploadImageDialogController_1.uploadImageDialogController,
112 |                 template: require('F:\programme\StudentClient_Optizition\src\pages\personalCenter\pcPersonalCenter\uploadImageDialog.html'),
|                                                                                ^
113 |                 parent: angular.element(document.body),
114 |                 targetEvent: ev,
115 |                 clickOutsideToClose: false

@ ./src/scripts/modules/personalCenter/personalCenterModule.ts 8:40-130
@ ./src/scripts/modules/pcMainModule.ts
@ ./src/scripts/entries/pc/pc.ts
@ multi (webpack)-dev-server/client?http://localhost:8384 webpack/hot/dev-server ./src/scripts/entries/pc/pc
I use webpack build in windows system,  it show this, could you give some hands?

Are you using a loader for HTML as noted under Requirements? I came across this same error, until I added:
{
   test: /\.html$/,
   use: 'raw-loader'
},

Fixed both my issues by installing types for require:
npm i -D @types/requirejs or yarn add -D @types/requirejs
Found this in Common Issues


virtualbox: 5.1.16-113841

If there’s a checkbox you can’t complete for any reason, that's okay, just explain in detail why you weren’t able to do so.
After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} reports no offenses.
[x] The commit message includes the cask’s name and version.

this worked for me


Can't create Identity user

it always errors
    const userId = 1234; // get user ID on your login provider
    const accessToken =
      'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOjEyMzQsImlhdCI6MTUxNjIzOTAyMiwiZXhwIjoxNjcyNTMxMTk5fQ.hYNrS-Coz4DM3N-Hv2wkTPo764XMgjz71LLj1mMX3Po';
    const identity = Identity.createCustomIdentity(
      'my_auth_system',
      userId,
      accessToken,
    );
    const currentUser = await GetSocial.getCurrentUser();
    currentUser.addIdentity(
      identity,
      () => {
        console.log('Successfully logged into ' + userId);
      },
      (conflictUser: any) => {
        console.log('conflictUser', conflictUser);
      },
      (error: any) => {
        console.log('Failed to log into ' + userId);
        console.log('error', error);
      },
    );

error Error: Failed to parse attribution of class im.getsocial.sdk.communities.Identity having: 1234
    at Object.promiseMethodWrapper [as callAsync] (NativeModules.js:106)
    at User.addIdentity (CurrentUser.js:53)
    at _callee$ (VM5 App.bundle:38)
    at tryCatch (runtime.js:63)
    at Generator.invoke [as _invoke] (runtime.js:294)
    at Generator.next (runtime.js:119)
    at tryCatch (runtime.js:63)
    at invoke (runtime.js:155)
    at runtime.js:165
    at tryCallOne (core.js:37)

hi,
userId parameter is a String, so you need to define it like this:
const userId = '1234';

I edit userId to string and have this error
    const userId = '1234'; // get user ID on your login provider
    const accessToken =
      'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0IiwiaWF0IjoxNTE2MjM5MCwiZXhwIjoxNzMyNDcxNDcyfQ.5C0q3KY0BjfC3Y6Y93f4_IgNju9BOvk84tLrn9DP_8M';
    const identity = Identity.createCustomIdentity(
      'my_auth_system',
      userId,
      accessToken,
    );
    const currentUser = await GetSocial.getCurrentUser();
    currentUser.addIdentity(
      identity,
      () => {
        console.log('Successfully logged into ' + userId);
      },
      (conflictUser: any) => {
        console.log('conflictUser', conflictUser);
      },
      (error: any) => {
        console.log('Failed to log into ' + userId);
        console.log('error', error);
      },
    );

error Error: Invalid JWT access token.
    at Object.promiseMethodWrapper [as callAsync] (NativeModules.js:106)
    at User.addIdentity (CurrentUser.js:53)
    at _callee$ (VM5 App.bundle:31)
    at tryCatch (runtime.js:63)
    at Generator.invoke [as _invoke] (runtime.js:294)
    at Generator.next (runtime.js:119)
    at tryCatch (runtime.js:63)
    at invoke (runtime.js:155)
    at runtime.js:165
    at tryCallOne (core.js:37)

eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0IiwiaWF0IjoxNTE2MjM5MCwiZXhwIjoxNzMyNDcxNDcyfQ.5C0q3KY0BjfC3Y6Y93f4_IgNju9BOvk84tLrn9DP_8M

Make sure that the JWT is signed with the Shared Secret of your app that is available in the GetSocial Dashboard.
For more information check the documentation here

I stick with the documentation clearly. I use the parameter almost the same, but still getting errors like above.

The error is thrown because the JWT is not correctly signed. Could you please reach us through the support chat in your GetSocial Dashboard so we can follow up? We need information about your app that we can't ask you over here. Thanks

Sorry, but can only provide support through our support channel inside the GetSocial Dashboard. Log in with your account and contact us by clicking the ? on the top right.

is this a bug?
https://user-images.githubusercontent.com/92382730/142341716-21ae28aa-a87a-4dcc-a0f7-89b613bd614f.mov

Hi, it's not a bug, check that you don't have any browser extension blocking the support chat.
In any case, as I mentioned before, the problem you have with the JWT is that it is NOT correctly signed with the Shared Secret available in the App Settings section of your GetSocial Dashboard.
You can manually create a valid JWT using this website: https://jwt.io/ and pasting your Shared Secret in the Verify Signature section (where it asks for your-256-bit-secret). Then replace the generated JWT in your code.
I've just tested the same and was able to authenticate/add identity using the correctly signed JWT with your Shared Secret.
Regards,

I run this to create a user, it doesn't show any error or success log, and the dashboard
doesn't store it.
    try {
      const userId = '123444444'; // get user ID on your login provider
      const accessToken =
        'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NDQ0NDQiLCJpYXQiOjE1MTYyMzkwLCJleHAiOjE3MzI0NzE0NzJ9.C390FUi7VSJ6Bzohl7hiB8c5QLnRqAV4nOBmKB0YuYs';
      const identity = Identity.createTrustedIdentity(
        'twitter',
        userId,
        accessToken,
        true,
      );
      const currentUser = await GetSocial.getCurrentUser();
      currentUser.addIdentity(
        identity,
        () => {
          console.log('Successfully logged into ' + userId);
        },
        conflictUser => {
          console.log('conflictUser', conflictUser);
        },
        error => {
          console.log('Failed to log into ' + userId);
        },
      );
    } catch (error) {
      console.log(error);
    }

.

I removed all extensions, still can't click on the support
https://user-images.githubusercontent.com/92382730/142583894-ed475e2e-7b36-4ab4-87aa-7a99c1f42055.mov

I've removed your previous message because it contained sensitive information about your app.
You are still having problems with the JWT generation, it is NOT correctly signed.
The correct JWT, in this case, would be
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NDQ0NDQiLCJpYXQiOjE1MTYyMzkwLCJleHAiOjE3MzI0NzE0NzJ9.RL2comkYovKpvjogMPYa7AcIq8_0Vg6F4-vuX3oH6m8

Regarding your code, take in mind that when using Trusted Identities the code is slightly different as stated in the documentation.
const identity = Identity.createTrustedIdentity('twitter', 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NDQ0NDQiLCJpYXQiOjE1MTYyMzkwLCJleHAiOjE3MzI0NzE0NzJ9.RL2comkYovKpvjogMPYa7AcIq8_0Vg6F4-vuX3oH6m8');
const currentUser = await GetSocial.getCurrentUser();
currentUser.addIdentity(
    identity,
    () => { console.log('Successfully logged); },
    (conflictUser) => { console.log(conflictUser); },
    (error) => { console.log('Failed to log into'); }
);


Doc: version badge react component for doc pages is missing after the site refactor

The component added in https://github.com/cloudberrydb/cloudberrydb-site/pull/57 has been missing after the site refactor. Please add this component back and refine it if needed. Thanks

Hi @vitalboyzf PTAL, thanks.

Now we can use https://shields.io/ to support this feature, so close this issue.


'disallow' an allowance?

I like to provide a class that contains the interface to external/dangerous things and then use a global before block to inspect the class/module and raise errors if any of the methods are called without being mocked/stubbed. I want to use a helper method that looks something like this:
    def not_implemented(klass, method)
      allow(klass)
        .to receive(method)
        .and_raise NotImplementedError,
          "#{klass}.#{method} has been stubbed as not implemented."
    end

I was using mocha before (using stub and unstub), but I'm trying to convert to rspec-mocks. Is there a way to 'disallow' an 'allowance' so that I can then provide expectations without raising an error? My trials have resulted in either raising the stubbed error above or unmet expectations.

You can use either of these to cause an example to fail if a method is called (and to prevent the dangerous stuff from running):
expect(klass).not_to receive(:method)
expect(klass).to receive(:method).never

Alternately, you might consider replacing the class with a pure test double (which obviously can't do the dangerous stuff):
class_double(MyClass).as_stubbed_const

Thank you! I did manage to get everything working close enough to the way I wanted. I did have one other thing come up, though. I couldn't quite figure out how to return different results from a method given the same inputs (this applies to yielding, as well). Is there a way to do that?

I couldn't quite figure out how to return different results from a method given the same inputs (this applies to yielding, as well). Is there a way to do that?

Use with for that:
dbl = double("MyThing")
allow(dbl).to receive(:foo).with(1).and_return("one")
allow(dbl).to receive(:foo).with(2).and_return("two")

dbl.foo(1) # => "one"
dbl.foo(2) # => "two"

Gonna close this since there isn't anything in this issue for us to change in RSpec, but I'm happy to continue the conversation if you have more questions.

Closing this is fine.
Using with doesn't work, though. I have cases where the same thing is called with the same parameters.
The behavior I'm looking for is something like:
dbl = double('MyThing')
allow(dbl).to receive(:foo).with(1).and_return 'a'
allow(dbl).to receive(:foo).with(1).and_return 'b'

dbl.foo(1) #=> 'a'
dbl.foo(1) #=> 'b'

I have cases where I want different output, but the inputs are always the same. For instance, a loop that writes to a file, then reads from it and deletes it. The input out.log is always the same, but the content yielded could be quite different depending on which item the loop is on.

You can wire up your own custom return logic using a block.
results = %w[a b]
allow(dbl).to receive(:foo).with(1) { results.shift }

You can wire up your own custom return logic using a block.

That works, or and_return can take multiple arguments, which are treated as sequential return values:
dbl = double('MyThing')
allow(dbl).to receive(:foo).with(1).and_return('a', 'b')

dbl.foo(1) #=> 'a'
dbl.foo(1) #=> 'b'

BTW, the docs on configuring responses are fairly complete, so you might read over those.  Let us know if there's anything else that's unclear from the docs.

Thank you! I do find the documentation quite good on RSpec, but could not for the life of me find that. I swear I looked.


Swamp should show some indication when all child processes finish loading

some console stdout message. so it can be used in automation scripts, etc

swamp will print the message all swamp services has started when all services finished loading
available from v0.0.25


Fix nil error in warn logs about incompatible matchers

This commit fixes a small bug in the warning logs for incompatible matchers where the error from the UTF-8 parser was logged as nil.

Alertmanager server:
alertmanager --config.file=config.yml
ts=2024-01-26T11:18:04.085Z caller=main.go:181 level=info msg="Starting Alertmanager" version="(version=0.26.0, branch=main, revision=1da134aa30c81e656c5156df1499a77d5df92269)"
...
ts=2024-01-26T11:18:04.116Z caller=parse.go:222 level=warn msg="Alertmanager is moving to a new parser for labels and matchers, and this input is incompatible. Alertmanager has instead parsed the input using the old matchers parser as a fallback. To make this input compatible with the new parser please make sure all regular expressions and values are double-quoted. If you are still seeing this message please open an issue." input="foo=" origin=config err="end of input: expected label value" suggestion="foo=\"\""
ts=2024-01-26T11:18:04.117Z caller=coordinator.go:126 level=info component=configuration msg="Completed loading of configuration file" file=config.yml

amtool:
amtool --alertmanager.url=http://<IP_ADDRESS>:9090 alert add foo=
level=warn msg="Alertmanager is moving to a new parser for labels and matchers, and this input is incompatible. Alertmanager has instead parsed the input using the old matchers parser as a fallback. To make this input compatible with the new parser please make sure all regular expressions and values are double-quoted. If you are still seeing this message please open an issue." input="foo=" origin=cli err="end of input: expected label value" suggestion="foo=\"\""


MicroProfile Fault Tolerance 3.0 Specification Review

Specification issue template
When creating a specification project release review, create an issue in the MicroProfile-WG repository repo with the content defined as follows.

[x] Specification name and version
[x] Add the label Release Review
[x] Naming conventions for artifacts:

[x] Specification PDF in the form of microprofile-project-spec-version.pdf
[x] Specification HTML in the form of microprofile-project-spec-version.html
project is the microprofile specification short project name (config, health, ...)
version is the two digit x.y version of the specification

[x] The Nexus Staging links (orgeclipsemicroprofile-NNN where NNN is the staging repository id) (eg, https://oss.sonatype.org/content/repositories/orgeclipsemicroprofile-1357/org/eclipse/microprofile/config/) which contain all the binaries and relevant documentation:

[x] Staging Repo
[x] Spec PDF
[x] Spec HTML
[x] Javadoc
[x] API Jar
[x] TCK Jar

[x] A link in the Eclipse downloads sections is still available for specs and apidocs:

[x] https://download.eclipse.org/microprofile/staging/microprofile-fault-tolerance-3.0/
[x] An apidocs directory containing the javadoc associated with the API jar.

[x] Summary that a Compatible Implementation is complete, passes the TCK, and that the TCK includes sufficient coverage of the specification.

[x] [Compatible Certification Request] (https://github.com/eclipse/microprofile-fault-tolerance/issues/586)

[ ] Release Review

[x] Follow governance process and create/update release record

Component Release Record

[x] Email to PMC (more info here)
[x] Start release review by emailing EMO (more info here)(Track the [bug issue](add link) created by EMO after the email)
[ ] A member of Steering Committee initiates the ballot by sending an email to [microprofile-wg]<EMAIL_ADDRESS>(more info here
[ ] After the voting has ended, email [microprofile-wg]<EMAIL_ADDRESS>with the ballot result (more info here

@aeiras will you be able to intitiate the ballot by sending an email to microprofile-wg detailed in this issue?

+1

Vote started!  Note we should only put "ballot" on the issue once it's up for vote.  I added a new label "ready for ballot" to indicate that action by the mentor is needed.

we can do it!!!

+1

The Component Release Record should be pointing at https://projects.eclipse.org/projects/technology.microprofile/reviews/fault-tolerance-3.0-release-review
The staged apidocs directory (https://download.eclipse.org/microprofile/staging/microprofile-fault-tolerance-3.0/apidocs/) is malformed.  The javadoc jar looks fine, so this is a nit.  But, it should get cleaned up.
And, a couple of comments on the CCR (just like the other CCRs I've been reviewing).
Nothing to prevent my +1, but these items should be cleaned up before going final.

Updated.

Updated.

Thanks, @radcortez.  The staged apidocs is still malformed, but the other items were updated, including the CCR.  Thanks!

Updated.

Thanks, @radcortez. The staged apidocs is still malformed, but the other items were updated, including the CCR. Thanks!

@kwsutter the apidocs link works fine for me. Which browser are you using?

Updated.

Thanks, @radcortez. The staged apidocs is still malformed, but the other items were updated, including the CCR. Thanks!

@kwsutter the apidocs link works fine for me. Which browser are you using?

Yeah, @radcortez and I figured out it must be something with Firefox.  When I tried Chrome, everything was just fine.  But, my Firefox doesn't present the javadoc correctly...  Not a big deal.

@dblevins I think we can close the ballot now as all 5 memembers cast their votes and 7 days have elapsed. Will you be able to do the final announcement? Thanks!


React 17+ needs to be supported

Recently I created a React project using the create-react-app tool and it set the react version to 17+. Unfortunately the package.json for this project uses ^16 which only allows React 16.y.z versions to be used.
I'm not sure how much of a change upgrading to React 17 would actually be for this package. I skimmed through their ChangeLog and it looks like there isn't much impact but I'm not familiar with this code base.

+1. It is impossible to use material-ui-image with React 17+, please add support.

Use with --legacy-peer-deps


Modifications to RT1.26 basic_static_route_support_test.go

1 Added deviation isis_level_enabled
2 Default value of leaf 'recurse 'is false, hence added configuration to configure recurse as 'true'

Pull Request Functional Test Report for #2739 / 875efa3e9dd825dec1cee0de85a9a29330ad4c8b
Virtual Devices

Device
Test
Test Documentation
Job
Raw Log

Arista cEOS

RT-1.26: Basic static route support

Cisco 8000E

RT-1.26: Basic static route support

Cisco XRd

RT-1.26: Basic static route support

Juniper ncPTX

RT-1.26: Basic static route support

Nokia SR Linux

RT-1.26: Basic static route support

Openconfig Lemming

RT-1.26: Basic static route support

Hardware Devices

Device
Test
Test Documentation
Raw Log

Arista 7808

RT-1.26: Basic static route support

Cisco 8808

RT-1.26: Basic static route support

Juniper PTX10008

RT-1.26: Basic static route support

Nokia 7250 IXR-10e

RT-1.26: Basic static route support

Help

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 53.102%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1729

Relevant Lines:
3256

💛  - Coveralls


Duplicate bug

What is your Quests version / build number (do not say "latest")?
Quests 3.8.2
Describe the problem and how to replicate it. Any console errors to post using Pastebin.com?
Duplication bug:
Steps to replicate;
1 Create any quests and /questsadmin reload
2 Edit that quest in game, set a NPC for "Set NPC start" save and /questsadmin reload
3 The quest is now duplicated
If applicable, can you provide an example quest from quests.yml using Pastebin.com?

I wasn't able to replicate this. Please respond to the following:

Does the issue still occur on Quests 3.8.3?
Are you using QuestsGUI?
Does the quest you're editing already have a Start NPC set? Or are you adding one for the first time when editing?
When you say "duplicated" do you mean it appears in /quest list more than once? Or is there a duplicate quest in the quests.yml file?

Hmm, it seems to be interfering with another plugin, which one I didn't found out yet. Thanks for helping anyways!


Project not get build Caused by: org.gradle.api.internal.plugins.PluginApplicationException

org.gradle.api.internal.plugins.PluginApplicationException: Failed to apply plugin 'com.android.internal.application'

Hi @mirzaalipro, the project is actually buildable. Please see previously succedeed Github CI actions. I suggest that you check your system using Kdoctor. This topic has been detailed in the medium article.


Reactions

Reactions haven't been implemented yet.

Routes to implement

[ ] Create Reaction
[ ] Delete Own Reaction
[ ] Delete User Reaction
[ ] Get Reactions
[ ] Delete All Reactions


Allow npm link for dosomething-neue.

Changes

This allows us to work on local Neue copy and see changes reflected in the Vagrant box, without having to compile and copy the whole directory. Read more: npm link.

Discussion
As far as I can tell, there's no easy way to do this for multiple NPM packages without manually whitelisting each one. Open to any suggestions though if people have ideas!
For review: @DoSomething/front-end @sergii-tkachenko @blisteringherb

Should I just install dosomething-neue into the box?

No, this is for local development – i.e. seeing changes made in your local dev copy of Neue reflected in styles/scripts on the DS app.


"Wallet you are trying to restore already exists." Shown After Upgrading to 2.1.0-ITN1

No wallets were shown after upgrading Daedalus to v2.1.0.
Attempting to restore the wallet gives the following error:

Wallet you are trying to restore already exists.

This is running on Windows 10.

You would need to delete the contents in the Daedalus state directory. Follow the instruction provided here.

Deleting the contents and restoring the wallet allowed me to use Daedalus.
It would be better for the end-user experience if deleting the folder was not required, so please let me know if you need anything from me to assist with a permanent fix. I made a backup of the folder before removing the contents. If not, then I am satisfied.

How to resolve this using workaround is not a big issue, but having this issue mapped to QA/testing process to verify this is not missed in future is important.

Fixed in: https://github.com/input-output-hk/daedalus/releases/tag/2.2.0-ITN1
Please upgrade your Daedalus by downloading the latest version from: https://staking.cardano.org/delegation/


Having checkbox with only select option

Is there any way that i can keep the checkbox on the left as is but only with single select there.

You want to keep the 'multi select' checkbox (the one of the top) and still have 'single select' mode?
If your answer is 'YES' - then no, it is not possible.


TOKEN auth fallback to file ~/.vault-token

Make TOKEN authentication fallback to reading a token from ~/.vault-token file. This assists in usability of spring cloud vault locally after authenticating to vault via the vault CLI.

Thank you for your contribution. That's merged, polished, and backported now.

That's great! Thanks! Any idea of release timeframe for 3.0.5 ?

Likely end of November. You can get hold of Spring Cloud release dates at https://github.com/spring-cloud/spring-cloud-release/milestones. Alternatively, have a look at https://calendar.spring.io/ to get an overview of all Spring release dates.


Permissions on ClientWebService\web.config

Might help someone.
Script failed to update settings in there as by defualt Administrators don't have Full Access to the file (couldn't update via IIS admin either)
This was Server 2019 if it makes a difference.
Resolved with the following.
Open an elevated Command Prompt window, and then go to the following location:
%programfiles%\Update Services\WebServices\ClientWebService
Type the following commands, and press Enter after each command:
takeown /f web.config
icacls web.config /grant administrators:(F)

@bargibargi v1.2.1 should have resolved this.

Is your WSUS install is using English?
Do you know what version you are running?

It's English and latest script.
But this server has been renamed in the past and in IIS it does have the original server name when connecting via admin console.
So sounds like that might be the reason

@bargibargi thanks for the update and information. I can't duplicate this scenario and you have a working solution for your particular situation, so I'm going to close this.


Fixing parsing of model dump text file in R

Fixed parsing of negative reals, integers and scientific notation which
can occur in the model dump.

@pommedeterresautee  can you make a review on this?

@tqchen Yeah I planed it for tomorrow (can t before)

Works for me

thanks! this is now merged


[CI][Docker] Add riscv-gnu-toolchain to ci_riscv

Currently the ci_riscv docker image uses GNU toolchain for Xuantie RISC-V CPU, which does not contain V-extension instructions. This PR adds GNU toolchain for RISC-V from RISC-V Collaboration. This update is required for the PR

cc @Mousius, @areusch, @leandron, @PhilippvK, @alter-xp

The RISC-V GCC is only supposed to be used for linking and providing the libc headers to Clang right?

The RISC-V GCC is only supposed to be used for linking and providing the libc headers to Clang right?

Yes, RISC-V GCC is used for linking and providing libs.

The current version of Xuantie GCC supports V-extension. However, as I mentioned in the PR, is it syntactically correct to directly use vwredsum ?

The current version of Xuantie GCC supports V-extension. However, as I mentioned in the PR, is it syntactically correct to directly use vwredsum ?

But on the current version of the toolchain, the error
/opt/riscv/riscv64-unknown-linux-gnu/bin/riscv64-unknown-linux-gnu-ld: -march=rv64i2p0_m2p0_a2p0_f2p0_d2p0_c2p0_v1p0_zve32f1p0_zve32x1p0_zve64d1p0_zve64f1p0_zve64x1p0_zvl128b1p0_zvl32b1p0_zvl64b1p0: Invalid or unknown z ISA extension: 'zve' occurs, and there are no errors with the updated toolchain.
Instead of vwredsum I'll use vwredsum_vs_i16m1_i32m1.


encoding/xml: XMLName value of embedded structs type not used in Marshaller

What version of Go are you using (go version)?

$ go version
go version go1.14.1 windows/amd64

Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
set GO111MODULE=
set GOARCH=amd64
set GOBIN=
set GOCACHE=C:\Users\Constantine\AppData\Local\go-build
set GOENV=C:\Users\Constantine\AppData\Roaming\go\env
set GOEXE=.exe
set GOFLAGS=
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOINSECURE=
set GONOPROXY=
set GONOSUMDB=
set GOOS=windows
set GOPATH=D:\Develop\golib
set GOPRIVATE=
set GOPROXY=https://proxy.golang.org,direct
set GOROOT=D:\Develop\go1.14.1
set GOSUMDB=sum.golang.org
set GOTMPDIR=
set GOTOOLDIR=D:\Develop\go1.14.1\pkg\tool\windows_amd64
set GCCGO=gccgo
set AR=ar
set CC=gcc
set CXX=g++
set CGO_ENABLED=1
set GOMOD=
set CGO_CFLAGS=-g -O2
set CGO_CPPFLAGS=
set CGO_CXXFLAGS=-g -O2
set CGO_FFLAGS=-g -O2
set CGO_LDFLAGS=-g -O2
set PKG_CONFIG=pkg-config
set GOGCCFLAGS=-m64 -mthreads -fmessage-length=0 -fdebug-prefix-map=C:\Users\CONSTA~1\AppData\Local\Temp\go-build125187114=/tmp/go-build -gno-record-gcc-switches

What did you do?
Try to use XMLName in embedded type play stackoverflow

type XMLForm struct {
	XMLName xml.Name
}
type Test struct {
	XMLForm
}
var t Test
t.XMLName.Local = "c:test"

xml.Marshal(&t)

What did you expect to see?
<c:test></c:test>
What did you see instead?
<Test></Test>
It fails on go1.14.1\src\encoding\xml\marshal.go:  can't cast to xml.Name
482: } else if v, ok := xmlname.value(val).Interface().(Name); ok && v.Local != "" {
483:       start.Name = v
484: }

I also find a reason for this error https://golang.org/src/encoding/xml/typeinfo.go
Need to add idx of embed type to slice
78:   if tinfo.xmlname == nil {
++                                        && inner.xmlname != nil {
79:      tinfo.xmlname = inner.xmlname
++      tinfo.xmlname.idx = append([]int{i}, inner.xmlname.idx...)
80:   }

This works now

This works now

Try play for go.dev - same result


bug: Installing Konfekt/FastFold leads to duplicate windows in sidebar

Describe the bug
When https://github.com/Konfekt/FastFold is installed, avante sidebar has duplicate windows.

To reproduce
Install the plugins (see Repro), run :AvanteAsk
Expected behavior
Sidebar windows should not be duplicated.
Environment
NVIM v0.10.2
NixOS, Manjaro
Linux x64
Repro
vim.env.LAZY_STDPATH = ".repro"
load(vim.fn.system("curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua"))()

require("lazy.minit").repro({
  spec = {
    {"Konfekt/FastFold"},

    {"nvim-treesitter/nvim-treesitter", build = ":TSUpdate"},

    {
      "yetone/avante.nvim",
      event = "VeryLazy",
      lazy = false,
      version = false, -- set this if you want to always pull the latest change
      opts = {
        -- add any opts here
      },
      -- if you want to build from source then do `make BUILD_FROM_SOURCE=true`
      build = "make",
      -- build = "powershell -ExecutionPolicy Bypass -File Build.ps1 -BuildFromSource false" -- for windows
      dependencies = {
        "stevearc/dressing.nvim",
        "nvim-lua/plenary.nvim",
        "MunifTanjim/nui.nvim",
        --- The below dependencies are optional,
        "hrsh7th/nvim-cmp", -- autocompletion for avante commands and mentions
        "nvim-tree/nvim-web-devicons", -- or echasnovski/mini.icons
        "zbirenbaum/copilot.lua", -- for providers='copilot'
        {
          -- support for image pasting
          "HakonHarnes/img-clip.nvim",
          event = "VeryLazy",
          opts = {
            -- recommended settings
            default = {
              embed_image_as_base64 = false,
              prompt_for_file_name = false,
              drag_and_drop = {
                insert_mode = true,
              },
              -- required for Windows users
              use_absolute_path = true,
            },
          },
        },
        {
          -- Make sure to set this up properly if you have lazy=true
          'MeanderingProgrammer/render-markdown.nvim',
          opts = {
            file_types = { "markdown", "Avante" },
          },
          ft = { "markdown", "Avante" },
        },
      },
    },

  },
})

I was able to reproduce. FastFold is the conflict. Happy to test in different environments if needed. Access to Linux, Windows, and Mac.
NVIM v0.10.3
Arch Linux x64


Lombok doesn't works with Netbeans 8.2

Hi! i've been using lombok on Eclipse IDE for while and it works fine. But when i tried to use on NetBeans, shows me an error of ClassNotFoundException 😢.  Ps: I'm using lombok v1.16.20

I use lombok 1.16.20/edge in Netbeans 8.2 with W10, Ubuntu 16.04 and 18.04,  and I didn't see that error.

It would prabably help if you also give more information on what class cannot be found.

I'm write a maven project  in Netbeans 8.1 with win7 and Oracle-JDK8.
When I‘m dependency  lombok 1.16.18 ， intellisense is working fine.
When I‘m dependency  lombok 1.16.20、1.16.16 ， intellisense can't work.

@runshinex What about lombok-edge?

Sorry I've couldn't answer before. I couldn't save  the printstacktrace. But I tried with an older version of lombok and worked fine.

@victorwss
It's OK . (lombok-edge info Edgy Guinea Pig - version1.16.21)

I'm write a maven project in Netbeans 8.1 with win7 and Oracle-JDK8.
When I‘m dependency lombok 1.16.18 ， intellisense is working fine.
When I‘m dependency lombok 1.16.20、1.16.16 ， intellisense can't work.

1.16.18 works to me in NetBeans 8.2, java 1.8.0_161-b12.
Thank you.


Function.name property is non-writable. It should be initialized as such.

SimplePropertyDescriptor const JavascriptLibrary::SharedFunctionPropertyDescriptors[2] =
{
SimplePropertyDescriptor(BuiltInPropertyRecords::prototype, PropertyWritable),
SimplePropertyDescriptor(BuiltInPropertyRecords::name, PropertyConfigurable | PropertyWritable)
};

this line also needs to changed  SimpleTypeHandler<1> JavascriptLibrary::SharedFunctionWithoutPrototypeTypeHandler(BuiltInPropertyRecords::name, PropertyConfigurable | PropertyWritable); And probably clarify that this effects built in function names so creating a test case is easier.

Yes you are right, that needs to be changed as well. I'll look into the existing test case to see what kind of coverage we have there and how can I augment that.

Oh btw, you are welcome to make the change ;)

@farzonl doooooo it :P

Hi, I am not able to reproduce this on current master. My test case is as follows:
var x =[];
print(x.slice.name); // prints slice
x.slice.name = "hello";
print(x.slice.name); // prints slice

Am I doing something wrong?

Ah yes. That's because although we are initializing the name property as writable, when setting the actual name  to this property, we set the property attributes as only configurable. So, not a functional bug I guess. But, good to fix as setting attributes different from what were originally there on the property may disable type sharing. For reference, you could see the following code in SimpleTypeHandler<size>::SetPropertyWithAttriutes
 SimpleTypeHandler * typeHandler = this;
                if (GetIsLocked())
                {
#if DBG
                    DynamicType* oldType = instance->GetDynamicType();
#endif
                    typeHandler = this->ConvertToNonSharedSimpleType(instance);
#if DBG
                    Assert(!oldType->GetIsLocked() || instance->GetDynamicType() != oldType);
#endif
                }

@rajatd I opened PR #170.


Using an optional or splat route near root leads to crash due to redundant pattern match

When I use a optional or splat route near the root, the generated code already covers all cases making the catchall redundant. This leads to a crash with the following error:
-- REDUNDANT PATTERN --------------- /home/jojo/Code/route-redundant-pattern-reproduction/elm-stuff/elm-pages/.elm-pages/Main.elm

The 2nd pattern is redundant:

552|                     case thisActionData of
553|                         ActionDataIndex__ justActionData ->
554|                             Just justActionData
555|
556|>                        _ ->
557|                             Nothing

Any value with this shape will be handled by a previous pattern, so it should be
removed.,
-- REDUNDANT PATTERN --------------- /home/jojo/Code/route-redundant-pattern-reproduction/elm-stuff/elm-pages/.elm-pages/Main.elm

The 2nd pattern is redundant:

329|                                                 case andThenUnpack of
330|                                                     ActionDataIndex__ thisActionData ->
331|                                                         Just thisActionData
332|
333|>                                                    otherwise_1_0_1_2_3_3_0 ->
334|                                                         Nothing

Any value with this shape will be handled by a previous pattern, so it should be
removed.,
-- REDUNDANT PATTERN --------------- /home/jojo/Code/route-redundant-pattern-reproduction/elm-stuff/elm-pages/.elm-pages/Main.elm

The 2nd pattern is redundant:

482|                                                         case mapUnpack0 of
483|                                                             ActionDataIndex__ justActionData ->
484|                                                                 Just
485|                                                                     justActionData
486|
487|>                                                            otherwise_1_1_1_0_0_1_7_2_4_0 ->
488|                                                                 Nothing

Any value with this shape will be handled by a previous pattern, so it should be
removed.

This happens if I use a splat route at the root, like /SPLAT__. Other variations like /Lang_/SPLAT__ had the same problem.
I have made a reproduction repository.

I hope this is the right repo to open the issue on. I will also have a look, if I can maybe open a PR to fix this.

Oh yes, this makes sense, I understand where the issue is. I'll work on a fix. Thanks so much for finding and reporting this!

Could you share the list of files in your app/Route/ folder that was able to reproduce this, by the way?

Oh, never mind, looks like you made a reproduction here: https://github.com/j-maas/route-redundant-pattern-reproduction/tree/main/app/Route. Thanks!

I've updated the reproduction repository. ;)

Amazing, thank you! 🙏

Hello @j-maas, I tried this out with the latest and it seems to be working now. Would you mind checking if it's working for the initial use case you ran into this with as well? Thank you!

I created a PR to update to the latest beta: https://github.com/j-maas/route-redundant-pattern-reproduction/pull/1

I'm really busy right now, but I'll try to have a look on the weekend.

Merging your PR, the issue seems to be fixed; I can open the page without errors on my repro repo. Thank!
Feel free to close this issue. :)

Okay great, thanks again for reporting the issue, and thank you for confirming the fix!


Fix possible data race with runnable example tester

https://issues.dlang.org/show_bug.cgi?id=15129 strikes again (like https://github.com/dlang/dmd/pull/14817).

Surely dmd should error when trying to assign to a shared variable if it's not safe, just like read-modify-write errors.


Overlay disappears when creating a modal during the hidden event of an existing modal

I am opening a new modal in the event handler for the 'hidden' event of a closing modal. This works fine, however, there is a race with the overlay/backdrop whereby the new modal shows without the backdrop.
The race is the same as described in #30. The order of events:

existing modal is hidden
hidden event is fired
new modal is created

new modal doesn't create overlay due to the check here. This check ensures there aren't two overlays created.

the timeout in hide from the existing modal removes the overlay (here).

PR coming shortly.

Great work, thanks for the contribution.


New Encoding for Sequence Section

Sequence section data is currently encoded as a json array [4, 2, 34, 1, 95]. This is an awful encoding, we should switch to some binary format.

Not using sections anymore, so irrelevant. Closing.


Add IPython Notebook

Hello python-control! I forked and pip installed this library to do some
model analysis. As a form of thanks, I've converted your example
Vertical takeoff and landing aircraft into a notebook, with some
improvements from the page. Take a look!
Regards, Vita

Coverage decreased (-0.25%) to 73.84% when pulling ea7f40f59af9c9afc334eedb32688e190496b353 on djvita:master into cd87eda72c95bda132bf4965fb361a918b8eb60f on python-control:master.

Awesome! The file should be named something indicative of the example, e.g., pvtol-lqr-nested.ipynb.
For whoever will review this PR, the notebook can be rendered directly from GitHub.com.

Thanks! happy to help out.

Coverage remained the same at 74.09% when pulling ea7f40f59af9c9afc334eedb32688e190496b353 on djvita:master into cd87eda72c95bda132bf4965fb361a918b8eb60f on python-control:master.

This looks really nice--thanks @djvita!  I reopened this pull request so we can merge it in.  Could you rename the file as @slivingston suggested and push the change to your fork?

The page linked to in the OP is no longer active. For posterity, an archived copy is http://web.archive.org/web/20150217170735/http://www.cds.caltech.edu/~murray/wiki/index.php/Python-control/Example:_Vertical_takeoff_and_landing_aircraft

@djvita Could you change the file name? Ideally you would do so by rebasing, thus replacing the single commit of your original pull request, because there is no reason to keep the original file name in commit history.

Merged with new filename.


Private DNS does seem to work together with Azure AD DNS

In my testing, it does seem like the Azure AD DS DNS does forward queries to private DNS, if it is configured. However, this page makes no note of this feature. Can it be updated to include this capability?

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

ID: 7013d117-4c2e-1b3e-0b67-d3eec67dc490
Version Independent ID: c948be62-abef-57bb-232c-970ccfec504c
Content: Network planning and connections for Azure AD Domain Services
Content Source: articles/active-directory-domain-services/network-considerations.md
Service: active-directory
Sub-service: domain-services
GitHub Login: @iainfoulds
Microsoft Alias: iainfou

@rocketraman Thanks for your feedback! We will investigate and update as appropriate.

Thanks @rocketraman
I made a pull request to make a note to add this. https://github.com/MicrosoftDocs/azure-docs-pr/compare/master...MarileeTurscak-MSFT:patch-153
I also made a second pull request on the article. https://github.com/MicrosoftDocs/azure-docs-pr/pull/87440

@iainfoulds

https://github.com/MicrosoftDocs/azure-docs-pr/pull/87442

@MarileeTurscak-MSFT broken pull request links?


What's the need of sharding File store cache

I have my code deployed in the azure app, but if the server cache is cleared then the ShardingCache file is deleted and since this file is deleted the login breaks.
Is it necessary to cache the sharding and store it as file cache,
it's a cache file right, if this file is deleted then the login breaks because, it can't find the db details if the file is not present.
Shouldn't if fetch the details from the db if there's no file when the service is restated?
//This is used for a) hold the sharding entries and b) to set a tenant as "Down",
builder.Services.AddDistributedFileStoreCache(options =>
{
options.WhichVersion = FileStoreCacheVersions.Class;
options.FirstPartOfCacheFileName = "Example6CacheFileStore";
}, builder.Environment);

Hi @gopskrish,
The ShardingCache file contains data that isn't held in a database, so loosing the ShardingCache file means that the tenants won't work. I have made the ShardingCache code pretty robust, but I do assume that the ShardingCache file is there. Deleting the ShardingCache file is NOT handled by the current code.
Yes, it could add code to hold the sharing information in a database as a backup, but since building this library I have dementia (see this article) but its not trivial and I would take a long time to create a solution - see this section as to why it would take a long time.

Hi @gopskrish,
I have been looking to this and here is what I plan to do. Can you check that this should fix your problem.
Summary of the problem

The sharding information (class ShardingEntry)  is stored in the FileStore cache.
Currently the FileStore cache is the only place where the ShardingEntry data is held.
Therefore, deleting the FileStore cache means tenants don’t work.
There are two reasons where the FileStore cache are deleted:
a.	When you want to delete/reset a multi-tenant app, e.g. during development. This requires BOTH the databases and the FileStore cache are deleted.
b.	The FileStore cache is deleted, e.g. due to a server cache clear.
The solution to 4b is:
a.	In normal use sharding information changes are also written to a database.
b.	On startup, if the FileStore cache is empty it fill the FileStore cache from the saved sharding information database.

Summary of the solution

Add a new database called ShardingEntryBackup is added to the AuthPermissionsDbContext to hold a backup of the  ShardingEntryin the FileStore cache. NOTE: AuthP is designed to add new migrations on startup.
When a ShardingEntry is changed (add, update, delete), then the change is applied to FileStore cache AND the ShardingEntryBackup database`.
In the application’s AuthP configuration you can add an RegisterServiceToRunInJob that will check if the FileStore cache matches the data in the ShardingEntryBackup database (NOTE: this is optional. You need to add the new method in your AuthP configuration for it to work). If added it will:

If the FileStore cache is empty (i.e. no entries of any kind), then it will copy any ShardingEntry’s in the   ShardingEntryBackup database into the FileStore cache.
Optionally, if the FileStore cache has ShardingEntry in it, then it will check that the FileStore cache and the ShardingEntryBackup database. It will throw an exception if the ShardingEntrys from the two sources are different.

@JonPSmith I hope for your speedy recovery, Yes the suggested solution should be able to solve my problem thanks

Hi @gopskrish,
I have released AuthP version 8.1.0 which provides a backup version of the sharding entries in case that the FileStore Cache file is deleted. See the Securing the sharding data page in the AuthP Wiki.


Testing Ansible based operators with molecule should be easier to find

Currently, if you go to the Ansible user guide there is no mention:

Ansible testing guide
Ansible developer guide there is however, at the time of this writing, a link to the testing doc in the developer guide

Since the Ansible user guide is the landing page for new/prospect operator developers interested in using Ansible, the path from intro to development, to testing should be clear.
At a minimum I would think a collection of links to follow-up documentation users would be interested in (like the developer and testing guide) would be appropriate in the user guide.

This is a doc issue. Want to point that out since I'm not able to add labels.

/remove-lifecycle stale.

/assign

working on this now.
/remove-lifecycle rotten

This problem will be solved with the website docs since it has a menu which makes easier users found the infos. So, I am closing this one. However, please feel free to re-open if you see that it still required.


Fix the copypasta docs of map/filter/filter_map/flat_map

I'm no wordsmith, but this has to be better than what was there... :)

Indeed


Copy meta fields when copying AST nodes.

Meta fields ought to be copied when copying ast nodes as well.
Additionally, re-add schema_object_id to the meta fields for pg ast.

Oh good, I was a little afraid something would break


Creacion documentacion sobre validate-dual-stack en networking

@jheimar,
EasyCLA is mandatory to move your PR forward.
Can you please sign CLA using this link.

@jheimar puedes validar el link del comentario anterior  please sign CLA using this link.

@jheimar , I'm closing this PR since the CLA has not been signed.
When you have signed the CLA, you can reopen this PR with /reopen in a comment
/close


feat(back-btn): Added a back button

Added in back button, mirroring functionality of next button
Reordered conditional logic of next button for consistency with back button

@mcclowes Thanks for the pull request


Added dark mode to the website

As the icon of a sun and moon i used a nice and very handy icon library which is called "Font Awesome". I hope you liked my work. If there will be any problems or something you want to change just write to me i will chagne it immediately 😄

I'm very glad that you liked my code. It was fun to do this😍. Could you please add me to the contributors? 😄

Sure, brother!
You will be added automatically in the contributors after some time!
You look very passionate about open-source, that's great! 👍
Let's connect over Twitter, I'll provide more and more issues to you to contribute.
Best of luck for your journey into open source 🚀


Choose New Layout screen hangs

Click the new layout button and the resulting screen displays only the heading, no options.
(on sul-reader-test as of 11am 29/1/15)

Correct, there is nothing to populate that screen right now, but will be re-added in the next day or two.

Yep, this feature is currently disabled as it is being refactored. I will remove the button as well.


Any ETA on Documentation?

Currently in the process of working on my project proposal.
It would be nice to have some decent documentation.

This library needs to have payment functionality before we should start working on a documentation.

Some form of documentation is available https://github.com/thenewboston-developers/thenewboston-js/blob/master/docs/index.md so i am closing this issue.
If specific functionalities are not yet documented, we can open a new one


Issue #47 lossy counting

I'm working on this issue.
Issue #47

I don't think there is much benefit from having your program act as a client/server---for now your goal should just be to measure the maximum performance of the lossy counter.  If you have data being sent back and forth, that overhead will be included, so it will be difficult to tell the true performance.  So you can just remove all of the socket related stuff and just have a single program that generates keys and inserts them into its own counter.
(I added a few comments to the code but then removed them once I realized what you were doing--if you got emails about them you can ignore them)

The lossy counting algorithm is tested in my own computer for validating the program.
The test results are highly related to the alpha parameter of Zipf.
It shows that when the distribution become uniform, the algorithm become slow. And when the alpha become higher, the algorithm runs much faster.
In the typical setting of alpha = 0.5, the counting speed in my computer is around 70000 counts per second.
Suppose we use a 10Gbps network interface, the maximum data is 1.25 Gbytes/s. If each packet includes 1250 bytes, we may have 1000000 keys to count in one second. If my program is right, it may be hard for a single machine to handle that counting task.

LC_Output might be a bug. In if branch, lose the bracket.
If the signal handler does the LC_Output, what will the problem be(In countermerge() middle, the result is totally wrong, or just not accurate?)? It is better that also makes s, error as the command line parameter.

@hantasm - before I merge this I'd like you to make a few small changes.
First, add an option so that instead of having a timer interrupt that determines how long it runs for, you can also have the user enter a number of requests to perform.   Then they could run something like ./lossy_test -n 10000000 -n 1000 -p 0.01 -a 1.5 -r 1 to have it run 10 million requests and then stop, rather than running for a set time interval.
Next, make it so that if you use -r=0, it will only calculate and print out the counter list once at the very end of the program before quitting (if -v is also specified).
Otherwise this looks good!

This program is modified for running specified loops. The loop parameter is -l [loops].
Sample Output:
./lossy_test -l 1000000 -n 1000 -p 0.01 -a 0.5 -r 0 -v
Item            Count
1               6170
2               1172
3               8
8               3
16              2
32              1
49              1
56              1
332             1
344             1
Lossy speed tester parameters:
Lossy phi :     0.010000
zipf N :        1000
zipf alpha :    0.500000
running time :  13.042656
output period : 0
total count:    1000000
counts per sec: 76671.498862

excellent!


Fix tooltup for Close Sceen With Plain Text #267

Issue #267

@halatmit LGTM, Moving to Gerrit

MERGED


Added Huntress SMB Threat Report 2023 and updated README

Added Huntress SMB Threat Report 2023 as requested in Issue 9.

Sample hash matches upload 30d5e95c8545f8b1277b31de4d8ae28e32a6627e9f8c12961db6eb9431d76e08


Make $ broadcast props

$ is not useful as ref wrapper, but can be handy tool to multi-set standard element props like
$`.menu-item`.removeAttribute('hidden')

So for multiple items it has HTMLCollection and Node-compatible interface.

Mb we could add chaining to streams? Like
$('.menu-item').map(el => {el.removeSmth()})

Not relevant with latest API.


Getting total number of rows (running count()) takes a long time

http://stackoverflow.com/questions/40272272/prevent-aldeed-meteor-tabular-from-showing-counts-at-the-bottom-of-tables
count()s in Mongo take a notoriously long time (even on indexed fields), and I have no need for the bottom of the table to show the exact count of matching items.
Is there any way to eliminate that number, or set tabular up such that the number is pulled in a different way?

An option to turn off the total count might be nice. I'll accept a PR that adds this.

@aldeed PR here: https://github.com/aldeed/meteor-tabular/pull/355/files

I merged the PR and also added a skipCount option and documented both.


Added HelloWorld in GoLang.

Added a simple hello_world file written in Go. Also added a space in the readme because it was slightly off =)

The readme is in fact not incorrect. In python, arguments separated in a print statement are separated during print with a space.


⚠ Secret Website 3 has degraded performance

In 1cf0afb, Secret Website 3 ($SECRET_WEBSITE_3) experienced degraded performance:

HTTP code: 200
Response time: 2936 ms

Resolved: Secret Website 3 performance has improved in ef2319d.


⚠ Beulah Revival Network has degraded performance

In 4980ca1, Beulah Revival Network (https://beulah.clicki.digital) experienced degraded performance:

HTTP code: 200
Response time: 12486 ms

Resolved: Beulah Revival Network performance has improved in 4bcab01.


schedule: schedule limiter refactor

What problem does this PR solve?
Currently, the logic of schedule limit is mainly in coordinator.go which is not clear enough.
What is changed and how it works?
This PR moves the schedule limit related logic from coordinator.go and scheduler.go to sched_limiter.go and does some tiny cleanup.
Check List
Tests

Manual test (make test)

PTAL @disksing @nolouch


ADMINAPI-1029

Adding YAML and Markdown files to the repo for documentation purposes.

Nope.  This must have picked up other changes and I'll localize to the documentation.


<Select /> dynamic <Option /> bug

The <Select /> component: you can't change the <Option /> dynamically because when you do and select an item and update the value, it doesn't show as selected until after 2-3 clicks, so there is something wrong.
https://github.com/creativetimofficial/material-tailwind/assets/74398451/cb37563c-10b0-4882-95fd-3472c8bca425

const [data, setData] = useState<{ categoryId: string | undefined }>({ categoryId: undefined })

const [search, setSearch] = useState('')

const categories = useMemo(() => {
  if (categoriesRaw && search !== '') {
    const fuse = new Fuse(categoriesRaw, {
    keys: ['name', 'slug', 'id'],
    threshold: 1,
    })
    const result = fuse.search(search)
    return result.map((result) => result.item)
  }
  if (categoriesRaw) return categoriesRaw
  return []
}, [categoriesRaw, search])

...

{!categoriesError && (
  <>
    <Select
      color='deep-orange'
      onChange={(newValue) => {
      if (typeof newValue === 'string') {
      setData({ categoryId: newValue })
      }
      }}
      value={data.categoryId}
      disabled={categoriesLoading}
      className='text-black'
      label='Categoría'>
        <Option value=''>{categoriesLoading ? 'Cargando...' : 'Ninguna'}</Option>

      {...categories.map((category, index) => {
        return (
          <Option
            key={index + category.id + category.name + category.slug}
            value={String(category.id)}
            disabled={false}>
              {category.name}
          </Option>
        )
      })}
    </Select>
  </>
)}

I am having the same issue

We have the same issue in our app too and some of our dynamic selects work and others don't. It's so bad we have contemplated building our own select component that looks identical for now.

If I remove this
<Option value=''>{categoriesLoading ? 'Cargando...' : 'Ninguna'}</Option>

And only leave the .map, and setting the value={VALUE || undefined} when there is not a value works, but well, that disables me the possibility of being able to put an option to select like "empty".
That would not be a problem if an "X" to reset could be added to it

Well since this is still an issue I use the following instead:
{optionsArray.map((item, index) => {                     return (                     <ListItem className="p-0" key={index}>                                              <ListItemPrefix className="mr-3">                             <Checkbox                                 id={item.value}                                 value={item.value}                                 checked={item.isSelected}                                 onChange={(e) => handleOnChange(e, index)}                                 ripple={false}                                 className="hover:before:opacity-0"                                 containerProps={{                                     className: "p-0",                                 }}                             />                         </ListItemPrefix>                         <Typography color="blue-gray" className="font-medium">                                 {item.value}                         </Typography>                                          </ListItem>                         )                 })}

I have the same issue and this solution (Solution by Roza) works for me but you can't change the value by changing setState of the value

I have the same issue and this solution (Solution by Roza) works for me but you can't change the value by changing setState of the value

sure, but the component would not be controlled

Guys I've implemented this example for dynamic option and select please give it a try.
import React from "react";
import { Select, Option } from "@material-tailwind/react";

const VALUE_OPTIONS = [
  {
    value: "html",
    label: "Material Tailwind HTML",
  },
  {
    value: "react",
    label: "Material Tailwind React",
  },
  {
    value: "vue",
    label: "Material Tailwind Vue",
  },
];

const REACT_VALUE_OPTIONS = [
  {
    value: "next",
    label: "Next.JS",
  },
  {
    value: "remix",
    label: "Remix",
  },
];

export default function SelectDefault() {
  const [value, setValue] = React.useState("html");
  const [reactValue, setReactValue] = React.useState("next");

  return (

      <Select
        value={value}
        onChange={(value) => setValue(value)}
        label="Select Version"
      >
        {VALUE_OPTIONS.map(({ value, label }) => (
          <Option key={label} value={value}>
            {label}
          </Option>
        ))}
      </Select>

        {value === "react" && (
          <Select
            value={reactValue}
            onChange={(value) => setReactValue(value)}
            label="Select React Framework"
          >
            {REACT_VALUE_OPTIONS.map(({ value, label }) => (
              <Option key={label} value={value}>
                {label}
              </Option>
            ))}
          </Select>
        )}

  );
}

@kenzaflow lemme know if it's still not fixing your issue, maybe you can share your entire code with me so that I can check it.

any update?

Here is the fixed code that works fine.
 <Controller
    control={hook.control}
    name={'competency'}
    rules={{required: true}}
    render={({field, fieldState}) => (
        <Select
            value={field.value}
            onChange={(value) => field.onChange(value)}
            selected={() => {
                return field.value;
            }}
            ref={field.ref}
            error={fieldState.error ? true : false}
            label='Competency'
        >
            {hook.competencyDictionary
                .filter((item) => item.family === family_competency)
                .toArray.flatMap((item) => item.competency)
                .map((item, index) => (
                    <Option
                        key={`key-${index}`}
                        value={item.name}
                    >
                        {item.name}
                    </Option>
                ))}
        </Select>
    )}
/>

this is my current solution:
`import { uniqueId } from "lodash";
import React, { useEffect, useState } from "react";
import { Select, SelectProps } from "@material-tailwind/react";
const AsyncSelect = React.forwardRef((props: SelectProps, ref: any) => {
const [key, setKey] = useState("");
useEffect(() => setKey(uniqueId()), [props]);
return <Select key={key} ref={ref} {...props} />;
});
AsyncSelect.displayName = "AsyncSelect";
export default AsyncSelect;
`

this is my current solution:
import { uniqueId } from "lodash";
import React, { useEffect, useState } from "react";
import { Select, SelectProps } from "@material-tailwind/react";

const AsyncSelect = React.forwardRef((props: SelectProps, ref: any) => {
  const [key, setKey] = useState("");

  useEffect(() => setKey(uniqueId()), [props]);

  return <Select key={key} ref={ref} {...props} />;
});

AsyncSelect.displayName = "AsyncSelect";

export default AsyncSelect;

Thank you

We have the same issue in our app too and some of our dynamic selects work and others don't. It's so bad we have contemplated building our own select component that looks identical for now.

At the end, I also followed this path. I got rid of this library (many bugs, bad implementation of TypeScript, so forking was not an option), and we made the components from scratch, with only what was necessary.
I'm closing this because it looks like they found solutions.


Bryanbartow patch 1

Change image copy contentMode to match that of the viewToAnimateTo and viewToAnimateFrom images to fix #11

Checked, looks good, thank you for your contribution (:


Typeahead remote source not working in IIS in a web application (asp.net MVC5)

Hi all,
It seems strange but typeahead is not working if I use it in a web application (which is contained under a website).
While if I use typeahead in a website as usual is working as expected.
I guess it's because of the different path, maybe it doesn't add the "application" to the url.
Deployed here works: http://mysite:8090/
Here it doesn't: http://mysite:8090/MyWebApp
I debugged the source code but I couldn't find the part where it fails

managed to fix it....
I just add the "MyWebApp" to the ajax call, specifically to the url of the Bloodhound object:
{url: "/MyWebApp/Controller/action/?q=%QUERY" etc. etc.}
While this format "Controller/action/?q=%QUERY", as shown in the examples, doesn't really work with IIS applications


DCR: Add new BotState.delete() method

Issue
There is currently no way to delete the backing storage object for a BotState instance without having to go through the Storage provider directly.
Proposed change
I propose that we add a new BotState.delete() method which lets the developer easily delete a states backing storage object.  We should then update our samples to show this as the recommended way of handing things like end-of-conversation or turn errors.  The primary benefits of this method over the current BotState.clear() method are:

Physically removes the conversations object from storage, helping to reduce the number of old state objects being stored.
Doesn't require dev to also call BotState.saveChanges() like clear() does.

Component Impact
Just the BotState class.
Customer Impact
Describe the impact on customers
Tracking Status
Dotnet SDK

[ ] PR
[ ] Merged

Javascript SDK

[ ] PR
[ ] Merged

Java SDK

[ ] PR
[ ] Merged

Python SDK

[ ] PR
[ ] Merged

Emulator

[ ] PR
[ ] Merged

Samples

[ ] PR
[ ] Merged

Docs

[ ] PR
[ ] Merged

Tools

[ ] PR
[ ] Merged

[dcr]

So, ok, clear is going to remain and retain it's current functionality of simply removing the cached state, right? I ask because you had this bullet point to differentiate it from delete that is confusing:

Doesn't require dev to also call BotState.saveChanges() like clear() does.

To the best of my understanding of the C# code right now, clear will never ever cause anything to change even if you call saveChanges. So when I read that bullet point I'm not sure if there's still some misunderstanding of what clear currently does or if maybe it's behaving slightly differently/more correctly in JavaScript land. In .NET land it literally just constructs a new cache entry that, unless further mutated from that point, will never cause an overwrite even if a call to saveChanges was made.
So I guess I would support a delete for the main reason that you say it will wipe itself immediately which feels right, but I still wonder where that leaves clear. Should it be fixed so it clears the cache correctly or should its behavior remain as it is today which is kinda "weird"... especially in the way it was being used in the OnTurnError callback examples that prompted this discussion.

So, ok, clear is going to remain and retain it's current functionality of simply removing the cached state, right?

Yes... that's correct. The clear method will stay and retain it's current expected behavior.

To the best of my understanding of the C# code right now, clear will never ever cause anything to change even if you call saveChanges.

That's a bug. Calling clear and then saveChanges should overwrite the current state object.  @johnataylor and I both have fixes in the pipe for this.

Ok, see my comments on @johnataylor's PR  because, in its current state, I don't believe the fix achieves what you're saying here.


 Depends on #186

I like this feature, but I don't think it warrants enough support for inclusion into the main starter kit.
If people want to customize the starter kit, they're more than welcome. But I'm trying to cut down on the number of features in #main.


Compatibility for my new Michiru skin?

I know a lot of people beg for compatibility for their skins, but I'm pretty sure mine has a pretty standard eye type and placement, that currently isn't listed on the wiki. So, may I suggest compatibility for this style?

Good news! as im writing this it is on the wiki and here is your skin

Good news! as im writing this it is on the wiki and here is your skin

I think there may have been a misunderstanding here, I probably really should've clarified (or even mentioned) that i meant that the wiki (last time i checked, at least) doesn't list an eyelashes type layout for this height.
The example on the wiki was way too low on the face for my tastes, i made this skin while trying to keep this resource pack in mind but i just couldn't go out of my way to put the eyes that low, so i made it normally instead.
Compatibility would be more or less just a bonus for this skin at this point, but it'd still be greatly appreciated.
Also, i think the eyelashes may have not been very obvious due to the dark brown mask pattern on the fur around her eyes, contributing to this misunderstanding. I'm not asking for this to be changed, if i did want it changed i could just go in and do it myself, but I'm simply stating it.


"Enable linguist mode" button

Need to implement this or else @katieschmirler will cancel me.
Differences from "community mode":

[x] display text of word class abbreviations (e.g., VTA/VAI/VTI/NA/NAD, etc.) instead of emoji
[x] use linguistic labels in the paradigms
[ ] EDIT: word frequency in paradigms

Anything else @katieschmirler, @aarppe?

Sounds good. But also cancelling is bad we don't do that.

@eddieantonio What I have thought as the long term solution is allowing for an option or set of options (similar to the choice of orthography), on how the linguistic labeling is presented for a) the linguistic analysis, b) the lexical information (i.e. general word class and inflectional subcategory, so VAI-1, NA-4w), and c) the paradigm labeling.
I could see the following options below:
a. linguistic
b. plain English
c. (plain) nêhiyawêwin (this might require some further work in crk.altlabel.tsv)
The emojis could be a further (sub-)alternative (e.g. separately or for plain English and nêhiyawêwin), but could be combined with a (without emojis), b and c (with emojis):
Of course one could group some options together into modes, e.g. a community vs. academic/linguist mode, but I'm not entirely sure we'd actually need that.
A further option is interface language (English vs. nêhiyawêwina), but that can be kept separate from this issue.

I like the idea of a linguistic mode.

@eddieantonio this may be needed sooner rather than later, if the emojis are really an off-putting feature for (some) language instructors.

Okay! I put this higher priority than observed wordform ranking.

Some thoughts:
A. There could be two options for the linguistic mode in the search page.
The comparable case for the linguistic mode with 1-to-1 mapping would be (this mixes plain with linguistic labels):

VII, VAI, VTI, VTA, NA, NI, NAD, NID instead of the emojis
Keeping 'like: X' (plain English) for the inflectional subcategory
Showing the long linguistic label in the pop-up, with the inflectional subcategory code in parentheses

For mîcisow, this would be (this uses only linguistic labels):

AI
like: nipâw
3: vowel-final animate intransitive verb (VAI-1)

Though, the even more compact alternative would be
4. The precise inflectional category as is (i.e. VAI-1, etc.)
5. Long linguistic relabeling in pop-up, without the inflectional subcategory code
For mîcisow, this would be:
4. VAI-1
5. vowel-final animate intransitive verb
B. In the paradigms, depending on the mode, the pop-up contents (which we haven't yet implemented) would rotate as in the old itwêwina. Anyhow, it would make sense to use the short linguistic labels for the sake of compactness in the paradigms, with the pop-up giving the long linguistic label. I would like also showing the plain English one in the pop-ups, as in the old itwêwina (but I'm wondering whether that takes up too much space, at least on a mobile device), e.g.

@eddieantonio Though we don't have nêhiyawêwin mode yet everywhere, but isn't that a separate issue?

Indeed! nêhiyawêwin mode is #741