Add support for additional importing formats

import compareAsc from 'iso-fns/LocalDate/compareAsc'

as well as
import {compareAsc} from 'iso-fns/LocalDate'

https://github.com/microsoft/TypeScript/issues/33079#issuecomment-860721524

Partial progress on this one.
import { LocalDateFns } from 'iso-fns/LocalDate'

localDate.*() etc.

works, but not
import { compareAasc } from 'iso-fns/LocalDate/compare-asc'

@rubber-duck-software any thought on how to get this working without manually exporting every function in the exports section of package.json?


Translate content/en/docs/setup/on-premises-vm/_index.md in Japanese

ref: #10821

/lgtm

/approve


Document IP Address Overlaps in AKS Troubleshooting Documentation

We need to add documentation to the following page on how to prevent issues due to overlapping subnets
https://docs.microsoft.com/en-us/azure/aks/troubleshooting

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

ID: 55fe52d9-5526-de32-7e16-3e3207fc8aef
Version Independent ID: 28d7cd54-bc74-5a08-684d-5d64ea589750
Content: Troubleshoot common Azure Kubernetes Service problems
Content Source: articles/aks/troubleshooting.md
Service: container-service
GitHub Login: @sauryadas
Microsoft Alias: saudas

Thanks for the feedback! We are currently investigating and will update you shortly.

I am creating the content for the section and I will share a PR shortly

Thank you @izzymsft for the feedback.
We've added a task to our backlog and will prioritize accordingly.
#please-close


Queues are not started after setup

Queues are not started after the initial setup, so this is generating a bug that it can't possible to build themes.
Workaround: restart the docker container or yous-pace instance.

fixed in #103


Ruby: Fix a bug where where the top level entry did not work

The original implementation assumed that the dir would end with a '/' but sometimes it doesn't depending on the system. By using the File.join, assumption will no longer be needed.

Codecov Report

Merging #2163 into master will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master    #2163   +/-   ##
=========================================
  Coverage     86.88%   86.88%
  Complexity     5083     5083
=========================================
  Files           453      453
  Lines         20231    20231
  Branches       2163     2163
=========================================
  Hits          17577    17577
  Misses         1895     1895
  Partials        759      759

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 be08fcf...ed97f57. Read the comment docs.


Can I pretrain a 65B or 175B model use this code?

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

If you have enough GPUs, yes.


Revert "GitHub Actions: Switch to GitHub-hosted runners"

This reverts commit 55e539debf00c1c7d81145d35ceab9443f3c93e5.
The recent switch to GitHub-hosted runners introduced issues with actions/cache path handling, resulting in build failures due to inconsistent home directory depths. Reverting to self-hosted runners to restore build stability and functionality.
References:

Issue: https://github.com/actions/cache/issues/1440

Reopening the PR as there is no quick workaround for the issue. Will switch back later after configuring the self-hosted runners properly.

LGTM


Update CUDA version

@rootfs can we create a new base image with the newer cuda version?
quay.io/sustainable_computing_io/kepler_base:cuda-12.1.0-base-ubi8-bcc-0.24

close this as PR merged, feel free to reopen


version/CURRENT_VERSION: bump to 1.0.0-beta.5

@unclejack Can we avoid having to make a commit each time we need to make a release?


Use Windows CryptGenRandom function instead of RandomRange

Use Windows CryptGenRandom function instead of RandomRange on line #L567 for Windows Platforms.
If you are generating passwords faster than .5 seconds, the salt will duplicate every other round.  Hopefully nobody is generating mass password hashes from the same password.  Can't think of a use case. (I'm sure there is one).
This is only affected if you generate a hash for the same password.
for i:= 0 to 10 do
  begin
    TBCryptHash.CreateHash('password');
  end;

This will output something like :
  '$2y$10$kJgRFQ993paFLArmPE3gn.8yuUB/SRpaEw7lkJJ1oVqhWVIecI5nO'
  '$2y$10$kJgRFQ993paFLArmPE3gn.n9OJBeYd77RdOYnkdp9orILyaa5jDb6'
  '$2y$10$onWrpSgN3URAnmBJZkpqieH1QwbkDe5.RXInCYJG9MCtXL0yH6rxe'

This repo is no longer being updated.  See BCrypt in https://github.com/renegadebbs/Renegade.Hash


Removal of code that used to send link to scheduled report in email.

There is some unused code left behind from the days when we used send a link to scheduled report in an email instead of attachments.

https://github.com/ManageIQ/manageiq/blob/master/vmdb/app/controllers/report_controller/schedules.rb#L473
https://github.com/ManageIQ/manageiq/blob/master/vmdb/app/models/miq_report/notification.rb#L4
https://github.com/ManageIQ/manageiq/blob/master/vmdb/app/models/miq_report/notification.rb#L28
above parameters aren't being used.
Seems like this route is also no longer in use: https://github.com/ManageIQ/manageiq/blob/master/vmdb/config/routes.rb#L1363

@dclarizio @jonnyfiveiq wanted to check with you if we should go-ahead and take out this code that is no longer in use, we have this leftover code(technical debt) that still sets the link to be sent out in an email when a schedule report is run. This functionality was replaced by txt/csv/pdf attachments in the emails and from what we can see, not only are the links not sent out, but they wouldn't work anyway. Please advice.

@dclarizio @jonnyfiveiq Please review and respond.

I agree we should remove the obsolete code.


not deploy dubbo 2.7.14\3.0.3 into maven repo？？

[ ] I have searched the issues of this repository and believe that this is not a duplicate.
[ ] I have checked the FAQ of this repository and believe that this is not a duplicate.

Environment

Dubbo version: xxx
Operating System version: xxx
Java version: xxx

Steps to reproduce this issue

xxx
xxx
xxx

Pls. provide [GitHub address] to reproduce this issue.
Expected Result
What do you expected from the above steps？
Actual Result
What actually happens?
If there is an exception, please attach the exception trace:
Just put your stack trace here!

Already released：https://repo1.maven.org/maven2/org/apache/dubbo/dubbo/


Add DSA Questions

I want to add DSA questions like 2Sum, 3Sum , reverse linked list.

I want to add a DSA questions, please assign me this.
My DSA solution will be of: A Program to compare two strings without using library function.in c language.

I want to add DSA questions like 2Sum, 3Sum , reverse linked list.

Pls assign this issue to me.

hey, I would like to add finding middle number of a linked list in a very optimised way, can you please assign me this task under hacktoberfest-2022

I want to contribute with some of the questions which are important in prospective to improve the skills of DSA like using algorithm of "Moores Voting Algorithm" , "Dutch National glag Algorithm" etc. Which are highly involved in interviews as well.
I would be glad to be assigned with this issue.

@PriyanshuGarg26  I want to contribute some question which are very important to improve the skill of DSA like  Binary search in 2D, sorting(Selection sort, Merge sort, Bubble sort, Insertion sort etc. ) , Linked list Sorting, Linked list Palindrome, Merge Linked list  etc. These topic are very important. So  please assign this issue to me.

hey sir i want to contribute to this issue plz assign me this issue...

I want to add DSA Question
Please assign this issue to me.

Closed!


open_rasterio masked=True

Just wanted to point out the masked=True and the mask_and_scale=True options. Based on your getting started example, I figured this would be helpful.

https://corteva.github.io/rioxarray/stable/rioxarray.html#rioxarray-open-rasterio

Thanks, I will use it. I think there is a typo:
masked (bool, optional) – If True, read the mask and ~to~ set values to NaN.

Indeed - looks like the mask_and_scale docstring could be updated as well.


Fixed Mix node in Animation Tree Player

Fixed a bug introduced by myself in fixing the Animation Tree Player that causes Mix nodes to behave pretty much like blend2 nodes (The weight of each animation was normalized by the total combined weight of all animations) but this shouldn't happen because mix nodes can lead to the combined weight of all the animations to exceed 1.

Congrats for grabbing #7000 :p

@akien-mga Do I win anything? :P
So this won't make into the 2.1 release?

@m4nu3lf You win only the freedom not to see issues like #6000 and #3000...


Remove dependabot

Description
This removes the dependabot.yml as we're using renovate from now on.

Do you introduce a breaking change?

[ ] Yes
[x] No
[ ] I am unsure (no worries, we'll find out)

:tada: This PR is included in version 13.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Announcement: @haikuginger is the lead maintainer until further notice

Hi everyone who watches urllib3 issues. 👋
As you may recall from #909, @Lukasa has been the lead maintainer of urllib3 for the past year and a half. I am very grateful for Cory's commitment of time and effort, he has done an excellent job pushing urllib3 forward. As employment arrangements change and life marches on, Cory informed me that it's time for a new lead maintainer to take the torch.
New maintainer
@haikuginger will be taking responsibility as the lead maintainer and thus the direction of urllib3 moving forward.
As before, our family of contributors and secondary maintainers will continue to support our new leader as needed.
Logistics
This is our second transition, so let's make a checklist of everything that needs to happen for this to be officially complete:

[x] Announcement
[ ] Update README

@haikuginger's entry in the maintainers' list should include a note that his time is sponsored by Akamai and/or Akamai should be added to the Sponsors list

[x] Github admin
[x] PyPI admin
[x] ReadTheDocs admin
[ ] TravisCI credentials

Anything else? (Maintainers, please edit the checklist above and check it off as it's completed.)

If anyone has questions or concerns, comments here are welcome or email me. ❤

Very excited to embrace our new world with @haikuginger running the show!

Okay, first thing we do is throw out all the existing code and start over...
Kidding. I'm very excited to be taking over the leadership of urllib3, and look forward to working with the existing team to get where we're going (wherever that is).
First things first, I'll be going through existing code and issues to make sure my 10,000-foot view of the project is fully up-to-date. Once I've gotten that done, we can figure out what we need to accomplish as part of the process to get to urllib3 2.0.

@shazow, I'm not sure if Github admin has been transferred correctly - I don't have access to the Admin tab for this repo that I do for my own.

@haikuginger You're a collaborator on the repo. Is there something more aside from a permanent ownership transfer? Looking around, don't see what there is to do. We can also transfer urllib3 to an org which I think would allow for better permission handling if anything is missing.

Yeah, we discussed this when I took over: repos under user namespaces cannot have full admin privileges for anyone other than the person whose namespace they’re in.

Anyone know if it's possible to add team members to public projects on AppVeyor and TravisCI?

I've added "release process documentation" to the list of TODOs; based on a quick read, it seems like the process would be to checkout the release branch, then update the version at the top of the CHANGES file, but confirmation on that would be... good.

@haikuginger Good idea. Once upon a time, I wrote release.sh which handles the release process. I'm not sure if @Lukasa still uses it?

I do still use it!


Add zpool device parameter to installer

Update the installer to take the device ZFS should initialize as a parameter, so we don't have to worry about the chicken-and-egg problem that's coming (of needing a zpool initialized early in / before install starts getting its images and storing them in the zpool).
(#3400 talks about the reasons more fully, if you need context.)

Implemented in #3633.


Application of Design Patterns

I reviewed and identified parts of your code that can be improved by applying design patterns, such as:
Factory Method (Creational):

This pattern was chosen because it involves creating two subclasses that inherit from the superclass. The Factory Method is a creational design pattern that provides an interface for creating objects in a superclass while allowing subclasses to alter the type of objects that will be created. In this case, since we have a Conta class that has two subclasses, ContaCorrente and ContaInvestimento, it is advisable to use this design pattern.

Decorator (Structural):

The Decorator pattern is used to add functionalities to objects by placing these objects inside other objects, encapsulating these special objects with their functionalities. In this code, this design pattern can be implemented in the Conta class to add functionalities either in the short or long term. We can add more functionalities to the Conta class, such as setting transaction limits and other features.

Observer (Behavioral):

This design pattern is used when you want to notify about a change or event that happens to an object, and this notification is sent to the object that observes it. In the context of the code, we can see that the Conta class has two methods, deposita() and saca(). These methods are responsible for updating the user's account state. To obtain the account balance, there is getSaldo(), and the rest of the methods provide additional information. With the Observer design pattern, the Cliente will observe the Conta, and the former will be notified whenever a change or action occurs in the account.

(This is for a homework btw)

I appreciate the review 😅 I'm gonna take a look at your suggestions and try to implement some of these patterns. Thank you very much.
You said this is for a homework (🤣) that's very cool. I'm also studying.
Tell me... how did you find this project?


[Feature] New transform to do PII detection on code files

Search before asking

[X] I searched the issues and found no similar issues.

Component
Other
Feature
PII detection and redaction is important step while preparation of data for LLMs. The request is to build a new transform that can perform PII detection on code entities.
Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

I am willing to work on this card. Is there any deadline to work on for this card?

Thanks @SowmyaLR for your interest. Couple of weeks should be a good time frame.

@SowmyaLR We are doing a demo in two weeks where this module can be showcased, if ready. Do you think you can raise a PR in the next couple of days? Please feel free to ask for help.

@Bytes-Explorer I can raise PR by next week. Yeah had some issues and figured it out. I hope this can also go along for the demo 🤞

Awesome @SowmyaLR !
cc @shivdeep-singh-ibm As and when this PR is raised, lets fast track the review process on it.

@Bytes-Explorer @shivdeep-singh-ibm
Raised PR for this. I have added few comments in PR description. Need suggestions from people to know how to resolve that.


Fixing group functionality

Small changed to ensure that the group functionality is working. Addresses #32

Hi @chrisjsewell do you think you could give this a quick check? I have locally check that the group functionality is working, I think it was inadvertently broken in some of the changes to the input file generation for the new calculation. Thanks!


maintainer

who want to be the maintainer

I am fine with ever. @LinxuanHu

I can be the maintainer, if it's fine with you people.

Who is doing the algorithm ?

I can be the maintainer, if it's fine with you people.

sure, you can let prof tim know that

Who is doing the algorithm ?

@s4il3sh


feat(docker): setup docker container

Add configuration files for a docker container as an alternative method to locally run the project.

Codecov Report

Merging #188 into master will not impact coverage.

@@          Coverage Diff          @@
##           master   #188   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          19     19
  Lines         343    343
=====================================
  Hits          343    343

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 497732b...a527703. Read the comment docs.


Issues when porting Starling

We have been trying to build Starling using Apache Royale. Currently we have successfully released the Haxe->JS version of Starling using ActionScript @externs, but this is an attempt to move Starling out of JavaScript back to ActionScript, and to compile the full library.
With workarounds, we're at the point of resolving circular references and some other runtime issues, but we wanted to share some of the issues that occurred along the way. My apologies about making a "super issue" with multiple items.
openfl.errors.Error/flash.errors.Error
ActionScript has top-level Error, ArgumentError and other error types. OpenFL supports them using openfl.errors.Error, openfl.errors.ArgumentError and so on. We can resolve this problem by making these types global or by adding imports to code that uses them, but the compiler has a NullPointerException when using openfl.errors.Error, due to the name collision with Error in the compiler.
Workaround: Removed import openfl.errors.Error and commented code that relied on error.errorID
Custom namespace
I do not recall the error, but the starling.core.starling_internal namespace was resulting in errors in the compiler.
Workaround: Replaced starling_internal with public and commented the relevant import and use code
Importing within the same module
Here is an example of what occurred, this resulted in errors in the compiler:
package test {
    public class ClassA {
        ...
    }
}
import test.ClassA;
class ClassB {
    ...
}

Workaround: Removed the import reference (represented by import test.ClassA in the example)
||=
Use of the ||= operator resulted in errors within the compiler. For example:
target._tinted ||= _tinted;

Workaround: Converted code to avoid use of the operator:
if (!target._tinted) target._tinted = _tinted;

XML
I assume that XML (E4X) is not supported as it is not available in the browser, but a lot of ActionScript code relies on it. Are there recommended workarounds? Plans for a compiler-based workaround?
Base classes defined in an SWC
Using base extern classes as defined in an SWC was causing null exceptions in the compiler. Perhaps this is because no Google Closure JS files were generated for these types.
Workaround: Switched to pointing to @externs *.as files instead of an *.swc
super()
At runtime, issues were experienced where a class instance did not have the members of it's super-class. It was revealed that the problem was that the class did not call super() in its constructor, thus the issue. Should this be implied in the Royale output, if the constructor does not call super()?
Reproduction
The current state of the code (with workarounds) is available online.
It currently requires a development version of OpenFL for NPM:
git clone https://github.com/openfl/openfl
cd openfl
npm install
npm run build -s
npm link

Then the remaining source files are all bundled in a test repository (where we can edit Starling's core files, etc)
git clone https://github.com/jgranick/StarlingAS3Test
cd StarlingAS3Test
npm install
npm link openfl
npm start -s

Regarding super(), the class had none:
        public function Demo()
        {
            if (stage) start();
            else addEventListener(Event.ADDED_TO_STAGE, onAddedToStage);
        }

Upon inspection, it appears that the prototype chain is properly set up, the instance just hasn't run the parent constructor, so initialization has not occurred. Perhaps this is an expected behavior? It's tricky for us because Sprite in Flash Player doesn't require super()

What does the output look like?  In the test case for #234, I now have:
public class App extends Sprite {
   public function App()
   {
   }
}

resulting in:
/**
 * @constructor
 * @extends openfl.display.Sprite
*/
App = function() {
   App.base(this, 'constructor')
}

The "App.base" is the Google Closure Library equivalent of super() and should run the constructor function of the base class.  But if your base class is "external" then maybe the way Closure's "base" call works won't find the base class constructor.

Actually, in one test where I've tried to reproduce it, I am getting the same output with and without super(), so perhaps there's a chance that this was an issue with 0.9.2 that is resolved in 0.9.3, or it's more difficult to reproduce.

Post at least a constructors of the JS for the base class and extended class.  I can then step through it and see if the "base" call should work or not.

I just tested and JS does not support it. You get an "Unexpected token =" error.
We probably need to output LEFTOPERAND = LEFTOPERAND || RIGHTOPERAND instead of LEFTOPERAND ||= RIGHTOPERAND.

I've opened new issues with more specific error output and test cases. Thanks :smile:


Restore save/load ndarray to 1.4.1

Description
This PR restores the NDArray::Save/Load functions to 1.4.1 for keeping backward compatibility for saving/loading zero-size tensors. The issue was reported in https://github.com/apache/incubator-mxnet/issues/14954#issuecomment-492867737 by @DickJC123.
This PR depends on https://github.com/apache/incubator-mxnet/pull/15063. I will rebase this PR after https://github.com/apache/incubator-mxnet/pull/15063 is merged.
@DickJC123 Since we are not going to have the NumPy shape semantics in the next release, I simply reverted the changes for serialization functions introduced by https://github.com/apache/incubator-mxnet/pull/14661. After careful thinking, I find that it's required to depend on the compatibility mode to save/load ndarrays in legacy/numpy shape semantics (we will also need a magic version number to guard this when loading). We will deal with it after introducing NumPy operators. Right now, I added CHECK in save/load functions indicating that numpy shape semantics cannot be turned on.
Checklist
Essentials
Please feel free to remove inapplicable items for your PR.

[ ] The PR title starts with [MXNET-$JIRA_ID], where $JIRA_ID refers to the relevant JIRA issue created (except PRs with tiny changes)
[x] Changes are complete (i.e. I finished coding on this PR)
[x] All changes have test coverage:
Unit tests are added for small changes to verify correctness (e.g. adding a new operator)
Nightly tests are added for complicated/long-running ones (e.g. changing distributed kvstore)
Build tests will be added for build configuration changes (e.g. adding a new build option with NCCL)
[ ] Code is well-documented:
For user-facing API changes, API doc string has been updated.
For new C++ functions in header files, their functionalities and arguments are documented.
For new examples, README.md is added to explain the what the example does, the source of the dataset, expected performance on test set and reference to the original paper if applicable
Check the API doc at http://mxnet-ci-doc.s3-accelerate.dualstack.amazonaws.com/PR-$PR_ID/$BUILD_ID/index.html
[ ] To the my best knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

We have a backwards compatibility test running constantly. Could you check why it hasnt caught that?

@marcoabreu This is specifically about serializing/deserializing zero-size tensors, which are the kind of tensor not supported by any operators in MXNet. For this reason, there were no such test cases in MXNet before, but sockeye has a unit test covering this case. I added a similar test in MXNet to exclude possible incompatible changes in the future. Thanks.


Compiling issue

Thanks for the great library. But i had some issue when compiling your lib. The error is: /Source/Testapp/Pods/DLCMobilePlayer/DLCMobilePlayer/Classes/DLCBaseVideoView+Snapshot.m:10:9: 'MobileVLCKit/MobileVLCKit.h' file not found
Pls. help to fix this. Thanks

Hi @HTKT,  thank you for your feedback. I have released a pre-release version of the framework to solve this problem temporarily. You can see it (https://github.com/dklinzh/DLCMobilePlayer/releases/tag/0.3.6).

The issue is still persistent.

File not Found swift 3.0
i installled player using cocoapods & get issue


Performance gap compared with the official TensorFlow implementation

Hi,
Thanks for the great repo!
I saw that you mentioned "I have trained the 256px model on FFHQ 550k iterations. I got FID about 4.5. Maybe data preprocessing, resolution, training loop could made this difference, but currently I don't know the exact reason of FID differences."
May I ask what's the performance of the original TensorFlow repo with the same training setting? From their paper and repo, I only found the FID for 1024x1024 resolution. And I haven't used TensorFlow for many years...
Thank you in advance!

You can get 3.81 FID for ffhq at 256px. (from https://arxiv.org/abs/2006.06676)

You can get 3.81 FID for ffhq at 256px. (from https://arxiv.org/abs/2006.06676)

Yes, but I found in the tensorflow implementation, there are implementation bugs on compute the FID. They compute FID between 50k generated images at 256256 and 50k ground truth images at 10241024, which is significant lower than compute them all on 256256. I suggest to use the pytorch-fid(https://github.com/mseitzer/pytorch-fid) on both 50k 256256 images to get the correct FID score.

You can get 3.81 FID for ffhq at 256px. (from https://arxiv.org/abs/2006.06676)

Yes, but I found in the tensorflow implementation, there are implementation bugs on compute the FID. They compute FID between 50k generated images at 256x256 and 50k ground truth images at 1024x1024, which is significant lower than compute them all on 256x256. I suggest to use the pytorch-fid(https://github.com/mseitzer/pytorch-fid) on both 50k 256x256 images to get the correct FID score.

Do you know how to evaluate this repo? I can't find the test code.

You can get 3.81 FID for ffhq at 256px. (from https://arxiv.org/abs/2006.06676)

Yes, but I found in the tensorflow implementation, there are implementation bugs on compute the FID. They compute FID between 50k generated images at 256x256 and 50k ground truth images at 1024x1024, which is significant lower than compute them all on 256x256. I suggest to use the pytorch-fid(https://github.com/mseitzer/pytorch-fid) on both 50k 256x256 images to get the correct FID score.

Do you know how to evaluate this repo? I can't find the test code.

just use pytorch-fid(https://github.com/mseitzer/pytorch-fid)


new cuttlebelle static site does not compile as demo

hi @dominikwilkowski :
content is not shown. seem broken.
win10 + node 8, run all npm commands including install. server opens up - and the html is not at all close.
update: do you have anything in there that is mac\linux specific - in most cases that is the issue.

hi @orenmizr
I can't reproduce. Can you tell me more what happens? What node version you're using etc.
$ cd staystatic/cuttlebelle
$ npm install
><EMAIL_ADDRESS>install /Users/dominikwilkowski/Sites/staystatic/cuttlebelle/node_modules/fsevents
> node install

[fsevents] Success: "/Users/dominikwilkowski/Sites/staystatic/cuttlebelle/node_modules/fsevents/lib/binding/Release/node-v57-darwin-x64/fse.node" already installed
Pass --update-binary to reinstall or --build-from-source to recompile

><EMAIL_ADDRESS>install /Users/dominikwilkowski/Sites/staystatic/cuttlebelle/node_modules/uws
> node-gyp rebuild > build_log.txt 2>&1 || exit 0

npm WARN cuttlebelle-staystatic@ No repository field.
npm WARN cuttlebelle-staystatic@ license should be a valid SPDX license expression

added 578 packages in 16.457s
$ npm start

> cuttlebelle-staystatic@ start /Users/dominikwilkowski/Sites/staystatic/cuttlebelle
> cuttlebelle

 🐙           Cuttlebelle v1.0.0-alpha.57
 🔔  INFO:    Generating pages
 🚀           Successfully built 5 pages to site/ in 0.643s

$

there are no errors. i get the same success alert.
but the result is this (i removed links section while debugging)

I'm sorry; this must be frustrating.
I still can't reproduce this so to help me find the issue can you please answer some of the questions below:

What os are you using
What node version
Can you past in your ci output here after running npm start
Can you add a zip of your site/ folder please?

Thank you

ndoe v8.11.1 + npm 5.6.0 + cuttlebelle 57 on a windows 10 machine

cloned staystatic
cd cuttlebelle
npm install
npm run build OR npm start

> cuttlebelle-staystatic@ start C:\Git\staystatic\cuttlebelle
> cuttlebelle

 🐙           Cuttlebelle v1.0.0-alpha.57
 🔔  INFO:    Generating pages
 🚀           Successfully built 5 pages to site/ in 0.534s

same result as before

The zip doesn't work. Can you send it to me<EMAIL_ADDRESS>Thanks

still not working. what operating system are you on ?

Sorry I can't reproduce at all.  Anyone else able to reproduce?

moved to cuttlebelle/cuttlebelle#33


Fix the CAS with HIP and NVIDIA backends.

Also include the CAS third party tool when building only HIP with CUDA backend.
When creating the spack package for Ginkgo which support HIP, I found out that we have an issue with the CAS dependency when only building HIP on an NVIDIA machine. Indeed, the CAS in required in hip/CMakeLists.txt, but in third_party/CMakeLists.txt we only include the CAS third party tool when building CUDA. This fixes that issue.
Building Ginkgo on a CUDA platform with HIP works when also building the CUDA backend (this is the case by default since we automatically detect the CUDA installation). Only in spack this is set the CUDA backend to OFF whenever a dependency to CUDA is not explicitly stated.

On a similar note, here is the spack package update for Ginkgo:
https://github.com/spack/spack/pull/17413


Can't start simple service stack

Unable to start a simple service stack on freshly installed Rancher (v0.31.0) over two RancherOS hosts (phycial)
Stack file (docker-compose-rancher.yml(:
webdis:
  image: 'anapsix/webdis'
  ports:
   - '7379:7379'
  links:
   - 'redis'
redis:
  image: 'anapsix/redis:latest'

Errors starting stack:
11:56 $ rancher-compose -f docker-compose-rancher.yml up
INFO[0000] Creating environment docker-webdis
INFO[0000] [0/2] [redis]: Starting
INFO[0000] Creating service redis
INFO[0007] [1/2] [redis]: Started
INFO[0007] [1/2] [webdis]: Starting
INFO[0007] Creating service webdis
ERRO[0007] Failed to start webdis : Bad response from [http://nick:8080/v1/services/1s14/?action=setservicelinks], statusCode [422]. Status [422 status code 422]. Body: [{"id":"98047026-8d1b-4494-9fa8-d6b5927da69d","type":"error","links":{},"actions":{},"status":422,"code":"MissingRequired","message":null,"detail":null,"fieldName":"serviceId"}]
ERRO[0007] Failed to start: webdis : Bad response from [http://nick:8080/v1/services/1s14/?action=setservicelinks], statusCode [422]. Status [422 status code 422]. Body: [{"id":"98047026-8d1b-4494-9fa8-d6b5927da69d","type":"error","links":{},"actions":{},"status":422,"code":"MissingRequired","message":null,"detail":null,"fieldName":"serviceId"}]
FATA[0007] Bad response from [http://nick:8080/v1/services/1s14/?action=setservicelinks], statusCode [422]. Status [422 status code 422]. Body: [{"id":"98047026-8d1b-4494-9fa8-d6b5927da69d","type":"error","links":{},"actions":{},"status":422,"code":"MissingRequired","message":null,"detail":null,"fieldName":"serviceId"}]

docker-compose.yml
webdis:
  image: 'anapsix/webdis'
  ports:
   - '7379:7379'
  links:
   - 'redis'
redis:
  image: 'anapsix/redis:latest'

rancher/agent logs from host1 (nick)
udp      17 29 src=matt_ip dst=nick_ip sport=4500 dport=4500 [UNREPLIED] src=<IP_ADDRESS> dst=matt_ip sport=4500 dport=4500 mark=0 use=1

last message is repeated over and over again..

rancher/agent logs from host2 (matt):
time="2015-08-03T15:55:33Z" level="info" msg="Processing event: &docker.APIEvents{Status:\"start\", ID:\"20acd79d2358e5a357ea935dccf86894d2159ee917f35e72dd78b7313f5facef\", From:\"anapsix/redis:latest\", Time:1438617333}"
time="2015-08-03T15:55:33Z" level="info" msg="Assigning IP [<IP_ADDRESS>/16], ContainerId [20acd79d2358e5a357ea935dccf86894d2159ee917f35e72dd78b7313f5facef], Pid [26633]"
time="2015-08-03T15:55:33Z" level="info" msg="Processing event: &docker.APIEvents{Status:\"start\", ID:\"20acd79d2358e5a357ea935dccf86894d2159ee917f35e72dd78b7313f5facef\", From:\"-simulated-\", Time:0}"
time="2015-08-03T15:55:33Z" level="info" msg="Container locked. Can't run StartHandler. ID: [20acd79d2358e5a357ea935dccf86894d2159ee917f35e72dd78b7313f5facef]"
udp      17 29 src=<IP_ADDRESS> dst=nick_ip sport=4500 dport=4500 [UNREPLIED] src=nick_ip1 dst=matt_ip sport=4500 dport=4500 mark=0 use=1

last message is repeated over and over again..

The Rancher WebUI shows one service/container in the stack running and another not..
I'm able to start it from WebUI, but webdis container is not only unable to ping linked redis container (as per #1608), but now it's unable to even resolve the hostname:
/ # [rancher@nick ~]$ docker exec -it f12 ping redis
ping: bad address 'redis'

What version of rancher-compose are you using? Can you do a rancher-compose -v?
I know that you've upgrade to v0.31.0 and rancher-compose also needs to be upgrade to v0.2.5 in order for rancher-compose to work with v0.31.0.

$ rancher-compose -v
rancher-compose version v0.1.3

You'll need to download a new version of rancher-compose from the WebUI of v0.31.0.
The WebUI will always link to the compatible rancher-compose.

...
Ah.. I see I was running the old version after all..
The new version got downloaded as rancher-compose-linux-amd64 (1).tar.gz, which is why I didn't notice, d-oh!
Now I'm able to create my stack.
However:

latest rancher-compose still does not delete the stack after stopping and removing all services and containers
No cross-host networking still, cannot ping redis from webdis container

rancher-compose does not the ability to delete the stack. Currently, it only supports the ability to stop and remove the services. This is a good enhancement request and I've created  https://github.com/rancher/rancher/issues/1723.


Fix k8s integration tests

What changes were proposed in this pull request?

Enable spark ui explicitly for the in-process submit test case
Fixed some broken assertions in integration tests
Fixed a scalastyle error in SparkDockerImageBuilder.scala
Log into target/integration-tests.log like other modules

How was this patch tested?
Run the k8s integration tests manually. Before the patch the integration tests would fail even before the first case is executed. Now it finishes successfully with:
Run starting. Expected test count is: 4
KubernetesSuite:
- Run a simple example
- Run using spark-submit
- Run using spark-submit with the examples jar on the docker image
- Run with custom labels
Run completed in 1 minute, 58 seconds.
Total number of tests run: 4
Suites: completed 2, aborted 0
Tests: succeeded 4, failed 0, canceled 0, ignored 0, pending 0
All tests passed.

ping @mccheah


Fix the bug caused when no type is specified with a non-string default

issue 12
desired behavior is to simply use the default when no value is
provided, else just pass the usual string.
Instead, the default gets cast to a string.
this has been fixed

pretty satisfied with this, nice and simple.


resource-metering: add some metrics

Signed-off-by: Zhenchi<EMAIL_ADDRESS>What problem does this PR solve?
Add some metrics
Release note
none

cc @mornyx @breeswish @crazycs520

/merge

/merge

/merge


[google_sign_in_android] Corrects typo in logs

Corrects minor typo in logs printed by plugin.
Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the relevant style guides and ran the auto-formatter. (Unlike the flutter/flutter repo, the flutter/plugins repo does use dart format.)
[x] I signed the CLA.
[x] The title of the PR starts with the name of the plugin surrounded by square brackets, e.g. [shared_preferences]
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated pubspec.yaml with an appropriate new version according to the pub versioning philosophy, or this PR is exempt from version changes.
[x] I updated CHANGELOG.md to add a description of the change, following repository CHANGELOG style.
[ ] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is test-exempt.
[x] All existing and new tests are passing.

We could test this.
More importantly, shouldn't we not be printing those logs anyway?
https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo#only-log-actionable-messages-to-the-console
It could be made more helpful (e.g. explaining what line of code is wrong somehow), which would make it more actionable, in which case it might be more helpful.

We could test this.
More importantly, shouldn't we not be printing those logs anyway? https://github.com/flutter/flutter/wiki/Style-guide-for-Flutter-repo#only-log-actionable-messages-to-the-console It could be made more helpful (e.g. explaining what line of code is wrong somehow), which would make it more actionable, in which case it might be more helpful.

We should keep the first one because many users probably still use clientId field to provide serverClientId (it was the old behavior before 6.0.0) and this warning is fixable.
The other should be documented in the readme of google_sign_in and not be a warning. Usage of both clientId and serverClientId is the correct way for an iOS app and will not break anything for Android, it's just not needed/used for Android.

test-exempt: based on discussions on discord, the cost of testing this outweighs the value of avoiding regressions in this code.


Please support domain matching in the CORS config

Description:
The envoy.cors filter injects CORS headers. Currently the outgoing Access-Control-Allow-Origin header is set from a hardcoded set of domains in the Envoy config, so you must know the string-exact name of each domain that will be making requests to the service.
It'd be nice if Envoy could support matching (regex, wildcard, or whatever) on the incoming Origin header. If a match is found, then the outgoing Access-Control-Allow-Origin would be set to the origin as provided by the client.
This would let CORS be useful for sites on dynamically-generated domain names, for example when using a temporary website instance allocated per Github PR.
Relevant Links:

Setting Access-Control-Allow-Origin: * has security implications, so we'd like to avoid it.
Example nginx config for CORS with dynamic origins

SGTM if anyone would like to work on this.

@codesuki in case he's interested :-)

I am down for it. This is a feature I wanted to implement in the beginning. But the earliest I could start to work on it is middle to end of March. So if nobody picks it up until then, I will.


Show distinct output of root and child iteration in test

This adds a test that shows how a root and a child iteration are represented on JSONAPI level.

Codecov Report

Merging #2283 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #2283   +/-   ##
=======================================
  Coverage   69.52%   69.52%
=======================================
  Files         176      176
  Lines       16670    16670
=======================================
  Hits        11589    11589
  Misses       3957     3957
  Partials     1124     1124

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 a8fab53...532e121. Read the comment docs.


Storing age in FriendlyLink may be a feature flaw

Currently, age of the person is stored in FriendlyLink.
This makes it very troublesome for users, since age need to be updated yearly
Let's keep the date of birth of each person instead of their age.

We can just use year of birth

We don't check how old the elderly is (Feature flaw) -- add to documentation

Resolved by #158


Project badging application

@Kingscliq

Hi @kaxada  we need apis for this forms cc: @Ruth-ikegah

@IsraelChidera let me work on the API since the assigned person is delaying

Hi @kaxada , are the apis ready? Where can I get the documentation?

Hi @adeyinkaoresanya , this is long overdue. You might want to see this


Fix allow_failure

Critical Changes
Changes

allow_failure was broken. It now works. Handy fordx tasks that call sfdx commands that are likely to fail when repeated, like PermissionSetAssignments.

Issues Closed

This works with ignore instead of allow. Oops.


Mobile (view only) version

After testing the app with friends, I realized many people show each other their degree plans on their phones whether in googles docs or in a spreadsheet. Students should be able to show their SlugPath plan to each other on mobile as well.
Todo:
If app.slugpath.com is opened on a mobile phone, remove the search component and make the Planner() view only. Allow students to switch tabs. The main focus is that the plan should be easily viewable on mobile.

If possible would be great to just think through support for half screen and tablet sizing at the same time. I think half screen is essential to usability of the website.


Long term post storage

Need to decide on permanent blog storage.

Added mySql database for post storage, including query of top 5 on page load 09e7a70489c91d8f490cf16e9e125f58e35c6395


trouble with host xxx.yyy.zzz.fr in domain yyy.zzz.fr

Hi,
I'm trying to generate a certificate for a host xxx.yyy.zzz.fr.
When
python /opt/acme-tiny/acme_tiny.py --account-key /etc/ssl/certs/account.key --csr /etc/ssl/certs/domain.csr --acme-dir /var/www/html/.well-known/acme-challenge/

I end up with:
Parsing account key...
Parsing CSR...
('common_name=', u'xxx.yyy.zzz.fr')
('san=', u'DNS:yyy.zzz.fr')
('san=', u'DNS:xxx.yyy.zzz.fr')
Registering account...
Already registered!
('domain=', u'yyy.zzz.fr')
Verifying yyy.zzz.fr...

which is not what I want ...
and than it crash complaining about http://yyy.zzz.fr/...

Your CSR file has DNS:yyy.zzz.fr in it, so you need to make another CSR file that doesn't have that in it.
https://github.com/diafygi/acme-tiny#step-2-create-a-certificate-signing-request-csr-for-your-domains


OWLS-69320: Automatically generate JSON schema from the model

This change adds two new modules to the build - one is a schema generator, with annotations that can be applied to the model (the main reason I could not combined them), and one is a maven plugin that is run during the model build. When the build completes, the generated schema can be found under models/target/classes/schema.
We might consider merging the model module into the operator module, as it contains a fair amount of the operator logic, and there doesn't appear to be any value in keeping them separate now.

Um.... the descriptions aren't showing up in the schema. Don't merge this yet.

Looks good now; check it out!

Sounds good. Can you create a JIRA to track this?

On Nov 7, 2018, at 8:25 AM, Ryan Eberhard<EMAIL_ADDRESS>wrote:
@russgold https://github.com/russgold This looks great. I'm going to merge it. One question / item to track. It's beta in K8s 1.12, but eventually we will be able to attach the schema to the CRD so that the Kubernetes API server can do validation. That requires OpenAPI v3 schema with some additional restrictions, documented here: https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/#validation https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/#validation.
We will, at some point, want to generate both a standalone JSON schema and also the content for the CRD validation section.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/oracle/weblogic-kubernetes-operator/pull/482#issuecomment-436621439, or mute the thread https://github.com/notifications/unsubscribe-auth/ACL7YAeSYnRQhRGzTbvZUF6JIAVbjenAks5ust9HgaJpZM4YRmXE.


Improve detection architecture.

Should fire when quick finger movement. (e.g. Space + B, in that case UITouch.tapCount of touchesEnd method arg is still 1. not 0 even if slide.)

speak option should've been included


iss-8

lib/entities/media_player.ts

attributes has invalid type definition!
https://github.com/ZsakaiBalint/integration-node-library/blob/7a95faa91efef5630752f560ecd552b762b53e8c/lib/entities/media_player.ts#L205
Entity attributes are not a string -> string map / record. Only the key is a string and the value can be number, string, boolean, array, … See also constructor documentation in .js file with a link to the documentation.

This should have been caught in the test/media_player.test.ts unit test: https://github.com/ZsakaiBalint/integration-node-library/commit/005fd91ccdaa1c666855e00c87181fa68728b322#diff-7e75fcd83b8107ea8ac224f1397ffb951709cea32d8e1c8c892ce0b9da66281cR49
- shuffle was defined as boolean, but was changed into a string!
- volume was defined as a number, but was changed into a string!

In climate.ts, cover.ts, light.ts, remote.ts, sensor.ts, switch.ts this was done correctly with
"attributes?: Map<string, any> | Record<string, any>;"


Adding FPGA tutorial 'zero_copy_data_transfer' (after beta10)

Signed-off-by: tyoungsc<EMAIL_ADDRESS>Description
Adding new FPGA tutorial on how to use restricted USM to do zero-copy data transfer between the CPU and FPGA.
Type of change

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

How Has This Been Tested?

[X] Command Line
[X] Visual Studio

Testing pipeline
Expected to fail:

INTEL/intel namespace/filename incompatibility of beta09/beta10
Linux OS support - Ubuntu 20.4 not yet supported for FPGA

@pmpeter1 could you please review my changes and let me know if things look good ?

@pmpeter1  same thing here. Made those changes and added a comment about sycl::free being used.

The test failures are expected due to beta09/10 syntax differences


[vcpkg] Revert #9862 changes to fix crt check

Related: #10560 #10485 #10486 #10285.

@ras0219-msft  @dan-shaw  Please review and merge this PR first.


Free RTL simulation tools for students

Hi there,
Recently, I have build support for a CVA6 core for 4 bitmanip subgroups and wanted to test them for validity. Coming to this point, I have found out that there is not actually any student licences that let full-stack RTL simulation. However, still want to believe to the good news and want to clarify :) Can I run this riscv-dv using some student licence from third-party RTL simulators? Or is there any other similar opportunity for System Verilog verification?
Best regards,

Hi @NazerkeT, if I understand you correctly, yes - to run the SystemVerilog riscv-dv generator you will need a license for any of the simulators that we support (VCS, IUS, Questa, DSim, Xcelium, or Riviera).

Is there any option at least just to create a torture assembly test without any simulation?

@omerguzelelectronicguy So far nothing that I found or am aware of :(
But maybe in the last 2 years, there have been some advances in it, you might wanna search a bit more I guess 😅
Best wishes,


Bug: Dockerfile has RUN if statement that refers to SAM_BUILD_MODE = debug twice

Expected Behaviour
Dockerfile in PowertoolsLoggingExample .NET solution has the following lines:
# Build and Copy artifacts depending on build mode. RUN mkdir -p build_artifacts RUN if [ "$SAM_BUILD_MODE" = "debug" ]; then dotnet lambda package --configuration Debug; else dotnet lambda package --configuration Release; fi RUN if [ "$SAM_BUILD_MODE" = "debug" ]; then cp -r /build/bin/Debug/net6.0/publish/* /build/build_artifacts; else cp -r /build/bin/Release/net6.0/publish/* /build/build_artifacts; fi
I think it should be (possibly) SAM_BUILD_MODE = "release" for the second if statement?
Current Behaviour
# Build and Copy artifacts depending on build mode. RUN mkdir -p build_artifacts RUN if [ "$SAM_BUILD_MODE" = "debug" ]; then dotnet lambda package --configuration Debug; else dotnet lambda package --configuration Release; fi RUN if [ "$SAM_BUILD_MODE" = "debug" ]; then cp -r /build/bin/Debug/net6.0/publish/* /build/build_artifacts; else cp -r /build/bin/Release/net6.0/publish/* /build/build_artifacts; fi
Code snippet
`# Build and Copy artifacts depending on build mode.
RUN mkdir -p build_artifacts
RUN if [ "$SAM_BUILD_MODE" = "debug" ]; then dotnet lambda package --configuration Debug; else dotnet lambda package --configuration Release; fi
RUN if [ "$SAM_BUILD_MODE" = "debug" ]; then cp -r /build/bin/Debug/net6.0/publish/* /build/build_artifacts; else cp -r /build/bin/Release/net6.0/publish/* /build/build_artifacts; fi
`

Possible Solution
# Build and Copy artifacts depending on build mode. RUN mkdir -p build_artifacts RUN if [ "$SAM_BUILD_MODE" = "debug" ]; then dotnet lambda package --configuration Debug; else dotnet lambda package --configuration Release; fi RUN if [ "$SAM_BUILD_MODE" = "release" ]; then cp -r /build/bin/Debug/net6.0/publish/* /build/build_artifacts; else cp -r /build/bin/Release/net6.0/publish/* /build/build_artifacts; fi
Steps to Reproduce

Clone the current repository
Open the PowertoolsLoggingExample solution in Visual Studio
Examine the Dockerfile

AWS Lambda Powertools for .NET version
latest
AWS Lambda function runtime
dotnet6
Debugging logs
No response

Hello @kknd4eva thank you for raising the first issue for this repo since it went public! 😄
Debug is listed twice because we are using 2 sepeate conditional statements using parameter you set in the template-docker.yaml

to determine what build configuration you want to execute
where to copy the output from.

      DockerBuildArgs:
        SAM_BUILD_MODE: run # debug or run

If you set this flag to anything but debug the project will be built using Release configuration.

Got it! Thank you, sorry for raising a red herring. I've also posted on LinkedIn to share that theses tools are out  (I think you liked my post?)- VERY exciting for the .NET world. I'm currently testing out the samples and will do a write up. :).

Awesome! Thank you! Please let us know what you think. Any feedback welcome!


NFC Reader

Hello
I've got a spare one of these RFID readers. Do you know if this will work with the esp?
https://thepihut.com/products/rfid-breakout-board#product-reviews
TIA!

Is this a general question, or should this be related to this project?

Hello
I've got a spare one of these RFID readers. Do you know if this will work with the esp?
https://thepihut.com/products/rfid-breakout-board#product-reviews
TIA!

I assume you want to use this project for it. In that case it won't work. You need a PN532 based NFC reader which is 13.5h MHz. Your board is a 125kHz RFID reader.

Thanks for the clarification.
On another hardware question have you seen a poe hardware esp32 board you would recommend?
Would something like this work and the code compile on?
https://www.mouser.co.uk/ProductDetail/Olimex-Ltd/ESP32-POE-ISO?qs=unwgFEO1A6vVfCRbLeeCIw%3D%3D

Ahh ok, fortunately, it seems will be soon :)
I currently use a loxone system to control my FUHR multitronic 881. Looking for the neatest and most responsive way to integrate homekey into it. Thanks for your code anyway I will test the performance of the solution and hopefully a hardwired option will come that I can integrate directly without MQTT

All credits go to @rednblkx not me. Good luck!

Hi @s31teg
Appreciate the interest on this project!
Don't have much knowledge about PoE but i know it is a hardware-level functionality so it will work regardless of the software, Ethernet on the other hand, is what is not yet implemented in HomeSpan so you would still need to use WiFi, at least for the moment.
The code should compile and run just fine on the aforementioned board and a "hardwired option" is in the works and will come out along with the web interface as that will make the most sense, no ETA on that unfortunately.


[1.13] Fix prometheus task metrics in bridged and virtual IP mode

High-level description
Backports #5141
Corresponding DC/OS tickets (obligatory)
These DC/OS JIRA ticket(s) must be updated (ideally closed) in the moment this PR lands:

DCOS_OSS-5022 Prometheus task metrics don't work in bridge or virtual IP mode

Related tickets (optional)
Other tickets related to this change:

DCOS_OSS- Foo the Bar so it stops Bazzing.

Checklist for all PRs

[x] Added a comprehensible changelog entry to CHANGES.md or explain why this is not a user-facing change: there is already a changelog entry
[x] Included a test which will fail if code is reverted but test is not. If there is no test please explain here:
[x] Read the DC/OS contributing guidelines
[x] Followed relevant code rules Rules for Packages and Systemd

Checklist for component/package updates:
If you are changing components or packages in DC/OS (e.g. you are bumping the sha or ref of anything underneath packages), then in addition to the above please also include:

[x] Change log from the last version integrated (this should be a link to commits for easy verification and review): example
[x] Test Results: link to CI job test results for component
[x] Code Coverage (if available): link to code coverage report

@mesosphere-mergebot label ready for review

@branden and @gracedo , would you kindly review this PR?


Restore missing mixed-mode debugging option

Fixes #6712
We had a remaining hardcoded v160 install path for the VCDebugLauncher vsix that was causing files to be installed to the wrong location. These files were xaml files that add UI to Visual Studio, and our targets file was trying to include these files from the v170 location, if they exist.
The problem is that they never exist because they go to the wrong place, which means the mixed mode debugging option is always missing from VS2022. This fixes that problem.
Unfortunately, this problem doesn't repro when building locally and deploying to the exp hive, it's a "VS Setup Only" problem. So I can't really test to make sure that this works before merging in this PR. The steps to test are:

Merge in this PR
Wait for the CI build to finish from the main branch (https://devdiv.visualstudio.com/DevDiv/_build/results?buildId=7375907&view=results)
Wait for the VS insertion PR to trigger after the CI build (https://devdiv.visualstudio.com/DevDiv/_git/VS/pullrequest/454017)
Wait for the VS insertion PR to generate a VS installer
Install VS using the installer from step 4, make sure to select the python workload, then do the steps mentioned in https://github.com/microsoft/PTVS/issues/6712 to verify that the missing debugging option is now present.

There is a related problem (https://github.com/microsoft/PTVS/issues/7260) which I will be looking at next.

Tested with the installer provided in the VS insertion PR at https://devdiv.visualstudio.com/DevDiv/_git/VS/pullrequest/454017
Everything looks good:


Bump k8s dependencies to v0.26

This picks up Shutdown() which can be used to fix some of our test flakes

@howardjohn: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

lint_istio
aa8a3894fd1763e6a35f1b3db09e58e7ca9da68e
link
true
/test lint

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@howardjohn: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

lint_istio
aa8a3894fd1763e6a35f1b3db09e58e7ca9da68e
link
true
/test lint

release-test_istio
2f1692696124e0322bc12693c1a76a52f0f50dcd
link
true
/test release-test

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@howardjohn: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

release-test_istio
2f1692696124e0322bc12693c1a76a52f0f50dcd
link
true
/test release-test

gencheck_istio
2f1692696124e0322bc12693c1a76a52f0f50dcd
link
true
/test gencheck

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Clean-up Python #4815 - P1.13: Chem\Pharm2D & Chem\Pharm3D

This is the sub-PR breaking from the large PR 4815: https://github.com/rdkit/rdkit/pull/4815

Updated Changes:

[Remark]: Optimize DownsampleBoundsMatrix() in EmbedLib.py. The execution is varied depended on the input rather than consuming the worst-case scenario
[Bug]: DownsampleBoundsMatrix() in EmbedLib.py now returns the same datatype as input rather than always casting to np.float64
[New]: Drop/Remove one doctest in OrderTriangle() as the result of duplication
[New]: Function CountUpTo() use NumCombinations() one time if verbose  instead of two in the previous examples
[New]: Remove function _fact() of user in Pharm2D\Utils.py. Now we used math.comb() and math.factorial() for computation if python version is 3.8+. Otherwise, use user-defined function to speed up. The current algorithm shared high similarity to the math.comb() and is able to prevent numeric overflow. Extra documentation is included.
[New]: Function GetUniqueCombinations() is now faster. However, the acceptance is likely to be reverted if required

Thanks @IchiruTake : I will merge this after the CI builds finish.

Thanks @IchiruTake : I will merge this after the CI builds finish.

Thank you for your support. Can you help me reviewed PR #4870?


Nice2Have: Connect a bare-metal node with FPGA to the instance (for OPTiMSoC)

TODO:

[ ] - Define the scope
[ ] - Define labeling policy and desired utilization restrictions
...

@imphil is going to provide a machine, which we can use for a demo.

@imphil Any updates regarding the bare-metal node? I'm stuck

@oleg-nenashev I guess I misunderstood you there, I'm sorry. I thought you'll have a docker container or something like that for me with the jenkins slave, and I'll install that then on the machine. Were you thinking of a baremetal node with SSH access?

@imphil Yes. SSH Access is more or less secure out of the box, I would prefer to avoid dealing with JNLP encryption by now.
Docker image is not an option, because we need to connect physical interfaces like blasting and debugging cables. It can be done, but AFAIK it's pretty painful && no guarantee that drivers will operate correctly

ok, I see. I don't think SSH access will be a viable option for librecores CI in the longer term (I'll open a bug in a bit to outline what my thoughts are), let's first focus on the demo.
So what you need is:

a local user for CI with SSH access
this user must have access to the installed EDA tools

anything else?

#3. There should be JDK 7 or 8 installed on the machine.
I think that's all by now


Broken Link

Broken Link to InfoPath 2013 (32-bit and 64-bit versions)

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

ID: 7ae73873-0e39-3fab-4d9d-3129f7f32345
Version Independent ID: 3b5ba9ae-756a-149d-81e6-5eda13bf15e6
Content: Manage software download settings in Office 365
Content Source: DeployOffice/manage-software-download-settings-office-365.md
Service: o365-proplus-itpro
GitHub Login: @DHB-MSFT
Microsoft Alias: danbrown

The link is working for me. Might have been a temporary connectivity issue.


terragrunt: 0.27.1 -> 0.27.3

Motivation for this change
Removed makeWrapper as it's been unused since we stopped wrapping up TF
Added -s and -w ldflags to minify terragrunt
Before:
28 MB  terragrunt
After:
25 MB  terragrunt
Bumped to 0.27.3
Things done

[X] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[X] NixOS (x86_64)
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[X] Ensured that relevant documentation is up to date
[X] Fits CONTRIBUTING.md.

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

1 package built:

terragrunt

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

1 package built:

terragrunt

This is a semi-automatic executed nixpkgs-review which is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
If you have any questions or problems please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 110864 run on x86_64-darwin 1

1 package built:

terragrunt

This is a semi-automatic executed nixpkgs-review which is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
If you have any questions or problems please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 110864 run on x86_64-darwin 1

1 package built:

terragrunt


[Feature Request] Implement Card columns

Existing Component
Yes
Component Name
el-card
Description
bootstrap 4 have card column class: https://getbootstrap.com/docs/4.1/components/card/#card-columns
can we implement this

I think it would be better to call the component el-waterfall.
What's your opinion?


Available keys are not expired when expiration is set

Following the change introduced in this pull request: https://github.com/dv/redis-semaphore/pull/24
The semaphore keys are created with the correct TTL in redis but when using BLPOP, the redis "available key" will be deleted and will lose its ttl. When the lock is released and the token added back to the list the key will exist again without its expiration set.
I think a simple expire could be set in the signal step to fix this?

Good observation, thanks! @dany1468 fixed it, should end up in the next version.


Combine submenus with the same name

For example: Plugins › BigStitcher has two menus.

See also: https://github.com/imagej/imagej-legacy/issues/179


Bugfix: Third-party synthetic always sets totalStepCount to 1

This is the first Python code I've ever written.
I don't know how to test it.
Fixes #1

Nice catch! Looks perfect to me


Unexpected behaviour when using poisson_rng in transformed data

Summary:
When using poisson_rng inside the transformed parameter block, the results do not follow the expected Poisson distribution. The issue only seems to appear for rate values of lambda < 10, e.g. poisson_rng(9.9). The issue only appears inside the transformed data block, and using poisson_rng inside the generated quantities block is fine.
Description:
If I compile and run the Stan code shown below as a simulation (i.e. fixed_param=True) via cmdstanpy I get very different output depending on which block the function is called. When calling poisson_rng in the transformed data block, the output doesn't make sense.  I also add the python code I use and a plot demonstrating this.
Stan code: poisson.stan
data {

    real Nex;

}

transformed data {

    int N_td;

    N_td = poisson_rng(Nex);

}

generated quantities {

    int N_out_td;
    int N_gq;

    N_out_td = N_td;
    N_gq = poisson_rng(Nex);

}

python code:
import numpy as np
from scipy import stats
from matplotlib import pyplot as plt
from cmdstanpy import CmdStanModel

poisson_model = "poisson.stan"
model = CmdStanModel(stan_file=poisson_model)

data = {"Nex": 9.9}
output_N_td = []
output_N_gq = []

for _ in range(100):
    seed = np.random.randint(1, 10000)
    sim = model.sample(data=data, iter_sampling=1, chains=1, fixed_param=True, seed=seed)
    N_td = sim.stan_variable("N_out_td")[0]
    N_gq = sim.stan_variable("N_gq")[0]
    output_N_td.append(N_td)
    output_N_gq.append(N_gq)

fig, ax = plt.subplots()
max_x = 30
x = np.arange(max_x)
bins = np.linspace(0, max_x, max_x+1)-0.5
ax.hist(output_N_td, bins=bins, density=True, label="Output from transformed data", alpha=0.5)
ax.hist(output_N_gq, bins=bins, density=True, label="Output from generated quantities", alpha=0.5)
ax.scatter(x, stats.poisson(data["Nex"]).pmf(x), color="k", label="Poisson PMF")
ax.set_title("Histograms of 100 samples, Nex=9.9")
ax.legend()
fig.savefig("figures/stan_poisson_db.png")

Figure:

Additional Information:
I often use poisson_rng in the transformed data block to implement a simulation of mock data from a Poisson process.
Current Version:
INSTALLED VERSIONS
---------------------
python: 3.9.12 (main, Jun  1 2022, 11:38:51)
[GCC 7.5.0]
python-bits: 64
OS: Linux
OS-release: 5.4.0-135-generic
machine: x86_64
processor: x86_64
byteorder: little
LC_ALL: None
LANG: en_US.UTF-8
LOCALE: ('en_US', 'UTF-8')
cmdstan_folder: /home/iwsatlas1/capel/.cmdstan/cmdstan-2.31.0
cmdstan: (2, 31)
cmdstanpy: 1.1.0
pandas: 1.4.3
xarray: 2022.6.0
tqdm: 4.64.0
numpy: 1.21.5

I'm curious if others are able to reproduce this, or I am missing something. In case this is the wrong place to post the issue, I can also move it elsewhere. Thanks a lot!

I've transferred this to the Stan repository because this is most likely where it will be fixed, by editing https://github.com/stan-dev/stan/blob/develop/src/stan/services/util/create_rng.hpp

If you change out seeds, you'll see that the first value printed is always very high, but the following ones look normal.

In Stan or in C++?

Just in C++. The godbolt link above shows what I'm describing using only the boost parts we use in Stan.

Just in C++. The godbolt link above shows what I'm describing using only the boost parts we use in Stan.

Are you sure? I did not see anything peculiar?

If you vary the seed, you'll see things like:
Seed: 233

Program stdout

12
2
2

The first number printed is usually >10 regardless of seed, which is quite unlikely for poission(3).  Furthermore, if I change the code so that there is always an rng::discard(1) call, this behavior vanishes

Hmm, the behavior is even weirder, and it seems to also depend on small seeds.
The original python code used a random number between 1 and 10,000 as a seed. If you make this much bigger (I used seed = np.random.randint(10000, 10000000)) then the graphs start looking correct.

Ok, now I see it

Here's another godbolt which shows the issue more precisely:
https://godbolt.org/z/e9veEn5T5

Could you also file an issue with Boost?  I know we'll need to work around this in the short term, but it's probably something they want to know, too, as giving things small seeds by hand is a very common practice.  My guess is that it's a bad interaction between the linear congruential pRNG we use and the implementation of the Poisson RNG.

That makes sense.  For our pRNG, there's an underlying 256-bit representation of the state of the RNG.  I don't know how state is initialized from a 32-bit uint seed, but my guess is that a small number will somehow fail to get a good 256-bit initialization for the way the pRNGs are implemented for Poisson, uniform, etc.
Also, I had no idea C++11 had a lot of this implemented.  For example,
https://en.cppreference.com/w/cpp/numeric/random/poisson_distribution

Boost issue opened.
The easiest work-around for us seems to be just always discarding at least 1 draw when we create the RNG. If we want to maximize backwards compatibility of seeds, we can add 1 to the discard amount if and only if the chain ID is 0, otherwise we can just unconditionally add 1 and state in the release notes that random behavior will have changed this version for seeded runs.

@mitzimorris said this issue may have been introduced relatively recently when we changed the default ID of the first chain from 0 to 1 (to avoid having to advance when not required, but it looks like it was required!).

I think changing the default ID to 1 actually made this bug less common. Now it is only apparently in two scenarios

The user manually sets the ID to 0 and then runs something like standalone generated quantities with a poisson or uniform variable
The constructor of the model class hard-codes the chain ID to 0, so the transformed data block will see this for those distributions

Sorry, I got that backwards.  It changed from 1 to 0.

Also, thanks much for reporting, @cescalara.  We're all still marveling at how you managed to discover this bug given how subtle and seed-dependent it is.

Looking through the history, it used to discard DISCARD_STRIDE * (chain - 1), until this PR in 2017:  https://github.com/stan-dev/stan/pull/2313, when it just discarded chain as it does now. The multi-chain PR https://github.com/stan-dev/stan/pull/3033 edited this file while in progress but ultimately kept this behavior.
I believe the model class has used chain id 0 since the era of that 2017 PR, so the behavior would have been noticeable as long ago as that.

Until we get a boost bugfix, my vote would be to discard std::max(1, DISCARD_STRIDE * chain) and announce it in release notes and everywhere else. Once/if boost does a bugfix, we then switch back to what we currently have.
The only drawback (at least that I see) is backward compatibility for anyone using chain ID = 0. But anyone using that would have been using a biased rng and there is no reason to leave a bug in for backward compatiblity.

Noone should not be using ecuyer1988 RNG as it is obsolete. The replacement
boost::ecuyer1988 -> boost::random::mixmax
should solve your issues.
MIXMAX is a modern, industrial strength RNG. It has been made the default in major physics Monte-Carlo packages, GEANT4 and CMS-SW software.
https://github.com/Geant4/geant4/blob/master/source/externals/clhep/src/MixMaxRng.cc
https://github.com/cms-sw/cmssw/pull/21339/commits/e79b4675d9d9907c053e4e1a99089271ad6bdeb4
Along with sequences indistinguishable statistically from true random numbers, attention has been paid to seeding, such that the sequence
obtained from seed(1) starts out perfectly randomized and is completely independent from seed(2), seed(3) etc, including the case if you
want to test the quality by interleaving the two or more streams.

It appears MIXMAX defines discard as
void discard(boost::uint64_t nsteps) { for(boost::uint64_t j = 0; j < nsteps; ++j)  (*this)(); } ///< discard n steps, required in boost::random

We regularly call discard with an argument on the order of 2^50, so this wouldn’t exactly be a drop in replacement for our use case and would require reconsidering how we use the random number generators

@WardBrian , Most RNG work on a single trajectory, where seeding can place the state of the RNG at a "random" point. In MIXMAX,
the state of seed(k+1) is the state of seed(k) advanced by exactly 2^512 steps. Perhaps if I understood what do you accomplish with discard, I could find some solution for you.

The RNG called ecuyer1988 has the period of about 10^18

Table 32.6 in the Boost documentation claims ecuyer1988 has a period of approximately 2^61
Your comment https://github.com/boostorg/random/issues/92#issuecomment-1446210886 is correct about why we discard, it is for parallel MCMC chains. We currently create each chain with the same seed but discard (2^50 * chain_id) elements.
The behavior you're describing for MIXMAX sounds like something we could reasonably use. If I'm understanding correctly we could then seed each chain with (user_supplied_seed + chain_id)


Plumbing for HAL executable constants.

This adds executable-level specialization constants to the standard HAL API and module ABI. The HAL target backends can now produce a buffer of i32 values in the compiler and the runtime backend can receive them for handling. This initial plumbing starts in the middle and wires up the binary changes and most of the CPU backends. Future changes will need to define how the compiler side provides these values (there's some trickiness) and how each runtime backend (CUDA/Vulkan/etc) handles the values.
This is a binary format breaking change. Future changes completing this work should not require breaking changes except in CUDA where the flatbuffer fields will be replaced.
Progress on #5662.

Rebased; was holding off until I had some other breaking changes but I think this is big enough. I'll start work on #8014 to make the next break have better error messages (this PR improves executable library versioning, but the VM changes for HAL versioning are way too big to fit here).


Use read instead of readsome, which reads 0 bytes on Mac

Since readsome is non-blocking and implementation-specific, under OS X it ends up always reading 0 bytes the way it's used here. See e.g.: http://stackoverflow.com/questions/27098420/c-stdistream-readsome-doesnt-read-anything/27098504#27098504
Using read and the resulting gcount instead should work cross-platform.

Thanks.


Scenes performance: Measurement

Ref https://github.com/grafana/hyperion-planning/issues/69
Read about the details in https://docs.google.com/document/d/1AXnxWJju0xS4zZWZUlFPONPKbMpEUYDHqvx0av3SyvE/edit?usp=sharing

[x] Figure out circular dep introduced here
[x] Handle slow network scenarios, where the measurement can complete sooner than expected.
[x] Figure out how do we test SceneRenderProfiler.

📦 Published PR as canary version: 5.25.1--canary.858.11930656504.0

:sparkles: Test out this PR locally via:
npm install<EMAIL_ADDRESS>npm install<EMAIL_ADDRESS># or
yarn add<EMAIL_ADDRESS>yarn add<EMAIL_ADDRESS>

There's a lot of changes here that's just code formatting.


pillow have conflicting dependcies

The conflict is caused by:
The user requested pillow>=10.3.0
img2texture 1.0.6 depends on pillow<10 and >=9.2
To fix this you could try to:
loosen the range of package versions you've specified
remove package versions to allow pip attempt to solve the dependency conflict
i just don't know how to repair it,
I am using the 秋叶aki integration package,
I know nothing about programming,just a dynamic graphy designer.

Yeah img2texture was forked pre-10 and you usually don't say it works for a major version if you don't know. It probably still does work in 10.x. I can take a look.

Yeah img2texture was forked pre-10 and you usually don't say it works for a major version if you don't know. It probably still does work in 10.x. I can take a look.

thx :)

Yeah img2texture was forked pre-10 and you usually don't say it works for a major version if you don't know. It probably still does work in 10.x. I can take a look.

thx :)

Can you try again?

Yeah img2texture was forked pre-10 and you usually don't say it works for a major version if you don't know. It probably still does work in 10.x. I can take a look.

thx :)

Can you try again? Be sure to use --no-cache so it doesn't just use package it previously downloaded.

awesome work!!!
There are no dependency conflict errors reported anymore.
Thank you so much!


Documentation Sprint Issue

Reference this issue when making PRs for the Islandora 8 Documentation.  Let's see how long of a list of mentions we can make!
Please see this spreadsheet to sign up for anything or to add any ideas for documentation gaps that still exist.

First draft (Word doc) on creating a collection/what is a collection (will add more on what is a collection)
Islandora 8 creating a collection.docx

First draft (Word doc) on loading media
Islandora 8 loading media.docx

@alexkent0 Any chance you can export those to markdown?  I'd like to get PRs going with those.  Good stuff.

@dannylamb, can you point me in the right direction to that? I haven't done it before. Thanks!

Sprint complete!

Starting another one!

Sprints complete, closing issue 😄


Seems like an abandoned project

It seems this is an abandoned project that does not support the latest PHP version. People looking for a good replacement can try boostphp/pipe-operator.

I understand it's annoying a project gets abandoned or gets no response, but would've loved a PR or at least a mention of this project in your fork's docs.


Add support for custom root certificate

Request
Add an ability to define a custom root certificate for querying a schema from the Internet.
Motivation
In my environment, it's necessary to use a custom root certificate.
I am using Taplo as a language server with Neovim. Here is what I would get when I opened a Cargo.toml file.
An error from Neovim :LspLog
taplo:configuration_change:initialize: failed to fetch catalog error=error sending request for URL
(https://www.schemastore.org/api/json/catalog.json): error trying to connect: invalid peer certificate contents: invalid peer certificate: UnknownIssuer\n\nCaused by:
    0: error trying to connect: invalid peer certificate contents: invalid peer certificate: UnknownIssuer
    1: invalid peer certificate contents: invalid peer certificate: UnknownIssuer
     self.root=file:///...
    OR taplo:configuration_change:initialize: failed to add schemas from catalog error=error sending request for URL
(https://www.schemastore.org/api/json/catalog.json): error trying to connect: invalid peer certificate contents: invalid peer certificate: UnknownIssuer self.root=file:///...
"

I have already setup my OS to trust the custom certificate. Also it seems that this crate uses reqwest to do the query.
I believe reqwest doesn't get the list of root certificates from the OS.

Thank you for picking this up!
I believe the current trend of implementing HTTPS client is to not obey what an OS says about the root CA they trust, but let the application/user side specifically adds a custom root CA by themselves.
reqwest already supports this with add_root_certificate
I am not sure if this is the correct place for the implementation but I see in this line, this uses the default built-in root CAs which means it doesn't use the OS setting.

I see, so you essentially want to add .add_root_certificate(certificate) here:
https://github.com/tamasfe/taplo/blob/5bd96253075e42dfbebe9c441611c36412c3221a/crates/taplo-lsp/src/world.rs#L127-L129
The question is where do you get certificate. I can see at least 2 sources: a flag or an environment variable (or a flag that defaults to an environment variable). In the case of a flag, the question is how this would be made available in WorkspaceState::new(). I see at least 2 options: a function parameter or a global variable.
I think the simplest solution would be to just use an environment variable (or use a flag with a global variable). Would you be able to write a PR? If not, I could take a look this weekend, but I'll need you to be able to test it or provide instructions on how to test it.

Yes, that's what I wanted to do essentially. To confirm my understanding, does the flag you mentioned mean something that is passed from the LSP configuration? (I am thinking about nvim-lspconfig#taplo).
Environment variable could work too and I agree it would be the simplest way to do it. Though I am not really sure about the design. I guess we could do both.
On the other hand, do we need to also implement this for taplo-cli for consistency?
I am willing to help and write a PR, but I would need some pointers on where to look.

Does the flag you mentioned mean something that is passed from the LSP configuration?

Actually I had it wrong, we need 2 things:

An initialization option for taplo-lsp (which I think is called init_options in neovim): https://github.com/tamasfe/taplo/blob/5bd96253075e42dfbebe9c441611c36412c3221a/crates/taplo-lsp/src/config.rs#L14
A flag for taplo-cli: https://github.com/tamasfe/taplo/blob/5bd96253075e42dfbebe9c441611c36412c3221a/crates/taplo-cli/src/args.rs#L23

And we also need to update the reqwest::Client in taplo-cli too: https://github.com/tamasfe/taplo/blob/5bd96253075e42dfbebe9c441611c36412c3221a/crates/taplo-cli/src/lib.rs#L24-L26

I guess we could do both.

Yes, but I'm not sure it's worth the effort.

On the other hand, do we need to also implement this for taplo-cli for consistency?

Yes, I think we need to do that.

I am willing to help and write a PR, but I would need some pointers on where to look.

Great! Thanks a lot! Let's only do the environment variable. You essentially need to:

Do something like if let Ok(path) = std::env::var("TAPLO_ROOT_CERTIFICATE") to get the root certificate path
Use Certificate::from_der or Certificate::from_pem depending on the extension (see https://docs.rs/reqwest/0.11.18/reqwest/tls/struct.Certificate.html#method.from_der) to build the certificate
Update the reqwest::ClientBuilder with add_root_certificate within the if let above.


Dynamic routes don't seem to work as described in docs

Describe the bug
I tried to implement dynamic routes as described here: https://pynecone.io/docs/components/pages. It does not seem to work.
To Reproduce
Steps to reproduce the behavior:

Follow instructions at https://pynecone.io/docs/components/pages to implement dynamic routes, and it does not seem to work

Expected behavior
It should work as described.
Screenshots
base_state.py
import pynecone as pc

class BaseState(pc.State):
    user_id: int
    logged_in: bool = False

    def logout(self):
        """Log out a user."""
        self.reset()
        return pc.redirect("/")

router.py

import pynecone as pc
from .base_state import BaseState
from .post import post

app = pc.App(state=BaseState)
app.add_page(post, route="/post/[pid]")

app.compile()

post.py
import pynecone as pc
from .base_state import BaseState

class PostState(BaseState):
    @pc.var
    def post_id(self):
        return self.get_query_params().get("pid", "no pid")

def post():
    return pc.heading(PostState.post_id)

The above yields "no pid."
Specifics (please complete the following information):

Python Version: 3.10.8
Pynecone Version: 0.1.14
OS: macOS Monterey 12.6.2

Additional context
I tried this multiple times and cannot get it to work. I'm not sure if I'm doing it properly but I tried to follow the documentation exactly and even created post stuff just to mirror the example exactly, and it didn't work.

Do you also have "no pid" if you do all this logic in the same BaseState?
Might be a bug related to states subclassing.

Yeah, same issue.
I can get this to work in a very simplified situation where everything happens within the same .py file.
But in a more complex implementation, such as with a separate base_state file, I cannot get it to work.
I'm not sure what's going wrong. If I figure it out I can post here.

Today I experimented with this further. There appears to be a weird bug, at least in my testing, where dynamic variables longer than three characters don't work. For example, /post/[lug] worked but /post/[slug] didn't. I'm not sure if this is just me or if someone else can confirm.


pass manager drawer fails with import error

BUG TEMPLATE
Information

Qiskit Terra version:  0.9.0
Python version: 3.6.6
Operating system: Windows 10

What is the current behavior?
Even though I can successfully run:
import graphviz, pydot
calling the draw method on a pass manager object returns the below error:

It seems to me that the error is raised from this portion of qiskit-terra/pass_manager_visualization.py

The comment # this is raised when the dot command cannot be found, which means GraphViz isn't installed contradicts the fact that I can successfully run graph = pydot.Dot() (just like at line 96 of the visualization script), which implies that the _PROC.returncode value is setting HAS_GRAPHVIZ = False, but at this point I do not know what the expected behavior is.
Steps to reproduce the problem
On Windows 10, in an Anaconda environment with qiskit installed:
pip install pydot
conda install python-graphviz
<my_pass_manager_object>.draw()
What is the expected behavior?
No error, or instructions geared towards Windows users regarding graphviz
My understanding is that conda install python-graphviz does the same thing as conda install graphviz and then also provides an interface between the graphviz libraries and Python, which, to me, seems sufficient for running the drawer, but I could be mistaken.
Suggested solutions

Hi @joeybarreto , I agree this is a bug in that we should be returning more detailed information about what went wrong when we're unable to load graphviz.
For you're specific case, are you able to run dot -V from your shell?

Hi @kdk, thanks for your reply.  The output of dot -V for me is dot - graphviz version 2.38.0 (20140413.2041)

I think this is duplicated with #3099


[IntegTest][Bug] security failed on no-security integ-test on 2.2.0

2022-08-09 22:14:26 ERROR    | security             | with-security        | FAIL  |    1 |
FAILURE: Build failed with an exception.

* What went wrong:
Task 'integTest' not found in root project 'opensearch-security'.

* Try:
> Run gradlew tasks to get a list of available tasks.
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 13s

New failure after using the main branch for testing:
OpenJDK 64-Bit Server VM warning: Ignoring option --illegal-access=warn; support was removed in 17.0

REPRODUCE WITH: ./gradlew ':integTestRemote' --tests "org.opensearch.security.sanity.tests.SingleClusterSanityIT.testSecurityPluginInstallation" -Dtests.seed=FF26249F4BDD1D1C -Dtests.security.manager=false -Dtests.locale=ar-SY -Dtests.timezone=AET -Druntime.java=17

Suite: Test class org.opensearch.security.sanity.tests.SingleClusterSanityIT
  2> REPRODUCE WITH: ./gradlew ':integTestRemote' --tests "org.opensearch.security.sanity.tests.SingleClusterSanityIT.testSecurityPluginInstallation" -Dtests.seed=FF26249F4BDD1D1C -Dtests.security.manager=false -Dtests.locale=ar-SY -Dtests.timezone=AET -Druntime.java=17
  2> java.lang.AssertionError:
    Expected: iterable containing ["opensearch-security"]
         but: not matched: "opensearch-cross-cluster-replication"
        at __randomizedtesting.SeedInfo.seed([FF26249F4BDD1D1C:64C2A7413CF3574F]:0)
        at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:18)
        at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:6)
        at org.opensearch.security.sanity.tests.SingleClusterSanityIT.verifyPluginInstallationOnAllNodes(SingleClusterSanityIT.java:47)
        at org.opensearch.security.sanity.tests.SingleClusterSanityIT.testSecurityPluginInstallation(SingleClusterSanityIT.java:35)
  2> NOTE: leaving temporary files on disk at: /tmp/tmphm8jxvo9/security/build/testrun/integTestRemote/temp/org.opensearch.security.sanity.tests.SingleClusterSanityIT_FF26249F4BDD1D1C-001
  2> NOTE: test params are: codec=Asserting(Lucene92): {}, docValues:{}, maxPointsInLeafNode=1014, maxMBSortInHeap=5.857046469067139, sim=Asserting(RandomSimilarity(queryNorm=false): {}), locale=ar-SY, timezone=AET
  2> NOTE: Linux 5.4.204-124.362.amzn2int.x86_64 amd64/Eclipse Adoptium 17.0.3 (64-bit)/cpus=8,threads=1,free=385504728,total=536870912
  2> NOTE: All tests run in this JVM: [SingleClusterSanityIT]

1 test completed, 1 failed

=== Standard output of node `node{::integTestRemote-0}` ===

=== Standard error of node `node{::integTestRemote-0}` ===

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':integTestRemote'.
> There were failing tests. See the report at: file:///tmp/tmphm8jxvo9/security/build/reports/tests/integTestRemote/index.html

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 30s


Validate locked normals is buggy

Issue
The locked normal validation for meshes is currently not checking the full model if the transforms are in the instance as opposed to the shapes. The collector only includes the direct set members in the instance in Maya, as such if the ROOT group was in the instance, then none of its children are passed in the instance.
So history, children or parents are not included from the collect instance members.
Problem
This introduces the problem where a Validator does not have access to the full hierarchy by just using the nodes in the instance. It'll need to retrieve the history, children or parents whenever it needs to check them. Just like how maya.cmds.ls(instance, type="mesh") wouldn't actually return in the related meshes in the Validate Normals plugin.
Solution
The solution can be done in two ways:

Either the validator retrieves the data from the scene; it finds the history, parents, or children that it needs to check. For example also include: maya.cmds.listRelatives(instance, allDescendents=True, fullPath=True) or for history checks do maya.cmds.listHistory(instance).

Note: these calls to list history or children can be slow in large scenes.

Or the collector collects this additional data.

Thanks @BigRoy.
I've added you and @aardschok as collaborators to this repo so that you can tag your issues with relevant labels. It also enables you to push to this repo, but please don't do that. Only pull-requests are supposed to make modifications.

I've added you and @aardschok as collaborators to this repo so that you can tag your issues with relevant labels.

Funnily enough I'm not able to edit any labels on issues.

I think you might have to accept the invite first.

I think you might have to accept the invite first.

Perfect; that was it. I missed that. I'm able to do so now.

Closing this since plug-ins have been removed. Continuing here: https://github.com/mindbender-studio/config/issues/3


roll source_span 1.8.0-nullsafety.2

Description
Roll to source_span version 1.8.0-nullsafety.2, which works in both versions of the Dart SDK we're currently using (the one we build, and the one pinned in DEPS).
Related Issues
Fixes https://github.com/flutter/flutter/issues/66287

After this PR merges, we need to change the engine PR commit time, so that it's younger than this commit.

The "Linux web_tests` status is incorrect. Here's the latest status https://ci.chromium.org/p/flutter/builders/try/Linux web_tests/2282 (spoiler: it's green).

Landing on unfinished "Google testing" and "flutter-gold" to unblock the P0:

"Google testing" is a noop anyway because google3 doesn't use pubspecs.
"flutter-gold" will never finish because it's confused about the status of "Linux web_tests" (see https://github.com/flutter/flutter/pull/66290#issuecomment-696389653)


Performance 3799 preload of filters

https://github.com/boxture/oms/issues/3799
removed pre-load filter-collections, and added only when you click the dropdown
related action table PR - https://github.com/entdec/action_table/pull/121

Should the fix not be in satis alone? Is fetchResults called?

Should the fix not be in satis alone? Is fetchResults called?

Also has one change in action table, if we have url parameter in action table it loads on table.


move "LK " and "SK " to the end instead of removing

SK Karlsruhe becomes Karlsruhe (SK)
and
LK Karlsruhe becomes Karlsruhe (LK)
Otherwise we will have duplicate entries for Karlsruhe and Munich.
Solves: #104

Tests are broken, but that is due to the #102 :disappointed:

LGTM, fixing the tests is on my list, I'll do it tonight.

Thanks for reviewing!

Great, thank you.


TypeError: 'NoneType' object is not callable

some problems when i use api, and I've entered my apikey into the terminal

I'm sorry, it looks like a bug. When calling the api, if  max_model_token_num is set, there will indeed not be an initialized tokenizer to check. I will fix this after I take a closer look at the gpt3 API calculation for tokens.

In OpenAI's GPT3 API, max_tokens is used to control the maximum number of tokens to generate in the completion. However, there is currently no official gpt3 tokenizer for us to use in python code to detect the length of the input token and decide whether to truncate it (GPT-3-Encoder seems to implement the tokenzier of gpt3 and make it a JavaScript interface, i am not sure if this helpful). Maybe in the future we will implement this tokenizer, but until then, I will disable input token length detection for gpt3 in the main branch. 😔


Broken link to Union File System

The given link to Union File System is broken

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

ID: 0f05fc76-7ca5-424d-63b5-f22e389e370b
Version Independent ID: df2c93e2-a21f-455c-0f32-2ae15aa3df60
Content: State and data in Docker applications
Content Source: docs/standard/containerized-lifecycle-architecture/design-develop-containerized-apps/state-and-data-in-docker-applications.md
Product: dotnet
GitHub Login: @CESARDELATORRE
Microsoft Alias: wiwagn

Thanks for your feedback, @NinjaCross. I've created a PR with the correct link. After it gets reviewed and approved, I'll merge and the changes will show up within a few days.


TestFailToStartLeader

Which jobs are flaking?
DM-UT
Which test(s) are flaking?
TestFailToStartLeader
[2022-03-12T14:34:07.029Z] FAIL: election_test.go:34: testElectionSuite.TestFailToStartLeader
[2022-03-12T14:34:07.029Z]
[2022-03-12T14:34:07.029Z] election_test.go:106:
[2022-03-12T14:34:07.029Z]     c.Assert(leaderID, check.Equals, cfg1.Name)
[2022-03-12T14:34:07.029Z] ... obtained string = "dm-master-2"
[2022-03-12T14:34:07.029Z] ... expected string = "dm-master-1"
Jenkins logs or GitHub Actions link
https://ci.pingcap.net/blue/rest/organizations/jenkins/pipelines/ut-check/runs/5228/nodes/45/steps/49/log/?start=0
Anything else we need to know

Does this test exist for other branches as well?

Has there been a high frequency of failure lately?

https://ci.pingcap.net/blue/rest/organizations/jenkins/pipelines/ut-check/runs/8305/nodes/45/steps/49/log/?start=0

https://ci.pingcap.net/blue/organizations/jenkins/ut-check/detail/ut-check/13334/pipeline/
[2022-05-26T09:45:23.314Z]     election_test.go:116:

[2022-05-26T09:45:23.314Z]         	Error Trace:	election_test.go:116

[2022-05-26T09:45:23.314Z]         	Error:      	Not equal:

[2022-05-26T09:45:23.314Z]         	            	expected: "dm-master-2"

[2022-05-26T09:45:23.314Z]         	            	actual  : "dm-master-1"

[2022-05-26T09:45:23.314Z]

[2022-05-26T09:45:23.314Z]         	            	Diff:

[2022-05-26T09:45:23.314Z]         	            	--- Expected

[2022-05-26T09:45:23.314Z]         	            	+++ Actual

[2022-05-26T09:45:23.314Z]         	            	@@ -1 +1 @@

[2022-05-26T09:45:23.314Z]         	            	-dm-master-2

[2022-05-26T09:45:23.314Z]         	            	+dm-master-1

[2022-05-26T09:45:23.314Z]         	Test:       	TestFailToStartLeader

https://ci.pingcap.net/blue/organizations/jenkins/ut-check/detail/ut-check/17955/pipeline/


test: Run in-process DB tests with test-dbs-external

I think this might be causing the issues at https://github.com/PRQL/prql/pull/3951 — we're not running the in-process tests at the moment, because we're only enabling the test-dbs-external feature.
This PR allows runs all db tests with the test-dbs-external feature.

Ah riiiight I was running cargo t -F "test-dbs,test-dbs-external" on my machine
Just saw that on the CI it's only cargo t -F "test-dbs-external" and indeed I have the error
thread 'queries::results::date_to_string' panicked at 'swap_remove index (is 0) should be < len (is 0)', library/alloc/src/vec/mod.rs:1399:13

Nice catch

@aljazerzen this needs your review it seems (ref our discussion on Discord...)

@aljazerzen this needs your review it seems (ref our discussion on Discord...)

I added myself as an override, so we could get this merged FYI


Add Java Client to Server Streaming Section to SignalR Streaming Doc

We need to add a small section for client to server streaming in Java.

I created the new integrated issue for your. This is what I sent customers:
Can you create an issue from the doc page? That will connect the doc to the issue. Go to the bottom of the page and select This page .


Create an import for the latest version in *-ambient.d.ts

For example Gtk generates a gtk-4.0-ambient.d.ts
declare module 'gi://Gtk?version=4.0' {
    const Gtk40: typeof import('./gtk-4.0.js').default;
    export default Gtk40;
}

Because this is the latest version, it would also be amazing to create the file with an additional import that doesn't include the ?version=4.0
declare module 'gi://Gtk?version=4.0' {
    const Gtk40: typeof import('./gtk-4.0.js').default;
    export default Gtk40;
}

declare module 'gi://Gtk' {
    const Gtk40: typeof import('./gtk-4.0.js').default;
    export default Gtk40;
}

But on second thought, having this feature only for modules that don't have conflicting versions would be the better idea.

@vixalien which version do you use? In @girs/gtk-4.0 v4.14.3-4.0.0-beta.5 gi://Gtk is already exported without the version affix because it's the latest version. This is also the case for the other GObject libraries. Can you give it a try?

Oh nice. I just used the latest stable version with npx ts-for-gir.
I'll retry and update you!

@vixalien With the latest version, all Ambient Modules are now generated without a version string. With the CLI argument --onlyVersionPrefix this can be deactivated, then only Ambient Modules with version strings are generated. Please give feedback if this works for you :)