DNM: libcloud provisioning backend with OpenStack support

This isn't quite done. It needs:

[x] more docs
[x] unit tests
[x] regression testing w/ bare-metal
[x] regression testing w/ downburst
[ ] https://github.com/ceph/ceph-cm-ansible/pull/299 to be merged

Test runs:

teuthology-suite -v -s smoke -c kraken -t wip-libcloud -m ovh --ceph-repo https://github.com/ceph/ceph --suite-repo https://github.com/ceph/ceph -e<EMAIL_ADDRESS>-n 10 -p 1
teuthology-suite -v -s smoke -c kraken -t wip-libcloud -m smithi --ceph-repo https://github.com/ceph/ceph --suite-repo https://github.com/ceph/ceph -e<EMAIL_ADDRESS>-n 10 -p 1

test this please

test this please

http://pulpito.ceph.com/yuriw-2017-02-10_21:47:27-rados-wip-yuri-testing2_2017_2_11-distro-basic-ovh/

...and that's all I really see.  Didn't spend a lot of time with the tests, but the code all looks fairly plausible to me.

Added some changes you asked for; I can squash later if you like them

modulo the spelling error, looks good to me

http://pulpito.ceph.com/yuriw-2017-02-21_22:46:28-upgrade:kraken-x-wip-yuri-testing_2017_2_21-distro-basic-ovh/
http://pulpito.ceph.com/zack-2017-02-22_11:03:37-ceph-deploy-master---basic-ovh/
http://pulpito.ceph.com/zack-2017-02-22_11:04:40-ceph-deploy-master---basic-vps/

I think this PR is ready to go - no new testing is uncovering bugs, just issues where we haven't added openstack resource hints to the suites.
If this gets merged, please hold off on deleting the branch for now.


Finalizer exception when using NetworkImage.

Test app:
void main() {
  runApp(new Row(children:[new NetworkImage(src:'https://i.ytimg.com/vi/tntOCGkgt98/maxresdefault.jpg')]));
}

Exception:
03-28 10:26:27.462 E/System  (17062): Uncaught exception thrown by finalizer
03-28 10:26:27.463 E/System  (17062): java.lang.IllegalStateException: Warning: Router objects should be explicitly closed when no longer required otherwise you may leak handles.
03-28 10:26:27.463 E/System  (17062): 	at org.chromium.mojo.bindings.AutoCloseableRouter.finalize(AutoCloseableRouter.java:111)
03-28 10:26:27.463 E/System  (17062): 	at java.lang.Daemons$FinalizerDaemon.doFinalize(Daemons.java:202)
03-28 10:26:27.463 E/System  (17062): 	at java.lang.Daemons$FinalizerDaemon.run(Daemons.java:185)
03-28 10:26:27.463 E/System  (17062): 	at java.lang.Thread.run(Thread.java:818)

See also https://github.com/flutter/flutter/issues/2509#issuecomment-204604837 from @jamesr:

I remember looking with @collinjackson a few months back at a number of places in flutter that have mojo or android objects owned by dart or java objects without an explicit teardown path. In both cases this produces potentially pretty bad memory leaks as neither the Android runtime nor the Dart runtime promise to run finalizers promptly or even run them at all. I don't remember if anything came of this.
In this case the Mojo bindings Java finalizer is the one complaining that some Java object was holding on to a Mojo handle when the finalizer ran, meaning it wasn't explicitly destroyed.

this sounds like the kind of thing @jason-simmons finds oddly irresistible. :-)

We're probably leaking all the mojo objects on the Java side of things when accessibility is enabled, too.

+1 for this bug. Seeing it whenever I use FlutterView.


Make VMVX fast (enough).

Project tracking work items: https://github.com/google/iree/projects/30
VMVX has landed in #5536. This initial version has zero vector intrinsics and uses the full scalar lowering path to run on the IREE VM. This is naturally quite slow.
There are a few major pieces of low hanging fruit, each of which can improve performance 10-100x:

[ ] reduce loop/indexing overhead (#5544, #5547, etc)
[ ] add vmvx instrinsics for the most critical operations (like matmul inner tiles) (#5819)
[ ] fix work distribution to avoid teeny tiny tiles and so much overhead (#5548)

Closing in favor of using issues directly given that this is on the backlog.


Dark mode

Automatic dark mode based on your system setting! I might add a manual override switch in the website itself, but doing so effectively would require storing the user’s preference somewhere as a cookie or something (otherwise it would reset whenever they switched between pages), which I don’t know how to do yet — but maybe for the future!

storing the user’s preference somewhere as a cookie

If you do want to add this in the future, don't use cookies. This is the perfect use case for local storage!
It's a simple key-value system, so you just do something like
localStorage.setItem('darkMode', true);
isDarkMode = localStorage.getItem('darkMode');

Oh that’s a pretty good idea!! I’ll look into that and maybe make a future PR based around it

We may want to implement dark mode for images. In particular, the background pictures of UCI at the top of each page.


Adding support for deployment environments in asfyml

Adding support to create deployment environments from asfyml file.
We are in process to setup trusted publisher to publish all Airflow artifacts to PyPI using github action developed by pypa https://github.com/pypa/gh-action-pypi-publish. As a best practice and good security it is recommended to use separate deployment environments to publish packages.
We have discussion in here to enable trusted publisher. https://issues.apache.org/jira/browse/INFRA-24678
https://github.com/apache/infrastructure-p6/pull/2020

cc: @potiuk


ModernTaxonomyPicker InitialValues does not work

Category
[ ] Enhancement
[ X ] Bug
[ ] Question
Version
Please specify what version of the library you are using: [   3.5   ]
Expected / Desired Behavior / Question
I am using the Modern Taxonomy Picker (https://pnp.github.io/sp-dev-fx-controls-react/controls/ModernTaxonomyPicker/) and it's working great and look awesome however I cannot get it to accept a default values using the initialValues property.
According to the documentation it should be of the type ITermInfo[] (separate issue here as well as documentation states to use import { ITermInfo } from '@pnp/sp/taxonomy' however in fact it needs to be import { ITermInfo } from "@pnp/spfx-controls-react/node_modules/@pnp/sp/taxonomy/" - but that maybe an issue with my SPFx version)
Observed Behavior
I retrieve an object of ITermInfo[] and pass this into the initialValues property via the state but it is just ignored and leaves the field blank
Steps to Reproduce
First retrieve a term ID from the term store, I've used the following to get the currently selected term ID from the SharePoint field to retrieve the ITermInfo object back from the term store
      const taxGrpInfo: ITermGroupInfo[] = await sp.termStore.groups();
      const siteTaxGroup: ITermGroupInfo = taxGrpInfo.filter( item => {return item.name.indexOf("Site Collection - ") > -1})[0];
      const taxSetInfo: ITermSetInfo[] = await sp.termStore.groups.getById(siteTaxGroup.id).sets();
      const taxTermInfo: ITermInfo = await sp.termStore.groups.getById(taxGrpInfo[0].id).sets.getById(taxSetInfo[0].id).getTermById(**IDofTHEterm**)();
      try{
        this.setState({
          selectedTaxFields: {
            Operation_x0020_Unit_x0020_Type: taxTermInfo
          }
        });
      }
      catch (error) {}

              <ModernTaxonomyPicker
                allowMultipleSelections={false}
                label="Operation Unit Type"
                termSetId={this.state.choiceFields.Operation_x0020_Unit_x0020_Type}
                panelTitle="Select Operation Unit Type"
                context={this.props.spfxContext as any}
                onChange={myHelpers._onTaxPickerChange.bind(this, "Operation_x0020_Unit_x0020_Type")}
                initialValues={this.state.selectedTaxFields.Operation_x0020_Unit_x0020_Type}
              />

When I run through the code I can see the term is being correctly pulled into the state and ready to be set in the control but nothing actually gets set, I've tried casting as a single object instead of an array but that doesn't work either, I've also noticed the OnChange property is called a few times during initial load but always returns a blank term - same problem occurs if I set OnChange to null.

Any help would be greatly appreciated!

Hi @omarelanis,
the initialValues property is what it says, i.e. the values to have selected during the initial render so you cannot change or set it after the control has already been rendered which would be the case in your example.
In your example you also pass the initial term as a single value, not as an array, but that might just be an error in the example code.
One way to solve your problem in your example would be to do a conditional rendering of the control like this and pass the property as an array:
{this.state && this.state.selectedTaxFields && this.state.selectedTaxFields.Operation_x0020_Unit_x0020_Type &&
  <ModernTaxonomyPicker
    allowMultipleSelections={false}
    label="Operation Unit Type"
    termSetId={this.state.choiceFields.Operation_x0020_Unit_x0020_Type}
    panelTitle="Select Operation Unit Type"
    context={this.props.spfxContext as any}
    onChange={myHelpers._onTaxPickerChange.bind(this, "Operation_x0020_Unit_x0020_Type")}
    initialValues={[this.state.selectedTaxFields.Operation_x0020_Unit_x0020_Type]}
  />
}

I cannot seem to be able to repro your problem with the import of ITermInfo. I install pnp-js and use ITermInfo in the code, gets the red squiggly underline in VS Code, right click the underline and VS Code suggests to import ITermInfo from @pnp/sp/taxonomy and after doing that everything just works.

Hi @patrikhellgren ,
Many thanks for the response, greatly appreciated.
I should have mentioned I'm setting the state on component during componentDidMount() so it's set before the controls are rendered, I can see it is in the state item when the control gets rendered. However you hit the nail on the head about it not being returned as an array - D'OH!! It's a single select Taxonomy field so I was returning a single object instead of an array - fixed it and it's now working - thank you!! :)
Re the ITermInfo error that is because the ModernTaxonomyPicker is loading ITermInfo from "node_modules/@pnp/spfx-controls-react/node_modules/@pnp/sp/taxonomy/" for some weird reason,

But in my interface when I load it from there it is loading from the correct location @pnp/sp/taxonomy

Both files are actually different so I end up with an error about them being incompatible and about a missing property
Property 'properties' is optional in type 'ITermInfo' but required in type 'ITermInfo'.ts(2322)

So I have to load the ITermInfo in the interface from the following module instead:
import { ITermInfo } from "@pnp/spfx-controls-react/node_modules/@pnp/sp/taxonomy/";
and then it all works, not sure if this is a bug on my setup or something else causing it but it's working now - thanks again!

Hi,
I am also facing this issue. I am able to get the required information but the initial values are never populated in the control.
export const ModernTaxonomyFormControl = ({control, context, saveToState, pnpService }: { control: IFormField; context: WebPartContext; saveToState: (value: string, key: string) => Promise<void>; pnpService:  IPnPService;  }) : JSX.Element => {

const [initalManagedMetadata, setInitalManagedMetadata] = React.useState<ITermInfo[]>([])

    React.useEffect(()=>{
        (async () => {
            const data: ITermInfo = await pnpService.getManagedMetadataTermInfo(termSetId,termId);
            setInitalManagedMetadata([data]);
        })();
    },[])

    return (
        <>
        <FieldDisplayMoreInformation id={control.id} label={control.fieldDisplayName} description={control.description} />
        {setInitalManagedMetadata.length > 0 && <ModernTaxonomyPicker
            allowMultipleSelections={control.AllowMultipleValues}
            termSetId={control.termSetId}
            panelTitle={control.fieldDisplayName}
            label={null}
            required={control.required}
            context={context as any}
            onChange={changeTaxonomyField}
            initialValues={initalManagedMetadata}
        />}
    </>
    )
}

Hi @omarelanis, the initialValues property is what it says, i.e. the values to have selected during the initial render so you cannot change or set it after the control has already been rendered which would be the case in your example. In your example you also pass the initial term as a single value, not as an array, but that might just be an error in the example code.

In this case, how can you "control" the values within the picker ?
I have a full repro here : https://github.com/stevebeauge/pnpreactrepromoderntaxonomy/blob/main/src/webparts/repro/components/Repro.tsx
I don't get how it should works. Your suggestion only hide the issue (as far as I understand). It does not solve it.
Or I missed something ?

According to the documentation it should be of the type ITermInfo[] (separate issue here as well as documentation states to use import { ITermInfo } from '@pnp/sp/taxonomy' however in fact it needs to be import { ITermInfo } from "@pnp/spfx-controls-react/node_modules/@pnp/sp/taxonomy/" - but that maybe an issue with my SPFx version)

This point can reveal a version mismatch beetween @pnp/js used by the spfx controls react and your project.
What you can do either to ensure you use the same version or you can trick with some nice TS feature to alias types:
import { IModernTaxonomyPickerProps, ModernTaxonomyPicker } from '@pnp/spfx-controls-react';

type PartialTermInfo = IModernTaxonomyPickerProps["initialValues"];
  const initialTerms: PartialTermInfo = [
    {
      id: "f786ab93-e92c-aaa9-8642-ad24b74476e6",
      labels: [
        {
          isDefault: true,
          languageTag: 'fr-FR',
          name: "MyTerm"
        }
      ]
    }
  ];

Hi @omarelanis, the initialValues property is what it says, i.e. the values to have selected during the initial render so you cannot change or set it after the control has already been rendered which would be the case in your example. In your example you also pass the initial term as a single value, not as an array, but that might just be an error in the example code.

In this case, how can you "control" the values within the picker ?
I have a full repro here : https://github.com/stevebeauge/pnpreactrepromoderntaxonomy/blob/main/src/webparts/repro/components/Repro.tsx
I don't get how it should works. Your suggestion only hide the issue (as far as I understand). It does not solve it.
Or I missed something ?

The control will manage the selected choices so you just need to set them the state or similar using the OnChange property:
onChange={myHelpers._onTaxPickerChange.bind(this
In my case _onTaxPickerChange is a function that sets a state variable to the selected taxonomy values.
The initial values property has to be an array and is only used to set which terms are selected on load, in my case it was a single object like {} instead of [{}] so when i updated it then it worked as expected

@omarelanis I think my PR https://github.com/pnp/sp-dev-fx-controls-react/pull/1308 should also fix your issue

Hi Steve,
There is no issue anymore technically, the resolution was to send the taxonomy data as an array instead of as a single object (even if just one taxonomy is retrieved).
I've had a look at your PR  #1308 but I'm not experiencing this issue of it looping like you are, this was for an old project but essentially all I had to do was retrieve the selected taxonomy objects of the field using the code below, but I needed to make sure taxTermInfo was returned as an array not as an object
      const taxGrpInfo: ITermGroupInfo[] = await sp.termStore.groups();       const siteTaxGroup: ITermGroupInfo = taxGrpInfo.filter( item => {return item.name.indexOf("Site Collection - ") > -1})[0];       const taxSetInfo: ITermSetInfo[] = await sp.termStore.groups.getById(siteTaxGroup.id).sets();       const taxTermInfo: ITermInfo = await sp.termStore.groups.getById(taxGrpInfo[0].id).sets.getById(taxSetInfo[0].id).getTermById(**IDofTHEterm**)();       try{         this.setState({           selectedTaxFields: {             Operation_x0020_Unit_x0020_Type: taxTermInfo           }         });       }       catch (error) {}


As a project coordinator, I want to resize the columns of the project list so that I can better focus on information that I need to.

Description:
Suggested by an observer during usability testing.
Acceptance Criteria:
Given
When
Then
Development Checklist:

[ ] Checklist item
[ ] Checklist item
[ ] Checklist item
[ ] Meets the DOD

Notes:

Question related to this ticket? Is data ever cut-off? Are there particular columns or all columns? Does this imply that there is information in the project lists that isn't needed or is there a different order that the information can be presented in?

That's a great question @LindsayMacfarlane. I'd like to remove this card since it was based upon an older version of the project list in which the RFP # was fully written out. In addition, as we add more fields to the database we will likely change the project list table again (see comments in #338) and that will affect this card.

Removing from Project List Enhancements due to priority.


Discovery - Design System web components

Summary | Résumé

Tests adding design system Text Input

Adds React components package as per https://cds-design-snc.netlify.app/en/installation
@cdssnc/gcds-components
@cdssnc/gcds-components-react

Tests adding <GcdsInput>
As per
https://cds-design-snc.netlify.app/en/components/input/code/
Test instructions | Instructions pour tester la modification
Currently fails to load with the following errors.

Pull Request Checklist
Please complete the following items in the checklist before you request a review:

[ ] Have you completely tested the functionality of change introduced in this PR? Is the PR solving the problem it's meant to solve within the scope of the related issue?
[ ] The PR does not introduce any new issues such as failed tests, console warnings or new bugs.
[ ] If this PR adds a package have you ensured its licensed correctly and does not add additional security issues?
[ ] Is the code clean, readable and maintainable? Is it easy to understand and comprehend.
[ ] Does your code have adequate comprehensible comments? Do new functions have docstrings?
[ ] Have you modified the change log and updated any relevant documentation?
[ ] Is there adequate test coverage? Both unit tests and end-to-end tests where applicable?
[ ] If your PR is touching any UI is it accessible? Have you tested it with a screen reader?

Have you been able to get the Web Components to load?

I remember this kind of integration through the components to be working.
I also tried an integration through the formBuilder script, but ran into some html validation issues. This screenshot doesn't look like web components: the shadow dom seems to be missing

Have you been able to get the Web Components to load?

I remember this kind of integration through the components to be working.
I also tried an integration through the formBuilder script, but ran into some html validation issues. This screenshot doesn't look like web components: the shadow dom seems to be missing

I'm trying to use the React package per the installation instructions

Closing per:
https://github.com/cds-snc/gcds-components/issues/114#issuecomment-1469956568


rasbian build error in workerspool.h

In file included from /home/pi/workspace/caffe2/caffe2/utils/threadpool/ThreadPool.cc:2:0:
/home/pi/workspace/caffe2/caffe2/utils/threadpool/WorkersPool.h: In member function ‘void caffe2::WorkersPool::Execute(const std::vector<std::shared_ptrcaffe2::Task >&)’:
/home/pi/workspace/caffe2/caffe2/utils/threadpool/WorkersPool.h:364:60: error: use of ‘auto’ in lambda parameter declaration only available with -std=c++14 or -std=gnu++14
std::for_each(++tasks.begin(), tasks.end(), [this, &n](auto& task) {
^~~~
/home/pi/workspace/caffe2/caffe2/utils/threadpool/WorkersPool.h: In lambda function:
/home/pi/workspace/caffe2/caffe2/utils/threadpool/WorkersPool.h:365:37: error: request for member ‘get’ in ‘task’, which is of non-class type ‘int’
workers_[n++]->StartWork(task.get());
^~~
In file included from /usr/include/c++/6/algorithm:62:0,
from /home/pi/workspace/caffe2/caffe2/core/common.h:4,
from /home/pi/workspace/caffe2/caffe2/utils/threadpool/WorkersPool.h:1,
from /home/pi/workspace/caffe2/caffe2/utils/threadpool/ThreadPool.cc:2:
/usr/include/c++/6/bits/stl_algo.h: In instantiation of ‘_Funct std::for_each(_IIter, _IIter, _Funct) [with _IIter = __gnu_cxx::__normal_iterator<const std::shared_ptrcaffe2::Task, std::vector<std::shared_ptrcaffe2::Task > >; _Funct = caffe2::WorkersPool::Execute(const std::vector<std::shared_ptrcaffe2::Task >&)::<lambda(int&)>]’:
/home/pi/workspace/caffe2/caffe2/utils/threadpool/WorkersPool.h:366:6:   required from here
/usr/include/c++/6/bits/stl_algo.h:3769:5: error: no match for call to ‘(caffe2::WorkersPool::Execute(const std::vector<std::shared_ptrcaffe2::Task >&)::<lambda(int&)>) (const std::shared_ptrcaffe2::Task&)’
__f(__first);
In file included from /home/pi/workspace/caffe2/caffe2/utils/threadpool/ThreadPool.cc:2:0:
/home/pi/workspace/caffe2/caffe2/utils/threadpool/WorkersPool.h:364:70: note: candidate: caffe2::WorkersPool::Execute(const std::vector<std::shared_ptr<caffe2::Task> >&)::<lambda(int&)>
   std::for_each(++tasks.begin(), tasks.end(), [this, &n](auto& task) {
                                                                    ^
/home/pi/workspace/caffe2/caffe2/utils/threadpool/WorkersPool.h:364:70: note:   no known conversion for argument 1 from ‘const std::shared_ptr<caffe2::Task>’ to ‘int&’
caffe2/CMakeFiles/Caffe2_CPU.dir/build.make:4745: recipe for target 'caffe2/CMakeFiles/Caffe2_CPU.dir/utils/threadpool/ThreadPool.cc.o' failed
make[2]: *** [caffe2/CMakeFiles/Caffe2_CPU.dir/utils/threadpool/ThreadPool.cc.o] Error 1
make[2]: Leaving directory '/home/pi/workspace/caffe2/build'
CMakeFiles/Makefile2:2590: recipe for target 'caffe2/CMakeFiles/Caffe2_CPU.dir/all' failed
make[1]: *** [caffe2/CMakeFiles/Caffe2_CPU.dir/all] Error 2
make[1]: Leaving directory '/home/pi/workspace/caffe2/build'
Makefile:141: recipe for target 'all' failed
make: *** [all] Error 2

I am facing the same issue. Couldn't find much on the internet and the forums regarding this issue. Can someone help?

I have just make a pull request for this issue. It is not a bug. It is just a c++14 feature, but we compile caffe2 with c++11.

Yes, I saw the pull request before commenting. I understood its a declaration issue.
However, since I am new to Caffe2, is there a way to compile the caffe2 with c++14 by passing it in the argument as --std=c++14??

Well, I think that newest commit "076a4a99f6c4026" has solved this issue. It should work. You just need to pull new version of caffe2 and build with c++11.


Anna DB research

A promising building block solution for cross-cluster KV storage is anna. It's based on CRDT. See this for a good explanation of the lattice data structure used in Anna.
This task is to evaluate anna in the following aspects:

[ ] Build anna
[ ] Run anna in a K8s cluster
[ ] Understand how it works within a single node
[ ] Understand how it works with multiple nodes in a cluster
[ ] Can it work with existing serverless framework such as Kubeless?
[ ] Performance evaluation (e.g. the communication overhead mentioned in AnnaBellaDB paper)
[ ] What are similar options (open source and commercials)
[ ] What's the security compliance mode (comparing with CDN KV stores)
[ ] Possibility of extending it to cross cluster on edge

A few reference papers:

"AnnaBellaDB- Key-Value Store Made Cloud Native"
"The Design of Any-scale Serverless Infrastructure with Rich Consistency Guarantees"
"Anna- A KVS For Any Scale"

Estimate time: ~ by 1/7

possible similar solutions

https://github.com/gedge-platform/gedge-platform, video


Is GPU required for testing?

Hello! I am wondering if it is necessary to have a GPU for testing. I’m not planning on training, just testing, and I think the computer I am working on only has a graphics card and no GPU. I am wondering if it is still possible for me to focus on testing despite this. Thanks in advance!

Currently at least 1 NVIDIA GPU is necessary for testing.


Closed #1 - Mavenize the project

Hello @fabiojo7777777
It was easier than I thought
Few changes were needed to solve the problem.

Update pom.xml
Remove the lib directory
In Eclipse remove entries in .classpath

Hi @fabiotavarespr
Grateful by your contribution. It was exactly what I needed. It works as expected.


catch(error) doesn't fire when incorrect URL or no network connection

Hi! I have react-native app with redux-thunk and axios ("react-native-axios": "0.17.1")
my action looks like:
export function doAuth(login: string, password: string): ThunkAction {
    return (dispatch, getState) => {
       const apiClient = axios.create({
            baseURL: "SOME_URL",
            headers: {
                'Content-Type': 'application/json',
            },
            transformResponse: [function (data) {
                console.log('transformResponse');

                return data;
            }],
        });
        apiClient.defaults.headers.post['Cache-Control'] = 'no-cache';

        apiClient.post('/authenticate/', {
                login: login,
                password: password,
            })
            .then((res) => {
                console.log('then');
            })
            .catch((error) => {
                console.log('err');
            })
    }
}

When SOME_URL is correct all OK (then/catch fires).
But when SOME_URL is mistaken (emulating host's down) or no network connection on device, catch doesn't fire and i have this in logs:
Possible Unhandled Promise Rejection (id: 0):
Network request failed
TypeError: Network request failed...

if i implement this request via fetch, all works fine.

i'm sorry for this 'bug'
this issue related to fork of your lib for react-native (https://github.com/qiangmao/axios).

We don't support forks here, please contact the fork's maintainers.


_ha not working for .kn-tabkle-link

Hi Norm
We think we have discovered an issue with the _ha keyword.  It doesn't align the headers for columns with .kn-table-link:

Craig

Fixed in v0.15.19.
Good testing!  Thanks a lot.
Norm

Thank you Norm this is great


Expand DK local names

Is your feature request related to a problem? Please describe.
There is limited first/last name collections for locale dk.
% grep 'last_name' src/main/resources/da-DK.yml | grep -o '[[][^]]*]' | sed 's/[[]//; s/[]]//; s/, /,/g' | tr ',' '\n' | wc -l
      10
% grep 'first_name' src/main/resources/da-DK.yml | grep -o '[[][^]]*]' | sed 's/[[]//; s/[]]//; s/, /,/g' | tr ',' '\n' | wc -l
      20

Describe the solution you'd like
Expand DK first/last name using following:

https://en.wikipedia.org/wiki/Category:Danish_masculine_given_names
https://en.wikipedia.org/wiki/Category:Danish-language_surnames
https://en.wikipedia.org/wiki/Category:Danish_feminine_given_names

Describe alternatives you've considered
Created local file that I plan to move to this repo.

Hi! There are no names for many locales. If you want to do a PR for them to add them, we would be happy to accept such contributions!

@bodiam - here's the PR: https://github.com/datafaker-net/datafaker/pull/640


Add a fake home screen

It would be nice for a fake home screen for use on a real TV that is connected to a PC as an alternative to the Retroarch functionality, you just put a bunch of Roku app folders and ZIP files in a folder, pass a command line argument to launch the home screen, and enjoy. The screen should have a main home section for normal Roku apps, a Search option for searching the channels in your folder, a Streaming Channels option where you can download Roku apps that are open source and sample apps, a Settings section where you change emulator settings, like the RCP and stuff, and an Exit section that contains a single button to exit the program. You could do an alternative launcher as well like a simple 9x9 grid of icons with the Roku aesthetic, or even the old Roku layout with the single row of apps.

There is a ticket for that, is #54 thanks for the additional suggestions.

It would be the best opportunity to add themes support.


Support RISCV64 builds

What this PR does / why we need it: Support RISCV64 builds, closes #9858
Special notes for your reviewer:

~This discussion might be relevant as to why this is safe: https://github.com/golangci/golangci-lint/issues/2079~
~Maybe irrelevant; docker's buildx supports github.com/prometheus/procfs v0.3.0+~
Let me know if I should remove the CI/doc modifications to support riscv64 building

If applicable:

[x] this PR contains documentation
[ ] ~this PR contains unit tests~
[x] this PR has been tested for backwards compatibility

@mattfarina done! Nice, there is no need to change go.mod anymore 👍
So this PR is just CI changes 😉

Is helm supported RISCV64 arch finished？

You can build it yourself using GOARCH=riscv64, this PR is just to add riscv64 binaries to releases.


vector4.clamp does not work with dnx451

error message: must add library "system.runtime"

Sample code? Project.json? Full stack trace? At runtime? at compile time
Basically... how can we reproduce?

This issue is being closed because it has not been updated in 3 months.
We apologize if this causes any inconvenience. We ask that if you are still encountering this issue, please log a new issue with updated information and we will investigate.


TypeError: e.map is not a function

Describe the bug
To Reproduce
Expected behavior
Screenshots
Applicable Versions:

Netlify CMS version<EMAIL_ADDRESS>Git provider: git-gateway
Browser version: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.159 Safari/537.36

CMS configuration
site_url: https://templatecookie-nuxt.netlify.app/
logo_url: https://templatecookie-nuxt.netlify.app/logo.png
publish_mode: editorial_workflow
media_folder: static/images/uploads
public_folder: /images/uploads
backend:
  name: git-gateway
  branch: master
collections:
  - label: Site settings
    name: site
    files:
      - label: Info
        name: info
        file: content/info.json
        format: json
        editor:
          preview: false
        fields:
          - label: Site Name
            name: sitename
            widget: string
            hint: This is used for the site title
          - label: Site Description
            name: sitedescription
            widget: string
            hint: This is used as descriptive text for links that link to this site
    publish: true
    type: file_based_collection
    sortable_fields:
      - commit_date
      - commit_author
    view_filters: []
    view_groups: []
  - name: product
    label: Product
    folder: content/products
    create: true
    slug: "{{day}}-{{month}}-{{year}}-{{slug}}"
    fields:
      - label: Layout
        name: layout
        widget: hidden
        default: product
      - label: Title
        name: title
        widget: string
      - label: Product Category
        name: productCategory
        widget: relation
        collection: category
        search_fields:
          - title
        value_field: title
        display_fields:
          - title
      - label: Publish Date
        name: date
        widget: datetime
      - label: Featured Image
        name: thumbnail
        widget: image
      - name: gallery
        label: Gallery
        folder: images/gallery
        widget: list
        optional: true
        create: true
        fields:
          - label: Title
            name: imgTitle
            widget: string
            required: false
          - label: Description
            name: imgDesc
            widget: string
            required: false
          - label: Gallery Image
            name: imgSrc
            widget: image
      - label: Demo Link
        name: link
        widget: string
        required: false
      - label: Download Link
        name: download
        widget: string
        required: false
      - label: Purchase Link
        name: purchase
        widget: string
        required: false
      - label: Version
        name: version
        widget: string
      - label: Product Price
        name: price
        widget: number
      - name: template_feature
        label: Template Feature
        widget: list
        max: 10
        fields:
          - label: Title
            name: title
            widget: string
      - label: Description
        name: description
        widget: markdown
    publish: true
    type: folder_based_collection
    sortable_fields:
      - commit_date
      - title
      - date
      - commit_author
      - description
    view_filters: []
    view_groups: []
  - name: category
    label: Category
    folder: content/categories
    create: true
    slug: "{{slug}}"
    fields:
      - label: Layout
        name: layout
        widget: hidden
        default: category
      - label: Title
        name: title
        widget: string
      - label: Featured Image
        name: banner
        widget: image
        required: false
      - label: Seo Description (max-158 character)
        name: description
        widget: markdown
        required: false
    publish: true
    type: folder_based_collection
    sortable_fields:
      - commit_date
      - title
      - commit_author
      - description
    view_filters: []

...

Hi @devzakir, can you fill in the missing parts from the issue template, see https://github.com/netlify/netlify-cms/issues/new?assignees=&labels=type%3A+bug&template=bug_report.md&title=Please+replace+with+a+clear+and+descriptive+title


Improve build script argument handling

This improvement allows the build script to take arguments in any
order, and also prevents conflicts between user-specified configure
args and configure args we add as part of the script.
Signed-off-by: Adam Farley<EMAIL_ADDRESS>

Travis fails with
<<<<<<< HEAD
^-- SC1073: Couldn't parse this here string.
^-- SC1009: The mentioned parser error was in this simple command.
    ^-- SC1072:  Fix any mentioned problems and try again.

I know what happened. At one point Eclipse tried to mess with my code during a merge. Thought I'd removed it all. Apparently not.
I will fix this.

Still broken. How did this ever work locally? Will fix.

Ok, problem fixed.

Thanks @karianna :)


Allow to pass empty values to Set-PnPTenantCdnPolicy

Type

[x] Bug Fix
[ ] New Feature
[ ] Sample

Related Issues?
Fixes #3935
What is in this Pull Request ?
Change Set-PnPTenantCdnPolicy to allow PolicyValue parameter to be an empty string or $null, while still being mandatory. Users will still need to specify -PolicyValue parameter.
This is the same behavior as when calling Tenant.SetTenantCdnPolicy(..) in CSOM.
Example with IncludeFileExtensions:

Example with ExcludeRestrictedSiteClassifications:

Example with ExcludeIfNoScriptDisabled:

$null is replaced with an empty string to avoid a runtime exception. This was the error happening without the replacement:

Thanks @jackpoz , awesome stuff , merged it !!


Release/v2.2.8

Description

Motivation and Context

How Has This Been Tested?

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Improvement/refactoring (non-breaking change that doesn't add any features but makes things better)

Checklist

[ ] The PR title is no longer than 64 characters.
[ ] My code follows the code style of this project.
[ ] I've added relevant changes to the documentation (applies to new features and breaking changes in core

v2.2.8 was a failed login and I forgot to reset the tag 😓


minor: Avoid recip.user_id defensive fallback.

The recip.id || recip.user_id idiom has only been
needed for some old unit tests.

Testing Plan:
GIFs or Screenshots:

Ahh, yes, it was previously needed before we added this fix in echo.js:
            // NORMAL PATH
            //
            // This should match the format of display_recipient
            // objects generated by the backend code in models.py,
            // which is why we create a new object with a `.id` field
            // rather than a `.user_id` field.
            return {
                id: person.user_id,
                email: person.email,
                full_name: person.full_name,
            };

Merged after extending the commit message to mention that detail, since it could be relevant for future debugging.


 I cant disable them.

Issue Type: Bug
I just switched to mac,
I opened the same files in Mac on code and im getting "Property 'createSeed' does not exist on type 'Readonly<{}> & Readonly<{ children?: ReactNode; }>'.ts(2339)" and others.
How di i disable these errors because it compiles fine.
VS Code version: Code 1.48.0 (db40434f562994116e5b21c24015a2e40b2504e6, 2020-08-13T08:03:27.059Z)
OS version: Darwin x64 19.4.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz (16 x 2300)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_off_okwebgl: enabledwebgl2: enabled

Load (avg)
2, 2, 2

Memory (System)
16.00GB (0.14GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (1)

Extension
Author (truncated)
Version

prettier-vscode
esb
5.1.3

Please remove this off my account!!!

Please share a complete, self contained code sample that demonstrates the problem

The exact same code running on Windows. Save version, same prettify version. Set on Typescript react. Has no errors at all. For some reason on latest on Mac i'm getting a ton of type errors.

I have the same tsconfig.json on both too.
What should i do?
Thanks for the help

This isnt about solving one error because there are so many types that have suddenly popped up. I just want them not so show up at all. can i disable certain codes or anything like that?
I have synced my VS code acress machines but apparently that hasn't helped either

If there are errors, then IntelliSense and other features also will not work properly
Please  share a small project that demonstrates the issue (as text or a GitHub repo)


chore: make certain cert-manager properties configurable

Signed-off-by: Hector Fernandez<EMAIL_ADDRESS>
What this PR does / why we need it:
While migrating from older cert-manager versions to the latest, we found that older cert-manager version set a default organization if the organization was empty. However the new cert-manager version ignores that default organization if it is not specified as part of the certificate fields. Therefore we should make these properties configurable for the ca generated certificate via cert-manager.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:

/lgtm


Set up code style checks with checkstyle

This will also mean we'll have to adopt a strict coding style. I suggest the Google style:
https://google.github.io/styleguide/javaguide.html

All the important checks are now in place. There may be slight modifications in the near future, but that's all.


Limit hostname to a reasonable length

OpenJDK 6 and 7 runs into a problem if the host name is 64 characters or longer. This manifests as https://github.com/travis-ci/travis-ci/issues/5227.
This PR aims to reduce such friction by shortening the host name when sudo is available. (Within a Docker container, we cannot change the host name.)
This would print log messages like this:
Truncating hostname. See https://github.com/travis-ci/travis-ci/issues/5227.
$ hostname
testing-gce-job-465963

I am a little concerned that this might have unintended consequences for builds that do not need this fix.

I'm generally against having this applied to all scripts.  I'd much rather see it implemented as an addon so that users can opt in, e.g.:
addons:
  hostname: whatever-hostname-i-want-to-use-over-8000

addons:
  hostname: java6rulz

@meatballhat That's a valid concern. But at that point, I would think that it is as good as (or as bad as) putting the sudo hostname and echo | sudo tee.

@BanzaiMan I don't follow.   My proposal is to encapsulate the same commands in an addon that's opt-in rather than applying this change to all builds.

@meatballhat The addon is logically encapsulating, but the amount of work that user needs to put forth is roughly equivalent. I am not fond of either solution, to be honest. Maybe there is another that I'm not seeing.

I'm not sure how I feel about having the user opt in to change the hostname. I feel like things should 'just work' and not have to require the user to fix things.
I also understand that this isn't our 'fault', but well, thats the joy of providing a build service, right?
I'm not sure what the best solution is.
I guess I would agree that doing the addon could be a good first step.

FYI, this doesn't just impact Java.  I've also experienced this issue with Grid Engine.  I'm sure there's plenty of old software that doesn't like long hostnames.

What is Grid Engine?

It's a family of old systems for doing distributed batch computation:

Sun Grid Engine
Son of Grid Engine
Univa Grid Engine

Closed in favor of #620.


[BUG] Notification Error

Test 0.1.6 with several annoying bugs:

Notification error continue (this problem continue since 0.1.5)
Setting erase/reset (random happening to me)
I believe running multiple Map is now not possible? Unsure about this.

I hope to see this solve in the next release.
P.S. So far for me 0.1.3 are the most stable

The notification error is after awhile, a notification for one Pokemon keeps happening over and over yes? I've definitely got that on both 0.1.5 and 0.1.6.


No such file or directory: 'model-f46da743.pt'

Hello
I got this error. Did I put the .pt file in wrong location? (see attachment)
initialize
device: cuda
Loading weights:  model-f46da743.pt
Using cache found in C:\Users\gregb/.cache\torch\hub\facebookresearch_WSL-Images_master
Traceback (most recent call last):
File "run.py", line 105, in
run(INPUT_PATH, OUTPUT_PATH, MODEL_PATH)
File "run.py", line 29, in run
model = MidasNet(model_path, non_negative=True)
File "C:\Users\gregb\Documents\Python\MiDaS\midas\midas_net.py", line 47, in init
self.load(path)
File "C:\Users\gregb\Documents\Python\MiDaS\midas\base_model.py", line 11, in load
parameters = torch.load(path)
File "C:\Users\gregb\anaconda3\envs\3DP\lib\site-packages\torch\serialization.py", line 525, in load
with _open_file_like(f, 'rb') as opened_file:
File "C:\Users\gregb\anaconda3\envs\3DP\lib\site-packages\torch\serialization.py", line 212, in _open_file_like
return _open_file(name_or_buffer, mode)
File "C:\Users\gregb\anaconda3\envs\3DP\lib\site-packages\torch\serialization.py", line 193, in init
super(_open_file, self).init(open(name, mode))
FileNotFoundError: [Errno 2] No such file or directory: 'model-f46da743.pt'

Hey Gregory, I am getting a similar error, though i am running the code on  Ubuntu. what is the fix for the issue?

@kjyothiswaroop
You either have to call the run.py file from the same folder or you have the wrong model present.  In the example above, the script was calling a different model than was present.

Hi gregory, I'm trying to "play" with a repository that uses the same weights but the link they provided has been broken and the creator doesn't seem to have updated it. Could you please send me a copy of the pesos?
Thank you

Hi gregory, I'm trying to "play" with a repository that uses the same weights but the link they provided has been broken and the creator doesn't seem to have updated it. Could you please send me a copy of the pesos? Thank you

Hello. Are you asking for model-f46da743.pt?


Fix bugs handling big inventory

This updates the inventory db interface and implementation to use big ints for inventory and updates all the areas where we do math on inventory. This also gets the crypto currency QA tests passing.
Should close #1769

Coverage decreased (-0.004%) to 39.5% when pulling 703feb2f589ed68835db043d9a8f46e20320c55d on cryptoquantity into 0e1f030aeecd9b33e308e2135edf29e24c3de5ea on ethereum-master.


ci(actions): improve actions naming and add Github templates

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


How to send email with attachment via SMTP not API

I am able to send email with smtp using codeigniter but unable to send email with attachment via sendgrid please help me

Hello @VirendraArekar,
Thanks for submitting a GitHub issue! We are very sorry that you are running into this problem. In order to better serve you, as this does not present itself as a library specific issue, we would like to ask that you reach out to our support team at https://support.sendgrid.com.
Thank you!
SendGrid DX Team


Added documentation for the email notifications

I added instructions for how a user can setup email and slack notifications for their jobs.
Issue: https://github.com/centerforaisafety/cerberus-cluster/issues/47

Not as important for documentation but in general please squash or "fixup" GitHub commits before merging.

Oh no! Please don't merge it until the code is actually merged :(


Detach nvmf controller for a remote replica while removing replica from engine

vendor: update go-spdk-helper
Detach nvmf controller for a remote replica while removing replica from engine

Which issue(s) this PR fixes:

Issue longhorn/longhorn#8354
What this PR does / why we need it:
To avoid the repeatedly reconnection due to the existing nvmf controller, detach nvmf controller for a remote replica while removing a replica from its engine.
Special notes for your reviewer:
Additional documentation or context

Could you describe better the scenario? What do you mean by removing a replica from its engine?

Could you describe better the scenario? What do you mean by removing a replica from its engine?

If a node is down or an instance-manager pod is unexpectedly deleted, replicas on the node are marked as error. In that case, longhorn-manager needs to delete the replicas from their engines. These replicas can be added back to engines while rebuilding replicas or be deleted forever.

@DamiaSan  @shuo-wu  Ready to review again. Thank you.


chore: buildDefinitionIds for snyk-dev pipeline

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Ubuntu ppa: Cannot ioctl TIOCSCTTY: Operation not permitted

/kind bug
Description

I installed podman on Ubuntu 18.04 from the ppa today (2019-04-13), and when running a container, podman commands in other terminals fail.  Example:
$ podman ps
cannot ioctl(TIOCSCTTY): Operation not permitted

$ podman images
cannot ioctl(TIOCSCTTY): Operation not permitted

If I stop the container, then the commands succeed:
$ podman ps
CONTAINER ID  IMAGE  COMMAND  CREATED  STATUS  PORTS  NAMES

Steps to reproduce the issue:

sudo apt -y  install software-properties-common
sudo add-apt-repository -y ppa:projectatomic/ppa
sudo apt -y install podman

podman  run -it  --rm docker.io/library/alpine /bin/sh

podman ps   # or whatever, in another terminal

Describe the results you received:
$ podman ps
cannot ioctl(TIOCSCTTY): Operation not permitted

Describe the results you expected:
$ podman ps
CONTAINER ID  IMAGE  COMMAND  CREATED  STATUS  PORTS  NAMES

Additional information you deem important (e.g. issue happens only occasionally):
Output of podman version:
podman version
Version:            1.3.0-dev
RemoteAPI Version:  1
Go Version:         go1.10.4
OS/Arch:            linux/amd64

Output of podman info --debug:
$podman info --debug
debug:
  compiler: gc
  git commit: ""
  go version: go1.10.4
  podman version: 1.3.0-dev
host:
  BuildahVersion: 1.7.2
  Conmon:
    package: 'conmon: /usr/libexec/crio/conmon'
    path: /usr/libexec/crio/conmon
    version: 'conmon version , commit: '
  Distribution:
    distribution: ubuntu
    version: "18.04"
  MemFree:<PHONE_NUMBER>
  MemTotal:<PHONE_NUMBER>0
  OCIRuntime:
    package: 'cri-o-runc: /usr/bin/runc'
    path: /usr/bin/runc
    version: 'runc version spec: 1.0.1-dev'
  SwapFree:<PHONE_NUMBER>6
  SwapTotal:<PHONE_NUMBER>6
  arch: amd64
  cpus: 8
  hostname: squirrel
  kernel: 4.15.0-46-generic
  os: linux
  rootless: true
  uptime: 452h 13m 54.73s (Approximately 18.83 days)
insecure registries:
  registries: []
registries:
  registries: []
store:
  ConfigFile: /home/scroll/.config/containers/storage.conf
  ContainerStore:
    number: 15
  GraphDriverName: vfs
  GraphOptions: null
  GraphRoot: /home/scroll/.local/share/containers/storage
  GraphStatus: {}
  ImageStore:
    number: 31
  RunRoot: /tmp/1000
  VolumePath: /home/scroll/.local/share/containers/storage/volumes

Additional environment details (AWS, VirtualBox, physical, etc.):

Huh. This one's pretty strange. podman images for example should have absolutely no relation to a container running in another terminal - it will never invoke the OCI runtime, or attempt to retrieve container status.
I see two instances of TIOCSCTTY in the libpod code base, both vendored. One is part of buildah unshare and I'm fairly certain Podman will never invoke that code. The other is part of our vendored libcontainer from runc and is in a function that is never called in our codebase. I'm properly confused as to where this is coming from. Potentially being generated by your shell, maybe?

What command are you running in the container? Does running another command (e.g. podman run -t -i --rm fedora bash have different results?
What shell are you running?

Can you try a podman run command without -t and see if the issue still occurs?

Reproduced on Fedora 29, rootless. @baude @giuseppe FYI - this one looks gnarly.

strace -f does not find a single ioctl call with that ioctl from Podman itself - it has to be the shell. Theory: something we're doing with /dev/console puts things in a bad state.

Just about anything else I've tried, Buildah included, is unaffected, so it seems to just be Podman.

Not specific to -t flag, which I'm pretty sure gates all our our raw terminal stuff - so that's probably off the table as a cause

Podman run reacts very poorly to being strace'd now, seemingly.

@giuseppe I think this has to be the Rootless userns.
The first container makes the userns, and it seems to be fine. Every subsequent Podman call, though, joins the existing userns, and causes the controlling shell to get an EPERM on trying TIOCSCTTY (I can't tell yet if this happens before or after the command runs), and we get no output out of the command.

I was able to catch the failing ioctl() call by writing the strace output to a file:
$ strace -f -o /tmp/podman.strace podman ps
cannot ioctl(TIOCSCTTY): Operation not permitted

$ grep TIOCSCTTY /tmp/podman.strace
26975 ioctl(1, TIOCSCTTY, 0)            = -1 EPERM (Operation not permitted)
26975 write(2, "cannot ioctl(TIOCSCTTY): Operati"..., 49) = 49

If I'm reading the output correctly (I don't have any direct experience with clone), I think a thread of podman is forking a child and that child is calling ioctl():
26960 execve("/usr/bin/podman", ["podman", "ps"], 0x7ffc7d0df8a0 /* 58 vars */) = 0
26960 brk(NULL)                         = 0x3bd3000
...
...
...
26960 clone( <unfinished ...>
...
26960 <... clone resumed> child_stack=0x7efc7bffeeb0, flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, parent_tidptr=0x7efc7bfff9d0, tls=0x7efc7bfff700, child_tidptr=0x7efc7bfff9d0) = 26968
...
...
...
26968 clone(child_stack=NULL, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0x7efc7bfff9d0) = 26975
26975 set_robust_list(0x7efc7bfff9e0, 24) = 0
...
26975 prctl(PR_SET_PDEATHSIG, SIGTERM)  = 0
26975 ioctl(1, TCGETS, {B38400 opost isig icanon echo ...}) = 0
26975 ioctl(1, TIOCSCTTY, 0)            = -1 EPERM (Operation not permitted)
26975 write(2, "cannot ioctl(TIOCSCTTY): Operati"..., 49) = 49
26975 exit_group(1)                     = ?
26975 +++ exited with 1 +++
...
...
...

I've introduced this issue some days ago, I've prepared a PR to revert it: https://github.com/containers/libpod/pull/2927

Probably not related to the ioctl() issue, but if this is indeed a thread calling fork (per the CLONE_THREAD argument) then be aware that you can only make async-signal-safe calls in the child process or you risk deadlock or other such bad behavior.
From my fork() manpage:
       *  After a fork() in a multithreaded program, the child can safely call
          only  async-signal-safe  functions (see signal-safety(7)) until such
          time as it calls execve(2).

Calls such as setenv(), fprintf(), strerror(), and free() are definitely not async-signal-safe.  Not sure about some of the other calls in reexec_userns_join().
Also, setenv() and strerror() are not thread safe.


Increase loki default timeout

This set default lokiTimeout to 30s as same as our backend server timeout and OCP console proxy one.
https://github.com/openshift/console/blob/f65133a3a85fcbe13ac4227798dae4bfc8ed3cdb/server/proxy.go#L39

/lgtm

/approve


ModuleNotFoundError: No module named 'thop.count_hooks'

UPD: in new thop versions thop.count_hooks should be replaced by thop.vision.basic_hooks
Name: thop
Version: 0.0.31.post2005241907
installed via pip

it appeared (during 3rd phase of training), that new thop versions don't work with this code at all, issuing the error:
Traceback (most recent call last):
  File "lib/search/train.py", line 224, in <module>
    main()
  File "lib/search/train.py", line 157, in main
    train(train_loader_model, model, teacher_model, optimizer, lr_policy, logger, epoch)
  File "lib/search/train.py", line 197, in train
    loss = model.module._loss(input, target)
  File "F:\_neuro\_a\util\SR\AGD\lib\search\model_infer.py", line 272, in _loss
    loss = self._criterion(logit, target)
  File "F:\_neuro\_a\util\SR\AGD\lib\search\model_infer.py", line 257, in _criterion
    y_c_features = self.vgg(x)
  File "C:\Users\eps\AppData\Local\Programs\Python\Python35\lib\site-packages\torch\nn\modules\module.py", line 547, in __call__
    result = self.forward(*input, **kwargs)
  File "C:\Users\eps\AppData\Local\Programs\Python\Python35\lib\site-packages\torch\nn\parallel\data_parallel.py", line 150, in forward
    return self.module(*inputs[0], **kwargs[0])
  File "F:\_neuro\_a\util\SR\AGD\lib\search\util_gan\vgg_feature.py", line 26, in __call__
    x_vgg = self.features(x)
  File "C:\Users\eps\AppData\Local\Programs\Python\Python35\lib\site-packages\torch\nn\modules\module.py", line 547, in __call__
    result = self.forward(*input, **kwargs)
  File "C:\Users\eps\AppData\Local\Programs\Python\Python35\lib\site-packages\torch\nn\modules\container.py", line 92, in forward
    input = module(input)
  File "C:\Users\eps\AppData\Local\Programs\Python\Python35\lib\site-packages\torch\nn\modules\module.py", line 549, in __call__
    hook_result = hook(self, input, result)
  File "C:\Users\eps\AppData\Local\Programs\Python\Python35\lib\site-packages\thop\vision\basic_hooks.py", line 31, in count_convNd
    m.total_ops += torch.DoubleTensor([int(total_ops)])
  File "C:\Users\eps\AppData\Local\Programs\Python\Python35\lib\site-packages\torch\nn\modules\module.py", line 591, in __getattr__
    type(self).__name__, name))
AttributeError: 'Conv2d' object has no attribute 'total_ops'

downgrading to thop==0.0.31.post1912272122 made it work with thop.count_hooks, and without this error. later versions have introduced some fatal breaking changes (tested on pytorch 1.2 and 1.6).
would be nice to mention this in pip requirements for the repo.

@chenwydj

Hi, you can install another thop version:
pip install thop==0.0.31.post1912272122

@tilmto yes it's mentioned in the post above. thanks for confirming this.


[BACKLOG-35632] - Added Java arguments to remove 'illegal reflective …

…access' warnings when running Spoon.bat and spoon.sh

:white_check_mark: Build finished in 2m 58s
Build command:
mvn clean verify -B -e -Daudit -amd -pl assemblies/static

:exclamation: No tests found!
:information_source:  This is an automatic message


Still no settings

This is  still an issue https://github.com/pusher/atom-pair/issues/75
screenshot of 1.0.8 no settings. I have tried uninstalling and reinstalling. restarting atom. I also tried 1.0.7
Thanks

I found the settings listed if you click on the box that has atom-pair but it only has the pusher_app_key and pusher_app_secret fields.

Hi there - 2.0.9 should resolve this. I realize that I was only merging the main module with the config options only when the package was activated, meaning you couldn't see them in your settings page pre-activation. It should be fine now, hopefully :/ apologies!


Different TCAV scores

Hi, I have a simple Keras .h5 model and I am trying to get TCAV scores for some concepts, however, I noticed that if I run TCAV multiple times (resetting the runtime before each run) on the same model, target class and the same images, I am getting different TCAV and Statistical Significance scores every time.
Is it a normal behaviour? Thank you

Hey @jjevsikov.
Can you provide us with some more details on how you ran TCAV along with reproduction steps? Did you use some of our colabs as a starting point? And how did you organize your data directories for TCAV?

Hey @also-a-brain-known-as-ralph
Thank you for your reply and your time!
I am using my own keras model and all data directories are organized in the same way as TCAV Colab example. In terms of reproduction steps,  I just run TCAV once, then reset the runtime. After resetting the runtime, I run TCAV again on the same model and images as before, but getting different scores.
In fact, I also tried to see if I will get different scores in Run_TCAV_on_colab.ipynb file, and indeed I am getting different scores every time even without changing anything in the provided code itself.
To be clear with reproduction steps in Run_TCAV_on_colab.ipynb file, they are as follows:

Run all cells and get TCAV and p-val scores
Reset the environment to factory settings (Runtime -> Factory reset runtime)
Run all cells again get TCAV and p-val scores

Each time I am getting different scores.
Please do tell me if it helps and if you encounter the same situation.
Thank you!

Hi @jjevsikov ,
This is a known behavior because of sklearn. We use sklearn to train the linear classifier, which gives us the CAV. sklearn uses stochastic optimization to learn linear classifiers, so you get different CAV each time. Last time I checked, sklearn is using np to do this. If this is still the case, setting random seed to be constant (https://docs.scipy.org/doc/numpy-1.15.1/reference/generated/numpy.random.seed.html) should give you consistent answer.


Update 3dsmax.ps1

Fix two VRay properties which are incorrect.
This is to fix Issue #90

Fixed in https://github.com/Azure/batch-extension-templates/pull/92


matchEmit doesn't work and check() errors

compile fails with check() error inside server publish method.
matchEmit always fails. Syntax is incorrect for minimongo match in Readme.
Should be:
ddpEvents.matchEmit('push', {
    $and: [
      { userId: ['fsDFf7fsfdfs'] },
      { appId: '2222' },
      { foo: 'bar' }
    ]
  }, 'Hello');

A push call to a simple selector does not work.
ddpEvents.matchEmit('push', {
      userId: 'fsDFf7fsfdfs'
  }, 'Hello');

Did you ever find a work around? I can see the userID in the log when the user connects but trying to matchEmit to it doesn't work.

No I didn't. I switched to the Streamy package.


Allow health check to pass standbyok parameter.

Beginning with Vault 0.2.0, the /sys/health endpoint for Vault allows an optional request parameter, standbyok, which, when set to true (default is false) will cause the health check to return a 200 status instead of a 429 status for a standby Vault node. It would be nice if the health check in Spring Vault supported this feature.
See https://www.vaultproject.io/api/system/health.html
Refs spring-cloud/spring-cloud-vault#112

I'm not sure what you're trying to achieve with the change. VaultSysOperations.health() returns in every case a VaultHealth object with the fields in the response set (see VaultSysTemplate.java).
I'll add a comment to spring-cloud/spring-cloud-vault#112 which does not depend on changes in Spring Vault.

Btw. congrats, you hit issue number 💯

Hrm... good point. Spring Cloud Vault doesn't need to rely on the parameter passed in to the API request, to alter its behavior. There might be an edge case somewhere, where the status code would matter, but I can't think of a good example.

Thanks for your feedback. I'm closing this PR without a merge.


Not Found in Wordpress Plugins

Link you posted to the Plugin appstore does not work.
Has this been officially released?

It is not yet released, because it is still work in progress.

Could the issue please remain open until the app is released

released


Haskell mkDerivation env attribute sucks in the source

Issue description
I'm using a setup based on the nixpkgs manual haskell guide.  Since switching to the 18.09 package set, nix-shell now dumps my development directory to the store every time it is run.
This adds significant shell start up time and consumes a lot of unnecessary disk space by constant snapshotting my work.
I believe the issue is that the env attribute of the haskell mkDerivation function now sucks in the source specified inmkDerivation, which is set to ./. by cabal2nix . when following the haskell development instructions in the nixpkgs manual.
Steps to reproduce
Here is a small example of following the directions (where we are using lub to simulate our own package that we are developing)
wget -d http://hackage.haskell.org/package/lub-0.1.7/lub-0.1.7.tar.gz
tar xzf lub-0.1.7.tar.gz
cd lub-0.1.7
cabal2nix . > lub.nix
cat > default.nix <<"EOF"
nixpkgs ? import <nixpkgs> {}, compiler ? "ghc843" }:
nixpkgs.pkgs.haskell.packages.${compiler}.callPackage ./lub.nix { }
EOF
cat > shell.nix <<"EOF"
nixpkgs ? import <nixpkgs> {}, compiler ? "ghc843" }:
(import ./default.nix { inherit nixpkgs compiler; }).env
EOF
dd if=/dev/zero of=big bs=$((1024*1024)) count=500
nix-shell -I nixpkgs=/home/tyson/.nix-defexpr/channels/nixpkgs

warning: dumping very large path (> 256 MiB); this may run out of memory

Technical details
Here is the requested info.  Note that the machine I'm currently on is 18.03, but I'm running against the 18.09 channel for the development that I'm currently doing.

system: "x86_64-linux"
host os: Linux 4.16.17, NixOS, 18.03.132768.94d80eb7247 (Impala)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.0.4
channels(tyson): "nixpkgs-18.09.1206.6d6e4e6b558"
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs

Let me restate the issue.  Should env reference the src attribute?  It seems in 18.03 it didn't and now in 18.09 it does.  I would think the old behaviour is correct and the new one wrong as env is about an environment with the depended upon packages and not the source.

env does not reference src.

While I work to follow what your response above, I offer you this counter challenge
cat example.nix

with import <nixpkgs> { };

let
  example = { mkDerivation, stdenv, base, linear }: mkDerivation {
    pname = "example";
    version = "0.0.1";
    src = throw "what does the current source have to do with env?";
    libraryHaskellDepends = [ base linear ];
    license = stdenv.lib.licenses.bsd3;
  };

in
  (haskellPackages.callPackage example { }).env

On my 18.03 based desktop
[tyson@tux:~]$ nix-shell example.nix
[nix-shell:~]$

on my 18.09 laptop
[tyson@manny:~]$ nix-shell example.nix
error: what does the current source have to do with env?
(use '--show-trace' to show detailed location information)

[tyson@manny:~]$ nix-shell --show-trace example.nix
error: while evaluating the attribute 'NIX_GHC' of the derivation 'ghc-shell-for-example-0.0.1' at /nix/store/l9hcs7gapmg0d0hizi146h9mn03774ga-nixos-18.09/nixos/pkgs/stdenv/generic/make-derivation.nix:177:11:
while evaluating 'ghcWithPackages' at /nix/store/l9hcs7gapmg0d0hizi146h9mn03774ga-nixos-18.09/nixos/pkgs/development/haskell-modules/make-package-set.nix:219:23, called from /nix/store/l9hcs7gapmg0d0hizi146h9mn03774ga-nixos-18.09/nixos/pkgs/development/haskell-modules/make-package-set.nix:275:18:
while evaluating 'withPackages' at /nix/store/l9hcs7gapmg0d0hizi146h9mn03774ga-nixos-18.09/nixos/pkgs/development/haskell-modules/make-package-set.nix:116:18, called from /nix/store/l9hcs7gapmg0d0hizi146h9mn03774ga-nixos-18.09/nixos/pkgs/development/haskell-modules/make-package-set.nix:219:35:
while evaluating 'callPackageWith' at /nix/store/l9hcs7gapmg0d0hizi146h9mn03774ga-nixos-18.09/nixos/lib/customisation.nix:108:35, called from /nix/store/l9hcs7gapmg0d0hizi146h9mn03774ga-nixos-18.09/nixos/pkgs/development/haskell-modules/make-package-set.nix:116:28:
while evaluating 'makeOverridable' at /nix/store/l9hcs7gapmg0d0hizi146h9mn03774ga-nixos-18.09/nixos/lib/customisation.nix:67:24, called from /nix/store/l9hcs7gapmg0d0hizi146h9mn03774ga-nixos-18.09/nixos/lib/customisation.nix:112:8:
while evaluating anonymous function at /nix/store/l9hcs7gapmg0d0hizi146h9mn03774ga-nixos-18.09/nixos/pkgs/development/haskell-modules/with-packages-wrapper.nix:1:1, called from /nix/store/l9hcs7gapmg0d0hizi146h9mn03774ga-nixos-18.09/nixos/lib/customisation.nix:69:12:
while evaluating 'closePropagation' at /nix/store/l9hcs7gapmg0d0hizi146h9mn03774ga-nixos-18.09/nixos/lib/deprecated.nix:228:22, called from /nix/store/l9hcs7gapmg0d0hizi146h9mn03774ga-nixos-18.09/nixos/pkgs/development/haskell-modules/with-packages-wrapper.nix:45:57:
while evaluating 'uniqList' at /nix/store/l9hcs7gapmg0d0hizi146h9mn03774ga-nixos-18.09/nixos/lib/deprecated.nix:159:14, called from /nix/store/l9hcs7gapmg0d0hizi146h9mn03774ga-nixos-18.09/nixos/lib/deprecated.nix:228:29:
while evaluating 'go' at /nix/store/l9hcs7gapmg0d0hizi146h9mn03774ga-nixos-18.09/nixos/lib/deprecated.nix:160:18, called from /nix/store/l9hcs7gapmg0d0hizi146h9mn03774ga-nixos-18.09/nixos/lib/deprecated.nix:166:8:
while evaluating 'innerClosePropagation' at /nix/store/l9hcs7gapmg0d0hizi146h9mn03774ga-nixos-18.09/nixos/lib/deprecated.nix:211:32, called from /nix/store/l9hcs7gapmg0d0hizi146h9mn03774ga-nixos-18.09/nixos/lib/deprecated.nix:228:52:
while evaluating anonymous function at /nix/store/l9hcs7gapmg0d0hizi146h9mn03774ga-nixos-18.09/nixos/pkgs/development/haskell-modules/make-package-set.nix:275:32, called from /nix/store/l9hcs7gapmg0d0hizi146h9mn03774ga-nixos-18.09/nixos/pkgs/development/haskell-modules/make-package-set.nix:219:49:
while evaluating anonymous function at /nix/store/l9hcs7gapmg0d0hizi146h9mn03774ga-nixos-18.09/nixos/pkgs/development/haskell-modules/make-package-set.nix:270:12, called from undefined position:
while evaluating anonymous function at /nix/store/l9hcs7gapmg0d0hizi146h9mn03774ga-nixos-18.09/nixos/pkgs/development/haskell-modules/make-package-set.nix:270:33, called from /nix/store/l9hcs7gapmg0d0hizi146h9mn03774ga-nixos-18.09/nixos/pkgs/development/haskell-modules/make-package-set.nix:270:19:
while evaluating the attribute 'outPath' at /nix/store/l9hcs7gapmg0d0hizi146h9mn03774ga-nixos-18.09/nixos/lib/customisation.nix:150:7:
while evaluating the attribute 'src' of the derivation 'example-0.0.1' at /nix/store/l9hcs7gapmg0d0hizi146h9mn03774ga-nixos-18.09/nixos/pkgs/stdenv/generic/make-derivation.nix:177:11:
what does the current source have to do with env?

Okay.  I followed your example through.  I believe you are saying the current directory was only sucked in because it was referenced in my .nix file as the shell.nix file generated as you did above doesn't reference ./. and building it doesn't suck any of it in as you would expect.
I don't disagree with this.  What I am saying is when you used to use the .env attribute, it seemed to totally ignore the src variable.    You can see this above in my example where I set src to throw an exception.  Under 18.03 no exceptions are raised.  Under 18.09 it explodes in your face.
Strangely, in my testing, whether it explodes or not seems to depend on exactly what libraries you include.  If you include just base it is okay.  If you include bytestring it is okay.  If you include unamb or linear it explodes in your face.  Seems a bit strange.
Thanks!  -Tyson

After bisecting it was clear that my https://github.com/NixOS/nixpkgs/pull/46453 was the cause of this, now trying to figure out why..

Aha! I found the culprit. It's these lines originally introduced by @ElvishJerricco in https://github.com/NixOS/nixpkgs/pull/36393#discussion_r172656016:
https://github.com/NixOS/nixpkgs/blob/483914b30c793b1d88b9e37a4982052eb642d971/pkgs/development/haskell-modules/make-package-set.nix#L272-L277
It's to filter out dependencies that are in the selected package list, because those usually want to get build by cabal directly (for development), not through nix.
The input.outPath != p.outPath comparison requires both input and p to be evaluated as derivations, which means strictly. And because p comes from selected which comes from packages which comes from the package you use the .env of, the source of it gets evaluated.
Now how could we solve this:

Do a smarter filter that doesn't need to compare derivations a with a's direct dependencies (because those will never be equal)
Just change the filter to a name comparison (input.name != p.name)

This also explains why it didn't blow up with bytestring and base: These libraries are packaged with ghc, so they're really null (check with nix eval nixpkgs.haskellPackages.base), which means that the helper functions won't be able to determine any dependencies for these, so haskellBuildInputs of those will be [], meaning concatMap (p: p.haskellBuildInputs) packageInputs = [], so the filter doesn't even call the function doing the strict derivation thing because there are no elements to filter.

@twhitehead, you were right! Nice catch. Thank you for following through with the bug report.

@peti no problem.  Reading back through my original error report, I can see it wasn't the greatest for really bringing out the issue.  I really should have led with the second throw example.  Thanks for the original followup that got me to clarify things.

Thanks!  :+1:

Reopening because the related commit was reverted in 18.09 in https://github.com/NixOS/nixpkgs/commit/a1156b996ae05d209833e25dd907cf237a9da239, because the tarball job was failing.

Funny that revert commits also close issues :)

I am unsure about the state of this issue. Is this still relevant?

@peti Not totally sure, but it seems fixed:
(with import (fetchTarball channel:nixos-19.09) {}; haskellPackages.mkDerivation {
  pname = "foo";
  version = "1";
  license = null;
  src = ./foobarbazbar;
}).env

$ mkdir ./foobarbazbar
$ nix-shell foo.nix --run :
$ find /nix/store -maxdepth 1 -name "*-foobarbazbar"

The find command generates no output, implying no directory named foobarbazbar was sucked in. Not sure if this is comprehensive or not.

@ElvishJerricco See https://github.com/NixOS/nixpkgs/issues/51079#issuecomment-442208668, I can still reproduce it with that example there

I haven't done any further looking into this since the reversion, but, at least in the original issue, you need a dependency outside of base to trigger it, such as linear in the above example. The reason for this at that time was explained in this comment, and the one above it, by @Infinisil.

Just finished checking my earlier test case (https://github.com/NixOS/nixpkgs/issues/51079#issuecomment-442208668) and pleased to report there is no exception thrown on 20.03. I'll close this issue. Thanks everyone for the work! :smile:

This has reoccurred, in fact I opened a duplicate issue I think some months ago: https://github.com/NixOS/nixpkgs/issues/86775
I also have a minimal reproducer https://github.com/expipiplus1/nix-repro-86775


deadpixi-sam: init at 2016-09-15

Motivation for this change
A standalone updated sam.
Things done

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

[x] NixOS
[ ] OS X
[ ] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
x ] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

upstreamed the packaging issues ( https://github.com/deadpixi/sam/issues/21 ) so it's really working well and functioning properly now :)

Awesome. Thanks!


Bug: switchbot.discover is not a function

Describe the Bug
Triggering the switchbot from homebridge is no longer working as of the latest version with the error message switchbot.discover is not a function. These devices had been added and working for a few years prior.
To Reproduce
Run homebridge and view logs. Attempt to control switchbot through homebridge. Switchbot can be operated through switchbot app in iOS.
Expected Behavior
The plugin should be able to discover devices
Relevant Log Output
[9/6/2023, 2:05:40 PM] [SwitchBot] Was 'node-switchbot' found: false
[9/6/2023, 2:05:40 PM] [SwitchBot] Bot: Skylights Closed failed pushChanges with BLE Connection, Error Message: "switchbot.discover is not a function"

### Config for homebridge-switchbot

```shell
{
            "name": "SwitchBot",
            "credentials": {
                "token": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
                "secret": "xxxxxxxxx",
                "notice": "Keep your Token & Secret a secret!"
            },
            "options": {
                "devices": [
                    {
                        "deviceId": "xxxxxxxxxxxxxx",
                        "configDeviceName": "Open",
                        "configDeviceType": "Bot",
                        "connectionType": "BLE",
                        "bot": {
                            "mode": "press",
                            "deviceType": "window",
                            "doublePress": 1
                        },
                        "offline": true
                    },
                    {
                        "deviceId": "xxxxxxxxxxxxxxx",
                        "configDeviceName": "Closed",
                        "configDeviceType": "Bot",
                        "connectionType": "BLE",
                        "bot": {
                            "mode": "press",
                            "deviceType": "window",
                            "doublePress": 1
                        },
                        "offline": true
                    }
                ]
            },
            "platform": "SwitchBot"
        },

Screenshots
No response
Device and Model
Switchbot
Node.js Version
v18.17.1
NPM Version
v9.6.7
Homebridge Version
v1.6.1
Homebridge Switchbot Plugin Version
v2.8.2
Homebridge Config UI X Plugin Version
v4.50.5
Operating System
Raspbian GNU/Linux (11)

The latest version that works for me is:
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>

Can you try the latest beta:

Click here to find out how to install Beta

Can you try the latest beta:

Click here to find out how to install Beta

Same error message, unfortunately

The latest version that works for me is:
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>

please install latest beta 2.9.0-beta.21 and then post this info again

please install latest beta 2.9.0-beta.21 and then post this info again

<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>
and
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>
Unfortunately I see the same message with the beta you recommended and also the latest beta:
failed pushChanges with BLE Connection, Error Message: "switchbot.discover is not a function"
I believe I was wrong about the latest version that works for me. I just checked and I have v2.6.2 installed. Any version after that, I see the same not a function error message.


@std/async/deadline with @std/testing/time doesn't work

Describe the bug
The Promise returned from the<EMAIL_ADDRESS>(but from<EMAIL_ADDRESS>won't be fulfilled by FakeTime from @std/testing/time.
Steps to Reproduce
import { delay } from "jsr<EMAIL_ADDRESS>import { assertEquals } from "jsr<EMAIL_ADDRESS>import { deadline as deadlineOld } from "jsr<EMAIL_ADDRESS>import { deadline as deadlineNew } from "jsr<EMAIL_ADDRESS>import { FakeTime } from "jsr:@std/testing/time";

Deno.test("deadline v0.224.0", async () => {
  using t = new FakeTime();
  const p = deadlineOld(delay(1000), 10);
  let state: "pending" | "rejected" | "fulfilled" = "pending";
  p.then(() => {
    state = "fulfilled";
  }).catch(() => {
    state = "rejected";
  });
  await t.tickAsync(10);
  await t.runMicrotasks();
  assertEquals(state, "rejected");
});

Deno.test("deadline v1.0.0", async () => {
  using t = new FakeTime();
  const p = deadlineNew(delay(1000), 10);
  let state: "pending" | "rejected" | "fulfilled" = "pending";
  p.then(() => {
    state = "fulfilled";
  }).catch(() => {
    state = "rejected";
  });
  await t.tickAsync(10);
  await t.runMicrotasks();
  assertEquals(state, "rejected");
});

And the result is
running 2 tests from ./deadline_test.ts
deadline v0.224.0 ... ok (4ms)
deadline v1.0.0 ... FAILED (6ms)

 ERRORS

deadline v1.0.0 => ./deadline_test.ts:21:6
error: AssertionError: Values are not equal.

    [Diff] Actual / Expected

-   pending
+   rejected

  throw new AssertionError(message);
        ^
    at assertEquals (https://jsr.io/@std/assert/1.0.0/equals.ts:47:9)
    at file:///D:/work/vim/denops.vim/deadline_test.ts:32:3

 FAILURES

deadline v1.0.0 => ./deadline_test.ts:21:6

FAILED | 1 passed | 1 failed (15ms)

error: Test failed

Expected behavior
The test pass.
Environment

OS: macOS Sonoma
deno version: v1.45.2
std version: v1.0.0

I'm doing a PR on this now.


Dockerfile that uses pre-build Katas docker image

This PR replaces, in the ⭐binder branch, the original Katas Dockerfile (that starts from iqsharp-base and build all Katas) with a simple Dockerfile that just points to the pre-built Katas docker image.
It can be tested on my fork via
https://mybinder.org/v2/gh/vxfield/QuantumKatas/⭐binder?urlpath=%2Fnotebooks%2Findex.ipynb
The final official URL for MyBinder would be:
https://mybinder.org/v2/gh/microsoft/QuantumKatas/⭐binder?urlpath=%2Fnotebooks%2Findex.ipynb
We should create/update all of our aka.ms Katas URLs to use this special branch.
To-do:

Update the Readme section for local Docker execution, pointing users to use the pre-built image instead of building locally.
Document the manual steps (for now) that will build and publish the Katas pre-built image to MCR. I'll create a work-item to update the QDK build process to do it automatically.

Do you mean to target the ⭐binder branch with this PR, rather than master?

Document the manual steps (for now) that will build and publish the Katas pre-built image to MCR. I'll create a work-item to update the QDK build process to do it automatically.

Would it work to follow the same process as on the samples repo?

@ all: My bad, I wanted to target the same ⭐binder branch but missed it, and did the PR more as a place for review and discussion (and because I was working on my fork).
@cgranade: yes, it would work the same as it works for Samples.
@tcNickolas: I agree with need to automate this, but it would be a once-in-a-month 5-min-step as part of the QDK release (and done by the person working on the QDK release), so I don't see why we should block this perf improvement on that. Anyway, I think I can probably automated it before the next release.

Sorry, you lost me again... From your previous comments my understanding was that if we switch Binder to a pre-built image, we need to update that image every time the Katas are updated, otherwise it will keep using the released version. I don't want the Binder users to use the "released" version of the katas (which is why we go into the whole story of using a separate branch?), so it would not be once a month, it would be once per each Katas master update.

I synced with Mariia offline and (finally!) understood that the requirement is to have the Katas releases decoupled with the monthly QDK releases (we want Katas to be released more regularly).
So we would need an action that every time master changes, we build a new image and update the binder branch.
I think this is what @cgranade started with the Samples: https://github.com/Microsoft/Quantum/actions/runs/93296882/workflow
But anyway, we agreed to postpone this effort as there is little value to end-users (this will only help improve the initial MyBinder downtime ~30 min per release after master has changed).

But anyway, we agreed to postpone this effort as there is little value to end-users (this will only help improve the initial MyBinder downtime ~30 min per release after master has changed).

For clarity, it can be more than 30 minutes per katas release, as mybinder.org doesn't share caches amongst the different Kubernetes clusters that it load balances onto, so it's about 30 minutes per cluster per release. If a user gets unlucky and is the first to be load balanced onto a cluster, that can cause a problem. I don't know how often mybinder.org caches are cleared either, such that it could be more frequent if caches are cleared between kata releases.


Make sig for Random.rand match Random#rand

Since Random.rand is an alias for Random::DEFAULT.rand, its sig should match Random#rand, so copy the overloads from
https://github.com/sorbet/sorbet/blob/aad48ab2cc39c8f30237f63af147393d10cd243f/rbi/core/random.rbi#L126-L138
Also fixed Random.rand and Random.new.rand without any arguments.
The runtime behavior looks like this:
[1] pry(main)> r = Random.new
=> #<Random:0x00007ff6a131f750>
[2] pry(main)> r.rand.class
=> Float
[3] pry(main)> r.rand(1).class
=> Integer
[4] pry(main)> r.rand(1.0).class
=> Float
[5] pry(main)> r.rand(1..1).class
=> Integer
[6] pry(main)> r.rand(1.0..1.0).class
=> Float
[7] pry(main)> Random.rand.class
=> Float
[8] pry(main)> Random.rand(1).class
=> Integer
[9] pry(main)> Random.rand(1.0).class
=> Float
[10] pry(main)> Random.rand(1..1).class
=> Integer
[11] pry(main)> Random.rand(1.0..1.0).class
=> Float

Motivation

Can't use Random.rand(1...1000).
Test plan

Added a test file and ran ./bazel run //main:sorbet -- $PWD/test/testdata/rbi/random.rb.
See included automated tests.

Could you rebase your branch on master? I'll take a look after that 👍

@elliottt Done!


Page scroll 📜 conflict with panning 3D model

Whenever you open NFT item detail on mobile https://nft.kodadot.xyz/rmrk/detail/7373514-e8fe2f9cd718f4c43f-HQP8Q-HEDGEHOG-0000000000000001
Seems the container is somehow borked.
Uploading Screen Recording 2021-05-09 at 12.07.33.mov…

Ok, probably it has something to do in gallery item name doesn't wrap and are too long

This is resolved by #386


wheres the plane

錔ভlsdf
'lasdf
'asldf
'as/dlf
'asdlf
'afl

this is 100% gonna get moderated from github

￼႓

naw

:3

this is just discord but better

parker call on discord

ASNWER NOOW

howww i cant


README content

Please provide more details about this repository on your readme file.
Regards.

Hi @Lynnmwova ,
Thank you for bringing this up, it is really quite important to have a README to enable others to understand what is going on with the repo.
This repository is dedicated to helping fellow learners of Git, get a broader understanding on Git.
It consists of merely my suggestion and guidelines on learning the Git basics.
You are welcome to assist me create this repository as well as learn and practice a few concepts regarding Git.
Allow me to create a simple draft of the README.md file for a start.
Regards,
Peter Nyarunda.

Looking forward to working with you.
Regards,
Pauline Mwova
On Thu, 2 Feb 2023, 09:32 Peter-Nyarunda, @.***> wrote:

Hi @Lynnmwova https://github.com/Lynnmwova ,
Thank you for bringing this up, it is really quite important to have a
README to enable others to understand what is going on with the repo.
This repository is dedicated to helping fellow learners of Git, get a
broader understanding on Git.
It consists of merely my suggestion and guidelines on learning the Git
basics.
You are welcome to assist me create this repository as well as learn and
practice a few concepts regarding Git.
Allow me to create a simple draft of the README.md file for a start.
Regards,
Peter Nyarunda.
—
Reply to this email directly, view it on GitHub
https://github.com/Peter-Nyarunda/git-basics/issues/1#issuecomment-1413221021,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATUKK477WYADKCAQ4MJIVW3WVNIHJANCNFSM6AAAAAAUOEZ2BY
.
You are receiving this because you were mentioned.Message ID:
@.***>


Update deps

I'm getting this in another PR, too. But why. hmm...

Maybe we are not using the latest versions.
I'll check it later.

oopsi. merge conflict :)

The windows-CI thing is something different and still unknown.
But the OS/X breakage I just pushed a fix onto master. You should rebase for that.
p.s.: I work with rebase instead of repeately merging master into working branches. This keeps the history more linear / clean.


Handling of custom Bandcamp URLs

This pull request is in response to this issue on FredBoat's handling of custom bandcamp urls.
In attempting to respond to this issue, I realized that the fix would have to be made in lavaplayer and looked to make this fix.
I had trouble figuring out how to test this change using gradle to build the library, but I was able to compile the library with the change.
This is my first PR so any feedback or input on the issue would be appreciated.

This would not be wise to merge in its current state. It makes a request for every URL that reaches the source manager (e.g. Twitch, thus breaks handling for Twitch links and source managers that proceed Bandcamp's with regards to registry hierarchy). This means excess network requests and also the potential to leak a machine's IP address.

Closing as this is not a viable solution for this issue. Only way to do this without doing extra HTTP requests would be to implement as a MediaContainerProbe that somehow redirects (see PlainPlaylistContainerProbe) that then is detected by the BandcampAudioSourceManager.

Closing as this is not a viable solution for this issue. Only way to do this without doing extra HTTP requests would be to implement as a MediaContainerProbe that somehow redirects (see PlainPlaylistContainerProbe) that then is detected by the BandcampAudioSourceManager.


added logging info stating that ratings and products have been loaded

Previously, the logging stated that the data sets were "loading" but did not give notification that they had "loaded". I added these.
n.b. I will need to update the screenshots in the jiminy tutorial to reflect this change, once the PR is merged.

lgtm, we should probably consider adding some sort of try/except block to catch any possible errors that might arise. but i think we can save that for a followup.


For Gateway API docs, specify KIC version - GWAPI version feature relationships

Is there an existing issue for this?

[X] I have searched the existing issues

Problem Statement
As a user of KIC I don't know whether the version I'm using supports some Gateway API feature (or if it was added in a later version of KIC).
Diffing docs pages for two different KIC versions is a workaround, but it's tedious and @rainest @czeslavo agree that this is bad UX.
Proposed Solution
This page to include a mapping saying "KIC version X supports GWAPI feature Y"
Additional information
No response
Acceptance Criteria

[ ] The mapping between KIC versions and GWAPI features is present on this docs page

As https://github.com/Kong/docs.konghq.com/pull/4869 is merged, I think we may close it as done.


[5.4] Add ability to create api controllers

https://github.com/laravel/internals/issues/580
php artisan make:controller --api --resource

Makes a resource controller without create and edit methods.

Works also with model and parent options. Uses the plain controller if used alone.

No plans to add this for now.


Add option to show editor actions in title bar

This pull request adds a new configuration option, workbench.editor.showEditorActionsInTitleBar, which controls whether editor actions are shown in the title bar. This value only applies when window.titleBarStyle is set to custom and workbench.editor.showTabs is set to none. This feature is useful for users who prefer a minimalistic UI and want to access editor actions quickly.
Fixes #196384

As discussed with @sandy081, we will make Accounts/Manages Actions unhideable until we have a good solution for creating submenus for these actions when they are hidden.


usage_stats module needs to prune data

It's uploading 1MB worth of data, while only a fraction gets used

Resolved with PR #934


perf(es/ast): Use swc_allocator

Description:
Related issue (if exists):

I'll retry this after merging https://github.com/swc-project/swc/pull/9313


[fix] Fixed alert icon URL in HelpTextStackedInline template

Changes
The default value for the help text icon included a leading "/". This resulted in "Server 500" with CompressStaticFilesStorage storage backend.
Checklist

[x] I have read the contributing guidelines.
[x] I have manually tested the proposed changes.
[ ] I have written new test cases to avoid regressions. (if necessary)
[ ] I have updated the documentation. (e.g. README.rst)
[ ] I have added [change!] to commit title to indicate a backward incompatible change. (if required)
[ ] I have checked the links added / modified in the documentation.

#Closes #(issue-number)#

Coverage remained the same at 98.539% when pulling dc5489622d803a48f7c4ca397155219b9413d0fe on fix-help-text-stacked into c8e28a0d5905e045eccd8f1ccf5f9b7a18884bce on master.


Mock PR

This PR here only to trigger CI.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

43 of 47 (91.49%)  changed or added relevant lines in 3 files are covered.
3 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.5%) to 94.987%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

embedded_postgres.go
35
39
89.74%

Files with Coverage Reduction
New Missed Lines
%

embedded_postgres.go
3
89.55%

Totals

Change from base Build<PHONE_NUMBER>:
-0.5%

Covered Lines:
379

Relevant Lines:
399

💛  - Coveralls


Chapters from RoyalRoad have "this chapter is stolen" type of text

Source information
RoyalRoad
Steps to reproduce
Chapters recently pulled from RoyalRoad have "this chapter is stolen" type of text
See below screenshots from the app and from the site.  Reference chapter: https://www.royalroad.com/fiction/26294/he-who-fights-with-monsters/chapter/1524805/chapter-846-a-cocktail-of-ignorance-arrogance
App:

Site:

Expected behavior
The highlighted text shouldn't appear
Actual behavior
Extra text appears that is not available on the site.
LNReader version
1.1.19
Android version
Android 12.1
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open issue.
[X] I have written a short but informative title.
[X] I have updated the app to version 1.1.12.
[X] I have updated all installed extensions.
[X] If this is an issue with the app itself, I should be opening an issue in the app repository.
[X] I will fill out all of the requested information in this form.

seems like be fixed in v2 beta
You can try v2 beta or wait for its stable release