Some problem with yaml.load()

There is a problem when i run the train.py code .

i wander there may be some problem with my python version.So what's the version of python you have used in this paper.Thank you very much.

i have solved the problem.And change the code in train.py" cfg = yaml.load(fp)" to  cfg = yaml.load(fp,Loader=yaml.FullLoader).But there is still some problem in traceback as below.

it seems that there might be something wrong with your 'root path' settings, you could check brainLoader.py. My python version is python3.5 and python3.5+ is ok for implementation.

i have got it and will try it later.But when I read the code of the paper ,I find the resume value hasn't been written and I don't know the shape of this key.Can you cite a example of this for me?Thanks a lot.

the resume value is the 'trained model path' if you want to continue to train the model. e.g. resume: path/to/your/trained_model.pkl

yes,i know it.And i ran the train.py success.By i find there lose a file "tinyrnn_hvsmr.yml",there are too much parameters in this file.Can you show me the configure of it?Thank you.

This is what I do in the file 'tinyrnn_hvsmr.yml'. hope this may be helpful to you.

This is what I do in the file 'tinyrnn_hvsmr.yml'. hope this may be helpful to you.


Mission executor

Basic Info

Info
Please fill out this column

Issue(s) this addresses
#257

ROS2 version tested on
Humble

Aerial platform tested on
Ignition, Crazyflie, DJI OSDK

Codecov Report

Merging #301 (164fa5b) into main (dddd132) will decrease coverage by 0.09%.
The diff coverage is 0.00%.

:exclamation: Current head 164fa5b differs from pull request most recent head 7d2c779. Consider uploading reports for the commit 7d2c779 to get more accurate results

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@           Coverage Diff            @@
##            main    #301      +/-   ##
========================================
- Coverage   3.04%   2.96%   -0.09%
========================================
  Files        100      98       -2
  Lines       5290    5300      +10
  Branches     456     471      +15
========================================
- Hits         161     157       -4
+ Misses      4991    4989       -2
- Partials     138     154      +16

Flag
Coverage Δ

unittests
2.96% <0.00%> (-0.09%)
:arrow_down:

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

Impacted Files
Coverage Δ

...2_platform_dji_osdk/include/dji_camera_handler.hpp
0.00% <0.00%> (ø)

...platform_dji_osdk/include/dji_matrice_platform.hpp
0.00% <ø> (ø)

...s/as2_platform_dji_osdk/include/dji_subscriber.hpp
0.00% <0.00%> (ø)

...s/as2_platform_dji_osdk/src/dji_camera_handler.cpp
0.00% <0.00%> (ø)

...as2_platform_dji_osdk/src/dji_matrice_platform.cpp
0.00% <0.00%> (ø)

... and 48 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Extend the parking thought bubbles to handle people climbing steep hi…

…lls.
(And some clippy fixes)

Feel free to, uh, ignore the barrage of commits here. I wound up yak-shaving:

the thought bubbles were missing for people walking up some steep hills, making me realize there's a bug with how percent_incline is calculated -- it needs to know if someone is walking along a lane in the normal or contraflow direction
I fixed that, but had to update way too many places in the code, because of how pathfinding is implemented. We mostly do pathfinding using fast_paths contraction hierarchies, which has a certain way of feeding in the graph we want to pathfind over. There's lots of fancy stuff getting added there over time, like uber-turn handling and exiting driveways off-side. But those features haven't made it to the Dijkstra pathfinding implementation (which uses petgraph), which is used when you import with --skip_ch for faster importer development. And even worse, we have a third custom Dijkstra implementation used for the 15m isochrone stuff, because petgraph's dijkstra is missing some features.
I've rearranged all of the pathfinding code to much more cleanly separate: 1) the high-level logic of what the graph looks like and how to transform a path expressed in nodes into the final path used by the outside world, and   2) the underlying pathfinding implementation

I'm regenerating stuff now and plan to merge as soon as everything is finished, but the original purpose of this PR stands: let me know if the visual style of the "steep incline" thought bubble needs work, or if the new Intent implementation doesn't work with the "lane overtaking" thought bubble.


Better explanation for :linked_dirs config

The configuration :linked_dirs wasn't clear to me. This is a very small modification on a sentence

Thanks! We love doc PRs! 🤓

I think the Capistrano doc needs a more eloquent description. I'm a bit puzzled sometimes.


Model overview: turn on heatmap colors by default

Description
Per popular request, this PR turns on the heatmap colors by default. This only shows up with the second cohort, of course, since there's no gradient with a single cohort:

Checklist

[x] I have added screenshots above for all UI changes.
[ ] I have added e2e tests for all UI changes.
[ ] Documentation was updated if it was needed.

Codecov Report

Merging #1510 (8b79669) into main (a33d2ac) will increase coverage by 4.51%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #1510      +/-   ##
==========================================
+ Coverage   80.37%   84.89%   +4.51%
==========================================
  Files          41       57      +16
  Lines        1687     2886    +1199
==========================================
+ Hits         1356     2450    +1094
- Misses        331      436     +105

Flag
Coverage Δ

unittests
84.89% <ø> (+4.51%)
:arrow_up:

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

Impacted Files
Coverage Δ

erroranalysis/erroranalysis/analyzer/__init__.py
100.00% <0.00%> (ø)

erroranalysis/erroranalysis/version.py
100.00% <0.00%> (ø)

...is/erroranalysis/_internal/surrogate_error_tree.py
85.80% <0.00%> (ø)

erroranalysis/erroranalysis/_internal/utils.py
84.61% <0.00%> (ø)

...ranalysis/erroranalysis/_internal/matrix_filter.py
95.85% <0.00%> (ø)

erroranalysis/erroranalysis/report/__init__.py
100.00% <0.00%> (ø)

erroranalysis/erroranalysis/_internal/__init__.py
100.00% <0.00%> (ø)

...ranalysis/erroranalysis/_internal/cohort_filter.py
89.06% <0.00%> (ø)

...ranalysis/erroranalysis/analyzer/error_analyzer.py
92.89% <0.00%> (ø)

...erroranalysis/_internal/error_analyzer/__init__.py
100.00% <0.00%> (ø)

... and 6 more

Continue to review full report at Codecov.

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


Make history tracker properties configurable

Add property spring.cloud.stream.bindings.<channelName>.trackHistoryProperties with comma separated string values that specify the exact
property names in ChannelBindingServiceProperties to be added in the message tracker header
Add tests

This resolves #252

Rebased and updated the PR after addressing the comments.

Rebases, squashed, merged w/https://github.com/spring-cloud/spring-cloud-stream/commit/81e6769b744be2c6554a8537a4c2badf85e1e05e

Will close as is. Documentation to be added separately.


C# Tutorial: Concurrent Programming

This issue tracks the creation of this topic: https://github.com/dotnet/docs/blob/master/docs/csharp/tutorials/concurrent-programming.md
This tutorial should explain techniques for running CPU bound tasks in parallel for increased throughput.
This tutorial must contrast concurrent programming with asynchronous programming. It should explore techniques like Parallel LINQ, the TPL and related libraries that enable parallel work.
Some discussion of shared data, and why mutable shared data is harmful should be included.
The basics of accessing data in a thread safe manner should be covered. Add caveats that these are basics, and not a complete treatment.

The local referenced above will likely change per the approved updated TOC.

This issue has been closed as part of the issue backlog grooming process outlined in #22351.
That automated process may have closed some issues that should be addressed. If you think this is one of them, reopen it with a comment explaining why.

This issue has been closed as part of the issue backlog grooming process outlined in #22351.
That automated process may have closed some issues that should be addressed. If you think this is one of them, reopen it with a comment explaining why.


[Feature request]: 1. Show current time at the reminder window

Version

[X] I'm using version 1.7.0

Existing requests

[X] I've checked Existing requests

What operating system are you using?
Linux
Operating System Version
Manjaro
Problem description

It will be nice to show current time at the reminder window!

2. I don't know how other people think about it, but I hope that the reminder window won't be closed when break time is up until I come back to use the pc. It can be closed when the mouse is moved or a key is pressed or just use a button to close it.
Possible solution
A clear and concise description of any alternative solutions or features you've considered.
Alternative solutions
A clear and concise description of what you want to happen.
Additional information
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Hi, how do you image it? Only show time or add showing of time to the current style? Do you use Stretchly in fullscreen?
Regarding n2: I don't think that is feasible, with how Stretchly works, all is related to timers, so it would need rather big changes.

Hello! I use stretchly in fullscreen and so I think it's a good idea to add showing of time to the current style.
As to n2, now I think it doesn't matter since the current is good enough! So just ignore it.
Thanks!!

I've added "Show current time in break window" as advanced option.


pagination bug

similar to #126:
At line 279 in graph_api.py:
      try:
            next_url = result['paging']['next']
        except (KeyError, TypeError):
            next_url = None

next_url is always none when the results do not have ['paging'] in them.  I replaced it with the following:
      try:
            next_url = result['paging'].get('next', None)
       except (KeyError, TypeError):
            next_url = result['posts']['paging'].get('next', None)

This covers situations where the request string contains 'posts'  as in the first page of results, 'posts' is a superordinate dictionary to 'paging' in an request formed like this:
me?fields=posts.include_hidden(true){created_time,from,message,comments{created_time,from,message,comments{created_time,from,message},attachment},full_picture}

It doesn't cover any situation where there is more complicated request string, although I am uncertain if such a thing could exist, but I put the code in the next comment to cover any situation where that might be the case.

the commented code refers to a recursive function that handles nested dictionaries, which might be useful for some request strings, so perhaps this:
        try:
            next_url = result['paging'].get('next', None)
        except KeyError:
            try:
                next_url = result['posts']['paging'].get('next', None)
            except KeyError:
                for page in dict_extract('next', result):
                    if page[:5] == 'https':
                        next_url = page
                        break
                else:
                    next_url = None
        except TypeError:
            next_url = None

Can't believe it took me a year to get around to this. Sorry @millerthegorilla! It would be a good feature for pagination to work with nested resources like posts, too.

I implemented this!


[Feature] Integrate with WooCommerce/Shopify to generate coupon code when user claim Benefit

Describe the solution you'd like
I would like to request the integration of WooCommerce/Shopify into our platform to generate coupon codes when a user claims a benefit. This integration would allow us to generate unique coupon codes for each benefit that is claimed, which would be sent to the user displayed on the benefits page. The coupon codes could then be redeemed in a physical/web store
Integrated platform:

[ ] WooCommerce
[ ] Shopify

I will reduce the scope of this task which cover WooCommerce first.


x/mobile: building for iOS Simulator, but linking in object file built for iOS, for architecture arm64.

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

$ go version
go version go1.16.2 darwin/amd64

Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE="on"
GOARCH="amd64"
GOBIN="/Users/x/go/bin"
GOCACHE="/Users/x/Library/Caches/go-build"
GOENV="/Users/x/Library/Application Support/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOINSECURE=""
GOMODCACHE="/Users/x/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/x/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/local/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64"
GOVCS=""
GOVERSION="go1.16.2"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/Users/x/gcloud/src/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -arch x86_64 -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/z7/33jzmkp96sqdpll82cb2ddph0000gn/T/go-build452940234=/tmp/go-build -gno-record-gcc-switches -fno-common"

What did you do?
gomobile bind -target=ios golang.org/x/mobile/example/bind/hello
What did you expect to see?
Framework binaries with multiple platforms are not supported anymore.
gomobile bind should generate a universal xcframework
What did you see instead?

In /Users/x/gcloud/src/example/bind/ios/Hello.framework/Hello(000005.o), building for iOS Simulator, but linking in object file (/Users/x/gcloud/src/example/bind/ios/Hello.framework/Hello(000005.o)) built for iOS, for architecture arm64.

We are supposed to use an xcframework instead

file Hello.framework/Versions/A/Hello
Hello.framework/Versions/A/Hello: Mach-O universal binary with 2 architectures: [x86_64:current ar archive random library] [arm64]
Hello.framework/Versions/A/Hello (for architecture x86_64):	current ar archive random library
Hello.framework/Versions/A/Hello (for architecture arm64):	current ar archive random library

Here is a workaround:

mkdir -p iphoneos iphonesimulator
cp -rp Hello.framework iphoneos
mv Hello.framework iphonesimulator

lipo -remove x86_64 ./iphoneos/Hello.framework/Hello -o ./iphoneos/Hello.framework/Hello
lipo -remove arm64 ./iphonesimulator/Hello.framework/Hello -o ./iphonesimulator/Hello.framework/Hello

xcodebuild -create-xcframework -framework iphoneos/Hello.framework -framework iphonesimulator/Hello.framework -output Hello.xcframework

It seems Xcode 12.5 also requires both iphonesimulator x86_64 and arm64

cc @hyangah @eliasnaur

Having same issue.

Having same issue too. This will be relevant for all projects that want to be on xcode 12+. There is neccessary to have xcframeworks with iOS and iOS simulator architecture or it will be very problematic for unit tests, building project etc..


fix for non-windows target cross compile on windows

Before:
Cargo-leptos was finding .exe file after building server when cross compiling to non-windows targets which does not use .exe extensions at all.
After:
This commit fixes it to use .exe extension only when the target machine is also windows.
Error log:
Error: at D:\a\cargo-leptos\cargo-leptos\src\compile\server.rs:40:22 Caused by:
0: at D:\a\cargo-leptos\cargo-leptos\src\service\site.rs:117:44
1: Could not read "target\aarch64-unknown-linux-gnu\wasm-release\leptos.exe" at D:\a\cargo-leptos\cargo-leptos\src\ext\fs.rs:44:10
2: No such file or directory (os error 2)

:+1:


chore: bdd-spring-1578514589 to 0.0.1

chore: Promote bdd-spring-1578514589 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Fix wiki layout

Fix wiki page layout
Keep sidebar menu open as we have enough space for it
Apply css styles to the sidebar menu
Add article title to the top of the page
Style pre blocks

There are still issues to address, although I want to keep PRs relatively small. This is a subset of the changes.

Can we fix the FAQ page in this PR as well?

Can we fix the FAQ page in this PR as well?

It is readable, but I would as a next PR import updated list and then I plan to work on some fine tuning for WIKI pages. Don't want to make huge PRs

Can we fix the FAQ page in this PR as well?

It is readable, but I would as a next PR import updated list and then I plan to work on some fine tuning for WIKI pages. Don't want to make huge PRs

I am seeing this:


Can't interact with content

No matter what content i place inside the screen div I can't interact with it (i.e. scroll, click etc.) I gather this is by design, and if so, is there a workaround?

@mrlund Can you check if this still happens with the new version of device.min.css?

Still an issue. It's very easy to reproduce. Just drop any content in the screen div, and see if you can click on it. I used an iframe, but it fails to work even it it's just a link, i.e.
<!DOCTYPE html>

    <meta charset="utf-8" />
    <title></title>
    <link rel="stylesheet" href="/css/devices.min.css" type="text/css">

            Testing

The "testing" link cannot be clicked.

The screen z-index seems too low. Setting it to 3 instead of 2 solves the issue.

Came across the same problem
Temp fix I used:
`
.marvel-device {
pointer-events: none;
}
.your-link-iframe-etc {
pointer-events: auto;
}
`

.marvel-device:after is what is capturing pointer events.
This should do the trick:
.marvel-device:after {
  pointer-events: none;
}


Non-standard metadata

see here
https://github.com/JoepVanlier/JSFX/blob/4238c16ab81cd6590435c8219fd4d0a1483217fe/Squashman/Squashman.jsfx#L1-L7

[x] Supported author: and tags:

This metadata is for the reapack package manager.
The complete list is here: https://github.com/cfillion/reapack-index/wiki/Packaging-Documentation

Interesting thanks.
what's the deal with the @author Fred kind of syntax?
Reaper accepts only jsfx with author: syntax, the @ version is an error

the @author syntax is only used in non-jsfx scripts it seems.
yeah the wiki does not make that very clear. It's just tag name: value then.


Adding myself to the contributors page

Could you raise a single PR with reflecting the feature. As an example please take a look at similar PRs submitted for this feature.


Update codebase to use RxJava 2

Your Rocket.Chat.Android version: 1.0.16

Update all parts on the codebase that still uses legacy RxJava types.
Even though the project is using RxJava 2.1.0 dependency, there're many parts on the codebase that uses legacy RxJava types (from package rx.* instead of io.reactivex.*).

Closing this, since we're moving to 2.0.0


feat: adjust results using quorum

Closes: https://github.com/snapshot-labs/sx-ui/issues/326
Test plan
Test against as Vanilla strategy gives super small scores as sx-api formats them as amounts.
Screenshots

Looks good! Does this handle the case when there is more with for + "against + abstain than the quorum? In this case we should assume full width is for + against + abstain.

@bonustrack Math.min there was supposed to handle that:
https://github.com/snapshot-labs/sx-ui/blob/f99cf51a1b49cb28e992e5da75a7d5f1297399a7/src/components/Results.vue#L22
but I just noticed it should have been Math.max :D


Search View Not Working

Hello @amirisback.
I recently cloned down your project and tried to use the search web view only to find that it wasnt working. When I am focused on the Google search bar and type an input, the text doesnt go into the correct search field. The text goes into the original field that opened the keyboard.
The same thing happens in the Form View too.
I'm wondering if this is a known issue or if there is a fix for this?
Thanks!

after looking at previous version from this library. I manage to found the solution
paste below code to your KeyboardIME class
override fun onKey(code: Int) {

        val formView = binding?.keyboardForm
        var inputConnection = currentInputConnection

        if (formView?.visibility == View.VISIBLE) {
            val et1 = formView.binding?.etText
            val et1Connection = et1?.onCreateInputConnection(EditorInfo())

            val et2 = formView.binding?.etText2
            val et2Connection = et2?.onCreateInputConnection(EditorInfo())

            val et3 = formView.binding?.etText3
            val et3Connection = et3?.onCreateInputConnection(EditorInfo())

            if (et1?.isFocused == true) {
                inputConnection = et1Connection
            } else if (et2?.isFocused == true) {
                inputConnection = et2Connection
            } else if (et3?.isFocused == true) {
                inputConnection = et3Connection
            }

        } else if (binding?.keyboardWebview?.visibility == View.VISIBLE) {
            inputConnection =
                binding?.keyboardWebview?.binding?.webview?.onCreateInputConnection(EditorInfo())
        } else {
            inputConnection = currentInputConnection
        }
        onKeyExt(code, inputConnection)
    }

can u contribute to this project, please fork and make pull request, I would be happy to

Hello @amirisback.
I recently cloned down your project and tried to use the search web view only to find that it wasnt working. When I am focused on the Google search bar and type an input, the text doesnt go into the correct search field. The text goes into the original field that opened the keyboard.
The same thing happens in the Form View too.
I'm wondering if this is a known issue or if there is a fix for this?
Thanks!

Thank you for your report, will fix asap


Error installing impoerting TF model into Node red

Hello, I am getting a tensor flow to install on my node red. It seems like there is and install issue and I keep on getting the error pictured below. I have also tried import an model from teachable machine too and I get the same error please help.

Hi,
I don't we have any distributions done for Node Red and we don't provide any support outside of our releases published in our Github repo, https://pypi.org/project/tensorflow/.
From the Node Red document, I was able to find the way to Install Tensorflow using community build.
For more details follow https://flows.nodered.org/node/node-red-contrib-tensorflow


[WIP] Application Tokens

This is actually a little bit more complicated than I first thought...
We currently authenticate the user if they use the X-Cachet-Token header, except with API tokens there is no assigned user. So what do we do?

Closing this for now, it won't be ready till 3.0.0 anyway.


nvidia-display-driver-dch-np: checkver still error

Bug Report
Package Name: nvidia-display-driver-dch-np
Current Behaviour

version 471.41
Expected Behaviour

should be larger than 500
Additional context/output

Possible Solution

The checkver is still wrong after May update. The DCH driver is designed for windows 10/11 so should not stay with win7's osid in url
System details
Windows version: [e.g. 7, 8, 10]
OS architecture: [e.g. 32bit, 64bit]
PowerShell version: [output of "$($PSVersionTable.PSVersion)"]
Additional software: [(optional) e.g. ConEmu, Git]
Scoop Configuration

//# Your configuration here

I will start a PR if available. (Maybe next week)

any update on this?
nvidia-display-driver-np is also outdated

tmr

Download links in case it helps:
https://www.nvidia.com/Download/processFind.aspx?lid=1&osid=57&dtcid=1
https://www.nvidia.com/download/driverResults.aspx/193714

Hi @issaclin32,
I wonder why you revert your change for this package in f667fa78ca733cd39cce4c6844d22ab18a0f9d9b ?
I think may be we should change nvidia-display-driver-dch-np to nvidia-display-driver-np and nvidia-display-driver-np to nvidia-display-driver-standard-np or some other name as it seems NVIDIA not distrbute standard package for Windows 10 and Windows 11 any more.

https://www.nvidia.com/Download/index.aspx L2067-2070
// HNote all Win-10/64 is dtcid=1, this over-rides all the regexp RTX stuff. RegExp('RTX .*Notebooks')).test
//RVC Windows Server 2022 refactor to use name var dtcid = (((selProductSeriesType.value in { '1': '', '11': '', '3': '', '7': '' }) && (getSelectedOSIdValue() in { '57': '' })) || (getSelectedOSIdValue() in { '57': ''} && ddlDownloadTypeDch.value == "1")) ? "&dtcid=1" : "&dtcid=0"; // Only Win-10-64
//RVC Windows 11 Jul-18-2021
var dtcid = (((selProductSeriesType.value in { '1': '', '11': '', '3': '', '7': '' }) && (getSelectedOSName() in { 'Windows 10 64-bit': '', 'Windows Server 2022': '', 'Windows Server 2019': '', 'Windows Server 2016': '', 'Windows 11': '' })) || (getSelectedOSName() in { 'Windows 10 64-bit': '', 'Windows Server 2022': '', 'Windows Server 2019': '', 'Windows Server 2016': '', 'Windows 11': ''} && ddlDownloadTypeDch.value == "1")) ? "&dtcid=1" : "&dtcid=0"; // Only Win-10-64

L2181-2184
	//RVC Windows Server 2022 refactor to use name if ((dchFound == false) && (selProductSeriesType.value in { '1': '', '11': '', '3': '', '7': '' }) && (getSelectedOSIdValue() in { '57': '' })) // DCH Not available so see if STD is available for Win-10 GeForce and Titan and Quadro Sep-2020
	//RVC Windows 11 Jul-18-2021
if ((dchFound == false) && (selProductSeriesType.value in { '1': '', '11': '', '3': '', '7': '' }) && (getSelectedOSName() in { 'Windows 10 64-bit': '', 'Windows Server 2022': '', 'Windows Server 2019': '', 'Windows Server 2016': '', 'Windows 11': '' })) // DCH Not available so see if STD is available for Win-10 GeForce and Titan and Quadro Sep-2020

I think I have this working in my scoop bucket: https://github.com/scowalt/scoop-apps/blob/main/bucket/geforce-game-ready-driver.json
I'll open a PR for this, but if I forget or it gets rejected, someone else can start there. You can also look at the scoop package for inspiration https://github.com/AeliusSaionji/chocopkgs/tree/master/geforce-game-ready-driver


Quick fix to create type

Enter the following text in a Dart file:

f(x) {
  if (x is Foo) {

  }
}

Ask for quick fixes at 'Foo'. It would be nice to have an option to create a new class named 'Foo'.

This functionality has been added.


make deploy is unable to deploy rbac configuration

What happened:
make deploy fails with
Error: rawResources failed to read Resources: Load from path ../rbac/rbac_role.yaml failed: security; file '../rbac/rbac_role.yaml' is not in or below '/Users/kensipe/projects/go/src/github.com/kudobuilder/kudo/config/default'

The kustomize build config/default | kubectl apply -f - is failing based on a change in kustomize which now requires security configs to be in the directory or sub-directory of the kustomize yaml config file.
What you expected to happen:
Expected rbac configs to be deployed with kustomize
We now expect to rearrange config files to match kustomize expectations.
How to reproduce it (as minimally and precisely as possible):
noted above
Anything else we need to know?:
Environment:
Kustomize

It really depends on which version of Kustomize you are running, with 1.0.10 I wasn't able to replicate:
Fabians-MacBook-Pro-3:kudo fabianbaier$ kustomize build config/default | kubectl apply -f -
2019/04/15 09:48:12 Adding nameprefix to Namespace resource will be deprecated in next release.
namespace/kudo-system created
clusterrole.rbac.authorization.k8s.io/kudo-manager-role created
clusterrolebinding.rbac.authorization.k8s.io/kudo-manager-rolebinding created
secret/kudo-webhook-server-secret created
service/kudo-controller-manager-service created
statefulset.apps/kudo-controller-manager created
Fabians-MacBook-Pro-3:kudo fabianbaier$ kustomize version
Version: {KustomizeVersion:unknown GitCommit:$Format:%H$ BuildDate:1970-01-01T00:00:00Z GoOs:unknown GoArch:unknown}

Wonder why I am using a unknown Kustomize version ;) Now I have to work my way around finding out which version of Kustomize I am running -> brew install kustomize -> Error: kustomize 1.0.10 is already installed et voila!
To upgrade to 2.0.3, I run brew upgrade kustomize:
$ kustomize version
Version: {KustomizeVersion:v2.0.3 GitCommit:a6f65144121d1955266b0cd836ce954c04122dc8 BuildDate:2019-03-18T22:15:21+00:00 GoOs:darwin GoArch:amd64}

thats nicer.
So let's try this again.
$ kustomize build config/default | kubectl apply -f -
Error: rawResources failed to read Resources: Load from path ../rbac/rbac_role.yaml failed: security; file '../rbac/rbac_role.yaml' is not in or below '/Users/fabianbaier/go/src/github.com/fabianbaier/kudo/config/default'

error: no objects passed to apply

Aha! Here I am able to replicate, and need to wait for https://github.com/kudobuilder/kudo/pull/190 to land.


Add AUTH_SERVER env variable to the manifest

This an internal orange review, once merged, on orange-cloudfoundry branch, we'll send a new PR to cloudfoundry community. Following is the planned PR text to be submitted to the community:

AUTH_SERVER environment variable is also needed for non secured
Abacus installation while requesting a token to Cloud Foundry

LGTM, thanks @shoudusse


Add link to meeting recordings to community page

Add a link to https://opentelemetry.io/community/ that points to the recordings of the OpenTelemetry SIG meetings: https://www.youtube.com/channel/UCHZDBZTIfdy94xMjMKz-_MA

I would like to take this task and do it. Should I add this link under "Learn and Connect" or "Develop and Contribute"?
Any description to add next to the link?

thanks @uday060, put it below "Learn & Connect" with something like "Watch our meeting recordings on Youtube"

@svrnm Any Icon I need to select to keep before the description?

@uday060 there's class="fab fa-youtube"

@svrnm Thank you for all your inputs, created the PR https://github.com/open-telemetry/opentelemetry.io/pull/1681

fixed via #1681


MF-412 - Adding newer NATS docker image to the docker-compose

What does this do?
Adds newer NATS docker image to the docker-compose file
Which issue(s) does this PR fix/relate to?
Resolves #412
List any changes that modify/break current functionality
Nothing should break current functionality
Have you included tests for your changes?
n/a
Did you document any new/modified functionality?
n/a

Codecov Report

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

@@            Coverage Diff             @@
##           master     #418      +/-   ##
==========================================
+ Coverage   89.16%   89.29%   +0.12%
==========================================
  Files          46       46
  Lines        1634     1634
==========================================
+ Hits         1457     1459       +2
+ Misses        121      119       -2
  Partials       56       56

Impacted Files
Coverage Δ

things/service.go
93.28% <0%> (+1.49%)
: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 a8eb7ae...c6a6f3c. Read the comment docs.


Upload a demo for KServe with Caikit + TGIS runtime

This is an initial demo for

Caikit serving runtime with serverless + service mesh.
OSSM enabled opendatahub.

There is 1 TBD demos but they will be updated with other PRs:

Combined demos (Kserve + OSSM)

/unhold


Default category doesn't disappear after new categories are made

The default category should disappear after new categories are made. When I try to remove the novel from the default category, it gets removed from the entire library.

Please follow the issue template.


Custom tracking file for initializing telemetry without cookie

The idea is we can include this file in static docs pages (instead of tracking.html). The page will then manually call "loadAppInsights(true/false)" depending on whether it wants the cookie or not. Also bundles a tick event helper--not sure if saving that on the window is the right place?

Do we need to duplicate the entire file? Can we pass false as a parameter in-place of includeCookie?

As long as we don't drop the cookie we are good right?

the problem is both existing files call pxt.initAnalyticsAsync which automatically initializes appinsights with a cookie unless it sees sandbox=1 / #sandbox / etc in the url. i didn't want to change the existing files because we use them in a bunch of places already


Add "side" value helpers on geo.Bound

I find myself needing these often. So I added them @mlerner

nit, otherwise LGTM


:pencil2: typo

propose change "coprs" to "corps" 3rd paragraph

Thx @guillaume-chs
Can I quote you as a thank you at the end of the blog post for contrib & correction ?


rustfmt fails to remove trailing whitespace when next line is a comment before value

Describe the bug
cargo fmt fails with:
error[internal]: left behind trailing whitespace
 --> /tmp/cargo-fmt-fail/src/lib.rs:1:1:16
  |
1 | const A: usize =
  |                 ^
  |

warning: rustfmt has failed to format. See previous 1 errors.

To Reproduce
Copy and paste this into a new source file (note the trailing whitespace in first line):
const A: usize =
    // Some constant
    2;

Expected behavior

Meta

rustfmt version: rustfmt 1.4.18-stable (8157a3f 2020-07-15)
From where did you install rustfmt?: rustup
How do you run rustfmt: cargo fmt, rustfmt

For anyone interested in working on this, the problem occurs because rustfmt is failing to capture the comment between the assignment operator and rhs, so when rustfmt detects that the comment would be lost, it reverts back to the original snippet which has the trailing space.
Starting point for fixing this will probably be here:
https://github.com/rust-lang/rustfmt/blob/4a88598ec7f76ac86b656d3daeaa06b1b1e1f197/src/formatting/items.rs#L1878-L1888

I like to work on this issue. I will send a PR.

@calebcartwright I think I figured out an approach. My aproach is Using https://github.com/rust-lang/rustfmt/blob/2927e89b5194ecc887d61249eed9739ff1c3a3d5/src/formatting/comment.rs#L160
in this line. https://github.com/rust-lang/rustfmt/blob/2927e89b5194ecc887d61249eed9739ff1c3a3d5/src/formatting/expr.rs#L1985
But we need to pass Span over several functions. Is this ok? Or have any other suggestions?

But we need to pass Span

What's the Span covering? From the assignment operator to the lo of the rhs span?

@calebcartwright  Yes. From the function doc:-

span may contain comments between two strings.

So lhs.between(rhs) is enough.

note that span will run through the end of rhs which isn't really what we want. Generally speaking though I'd say yes to your proposal of using combine_strs_with_missing_comments to combine the lhs and rhs. There's probably quite a few ways that could be tackled, so feel free to open an early/draft PR with a proposal for discussion


[Tests-Only] Bump core commit 20200910

Gets us new core tests:
https://github.com/owncloud/core/pull/37881 [Tests-Only] Refactor createShareToShareFolder.feature to use Shares folder
This provides core tests for basic sharing that use the default settings of reva:

share_folder is Shares - so share receivers get their shares arrive in a folder called Shares
auto-accept shares is off - in the test scenarios, for example, when Alice shares with Brian, then there is a step for Brian to accept the share.

These new sharing scenarios pass in oC10, and they should be able to be made to pass in reva.
This is a first installment for issue https://github.com/owncloud/ocis/issues/518

Rebased - this should pass CI and is ready for review.


Use form type for CI upload

Once PR https://github.com/ONSdigital/rm-collection-exercise-service/pull/41 is merged in
all CI's uploaded need to have the form_type classifier associated with it.
Currently hard coding every ci to have the same form_type as it makes it easier to test.

 TBL133: CI association to CI selection classifier (XL)

Ran the tests against the branches and they pass for me


Fix links to mongodb manual

Q
A

Type
improvement

BC Break
no

Fixed issues

Summary

Fixed links to mongodb manual
What does the PR do :

[x] Fix links that lead to "page not found"
[x] Fix http(s)://docs.mongodb.org to https://docs.mongodb.com
[x] Fix some links pointing to /master/ to /manual/ instead

@idetox thank you for the PR! 2 questions:

could you please rebase your work on top of 2.1.x?
would you mind fixing other links that point to http://docs.mongodb.org?

@idetox thank you for the PR! 2 questions:

~could you please rebase your work on top of 2.1.x (and target that branch)?~ actually nevermind, the links still work so there's no real need to include them in 2.1.x
would you mind fixing other links that point to http://docs.mongodb.org?

Sure i will do it next week!

@malarzm done, fixed all links to mongodb manual + updated description

The  Code Quality  break is unrelated to the PR

@idetox awesome, thank you!


Unhandled 'error' event

[safari-downloader] starting application...
[safari-downloader] the user "ccuty_07" was successfully authorized...
[safari-downloader] downloaded meta files...
[safari-downloader] downloaded table of content files...
[safari-downloader] downloaded chapter files...
[safari-downloader] downloaded stylesheet files...
events.js:163
throw er; // Unhandled 'error' event
^
Error: EISDIR: illegal operation on a directory, open '.'

npm is expecting a file with extension.

@vnsam Can you elaborate on this a bit further? So I might be able to change the docs accordingly.

Same issue here.
`[safari-downloader] downloaded meta files...
[safari-downloader] downloaded table of content files...
[safari-downloader] downloaded chapter files...
[safari-downloader] downloaded stylesheet files...
events.js:183
throw er; // Unhandled 'error' event
^
Error: EISDIR: illegal operation on a directory, open '/Users/myUsername/Documents/development/SafariBooks-Downloader'`

@vnsam How did you fix this?


Add files via upload

Adding Universidad Autonoma de Nuevo Leon

@atunmor I am sorry, the domain uanl.edu.mx is removed from our trusted domains list because it was abused in the past. If you are the student of this school, please enroll to GitHub Student Developer Program. Then apply for JetBrains educational subscription with your GitHub account (GitHub tab at https://www.jetbrains.com/shop/eform/students).


Add tf.keras.metrics.Variance

Hi @JackGammack It looks like your PR relates to the Keras component. Please submit it to the github.com/keras-team/keras repository instead. Thankyou.
@fchollet, @qlzh727


[BUG] Can't use external kernel modules with crc bundles

General information

OS: Linux
Hypervisor: KVM
Did you run crc setup before starting it (Yes/No)? Yes
Running CRC on: Laptop

CRC version
ybettan kernel-module-management (main) $ crc version
CRC version: 2.20.0+f3a947
OpenShift version: 4.13.0
Podman version: 4.4.4

CRC status
ybettan kernel-module-management (main) $ crc status --log-level debug
DEBU CRC version: 2.20.0+f3a947
DEBU OpenShift version: 4.13.0
DEBU Podman version: 4.4.4
DEBU Running 'crc status'
CRC VM:          Running
OpenShift:       Running (v4.13.0)
RAM Usage:       7.429GB of 9.369GB
Disk Usage:      19.74GB of 32.68GB (Inside the CRC VM)
Cache Usage:     37.92GB
Cache Directory: /home/ybettan/.crc/cache

CRC config
ybettan kernel-module-management (main) $ crc config view
- consent-telemetry                     : no

Host Operating System
ybettan kernel-module-management (main) $ cat /etc/os-release
NAME="Fedora Linux"
VERSION="36 (Workstation Edition)"
ID=fedora
VERSION_ID=36
VERSION_CODENAME=""
PLATFORM_ID="platform:f36"
PRETTY_NAME="Fedora Linux 36 (Workstation Edition)"
ANSI_COLOR="0;38;2;60;110;180"
LOGO=fedora-logo-icon
CPE_NAME="cpe:/o:fedoraproject:fedora:36"
HOME_URL="https://fedoraproject.org/"
DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/f36/system-administrators-guide/"
SUPPORT_URL="https://ask.fedoraproject.org/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=36
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=36
PRIVACY_POLICY_URL="https://fedoraproject.org/wiki/Legal:PrivacyPolicy"
SUPPORT_END=2023-05-16
VARIANT="Workstation Edition"
VARIANT_ID=workstation

Steps to reproduce

crc setup
crc start

Expected
Kernel version of the node to be 5.14.0-284.13.1.el9_2.x86_64
Actual
Kernel version of the node is in fact 5.14.0-70.53.1.el9_0.x86_64
Context
My team is developing KMM  and seems like using CRC (instead of plane OCP) will not work with DTK which is built for every OCP z-stream with the specific kernel packages required for building kernel-modules for that kernel.
I have only tested it on CRC-4.13.0 but I believe the error will be the same on later version as well.
4.12.z seems to work OK though.
Adding here the link to the internal RedHat slack channel in case it adds more context: https://redhat-internal.slack.com/archives/C02G2TR52AX/p1687533542518989

This is a very specific request and constitutes the use of 'custom' bundles.
You can derive and change the kernel and then use:
$ crc bundle generate

to create this 'custom' bundle

Hi @gbraad, the problem here is that the default CRC bundle for 4.13.0 does not ship the same kernel as OpenShift.
This breaks driver-toolkit (DTK) that we use to build kmods, because DTK is built for 5.14.0-284.13.1.el9_2.x86_64 while the CRC node runs 5.14.0-70.53.1.el9_0.x86_64.
No custom bundle is involved.

No, but you can create this for your own reuse.
Start CRC, login and make customizations, check and then export using generate.

What is snc?
We do not want specific kernels here, rather we expect CRC to run the kernel that OpenShift is released with, so that DTK works as expected.

single node cluster generation scripts: https://github.com/crc-org/snc

we expect CRC to run the kernel that OpenShift is released with

We run an alternative kernel so that OpenShift can run on M1 and other platforms. Currently, this is not possible with the kernel OpenShift is provided with. For our developer use-case this is more important as this is the second-largest group of users.
As said, a 'customized' bundle is in that case necessary to prevent the kernel change. For the moment this is a necessity.

The issue https://github.com/crc-org/snc/issues/745 exists which might address this. As that issue states that the downgrade/kernel modification should only happen for Aarch64. However, as stated before, you can work around this by using your own 'customized' bundles, which avoid changing the kernel/restores to the specific kernel you want.

Hi @qbarrand @ybettan This has been taken care of in: https://github.com/crc-org/snc/pull/749

Do we keep this open to track the macos limitation? or do we close it?


Pulling in fixed combined-stream

to combat https://github.com/request/request/issues/1561

Coverage remained the same at 98.02% when pulling 5b57155b89a11521d91374eb2dc4e9b3de463a5a on alexindigo:async_piping into 7629e30d4175fa07965a59f70ba5022172f9494a on form-data:master.


”Culciu Mare”, ”Apateu”, ”Cărășeu” are listed in the drop-down menu

Description:
When user writes ”Culciu Mare”, ”Apateu”, ”Cărășeu” the locations appear in the drop-down menu next to the comune and the county which is a part according to the law.
Precondition:
The website is up an running.

Step 1
Write in the search bar "Culciu Mare"

Expected results
The location appears in the drop-down menu as "Sat Culciu Mare, SATU MARE (Culciu)".

Step 2
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 3
Write in the search bar "Apateu"

Expected results
The location appears in the drop-down menu as "Sat Apateu, SATU MARE (Culciu)".

Step 4
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 5
Write in the search bar "Cărășeu"

Expected results
The location appears in the drop-down menu as "Sat Cărășeu, SATU MARE (Culciu)".


Integration Test - Release - 2019/06/11 20:15:01

Auto create for integration test. AnotherAuthorUpdatedArticleFlow

@PRMergerTest2 : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Enable specific stats for a subset of pods?

Bug Description
Not sure if this is a bug or feature request, maybe just a discussion.
We sometimes have the need to enable a lot of specific stats on Envoy for some low-level debugging.
However, there doesn't seem to be a good way to do this in Istio without applying it globally to the whole mesh (which would be impractical).
What we are doing today is that we use the Istio annotation for Envoy statistics as documented here on the specific pods we need them to apply:
https://istio.io/latest/docs/ops/configuration/telemetry/envoy-stats/
sidecar.istio.io/statsInclusionPrefixes
sidecar.istio.io/statsInclusionRegexps
sidecar.istio.io/statsInclusionSuffixes

Going forward those annotations seem to be deprecated:
https://istio.io/latest/docs/reference/config/annotations/
Is there another way to enable this? A custom bootstrap might be the solution, but that is heavy surgery,
At a minimum, having the ability to setup different stats for Gateways and mesh sidecars would be a huge help already.
Version
istio 1.14.1

Additional Information
N/A

try ProxyConfig with custom selector

Thanks @zirain , that seems to solve it! Closing this ticket


The outer ring of light stays behind after the glow crystal is broken

If you place down a level 4 glow crystal and then break it, the outermost layer of light will remain even after the crystal is broken

.

Still have the same issue


Emote modifiers Can't be used or displayed

Checklist

[X] I'm reporting a problem with Chatterino
[X] I've verified that I'm running the most recent nightly build or stable release
[X] I've looked for my problem on the wiki
[X] I've searched the issues and pull requests for similar looking reports

Describe your issue
i cannot use emote modifiers like w! monkaS
Screenshots

OS and Chatterino Version
7,4,2 version

This is unrelated to this repository (these modifiers are not a 7TV feature)
You could make a feature request to the upstream, however I doubt this will ever be added


Calling TdApi.OptimizeStorage, temp file deleted but TdApi.GetRemoteFile still return temp file path

Here is my problematic flow with TdApi.OptimizeStorage:

-- Client call TdApi.DownloadFile to download a remote file (just partial file, not completed)
-- Td create a temp file
-- Then I call TdApi.OptimizeStorage(size=0, count =0, immunity_delay=1)
-- Wail and ensure the temp has been deleted from the system.
-- Client call TdApi.GetRemoteFile with the same fileId
-- Td return result with the same path (but deleted).

Result Flows:

-- First TdApi.GetRemoteFile result:
org.drinkless.tdlib.TdApi$File@531be3c5[expectedSize=31457280,id=1,local=LocalFile {
path = "D:\project\td\example\java\tdlib-WPW0Drvs\temp\10"
canBeDownloaded = true
canBeDeleted = true
isDownloadingActive = false
isDownloadingCompleted = false
downloadOffset = 0
downloadedPrefixSize = 0
downloadedSize = 31457280
}
-- Call TdApi.OptimizeStorage(size=0, count =0, immunity_delay=1)
-- D:\project\td\example\java\tdlib-WPW0Drvs\temp\10 already deleted at this point
-- Second TdApi.GetRemoteFile:
org.drinkless.tdlib.TdApi$File@6cc4c815[expectedSize=31457280,id=1,local=LocalFile {
path = "D:\project\td\example\java\tdlib-WPW0Drvs\temp\10"
canBeDownloaded = true
canBeDeleted = true
isDownloadingActive = false
isDownloadingCompleted = false
downloadOffset = 0
downloadedPrefixSize = 0
downloadedSize = 31457280
}
,remote=RemoteFile {
id = "BQACAgUAAxkDAAELmvpnKCbH9ZMEA8fd5OdCnKN_atX1jgAC7hAAAlvoQVUr2yYTG4TFDjYE"
uniqueId = "AgAD7hAAAlvoQVU"
isUploadingActive = false
isUploadingCompleted = true
uploadedSize = 0
}
,size=0]

Expected result: TdApi.GetRemoteFile should not return the path if it is not existed (deleted by  TdApi.OptimizeStorage).
What can I do in this case?

Call TdApi.DeleteFile to delete the file cache solves this problem.
But why doesn't TdApi.GetRemoteFile do it automatically, is it a bug?

For partially downloaded files TDLib doesn't know the remote file for which the file is a local copy and can't update information about the file. Given, there is no way to track all file changes and deletions, the local file path can become invalid in many ways. The app is supposed to call downloadFile before using the file to ensure that the file is present and unchanged.


Update Last Will

http://www.smogon.com/forums/threads/last-will-om-of-the-month.3601362/page-5#post-7340908
@TheImmortal

Adding 'Blast Burn + Explosion + Frenzy Plant + Giga Impact + Hydro Cannon + Hyper Beam + Self Destruct + V-Create > 2' to the banlist should also work.

I did not think about that... You're cool


After setting showMonths option, calendar months change

Hello
I prepared a little demo for you. Is this bug? After setting showMonths option, calendar months change.
https://jsfiddle.net/sja9fr7e/
Your Environment

flatpickr version used: latest
Browser name and version: chrome
OS and version: windows 10

Same issue here.!!! :(

@ozergul see https://github.com/flatpickr/flatpickr/issues/1546#issuecomment-433785220
I will use that issue to track progress.


MAINTAINERS: move release notes to release section

Move files related to release notes to the release section.
Signed-off-by: Anas Nashif<EMAIL_ADDRESS>

review please


Spam deletion

Also travis is a bit grumpy.

Coverage increased (+0.04%) to 88.991% when pulling c1cc45489fe2f435d2e8c51729ccd79434fb9885 on johngian:spam-deletion into 445bf7feb236f156edd55c9d3cb44c09114b8172 on mozilla:master.

Coverage increased (+0.04%) to 88.991% when pulling c1cc45489fe2f435d2e8c51729ccd79434fb9885 on johngian:spam-deletion into 445bf7feb236f156edd55c9d3cb44c09114b8172 on mozilla:master.

Coverage increased (+0.04%) to 88.993% when pulling e1be5332c5ba96fd7c4f8e3740d11f514f985f46 on johngian:spam-deletion into 445bf7feb236f156edd55c9d3cb44c09114b8172 on mozilla:master.


Proposal for Merging Terms of Service with Refund Policy

To consider merging these terms of service: https://3mdeb.com/terms-conditions/ with the refund policy: https://3mdeb.com/return-refund-policy/. Everything will be in one place then.
@pietrushnic CC

@gosiastyba very good point. @Stanislaw-bnk, let's merge those; eliminating this redundancy would be helpful.


Trying a technique in order to circumvent rootDir errors (minor changes)

Codecov Report

Merging #368 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #368      +/-   ##
==========================================
+ Coverage   99.22%   99.23%   +<.01%
==========================================
  Files          71       72       +1
  Lines        1685     1692       +7
  Branches      264      264
==========================================
+ Hits         1672     1679       +7
  Misses         13       13

Flag
Coverage Δ

#builder
100% <100%> (ø)
:arrow_up:

#runtime
94.14% <100%> (+0.02%)
:arrow_up:

#srcapp
100% <ø> (ø)
:arrow_up:

Impacted Files
Coverage Δ

lib/sky-pages-module-generator.js
100% <ø> (ø)
:arrow_up:

runtime/directives/sky-app-link.module.ts
100% <100%> (ø)

cli/build-public-library.js
100% <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 06bc08e...ef0a8d0. Read the comment docs.


Update installation instruction a bit

Zig 0.12 requirement.
Add info on unit tests.
Remove zig build run from install section as it is currently non functional.

sorry, didn't see the email for this :)


hidestars option missing on newer versions for Code39

I noticed the hidestars option is missing on newer versions, was there a reason it was removed or just an oversight?

It's still there:
https://github.com/bwipp/postscriptbarcode/blob/master/src/code39.ps#L57

Should have been more clear I guess, but it's missing from the js file here:
http://bwip-js.metafloor.com/demo/lib/symdesc.js

Got you. Wrong project. BWIP-JS is here: https://github.com/metafloor/bwip-js/issues

Oops, sorry about that.
I guess reading is fundamental, huh, who would've thought.

:-)
BWIP-JS transliterates BWIPP, so it's sometimes difficult to see what is handled where.


Add support for receiver parameters

See https://github.com/javaparser/javaparser/issues/806

No need to have this here.


Add support for cached_tokens in the Usage model for OpenAI responses

This change introduces a new field for tracking cached tokens in the
OpenAI API response. It extends the Usage record to include
PromptTokensDetails, allowing for more granular token usage
reporting. The OpenAiUsage class is updated to expose this new data,
and corresponding unit tests are added to verify the behavior.
This enhancement provides more detailed insights into token usage,
indicating how many of the prompt tokens were a cache hit.
Fixes https://github.com/spring-projects/spring-ai/issues/1506

Thank you for the update and the enhancement.
would be reviewed shortly.

rebased, added author docs, squashed and merged at 2c17577f2fb9dfd84c17da7801b0ed9d47c9939c

rebased, added author docs, squashed and merged at 2c17577f2fb9dfd84c17da7801b0ed9d47c9939c


Reinforced Obsidian not Wither Proof

setup

aftermath
On the tool tip the material is labelled as Wither Proof. Sadly this isn't true. Spawning a wither in a 5 wide, 5 high and 3 thick cube of reinforced obsidian will not contain the mob. If the roof is only one layer thick the Wither glitches through the ceiling. If the ceiling is made two layers thick it destroys the blocks.

Not fixed in 1.10.2 :( EnderIO v3.1.169


Search in stable only

Maybe an option to search only in stable (https://doc.rust-lang.org/stable/std/) could be useful for people like that doesn't use nightly

@Geobert Hello, the default search result is against the stable version. Instead, nightly is not fully supported.


Add PatrickXYS as member of kubeflow org

Hi, my name is Yao, I'm a Software Development Engineer at AWS Elastic Kubernetes Service team.
I made several PRs to different Kubeflow repositories including website, kfctl, manifest, kubeflow, etc.

kubeflow/kfctl#286
kubeflow/kubeflow#4879
kubeflow/kfctl#282
kubeflow/kfctl#276
kubeflow/kfctl#273
kubeflow/website#1780
kubeflow/manifest#985
kubeflow/manifest#982
kubeflow/manifest#953
kubeflow/manifest#952
kubeflow/kubeflow#4879

It will be great if I can join as a member of Kubeflow organization.

@googlebot I fixed it.

/assign @theadactyl


Add real account and parody account for News topic listings

Create one Topic "News"
Add real and fake accounts for CNN, BBC Sports, and The Onion
Each account listing is linked to the "News" topic

This is an update to #21

Closed for fix up


use jest.mocked for type safe mocks

Closes: https://issues.redhat.com/browse/RHOAIENG-2470
Description

Convert all usage of casting to as jest.Mock to use jest.mocked.
Convert .mockReturnValue(Promise.resolve to .mockResolvedValue
Convert .mockReturnValue(Promise.reject to .mockRejectedValue
Simplified markdown.spec.ts test to avoid all the mocking and just assert the expected conversion.
How Has This Been Tested?

unit tests
Test Impact

Request review criteria:

Self checklist (all need to be checked):

[x] The developer has manually tested the changes and verified that the changes work
[x] Commits have been squashed into descriptive, self-contained units of work (e.g. 'WIP' and 'Implements feedback' style messages have been removed)
[x] Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
[x] The developer has added tests or explained why testing cannot be added (unit tests & storybook for related changes)

If you have UI changes:

[ ] Included any necessary screenshots or gifs if it was a UI change.
[ ] Included tags to the UX team if it was a UI/UX change (find relevant UX in the SMEs section).

After the PR is posted & before it merges:

[ ] The developer has tested their solution on a cluster by using the image produced by the PR to main

/lgtm


Wrong adress for IFrame in production mode

In the client url_dict the iframe url for production is wrong. Is should be https://yousign.fr/ instead of https://api.yousign.fr/

Hello,
Thank you for your report this bug is now fixed.


Adding STRIPE_PUB_KEY

So that the PUB is abstracted out of the code like the SECRET is and sourced from the environment.
This also fixes my issue #14

Thanks @joshuacox! I just pushed a commit that moves all Stripe ids to the .env file 👍


Status Bar won't hide

Hello,
I'm having an issue with the status bar not hiding. I accidentally hit some key combination (unsure which) that opened it, and I cannot get it closed. The "hide" button does nothing, and I can find no key shortcut on how to hide it.
Any help is greatly appreciated!
For reference:

Thanks!

Hi @o-cha
In Windows you must press: CTRL+ALT+H

That's only closing the side navigator for me and not the bar at the bottom. Thanks!

Disregard this. I figured it out. It was an extension causing it to show.


Any guidance on SSL pinning

I know your documentation says "TODO: Update docs on how to load certificates and public keys into an app bundle, use the builtin pinner and TrustKit."  I searched around, but could not find any good examples.  I'm working in Swift, but anything would be helpful.
I'm currently using TrustKit with IOS's URLSession, but when using it there, I just override the delegate function.  I don't see that here for Starscream.  I'm quite lost and any guidance would be much appreciated.

Am I suppose to create a custom FoundationSecurity class, then override the evaluateTrust method?

I see that WebSocket has a security property when I can assign my own implementation of Starscream.SSLTrustValidator. I looked into that protocol and it has just one method isValid(_ trust: SecTrust, domain: String?) -> Bool.
This method looks like a match for Trustkits TSKPinningValidator.evaluateTrust(serverTrust: SecTrust, forHostname: String).
Is this the way to got with Trustkit? I tried taking this route but there are a few things not clear to me
final class TrustkitSSLTrustValidator: Starscream.SSLTrustValidator {
    func isValid(_ trust: SecTrust, domain: String?) -> Bool {
        guard let domain = domain else {
            // can this even happen? is it really a fail?
            return false
        }

        let pinningValidator = TrustKit.sharedInstance().pinningValidator
        let result = pinningValidator.evaluateTrust(serverTrust: trust, forHostname: domain)
        switch result {
        case .shouldAllowConnection:
           return true
        case .shouldBlockConnection:
           return false
        case .domainNotPinned:
          // should this perform a default cert chain validation? or is this done by Starscream before even calling this method?
        }
    }
}

@igorkulman coincidentally I'm also working on integrating TrustKit with Starscream, however, I'm doing it in NativeScript (TypeScript), so I'm not sure my code would help you, so I'm just describing to you how I did it:

Create an instance of FoundationSecurity, we will use it for when pinning succeeded or when no pinning was done for the domain, so we can still do the default SSL checks.
Create your own class that implements the CertificatePinning protocol with the evaluateTrust func
In your evaluateTrust func, add the following:

let pinningValidator = TrustKit.sharedInstance().pinningValidator
let result = pinningValidator.evaluateTrust(serverTrust: trust, forHostname: domain)

// Do default behaviour/FoundationSecurity checks when not pinned or allowed.
if result == .domainNotPinned || result == .shouldAllowConnection {
  foundationSecurityInstance.evaluateTrust(trust, domain, completion);
  return
}

// Should block connection.
// @todo: Create a new error here, something that says that certificate pinning failed
completion(.failed(error));

This code is obviously not tested, I don't have access to OSX right now, but something like this should work.
Hope it helps!

@igorkulman coincidentally I'm also working on integrating TrustKit with Starscream, however, I'm doing it in NativeScript (TypeScript), so I'm not sure my code would help you, so I'm just describing to you how I did it:
1. Create an instance of [FoundationSecurity](https://github.com/daltoniam/Starscream/blob/master/Sources/Security/FoundationSecurity.swift#L40), we will use it for when pinning succeeded or when no pinning was done for the domain, so we can still do the default SSL checks.

2. Create your own class that implements the [CertificatePinning](https://github.com/daltoniam/Starscream/blob/master/Sources/Security/Security.swift#L37) protocol with the `evaluateTrust` func

3. In your evaluateTrust func, add the following:

let pinningValidator = TrustKit.sharedInstance().pinningValidator
let result = pinningValidator.evaluateTrust(serverTrust: trust, forHostname: domain)

// Do default behaviour/FoundationSecurity checks when not pinned or allowed.
if result == .domainNotPinned || result == .shouldAllowConnection {
  foundationSecurityInstance.evaluateTrust(trust, domain, completion);
  return
}

// Should block connection.
// @todo: Create a new error here, something that says that certificate pinning failed
completion(.failed(error));

This code is obviously not tested, I don't have access to OSX right now, but something like this should work.
Hope it helps!

That is basically my code posted above just without answering the questions. You asume that when domain is not pinned it OK, which I am not sure about, it can be an expired cert, or cert with invalid chain and it is not known if it gets validated or ignored .

@igorkulman Sounds like you didn't really read what I said.
I did answer those questions. When pinning is OK or domain is not pinned, we call FoundationSecurity to do the other SSL checks, like invalid certs. You can compare this to PerformDefaultHandling in NSURLSession.

Thanks @jerbob92!


Support Post-Query Per-Record Authorization Checks in Catalog Plugin

Happy to work on this.
Feature Suggestion

Support checking entities returned through AuthorizedEntitiesCatalog.entities against an authorizer endpoint to ensure fine grained access control.
Desired flow is check if user has access to read records -> pull records from database -> verify that user has access to pulled records through external system -> return only records user has access to.
Possible Implementation

Before the return on https://github.com/backstage/backstage/blob/71a0780ac32401176b70c0527daf376afa27dcd6/plugins/catalog-backend/src/service/AuthorizedEntitiesCatalog.ts#L65, add a filter function similar to https://github.com/backstage/backstage/blob/71a0780ac32401176b70c0527daf376afa27dcd6/plugins/search-backend/src/service/AuthorizedSearchEngine.ts#L211.
Context

Currently, the AuthorizedEntitiesCatalog only supports discrete DENY/ALLOW checks and synchronous database level filters. My organization uses an external API for access control checking, which would need to be called at runtime after all records are loaded from the database. At the moment, I would need to add distinct PermissionRules for each entity I wanted to hide from the home page.

This is a really interesting question. Today, the catalog only asks for authorization without a resource when filtering entities, and that happens before hitting the DB, we will always have a result of ALLOW, DENY, or CONDITIONAL by the time we go to the database. Even if we add some post-DB per-record filtering, we would need a third status to represent the fact that the policy doesn't support CONDITIONAL responses for this request, and that it wants to be asked result-by-result.
It seems like we need something new in the permission framework to handle this requirement. Either a new AuthorizeResult like AuthorizeResult.CONDITIONAL_UNSUPPORTED, or support for metadata returned along with decisions. In either case, we're looking to signal to the caller "I can't give you a conditional decision, but I want to authorize resource-by-resource".
WDYT @Rugvip / @vinzscam?

Note by the way, that even once we've addressed the above, we'll need to think carefully about how we handle record-by-record authorization. This is a thorny area, since it doesn't play nicely with pagination. The user will have asked for a specific number of entities at a specific offset, and if for example the permission policy is extremely restrictive, such that only a very small subset of entities in the catalog are actually visible, building this page of entities can be extremely expensive when filtering result-by-result. We handled this in the search plugin by using a latency budget, and aborting the operation (and returning what we found so far) when it takes too long, but since the catalog is the canonical source of truth, that approach probably isn't good enough in this case.

Yeah, I share all the concerns expressed above.
It doesn’t look like it would be possible to build something scalable using this approach, given that you are using an external system for performing authorization. More specifically, let’s say the catalog returns 10k entities, what do you do? Do you send 10k REST requests to the external system or a single big request containing everything? Neither approach seems to scale.
In my opinion I don’t see a good reason for including such logic in the Catalog, since this looks a very specific use case. I would consider a different approach, where you create a new catalog proxy plugin which exposes the same endpoints as the catalog, fetches the data from the catalog and applies all the custom authorization logic before returning all the entities.

Thanks for the input y'all and I definitely agree. It 100% ends up as a scalability problem for larger catalogs.
I guess I'm still confused by why search has it implemented in the first place, why would we want just search to do resource level authorization checks and not the overall catalog? I'd expect to be able to do resource-level authorization across the entire catalog, if it's enabled initially in a single place.
I'll also add that I don't think it's quite a unique case, there was a similar question in Discord about using Github repo access controls, https://discord.com/channels/687207715902193673/978977570852835379/1026945801097855026.
That being said, I like the direction that @vinzscam proposed, so I'm gonna take a stab at it.

I guess I'm still confused by why search has it implemented in the first place, why would we want just search to do resource level authorization checks and not the overall catalog? I'd expect to be able to do resource-level authorization across the entire catalog, if it's enabled initially in a single place.

The problem with resource-level authorization is that it doesn’t mesh well with database-backed paginated queries. If an individual authorisation is needed for every entity, then you have to:

Load a page of data from the DB
Run authorization for each entity, filter out unauthorized
Load more entities to fulfil the initial page size on the request and authorise them too, repeating as necessary until you have either run out of entities in the db, or you hit the requested limit.

Note that 3 above is not just a nice-to-have. If we didn’t backfill filtered entities with more data, we would be leaking the fact that more entities matching the user’s query exist but are invisible to them. It’s also potentially hugely expensive - consider a catalog with 100,000 entities, but only 5 visible to the logged-in user.
These problems actually all hold true for the search system too, but we can relax the constraints a bit for search given the different use cases compared to catalog itself.

That being said, I like the direction that @vinzscam proposed, so I'm gonna take a stab at it.

The proxy approach sounds like a great idea to me too - it means you can build a solution that works for your individual use case, which is likely a lot more manageable than trying to solve this in a general-purpose way in catalog-backend.


Remove version: SWIG.SWIG version 4.2.1

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

Close with reason: Package still available.;

This package is DOA anyway; see #168066


pin gcc libs

Checklist before submitting

[x] Did you read the contributor guide?
[ ] Did you update any affected documentation?
[ ] Did you write any tests to validate this change?

Description
Fixes open-ce/open-ce#315.
Review process to land

All tests and other checks must succeed.
At least one maintainer must review and approve.
If any  maintainer requests changes, they must be addressed.

semantic is a noarch package so this is not needed.


initial treemaps (not animated)

#6

viz.yaml is conflicted, might be my fault :sob:

I think we need to do this based on the national data (all the way back to 1950) and use all of the categories for starters. We can aggregate categories later if showing all the categories doesn't make sense.
I peeled open the object that treemap creates, and it will be seemingly pretty easy to control and turn into our own custom SVG, so 👍  on that.
Also, I would suggest that this is a process step, and we use the treemap package to get the data in a format that we can use as input into the visualize step that creates the svg.
For starters, you could write a list to .rds, where it contains all of the treemap objects and is referenced by year.

I'm 99% sure that's @lindsaycarr 's plan (to use the national data). She just wanted to get a skeleton working since it was taking me so long to clean the numbers.

I don't know why my fix didn't get rid of the "conflict".....if it would help, I can try to figure out how to delete my edits.

@ldecicco-USGS that's OK. I have some other things to fix anyways

@jread-usgs add it to process and made the output a giant list of lists. It also includes the total wateruse data in the list. One more review before this gets merged?


Add languages to website details page

Hello, I added languages stored from sessions and included them into the dashboard, underneath the countries list in the dashboard. I think this would solve #750. Although I'm not too sure how the UI should look for this or if this is something that is wanted in the main dashboard page in the first place. But here it is anyway, thanks!

Hi, thank for this PR. I'm not sure languages are important enough to take up that space. I think we can add it as another tab under More. Or we can do a filter selection thing like we do for URLs.

Definitely agree, it's included within the more tab, i just added a commit to remove it from the main page though and keep that untouched, if this still doesn't feel right we can go ahead and close this PR. Thanks!


fix(ci): adjust noqa comments

Pull Request Checklist

[ ] New code has 100% test coverage
[ ] (If applicable) The prose documentation has been updated to reflect the changes introduced by this PR
[ ] (If applicable) The reference documentation has been updated to reflect the changes introduced by this PR

Description
Adjusts Ruff noqa statements that presented warnings
Close Issue(s)
Fixes #1998

Can someone explain to me why Ruff insists on removing # noqa: UP006?
Without it, I would expect List[] to become list[] but it just stays as is...


Photos and Videos

It's possibile to take photos or videos using the smartphone camera while making a call?

Yes, you can use MediaStreamTrack.captureFrame to get a snapshot of the current video.


feat: Optimized animation handler and crashing

Fixes godot-escoria/escoria-issues#76
Fixes godot-escoria/escoria-issues#78
Fixes godot-escoria/escoria-issues#75

Incredible work! Thank you very much!


Canceling File Modification Fails to Return File's Original State in Oil

Doing a file operation and canceling it does not return the file's state to how it was prior to the file operation.
Reproduction

Do a file operation, delete(dd) is easy to visualize
write the file with :w
Cancel the deletion
See that the file has not returned in the buffer/back to its original state

I see, this does clarify what you were talking about in the other issue. So this is actually the intended behavior. If you make some changes, :write, then see "oops, this is accidentally going to do something I didn't intend", you should be able to cancel it and perform some more changes without losing your prior work. However, if you want to intentionally discard your changes, you can do that the same way you would with any other buffer: :e!

I understand where this could be useful. Perhaps make it an option that is setable?

I'm hesitant to add UI or a config option for this. If you want, it's easy to create a keybind that calls discard_all_changes(). If you want you can even create that keybinding just in the preview window:
vim.api.nvim_create_autocmd("FileType", {
  pattern = "oil_preview",
  callback = function(args)
    vim.keymap.set("n", "d", function()
      vim.api.nvim_win_close(0, true)
      require("oil").discard_all_changes()
    end, { buffer = args.buf })
  end,
})

Your autocommand almost works! It closes the confirm buffer but Oil's discard function does not seem to work.

Ah, I think this was because the :w would mark the buffer as not modified, even if you cancel out of the preview window. Then discarding the changes wouldn't work, because the buffer wasn't marked as modified. It should work now

Hmm, I do not think the autocmd worked. The mapping fires, but discard_all_changes() does not revert the buffer state.

Interesting. I'm unable to reproduce it; discard_all_changes() works for me now no matter how I try it. Could you provide detailed repro steps? Preferably using a minimal config like the one in the issue template.

Nevermind, just had to call it before Oil.


Owning version of Incoming

Is your feature request related to a problem? Please describe.
I cannot create a Listener and return a impl Iterator/impl AsyncIterator inside of the same function because ListenerExt::incoming borrows the Listener.
Describe the solution you'd like
Add into_incoming (or something similar) to ListenerExt as a owned alternative to Incoming.
Describe alternatives you've considered
I could implement this myself (or Box::leak(Box::new(_)) :smile:) but I think this better belongs here.
Additional context
N/A

As of 2.1.0, all local socket Listeners implement Iterator by itself, so returning an impl Iterator is as simple as returning the listener itself. An analogous feature is present for async local sockets.

Thanks!

Just tried this out, I believe the async version does not work because accept should be stored and polled until completion, whereas the current implementation will call accept on every poll https://github.com/kotauskas/interprocess/blob/b79d3636152158f7a8977f8043188e89446916c5/src/os/windows/named_pipe/local_socket/tokio/listener.rs#L40-L48

While fixing this bug, I've discovered that Incoming itself is broken for async local sockets. As such, I have removed all of the AsyncIterator implementations, including async Incoming itself.
I don't see a good way to tackle this problem, since Stream (AsyncIterator) by design requires the locals of the future to be stored within the stream itself. Getting a projection to the concrete type behind a given function's RPIT is impossible, and hence storing the future type a given async fn returns without introducing a type argument to the containing type is also impossible.
Note that this flaw of Stream is primarily due to Rust not supporting GATs when the trait first came to be.


[RELEASE] 0.3.12

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.2 out of 3 committers have signed the CLA.:white_check_mark: nlsdfnbch:white_check_mark: czepluch:x: DevOpsBotDevOpsBot seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Automated cherry pick of #1054: fix: baremetal raid logical volume and block device map

Cherry pick of #1054 on release/2.10.0.
#1054: fix: baremetal raid logical volume and block device map

Codecov Report

:exclamation: No coverage uploaded for pull request base (release/2.10.0@dec1485). Click here to learn what that means.
The diff coverage is 28.75%.

@@               Coverage Diff                @@
##             release/2.10.0   #1061   +/-   ##
================================================
  Coverage                  ?   7.97%
================================================
  Files                     ?     356
  Lines                     ?   56426
  Branches                  ?       0
================================================
  Hits                      ?    4500
  Misses                    ?   51530
  Partials                  ?     396

Flag
Coverage Δ

#aFlag
7.97% <28.75%> (?)

Impacted Files
Coverage Δ

pkg/baremetal/utils/disktool/disktool.go
0% <0%> (ø)

pkg/baremetal/tasks/baseprepare.go
0% <0%> (ø)

pkg/util/sysutils/sysutils.go
75% <100%> (ø)

pkg/baremetal/utils/raid/raid.go
16.66% <28.57%> (ø)

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 dec1485...6895424. Read the comment docs.

/lgtm
/approve


JIT: CPU simulator

TODO:

[ ] builtin functions
[ ] device function call
[ ] where inputs share the same memory
[ ] tests

import numpy
import cupy
from cupyx import jit

@jit.rawkernel()
def f(x, y):
    tid = jit.threadIdx.x + jit.blockDim.x * jit.blockIdx.x
    y[tid] = x[tid]

x = numpy.random.randint(100, size=30)
y = numpy.random.randint(100, size=30)
f.simulate((5,), (6,), (x, y))
assert bool((x == y).all())

Discussed offline: Launching host threads of the same number as CUDA threads could be a problematic. How about running them sequentially and use yield when syncthread is needed?

Discussed offline: Launching host threads of the same number as CUDA threads could be a problematic. How about running them sequentially and use yield when syncthread is needed?

@kmaehashi @emcastillo
I've thought about it after the discussion, and it seems that this idea will require changing the syntax to yield from jit.syncthreads().
Now, I want to change the syntax to simply write yield "<label>" as a syncthreads, and deprecate jit.synchtreads. How do you think about it?

Is it too much to implement another naive compiler that transpiles CuPy JIT to Python and evaluate its generated result with exec so that we can have arbitrary semantics on jit.syncthreads()?

Yeah @emcastillo and I were thinking of the similar idea, e.g., parse the user function and rewrite syncthreads etc to await or yield and execute it.

The thing is like we have to take into account block & grid sync (cooperative groups?).
Probably mem fences are Ok since we don't have real parallel execution but the barriers will force us to have live "threads" holding their own local contexts.
We discussed this and maybe asyncio is the cleanest way to go. Barriers are not directly available but they can be easily implemented.

How about simulating on AST? For example, when using warp shuffle operations, we want to synchronize the threads for each operation, but I think that multi-threading or yield cannot deal with it well.

might be a good idea

Offline discussion:
We would like to avoid both:

launching thousands of host threads
reinventing an interpreter that executes AST
So rewriting the target function with asyncio sounds the way to go. This should be doable by  by rewriting the target function def to async def, and rewrite syncthreads / ooperative groups / etc. with await from, all via AST.

@kmaehashi I've considered how to implement it, but I think it would be difficult to support a CPU simulator without reinventing an interpreter that executes AST while ensuring perfect synchronization for identical warps.
Closing this PR until we find a suitable implementation policy.


Core update

Make master using 1.0.0b2, to clarify code on master is not PyPI anymore
Add polling_interval in configuration

(message created by the CI based on PR content)

Discussed with @johanste offline, he's ok to merge it


[WIP] Implement type erased wrappers

This is a work in progress PR. I've put it here, such that if someone sees something very wrong, you can stop me early.

This looks very good. I would love to see a storage option that used an internal buffer to store small senders/op states in situ. EDIT: I'm fine with making that a separate PR though, if you prefer.

No, I have planned to implement sbo here, but didn't have time today. I just pushed whatever I had when I finished today. Sorry for the noise

Ok, I have implemented a copyable sender env. Did you imagine in #764 something like this? The difference to __rec::__ref is, that the "any_sender" class is a factory for the env. But I am open to any alternative suggestions and designs. I still need to reiterate a couple of times to cleanup the code and fix some pending issues. But I think we habe a good start to think about a good syntax.

Ok, I have implemented a copyable sender env. Did you imagine in https://github.com/NVIDIA/stdexec/issues/764 something like this?

Not quite. Firstly, I'm wondering why we need any_env_of at all. I don't think any_sender_of needs it. But the real trouble with copying environments is that they often have reference semantics, like std::reference_wrapper. You can copy the env, but you're not deep copying it, which can lead to lifetime issues.
To really copy an env and get a value type, you would need a way to iterate over the queries that the env supports. Then you would create a new object with the same queries but that stores everything by value.

Not quite. Firstly, I'm wondering why we need any_env_of at all. I don't think any_sender_of needs it. But the real trouble with copying environments is that they often have reference semantics, like std::reference_wrapper. You can copy the env, but you're not deep copying it, which can lead to lifetime issues.

I see. I really misunderstood multiple things here. Thank you for clarifying!

I will reopen against the main branch


[Machine Learning] Implementing Bert Model using Hugging Face Transformers

Proposal Submission
Proposed title of article
Implementing Bert Model using Hugging Face Transformers
Proposed article introduction
Hugging Face Transformers provides thousands of pre-trained models to perform tasks on different modalities such as text, vision, and audio. Text, for tasks like text classification, information extraction, question answering, summarization, translation, and text generation.  Images, for tasks like image classification, object detection, and segmentation. Audio, for tasks like speech recognition and audio classification.
Hugging Face Transformers support pre-trained models such as ALBERT, BERT, BART, Barthez, etc. In this tutorial, we will be focusing on the BERT model.  Bidirectional Encoder Representations from Transformers (BERT) is a transformer-based machine learning technique for natural language processing (NLP) pre-training developed by Google. BERT is designed to help computers understand the meaning of ambiguous language in the text by using surrounding text to establish context.
We import BERT from the hugging face transformers. We will use the model to build a custom sentiment analysis. Sentiment analysis is an NLP task that classifies customers reviews as either positive or negative.
Key takeaways

What is the Hugging Face library?
Installing the HuggingFace transformers.
Exploring the pre-trained models such as ALBERT, BERT, BART, Barthez, etc.
Importing BERT
Building the model using BERT.

Article quality
This article is unique because it explains the concept of transformers in detail. Using the article the reader will be able to know the different transformer models before focusing on BERT. It also covers the basic BERT architecture, this will enable the reader to know how to fine-tune the model to understand sentiment analysis. The article will also cover HuggingFaceTransforemers, we will discuss the different tasks that the libraries can solve. The tutorial uses detailed steps that a reader can easily follow.
References
Please list links to any published content/research that you intend to use to support/guide this article.
Conclusion
Finally, remove the Pre-Submission advice section and all our blockquoted notes as you fill in the form before you submit.
We look forwarding to reviewing your topic suggestion.
Templates to use as guides

How To Guide Template
Software Review Template
Tutorial Template

Good afternoon and thank you for submitting your topic to the EngEd program.
After some careful consideration, it struck us that this topic may be a bit over-saturated throughout other blog sites and official documentations.
We typically refrain from publishing content that is covered widely on the net or other blogs. We're more interested in original, practitioner-focused content that takes a deeper dive into programming-centric concepts.
But in order to approve the topic, it has to serve value to the larger developer community at large.
An option and a great way to write this as an in-depth article and make it more add value to the greater developer community at large would be to walk the reader through the USE of methods and functions by building a unique, different, useful project.

We would love to learn your thought process behind the solution you arrived at using these concepts and topics.

That way a developer could see them in action.
As mentioned above - we believe this topic is widely covered on other blog sites.
The best way for students to build a great portfolio is by building what does not exist and what can provide the most value.


unavailable for exFAT

hi ,  I get your demo and build it, but when the udisk is exFAT, it can not be checked and read，but i saw your project has this partitionTypes, what shall we do to solve or use it , thank you

If it is MBR and exFAT it should work if you actvate java-fs. I you are doing that if you use my demo app?

Hi Magnus.
I have encountered the same issue with Usbfileman with FAT or exFAT USB sticks.
See below the stacktrace.
What exactly your suggestion "activate java-fs" means? The exception is thrown from the javafs module - is this related to java-fs you mention? I have just gave Usbfileman a go today, didn't dig much into the code. Working with filesystems on USB devices seems involving, I was expecting a walk in the park but it's not the case ;).
Many thanks,
Adrian
E/AndroidRuntime: FATAL EXCEPTION: main
    Process: com.github.mjdev.usbfileman, PID: 562
    java.lang.NoSuchMethodError: No virtual method position(I)Ljava/nio/ByteBuffer; in class Ljava/nio/ByteBuffer; or its super classes (declaration of 'java.nio.ByteBuffer' appears in /system/framework/core-oj.jar)
        at org.jnode.fs.exfat.ExFatSuperBlock.read(ExFatSuperBlock.java:72)
        at org.jnode.fs.exfat.ExFatFileSystem.<init>(ExFatFileSystem.java:46)
        at org.jnode.fs.exfat.ExFatFileSystemType.create(ExFatFileSystemType.java:37)
        at org.jnode.fs.exfat.ExFatFileSystemType.create(ExFatFileSystemType.java:32)
        at com.github.magnusja.libaums.javafs.JavaFsFileSystemCreator.read(JavaFsFileSystemCreator.java:73)
        at com.github.mjdev.libaums.fs.FileSystemFactory.createFileSystem(FileSystemFactory.kt:57)
        at com.github.mjdev.libaums.partition.Partition$Companion.createPartition(Partition.kt:87)
        at com.github.mjdev.libaums.UsbMassStorageDevice.initPartitions(UsbMassStorageDevice.kt:173)
        at com.github.mjdev.libaums.UsbMassStorageDevice.setupDevice(UsbMassStorageDevice.kt:158)
        at com.github.mjdev.libaums.UsbMassStorageDevice.init(UsbMassStorageDevice.kt:100)
        at com.github.mjdev.libaums.storageprovider.UsbDocumentProvider.addRoot(UsbDocumentProvider.java:416)
...

Can you try compiling with target Java version 8 instead of 9?
See
https://github.com/apache/felix/pull/114
https://github.com/sannies/mp4parser/issues/323

Hi
How can I actvate java-fs in this project?

Hi Magnus,
I will get up to speed again with Android development after a break of some time. I am giving you below details about my setup. Can Android Developer even target Java 9?
Target Compatibility shows as options: 1.8 (Java 8), 1.7 (Java 7), 1.6 (Java 6) and Kotlin 1.3. Same for Source Compatibility.
I tried with Target Java 7 - same issue. No stack trace as the debugger was misbehaving.
My questions and some comments:

Was exFAT tested and blessed? What was the setup?
Github says "Currently it supports the SCSI command set and the FAT32 file system.", No mention of exFAT or FAT. Documentation behind?
If answer is yes, can Usbfileman apk be made available somehow so that I can try with exFAT on my phone? If it works I will dig further to find out if there's a build problem or whatever.
Should maybe try with Kotlin build with exFAT?
Usbfileman is not verbose when it crashes. Maybe I can contribute here to add some info. If added on Google Play it may send back crash info to you. That could help.
Stick with the master branch? Or have you pushed stuff to have on the develop one?

Thanks for your work, it was an eye opener, I was expecting a walk in the park but looks like user-space fs support is not trivial ;).
My setup:
Android Studio 3.5
Build #AI-191.8<IP_ADDRESS>91312, built on August 9, 2019
JRE: 1.8.0_202-release-1483-b03 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0

Using SDK and JRE that come with Android Studio
Phone is Samsung Galaxy S7
USB stick formatted on Windows 10, tried with Nikon S6 XQD card as well, same issue

@azrael8576 Just have a look in the example app code, it us being used there.
@Adrian-Rosoga Good point. Have not tried it in a long time. exFAT is highly experimental probably has performance issues and is pretty buggy. Use at your own risk. This might be a problem with my release of java-fs because I compiled with JDK 11 ... Will try tomorrow

@magnusja
Sorry, I didn't describe it in detail.
I successfully built Usbfileman app.
FAT32 file system is work.
But can't work in exFat.
I see JavaFsFileSystemCreator Class has this ExFatFileSystemType from javafs module

What does the exception say?

java.io.IOException: Could not read from device, result == -1 errno 0 null

@magnusja
You can cast ByteBuffer to Buffer then you can compile the project with JDK9 and have it running on JDK8.

java.io.IOException: Could not read from device, result == -1 errno 0 null

I get the same error with you, have you fix it when read exFAT?

upgraded to the version 0.7.1 and exfat still doesn't work

see https://github.com/magnusja/libaums/issues/235#issuecomment-561121268 for a fix

Excuse me, is there a plan to release a version which supports exFAT recent?

java-fs you have to compile yourself, there is no plan to release this anytime soon as it is highly experimental

@magnusja
I have tested with java-fs but it seems that implementation details with exfat are still not completed.
https://github.com/magnusja/java-fs/blob/master/src/main/java/org/jnode/fs/exfat/NodeFile.java
With the NodeFile: Write file or flush file are still missing.
https://github.com/magnusja/java-fs/blob/master/src/main/java/org/jnode/fs/exfat/NodeDirectory.java
Similar to NodeDirectory which lacks the add file, add directory, remove file or directory.
Do you have any support for these implementations?

Hey there,
yes you are right a lot of the file systems are read only. I have currently no plans to improve this situation. But I am happy to take contributions.

Hello,
Do you have any solution for writting with extFat system ?
How do work Paragon ? We can mount/unmount partition and R/W easily with the File classe

I'd also like to add that exfat is technically proprietary by Microsoft and there are patents on it. The patents have been granted for inclusion in the Linux kernel, however that doesn't imply that they're also granted for other projects.
(Notice: IANAL) Since the Linux kernel code is GPL2-licensed, you could technically take it out, make it work outside of Linux and license it as a GPL2 project as well. This must be true because the GPL2 explicitly grants that and Microsoft agreed to grant the patents for a GPL2-licensed project.
However, I'm pretty sure you cannot link an Apache 2 project to a GPL2 project, only LGPL2 with the restrictions that apply to libusbcommunication (see https://github.com/magnusja/libaums/tree/develop/libusbcommunication#licensing).
The only way that such a thing would be feasible (and I'm not even sure) would be to place a standalone binary in the shared storage, with all the security considerations (guys, please don't even try).
Another safer way would be to license the entire app as GPL2/3, build the exfat implementation separately, then plug the implementation into libaums. That way the entire app can be rebuilt and replaced by the users.
I'm not sure an exfat implementation would be legal in any other way, unless Microsoft blesses us or royalties are paid.


Multiple Recurrence Patterns (RecurrenceRules & ExceptionRules) are ignored

Nuget version: 4.2.0
Observed behavior:  If multiple RecurrenceRules and/or ExceptionRules are added to the Event, only the first rule is taken into account. Others are ignored.
Expected behavior:  All RecurrenceRules and ExceptionRules  should be applied.
Example 1:
var rrule = new RecurrencePattern("FREQ=DAILY;INTERVAL=1"); // Event occurs every day
var exception1 = new RecurrencePattern("FREQ=WEEKLY;INTERVAL=1;BYDAY=MO"); // Except Mondays
var exception2 = new RecurrencePattern("FREQ=MONTHLY;INTERVAL=1;BYDAY=1TU"); // Except the first Tuesday of each month
var startDate = DateTime.Parse("07/30/2021");
var endDate = DateTime.Parse("08/07/2021");

var iCalevent = new CalendarEvent
{
    Start = new CalDateTime(2021, 8, 1),
    RecurrenceRules = new List<RecurrencePattern> { rrule },
    ExceptionRules = new List<RecurrencePattern>() { exception1, exception2 }
};
var calendar = new Calendar();
calendar.Events.Add(iCalevent);

var occurrences = calendar.GetOccurrences(startDate, endDate).AsEnumerable();
foreach (var occurrence in occurrences)
{
    Console.WriteLine($"{occurrence.Period.StartTime:dddd, MMMM dd, yyyy h:mm:ss tt}");
}
   /*
    * Actual output:
    * Sunday, August 01, 2021 12:00:00 AM
    *                                       <-- No Monday is expected due to exception1
    * Tuesday, August 03, 2021 12:00:00 AM  <-- this is UNEXPECTED since it is the first Tuesday of the month (see exception2)
    * Wednesday, August 04, 2021 12:00:00 AM
    * Thursday, August 05, 2021 12:00:00 AM
    * Friday, August 06, 2021 12:00:00 AM
    */

Example 2:
var rrule1 = new RecurrencePattern("FREQ=WEEKLY;INTERVAL=1;BYDAY=MO"); // Event occurs on each Monday
var rrule2 = new RecurrencePattern("FREQ=MONTHLY;INTERVAL=1;BYDAY=1TU"); // Event occurs on the first Tuesday of each month
var startDate1 = DateTime.Parse("08/01/2021");
var endDate1 = DateTime.Parse("09/01/2021");

var iCalevent1 = new CalendarEvent
{
    Start = new CalDateTime(2021, 8, 1),
    RecurrenceRules = new List<RecurrencePattern> { rrule1, rrule2 }
};
var calendar1 = new Calendar();
calendar1.Events.Add(iCalevent1);

var occurrences1 = calendar1.GetOccurrences(startDate1, endDate1).AsEnumerable().OrderBy(x => x.Period.StartTime);
foreach (var occurrence in occurrences1)
{
    Console.WriteLine($"{occurrence.Period.StartTime:dddd, MMMM dd, yyyy h:mm:ss tt}");
}

            /*
            * Actual output:
            * Monday, August 02, 2021 12:00:00 AM
            *                                       <-- Expected Tuesday, August 03, 2021 12:00:00 AM
            * Monday, August 09, 2021 12:00:00 AM
            * Monday, August 16, 2021 12:00:00 AM
            * Monday, August 23, 2021 12:00:00 AM
            * Monday, August 30, 2021 12:00:00 AM
            */

@OlegBarkov I have a question you may be able to answer. I was under the impression that if I had something like the following, the call to GetOccurrences would return the actual times of each occurrence, but it appears to only return the list of dates on which the occurrences will occur.  Assuming today is 8/11, It is returning. Is what is being returned expected?
Actual
08/12/2021
08/13/2021
... skip for brevity
08/18/2021
Expected By Me
08/12/2021 11:00:00, 08/12/2021 14:00:00
08/13/2021 11:00:00, 08/13/2021 14:00:00
.... skip for brevity
08/18/2021 11:00:00, 08/18/2021 14:00:00
        // Every Day at hour 11 and hour 14, for 14 occurrences
        var tomorrow = DateTime.Now.Date.AddDays(1);
        var rrule = new RecurrencePattern(FrequencyType.Daily, 1)
        {
            Count = 14,
            ByHour = new List<int> { 11, 14}
        };

        var calendarEvent = new CalendarEvent
        {
            Start = new CalDateTime(tomorrow),
            RecurrenceRules = new List<RecurrencePattern> { rrule },
        };

        var calendar = new Calendar();
        calendar.Events.Add(calendarEvent);
        // calendar.RecurrenceEvaluationMode = RecurrenceEvaluationModeType.AdjustAutomatically;
        var occurrences = calendar.GetOccurrences(new CalDateTime(DateTime.Now.Date), new CalDateTime(DateTime.Now.Date.AddDays(50)));

@billyjacobs2014 I think you are correct, GetOccurrences should return times of occurrences not only dates. But this looks like a separate issue.

I have also just arrived at the same issue as OlegBarkov has explained at the opening of this issue.

@billyjacobs2014 this happens, when the time of day for start is set to 00:00:00. I agree with @OlegBarkov that this might be a separate issues

Can i know when we have the next release for this issue ?