Rendering graphics to a customized canvas with a specific id

Is there a way to render the canvas into a customized canvas with a specific id?
Some thing like:
<canvas id="scene"></canvas>

You can pass in a custom renderer or a parent scene - https://github.com/leapmotion/leapjs-rigged-hand/blob/master/src/leap.rigged-hand.coffee#L10


Getting Error reading XMLStreamReader: Unexpected character '"' when mocking soap endpoint

Getting Error reading XMLStreamReader: Unexpected character '"' when mocking soap response.
Below is the sample of how i mocked a soap endpoint
{             "name": "mocking_SOAP_to_get_device_details",             "operation": "POST",             "url": "/ws",             "request": {             },             "response": {               "status": 200,               "body": "<SOAP-ENV:Envelope xmlns:SOAP-ENV=\"http://schemas.xmlsoap.org/soap/envelope/\"><SOAP-ENV:Header/><SOAP-ENV:Body><ns2:GetDeviceDetailsResponse xmlns:ns2=\"http://flexy.com/device\"><ns2:DeviceDetails><ns2:id>1</ns2:id><ns2:name>iPad</ns2:name><ns2:description>It is a tablet computers designed, developed and marketed by Apple.</ns2:description></ns2:DeviceDetails></ns2:GetDeviceDetailsResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>"             }           }
But I'm getting the below error,
Error reading XMLStreamReader: Unexpected character '"' (code 34) in prolog; expected '<'

we can fix this by changing the below code in RestEndPointMocker.java
String jsonBodyRequest = mockStep.getResponse().get("body").toString();
to
JsonNode jsonNodeResponse = mockStep.getResponse(); JsonNode jsonNodeBody = jsonNodeResponse.get("body"); String jsonBodyRequest = (jsonNodeBody != null)?jsonNodeBody.toString():jsonNodeResponse.get("xmlBody").asText();
Kindly help to review & fix this.
I have a example which can help to understand more,
https://github.com/arunvelusamyd/spring-boot-rest-sample/blob/master/src/it/java/integrationtests/com/flexy/student/GetStudentIT.java

@arunvelusamyd , sounds great, Thanks!
Just let's get this validated via a PR.
@santhoshTpixler , @BeTheCodeWithYou and all folks please(when you get chance, please review).

@arunvelusamyd , sorry mate for the delay.
We are on it today.

Changes in PR looks good.
Just we need to add couple of unit tests to make sure it's not breaking any existing mocking.

Once done, we will try to release by tonight. 👍

No problem dude and it’s not a big delay.😊 Thanks for the update.

Fixed in the below version
<dependency>
  <groupId>org.jsmart</groupId>
  <artifactId>zerocode-tdd</artifactId>
  <version>1.3.2</version>
</dependency>


batch optimize

Not really an issue, just a question?
Is it possible to optimize a whole folder in terminal using local node install?
Are there any dev docs available?

thanks for the question! Currently the app does not batch(folder) processing.
As for using it on terminal, this app is a GUI app built on top of codecs compressors (WebP, OptiPNG, MozJPEG) so you may experiment the options with Squoosh > process them using existing program on command line.


⚠ Bofrost.at has degraded performance

In 0bd9eca, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1090 ms

Resolved: Bofrost.at performance has improved in 6c97517.


UNDERTOW-1543: SimpleNonceManager uses ThreadLocalRandom

Reduces potential contention between threads using a shared
Random instance.

I've piggy-backed on UNDERTOW-1543, I can file another ticket for this if you like. This one is more cleanup than anything.

@carterkozak  that's alright, no need to create another Jira, thanks btw!


[WIP] Add compile step that bundles and compresses JS files

Also, manage dependencies on third-party JS libraries using NPM. This addresses the second point in #683.
Todo:

[ ] improve JS code using ES2015 features and switch to TypeScript

This patch changes the QuickJump interface. We must not forget to change hackage accordingly:
It needs to know how to load the new quick-jump.js on package pages. Knowing QuickJump would undergo some changes I implemented a versioning scheme in https://github.com/haskell/hackage-server/commit/51d86a372cc28817501cbe07d942e5f3f6ee7afb#diff-bed07c0e9d3155a8916521a5bd83a710R258. Haddock generates a meta.json which hackage inspects and chooses which version of QuickJump it has to deal with.
Currently it decides on the haddock_version field  from meta.json but I think we should introduce a quickjump_version field to meta.json. And just like the way interface files are versioned (c.f. https://github.com/haskell/haddock/blob/master/haddock-api/src/Haddock/InterfaceFile.hs#L86) we increment the version everytime a breaking change to the QuickJump interface happens. This way we are decoupled from the haddock version.

I don't see the need for a separate new version number. I believe that we can keep the QuickJump interface stable going forward. For instance, this pull request doesn't change the quickNav.init interface, it only changes the organization of the JS files (one minified, bundled file instead of three). If we ever need to pass an additional argument to quickNav.init we can just do so, without breaking backwards compatibility.

Looks good to me. Just one more thing: Please separate the QuickJump css from haddock css.

Just one more thing: Please separate the QuickJump css from haddock css.

Done. The layout bug should be gone when quick-jump.css is used together with the Hackage CSS.

Great! Looks good. Will merge as soon as travis is green.

Dang. I think you forgot to update the tests.

Dang. I think you forgot to update the tests.

Yep. I've sent an updated patch.


build: update deps

I explained here the rationale for re-opening this.
This undoes the revert done here I chose to use the original branch as a revert of a revert would make the commit history look less readable.
I've ran these tests in the browser at least 4 times with no failures so I think it's safe to merge.

Another problem, and potentially related to the flaky tests and performance issue was a new warning appearing related to our vitest setup: Vitest found 6 config files. For better performance, consider using a workspace configuration.. I think we should first add a workspace configuration, and then proceed to see if that completely resolves the above issues.

That's a good point, I created this issue to handle the vitest upgrade and changed this PR to only upgrade vite.

ESM only package

The vite.config.ts files we have already in ESM syntax so I don't think this is an issue, that recommendation is for troubleshooting non-ESM compatible imports.

I had no issues running the tests using this branch

Just merged master and got the error we experienced before the release.

FAIL  packages/utils/src/utils/chunkAndPadBytes.test.ts [ packages/utils/src/utils/chunkAndPadBytes.test.ts ]
Error: No test suite found in file /home/runner/work/fuels-ts/fuels-ts/packages/utils/src/utils/chunkAndPadBytes.test.ts

There are also a lot of warnings within the browser tests which aren't visible on master.

Module "util" has been externalized for browser compatibility. Cannot access "util.debuglog" in client code. See vitejs.dev/guide/troubleshooting.html#module-externalized-for-browser-compatibility for more details.

Good catch @petertonysmith94 , it seems my previous lockfile was causing vitest to run v1.5 despite those deps not being updated to that vitest version, a bit strange considering that's outside the semver range, must have been a pnpm install oversight... nevertheless I've resolved that and the warnings and flakey test are gone now 😄


[Failing Test]: PostCommit Python Xlang Gcp Direct and Dataflow failing due to #30059

What happened?
#30059 introduces a constraint that failing pipeline on numShards=0 for xlang BigQueryIO storage write API. However, there are tests covering this and working until this constraint is set. Likely the constraint is to broad and breaking known use case.
We should either limit the scope of the constraint or just add warning
Issue Failure
Failure: Test is continually failing
Issue Priority
Priority: 1 (unhealthy code / failing or flaky postcommit so we cannot be sure the product is healthy)
Issue Components

[X] Component: Python SDK
[ ] Component: Java SDK
[ ] Component: Go SDK
[ ] Component: Typescript SDK
[ ] Component: IO connector
[ ] Component: Beam YAML
[ ] Component: Beam examples
[ ] Component: Beam playground
[ ] Component: Beam katas
[ ] Component: Website
[ ] Component: Spark Runner
[ ] Component: Flink Runner
[ ] Component: Samza Runner
[ ] Component: Twister2 Runner
[ ] Component: Hazelcast Jet Runner
[ ] Component: Google Cloud Dataflow Runner

Add as release blocker because it's breaking two post commits

CC: @Polber @lostluck

Thanks for taking care of this issue!

Cherry pick is merged in. Currently running the failing suites against the branch. Will close issue if they are green.


Can't run inside a tmux session?

Hi there.
Any idea why I can't run this inside a tmux session?  I get:
myuser@LAPTOP ~ % sudo ./wsl-vpnkit.sh
successfully created TAP device eth1
starting in connect mode with path=/var/run/wsl-vpnkit.sock and tap=eth1
Failure reading from socket: closing: Connection reset by peer
Failed to read hello from client
Failed to negotiate vmnet connection
Failure reading from socket: closing: Connection reset by peer
Failed to read hello from client
Failed to negotiate vmnet connection

But in a regular terminal:
myuser@LAPTOP ~ % sudo ./wsl-vpnkit.sh
vpnkit.exe: [INFO] Setting handler to ignore all SIGPIPE signals
vpnkit.exe: [INFO] Version is 218f01482560cba2fa863f9ad872ad51d1e717fc
vpnkit.exe: [INFO] System SOMAXCONN is<PHONE_NUMBER>
vpnkit.exe: [INFO] Will use a listen backlog of 32
vpnkit.exe: [INFO] No periodic Gc.compact enabled
vpnkit.exe: [WARNING] There is no database: using hardcoded network configuration values
vpnkit.exe: [INFO] DNS server configured with no builtin DNS names; everything will be forwarded
vpnkit.exe: [INFO] 2 upstream DNS servers are configured
vpnkit.exe: [INFO] Disabling transparent HTTP redirection
vpnkit.exe: [INFO] Updating resolvers to use host resolver
vpnkit.exe: [INFO] Secure random number generator is available
vpnkit.exe: [INFO] Add(3): DNS configuration changed to: use host resolver
vpnkit.exe: [INFO] DNS server configured with builtin DNS names [ gateway.internal -> <IP_ADDRESS>, host.internal -> <IP_ADDRESS>, vm.internal -> <IP_ADDRESS> ]
vpnkit.exe: [INFO] Will use the host's DNS resolver
vpnkit.exe: [INFO] New Gateway forward configuration: []
vpnkit.exe: [INFO] Configuration server_macaddr = f6:16:36:bc:8a:c6; max_connection = None; dns_path = None; dns = ; resolver = Host; domain = None; allowed_bind_addresses = <IP_ADDRESS>; gateway_ip = <IP_ADDRESS>; host_ip = <IP_ADDRESS>; lowest_ip = <IP_ADDRESS>; highest_ip = <IP_ADDRESS>; dhcp_json_path = None; dhcp_configuration = None; mtu = 1500; http_intercept = None; http_intercept_path = None; port_max_idle_time = 300; host_names = host.internal; gateway_names = gateway.internal; vm_names = vm.internal; udpv4_forwards = []; tcpv4_forwards = []; gateway_forwards_path = None; pcap_snaplen = 128
vpnkit.exe: [ERROR] Failed to parse address '' from hosts file
vpnkit.exe: [INFO] C:\Windows\System32\drivers\etc\hosts file has bindings for vmware-localhost vmware-localhost host.docker.internal gateway.docker.internal kubernetes.docker.internal
successfully created TAP device eth1
starting in connect mode with path=/var/run/wsl-vpnkit.sock and tap=eth1
vpnkit.exe: [INFO] Vmnet.Server.negotiate: received { magic = VMN3T; version = 22; commit =                                          }
Server reports version 22, commit<PHONE_NUMBER>012345678901234567890123456789
vpnkit.exe: [INFO] Generated UUID on behalf of client: 0656efd6-6cfe-88af-a0f2-8a98a931cc47
vpnkit.exe: [INFO] Vmnet.Server.negotiate: received Ethernet 0656efd6-8cfe-49af-a0f2-8a98a931cc47
vpnkit.exe: [INFO] Vmnet.Server.negotiate: sending { mtu = 1500; max_packet_size = 1550; client_macaddr = 02:5a:00:00:00:01 }
vpnkit.exe: [INFO] Vmnet.Server.listen: rebinding the primary listen callback
vpnkit.exe: [INFO] Vmnet.Server.listen: starting event loop
vpnkit.exe: [INFO] Connected Ethernet interface f6:16:36:8a:f9:c6
VMNET VIF has MAC 02:5a:00:00:00:01
vpnkit.exe: [INFO] Client mac: 02:5a:00:00:00:01 server mac: f6:16:36:8a:f9:c6
vpnkit.exe: [INFO] TCP/IP ready
vpnkit.exe: [INFO] TCP/IP stack connected

And finally: Thank you SO much for this!  Very creative and useful.

I haven't found a solution, but the issue seems to be because calling a Windows process doesn't work using sudo inside tmux. The line below will work outside of tmux but doesn't seem to do anything inside tmux.
sudo /mnt/c/WINDOWS/system32/notepad.exe

You need to preserve envvars with sudo -E . or set WSL_INTEROP.

Idk why this is only a concern under tmux fwiw, there's probablly some magic happening somewhere. /shrug

It's just much easier to start up a tmux session and detach from it so that the window doesn't accidentally get closed or something.  The sudo -E wsl-vpnkit.sh that you mentioned works like a charm.  Thank you!!
@sakai135 , do you think you could tack this info into the README?

@Liath thanks for the info!
@schmitmd added the info to the readme


Syncing charts with diferent options

Hello, I work with apexcharts and react-apexcharts and I have a little issue:
When I create a group of charts to sync them, some options can not be different between the charts. for example, the fill type, the title, or the toolbar showing. Too bad !
Is it a bug or is it voluntary?
There is a workaround?
(my first time on github issues so if i forgot something, please tell me what)
Thank you

No, the only thing that should be common between synced charts is the xaxis - rest everything is independent. Fill-type, Title has nothing to do with synchronization.
If you can create a codepen demo, I can see if there is an issue with other options.

Here are the options of my two charts
I will give you the codesandbox code in a second
firstChartOptions = {
                chart: {
                    id: 'MainChart',
                    group: 'BacktestCharts',
                    animations: {
                        enabled: false
                    },
                    stacked: false,
                    zoom: {
                        type: 'x',
                        enabled: true
                    },
                    toolbar: {
                        autoSelected: 'zoom',
                        show: true
                    },
                    background: '#fff'
                },
                annotations: {
                    points: []
                },
                dataLabels: {
                    enabled: false
                },
                markers: {
                    size: 0,
                },
                title: {
                    text: 'Backtest Chart',
                    align: 'left'
                },
                fill: {
                    type: 'gradient',
                    gradient: {
                        shadeIntensity: 1,
                        opacityFrom: 0.7,
                        opacityTo: 0.9,
                        stops: [0, 100]
                    }
                },
                xaxis: {
                    type: 'datetime',
                },
                stroke: {
                    width: 1
                },

                tooltip: {
                    shared: false,
                    x: {
                        format: 'dd MMM - HH : mm '
                    }
                }
            }

secondChartOptions = {
        chart: {
            id: `second`,
            group: 'BacktestCharts',
            animations: {
                enabled: false
            },
            stacked: false,
            zoom: {
                type: 'x',
                enabled: true
            },
            background: '#fff',
            toolbar: {
                show: false
            }
        },
        annotations: {
            points: []
        },
        dataLabels: {
            enabled: false
        },
        markers: {
            size: 0,
        },
        title: {
            text: undefined,
            align: 'left'
        },
        fill: {
            type: 'gradient',
            gradient: {
                shadeIntensity: 1,
                opacityFrom: 0.7,
                opacityTo: 0.9,
                stops: [0, 100]
            }
        },
        xaxis: {
            type: 'datetime',
        },
        stroke: {
            width: 1
        },

        tooltip: {
            shared: false,
            x: {
                format: 'dd MMM - HH : mm '
            }
        }
    }

ok this is crazy : in codesandbox I just paste all my own code but the result is not the same as in my computer...
https://codesandbox.io/s/qvqx675m14
In codesandbox, there is no issue.
I don't understand

sorry this image was not sent in my last post. so it's the result on my computer.

As you can see in these charts, there is no toolbar and an undefined title
for both.
Normally, the first chart should have "test" as a title and a toolbar but
the options in the second chart seem to have an impact on the first chart
on these two props
On my computer, as I edit a complex application, I work with react-redux. Maybe it affects Apexcharts ? It's the only difference between the codesandbox code and my code

Hi, I just found the issue : it's because of react-apexcharts.
when we change series of 2 sync charts at the same time, their options sync as well.
You can see in this codesandbox
At first, the two charts have a different title and the first one has a toolbar but not the second one.
When you click the update button, you can see that the two charts receive the options of the second chart (title: 'test', display toolbar: false, fill gradient: weird because of the linear graph and the area).


Search: "No Results" not customizable

In the search module, when nothing is found the title of the message is not customizable. That is a problem for i18n.
See: https://github.com/Semantic-Org/Semantic-UI/blob/master/src/definitions/modules/search.js#L1158

#2405


how do you start complet after @Override

i find you have add this map to you vimrc
let g:UltiSnipsExpandTrigger="<C-x>"
let g:UltiSnipsJumpForwardTrigger="<c-b>"
let g:UltiSnipsJumpBackwardTrigger="<c-z>"
so after @Override how do you start omnifunc

There is nothing special about after @Override completion, just <C-x><C-o> after @Override keyword, or <C-Space> default completion trigger of YCM. UltiSnips configs I have set long time ago.

oh  i know i will chang my Ultisnips maps,  has been used by pinyin input method,you know i am a chinese.


Massively Breaking Proposal For Read/Write

https://github.com/Embroidermodder/MobileViewer/pull/83
There are a variety of problems with the current system of reading and writing.
https://github.com/Embroidermodder/MobileViewer/issues/80 https://github.com/Embroidermodder/MobileViewer/issues/82 https://github.com/Embroidermodder/MobileViewer/issues/76 https://github.com/Embroidermodder/MobileViewer/issues/55 https://github.com/Embroidermodder/MobileViewer/issues/54 https://github.com/Embroidermodder/MobileViewer/issues/53 https://github.com/Embroidermodder/MobileViewer/issues/45
The most problematic of which are the variety of different styles but more so are common buts like doing (stream.read(b) != 3) or Thread.isInterupted() or stream.close() or catching the IOErrors internally in those files. These are a pretty bad set of events. First stream.read() doesn't read the entire stream always, sometimes it just reads 2 out of 3 bytes because it has 2 bytes. So it returns 2. This will cause those elements to die when really they should have just waiting until the data got there and then loaded it. Which is what the readFully() command does. Also, there's no point to checking whether the thread is interrupted, that oddly enough resets the interrupted flag and can often not exist and still cause issues. That along with the catching the IOExemption blocks the obvious best way to do interruption there. Namely, you close the stream. If there is no stream, all of those commands will throw the IOException themselves and you can catch them at the higher level and abort in a much more reasonable way.
I also included some of my own code for .exp and .pes (version 1 and 6), which do things like load threads and metadata. And some of the clearly better ways to do the thread sets.

There are a few outstanding questions.

Should the internal format for the commands be lossless or should it be corrected? -- If a file like .dst lacks a trim, should one be inserted into the data or should that only be corrected if you try to write the file out?

Should larger event commands be broken up presently or called the larger command name like "frame-on" "tie-on" "tie-off"? These can be broken into smaller commands to do a lockstitch or jump to the top of the pattern.

Should color changes occur before jumps or after them? If you are trimming, jumping to a new location, then doing a color change, should you prefer one order over another? Should we trim, jump, color change, or trim, colorchange jump? Should we just call that one command somehow like next_color @ x, y? And then have them broken down by format?

Should we exclude the trim if we colorchange? Or should we overtly include it?

What does it actually mean when some formats are IFormat.TRIM | IFormat.JUMP. The trim is just the command that cuts the thread. The jumps relocate to another place without a needle puncture?

Should commands be interpolated for the events where a jump stitch is just a move command vs. where a jump stitch is an honest to goodness extra long stitch that simply blocks the needlebar from depressing and moves to another location, with the thread intact?

Should most all the commands be converted to a higher level view, and broken apart depending on the write format alone? Like should it maybe just be stitches, next_color(x,y), next_layer(x,y)?

Do we preserve all the commands in the state they were in the read file?
Do we rewrite those read command into higher level interpolations immediately?
Do we break those commands down into a subset of easier commands before sending them to the writing routine, or do we write highly robust writing routines that can deal with things like sequins in formats that do not take sequins? Or have some formats properly deal with things like dst 3 jumps = a trim interpolations. Or do just insert those when the files are read initially?

I am leaning towards loading with the exact commands that the file gave in that exact order and how they are properly interpreted and then a rather expansive conversion process to make them ready for saving. Run through and transcode things like interpolated trims from groups of jumps. Tie-on, Tie-off, being converted into tiny establishing stitches at the start and locking stitches as a bunch of settings during the save process. This would generally mean the writers would have to request it be converted into some format they can certainly interpret, specific distances of jump stitches, and stitches, strip unorthodox commands like eject_sequin. --- And do this in a way that permits these edits to be done ad-hoc without saving.

I kinda wanna steal some more code from LibEmbroidery for things like Hus so its important to not stray too far from how it does things.

#86 fixes the code into working versions. But some of the issues are still outstanding. You cannot directly convert between two different embroidery formats 100% of the time because of issues with expectation, loss, timing events, etc. Do you color change before or after the jumps to the new location. TRIM, COLOR_CHANGE, JUMP or TRIM, JUMP, COLOR_CHANGE. Some of the output formats have it matter. But, the code here is the best most stable version I have.


Add support for Amazon States Language "ResultSelector" in Task, Map …

Add ResultSelector support for Task, Map and Parallel states.
Issue #, if available:
https://github.com/aws/aws-step-functions-data-science-sdk-python/issues/95

Description of changes:
Adding new Amazon States Language payload template "ResultSelector" https://states-language.net/#payload-template
This change allows user to define a result_selector which is used to define the effective result of a state.
Added unit test for changes for changes

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

AWS CodeBuild CI Report

Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: StepFunctionsPythonSDK-integtests
Commit ID: 41f2db2fe08f9f7d0e3ac413ce171f1c09310488
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: AutoBuildProject6AEA49D1-sEHrOdk7acJc
Commit ID: 8667c37ea68bdbdbff07f20aaf48a4be55dc8ec1
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: AutoBuildProject6AEA49D1-sEHrOdk7acJc
Commit ID: 8667c37ea68bdbdbff07f20aaf48a4be55dc8ec1
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: AutoBuildProject6AEA49D1-sEHrOdk7acJc
Commit ID: 8667c37ea68bdbdbff07f20aaf48a4be55dc8ec1
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: AutoBuildProject6AEA49D1-sEHrOdk7acJc
Commit ID:<PHONE_NUMBER>d4d6209973927e01cbc16ba44adb1e
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: AutoBuildProject6AEA49D1-sEHrOdk7acJc
Commit ID: 851fc0e56858626c58d4465085e92f5d66aaca00
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: AutoBuildProject6AEA49D1-sEHrOdk7acJc
Commit ID: e67804bf55b1b2ef8a5cb0bf560021e647482fbb
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

Any update with this? Would be fantastic to have! :+1:

Taking over to help merge @yoodan93 's PR
Thank you for your review - will be addressing comments shortly

AWS CodeBuild CI Report

CodeBuild project: AutoBuildProject6AEA49D1-sEHrOdk7acJc
Commit ID: 2758879e2f52df154fba73d3f17e858b26f5a7f0
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: AutoBuildProject6AEA49D1-sEHrOdk7acJc
Commit ID: 9df0b8d0c1ab882cb567ddc317cea0278e75e67d
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: AutoBuildProject6AEA49D1-sEHrOdk7acJc
Commit ID: ca45e9e646cb974f9a72cbf0f6e819de877b6a8d
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: AutoBuildProject6AEA49D1-sEHrOdk7acJc
Commit ID: a7016da74f5d7a550a09ba92defe9107a051627e
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

can you also add some details around testing

Added manual test details

at some point we should probably add some basic integ tests that exercise state machines and their support for ASL features. Presumably, we'll be adding more capabilities in the future. Probably not in scope for this PR, but worth thinking about sooner than later.

Agreed! let's do add integ tests in another PR

AWS CodeBuild CI Report

CodeBuild project: AutoBuildProject6AEA49D1-sEHrOdk7acJc
Commit ID: eb0a82c6b473b2ec33bae5232576635fdc078a3b
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: AutoBuildProject6AEA49D1-sEHrOdk7acJc
Commit ID: eb0a82c6b473b2ec33bae5232576635fdc078a3b
Result: FAILED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: AutoBuildProject6AEA49D1-sEHrOdk7acJc
Commit ID: eb0a82c6b473b2ec33bae5232576635fdc078a3b
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: AutoBuildProject6AEA49D1-sEHrOdk7acJc
Commit ID: 5f5c4cada1a654bf8b9a487f4bda5e40e570fe0c
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: AutoBuildProject6AEA49D1-sEHrOdk7acJc
Commit ID: 6871e033d68dd8af97874695ce614ce91025ddad
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: AutoBuildProject6AEA49D1-sEHrOdk7acJc
Commit ID: 21595dc7a437b1917d6f30d934892e5a4a85c30e
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

Manual test: Generated a workflow with a Task with StepResult placeholder and executed successfully

This is very unspecific. Can you share the SDK code you used to generate that?


Custom redirect

What can i do for custom redirect to other domain if 404(link does not exist)?

Linkr does not natively support configu

(Closed issue by accident)


Add support for alternative RegistrationFile

Closes #563

TODO for JEP65:
Subscribe to all subscription messages
// Set xpub_verbose option to 1 to pass all subscription messages (not only unique ones).
m_publisher.set(zmq::sockopt::xpub_verbose, 1);

From the guide (): https://zguide.zeromq.org/docs/chapter5/

by default, the XPUB socket does not report duplicate subscriptions, which is what you want when you’re naively connecting an XPUB to an XSUB. Our example sneakily gets around this by using random topics so the chance of it not working is one in a million. In a real LVC proxy, you’ll want to use the ZMQ_XPUB_VERBOSE option that we implement in Chapter 6 - The ZeroMQ Community as an exercise.

IOPub needs to listen on its socket
How do we listen to both XPUB and channel messages?
Have the forwarding thread own the socket? Need to send messages via that thread too...


Popover prop transitionDuration not applied to components in implementation

It seems transitionDuration gets unused here. Menu also has this prop and passes it into Popover. Currently passing in transitionProps={{ timeout: [duration in ms here] }} functions as a workaround.
https://github.com/mui-org/material-ui/blob/51b2559ea6911abb5280a504c66c0a2838487ca9/packages/material-ui/src/Popover/Popover.js#L294

@jessrosenfield Oops, thanks for raising. It should be applied on the <TransitionComponent />. Do you want to work on it? :)

Thanks to everyone for fixing/reviewing so quickly 😄


Support config via RABBITMQ_URL and update Bunny to 2.17.

Release version 4.1.0.

Support configuration via an AMQP connection string in the RABBITMQ_URL environment variable, as an alternative to setting the four GOV.UK-specific variables that were previously required.
Deprecate the old GOV.UK-specific environment variables. We can remove them in a future release, after GOV.UK Replatforming has launched.
Update Bunny to 2.17, which is the last version to support Ruby 2.7. Search API is still on Ruby 2.7, so we can't drop support for it yet.
Stop specifying recover_from_connection_close: true when instantiating Bunny, because that option defaults to true anyway.

Ah, good timing! I picked this up again yesterday and hoping to land it this week.


Avoid querying for OCI tags can explicit version provided in chart dependencies

Some OCI registries do not support listing tags as an available endpoint. When specifying a chart located in one of these registries, failures occur.
This enhancement aligns the functionality where tag listing is only queried whenever either no version is specified or a semver range is provided.
Related to #10624

What kind of tests do you need to be runned?


Trouble with bubble when bringing app back from foreground

Hi, I'm testing this library on a Honeywell EDA51-1 (Android 8.1), and have some trouble with the bubble. I'm trying to add the ability to open and app after pressing the bubble. For that, I'm using a library, react-native-invoke-app.
Expected behavior: when the app goes to background, the bubble should appear. If the user wants to bring the app back to the foreground, he can press the bubble and it should disappear after the app comes back.
Actual behavior:  when the app is in the background, and I press the bubble, the behavior can be very unpredictable. Sometime the app will come to the foreground after just a second and the bubble will be removed, sometimes I have to wait about 3-5 seconds for the app to appear, and sometime it won't work at all. In addition, after the app comes to the foreground, sometimes the bubble won't disappear. If the bubble won't hide, then after minimizing the app, two bubbles will be present on the screen. I console log most of the events, like in the example, and some crazy stuff happens here, like the bubble being removed over a hundred times in one moment.
How to reproduce: here is my App.js file
import {Provider} from 'react-redux';
import {store, persistor} from './src/store';
import {PersistGate} from 'redux-persist/integration/react';
import React, {Component} from 'react';
import {DeviceEventEmitter, AppState} from 'react-native';
import Root from './src/index.js';
import invokeApp from 'react-native-invoke-app';
import {
  initialize,
  showFloatingBubble,
  hideFloatingBubble,
  requestPermission,
} from 'react-native-floating-bubble';

class App extends Component {
  initializeBubble = async () => {
    initialize().then(() => console.log('Initialized the bubble mange'));
  };

  getPermissions = async () => {
    requestPermission()
      .then(() => console.log('Permission Granted'))
      .catch(() => console.log('Permission is not granted'));
  };

  showBubble = async () => {
    showFloatingBubble(10, 10).then(() => console.log('Floating Bubble Added'));
  };

  hideBubble = async () => {
    hideFloatingBubble().then(() => console.log('Floating Bubble Removed'));
  };

  componentDidMount() {
    this.getPermissions().then(() => this.initializeBubble());

    DeviceEventEmitter.addListener('floating-bubble-press', (e) => {
      // What to do when user press the bubble
      invokeApp();
      console.log('Press Bubble');
    });

    DeviceEventEmitter.addListener('floating-bubble-remove', (e) => {
      // What to do when user removes the bubble
      console.log('Remove Bubble');
    });

    AppState.addEventListener('change', (e) => {
      console.log(e);
      if (e === 'active') this.hideBubble();
      if (e === 'background') this.showBubble();
    });
  }

  render() {
    return (
      <Provider store={store}>
        <PersistGate loading={null} persistor={persistor}>
          <Root />
        </PersistGate>
      </Provider>
    );
  }
}
export default App;

I hope I explained the issue clearly enough. I might also add that I suspect that this might be an issue with invokeApp, and not really related to the bubble library. Or maybe somebody can offer a better approach to this functionality.

Perhaps adding,
      subscriptionPress.remove();
      subscriptionRemove.remove();

to the componentWillUnmount  will fix the problem. Not so sure though. :smile:
Please check the example. We use hooks there, but hope you get the idea. https://github.com/hybriteq/react-native-floating-bubble/blob/master/testApp/App.js

i tried doing the samething and it is somewhat working
`/**

Sample React Native App
https://github.com/facebook/react-native

@format
@flow strict-local
*/

import React from 'react';
import { showFloatingBubble, hideFloatingBubble, requestPermission, checkPermission, initialize } from "react-native-floating-bubble";
import {
SafeAreaView,
StyleSheet,
ScrollView,
View,
Text,
StatusBar,
DeviceEventEmitter,
AppState
} from 'react-native';
import {
Header,
LearnMoreLinks,
Colors,
DebugInstructions,
ReloadInstructions,
} from 'react-native/Libraries/NewAppScreen';
const App: () => React$Node = () => {
// To display the bubble over other apps you need to get 'Draw Over Other Apps' permission from androind.
// If you initialize without having the permission App could crash
requestPermission()
.then(() => console.log("Permission Granted"))
.catch(() => console.log("Permission is not granted"))
// Initialize bubble manage
initialize()
.then(() => console.log("Initialized the bubble mange"))
// Show Floating Bubble: x=10, y=10 position of the bubble
React.useEffect(() => {
DeviceEventEmitter.addListener("floating-bubble-press", (e) => {
// What to do when user press the bubble
console.log("Press Bubble")
});
DeviceEventEmitter.addListener("floating-bubble-remove", (e) => {
// What to do when user removes the bubble
console.log("Remove Bubble")
});
AppState.addEventListener('change', (e) => {
  if (e === 'active')  hideFloatingBubble().then(() => console.log("Floating Bubble Removed"));
  if (e === 'background') showFloatingBubble(10, 10).then(() => console.log("Floating Bubble Added"));
});

return () => {
  DeviceEventEmitter.removeAllListeners()
}

}, [])
return (
<>

{/* <View onPress={()=>{
requestPermission()
}}> */}

{"request permissions"}
      <Text onPress={() => {
        initialize()
      }}>{"start buble"}</Text>

      <Text onPress={() => {
        showFloatingBubble(10, 10)
          .then(() => console.log("Floating Bubble Added"));
      }}>{"start buble"}</Text>

      <Text onPress={() => {

        // Hide Floatin Bubble
        hideFloatingBubble()
          .then(() => console.log("Floating Bubble Removed"));
      }}>{"stop buble"}</Text>
    </View>
  </SafeAreaView>
</>

);
};
const styles = StyleSheet.create({
scrollView: {
backgroundColor: Colors.lighter,
},
engine: {
position: 'absolute',
right: 0,
},
body: {
backgroundColor: Colors.white,
},
sectionContainer: {
marginTop: 32,
paddingHorizontal: 24,
},
sectionTitle: {
fontSize: 24,
fontWeight: '600',
color: Colors.black,
},
sectionDescription: {
marginTop: 8,
fontSize: 18,
fontWeight: '400',
color: Colors.dark,
},
highlight: {
fontWeight: '700',
},
footer: {
color: Colors.dark,
fontSize: 12,
fontWeight: '600',
padding: 4,
paddingRight: 12,
textAlign: 'right',
},
});
export default App;
`

Try creating it as a service

I have consulted you, but have you ever done click show 1 interface like facebook messenger, can you suggest me.

Aynone tries to get app to foreground use this
https://stackoverflow.com/a/61790617/11685348


Add birthday to exportufvk, and align different methods of getting birthday

exportufvk now returns an object including birthday, and we once again always calculate the birthday the same way.

Codecov Report
Patch coverage has no change and project coverage change: +0.05 :tada:

Comparison is base (c449fcf) 55.12% compared to head (2db5d33) 55.18%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@            Coverage Diff             @@
##              dev     #367      +/-   ##
==========================================
+ Coverage   55.12%   55.18%   +0.05%
==========================================
  Files          33       33
  Lines        5235     5228       -7
==========================================
- Hits         2886     2885       -1
+ Misses       2349     2343       -6

Impacted Files
Coverage Δ

zingolib/src/commands.rs
0.00% <0.00%> (ø)

zingolib/src/lightclient.rs
60.48% <ø> (+0.42%)
:arrow_up:

... and 2 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


[FEATURE] Basic User Profile Page

Will this feature solve a problem for you? Please describe it.
The user's profile/password should be user-modifiable.
Describe the solution you'd like
A page which gives the basic options for users.

User Email
Change Password

After looking through the docs some, Flask-user provides some profile page support. Unfortunately, it doesn't quite give the flexibility needed, so this feature will stay open.

Further profile page options:

change password
user timezone
set email


dinamic id dropdown selector

hello dalelotts, I have some problems when I try  assign 'id' dinamically to  data-datetimepicker-config:
here's my code
 <datetimepicker data-ng-model="RoadtripCtrl.date"
data-datetimepicker-config="{ dropdownSelector: '#calendar-dropdown_{{$index}}',minView:'hour' }" data-on-set-time="RoadtripCtrl.selectTime(newDate, oldDate,property.id,$index)"></datetimepicker>

and here's the error that throws:
Error: Syntax error, unrecognized expression: #calendar-dropdown_{{$index}}

try
data-datetimepicker-config="{ dropdownSelector: '#calendar-dropdown_' + $index, minView:'hour' }"

Thank you @Kesidi , it works, regards!!!

A PR to update documentation would be appreciated.

jquery.js:1586 Uncaught Error: Syntax error, unrecognized expression: #
at Function.Sizzle.error (http://localhost:8086/lib/jquery/jquery.js:1586:8)
at Sizzle.tokenize (http://localhost:8086/lib/jquery/jquery.js:2238:11)
at Sizzle.select (http://localhost:8086/lib/jquery/jquery.js:2665:20)
at Function.Sizzle [as find] (http://localhost:8086/lib/jquery/jquery.js:890:9)
at jQuery.fn.init.find (http://localhost:8086/lib/jquery/jquery.js:2921:11)
at jQuery.fn.init (http://localhost:8086/lib/jquery/jquery.js:3031:32)
at jQuery (http://localhost:8086/lib/jquery/jquery.js:98:10)
at b (http://localhost:8086/lib/bootstrap/js/bootstrap.min.js:6:11533)
at HTMLAnchorElement.g.toggle (http://localhost:8086/lib/bootstrap/js/bootstrap.min.js:6:12329)
at HTMLDocument.dispatch (http://localhost:8086/lib/jquery/jquery.js:5201:27)

@myj1214 don't use jquery 3 with bootstrap dropdown - I'm not sure why yet, but they don't like each other.

@dalelotts - I'm running into this same issue and I can't downgrade my jQuery v3.1.1. Is there any fix for this?

Okay.. Got it. This is the fix which I've done and it works with using jQuery v3.1.1 along with Bootstrap.js.
Changes are done in data-target and included a div element for the data-target

                         <input type="text" class="form-control" data-ng-model="editor.requestQuote.arrivalDate">

                         <datetimepicker data-ng-model="editor.myDate" data-datetimepicker-config="{ dropdownSelector: '#dropdown2' }"></datetimepicker>

@Karthik-Sundaramahalingam Nice! Do you happen to know if that same html will work with jquery 2.x?

@dalelotts - Yeah. It works fine even with jQuery v2.2.4.

@Karthik-Sundaramahalingam thanks for the info! I played around a bit more and found what I think are the smallest changes needed to support jQuery 2 and 3. Can you have a look at the readme and let me know if I missed something?

@dalelotts - Yeah. Sure. I'm happy to have a look at it.

@dalelotts - It's perfect.

@Karthik-Sundaramahalingam thanks for having a look!

@Kesidi , thank you!

@ExperisITdev, et al, please don't use the HTML in this issue. Use the examples in the readme


unignore FastAPI warnings

Change Summary

Related issue number

Checklist

[x] Unit tests for the changes exist
[x] Tests pass on CI and coverage remains at 100%
[x] Documentation reflects the changes where applicable
[ ] changes/<pull request or issue id>-<github username>.md file added describing change
(see changes/README.md for details)
[x] My PR is ready to review, please add a comment including the phrase "please review" to assign reviewers

please review

Closing in favour of https://github.com/samuelcolvin/pydantic/pull/3001


Disable password change if using external authentication, eg AD

If change password settings page doesn't support changing external authentication accounts passwor d like AD, think it make sense to hide the page.

This is a duplicate of e.g. #1938 and should be fixed in the develop branch

Thanks your feedback!
As @angus-g mentioned, this is a duplicated issue, and has been fixed in master.


Floating Action Button don't show ripple effect on Android

Hi guys! Thanks for this amazing library!
I'm facing an issue with Floating Action Button not showing Ripple Effect in version >= Lollipop.
react-native, react and native-base version
RN 0.43.0, R 16.0.0-alpha.3, NB 2.1.1
Expected behaviour
In Android version >= Lollipop, every touchable view should show a ripple effect when performing a click
Actual behaviour
When using the Floating Action Button on Android it doesn't show the ripple effect
Is the bug present in both ios and android or in any one of them?
Android devices only, applying to version >= Lollipop.
Any other additional info which would help us debug the issue quicker.
The bug seems to be because of the usage of TouchableOpacity. To render a Touchable view that supports ripple effect, you should use the component TouchableNativeFeedback
You could apply a check for Platform, and return a different kind of TouchableView when rendering for Android/IOS.
If you give me the ok, I would like to make a PR to help you with this issue, Let me know!

@JonatanSalas Check the latest of NativeBase version 2.2 for the fix

@shivrajkumar Okay! I will check it today! Thanks!


Bar Chart with X-Axis Example

#513 tested, added an example.
Currently, whole x-axis is transformed instead of just ticks.

Coverage increased (+0.03%) to 49.012% when pulling 2fe018988e723eb82e0fd1ad022851c3f3cf6a84 on doaboa:master into eb1bf7c9c0cfcd38134a9a92a486fe176d1b191c on shutterstock:master.


Release/2.3.2

Hotfix for NDC filtering on Country ndc

want me to double check if anything else is spilling into prod? or are we all covered on FEATURE Flags? (LTS Explore, NDC Explore, in particular).


Replace importOrderSeparation with

I think importOrderSeparation should be removed and provide a <SEPARATOR> special word in the importOrder.
It makes it easy for me to specify the split position I want.
"importOrder": [
  "<THIRD_PARTY_MODULES>",
  "<SEPARATOR>"
  "^app-",
  "^~"
  "^[./]"
]

I would also like to see this implemented to have more control over the import groups.

+1 trying to group groups of related files e.g. local files @/... imports with ../ imports without a space between

Seems like a bit of a duplicate of https://github.com/trivago/prettier-plugin-sort-imports/issues/166?


Upgrade windows_exporter to 0.28.2

PR Description
As as announced earlier, windows_exporter releases are smaller and released more often to gain feedback.
Which issue(s) this PR fixes

Notes to the Reviewer
As discussed with @mattdurham I implement a shim for https://github.com/prometheus-community/windows_exporter/pull/1585

However, 0.28 brings also some breaking changes in term of the metrics. In case of Grafana Alloy want to deliver a 100% full stable API in terms of metrics, a compatibility layer should be introduced.
Ref: https://github.com/prometheus-community/windows_exporter/pull/1597
Before:
windows_cpu_info{architecture="9",description="AMD64 Family 23 Model 49 Stepping 0",device_id="CPU0",family="107",l2_cache_size="32768",l3_cache_size="262144",name="AMD EPYC 7702P 64-Core Processor"} 1

After:
# HELP windows_cpu_info Labelled CPU information as provided by Win32_Processor
# TYPE windows_cpu_info gauge
windows_cpu_info{architecture="9",description="AMD64 Family 25 Model 33 Stepping 2",device_id="CPU0",family="107",name="AMD Ryzen 9 5900X 12-Core Processor"} 1
# HELP windows_cpu_info_core Number of cores per CPU
# TYPE windows_cpu_info_core gauge
windows_cpu_info_core{device_id="CPU0"} 12
# HELP windows_cpu_info_enabled_core Number of enabled cores per CPU
# TYPE windows_cpu_info_enabled_core gauge
windows_cpu_info_enabled_core{device_id="CPU0"} 12
# HELP windows_cpu_info_l2_cache_size Size of L2 cache per CPU
# TYPE windows_cpu_info_l2_cache_size gauge
windows_cpu_info_l2_cache_size{device_id="CPU0"} 6144
# HELP windows_cpu_info_l3_cache_size Size of L3 cache per CPU
# TYPE windows_cpu_info_l3_cache_size gauge
windows_cpu_info_l3_cache_size{device_id="CPU0"} 65536
# HELP windows_cpu_info_logical_processor Number of logical processors per CPU
# TYPE windows_cpu_info_logical_processor gauge
windows_cpu_info_logical_processor{device_id="CPU0"} 24
# HELP windows_cpu_info_thread Number of threads per CPU
# TYPE windows_cpu_info_thread gauge
windows_cpu_info_thread{device_id="CPU0"} 24

PR Checklist

[ ] CHANGELOG.md updated
[ ] Documentation added
[ ] Tests updated
[ ] Config converters updated

0.28.2  includes the bug fix from @erikbaranowski (https://github.com/prometheus-community/windows_exporter/pull/1647)


Looks like i have a corrupted tree

I'm using the old library. I'm thinking it would be better to post my issue here since this repo is being maintained. There is a problem on the parent node because lft column is bigger than rgt column

Also this one. The parent_id is 215 but lft and rgt is not within the parent's lft and rgt

I hope someone could help me how to fix this. Also this parent node(215) is the last node in the tree. There are no problems in other nodes. Only this one which is the last one.

If I understood your questions correct, you could generate a new parent_id column from the existing left and right values. Then use the new parent_id values to regenerate left and right values.

@kmligue Do you have any idea how the tree got corrupted? I.e. do you have any steps we can use to reproduce the problem? I've seen this issue before in other MPTT libraries, and it's always difficult to track down what the problem is.

Under New Management
Focusing support for later Laravel versions.
Cleaning up and closing some of the really old issues.  Things that might still be a problem will be transfered to a consolidated issue.


Rebase OSCORE branch on master

This issue aims to centralize discussion about OSCORE branch rebasing.

In master there is a build configuration which check dependency consistency.
With oscore branch, I get those issues :
Dependency convergence error for org.apache.httpcomponents:httpclient:4.5.6 paths to dependency are:
+-org.eclipse.leshan:leshan-server-core:2.0.0-SNAPSHOT
  +-org.eclipse.californium:cf-oscore:2.3.0
    +-org.eclipse.californium:californium-proxy2:2.3.0
      +-org.apache.httpcomponents:httpasyncclient:4.1.4
        +-org.apache.httpcomponents:httpclient:4.5.6
and
+-org.eclipse.leshan:leshan-server-core:2.0.0-SNAPSHOT
  +-org.eclipse.californium:cf-oscore:2.3.0
    +-org.eclipse.californium:californium-proxy2:2.3.0
      +-org.apache.httpcomponents:httpclient:4.5.11
,
Dependency convergence error for org.apache.httpcomponents:httpcore:4.4.10 paths to dependency are:
+-org.eclipse.leshan:leshan-server-core:2.0.0-SNAPSHOT
  +-org.eclipse.californium:cf-oscore:2.3.0
    +-org.eclipse.californium:californium-proxy2:2.3.0
      +-org.apache.httpcomponents:httpasyncclient:4.1.4
        +-org.apache.httpcomponents:httpcore:4.4.10
and
+-org.eclipse.leshan:leshan-server-core:2.0.0-SNAPSHOT
  +-org.eclipse.californium:cf-oscore:2.3.0
    +-org.eclipse.californium:californium-proxy2:2.3.0
      +-org.apache.httpcomponents:httpcore:4.4.13

It makes me think there is some dependency version issue in cf but also I discover that cf-oscore depends on cf-proxy ? @ @rikard-sics is it expected ? should we have a cf-oscore and a cf-proxy-oscore ?

There is also some scope issue in cf-oscore pom.xml :
		<dependency>
			<groupId>junit</groupId>
			<artifactId>junit</artifactId>
		</dependency>
		<dependency>
			<groupId>ch.qos.logback</groupId>
			<artifactId>logback-classic</artifactId>
		</dependency>

should have : <scope>test</scope>

Quoting from #725

Even with this, I bet this will be a complicated task because a lot of code changed and some classes was moved.
Finally this is maybe even easier to just "rewrite"(copy/paste) the code.
As this will be really painful and as I feel myself a bit responsible for that. I would try to work on this.
(unless you already find a magic way to do that ?)

I could have a try at doing it. This week I am a bit busy but can take time for it next week. My approach would be comparing exactly which files I have changed to add OSCORE support and with what. Then that can be included in the code of the latest master branch. So it would be the kind of copy/paste approach. But I feel I have a decent recollection and some notes of the steps I took and can kind of recreate them. (Of course I may have some questions along the way about things that have changed.)

It makes me think there is some dependency version issue in cf but also I discover that cf-oscore depends on cf-proxy ? @ @rikard-sics is it expected ? should we have a cf-oscore and a cf-proxy-oscore ?

Yeah it relies on cf-proxy but that is only for JUnit tests. There should be no need for a cf-proxy-oscore.

I could have a try at doing it.

As I was already begun to doing this, I tried to finish it.  :grimacing:
My work is available in branch oscore2.
I added some TODO when I re-read all the code.
When you will have time you can look at this branch and if you think it's OK, just let me know here, then I will remove the old oscore branch and rename oscore2 in oscore.
If you find any issue about the rebasing let me know here too.

Yeah it relies on cf-proxy but that is only for JUnit tests. There should be no need for a cf-proxy-oscore.

Ok I will create a PR in Californium to fix this.

As I was already begun to doing this, I tried to finish it.

Sure, go for it. I appreciate you taking your time for this.

My work is available in branch oscore2.
I added some TODO when I re-read all the code.
When you will have time you can look at this branch and if you think it's OK, just let me know here, then I will remove the old oscore branch and rename oscore2 in oscore.
If you find any issue about the rebasing let me know here too.

Sounds good, I will have a look.

Yeah it relies on cf-proxy but that is only for JUnit tests. There should be no need for a cf-proxy-oscore.

Ok I will create a PR in Californium to fix this.

Thanks!

My work is available in branch oscore2.
I added some TODO when I re-read all the code.
When you will have time you can look at this branch and if you think it's OK, just let me know here, then I will remove the old oscore branch and rename oscore2 in oscore.

I checked it now and everything looks good to me. Thanks for taking the time for this and adding the TODO notes also.
The only issue I had which may be a local issue on my end was that in Eclipse I had to change the Java version on the build path from 1.7 to 1.8 for the bsserver-demo and server-demo.

I checked it now and it looks good to me.

Ok so I will rename oscore2 in oscore.

Thanks for taking the time for this and adding the TODO notes also.

You're welcome ;)

The only issue I had, which may be a local issue on my end, was that in Eclipse I had to change the Java version on the build path from 1.7 to 1.8 for the bsserver-demo and server-demo.

Yes, it's "normal" I think this is because of jedis dependency.
So currently core library support java 1.7 (mainly because we hope this help to support old android version), but server demos and redis need java 1.8.

(Californium pom.xml issues exposed above should be fixed in the next version)

Ok so I will rename oscore2 in oscore.

Done I think we can close this issue ?

Done. I think we can close this issue now ?

Thanks! Yes I think this issue can be closed and we continue the discussions in the other issues.

Yes, it's "normal" I think this is because of jedis dependency.
So currently core library support java 1.7 (mainly because we hope this help to support old android version), but server demos and redis need java 1.8.

I see. Okay, good to know it's not just on my end.

@rikard-sics, in current OSCORE branch there is some code about partial support of v1.1 LWM2M model (e.g. 5ac94fcc1ae78ef7bf55057255d26b88e7421621 and a6cf7b39b0d0169b86a144a32ea4b21cf5106308)
This will be fully covered by #870, #879 , #880. As soon as those PRs will be integrated in master we should rebase OSCORE branch again.

@rikard-sics, in current OSCORE branch there is some code about partial support of v1.1 LWM2M model (e.g. 5ac94fc and a6cf7b3)
This will be fully covered by #870, #879 , #880. As soon as those PRs will be integrated in master we should rebase OSCORE branch again.

Thanks for letting me know. Let us discuss more when those PRs are merged.

I rebased oscore branch on it. (see branch oscore_rebase)

I removed all stuff about model v1.1 (as this is already in master)
I reactivated dependencyConvergence check (as this is fixed in californium now : https://github.com/eclipse/leshan/issues/866#issuecomment-661147456)

I also remarks that I totally forgot to change californium:californium-proxy2 dependency scope. If I correctly understand we should change from compile (default one) it to test ? (I will change it as soon as you validate this and so this will be available in next version of californium)
Doing this I just see that cf-oscore depends on : com.upokecenter:cbor. I guess this is a library to encode/decode cbor ?
In Leshan we need to manipulate cbor too (for new content format cbor and senML-cbor), currently jackson-dataformat-cbor is used.
I think if this is possible we should use same library to limit dependency.
(Currently I haven't any argument to chose one rather another, I know jackson is known as one of the faster java library for JSON but cbor I have no idea)

I rebased oscore branch on it. (see branch oscore_rebase)

I removed all stuff about model v1.1 (as this is already in master)
I reactivated dependencyConvergence check (as this is fixed in californium now : #866 (comment))

Thanks alot!

I also remarks that I totally forgot to change californium:californium-proxy2 dependency scope. If I correctly understand we should change from compile (default one) it to test ? (I will change it as soon as you validate this and so this will be available in next version of californium)

Yes, that is correct. The proxy2 dependency is only for JUnit tests.

Doing this I just see that cf-oscore depends on : com.upokecenter:cbor. I guess this is a library to encode/decode cbor ?
In Leshan we need to manipulate cbor too (for new content format cbor and senML-cbor), currently jackson-dataformat-cbor is used.
I think if this is possible we should use same library to limit dependency.
(Currently I haven't any argument to chose one rather another, I know jackson is known as one of the faster java library for JSON but cbor I have no idea)

Yeah the com.upokecenter:cbor dependency is for decoding CBOR. The main reason that dependency is used is because we are relying on code to perform COSE operations from the following COSE library, which in turn uses that CBOR dependency:
https://github.com/cose-wg/COSE-JAVA
To be able to keep our code aligned to that COSE library, and possible in the future be able to link it as a third party library instead I believe it would be good to keep the current CBOR library we are using. (Due to issues with running that COSE library with Java 7 we are manually importing its code instead of using it as a third party library.)

ocore branch is now up to date.

The proxy2 dependency is only for JUnit tests.

It's done : https://github.com/eclipse/californium/commit/e64532706cbb22b157c7f3b769db51b6347ab58f
About https://github.com/cose-wg/COSE-JAVA, is it a library maintain by you or a colleague ?

In the future we may be able to adapt that COSE library to use Java 7 and link it externally. In such case it may be possible to also switch the CBOR library it is using. If for instance jackson-dataformat-cbor is shown to be faster we could consider that. But for now I'd prefer not doing any changes regarding this.

I get it. My current problem now is that I will probably need to implement some cbor content-format at short/mid term and I'm not sure what parser I should use right now. :sweat_smile:
Knowing that current cbor code based on jackson is not in a clean state, I suppose the best approach is probably to start with com.upokecenter:cbor and if we face limitations we could think again about using jackson-dataformat-cbor. :thinking:

About https://github.com/cose-wg/COSE-JAVA, is it a library maintain by you or a colleague ?

Neither, but we are in contact with the person maintaining it which is Jim Schaad, who we collaborate a lot with within IETF work. We have been looking at a potential long term plan to port this library to Java 7 so it can be used as an external dependency for Californium. If we go ahead with this changing its CBOR library may also be possible.

In the future we may be able to adapt that COSE library to use Java 7 and link it externally. In such case it may be possible to also switch the CBOR library it is using. If for instance jackson-dataformat-cbor is shown to be faster we could consider that. But for now I'd prefer not doing any changes regarding this.

I get it. My current problem now is that I will probably need to implement some cbor content-format at short/mid term and I'm not sure what parser I should use right now.
Knowing that current cbor code based on jackson is not in a clean state, I suppose the best approach is probably to start with com.upokecenter:cbor and if we face limitations we could think again about using jackson-dataformat-cbor.

Yes I think that can make sense. If you start by relying on com.upokecenter:cbor initially, and sure if there are any limitations or missing things there it can be reconsidered.


Trouble building Android Example under Android Studio 4.1.1

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

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

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

Required Info

Camera Model
D435i

Firmware Version
Latest

Operating System & Version
Android 11

Kernel Version (Linux Only)
5.4

Platform
ARM

SDK Version
{ 2.0 }

Language
{Java }

Segment
{Smartphone }

Issue Description
The Android example is built under a v3.1.1 version of Android Studio - You can't tell what the project setup options should be, and it throws errors during build about missing references.

Hi @tedlarson   As a starting point in investigating your case, could you set the target SDK to '27' if you have not done so already, please?  This should help to eliminate the possibility that the problem is due to using an Android 11 device.

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

This is the example I am trying to work from and I am still having issues with target SDK being 27.
https://dev.intelrealsense.com/docs/build-an-android-application-for-intel-realsense-sdk
I need to go back and follow the steps as documented here, and try to translate them to Android Studio 4.1.1.  I think the issues I am running into are more related to Android Studio setup, than SDK rev.

Please do update us after your Android Studio tests.   Good luck!

Hi @tedlarson   Do you have an update that you can provide, please?   Thanks!

Case closed due to no further comments received.

Case closed due to no further comments received.


Make some common use method of ManagedLedger public

Some of the ManagedLedger methods, such as hasMoreEntries/getPreviousPosition/getNextValidPosition, are protected. This change try to make them public.
These methods are useful when user want to do some advanced operation in Data Processing.

run cpp tests

run cpp tests


feat: Add the repl binary to github releases

I think this should solve #194. The repl executable should be the only relevant file to upload

I'm guessing this only does linux?

Yep, I think travis can build for mac as well but not for windows. Never had any reason to test other platforms since there is not anything platform specific to test. Could maybe add an appveyor build as well for windows


feat: implement cache sharing mode + add GraphQL enum type

Currently stuck, as the codegen doesn't seem happy with enums yet

Extend API to manage cache sharing mode, when mounting cache volumes

@helderco, can you please take a look at both lint and test issues on Python SDK ?
You can directly push on
Current failures

[ ] Sort enum values to have a consistent codegen
[ ] Fix linting issue (don't understand the Unused noqa directive (unused: F401) error
[ ] Tests fail with  AttributeError: module 'enum' has no attribute 'StrEnum'

@grouville, it's ready.


Check the ParseError property (line, linepos, filepos) members if the exact line could be extracted in case of error

Good day. This is a very great project. I downloaded it and tried it and it works. Please I would like to ask if it is possible to extract some elements with date tags before the error line or error tag. That way it would be easy to use the date to effect correction on the affected forms.
Here is an example below.
In this case, the error occurred after a date element. Using this date element would be easier to go to the specific date and edit the form on the database before exporting another xml.

Hello Kenzinotech,
Thanks for your interest and compliments! I reviewed your enhancement requirement, but unfortunately, you are requesting a feature that is very specific to your needs but it does not serve other users. As you may agree this tool is for any kind of XML and XSD, we cannot add a feature that is specific to one kind of file as is the your case here. Hope you understand.
I would suggest to use the XPath produced by tool to locate the problem line in you XML. In case of error, the tool outputs the XPath of the element which has problem like this .... XPath Value :/book/cost[1]
You can use this XPath to find the problem element.
Once again thanks for your understanding, wish I was able to help more.


Send the download/upload updates with a number of milliseconds apart

Hi, thank you for creating this library, works great! I have one suggestion, could you please add a new mode where the time duration for the test is settable for small files? The test will have to be restarted after every cycle finishes so I can update the user after each cycle. This will be nice for UI animations and such. I am trying to test this against the mobile network so the users don't spend too much from their data plan.
Regards.

Hello,
I've released v1.08 with the requested functionality. Let me know if this help
The following will start a download on the specified host/uri/port, and will restart the download when it is finished until repeatWindow is elapsed. reportPeriodMillis is the number of millis between each report dispatched in repeatListener, an interface that will also tell you when your time window is finished :
    /**
     * Start repeat download task
     *
     * @param hostname           server hostname
     * @param port               server port
     * @param uri                uri to fetch to download file
     * @param repeatWindow       time window for the repeated download in milliseconds
     * @param reportPeriodMillis time interval between each report in milliseconds
     * @param repeatListener     listener for download repeat task completion & reports
     */
    public void startDownloadRepeat(String hostname,
                                    int port,
                                    String uri,
                                    int repeatWindow,
                                    int reportPeriodMillis,
                                    IRepeatListener repeatListener)

I need an extra Thread to force close socket in the main ThreadPool. That will give you 2 Thread used by Speed Test library instead of one initially if you use this method; but I added an additionnal report callback so you dont have to create a timertask yourself.
You can use it as following (window = 11s, report interval = 1s)
        speedTestSocket.startDownloadRepeat("1.testdebit.info", 80, "/fichiers/10Mo.dat", 11000, 1000, new IRepeatListener() {
            @Override
            public void onFinish(SpeedTestReport report) {
                System.out.println("--------------- FINISH REPORT -----------------------------");
                System.out.println("progress             : " + report.getProgressPercent() + "%");
                System.out.println("transfer rate bit    : " + report.getTransferRateBit() + "b/s");
                System.out.println("transfer rate octet  : " + report.getTransferRateOctet() + "B/s");
                System.out.println("uploaded for now     : " + report.getTemporaryPacketSize() + "/" + report.getTotalPacketSize());
                System.out.println("amount of time       : " + ((report.getReportTime() - report.getStartTime()) / 1000) + "s");
                System.out.println("request number       : " + speedTestSocket.getLiveDownloadReport().getRequestNum());
                System.out.println("--------------------------------------------------------");
            }

            @Override
            public void onReport(SpeedTestReport report) {
                System.out.println("--------------- report -----------------------------");
                System.out.println("progress             : " + report.getProgressPercent() + "%");
                System.out.println("transfer rate bit    : " + report.getTransferRateBit() + "b/s");
                System.out.println("transfer rate octet  : " + report.getTransferRateOctet() + "B/s");
                System.out.println("uploaded for now     : " + report.getTemporaryPacketSize() + "/" + report.getTotalPacketSize());
                System.out.println("amount of time       : " + ((report.getReportTime() - report.getStartTime()) / 1000) + "s");
                System.out.println("request number       : " + speedTestSocket.getLiveDownloadReport().getRequestNum());
                System.out.println("--------------------------------------------------------");
            }
        });

I adapted the report for this mode so you will have the total packet received for all requests, number of requests, percentage based on time window.
This can be useful if you need to target a server which has API for small files only like you said.
I added another api to force stop download  & upload task :
speedTestSocket.forceStopTask();

The following code will download a 100Mo file and stop the download after 5 seconds & request reports with an interval of 400ms:
final Timer timer = new Timer();

TimerTask reportTask = new TimerTask() {
    @Override
    public void run() {

        SpeedTestReport downloadReport = speedTestSocket.getLiveDownloadReport();
        System.out.println("---------------current download report--------------------");
        System.out.println("progress             : " + downloadReport.getProgressPercent() + "%");
        System.out.println("transfer rate bit    : " + downloadReport.getTransferRateBit() + "b/s");
        System.out.println("transfer rate octet  : " + downloadReport.getTransferRateOctet() + "B/s");
        System.out.println("downloaded for now   : " + downloadReport.getTemporaryPacketSize() + "/" + downloadReport.getTotalPacketSize());
        System.out.println("amount of time       : " + ((downloadReport.getReportTime() - downloadReport.getStartTime()) / 1000) + "s");
    }
};

// scheduling the task at interval
timer.scheduleAtFixedRate(reportTask, 0, 400);

TimerTask stopTask = new TimerTask() {
    @Override
    public void run() {
        System.out.println("--------------- FINISH REPORT -----------------------------");
        SpeedTestReport downloadReport = speedTestSocket.getLiveDownloadReport();
        System.out.println("---------------current download report--------------------");
        System.out.println("progress             : " + downloadReport.getProgressPercent() + "%");
        System.out.println("transfer rate bit    : " + downloadReport.getTransferRateBit() + "b/s");
        System.out.println("transfer rate octet  : " + downloadReport.getTransferRateOctet() + "B/s");
        System.out.println("downloaded for now   : " + downloadReport.getTemporaryPacketSize() + "/" + downloadReport.getTotalPacketSize());
        System.out.println("amount of time       : " + ((downloadReport.getReportTime() - downloadReport.getStartTime()) / 1000) + "s");

        speedTestSocket.forceStopTask();

        if (timer != null) {
            timer.cancel();
            timer.purge();
        }
    }
};
timer.schedule(stopTask, 5000);

speedTestSocket.startDownload("1.testdebit.info", 80, "/fichiers/100Mo.dat");

forceStopTask will force download/upload task to stop which will close the socket and may trigger the onDownloadError or onUploadError for a socket error message but nothing to worry about.
Using this second method or the first one to download during a fix time will however be the same for the user data plan.
For the upload method, doing the same as download repeat is not needed because content-length is set by the client (whereas for download you may not have an uri that match your need for small/big files)
You can test those features with : compile 'com.github.akinaru:speedtest:1.08'

Hello,
Thanks for your quick reply.
I think the 2nd approach will work best for my case. The only things I can
report back to you so far are:

  In the first approach, with the startDownloadRepeat method I get

zero for the transfer rates:
progress             : 81.82727%
transfer rate bit    : 0.0b/s
transfer rate octet  : 0.0B/s
uploaded for now     : 6294256.0/10000000
amount of time       : 9s
request number       : 0

  As for the second approach, with the stopTask, I am getting the

first notification as follows:
progress             : 0.0%
transfer rate bit    : 0.0b/s
transfer rate octet  : 0.0B/s
downloaded for now   : 0.0/0
amount of time       :<PHONE_NUMBER>s

  Would it be possible to add a new SpeedTestError type to know if

the error is coming from stopping the download/upload task? I am getting
CONNECTION_ERROR with the message “Socket Closed”. Also, when I stop an
update task, I receive two Socket errors instead of just one from stopping
the task.
I will appreciate your comments. Thanks.
Regards,
Paul
2016-05-12 20:44 GMT-05:00 Bertrand Martel<EMAIL_ADDRESS>
Hello,
I've released v1.08 with the requested functionality. Let me know if this
help
The following will start a download on the specified host/uri/port, and
will restart the download when it is finished until repeatWindow is
elapsed. reportPeriodMillis is the number of millis between each report
dispatched in repeatListener, an interface that will also tell you when
your time window is finished :
/**
 * Start repeat download task
 *
 * @param hostname           server hostname
 * @param port               server port
 * @param uri                uri to fetch to download file
 * @param repeatWindow       time window for the repeated download in milliseconds
 * @param reportPeriodMillis time interval between each report in milliseconds
 * @param repeatListener     listener for download repeat task completion & reports
 */
public void startDownloadRepeat(String hostname,
                                int port,
                                String uri,
                                int repeatWindow,
                                int reportPeriodMillis,
                                IRepeatListener repeatListener)

I need an extra Thread to force close socket in the main ThreadPool. That
will give you 2 Thread used by Speed Test library instead of one initially
if you use this method; but I added an additionnal report callback so you
dont have to create a timertask yourself.
You can use it as following (window = 11s, report interval = 1s)
    speedTestSocket.startDownloadRepeat("1.testdebit.info", 80, "/fichiers/10Mo.dat", 11000, 1000, new IRepeatListener() {
        @Override
        public void onFinish(SpeedTestReport report) {
            System.out.println("--------------- FINISH REPORT -----------------------------");
            System.out.println("progress             : " + report.getProgressPercent() + "%");
            System.out.println("transfer rate bit    : " + report.getTransferRateBit() + "b/s");
            System.out.println("transfer rate octet  : " + report.getTransferRateOctet() + "B/s");
            System.out.println("uploaded for now     : " + report.getTemporaryPacketSize() + "/" + report.getTotalPacketSize());
            System.out.println("amount of time       : " + ((report.getReportTime() - report.getStartTime()) / 1000) + "s");
            System.out.println("request number       : " + speedTestSocket.getLiveDownloadReport().getRequestNum());
            System.out.println("--------------------------------------------------------");
        }

        @Override
        public void onReport(SpeedTestReport report) {
            System.out.println("--------------- report -----------------------------");
            System.out.println("progress             : " + report.getProgressPercent() + "%");
            System.out.println("transfer rate bit    : " + report.getTransferRateBit() + "b/s");
            System.out.println("transfer rate octet  : " + report.getTransferRateOctet() + "B/s");
            System.out.println("uploaded for now     : " + report.getTemporaryPacketSize() + "/" + report.getTotalPacketSize());
            System.out.println("amount of time       : " + ((report.getReportTime() - report.getStartTime()) / 1000) + "s");
            System.out.println("request number       : " + speedTestSocket.getLiveDownloadReport().getRequestNum());
            System.out.println("--------------------------------------------------------");
        }
    });

I adapted the report for this mode so you will have the total packet
received for all requests, number of requests, percentage based on time
window.
This can be useful if you need to target a server which has API for small
files only like you said.
I added another api to force stop download & upload task :
speedTestSocket.forceStopTask();
The following code will download a 100Mo file and stop the download after
5 seconds & request reports with an interval of 400ms:
final Timer timer = new Timer();
TimerTask reportTask = new TimerTask() {
@Override
public void run() {
    SpeedTestReport downloadReport = speedTestSocket.getLiveDownloadReport();
    System.out.println("---------------current download report--------------------");
    System.out.println("progress             : " + downloadReport.getProgressPercent() + "%");
    System.out.println("transfer rate bit    : " + downloadReport.getTransferRateBit() + "b/s");
    System.out.println("transfer rate octet  : " + downloadReport.getTransferRateOctet() + "B/s");
    System.out.println("downloaded for now   : " + downloadReport.getTemporaryPacketSize() + "/" + downloadReport.getTotalPacketSize());
    System.out.println("amount of time       : " + ((downloadReport.getReportTime() - downloadReport.getStartTime()) / 1000) + "s");
}

};
// scheduling the task at interval
timer.scheduleAtFixedRate(reportTask, 0, 400);
TimerTask stopTask = new TimerTask() {
@Override
public void run() {
System.out.println("--------------- FINISH REPORT -----------------------------");
SpeedTestReport downloadReport = speedTestSocket.getLiveDownloadReport();
System.out.println("---------------current download report--------------------");
System.out.println("progress             : " + downloadReport.getProgressPercent() + "%");
System.out.println("transfer rate bit    : " + downloadReport.getTransferRateBit() + "b/s");
System.out.println("transfer rate octet  : " + downloadReport.getTransferRateOctet() + "B/s");
System.out.println("downloaded for now   : " + downloadReport.getTemporaryPacketSize() + "/" + downloadReport.getTotalPacketSize());
System.out.println("amount of time       : " + ((downloadReport.getReportTime() - downloadReport.getStartTime()) / 1000) + "s");
    speedTestSocket.forceStopTask();

    if (timer != null) {
        timer.cancel();
        timer.purge();
    }
}

};
timer.schedule(stopTask, 5000);
speedTestSocket.startDownload("1.testdebit.info", 80, "/fichiers/100Mo.dat");
forceStopTask will force download/upload task to stop which will close
the socket and may trigger the onDownloadError or onUploadError for a socket
error message but nothing to worry about.
Using this second method or the first one to download during a fix time
will however be the same for the user data plan.
For the upload method, doing the same as download repeat is not needed
because content-length is set by the client (whereas for download you may
not have an uri that match your need for small/big files)
You can test those features with : compile
'com.github.akinaru:speedtest:1.08'
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/akinaru/speed-test-lib/issues/3#issuecomment-218931828

Thank you for your feedback, I've fixed most of these errors in v1.09 :

zero for the transfer rates : I wrote bug fix + set correct report values for start time when download has not begun yet
amount of time incorrect when download has not begun : if one of your first notifications arrived and download has not begun yet. start time will be 0. So amount of time cant be calculated, this is why you have some strange value here. I corrected it in the example with:

if (downloadReport.getStartTime() > 0) {
    System.out.println("amount of time       : "
            + ((downloadReport.getReportTime() - downloadReport.getStartTime()) / 1000) + "s");
}

If startTime is 0, you can be sure download has not begun

I created a speed test error in case of  speedTestSocket.forceStopTask(); : SpeedTestError.FORCE_CLOSE_SOCKET

If you encounter an error other than the latter, you have a true socket error :
@Override
public void onDownloadError(SpeedTestError speedTestError, String errorMessage) {
    System.out.println("Download error " + speedTestError + " : " + errorMessage);

    if ((speedTestError != SpeedTestError.FORCE_CLOSE_SOCKET) && (timer!=null)) {
            timer.purge();
            timer.cancel();
    }
}

It is still possible in theory to have 2 socket errors but I cant reproduce it anymore with the new version (1.09), but you are sure to have SpeedTestError.FORCE_CLOSE_SOCKET dispatched if this errors comes after  a  speedTestSocket.forceStopTask()
Let me know if you have any other issues

hi, that is working great.
I am getting an extra socket error besides from the FORCE_CLOSE_SOCKET when
I upload a file because I am stopping the task just like in the download
case. Is it possible you double check this please?
Thanks.
2016-05-13 17:45 GMT-05:00 Bertrand Martel<EMAIL_ADDRESS>
Thank you for your feedback, I've fixed most of these errors in v1.09 :

zero for the transfer rates : I wrote bug fix + set correct report
values for start time when download has not begun yet
amount of time incorrect when download has not begun : if one of
your first notifications arrived and download has not begun yet. start time
will be 0. So amount of time cant be calculated, this is why you have some
strange value here. I corrected it in the example with:

if (downloadReport.getStartTime() > 0) {
System.out.println("amount of time       : "
+ ((downloadReport.getReportTime() - downloadReport.getStartTime()) / 1000) + "s");
}
If startTime is 0, you can be sure download has not begun

I created a speed test error in case of
speedTestSocket.forceStopTask(); : SpeedTestError.FORCE_CLOSE_SOCKET

If you encounter an error other than the latter, you have a true socket
error :
@Override
public void onDownloadError(SpeedTestError speedTestError, String errorMessage) {
System.out.println("Download error " + speedTestError + " : " + errorMessage);
if ((speedTestError != SpeedTestError.FORCE_CLOSE_SOCKET) && (timer!=null)) {
        timer.purge();
        timer.cancel();
}

}
It is still possible in theory to have 2 socket errors but I cant
reproduce it anymore with the new version (1.09), but you are sure to have
SpeedTestError.FORCE_CLOSE_SOCKET dispatched if this errors comes after a
speedTestSocket.forceStopTask()
Let me know if you have any other issues
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/akinaru/speed-test-lib/issues/3#issuecomment-219176889

Sorry for the waiting, this bug is fixed in v1.10 : https://github.com/akinaru/speed-test-lib/commit/28c3d6b108604db2615e36e1c8f699f6004621fd
Thank you again for your feedback


About Training Model

Hi, thanks for greatfull work. But there is a point that i dont understand. What is the training architecture ? how many dense or conv. or ReLU or maxpooling ? Can you help me?

Hi @sevkisahin ,
you can look into this: https://github.com/naseemap47/CustomPose-Classification-Mediapipe/blob/master/poseModel.py#L40C1-L44C1
Think this will solve your issue. Thank you for using my repo.
If have any issue or doubt please let me know.
Thank You.


Address a few TODOs

Could we also have a PR for rapier that addresses the removal of IntersectionCompositeShapeShapeBestFirstVisitor? Rapier still uses it and I can't compile  the git / local version of it anymore because of this change.

Thanks @wlinna for bringing this to our attention!

I opened 2 PRs to help and discuss this change:

https://github.com/dimforge/parry/pull/290
https://github.com/dimforge/rapier/pull/763


The RAM

Thank you for sharing your work, your paper was very interesting and the results are also very impressive!When I trained the pre-trained model on the msls datasets,I met the following problem.Because the RAM was out of memory,my programa was killed by the system.How can I solve the issue?

Are there any variables in your program that are accumulating without being deleted, causing them to continuously occupy a large amount of memory?How can I to find it?

Sorry for the late reply. Since our training program runs a test on val after each epoch, I need to know if the interruption occurred during training or testing. We use an image with a large number of local features (61x61), and when the dataset has a large number of images, RAM may out of memory. This also happened when we ran multiple test programs at the same time.

Okay, I get it. I think this is mainly caused by our program reading all extracted local features into RAM at once. It can be solved by first saving the extracted local features, and loading only the local features currently needed for local matching into RAM each time. I'll be working on this in the coming days.

Thank you for your answer! Wishing your greater achievements in the upcoming research!

Hi @STSTERANDMOMO , I have added the test_efficient_ram_usage function in test.py to address this issue. You can use it simply by adding "--efficient_ram_testing" to the (train or test) run command, such as
python3 eval.py --datasets_folder=/path/to/your/datasets_vg/datasets --dataset_name=pitts30k --resume=/path/to/finetuned/pitts30k/model/SelaVPR_pitts30k.pth --rerank_num=100 --efficient_ram_testing

@STSTERANDMOMO   老哥能不能贴一下训练和推理的速度相关信息，或者给一下Pitts30和MSLS数据下载链接（官方链接都下载不下来）

@VEDFU The official download link: Pitts30k, MSLS. You can format these datasets following this repo.

@Lu-Feng Following the VPR-datasets-downloader Repo，My msls-val has 10000+ images different from your instruction.How can I get the same msls-val as your experiment.

@Lu-Feng Can you upload your msls-val data to Baidu Netdisk or Google Drive?

The details of MSLS-val have been discussed in this issue. We used the official MSLS-val dataset (740 query images) but I'm not sure if I can distribute it according its license. The key (name) of query images can be obtained here. You can copy these 740 query images from your 10000+ query images based on the key/name. You can also add me on WeChat<PHONE_NUMBER>) if you need more help.


Vertical text for FLineLabel

Closes #1574.
The goal of this PR is give the option to display the text of the label vertically for the VerticalLineLabel and HorizontalLineLabel (see the screenshot in the issue #1574).

With alignment: Alignment.topLeft and direction: LabelDirection.vertical, it draws outside of the chart

But with alignment: Alignment.topRight and direction: LabelDirection.vertical it draws inside of the chart.
So I think we should draw it inside in either ways.

Please write some unit-tests

One question, does it make sense to have angle instead of limited direction values? With angle, I think we are free to do anything. But I agree that it is more difficult and challenging to implement.

It makes sense to have an angle parameter as the label could be displayed in each direction, however it would require a lot of effort for really rare use cases.

One question, does it make sense to have angle instead of limited direction values? With angle, I think we are free to do anything. But I agree that it is more difficult and challenging to implement.

It makes sense to have an angle parameter as the label could be displayed in each direction, however it would require a lot of effort for really rare use cases.

You're right. Okay so let's stick to the current implementation and write some unit-tests please

Please write some unit-tests

Done

With alignment: Alignment.topLeft and direction: LabelDirection.vertical, it draws outside of the chart
But with alignment: Alignment.topRight and direction: LabelDirection.vertical it draws inside of the chart. So I think we should draw it inside in either ways.
This behavior is the same for VerticalLineLabel so it makes sense for me to keep the same logic.

With alignment: Alignment.bottomLeft and direction: LabelDirection.horizontal`, it draws outside of the chart
With alignment: Alignment.topLeft and direction: LabelDirection.horizontal`, it draws inside of the chart

With alignment: Alignment.topLeft and direction: LabelDirection.vertical, it draws outside of the chart
But with alignment: Alignment.topRight and direction: LabelDirection.vertical it draws inside of the chart. So I think we should draw it inside in either ways.

This behavior is the same for VerticalLineLabel with direction: LabelDirection.horizontal so it makes sense for me to keep the same logic.
With alignment: Alignment.bottomLeft and direction: LabelDirection.horizontal`, it draws outside of the chart
With alignment: Alignment.topLeft and direction: LabelDirection.horizontal`, it draws inside of the chart

I think the vertical one is a bug too. I mean we need to fix both of them.
It would be nice if you can fix them here, otherwise I will do this in a separate PR.
What do you think?

I think the vertical one is a bug too. I mean we need to fix both of them.
It would be nice if you can fix them here, otherwise I will do this in a separate PR.
What do you think ?

I agree that it would be better like this. I'll add a commit to this PR for both of them.

I agree that it would be better like this. I'll add a commit to this PR for both of them.

That would be wonderful

I agree that it would be better like this. I'll add a commit to this PR for both of them.
Done

It's ready to be merged after those minor changes.
Thanks in advance!


Set scheme auto-detection to disfavor example and demo schemes

What
I made the scheme auto-detection avoid setting the scheme to names with "E/example" or "D/demo" in their name.
Why
I found it a little tedious to set a custom vimrc for every project.
How
I added a line to list_schemes.sh to exclude the scheme names above.
Questions/Concerns
Any other scheme names I should disfavor?

This is a great idea! Thanks!
I think that the only change I'd like to see is for this to be configurable, and for it to default to not filtering anything. I think we could accomplish this by adding a new g:xcode_scheme_ignore_pattern and passing it through to the list_schemes.sh script. If we don't have anything set for an ignore pattern, we shouldn't filter anything out.

Thanks for the suggestion! I don't have too much experience with Vim-script, but I'll try implementing it.

I think I got the vim-script part working. I just have to fix list_schemes.sh to switch to non-ignore mode when no arguments are provided and test it out more.

It seems to be working now, but if [[ "$ignore_pattern" == "-workspace" ]] feels kinda hacky...

That sounds like a much better approach, thanks! I’m excited to work on it! I should have time this weekend.

I think I've got it working, just gotta test it out a little more.

@gfontenot I'm not sure what approach I should use to combine the two strings "-workspace" and "{workspace-name}" together, then reformat them to be passed into xcodebuild -list. There would need to be a space between the two strings, so one approach would be to replace the space with a delimiter, and then change the delimiter back into a space in the shell script, but that would appear to require more changes to the vim script part, which seems a little high maintenance.
Getopts only seems to pick up the "-workspace" half,  but do you have any advice about how to overcome this?

Hey @yhkaplan, sorry for the delayed response. Busy weekend. I need to think about this a bit more. It's an interesting problem because we need to make sure that the arguments passed to -workspace retain their quotes as well.
Just spitballing, but maybe instead of passing the entire workspace command as one piece we split it up so that we're passing -p -workspace -t "Path/To My/Workspace" or something? Seems wonky, but it might be the best we can do?

Thanks for the advice! I initially thought splitting them would make xcode.vim more complicated, but it didn’t seem to have too big an impact, so I pushed the commits! What do you think?

I ran shellcheck and made additions to the help file and README

🎉 Awesome work! Thanks for your patience putting it together! I squashed and merged this as 2adc409, so it is now available to use on master.

Thanks for all the guidance and support!


Abhii gatty pcd revision

Finally got around to editing the events. Added loads of details to the python workshop

Hello @AbhiiGatty, Thanks for the PR clap Have a cup of coffee while a maintainer reviews your changes.

I don't drink coffee :crying_cat_face:

@AbhiiGatty I don't think I have the python workshop feedback :( Couldn't find it.


Event forward

Summary

Adds event forwarding for all services under appcat. This applies to services that have their CRs managed by comp functions

Checklist

[x] Categorize the PR by setting a good title and adding one of the labels:
bug, enhancement, documentation, change, breaking, dependency
as they show up in the changelog
[ ] Update tests.
[ ] Link this PR to related issues.

Please make the PR name more descriptive, like Event forwarding for external object storage

for all services :)

Please make the PR name more descriptive, like Event forwarding for external object storage

for all services :) I updated the title

See, making it more descriptive helps :D


Maximum number of TUs for Basic tier

What is the maximum number of TUs for Basic tier?
In the past it was for sure 20 (the same for Standard tier). According to the docs limit for Standard namespaces was raised to 40 TUs and I was able to create Standard namespace with 40 TUs.
But I can also create a Basic namespace with 40 TUs while docs still say the limit is 20 TUs per Basic namespace.

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

ID: b6d43eb3-6a80-b8c4-8536-f4f8b79aa453
Version Independent ID: 3e8dec68-44ac-aca8-5b07-470050878ae5
Content: Quotas and limits - Azure Event Hubs - Azure Event Hubs
Content Source: articles/event-hubs/event-hubs-quotas.md
Service: event-hubs
GitHub Login: @spelluru
Microsoft Alias: spelluru

Confirmed with the product team. Updating the limit to 40 TUs for Basic. Thanks.


Add color picker extension

Description
This PR adds a new extension with a system-wide color picker. Picked colors are stored in a history and can be accessed via the menu bar command or the Organize Colors command. A preference allows to copy/paste the colors in different formats.
Screencast
See metadata folder
Checklist

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

Just tested the Clear All Colors action and I can't reproduce it. It's only a debug action (not publicly available), so maybe not a blocker?
I added the third metadata to showcase the picking of a color. I think it's nice to have.