undefined is not a function when calling registerPlaybackService

Describe the Bug
When calling registerPlaybackService in index.js with the example provided I'm seeing a undefined is not a function and no events are being handled.
Steps To Reproduce
Create a new RN 0.70.6 Typescript project. Install react-native-track-player 3.2.0 and follow the provided service.js events from the docs.
Code To Reproduce
index.js
`
import {AppRegistry} from 'react-native';
import App from './src/App';
import {name as appName} from './app.json';
import TrackPlayer from 'react-native-track-player';
AppRegistry.registerComponent(appName, () => App);
TrackPlayer.registerPlaybackService(() => require('./service'));
`
service.js
`
import TrackPlayer, {Event} from 'react-native-track-player';
export const PlaybackService = async function () {
TrackPlayer.addEventListener(Event.RemotePlay, () => TrackPlayer.play());
TrackPlayer.addEventListener(Event.RemotePause, async () => TrackPlayer.pause());
};
`
Replicable on Example App?
Can you replicate this bug in the React Native Track Player Example App?
No
Environment Info:
System:
OS: macOS 13.1
CPU: (10) arm64 Apple M1 Pro
Memory: 614.97 MB / 16.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 16.13.2 - ~/.nvm/versions/node/v16.13.2/bin/node
Yarn: 1.22.19 - ~/.yarn/bin/yarn
npm: 8.5.1 - ~/.nvm/versions/node/v16.13.2/bin/npm
Watchman: 2<IP_ADDRESS> - /opt/homebrew/bin/watchman
Managers:
CocoaPods: 1.11.3 - /opt/homebrew/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 22.1, iOS 16.1, macOS 13.0, tvOS 16.1, watchOS 9.1
Android SDK: Not Found
IDEs:
Android Studio: 2021.2 AI-212.5712.43.2112.8512546
Xcode: 14.1/14B47b - /usr/bin/xcodebuild
Languages:
Java: 11.0.11 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 18.1.0 => 18.1.0
react-native: 0.70.5 => 0.70.5
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found
react-native-track-player version 3.2.0
Real device? Or simulator?
Both
What OS are you running?
Android & iOS
Unable to locate underlying issue. Need some guidance...

In service.js you should try to export the service like in the example app:
export async function PlaybackService() {
// Event handlers etc
}

Looks like you didn't export. Cheers.

I appreciate this has been closed but am I naive or is this
export async function PlaybackService() { // Event handlers etc }
not the same as this?
export const PlaybackService  = async() =>  { // Event handlers etc }
Anyway I changed my service.js file to look like this:
import TrackPlayer, {Event} from 'react-native-track-player';

export async function PlaybackService() {
  TrackPlayer.addEventListener(Event.RemotePlay, () => TrackPlayer.play());
  TrackPlayer.addEventListener(Event.RemotePause, async () => {
    console.log('PAUSE');
    TrackPlayer.pause();
  });
}

Reset metro cache, and reinstalled on device but am still seeing the same issue. I will try with RN 0.68 to see if this is an issue with 70+

Yes, my bad, you should import the service as in the example app:
https://github.com/doublesymmetry/react-native-track-player/blob/main/example/index.js#L5
Else you could export it as a default to make it work with your require-statement, like module.exports = ... in the service.js


Bug: Paragraph requires a change of wording

Where does the issue happen?
https://learn.qiskit.org/course/introduction/entangled-states#entangled-26-0
What is the content issue?
The paragraph says that to use this alternative representation of the CX Gate, the target needs to be in the |-> state. To get the target qubit into a |-> state, I used a Hadamard Gate followed by a Z Gate like this:

The requirements don't mention anything about the control qubit needing to be in superposition, but look what happens when you remove it:

Phase Kickback doesn't kick in anymore (see what I did there :wink:).
I would suggest a change of wording in the paragraph, just for clarification:
"This effect can also motivate us to make an alternative interpretation of the cx. We can think of it as applying a z to the control if the target is in state |-> and the control is in superposition, and do nothing if it is in state |+> and or the control is not in superposition."
Screenshots
No response
Additional information
No response

Thanks for your comment. I see your confusion, but the original paragraph is correct; the action is still a Z-gate on the control qubit. The reason you're not seeing anything in the composer is
$Z|0\rangle = |0\rangle$, and $Z|1\rangle = -|1\rangle$, so the only change is a global phase which isn't observable and doesn't show up on the q-sphere.
I considered adding a different clarification, but I've decided against it to avoid convoluting the explanation.


[AZ] adding cur icu, widening viewports so graphs are less crowded

Oh wow, did not know that. Thank you!

Oh wow, did not know that. Thank you!


Split dateformat for frontend/php to fix bug

Different approach and more "stable" fix for date issue from #352. Closes #352.
@tvlooy the fix from #352 broke the conversion of text input to DateTime object. Original issue for the fix in #200. This should be fixed now for all cases, eg the correct print in frontend and correct conversion to php object.

Yes. This is it


Clarify identity generated from CIDR-based policies and add security identity internal docs

This is meant to be a starting point and not exhaustive from the outset.
Suggested-by: Joe Stringer<EMAIL_ADDRESS>Suggested-by: Quentin Monnet<EMAIL_ADDRESS>Signed-off-by: Chris Tarazi<EMAIL_ADDRESS>

Thanks @qmonnet, much cleaner now!


Use EncodeUri() if part of the URL path or EncodeUriComponent() if used as a URL parameter

https://github.com/luckyorange/integration-google-tag-manager/blob/45ad102311a4a3b435452733a5d977b52caaf2b9/template.tpl#L48
When reviewing your template we've noticed that it is using parameters to build a url. It's a best practice to use EncodeUri() if part of the URL path or EncodeUriComponent() if used as a URL parameter.

Hey @philpott, I've gone ahead and updated the template to incorporate the use of encodeUriComponent for building out the query parameters.


fix heartbeat and add it to documentation

I noticed that the default heartbeat for a connection was set to 2000 seconds. I'm sure this was meant to be 2 seconds, but it was literally set to 2000. In RMQ and AMQPLib the heartbeat is in seconds, not milliseconds:
https://github.com/squaremo/amqp.node/blob/master/lib/heartbeat.js#L54-L60
and
https://www.rabbitmq.com/heartbeats.html
I've adjusted the default to be 30 seconds, instead of 2000.
I've also adjusted the readme documentation to include a proper section for addConnection, which now lists the heartbeat setting. There are still a lot of connection options missing, from this document section, but it's at least a good start.

@derickbailey - wow, thanks for catching that. Merging the other PRs I had outstanding meant that this one is out-of-date. If you can rebase this one, I'll get it merged in.

done, yo!
there was a documentation addition for publishTimeout that I moved into the "addConnection" documentation, during the rebase


Added support to Safari

CORS now works on Safari

Pull Request Test Coverage Report for Build 367

3 of 3 (100.0%)  changed or added relevant lines in 2 files are covered.
41 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-1.0%) to 98.371%

Files with Coverage Reduction
New Missed Lines
%

source/Cosmos-Data/DataManagementSystem.class.st
4
93.75%

source/Cosmos-API-Data-Tests/DataAPITest.class.st
37
82.38%

Totals

Change from base Build 363:
-1.0%

Covered Lines:
4045

Relevant Lines:
4112

💛  - Coveralls


Reduce duplication of dependency information

Summary
Currently, all runtime dependencies are listed in both requirements.txt and setup.py, except that they sometimes have differing version constraints. This is confusing and increases the amount of work a maintainer needs to do when updating the dependency list.
Fix it by moving all runtime dependencies to a separate file (requirements-core.txt) and referencing that file from both setup.py and requirements.txt. Combine all version constraints from both original files.
Unfortunately, some things still need to be duplicated:

The OpenCV dependency varies depending on environment variables, and that logic can't be replicated with a requirements file. So OpenCV has to be listed separately in setup.py and requirements.txt.

Cython is a build dependency, not a runtime dependency, so it shouldn't go into requirements-core.txt. It would technically be possible to move it to a separate requirements file and reference from there, but it's just one dependency, so it doesn't seem worth it.

How to test
Try to run pip install -r requirements.txt. (The installation through pip install . is covered by CI.)
Checklist

[x] I submit my changes into the develop branch
[x] I have added description of my changes into CHANGELOG
[ ] I have updated the documentation accordingly No update should be needed
[ ] I have added tests to cover my changes
[ ] I have linked related issues

License

[x] I submit my code changes under the same MIT License that covers the project.
Feel free to contact the maintainers if that's a concern.
[x] I have updated the license header for each file (see an example below)

# Copyright (C) 2021 Intel Corporation
#
# SPDX-License-Identifier: MIT

What do you think about adding a couple of extra requirement files?
-testing with pytest
-ci with coverage
-plugins with TF, TF-gpu, pandas?

I think the most sensible scheme would be as follows:

requirements-core.txt - core runtime dependencies (the file I created in this PR)
For each plugin that has additional dependencies, requirements-<plugin>.txt. The setup.py equivalent would be an entry in extras-require.
requirements-dev.txt - development dependencies (pytest, pylint, etc.). I don't think we need to split this into test, coverage or whatever.
requirements.txt - master file that includes all of the above.

That said, the above scheme only makes sense if we want to keep runtime dependencies in requirements.txt files, which I'm not sure about. A simpler scheme would be to keep them only in setup.py and have only a requirements-dev.txt and a master requirements.txt file that just contains:
-e .[plugin1,plugin2]
-r requirements-dev.txt

Also, you asked about fixed dependency versions in setup.py

I... don't think I did, though? :-) I don't think setup.py should have fixed dependency versions, and the document you linked agrees with me.

So, what now? Should I change anything?

Do you want to add anything into CONTRIBUTING.md?

Do you want to add anything into CONTRIBUTING.md?

Not really. I don't think anything I did here conflicts with anything that CONTRIBUTING.md says.


Command not parsed if containing '@'

Code:
    }).on('stats', function (message) {
    // do something
    }).on('message',function(msg){
        send(msg.chat.id,'unprocessable command: '+msg.text);
    }).start();

Request
/stats@myBot
Response:
unprocessable command: /stats@myBot
Can someone confirm this is a bug? I'm running V0.1.2

@longstone will test and revert.

This request type is working for me

This is also not working for me. I think this needs simply to find and replace "@" + username after this line:
var command = msg.message.text.split(' ', 2)[0];

@viacgo, messages sent from public chat or private?

Both

Here the same, telegram now adds the @botname to the command in groups so I have to explain to chat users to 'not type the @ part' ..
Anyhow, I now use something like this:
    // Handle all normal messages (without / prefix)
    .on('message', function (message) {

        console.log("score", message);
        // Check if message is a reply
        if (message.reply_to_message) {
            return handleReply(message);
        } else {
            // Add user of this message to database (ignore if known)
            db.addUser(message.from.id, message.from.first_name, message.from.last_name, message.from.username);
            // Handle the message
            handleMessage(message);
        }
    })

    //Command without argument
    .on('test', function (msg) {
        console.log("test", msg);
        bot.sendMessage({
            chat_id: msg.chat.id,
            text: 'You\'ve send command: ' + command
        });
    })

The command@botname always triggers the .on('message',..) instead of .on('command',...) function. So splitting the message on the @ into a command and a target as @viacgo suggests unfortunately only works for .on('message' and not for .on('command') triggers.
I'll try to look into the bot functions later to see if I can find out where it goes south.

allright, this should be it. I'll try to make a pull request but that's new for me with libaries and all :)
At the moment I'm not passing the target to the bot/self.emit function but I think that should be possible as well.
Bot.js line 221
if (msg.message.text && msg.message.text.charAt(0) === '/') {

                                    /**
                                     * Split the message on space and @
                                     * First part = command with leading /
                                     * Second part = target or arguments
                                     * Third part = arguments if target is available
                                     */

                                    var messageParts = msg.message.text.split(/[ @]/, 3);

                                    // Filter everything not alphanum out of the command
                                    var command = messageParts[0].replace(/[^a-zA-Z0-9 ]/g, "");

                                    if (messageParts.length == 3) {
                                        var arg = messageParts[2].split(' ');
                                        self.emit(command, msg.message, arg);
                                    } else if (messageParts.length == 2) {
                                        var arg = messageParts[1].split(' ');
                                        self.emit(command, msg.message, arg);
                                    } else {
                                        self.emit(command, msg.message);
                                    }
                                }

All right, rewrote the regexp with help of a colleague :)
See pull request #56

cool thanks!


ceph-config: Set changed_when to false on fact gathering statements

The "run 'ceph-volume lvm batch --report' to see how many osds are to be
created" and "run 'ceph-volume lvm list' to see how many osds have already been
created" statements only register the lvm_batch_report and lvm_list variables.
Running those ceph-volume commands should never produce a change on the system.
Adding changed_when: false prevents irrelevant change messages from Ansible.
Signed-off-by: Kevin Coakley<EMAIL_ADDRESS>

unrelated failure


feat(client): Derivation integration

Overview
Adds the DerivationDriver to the client program, bringing the first draft of the client program.

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#257  👈
#256
#255
#252
#251
main

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

Join @clabby and the rest of your teammates on  Graphite

Codecov Report
Attention: Patch coverage is 15.97938% with 163 lines in your changes missing coverage. Please review.

Project coverage is 70.3%.

Files
Patch %
Lines

bin/programs/client/src/l1/driver.rs
0.0%
76 Missing :warning:

bin/programs/client/src/main.rs
0.0%
44 Missing :warning:

bin/host/src/fetcher/mod.rs
0.0%
16 Missing :warning:

bin/programs/client/src/l2/chain_provider.rs
0.0%
10 Missing :warning:

bin/host/src/server.rs
0.0%
5 Missing :warning:

crates/preimage/src/oracle.rs
55.5%
4 Missing :warning:

bin/host/src/util.rs
0.0%
3 Missing :warning:

bin/programs/client/src/hint.rs
0.0%
2 Missing :warning:

crates/preimage/src/pipe.rs
66.6%
2 Missing :warning:

bin/programs/client/src/l1/blob_provider.rs
0.0%
1 Missing :warning:

Additional details and impacted files

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Approved with a few drive-by comments :)


V1 design/sidebar layout

Description
Adds Side bar links, tooltips and testids
Notes

A future PR will hide DAO links when not viewing a DAO. I will also update the Routes with the correct contract address at that time.

Issue / Notion doc (if applicable)
Closes #542

Testing

Screenshots (if applicable)

@Da-Colon and Favorites should be baseline with Connect Wallet, but that might be a problem with the fonts not being in place

@Da-Colon last thing, what's this vertical line in your screenshot, I don't see it in the preview link:

ALSO ALSO, I'm assuming the proper fonts will come later as well?

Fonts are in place for wallet menu and sidebar. The DAO Tree and Favorites in the header are just placeholders until design on it is finalized

That's the proper font for "Connect Wallet"?

technically there isn't a design for this. but I will switch it to Mono to match clickable things.

technically there isn't a design for this. but I will switch it to Mono to match clickable things.

I think it should match what's in this, and the wallet address and Disconnect should be updated as well

technically there isn't a design for this. but I will switch it to Mono to match clickable things.

I think it should match what's in this, and the wallet address and Disconnect should be updated as well

Plus Wallet and Network titles

@Da-Colon last thing, what's this vertical line in your screenshot, I don't see it in the preview link:

This may just be my monitor and screen shot tool. isn't seen in app

        <Text
          textStyle="text-sm-sans-regular"
          color="chocolate.100"
        >
          {t('network')}
        </Text>

The font matches. and these new states were just added this morning and will have to wait for another PR as its out of scope of this one.

Agreed that it's out of scope for this PR, but something must be up if the font is set to that, because I can see from this screenshot that it's a serif font:

So there does appear to be an issue with the font loading. I will follow up on this in a future PR. (looks like i have some hover states to update as well)

Icons are fixed (updated release to 0.0.8), Also updated the aria-labels
TL:DR. They are used when you have an interact-able elements that doesn't contain text. In this case  and  elements. for screen readers. I've updated these values  and placed them on the  and  elements and added the text  to the translations


Add URL to log messages when DCL upload fails

Yep just noticed that. That's the downside of mocking the http client.

I'll try this out tomorrow.


SQL language

hi,
if the default language of the user is NOT english_us you get following error:
SqlProcedure "[dbo].[VLF_Upd]" wird erstellt...
SqlProcedure "[dbo].[Waits_Get]" wird erstellt...
SqlProcedure "[dbo].[Waits_Upd]" wird erstellt...
Msg 4132, Level 16, State 1, Procedure Waits_Upd, Line 72 [Batch Start Line 21429]
Der für die @MaxDate-Variable in der OPTIMIZE FOR-Klausel angegebene Wert konnte nicht implizit in den Typ dieser Variablen konvertiert werden.
** An error was encountered during execution of batch. Exiting.

Completion time: 2022-03-21T14:06:10.1855006+01:00

I added:
SET LANGUAGE us_english;
GO
SET ANSI_NULLS, ANSI_PADDING, ANSI_WARNINGS, ARITHABORT, CONCAT_NULL_YIELDS_NULL, QUOTED_IDENTIFIER ON;

SET NUMERIC_ROUNDABORT OFF;

SET LANGUAGE us_english;

It looks like the issue might be related to the string literal format used for dates.  Changing to a format that works across languages should fix this issue - this is something I can take a look at.
https://docs.microsoft.com/en-us/previous-versions/sql/sql-server-2008-r2/ms180878(v=sql.105)?redirectedfrom=MSDN
https://dba.stackexchange.com/questions/166771/what-date-time-literal-formats-are-language-and-dateformat-safe
DECLARE @d VARCHAR(20) = '9999-12-31' -- depends on language

-- fails
SET LANGUAGE français;
SELECT CAST(@d AS DATETIME)

-- succeeds
SET LANGUAGE us_english;
SELECT CAST(@d AS DATETIME)

SET @d = '99991231' --  format works accross languages

-- succeeds
SET LANGUAGE français;
SELECT CAST(@d AS DATETIME)

-- succeeds
SET LANGUAGE us_english;
SELECT CAST(@d AS DATETIME)

Fixes were only required in two places in the app.  This will be included in the next release.

This issue is fixed in the latest release now.


Tabbar position on Android always at the top

Hi all.
Version

react-native-router-flux v4.0.5
react v16.5.
react-native v0.57.1

I have switched from another Tab component to the Router-Flux one.
Everything is working fine, except from the Tabbar position itself on android.
Expected behaviour
<Scene
        key="mainTab"
        hideNavBar
        gesturesEnabled={false}
        panHandlers={null}
        type={ActionConst.RESET}>
          <Tabs
            key="tabbar"
            routeName="tabbar"
            legacy
            backToInitial
            onTabOnPress={() => {
              console.log('Back to initial and also print this');
            }}
            swipeEnabled
            showLabel={false}
            tabBarStyle={styles.tabBarStyle}
            activeBackgroundColor="white"
            inactiveBackgroundColor="rgba(255, 0, 0, 0.5)"
            tabBarPosition="bottom"
          >

This is the code I have copied from the example, and I have added the  tabBarPosition="bottom".
Actual behaviour
On iOS the Tabbar is at the bottom, but on Android is at the top.
Maybe I am wrong, but for what I have read on the documentation, the default behaviour on iOS is at the botton and for Android at the top, but I thought that it was possible also on android to place the tabbar at the bottom.
Isn't it?
Thank you in advance.

Having the same issue. Initially the issue was that swipe gesture was not working for tabs so I enabled the legacy flag. Now the tabbar stays at top no matter what is set in tabBarPosition.

Hey, if anyone comes here for this issue, I have made a repository which is forked from "react-navigation-deprecated-tab-navigator". I have hardcoded the position so the tabbar stays at bottom.
Here is the repo with the modifications
So what you have to do is just install this package and React Navigation will pick it up.
Let me know if there are any issues.

I will test and let you know, thank you!

I also had this problem

I also had this problem

You can try installing my forked repo

My Repo
So i try to see why this happen and then i find it that on navigationStore.js. When function createTabNavigator is called the tabBarPosition parameter not included as parameter.
you can try my repository if you want

Thanks for the investigation, PR is welcome!

On 19 Oct 2018, at 12:19, hophoppoppop<EMAIL_ADDRESS>wrote:
My Repo
So i try to see why this happen and then i find it that on navigationStore.js. When function createTabNavigator is called the tabBarPosition parameter not included as parameter.
you can try my repository if you want
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Tabbar position on Android always at the top, Please help me


Can't insert @ and other AltGr dependent characters with new UHID

[Y] I have read the FAQ.
[Y] I have searched in existing issues.

Environment

OS: Windows 11
scrcpy version: 2.4
installation method: Wnidows Release
device model: Pixel 7 Pro
Android version: Android 14

Describe the bug
TL; DR: I cannot write @ or other AltGr dependent characters into android with the new UHID method (-K option).
I confirm that @ and other AltGr dependent characters work in v2.4 if the -K is omitted and the --prefer-text option is used instead.
I have checked that my keyboard layout is correctly configured in android.
Detailed explanation:
I have discovered the app in v2.3.1, and I've been following the UHID development with great expectation. Congrats on the great work performed.
But, I have discovered that I cannot insert @ while writing with the new UHID option. Neither #, ¬, €, or other AltGr dependent characters.
To sanity check, I have run scrcpy with the same arguments I was using with v.2.3.1, that is, no -K and with --prefer-text, and there are no problems. @ are correctly written on the phone.
And, AFAIK, I have correctly set up my keyboard layout. It's easy to check when you're spanish and you have a dedicated "ñ" key.
I have also noticed that the autocorrect feature gets crazy when gboard is "hidden" due to using a physical keyboard, but I get the feeling that's a Google feature.

I am away from the computer right now, but I know it works for me on a Pixel 8.
It may depend on your software keyboard, I have not tested with Gboard. Could you test another keyboard just to confirm?
Or maybe AltGr is captured by Gboard for some feature and it can be customized?
I'll check later when I'm back on the computer.

Tried with Microsoft keyboard. AltGr+1,2 or 3 is used to select one of three possible predicted words.
Thx, Microsoft.
Using SimpleKeyboard (https://play.google.com/store/apps/details?id=rkr.simplekeyboard.inputmethod&hl=en_US) yields the same non-@ problem.
I can try another keyboard app, if it is valuable. Althugh that will have to wait until tomorrow, though.

I confirm that @ or € work correctly for me.
It works well with OpenBoard.
Then I switched to GBoard to test, and it also works for me.
I tested both keyboard on a Pixel 8 and on a OnePlus 7 Pro, it works.
So it might be a system setting not specifically related to the keyboard (something that captures AltGr on your device).

Tried with an Openboard fork, no luck.
I've also tried switch languages, and therefore keyboard layouts, in the phone. Same results
Soo... I'm going to try to find what exactly is eating the input on the phone.
Thank you very much for the help!
To be fair, I don't know if this issue should be closed at this point, since I do not longer consider it a scrcpy issue.
Your repository, your choice, I guess.

Hi again! I've found out my problem: I'm using Windows.
So, just a FYI to document my findings: Android interprets differently LCtrl+AltGr than AltGr.
My (spanish) Windows 11 generates LCtrl+AltGr.
So, when pressing AltGr, my Windows generates two key events, LCtrl and RAlt (according to online keyboard testers like this), which are correctly send by scrcpy
Log extract (224 is LCtrl, 230 is AltGr):
VERBOSE: hid keyboard: key down scancode=e0 (224) mod=01
VERBOSE: input: UHID input [1] 01 00 00 00 00 00 00 00
VERBOSE: hid keyboard: key down scancode=e6 (230) mod=41
VERBOSE: input: UHID input [1] 41 00 00 00 00 00 00 00
VERBOSE: keys[1f] = true

AFAIK, android does not know what to do with LCtrl+AltGr (if i'm understanding this issue correctly), so it does nothing.
However, if while holdin AltGr I press and depress LCtrl, the keyboards stops sending LCtrl as pressed, and I can use @ as long as I hold AltGr.
This problem does NOT occur in Ubuntu 22.04: only AltGr is sent as pressed in this case. Just checked it.
And, AFAIK, this IS expected behavior for Windows, according to Wikipedia from even more than 10 years ago.
Maybe scrcpy can take care of this? Should scrcpy take care of this?

Wow :open_mouth: Great work! :detective:

Maybe scrcpy can take care of this? Should scrcpy take care of this?

Scrcpy receives key events from SDL, so maybe SDL should take care of this? (or not?)

Scrcpy receives key events from SDL, so maybe SDL should take care of this? (or not?)

I don't know what to tell you, this is my first ever Github issue 😂 Feel free to do with this issue and this information whatever you want.
Cheers!

Hi again!
Just wanted to say that with the new v2.5 release, this issue has been solved.
So, if it is okay, I will mark this issue as closed.
Thank you very much for the very good work! 👏👏
Cheers!

:tada: Probably with the upgrade of the SDL library to the latest version :+1:


Assignment2 Pull Request with Screenshots

looks good

reverted assignment 2 changes in a seperate pull request , assignment 2 can be found in my private repo here : https://github.com/NavinColumbia/NS3886-COMSW4156-INDIVIDUAL-PROJECT
deleted assignment 2 and revert branch


'CentreOfRotationCorrector.xcorrelation' doesn't seem to work

Description
I try to find the rotation center by using CentreOfRotationCorrector.xcorrelation, but the reconstruction result (original data vs corrected data) seems the same, which still has many crescent-shaped artifacts. It seems that the CentreOfRotationCorrector.xcorrelation doesn't work.
Is there other methods to find or correct the rotation center? For example, in Tomopy, we can use tomopy.find_center() and define the rotation center during reconstrution  tomopy.recon(minus_log, angles, center=center, algorithm='gridrec')
Code
proj = TIFFStackReader(file_name=path_input)
ag = AcquisitionGeometry.create_Parallel3D(detector_position=[0,800,0])\
    .set_panel(num_pixels=[622,450])\
    .set_angles(angles=np.linspace(0,180,1080))
pj = proj.read_as_AcquisitionData(ag)

processor = CentreOfRotationCorrector.xcorrelation(slice_index='centre',projection_index=0, ang_tol = 0.1)
processor.set_input(pj)
pj_centred=processor.get_output()
recon0 = FBP(pj)
recon1 = FBP(pj_centred)
output0 = recon0.run()
output1 = recon1.run()

Reconstruction using origianl data:

Reconstruction using corrected data:

Hi @Cosme-liu , thanks for submitting an issue.
The xcorrelation method is trying to correlate between your 0 index projection and another projection 180 degrees apart from that (presumably the last one), so it might be worth checking that the first and last projections are representative of your data. If not you could set projection_index=(1, 1078) to see if it can correlate with a different pair of angles that are close to 180 degrees apart. You might need to increase ang_tol slightly so the difference between the angles you choose is within the tolerance.
Alternatively if you know roughly what the offset is you can set it manually and try several different values of pixel_offset to see if the artefacts are reduced.
pj_centred = pj.copy()
pj_centred .geometry.set_centre_of_rotation(pixel_offset, distance_units='pixels')

Hi @Cosme-liu , thanks for submitting an issue.
The xcorrelation method is trying to correlate between your 0 index projection and another projection 180 degrees apart from that (presumably the last one), so it might be worth checking that the first and last projections are representative of your data. If not you could set projection_index=(1, 1078) to see if it can correlate with a different pair of angles that are close to 180 degrees apart. You might need to increase ang_tol slightly so the difference between the angles you choose is within the tolerance.
Alternatively if you know roughly what the offset is you can set it manually and try several different values of pixel_offset to see if the artefacts are reduced.
pj_centred = pj.copy()
pj_centred.geometry.set_centre_of_rotation(pixel_offset, distance_units='pixels')

Hi @hrobarts , thanks for your advice.
I set projection_index=(0, 1079) and modify ang_tol, but the artefacts still exist. Then, I set the rotation center manually by set_centre_of_rotation(pixel_offset, distance_units='pixels'), and it works!

Hi @hrobarts, for the pixel_offset in set_centre_of_rotation(pixel_offset, distance_units='pixels'), could it be decimals? Or it must be int? For example, if I set manually pixel_offset = 1.1, is it the same with pixel_offset = 1?

Hi @Cosme-liu, sorry for the slow reply. It should work fine with decimals so you should see a difference with sub-pixel values


Feature Request: Include Example .env File in Documentation.

I am proposing the addition of an example .env file in the documentation for this project. Having an example will greatly assist me in setting up my environment configurations correctly.
Thanks in advance.

Hi. I will upload an example soon.


Ignore changeset files starting with a dot

Something weird has happened here - I'm reopening this PR


1stkissnovel no chapters and covers

The covers are empty and they have no chapters displayedonly the description of the novel********

No chapters has been fixed, you can download preview if you want to use it.
The covers are empty due to their image links having cloudflare protection which the app cannot bypass, once they remove it they'll show up.


Chat Window Froze up During Play

Chat window froze during a military claim being taken.  No further typing was received and no further in game messages were displayed the rest of the way through game completion.
While I am writing, things to consider for game improvements.  Actions after defenders are declared are only given 1 per player rather than until both players pass like the other action windows correctly do.  Does not give attackers a chance to respond after a defender uses an action.
Likewise, a reaction window is needed pre-claim for defenders.  Cards like Viper Eyes are nearly impossible to play in their correct window.  Reactions to losing are a game mechanic and right now they have no place in which to use them.
Great game and hoping to see it keep improving!

Do you remember when did this happen (e.g., hour of the day) and/or how many games in total where ongoing at the time?
If it happened at peak time, this might just be a side-effect of high server load (which is already being worked on).

I sent the report within a few minutes of when thr game ended (had to find
and sign up for the issue report site).
Several days later I cannot remember if it was a time where there were
10-15 games or 16-25.
Todd
On Mar 1, 2017 5:19 AM, "Stefano Zacchiroli"<EMAIL_ADDRESS>wrote:

Do you remember when did this happen (e.g., hour of the day) and/or how
many games in total where ongoing at the time?
If it happened at peak time, this might just be a side-effect of high
server load (which is already being worked on).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/cryogen/throneteki/issues/475#issuecomment-283301283,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AYzYxuOlf0oVWbyDtF4TSX8uD0vargbHks5rhUZGgaJpZM4MLTqS
.

I'm pretty sure this is "just" a result of triggering a server error.  I don't think it is its own issue that needs to be investigated separately.


For the public root CA we skip the TLS.Config setting

Signed-off-by: Matthias Wessendorf<EMAIL_ADDRESS>as per title

/assign @pierDipi

/hold

/close
seems not to be valid


fixes #3165 - menu keeps selected item in frame when keydown scrolls

Description

Motivation and Context

How Has This Been Tested?

Markup:

Types of changes

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

Checklist:

[ ] The PR title is no longer than 64 characters.
[ ] The PR is submitted to the correct branch (master for bug fixes, dev for new features and breaking changes).
[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have created a PR in the documentation with the necessary changes.

Codecov Report

Merging #5 into dev will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##              dev       #5      +/-   ##
==========================================
+ Coverage   83.75%   83.76%   +<.01%
==========================================
  Files         147      147
  Lines        3454     3455       +1
  Branches     1081     1081
==========================================
+ Hits         2893     2894       +1
  Misses        413      413
  Partials      148      148

Impacted Files
Coverage Δ

src/components/VMenu/mixins/menu-keyable.js
85% <100%> (+0.78%)
:arrow_up:

Continue to review full report at Codecov.

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


Tag Release did not publish ibm-fhir-bucket-tool

Describe the bug
A clear and concise description of what the bug is.
https://hub.docker.com/r/ibmcom/ibm-fhir-bucket-tool/tags <-- did not publish successfully
Environment
Which version of IBM FHIR Server? 4.10.0
Tag release... 4.10.0
Expected behavior
A clear and concise description of what you expected to happen.
Released on tag/release
Additional context
Add any other context about the problem here.

2021-11-17T17:32:07.9677969Z manifest for ibmsemeruruntime/open-11-jdk:ubi_min-jre-latest not found: manifest unknown: manifest unknown
2021-11-17T17:32:08.0131393Z Docker Image is:
2021-11-17T17:32:08.0476056Z "docker tag" requires exactly 2 arguments.
2021-11-17T17:32:08.0478376Z See 'docker tag --help'.
2021-11-17T17:32:08.0478924Z
2021-11-17T17:32:08.0479879Z Usage:  docker tag SOURCE_IMAGE[:TAG] TARGET_IMAGE[:TAG]
2021-11-17T17:32:08.0480333Z
2021-11-17T17:32:08.0480787Z Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE
2021-11-17T17:32:08.0802738Z "docker tag" requires exactly 2 arguments.
2021-11-17T17:32:08.0804614Z See 'docker tag --help'.
2021-11-17T17:32:08.0805105Z
2021-11-17T17:32:08.0806017Z Usage:  docker tag SOURCE_IMAGE[:TAG] TARGET_IMAGE[:TAG]
2021-11-17T17:32:08.0806490Z
2021-11-17T17:32:08.0807001Z Create a tag TARGET_IMAGE that refers to SOURCE_IMAGE
2021-11-17T17:32:08.1265313Z An image does not exist locally with the tag: ibmcom/ibm-fhir-bucket-tool
2021-11-17T17:32:08.1266508Z The push refers to repository [docker.io/ibmcom/ibm-fhir-bucket-tool]
2021-11-17T17:32:08.1728193Z An image does not exist locally with the tag: ibmcom/ibm-fhir-bucket-tool
2021-11-17T17:32:08.1729391Z The push refers to repository [docker.io/ibmcom/ibm-fhir-bucket-tool]
2021-11-17T17:32:08.1970792Z Filesystem      Size  Used Avail Use% Mounted on

https://hub.docker.com/layers/ibmcom/ibm-fhir-bucket-tool/4.10.0/images/sha256-1cd61cdc24399e860f03e35db3876bccd5d1b4235ca4bb61f0dec24cb1cdc840?context=explore

Automation complete with 4.10.1


diff not showing subtractions

Trying out your module, I notice that diff are not showing subtractions when the changed file does not have lines from the original.  I assume that if the change file does not have the same lines as the original file, you should see a subtractions.  Could you please take a look into this?
Test Code
from petl import *
f1 = fromcsv('list1', delimiter=',')
f2 = fromcsv('list2', delimiter=',')
print '- file 1'
for i in f1:
print i
print ''
print '- file 2'
for i in f2:
print i
print ''
print '#'
print '#'
print ''
a,s = diff(f1, f2)
print look(a)
print look(s)
print '#'
a,s = recorddiff(f1, f2)
print look(a)
print look(s)
OUTPUT
$ ./test.py

file1
('h1', 'h2')
('test1', 'hello1')
('test2', 'hello2')

-file2
('h1', 'h2')
################
################
+------+------+
| 'h1' | 'h2' |
+======+======+
+------+------+
| 'h1' | 'h2' |
+======+======+
################
+------+------+
| 'h1' | 'h2' |
+======+======+
+------+------+
| 'h1' | 'h2' |
+======+======+

Hi zigen,
The following works for me, using petl 0.7...
$ cat file1
h1,h2
test1,hello1
test2,hello2
$ cat file2
h1,h2
$ python
Python 2.7.2+ (default, Oct  4 2011, 20:06:09)
[GCC 4.6.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.

from petl import *
f1 = fromcsv('file1')
f2 = fromcsv('file2')
added, subtracted = diff(f1, f2)
look(added)
+------+------+
| 'h1' | 'h2' |
+======+======+

look(subtracted)
+---------+----------+
| 'h1'    | 'h2'     |
+=========+==========+
| 'test1' | 'hello1' |
+---------+----------+
| 'test2' | 'hello2' |
+---------+----------+

...can you attach the exact files you used?
Cheers,
Alistair
On Mon, Mar 05, 2012 at 06:38:59AM -0800, zigen wrote:

Trying out your module, I notice that diff are not showing subtractions when the changed file does not have lines from the original.  I assume that if the change file does not have the same lines as the original file, you should see a subtractions.  Could you please take a look into this?
Test Code
from petl import *
f1 = fromcsv('list1', delimiter=',')
f2 = fromcsv('list2', delimiter=',')
print '- file 1'
for i in f1:
print i
print ''
print '- file 2'
for i in f2:
print i
print ''
print '#'
print '#'
print ''
a,s = diff(f1, f2)
print look(a)
print look(s)
print '#'
a,s = recorddiff(f1, f2)
print look(a)
print look(s)
OUTPUT
$ ./test.py

file1
('h1', 'h2')
('test1', 'hello1')
('test2', 'hello2')

-file2
('h1', 'h2')
################
################
+------+------+
| 'h1' | 'h2' |
+======+======+
+------+------+
| 'h1' | 'h2' |
+======+======+
################
+------+------+
| 'h1' | 'h2' |
+======+======+
+------+------+
| 'h1' | 'h2' |
+======+======+

Reply to this email directly or view it on GitHub:
https://github.com/alimanfoo/petl/issues/1

--
Alistair Miles
Head of Epidemiological Informatics
Centre for Genomics and Global Health http://cggh.org
The Wellcome Trust Centre for Human Genetics
Roosevelt Drive
Oxford
OX3 7BN
United Kingdom
Web: http://purl.org/net/aliman
Email<EMAIL_ADDRESS>Tel: +44 (0)1865 287538

Hi zigen,
I have reproduced your bug, it's due to the second file being completely empty. If you add a row of data to the second file, you should get the expected result.
This is a genuine bug - complement (via diff) is not correctly handling tables with no data rows, I'll add this to the list for petl 0.8.
Cheers,
Alistair

Hi Alistair - sounds good.
Also I found that diff uses uniq lines only, so duplicate lines will get missed.  Depending on the user, duplicate lines maybe important.  So using the same code as above ......
$ cat list1
h1,h2
test1,hello1
test2,hello2
$ cat list2
h1,h2
test1,hello1
test2,hello2
test2,hello2
$ diff list1 list2
3a4

test2,hello2

#######
$ ./test.py
file 1
('h1', 'h2')
('test1', 'hello1')
('test2', 'hello2')
file 2
('h1', 'h2')
('test1', 'hello1')
('test2', 'hello2')
('test2', 'hello2')
################
################
+------+------+
| 'h1' | 'h2' |
+======+======+
+------+------+
| 'h1' | 'h2' |
+======+======+
################
+------+------+
| 'h1' | 'h2' |
+======+======+
+------+------+
| 'h1' | 'h2' |
+======+======+

So in the above comment, I would again assume that the duplicate 'test2, hello2' would be "added".

Thanks zigen, I hadn't thought about this. I'll look into it for 0.8.
Cheers,
Alistair
On Mon, Mar 05, 2012 at 06:20:11PM -0800, zigen wrote:

So in the above comment, I would again assume that the duplicate 'test2, hello2' would be "added".

Reply to this email directly or view it on GitHub:
https://github.com/alimanfoo/petl/issues/1#issuecomment-4336658

--
Alistair Miles
Head of Epidemiological Informatics
Centre for Genomics and Global Health http://cggh.org
The Wellcome Trust Centre for Human Genetics
Roosevelt Drive
Oxford
OX3 7BN
United Kingdom
Web: http://purl.org/net/aliman
Email<EMAIL_ADDRESS>Tel: +44 (0)1865 287538

Splitting the duplicate rows into https://github.com/alimanfoo/petl/issues/2

Fixed in 618c84c..40f3ed9

Fix included in release 0.8, see http://packages.python.org/petl/0.8/index.html and http://groups.google.com/group/python-etl/browse_thread/thread/c029220297a45eb5


Clicking "Next" on Discover doesn't scroll you up to the top of the content

Describe the bug
Clicking "next" on the discover page leaves you hanging at the bottom of the page instead of scrolling you up to the top of the next page of content.
I think this is similar to https://github.com/opencollective/opencollective/issues/1647
To Reproduce
Steps to reproduce the behavior:

Go to https://opencollective.com/discover
Scroll to the bottom of the page
Click on "Next" button
See that you are still at the bottom of the page, even though the new content has loaded

Expected behavior
I expected to be returned to the top of the page.
Desktop (please complete the following information):

OS: mac
Browser: chrome
Version: 79.0.3945.88

@lencioni thanks for reporting this! It will be fixed by our next deployment (probably today or tomorrow).


ActiveModel::MissingAtrributeError can't write unknown attribute 'updated_at'

Hello!
I'm getting this ActiveModel::MissingAttributeError when I try to create an object that has paper_trail on the model. A little background, I'm attempting to create the record through nested attributes on an associated model. I even added ignore: [:updated_at] when I set up has_paper_trail in the model, but I get the same error.
When I remove the has_paper_trail line in the model, it creates the record no problem, so I'm pretty sure its an issue with the way i have paper_trail set up.

Did you solve your issue?

I upgraded to 3.0.6 and it doesnt seem to be an issue anymore, but I'm going to keep an eye on it.

Great, yes, 3.0.6 contains a fix for the ignore option when the gem is used with ActiveRecord 4

fantastic, thank you!


[Feature Request] beartype.claw + beartype.BeartypeConf.warning_cls_on_decorator_exception = WIN!

# dada.py

import datetime

def print_date(x: datetime):
    print(x.date())

# dodo.py

import beartype.claw
beartype.claw.beartype_packages(["dada"])

from dada import print_date
from datetime import datetime

print_date(datetime(2023, 1, 1, 1, 1, 1))

we get
/opt/conda/lib/python3.10/site-packages/beartype/_decor/decorcore.py:414: BeartypeClawDecorWarning: Function dada.print_date() in file "/projects/open_source/test_beartype/dada.py" line 5:
function dada.print_date() parameter "x" type hint <module 'datetime' from '/opt/conda/lib/python3.10/datetime.py'> either PEP-noncompliant or currently unsupported by @beartype.
  warn(warning_message, warning_category)

I would like that my fellow devs don't make the mistake of using a module as a type hint (sadly it happened a few times, I'd like to avoid that in the future). But simply making the test suite crash by turning a warning into a an error didn't work because BeartypeClawDecorWarning can happen for some more situations, like when it decorates a non-python function.
Either we can turn this into a specific warning or we can turn this into a specific exception.
EDIT:
I would also like to convert BeartypeDecorHintPep585DeprecationWarning into an error but I suspect the claw api is converting it in a way that makes it impossible to filter. pytest -W error::beartype.roar.BeartypeDecorHintPep585DeprecationWarning doesn't seem to crash but the warnings are still printed on the terminal

Hah, hah... hah. I actually did something right. A month or two ago (...it's all a blur, frankly), I quietly added a new mostly undocumented beartype.BeartypeConf.warning_cls_on_decorator_exception parameter doing exactly what you want. Rejoice, Gabriel!
Of course, I never actually tested it. Turns out... it was broke af. But it's not anymore. It now works and I have now tested it. You can achieve all of your life's goals and more by setting this parameter as follows after installing our latest life-altering commit 163861489c786b5a3dad240cb84bce947600492a:
from beartype import beartype, BeartypeConf
from beartype.claw import packages

beartype_packages(["dada"], conf=BeartypeConf(warning_cls_on_decorator_exception=None))
...

That's it. The official docstring for the warning_cls_on_decorator_exception parameter reads as follows:
        warning_cls_on_decorator_exception : Optional[TypeWarning]
            Configuration parameter governing whether the
            :func:`beartype.beartype` decorator reduces what would otherwise be
            fatal exceptions raised at decoration time to equivalent non-fatal
            warnings of the passed **warning category** (i.e., subclass of the
            standard :class:`Warning` class). Specifically, this parameter may
            be either:

            * :data:`None`, in which case the :func:`beartype.beartype`
              decorator raises fatal exceptions at decoration time.
            * A warning category, in which case the :func:`beartype.beartype`
              decorator reduces fatal exceptions to non-fatal warnings of this
              category at decoration time.

            Defaults to a private warning type *not* intended to be passed by
            callers, enabling :mod:`beartype` to internally detect whether the
            caller has *not* explicitly passed this parameter and respond
            accordingly by defaulting this parameter to a context-dependent
            value. Notably, if this parameter is *not* explicitly passed:

            * The :func:`beartype.beartype` decorator defaults this parameter to
              :data:`None`, thus raising decoration-time exceptions.
            * The :mod:`beartype.claw` API defaults this parameter to the public
              :class:`beartype.roar.BeartypeClawDecorWarning` warning category,
              thus reducing decoration-time exceptions to warnings of that
              category when performing import hooks. This default behaviour
              significantly increases the likelihood that import hooks installed
              by :mod:`beartype.claw` will successfully decorate the entirety of
              their target packages rather than prematurely halt with a single
              fatal exception at the first decoration issue.

Lastly, note that this is a general-purpose parameter supported everywhere by @beartype – including outside of the beartype.claw API. That said...

BeartypeClawDecorWarning can happen for some more situations, like when it decorates a non-python function.

Gah! Really? That's definitely yet another heinous bug you have uncovered. beartype.claw should only ever decorate pure-Python callables. beartype.claw should never attempt to decorate C-based callables. If that's happening, that's bad.
Would you mind opening up yet another issue with a minimal reproducible example (MRE) I can idly hack on this weekend? If so, thanks so much! If not... it's still "thanks so much!" Let's all rest easy this weekend and play video games.

I would also like to convert BeartypeDecorHintPep585DeprecationWarning into an error but I suspect the claw api is converting it in a way that makes it impossible to filter. pytest -W error::beartype.roar.BeartypeDecorHintPep585DeprecationWarning doesn't seem to crash but the warnings are still printed on the terminal

...heh. This is almost certainly CPython's fault, sadly. Blame Guido. For unknown (and honestly indefensible reasons), Python treats DeprecationWarning as this special class of warning that Python silently filters out and throws away by default. Getting Python to actually emit deprecation warnings is non-trivial.
The best and simplest approach is usually to enable the Python Development Mode (PDM). To do so, either:

Export the PYTHONDEVMODE=1 shell environment variable (e.g., export PYTHONDEVMODE=1).
Pass the -X command-line option to Python (e.g., python3 -X muh_hot_app.py).

Enabling PDM does a metric ton of useful stuff, including disabling Python's nonsensical filter on deprecation warnings. From commentary embedded in our tox.ini configuration:
    # Enable the Python Development Mode (PDM), which:
    #     "Introduces additional runtime checks that are too expensive to be
    #     enabled by default. It should not be more verbose than the default if
    #     the code is correct; new warnings are only emitted when an issue is
    #     detected."
    # Specifically, the PDM enables:
    # * "-W default", emitting warnings ignored by default. Yes, Python
    #   insanely ignores various categories of warnings by default -- including
    #   deprecating warnings, which *ABSOLUTELY* should be emitted by default,
    #   but aren't. We can't resolve that for end users but we can resolve that
    #   for ourselves.
    # * "PYTHONMALLOC=debug", registering memory allocators hooks detecting
    #   unsafe call stack, memory, and GIL violations.
    # * "PYTHONFAULTHANDLER=1", registering fault handlers emitting Python
    #   tracebacks on segmentation faults.
    # * "PYTHONASYNCIODEBUG=1", enabling asyncio debug mode logging unawaited
    #   coroutines.
    # * Detections for unsafe string encoding and decoding operations.
    # * Logging io.IOBase.close() exceptions on object finalization.
    # * Enabling the "dev_mode" attribute of "sys.flags".
    # See also:
    #     https://docs.python.org/3/library/devmode.html

Given the above commentary, I suspect you might also be able to get what you want by passing the -W default command-line option to Python (e.g., python -W default muh_hot_app.py).
EDIT: Oh, wait. Right.  Fascinating and horrifying. I'm unsurprised. Again, this is almost certainly CPython's default warning filter at work.  StackOverflow is probably your friend here. I sigh. :face_exhaling:
Thanks again for your sterling commitment to bettering Python. You make this world a better place for us all, @gabrieldemarmiesse. :star_struck:

Here is a small example:
# trying_stuff_module.py

from typing import List

def get_websites() -> List[str]:
    return ["dodo", "dudu"]

# trying_stuff_main.py

import beartype.claw
beartype.claw.beartype_packages(["trying_stuff_module"])

from trying_stuff_module import get_websites

def test_get_websites():
    print(get_websites())

I am trying to make pytest crash because of the deprecated usage of typing.List.
First try:
pytest -v ./trying_stuff_main.py
=========================================================== test session starts ============================================================
platform linux -- Python 3.10.10, pytest-7.3.1, pluggy-1.0.0 -- /opt/conda/bin/python
cachedir: .pytest_cache
Test order randomisation NOT enabled. Enable with --random-order or --random-order-bucket=<bucket_type>
rootdir: /projects/open_source/test_beartype
plugins: typeguard-4.0.0, requests-mock-1.9.3, pycharm-0.7.0, forked-1.6.0, random-order-1.0.4, mockito-0.0.4, cov-3.0.0, anyio-3.6.2, mock-3.2.0, flaky-3.7.0, celery-0.0.0, asyncio-0.21.0, xdist-1.34.0, env-0.8.1
asyncio: mode=strict
collected 1 item

trying_stuff_main.py::test_get_websites PASSED                                                                                [100%]

============================================================= warnings summary =============================================================
../beartype/beartype/_util/hint/pep/utilpeptest.py:311
  /projects/open_source/beartype/beartype/_util/hint/pep/utilpeptest.py:311: BeartypeDecorHintPep585DeprecationWarning: PEP 484 type hint typing.List[str] deprecated by PEP 585. This hint is scheduled for removal in the first Python version released after October 5th, 2025. To resolve this, import this hint from "beartype.typing" rather than "typing". For further commentary and alternatives, see also:
      https://beartype.readthedocs.io/en/latest/api_roar/#pep-585-deprecations
    warn(

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
======================================================= 1 passed, 1 warning in 0.15s =======================================================

Second try with simple -W
pytest -v -W error::beartype.roar.BeartypeDecorHintPep585DeprecationWarning ./trying_stuff_main.
py
=========================================================== test session starts ============================================================
platform linux -- Python 3.10.10, pytest-7.3.1, pluggy-1.0.0 -- /opt/conda/bin/python
cachedir: .pytest_cache
Test order randomisation NOT enabled. Enable with --random-order or --random-order-bucket=<bucket_type>
rootdir: /projects/open_source/test_beartype
plugins: typeguard-4.0.0, requests-mock-1.9.3, pycharm-0.7.0, forked-1.6.0, random-order-1.0.4, mockito-0.0.4, cov-3.0.0, anyio-3.6.2, mock-3.2.0, flaky-3.7.0, celery-0.0.0, asyncio-0.21.0, xdist-1.34.0, env-0.8.1
asyncio: mode=strict
collected 1 item

trying_stuff_main.py::test_get_websites PASSED                                                                                [100%]

============================================================= warnings summary =============================================================
../beartype/beartype/_decor/decorcore.py:414
  /projects/open_source/beartype/beartype/_decor/decorcore.py:414: BeartypeClawDecorWarning: Function trying_stuff_module.get_websites() in file "/projects/open_source/test_beartype/trying_stuff_module.py" line 6:
  Traceback (most recent call last):
        File "/projects/open_source/beartype/beartype/_decor/decorcore.py", line 367, in _beartype_object_nonfatal
          return _beartype_object_fatal(obj, conf, **kwargs)
        File "/projects/open_source/beartype/beartype/_decor/decorcore.py", line 286, in _beartype_object_fatal
          return beartype_func(  # type: ignore[return-value]
        File "/projects/open_source/beartype/beartype/_decor/_decormore.py", line 110, in beartype_func
          func_wrapper_code = generate_code(bear_call)
        File "/projects/open_source/beartype/beartype/_decor/_wrap/wrapmain.py", line 185, in generate_code
          code_check_return = _code_check_return(bear_call)
        File "/projects/open_source/beartype/beartype/_decor/_wrap/wrapmain.py", line 667, in _code_check_return
          reraise_exception_placeholder(
        File "/projects/open_source/beartype/beartype/_util/error/utilerror.py", line 212, in reraise_exception_placeholder
          raise exception.with_traceback(exception.__traceback__)
        File "/projects/open_source/beartype/beartype/_decor/_wrap/wrapmain.py", line 616, in _code_check_return
          ) = make_func_wrapper_code(hint_sane, bear_call.conf, cls_stack)  # type: ignore[assignment]
        File "/projects/open_source/beartype/beartype/_util/cache/utilcachecall.py", line 278, in _callable_cached
          raise exception
        File "/projects/open_source/beartype/beartype/_util/cache/utilcachecall.py", line 270, in _callable_cached
          return_value = args_flat_to_return_value[args_flat] = func(
        File "/projects/open_source/beartype/beartype/_decor/_wrap/_wrapcode.py", line 86, in make_func_wrapper_code
          ) = make_check_expr(hint, conf, cls_stack)
        File "/projects/open_source/beartype/beartype/_util/cache/utilcachecall.py", line 278, in _callable_cached
          raise exception
        File "/projects/open_source/beartype/beartype/_util/cache/utilcachecall.py", line 270, in _callable_cached
          return_value = args_flat_to_return_value[args_flat] = func(
        File "/projects/open_source/beartype/beartype/_check/code/codemake.py", line 727, in make_check_expr
          warn_if_hint_pep_deprecated(
        File "/projects/open_source/beartype/beartype/_util/hint/pep/utilpeptest.py", line 311, in warn_if_hint_pep_deprecated
          warn(
      beartype.roar.BeartypeDecorHintPep585DeprecationWarning: PEP 484 type hint typing.List[str] deprecated by PEP 585. This hint is scheduled for removal in the first Python version released after October 5th, 2025. To resolve this, import this hint from "beartype.typing" rather than "typing". For further commentary and alternatives, see also:
          https://beartype.readthedocs.io/en/latest/api_roar/#pep-585-deprecations

    warn(warning_message, warning_category)

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
======================================================= 1 passed, 1 warning in 0.04s =======================================================

It's better, but it's still a warning.
Third attempt with special conf
pytest -v -W error::beartype.roar.BeartypeDecorHintPep585DeprecationWarning ./trying_stuff_main.py
=========================================================== test session starts ============================================================
platform linux -- Python 3.10.10, pytest-7.3.1, pluggy-1.0.0 -- /opt/conda/bin/python
cachedir: .pytest_cache
Test order randomisation NOT enabled. Enable with --random-order or --random-order-bucket=<bucket_type>
rootdir: /projects/open_source/test_beartype
plugins: typeguard-4.0.0, requests-mock-1.9.3, pycharm-0.7.0, forked-1.6.0, random-order-1.0.4, mockito-0.0.4, cov-3.0.0, anyio-3.6.2, mock-3.2.0, flaky-3.7.0, celery-0.0.0, asyncio-0.21.0, xdist-1.34.0, env-0.8.1
asyncio: mode=strict
collected 0 items / 1 error

================================================================== ERRORS ==================================================================
__________________________________________________ ERROR collecting trying_stuff_main.py ___________________________________________________
trying_stuff_main.py:11: in <module>
    from trying_stuff_module import get_websites
trying_stuff_module.py:6: in <module>
    def get_websites() -> List[str]:
../beartype/beartype/_decor/_cache/cachedecor.py:130: in beartype_confed
    return beartype_object(obj, conf)
../beartype/beartype/_decor/decorcore.py:95: in beartype_object
    _beartype_object_fatal(obj, conf, **kwargs)
../beartype/beartype/_decor/decorcore.py:286: in _beartype_object_fatal
    return beartype_func(  # type: ignore[return-value]
../beartype/beartype/_decor/_decormore.py:110: in beartype_func
    func_wrapper_code = generate_code(bear_call)
../beartype/beartype/_decor/_wrap/wrapmain.py:185: in generate_code
    code_check_return = _code_check_return(bear_call)
../beartype/beartype/_decor/_wrap/wrapmain.py:667: in _code_check_return
    reraise_exception_placeholder(
../beartype/beartype/_util/error/utilerror.py:212: in reraise_exception_placeholder
    raise exception.with_traceback(exception.__traceback__)
../beartype/beartype/_decor/_wrap/wrapmain.py:616: in _code_check_return
    ) = make_func_wrapper_code(hint_sane, bear_call.conf, cls_stack)  # type: ignore[assignment]
../beartype/beartype/_util/cache/utilcachecall.py:278: in _callable_cached
    raise exception
../beartype/beartype/_util/cache/utilcachecall.py:270: in _callable_cached
    return_value = args_flat_to_return_value[args_flat] = func(
../beartype/beartype/_decor/_wrap/_wrapcode.py:86: in make_func_wrapper_code
    ) = make_check_expr(hint, conf, cls_stack)
../beartype/beartype/_util/cache/utilcachecall.py:278: in _callable_cached
    raise exception
../beartype/beartype/_util/cache/utilcachecall.py:270: in _callable_cached
    return_value = args_flat_to_return_value[args_flat] = func(
../beartype/beartype/_check/code/codemake.py:727: in make_check_expr
    warn_if_hint_pep_deprecated(
../beartype/beartype/_util/hint/pep/utilpeptest.py:311: in warn_if_hint_pep_deprecated
    warn(
E   beartype.roar.BeartypeDecorHintPep585DeprecationWarning: PEP 484 type hint typing.List[str] deprecated by PEP 585. This hint is scheduled for removal in the first Python version released after October 5th, 2025. To resolve this, import this hint from "beartype.typing" rather than "typing". For further commentary and alternatives, see also:
E       https://beartype.readthedocs.io/en/latest/api_roar/#pep-585-deprecations
========================================================= short test summary info ==========================================================
ERROR trying_stuff_main.py - beartype.roar.BeartypeDecorHintPep585DeprecationWarning: PEP 484 type hint typing.List[str] deprecated by PEP 585. This hint is schedul...
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
============================================================= 1 error in 0.15s =============================================================

This time it works. So it's all good. For my use case, I still can't use the beartype.claw.beartype_packages(["trying_stuff_module"], conf=BeartypeConf(warning_cls_on_decorator_exception=None)) because we use pydantic 1.x and it cashes immediatly, but when we switch to pydantic 2 we'll be able to use it.

we use pydantic 1.x and it cashes immediatly

:sob:
So sorry about that, @gabrieldemarmiesse. I have no doubt that the Pydantic 1 → 2 migration is non-trivial. I'd put that off as long as possible, too. I still can't believe they rewrote the entirety of Pydantic in Rust. What a fundamentally odd thing to do, you know? If they didn't like Cython, Nuitka exists; if I was the Pydantic guy, I would have just internally refactored Pydantic to leverage Nuitka rather than Cython. I did not have Pydantic going Rust on a bingo card for 2023.
Unrelatedly... OHGODS. Your PEP 585 deprecation pain is all my fault. As confusingly mentioned over here:

Specifically, would you mind trying the following as a temporary issue resolution on your end?

Replace beartype.roar.BeartypeDecorHintPep585DeprecationWarning with beartype.roar._roarwarn.BeartypeDecorHintPep585DeprecationWarning. The former is only a "fake" name for that warning; the latter is the actual fully-qualified name of that warning. If you specify the latter rather than the former, it's likely that https://github.com/beartype will begin working as you expect.

I can confirm that actually works. Specifically:
$ pytest -v -W error::beartype.roar._roarwarn.BeartypeDecorHintPep585DeprecationWarning ./run_dodo.py
===================================================== test session starts =====================================================
platform linux -- Python 3.11.4, pytest-7.3.2, pluggy-1.0.0 -- /usr/bin/python3.11
cachedir: .pytest_cache
rootdir: /home/leycec/tmp/bear/hook
plugins: typeguard-4.0.0, pkgcore-0.12.21, cov-4.0.0, asyncio-0.21.0, timeout-2.1.0, anyio-3.7.0, forked-1.6.0
asyncio: mode=Mode.STRICT
collected 1 item

run_dodo.py::test_get_websites PASSED                                                                                [100%]

====================================================== warnings summary =======================================================
../../../py/beartype/beartype/_decor/decorcore.py:440
  /home/leycec/py/beartype/beartype/_decor/decorcore.py:440: BeartypeClawDecorWarning: Function dodo.dodo.get_websites() in file "/home/leycec/tmp/bear/hook/dodo/dodo.py" line 6:
  Traceback (most recent call last):
        File "/home/leycec/py/beartype/beartype/_decor/decorcore.py", line 393, in _beartype_object_nonfatal
          return _beartype_object_fatal(obj, conf, **kwargs)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/home/leycec/py/beartype/beartype/_decor/decorcore.py", line 312, in _beartype_object_fatal
          return beartype_func(  # type: ignore[return-value]
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/home/leycec/py/beartype/beartype/_decor/_decormore.py", line 110, in beartype_func
          func_wrapper_code = generate_code(bear_call)
                              ^^^^^^^^^^^^^^^^^^^^^^^^
        File "/home/leycec/py/beartype/beartype/_decor/_wrap/wrapmain.py", line 185, in generate_code
          code_check_return = _code_check_return(bear_call)
                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/home/leycec/py/beartype/beartype/_decor/_wrap/wrapmain.py", line 667, in _code_check_return
          reraise_exception_placeholder(
        File "/home/leycec/py/beartype/beartype/_util/error/utilerror.py", line 212, in reraise_exception_placeholder
          raise exception.with_traceback(exception.__traceback__)
        File "/home/leycec/py/beartype/beartype/_decor/_wrap/wrapmain.py", line 616, in _code_check_return
          ) = make_func_wrapper_code(hint_sane, bear_call.conf, cls_stack)  # type: ignore[assignment]
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/home/leycec/py/beartype/beartype/_util/cache/utilcachecall.py", line 278, in _callable_cached
          raise exception
        File "/home/leycec/py/beartype/beartype/_util/cache/utilcachecall.py", line 270, in _callable_cached
          return_value = args_flat_to_return_value[args_flat] = func(
                                                                ^^^^^
        File "/home/leycec/py/beartype/beartype/_decor/_wrap/_wrapcode.py", line 86, in make_func_wrapper_code
          ) = make_check_expr(hint, conf, cls_stack)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/home/leycec/py/beartype/beartype/_util/cache/utilcachecall.py", line 278, in _callable_cached
          raise exception
        File "/home/leycec/py/beartype/beartype/_util/cache/utilcachecall.py", line 270, in _callable_cached
          return_value = args_flat_to_return_value[args_flat] = func(
                                                                ^^^^^
        File "/home/leycec/py/beartype/beartype/_check/code/codemake.py", line 727, in make_check_expr
          warn_if_hint_pep_deprecated(
        File "/home/leycec/py/beartype/beartype/_util/hint/pep/utilpeptest.py", line 311, in warn_if_hint_pep_deprecated
          warn(
      beartype.roar.BeartypeDecorHintPep585DeprecationWarning: PEP 484 type hint typing.List[str] deprecated by PEP 585. This hint is scheduled for removal in the first Python version released after October 5th, 2025. To resolve this, import this hint from "beartype.typing" rather than "typing". For further commentary and alternatives, see also:
          https://beartype.readthedocs.io/en/latest/api_roar/#pep-585-deprecations

    warn(warning_message, warning_category)

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
================================================ 1 passed, 1 warning in 0.29s ==========================================

Let's open a new feature request, because this has become appalling. Also, even though I just said that you should violate privacy encapsulation by referencing our private beartype.roar._roarwarn submodule, please try not doing that. I'm immediately moving that private submodule to a more public location so that you and your awesome team can safely reference warnings going forward.
As always, thank you for highlighting my ineptitude. Destroying my fragile ego surely makes the world better.

Just letting you know that we have now beartype.claw in our CI and it caught the first type issue in a PR less than 24h after 🎉

Wowza. Our unstable API that is the Python equivalent of the incomplete Death Star is now man-hunting rampant typing bugs out in the wild. You get 'em, @beartype!
Relatedly, the @beartype legal team (which consists of our cats) now suggests that @leycec should not be held responsible for unforeseen code explosions that may occur in your precious CI pipelines. He does apologize, however. Is it hot in here or is it just me? :hot_face:


minor: format table result vec & remove some unnecessary semicolons

Which issue does this PR close?

Closes #.
Rationale for this change

As a follow up pr of #2413 , and remove some unnecessary semicolons like
...
        if states.is_empty() {
            return Ok(());
        };    // we can remove this semicolon for code clean
...

What changes are included in this PR?

No.
Are there any user-facing changes?

No.

I'm curious why rustfmt isn't finding the semicolons...

In Rust ; is not meaningless, a block that returns a value no longer has a value after adding ;.
I think rustfmt only knows rust syntax, so this would be more something for rustc/clippy I think. Not sure why the existing lints don´t catch it.


[Automation] OS console log capture

There is a need for the host console output data captured during tests.
Basically we would need to just run “obmc-console-client” in ssh session and all the hostboot/opal debug data goes to it.

The code will be added as part of the utils.. so that we can use it in test case and FFDC framework as well


BTCPay server integration

Placeholder issue for the community dev team investigation of Terracoin integration into BTCPay Server.
If it works we'll submit a PR for https://github.com/btcpayserver/btcpayserver/issues/340

this will be super easy I'll build a pull request this weekend.
https://github.com/btcpayserver/btcpayserver/commit/a3ae694048a44833c8aabee3078c075bbcb9085a#diff-7b6126e19be93fc1825a8cf83cb40573

though we MIGHT need to be on bittrex first

looks like coinexchange might work too

NVM just found an example for cryptopia

this will be super easy I'll build a pull request this weekend.
btcpayserver/btcpayserver@a3ae694#diff-7b6126e19be93fc1825a8cf83cb40573

It will? You will?
Are the other comments in the correct issue?

yes and I just did it, I can't compile to test it but I'm sure it's fine if you want to test it
https://github.com/TheSin-/btcpayserver

If you test it and it's fine I'll make a PR upstream to have it added officially

NBitcoin is accepted, working on NBXplorer now.

hey bro,
What ist Nbitcoin , what can i doing with my TRC ?
Am Do., 27. Feb. 2020 um 23:30 Uhr schrieb Justin F. Hallett <
<EMAIL_ADDRESS>
NBitcoin is accepted, working on NBXplorer now.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/terracoin/terracoin/issues/34?email_source=notifications&email_token=AGYQ5K6U7ZLNQENACYP53ZTRFA5IHA5CNFSM4F4QK6G2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENGGZXY#issuecomment-592211167,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGYQ5K3NLSBLYZ4OD4F5OJLRFA5IHANCNFSM4F4QK6GQ
.

--
Inh. Nguyen The Anh

KING OF SUSHI*
Karl-Marx-Straße 73

    54290 Trier*

Tel. 0651 42 470
Mobile. 0170 23 172 12

https://github.com/MetacoSA/NBitcoin

NBitcoin is accepted, working on NBXplorer now.

Very cool, @TheSin-

Broken


ScansAPI Details Filter Parameters

Currently unable to provide a filter when requesting the details for a scan. Please allow for a filter to be passed and appended to the get parameters when retrieving a scan's details via the ScansAPI details def.

@thathaneydude are you referring to the wrapper for this call? https://cloud.tenable.com/api#/resources/scans/details
It doesn't seem to support a filter according to the API docs. Please let me know if you have more details on this.

In the UI, under "advanced" it gives you filtering options. If you watch the request you'll notice those filters being appended to the get params. For example:
https://cloud.tenable.com/scans/27?filter.0.quality=eq&filter.0.filter=severity&filter.0.value=4&filter.search_type=and
That will filter scan 27 with only critical vulnerabilities. But you're correct, it doesn't look like that's been documented.


Replaced Examples Folder label for How Tos

Description of change

Replaced Examples Folder label for How Tos
Added links

Type of change

Enhancement (a non-breaking change which adds functionality)
Documentation Fix

How the change has been tested
Wiki was built locally
Change checklist

[x] I have followed the contribution guidelines for this project
[x] I have made corresponding changes to the documentation

@Dr-Electron  could you take a look whenever you have a minute?


No argument parsing in preprocess_birdclef.py

So
$ python preprocess_birdclef.py --xml_dir=<path-to-xml-dir> \
                                --wav_dir=<path-to-wav-dir> \
                                --output_dir=<path-to-output-dir>

still use hardcoded path...

Thank you for raising these issues. It may be that the documentation is not up to date and that you should use
''' python
create_dataset.py
'''
instead. I am out traveling right now and cannot look much deeper into these issues right now. I should take the time to clean the repo and test all scripts when I get home.

The problem was that the code was not up to date. I had forgotten to push my last work. The issue should now be resolved.


Where are the Ruby communities and enthusiasts?

As we move towards the launch of the new version of Exercism we are going to be ramping up on actively recruiting people to help provide feedback.
Our goal is to get to 100%: everyone who submits a solution and wants feedback should get feedback. Good feedback. You can read more about this aspect of the new site here: http://mentoring.exercism.io/
To do this, we're going to need a lot more information about where we can find language enthusiasts.

Is Ruby supported by one or more large organizations?
Does Ruby have an official community manager?
Do you know of specific communities (online or offline) that are enthusiastic about Ruby? (Chat communities, forums, meetups, student clubs, etc)
Are there popular conferences for Ruby? (If so, what are some examples?)
Are there any organizations who are targeted specifically at getting certain subgroups or demographics interested in Ruby? (e.g. kids, teenagers, career changers, people belonging to various groups that are typically underrepresented in tech?)
Are there specific groups or programs dedicated to mentoring people in Ruby?
Are there popular newsletters for Ruby?
Is Ruby taught at programming bootcamps? (If so, what are some examples?)
Is Ruby taught at universities? (If so, what are some examples?)

In other words: where do people care a lot and/or know a lot about Ruby?
This is part of the project being tracked in https://github.com/exercism/meta/issues/103

It's not official, but https://www.rubyonrails.link/ is the biggest ruby community group I'm aware of.

GoRails has a quite lively Slack community, with Rails and Ruby devs.
In the Netherlands there is a Ruby Slack community with a Meetup Group
Euroku 2018 is coming up in Vienna, Austria in August, and is organised by members of a Ruby Vienna group.

Do you know of specific communities (online or offline) that are enthusiastic about Ruby?
Ruby Together
Columbus Ruby Brigade
Portland Ruby Brigade
Chicago Ruby
Are there any organizations who are targeted specifically at getting certain subgroups or demographics interested in Ruby?
Rails Girls
Are there popular newsletters for Ruby?
Ruby Rogues Podcast


bug export gles2 render model 3d pvrtc bug

**Godot version:**3.0 3.1. 3 3.2
target nvidia gt210
OS/device including version: android 5.0
I have many errors with the 3D renderings with Android pvrtc the models are stretched and move from here for there I have also tested in bluestack and it gives me the same error
Minimal reproduction project:
GLES2

2020-03-10 15-19-37.zip
video zip

@matiashak Please upload a minimal reproduction project to make this easier to troubleshoot.

wait

help me :c

@matiashak Sorry, but we can't help you if you don't upload a minimal reproduction project. We'll have to close this issue in 7 days otherwise.

Hm, I have a hunch that this issue is related to the 3D model asset itself, not the engine.
Couple questions:

What format is this 3D model in?
Can you open the 3D model in a 3D editor ( 3ds Max, Maya, Blender, etc ) and see if it exists there too?
Does the 3D model have animations embedded?

I'll close this issue as no minimal reproduction project was provided in time. This issue can be reopened if someone uploads a minimal reproduction project.


Resolve Warnings with Lists

Warning message was being fired throughout the app talking about the need for components rendered in a list to have a unique "key". Updated LinkTile and Code files so that all components rendered with a call to the map function have a defined "key" value. This resolved the warning messages.
Screenshot of Warning Message

Note that I'll be OOF on vacation monday - wednesday.  If you're blocked on checkin, feel free to loop in other RNW devs.


[JaegerExporter] ExporterConfig needs to be exported since it is API

Please answer these questions before submitting a bug report.
What version of OpenTelemetry are you using?
0.10.2
What version of Node are you using?
14.8.0
What did you do?
import { ExporterConfig } from '@opentelemetry/exporter-jaeger';
If possible, provide a recipe for reproducing the error.
import { ExporterConfig } from '@opentelemetry/exporter-jaeger';
What did you expect to see?
No errors
What did you see instead?
Module '"../node_modules/@opentelemetry/exporter-jaeger/build/src"' has no exported member 'ExporterConfig'.
Additional context
None
Add any other context about the problem here.
The JaegerExporter constructor requires the type ExporterConfig which is not exported from the module.  It should be exported since it is part of the API.

I would like to work on this, please assign to me


Create mdm-remotewipe-dowipepersistuserdatamethod.md

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

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


[excel] (Parameters) Add information about in-client parameterized scripts

This PR documents the upcoming feature of user-prompts for parameterized scripts. It works the existing documentation for Power Automate parameters and returns to account for this shared information.

@ElizabethSamuel-MSFT, any suggestions for how to make that image render smaller?

@ElizabethSamuel-MSFT, any suggestions for how to make that image render smaller?

@AlexJerabek You may need to actually resize it.


fix: header labels don't show up in archived repos

Brief Information
This pull request is in the type of (more info about types):

[ ] build
[ ] ci
[ ] docs
[ ] feat
[x] fix
[ ] perf
[ ] refactor
[ ] test

Related issues (all available keywords):

fix #770

Details

Checklist

[x] I have read the CONTRIBUTING doc
[x] I have signed the CLA

Others

Hello guys @HalloMelon @Tenth-crew @wangyantong2000, would you like to gh pr checkout 782 (install gh first) this PR branch and have a test in your machines? Welcome to your snapshots or recordings.


Connecting the joystick code with Arduino

This is the code for controlling the joystick.
:ballot_box_with_check: Definition of Done checklist

[x] Meaningful title and valuable description in pull request
[x] Code change tested manually if not covered by automated tests
[x] Pull request linked to one or more issues/stories
[ ] Acceptance criteria of the linked stories satisfied
[ ] Code change comprehended by those who approved it
[ ] State of target branch maintained or improved after the code change

OUTDATED CODE, DO NOT MERGE


better monitor matching between win32-display-data and gdk4.Display.monitors()

https://github.com/codyduong/hitokage/blob/c9646be4359db435bd5cdbe564e2b7b7e000a5f5/hitokage-lua/src/api/monitor.rs#L115-L120
yeah this doesn't seem stable? unless we can gurantee gdk4 displays enumerate in the same manner as win32-display-data?

Wait, no I wrote this write see here:
https://github.com/codyduong/hitokage/blob/c9646be4359db435bd5cdbe564e2b7b7e000a5f5/hitokage-core/src/lua/monitor.rs#L46-L50
Maybe it is possible this breaks in some edge-cases?


Download Complete notification Bugged

When the download is completed and there are other downloads running then download complete notification get bugged. Notification is reappearing after dismissed.
here is video to understand clearly

bro can u provide me source code beacuse m facing error

@iramgarhia what type of eeror you are facing ..? Please elaborate

@iramgarhia please provide sample code or a better example.

Are you using the default notification manager or a custom notification manager?

the default one

here is my configuration

final OkHttpClient client = new OkHttpClient.Builder().build();
        final Downloader customDownloader = new CustomDownloader(client);
        final FetchConfiguration fetchConfiguration = new FetchConfiguration.Builder(this)
                .enableRetryOnNetworkGain(true)
                .setDownloadConcurrentLimit(Integer.parseInt(sharedPreferences.getString("simultaneous_download","9")))
                .createDownloadFileOnEnqueue(true)
                .preAllocateFileOnCreation(true)
                .setNotificationManager(new DefaultFetchNotificationManager(this))
                .setProgressReportingInterval(1000)
                .setHttpDownloader(customDownloader)
                .build();

        fetch = Fetch.Impl.getInstance(fetchConfiguration);
        fetch.addListener(fetchListener);

@maulik9898 Working on a better notification manager. I will post back here soon.

@maulik9898  This issue is now fixed in new Fetch version 3.0.10/Androidx 3.1.4 . Note: Updates have been make to the default notification manger class. Please see changelog and sample app DownloadsListAcivity for an example.

@tonyofrancis  now working correctly


(Request) simple legit aa resolver

Can u make legit aa resolver with player options like dont resolve everyplayer we can choose

there's already an active issue for this that was literally just opened, please close this. Too much bloat

So you guys should make if people want that much

Nvm


Search field in sidebar not clickable/focusable while page explorer is open

Is your proposal related to a problem?
Once the page explorer from the side bar is open, you cannot click into the global search field. You first have to close the explorer (e.g. by clicking outside or on the "Pages" menu item):

(what you cannot see: after opening the explorer, I was trying to click into the search field)
Describe the solution you'd like
When you open the settings menu for example, you can still click into the search field, type something and search with "Enter".
I would expect the same for the page explorer.
In wagtail 2.15, clicking on the search field while the explorer is open, closes the explorer. An additional click into the field then focuses it.

@laymonage you're right, did not find it in my quick search :sweat_smile: thanks a lot!


Suggestion: Turn font settings into variables

Hey Saim,
thanks for sharing your template. Do you think it would make sense to turn the font settings into variables, for people who use the template outside the NTNU context?
I couldn't figure out how to change the font for the title and abstract. Main text can be overwritten globally.
Turning it into:
  font: "Charter",
  raw-font: "DejaVu Sans Mono",
  paper-size: "a4",

and:
  // Set text fonts and sizes
  set text(font: font, size: 11pt)
  show raw: set text(font: raw-font, size: 9pt)

Might make it easier for anyone trying to change the font settings?

Hm, feels a bit unconventional, as font choice is a large part of the template. But I don't see any problem with more customization, so I might add if I have time

I think changing the suggested 4 lines would already do the trick, because other settings like tracking, spacing, font features, etc., can easily be set on a per-document basis, since they aren't set in the nifty-ntnu-thesis function.
However, I couldn't figure out how to change the set text in the #show call yet. If there's an easy way that I'm just not aware of, there might be no need for my suggestion. If there isn't, simply wanting to change the font would currently make it necessary to duplicate the template (there probably is a way, maybe wrapping the `#show' call or something, but I don't know how).


[HOLD for Payment: 2023-12-21] HIGH: [$500] Inviting a member to a user created room does not add them until page is refreshed

Problem
Originally reported by @quinthar here
Reproduction steps:

Navigate to expensify.com/new/room
Invite a member (must be a new account and not someone who you have a personal detail for yet)
See that the member is not included in the list
Refresh the page
See that the member is included in the list

Why is this important?
Ideally the member would be displayed immediately.
Solution
@jasperhuangg I think maybe we need to add an optimistic personal detail for the user being added? Or something is wrong with the accountID logic in the front end. When we add a new member to a room we are using an optimistic accountID generated in the options. But we do not add optimistic personal details for them here. So this logic here is hit.
Confirmed with this log:

Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01b17b3e302b4beccb
Upwork Job ID:<PHONE_NUMBER>418981888
Last Price Increase: 2023-12-08
Automatic offers:

hoangzinh | Reviewer | 28027117
dukenv0307 | Contributor | 28027118

bump @hoangzinh 🙏

@hoangzinh any update?

Am I blind?  What is the PR for this?  Why is this issue still open if this was merged last week?

Lame! Will update today!

Payment summary:

Contributor: @dukenv0307 $500
Contributor+: @hoangzinh $500
Please apply!

paid! @hoangzinh can you propose Regression Test steps please?

Hmmm ... that's not right.

Created https://github.com/Expensify/Expensify/issues/356696 to update regression tests, closing this out


Few Edits from @dkaoster

Love how far this has come, and excited to see where it goes. Made a few grammatical edits and content changes in this PR. Happy to discuss any of them.
Grammatical updates

line 30: added 'The'
line 67: added 'at any scale'
line 73: changed 'between' to 'in-between'
line 77: added 'by'
line 100: added 'global'
line 104: changed 'digital' to 'modern'
line 117: removed extra space
line 138: changed 'democracy' to 'democratic elections'

Content updates

line 81: added a comment and a link about open source voting initiatives.
line 87 and 91: I'm not sure there's enough evidence that the votes in the 2016 election weren't physically hacked: All voting machines at defcon fell, many of them had default passwords still set for administration and a whole bunch of extremely basic vulnerabilities. Thus, I changed the language from saying the votes were "absolutely not hacked" to "unlikely to have been hacked".
line 146: identity verification is also going to be a challenge for this blockchain system in my opinion.

Excellent comments and contributions @dkaoster. I completely agree on decentralization of identity verification being key.. that's what we try to address on section 3. please feel free to contribute as much as you like!


Debug:
[C]: ?

Yes, This just means you're  not unlocked.


BUG: Staking page just shows a subset of staking keys

Describe the bug
On a server with 10+ keys there's only a subset of the keys displayed on the Staking page.
To Reproduce
Steps to reproduce the behavior:

Import 10+ keys
Restart Stereum Launcher
Open up Staking page
Only some of the keys show up

Expected behavior
All keys show up in the list.
Desktop (please complete the following information):

OS: MacOS
Launcher version 2.0-rc2

Node (please complete the following information):

OS: Ubuntu 22.04
Affected service: Stereum Launcher

i wasn't able to reproduce this so if you could provide ansible logs of the validator-list-api role, that would be awesome 😅

Hm, now it works... closing it for now.


⚠ Fortnite has degraded performance

In 491862d, Fortnite (https://fortnite.com) experienced degraded performance:

HTTP code: 200
Response time: 1521 ms

Resolved: Fortnite performance has improved in 6d0a8ac.


I can't launch spyder  from anaconda-navigator environment

Description of your problem
I upgraded many python packages using the Anaconda-Navigator Environment ,
which broke  spyder ( and also jupyterlab, which I don't use )
the GitHub python people suggested I roll back to a good version, but the command  apparently removed a lot of files it wasn't supposed too.  :-(.  finally, I have used "conda install" to get about 50 removed files back and Anaconda-Navigator will launch , but spyder will not!! I've done the spyder -- reset  several times.
What steps will reproduce the problem?

more history on Anaconda GitHub, issue # 7855 .

What is the expected output? What do you see instead?
I only get the crash reports traceback ( from the Terminal window ) and the jpg above.

CAM-Gerlach Edit: Pasted your traceback inline
fredericks-MBP:~ bravo$ spyder
Traceback (most recent call last):
File "/anaconda3/lib/python3.6/site-packages/spyder/app/mainwindow.py", line 3126, in main
mainwindow = run_spyder(app, options, args)
File "/anaconda3/lib/python3.6/site-packages/spyder/app/mainwindow.py", line 3023, in run_spyder
main.setup()
File "/anaconda3/lib/python3.6/site-packages/spyder/app/mainwindow.py", line 825, in setup
from spyder.plugins.console import Console
File "/anaconda3/lib/python3.6/site-packages/spyder/plugins/console.py", line 35, in
from spyder.widgets.internalshell import InternalShell
File "/anaconda3/lib/python3.6/site-packages/spyder/widgets/internalshell.py", line 27, in
from spyder.interpreter import Interpreter
File "/anaconda3/lib/python3.6/site-packages/spyder/interpreter.py", line 14, in
import ctypes
File "/anaconda3/lib/python3.6/ctypes/init.py", line 7, in
from _ctypes import Union, Structure, Array
ImportError: dlopen(/anaconda3/lib/python3.6/lib-dynload/_ctypes.cpython-36m-darwin.so, 2): Symbol not found: __PyUnicode_AsWideCharString
Referenced from: /anaconda3/lib/python3.6/lib-dynload/_ctypes.cpython-36m-darwin.so
Expected in: flat namespace
in /anaconda3/lib/python3.6/lib-dynload/_ctypes.cpython-36m-darwin.so
Please provide any additional information below
conda info.txt
conda list.txt
Versions and main components

Spyder Version: 3.2.6
Python Version:  3.6.4
Qt Version:
PyQt Version:
Anaconda-Navigator :   1.6.12
Operating system: Mac OS 10.13.2.

==========
I'm trying to begin a new online Udemy course on Neural Networks, and I have to have Python to begin.
I'm pretty new to all this.  But my system has been broken since Dec 19, so I'm not feeling optimistic about  this .
Dependencies
Please go to the menu entry Help > Optional Dependencies (or
Help > Dependencies), press the button Copy to clipboard
and paste the contents below:

@flwheeler2 Was this solved by the reinstall? If so or we don't hear from you after a few more days, this issue will be closed. Thanks!

I am doing a complete remove and install of anaconda.  Hopefully  the second time around to install the  data programs like XGBoost, TensorFlow,  Brew, and others will be easier if I have kept good notes.  my key learning is that I'm NOT using the Anaconda --> Environment page to update individual packages.
I really appreciate your time and information.   I have  saved your anaconda info from above.

Traceback (most recent call last):
File "/Users/dev/opt/anaconda3/bin/spyder", line 7, in
from spyder.app.start import main
File "/Users/dev/opt/anaconda3/lib/python3.7/site-packages/spyder/app/start.py", line 33, in
from spyder.config.base import (get_conf_path, running_in_mac_app,
File "/Users/dev/opt/anaconda3/lib/python3.7/site-packages/spyder/config/base.py", line 30, in
from spyder.utils import encoding
File "/Users/dev/opt/anaconda3/lib/python3.7/site-packages/spyder/utils/encoding.py", line 24, in
from atomicwrites import atomic_write
ModuleNotFoundError: No module named 'atomicwrites'
I am. having this

@debasistripathy1 That traceback is completely different from that originally reported here, sorry. In any case, the error is fairly clear if you are familiar with Python—Spyder can't find the atomicwrites module it requires installed. You can try installing it by running conda install atomicwrites in your base environment on the command line (you may need to type conda activate base first). However, this may be a symptom of a broken Anaconda installation since atomicwrites should be installed by default with Anaconda. If you still get problems, try creating a fresh Spyder environment with conda create -n spyder-env spyder=4 python=3.7 then activating it with conda activate spyder-env and finally running Spyder from it with spyder (or doing the last two steps with Anaconda navigator, if you prefer).

conda activate base gives this result
CommandNotFoundError: Your shell has not been properly configured to use 'conda activate'.
To initialize your shell, run
$ conda init <SHELL_NAME>

Currently supported shells are:

bash
fish
tcsh
xonsh
zsh
powershell

See 'conda init --help' for more information and options.
IMPORTANT: You may need to close and restart your shell after running 'conda init'.
Note: you may need to restart the kernel to use updated packages.
conda install atomicwirtes gives this result
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
PackagesNotFoundError: The following packages are not available from current channels:

atomicwirtes

Current channels:

https://repo.anaconda.com/pkgs/main/osx-64
https://repo.anaconda.com/pkgs/main/noarch
https://repo.anaconda.com/pkgs/r/osx-64
https://repo.anaconda.com/pkgs/r/noarch

To search for alternate channels that may provide the conda package you're
looking for, navigate to
https://anaconda.org

and use the search bar at the top of the page.
Note: you may need to restart the kernel to use updated packages.
and when I installed  conda create -n spyder-env spyder=4 python=3.7
it failed.

conda install atomicwirtes gives this result [...]

@debasistripathy1 Take care of the spelling: it is atomicwrites, not atomicwirtes.


nixos-unstable broken by missing pname attribute in vim-plugins

Issue description
root # nixos-rebuild switch --upgrade
unpacking channels...
building Nix...
building the system configuration...
error: attribute 'pname' missing, at /nix/var/nix/profiles/per-user/root/channels/nixos/pkgs/misc/vim-plugins/vim-utils.nix:258:41
(use '--show-trace' to show detailed location information)

Steps to reproduce
nixos-rebuild switch --upgrade
Technical details

system: "x86_64-linux"
host os: Linux 4.14.59, NixOS, 19.03pre162671.44b02b52ea6 (Koi)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.1.3
channels(root): "nixos-19.03pre164715.201d739b0ff"
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

I'm not entirely sure this is the same bug. What is your vim/neovim setup @8573?

do you use vim or neovim
which plugins are installed with which plugin manager (vam/vim-plug/pathogen/vim packages)

It would be best to just post the vim_configurable.configure or neovim.override expression in your configure.nix.

Hello, I have the same problem, and #53113 did not solve the problem.
It turns out that I was using pkgs.vimUtils.buildVimPluginFrom2Nix to define some custom vim plugins (which nixpkgs don't have). I did not define the pname attribute in those plugin's derivation, and at the same time https://github.com/timokau/nixpkgs/blob/d9d9ac989ab8a6bf9a89f951857fa83f45956baa/pkgs/misc/vim-plugins/vim-utils.nix#L172 tries to access the pname attribute.
Maybe you should not assume that pname is always in plugin derivation's attribute?

Can you give a minimal example with buildVimPluginsFrom2Nix to reproduce the failure?

Okay, should be fixed with #53121. Sorry for the breakage! Its hard to predict all the possible ways people may be using vim-utils.nix. We need more tests. I've added your example as a test to make sure this doesn't happen again.

What is your vim/neovim setup @8573? [...] It would be best to just post the vim_configurable.configure or neovim.override expression in your configure.nix.

https://github.com/8573/nixos-config/blob/54ea70cd9beb999c7d430dfd41207c5db8c381e4/modules/programs/vim/default.nix
I guess I share @sifmelcara's issue; thanks for (I hope) fixing it.