Add documentation to website around v9/v10 components with link to v9 site

Add clear documentation to the website around v9/v10 components with a link to the v9 site. The v10 website is launching before we release v10 carbon-components so this is super important.

The banners are slightly different for each site. Used the v9 button for the v9 site and a v10 button for the v10 site. Hope that's ok/preferred.
bar height: 48px
text: 14px, regular
Sketch file: https://ibm.box.com/s/pxjarp8zdpqlyw6alek26ucqq3e6iq9g
v9 site

v10 site

for v9:
"Carbon X has arrived! Check out the v10 beta site and all-new carbon-components library."
CTA: "Go to beta site"
(rationale: "is here" at first glance could be read as "is here, on the page you are reading")
for v10:
"Carbon v10 is currently in beta; for production-ready components, use Carbon v9."
CTA: "Go to v9 site"
Just a note: esp. on the new site, the button on the banner is so far from the related text that it seems like it would be easy to miss it. . . Also not sure if there is an easy fix for this. Possibly just make the banner text clickable as well?

Talked to Anna about V10 site banner. The white is merging into the browser controls above it. So we made a new design...many many apologies for this late design change. If it makes it that will be awesome, it not it's not the end of the world. 🙏 thanks!!!
Top line is the design. Bottom line is spec'ed design.

[ ] Need to update banner on v9/v10 site to not be sticky
[ ] Update banner on v10 site to use updated design

Can/should we keep the banner on the next site at 48px high on mobile also now that we are hiding text and it will fit at that height?

Fix is in this PR https://github.com/carbon-design-system/carbon-website/pull/917


Sword of Freyr can drown

Version: 1.0.2-1.20-fabric
It seems that  Sword Of Freyr starts to drown, which I believe should not be the case, as swords do not have lungs.

Lol yeah will fix that


Create a contact info block

Add links to social networks (LinkedIn, Facebook, Instagram), phone number, email, Telegram username, etc.

Completed!


Introduce client builders for Bigtable

BigtableClientBuilder has no settings beyond BigtableServiceApiClientBuilder; it's just more convenient.
(The GAX update is required to get at channel options.)
Fixes #3117.

Definitely worth reviewing one commit at a time :)


Comparison with few/zero-shot performance and Task Specific prompts.

Hi, thank you for your great work. I was wondering if you have done any of the following experiments.

Have you evaluated the few-shot and zero-shot performance of the base ViT model on the CIFAR100 dataset?
Tuned Task specific prompts for the based ViT model used for classification? I feel this is a crucial number to compare with L2p.

Thanks!

Hi Prateek,
Thanks for your interest in our work and your great questions!

I did not evaluate the standard few-shot and zero-shot setting for the base ViT model, since they are not directly related to continual learning. However, one can treat one of the baselines -- GDumb -- as a few-shot learning method. To my understanding, GDumb trains on the buffered data only, which is the subsampled full dataset.

I believe I conducted such experiments, but not showed it in the L2P paper. However, I have to say task-specific prompts are not directly applicable to class-incremental learning, since you have no idea how to choose task-specific prompts at inference when the task ID is unknown. If I remember correctly, task-specific prompt did a bit worse than L2P on CIFAR100,  but is comparable or better than L2P on 5-datasets. Intuitively, task-specific prompt does not have the ability to share knowledge between tasks, so that might be the reason. Nevertheless, feel free to add your experiments if you are interested and correct me if I am wrong.

Best,
Zifeng

The reason why I asked for zero/few shot number is that I suspect that the model might perform well even when we prepend some random vectors or slightly trained vectors along with the input image because the ViT model is pre-trained on ImageNet21k and CIFAR100 is very similar to it but easier. If the model has good zero/few-shot performance then it invalidates some of the claims made in the paper regarding continual learning and preventing forgetiing.

DualPrompt validates that  share prefixtuning is better in paper 5.4？


[Bug] Box and Polygon Misplaced when zoom in over 200%

The location of box or polygon will shift to the right after zoom in over 200%.
Original location (https://imgur.com/lw50E3Z)
Shift location (https://imgur.com/vzsvElo)

@cwhuang119 did you find the solution for above issue? Can you please provide info on how did you fix zoom issue?
Thanks!

I had this same issue, but it was caused by my base Tailwind styles which was setting the img { max-width: auto}
Try this snippet instead (or add it to the img container):
img {
max-width: inherit;
height: inherit;
}


Uninstall rEFind

i want to remove rEFind from my steam deck

What a detailed issue... did you try reading and following the instructions?

yeah i know its very detailed no i didnt i literally just followed a youtube tutorial

Well if you're going to bother to ask for my help, I'd ask that you at least attempt to follow the instructions from the GitHub README first. If a step doesn't make sense or you get stuck, or have a more specific question, then ask. I can only be as helpful as the information you provide me with. Provide me with minimal information and I can't help too much (garbage in, garbage out).

nvm i found the instructions


Equality

I'm assuming this isn't safe to merge yet.

Nice job! This is a good step towards more use of types.

What's invalid about the json types?


Nullable embedded document not initialized when using aggregations

Bug Report

Q
A

BC Break
no

Version
2.2.1

Summary
This bug is the same as https://github.com/doctrine/mongodb-odm/issues/2301 but with AggregationBuilder.
How to reproduce
class Container
{
    private int $id;
    private ?Embedded $embedded;

    public function __construct(int $id, ?Embedded $embedded)
    {
        $this->id = $id;
        $this->embedded = $embedded;
    }

    public function getId(): int
    {
        return $this->id;
    }

    public function getEmbedded(): ?Embedded
    {
        return $this->embedded;
    }
}

class Embedded
{
    public int $value;

    public function __construct(int $value)
    {
        $this->value = $value;
    }

    public function getValue(): int
    {
        return $this->value;
    }
}

<?xml version="1.0"?>
<doctrine-mongo-mapping xmlns="http://doctrine-project.org/schemas/odm/doctrine-mongo-mapping"
                        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                        xsi:schemaLocation="http://doctrine-project.org/schemas/odm/doctrine-mongo-mapping
                    https://doctrine-project.org/schemas/odm/doctrine-mongo-mapping.xsd">
    <document name="Container">
        <id type="integer" strategy="NONE"/>
        <embed-one field="embedded" target-document="Embedded" nullable="true"/>
    </document>
    <embedded-document name="Embedded">
        <field name="value" type="integer"/>
    </embedded-document>
</doctrine-mongo-mapping>

$container = new Container(10, null);

$documentManager->persist($container);
$documentManager->flush();
$documentManager->clear();

$aggBuilder = $documentManager->createAggregationBuilder(Container::class);
$aggBuilder->match()->field('id')->equals(10);

$container = $aggBuilder->hydrate(Container::class)->getAggregation()->getIterator()->current();

var_dump($container->getEmbedded());

// => Fatal error: Typed property Container::$embedded must not be accessed before initialization

Expected behavior

var_dump($container->getEmbedded());

// => null

This surprises me, because the hydrator is the same for the class regardless of the way we fetched the data (find vs. aggregate). I'll take a look after the long weekend. If you can provide a failing test case (you can take inspiration from this one, just use the agg builder instead of find), that would make my work of figuring out what's going on a lot easier.

@alcaeus
Actually the bug still occurs with find too: https://github.com/doctrine/mongodb-odm/pull/2316


RT Capabilities Part 1 - robot-log-visualizer

This PR for the robot-log-visualizer is a smaller simpler version of the original PR for the robot-log-visualizer and just contains the bare-bone code needed to visualize data online. The point of breaking up the original PR was to simplify the merge process for the robot-log-visualizer.

As discussed today f2f with @GiulioRomualdi and @traversaro the remaining parts of this PR to be addressed are as follows:

[x] Try to import BLF and set a flag if not to change the text of the realtime button
[x] camelCase to snake_case [x]
[x] remove print statements [x]
[x] clear plots only when RT is enabled [x]

These points have all been addressed today. @GiulioRomualdi if you have any further questions feel free to ask me :smile:

Hi @nicktrem let me know when it's  ready so I can start checking it :)

@nicktrem @GiulioRomualdi there is any update on this?

It is good to go on my end @GiulioRomualdi let me know if you have any questions

According to @GiulioRomualdi he did some tests on the real robot, and he did not remember well, but when using the RT logger, something related to saving the data was not working.

That issue is on the BLF side, not the robot-log-visualizer side. I can investigate that separately, however, that issue is separate from this PR


Update font-lohit-devanagari to 2.93.0

After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} left no offenses.
[x] The commit message includes the cask’s name and version.

Merged as 8ae46e6a8e2e3b9e7ed7a415f104a59f7154a099.


Add support GROUP_CONCAT to JPQLTemplates

QMyEntity qMyEntity = QMyEntity.myEntyti;

SQLExpressions.groupConcat(qMyEntity.myField);

When I execute it, the result is
unknown operation with operator GROUP_CONCAT
Looking this previous commit https://github.com/querydsl/querydsl/commit/23e2471b4735ad50f5ac33ad539474d113bb5b07 I notice the JPQLTemplates doesn't support this operation.

For SQL use SQLExpressions.groupConcat. For JPA this is not supported, because GROUP_CONCAT is not a function defined for JPQL. None of the ORM vendors ship it by default, although the function can be registered manually in some cases.
Duplicate of #2020.


Using the compiler at hand

I was on a Linux with gcc but no clang installed and when I compiled with gcc I got a bunch of these:
 warning: ignoring return value of 'fread' declared with attribute 'warn_unused_result' [-Wunused-result]
So I thought this might be helpful to silence these warnings, but also to give a little flexibility as to what compiler to use.
After installing clang in Ubuntu, and building with clang, there was no such warnings.

I have also taken into account what we discussed here: https://github.com/karpathy/llm.c/pull/4 about the -fopenmp flag.. This PR includes a change to the Makefile that combines the check used before with a more hands on solution in the Darwin case (checking if the library exists at /opt/homebrew/opt/libomp/lib).

like, ty


Notes from 3/09 Meeting

Having a meeting on Memorial day

Make poll/form with list of topics for people to choose from

For Web frameworks night: tour of open source projects, demonstrating each framework
Read the bash man page

Most of this isn't relevant anymore, so I'll close the issue.


bgutil stats and more configs for cassandra

See https://github.com/criteo/biggraphite/issues/265

Coverage decreased (-0.2%) to 80.363% when pulling 44ca3dbb8bf06e443f67bbe534f6a15ceee0f0b7 on iksaif:master into f55c741562e2a51a1639dcd96eb5c6b979ead9b8 on criteo:master.

Coverage decreased (-0.3%) to 80.348% when pulling e468b26b2b5dc089b025056fbacd365e7f9f70cf on iksaif:master into f55c741562e2a51a1639dcd96eb5c6b979ead9b8 on criteo:master.


Fast inputs break keyboard manager

Microsoft PowerToys version
0.56.2
Running as admin

[X] Yes

Area(s) with issue?
Keyboard Manager
Steps to reproduce
Use Keyboard manager to assign keyboard combination:
Shift+A => Shift+Q
Shift+S => Shift+W
Open editor (or any other input), hold Shift, then hit A and S in quick succession.
On screen, "QW" appears.
Press Shift+A again.
✔ Expected Behavior
Keyboard manager recognises mapped keyboard combination and "Q" appears on screen.
❌ Actual Behavior
"A" appears on screen. Keyboard manager stops interpreting any keyboard combinations from now on.
Restarting Powertoys does not solve the issue, only a full system reboot works for me.
The above example is just for easy reproduction, it often breaks another import workflow for me.
Other Software
No response

I'm able to replicate this one, looks a lot like https://github.com/microsoft/PowerToys/issues/17150 but I'm able to replicate this one with my Keyboard.

The keyboard manager appears to work again after some time. I cannot reproduce how long exactly it takes though.

What is the status in the latest version?

At least for me, the 0.59 update fixed the issue.

Good to hear. I'll assume that also counts for v0.60.1 for you then?
Unfortunately, I've seen a few other/new issues lately from other people, so for them it's not perfect yet...

Yes, it appears to be working on v0.60.1 so far. The issue was very easy to reproduce for me with the steps in the original post and this is fixed now.


Added check_format_code.yml

This .yml file helps to verify that a repo's formatting matches our
specifications (.clang-format file in the root directory), but doesn't
automatically fix any issues.
For now I need to figure out how to make this action automatically
check if every line of the code exceeds 80 characters and make it work
with BUILD.bazel and WORKSPACE.bazel files.

On the clang-format-action page it seems that all C/C++ headers are auto magically checked. We would like (in other places) to run checks of .proto files too. This might be worth keeping in mind when you hack around: if we can specify extensions we want to check that might get us a long way here.

Removed matrix setup section and made this action do the check of our code  independent on path, so all .cc/.h files will be checked.

Awesome, this looks great. As discussed, let's fix the formatting issues that this tool detects in this PR, and then let's submit it and continue with buildifier and prototool in follow-up PRs.


initial commit

Fixes https://github.com/dotnet/AspNetCore.Docs/issues/27072
@Rick-Anderson please review

@jvandertil any suggestions on this test code? I'll be starting the article soon.


It's not possible to use .ts setup/teardown file for global setup/teardown

Issue

It's not possible to use .ts setup/teardown file for global setup/teardown.
Jest has globalSetup and globalTeardown options which you can use for global setup/teardown but with ts-jest you can not use .ts files for setup.
I have Jest configuration in package.json:
"jest": {
  "globals": {
    "ts-jest": {
      "tsConfigFile": "tsconfig.json"
    }
  },
  "moduleFileExtensions": ["ts","js"],
  "transform": {
    "^.+\\.(ts|tsx)$": "./node_modules/ts-jest/preprocessor.js"
  },
  "testMatch": [
    "**/tests/**/*.test.(ts|js)"
  ],
  "testEnvironment": "node"
}

As I understand with this configuration ts-jest perform in memory transpiling of the .ts files. I have outDir option in compilerOptions of my tsconfig.json, but nothing is written in that outDir and because I cann't use transpiled jest-config.js for use in globalSetup option.

Expected behavior

Set options in config like this:
globalSetup: "./jest-setup.ts",
globalTeardown: "./jest-teardown.ts"

My question about this at StackOverflow

If you're here, take a look at this: https://github.com/kulshekhar/ts-jest/issues/411#issuecomment-605515177


Fix up powershell script

1.) You can't set $LASTEXITCODE directly, doing so creates a local
variable. I've changed it to $global:LASTEXITCODE
2.) $LASTEXITCODE can be $null. No longer using -ne 0 to compare
This should resolve Issue #2348
cc @btm @smurawski @ksubrama

:thumbsup:

:+1:


Fix compat of OptimizationBase

I have never adjusted compat entries in the registry (I think) and have no idea whether this PR is actually correct
Possible alternative to #107391, as indicated in the README:

There is however, a special category of bugged releases that can not be resolved by having a patch release. These also may to be resolved by yanking. That special category is when the compat bounds have been set too wide. i.e. say v2.10.0 was released using a feature not on julia v1.6 but the compat entry for julia was not raised in the release. In this case releasing a v2.10.1 with the corrected julia compat would not solve the issue as on julia v1.6 Pkg would still resolve the broken v2.10.0, and as a minor bump, reverting the code changes would not be valid in a patch bump. In this case one may either submit a PR to retroactively adjust the compat bounds of previous versions (best user-facing results, but slow and error-prone to implement) or yank the offending release.

It seems #107391 was merged as well - should we revert the other PR @giordano?


Tensorboard from pip installation broken

Tensorboard tries to load a file here https://github.com/tensorflow/tensorflow/blob/master/tensorflow/tensorboard/tensorboard.py#L145
but tensorboard/TAG is missing from the pip installation, so it produces the following message:
WARNING:tensorflow:IOError [Errno 2] No such file or directory: '/usr/local/lib/python2.7/dist-packages/tensorflow/tensorboard/TAG' on path /usr/local/lib/python2.7/dist-packages/tensorflow/tensorboard/TAG
WARNING:tensorflow:Unable to read TensorBoard tag
Starting TensorBoard  on port 6006
(You can navigate to http://localhost:6006)

and does not render any logged events.

+1 I am also facing the same issue

the same problem here. tensorboard cannot list the events, possibly related to the warning...

I believe missing the TAG is just a warning and shouldn't cause any problems.  If you look at the source code of tensorboard.py, you'll see TAG is just for debugging.
Not rendering any logged events is probably an independent problem -- can you verify / validate / reproduce the problem in a way we can help debug?

I built the pip package from source and installed it. Tensorboard can't render the events if I run:
tensorboard --logdir=/tmp/logs

but it works when I build tensorboard and run:
./bazel-bin/tensorflow/tensorboard/tensorboard --logdir=/tmp/logs

The only difference here seems to be the pip packaging.

I can't seem to reproduce the problem anymore. Perhaps I was write summaries incorrectly before. Closing this for now...

I had similar problems until I realized that the summary writer did not actually write the file unless I called the summary writer's flush() function.
I'm not sure, but it's probably because I had the summary writer's code snippet in a code part that did not close (and the code finished before the standard 120 seconds between each automatic flush).

same problem here

Same here. Out of a sudden I needed to add flush the summary writer after writing to see any summaries...

Do you mind filing another issue re: the summary writer not flushing, with a reproduction? Since it is pretty different from the TensorBoard pip installation issue discussed here.

I got a similar same problem, this is the code to demonstrate:
graph = tf.Graph()
with graph.as_default(), tf.device('/cpu:0'):
  a = tf.constant(5.0)
  b = tf.constant(6.0)
  c = a * b

  # Enter data into summary.
  c_summary = tf.scalar_summary("c", c)
  merged = tf.merge_all_summaries()

with tf.Session(graph=graph) as session:
  writer = tf.train.SummaryWriter("log/test_logs", session.graph_def)

  result = session.run([merged])
  tf.initialize_all_variables().run()
  writer.add_summary(result[0], 0)

I then ran tensorboard --logdir={absolute path to log/test_logs} but no event was listed there. Is there anything I should have written differently in the code maybe?
Note that log/test_logs does contain files like events.out.tfevents.1459102927.0a8840dee548.

Update: Running https://github.com/tensorflow/tensorflow/blob/r0.7/tensorflow/examples/tutorials/mnist/mnist_with_summaries.py also does not make tensorboard list the events.

@jaycode: Can you ls -lah your events file and tell me the size? Also, how did you install TensorBoard, and which version of pip are you using?

@danmane
Results of ls -lah:
total 8.5K
drwxrwxrwx 1 root root 4.0K Mar 27 20:23 .
drwxrwxrwx 1 root root    0 Mar 27 20:36 ..
-rwxrwxrwx 1 root root  592 Mar 28 06:09 events.out.tfevents.1459102927.0a8840dee548
-rwxrwxrwx 1 root root  592 Mar 28 06:09 events.out.tfevents.1459103131.0a8840dee548
-rwxrwxrwx 1 root root  500 Mar 28 06:09 events.out.tfevents.1459103348.0a8840dee548
-rwxrwxrwx 1 root root  500 Mar 28 06:09 events.out.tfevents.1459103526.0a8840dee548
-rwxrwxrwx 1 root root  500 Mar 28 06:09 events.out.tfevents.1459103820.0a8840dee548
-rwxrwxrwx 1 root root  537 Mar 28 06:09 events.out.tfevents.1459110199.0a8840dee548

for test_logs, and
total 1.2M
drwxrwxrwx 1 root root 4.0K Mar 27 20:38 .
drwxrwxrwx 1 root root    0 Mar 27 20:36 ..
-rwxrwxrwx 1 root root  21K Mar 27 20:38 events.out.tfevents.1459111009.0a8840dee548
-rwxrwxrwx 1 root root  32K Mar 27 20:38 events.out.tfevents.1459111051.0a8840dee548
-rwxrwxrwx 1 root root 1.1M Mar 28 06:09 events.out.tfevents.1459111110.0a8840dee548

for mnist_logs (from script mnist_with_summaries.py). Both shows no event in tensorboard.
Tensorflow and Tensorboard were both installed by default from tensorflow/tensorflow docker. Pip version is pip 8.0.2 from /usr/local/lib/python2.7/dist-packages (python 2.7).

@jaycode I am having similar problems. I am not able to even see the computation graph.
Are you able to see the graph?

Yeah. In my case the path was incorrect. Try running tensorboard with
--debug to see what the problem is.
On Apr 11, 2016 2:58 AM, "ultrons"<EMAIL_ADDRESS>wrote:
@jaycode https://github.com/jaycode I am having similar problems. I am
not able to even see the computation graph.
Are you able to see the graph?
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/tensorflow/tensorflow/issues/530#issuecomment-208052591

Thanks for the --debug option tip. I see only one event file in my directory though. Doesn't seem right.
 Have you tried to do it by any chance?

@ultrons We actually have an internal debugging tool that is just the graph visualizer without the rest of TensorBoard. It wouldn't be too difficult to export this as a standalone tool. If you want it, can you please file another issue requesting this feature, and we can ask @dsmilkov to take a look.

@danmane , good to know that this functionality exists. I will create another issue to request this as a feature in future releases.

I do not if it is correct to ask this here, but I am wondering about the installation for developers using bazel. The problem is that when I tried to compile tensorflow (tf), bazel cleans the cache so when i tried to run tensorboard (tb) it show the message that tb is not in the list. and then when I tried to compile tb it cleans tf. Is possible to keep both of them using the source code? and avoiding run bazel every single time that i need tf or tb?  or Do i need to have two installations folders one for tf and another for tb?

@Fhrozen
You should be able to build both tensorflow and tensorboard using bazel without having the two conflict. I'm not sure what's going wrong in your case - you could try building all your targets (without using bazel run) and then run them by invoking the built target in bazel-bin.
If you keep having issues with bazel, please open a separate issue with a clear reproduction of the exact commands you're using and the errors that you're seeing.

Install docker, tensorflow and python
https://youtu.be/OiPjSnKAmSI


feat: safety comments updated

Related issue https://github.com/google/zerocopy/issues/1655

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

Project coverage is 87.40%. Comparing base (1271aa0) to head (38847e8).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1835   +/-   ##
=======================================
  Coverage   87.40%   87.40%
=======================================
  Files          16       16
  Lines        5995     5995
=======================================
  Hits         5240     5240
  Misses        755      755

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


Multipart data values encoding

None values and lists of args are handled in http3/multipart:iter_fields
Everything else that comes through being non bytes is cast to string
Added tests for multipart_encode. Complex objects parsing into multipart/form-data body is same as in requests and urllib3

Great stuff - thank you!


In the README file, the link for "Contributing" does not work.

It works just fine. When clicked it moves as far down the page as possible to show the Contributing header. There isn't much page after that so there currently isn't much movement.


Add CSIMigration config option

Changes
Include a configuration option to enable CSIMigration for the storage-provider.
Further Information
Fixes LP#2002440

These look technically correct. Is the documentation in the upstream project which shows what to do once this is enabled?

Yes, the documentation in the upstream project guides the user through the process. This change only allows the user to enable the csi-migration feature on the provider, which is one of the steps required to start the process.


Short circuit on the first operation failure when multiple operations are part of the json patch request

This is a regression that I introduced with my check-in. I found this with a test in Entropy (I didn't knew there were tests for it in Entropy actually).
Once this fixed, revert the following commit in Entropy:
https://github.com/aspnet/Entropy/commit/292a5c04cc59219d6e7ddeae729e4d8962611f6d
@rynowak @Eilon
For reference: Snippet from Json Patch spec:
Evaluation of a JSON Patch document begins against a target JSON
   document.  Operations are applied sequentially in the order they
   appear in the array.  Each operation in the sequence is applied to
   the target document; the resulting document becomes the target of the
   next operation.  Evaluation continues until all operations are
   successfully applied or until an error condition is encountered.

Hmm, so looks like this was not a regression after all. I verified this by a test to the branch state where it did not have my changes and noticed the tests fail.

@kichalla please close.

I was mistaken when i filed this issue and we already do short circuit on the first operation failure.


[mieb] add support for voyage-multimodal-3:

https://github.com/embeddings-benchmark/mteb/pull/1555


Not an issue but... Would be real cool!

Any chance you could make this work when skilling with a woodcutting axe, etc? I transmog'ed my Dragon axe into a Dharok's greataxe, which works when idle or in combat, but when I cut a tree it reverts to the Dragon axe. Just thought I'd mention it, haha, would love to chop trees with that massive axe. Amazing pluggin, it's gonna be great for some cutscenes I plan on making. <3

nevermind it appears I was wrong.

So this is the result of setting the animation as a pose animation instead of a regular animation. When setting this animation to the regular animation it still overrides the weapon and shows an axe.


Search for BC211 service from the client

AC: A button in the Explore pane issues a hard-coded REST request to the server for some services using the search API, and displays a simple list of the resulting records. The point of this story is to get the infrastructure for REST calls in place.

Mock of how services should look (not AC):


[BUG]Get-PnPTenantSite : The remote server returned an error: (401) Unauthorized.

Notice
Many bugs reported are actually related to the PnP Framework which is used behind the scenes. Consider carefully where to report an issue:
I have done the SharePoint app registration and provided below permissions to the Client Id.

When i am trying to get all the SharePoint sites, I am getting 401 Unauthorized error as below. Could you please help me? did i miss any steps?
Get-PnPTenantSite : The remote server returned an error: (401) Unauthorized.
At line:1 char:20

$siteCollections = Get-PnPTenantSite -Detailed | Select Title, URL

               ~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : WriteError: (:) [Get-PnPTenantSite], WebException
FullyQualifiedErrorId : EXCEPTION,PnP.PowerShell.Commands.GetTenantSite

Got resolved by executing this command. Thanks.
Set-SPOTenant -DisableCustomAppAuthentication $false


Nested Drag Source + Touch

Describe the bug
I have a <ListView> as a Drop Target. Inside of the list view collection, I have a specific <Thumb> that is used as the Drag Source. When using the mouse it works perfectly. However, when using touch, it ends up scrolling the Scroll View, instead of grabbing the Drag Source.
To Reproduce
Steps to reproduce the behavior:

Create a <ListView> as a Drop Target
Create a ListViewItem Template that contains the Drag Source
Attempt to use a Touch Screen to grab the Drag Source
See that it starts to scroll, instead of dragging

Expected behavior
It should grab the Drag Source
Desktop (please complete the following information):

OS: Windows 10

I got the same issue, is there something new for this bug?
best regards,
Ivan

I attached my test project, please try it with touch screen.
Uploading DragDropTest.zip…

I'm able to somewhat work around this and accomplish what I want with:

@BButner your workaround worked well all way down to Drop moment?
Because I tried your solution with my custom TableDragHandler:
var handler = (TableDragHandler) border.FindResource("TableDragHandler");

but the next stage (that is TableDragHandler , custom as well) received bad data in DragOver method.


fixed data races in websockets

Great work Austin :+1: I'm not merging anything (significant) into master for right now, since we're getting ready for letsencrypt to land. After that I'll revisit this -- won't be too long. Thanks!

Okay, we're ready to merge whenever you are. (Will wait for confirmation pending #306)

@mholt If I understood the comments right, I went ahead and added TrimSpace for each message to remove any possible line terminators at the end of a message. If I remember correctly the default behavior of Scan is read up to the newline character and that is where it breaks for line, which we then use to send a message.

LGTM. Thanks Austin!


Pin ttrpc crate to 0.8.0 (fix CI)

Dependabot opened a bunch of PRs, which are failing because of breaking change in ttrpc 0.8.1 (https://github.com/containerd/ttrpc-rust/pull/197).
This PR pins ttrpc crate to 0.8.0 to make CI green until we figure out the fix.

LGTM


Figure out DB migration interface

Context
We figured out CI/CD interface in this ADR but we didn't figure out database migrations interface

this might be a duplicate of #217

going to repurpose this ticket to be implementation migrations since we already have #217 for spec'ing it out


Factorized code for dC in makemore_part4_backprop.ipynb

First thanks a lot Andreij for the great series,
Here is the factorized version for dC
one_hot_Xb = F.one_hot(Xb,27).view((Xb.shape[0]*Xb.shape[1],27)).float()
dC = one_hot_Xb.T @ demb.view((demb.shape[0]*demb.shape[1],demb.shape[2]))
I came up with it mainly through shape comparaison, could you please look into  it :-)

Seems correct to me.
I came up with a slightly cleaner solution:
Xb_1hot = F.one_hot(Xb, 27).float()  # 32 x 3 x 27 d_C = torch.tensordot(Xb_1hot, d_emb, dims=([0, 1], [0, 1]))  # 27 x 10


Feature request: Open image in media plugin from desk

Hi, I would love if there were a way to open an image in the media plugin from the desk (as I'm adding/swapping an image).
This could be an entry that shows inside the three dots menu, near "Download" and "Copy Url", that says something like "Open in Media".
My use case is that I just noticed the media plugin allows setting the alt directly there, which I love the idea, but now my editors have no quick way to add/edit the alt on an image from the desk, they need to go into Media and look for the image there (and if the image is not new it won't be at the top).
Other use cases is being able to quickly see the image dimensions, see other references, or edit other metadata such as tags, title, etc.
Now that I think about it, maybe it wouldn't even need to go inside the media plugin, it just needed to open the media modal for that image on top of the desk, this way I can see and edit all image metadata and never leave the context of the desk. Not sure what the menu entry would say in this case, the best I came up with was "Open Media Modal"...

Is this possible?  Is it possible to control the options in the desk image kabob to "Open in Media"?  It could be a little out of scope - but adding alt text is a huge pain right now with large libraries

it would be great to have a way to in-line add a field for the alt in the deck that gets stored with the image / auto populates if the image already has an alt associated with it, etc.


SessionDelegate.protectedRequests grows infinitely

Looks like SessionDelegate.protectedRequests grows infinitely on requests retries.
Alamofire Environment
Alamofire version: 5
Xcode version: 9.2
Swift version: 4

Ah, the PR has cleared this up for me. I'll review and see if we can get it merged.

Fixed in 4.7.2. Thanks!


Add settings for entirely turning off user and issue completion

Like #1589 and #1645 but not per-language. I do not find these features useful and would like to completely disable them, without enumerating every single language I use.
More background: the reason I don't find these useful is because there are too many other contexts in which I might type @ or # (even in comments) which have nothing to do with GitHub. You might be able to make inference of GH-related intent a bit smarter, but it seems like that would be really hard to entirely get right.

Also, even when I add the current language to the ignore list (using the nightly build), I'm still getting user completions?
  "githubIssues.ignoreUserCompletionTrigger": [
    "python",
    "javascript",
    "typescript",
    "javascriptreact",
    "typescriptreact",
    "markdown",
    "plaintext",
    "shellscript",
    "html",
    "css",
    "scss"
  ]

Try out the two settings "githubIssues.issueCompletions.enabled" and "githubIssues.userCompletions.enabled" and verify that they correctly disable issue and user completions.

Works for me. Thanks!


Error in apply_workaround_for_float_relative_position_issue_18925

The problem is described here:
https://github.com/jackMort/ChatGPT.nvim/issues/128
As the error appears to come out of nui.nvim I am opening this issue with the hope that you maybe have an idea of what is going on.

How to reproduce? Can you share minimal reproduction steps please?

I explained the problem in the original issue, but maybe I should have made the steps more clear.
To reproduce:

get my chatgpt.nvim lua config
install the latest ChatGPT.nvim with Lazy
Setup ChatGPT.nvim as described in the README (providing OpenAI API-Key...)
Run the command :ChatGPT
Try to submit a prompt -> Error with the provided Stack-Trace

But not everyone seems to face this problem. So I am not sure if you would be able to reproduce it.

Can you reproduce this on a clean neovim setup?
It might be caused by one of the plugins you are using. That'd be the reason why it's not reproducible by everybody.

Yeah you were right. For whatever reason, this plugin was causing the issue.

I think that plugin remaps <CR> and some other keys for every buffer: https://github.com/jiangmiao/auto-pairs/blob/39f06b873a8449af8ff6a3eee716d3da14d63a76/plugin/auto-pairs.vim#L603-L673
Ideally, it should ignore scratch buffers (https://neovim.io/doc/user/windows.html#scratch-buffer).


Count repos across federation members in quota

This is an alternative to #1460, also for https://github.com/jupyterhub/mybinder.org-deploy/issues/2143
Unlike #1460, it keeps all the definitions of quotas and such, except:

repo counts are added to health check reports (doesn't require any additional k8s API calls, since we already collect them for the count)
each federation member collects repo counts from the health endpoint of each other federation member
repo_quota is measured against the sum of all federation members, instead of only the current instance

This is quite a bit simpler thank #1460, but potentially more costly (I'm not sure)
Additionally, I placed the binder repo_url in pod annotations, for easier lookup.
includes #1459

When you say "costly" do you mean in terms of infrastructure costs? My intuition is that in the long term, our people costs are still much higher than our cloud costs, and so I am generally +1 on taking "simpler approaches that are a bit costlier in cloud".
This seems like a good iterative step forward on what we currently have to me.

When you say "costly" do you mean in terms of infrastructure costs?

I mean performance-wise (making things slower, not costing more money). This approach moves larger amounts of information around and possibly making more k8s API calls (I don't think so, since it's piggy-backing on the same calls used by the health check already called every 10s by federation-redirect).
On the other hand, #1460 results in additional HTTP requests for every build, so that might slow things down itself.

Without understanding the technical details that much, my vote is for whatever is conceptually simplest, and has the least amount of maintenance burden over time.


Improving documentation

Discussion on the state of documentation for this library.
Code comments.
Using the same comments with the same style as raylib. One idea is to change them to the xmldoc style which can be used to generate external documentation. Unsure if this should be done but worth looking into.
Tech notes
Documenting api differences to make it easier for people new to raylib. Could move details like this into a seperate wiki page or file if needed. For example, a guide on how to handle/access IntPtr variables since Raylib-cs uses these in structs and functions.

I would like to help, where should I start?

@CastimierDev I could use help with the wiki. Not quite sure how best to structure it. The goal is to point people to it to
answer common questions on the discord.
Let me know what suggestions or ideas you have on this. Thanks!

Perhaps we could add a short documentation about every subject and show a snippit where in it get's used.
For example working with files and audio

Converting some of the commenting into /// <summary>  tags would help with IDE quick info


When I upload larger files, I often get an error message.

Hello m-cat,
When I upload larger files, I often get an error message with the "uploadFile" function:
Error: SkynetMaxUploadSize header is missing
    at Object.onError (D:\w4\2\3\nodejs-skynet\src\upload.js:86:32)
    at Upload._emitError (D:\w4\2\3\nodejs-skynet\node_modules\@skynetlabs\tus-js-client\lib.es5\upload.js:670:22)
    at Upload._emitHttpError (D:\w4\2\3\nodejs-skynet\node_modules\@skynetlabs\tus-js-client\lib.es5\upload.js:639:12)
    at D:\w4\2\3\nodejs-skynet\node_modules\@skynetlabs\tus-js-client\lib.es5\upload.js:772:18
    at processTicksAndRejections (node:internal/process/task_queues:96:5)

And since today only this error when uploading larger files (41MB-55MB).
I don't understand the error. I think it might be a problem in the "tus-js-client" but I'm not sure.
Yesterday I still thought the error would come from the portal, because occasionally it worked with the same file.
But today it didn't work anymore, the same file (41MB large).

Hello m-cat,
I've been trying to figure out the error for the past 4 hours.
I noticed that only every 20 attempts to upload a file with a size of 45MB works.
A smaller file with 27MB size always works when uploading.
I also noticed that the problem is currently only happening on the "https://siasky.net" portal.
There is no error on the proral "https://web3portal.com", but it is very very slow.
So I think it's the "siasky.net" portal.
I just don't understand why it works from time to time, and often not.

Hello m-cat,
I just did another test in the browser with "skynet-js" trying to upload a file with 78MB size to "https://siasky.net", but it doesn't work.
The same error comes up, but more info:
File {name: 'session-desktop-win-1.8.6.exe', lastModified:<PHONE_NUMBER>235, lastModifiedDate: Mon Jun 20 2022 04:56:22 GMT+0200 (Mitteleuropäische Sommerzeit), webkitRelativePath: '', size: 78482296, …}
lastModified:<PHONE_NUMBER>235
lastModifiedDate: Mon Jun 20 2022 04:56:22 GMT+0200 (Mitteleuropäische Sommerzeit) {}
name: "session-desktop-win-1.8.6.exe"
size: 78482296
type: "application/x-msdownload"
webkitRelativePath: ""
[[Prototype]]: File

XHR finished loading: OPTIONS "https://siasky.net/skynet/tus".
POST https://siasky.net/skynet/tus 400
XHR failed loading: POST "https://siasky.net/skynet/tus".
POST https://siasky.net/skynet/tus 400
XHR failed loading: POST "https://siasky.net/skynet/tus".
Uncaught (in promise) Error: SkynetMaxUploadSize header is missing
    at Object.onError (index.js:17118:40)
    at Upload._emitError (index.js:1812:22)
    at index.js:1662:16

Thanks for the report, we'll look into it. Apologies for the inconvenience.

I also noticed that the problem is currently only happening on the "siasky.net" portal.
There is no error on the proral "web3portal.com", but it is very very slow.

You can try skynetfree.net for now. Note that you'll need to make an account and use an API key to upload:
https://docs.skynetlabs.com/skynet-topics/portal-accounts/api-and-sponsor-keys

Hello m-cat,
I just tested uploading small files (1MB-15MB) and large files (45MB-78MB) to "skynetfree.net" with "skynetApiKey".
With the small files (1MB-15MB) everything works great.
With large files (45MB-78MB) this error occurs:
Error: <!DOCTYPE html>

    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />

    <title>401: Unauthorized</title>
    <meta name="title" content="401: Unauthorized" />
    <meta
      name="description"
      content="You must be authenticated to access this content"
    />

    <link
      rel="icon"
      href="data:image/svg+xml, %3Csvg role='img' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' fill='%2300C65E' %3E%3Ctitle%3ESkynet%3C/title%3E%3Cpath d='m-.0004 6.4602 21.3893 11.297c.561.2935.6633 1.0532.1999 1.4846h-.011a10.0399 10.0399 0 0 1-2.2335 1.5307c-6.912 3.4734-14.9917-1.838-14.5438-9.5605l2.8601 1.9752c.856 4.508 5.6187 7.1094 9.8742 5.3932zm8.6477 3.1509 14.3661 5.6785a.8704.8704 0 0 1 .5197 1.0466v.0182c-.1537.5377-.7668.7938-1.2575.5252zm5.2896-7.4375c2.7093-.2325 6.0946.7869 8.1116 3.3871 1.699 2.1951 2.0497 4.8772 1.9298 7.6465v-.007c-.0478.5874-.6494.9616-1.1975.745l-9.7652-3.8596 9.0656 2.4313a7.296 7.296 0 0 0-1.0677-4.5631c-2.9683-4.7678-9.9847-4.5344-12.6297.4201a7.5048 7.5048 0 0 0-.398.8831L5.5546 7.9614c.069-.1017.1417-.198.2144-.2962.1163-.2416.2417-.487.3798-.7268 1.6118-2.7911 4.3102-4.4338 7.1558-4.6973.2108-.0182.4215-.049.6323-.0672z' /%3E%3C/svg%3E"
      type="image/svg+xml"
    />

    <link rel="preconnect" href="https://fonts.googleapis.com" />
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
    <link
      href="https://fonts.googleapis.com/css2?family=Sora:wght@400;800&display=swap"
      rel="stylesheet"
    />

          <svg
            role="img"
            viewBox="0 0 24 24"
            xmlns="http://www.w3.org/2000/svg"
            height="88"
            fill="#00C65E"
          >
            <title>Skynet</title>
            <path
              d="m-.0004 6.4602 21.3893 11.297c.561.2935.6633 1.0532.1999 1.4846h-.011a10.0399 10.0399 0 0 1-2.2335 1.5307c-6.912 3.4734-14.9917-1.838-14.5438-9.5605l2.8601 1.9752c.856 4.508 5.6187 7.1094 9.8742 5.3932zm8.6477 3.1509 14.3661 5.6785a.8704.8704 0 0 1 .5197 1.0466v.0182c-.1537.5377-.7668.7938-1.2575.5252zm5.2896-7.4375c2.7093-.2325 6.0946.7869 8.1116 3.3871 1.699 2.1951 2.0497 4.8772 1.9298 7.6465v-.007c-.0478.5874-.6494.9616-1.1975.745l-9.7652-3.8596 9.0656 2.4313a7.296 7.296 0 0 0-1.0677-4.5631c-2.9683-4.7678-9.9847-4.5344-12.6297.4201a7.5048 7.5048 0 0 0-.398.8831L5.5546 7.9614c.069-.1017.1417-.198.2144-.2962.1163-.2416.2417-.487.3798-.7268 1.6118-2.7911 4.3102-4.4338 7.1558-4.6973.2108-.0182.4215-.049.6323-.0672z"
            />
          </svg>

                You must be authenticated to access this content

                You're being redirected to the Log In page of this Skynet Portal

HTTP 401: Unauthorized

                If you're not redirected automatically,
                click here.

    at Object.onError (D:\w4\2\3\nodejs-skynet\src\upload.js:86:32)
    at Upload._emitError (D:\w4\2\3\nodejs-skynet\node_modules\@skynetlabs\tus-js-client\lib.es5\upload.js:670:22)
    at Upload._emitHttpError (D:\w4\2\3\nodejs-skynet\node_modules\@skynetlabs\tus-js-client\lib.es5\upload.js:639:12)
    at D:\w4\2\3\nodejs-skynet\node_modules\@skynetlabs\tus-js-client\lib.es5\upload.js:772:18
    at processTicksAndRejections (node:internal/process/task_queues:96:5)

At the moment it only works on the portal "https://web3portal.com/" without "skynetApiKey"
upload large files (45MB-78MB).

Hello m-cat,
Sorry for the huge text.
I hope you understand everything.
It's good that I made an error in the browser during the test, because otherwise I wouldn't have noticed the difference.
I accidentally tested "skynet-js" with version 4.1, where the error message "SkynetMaxUploadSize header is missing" comes up
When I then tried the same test again with 4.3 "skynet-js", everything worked.
The same tests in the browser with 4.1 and 4.3 "skynet-js" with the portal "https://web3portal.com" work great.
The tests with the "master" from "skynet-nodejs" work great with the portal "https://web3portal.com".
In the same tests with the "https://siasky.net" portal and the "master" version of "skynet-nodejs", the error message "SkynetMaxUploadSize header is missing" appears again.
Browsing through the code, I noticed:
The "uploadFile" and "uploadLargeFile" functions have changed a bit in "skynet-js" and since in "skynet-nodejs" the code from the "uploadData" function more closely matches the code of version 4.1 "skynet-js".
So I think the portal "https://siasky.net" works with the latest version 4.3 of "skynet-js" and the latest 2.4.1 "tus-js-client".
Which leads to the error message "SkynetMaxUploadSize header is missing".
And with the portal "https://web3portal.com" I think that you are working with version 4.1 of "skynet-js" and the latest 2.3.0 "tus-js-client".
Therefore all tests work in the browser with 4.1 and 4.3 of "skynet-js".
The "skynet-nodejs" version also works, because the code of the "uploadData" function rather matches the code of the 4.1 "skynet-js" version, and the portal definitely uses "skynet-js" 4.1.
I think we should find the solution to the error message "SkynetMaxUploadSize header is missing" in changing from 4.1 to 4.3 "uploadFile" and "uploadLargeFile" to "skynet-js", and then changing it to "skynet-nodejs version".
Sorry for the huge text.
I hope you understand everything.

Not sure I understand... are you saying it works with skynet-js 4.3 but not 4.1? We changed the algorithm a lot in 4.3, which may account for it. But the team is already working on a fix for the header issue on our servers - sounds like they know what happened and just need a couple days to deploy a fix.
In the meantime I can run my own tests and port the new algorithm to nodejs.

Hello m-cat,
Sorry again, I did about 60 tests yesterday and always just attached the results and my thoughts before posting anything.
The problem seems to be solved. Thanks to all.
I can again upload a file larger than 41MB via the "https://siasky.net" portal.
It works in the browser with "skynet-js" and also in "skynet-nodejs".
Everything is going great and there are no more error messages.

Awesome @parajbs ! Thanks for bringing this to our attention!


ReadM & MangaMonks dead

Source name
ReadM & MangaMonks
Source language
English
Source link
https://readm.today & https://mangamonks.com
Other details
Mentioned in the repo-support channel

Acknowledgements

[X] I have updated all installed extensions.
[X] I have opened WebView and checked that the source website is down.
[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a meaningful title with the source name.
[X] I will fill out all of the requested information in this form.

should be, but it was announced that they were closing all affiliated sites.

is there anyway to get data on our readlist for readm ? lost all my bookmarks and where I was in the stories...


Initial Autocomplete

Hey @arianaantonio,
Here's the basic autocomplete API. It's written entirely from spec, so there may still be some integration issues, but test tests are passing.

👍


Implementation: possibly Cython

Currently, the package requires PyTorch for GPU (CUDA) acceleration. That could limit the usage of non-CUDA users (non-NVIDIA machines, e.g. macOS). However, without GPU acceleration, the computation may take too long. One possibility is to add Cython implementation.

Some posts online suggest that PyTorch performance on CPU could be better than NumPy, and NumPy is also very hard to beat in terms of performance, since it already facilitates ATLAS, BLAS, LAPACK, etc.
I am not sure one could actually gain anything by completely rewrite everything in C++ and wrap it by Python. Except being able to learn more about C++ as the only benefit from it?
Anyway, I will leave it as a PyTorch-backend package for now.


gCloud missing GRPC extension

I trying deploy app using Firestore, but everytime when run "deploy" result in build fail with because google/cloud-firestore  requires ext-grpc, (but works fine in localhost, I can write, read in database).
In my localhost already installed grpc extension and uncomment in php.ini, I created a file php.ini in root of app (same level of app.yaml file).

Step #1: Using PHP version: 7.2
Step #1: Install PHP extensions...
Step #1: Running composer...
Step #1: Loading composer repositories with package information
Step #1: Installing dependencies from lock file
Step #1: Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. It is recommended that you run composer update or composer update <package name>.
Step #1: Your requirements could not be resolved to an installable set of packages.
Step #1:
Step #1:   Problem 1
Step #1:     - Installation request for google/cloud-firestore v1.14.1 -> satisfiable by google/cloud-firestore[v1.14.1].
Step #1:     - google/cloud-firestore v1.14.1 requires ext-grpc * -> the requested PHP extension grpc is missing from your system.
Step #1:
Step #1:   To enable extensions, verify that they are enabled in your .ini files:
Step #1:     - /opt/php72/lib/php-cli.ini
Step #1:     - /opt/php72/lib/ext.enabled/ext-apcu-bc.ini
Step #1:     - /opt/php72/lib/ext.enabled/ext-mailparse.ini
Step #1:     - /opt/php72/lib/ext.enabled/ext-memcached.ini
Step #1:   You can also run php --ini inside terminal to see which files are used by PHP in CLI mode.
Step #1: error building image: error building stage: waiting for process to exit: exit status 2
Finished Step #1
ERROR
ERROR: build step 1 "gcr.io/kaniko-project/executor@sha256:f87c11770584812cd656e6ed08eda1cff5c1ee44f5870" failed: step exited with non-zero status: 1
ERROR: (gcloud.app.deploy) Cloud build failed. Check logs at https://console.cloud.google.com/cloud-build/builds/c22ef7d2-eab4-4fb4-?project=464853 Failure status: UNKNOWN: Error Response: [2] Build failed; check build logs for details

Environment details

OS: Windows 10
PHP version: 7.2.34
Package name and version: google/cloud-firestore
GCP env: Flex

Steps to reproduce

Just create a new app
Put example "hello world" app into folder PHP docs samples
in CLI "composer require google/cloud-firestore"
"gcloud app deploy"
Result in build fail

Code example
No code necessary, fail just in deploy process but...
index.php
<?php
// my index  ;-)
?>

php.ini
extension=grpc.so
extension=curl.so

display_errors=On

app.yaml
env: flex

runtime_config:
  document_root: public

manual_scaling:
  instances: 1

resources:
  cpu: 1
  memory_gb: 0.5
  disk_size_gb: 10

composer.json
  "require": {
    "php": "7.2.*",
    "slim/slim": "4.*",
    "slim/psr7": "^1.2",
    "nyholm/psr7": "^1.3",
    "guzzlehttp/psr7": "^1.7",
    "http-interop/http-factory-guzzle": "^1.0",
    "laminas/laminas-diactoros": "^2.4",
    "google/cloud-firestore": "1.14.1",
    "google/apiclient": "^2.8",
    "google/cloud-error-reporting": "^0.18.1",
    "grpc/grpc": "1.19",
    "google/protobuf": "^v3.3.3"
  },
  "require-dev": {
  }
}

My PHP info.

I trying deploy app using Firestore, but everytime when run "deploy" result in build fail with because google/cloud-firestore requires ext-grpc, (but works fine in localhost, I can write, read in database).
In my localhost already installed grpc extension and uncomment in php.ini, I created a file php.ini in root of app (same level of app.yaml file).

Step #1: Using PHP version: 7.2
Step #1: Install PHP extensions...
Step #1: Running composer...
Step #1: Loading composer repositories with package information
Step #1: Installing dependencies from lock file
Step #1: Warning: The lock file is not up to date with the latest changes in composer.json. You may be getting outdated dependencies. It is recommended that you run composer update or composer update <package name>.
Step #1: Your requirements could not be resolved to an installable set of packages.
Step #1:
Step #1:   Problem 1
Step #1:     - Installation request for google/cloud-firestore v1.14.1 -> satisfiable by google/cloud-firestore[v1.14.1].
Step #1:     - google/cloud-firestore v1.14.1 requires ext-grpc * -> the requested PHP extension grpc is missing from your system.
Step #1:
Step #1:   To enable extensions, verify that they are enabled in your .ini files:
Step #1:     - /opt/php72/lib/php-cli.ini
Step #1:     - /opt/php72/lib/ext.enabled/ext-apcu-bc.ini
Step #1:     - /opt/php72/lib/ext.enabled/ext-mailparse.ini
Step #1:     - /opt/php72/lib/ext.enabled/ext-memcached.ini
Step #1:   You can also run php --ini inside terminal to see which files are used by PHP in CLI mode.
Step #1: error building image: error building stage: waiting for process to exit: exit status 2
Finished Step #1
ERROR
ERROR: build step 1 "gcr.io/kaniko-project/executor@sha256:f87c11770584812cd656e6ed08eda1cff5c1ee44f5870" failed: step exited with non-zero status: 1
ERROR: (gcloud.app.deploy) Cloud build failed. Check logs at https://console.cloud.google.com/cloud-build/builds/c22ef7d2-eab4-4fb4-?project=464853 Failure status: UNKNOWN: Error Response: [2] Build failed; check build logs for details

Environment details
* OS: Windows 10

* PHP version: 7.2.34

* Package name and version: google/cloud-firestore

* GCP env: Flex

Steps to reproduce
1. Just create a new app

2. Put example "hello world" app into folder [PHP docs samples](https://github.com/GoogleCloudPlatform/php-docs-samples)

3. in CLI "composer require google/cloud-firestore"

4. "gcloud app deploy"

5. Result in build fail

Code example
No code necessary, fail just in deploy process but...
index.php
<?php
// my index  ;-)
?>

php.ini
extension=grpc.so
extension=curl.so

display_errors=On

app.yaml
env: flex

runtime_config:
  document_root: public

manual_scaling:
  instances: 1

resources:
  cpu: 1
  memory_gb: 0.5
  disk_size_gb: 10

composer.json
  "require": {
    "php": "7.2.*",
    "slim/slim": "4.*",
    "slim/psr7": "^1.2",
    "nyholm/psr7": "^1.3",
    "guzzlehttp/psr7": "^1.7",
    "http-interop/http-factory-guzzle": "^1.0",
    "laminas/laminas-diactoros": "^2.4",
    "google/cloud-firestore": "1.14.1",
    "google/apiclient": "^2.8",
    "google/cloud-error-reporting": "^0.18.1",
    "grpc/grpc": "1.19",
    "google/protobuf": "^v3.3.3"
  },
  "require-dev": {
  }
}

My PHP info.

I too got the same issue when trying to deploy a Laravel app to gcloud.

Hi @John-Henrique and @vpaflah, it's been quite some time since anyone replied. Not sure if this will be relevant for you, but does it still repro on your end?
I am unable to replicate this issue on my machine. Feel free to refer the files I used here: https://github.com/vishwarajanand/php-docs-samples/pull/3

Closing this issue.. please feel free to reopen if it repros.

Same issue. grpc shows enabled and I have extension=grpc.so in php.ini - This is an existing project that I have not had any previous issues with. The only thing that has changed is that I'm on an Apple M1 processor now.

I'm having the same issue with no changes on code on a Cloud Function, it worked before and now it's erroring out with - google/cloud-firestore[v1.20.0, ..., v1.24.0] require ext-grpc * -> it is missing from your system. Install or enable PHP's grpc extension.
extension=grcp.so is in php.ini and it worked just fine before

@delunalara thanks for adding in. I've spent an entire day on this so far with no luck.

@delunalara  Found the reported issue: https://issuetracker.google.com/issues/238594979
Solution is to add this to composer.json:
"provide": {         "ext-grpc": "*"     }

@jimsideout just added to that the composer.json on my cloud functions and they were deployed successfully!


No separation of button and form element styling

The form fields in bootstrap4 share a number of variables with buttons (e.g. $input-button-focus-box-shadow) - this means for most sites it's either necessary to replace the bootstrap buttons or forms SCSS file(s) with custom versions, or to override the styles in additional custom CSS. This shouldn't be necessary - they should have separate variables. One set can default to being set from the other to allow the same default build, but the buttons and form fields can then be styled separately just by setting variables.

These were split in v4-dev. Coming in Beta 3.

Brilliant! Thanks.


Add a GOVERNANCE.md document

Adding a governance document based on Vespa's.
I tweaked the following things:

Make all committers board members for now.
Add reference to slatedb-pulumi for the official committer list.
Cleaned some grammar.
Added a carveout to allow committers to merge small PRs without approval.

Updated GOVERNANCE.md and RELEASE.md with:

Exclude slatedb-go
Add releases to governance
Exapand release doc with cadence, proposal, and approval
Add RFC to governance
Split board from committers


refactor: basic example from class component to functional component

Summary
Refactor basic example from class component to functional component.
Motivation
Fix some TypeScript issues and improve the readability of the functional component compared to the class component.
Changes
Test plan

Sorry about the big PR. I wanted to do it in some small PRs, but all of them were related to each other, so I decided to combine them into this PR. I agree with you about the benefits of small PRs 🤝.

@KrzysztofMoch I saw your comments when I was refactoring. I tested on the master branch just to be on the safe side, and I noticed we have these issues. I think like @freeboub.

Seekbar is not working on master ? 👀

Yeah. It's not working correctly. Please see the video below.
https://github.com/TheWidlarzGroup/react-native-video/assets/3009224/903a4350-de42-4e05-a68e-2bcca8bf5ba9

Yeah. It's not working correctly. Please see the video below.
Screen.Recording.2024-06-27.at.17.17.19.mov

This is actually working - it is just live source. I have issue with normal video, seekbar is not updating it's position (it's staying in one position)

Yeah, you're right. Let me check it out on iOS first on the master branch, then I will test it on this PR.

@KrzysztofMoch It's fixed. We need to refactor the state variable in another PR in the future.

@KrzysztofMoch thanks for testing again!


[RFQ] Move docs into main repo

RFQ:
Moving the docs into the main repo would enable us to make the release easier and add autogenerated docs from the docstrings.

@SchrodingersGat thoughts?

The release would certainly be easier, and I am on board with auto-generated docstrings from code.
Maybe we move these docs once we also migrate to the new website?

The way I see it (and I may be wrong), the auto-generated docstring creates a documentation for developers and code contributors.
However, this light (in the sense that there is almost no need for external dependencies and few files) repo contains documentation for InvenTree users, including developers.
I would be in favor to keep this repo separate because contributions are much simpler to post and review than on the main code repo.
But maybe I am missing part of the equation.

@eeintech as a documentation contributor, you don't need to install all the source dependencies, just the mkdocs ones.

@eeintech the idea is to:
a) remove the disconnect between code and doc releases
b) make it easier for plugin starters to discover classes etc. you can not expect ppl. to dig through the whole codebase to find out how it works.

@eeintech as a documentation contributor, you don't need to install all the source dependencies, just the mkdocs ones.

Alright, as long as it doesn't add any burden on potential doc contributors which is my main concern.

@eeintech the idea is to: a) remove the disconnect between code and doc releases b) make it easier for plugin starters to discover classes etc. you can not expect ppl. to dig through the whole codebase to find out how it works. c) move more to a mono-repo so that issues etc are in the same dir

All those points make sense, as I said I was only concerned about putting the bar higher for doc contributors. I'm sure it's for the best :smile:


MultiplePasswordresetsbyUser Rule requires additional tuning for SSPR

This rule causes excessive noise by including SSPR and Password flow interrupt events. Customers are regularly requesting this rule to be tuned or turned off because of this.
Rule link
MultiplePasswordresetsbyUser
Fix
This rule looks across multiple data points but when evaluating the audit logs some exclusions already exist. In the union for the Audit logs, the following exclusions under new additions should also be included
        AuditLogs
        | where OperationName has_any (pWord) and OperationName has_any (action)
        | where ResultDescription !contains "User submitted a new password"
        | where ResultDescription <> "User started the mobile SMS verification option"
        | where ResultDescription <> "User submitted their user ID"
        | where ResultDescription <> "User was presented with verification options"
        | where ResultDescription <> "User completed the email verification option"
        | where ResultDescription <> "User completed all verification steps required to reset their password"
        | where ResultDescription <> "Successfully completed reset."
        | where ResultDescription <> "User completed the mobile SMS verification option"
        | where ResultDescription <> "User started the email verification option"
        // new additions
        | where OperationName <> "Self-service password reset flow activity progress"
        | where OperationName <> "Change password (self-service)"
        | where OperationName <> "Reset password (self-service)"

Justification

Self-service password reset flow activity progress is typically caused by a password policy which requires users to rotate passwords. This operation already implies the user has signed in successfully and therefore the password reset is non-malicious.
self-service password resets should not be included because the user is required to verify some piece of MFA information for the SPPR request to authenticate. Therefore this password change can be deemed as non-malicious.

Hi @best-geek we have tuned this rule for the details that you highlighted hope, it's working fine now, feel free to reopen the issue if it persists, thanks!


Update all existing code fixes that are doing too much work on RegisterCodeFixesAsync (C#)

Right now most of the code fix providers are doing more work than they should on the RegisterCodeFixesAsync method.
They should delegate most, if not all, of the work to the code actions.
See the expected way to do this on:
https://github.com/code-cracker/code-cracker/blob/master/src/CSharp/CodeCracker/Performance/UseStaticRegexIsMatchCodeFixProvider.cs#L22
And how the correction was applied on 34c9ca4a819d180.
This is for C# only. For VB view issue #348.

I did most of the work, but we are still missing the Style and Usage code fixes.

I am doing the Style ones now.

I am doing Usage now.


fix: throw away samples on Prometheus Remote Write 4xx errors

This change adds concept of Recoverable and Non-Recoverable error in Notifier interface. Deamon throws away the samples on non-recoverable error.
PrometheusNotifier was modified to produce Non-recoverable error on 4xx http error family and on unknown http errors. This should be in complience with prometheus remote write spec as the client should not retry on 4xx except on 429.
This also means that host-metering will throw away samples from time when

it was misconfigured with wrong URL (404)
auth issue happened (403)

It doesn't throw away samples on connectivity issues (no response from server).

Merged, thanks @pvoborni !


Run snapshot tests on CI

Run tests on macOS as well as Linux so we get snapshot test coverage.
https://github.com/SwiftPackageIndex/SwiftPackageIndex-Server/pull/710/files#r487798744

Closing this. As Dave pointed out, we'd actually need the CI to run on Big Sur (and not Xcode 12), so that's unlikely to happen soon.


[SPARK-19001] [Deploy]don't submit sendHeartbeat task again if has registered…

What changes were proposed in this pull request?
when first successfully registered response received, set the flag hasRegisteredBefore as true, and when it register next time, it will not submit the SendHeartbeat task again

Can one of the admins verify this patch?


Sensor card no longer displaying line graph in 0.84

Home Assistant release with the issue: 0.84.*

Last working Home Assistant release (if known): 0.83.*
Operating environment (Hass.io/Docker/Windows/etc.): Hass.io

Component/platform: https://www.home-assistant.io/lovelace/sensor/

Description of problem: The sensor cards no longer have line graphs.

Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
- cards:
  - cards:
      - entity: sensor.energyeasy_yesterday_consumption
        hours_to_show: 480
        name: Yesterday
        type: sensor
      - entity: sensor.energyeasy_yesterday_cost_total
        hours_to_show: 480
        name: Yesterday
        type: sensor
    type: horizontal-stack
  - cards:
      - entity: sensor.energyeasy_this_month_consumption
        hours_to_show: 480
        name: Month
        type: sensor
      - entity: sensor.energyeasy_this_month_cost_total
        hours_to_show: 480
        name: Month
        type: sensor
    type: horizontal-stack
type: vertical-stack

Traceback (if applicable):

Additional information:

/move to home-assistant-polymer


Add an operator for supplying a default value to getDefaultField

This PR adds an operator for supplying a default value to getDefaultField (.??).
This is similar to Aeson's .!= operator.
The fixity needs to be less than the .?? operator so that they compose cleanly.

Thanks!


Android Compose Generics Objects and Extensions

Generics, objects, and Extensions
Describe the problem
In the codelab named above (URL Included) in lesson 7 (Use scope functions to access class properties and methods), under the title Replace long object names using let(), in step 3 there is this code:
fun printQuiz() {
question1.let {
println(it.questionText)
println(it.answer)
println(it.difficulty)
}
println()
question2.let {
println(it.questionText)
println(it.answer)
println(it.difficulty)
}
println()
question3.let {
println(it.questionText)
println(it.answer)
println(it.difficulty)
}
println()
}
But then: still in lesson 7, and still under the same title, but in step 6, there is following output:

Quoth the raven ___
nevermore
MEDIUM
Quoth the raven ___
nevermore
MEDIUM
Quoth the raven ___
nevermore
MEDIUM

If you ask me, this is a copy paste error 😉
UPDATE
In the same lesson under the title Call an object's methods without a variable using apply(), the same copy paste error is made
In which lesson and step of the codelab can this issue be found?
Lesson 7 (Use scope functions to access class properties and methods), under Replace long object names using let(), in step 3 and 6, and under Call an object's methods without a variable using apply(), in step 2 and 4
How to reproduce?
by reading the text
codelab: basic-android-kotlin-compose-generics

Hello @RoskamsY1,
Thank you for reaching out to us and reporting those typos. The code snippets are updated:


roadmap?

it would be better if a roadmap is provided?

Here it is: https://github.com/apache/rocketmq-client-csharp/wiki/Roadmap


In JS, this assignments in constructors are preferred and nullable initializers become any

In Javascript, the compiler unions the type of all special-property-assignments to determine the type of properties declared this way. For example:
function C () { }
C.prototype.m1 = function() { this.a = 1 }
C.prototype.m2 = function() { this.a = 'hi' }

This results in C having an instance property a: string | number | undefined. However, when there's a this-assignment in the constructor, it should be treated as the definitive declaration:
function C() {
  this.a = 1
}
C.prototype.m1 = function() {
  this.a = 'hi' // error: 'string' is not assignable to 'number'
}

Assignment in the constructor is the most common Javascript pattern for declaring instance variables. This PR therefore implements 2 things:

Prefer this-assignments in the constructor to determine the type of special assignment declarations.
Initializers of type null, undefined and never[] become any, any and any[] respectively. This applies to all initializers, not just special-assignment initializers.

Specifically, when constructing the type for a special-assignment property, if there are this-assignments in the constructor, the types of those this-assignments are used in exclusion of other special-assignments. If, however, these types consist only of null | undefined, then all special-assignments are used to construct the type. For example:
function C() {
  this.ctor = 1
  this.ctor = 'hi'
  this.n = null
  this.empty = [] // no other assignments: this.empty: any[]
  this.useless = undefined
}
function C.prototype.m1() {
  this.ctor = false // error: this.ctor: string | number
  this.n = 1 // ok: this.n: number | null
  this.method = 1
  this.method = 'hi' // ok: this.method: string | number | undefined
  this.useless = null // ok, but this.useless: any
}

Note that

Properties whose this-assignments only appear in methods add undefined to the type since they may not be initialised during construction.
Properties that are assigned nothing but null and undefined will become any and properties that are assigned nothing but [] will become any[].

Fixes #22792
Fixes #22458
I tested this change on the user code in Javascript and it doesn't add any errors that I noticed. I believe this change will provide strictly better typing since the this-assignment-in-constructor pattern is so common in Javascript.

@DanielRosenwasser I think you might have opinions about this too.

Initializers of type null, undefined and never[] become any, any and any[] respectively. This applies to all initializers, not just special-assignment initializers.

Flagged as implicit any errors, I hope, so if that's on people know where any's are leaking into their program from?

@weswigham Not yet! Let me think about it.

@weswigham noImplicitAny seems like a good idea. Here is my thought process so far:

(Bad) Simple uses of null and undefined are still inconvenient and require type annotation. (function f(a = null) { })
(Good) When working with JS, people seem to turn on strictNullChecks before noImplicitAny (at least based on @OliverJAsh's reported experience). Plus, noImplicitAny implies that you want to put in all type annotations, even if it's inconvenient.
(Bad) The compiler wasn't really designed for strictNullChecks on but noImplicitAny off. We don't really know how well it works.
(Good) The compiler comes with free frogurt!

I'm leaning toward putting in the noImplicitAny errors. That's what I'll do next.


Upgrade to Symfony 5

Description
This upgrades the application to Symfony 5. Yarn packages were also updated, since Encore is somewhat tied between Symfony and Yarn/NPM.
Motivation and context
I want some of those security updates with Symfony 5.
How has this been tested?
Please describe in detail how you tested your changes.
Include details of your testing environment, and the tests you ran to
see how your change affects other areas of the code, etc.
Screenshots (if appropriate)
Types of changes
What types of changes does your code introduce? Put an x in all the boxes that apply:

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

Checklist:
Go over all the following points, and put an x in all the boxes that apply.
Please, please, please, don't send your pull request until all of the boxes are ticked. Once your pull request is created, it will trigger a build on our continuous integration server to make sure your tests and code style pass.

[ ] I have read the CONTRIBUTING document.
[ ] My pull request addresses exactly one patch/feature.
[ ] I have created a branch for this patch/feature.
[ ] Each individual commit in the pull request is meaningful.
[ ] If my change requires a change to the documentation, I have updated it accordingly.

If you're unsure about any of these, don't hesitate to ask. We're here to help!

:tada: This PR is included in version 3.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


OLS home page search should allow for multilang searches

Currently the only thing stopping this is that the &lang= parameter defaults to en in the API. We could fix by allowing &lang=all in which case no language is used in the solr search.

Looking good - using the SCDO example provided to us a while back.


support RAR4

Excuse me, does the author have any plans to support RAR4?

It should support it now.


[AIRFLOW-1830] Support multiple domains in Google's authentication backend

Dear Airflow maintainers,
Please accept this PR. I understand that it will not be reviewed until I have checked off all the steps below!
JIRA

[x] My PR addresses the following Airflow JIRA issues and references them in the PR title.

https://issues.apache.org/jira/browse/AIRFLOW-1830

Description

[x] Here are some details about my PR, including screenshots of any UI changes:

Support multiple domains in Google's OAuth authentication backend

Tests

[x] My PR does not need testing for this extremely good reason: tested in-house and function used doesn't change current behavior.

Commits

[x] My commits all reference JIRA issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

Codecov Report

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

@@           Coverage Diff           @@
##           master    #2797   +/-   ##
=======================================
  Coverage   73.41%   73.41%
=======================================
  Files         158      158
  Lines       11957    11957
=======================================
  Hits         8778     8778
  Misses       3179     3179

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 54c03f3...13fa576. Read the comment docs.

LGTM


Add thermo-mechanical coupled solver

Add both closely coupled and operator split methods for a coupled thermomechanical solver object.

Do you have a separate solver in mind for each combination of physics? Another thought I had was potentially doing multiple inheritance for multiphysics. e.g.
// note: "single-physic" materials do not inherit from base class
struct SolidMaterial {
  Field displacements;
  mfem::Vector displacement_residual() { ... }
  ...
};

struct ThermalMaterial {
  Field temperature;
  mfem::Vector thermal_residual() { ... }
  ...
};

struct ThermomechanicalMaterial : public SolidMaterial, public ThermalMaterial {
  mfem::Vector combined_residual() { ... }
  ...
};

done


fix typos

Run go generate ./... for some files. Thanks!

This still requires go generate ./... for e.g. gobind.go

Please rebase this PR, thanks!


Support for DateTime time interval arithmetic

Rationale
Tudat DateTime objects are useful for date input in programs/applications using tudat or tudatpy.
For many applications, such as for example porkchop mission design plots, it is commonplace to use as inputs

A departure time window
Accompanied by a minimum and maximum flight time

It would be very convenient to facilitate this type of input with tudat DateTime objects.
Request
A syntax for time intervals in Tudat which can be added or subtracted from tudat DateTime objects.
Sketch:
from tudatpy.kernel.astro.time_conversion import DateTime, TimeSpan

earliest_departure_time = DateTime(2005,  4,  30)
latest_departure_time   = DateTime(2005, 10,   7)

earliest_arrival_time = earliest_departure_time + TimeSpan(2, 'months')
latest_arrival_time = earliest_departure_time + TimeSpan(6, 'months')

This functionality has been added, although in a slightly different form. Since months and years are never the same length, there are now two functions, one to add a number of seconds, and one to add a number of days (86400 seconds):
from tudatpy.kernel.astro.time_conversion import DateTime, TimeSpan

earliest_departure_time = DateTime(2005,  4,  30)
latest_departure_time   = DateTime(2005, 10,   7)

earliest_arrival_time = add_seconds_to_datetime( earliest_departure_time, 2.0 * 30.0 * 86400 )
latest_arrival_time = add_seconds_to_datetime( earliest_departure_time, 6.0 * 30.0 * 86400 )

earliest_arrival_time_alt = add_days_to_datetime( earliest_departure_time, 2.0 * 86400 )
latest_arrival_time_alt = add_days_to_datetime( earliest_departure_time, 6.0 * 86400 )


Release Cadence Survey 2022

Provide the actual tweet content between the commented colons

Kubernetes Release Cadence Survey 2022 is still running.
WHO SHOULD FILL THIS OUT: @kubernetesio project contributors. Users of Kubernetes. Staff of companies that use, resell, and/or host Kubernetes.
More quality inputs, lead to better outcomes.
https://www.surveymonkey.com/r/k8s-cadence-2022

To hell with it. I'll do it live.


Point Example, compatibility issue with Python 3.8?

I tried to execute the Point Example and encountered the following errors:

ImportError: cannot import name 'Annotated' from 'typing'

Resolution: This was resolved by using the typing_extensions module.

CRS Error: (detailed error message follows)

Resolution: This was resolved by specifying the crs for the GeoPandas DataFrame:targets = gpd.GeoDataFrame.from_features(
    FeatureCollection(features=[p.as_feature() for p in [p1, p2]]), crs="EPSG:4326"
)

There are more errors in the rest of the code which I have not tried to debug.
Python version: 3.8  (requirement for OrbitPy)
GeoPandas version: 0.13.2 (default version being installed. The latest version of GeoPandas is probably not being installed due to the requirement of Python >= 3.9.)
I suspect these errors are due to compatibility issues with Python 3.8.
@ptgrogan

Detailed error report for Error #2
ValueError                                Traceback (most recent call last)
Cell In[4], [line 32](vscode-notebook-cell:?execution_count=4&line=32)
     [29](vscode-notebook-cell:?execution_count=4&line=29)     display(err)
     [31](vscode-notebook-cell:?execution_count=4&line=31) # example transformation to a GeoDataFrame
---> [32](vscode-notebook-cell:?execution_count=4&line=32) targets = gpd.GeoDataFrame.from_features(
     [33](vscode-notebook-cell:?execution_count=4&line=33)     FeatureCollection(features=[p.as_feature() for p in [p1, p2]])
     [34](vscode-notebook-cell:?execution_count=4&line=34) )
     [35](vscode-notebook-cell:?execution_count=4&line=35) display(targets)  # display GeoDataFrame

File ~/miniconda3/envs/dsh/lib/python3.8/site-packages/geopandas/geodataframe.py:648, in GeoDataFrame.from_features(cls, features, crs, columns)
    [646](https://vscode-remote+wsl-002bubuntu.vscode-resource.vscode-cdn.net/mnt/c/workspace/eose-api/src/~/miniconda3/envs/dsh/lib/python3.8/site-packages/geopandas/geodataframe.py:646)     row.update(properties)
    [647](https://vscode-remote+wsl-002bubuntu.vscode-resource.vscode-cdn.net/mnt/c/workspace/eose-api/src/~/miniconda3/envs/dsh/lib/python3.8/site-packages/geopandas/geodataframe.py:647)     rows.append(row)
--> [648](https://vscode-remote+wsl-002bubuntu.vscode-resource.vscode-cdn.net/mnt/c/workspace/eose-api/src/~/miniconda3/envs/dsh/lib/python3.8/site-packages/geopandas/geodataframe.py:648) return cls(rows, columns=columns, crs=crs)

File ~/miniconda3/envs/dsh/lib/python3.8/site-packages/geopandas/geodataframe.py:176, in GeoDataFrame.__init__(self, data, geometry, crs, *args, **kwargs)
    [169](https://vscode-remote+wsl-002bubuntu.vscode-resource.vscode-cdn.net/mnt/c/workspace/eose-api/src/~/miniconda3/envs/dsh/lib/python3.8/site-packages/geopandas/geodataframe.py:169)     if (
    [170](https://vscode-remote+wsl-002bubuntu.vscode-resource.vscode-cdn.net/mnt/c/workspace/eose-api/src/~/miniconda3/envs/dsh/lib/python3.8/site-packages/geopandas/geodataframe.py:170)         hasattr(self["geometry"].values, "crs")
    [171](https://vscode-remote+wsl-002bubuntu.vscode-resource.vscode-cdn.net/mnt/c/workspace/eose-api/src/~/miniconda3/envs/dsh/lib/python3.8/site-packages/geopandas/geodataframe.py:171)         and self["geometry"].values.crs
    [172](https://vscode-remote+wsl-002bubuntu.vscode-resource.vscode-cdn.net/mnt/c/workspace/eose-api/src/~/miniconda3/envs/dsh/lib/python3.8/site-packages/geopandas/geodataframe.py:172)         and crs
    [173](https://vscode-remote+wsl-002bubuntu.vscode-resource.vscode-cdn.net/mnt/c/workspace/eose-api/src/~/miniconda3/envs/dsh/lib/python3.8/site-packages/geopandas/geodataframe.py:173)         and not self["geometry"].values.crs == crs
    [174](https://vscode-remote+wsl-002bubuntu.vscode-resource.vscode-cdn.net/mnt/c/workspace/eose-api/src/~/miniconda3/envs/dsh/lib/python3.8/site-packages/geopandas/geodataframe.py:174)     ):
    [175](https://vscode-remote+wsl-002bubuntu.vscode-resource.vscode-cdn.net/mnt/c/workspace/eose-api/src/~/miniconda3/envs/dsh/lib/python3.8/site-packages/geopandas/geodataframe.py:175)         raise ValueError(crs_mismatch_error)
--> [176](https://vscode-remote+wsl-002bubuntu.vscode-resource.vscode-cdn.net/mnt/c/workspace/eose-api/src/~/miniconda3/envs/dsh/lib/python3.8/site-packages/geopandas/geodataframe.py:176)     self["geometry"] = _ensure_geometry(self["geometry"].values, crs)
    [177](https://vscode-remote+wsl-002bubuntu.vscode-resource.vscode-cdn.net/mnt/c/workspace/eose-api/src/~/miniconda3/envs/dsh/lib/python3.8/site-packages/geopandas/geodataframe.py:177) except TypeError:
...
   [1467](https://vscode-remote+wsl-002bubuntu.vscode-resource.vscode-cdn.net/mnt/c/workspace/eose-api/src/~/miniconda3/envs/dsh/lib/python3.8/site-packages/pandas/core/generic.py:1467)         f"The truth value of a {type(self).__name__} is ambiguous. "
   [1468](https://vscode-remote+wsl-002bubuntu.vscode-resource.vscode-cdn.net/mnt/c/workspace/eose-api/src/~/miniconda3/envs/dsh/lib/python3.8/site-packages/pandas/core/generic.py:1468)         "Use a.empty, a.bool(), a.item(), a.any() or a.all()."
   [1469](https://vscode-remote+wsl-002bubuntu.vscode-resource.vscode-cdn.net/mnt/c/workspace/eose-api/src/~/miniconda3/envs/dsh/lib/python3.8/site-packages/pandas/core/generic.py:1469)     )

ValueError: The truth value of a Series is ambiguous. Use a.empty, a.bool(), a.item(), a.any() or a.all().

geopandas 0.14 dropped support for Python 3.8. If there is an inability to support newer versions than 3.7 which was last updated in 2020, I can downgrade the version of dependent libraries supported.

@vinay0000  -- I just pushed an update that supports Python 3.8 (i.e., geopandas < 0.14). You can install EOSE dependencies to run examples with `pip install -e ".[examples]".
Note that TAT-C officially requires geopandas >= 0.14; however, the functionality in these examples seems to run fine. We will need to do more detailed tests; however, to run the TAT-C examples now, you will need to clone the TAT-C repo, edit the pyproject.toml file to set line 23 to "geopandas >= 0.13.2", and run pip install -e ..

@vinay0000  -- we released tatc version 3.2.1 today with a relaxed geopandas dependency so it should now be compatible on python 3.8. Let me know of any other issues...

Thank @ptgrogan . We are also working to update OrbitPy to work with latest Python version.
It appears the latest Python version for EOSE-API is 3.10.
Is there a strong reason for this, or shall I test it with Python 3.12?

I don't recall the specific reason; one of the dependencies at some point (possibly a year ago) did not support greater than 3.10. We recently split out the web application to a separate repository so there may no longer be a restriction.


Add EKS v1.23 and v1.24, remove older versions

This PR addresses https://github.com/rancher/dashboard/issues/7931
It is a backport of:

https://github.com/rancher/ui/pull/4890
https://github.com/rancher/ui/pull/4908
https://github.com/rancher/ui/pull/4899/

The build keeps failing with the message E: Unable to correct problems, you have held broken packages.

I need to rebase on release-2.6.


"profile" in ninjs doesn't match "profile" in the News Architecture

Philippe M:

At AFP they use profile in NewsML-G2 to store the kind of client application the content is created for. It would usually be very environment specific.

Definition in NINJS 1.1:
"profile": {
"title": "Profile",
"description": "An identifier for the kind of content of this news object. This can be any string but we suggest something identifying the content such as 'text-only' or 'text-photo'. (Investigate if this align with NewsML nar:profile or not.)",
"type": "string"
},
Definition in NewsML-G2:
<xs:element name="profile" type="VersionedStringType">
xs:annotation
xs:documentationThe name of the structural template (aka profile) used for the generation of the Item.</xs:documentation>
</xs:annotation>
</xs:element>

https://www.iptc.org/std/NewsML-G2/guidelines/#profile
https://iptc.org/std/NewsML-G2/2.28/specification/NewsML-G2-2.28-specification.html#profile-profile
Maybe same thing after all. Check all documentation.

NewsML-G2 guidelines and schema will be updated. Look at the changes and update ninjs description.

Documentation in schema updated.


ES2.2无法支持

elasticsearch-analysis-ik is incompatible with Elasticsearch [2.2.0]. Was designed for version [2.1.1]
启动报错。

099b1f2


TestRunner._addCustomReporter "default" filter is not working

Do you want to request a feature or report a bug?
bug
What is the current behavior?
I specify custom reporters like so:
  "reporters": [
    "default",
    "<rootDir>/api/test/db-resetting-reporter.js"
  ],

Like the documentation explains. This fails with:
Determining test suites to run...Error: An error occured while adding the reporter at path "default".Cannot find module 'default'
    at customReporters.forEach (/Users/jwerner/mesaic/mesaic/node_modules/jest-cli/build/TestRunner.js:343:15)
    at Array.forEach (native)
    at TestRunner._addCustomReporters (/Users/jwerner/mesaic/mesaic/node_modules/jest-cli/build/TestRunner.js:336:21)
    at TestRunner._setupReporters (/Users/jwerner/mesaic/mesaic/node_modules/jest-cli/build/TestRunner.js:296:12)
    at new TestRunner (/Users/jwerner/mesaic/mesaic/node_modules/jest-cli/build/TestRunner.js:67:10)
    at /Users/jwerner/mesaic/mesaic/node_modules/jest-cli/build/runJest.js:202:27
    at Generator.next (<anonymous>)
    at step (/Users/jwerner/mesaic/mesaic/node_modules/jest-cli/build/runJest.js:10:198)
    at /Users/jwerner/mesaic/mesaic/node_modules/jest-cli/build/runJest.js:10:358
    at process._tickCallback (internal/process/next_tick.js:103:7)

What is the expected behavior?
Not to fail when i specify "default".
I think i also found the fix (start of TestRunner._addCustomReporter method)
const customReporters = reporters.filter(
-  reporter => reporter !== 'default'
+  ([reporter]) => reporter !== 'default'
);

The problem seems to be that reporters are normalized to the [moduleName, options] before, which is why the string format is not recognized correctly here.
Please provide your exact Jest configuration and mention your Jest, node, yarn/npm version and operating system.
❯ ./node_modules/.bin/jest -v
v20.0.1

Not sure if this is a duplicate of a previous issue, but there is a PR (#3562) in to fix this.

Sweet, thanks for the pointer. Seems to be the exact issue!