Allow Laravel 7

Just release today :)

Waiting for merge

where can we expect this done?

Please merge this

Please merge

@brozot Will you merge it into master?

@brozot may you merge it, Please?

@brozot please merge this one

Finally

the waiting continues 🤣  would be nice if this one would be merged asap 👍

Waiting for merge. Getting closer.

I am jusy a guy like you, guys.
Everyone has permession to review any PR. 🤣

Hi @brozot, do you need any help in this repository?

@brozot ?

@brozot Please take a look at this!

Hi !
Feel free to re-open this pull-request to code-lts/Laravel-FCM if necessary (1.4.0 supports Laravel 7)
This is a fork that will be maintained as long as possible by @code-lts members :muscle:
:rocket: 1.4.0 was released See how to install it (composer require code-lts/laravel-fcm)

Thank you @williamdes
Is code-lts/laravel-fcm temporary until brozot/Laravel-FCM supports Laravel 7+?

Thank you @williamdes
Is code-lts/laravel-fcm temporary until brozot/Laravel-FCM supports Laravel 7+?

I do not intend to close my fork unless the maintainer wants to merge all my work :)
This seem very unlikely, I would accept that @brozot transfers his repository to @code-lts

Any update on this? @brozot ?

@filipac @brozot this is still valid

Next release I will support Laravel 8
https://github.com/brozot/Laravel-FCM/pull/174#issuecomment-669831236


Is there a prop where I can get the swipe progress?

Which OS ?
Android 9
Version
Which versions are you using:

react-native-swiper v1.6.0?
react-native v0.61.4

Expected behaviour
There should be a prop like onSwipe that gets the progress of the swipe action. I think of it like the onScroll prop of the ScrollView but with different event information.
Actual behaviour
There is no such onSwipe prop and no way to track the swipe progress (For example if I want to move another element simultaneously to the swipe progress). At the moment it is only possible to subscribe to the start/end of a swipe, but not to all steps in between.

It's not in the documentation, but you can simply attach an onScroll prop.
<Swiper onScroll={e => { console.log(e) }}>

You can then get the event data through e.nativeEvent

It's not in the documentation, but you can simply attach an onScroll prop.
<Swiper onScroll={e => { console.log(e) }}>

You can then get the event data through e.nativeEvent


Large projects require 100% CPU

When using this extension, the extension's NodeJS server pins my CPU at 100%, and the process stays even after killing VS Code. I didn't read the documentation carefully and downloaded this just for syntax highlighting, so I didn't set up a language server. Could that have been why?
I realize now that this is for running Swift and overkill for my needs, so I've switched extensions and things are fine. However I used this extension for a while so really appreciate your effort working on it -- lmk if can help debug at all!

It's hard to tell.
There is a guide for the profiling.
I had 100% CPU issue few weeks ago. The reason is that the project folder contains too many files, but I don't think it's your case.

Ah, that makes sense. I work at Uber and we have a large iOS monorepo and so I use VS code to browse through code instead of opening up the projects through Xcode. You can imagine it's probably the definition of "too many files" :)
Thanks!

@edjiang thanks for the report!
Did you pick sourcekit-lsp or sourcekite as driver (both might behave differently regarding performance)?
Does anyone of you @edjiang and @haifengkao know a huge open source Swift project where I might be able to reproduce this issue?

I was probably using sourcekite - as I said I didn't read the docs closely so clicked install and started using it.
I'm not sure if there's a large open source project on our size (since it's a monorepo, it has all of the apps + dependencies, and we write swift fairly verbosely), but I know when our team is looks at build tooling issues we may generate dummy code to help profile. So that'll probably be more effective for you than looking for an existing project.

Sadly I haven't found enough time to tackle this issue the last month and I am unsure when I have enough time.
Naively duplicating the same fileprivate struct HelloWorld { var text = "Hello World" } didn't lead to a quick solution. Especially as I think I rarely experienced the same behavior in smaller projects.
If there are others experiencing this or with new information, please let me know.

+1
First go to activity monitor to find the PID of the code Helper, then in terminal (replace 51785 with your PID)
ps aux | grep 51785
you will see
51785  98.7  0.4 42423476  60756   ??  R    11:29AM   1:31.34 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper (Renderer).app/Contents/MacOS/Code Helper (Renderer) --ms-enable-electron-run-as-node --nolazy --inspect=6004 /Users/jfang1/.vscode/extensions/vknabel.vscode-swift-development-environment-2.12.2/out/sourcekites-server/server.js --node-ipc --clientProcessId=18334

Hey, does the same behavior happen when using the official Swift extension? See #40


Errors

Need to define a standard JSON error that is returned as the body whenever an HTTP error status (4xx and 5xx) is returned. i18n #18 and multilingual text #5  need to be considered.

How to return js-schema #24 validation errors?

There are no real standards for this.  Everyone seems to return a JSON with at least a message.  This is the top level error message.  Some APIs also return a details when multiple errors, aka validation issues, are detected.

I don't think returning multilingual text is a good idea.  It increases the payload size considerably and makes more work for the client.  I do think we should return an error message that is appropriate language of the end user.  The client should send us the acceptable languages (there's an HTTP tag) and we return our best translation.

See this http://api.mymemory.translated.net/get?q=The+supplied+data+is+incorrect&langpair=en|fr for real time translation.


Re-do the changes to the MOJ asylum finder

The last PR was reverted because the changes were not backward
compatible causing the PR to fail CI tests.
This PR adds two extra columns - tribunal_decision_categories and
tribunal_decision_sub_categories and leaves the old non pluralised
fields intact.

@tijmenb

The test failures here are unrelated by the way, I'll fix those.

Yes, I'm happy to make those changes. I'll get them done tomorrow.
On 2 November 2016 at 18:38, Tijmen Brommet<EMAIL_ADDRESS>wrote:

The test failures here are unrelated by the way, I'll fix those.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/alphagov/govuk-content-schemas/pull/431#issuecomment-257959746,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAOhY_ovD3G4km1giO4r0fVUxza9e2K-ks5q6NikgaJpZM4KnLqP
.


Guard against FPEs in the PTE solver

PR Summary

This PR mostly adds robust::ratio divides throughout the PTE solver. This was especially important for two scenarios:

When the RhoPmin() function of an EOS returns zero (which is the default)
When the specific internal energy is zero (rare, but not disallowed)

In connection with the internal energy, I also made sure that the energy scale, uscale is non-negative since it didn't seem to make sense to me for this to be a signed quantity. Please let me know if I'm wrong here, but it always appeared to be a positive scaling factor since it appeared that important signs would cancel in some circumstances (negative pressures for example).
Some debug asserts were also added to codify the necessary conditions for the PTE solver to operate. For example, one could reasonably assume that the PTE solver is robust to zero volume or mass fractions, but that isn't actually the case.
Finally, with the huge help of @rbberger , I corrected a CMake bug where a statically-built Kokkos wouldn't properly link to the Fortran tests.

Fixes https://github.com/lanl/singularity-eos/issues/354
PR Checklist

[ ] Adds a test for any bugs fixed. Adds tests for new features.
[x] Format your changes by using the make format command after configuring with cmake.
N/A Document any new features, update documentation for changes made.
[x] Make sure the copyright notice on any files you modified is up to date.
[x] After creating a pull request, note it in the CHANGELOG.md file.
[ ] LANL employees: make sure tests pass both on the github CI and on the Darwin CI

If preparing for a new release, in addition please check the following:

[ ] Update the version in cmake.
[ ] Move the changes in the CHANGELOG.md file under a new header for the new release, and reset the categories.

All 54 tests pass in my local testing

All 54 tests pass in my local testing

Does re-git pass? If so, I think this is good to go.

All 54 tests pass in my local testing

Does re-git pass? If so, I think this is good to go.

I think I'll need some CI changes from @rbberger before it will pass. @rbberger can I merge in the cmake_fixup_static_linking branch or are you planning to put that into main first?

I think I'll need some CI changes from @rbberger before it will pass. @rbberger can I merge in the cmake_fixup_static_linking branch or are you planning to put that into main first?
@ktsai7 and I are working on the CI. I would say if this works for you, merge it into main. I'll create my own Github PR for the remaining things that touch the CI and Spackage.

I think I'll need some CI changes from @rbberger before it will pass. @rbberger can I merge in the cmake_fixup_static_linking branch or are you planning to put that into main first?

@ktsai7 and I are working on the CI. I would say if this works for you, merge it into main. I'll create my own Github PR for the remaining things that touch the CI and Spackage.

Sounds good. In that case, merge when ready @jhp-lanl

@jhp-lanl what's the status on this? Is this ready for merge?

Ah yes, I was waiting for Richard's CI merge and then dropped the ball. Let me resolve the conflicts and get it merged ASAP


Reimplement data upgrader in Rust for both types of 2025 files

Based on the schema changes we've been making, I don't think relying solely on serde-default will be flexible enough for the upgrades we'll need to do.


The closest filtertype on images isn't respected in viewers

Hi, I'm running into an issue where image nodes that are set to closest/nearest-neighbour texture filtering still use bilinear filtering in MaterialXView, MaterialXGraphEditor and usdview when USD is compiled with MaterialX support.

I'm not sure if this is the same issue for both MaterialX and USD that can be solved by a fix to MaterialX or if they're seperate.

Good catch, @expenses, and this looks like an oversight that needs to be addressed in MaterialXRender and MaterialXRenderGlsl.

I think that the bug is also present in the OSL codegen. It doesn't seem to respect filters either?


Elevator Takes A While To Stop

So, I've noticed that my biggest problem at the moment appears to be that my elevator often tends to take multiple seconds to come to a complete stop, if it comes to a stop at all. The elevator will  issue a stop command, but it's taken up to 10+ seconds to actually come to said stop. I'm not entirely sure why, but here's my gist of the code I've got
https://gist.github.com/Garethp/9d0522009d307e4dc803
This bug occurs in both Firefox v43 and Chrome v47 on Ubuntu 15.10

The workaround I've found for this bug is to change stop() to goToFloor(number, true); then clear out the destinationQueue manually

Ah, never mind, I read the documentation again and realized that the elevator stops where it is, and not at the current floor if used in the on('passing_floor') event


How to detect is stdArray initialized?

How to check it before using stdArray? Or stdArray is not nothing /empty.

dim myArray as stdArray

'Checking for an uninitialised array
if myArray is nothing then
  set myArray = stdArray.Create()
end if

'Checking for an empty array
if myArray.length = 0 then
  Call myArray.push(1)
  Call myArray.push(5)
  Call myArray.push(7)
end if


Black.format_file_in_place() equivalent for ruff?

I was wondering if there is an equivalent within Ruff?

black.format_file_in_place(src: pathlib.Path, line_length: int, fast: bool, write_back: bool = False) → bool
Format file under src path. Return True if changed.
If write_back is True, write reformatted code back to stdout. line_length and fast options are passed to format_file_contents().

i.e., a public API that Ruff exposes which is equivalent to the Black function that you've mentioned? Currently no, but we're interested in exposing a minimal API, refer https://github.com/astral-sh/ruff/issues/659. I'll merge this into that.


implement overview

I dislike the mixed format class names with dash and underscore, like .cr-panel-block__checks :(
also, please remove commented out code


About attributes

hi , I have some questions about equation (13).
How the attributes of nodes in GATNE-I are applied to calculate bi and ui,r(0)?
How are hz and gz,r defined?
thank you !

Hi @yathe,
The functions h_z and g_{z,r} can be parameterized as a trainable matrix. You can see the code for more details.

thanks!


Fix issue causing the Android editor to crash when creating a new AudioStreamMicrophone

Fixes https://github.com/godotengine/godot/issues/73801
3.x version

Thanks!

Cherry-picked for 4.0.4.


Item (Magento\Catalog\Model\Product\Interceptor) with the same id "231" already exist

Hi guys,
i am using the new version Magento2 Data Migration version 0.1.21. After the successfull import i get an error in my product management. See attached. Is there any Idea why.

thanks for help

https://github.com/ubertheme/magento2_data_migration/issues/13

@derdeakon:
I need a closer look to detect the root of issue as you said.
Can you share me a back-up of your Magento 1 database?
Regards,
quynhvv

Yes i can share you my database.
but i can not share my database in this ticket. It is a Zip an doesn't work here

@derdeakon
Use dropbox to share ;)

https://www.dropbox.com/s/phyaiumju50x2cb/database.sql?dl=0

@derdeakon: What version of Magento 1 for the database you are using for that database?

@derdeakon :

Item (Magento\Catalog\Model\Product\Interceptor) with the same id "231" already exist
Thank for the database you have shared.
I have detected the root of  issue as you said in step 5. There is a issue with cataloginventory_stock_item table after data migrated in case we have multiple websites.
To solve the issue you can do:
Open the file at /protected/controllers/MigrateController.php
and find to the block code:

//cataloginventory_stock_item
$stock_item = Mage1StockItem::model()->find("product_id = {$model->product_id} AND stock_id = {$model->stock_id}");
                                                        if ($stock_item){
                                                            $stock_item2 = new Mage2StockItem();
                                                            foreach ($stock_item2->attributes as $key => $value){
                                                                if ($key != 'item_id' && isset($stock_item->$key)){
                                                                    $stock_item2->$key = $stock_item->$key;
                                                                }
                                                            }
                                                            $stock_item2->website_id = $website_id;
                                                            $stock_item2->save();
                                                        }

and replace it by the block code:
//cataloginventory_stock_item
                                                        $stock_item2 = Mage2StockItem::model()->find("product_id = {$model->product_id} AND stock_id = {$model->stock_id}");
                                                        if (!$stock_item2){
                                                            $stock_item = Mage1StockItem::model()->find("product_id = {$model->product_id} AND stock_id = {$model->stock_id}");
                                                            if ($stock_item){
                                                                $stock_item2 = new Mage2StockItem();
                                                                foreach ($stock_item2->attributes as $key => $value){
                                                                    if ($key != 'item_id' && isset($stock_item->$key)){
                                                                        $stock_item2->$key = $stock_item->$key;
                                                                    }
                                                                }
                                                                $stock_item2->website_id = $website_id;
                                                                $stock_item2->save();
                                                            }
                                                        }

and make reset the step 5
and re-start with data migration on step 5.
Let's do it to solve the issue and tell me know how it goes.
Regards,
quynhvv.

Hi quynhvv,
it works fine. Thanks you. After reindex and cache my products will shown in the backend and in the correct category in the frontend. :)

@derdeakon :
Yes, and please note that:
We have just released one Magento 2 modules for this at:
https://github.com/ubertheme/module-ubdatamigration
Regards,
quynhvv


Different output between irun/vcs and verilator

I have tried to run testbench in irun/vcs flow, with these changes:
1.  Add -ahb flag in Makefile(the same as verilator flow)
2.  Add tb_top.sv, ahb_sif.sv(files in testbench directory) to flist.vcs
3.  Copy hex files to working directory

In Verilator, output is the same as expected result-"HELLO WORLD. However, in vcs and irun, the output result is HHHHHHNNLL
Do I miss something? Or, is there any other verification flow or testbed for irun and vcs?
Besides, thanks for all the great work!

Try this:
--- a/testbench/ahb_sif.sv
+++ b/testbench/ahb_sif.sv
@@ -80,7 +80,11 @@ always @(posedge HCLK or negedge HRESETn) begin
   end
 end

+`ifdef VERILATOR
 always @(posedge HCLK or negedge HRESETn) begin
+`else
+always @(negedge HCLK or negedge HRESETn) begin
+`endif
   if(~HRESETn) begin
     Last_HADDR  <= #1 32'b0;
   end else begin

Pushed a patch, tested with irun (not vcs).


In waterways flow direction could Not be changed

I am not Sure if the RapiD issues are solved also here, but once used the feature and tagged as waterways the flow direction of the water Could Not be changed (Normally V key do not work).
Thanks. JJ

Never mind I found the RapiD repository and open an issue there. Thanks


(PUP-11004) Return new CA location as default if it exists

This commit adds logic to the default CA dir calculation to make it
return the new CA dir location /etc/puppetlabs/puppetserver/ca if that
dir exists, since in this case, we understand that the CA has been
migrated, and we want to be using the new location. When no dir exists,
we still return the old SSL dir location.

Tested this in a package (updating the Ruby code in place):
[root@swell-amendment ~]# puppetserver ca setup
Generation succeeded. Find your files in /etc/puppetlabs/puppet/ssl/ca
[root@swell-amendment ~]# puppet config print cadir
/etc/puppetlabs/puppet/ssl/ca
[root@swell-amendment ~]# puppetserver ca migrate
CA dir successfully migrated to /etc/puppetlabs/puppetserver/ca. Symlink placed at /etc/puppetlabs/puppet/ssl/ca
for backwards compatibility. The puppetserver can be safely restarted now.
[root@swell-amendment ~]# puppet config print cadir
/etc/puppetlabs/puppetserver/ca

Did the same validation in a package with the new code.

Hm, the downside here though (and this might be a slightly more general bug) is that if someone does delete their ssldir, they'll delete the symlink too, and then we'll go back to reporting the old location, even though the point of this migration is to make it safe to do that.

Added that version, let me know which one y'all like better.

Good catch.

Okay, I'll squash this and go with that second approach then.


How to saves images from cyber-rt

System information

Ubuntu 18/04:
Apollo 5.0:

I have installed RGB, depth, and segmentation cameras on the ego vehicle, and will drive around with Apollo. How do I export/save these images into jpegs or any image format?
Thank you

I'm no expert but perhaps you could save the image before publishing to cyber RT or create a separate cyber RT component, subscribing those camera channels, and save the images upon receiving the messages.

Turns out there is a tool for extracting sensor information in /apollo/modules/tools/record_parse_save/
It didn't work with the latest master for some reason but it worked on the 5.0 branch. There are multiple sample python parsers and you can edit them to extract the exact data needed from a cyber record file.

Hi @eyadshak I need to extract the channels data as I described here: https://github.com/ApolloAuto/apollo/issues/13958
However not just for camera, lidar or radar. But all the channels:

The parser tool also did not work for me. Do you have some idea how to get these data? I need to plot them.


Why is the MessageDispatcher's delay in seconds ?

According to the documentation, the MessageDispatcher can delay the message. The delay is always given in seconds.
However, some games could use another piece of time. For example, on turn-based game, time can be expressed in turns, not in seconds. So we could send a message in 3 turns for example.
Is there any reason to force the delay in seconds ? Could gdx-ai provide a more "generic way" to delay a message ?

You can use immediate messages to implement turn based games.
For instance, at the end of the turn a player might send a message to the next player.

But in my mind, you should also send a message to tell players that an event will arrived in 5 turns.
The fact is each game could have it own definition of what is time, and how it spent. So lets take another example:  simulation games (or more specifically City-building game for this example).
 Now what if you want manage the city speed ?

If you double the city speed, you would like you're message arrive earlier (in the example, every 2 seconds), but you have to divide the delay by 2 for every future messages ... Moreover, messages has already waiting, so you can't change there delay !
if you pause the city, message should be stopped ...

In this example, managing delay is simpler if you master how the time is spent : you don't have to change all messages delay, but just the MessageDispatcher ; I'm sure there are many examples where strategy would be simpler to write if you master it ...
By the way, my needs is maybe too specific ? I can try to create a generic MessageDispatcher that fit my needs ; would you mind if I send you a Gist if I succeed ? This is maybe the best way to make my speech understandable.
Regards.

ok


2023 How-To Guide Enhancements

[ ] Time Zone Check page
[ ] Map (maybe include this? idk)
[ ] Open Chats
[ ] Search (it moved, maybe a bit more visible)
[ ] Board game guide
[ ] FAQ page (on login and home)

Quick callout or at least a screenshot of the trunk menu.

Glenn took care of all of these. https://bit.ly/Twitarr2023


git branchless init never finishes on 0.7.1, fast on 0.7.0

Description of the bug
I have a large repo (almost a million commits on master) and was trying out branchless. I tried 0.7.0 and was pleasantly surprised how fast it was -- git branchless init completed very quickly (< 10s). When I build off the v0.7.1 tag, however, it seems to never complete:
Created config file at /home/adam_miskiewicz/repos/treehouse/.git/branchless/config
Auto-detected your main branch as: master
If this is incorrect, run: git branchless init --main-branch <branch>
Installing hooks: post-applypatch, post-checkout, post-commit, post-merge, post-rewrite, pre-auto-gc, reference-transaction
⠲ Updating commit graph (466.1s)

Fwiw, I completely uninstalled the previous version of branchless and deleted .git/branchless.
Expected behavior
Similar behavior to 0.7.0 -- fast git branchless init
Actual behavior
Very slow (potentially never completing) git branchless init
Version of rustc
rustc 1.68.2 (9eb3afe9e 2023-03-27)
Automated bug report
No response
Version of git-branchless
git-branchless-opts 0.7.1
Version of git
git version 2.41.0

This might be related to https://github.com/arxanas/git-branchless/issues/938. Does it reproduce on the latest master?

@arxanas yes, it reproduces on latest master.


feat(core): memoize the normalize function

Addresses #120
Benchmarks with non-memoized normalize
canonical non-memoized x 17,854 ops/sec ±0.68% (93 runs sampled)
isOfKind non-memoized x 5,970 ops/sec ±0.22% (93 runs sampled)

Benchmarks with memoized normalize
canonical memoized x 79,263 ops/sec ±0.98% (89 runs sampled)
isOfKind memoized x 6,786 ops/sec ±0.87% (88 runs sampled)

improvement of 343% in the canonical test
improvement of 13% in the isOfKind test

Pull Request Test Coverage Report for Build 373

3 of 3 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.2%) to 80.638%

Totals

Change from base Build 366:
0.2%

Covered Lines:
1025

Relevant Lines:
1224

💛  - Coveralls

Benchmarks before optimizations
canonical non-memoized x 168,937 ops/sec ±0.29% (95 runs sampled)
isOfKind non-memoized x 60,486 ops/sec ±0.27% (93 runs sampled)
kindOf non-memoized x 424,707 ops/sec ±0.37% (94 runs sampled)

Benchmarks after optimizations
canonical memoized x 798,412 ops/sec ±0.40% (92 runs sampled)
isOfKind memoized x 102,094 ops/sec ±0.27% (96 runs sampled)
kindOf memoized x 689,314 ops/sec ±0.40% (94 runs sampled)

✔ improvement of 372% in the canonical test
✔ improvement of 68% in the isOfKind test
✔ improvement of 62% in the kindOf test


[BUG] Annoying pop up

Please make sure you've tried the latest version of Fritter first, as the F-Droid version is sometimes out of date!

Describe the bug
Each time I try to use fritter, lt lags then show annoying pop up which reads " An error was reported to Sentry. thank you.
Device
Samsung A30
Android 9
English
Fritter version 3.0.0-beta4

That's normal, if you want to disable it go into settings and turn off Enable Sentry

Closing, as there's an option in the settings to disable that functionality


feat: Add support for quoted arguments in the build configuration

Got an example of what it is trying to enable? Something we can add test for?

@maxandersen it allows the run configuration arguments to contain whitespace if they are quoted (either with " or with ').
E.g. with the current code, If I enter "hello world" in the "Script args" field, the script runs with 2 arguments: "hello and world". With my proposed change, the script runs with one argument: hello world.
I used the overload that allows quoting arguments with single quotes as well, to make it more like the shell command line parser. But I see most other run configurations use the overload that only allows double quotes (ParameterListUtil.parse(String)), so perhaps that's a better option.


add waitFor rejection in case of error in sagas

in case of error somewhere in saga we have an error swallowed and suit with waitFor failed by timeout

also there is another interesting case - if we run saga that is finished immediately, so out promise won'b be resolved,  should we notify user about that fact?

polite ping @3LOK

Merged - As for the second question, even if you immediately fire an action at the end of the saga, the waitFor will still work (be released immediately).

I meant another case - when root saga finished immediately, but without releasing event that is used in waitFor. seems that suit is failed with timeout error, so that's expected case. no more questions, thanks


ObjectStoreGlobber.glob(path) is returning null.  Seems that globStatus(path) is not handling the wildcard * properly

Create an object with the partition structure, something like
container/data/year=2015/month=11/data1.txt
container/data/year=2016/month=12/data2.txt
container/data/year=2015/month=11/data3.txt
container/data/year=2015/month=11/data4.txt
And now access all objects of the form
container/data/year=*/month=*
Stocator will return wrong result.
We also need to make sure that null is not returned, but empty collection. When ObjectStoreGlobber.glob(path) does not find any matches it should return an empty array instead of null

@djalova Can you please look at it? Thanks

@gilv I have objects with that structure but if I query for "container/data/year=*/month=*", it returns the correct results. For which query does this fail?

@djalova thanks. But there is some bug with returning wrong results when there are partitions "/year=aaa/month=bbb" and so on. I don't know yet what query return wrong result...can you experiment a bit with it? If i understand correctly then container/data/year=*/month=* this one work fine for you...may be you can try other options? like to list container/data  or container/data/year=*?

@gilv For container/data there needs to be a 0 byte file named container/data for it to work. The container/data/year=* should work as is.

I am also seeing an inconsistency with the default file system when there are no results returned from calling ObjectStoreFileSystem.globStatus. An empty array is expected but null is returned instead. I am seeing NullPointerException in many places because of this difference. Can this be changed to return an empty array when there are no results.

@robinnt This should be fixed in master, are you still running into NPEs with the latest code?

@djalova I tried the code in the master branch and the NPEs are fixed. In the hive branch the fixes are not there but there are other fixes that are in progress that are needed. Can you add the NPE fix to the hive branch.

@robinnt The commit that fixes this should be in the hive branch as well. Can you send me a stack trace?

@djalova ok got it. Thanks.

Using the latest code in hive-support branch I am still seeing a problem where a call to globStatus returns an empty array when objects exist in swift that match.
These objects exist in swift:
gendata_19yrs_stoc
gendata_19yrs_stoc/_DYN0.127403861618094193923682792174938877438/year=2015/month=11
gendata_19yrs_stoc/_DYN0.127403861618094193923682792174938877438/year=2015/month=11/part-r-00003-attempt_1481248735958_0003_r_000003_0
gendata_19yrs_stoc/_DYN0.127403861618094193923682792174938877438/year=2015/month=12
gendata_19yrs_stoc/_DYN0.127403861618094193923682792174938877438/year=2015/month=12/part-r-00004-attempt_1481248735958_0003_r_000004_0

But nothing is returned by
globStatus("/gendata_19yrs_stoc/_DYN0.127403861618094193923682792174938877438/year=*/month=*")

@robinnt Does it still pick up everything if you query for "gendata_19yrs_stoc*" ?

@djalova Also no results returned with
globStatus("/gendata_19yrs_stoc*")
or
globStatus("/gendata_19yrs_stoc/*")

@robinnt Do you have any logs I can look at? We have tests in TestSwiftOperations.java that mimic your scenario and those are passing. Maybe there is another issue here.

 I didn't see any exceptions thrown. The 404 error occurs because the ObjectStorefileSystem.listStatus() tries to look for objects that match the path exactly, and then when it fails it then decides to look for objects with that prefix. I can fix this behavior, but if you are running into any errors this isn't likely to be the cause. In the logs, the listing eventually returns 8 objects.

That is correct there are no longer any exceptions thrown but the data is not committed into the correct location for the table so the table appears to be empty. This log is from a Big SQL LOAD command where the data is written to a temp directory (gendata_19yrs_stoc/_DYN0.127403861618094193923682792174938877438) until all map tasks are completed successfully and then the data is moved to the final location (gendata_19yrs_stoc/). The globStatus is called during the move from temp dir to final dir but it incorrectly returns 0 objects so the commit fails with no data moved to the final dir. When the table is queried it is empty because all the data is still under the temp dir and was not properly moved to the table's location.

It seems in the logs there is a delete operation before the listing that causes an exception.
2016-12-12 13:44:27,256 DEBUG [CommitterEvent Processor #1] com.ibm.stocator.fs.ObjectStoreFileSystem: delete: swift2d://stoctables.rn-softlayer/gendata_19yrs_stoc/_DYN0.127403861618094193923682792174938877438/year=__HIVE_DEFAULT_PARTITION__/month=__HIVE_DEFAULT_PARTITION__/_logs recursive true. modifed name stoctables/gendata_19yrs_stoc/_DYN0.127403861618094193923682792174938877438/year=__HIVE_DEFAULT_PARTITION__/month=__HIVE_DEFAULT_PARTITION__/_logs, hostname swift2d://stoctables.rn-softlayer/
...
2016-12-12 13:44:27,339 DEBUG [CommitterEvent Processor #1] com.ibm.stocator.fs.swift.SwiftAPIClient: Listing of stoctables/gendata_19yrs_stoc/_DYN0.127403861618094193923682792174938877438/year=__HIVE_DEFAULT_PARTITION__/month=__HIVE_DEFAULT_PARTITION__/_logs completed with 0 results
2016-12-12 13:44:27,460 DEBUG [CommitterEvent Processor #1] org.apache.hadoop.conf.Configuration: Handling deprecation for all properties in config...

Yes after the globStatus returns an empty list the job tries to clean up and delete a _logs dir. This is expected. After the job ends the objects under the temp dir are still in swift so they were not deleted.
Seems when globStatus is called there should have been some messages with "Candidate accepted" showing the objects found but those messages are missing so something went wrong in the ObjectStoreGlobber.listStatus call where nothing is returned.

Are these files marked if they are successful (i.e. does gendata.../_SUCCESS exist)?

The _SUCCESS file is not created by LOAD

@gilv I think this is caused by this line https://github.com/SparkTC/stocator/blob/master/src/main/java/com/ibm/stocator/fs/swift/SwiftAPIClient.java#L502
From the logs, I can see that when glob() calls APIClient.list() the PaginationMap returns 4 objects, but none of them are returned back to glob. Since there isn't a _SUCCESS file the results in PaginationMap are ignored.

I reran the rest with log level set to ALL so the trace messages are shown. You can see it passes through the code noted above.
container_e09_1481248735958_0007_01_000001.txt
above.

The following lines show that APIClient.list() skips over the objects because _SUCCESS is missing.
2016-12-15 11:03:43,999 TRACE [CommitterEvent Processor #1] com.ibm.stocator.fs.swift.SwiftAPIClient: gendata_19yrs_stoc2/_DYN0.2581013875130941702537108163988541555423/year=2015/month=11 created by failed Spark job. Skipped
...
2016-12-15 11:03:44,209 TRACE [CommitterEvent Processor #1] com.ibm.stocator.fs.swift.SwiftAPIClient: gendata_19yrs_stoc2/_DYN0.2581013875130941702537108163988541555423/year=2015/month=12 created by failed Spark job. Skipped

We currently use this file to differentiate between complete and incomplete files. If it interferes with other operations we might need to find another way to do this. @gilv What do you suggest?

Issue resolved with the introduction of the new object store globber


Ember client struggles with large responses

I've been experimenting with the Ember client and found that it seems to struggle with large response payloads.

http4s version : 0.21.0-RC2
scala version: tried 2.12.10 and 2.13.1
java version: tried 8 and 13

The following get request against https://httpbin.org/image/png takes a full minute, whereas it takes ~1s  for a get request against https://httpbin.org/get
package foobar

import org.http4s.ember.client.EmberClientBuilder
import cats.implicits._
import cats.effect.IOApp
import cats.effect.ExitCode
import cats.effect.IO

object Main extends IOApp {

  def run(args: List[String]) =
    EmberClientBuilder
      .default[IO]
      .build
      .use { client =>
        // Calling get with https://httpbin.org/get returns instantly
        client.get("https://httpbin.org/image/png") { response =>
          for {
            _ <- IO(println(response.headers))
            _ <- response.body.compile.drain
          } yield ()
        }
      }
      .as(ExitCode.Success)
}
```

I've been trying to track this down, and I believe it has to do with the way ember-client tries to drain the response body in order to try to reuse connections for future requests. As a workaround, adding a Connection: close header to the request seems to avoid the timeout, but this means you need to use a request style that allows setting additional headers. For example:
for {
  connectionCloseHeader <- Connection.parse("close").liftTo[F]
  req <- GET(uri"https://httpbin.org/image/png", connectionCloseHeader)
  _ <- client.fetch(req) { response =>
    for {
      _ <- IO(println(response.headers))
      _ <- response.body.compile.drain
    } yield ()
  }
} yield ()

Don't have the ticket that solved this, but it seems snappy to me, now.  Please reopen if you're still struggling.


Does slave upgrade to master automatically?

Config codis as master-slave model, could slave upgrade to master automatically if master is down?

got it


"234", " ?"

Is  ? a wrong value?

Looks like it, @jaredkerim did that come from your import script?

https://github.com/andymckay/mobile-codes/blob/3998caf9be9eae44254f29d738a68156fad29b53/mobile_codes/json/mnc_operators.json#L215

Hrmm yeah looks like an unparsed HTML escape code.  I'll try to reimport and update.

I don't intend to maintain this library anymore. I've added a note to the readme and sending this comment to people who have an issue on the library so you can fork it or do whatever you'd like.


Avoid Unnecessary go mod vendor

Changes
Stop running go mod vendor before build and local targets.
Submitter Checklist

[x] ~Includes tests if functionality changed/was added~
[x] ~Includes docs if changes are user-facing~
[x] Set a kind label on this PR
[x] Release notes block has been filled in, or marked NONE

Release Notes
NONE

/assign @SaschaSchwarze0, @HeavyWombat, @gabemontero, @adambkaplan


Init ipfs-api or js-ipfs

Provide a mechanism for swapping between embedded and external ipfs nodes.
Adds ipfsNodeType as an option which is expected to be either embedded or external for use in the proposed UI in #319
To allow js-ipfs and ipfs-api to be used interchangeably, I've tweaked add-on code to use global Buffer impl povided by browserify, and use ipfs.files.add instead of ipfs.add. Intialisation is pulled into there own modules so we've got the flexibility to tweak the returned objects in the future if we find we need to bridge temporary api divergence, or customise anything.
Fixes a bundling issue by adding prundupify as a browserify plugin... due to https://github.com/browserify/factor-bundle/issues/51 (factor-bundle and regular browserify de-duping don't play well together, which became an issue when bundling js-ipfs)
This is bite-size chunk of a bigger change, so I figured, best to get your thoughts on it early. I'm looking at pulling the external api polling from ipfs-companion.js to the external.js wrapper, so it'll become more similar to the embeded.js wrapper, as both will have some clean up to do in the destroy function.

Toggling ipfs node type works in Brave!

🎆🎇 THAT IS SO RAD!!!!! 🎆🎇
👏🏽👏🏽👏🏽👏🏽
Is the ipfs-companion also capturing ipfs://?

@diasdavid

@diasdavid was there a trick to getting the chrome.protocol apis to be available in https://github.com/ipfs-shipyard/browser-laptop/pull/1 ?  I've tried adding it as a requested permission, but I'm now seeing chrome.protocol as undefined, and trying to track down why.

@olizilla it might have been to how the extension was being loaded internally. Could you check with the Brave team?

@alanshaw solved it!

Needed manifestLocation set to component. I think https://github.com/brave/muon/blob/1fd29625480ea3a7b66bd71da11f7bcc49daf420/brave/common/extensions/api/_api_features.json#L35-L42 restricts the protocol api to this.

For future explorers, you have to load the plugin programatically in brave and pass in an additional arg to get access to privileged apis like chrome.protocol
In brave/browser-laptop you link the add-on into your app/extensions dir add the following to app/extensions.js
  // Enable IPFS
  extensionInfo.setState('ipfs', extensionStates.REGISTERED)
  loadExtension('ipfs', getExtensionsPath('ipfs'), undefined, 'component')

it's the component arg that gives it super powers.

TODOs plucked from https://github.com/ipfs/ipfs-companion/pull/310#issuecomment-347342404

[ ] it should have analogous, well-documented checkbox in the Preferences
[ ] short description of Embedded option in a tool-tip when user hovers cursor on it.
[ ] explicitly list "API" address (under "HTTP GATEWAY").

Ok, i've made a smaller change around

refactor offline check

Currently a peerCount of -1 means we couldn't connect to the external ipfs proc.
This updates the automatic gateway switching logic to use that signalling value
to decide whether to switch to the public gateway. Zero peers means we're
initialising, rather than we're offline.
This improves the ux when switching between embedded and external nodes.
A more extensive change can be done later, wrapping the ipfs-api client with a
cache, and emitting events for when ipfs state changes.
I'm planning on adding a feature flag of some sort, so we can merge this PR without exposing the js-ipfs option to existing users just yet. I'm focused on getting this PR mergable, before tackling any more changes.

@olizilla thank you!   The "0 == initializing rather than offline" change sounds good.
As soon we have the flag I'll do my best to find time to smoke-test and merge it.

I've added a minimal feature flag for the embedded ipfs work. Marking ipfs: false in the browsers section of the package.json, causes browserify to stub out require('ipfs'), returning an empty object instead of js-ipfs. I've added an isJsIpfsEnabled test that checks for that, and used it to hide the fieldset in the options page, and the toggle switch in the browser action menu. It will also cause js-ipfs to be excluded from the bundle, which is nice.
Ideally this would be controlled by an env var like "JS-IPFS-ENABLED=true". I'll make that work in a future PR, if it's needed. To make that work we'd need to extract the browserify build process to a js file and use the browserify api, so we can then parameterise the excludes option based on env...

👓

@lidel I think this PR is ready to merge if you'd like to take a final look? If we can get this in I'll rebase #323 and it'll also be ready for review & merge.

Firefox users can try v2.1.1beta5, which includes these changes. 👍

Woooooot! :D

How can I switch to a js-ipfs node?

I don't see an option on preferences.

@diasdavid It is Brave-only for now 🙂  (disabled in default build).
To enable it, you need to mark ipfs: true in the browser section of the package.json and rebuild via npm run yarn-build
(Thanks to this build flag Firefox/Chrome versions do not need to ship with unused codebase of js-ipfs)

@diasdavid @lidel you have to remove "ipfs": false from the package.json, setting it to true won't work! We'll add a note to the README.


files.get spec should accept a cid instance

files.get spec does not allow users to pass a cid instance, only buffers and paths. This should be added to match the files.cat spec

Looking at the js-ipfs and js-ipfs-api code it looks like this might actually already be possible. Would you be willing to send a PR updating the spec doc and adding a test?

I won't be able to get to it for at least a couple of weeks due to other priorities. This would be a good starter issue for someone. I've added the help wanted label for now, in addition to the others you already added. It's entirely possible this is already working and there is just inconsistency in the SPEC.


Scale up gravity BodyComponent overlap

What happened?
ContactCallbacksExample() : super(gravity: Vector2(0, 100.0), zoom: 1, world: ContactCallbackWorld());
Set gravity to 100 and zoom to 1, BodyComponent ball will overlap.

What do you expect?
Ball should not overlap
How can we reproduce this?
Just modify the flame examples contact_callbacks_example code.
contact_callbacks_example.dart
import 'dart:math' as math;
import 'dart:ui';

import 'package:examples/stories/bridge_libraries/flame_forge2d/utils/boundaries.dart';
import 'package:flame/components.dart';
import 'package:flame/events.dart';
import 'package:flame/palette.dart';
import 'package:flame_forge2d/flame_forge2d.dart';
import 'package:flutter/material.dart';

class ContactCallbacksExample extends Forge2DGame {
  static const description = '''
    This example shows how `BodyComponent`s can react to collisions with other
    bodies.

  ''';

  ContactCallbacksExample() : super(gravity: Vector2(0, 100.0), zoom: 1, world: ContactCallbackWorld());
}

class ContactCallbackWorld extends Forge2DWorld
    with TapCallbacks, HasGameReference<Forge2DGame> {
  @override
  Future<void> onLoad() async {
    super.onLoad();
    final boundaries = createBoundaries(game);
    addAll(boundaries);
  }

  @override
  void onTapDown(TapDownEvent info) {
    super.onTapDown(info);
    final position = info.localPosition;
    add(Ball(position));
  }
}

class Ball extends BodyComponent with ContactCallbacks {
  late Paint originalPaint;
  bool giveNudge = false;
  final double radius;
  final BodyType bodyType;
  final Vector2 _position;

  final textPainter = TextPainter(textDirection: TextDirection.ltr);
  late Offset textOffset;

  Ball(
      this._position, {
        this.radius = 35,
        this.bodyType = BodyType.dynamic,
        Color? color,
      }) {
    if (color != null) {
      originalPaint = PaletteEntry(color).paint();
    } else {
      originalPaint = randomPaint();
    }
    paint = originalPaint;
  }

  Paint randomPaint() => PaintExtension.random(withAlpha: 0.9, base: 100);

  @override
  Future<void> onLoad() {
    textPainter.text = const TextSpan(text: '💊', style: TextStyle(fontSize: 30));
    textPainter.layout();
    textOffset = Offset(-textPainter.width/2, -textPainter.height/2);
    return super.onLoad();
  }

  @override
  Body createBody() {
    final shape = CircleShape();
    shape.radius = radius;

    final fixtureDef = FixtureDef(
      shape,
      restitution: 0.8,
      friction: 0.4,
    );

    final bodyDef = BodyDef(
      userData: this,
      angularDamping: 0.8,
      position: _position,
      type: bodyType,
    );

    return world.createBody(bodyDef)..createFixture(fixtureDef);
  }

  @override
  void renderCircle(Canvas canvas, Offset center, double radius) {
    super.renderCircle(canvas, center, radius);
    textPainter.paint(canvas, textOffset);
  }
}

class WhiteBall extends Ball with ContactCallbacks {
  WhiteBall(super.position) {
    originalPaint = BasicPalette.white.paint();
    paint = originalPaint;
  }

  @override
  void beginContact(Object other, Contact contact) {
    if (other is Ball) {
      other.giveNudge = true;
    }
  }
}

What steps should take to fix this?
No response
Do have an example of where the bug occurs?
No response
Relevant log output
No response
Execute in a terminal and put output into the code block below
[✓] Flutter (Channel stable, 3.24.1, on macOS 14.6.1 23G93 darwin-arm64 (Rosetta), locale en-US)
• Flutter version 3.24.1 on channel stable at /Users/taotao/Documents/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 5874a72aa4 (5 weeks ago), 2024-08-20 16:46:00 -0500
• Engine revision c9b9d5780d
• Dart version 3.5.1
• DevTools version 2.37.2
• Pub download mirror https://pub.flutter-io.com
• Flutter download mirror https://storage.flutter-io.com
[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
• Android SDK at /Users/taotao/Library/Android/sdk
• Platform android-34, build-tools 34.0.0
• ANDROID_HOME = /Users/taotao/Library/Android/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11572160)
• All Android licenses accepted.

[✓] Connected device (4 available)
• RMX3366 (mobile)            • 8620aab3      • android-arm64  • Android 14 (API 34)
• sdk gphone64 arm64 (mobile) • emulator-5554 • android-arm64  • Android 14 (API 34) (emulator)
• macOS (desktop)             • macos         • darwin-arm64   • macOS 14.6.1 23G93 darwin-arm64 (Rosetta)
• Chrome (web)                • chrome        • web-javascript • Google Chrome 128.0.6613.138
Affected platforms
Android
Other information
Test on android device and emulator
Are you interested in working on a PR for this?

[ ] I want to work on this

flame version
  flame: ^1.19.0
  flame_audio: ^2.10.3
  flame_forge2d: ^0.18.2
  flame_isolate: ^0.6.2
  flame_lottie: ^0.4.2
  flame_noise: ^0.3.2
  flame_spine: ^0.2.2
  flame_svg: ^1.11.0
  flame_tiled: ^1.20.3

If you set the zoom to 1 and gravity to that high you will run into the classic box2d max speed and things will not behave like you'd expect them too.
https://www.iforce2d.net/b2dtut/gotchas#speedlimit

@spydon  Ths reply.
textOffset = Offset(-textPainter.width/2, -textPainter.height/2);
textPainter.paint(canvas, textOffset);

If set zoom to default 10 and gravity to 10 there have another issue:
textPainter.paint(canvas, textOffset) can't be always set text to center of the rect, change the text font size i not find the regular of textOffset height value to set the text to center.
It seems zoom change the textPainter.paint behavior.

And why zoom default to 10 not 1. zoom to 1 the fall speed is to slow, i have to increase the gravity.

Because of the issue I linked above, you hit the max velocity limit. When you zoom in and make everything smaller the velocity limit will go up * zoom level. And regarding the text, yes, everything is zoomed. You can still center it quite easily though if you do it through the TextComponent.
The real solution to this issue is: #2613
So I'll close this one, since it's already covered by that one.

@spydon
TextComponent still can't center, see: https://github.com/flame-engine/flame/issues/3321

@taosimple can you send a screenshot with debugMode set to true?

@spydon

@taosimple debugMode is not turned on in that picture, just set debugMode = true in your game class.

@spydon


Incompatibility/Bug with @apollo/client > 3.5.0

https://github.com/apollographql/apollo-client/commit/91945a1574aeb600b8faf6d099dbeabe1af866a1#diff-fb7fa652de6d84c08b87344a06a4d120b664c6e8bf491d16575794c755141477R356
A change was made in @apollo/client > 3.5 that means the query property in the options object will override the first argument and because rescript encodes query: undefined in that options object there's a runtime error. Technically I think the responsibility lies with apollo here, but humans probably wouldn't write useQuery(documentNode, { query: undefined }) either.
The easiest way to fix this looks like replacing query: None with query: Some(Operation.query), but would also be fixed by removing the query property entirely from the options type definitions. I'd be happy to do either just let me know what you'd prefer.
Also affects useMutation, useLazyQuery, etc

Thanks for bringing this up! It's hard for me to imagine why query is even part of QueryHookOptions, but I'm going to assume there is a use case for it. That being the case, I propose we keep the functionality. Either do query: Some(Operation.query) as you suggest, or we could switch the underlying QueryHookOptions.Js_.t type to use @obj so the properties are stripped when we convert in the toJs function. This has unfortunately been needed in a few other places where Apollo is checking keys not values. The @obj approach is probably more robust in terms of this kind of thing not happening in the future, but Some(Operation.query) is probably fine as well. Any thoughts?

Thanks for bringing this up! It's hard for me to imagine why query is even part of QueryHookOptions. Maybe it's extended from another type that is used in client.query? Regardless, I try not to put my own spin on things, and just try and translate them as-is and assume the type in typescript is correct, so I propose we keep the functionality.

I think they just share the options type between client.query and the hook?

We can fix this case by either doing query: Some(Operation.query) as you suggest, or we could switch the underlying QueryHookOptions.Js_.t type to use @obj so the properties are stripped when we convert in the toJs function. This has unfortunately been needed in a few other places where Apollo is checking keys not values. The @obj approach is probably more robust in terms of this kind of thing not happening in the future, but Some(Operation.query) is probably fine as well. Any thoughts?

The@obj change sounds good to me


"desc" sometimes missing from intellisense, leads to bad suggestion

with a fresh installation some default settings combine and lead to a bad ux:

Editor > Suggest: Show Snippets
Editor: Accept Suggestions On Enter

Steps to Reproduce:

launch ADS, connect to a big database, new query, start typing

it looks like there are moments while typing when the query is considered invalid, and if the suggestions are populated during that moment it wants to suggest sqlDropStoredProc instead of desc:

(notice when the red squiggle comes and goes)

Azure Data Studio Version: 1.48.1
OS Version: Windows 10 Enterprise 22H2 (19045.4651)

Does this issue occur when all extensions are disabled?: Yes

This was reported here over 5 years ago:
https://github.com/microsoft/azuredatastudio/issues/6197
And it's still not fixed. As suggested there, turning off snippets will at least stop that from happening (if you don't use them). Not ideal, but like I said, this may not be getting fixed anytime soon.


Wire up  for attribute used in form-element component

Using the strategy from this stack overflow answer, form elements within the form-element component can become a labeled control.

Good point, thanks for your effort! Two thinks prevent this from getting merged directly however:

there is already a concat helper in ember, see http://emberjs.com/api/classes/Ember.Templates.helpers.html#method_concat
tests would be needed to check this new feature for the different form elements. Can you add those?

I removed the redundant helper and added tests for labeled control feature.

Look good, just one thing: you added tests actually only for the controlType=text case, the tests for textarea and checkbox are missing the correct controlType and selector!

Oops. Sorry about that. Thanks for your patience helping me get this PR together.

@cyk Thanks, has been merged! :)


Add icons to Storybook

We use several icons , i wanted to document them in storybook so i can later use this reference in core component documentation.
Feature Suggestion
Add icons to storybook
Possible Implementation

Context

Can i take it ? 😅

Hi @lukzerom awesome to see this issue. Just to clarify - when you say several icons, are you referring to icons used from material-ui, or custom icons? Can you give me an example?

@lukzerom totally :grin:
+1 to what Emma is asking, this is about the system icons received from the app theme right? as in these: https://github.com/backstage/backstage/blob/5d342c71694ad9ee64f3fab7d8ebcfd52a408e27/packages/core-components/src/icons/icons.tsx#L36-L78

@emmaindal ,  @Rugvip  yes, exactly, icons that we wrap and document 🙂


how can I know the network has problem

when I use method wait(), if the network has problem, how can I get the feedback? if can , maybe helpful to user to check the network.

use connected


shortcuts arabic letters

VSCode Version: Code 1.12.1 (f6868fce3eeb16663840eb82123369dec6077a9b, 2017-05-04T21:40:39.245Z)
OS Version: Linux x64 4.10.14-200.fc25.x86_64
Extensions:

Extension
Author
Version

python
donjayamanne
0.6.4

cpptools
ms-vscode
0.11.0

debugger-for-chrome
msjsdiag
3.1.1

vscode-icons
robertohuertasm
7.7.0

a lot of the shortcut keys appear with Arabic letters instead of English
for example: Ctrl+shift+ح
Steps to Reproduce:
I don't how to reproduce it
it only appeared on recent versions

@astrotee What keyboard layout do you use ?

Let's track in #25871


Added a new Hibernation test

Hibernation patches are all accepted in linux-next.
TestParameter hb_Branch and hb_url can accept linux-next or developer's repo info
Ubuntu 18.04 passed the test, but RHEL 7.7 failed due to disk space full in the middle of git-cloning. RHEL has different disk layout from the OS installation. None of small space is available for linux-next or developer's linux repo cloning. SUSE has package repo access issue, so no test result.
Target kernel is 5.5.0+ or 5.6.0.
[LISAv2 Test Results Summary]
Test Run On           : 02/13/2020 23:01:25
ARM Image Under Test  : Canonical : UbuntuServer : 18.04-LTS : latest
Initial Kernel Version: 5.0.0-1031-azure
Final Kernel Version  : 5.5.0+
Total Test Cases      : 1 (1 Passed, 0 Failed, 0 Aborted, 0 Skipped)
Total Time (dd:hh:mm) : 0:0:43
ID TestArea             TestCaseName                                                                TestResult TestDuration(in minutes)
1 POWER                Power-hibernate                                                                   PASS                40.02

Logs can be found at C:\LISAv2\TW37\TestResults\2020-13-02-15-01-20-4328

Verified the hibernation in linux-next successfully.
[LISAv2 Test Results Summary]
Test Run On           : 02/14/2020 23:09:27
ARM Image Under Test  : Canonical : UbuntuServer : 18.04-LTS : latest
Initial Kernel Version: 5.0.0-1031-azure
Final Kernel Version  : 5.5.0-next-20200210
Total Test Cases      : 1 (1 Passed, 0 Failed, 0 Aborted, 0 Skipped)
Total Time (dd:hh:mm) : 0:0:42
ID TestArea             TestCaseName                                                                TestResult TestDuration(in minutes)
1 POWER                Power-hibernate                                                                   PASS                37.52

Logs can be found at C:\LISAv2\NO36\TestResults\2020-14-02-15-09-22-9731

When the VM suspends/resumes, maybe we should increase the wait time before checking the VM's status. Currently it's 2 min and 3 min respectively. Maybe we can check the status every 30 seconds and use a timeout of 30 minutes(???)
I had a quick look at the commit and it looks good to me (I'm not an expert on bash and power shell, though). Lili and Baihua should be able to provide more comments in detail.

I replaced with timer method.

I changed the code with your feedback and post the final result below. @LiliDeng @lubaihua33
Thanks for your feedback. Please sign-off.
[LISAv2 Test Results Summary]
Test Run On           : 02/19/2020 07:59:23
ARM Image Under Test  : Canonical : UbuntuServer : 18.04-LTS : latest
Initial Kernel Version: 5.0.0-1032-azure
Final Kernel Version  : 5.5.0-next-20200210
Total Test Cases      : 1 (1 Passed, 0 Failed, 0 Aborted, 0 Skipped)
Total Time (dd:hh:mm) : 0:0:50
ID TestArea             TestCaseName                                                                TestResult TestDuration(in minutes)
1 POWER                Power-hibernate                                                                   PASS                47.59

Logs can be found at C:\LISAv2\XU43\TestResults\2020-18-02-23-59-19-0767


Deprecate FID and prep v4.0.0

Makes the following changes:

Bumps to v4.0.0
Removes old deprecated APIs (getXXX calls and ReportCallback)
Marks onFID as deprecated
Removes polyfill base builds as per #238 (note this includes NavigationTimingPolyfillEntry)
Updates all examples in README from onFID to onINP
Updates INP to a CWV
Notes FID as deprecated in READ

Notable it does NOT:

Remove the FID polyfill. It's need to emit a FID on bfcache restore as browser doesn't 😔
Console.warn on onFID use. As we're in a handover stage I think it's a little early for that. We can add that in a few months without a major release IMHO.

Test all now passing, but leaving this in draft until we're ready to merge, nearer 12th March. However I'm not planning on adding more to this PR so it is ready for review in the meantime.

Done!


Chute doesn't pick items from a water stream

Describe the Bug
Chutes does not pick  items from a water stream.
Reproduction Steps

Build a item Water stream with chutes at the bottom
Throw an item into the water stream

Expected Result
None of the chutes will pick the item if the item wasn't thrown directly at them.
Screenshots and Videos
full demonstration: https://www.reddit.com/r/CreateMod/comments/105nkes/chute_doesnt_pick_items_from_a_water_stream_bug/
Crash Report or Log
No response
Operating System
Windows 11
Mod Version
0.5.0g
Minecraft Version
1.19.2
Other Mods
All of my mods except carpet and gravestones are client side
Additional Context
No response

The comments on your post are correct, the items floated so the chute can't grab them.


⚠ Samsung has degraded performance

In 0b88fd7, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2816 ms

Resolved: Samsung performance has improved in 245199f.


Accessibility Testing - Level 1

Background on the problem the feature will solve/improved user experience
Software, whether it is web enabled or not, has the ability to function and behave in a way to help those who have certain disabilities. For example, by incorporating certain bits of code, a blind user can navigate an application and hear a screen reader recite every position their keyboard focus lands. Incorporating other bits of code can help a person who has very low vision to see the screen content; or a person who cannot use a mouse; or a person who is deaf. Even a slide deck used in a presentation can be made accessible; for example, making sure the text colors have a sufficient contrast with the background color, or adding descriptive text into the properties for each image used.
IBM's Equal Access Toolkit provides three levels of achievement for accessibility requirements:
Level 1:  Essential requirements with high user impact, normally with the least investment. These cover safety, color contrast, text alternatives, navigation, operation, and errors.
Level 2:  Adds to Level 1 the next-most important requirements that enable more users to fully use a product. These include pointer interaction, use of color, text style, auto-playing content, and responsive design.
Level 3:  The full set of IBM accessibility requirements that includes the Web Content Accessibility Guidelines (WCAG), US Revised 508, and European EN 301 549 requirements.
WCAG 2.1: Web Content Accessibility Guidelines 2.1  extends WCAG 2.0 and was published as a W3C Recommendation on 05 June 2018. Many regulations reference WCAG 2.1 Level A and AA Success Criteria.
US 508: US Revised 508 Standards provide requirements for information and communication technology (ICT) in the federal sector.
EN 301 549: Accessibility requirements for ICT products and services, V3.1.1 sets requirements to meet European accessibility regulations.
Note: The Equal Access Toolkit provides guidance only on WCAG requirements. It divides tasks and considerations by role involved in each phase into these three levels of progression for web applications.
Describe the solution you'd like
At minimum, complete Level 1 for accessibility testing for Open Sentencing
Tasks
Step 1: Run verification test for Open Sentencing deployment (you can run a test on your local machine)
You can verify with automated tools, manual inspection, and with a screen reader. It is recommended that you do all three in the given order. It is counterproductive to continue to manual testing until the automated tool produces a report free of Violations or issues that Need Review. Once the automated test returns a clean result, move on to manual tests.
Step 2: Review violations and needs review
The IBM accessibility requirements and automated tools are numbered and aligned to the international standards, so it makes gathering and recording the results simple. Once you have a list of items that need attention, create a plan of action to resolve issues. Be sure to capture what elements are design, UX/UI, or developer focused activities
Step 3: Resolve violations and needs review items needed to achieve Level 1 accessibility for Open Sentencing
You can review Level 1 requirements by setting the filter to Level 1 on the lefthand side of the screen. Please ensure all of the boxes for Standards and Technology are checked
Acceptance Criteria
See Level 1 accessibility testing requirements

@sforsyth089 This work is going to be done in January-March 2021 by a corporate cohort

not stale!


Country header outside margins are incorrect

The country header component's margins are incorrect.
They should work like this:

Current state:

General approach is correct @CalebLuster, but for small screens the outside margin should be 12px (or 0.75rem). Right now it seems to be half of that.

Looks good @CalebLuster


Images in repo

Should there be an option to use relative URLs for images stored in the repository, instead of relying on absolute URLs?
Currently, images can be added to a commit in GitHub by simply dragging and dropping them into the commit window, without needing to upload them directly to the repository.

also not a top priority, but certainly a nice fututre enhancement


⚠ Processors has degraded performance

In 367f5e3, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 44 ms

Resolved: Processors performance has improved in 486ee04.


Ban nodes which are using old wallet

It is possible to use nice powerful ban system to get rid of nodes which still using old version of wallet. That will reduce network and server load and force the users to update their wallet software promptly.
For that please add this small snippet into main.cpp (function ProcessMessage) after

pfrom->fDisconnect = true;

CNetAddr netAddr(pfrom->addr);
            if (!CNode::IsBanned(netAddr)) {
        CNode::Ban(netAddr, BanReasonNodeMisbehaving);
        LogPrintf("%s banned because of obsolete wallet version\n",netAddr.ToString());
            }

This feature can be covered by the config argument banonobsoleteversion=1|0, default 0. It is also possible to create new BanReason (BanReasonObsoleteVersion).

https://github.com/ROIcoin/ROIcoin/releases/tag/v<IP_ADDRESS> has been released, closing this bug.


Playground UI

We can start off by adding css to the existing playground. Let's have a discussion here about the UI design.

Hey there, yes, I think the styling needs to be improved. I'd like to couple this with #161 . Also we could think about working with a component library or a UI framework to make the code easy to maintain and collaborate.
Material UI is very well maintained and stable: https://material-ui.com/

didn't mean to close ^^

What are the features that we're going to have in the playground (apart from the ones that exist right now?)
If you want something lightweight then I think Preact or Svelte can be good options as well or we can even think of just staying vanilla (if we just want to replicate the existing features)

There are two main features we want to prioritize:

[ ] #158
[ ] #159

could be done vanilla, just thinking about the future really.

i'm going to be implementing react ASAP so we can use things like react-table and other useful components.

Yeah I think react will be better in the long run (specially for something like #160 ).
You can let me know if there is anything I can help with.

React transition is done, UI is still very crude, but If you want to have a go, feel free to make suggestions. The table component could be paginated for example.

Cool, I'll check it out. Also, there are some dependencies which are mentioned in babel-config but are not mentioned in package.json so they were throwing errors when I followed installation step. I've added them to package.json and I'll create PR in some time.

closing due to inactivity. A couple of improvements have already been made. @madsnedergaard @corradio


JWS init error localAuthenticationFailed

From time to time, we get an JOSESwiftError of type localAuthenticationFailed when trying to initialize a JWS object.
The Signer we use is an ECSigner with an algorith ES256.
After some investigations the error seems to be thrown by:

JWS init

EC sign

The errorCode is always -1
Do you have any idea why such errors happens and how we should investigate the problem more in details?

Hi @raphaelguye, do you have a reproducible scenario for us to have a look at? In the meantime you can also look at https://github.com/airsidemobile/JOSESwift/pull/173 which was the PR that added this part of error handling, for more details.


Convert Objective-C Classes to Nanopb

@paulb777 Hey Paul! The check keeps failing due to style errors for non-FirebasePerformance files from the master branch. Do you know what went wrong? Thanks~

@jeremyjiang-dev You need to merge or rebase origin/master to your branch to get the clang-format fixes

@jeremyjiang-dev You need to merge or rebase origin/master to your branch to get the clang-format fixes

It worked. Thanks Paul!


[SPARK-43926][CONNECT][PYTHON] Add array_agg, array_size, cardinality, count_min_sketch,mask,named_struct,json_* to Scala and Python

What changes were proposed in this pull request?
Add following functions:

array_agg
array_size
cardinality
count_min_sketch
named_struct
json_array_length
json_object_keys
mask

To:

Scala API
Python API
Spark Connect Scala Client
Spark Connect Python Client

Why are the changes needed?
Add Scala, Python and Connect API for these sql functions: array_agg, array_size, cardinality, count_min_sketch, named_struct, json_array_length, json_object_keys, mask
Does this PR introduce any user-facing change?
Yes, added new functions.
How was this patch tested?
New UT added.

cc @zhengruifeng

also cc @HyukjinKwon @panbingkun @beliefer FYI

thanks, merged to master

thanks a lot for your review. @zhengruifeng @LuciferYang @beliefer @panbingkun


Added EMCS messages. Also removed some other messages that are not par…

…t of this delivery

forgot to add , commit and push he IE815

The me messages.py get run as part of messagetypes.py


AVX/AVX2 And Number Of Processor Cores

Hi,
I will like to ask if it is possible to disable AVX/AVX2 support (or any other dependent processor feature) while building the container image?
Currently I have a server with SRIOV capable network cards but when I try to create the UPF-C, the k8s pod simply fails without any logs, so I am assuming that this is because the processor I am using does not support the AVX/AVX2 extensions (this is my guess because k8s did not show any logs at all).
I decided to start the POD with bash alone and then start the process manually, below is the error I got:
[root@upf-c-5k4wl upf]# echo $UPF_RUNCONFIG
/opt/upf/config/smu/smu_docker.ini
[root@upf-c-5k4wl upf]#
[root@upf-c-5k4wl upf]#
[root@upf-c-5k4wl upf]# /opt/upf/bin/smu
Illegal instruction (core dumped)

Also will it possible to deploy the UPF with just 8 cores? My hardware is Dell VEP 1445 and it only has 8 cores.

Of course. Exist mainly DPDK use, according to different CPU architecture and instruction set only need to adjust the core/service/CMakeLists.txt in the instruction set
https://github.com/5GOpenUPF/openupf/blob/master/core/service/CMakeLists.txt


Lumen CORS Preflight (Options) Method is Not Allowed

Before you start
[ x ] Update to the latest version by running composer update fruitcake/laravel-cors
[ x ] Make sure that Apache/nginx/Valet are NOT also adding CORS headers
Check your config
[ x ]  Double-check your config file with the version from the repo. Make sure the paths property is correctly set. Start by allowing as much as possible.
[ x ]  Make sure the middleware is added to the global middleware in your Http Kernel (not group)
Clear your caches
Please do these steps again before submitting an issue:
[ x ]  Clear your config cache php artisan config:clear, route cache (php artisan route:clear) and normal cache (php artisan cache:clear).
[ x ]  Make sure your permissions are setup correctly (eg. storage is writable)
Make the request
Open Chrome Devtools to see which requests are actually happening. Make sure you see the actual OPTIONS requests for POST/PUT/DELETE (see https://stackoverflow.com/questions/57410051/chrome-not-showing-options-requests-in-network-tab)
Please show the actual request + response headers as sent by the OPTIONS request and the POST request (when available)
> curl -X OPTIONS -I http://api.weblumenlokal.local

HTTP/1.0 405 Method Not Allowed
Date: Sun, 06 Jun 2021 08:04:02 GMT
Server: Apache/2.4.41 (Win64) PHP/7.4.0
X-Powered-By: PHP/7.4.0
Allow: GET
Cache-Control: no-cache, private
Connection: close
Content-Type: text/html; charset=UTF-8

config/cors.php
<?php

return [

	/*
    |--------------------------------------------------------------------------
    | Laravel CORS Options
    |--------------------------------------------------------------------------
    |
    | The allowed_methods and allowed_headers options are case-insensitive.
    |
    | You don't need to provide both allowed_origins and allowed_origins_patterns.
    | If one of the strings passed matches, it is considered a valid origin.
    |
    | If ['*'] is provided to allowed_methods, allowed_origins or allowed_headers
    | all methods / origins / headers are allowed.
    |
    */

	/*
     * You can enable CORS for 1 or multiple paths.
     * Example: ['api/*']
     */
	'paths' => ['*'],

	/*
    * Matches the request method. `['*']` allows all methods.
    */
	'allowed_methods' => ['*'],

	/*
     * Matches the request origin. `['*']` allows all origins. Wildcards can be used, eg `*.mydomain.com`
     */
	'allowed_origins' => ['*'],

	/*
     * Patterns that can be used with `preg_match` to match the origin.
     */
	'allowed_origins_patterns' => [],

	/*
     * Sets the Access-Control-Allow-Headers response header. `['*']` allows all headers.
     */
	'allowed_headers' => ['*'],

	/*
     * Sets the Access-Control-Expose-Headers response header with these headers.
     */
	'exposed_headers' => [],

	/*
     * Sets the Access-Control-Max-Age response header when > 0.
     */
	'max_age' => 1000,

	/*
     * Sets the Access-Control-Allow-Credentials header.
     */
	'supports_credentials' => false,
];

bootstrap/app.php
<?php

require_once __DIR__ . '/../vendor/autoload.php';

(new Laravel\Lumen\Bootstrap\LoadEnvironmentVariables(
	dirname(__DIR__)
))->bootstrap();

date_default_timezone_set(env('APP_TIMEZONE', 'UTC'));

/*
|--------------------------------------------------------------------------
| Create The Application
|--------------------------------------------------------------------------
|
| Here we will load the environment and create the application instance
| that serves as the central piece of this framework. We'll use this
| application as an "IoC" container and router for this framework.
|
*/

$app = new Laravel\Lumen\Application(
	dirname(__DIR__)
);

$app->withFacades();

$app->withEloquent();

/*
|--------------------------------------------------------------------------
| Register Container Bindings
|--------------------------------------------------------------------------
|
| Now we will register a few bindings in the service container. We will
| register the exception handler and the console kernel. You may add
| your own bindings here if you like or you can make another file.
|
*/

$app->singleton(
	Illuminate\Contracts\Debug\ExceptionHandler::class,
	App\Exceptions\Handler::class
);

$app->singleton(
	Illuminate\Contracts\Console\Kernel::class,
	App\Console\Kernel::class
);

/*
|--------------------------------------------------------------------------
| Register Config Files
|--------------------------------------------------------------------------
|
| Now we will register the "app" configuration file. If the file exists in
| your configuration directory it will be loaded; otherwise, we'll load
| the default version. You may register other files below as needed.
|
*/

$app->configure('app');
$app->configure('permission');
$app->configure('cors');
$app->configure('auth');

$app->alias('cache', \Illuminate\Cache\CacheManager::class);

/*
|--------------------------------------------------------------------------
| Register Middleware
|--------------------------------------------------------------------------
|
| Next, we will register the middleware with the application. These can
| be global middleware that run before and after each request into a
| route or middleware that'll be assigned to some specific routes.
|
*/

$app->middleware([
	Fruitcake\Cors\HandleCors::class
	//  App\Http\Middleware\ExampleMiddleware::class,
]);

$app->routeMiddleware([
	'auth' => App\Http\Middleware\Authenticate::class,
	'permission' => \Spatie\Permission\Middlewares\PermissionMiddleware::class,
	'role'       => \Spatie\Permission\Middlewares\RoleMiddleware::class,
	'role_or_permission' => \Spatie\Permission\Middlewares\RoleOrPermissionMiddleware::class,
]);

/*
|--------------------------------------------------------------------------
| Register Service Providers
|--------------------------------------------------------------------------
|
| Here we will register all of the application's service providers which
| are used to bind services into the container. Service providers are
| totally optional, so you are not required to uncomment this line.
|
*/

// $app->register(App\Providers\AppServiceProvider::class);
$app->register(App\Providers\AuthServiceProvider::class);
$app->register(Tymon\JWTAuth\Providers\LumenServiceProvider::class);
// $app->register(App\Providers\EventServiceProvider::class);
$app->register(Spatie\Permission\PermissionServiceProvider::class);
$app->register(Fruitcake\Cors\CorsServiceProvider::class);

/*
|--------------------------------------------------------------------------
| Load The Application Routes
|--------------------------------------------------------------------------
|
| Next we will include the routes file so that they can all be added to
| the application. This will provide all of the URLs the application
| can respond to, as well as the controllers that may handle them.
|
*/

$app->router->group([
	'namespace' => 'App\Http\Controllers',
], function ($router) {
	require __DIR__ . '/../routes/web.php';
});

return $app;

any news on this?


Fix interleaved log output

Signed-off-by: knight42<EMAIL_ADDRESS>Close #96
This patch is based on https://github.com/oandrew/stern/commit/8723308e46b408e239ce369ced12706d01479532. Credit to @oandrew.

@hatchan any chance we can get this merged or a new maintainer added ?
there are a few forks with good fixes, but we need to get this repo back into shape :(
https://github.com/grosser/stern
https://github.com/linkerd/stern
https://github.com/rancher/stern

@grosser Hi! maybe you want to try out my alternative to stern https://github.com/knight42/kt

thx, I'll give that a try!


Disable sentry's default integrations when using it

Monolog already does it, as the request integration that comes with the default configuration of sentry.
Disabling it fixes it. Maybe we should add a marker that says we could activate it ? I doubt the interest but I could be wrong.
poke @B-Galati

In fact it would be good to keep Request Integration enabled as it gives a lot of useful information.

Thought about it, but as there's already the request processor on monolog, didn't think it'd be useful : https://github.com/Seldaek/monolog/blob/master/src/Monolog/Processor/WebProcessor.php

That processor is cool but I think it is doing less than Sentry Request Integration.
Also, the goal of the processor is to add information on every single log while Request Integration will add these informations on each captured event which makes more sense for a tool like Sentry where log context is less readable.
Last thing, it's possible that the SentryHandler will not support the "extra" key from log context in future releases. Should be major one but still interesting to know.

Last thing, it's possible that the SentryHandler will not support the "extra" key from log context in future releases.

Source ?
Anyway, I managed to readd the request integration. poke @B-Galati @lyrixx

Last thing, it's possible that the SentryHandler will not support the "extra" key from log context in future releases.

Source ?

https://github.com/getsentry/sentry-python/pull/457#issuecomment-519591414 -> that links to a comment in sentry-php.

IMHO it would simpler to manage with a factory class that handles all cases.
Like this one: https://github.com/B-Galati/monolog-sentry-handler/blob/master/doc/guide-symfony.md#step-1-configure-sentry-hub

Also, It is needed to set the global Hub by calling Hub::setCurrent():
// A global HubInterface must be set otherwise some feature provided by the SDK does not work as they rely on this global state
Hub::setCurrent(new Hub($client));

@Taluu needs to be rebased from master due to short array clean up :+1:

Done. I'll try to find a way to set the global hub state, even though it's repulsive (through a factory or a configurator, probably)

Hello what is the status of this PR? why @lyrixx asked for not merging it?

IIRC, it was because sentry relies on a global state, preventing from really having multiple handlers. I can't remember having made any progress, but I think maybe they had some on their side.
We will need to check with sentry's sdk.

Unfortunately, I can not remember. Sorry.
BTW, je sentry handler that is integrated with monolog is really far from perfect.
In my application, I end up with a full rewrite + a basic "service" handler

And since then they introduced a new major version.


Winget Missing Alluser install

Description of the new feature / enhancement
Add both Alluser install and User install to Wingetrepo
Scenario when this would be used?
Using Winget to install Apps for allusers, this was working before the install was split.
Supporting information
No response

@denelon any chance this got done?  Or did issues come up

@denelon any chance this got done? Or did issues come up

Well looking at the repo now there is only one winget alternative which leads to userbased install.

I see user and machine entries in the manifest. WinGet should default to a "per user" if it's a clean install and scope isn't passed via CLI or specified in settings. If a machine wide install is present, it should default to a machine wide upgrade.
https://github.com/microsoft/winget-pkgs/blob/master/manifests/m/Microsoft/PowerToys/0.69.1/Microsoft.PowerToys.installer.yaml

ok, so for a clean machine how would a pass the command to force alluser install ? Or is this install deprecated ?


Refresh indicator overscroll

The refresh indicator widget now only clamps overscrolling at the scrollable-edge where the refresh indicator appears.

Added ScrollableEdge enum for identifying one or both limits of a [Scrollable] in terms of the scrollable's scrollDirection.
Added support for specifying which scrollable edge an OverscrollIndicator appears on.
Added similar support to ClampOverscrolls.
On Android, the material app now only adds an overscroll indicator to scrollable edges that aren't already clamped.

Fixes #5320

LGTM.
Heads-up: this code is likely to get replaced with my planned scrollable refactor.


Async Search with Ember Data

I am using Ember 2.4.3, Ember Data 2.5.2, ember-power-select-with-create 0.1.8, and ember-power-select 0.10.0-beta.6.
I cannot get the async search to work correctly with ember-power-select-with-create. To clarify, async search seems to work just fine when using vanilla ember-power-select. I have reviewed issues #12 and #6, and PR #18.
Following is a MWE:
I have a search action that looks like this:
searchTags(term) {
  return this.store.query('tags', { name: term });
},

a create action like this:
newTag(term) {
  let tag = this.store.createRecord('tag', { name: term });
  tag.save();
},

and the template:
{{#power-select-with-create
  search=(action "searchTags")
  selected=tag
  onchange=(action (mut tag))
  oncreate=(action "newTag")
  as |tag|
}}
  {{tag.name}}
{{/power-select-with-create}}

My ED query is firing off a network request, so I can confirm that that is working (and, returning an appropriate payload, which is populating in the store just fine). I checked out the source for ember-power-select-with-create and found that my calls aren't advancing past this line. Debugging the result payload at that point, it looks like the buildSuggestionLabel result is being appended to the ED results, but nothing seems to advance from there. No warnings in the console, no obvious issues. The net result is that the  ember-power-select-with-create widget continues to indicate that it is still loading ("Loading options...").
Any thoughts would be greatly appreciated! Also, I am more than happy to prepare a PR, if someone can lead me down the right path.
Thanks!

Thanks for reporting this issue. There is indeed an issue with ED. I am currently working on this. Fix will be out soon!

This should be addressed by #23. Can you test and confirm it working for you?

Tested: looks great to me. Thank you so much for such a crazy fast turnaround on that!

👍


For audit, don't say an RDS is public, just say it has a public IP

The audit command says an RDS is public when it has a public IP, but it may be the case that Security Groups are still restricting what can access it.

This was resolved in https://github.com/duo-labs/cloudmapper/commit/c1a6b0531350e4627f7a20667dc2cdd667aa6e19


Refactor reenqueues and waits

Issue:
https://github.com/rancher/rancher/issues/28054

@rmweir this one is going to get refactored right ? Removing reviewers until then.


v1.12 Backports 2023-08-23

[ ] #27495 (@ishuar)
[x] #27409 (@tanjunchen)

:warning: minor conflict, resolved by omitting changes to non-existent files
(tam) I have verified this backport commit.

[x] #27457 (@brlbil)

:warning: minor conflicts

[ ] #27537 (@qmonnet)
[ ] #27532 (@doniacld)
[x] #27511 (@rolinh)

:warning: minor conflicts in files generated from helm values. Resolved by regenerating

[x] #27597 (@sayboras)

:warning: conflict in install/kubernetes/cilium/templates/validate.yaml,skipped 2nd commit per https://github.com/cilium/cilium/pull/27660#issuecomment-1689981684

PRs skipped due to conflicts:

#27346 (@qmonnet)

Once this PR is merged, you can update the PR labels via:
for pr in 27495 27409 27457 27537 27532 27511 27597; do contrib/backporting/set-labels.py $pr done 1.12; done

or with
make add-labels BRANCH=v1.12 ISSUES=27495,27409,27457,27537,27532,27511,27597

Just double check the conflict again, actually, can you drop the second commit as proxy load balancing feature is only added in 1.13.

/test-backport-1.12

/test-1.16-4.9

[x] #27532 (@doniacld) is already backported
cf: https://github.com/cilium/cilium/pull/27569

[x]  doc: Migrate to .readthedocs.yaml v2 configuration and upgrade from Python 3.7 to 3.11 #27532 (@doniacld) is already backported
cf: [v1.12] doc: Migrate to .readthedocs.yaml v2 configuration and upgrade from Python 3.7 to 3.11 #27569

Looks like the backport labels weren't properly updated on the original PR, i.e. it still had the needs-backport/1.12 label. The backporter tooling uses to determine whether a particular PR was already backported or is in the process of being backported. I've updated the labels accordingly by adding backport-done/1.12 label.


[WIP][SPARK-31198][CORE] Use graceful decommissioning as part of dynamic scaling

This is WIP since it is on top of SPARK-31197 (which itself is WIP on top off SPARK-20629 ) and should probably have more testing.
What changes were proposed in this pull request?
If graceful decommissioning is enabled, Spark's dynamic scaling uses this instead of directly killing executors.
Why are the changes needed?
When scaling down Spark we should avoid triggering recomputes as much as possible.
Does this PR introduce any user-facing change?
Hopefully their jobs run faster. It also enables experimental shuffle service free decommissioning when graceful decommissioning is enabled.
How was this patch tested?
For now I've extended the ExecutorAllocationManagerSuite to cover this. I'll also add a more integration style test on K8s.

Test build #123956 has started for PR 28818 at commit 2ff94ec.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/28578/
Test PASSed.

Test build #123956 has finished for PR 28818 at commit 2ff94ec.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/123956/
Test FAILed.

Test build #123995 has started for PR 28818 at commit ef3f523.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/28617/
Test PASSed.

Test build #123995 has finished for PR 28818 at commit ef3f523.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/123995/
Test FAILed.

Test build #124139 has started for PR 28818 at commit 7691d2d.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/28756/
Test PASSed.

Test build #124139 has finished for PR 28818 at commit 7691d2d.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/124139/
Test FAILed.

Test build #124154 has started for PR 28818 at commit 9bb0293.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/28770/
Test PASSed.

Test build #124154 has finished for PR 28818 at commit 9bb0293.

This patch fails build dependency tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/124154/
Test FAILed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/28795/
Test PASSed.

Test build #124179 has started for PR 28818 at commit 81f9dbb.

Test build #124179 has finished for PR 28818 at commit 81f9dbb.

This patch fails to generate documentation.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/124179/
Test FAILed.

Test build #124181 has started for PR 28818 at commit 2674055.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/28799/
Test PASSed.

Test build #124181 has finished for PR 28818 at commit 2674055.

This patch fails to generate documentation.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/124181/
Test FAILed.

cc @Ngone51 @jiangxb1987

cc @tgravescs too

To be clear this a WIP PR and not yet ready for review. I created it to give additional context after talking with @agrawaldevesh about our respective goals. I'll try and get a "read for review" PR out next week.

Just as a follow up since @HyukjinKwon requested an SPIP for this work I won't be moving this PR out of WIP this week as originally planned.

@agrawaldevesh So this PR depends on the behaviour of the VM eventually exiting (https://issues.apache.org/jira/browse/SPARK-31197 ) since it's replacing the usage of killExecutor during dynamic allocation.

Test build #126273 has started for PR 28818 at commit 9565c40.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/30889/
Test PASSed.

Test build #126281 has started for PR 28818 at commit 3db60f2.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/30897/
Test PASSed.

Test build #126273 has finished for PR 28818 at commit 9565c40.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/126273/
Test PASSed.

Test build #126281 has finished for PR 28818 at commit 3db60f2.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/126281/
Test PASSed.

Test build #126292 has started for PR 28818 at commit daf96dd.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/30907/
Test PASSed.

Test build #126292 has finished for PR 28818 at commit daf96dd.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/126292/
Test FAILed.

Test build #126435 has started for PR 28818 at commit f921ddd.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/31049/
Test PASSed.

Test build #126435 has finished for PR 28818 at commit f921ddd.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/126435/
Test FAILed.

Build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/31999/
Test PASSed.

@holdenk can this PR be abandoned/closed now since this is finally in ?


[Feature]: Add extra configuration for custom number of months in each episode

Feature 🚀
Add extra configuration for custom number of months in each episode.
Motivation
In order to further increase the axes of freedom in terms of the context of our environments, I propose to add to our dictionary of extra parameters the key "episode_month_len" with which to change the default runperiod of our IDF's before starting the simulation.
Checklist

[x] I have checked that there is no similar issue in the repo (required)

Note
Finally, I have chosen to define the runperiod present in the IDFs as a tuple including (start_day, start_month, start_year, end_day, end_month, end_year). Along with this, functionality to handle years in the simulation has been added (wrappers, rewards, common, etc), along with a 1991 handling for default values.
Documentation and test updates are included with this update.
The main problem with Energyplus and the weather files is that no leap year February 29th should be included in the range covered by the runperiod, otherwise an error will occur at the end of the simulation. This problem has been properly explained in the documentation.
Main commits of the changes:

b1def2e
c9c0a05
b91aa07
dda63d4
2d83962


Remove redundant function declaration.

Makes clang happy again.

@wally-the-cartographer merge

Merge requested by authorized user cschuet. Merge queue now has a length of 2.


[Question] How to pre-populate native dropdown?

renderDropdown.js

import React from 'react';

export default class extends React.Component {
  render() {
    const {
      input, label, options, style, className, optional, callback
    } = this.props;
    return (

        <span className={`${className}-label`}>{label}
        <select
          onChange={(e) => {
            input.onChange(e.target.value);

            if (callback) {
              callback();
            }
          }}
        >
          {
            options.map(option => (
              <option
                value={option.value}
                key={option.name}
              >
                {option.name}
              </option>
            ))
          }
        </select>

    );
  }
}

<Field
    name="something"
    component={renderDropdown}
    label={something}
    options={something1}
  />

Say "something" is being passed from Backend and i'd like to pre-populate the value.
If i were to use third party library it'd be easy but i am trying to use html native dropdown component.
Help is appreciated. Thank you

Hi @SeongwoonHong .. Please go to Stackoverflow or similar platform that is focused in answer question. Issues are focused to report bug and request features.