getting very different results when using pinv from jax compared to numpy version

Description
Hello
Thanks for the great library !
I am using  pinverse from both libraries and the results I get from jax version sometimes is nan, and also is farther away from the result i should be getting.
Any quick thoughts?
import numpy as np
import jax.numpy as jnp
np.linalg.pinv(M)
jnp.linalg.pinv(M)

What jax/jaxlib version are you using?
No response
Which accelerator(s) are you using?
CPU
Additional system info
3.8
NVIDIA GPU info
No response

Can you share the input matrix M? It's not possible to say without a reproducible example.

Note that some difference would be expected, because JAX defaults to operating in float32 precision, while numpy defaults to float64. See JAX Sharp Bits: Double Precision for some info on this.

I have run into this recently with repro below.

because JAX defaults to operating in float32 precision

@jakevdp Is this really applicable here? If I set rcond=1e-15 in the repro below, the result from JAX is correct despite float32 inaccuracy.
Maybe the default rcond value in JAX could be verified?

import numpy as np
import jax.numpy as jnp

np.set_printoptions(linewidth=120, precision=3)

x = np.array(
    [
        -1.5960813392e+02,  +0.0000000000e+00, -2.8550970394e+02, +1.8983549385e+05,
        +3.2236907152e+01,  +3.2469775000e+02, -2.3547361072e+01, -2.1463178817e+03,
        +1.2920604069e-01,  +0.0000000000e+00, -9.4378200689e-02, +3.1609527352e+02,
    ]
).reshape(3, 4)

y = np.linalg.pinv(x)
z = jnp.linalg.pinv(x)
z_ = jnp.linalg.pinv(x, rcond=1e-15)

print(y)
print()
print(z)
print()
print(z_)

prints
[[-2.178e-03  2.620e-04  1.310e+00]
 [ 6.477e-05  3.033e-03 -1.830e-02]
 [-2.112e-03 -2.716e-04  1.267e+00]
 [ 2.596e-07 -1.882e-07  3.006e-03]]

[[ 3.209e-06  2.842e-04  1.018e-08]
 [ 3.429e-05  3.033e-03  1.087e-07]
 [-2.835e-06 -2.501e-04 -8.976e-09]
 [ 5.266e-06 -1.371e-07  8.767e-09]]

[[-2.178e-03  2.619e-04  1.310e+00]
 [ 6.477e-05  3.033e-03 -1.830e-02]
 [-2.112e-03 -2.716e-04  1.267e+00]
 [ 2.595e-07 -1.883e-07  3.006e-03]]

It looks like numpy and jax use different defaults for rcond – in particular, JAX uses an rcond based on np.finfo(dtype).eps, so it will be different for float32 vs float64 input. NumPy always uses and rcond=1E-15, and always casts inputs to float64, regardless of the input type.

Thanks for your timely response Jake.
Yes, the difference is documented. It still took me by surprise and somehow feels different that the typical single vs. double difference, because the repro shows that JAX can achieve high accuracy for smaller rcond even with single precision.
Is there a resource/reason for the different rcond default?

It looks like this was established in the very early days of JAX, and was modeled after tensorflow. I found this discussion in the PR that contributed pinv: https://github.com/google/jax/pull/1656#discussion_r345020024

Hi,
I have a small project where I've been trying to replace Numpy with Jax, and I have run into a similar problem.
I have a feeling that the sparser the matrix becomes, the larger the error is between the Numpy and Jax implementation even when using rcond = 1e-15. However, I am not quite sure how to prove it yet.
I've created a small example in Colab here: https://colab.research.google.com/drive/17-QWd_RvTFNvM_5QtuEGTNeJ1Yn-TucR?usp=sharing

Thanks - I think the issue is that your covariance is ill-conditioned (The condition number is $2^{10}$) which means that for operations like the pseudo-inverse, normal floating point roundoff errors will dominate. JAX's pinv and numpy's pinv have virutally the same implementation, but the results of the operations will not be bitwise-identical as is typical when comparing different approaches to the same floating point computation. When the condition number is high, those floating point rounding errors will begin to dominate the output.
There's nothing really for us to fix here I think – but if your computation is sensitive to the precise numerics of an ill-conditioned pseudo-inverse, it suggests to me that you should look for a different approach to your problem.


chore(release): v1.4.0 🎉

:robot: I have created a release beep boop
1.4.0 (2024-05-28)
Features

mutex: support mutex lock retries via dobj class statics (23b923e)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/ehmpathy/simple-async-tasks/releases/tag/v1.4.0 :sunflower:


[Improvement] buy exact/magic item

It is almost impossible to use a magic item like Dictator's Prophecy Wand from the divination cards as a base item. Currently one would need to

a) scour, then transmute (until exactly the wanted affix)
b) scour, then transmute/augment (could lead to 2 affixes while the div cards always result in exactly the dictator's prefix)
c) chaos, then annul (will never result in a magic item)
d) buy with fractured mod, then scour (results in a fractured item)

All of the above increase the estimated cost by using currency not needed in game. Option d) results in a fractured item which cannot be influenced or lose it's mod when crafting
Proposal

Add exact keyword. This disables the addition of random modifiers.
Add <rarity> keywords normal, magic and rare. Defaults to the lowest possible rarity if exact is given; rare otherwise

buy [<influence>] [<influence>] [exact] [<rarity>] <identifier> [ilvl <number>] [with [fractured] <identifier>]* [for <amount>]
Example
The "The Spoiled Prince" divination card can currently be bought for ~15c (x4 for a complete set)
To represent the cost and predictable outcome one could use the following:
buy exact magic "Metadata/Items/Weapons/OneHandedWeapons/Wands/Wand16"
  with "LocalIncreasedPhysicalDamagePercentAndAccuracyRating8"
  for 60 chaos

Done.
I wanted to do something like this for a while, you gave me the will to actually do it and gave me a nice syntax suggestion, so: thanks ;)

Done.
I wanted to do something like this for a while, you gave me the will to actually do it and gave me a nice syntax suggestion, so: thanks ;)


cryptest-cmake.sh now available

Hi Everyone,
cryptest-cmake.sh now available in TestScripts. The script downloads the CMake files to $(PWD), creates a build directory, and then builds the library and executes self tests.
To use the script:
cd cryptopp
git pull
cp TestScripts/cryptest-cmake.sh .
./cryptest-cmake.sh

After the script runs the CMake files are left in place so they can be used again in the future.
There is also a cryptest-autotools.sh that works the same way for Autotools.

It may also be sensible to enable continuous integration of pull request by doing something like this in Travis and Appveyor:
git clone https://github.com/weidai11/cryptopp /tmp/tmp/cryptopp-source
mkdir build && cd $_
cmake -DSRC_DIR:PATH=/tmp/tmp/cryptopp-source ../
make
ctest

@jcfr,
I enabled AppVeyor and Travis services for both Autotools and CMake.
Let me know what else you need. noloader, gmail account.


Feature Request: add InternalsVisibleTo when creating tests for internal classes

Description
When adding a unit test for a class that is protected, its required to add the "InternalsVisibleTo" to the origin (either as attribute in the file or in the project file (https://www.meziantou.net/declaring-internalsvisibleto-in-the-csproj.htm)
Would be nice to have it detect that the origin class is protected and InternalsVisibleTo is required and then adds it according to the configured prefered method.

Great idea... I have a few things higher on my list, though (like free-form templating)

Ok, I've thought a bit more - and I'm not going to do this one. There isn't anything else in the plugin that modifies source projects - and I think I'd like to keep it that way (at least for now)


docs: fix subset field typo

Type of change:

[x] Bugfix
[ ] New feature provided
[ ] Improve performance
[ ] Backport patches

What this PR does / why we need it:

Pre-submission checklist:

[ ] Did you explain what problem does this PR solve? Or what new features have been added?
[ ] Have you added corresponding test cases?
[ ] Have you modified the corresponding document?
[ ] Is this PR backward compatible? If it is not backward compatible, please discuss on the mailing list first

There is an error in CI, but not related to your changes.
I can fix it for you

thanks

Codecov Report

Merging #961 (e671303) into master (22cfb5e) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #961   +/-   ##
=======================================
  Coverage   31.75%   31.75%
=======================================
  Files          72       72
  Lines        7935     7935
=======================================
  Hits         2520     2520
  Misses       5139     5139
  Partials      276      276

Continue to review full report at Codecov.

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

Hi @GhangZh , thank you for your contribution!
Here is the Contributor T-shirt form[1], if you're interested, kindly take a look :)
[1] https://github.com/apache/apisix/blob/master/CONTRIBUTING.md#contributor-t-shirt


Allow existing users to be added as creators and contributors on resource editing page

Implement feature to search/select an existing user for adding as an author or contributor in the "Add author" and "Add contributor" modal forms.

@pkdash, what is the status of this issue and how can I use your previous work? Has it been merged to develop?

@mauriel133 I think we have to start from scratch on this one. If you can start with necessary UI changes for adding existing users as creators/contributors, I can add any backend support needed.

This issue is same as #1190

This has been implemented and deployed to www. Please verify and close.

OK. Closing


osg install error on windows 7 64

When attempting to install osg on 64 bit windows 7, I get the following console output
Building package osg[core]:x64-windows...
-- Downloading https://github.com/openscenegraph/OpenSceneGraph/archive/OpenSceneGraph-3.6.2.tar.gz...
-- Extracting source C:/osg_stuff/vcpkg/downloads/openscenegraph-OpenSceneGraph-OpenSceneGraph-3.6.2.tar.gz
-- Applying patch C:/osg_stuff/vcpkg/ports/osg/collada.patch
-- Applying patch C:/osg_stuff/vcpkg/ports/osg/static.patch
-- Using source at C:/osg_stuff/vcpkg/buildtrees/osg/src/raph-3.6.2-a71b4e7564
-- Configuring x64-windows
-- Building x64-windows-dbg
CMake Error at scripts/cmake/vcpkg_build_cmake.cmake:202 (message):
Command failed: C:/Program Files/CMake/bin/cmake.exe;--build;.;--config;Debug;--target;install;--;/p:VCPkgLocalAppDataDisabled=true;/p:UseIntelMKL=No;/m
Working Directory: C:/osg_stuff/vcpkg/buildtrees/osg/x64-windows-dbg
See logs for more information:
C:\osg_stuff\vcpkg\buildtrees\osg\install-x64-windows-dbg-out.log
Call Stack (most recent call first):
scripts/cmake/vcpkg_install_cmake.cmake:24 (vcpkg_build_cmake)
ports/osg/portfile.cmake:43 (vcpkg_install_cmake)
scripts/ports.cmake:71 (include)
Error: Building package osg:x64-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with .\vcpkg update, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
Package: osg:x64-windows
Vcpkg version: 2018.11.23-nohash
Additionally, attach any relevant sections from the log files above.
Any ideas??

Duplicate with #6140.
So Close it.
Please track issue #6140 process.
Thanks.


python310Packages.fairseq: init at 0.12.3

Description of changes
I'm opening this PR without a linux machine. I'm leaving this open to get ofborg to build this for me so I can move forward until I get my linux machine back.
Things done

Built on platform(s)

[ ] 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/)
23.11 Release Notes (or backporting 23.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

[ ] Fits CONTRIBUTING.md.

@natsukium I don't know if I can ask you this, but would you mind helping me on this PR. I need a linux machine to continue the evaluation, and mine is out of service at the moment.
I would be happy to help you on any other PR where you need a review / test with darwin.

I tried to pick all your commits to retain attribution.
However there was a formatting mistake, when I squashed on my local, it looks like the attribution is gone. :-(

I don't mind that. Thank you. :)

@natsukium ofborg is passing, I think this is ready. Let me know what you think when you have a moment.


Prepare package for publishing to npm

We need to restructure the package so we can publish it to npm.

[X] I am willing to submit a PR for this issue

Done!


Accuracy of IC15 testing dataset

Can you tell me the accuracy of IC15 of your code?

I dont test model on benchmarks, I just use this model on chinese long-line text detection in practice,


Trying to get my hands on Sapphire SPR CPUs, which Cloud Instance to choose from? (M7i?)

Hello I am trying to test this repo with the mentioned CPU,
After some research I discovered that the Saphhire SPR might be called M7 ? or M7I ?

Could you confirm?
If not, then which one should I choose? Is there a smaller CPU than can do the same? or alternatives? (bigger and smaller)
And finally, where else could I rent it?
Thanks
Edit: I am also noticing there are MANY M7i instances types, ones with more or less vCPU and Memory, I don't know which to choose from??
edit2: source = https://calculator.aws/#/addService/ec2-enhancement?nc2=h_ql_pr_calc

Hi @AIhasArrived , AWS SPR map to m7i.48xlarge.

Hi @Spycsh  thanks for the answer, 10 dollar a hour, is too much for me!
Question: If a borrowed this CPU, do you think I could use it to run MULTIPLE "xtalker" processes at once? I need to make sure my money is worh it, or is it only ONE xtalker possible with one m7i.48xlarge? I need to find ways to multiply even more than x10 the speed you mentioned, maybe by having parallel xtalkers running if its possible? Maybe you can explore this

@AIhasArrived ,

If a borrowed this CPU, do you think I could use it to run MULTIPLE "xtalker" processes at once?
sure you can. xtalker basically bind different cores to processing different image + audio frames. I totally agree that for personal user, SPR is too expensive. What I suggest that you might do is to rent a relatively lightweight CPU and see if it works. And then you can try to apply parallelism. Basically the more cores you have, the more parallel instances you can have and the more speedup you can obtain.

Both m7i.48xlarge and m7i.xlarge have the same CPU "Intel(R) Xeon(R) Platinum 8488C".  What makes this work on the 48x instances but not the smaller one, considering they have the same CPU?  Yes, there are more CPUs in one than the other but running with just 2 CPUs on the 48x large speeds things up by two while on the smaller box this is not the case - the speed stays constant.  Thanks

To partially answer my own question: From https://aws.amazon.com/blogs/aws/new-seventh-generation-general-purpose-amazon-ec2-instances-m7i-flex-and-m7i/  "The Intel QAT, Intel IAA, and Intel DSA accelerators will be available on the m7i.metal-24xl and m7i.metal-48xl instances."  So I assume it is one of those: QAT, IAA, or DSA which is only enabled on the entire box and not the smaller ones.  I am thinking it is DSA (as opposed to QAT or IAA) that is required for these to gain efficiency by running parallel.

To expand on this further: You need to get a whole metal Saphire Rapids server to get the speed ups talked about here.  For my use case using the AWS r7iz.metal-16x gave me results in 92 seconds and used half of it's CPUs.  OVH offers servers of this size for about $570 / month.  AWS is much more expensive if you plan on keeping it always on.  The other options is a GPU - I tested AWS' g3s.xlarge and it gave the best bang for the buck but was twice as slow as running on half of the 16x metal box.


Highlighting a float value in Visual Script mouse gets stuck

Godot version:
3.0 stable
OS/device including version:
Windows 10, Nvidia GFX 1070
Issue description:
If you create a new variable in visual script, define it as a float. Increment the value by 1, then highlight the value your mouse will get stuck.
To unfree your mouse you either have to use CTRL + ALT + DEL or throw your mouse around to get it off the screen like I did in the demonstration.
Here's a demonstration how to do it

This code is gone, so this should no longer happen

@reduz Awesome! Thanks :D


Subscribe and Unsubscribe Event

We have been using laravel-websocket for many years and it was good for many purposes but now migrating to reverb confused me how can get each user subscribe and unsubscribe hook or event to add some logic to it?
for more detail we are holding each user online duration with laravel-websocket but i did not find any useful  detail about  this purposes

Please see many closed issues and PR's about this one.


d3.layout.hierarchy: Allow internal nodes to have value

This adds the ability for the internal nodes to contribute to their value, instead of their value being entirely composed of their children's values.
Adds a new method to d3.layout.hierarchy() to set internal_value in a similar fashion that you set the value for leaf nodes. When recursing, check to see if there's a function for internal_value, if there is, call it.
I am new to d3, so I apologize if this is already do-able, or if I left anything out.

This has been implemented in d3-hierarchy for 4.0!


No instructions on how to run the project

Hi there,
I'm trying to run your project, but I'm having trouble because there are no instructions on how to run it. I've cloned the repository, but I don't know what to do next.
Could you please provide some instructions on how to run the project? It would be really helpful if you could include steps to install any dependencies and configure the project properly.
Thank you very much for your time and help.
Best regards,
Rishi

Hi
In section 1 - 6. Starting The Mobile App Development with Expo Go for ChatGPT Project Development
We go through all the steps you need to build the project.
To open and run a React Native project with Expo on Mac, you can follow these steps:
Ensure that you have Node.js and npm (Node Package Manager) installed on your Mac. You can check their versions by running the following commands in the terminal:
cssCopy code
node --version npm --version
If they are not installed, you can download and install them from the official Node.js website.
Install the Expo CLI globally by running the following command in the terminal:
Copy code
npm install -g expo-cli
Navigate to the directory where your React Native project is located. For example, if your project is in a folder called "my-react-native-app," you can navigate to it using the cd command:
bashCopy code
cd path/to/my-react-native-app
Install the project dependencies by running the following command:
Copy code
npm install
Once the dependencies are installed, you can start the Expo development server by running the following command:
sqlCopy code
expo start
This command will start the Expo development server, and you will see a QR code in the terminal and a Metro Bundler interface in your default web browser.
To view your React Native app on a physical device or emulator, you can use the Expo Client app. Install the Expo Client app from the App Store or Google Play Store on your device.
With the Expo Client app installed, you have a couple of options to open your app:
Scan the QR code displayed in the terminal using your device's camera. This will prompt the Expo Client app to open and load your app.
Open the Expo Client app on your device and sign in with the same account used to start the Expo development server. Once signed in, you should see your project listed, and you can tap on it to open and run your app.
The Expo development server will compile your app and load it in the Expo Client app. You should now see your React Native app running on your device or emulator.
That's it! You have successfully opened and run your React Native project with Expo on Mac. You can make changes to your code, and the changes will be automatically reflected in the running app.
Happy learning!


“Codec configuration box” cannot be translated in MediaInfo GUI

In MediaInfo GUI, the string “Codec configuration box” cannot be translated. It’s displayed in English even if I added the translation.
https://github.com/MediaArea/MediaInfoLib/blob/393d76993575aa8837fafac28d5821d1fa01210e/Source/Resource/Text/Language/DefaultLanguage.csv#L251
I guess it’s because the string is hardcoded. You probably need to change the English string into the key CodecConfigurationBox.
https://github.com/MediaArea/MediaInfoLib/blob/393d76993575aa8837fafac28d5821d1fa01210e/Source/MediaInfo/Multiple/File_Mpeg4.cpp#L1313

Fixed.


Keyboard addRow array support

?
!

Type
improvement

BC Break
no

Fixed issues
null

Summary
make addRow both support button args and array of buttons.
I haven't test it.
I am sure it will not break this file but i don't know if there is any file else used this function like override or something, if so, it will break.
Please help me finish this.

Hummm, it seems checker broken when starting, instead of code check failed, i think it should be re-run.

Looks to me like you're completely ignoring $buttons here...
You may want to revise this.

No, if the first param is array, all button should be supplied in the first param, if not, func_get_args will got all the buttons. So the second param is actually useless.

Oh yeah, I've misread the func_get_args there...
The problem is though, that is_array($button) will alway be true, because a button is also just an array, an array of buttons is still an array. So the whole else part ist kind of never used in both scenarios...

Sorry but, i saw this
InlineKeyboardButton extends KeyboardButton
KeyboardButton extends Entity
Entity implements \JsonSerializable

My test code is:
class A implements \JsonSerializable
{
    public function jsonSerialize(): array
    {
        return [];
    }
}
echo is_array(new A()) ? '1' : '0';

Then it returns 0,

My mind: how could it be an array?

And i saw your code just now:
Request::sendMessage([
    'chat_id'      => 12345,
    'text'         => 'Test',
    'reply_markup' => [
        'inline_keyboard' => [
            [ // Row 1
              [ // Button 1 in 1st row
                'text'          => 'A',
                'callback_data' => 'A'
              ],
            ],
        ]
    ]
]);

Okay, then it is an array now
I never thought this way...
But, i think it still works,
Let me think, i will update later.

Yeah, that's kind of a "problem" with the library for now...
A lot of stuff can be replaced with pure arrays...
We currently don't have a strong object coupling with keyboards...
The fluent-keyboard package tries to make this a bit sturdier.

Ok, i tried many ways, include this:
    public function addRow($buttons): Keyboard
    {
        if (is_array($buttons)) {
            $is_instance = true;
            foreach ($buttons as $button) {
                if (!($button instanceof KeyBoardButton)) {
                    $is_instance = false;
                }
            }
            if ($is_instance && ($new_row = $this->parseRow($buttons)) !== null) {
                $this->{$this->getKeyboardType()}[] = $new_row;
            }
        }
        if (($new_row = $this->parseRow(func_get_args())) !== null) {
            $this->{$this->getKeyboardType()}[] = $new_row;
        }
        return $this;
    }

And this:
    public function addRow(array $buttons): Keyboard
    {
        foreach ($buttons as $button) {
            if (!($button instanceof KeyboardButton)) {
                return $this;
            }
        }
        if (($new_row = $this->parseRow($buttons)) !== null) {
            $this->{$this->getKeyboardType()}[] = $new_row;
        }

        return $this;
    }

This:
    public function addRow($buttons): Keyboard
    {
        if (!is_array($buttons)) $buttons = [$buttons];
        foreach ($buttons as $button) {
            if (!($button instanceof KeyboardButton)) {
                if (($new_row = $this->parseRow(func_get_args())) !== null) {
                    $this->{$this->getKeyboardType()}[] = $new_row;
                }
                return $this;
            }
        }
        if (($new_row = $this->parseRow($buttons)) !== null) {
            $this->{$this->getKeyboardType()}[] = $new_row;
        }

        return $this;
    }

It is really hard to compatible with all situations,
Can we just make a BC break?
I submit this due to laravel's model's where function,
it can be used as:
->where('column', $data)
// or
->where('column', '=', $data)
// or
->where([
'column' => $data,
])

Any more opinion or advice?


⚠ Bofrost.de has degraded performance

In 8887e6c, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1037 ms

Resolved: Bofrost.de performance has improved in a0e088a after 6 minutes.


The name org.freedesktop.PolicyKit1 was not provided by any .service files

Trying to include graphite as a dependency results in:
$ sudo docker exec --tty "$(cat ${container_id})" env TERM=xterm systemctl status uwsgi.service -l

● uwsgi.service - LSB: Start uwsgi

   Loaded: loaded (/etc/rc.d/init.d/uwsgi)

   Active: failed (Result: exit-code) since Thu 2016-08-18 08:46:14 UTC; 58s ago

     Docs: man:systemd-sysv-generator(8)

  Process: 3416 ExecStart=/etc/rc.d/init.d/uwsgi start (code=exited, status=1/FAILURE)

Aug 18 08:46:14 f659bab35d6d systemd[1]: Starting LSB: Start uwsgi...

Aug 18 08:46:14 f659bab35d6d sudo[3421]:     root : TTY=unknown ; PWD=/ ; USER=graphite ; COMMAND=/etc/rc.d/init.d/uwsgi start 2nd

Aug 18 08:46:14 f659bab35d6d uwsgi[3416]: Starting uwsgi (via systemctl):  Failed to start uwsgi.service: The name org.freedesktop.PolicyKit1 was not provided by any .service files

Aug 18 08:46:14 f659bab35d6d uwsgi[3416]: [FAILED]

Aug 18 08:46:14 f659bab35d6d systemd[1]: uwsgi.service: control process exited, code=exited status=1

Aug 18 08:46:14 f659bab35d6d systemd[1]: Failed to start LSB: Start uwsgi.

Aug 18 08:46:14 f659bab35d6d systemd[1]: Unit uwsgi.service entered failed state.

Aug 18 08:46:14 f659bab35d6d systemd[1]: uwsgi.service failed.

Sorry for the late reply ...
When I used Docker for tests here I did something like this .. I'm not sure if it's relevant to your problem and considering you wrote this issue a year ago I guess it's solved by now :)


getCPUVariant fails on Windows/ARM

BUG REPORT INFORMATION
Description
We are working on enabling support for ARM on Windows. As part of that, we have hit an issue when getCPUVariant gets called. getCPUVariant calls into getCPUInfo which expects Linux OS and as such it fails for Windows
Steps to reproduce the issue:

Build moby for Windows ARM32
Start dockerd
Import image/run image

Describe the results you received:
Either step 2 or step 3 fails, because Windows is not expected in ARM specific codepath.
Describe the results you expected:
2 & 3 should work just as on any other platform/architecture.
Output of containerd --version:
>dockerd --version
Docker version 0.0.0-dev, build 982bb1d18-unsupported

I have prepared a possible fix, but as per contributing guidelines, opening an issue first.
https://github.com/jiria/containerd/commit/353fe3073ffef7cef338284daf1e74facb273dea

Gentle ping.

Feel free to open a PR with your suggested fix. I'm curious if there are any other places where assumption is that ARM == Linux/arm CPU, given that has been the case until recently. Also, we currently have no way to CI this combination that I'm aware of (Windows + ARM), so that could be an inhibitor from having non-breaking support for that combination.

Thanks @estesp
We are working on upstreaming the relevant changes across golang and moby.
It is my understanding that we would need to revendor containerd into moby. Is that something you are doing on a regular basis?

This was solved in #2700


Extend Podman Desktop E2E Playwright with Podman Nightly to Mac platform

We have the workflow now working on windows. We want to extend that to a Mac as well once possible.


Testing the package for first conda-forge release

[x] remove cero printing after maximum tech benefit calculation
[x] check alignment problem in the background map
[x] check on histogram plotting for faceting option
[ ] save_layer in add_layer from DataProcessor is not clear
[x] An invalid value encountered in cast error is happening with the raster_to_dataframe method. This is explained in
[x] #352
[ ] Improve message from baseline calibration in run (look messy now)
[x] Adjust default spacing in the legend of the map
[x] Add option to save plots in png format and make that the default

For the first point: I think it is line 1770 in model.py of the main branch. If we remove that the zero should be gone

For add_layer we have the option of selecting normalization, but the only option for normalization is MinMax in RasterLayer.normalization, should we change that to a boolean?

Could we stop this from happening?

warning when coordinate system has another unit than meters

add_mask_layer only accepts vectors, which is fine, but maybe we can print a warning if the type is different than what is OK?

If someone runs the cell get_capactíty_cost without running the cell that reads in the model data in between it crashes. This is as far as I can see the only cell with this behavior. Worth doing something abt it?

In recalibrate_livestock we force people to include all livestock, would it make sense to let people use a selection?

Is this in percentage or ratio? i.e. is the max 100 or 1?

population_to_dataframe creates the dataframe, while all other raster layers are extracted to it. Would it make sense for the other extraction functions to check whether the dataframe exists and create it if not? So that you can call the extraction functions in what ever order you like?

Does it make sense to remove cells with less than 1 household?

Change this to emission costs avoided


Null safety not working

I upgraded your example to flutter 2.12 with command dart migrate.
Run project and getting error:
type '(ScrollNotification) => Null' is not a subtype of type '((ScrollNotification) => bool)?' in type cast #27

The relevant error-causing widget was
ChatsList<ChatBase>
lib/…/chats/chats_screen.dart:201
When the exception was thrown, this was the stack
#0      _ChatsListState.build
package:chat_ui_kit/…/core/chats_list.dart:98
#1      StatefulElement.build
package:flutter/…/widgets/framework.dart:4612
#2      ComponentElement.performRebuild
package:flutter/…/widgets/framework.dart:4495
#3      StatefulElement.performRebuild
package:flutter/…/widgets/framework.dart:4667
#4      Element.rebuild
package:flutter/…/widgets/framework.dart:4189

onNotification: (ScrollNotification scroll) {
          if (widget.scrollHandler != null) widget.scrollHandler!.call(scroll);
          return;
        } as bool Function(ScrollNotification)? <-----,

I haven't forgotten about your problem, I'll test it as soon as possible, have too much work right now!

Changed to return a bool in v 1.2.2


Consider switching default Express page type from page_fillable back to page_fluid

This came up in a conversation with @jcheng5: I merged #850, which changed the default from page_fluid to page_fillable, but there was a drawback to page_fillable that didn't occur to me: if there are many plots or cards on a page, they might get compressed so much that they look bad, or, for plots, so that they don't work at all. The same can happen if there's a fill item (plots, cards, etc) along with content that doesn't automatically resize.
Here's a screenshot of what can happen:

We should probably do this and then maybe implement some vertical scrolling layout (page article or whatever) for express. Is it possible to make page_fillable only fill horizontally? That might work.

I think @cpsievert and I were thinking page_fixed instead (and I might argue for a narrower variant of page_fixed, the bootstrap version is so wide that it is all but indistinguishable from page_fluid most of the time IMHO)

I'm fine with page_fixed.


Starfinder error french translation

Error in Starboard and Aft translation
Don't find this files on Crowdin
Changes / Comments
Roll20 Requests
Comments are very helpful for reviewing the code changes. Please answer the relevant questions below in your comment.

[ ] Does the pull request title have the sheet name(s)? Include each sheet name.
[ ] Is this a bug fix?
[ ] Does this add functional enhancements (new features or extending existing features) ?
[ ] Does this add or change functional aesthetics (such as layout or color scheme) ?
[ ] If changing or removing attributes, what steps have you taken, if any, to preserve player data ?
[ ] If this is a new sheet, did you follow Building Character Sheets standards ?

If you do not know English. Please leave a comment in your native language.

In Crowdin they are under the Character Sheets by Roll20 header. It should be here.
The 'by Roll20' sheets on this GitHub are no longer the ones actively used on the site. Submitting updates here will not update the characters sheets used on Live.

Cassie


Extend drawing API to draw more shapes

The goal is to allow APIs drawing more shapes onto a sudoku image, even variant sudoku elements such as diagonals, dots, comparison signs and so on.

Note
This issue may list some members that they are not appeared in standard sudoku rules, but they will be really useful on drawing, so I will plan to support them in API.

Gallery

[x] Embedded

[x] Single cell

[x] #365
[x] #366
[x] #367
[x] #368 (Triangles & Rectangle)
[x] #369
[x] #370
[x] #378
[x] Corner mark

[x] #377 (for diagonal-touched directions)
[x] #379 (for all surrounding directions)
[x] #381 (for adjacent directions)

[x] Other shapes

[x] #371
[x] #372
[x] #373
[x] #374
[x] #375
[x] #380

[x] Adjacent cell

[x] #357
[x] #358
[x] #359
[x] #360
[x] #361

[x] 2x2 square cell

[x] #362
[x] #363
[x] #364 (White dots for clockwise and black dots for counterclockwise)
[x] #376

[x] Outside

[x] #392
[x] #393

[ ] Grouped

[x] #383
[x] #386
[x] #387
[x] #388
[x] #389
[x] #390
[x] #391
[ ] Killer Cage
[ ] Arrow
[ ] Thermometer

[x] [To be added]

This issue is nearly completed. I'll close it and then implement last items with my pace.


Make Zig 0.11 conform

I have made sure that the project is compatible with Zig 0.11.
I also made the new official Zig Package Management compatible with it.
After merging, you can change the username in the readme back to your own. I have made changes to the readme by adding instructions for use with the package manager.

Thanks for the PR @Klebestreifen!


⚠ ClamAV has degraded performance

In 355a314, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 451 ms

Resolved: ClamAV performance has improved in 218d48f.


HttpPostMultipartRequestDecoder IndexOutOfBoundsException error with netty 4.1.65.Final

The problem happens when using latests vert.x version. see https://github.com/eclipse-vertx/vert.x/issues/3949
But I guess is a problem with netty.
Expected behavior
Uploading multiple form datas/files will success.
Actual behavior
Fails ramdomly.
Steps to reproduce
See original issue. I have a project test case, but not have a minimal test case with netty yet.
Minimal yet complete reproducer code (or URL to code)
Netty version
4.1.65.Final . After  I change to 4.1.59.Final, this problem is gone.
JVM version (e.g. java -version)
OS version (e.g. uname -a)

@liubao68 I think I have found the reason.
@normanmaurer except a check that was missing in the multipartDecoder, i've found a possible issue while debugging within UnpooledUnsafeDirectByteBuf (at least there).
The reason we did not get this issue before in the Junit test was because the underlying check of access to the undecodedChunk while using buffer.getByte(fullPosition) is only checking the following the following in MathUtil:
/**
 * Determine if the requested {@code index} and {@code length} will fit within {@code capacity}.
 * @param index The starting index.
 * @param length The length which will be utilized (starting from {@code index}).
 * @param capacity The capacity that {@code index + length} is allowed to be within.
 * @return {@code false} if the requested {@code index} and {@code length} will fit within {@code capacity}.
 * {@code true} if this would result in an index out of bounds exception.
 */
public static boolean isOutOfBounds(int index, int length, int capacity) {
    return (index | length | capacity | (index + length) | (capacity - (index + length))) < 0;
}

But the underlying buffer has a capacity bigger than writerIndex, so accessing buffer.getByte(writerIndex) does not thrown an IndexOutOfBoundsException (index = writerIndex, length = 1, capacity = 2048).
So when I try to reproduce this issue, I am in fact unable to do so, since there is never such an issue but it should.
I will propose first a fix for the multipart decoder (simple).
But I don't know how to adress this second issue (it should raized an IndexOutOfBoundsException if it is a read operation).


How to use soap in service with different environments?

Hello,
I have remote service with almost the same WSDL interface, the only difference is it's environment: test and production. Test uses own targetNamespace which is different form production. What is the best way to deal with such kind services using soap? Should I generate two client and switch them in runtime, or does soap have any instruments for configure namespace for programmatically?

You don't need to generate two different clients. You can specify the URL to use in the Options field. See https://github.com/bet365/soap/blob/master/doc/soap_client_tutorial.md#using-the-generated-client


Correction README.md

Missing colon in the "full Workflow Example"

Thanks for the correction!  I've merged it into master.


Besides, I would prefer to have these ClientResource files in the _modules folder, so they are completely unavailable from outside the UI.

          Besides, I would prefer to have these ClientResource files in the _modules folder, so they are completely unavailable from outside the UI.

Originally posted by @stefanolsen in https://github.com/screentek/Optimizely/issues/3#issuecomment-1555946460

This has been resolved in update 1.2.0 of the plugin.
https://www.nuget.org/packages/Imageshop.Optimizely.Plugin/1.2.0


Hackage

Is this library really on Hackage like the Readme suggests it?
This package https://hackage.haskell.org/package/sdl2-image seems different than yours.

Hm, good point. I don't think I did close the loop on Hackage there, and someone else posted a different library. I'll reach out to them to see what should be done.


Document report: [Technical specification]

Description

Table of content

Too low
Twice a "5 in the Part III

Pages and Authentication

Authentication has only a subtitle

A but no B

Start of the document

Document versions and information part are "useless"
GitHub is already here for the control versioning

Glossary

Empty glossary
To add

API
SDK
...

Document purpose

Repetitions and missing clarity (from my point of view, maybe not the case for others)
The role of the technical is to decide how the functional will be implemented
The scope and the objectives should be defined on the functional not the technical
In the case these elements are not in the functional, it's a good thing

Project definition

You previously recommend to read the functional which is a good thing
So, don't put functional parts on your technical

Working environment

The version of the SDK should be added
Latest isn't specific enough if the document is read after a new release

Minimum required version

Good point for the minimum version

III - 2 Database
why is nothing on the lower part of the boxes?
Table details and usage
What is the difference between id and userId?
C

Are the matches going to be saved?

Todo

Data structurations
Ways to interact

3 A Colors

Should be on the functional (OK if it's not in it)
Links to the graphic charter are not working (x2)
In the sentence "good usage of_ " is the "_" normal?

3 B Typo

Same as the colours, should be in the functional with the design choices
But again ok if not on the functional

4 widgets

Which is the best option to implement them, if multiple possibilities
In Text field: What is the maximum length and why?
Why no minimum length?
Maximum and minimum length for password also?
In Tag Field: why" _" in Tag _Field?

4 B Icon button

Backslash "" at the end of the description
Navbar is the generic word, think about using footer instead to avoid confusion with header

5

A lot of things should be in the functional but as always, if not in the functional seems ok
But pretty clear, know which type of element it is
The footer is only visible on a few pages, is it normal or a thing you forgot?

5 subscription

Miss the check for the data privacy, etc.

5 Settings

According to the GDPR

Get the data the app has about you
Delete these data

From where can you access the settings? (Only the swiping page?)

5 Job seeker profile

The first time the footer is visible on the capabilities

5 authentication

Only A and no B

Part 6

B to do

Part 7

Pretty clear maybe more information?

Part 8 to do

Severity

Medium (Should be fixed soon)

Version
version 0.02
Expected Correction
This review has been done knowing that the document isn't finished yet
Other Details
No response

With the commit : f7c0be1

Still have the 'Document Information' and 'Document Versions'
Still things that should be on the functional

This won't be put upfront any more.

Still missing close up on the data privacy

This is a legal constraints

Still don't precise if the navbar is a header or a footer

This issue has been closed because the remaining issues have been moved in the issues #15 and #16.
This has been done for more clarity for the assignees.


bug: Protocol Supports non-ECDSA Signature

What is the bug?

The Specification mentions only ECDSA signature support for managing signers.
The validator calls the registry's verifyFidSignature which makes use of OpenZeppelin's SignatureChecker util which supports EIP1271 signature.
As such, the signature is validated by the issuing smart contract and not by ECDSA recovery.
https://github.com/OpenZeppelin/openzeppelin-contracts/blob/e50c24f5839db17f46991478384bfda14acfb830/contracts/utils/cryptography/SignatureChecker.sol#L43
How can it be reproduced? (optional)
Include steps, code samples, replits, screenshots and anything else that would be helpful to reproduce the problem.
Additional context (optional)
Add any other context about the problem here.

wrong repo.


Extension does not installed properly

OS: archlinux
VS Code version: 1.23.1
I installed extension from marketplace. It didn't show any errors. But bar with symbols do not show in under explorer bar.
Commands "Refresh code outline" and "Show in code outline" exists in F1 command line, but doesn't work. Appears errors:
command 'symbolOutline.refresh' not found
command 'symbolOutline.revealCurrentSymbol' not found

There should be a separate button in the sidebar, not under the Explorer tab.

True! I just keep it hidden and totally forgot about it existence ))
Thanks, it works perfectly.

Yeah, but I think that means the Code Outline tasks need to be removed from the command palate, it's super confusing and generates those errors when used.
The context:  I didn't realize that there was a recent change to add code outline as a separate button, which in of itself is annoying (because I didn't really see anything in the doc), so I tried to uninstall/reinstall and then used the command palate to see two tasks:
"Refresh code outline"

@patrys my outline tab is also in the sidebar, what can I do to move the outline tab into Explorer tab? I have just upgraded my VSCode, it didn't work.


Implement zkstore to read / write data from zk with read-modify-write semantics

Note: The pom changes are required to perform proper exclusion of zk being pulled in with different version than required, causing test cases unrelated to this change to fail.

Note: The pom changes are required to perform proper exclusion of zk being pulled in with different version than required, causing test cases unrelated to this change to fail.


Implement ots_getBlockTransactions

Describe the feature
See also:
https://github.com/otterscan/otterscan/blob/develop/docs/custom-jsonrpc.md
This is similar to:
https://github.com/paradigmxyz/reth/blob/1dc0aab51c50cfe6836e54283928b6eca590aa4c/crates/rpc/rpc/src/otterscan.rs#L65-L69
but also needs receipts, which can be obtained via:
https://github.com/paradigmxyz/reth/blob/1dc0aab51c50cfe6836e54283928b6eca590aa4c/crates/rpc/rpc-api/src/eth.rs#L74-L77
https://github.com/paradigmxyz/reth/blob/1dc0aab51c50cfe6836e54283928b6eca590aa4c/crates/rpc/rpc/src/otterscan.rs#L71-L72
ref page cropping:
https://github.com/ledgerwatch/erigon/blob/aefb97b07d1c4fd32a66097a24eddd8f6ccacae0/turbo/jsonrpc/otterscan_api.go#L619-L627
Additional context
No response

Will give it a try.


mpv reports unknown version

This one's minor.

[cplayer] mpv 0.29.0-UNKNOWN Copyright © 2000-2019 mpv/MPlayer/mplayer2 projects
[cplayer]  built on UNKNOWN

I understand "built on UNKNOWN", it's due to --disable-build-date in mpv_options. But "0.29.0-UNKNOWN" seems to be a bug.

@woolwood it is design of code; check the source code...

This changes the builddate to UnitedRPMs, but doesn't change the version:

mpv 0.29.0-UNKNOWN Copyright © 2000-2018 mpv/MPlayer/mplayer2 projects
built on UnitedRPMs

I was talking about the "0.29.0-UNKNOWN" part. I feel like it should be %version-%gver? So e.g.:
mpv 0.29.1-gite9fae41 Copyright © 2000-2018 mpv/MPlayer/mplayer2 projects

Putting sed -i 's|0.29.0-UNKNOWN|%{version}-git%shortcommit0|g' $PWD/%{name}/VERSION in mpv.spec works. But of course this is very minor and maybe more of a preference than a bug—it just seems to make sense to print the actual version rather than the default outdated/imprecise one in VERSION.
With this, mpv --version returns

mpv 0.29.1-gite9fae41 Copyright © 2000-2018 mpv/MPlayer/mplayer2 projects

@woolwood can you make a pull request? Your hand is welcome... :smiley:

Done, enjoy!


[VS Code]

Error:[Description of error message]Steps to Reproduce:1.2.||Version Data||-:|:-||**extensionName**|VSLS||**extensionVersion**|1.0.657||**protocolVersion**|2.2||**applicationName**|VSCode||**applicationVersion**|1.30.2||**platformName**|Windows||**platformVersion**|10.0.14393|

@rachapol007: did you mean to file an issue? If so we'll need some more information to help you out. A description of the issue you encountered and repro steps would be a great. Also, the logs are always useful. You can access them via the Live Share: Export Logs command from the command palette (ctrl + shift + p) and attach them to this issue.
I'm closing out this issue for the moment but will reactivate if you provide the above info. Thanks!


Adding examples README

This includes a few minor tweaks to the DoQ client and server to make them more
usable and easier to run on defaults. This should address #90.

Cool!
If you could just fix the linter errors, I'll disregard the other CI failures, they are not related to your changes.


Disable Menu bar during processing

Hi,
I have noticed strange behavior when pressing on a menu item on the left during resource creation, for example.
Often the UI spins and sometimes the DSC spins as well.
I would suggest that you not only disable the main window, as is currently the case, but also prohibit clicking in the menu.

I could not reproduce the error, but perhaps the error was also related to the automatic invocation of the "Data Offering > IDS Resource" page after saving.
Since d4ca375 the navigation menu blocks until the resource was saved.


VSCode: Component rename inconsistencies

Repro:

Press enter
Result:

Note how the tag on line 12 was not renamed but the file was renamed. Also, the corresponding codebehind class was not renamed

Closing in favor of https://github.com/dotnet/razor/issues/8541.
I tried this on a razor file that has an X.razor.css with the same name and as explained in this issue it renames both, but not the component itself. This happens only when we try to rename a component from inside the same X.razor file.
After that, once we undo action by renaming back to the original name, the Error list window in VS keeps showing the error it found for the renamed file and does not clear the error list buffer unless we close and reopen VS.


multi regen regions

added a way to have multiple of them, since one big one can get really memory and cpu heavy really fast. (still have to figure out how to make the tool work with multiple regions)
Purpose
one big region can easily kill the server, so Divide et impera.
Approach
morge regions means finer controll over what gets automaticly added for reset. Therefore less blocks total
also more cow farts.
Open Questions and Pre-Merge TODOs

[x] still have to make the tool work with multible regions
[x] right now it's a breaking change. We have to import old regenRegion data

Learning
4 million blocks are too much.

Don't pull yet, the automatic check is right, we still have to fix the tool

Done.

Done

 Multible Regen Regionen


Thank you

Struggled trying to get integration with Papertrail using bunyan...tried this and was a cinch, plus the output was better. Appreciate the work.

Well, this is one hell of a nice way to make my day :smile:
Thanks!


build(deps): bump @react-native-async-storage/async-storage from 1.16.1 to 1.19.3

This PR resolves []
Description

Bumps @react-native-async-storage/async-storage to latest
Removes patch for the prev version (issue was fixed in a prev version see more info here)
Deletes hacks.md entry for the patch

PR Checklist

[x] I have tested my changes on iOS and Android.
[x] I hid my changes behind a feature flag, or they don't need one.
[x] I have included screenshots or videos, or I have not changed the UI.
[x] I have added tests, or my changes don't require any.
[x] I added an app state migration, or my changes do not require one.
[x] I have documented any follow-up work that this PR will require, or it does not require any.
[x] I have added a changelog entry below, or my changes do not require one.

To the reviewers 👀

[ ] I would like at least one of the reviewers to run this PR on the simulator or device.

Changelog updates
Changelog updates

Cross-platform user-facing changes

iOS user-facing changes

Android user-facing changes

Dev changes

bump @react-native-async-storage/async-storage from 1.16.1 to 1.19.3 - gkartalis

Need help with something? Have a look at our docs, or get in touch with us.

This PR contains the following changes:

Dev changes (bump @react-native-async-storage/async-storage from 1.16.1 to 1.19.3 - gkartalis)

  Generated by :no_entry_sign: dangerJS against 957b4890f36cd31d57765d4bfe13990bfc1532f9


gnssserver: TypeError with string output format

Describe the bug
I am trying to use the gnssserver as an NTRIP caster so that I can get RTCM corrections into ROS (using ntrip_client). In doing so, I realized that I needed the output format to be a string of sorts and thus am using --format 16 (or --format 1). However, this causes an error (below) as the string seems to not be encoded.
pygnssutils version: 1.0.9
gnssserver output:
$ export PYGPSCLIENT_USER=user
$ export PYGPSCLIENT_PASSWORD=password
$ gnssserver --inport "/dev/ttyACM0" --baudrate 9600 --hostip localhost --outport 2101 --ntripmode 1 --protfilter 4 --format 16
2023-05-23 15:24:22.375871: Starting server (type CTRL-C to stop)...
2023-05-23 15:24:22.375897: Starting input thread, reading from /dev/ttyACM0...
2023-05-23 15:24:22.376497: Parsing GNSS data stream from: Serial<id=0x7f6a2c929fd0, open=True>(port='/dev/ttyACM0', baudrate=9600, bytesize=8, parity='N', stopbits=1, timeout=3, xonxoff=False, rtscts=False, dsrdtr=False)...

2023-05-23 15:24:22.876833: Starting output thread, broadcasting on localhost:2101...
2023-05-23 15:24:26.969079: Client ('<IP_ADDRESS>', 41154) has connected. Total clients: 1
2023-05-23 15:24:27.019219: Client ('<IP_ADDRESS>', 41154) has disconnected. Total clients: 0
----------------------------------------
Exception happened during processing of request from ('<IP_ADDRESS>', 41154)
Traceback (most recent call last):
  File "/usr/lib/python3.8/socketserver.py", line 683, in process_request_thread
    self.finish_request(request, client_address)
  File "/usr/lib/python3.8/socketserver.py", line 360, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/home/rover/.local/lib/python3.8/site-packages/pygnssutils/socket_server.py", line 221, in __init__
    super().__init__(*args, **kwargs)
  File "/usr/lib/python3.8/socketserver.py", line 747, in __init__
    self.handle()
  File "/home/rover/.local/lib/python3.8/site-packages/pygnssutils/socket_server.py", line 282, in handle
    self._write_from_mq()
  File "/home/rover/.local/lib/python3.8/site-packages/pygnssutils/socket_server.py", line 406, in _write_from_mq
    self.wfile.write(raw)
  File "/usr/lib/python3.8/socketserver.py", line 826, in write
    self._sock.sendall(b)
TypeError: a bytes-like object is required, not 'str'
----------------------------------------
^C2023-05-23 15:24:31.491631: Stopping server...
2023-05-23 15:24:31.492141: Streaming terminated, 9 messages processed with 0 errors.

2023-05-23 15:24:31.976689: Server shutdown.

If using --format 1 the error becomes TypeError: a bytes-like object is required, not 'RTCMMessage'
ntrip_ros output (if helpful):
$ roslaunch ntrip_client ntrip_client.launch host:=localhost mountpoint:=pygnssutils authenticate:=true username:=user password:=password ntrip_version:=2 debug:=true
... logging to /home/rover/.ros/log/6e28188c-f99f-11ed-8545-f58b20dd1639/roslaunch-base-station-102233.log
Checking log directory for disk usage. This may take a while.
Press Ctrl-C to interrupt
WARNING: disk usage in log directory [/home/rover/.ros/log] is over 1GB.
It's recommended that you use the 'rosclean' command.

started roslaunch server http://base-station:38795/

SUMMARY
========

PARAMETERS
 * /ntrip_client/ntrip_client_node/authenticate: True
 * /ntrip_client/ntrip_client_node/ca_cert:
 * /ntrip_client/ntrip_client_node/cert:
 * /ntrip_client/ntrip_client_node/host: localhost
 * /ntrip_client/ntrip_client_node/key:
 * /ntrip_client/ntrip_client_node/mountpoint: pygnssutils
 * /ntrip_client/ntrip_client_node/ntrip_version: 2
 * /ntrip_client/ntrip_client_node/password: password
 * /ntrip_client/ntrip_client_node/port: 2101
 * /ntrip_client/ntrip_client_node/reconnect_attempt_max: 10
 * /ntrip_client/ntrip_client_node/reconnect_attempt_wait_seconds: 5
 * /ntrip_client/ntrip_client_node/rtcm_frame_id: odom
 * /ntrip_client/ntrip_client_node/rtcm_timeout_seconds: 4
 * /ntrip_client/ntrip_client_node/ssl: False
 * /ntrip_client/ntrip_client_node/username: user
 * /rosdistro: noetic
 * /rosversion: 1.16.0

NODES
  /ntrip_client/
    ntrip_client_node (ntrip_client/ntrip_ros.py)

auto-starting new master
process[master]: started with pid [102252]
ROS_MASTER_URI=http://localhost:11311/

setting /run_id to 6e28188c-f99f-11ed-8545-f58b20dd1639
process[rosout-1]: started with pid [102273]
started core service [/rosout]
process[ntrip_client/ntrip_client_node-2]: started with pid [102280]
[DEBUG] [1684869866.922012]: init_node, name[/ntrip_client/ntrip_client_node], pid[102280]
[DEBUG] [1684869866.924688]: binding to <IP_ADDRESS> 0
[DEBUG] [1684869866.927172]: bound to <IP_ADDRESS> 44277
[DEBUG] [1684869866.929877]: ... service URL is rosrpc://base-station:44277
[DEBUG] [1684869866.932152]: [/ntrip_client/ntrip_client_node/get_loggers]: new Service instance
[DEBUG] [1684869866.936572]: ... service URL is rosrpc://base-station:44277
[DEBUG] [1684869866.938897]: [/ntrip_client/ntrip_client_node/set_logger_level]: new Service instance
[ERROR] [1684869867.021289]: Invalid response received from http://localhost:2101/pygnssutils
[ERROR] [1684869867.024328]: Response:
[ERROR] [1684869867.027056]: Unable to connect to NTRIP server
[INFO] [1684869867.029923]: Stopping RTCM publisher
[INFO] [1684869867.032297]: Disconnecting NTRIP client
[ntrip_client/ntrip_client_node-2] process has died [pid 102280, exit code 1, cmd /opt/ros/noetic/lib/ntrip_client/ntrip_ros.py __name:=ntrip_client_node __log:=/home/rover/.ros/log/6e28188c-f99f-11ed-8545-f58b20dd1639/ntrip_client-ntrip_client_node-2.log].
log file: /home/rover/.ros/log/6e28188c-f99f-11ed-8545-f58b20dd1639/ntrip_client-ntrip_client_node-2*.log
^C[rosout-1] killing on exit
[master] killing on exit
shutting down processing monitor...
... shutting down processing monitor complete
done

To Reproduce
Steps to reproduce the behaviour:

Using an ArduSimple simpleRTK2B base station with a few RTCM messages enabled via USB
ROS noetic and ntrip_client as a client
Run the above commands

Expected Behaviour
Either a graceful failure or no error.
Desktop (please complete the following information):

Ubuntu 20.04
USB serial GPS to be NTRIP broadcast via localhost

GNSS/GPS Device (please complete the following information as best you can):

Additional context
My one goal is to provide the ublox_gps ROS driver with RTCM messages from a local base station and the best way I've found is via an NTRIP caster (such as gnssserver) and the ntrip_client package. I would use pyGPSclient but it sends binary data only (to my knowledge) which ntrip_client won't accept. Thus any advice along with discussing the mentioned bug would be warmly welcome.

Hi @IanBurwell,
I'm not in a position to provide support or guidance on the particular ntrip client or ublox_gps libraries you refer to, but RTCM is a binary protocol and any compliant NTRIP client (including RTK-compatible GNSS devices such as the F9* series) would expect RTCM data in binary format, not string format.
To use gnssserver as an NTRIP caster, you need to be using binary output format (--format 2), which is the default anyway, so you can simply omit the --format argument.
FYI the pygnssutils library also provides an ntrip client - gnssntripclient - which does accept binary input. You may like to take a look at this.
I may be misunderstanding your objectives here, but you appear to be using an unnecessarily complicated toolchain if you're simply trying to upload RTCM data from an F9P base station to another ublox GNSS device. You don't need the ntrip-client or ublox-gps libraries - you could simply send the binary RTCM output from gnssserver directly to the receiver - see for example https://github.com/semuconsulting/pygnssutils/blob/main/examples/rtk_example.py.
HTH

Ah, my misunderstanding came from not knowing that NTRIP was solely binary and that the library I am using must either not be in compliance or something else entirely. I thus understand why --format caused an issue. It could be nice to catch that user error but I understand what went wrong and am happy to close this issue. The reason I have a complex chain is due to the rover GPS driver hogging the port and only accepting RTCM via ROS messages (so the chain is just a clunky way of converting RTCM-->ROS).
Thanks,
-Ian

The user error is there for a reason, but I'm happy to consider improving the wording to make the cause clearer (though the gnssserver README does already include an explanatory paragraph).
I had a quick look at the documentation for ntrip_client and I'm pretty sure it's designed to accept binary RTCM input from an NTRIP caster. I can see no reason why it shouldn't work with gnssserver running in NTRIP mode with the default binary output format - have you actually tried it in this configuration?
NB: as explained in the README, you need to ensure your F9P base device is operating in Base Station Mode (either FIXED or SURVEY_IN) - gnssserver itself doesn't set this up automatically (as different users will have different configuration requirements), but code examples are provided e.g. https://github.com/semuconsulting/PyGPSClient/blob/master/examples/f9p_basestation.py
ROS is open source so if I can find the time, I may look into supporting a ROS output format directly in pygnssutils in a future release.
Are you happy for me to close this issue now?

My confusion with strings was due to a string decoding error without stack trace and a gross assumption. I will look further into it to get to the root of my problem.


Fix script execute order

Update dependencies
Remove package-lock.json from Git
ES6 refactor in progress

PR Type

[x] Bugfix.
[ ] Feature.
[x] Code style update (formatting, local variables).

[ ] Documentation.
[ ] Translation.
[ ] Other... Please describe:

What is the current behavior?

Scripts execute in wrong order when external and inline ones mixing together.
Setting async to false will only make external scripts be executed in order. Inline scripts, as the standard describes, will be executed immediately when inserted.
Pjax hasn't write something for the mix of them.

Dependencies not up to date.

Code style not fit NexT one.

What is the new behavior?

Execute them in right order.
There are three methods I considered. Edit: See https://github.com/next-theme/pjax/pull/6#issuecomment-830816632 for newest solution.

Insert the scripts in the page one-by-one. Insert next script only when the previous one has been executed.
Insert external scripts first. Insert inline ones after the last external script got executed.
Slice the scripts in the page into groups. Each group has no more than one external script. If a group has a external script, the external script must be the first element in the group. For each group, insert the scripts one-by-one. Insert next script only when the previous one in the group has been executed.

The first method is easy but it will slow the fetch. The second may solve some problems, but doesn't contribute to a right order strictly speaking. For the third method, it doesn't affect the parallel fetch and contributes to a right order.

(The fetch flow graph in a test)
I was worried about the execute order between groups. Fortunately, the callback of a external script's load event is called before the next external script can be executed.
Appearently I decide to use the group method. In tests, it behaves almost the same as the initial loading of the page.

Update dependencies.

Use @next-theme/eslint-config to lint JS files.

Other information
Browser Compatibility

Browser
Supported versions
Release date
Limitation

IE
N/A
N/A
N/A

Edge
17+
Apr 30, 2018
DOM manipulation convenience methods

Firefox
50+
Nov 15, 2016
NodeList API: forEach

Chrome
54+
Oct 12, 2016
DOM manipulation convenience methods

Safari
10+
Sep 20, 2016
Arrow functions

Opera
41+
Oct 24, 2016
DOM manipulation convenience methods

Execute order is still a problem in the group method. Image an external script B, which is supposed to be evaluated later than A, got a fetch error before A is fetched.
So I keep digging and got a fourth method. It doesn't group the blocking scripts, but combine or chain the evaluate promise according to whether the script is external.
https://github.com/next-theme/pjax/blob/818b9b1413ac2fd2818b857e8e7a131936317da2/lib/execute-scripts.js#L19-L28
This approach seems to have the same advantage as the group method while providing a more reliable execute order.

This PR focuses on the execute order. ES6 refactor will continue in future PR. ESLint fails currently.

Close as the maintain difficulty doesn't match its importance in NexT. Continued in PaperStrike/Pjax.


Text Search Issues

Why does text search drop down onto overlap the first row of my file and a docked component !
Why is search text low contrast. Havent I expressed my clear intent to give search a priority by invoking it, then why is the text I typing in there low contrast and harder to read.

Why can I invoke Multiple VSCode windows to see files side by side to compare visually

/needsMoreInfo
Please read the advice at https://github.com/microsoft/vscode/wiki/Submitting-Bugs-and-Suggestions#writing-good-bug-reports-and-feature-requests particularly the first sentence.

Thanks for creating this issue! We figured it's missing some basic information or in some other way doesn't follow our issue reporting guidelines. Please take the time to review these and update the issue.
Happy Coding!

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


"Clustering" snap seems to have vanished

sudo snap install microk8s --classic --channel=1.15/edge/clustering
Still succeeds, however the cluster specific commands no longer exist. On top of that, my cluster seems to have been downgraded to the non-clustering version of the snap automatically and is essentially dead.

Thanks - will give that a shot.

@ktsakalozos Might be good to post a comment about that on https://discuss.kubernetes.io/t/microk8s-clustering-preview/7472


mark allow access to minio

During notebook creation, we need to mark allow aacess to minio

Fixed in: https://github.com/Barteus/kubeflow-examples/commit/7feb05a184e828b3e9d189f17e2e06cb304e2050


macro removal

fixing merge for https://github.com/envoyproxy/envoy/pull/19959

Thanks @alyssawilk!


Fixed registry in Docusaurus package-lock

In https://github.com/practicajs/practica/pull/45, Docusaurus' package-lock file was created with an autodesk specific registry by mistake, this PR makes it so it'll use npm default registry

@relsteiner Feel free to merge on your convenience


[KYUUBI #5757][AUTHZ] Support alter path-based table for Delta Lake in Authz

:mag: Description
Issue References 🔗

This pull request fixes #5757
Describe Your Solution 🔧
Add uriDescs.
Types of changes :bookmark:

[ ] Bugfix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Test Plan 🧪
Behavior Without This Pull Request :coffin:
Behavior With This Pull Request :tada:
Related Unit Tests

Checklists
📝 Author Self Checklist

[x] My code follows the style guidelines of this project
[x] I have performed a self-review
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[x] This patch was not authored or co-authored using Generative Tooling

📝 Committer Pre-Merge Checklist

[x] Pull request title is okay.
[x] No license issues.
[x] Milestone correctly set?
[x] Test coverage is ok
[x] Assignees are selected.
[x] Minimum number of approvals
[x] No changes are requested

Be nice. Be informative.

Thanks, merged to master

Sorry, reverted and reopened it via conflicts

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (f7bbe5b) 61.45% compared to head (d5d0dc3) 61.39%.
Report is 17 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #5760      +/-   ##
============================================
- Coverage     61.45%   61.39%   -0.06%
  Complexity       23       23
============================================
  Files           607      607
  Lines         35898    35898
  Branches       4923     4923
============================================
- Hits          22060    22041      -19
- Misses        11461    11477      +16
- Partials       2377     2380       +3

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

Conflit resolved, @yaooqinn

Sorry, reverted and reopened it via conflicts

Thanks for your contribution. @zml1206
Because the master's CI fails now, I will revert this change first.
b920836

Already resubmitted. @cxzl25 cc @yaooqinn

Thanks, @yaooqinn @cxzl25


Spelling - code changes

Summary of the Pull Request

References
Code portion of #3398

PR Checklist

[ ] Applies to #xxx
[x] CLA signed. If not, go over here and sign the CLA
[ ] Tests added/passed
[ ] Requires documentation to be updated
[ ] I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. Issue number where discussion took place: #xxx

Detailed Description of the Pull Request / Additional comments

Validation Steps Performed

@jsoref
as for the other PRs, this need to be broken down in multiple PRs.

Suggestions about how you'd like it broken down?
offhand, I'd suggest toggle as a distinct PR.
Perhaps splitting out launcher
Is the goal roughly 30 files?

For toogle it has to be one PR even if it touches multiple projects since there is no other way.
I guess, that we can start with a new PR only for toogle and then decide how to split the remaining fixes.

I suspect that calculator and separator should also be handled as distinct PRs. Past that, I'm open to suggestions. Most projects would scream if I made 100+ PRs (we're down to ~60 potential PRs now, but even so...). Again, slicing by commit into a PR is easy, slicing out directory I can do, but if it splits a commit, that gets messy.
12 files changed, 27 insertions(+), 27 deletions(-) calculator
9 files changed, 13 insertions(+), 13 deletions(-) separator
6 files changed, 8 insertions(+), 8 deletions(-) excluded
6 files changed, 29 insertions(+), 29 deletions(-) highlight
5 files changed, 5 insertions(+), 5 deletions(-) background
5 files changed, 10 insertions(+), 10 deletions(-) instance

4 files changed, 5 insertions(+), 5 deletions(-) default
4 files changed, 12 insertions(+), 12 deletions(-) original
4 files changed, 11 insertions(+), 11 deletions(-) visibility
3 files changed, 9 insertions(+), 9 deletions(-) alignment
3 files changed, 7 insertions(+), 7 deletions(-) guid
3 files changed, 5 insertions(+), 5 deletions(-) storage
3 files changed, 4 insertions(+), 4 deletions(-) unknown
3 files changed, 4 insertions(+), 4 deletions(-) exception
3 files changed, 3 insertions(+), 3 deletions(-) restart
3 files changed, 3 insertions(+), 3 deletions(-) hidden
3 files changed, 3 insertions(+), 3 deletions(-) deactivated
2 files changed, 9 insertions(+), 9 deletions(-) successful
2 files changed, 7 insertions(+), 7 deletions(-) initialization
2 files changed, 5 insertions(+), 5 deletions(-) awareness
2 files changed, 4 insertions(+), 4 deletions(-) explorer
2 files changed, 3 insertions(+), 3 deletions(-) signal
2 files changed, 3 insertions(+), 3 deletions(-) nonexistent
2 files changed, 3 insertions(+), 3 deletions(-) elevated
2 files changed, 2 insertions(+), 2 deletions(-) windows
2 files changed, 2 insertions(+), 2 deletions(-) open-the-connect-quick-action
2 files changed, 2 insertions(+), 2 deletions(-) integration
2 files changed, 2 insertions(+), 2 deletions(-) appearance
2 files changed, 2 insertions(+), 2 deletions(-) accessibility

The following are single files, so they should be easily lumpable by some directory allocation:
1 files changed, 9 insertions(+), 9 deletions(-) miniature
1 files changed, 9 insertions(+), 9 deletions(-) folder
1 files changed, 8 insertions(+), 8 deletions(-) initial
1 files changed, 6 insertions(+), 6 deletions(-) implementation
1 files changed, 6 insertions(+), 6 deletions(-) comparison
1 files changed, 5 insertions(+), 5 deletions(-) should
1 files changed, 5 insertions(+), 5 deletions(-) serialized
1 files changed, 5 insertions(+), 5 deletions(-) programmatically
1 files changed, 5 insertions(+), 5 deletions(-) parent
1 files changed, 4 insertions(+), 4 deletions(-) suppress
1 files changed, 4 insertions(+), 4 deletions(-) succeeded
1 files changed, 4 insertions(+), 4 deletions(-) properly
1 files changed, 4 insertions(+), 4 deletions(-) cortana
1 files changed, 4 insertions(+), 4 deletions(-) buttons
1 files changed, 3 insertions(+), 3 deletions(-) zipped
1 files changed, 3 insertions(+), 3 deletions(-) occurred
1 files changed, 3 insertions(+), 3 deletions(-) makesure
1 files changed, 3 insertions(+), 3 deletions(-) expected
1 files changed, 2 insertions(+), 2 deletions(-) response
1 files changed, 2 insertions(+), 2 deletions(-) popin
1 files changed, 2 insertions(+), 2 deletions(-) occurrences
1 files changed, 2 insertions(+), 2 deletions(-) arguments
1 files changed, 1 insertions(+), 1 deletions(-) successfully
1 files changed, 1 insertions(+), 1 deletions(-) shortcut
1 files changed, 1 insertions(+), 1 deletions(-) relative
1 files changed, 1 insertions(+), 1 deletions(-) middle
1 files changed, 1 insertions(+), 1 deletions(-) initialize
1 files changed, 1 insertions(+), 1 deletions(-) exiting
1 files changed, 1 insertions(+), 1 deletions(-) exclusion
1 files changed, 1 insertions(+), 1 deletions(-) directory
1 files changed, 1 insertions(+), 1 deletions(-) dimension
1 files changed, 1 insertions(+), 1 deletions(-) defined
1 files changed, 1 insertions(+), 1 deletions(-) config
1 files changed, 1 insertions(+), 1 deletions(-) committed
1 files changed, 1 insertions(+), 1 deletions(-) commit
1 files changed, 1 insertions(+), 1 deletions(-) bottom
1 files changed, 1 insertions(+), 1 deletions(-) administrator

At this point, I can probably split by a couple of directories:
# for my reference (note: not remotely optimized...)
dirs=$(hg diff -r spelling%master --stat |perl -pne 's/(\S+)\s+\|\s+(\d+)/$2 | $1/'|sort -n|perl -pne 's{( (?:[^ /]+/){2}).*}{$1};s/.* \|//;s/.*files changed.*//'|sort -u)
for dir in $dirs; do echo $dir $(hg diff -r spelling%master --stat $dir|tail -1); done
installer/PowerToysSetup/ 1 files changed, 1 insertions(+), 1 deletions(-)
src/common/ 15 files changed, 43 insertions(+), 43 deletions(-)
src/core/ 7 files changed, 29 insertions(+), 29 deletions(-)
src/modules/ 13 files changed, 60 insertions(+), 60 deletions(-)
src/runner/ 9 files changed, 15 insertions(+), 15 deletions(-)
src/settings/ 1 files changed, 1 insertions(+), 1 deletions(-)
src/tests/ 4 files changed, 5 insertions(+), 5 deletions(-)

Offhand, I'm leaning towards src/modules, src/common, and src/core.

A dedicated PR for each of the following:

src/common/
src/core/

One PR with src/runner/,  src/settings/ and src/tests/ together.
For src/modules/ let's see after all the others are done, it may be one but I haven't checked it yet.

Here's a quick breakdown of the remainder:
dirs=$(hg diff -r spelling%master --stat |perl -pne 's/(\S+)\s+\|\s+(\d+)/$2 | $1/'|sort -n|perl -pne 's{( (?:[^ /]+/){3}).*}{$1};s/.* \|//;s/.*files changed.*//'|sort -u)
for dir in $dirs; do echo $dir $(hg diff -r spelling%master --stat $dir|tail -1); done
installer/PowerToysSetup/Product.wxs 1 files changed, 1 insertions(+), 1 deletions(-)
+-
src/modules/launcher/ 4 files changed, 10 insertions(+), 10 deletions(-)
src/modules/powerrename/ 1 files changed, 2 insertions(+), 2 deletions(-)
src/modules/previewpane/ 3 files changed, 14 insertions(+), 14 deletions(-)
src/modules/shortcut_guide/ 4 files changed, 27 insertions(+), 27 deletions(-)

I’m going to close this one out as it is getting broken up

@enricogior: what next?

@jsoref
can you do a dedicated PR for src/modules/shortcut_guide/*? Thanks.

@enricogior: what next?

@jsoref
can you open a new PR with what is left? Thanks.


Extended hr cols

creates a superset of heat rate traunches to support parsing up to 13 point heat rate curves

@daniel-thom this seems like something we could do programmatically, but this solution was simple enough... let me know what you think.


make Java build with the proper location

[x] Blocked by this: https://github.com/trinsic-id/okapi/pull/320
[x] Then update Java jar wrapper
[x] Then update build.gradle here

This has a failing test due to invitation status not having ecosystem id set. That will be a separate PR. I want to get this in first so that default build actually works.


openstack-ardana-heat: add timeouts

Add timeouts and retries to avoid the job getting stuck for too long
waiting for a heat stack creation or deletion to complete.
Timeout values used here are based on the following:

it shouldn't take more than 10 minutes for a stack to be
created, (current creation time is ~3 minutes, deletion
time is ~2).
it shouldn't take more than 5 minutes for a stack to be deleted
retrying an ECP API once is usually enough. If the error repeats,
then it is most likely not a temporary one.
ECP API load is not a factor, because operations are serialized.

Tested with: https://ci.suse.de/job/openstack-ardana/2262/

@stefannica Why do you need the lock and retries?
is not doing the retries the ardana playbook yet?

hi @aojea
@stefannica is on vacation, so I am stepping in as we need this merged.
The lock is to control how many stack operations are done in parallel (currently only 1).
We could add retries on the ansible tasks, however I believe @stefannica choose not to do it because some times the task does not even fail, it just gets stuck waiting for the stack to finish creating.


[BUG] Configs auto save even without button

Describe the bug
If i made some mistakes, as CTRL+Z doesn't work i went to load another config to REDO changes
But turns out that it is auto saves config when loads another config
To Reproduce
Steps to reproduce the behavior:

Load config
Do changes
Without clicking, SAVE went to load another config

Expected behavior
Must redo the changes as long as you don't save it
Version

Version 1.1.1

Only the object stored in memory gets changed, the config is never saved to file without pressing the button or pressing Ctrl+S. So just do ReScan before you load the config, and it will be back to its original state.


run_pretraining.py - clip gradient error: Found Inf or NaN global norm: Tensor had NaN values

hi, I get an InvalidArgumentError when running run_pretraining.py, it shows:

using my own data, I set paraments as follows:
train batch size: 32
max seq length: 64 (99% article less equal 46 word)
max predictions per seq: 10
learning rate: 2e-5
at the begging, I google it, someone said, use smaller learning rate, I find it just delay the coming of InvalidArgumentError, I thought learning rate is not the key reason. alse, I try tf.nn.softmax_cross_entropy_with_logits(labels=y_,logits=y)  as it says, saddly, I still get the same error.
tracing the error,  (grads, _) = tf.clip_by_gblobal_norm(grads, clip_norm=1.0) -> clip_ops.py line 259 , it shows global_norm calculation error.
what do you think the error happens ? didn't you meet yourself ?

set lower batch_size, will run ok

@zkl99999  did you know what is the reason make the error happen ?

I am seeing the same error.
I tried bumping up the batch size to 8192, however it just delays the error.
lowering the batch size makes it happen faster.
any idea what's happening?

fantastic, you are right, when I use "the same bert_config.json, but change the vocab file(which makes a gap between bert_config.json vocab size and true vocab size)", the error happens, after fix that, it is gone. thanks much.

Cool, I will make sure to add this in bold font in the pre-training section of the README.

I think I just realized what the problem might be, are you guys using a different vocabulary but the same bert_config.json file? The vocabulary size is specified in this file so if a larger vocabulary i used then this will do out-of-bounds lookups (which are unchecked on the GPU or TPU).
If you are using the same vocabulary, are you starting from the BERT checkpoint or from scratch?

I use the same vocabulary, are also start from the BERT checkpoint. Unfortunately, I have the same problem.

I think I just realized what the problem might be, are you guys using a different vocabulary but the same bert_config.json file? The vocabulary size is specified in this file so if a larger vocabulary i used then this will do out-of-bounds lookups (which are unchecked on the GPU or TPU).
If you are using the same vocabulary, are you starting from the BERT checkpoint or from scratch?

Hi Jacob, I am using pretrained BERT together with other networks, but during finetuning, I also met this problem of NaN global norm. I wonder what do you mean by out-of-bounds lookups? The dataset I use does have OOV words, but what causes NaN global norm? Only when all the tokens in the sentence are unknown words?
Thanks in advance.

@ohwe were you able to solve the problem? after 110000 steps, NaN  error happend.

I am pre-training Bert with large amount of data, after 110000 steps, loss is around 1.4
But after stop the trained and try to resume again( by set init point and restore from checkpoint of 110000), NaN error happend.  I run serveral times, in other times, Nan came from other layer, not layer_0.
Traceback (most recent call last):
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/client/session.py", line 1356, in _do_call
return fn(*args)
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/client/session.py", line 1341, in _run_fn
options, feed_dict, fetch_list, target_list, run_metadata)
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/client/session.py", line 1429, in _call_tf_sessionrun
run_metadata)
tensorflow.python.framework.errors_impl.InvalidArgumentError: From /job:worker/replica:0/task:0:
Gradient for bert/encoder/layer_0/output/dense/bias:0 is NaN : Tensor had NaN values
[[{{node CheckNumerics_18}}]]
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "run_pretraining.py", line 497, in
tf.app.run()
Can some one help, or have any idea?
@xwzhong @zkl99999 @mleonrivas @jacobdevlin-google @ohwe

I have the same error.
I use my own vocab with size 51722, and revise it in config.
When is use mixed float from nvidia pr, this error will happened. When is not use mixed float, this error will not happened!

any idea how to check and close mixed float?

I think I just realized what the problem might be, are you guys using a different vocabulary but the same bert_config.json file? The vocabulary size is specified in this file so if a larger vocabulary i used then this will do out-of-bounds lookups (which are unchecked on the GPU or TPU).
If you are using the same vocabulary, are you starting from the BERT checkpoint or from scratch?

I add a tensor for additional vocabulary embedding,  concatenated with original embedding tensor for tokens in the original vocab file, and problem solved
The reason might be that  "tf.gather"  method in "embedding_lookup"  function filters additional vocabulary ids and thus there is no embedding for additional vocabulary's tokens.   Predicting masked additional tokens is not matched with those input tokens.


[5.1]When you forget $ router-> model, $task->delete () failure no exception. I want to forget $ router-> model when an exception is thrown.

https://github.com/laravel/quickstart-intermediate
laravel 5.1
When forget "$ router-> model ( 'task', Task :: class);" when, $ task-> delete (); without any exception failed. This is not a good feeling to achieve, either succeed or fail clear that no abnormal failure is easy to write bad code.
// routes.php
route::delete('/task/{task}', 'TaskController@destroy');

//quickstart-intermediate\app\Providers\RouteServiceProvider.php
    public function boot(Router $router)
    {
        $router->model('task', Task::class);

        parent::boot($router);
    }

//quickstart-intermediate\app\Http\Controllers\TaskController.php
    public function destroy(Request $request, Task $task)
    {
        $this->authorize('destroy', $task);

        $task->delete();

        return redirect('/tasks');
    }

If I understand you right, you are saing that if we forget to set
$route->model('taks', Task::class);
we will get no exception?
It's realy interesting for me, cause if you send DELETE method to /task/1 (for exaple) - you shall get exception about typing.
Something like this (written not copied from real error)
Argument 2 passed to method destroy in TaskController should be type Task, int given

Makes sense given if he didn't set $route->model then the container will think it's just a typehint and create a new instance of the Task class.
Unfortunately I don't see how it could be easily fixed, this is the expected behavior of the DI container. Automatic resolution has its drawbacks.


[DOC] Visualization types - Using Region Map

What do you want to do?

[X] Request a change to existing documentation
[ ] Add new documentation
[ ] Report a technical problem with the documentation
[ ] Other

Tell us about your request. Provide a summary of the request and all versions that are affected.
Update front matter to move page; related to TOC restructure
What other resources are available? Provide links to related issues, POCs, steps for testing, etc.
#992

Moved Maps topics under one PR #2424


[FEATURE REQUEST]: Create Extra "Mock" Sites

Is your feature request related to a problem? Please describe.
Currently it's not really clear that this system I use is intended to flexible and useful on more than just my own projects unless you've worked with the code yourself. I need to make a few different "mock" sites that showcase just how simple it is to create a neat site with cool themes.
Describe the solution you'd like
Ideally this is done with a few extra HTML and CSS files, along with some JavaScript too. The hardest part will probably be finding a color palette (if I want to make them look pretty, anyway).
Describe alternatives you've considered
I could also probably showcase sites that use my module... later down the line (if anybody ever ends up using this anyway). For now though, as a project with zero users, this isn't possible or that important.
Additional context
It'd give me an excuse to mess around with HTML and CSS more now instead of the JavaScript shenanigans I've been up to lately.

I'm now also considering the possibility of uploading this as a package on NPM, so maybe this could be used as a package on a few different CodePens.
I've never used packages on CodePen or even really made a package before, so this is just an idea.
If it works as I believe it does though I should be able to make some fairly straightforward showcases of the necessary styles, HTML, and JS to create your own sites with this.


Update docs on node draining

Re: Stop a Node
Our nodes do a couple of dances when they're being shut down so that impact on running queries, and on clients continuously sending queries, is minimized. The behavior and the timeouts involved should be documented. I think @asubiotto has become the expert.

Also involves documenting the new server.drain_max_wait cluster setting, which sets the max amount of time to wait for distributed queries to finish before the node starts draining.


Horizontal Lines when changing to scene rendering text

Checklist

[ x ] Check other issues and make sure that it is not reported yet.

Versions and Environment
Elixir:
1.9.1-otp-22
Erlang:
22.0.7
Scenic:
0.10.2
OS:
MacOs 10.15.3
Steps to reproduce
Change to a scene which renders text either in a component and the component will have horizontal lines or text primitive where the whole screen will have horizontal lines.
Expected Behavior
No horizontal lines

It is resolved once you leave the scene. It also only happens when you change to the a scene with text. It does not happen when it is in root.
Also happens when you resize a scene with text.

Not sure if this is a core, font, or driver issue. If we think it needs to go elsewhere I can move it.

Yikes. Do you have a pointer to a simple sample that exhibits this? Would help speed me toward a repro...

https://github.com/BWheatie/font_render_issue

OK. So it looks fine on my machine.
This is probably an issue in the driver that does the rendering and will be specific to your setup. What machine/OS/graphics card, etc are you using?

Looks good for me as well on openSUSE Tumbleweed.

Hmmm, on Arch Linux I just get a white screen in the window with no text.

I am on MacOS. Radeon Pro 560X 4 GB Intel UHD Graphics 630 1536 MB

@axelson One scene is listening for right key and second on left key. It looks like the author want to do some multi step setup or something like that.

@BWheatie Hi Ben. Still not sure what to do about this issue without a repo. Do you have any other graphics issues with your machine? The lack of repos makes me wonder if there is something else going on.

Did the one I linked to not help? Have no had any issues. I have heard from others they have had the same issue.


TC2 RF code does not send

So i have everything setup and my config file is working with my IR aircon and it works perfectly but with my TC2 i am unable to the the command to go to the broadlink itself. So i got the code from the RM plugin and i added it to the config file but when the switch is added and i try turning it on nothing happens the organge light does not even blink on the broadlink. I’ve tried pasting the code twice but still nothing. Any solutions?

Hey @adityachopra8, if you didn't manage to fix this yourself please post your config here are re-open the issue.


Lock internal dependency versions

As we can see here https://github.com/open-telemetry/opentelemetry-js/blob/master/packages/opentelemetry-metrics/package.json#L59, everywhere we currently depend on ourselves we are using the ^x.y.z notation. This means if a user has<EMAIL_ADDRESS>which depends on<EMAIL_ADDRESS>and updates core to 0.3.3 or even 0.4.0, the dependency resolver won't complain because both of those versions match ^0.3.2. I propose we change all internal dependencies to match an exact version (e.g. remove the caret from all @opentelemetry/* dependencies).

Another problem I just encountered with this is that I set my dependency versions to 0.3.2 specifically, but the internal dependencies were all updated and broke everything :)

Following up from 3/3/21 SIG meeting, npm 7 now installs peer dependencies for you. In the Google Cloud OTel exporters, we are using peerDependencies and it works pretty well for with npm 7.
Npm will automatically install missing peerDependencies:
$ mkdir npmtmp && cd npmtmp
$ # using npm7
$ npm --version
7.5.2
$ npm init -y
$ npm install<EMAIL_ADDRESS>
added 56 packages, and audited 57 packages in 6s

2 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities

$ cat package.json
{
  "name": "npmtmp",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "keywords": [],
  "author": "",
  "license": "ISC",
  "dependencies": {
    "@google-cloud/opentelemetry-cloud-trace-exporter": "^0.8.0"
  }
}

$ npm ls -a | grep opentelemetry
└─┬<EMAIL_ADDRESS>  ├─┬<EMAIL_ADDRESS>  │ └──<EMAIL_ADDRESS>  ├─┬<EMAIL_ADDRESS>  │ ├──<EMAIL_ADDRESS>deduped
  │ ├──<EMAIL_ADDRESS>deduped
  ├─┬<EMAIL_ADDRESS>  │ ├──<EMAIL_ADDRESS>deduped
  │ └──<EMAIL_ADDRESS>deduped
  ├─┬<EMAIL_ADDRESS>  │ ├──<EMAIL_ADDRESS>deduped
  │ ├──<EMAIL_ADDRESS>deduped
  │ ├──<EMAIL_ADDRESS>deduped
  │ ├──<EMAIL_ADDRESS>deduped
  │ └──<EMAIL_ADDRESS>
If you try to install an incompatible version of an opentelemetry package (or have incorrectly matched versions in package.json), npm will complain:
$ cat package.json
{
  "name": "npmtmp",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "keywords": [],
  "author": "",
  "license": "ISC",
  "dependencies": {
    "@google-cloud/opentelemetry-cloud-trace-exporter": "^0.8.0",
    "@opentelemetry/core": "^0.18.0"
  }
}

$ npm install
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! Found<EMAIL_ADDRESS>npm ERR! node_modules/@opentelemetry/core
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>npm ERR! node_modules/@google-cloud/opentelemetry-cloud-trace-exporter
npm ERR<EMAIL_ADDRESS>from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.

#2065 has more up-to-date discussion


Blog Post about Shopify Buy SDK

We have recently experimented with Shopify Buy SDK, and found it really helpful in building JavaScript  based Ecommerce experiences on Web. For this purpose we made these two demos in order to just experiment with the SDK.

Shopify Product Demo
Shopify JavaScript Store

These initial projects can lead to something even better for now, in order to just start writing on this blog post, I think this will suffice, and we should definitely start working as soon as possible on this Blog post side of things.
This would allow us to evangelize about the API as well as reach more people and spread about this API and will be a nice kind of attraction for the blog too.This is also going to get cross posted on Medium.

After this we can start working on a Mobile Store Project using JavaScript which will help people build experiences all over the web using Progressive Web Applications, Redux and Shopify's Buy SDK


Add Fault count to lobby maker

Currently, the lobby maker has equal reign over the lobby, this should not be the case:
There are edge cases where a player might have to use an mo command to fix the lobby, but there also need to be a system for detecting abuse.
To solve this, there will be a lobby_maker_faults column in the Match object. This will
act as a "penalty" counter for the lobby maker, and the different commands they can use
to mess with the lobby will be penalized differently:
Mp command penalties

MP LOCK: 1
MP UNLOCK: 1
MP SIZE: 2
MP SET: 2
MP MOVE: 1
MP INVITE: 2
MP HOST: 2
MP CLEARHOST: 1
MP SETTINGS: 0
MP CLOSE: 10
MP START: 5
MP KICK: 2
MP BAN: 10 If user banned is on a team, otherwise 2
MP TEAM: 1
MP MAP: 2
MP MODS: 3
MP ABORT: 2
MP PASSWORD: 5
MP ADDREF: 3
MP REMOVEREF: 2 10 if the user is the bot
MP LISTREFS: 0
MP NAME: 3

If the fault counter reaches 10, the match is ended and the team without the lobby make is declared the victor.

This system cannot be implemented until the bot can confidently cover each of these commands without manual intervention. (mainly looking at MP MOVE, MP TEAM, and MP ABORT)


Wtc 88 add buttons

Fixes #88

Add buttons partial,
Add partial to all hbs files,
Add data to routes

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@108d1ff). Click here to learn what that means.
The diff coverage is 69.23%.

@@            Coverage Diff            @@
##             master      #91   +/-   ##
=========================================
  Coverage          ?   85.71%
=========================================
  Files             ?        2
  Lines             ?       28
  Branches          ?        2
=========================================
  Hits              ?       24
  Misses            ?        4
  Partials          ?        0

Impacted Files
Coverage Δ

src/server.js
100% <ø> (ø)

src/routes.js
73.33% <69.23%> (ø)

Continue to review full report at Codecov.

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


Restore deprecated mixin box-shadow

The absence of box-shadow mixing causes the following error message :
Undefined mixing 'box-shadow' with Active Admin Editor
Its could be solve adding the mixing again.

the correct solution should be to not use the box-shadow mixin at all... just use box-shadow: ___.

#64 also does this.

Ok, I gonna work to try to fix it

+1 for needing a permanent fix for this.


Read bundle meta-data without loading the bundle's code into the process.

We want to be able to read a bundle's meta-data without loading it into the process. Doing this provides better performance when dealing with many bundles.
There are a few related technical issues to doing this which need to be solved:

[x] Removal of most, if not all, static globals within CppMicroServices.
[x] "Framework" and "Framework Factory" classes as a single entry point for clients to initialize CppMicroServices.
[x] A minimal lifecycle for bundles, consisting solely of "install", "start" and "stop".
[x] Bundles are installed first and then loaded into the process only on bundle activation.
[x] Transition to declaring the bundle name in the bundle's manifest file.
[x] Auto-loading needs to be either factored out into a service or modified to allow auto-installing of bundles.

Merged pull request #31 from saschazelzer/development. Closing.


why encoder input don't have start token

I think encoder shouldn't have start token  and end token ,only decoder need start token  and end token

The start token in decoder is used to generate the first word in response.
There is no need to use a start token in encoder, since the encoder always receive input in both training and prediction process.

Because encoder just extract information from source language sentence, but when decoder wants to decode, it needs an signal to tell itself to start decoding with some compact representation of collected information, this signal is start token .