Uncaught Exception

I'm really excited to see you've taken on this project, it definitely had some issues but was so great to use!
I switched my config from hyperterm-overlay to hyper-overlay and left my prior settings in place but I'm getting the following error any time I open Hyper, reload the window or bring up the overlay with the keyboard shortcut.
Uncaught Exception:
TypeError: Error processing argument at index 0, conversion failure from #<Object>
    at Overlay._endBounds (/Users/cwhite/.hyper_plugins/node_modules/hyper-overlay/overlay.js:331:17)
    at Overlay.show (/Users/cwhite/.hyper_plugins/node_modules/hyper-overlay/overlay.js:434:10)
    at _create (/Users/cwhite/.hyper_plugins/node_modules/hyper-overlay/overlay.js:48:14)
    at _app.createWindow (/Users/cwhite/.hyper_plugins/node_modules/hyper-overlay/overlay.js:126:9)
    at Server.Window.rpc.on (/Applications/Hyper.app/Contents/Resources/app.asar/ui/window.js:76:33)
    at emitOne (events.js:115:13)
    at Server.emit (events.js:210:7)
    at Server.ipcListener (/Applications/Hyper.app/Contents/Resources/app.asar/rpc.js:33:11)
    at emitTwo (events.js:125:13)
    at EventEmitter.emit (events.js:213:7)

Hyperterm-overlay does not throw an error.
Unless I'm missing something it looks like the config hasn't changed except possibly the hotkey set to two different options. I updated my configuration with open/close but am still getting the error.
It does not appear to get far enough to move and resize the window.
Here are my settings:
// hyperterm-overlay
		overlay: {
			alwaysOnTop   : false,     // Makes Hyperterm Overlay window stay always on top. default: `true`.
			animate       : false,     // Enable animation when show and hide the window. default: `true`.
			hasShadow     : true,      // Controls the default macOS window shadows. default: `false`.
			hideDock      : false,     // Removes the Hyper dock icon. It works only when the unique option is activated. default: `false`.
			hideOnBlur    : false,     // Hides the Hyperterm Overlay when it loses focus. default: `false`.
			position      : 'right',   // Choose where Hyperterm Overlay will be positioned: top, bottom, left or right. default: `top`.
			primaryDisplay: false,     // Show Hyperterm Overlay only on primary display. default: `false`.
			resizable     : false,     // Allow the Hyperterm Overlay be resizable. default: `false`.
			startAlone    : false,     // Makes HyperTerm Overlay the unique window displayed when started. default: `false`.
			startup       : true,      // Open HyperTerm Overlay on Hyper startup. default: `true`.
			tray          : false,     // Add icon to the system notification area, for access HyperTerm Overlay. default: `true`.
			unique        : false,     // Makes HyperTerm Overlay the unique window of Hyper. any other window will be removed. default: `false`.

			// Specify one or more hotkeys to show and hide the HyperTerm Overlay (see: Accelerator documentation). default: `['Option+Space']`
			hotkeys: {
				open : ['Control+Option+Shift+F6'],
				close: ['Control+Option+Shift+F6'],
			},

			// The size of HyperTerm Overlay when it is showing. The possible values are a `number` or a `float`. If is is a number, it represents the size im pixels. Otherwise, if it is a float, it means the percentage of the screen.
			size: 0.5,
		},

This happens both in Hyper 2.0.0 (Stable) and Canary; with and without any other plugins. macOS 10.13.5 (17F77). Here's my full config
Plugins:
  hyperterm-paste (1.1.2),
  hyper-search (0.0.10),
  hyper-overlay (1.2.1),
  hyper-statusline (1.7.6),
  hyper-tab-icons (2.1.0),
  hypercwd (1.2.3)

If it would be helpful for troubleshooting I'm happy to jump on your Discord.

Same happens to me, but I can circumvent it by removing the size property from the config. If I put it back, regardless of whether it's a single integer or an object with width and height, it throws the same error.

If this issue still persists after correcting your config please re-open it. Otherwise it will be closed for now since as far as I can tell it doesn't appear to be an issue with the plugin itself.

My apologies @Favna, this fell off my radar but I just changed my configuration to a size object with width and height and I'm no longer getting an error. Looks like @cobrabr had nailed it. Thanks both of you guys!

When I change my config and set size to be an object, I get the following error when I open Hyper:

If I move it back to a number, it works fine.

@cobrabr can you confirm that your Hyper properly updated the plugin to the latest version by opening the package.json of the plugin folder wherever those are stored on MacOS? It should be 1.2.1

It looks like I had both hyper-overlay and hyperterm-overlay installed (honestly, I hadn't even noticed the change in the name :blush:).
I removed the old one and reinstalled hyper-overlay -- the package.json under .hyper_plugins says latest for hyper-overlay, and the package.json inside hyper-overlay's folder says 1.2.1.

I had to make it a new name due to how NPM register works and I don't really feel like appealing for taking over the old project for it being abandoned (which is an option in NPM's publishing rules).
Good you found out why then.

Oh, it's still failing... I'm trying to re-pinpoint which configuration option is actually throwing things off.

It looks like it's the hotkeys option -- have it set to ['Super+`'], which worked fine with the old version, but seems to be failing with the new one.

Sorry for the spam, but I think it's finally OK: looking at some other issues, I found that hotkeys is also an object now, with open and close as properties. I've changed my config to that, and it's now working.


feat: added dockerfile and docker-compose

Added two new files to the repository: Dockerfile and compose.yml.
This update simplifies the process of running s3-browser quickly. By using Docker and Docker Compose, you can easily set up and start the application with minimal effort, ensuring a consistent environment every time.
Usage:
docker compose up -d

Hi Vítor, thanks for your contribution. Couple of notes:

Could you remove the superfluous leading and trailing spaces in the CMD instruction in Dockerfile?
Please add the syntax directive to the Dockerfile as it's a best practise. I usually use 1.4.0 version as it allows for use e.g. COPY --link (should we ever need it).
Rename the docker-compose.yaml to compose.yaml as that's the new default path Docker Compose looks for. I'm not really interested in keeping backwards compatible burden.
I'd like to keep things as simple as possible. So we should be fine with build: . in compose.yaml as that sets the build context to the currect directory and uses the default Dockerfile path.
The same goes for the env_file instruction which should be as simple as a flat env_file: .env.
Thanks.

@vitordm I thought about it a bit more and there are at least two problems with the current approach:

The Docker image won't build without Docker Compose, i.e. using docker build, because it won't have access to env variables needed for the build. Not everyone is willing to be using Docker Compose and the image has to be buildable even without it.
Using env_file in the compose.yaml provides the env variables both to the build process and to the runtime, which is undesirable. We only need the credentials (and the rest of vars) during the build and don't want it to be exposed during runtime. (I'm aware that finally the credentials are still hard-coded in the built index.html, but this at least lowers the vulnerability surface.)

We have couple of options to solve it:

Use build arguments using ARG in Dockerfile and declare every supported env variable that's used in the build. This still leaves some security issues as the arguments are then leakable using docker history on the final image.
Use build arguments as before but also use multi-stage build. In the build stage, we would provide arguments, build the app and in the runtime stage, we would just copy the files and there would be no trace of the credentials (well, apart from the index.html itself as noted above).
Use build secrets for passing the env file to the npm run build step. This has a downside in that you have to use .env file. This, on the other hand, is also an upside as that means you don't have to enumerate all the supported env variables on multiple places (webpack config, Dockerfile, compose.yaml, ...)

So I'd have a small preference for the last option using build secrets. What do you think?

@vitordm I thought about it a bit more and there are at least two problems with the current approach:

The Docker image won't build without Docker Compose, i.e. using docker build, because it won't have access to env variables needed for the build. Not everyone is willing to be using Docker Compose and the image has to be buildable even without it.
Using env_file in the compose.yaml provides the env variables both to the build process and to the runtime, which is undesirable. We only need the credentials (and the rest of vars) during the build and don't want it to be exposed during runtime. (I'm aware that finally the credentials are still hard-coded in the built index.html, but this at least lowers the vulnerability surface.)

We have couple of options to solve it:

Use build arguments using ARG in Dockerfile and declare every supported env variable that's used in the build. This still leaves some security issues as the arguments are then leakable using docker history on the final image.
Use build arguments as before but also use multi-stage build. In the build stage, we would provide arguments, build the app and in the runtime stage, we would just copy the files and there would be no trace of the credentials (well, apart from the index.html itself as noted above).
Use build secrets for passing the env file to the npm run build step. This has a downside in that you have to use .env file. This, on the other hand, is also an upside as that means you don't have to enumerate all the supported env variables on multiple places (webpack config, Dockerfile, compose.yaml, ...)

So I'd have a small preference for the last option using build secrets. What do you think?

Thanks for the detailed feedback. I understand your perspective; however, I view docker-compose as a method for quick local deployment, which is why I appreciate the "env" mode and the simplicity of executing docker-compose up.


hosted: chore: Revert "Add kirkstone instructions for mender-binary-delta."

This (partially) reverts commit 2b913dd.

I updated the acceptance criteria of MEN-5688 to restore this code at a later point


stack overflow

After recent update I get stack overflow error on app startup. It cycles between
github.com/jinzhu/gorm.(*Scope).GetStructFields

and
github.com/jinzhu/gorm.(*Scope).GetModelStruct

Hi @saboorian
Could you let me know your struct definition?

I trimmed my structs and it appears to be a problem with many2many relation:
type AA struct {
	Id int64
        BBs []BB `gorm:"many2many:aas_bbs;"`
}
type BB struct {
	Id int64
        AAs []AA `gorm:"many2many:aas_bbs;"`
}

Hi @saboorian
Just fixed that, thank you for your report.

Thanks for your quick response. :smiley:


Convert examples/learning/helloworld64.html to await/async

Pull Request
Convert examples/learning/helloworld64.html to await/async
Issue Pull Request solves
Closes #14122

@Snuffleupagus I am sorry for the conflicts. I would definitely learn from your input ahead of my future PR's.


Problem about accuracy of rotnet and how many data used for comparing the features

May I know what is the accuracy of rotnet to predict the angle of rotation? Also, how many data are used for evaluating the features got by rotnet? Is it full data or 10% or something else? Also, have you tried different models other than alexnet in it? Thanks.

The model they shared in the README gives 79.37% (rotation prediction) accuracy on the validation split of ImageNet.


Prevent hard crash with guide curves

Description
fixes #766. I did not add an assert to CTiglPointToBSpline as mentioned in the issue description, because

checking for uniqueness up to floating point precision is not super trivial, especially since the class takes a Handle(TColgp_HArray1OfPnt) and not an std::vector
It's not really related to the issue
The assert would only help in debug mode and uncover a fringe case of misuse.

How Has This Been Tested?
I added a new unit test dedicated to #766.
Checklist:

[x] A test for the new functionality was added.
[x] All tests run without failure.
[x] The new code complies with the TiGL style guide.
[ ] New classes have been added to the Python interface.
[ ] API changes were documented properly in tigl.h.

Do you have an idea, why some tests are now failing?

Yes, I forgot about the Nacelle Guide Curves, where the normalized coordinate spanning the two sections is in the x-component and not the y-component...I will fix it on Monday!

@rainman110 The failing builds should be resolved. I now added the check to the dedicated guide curve builders for fuselages and wings. For nacelles, it was already implemented here and here.
The code coverage is decreased slightly now, because I introduced some redundancy in the exception handling: The catch-part of the try-catch block isn't executed in any of the tests, because the issue that provoked the crash in #767  is handled earlier in the guide curve builders. The coverage diff rounds to 0.00% for the whole project, so hey... 🤷

Codecov Report

Merging #767 (e34ea10) into master (1060d6f) will increase coverage by 0.00%.
The diff coverage is 63.63%.

@@           Coverage Diff           @@
##           master     #767   +/-   ##
=======================================
  Coverage   69.44%   69.44%
=======================================
  Files         425      425
  Lines       23359    23369   +10
=======================================
+ Hits        16222    16229    +7
- Misses       7137     7140    +3

Impacted Files
Coverage Δ

src/guide_curves/CTiglCurveConnector.cpp
94.44% <33.33%> (-0.56%)
:arrow_down:

...fuselage/CTiglFuselageSegmentGuidecurveBuilder.cpp
83.33% <75.00%> (-0.88%)
:arrow_down:

src/wing/CTiglWingSegmentGuidecurveBuilder.cpp
82.60% <75.00%> (-0.73%)
:arrow_down:


Regarding issue #4

1- Added contact me section
2- adjusted the headers

@s-dabral If your PR is not ready, you can always draft your PR.


733-Add  all card components to exports

Closes #733 Closes #63
Summary
Adding TableCard, TimeSeriesCard and ImageCard to our exports file. Currently they are only used internally in CardRenderer.
Acceptance Test (how to verify the PR)

You should see them available in the local lib folder if you build the project.

:tada: This PR is included in version 2.15.6 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Implement ts target

Implement target for typescript files.

Oh wow! Typescript! I haven't had chance to play with it yet, but thanks!


Intermittent restart/crash

I had implemented obfuscator in my module - working fine in local but not in live
compact: true,
controlFlowFlattening: false,
debugProtection: false,
debugProtectionInterval: false,
disableConsoleOutput: true,
rotateStringArray: true,
selfDefending: true,
stringArray: true,
domainLock: ["xxx.com"],
stringArrayEncoding: false,
stringArrayThreshold: 0.75,
unicodeEscapeSequence: false

Hi, can you provide more detailed error description?

this is the heap trace

You tried to run javascript-obfuscator in browser? It designed to run under Node.js

yes we are running in both browser as well as node.
how does it relate to the current OOM(out of memory) issue ?

How many lines of code in project?

I cant provide source code.
Can you please take standalone javascript code (around 500-600 lines) and try to execute it

I tested obfuscator on angular 2 bundle, around 70k loc, without any problems

this is server side..

Closed due to inactivity time, small amount of information and unsupported environment by project.

@sanex3339 I have a dynamically generated Javascript (some randomness involved)for each request which needs to be sent to the browser. If we obfuscate the code which needs to be sent over to the browser, over a period of time the server is crashing because of out of memory issue. It looks like the cache here https://github.com/javascript-obfuscator/javascript-obfuscator/blob/master/src/utils/Utils.ts#L14 is piling up over a period of time due to randomness in the javascript code. Is there a way to cleanup the cache or having cache maintained for only one call. Could you please suggest?

I should clear all static caches after obfuscation.

Thanks @sanex3339 for re opening the issue. When can we expect this fix to be published as part of 0.10.0? There is an urgency for this fix and I see my app is getting crashed often.  If this takes longer time, I can take fork from your repo and make temporary fix and use it for sometime till the actual fix made from your side. Thanks for your help.

I'll release 0.10.0-beta.5 today or in a few next days.
If you eant to create fork - be aware.
Most easiest way is to clear this static cache in the obfuscate method, but this method will call during obfuscation few times to obfuscate code of custom nodes. This happens two times - before  and after AST tree obfuscation, so static cache will be unexpected cleared before and after transformations. From now it looks like that it wont affect cache of main transformation stage, but be aware.
In next beta release i will extract this cache and encoding method to separate non-static class, so it wont have any unexpected sideeffects during recursive calls.

I'm working on it. This fix required much more internal changes than i expected.

Hi again. @vasist, @venky352 please try new<EMAIL_ADDRESS>Problem should be (i hope) fixed.

Thanks @sanex3339 for fixing it. We will check If this fixed our issue and let you know.

Any news?

Problem should be fixed. Please reopen issue if not.

Maybe this is related:
<--- Last few GCs --->

[69633:0x103802800]   227597 ms: Scavenge 2020.0 (2027.2) -> 2019.5 (2037.7) MB, 11.7 / 0.0 ms  (average mu = 0.111, current mu = 0.040) allocation failure
[69633:0x103802800]   227630 ms: Scavenge 2026.4 (2037.7) -> 2025.1 (2038.7) MB, 22.7 / 0.0 ms  (average mu = 0.111, current mu = 0.040) allocation failure
[69633:0x103802800]   227653 ms: Scavenge 2027.3 (2038.7) -> 2026.2 (2059.7) MB, 19.6 / 0.0 ms  (average mu = 0.111, current mu = 0.040) allocation failure

<--- JS stacktrace --->

==== JS stack trace =========================================

    0: ExitFrame [pc: 0x100930c99]
Security context: 0x21d5bff808a1 <JSObject>
    1: charCodeAt [0x21d5bff8cb29](this=0x21d603ac0111 <Very long string[50070008]>,0x21d569f52911 <HeapNumber 4.49379e+07>)
    2: btoa(aka value) [0x21d570d56369] [/Users/jesus/Repositories/ProtectedJS/node_modules/javascript-obfuscator/dist/index.js:~24] [pc=0xe60560f6f5f](this=0x21d5892a1529 <e map = 0x21d5774286b1>,0x21d58929d741 <Very long st...

FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
 1: 0x10007e9b3 node::Abort() [/usr/local/bin/node]
 2: 0x10007eb37 node::OnFatalError(char const*, char const*) [/usr/local/bin/node]
 3: 0x100176337 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [/usr/local/bin/node]
 4: 0x1001762d3 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [/usr/local/bin/node]
 5: 0x1002fa485 v8::internal::Heap::FatalProcessOutOfMemory(char const*) [/usr/local/bin/node]
 6: 0x1002fbb54 v8::internal::Heap::RecomputeLimits(v8::internal::GarbageCollector) [/usr/local/bin/node]
 7: 0x1002f8a27 v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::GCCallbackFlags) [/usr/local/bin/node]
 8: 0x1002f6a0d v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/usr/local/bin/node]
 9: 0x1002f58c1 v8::internal::Heap::HandleGCRequest() [/usr/local/bin/node]
10: 0x1002bac3f v8::internal::StackGuard::HandleInterrupts() [/usr/local/bin/node]
11: 0x1005f7b6c v8::internal::Runtime_StackGuard(int, unsigned long*, v8::internal::Isolate*) [/usr/local/bin/node]
12: 0x100930c99 Builtins_CEntry_Return1_DontSaveFPRegs_ArgvOnStack_NoBuiltinExit [/usr/local/bin/node]
Abort trap: 6

I use it with node 12.13.1 all in node side, not browser.

@jhg try to increase max heap size with node flag max_old_space_size.

@jhg  I don't know if you're still facing this issue. I faced it and tried to increase max heap size without any effect. For me the solution was to disable selfDefending.

@kiliangr Are you getting this problem during runtime of your obfuscated code?
Self defending completely freezes code if this code is modified in some way.
So, be sure, that you don't touch code after obfuscation.

This was happening only when running tests with nock on the obfuscated server. I will look into the tests in details but for now I am running the server without self defending.

I was thinking to use it with electron, I'm not sure if it's possible that the built app run with that flag always.
Anyway, @kiliangr, also I tested with others how difficult it was to face with obfuscate code and... ok, maybe someone even don't try, but very few time. Less of one hour, a second time even less. Maybe or only minify or if really need obfuscation better try wasm or native modules if it's for node.


Add description to priority queue

The idea of this PR is to add some basic time logging of executing tasks of the priority queue. The overhead for the descriptions should be minimal.
Add a description string to priority queue so that when executing a task from the queue timing can report what task was executed
Add a #define to enable logging of tasks that take longer than 5000 microseconds

Closing this for now. It was more for debugging.


New version: CameraCalibrations v0.2.2

Registering package: CameraCalibrations
Repository: https://github.com/yakir12/CameraCalibrations
Created by: @yakir12
Version: v0.2.2
Commit: 13faf3411de8ebbe40ec0a963f71c282e4876ae6
Git reference: master
Release notes:

bumped version and removed unnecessary output to the REPL.

Same old, this package depends on MATLAB.jl which in turn depends on the proprietary program Matlab and therefore can't easily be worked into CI. Please manually merge this, thank you!

Same old, this package depends on MATLAB.jl which in turn depends on the proprietary program Matlab and therefore can't easily be worked into CI. Please manually merge this, thank you!


Running npm test

Hi,
Thanks for the great polyfill. :-)
When running make for the project, there are no tests executed. Is there a twist to make the test work from the command line or are they currently not working?

tests are run via index.html and also published here ... do you have any better idea on how to test this everywhere via npm? 'cause testing in every browser is what I've done manually in my intranet befoore pushing this out.

After I have made my own built, the index.html is still stating that there are "0" tests to run. :-/
In general I would favor to have the tests run against a basic set of local webdrivers by default. So we could assume that phantomjs or webdriver are existing and run the test-suite against them. Whether this would involve a test runner like karma, I don't know.
The second option was to actually make the repository run against a free selenium cluster through TRAVIS CI. There is also the project https://github.com/Ultralight-Elements/ultralight-platform which is already combining dom4 and document-register-element to be run against a SauceLabs stack.

I love https://github.com/Ultralight-Elements/ultralight-platform
all-in-one solution, so there's nothing to do here? :-)
On Mon, Mar 9, 2015 at 10:30 AM, Frank Wambutt<EMAIL_ADDRESS>wrote:

After I have made my own built, the index.html is still stating that
there are "0" tests to run. :-/
In general I would favor to have the tests run against a basic set of
local webdrivers by default. So we could assume that phantomjs or webdriver
are existing and run the test-suite against them. Whether this would
involve a test runner like karma, I don't know.
The second option was to actually make the repository run against a free
selenium cluster through TRAVIS CI. There is also the project
https://github.com/Ultralight-Elements/ultralight-platform which is
already combining dom4 and document-register-element to be run against a
SauceLabs stack.
—
Reply to this email directly or view it on GitHub
https://github.com/WebReflection/document-register-element/issues/13#issuecomment-77830242
.

;-) Well, it is not picking up the changes by default. But maybe we should reach out to the author to make it build on dependency changes.

I've updated the package so that you can npm run web and test directly on the localhost link. It does not actually solve the problem but it might be a solution if combined with phantomjs or similar.

actually, when I've set up twemoji tests, I remember telling Travis how to check my stuff through testrunner file

added phantom js and build system as you can see:
https://github.com/WebReflection/document-register-element#document-register-element
it's passing ^_^

Great additions. Thanks.


[CI Failure]: RunIndividualTestCase-http2/6.2/1, HTTPS:True, Sends a HEADERS frame without the END_HEADERS flag, and a PRIORITY frame in 30.0323824s

| [0.004s] TestLifetime Information: Starting test RunIndividualTestCase-http2/6.2/1, HTTPS:True, Sends a HEADERS frame without the END_HEADERS flag, and a PRIORITY frame at 2019-02-09T03:19:43
| [0.005s] Microsoft.AspNetCore.Hosting.Internal.WebHost Debug: Hosting starting
| [0.022s] Microsoft.AspNetCore.Hosting.Internal.WebHost Debug: Hosting started
| [0.022s] Microsoft.AspNetCore.Hosting.Internal.WebHost Debug: Loaded hosting startup assembly Interop.FunctionalTests
| [0.076s] Interop.FunctionalTests.H2SpecTests Debug: Hypertext Transfer Protocol Version 2 (HTTP/2)
| [0.077s] Microsoft.AspNetCore.Server.Kestrel Debug: Connection id "0HLKE7LI5E6H0" started.
| [0.079s] Interop.FunctionalTests.H2SpecTests Debug:   6. Frame Definitions
| [0.079s] Interop.FunctionalTests.H2SpecTests Debug:     6.2. HEADERS
| [0.096s] Microsoft.AspNetCore.Server.Kestrel Trace: Connection id "0HLKE7LI5E6H0" sending SETTINGS frame for stream ID 0 with length 18 and flags NONE
| [0.096s] Interop.FunctionalTests.H2SpecTests Debug:            [send] SETTINGS Frame (length:6, flags:0x00, stream_id:0)
| [0.096s] Microsoft.AspNetCore.Server.Kestrel Trace: Connection id "0HLKE7LI5E6H0" sending WINDOW_UPDATE frame for stream ID 0 with length 4 and flags 0x0
| [0.096s] Interop.FunctionalTests.H2SpecTests Debug:            [recv] SETTINGS Frame (length:18, flags:0x00, stream_id:0)
| [0.096s] Microsoft.AspNetCore.Server.Kestrel Trace: Connection id "0HLKE7LI5E6H0" received SETTINGS frame for stream ID 0 with length 6 and flags NONE
| [0.096s] Interop.FunctionalTests.H2SpecTests Debug:            [send] SETTINGS Frame (length:0, flags:0x01, stream_id:0)
| [0.096s] Microsoft.AspNetCore.Server.Kestrel Trace: Connection id "0HLKE7LI5E6H0" sending SETTINGS frame for stream ID 0 with length 0 and flags ACK
| [0.097s] Interop.FunctionalTests.H2SpecTests Debug:            [recv] WINDOW_UPDATE Frame (length:4, flags:0x00, stream_id:0)
| [0.097s] Microsoft.AspNetCore.Server.Kestrel Trace: Connection id "0HLKE7LI5E6H0" received SETTINGS frame for stream ID 0 with length 0 and flags ACK
| [0.097s] Interop.FunctionalTests.H2SpecTests Debug:            [recv] SETTINGS Frame (length:0, flags:0x01, stream_id:0)
| [0.097s] Microsoft.AspNetCore.Server.Kestrel Trace: Connection id "0HLKE7LI5E6H0" received HEADERS frame for stream ID 1 with length 16 and flags NONE
| [0.097s] Interop.FunctionalTests.H2SpecTests Debug:            [send] HEADERS Frame (length:16, flags:0x00, stream_id:1)
| [0.097s] Interop.FunctionalTests.H2SpecTests Debug:            [send] PRIORITY Frame (length:5, flags:0x00, stream_id:1)
| [0.097s] Microsoft.AspNetCore.Server.Kestrel Trace: Connection id "0HLKE7LI5E6H0" received PRIORITY frame for stream ID 1 with length 5 and flags 0x0
| [0.097s] Interop.FunctionalTests.H2SpecTests Debug:            [send] CONTINUATION Frame (length:3512, flags:0x04, stream_id:1)
| [0.097s] Microsoft.AspNetCore.Server.Kestrel Information: Connection id "0HLKE7LI5E6H0": HTTP/2 connection error.
| Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http2.Http2ConnectionErrorException: HTTP/2 connection error (PROTOCOL_ERROR): The client sent a PRIORITY frame to stream ID 1 before signaling of the header block for stream ID 1.
|    at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http2.Http2Connection.ProcessPriorityFrameAsync() in /_/src/Servers/Kestrel/Core/src/Internal/Http2/Http2Connection.cs:line 590
|    at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http2.Http2Connection.ProcessFrameAsync[TContext](IHttpApplication`1 application, ReadOnlySequence`1 payload) in /_/src/Servers/Kestrel/Core/src/Internal/Http2/Http2Connection.cs:line 406
|    at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http2.Http2Connection.ProcessRequestsAsync[TContext](IHttpApplication`1 application) in /_/src/Servers/Kestrel/Core/src/Internal/Http2/Http2Connection.cs:line 306
| [0.098s] Microsoft.AspNetCore.Server.Kestrel Debug: Connection id "0HLKE7LI5E6H0" is closed. The last processed stream ID was 1.
| [0.098s] Microsoft.AspNetCore.Server.Kestrel Trace: Connection id "0HLKE7LI5E6H0" sending GOAWAY frame for stream ID 0 with length 8 and flags 0x0
| [0.098s] Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets Debug: Connection id "0HLKE7LI5E6H0" sending FIN because: "The Socket transport's send loop completed gracefully."
| [0.099s] Microsoft.AspNetCore.Server.Kestrel Debug: Connection id "0HLKE7LI5E6H0" stopped.
| [0.127s] Interop.FunctionalTests.H2SpecTests Debug:            [recv] Error: read tcp <IP_ADDRESS>:26782-><IP_ADDRESS>:26781: wsarecv: An established connection was aborted by the software in your host machine.
| [0.127s] Interop.FunctionalTests.H2SpecTests Debug:            [recv] Error: read tcp <IP_ADDRESS>:26782-><IP_ADDRESS>:26781: wsarecv: An established connection was aborted by the software in your host machine.
| [0.128s] Interop.FunctionalTests.H2SpecTests Debug:            [recv] Error: read tcp <IP_ADDRESS>:26782-><IP_ADDRESS>:26781: wsarecv: An established connection was aborted by the software in your host machine.
| [0.128s] Interop.FunctionalTests.H2SpecTests Debug:            [recv] Error: read tcp <IP_ADDRESS>:26782-><IP_ADDRESS>:26781: wsarecv: An established connection was aborted by the software in your host machine.
| [0.128s] Interop.FunctionalTests.H2SpecTests Debug:            [recv] Error: read tcp <IP_ADDRESS>:26782-><IP_ADDRESS>:26781: wsarecv: An established connection was aborted by the software in your host machine.
| [0.128s] Interop.FunctionalTests.H2SpecTests Debug:            [recv] Error: read tcp <IP_ADDRESS>:26782-><IP_ADDRESS>:26781: wsarecv: An established connection was aborted by the software in your host machine.
....

This should be fixed now.


add github ISSUE_TEMPLATE files

What is the change?

Updated bug_report.md to bug_report.yml to enable Github's form based issue template

https://youtu.be/qQE1BUkf2-s?t=23

added config.yml file to help direct users to the helpful pages

Motivation

encourage's bug reporter's to put more care into their bug report before submission
this may help maintainer's receive more detailed & higher quality bug report's
adds helpful tips for user's during the process of creating a bug/issue report

Demo of Change

this PR is similar to this one I created for remix-auth repo: https://github.com/sergiodxa/remix-auth/pull/87

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 89.447%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1201

Relevant Lines:
1282

💛  - Coveralls

Thank you


get rid of tmp build folder and start ignoring the dist folder

i think the concept of distinguishing between a tmp build folder for local development and a dist folder is unnecessarily complicated and that we should avoid tracking dist in version control.
this PR:

removes the tmp and dist folders from version control entirely
modifies the grunt dev to just build to the dist folder (whose changes are no longer tracked)
clarifies the new information in the readme (and points out that compiled source will only be included in tagged releases)
moves the sample index.html to begin loading content from the dist folder.

:+1: shmart


replaced "static unsigned const" to "static const unsigned" to avoid SWIG parsing error.

Solves issue #94 . This is hilarious and should be probably reported to SWIG.

Thanks for the contribution! Looks good to me, I'll run teh tests and make sure there are no issue with the end to end examples (ie android, python bindings, etc) and will merge. Appreciate it.

All tests and examples pass, looks good, thank you @0x0f0f0f !


Centralize documentation about config file location

Addresses comment @dot-asm raised in #2566.

Good start, but needs a bit more work.  I'm not sure that removing all info on OPENSSL_CONF in the sub-command pages is the way to go.  However, something general that refers back to openssl(1) would be suitable:
=head1 ENVIRONMENT VARIABLES

=over 4

=item OPENSSL_CONF

Configuration file, see L<openssl(1)>.

= back

how about if I put some text in the -config description:
Optional; for default value, see L<openssl(1)>

That works as well.  May I suggest making the link like this:  L<openssl(1)/COMMAND SUMMARY>?

done, updated commit pushed.

e9681f8 on master, 31041c4 on 1.1.0


Support for 0.54" Adafruit 14-digit HT16K33 LED backpack

Could you please add support for 0.54" Adafruit 14-digit HT16K33 LED backpack? It uses different addressing scheme incompatible with ht16k33segment14.py.
It is described in python code at https://www.smythe-consulting.com/2017/04/driving-adafruit-4x14-segment-i2c.html. Thanks.

I may have some of those kicking around. I've got some old code which works with them, so I'll look at getting that added here. Good suggestion!

Code added -- it'll be released to main shortly.

Thank you, you're amazing.


wikifix

This should get the wikipedia dataloading script back up and running - at least I hope so (tested with language ff and ii)

test fail because of dataset_infos.json isn't updated. Unfortunately, I cannot get the datasets-cli locally to execute without error. Would need to troubleshoot, what's missing. Maybe someone else can pick up the stick.

Hi ! If we change the default date to the latest one, users won't be able to load the "big" languages like english anymore, because it requires an Apache Beam runtime to process them. On the contrary, the old data 20200501 has been processed by Hugging Face so that users don't need to run Apache Beam stuff.
Therefore I'm in favor of not changing the default date until we have processed the latest versions of wikipedia.
Users that want to load other languages or that can use Apache Beam can still pass the language and date parameter to load_dataset if they want anyway:
load_dataset("wikipedia", language="fr", date="20220120")

in that case you can close the PR

Ok thanks !
(oh I I just noticed that the dataset card is missing the documentation regarding the language and date parameters, let me add it)


Make std-benchmarks/benchOnly Startup work

Pull Request Description
Adjustments to #8378 to make sure it runs with std-benchmarks/benchOnly Startup.
Checklist
Please ensure that the following checklist has been satisfied before submitting the PR:

[x] All code follows the style guides.
All code has been tested:

[ ] Benchmarks really measure the startup

Benchmarks finally seem to run. The base results are:

Startup.empty_startup - takes 2716ms
Startup.hello_world_startu takes 3968ms

that means the overhead of the engine runtime (and JVM runtime) is currently 2.7s - then there is another 1.2s overhead associated with processing standard library.


Extension won't work with go modules aka "File is not in GOPATH"

Working with go 1.11+ a package doesn't have to belong in the GOPATH.
It's now referenced in a go.mod file at package route level.
As this is the further way to program in go, checking for the gopath is error prone.
Would be nice if you can find a way out of that dilemma, maybe for checking for go.mod file in parent directories and reading the first line to define what's a package owned import.
Thanks for this nice extension.

Hi @AugustHell,
I'm super sorry for the delay. I've just fixed the issue and published new version of the extension.


Implement EVM Storage Proof Verification Circuit

Goal:
Implement the verification of Ethereum MPT proofs within plonky2x to verify account or storage proofs against a block hash. This allows for interesting access to historical EVM data as well as verifying Ethereum state on other chains in combination with Succinct's Ethereum ZK Light Client.
Steps:
@puma314 has implemented a draft PR that provides a template for implementation of MPT proofs (and RLP encoding/decoding specific to the Ethereum MPT). The steps to take this template and implement a circuit based off of it involve the following tasks:

Use an existing open-source implementation of keccack256 of fixed length and variable length hashing and import it in our repo
Implement each individual component in the template (such as is_leq, is_eq, to_sized_nibbles, etc.) as a method on our Bytes32 builder:
Implement verify_decoded_list to constraint a RLP encoding of an array and it's elements, as a circuit based on templated implementation here
Full implementation of MPT_verify based on template here that combines above ingredients
Write tests for testing MPT verification circuit and test edge cases, including null value, etc.

You will learn a lot about random linear combination tricks to make circuits efficient by doing this issue!
Estimated Effort:
Based on the template that was merged by @puma314 here, we estimate that implementing this as a circuit should take around 1 month (medium size project). The circuit implementation will be quite straightforward as it simply takes the current template and converts it to circuit form.
Contact Information:
Please reach out on telegram at @pumatheuma if you are interested in working on this issue. Contributors to this issue will be eligible for grants.

@jtguibas is this still open to take up?


Lesson 6: print(entrance_fee) does not match

In the video at 5:45:09 the print(entrance_fee) prints "25000000000000000". I followed along to the T but my print(entrance_fee) at this prints 2500000. I have checked everything over and over and totally copy/pasted the code from github into new file but still get 2500000. If the valve is not correct, it fails the minimumUSD test and gives the error "You need to spend more ETH!".
I am not sure what is happening, something has to be different in the video which is not in the github code either.
Please help me with what I am doing wrong?

Same.
So far, I tried:

grouping every exponentiation i.e. uint256 minimumUSD = 50 * (10**18);
changing DECIMALS, STARTING_PRICE back to original values to see if 2500000 changed (it didn't)

I'll keep working on it and get back to you.

Thank you for the update.

On Apr 12, 2022, at 6:54 PM, littlewing-ing @.***> wrote:

Same.
So far, I tried:
grouping every exponentiation i.e. uint256 minimumUSD = 50 * (10**18);
changing DECIMALS, STARTING_PRICE back to original values to see if 2500000 changed (it didn't)
I'll keep working on it and get back to you.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.

I've got nothing. Seems that this fund_and_withdraw is a sticking point for a number of people, from multiple angles.
(see: https://github.com/https://github.com/smartcontractkit/full-blockchain-solidity-course-py/issues/541 and https://github.com/smartcontractkit/full-blockchain-solidity-course-py/issues/887)
I noticed that running the same code on Rinkeby gives the correct decimal place range. So I'm going to move on.

@littlewing-ing I tried running the fund_and_withdraw on local Ganache, Kovan and Rinkeby. I got the following results:
local Ganache = "The current entrance is 2500000"
Kovan = "The current entrance is<PHONE_NUMBER>6042510"
Rinkeby = I get the following error:
File "C:\Users\faruk\AppData\Local\Programs\Python\Python310\lib\site-packages\brownie_cli\run.py", line 49, in main
return_value, frame = run(
File "C:\Users\faruk\AppData\Local\Programs\Python\Python310\lib\site-packages\brownie\project\scripts.py", line 103, in run
return_value = f_locals[method_name](*args, **kwargs)
File ".\scripts\fund_and_withdraw.py", line 17, in main
fund()
File ".\scripts\fund_and_withdraw.py", line 10, in fund
entrance_fee = fund_me.getEntranceFee()
File "C:\Users\faruk\AppData\Local\Programs\Python\Python310\lib\site-packages\brownie\network\multicall.py", line 115, in _proxy_call
result = ContractCall.call(*args, **kwargs)  # type: ignore
File "C:\Users\faruk\AppData\Local\Programs\Python\Python310\lib\site-packages\brownie\network\contract.py", line 1729, in call
return self.call(*args, block_identifier=block_identifier)
File "C:\Users\faruk\AppData\Local\Programs\Python\Python310\lib\site-packages\brownie\network\contract.py", line 1533, in call
raise VirtualMachineError(e) from None
File "C:\Users\faruk\AppData\Local\Programs\Python\Python310\lib\site-packages\brownie\exceptions.py", line 85, in init
raise ValueError(exc["message"]) from None
ValueError: execution reverted
I have set Rinkey eth_usd_price_feed: '0x8A753747A1Fa494EC906cE90E9f37563A8AF630e'
I can't find the issue why it's not running on Rinkeby, same code running on Ganache and Kovan. It fails when it tries to call entrance_fee = fund_me.getEntranceFee() in fund_and withdraw.
Any thoughts?

Without seeing any config/code, and since it's running fine on Ganache and Kovan, my best guess is that you're out of Rinkeby ETH.

I have over 19 Ethers in Rinkeby.

On Apr 26, 2022, at 3:31 PM, littlewing-ing @.***> wrote:

Without seeing any config/code, and since it's running fine on Ganache and Kovan, my best guess is that you're out of Rinkeby ETH.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.

Here is my brownie-config.yaml:
dependencies:
- <organization/repo>@

<EMAIL_ADDRESS>compiler:
solc:
remappings:

'<EMAIL_ADDRESS>dotenv: .env
networks:
rinkeby:
eth_usd_price_feed: '0x8A753747A1Fa494EC906cE90E9f37563A8AF630e'
verify: True
kovan:
eth_usd_price_feed: '0x9326BFA02ADD2366b30bacB125260Af641031331'
verify: True
development:
verify: False
ganache-9hour:
verify: False
wallets:
from_key: ${PRIVATE_KEY}

This is where the issue occurs in fund_and_withdraw.py:
def fund():
fund_me = FundMe[-1]
account = get_account()
print(account)
# Should get Entrance Fee =<PHONE_NUMBER>0000000
entrance_fee = fund_me.getEntranceFee()
print(f"The current entrance is {entrance_fee}")
This is what the above function calls in FundMe.sol:
function getEntranceFee() public view returns (uint256) {
// minimumUSD
uint256 minimumUSD = 50 * 1018;
uint256 price = getPrice();
uint256 precision = 1 * 1018;
return (minimumUSD * precision) / price;
return ((minimumUSD * precision) / price) + 1;
Please let me know if you need more information. Thank you in advance for all your help.

Hi not sure if you are still working on this, but I have found the possible issue you get since I faced the same issue. The changes of DECIMALS and STARTING_PRICE do not make changes to the MockV3Aggregator contract. The length check in helpful_scripts.py  prevents the new contract to been deployed.
Solution:
delete the line if len(MockV3Aggregator) <= 0: in the helpful_scripts.py and the fees will match


Disable webmock before we reach out to sauce labs

The rake task for running parallel tests is reaching out to sauce labs to find the Limit number of VMs allowed before WebMock.disable! is being called in our env.rb file. This was a work around to allow us to disable WebMock at the task level.
Is there a better way to go about solving this? If so I am happy to help implement it. I can also update the readme if you are ok with this as a solution.
WebMock::NetConnectNotAllowedError: Real HTTP connections are disabled. Unregistered request: GET<EMAIL_ADDRESS>with headers {'Accept'=>'*/*; q=0.5, application/xml', 'Accept-Encoding'=>'gzip, deflate', 'User-Agent'=>'Ruby'}

You can stub this request with the following snippet:

stub_request(:get, "https://user:key@saucelabs.com/rest/v1/user/limits").
  with(:headers => {'Accept'=>'*/*; q=0.5, application/xml', 'Accept-Encoding'=>'gzip, deflate', 'User-Agent'=>'Ruby'}).
  to_return(:status => 200, :body => "", :headers => {})

============================================================/usr/local/rvm/gems/ruby-2.1.5/gems/webmock-1.21.0/lib/webmock/http_lib_adapters/net_http.rb:114:in `request'
/usr/local/rvm/gems/ruby-2.1.5/gems/rest-client-1.8.0/lib/restclient/request.rb:270:in `net_http_do_request'
/usr/local/rvm/gems/ruby-2.1.5/gems/rest-client-1.8.0/lib/restclient/request.rb:418:in `block in transmit'
/usr/local/rvm/gems/ruby-2.1.5/gems/webmock-1.21.0/lib/webmock/http_lib_adapters/net_http.rb:123:in `start_without_connect'
/usr/local/rvm/gems/ruby-2.1.5/gems/webmock-1.21.0/lib/webmock/http_lib_adapters/net_http.rb:150:in `start'
/usr/local/rvm/gems/ruby-2.1.5/gems/rest-client-1.8.0/lib/restclient/request.rb:413:in `transmit'
/usr/local/rvm/gems/ruby-2.1.5/gems/rest-client-1.8.0/lib/restclient/request.rb:176:in `execute'
/usr/local/rvm/gems/ruby-2.1.5/gems/rest-client-1.8.0/lib/restclient/request.rb:41:in `execute'
/usr/local/rvm/gems/ruby-2.1.5/gems/rest-client-1.8.0/lib/restclient.rb:65:in `get'
/usr/local/rvm/gems/ruby-2.1.5/gems/sauce-3.5.6/lib/sauce/parallel/test_broker.rb:70:in `concurrency'
/vagrant_data/lib/tasks/parallel_testing.rb:109:in `parse_task_args'
/vagrant_data/lib/tasks/parallel_testing.rb:82:in `run_parallel_tests'
/vagrant_data/lib/tasks/parallel_testing.rb:17:in `block (2 levels) in <top (required)>'
/usr/local/rvm/gems/ruby-2.1.5/bin/ruby_executable_hooks:15:in `eval'
/usr/local/rvm/gems/ruby-2.1.5/bin/ruby_executable_hooks:15:in `<main>'
Tasks: TOP => sauce_new:features

Oh, thanks!  Good catch.
You used to be able to disable the REST call by passing in an explicit number of threads, but it looks like that's not the case currently.
I'm not that familiar with Webmock; Does the DISABLE_WEBMOCK value get set by Webmock or would the end user have to set it?  Would it be valid to always disable webmock for this call?

@DylanLacey I can try passing an explicit number of threads, that might be cleaner than this. DISABLE_WEBMOCK is just an environment variable I came up with, it has nothing to do with WebMock other than it being a flag a user would pass in to call WebMock.disable!


Add more timeline ranges for profiling hot reload

Fixes https://github.com/flutter/flutter/issues/7787

cc @johnmccutchan


History info screen

Rewrote old live data to stateflow
Rewrote old xml to compose
Segregated some compose components from HistoryScreen which I thought could be reused here
Before:

After:

commit 77ebaed : fixed where we displayed only the reps for an exercise


Usernames with '#' Break the UI

If you create a user with a '#' character in the name, commonly used as a delimiter for text, no error is presented indicating that this is an illegal character.  The user will be created.  Upon attempting to interact with that user, you will be sent to a URL such as:
https://app.flagsmith.com/project/<ID>/environment/<ID>/users/test#user/<ID>

This results in a whitescreen with nothing rendered and then no way to end the condition unless you refresh the app.
A suggested fix would be to URL encode and decode the usernames along with any other user inputs that get appended to URLs.  You can reproduce this in any environment from what I can tell.

Pretty sure this is related to the React router

This is still causing issues when trying to override flags for an identity

Hi @curtis-trynow-io can you test this against docker pull flagsmith-frontend:main - if you're happy with the fix we will go ahead and tag that commit. Thanks for the bug report!


fix: use proper RPMFusion repos for F40 akmod builds

In preparation for the F40 release, we can now switch over to using the proper (non-development) RPMFusion repositories.
I do not believe this needs to wait for release day, and can probably be merged whenever.
I couldn't find any logic regarding which versions are considered latest, stable etc in this repo.

In preparation for the F40 release, we can now switch over to using the proper (non-development) RPMFusion repositories. I do not believe this needs to wait for release day, and can probably be merged whenever.

Agreed! The builds are green which is good confirmation, but I doubly confirmed by checking the mirror directory structure and seeing they have 40 in both the release and development location. So we are good to remove the "development" sed.

I couldn't find any logic regarding which versions are considered latest, stable etc in this repo.

Correct. akmods builds don't contain the concept of latest, etc... they just build for a version and a kernel flavor, and that's it.


Select babel version with option

Issue :
ts-jest detect @babel/core automatically before detecting babel-core, so if I use some package that uses @babel/core internally, I cannot use babel-core.
Expected behavior :
I can use babel-core if I want.
Output from debug log :
# content of debug.txt :

Minimal repo :

@Ailrun you can test our latest beta (see #697) which will use the babel-core first and then @babel/core. Then you install or not the<EMAIL_ADDRESS>to use the 7 or not, just as other babel related packages.

@huafu I tested with both versions, and both work well. Thanks.

However, coverage does not work with<EMAIL_ADDRESS>I will make another issue for this.

@Ailrun you meant, with ts-jest beta + babel7, coverage do not work?

In ts-jest@next, @babel/core@7, and<EMAIL_ADDRESS>I try to reproduce it with minimal repo.

Thanks a lot @Ailrun. I'm actually adding an e2e test in beta for coverages, just realized there was none!
BTW, we now have a Slack channel

@Ailrun we left this one open as the current release does not fix the issue, only beta ;-)


A question on adaptive selection of kernel size

Thank you for your work on ECANet. Here I have a question. Although the parameter k doesn't need to be tuned manually, the parameters gamma and b in Eq. (9) are still needed to be selected properly. So I'm wondering that if we want to obtain good results, we should still carefully tune these parameters. Or are there many tricks on the selection of the above two parameters? Looking forward to your guidance. Thank you!

The selection of the size of k in the ECA module is indeed a question worth considering. We give a more biased guiding principle and prove that our method is effective through experiments. In the subsequent work, we may more in-depth research will be conducted to enhance the stability of adaptive selection.

Thank you for your reply. Hope you make achievements in the selection of these hyper parameters.


build(package.json): chokidar dep bumped to 3.5.3

:tada: This PR is included in version 4.0.15 :tada:
The release is available on:

v4.0.15
GitHub release

Your semantic-release bot :package::rocket:


[Driver] Remove unused runtime library path on non-Darwin platforms

Translation of apple/swift-driver#1374 to the legacy C++ Driver, with the addition of a test.

@swift-ci please smoke test


Remove pausing of data updates when running/queueing experiments

Related to #3178
Back in https://github.com/iterative/vscode-dvc/pull/1123 I added code to pause data updates whilst we queue experiments. This was because the commands used to update the data would take the read/write lock on the repository and cause the queueing process to fail. Now these commands are lockless so we don't need to pause updates anymore. The same thing happened intermittently when we started running experiments.
We need to do this to avoid trying to provide progress updates for batch-queueing experiments - e.g a grid search (see https://github.com/iterative/vscode-dvc/pull/3814)
Demo
https://user-images.githubusercontent.com/37993418/235829745-938456d1-66c9-4671-867f-2770960467b7.mov

so, queueing is immediate? we were slowing it down artificially by running some commands?

so, queueing is immediate? we were slowing it down artificially by running some commands?

When we queued a big batch of experiments the functions that update the data underlying the table (that call exp show) were paused. We waited for the entire command to complete before unpausing them.


REFACTOR-#4194: create 'BaseDataframePartition' class

Signed-off-by: Anatoly Myachev<EMAIL_ADDRESS>
What do these changes do?

[x] commit message follows format outlined here
[x] passes flake8 modin/ asv_bench/benchmarks scripts/doc_checker.py
[x] passes black --check modin/ asv_bench/benchmarks scripts/doc_checker.py
[x] signed commit with git commit -s
[x] Resolves #4194
[x] tests ~added~ and passing
[x] module layout described at docs/development/architecture.rst is up-to-date
[ ] added (Issue Number: PR title (PR Number)) and github username to release notes for next major release

@YarShev ready for review

Too hard to refresh.


Remove superfluous files in root folder of the repository.

Closes #3590.
Changes proposed in this pull request:

Removes start.sh and stop.sh, which have never been packaged in releases and whose usefulness is minimal
Removing lgtm.yml, since we have currently disabled the integration because the build was failing there
Removing WeLoveOurBackers.md, because our current backers are now displayed by GitHub already. Our institutional sponsors are acknowledged on our website. No need to duplicate this information here.
Removing CHANGES.txt, very outdated since our list of changes is maintained on the wiki currently.
Removing AUTHORS.md, also outdated, the list of contributors can be seen on GitHub already.

Also I would like to remove the licenses folder and replace it by automation in Maven (re-creating this folder at packaging time, from the dependency metadata we already have).

@wetneb I agree with the all of those.  Let's do it.  And great idea on creating licenses based on the dependency metadata!

@wetneb Also, I think some other files can be moved into the .github folder if I recall, like SECURITY.md, CONTRIBUTING.md, etc.  But you'd have to look that info up, I can't recall exactly which.


Input XML validation failed. Element 'shelfDescription' is a simple type

I just want to know if anyone else has come across this error.
We are making an API call to bulk update items, and our XML seems to match the schema.  However, Walmart is giving us the following error when we submit the feed:

Input XML validation failed. Element 'shelfDescription' is a simple type, so it must have no element information item [children].

I am not sure why we are getting that error, since the XML that we print_r() looks to be correctly formatted.   Is there something different in the XSD file schema that isn't updated in the API?
Here is what the XML file looks like which flags that error:
<?xml version="1.0" encoding="UTF-8"?>
<MPItemFeed>
<MPItemFeedHeader>
<version>2.1</version>
<requestId>1482341916</requestId>
<requestBatchId>1482341916</requestBatchId>
</MPItemFeedHeader>
<MPItem>
<sku>3</sku>
<Product>
<productName>Diminishing Returns Card Trick</productName>
<longDescription>View Clip Diminishing Returns
is one of the most visual effects ever devised. A spectator names ANY CARD. This card is removed from the deck and tabled. Then impossibly the ENTIRE DECK is found to have shrunk to MINI SIZE The normal sized card which was selected is put back in the middle of the mini sized deck which is then re-spread.....only this time the entire deck is back to normal size EXCEPT the spectators selection which is now a mini-card As a kicker the spectator then witnesses the mini-chosen card grow back to full size right before their eyes This is visual magic at its best. You get 52 factory made Bicycle cards and a professionally illustrated manuscript. You also get a second highly visual trick for FREE THE DEFECTIVE DECK comes free with Diminishing Returns.</longDescription>
<shelfDescription>

Recommended for ages 12 and above.

Great GIFT for the magic hobbyistor professional

Shipping Weight: 0.35 lbs

</shelfDescription>
<shortDescription>View Clip Diminishing Returns is one of the most visual effects ever devised. A spectator names ANY CARD. This card is removed from the deck and tabled. Then impossibly the ENTIRE DECK is found to have shrunk to MINI SIZE The normal sized card which was selected is put back in the middle of the mini sized deck which is then re-spread.....only this time the entire deck is back to normal size EXCEPT the spectators selection which is now a mini-card As a kicker the spectator then witnesses the mini-chosen card grow back to full size right before their eyes This is visual magic at its best. You get 52 factory mad
e Bicycle cards and a professionally illustrated manuscript. You also get a second highly visual trick for FREE THE DEFECTIVE DECK comes free with Diminishing Returns.</shortDescription>
<mainImage>
<mainImageUrl>http://www.mjmmagic.com/store/images/DimRet.jpg</mainImageUrl>
</mainImage>
<productIdentifiers>
<productIdentifier>
<productIdType>EAN</productIdType>
<productId>5055825688686</productId>
</productIdentifier>
</productIdentifiers>
<productTaxCode>2038345</productTaxCode>
<Home>
<brand>Mike Powers Magic</brand>
</Home>
</Product>
<price>
<currency>USD</currency>
<amount>18.35</amount>
</price>
<shippingWeight>
<value>0.35</value>
<unit>LB</unit>
</shippingWeight>
</MPItem>
</MPItemFeed>

Just to update this, WM support got back to me, and had me change all the open brackets (<) in the ShelfDescription to the following.
WAS:

Recommended for ages 12 and above.

etc.....

CHANGED TO:
<ul><li>Recommended for ages 12 and above.</li>
etc......

Once we did that, there were no more errors in the item update feed.

It accepts HTML tags too. We have to use CDATA
<shelfDescription><![CDATA[' . htmlentities($product_shelf_description, ENT_QUOTES) . ']]></shelfDescription>

@sandybrainer thank you for responding with a good solution!


When the port is occupied, the program hangs without throwing any errors

Win10
Node 12
packages lastest version

const aedes = require('aedes')();
const server = require('aedes-server-factory').createServer(aedes, {
  ws: true,
});
const port = 8888; // be used for other app

server.listen(port, function () {
  // never got here
  console.log('server started and listening on port ', port);
});

You can use the customWsErrorHandler option, by providing a custom function to handle the error.


Log the exception type, not just the message

Previously this would omit an important part of the exception, the type!
Extracted from #640

Before:
Send raised exception: sample_module contains no object named stream_in_int
Traceback (most recent call last):
  File "/build-py3/src/cocotb/decorators.py", line 220, in send
    return self._coro.send(value)
  File "/build-py3/src/tests/test_cases/issue_134/test_integers.py", line 20, in test_integer
    dut.stream_in_int = 4
  File "/build-py3/src/cocotb/handle.py", line 254, in __setattr__
    sub = self.__getattr__(name)
  File "/build-py3/src/cocotb/handle.py", line 289, in __getattr__
    raise AttributeError("%s contains no object named %s" % (self._name, name))

Now (note AttributeError):
Send raised exception:
Traceback (most recent call last):
  File "/build-py3/src/cocotb/decorators.py", line 220, in send
    return self._coro.send(value)
  File "/build-py3/src/tests/test_cases/issue_134/test_integers.py", line 20, in test_integer
    dut.stream_in_int = 4
  File "/build-py3/src/cocotb/handle.py", line 254, in __setattr__
    sub = self.__getattr__(name)
  File "/build-py3/src/cocotb/handle.py", line 289, in __getattr__
    raise AttributeError("%s contains no object named %s" % (self._name, name))
AttributeError: sample_module contains no object named stream_in_int


Finetunning crashed due to an OSError exception

I get this exception at the trainning part, but it doesn't happen always (it looks a random issue):
2018-04-18 15:02:15.902533 Start validation Traceback (most recent call last):   File "finetune.py", line 188, in <module>     print("{} Start validation".format(datetime.now())) OSError: raw write() returned invalid length 90 (should have been between 0 and 45)
I'm using Windows 10 64 bits with Python 3.5.2 :: Anaconda 4.2.0 (64-bit) and Tensorflow 1.2.1.
My dataset is Dogs VS Cats.
Besides, I'd like to recover the already trained model, since it's very upsetting getting this crash after some epoches. As you indicated, I tried to change the load_initial_weights line to this line:
saver.restore(sess, "/path/to/checkpoint/model.ckpt")
But I have three cktp files (index, data and meta). What should I do?
Thanks!

I have no clue on your first issue but a quick search suggest it's a windows/python problem. Try using a more recent version of Python and TensorFlow, Update Anaconda etc. This should hopefully fix the problem.
Beside the last question: These 3 files belong together but the weights are stored in the "data" one if I remember correctly. I'm sitting at a freshly setup Laptop and don't have examples available at the moment. Anyway, TensorFlow will handle this for you. Just use the name of the checkpoint files (the part you have set and all files have in common) and add the .ckpt. TensorFlow will automatically load the correct file.
BTW: this could have been resolved by a simple google search and has nothing to do with this code repository. Would appreciate some effort next time before posting here.

Of course, I googled and tried everything before bothering here. Tensorflow didn't work properly with the last Python or Anaconda version. That's why I had to downgrade to Python 3.5 version.
Regarding the another question, I tried that too, but I got an error (didn't write down, sorry). I came here to ask this since maybe you could help me with this issue for this specific script.
Anyway, I moved to a fresh Debian 9 computer, same version of Tensorflow and Python. The script keeps crashing but with a different issue. I'm getting now this logs after a few minutes in the first epoch:

2018-04-19 11:50:41.381104: I tensorflow/core/common_runtime/bfc_allocator.cc:674] 1 Chunks of size 1236736 totalling 1.18MiB 2018-04-19 11:50:41.381111: I tensorflow/core/common_runtime/bfc_allocator.cc:674] 2 Chunks of size 1769472 totalling 3.38MiB 2018-04-19 11:50:41.381118: I tensorflow/core/common_runtime/bfc_allocator.cc:674] 3 Chunks of size 2109440 totalling 6.04MiB 2018-04-19 11:50:41.381126: I tensorflow/core/common_runtime/bfc_allocator.cc:674] 2 Chunks of size 2654208 totalling 5.06MiB 2018-04-19 11:50:41.381133: I tensorflow/core/common_runtime/bfc_allocator.cc:674] 2 Chunks of size 4194304 totalling 8.00MiB 2018-04-19 11:50:41.381141: I tensorflow/core/common_runtime/bfc_allocator.cc:674] 1 Chunks of size 4413952 totalling 4.21MiB 2018-04-19 11:50:41.381148: I tensorflow/core/common_runtime/bfc_allocator.cc:674] 1 Chunks of size 6297344 totalling 6.00MiB 2018-04-19 11:50:41.381156: I tensorflow/core/common_runtime/bfc_allocator.cc:674] 6 Chunks of size 7455232 totalling 42.66MiB 2018-04-19 11:50:41.381164: I tensorflow/core/common_runtime/bfc_allocator.cc:674] 1 Chunks of size 9793536 totalling 9.34MiB 2018-04-19 11:50:41.381172: I tensorflow/core/common_runtime/bfc_allocator.cc:674] 1 Chunks of size 13279232 totalling 12.66MiB 2018-04-19 11:50:41.381180: I tensorflow/core/common_runtime/bfc_allocator.cc:674] 1 Chunks of size 67108864 totalling 64.00MiB 2018-04-19 11:50:41.381188: I tensorflow/core/common_runtime/bfc_allocator.cc:674] 1 Chunks of size 79148544 totalling 75.48MiB 2018-04-19 11:50:41.381196: I tensorflow/core/common_runtime/bfc_allocator.cc:674] 1 Chunks of size 201326592 totalling 192.00MiB 2018-04-19 11:50:41.381203: I tensorflow/core/common_runtime/bfc_allocator.cc:678] Sum Total of in-use chunks: 7.71GiB 2018-04-19 11:50:41.381214: I tensorflow/core/common_runtime/bfc_allocator.cc:680] Stats:  Limit:<PHONE_NUMBER> InUse:<PHONE_NUMBER> MaxInUse:<PHONE_NUMBER> NumAllocs:                  100545 MaxAllocSize:            268435456

By searching, this looks a memory trouble, but I'm using the same laptop that before (obviously same RAM). I'll try to change the batch size, but it's really strange.
Thank you.
Thank you

I'm training on CPU. Yes, I know different OS have different RAM consumptions, but I don't think Debian consumes much more than Windows... And I don't think so there's much difference between Debian and Ubuntu for this case.
I only changed in the script the learning rate (because I got the already posted issue NaN) and, obviously, the paths. I tried a lot of values and I have this value at 0.0001 currently.
Which versions of Tensorflow and Python are you using now? Maybe it could help me.
Thank you!

Did you read what I wrote, the part about the buffer size? So try to reduce the buffer size first, since the error says it's definitely a memory problem.


Add {detector,stream,monitor} / {stream/config} parameters to generation

Ensure we don't get clashes by adding structure to attribute names when adding to the EigerController class, e.g. detector/.../status/state -> DetectorStatus:State (not sure on the formatting, let's see how they look like this)

Done in #9


Ducumentation Issues

Since the update the documentation examples are completely broken.
For example: This list example wont compile
import { Component } from '@angular/core';
import { AngularFireDatabase } from 'angularfire2/database';
import { Observable } from 'rxjs/Observable';

@Component({
  selector: 'app-root',
  template: `
  <ul>
    <li *ngFor="let item of items | async">
      <input type="text" #updatetext [value]="item.text" />
      <button (click)="updateItem(item.$key, updatetext.value)">Update</button>
      <button (click)="deleteItem(item.$key)">Delete</button>
    </li>
  </ul>
  <input type="text" #newitem />
  <button (click)="addItem(newitem.value)">Add</button>
  <button (click)="deleteEverything()">Delete All</button>
  `,
})
export class AppComponent {
  itemsRef: Observable<any[]>;
  constructor(db: AngularFireDatabase) {
    this.itemsRef = db.list('messages').valueChanges();
  }
  addItem(newName: string) {
    this.itemsRef.push({ text: newName });
  }
  updateItem(key: string, newText: string) {
    this.itemsRef.update(key, { text: newText });
  }
  deleteItem(key: string) {
    this.itemsRef.remove(key);
  }
  deleteEverything() {
    this.itemsRef.remove();
  }
}

I get the error saying Property 'push' , 'update', 'remove' does not exist on type Observable<any[]>.
Yes I did update to version 5 using @next.
Previous examples were working great with version 4.
The dependencies are also incorrect in the Object example.
Please correct me if I am wrong.

@Anystrous We had breaking changes in version 5.0. There is a migration guide and if you want you can continue to use the old database API with angularfire2/database-deprecated.
The main difference in this sample is that FirebaseListObservable no longer exists and we switched to a Service Based API in AngularFireList<T>. This allows you to do data operations like push(),  andset(). It also allows you to create different types of observable streams. You can get similar results with the old API in .valueChanges() and do tons of other great things with .snapshotChanges(), .stateChanges(), and .auditTrail().
I highly recommend using this API. Check out the documentation. File an issue if you find anything confusing. We're here to help :)

The problem is with new documentation. Please check it yourself

@Anystrous I updated my comment with a fix. We're working on the change right now.

Thank you.

This is still wrong
You are using  <button (click)="updateItem(item.$key, updatetext.value)">Update</button>
whilst the .valueChanges() does not provide a $key anymore.

Yes i don't understand how this can work with .valueChanges
How to use the $key simply in the template?

Hi, when i remove an item, all the data deleted in the same time, although i used the same code of @davideast, any idea ?

@ayoubboum Can you open a new issue that follows the template and gives a stackblitz?

Opening since the documentation still needs work.

I am new in github, i didn't get what you mean, sorry

@ayoubboum
On the main issue page (https://github.com/angular/angularfire2/issues/) create a new issue.
That issue will be populated with a template. That template asks you to tell the versions of Angular, Firebase, and AngularFire. Then when asking how to reproduce you can create a link to Stackblitz. Which is a super easy to use VSCode online editor. Create a little app that shows the problem and link it there. We'll then take a look at what's going on 👍

Fixed

Did you fixe my problem?

Found a Fix on this problem:
 this.db.object('listings').snapshotChanges().map(action =>{       const data = action.payload.toJSON();       return data;     }).subscribe(result =>{       Object.keys(result).map(key=>{         this.listings.push({           'key': key,           'data':result[key]         });       });       console.log(this.listings)     });
The snapshotChanges() returns an Object which needs to be converted to Array in order to be used in *ngFor
just create an array, in my example code:
listings: any[] = []
then push the object with key and data as keys.
which then can be access in the template:
*ngFor="let listing of listings {{ listing.key}} {{listing.data}}

Thank you, i fixed it.
On Oct 13, 2017 12:55, "andy-parinas"<EMAIL_ADDRESS>wrote:

Found a Fix on this problem:
this.db.object('listings').snapshotChanges().map(action =>{ const data =
action.payload.toJSON(); return data; }).subscribe(result =>{
Object.keys(result).map(key=>{ this.listings.push({ 'key': key,
'data':result[key] }); }); console.log(this.listings) });
The snapshotChanges() returns an Object which needs to be converted to
Array in order to be used in *ngFor
just create an array, in my example code:
listings: any[] = []
then push the object with key and data as keys.
which then can be access in the template:
*ngFor="let listing of listings {{ listing.key}} {{listing.data}}
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/angular/angularfire2/issues/1180#issuecomment-336431309,
or mute the thread
https://github.com/notifications/unsubscribe-auth/APHL82eU0YKqFmwdNgiqsTtJmFWq5vE3ks5sr0-tgaJpZM4PsZjY
.

Hi,
I've just checked my source code and it's worked just fine.
On Tue, Jan 30, 2018 at 11:48 AM, ayoub boumzebra<EMAIL_ADDRESS>wrote:

Hi, that pretty weird because if you the video it's worked for me very
well , sorry for that, but i'll check it again.
Thanks
http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail Garanti
sans virus. www.avg.com
http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail
<#m_-2196113848313040215_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
On Tue, Jan 30, 2018 at 4:58 AM, Abhin Pai<EMAIL_ADDRESS>wrote:

Hi, When I remove a particular item at the same time all the item gets
deleted from the database. I followed the same documentation of
@davideast https://github.com/davideast and I think my issue is pretty
similar which you asked before @ayoubboum https://github.com/ayoubboum
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/angular/angularfire2/issues/1180#issuecomment-361477546,
or mute the thread
https://github.com/notifications/unsubscribe-auth/APHL8-IBK-WOLYgUZocV-VLV7pr6zrsYks5tPqGLgaJpZM4PsZjY
.

Property do does not exist on firebaseAngularList.Can anyone please help me?

Use AngularFireList instead of firebaseAngularList, firebaseAngularList is replaced to AngularFireList in latest version of ionic

please am still unable to use $key in my html to get the key to a set of data, any way out?

I just want to share my experience, as someone trying to learn Firebase and Ionic. I started with a tutorial on Youtube "How to Build An Ionic App with Firebase and AngularFire 4" where you make a shopping list. Super, super basic. Then I figured, "why not upgrade to angularfire version 5?". I found this thread, and tried @davideast 's approach of using separate variables for "items" and "itemsRef". It seemed weird, why do I now need 2 views of basically the same thing? But it worked. Then I tried to remove an item, which means I needed to stop using item.$key. So I tried @andy-parinas 's approach of using snapshotChanges(), mapping it to an array, and all of that. Now I have 3 views of the same data, and it doesn't work at all - it displays on the screen, but items are repeated, and it fails when there are no items at all in the list. I have no idea why, and frankly, I don't care.
It's ridiculous. How is this better than the angularfire version 4 way? Why not provide a full working example?
Sorry to gripe, but I challenge anyone to link me to a basic working example that can display, add, and remove items from a list. How are beginners supposed to learn this?

How do I catch permission denied errors on .push() with firebase validation on AF5?

I'm interested to know as well how/where you catch errors

"How are beginners supposed to learn this?"
same goes for me. it's very confusing with all those changes in the last 6 months and no useful up-to-date example.


Mesh: define namespace boundaries for parent and backend

What type of PR is this?
/kind gep
What this PR does / why we need it:
This also clarifies parentRef namespace boundries which were under-specified.
Which issue(s) this PR fixes:
Fixes https://github.com/kubernetes-sigs/gateway-api/issues/1480
Does this PR introduce a user-facing change?:

NONE

/assign @mikemorris

Based on discussion in today's meeting and another read through the GEP, I think this is good to go. Going to approve, but will defer to someone else (cc @youngnick @shaneutt @mikemorris for example) to add final LGTM.
/approve

Fixes #1479


hyper 2.1 breaks it cannot find React.proptypes

bundle.js:1 TypeError: Cannot read property 'string' of undefined
at hyperlineFactory (/home/alex/.hyper_plugins/node_modules/hyperline/dist/hyperline.js:223:33)
at decorateHyper (/home/alex/.hyper_plugins/node_modules/hyperline/dist/hyperline.js:124:52)

Hello ! I have the same problem here... On Ubuntu 16.04 LTS, after updating Hyper to 2.1.1... But it was working fine before the update

Same on Mac OS High Sierra


Updated deprecated links in outgoing-webhooks _index.md

Summary
Updated deprecated links in outgoing-webhooks _index.md
Ticket Link

NA

@cwarnermm Please review and suggest changes if any and also add the appropriate labels for Docathon.

@justinegeffen Changes are applied. Please review.


Frontend not created

Did two runs and they completed without error.  Got all the backend code and the database schema.  Did a run using the same prompt under ChatGPT 3.5 and ChatGPT 4.  Under 3.5 the manual.md had details of setting up the frontend but there were no frontend files.  The prompt requested the the frontend should be created with React.  Under ChatGPT 4 again no files were created for the frontend but the manual this time only had details about the project and no setup instructions.

You can share the log file so that we can confirm whether this is a problem with the ChatDev process or it is the capacity limitations of LLM itself cause the output to be unreasonable.

Log is here:
https://github.com/albal/corevoter/blob/main/corevoter_DefaultOrganization_20231021005955.log

Thank you for providing the detailed log!
According to the log, the failure of creating frontend in code, which was attributed to the limited capacity of LLM, was detected by the 'Software Test Engineer'. But due to the limitation of the number of rounds in test phase, this failure was not fixed in the end.
You can try:

set a looser limitation of the number of rounds in test and modification phase, which can be set in ChatChainConfig.json
use our new feature incremental development to let agents develop based on the existed backend code
or modify the problem by yourself


Expose OpenXR raw hand tracking data

This PR adds methods to OpenXRInterface that retrieve the raw tracking data from OpenXRs hand tracking. This has been requested by a few people who wish to apply the tracking data to full body avatars or who just want to use the data outside of the skeleton implementation.

Hey, since a few friends were asking me about this I wanted take a look. Overall seems pretty straightforward.
I'm a little uncertain about the Array-of-Dictionary return value. I know there are some existing APIs which do this, but there's a lot of allocations needed and no auto-complete.
Since it's only 2 (velocity) or 3 (position) values each, I'm wondering if it would be possible to separate each value into its own function call and return a TypedArray or PackedArray for the Vector3 values and TypedArray for the rotations?
Something like
	Vector<Vector3> get_hand_joint_positions(Hand p_hand);
	TypedArray<Quaternion> get_hand_joint_rotations(Hand p_hand);
	Vector<float> get_hand_joint_radii(Hand p_hand);

	Vector<Vector3> get_hand_joint_linear_velocities(Hand p_hand);
	Vector<Vector3> get_hand_joint_angular_velocities(Hand p_hand);

Another approach would be for example having a getters which pass in a joint index for each:
	Vector3 get_hand_joint_position(Hand p_hand, Hand::HandJoints p_joint);
	Quaternion get_hand_joint_rotation(Hand p_hand, Hand::HandJoints p_joint);
	float get_hand_joint_radius(Hand p_hand, Hand::HandJoints p_joint);

	Vector3 get_hand_joint_linear_velocity(Hand p_hand, Hand::HandJoints p_joint);
	Vector3 get_hand_joint_angular_velocity(Hand p_hand, Hand::HandJoints p_joint);

Another thing that should be added is the ability to set_motion_range, and also I would prefer for it not to use a dictionary due to the function most likely being called every frame. Also, I encountered a problem where the left hand is the right hand and the right hand cannot be accessed.

	Vector3 get_hand_joint_position(Hand p_hand, Hand::HandJoints p_joint);
	Quaternion get_hand_joint_rotation(Hand p_hand, Hand::HandJoints p_joint);
	float get_hand_joint_radius(Hand p_hand, Hand::HandJoints p_joint);

	Vector3 get_hand_joint_linear_velocity(Hand p_hand, Hand::HandJoints p_joint);
	Vector3 get_hand_joint_angular_velocity(Hand p_hand, Hand::HandJoints p_joint);

This solution would be better do to no memory allocations every frame

@lyuma good suggestions, that shouldn't be a hard change and indeed would probably be more efficient memory wise.
@Faolan-Rad shouldn't be hard to also expose motion range, we already implement it in the API, just need to expose it to GDScript

@lyuma @Faolan-Rad I've made the requested changes, indeed neater this way!

@BastiaanOlij Can you do the requested style fixes?

@BastiaanOlij Can you do the requested style fixes?

ah thank for the poke, done!

Thanks!

This is perfect (in terms of accessing the hand tracking data so that I can map it to whatever non-OpenXR compatible hand shape that I usually have to hand (eg where the bones are aligned with the Y-axis as is the convention from Blender models)), except for one small issue...
We can't tell whether the hand positions are valid without using a completely separate OpenXRHand node and checking its visible flag.
https://github.com/godotengine/godot/blob/master/modules/openxr/scene/openxr_hand.cpp#L276
Is it possible to add in some kind of hand_activated and/or confidence rating into this interface?  These might be more applicable than the finger bone velocities (though I might experiment with those at some stage to see what happens when you project the it forwards by 0.01seconds).

Thanks @goatchurchprime , sorry had forgotten this was already merged when I asked you to comment. I'll find a moment next week to add in the confidence information, makes perfect sense we expose that too.

This might be higher priority than I thought since I can't make the OpenXRHand node (needed only for the active/tracking_confidence flag) work when I use it in the Godot XR Tools Demos.
The docs file say that it needs to be a direct child of the XROrigin3D, and there are two origins when running the demos.  I've tried every combination of putting these nodes in either of them, in and out of their base scenes but the visible flag is always false even when the hands are tracking.
I know that OpenXRHand works in my other simpler project (no instanced scenes, no dynamically loaded second scenes), so it is mind-boggling I can't reproduce a working version by hacking the XR Tools Demo.  Since I can't properly state the bug in a way that would mean it would be debuggable, I don't want to report it.
However, an active/tracking_confidence function would mean that the OpenXRHand object would not need to be used.
[I'd go further to say that OpenXRHand could be deprecated since OpenXR-compatible hand skeletons are as rare as hen's teeth]


Implement subfunction for derive_summary_records

A function which returns just the summary records should be implemented. It should be used in derive_exposure_params (replacing the derive_summary_records() and filter() call in lines 161-167) and in derive_summary_records.

@pk505289 Hi Pavan, this issue was chosen to be included in the upcoming release (Feb 11th). Will it be possible to complete it by Wednesday 9th?

Sorry!  Pavan no longer has time available to work on admiral.  Hoping to get a replacement, but I think someone else will have to take on this issue.

@pharmaverse/admiral We have another orphaned issue tagged for the upcoming release. Is anyone available to step in and complete it by Wednesday?

I am not sure why the issue has the release tag. Maybe a left-over from the last release.
However, I think it is not urgent. It is an internal clean-up issue and does not affect the users.
Thus I would remove the release tag and focus on the other issues.

Release tagged removed

@bundfussr @bms63 @rossfarrugia  - happy to pick this issue up.
Just to check my understanding, a new function is needed based on derive_summary_records() without the steps where new observations are added. This will replace the current code in derive_exposure_params.R and derive_summary_records.R.
What should the new function be called?
All the best,
Alana

@alanaharris22 , I would propose get_summary_records(). See also my comment in the old PR.

Thanks @bundfussr, will take a look through the old PR..


proxy is low performance

I register an app service with /app1, when i access on the FF browser, I found long lantency than no gateway.
Then I trace the request ,found this:
HTTP/1.1 304 Not Modified
Content-Type: application/javascript; charset=UTF-8
Connection: keep-alive
Date: Tue, 08 Jun 2021 07:50:10 GMT
X-Kong-Upstream-Latency: 1
X-Kong-Proxy-Latency: 2009
Via: kong/2.2.1

some request have long lantency than 2s, try open log but found nothing.
I want to know why?

Any suggestion?

Hello @sany98215!
What do you get when sending the same request using curl or httpie?
Can you share the full request that is sent by Firefox using "copy as cURL" in "Web Developer Tools"?

Hello @sany98215,
2 seconds indeed seems very long. Could you enable debug logging for Kong and paste it here so we can tell better what is using the processing times?

this is result of 'curl' command.

curl 'http://**ip:xx**/relax/rpc?tm=1623893642707' -H 'User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:89.0) Gecko/20100101 Firefox/89.0' -H 'Accept: application/json, text/javascript, */*; q=0.01' -H 'Accept-Language: zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2' --compressed -H 'Content-Type: application/json' -H 'X-User-Lang: zh-CN' -H 'X-SR-A:<PHONE_NUMBER>6ab1b4ee7b81069242880d17a179a8dd5' -H 'X-Requested-With: XMLHttpRequest' -H 'Origin: http://<IP_ADDRESS>:32001' -H 'Connection: keep-alive' -H 'Referer: http://<IP_ADDRESS>:32001/relax/index.html;JSESSIONID=55830f1d-a92c-46be-be1a-6b6f456b2ab2' -H 'Cookie: _ga=GA1.1.1815228447.1623304649; _gid=GA1.1.1272375504.1623741763; sid=670500ea-b5de-4e00-88fa-e91d9fde9762' --data-raw '{"jsonrpc":"2.0","method":"/v2/license/getLicValidateResult","id":1,"params":[]}'
{"id":1,"jsonrpc":"2.0","result":{"resultType":"Success"}}

debug log
log setting :
/usr/local/share/lua/5.1/kong/templates/kong_defaults.lua

log_level= debug

and got those output:
2021/06/17 09:57:12 [debug] 181#0: *603 [lua] init.lua:998: balancer(): enabled connection keepalive (pool=<IP_ADDRESS>|9090, pool_size=60, idle_timeout=60, max_requests=100)
2021/06/17 09:57:13 [debug] 183#0: *15532 [lua] init.lua:288: [cluster_events] polling events from:<PHONE_NUMBER>.713
2021/06/17 09:57:14 [debug] 181#0: *603 [lua] init.lua:969: balancer(): setting address (try 1): <IP_ADDRESS>:9090
2021/06/17 09:57:14 [debug] 181#0: *603 [lua] init.lua:998: balancer(): enabled connection keepalive (pool=<IP_ADDRESS>|9090, pool_size=60, idle_timeout=60, max_requests=100)
2021/06/17 09:57:14 [debug] 179#0: *50 [lua] init.lua:969: balancer(): setting address (try 1): <IP_ADDRESS>:9090
2021/06/17 09:57:14 [debug] 179#0: *50 [lua] init.lua:998: balancer(): enabled connection keepalive (pool=<IP_ADDRESS>|9090, pool_size=60, idle_timeout=60, max_requests=100)
2021/06/17 09:57:18 [debug] 184#0: *15663 [lua] init.lua:288: [cluster_events] polling events from:<PHONE_NUMBER>.713
2021/06/17 09:57:19 [debug] 185#0: *15630 [lua] init.lua:969: balancer(): setting address (try 1): <IP_ADDRESS>:9090
2021/06/17 09:57:19 [debug] 185#0: *15630 [lua] init.lua:998: balancer(): enabled connection keepalive (pool=<IP_ADDRESS>|9090, pool_size=60, idle_timeout=60, max_requests=100)
2021/06/17 09:57:19 [info] 185#0: *15630 client <IP_ADDRESS> closed keepalive connection
2021/06/17 09:57:20 [debug] 184#0: *980 [lua] init.lua:969: balancer(): setting address (try 1): <IP_ADDRESS>:9090
2021/06/17 09:57:20 [debug] 184#0: *980 [lua] init.lua:998: balancer(): enabled connection keepalive (pool=<IP_ADDRESS>|9090, pool_size=60, idle_timeout=60, max_requests=100)
2021/06/17 09:57:22 [debug] 181#0: *603 [lua] init.lua:969: balancer(): setting address (try 1): <IP_ADDRESS>:9090
2021/06/17 09:57:22 [debug] 181#0: *603 [lua] init.lua:998: balancer(): enabled connection keepalive (pool=<IP_ADDRESS>|9090, pool_size=60, idle_timeout=60, max_requests=100)
2021/06/17 09:57:23 [debug] 185#0: *15782 [lua] init.lua:288: [cluster_events] polling events from:<PHONE_NUMBER>.713
2021/06/17 09:57:26 [debug] 181#0: *603 [lua] init.lua:969: balancer(): setting address (try 1): <IP_ADDRESS>:9090
2021/06/17 09:57:26 [debug] 181#0: *603 [lua] init.lua:998: balancer(): enabled connection keepalive (pool=<IP_ADDRESS>|9090, pool_size=60, idle_timeout=60, max_requests=100)
2021/06/17 09:57:27 [debug] 182#0: *14841 [lua] init.lua:969: balancer(): setting address (try 1): <IP_ADDRESS>:9090
2021/06/17 09:57:27 [debug] 182#0: *14841 [lua] init.lua:998: balancer(): enabled connection keepalive (pool=<IP_ADDRESS>|9090, pool_size=60, idle_timeout=60, max_requests=100)
2021/06/17 09:57:28 [debug] 185#0: *11498 [lua] init.lua:969: balancer(): setting address (try 1): <IP_ADDRESS>:9090
2021/06/17 09:57:28 [debug] 185#0: *11498 [lua] init.lua:998: balancer(): enabled connection keepalive (pool=<IP_ADDRESS>|9090, pool_size=60, idle_timeout=60, max_requests=100)
2021/06/17 09:57:28 [debug] 184#0: *7343 [lua] init.lua:969: balancer(): setting address (try 1): <IP_ADDRESS>:9090
2021/06/17 09:57:28 [debug] 184#0: *7343 [lua] init.lua:998: balancer(): enabled connection keepalive (pool=<IP_ADDRESS>|9090, pool_size=60, idle_timeout=60, max_requests=100)
2021/06/17 09:57:28 [debug] 182#0: *15915 [lua] init.lua:969: balancer(): setting address (try 1): <IP_ADDRESS>:9090
2021/06/17 09:57:28 [debug] 182#0: *15915 [lua] init.lua:998: balancer(): enabled connection keepalive (pool=<IP_ADDRESS>|9090, pool_size=60, idle_timeout=60, max_requests=100)
2021/06/17 09:57:28 [debug] 180#0: *15916 [lua] init.lua:288: [cluster_events] polling events from:<PHONE_NUMBER>.713

@dndx @locao

@dndx @locao
I tried to trace every step and logged the result ,and I found where is latency came from:
----file is balance.lua:execute  ---
.......
local ip, port, hostname, handle
  if balancer then
    -- have to invoke the ring-balancer
    local hstate = run_hook("balancer:get_peer:pre", target.host)
    ip, port, hostname, handle = balancer:getPeer(dns_cache_only,
                                          target.balancer_handle,
                                          hash_value)
    run_hook("balancer:get_peer:post", hstate)
    if not ip and
      (port == "No peers are available" or port == "Balancer is unhealthy") then
      return nil, "failure to get a peer from the ring-balancer", 503
    end
    hostname = hostname or ip
    target.hash_value = hash_value
    target.balancer_handle = handle

  else
    -- have to do a regular DNS lookup
    local try_list
    local hstate = run_hook("balancer:to_ip:pre", target.host)
    ip, port, try_list = toip(target.host, target.port, dns_cache_only)
    run_hook("balancer:to_ip:post", hstate)
    hostname = target.host
    if not ip then
      log(ERR, "DNS resolution failed: ", port, ". Tried: ", tostring(try_list))
      if port == "dns server error: 3 name error" or
         port == "dns client error: 101 empty record received" then
        return nil, "name resolution failed", 503
      end
    end
  end

......

And I need more help!

@sany98215
Thanks for the logs. It seems that the resolver that Kong is using for resolving the domain may be slow. Could you try to change the upstream address to IP and see if the latency disappears?
If so, then you will probably have to investigate on the slow resolver performance in order to solve this.

Thanks for reply. When I change the upstream address to IP, the latency disappears.
DNS is a CoreDNS service by K8s,which the Max latency is about 385ms,but the latency by Kong is 2s.
What shoud i do next?
At 2021-07-01 01:10:00, "Datong Sun" @.***> wrote:
@sany98215
Thanks for the logs. It seems that the resolver that Kong is using for resolving the domain may be slow. Could you try to change the upstream address to IP and see if the latency disappears?
If so, then you will probably have to investigate on the slow resolver performance in order to solve this.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

@sany98215 please, check the DNS server latency, it is the most probable source of the latency you are experiencing:
$ dig @<dns-server-ip> <hostname>

You will get something like this:
$ dig @<IP_ADDRESS> mockbin.org

; <<>> DiG 9.10.6 <<>> @<IP_ADDRESS> mockbin.org
; (1 server found)
<redacted>

;; Query time: 154 msec
;; SERVER: <IP_ADDRESS>#53(<IP_ADDRESS>)

The Query time field says how long the server is taking to return this query.

@locao
DNS server latency is about 1msec. here is output:
dig @<IP_ADDRESS> relax.relax.svc.cluster.local
; <<>> DiG 9.16.15 <<>> @<IP_ADDRESS> relax.relax.svc.cluster.local
; (1 server found)
;; global options: +cmd
;; Got answer:
;; WARNING: .local is reserved for Multicast DNS
;; You are currently testing what happens when an mDNS query is leaked to DNS
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 44059
;; flags: qr aa rd; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; WARNING: recursion requested but not available

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
; COOKIE: d187023902f5bbd4 (echoed)
;; QUESTION SECTION:
;relax.relax.svc.cluster.local. IN      A

;; ANSWER SECTION:
relax.relax.svc.cluster.local. 14 IN    A       <IP_ADDRESS>

;; Query time: 0 msec
;; SERVER: <IP_ADDRESS>#53(<IP_ADDRESS>)
;; WHEN: Fri Jul 16 17:16:39 CST 2021
;; MSG SIZE  rcvd: 115

Hello @sany98215 ,
Is there any resolvers inside /etc/resolv.conf that may be running slow.
Kong uses all resolvers it can find from /etc/resolv.conf, so if some of them are slow or unreachable and some are fast, the resolving time would still jump up high sometimes.

Hi ,@Datong Sun!
I just have one dns which is suplied by k8s. The difference is :Each Service is register as "{app}.{namespace}" , but the real domain name is  {app}.{namespace}.svc.cluster.local.
 And the max latancy of "{app}.{namespace}.svc.cluster.local " is about 300ms from CoreDNS.

At 2021-07-22 01:12:30, "Datong Sun" @.***> wrote:
Hello @sany98215 ,
Is there any resolvers inside /etc/resolv.conf that may be running slow.
Kong uses all resolvers it can find from /etc/resolv.conf, so if some of them are slow or unreachable and some are fast, the resolving time would still jump up high sometimes.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

The latency reported by DNS is for a single query, not for the sequential queries of all types. k8s typically uses ndots=5 in the dns config and has a long list of domains to try. So that can be many queries to try.
What happens if you make multiple requests, such that Kong gets the opportunity to use its DNS cache (note that the cache is per worker process, so you might have to hit it several times before the latency goes down).
How is your service object (in Kong) configured?
That said, 2sec is still very long.

Hi, @Tieske！
 The latency came from many queries to try. The configure of serives is "http://{app}.{namespace}:{port}/{service_url}", but the real virtual domain name is app.namespace.svc.cluster.local.
The first query to resolve 'app.namespace'  is the main latency.
But can you give some suggest for configuration in k8s? The service domain name come from three part:serviceName,namespace and  defaut suffix of CoreDNS.
At 2021-07-22 13:44:07, "Thijs Schreijer" @.***> wrote:
The latency reported by DNS is for a single query, not for the sequential queries of all types. k8s typically uses ndots=5 in the dns config and has a long list of domains to try. So that can be many queries to try.
What happens if you make multiple requests, such that Kong gets the opportunity to use its DNS cache (note that the cache is per worker process, so you might have to hit it several times before the latency goes down).
How is your service object (in Kong) configured?
That said, 2sec is still very long.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

@sany98215 what happens if you try multiple requests? The dns cache should help, does it?
Also; typically only the first dns lookup is synchronous/in-band and causes a high latency on the first request. Refreshing is done in the background (async/out-of-band).
What you can try is to use an upstream entity in Kong (load balancer) since that will resolve the name up front iirc

I'm converting this to a discussion as this is not an issue with Kong itself.


Library Management System created

Fixes
#431

Description

Library Management System is a project based on Binary File Concept in C language
Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[X] New project (non-breaking change which adds functionality)

How Has This Been Tested?

It has been tested in VSCode IDE and the proof of running the program is seen in walkthrough video
Tech Stack used:

C Language

Checklist:

[X] My code follows the style guidelines of this project
[X] I have performed a self-review of my own code
[X] I have commented my code, particularly in hard-to-understand areas
[X] I have included a README.md file
[X] My project follows this structure: Domain Folder/ Project Name Folder/ Project files and Readme.md files
[X] I have added demonstration in the form of GIF/video file
[X] I am a GSSoC'22 Participant

@heet-kumar Pls review this PR

@heet-kumar The binary file can't be viewed, it always shows:

@ I have updated the README.md

@heet-kumar @abhijeet007rocks8 @manisha-27 Pls merge this PR


added auto ip detection and hostname collision detection

Fixes #234 and #233

Couple nits.  Looks good, though and I don't need to see it again after you fix them up.