Designs of mechanical part of the robot

This issues encompasses all the multiple designs of the different parts of the robot, as well as the summary of the mechanical problems that we have had to solve for the mechanization of the robot, wuiz photos with drews
disenys.pptx

Thank you for the presentation.
(if you attach a pdf instead of a pptx, we will be able to directly watch it using the web browser)

The list of the parts is missing, and the parts are printer in the 3D printer and the printer used are in this pdf:
The list of  the 3D parts.pdf

Please review and correct the English in the document.

Yes,I know,
This PDF document is not the final one, we have only put it so you and Moises can see the progres of this part,
Thanks,
See you on monday : )
Adrià Barceló Luna

De: Josep Maria @.>
Enviat el: divendres, 14 de maig de 2021 23:46
Per a: Integrated-Project-2-UVic-UCC/eye-sphere @.>
A/c: Adria Barcelo Luna @.>; Author @.>
Tema: Re: [Integrated-Project-2-UVic-UCC/eye-sphere] Designs of mechanical part of the robot (#5)
Please review and correct the English in the document.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FIntegrated-Project-2-UVic-UCC%2Feye-sphere%2Fissues%2F5%23issuecomment-841519298&data=04|01|adria.barcelo%40uvic.cat|61528380d3814db4df4608d91721cc92|05bec0394f4f40879f2e1e71aa64c56e|0|0|637566256200277917|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=%2BCwWF5RikyeQXBQ39jqsBYEvA%2B%2B6PvHraByrknDy0Fk%3D&reserved=0, or unsubscribehttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAS3RX43DSTCACRPWSILIAKTTNWK5BANCNFSM4ZM47BXA&data=04|01|adria.barcelo%40uvic.cat|61528380d3814db4df4608d91721cc92|05bec0394f4f40879f2e1e71aa64c56e|0|0|637566256200287909|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=tWxrUd%2FiCq3chtCqJOwvkmDP6G4IJKXUnxE%2FAaORq8A%3D&reserved=0.


Make lychee opening hours look prettier (both in code and visually)

[x] Make code more readable
[x] The opening hours box doesn't look too great, perhaps change font and do some other minor adjustments

Trenger mer detaljer beskrivelse.

Closes with #781


test (bench)

#781  👈 (View in Graphite)
main

This stack of pull requests is managed by Graphite. Learn more about stacking.


Feature/basic setup

Q
A

Bug fix?
no

New feature?
no

BC breaks?
no

Deprecations?
no

Fixed tickets
none

Related issues/PRs
none

License
MIT

What's in this PR?
Basic setup
Why?
Basic setup is needed
Example Usage
see documentation

@mob8607 please fix the tests

@mob8607 new style-ci fails (:


WPF Showcase app missing some UI panel?

at WPF showcase app, one of the screens has a help button at its top-right (inside the graph area). If you press it you see a dialog, where apart from a typo in the text (says "this behaviors" instead of "this behavior" if I understand what the text wants to say), there is also a mention on some settings panel, that is however missing from that screen

Hi, this is new showcase framework which is still in the dev stage. I thought i can finish it soon but can't do it right now.
P.S.: currently my wife is ready to born a child (not sure how to say it correctly in english) so i will be very busy till the next week. I'll check all your posts as soon as i can. Thanks for taking interest in graphx! :)

Thanks for the follow up, wish you the best for your coming baby


Update HA logic

Describe the bug

As per current HA logic code in https://github.com/knative/operator/blob/18aca414e5109ee3f66b4431430616c65ef799ab/pkg/reconciler/knativeserving/common/ha.go
it still checks enabledComponents in configmap. The parameter was removed by https://github.com/knative/serving/commit/584d41b1723f3a7aa7ab4181638793f47cb2a430.
Also, the HA serving's components are basically "controller" "webhook" "autoscaler-hpa" "autoscaler" "domainmapping-webhook" but all of them are not covered.

To Reproduce

One of the problem is that high-availability.replicas in KnativeServing does not scale up autoscaler.

@nak3 Initially, the HA in operator only supported the leader-selected deployments:
https://knative.dev/docs/install/operator/configuring-serving-cr/#high-availability. It was just controller, autoscaler-hpa, and networking-istio.
Per enabledComponents, I think we probably need to keep it for a while, because operator maintain minor version minus 3. Old version of knative serving could still have it?

Yeah, the operator maintain minor version minus 3, then enabledComponents should be remained.
For HA components, ingress plugins also needs to be considered once https://github.com/knative/operator/pull/312 was merged.

/remove-lifecycle stale


Chrome Extension & Dark Theme

Chrome Extension & Dark Theme
https://www.cnblogs.com/xgqfrms/p/10017780.html

This is not a inssue.


Migrated to .NET 5

Ref https://github.com/kevinjpetersen/BlazorQuery/issues/4

Migrated to .NET 5 and updated all packages to .NET 5 versions
Some cleanup, such as moving BlazorQueryDOMHelpers to a new file
Fixed a bug where Height and Width on DOM element needed to be double
Added "href" to DOM element (needed it for another project)

@amazingalek This is amazing! Thank you so much for these changes, approved and merged!


go get and binary

Great work, guys!
So... is there a way to modify the go packages a bit to simply be able to go get -u github.com/nspcc-dev/neo-go/cli and then it would already produce the neo-go bin to the $GOBIN?
Just asking, since this would make things slightly simpler to install. 😄

Just to clarify that this is more a question than a bug/feature/whatever.

Just to clarify that this is more a question than a bug/feature/whatever.

Also, I just want to attach the stacktrace of what happens when I try to execute the go get command I mentioned above:
root@cc8605da2eab:~/workspace# go get -u github.com/nspcc-dev/neo-go/cli
# github.com/nspcc-dev/neo-go/cli/flags
/go/src/github.com/nspcc-dev/neo-go/cli/flags/address.go:28:2: cannot use AddressFlag literal (type AddressFlag) as type cli.Flag in assignment:
	AddressFlag does not implement cli.Flag (wrong type for Apply method)
		have Apply(*flag.FlagSet)
		want Apply(*flag.FlagSet) error
/go/src/github.com/nspcc-dev/neo-go/cli/flags/fixed8.go:25:2: cannot use Fixed8Flag literal (type Fixed8Flag) as type cli.Flag in assignment:
	Fixed8Flag does not implement cli.Flag (wrong type for Apply method)
		have Apply(*flag.FlagSet)
		want Apply(*flag.FlagSet) error
# github.com/nspcc-dev/neo-go/pkg/core/storage
/go/src/github.com/nspcc-dev/neo-go/pkg/core/storage/redis_store.go:28:21: not enough arguments in call to c.cmdable.Ping
	have ()
	want (context.Context)
/go/src/github.com/nspcc-dev/neo-go/pkg/core/storage/redis_store.go:41:26: not enough arguments in call to s.client.cmdable.Get
	have (string)
	want (context.Context, string)
/go/src/github.com/nspcc-dev/neo-go/pkg/core/storage/redis_store.go:53:21: cannot use string(k) (type string) as type context.Context in argument to s.client.cmdable.Del:
	string does not implement context.Context (missing Deadline method)
/go/src/github.com/nspcc-dev/neo-go/pkg/core/storage/redis_store.go:59:14: not enough arguments in call to s.client.cmdable.Set
	have (string, string, number)
	want (context.Context, string, interface {}, time.Duration)
/go/src/github.com/nspcc-dev/neo-go/pkg/core/storage/redis_store.go:67:11: not enough arguments in call to pipe.Set
	have (string, []byte, number)
	want (context.Context, string, interface {}, time.Duration)
/go/src/github.com/nspcc-dev/neo-go/pkg/core/storage/redis_store.go:70:11: cannot use k (type string) as type context.Context in argument to pipe.Del:
	string does not implement context.Context (missing Deadline method)
/go/src/github.com/nspcc-dev/neo-go/pkg/core/storage/redis_store.go:72:21: not enough arguments in call to pipe.Exec
	have ()
	want (context.Context)
/go/src/github.com/nspcc-dev/neo-go/pkg/core/storage/redis_store.go:78:23: not enough arguments in call to s.client.cmdable.Scan
	have (number, string, number)
	want (context.Context, uint64, string, int64)
/go/src/github.com/nspcc-dev/neo-go/pkg/core/storage/redis_store.go:79:15: not enough arguments in call to iter.Next
	have ()
	want (context.Context)
/go/src/github.com/nspcc-dev/neo-go/pkg/core/storage/redis_store.go:81:25: not enough arguments in call to s.client.cmdable.Get
	have (string)
	want (context.Context, string)
/go/src/github.com/nspcc-dev/neo-go/pkg/core/storage/redis_store.go:81:25: too many errors
root@cc8605da2eab:~/workspace

Is it because of the vendors (this line and -mod=vendor) that are missing?

Also, I just want to attach the stacktrace of what happens when I try to execute the go get command I mentioned above:
root@cc8605da2eab:~/workspace# go get -u github.com/nspcc-dev/neo-go/cli
# github.com/nspcc-dev/neo-go/cli/flags
/go/src/github.com/nspcc-dev/neo-go/cli/flags/address.go:28:2: cannot use AddressFlag literal (type AddressFlag) as type cli.Flag in assignment:
	AddressFlag does not implement cli.Flag (wrong type for Apply method)
		have Apply(*flag.FlagSet)
		want Apply(*flag.FlagSet) error
/go/src/github.com/nspcc-dev/neo-go/cli/flags/fixed8.go:25:2: cannot use Fixed8Flag literal (type Fixed8Flag) as type cli.Flag in assignment:
	Fixed8Flag does not implement cli.Flag (wrong type for Apply method)
		have Apply(*flag.FlagSet)
		want Apply(*flag.FlagSet) error
# github.com/nspcc-dev/neo-go/pkg/core/storage
/go/src/github.com/nspcc-dev/neo-go/pkg/core/storage/redis_store.go:28:21: not enough arguments in call to c.cmdable.Ping
	have ()
	want (context.Context)
/go/src/github.com/nspcc-dev/neo-go/pkg/core/storage/redis_store.go:41:26: not enough arguments in call to s.client.cmdable.Get
	have (string)
	want (context.Context, string)
/go/src/github.com/nspcc-dev/neo-go/pkg/core/storage/redis_store.go:53:21: cannot use string(k) (type string) as type context.Context in argument to s.client.cmdable.Del:
	string does not implement context.Context (missing Deadline method)
/go/src/github.com/nspcc-dev/neo-go/pkg/core/storage/redis_store.go:59:14: not enough arguments in call to s.client.cmdable.Set
	have (string, string, number)
	want (context.Context, string, interface {}, time.Duration)
/go/src/github.com/nspcc-dev/neo-go/pkg/core/storage/redis_store.go:67:11: not enough arguments in call to pipe.Set
	have (string, []byte, number)
	want (context.Context, string, interface {}, time.Duration)
/go/src/github.com/nspcc-dev/neo-go/pkg/core/storage/redis_store.go:70:11: cannot use k (type string) as type context.Context in argument to pipe.Del:
	string does not implement context.Context (missing Deadline method)
/go/src/github.com/nspcc-dev/neo-go/pkg/core/storage/redis_store.go:72:21: not enough arguments in call to pipe.Exec
	have ()
	want (context.Context)
/go/src/github.com/nspcc-dev/neo-go/pkg/core/storage/redis_store.go:78:23: not enough arguments in call to s.client.cmdable.Scan
	have (number, string, number)
	want (context.Context, uint64, string, int64)
/go/src/github.com/nspcc-dev/neo-go/pkg/core/storage/redis_store.go:79:15: not enough arguments in call to iter.Next
	have ()
	want (context.Context)
/go/src/github.com/nspcc-dev/neo-go/pkg/core/storage/redis_store.go:81:25: not enough arguments in call to s.client.cmdable.Get
	have (string)
	want (context.Context, string)
/go/src/github.com/nspcc-dev/neo-go/pkg/core/storage/redis_store.go:81:25: too many errors
root@cc8605da2eab:~/workspace

Is it because of the vendors (this line and -mod=vendor) that are missing?

Hello! Go toolchain does not allow to change binary names in go get or go install: build flag -o used for can't be used in get and install. So it seems the simplest way is just:
go get .. && mv $GOBIN/cli $GOBIN/neo-go.
Also you don't need -u flag for this. Does the problem remains when invoking go get without -u?

Hello! Go toolchain does not allow to change binary names in go get or go install: build flag -o used for can't be used in get and install. So it seems the simplest way is just:
go get .. && mv $GOBIN/cli $GOBIN/neo-go.
Also you don't need -u flag for this. Does the problem remains when invoking go get without -u?

@fyrchik yes, it remains.
I tested on a Ubuntu Bionic docker image.
BTW: I know that go get or go install doesn't provide a way to specify the output file name. But, I think it would be a great thing if the cli binary could be generated just with go get, out of the box. Then, people/devs could decide if they want to rename the file or not by themselves.

@fyrchik yes, it remains.
I tested on a Ubuntu Bionic docker image.
BTW: I know that go get or go install doesn't provide a way to specify the output file name. But, I think it would be a great thing if the cli binary could be generated just with go get, out of the box. Then, people/devs could decide if they want to rename the file or not by themselves.

@gsmachado what version of Go do you use?

@gsmachado what version of Go do you use?

@fyrchik check it out:
Create a Dockerfile:
FROM golang:1.15.6
USER root
RUN go get github.com/nspcc-dev/neo-go/cli

Then, execute:
docker build -t test-neo-go ./
Then, check how it miserably fails. 😄

@fyrchik check it out:
Create a Dockerfile:
FROM golang:1.15.6
USER root
RUN go get github.com/nspcc-dev/neo-go/cli

Then, execute:
docker build -t test-neo-go ./
Then, check how it miserably fails. 😄

aaaaand... the same happens with:
FROM golang:1.14
USER root
RUN go get github.com/nspcc-dev/neo-go/cli

😄

aaaaand... the same happens with:
FROM golang:1.14
USER root
RUN go get github.com/nspcc-dev/neo-go/cli

😄

The problem occurs because incorrect module versions are fetched. Try to set GO111MODULE=on:
FROM golang:1.15.6
USER root
RUN export GO111MODULE=on && go get github.com/nspcc-dev/neo-go/cli

This works for me.

The problem occurs because incorrect module versions are fetched. Try to set GO111MODULE=on:
FROM golang:1.15.6
USER root
RUN export GO111MODULE=on && go get github.com/nspcc-dev/neo-go/cli

This works for me.

@fyrchik oh, sure! Yes, it works.
What about adding this to the documentation (or README) somewhere? 😄
Closing this issue. Thanks!

@fyrchik oh, sure! Yes, it works.
What about adding this to the documentation (or README) somewhere? 😄
Closing this issue. Thanks!

@gsmachado Glad to hear!. This setting is already present in our Dockerfile, you may want to look at it. Also notice -ldflags argument to go build there, lack of this can be a problem for contract compilation.

@gsmachado Glad to hear!. This setting is already present in our Dockerfile, you may want to look at it. Also notice -ldflags argument to go build there, lack of this can be a problem for contract compilation.


Since version 2.8 watch location not updates at set interval nor at service call🐛

What version of Integration has the issue?
Hello @Ludy87
Since I updated to version 2.8 (and2.8.1) the location of my X6 watches not update anymore with set interval of 180s in config nor with doing a track watch service call..... the only thing that makes the location of watches update is a reload of the configuration. I think there was a similar issue also in the past once that you managed to solve... so I hope you will solve this one also ⁶
System Health details
HAOS 2023.6.1
Supervisor 2023.6.1
Checklist

[X] I have enabled debug logging for my installation.
[X] This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).

Describe the issue
Since I updated to version 2.8 (and2.8.1) the location of my X6 watches not update anymore with set interval of 180s in config nor with doing a track watch service call..... the only thing that makes the location of watches update is a reload of the configuration. I think there was a similar issue also in the past once that you managed to solve... so I hope you will solve this one also
Reproduction steps

...
Non Available
Debug logs
None Available

@Ludy87 for me downgrade to 2.7.16 also make all work again as expected l.

It can happen that there is a login error. Then the integration needs to be uninstalled and reinstalled. It rarely happened in my tests.

So version 2.8.2 should solve this issue @Ludy87 ?

@smarthomefamilyverrips Yes that's right

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.


chore(main): release 0.1.2

:robot: I have created a release beep boop
0.1.2 (2023-04-26)
Bug Fixes

Use Trusted Publisher (cf7d5f6)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/philips-software/SPDXMerge/releases/tag/v0.1.2 :sunflower:


App crashes on launch

Hi, I downloaded both stable and preview to try it out. Unfortunately, they both crash a few seconds after launch.
Windows 11 version 22H2.
Thanks,
Kevin

This is the repo for the website, not the app. Please open the issue again in https://github.com/files-community/files.


OCPBUGS-31855: fix onChange callback patternfly5

onChange callback change signature from patternfly 4 to 5.
It has the event first and after the new value

/jira refresh


AUTOGENERATED: Add or Update code scanning workflow.

chore: added or updated code scanning workflow.

This will need a second reviewer since I amended the commit. @HaleyWardo feel free to merge after approving.


:cold_sweat: Don't include AvailabilityMixin into Object, that's really bad

Before:
irb(main):001:0> Object.respond_to?(:is_available?)
=> false

irb(main):002:0> ManageIQ::Providers::ContainerManager
PostgreSQLAdapter#log_after_checkout, connection_pool: size: 5, connections: 1, in use: 1, waiting_in_queue: 0
=> ManageIQ::Providers::ContainerManager(id: integer, name: string, etc...)

irb(main):003:0> Object.respond_to?(:is_available?)
=> true

After:
irb(main):001:0> Object.respond_to?(:is_available?)
=> false

irb(main):002:0> ManageIQ::Providers::ContainerManager
PostgreSQLAdapter#log_after_checkout, connection_pool: size: 5, connections: 1, in use: 1, waiting_in_queue: 0
=> ManageIQ::Providers::ContainerManager(id: integer, name: string, etc...)

irb(main):003:0> Object.respond_to?(:is_available?)
=> false

@Fryguy @jrafanie @chrisarcand Please review
cc @dclarizio @AparnaKarve This was added by https://github.com/ManageIQ/manageiq/pull/7950

I think this needs to be "darga/yes" since the original PR was.

LGTM 👍 :shipit:

Darga backport details:
commit 9241dfc2d2007b7d269d53b6f379e50e2a546490
Author: Oleg Barenboim<EMAIL_ADDRESS>Date:   Fri Aug 5 14:34:04 2016 -0400

    Merge pull request #10285 from bdunne/wat_dont_include_AvailabilityMixin_into_Object

    :cold_sweat: Don't include AvailabilityMixin into Object, that's really bad
    (cherry picked from commit c9d710e02f459de21c83cb831c184c2f347b5e0e)

https://bugzilla.redhat.com/show_bug.cgi?id=1375291


Generate list on app start

Fixes #
List file is now generated on app start

Thank you! I just hope it works when deployed 😂

One thing:
when deploying the built version, we dont run the start script.
Maybe it needs to be run in the prebuild hook.
Unfortunaltey because of the DNS I cant test it locally.


Replace Switch with Routes

In  react-router-dom version 6,  'Switch' key word is replaced as 'Routes'

Fixes Issue

Changes proposed

Check List (Check all the applicable boxes)

[ ] My code follows the code style of this project.
[ ] My change requires changes to the documentation.
[ ] I have updated the documentation accordingly.
[ ] All new and existing tests passed.
[ ] This PR does not contain plagiarized content.
[ ] The title of my pull request is a short description of the requested changes.

Screenshots

Note to reviewers

How’s this pr going @E-fais ?

Sorry @EmmaDawsonDev  , I was busy on my current projects.
Yesterday my  fourth  PR for hactoberfest was successfully merged. Wouldn’t it be better to give some others this chance ?
i am still happy to work on this btw.

No problem, I just wanted to check in. It's totally up to you if you wish to continue with the PR. If you'd rather give the issue to someone else then this PR can be closed.

Okay , i will create an issue so that someone can work on it 👍


Unknown CRC32 for some vorbis samples

Some vorbis samples fail to decode as the crc32 is not known, so the encoding options cannot be derived.
This seems to have something to do with specifying quality when creating samples with Unity3D's fsbtool.

this crc = crc32b(header info) as in 38e3efabda9ee72e1f820c17f3b4ebdda4939cfa

The reason this doesn't work is these setup headers are generated using an older version of libvorbis with potentially different codebook generation.  This also means that this (the lookup tables in particular) will break if a version of libvorbis with different codebook generation is used.
Probably better would be to embed the setup headers themselves (as FMod does) instead of the encoding parameters, although that data is somewhat large.


Composer Installation on Windows

Ok, so following @QWp6t 's suggestion, I've posted the issue here.
Trying the composer installation on Windows 10.1 is resulting in an error.
I followed the installation instructions on the Github repo composer create-project roots/sage your-theme-name dev-master.
After the composer installation failed, doing sage meta and sage config, as suggested, results in exceptions being thrown, and sage preset prolly cannot run since the setup is not finished yet.
Windows 10.1
PHP 7.1.7
Node 7.6.0
NPM 4.1.2
Local build.
E:\Trabalho\ShirkitTheme>composer create-project roots/sage sage-master dev-master
Installing roots/sage (dev-master 8691074b29c4c09dae40f0f0c33dc2b51d9292e2)
  - Installing roots/sage (dev-master master): Cloning master from cache
Created project in sage-master
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Package operations: 26 installs, 0 updates, 0 removals
  - Installing composer/installers (v1.3.0): Loading from cache
  - Installing paragonie/random_compat (v2.0.10): Loading from cache
  - Installing illuminate/contracts (v5.4.27): Loading from cache
  - Installing doctrine/inflector (v1.1.0): Loading from cache
  - Installing illuminate/support (v5.4.27): Loading from cache
  - Installing illuminate/container (v5.4.27): Loading from cache
  - Installing illuminate/events (v5.4.27): Loading from cache
  - Installing psr/log (1.0.2): Loading from cache
  - Installing symfony/debug (v3.3.4): Loading from cache
  - Installing symfony/finder (v3.3.4): Loading from cache
  - Installing illuminate/filesystem (v5.4.27): Loading from cache
  - Installing illuminate/view (v5.4.27): Loading from cache
  - Installing illuminate/config (v5.4.27): Loading from cache
  - Installing roots/sage-lib (9.0.0-beta.3): Loading from cache
  - Installing symfony/yaml (v3.3.4): Loading from cache
  - Installing hassankhan/config (0.10.0): Loading from cache
  - Installing brain/hierarchy (2.3.0): Loading from cache
  - Installing soberwp/controller (dev-master e9358ff): Cloning e9358ff900 from cache
  - Installing symfony/polyfill-mbstring (v1.4.0): Loading from cache
  - Installing symfony/translation (v3.3.4): Loading from cache
  - Installing nesbot/carbon (1.22.1): Loading from cache
  - Installing symfony/process (v3.3.4): Loading from cache
  - Installing symfony/console (v3.3.4): Loading from cache
  - Installing illuminate/console (v5.4.27): Loading from cache
  - Installing roots/sage-installer (1.1.0): Loading from cache
  - Installing squizlabs/php_codesniffer (2.9.1): Loading from cache
paragonie/random_compat suggests installing ext-libsodium (Provides a modern crypto API that can be used to generate random bytes.)
illuminate/support suggests installing symfony/var-dumper (Required to use the dd function (~3.2).)
illuminate/filesystem suggests installing league/flysystem (Required to use the Flysystem local and FTP drivers (~1.0).)
illuminate/filesystem suggests installing league/flysystem-aws-s3-v3 (Required to use the Flysystem S3 driver (~1.0).)
illuminate/filesystem suggests installing league/flysystem-rackspace (Required to use the Flysystem Rackspace driver (~1.0).)
symfony/translation suggests installing symfony/config ()
symfony/console suggests installing symfony/event-dispatcher ()
symfony/console suggests installing symfony/filesystem ()
illuminate/console suggests installing guzzlehttp/guzzle (Required to use the ping methods on schedules (~6.0).)
illuminate/console suggests installing mtdowling/cron-expression (Required to use scheduling component (~1.0).)
Generating autoload files
Do you want to remove the existing VCS (.git, .svn..) history? [Y,n]? Y
> Roots\Sage\Installer\ComposerScript::postCreateProject
Script Roots\Sage\Installer\ComposerScript::postCreateProject handling the post-create-project-cmd event terminated with an exception

  [Symfony\Component\Process\Exception\RuntimeException]
  TTY mode is not supported on Windows platform.

create-project [-s|--stability STABILITY] [--prefer-source] [--prefer-dist] [--repository REPOSITORY] [--repository-url REPOSITORY-URL] [--dev] [--no-dev] [--no-custom-installers] [--no-scripts] [--no-progress] [--no-secure-http] [--keep-vcs] [--no-install] [--ignore-platform-reqs] [--] [<package>] [<directory>] [<version>]

E:\Trabalho\ShirkitTheme>cd vendor
The system cannot find the path specified.

E:\Trabalho\ShirkitTheme>dir
 Volume in drive E is Dados
 Volume Serial Number is 04F5-6681

 Directory of E:\Trabalho\ShirkitTheme

03/08/2017  00:58    <DIR>          .
03/08/2017  00:58    <DIR>          ..
28/07/2017  16:25    <DIR>          bones-master
31/07/2017  00:04    <DIR>          node_modules
03/08/2017  00:58    <DIR>          sage-master
30/07/2017  00:54    <DIR>          xampp
               0 File(s)              0 bytes
               6 Dir(s)  84.271.640.576 bytes free

E:\Trabalho\ShirkitTheme>cd sage-master

E:\Trabalho\ShirkitTheme\sage-master>dir
 Volume in drive E is Dados
 Volume Serial Number is 04F5-6681

 Directory of E:\Trabalho\ShirkitTheme\sage-master

03/08/2017  00:58    <DIR>          .
03/08/2017  00:58    <DIR>          ..
03/08/2017  00:58               251 .editorconfig
03/08/2017  00:58                83 .gitattributes
03/08/2017  00:58    <DIR>          .github
03/08/2017  00:58               267 .gitignore
03/08/2017  00:58               814 .travis.yml
03/08/2017  00:58    <DIR>          app
03/08/2017  00:58            29.793 CHANGELOG.md
03/08/2017  00:58             1.196 composer.json
03/08/2017  00:58            53.273 composer.lock
03/08/2017  00:58    <DIR>          config
03/08/2017  00:58             1.087 LICENSE.md
03/08/2017  00:58           356.029 package-lock.json
03/08/2017  00:58             3.728 package.json
03/08/2017  00:58             2.310 phpcs.xml
03/08/2017  00:58             5.964 README.md
03/08/2017  00:58    <DIR>          resources
03/08/2017  00:58    <DIR>          vendor
03/08/2017  00:58           241.171 yarn.lock
              13 File(s)        695.966 bytes
               7 Dir(s)  84.271.640.576 bytes free

E:\Trabalho\ShirkitTheme\sage-master>cd vendor

E:\Trabalho\ShirkitTheme\sage-master\vendor>cd bin

E:\Trabalho\ShirkitTheme\sage-master\vendor\bin>dir
 Volume in drive E is Dados
 Volume Serial Number is 04F5-6681

 Directory of E:\Trabalho\ShirkitTheme\sage-master\vendor\bin

03/08/2017  00:58    <DIR>          .
03/08/2017  00:58    <DIR>          ..
03/08/2017  00:58               620 phpcbf
03/08/2017  00:58               134 phpcbf.bat
03/08/2017  00:58               619 phpcs
03/08/2017  00:58               133 phpcs.bat
03/08/2017  00:58               609 sage
03/08/2017  00:58               123 sage.bat
               6 File(s)          2.238 bytes
               2 Dir(s)  84.271.640.576 bytes free

E:\Trabalho\ShirkitTheme\sage-master\vendor\bin>sage.bat meta
PHP Warning:  file_get_contents(E:\Trabalho\ShirkitTheme\sage-master\vendor\bin/resources/style.css): failed to open stream: No such file or directory in E:\Trabalho\ShirkitTheme\sage-master\vendor\roots\sage-installer\src\Transformations\ThemeHeaders.php on line 30

Warning: file_get_contents(E:\Trabalho\ShirkitTheme\sage-master\vendor\bin/resources/style.css): failed to open stream: No such file or directory in E:\Trabalho\ShirkitTheme\sage-master\vendor\roots\sage-installer\src\Transformations\ThemeHeaders.php on line 30
PHP Warning:  file_get_contents(E:\Trabalho\ShirkitTheme\sage-master\vendor\bin/resources/assets/config.json): failed to open stream: No such file or directory in E:\Trabalho\ShirkitTheme\sage-master\vendor\roots\sage-installer\src\Console\Commands\ConfigCommand.php on line 26

Warning: file_get_contents(E:\Trabalho\ShirkitTheme\sage-master\vendor\bin/resources/assets/config.json): failed to open stream: No such file or directory in E:\Trabalho\ShirkitTheme\sage-master\vendor\roots\sage-installer\src\Console\Commands\ConfigCommand.php on line 26

  Roots\Sage\Installer\Console\Exceptions\ConfigureCommandException: FILE NOT
  FOUND:

      E:\Trabalho\ShirkitTheme\sage-master\vendor\bin/resources/style.css in
  E:\Trabalho\ShirkitTheme\sage-master\vendor\roots\sage-installer\src\Console</>
  Commands\MetaCommand.php:37

  Stack trace:

  #0
  E:\Trabalho\ShirkitTheme\sage-master\vendor\roots\sage-installer\src\Console</>
  Commands\Command.php(42):
  Roots\Sage\Installer\Console\Commands\MetaCommand->validate()

  #1
  E:\Trabalho\ShirkitTheme\sage-master\vendor\symfony\console\Application.php(8
  69):
  Roots\Sage\Installer\Console\Commands\Command->run(Object(Symfony\Component\C
  onsole\Input\ArgvInput),
  Object(Roots\Sage\Installer\Console\Style\RootsStyle))

  #2
  E:\Trabalho\ShirkitTheme\sage-master\vendor\symfony\console\Application.php(2
  23):
  Symfony\Component\Console\Application->doRunCommand(Object(Roots\Sage\Install
  er\Console\Commands\MetaCommand),
  Object(Symfony\Component\Console\Input\ArgvInput),
  Object(Roots\Sage\Installer\Console\Style\RootsStyle))

  #3
  E:\Trabalho\ShirkitTheme\sage-master\vendor\symfony\console\Application.php(1
  30):
  Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console
  \Input\ArgvInput), Object(Roots\Sage\Installer\Console\Style\RootsStyle))

  #4
  E:\Trabalho\ShirkitTheme\sage-master\vendor\roots\sage-installer\src\Applicat
  ion.php(23):
  Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\I
  nput\ArgvInput), Object(Roots\Sage\Installer\Console\Style\RootsStyle))

  #5
  E:\Trabalho\ShirkitTheme\sage-master\vendor\roots\sage-installer\bin\sage(8):
  Roots\Sage\Installer\Application->run()

  #6 {main}

E:\Trabalho\ShirkitTheme\sage-master\vendor\bin>sage.bat config
PHP Warning:  file_get_contents(E:\Trabalho\ShirkitTheme\sage-master\vendor\bin/resources/style.css): failed to open stream: No such file or directory in E:\Trabalho\ShirkitTheme\sage-master\vendor\roots\sage-installer\src\Transformations\ThemeHeaders.php on line 30

Warning: file_get_contents(E:\Trabalho\ShirkitTheme\sage-master\vendor\bin/resources/style.css): failed to open stream: No such file or directory in E:\Trabalho\ShirkitTheme\sage-master\vendor\roots\sage-installer\src\Transformations\ThemeHeaders.php on line 30
PHP Warning:  file_get_contents(E:\Trabalho\ShirkitTheme\sage-master\vendor\bin/resources/assets/config.json): failed to open stream: No such file or directory in E:\Trabalho\ShirkitTheme\sage-master\vendor\roots\sage-installer\src\Console\Commands\ConfigCommand.php on line 26

Warning: file_get_contents(E:\Trabalho\ShirkitTheme\sage-master\vendor\bin/resources/assets/config.json): failed to open stream: No such file or directory in E:\Trabalho\ShirkitTheme\sage-master\vendor\roots\sage-installer\src\Console\Commands\ConfigCommand.php on line 26

  Roots\Sage\Installer\Console\Exceptions\ConfigureCommandException: FILE NOT
  FOUND:

  E:\Trabalho\ShirkitTheme\sage-master\vendor\bin/resources/assets/config.json
  in
  E:\Trabalho\ShirkitTheme\sage-master\vendor\roots\sage-installer\src\Console</>
  Commands\ConfigCommand.php:48

  Stack trace:

  #0
  E:\Trabalho\ShirkitTheme\sage-master\vendor\roots\sage-installer\src\Console</>
  Commands\Command.php(42):
  Roots\Sage\Installer\Console\Commands\ConfigCommand->validate()

  #1
  E:\Trabalho\ShirkitTheme\sage-master\vendor\symfony\console\Application.php(8
  69):
  Roots\Sage\Installer\Console\Commands\Command->run(Object(Symfony\Component\C
  onsole\Input\ArgvInput),
  Object(Roots\Sage\Installer\Console\Style\RootsStyle))

  #2
  E:\Trabalho\ShirkitTheme\sage-master\vendor\symfony\console\Application.php(2
  23):
  Symfony\Component\Console\Application->doRunCommand(Object(Roots\Sage\Install
  er\Console\Commands\ConfigCommand),
  Object(Symfony\Component\Console\Input\ArgvInput),
  Object(Roots\Sage\Installer\Console\Style\RootsStyle))

  #3
  E:\Trabalho\ShirkitTheme\sage-master\vendor\symfony\console\Application.php(1
  30):
  Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console
  \Input\ArgvInput), Object(Roots\Sage\Installer\Console\Style\RootsStyle))

  #4
  E:\Trabalho\ShirkitTheme\sage-master\vendor\roots\sage-installer\src\Applicat
  ion.php(23):
  Symfony\Component\Console\Application->run(Object(Symfony\Component\Console\I
  nput\ArgvInput), Object(Roots\Sage\Installer\Console\Style\RootsStyle))

  #5
  E:\Trabalho\ShirkitTheme\sage-master\vendor\roots\sage-installer\bin\sage(8):
  Roots\Sage\Installer\Application->run()

  #6 {main}

E:\Trabalho\ShirkitTheme\sage-master\vendor\bin>sage.bat preset
PHP Warning:  file_get_contents(E:\Trabalho\ShirkitTheme\sage-master\vendor\bin/resources/style.css): failed to open stream: No such file or directory in E:\Trabalho\ShirkitTheme\sage-master\vendor\roots\sage-installer\src\Transformations\ThemeHeaders.php on line 30

Warning: file_get_contents(E:\Trabalho\ShirkitTheme\sage-master\vendor\bin/resources/style.css): failed to open stream: No such file or directory in E:\Trabalho\ShirkitTheme\sage-master\vendor\roots\sage-installer\src\Transformations\ThemeHeaders.php on line 30
PHP Warning:  file_get_contents(E:\Trabalho\ShirkitTheme\sage-master\vendor\bin/resources/assets/config.json): failed to open stream: No such file or directory in E:\Trabalho\ShirkitTheme\sage-master\vendor\roots\sage-installer\src\Console\Commands\ConfigCommand.php on line 26

Warning: file_get_contents(E:\Trabalho\ShirkitTheme\sage-master\vendor\bin/resources/assets/config.json): failed to open stream: No such file or directory in E:\Trabalho\ShirkitTheme\sage-master\vendor\roots\sage-installer\src\Console\Commands\ConfigCommand.php on line 26

 Which framework would you like to load? [Bootstrap]:
  [0] None
  [1] Bootstrap
  [2] Bulma
  [3] Foundation
  [4] Tachyons
 > 3

 Do you want to install Font Awesome? (yes/no) [no]:
 > yes

  [InvalidArgumentException]
  The "E:\Trabalho\ShirkitTheme\sage-master\vendor\bin/resources/assets" dire
  ctory does not exist.

preset [-Y|--overwrite] [-F|--fontawesome] [--] <framework>

E:\Trabalho\ShirkitTheme\sage-master\vendor\bin>

You have to run it from the theme directory.
In your case...
cd sage-master
vendor/sage.bat meta
vendor/sage.bat config
vendor/sage.bat present

Ooops 👍

Tried spinning up a Sage project today, on a Windows machine.. I'm not having any success with the commands you've mentioned above.
C:\laragon\www\sage-theme\wp-content\themes\sage-theme
λ php vendor\bin\sage meta

dir=$(cd "${0%[/\\]*}" > /dev/null; cd "../roots/sage-installer/bin" && pwd)

if [ -d /proc/cygdrive ] && [[ $(which php) == $(readlink -n /proc/cygdrive)/* ]]; then
   # We are in Cgywin using Windows php, so the path must be translated
   dir=$(cygpath -m "$dir");
fi

"${dir}/sage" "$@"

C:\laragon\www\sage-theme\wp-content\themes\sage-theme
λ php vendor\bin\sage.bat meta
@ECHO OFF
setlocal DISABLEDELAYEDEXPANSION
SET BIN_TARGET=%~dp0/../roots/sage-installer/bin/sage
php "%BIN_TARGET%" %*

C:\laragon\www\sage-theme\wp-content\themes\sage-theme
λ php vendor\bin\sage.bat config
@ECHO OFF
setlocal DISABLEDELAYEDEXPANSION
SET BIN_TARGET=%~dp0/../roots/sage-installer/bin/sage
php "%BIN_TARGET%" %*

C:\laragon\www\sage-theme\wp-content\themes\sage-theme
λ php vendor\bin\sage.bat preset
@ECHO OFF
setlocal DISABLEDELAYEDEXPANSION
SET BIN_TARGET=%~dp0/../roots/sage-installer/bin/sage
php "%BIN_TARGET%" %*

Back when I was using Cygwin, this is how I ran these commands: https://discourse.roots.io/t/no-option-prompts-for-composer-sage-install-on-windows/11339/3?u=mmirus
That syntax or some of the others in the thread may help. Let us know on Discourse if not - that's a better place than GitHub for support requests. Good luck!

Ah, you know what, I misread the commands you posted. I had put php in front of my commands (that was from a piece of advice I read somewhere else).
Running the commands
"vendor/bin/sage.bat" meta
"vendor/bin/sage.bat" config
"vendor/bin/sage.bat" preset

works for me. Thanks for the prompt reply!
If anyone stumbles into this down the road, I'm using a program called Cmder in place of Windows' standard command line program.


Collapse all unconnected ports in processes.

When dealing with "tall" components that have many inputs or outputs, it would be useful to have a switch for listing only connected ports, otherwise we have situations like this :

Why do these components have ~20 outports?
I'm a bit sceptical of this as a valid usecase...
We have a similar scenario on MicroFlo (for 'board' type components), but there its basically a workaround for us now having good custom IIP/data editors.


Duplicate map/regions page

As we move focus away from the regions map to looking at the whole document, I see we have the original PD_1.html and our regions.html.  We should actually put the regions.html into PlatformData\PD_1.html.
Then the existing links to this map page will still work.  Note: this will probably break some generated path references, since the file has moved down a folder in the hierarchy.

Duplicate of issue identified in #508 508


How to run migrations on sharded database (v4.0.0)?

Hello!
How can I run my migrations on a sharded database? I'm using v4.0.0.beta9, and I can't find any information on how to create tables on my shard.
Thanks!

Yeah, that’s a problem we haven’t solved yet.


Set NearInteractionTouchableVolume collider at runtime

Describe the problem
In a couple of projects I would like to create MRTK components at runtime. Mostly this works fine, an exception found is NearInteractionTouchableVolume where the touchableCollider can only be set with the editor, either by user-interaction or by the OnValidate message.
I could not find a technical reason for this to not be possible (e.g. also hacking the value by using reflection seems to work fine), maybe I am missing something?
Describe the solution you'd like
I would like to be able create the component at runtime, for this the touchableCollider has to be set at runtime. E.g. the component could search for a Collider component on the own GameObject (like NearInteractionTouchable is doing), or by having a SetTouchableCollider method (see also NearInteractionTouchable).

#9199 fixed this issue.

Yep, as @Zee2 this issue has been fixed since 2.6 I believe, though I was tracking it via a different issue, so I missed closing this one! I took the path where NearInteractionTouchableVolume caches the collider of the object it's being added to automatically in Awake()


[C_CPP]: Secound largest number in array

Description
Secound largest number in array

Solution with explanation

Domain
C/CPP
Type of Contribution
Documentation
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of this project.

/assign

/assign


[BUG] Azure Databricks audience blocked in MSI

To Reproduce
curl http://localhost:50342/oauth2/token --data "resource=2ff814a6-3304-4ab8-85cb-cd0e6f879c1d" -H Metadata:true -s
curl http://localhost:50342/oauth2/token --data "resource=https://azuredatabricks.net/" -H Metadata:true -s

Observed Behavior
{"error":{"code":"AudienceNotSupported","message":"Audience 2ff814a6-3304-4ab8-85cb-cd0e6f879c1d is not a supported MSI token audience. Supported audiences: https://management.core.windows.net/,https://management.azure.com/,https://graph.windows.net/,https://vault.azure.net,https://datalake.azure.net/,https://outlook.office365.com/,https://graph.microsoft.com/,https://batch.core.windows.net/,https://analysis.windows.net/powerbi/api,https://storage.azure.com/,https://rest.media.azure.net,https://api.loganalytics.io,https://ossrdbms-aad.database.windows.net,https://www.yammer.com,https://digitaltwins.azure.net,0b07f429-9f4b-4714-9392-cc5e8e80c8b0,822c8694-ad95-4735-9c55-256f7db2f9b4,https://dev.azuresynapse.net,https://database.windows.net,https://quantum.microsoft.com,https://iothubs.azure.net"}}

Expected behavior
Both commands should have returned an access token. I am guessing this is also the reason calling az account get-access-token trying to get an access token for Azure Databricks fails (while the same command ran on my dev machine succeeds):
matthieu@Azure:~$ az account get-access-token --resource https://azuredatabricks.net/
Failed to connect to MSI. Please make sure MSI is configured correctly.
Get Token request returned: <Response [400]>

Is this specific to Cloud Shell?
Yes. No MSI on my local dev machine, but az account get-access-token --resource https://azuredatabricks.net/ does fail in Cloud Shell and succeeds on my local machine.
Interface information
https://shell.azure.com from Chrome on Windows 10
Additional context

New audience added and tested.


ReferenceError: exports is not defined

https://github.com/lodash/lodash/blob/es/_freeGlobal.js
/***/ "../node_modules/lodash-es/_freeGlobal.js":
/***/ (function(module, __webpack_exports__, __webpack_require__) {

"use strict";
/* WEBPACK VAR INJECTION */(function(global) {/** Detect free variable `global` from Node.js. */
var freeGlobal = typeof global == 'object' && global && global.Object === Object && global;

/* harmony default export */ __webpack_exports__["a"] = freeGlobal;

/* WEBPACK VAR INJECTION */}.call(exports, __webpack_require__("../node_modules/webpack/buildin/global.js")))

/***/ }),

See the exports variable near the end of the file.
Version: webpack 2.2.0-rc.5

Fixed with patch that's pending review and release. See https://github.com/webpack/webpack/issues/3917#issuecomment-272713444 for more info.

confirm that rc6 resolves both compile and runtime errors


⚠ ClamAV has degraded performance

In 8e7b349, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 108 ms

Resolved: ClamAV performance has improved in 1606184 after 5 minutes.


Pay block reward

This PR expands on https://github.com/witnet/witnet-ethereum-block-relay/pull/29 to be able to pay the block relayer. The block reward is divided in two, one for the inclusion and one for the reward.
Missing things:

Upgrade Request should also include an upgrade for the block relay reward.
More extensive testing

If I got it right, the blockReward is defined when posting the data request as the sum of the inclusionReward and the tallyReward. If this is correct, then there is no need to include the blockReward as input in any function, since it can be calculated from the other rewards.
Having this in mind, some modifiers change

payingEnough in WitnetRequestBoard.sol should make sure the value is greater or equal 2*_tally, the reward of the tally and  the block reward.
ValidRewards in UsingWitnet.sol has to consider double the rewards, something like
`require(_requestReward + _resultReward >= _requestReward && 2*(_requestReward +_requestReward) >= 2*_requestReward, "The sum of rewards overflows");

The tests will need to be changed as well, as some of the values of the transactions are not longer valid.`


[Tiered Caching] Clear up disk cache(ehcache) files during node shutdown

Description

Adds a change to clear up disk cache files during node shutdown.
Also adds a change in IndicesRequestCache to call close() on cache explicitly which was missing earlier.
Also added invalidateAll support for ehcache disk cache.

Related Issues
https://github.com/opensearch-project/OpenSearch/issues/12714
Check List

[x] New functionality includes testing.

[x] All tests pass

[x] New functionality has been documented.

[x] New functionality has javadoc added

[x] Failing checks are inspected and point to the corresponding known issue(s) (See: Troubleshooting Failing Builds)
[x] Commits are signed per the DCO using --signoff
~[ ] Commit changes are listed out in CHANGELOG.md file (See: Changelog)~
~[ ] Public documentation issue/PR created~

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@msfroh Might need your help on this

@msfroh Just in case you don't miss, I added a commit after your approval to fix another issue where when we use ehcache_disk option in requestCache, there was a issue with calculating memory_size in stats. Description contains more detail.


Investigate NIC / NAC accuracy

Originally reported by Hrishikesh Ballal (Bitbucket: hrishiballal, GitHub: hrishiballal)

Is GPS accurate enough for drones, this is a open question and we need to investigate more.

Bitbucket: https://bitbucket.org/hrishiballal/airtraffic-data-protocol-development/issue/4

The question on whether GPS is accurate enough for drones is not related to the definition of a protocol.  Also, it is not clear what NIC/NAC means.


fix: serialization inconsistency while creating a user

When a user is created/updated it can have additional metadata, this data although it is a generic blob was getting serialized differently when the User was Created vs Updated which was causing behaviors like extra quotes if the metadata type is a string.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

10 of 15 (66.67%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.3%) to 50.554%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

internal/store/postgres/group_repository.go
0
2
0.0%

internal/store/postgres/user_repository.go
9
12
75.0%

Totals

Change from base Build<PHONE_NUMBER>:
-0.3%

Covered Lines:
4335

Relevant Lines:
8575

💛  - Coveralls

please change to target branch to rc/0.5.1

Hey @kushsharma I tried updating an user with the following body

Then I used the Get By Id API and it returns

Can you help in fixing this as well?
You might want to test this step where we are converting the Metadata object to *structpb.Struct (https://github.com/odpf/shield/blob/44409f5183435b2b8bad8fab2960a866675831a0/internal/api/v1beta1/user.go#L374)

@kushsharma  Also, please consider these use case as well:
An array of JSON

    "metadata": {
        "k1": [
            {
                "em": "vm"
            },
            {
                "pe": "cm"
            },
            {
                "pm": "gm"
            }
        ],
        "k2": "v2"
    }

Nested JSON

    "metadata": {
        "k1": {
                "em": "vm"
            },
        "k2": "v2"
    }

Sure, let me check. I actually hoped the Update method was working fine and simply reused the implementation. Create and Update behave similarly but their serialization strategy is inconsistent.

Sure, let me check. I actually hoped the Update method was working fine and simply reused the implementation. Create and Update behave similarly but their serialization strategy is inconsistent.

Thanks!
FYI we support different behaviors while updating a user, based on if an uuid is passed or an email. For uuid, we are replacing the entire metadata, while with email we will merge old metadata with new.

Note: we need to migrate the server first before deploying these changes.
We are changing the type of value column in metadata table to jsonb.


Make logs retrievable after execution

Right now, logs are stored once per task.
As Cloud Developer running robot service with Google Cloud Run, I often have 1 task per service. The task is executed very often, but i can only retrieve logs for the last execution.
I want to retrieve log+report for a specific execution, even if it is not the last one.
Requirements:

execution-id must be configurable. If it is not set by user in api-call, it must be set automatically and returned in response, so a user can query it later

Solved with #8


Automated cherry pick of #6573: zstack宿主机监控中增加参数信息进行Unmarshal

Cherry pick of #6573 on release/3.0.
#6573: zstack宿主机监控中增加参数信息进行Unmarshal

Codecov Report

Merging #6575 into release/3.0 will not change coverage.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           release/3.0   #6575   +/-   ##
===========================================
  Coverage         6.92%   6.92%
===========================================
  Files              541     541
  Lines            91753   91753
===========================================
  Hits              6351    6351
  Misses           84880   84880
  Partials           522     522

Flag
Coverage Δ

#aFlag
6.92% <ø> (ø)

Continue to review full report at Codecov.

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


Provide a global timeout setting for IMDS probe

Library or service name.

Azure.Identity
Azure.Services.AppAuthentication

Is your feature request related to a problem? Please describe.
We have a job cluster running inside windows containers on top of Azure VMSS. Each job run as a standalone executable. Right after each process launch, the executable authenticate to various azure services using DefaultAzureCredential and AppServiceTokenProvider.
Approximately 5% of jobs failed to authenticate due to IMDS connection timeout. Experiments show that it can sometimes take up to more than 6 seconds to connect to IMDS endpoint in our scenario.
We've created a patched version of Azure.Identity and Azure.Services.AppAuthentication to increase the IMDS connection timeout to 30 seconds and the fix solves most of IMDS connection problems.
The IMDS probe timeout is hardcoded as 1s for DefaultAzureCredential, and 3s for AzureServiceTokenProvider. Is it possible to make this timeout configurable? The configuration knob needs to be static because there are multiple components using DefaultAzureCredential and we'd like to configure the value in one place.
Related: https://github.com/Azure/azure-sdk-for-net/issues/19974

//cc: @nonik0, @anaismiller for AppAuthentication consideration.

Thank you for your feedback.  Tagging and routing to the team members best able to assist.

Hi @yufeih - This is a common request and we are considering making some changes to the IMDS endpoint discovery, as described here
In the meantime, there is a workaround pod example which waits for the IMDS endpoint to become available at startup. You can find it here

We will take this into consideration.

Any update on this issue?

There are some things in motion that should eliminate the need for setting an explicit timeout for this.
The primary one is that due to some changes to how distributed tracing events are flagged as error events, this discovery request can behavior like other service operations with policy based retries.

We'll gladly try out and give feedback once it ships.

@christothes @schaabs
We are still hitting IMDS connection problems in a windows AKS cluster using the latest Azure.Identity package. It seems https://github.com/Azure/azure-sdk-for-net/pull/24328 added a hardcoded timeout of 1 second to the initial IMDS request, can that timeout be adjusted by an environment variable so we can tweak it to a larger value for apps running inside our cluster?


Exporter time series errors do not include metric names

When working with Google Exporter, it would be nice if time series errors returned the name of the metric(s) being rejected by the API, as sometimes a system will have hundreds of metric, with only a subset of them being rejected by the API. This is very difficult to track down as it requires the user to use metrics explorer and look at every single metric to try and find one that has spotty data.
Error

Jun 23 14:28:14 oiq-otelcollector-1 observiq-otel-collector[1673]: 2022-06-23T14:28:14.721Z        error        exporterhelper/queued_retry.go:149        Exporting failed. Try enabling retry_on_failure config option to retry on retryable errors        {"kind": "exporter", "name": "googlecloud", "error": "rpc error: code = InvalidArgument desc = One or more TimeSeries could not be written: One or more points were written more frequently than the maximum sampling period configured for the metric.: generic_node{location:global,node_id:oiq-otelcollector-1,namespace:oiq-otelcollector-1} timeSeries[0-26,28,30-138]: custom.googleapis.com/node_cpu_seconds_total{cpu0,appfluentbit2,modeidle,hostnamefluent-bit2}; Field timeSeries[27].points[0].interval.end_time had an invalid value of \"2022-05-23T03:12:21.352793-07:00\": Data points cannot be written more than 25h10s in the past.; Field timeSeries[29].points[0].interval.end_time had an invalid value of \"2022-06-06T02:45:37.375261-07:00\": Data points cannot be written more than 25h10s in the past.\nerror details: name = Unknown  desc = total_point_count:139  success_point_count:117  errors:{status:{code:9}  point_count:20}  errors:{status:{code:3}  point_count:2}"}

This error indicates a real problem, but does not include the name of the metrics being rejected.

We see this frequently as well, which is caused by duplicate metrics when really it is just multiple systems sending identifcal metrics without adding uniquely identifiable resources such as a host.name.

{"level":"error","ts":"2022-06-17T13:01:26.349-0400","caller":"exporterhelper/queued_retry.go:149","msg":"Exporting failed. Try enabling retry_on_failure config option to retry on retryable errors","kind":"exporter","name":"googlecloud","error":"rpc error: code = InvalidArgument desc = One or more TimeSeries could not be written: Field timeSeries[1] had an invalid value: Duplicate TimeSeries encountered. Only one point can be written per TimeSeries per request.; Field timeSeries[3] had an invalid value: Duplicate TimeSeries encountered. Only one point can be written per TimeSeries per request.; Field timeSeries[5] had an invalid value: Duplicate TimeSeries encountered. Only one point can be written per TimeSeries per request.\nerror details: name = Unknown  desc = total_point_count:6 success_point_count:3 errors:{status:{code:3} point_count:3}","stacktrace":"go.opentelemetry.io/collector/exporter/exporterhelper.(*retrySender).send\n\t/opt/homebrew/pkg/mod/go.opentelemetry.io/collector@v0.52.0/exporter/exporterhelper/queued_retry.go:149\ngo.opentelemetry.io/collector/exporter/exporterhelper.(*metricsSenderWithObservability).send\n\t/opt/homebrew/pkg/mod/go.opentelemetry.io/collector@v0.52.0/exporter/exporterhelper/metrics.go:132\ngo.opentelemetry.io/collector/exporter/exporterhelper.(*queuedRetrySender).start.func1\n\t/opt/homebrew/pkg/mod/go.opentelemetry.io/collector@v0.52.0/exporter/exporterhelper/queued_retry_inmemory.go:119\ngo.opentelemetry.io/collector/exporter/exporterhelper/internal.consumerFunc.consume\n\t/opt/homebrew/pkg/mod/go.opentelemetry.io/collector@v0.52.0/exporter/exporterhelper/internal/bounded_memory_queue.go:82\ngo.opentelemetry.io/collector/exporter/exporterhelper/internal.(*boundedMemoryQueue).StartConsumers.func2\n\t/opt/homebrew/pkg/mod/go.opentelemetry.io/collector@v0.52.0/exporter/exporterhelper/internal/bounded_memory_queue.go:69"}

Regarding that second one, and really all errors in general, it is extremely beneficial to know which metric is having the error. Especially in environments with hundreds of metrics.

I am running into this again today. The issue is clearly in my configuration, but impossible to narrow down. The error I am getting exceeds 65k characters.

Unfortunately, this long error is an issue with the Cloud Monitoring Metrics API.   The only way to solve it for this project would be to parse the error message and attempt to produce a better one.  Instead we'll escalate this against the Cloud Monitoring API itself.

Any progress on this? I encountered it again yesterday.

Sorry, still no updates.  I'll check with the Cloud Monitoring API team again to see if they have any updates.

Still no updates.

@dashpole Thanks, we're still seeing this, so it is still an important issue.

Still no updates.  If others run into the same issue, feel free to thumbs up the original comment

@dashpole We still see this regularly, and it actually causes a deeper issue. If the persistent queue is enabled, these failures are put into the queue and retried over and over again. This causes issues all over the place, such as repeated API failures, an extreme log growth, and of course the persistent queue also growing on disk.

Source for retry settings built-into the client: https://github.com/googleapis/google-cloud-go/blob/main/monitoring/apiv3/metric_client.go#L63.  It is different per-api-call.  CreateTimeSeries does not retry.


Zbranch

Hi, added simple logging with tensorboard logger. (no dependencies on tensorflow)
If you want to keep it simple and minimal it's ok to reject :)
training time here is around 10 hours.

did you have update to v0.1.11 ? I noticed threads kept dropping until I upgraded to v0.1.11 which was released today.

No I'm on 0.1.10+3eab8a7, were threads dropping on this branch?

Threads were dropping with version 0.1.10+2fd4d08. Threads no longer drop with version 0.1.11+8aa1cef

Looks good to me!
Could you please squash commits into one and use a message like "Add tensorboard logging" and I will accept a PL?

Thanks! Are you planning to change anything or I can merge the PL?

👍 For now not, If I notice something beneficial, we can have another discussion.

Hi, sorry for delays (was busy with the NIPS deadline). I will review asap.


Add cifs-utils package to bundles

We need this package to mount cifs/smb shared dirs from windows hosts
cifs-utils.x86_64                             6.8-3.el8                           @rhel-8-for-x86_64-baseos-rpms

package was already present in both rhcos and fcos!

who would have thought so...


s3.state returns empty dict however the installation has been failed

Description
s3.state returns empty dict, however, the installation has been failed

zrobot logs
Traceback (most recent call last):
  File "src/gevent/greenlet.py", line 716, in gevent._greenlet.Greenlet.run
  File "/opt/code/github/threefoldtech/0-templates/templates/s3/s3.py", line 255, in deploy_tlog_namespace
    namespace = self._deploy_minio_tlog_namespace()
  File "/opt/code/github/threefoldtech/0-templates/templates/s3/s3.py", line 520, in _deploy_minio_tlog_namespace
    raise RuntimeError("could not deploy tlog namespace for minio")
RuntimeError: could not deploy tlog namespace for minio
2018-11-26T13:05:36Z <Greenlet "Greenlet-5" at 0x7f90d8536548: deploy_tlog_namespace> failed with RuntimeError

Traceback (most recent call last):
  File "src/gevent/greenlet.py", line 716, in gevent._greenlet.Greenlet.run
  File "/opt/code/github/threefoldtech/0-templates/templates/s3/s3.py", line 260, in deploy_vm
    self._deploy_minio_vm()
  File "/opt/code/github/threefoldtech/0-templates/templates/s3/s3.py", line 572, in _deploy_minio_vm
    raise RuntimeError("could not deploy vm for minio")
RuntimeError: could not deploy vm for minio
2018-11-26T13:05:36Z <Greenlet "Greenlet-6" at 0x7f90d8536648: deploy_vm> failed with RuntimeError

[Mon26 13:05] - s3.py             :593 :s3_demo_4-12c45b12-2bf8-4421-8c09-3f1e45155f01 (s3) - INFO     - number of possible nodes to use for namespace deployments 0
Traceback (most recent call last):
  File "src/gevent/greenlet.py", line 716, in gevent._greenlet.Greenlet.run
  File "/opt/code/github/threefoldtech/0-templates/templates/s3/s3.py", line 249, in deploy_data_namespaces
    namespaces = self._deploy_minio_backend_namespaces()
  File "/opt/code/github/threefoldtech/0-templates/templates/s3/s3.py", line 470, in _deploy_minio_backend_namespaces
    raise RuntimeError("could not deploy enough namespaces for minio data backend")
RuntimeError: could not deploy enough namespaces for minio data backend
2018-11-26T13:05:36Z <Greenlet "Greenlet-7" at 0x7f90d8536448: deploy_data_namespaces> failed with RuntimeError

[Mon26 13:05] - base.py           :214 :s3_demo_4-12c45b12-2bf8-4421-8c09-3f1e45155f01 (s3) - ERROR    - error executing action install:
Traceback (most recent call last):
  File "/opt/code/github/threefoldtech/0-robot/zerorobot/task/task.py", line 78, in execute
    self._result = self._func()
  File "/opt/code/github/threefoldtech/0-templates/templates/s3/s3.py", line 278, in install
    raise ns_data_gl.exception
  File "src/gevent/greenlet.py", line 716, in gevent._greenlet.Greenlet.run
  File "/opt/code/github/threefoldtech/0-templates/templates/s3/s3.py", line 249, in deploy_data_namespaces
    namespaces = self._deploy_minio_backend_namespaces()
  File "/opt/code/github/threefoldtech/0-templates/templates/s3/s3.py", line 470, in _deploy_minio_backend_namespaces
    raise RuntimeError("could not deploy enough namespaces for minio data backend")
RuntimeError: could not deploy enough namespaces for minio data backend

what behavior do you expect. An empty state is correct here.

@zaibon I expected {'install: {'status' : 'error'}}

We dont set a status for the error. If the install action state is not set, then that means the service isn't installed. This will be the state {'actions: {'install' : 'ok'}} if it was installed successfully. And you can just check if this state exists to know whether the service got installed or not.

@0xIslamTaha but I think you make a point, we could probably improve this behavior and automatically set this kind of state when actions fails. But this will be for future version of 0-robot


add missing backtick to transform.env

CI is actually failing here for real reasons. make assets needs to be rerun so that the pipeline spec changes propagate to pachctl.

This seems to be fixed already. closing


Standard metadata

For each lesson, can we agree on a couple standard yaml fields? I'm thinking about

maintainers
keywords
time (i.e. how long it takes to go through)

This will give a richer landing page

YAML fields have been updated with containers and keywords.  Maintainers and time not added.

@datadavev Can this be closed?


feat: external_root profile setting as dir to write external tables when no location is specified

Per a discussion on #19, I'm adding an external_root to the top-level duckdb profile object (specified via the Credentials class) which defaults to . (the current working directory) but can be overridden to make it easy to specify a directory or S3 bucket where the parquet/csv files for any external materialization should be written to in the form of {{ external_root }}/{{ identifier }}.{{ format }} per the external_location macro.

okay finally have my black settings right - love this commit message 😄


The deepspeed full finetunning get stuck.

I ran this command
 CUDA_VISIBLE_DEVICES=2,3,4,5,6,7,8,9 ACCELERATE_LOG_LEVEL=info accelerate launch --config_file recipes/accelerate_configs/deepspeed_zero3.yaml --main_process_port 0 scripts/run_sft.py recipes/zephyr-7b-beta/sft/config_full.yaml
INFO:root:Using nproc_per_node=8.
WARNING:torch.distributed.run:
*****************************************
Setting OMP_NUM_THREADS environment variable for each process to be 1 in default, to avoid your system being overloaded, please further tune the variable for optimal performance in your application as needed.
*****************************************
INFO:torch.distributed.elastic.rendezvous.static_tcp_rendezvous:Creating TCPStore as the c10d::Store implementation
[2023-11-14 08:13:14,714] [INFO] [real_accelerator.py:158:get_accelerator] Setting ds_accelerator to cuda (auto detect)
[2023-11-14 08:13:14,899] [INFO] [real_accelerator.py:158:get_accelerator] Setting ds_accelerator to cuda (auto detect)
[2023-11-14 08:13:14,914] [INFO] [real_accelerator.py:158:get_accelerator] Setting ds_accelerator to cuda (auto detect)
......
/git/trl/trl/trainer/ppo_config.py:141: UserWarning: The `optimize_cuda_cache` arguement will be deprecated soon, please use `optimize_device_cache` instead.
  warnings.warn(
[2023-11-14 08:13:19,132] [INFO] [comm.py:637:init_distributed] cdb=None
/git/trl/trl/trainer/ppo_config.py:141: UserWarning: The `optimize_cuda_cache` arguement will be deprecated soon, please use `optimize_device_cache` instead.
  warnings.warn(
[2023-11-14 08:13:19,235] [INFO] [comm.py:637:init_distributed] cdb=None

The program is stuck after outputting the above log info. I do not know what's wrong since there is no error message. Can you help me with that?

I found the problem. --main_process_port 0 causes communication error. Thanks


[Feature request]: linux aarch64 release

Please add linux aarch64 release.

As with FreeBSD (#1265), Github Actions does not offer hosted aarch64 machines, so we'd have to provide our own or cross-compile.

Looks like this was already on file as #514, and there's more discussion there (and more recently, also a third-party repo hosting ARM builds of clangd)


Turning Wifi On/Off

Hi! Sorry Can i turn wifi on/off via this intergration?

https://github.com/Veeenz/MiWifi4-Router-Api
with this library it seems thats possible

I will add in version 2.0. it will be released at the beginning of the year.

Fixed in release: https://github.com/dmamontov/hass-miwifi/releases/tag/v2.0.0b


Virtual thread support (?)

Is splunk-otel-java agent safe to use with virtual threads?

Is splunk-otel-java agent safe to use with virtual threads?

Yes, there are no bug reports for either the splunk otel java agent or the upstream otel java agent that would indicate otherwise.


window is not defined

How can I use the editor with nuxt if my project is with ssr?
nuxt.config.js

      ssr: true

      plugins: [
        {
          src: '~ / plugins / vue-editor.js',
          ssr: false,
        }
      ],

plugins
            - vue-editor.js

    import Vue from 'vue'
                      import Editor from 'vue-editor-js/src/index'
                      Vue.use(Editor)

components
                    - editor.vue
                           <client-only>
                            <editor ref = "editor": config = "config" />
                          </client-only>

An error is displayed 'window is not defined'

I am having same error, it started when i added the Header plugin, Have you fixed your's


command "appollo" doesnt recognized on windows 10

I have installed appollo with "pip install appollo" in cmder (first time i use this) but when i call appollo with the command "apollo help" or something else argument, i cant... my windows can't call appollo.
I try too in cmd but same issue
Im beginner in code so sorry if my problem be stupid certainly.
sorry too for my english, im french ^^'

Hi, it looks like the directory where pip packages are installed isn't in your PATH. To add it, search env in windows then choose "Edit the system environment variables", then in system variables find and edit Path and add the path to the directory where pip packages are installed (it should be in a scripts directory where python is installed)

Thank you for your answer ! the package was in this path:
C:\Users\admin\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\Scripts\
thank again.


Missing validation for condition-false reference() statements

The following Bicep file compiles just fine (with warnings, because of the property I made up), but fails ARM validation as the reference(...) function is evaluated regardless of the condition on the resource:
var condition = false

resource test 'Microsoft.Storage/storageAccounts@2021-04-01' = if (condition) {
  name: 'uniquename12982'
  kind: 'StorageV2'
  sku: {
    name: 'Standard_LRS'
  }
  location: 'West US'
}

resource test2 'Microsoft.Storage/storageAccounts@2021-04-01' = if (condition) {
  name: 'uniquename11298'
  kind: 'StorageV2'
  sku: {
    name: 'Standard_LRS'
  }
  location: 'West US'
  properties: {
    someProp: test.properties.someProp
  }
}

To fix it, change:
    someProp: test.properties.someProp

To:
    someProp: condition ? test.properties.someProp : null

This isn't made at all clear however. The template validation fails with:
{
  "code": "InvalidTemplate",
  "message": "Deployment template validation failed: 'The template resource 'Microsoft.Storage/storageAccounts/uniquename11298' reference to 'Microsoft.Storage/storageAccounts/uniquename12982' requires an API version. Please see https://aka.ms/arm-template for usage details.'."
}

When using module this issue becomes even more confusing for the users. This template will fail with no indication for the user on what is actually wrong.
targetScope = 'subscription'

param deploy bool = false
param location string = 'eastus'

resource rg 'Microsoft.Resources/resourceGroups@2021-04-01' = if (deploy) {
  name: 'rg2'
  location: location
}

module nsg './nsg.bicep' = if (deploy) {
  name: 'nsg-deploy'
  params: {
    name: 'nsg2'
    location: location
  }
  scope: rg
}

module vnet_northeurope './vnet.bicep' = if (deploy) {
  name: 'vnet-deploy'
  params: {
    vnetName: 'vnet2'
    location: location
    nsgId: nsg.outputs.resourceId
  }
  scope: rg
}

Deployment error:
"error": {
        "code": "ResourceGroupNotFound",
        "message": "Resource group 'rg2' could not be found."
    }

And since it's a nested deployment it will look like there is an error with the NSG deployment:

Feels like this should potentially be a top-10-bug. We'll discuss in the next triage.

Seems to be related to #2371
In any case, I can confirm this is still an issue and it would be awesome if it would eventually be fixed.
My current case: MSI deployment + Role Assignment. As per Alex's suggestion, I duplicated the condition now in the msi_rbac block.
@description('Optional. A parameter to control which deployments should be executed')
@allowed([
  'All'
  'Only infrastructure'
  'Only Storage & Image'
  'Only image'
])
param deploymentsToPerform string = 'Only Storage & Image'

// User Assigned Identity (MSI)
module msi 'br/modules:microsoft.managedidentity.userassignedidentities:0.4.735' =  if(deploymentsToPerform == 'All' || deploymentsToPerform == 'Only infrastructure') {
  name: '${deployment().name}-msi'
  scope: resourceGroup(rgParam.name)
  params: {
    name: msiParam.name
  }
  dependsOn: [
    rg
  ]
}

// MSI Subscription contributor assignment
module msi_rbac '../CARML/Microsoft.Authorization/roleAssignments/subscriptions/deploy.bicep' =  if(deploymentsToPerform == 'All' || deploymentsToPerform == 'Only infrastructure') {
  name: '${deployment().name}-ra'
  params: {
     roleDefinitionIdOrName: msiRoleAssignmentParam.roleDefinitionIdOrName

    // Ideal solution
    principalId: msi.outputs.principalId
    // Results in: Deployment template validation failed: 'The template resource 'Microsoft.Resources/deployments/imageInfra.deploy-ra' reference to 'Microsoft.Resources/deployments/imageInfra.deploy-msi' requires an API version. Please see https://aka.ms/arm-template for usage details.'.
    // Compiles to: reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', subscription().subscriptionId, parameters('rgParam').name), 'Microsoft.Resources/deployments', format('{0}-msi', deployment().name))).outputs.principalId.value

    // Workaround via ARM reference
    principalId: reference(extensionResourceId(format('/subscriptions/{0}/resourceGroups/{1}', subscription().subscriptionId, rgParam.name), 'Microsoft.Resources/deployments', format('{0}-msi', deployment().name)),'2021-04-01').outputs.principalId.value

    // Workaround vial Alex's suggestion
    principalId: (deploymentsToPerform == 'All' || deploymentsToPerform == 'Only infrastructure') ? msi.outputs.principalId : ''
  }
}

Still an issue

Still an issue - encountered this today in the following case (simplified for brevity):
param enableLoadBalancer bool = false
// ...
module loadBalancer './modules/load-balancer.bicep' = if (enableLoadBalancer) {
  name: 'deploy-lb'
  params: {
    // ...
  }
}
module loadBalancerDnsRecord './modules/dns-record.bicep' = if (enableLoadBalancer) {
  name: 'deploy-dns'
  params: {
    // ...
    dnsRecordIpAddress: loadBalancer.outputs.frontendPrivateIPAddress // fails with "Deployment 'deploy-lb' could not be found."
  }
}

Needed to explicitly make loadBalancer.outputs.frontendPrivateIPAddress access conditional inside second module parameters:
module loadBalancerDnsRecord './modules/dns-record.bicep' = if (enableLoadBalancer) {
  name: 'deploy-dns'
  params: {
    // ...
    dnsRecordIpAddress: enableLoadBalancer ? loadBalancer.outputs.frontendPrivateIPAddress : '' // works
  }
}

Feels redundant and not intuitive, as the module using it was already conditional with the same condition.

Still an issue.

To anyone still facing the issue, you can workaround this by opting into the symbolicNameCodegen experimental feature. With this new ARM Template schema, the issue has been resolved.
We are going to discuss a plan for migrating all bicep-generated templates to this new format, at which point we will call this issue resolved.


This project is so full of bugs that it might be better to simply start from scratch.

That's right.
I've been debugging this pile of scrap since three days, trying to simply store orderbook snapshots from the partial depth stream for the futures.
I'm going to tell you my story. All of it. Every last painful detail I can remember.
Day One, after finishing work. I checkout the ReadTheDocs page of this repo.
After seeing the documentation and what this repo seems to offer, I'm in good spirits, thinking that I just have to put in a few hours to record the orderbook.
I create a new project, download python-binance via pip and start experimenting.
I copy the example code for the ThreadedDepthCacheManager on the Docs page.
It instantly breaks. Weird. But ok, maybe they have changed something in a recent version...
I try to fix it.
I run the fixed version in the console.
It works, great!
Now I start building my storage classes which receive depth and aggregated trade messages and store those in pandas dataframes which are written to the disk once per hour.
I start the script. It breaks, same error. Wonderful
I decide to uninstall python-binance (and in hindsight, i should've stopped right here), and pull the source code so that I can develop my version of it (which was a mistake).
I start digging into the code, and soon I find the following:
For about every one out of three executions, the ThreadedDepthCacheManager fails during initialization because the client is None. Why? Because the thing is initialized in the run method of the thread but is then used outside of that thread, in the same class, to create a BinanceSocketManager instance like there is no way the client could ever be None. Well, there is. And it's simple: You create the ThreadedDepthCacheManager instance, start it's thread, but then, sometimes, it does not create the client fast enough in it's main loop to be available when I call .start_futures_depth_cache just one line after.
Terrific.
But what can you do... So I fix it.
Now the program at least works for the first 30 minutes without doing something weird.
But then BTC pushes 1000 points and buy orders are rushing in by the hundred per second. The queue size, which the author or one of his henchman, in a stroke of genius, decided to set to 100 per default, fills up and the socket manager sends error messages in a similar but unexpected format to the aggTrade messages which crashes the program (instead of doing the sensible thing: discarding the overflown messages and reporting that this occurred).
This wasn't meant to take so long. Had I known...
Well, there is no recourse now. So I fix it.
Now that I dig into the codebase more and more the inconsistent naming in conjunction with the 1000 line long code files in this project really makes me regret my decision to use random uncurated code from the internet.
There is:

start_futures_depth_socket
kline_futures_socket
aggtrade_futures_socket
futures_depth_socket
futures_order_book

If i want to check a method's code, I have to try two different naming conventions. And simply searching for e.g. futures or trade gives you 100s of matches so that's not an option. There really are worse things than that but you know a they say: constant dripping wears the stone.
Then you have these gems
    async def _start_socket(self):
        """Start the depth cache socket

        :return:
        """
        self._socket = self._get_socket()

    def _get_socket(self):
        raise NotImplementedError

Yes, please make it more complicated than it has to be.
Next day, next attempt. Everything seems to be working... until three hours later: not a single depth message arrives at my data storage anymore. I wonder why.
I have absolutely no clue and similar amounts of patience left. So I enable logging level DEBUG and write terrabytes of text per second to the disk. Looking at the boundless logfile, I decide to go for the simple brute force approach: as soon as no new messages arrive after a few seconds I start new streams, then kill the old ones (so no messages are missed) then continue as before.
Guess what. Just guess.
Right, you got it.
There is a f*cking bug.
You try to fix a bug (or rather circumvent it) and encounter a new, different bug. Bugs on bugs. Stacked bugs.
Now let me explain what happened:
Remember I kill the old threads after creating the new ones?
Well there is just a small issue with that because you cannot join any instance that contains the prefix "Threaded", because the method that should terminate the thread sets
for socket_name in self._socket_running.keys():
    self._socket_running[socket_name] = False

but in the thread's main loop, this is checked:
while self._socket_running:
    await asyncio.sleep(0.2)

Which is basically checking if the dictionary is empty.
So my program cannot join these threads (opposed to what the documentation tells you of course) after closing the connections and silently fails waiting for the thread to never finish.
And of course, the documentation tells you that after calling .stop(), all streams are closed and then .join() should work without problems.
At this point I wonder if there is anything in there that actually works.
Has anyone ever used this code? Or is this repo just some big market maker's PsyOps to keep new competitors out the market?
Right now, day 3 by the way, I'm still trying to get an entire consecutive day of orderbook data.
Progress is limited. Nerves are on edge.
Looking back, there was this bad omen right at the start that I chose to ignore: the broken code on the docs page.
Honestly, the depth cache documentation page is a truthful representation of this repository.
It looks nice. It seems like it has everything you want.
But then it breaks. And then it breaks again. And again, and again....
To be taken with a grain of salt

If you seek a depth cache try this and help improving it with giving feedback: https://github.com/LUCIT-Systems-and-Development/unicorn-binance-local-depth-cache

I second this. After about 4 days of bug fixing and finding many places only half implemented or not at all, I'm looking for different solutions, or just writing my own client.
Also, it seems like this library is not maintained anymore, and the latest version introduced a bug which makes the example code to not work. And yes, the None client bug it horrific and shows the quality of this library.
I'm all about contributing to this library and helping to fix it, but the fact that while trying to fix bugs on 1.0.16 (latest at time of writing), I find out that I can use only version 1.0.15 because 1.0.16 is broken, makes this so much harder.
I fixed many bugs on my fork, but even if I'll open  a pull request for version 1.0.15 (which isn't smart at all), they won't be merged because no one managed this library anymore.


Xbox not turning on

Hey!
I finally managed to set up everything and I can use homekit to turn off my Xbox or use other features but for some reason the console is not turning on with the plugin.
This is Xbox Series X, all settings set correctly...

Console need to be set ro Instant Power ON if You want to enable it from Home.a.p-
For other functions need to authorize the console  and enable remote control in console settings.

Still the issue?


bg_nerf does not work

Thanks for your great work.
I have a confusion about the setting of foreground and background. The default bg_nerf is off in the code, which seems inconsistent with the paper.
Therefore I set bg_nerf=true, but I found that it did not improve the results. Is there a critical step I have overlooked?
Looking forward to your reply.
Thanks again.

The ‘bg_nerf’ is discarded in our code. The background modeling is set to be used by default in this repo. Please refer to L75 & L164


Refactor: nearby models

Part of an ongoing code refactoring to move all models to a common models package.
Fixes #4782
Moved nearby models to data.models package.
Tested debug on Pixel 4 (Emulator) with API level 30.

Closing: 2 years old and looks abandoned.


Snakemake pipeline

Description
Major update from Maciek [2/2]: add the snakemake pipeline itself.
Type of change

[x] New feature (non-breaking change which adds functionality)
[ ] Documentation updated

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] I have not reduced the existing code coverage

Documentation related to Snakemake pipeline execution is missing from the main README.md

The CI linked to this PR contains builds 55 and 56, at the Travis CI they are marked as "passing", however here these are stuck and "Pending"... delay on the route Travis---GitHub?
Based on the successfull build @ Travis server I merge.


refactor(logs): Add debug logging

:tada: This PR is included in version 1.7.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Improve performance of logs#index action

See commit messages for details.

Add performance profiling gems (13d4708)
Eager-load Log associations (7371d90)
Serialize raw database timestamp rather than parsing into a Time object (7739bae)

Before
❯ for i in {1..10}; curl -s -w "%{time_total}\n" -o /dev/null 'http://localhost:3000/logs' -H 'Connection: keep-alive' [...]
1.075109
0.975608
0.992952
1.038270
1.264945
1.138761
1.052816
0.979328
1.027346
0.988575

Average: 1.053 seconds

After
❯ for i in {1..10}; curl -s -w "%{time_total}\n" -o /dev/null 'http://localhost:3000/logs' -H 'Connection: keep-alive' [...]
0.270371
0.215499
0.254694
0.214257
0.209582
0.317507
0.196585
0.234739
0.219696
0.204404

Average: 0.234 seconds
Note that the big band of time in LogEntrySerializer#created_at is no longer there.

Render time is 22% of what it was before
0.234 / 1.053 =~ 0.22
(according to development profiling)
(for a user with ~472 log entries being serialized (me))

Production after

Average:  seconds
Note that the performance improvement on production is somewhat washed out by the network round trip from where I am (San Diego, CA) to where my Heroku web servers are (Virginia, USA, I think).

Production after ... after
❯ for i in {1..5}; curl -s -w "%{time_total}\n" -o /dev/null 'https://www.davidrunger.com/logs' -H 'Connection: keep-alive' [...]
0.828126
0.811444
0.759502
0.742938
0.829825

Average: 0.794 seconds
I restarted dynos (by scaling down to 0 and back up to 1 via heroku ps:scale) and response times seemed to improve.
I'm thinking that with network variance and other issues maybe measuring on production just isn't gonna be reliable/meaningful.

Here we can see better NewRelic performance now, too:


[12.1.x] ISPN-13052 Hot Rod Java client doc updates

Backport for https://issues.redhat.com/browse/ISPN-13052

Thanks @oraNod


express.Router hitting 404 instead of route when separated in own files

Hi guys,
I'm reposting from SO because it might as well be a bug. I'm sorry in advance if it's just my lack of knowledge.
Original question:
https://stackoverflow.com/questions/64320944/express-router-hitting-404-instead-of-route-when-separated-in-own-files
I am having trouble understanding weird express.Router() behaviour. I decided to tidy up my routes to enable better API versioning. If I keep flatter structure like below, everything works as expected :
v1.js (api version / api index file)
module.exports = router;
router.post('/orders',    auth.isUser, OrderController.create);
router.get('/orders',     auth.isUser, OrderController.getAll);
router.get('/orders/:id', auth.isUser, OrderController.get);
router.put('/orders/:id', auth.isEmployee, OrderController.update);

app.js
app.use('/v1', v1);

// catch 404 and forward to error handler
app.use(function (req, res, next) {
  const err = new Error('Not Found');
  err.status = 404;
  next(err);
});

but if I move these routes to a separate file, export Router and import it as below:
ordersRoutes.js
const express = require('express');
const router = express.Router();
const auth = require('../middleware/auth');
const OrderController = require('../controllers/OrderController');

module.exports = router;

// routes for endpoint
// hostname/v1/orders/*
router.post(    '/orders',        auth.isUser, OrderController.create);
router.get(     '/orders',        auth.isUser, OrderController.getAll);
router.get(     '/orders/:id',    auth.isUser, OrderController.get);
router.put(     '/orders/:id',    auth.isEmployee, OrderController.update);

v1.js
const router              = express.Router();
const ordersRoutes = require('./ordersRoutes');

module.exports = router;

router.use( '/orders',     ordersRoutes         );

I hit 404 on every order route, which is weird because the same approach with other file works just fine (I compared them many times... :( ). My assumption is that it has to do with too many instances of Router or maybe ordering of routes, but I cant put my finger on it. Any ideas are much appreciated. Thanks in advance!

The reason your second routes do not work is because you have orders in the URL twice. Your second v1.js file should be the following:
const router              = express.Router();
const ordersRoutes = require('./ordersRoutes');

module.exports = router;

router.use(     ordersRoutes         )

The reason your second routes do not work is because you have orders in the URL twice. Your second v1.js file should be the following:
const router              = express.Router();
const ordersRoutes = require('./ordersRoutes');

module.exports = router;

router.use(     ordersRoutes         )

Oh man thanks a lot!


Collections missing type field in Radiant Earth MLHub

Radiant Earth MLHub is stac-fastapi, and returns a Collection without a type for collects, e.g.
https://api.radiant.earth/mlhub/v1/collections/umd_mali_crop_type_labels

I see a type field at https://api.radiant.earth/mlhub/v1/collections/umd_mali_crop_type_labels, is this issue still valid?

probably can close this -- it was either an issue with their Collection objects which was fixed or they updated stac-fastapi versions


don't output 'undefined' - this will give NaN in the xml

backport of https://github.com/arangodb/arangodb/pull/20075

[x] https://jenkins.arangodb.biz/job/arangodb-matrix-pr/32020/display/redirect


ERROR: LoadError: InitError: CUDA error (code 999, CUDA_ERROR_UNKNOWN) is bogging down CI

The frequency of the ERROR: LoadError: InitError: CUDA error (code 999, CUDA_ERROR_UNKNOWN) error is very high. Here is one example: https://buildkite.com/clima/climaatmos-ci/builds/13337#018ad8bc-5271-4a19-8cbc-19708a1c276d/142-145.
This is blocking https://github.com/CliMA/ClimaAtmos.jl/issues/2015 (and many more PRs, I'm sure).

Maybe relevant: https://discourse.julialang.org/t/need-help-with-cuda-jl-installation/52786/2

I confirm that it affects more PRs


When will the data processing code be released？

When will the data processing code be released？

Hi, do you mean the data processing code for nuplan?

In this pape https://github.com/OpenDriveLab/ViDAR/blob/main/docs/CHALLENGE.md, the Prepare Dataset is 404. I would like to know how to process the data used for ViDAR training.

Oh, sorry for the mistakes.
If you wish to reproduce ViDAR on nuScenes dataset, please refer to this page for preparing nuScenes dataset and pre-processing the corresponding data.
If you wish to try ViDAR on nuPlan for the CVPR2024 challenge, please refer to this page for downloading the nuPlan data and our pre-processed metadata files. The corresponding configurations of ViDAR for the nuPlan challenge will be available within a week.
Thanks,
Zetong

I will close it for now. Feel free to open it in case of future questions!


Unflagging desired Resume and editing reason for flagging.

Describe the task
Go to HR->Recruitment->go to the name column on the table that is displayed->click on the view button->Applicant Details->Click on Resume->click the flag button on the top right corner of the resume->Add the edit and delete button on the table that is shown.
Expected behavior
Add two buttons
Edit button : should allow the user to edit the reason for desiring the resume.
Delete button : should unflag the resume to undesired.

There is no button that redirects me to the table that contains all the desired resumes.
When I click on the resume I just get a tides link.
Please resolve this issue. So that I can start with my task.

@11karangm This resume file is coming from ColoredCow website, so you can update the URL of resume in database to https://coloredcow.com/wp-content/uploads/2022/08/sample.pdf. This would open up the file.

Ok sir, What about the button or link that is supposed to take me to the page which displays all resumes in table format?

Ok sir, What about the button or link that is supposed to take me to the page which displays all resumes in table format?

That link will appear once a resume is flagged for the applications corresponding to a job role

Sir when I changed the resume file to 'Sample.pdf' the flag button dissapeared.

How about npm run dev ? or. taking a latest pull from main branch

Sir I successfully flaged, where shall I click to go to the page containing all flaged applications?
I tried clicking on 'resume', 'Application Evaluation', 'Reason for eligibilty' and 'pencil icon'.


'small-change-in-gpt-for-testing'

Rename your PR to something like [DO NOT MERGE] CI TESTING to tell the ColossalAI team that this PR is not for review.

Why not test CI in your own repo? I saw you keep a branch in the official repo, which is not good.