Add share icons to the native app

[ ] use react-native implementation of react-share library
Facebook & Twitter: https://www.npmjs.com/package/react-native-social-share
Share via E-Mail: https://www.npmjs.com/package/react-native-email
[ ] research the libraries for Telegram and WhatsApp
[ ] create .web and .native files exporting share buttons components, import components to Invites.js from this file instead of react-share
[ ] .web file should just re-export buttons from react-share
[ ] .native file should export components which performs sharing using native libraries
[ ] native library components / functions should be wrapped to the components having the same props like react-share components (url, beforeOnClick, title ,subject, body, separator,...)

@Zhigamovsky Need to be discussed with @Esfir-E @sirpy and myself.

@Esfir-E the current share icons functionality is not compatible with native
for now we have removed them.

there's no out of the box solution for the exact buttons we had, so it will require effort to develop it
i really think they are redundant on native, i've barely ever seen someone give buttons to share specifically, everyone uses the generic native share capability

I think this is too much work for nothing. Let's stick with generic native, which is an interface that people are used to operate and works much better than a handful of pretty icons.


Windows client wintun.dll packaging / install

Is your feature request related to a problem? Please describe.
The Windows client will depend on wintun.dll which probably can't be linked into the exe. Users won't want to handle two files. Before an auto-updater is in place, the DLL needs to end up either next to the exe or in a well-known path.
Describe the solution you'd like
This hack from SO might work. The x64 DLL is only 418 KB, so we'd just embed its bytes in the exe and then install it on the fly. If we're running privileged, like as a system service, we can put that in Program Files. If we're unprivileged and there's no system service backing us (unlikely since wintun needs privileges to make the adapter / tunnel anyway?) we could put it in some cache directory or AppData.
Describe alternatives you've considered
Tauri already builds MSI and NSIS installers for the client. There must be a way to hook into those and have it install the DLL alongside the exe.
Additional context
Can't think of any other context.

Done in main https://github.com/firezone/firezone/blob/baae3bd693d3ad0dbd2fff955f344a1aef0fd26c/rust/windows-client/src-tauri/src/client/wintun_install.rs


hot reload initial sync getting slower

There's a clear trend in how long it takes to do the hot_mode_dev_cycle__benchmark hotReloadInitialDevFSSyncMilliseconds. In a month we've gone from 5.5s to 6.2s:

One thing that jumps out is that the app is actually getting larger, meaning more bytes have to be transferred to the device.
For example, comparing today's 4d2c2aaaa vs 2a26f29c9d from Nov, 13 you see number of bytes synchronized increased from 14,255,476 to 15.058,892.
Largest contributors to the size growth seems to be assets:

filename
bytes

build/flutter_assets/packages/flutter_gallery_assets/animated_flutter_lgtm.gif:
456,449

build/flutter_assets/packages/flutter_gallery_assets/animated_flutter_stickers.webp:
89,088

we have the resources on the device already right? do we have to send them again if they haven't changed?

Currently, first time around(this is the initial sync) we send everything, for successive hot-reloads will only send changes.

We should do something like compare hashes or something on the initial sync, and skip sending the data we already have. That might massively increase the speed of the initial sync.

Obsolete now.


Highlight not being installed

When I add a json column to an Infolist Section,  the contents are simply rendered as text field. This is what I see:

This how the entry is configured:
                        Section::make('Full message details')
                            ->schema([
                                SyntaxEntry::make('full_msg')
                                    ->language('json')
                            ])

I also don't see any sign of Highlight.js in the node_modules directory.
What am I doing wrong?

the package is not finished properly
you need to do some additional manipulation so that the variable with the language is transferred
the language variable is not involved anywhere

modified the file to load on widgets
resources/views/vendor/filament-syntax-entry/syntax-entry.blade.php
replaced by
resources/views/vendor/filament-syntax-entry/syntax-entry.blade.php

Thanks, I already have pretty formatted json for regular text entries. Just looking to add highlighting, I’ll be creating my own custom component for this as soon as I have the time.


feat: datasource database role

Adding datasource - single database role

Test Plan

[ v] acceptance tests

References

/ok-to-test sha=c223343d0b0102faa7ab8d16b2c8a9d362cab26e

/ok-to-test sha=e9108ff781c12a8d378d54ec8bdb8cf63ef7588d

/ok-to-test sha=7623db621e910b429a6be0f4e186fe2aafbd8bfb

Hey 👋
Everything looked great, the pr was merged. Again, thank you for your contribution!


Feature/field reactivity update

Fix reactivity of field errorMessages when clearing a field object
Enhance TypeScript support for field group
Upgrade vitepress

Codecov Report
Patch coverage: 100.00% and no project coverage change.

Comparison is base (2a39874) 100.00% compared to head (579ba50) 100.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff            @@
##           develop       #37   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            5         5
  Lines          212       210    -2
  Branches        55        55
=========================================
- Hits           212       210    -2

Impacted Files
Coverage Δ

src/field.ts
100.00% <100.00%> (ø)

src/fieldGroup.ts
100.00% <100.00%> (ø)

src/utils.ts
100.00% <100.00%> (ø)

src/validators.ts
100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Show notifications in case of attempt login to authenticate

It would be great to show a notification to alert about current login process to select the emoji/authenticate instead of searching for the app and opening it

Maybe users can have authorized devices to avoid spam

Was a feature that was shelved on purpose due to the huge battery drain an implementation like that would need. Similar apps like itsme used locally by millions also don't do it for this same reason. I understand the functional question though but it's giving technical issues.


There is no get_multiplier in coco_eval.py

Traceback (most recent call last):
File "D:/postgraduate/gan/gan_code/pytorch-EverybodyDanceNow/notebook/make-source.py", line 54, in
multiplier = get_multiplier(img)
NameError: name 'get_multiplier' is not defined

hi @huangzhao1 ! did you find the get_multiplier()?


fix(charts): default registration mode to "admin_only"

Refs deis/workflow#758 and deis/controller#950.

Codecov Report

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

@@           Coverage Diff           @@
##           master    #1255   +/-   ##
=======================================
  Coverage   87.29%   87.29%
=======================================
  Files          44       44
  Lines        3873     3873
  Branches      673      673
=======================================
  Hits         3381     3381
  Misses        324      324
  Partials      168      168

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 934d68d...bfadce8. Read the comment docs.


Electron 12.0.0

Hello @Syed-Umair,
I hope that you are good ?
The lib doesn't work anymore with electron >=12.0.0
I tried the 1.0.5 and the 1.0.4 same result
Crashing on exception: Cannot remove an observer <NSTitlebarView 0x7f9eebf45ca0> for the key path "_titlebarBackdropGroupName" from <PROPanel 0x7f9ee1feff90> because it is not registered as an observer.

Hi @castroCrea ,
Thank you for reporting, I will check and update you.

Thank you for your work @Syed-Umair  👏
Any updates on this issue, I'm not able able to update the electron version on my project because of it.

Hey everyone, got any news on that Electron version support?
Keep up the good work 💪


better tag line for Jacdac?

Current:

Jacdac: Plug-and-play for microcontrollers

New ideas:

Jacdac: Device creation for everyone
Jacdac: Working with hardware has never been this easy...
Jacdac: Sensors have never been this easy...
Jacdac: Creating devices is easy
Jacdac: Electronics has never been this easy
Jacdac: Creating devices has never been this easy
Jacdac: Building devices has never been this easy
Jacdac: Building and programming devices has never been this easy
Jacdac: Plug-and-play device creation
Jacdac: plug-and-play physical computing
Jacdac: plug-and-play for creating with microcontrollers
Jacdac: plug-and-play hardware creation

Done.


CI for Node

[ ] Initializes with two players
[ ] Starts the game with a random player
[ ] Sets the current player to be whoever it is not


Move choices "note type" to field values

The values for the type of note (panel Notes) are now hard-coded; please move them to the django admin so we can edit them as field values.

@Woseseltops For this changes to work, you to do the following:

Transform the DEFN_ROLE_CHOICES list of tuples to FieldChoices in the database.

I think this was already done back in May. Can be closed?

:-)

It appears that NoteType does not yet appear in the ASL Signbank's admin for Field Choices, although it does for Global SB. Please make it (re)appear.

The functionality is working @ocrasborn , but what the American users understandably did not know is that they should add field choices in the category 'NoteType'. Also, I just noted that the field choices for notes are a little different from the 'normal' gloss field choices in that the require a restart of the server to be visible on the site. I would say: ask them to add the field choices they need, and then email me for a restart?

Will do!


feat: Add CSP support

Enable Content Security Policy support.
Easy integrate with CSP middlewares like NWebsec

Hii, do you know when this will be available?

Hii, do you know when this will be available?
No :(

To reduce drift and ongoing maintenance, I want to avoid significant customization of the swagger-ui assets. I see there's an issue for this in the swagger-ui library (swagger-api/swagger-ui#3370) and as soon as they have an out-of-the-box solution, I'll be happy to incorporate that version into Swashbuckle.
In the meantime, Swashbuckle does allow you to inject your own version of the index.html (see readme for details) so you could implement the customization yourself without too much effort.
This info and the upstream swagger-ui issue is all being tracked in #505

To reduce drift and ongoing maintenance, I want to avoid significant customization of the swagger-ui assets. I see there's an issue for this in the swagger-ui library (swagger-api/swagger-ui#3370) and as soon as they have an out-of-the-box solution, I'll be happy to incorporate that version into Swashbuckle.
In the meantime, Swashbuckle does allow you to inject your own version of the index.html (see readme for details) so you could implement the customization yourself without too much effort.
This info and the upstream swagger-ui issue is all being tracked in #505


容器管理 - 在集群中部署第二调度器文档中extender配置完成后，scheduler存在两个服务，是否应该标明重启哪个服务？

Describe the bug
容器管理 - 在集群中部署第二调度器文档中extender配置完成后，scheduler存在两个服务，是否应该标明重启哪个服务？

A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '...'
Scroll down to '...'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

done:https://github.com/DaoCloud/DaoCloud-docs/pull/4010


FIX Unset index on manipulation no longer causes error

fixes #226

Just wanted to take care of my mistake, but this does the job. Just as a question: wouldn't it make sense to use either empty() or array_key_exists() for both checks, as they seem to be equivalent in that case?
And additionally, from the PHP.net manual:

That means empty() is essentially the concise equivalent to !isset($var) || $var == false.

This means, empty() would skip if 'fields' is set but contains NULL (or anything listed in the manual). So in the light of preferring  array_key_exists() over isset() wouldn't it be better to use array_key_exists() only?

I don't see that using array_key_exists has any advantage over the empty check. The empty check (IMO) is more concise and obvious what it's doing.
I read this code as:

If there's nothing in the fields array OR the key we want isn't there, continue

empty is also more forgiving, the variable doesn't even need to be an array for the empty check to pass, where as array_key_exists is type sensitive so could open up edge-cases.

Agreed, thanks for clarification!

Thanks!


fluent-reader: init at 1.1.3

Description of changes
https://hyliu.me/fluent-reader/
Fluent Reader is a local, cross-platform news aggregator with a fresh look. Bring all your favorite sources with you and read distraction-free.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-already-reviewed/2617/689


Set up a domain for the app

Decide on name first: https://github.com/juanscolari/who-is-in-lens-web/issues/9

Done 🚀


auth: make it possible to use in-memory keys

Hey @nanobox-io!
Not sure whether this fork is maintained anymore, I find it more handy than using docker/machine/libmachine/ssh directly, as one does not need to pull whole docker/machine dependency tree into project.
I've added a number of improvements for this package (5 in total) in my fork (https://github.com/rjeczalik/golang-ssh) and was wondering if my patches would be accepted upstream - here.
This is first of said patches - it adds a way to use a raw private key while creating a Client.

@rjeczalik Thank you very much for the additions. This fork is still maintained, but was really only extracted for a single purpose. So far the codebase that requires this hasn't changed much, so there hasn't been much progress here either. That said, all contributions are welcome and appreciated!


Create BBC News Clone

Is your feature request related to a problem? Please describe.
Yes, since this is a website clone
Describe the solution you'd like.
I will use simple HTML, CSS(Bootstrap Framework) and JS
Describe alternatives you've considered.

Add any other context or screenshots about the feature request here.

Assign to u @Kumar-laxmi

Copied content from this repo https://github.com/robin3317/BBC-News-Website
I don't think you can make your own clones I have a doubt from the first day how can someone make this much fast,
I check on some sites but it doesn't work due to some js,
@Rayman-Sodhi what to do now 6 PR from this guy all are copied content


Incorrect verification success on offset from dyn trait

RMC run with bound checking says verification is successful on this function, which actually seg faults.
Command: rmc --keep-temps --gen-c src/test/cbmc/DynTrait/fixme_offset.rs --pointer-check --bounds-check
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0 OR MIT

struct Foo {}
trait Trait {
    fn func(&self) -> i32;
}

impl Trait for Foo {
    fn func(&self) -> i32 {
        1 as i32
    }
}

fn foo() -> Box<dyn Trait> {
    Box::new(Foo {})
}

fn main() {
    let f = foo();
    unsafe {
        let f_ptr = Box::into_raw(f) as *const usize;
        println!("{}", *(f_ptr.offset(100000)));
    }
}

RMC result:
/Users/avanhatt/research/rmc/src/test/cbmc/DynTrait/fixme_offset.rs function main
[main.assertion.3] line 20 resume instruction: SUCCESS
[main.assertion.1] line 22 Non-null virtual function call for "::Trait::func": SUCCESS
[main.pointer_dereference.1] line 22 dereference failure: pointer NULL in var_3.vtable->::Trait::func: SUCCESS
[main.pointer_dereference.2] line 22 dereference failure: pointer invalid in var_3.vtable->::Trait::func: SUCCESS
[main.pointer_dereference.3] line 22 dereference failure: deallocated dynamic object in var_3.vtable->::Trait::func: SUCCESS
[main.pointer_dereference.4] line 22 dereference failure: dead object in var_3.vtable->::Trait::func: SUCCESS
[main.pointer_dereference.5] line 22 dereference failure: pointer outside object bounds in var_3.vtable->::Trait::func: SUCCESS
[main.pointer_dereference.6] line 22 dereference failure: invalid integer address in var_3.vtable->::Trait::func: SUCCESS
[main.assertion.2] line 23 assertion failed: x == 1: SUCCESS

<builtin-library-malloc> function malloc
[malloc.assertion.1] line 26 max allocation size exceeded: SUCCESS
[malloc.assertion.2] line 31 max allocation may fail: SUCCESS

** 0 of 78 failed (1 iterations)
VERIFICATION SUCCESSFUL

Rust result:
timeout: the monitored command dumped core
/playground/tools/entrypoint.sh: line 11:     9 Segmentation fault      timeout --signal=KILL ${timeout} "$@"

Looks like this is a slightly different issue: if you change the dereference to this, it fails as expected:
let bad = *(f_ptr.offset(100000));


fix: prevent enter and merge_node

Fixes VSTS#1410

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


config.gateway.json file

Hi,
Where can i find the "config.gateway.json"
Thanks

It doesn't exist by default - https://help.ubnt.com/hc/en-us/articles/215458888-UniFi-USG-Advanced-Configuration - Section 2 in that "Creating the config.gateway.json File" should point you in the right direction.


[BUG][k3s] Unable to provision custom k3s cluster

Rancher Server Setup

Rancher version: v2.6-head & v2.7-head
Installation option (Docker install/Helm Chart):

If Helm Chart, Kubernetes Cluster and version (RKE1, RKE2, k3s, EKS, etc): k3s

Proxy/Cert Details:

Information about the Cluster

Kubernetes version: 1.23 & 1.24
Cluster Type (Local/Downstream):

If downstream, what type of cluster? (Custom/Imported or specify provider for Hosted/Infrastructure Provider):

Custom
User Information

What is the role of the user logged in? (Admin/Cluster Owner/Cluster Member/Project Owner/Project Member/Custom)

If custom, define the set of permissions: Admin user & Standard user

Describe the bug

User is unable to provision a custom k3s cluster for 1.23 & 1.24 k8s version on v2.6-head and v2.7-head
To Reproduce

Provision k3s custom cluster
Wait for cluster to become active

Result
Cluster is stuck in updating with the following message in the logs
[Waiting] configuring control plane node(s) custom-<node_name>: waiting for cluster agent to connect

Expected Result

Cluster should be able to come up active

I was able to reproduce this issue on v2.7-head (Commit ID: d675fbb) and on v2.6-head (Commit ID: a3b5237).

@thaneunsoo @jameson-mcghee , could you please clarify what nodes (and roles of those nodes) you were joining to this cluster? Just a single all-role node or something else?

@snasovich I had a 3 etcd, 2 cp, 3 worker setup

Closing this issue as a duplicate of 38941


Difficulty collecting and managing sensitive and PII data

Mauricio Cormier often collects data that has personally identifying information. Additionally, her data, while not clinically medical, contains information about an individual's brain physiology. She often must share data among colleagues at different institutions, but doesn't want to compromise her subjects privacy.

I am assuming the problem is that she wants to know how to share data after anonymizing.


trying to install homebrew on Apple development Kit Mac Mini

Processor: Apple A12Z Bionic
MacOS: 11.0 Beta
zdavatz@Zenos-Mac ~ % /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
Password:
==> You are using macOS 11.0.
==> We do not provide support for this pre-release version.
This installation may not succeed.
After installation, you will encounter build failures with some formulae.
Please create pull requests instead of asking for help on Homebrew\'s GitHub,
Discourse, Twitter or IRC. You are responsible for resolving any issues you
experience while you are running this pre-release version.

==> This script will install:
/usr/local/bin/brew
/usr/local/share/doc/homebrew
/usr/local/share/man/man1/brew.1
/usr/local/share/zsh/site-functions/_brew
/usr/local/etc/bash_completion.d/brew
/usr/local/Homebrew

Press RETURN to continue or any other key to abort
==> Downloading and installing Homebrew...
HEAD is now at 6d27367c7 Merge pull request #7887 from vidusheeamoli/set-utils-files-to-true
Traceback (most recent call last):
	19: from /usr/local/Homebrew/Library/Homebrew/brew.rb:23:in `<main>'
	18: from /usr/local/Homebrew/Library/Homebrew/brew.rb:23:in `require_relative'
	17: from /usr/local/Homebrew/Library/Homebrew/global.rb:132:in `<top (required)>'
	16: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
	15: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
	14: from /usr/local/Homebrew/Library/Homebrew/tap.rb:5:in `<top (required)>'
	13: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
	12: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
	11: from /usr/local/Homebrew/Library/Homebrew/readall.rb:3:in `<top (required)>'
	10: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
	 9: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
	 8: from /usr/local/Homebrew/Library/Homebrew/formula.rb:20:in `<top (required)>'
	 7: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
	 6: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
	 5: from /usr/local/Homebrew/Library/Homebrew/linkage_checker.rb:6:in `<top (required)>'
	 4: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
	 3: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
	 2: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/fiddle.rb:2:in `<top (required)>'
	 1: from /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:54:in `require': dlopen(/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/universal-darwin20/fiddle.bundle, 0x0009): symbol '_ffi_prep_closure' not found, expected in flat namespace by '/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/universal-darwin20/fiddle.bundle' - /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/universal-darwin20/fiddle.bundle (LoadError)
Failed during: /usr/local/bin/brew update --force

Please create pull requests instead of asking for help on Homebrew's GitHub,
Discourse, Twitter or IRC. You are responsible for resolving any issues you
experience while you are running this pre-release version.

I am not asking for help. I am just showing output. So please be precise.

@zdavatz You need to fix your own issues instead of opening issues on GitHub.

I will, but first I need to share them in the right place.

The point that this issue tracker is not the right place to share this.
We have maintainers that are already working on fixes for these issues. Once we have made enough progress, we will make a release supporting Big Sur. At this point we will be supporting it officially.
And then only you will be able to report issues if they have not been fixed.
Meanwhile, issues like you opened are just "useless" noise for us, distracting us from our work to gets things shipped quickly.
This is why we have this message:
==> We do not provide support for this pre-release version.
This installation may not succeed.
After installation, you will encounter build failures with some formulae.
Please create pull requests instead of asking for help on Homebrew\'s GitHub,
Discourse, Twitter or IRC. You are responsible for resolving any issues you
experience while you are running this pre-release version.

We could reword it from Please create pull requests instead of asking for help to Please create pull requests instead of asking for help and/or sharing issues to be more clear (I am unsure about the best wording here).

Ok, thank you. Let me know when I can test.

Let me know when I can test.

Perhaps the next beta. The current beta has major bugs in system Ruby that have been reported to Apple.

Installed Ruby Version on this Apple Dev machine is ruby 2.6.3p62 (2019-04-16 revision 67580) [universal.arm64e-darwin20]

Also if any Homebrew-Dev has a Github sponsorship button on his page I am ready to sponsor. Please let me know. I done so as well for this Ruby-Date Issue: https://github.com/ruby/date/issues/20

We have a project wide sponsoring page: https://github.com/sponsors/Homebrew

Thank you, done!

https://github.com/Homebrew/brew/issues/7857 @clau is doing a great job! I started sponsoring her.

@zdavatz I can’t thank you enough!
I’m just a casual contributor so if others read this:
Please sponsor Homebrew, not me!


Dl 3884 version 1 5 1 fix first object undefined

The code works well and it fixes the previous errors, thank you !
I just have a remark (that can have a big impact) : here you created one route per status. But you could also just add a dropdown filter on the main page that would send a query param to the route, filtering on the status, a bit as the filters here https://dev.organisaties.abb.lblod.info/bestuurseenheden ?
By doing this, you create way less code duplication and the maintenance is lighter as well.
If you go for this, the steps would be :

Create a dropdown field that would load the statusesMap here , something similar to this component
Update the route to refresh when the query params change, you can take inspiration here
Update the controller to be aware of the query params as well and update the status query param when we select it from the component (inspiration)
Update the frontend to use the component and pass the query param and proper actions to is (inpisration)

Side note for DL-3986 : even though there is now a view grouping all the successful jobs, queries are handy because then provide the result is a format that can be shared / reworked with people who don't necessarily have access to the app, such as csv or xlsx. So we will still need the requested query, even with those great frontend improvements !

The code works well and it fixes the previous errors, thank you !
I just have a remark (that can have a big impact) : here you created one route per status. But you could also just add a dropdown filter on the main page that would send a query param to the route, filtering on the status, a bit as the filters here https://dev.organisaties.abb.lblod.info/bestuurseenheden ? By doing this, you create way less code duplication and the maintenance is lighter as well.
If you go for this, the steps would be :

Create a dropdown field that would load the statusesMap here , something similar to this component
Update the route to refresh when the query params change, you can take inspiration here
Update the controller to be aware of the query params as well and update the status query param when we select it from the component (inspiration)
Update the frontend to use the component and pass the query param and proper actions to is (inpisration)

Side note for DL-3986 : even though there is now a view grouping all the successful jobs, queries are handy because then provide the result is a format that can be shared / reworked with people who don't necessarily have access to the app, such as csv or xlsx. So we will still need the requested query, even with those great frontend improvements !

Thanks for the insight @claire-lovisa - it's exactly what I needed. I am going to do as suggested.


How to get changed attributes for entity?

This case need for object activity logging

Hi,
you can do it by getting entity properties via $orm->getMapper($e)->extract($e) and comparing them to the values from the associated entity node $orm->getHeap()->get($e)->getData().
More: https://cycle-orm.dev/docs/advanced-entity

Inside the mapper you can use State, it will contrain new values.


NormalPass, SSAOPass: Enable passes to work with flat shading, back side material settings

Is your feature request related to a problem?
When setting a material to use "flatShading" or "BackSide" / "DoubleSide" SSAOPass does not currently work as expected because NormalPass does not respect those settings in the override material.
Describe the solution you'd like
NormalPass should use the "OverrideMaterialManager" and respect the original material "flatShading" and "side" properties.
Describe alternatives you've considered
None
Additional context
Here's a JSFiddle showing the current NormalPass results with the above material settings. The left cube uses "flatShading" with no normals while the right cube is using "side = BackSide":
https://jsfiddle.net/z4759qL8/1/
Thanks!

Thanks for the report!
The NormalPass does make use of the OverrideMaterialManager and the side property should already be handled (see #265). The flatShading property is not supported yet. Handling this property will increase the amount of override materials from 9 to 18. This is, of course, awful, but I think this should be the last property that needs to be accounted for. The override material system is also about to become obsolete relatively soonish, now that the MRT PR has been merged.
I'll publish a fix for flatShading soon.

Modified fiddle with override material workaround enabled: https://jsfiddle.net/8georca4/

OverrideMaterialManager.workaroundEnabled = true;

Oops I missed that this needed to be explicitly enabled. Thanks!

The override material system is also about to become obsolete relatively soonish, now that the MRT PR has been merged.

I'm pretty excited for the improvements that MRT will bring but how do you anticipate it removing the need for an override workaround system? Three.js' scene.overrideMaterial will still have the same limitations so I would think you'd still have to use a similar kind of workaround. But now you'd be able to use an override material that draws to multiple buffers at once, instead. Maybe I've misunderstood, though!

how do you anticipate it removing the need for an override workaround system?

The workaround attempts to fix the shortcomings of the override material system, so it's only necessary because we use override materials. With MRT we should be able to render geometry data (normals, positions, roughness, etc.) into additional buffers during the initial RenderPass without having to re-render the scene with override materials. Since there are no other use cases for scene.overrideMaterial in this library, the NormalPass, DepthPass, LuminancePass and OverrideMaterialManager will eventually become obsolete.
Three's current built-in materials are quite rigid and hard to extend. I think we still have to wait for NodeMaterials and declarative shader manipulation features to actually make effective use of MRT in the RenderPass.


Added support for inline count for OData v4

In OData v4 $inlinecount='allpages' has been replaced by $count=true

Thanks for your help!


🐛 Bug Report: Getting error after Installing plugin-catalog-backend-module-ldap

📜 Description
It bugs when I install and configure @backstage/plugin-catalog-backend-module-ldap.
👍 Expected behavior
It should run successfully after installing and configuring ldap-pluging.
👎 Actual Behavior with Screenshots
[root@lxtjmeter0004 backstage-app-tse]# yarn tsc
yarn run v1.22.21
$ tsc
packages/backend/src/index.ts:27:13 - error TS2345: Argument of type 'Promise<{ default: typeof import("/root/backstage-app-tse/node_modules/@backstage/plugin-catalog-backend-module-ldap/dist/index"); LDAP_DN_ANNOTATION: "backstage.io/ldap-dn"; LDAP_RDN_ANNOTATION: "backstage.io/ldap-rdn"; ... 8 more ...; readLdapOrg: (client: LdapClient, userConfig: UserConfig, groupConfig: GroupConf...' is not assignable to parameter of type 'BackendFeature | (() => BackendFeature) | Promise<{ default: BackendFeature | (() => BackendFeature); }>'.
  Type 'Promise<{ default: typeof import("/root/backstage-app-tse/node_modules/@backstage/plugin-catalog-backend-module-ldap/dist/index"); LDAP_DN_ANNOTATION: "backstage.io/ldap-dn"; LDAP_RDN_ANNOTATION: "backstage.io/ldap-rdn"; ... 8 more ...; readLdapOrg: (client: LdapClient, userConfig: UserConfig, groupConfig: GroupConf...' is not assignable to type 'Promise<{ default: BackendFeature | (() => BackendFeature); }>'.
    Type '{ default: typeof import("/root/backstage-app-tse/node_modules/@backstage/plugin-catalog-backend-module-ldap/dist/index"); LDAP_DN_ANNOTATION: "backstage.io/ldap-dn"; LDAP_RDN_ANNOTATION: "backstage.io/ldap-rdn"; ... 8 more ...; readLdapOrg: (client: LdapClient, userConfig: UserConfig, groupConfig: GroupConfig, opti...' is not assignable to type '{ default: BackendFeature | (() => BackendFeature); }'.
      Types of property 'default' are incompatible.
        Type 'typeof import("/root/backstage-app-tse/node_modules/@backstage/plugin-catalog-backend-module-ldap/dist/index")' is not assignable to type 'BackendFeature | (() => BackendFeature)'.

27 backend.add(import('@backstage/plugin-catalog-backend-module-ldap'));
               ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Found 1 error in packages/backend/src/index.ts:27

👟 Reproduction steps

From your Backstage root directory, install: yarn --cwd packages/backend add @backstage/plugin-catalog-backend-module-ldap

Next add the basic configuration to app-config.yaml.

Add following line: backend.add(import('@backstage/plugin-catalog-backend-module-ldap')); on packages/backend/src/index.ts

📃 Provide the context for the Bug.

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Are you willing to submit PR?
None

Hi @jestevez-claro, the version of this module hasn't been release as part of the main Monthly release cycle yet. Though the docs got updated early so I can understand the confusion. To resolve this can you try using version 0.6.0-next.2 of @backstage/plugin-catalog-backend-module-ldap? If that doesn't work then I might do a version bump to the latest next Weekly release using yarn backstage-cli versions:bump --release next. Your last option is to wait for the Monthly release on June 18th.

Hi @awanlin, I tried 0.6.0-next.2 version and now I'm getting a different error:

Ah, seems that was noted in the PR - https://github.com/backstage/backstage/pull/24909#issuecomment-2136271892 - can you try using what's mentioned there?

Thanks @awanlin, backstage instance started after applying changes mentioned in the PR you shared. It would be really helpful to update oficial documentation as well with this.
On the other hand, I configured LDAP on app-config.yaml, as successfully is connecting and reading users and groups:
catalog info Read 1 LDAP users and 1 LDAP groups in 0.3 seconds. Committing...
catalog info Committed 1 LDAP users and 1 LDAP groups in 0.0 seconds...
But I don't see this user/group on the app:

You're welcome! I think the issue with the schedule is a bug so that should be sorted out first.
As for as this latest issue I'm not going to be much help. I don't use LDAP and don't have much experience with it. I just jumped on this issue as I had a feeling it was due to the release state.

Alright, thank you man!

This got fix by following @awanlin guidelines.


Package is not working after the installation.

After successful installation, when I tried to import the package I got the following error:
In [1]: import pdaggerq
---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-1-318e0b204cb2> in <cell line: 1>()
----> 1 import pdaggerq

~/Research/software/pdaggerq/pdaggerq/__init__.py in <module>
      8 When importing pdaggerq it must go grab all the modules from _pdaggerq
      9 """
---> 10 from ._pdaggerq import *

ModuleNotFoundError: No module named 'pdaggerq._pdaggerq'

My poor child, I am so glad I am not you.

@rdguerrerom did you resolve this? On Mac and linux, I have never done anything more than

If you're still having trouble, can you provide more information?

Hi @edeprince3, thanks a lot for looking at this issue.
The package compiles fine, as you can see below:
(base) Rubens-MacBook-Pro:pdaggerq ruben$ python setup.py clean; python setup.py install
running clean
removing 'build/temp.macosx-10.9-x86_64-3.9' (and everything under it)
running install
running bdist_egg
running egg_info
writing pdaggerq.egg-info/PKG-INFO
writing dependency_links to pdaggerq.egg-info/dependency_links.txt
writing top-level names to pdaggerq.egg-info/top_level.txt
reading manifest file 'pdaggerq.egg-info/SOURCES.txt'
adding license file 'LICENSE'
writing manifest file 'pdaggerq.egg-info/SOURCES.txt'
installing library code to build/bdist.macosx-10.9-x86_64/egg
running install_lib
running build_py
running build_ext
-- The C compiler identification is AppleClang <IP_ADDRESS>60021
-- The CXX compiler identification is AppleClang <IP_ADDRESS>60021
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found PythonInterp: /Users/ruben/opt/anaconda3/bin/python (found version "3.9.7")
-- Found PythonLibs: /Users/ruben/opt/anaconda3/lib/libpython3.9.dylib
-- pybind11 v2.5.0
-- Performing Test HAS_FLTO
-- Performing Test HAS_FLTO - Success
-- LTO enabled
-- Configuring done
-- Generating done
CMake Warning:
  Manually-specified variables were not used by the project:

    EXAMPLE_VERSION_INFO

-- Build files have been written to: /Users/ruben/Research/software/pdaggerq/build/temp.macosx-10.9-x86_64-3.9
[ 25%] Building CXX object CMakeFiles/_pdaggerq.dir/pdaggerq/tensor.cc.o
[ 50%] Building CXX object CMakeFiles/_pdaggerq.dir/pdaggerq/pq.cc.o
[ 75%] Building CXX object CMakeFiles/_pdaggerq.dir/pdaggerq/pq_helper.cc.o
In file included from /Users/ruben/Research/software/pdaggerq/pdaggerq/pq_helper.cc:40:
In file included from /Users/ruben/Research/software/pdaggerq/build/temp.macosx-10.9-x86_64-3.9/_deps/pybind11-src/include/pybind11/pybind11.h:44:
In file included from /Users/ruben/Research/software/pdaggerq/build/temp.macosx-10.9-x86_64-3.9/_deps/pybind11-src/include/pybind11/attr.h:13:
In file included from /Users/ruben/Research/software/pdaggerq/build/temp.macosx-10.9-x86_64-3.9/_deps/pybind11-src/include/pybind11/cast.h:16:
/Users/ruben/Research/software/pdaggerq/build/temp.macosx-10.9-x86_64-3.9/_deps/pybind11-src/include/pybind11/detail/internals.h:276:9: warning: 'PyEval_InitThreads' is deprecated [-Wdeprecated-declarations]
        PyEval_InitThreads();
        ^
/Users/ruben/opt/anaconda3/include/python3.9/ceval.h:130:1: note: 'PyEval_InitThreads' has been explicitly marked deprecated here
Py_DEPRECATED(3.9) PyAPI_FUNC(void) PyEval_InitThreads(void);
^
/Users/ruben/opt/anaconda3/include/python3.9/pyport.h:508:54: note: expanded from macro 'Py_DEPRECATED'
#define Py_DEPRECATED(VERSION_UNUSED) __attribute__((__deprecated__))
                                                     ^
In file included from /Users/ruben/Research/software/pdaggerq/pdaggerq/pq_helper.cc:40:
/Users/ruben/Research/software/pdaggerq/build/temp.macosx-10.9-x86_64-3.9/_deps/pybind11-src/include/pybind11/pybind11.h:1093:9: warning: expression result unused [-Wunused-value]
        PYBIND11_EXPAND_SIDE_EFFECTS(add_base<options>(record));
        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ruben/Research/software/pdaggerq/build/temp.macosx-10.9-x86_64-3.9/_deps/pybind11-src/include/pybind11/detail/common.h:662:47: note: expanded from macro 'PYBIND11_EXPAND_SIDE_EFFECTS'
#define PYBIND11_EXPAND_SIDE_EFFECTS(PATTERN) pybind11::detail::expand_side_effects{ ((PATTERN), void(), false)..., false }
                                              ^                                    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/ruben/Research/software/pdaggerq/pdaggerq/pq_helper.cc:50:5: note: in instantiation of function template specialization 'pybind11::class_<pdaggerq::pq_helper, std::shared_ptr<pdaggerq::pq_helper>>::class_<>' requested here
    py::class_<pdaggerq::pq_helper, std::shared_ptr<pdaggerq::pq_helper> >(m, "pq_helper")
    ^
2 warnings generated.
[100%] Linking CXX shared module ../lib.macosx-10.9-x86_64-3.9/pdaggerq/_pdaggerq.cpython-39-darwin.so
[100%] Built target _pdaggerq
creating build/bdist.macosx-10.9-x86_64/egg
creating build/bdist.macosx-10.9-x86_64/egg/pdaggerq
copying build/lib.macosx-10.9-x86_64-3.9/pdaggerq/config.py -> build/bdist.macosx-10.9-x86_64/egg/pdaggerq
copying build/lib.macosx-10.9-x86_64-3.9/pdaggerq/algebra.py -> build/bdist.macosx-10.9-x86_64/egg/pdaggerq
copying build/lib.macosx-10.9-x86_64-3.9/pdaggerq/term_grouper.py -> build/bdist.macosx-10.9-x86_64/egg/pdaggerq
copying build/lib.macosx-10.9-x86_64-3.9/pdaggerq/_pdaggerq.cpython-39-darwin.so -> build/bdist.macosx-10.9-x86_64/egg/pdaggerq
copying build/lib.macosx-10.9-x86_64-3.9/pdaggerq/__init__.py -> build/bdist.macosx-10.9-x86_64/egg/pdaggerq
copying build/lib.macosx-10.9-x86_64-3.9/pdaggerq/parser_test.py -> build/bdist.macosx-10.9-x86_64/egg/pdaggerq
copying build/lib.macosx-10.9-x86_64-3.9/pdaggerq/parser.py -> build/bdist.macosx-10.9-x86_64/egg/pdaggerq
copying build/lib.macosx-10.9-x86_64-3.9/pdaggerq/algebra_test.py -> build/bdist.macosx-10.9-x86_64/egg/pdaggerq
byte-compiling build/bdist.macosx-10.9-x86_64/egg/pdaggerq/config.py to config.cpython-39.pyc
byte-compiling build/bdist.macosx-10.9-x86_64/egg/pdaggerq/algebra.py to algebra.cpython-39.pyc
byte-compiling build/bdist.macosx-10.9-x86_64/egg/pdaggerq/term_grouper.py to term_grouper.cpython-39.pyc
byte-compiling build/bdist.macosx-10.9-x86_64/egg/pdaggerq/__init__.py to __init__.cpython-39.pyc
byte-compiling build/bdist.macosx-10.9-x86_64/egg/pdaggerq/parser_test.py to parser_test.cpython-39.pyc
byte-compiling build/bdist.macosx-10.9-x86_64/egg/pdaggerq/parser.py to parser.cpython-39.pyc
byte-compiling build/bdist.macosx-10.9-x86_64/egg/pdaggerq/algebra_test.py to algebra_test.cpython-39.pyc
creating stub loader for pdaggerq/_pdaggerq.cpython-39-darwin.so
byte-compiling build/bdist.macosx-10.9-x86_64/egg/pdaggerq/_pdaggerq.py to _pdaggerq.cpython-39.pyc
creating build/bdist.macosx-10.9-x86_64/egg/EGG-INFO
copying pdaggerq.egg-info/PKG-INFO -> build/bdist.macosx-10.9-x86_64/egg/EGG-INFO
copying pdaggerq.egg-info/SOURCES.txt -> build/bdist.macosx-10.9-x86_64/egg/EGG-INFO
copying pdaggerq.egg-info/dependency_links.txt -> build/bdist.macosx-10.9-x86_64/egg/EGG-INFO
copying pdaggerq.egg-info/not-zip-safe -> build/bdist.macosx-10.9-x86_64/egg/EGG-INFO
copying pdaggerq.egg-info/top_level.txt -> build/bdist.macosx-10.9-x86_64/egg/EGG-INFO
writing build/bdist.macosx-10.9-x86_64/egg/EGG-INFO/native_libs.txt
creating dist
creating 'dist/pdaggerq-0.0.1-py3.9-macosx-10.9-x86_64.egg' and adding 'build/bdist.macosx-10.9-x86_64/egg' to it
removing 'build/bdist.macosx-10.9-x86_64/egg' (and everything under it)
Processing pdaggerq-0.0.1-py3.9-macosx-10.9-x86_64.egg
creating /Users/ruben/opt/anaconda3/lib/python3.9/site-packages/pdaggerq-0.0.1-py3.9-macosx-10.9-x86_64.egg
Extracting pdaggerq-0.0.1-py3.9-macosx-10.9-x86_64.egg to /Users/ruben/opt/anaconda3/lib/python3.9/site-packages
Adding pdaggerq 0.0.1 to easy-install.pth file

Installed /Users/ruben/opt/anaconda3/lib/python3.9/site-packages/pdaggerq-0.0.1-py3.9-macosx-10.9-x86_64.egg
Processing dependencies for pdaggerq==0.0.1
Finished processing dependencies for pdaggerq==0.0.1

A problem arises when I attempt to use it from ipython or python:
In [1]: import pdaggerq
---------------------------------------------------------------------------
ModuleNotFoundError                       Traceback (most recent call last)
<ipython-input-1-318e0b204cb2> in <cell line: 1>()
----> 1 import pdaggerq

~/Research/software/pdaggerq/pdaggerq/__init__.py in <module>
      8 When importing pdaggerq it must go grab all the modules from _pdaggerq
      9 """
---> 10 from ._pdaggerq import *

ModuleNotFoundError: No module named 'pdaggerq._pdaggerq'

@edeprince3 The problem goes away when I leave the installation folder.
Closing this issue.


Updates to trademark survey questions

Various updates to the questions and introduction of the trademark survey,
attempting to gather data that will best inform policy development.
May be best reviewed commit-by-commit; each commit is one change.
This is net neutral on number of questions asked; it does not make the survey any longer.

On Mon, Aug 01, 2022 at 06:58:28AM -0700, Ryan Levick wrote:

@rylev commented on this pull request.

@@ -111,13 +112,14 @@ trademarks that, without the license, would be an infringing use.
TODO

-### How much of the Rust language can someone change and still call it “Rust”?
+### How much of the Rust language/toolchain can someone change and still call it “Rust”?
This question somewhat implicitly assumes a fork of the existing Rust toolchain. In other words, this seems to care about what the diff is between the existing Rust language and tooling and new artifacts that come from the existing ones. I do wonder if we're missing out of subtle distinctions when someone creates an entirely new artifact and calls it Rust. I think this distinction gets at the heart of the fact that we have two groupings of things that are called "Rust": the abstract language definition which isn't really a thing but more an idea, and the actual artifacts that implement that idea (e.g., the compiler, cargo, etc).

Valid, but I think a level of precision needed to make those fine
distinctions would make this survey too verbose with too many questions.
I changed it from "the Rust language/toolchain" to just "Rust". My goal
with this change was to make sure that we didn't just get information
about the Rust language, and not any sentiments regarding other aspects
(e.g. libraries, tooling, other associated tools).
Potential requirements for using the name in completely separate
software not derived from the Rust project would be sufficiently complex
that I don't think we can or should attempt to capture them in this
survey.

No

Yes, but only if it’s used for something that has nothing to do with software
-- Yes, and it can be used even for software
+- Yes, and the license must qualify as Open Source

I'm not sure if everyone will have the same understanding of what "qualify as Open Source" means. Can we better qualify this?

I changed it to "must use an Open Source license", which should be
unambiguous.

@@ -148,7 +150,7 @@ Pick as many as you agree with:
TODO

-### Commercial businesses can use the Rust/Cargo logo on their website or social media site, provided they have made a financial contribution to the Rust Foundation.
+### Commercial businesses can use the Rust/Cargo logo on their website or social media site, in the context of an open source project that uses Rust.
I think we're missing an "only" or "provided":

Commercial businesses can use the Rust/Cargo logo on their website or social media site, only in the context of an open source project that uses Rust.

Done; that does seem clearer.

Thank you @joshtriplett and @rylev  for the suggestions and feedback. We have incorporated most, if not nearly all, of them. Here is the final survey that we are going be sending out, if you want to update this pull request for posterity...
Whether or not you use [Rust](https://rust-lang.org) today, we want to hear from
you!

The Rust Foundation has created this survey to help guide the development of a Rust trademark policy that best serves the users of the Rust programming language. The purpose of this questionnaire is to get directional information. For that reason, if you largely agree with an answer but not entirely, you should say you agree. There will be further refinements as the trademark guidelines are developed where we will be working out the nuances.

We are referring to the words RUST and CARGO and the logos, so assume the question is about both the words and the logos. If the question is about only the logos, it will be called “the Rust/Cargo logo.” Please note that the Rust logo only refers to the "gear" logo, not Ferris the Crab.

Unless you choose to enter your email, your answers will be anonymous. Any personal data you submit as a part of this survey will be handled in accordance with the [Rust Foundation Privacy Policy](https://foundation.rust-lang.org/policies/privacy-policy/).

We estimate it will take about 5-10 minutes to complete.

## Basic principles

Trademarks protect users from confusion, meaning that when they engage with a “Rust”- branded product or service they will be getting something with the qualities they expect. Someone will choose the same fast food restaurant in many different places because the brand signals to them that they will be getting food with the qualities and characteristics that they expect.

Trademarks for open source software have a wrinkle not found in other types of products. The copyright license allows the “product” – the software – to be changed by others. The question becomes at what point users will be misled if something is called “Rust” but has different qualities and characteristics than what is available from the original source.

This source identifying/quality assurance function is not all that trademarks are used for. Trademark law also covers confusion about whether the trademark owner is endorsing or sponsoring the user. For example, when customers’ logos are included on websites, we understand that the customer’s logo is being used to signal that the owner of that logo approves of or endorses the owner of the website, and we take that information into account when considering the owner of the website. A suggestion of endorsement that is inaccurate can also be a trademark infringement.

Trademark law always allows others to use a trademark to truthfully describe the product or service itself, such as “this program is written in the Rust language.” The Rust trademark policy would not try to stop this type of lawful use of the Rust trademark, or any lawful use of the Rust trademark.

With that background, a trademark policy is designed to do two things: (1) define what, in Rust’s view, is permitted, lawful use of their trademark and (2) optionally, grant some limited licenses allowing the use of the RUST trademarks that, without the license, would be an infringing use.

## Trademark Survey

### The Rust Foundation should be highly protectionist about trademarks.

- strongly agree
- agree
- neither agree nor disagree
- disagree
- strongly disagree

### Trademarks are different from copyrights, so it’s ok to exert some control or standards about how people use trademarks.

- strongly agree
- agree
- neither agree nor disagree
- disagree
- strongly disagree

### The Rust Foundation should share trademarks as freely as it shares code.

- strongly agree
- agree
- neither agree nor disagree
- disagree
- strongly disagree

### If someone creates a Rust package from the original source code without changing the code in any way, can they still call the compiled package “Rust”?

- Yes
- No

### How much of Rust can someone change and still call it “Rust”?

Pick as many as you agree with:

- Not at all
- Backporting changes already made or in progress in the Rust project is fine
- Fixed bugs and other minor changes are ok
- Extending with new functions/syntax but not removing anything or breaking anything
- They can change it any way they want

### Community members can put the Rust/Cargo logo on their personal website or blog.

- strongly agree
- agree
- neither agree nor disagree
- disagree
- strongly disagree

### Community members can use the Rust/Cargo logo as a profile picture on social media.

- strongly agree
- agree
- neither agree nor disagree
- disagree
- strongly disagree

### Commercial businesses can use the Rust/Cargo logo on their website or social media site, provided they have made a financial contribution to the Rust Foundation.

- strongly agree
- agree
- neither agree nor disagree
- disagree
- strongly disagree

### Commercial businesses can use the Rust/Cargo logo on their website or social media site, only in the context of an open source project that uses Rust.

- strongly agree
- agree
- neither agree nor disagree
- disagree
- strongly disagree

### Anyone can use the Rust/Cargo logo on their website or social media site for any reason, as long as they link to the Rust homepage.

- strongly agree
- agree
- neither agree nor disagree
- disagree
- strongly disagree

### Anyone can use the Rust/Cargo logo on their website or social media site, but if they use it, they must say they aren’t endorsed by the Rust Foundation.

- strongly agree
- agree
- neither agree nor disagree
- disagree
- strongly disagree

### Communities (e.g. discussion or chat sites) using the Rust trademarks must meet some minimum standards.

- strongly agree
- agree
- neither agree nor disagree
- disagree
- strongly disagree

### Can meetups, conferences, or other groups use the Rust/Cargo logos?

- Yes, anyone can, commercial or non-commercial
- Yes, only if they are non-commercial
- Yes, but only if the event follows standards the Rust Foundation has defined
- No

### Can others create promotional goods, like T-shirts, USB drives, stickers, socks, and hats with the Rust/Cargo logo? (Pick as many as you agree with)

- No, the Rust Foundation should be responsible for reviewing and approving all of these products
- No, the Rust Foundation should be responsible for ordering all of these products and handing them out
- Yes, for some types of items but not all kinds of items
- Yes, but they can only use designs that the Rust Foundation provides
- Yes, but only to give away, not for sale
- Yes, but only if some or all of the profits are donated to the Rust Foundation
- Yes, they can make whatever they like and keep the money

### The Rust/Cargo logo should be under a copyright license that allows modification and sharing. (Note: This does not either require or prevent the use of a trademark license with other requirements.)

- No
- Yes, but only if it’s used for something that has nothing to do with software
- Yes, and the license must be an Open Source license, such as MIT, Apache or the like.

### Please use this space to raise any other points you would like us to consider in reviewing our trademark policy.

Pushed a commit making the final version match that. Let's merge that version so that what's in the repo matches the survey that went out.


[FIX] Remix Polaris Link not allowing target _blank

WHY are these changes introduced?
Fixes #1153

WHAT is this pull request doing?
By default, the AppProvider component from @shopify/shopify-app-remix overrides the standard Link component used for routing.
Polaris' Button component, when used with a url prop and set to open externally, relies on an internal UnstyledLink component.
This RemixPolarisLink component acts as an intermediary between Remix's Link and Polaris' Button to ensure external links open in a new tab.
Type of change

[x] Patch: Bug (non-breaking change which fixes an issue)
[x] Minor: New feature (non-breaking change which adds functionality)
[ ] Major: Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist

[x] I have used yarn changeset to create a draft changelog entry (do NOT update the CHANGELOG.md files manually)
[ ] I have added/updated tests for this change
[ ] I have documented new APIs/updated the documentation for modified APIs (for public APIs)

Instead of using external, is there a reason not to use target="_blank", as per the Button docs?
I tested that in an embedded app and it opened in a new tab, as expected.

Hey, thanks for contributing! If I'm understanding this correctly, the goal is to fix the Button component, right? I think we can just use target=_blank in the button for that effect, since it seems that the external field is being deprecated, at least from the link.
This worked as expected for me in an embedded app:
<Button url="https://google.com" target="_blank">Google</Button>

Awesome! Do you feel like this PR is still needed, or should we go ahead and close it? :)


Storing login_valid with False on successful custom login

I've added watch_login() decorator to my custom login class and i saw it always storing login_valid on db as False
i found that my view returns status_code 200 and not 302 so i added status_code argument to watch_login(status_code=200)  and it's still login_valid is False
Looking at the package source code i found this defender/decorators.py
if status_code == 302:  # standard Django login view
    login_unsuccessful = (
        response
        and not response.has_header("location")
        and response.status_code != status_code
    )
else:
    # If msg is not passed the last condition will be evaluated
    # always to True so the first 2 will decide the result.
    login_unsuccessful = (
        response
        and response.status_code == status_code
        and msg in response.content.decode("utf-8")
    )

i think in the else block we need to change and response.status_code == status_code to be and response.status_code != status_code

@ashrafemad thanks for finding this. It has been a while since I looked at that code, but I think you are right. Feel free to submit a PR with the proposed change, and we can review and merge. If possible, maybe add a unit test to confirm it is working as it should, and we make sure we don't regress in the future. Thanks again.


fix vertical scroll jitter on OSX trackpads

This fixes an issue (jupyter/notebook#513) we see when using a trackpad to vertically scroll a page with several CodeMirror instances, none of which have vertical overflow. A full description/explanation of the cause can be found in the issue comment.
Basically, preventing the default action on a small deltaX wheel event prevents the page from scrolling vertically. Since humans are imprecise, and OSX track pads support simultaneous deltaX and deltaY, scrolling such pages is jittery because CodeMirror squashes some percentage of the events where deltaX is not zero.
This works around the issue by only preventing the default if there was either no vertical scroll delta, or if there is actually content which could be vertically scrolled.
This PR assumes you have prevented the default in order to avoid horizontally scrolling the page in addition to horizontally scrolling the CodeMirror content (which seems reasonable to me). If you think it's not worth the bother, we can just remove the preventDefault.

Looks like a good solution. Thanks for figuring out the problem. Merged as 5fafcf8

Cheers!


Update fdp-contracts to 1.0.4

Is this a ci issue? Please needed in this sprint or when?

Implemented


create_csv_agent with custom prefix prompt is not calling PythonREPL tool, reaching max iterations with no answer

System Info
agent_new("What is the average age of male members?")
{'input': 'What is the average age of male members?',
'output': 'Agent stopped due to iteration limit or time limit.',
'intermediate_steps': [(AgentAction(tool='I will use the mean() function from pandas to calculate the average age.', tool_input="df[df['Sex'] == 'male']['Age'].mean()\n", log="Thought: I need to calculate the average age of male members in the dataframe.\n\nAction: I will use the mean() function from pandas to calculate the average age.\n\nAction Input: df[df['Sex'] == 'male']['Age'].mean()\n"),
'I will use the mean() function from pandas to calculate the average age. is not a valid tool, try another one.'),
(AgentAction(tool='I will use the mean() function from pandas to calculate the average age.', tool_input="df[df['Sex'] == 'male']['Age'].mean()\n", log="I need to use the mean() function from pandas to calculate the average age of male members in the dataframe.\n\nAction: I will use the mean() function from pandas to calculate the average age.\n\nAction Input: df[df['Sex'] == 'male']['Age'].mean()\n"),
'I will use the mean() function from pandas to calculate the average age. is not a valid tool, try another one.'),
(AgentAction(tool='I will use the mean() function from pandas to calculate the average age.', tool_input="df[df['Sex'] == 'male']['Age'].mean()\n", log="I need to use the mean() function from pandas to calculate the average age of male members in the dataframe.\n\nAction: I will use the mean() function from pandas to calculate the average age.\n\nAction Input: df[df['Sex'] == 'male']['Age'].mean()\n"),
'I will use the mean() function from pandas to calculate the average age. is not a valid tool, try another one.'),
(AgentAction(tool='I will use the mean() function from pandas to calculate the average age.', tool_input="df[df['Sex'] == 'male']['Age'].mean()\n", log="I need to use the mean() function from pandas to calculate the average age of male members in the dataframe.\n\nAction: I will use the mean() function from pandas to calculate the average age.\n\nAction Input: df[df['Sex'] == 'male']['Age'].mean()\n"),
'I will use the mean() function from pandas to calculate the average age. is not a valid tool, try another one.'),
(AgentAction(tool='I will use the mean() function from pandas to calculate the average age.', tool_input="df[df['Sex'] == 'male']['Age'].mean()\n", log="I need to use the mean() function from pandas to calculate the average age of male members in the dataframe.\n\nAction: I will use the mean() function from pandas to calculate the average age.\n\nAction Input: df[df['Sex'] == 'male']['Age'].mean()\n"),
'I will use the mean() function from pandas to calculate the average age. is not a valid tool, try another one.'),
(AgentAction(tool='I will use the mean() function from pandas to calculate the average age.', tool_input="df[df['Sex'] == 'male']['Age'].mean()\n", log="I need to use the mean() function from pandas to calculate the average age of male members in the dataframe.\n\nAction: I will use the mean() function from pandas to calculate the average age.\n\nAction Input: df[df['Sex'] == 'male']['Age'].mean()\n"),
'I will use the mean() function from pandas to calculate the average age. is not a valid tool, try another one.'),
(AgentAction(tool='I will use the mean() function from pandas to calculate the average age.', tool_input="df[df['Sex'] == 'male']['Age'].mean()\n", log="I need to use the mean() function from pandas to calculate the average age of male members in the dataframe.\n\nAction: I will use the mean() function from pandas to calculate the average age.\n\nAction Input: df[df['Sex'] == 'male']['Age'].mean()\n"),
'I will use the mean() function from pandas to calculate the average age. is not a valid tool, try another one.'),
(AgentAction(tool='I will use the mean() function from pandas to calculate the average age.', tool_input="df[df['Sex'] == 'male']['Age'].mean()\n", log="I need to use the mean() function from pandas to calculate the average age of male members in the dataframe.\n\nAction: I will use the mean() function from pandas to calculate the average age.\n\nAction Input: df[df['Sex'] == 'male']['Age'].mean()\n"),
'I will use the mean() function from pandas to calculate the average age. is not a valid tool, try another one.'),
(AgentAction(tool='I will use the mean() function from pandas to calculate the average age.', tool_input="df[df['Sex'] == 'male']['Age'].mean()\n", log="I need to use the mean() function from pandas to calculate the average age of male members in the dataframe.\n\nAction: I will use the mean() function from pandas to calculate the average age.\n\nAction Input: df[df['Sex'] == 'male']['Age'].mean()\n"),
'I will use the mean() function from pandas to calculate the average age. is not a valid tool, try another one.'),
(AgentAction(tool='I will use the mean() function from pandas to calculate the average age.', tool_input="df[df['Sex'] == 'male']['Age'].mean()\n", log="I need to use the mean() function from pandas to calculate the average age of male members in the dataframe.\n\nAction: I will use the mean() function from pandas to calculate the average age.\n\nAction Input: df[df['Sex'] == 'male']['Age'].mean()\n"),
'I will use the mean() function from pandas to calculate the average age. is not a valid tool, try another one.'),
(AgentAction(tool='I will use the mean() function from pandas to calculate the average age.', tool_input="df[df['Sex'] == 'male']['Age'].mean()\n", log="I need to use the mean() function from pandas to calculate the average age of male members in the dataframe.\n\nAction: I will use the mean() function from pandas to calculate the average age.\n\nAction Input: df[df['Sex'] == 'male']['Age'].mean()\n"),
'I will use the mean() function from pandas to calculate the average age. is not a valid tool, try another one.'),
(AgentAction(tool='I will use the mean() function from pandas to calculate the average age.', tool_input="df[df['Sex'] == 'male']['Age'].mean()\n", log="I need to use the mean() function from pandas to calculate the average age of male members in the dataframe.\n\nAction: I will use the mean() function from pandas to calculate the average age.\n\nAction Input: df[df['Sex'] == 'male']['Age'].mean()\n"),
'I will use the mean() function from pandas to calculate the average age. is not a valid tool, try another one.'),
(AgentAction(tool='I will use the mean() function from pandas to calculate the average age.', tool_input="df[df['Sex'] == 'male']['Age'].mean()\n", log="I need to use the mean() function from pandas to calculate the average age of male members in the dataframe.\n\nAction: I will use the mean() function from pandas to calculate the average age.\n\nAction Input: df[df['Sex'] == 'male']['Age'].mean()\n"),
'I will use the mean() function from pandas to calculate the average age. is not a valid tool, try another one.'),
(AgentAction(tool='I will use the mean() function from pandas to calculate the average age.', tool_input="df[df['Sex'] == 'male']['Age'].mean()\n", log="I need to use the mean() function from pandas to calculate the average age of male members in the dataframe.\n\nAction: I will use the mean() function from pandas to calculate the average age.\n\nAction Input: df[df['Sex'] == 'male']['Age'].mean()\n"),
'I will use the mean() function from pandas to calculate the average age. is not a valid tool, try another one.'),
(AgentAction(tool='I will use the mean() function from pandas to calculate the average age.', tool_input="df[df['Sex'] == 'male']['Age'].mean()\n", log="I need to use the mean() function from pandas to calculate the average age of male members in the dataframe.\n\nAction: I will use the mean() function from pandas to calculate the average age.\n\nAction Input: df[df['Sex'] == 'male']['Age'].mean()\n"),
'I will use the mean() function from pandas to calculate the average age. is not a valid tool, try another one.')]}
Who can help?
@hwchase17 @agola11 What is the best way to customize the prompt for CSV Agent, so that I can add a few shot examples as I mentioned above?
Information

[ ] The official example notebooks/scripts
[X] My own modified scripts

Related Components

[ ] LLMs/Chat Models
[ ] Embedding Models
[X] Prompts / Prompt Templates / Prompt Selectors
[ ] Output Parsers
[ ] Document Loaders
[ ] Vector Stores / Retrievers
[ ] Memory
[X] Agents / Agent Executors
[X] Tools / Toolkits
[ ] Chains
[ ] Callbacks/Tracing
[ ] Async

Reproduction
Just follow as below:
PREFIX = """
You are working with a pandas dataframe in Python. The name of the dataframe is df.

If the query requires a table, format your answer like this:
{{"table": {{"columns": ["column1", "column2", ...], "data": [[value1, value2, ...], [value1, value2, ...], ...]}}}}

For a bar chart, respond like this:
{{"bar": {{"columns": ["A", "B", "C", ...], "data": [25, 24, 10, ...]}}}}

If a line chart is more appropriate, your reply should look like this:
{{"line": {{"columns": ["A", "B", "C", ...], "data": [25, 24, 10, ...]}}}}

For a plain question that doesn't need a chart or table, your response should be:
{{"answer": "Your answer goes here"}}
For example:
{{"answer": "The Product with the highest Orders is '15143Exfo'"}}

If the answer is not known or available, respond with:
{{"answer": "I do not know."}}

Return all output as a string. Remember to encase all strings in the "columns" list and data list in double quotes.
For example: {{"columns": ["Products", "Orders"], "data": [["51993Masc", 191], ["49631Foun", 152]]}}
You should use the tools below to answer the question posed of you:"""
agent_new = create_csv_agent(llm=llm, path='titanic.csv', prefix=PREFIX,
return_intermediate_steps=True, verbose=True, include_df_in_prompt=False)
Expected behavior
I think I'm replacing the default prefix prompt of the panda's agent with my "prefix=PREFIX" argument. Also, I did not remove any input variables. Just added extra instructions(A few shots). To guide the response to my expectation. it should work as usual as the default prompt. But it's always retrying and not able to use the python REPL tool some how. What is the issue here?

default llm prompt template is as below
new_template='''
You are working with a pandas dataframe in Python. The name of the dataframe is `df`.
You should use the tools below to answer the question posed of you:

python_repl_ast: A Python shell. Use this to execute python commands. Input should be a valid python command. When using this tool, sometimes output is abbreviated - make sure it does not look abbreviated before using it in your answer.

Use the following format:

Question: the input question you must answer
Thought: you should always think about what to do
Action: the action to take, should be one of [python_repl_ast]
Action Input: the input to the action
Observation: the result of the action
... (this Thought/Action/Action Input/Observation can repeat N times)
Thought: I now know the final answer
Final Answer: the final answer to the original input question

This is the result of `print(df.head())`:
{df_head}
If Action is not python_repl_ast and consists of steps to take, then break the action down into individual actionable steps such that each Action becomes python_repl_ast

Begin!
Question: {input}
{agent_scratchpad}

'''

but it did not help

same issue here, trying to use max method from pandas:
Thought:I can use the max() function directly on the 'Unit price' column of the dataframe.
Observation: Use the max() function on the 'Unit price' column of the dataframe. is not a valid tool, try another one.


[v1.14] Proxy ports persistence fixes 1.14

[ ] #35839 (@jrajahalme)

Once this PR is merged, a GitHub action will update the labels of these PRs:
 35839

/test-backport-1.14


Feat: Support for external database

Preferably Postgres but any or every (using framework such as EF) will do.
I ask this because it would be possible to then deploy autoscan in a Kubernetes cluster as a stateless app and scale it properly.

I'll be making a PR with this soon


Support for Gateway APIs v0.8.1

The purpose of this PR is reworking support from Alpha1 to Beta1
While I'm not sure this is the best way, as it essentially forces users to upgrade their CRDs to the latest, it works.
If you have a better propostion, i'm all ears :)

just saw, this is a duplicate of #234 closing


Fix Travertine download link

Travertine has now been completely discontinued, and only exists on the legacy downloads page. This PR updates the link to point to the correct page on the Paper website

Hmm if it's been discontinued then I'm not sure we should be recommending it.


RuntimeError: cuda runtime error (59) : device-side assert triggered at /pytorch/

hi, @ycszen
Sorry to disturb you again. After some struggle on the code, I was stuck at the Criterion part. It gave RuntimeError: cuda runtime error (59) : device-side assert triggered at /pytorch/aten/src/THCUNN/generic/SpatialClassNLLCriterion.cu:128
I add the CUDA_LAUNCH_BLOCKING=1 before run the script to enable more accuracy message:
0] Assertiont >= 0 && t < n_classesfailed. /pytorch/aten/src/THCUNN/SpatialClassNLLCriterion.cu:99: void cunn_SpatialClassNLLCriterion_updateOutput_kernel(T *, T *, T *, long *, T *, int, int, int, int, int, long) [with T = float, AccumT = float]: block: [11,0,0], thread: [766,0,0] Assertiont >= 0 && t < n_classesfailed. /pytorch/aten/src/THCUNN/SpatialClassNLLCriterion.cu:99: void cunn_SpatialClassNLLCriterion_updateOutput_kernel(T *, T *, T *, long *, T *, int, int, int, int, int, long) [with T = float, AccumT = float]: block: [11,0,0], thread: [767,0,0] Assertiont >= 0 && t < n_classesfailed. /pytorch/aten/src/THCUNN/SpatialClassNLLCriterion.cu:99: void cunn_SpatialClassNLLCriterion_updateOutput_kernel(T *, T *, T *, long *, T *, int, int, int, int, int, long) [with T = float, AccumT = float]: block: [11,0,0], thread: [800,0,0] Assertiont >= 0 && t < n_classes` failed.
THCudaCheck FAIL file=/pytorch/aten/src/THCUNN/generic/SpatialClassNLLCriterion.cu line=128 error=59 : device-side assert triggered
Traceback (most recent call last):
loss = model(imgs, gts, cgts)

File "/home/chenp/.pyenv/versions/3.6.8/lib/python3.6/site-packages/torch/nn/modules/module.py", line 489, in call
result = self.forward(*input, **kwargs)
File "/home/chenp/workspace/git/TorchSeg/model/dfn/voc.dfn.R101_v1c/network.py", line 137, in forward
loss0 = self.criterion(pred_out[0], label)
File "/home/chenp/.pyenv/versions/3.6.8/lib/python3.6/site-packages/torch/nn/modules/module.py", line 489, in call
result = self.forward(*input, **kwargs)
File "/home/chenp/.pyenv/versions/3.6.8/lib/python3.6/site-packages/torch/nn/modules/loss.py", line 904, in forward
ignore_index=self.ignore_index, reduction=self.reduction)
File "/home/chenp/.pyenv/versions/3.6.8/lib/python3.6/site-packages/torch/nn/functional.py", line 1970, in cross_entropy
return nll_loss(log_softmax(input, 1), target, weight, None, ignore_index, None, reduction)
File "/home/chenp/.pyenv/versions/3.6.8/lib/python3.6/site-packages/torch/nn/functional.py", line 1792, in nll_loss
ret = torch._C._nn.nll_loss2d(input, target, weight, _Reduction.get_enum(reduction), ignore_index)
RuntimeError: cuda runtime error (59) : device-side assert triggered at /pytorch/aten/src/THCUNN/generic/SpatialClassNLLCriterion.cu:128
`
Do you have any experience or advise on  it ?

Hi, according to my experience, this is manily because the value of label is out of the range 0 - class_num. Thus, you should check if there is negative value or value greater than the class_number by printing the value.

@ycszen Hi, I try Cityscapes dataset. And the value of the label is out of the range 0-class_num. It seems that you don't do the label_id to idx job in cityscape dataset? I remap label to range 0-class_num, but still get this error:
26 21:25:43 PyTorch Version 1.0.1.post2, Furnace Version 0.1.1
26 21:25:43 PyTorch Version 1.0.1.post2, Furnace Version 0.1.1
26 21:25:43 PyTorch Version 1.0.1.post2, Furnace Version 0.1.1
26 21:25:43 PyTorch Version 1.0.1.post2, Furnace Version 0.1.1
[00:00<?,?it/s]Traceback (most recent call last):
  File "train.py", line 123, in <module>
    loss = model(imgs, gts)
  File "/home/USER/BiSeNet-official-env/lib/python3.5/site-packages/torch/nn/modules/module.py", line 489, in __call__
    result = self.forward(*input, **kwargs)
  File "/home/USER/BiSeNet-official-env/lib/python3.5/site-packages/apex-0.1-py3.5-linux-x86_64.egg/apex/parallel/distributed.py", line 459, in forward
    result = self.module(*inputs, **kwargs)
  File "/home/USER/BiSeNet-official-env/lib/python3.5/site-packages/torch/nn/modules/module.py", line 489, in __call__
    result = self.forward(*input, **kwargs)
  File "/home/USER/Projects/TorchSeg-BiSeNet/model/bisenet/cityscapes.bisenet.R18/network.py", line 105, in forward
    aux_loss0 = self.ohem_criterion(self.heads[0](pred_out[0]), label)
  File "/home/USER/BiSeNet-official-env/lib/python3.5/site-packages/torch/nn/modules/module.py", line 489, in __call__
    result = self.forward(*input, **kwargs)
  File "/home/USER/Projects/TorchSeg-BiSeNet/furnace/seg_opr/loss_opr.py", line 84, in forward
    index = mask_prob.argsort()
  File "/home/USER/BiSeNet-official-env/lib/python3.5/site-packages/torch/tensor.py", line 248, in argsort
    return torch.argsort(self, dim, descending)
  File "/home/USER/BiSeNet-official-env/lib/python3.5/site-packages/torch/functional.py", line 648, in argsort
    return torch.sort(input, -1, descending)[1]
RuntimeError: CUDA error: device-side assert triggered

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "train.py", line 157, in <module>
    config.log_dir_link)
  File "/home/USER/Projects/TorchSeg-BiSeNet/furnace/engine/engine.py", line 154, in __exit__
    torch.cuda.empty_cache()
  File "/home/USER/BiSeNet-official-env/lib/python3.5/site-packages/torch/cuda/__init__.py", line 374, in empty_cache
    torch._C._cuda_emptyCache()
RuntimeError: CUDA error: device-side assert triggered

Exception ignored in: <bound method Event.__del__ of <torch.cuda.Event 0x34cf360>>
Traceback (most recent call last):
  File "/home/USER/BiSeNet-official-env/lib/python3.5/site-packages/torch/cuda/streams.py", line 167, in __del__
  File "/home/USER/BiSeNet-official-env/lib/python3.5/site-packages/torch/cuda/__init__.py", line 208, in check_error
torch.cuda.CudaError: device-side assert triggered (59)
terminate called without an active exception

Any suggestion?

@hubutui Could you show more details? Did you do a correct remap?

@ycszen Hi, I use skimage.segmentation.relabel_sequential to remap label:
diff --git a/furnace/datasets/BaseDataset.py b/furnace/datasets/BaseDataset.py
index 7d8f6ef..bfcaa6b 100755
--- a/furnace/datasets/BaseDataset.py
+++ b/furnace/datasets/BaseDataset.py
@@ -10,6 +10,7 @@ import time
 import cv2
 import torch
 import numpy as np
+from skimage.segmentation import relabel_sequential

 import torch.utils.data as data

@@ -62,6 +63,15 @@ class BaseDataset(data.Dataset):
         if self.preprocess is not None and extra_dict is not None:
             output_dict.update(**extra_dict)

+        gt = gt.cpu().numpy()
+        trans_labels = [7, 8, 11, 12, 13, 17, 19, 20, 21, 22, 23, 24, 25, 26, 27,
+                        28, 31, 32, 33, 0]
+        trans_labels = np.array(trans_labels)
+        _, fw, inv = relabel_sequential(trans_labels)
+        gt[gt==255] = 0
+        gt = fw[gt]
+        gt = torch.from_numpy(np.ascontiguousarray(gt)).long()
+        output_dict['label'] = gt
         return output_dict

     def _fetch_data(self, img_path, gt_path, dtype=None):

Hi, have you solved this problem? I have got the same question with above, the Error code is some thing as below,
 File "train.py", line 137, in <module>     loss = model(imgs, gts)   File "/root/conda/envs/conda_py36/lib/python3.6/site-packages/torch/nn/modules/module.py", line 489, in __call__     result = self.forward(*input, **kwargs)   File "/root/conda/envs/conda_py36/lib/python3.6/site-packages/torch/nn/parallel/data_parallel.py", line 143, in forward     outputs = self.parallel_apply(replicas, inputs, kwargs)   File "/root/conda/envs/conda_py36/lib/python3.6/site-packages/torch/nn/parallel/data_parallel.py", line 153, in parallel_apply     return parallel_apply(replicas, inputs, kwargs, self.device_ids[:len(replicas)])   File "/root/conda/envs/conda_py36/lib/python3.6/site-packages/torch/nn/parallel/parallel_apply.py", line 83, in parallel_apply     raise output   File "/root/conda/envs/conda_py36/lib/python3.6/site-packages/torch/nn/parallel/parallel_apply.py", line 59, in _worker     output = module(*input, **kwargs)   File "/root/conda/envs/conda_py36/lib/python3.6/site-packages/torch/nn/modules/module.py", line 489, in __call__     result = self.forward(*input, **kwargs)   File "/root/PyCharm_Projs/TorchSeg/model/bisenet/cityscapes.bisenet.R18.speed/network.py", line 109, in forward     aux_loss0 = self.ohem_criterion(self.heads[0](pred_out[0]), label)   File "/root/conda/envs/conda_py36/lib/python3.6/site-packages/torch/nn/modules/module.py", line 489, in __call__     result = self.forward(*input, **kwargs)   File "/root/PyCharm_Projs/TorchSeg/furnace/seg_opr/loss_opr.py", line 84, in forward     index = mask_prob.argsort()   File "/root/conda/envs/conda_py36/lib/python3.6/site-packages/torch/tensor.py", line 248, in argsort     return torch.argsort(self, dim, descending)   File "/root/conda/envs/conda_py36/lib/python3.6/site-packages/torch/functional.py", line 648, in argsort     return torch.sort(input, -1, descending)[1] RuntimeError: merge_sort: failed to synchronize: device-side assert triggered ], thread: [83,0,0] Assertionindex >= -sizes[i] && index < sizes[i] && "index out of bounds" failed.
Hope suggestions. Thanks.

I have solved the question by mapping the labels with cityscapesscripts. Thanks a lot.

@blueardour hi， I meet the same problem with you. Can you tell me the way to solve this question? Thanks a lot.

@jhch1995 it might caused by the wrong match bewteen label ids.  You can try createTrainIdLabelImgs.py to generate ***_gtFine_labelTrainIds.png files and use these files as training labels

I have solved the question by mapping the labels with cityscapesscripts. Thanks a lot.

Hi, could you show more details on how to solve this question?

@hanamizukigakki Hi, could you show more details on how to solve this problem?


Document how to reinstall after the CRD domain change to spinkube.dev

SpinKube will need to be reinstalled after changing the CRD domain
REF: https://github.com/spinkube/spin-operator/pull/271

This should be covered by https://github.com/spinkube/documentation/pull/257; closing.


MAX1551 datasheet broken

This datasheet (.pdf) doesn't display correctly: The missing text seems to be there, but in the wrong color (white instead of black)...
URL to view the datasheet: http://datasheets.maximintegrated.com/en/ds/MAX1551-MAX1555.pdf
How it should look like:
pdf.js version: Unknown, bundled with Iceweasel/Firefox 38.0

Thanks for your report,
the pdf renders fine with the latest version of the viewer. can you double check for us if it works ok for you as well?
https://mozilla.github.io/pdf.js/web/viewer.html and upload the pdf with the button on the top right.

The PDF is displayed correctly in Chromium/Chrome 40, but not under Iceweasel/Firefox 38.0, so this is probably a Firefox-specific issue.
(I tested this on Debian 8.0 (Linux) with KDE 5, native X11 rendering and desktop compositing enabled - not that it should matter ;-) ... )
Firefox screenshot:
The text layer is generated correctly under both Firefox and Chrome. Both browsers report Warning: Knockout groups not supported. twice while loading the PDF.

Possibly a duplicate of issue #4967.

Closing as duplicate of #6096 which is also about the same type of datasheet.


fix: add helia version to agent version

If the user has configured identify but not overridden the agent version, add helia and its version number to the string.
Fixes #122

Before:
libp2p/x.x.x UserAgent=$USER_AGENT

Where $USER_AGENT is either the current node.js version (e.g. v18.16.0), or the browser's user agent string (e.g. Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36)
After:
helia/x.x.x libp2p/x.x.x UserAgent=$USER_AGENT

Thanks for the info @achingbrain .  I added ann FAQ entry: https://github.com/ipfs/helia/wiki/❓-FAQ#-how-does-helia-identify-itself. Please modify if I got anything wrong.


[v2] Branding Design

Logo + Typography + Color scheme for v2 launch

Hi, Please assign this to me if you're accepting contributions on this issue I'd like to help.


Fix failing load array test

Close #1061 by making sure the tested arrays have not all the elements equal.

Thank you @da1910 and @akaszynski  for your reviews.
@akaszynski I guess you mentioned DRY because of the pieces of documentation I have copied in the docstring and in the docs. I agree that is a bad practice. The question will be then "how to avoid that?". I believe the parameters info should be in the 'User Guide', because it is going to be a main entry point for users. But it should be also in the docstrings because it is important. Same happens with the docstrings for mapdl.parameters and Parameters class. Normally "@wraps" works, but I'm not sure in this case.
I aimed to reduce this kind of duplications using the doc injection #978 but our current sphinx configuration does not reflect injected docs (which is an issue, because do use it already).
Any suggestions are welcomed.


Labeled input broken in sveltekit

This problem happend when i was trying beercss in a sveltekit spa application, after clicking on the input and entering some text in the input, you would expect the label to stay up, but in svelte the label just comes down, overlapping itself with the ttext inside the input, the html snippet on the github page works as expected, the main website is also working as expected.
Steps to reproduce :
pnpm create svelte@latest tempfront

cd tempfront

pnpm install

pnpm add beercss

After the installations have finnished, just go to the src/routes folder in the project folder and edit +page.svelte file to look like this :

  <input type="text" />
  Label

Due to sveltekits SSR modules, importing beercss as a window object is not possible in this mode, however since my own project is SPA, i have this in my code :

	<input type="text" />
	Label

Run the server :
pnpm run dev -- --open

Neither of the provided methods have worked.

Hi @Mehybinator , there are other people using Svelte + Beer CSS. Check https://github.com/Materialious/Materialious and try get some help here https://github.com/Materialious/Materialious. I don't have much knowledge in Svelte to help, because Beer CSS is just CSS and a JS file nothing special here.

Hello @leonardorafael , thank you for the fast reply, i will look into the project, many thanks.


Error using anaconda with python 3.6

I installed the module using pip install pysony.
To test I wrote code
import pysony
api = pysony.SonyAPI()
api.getAvailableApiList()
but it is giving this error ...
SyntaxError: Missing parentheses in call to 'print'. Did you mean print("[WORN] liveview is not a dict type")?

This has already been fixed in #57.
I don't know how Anaconda decides what version to install, but if you get the latest version of this repo it should work with Python 3.

Duplicate of #61

close because there are duplicate issue.


How to merge some row  cell like excel?Can you add this function

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

You can do it for row only. Merge multi cells in one on one row.

You can't do vertical merge, for cells from different rows.
But you can make visual format like is merged cells by settings of borders.

Thanks @Gankov ,you are right,if can not vertical merge,your suggest is the best way


update readme

更新阿里巴巴Java开发手册华山版链接

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


Fix invalid condition

250e53fba735c245be768ef09fadd5080b4c531f introduced a regression which caused older seed images to stop working. The regression was caused by backwards compatibility code having an inverse condition.
This commit fixes that

/override ci/prow/integration

/override ci/prow/ibu-e2e-flow


Update splash image

Description:
Updating the splash image in Android and IOS
Linked issues:
Related ticket
Screenshots:

How to test:
Open the app

@inteljudajocu Ready to merge


sentry:publish installs deprecated version of @sentry/browser and variants (v7.4.0)

How do you use Sentry?
Sentry SaaS (sentry.io)
SDK version
4.8.1
Laravel version
11.16.0
Steps to reproduce

Run php artisan sentry:publish --dsn=your_dsn
When prompted for, Do you want to install one of our JavaScript SDKs?", choose yes`
Choose any platform

Expected result
It should install a reasonably up to date version of sentry-javascript (the current latest version is 8.19.0).
(At least, I assume it should, unless there's an intentional reason I may have overlooked.)
Actual result
It installs 7.4.0, which appears to be hardcoded (for any flavor of sentry-javascript, including Vue, Angular, etc.).

The installation step was removed in #930.
For the record, we installed ^7.40.0, which results into<EMAIL_ADDRESS>being installed at the time of writing.


$state.href should not decode parameters

Hi Guys,
When you want to build an URL from a $state with typed parameters, you expect the method $state#href to take a typed params Object.
For exemple, for an url with an int param :
You expect : $state.href('mystate', {id: 123});
Instead of : $state.href('mystate', {id: '123'});
While this is not a problem for int type (because parseInt work on int as well), it is a source of trouble for bool parameters or any other custom type.
When you call $state.href('mystate', {someBoolParam: false}), the boolean param is decoded first (with : parseInt(val, 10) !== 0), and the result is 1. Disturbing... ;)
In my opinion, $state.href should not decode parameters by default, or should provide a way to skip this behavior.

It seems this was fixed in 0.2.14 by adding the normalize() method which checks if the value is of the parameter type: paramtype.is(val)
This allows the type's .is() function to check if the value is already (for example) a boolean.
This enables both $state.go('mystate', {id: 123}) and $state.go('mystate', {id: '123'})


strict_max_version at 56 but expected to be compatible with 57

From an addons.mozilla.org review:

It's currently got a strict_max_version set to Firefox 56 in the manifest. Which prevents it loading in Firefox 57. Is there a reason for that? You can just remove that line from the manifest and it will work on all future Firefox versions.

I'm unable to use this add-on in FF57 (Beta) because of this!

Thanks for pointing this out.

Commit bf951de80dcb43213648d27b553d4cd9c4dda412