[Bug] POST requests to APIG are limited to 100kb payload size

If you try to POST a document with a payload size of > 100kb you will receive an error of the form
"ERROR	PayloadTooLargeError: request entity too large"
To Reproduce
Steps to reproduce the behavior:

Send an HTTP POST request to the APIG endpoint of the FHIR server that has a payload size greater than 100kb

Expected behavior
The lambda should be able to handle payloads of up to 6mb, according to main router configuration
Versions (please complete the following information):
7.0.1
Additional context
Examining the generated source code shows that the urlencoded module is not parsing the '6mb' correctly and is defaulting to 100kb, see last line of code snippet.
//<EMAIL_ADDRESS>var require_urlencoded = __commonJS({
  "../../common/temp/node_modules/.pnpm/body-parser@1.20.1/node_modules/body-parser/lib/types/urlencoded.js"(exports2, module2) {
    "use strict";
    var bytes = require_bytes();
    var contentType = require_content_type();
    var createError = require_http_errors();
    var debug = require_src()("body-parser:urlencoded");
    var deprecate2 = require_depd()("body-parser");
    var read = require_read();
    var typeis = require_type_is();
    module2.exports = urlencoded;
    var parsers = /* @__PURE__ */ Object.create(null);
    function urlencoded(options) {
      var opts = options || {};
      if (opts.extended === void 0) {
        deprecate2("undefined extended: provide extended option");
      }
      var extended = opts.extended !== false;
      var inflate = opts.inflate !== false;
      var limit = typeof opts.limit !== "number" ? bytes.parse(opts.limit || "100kb") : opts.limit;

Please delete this issue. It was caused by not setting the appropriate Content-Type header on the POST request, which triggered the urlencoded parser instead of the json parser.


feat(map): add launch_pointcloud_map_loader

Description

loading pcd map and map_hight_fitter with pointcloud ara time consuming (e.g. 3sec for initial pose).
they are not necessary for planning simulator, so add launch_pointcloud_map_loader to disable that
(I also feel it's not a good way)
Tests performed

put initial pose in psim with following
ros2 launch autoware_launch planning_simulator.launch.xml vehicle_model:=lexus sensor_model:=aip_xx1 map_path:=/home/kosuke55/data/map/odaiba launch_pointcloud_map_loader:=false

ros2 launch autoware_launch planning_simulator.launch.xml vehicle_model:=lexus sensor_model:=aip_xx1 map_path:=/home/kosuke55/data/map/odaiba launch_pointcloud_map_loader:=true

Effects on system behavior

Not applicable.
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[x] I've confirmed the contribution guidelines.
[x] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

@KYabuuchi will think better way!!


Meta: Plan Development Milestones

Make plan for Alpha 6, 7, 8, etc., Beta 1, 2, 3, etc., and full release. Create milestones in GitHub.
a6: Deep cleanup/Tidying
a7:

We decided to not plan ahead with milestones.


GH-1529 Fix ChromaVectorStore delete Ids operation

As a result of the the change:https://github.com/chroma-core/chroma/pull/2880  introduced in chroma:0.5.13,the delete operation doesn't return any values. Hence, we need to check the Http Client Response with the status code instead of return value.

Check the status code for successful delete operation
Update test

Resolves #1529

changed to return int and merged as a98c04296002932d88a12b3a2e3c4d797442baf1


connectedk8s: query for custom location object id with app id instead of app display name

Describe the bug
Display name is not guaranteed to be unique and relialble. Instead the custom location's first party app id should be used to query for its object id.
Custom location's Ap ID bc313c14-388c-4e7d-a58e-70017303ee3b is constant across all azure clouds. Thi id should be used to query for the object id.
https://github.com/Azure/azure-cli-extensions/blob/066fc43ade5436ef0ebfc493799a19cc711d1d97/src/connectedk8s/azext_connectedk8s/custom.py#L2185
Related command
N/A
Errors
N/A
Issue script & Debug output
N/A
Expected behavior
N/A
Environment Summary
N/A
Additional context
in disconnected clouds, the first party apps are created with the same App ID, however Display names are not guaranteed to be the same.

Thank you for opening this issue, we will look into it.

Non customer reported. Adding Service team to look into this.

@bganapa I made an update for this coincidentally:
https://github.com/Azure/azure-cli-extensions/pull/6677
It enforces the use of object id instead of app id (they are different). Basically, user needs to pass in object id of the SP associated with custom locations if they want to enable custom locations.


Add dynamic API_VERSION and BUILD_NUMBER counters and minor codestyle changes

In first version functions added directly to the configurations.
get_api_version(repo_path) was rewritten to search line by line

@azhogov What is better to return in case of nothing found in get_api_version(repo_path)?
Or better to fail?


Add "ś" to the polish language

Current version of 8VIM lacks the "ś" in it's polish layout.

@jarmuszz Thanks for the contribution


Add plugins-path and switch to temp dirs

In #20 we added a temp file path for builds dir, but I think this was meant to be a temp directory and not a file? This fixes that, adds a plugins-path too, so that you can run pipelines that use plugins within a cleanroom environment (like a minimal Docker container).
Tested locally, and seems to work 👌🏼

Looks good! Good call on the defer's, I can't remember why I didn't clean them up afterwards 🤔 I clearly wrote #20 whilst I was half asleep.

😁 I'm just stoked I wrote and ran some local Golang code

I am too! ❤


No "publish" button in dropdown

As It says on the tin. I have created a new post, it is marked as draft and the published_at field in the DB is null

As you can see there is no option to "publish". There is a VERY HIGH chance that I'm being dumb here, so all help appreciated.

This seemed to only be a problem in local...

@GigaMick Assuming you got this all figured out, but looks like your user just needs the role of Editor or Admin.

@GigaMick I still have this issue and I migrated from old package can you help?

@richard457 What version of the package are you using?


VS Code crashing on restart after opening large file once with —max-memory=12288

VSCode Version: 1.38
OS Version: Win 10 (1809) 17763.678

Steps to Reproduce:

Open a large file 10GB (original opened using --max-memory=12288mb). Observe that VS Code works fine handling the large file
Close VS code (note VS code options were previously set to hot close and restore on close)
Opening any VS Code window, either normally or through the context menu will cause the old large file to be loaded on open
At this point vs code will crash on opening within ~10 seconds. It will be functional within these 10 seconds but manual trying to close the window, file or editor will not have any effect. (Unfortunately I didn't take a screenshot of the error window but the dialog options were 'restart' which would reopen and perform perform steps 3. Onward again or just close the application)
Attempting to change hot reload setting or restore previous state options during the functioning 10 seconds before crash take no effect on restart

Does this issue occur when all extensions are disabled?: No
The solution is to start VS Code through the command line with the --max-memory=12288mb argument and to manually close the document to prevent attempting to hot reload.
I'll attach the seetting.json. Note that I've commented the settings that I added as part of step 5, these weren't present originally.
{
    "workbench.colorTheme": "Visual Studio Light",
    "editor.renderWhitespace": "all",
    // "window.restoreWindows": "none",
    // "files.hotExit": "off"
}

What type of file is it? JSON, HTML...?

What type of file is it? JSON, HTML...?

It's a .yalv log file. To all extents and purposes just a large text file, I don't believe VS Code applies any tokenization or formatting to these types of file.

@bpasero @Tyriar
Maybe we could do a fs.stat and detect that a file >1GB is being restored and perhaps we could prompt users if they really want to restore? Or maybe an option to "Restart in safe mode"?

@DanGardnerr just to be clear, you instructed VSCode to do this:

Open a large file 10GB (original opened using --max-memory=12288mb). Observe that VS Code works fine handling the large file

Or did we do this somehow and lost the CLI argument?

@bpasero I ran the command code —max-memory=12288 the first time when I was intentionally trying to open the file. After that I was just opening VS Code in my normal way

Ok got it.

Moving to @rebornix as owner of this feature. We originally did not allow to open such large files, I am not sure why no error is raised in this case.

Or maybe an option to "Restart in safe mode"?

This one is appealing to me. We have see quite a couple of similar issues where either hot exit restore and editor restore stops users from opening vs code.

Related: https://github.com/microsoft/vscode/issues/70433
Unassigning myself as it seems to be related to renderer OOM, not hot exit.

Let's track it in https://github.com/microsoft/vscode/issues/167719


Fix issue when binary framework name differs from Pod name

replace all + and - characters with _ in  non_binary_frameworks names

issue here

This is not the right way to do this, since it overlooks other cases where pod name differs from framework name, for example leveldb-library pod. I'm working on a pull request that covers all the cases by using the product_name property of the target.

Awesome!

#30 fixes the issue in a more complete manner. Hope it helps!

@ichina closing this due https://github.com/Ruenzuo/cocoapods-amimono/pull/30, thank you for bringing up the discussion with https://github.com/Ruenzuo/cocoapods-amimono/issues/28.


RegExp string matching bugs

Some Tamarin acceptance tests fail on String matching. This is follow up work to the reg exp patch.

All String matching test fails should be fixed by https://github.com/mozilla/shumway/commit/bcb223f6f0f74432979db96d5f310ec669baa724.

All String matching test fails should be fixed by bcb223f.

Except for the new failures introduced by not supporting the generic versions of the String methods anymore, yes ;) Fixed by follow-up commits.


Split "About" page into 4 pages (Project, Who we are, Funding partners, and Hubs)

Split "About" page into the followings:

"Project" page

Objectives
Core activities (or “Our services”)
Key facts
Recognition (or “Articles about Code Refinery”)
Dissemination activities (or “Presentation archives”)
Newsletter archives
Links to project reports etc. (if any)

“Who we are” page (or “Members”, “Who we are”, etc.)
"Funding partners"
"Hubs"

Stealing this ticket since I think it requires me to do the split of the page.

very nice!

Sorry for directly pushing but these are structural changes and I thought PRs will only generate noise and not help. For content itself I will again send PRs. Also more work on this coming up and then I will create issues for the rest.


nixos/nsd: symlink conf file to /etc/nsd

Motivation for this change
We remove the configFile build flag override in the NixOS module.

Instead of embedding the conf file link to the binaries, we symlink it
to /etc/nsd/nsd.nix, the hardcoded config file location for the
various CLI nsd utilities.

This config file build option override is triggerring a nsd rebuild
for each configuration change. This prevent us to use the nixos cache
in many cases.

@hrdinka, I see you wrote that particular part. I know it was a long time ago, but I feel like I might be missing some context and do something stupid here. Would you happen to remember what led you to add this override?
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

@NinjaTrappeur Yea, this needs a change. The reason for this is that all nsd binaries installed on the system (like nsd-control) need access to the config file to work. Back than I did not want to further clutter /etc but today this might be the better solution: Either symlink the config file to /etc/nsd/nsd.conf (better compatibilty) or maybe symlink it to nsd’s stateDir (like other services do it; better for NixOS users and worse for others) and use this path for the config file in the derivation. I am in favor of symlinking it to /etc. Just let me know if you are going to do the change or if I should do it.

Aha! I did not think about nsd-control.
Ok, sounds good. We're already symlinking the zones files to /etc/nsd/ anyways.

Just let me know if you are going to do the change or if I should do it.

I won't be available until tonight (CEST time). If you can do it earlier, be my guest, I'll be happy to review it. If you go ahead, it'll probably a good idea to cherry-pick 9501883 at the same time.
I'm using NSD on my router, needless to say the current un-cached situation is a bit annoying to me, I'd like to fix that pretty quick!

Just updated the PR. We're now creating a symlink to /etc/nsd/nsd.conf.

Great, thanks a lot for your changes! One last request since you are already on it. The default config file path is wrong in the derivation. It’s missing the leading /, please be so kind and add it :smiley::
https://github.com/NixOS/nixpkgs/pull/91514/files#diff-a172753a317033e33503641d094d3636R14

Aha, indeed. Good catch.
Updated.

Thanks for all the changes :+1:


i80_controller 8 bit parallel port add GC9A01 lcd driver unusable (IDFGH-10093)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report
After adding the function
ESP_ERROR_CHECK(esp_lcd_new_panel_gc9a01(io_handle, &panel_config, &panel_handle));
How does esp-idf perform additional configuration after regular initialization。
I used the following function that didn't work：
ESP_ERROR_CHECK(esp_lcd_new_panel_gc9a01(io_handle, &panel_config, &panel_handle));
ESP_ERROR_CHECK(esp_lcd_panel_reset(panel_handle));
ESP_ERROR_CHECK(esp_lcd_panel_init(panel_handle));
ESP_ERROR_CHECK(esp_lcd_panel_invert_color(panel_handle, true));
ESP_ERROR_CHECK(esp_lcd_panel_disp_on_off(panel_handle, true));
The display looks like garbled code on TV。
Initialization to use：
static lv_disp_draw_buf_t disp_buf; // contains internal graphic buffer(s) called draw buffer(s)
static lv_disp_drv_t disp_drv;      // contains callback functions
ESP_LOGI(TAG, "Turn off LCD backlight");
gpio_config_t bk_gpio_config = {
    .mode = GPIO_MODE_OUTPUT,
    .pin_bit_mask = 1ULL << EXAMPLE_PIN_NUM_BK_LIGHT
};
ESP_ERROR_CHECK(gpio_config(&bk_gpio_config));
gpio_set_level(EXAMPLE_PIN_NUM_BK_LIGHT, EXAMPLE_LCD_BK_LIGHT_OFF_LEVEL);

ESP_LOGI(TAG, "Initialize Intel 8080 bus");
esp_lcd_i80_bus_handle_t i80_bus = NULL;
esp_lcd_i80_bus_config_t bus_config = {
    .clk_src = LCD_CLK_SRC_DEFAULT,
    .dc_gpio_num = EXAMPLE_PIN_NUM_DC,
    .wr_gpio_num = EXAMPLE_PIN_NUM_PCLK,
    .data_gpio_nums = {
        EXAMPLE_PIN_NUM_DATA0,
        EXAMPLE_PIN_NUM_DATA1,
        EXAMPLE_PIN_NUM_DATA2,
        EXAMPLE_PIN_NUM_DATA3,
        EXAMPLE_PIN_NUM_DATA4,
        EXAMPLE_PIN_NUM_DATA5,
        EXAMPLE_PIN_NUM_DATA6,
        EXAMPLE_PIN_NUM_DATA7,
    },
    .bus_width = CONFIG_EXAMPLE_LCD_I80_BUS_WIDTH,
    .max_transfer_bytes = EXAMPLE_LCD_H_RES * 100 * sizeof(uint16_t),
    .psram_trans_align = EXAMPLE_PSRAM_DATA_ALIGNMENT,
    .sram_trans_align = 4,
};
ESP_ERROR_CHECK(esp_lcd_new_i80_bus(&bus_config, &i80_bus));
esp_lcd_panel_io_handle_t io_handle = NULL;
esp_lcd_panel_io_i80_config_t io_config = {
    .cs_gpio_num = EXAMPLE_PIN_NUM_CS,
    .pclk_hz = EXAMPLE_LCD_PIXEL_CLOCK_HZ,
    .trans_queue_depth = 10,
    .dc_levels = {
        .dc_idle_level = 0,
        .dc_cmd_level = 0,
        .dc_dummy_level = 0,
        .dc_data_level = 1,
    },
    .flags = {
        .swap_color_bytes = !LV_COLOR_16_SWAP, // Swap can be done in LvGL (default) or DMA
    },
    .on_color_trans_done = example_notify_lvgl_flush_ready,
    .user_ctx = &disp_drv,
    .lcd_cmd_bits = EXAMPLE_LCD_CMD_BITS,
    .lcd_param_bits = EXAMPLE_LCD_PARAM_BITS,
};
ESP_ERROR_CHECK(esp_lcd_new_panel_io_i80(i80_bus, &io_config, &io_handle));

I didn't have the chance to drive the GC9A01 by i80 bus. Some clues from my side:

Have you configured the LCD into the correct mode, by some soldering or removing some of the registers?
Have you used any logic analyzer to capture the data lines and the clock line and compare it with the GC9A01 datasheet?

@suda-morris I successfully drove the screen, but occasionally it showed normal, and often the screen was bloated. Will the poor line contact affect this? If it was a software problem, what should I modify to correct it?

@yushuaijun another debug option come to my mind. If your LCD module has exported a "RD" line, please connect it to a high level instead of leaving it to float.

Thank you very much. It is indeed the problem with the RD pin. Just attach it. @suda-morris


more addoptions descriptions

see message.txt

see message.txt

https://forum.droidscript.org/t/community-category/51?u=dxjt


Updates Issue Template Label

closes 3/4
What does this PR do?
Adds Live Stream Label to Portfolio Review
What is the relevant issue link?
https://github.com/EddieHubCommunity/support/issues/1325

Thank you. 😎


Fix/Hack for no-unresolved

So this Fix/Hack technically turns it off, which in the end is not an issue, because we would get this error anyway:
Cannot find module '$apps/forms' or its corresponding type declarations.

If we try to import a module that isn't found.

looks very bad to me


Dialog textbox clips on the right hand side when displaying text

@mhl787156 Just wanted to bring this your attention while you're editing the textbox

Is this just a case of making the margin bigger?

Not sure. Not sure if the finishing "v" element has a background thats covering the next maybe?

Oh wait I see what you mean. That is one solution I guess

Possibly fixed? Can't seem to observe it anymore!


Revert "Update/Bloxy v5"

Needs more testing
Reverts #114 & #117

Test if the custom requester also throws HTTP errors when Bloxy fetches new XCSRF tokens.
Also got an error in UserService "client.getUserId is not a function", that's an easy fix probably.


Missing closed parentheses on docs

Issue
No issue.
Details
Adds missing closed parentheses on request docs.
CheckList

[ ] PR starts with [#ISSUE_ID].
[x] Has been tested (where required) before merge to main.

Nice spot @ramonmedeiros 🚀

Found this while helping this questions on SO: https://stackoverflow.com/questions/65091950/deno-opine-router-how-to-read-values-from-page/65092161#65092161
Maybe it's a signal that we need better community code snippets while dealing with requests


Fix FreeBSD CI test

Curl is failing on CI causing FreeBSD CI test to fail on my other PR https://github.com/tokio-rs/mio/pull/1667/checks?check_run_id=13155549454
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=270940 I found other references to the same bug
Curl 7.88.1 up fails. Curl is already installed on FreeBSD so removing the command to update it fixes this issue

fetch https://sh.rustup.rs -o rustup.sh

I updated the PR to use your suggested solution since base system would be ideal I agree

Thanks @KolbyML


Remove 1.28 feature flag and set it as default version

Issue #, if available:
Description of changes:
Testing (if applicable):
Documentation added/planned (if applicable):
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/approve

/woof

/meow


GH-43868: [CI][Python] Add required PARQUET_TEST_DATA env to python_test_emscripten.sh

Rationale for this change
The following PR:

https://github.com/apache/arrow/pull/41580

Made mandatory for a test the requirement to have PARQUET_TEST_DATA env defined.
This is missing from python_test_emscripten.sh
What changes are included in this PR?
Add the required env to pass the test.
Are these changes tested?
Via archery
Are there any user-facing changes?
No

GitHub Issue: #43905
GitHub Issue: #43868

@github-actions crossbow submit test-conda-python-emscripten

ok, this does not work on emscripten. I have no idea how environment variables work there and / or if they work. We probably should skip this test on that environment. I am also not sure if we should just delete this test, my expectation is that if a test requires this to be set will already fail if it does not find the parquet test data files. @jorisvandenbossche should we just remove this test?

cc @kou for insight.

I think that we can't inject Parquet test data directory path by environment variable.
Because environment variable doesn't exist on Web browser.

E   FileNotFoundError: [Errno 44] Failed to open local file '/arrow/cpp/submodules/parquet-testing/data/column_chunk_key_value_metadata.parquet'.
E   FileNotFoundError: [Errno 44] Failed to open local file '/arrow/cpp/submodules/parquet-testing/data/column_chunk_key_value_metadata.parquet'. Detail: [errno 44] No such file or directory

pyarrow/error.pxi:92: FileNotFoundError

The above part is a bit hidden in the output logs, because the second test run ("Running emscripten tests in Chrome") still gives the same error about the env variable not set.

cc @joemarshall

For setting the env variable, could we modify os.environ directly in python code? (eg in _load_pyarrow_in_runner)

@github-actions crossbow submit test-conda-python-emscripten

Pushing a test skip that works locally but happy if @joemarshall or someone else comes with a solution that does not require us to skip the test.

Skipping the test is certainly fine with me

This seems relevant:
https://pyodide.org/en/stable/usage/accessing-files.html

I've been able to have the test passing locally for the NodeDriver with this (and some other minor changes):
diff --git a/python/scripts/run_emscripten_tests.py b/python/scripts/run_emscripten_tests.py
index 53d3dd5..550e1a0 100644
--- a/python/scripts/run_emscripten_tests.py
+++ b/python/scripts/run_emscripten_tests.py
@@ -19,6 +19,7 @@
 import argparse
 import contextlib
 import http.server
+import json
 import os
 import queue
 import shutil
@@ -153,7 +154,8 @@ class NodeDriver:
         self.execute_js(
             f"""
         const {{ loadPyodide }} = require('{dist_dir}/pyodide.js');
-        let pyodide = await loadPyodide();
+        let pyodide = await loadPyodide({json.dumps({"env": {"PARQUET_TEST_DATA": "/test-data"}})});
+        pyodide.mountNodeFS("/test-data", "{os.environ.get("PARQUET_TEST_DATA")}");
         """
         )

but the test still fails for the ChromeDriver, I tried a couple of things, like:
@@ -203,7 +205,12 @@ class BrowserDriver:
         self.driver.set_script_timeout(100)

     def load_pyodide(self, dist_dir):
-        pass
+        self.driver.execute_async_script(
+            f"""
+        let pyodide = await loadPyodide({json.dumps({"env": {"PARQUET_TEST_DATA": "/test-data"}})});
+        pyodide.mountNodeFS("/test-data", "{os.environ.get("PARQUET_TEST_DATA")}");
+        """
+        )

but this just crashes, so I am not sure how to do the mount for the ChromeDriver.

@github-actions crossbow submit test-conda-python-emscripten

I am marking this as ready for review just skipping the test, I can create an issue as a follow up in order to mount  PARQUET_TEST_DATA if someone wants to take that over. @pitrou @jorisvandenbossche are you ok skipping the test to fix CI?

@raulcd Can you fix this PR's title and description?

@raulcd Can you fix this PR's title and description?

Sorry about that, I forgot to update the PR title + desc after several iterations. Thanks for double checking @pitrou


Question: how would I authenticate through ID/Access Key/Secret without a json file?

Does this issue affect the google-cloud-cpp project?
Yes
What component of google-cloud-cpp is this related to?

Cloud Storage.

What version of google-cloud-cpp are you using?
HEAD
What compiler and version are you using?
4.8.5
What operating system and version are you using?
SLES12SP3
What were you trying to do?
If I generated a secret with my service account, how do I authenticate to the bucket in my storage account?  All the methods specified in "client.h" go through some kind of json file loading mechanism. Without digging further as a newbie, can somebody please point me to a way to create a Credentials to authenticate and create a Client handle?
Thanks,
Yang

If I generated a secret with my service account, how do I authenticate to the bucket in my storage account?

Since you have a service account, this is the best description I know of:
https://cloud.google.com/docs/authentication/production#obtaining_and_providing_service_account_credentials_manually
As it says there, you can create and download a new credentials file using:
gcloud iam service-accounts keys create [FILE_NAME].json --iam-account<EMAIL_ADDRESS>
and then setup the GOOGLE_APPLICATION_CREDENTIALS pointing to this file.

I missed the part about "without a json file".  The short answer is that you cannot, at least not for private data:
https://cloud.google.com/storage/docs/json_api/v1/how-tos/authorizing#AboutAuthorization

@coryan  How do you plan to support OAuth2.0 in order to have cross account access to the same blob stored in one place?

@coryan How do you plan to support OAuth2.0 in order to have cross account access to the same blob stored in one place?

I am not sure I follow.  If you are asking: "How do I make a Blob available to multiple service accounts / users" then the answer is you use the object ACLs:
https://cloud.google.com/storage/docs/access-control/lists
If you are asking: "Does the library implement the OAuth 2.0 flows to create access tokens out of the service account keys / user keys / GCE metadata", then the answer is yes, we do that behind the scenes.
If you are asking: "Does the library implement the OAuth 2.0 flow so an application can access resources on behalf of a user" then the answer is: we do not implement that.  You need to implement the flow and create a custom Credentials class that returns the access token obtained through your custom flow.

Did I answer your question? Is there any additional information you need from us?

@coryan
Hello,
Sorry for the late reply.  I've just circled back to this project.
What we need to accomplish is to have multiple service account(s) to be able to access the same bucket.
In your reply above, it seems like we can achieve that via ACL. However is there something like Amazon IAMS in GCP which also works with the SDK to allow a single sign on (like an application level sign on) for multiple service accounts to be able to access the bucket(s)?
Thanks for your answers. They've been very helpful.
Sincerely,
Yang

Sorry for the late reply. I've just circled back to this project.

No problem.

What we need to accomplish is to have multiple service account(s) to be able to access the same bucket.
In your reply above, it seems like we can achieve that via ACL.

Right.

However is there something like Amazon IAMS

I am not familiar with Amazon's IAMS, so I may be speaking utter nonsense.

in GCP which also works with the SDK to allow a single sign on (like an application level sign on) for multiple service accounts to be able to access the bucket(s)?

I am not sure I follow.

Do you want your application to use multiple service accounts to access different buckets?  You can do that, just create one client per service account, you may want to use something like CreateServiceAccountCredentialsFromJsonContents:

https://github.com/googleapis/google-cloud-cpp/blob/3b8ad444339a07bf5bfd024d98c615aaf688af51/google/cloud/storage/oauth2/google_credentials.h#L233
to create the Credentials object for your client(s).

Do you want your application to authenticate a request (maybe a HTTP or gRPC request received by your application) and then act on behalf of the caller?  That might be possible (I have never attempted this, so it could take some trial and error until you get it right).  You will need to implement some stuff yourself, specifically, your application needs to create an access token on behalf of the other service account(s).  I think you can do so using this API:

https://cloud.google.com/iam/docs/reference/credentials/rest/v1/projects.serviceAccounts/generateAccessToken
and then create the JSON string to initialize a Credentials object based on the result of calling that API.

I hope we were able to help, closing as there has been no activity for several months.


Extended getNextTarget not called, no looping done

I cannot get video loop work properly, when the video ends it goes to a black screen, I checked the sample end it doesn't loop either
I am using compile "im.ene.toro2:toro-extended:2.2.0"
I run it on OnePlus One API 25 and to emuator api 23 also.

@eneim I imported as a module to do some debugging and I noticed that ExtPlayerViewHelper.onPlayerStateChanged is called when the video ends with playbackState == ExoPlayer.STATE_ENDED and playWhenReady == true so it doesn't enter to if statement block

@crackTheCode I see, thanks for the report. I will take a look on that soon.

I also noticed video's aren't looping. I verified this in the sample app - basic sample 3.. after the video finishes it stops and doesn't restart.
When debugging this in my app, getNextTarget() was called and I returned Target.THIS_PLAYER but I didn't see anything else in the log (including from Toro)
 onPlaybackStarted:
 onPlaybackCompleted:
 getNextTarget:

I stepped through what's happening and here's what I noticed.
In ExtPlayerViewHelper manager.startPlayback(); is called:
        case THIS_PLAYER:
          // immediately repeat
          if (manager != null) {
            manager.restorePlaybackState(player.getMediaId());
            manager.startPlayback();
          }

Then, in PlayerManagerImpl player is null
  @Override public void startPlayback() {
    if (player != null) {
      player.start();
    }
  }

could this be the issue?
https://github.com/eneim/Toro/commit/decd7a5594a43f4e265df74c2af62780d20332ac#diff-61ccaf5ee8c292d3f874ee08a2df9d30

Oh, maybe. Let me take a look at it.

@jpage4500 @crackTheCode Please try latest 2.2.1-SNAPSHOT to see if this has been fixed. Thanks.

@eneim how to import it?
compile "im.ene.toro2:toro-extended:2.2.1-SNAPSHOT"
doesn't work

@crackTheCode Do you have the snapshot repository in your gradle file?

@eneim no I don't think so. How can I do it which is the repo

@crackTheCode You cannot get the SNAPSHOT or the latest SNAPSHOT doesn't work? :-s

Do you have the snapshot repository in your gradle file?

What's the snapshot repo URL? I don't think I have or know what this is - just have jcenter and mavenrepo. Are you using jitpack.io for pre-release builds?

@jpage4500 @crackTheCode Sorry, FYI
maven {
        url "https://oss.sonatype.org/content/repositories/snapshots/"
    }

Put this into root build.gradle, inside
allprojects {
}

block.

@eneim I did it and I got the SNAPSHOT code but it doesn't work in my project? Your demo works?

@crackTheCode Let me double check.

I also had the same issue.

I figured out the issue. The player will release on every completion. Will come up with a fix soon.

Is there any other way we can play video in loop ?

@m7yank let see if 2.3.0 helps you. Already on jcenter.


just to clarify

for the format: attack udp <<IP_ADDRESS>> <80> <10> <not exactly sure still what goes here?> is this the proper format or do i have to include the words "IP" and "Port"?

The formate is attack udp <IP_ADDRESS> 80 60 2 This will start 2 bot and start flooding on your localhost on port 80 for 1 minute.
Disclaimer: as i have seen you are attacking on some public IP i am hoping thats your server IP or you doing that with permission attacking some random server is illigal and you may get in trouble, we dont accept any illigal usage of this script, we made it for education purpose thanks.

Oh that’s not a real IP, I copied mine and just replaced some random numbers, thanks for the help!

Your welcome 😃

Hey I got it all set up, one issue, I compiled an exe and had my friend run
it on his pc (with his permission of course) the thing is, his pc didn’t
show up on the list
On Tue, Apr 20, 2021 at 17:59 Mayank Gupta @.***> wrote:

Your welcome 😃
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/MayankFawkes/Python-Botnet/issues/4#issuecomment-823758987,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATYR76ALKGIP74XNR65IZR3TJZERRANCNFSM43JONHKA
.

I am not sure what you mean by that and how you made/get the exe. If you made exe file from .py file then client can workout console but server cant work without that. I am still not aware what you mean by list.

I compiled the client into an exe, I mean when I’m on my server py, I run
the command “list” to see all my connected bots yet that one doesn’t show
up.
On Tue, Apr 20, 2021 at 22:34 Mayank Gupta @.***> wrote:

I am not sure what you mean by that and how you made/get the exe. If you
made exe file from .py file then client can workout console but server cant
work without that. I am still not aware what you mean by list.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/MayankFawkes/Python-Botnet/issues/4#issuecomment-823885903,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATYR76C2XVIL5YJHQCBFXY3TJ2E3HANCNFSM43JONHKA
.

Hey add me on discord Marcell#6515 maybe I can show you what I mean
On Tue, Apr 20, 2021 at 22:38 Tyrus Gonzales @.***> wrote:

I compiled the client into an exe, I mean when I’m on my server py, I run
the command “list” to see all my connected bots yet that one doesn’t show
up.
On Tue, Apr 20, 2021 at 22:34 Mayank Gupta @.***>
wrote:

I am not sure what you mean by that and how you made/get the exe. If you
made exe file from .py file then client can workout console but server cant
work without that. I am still not aware what you mean by list.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/MayankFawkes/Python-Botnet/issues/4#issuecomment-823885903,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATYR76C2XVIL5YJHQCBFXY3TJ2E3HANCNFSM43JONHKA
.

I think you are not aware of port forwarding and all. If you used it on WAN then you must have to edit client file and edit your IP and port then you need to open the same port from your internet router or you can use ngrok for that. For more you must read about port forwarding on internet.


How to partially download files from a torrent

I meet a problem that: I have a torrent to download 40G files, but I only have 40G space for my Linux server, so I cannot download the whole file in one time. How can I partially download files or select which to download by using transmission-cli?

@Aiamjay, sorry, I don't know how to implement it...


The limit keyword is missing

import sql -> select id, name from test offset 10 limit 10
CCJSqlParserManager parserManager = new CCJSqlParserManager();
Statement statement = parserManager.parse(new StringReader(sql));
output sql -> select id, name from test offset 10.
After the parsing, The limit keyword is missing.

The actual version of JSqlParser outputs
SELECT id, name FROM test LIMIT 10 OFFSET 10

Only the ordering of limit and offset is not preserved.


Shutting down txoutbox leaves dangling go routines

When shutting down the txoutbox we do not properly close the exit channel leaving dangling goroutines which litter the logs when shutting down the bus

fixed #59


[WFLY-16607] WFLYEJB0275: Could not resolve corresponding ejbCreate or @Init method for home interface

https://issues.redhat.com/browse/WFLY-16607

Thank you for the update @chengfang
@tadamski this looks like another with clean CI so once reviewed I can get straight in.


add browser support note to README, and package.json

addresses issues #13 and #15.
happy to further update the README if I missed any other ES6 features that made it into the minified distribution code.
for the package.json, I matched your style from the one I found in animateplus: https://github.com/bendc/animateplus/blob/master/package.json
cheers :beers:

Closing per #15.


empty list item will crash slate

When converting markdown with an empty list item to slate ast, this will crash slate with "Cannot get the end point in the node at path [9,0] because it has no end text node."
To reproduce

Add an empty list item to the article.md fixture (see here)
npm run storybook and see the crash

Possible solution
I'm not yet very familiar with slate, but it seems that guarding against empty children in convertNodes could work, see here.
Thanks!

Hi, thank you for the report.
As described here, slate requires at least one Text descendant.
So I think your suggestion works and I'll fix it soon.

thanks for the super quick fix!

@stefanprobst
Pubished in 0.3.0. Thanks!


Create an intro

Add an intro about yourself: who are you, what is your strength, why are you here.

Hiiii 😊
My name is Nicolas Corredor, I am currently 22 years old, I am Colombian. I am a student of systems engineering at the university UNIMINUTIO and I am doing my internship at Banco de Bogota. I consider myself a very curious person and passionate about technology but above all very responsible. I am here to grow as a professional. 🤓

Done!😁


Single Key Wallets: UI Support and changes

Task Description
Single Key Wallets should be considered as a normal wallet on the UI (though it is a Vault under the hood and has manage key options) but rest of everything should as normal wallet:

[x] Tags
[x] Icons
[x] Wallet List
[x] Text should be "wallet" and "vault"

Verified this issue on keeper app v 1.2.11(381)


Alert Starting Sequence

Need to create a module which will handle alert start messages and insert them into the database correctly

Awaiting creation of Database Module


Draft Evaluation Context Specification

We need to draft a specification for the Evaluation Context. It must define things such as:

standard fields on the context (these must be defined so they can be predictably mapped to standard fields in some SDKs, such as ip-address, email, http-method, etc)
where context attributes can be provider (at API level (for static data such as runtime or application name), per client, as a parameter for flag evaluation)
how context provided at different levels mentioned above will be merged
implicit propagation mechanisms (continuations, thread local storage, etc)

And possibly more.
Related discussions:

user identifier
system, request properties, context propagation

I would suggest distinctId as in distinct identifier, for e.g. user, group, company etc


Do we need all those Arcs?

AuthorityServer is used as an Arc, but it contains itself a number of Arcs (eg. for AuthorityState and AuthorityStore). Do we need them all?

Yes we do, because the components are shared with other tasks, for example, that implement follower, checkpoint etc. There is no real overhead to these, since the overhead of ARC is in cloning and dropping.


make InlineVec::from_buf unsafe to fix soundness issue

Codecov Report
Patch coverage is 100.00% of modified lines.
:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the GitHub App Integration for your organization. Read more.

Files Changed
Coverage

src/dynamic.rs
100.00%

:loudspeaker: Thoughts on this report? Let us know!.

Thanks, makes sense!

Thanks for the merge!


stoping flynn-host with upstart takes long time

sudo stop flynn-host returns before flynn-host is stopped. When it returns I can still visit http://my-app.demo.localflynn.com though it responds with a 500 "Service Unavailable".

I believe the issue here is that flynn-host stops all the jobs (including discoverd), but then subsequently tries to unregister it's service which blocks for 30s (as we use a retry dialer).
We should shuffle the shutdown hooks so that the service unregister happens before stopping the jobs.

Oh, also your router remains active (albeit serving 503s) because the router suffers the same fate, it gets stuck at shutdown trying to unregister it's service because flynn-host (potentially) stops discoverd before the router.


[feature] API - Marking watch as 'seen' via API, how to

I use https://github.com/gethomepage/homepage (https://github.com/gethomepage/homepage/blob/main/src/widgets/changedetectionio/widget.js) and noticed that my diffs show as "unread"  or "not seen" until they get rechecked, even if I have "viewed" them in the UI.
The code that homepage is using to show a diff is
    if (data[key].last_changed > 0 && data[key].last_checked === data[key].last_changed) {
      diffsDetected += 1;
    }

Is there something else we can expose to the API to potentially use in this widget like "unread" or "new" or something similar to what the frontend uses to bold/unbold the links in the list?
Edit: Sorry this should be a feature request not a bug, it changed as I wrote it

hey! yeah, that is something missing, it should set last_viewed on some action
https://github.com/dgtlmoon/changedetection.io/blob/8fd57280b741642aa6246e5102c08d4ea9050edc/changedetectionio/model/Watch.py#L116
So it means that according to the API docs at https://changedetection.io/docs/api_v1/index.html#api-Watch-Update_a_watch you can just call
Just update '{"last_viewed":<PHONE_NUMBER>}'
so it means for example

curl http://localhost:4000/api/v1/watch/cc0cfffa-f449-477b-83ea-0caafd1dc091 -X PUT -H"x-api-key:813031b16330fe25e3780cf0325daa45" -H "Content-Type: application/json" -d '{"last_viewed":<PHONE_NUMBER>}'

And that will work, can you do that?

or is the above answer something "homepage" can integrate?

Checking diff in frontend does not mark the diff as "seen" in the API

This is kind of misleading issue topic, because theres no way the API can really know the last time your eyes actually saw the diff..

Ah yes perfect, I see now that I need to dive into each specific watch to check the last_viewed, that is exactly what I was looking
This can be closed now, I am not sure it would be unanimously accepted but I will maybe try it for the homepage widget and decide if I want to open a PR, thanks!

Ah yes perfect, I see now that I need to dive into each specific watch to check the last_viewed, that is exactly what I was looking

This can be closed now, I am not sure it would be unanimously accepted but I will maybe try it for the homepage widget and decide if I want to open a PR, thanks!
That would be amazing :) link this issue against your PR there so they see a +1 from me

Can we maybe put the last_viewed field at the top level of the watch endpoint so that I don't need to make separate api calls for each watch I want to check? Looking at the homepage code, it is totally doable to do more fetches but seems a bit messy to me
Up to you, but without it, I probably wont make the change to the homepage project, since I can just run rechecks or wait for rechecks to clear the counter now that I understand the behavior

Can we maybe put the last_viewed field at the top level of the watch endpoint so that I don't need to make separate api calls for each watch I want to check? Looking at the homepage code, it is totally doable to do more fetches but seems a bit messy to me

I dont follow/understand sorry

Sorry, your previous comment does not make any sense to me, I dont know what you mean by 'top level', and it's important to not just set last_viewed for any arbitrary reason
So maybe a solution is to set last_viewed according to which version, or, when you select latest it should be the current timestamp

aaah you are saying when you get the watch information, it does not include "viewed" right?
is that what you mean by "top level" ?

Ahh there is a bug
curl -s https://hosted/api/v1/watch/ad43465c-9ecc-4b2f-a4fe-683d487a42c1  -H"x-api-key:xxxx" |jq ".viewed"

false
then I click '[diff]`
then retry the API
curl -s https://hosted/api/v1/watch/ad43465c-9ecc-4b2f-a4fe-683d487a42c1  -H"x-api-key:xxxx" |jq ".viewed"

false

aaah you are saying when you get the watch information, it does not include "viewed" right? ( https://changedetection.io/docs/api_v1/index.html#api-Watch-Watch )
is that what you mean by "top level" ?

Yea, and I could also compute viewed if last_viewed was provided.
Basically I would like to be able to derive/get this state/information from a single call to curl -s https://hosted/api/v1/watch without needing to loop over each watch with changes and make a separate api call

yeah there's a few missing from the API reply, I see it now
watch['viewed'] should be boolean if its been viewed since diff or not
watch['link'] the actual rendered link in the case that you are using Jinja2 in your URL format
watch['label'] will prefer the 'title' over the URL if it is set (same as in the overview list)
watch['newest_history_key'] integer - as it says
yeah important is to first describe the problem you're having rather than the solution, otherwise i'm totally lost
i'll check out a fix ASAP, basically just needs something set here to get it from the @property
https://github.com/dgtlmoon/changedetection.io/blob/8fd57280b741642aa6246e5102c08d4ea9050edc/changedetectionio/api/api_v1.py#L78


Buttons in Everything Bagel example don't render text unless clicked on macOS High Sierra

Details
Buttons in Everyting Bagel example don't render text unless clicked on OSX 10.13.6
iMac (Retina 5K, 27-inch, Late 2015), AMD Radeon R9 M380 2048 MB
Python 3.7.0
Source and image of output: https://gist.github.com/ilovetogetspamed/73a55800fa0dd9b440f59eb04609f503

Read the Docs project URL:  https://pysimplegui.readthedocs.io/en/latest/
Build URL (if applicable):
Read the Docs username (if applicable):

Expected Result
Buttons that have visible labels.
Actual Result
Outlines of buttons

I don't follow this... Is this an error with the pysimplegui? If so, you should create an issue in their repo, rtd only host their docs.
If this is something else, can you please include a screenshot or describe where/how we can see that behavior?

So sorry!  It's been a 'Monday' on Tuesday.  I apologize.  It is a problem with their code.  I'll post it there.  I think I need another cup of coffee!

@ilovetogetspamed No worries! Thanks for following up and for figuring it out. :)


Add ability to configure Karaf features

Need to use a template to configure ODL's Karaf feature config file, to support installing a set of Karaf features at ODL start.

241e5d9f5a5ad4d7aabe2cefef6c4dc2c8f4876f was a portion of this.

This works as of 435077a1922fec243f9756fab1e35b04de8d7728, but I'm seeing an extra trailing comma in the CSV template output when there aren't any extra features. This works (ODL starts and seems to behave normally), but is less than ideal. I'll put some more thought into that logic in the morning.


Kerberos implementation

I know you guys said you won't accept a kerberos implementation for whatever reasons.. But I wanted to make sure that the work I've done is somewhere. We are using a 1.8 pac4j version of this with our clients. The rationale in my mind for this is as follows. We create software that's distributed to multiple clients and each of them have there own security requirements. Our software allowed them to configure in the kind of security they want and we're using pac4j as that library. Even though kerberos may be supported via other mechanisms using pac4j as the common integration layer provides value for us. I'm not sure how to implement unit tests yet and until I know you're going to include it there's no point making the effort.

It looks very promising, I will take a closer look. @mmoayyed : your feedback will be highly appreciated as well...

I've made a few comments.
I'm a bit surprised by the dependencies, I think some may be missing.
The indentation looks incorrect here and there, but it's not a big deal.
I don't see any test and it's necessary to ensure we don't break the Kerberos support in the future.

Hey.. what's the latest with this?

I have no objections to accepting this. Personally, I don't find much use in the wider IAM community but that's not my call. So proceed please.

OK.
@mmoayyed : thanks for the feedback
@garpinc : I let you address and fix the remaining points before the merge.

Do you still plan to contribute on this? Notice that clients should now implement DirectClientV2 or IndirectClientV2 (see: https://github.com/pac4j/pac4j/issues/622)

Yes. I do still plan to get back to it.

OK. No problem. I'll leave the issue open.

Hello! I use pac4j to solve that use CAS client support in CAS applications, and i reference the site: [https://apereo.github.io/cas/4.0.x/integration/Delegate-Authentication.html], run app and get error as:
`2016-08-10 17:01:24,583 WARN [org.jasig.cas.authentication.PolicyBasedAuthenticationManager] - <Cannot find authentication handler that supports org.jasig.cas.support.pac4j.authentication.principal.ClientCredential@3194f888, which suggests a configuration problem.>
八月 10, 2016 5:01:24 下午 org.apache.catalina.core.StandardWrapperValve invoke
严重: Servlet.service() for servlet [cas] in context with path [/cas] threw exception [Request processing failed; nested exception is org.springframework.webflow.execution.ActionExecutionException: Exception thrown executing org.jasig.cas.support.pac4j.web.flow.ClientAction@5fd35b70 in state 'clientAction' of flow 'login' -- action execution attributes were 'map[[empty]]'] with root cause
java.lang.IllegalArgumentException: 'principal' cannot be null.
Check the correctness of @Audit annotation at the following audit point: execution(public abstract transient org.jasig.cas.authentication.Authentication org.jasig.cas.authentication.AuthenticationManager.authenticate(org.jasig.cas.authentication.Credential[]))
at com.github.inspektr.audit.AuditActionContext.assertNotNull(AuditActionContext.java:81)
at com.github.inspektr.audit.AuditActionContext.(AuditActionContext.java:63)
at com.github.inspektr.audit.AuditTrailManagementAspect.executeAuditCode(AuditTrailManagementAspect.java:149)
at com.github.inspektr.audit.AuditTrailManagementAspect.handleAuditTrail(AuditTrailManagementAspect.java:139)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621)
at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610)
at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:65)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at com.sun.proxy.$Proxy20.authenticate(Unknown Source)
at com.wisdragon.cas.CentralAuthenticationServiceImpl.createTicketGrantingTicket(CentralAuthenticationServiceImpl.java:534)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
at org.springframework.aop.aspectj.MethodInvocationProceedingJoinPoint.proceed(MethodInvocationProceedingJoinPoint.java:80)
at org.perf4j.aop.AbstractTimingAspect$1.proceed(AbstractTimingAspect.java:47)
at org.perf4j.aop.AgnosticTimingAspect.runProfiledMethod(AgnosticTimingAspect.java:53)
at org.perf4j.aop.AbstractTimingAspect.doPerfLogging(AbstractTimingAspect.java:45)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethodWithGivenArgs(AbstractAspectJAdvice.java:621)
at org.springframework.aop.aspectj.AbstractAspectJAdvice.invokeAdviceMethod(AbstractAspectJAdvice.java:610)
at org.springframework.aop.aspectj.AspectJAroundAdvice.invoke(AspectJAroundAdvice.java:65)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at com.sun.proxy.$Proxy21.createTicketGrantingTicket(Unknown Source)
at org.jasig.cas.support.pac4j.web.flow.ClientAction.doExecute(ClientAction.java:161)
at org.springframework.webflow.action.AbstractAction.execute(AbstractAction.java:188)
at org.springframework.webflow.execution.ActionExecutor.execute(ActionExecutor.java:51)
at org.springframework.webflow.action.EvaluateAction.doExecute(EvaluateAction.java:77)
at org.springframework.webflow.action.AbstractAction.execute(AbstractAction.java:188)
at org.springframework.webflow.execution.AnnotatedAction.execute(AnnotatedAction.java:145)
at org.springframework.webflow.execution.ActionExecutor.execute(ActionExecutor.java:51)
at org.springframework.webflow.engine.ActionState.doEnter(ActionState.java:101)
at org.springframework.webflow.engine.State.enter(State.java:194)
at org.springframework.webflow.engine.Flow.start(Flow.java:535)
at org.springframework.webflow.engine.impl.FlowExecutionImpl.start(FlowExecutionImpl.java:366)
at org.springframework.webflow.engine.impl.FlowExecutionImpl.start(FlowExecutionImpl.java:222)
at org.springframework.webflow.executor.FlowExecutorImpl.launchExecution(FlowExecutorImpl.java:140)
at org.springframework.webflow.mvc.servlet.FlowHandlerAdapter.handle(FlowHandlerAdapter.java:193)
at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:925)
at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:856)
at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:936)
at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:827)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:624)
at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:812)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
at org.jasig.cas.web.init.SafeDispatcherServlet.service(SafeDispatcherServlet.java:125)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:88)
at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)
at org.springframework.web.filter.DelegatingFilterProxy.invokeDelegate(DelegatingFilterProxy.java:343)
at org.springframework.web.filter.DelegatingFilterProxy.doFilter(DelegatingFilterProxy.java:260)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at com.github.inspektr.common.web.ClientInfoThreadLocalFilter.doFilter(ClientInfoThreadLocalFilter.java:63)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)
at org.apache.catalina.core.StandardHostValve.invoke(Sta
ndardHostValve.java:170)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:423)
at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1079)
at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625)
at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:318)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
at java.lang.Thread.run(Thread.java:745)`

Please ask your questions on the CAS mailing list: https://apereo.github.io/cas/Mailing-Lists.html

ok, thank you!

Latest commit is more than three months ago. Closing for now. Feel free to re-open when you'll be ready to finish the PR.

I wonder if this could be used for forwarding the Kerberos ticket to other applications (particularly we now care about apache-spark).
if so, I think we could work a bit on improving this PR.

This implementation was meant to use the current Kerberos authentication to login into the current web application. After being authenticated, I think you can get tickets for other services, but I don't know Kerberos very well.

FYI @leleuj I already got the current code rebased over the current master (and adapted it to master changes, e.g. DirectClientV2 -> DirectClient, Resources).
Existing tests pass, I'll try to see if it's easy to add an integration test with Apache Kerby, like here.

Excellent! If you're willing to add Kerberos support to pac4j, would you mind opening a new PR so we can properly discuss your changes?
I reopened: https://github.com/pac4j/pac4j/issues/548 for you and it is planned for the 2.1.0 version.
Although the current PR proposed many interesting things, there were blocking issues, like new "Deferred" components which must be removed. You must take a look at my comments.
Furtheremore, you need to add:

documentation: everything is in the documentation directory and should be pushed along the code changes. The documentation can be browsed locally on http://localhost:4000 by starting bundle exec jekyll serve in the documentation directory

tests to confirm it works. We have three kinds of tests: unit tests, integration tests and manual tests. Unit tests are run every time we call mvn clean install and especially on Travis (CI), integration tests are run every time we use the nr Maven profile (I generally run them before a release) and manual tests are run manually from time to time. If they can run on Travis, unit tests will be perfect.


ZAC input to Zowe Principles

TSC is authoring Principles for the community - see https://github.com/zowe/community/issues/1136 extracted from: https://github.com/cncf/toc/blob/main/PRINCIPLES.md - this issue is for ZLC/ZAC to provide input to the TSC process.
I will not duplicate all the material here in the links above - only summary for context and comments on where Zowe might differ. We may want to just insert our comments to issue 1136 but I thought we would start here. Pull request here https://github.com/zowe/community/pull/1242 is work in progress.

Project centric - (this is in the CNCF principles but not mention by TSC) - recommend we say something about integrated projects maybe something like (paraphrasing) the intent is the "whole is more than just the sum of the parts"?

Agree with TSC on the following with some tweaks -

Squads are self-governing Principle: Minimal Viable Governance

We are looking to grow or have contributed high-quality, high-velocity projects that fit ‘mainframe’ and integrate to the distributed and cloud environments. Principle: Great projects already have many ingredients to succeed. First: do no harm.

Not a Standards Body Principle: Zowe promotes interoperability via industry standard or defacto interfaces that get real-world use Important: Principle of Interoperability

Above All, We Want To Help Squads - Principle: Our top priority is helping high-quality high-velocity mainframe open source projects be the main driver of customer adoption and success

Other principles proposed

Security in the Zowe is paramount - we commit to secure development practices, source code scans and vulnerability testing. If vulnerabilities are ever found they will be #1 priority to resolve. Any code in the core long term support release with an unresolved severe vulnerability will be flagged as do not use (PE in z/OS terminology) and fix or workaround provided.
Zowe is developed for the good of the z/OS platform. We will not harm the z/OS vendor ecosystem. Zowe will be vendor-neutral in what the core components deliver.

What else?

This is where we (TSC) collect our input to the discussion: https://github.com/zowe/community/pull/1242/files
It seems that in general, we are looking in the same direction.

I like the TSC list - I am fine with Peter's point using contemporary interfaces (although I am not real sure of the right term to use) - I think the days of "distributed" and "mainframe" will fade away with the shift to containers - what do we call containers? contemporary technology?
I have thought of two other principles for discussion (that is already somewhat mentioned) .....

I don't think the mention of squads, user and data driven and self governance is complete enough - I am thinking we say we believe in Agile Development principles https://www.scaledagileframework.com/safe-lean-agile-principles/? Small teams, iterative development, etc.- I know they mention "products" but open source can be a "product" (deliverable).

I am also thinking under the spirit of "do no harm" to say something about Zowe is focused on integration, to add value to the mainframe and foster IT staff productivity ..... I am also thinking to say the intent is to not compete with any commercial offerings but provide technology to grow z/OS adoption and use?

Leave open pending TSC completion for one more review by ZAC

This is complete.


How can I get an object's location coordinates with simple python code from D435i?

Before opening a new issue, we wanted to provide you with some useful suggestions (Click "Preview" above for a better view):

Consider checking out SDK examples.
Have you looked in our documentations?
Is you question a frequently asked one?
Try searching our GitHub Issues (open and closed) for a similar issue.

All users are welcomed to report bugs, ask questions, suggest or request enhancements and generally feel free to open new issue, even if they haven't followed any of the suggestions above :)

Required Info

Camera Model
{ D435i }

Firmware Version
(<IP_ADDRESS>84)

Operating System & Version
Win 11 and mac os 14 Pro M1

Kernel Version (Linux Only)
NA

Platform
PC

SDK Version

Language
python}

Segment
{Robot arm  }

Issue Description
Hello,
Currently I have my own project using D435i to observe objects, then get information about the object's location coordinates, then will use python code to take those location send to the robot arm's moving command to pick the object, i will do it with 2 levels. 1 is i will show all of the objects on the table, then get all of the object's location coordinates, 2: I will place the objects on the table one by one and the camera will observe and get the coordinates of the locations of those objects one by one. Please help me. thank you so much

hi @MartyG-RealSense , thank you for your reply, but I didn't quite find what i was looking for there. can u give me more details. thank you

Do you need further information about solvePNP, please?  If you do then the official OpenCV documentation has more here:
https://docs.opencv.org/4.x/d5/d1f/calib3d_solvePnP.html

Hi @Tranthanhbao198  Do you require further assistance with this case, please?  Thanks!

Case closed due to no further comments received.


Convert Side sheet to Variants

Variants in Figma

[x] Add documentation link
[ ] Test to see if it's possible to solve #263 with variants.

Variant properties:
Dark theme: True/False
Width: Small/Medium/Large/X Large

Ready for review @benkeq
Didn't have enough informations to solve #263. Wants a user to use all types of H in headlines?

Variants are ready for review @benkeq
Was unsure how to deal with components that looks the same in single / multi.
Also, didn't find any related documentation in the storefront

Since you've got a lot of tasks, and the rest is for onboarding, do you want me to take this? @lucasveil

Go for it @benkeq :)

Waiting for typography meeting regarding #263

blocked by #918

Since it's blocked by #918 and #928, this will probably not be solved until late December, or next year. I'm removing myself as assignee.
I think the best solution to this issue and #263  is to create new variants with other heading sizes. This will result in 8*x where x is how many different sizes we would like to offer. If all heading sizes are made available, we would have 56 variants, but I think it's better to choose a few.

Not relevant anymore


"ERROR: syntax error, unexpected TOK_RAND" in quick start guide

Dear developers, I followed the quickstart guide document to setup my environments(installed latest git versions via git-clone-make or AUR xxx-git package), and in a fresh repository clone I got these error when make -C checks:

Below shows my yosys and boolector version.
When running make -C checks again, seems other parts of the test is being run, and sometimes I get similar error while other times it showed PASS. Just picking out two other errors I met:
SBY 22:42:58 [csrw_mcycle_ch0] base: starting process "cd csrw_mcycle_ch0/src; yosys -ql ../model/design.log ../model/design.ys"
SBY 22:42:58 [csrw_mcycle_ch0] base: ERROR: Assert `ifdef_already_satisfied' failed in frontends/verilog/preproc.cc:758.
SBY 22:42:58 [csrw_mcycle_ch0] base: finished (returncode=1)
SBY 22:42:58 [csrw_mcycle_ch0] base: job failed. ERROR.

SBY 22:42:56 [cover] base: starting process "cd cover/src; yosys -ql ../model/design.log ../model/design.ys"
SBY 22:42:56 [cover] base: ERROR: Module `picorv32' referenced in module `rvfi_wrapper' in cell `uut' does not have a port named 'rvfi_csr_minstret_wdata'.
SBY 22:42:56 [cover] base: finished (returncode=1)
SBY 22:42:56 [cover] base: job failed. ERROR.

What would my problem be in this situation?
Peter Gu

For the TOK_RAND error, see PR #45

Thanks for your quick reply, I'll have a try!


Pallidrome checker

Project title
Palindrome checker
Project Description
The idea behind this project
Palindromes are those numbers that give the same result whether you read from left or right.
How does it work
We have a container with a field and button fill any word number there and check whether it is palindrome or not.
Stack:
And in order to tick the check box just put x inside them for example - [x] like this. Please delete options that are not relevant.

[x] Html
[x] CSS
[x] JavaScript

for more details please refer to the attached images.

https://user-images.githubusercontent.com/73521123/170865593-4cf3d11f-d037-44e7-ad30-4b9a7b55152d.mp4

@AyushSingh22 sir plz assign me


More efficient mime type parsing in server SDKs; avoid mime crate

We're currently creating one OnceCell per operation backing a static mime::Mime type for the operation's expected (if present) client Accept header value, only to then decompose it into type + subtype and perform a case-insensitive string comparison check against the actual incoming Accept header value.
It would be more efficient to directly compare &strs and avoid incurring the atomic read.
A simpler, more efficient, and type-safe approach would be to directly switch to something like mediatype, which is const-constructible and zero-copy. Note that mime is not actively maintained.
See https://github.com/awslabs/smithy-rs/pull/2607#discussion_r1173687692 and https://github.com/awslabs/smithy-rs/pull/2629, the PR where we started using OnceCells for this.

https://github.com/awslabs/smithy-rs/pull/2629 already uses const in the following cases https://github.com/awslabs/smithy-rs/pull/2629/files#diff-da9c47cae3f2f75fc01b3625ee430f56f2f495870a77302c3c148e98f7341bd4R198-R200.
The migration to a const constructable struct would follow the same pattern.

https://github.com/hyperium/mime/issues/153 proposes to solve these issues in mime and actively maintain the crate. We work with other of their crates, if it's worth seeing what the proposal will look like and possibly continue with mime


Implicit conversion from registry to view<T...>

I've recently been playing around with a wrapper around the registry, as discussed elsewhere (on Discord etc), which prevents the user from directly accessing the registry, instead offering functions with the same signature as registry::view, with some static_asserts to ensure additional safety/constraints, particularly in the context of threading.
This approach exposed the need for utility functions to be able to accept either a registry& or one of these filters. Because the registry functions are templated, inheritance won't really work.
This made me realize - what if functions simply accepted views as arguments? It allows the functions to remain non-templated, and can conceptually accept any type as long as it can convert to a view.
// In some common header
using Entity = entt::entity;

template<typename... ComponentTypes>
using View = entt::basic_view<Entity, entt::exclude_t<>, ComponentTypes...>;

// Function decl example
SpaceID EntityToSpaceID(const View<const IDComponent>& view, Entity entity);

The above function can be called with anything that converts to entt view.
I'm sure I missed some edge cases, const, and handling of exclude lists, but this quick addition to the registry was a massive usability improvement in this scenario.
template<typename... Component>
operator basic_view<entity, exclude_t<>, Component...>() {
	return view<Component...>();
}

I'm not sure if it is actually possible to implicitly convert to a view that specifies an exclude list, or if that's common enough as a use-case to bother. But imagine the previous function decl was more like this (I think this is how you'd write it).
SpaceID EntityToSpaceID(const entt::basic_view<entt::entity, entt::exclude_t<Unwanted>, const IDComponent>& view, Entity entity);

The implicit conversion wouldn't work. But... who really needs that? I can imagine instead performing the exclude inside the function, maybe using the | operator to combine in an exclude-based view?
Thoughts?

Isn't it the same as entt::as_view?

Ping. 😄
I think as_view already does what you want, so I'm tempted to close the issue.
Any comment or feedback? Here it is an example from the tests:
([](entt::view<entt::exclude_t<int>, const char, double>) {})(entt::as_view{registry});

As you can see, it create an object that is convertible to a view and that also supports exclusion lists.
It supports both const and non-const registries. The constness is encoded in the template parameter.

Interesting. as_view could work. It would simplify things if the registry itself could be converted implicitly - you can then start using various registry wrappers, mock registries, whatever, and let each of them construct the view however they need in order to do the implicit conversion.
Whereas right now, if you're using template code that takes any registry-like type that can produce/convert to a view, you need to somehow do a constexpr if to only use entt::as_view for the registry, and some other conversion function for a different type. But if implicit conversions worked, it doesn't matter. You can just use whatever type it is and it will convert to a view. From an API usage PoV, at least on the user side, the implicit seems much simpler. Are there any dangers or downsides to that?

I don't remember why the conversion has itw own tool and isn't part of the registry API.
My gut feeling is that it was a design choice, mainly because I don't yet feel that a registry should convert to a view or anything else.
Not sure I get exactly what the problem is with it. It seems fine to me, but I've also never inherited from a registry, so probably I'm missing something here?

It's not so much literal inheritance, but rather; it is nice to be able to use wrapped registries and registries interchangeably. But if it is required to use entt::as_view for constructing a view from a registry (which is really all the operator does), then you can't use them interchangeably.
The syntax/names are probably not right, but something like this:
void Foo(const view<A, B>& view)
{

}

template<typename RegistryLike>
void Bar(RegistryLike& reg)
{
	// if we have the operator - anything that can make a view can do so easily
	Bar(reg);

	//////////////////////////////////////////////////////////

	// if we don't have the operator - we need to handle registry special case
	if constexpr (std::is_same_v<reg, entt::registry>)
	{
		Bar(entt::as_view(reg));
	}
	else
	{
		// User-created registry wrapper can easily build a view
		Bar(reg);
	}
}

But I also feel like it simplifies trying to construct functionality out of callable/reusable functions. Ignoring the above advantages (both in template code and in non-template code where it is at least a bit simpler instead of having to use as_view) - it makes it 'nicer' imo to build your functionality out of functions which accept views - the registry is just another view-creating object that you can use, alongside whatever wrappers you need to control access on top of that.
void DoStuffA(const view<FooComponent, A>& view) {}
//etc ...
void DoStuffZ(const view<FooComponent, Z, BarComponent>& view) {}

// Some user-code customization/wrapper for using registries
// - could be for guarding threaded access, could be in some test framework, etc
struct UserRegistryWrapper
{
	// ...
	// has wrapped versions of view, get, etc
	// can also construct a view implicitly
	// ...

private:
	Registry* reg;
}

// User code is easy - we just construct a view whenever it's needed
void Update(const Registry& reg)
{
	DoStuffA(reg);

	// other code

	DoStuffB(reg);
	DoStuffC(reg);

	FOR thread in threads:
		// Wrap registry in some thread-guarding wrapper for this example
		UserRegistryWrapper wrapped{reg};

		DoStuffD(wrapped);
		DoStuffE(wrapped);

		// other code

		DoStuffF(wrapped);

	DoStuffZ(reg);
}

If RegistryLike inherits from registry, as_view works just fine. I guess the problem is that you wrap it but don't really expose it to the user? Maybe an operator registry &() can solve the problem without changing the library. Or we could make as_view work with registry-like types rather than registry-only types.
I don't like the idea of adding conversion operators to the registry though. It seems... odd to me.  Let me think a little to it or try to convince me with better arguments. 🙂

What about specialising as_view() for your types and (probably) using it through ADL?

It's not a plain function @Innokentiy-Alaytsev so ADL may be a pain in this case.
As for the specialization, it may work but it only has the entity type as template parameter at the moment.

Is transforming struct as_view to struct as_view_t and declaring as_view as a function an option?

I don't think so, because as_view deduces the type of the view by means of a templated conversion operator.
If we turned it in a function, we would has to specify explictly the type of the view and this defeats completely its purpose.

I'm wondering if I should close this issue or not.
I won't add conversion functions to the registry and I didn't understand if the request became to do something for as_view/as_group.
At a first glance, the current design supports the vast majority of cases. Imho there is nothing to do here. Any feedback?

My main question is; there must be some big downsides to this idea, right? I'm curious what they are, in case I'm exposing myself to some big risk by adding it in a fork. It feels like a good usability improvement to me, like in the example code proposed above. But if there is strong opposition, so be it. I'd just like to know why :)

As I said, my gut feeling is that these conversion operators shouldn't be part of the registry, that is also why an as_view utility exists. Also, if the goal is to inherit from a registry to set constraints on types, it wouldn't really help. Instead, it would be a perfect way to get around them. No?
Anyway, other than that and probably more important reason, I'm thinking of changing the way we construct views because of other feature I want to introduce. Briefly, it will be view<T...> my_view{tegistry}. Shouldn't it solve your problem at the root?

@BrodyHiggerson if you agree, I'd close the issue. The reason is simple (and in the TODO list too). 🙂
It's a matter of time, but I'll flip the view creation on its head and make views receive a registry to their constructor.
So, you don't really need a conversion operator and you'll be able to assign a registry to a view on construction in any case.

I guess it's a - yes, please, do it. 😄
Feel free to reopen if I'm wrong. 😉


Version 0.0.6 returns wrong result

If I use the following example:
lag = 1
influence = 0.0
threshold = 1.0

data = {1, 1, 15, 1, 1}

Then 0.0.6 returns all 4 points as Positive signal (1, 1, 1, 1), while version 0.0.5 returns correctly (0, 1, 0, 0).

Thanks. I took a quick look.
At first glance, it looks like a typo on line 165 in this snippet:
https://github.com/MicahParks/peakdetect/blob/ff727a8979109aac7f381f35c439f88512c199f6/peakdetect.go#L156-L165
Should likely be:
return m.prevMean, math.Sqrt(m.prevVariance)

This would affect all use cases with a lag of 1.
I need to look around more and make sure before pushing and tagging a change.

@dangkhoasdc would you review the code change in #5?

@dangkhoasdc thank you for reviewing that. Please use v0.1.0.
I've published a module retraction for v0.0.6.


Suggest list of commands for Yii 3.0 migration tool.

[x] generate/create - Creates a new migration.
[x] database/list - List all tables from database.
[x] migrate/up - Upgrades the application by applying new migrations.
[x] migrate/down - Downgrades the application by reverting old migrations.
[ ] migrate/fresh - Drops all tables and related constraints. Starts the migration from the beginning.
[x] migrate/history - Displays the migration history.
[x] migrate/redo - Redoes the last few migrations.

You can suggest more commands.

I am assuming migrate/create would work similar to yii2 and provide a skeleton based on parameters like 'create_mytable_table'.
bizley/yii2-migration has useful command that pulls schema from database and creates skeleton. A command like migrate/createfrom might be appropriate.
Mike B

I am assuming migrate/create would work similar to yii2 and provide a skeleton based on parameters like 'create_mytable_table'.
bizley/yii2-migration has useful command that pulls schema from database and creates skeleton. A command like migrate/createfrom might be appropriate.
Mike B

I already have it working, the migration will be created from the database, it will be added once we have the base ready.


Make core extendable by making classes and initializations configurable

I started to create a parallel implementation of Command/Group/etc. to support asyncio (#85) and some other features I need, one of the problems I had is that even if I can instruct cls=MyCommand in some calls, internally the modules use hardcoded classes in many cases.
The idea of the PR is not to support directly asyncio, but to open to the possibility of doing so. Comments are welcome.

Is there any way to push this forward?

Is there a list of such classes? Other than the obvious _textwrap.TextWrapper of #1218. Perhaps a list of use cases would be useful in guiding this:

expose  _textwrap.TextWrapper for fill when paragraph contains lists (#1218).
TBD

Is there any chance to push this forward ?

To answer @sirosen, in general, the idea here is not to add any new behavior, but to make it easier for custom classes to persist through the stack. Right now, @click.command(cls=CustomCommand) can't actually customize a lot of behavior consistently because specific classes are hard-coded rather than using super().
As far as I can tell, command_class isn't doing anything here that couldn't be replaced with super(). For now, I'll remove that. Additionally, there are many more places where super() can be used. I'll add those.

Added a Context.formatter_class attribute that will be used by Context.make_formatter.
I'm considering what the Group.command and Group.group decorators should do. group could set cls=type(self) by default, so sub-groups would use the same type. However, I'm not sure how this would affect existing code. For example, Flask has a top-level FlaskGroup, but I don't think it would make sense for it to create sub-groups of that type. Bringing back Group.command_class for use by Group.command might make sense, to have a group with all commands behaving consistently. In that case, we could also add Group.group_class, but that might be a little weird. A custom group class could still customize these by overriding the decorator methods to set the cls argument themselves, it's just a little more manual.

Decided to add Group.command_class and Group.group_class. group_class can be set to the special value type to indicate that it should use its own type. That way a custom group can continue creating custom groups, without needing to set up a circular reference (CustomGroup.group_class = CustomGroup).

Added tests and a longer changelog entry.
formatter_class on its own is pretty useless because HelpFormatter doesn't have a good API to override right now.


Make sure siibra-api fail gracefully if KG is down and data is not cached.

relevant trello card: https://trello.com/c/qMbrbBPX/66-make-sure-all-components-fail-gracefully-if-kg-is-down-and-data-is-not-cached

This Issue is very important.
Especially after today. KG still responses with HTTP 500.
We need to make siibra more resilient in such cases.


Bazel query failed should not swallow fatal dependency tree resolution errors but print them and terminate ibazel startup, instead of being ignored but then not working

Describe the bug
#641 related bug, this one specifically re:

It also seems weird (to me) that those Bazel query failed problems don't cause ibazel to "give up" and fail with a non-0 exit code.

iBazel [12:55PM]: Querying for files to watch...
iBazel [12:55PM]: Bazel query failed: exit status 7
iBazel [12:55PM]: Error querying for source files: exit status 7
iBazel [12:55PM]: Bazel query failed: exit status 7
iBazel [12:55PM]: Error querying for source files: exit status 7
iBazel [12:55PM]: Testing //...
Loading:
(...)

Reproduction instructions
As per #641.
Expected behavior
It should have "bailed out early" in the case of such a problem?
Actual behavior
It pretended it worked and was waiting for changes, when really it wasn't.

So the root cause for iBazel [12:55PM]: Bazel query failed: exit status 7 and iBazel [12:55PM]: Error querying for source files: exit status 7 in my particular case was this one, however this issue isn't about that in particular, but this problem more generally; perhaps when such "internal" Bazel queries fail, it could not just "swallow" them as it currently seemt to be doing, but print them and terminate ibazel startup, instead of being ignored but then not working?


Authentication failed

Google authentication does not work anymore.

@kokoon thanks for opening this issue. Should be resolved with version 1.1.3 which I just released. More info about auth available in readme https://github.com/zigomir/transync#google-drive-oauth
You'll need to click the link from terminal and paste access token back into it.


[Question] Add CommonJs support

Are there any plans to add support for commonJs?

What is your use case? Which bundler, etc? I'm trying to move away from it, because pure esm means Bun compat, etc

This was my case:

monorepo with react-native and firebase functions (plus project packages)
firebase functions importing packages without extension and compiled using tsc (with commonjs)
packages created in all versions (cjs and esm) and using the library with a regular import (import { HDKey } from 'ed25519-keygen/hdkey')
In firebase functions if I use commonjs this package is not supported so I switched to esm but I was forced to use "file extensions in imports" otherwise I will have [ERR_UNSUPPORTED_DIR_IMPORT]: Directory import error.

For now, I had to add a dynamic import which is accepted but since is begin used in more than one place is kind of annoying to add the dynamic import on each function using it.
It would be much easier to have a commonjs to avoid changing the code too much or use some weird babel transformation.

So, from what I understand, firebase doesn't support ed25519-keygen/hdkey import and requires appending .js.

For now, I had to add a dynamic import which is accepted

Why a dynamic import? Can you statically import ed25519-keygen/hdkey.js?

Yes, when functions analyze the code doesn't allow you to upload it without path extensions (static import and using esm in the project) or dynamic import.
I am not using path extensions because I would have to change it everywhere to make it consistent through the whole project and is a bit risky to do it now, so I chose the dynamic import. Could also be the case where another library is using it, which will force the use of esm or path extensions even more difficult to deal with, I think in that case a patch would be the only viable option to avoid adding path extensions.

ed25519-keygen/hdkey is available because it's specified in package.json import map (exports field).
If firebase doesn't support import maps, you should use hdkey.js. Just because you don't want to use one extension (there is no need to change all of them "for consistency"), it doesn't mean keygen doesn't work.

I didn't say it was not working, I said it would be easier for this case to add support to commonjs. The "consistency" is a matter of perspective but in any case, path extension or dynamic import, it works, and great job btw.


Set jest time zone, otherwise the test will fail in other time zones

Description

Checklist

[ ] I have updated tests where applicable.
[ ] I have added an entry to the CHANGELOG.

Thanks! 🍰


PARQUET-1998: [C++] Implement LZ4_RAW compression

9782

 Quality gate: Passed
 Everything looks good
Details


Update to docs, fixed typo.

Changed typo in docs, 'librarires to libraries'.
Thanks for the project.

Thanks!


problem with unzipping

I'm trying to use this plugin in simple application. I have my zip file in known directory (cdvfile://localhost/persistent/content/ft-p.zip) and trying to extract it to the same folder (cdvfile://localhost/persistent/content). I'm using this command :
zip.unzip('cdvfile://localhost/persistent/content/ft-p.zip', 'cdvfile://localhost/persistent/content', success)
and nothing is happening ... no extraction, no messages, no errors ...
I'm running this app using "phonegap serve" and PhoneGap Developer App. I'm testing it using simple application from here : http://weblogs.asp.net/soever/cordova-file-transfer-unzip-and-present-adventures.
Any idea?

Did you have much luck getting it to work Coobitus? We've been trying to use the zip plugin as of recent and we're getting the same uncaught reference error..


Disable mark DNS record as proxied by default

I think it makes more sense to leave the proxied unchanged, using
current config in the record itself.

already done in the master branch and latest release


Doesn't play well with rollup-plugin-node-resolve

I am trying to use both rollup-plugin-node-resolve and rollup-plugin-alias to allow me to do something like this:
// rollup.config.js
export default {
  plugins: [
    resolve(),
    alias({
      '~': './'
    })
  ]
}

// somefile.js
import dom from '~/dom';

Where the 'dom' directory contains an 'index.js' file that I'd like to be resolved automatically.  However, it's failing for me, saying that './dom.js' could not be resolved.
When I change the import line to import dom from './dom';, it resolves the index.js file correctly.
This indicates to me that rollup-plugin-alias is not connecting with rollup-plugin-node-resolve to grab the index file correctly.
I'm hoping this isn't a bug and that I'm just missing something, but in case I'm not I thought I'd point this out, as I'm sure it must be a common scenario.

in my project, I have resolve after alias and have it working.


VLAD Parameters

Hi,
I am trying to look at the VLAD parameters like w, b, c, ie. the centroid of the
cluster etc. in as in the NetVLAD paper.
I downloaded the best model:
load('vd16_pitts30k_conv5_3_vlad_preL2_intra_white.mat')

display( sprintf( '# layers = %d', size(net.layers,2) ) )

for i=1:size(net.layers,2)
    mat = cell2mat(net.layers(i));

    if isfield( mat, 'name' )
        ty = getfield( mat, 'type' ) ;
        name = getfield( mat, 'name' ) ;
        display( sprintf('%d: %s : %s', i, ty, name ) );
    end
end

Running this script gave:
# layers = 35
1: conv : conv1_1
2: relu : relu1_1
3: conv : conv1_2
4: pool : pool1
5: relu : relu1_2
6: conv : conv2_1
7: relu : relu2_1
8: conv : conv2_2
9: pool : pool2
10: relu : relu2_2
11: conv : conv3_1
12: relu : relu3_1
13: conv : conv3_2
14: relu : relu3_2
15: conv : conv3_3
16: pool : pool3
17: relu : relu3_3
18: conv : conv4_1
19: relu : relu4_1
20: conv : conv4_2
21: relu : relu4_2
22: conv : conv4_3
23: pool : pool4
24: relu : relu4_3
25: conv : conv5_1
26: relu : relu5_1
27: conv : conv5_2
28: relu : relu5_2
29: conv : conv5_3
30: normalize : preL2
32: normalize : vlad:intranorm
34: conv : WPCA

So, I tried to look at layer 30 and 32, but I fail to see the learned weights.
I do see the weights for other layers though.
struct with fields:
>>  cell2mat( net.layers(30) )
        type: 'normalize'
        name: 'preL2'
       param: [1024 1.0000e-12 1 0.5000]
    precious: 0

>>  cell2mat( net.layers(32) )
        type: 'normalize'
        name: 'vlad:intranorm'
       param: [1024 1.0000e-12 1 0.5000]
    precious: 0

Am I missing something?

Yes - NetVLAD is not a standard layer so it is not included in MatConvNet by default. It is a custom layer implemented as a class, so you are missing one of these two things (or both):

You need to download the NetVLAD code and make sure it is in the path. Otherwise Matlab won't know how to load the objects from the mat file and will leave the custom layers empty.

Because these layers are implemented as classes, they are not struct's but objects. So your code won't work -not sure what will cell2mat do, and isfield only works for struct's and returns false otherwise https://www.mathworks.com/help/matlab/ref/isfield.html , use isprop for objects https://www.mathworks.com/help/matlab/ref/isprop.html . As far as I know all MatConvNet layers have .name so you don't need to check for that, you probably checked because you found some empty layers due to (1.).

So, where are the weights for the netvlad layer stored? I wish to access those.

If you download the NetVLAD code and make sure it is in the path, loading the network from the mat file will work instead of producing some empty layers. Then you can examine the loaded NetVLAD layer and access it's weights. E.g. net.layers{31}.weights

I run your demo code, computeRepresentation.m and attempt to look at the weights.
under vlad:core I see only 2 weights, both are of dimensions  (1, 1, 512, 64). But I was expecting to see 3 sets of weights for the NetVLAD layer as mentioned in your netvlad paper.
Am correct in assuming that the bias is not trained in this case?

Yes, layerVLAD.m code is without bias while layerVLADv2.m  is with bias (we mentioned on arXiv appendix that we fix the bias, but it seems we accidentally dropped it from the v3 version of the paper). For the setting in the paper, there is not much difference between the two, and the reason is that input features are L2 normalized in which case you can do the assignment with a simple scalar product and don't need bias (e.g. see the assignment equation 2, expand it and assume |xi|=1 and |ck|=1, then you don't get any bias terms as they all cancel out). If they were not L2 normalized, the two are not similar and layerVLADv2 should probably be used (but this is just theory, I don't know if it is needed in practice).

Ok, I get your point. How about the BatchNormalization? Is this network finetuned from the ImageNet VGG without batchnorm updates?

As you can see from your list of layers - there are no batch norm layers in the original VGG network


Add elasticsearch support to store the assessment reports.

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@5ec8f9f). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #28   +/-   ##
=======================================
  Coverage        ?   71.42%
=======================================
  Files           ?        2
  Lines           ?      189
  Branches        ?        0
=======================================
  Hits            ?      135
  Misses          ?       44
  Partials        ?       10

Flag
Coverage Δ

unittests
71.42% <0.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Markdown Output support

Would be awesome if one of the output options was markdown so I could add as a build step and include in my repo.

Release v4.3.0 with this feature, but there is a little difference from this proposal.
Please pull request if you have some requests after you check that.
I'm closing this issue.


make this repo the parent repo

Just a quick note to let you know that it's possible to file a support issue with github to make this repo the parent repo. Thanks.

Oh, thank you :)

Submitted a request finally :)


Bug with valid hole fit substitutions: they do not respect scope!

Here's the part of my stream where this happened live:
https://youtu.be/lfrk0wyZHvg?t=2311
(don't forget to like and subscribe /s)
What happens is that it suggests lookup, whereas the IntMap module was imported as a qualified, meaning that it has to be IM.lookup. It works correctly in the raw GHC output, but not in GHCIDE itself.

Hi, thanks for report this with a live demo included!
I think that bug was reported in #726 so i am gonna close this one, mentioned video in the original one.
Feel free to reopen if that is not the case.


Clean up prose

Cleaning up prose in preparation for a workshop

including default markdown formatting on save from VSCode


one element in data source

improvment: don't slide when only one element is in data source

feature will be released today in the evening


Process for matching PMIDS to submissions needs to include author name

Process for matching PMIDs to submissions on the "Add Study" page needs improvements. Currently matching is only done on title, and this produces a low score if the title of the manuscript has changed substantially during publication. The curator adding the PMIDs then has to search the results manually by author name to find a match. Author name should be added to the automatic matching algorithm. This will need testing with several examples to determine whether it should be included in the initial screen, or secondarily to title.

At the same time there are several bugs in this page (strange error messages etc) that could be fixed. @buniello could you please note these here or link to relevant tickets?

An easy fix for this could be to have two sets of results, one matching on title and the other one by first author

discussed in sprint meeting 21/4/21