"Failed to connect" error

I'm trying to connect my BenQ W700 projector via this integration and keep getting a "Failed to connect" error.
In the logs all I see is Failed to get projector command prompt, is your projector properly connected? (Looks like this is the source of the error Source: custom_components/benqprojector/config_flow.py:157)
I have tested using minicom and I'm able to communicate with the projector (on, off, modelname), I've made sure the baud rate is the same on the projector as I'm entering here, and I've tested with the projector both on and off already.
The one thing that sticks out to me is that it's timing out very quickly - almost immediately after clicking "Submit" when adding the projector, I get the above error.
Let me know if there's any other info I can provide to help troubleshoot this and thanks in advance for any help!

Can you show me a screenshot of the minicom session?

Sure thing:

I also tested using benqprojector.py directly and got this

Ok, minicom output looks exactly like it should
Can you add the --debug argument to the benqprojector CLI?

Sorry, getting back to the minicom output, it actually doesn't look like it should. I'm expecting to see *POW=ON# and *MODELNAME=W700# returned on the commands

Here's the debug output:

Minicom does actually show *POW=ON# response but for whatever reason in my terminal that gets overwritten when I type a new line (here it is on it's own):

Response to *modelname=?# is however just W700
Thanks for the quick replies!

Is the warning message consistent when you run the benqprojector CLI command a couple of times?

It's now slightly different than that first run using --debug but is now consistent:

Are you sure the baudrate is correct? You can find the baudrate in the on screen menu of your projector

Yes, it's definitely correct

Can you set it higher and see if that helps? Maybe there is indeed a timeout in the code that exceeds with low baud rates. I run my serial connection on 115200 baud

Yeah, 115200 is what I had mine set to originally, as well. I dropped it down based on some feedback I got elsewhere when I was just testing the cable. Tested again at 115200 and at 57600 a few times and unfortunately still no dice:

Could you try from a different machine?

Using benqprojector CLI? Yeah, I can give that a shot from my laptop tomorrow. I tested the cable and projector connection using my laptop & minicom first so I know that part works. Thanks for all the help!

Unfortunately, benqprojector CLI also doesn't work from my laptop (tried a few different commands - the first two are with the projector off, the rest the projector was on). As mentioned earlier, I am able to connect to the projector using minicom or screen on this machine.

Ok, I think the problem here is the \x00 after the prompt which I haven't seen before in other BenQ projectors. I need to think about this.


uninitialized constant RspecApiDocumentation::Writers::JsonWriter (NameError)

System info:

Ruby 2.5.1
Rails 5.2.0
Rspec 3.7.0
RspecApiDocumentation 5.1.0

I have my specs set up in spec/acceptance, as required.  When I run bundle exec rake docs:generate, I get the following error:
/Users/rachel/.rvm/gems/ruby-2.5.1/gems/bootsnap-1.3.0/lib/bootsnap/load_path_cache/core_ext/active_support.rb:53:in `block in load_missing_constant': uninitialized constant RspecApiDocumentation::Writers::JsonWriter (NameError)

My configuration is set up as described in rails_helper.rb.  This only occurs with trying to output as JSON - outputting as a different format, like HTML, works fine.  I'm guessing it's not resolving the names correctly - it's looking for JsonWriter, not JSONWriter, as listed in the gem.

This is related to PR #359

Note: it also affects the :open_api format (since it's JSON based).

I am seeing this when cloning the repository and change
#example/spec/acceptance_helper.rb
..
config.format = [:open_api]
...

to config.format=[:json]

Experiencing this issue as well.

rspec_api_documentation/api_documentation.rb:35:in `const_get': uninitialized constant RspecApiDocumentation::Writers::JsonWriter (NameError)
The same for me too !

I see the same issue too

I linked to the issue that probably created this above.  If you are experiencing this check that out and see if it helps.  My guess is there was some change between Ruby/Rails versions that flipped how this constant was interpreted and we will need to handle it with a check or alias the constant.
If someone experiencing this can put up a sample app with the problem and pinned to the versions they are experiencing it with via a .ruby-version and Gemfile.lock maybe we can narrow it down.

solution: change config.format = :json to config.format = :JSON.

as @bf4  mention before this fix the issue for me.
Here is my  Gemfile.lock

I merged #399, can everyone update to the git master branch and let me know if it solves your problems? If it does, I'll do a new release on rubygems.

It works, thanks!

I can confirm that it works on master.

6.1.0 is out and has #399 in it.


fix: handles description null issue

Description
Extension: Github Stars
This update addresses an issue the extension was not working becuase for some users.
Changes Implemented:

Handed the case where description was null for a repository.

Fixes #10008
Screencast

Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

@pernielsentikaer where can I see these credits? :)


Error while building Mxnet from source on MacOS Sierra

Description
I am unable to build mxnet from source in a new conda environment on my Mac based on this documentation - https://mxnet.incubator.apache.org/install/index.html1
While building the script errors out in the middle with the error message -
Error: homebrew/science was deprecated. This tap is now empty as all its formulae were migrated.
The source repo for homebrew/science has been deprecated ( See here - https://github.com/Homebrew/homebrew-science/issues/6365). But the script in mxnet documentation still points to it. We need an alternate source to fetch all the libraries and other packages that we were previously fetching from homebrew/science.
Environment info (Required)
----------Python Info----------
('Version      :', '2.7.14')
('Compiler     :', 'GCC 4.2.1 Compatible Apple LLVM 6.1.0 (clang-602.0.53)')
('Build        :', ('default', 'Dec 25 2017 01:18:54'))
('Arch         :', ('64bit', ''))
------------Pip Info-----------
('Version      :', '9.0.1')
('Directory    :', '/Users/aanirud/anaconda2/envs/onnx/lib/python2.7/site-packages/pip')
----------MXNet Info-----------
('Version      :', '1.0.0')
('Directory    :', '/Users/aanirud/anaconda2/envs/onnx/lib/python2.7/site-packages/mxnet')
('Commit Hash   :', '25720d0e3c29232a37e2650f3ba3a2454f9367bb')
----------System Info----------
('Platform     :', 'Darwin-16.7.0-x86_64-i386-64bit')
('system       :', 'Darwin')
('node         :', '8c85904b0bf4.ant.amazon.com')
('release      :', '16.7.0')
('version      :', 'Darwin Kernel Version 16.7.0: Thu Jan 11 22:59:40 PST 2018; root:xnu-3789.73.8~1/RELEASE_X86_64')
----------Hardware Info----------
('machine      :', 'x86_64')
('processor    :', 'i386')
machdep.cpu.extfeatures: SYSCALL XD 1GBPAGE EM64T LAHF LZCNT PREFETCHW RDTSCP TSCI
machdep.cpu.leaf7_features: SMEP ERMS RDWRFSGS TSC_THREAD_OFFSET BMI1 HLE AVX2 BMI2 INVPCID RTM SMAP RDSEED ADX IPT SGX FPU_CSDS MPX CLFSOPT
machdep.cpu.features: FPU VME DE PSE TSC MSR PAE MCE CX8 APIC SEP MTRR PGE MCA CMOV PAT PSE36 CLFSH DS ACPI MMX FXSR SSE SSE2 SS HTT TM PBE SSE3 PCLMULQDQ DTES64 MON DSCPL VMX SMX EST TM2 SSSE3 FMA CX16 TPR PDCM SSE4.1 SSE4.2 x2APIC MOVBE POPCNT AES PCID XSAVE OSXSAVE SEGLIM64 TSCTMR AVX1.0 RDRAND F16C
machdep.cpu.brand_string: Intel(R) Core(TM) i7-7660U CPU @ 2.50GHz
----------Network Test----------
Setting timeout: 10
Timing for MXNet: https://github.com/apache/incubator-mxnet, DNS: 0.0091 sec, LOAD: 0.4961 sec.
Timing for PYPI: https://pypi.python.org/pypi/pip, DNS: 0.0095 sec, LOAD: 0.2989 sec.
Timing for FashionMNIST: https://apache-mxnet.s3-accelerate.dualstack.amazonaws.com/gluon/dataset/fashion-mnist/train-labels-idx1-ubyte.gz, DNS: 0.0197 sec, LOAD: 0.1999 sec.
Timing for Conda: https://repo.continuum.io/pkgs/free/, DNS: 0.0166 sec, LOAD: 0.0561 sec.
Timing for Gluon Tutorial(en): http://gluon.mxnet.io, DNS: 0.0100 sec, LOAD: 0.0339 sec.
Timing for Gluon Tutorial(cn): https://zh.gluon.ai, DNS: 0.0574 sec, LOAD: 0.1784 sec.
Package used (Python/R/Scala/Julia):
I am using Python 2.7.14
Build info (Required if built from source)
Failing while trying to build from source.
Compiler (gcc/clang/mingw/visual studio):
Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 9.0.0 (clang-9<IP_ADDRESS>)
Target: x86_64-apple-darwin16.7.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin
MXNet commit hash:
b8ae967b3c7b34f0e4b7cb8ac651ae5b282c43e2
Build config:
(Paste the content of config.mk, or the build command.)
Error Message:
Error: homebrew/science was deprecated. This tap is now empty as all its formulae were migrated.
Minimum reproducible example

$ curl -O https://raw.githubusercontent.com/dmlc/mxnet/master/setup-utils/install-mxnet-osx-python.sh
chmod 744 install-mxnet-osx-python.sh
bash install-mxnet-osx-python.sh

Steps to reproduce

Run the above set of commands

What have you tried to solve it?

As mentioned in the source repo for homebrew/science here - https://github.com/Homebrew/homebrew-science/issues/6365 the package has been deprecated, but the script in mxnet documentation still points to it. We need an alternate source to fetch all the libraries and other packages that we were previously fetching from homebrew/science.
I had also started a thread on the discussion forum here, but got no reply - https://discuss.mxnet.io/t/mxnet-source-build-on-macos-sierra/670

@anirudhacharya Refer to #9903 for getting a fix to this issue. I will try to submit a PR for the same.


feat(day10): implement solutions

This pull request introduces the solutions for day 10. As part of this review, the links in the README should be validated.

Codecov Report

Merging #1 (1f25471) into main (f7d7621) will decrease coverage by 0.44%.
The diff coverage is 94.94%.

@@            Coverage Diff             @@
##             main       #1      +/-   ##
==========================================
- Coverage   97.99%   97.54%   -0.45%
==========================================
  Files          17       19       +2
  Lines        1145     1343     +198
==========================================
+ Hits         1122     1310     +188
- Misses         23       33      +10

Impacted Files
Coverage Δ

Sources/Library/Syntax.swift
86.66% <86.66%> (ø)

Tests/LibraryTests/SyntaxTests.swift
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


conflict of v2.7-branch with main:

Hi mates,
I am trying to pull v2.7-branch but it shows conflicts with many files and resultantly pull is not successful. I downloaded fresh repo from zephyr and it is definitely 2.7.99 (development version). But I want to work with v2.7.
Somebody can help me please comment to sort out this issue to work with v2.7.
regards,
Tahir

You cannot pull to an existing branch, this is akin to merging the two branches. What you want to do is to switch to another branch, which can be done with the git checkout feature.
Delete your downloaded repository folder and clone a new one.
You can either checkout to the 2.7 branch, which is still in development.
git checkout v2.7-branch
Or if you want a static 2.7 you should checkout to the 2.7.0 tag (a tag is a shortcut to a certain commit).
git checkout v2.7.0

thank you very much for your kind advice


startGeofences() missing from TypeScript definitions

Your Environment

Plugin version: 1.6.0
Platform: iOS
OS version: 10.3.2
Device manufacturer / model: iPhone SE
Nativescript version (tns info): 3.0
Plugin config

Expected Behavior
BackgroundGeolocation.startGeofences() should be available.
Actual Behavior
BackgroundGeolocation.startGeofences() is not in the TypeScript definitions, and it doesn't appear in background-geolocation.ios.ts where I expected it to be with the rest of the geofencing methods.  Instead, startBackgroundTask is in the slot it should appear in.
Steps to Reproduce
        if (!this._state.enabled) {
            BackgroundGeolocation.startGeofences(state => {
                this._state = state;
                console.log('- Geofence-only monitoring started', state.trackingMode);
            });
        }

Code assistance in Visual Studio Code throws a TypeScript error because the method doesn't exist, and type definitions don't have startGeofences anywhere.  Searching through the repo, I don't find expected references to it in the Javascript code either (but do see it in the iOS code).
When ignoring the TypeScript error and running anyways, it indeed appears the method isn't present:
CONSOLE ERROR file:///app/tns_modules/@angular/core/./bundles/core.umd.js:1091:24: ERROR Error: Uncaught (in promise): TypeError: nativescript_background_g
eolocation_lt_1.BackgroundGeolocation.startGeofences is not a function. (In 'nativescript_background_geolocation_lt_1.BackgroundGeolocation.startGeofences'
, 'nativescript_background_geolocation_lt_1.BackgroundGeolocation.startGeofences' is undefined)

Context
I believe this is an error and the method needs to be added to background-geolocation.ios.ts, but can't confirm as maybe I'm missing something.

This method def could be missing.  I'll look into it next week (holiday weekend here).

Thanks.
In the mean time, I worked around it by calling into the library directly if anyone needs geofences before its exposed publicly:
BackgroundGeolocation.getLocationManager().startGeofences();

Fixed in 1.7.0.  See #87


Add methods to allow client read/write requests with externally managed arrays to reduce allocation.

Good change, merged.


[Android] "No instrumentation found for" after executing tests on BrowserStack

Steps to reproduce
Hi,
I followed the guide from the documentation and everything was working fine when I was running patrol run locally, but when I uploaded my app and test-suite from Azure DevOps to BrowserStack tests were not executed.

I have an app with flavor and I defined it in pubspec.yaml file to don't have to pass the flavor argument into commands
I have 'testInstrumentationRunner "pl.leancode.patrol.BrowserstackPatrolJUnitRunner"'
It's a monorepo project with 'melos'
To build the app on CI/CD I run 'flutter build apk --config-only' and 'patrol build android --verbose'
Then I used BrowserStack API to successfully upload the app
'{"app_name":"app-dev-debug.apk","app_url":"bs://a4777a6bab1ac720da6bd61f994590608fdea74f","app_version":"3.0.0","app_id":"a4777a6bab1ac720da6bd61f994590608fdea74f","uploaded_at":"2024-02-08 14:15:33 UTC","expiry":"2024-03-09 14:15:33 UTC","custom_id":"mobile_app_3.0.0_17644","shareable_id":"***/mobile_app_3.0.0_17644"}'

and test-suite:
{"test_suite_name":"app-dev-debug-androidTest.apk","test_suite_url":"bs://4b1d08d6b09728e78574f3e1062ac6b472c861ab","test_suite_id":"4b1d08d6b09728e78574f3e1062ac6b472c861ab","uploaded_at":"2024-02-08 14:15:35 UTC","expiry":"2024-03-09 14:15:35 UTC","framework":"espresso","custom_id":"mobile_app_test_suite_3.0.0_17644","shareable_id":"***/mobile_app_test_suite_3.0.0_17644"}

and execute it:
{"message":"Success","build_id":"31ee836d148c018098576cb96f8f5decb85d72e5"}
Actual results
Test are not executed:

Logs

Logs
onError: commandError=true message=No instrumentation found for: tapsAround]
Activity manager (activity) commands:

Patrol version
patrol: ^3.5.0
Patrol Doctor output

Patrol Doctor output
Patrol CLI version: 2.6.4
Android:
• Program adb not found (install with `export PATH="$ANDROID_HOME/platform-tools:$PATH"`)
• Env var $ANDROID_HOME set to /usr/local/lib/android/sdk

Flutter Doctor output

Flutter Doctor output
<!-- Replace this line with your logs. Do not remove the backticks! -->

I was able to run the tests on the BrowserStack. Will update this issue with the details after the weekend, to let you update the doc or for future reference of others.

After a long day of trial and error, I analyzed the bs_android script and discovered that I needed to add extra parameters to the body of my curl command, which is responsible for executing the build. I suspect (although I didn't thoroughly test it) that it was primarily due to singleRunnerInvocation=true, which defaults to false. I believe that such details should be documented in the Patrol documentation, as singleRunnerInvocation appears to be a "hidden" parameter in the BrowserStack documentation and seems crucial for ensuring the proper functioning of tests.
By the way, you did a great job with this package! My previous experience with integration tests in Flutter was very painful, but now it's a true pleasure (except for the integration with BrowserStack ;)).

I was paying attention to your issue before I ran a test myself using bs_android, and fortunately, the test was executed well using command bs_android -t .../..._test.dart --debug.
The argument you mention above has default value to true as seen from the BS test report below

As patrol version from my side is still using 2.2.3, I don't know if there's some change in Patrol v3.x or the binary itself.

Hi @farizkah ,
before I checked bs_android script I was using my custom curl commands which were created based on docs mentioned here https://patrol.leancode.co/integrations/browserstack#upload-to-browserstack and as can be checked on the BS documentation mentioned on the Patrol website singleRunnerInvocation is false by default

Of course, it's not a problem if you are using bs_android, because it will automatically set singleRunnerInvocation to true for you, but if you are in the same situation as mine, that you decided to write those curls your own (I already had scripts to upload apps to BrowserStack App Live) you will encounter the same issue as me. That's why I think that this should be mentioned in the documentation.

Ooh right, I understand what you're trying to do.
Thank you for your experience, I'm gaining some valuable insight from you 👍


ImportError: cannot import name 'auto' converting rules to elastalert

Trying to use sigmac elastalert to convert sigma rules to add to elastalert and elasticsearch 7.3
 tools/sigmac -t elastalert -c tools/config/elk-winlogbeat.yml -o /rules/windows/process_creation/powershell_xor_commandline.yml elastalert/xor.yml
but getting the error -
 tools/sigmac -t elastalert -c tools/config/elk-winlogbeat.yml -o /rules/windows/process_creation/powershell_xor_commandline.yml elastalert/xor.yml Traceback (most recent call last):   File "tools/sigmac", line 25, in <module>     from sigma.parser.collection import SigmaCollectionParser   File "/mnt/c/Users/money/Documents/sigma/tools/sigma/parser/collection.py", line 18, in <module>     from .rule import SigmaParser   File "/mnt/c/Users/money/Documents/sigma/tools/sigma/parser/rule.py", line 20, in <module>     from .modifiers import apply_modifiers   File "/mnt/c/Users/money/Documents/sigma/tools/sigma/parser/modifiers/__init__.py", line 1, in <module>     from .discovery import modifiers, apply_modifiers   File "/mnt/c/Users/money/Documents/sigma/tools/sigma/parser/modifiers/discovery.py", line 19, in <module>     from .base import SigmaModifier   File "/mnt/c/Users/money/Documents/sigma/tools/sigma/parser/modifiers/base.py", line 17, in <module>     from enum import Enum, auto ImportError: cannot import name 'auto'
I'm sure it's something silly I'm missing, anyone have any suggestions?
*sorry accidentally closed this before.


Fix Boolean Condition in Where Clause

As of php Boolean value is being converted to either 1 or 0 while Quickbooks does not accept such parameters for Boolean values and will throw error as of value 1/0 is not recognized for such parameter.
I've faced the issue while fetching jobs for the customer.
$this->jobService->query()
        ->where('Job', '=', true)
        ->paginate($this->start, $this->offset)
        ->get();//throws error value 1 is not valid for property 'Job'

I've come up with solution by adding a method for Bool values which fix that.
Would you please add this code in Query.php or let me know if there is any alternate solution.
    public function whereBool($property, $operator, $constraint) {
        if($constraint === true) {
            $this->where[] = $property. $operator . "true";
        } else {
            $this->where[] = $property. $operator . "false";
        }
        return $this;
    }

Or another solution would be
    public function whereTrue($property, $operator) {
        $this->where[] = $property. $operator . "true";
        return $this;
    }

    public function whereFalse($property, $operator) {
        $this->where[] = $property. $operator . "false";
        return $this;
    }

Thanks

Or you could just send in true as a string instead of Boolean.
->where('Job', '=', 'true')
I'm not a fan of automatically correcting user's input under the hood.

@khairulashraff The suggestion does not seem to work as well. Here's what I get in response from QB.
System Failure Error: java.lang.String cannot be cast to java.lang.Boolean

Indeed  you are correct. where() is wrapped in a quote hence will always be a string.
I have added (https://github.com/rangka/quickbooks/commit/4f716f895e9ad90e4b0dc64ed2245a1bc6456780) according to your second suggestion except skipping the operator argument. I don't think there's any less or greater for a boolean value.
Thanks!


Generator + Resume = infinite loop

Code:
var _ = require('highland');

var stream = _(function(push, next) {
  push(null, _.nil);
  next();
});

stream.resume();
// above leads to infinite loop

Is this behaving as expected?
If it is, should the behavior change s.t. the generator is not called again if nil is passed. Presumably downstream streams assume nothing else in coming after nil, so there's no point in calling the generator again.

@vqvu

Right now, I would call this expected behavior, but based on recent discussions on stream termination, I don't see any reason to call the generator again after it passes nil and would agree with the suggested change.
I think thus far it's been left to anyone implementing a generator to maintain this invariant, kind of like how there's a 'standard boilerplate' to implementing a custom .consume. Consume, however, won't fall into this sort of loop.

Yes, this is expected. You're not supposed to call next after a nil. It's one invariant that the code counts on.
Agreed that it's not useful behavior though. Note that this doesn't happen on the 3.0.0 branch.

Also, in my view, calling next or push after nil corresponds to "undefined behavior", so you really should just maintain that invariant. This is true for both consume and generator functions. I wouldn't depend on a certain behavior always happening.

Would you be a opposed to a PR that changes this? I understand it's as designed, but IMO it would lead to more consistency / less unexpected cases for users.

Perhaps calling next/push after nil should throw? Principle of least surprise and all that.


fix(connector-ethereum): cannot serialize bigint

I came across an issue working with the  ledger-connector-ethereum.
Description: In the endpoint InvokeRawWeb3EthMethodV1 , some web3.eth functions are returning objects with BigInt attributes, which causes express Response.json() method to break when stringuifying those objects "TypeError: Do not know how to serialize a BigInt".
My fix was to include code in the endpoint file, to substitute BigInt attributes for their toString() value.
How to reproduce:

checkout to this branch connector-ethereum-bug;
run 'geth-contract-deploy-and-invoke-using-keychain-v1.test.ts'. I've added code (few lines, check last commit in that branch) in this test file that reproduces the error

@petermetz @outSH would you have a look please? If you think there is a more suitable fix, let me know.

LGTM

It seems that it would be better for the fix to be at the connector level because such a connector can be used as a dependency in other plugins, which would still have the serialization issue. cc @eduv09
cc @eduv09

@petermetz @RafaelAPB @outSH I added the replacer in the connector. I saw that we are doing something simmillar in the iroha2 connector. I think this fixes the issue, without creating problems to other plugins.
Check if the commit message is adequate, or if something should be mentioned or removed. Thank you.

@outSH I remember you added this to api-server.ts to handle the same exact scenario, do you think that it stopped working at some point? It seems like this PR shouldn't be necessary on account of what you wrote that should cover all endpoints:
    // Add custom replacer to handle bigint responses correctly
    app.set("json replacer", this.stringifyBigIntReplacer);

@petermetz @eduv09 @RafaelAPB Yes, it should work but only when the connector is used as a api-server plugin. When it's used as standalone (like it's done in tests for simplicity), the fix does not apply.

@outSH @eduv09 @RafaelAPB  Oh yeah I forgot about that! /facepalm Thanks for the reminder. There is a chicken-egg problem here for sure due to us wanting to avoid circular dependencies between plugins and the API server.
My suggestion to break it is like this:

Move the stringifyBigIntReplacer to a package designed to be shared by both the API server and the plugins: the cactus-core package.
Also add a new function to cactus-core, something called configureExpressApp(app: Express): Promise<void>. Then move all the common set-up logic (that is independent of specific plugins) of the API server to this new function and make api-server.ts import and use that function from cactus-core.
Then the connector can import the exact same  function from cactus-core and have a one-liner to set up the express instance identical to the API server's, butt without having to duplicate any of that code.
Now we don't need the change that is in this pull request.

So the above steps is what I recommend for a long term solution. If you prefer to go fast I'm OK with merging this PR as-is and then sending a follow-up.

FYI: here's a suggestion on how to implement the common function outside of the API server package (in the core package)
https://github.com/hyperledger/cacti/pull/3186
If that linked PR gets merged then afterwards we can refactor both the connector plugin tests and the API server to use that implementation.


Add getNewUser function

Yeah, it seems that I have messed up with branches a bit!
I'm sorry! Please, accept #5 first!

I have noticed on your getNewUser function, you can't always get the auser3 page. I have always the "Service error" message.
What is wrong with it?

If tests for this function are fine, then it means that xat returns something wrong instead of new user. I'll add this information in corresponding Error instance.
Tests works only for stubs, no real requests made.
But I've run example.js and getNewUser returns an appropriate result.

And yes, of course, thank you for this important report.

Oh right.
I haven't said, it wasn't working. I'm trying one time and after it returns the "Service error" for no reasons.. It's probably a problem on my side or something like that, idk.

If you are curious, try to check the actual body, returned by request. Let me know, what happens, please! Thank you for your help!

Weird, now it works fine...

Yes, my friend. This auser3 thing is weird. And I don't know is there something we can do about it. May be we should add &t=newDate() to query string. Cloudflare doesn't cache auser3 at all, but who knows...

Yeah, we should do that about this "&t=" thing. Flash chat is doing that too to fetch auser3 page.

Request URL:http://xat.com/web_gear/chat/auser3.php?u=0&k2=0&t=0.8762123053893447


Implement JUnit Tests for G2ConfigMgr SDK

Need to implement JUnit tests for the SDK
Import tests from senzing-api-server where applicable.
Need to implement with chosen code-coverage tool (TBD)

Changes are committed, but not merged.  Will be migrated to new repository.


Alpine Expression Error: imageCropper is not defined

I am getting following error when using this plugin. Not sure what is the problem.

I am getting following error when using this plugin. Not sure what is the problem.

Hello sorry for the issue.
Do you have croppie plugin installed? If yes remove it.
I just tried with new project, no issue.

Hello do you still facing the same issue?


Add requires infrastructure annotations

Add required infrastructure annotations for the bundle. Implementation
is done in generate_bundle.sh because the annotations.yaml file in the
deploy/olm-catalog/ directory is not read by operator-sdk-0.19.4. Append
required additional feature annotations to the generated
annotations.yaml by operator-sdk generate bundle.
Related STF-1530

These annotations look correct to me.
There are some items we are close to fulfilling, and some interesting aspirational items including lots of other recommendations in that best practices guide we should probably go through in more detail.

I created https://issues.redhat.com/browse/STF-1554 in STF 2.0 to do an intentional walkthrough of the best practices so we can get closer to operating in ideal conditions. Thanks!

Comment at https://github.com/infrawatch/service-telemetry-operator/pull/499#issuecomment-1757916339 also applicable here. More changes inbound.

Merging once https://github.com/infrawatch/service-telemetry-operator/pull/499 passes all CI


gha: Re-purpose Conformance Kind proxy test

As Envoy DS is the default mode now, we should re-purpose the existing test to embedded mode, so that we still have required coverage.
Relates: 21fa2df60abd0f3a5627aca3265347558d170f37
Relates: https://github.com/cilium/cilium/pull/30034

/test


Release of version <IP_ADDRESS> of xNetworking

Releasing version <IP_ADDRESS>

Hi @kwirkykat, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

It looks like you're a Microsoft contributor (Katie Keim). If you're full-time, we DON'T require a Contribution License Agreement. If you are a vendor, please DO sign the electronic Contribution License Agreement. It will take 2 minutes and there's no faxing! https://cla.microsoft.com.

TTYL, MSBOT;


add app sync principal for nodejs sdk

Adds Principal for AWS AppSync to nodejs SDK.
This is required when creating a DataSource for AppSync.
https://docs.aws.amazon.com/appsync/latest/devguide/attaching-a-data-source.html

Hi @marksmithson
Thanks so much for the work here - I am going to bring this into another PR that I am currently working on. We changed how enums are added in pulumi to be via provider/resources.go to ensure they are available for all languages
I will make sure and attribute your contribution and link the commit here shortly
Paul


folly: 2<IP_ADDRESS> -> 2<IP_ADDRESS>

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools.
This update was made based on information from https://repology.org/metapackage/folly/versions.
These checks were done:

built on NixOS

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 2<IP_ADDRESS> with grep in /nix/store/n4qdpjqixmlcly3al00c5a2ivp6lh74f-folly-2<IP_ADDRESS>

directory tree listing: https://gist.github.com/80adf61ca8bb6b1020e7b48cae590a9c

du listing: https://gist.github.com/dc5d5cb97ea76a087a50b733c659ebe5

meta.description for folly is: '"An open-source C++ library developed and used at Facebook"'.
cc @abbradar for testing.

No attempt on x86_64-darwin (full log)
The following builds were skipped because they don't evaluate on x86_64-darwin: folly
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

No attempt on aarch64-linux (full log)
The following builds were skipped because they don't evaluate on aarch64-linux: folly
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Attempted: folly
Partial log (click to expand)
shrinking RPATHs of ELF executables and libraries in /nix/store/1n1389p7aqmgw058nvjqhmn2hkn0ds5w-folly-2<IP_ADDRESS>
shrinking /nix/store/1n1389p7aqmgw058nvjqhmn2hkn0ds5w-folly-2<IP_ADDRESS>/lib/libfolly.so.57.0.0
shrinking /nix/store/1n1389p7aqmgw058nvjqhmn2hkn0ds5w-folly-2<IP_ADDRESS>/lib/libfollybenchmark.so.57.0.0
shrinking /nix/store/1n1389p7aqmgw058nvjqhmn2hkn0ds5w-folly-2<IP_ADDRESS>/lib/libfollyinit.so.57.0.0
shrinking /nix/store/1n1389p7aqmgw058nvjqhmn2hkn0ds5w-folly-2<IP_ADDRESS>/lib/libfollylogging.so.57.0.0
strip is /nix/store/j75dgadrff2d1fyc4fczmcgqkid2imdx-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/1n1389p7aqmgw058nvjqhmn2hkn0ds5w-folly-2<IP_ADDRESS>/lib
patching script interpreter paths in /nix/store/1n1389p7aqmgw058nvjqhmn2hkn0ds5w-folly-2<IP_ADDRESS>
checking for references to /build in /nix/store/1n1389p7aqmgw058nvjqhmn2hkn0ds5w-folly-2<IP_ADDRESS>...
/nix/store/1n1389p7aqmgw058nvjqhmn2hkn0ds5w-folly-2<IP_ADDRESS>


Refused to display  - a frame because it set 'X-Frame-Options' to 'DENY'

Trying AAD integration and getting the below error message. Was following the documentation here : https://docs.microsoft.com/en-us/azure/app-service-mobile/app-service-mobile-cordova-get-started-users
Error  while calling the client.Login() is
Refused to display 'https://login.microsoftonline.com/consumerb2c.onmicrosoft.com/oauth2/v2.0/..... in a frame because it set 'X-Frame-Options' to 'DENY'.**
There was meta tag added in the index.html

After following this post , https://github.com/jeduan/cordova-plugin-facebook4/issues/323, was able to fix the issue by removing the inappbrowser plugin. Question is, is it a known issue ? Is it safe to remove the inappbrowser plugin while working with the Azure Mobile Service Authentication. Thanks for your help !

Was this fixed ? I got the same issue using this app-service-mobile-cordova to login both facebook or google


File created with save/rigid can't be updated at a point on the time axis

Reported by sirott on 28 Oct 2000 18:01 UTC
A netCDF file created with save/rigid can't be updated at a given point on a
time axis. The error:
**TMAP ERR: error in line definition
file coords dont match variable coords on axis T1MO
is returned.
Example: The following script creates a file that can't be updated:
! File created with this script cannot be updated
sp rm -f big.cdf
define axis/x=1:200:1 x200
define axis/y=1:200:1 y200
define axis/t=1-jan-1990:31-jan-1990:1/unit=days t1mo
let a = X[a[i=1:5,j=1:5](gx=x200]+Y[gy=y200]+T[gt=t1mo]
save/ilimits=1:200/jlimits=1:200/rigid/file=big.cdf)
The following script fails:
! write one time step
define axis/x=1:200:1 x200
define axis/y=1:200:1 y200
define axis/t=15-jan-1990/npoints=1/unit=days t1
let a = X[gx=x200]+Y[gy=y200]+T[gt=t1]
save/append/file=big.cdf a
If the file is created without using the /rigid qualifier, all is well.
Migrated-From: http://dunkel.pmel.noaa.gov/trac/ferret/ticket/185

Comment by<EMAIL_ADDRESS>on 21 Oct 2003 20:16 UTC
Moving from the<EMAIL_ADDRESS>user to the<EMAIL_ADDRESS>user.

Comment by<EMAIL_ADDRESS>on 3 Nov 2003 20:08 UTC
Not a bug: when the file is created with /rigid,
the time axis is not the record axis (see routines
CD_GET_BOUNDS and CD_GET_GENERIC_BOUNDS, called
by CD_WRITE_VAR. Also see CD_USE_RECDIM, called by
CD_GET_GENERIC_BOUNDS).  So the variable being
appended has to have the exact same time axis as
the variable in the file; just as the X and Y axes
have to match.


Missing codes

My windows Update is failing (repeatedly) with codes:
0x80070020
0x800f0845
Please add them

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: f76d96ac-5343-20e2-9d99-9c1cea7ccc2e
Version Independent ID: a95c9b39-4a66-d726-4404-de5af60ac982
Content: Windows Update error code list by component - Windows Deployment
Content Source: windows/deployment/update/windows-update-error-reference.md
Product: w10
Technology: windows
GitHub Login: @jaimeo
Microsoft Alias: greglin

I think your request would stand a better chance of making it into the documentation if the error codes you refer to could be documented better in this ticket. Then again, I do not know if the 0x800... and 0x801... series belong in this exact page. We may need to wait until any developer can comment on whether the error code series 0x800... and 0x801... contain any related description or base causes.

(see also tickets #6324 and #6337 for similar (minimalistic) reports)

Hi, the troubleshooting article was created prior to the publishing of the SetupDiag tool.  This tool is now the preferred method to analyze failed upgrades.  https://docs.microsoft.com/en-us/windows/deployment/upgrade/setupdiag
Can you please try this tool?  We don't have the ability to provide a custom description for every error code at this time.


Need Sample

Is there any example of using?
I need to set up a middleware that I created.

Should just be something similar to:
//Startup
public void ConfigureServices(IServiceCollection services)
{
  services.AddOptions();
  services.Configure<MyMiddlewareOptions>(options =>
  {
    options.MyProperty = "Hello world!";
  });
}

// My Middleware
public MyMiddleware(RequestDelegate next, IOptions<MyMiddlewareOptions> options)
{
  _options = options.Value;
}

public async Task Invoke(HttpContext context)
{
  //make magic
  Debug.WriteLine(_options.MyProperty);
  //etc
}

More here

@HaoK can you just check if the above pattern is what we currently recommend and close? Thanks.

Yep looks fine.


[bug]: prompt - blend syntax ParseException

Is there an existing issue for this?

[X] I have searched the existing issues

OS
Linux
GPU
cuda
VRAM
24
What happened?
Prompt with further terms beyond the 'blend' syntax results in a ParseException error server-side.
e.g.  ("deer","raptor").blend(1,2) bad pencil drawing
>> Image generation requested: {'prompt': '("deer","raptor").blend(1,2) bad pencil drawing', 'iterations': 1, 'steps': 32, 'cfg_scale': 7.5, 'threshold': 0, 'perlin': 0, 'height': 512, 'width': 512, 'sampler_name': 'k_euler_a', 'seed':<PHONE_NUMBER>, 'progress_images': False, 'progress_latents': True, 'save_intermediates': 5, 'generation_mode': 'txt2img', 'init_mask': '...', 'seamless': False, 'hires_fix': False, 'variation_amount': 0}
ESRGAN parameters: {'level': 2, 'strength': 0.4}
Facetool parameters: False
{'prompt': '("deer","raptor").blend(1,2) bad pencil drawing', 'iterations': 1, 'steps': 32, 'cfg_scale': 7.5, 'threshold': 0, 'perlin': 0, 'height': 512, 'width': 512, 'sampler_name': 'k_euler_a', 'seed':<PHONE_NUMBER>, 'progress_images': False, 'progress_latents': True, 'save_intermediates': 5, 'generation_mode': 'txt2img', 'init_mask': '', 'seamless': False, 'hires_fix': False, 'variation_amount': 0}
Expected {explicit_conjunction | {{blend | Group:([{cross_attention_substitute | attention | Forward: string enclosed in '"' | parenthesized_fragment | free_word | Suppress:(<SP><TAB><CR><LF>)}]...)} StringEnd}}, found 'bad'  (at char 29), (line:1, col:30)

Traceback (most recent call last):
  File "/home/fortyseven/opt/ai/invoke-ai/backend/invoke_ai_web_server.py", line 1116, in generate_images
    self.generate.prompt2image(
  File "/home/fortyseven/opt/ai/invoke-ai/ldm/generate.py", line 456, in prompt2image
    uc, c, extra_conditioning_info = get_uc_and_c_and_ec(
  File "/home/fortyseven/opt/ai/invoke-ai/ldm/invoke/conditioning.py", line 47, in get_uc_and_c_and_ec
    parsed_prompt = pp.parse_conjunction(prompt_string_cleaned).prompts[0]
  File "/home/fortyseven/opt/ai/invoke-ai/ldm/invoke/prompt_parser.py", line 273, in parse_conjunction
    root = self.conjunction.parse_string(prompt)
  File "/home/fortyseven/opt/ai/invoke-ai/venv/lib/python3.10/site-packages/pyparsing/core.py", line 1141, in parse_string
    raise exc.with_traceback(None)
pyparsing.exceptions.ParseException: Expected {explicit_conjunction | {{blend | Group:([{cross_attention_substitute | attention | Forward: string enclosed in '"' | parenthesized_fragment | free_word | Suppress:(<SP><TAB><CR><LF>)}]...)} StringEnd}}, found 'bad'  (at char 29), (line:1, col:30)

Noticed on 8999a5564bf940f89327ef00bf2b83a2069965b5.

Additionally I've noticed putting terms BEFORE the blend tends to mess with the expected results.
For instance, in the given example, if it's rewritten as bad pencil drawing ("deer","raptor").blend(1,2), only imagery of deer/buck/etc are generated.

Actually that's a "discussion" rather than a feature request per se. i'll leave this open.

Ah, okay -- now that I've re-read the docs with that in mind, I realize those are intended to be entire prompts, not just blended terms of a single prompt. :ok_hand:

yeah the docs were adapted in a rush from notes on the Pull Request where I first implemented - been meaning to re-do them but haven't found the time.


Propagate original NTP timestamp of RTP packets

Describe the feature

implement https://github.com/aler9/gortsplib/issues/159
use original NTP timestamp timestamp inside the server, replacing it only in case it's missing
test what happens when there's a big discrepancy between a reader's NTP and a camera's NTP

Any update on this?
I would love to see this feature for downstream analysis and syncing streams from multiple senders.
Cheers!

I definitely need this for the my current project. I would like to use these timestamps with recordings of the stream later to extract still frames.

Current situation regarding ingestion of absolute timestamp:

HLS sources provide absolute timestamp through EXT-X-PROGRAM-DATE-TIME, but this value is currently unused by the server
RTMP sources / clients don't provide absolute timestamp
RTSP sources / clients provide absolute timestamp through RTCP sender reports, but there's a time gap between the start of the stream and the reception of the first RTCP sender report in which absolute timestamp is not available
WebRTC clients behaves in the same exact way as RTSP sources / clients since they both use RTCP and RTP
SRT sources / clients doesn't provide absolute timestamp

Therefore, the absolute timestamp of incoming streams of all protocols is currently assumed to be the current timestamp of the server.
This timestamp is propagated by the server to readers through all supported means (`EXT-X-PROGRAM-DATE-TIME and RTCP sender reports).

RTSP sources / clients provide absolute timestamp through RTCP sender reports, but there's a time gap between the start of the stream and the reception of the first RTCP sender report in which absolute timestamp is not available
...
Therefore, the absolute timestamp of incoming streams of all protocols is currently assumed to be the current timestamp of the server.

Just to double check - this means the #EXT-X-PROGRAM-DATE-TIME I see in my .m3u8 is actually just the time that segment is greated on the mediamtx server and NOT the wall clock time of the recording from source?

Bumping this. We currently have an ancient version of rtsp-simple-server because it did not rewrite RTCP NTP times. Is there any new info on this? does mediamtx propagate original ntp timestamps?

Bumping this. We currently have an ancient version of rtsp-simple-server because it did not rewrite RTCP NTP times. Is there any new info on this? does mediamtx propagate original ntp timestamps?

Based on my tests, MediaMTX still rewrites RTCP NTP timestamps. However, if an external RTSP server is connected as a "proxy," MediaMTX does not rewrite the timestamps in that case.
@aler9 Would it be possible to add a configuration parameter to disable RTCP NTP timestamp overwriting?


Server-side HTML parsing

As I mentioned at TimBeyer/html-to-vdom#1 I'm using vdom-virtualize in my rendering, and it's working splendidly. I would like to use the same render code on the server, however.
I believe we could get most of the way there if we check for window === undefined and switch to parse5 for DOM tree creation in the fromHTML method. Unfortunately, there are several discrepancies between the browser and parse5 trees for which we would have to do further processing or pass a custom treeAdapter into parse5:

In the parse5 tree there's no nodeType property, but nodeName is either the tag name or "#text".
Text nodes have their text in "value", not "nodeValue".
Nodes in the default parse5 tree have childNodes but not children.
Rather than create properties on the node, parse5 leaves attributes as they are and sticks them in an "attrs" array.

I'm thinking a custom treeAdapter would make sense, though I'm not excited about mapping attributes to HTMLElement properties.

So, I'm closing this now as I've decided this is outside the scope of this library. If you already have a DOM tree (as is usually the case in the browser) use virtualize, if you want to parse HTML use https://github.com/TimBeyer/html-to-vdom ;)


PDF changes

As a cheat sheet it should be short and sweet and very handy.. but as you guys can see our pdf is 17 pages long with lots of things which are simply not required at a begginer level. SO please guys hacve a look at the current cheatheet pdf and tell me which all commands can be ommitted to make a new modified version of it.

How long is your pdf turning to be? @KCmean

I am trying to keep it small and simnple llike it will consist of very handy commands which are used in day to day and like which are best for people who are gettin newly aquianted with git and github so thats what the plan is

nahi re, fir woh cheatsheet nahi rahegi, usse accha sab daal de but try kar concise ho


Added Decimal to Binary and N-Dice Combination Programs

Hey.
I added the following two programs using Recursion in Java:
1 : Decimal to Binary conversion
2 : All possible combination of N-Dice Rolls
Thank you.

sir! the second program has some "{ }" errors! once please do check at do the required commits

Sorry for the error. I have fixed it.
Thank you.


[IONIC 4 rc.0] tabs --background-focused variable not working

Bug Report
Ionic version:

[x] 4.x
Current behavior:
The background of ion-tab-button elements remains unchanged when they receive focus, even though the --background-focused CCS4 variable for ion-tab-button elements is set.
Expected behavior:
I expected the ion-tab-button elements' background to get the background color I set in the --background-focused variable.
This is supposed to happen if I understand the docs correctly, see
https://beta.ionicframework.com/docs/api/tab-button
Steps to reproduce:

Create an Ionic tabs starter.
In the tabs.page.scss file paste:

ion-tab-bar {
  --background: grey;
}
ion-tab-button {
  --color: blue;
  --color-selected: red;
  --background-focused: orange;
}

Run ionic serve, and preview in Firefox (don't see it working in other browsers either).
Move along the tab buttons by using the physical "Tab" key on the keyboard.
Observe that when a tab button receives focus its background remains unchanged.

Related code:
Other information:
Ionic info:

Ionic:

   ionic (Ionic CLI)             : 4.5.0
   Ionic Framework               : @ionic/angular 4.0.0-rc.0
   @angular-devkit/build-angular : 0.8.7
   @angular-devkit/schematics    : 7.1.2
   @angular/cli                  : 6.2.8
   @ionic/angular-toolkit        : 1.1.0

System:

   NodeJS : v8.11.2 (C:\Program Files\nodejs\node.exe)
   npm    : 5.6.0
   OS     : Windows 10

@vali-de-man I've found a work around for this, seems to work when you create the following class on the tabs component:
.tab-selected {
  --background: var(--ion-color-primary); // Or whatever you want to set it to.
}

@simonbrazell thanks for sharing!
Does this set the color when the tab receives focus though? The class name implies it determines the color of the tab when selected.  Will try it out!

this also happens with ionic-button, since the effect does not apply
`ion-button {
--background-focused : #961300;
}`

Hi everyone,
This issue has been resolved via https://github.com/ionic-team/ionic/pull/17502 and will be in the next version of Ionic.
I have published a nightly build of Ionic if you would like to test this fix out (npm i @ionic/angular@dev).
Thanks for using Ionic!


GitHub Login Does Not Retrieve User Email in Casdoor

When signing in with GitHub, the prompt asks to allow access to the user's email. However, after signing in, the user's email is not displayed on the Casdoor users page. In contrast, signing in with Google successfully retrieves and displays the user's email.
Steps to Reproduce:
Sign in using GitHub.
Allow access to the email.
Check the Casdoor users page.
Expected Behavior:
The user's email should be displayed on the Casdoor users page after signing in with GitHub.
Actual Behavior:
The user's email is not available on the Casdoor users page after signing in with GitHub.
Additional Information:
Google login works as expected and displays the user's email.

@Cloud-Scrapehero can you make a PR to fix it?

Hello, @Cloud-Scrapehero
Regarding the issue where the user's email is not displayed after signing in with GitHub, this occurs because the GitHub OAuth API returns null for the email if it is set to private. As a result, the email cannot be displayed on the Casdoor users page.
If you want your email to be displayed in the Casdoor user interface, you need to make your email address public in your GitHub settings and choose one as your primary email for display.
To make your email public, go to the email settings in GitHub, and uncheck the option as shown below:

If you have any other suggestions or solutions, feel free to discuss them further.

Closed as resolved


The method in the paper is a great idea, but I have some questions in the process of reading

1.In the last cross-attention layer,According to the formula mentioned in the attention, the output of the last cross-attention layer should be the VO weighted matrix map with the size of (IW * IW), so how to use this value map for optimal transport?
2.In the optimal transport algorithm, the paper mentioned "he cost matrix M is set to the negative of the attention computed by the cross-attention module in Equation 2", but the last cross-attention layer attention output is calculated for each pixel feature by splitting the channel dimension of feature descriptors, so which one is used the negative of αh to set the cost matrix?
Thanks!

Hi @davidyang180

You are right about attn output from last cross attn is IW*IW for each row of the image, and there are IH rows. We further have dustbins to assign occluded regions (each IW will have one additional cell). This IH*(IW+1)*(IW+1) is the input of the optimal transport (ignoring batch size).
You are right that attn is split along channel dimension. The final attention used in optimal transport cost matrix is the sum of channel-wise output. Code is here (https://github.com/mli0603/stereo-transformer/blob/main/module/attention.py#L137)


DwC-A Workbench import cards need delete and back button

There's no way to remove uploads that haven't been imported (parsing error, wrong file, etc).

It would also be nice to have a button to return to the workbench index page (to delete the file) without using the browser's back button.

@LocoDelAssembly we disussed with @LocoDelAssembly a couple of options for destroy

If no data has been imported, just destroy
If some data has been imported, modal option with confirmation worked, remove dataset and origin relationships

We don't have a way to really nuke everything that was imported efficiently, so this will have to be made clear.

Done


Reconsider where key mappings are stored

Currently, a single map that allows translation between secondary keys <=> ids is maintained on the Schema class. This mapping has been maintained on Schema because it provides a central place outside of any particular source. Also this mapping data is not unique (it's just an index mapping to improve the efficiency of lookups), and this mapping is globally unique across sources. It can be regenerated based upon the data in sources.
With that said, I've always considered Schema to be the wrong place for this mapping. I believe it should be better isolated and encapsulated. We should also consider how per-source indices could be maintained that are not globally unique like the key/id mappings.

This is being explored in #320

#320 has been merged.


I want to have more dynamic demos

I want to have more dynamic demos about czml files，if you can give me the Conversion process will be best, thanks, my<EMAIL_ADDRESS>

Not currently in the works.


fix symbol count in def file for windows

This fixes some issue introduced in the previous version where RTTI
was removed from the exclusion list. Because of this the number of
symbols in the def file was close to 64K for gpu builds and yesterday
a few added symbols pushed us over the 64K limit for the windows linker, breaking the windows gpu build
Adding RTTI back to the exclusion list.

Can one of the admins verify this patch?

@tensorflow-jenkins test this please


add jaryd

Website Link: https://jaryddiamond.com

awesome site @jarydo ! thanks for adding :) hope mario kart club is going well


Make table-input more performant

Make table-input more performant as @fregante discovered in fixes #8039.
It will ensure that firefox does not freeze when opening the labels dialog when you have a large number of labels (somewhere between 500 and 2241).

Can you see any difference between this PR and the complete removal of source/features/table-input.css?

Without the CSS file and the import at the top of the TSX file, it just seems to work. (Same disclaimer as in the issue, haven' tested the table input, just the labels)

Yeah what I'm asking if whether this completely fixes the performance issue or if the new selector still slows you dow (even just a bit).
If you say "works like normal" then I can release this as is, probably tomorrow.

Ah, yes this fixes the performance issue and works like normal!

Thanks for looking into this! I was having anxiety flashbacks from earlier this year 😵💫

Hah, same, but now I at least had some time to look into this :)


Dra 674 remove preservica5 from xslts

Remove old preservica 5 specific code also updating all tests to use preservica 7 data and in that case found some cases, which wasnt handled correctly in the XSLT for preservica 7 data.

fint tager jeg nu
On Fri, Jun 7, 2024, 09:59 Victor Harbo Johnston @.***>
wrote:

@VictorHarbo https://github.com/VictorHarbo requested your review on:
#154 https://github.com/kb-dk/ds-present/pull/154 Dra 674 remove
preservica5 from xslts.
—
Reply to this email directly, view it on GitHub
https://github.com/kb-dk/ds-present/pull/154#event-13076712054, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABI5U7CMSTEZPLBHK7MLM7DZGFR7XAVCNFSM6AAAAABI6FHGY2VHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJTGA3TMNZRGIYDKNA
.
You are receiving this because your review was requested.Message ID:
@.***>


Fix code scanning alert - DOM text reinterpreted as HTML

Tracking issue for:

[x] https://github.com/Nowaaru/suwariyomi/security/code-scanning/8

Fixed by https://github.com/Nowaaru/suwariyomi/commit/101a09662c3592e4699f37685923c10131c26848.


DFConAgPfSense current build download not clearly documented or easily downloadable

The project ReadMe  instructs the use of a broken link to install the plugin:
https://dynfi.com/connection-agent/download/pfsense/dfconag-latest-installer.sh instead of https://dynfi.com/files/connection-agent/pfsense/dfconag-latest-installer.sh
The instructions here work: https://dynfi.com/en/articles/dynfi-manager-connection-agent/. However, it's a not easily discovered blog post and not part of the documentation for this Repo or the DynfiManager documentation.
Could this the repo readme be updated? Could the documentation be updated? Would it be possible to host the pkg here as a release?

Could this the repo readme be updated?

Fixed thank you.

Could the documentation be updated?

We will fix that.

Would it be possible to host the pkg here as a release?

Yes we will provide it here.


Add /heroes/{heroId}/matches route

It's my first try add odota/ui#1143 /heroes/{heroId}/matches.
Careful, I don't check this code, because I can't configure backend env in docker, maybe later I will check.
Can you help me, with this code?

I rolled your commit into:
https://github.com/odota/core/pull/1542

Thank you for review, I understood all


Why underscore instead of lodash?

I wondered why this project is using Underscore instead of Lodash. It is the first time that I see a Node.js module which uses Underscore. Lodash seems to be the default choice for nearly all projects.
There is a good reason for this: Lodash has a lot of features, which Underscore lacks.
When making my changes in this projects, I found that sometimes I wanted to use a Lodash function, which Underscore didn't have. This is bad because using such utility functions leads to easier understandable code.
Would you accept a pull request which replaced Underscore with Lodash?

By chance
As I wrote earlier this code was written long time ago as quick solution and then migrated to module
For me it was enough but if it would be easier for other contributors to use lodash and you want to change it I agree with migration underscore -> lodash


Add images with motion artifacts to exclude.yml

Description
This PR adds subjects to exclude due to motion artifacts to exclude.yml.
Example:

@jcohenadad if you could take a quick look,  Thanks!


🐛 [firebase_auth] Add proper errors handling

At the moment error code stored as string and we even don't have exhaustive enum of possible errors.
It was not easy, but I found error codes list. Actually I found two:
https://cloud.google.com/identity-platform/docs/error-codes
https://firebase.google.com/docs/reference/js/firebase.auth.Auth#signinwithcredential
So, I suggest this approach to error handling:
extension FirebaseAuthExceptionX on FirebaseAuthException {
  T handleErrors<T>({
    required T Function() defaultFallback,
    T Function()? accountExistsWithDifferentCredential,
    T Function()? missingPhoneNumber,
    T Function()? invalidPhoneNumber,
    T Function()? missingVerificationCode,
    T Function()? invalidVerificationCode,
    T Function()? missingVerificationId,
    T Function()? invalidVerificationId,
    T Function()? codeExpired,
    T Function()? invalidCredential,
    T Function()? userDisabled,
    T Function()? userNotFound,
    T Function()? operationNotAllowed,
    T Function()? captchaCheckFailed,
    T Function()? quotaExceeded,
    T Function()? wrongPassword,
    T Function()? unknown,
  }) {
    switch (code) {
      case FireBaseAuthErrorCode.accountExistsWithDifferentCredential:
        return (accountExistsWithDifferentCredential ?? defaultFallback).call();
      case FireBaseAuthErrorCode.missingPhoneNumber:
        return (missingPhoneNumber ?? defaultFallback).call();
      case FireBaseAuthErrorCode.invalidPhoneNumber:
        return (invalidPhoneNumber ?? defaultFallback).call();
      case FireBaseAuthErrorCode.missingVerificationCode:
        return (missingVerificationCode ?? defaultFallback).call();
      case FireBaseAuthErrorCode.invalidVerificationCode:
        return (invalidVerificationCode ?? defaultFallback).call();
      case FireBaseAuthErrorCode.missingVerificationId:
        return (missingVerificationId ?? defaultFallback).call();
      case FireBaseAuthErrorCode.invalidVerificationId:
        return (invalidVerificationId ?? defaultFallback).call();
      case FireBaseAuthErrorCode.codeExpired:
        return (codeExpired ?? defaultFallback).call();
      case FireBaseAuthErrorCode.invalidCredential:
        return (invalidCredential ?? defaultFallback).call();
      case FireBaseAuthErrorCode.userDisabled:
        return (userDisabled ?? defaultFallback).call();
      case FireBaseAuthErrorCode.userNotFound:
        return (userNotFound ?? defaultFallback).call();
      case FireBaseAuthErrorCode.operationNotAllowed:
        return (operationNotAllowed ?? defaultFallback).call();
      case FireBaseAuthErrorCode.captchaCheckFailed:
        return (captchaCheckFailed ?? defaultFallback).call();
      case FireBaseAuthErrorCode.quotaExceeded:
        return (quotaExceeded ?? defaultFallback).call();
      case FireBaseAuthErrorCode.wrongPassword:
        return (wrongPassword ?? defaultFallback).call();
      case FireBaseAuthErrorCode.missingClientIdentifier:
        return (missingClientIdentifier ?? defaultFallback).call();
      default:
        return (unknown ?? defaultFallback).call();
    }
  }
}

FireBaseAuthErrorCode
class FireBaseAuthErrorCode {

/// Thrown if there already exists an account with the email address asserted by the credential.
/// See: https://firebase.flutter.dev/docs/auth/error-handling/#handling-account-exists-with-different-credential-errors
static const accountExistsWithDifferentCredential = 'account-exists-with-different-credential';

/// Thrown if the SMS quota for the Firebase project has been exceeded.
static const quotaExceeded = 'quota-exceeded';

/// Thrown if the credential is malformed or has expired.
static const invalidCredential = 'invalid-credential';

/// Thrown if the type of account corresponding to the credential is not enabled.
/// Enable the account type in the Firebase Console, under the Auth tab.
static const operationNotAllowed = 'operation-not-allowed';

/// Thrown if the reCAPTCHA response token was invalid, expired, or if this method was called from a non-whitelisted domain.
static const captchaCheckFailed = 'captcha-check-failed';

static const missingPhoneNumber = 'missing-phone-number';
static const invalidPhoneNumber = 'invalid-phone-number';
static const missingVerificationCode = 'missing-verification-code';
static const invalidVerificationCode = 'invalid-verification-code';
static const missingVerificationId = 'missing-verification-id';
static const invalidVerificationId = 'invalid-verification-id';
static const codeExpired = 'code-expired';
static const userDisabled = 'user-disabled';
static const userNotFound = 'user-not-found';
static const wrongPassword = 'wrong-password';

}

Now we can use it like this:
try {
  final result = await FirebaseAuth.instance.signInWithCredential(credential);
  logger.info('Auth succeeded: $result');
} on FirebaseAuthException catch (e) {
  e.handleErrors(
	accountExistsWithDifferentCredential: () {
	  // todo: handle
	},
	invalidVerificationCode: () {
	  showError("Code is incorrect :(");
	},
	codeExpired: () {
	  showError("Code is expired :(");
	},
	defaultFallback: () {
	  showError('Error: ${e.code}');
	},
  );
}

It should be a part of API.
@Salakar @russellwheatley @rrousselGit Please review it and I'll make a PR.

I just want to at least catch too-many-requests, which I think it not troughed from verifyPhoneNumber() method or any firebase auth, please how can i catch this quota error for better user experience,That tell user that we blocked him from too much attempting to requesting for sms.

Hello,
Modifying the errors API is already discussed here: https://github.com/firebase/flutterfire/issues/3273
I'll close this one in favor of the other


New line in title should be rendered as "\n"

Multi-line titles shouldn't be allowed, I think new line characters should be displayed literally as \n.

Moved to https://github.com/SamVerschueren/listr-update-renderer/issues/16


Add Flame

Old PR was closed due to master -> main branch rename.
Reference for existing discussion: https://github.com/sindresorhus/awesome/pull/1785

A curated list of Games, Libraries, and Articles related to the Flame Engine for Flutter

Many words here that should not be capitalized.

The license file is not valid. It needs to contain the whole license.

Do not add the license name or text to the readme. GitHub already shows the license name at the top of the repo.

Linkify Flame in Flame is a minimalist 2D game engine for Flutter that provides to its website.

Non-english content should be in a separate Markdown file.

@sindresorhus I have applied all of your suggested changes in https://github.com/flame-engine/awesome-flame/pull/36.
Renaming master to main will be done ASAP. I don't have the repo rights to do that right now.
Chinese translations will be added in a separate file later. Just waiting for a native speaker to look over my changes.

Tweet: https://twitter.com/awesome__re/status/1276832322390614016


Remove the extra python paths args from CI

To see if executorlib has overcome this necessity that pympipool had

No, executorlib still needs the paths


adding AI chat feature

using google bard api in the chat bot

So, I am assuming you want to close this branch since you are requesting to merge another one?


Add pull request template

Adding pull request template to remind contributors to complete two manual steps.

Mitigates #3 and #5


Allow accepting any license of a package

Describe the bug
For ring, I get this:
error[L003]: ring = 0.16.20 is unlicensed
  ┌─ ring 0.16.20 (registry+https://github.com/rust-lang/crates.io-index):2:9
  │
2 │ name = "ring"
  │         ^^^^ a valid license expression could not be retrieved for the crate
3 │ version = "0.16.20"
4 │ license = ""
  │            - license expression was not specified
5 │ license-files = [
6 │     { path = "LICENSE", hash = 0xbd0eed23, score = 0.67, license = "OpenSSL" },

There is no license exception I can craft that will allow this.  allow = ["OpenSSL"] doesn't work.  cargo deny rejects allow = [""] as a syntax error ("empty expression").

Please see the docs about clarifications.
[[licenses.clarify]]
name = "ring"
# SPDX considers OpenSSL to encompass both the OpenSSL and SSLeay licenses
# https://spdx.org/licenses/OpenSSL.html
# ISC - Both BoringSSL and ring use this for their new files
# MIT - "Files in third_party/ have their own licenses, as described therein. The MIT
# license, for third_party/fiat, which, unlike other third_party directories, is
# compiled into non-test libraries, is included below."
# OpenSSL - Obviously
expression = "ISC AND MIT AND OpenSSL"
license-files = [{ path = "LICENSE", hash = 0xbd0eed23 }]

Related open issue on the ring crate:

https://github.com/briansmith/ring/issues/902


Getting TypeError when using development version of React with cellRenderer

I'm getting the following error
TypeError: Cannot read property 'hasOwnProperty' of undefined

when I use Fixed Data Table with development version of React and have a cellRenderer property for one of the columns specified. The error does not happen when I use the production version of React.
React: 0.13.3
Fixed Data Table: 0.2.0
JS Code: https://gist.github.com/Martynas-P/e343680cad50d1c791f4

Probably related to #146

Same problem here.
Fully reproducible example:
https://gist.github.com/rundis/145cfdaf6ea277c9647b

Seems to work now in 0.3 with React 0.13.3

Are you sure ?
My example is with  fixed-data-table 0.3 and React 0.13.3, and it certainly doesn't work.
Check out the gist. Can you run that without any problem ?
cheers
rundis

Hey @rundis , I ran your gist, and encountered an error:
If you change line 18 to the most up to date release, it works fine.
I've attached a gist here:
https://gist.github.com/ehzhang/daf4453df43a4dede3d8


Is it possible to drag between containers but disable ordering within containers?

I know that I could use the dropModel event to trigger a sort but I would rather that the UI didn't suggest ordering was possible.

Please refer to our Slack channel for support requests. You can join our Slack channel through this link.
Thanks! :tada:


Fixed tests and included pending unmerged feature PRs

Fixed small issues causing tests to fail running against current Docker API version.
Updated some outdated Go models by its specgen details
Renamed ContainerEventParameters to more generic EventParameters
Included support for DOCKER_HOST environment variable
Updated README details for events message processing and operation progress monitoring.
Fixes #434

Included contribs:

#473
#472
#469
#446
#387
#364
#358
#351

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: dgvives sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: dgvives sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

@dgvives - More than happy to take some of these changes. Would you be willing to submit separate PR's for more of the systemic changes. Ex:
Conversion from = default(Type) to = default
Conversion from this._name to _name
etc.
It makes it easier to get these out of the way and then we can review just the real changes.

@dgvives - More than happy to take some of these changes. Would you be willing to submit separate PR's for more of the systemic changes. Ex:
Conversion from = default(Type) to = default
Conversion from this._name to _name
etc.
It makes it easier to get these out of the way and then we can review just the real changes.

Reply to https://github.com/dotnet/Docker.DotNet/pull/480#issuecomment-754108351 by @jterry75
Agreed, I'll leave out the non functional changes. On next submission should be almos ready

Reply to https://github.com/dotnet/Docker.DotNet/pull/480#issuecomment-754108351 by @jterry75
Agreed, I'll leave out the non functional changes. On next submission should be almos ready

Hey dont fully understand the godeps removal set of changes. Do you want to explain that so I can understand the model changes you made as well?

Hey dont fully understand the godeps removal set of changes. Do you want to explain that so I can understand the model changes you made as well?

Just noticed go.mod file wasn't committed, I'm including it now.
Change in godeps comes from #472

Updated the specgen tool so it uses the newer go modules instead of godep.
All you have to do to update the models is install go, update the docker repo which is imported using go get -u github.com/docker/docker@ and then run the update-generate-code.cmd script. It downloads all of the correct dependencies, builds the program and generates the models. This has been updated in the readme for specgen.

This retrieves model references for the specified tag from github to local go path, so it is no longer required to include all go files within the project repository.
After applying these changes I updated models:
go get -u<EMAIL_ADDRESS>.\update-generated-code.cmd

Because some models don't have rest tags, like rest:"query", these had to be specified in modeldefs with proper rest tags for model generation. I reviewed all the models and for the ones with specification being overridden in modeldefs file I specified the proper tags using latest go API v20.10.1
All the generated models come from specgen.go and modeldefs.go files

Just noticed go.mod file wasn't committed, I'm including it now.
Change in godeps comes from #472

Updated the specgen tool so it uses the newer go modules instead of godep.
All you have to do to update the models is install go, update the docker repo which is imported using go get -u github.com/docker/docker@ and then run the update-generate-code.cmd script. It downloads all of the correct dependencies, builds the program and generates the models. This has been updated in the readme for specgen.

This retrieves model references for the specified tag from github to local go path, so it is no longer required to include all go files within the project repository.
After applying these changes I updated models:
go get -u<EMAIL_ADDRESS>.\update-generated-code.cmd

Because some models don't have rest tags, like rest:"query", these had to be specified in modeldefs with proper rest tags for model generation. I reviewed all the models and for the ones with specification being overridden in modeldefs file I specified the proper tags using latest go API v20.10.1
All the generated models come from specgen.go and modeldefs.go files

@dgvives it would have been nice to merge my and a number of other people's changes into your branch rather than copy the changes so that the commit log has a record of who wrote what code. It makes it really hard to review a humongous PR on its own.

@dgvives it would have been nice to merge my and a number of other people's changes into your branch rather than copy the changes so that the commit log has a record of who wrote what code. It makes it really hard to review a humongous PR on its own.

@dgvives - I'm sorry for the additional ask here.
Can you please submit a "formatting" PR separate from this one that cleans up all tabs to spaces, removes trailing spaces, fixes comment alignment etc.
Second, updating the model should be done in a separate PR so that its easy to review "generated" changes since they are really a stamp of approval and dont need a lot of thought. That will remove 90% of the changes from this PR as well.
Then we can review the actual important changes here. I appreciate the work its just really hard to manage this many changes all at once

@dgvives - I'm sorry for the additional ask here.
Can you please submit a "formatting" PR separate from this one that cleans up all tabs to spaces, removes trailing spaces, fixes comment alignment etc.
Second, updating the model should be done in a separate PR so that its easy to review "generated" changes since they are really a stamp of approval and dont need a lot of thought. That will remove 90% of the changes from this PR as well.
Then we can review the actual important changes here. I appreciate the work its just really hard to manage this many changes all at once

@jterry75 I'm working on a new changeset with the minimum required changes for tests to work. Additionally, it looks like VSCode is formatting the code, adding some spaces here and there, I hope this to not be a issue.
The smallest changeset it's going to be big, but let's try this.

@jterry75 I'm working on a new changeset with the minimum required changes for tests to work. Additionally, it looks like VSCode is formatting the code, adding some spaces here and there, I hope this to not be a issue.
The smallest changeset it's going to be big, but let's try this.


⚠ Bofrost.fr has degraded performance

In c09416b, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 999 ms

Resolved: Bofrost.fr performance has improved in 037158b after 42 minutes.


Multipart upload fails (AccessDenied) when using Nodejs aws-sdk client [JIRA: RCS-380]

I'm having trouble uploading files when using aws-sdk (https://github.com/aws/aws-sdk-js).
Their sdk provides an upload method that handles uploads. With small files, I have no problem, since it uses the putObject method. But with bigger files, it uses the multipart upload, and I get an AccessDenied response on the first part upload.
I looked at the access logs :

I see a POST request that succeeds (the multipart upload creation)
I see a PUT request that fails (403 return code)
Then a DELETE request (the multipart upload abort)

<IP_ADDRESS> - - [23/Nov/2016:19:07:51 +0000] "POST /buckets/mybucket/objects/city.fbx/uploads HTTP/1.1" 200 236 "" "aws-sdk-nodejs/2.7.7 linux/v6.9.1"
<IP_ADDRESS> - - [23/Nov/2016:19:07:51 +0000] "PUT /buckets/mybucket/objects/city.fbx/uploads/l19UW2ICSJGe2vZ6KoWE8A==?partNumber=1 HTTP/1.1" 403 171 "" "aws-sdk-nodejs/2.7.7 linux/v6.9.1"
<IP_ADDRESS> - - [23/Nov/2016:19:07:51 +0000] "DELETE /buckets/mybucket/objects/city.fbx/uploads/l19UW2ICSJGe2vZ6KoWE8A== HTTP/1.1" 403 171 "" "aws-sdk-nodejs/2.7.7 linux/v6.9.1"

When uploading a file with s3cmd, I have no problem, and in the logs, I see more or less the same, except the PUT requests succeed and return 200.
<IP_ADDRESS> - - [23/Nov/2016:19:30:11 +0000] "POST /buckets/mybucket/objects/test2.obj/uploads HTTP/1.1" 200 237 "" ""
<IP_ADDRESS> - - [23/Nov/2016:19:30:13 +0000] "PUT /buckets/mybucket/objects/test2.obj/uploads/xlYIwbH0TSyZDQQ1GlCLRQ==?partNumber=1 HTTP/1.1" 200 0 "" ""
<IP_ADDRESS> - - [23/Nov/2016:19:30:13 +0000] "PUT /buckets/mybucket/objects/test2.obj/uploads/xlYIwbH0TSyZDQQ1GlCLRQ==?partNumber=2 HTTP/1.1" 200 0 "" ""
<IP_ADDRESS> - - [23/Nov/2016:19:30:15 +0000] "PUT /buckets/mybucket/objects/test2.obj/uploads/xlYIwbH0TSyZDQQ1GlCLRQ==?partNumber=3 HTTP/1.1" 200 0 "" "
<IP_ADDRESS> - - [23/Nov/2016:19:30:17 +0000] "POST /buckets/mybucket/objects/test2.obj/uploads/xlYIwbH0TSyZDQQ1GlCLRQ== HTTP/1.1" 200 303 "" ""

The only difference I see there is the "aws-sdk-nodejs/2.7.7 linux/v6.9.1" in the requests made from aws-sdk, but I'm not sure what this corresponds to.
Is there any way to have more information in the access logs ? Know why the access was denied ?

I managed to get the upload to work, switching to AWS signature v4 on the client and riak-cs. Sort of.
I don't get AccessDenied errors anymore, but the data received is not good. If I redownload the file, I can see it has the HTTP request headers in it, for example:
PUT http://mybucket.s3.amazonaws.com//myfile?partNumber=1&uploadId=LV7CIfHgR8WUwHrJpAQ_Rg%3D%3D HTTP/1.1
User-Agent: aws-sdk-nodejs/2.7.7 linux/v6.9.1
Content-Length: 15728640
Content-Type: application/octet-stream
X-Amz-Content-Sha256: d9834d60be1558bf29031d86368b59306494dacf297f46d7ec719b9fc4b3ec6e
Host: source.s3.amazonaws.com
Expect: 100-continue
X-Amz-Date: 20161124T111905Z
Authorization: AWS4-HMAC-SHA256 Credential=T9X4CT-N5O_4AN6RHRGF/20161124/us-east-1/s3/aws4_request, SignedHeaders=host;x-amz-content-sha256;x-amz-date, Signature=854ab2b53cb220cea37f83936d52722b4a8354ed5c4bd972814e9c78121ba8d2
Connection: close

I get the same behavior wether using s3cmd or aws-sdk, so it's definitely a problem on riak-cs' end. What could cause such a behavior ? Is there anything in the conf I should check ?

I was able to get the upload to work as expected, rolling back aws-sdk to v2.1.0 (from... december 2014 !!).
v2.1.1 fails, and here's their changelog:
https://aws.amazon.com/releasenotes/9016743283037269
I'm guessing the part that could be problematic is the following:

AWS.S3 Expect 100-continue
The SDK will now add Expect headers for large (1MB+) payloads in AWS.S3 to reduce the chance of connections being closed due to throttling or other authentication errors. See GitHub issue #135.

Riak CS' v4 auth support is half-baked and not mature.
I'm not sure but there is one open pull request in aws-sdk-js https://github.com/aws/aws-sdk-js/pull/530 which may leads multipart requests to AccessDenied in v2 auth scheme.
HTH.

As for 100 Continue,  the behavior in http protocol layer is treated in WebMachine and well-tested.
Thanks for your effort to trim down the issue between 2.1.0 and 2.1.1. There are several commits those are not listed in the changelog.  Just my wild guess, the commit [1] between these releases may be the cause of AccessDenied (URL encoding of query params are very subtle in v2 scheme).
[1] https://github.com/aws/aws-sdk-js/commit/4ec169808494a2d9eab9641c636dc4ce1886aab0

Ok thanks for these replies. I will try your fix once I have time. It seems to be working fine right now with v4 signature so I'm not in a rush anymore.
The problem from v2.1.0 to 2.1.1 is not the access denied thing. It's the body content that is saved to the file containing the HTTP header.

Maybe I should open an other issue for the body content problem, so that there is no mixup ?


WSL completely stuck after KB5007215

Version
10.0.22000.318
WSL Version

[X] WSL 2
[ ] WSL 1

Kernel Version
<IP_ADDRESS>
Distro Version
Ubuntu 20.04
Other Software
Docker Desktop 4.0.1
Repro Steps
Just run any WSL command (except --help)
Expected Behavior
I expect to be able to list the installation or launch one
Actual Behavior
Nothing happen, it just hang

.
Diagnostic Logs
No response

I have already tested almost all the solution suggested in similar kind of problem.
Even installing a new distribution doesn't work.

similar problem

Complementary Feedback : I have removed everything, unregister all instance, uninstall WSL, uninstall Docker Desktop, reinstall WSL. Command wsl -l works fine until I am adding a first distribution. And then, once again, everything hang...

/logs

I have exactly the same issue after updating Windows 10 21H1 with KB5007186.

I have the same issue after the KB5007215 update. Typing e.g. wsl takes ~5-10 minutes to complete and shows an error that the Server failed to start. When uninstalling the mentioned update, wsl works again.
I submitted the logs via Feedback Hub before uninstalling the KB5007215 update. Unfortunately it did not show a link that I can provide you with. However, I published it around 25 minutes ago and included the github issue in the description, so you may find it?

didn't see this thread before raising this  🤦
https://github.com/microsoft/WSL/issues/7692

I uninstalled the mentioned update. After this, wsl started again. Windows automatically installed the KB update some time later and wsl still starts after reboot. So uninstalling and reinstalling fixed the issue for me.
Did someone try this as well and did it fix the issue?

remove update ,
and restart,
it's work!

Had this as well, also my Ubuntu user dir was gone. A restart (without reverting the update) fixed it here.

I have the same problem and you can access the logs here: https://aka.ms/AAew9os

By the way, can someone tell me how can I uninstall a update. For me Windows 11 Insider Preview 22504.1000 (rs_prerelease) broke the WSL


Asyncio Error After Version 0.9.0 Update

After updating the hrequests package to version 0.9.0, our application started crashing with the following error:

RuntimeError: asyncio.run() cannot be called from a running event loop
Full log error :
Downloading hrequests-cgo library from daijro/hrequests...
100% ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 14.8/14.8 MB 9.8 MB/s
Traceback (most recent call last):
  File "/home/appuser/.local/bin/uvicorn", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/home/appuser/.local/lib/python3.12/site-packages/click/core.py", line 1157, in __call__
    return self.main(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/appuser/.local/lib/python3.12/site-packages/click/core.py", line 1078, in main
    rv = self.invoke(ctx)
         ^^^^^^^^^^^^^^^^
  File "/home/appuser/.local/lib/python3.12/site-packages/click/core.py", line 1434, in invoke
    return ctx.invoke(self.callback, **ctx.params)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/appuser/.local/lib/python3.12/site-packages/click/core.py", line 783, in invoke
    return __callback(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/appuser/.local/lib/python3.12/site-packages/uvicorn/main.py", line 412, in main
    run(
  File "/home/appuser/.local/lib/python3.12/site-packages/uvicorn/main.py", line 579, in run
    server.run()
  File "/home/appuser/.local/lib/python3.12/site-packages/uvicorn/server.py", line 65, in run
    return asyncio.run(self.serve(sockets=sockets))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/asyncio/runners.py", line 194, in run
    return runner.run(main)
           ^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/asyncio/runners.py", line 118, in run
    return self._loop.run_until_complete(task)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/asyncio/base_events.py", line 687, in run_until_complete
    return future.result()
           ^^^^^^^^^^^^^^^
  File "/home/appuser/.local/lib/python3.12/site-packages/uvicorn/server.py", line 69, in serve
    await self._serve(sockets)
  File "/home/appuser/.local/lib/python3.12/site-packages/uvicorn/server.py", line 76, in _serve
    config.load()
  File "/home/appuser/.local/lib/python3.12/site-packages/uvicorn/config.py", line 434, in load
    self.loaded_app = import_from_string(self.app)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/appuser/.local/lib/python3.12/site-packages/uvicorn/importer.py", line 19, in import_from_string
    module = importlib.import_module(module_str)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/importlib/__init__.py", line 90, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 995, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/app/main.py", line 12, in <module>
    from myapp.api import ar, router
  File "/app/myapp/api/__init__.py", line 2, in <module>
    from .dig import ar, router
  File "/app/myapp/api/dig.py", line 35, in <module>
    from ..excavators.company import Company, DomainName, company_by_domain
  File "/app/myapp/excavators/company.py", line 13, in <module>
    import hrequests
  File "/home/appuser/.local/lib/python3.12/site-packages/hrequests/__init__.py", line 33, in <module>
    from .session import Session, TLSSession, chrome, firefox
  File "/home/appuser/.local/lib/python3.12/site-packages/hrequests/session.py", line 5, in <module>
    from browserforge.headers import Browser as BFConstraints
  File "/home/appuser/.local/lib/python3.12/site-packages/browserforge/headers/__init__.py", line 3, in <module>
    DownloadIfNotExists()
  File "/home/appuser/.local/lib/python3.12/site-packages/browserforge/download.py", line 159, in DownloadIfNotExists
    Download()
  File "/home/appuser/.local/lib/python3.12/site-packages/browserforge/download.py", line 150, in Download
    asyncio.run(AsyncDownload(headers=headers, fingerprints=fingerprints))
  File "/usr/local/lib/python3.12/asyncio/runners.py", line 190, in run
    raise RuntimeError(
RuntimeError: asyncio.run() cannot be called from a running event loop
sys:1: RuntimeWarning: coroutine 'AsyncDownload' was never awaited

Downgrading to hrequests v0.8.1 resolves the issue, and the application runs without errors.
Environment:

Python version: 3.12

hrequests version: 0.9.0 (issue occurs with this version)

uvicorn: 0.32.0

OS:  Debian (based on python:3.12-slim image)

Docker version: 27.3.1

Hello, what version of Browserforge do you have installed?
python3 -m pip freeze | grep browserforge

Hello, what version of Browserforge do you have installed?
python3 -m pip freeze | grep browserforge

browserforge v1.1.2


Wrong odata.bind name?

Don't think<EMAIL_ADDRESS>is right in the document, it should be<EMAIL_ADDRESS>
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: e6444b56-0e82-a336-244d-67e4c3aeed05
Version Independent ID: cb15df8b-5ef7-25b4-24cb-a48a4ec14e9d
Content: Associate and disassociate entities using the Web API (Common Data Service for Apps) - PowerApps
Content Source: powerapps-docs/developer/common-data-service/webapi/associate-disassociate-entities-using-web-api.md
Service: crm-online
GitHub Login: @brandonsimons
Microsoft Alias: jdaly

The documentation is correct. The odata.bind for customerid is<EMAIL_ADDRESS>for account and<EMAIL_ADDRESS>for contact binding.

@dwcai The documentation is correct.


bug: textarea with focus does not disappear on device when view changes

I made a very simple example at http://codepen.io/anon/pen/ExsaH
But you have to test it on some device to catch the bug.
For me, I am using android 4.0.4.

click the next button
focus on the textarea, and you can also input some text
click the prev button

You can see the textarea (the focus border and the text you inputed) remains.

Greetings @zwz!
I'm sorry, but my sensors indicate that this issue may no longer apply to recent versions of Ionic.
If you are still experiencing this issue, please feel free to reopen it by creating a new issue and provide the following information, so that I may assist you:

Can you provide a detailed description of this issue?
How would a robot go about replicating this issue?
On which platform does this occur? (iOS, Android, all, etc.)
On which platform versions does this occur? (Android 4.2, iOS 7, all, etc.)
Is this an issue with the Ionic Framework or Ionic CLI?

Additionally, providing a codepen that replicates the issue is extremely helpful.
If you wish to get help using the framework itself, I recommended visiting the forum. There are many humans there who can offer sage advice.
Thank you for allowing me to assist you.


Cannot attach to node process when no folder is opened

VSCode Version: 1.32.1
OS Version: Windows 10

Steps to Reproduce:

Launch VSCode.
Run Debug: Attach to Node Process command, select arbitrary node process.
It crashes:

Does this issue occur when all extensions are disabled? Not reproducible, since the node debug adapter is also disabled.

This looks like it is coming from the node debug extension. Leaving up to @weinand and @roblourens

Originally I had the issue when my extension tried to launch the node debug adapter via a provided debug configuration. When I changed the type to node2, the mentioned exception didn't happen any more.

@weinand @connor4312 mentioned this is also an issue for multiroot workspaces

Thanks for the tag. Multi-root actually isn't a problem here because up on L78 we'll just pick whatever the first-ordered workspace folder is. It was an issue for PWA due to the order in which we applied defaults--we created a fully default-filled version of the config, which the resolver then saw was configured and therefore skipped the logic.
Actually looking back on it, in PWA I think it would be safe to just not set any of the defaults and let the resolver handle it. That'd let us remove the hacky code we have around string-replacing the workspaceFolder. We'd also need to add logic in the resolver to clear out the sourceMapOverrides section which has some defaults containing workspaceFolder; if there's no workspace open, the defaults will never be useful to us. I'll try it out Monday morning.


Align mvnd m39 with Maven 3.9.x re config interpolation

Port Maven 3.9.6 config and new properties (session.root/top) interpolation into Daemon m39.
The IT got this property as it triggers exception (failure) if mvn39 could not "discover" top directory.
Fixes #910

@wendigo ping

@wendigo Would be grateful if you build mvnd locally and try it with Trino build, it should now work OOTB. No need for native and all that, just mvn clean install and use it on Trino build. Thanks!

Will do @cstamas

@cstamas unfortunately still doesn't work for our case. I've tried reapplying: https://github.com/trinodb/trino/commit/ff1cddbd31d70610952922b19c13bd957e33f00f and that works in mvn but not in mvnd

Adding -Dmodernizer.violationsFile=${session.rootDirectory}/.mvn/modernizer/violations.xml to the .mvn/maven.config ends with the exception:
[ERROR] Failed to execute goal org.gaul:modernizer-maven-plugin:2.7.0:modernizer (modernizer) on project trino-root: Error opening violation file: ${session.rootDirectory}/.mvn/modernizer/violations.xml: ${session.rootDirectory}/.mvn/modernizer/violations.xml (No such file or directory) -> [Help 1]


Logging nits

PR Description

Change builder availability logging message. is offline\is online could be misleading
Remove Execution Client request succeeded after a previous failure. I don't think that is a very useful log message and could be misinterpreted that the previously failed request succeeded when in fact it is any execution client method success.

Fixed Issue(s)
N/A
Documentation

[X] I thought about documentation and added the doc-change-required label to this PR if updates are required.

Changelog

[X] I thought about adding a changelog entry, and added one if I deemed necessary.

I'm OK with the first point. Not sure about the second. I see some usefulness in it, maybe we could find a message that sound better to you. @benjaminion do you have an opinion\suggestion here?

Yeah I think we need a message to indicate that the execution client is responding to requests again otherwise there's no way to know when you've fixed the issue.

Yeah I think we need a message to indicate that the execution client is responding to requests again otherwise there's no way to know when you've fixed the issue.

Yeah agree. Modified the message a bit. Think it makes more sense now.


Error: 'The aura is supposed to be active in raid or group only.' when hovering auras area after leaving an battleground

The investigation showed, that the error is caused by delayed asynchronous events which come after the 'GROUP_ROASTER_UPDATE' has disabled all the tooltips.
Possible solution: implement generations.


Change CMake RPATH

If you use the existing settings for RPATH, coreir fails if you
make build
make install
make clean

due to coreir: error while loading shared libraries: libcoreir.so: cannot open shared object file: No such file or directory
This PR modifies RPATH according to the suggestions at https://gitlab.kitware.com/cmake/community/wikis/doc/cmake/RPATH-handling#always-full-rpath which relinks all libraries when installing so the RPATH resolves correctly when things are cleaned.

Note this should also fix the LD_LIBRARY_PATH shenanigans people were running into before.


variable 'fullRect' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]

[15:11:11]: ▸ Compiling HMSegmentedControl.m
[15:11:11]: ▸ ⚠  /Users/user/projects/fs/mobile/FS/Pods/HMSegmentedControl/HMSegmentedControl/HMSegmentedControl.m:299:24: variable 'fullRect' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
[15:11:11]: ▸ } else if (self.segmentWidthStyle == HMSegmentedControlSegmentWidthStyleDynamic) {
[15:11:11]: ▸                        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[15:11:11]: ▸ ⚠  /Users/user/projects/fs/mobile/FS/Pods/HMSegmentedControl/HMSegmentedControl/HMSegmentedControl.m:756:16: variable 'rectForSelectedIndex' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
[15:11:11]: ▸ } else if (self.segmentWidthStyle == HMSegmentedControlSegmentWidthStyleDynamic) {
[15:11:11]: ▸             ^
[15:11:11]: ▸ Compiling HMSegmentedControl-dummy.m
[15:11:11]: ▸ Compiling HMSegmentedControl.m
[15:11:11]: ▸ ⚠  /Users/user/projects/fs/mobile/FS/Pods/HMSegmentedControl/HMSegmentedControl/HMSegmentedControl.m:299:24: variable 'fullRect' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
[15:11:11]: ▸ } else if (self.segmentWidthStyle == HMSegmentedControlSegmentWidthStyleDynamic) {
[15:11:11]: ▸     ^
[15:11:11]: ▸ ⚠  /Users/user/projects/fs/mobile/FS/Pods/HMSegmentedControl/HMSegmentedControl/HMSegmentedControl.m:756:16: variable 'rectForSelectedIndex' is used uninitialized whenever 'if' condition is false [-Wsometimes-uninitialized]
[15:11:11]: ▸ } else if (self.segmentWidthStyle == HMSegmentedControlSegmentWidthStyleDynamic) {
[15:11:11]: ▸             ^

warnings from HMSegmentedControl