Crash when Better Combat and Data Attributes: Director's Cut (2.0.0+1.21-alpha.1-fabric) Are Installed

Hello BareMinimumStudios,
I isolated a cause of a crash when Better Combat and Data Attributes: Director's Cut are both installed in a custom mod pack when attempting to do a dual-wield attack. Let me know if you have any questions about the issue.
crash-2024-10-03_20.42.00-client.txt
Steps to reproduce:

Install Better Combat and Data Attributes: Director's Cut in a 1.21.1 Fabric mod pack.
Run Minecraft and create a new world.
Equip any weapon in main and off-hand slots.
Left click to start an attack.
Crash with a "java.lang.ClassCastException".

Thank you! we'll look into this soon.

It is advised for now to use 1.20.1 for Data Attributes, but on the release of 2.0.0, I'll work on the development of the 1.21 version.
I will keep this up anyway and close it when I update the 1.21 branch and resolve the issue.


Issue with IE11 Display of CSV Number on Back of Card

The component is not behaving properly when the card flips over to show the back for the user to input their CSV.

Yes, it is a known limitation on IE 11. Please check #4


SPI library review and utilities library

Add new functionality to the SPI library
Create a new utilities library for general microcontroller functionality
Refactor some functionality from the SPI library to the utilities library

This still needs to be tested.


If swiftc path if provided, uses swift-build next to swiftc

when provide --swift-exec, then --swift-build-exec is infered.

Closing since the --swift-exec and --swift-build-exec have been replaced by the --toolchain option which essentially sums up this PR.


Initialized multivalued variables fail to generate variables and initialization

emails and incoming number are not initialized as variables in the following, however the get and other methods appear, and the attributes appear in diagrams
class Office {
   Integer number;
   String[] emails =<EMAIL_ADDRESS><EMAIL_ADDRESS>   Integer [] incomingNumber = {765432, 987654}
}

Regular multivalued attributes (without initialization) seem OK.

But if a semicolon is added to the end it works. It should either generate and error in all cases or work without the semicolon in all cases.


chore: add github actions

Codecov Report

Merging #8 (61d83c3) into main (3901679) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              main        #8   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            1         1
  Lines           23        23
=========================================
  Hits            23        23

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 3901679...61d83c3. Read the comment docs.


Initial pass at persisting events

TODO

[x] Persist events for Mysteries
[ ] Persist events for World Explore
[ ] Implement reset button for Mystery events
[ ] Implement reset button for World Explore events
[ ] Error handling
[ ] Support un-authenticated participation / do not persist events for non-authed users

Need to "defer" the first call to events and throw up the loading state.
When the first events are not generated it can double generate them and prevents navigation for like 5 seconds

This has reached feature parity with the non-persisted events experience. Should probably add deletion though so that users can start over in their mystery.
Also think I am going to drop persistence from world exploration. At best I may add localStorage support.

Figure out why saving from an un-authenticated session generates like 5 sessions for the new user


Remove third party CDN libraries and dependencies

There is growing concern about web surveillance, both by governments and the private sector. It is noted that including libraries from third parties, such as Google or Facebook, allows them to track people.
Please consider removing third party tracking software from Sovereign. Rather, include any necessary fonts, media, etc, in the project source. This way, Sovereign is truly sovereign.
Examples
In head.html are the following snippets:
<!-- Google -->
<script src="https://ajax.googleapis.com/ajax/libs/webfont/1.4.7/webfont.js"></script>

When clients load content from googleapis.com, Google is able to track them across the web.
There is also a link to Amazon CDN in the head.html:
<meta property="og:image" content="https://s3-us-west-2.amazonaws.com/democracyearth/landing/earthflag.jpg">

Additionally, when starting a fresh instance of Soverign, there are server console warnings about several third party services:

Amazon Web Services
Mailgun
Facebook
Twitter
Google Analytics

Corporate nation-states
In effect, when we rely so heavily on centrally controlled, third-party services, we are simply reflecting the global corporate hegemony we are trying so hard to disrupt.

References

How Online Tracking Companies Know Most of What You Do Online
The Future of Democracy | Santiago Siri

Couldn't agree more with this. Great observation, will do.

brilliant. i'm happy to see the matter discussed this early. thanks, man.

Also, when starting a fresh instance of Soverign, there are warnings about several third party services:
Verifying key configuration for this instance...
 MISSING SETTING: Amazon Web Services for resource storage keys not configured.
 FIX: Configure `AWSAccessKeyId`, `AWSSecretAccessKey` and `public.AWSHostingURL` on settings.json.
 MISSING SETTING: Mailgun SMTP server keys not configured.
 FIX: Configure `smtpServer` on settings.json.
 MISSING SETTING: Facebook API keys not configured.
 FIX: Configure `private.API.facebook.appId` and `private.API.facebook.appSecret` on settings.json.
 MISSING SETTING: Twitter API keys not configured.
 FIX: Configure `private.API.twitter.APIKey` and `private.API.twitter.APISecret` on settings.json.
 MISSING SETTING: Google Analytics tracking ID not configured.
 FIX: Configure `public.analyticsSettings["Google Analytics"].trackingId` on settings.json.
 MISSING SETTING: Kadira keys for performance app testing not configured.
 FIX: Configure `kadira.appId` and `kadira.appSecret` on settings.json.

While these services are useful, it would probably be beneficial to decouple Sovereign.

I opened issue #91 describing the development environment issue above.

It was verified in another issue that Sovereign will not properly work without third party tracking software.

Excellent work.


Revert setting ALPNDownstreamWithMxc on TCP gateways in ISTIO_MUTUAL mode

This is cherry-pick of b4c427158e47d6c3cfe026b8b96a5209d60e589c from
upstream Istio. This commit must be reverted for now, because it was not
included in Istio 1.14 and it breaks traffic in some cases, e.g. in
federation deployment.
Original pull request: https://github.com/istio/istio/pull/38990
Signed-off-by: Jacek Ewertowski<EMAIL_ADDRESS>

/retest

/test integration-maistra-telemetry-mc

/retest

/test integration-maistra-telemetry-mc

/test integration-maistra-telemetry-mc

/test integration-maistra-telemetry-mc

/test integration-maistra-telemetry-mc

/test integration-maistra-telemetry-mc

/test integration-maistra-telemetry-mc

/test integration-maistra-telemetry-mc

/test integration-maistra-telemetry-mc

/test integration-maistra-telemetry-mc

/test integration-maistra-telemetry-mc

@luksa could you please take a look at this? It's clear there's something wrong with the test or the environment. It's not just a flaky, since it's failing consecutively a lot.

@jwendell I'm also looking at this problem, but it would be nice if Marko checked that out as well. I just would like to note that this test works locally, passed in this PR and always fail at a different stage.

Perhaps the change in common/scripts/kind_provisioner.sh is not necessary anymore?
https://github.com/maistra/istio/pull/530/files

/test integration-maistra-telemetry-mc


MNT: Change mongo host

@dchabot moved MDS to a more suitable (and, notably, backed up) machine. I'm not sure if he also moved FS, but we will. Both configurations are changed here.

Lgtm

Oh, wait, can you bump the build number in meta.yaml

@ericdill I bumped the version number (seems better than bumping build so we can "roll back" to old MDS if we have to) and pushed to master.


COUNT query results not within 95% error bounds

Repeated querying of COUNT query is returning much less than 95% (~91%) of noisy results within the error bounds. Suspect this has something to do with COUNT query results are integer and error bounds are float.
Jupyter Notebook
Code
import pandas as pd
import DPVerification as dp
import Aggregation as agg
dv = dp.DPVerification(dataset_size=10000)
ag = agg.Aggregation(t=1, repeat_count=10000)
d1_query = "SELECT COUNT(UserId) AS TotalUserCount FROM d1.d1"
d2_query = "SELECT COUNT(UserId) AS TotalUserCount FROM d2.d2"
dp_res, acc_res = dv.dp_query_test(d1_query, d2_query, plot=True, repeat_count=10000)
Results
Bounds: [ 9997.004267726446 ,  10002.995732273554 ]
Count of times noisy result within bounds: 9110 / 10000
Count of times noisy result outside bounds: 890 / 10000

Fixed in #386


Removed ByteSpan completly

I also built new packages and uploaded them to myget

LGTM :+1:

Looks good.

before we get any merge conflicts I'm merging this


i like it!

Hello!
Big thanks for this program, like it very much.
I had small issue with my setup - I had to remove MANROFFOPT="-c" from my env (used it for colored man pages). With it, qman was broken. So if anyone comes asking with same mystery issue "qman ugly/broken"...
I switched to GROFF_NO_SGR=1 in my env, so my old man still paints colors (if i ever need it), and I see you are setting it up too, inside program.
Also, during install on archlinux from AUR, I was a bit shocked when it told me it needs to install all of haskell :) I understand it is pandoc for your markdown manual, but reading through dependencies I expected few packages as usual and got immediately suspicious of some shady stuff going on... You might put some warning in README.
Anyway, thanks!
Packages installed:
[PACMAN] Running 'pacman --database --asdeps -- ninja python-tqdm meson numactl ghc-libs haskell-lua haskell-hslua-core haskell-hslua-marshalling haskell-isocline haskell-hslua-repl hslua-cli haskell-dlist haskell-transformers-compat haskell-glob haskell-primitive haskell-vector-stream haskell-vector haskell-zlib haskell-juicypixels haskell-sha haskell-base-orphans haskell-onetuple haskell-erf haskell-splitmix haskell-random haskell-quickcheck haskell-data-array-byte haskell-ghc-bignum-orphans haskell-os-string haskell-hashable haskell-integer-logarithms haskell-scientific haskell-attoparsec haskell-base-compat haskell-base-compat-batteries haskell-data-fix haskell-generically haskell-tagged haskell-foldable1-classes-compat haskell-indexed-traversable haskell-unordered-containers haskell-indexed-traversable-instances haskell-distributive haskell-comonad haskell-th-abstraction haskell-bifunctors haskell-statevar haskell-contravariant haskell-semigroupoids haskell-assoc haskell-these haskell-semialign haskell-strict haskell-text-short haskell-time-compat haskell-uuid-types haskell-witherable haskell-aeson haskell-attoparsec-aeson haskell-cmdargs haskell-aeson-pretty haskell-base64-bytestring haskell-blaze-builder haskell-blaze-markup haskell-blaze-html haskell-case-insensitive haskell-data-default-class haskell-data-default-instances-containers haskell-data-default-instances-dlist haskell-old-locale haskell-data-default-instances-old-locale haskell-data-default haskell-file-embed haskell-syb haskell-pandoc-types haskell-safe haskell-text-icu haskell-th-lift haskell-th-lift-instances haskell-unicode-collation haskell-uniplate haskell-split haskell-bitvec haskell-vector-algorithms haskell-mono-traversable haskell-unliftio-core haskell-resourcet haskell-conduit haskell-async haskell-network haskell-streaming-commons haskell-typed-process haskell-conduit-extra haskell-xml-types haskell-xml-conduit haskell-citeproc haskell-unicode-data haskell-unicode-transforms haskell-commonmark haskell-emojis haskell-th-compat haskell-network-uri haskell-commonmark-extensions haskell-commonmark-pandoc haskell-basement haskell-hourglass haskell-memory haskell-asn1-types haskell-asn1-encoding haskell-asn1-parse haskell-crypton haskell-pem haskell-crypton-x509 haskell-crypton-x509-store haskell-crypton-x509-system haskell-crypton-x509-validation haskell-cereal haskell-socks haskell-old-time haskell-unix-time haskell-tls haskell-crypton-connection haskell-doclayout haskell-base16-bytestring haskell-text-conversions haskell-doctemplates haskell-gridtables haskell-haddock-library haskell-cookie haskell-http-types haskell-appar haskell-byteorder haskell-iproute haskell-mime-types haskell-http-client haskell-http-client-tls haskell-ipynb haskell-jira-wiki-markup haskell-lexer haskell-pretty-show haskell-colour haskell-utf8-string haskell-skylighting-core haskell-ansi-terminal-types haskell-ansi-terminal haskell-skylighting-format-ansi haskell-skylighting-format-blaze-html haskell-skylighting-format-context haskell-skylighting-format-latex haskell-skylighting haskell-tagsoup haskell-temporary haskell-typst-symbols haskell-xml haskell-texmath haskell-only haskell-cassava haskell-digits haskell-ordered-containers haskell-regex-base haskell-regex-tdfa haskell-prettyprinter haskell-toml-parser haskell-libyaml haskell-ansi-wl-pprint haskell-optparse-applicative haskell-yaml haskell-typst haskell-digest haskell-zip-archive haskell-pandoc haskell-hslua-aeson haskell-hslua-classes haskell-hslua-typing haskell-hslua-objectorientation haskell-hslua-packaging haskell-hslua haskell-hslua-module-doclayout haskell-hslua-module-path haskell-hslua-module-system haskell-hslua-module-text haskell-hslua-module-version haskell-hslua-list haskell-hslua-module-zip lua-lpeg haskell-lpeg haskell-pandoc-lua-marshal haskell-pandoc-lua-engine haskell-type-equality haskell-constraints haskell-attoparsec-iso8601 haskell-http-api-data haskell-http-media haskell-transformers-base haskell-monad-control haskell-mmorph haskell-sop-core haskell-boring haskell-dec haskell-some haskell-singleton-bool haskell-vault haskell-servant haskell-wai haskell-http-date haskell-unix-compat haskell-auto-update haskell-easy-file haskell-fast-logger haskell-wai-logger haskell-bsb-http-chunked haskell-network-byte-order haskell-psqueues haskell-safe-exceptions haskell-unliftio haskell-time-manager haskell-http2 haskell-recv haskell-simple-sendfile haskell-word8 haskell-warp haskell-call-stack haskell-hunit haskell-wai-extra haskell-wai-app-static haskell-servant-server haskell-base-unicode-symbols haskell-wai-cors haskell-pandoc-server pandoc-cli python-cogapp'

Hello, and thank you for your kind words.
I added a setenv() to reset MANROFFOPT to an empty string before calling /bin/man. Hopefully, this fixes the MANROFFOPT="-c" problem.
I also added a warning about pandoc's dependencies to README.md. (Though, ideally, in future perhaps we should provide a pre-built manual page to avoid installing all that Haskell nonsense entirely.)
Thanks again!


Main chrome window missing from ⌘+Tab on OSX

I don't know if this only happened to me, but I sometimes can't use ⌘+Tab to get the main window of chrome. The only window that appear are Picture in Picture. I can, however, get back to the main window by using the mission control (four finger swipe up). I also use this Contexts app so maybe that's the cause. Just wondering if anyone else also has this problem.

I think the issue is with the contexts app since this also occurs with a chrome app (Google Keep). Closing this.


How do I use locally

Can I just have like a step by step on how to use the proxy, I can set it up but how can I use like discord with login credentials

Here is the official docs https://github.com/FogNetwork/Tsunami#locally


multiline support

I was having the same problem as issue 5 so I fixed it. Unfortunately this adds dependency to jq - is that okay?
$ ./translate.sh fr es "Bonjour. Qu'est-ce que c'est ?"
Buenos dias.  Qué es ?

Sorry, this script should not have third-party dependencies. The JSON response from Google servers should be handled exclusively by methods built into bash. And I already added support for multi-line text translation without using jq. Check Release v1.2.


Serial error with UNO

Dear,
I try to use your library with an arduino UNO but when i want to compile the example code i have some errors.
HardwareSerial0.cpp.o (symbol from plugin): In function Serial':
(.text+0x0): multiple definition of __vector_18' /var/folders/j2/rq93bv2x6lbg14z3qkwqfv580000gn/T/arduino_build_836542/libraries/DMXSerial-master/DMXSerial.cpp.o (symbol from plugin):(.text+0x0): first defined here HardwareSerial0.cpp.o (symbol from plugin): In function Serial':
(.text+0x0): multiple definition of __vector_19' /var/folders/j2/rq93bv2x6lbg14z3qkwqfv580000gn/T/arduino_build_836542/libraries/DMXSerial-master/DMXSerial.cpp.o (symbol from plugin):(.text+0x0): first defined here collect2: error: ld returned 1 exit status
Please, could you help me?

As there is only one serial interface on UNO boards it is not possible to use it for 2 purposes.
There are options. See #7


every instrument is a piano

Description
gunpet, synth, etc are all piano
happened on lizard and mining station so fairly old
nothing sus in logs
Reproduction

get gunpet in maint
play it
grand piano and not gun

Can confirm this is true.

Fixed at some point.


Specify share version in wire PFB

Summary
A user has no way of specifying the share version they intend on using for the shares that get derived from their WireMsgPayForData. If a user and block producer disagree on the version format used to construct the shares, message inclusion proofs will not work.
Currently, a block producer decides this value for a user by setting (e.g. shareVersion=0) in the current implementation.
Problem Definition
Motivated by discussion in https://github.com/celestiaorg/celestia-app/issues/830
Proposal
Update WireMsgPayForData to include a share version field
https://github.com/celestiaorg/celestia-app/blob/29e0a2751182499f7dc03598eabfc8d049ae62cb/proto/payment/tx.proto#L17-L26
The commitment that a user generates and includes in their wire PFD must be over the shares encoded with this version so that they can rely on message inclusion proofs.

This is breaking and needs to be done before incentivized testnet.

While hacking on this, I learned that a celestia-core change may be necessary. In particular, we may need to propagate the share_version added to MsgWirePayForBlob to Blob so that it can be used when writing messages to the spare share splitter.
Such a celestia-core change is blocked on https://github.com/celestiaorg/celestia-app/issues/1022


update dbt-redshift docs for changes to sslmode, autocommit, connect_timeout

What are you changing in this pull request and why?
This PR is to update the docs for the following changes in dbt-redshift:

Mapping sslmode in psycopg2 to ssl & sslmode in redshift_connector
In dbt-redshift 1.5, Python driver switched from psycopg2 to redshift_connector. redshift_connector has both ssl and sslmode parameters, while psycopg2 only has sslmode. We've made changes in dbt-redshift to convert psycopg2' accepted values of sslmode into ssl and sslmode parameters of redshift_connector. This PR explains the conversion logic and includes explanation of the sslmode flag.
https://github.com/dbt-labs/docs.getdbt.com/issues/3365

Adding autocommit as a parameter
Autocommit is a new flag that is defaulted to True. This PR adds explanation of this change and rationale behind this decision in dbt docs
https://github.com/dbt-labs/docs.getdbt.com/issues/3401

Connect_timeout default to None
Connect_timeout had the default of 10 seconds previously. We changed this default to None.
https://github.com/dbt-labs/docs.getdbt.com/issues/3460

Checklist

[x] Review the Content style guide and About versioning so my content adheres to these guidelines.
[ ] Add a checklist item for anything that needs to happen before this PR is merged, such as "needs technical review" or "change base branch."

hey @jiezhen-chen , thanks for opening this up! I'll take a look at this for you tomorrow ✨


Create boot service

Create a service that can be deployed in a genesis transaction, and then an action can be defined that can does various initialization logic (such as calling init inline on all the other system services that need to be initialized in a particular order).

I'm not sure about this. The work that this service needs to do is determined by the set of contracts that are deployed. I think keeping initialization with deployment is probably more flexible.  If we want to avoid worrying about initialization order, the safest way is to make a service's init action call init on all its dependencies and also make init a no-op if it has already been run.


Install: accept credential set from file or switches

The install command permits users to pass parameter values via a JSON file (-p) or on the command line (--set key=value).  This makes it easy for tools to collect parameter values via their own UI and pass these on to the install command.
For credentials, though, the -c switch accepts only the name of a credentialset in Duffle's internal credential store.  This is not easy to work with if a tool wants to gather credentials.  It works well for VS Code because we can do a credentials generate -q and let the user edit the generated file (with some naughty shenanigans to work out the file path).  But the self-installer does not want to host a text editor; it wants to prompt for the credentials in a similar way to  duffle credentials generate in survey mode and then use those credentials immediately.  At the moment the only way to do that is to force-init Duffle, construct a file path into Duffle's home directory, write YAML to that file and then give the name of that file as the credential set.
Could we have something like:

install --credentialsFile credvalues.json - reads the credential values from the nominated file
install --credentialValue foo=env:SECRETFOO bar=path:/bar/bar/bar - reads the credential values from the command line
credentials gen --set foo=env:SECRETFOO bar=path:/bar/bar/bar - creates a credentialset with the specified values (which can then be passed to install using the existing -c flag)

This issue should really be handled by updating documentation. Added a label to reflect that.


Test with kitchen: cannot load such file -- acme-client

Im getting Acme library dependency 'acme-client' not loaded: cannot load such file -- acme-client when running kitchen.
How do i set up kitchen to work with chef-acme?

Did you include the recipe in your runlist? This will install the required gem

Yes, i have it in my runlist. Also tried including it before everything else, like this:
suites:
  - name: default
    run_list:
      - recipe[acme]
      - recipe[webserver::default]

I also tried copying acme_server and acme_client from fixtures/cookbooks and referencing from berksfile, like this:
# Test
group :integration do
    # Self-hosted acme server
    cookbook 'acme_client', path: 'test/fixtures/cookbooks/acme_client'
    cookbook 'acme_server', path: 'test/fixtures/cookbooks/acme_server'
end

This is my output
-----> Starting Kitchen (v1.24.0)
-----> Converging <default-ubuntu-1804>...
       Preparing files for transfer
       Preparing dna.json
       Resolving cookbook dependencies with Berkshelf 7.0.7...
       Removing non-cookbook files before transfer
       Preparing data_bags
       Preparing environments
       Preparing validation.pem
       Preparing client.rb
-----> Chef installation detected (install only if missing)
       Transferring files to <default-ubuntu-1804>
       Starting Chef Infra Client, version 15.4.45
       resolving cookbooks for run list: ["acme", "webserver::default"]
       Synchronizing Cookbooks:
         - webserver (0.1.0)
         - users (5.4.0)
         - newrelic-infra (0.9.0)
         - chef-vault (3.1.1)
         - redisio (3.0.0)
         - nodejs (6.0.0)
         - logrotate (2.2.2)
         - acme (4.1.1)
         - hostsfile (3.0.1)
         - r1337-certmanage (0.1.3)
         - motd_chef_status (1.0.3)
         - cron (6.2.2)
         - chef_run_recorder (1.0.1)
         - poise-service (1.5.2)
         - elasticsearch (4.0.6)
         - build-essential (8.2.1)
         - chef-client (11.0.5)
         - yum-epel (3.3.0)
         - ulimit (1.0.0)
         - selinux_policy (2.3.4)
         - apt (7.2.0)
         - chef-sugar (5.0.4)
         - ohai (5.3.0)
         - windows (6.0.1)
         - managed_directory (0.3.1)
         - nginx (9.0.0)
         - yarn (0.4.2)
         - seven_zip (3.1.2)
         - ark (4.0.0)
         - homebrew (5.0.8)
         - java (4.1.0)
         - postgresql (7.1.4)
         - rvm (0.9.4)
         - poise-archive (1.5.0)
         - yum (5.1.0)
         - chef_gem (0.1.0)
         - mingw (2.1.0)
         - poise (2.8.2)
       Installing Cookbook Gems:
       Compiling Cookbooks...
       [2019-11-12T19:16:34+00:00] WARN: Acme library dependency 'acme-client' not loaded: cannot load such file -- acme-client

       ================================================================================
       Recipe Compile Error in /tmp/kitchen/cache/cookbooks/rvm/libraries/chef_rvm_string_cache.rb
       ================================================================================

       LoadError
       ---------
       cannot load such file -- chef/mixin/command

       Cookbook Trace:
       ---------------
         /tmp/kitchen/cache/cookbooks/rvm/libraries/chef_rvm_string_cache.rb:22:in `<top (required)>'

       Relevant File Content:
       ----------------------
       /tmp/kitchen/cache/cookbooks/rvm/libraries/chef_rvm_string_cache.rb:

        15:  # Unless required by applicable law or agreed to in writing, software
        16:  # distributed under the License is distributed on an "AS IS" BASIS,
        17:  # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
        18:  # See the License for the specific language governing permissions and
        19:  # limitations under the License.
        20:  #
        21:
        22>> require 'chef/mixin/command'
        23:
        24:  class Chef
        25:    module RVM
        26:      module ShellHelpers
        27:        # stub to satisfy StringCache (library load order not guarenteed)
        28:      end
        29:
        30:      class StringCache
        31:        class << self

       System Info:
       ------------
       chef_version=15.4.45
       platform=ubuntu
       platform_version=18.04
       ruby=ruby 2.6.5p114 (2019-10-01 revision 67812) [x86_64-linux]
       program_name=/opt/chef/bin/chef-client
       executable=/opt/chef/bin/chef-client

       Running handlers:
       [2019-11-12T19:16:34+00:00] ERROR: Running exception handlers
       Running handlers complete
       [2019-11-12T19:16:34+00:00] ERROR: Exception handlers complete
       Chef Infra Client failed. 0 resources updated in 05 seconds
       [2019-11-12T19:16:34+00:00] FATAL: Stacktrace dumped to /tmp/kitchen/cache/chef-stacktrace.out
       [2019-11-12T19:16:34+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
       [2019-11-12T19:16:34+00:00] FATAL: LoadError: cannot load such file -- chef/mixin/command

Looks like your error is in the rvm cookbook


Automatically reapply roles when user agrees

If they had any flavor roles (e.g. C++, Javascript) they will be restored when they rejoin and !agree again.
More importantly, punishment roles (e.g. mute and jail) are restored, to prevent simple evasion of punishments.

Still need to add the ability to declare roles as reappliable and add journal events.


npm publish failed, yet git push still occured

Not sure if this is a problem with this config, or a general problem with SR, but after npm publish had failed, I saw that release notes were still published to GitHub.

And it created a GitHub release also.
The failure came from the fact that I had no tags on git repo, and it tried to publish 1.0.0, while that version was already published on NPM.


feat: Added builder pattern for creating valid ByAndroidUIAutomator statements

Change list

Added 2 new fluent-builder style classes (AndroidUiSelector, AndroidUiScrollable) for building valid UiSelector and UiScrollable calls.

Added new interface IUiAutomatorStatementBuilder which both new classes implement

Added method overloads to IFindByAndroidUIAutomator

FindElementByAndroidUIAutomator(IUiAutomatorStatementBuilder)
FindElementsByAndroidUIAutomator(IUiAutomatorStatementBuilder)

Added ctor overload to ByAndroidUIAutomator

ByAndroidUIAutomator(IUiAutomatorStatementBuilder selector)

Added static By.AndroidUIAutomator(IUiAutomatorStatementBuilder) overload

Types of changes
What types of changes are you proposing/introducing to .NET client?
Put an x in the boxes that apply

[ ] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[x] New feature (non-breaking change which adds value to the project)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Documentation

[ ] Have you proposed a file change/ PR with appium to update documentation?

I have not submitted a doc change as there doesn't seem to currently be a good place to document this change.
This can be done by navigating to the documentation section on http://appium.io selecting the appropriate command/endpoint and clicking the 'Edit this doc' link to update the C# example
Integration tests

[x] Have you provided integration tests to pass against the beta version of appium? (for Bugfix or New feature)

Details
While it is nice to be able to use UiAutomator directly, it is a bit of a pain to build using strings directly. This PR adds two fluent-builder style classes to guide the library user through creating valid UiAutomator statements. Each builder can be compiled to a string and used with existing methods, though I've added several interface/ctor overloads to make this more discoverable.
If it is desirable to keep the IFindByAndroidUIAutomator interface more simple, the overloads I've added can be converted to extension methods.
Each builder has an AddRawText(string) method which will add any provided text directly to the builder. This is to allow extensibility by library users in the case that the method they require is not included in the fluent builder wrapper. At this time, UiSelector is fully wrapped, but UiScrollable is pretty bare-bones.
Ex. 1: Find an element by UiSelector
var options = new AppiumOptions {PlatformName = "Android"};
var driver = new AndroidDriver<AndroidElement>(options);

var element = driver.FindElementByAndroidUIAutomator(new AndroidUiSelector()
    .ClassNameEquals("android.widget.TextView")
    .Instance(1));

Ex. 2: Scroll to an element which matches a selector
var options = new AppiumOptions {PlatformName = "Android"};
var driver = new AndroidDriver<AndroidElement>(options);

var element = driver.FindElementByAndroidUIAutomator(new AndroidUiScrollable()
    .ScrollIntoView(new AndroidUiSelector()
        .ResourceIdMatches(".*my_unique_id")
        .TextEquals("Test Element")));

Ex. 3: Scroll to an element which matches a selector, using preexisting overload which is not aware of the builder
var options = new AppiumOptions {PlatformName = "Android"};
var driver = new AndroidDriver<AndroidElement>(options);

var element = driver.FindElementByAndroidUIAutomator(new AndroidUiScrollable()
    .ScrollIntoView(new AndroidUiSelector()
        .ResourceIdMatches(".*my_unique_id")
        .TextEquals("Test Element"))
    .Compile());

Other supported uses
var staticBy = MobileBy.AndroidUIAutomator(new AndroidUiSelector().ResourceIdMatches(".*my_unique_id"));

var newBy = new ByAndroidUIAutomator(new AndroidUiSelector().ResourceIdMatches(".*my_unique_id"))

Renamed Compile() to Build() on the builder interface as requested.

@sparerd Do you have time to finish the PR? We'd be happy to merge it when it's done


Is there a way to update the Firefox Browser?

It would be very cool to be able to do that somehow. Please let me know! :)

Nvm


Change color overlay based on the real light color

Describe the solution you'd like
I'm pretty happy with this extension, but I'd like to ask if there is a simple way to generate colored overlays based on the actual color of the light. That applies to RGB lamps.
I didn't find a good way so far. Can CSS mixing feature help here?

Hey, this looks like a duplicate of #22 which, to be honest, I still haven't wrapped my head around to see how this can be implemented/automated.


not working for me

i guy , i have to disassemble a firwmare
this : http://storow.xirodrone.com/attac-UA3500_FCU_FW_1.0.0_20150710.bin
i have installed ubuntu in virtualbox and binwalk
when i analyze with binwalk i have blank line and when i extract nothing just blank line
sorry for my english :(
if you have idea :)
thank you

There's nothing to extract from this firmware. There does not appear to be any compression, encryption, file systems, etc. It's just straight ARM code - load the .bin file directly into any ARM disassembler.

its crypted :(

I see nothing in the linked firmware image that suggests encryption of any type. There are plain text strings and code. What leads you to believe that it is encrypted?

I can't see the string :( what use for see that ?
Thank you

Please don't help him. He's breaking the law.
Zero Tech USA Co., Ltd
Add: 690 N. Berry St. Suite B,
Brea, CA 92821
Tel：<PHONE_NUMBER>

You can close , i have found how to thank you guys :)


[TOPI] Fix bug in Winograd on CUDA

Several topics [1, 2, 3] in the discuss mention that the conv2d failed to pass the shape checking in the runtime after the conv2d has been tuned by AutoTVM. This PR investigated the reason and resolved the issue. (thanks the help from @kevinthesun, @Laurawly  and @vinx13 with the investigation).
Investigation
All errors happen at the same dimension: the output image height (arg2.shape[2]).
For example in [1], the workload has input (1, 80, 73, 73) with stride=1 and padding=0, so the output shape should be (1, 192, 71, 71). However, it encountered the following error:
TVMError: Check failed: ret == 0 (-1 vs. 0) : Assert fail: (73 == int32(arg2.shape[2])), Argument arg2.shape[2] has an unsatisfied constraint

It means that somehow the output shape is set to 73 instead of 71 during scheduling. After digging into the code, we found that Winograd schedule overrides the strides and padding to be 1 regardless the input workload. It should be caused by a previous PR that enhance the Winograd to support different padding and kernel sizes.
Modification
Accordingly, this PR modified two parts. First, we get the stride and padding directly from the input workload and check if it is valid like previous. This change passed the isolated example that yyding provided in the TVM discuss.
Second, the Winograd unittest uses fallback config, but the Winograd schedule will fallback to the direct template if the config is fallback. It means the alter layer for Winograd schedule is never tested. This PR also forced the fallback to be False to enable the testing, which was suggested by @vinx13.
[1] https://discuss.tvm.ai/t/auto-tune-error-occurs-during-inference-when-using-auto-tuned-schedule
[2] https://discuss.tvm.ai/t/error-float16-for-cuda-with-autotvm
[3] https://discuss.tvm.ai/t/graphruntime-module-run-failed-when-created-with-logfile-from-autotvm-tuning

@cbalint13

@comaniac ,
Looks good to me (looked at winograd part).

@vinx13 could you help merge it? Thanks.

@tqchen seems I don't have write permission

Thanks @comaniac @vinx13, this is now merged.

@vinx13 you should have permission now, if now, please check if you have linked your github account. I will send you instructions

@tqchen I'm already in the Apache github org, is there anything I'm missing?


Parsing Cell Line Ontology Failed because of ParsedIRI

Parsing CLO owl file using RDFFormat.RDFXML fails
Ontology: https://bioportal.bioontology.org/ontologies/CLO
    <rdf:Description rdf:about="&obo;Matches%20in�27爋ntologies">
    </rdf:Description>

public class ExampleParsedIRI {

	public static void main(String[] args) throws URISyntaxException {
		System.out.println(new ParsedIRI("http://purl.obolibrary.org/obo/Matches%20in�27爋ntologies"));

//		Exception in thread "main" java.net.URISyntaxException: Unexpected character U+FFFD at index 43: http://purl.obolibrary.org/obo/Matches%20in�27爋ntologies
//		at org.eclipse.rdf4j.common.net.ParsedIRI.error(ParsedIRI.java:1034)
//		at org.eclipse.rdf4j.common.net.ParsedIRI.parse(ParsedIRI.java:815)
//		at org.eclipse.rdf4j.common.net.ParsedIRI.<init>(ParsedIRI.java:270)
//		at org.eclipse.rdf4j.examples.model.Example01BuildModel.main(Example01BuildModel.java:33)

	}
}

https://github.com/eclipse/rdf4j/blob/main/core/util/src/main/java/org/eclipse/rdf4j/common/net/ParsedIRI.java
Changing
private static int[][] fchar = union(pchar, '/', '?');

to
private static int[][] fchar = union(pchar, '/', '?', '�');

fixed URISyntaxException

'�' (whatever that char is, it's hard to tell from the copy-paste here) is not a legal character in an IRI. This is not a bug that needs to be fixed in ParsedIRI, but in the source data.
You can also choose to disable IRI validation in the parser: https://rdf4j.org/documentation/programming/rio/#example-iri-syntax-validation. Of course, you may still encounter problems further down the line with this.

Thank you for the advice

All good. Closing this now, but feel free to reach out again if you run into other issues.

I could see VERIFY_URI_SYNTAX in the turtle parser. Think it would be good if rdfxml parser could respect VERIFY_URI_SYNTAX setting

I could see VERIFY_URI_SYNTAX in the turtle parser. Think it would be good if rdfxml parser could respect VERIFY_URI_SYNTAX setting also

It does. Give it a go.


Add a standalone crawl option

This PR adds a standalone crawl option to pull a subset of the Redfish information from a single BMC and print it to the screen in json.  It is the first step in interrogating BMCs for remote attestation via Redfish without fundamentally changing how normal discovery works.

Probably should also mention that I only reviewed the code and have not tested.

I tested this, works well for basic use case I tried.

Running the crawl subcommand without arguments causes a crash:
# ./magellan crawl
{"level":"error","error":"endpoint must starts with http or https","time":"2024-07-01T14:21:53Z","message":"failed to connect to BMC"}
panic: endpoint must starts with http or https

goroutine 1 [running]:
github.com/OpenCHAMI/magellan/cmd.glob..func2(0xc0001fe400?, {0xccfac6?, 0x4?, 0xccfaca?})
	/opt/shared/magellan/cmd/crawl.go:22 +0x29f
github.com/spf13/cobra.(*Command).execute(0x14a5fe0, {0x15191a0, 0x0, 0x0})
	/root/go/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:944 +0x863
github.com/spf13/cobra.(*Command).ExecuteC(0x14a6b60)
	/root/go/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:1068 +0x3a5
github.com/spf13/cobra.(*Command).Execute(...)
	/root/go/pkg/mod/github.com/spf13/cobra@v1.7.0/command.go:992
github.com/OpenCHAMI/magellan/cmd.Execute()
	/opt/shared/magellan/cmd/root.go:51 +0x1a
main.main()
	/opt/shared/magellan/main.go:8 +0xf

Perhaps it would be better to have the BMC URI be a positional argument rather than a flag.


Should we change the category filters for AppInsights and disable Sampling by default?

TL;DR;
I'm willing to reduce the logs sent to AppInsights changing the category filters. At the same time i would like to disable the AdaptiveSampling by default to avoid loosing important logs which are mandatory for AgID.
Details
With the actual default configuration, we send Information logs to AppInsights for every single category:
{
	"Logging": {
		"ApplicationInsights": {
			"LogLevel": {
				"Default": "Information"
			}
		}
       }
}

With this configuration we are also sending framework logs such as the following, which are not really useful and could produce a lot of data-ingestion

Should we change the category filters for AppInsights to send Information logs and above for the Microsoft.SPID cateogory and sending only Warning and above logs for the Default category? Something like this:
{
	"Logging": {
		"ApplicationInsights": {
			"LogLevel": {
				"Default": "Warning",
                                "Microsoft.SPID": "Information"
			}
		}
       }
}

We could increase the verbosity at any-time by overriding the setting via Configuration.
I would like to reduce the telemetry sent to AppInsights because AgID requires to store logs for 24 months. We can change the retention of the Application Insights instance to achieve the objective (via the linked LAW or on the AppInsights instance directly), but it has an extra-cost per-GB/per-Month.
Moreover, we have Adaptive Sampling enabled by default. Whene there are a lot of concurrent requets towards the SPIDProxy, sampling is applied hence we loose log details but still have correct numbers (thanks to the itemCount). I would like to disable Sampling by default since we could sample a log which is required by AgID and which we should retain for 24 months.
We can do so by adding the following in the appsettings.json, as also shown here https://docs.microsoft.com/en-us/azure/azure-monitor/app/asp-net-core#configuration-recommendation-for-microsoftapplicationinsightsaspnetcore-sdk-2150-and-later:
{
    "ApplicationInsights": {
        "EnableAdaptiveSampling": false
    }
}

What do you think @tommasodotNET, @MarcoZama, @PaoloCastAway ?

@fume Looks good for me!


3.x status codes

Added status codes enum class to remove hardcoded status code values from Response class.
It's increases readability of code.
Ex.: use StatusCodes::HTTP_BAD_REQUEST instead of 400 code and so on.

Coverage increased (+0.02%) to 97.105% when pulling ece5fba6b3900163b2f4900c012f9bbb9448dc2e on Dmitry-Kucher:3.x_status_codes into e84150bfbb0db0209bc940554decfde89cc251b5 on slimphp:3.x.

@pachico It was in original Response file so to keep consistency I added it to my class. Deletion maybe isn't a good idea if someone wants to use it for Easter egg in API.

@akrabat I agree, but in the context of a controller / action method the Http prefix is not redundant because it's not clear which status code you mean. You first have to check the use statements on top of the PHP file to know what a StatusCode is.
Example: Here a developer has to check what a StatusCode class is.
public function __invoke(Request $request, Response $response)
{
    return $response->withStatus(HttpStatusCode::NOT_FOUND);
}

And that is not immediately clear what is meant by that.
public function __invoke(Request $request, Response $response)
{
    return $response->withStatus(StatusCode::NOT_FOUND);
}

But anyway, I'd be happy to call the class at least singular. :-)

@odan agreed with you. 100% about singular naming, but not absolutely about HTTP prefix for class name.
In my case code would be different:
public function __invoke(Request $request, Response $response)
{
    return $response->withStatus(StatusCode::HTTP_NOT_FOUND);
}

HTTP already presented in constant name. If everyone will agree I can remove HTTP prefix from constant and move it to classname

FWiW, We definitely keep 418.

This example proves my point:
public function __invoke(Request $request, Response $response)
{
    return $response->withStatus(StatusCode::NOT_FOUND);
}

We don't have HttpRequest, HttpResponse, HttpUri, HttpHeaders as the other class names in in Slim\Http.

I would also delete 418 => 'I'm a teapot' since wasn't more than an April fools which is not expected to be implemented.

We cannot just remove it as it would be a BC break.
Also http://save418.com/

Not for 3.*, I agree, but it could for 4.0. In my opinion, it's just a silly and childish joke that got far more attention than it deserved and made its way to libraries implementations (and it clearly states that should NOT be implemented).

@Dmitry-Kucher Yes, all the ::HTTP_ constant prefixes are quite redundant, because this class is only responsible for HTTP status codes, right? But yes, this depends on the class name of course.
Another question: If at all, should this class not be part of the slimphp/Slim-Http package?

Another question: If at all, should this class not be part of the slimphp/Slim-Http package?

If we take this for Slim 3.x, then we'll need it in Slim-Http too for Slim 4.x.

@odan Am I right that this package is for Slim 4.x, but my PR is for 3.x. I also can make a PR for slimphp/Slim-Http package if needed

Yes, all the ::HTTP_ constant prefixes are quite redundant, because this class is only responsible for HTTP status codes, right?

Agreed, but it's not true for all constants. CONTINUE constant doesn't work for php < 7.0
So, maybe HTTP is redundant for constant contains more than one word in their names

Not sure that it's related only to technical reasons. Statuses OK, FOUND, ACCEPTED and so on looks not so informative.
Even:
HttpStatusCode::OK

Looks not so good, because it means something positive, but FOUND also means positive and it's not clear what's difference.
StatusCode::HTTP_OK

More clear that it's about 200 status.
Maybe it's related only to personal taste

@Dmitry-Kucher I would agree with HTTP_CONTINUE, but only for technical reasons (PHP < 7.0). The rest should be without HTTP_ to make it more consistent.

No, all should be either with or without the HTTP prefix, do not mix them.

@Dmitry-Kucher I appreciate the effort (both for Slim and for @ReactPHP where we're considering similar suggestions) :+1:
Maybe this has been discussed before and I'm missing something, but I wonder what's the motivation for moving this to a separate class StatusCode (or HttpStatusCode)? Has defining them as part of the Response class been considered?
It's my understanding that HTTP response status codes are likely used in combination with a response object, so a separate reference and import seem to be a bit odd to me. Also, if you're looking at sites such as https://httpstatuses.com/200, you can find some references that other libs/languages use. In particular, Symfony happens to use the same Response::HTTP_OK naming convention. Personally, I'm not a Symfony user and I'm not saying compatibility is a must, but it's certainly a nice property and probably something worth considering.

@clue I saw Symfony implementation before suggested my PR. I made the separate class for StatusCode because it should be a Enum, maybe more suitable would be to use something like php-enum, but include huge amount of status codes into response isn't elegant way, that's why my PR looks as it looks.

@odan
use Slim\Http\StatusCode as HttpStatusCode

😃

Having it in a separate class makes it available to user land code which I think is a good idea. So now in my responses I can make use of it, instead of trying to remember the codes too.


0.1.9

@JuliaRegistrator register

Registration pull request created: JuliaRegistries/General/117321
Tip: Release Notes
Did you know you can add release notes too? Just add markdown formatted text underneath the comment after the text
"Release notes:" and it will be added to the registry PR, and if TagBot is installed it will also be added to the
release that TagBot creates. i.e.
@JuliaRegistrator register

Release notes:

## Breaking changes

- blah

To add them here just re-invoke and the PR will be updated.
Tagging
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.1.9 -m "<description of version>" 7a8ee9dd8f91a2e59923c6d129b2f7acd446579c
git push origin v0.1.9


Pylint for scraping scripts

Mainly missing docstrings - do this after moving scripts folder

Also need to add it to the build_test.yml file

#72 got 10/10 for all after disabling broad exception error for scraping (can't think of specific exceptions that may occur when scraping, keeping the general one to catch everything)


Outdated dependency to @sanity/ui

Hi,
We're having some dependency trouble building our studio with npm install.
@sanity/default-layout is currently depending on ^0.37.x of @sanity/ui, while @sanity/document-internationalization" is at ^0.36.12
Could this be bumped? Thanks in advance!
(using node v17.8.0 and npm 8.5.5)
  npm ERR! Found<EMAIL_ADDRESS>  npm ERR! node_modules/@sanity/ui
  npm ERR<EMAIL_ADDRESS>from<EMAIL_ADDRESS>  npm ERR!   node_modules/@sanity/base
  npm ERR<EMAIL_ADDRESS>from the root project
  npm ERR<EMAIL_ADDRESS>from<EMAIL_ADDRESS>  npm ERR!     node_modules/@sanity/default-layout
  npm ERR<EMAIL_ADDRESS>from the root project
  npm ERR!     7 more (@sanity/default-login, @sanity/desk-tool, ...)
  npm ERR<EMAIL_ADDRESS>from<EMAIL_ADDRESS>  npm ERR!   node_modules/@sanity/default-layout
  npm ERR<EMAIL_ADDRESS>from the root project
  npm ERR!   5 more (@sanity/default-login, @sanity/desk-tool, ...)
  npm ERR!
  npm ERR! Could not resolve dependency:
  npm ERR<EMAIL_ADDRESS>from the root project
  npm ERR!
  npm ERR! Conflicting peer dependency<EMAIL_ADDRESS>  npm ERR! node_modules/@sanity/ui
  npm ERR!   peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>  npm ERR!   node_modules/@sanity/document-internationalization
  npm ERR<EMAIL_ADDRESS>from the root project

Thanks for the feedback, we are bumping sanity/ui in this PR: https://github.com/sanity-io/document-internationalization/pull/47 which will go out sometime tomorrow.

Should be fixed in 0.3.0


Dev-info errors are covered by side bar

Home Assistant release with the issue:

0.81.6
Last working Home Assistant release (if known):
Operating environment (Hass.io/Docker/Windows/etc.):

Docker
Firefox 63.0.1 (64-bit)
Component/platform:

frontend
Description of problem:
On the dev-info tab, opening up one of the log entries to view more information causes the window to be hidden behind the menu bar:

Names in the history tab also seem to be behind the menu bar:

Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):

Traceback (if applicable):

Additional information:

/move to home-assistant/home-assistant-polymer


Implement InitFileChunk, ReadFileChunk, and AdvanceFileChunkVersion

Writes will come in the next PR.
Added synchronous unit tests

I am approving this change so that we can move faster. Except for the equal sign removal in file_chunk_manager.cc I think other comments are non-essential at this point.

Addressed comments by introducing a new enum for out of range, and version out of sync. I don't plan to make it more explicit than is it stale in request or chunk server, to make things easier for now

LGTM thanks.


how can i change the icons for facebook share  I want to display only  the f   button and not the whole share button.

This isn't supported at the moment, but feel free to update the plugin and make a pull request :)


Ivy build doesn't work on version 8

On new angular version 8, ng build --prod doesn't work if ivy render is enabled.
If ivy render is disabled build working correctly.
ERROR in ENOENT: no such file or directory, open 'node_modules/ngx-device-detector/ngx-device-detector.js'
Try to make build with https://github.com/ng-packagr/ng-packagr

@vucko. this should've been resolved by the new release v1.3.6
https://github.com/KoderLabs/ngx-device-detector/releases/tag/v1.3.6
Feel free to re-open the issue if that still persists.


Power issue on raspberry pi with two SR305 cameras

Required Info

Camera Model
SR305

Firmware Version
<IP_ADDRESS>

Operating System & Version
Raspbian GNU/Linux 10 (buster)

Kernel Version (Linux Only)
4.19.75-v7l+

Platform
Raspberry Pi

SDK Version
2.32.1

Language
python

Segment
others

Issue Description
Hello,
I have a problem with my current project. I'm trying to use 2 SR305 cameras on the same RPI 4. I need to use both infrared streams for now (no depth or RGB).
When using the realsense viewer, I have no trouble getting both infrared streams to display.
In my python code, I use the realsense_device_manager from the box_dimensioner_multicam example. It is working fine with one camera, and no problem running it on my windows laptop with 2 sr305. But when starting the pipeline with two SR305 on the RPI, I get the following error:
Traceback (most recent call last):
File "visualize.py", line 42, in
device_manager.enable_all_devices()
File "/home/pi/formeuse/realsense_device_manager.py", line 159, in enable_all_devices
self.enable_device(serial, enable_ir_emitter)
File "/home/pi/formeuse/realsense_device_manager.py", line 144, in enable_device
pipeline_profile = pipeline.start(self._config)
RuntimeError: failed to set power state
I initially thought it was because the pi usb hub couldn't deliver enough power, but since the viewer is doing it just fine, I must be missing something.
Thanks in advance for your help :)

@piraog , the realsense_device_manager.py uses the camera's default configuration (self._config)
that for SR305 comprise of Depth+RGB streams. So unless you've overwritten the default configuration trying to start two devices would result in activation of 4 streams which draws more power than RPi4 USB ports can sustain.

@ev-mp Thanks for the quick answer
I did try to overwrite the realsense_device_manager, but somehow dodn't manage to do it completly.
In the end, without using the device manager It ended up working.
Thanks again for the quick reply


CSS (Style)

Look like there is no ability to style right now at all?
Tried StyleSheet and styled-components library

Also will there be an  component in the future?

Yeah there's no style because of the way that libui is structured. It's not going to be possible until a lot more options are added to libui.


[PDI-14608] Added case for DASH so AutoDoc step no longer fails

I reviewed the other relevant code and couldn't for the life of me decide if DASH from JobPainter/TransPainter should have been something else, so I'm recommending another case be added to SwingGC.  Feel free to change the values for the dash variable.

Checkstyle failed on the commit by agnielson. I copied over his fix from here to my fork, made it conform, and checked in the updated PR ( https://github.com/pentaho/pentaho-kettle/pull/1938 ). Thanks @agnielson


fix: Prevent division by zero

This fixes the problem when we had opening price, but no closing price.

bors r+

If this fixes https://github.com/itchysats/10101/issues/339 we should close the ticket with this PR ;)


Usability improvements

This issue was created to track ideas for lab usability improvements:

[x] for localized columns, instead of <null>, display <no locale selected> (and mark localized attributes in the column heading with some character - for example the same as selection widget: )
[x] distinguish column headers that are sortable from those that cannot be clicked on and sorted by (
sign?!)
[x] allow selection of entire groups of column by their type (attribute, associated data, relation etc.)
[x] add page size 25 for bigger monitors
[x] add JSON / HTML renderer for preview of the column value
[x] allow following relations by clicking on the referenced primary key of the entity

[ ] allow reversed relations following by Ctrl+Click on the referenced primary key, this will either find all entities in currently viewed collection that has reference to that clicked entity, or ideally it would show small menu with all collection that has the clicked reference and find all entities in that target collection

I tried to implement displaying flag emoji for selected locale in the data grid toolbar, but unfortunately (as I suspected) this is not possible, because locales are not country codes (even though, they may contain them, but not always). For example, en doesn't reliably correspond to any single country flag (it may be GB, US, and so on).
I've, at least, now display different icon for when no locale is selected and when any locale is selected.

I found out that it's not possible to access attributes defined on references in a grid view. Would it be possible to add them there?

I know, so far didn't come up with good way to implement it in the UI. Do you have any idea how would they be displayed in the grid?

This is the way how we display it in the example results:

entityPrimaryKey
🔗 relatedProducts: category

103988
🔗 104481: 'alternativeProduct', 🔗 104500: 'alternativeProduct'

104008
🔗 104708: 'alternativeProduct', 🔗 104718: 'alternativeProduct'

104084
🔗 104526: 'alternativeProduct', 🔗 104737: 'alternativeProduct'

104171
🔗 104599: 'alternativeProduct', 🔗 104944: 'alternativeProduct'

104227
🔗 104481: 'alternativeProduct', 🔗 104526: 'alternativeProduct', 🔗 105093: 'alternativeProduct'

104305
🔗 104737: 'alternativeProduct', 🔗 105040: 'alternativeProduct'

104368
🔗 104461: 'alternativeProduct', 🔗 104896: 'alternativeProduct'

104392
🔗 104500: 'alternativeProduct', 🔗 104718: 'alternativeProduct'

104447
🔗 103988: 'alternativeProduct', 🔗 104676: 'alternativeProduct', 🔗 105093: 'alternativeProduct'

104452
🔗 104526: 'alternativeProduct', 🔗 104876: 'alternativeProduct'

104461
🔗 104305: 'alternativeProduct', 🔗 104761: 'alternativeProduct'

104467
🔗 104435: 'alternativeProduct', 🔗 104744: 'alternativeProduct', 🔗 104776: 'alternativeProduct'

104481
🔗 104816: 'alternativeProduct', 🔗 105093: 'alternativeProduct'

104490
🔗 104567: 'alternativeProduct', 🔗 105022: 'alternativeProduct'

104718
🔗 104392: 'alternativeProduct', 🔗 104567: 'alternativeProduct', 🔗 104927: 'alternativeProduct'

104725
🔗 104708: 'alternativeProduct', 🔗 104744: 'alternativeProduct', 🔗 105093: 'alternativeProduct'

104732
🔗 104508: 'alternativeProduct', 🔗 104705: 'alternativeProduct', 🔗 104851: 'alternativeProduct'

104737
🔗 103988: 'alternativeProduct', 🔗 104927: 'alternativeProduct', 🔗 105093: 'alternativeProduct'

104744
🔗 104008: 'alternativeProduct'

104761
🔗 104526: 'alternativeProduct', 🔗 104843: 'alternativeProduct'

Page 1/146 (Total number of results: 2918)

Oh okay, I can't seem to find it anywhere in examples. Anyway, that could work, however, such wide column would be clipped to defined max width, which would result in showing only the first attributes on the first glance, so Idk if from this POV it would be ideal. There are of course other things to think about (property selector, property detail...) but those are more of implementation details.

The branch feature-8-better-grid-cell-detail-renderer was merged into https://github.com/lukashornych/evitalab/issues/48 where we finish it with UI/UX styling.

Closing as all tasks were implemented, the reference attributes are being solved in #52


Grounding refactoring

@mikecafarella Mike, can you do a code review here? This is phase one of the grounding refactor. There is some more going on to remove obvious code redundancy. We want to make sure that all new code has comments, is factored to be easy to understand, etc. This push is not intended to address  redundancy issues (multiple data stores).

@feiranwang Ah good, I see now you did catch all the language drops.
@mikecafarella This should go out very soon. It corrects a major issue (CASCADE DROPS) and is generally cleaner code. Any chance we can get this out today? I'm even tempted to hotfix for 0.05 because the CASCADE DROP that Feiran removed are so awful....

@chrismre I am reviewing now...

@mikecafarella The pull request has been updated in response to the code review.


Load denied by X-Frame-Options

I have access to MYGEOSERVER and have activated CORDS. Nevertheless, the following error message appears:
Load denied by X-Frame-Options: http://MYGEOSERVER:8080/geoserver/wms?service=W…254406%2C7472483.88515883&query_layers=MYLAYER&X=766&Y=222 does not permit cross-origin framing.
What do I have to do?

It was my fault: https://gis.stackexchange.com/questions/339660/enabling-cors-in-geoserver-2-15-1-jetty-9-4-12-no-jsp-support-for-did-no/339667#339667


SqlResultMapping with ConstructorResult mapping of jsonb column into Constructor is not working

SqlResultMapping with ConstructorResult mapping of jsonb column into Constructor is not working.
Table:
SELECT * FROM data;
                  id                  |       sub_data
--------------------------------------+-----------------------
 366bee25-2f08-4fe7-a94e-84acfa550dd4 | {"name": "sfsdfsdfd"}

Annotation over an Entity:
@SqlResultSetMapping(
        name = "DataMapping",
        classes = {
                @ConstructorResult(
                        targetClass = Data.class,
                        columns = {
                                @ColumnResult(name = "sub_data", type = SubData.class),
                        }
                )
        }
)

Classes:
//Data.java
public class Data {
    private SubData data;

    public Data(SubData data) {
        this.data = data;
    }

    public SubData getData() {
        return data;
    }

    public void setData(SubData data) {
        this.data = data;
    }
}
//SubData.java
public class SubData {
    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}

not working:
entityManager
                .createNativeQuery(
                        "SELECT sub_data FROM data", "DataMapping")
                .getResultList();

working solution without SqlResultMapping but deprecated setResultTransformer:
entityManager
                .createNativeQuery(
                        "SELECT sub_data FROM data")
                .unwrap(org.hibernate.query.NativeQuery.class)
                .setResultTransformer(
                        (ListResultTransformer)
                                (tuple, aliases) -> objectMapper.convertValue(tuple[0], SubData.class)
                )
                .getResultList();

org.springframework.boot:spring-boot-starter-data-jpa:2.3.0.M4
com.vladmihalcea:hibernate-types-52:2.9.9

You didn't use the type attribute to pass the JsonStringType or JsonBinaryType. CHeck out this article for more info, and [this one](https://vladmihalcea.com/hibernate-no-dialect-mapping-for-jdbc-type/} as well.

I've set the following class as dialect:
public class PostgreSQL95JsonDialect extends PostgreSQL95Dialect {

    public PostgreSQL95JsonDialect() {
        super();
        this.registerHibernateType(
                Types.OTHER, JsonNodeBinaryType.class.getName()
        );
    }
}

And the entity is read correctly with JpaRepository implementation.
@Entity
@Table(name = "data")
@TypeDefs({
        @TypeDef(name = "jsonb", typeClass = JsonBinaryType.class),
        @TypeDef(name = "json", typeClass = JsonStringType.class)
})
public class DataEntity {
    @Id
    private String id;

    @Type(type = "jsonb")
    @Column(name = "sub_data", columnDefinition = "jsonb")
    private SubDataEntity data;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public SubDataEntity getData() {
        return data;
    }

    public void setData(SubDataEntity data) {
        this.data = data;
    }
}

That's not the best way to fix this issue. Any other DB-specific column will fail, like UUID.
Better handle the mapping at query level, not global level.

And it doesn't fix the issue :)

Of course, it does ;)

Thanks for the example.
This is my example: demo.zip . If you start the container like in the README.md you can run ./mvnw test you can see two tests failing due to the missing mapping. You can also run the service and use the postman collection.
If you don't find my mistake I ask the hibernate community.

You're welcome.

I'm blind or something. I've tried to find the differences between your example and mine, so I added the metadata builder contributor. Now my request with ListResultTransformer delivers data but the result is not mapped when I use AliasToBeanResultTransformer (added endpoint & test for it).
The SqlResultSetMapping still doesn't work.
I don't know what to configure so that hibernate will map the json-data to objects.
demo.zip

Just fork this repository and run the PostgreSQLJsonNodeTypeTest to see a working example.


Change ruby version in before_hook to 2.2.0

I have a before hook that installs sass, that just started failing yesterday with the following messages
remote: -----> Before hook detected. Running...
remote: WARNING:  You don't have /tmp/build_cc71047275a4e3d2053b5732bc129d7f/.gem/ruby/2.2.0/bin in your PATH,
remote: 	  gem executables will not run.
remote: Successfully installed sass-3.4.13
remote: 1 gem installed
remote: -----> Caching ruby gems directory for future builds
remote: -----> Building Ember CLI application production distribution
remote:        version: 0.2.0
remote:        Could not find watchman, falling back to NodeWatcher for file system events
remote: [broccoli-ruby-sass] Error: spawn sass ENOENT
remote:        BuildingBuilding.Building..Building...BuildingBuilding.Build failed.
remote:        spawn sass ENOENT
remote:        Error: spawn sass ENOENT
remote:            at exports._errnoException (util.js:746:11)
remote:            at Process.ChildProcess._handle.onexit (child_process.js:1053:32)
remote:            at child_process.js:1144:20
remote:            at process._tickCallback (node.js:355:11)

The warning line pointed me to the fact that it was installing sass to $build_dir/.gem/ruby/2.2.0 instead of the $build_dir/.gem/ruby/1.9.1 directory that was in my path. Changing GEM_HOME to ruby 2.2.0 solved the issue for me.

Thanks!


AttributeError: 'NoneType' object has no attribute 'lower' while using evaluation (from ragas import evaluate).

I'm getting the below error while using evaluate from ragas (from ragas import evaluate).
AttributeError: 'NoneType' object has no attribute 'lower'

thanks to @yuukidach this has been significantly improved. Please feel free to reraise this if you encounter this again @debanshu005


NOISSUE: add profiler

- What I did
add the profiler
- How I did it
- How to verify it
- Description for the changelog

Codecov Report

Merging #136 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #136   +/-   ##
=======================================
  Coverage   74.04%   74.04%
=======================================
  Files          48       48
  Lines        3348     3348
=======================================
  Hits         2479     2479
  Misses        720      720
  Partials      149      149

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 867894a...4157662. Read the comment docs.


[BUG] Rounded Corners does not look good on Subscribe to NewsLetter Section

Description
This Section should not have rounded corners as it does not look good
Screenshots
Before

After

Any additional information?
No response
What browser are you seeing the problem on?
Chrome
Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I have read the discussion tab thoroughly and got the project idea
[X] I am willing to work on this issue (optional)
[X] I am a GSSoC'23 contributor

@rohansx Please assign this issue to me under GSSoC 23

@rohansx @k-deepak04 Have created a PR #396 , merging that will close this issue


fix: BUG 创建已存在文件导致报错

PR Checklist
Please check if your PR fulfills the following requirements:

[ ] The commit message follows our guidelines: https://github.com/xun082/create-neat/blob/master/CONTRIBUTING.md
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation update
[ ] Performance improvement
[ ] Test related changes
[ ] Security fix
[ ] Dependency update
[ ] Revert changes
[ ] Other... Please describe:

What is the current behavior?

Closes #
Related to #

What is the new behavior?

Does this PR introduce a breaking change?

[ ] Yes
[ ] No

Other information

#272 这个 public

可以看一下具体是哪个文件夹生成的时候会重复吗

#272 这个 public

👌，后续会合入。


Like/Upvote button for every post

A fb like type like button should be there, which would be JS based. No link to fb.

Do you wan to have Disqus forums at the bottom of each blog post ?


Add fail sounds

Would be great if there was functionality to play a "fail" sound when an error is thrown. Could either be its own @problem macro, or you could check the status of the result in https://github.com/theogf/Ding.jl/blob/main/src/ding.jl#L4 and then choose the sound from some Ding.fail_sounds collection

Implemented with @ohno and ohno_repl :D


Project dead?

Is this project dead?
I was really interested in the visual builder as I was about to go develop something like that myself

me too ...any news?


use Maven ntp for quickstart

Maven 'ntp' aka No Transfer Progress

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 61.83%. Comparing base (59551e4) to head (21cf5b2).
Report is 118 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master   #12634      +/-   ##
============================================
+ Coverage     61.75%   61.83%   +0.08%
+ Complexity      207      198       -9
============================================
  Files          2436     2453      +17
  Lines        133233   133831     +598
  Branches      20636    20754     +118
============================================
+ Hits          82274    82752     +478
- Misses        44911    44965      +54
- Partials       6048     6114      +66

Flag
Coverage Δ

custom-integration1
<0.01% <ø> (-0.01%)
:arrow_down:

integration
<0.01% <ø> (-0.01%)
:arrow_down:

integration1
<0.01% <ø> (-0.01%)
:arrow_down:

integration2
0.00% <ø> (ø)

java-11
61.75% <ø> (+0.04%)
:arrow_up:

java-21
61.71% <ø> (+0.09%)
:arrow_up:

skip-bytebuffers-false
61.78% <ø> (+0.03%)
:arrow_up:

skip-bytebuffers-true
61.69% <ø> (+33.96%)
:arrow_up:

temurin
61.83% <ø> (+0.08%)
:arrow_up:

unittests
61.82% <ø> (+0.08%)
:arrow_up:

unittests1
46.96% <ø> (+0.07%)
:arrow_up:

unittests2
27.70% <ø> (-0.03%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


pull request for e2e test at 11/14/2016 14:45:09

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

optest/docs/updated_at.md
:white_check_mark:Succeeded

Details

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Replace iso-3166-1-data with iso-3166-2

@fixe, from what I remember, this dataset isn't equivalent. Could you please confirm this?

@ruimarinho deprecated in favor or country-data which contains the same countries as the previous lib.


How to get packet arriving timestamp?

I set the
	config := flow.Config{
		CPUList:              "0-3",
		HWRXPacketsTimestamp: true,
	}

and use packet.GetPacketTimestamp() to get timestamp but return 0.
why?

This flag only enables capability of a NIC, it has to be supported by hardware to work correctly. AFAIK at the moment only Mellanox NICs support this feature, I implemented this flag for those cards. You can use flow.CheckHWCapability(flow.HWRXPacketsTimestamp) to query whether a network card supports this feature.

oh,I get it,thanks a lot!


Allow IISExpress deployer to deploy either inprocess or outofprocess based on a deployment parameter

Current in IISIntegration, we have two sample applications that can be consolidated into one if we can change the hostingModel value in the .config file to inprocess or outofprocess. We can add an inprocess or out of process parameter here: https://github.com/aspnet/Hosting/blob/dev/src/Microsoft.AspNetCore.Server.IntegrationTesting/Deployers/RemoteWindowsDeployer/RemoteWindowsDeploymentParameters.cs#L8 and then change the .config file using a special string "[HostingModel]" and rewrite it to inprocess or outofprocess.

#1261


JSX

Just started an tutorial about React/JSX and I noticed the theme doesn't support it, tags just stay white. Could you add it?

Not sure it's a theme issue.  Generally it's not up to the themer to add language support.  We just deal with colours :)  Have you tried JSX language support packages like this one?


adding custom button with some actions on the top of keyboard

hey daniel
I want to add a custom button to the top of the custom Keyboard all the time.
please, can you help me with this

something like this

You can just add it in an HStack, above the keyboard view. 👍

thanks 😊


add sample for firebase modem

Revive the mini-UART protocol we had in https://github.com/googlesamples/firebase-arduino/commit/566c3031083f05b59f3f86bc1de79f247c941bd4#diff-dc3ebc3d309c06217829e6e5ed607be0R71
With the following commands:
> PUSH /path {"some json":"blob"}
{"some json": "id"}
> UPDATE /path {"some json":"blob"}
{"some json": "id"}
> VAL /path
{"some json":"blob"}
> STREAM /path
{"some json":"event"}
{"more json":"event"}

So thinking towards the actual title of this issue.
I created an example that demonstrates the useage of our serial protocol:
https://github.com/ed7coyne/firebase-arduino/blob/serial-example/examples/FirebaseSerialClient/FirebaseSerialClient.ino
But I didn't do a pull request because I don't think it is actually a compelling use-case. I think we should create something actually interesting.
What ideas can we come up with?
One I had was: Create a Sender module that has a photosensor and a thermometer that can be placed outside. Create a Corresponding Receiver module that has a Neopixel attached to it. You can then place the Neopixel inside somewhere and it will vary brightness to match outside light conditions and color from red to blue to match temperature. Between these sensors we could demonstrate SET,GET and STREAM.

Related #84

I think the sample we have addresses this issue.


[VS Code] If multiple file/folders with same name but different casing are in the same folder, only one will appear to guests

Product: VS Code (1.22, 1.23)
Live Share Version: 0.3.93
OS: Linux, in rare cases macOS
Currently if multiple files or folders with the same name but differing casing are in the same folder, only on will appear to guests.   For example, if myfile.js, myFile.js, Myfile.js, and MyFile.js are all in the same folder, only one of these will appear to guests. This happens because part of the infrastructure Live Share uses forces paths to lower case.
This is primarily an issue when hosting from Linux where case sensitive filesystems are more common. This is a non-issue on case insensitive filesystems like those found on Windows and most Macs.

Note: The default filesystem on used on Macs is case insensitive, but you can verify you are not running a case sensitive filesystem by executing this command in a terminal seeing if the value for "Name (User Visible)" mentions being case sensitive: diskutil info / | grep Name

This issue has been resolved with the 0.3.198 release that went out this afternoon. If folks could update to that, and let us know if they're still experiencing issues, that would be great!


Discarding the master and slave phrasing

For diversity reasons, it would be nice to try to avoid 'master' and 'slave' terminology in this repository which can be associated to slavery. The master-slave terminology could be problematic for people in several countries which has the history of slavery like Romania, USA and many others. Thank you for considering the proposal. Let me know if any changes in the PR are needed, I would be happy to implement them.

Thank you for noticing and proposing a change in terminology. This repository is an 8 year old mirror of the OpenStack Nova project (https://opendev.org/openstack/nova). The upstream project has significantly changed since the creation of this repo. We no longer use this version, so we will remove this old copy from Github to avoid confusion.


how to determine if a wheel contains a commit

An ask from support was "how do we know if a wheel that is installed inside a container contains a particular commit?", in order to know if a customer's environment contains a particular fix or not.  This is somewhat non-trivial because of the way we now build wheels outside the containers, and the wheel names do not directly indicate the SHA from which they were built (rather just the semver version)

@mancdaz backport to kilo or want me to?

merged into kilo, closing


Remove un-thrown exceptions

Hmm, is Kokoro configured to run for non-Googles?

Not sure, but I've been thinking recently it's good to manually run Kokoro for PRs from random folks.
Can you add the "Kokoro:run" yourself?

Ah, I'd forgotten about kokoro:run.  Looking good!

Okay, looks like you're a Collaborator of this repo. I'll be able to change the settings, so that your PR will fire Kokoro in the future.


preserve_aspect_ratio question

I am training on cityscapes, so I want to preserver the ratio.(1024, 2048)
However, after turn on preserve ratio, loss keep decrease but the visualization of bounding box position always wrong.
And I find this line use max_size both at width and height.
I think it should be b_w, b_h = (int(cfg.max_size / r_w * w), int(cfg.min_size / r_h * h)).
or directly b_w, b_h =w, h
I don't understand the comment # A hack to scale the bboxes to the right size
I wonder is this a bug or some trick?
https://github.com/dbolya/yolact/blob/5dd130db81ba73d0bf9b4fc3df263481a7639f11/layers/output_utils.py#L68
Thanks

So currently perseve_aspect_ratio is not supported and I don't plan on supporting it in its current state (since I plan on completely rewriting it, and I plan v1.1 to preserve aspect ratio by default). I suggest just not using it for now. What it's doing right now is just padding everything to be square, which is actually worse than simply squishing everything.

Thanks.
I am looking forward to v1.1. It is a nice work.
When will it release?
I also found another bug. Just share for somebody need perseve_aspect_ratio feature now.
https://github.com/dbolya/yolact/blob/5dd130db81ba73d0bf9b4fc3df263481a7639f11/layers/output_utils.py#L100
proto_data has shape (h, w, mask_dim), so it sure undo the padding as followL
masks = masks[:, :int(r_h/cfg.max_sizeproto_data.size(0)), :int(r_w/cfg.max_sizeproto_data.size(1))]

Thanks for the fix!
I should hopefully be able to release v1.1 in the coming month. I wanted it to come out this month, but I'm finding less and less time to work on YOLACT.
I'll also leave this issue open until I implement preserve_aspect_ratio properly.

So currently perseve_aspect_ratio is not supported and I don't intend to support it in its current state (since I plan on completely rewriting it; v1.1 will have preserve aspect ratio by default). I suggest just not using it for now. What it's doing right now is just padding everything to be square and then scaling down to 550x550, which is actually worse than simply squishing everything.

so when will you finish your v1.1 version?   you just give me a approximate date. thanks you.

Hahaha I might not be doing a small version update anymore since none of the things I tried worked out, and I'm not at UC Davis anymore. So I think it'll be a while till YOLACT gets a major update.

OK, i appreciate your works. Your work gives me a idea. I hope this idea can be a paper.


Can't centre "Click CEOP" button

I'm trying to centre the Internet Safety button, to line up with everything else in the footer. Is this possible, eg with some CSS in the theme customiser if there's no specific option available?

Hi @spruce10, that is not built into the theme but you are welcome to add it yourself. To help you out, the button is located in the file functions/hooks.php on line 186 to 188. You could possibly use a class from Bootstrap or write your own CSS. The div element containing the button has the id ceop which can be used to target it with any CSS you add.


citation should not be included. Instead, only referencePublication

Citation indicates that this resource cites another, not that the pointed resource is the citation of the current resource

Add a new property "citeAs"?

We reuse referencePublication from CodeMeta


DOCUMENTATION: Finish documenting all Easify methods

This needs to be done ASAP so that if someone comes along and wants to use this library, they can do so with ease.

Everything currently documented at a basic level in README.

Need to update docs with new methods

There's nothing wrong with adding more documentation to methods which are already documented for clearing up any possible confusion.


Added version 1.57.0 and next milestone 1.58.0 to FindBoost.cmake

Updated versions in FindBoost.cmake.
Current Boost C++ v1.57.0 and upcoming milestone v1.58.0

Applied as commit 4048f7cde018b2cddb9e6e53b04dbf6f588b3e5f, thanks.  FYI a separate PR is not necessary.  Your post to the mailing list is sufficient.  See CONTRIBUTING.rst.


Inconsistent behavior with "Close All" and notebooks

Issue Type: Bug
See attached gif.
When bulk closing notebooks without saving - with or without changes - sometimes the notebooks remain in "Open Editors" and fail to fully disappear. They are "mostly" gone, but you cannot see the ADS logo in the main window panel so there is something remaining. Rehydration can occur from these closed, unsaved files.

Azure Data Studio version: azuredatastudio-insiders 1.12.0-insider (cacbcb54156f4748a0a2d3181f9fc0ad16805b13, 2019-10-07T07:56:20.452Z)
OS version: Windows_NT x64 10.0.18362

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-7600U CPU @ 2.80GHz (4 x 2904)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwareoop_rasterization: disabled_offprotected_video_decode: enabledrasterization: enabledskia_deferred_display_list: disabled_offskia_renderer: disabled_offsurface_synchronization: enabled_onvideo_decode: enabledviz_display_compositor: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
15.84GB (3.57GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (13)

Extension
Author (truncated)
Version

admin-pack
Mic
0.0.2

admin-tool-ext-win
Mic
0.0.2

agent
Mic
0.43.0

big-data-cluster
Mic
0.0.1

cms
Mic
0.5.0

dacpac
Mic
0.7.0

import
Mic
0.11.0

powershell
ms-
2019.9.0

profiler
Mic
0.10.0

query-history
Mic
0.1.0

schema-compare
Mic
0.7.0

sql-vnext
Mic
0.14.1

azdata-sanddance
msr
1.3.7

(1 theme extensions excluded)

@vickyharp we've made improvements in this area this week. Do you still see this behavior?

We've changed a number of things in this area and I was unable to repro after testing for a while just now. Please let us know if you see this again and feel free to reopen if you see this again @vickyharp!

We've changed a number of things in this area and I was unable to repro after testing for a while just now. Please let us know if you see this again and feel free to reopen if you see this again @vickyharp!


client: 410 is a vaild response for member.Remove

When removing a member, etcdserver might return 410 that indicates
the member has been removed. To client, 410 is a vaild response since
the client might do internal retry.

Merging since this is low risk and blocking my another pr.


Does the visual model freeze during the pre-training phase?

Does the visual model freeze during the pre-training phase?

activate

activate
从checkpoint上来看，vit 用的是EVA02-4B的模型，模型输入分辨率支持1344*1344，说position_id肯定走了插值，想问下EVA02这块的改动，是怎么自适应的？是EVA02-4B单走了CLIP训练，还是说多模态时VIT unfreeze直接硬训EVA02的position-id?


fix: use unknown type for errors

Description:
Errors can be of any type. unknown is preferable to any, as any completely disables type checking:
declare const myError: any;
myError.some.property.that.does.not.exist // runtime error!

Yeah, this would be a breaking change. And I'm not sure it's correct. Sure, the type of error is "unknown", but the error could also literally be anything. This change would force everyone to explicitly define the type of error they think they're going to get, and would be a pretty massive breaking change for people.
We can discuss this at the next team meeting, but I'm going to say it's unlikely we'll be willing to introduce such a massive breakage for TS users in this next version.

Related: https://github.com/ReactiveX/rxjs/issues/5066#issuecomment-540387259
Basically, I don't think we should make changes to this until TypeScript does, too - e.g. for Promise.

We've decided to leave as-is, until TS does something similar with Promise's error path.


Get data for city search

population, name, district, region, country, coordinates, frontend
We use Algolia

Did it differently


I had a question about the az login, is that just OAuth2 Authorization Code flow?

I noticed the CLI starts a web server, and listens for the browser to reply with the code before it can turn around and get a token using the code.
Is that just regular Authorization Code Flow? If so, do you guys just register that range of locahost and ports as valid redirect urls? I figured the redirect uri was an important part of the OAuth2 spec so im not sure how the user agent would redirect.
Device code flow would be my next guess, but that involves polling the server until it replies with a token (once the user confirms the code).
And my last guess is a custom grant type in which case im not sure the process at all.
I ask as an IdentityServer4 user looking to implement something similar for my users. I dont want to use Auth Code Flow since they explicitly advise against it in the docs, I dont want to use Resource Owner grant since that is also explicitly advise against, my next best bet seems to be Device Code Flow using the verificationUrlComplete to fire a process that opens the browser and lets the magic work.
Thanks

Yes, it is just OAuth2 Authorization Code flow
If so, do you guys just register that range of locahost and ports as valid redirect urls?

AAD supports any ports, so with the same host name, any ports will be valid; hence a range is not required.
I can understand Resource Owner Grant is not recommended because your users are passing credentials to your app, so they have to fully trust your app is not a malware. Rule of thumb is your credentials should only be circulated between you and your identity provider (like AAD, Facebook, Twitter, etc)
Auth Code Flow is the most popular authentication flow and almost every web applications are using it if an oauth identity provider is involved.
Hope this helps. I am closing this since I have answered your questions, and there are no CLI issues involved here...


Improve drag start handling for mnemonic fields

Enhance user experience by preventing default drag behavior when <sp-textfield> is focused to allow the user to select text.
Resolve: https://jira.corp.adobe.com/browse/MWPW-162509
Test URLs:
Before: https://main--mas--adobecom.hlx.live/studio.html
After: https://mwpw-162509--mas--adobecom.hlx.live/studio.html#path=drafts

@Axelcureno  Verified it...


PDF extracts: whole page is visually selected after extracting

shown in the video in first two seconds.
notes:
-doesnt happen every time
-happens in more PDFs than just this one
-there seems to be points in the PDF where whole pdf is selected (as shown in the video)

More info:

when you select empty space (tiny area between letters) whole page is selected. Im not sure why this happens with alt+x once in a while though.

More info:

when you select empty space (tiny area between letters) whole page is selected. Im not sure why this happens with alt+x once in a while though.

Can't reproduce. If anyone figures out how to systematically reproduce this issue, please let me know by writing in this issue.

@nikedinikedi Can you add your explanations to that issue ?


what is the purpose of the started flag

I was having a quick play around in this codesandbox.
I was following the examples which follow this pattern:
  if (!started) {
    return (

        <button onClick={() => start()}>GET</button>

    );
  }

  // code will never get here because started will be false by the time result has resolved

  if (error) return <Err error={error} />;
  if (pending) return <Loading abort={abort} />;

  if (!result) {
    return
No Beers today!
;
  }

  // display results

The problem is that in my example anyway.
By the time I have a result, started will be false.
I have to change the first if statement to this:
if (!started && !result) {
I wonder if rather than individual error, loading, pending states, there should actually be a state machine where you are only ever in one state rather than individual flags.
Or am I misunderstanding how started workds.

You would probably only need pending. started is required for useAsyncCombine*. We could think about removing it from the public API.
I thought about the combined state, but I thought the current pending, error and result is somewhat intuitive enough.
For reference, see TS types:
https://github.com/dai-shi/react-hooks-async/blob/af0241b32d697b3c3e4d29ed0e82f4cf797a6e37/src/index.d.ts#L6-L20

you could have these as:
 {
   pending: boolean;
   error: Error | null;
   result: Result | null;
 }

No, it's not the same. That's the point. If pending is false, either error or result is non-null.
if (pending) return 'Loading';
if (error) return 'Error';
// otherwise we are sure that the result is `Result` type


add support for gcr buckets with uniform_bucket_level_access = true

The new default setting for buckets is to use bucket-level policies (instead of an ACL), this also applies to buckets created for the container-registry. These buckets don't support setting google_storage_bucket_access_control policies, so the ACL grant fails.
This PR uses the new (as of v3.88 of the google terraform provider) google_storage_bucket datasource to determine whether or not uniform_bucket_level_access = true is set, and if so uses the google_storage_bucket_iam_member resource to grant access.
Since this datasource was only added in v3.88, I've upgraded the minimum version of the provider (and the lockfile) accordingly.
This PR also:

adds support for specifying a project_id variable to override the provider-project (something I needed to support my workflow)
fixes a bug where you couldn't specify the same project with different storage regions in the gcr_repositories variable,
e.g.

repositories = [{
  project = "my-project"
  clean_all = true
  storage_region = "eu"
 }, {
  project = "my-project"
  clean_all = true
  storage_region = "asia"
}]

I've bundled these changes because I was testing them all on the same branch, but please let me know if you would prefer me to split them into separate PRs.

Hello @andyroyle and thank you for opening this PR. Could you please split it by scope (adding project_id, same project with different storage regions, uniform_bucket_level_access) ?


Publish version 0.1.1 for password

You changed the pass configuration to password here https://github.com/okumin/akka-persistence-sql-async/commit/5c9d964a33a3c7370922928107c9ac41c88476c3#diff-a4441f1c142401995aaa7a4923038bab and that looks like a good change. But the currently published maven version contains the pass version. Perhaps you could release a 0.1.1 version with this change?

Finished to publish v0.2 release.
https://github.com/okumin/akka-persistence-sql-async/releases/tag/v0.2
Thanks!


Update version to 2.5.0 and update changelog.

Current dependencies on/for this PR:

main

PR #23   👈

This stack of pull requests is managed by Graphite.

Merge activity

Jan 11, 12:53 PM: @jklein24 merged this pull request with Graphite.


Could not create stack with the same name in other environment

Description:
I have a Portainer installed on my localhost docker, which has two added remote docker swarm. I create new stack with the name "test" over portainer interface on the first swarm environment. Next, i try to create new stack with the same name on the second swarm environment, but i receive this message
Deployment error
A stack already exists with this name

Expected behavior:
New stack should be created successful.
Steps to reproduce the issue:

Create two docker swarm environments (for example, two virtualbox machines with installed docker swarm)
Deploy Portainer in the first environment and add second environment as endpoint
Create stack on the first environment
Try to create stack with the same name on the second environment

Technical details:

Portainer version: 1.18.1
Target Docker version (the host/cluster you manage): 18.03.1-ce
Platform (windows/linux): Linux

Duplicate of #1347


Too many things are getting logged - we should have logic to check for redundancy and send less logs plz

I've added logic for this already as of 1.0.8 which checks for those logs that log multiple times and only logs them once


Add a licence information

What is the license of your app? could you add licence information as file or headers on each source file?

I haven't really think about it before, but the MIT license looks good to me for this project.
Just added a basic license info to the project.


bug/make test has failing tests for WSL2

Describe the bug
make test has  13 failed, 758 passed, 3 skipped, 2 xfailed, 8 xpassed, 12 warnings
To Reproduce
make test (on main branch)
Expected behavior
all tests to pass
Desktop:

OS:

WSL version: <IP_ADDRESS>
Kernel version: <IP_ADDRESS>
WSLg version: 1.0.51
MSRDC version: 1.2.3770
Direct3D version: 1.608.2-61064218
DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Windows version: 10.0.19045.2965

Python version

3.8.15

Additional context
================================= short test summary info =================================
FAILED test_unstructured/partition/test_auto.py::test_auto_partition_rtf_from_filename - RuntimeError: Invalid input format! Got "rtf" but expected one of these: commonmark, c...
FAILED test_unstructured/partition/test_auto.py::test_file_specific_produces_correct_filetype[FileType.RTF] - RuntimeError: Invalid input format! Got "rtf" but expected one of these: commonmark, c...
FAILED test_unstructured/partition/test_auto.py::test_auto_partition_xlsx_from_filename - AssertionError: assert 'Team Locatio...eafs TOR 13.0' == 'Team Locatio... Leafs TOR 13'
FAILED test_unstructured/partition/test_auto.py::test_auto_partition_xlsx_from_file - AssertionError: assert 'Team Locatio...eafs TOR 13.0' == 'Team Locatio... Leafs TOR 13'
FAILED test_unstructured/partition/test_image.py::test_partition_image_with_ocr_detects_korean - AssertionError: assert False
FAILED test_unstructured/partition/test_image.py::test_partition_image_with_ocr_detects_korean_from_file - AssertionError: assert False
FAILED test_unstructured/partition/test_pdf.py::test_partition_pdf_with_fast_groups_text - AssertionError: assert 11 > 1000
FAILED test_unstructured/partition/test_rtf.py::test_partition_rtf_from_filename - RuntimeError: Invalid input format! Got "rtf" but expected one of these: commonmark, c...
FAILED test_unstructured/partition/test_rtf.py::test_partition_rtf_from_file - RuntimeError: Invalid input format! Got "rtf" but expected one of these: commonmark, c...
FAILED test_unstructured/partition/test_xlsx.py::test_partition_xlsx_from_filename - AssertionError: assert 'Team Locatio...eafs TOR 13.0' == 'Team Locatio... Leafs TOR 13'
FAILED test_unstructured/partition/test_xlsx.py::test_partition_xlsx_from_file - AssertionError: assert 'Team Locatio...eafs TOR 13.0' == 'Team Locatio... Leafs TOR 13'
FAILED test_unstructured/partition/test_xlsx.py::test_partition_xlsx_can_exclude_metadata - AssertionError: assert 'Team Locatio...eafs TOR 13.0' == 'Team Locatio... Leafs TOR 13'
FAILED test_unstructured/staging/test_weaviate.py::test_weaviate_schema_is_valid - NameError: name 'validate_schema' is not defined
= 13 failed, 758 passed, 3 skipped, 2 xfailed, 8 xpassed, 12 warnings in 504.91s (0:08:24)

For the tests with the csv and xlsx files, the floats seem to be introduced by pd.read_excel. I haven't looked into what else might be happening making it so I'm the only one with this issue though. Also found this, which seems like the explanation behind why: https://stackoverflow.com/a/55586135/12406158
Note: There is the dtype parameter, but I tried setting that to object and it didn't work.
See also: https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.read_excel.html

I'm trying to load an RTF file and get the same error.
[/usr/local/lib/python3.10/dist-packages/pypandoc/__init__.py](https://localhost:8080/#) in _validate_formats(format, to, outputfile)
    278
    279     if _get_base_format(format) not in from_formats:
--> 280         raise RuntimeError(
    281             'Invalid input format! Got "%s" but expected one of these: %s' % (
    282                 _get_base_format(format), ', '.join(from_formats)))

RuntimeError: Invalid input format! Got "rtf" but expected one of these: commonmark, creole, csv, docbook, docx, dokuwiki, epub, fb2, gfm, haddock, html, ipynb, jats, jira, json, latex, man, markdown, markdown_github, markdown_mmd, markdown_phpextra, markdown_strict, mediawiki, muse, native, odt, opml, org, rst, t2t, textile, tikiwiki, twiki, vimwiki

My code on colab is:
!pip install pandoc "unstructured[all-docs]"
from unstructured.partition.rtf import partition_rtf
elements = partition_rtf(filename='/content/test.rtf')