Weaker NETs for Levels

Thanks a lot for the networks.
I am currently working on multi-pv, once done I work on different skill levels (by limiting search depth per different skill levels)

Hi Amanj,
They are quite weak on their own, their grades assume that Zahak v0.2.1 was graded at 1824, as per my README.md
So limiting search depth may not be required, but that’s your call 😉
If they appear too weak or play silly moves, please feel free to go with your own instead, I will not be online for a while after my Op next Thursday.
Al.

Hi Amanj,
They are quite weak on their own, their grades assume that Zahak v0.2.1 was graded at 1824, as per my README.md
So limiting search depth may not be required, but that’s your call 😉
If they appear too weak or play silly moves, please feel free to go with your own instead, I will not be online for a while after my Op next Thursday.
Al.

All the best luck for you! I will see what I will do :)
Thanks again

Hello again,
I had to diverge from your branch in order to work on it, and incorporate it with the engine.
I added UCI option to specify Skill levels.
Here is the diverged branch: https://github.com/amanjpro/zahak/tree/Scally-NETs
I will wait for you to test it,  before merging it in

I played against Skills level 1, and it was a bad chess player (which is perfect), and level 6 was much more solid, but still not smart enough to come up with deep tactics (which is also good)
I'll give it more try too, and see where do I rank personally :)

Thanks for testing and incorporating them into your master 👍
Al

Thanks for testing and incorporating them into your master +1
Al

Thank you for your great work! Really appreciate it :)
I'll be getting myself a DGT board/Pi and start using Zahak on it (just like your setup)
I'll close this PR, as it is already merged in #191


nginix deployment on ghdata public server

I would like to have the nginix web server in front of the app on our GHData Server. I may be able to do this myself, once the docs are updated @howderek & @ChristianCme :)

I will take this one for now.


Cleanup an unused variable

Background
Cleanup an unused variable
--- stderr: mecanum_drive_controller
/workspaces/ros2_rolling_ws/src/ros2_controllers/mecanum_drive_controller/test/test_mecanum_drive_controller.cpp:37:14: warning: unused variable 'EPS' [-Wunused-const-variable]
   37 | const double EPS = 1e-3;

Instructions
Hi, this is a good-first-issue issue. This means we've worked to make it more legible to people who either haven't contributed to our codebase before, or even folks who haven't contributed to open source before.
We're interested in helping you take the first step, and can answer questions and help you out along the way. Note that we're especially interested in contributions from underrepresented groups!
We know that creating a pull request is the biggest barrier for new contributors. This issue is for you 💝
If you have contributed before, consider leaving this PR for someone new, and looking through our general bug issues. Thanks!
🤔 What you will need to know.
Nothing. This issue is meant to welcome you to Open Source :) We are happy to walk you through the process.
📋 Step by Step

[ ] 🙋 Claim this issue: Comment below. If someone else has claimed it, ask if they've opened a pull request already and if they're stuck -- maybe you can help them solve a problem or move it along!

[ ] 🗄 Create a local workspace for making your changes and testing following these instructions, for Step3 use "Download Source Code" section with these instructions.

[ ] 🍴 Fork the repository using the handy button at the top of the repository page and clone it into ~/ws_ros2_control/src/ros-controls/ros2_controllers, here is a guide that you can follow (You will have to remove or empty the existing ros2_controllers folder before cloning your own fork)

[ ] Checkout a new branch using git checkout -b <branch_name>

[ ] 🤖 Apply pre-commit auto formatting, by running pip3 install pre-commit and running pre-commit install in the ros2_control repo.

[ ] 💾 Commit and Push your changes

[ ] 🔀 Start a Pull Request to request to merge your code into master. There are two ways that you can start a pull request:

If you are not familiar with GitHub or how to create a pull request, here is a guide you can follow on how GitHub works.

[ ] 🏁 Done Ask in comments for a review :)

Is someone else already working on this?
🔗- We encourage contributors to link to the original issue in their pull request so all users can easily see if someone's already started on it.
👥- If someone seems stuck, offer them some help!
🤔❓ Questions?
Don’t hesitate to ask questions or to get help if you feel like you are getting stuck. For example leave a comment below!
Furthermore, you find helpful resources here:

ROS2 Control Contribution Guide
ROS2 Tutorials
Robotics Stack Exchange

Good luck with your first issue!

Hello ! I'd like to claim this issue.

There you go!


[Tables] Separation of internal and public tests into separate folders for min-max testing

Min-max dependency testing needs to be enabled on all packages and it works on public APIs.
The test/public folder should contain usage of ONLY the public exported APIs
Careful and manual code separaton of these tests need to be done
Example of folder separation PRs
https://github.com/Azure/azure-sdk-for-js/pull/12694
https://github.com/Azure/azure-sdk-for-js/pull/12798
#9442
Blog post - https://devblogs.microsoft.com/azure-sdk/testing-semver-dependency-ranges

Fixed in https://github.com/Azure/azure-sdk-for-js/pull/14956


flutter run always failed with weird different errors on different physical android devices for a fresh clean project

Environment
OS: Arch Linux
$ flutter doctor -v
[✓] Flutter (Channel master, v0.5.8-pre.98, on Linux, locale en_US.UTF-8)
    • Flutter version 0.5.8-pre.98 at /home/user/opt/flutter
    • Framework revision f0639bb022 (21 hours ago), 2018-07-20 09:21:41 +0200
    • Engine revision 482469bad8
    • Dart version 2.0.0-dev.68.0.flutter-937ee2e8ca

[✓] Android toolchain - develop for Android devices (Android SDK 27.0.3)
    • Android SDK at /home/user/Android/Sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-27, build-tools 27.0.3
    • ANDROID_HOME = /home/user/Android/Sdk
    • Java binary at: /opt/android-studio/jre/bin/java
    • Java version openjdk version "1.8.0_152-release"
    • All Android licenses accepted.

[✓] Android Studio (version 2.3)
    • Android Studio at /opt/android-studio
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version openjdk version "1.8.0_152-release"

$ flutter create myapp
$ cd myapp/

Mobile Letv X501 case
Android: 6.0
Frequency: 99.9999999999999999999999999999%
$ flutter run
Launching lib/main.dart on Letv X501 in debug mode...
Initializing gradle...                                       1.3s
Resolving dependencies...                                    1.1s
Running 'gradlew assembleDebug'...
Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true
Built build/app/outputs/apk/debug/app-debug.apk.
Installing build/app/outputs/apk/app.apk...                  8.1s
Starting: Intent { act=android.intent.action.RUN flg=0x20000000 FromType=0xffffffff cmp=com.example.myapp/.MainActivity (has extras) }
Error type 3
Error: Activity class {com.example.myapp/com.example.myapp.MainActivity} does not exist.
Error launching application on Letv X501.

I tried both English and Chinese Simplified (中文(简体)) system language and both gave me the same error result.
Mobile Letv X501 VERY RARE case
The reason why I don't say 100% frequency in the last case is because the flutter run did succeed once in my more than 30 times attempts (including rebooting devices and changing system languages etc...). Why? I have no idea.
$ flutter run
Launching lib/main.dart on Letv X501 in debug mode...
Initializing gradle...                                       1.2s
Resolving dependencies...                                    1.1s
Running 'gradlew assembleDebug'...
Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true
Built build/app/outputs/apk/debug/app-debug.apk.
Syncing files to device Letv X501...
D/IMGSRV  ( 5730): gralloc_register_buffer:1376: hnd=0x7f8abe2e40 ID=3433 fd=63 ref=1

🔥  To hot reload changes while running, press "r". To hot restart (and rebuild state), press "R".

Mobile NX508J case 1
Android: 5.1.1
System Language: Chinese Simplified (中文(简体))
$ flutter run
Launching lib/main.dart on NX508J in debug mode...
Initializing gradle...                                       1.1s
Resolving dependencies...                                    1.2s
Running 'gradlew assembleDebug'...
Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true
Built build/app/outputs/apk/debug/app-debug.apk.
Installing build/app/outputs/apk/app.apk...                 12.8s
Package install error: Failure [INSTALL_FAILED_INSUFFICIENT_STORAGE]
Error launching application on NX508J.

Mobile NX508J case 2
System Language: English
MUST reboot after setting up the system language.
It works this time:
$ flutter run
Launching lib/main.dart on NX508J in debug mode...
Initializing gradle...                                       1.1s
Resolving dependencies...                                    1.3s
Running 'gradlew assembleDebug'...
Picked up _JAVA_OPTIONS: -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true
Built build/app/outputs/apk/debug/app-debug.apk.
Syncing files to device NX508J...
W/art     (16489): Native thread exiting without having called DetachCurrentThread (maybe it's going to use a pthread_key_create destructor?): Thread[20,tid=16517,Native,Thread*=0x7fa28ab000,peer=0x12d610a0,"Thread-1499"]

🔥  To hot reload changes while running, press "r". To hot restart (and rebuild state), press "R".

Mobile Redmi Note 3 case
Android: 7.1.1
ROM: Lineage OS
System Language: Chinese Simplified (中文(简体))
EDITED: It works fine when I use adb over network. Thus I edited this case and removed my old post. (The connection lost when using adb over USB should be due to a loose micro-usb port on the phone.)
upload apk file to devices and install it through file manager
The installation always works and the app can be run correctly.
Conclusion
I have no idea what the problem is because it has different failure behaviors in different android devices. flutter run just doesn't work at all. I am unable to develop a program like this...
Can this bug have a higher priority so that I can continue my app development?
Thank you very much.

@zoechi
(1) I haven't tried with Android emulator this time because the emulator was always very slow and I give up using it and don't plan to use it anymore. Physical devices are always much faster.
(2) Yes, this is the basic app created by flutter create myapp with v0.5.8-pre.98. I have clarified this in this issue's title. No customization at all.
(3) I tried to upgrade my android studio from <IP_ADDRESS>-1 to the latest <IP_ADDRESS>-1 after reporting this issue. But no luck, the result is the same. (After upgrading android studio, I did create a new app with flutter create myapp.)
(4) I did google those error msgs and found this topic https://stackoverflow.com/questions/20915266/, I am not sure if this is related to this issue.

/cc @gspencergoog

I have 6 android mobiles and it's working fine on 2 of them. I am OK to use the two working ones for development. I think this is a bug belongs to gradle insead of flutter so I am closing it for now. Cheers.

im most cases this happened when the app already installed and you try to reinstall it again , to fix this
uninstall the app using adb  shell
adb -s DEVICEID  uninstall example.foo.com
Example in MacOS
First list connected devices
flutter devices
/Users/coder/Library/Android/sdk/platform-tools/adb -s XFDFDFA00900 uninstall example.foo.com

im most cases this happened when the app already installed and you try to reinstall it again , to fix this
uninstall the app using adb shell
adb -s DEVICEID uninstall example.foo.com
Example in MacOS
First list connected devices
flutter devices
/Users/coder/Library/Android/sdk/platform-tools/adb -s XFDFDFA00900 uninstall example.foo.com

Working for me!


how to use the trained model on cpu？

how to inference a picture with mmdetection trained model on a none mmcv and none mmdetection and none gpu but with opencv， pytorch and cpu computer？
how to use simply pytorch transform to preprocess image and pytorch load model to inference a image？thanks a lot

mmcv is required. The situation you said is temporarily unsupported. Sorry!


Bug in code (leeway is set to 1 rather than being increased by 1)

In google-api-php-client/src/Google/AccessToken/Verify.php line 213 you are not adding 1 to JWT leeway like you mentioned in the comments but rather setting it to 1. Kindly fix it.
if (property_exists($jwtClass, 'leeway')) {
// adds 1 second to JWT leeway
$jwtClass::$leeway = 1;
}

I also have problems with this. I often have more than a second offset.
I set leeway before instantiate Google_AccessToken_Verify. But this code overrides my value for 1 second.

Same here.
For the moment I just changed Verify.php to :
$jwtClass::$leeway += 1;

Please fix. Should take 1 second to add a + in front of an =
😁

Any word on this?

nope
2018-06-13 15:16 GMT+02:00 Scott Bowler<EMAIL_ADDRESS>
Any word on this?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/google/google-api-php-client/issues/1172#issuecomment-396932857,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADTjpAcw7OLW7DlH0jJGqQq975uramaOks5t8RCTgaJpZM4McLD7
.

I have submitted a PR #1455 to fix this effectively. There has been the ability to pass in your own JWT service so that this leeway is not called:
// Create the Google client object
$client = new Google_Client();
// Create the JWT service and set Leeway (if you want)
$jwt = new Firebase\Jwt\Jwt;
$jwt::$leeway = 1.5;
// pass the JWT service into the Verify class and verify the ID token
$verify = new Google_AccessToken_Verify($client->getHttpClient(), null, $jwt);
$payload = $verify->verifyIdToken($token['id_token'], $data->aud);

Global Firebase\Jwt\Jwt::$leeway is never changed.


Update GitHub actions of CI workflow

Some GitHub actions (soon to be deprecated) of the CI workflow have been updated.

Thanks for setting up such a helpful template, I was just converting the PR to draft state to make sure I didn't mess anything up, but ready to go from my side now.


Provide better console output for failing tests

Currently you get:
Process 'command 'buster'' finished with non-zero exit value 1
Which doesn't convey whether it was a test that failed or something else.
Probably a good idea to have a look at the java plugin test reporter for inspiration.

Has there been any progress on this issue? I've just started using this plugin and am really liking it, but better output would be a huge upgrade.
I'd also be willing to contribute this myself, although I'd need a push in the right direction having never written Groovy or Gradle plugins.

I haven't had much time looking at this project lately. For test errors it should be possible to parse the returned junit xml from buster and print out some sort of summary before the exception is thrown.
Check out the following two classes. Shouldn't be to hard improving the error reporting (all errors are still logged in the resulting junit xml, but a nicer summary in the console would be good).

https://github.com/rundis/gradle-buster-plugin/blob/master/src/main/groovy/com/github/rundis/buster/BusterTestTask.groovy
https://github.com/rundis/gradle-buster-plugin/blob/master/src/main/groovy/com/github/rundis/buster/internal/JUnitTestXml.groovy


[TypeScript SDK & Move Stdlib] Fully qualified type name inconsistency

Inconsistency
TypeScript SDK
Some of the TypeScript SDK functions expect their TypeArg's to not start with zeroes, e.g. if you pass a TypeArg of 0x0000000000000000000000000000000000000002 instead of 0x2 to selectCoinSetWithCombinedBalanceGreaterThanOrEqual it will not return any SUI Coins the user may in fact have. Similarly, I was unlucky and have my last contract be published with an address of 0x01... so its respective coins would not be queried from selectCoinSetWithCombinedBalanceGreaterThanOrEqual if the fully qualified type name was given.
Move Stdlib
However, if you call the Move stdlib's function type_name::get on a specific type it will return the fully qualified type name.
Issue
A common pattern in our workflow, and I imagine a common pattern in general, is to emit an event on chain that contains one or more results from type_name::get. These values can then be read through the TypeScript SDK's getEvents function and used on the frontend however needed. If this pattern is used directly with selectCoinSetWithCombinedBalanceGreaterThanOrEqual you can potentially run into the above issue.
Solution
TypeScript SDK functions that accept a TypeArg as input should allow for fully qualified type names to be provided.
Related Issues

Inconsistent type of Sui

@hayes-mysten I assume this is not relevant anymore, but just wanted to double check with you first.

yes, we can close this


jest async test block

when run the test and expectation failed,this test will be blocked until timeout,not failed immediately.
test('expect failed immediately in async test', (done) => {
    setTimeout(() => {
        expect(false).toBe(true);
        done();
    });
});

@holi-java The expect() call with throw an error due to the assertion failing, causing the done() call to be skipped. Since done() never gets called, Jest will not know whether the test succeeds or fails until the timeout is hit.
Wrapping the code inside of the setTimeout() function is one way to handle this, like so:
test('expect failed immediately in async test', done => {
	setTimeout(() => {
		try {
			expect(false).toBe(true)
			done()
		} catch (err) {
			done.fail(err)
		}
	})
})

The assertion error is caught, with the error being passed to Jest using done.fail(err). This will indicate to Jest that the test is done running, mark it as an failure, and report what it failed on.

@lund0n thanks,but I think this way is not perfect,because I need using try catch structure.I found if the main thread throws any exception then the test failed immediately.why couldn't let jest do this?may be proxy setTimeout function per test to running can reach it,as TestEvironment in jest.
test('expect failed in async test if main thread throws exception', (done) => {
    expect(true).toBe(false);
});

why couldn't let jest do this?

Because it's just not that simple. Every time done callback is involved we defer work to Jasmine and rely on how it handles such cases. Which is bad and we need to fix it.
Although this doesn't happen if you can return a Promise from your test (then Jest handles it and catches the error as a promise's rejection).
I'll close this, because this issue is known and we'll try to push it forward to the next release or so.
Related issues: https://github.com/facebook/jest/issues/2059, https://github.com/facebook/jest/issues/2136

I'm sorry @thymikee,but I‘m just to tell you I can solve the problem by setupTestFrameworkScriptFile option.and ask you whether has a way to embed the code like this.
setupTestFrameworkScriptFile
const top = global || window;
class TestQueue {
    constructor() {
        this.queue = [];
    }

    push(callback) {
        this.queue.push(callback);
    }

    remove(callback) {
        let queue = this.queue;
        for (let i = 0; i < queue.length; i++) {
            if (queue[i] == callback) {
                queue.splice(i, 1);
                return;
            }
        }
    }

    await(callback) {
        let queue = setInterval(() => {
            if (!this.queue) {
                clearInterval(queue);
                callback();
            }
        });
    }
}
let [nativeTest, _setTimeout, test]=[top.test, top.setTimeout, function (name, currentTest) {
    if (!currentTest.length) return nativeTest(name, currentTest);
    return nativeTest(name, (done) => {
        let queue = new TestQueue();
        top.setTimeout = (callback, mills, args) => {
            queue.push(callback);
            return _setTimeout(() => {
                try {
                    callback();
                } catch (e) {
                    done.fail(e);
                } finally {
                    queue.remove(callback);
                }
            }, mills, args);
        };
        try {
            currentTest(done);
        } finally {
            queue.await(() => top.setTimeout = _setTimeout);
        }
    });
}];
top.it = top.test = test;

async test js
test('expect failed in async test failed immediately', (done) => {
    setTimeout(() => {
        setTimeout(() => {
            expect(false).toBe(true);
            done();
        });
    })
});

This issue shoud be reopened.
done() is not called because of the error, and jasmin timeout is reached. That's ok. But what is not ok is that jest/jasmin shoud include in its report the error that happened.
The purpose of a test framework is to report errors that occured in the tested code. If it does not, this is a bug.

The solution proposed by @holi-java  with setupTestFrameworkScriptFile is the only way I've found to test with jest code that may raise an error in a setTimeout.
@thymikee any chance somthing like that could be integrated into the core of jest? Isn't it a problem that for some function (which raise error in a setTimeout) that are unit-tested, jest just don't work, and to do no report  the error?
Should we start a PR?

@dfroger this is already supported in latest test version od Jest. You can give it a shot: yarn add jest@test --dev

@thymikee works perfectly, awesome! (thanks for your quick reply, didn't noticed it was already supported in lasted test).

for reference, fixed in #4669

Expanding on  @lund0n 's approach, I did a simple helper for testing chained callbacks:
// https://github.com/facebook/jest/issues/2980
// otherwise if an assertion fails we will get a timeout
// without any feedback about which assertion threw
const assertInCallback = (done) => {

    // without the tracker the test fill PASS on first callback with good assertions
    const successTracker = {};
    setTimeout(() => {
        Object.keys(successTracker)
            .filter((cbID) => !!successTracker[cbID])
            .forEach((failure) => done.fail(successTracker[failure]));
        done();
    }, 4500 ); // default timeout for jest is 5s, adjust if needed

    return (func) => {
        return function() { // we need arguments
            const id = (new Date).getTime();
            successTracker[id] = undefined;
            try {
                return func(...arguments); // not sure if return needed here
            } catch (e) {
                successTracker[id] = e;
            }
        };
    };
};

describe('ThingWithChainableCallbacks', () => {

    it('works', done => {
        const a = assertInCallback(done);
        (new ThingWithChainableCallbacks(data))
            .onprogress(a((progressEvent) => {
                expect(progressEvent.lengthComputable).toBe(true);
                expect(progressEvent.loaded).toBe(1337);
                expect(progressEvent.total).toBe(1337);
            }))
            .parse(a((result) => {
                expect(result).toMatchObject([ 'nice ]);
            }));
    });

});

Hopefully it will save time someone who finds this issue as I did :).


Connecting openvpn server to multiple docker networks

After following the configuration steps on Readme I decided to start OpenVPN with a compose file and it worked great until I tried to connect with other docker networks. Does OpenVPN only allow connection with one docker network? Depending on which network I choose I lose the connection with the internet as well. Trying to debug, when I have OpenVPN configured with interfaces to other networks that can't be accessed through VPN, I'm still able to ping and curl services in other networks from inside the ovpn container.
Follows the compose file:
version: '3.5'

networks:
    api_network:
      external: true
    network:

volumes:
  ovpn-data-volume:
    external: true
  portainer_data:

services:
  portainer:
    restart: always
    image: portainer/portainer-ce
    ports:
      - "8000:8000"
      - "9000:9000"
    networks:
      network:
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
      - portainer_data:/data

  openvpn:
    restart: always
    cap_add:
    - NET_ADMIN
    image: kylemanna/openvpn
    ports:
    - "1194:1194/udp"
    networks:
      network:
      api_network:
    volumes:
    - ovpn-data-volume:/etc/openvpn

If I leave just the network or(xor) api_network it works as if it is mutually exclusive.

I can only do it with a single network, see https://github.com/kylemanna/docker-openvpn/issues/622


New release?

Please can you do a new release? I ask because HEAD of master uses cats-free 1.1.1 whereas 1.0.0-M6 uses cats-free 1.0.1 that in turn results in this from sbt (in my projects):
Found version conflict(s) in library dependencies; some are suspected to be binary incompatible

M7 is now available.


Rollup warnings

Provide a general summary of the issue here
when i build with<EMAIL_ADDRESS>i get this warnings
"/*#__PURE__*/"

in "node_modules/react-aria-components/dist/Breadcrumbs.mjs" contains an annotation that Rollup cannot interpret due to the position of the comment. The comment will be removed to avoid issues.
node_modules/react-aria-components/dist/ComboBox.mjs (49:42): A comment

"/*#__PURE__*/"

in "node_modules/react-aria-components/dist/ComboBox.mjs" contains an annotation that Rollup cannot interpret due to the position of the comment. The comment will be removed to avoid issues.

🤔 Expected Behavior?
no warnings
😯 Current Behavior
warnings
💁 Possible Solution
No response
🔦 Context
No response
🖥 Steps to Reproduce

Version
1.3.1
What browsers are you seeing the problem on?
Other
If other, please specify.
No response
What operating system are you using?
macos
🧢 Your Company/Team
No response
🕷 Tracking Issue
No response

Sounds like a rollup or vite issue? have you checked their repos for that error or any bugs around it?
Otherwise, we'd need to know more about why it's thinking that it's invalid https://rollupjs.org/configuration-options/#pure but nothing is jumping out at me, other than I'm not actually sure what is generating the annotation. That's just a provider from a createContext call, so possibly React is generating it. Could check React and babel's docs to see if they have any bugs as well.
For reference, this the file and the Pure annotation is on line 49<EMAIL_ADDRESS>

Something jumping out to me is the fact that examples show the comment placed before a statement, not in the middle of it like the ComboBox generated code.

Any fix for this ?

Not yet, someone will need to figure out if the PURE annotation is actually a bug in rollup or if it's a bug in our transpiled code first.

The createElement function is what should be marked with the /*#__PURE__*/ annotation. It appears the annotation is being misplaced due to the transform of the nullish coalescing operator.
I was able to recreate the issue in a simplified Parcel REPL.
While the solution appears to depend on one of the upstream libraries, these things that seem to fix the issue:

Ditch the nullish coalescing operator
Using an explicit return instead of implicit in the arrow operator

Thanks for providing the reproduction, we'll definitely want to get that fixed. I've opened the bug in Parcel as well https://github.com/parcel-bundler/parcel/issues/9947
In the meantime, patching such as patch-package should be able to help users work around the problem.

Hi, FYI I am having the same issue with the pure comments in this file:
<EMAIL_ADDRESS>

Looks like it's fixed in Parcel. https://github.com/parcel-bundler/parcel/issues/9947#event-14448749509
When we update this should be resolved.

I'm still getting this warning with vite 5.4.11 and react-aria-components 1.4.1.


How to optimize reactnative framework startup time when we use reactnative partially in our application

We use reactnative partially in order to be compatible with present app development,and we set develop mode false,but we find that reactnative application start-up time is longer than we expect.We want to make  reactnative application start-up time in about 0.5 seconds.
PS：we have about 3 activities using reactnative,so it takes some time for every reactnative activity start up ,can we make activity single-instance and modify reactnative instance manager  single instance so that we do not need to initialize reactnative instance manager every time?
Do we have any idea?

You can try react-mix bundle example, seprate bundle file into two part , one is common file, another is smaller, business code bundle
https://github.com/xueduany/react-mix

@nanpian Yeah, you can use a single instance of the InstanceManager.

@satya164  we're trying it.

Hi there! This issue is being closed because it has been inactive for a while.
But don't worry, it will live on with ProductPains! Check out its new home: https://productpains.com/post/react-native/how-to-optimize-reactnative-framework-startup-time-when-we-use-reactnative-partially-in-our-application
ProductPains helps the community prioritize the most important issues thanks to its voting feature.
It is easy to use - just login with GitHub. GitHub issues have voting too, nevertheless
Product Pains has been very useful in highlighting the top bugs and feature requests:
https://productpains.com/product/react-native?tab=top
Also, if this issue is a bug, please consider sending a pull request with a fix.
We're a small team and rely on the community for bug fixes of issues that don't affect fb apps.


Large-scale unrecoverable failure of consumer groups.

Versions
Please specify real version numbers or git SHAs, not just "Latest" since that changes fairly regularly.

Sarama
Kafka
Go

1.36.0
2.8.12
1.14-1.19

Configuration
What configuration values are you using for Sarama and Kafka?
k := sarama.NewConfig()
k.Consumer.Offsets.Initial = sarama.OffsetNewest

Logs
When filing an issue please provide logs from Sarama and Kafka if at all
possible. You can set sarama.Logger to a log.Logger to capture Sarama debug
output.
logs: CLICK ME

[2022-09-19T11:14:28.416+08:00] DBG Kafka: kafka: error while consuming *****/24: kafka server: The requested offset is outside the range of offsets maintained by the server for the given topic/partition
[2022-09-19T11:14:28.417+08:00] DBG Kafka: kafka: error while consuming *****/3: kafka server: The requested offset is outside the range of offsets maintained by the server for the given topic/partition
[2022-09-19T11:14:28.417+08:00] DBG Kafka: kafka: error while consuming *****/6: kafka server: The requested offset is outside the range of offsets maintained by the server for the given topic/partition
[2022-09-19T11:14:28.417+08:00] DBG Kafka: kafka: error while consuming *****/18: kafka server: The requested offset is outside the range of offsets maintained by the server for the given topic/partition
[2022-09-19T11:14:28.417+08:00] DBG Kafka: consumergroup/session/test-1663557258425244539-a9819ae8-4030-4529-a3c8-6a5d5067e684/944 heartbeat loop stopped
[2022-09-19T11:14:28.417+08:00] DBG Kafka: consumergroup/session/test-1663557258425244539-a9819ae8-4030-4529-a3c8-6a5d5067e684/944 released
[2022-09-19T11:14:28.417+08:00] DBG Kafka: Initializing new client
[2022-09-19T11:14:28.417+08:00] DBG Kafka: client/metadata fetching metadata for all topics from broker *****:9092
[2022-09-19T11:14:28.417+08:00] DBG Kafka: Connected to broker at *****:9092 (unregistered)
[2022-09-19T11:14:28.418+08:00] DBG Kafka: client/brokers registered new broker #476156 at *****:9092
[2022-09-19T11:14:28.418+08:00] DBG Kafka: client/brokers registered new broker #476157 at *****:9092
[2022-09-19T11:14:28.418+08:00] DBG Kafka: client/brokers registered new broker #476158 at *****:9092
[2022-09-19T11:14:28.418+08:00] DBG Kafka: Successfully initialized new client
[2022-09-19T11:14:28.418+08:00] DBG Kafka: client/metadata fetching metadata for [*****] from broker *****:9092
[2022-09-19T11:14:28.419+08:00] DBG Kafka: client/coordinator requesting coordinator for consumergroup ***** from *****:9092
[2022-09-19T11:14:28.419+08:00] DBG Kafka: client/coordinator coordinator for consumergroup ***** is #476157 (*****:9092)
[2022-09-19T11:14:28.420+08:00] DBG Kafka: Connected to broker at *****:9092 (registered as #476157)

Problem Description
https://github.com/Shopify/sarama/pull/2252
Has this new feature been tested at scale? At present, our production environment has experienced large-scale consumption stagnation after upgrading to the latest version, and the failure cannot be recovered by restarting the program. The final analysis determined that it was caused by this new feature (not fully backward compatible, heartbeat loop stopped).

With k.Consumer.Offsets.Initial = sarama.OffsetNewest we see the same behavior in our staging environment, but thankfully not in prod.

Sarama
Kafka
Go

1.36.0
2.8.0
1.19

Same versions in both environments. We downgraded Sarama to v1.35.0 and the issue disappeared.

I pushed out the above PR to restore the default behaviour of invalid offset resetting and made a release 1.37.0 containing it (amongst other things)

@dnwe Thanks! We will do a full test with the new version, I think the problem is solved.


Added admin filters to support multisite and publishing

#290
Included a custom admin filter to support multisite permissions.

[Current coverage][cc-pull] is 92.09%

Merging [#298][cc-pull] into [develop][cc-base-branch] will decrease coverage by 0.85%

@@            develop       #298   diff @@
==========================================
  Files            25         25
  Lines          1347       1366    +19
  Methods           0          0
  Messages          0          0
  Branches        162        165     +3
==========================================
+ Hits           1252       1258     +6
- Misses           47         59    +12
- Partials         48         49     +1

Powered by Codecov. Last updated by [8a479a5...8ab4ddd][cc-compare]
[cc-base-branch]: https://codecov.io/gh/nephila/djangocms-blog/branch/develop?src=pr
[cc-compare]: https://codecov.io/gh/nephila/djangocms-blog/compare/8a479a557a8c539ad4270c01cf4f3a35c474f025...8ab4ddd57480884f9ff6f4da1e1add7208fea011
[cc-pull]: https://codecov.io/gh/nephila/djangocms-blog/pull/298?src=pr

Coverage decreased (-8.1%) to 88.369% when pulling 8b20094726cc52cec967b09e5d2d74beb2ca96eb on leesolway:develop into 8a479a557a8c539ad4270c01cf4f3a35c474f025 on nephila:develop.

This looks good. Would you like to add a test for this? Something like this test https://github.com/nephila/djangocms-blog/blob/develop/tests/test_models.py#L200 to check whether the filter is applied correctly

@leesolway do you need help to complete this?

Sorry, not had a chance. I can try this weekend to find time, if it fits with your release schedule.

No worries, take your time. Just to know if you were stuck needing for help. I'll release a beta without this, while hopefully it will fit the final release

@yakky Sorry won't have a chance to look at this for another week or two. Feel free if you want to drop the test in etc, otherwise i'll look at it then.

No worries. Very busy myself too!

Thanks @leesolway merging with tests (and a fix) with #332


Consider trigger deployment restarton git change only, not daily

Right now the cronjob does a git sync and then restart every day.
Ideally we want to get a push notification of a git change to the branch (perhaps Github Actions?) and that will trigger a git sync and then a redeployment.
This would result in faster updates when changes are made in short sequence, vs having to wait for the next day, and also not waste when no git sync changes have happened most days.
Likely want to limit the push action to debounce once per 30 minutes or something max.

Set env in GKE cron is now setting to the latest commit date, when the date is unchanged, the env variable is unchanged, and the deployment shouldn't restart
16af02dd43988fb51ab5ecc84b10051cf3476b45

Re-opening since this still only checks daily, we could actually have it check every hour or so now, since it shouldn't update deployment unless a change happens.


Update filter.js

Hi Jiren,
Very new to all of his so hopefully i haven't stuffed this up. I have added in the below Pull request:
Ability to add an order by toggle linking into the json query.
FJS.addOrder({ ele: '#idoforderby'});
expects the orderby as the value in option as jsonfield|direction e.g. price|asc
Also added support for multiple values in an input e.g.: <input value="1,2,3"
Lastly, added at line 1174, if no value pass a highly unlikely value to the filter. This will ensure that when nothing is sent to the filter instead of showing all, nothing is shown.
Would welcome your feedback.
Thanks
J

Hi Jiren,
I added the ability to use LIKE as a filter. This gives the ability to use multiple regex and it works as an AND. E.g. if a value is in a string and value 2 is in the string as well, filter to show.
Thanks
J

@jiren not sure how active you are on this project but sorting in filter.js natively would be fantastic.

Sure I will add it.

That would be fantastic :-)

I've been using this as well in my current implementation of this library. Would you kindly merge this, @jiren?

@ctwjowen, this update is incredibly helpful. Any insight on sorting by multiple columns in one select option? Or having an option that let's the default sorting from the db take precedence?

@jiren Can we get this merged please?
Specifically multiple values from the same input.


Remove dead links

I found several deadlinks.

Hah, nice! I found alternatives for some of these but I can add them separately. Thank you once more, Yoshinori!


CASMINST-6879: install-goss-tests.sh on PIT needs CSM_PATH OR CSM_RELEASE

This script is currently too picky. It should be happy if either of these variable is set. I have tested this on UKMet TDSY.
Backports forthcoming:

/backport release/1.3


force: true ignores close function of closed modal

Hi @anseki,
I have one modal that lets me open another modal. When this occurs, the first modal should be closed force: true specified on the second modal, but the close function of the first modal (which animates the closing of the modal using animate.css) is ignored, the modal just disappears.
Any workaround for this? Or what I'm missing?
Modal:
$modal.plainModal('open', {
  overlay: {
    fillColor: '#FFF',
    opacity: 0.8
  },
  duration: 250,
  effect: {
    open: function(duration, complete){
      $(this).animateCSS('zoomIn',{
        callback: complete,
        duration: duration,
      });
    },
    close: function(duration, complete){
      $(this).animateCSS('zoomOut',{
        callback: complete,
        duration: duration,
      });
    },
  }
});

The second modal is the same, just with force: true appended at the end.

Hi @pedroadame, thank you for the comment.
There are multiple plugins that are called "jQuery.animateCSS", and I don't know which one you use.
The effect accepts functions that work like standard effect methods of jQuery.
Try this:
  effect: {
    open: function(duration, complete){
      console.log('effect.open was called.');
      this.css('display', 'block');
      setTimeout(function() {
        console.log('effect.open completes.');
        complete();
      }, duration);
    },
    close: function(duration, complete){
      console.log('effect.close was called.');
      this.css('display', 'none');
      setTimeout(function() {
        console.log('effect.close completes.');
        complete();
      }, duration);
    }
  }

I use this one: https://github.com/craigmdennis/animateCSS
I'll try that tomorrow at work.

I see.
Because that plugin does not hide the element (the zoomOut class is removed after animation), try this:
  effect: {
    open: function(duration, complete) {
      this.animateCSS('zoomIn', {
        callback: complete,
        duration: duration
      });
    },
    close: function(duration, complete) {
      this.animateCSS('zoomOut', {
        callback: function() { this.hide(); complete(); },
        duration: duration
      });
    }
  }

My idea is the following:
Open first modal -> First modal closes with animation -> Second modal opens after closing animation finishes
I'll try that tomorrow at work, and I'll get in touch with you.

You can use plainmodalclose event for the behavior you want.
For example:
$('#first').on('plainmodalclose', function(event) {
  $('#second').plainModal('open');
});

However, please create a new issue about that behavior if you want, don't comment here because this is the issue about the ignored effect.close.
Also, please close this issue after confirm that the effect.close is not ignored (i.e. the issue was solved).

This effectively shows the close animation is called,
  effect: {
    open: function(duration, complete){
      console.log('effect.open was called.');
      this.css('display', 'block');
      setTimeout(function() {
        console.log('effect.open completes.');
        complete();
      }, duration);
    },
    close: function(duration, complete){
      console.log('effect.close was called.');
      this.css('display', 'none');
      setTimeout(function() {
        console.log('effect.close completes.');
        complete();
      }, duration);
    }
  }

And this doesn't solve my issue, but I'm closing since the close effect is not ignored in fact.
effect: {
    open: function(duration, complete) {
      this.animateCSS('zoomIn', {
        callback: complete,
        duration: duration
      });
    },
    close: function(duration, complete) {
      this.animateCSS('zoomOut', {
        callback: function() { this.hide(); complete(); },
        duration: duration
      });
    }
  }

However, this solved my issue.
$('#first').on('plainmodalclose', function(event) {
  $('#second').plainModal('open');
});

😄


finish Sprint6

need to do get favorite project api

Looking good, pls merge

There are some adjustment could be made for the app theme. Consider change it in next sprint.
As we have change from flushbar to toastify, some changes have to be made for some files.
The spacing between text field and label should be increase.
Increase fetching time of background fetch.

Will fix in next sprint ^^


Potential slowdown of site due to listening for global keydown events

In the VirtualPageLoadTimer plugin on line 81 it has a keydown event, which if a user holds down a key it will get hit every ms until they list their finger from the keyboard.
I think there are two options to fix this issue:

debounce the event for keydown
Down side to this is that we may not get the most accurate information, and the debounce method still gets hit every ms
figure out a better option for detecting a page interaction without hitting the same method n number of times per second

As discussed offline, keyup event and mouseup event would be a better solution, as it would not be triggered every ms.

I think I may have a solution without any mouse or key events.
May push PR today or Tuesday


cmd/scollector: check for NaN and Inf for float64 datapoints

Catches Inf and NaN on float before we hit the json marshaller. Symptom before this:
error: queue.go:105: json: error calling MarshalJSON for type *opentsdb.DataPoint: Unparseable number NaN
info: queue.go:124: restored 2000, sleeping 5s
error: queue.go:105: json: error calling MarshalJSON for type *opentsdb.DataPoint: Unparseable number -Infinity
info: queue.go:124: restored 2000, sleeping 5s

Is there a better place to catch this? What collectors are inserting NaNs?

That is the question, I'm not sure! I know the impact though, no more metrics out of that scollector. I've seen this happen in the cassandra collector (which I've made a PR for a while back) and I'll hunt down the source of this one as well.
This however is a lot safer since we can keep sending out metrics and still get feedback that something is wrong via scollector.discarded.


CASMCMS-7975: Add more information on CFS inventory and limit

Summary and Scope
Adds clarifying information on how the CFS inventory works, particularly in regards to image customization.  This should clear up confusion for users who did not realize they were providing the inventory.
Issues and Related PRs

Resolves CASMCMS-7975

Testing
Tested on:

NA, docs only

Test description:
NA, docs only
Risks and Mitigations
Pull Request Checklist

[X] Version number(s) incremented, if applicable
[X] Copyrights updated
[X] License file intact
[X] Target branch correct
[X] CHANGELOG.md updated
[X] Testing is appropriate and complete, if applicable
[X] HPC Product Announcement prepared, if applicable

An entry for this new file should be added to the TOC in the /operations/index.md file.

/backport release/1.0 release/1.2


MAHOUT-1655

Refactors mr-legacy into mahout-hdfs and mahout-mr
Compiles and completes unit tests, can launch spark-shell but doesn't run spark-itemsimilarity with the following error:
15/03/29 12:22:12 INFO AkkaUtils: Connecting to HeartbeatReceiver: akka.tcp://sparkDriver@<IP_ADDRESS>:52857/user/HeartbeatReceiver
15/03/29 12:22:12 WARN BlockManager: Putting block broadcast_0 failed
Exception in thread "main" java.lang.NoSuchMethodError: com.google.common.hash.HashFunction.hashInt(I)Lcom/google/common/hash/HashCode;
at org.apache.spark.util.collection.OpenHashSet.org$apache$spark$util$collection$OpenHashSet$$hashcode(OpenHashSet.scala:261)
at org.apache.spark.util.collection.OpenHashSet$mcI$sp.getPos$mcI$sp(OpenHashSet.scala:165)
at org.apache.spark.util.collection.OpenHashSet$mcI$sp.contains$mcI$sp(OpenHashSet.scala:102)
at org.apache.spark.util.SizeEstimator$$anonfun$visitArray$2.apply$mcVI$sp(SizeEstimator.scala:214)
at scala.collection.immutable.Range.foreach$mVc$sp(Range.scala:141)
at org.apache.spark.util.SizeEstimator$.visitArray(SizeEstimator.scala:210)
at org.apache.spark.util.SizeEstimator$.visitSingleObject(SizeEstimator.scala:169)
at org.apache.spark.util.SizeEstimator$.org$apache$spark$util$SizeEstimator$$estimate(SizeEstimator.scala:161)
at org.apache.spark.util.SizeEstimator$.estimate(SizeEstimator.scala:155)
at org.apache.spark.util.collection.SizeTracker$class.takeSample(SizeTracker.scala:78)
at org.apache.spark.util.collection.SizeTracker$class.afterUpdate(SizeTracker.scala:70)
at org.apache.spark.util.collection.SizeTrackingVector.$plus$eq(SizeTrackingVector.scala:31)
at org.apache.spark.storage.MemoryStore.unrollSafely(MemoryStore.scala:236)
at org.apache.spark.storage.MemoryStore.putIterator(MemoryStore.scala:126)
at org.apache.spark.storage.MemoryStore.putIterator(MemoryStore.scala:104)

not sure where google.common is supposed t come from, looking...

Its part of Guava.

what is the status of guava in the rest of the project?

It was in the mahout-math pom last i saw.

Its still referenced in the parent pom with version 11.0.2.   Possible that
the offending class could be missing from this guava version ??
On Sun, Mar 29, 2015 at 3:43 PM, Andrew Palumbo<EMAIL_ADDRESS>wrote:

It was in the mahout-math pom last i saw.
—
Reply to this email directly or view it on GitHub
https://github.com/apache/mahout/pull/86#issuecomment-87461957.

no version number in the math-scala pom.

r we not squashing the PRs before committing ??

yeah. https://github.com/apache/mahout/commits/master.
we should not see "merged master" commits there (clear sign of not
squashing your personal PR history! )
On Wed, Apr 1, 2015 at 11:26 AM, Suneel Marthi<EMAIL_ADDRESS>wrote:

r we not squashing the PRs before committing ??
—
Reply to this email directly or view it on GitHub
https://github.com/apache/mahout/pull/86#issuecomment-88585219.


Amp like jumping

are there any plans to add this functionality to the extension?
ref: https://helix-editor.com/news/release-24-03-highlights/

This extension implements the kind of navigation you are looking for. It would be great if this was built into this extension, but for the mean time you could use both: https://github.com/DavidLGoldberg/jumpy2


Support queries from within a running node

It can be useful to use the existing local state query machinery from within a
running node, instead of having to go through the local protocol, i.e., a
socket.
The new Cardano.Node.Query module provides a little API for this. Note that a
Consensus.Protocol and NodeKernel are required.

Context: this in response to @denisshevchenko's question about how to return the start time of the current epoch. The LocalStateQuery protocol can already be used to answer this question. However, it only works over a local socket. Denis needs this for RTView, which will be running on a remote machine that does not necessarily permit a local socket connection. Instead, the running node should trace the relevant information which the remote RTView can then pick up.
So instead of duplicating this slot/time/epoch calculations in the RTView, we add the ability for a running node to answer queries without having to go through a local socket.

bors merge


RichCommand: PermanentlyDelete

Resolved / Related Issues

[x] Were these changes approved in an issue or discussion with the project maintainers? In order to prevent extra work, feature requests and changes to the codebase must be approved before the pull request will be reviewed. This prevents extra work for the contributors and maintainers.
Related #11481

Notes
This PR also removes some KeyboardAccelerators leftovers (Refresh and Delete)
Validation
How did you test these changes?

[x] Did you build the app and test your changes?
[ ] Did you check for accessibility? You can use Accessibility Insights for this.
[] Did you remove any strings from the en-us resource file?

[ ] Did you search the solution to see if the string is still being used?

[x] Did you implement any design changes to an existing feature?

[x] Was this change approved?

[x] Are there any other steps that were used to validate these changes?

Open app and select a file
Use Shift + Del to permanently delete it or Ctrl + D to delete it

@hishitetsu fyi

Can we make it possible to perform permanent deletion when pressing the delete button on the toolbar or flyout while pressing shift? File Explorer does.

@hishitetsu can you open a feature request to discuss this idea?

@hishitetsu can you open a feature request to discuss this idea?

Opened.
https://github.com/files-community/Files/issues/12117

Action names should begin with a verb. Can you update CommandList.md as well?

Done


Upgrade snackbar to v14

Codecov Report

Merging #823 (52b327c) into next (bf2eded) will increase coverage by 0.05%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             next     #823      +/-   ##
==========================================
+ Coverage   80.75%   80.81%   +0.05%
==========================================
  Files         108      108
  Lines        3351     3351
  Branches      768      768
==========================================
+ Hits         2706     2708       +2
+ Misses        640      638       -2
  Partials        5        5

Impacted Files
Coverage Δ

src/list/foundation.tsx
75.83% <0.00%> (+1.66%)
:arrow_up:

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


Wrong encoding for date in pylint widget

From contrebasse on 2013-08-23T04:09:49Z
Spyder Version:  2.3.0dev
Python Version:  2.7.4
Qt Version    :  4.8.4, PyQt4 (API v1) 4.10 on Linux
pyflakes 0.5.0  :  0.6.1 (NOK)
pep8 >=0.6      :  1.4 (OK)
IPython >=1.0   :  0.13.2 (NOK)
rope >=0.9.2    :  0.9.2 (OK)
sphinx >=0.6.6  :  1.1.3 (OK)
matplotlib >=1.0:  1.2.1 (OK)
pylint >=0.25   :  0.26.0 (OK)
What steps will reproduce the problem?
1.Set your locale to French
2.Analyse source code with pylint
3.Look at the date near the top of the pylint widet
4.Frown at the wrong encoding What is the expected output? What do you see instead? I expect to see the corect encoding for the month "août", but I have something like "aoÀ»t" (actually the A has a ~ on top but it doesn't matter)
Please provide any additional information below
.
Original issue: http://code.google.com/p/spyderlib/issues/detail?id=1530

From ccordoba12 on 2013-09-04T12:17:10Z
Thanks for reporting. I'll fix it in 2.3.
Labels: MS-v2.3

From ccordoba12 on 2013-12-11T12:49:40Z
Labels: -MS-v2.3 MS-v2.3.1

From ccordoba12 on 2014-07-17T14:06:43Z
This issue was closed by revision 9a41ccc646d3 .
Status: Fixed


Updatesite doesn't build on the xtext HEAD

Maven fails with the following error :
[ERROR] Cannot resolve project dependencies:
[ERROR]   Software being installed: org.thingml.eclipse.updatesite raw:1.0.0.'SNAPSHOT'/format(n[.n=0;[.n=0;[-S]]]):1.0.0-SNAPSHOT
[ERROR]   Missing requirement: org.thingml.eclipse.updatesite raw:1.0.0.'SNAPSHOT'/format(n[.n=0;[.n=0;[-S]]]):1.0.0-SNAPSHOT requires 'org.thingml.eclipse.feature.feature.group [1.0.0,1.0.1)' but it could not be found

Let's never talk about this anymore.

Thanks @ffleurey btw.

Was the issue between your screen and your chair? :-)

I stupidly followed the instructions from the readme. The instructions were wrong, but I should have seen it.

As far as I understood, the instructions in the README.md is for the EMF version, so it should really be fixed on the xtext branch?

README.md in xtext branch definitely needs some updates. Feel free to contribute :-)


Shrinkwrap auditing DESKTOP-1771

Checks that all dependencies in package.json also exist in npm-shrinkwrap.json, and that their versions are the same (this should detect and prevent the RN 0.31 update issue).

👀 @keybase/react-hackers
You can see some example output of this script breaking CI here https://ci.keybase.io/job/client/job/PR-4055/2/execution/node/204/log/

r? @jzila too
:thumbsup:
Any idea how long this takes?  If it takes a few minutes, does it make the total execution time for a run that much longer?  If it did, we'd perhaps make it happen in parallel to test_linux.

@cjb On my local machine it takes ~3-5 seconds. I'm not sure how to profile it on Jenkins.

@awendland That sounds okay to me.  It probably doesn't take longer on Jenkins.

Actually, it doesn't seem to be slowing down builds. Go ahead and ship.


AMA - Ask me anything?

Hi Bro,
Just wanted to ask you about Twitter data you are showing on Covid Army.
Are you using Twitter API or Just Twitter Advanced Search option?
I'm making project in which I want to add this feature,
Can you help me regarding this?
Thanks

Hey vikrant

@adithya-gundu Hey there

I would to compile YouTubeVanced to LG smartvs.

Hello Vikrant,
sahil this side
I have a question is you friend still hiring for  frontend developer interested.
I'm skilled with the tech mentioned in the tweet
here are some of my past projects
Linkcollect (https://www.linkcollect.io/),
Syntax Erreur (https://www.syntaxerreur.com),
and Crito (https:/www.crito.design),
Please contact me at<EMAIL_ADDRESS>to discuss further.

Hey @bhatvikrant,
came across your github, which is really fascinating. As a newbie, may I ask you to guide me for Development?


pythonPackages.expecttest: init at 0.1.3

Motivation for this change
Adds expecttest which is a check input for several currently unpackaged pytorch packages (torchdata, torchtext, torchaudio).
Things done

Built on platform(s)

[X] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

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

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

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

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

[ ] Fits CONTRIBUTING.md.

Should be good to merge, I just didn't bother to update release notes.

Superseded by 4edbc05a5eb5124822bd2066f85ec5abfa452f54


Fix invalid db migration

country_grid_25km appears to be a typo: it was never created prior to the migration in<PHONE_NUMBER>4048_convert_materialized_views.js and appears not to be currently used.
This change prevents the bootstrap_db from failing with
migration failed with error: CREATE TABLE country_grid_25km_real (LIKE country_grid_25km INCLUDING ALL) - relation "country_grid_25km" does not exist

For convenience, the db/structure.sql is also updated.

The migrations seem to assume the structure is already created, but the bootstrap doesn't initialize the structure. I fixed it here as well
https://github.com/GUI/covid-vaccine-spotter/pull/137


feat(generator): Probe for generator

Adds a new updater for Generators. Will probe the generator config endpoint and add the generator supported feature if one is configured.
Need to piece together a fixture with a generator as I don't have one personally to test with.

https://github.com/pyenphase/pyenphase/blob/b4eecda718fd89894396d48e1c5ec484898ffe99/tests/test_retries.py#L296
Can you replace "/admin/lib/tariff" with "/ivp/ss/gen_config" as this test only works on last probe, which now is the added generator probe.

Not sure how to fix the test that's failing.

Not sure how to fix the test that's failing.

https://github.com/pyenphase/pyenphase/blob/b4eecda718fd89894396d48e1c5ec484898ffe99/tests/test_retries.py#L296
"/ivp/ss/gen_config" back to "/admin/lib/tariff".
For COV testing maybe copy like 7.6.175_with_cts to new test fixture adding the shared generator file. And maybe add a readme file to the fixture folder explaining how it was pieced together for future reference.


Add var creation methods for reader

Summary:
For reader.hpp we need methods for static_matrix(i, j) and static_vector(i) to read in a static matrix. One small issue atm is that when we call log_prob_grad or log_prob_propto we pass in a vector of var types to the model's log prob that is then sent into the reader to be deserialized into the model's containers. This means that in the static_matrix etc functions we will have to do a to_var_matrix() and do a full copy. Though idt there's any non-trivial way to get rid of that copy.
Current Version:
v2.24.0

The only thing I can think of is actually passing in a var to the model's log_prob and doing the unpacking for the dynamic case. On one hand that feels nice but unless we did something clever with the views in #2024 I think this would end up with more copies (since right now a "copy" of a var to a var is really just a copy of a pointer)


[Desktop UI] Download individual desktop historical data as JSON or CSV

User story
Allow users to download the individual desktop historical data, including all the run happened in the selected time span and the attributes data, in a JSON or CSV format
Solution
Add a download button, same as https://github.com/chef/automate/issues/3503, using the new API in https://github.com/chef/automate/issues/3544

Mockup
sm:
https://chef.invisionapp.com/share/7ZWRC1GNQ2P#/415174051_Desktop_Dashboard-Daily_Unknown-Desktop_Detail-2-Sm
Half screen - xlg:
https://chef.invisionapp.com/share/7ZWRC1GNQ2P#/414257682_Desktop_Dashboard-Daily_Unknown-Desktop_Detail-2
Full screen - xlg: https://chef.invisionapp.com/share/7ZWRC1GNQ2P#/415415417_Desktop_Dashboard-Daily_Unknown-Desktop_Detail-2-Enlarged

this isn't actually blocked on the api work, so i'm moving it to prioritized

endpoint sample is:
curl 'https://a2-local-inplace-upgrade-dev.cd.chef.co/api/v0/cfgmgmt/reports/export' \
-d '{"output_type":"csv","sorting":{},"node_id":"43589d3e-f1bb-45b5-8789-03508ed37891","filter":[],"start":{"seconds":1591488000},"end":{"seconds":1591660799}}'


Lesser Illustrious Insight is ignored

I tried to simulate profits for Azureweave Bolts with Lesser Illustrious Insight, but numbers in "CraftSim Average Profit" window did not change when I added it. When I manually changed skill value in "CraftSim Simulation Mode" window, calculated profit also was not updated.
IIRC this worked about month ago.
Version: 14.4.1

I played a bit more with this and looks that I did not pass some threshold. So not an issue.


adding description about proxys to readme

I was struggling before finding this on the issue section. I think it should be on the main readme because some people are still new to some params on Express.

Coverage remained the same at 97.543% when pulling 7addce5214b1c55490ae21c09f4e6924831b9677 on fnaquira:readme-proxy into bc48c35f04d4a09738ff7596f0c6fe4757a22e4a on AdamPflug:master.

I think you're right that this is worth including. Could you also include a link to the relevant express documentation and a warning that the value "true" would allow for bypass of the express brute functionally https://expressjs.com/en/guide/behind-proxies.html

Now it is. Thank you for the consideration.

Thanks for contributing :)


Create a Footer 12 white

Here is a reference to the component-->

Please assign me.
I have also created a PR ....please review my PR.

Go ahead @rohan9024

@Rajdip019 done 👍


[Removal]: Spare Nylon Ferret

Hotspot Name
spare nylon ferrer
Hotspot b58 Address
11PGQvhpfxxmWboNcECP5zm9WE1rJFcBuAF4G3tU5KiAUas922t
Discord Handle
No response
Hotspot Manufacturer
PantherX
Removal Reason
I put the hotspot in the real location to provide the real coverage
Modifications
No
Extra forwarders
No
Extra antennas
No
Additional Information
Could you please check my set up and help to remove from the deny list. I bought this three hotspots at the beginning of this month in  the second hand market. at that moment i have no idea about what is deny list. I do not even know there is some mechanism that u can cheat or game the system. i was also wondering why there hotspots cannot make any rewards. Until i saw the red mark on explorer, and i asked some experts in the community. please please check my hotspots set up, i provide the real coverage, please help me remove from the deny list.

We have taken into account this removal request in the next iteration of the denylist. It may take some time before it's processed. This is an automated comment due to the volume of addition and removal requests. A future tool is in the works to provide more insight into the analysis approach made by the Helium team and community members that maintain this list.


added setup.py

Added a setup.py to make this package easier to use. Requires setuptools.

@JonnoFTW sorry I just saw this pull request. I wonder why it didn't alert me in my email. Will try this out and merge if all is good.

https://pypi.python.org/pypi/textteaser/0.3
I already see "textteaser" python package, if you want to upload this package to pypi -- which is recommended -- then you'll prolly want to go with a different name.

Thanks. It looks like he's using a previous version of TextTeaser that doesn't work today. I wonder if it is possible to replace it.

I would recommend something like 'textteaserpy' or even 'txtteaser' if you want to change the name for pypi.
I would also recommend manually writing the install_requires since there is only one dependency and reading the file line-by-line has its complications:  empty lines, invalid package names, and also doesn't allow the ability to download packages from github.
See this http://stackoverflow.com/a/16624700/1713216 post for more information on reading the requirements.txt for setup.py

For all this to happen, the DataTeaser team would need to come up with an appropriate package name, (I just wrote the setup.py file).


Improve driver handling in platforms

Interface from MPF:

enable(power1, duration1, power2, duration2).

A 10ms pulse would do enable(1, 10, 0, 0)
Pulse 10ms and enable for 200ms would be enable(1, 10, 0.2, 200)

implemented in next

fixed in dev


Structured SAFT gamma Mie

Cool extension of SAFT gamma mie which accounts for the structure of the molecule:

Alkanes: https://aip.scitation.org/doi/10.1063/5.0048315
Alcohols: https://pubs.acs.org/doi/abs/10.1021/acs.iecr.2c00198

It's a bit weird that it's only comparable to regular SAFT-gamma Mie (probably an indication of the limitations of the underlying theory). But would be interesting to see if Clapeyron can handle this input type.

with a quick glance at the original paper, i think that pair structure can be represented by an interaction matrix for each term, something like a SingleParam{Matrix{Float64}}

one problem is that the size of the interaction matrix is group and component dependent. hmm, maybe we need a new type of parameter capable of expressing this relationship

Could just be a user-defined input where we have a check in the constructor that the size is consistent


Request: Randomize lines

It would be a nice feature to have a "Sort by random" or something, to quickly shuffle all the lines into a random order.
Thanks!

Hello,
Sublime text already offers this functionality natively.
From the Menu
Edit > Permute Lines / Permute Selections > Shuffle.
From the command palette:
Shuffle


Any plans to make Azure SDK for .Net available for Unity on Hololens?

Hi,
Are there any plans to make the Azure SDK for .Net available for Unity UWP, similar to what AWS has (AWS (https://github.com/aws/aws-sdk-unity)?
For some context, pls see see https://github.com/Azure/azure-service-bus-dotnet/issues/234.
Thanks

Some points which will need to be addressed:

threading: Unity relies on it's own implementation of coroutines
web clients: Unity uses the UnityWebRequest class instead of C# classes
Crypto: System.Security.Cryptography.HMAC256 is not available when building for Hololens/UWP; we had to use System.Security.Cryptography.HashAlgorithm.Create("SHA-256") to make it work, which is how it seems AWS solved it in their SDK.

@twitchax Hey Aaron, can you take a look at this issue?

Hi @joaocc,
I'd like to to do some more investigation here.  What kind of Azure scenarios are you looking to implement using the Azure SDK?

Hi. We are trying to connect Hololens to Azure ServiceBus for a project on assembly in manufacturing. If you want more details I can provide offline. Thx

Hi @joaocc,
I think you may need support in the Azure Service Bus Client Library: the libraries here only support management scenarios (i.e., listing, creating, deleting instances).  However, it would be interesting to know if you have a management scenario in HoloLens, as well.

Hi. We opened an issue there too (https://github.com/Azure/azure-service-bus-dotnet/issues/234). At this moment, we don't really have a management scenario for Hololens. Thx!


The specific setting (e.g., batch-size) to reproduce the inference speed in Tab.3?

In the Tab.3 of the paper, there are some values indicating the inference speed of LeViT models, such as 12880 img/s for LeViT-128S and 9266 img/s for LeViT-128.
Would you please list the specific setting (e.g., the batch-size, the type of GPU), because the same architecture can run with various inference speed under different settings.

https://github.com/facebookresearch/LeViT/blob/main/speed_test.py
was run on a Tesla V100-SXM2-16GB, see
https://github.com/facebookresearch/LeViT/blob/main/.github/timings.txt
for details. GPU batch sizes are the highest power of 2 that fits in memory.
For comparison to other models, I would recommend re-running the benchmark for all models on the same machine, with as few other process running as possible.

Thanks~


argo ingress doesn't work

Using the argo ingress results in a 502 bad gateway

I could not reproduce it. For me it's working with GH CLI Port Forward in Codespaces and Locally


AspNetCore 3.0 Blazor Server inconsistent rendering between server and client of authorized components

I am seeing a weird issue during the runtime of my ASP.NET Core 3.0 Blazor Server app where the prerendered page properly renders HTML inside of an <AuthorizeView Policy="Admin"> but quickly gets updated to render the <NotAuthorized> version once the browser client loads. I've attached a video demo below as well as the relevant source code. You can see the view flicker from the properly authorized view to the unauthorized one, even though the user remains logged in with the appropriate claims.
Demo

Source
In Startup.cs:
services.AddAuthorization(options =>
{
    options.AddPolicy("Admin", policy =>
    {
        policy.RequireAssertion(context => context.User.HasClaim(c => c.Issuer == "Microsoft"));
    });
});

In NavMenu.razor:
<AuthorizeView Policy="Admin">
    <Authorized>
        <NavLink href="/admin">Admin</NavLink>
    </Authorized>
</AuthorizeView>

In Admin.razor:
@page "/admin"
@attribute [Authorize(Policy = "Admin")]

Admin

I should add that the same exact app works just fine in development. Can this have something to do with the fact that the production app uses Azure SignalR and for some reason that fails to read claims on the user session?

I've added some debug output to the Razor page to enumerate over all user claims using the code below. Something weird is happening where the initial server render contains the proper set of claims and the right issuer, and then when the client loads it switches all the issuers to LOCAL AUTHORITY and duplicates the claims.
Page.razor:
<AuthorizeView>
    <Authorized>
        @foreach (var claim in context.User.Claims)
        {
<EMAIL_ADDRESS>- @claim.Value Issued By @claim.Issuer

        }
    </Authorized>
</AuthorizeView>

Server rendered:

Client rendered:

@pheuter thanks for contacting us.
@pheuter The signalr service captures the identity of the current user before redirecting and as part of that the set of claims might be different.
If the user identity varies for prerendered requests vs for requests with signalr service, that's likely to cause the issue.
I'm not sure if the claims can be normalized when the signalr service captures them, but you can probably apply a claims transformer on the non-signalr service case to standarize them.

@javiercn Can you point me to an example of "apply a claims transformer"?

This current discrepancy between local dev and prod is affecting the deployment of our application. Is there a reasonable workaround you can suggest, ideally with some code example that applies to this particular case?
I'm using Microsoft auth which automatically handles setting the claims for me, so I'm not exactly sure what you mean by applying transformers.


Please

Please restore every coding I did to its original format

Hi @branden1992, I think you may have the wrong repo as we don't have any code of yours


Can't build due to INAppStoreWindow pod spec

When attempting to install dependencies via CocoaPods, prior to building Sonora itself, it breaks due to an issue in INAppStoreWindow.podspec:
➜  Sonora git:(master) ✗ pod install
Analyzing dependencies
Pre-downloading: `INAppStoreWindow` from `git://github.com/sonoramac/INAppStoreWindow.git`

[!] Invalid `INAppStoreWindow.podspec` file: [!] [INAppStoreWindow (1.2)] Clean paths are deprecated. CocoaPods now cleans unused files by default. Use the `preserve_paths` attribute if needed.. Updating CocoaPods might fix the issue.

 #  from /Users/arve/Projects/Sonora/Pods/Local Podspecs/INAppStoreWindow.podspec:9
 #  -------------------------------------------
 #  	s.source   		= { :git => 'https://github.com/indragiek/INAppStoreWindow.git', :tag => 'v1.2' }
 >  	s.clean_paths	= 'SampleApp'
 #  	s.platform 		= :osx
 #  -------------------------------------------

Fixed in https://github.com/sonoramac/Sonora/pull/63


Expand post shortcodes

When I put an image into the Post body, it creates a shortcode that looks something like this:
[caption id=\"attachment_15\" align=\"alignnone\" width=\"300\"] Laina Morris became the \"Overly Attached Girlfriend\" meme. She's embraced her online fame.[/caption]

Same thing happens for audio files, and presumably many things you might insert into a WP post.
These shortcodes should be expanded into HTML before putting them in contentencoded.  And that should also prevent them from showing up in the story description.
Seems like maybe do_shortcode() would fix this.  Or would that also break the ability to roundtrip the Post body?

A call to  apply_filters('the_content', $post->post_content) is the way WordPress deals with shortcodes (and any other modifications to post content) before rendering the post body for the front end.
Read more about apply_filters.
Fixed in 380cc4c764d4bf323937713981c5060f8be4b65b.

Looks good.
Enhancement: improve the round-trip-ability of Wordpress content with #58
Upgraded to a Bug: need to remove the newlines in the contentencoded/description, as they would break a non-Wordpress CMS #53


After creating seed on windows, get critical error

Also got a critical error after seed loaded. Was able to restart, but then it said it could not get all information from wallet713v2.toml due to read error. The wallet worked after that though.

Turns out grinbox was not running. The disk was full and had to restart rabbitmq. Will increase hard drive space and look into some other workarounds. I will test windows again and if that was the issue will close these.


Branch 2.5 tbds

Why I'm doing:
What I'm doing:
Fixes #issue
What type of PR is this:

[ ] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Does this PR entail a change in behavior?

[x] Yes, this PR will result in a change in behavior.
[x] No, this PR will not result in a change in behavior.

If yes, please specify the type of change:

[ ] Interface/UI changes: syntax, type conversion, expression evaluation, display information
[ ] Parameter changes: default values, similar parameters but with different default values
[ ] Policy changes: use new policy to replace old one, functionality automatically enabled
[ ] Feature removed
[ ] Miscellaneous: upgrade & downgrade compatibility, etc.

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

[x] This is a backport pr

Bugfix cherry-pick branch check:

[ ] I have checked the version labels which the pr will be auto-backported to the target branch

[ ] 3.2
[ ] 3.1
[ ] 3.0
[ ] 2.5

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.17 out of 18 committers have signed the CLA.:white_check_mark: LiShuMing:white_check_mark: Youngwb:white_check_mark: zombee0:white_check_mark: amber-create:white_check_mark: banmoy:white_check_mark: trueeyu:white_check_mark: stdpain:white_check_mark: evelynzhaojie:white_check_mark: before-Sunrise:white_check_mark: ZiheLiu:white_check_mark: wyb:white_check_mark: Astralidea:white_check_mark: yongbingwang:white_check_mark: sevev:white_check_mark: silverbullet233:white_check_mark: packy92:white_check_mark: HangyuanLiu:x: mergify[bot]You have signed the CLA already but the status is still pending? Let us recheck it.


Can any human explain me the whole process plss?

this automates reporting an account with different instagram accounts


Suggestions

I believe these modules should be considered for reviewing:
PNP - Pointers and Pings, to substitute pings
Automatic Journal Icon Numbers, makes having a multi room dungeon more manageable.
Token Tooltip Alt, all the tooltip things are almost possible.

Hey! Sorry for the late response.
I took a look at the modules you linked. For PNP, that's actually one that I debated back and forth on before finalizing Pings as our personal solution. We simply didn't really need the additional functionality of PNP, and the "long-press to ping" seemed more intuitive to us.
As for Automatic Journal Icon Numbers, that could potentially be something to look at. I'm currently a fan of Pin Cushion, and I'm concerned how nicely this module would play with it. But I will add it to my "Modules to Review Later" section, as it could be a good QoL addition.
As for Token Tooltip Alt, I wonder how that plays with some of the modules I already have installed that affect tooltips for tokens. The customization is nice, but might take some tweaking. Will also add this to my "Modules to Review Later" section!
Thanks for your suggestions!

I'm glad to have helped.
As for, Automatic Journal Icon Numbers I never had a confict with pin cushion that I also use.


NaN at meanNumber() for FLOAT16

Big arrays get NaN meanNumber(). Max size of array NaN happens is around 10000.
import org.nd4j.linalg.api.buffer.DataType;
import org.nd4j.linalg.factory.Nd4j;

public class NanTest
{

	public static void main(final String[ ] args)
	{
		final DataType dataType = DataType.FLOAT16;
		System.out.println(Nd4j.ones(dataType, 16, 1, 1, 1).meanNumber());
		System.out.println(Nd4j.ones(dataType, 16, 1, 100, 100).meanNumber());
		System.out.println(Nd4j.ones(dataType, 16, 1, 1000, 1000).meanNumber());
	}

}

Output is
1.0
NaN
NaN

Version
		<dl4j-master.version>1.0.0-M1</dl4j-master.version>
		<nd4j.backend>nd4j-cuda-11.2</nd4j.backend>
		<dependency>
			<groupId>org.bytedeco</groupId>
			<artifactId>cuda-platform-redist</artifactId>
			<version>11.2-8.1-1.5.5</version>
		</dependency>

I confirm this. reduce_mean handled by ordinary sum()/n Mean impl. not a numerical_stable alternative.
afaik we have numerical stable summary stats but only its variance exposed as callable op. We can implement mean the same way by using summary stats. Or we can re-write mean as summary stats intended to get not only mean.
(@agibsonccc  Besides, I optimized summary stats for auto-vectorization but it never was merged )
bfloat16 is a lot better in term of such methods

@quickwritereader mind resubmitting a cleaned up draft of that?

ok so instead of re-implementing the mean with a running average algo that could give the precise result especially in this case I just used float type for aggregation, as there are other similar reduction operations. so it is a quick proper fix for now.

#9380


Docker improvements.

This PR consists:

Improve the docker organization;
Solve the share between the host and the container to compile d code;
Improve the description regarding how to execute the docker.

@veelo please take a look at this PR, and check if it solves #2


Remove assert that causes a crash

It's been noted that this assert causes a crash - really, when shouldn't crash. The function will already return an error that can be handled as needed during the end block. The only possible code path for this assert to crash would occur when an error is already being returned, so this should not result in any behavior change except not crashing and returning that error.
b/262285099
b/262240495

Closing this PR because of https://github.com/grpc/grpc/pull/35857


Remap support

Hi! I've just found this web-app: https://github.com/remap-keys/remap
It provides the ability to remap keys and update (QMK) firmware from the browser. This seems to be a much nicer way than using QMK Configurator, exporting layout file or firmware, using QMK Toolbox or qmk CLI, etc.
If I understand correctly, these are the steps to add crkbd support:

JSON file from https://github.com/the-via/keyboards/blob/master/src/crkbd/crkbd.json has to be submitted at https://remap-keys.app/keyboards by the author of the keyboard
then it gets reviewed and approved by the Remap maintainers

I found this on Discord:

There are JSON files for VIA support in the the-via/keyboards repository, are not in the qmk/qmk_firmware repository. And, there is no any licenses in the the-via repositories. It means that we can't use them without getting approval by the original submitter, we think.

also:

If the third person can get an approval from the keyboard author and send the evidence to us and we can confirm that, the answer is yes.

So if you can give me an approval for this submission here, I can try to do it. But if you can do it yourself, I think that would be better.
Thanks for the awesome keyboard!

Never mind, it's already supported! I just didn't know that I need to add RAW_ENABLE = yes to the rules.mk.


web: Create a tutorial to showcase the usages of DomSideEffect

implemented with https://github.com/JetBrains/compose-jb/pull/975

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


poor performance for whole-system search with _lastUpdated

Describe the bug
A clear and concise description of what the bug is.
Doing a whole system search like the following on the large postgres DB took over 2 minutes  with over 700 resources matching
?_lastUpdated=2020-10-20T19:39:06Z
Also looking for any resource updated since date for the whole system is taking over 1 min 21 seconds finding 0 resources that match.
?_lastUpdated=ge2020-10-30
To Reproduce
Steps to reproduce the behavior:

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

Expected behavior
A clear and concise description of what you expected to happen.
Was expecting the whole system search on _lastUpdated to go quicker as it might be a more common search.
Additional context
Add any other context about the problem here.

possibly related to #264 and #1391

investigate migration of whole-system search to new query builder.  there is related item for adding last_updated column to the global LOGICAL_RESOURCES table...that is separate.

This item should have been addressed by issues #1921, #1922, #1923

with the latest code the first search finding last updated for a specific date of over 700 resources, the search now comes back in 500 ms
Ran the second search with a changed date to more current to get 0 results. and it came back in 200 ms. Closing issue.


Graph Laplacian is used before being defined

Move the use of the graph Laplacian to after its definition, https://github.com/v715/v715.github.io/blob/a94f687f1ccbe21a9bd37be4abeb2adc93620f96/_posts/2022-01-31-graph-cuts.md?plain=1#L61-L79

Also here https://github.com/v715/v715.github.io/blob/a94f687f1ccbe21a9bd37be4abeb2adc93620f96/_posts/2022-01-31-graph-cuts.md?plain=1#L99-L105


Email notification is not sent when CLA Manager request is rejected

Background

Launch Corporate Console
Login as CLA Manager
Click Get Started
Search for a company to join the company
Select the Company
Click JOIN COMPANY
Notification email is sent to the CLA Manager of the company
Login to Corporate Console as CLA Manager to accept the request to join the company
Click on the Company which has CLA Manager request
Click Reject
Observed that email notification about rejection is not sent to the CLA Manager who requested to join the company

@wanyaland we send an email when the CLA Manager is accepted, but not rejected. Can you help me review the backend, diagnose, and add logic to send the email upon rejection?
//CC @WillsonHG cause you brought this up today

Verified and observed that email is sent when CLA Manager request is rejected


rpm: fix build on Darwin

RPM needs a 13.x SDK or newer.

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Finally, macOS Nix users can have a decent package manager.

RPM 4.20 is a non-trivial effort to package. That’s way beyond what I want to do to update it for Darwin. If this isn’t mergable, I’d rather leave Darwin marked broken.

I think it’s fine to merge this and let someone else handle RPM 4.20 as long as we can point the fetches to the copies of the commits that were actually merged rather than the potentially ephemeral ones from the PRs.

I fixed the commit to be the one from the repo.

The other PR needs its commits changing too (it seems like they do rebase merges).

No changes except I retargeted to master due to the low number of rebuilds.

@emilazy Is this good to merge? It’s blocked currently.


Add slack message on TSV load complete

Fixes

Fixes #356 by @AetherUnbound
Description

This PR adds a Slack message that is triggered when TSV loading is completed for a particular provider. It does this by adding a new report_load_completion task which runs if the load_from_s3 task completes successfully.
The message is logged to the Task log, and is also sent as a Slack message to the notifications channel if in the production environment (or if the slack_message_override env variable is turned on)
Currently opened against #285 for ease of testing as it is dependent on those changes. Will be rebased onto main after #285 is merged.
Notes/Todo:

The pull_data duration has a few sticking points:

The pull_data task pulls all the data for all media types; there isn't a great way (as far as I can see) to determine how long it took to pull data for an individual type. The total time for all media will have to be reported for each  media type.
Although Airflow clearly tracks task duration, I wasn't able to come up with an easy way of accessing this data 🤔 Instead I'm "manually" determining the duration in the pull_data wrapper.

When we test the DAGs in Airflow, we generally don't wait for the pull_data task to fully resolve, and instead manually set it to success after a few 100 lines have been written. This sends a SIGINT to the task, such that my duration calculation is not run or broadcast when testing this way.

Testing Instructions

Run a provider workflow in Airflow, manually setting the pull_data task to successful after a few 100 lines have been written.

Make sure that the remaining tasks complete successfully
You should see a report_load_completion task for each media type in your provider
Check the logged info in the task log. Note that duration is not reported accurately if you stopped the task early.

Set the ~force_slack_alert~ slack_message_override environment variable and set up a Slack connection. Re-run the provider workflow. This time a slack notification should also be sent.

Run the provider workflow a third time, but manually set the pull_data task to failed. The report_load_completion task should be in the upstream_failed state, and the Slack message should not send.

Checklist

[x] My pull request has a descriptive title (not a vague title like Update index.md).
[x] My pull request targets the default branch of the repository (main) or a parent feature branch.
[x] My commit messages follow best practices.
[x] My code follows the established code style of the repository.
[x] I added or updated tests for the changes I made (if applicable).
[x] I added or updated documentation (if applicable).
[x] I tried running the project locally and verified that there are no visible errors.

Developer Certificate of Origin

Developer Certificate of Origin
Developer Certificate of Origin
Version 1.1

Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
1 Letterman Drive
Suite D4700
San Francisco, CA, 94129

Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.

Unscientific size comparison:
# Get the initial size
curl -so /dev/null http://localhost:8000/v1/audio/\?format\=json -w '%{size_download}'
21583

# Generate all waveform data
> curl http://localhost:8000/v1/audio/\?format\=json | jq '.results[].waveform' | xargs -L1 open

# Get the new size
❯ curl -so /dev/null http://localhost:8000/v1/audio/\?format\=json -w '%{size_download}'
201138

So about 9.3x bigger.

I think it might also be good to add some documentation to the top of slack.py regarding the slack_message_override Variable

@AetherUnbound Agreed, and done! Sorry to add something last minute but this made me realize that we should move the should_send_message check into send_message so that all messages are gated, and that folks don't have to remember to make that check themselves for notifications in the future.

Sorry to add something last minute but this made me realize that we should move the should_send_message check into send_message so that all messages are gated, and that folks don't have to remember to make that check themselves for notifications in the future.

No worries! And I was thinking about that too - sometimes I like being able to send slack messages while testing something with ipython locally for instance, so I thought it might be okay to not leave it gated. On the flip side though, I could always just change the variable in the DB and test that way :smile: good call!

@obulat @krysal - we'd like to deploy this tomorrow, any chance y'all could review?


DOCS-1190: RELEASE.2024-04-18T19-09-19Z

Partially addresses #1190
No staged build unless someone requests it.
Summary
After some thinking, we've leaned towards just making a note of the upgrade step and calling it done. We do not typically make extended discussion of backward-breaking changes at this time, and have no where to keep that sort of guidance.
Maybe in the future or as part of a larger re-arch we can consider where we would best keep that kind of guidance.
As far as the rest:

We are not covering s3zip today, so that's a no-op. We should leave the ticket open in the event we have bandwidth to document the feature later
No changes to Console that need documentation at this time
Added a quick callout on the warning behavior to the Versioning page
Metrics v3 is also still In progress, come back to this once the project is fully baked.

@feorlen back to you!


Add filters in the url

EX-3511

Remove the FacetsQueryChanged from the event.types.ts in the facets module


Password reset is not working

Describe the issue:
Password reset is not working
https://user-images.githubusercontent.com/39077751/165075566-ad828bf5-8a90-4fa1-8f6d-30bf84795b94.mov
How to reproduce:

Login to console
Navigate to Manage-> Account Management
Enable password reset via recovery e-mail in Password reset pane
Logout and validate the link to forget password available in the console login page
Navigate to my account login page and check the same
Reference document : https://is.docs.wso2.com/en/latest/learn/configuring-password-reset-with-email/

Expected behavior:
Forget password link should be available.
Environment information (Please complete the following information; remove  any unnecessary fields) :

Product Version: [e.g., IS 5.10.0, IS 5.9.0]
OS: [e.g., Windows, Linux, Mac]
Database: [e.g., MySQL, H2]
Userstore: [e.g., LDAP, JDBC]

Optional Fields
Related issues:

Suggested labels:

Need to enable account recovery config for password recovery

Can you verify it?


Redundant whitespace appears on wrapping into a div

Basically, I just want to wrap a text into div but the whitespace appears right after the opening tag. This is not critical but appending the whitespace is weird. See the screenshot:

The wrap function is not the cause here. You are looking at the pretty-printed output of the element, which at runtime adds newlines and indents to div tags. They're not "real" textnodes in the DOM.
If you don't want pretty printing, you can disable that on the Document Output Settings.
See e.g. here with it off:
http://try.jsoup.org/~5SzjZkN6afGmypySbXYARrTzx1Q


[Configuration] Change default jobs

Update in default values in job config (packit-service/packit#703).

Looks like the regeneration did not go well...

I do not know what's the problem, I did it as always..

I am using older hugo, so I regen'd and rebased your PR.

Thanks


[WFCORE-3306] add-user.sh shouldn't throw AddUserFailedException if '%' character is used in user name.

https://issues.jboss.org/browse/WFCORE-3306

Can you please squash those two commits into one so all references to JBEAP can be dropped from the history entirely.

I have squashed the commits.
"the username with '%' in the name should be verified as being compatible with the Digest authentication mechanism" - I need to write additional tests for the Digests? (DigestMd5MgmtSaslTestCase, DigestSha256MgmtSaslTestCase and DigestSha512MgmtSaslTestCase)

@apintea Please note the request from @darranl above. Someone please comment here when this has been done.

@jmesnil I think this is another one we can close, to progress would need some testing that using '%' in the username works correctly - we will likely be revisiting user management fairly soon anyway.


[WFLY-17655] Check if the org.wildfly.transactions.global-default-loc…

…al-provider capability exists before attempting to register the WeldTransactionServices.
https://issues.redhat.com/browse/WFLY-17655

Thanks @jamezp and @manovotn


Run Tinkerbell on k8s

I'm not particularly sure that this is something that should be tracked in the website repo; although this would make a good article or blog post.
Is there somewhere better to track something like this @mrmrcoleman? and if so is there can we close this issue?

This was another roadmap item, again it needs a new home!


Update ngmodules.org

@astrism, the README has changed significantly, could you please update it? Thanks!

Updated the readme, ngmodules can't handle the youtube link or relative links but I fixed those. I also looked for a way to transfer/share ownership, doesn't seem to be one, but I think I can handle it for now. Alternatively I can delete the module so you can recreate it.

Also the repo is looking great :clap:

Thanks! :D


reference counting interacts with pull

In the following code, the result x will be garbage.
x = ray.pull(ra.zeros([10, 10]))

When ra.zeros is called, a worker will create an array of zeros and store it in an object store. An object reference to the output is returned. The call to ray.pull will not copy data from the object store process to the worker process, but will instead give the worker process a pointer to shared memory. After the ray.pull call completes, the object reference returned by ra.zeros will go out of scope, and the object it refers to will be deallocated from the object store. This will cause the memory that x points to to be garbage.
Currently, as a workaround (we do this in the tests), we can write this code as
xref = ra.zeros([10, 10])
x = ray.pull(xref)

assuming xref and x go out of scope at the same time.
One potential solution is for the call to pull to increment a reference count and to tell the destructor of x to decrement the reference count.

Note that the approach to solving this issue is changed in #407.


[Refactor] Replace BigNumber with native BigInt operations

Problem solved
Short description of the bug fixed or feature added

PR-Codex overview
The focus of this PR is to refactor and optimize the calculateIntMinValues and calculateIntMaxValues functions, and update dependencies in the Contract Checklist component.
Detailed summary

Refactored calculateIntMinValues and calculateIntMaxValues functions for better performance using BigInt.
Updated dependencies in the Contract Checklist component, optimizing data fetching with new methods.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

[!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

#4248  👈
#4247
#4246
#4245
main

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

Join @jnsdls and the rest of your teammates on  Graphite


Upgrade to .NET 6.0

User story
As a developer, I want .NET 5 projects to be updated to .NET 6.0, so that we are aligned with the latest .NET release
Acceptance criteria

.NET5 projects are upgraded
The managed service FHIR services must also have a PR ready to support this

AB#87195

This work is completed.