Development setup with PyCharm

I spent entire last evening to try and get FinRL, ElegantRL and FinRL-Meta up and running in an IDE on a local machine for easy debugging and development.  After this interesting adventure cough cough, I propose to add the following to the docs.
Can anyone please test this to see if it all works properly?
I'm open to any suggestions and/or modifications.
For the future PR: to which file best to commit?
Development setup with PyCharm
This setup makes it easy to work on all of AI4Finance-Foundation's repositories simultaneously, while allowing easy debugging, committing to the respective repo's and creating PR's.
Intro

Download and install Anaconda.
Download and install PyCharm.  The Community edition (free) offers everything you need.
[Github] Fork FinRL to your private repo.
[Github] Fork ElegantRL to your private repo.
[Github] Fork FinRL-Meta to your private repo.
All next steps happen on your local machine

Download files
mkdir ~/AI4Finance
cd ~/AI4Finance
git clone https://github.com/[your_github_username]/FinRL.git
git clone https://github.com/[your_github_username]/ElegantRL.git
git clone https://github.com/[your_github_username]/FinRL-Meta.git
Create a Conda environment
cd ~/AI4Finance
conda create --name ai4finance python=3.8
conda activate ai4finance
cd FinRL
pip install -r requirements.txt
cd ..
cd ElegantRL
ElegantRL does not contain a requirements.txt, so open setup.py in a text editor and pip install anything you can find under 'install_requires'
Configure PyCharm project

Launch PyCharm
File > Open > [AI4Finance project folder]
At the bottom right of the status bar, change the interpreter to the ai4finance conda environment.
At the left of the screen, in the project file tree:

Right-click on the FinRL folder > Mark Directory as > Sources Root
Right-click on the ElegantRL folder > Mark Directory as > Sources Root
Right-click on the FinRL-Meta folder > Mark Directory as > Sources Root

Creating commits and PR's

Create your commits as you usually do through PyCharm.
Make sure each commit covers only 1 of the 3 repo's.  E.g. don't create a commit that spans both FinRL and ElegantRL.
When you do a Git Push, PyCharm will ask you to which of the 3 repo's you want to push.

Thanks very much, appreciate!

Thanks for your suggestions.
We will integrate it to docs.

@ihopethiswillfi  would you like to help update your steps on the website https://finrl.readthedocs.io/en/latest/index.html
It can be done via the docs folder: https://github.com/AI4Finance-Foundation/FinRL/tree/master/docs

@XiaoYangLiu-FinRL, sounds good, I will submit a PR later to add a new page here:
https://github.com/AI4Finance-Foundation/FinRL/tree/master/docs/source/developer


Display city on high risk based on last few days patient report

Analyse all the patient reported in last 7 days and display city which should be on high alert. It will help ppl to be more careful on those cities.
Thanks

quick starting point would be just count the patient per city and put them in high, medium and low
For further improvement: analyse patient profile and predict if patient would have met several ppl in last 14 days based on his/her work profile.

It will be hard to get city wise report as the city info is missing for 126 out of 612 records. We need more accurate result to get city wise stats.

Do we have state info ? if yes then do the following

Remove them from your initial city list preparation.
Add those number as a delta to top 2-3 cities. Depending upon no. of patient you got, you can distribute it over top 2 or 3 cities.
Put (*) mark in front of delta and explain it below
E.g: Lets say for Maharashtra, 20 patients are without city information and lets Mumbai and Pune are the high risk city. So you can display something like this
Mumbai: No. of Patient + ( Δ No. of Patient without city info)
Pune: No. of Patient + ( Δ No. of Patient without city info)

We have city wise data now and missing city info is not a big deal since we have some info in district column as well.
https://jsoneditoronline.org/#left=cloud.af647c63547e47eab03bc171ff90bb8b
I will work on visualization tomorrow. Any idea which graph should I use for it ?

Not an expert in UI, basically I am Machine Learning and backend guy. Sorry

@msoni11 can use the city filter pane.

I was planning to add a new tab called "Hot Cities" in filter pane and show network of patients connected with cities. It will show network graph of top 5 cities only and clicking on city node will display detailed information about that city on side pane.
Instead of adding new tab, I will now add a new button called "Hot cities" on city network area.

Very good work


-DURHO3D_WIN32_CONSOLE=ON does not set Editor linker subsystem to console.

-DURHO3D_WIN32_CONSOLE=ON does not set linker subsystem to Console instead of Windows for the Editor project in tools.

Thanks!


Managed log source for AWS ECR image scanning

Add support for managing data from ECR's image scanning service.
Considerations
ECR supports automatic vulnerability scanning on push for container images.
There are two ways to get these events:

Poll the ECR API
Send results to Amazon Inspector, which can surface events to EventBridge

Tasks

[x] Research, planning, and design
[x] ECS schemas for repository events
[x] VRL transforms
[ ] Docs and examples

Shipped through Amazon Inspector in https://github.com/matanolabs/matano/commit/105cbcc9e83e91a6cbcc1cbab33684ce3bd7d450
Docs at https://www.matano.dev/docs/log-sources/managed-log-sources/aws/amazon-inspector


iOS Crash, physical device and simulator

Each time I try to run it on iOS this happened:
Connecting to the VM Service is taking longer than expected...
Still attempting to connect to the VM Service...
If you do NOT see the Flutter application running, it might have crashed. The device logs (e.g. from adb or XCode) might have more details.
If you do see the Flutter application running on the device, try re-running with --host-vmservice-port to use a specific port known to be available.
Exception attempting to connect to the VM Service: SocketException: OS Error: Connection refused, errno = 61, address = <IP_ADDRESS>, port = 51655
This was attempt #50. Will retry in 0:00:01.600000.
Exception attempting to connect to the VM Service: SocketException: OS Error: Connection refused, errno = 61, address = <IP_ADDRESS>, port = 51819
This was attempt #100. Will retry in 0:00:01.600000.
If I try again:
[+1684 ms] Observatory URL on device: http://<IP_ADDRESS>:63790/gFnOkvXor3Y=/
[  +10 ms] Caching compiled dill
[ +136 ms] Connecting to service protocol: http://<IP_ADDRESS>:63790/gFnOkvXor3Y=/
[  +74 ms] Fail to connect to service protocol: http://<IP_ADDRESS>:63790/gFnOkvXor3Y=/:
HttpException: Connection closed before full header was received, uri =
http://<IP_ADDRESS>:63790/gFnOkvXor3Y=/ws
[   +2 ms] Error connecting to the service protocol: failed to connect to
http://<IP_ADDRESS>:63790/gFnOkvXor3Y=/
[   +5 ms] "flutter run" took 134,135ms.
[  +11 ms]
#0      throwToolExit (package:flutter_tools/src/base/common.dart:10:3)
#1      RunCommand.runCommand
(package:flutter_tools/src/commands/run.dart:669:9)

#2      FlutterCommand.run.
(package:flutter_tools/src/runner/flutter_command.dart:1125:27)

#3      AppContext.run.
(package:flutter_tools/src/base/context.dart:150:19)

#4      CommandRunner.runCommand (package:args/command_runner.dart:209:13)

#5      FlutterCommandRunner.runCommand.
(package:flutter_tools/src/runner/flutter_command_runner.dart:288:9)

#6      AppContext.run.
(package:flutter_tools/src/base/context.dart:150:19)

#7      FlutterCommandRunner.runCommand
(package:flutter_tools/src/runner/flutter_command_runner.dart:236:5)

#8      run..
(package:flutter_tools/runner.dart:62:9)

#9      AppContext.run.
(package:flutter_tools/src/base/context.dart:150:19)

#10     main (package:flutter_tools/executable.dart:92:3)

[ +402 ms] ensureAnalyticsSent: 213ms
[   +1 ms] Running shutdown hooks
[        ] Shutdown hooks complete
[        ] exiting with code 2
It works fine on Android, I also tried on other projects and it works on iOS, I don't know if is a problem with other dependency.
Edit:
Ok, I think this dependency is the problem:
flutter_html: ^2.1.2
I've tried on a new project with only two dependencies, no code, and it crash.

If it's not related to this dependency can you please close this?

I don't think the issue is related to this dependency, I'm closing this issue. For further issues kindly create a new issue


Call a future multiple times?

So far I'm seeing this is not possible. I'm looking for a way to replace callback logic where the callback is executed 2 times.
The reason I have this is a webservice call with a local-database cache. I always return to the caller the result of the local database and do webservice call in the background. If the result of the webservice call is different from the result which I returned from the local db, I return this result (again) to the caller. So my callback can be executed 1 or 2 times. The idea is to show the cached result to the client as soon as possible, and if there's a change in the remote data to refresh the UI immediately with it.
Previously I had (roughly) something like:
func myCall(handler: (MyResult) -> ()) {
    getFromLocalDB {localDBResult in
         handler(localDBResult)
    }

    getFromRemote {remoteResult
         //...
         if remoteResult != localDBResult {
             handler(remoteResult)
         }
    }

This is what I came up as replacement using futures (I have little experience with futures, maybe what I'm doing is entirely wrong):
func myCall() -> Future<MyResult, NSError> {

    let promise = Promise<MyResult, NSError>()

    getFromLocalDB.onComplete {result in
         // ...
         promise.success(localDBResult)
    }

    getFromRemote.onComplete {result
         // ...
         if remoteResult != localDBResult {
             promise.success(remoteResult)
         }

    return promise.future
}

But this causes an assertion error on the second success call because the future is already completed.
I came up with a solution in which I return 2 futures, like this:
func myCall() -> (cached: Future<MyResult, NSError>, remote:  Future<MyResult, NSError>) {

    let promiseCached = Promise<MyResult, NSError>()
    let promiseRemote = Promise<MyResult, NSError>()

    getFromLocalDB.onComplete {result in
         // ...
         promiseCached.success(localDBResult)
    }

    getFromRemote.onComplete {result
         // ...
         if remoteResult != localDBResult {
             promiseRemote.success(remoteResult)
         }

    return (cached: promiseCached.future, remote: promiseRemote.future)
}

And handle with a common closure:
let completion: Result<[MyResult], NSError> -> () = {result in
    // ...
}

let (cached: Future<[ListItem], NSError>, remote: Future<[ListItem], NSError>) = getMyResults()

cached.onComplete { // this additional closure is necessary - somehow it was not possible to pass the completion closure directly
    completion($0)
}
remote.onComplete {
    completion($0)
}

And that works, but I wonder if there's a better way. Having the handler callback called twice is maybe not the cleanest way to implement this, but there may be other scenarios with a callback-similar setup which has to be called multiple times.

A future is something that completes once and only once. It is a feature, but also a restriction. A restriction you seem to be running into. I think there is a good solution for this problem using futures, but you could also look into using a Signal (e.g. with ReactiveCocoa).
A possible solution to your issue.
Create a type DataResult:
enum DataResult<E> {
    case CacheMiss(Box<E>)
    case CacheHit(Box<E>, Future<E, NSError>)
}

myCall will return a future with this type:
func myCall() -> Future<DataResult<[ListItem], NSError> { ... }

When you call myCall you can handle both the cache miss & hit scenario's:
myCall().onSuccess { dataResult in
    switch dataResult {
        case .CacheMiss(let boxedValue)
            handleData(boxedValue.value)
        case .CacheHit(let boxedValue, let future):
            handleData(boxedValue.value)
            future.onSuccess(handleData)
    }
}

func handleData(list: [ListItem]) {

}

Does this help?

Not sure how this solves my issue. As I wrote I want to be able to call the handler twice (once when there's a cache hit and the other, after it, when there are results from remote provider, and they are different from cache). Here myCall() returns a single future and onSuccess can be called only once. This is why I came up with the solution where I return a tuple with 2 futures, one with the cache response, and the other with the remote response...

A future will only complete once, there's no way around that. However, there are ways to work around/with this. Both your own example as well as my suggestion offer a workable solution, in my view.
The advantage to the approach I suggested is the safeness that you get by using the enum. It describes all possible cases exhaustively. You could even abstract away the whole handling of that enum to make it even nicer:
func handleDataResult<E>(f: Future<DataResult<E, NSError>>, callback: E -> ()) {
	myCall().onSuccess { dataResult in
	    switch dataResult {
	        case .CacheMiss(let boxedValue)
	            handleData(boxedValue.value)
	        case .CacheHit(let boxedValue, let future):
	            handleData(boxedValue.value)
	            future.onSuccess(handleData)
	    }
	}
}

In code, you could then do:
handleDataResult(myCall) { val in
	// this closure is called twice
}

In Swift 2, you could even go further by defining a handleDataResult-like function on futures that complete with DataResult using protocol extensions.

Sorry, my phrasing was probably misleading, I meant to call my handler twice, not the future's completion handler, it's clear now that this can be executed only once.
Now I think I also get your example. It's a bit confusing, though, because the case names seem to be incorrect. The .CacheMiss case seem to correspond to cache hit and .CacheHit to the case where the result is fetched from the server...

Ok, thanks for clearing that up. We now agree that calling your handler is both desirable and possible :)
If you have no further questions, feel free to close the issue. Thanks!

Thanks for your help!


Automate min font sizes standard

Split off from #11.
See https://github.com/cucumber-ltd/bbc-a11y/blob/master/standards/21_min-font-sizes.md

I think this is possible, with a configuration hook to specify a selector for the core content, defaulting to <main>.

Min font sizes rule is automated now... can we open a new issue for the  bit?

I think we should close this, because the font-size standard is automated, and the "core content must be >= 13px" would require a definition of "core content" which is probably too difficult to be worth it.

I agree. @EmmaJP are you with us?

Agreed.


observing error 404 when MWDI is receiving device-attribute-value-change notification

When MWDI started to receive the backup related device-attribute-value-change notification on API : v1/regard-device-attribute-value-change, observing error 404
{"notification-proxy-1-0:attribute-value-changed-notification":{"counter":312,"timestamp":"2024-03-22T09:28:52+01:00","object-path":"/core-model-1-4:network-control-domain=live/control-construct=513559991B/backup-and-restore-1-0:backup-and-restore-pac/backup-and-restore-status","attribute-name":"backup-operation-status","new-value":"BACKUP_STATUS_TYPE_COMPLETED"}}

The object-path does not exists in the list of available API's for MWDI, this is why the response is a 404 - not found

Backup and restore - avc notification not on priority .
Hence closing the issue.


Fov tangent multiplier

Hello,
I'm using Virtual Desktop/VDXR with Dirt Rally 2 and I'm using the hiddenMeshVerticalScale OpenComposite setting. Doing this improves performance significantly.
I tried to do this with Automobilista 2 but couldn't get it to work. I even tried OpenXR Toolkit with the FOV setting, but it distorts the image too much. Currently, I'm stuck with Meta Link for this game because of this issue.
When playing simracing games, it is great to reduce the vertical FOV, not only for performance but also because it is more immersive, like wearing a helmet.
Is there a way to do this with Virtual Desktop/VDXR? If not, is there any chance this feature could be implemented in the future?

I offer no support for any apps running OpenComposite.

I @mbucchia
My question is not specific to 0pencomposite, iRacing or WRC both use OpenXR runtime and I cannot set vertical FOV tangent multiplier when using Virtual Desktop/VDXR.


Hidden fields hold space and inherit a borderline from .form-group::after

Gridfield pagination buttons missing styles

Fixed as part of bootstrap updates


wrong code in the documentation

http://lightning-viz.org/documentation/#initialize-python
There is a typo in the code of importing lightning:
from lighting import Lightning
It should be lightning rather than lighting

Fixed, thanks for pointing this out!
Please let us know if you notice any other mistakes or confusing parts of the documentation. The source is here https://github.com/lightning-viz/lightning-viz.github.io/tree/src


How to use Security Schemas?

Is there any explanation of how security schemas and authentication works with SwashBuckle?
I create an API using OpenIddict.
Now I have an AccountController and UI from default MVC Core template. So I use /Account/Login to manually login and use SwashBuckle with controllers that require authorization.
As I understand in case I remove that the only way will be to set up SwashBuckle to work with authentication.
Could someone write a guide of how to set it up? The sample is not too self descriptive.

Other than the example site, I haven't got round to documentation for this. However, there's lots of good resources out there to help you. First and foremost, I would recommend reading the Swagger specification and in particular the sections on Security Definitions and Security Requirements.
Once you've done this, you'll need to figure out how to describe your specific security scheme in Swagger, independently of Swashbuckle. Once you've done this, you can start configuring SB to output the appropriate Swagger. For this, I found the following resources which seem like they could be very useful:
http://knowyourtoolset.com/2015/08/secure-web-apis-with-swagger-swashbuckle-and-oauth2-part-1/
https://blogs.msdn.microsoft.com/pratushb/2016/04/28/enable-swagger-to-authenticate-against-azure-ad/


Improvements of Glossary Approval Workflow

The problem*
We have updated OpenMetadata to v1.2 and faced with the following problems:

we have already Glossary filled out in v1.1 so when v1.2 was installed we found all our terms in "Approved" status. However it is crucial for our business processes to be able to start Glossary Approval Workflow not only when a new term is created via UI.
current behaviour is that Glossary Approval Workflow starts only if Reviewers were added to parent term in UI

The desired solution
So we would like to suggest you to add the following functionality that will boost usability of Glossary:

If terms were created via Bulk Import: in csv-file user sets Reviewers, puts term in "Draft" status -> then these terms massively are sent to provided reviewers
It will be more convenient to be able to set Reviewers and start Glossary Approval Workflow directly when creating a term regardless if Reviewers were added to parent term or not.
So the desired flow for the new terms in UI is:

user creates a new term (but in the parent term there is no specified reviewers)
user sets a Reviewer in the card of new term
term is created in the "draft" status and in that moment Glossary Approval Workflow starts
This logic also works for the solution described in the first paragraph. I mean when user wants to create several terms simultaneously he will have to set a Reviewer only for the current term and not for parent.

Sometimes there is a necessity to audit terms and resend terms to reviewers again (for instance when formula of metric has charged)

Can you add maybe "restart Glossary Approval Workflow" button in order to resend term to reviewers again?

@pmbrull lets look at this during the workflows execution

Fixed in 1.6.0


Page folder support

zola serve has failed when I have tried a folder style to write a page.
The following is the structure of the folder structure of my page,

contents

blog

0004-continuous-delivery

index.md
index.ja.md

I want to use a folder style because I want to include some image files dedicated to the blog post.

It crashed at get_url.
Although there is no difference between the URL of a single md file style and that of a folder style, the parameters given to get_url are different.


Fix for issue #3160, is not fully working.

Which version and edition of Flyway are you using?
7.9.1 Community
If this is not the latest version, can you reproduce the issue with the latest one as well? (Many bugs are fixed in newer releases and upgrading will often resolve the issue)
Yes
Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin)
Command-line
Which database are you using? (Type & version)
Oracle 19c EE
Which operating system are you using?
DB: Oracle Linux 7.9
Client: Windows 8.1
What did you do? (Please include the content causing the issue, any relevant configuration settings, the SQL statement(s) that failed (if any), and the command you ran)
I have tested the latest version 7.9.1, it is not fixed.
The Additional regex (ACCESSIBLE_BY_REGEX) in the file OracleParser.java does not contain the package name to which we grant the access. Below is an example:
create or replace package dba_toolbox.data_core_pkg
  accessible by (package **data_pkg**)
  as

When I remove the accessible by line, it works fine.
Below is the terminal output:

H:\wd\GIT\dba_toolbox\database\DBA_TOOLBOX>flyway -configFiles=P:\Users\eri6d\.config\flyway.conf,H:\wd\GIT\dba_toolbox\database\DBA_TOOLBOX\flyway.conf migrate

Picked up JAVA_TOOL_OPTIONS: -Duser.language=en -Duser.region=US -Dfile.encoding=UTF-8

Flyway Community Edition 7.9.1 by Redgate

Database: jdbc:oracle:thin:@//oracle2604:1621/PDBD_UTEST (Oracle 19.0)

Successfully validated 24 migrations (execution time 00:00.468s)

Current version of schema "DBA_TOOLBOX": 0.0

ERROR: Unable to parse statement in H:\wd\GIT\dba_toolbox\database\DBA_TOOLBOX\sources\R__data_core_pkg.pks at line 1 col 1. See https://flywaydb.org/documentation/knownparserlimitations for more information: Flyway parsing bug: unable to decrease block depth below 0
Caused by: Flyway parsing bug: unable to decrease block depth below 0

What did you expect to see?
H:\wd\GIT\dba_toolbox\database\DBA_TOOLBOX>flyway -configFiles=P:\Users\eri6d\.config\flyway.conf,H:\wd\GIT\dba_toolbox\database\DBA_TOOLBOX\flyway.conf migrate
Picked up JAVA_TOOL_OPTIONS: -Duser.language=en -Duser.region=US -Dfile.encoding=UTF-8
Flyway Community Edition 7.9.0 by Redgate
Database: jdbc:oracle:thin:@//oracle2604:1621/PDBD_UTEST (Oracle 19.0)
Successfully validated 24 migrations (execution time 00:00.449s)
Current version of schema "DBA_TOOLBOX": 0.0
Migrating schema "DBA_TOOLBOX" with repeatable migration "ase pkg"
Migrating schema "DBA_TOOLBOX" with repeatable migration "ase pkg body"
Migrating schema "DBA_TOOLBOX" with repeatable migration "data core pkg"
Migrating schema "DBA_TOOLBOX" with repeatable migration "data core pkg body"
Migrating schema "DBA_TOOLBOX" with repeatable migration "data pkg"
Migrating schema "DBA_TOOLBOX" with repeatable migration "data pkg body"
Migrating schema "DBA_TOOLBOX" with repeatable migration "get current scn fct"
Migrating schema "DBA_TOOLBOX" with repeatable migration "get env fct"
Migrating schema "DBA_TOOLBOX" with repeatable migration "param pkg"
Migrating schema "DBA_TOOLBOX" with repeatable migration "param pkg body"
Migrating schema "DBA_TOOLBOX" with repeatable migration "roles pkg"
Migrating schema "DBA_TOOLBOX" with repeatable migration "roles pkg body"
Migrating schema "DBA_TOOLBOX" with repeatable migration "session pkg"
Migrating schema "DBA_TOOLBOX" with repeatable migration "session pkg body"
Migrating schema "DBA_TOOLBOX" with repeatable migration "stats pkg"
Migrating schema "DBA_TOOLBOX" with repeatable migration "stats pkg body"
Migrating schema "DBA_TOOLBOX" with repeatable migration "test users pkg"
Migrating schema "DBA_TOOLBOX" with repeatable migration "test users pkg body"
WARNING: DB: Warning: execution completed with warning (SQL State: 99999 - Error Code: 17110)
Migrating schema "DBA_TOOLBOX" with repeatable migration "trace log"
Migrating schema "DBA_TOOLBOX" with repeatable migration "trace pkg"
Migrating schema "DBA_TOOLBOX" with repeatable migration "trace pkg body"
Migrating schema "DBA_TOOLBOX" with repeatable migration "users pkg"
Migrating schema "DBA_TOOLBOX" with repeatable migration "users pkg body"
Successfully applied 23 migrations to schema "DBA_TOOLBOX" (execution time 00:02.808s)

What did you see instead?
H:\wd\GIT\dba_toolbox\database\DBA_TOOLBOX>flyway -configFiles=P:\Users\eri6d\.config\flyway.conf,H:\wd\GIT\dba_toolbox\database\DBA_TOOLBOX\flyway.conf migrate

Picked up JAVA_TOOL_OPTIONS: -Duser.language=en -Duser.region=US -Dfile.encoding=UTF-8

Flyway Community Edition 7.9.1 by Redgate

Database: jdbc:oracle:thin:@//oracle2604:1621/PDBD_UTEST (Oracle 19.0)

Successfully validated 24 migrations (execution time 00:00.468s)

Current version of schema "DBA_TOOLBOX": 0.0

ERROR: Unable to parse statement in H:\wd\GIT\dba_toolbox\database\DBA_TOOLBOX\sources\R__data_core_pkg.pks at line 1 col 1. See https://flywaydb.org/documentation/knownparserlimitations for more information: Flyway parsing bug: unable to decrease block depth below 0
Caused by: Flyway parsing bug: unable to decrease block depth below 0

Regards,
Jean Remacle

We're looking at this and should have a fix in the next version.

This should be fixed by 1ee6dd176b6fb8cf9d829fd44d8fc60314b9e179, so closing for now. Do let us know if there continue to be any problems from the next release


produces empty file with node v0.12.0

Thats the result with node v0.12.0
{ self, fetchurl, fetchgit ? null, lib }:

{%

Can reproduce on d880d7975f838b2e791a25364683cfdb2123a60a on https://github.com/bodil/pulp
[nix-shell:~/src/pulp]$ npm2nix --version
5.12.0

It's the same with node v4.1.2 :(


Product.js

Set up for the Product Model is completed

const productSchema = new mongoose.Schema({
name: { type: String },
category: { type: String }, - this was added
description: { type: String },
price: { type: Number },
qty: { type: Number }
},


No FS API

Hi, I'm trying to replicate the test page (http://tantaman.github.io/LargeLocalStorage/test/) without the test frameworks, but I'm getting:
[Q] Unhandled rejection reasons (should be empty): Array [ "(no stack) No FS API" ]
while trying to initialize the LLS. Any ideas?
Thanks

Oh, I think it's solved... I needed to use HTTPS for it to work in Firefox.


Valid values for "files.encoding" in settings.json

VSCode Version: 1.4.0
OS Version: Windows 7 SP1

Steps to Reproduce:

Open settings.json
Try to assign "big5" to "files.encoding"
An error message saying "Value is not accepted..." appeared

I wonder why there are encoding limitations for workspace file encoding?
Anyway that we can work around this?
I really want files in certain folder be opened with big5 by default, no need to change it every time it get opened.
Thanks.

It is cp950

Thanks for prompt reply, the setting worked.
However, cp950 is not in the "Valid values" suggested in the tooltip when an invalid encoding is typed.
Does that mean somewhere there's something like "Valid Encoding Suggestion" that needs to be updated?

Does for me:


ci: run tests

Run tests in the CI. Tests are only half as valuable if you don't realize they fail
Towards #9
Testplan
Tests pass

Any good reason to use yarn here?

Any good reason to use yarn here?

Imo there never is a good reason to use yarn (classic) rather than npm, we still use it everywhere, so that was my default to go to. Changed in https://github.com/ExodusMovement/fetch/pull/10/commits/d9a181a0b02a7c551d8d510beae01b8b96ae34b7


Support multi-arch images build and push automatically

What type of PR is this?

What this PR does / why we need it:
Support multi-arch images build and push automatically for both push on main and new tag
Which issue(s) this PR fixes:
Fixes https://github.com/kmesh-net/kmesh/issues/714
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

/retest

/lgtm
/approve


Optimize typedesc creation for ballerina values

Purpose
Fixes https://github.com/ballerina-platform/ballerina-lang/issues/39715
Fixes https://github.com/ballerina-platform/ballerina-lang/issues/39507
Remarks

List any other known issues, related PRs, TODO items, or any other notes related to the PR.

Check List

[x] Read the Contributing Guide
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

Duplicate of https://github.com/ballerina-platform/ballerina-lang/pull/39716

@warunalakshitha hope this is added to the master branch.

I am working on seperate PR for master branch due to difference in sources.


Add mapping from algo OID to x509 SignatureAlgorithm for DSAWithSHA1

This is preventing me from using this library to validate pkcs7 formatted AWS instance identity documents. See https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/instance-identity-documents.html

@mastahyeti Can you please review and merge this if it looks good? I'd also like to get my other PR merged, but this one is more important as it is a blocker for me.

First of all, sorry for the slow response. I have been traveling for work and haven't had time to look at your PRs until today. As for this change, DSA keys are widely being deprecated since 1024 bit keys are no longer considered safe. This is why I chose not to support DSA keys in this library. That said, you aren't always in control of what algorithms the signer is using. Maybe it makes sense to allow for verification with DSA certs but not signing? I believe that is the effect of your pull request, right?. Can you maybe add some tests to this PR, verifying that 1) DSA signature verification works and 2) that DSA signatures cannot be created?

First of all, sorry for the slow response. I have been traveling for work and haven't had time to look at your PRs until today. As for this change, DSA keys are widely being deprecated since 1024 bit keys are no longer considered safe. This is why I chose not to support DSA keys in this library. That said, you aren't always in control of what algorithms the signer is using. Maybe it makes sense to allow for verification with DSA certs but not signing? I believe that is the effect of your pull request, right?. Can you maybe add some tests to this PR, verifying that 1) DSA signature verification works and 2) that DSA signatures cannot be created?

Thanks for the review.  Regarding 1) I added a test case which verifies DSA signature verification works using a CA and pkcs7 doc I generated using openssl.
For 2) The map which I modified, SignatureAlgorithmToX509SignatureAlgorithm is only referenced one place in the code, X509SignatureAlgorithm() in protocol.go. X509SignatureAlgorithm() is only called by verify() in verify.go, so yes, this has nothing to do with signing and only has the effect of allowing allowing the code to map from a string to an algorithm using for signatures.
I tried to create a test case to validate that the DSA signatures could not be created, but ran into issue. The fakeca requires that the keys implement the crypto.Signer interface. This is fine for crypt/ecdsa, but crypt/dsa doesn't implement this interface. So I'm wondering how to even construct the code to try this.
In a related issue Sign() requires that the key be of type crypto.Signer. So basically, it seems like the fact that crypt/dsa doesn't implement the crypto.Signer interface makes it impossible to even try to create signatures with it.
Based on this, is just the test for 1) sufficient?

Thanks for the PR!

I cut a v0.0.7 tag with this change.


Zelotes C-18 support (12c9:2003)

Is it possible to support zelotes c-18?

Since this mouse would require writing a new driver, let's close this until someone volunteers to write one.


Python version not mentioned

Hi, Can you please tell which python version you are using? as I am using python 3.7.5 and having issues with packages while running train.py

Maybe 3.7.6 ? Sorry, I am not sure the env at that time.

same problem, cant install requirements on python 3.10((

Latest version of 3.7.x has worker for me. Author, please, put it in docs! Its very important!


NETOBSERV-426 : Exposed loki CA certificate path configuration

Add an option to provide a path to a CA certificate used to verify loki TLS connection.

/approve


Facets: add "more" link

Currently there are only shown the 10 topmost countries, cities, languages ...
There should be a link to "more" to show all the others.

done


Use oratos/statsd_exporter image instead

This is due to OSL image licensing

[#173016391]

We've run ./scripts/rollout.sh values-for-your-cluster.yml and the smoke tests


[Install] bootstrap-vcpkg.bat cannot install in a path with single quote

Describe the bug
When installing vcpkg accroding to official tutorial , I tried execute .\vcpkg\bootstrap-vcpkg.bat after clone this repo, and it gave me

PS E:\Development\Projects\Catrol's-Forks> .\vcpkg\bootstrap-vcpkg.bat
字符串缺少终止符: '。
    + CategoryInfo          : ParserError: (:) [], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : TerminatorExpectedAtEndOfString

Environment

OS: Windows 11 21H2 22000.708 (Windows Experience Pack 1000.22000.708.0)

To Reproduce
Steps to reproduce the behavior:

cd D:\xxx'xxx\
git clone git@github.com:microsoft/vcpkg.git
./vcpkg/bootstrap-vcpkg.bat

Expected behavior
Install successfully.
Failure logs

I think this is no need.

You will probably run into more issues with that than just bootstrap. vcpkg_configure_make and vcpkg_configure_meson probably don't correctly handle that.

I mean, maybe we need give a more clear descr for example
"The install path can't contains single quote"

@BillyONeal Could you please take a look.

@Adela0814 Seems like a legitimate bug but I don't expect it will be fixed anytime soon

@Adela0814 Seems like a legitimate bug but I don't expect it will be fixed anytime soon

2024 Bill understands that this is now much easier to fix. Lots of ports will still hate the single quote but we can at least fix bootstrap.


bitlbee-facebook: 2015-08-27 → 1.1.0

Motivation for this change
The previous one stopped working after Facebook’s updates, see https://github.com/bitlbee/bitlbee-facebook/issues/138
Things done

[x] Tested using sandboxing
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] Linux

[x] 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.

Thanks!

I suppose this should be also back ported?

@Mic92, possibly, yes. Because all older versions won’t work at all, after the protocol change.
Or you can copy my approach to configuration.nix: https://github.com/michalrus/dotfiles/blob/73b20f7a9069a162e925f9bd10e82cd74c67e0a5/.nixos-config.symlink/pkgs/default.nix#L44 :grin:

I included this change in 17.03.


Fix bencher integration in CI

This seems to be consistently failing now. Would be good to tidy it up.
https://github.com/firezone/firezone/runs/33717378016

I looked into this and my conclusion was that the CI env is just too noisy and unstable performance wise to produce accurate numbers.
See https://github.com/firezone/firezone/issues/7243.

Seems to have fixed itself.


Add romanian translation

Describe the feature you'd like
Add the romanian translations from the Open Roberta Translation Sheet to the Open Roberta Lab.
Additional context
Link to the translation sheet (read only), over which the .json file can be generated.
https://docs.google.com/spreadsheets/d/18lcfyYL2UsNJEWJYEcxSujWGMCSKYDomif2Xmvz-RFM/edit?usp=sharing

Romanian translation is available to be selected and changes accordingly.


DECQ Buran config has some errors

There's a few inaccuracies in the DECQ Buran config added in #124 that kind of break the vessel.  I am using this book as a source:
http://ftp.demec.ufpr.br/foguete/bibliografia/Energiya BURAN The Soviet Space Shuttle.pdf
Firstly, the scrubber should be a potassium superoxide scrubber (pg. 120).  The book says 6-18 cartridges for the scrubber.  I cannot find a proper citation for how much that actually is (I did find a figure somewhere else saying that a cartridge is 6L, but this wasn't specifically for Buran), but I suggest an estimate based on roughly 65 person-days of life support (that's a crew of 10 for roughly the nominal 7 day mission duration, or a crew of 2 for the maximum 30 day duration).  However, a lower estimate may be appropriate on the basis that extra life support materials should be installed in the cargo bay (pg.146).
Secondly, the aft compartment should have crossfeed enabled, since the Buran explicitly has crossfeed between the forward and aft RCS/OMS (pg.130).  This may result in taking some LOX intended for fuel cells, but this appears to be realistic and intended behavior that many proposed mission setups were explicitly designed around (pg.126).  The fuel tank has also been erroneously removed entirely, leaving no room for propellant.  The fuel tank should have room allowing a total of 7.5t of propellant mix across the entire orbiter (pg. 131), with optional fuel tanks to be installed in the cargo bay in a way that doesn't disturb the center of mass to get to a total of 14t.  It seems to be implied in the description on pg. 130 of the crew compartment sintin/LOX tanks, combined with the addon fuel tanks, that the propellant stores should be evenly split between the forward and aft compartments to respect the center of gravity.
Thirdly, the fuel cells are cited as having a total of 40kW continuous capacity between the four units (pg.123).  They produce "more than 100kg per day" of water as a byproduct, in case that is helpful for calculating power consumption.  I don't think I can find the diagram easily, but I know I found a diagram indicating the fuel cells are installed in the cargo bay along with the LH2/LOX tanks.  There is a 10L container for drinking water in the crew compartment, and a 400L tank of process water used for cooling and hydraulics that is filled and expected to be expended during liftoff (pg. 122), but I don't know the extent to which this is actually simulated.  Pg.146 cites long duration missions requiring an additional cryo kit, so the fuel cells should have enough for 8-10 days of power on their own.

Should be resolved by https://github.com/KSP-RO/ROKerbalism/commit/fc6dd81e2fc22cb0a04e6de993c71a574389353e?


pass options to prepend-http

Allows passing options to prepend-http to allow the HTTPS protocol to be set by default.

Will get on that :)

It seems that Travis tests run on an ancient version of Node and complains about ES6 syntax, thoughts on how to proceed?

Added a PR to drop support for ancient Node versions. So let's wait until Sindre reviewed and merged that one. Will make things easier :).

rebased from master, PTAL :)

Ah I missed that, added it to the API section with a link to prepend-http, or should we copy over the documentation instead?

or should we copy over the documentation instead?

I'm ok with what we have now. I'll let @sindresorhus decide :).
Thanks for the PR!


Migrate packages and dependencies to runZonedGuarded.

Dart 2.8.0-dev.18 introduced a new runZonedGuarded method in dart:async, and it deprecated the onError parameter of runZoned.
Code currently using onError needs to be migrated to runZonedGuarded instead, so that the deprecated parameter can be removed.
The migration is easy:
 runZoned(body, ..., onError: handler, ...)

becomes
 runZonedGuarded(body, handler, ... ...)

The only case where something needs to be done is if handler only accepts one argument, since the required onError parameter of runZonedGuarded has type void Function(Object, StackTrace).
In that case, if handler is a literal, just add an second parameter to it: change (error) { ... } to (error, _) { ...}. If handler is an existing function from somewhere else, change handler to (error, _) => handler(error).
Packages or projects needing change will be listed here. The initial focus is on the package that the SDK depends on directly, or that are tightly coupled to the SDK source.

[ ] Flutter (https://github.com/flutter/flutter/issues/53185)
[ ] Google internal code.
[ ] Package stack_trace (e.g., src/chain.dart:95:33, https://github.com/dart-lang/stack_trace/pull/53 is WiP)
[ ] Package shelf (e.g., lib/src/util.dart)
[ ] Package pub (e.g., lib/src/utils.dart)
[ ] Package test (e.g., lib/src/remote_listener.dart)
[ ] Package test_reflective_loader (e.g., lib/test_reflective_loader.dart)
[ ] Package watcher (e.g., lib/src/directory_watcher/windows.dart)
[ ] Package dartdoc (e.g., bin/dartdoc.dart)
[ ] Package test_descriptor (e.g., test/directory_test.dart)
[ ] Package bazel_worker (e.g., lib/src/driver/driver.dart)
[ ] Package async (e.g., test/utils.dart)
[ ] Package http_io (e.g., test/http_server_test.dart)

pub global activate dartdoc throws for me. What am I supposed to do?
pub global activate dartdoc
Package dartdoc is currently active at version 0.34.0.
Resolving dependencies...
+ _fe_analyzer_shared 7.0.0 (12.0.0 available)
+ analyzer 0.39.17 (0.40.6 available)
+ args 1.6.0
+ async 2.4.2 (2.5.0-nullsafety.3 available)
+ charcode 1.1.3 (1.2.0-nullsafety.3 available)
+ cli_util 0.2.0
+ collection 1.14.13 (1.15.0-nullsafety.5 available)
+ convert 2.1.1
+ crypto 2.1.5
+ csslib 0.16.2
+ dartdoc 0.34.0 (0.36.2 available)
+ glob 1.2.0
+ html 0.14.0+4
+ js 0.6.2 (0.6.3-nullsafety.3 available)
+ logging 0.11.4
+ markdown 2.1.8 (3.0.0 available)
+ meta 1.2.3 (1.3.0-nullsafety.6 available)
+ mustache 1.1.1
+ node_interop 1.1.1 (1.2.0 available)
+ node_io 1.1.1
+ package_config 1.9.3
+ path 1.7.0 (1.8.0-nullsafety.3 available)
+ pedantic 1.9.2 (1.10.0-nullsafety.3 available)
+ pub_semver 1.4.4
+ source_span 1.7.0 (1.8.0-nullsafety.4 available)
+ string_scanner 1.0.5 (1.1.0-nullsafety.3 available)
+ term_glyph 1.1.0 (1.2.0-nullsafety.3 available)
+ typed_data 1.2.0 (1.3.0-nullsafety.5 available)
+ watcher 0.9.7+15
+ yaml 2.2.1
Precompiling executables...
Failed to precompile dartdoc:bin\dartdoc:
/C:/Users/danya/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/dartdoc-0.34.0/lib/dartdoc.dart:499:5: Error: The method 'runZonedGuarded' isn't defined for the class 'Dartdoc'.
 - 'Dartdoc' is from 'package:dartdoc/dartdoc.dart' ('/C:/Users/danya/AppData/Roaming/Pub/Cache/hosted/pub.dartlang.org/dartdoc-0.34.0/lib/dartdoc.dart').
Try correcting the name to the name of an existing method, or defining a method named 'runZonedGuarded'.
    runZonedGuarded(
    ^^^^^^^^^^^^^^^


Update #1 - WAF

$zones = new \Cloudflare\API\Endpoints\Zones\WAF($adapter);
$zones->setZone("8955d96e04c9dfd2c98af300c95f08d4");
$zones->setDirection("desc")->WAFPackages();
WAF update.

@IcyApril
Hello,
İ added WAFResetQueries function for reset all search queries on every actions. İts seems to,
$zones->setDirection("desc")->setPage(5)->WAFPackages();
... and i need to reset queries because i will do another action.
$zones->setDirection("asc")->setPage(1)->WAFPackages();
İ think other classes code styles its not good. Because user needed type id numbers for every actions. İ created a query builder. İ think this it's simpler.
Thanks.

Hi @MertOtrk;
Thanks for the improvements, they all look great. This is good progress, just a few further suggestions I'd make:

In order to fix formatting, you can just run make fix, assuming you have make on your local system. Alternatively you can run: php ./vendor/bin/php-cs-fixer fix --config=$(HERE)/.php_cs
Currently the methods in this class aren't tested. Could you add an associated PHPUnit tests classes in the tests/ folder?
There's no need to prefix each method with WAF, for example; WAFPackages can become Packages
The verb should be used as the prefix for a method name; e.g. WAFRuleUpdate should become updateWAFRule

Thanks!


Dev environments improvements

The dev env process should be able to extend the session to retain the data (database etc), and probably use refresh tokens for that
If a user logs out intentionally, we need to warn them that this will destroy the dev environment and the virtual cluster

Add a persistent flag for the dev environment. For example, user does not want to lose data in volume when dev environment is stopped.

As discussed, we should:

Do not delete the ucluster namespace when the skaffold process ends
Add a uffizzi dev stop command that explicitly destroys the ucluster
Add warning to the stop command to let the user know that volumes will be destroyed
Update uffizzi dev start to bind the skaffold configuration with the uffizzi json configuration.
When the user runs uffizzi dev start it should reconnect to existing cluster instead of creating a new instance, i.e. limit of one dev environment per user.

@gadkins uffizzi dev stop is used to stop dev clusters in quite mode, because Ctr+C won't stop it in that case. Maybe we can use uffizzi dev stop to stop skaffold and uffizzi dev delete to delete the cluster?

@zipofar
uffizzi dev stop - stops skaffold
uffizzi dev delete - deletes the dev cluster

Tested - OK


Basic mark all as read implementation

This implementation attempts to mark all as read within the composable context.

Did you have any ideas for where to put the markAsRead route names so that they don't need to be duplicated here? My PR has the same problem.

Did you have any ideas for where to put the markAsRead route names so that they don't need to be duplicated here? My PR has the same problem.

@maxmoney21m What's the problem with the route names? They seem to be used like this across the board.

Did you have any ideas for where to put the markAsRead route names so that they don't need to be duplicated here? My PR has the same problem.

@maxmoney21m What's the problem with the route names? They seem to be used like this across the board.

Not a problem per se, but just the code duplication, as you mentioned also in your comment on ChatroomListFeedView.kt.

Did you have any ideas for where to put the markAsRead route names so that they don't need to be duplicated here? My PR has the same problem.

@maxmoney21m What's the problem with the route names? They seem to be used like this across the board.

Not a problem per se, but just the code duplication, as you mentioned also in your comment on ChatroomListFeedView.kt.

Oh yeah, that would definitely be nice to consolidate.

@maxmoney21m In response to your question, I was originally considering extracting some of the logic to Note.kt. Might be the best place for it currently.

Resolved on https://github.com/vitorpamplona/amethyst/pull/177


afterEach cleanup not clearing the DOM

OS: Win10
Command line env: WSL (Windows subsystem for Linux)
react-testing-library version: ^5.3.2
react version: ^16.6.3
node version: v11.2.0
npm version: 6.4.1

Relevant code or config:
This is my utils file
import React from 'react'
import { render } from 'react-testing-library'
import 'jest-styled-components'
import 'jest-dom/extend-expect'
import MyContext, { MyContextState } from 'components/MyContext'

const customRender = (node, data = {}) => {
  return render(
    <MyContext.Provider value={Object.assign(MyContextState, data)}>
      {node}
    </MyContext.Provider>
  )
}

export * from 'react-testing-library'
export { customRender }

This is a simple test that fails.
import { customRender, cleanup } from 'utils/testUtils'
import { myDataSample } from 'utils/myDataSample'
import MyComponent from '../MyComponent'

afterEach(cleanup)

it('Should create snapshot', async () => {
  const { container } = customRender(<MyComponent />, { myDataSample })
  expect(container).toMatchSnapshot()
})

it('Should not find element when myDataSample is not provided', async () => {
  const { getByText } = customRender(<MyComponent />) // Note: data not provided
  getByText('Some Text') // FOUND!
})

What you did:
I tried to get a text that should not be there, but it is found although the afterEach(cleanup). I tried everything to remove the DOM but I am unable to do so.

What does <MyComponent /> do?

@kentcdodds I am going to create a test repo.

I've tried anything to reproduce it but I am unable, on a vanilla CRA it works all right, I'll let you know if I manage to find how I got the conflict.


Doc updater

Prerequisites checklist

[x] I have read the contributing guidelines.

What is the purpose of this pull request? (put an "X" next to an item)

[ updated documentation] Documentation update
[ ] Bug fix (template)
[ ] New rule (template)
[ ] Changes an existing rule (template)
[ ] Add autofix to a rule
[ ] Add a CLI option
[ ] Add something to the core
[ ] Other, please explain:

What changes did you make? (Give an overview)
Is there anything you'd like reviewers to focus on?

updated eslint documentation


product update fails if product is in a category

If I try to import a json file to update a product which is already in a category I get following error message:
error: Skipping product due to error message: Cannot add to category '7bcad580-c785-4b29-9f72-960436ccc186' because the product 'LocalizedString(Map(en -> Vest))' is already in that category.
I try to update simple fields like name, description etc... informations which will be transformed from csv to a json by the product transformer.
We are not updating categories, so it can't be a problem.
So not sure why it can't import products which has already categories.
If you need more informations, please let me know.
Many thanks & regards,
Szilvia

@CT-Szilvia no links to private repos please (I've removed it).
Also can you open the issue in the product-import repo? Thanks.

Ok, thanks @emmenko!

https://github.com/sphereio/sphere-product-import/issues/47


Use a LevelDB as a backend for your Hubot brain

Requires the [level] package.  This is an alternative to using Redis as the brain.
Database directory is the LEVEL_BRAIN_PATH or 'lvldb.hubot' in the same folder.

We are actually moving away from adding scripts to repository in favor of separate npm packages per scripts. See #1113 for details, and let us know if you have any questions about getting going with that!


LiDAR Label Processing in KITTI360 Dataset

Hi,
Thank you for your awesome work. I would like to know how you processed the LiDAR label from the KITTI360 dataset. Specifically, did you project the point cloud data onto a 2D perspective view image? I noticed that in the data_3d_semantics folder, the ground truth labels are cumulatively collected. That means, not all the **.ply file in data_3d_raw will be corresponded to one label file in data_3d_semantics. How did you handle this? If possible, could you please share the script or method you used to process lidar data for the KITTI360 dataset?
Thanks a lot!

I also have the same problem. Have you found a solution?


Plugin should support streams

Ideally, we should be able to use chimp like this:
gulp.src('./source/e2e/specs/**/*.feature', { buffer: false })
  .pipe(somePluginThatPreparesFiles())
  .pipe(chimp({
        browser: 'chrome',
        debug: true,
        log: 'info',
        timeout: 60000,
        port: 2345
    });

Yup @bsommardahl! working on that to handle different files in the pipeline


[Joy] Radiobuttons have inconsistent text colour in disabled mode

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Steps to reproduce 🕹
Link to live example.
Steps:

change the colour in the live example.

Current behavior 😯
In the Joy Radiobuttons, applying a colour alters the colour of the text for disabled radiobuttons to the soft colour.

Expected behavior 🤔
To be consistent, I think either all the text needs to have the colour modified, or none of it does. The latter I think would be better... This allows disabled text to appear as obviously disabled irrespective of the selection of the soft colour palette, and doesn't provide an obvious incongruity.
In neutral colour, it looks as expected:

Context 🔦
No response
Your environment 🌎
No response

I agree. The disabled color of the label comes from:
[`&.${radioClasses.disabled}`]: {
  color: theme.variants.plainDisabled?.[ownerState.color!]?.color,
},

Let me see how it can look better.

I believe that this is fixed by #38416


bug: frontend v1 llb dag .dot file syntax error

Description
When try to turn llb dag result .dot file into .png file, error message showsError: test1.dot: syntax error in line 1 near '{'.
Reproduction
build.envd file:
# syntax=v1
def build():
    base(dev=True)
    install.python()
    install.python_packages(name=["via"])
    install.apt_packages(name=["htop"])

./bin/envd --debug debug llb -p .--dot > test1.dot
dot -Tpng test1.dot -o test1.png
Additional Info

Message from the maintainers:
Impacted by this bug? Give it a 👍. We prioritise the issues with the most 👍.

Cannot reproduce. cc @VoVAllen @gaocegege

I can reproduce it with the sample code
# syntax=v1
def build():
    base(dev=True)
    install.python()
    install.python_packages(name=["via"])
    install.apt_packages(name=["htop"])

Cannot reproduce.
Which envd && graphviz version are you using? @gaocegege @Kaiyang-Chen
Mine:

envd: latest main
dot - graphviz version 7.0.7~dev.20230108.2141 (20230108.2141)

envd: ede2013 (latest main)
dot - graphviz version 2.43.0 (0)
libdir = "/usr/lib/x86_64-linux-gnu/graphviz"
Activated plugin library: libgvplugin_dot_layout.so.6
Using layout: dot:dot_layout
Activated plugin library: libgvplugin_core.so.6
Using render: dot:core
Using device: dot:dot:core
The plugin configuration file:
	/usr/lib/x86_64-linux-gnu/graphviz/config6a
		was successfully loaded.
    render	:  cairo dot dot_json fig gd json json0 map mp pic pov ps svg tk visio vml vrml xdot xdot_json
    layout	:  circo dot fdp neato nop nop1 nop2 osage patchwork sfdp twopi
    textlayout	:  textlayout
    device	:  canon cmap cmapx cmapx_np dot dot_json eps fig gd gd2 gif gv imap imap_np ismap jpe jpeg jpg json json0 mp pdf pic plain plain-ext png pov ps ps2 svg svgz tk vdx vml vmlz vrml wbmp webp x11 xdot xdot1.2 xdot1.4 xdot_json xlib
    loadimage	:  (lib) eps gd gd2 gif jpe jpeg jpg png ps svg webp xbm

I guess it's related to graphviz. Can you try to upgrade it? I built from source.

graphviz is already the newest version (2.42.2-6).
I installed via apt-get

graphviz is already the newest version (2.42.2-6).
I installed via apt-get

https://gitlab.com/graphviz/graphviz/-/tags
https://graphviz.org/download/

APT doesn't have the latest release. It should be 7.0.6.

But, why is this related to graphviz version? v0 works well but v1 is broken with the old version graphviz.

But, why is this related to graphviz version? v0 works well but v1 is broken with the old version graphviz.

Not sure. Could be a graphviz bug. Check the changelog.


Outdated Gradle Version problem

Context

I created a new Fabric project for MC 1.17.1 and when I opened it in VSCode, it showed two errors (the other problem got resolved), and one of them was that I was using an outdated version of Gradle (3.6) and that Gradle 7 or higher was required. I installed Gradle 7.1.1 and I verified it in cmd.exe and in the VSCode's console. But still the problem remains. I restarted the PC, recreated the project 3-4 times and still there's the problem.
Your Environment

I'm using Windows 10 and VSCode

Would be interesting how you created the gradle project.
Maybe you are (accidently) using the gradle wrapper that downloads & runs a way older version of gradle just for your project.

I used this script to create the skeleton of the project

@MasterGaeX could you please attach the project you've created to this issue in an archive?

TEST.zip
This is the project

an outdated version of Gradle (3.6)

Are you sure that the error mentions 3.6 and not 6.3? The latter is the one that is set in the gradle wrapper.
You can upgrade the Gradle version by running the following command in the root folder of the project
gradlew.bat wrapper --gradle-version=7.1.1

It seems that the GeneratorFabricMod script you're using is the one what generates the build with gradle 6.3 so I suggest to report this issue to the maintainer of the script. Actually, I think that https://github.com/ExtraCrafTX/GeneratorFabricMod/issues/21 covers this.

an outdated version of Gradle (3.6)

Are you sure that the error mentions 3.6 and not 6.3? The latter is the one that is set in the gradle wrapper.
You can upgrade the Gradle version by running the following command in the root folder of the project
gradlew.bat wrapper --gradle-version=7.1.1

It seems that the GeneratorFabricMod script you're using is the one what generates the build with gradle 6.3 so I suggest to report this issue to the maintainer of the script. Actually, I think that ExtraCrafTX/GeneratorFabricMod#21 covers this.

Yeah, it was 6.3, I didn't notice when I was writing the post. Anyway, it still doesn't work.

This is what happens if I run it in cmd.exe in the root folder.
And it doesn't recognize the command in the VSCode console

I looked at this page and now it works
gradle wrapper --gradle-version 7.1.1 --distribution-type all


Update Nunjucks template path to work with consolidate 0.14.1

Fixes keystonejs/generator-keystone#181
A change was introduced in consolidate 0.14.1 that passes the express views setting to Nunjucks.
This resulted in the existing method of extends and import not working, this fix set a parent path for the views templates.

Thanks @xres!

I have the same issue, do you have the new release?

Based on the diff in the pr, it looks like the template paths used by {% extends were updated correctly but 'views': 'templates/views', still needs to be updated to 'views': ['templates', 'templates/views'], in keystone.init. This fixed it for me.


Code refactor, fixed bugs and add Win64 func

@richgel999, @cwoffenden review my changes. Thx.

@WiredGermanAizek this isn't my project. I would suggest though that since you have a lot of changes, reviewing would be easier if they were broken into individual commits, and with a description as to why you'd make that change.
Looking at your code, there's some C++ modernisation (use of default, move semantics, for example) which could offer a better codegen, but it's only worthwhile (IMO) if it brings an improvement.
As for the Win64 additions, doesn't it only make sense for larger files?
And what are the bugs addressed?

Could you describe the reasoning behind these changes? I'm pretty conservative about taking PR's. The more focused they are, the better. Thanks!


fix SSL Exception #761

https://github.com/jhy/jsoup/issues/761

Why isn't this merged yet?

any estimation about when this will be released?

See also #912

Any update for merging this?


[Bug]: Create shadow table synchronization failed

ODC version
odc424
OB version

What happened?

What did you expect to happen?
Created successfully
How can we reproduce it (as minimally and precisely as possible)?
Create shadow table synchronization
Anything else we need to know?
No response
Cloud
No response

pass


cmake: Use the suffix .exe when CONFIG_BUILD_OUTPUT_EXE

Instead of renaming or copying the elf file, we generate it with the
desired suffix when CONFIG_BUILD_OUTPUT_EXE.
This fix competes with fix https://github.com/zephyrproject-rtos/zephyr/pull/10643.
They both fix https://github.com/zephyrproject-rtos/zephyr/issues/10639#issuecomment-430269292. But this approach is simpler and is not affected by issue https://github.com/zephyrproject-rtos/zephyr/pull/10643#pullrequestreview-165227967 .
It has been tested by myself and @pfalcon (https://github.com/zephyrproject-rtos/zephyr/issues/10639#issuecomment-431267006).
Signed-off-by: Sebastian Bøe<EMAIL_ADDRESS>

I had an incorrect assumption, closing in favour of https://github.com/zephyrproject-rtos/zephyr/pull/10643

Codecov Report

Merging #10710 into master will increase coverage by 0.18%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master   #10710      +/-   ##
==========================================
+ Coverage   53.07%   53.26%   +0.18%
==========================================
  Files         214      214
  Lines       25831    25831
  Branches     5697     5697
==========================================
+ Hits        13711    13759      +48
+ Misses       9809     9755      -54
- Partials     2311     2317       +6

Impacted Files
Coverage Δ

lib/posix/pthread_sched.c
41.66% <0%> (-20.84%)
:arrow_down:

subsys/logging/log_output.c
83.33% <0%> (+1.19%)
:arrow_up:

lib/posix/pthread_mutex.c
77.77% <0%> (+1.38%)
:arrow_up:

subsys/logging/log_core.c
78.4% <0%> (+2.34%)
:arrow_up:

lib/posix/pthread.c
80.36% <0%> (+12.32%)
:arrow_up:

lib/posix/pthread_cond.c
83.33% <0%> (+20.83%)
:arrow_up:

include/posix/posix_sched.h
100% <0%> (+100%)
:arrow_up:

lib/posix/pthread_barrier.c
100% <0%> (+100%)
:arrow_up:

Continue to review full report at Codecov.

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


Merly peer review

AWESOME AWESOME AWESOME WORK!
Strength

Super impressed with the quality of your group project! Great data cleaning work and you came up with a lot of interesting questions. High quality of visuals. I like everything your group did! Especially the bivariate relationship table under {r ksenia-bivariate-intruction-math} chunk and the following. 2.
The color palettes choices are all stunning and really relevant with the purpose of your project.
The interpretation is very clear and easy to follow. I imagine the general audience will find your visuals to be easily understood.
I really appreciate the effort of calculating per student expenditure/revenue for more comparable information!

Lesson Learned

Using V33 Fall Membership to calculate per student spending/revenue. Our group had to combine membership data and calculate each district membership and joined it with the achievement data. This could save a lot of work!
I like the correlation - map plot with state abbreviation labeled.  I've never seen one like that and would love to use them in my future work! Although, I think it's not very intuitive for broader audience, but you nailed it with super clear conclusion.

Feedback

I am not sure with the parse_number() in your first step data cleaning process. It gave warnings on how many failed parsing. Because we use the same data, my group also found the same problem that some of the proficiency level are using interval and special code with letter and number. I tried using parse number but it ended up taking the number from the code which I think not the actual percentage. I've been trying to check the documentation but could not find any explanation. In my case, I dropped all the special code but retained the interval by taking the upper end limit using sub(".-(.)", "\1", math_sc$math_pctabove). My suggestion is to keep as many data points as possible if you could.

When using the Total Spending, I think it should be adjusted with each state living cost since the big proportion of it goes to staff/teacher salary. Check this  Regional Price Parities by State and Metro Area index

Most of the faceted by state plots are very informative and while it is good for exploration, it might be too small to see for broader audience.

Overall, GREAT JOB!
@datalorax

Thanks Merly! Really nice feedback! I particularly appreciate the piece on parse_number(). Nice comments throughout in the Rmd as well!


Task :ballerina-lang:annotations:ballerinaLangLibBuild failing

Description:
Task :ballerina-lang:annotations:ballerinaLangLibBuild failing when trying to run unit tests.
Initially was unsure if it was due to code changes in my feature branch, but the failure persists in the unedited local master branch as well which has been updated from the upstream.
Steps to reproduce:
Can be reproduced by 2 ways;

Run a unit test one of the CLI features, eg; NewCommandTest.java

Run ./gradlew build -x test

OS, DB, other environment details and versions:
Ubuntu 20.04
Java 11.0.9 2020-10-20 LTS

I am unable to recreate this issue in latest master. Can you please try building after a git clean.

Upon further investigation, I've isolated that this particular build failure;  Task :ballerina-lang:annotations:ballerinaLangLibBuild FAILED happens whenever I do a change to the classes I'm working on. The classes being NewCommand.java and ProjectUtils.java
At the moment, the bit of additional code I've written is only a mere variable declaration and nothing more, as shown below

It's very confusing to me how this simple addition can cause the build to fail

Can you please try building after a git clean.

Tried this as well as a ./gradlew clean build, made no difference.
Would love a solution to this as I'm unable to make any changes atm.

I have tested additions to the NewCommand class as described in the issue along with running all the tests that were failing and it seems that it cannot be reproduced in Swan-lake Beta.
To my knowledge, since then new options have been added and existing ones modified without this test failure popping up.
@n-jay  Would you consider getting a new fork and giving this a go in the latest master?

Yes, I'll try that. Closing this issue for the time being


Storing arbitrary values for API application via Store UI

From APIM Store-UI user should be able to store arbitrary values(key value pairs) for api application which can be used in any use-case.
eg: In JWT token generation, values can be taken directly from the stored values in application.
Values should be entered as key value pairs, json or xml formats can be considered.

Close the issue as this feature has been already available after the 2.5.0 version and it can provide a set of custom attributes while creating an application.
More: https://docs.wso2.com/display/AM250/Add+Custom+Attributes+to+Applications


Add docs for lookup view

This PR:

Adds docs for the new lookup view

Related: https://github.com/dendronhq/dendron/pull/1977


Apple App Store Rejects FirebaseUI "Sign in with Apple" Button

Similar to issue #845 (https://github.com/firebase/FirebaseUI-iOS/issues/845), Apple is rejecting my app because the background is white with a white button. Any idea on how to change this or why it is happening?

I solved it, but this should probably be the default behavior. I have modified the file in FirebaseUI that describes the button to:
`

(FUIOAuth *)appleAuthProvider {
UIImage *iconImage = [FUIAuthUtils imageNamed:@"ic_apple"
fromBundleNameOrNil:@"FirebaseOAuthUI"];
UIColor *buttonColor = [UIColor blackColor];
UIColor *buttonTextColor = [UIColor whiteColor];
if (UITraitCollection.currentTraitCollection.userInterfaceStyle == UIUserInterfaceStyleLight) {
iconImage = [iconImage imageWithTintColor:[UIColor whiteColor]];
buttonColor = [UIColor blackColor];
buttonTextColor = [UIColor whiteColor];
}
FUIOAuth *provider = [[FUIOAuth alloc] initWithAuthUI:[FUIAuth defaultAuthUI]
<EMAIL_ADDRESS>buttonLabelText:@"Sign in with Apple"
shortName:@"Apple"
buttonColor:buttonColor
iconImage:iconImage
scopes:@[@"name", @"email"]
customParameters:nil
loginHintKey:nil];
//provider.buttonAlignment = FUIButtonAlignmentCenter;
provider.buttonTextColor = buttonTextColor;
return provider;
}
`

Thanks for raising this issue. The team is looking into it; it may make sense to update the defaults to match what is expected. We're tracking this internally (b/169612501)

I have the opposite problem -- my app is showing a black apple sign-in button on a black background. It would be nice to have an easy way to configure this.

I see the current code does this:
  if (UITraitCollection.currentTraitCollection.userInterfaceStyle == UIUserInterfaceStyleDark) {
    iconImage = [iconImage imageWithTintColor:[UIColor blackColor]];
    buttonColor = [UIColor whiteColor];
    buttonTextColor = [UIColor blackColor];
  }

so if I am understanding this correctly, if I set UITraitCollection.currentTraitCollection.userInterfaceStyle to UIUserInterfaceStyleDark, then I should get the right button colors. Where do I do that?

Ok I see that the color is based on whether the system (or the app) is in dark mode or not, and can be overwridden via Info.plist in the application e.g.
        <key>UIUserInterfaceStyle</key>
        <string>Dark</string>

Works!

UIUserInterfaceStyle
Dark

@rocketraman
Yes it works! Thanks! Do you happen to know if this will work before iOS13? I'm trying to download iOS12.4 to test but xcode gives me a "There are no valid accounts registered with Xcode that have the ability to access this resource." error at the moment I am trying to resolve.

@landnbloc According to https://developer.apple.com/documentation/uikit/uiuserinterfacestyle, that value is supposed to be supported in 12+.
Note that XCode 12 shows that resource key as Appearance i.e. in Info properties,set Appearance = dark or light.

This should be fixed in the latest version of FirebaseUI. Please let me know if that's not the case.

This should be fixed in the latest version of FirebaseUI. Please let me know if that's not the case.


Remove readthedocs and docs requirements

We don't use readthedocs in this repo so there isn't any point in tracking doc requirements
Will prevent PRs like this: https://github.com/alteryx/nlp_primitives/pull/192

Should we delete the docs folder and have a changelog.rst / changelog.md in the root directory?

@rwedge good point. Fixed


Random idea button issue

The random idea button does not refresh the page when on the random idea page, so it does not generate a new one.
Please fix this (:

I believe this can be fixed in a few ways.

Make sure the server isn't returning a cached response.
OR
Add a "New Random Idea" Button to serve a new idea to the user.


Fixed headers are in front of jquery mobile header and menu when scrolled

Hello there,
I made a page with jquery (V2.1.4) and jQuery Mobile (V1.4.5) and then added the floatThead plugin.
After that the table headers were fixed and everything went fine.
But then I noticed that, when I scrol down the page and the whole table begins to scroll out of the view, the header lies in front of the jquery mobile header. This happens with all tables of the page.
Another impact is, that when I open the jquery mobile Menupanel the headers are in front of some menu entries, so that they are not clickable. (I couldnt get this to work in the jsfiddle :( )
and it seems like that this thing just occurs in jsfiddle when scrolling by clicking whith the mouse on the scrollbar - not when scrolling with the wheel...).
Are there any known issues on that ? I searched trough Issues and pull requests but found nothing like that. Since I'm a beginner with these techniques, there is maybe a problem in general with my code.
See this jsfiddle for live demonstration: jsfiddle
(reduce the height of the output window till the scrollbar of the page appears and then scroll down - the table-header will get in front of the header).
I tested this in Chrome48 and IE11 on a Win7 64bit with floatthead 1.x.x and 2.0.3.
Thank you in advance, for reading this and hopefully answer it.

z-index is your friend:
https://jsfiddle.net/w8hq7kg5/9/


Update Email to be an optional field

Update Email class and AddCommandParser so that Email is made as an optional field, fixes #145

LGTM


is it possible to combineReducers? (combine stores in restate terminology)

so is it not possible to create hierarchy as in redux and reselect?  all entries has to be on the root level ? 🤔
with reselect, you can do getIn(['level1', 'level2', 'level3']) to access local component's data

Yes, you need to combine selectors(subs here). If you want,  you can read more about this approach here https://day8.github.io/re-frame/subscriptions/
And the demo is running here https://svelte-restate-example.netlify.app/ You can look in Redux dev tools how it all looks like.

thanks, I am already using your library as is :)
I am currently bypassing the problem by creating objects hierarchy like so:
export const getIbcTechnician = appDB.regRootSub(     'ibcTechnician',     ($state) => $state[ORDER_FORM_STATE].ibcTechnician ) export const getIsErrorMessageDisplayed = appDB.regRootSub(     'isErrorMessageDisplayed',     ($state) => $state[ERROR_STATE].isErrorMessageDisplayed )
(each constant ending with _STATE) represents a different category)
I am not sure how efficient is data access now, but it's currently more important to me to have the data arranged by categories and not flat.
I might come to a point to suggest a PR to combine multiple stores into one tree like CombineReducers if that's of interest.
but for the most part Restate resolved my main pain  - lack of immutability and redux-dev-tools integration. thanks

I would do it like this
export const orderForm = appDB.regRootSub(
  'orderForm',
  ($root) => $state[ORDER_FORM_STATE]
)

export const getIbcTechnician = appDB.regSub(
  'ibcTechnician',
  () => orderForm(),
  ($orderForm) => orderForm.ibcTechnician
)

export const errorState = appDB.regRootSub(
  'errorState',
  ($root) => $state[ERROR_STATE]
)

export const getIsErrorMessageDisplayed = appDB.regSub(
  'isErrorMessageDisplayed',
  () => errorState(),
  ($errorState) => errorState.isErrorMessageDisplayed
)

I don't plan to add new functionality. It is already working I as planned, but thanks for the suggestion.

not sure how this line could word:
export const orderForm = appDB.regRootSub(
  'orderForm',
  ($root) => $state[ORDER_FORM_STATE]
)

when the function input is $root and the usage is $state ?

yes, that is a mistake, it should be like this.
($root) => $root[ORDER_FORM_STATE]


DWZ problem with multiple golang binary caused OL7 RPM build to fail

Refering to this: https://fedoraproject.org/wiki/PackagingDrafts/Go
this could be due to the following bug:
https://bugzilla.redhat.com/show_bug.cgi?id=995136#c12
This fixes #22051
Signed-off-by: Thomas Tanaka<EMAIL_ADDRESS>

LGTM

LGTM


Host crashes don't always list the function name

When getting host crash loops (such as the X.509 Service Bus issue), we don't tell customers which function is the issue, which causes the host to crash when starting Service Bus Trigger.
We need to improve both the red bubble error and include the info in the host log.

@mamaso - will your fix improve this by preventing crashes?

My fix works for listener startup, i.e. connecting to blob service, which was a problem because it occurs outside of function execution.
I'm surprised that failures during triggers aren't propagated down the pipe, that's more along the line of per-execution. I'll set up a throwing trigger and if necessary hook up the exception routing to script

@mamaso See email thread with more details, title is "Functions certificate error in popup that isn't logged in host"

This happens because the service bus listener follows a different pattern - it registers a message handler synchronously, so listener errors do not occur in the context of StartAsync().
We could create MessageOptions.ExceptionReceived handler, but it seems hard to get to a context where we can pass the exception through the tracewriter pipeline

Closing as the fix is checked it in the referenced PR.


Fix an error when incomplete S3Client is destroyed (#373)

Repo-local PR for live tests of #373

Fix an error when incomplete S3Client is destroyed

If an error occurs during initialization of the S3Client instance, the initializer for the Client superclass is never called. This could happen, for example, when the S3Client has a bad profile name passed which botocore doesn't understand. When the remainder of the class is garbage collected (for example, at interpreter shutdown), Python calls the del method of the Client superclass. The specific error is that the file_cache_mode attribute is not set because the superclass initializer is not called in the S3Client initializer if an error occurs during S3 session setup.
This change uses getattr with a default value to avoid the AttributeError in the del method.
Closes #372

Everything passes here, so I will merge. I think the windows test on #373 may just have been flaky. Thanks @bryanwweber!


Messages: replace safeAppId with origin

What is needed?
The message proposal endpoint atm takes a safeAppId as a way to identify from where the message comes. This has a few issues:

It's not consistent with tx proposals which take an origin string (the URL of a dapp)
If you delete the matching Safe App, this ID cannot be recreated, so all the messages are orphaned
It doesn't convey any useful information for non-Safe App messages, i.e. for all WalletConnect-connected dapps
Transaction service knows nothing about Safe Apps, so it's not applicable to non-wallet ecosystem participants

Hence I suggest to replace safeAppId with an arbitrary URL (we can call it also origin), so that we can show something useful to the user in the history.

E.g. user connects to OpenSea and signs a message. We send a POST proposal with "origin": "https://opensea.io/". Message history returns https://opensea.io in the name field of the Message list item.

Endpoint

Timeline
Q3 or later

Is this still relevant @katspaugh ?

Yes. ✅

Is this right

Ok, we will plan it @katspaugh

Okay so what is needed and what is going on with the wallet address and private

@hectorgomezv @PooyaRaki @iamacook I guess this will impact you, right? How should we proceed?

@hectorgomezv @PooyaRaki @iamacook I guess this will impact you, right? How should we proceed? Should we maintain both fields for a while?

I'd suggest we maintain both and move to deprecate safeAppId once implemented client side.

Sounds fair @iamacook

I've created an issue to implement the above, and have subscribed to this issue to know when to make the change.

This PR is being deployed on staging

This PR is being deployed on staging

I've opened a PR propagating the field to the Client Gateway.

Let us know if we can deploy this on production next week without breaking the cgw


State Abbreviations

I recommend using abbreviations for the state values in the shipping address form. Currently, autocompletion does not work for this field in Chrome.

Hi there,
I'm sorry about any inconvenience caused by this issue. Requesting input from @shahthepro or @nick on #936.


[Leaderboard] Allow participants to submit submissions for review by organizers (organizers decide whether to hide/show them)

Maybe one way to accomplish this would be all submissions appear on leaderboard "grayed out" with some button to "approve" them.
Only admins/collabs could see + hit this "approve" button. Once approved they become viewable by public.
Grayed out submissions are hidden from public view.

Should this follow the current system where users can add only 1 submission to the leaderboard?

@magrichard Do you need this, or is what we have so far good?

Hi @Logan-Ruf, I don't think this option is urgent, as it is allows possible for an organizer to remove a submission from the leaderboard.


cannot open hdf or netcdf files

Hi Pynio team!
I cannot open cdf or hdf files using nio.
I have a windows 10, so I've installed PyNio and PyNgl using WSL. I run python 3.6.6 using WSL, but I cannot open hdf or .nc file containing lightning data from NASA. I suspect, that something is wrong with the filepath - but have a hard time confirming it. Do you have any good suggestions?
I have no trouble importing NIO og Ngl.
Thanks !

What error messages do you get, and what is it about the pathname that
makes you think it might be an issue?
On Tue, Aug 27, 2019 at 2:13 AM Vordingborg<EMAIL_ADDRESS>wrote:

Hi Pynio team!
I cannot open cdf or hdf files using nio.
I have a windows 10, so I've installed PyNio and PyNgl using WSL. I run
python 3.6.6 using WSL, but I cannot open hdf or .nc file containing
lightning data from NASA. I suspect, that something is wrong with the
filepath - but have a hard time confirming it. Do you have any good
suggestions?
I have no trouble importing NIO og Ngl.
Thanks !
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/NCAR/pynio/issues/36?email_source=notifications&email_token=ADLWOXXX5SNNTGREH7DUFLTQGTOGTA5CNFSM4IQAABBKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HHSPJLQ,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADLWOXULRC3XXZDS3DOPL2TQGTOGTANCNFSM4IQAABBA
.


add example/kaggle-ndsb2/preprocessing.R

Contribute my own preprocessing.R for example kaggle-ndsb2.

I'm going to close the PR since there is no activity for more than 2 months. But please feel free to re-open it and update with the master.


Proposed traits for grid

(work in progress)

Closing as the work here has been fed into the implementation in #3


Doc follow ups

We should also:

Add a link to the github about section
Have RTD build on PRs (only @tlambert03 can enable that)

it's already up on rtd https://pymmcore-plus.readthedocs.io/en/latest/

enabled

hmm linkcode works locally but not on readthedocs :/

hmm linkcode works locally but not on readthedocs :/

not following... what is link code?

not following... what is link code?

It's the function in conf.py that makes the [Source] in the api docs:

link to github.
also I should say that it's fixed now :)

Previously it was rendering as these broken links: https://github.com/tlambert03/pymmcore-plus/blob/envs/latest/lib/python3.8/site-packages/pymmcore_plus/core/_constants.py#L60-L67


removed unused ViewPropTypes

viewproptypes removed from react native 0.70+ so this library imported it but never used. This PR for version 4 beta actually. Not the RNReanimated v1 version.
Could not figure it out the beta branch so opened for master. I can change it.

thanks!


[stable/nginx-ingress]: add option to specify the scope

option to enable scoped ingress contoller (defaults to the namespace of the helm release)
option to specify a namespace

@sdomula We just need the CLA and it'll get merged. Thanks for the contribution!

I need to wait until the CLA page is up again. I posted the issue here: https://github.com/kubernetes/kubernetes/issues/27796#issuecomment-285677318

I signed it!

Why not just use --extra-args?

As a note: nginx-ingress got another pre-release 0.9.0-beta.3. However, it has an issue, as described here: https://github.com/kubernetes/ingress/issues/443. I believe the existing chart behavior of specifying the configmaps I probably correct (or at least, its not wrong), but it will cause usage of this chart with 0.9.0-beta.3 to result in a crashing looping ingress controller, as it will error when it cannot find the tcp/udp service configmaps.

Thank you @sdomula!


ImportError: No module named sound_play.msg

Traceback (most recent call last):
  File "/home/ubuntu/catkin_ws/src/respeaker_ros/scripts/speech_to_text_vn.py", line 12, in <module>
    from sound_play.msg import SoundRequest, SoundRequestAction, SoundRequestGoal
ImportError: No module named sound_play.msg
[speech_to_text_vn-4] process has died [pid 21569, exit code 1, cmd /home/ubuntu/catkin_ws/src/respeaker_ros/scripts/speech_to_text_vn.py audio:=speech_audio __name:=speech_to_text_vn __log:=/home/ubuntu/.ros/log/36e852dc-9aa3-11ea-9035-dca63260c854/speech_to_text_vn-4.log].
log file: /home/ubuntu/.ros/log/36e852dc-9aa3-11ea-9035-dca63260c854/speech_to_text_vn-4*.log

Install sound_play package:
sudo apt-get install ros-melodic-sound-play


Update 1.2.01-Demo-GettingStartedWithLibGDX/README.md to remove reference to Standalone SDK

The standalone SDK is not accessible in the way the README says

I am not sure if you can open this screen shot, I am getting an error ‘JettyRunWar’ for project ‘:html’.
I am not able to proceed until this is fixed.  Any help would be appreciated.

If you are not interested in html module, you can comment these lines. I commented them to  make it running. Below, I wrote down my changings in the graddle file. I hope it would be useful for you
apply plugin: "java"
//apply plugin: "jetty"
/*
task draftRun(type: JettyRunWar) {
dependsOn draftWar
dependsOn.remove('war')
webApp=draftWar.archivePath
daemon=true
}
*/
task superDev(type: de.richsource.gradle.plugins.gwt.GwtSuperDev) {
//    dependsOn draftRun
doFirst {
gwt.modules = gwt.devModules
}
}


News Page: Create several news items to test different cases

Description
The news page will be our first "index" page.  These pages list items of a particular type (e.g., news, blog, events, etc.).
We need news items that test the different cases for the news index page. All of these items should also include the metadata we deem important from this issue:

#8

Tasks

[x] Create a news item that resides within this website. (See here.)
[x] Create a news item that points to an item in another website.
[ ] Create two news items with the same date.
[ ] Create a news item with a date in the future (and decide what should be done with it).

A first batch of 3 news items was added in PR #29.


chore: update latest evm

Purpose

How does the solution address the problem

Changes made

prnet cleaned-up successfully


Power Toys Run won't show folders

Microsoft PowerToys version
0.76.1
Installation method
Microsoft Store
Running as admin
Yes
Area(s) with issue?
PowerToys Run
Steps to reproduce
When i try to search folders by name they don't show up at all when i do a simple search with the folder name.

✔ Expected Behavior
Exactly how the ,,Everything" software work. Showing me all the files from my computer based on the keywords i typed.

❌ Actual Behavior
I have to use ,, D:\ " in the beginning of the search to get any folders in the results. But this is an extra step which makes the this feauture unusable for me.

When i first started using this software everything was working like normal. But all of sudden this behavior started to show.
I have this problem for a while now, with every update i did i was hoping for this ,,problem"  to be  solved so i can use this feature again.
I can't remember exactly was version i was using when this was working But it was more than a year ago. I tried everything to solve this, running in administrator, not running in Adiministrator. Doing a fresh install, and i found an old thread from 2021 here  o Github exactly with this problem, but non of the answers there helped me.
Other Software
No response

Hi @Gioni05
Folder results displayed by typing the full path are provided by the Folder plugin.
Folder results displayed by typing the name are provided by the Windows Search plugin through Windows Indexing.
Can you both if both are enabled?

Are these folders in an indexed location?
https://learn.microsoft.com/windows/powertoys/run#windows-search-settings
/needinfo

Hi @Gioni05 Folder results displayed by typing the full path are provided by the Folder plugin. Folder results displayed by typing the name are provided by the Windows Search plugin through Windows Indexing. Can you both if both are enabled?

Are these folders in an indexed location? https://learn.microsoft.com/windows/powertoys/run#windows-search-settings
/needinfo

Hello @davidegiacometti
It seems that this was the issue, the files from my computer where not indexed.
I assumed that if Everything Search worked, no other steps in this direction needed to be taken. Thank you!


Improve performance of Node#node_parts method

rubocop command will be faster around 3%.
Profiling
==================================
  Mode: cpu(1000)
  Samples: 11760 (0.01% miss rate)
  GC: 838 (7.13%)
==================================
     TOTAL    (pct)     SAMPLES    (pct)     FRAME
      1015   (8.6%)        1015   (8.6%)     block (2 levels) in <class:Node>
      1435  (12.2%)         727   (6.2%)     Parser::Lexer#advance
       597   (5.1%)         597   (5.1%)     RuboCop::AST::SendNode#node_parts
.............................

SendNode#node_parts method accounts for 5% of the CPU time.
How to fix
[*x] equals x.to_a, but x.to_a is faster than [*x].
So, I replaced [*x] with x.to_a.
Benchmark
Micro benchmark
require 'benchmark'
require 'parser/current'

node = Parser::CurrentRuby.parse('foo.bart(baz)')

raise unless [*node] == node.to_a

Benchmark.bm(15) do |x|
  x.report('[*node]'){  10000000.times{[*node]}}
  x.report('node.to_a'){10000000.times{node.to_a}}
end

$ ruby test.rb
                      user     system      total        real
[*node]           1.300000   0.000000   1.300000 (  1.293447)
node.to_a         0.310000   0.000000   0.310000 (  0.312420)

Benchmark with command execution
 # bench.rb
require 'benchmark'

 # origin/master (5778e5f1be8510bf302c7cfbf1ae0841aede252d)
def run_master
  system('rubocop _0.48.1.master_ --cache false --force-default-config > /dev/null')
end

 # This pull-request's branch
def run_improvement
  system('rubocop _0.48.1.improvement_ --cache false --force-default-config > /dev/null')
end

Benchmark.bm(15) do |x|
  x.report('master'){     5.times{run_master}}
  x.report('improvement'){5.times{run_improvement}}
end

$ cd path/to/rubocop/
$ ruby /path/to/bench.rb
                      user     system      total        real
master            0.000000   0.000000 195.480000 (195.510623)
improvement       0.000000   0.000000 189.820000 (189.841417)

Before submitting the PR make sure the following are checked:

[x] Wrote good commit messages.
[ ] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Used the same coding conventions as the rest of the project.
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[ ] Added tests.
[ ] Added an entry to the Changelog if the new code introduces user-observable changes. See changelog entry format.
[x] All tests are passing.
[x] The new code doesn't generate RuboCop offenses.
[x] The PR relates to only one subject with a clear title
and description in grammatically correct, complete sentences.
[x] Updated cop documentation with rake generate_cops_documentation (required only when you've added a new cop or changed the configuration/documentation of an existing cop).

I expected RuboCop to say "Use alias here", but I guess we don't have a cop like that. 😅

Yeah, we do not. :-)


Allow grouping by m2m

Resolve #6.

Coverage remained the same at 95.833% when pulling 9fb81e054f2f6925f1d159f12ebb329f505d4329 on issue-6 into 2bde88355994f887262d234b12a6dfb312486b39 on master.


OutboundConnectionsState, PeerSelectionCounters & churn

Description
This PR subsumes #4836.  It provides API for Genesis which allow consensus to
know if the node is connected just to local root peers or has any external
peers.  Fixes #4815.
We also refactor churn to use counters as an explicit synchronisation between
churn and outbound-governor.  The PeerSelectionCounters API is drasticly
changed.

outbound-governor: extended PeerSelectionCounters
churn: implemented explicit synchronisation
outbound-governor: added publicly visible OutboundConnectionsState
diffusion: code style

TODO:

[x] - add a basic churn tests

Checklist

Branch

[x] Updated changelog files.
[x] Commit sequence broadly makes sense
[x] Commits have useful messages
[x] The documentation has been properly updated
[x] New tests are added if needed and existing tests are updated
[x] If serialization changes, user-facing consequences (e.g. replay from genesis) are confirmed to be intentional.

Pull Request

[x] Self-reviewed the diff
[x] Useful pull request description at least containing the following information:

What does this PR change?
Why these changes were needed?
How does this affect downstream repositories and/or end-users?
Which ticket does this PR close (if any)? If it does, is it linked?

[x] Reviewer requested

cabal run ouroboros-network:sim-tests -- -p '/PeerSelection/' --quickcheck-tests=10000
All 80 tests passed (20871.28s)


chore: update github actions

move the deployment to github actions
production won't deploy unless tests pass
preview env is tolerant to tests

DON'T merge before reverting the last commit


Amazing!

This is just truly amazing work!
My only feedback is that the direction of the zoom gesture is opposite to what we are all used form maps (Google Map).
Have a nice day!

The confusion came from coding on MacOSX where the scroll wheel is reverted...
Bug fixed. Thank you very much for your feedback.


Debugged office scale, rewrote mraptor and added oleobj

This fixes a fair few bugs in the office scale, and handles some imports in a more reliable way


Improving helm chart roll out process

Currently when the deployment is updated, all pods are deleted at once and new pods are created.
This can cause short downtime when a new version goes out.
Adding:

RollingUpdate strategy which makes sure a maximum of one pod can be unavailable at once

Made the default replicas 3, so the rollingUpdate strategy causes no downtime

Increased terminationGracePeriodSeconds to 5 seconds, to give components a few seconds to stop gracefully

#229


chore: update pnpm 8

looks like the file: protocol in for _test_dependencies works differently in pnpm@8 :/

Ah wait I approved without reading the comments 🙈

Should we use pnpm/action-setup in the CI like SvelteKit does? I noticed this repo has some custom logic currently which could be simplified

Should we use pnpm/action-setup in the CI like SvelteKit does? I noticed this repo has some custom logic currently which could be simplified

that action uses curlbashing and it also adds an additional point where pnpm version is set. this setup here uses packageManager as canonical and doesnt require a separate action. ymmv but i very much prefer the current approach

Just FYI, the action also uses packageManager and doesn't require setting the version used separately from that


[Microsoft.AspNetCore.Authentication.JwtBearer; 3.0.0-preview5-19227-01+] MissingFieldException

Describe the bug
.NET Core version: 3.0+
Nuget package: Microsoft.AspNetCore.Authentication.JwtBearer
Affected versions:  3.0.0-preview5-19227-01+
Last working version: 3.0.0-preview4-19216-03
Using JWT Bearer authentication, with the affected versions noted above, break the application by throwing an an MissingFieldException: Field not found: 'Microsoft.Net.Http.Headers.HeaderNames.WWWAuthenticate'.
To Reproduce

Create an ASP.NET Core 3.0+ application add JWT Bearer Authentication

services.AddAuthentication(JwtBearerDefaults.AuthenticationScheme)
   .AddJwtBearer(opts =>
   {
      opts.TokenValidationParameters = new TokenValidationParameters
      {
         IssuerSigningKey = Encryption.GetRsaKeyFromXml(Configuration["JWT:RsaPublicKeyXml"]),
         ValidateIssuerSigningKey = true
      };
   });

Add an [Authorize] attribute to an controller
Try accessing that route/controller => Exception gets thrown

Expected behavior
Authentication handler to be working fine as in last working version 3.0.0-preview4-19216-03 and no exception to be thrown.
Screenshots

Change: https://github.com/aspnet/AspNetCore/pull/9341
This type of error is expected when you have mismatched dependencies and there was a breaking change. Please share your csproj dependency list.

<PackageReference Include="codeessentials.AspNetCore.Diagnostics.Demystifier" Version="1.0.54" />
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="3.0.0-preview4-19216-03" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="3.0.0-preview4-19216-03" />
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="3.0.0-preview6.19304.10" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="3.0.0-preview6.19304.10">
   <PrivateAssets>all</PrivateAssets>
   <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="3.0.0-preview6.19304.6" />
<PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.7.10" />
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="3.0.0-preview6-19319-03" />

Yeah, you can't mix dependencies from different previews, update everything to the same preview.

Thanks, that fixed the issue.
<PackageReference Include="codeessentials.AspNetCore.Diagnostics.Demystifier" Version="1.0.54" />
<PackageReference Include="Microsoft.AspNetCore.Authentication.JwtBearer" Version="3.0.0-preview4-19216-03" />
<PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="3.0.0-preview4-19216-03" />
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="3.0.0-preview4.19216.3" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="3.0.0-preview4.19216.3">
   <PrivateAssets>all</PrivateAssets>
   <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="3.0.0-preview4.19216.2" />
<PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.7.10" />
<PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="3.0.0-preview6-19319-03" />


refactor(transformer): pass ref to function

#3781  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @overlookmotel and the rest of your teammates on  Graphite


Use no_std

std is not a requirement for this crate, so set no_std to allow for use in no_std projects.
Also fixed tests, and make existing examples more apparent.

LGMT. Thanks!