sticky-sidebar blocking mouseclick

Steps to reproduce:

⚠ Switch to any branch that isn't the default branch
Collapse code browser or go directly to readme file
Try and switch to a branch that is on top of the sticky-sidebar

Example:

I find it weird that this only happen if not currently on the default branch..
anyone have any idea why that would happen?

Duplicate of https://github.com/sindresorhus/refined-github/issues/4240


Unable to Close Split Editor without saving or cancelling a dirty file

VSCode Version: 1.3.1
OS Version: Windows 7

Steps to Reproduce:

Open a File.
Make revisions to the file.
Click the Split Editor (opening the file in two editors).
Close the the second Editor.
If you click "Don't Save" it loses the changes on the first window.
Need a way to close a panel without saving or cancelling a save.

https://github.com/Microsoft/vscode/issues/8983


Firebase C++ SDK - Windows 10 - Build Error

[REQUIRED] Please fill in the following fields:

Pre-built SDK from the website or open-source from this repo: Open-Source from this repo
Firebase C++ SDK version: 11.4.0
Main Firebase Components in concern: All
Other Firebase Components in use: All
Platform you are using the C++ SDK on: Windows
Platform you are targeting: Windows

[REQUIRED] Please describe the question here:
I m getting a build error while trying to build Firebase C++ SDK on Windows 10
Below is the error message while building using CMake :
CMake Error at desktop_build/external/src/firestore/cmake/firebase_utils.cmake:87 (message):   firebase_execute_process(): command failed with non-zero exit code 1:   C:/Program Files/CMake/bin/cmake.exe --build .  -- (working directory:   E:/Program   Files/Firebase/firebase-cpp-sdk-11.4.0/desktop_build/external/src/firestore-build/external) Call Stack (most recent call first):   desktop_build/external/src/firestore/cmake/external_rules.cmake:61 (firebase_execute_process)   desktop_build/external/src/firestore/CMakeLists.txt:118 (download_external_sources)
Commands used for the building :
mkdir desktop_build && cd desktop_build cmake -G “Visual Studio 16 2019” ..
I have both 2019 and 2022 versions of VS Community installed
Tried with Firebase C++ SDK Version - 11.3.0 as well and getting the same error
Not able to recognise the root cause of the error.

i am agetting the same error

why there is no one responding to this question, i am sure it is an error to be reviewed...
Thank you

Also under Windows 10 i have "Getting released firebase-ios-sdk @ CocoaPods-10.16.0
"
it is correct?

I was also having similar errors but managed to resolved them after pulling latest changes and updating nanopb.
First make sure you have all of the prerequisites installed. Then download the latest version of nanopb and replace the older version located here:
external\src\firestore-build\external\src\nanopb

It's been almost 2 months and still no update? Firebase C++ SDK does not compile on Windows 10.

I'm having this issue as well

  add_subdirectory given source
  "C:/Users/jared/IdeaProjects/isurrf_ui/build/windows/extracted/firebase_cpp_sdk_windows"
  which is not an existing directory.

CMake Error at flutter/ephemeral/.plugin_symlinks/firebase_core/windows/CMakeLists.txt:95 (get_target_property):
  get_target_property() called with non-existent target "firebase_app".

CMake Error at flutter/ephemeral/.plugin_symlinks/firebase_core/windows/CMakeLists.txt:96 (string):
  string sub-command REPLACE requires at least four arguments.

CMake Error at flutter/ephemeral/.plugin_symlinks/firebase_core/windows/CMakeLists.txt:97 (set_target_properties):
  set_target_properties Can not find target to add properties to:
  firebase_app

Exception: Unable to generate build files```

Doctor summary (to see all details, run flutter doctor -v):
[√] Flutter (Channel stable, 3.13.9, on Microsoft Windows [Version 10.0.22631.2792], locale en-US)
[√] Windows Version (Installed version of Windows is version 10 or higher)
[√] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
[√] Chrome - develop for the web
[√] Visual Studio - develop Windows apps (Visual Studio Community 2022 17.7.3)
[!] Android Studio (not installed)
[√] IntelliJ IDEA Ultimate Edition (version 2023.3)
[√] VS Code, 64-bit edition (version 1.85.0)
[√] Connected device (3 available)
[√] Network resources

! Doctor found issues in 1 category.

I found that the build scripts require the patch and sed utilities, which on Windows you can install e.g. via Chocolatey:
choco install patch sed


A problem occurred evaluating project ':UnityExport'.

A problem occurred evaluating project ':UnityExport'.

Project with path ':unityLibrary' could not be found in project ':UnityExport'.

A problem occurred evaluating project ':UnityExport'.

Project with path ':unityLibrary' could not be found in project ':UnityExport'.

Hi, did you know how to fix it?

Project with path ':UnityExport' could not be found in project ':react-native-unity-view'.


3.0-backport: Add support for OIDC connectors to dex configmap (bsc#1116376)

Backport OIDC support to 3.0 release.  WIP until I can get the 3.0 release to actually build, so creating the PR makes me feel like I've accomplished something.
(cherry picked from commit 9ef0f58a26a90eecbdb5a93425c0b94f8cc25581)

Removing no-bugzilla-ref tag
bsc#1116376


zumoappname - sync failed [android studio 3.5.3]

Hallo every one.
I try open and sync the app exemple:
azure-mobile-apps-quickstarts\client\android\ZUMOAPPNAME\app
But the sync proccess failed with one error.
"ERROR: Could not find method implementation() for arguments [directory 'libs'] on object of type org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler."
Someone can help me?
TKS

Hello, @PoliPlanta, can you elaborate - at what step do you face the problem?
What steps would reproduce the problem? Did you run through and followed instructions from this guide?
Looking forward to hear from you

We haven't heard from you for a while, so I'm closing the issue. Face you the problem again - please respond in this thread.
Have a nice day.


Give Uri the ability to set districtwide access via the admin dashboard

Note to self: if we give Uri this ability, then any admin will have this ability. That includes principals, who currently just have schoolwide data access. So in theory if we ship this as an option for all admins, principals will be able to give themselves access to all district data. Would be better to fine-tune this to just Uri and the dev account if possible.


Hello booker-max,

Hi ice-cream567,
I will upload the sample data to this Baidu link. The password is h165. Please follow the instructions here to assemble the zip file from the splits. The upload should finish within around 24 hours.
I hope this helps! Let me know if you have further concerns.

I got it,thank you very much.


Add support to invoke args as string

The idea is providing a more "directly" way to use CliRunner.invoke. Depending on how many arguments/options you have it is really annoying writing all of them as a list
CliRunner().invoke(mycmd, ["mygroup", "foo", "bar", "--hey", "ya"])

since all I want is
CliRunner().invoke(mycmd, "mygroup foo bar --hey ya")

Sure, I can just add a .split() at the end (and this PR is all about this) but why not adding this as default?
Also took the chance and added tests related to invoke(args) since there was none (at least as far as I can see).

What about arguments that have strings in them? What about all the escaping and quoting rules from bash? Splitting by whitespace is insufficient, explicit is also better than implicit.
On 28 September 2016 20:05:47 CEST, Fabio Menegazzo<EMAIL_ADDRESS>wrote:

The idea is providing a more "directly" way to use CliRunner.invoke.
Depending on how many arguments/options you have it is really annoying
writing all of them as a list
CliRunner().invoke(mycmd, ["mygroup", "foo", "bar", "--hey", "ya"])
since all I want is
CliRunner().invoke(mycmd, "mygroup foo bar --hey ya")
Sure, I can just add a .split() at the end (and this PR is all about
this) but why not adding this as default?
Also took the chance and added tests related to invoke(args) since
there was none (at least as far as I can see).
You can view, comment on, or merge this pull request online at:
https://github.com/pallets/click/pull/664
-- Commit Summary --

Add support to invoke args as string

-- File Changes --
M click/testing.py (7)
M tests/test_testing.py (20)
-- Patch Links --
https://github.com/pallets/click/pull/664.patch
https://github.com/pallets/click/pull/664.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/pallets/click/pull/664

--
Sent from my Android device with K-9 Mail. Please excuse my brevity.

@untitaker you have a point about arguments with strings but the idea here is bringing invoke closer to how it will be used on terminal. Yes, the support must be improved but a don't think this is an invalid idea.
Anyway, if you guys think this PR is unreasonable let's just drop it. :smile:

That's totally fair. I'm unsure whether I want this PR, but in any case I'd recommend using shlex over split.
On 28 September 2016 20:24:52 CEST, Fabio Menegazzo<EMAIL_ADDRESS>wrote:

@untitaker you have a point about arguments with strings but the idea
here is bringing invoke closer to how it will be used on terminal. Yes,
the support must be improved but a don't think this is an invalid idea.
Anyway, if you guys think this PR is unreasonable let's just drop it.
:smile:
--
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub:
https://github.com/pallets/click/pull/664#issuecomment-250255337

--
Sent from my Android device with K-9 Mail. Please excuse my brevity.

@untitaker done. Feel free to request more changes or, as I said later, drop it. :tada:

Cool thanks!


JSON format for AIS encoding

What is the JSON format for the encoder ? Is there any example?

Sorry - I didn't see this until now. This has been a solo project for a long time.
The JSON for the encoder is identical to the JSON returned by the decoder, which is the JSON schema that is used by libais.   Note however that only some message type can be encoded.  The messages that pass through to libais to be decoded do not have encoders.   Right now that is just message types 8, 18, 19, 24, 25.    Each time we need a decoder that is different from libais we add another message type.
To get sample JSON for encoding, the best thing to do is run a few messages through decode and capture the output.


/bin/ash might not be correct?

https://github.com/gohornet/hornet/blob/bd611bc74b4171aa13d7a86970ad07380c8fee9d/private_tangle/docker-compose.yml#L9

Yes it is ;-)
It runs inside alpine linux and that is a built-in shell there.


Revert "Merge pull request #2970 from cloudflare/kenton/sqlite-statem…

…ent-cache-3"
This reverts commit 9326b8a5c1bdf5cef9616d750d56b5f7152c3ed0, reversing changes made to bbde7e4f9352be729c0daa379d23a9ecbea44585.
We believe that the SQLite query cache has lead to a latency increase for many workloads.

Does this require a matching internal pr?

Yes.  See 9194.  I needed to push this to know what PR number to include in the internal PR.

This could break anyone who has become dependent on the ability to pass multiple statements at a time to D1's prepare() API.

This could break anyone who has become dependent on the ability to pass multiple statements at a time to D1's prepare() API.

FWIW we see this frequently from users on the Cloudflare Developers Discord so definitely a valid concern.

See #3117 for a better fix.


API Gateway should be optional

The API Gateway is only useful when external traffic is expected. In cases where all traffic will be internal to the VPC in which Metaflow is hosted, the API Gateway only adds value if it's used for additional access control. It's also a liability because the only way to deny all incoming traffic is to misuse the access_list_cidr_blocks variable to make the API Gateway's resource policy allow traffic only from an impossible IP range.
I see two solutions here:

If the API Gateway is useful even for all-private traffic (e.g. to allow other forms of access control), then it should be possible to make it private
If the API Gateway is not useful for all-private traffic, then it should be possible to disable it in the module

I think the first solution is preferable in the long run, but the second is simpler to implement. I'm happy to open a PR but I'm not sure which way to go.

I'm also in a situation where the API gateway goes unused; it would be nice to see this be optional.

Agree with this - we could really use optional API gateway too


Support scanning privileges on non-English hosts

Uses the Win32 C API to get the current user privileges when scanning for SeDelegateSessionUserImpersonatePrivilege. This removes the need for calling whoami /all which is language dependent and may not be parseable on Windows hosts configured in other languages.
Supersedes https://github.com/KelvinTegelaar/RunAsUser/pull/35 and https://github.com/KelvinTegelaar/RunAsUser/pull/32

Jordan being a superhero once again. Thanks! Merging as soon as i'm at a machine.

You’re welcome, I was in the neighbourhood and saw those 2 PRs and had similar code I could integrate.

Merged and pushing to gallery soon. :)


when the training script will be released?

As our training code is highly integrated with our in-house tools, there are currently no plans to open source the training code～

So it can't be used by our third party personnel now?

running this model on A6000 with inference time taking over ten seconds, how to  accelerate inference

You can use Pytorch framework to repeat the training code according to the training methods mentioned in the paper. We mainly use Deepspeed and Flash-attention for acceleration, in which the model code is completely given and can be used directly. In addition, the adapter weight has been given, you can design your own experiment based on the current checkpoint for academic research purposes

Sorry that we didn't pay too much attention to the time taken to infer, but here are some tips that I hope will help you：
(1) Maybe you could set dtype to float16;
(2) You can set image_res from 420 to 224 in the config to accelerate the encoding time of image. However, it can reduce the effect of the model, especially on tasks with high pixel requirements;
(3) If you think that the inference time for one sample is too long, try increasing the batch size to reduce the average time cost.

Sorry that we didn't pay too much attention to the time taken to infer, but here are some tips that I hope will help you： (1) Maybe you could set dtype to float16; (2) You can set image_res from 420 to 224 in the config to accelerate the encoding time of image. However, it can reduce the effect of the model, especially on tasks with high pixel requirements; (3) If you think that the inference time for one sample is too long, try increasing the batch size to reduce the average time cost.

Hi, I would like to know the training details of visual encoder. Did the visual encoder trainable during stage1  (224) and stage2 (420)?

We only trained visual encoder in pre-train (stage2 224 to 420, 10k).


Fix 38745: Importing FBX of a non-Unicode encoded path causes Assimp throws error

Fixes #38745 by converting the path to utf8

Thanks for this fix, can you please update the commit message to be "import" there is a spelling error as you've written "inport".

@RevoluPowered fixed

Thanks!

@akien-mga this was my eleventh commit (source: https://github.com/godotengine/godot/commits?author=MCrafterzz) so will I be added to the contributors list?

Yes, in my next update commit (at the start of July). Which name would like you me to put?

Yes, in my next update commit (at the start of July). Which name would like you me to put?

Marcus

Cherry-picked for 3.2.2.


Add The Knowledge AI and Go Http Client to the bots list

Add The Knowledge AI bot and Go Http Client to the bots list.

Thanks!


Changes to handle authentification

In this PR, I :

Added the necessary functions to handle the authentication.
Used the rails session to manage the authentication of a user.
Provided the correct error messages.

Thank you for this gentle feedback


Make README commands specifically call python3

Most systems bind python to python 2 by default (instead of the python 3 that you want)

but on windows, python3 doesn't exist...

Oh. You can close this then


Login page

Describe the project you want to add with tech stack
I want to add a new login page with an attractive UI. The tech stacks used are HTML, and CSS.
Expected behavior
The login page will be directed to the sign-in page if the user has no account. The UI is mainly targeted for websites related to educational purposes.

@MohitGupta121  please assign me this issue under gssoc'23


OAK-10662 improve Reproducible Builds

https://issues.apache.org/jira/browse/OAK-10662
if someone know how OSGI-INF/l10n/*.properties are generated, this is one common case for most of remaining issues = Properties save with timestamp: I don't know where this happens and I'd prefer avoiding post-processing

I believe these are created by the ancient Felix SCR plugin (see OAK-6741)


chore: Combine run ldk and connect into a single thread

Both actions are blocking, this will free up a thread.

bors r+


PDA calculation and verification

Hi guys,
This is NOT a bug, but just a question, as we could not find where we could post it. Is there a way to check if the account is a PDA one? If not, is it possible to calculate the PDA based on a programId and seeds in the solidity code itself, similar to how it could be done via the findProgramAddress() method in TS?
Thank you for your reply!

This is NOT a bug, but just a question, as we could not find where we could post it.

There is a stack overflow for Solang: https://solana.stackexchange.com/questions/tagged/solang

Is it possible to calculate the PDA based on a programId and seeds in the solidity code itself.

Yes, it is. You can create or find a PDA in Solidity.

Thank you so much for such a swift and very spot on reply! Indeed, now I remember seeing the try_find_program_address function.
Also, thank you for the stack overflow link.


Make queries path configurable

Recent change that added support for gql files broke our workflow, where we share a repository which contains both schema.graphql and schema.json files with schema definitions, and queries/ folder with .graphql files with queries.
Previously we already changed schema file from graphql extension to gql, because of the graphql/schema.gql: The schema definition is not executable. error. However due to newly added support for gql files, we now can't generate classes at all, due to inflexibility regarding Apollo's gradle plugin configuration.
So it would be good to allow configuration of not only schema file, but also queries directory, instead of hardcoding current **/*.[graphql|gql].

Is there any reason why client queries along with schema json can be placed into different sub folder, like graphql/client/com/sample/*.[graphql|gql|json]?

The main thing is that since the repo (schemas, queries etc) is shared, we'd be introducing some hierarchy that doesn't make much sense for non-android users.
Another thing that would work for us would be excluding schema.[graphql|gql] from files passed to the compiler. I see that schema.json name is hardcoded, if schema.graphql normally shouldn't be passed to the compiler then perhaps it would make sense as well?

Will it make sense for you if plugin provides configuration to exclude files by pattern so that you can exclude **/*.gql for your project in apollo plugin configuration?

Sure, any way of allowing that would work


Fix issue 17340 - isNumeric!bool should not be true

https://issues.dlang.org/show_bug.cgi?id=17340

Regression fixes should go onto stable so they get included in the next point release.
Please use the Github UI (the button next to the PR title) to change the base branch and then manually rebase the changes onto the right commit.

Please use the Github UI (the button next to the PR title) to change the base branch

Done...

manually rebase the changes onto the right commit.

What is "the right commit"? How do I do this?

@tsbockman I generally have to look up the directions when doing this: https://wiki.dlang.org/Starting_as_a_Contributor#Stable_Branch

The changes seem quite simple, maybe just checkout the stable branch and recreate it might take less time.

ping @wilzbach dlang bot seems to have erred here. I think when the branch was targeting stable, but included all the fixes from master, it confused the hell out of the bot and it put some unrelated bug links. But it hasn't put the correct link here (fix 17340). I'm concerned about merging this might post to wrong bug report.

Hm... auto tester I think doesn't like that the PR moved from master to stable (https://auto-tester.puremagic.com/pull-history.ghtml?projectid=1&repoid=3&pullid=5343). Something's not right. @braddr?

@schveiguy The bug report the bot says it will close is already closed, so it should be fine.
Also, I had the same issue with another PR that I switched to stable. After I added the auto merge tag and the auto tester prioritized it, it was tested eventually.

@JackStouffer What's odd is that the auto tester is testing against master. And they are new runs, so it hasn't picked up that it needs to test against stable since the retargeting occurred. I don't know if it will switch automatically.

Autotester seems completely confused. I'm gonna try closing and reopening this PR to see if that helps. Apologies in advance if that screws things up.

Auto-merge toggled on

OK, that seems to have kicked some sense into the autotester. Let's hope it goes through this time.

hah! dlang bot edited its comment when you reopened, very slick.

Removed the auto merge label since the auto tester is going to merge it.

Auto-merge toggled on

Great. Thanks!


Initial Setup Instructions for Prototype.

Fixes #2, #3 , #4
What's currently present

Speech Detection through Google Speech Recognition API
Speech Output through Festival TTS

Tested on

Arch Linux (Latest)

@chiragw15 Made suggested changes.


MOSN will oom without panic log

Describe the bug
Use dynamic config with xDS, first request will cause MOSN oom
2020-11-09 08:04:00,965 [DEBUG] [2,-] [router] [DefaultHandklerChain] [MatchRoute] matched a route: &{0xc00014ec80 /}
2020-11-09 08:04:00,965 [DEBUG] [2,-] [proxy] [downstream] enter phase DownFilterAfterRoute[3], proxyId = 1
2020-11-09 08:04:00,965 [DEBUG] [2,-] [proxy] [downstream] enter phase ChooseHost[4], proxyId = 1
2020-11-09 08:04:00,965 [DEBUG] [2,-] [proxy] [downstream] route match result:&{RouteRuleImplBase:0xc00014ec80 prefix:/}, clusterName=outbound|20882||com.dmall.asynctest.api.userinfoservice
2020-11-09 08:04:00,965 [DEBUG] [upstream] [cluster manager] clusterSnapshot.loadbalancer.ChooseHost result is <IP_ADDRESS>:20882, cluster name = outbound|20882||com.dmall.asynctest.api.userinfoservice
2020-11-09T08:04:01.308220Z	warn	Envoy may have been out of memory killed. Check memory usage and limits.
2020-11-09T08:04:01.308264Z	error	Epoch 0 exited with error: signal: killed
2020-11-09T08:04:01.308268Z	info	No more active epochs, terminating

look at the /var/log/messages will find oom log
Nov  9 16:44:25 VM-247-3-centos kernel: [ pid ]   uid  tgid total_vm      rss nr_ptes nr_pmds swapents oom_score_adj name
Nov  9 16:44:25 VM-247-3-centos kernel: [3921863]  1337 3921863   196177    18101      64       4        0           999 pilot-agent
Nov  9 16:44:25 VM-247-3-centos kernel: [3921900]  1337 3921900 43484988   521235    2694       9        0           999 mosn
Nov  9 16:44:25 VM-247-3-centos kernel: Memory cgroup out of memory: Kill process 3921900 (mosn) score 1997 or sacrifice child
Nov  9 16:44:25 VM-247-3-centos kernel: Killed process 3921900 (mosn) total-vm:173939952kB, anon-rss:2054668kB, file-rss:30272kB, shmem-rss:0kB

Expected behavior
Actual behavior
Steps to reproduce
Minimal yet complete reproducer code (or GitHub URL to code)
Environment

MOSN Version

https://github.com/mosn/mosn/pull/1469


Share entries

Add a function that allows the user to share an entry (WhatsApp, Mail, etc.).

Tap and hold on a card
Maybe a "plain text copy function"?

Implemented in 0cd7403bf062fab8540ca8c20342eea60f85a107


Fix "unknown command 'AUTH'"

I got the following error when I tried to connect to Redis Sentinel with password:
>>> import redis_sentinel_url
>>> s, c = redis_sentinel_url.connect('redis+sentinel://:secret@sentinel1:26379,sentinel2:26379,sentinel3:26379')
>>> m = s.master_for('mymaster')
>>> m.info()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.5/site-packages/redis/client.py", line 665, in info
    return self.execute_command('INFO')
  File "/usr/local/lib/python3.5/site-packages/redis/client.py", line 572, in execute_command
    connection.send_command(*args)
  File "/usr/local/lib/python3.5/site-packages/redis/connection.py", line 563, in send_command
    self.send_packed_command(self.pack_command(*args))
  File "/usr/local/lib/python3.5/site-packages/redis/connection.py", line 538, in send_packed_command
    self.connect()
  File "/usr/local/lib/python3.5/site-packages/redis/sentinel.py", line 44, in connect
    self.connect_to(self.connection_pool.get_master_address())
  File "/usr/local/lib/python3.5/site-packages/redis/sentinel.py", line 100, in get_master_address
    self.service_name)
  File "/usr/local/lib/python3.5/site-packages/redis/sentinel.py", line 213, in discover_master
    masters = sentinel.sentinel_masters()
  File "/usr/local/lib/python3.5/site-packages/redis/client.py", line 707, in sentinel_masters
    return self.execute_command('SENTINEL MASTERS')
  File "/usr/local/lib/python3.5/site-packages/redis/client.py", line 572, in execute_command
    connection.send_command(*args)
  File "/usr/local/lib/python3.5/site-packages/redis/connection.py", line 563, in send_command
    self.send_packed_command(self.pack_command(*args))
  File "/usr/local/lib/python3.5/site-packages/redis/connection.py", line 538, in send_packed_command
    self.connect()
  File "/usr/local/lib/python3.5/site-packages/redis/connection.py", line 446, in connect
    self.on_connect()
  File "/usr/local/lib/python3.5/site-packages/redis/connection.py", line 514, in on_connect
    if nativestr(self.read_response()) != 'OK':
  File "/usr/local/lib/python3.5/site-packages/redis/connection.py", line 582, in read_response
    raise response
redis.exceptions.ResponseError: unknown command 'AUTH'

This PR should fix the issue.
Ref: andymccurdy/redis-py#483

@harai thanks for the contribution!


Add a Dream.livereload middleware

The code is adapted from dream-livereload, itself adapted from the w-live-reload example.
We update the w-live-reload to use the newly introduced middleware.

@tmattio, I think we should remove the unit argument. The unit argument makes Dream.livereload () compose better with Dream.no_middleware inside an if-expression. But we already have middlewares that may be used in development but that don't have the unit argument and therefore don't compose well inside if, for example, Dream.memory_sessions:
https://github.com/aantron/dream/blob/6e666d4c7079b29d2f287febe312cae20c116900/src/dream.mli#L1573
Also, this approach is not future-proof, because any middleware could gain an optional argument in the future, and we won't be able to add unit arguments to them without breaking users. This does mean that adding any optionals to any middlewares will break them if they are used inside if-expressions, but that's just a general flaw of optional arguments in OCaml.
We will just add an Dream.if_ combinator later if needed. For example:
let if_ : bool -> then_:Dream.middleware -> Dream.middleware =
    fun condition ~then_ ->
  if condition then
    then_
  else
    Dream.no_middleware

It's also possible for the user to work around this using a type constraint, Dream.livereload : middleware, although, of course, this is awkward.
Separately, are the ?script and ?path options really needed? We can probably get by for now without them. I'd rather add them later on request, than support them when there is no evidence of them being used (I mean, I don't have any -- you may well have!).

@tmattio, I'm taking over this PR to merge it in!


Admin users cannot see organisations private repositories

Gogs version: <IP_ADDRESS>3
Operating system: Debian Linux 8 amd64
Database:

[ ] PostgreSQL
[X] MySQL
[ ] SQLite

Description
As a Admin user I cannot see the private repositories on the organisation page. When managing teams with repository access the autocomplete is probably also broken due to non-visible private repositories.
To reproduce probably:

Create organisation
Create private repos in organisation
Dont add Admin user to any team
As admin user browse to the organisation landing page
See the organisation page is empty
When adding the Admin user to the Owners it is still only able to view the Owner Team added repositories
When adding "all" repositories of the organisation into the Owner Team it is visible.

Together with this, the Owner team should see all repositories in the Organisation or am I wrong?
Probably I should create a seperate issue for that.
When something is not clear or reproducable. Please ask.

hello,
Create organisation
Create private repos in organisation
Dont add Admin user to any team
As admin user browse to the organisation landing page
See the organisation page is empty

i can confirm the above; haven't tried the rest.
perhaps the admin user should be able to view all repositories regardless of the "private" flag.

Yeah you are right about:

perhaps the admin user should be able to view all repositories regardless of the "private" flag.

Thanks your feedback!
Can you make a example organization on https://try.gogs.io?

@Unknwon I have created:

Organisation 1337org
Private repo 1337privaterepo
Public repo 1337publicrepo

See https://try.gogs.io/1337org/

@xor-gate thanks! As admin, I can navigate to the private repository through admin panel, but yeah, it should be a display problem. Thanks!

You are right about them displaying/showing up under the admin panel. But having them not displayed in the view of the organisation is a bit odd when I first noticed.

Seems to be working with master now.

@mhartkorn really?... I don't fix it at all...

Funny. I checked out the latest Docker container and compiled from source to make sure. I mean, it's working for me at the moment. The corresponding SQL query for getting the repos from organizations also changed which I explicitly checked before updating. Can someone else test it with the latest master, please?

@mhartkorn just to clarify, this issue is about site admin, not organization admin.

Oh. Sorry, I mixed up 2 issues. :(

:joy:

I'll try to come up with a PR for the issue. Going to have to dig into the whole code to understand it first, though.

This is claimed to be fixed by merging https://github.com/gogits/gogs/pull/2785.


Added windows and macos builds to CI

This adds Windows and Macos builds to CI. This effectively completes the objective of #129, so it can probably be closed.
This change only adds Macos/Windows during the cargo check phase, as I'm fairly certain fmt/clippy/tests are operating system agnostic.

Looks great. Thanks!

Well done @AngelOnFira the solution is really clean.


Not received funds

I withdrew yesterday to adress etnk2Q7LZXgfXitHFdT5y8YbGMjh3t3zPXQsSVmWPM6ffF8m6Dtqbiefw6p7tHmBCaB4C88sf3ZAqX8MFuKbSGPW2rxsFBcEqv
But havent received it can someone please help me thanks

Hi this  payment  is not received please solve the problem thank you sir

This is  my address I'd   etnk2Q7LZXgfXitHFdT5y8YbGMjh3t3zPXQsSVmWPM6ffF8m6Dtqbiefw6p7tHmBCaB4C88sf3ZAqX8MFuKbSGPW2rxsFBcEqv
And this is my payment I'd  b9e6fda80904fd0460c0f73ef2d3046792fef21e009fed052322f7b1c477faaa
And

Hi here is  screenshot of transaction that I never received
On Wed, 30 Dec 2020, 03:52 nandyala001<EMAIL_ADDRESS>wrote:

This is my address I'd
etnk2Q7LZXgfXitHFdT5y8YbGMjh3t3zPXQsSVmWPM6ffF8m6Dtqbiefw6p7tHmBCaB4C88sf3ZAqX8MFuKbSGPW2rxsFBcEqv
And this is my payment I'd
b9e6fda80904fd0460c0f73ef2d3046792fef21e009fed052322f7b1c477faaa
And
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/electroneum/electroneum-blockchain-explorer/issues/16#issuecomment-752318478,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AO2IPMWRGJL5WE4CYVU4JXDSXKPZJANCNFSM4TGT7N7Q
.

This is my address I'd
etnk2Q7LZXgfXitHFdT5y8YbGMjh3t3zPXQsSVmWPM6ffF8m6Dtqbiefw6p7tHmBCaB4C88sf3ZAqX8MFuKbSGPW2rxsFBcEqv
this payment is not received please solve the problem thank you

Хеш транзакции (TxHash)
2137925809fad3affbc15e2e3e2289f5a13dcc24544f641c26f50dd4f0e0771c
Приватный ключ TX
76b848edf0954ccb60907ead0bf9eeee6cc7967b7ade69cd2583d7ce88092002


consistent-hash: support reading by single vnode for specific states

Currently, all states will maintain a set of vnodes, which are stored in the state's keyspace. However, every state of hash agg and hash join will only query data that belongs to one vnode. Therefore, we could narrow the range of vnodes when reading data from storage, i.e., only pass in one vnode instead of a set of vnodes.
The vnode that belongs to a state could be computed when the state is created.

So we'll need to compute hash before every get and prefix scan in storage?

So we'll need to compute hash before every get and prefix scan in storage?

For MV, maybe yes. For other states, we could directly use the pre-computed vnode.

So we'll need to compute hash before every get and prefix scan in storage?

For MV, maybe yes. For other states, we could directly use the pre-computed vnode.

How to pre-compute the VNode of a get/prefix_scan key beforehand? We don't know the key until we need to read it.
For internal state (i.e. non-MV state), I think compure hash before every get/prefix_scan is okay since we will only hit one VNode.


Asset type for arbitrary json/toml/etc documents

TL;DR
Could this repository include a common asset type and loader for loading generic serde_json::Value, toml_edit::Document, etc. types from files with the generic format extension like .json/.toml rather than a specific extension?
Background
I built something closely related to this for loading plugin settings from specific configuration files: https://github.com/devnev/bevy_settings_loader
But in my plugin, the settings are resource singletons and not identified by file extensions but by the full path to the file. So I add a generic .json / .toml loader and then deserialise from the loaded value into the destination type for the asset matching the settings path.
For that I've added generic JsonAsset and TomlAsset types that wrap serde_json::Value and toml_edit::Document loaded from arbitrary files with the corresponding extension. However, my repository/package/plugin is too specific for something that generic, whereas this repository seems more suitable and has most of the code for it already.
The main missing pieces is a wrapper implementing Asset for serde_json::Value etc, which would allow other plugins to avoid duplicate registration of loaders for the corresponding extension.

I guess that would fit here, yes. But in my opinion, typed assets should be the way to go in most cases.
 You could register the loader without an extension and then load like so:
let toml_doc: Handle<TomlAsset> = asset_server.load("my_toml_settings.toml");

That would at least prevent any conflicts of the generic loader with other asset loaders.

I will add to this that untyped assets are on rare occasions needed. I've just hand written one for toml for myself, but i think it might be useful for others.
In my case, combining untyped values with serde-toml-merge is great for modding in games where mods might need to override files based on load order. I'm sure there's other usages too.

This was my code largely based on this crate's:
use std::ops::{Deref, DerefMut};
use std::str::from_utf8;

use bevy::app::Plugin;
use bevy::asset::AssetApp;
use bevy::{
    asset::{Asset, AssetLoader, AsyncReadExt},
    reflect::Reflect,
};
use thiserror::Error;

pub type TomlValue = toml::Value;

/// Representation of any Toml asset
#[derive(Asset, Reflect)]
pub struct AnyToml(
    // Wrapped with option due to need for default implementation
    #[reflect(ignore)] Option<TomlValue>,
);

impl AnyToml {
    pub fn into_inner(self) -> TomlValue {
        self.0.unwrap()
    }
}

impl Deref for AnyToml {
    type Target = TomlValue;

    fn deref(&self) -> &Self::Target {
        self.0.as_ref().unwrap()
    }
}

impl DerefMut for AnyToml {
    fn deref_mut(&mut self) -> &mut Self::Target {
        self.0.as_mut().unwrap()
    }
}

#[derive(Debug, Error)]
pub enum TomlLoaderError {
    /// An [IO Error](std::io::Error)
    #[error("Could not read the file: {0}")]
    Io(#[from] std::io::Error),
    /// A [conversion Error](std::str::Utf8Error)
    #[error("Could not interpret as UTF-8: {0}")]
    FormatError(#[from] std::str::Utf8Error),
    /// A [TOML Error](serde_toml::de::Error)
    #[error("Could not parse TOML: {0}")]
    TomlError(#[from] toml::de::Error),
}

pub struct AnyTomlPlugin;
impl Plugin for AnyTomlPlugin {
    fn build(&self, app: &mut bevy::prelude::App) {
        app.init_asset::<AnyToml>()
            .register_asset_loader(AnyTomlLoader);
    }
}

#[derive(Default)]
struct AnyTomlLoader;
impl AssetLoader for AnyTomlLoader {
    type Asset = AnyToml;
    type Settings = ();
    type Error = TomlLoaderError;

    async fn load<'a>(
        &'a self,
        reader: &'a mut bevy::asset::io::Reader<'_>,
        _settings: &'a Self::Settings,
        _load_context: &'a mut bevy::asset::LoadContext<'_>,
    ) -> Result<Self::Asset, Self::Error> {
        let mut bytes = Vec::new();
        reader.read_to_end(&mut bytes).await?;
        let asset = toml::from_str(from_utf8(&bytes)?)?;
        Ok(AnyToml(Some(asset)))
    }

    fn extensions(&self) -> &[&str] {
        &["toml"]
    }
}


add copyright to LICENSE.md

MIT needs copyright.

Please add license file. We want to use this without legal risk.


DOC: documentation page for BigQueryVectorSearch is broken

Checklist

[X] I added a very descriptive title to this issue.
[X] I included a link to the documentation page I am referring to (if applicable).

Issue with current documentation:
The documentation page for BigQueryVectorSearch is broken: https://python.langchain.com/docs/integrations/vectorstores/bigquery_vector_search.
Anything I can help fix it?
Idea or request for content:
No response

I believe the link is https://python.langchain.com/docs/integrations/vectorstores/google_bigquery_vector_search

I believe the link is https://python.langchain.com/docs/integrations/vectorstores/google_bigquery_vector_search

Yes, this works, but we provide the previous link to Google customer. Is there any way we can direct the broken link to this one? @efriis

If I google search this, it still directs me to the broken link:


(modpath)/modutil/portable.lua: No such File or directory

This mod reqired (modpath)/modutil/portable.lua, but there have no modutil directory!

Why The modutil is in another repository!? :(

Sorry that I haven't added that known problem to the readme yet. However it is similar to https://github.com/theFox6/factory#missing-modutil


feat(examples): add model picker and support torch

Not sure the name mod is the best practice by sklearn. do you mean model

Mostly copied names and such from https://www.tidymodels.org/start/recipes/ (the tutorial that this more-or-less replicates). They had lr_mod, so I changed it to mod when I didn't just have the linear regression, but I'm pretty flexible on this. :shrug: Is model more commonly used in sklearn examples?

Codecov Report
Attention: Patch coverage is 72.72727% with 3 lines in your changes are missing coverage. Please review.

Project coverage is 84.31%. Comparing base (35eb9c2) to head (93dac2b).

Files
Patch %
Lines

ibisml/__init__.py
72.72%
3 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #74      +/-   ##
==========================================
- Coverage   84.39%   84.31%   -0.09%
==========================================
  Files          21       21
  Lines        1519     1530      +11
==========================================
+ Hits         1282     1290       +8
- Misses        237      240       +3

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

Is it a good way to do this support by setting the output format here for different model handoff?
https://github.com/ibis-project/ibis-ml/blob/main/ibisml/core.py#L323C70-L323C74

Is it a good way to do this support by setting the output format here for different model handoff? https://github.com/ibis-project/ibis-ml/blob/main/ibisml/core.py#L323C70-L323C74

To be honest, I'm not sure. This is meant to be compatible with the scikit-learn API; however, I'm not sure how effective options that are not supported by scikit-learn really are (e.g. PyArrow in the current implementation). https://scikit-learn.org/stable/modules/generated/sklearn.base.TransformerMixin.html#sklearn.base.TransformerMixin.set_output lists the options that scikit-learn supports.
Beyond that, I'm not sure how useful having another output format would be, even if it fit the scikit-learn model cleanly. For example, a "dmatrix" or "torch" output option would likely go through pandas/numpy anyway, so there's not much to be gained at this time? Maybe if they support more direct PyArrow-to-{format} conversion in the future.
Last but not least, this wouldn't help avoid the _auto_patch_skorch code; that is a workaround to the fact that y is still an ibis.expr.types.Column (not supported by skorch), since y doesn't get transformed by the first recipe. X is already transformed to numpy, since most of the scikit-learn transform steps only affect X.


(temp) Armdev mprotect workaround

this is a temporary workaround for a mprotect  issue. The traverse function takes a lambda to modify all PTE flags in a certain virt addr range.  On aarch64, this overwrites the PAGE bit in the PTE, which breaks later paging.
This is not a clean fix. The PF handler will later add a catch-all path that fixes such conditions.

dd47fb66fe4ab8543516ce6cead489288af4c584 should handle the issue.


Are there plans for adopting Eureka 2 into Spring Cloud?

We are currently evaluating Eureka 2 as a replacement for our current Eureka implementation and was wondering if there are any plans to have this folded into Spring Cloud if it goes GA?
Thanks in advance,
Russ Baker

There are no plans for eureka 2 at netflix. We'll evaluate if there are any changes on their side.

Can somebody describe in short term what is the goal to adopting Eureka 2?

There is no eureka 2, therefore no plans

What is with artifact com.netflix.eureka2:* and https://github.com/Netflix/eureka/wiki/Eureka-2.0-Architecture-Overview? Sorry when I don't understand your question about "No Eureka 2". I read about about the concept of read cluster and write cluster and even saw the code

They abandoned it

Netflix at all? Crazy, why?

You'll have to ask them

I will. So we stay with version 1 in Spring


Bennylo/fix node

Fixes #[replace brackets with the issue number that your pull request addresses].
Changes proposed in this pull request:

[list out summary of changes here]
[list out summary of changes here]
[list out summary of changes here]
[etc]

Newly added dependencies with Bundlephobia links:

[Link of the new dependency]
[Link of the new dependency]
[etc]

Note: pull requests without proper descriptions may simply be closed without further discussion. We appreciate your contributions, but need to know what you are offering in clearly described format. Provide tests for all code that you add/modify. If you add/modify any components update the storybook. Thanks! (you can delete this text)

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

Opened the wrong PR, closing this now


The Shortcuts that are in the group don't open

Please Fix that i can't use it I like it but it don't open So please

hi. what programs are u trying to open exactly?

hello, I have the same problem, there is a group, I can open it, but adobe applications do not start in it, what can I do?


Update orange-widget-base to 4.22.0

orange-widget-base 4.22.0
Destination channel: {defaults}
Links

PKG-4279
Upstream repository
Relevant dependency PRs:

url-normalize > requests-cache > orange-canvas-core > orange-widget-base > orange3

Explanation of changes:

Updated version and hash
Updated dependencies
Added patch to replace imp module with importlib
Added abs.yaml to be removed PRIOR to merge

Linter check found the following problems:
ERROR conda.cli.main_run:execute(124): `conda run conda-lint /tmp/abs_0foz8t6l99/clone` failed. (See above for error)
The following problems have been found:
===== ERRORS =====

clone/recipe/meta.yaml:51: missing_pip_check: For pypi packages, pip check should be present in the test commands
clone/recipe/meta.yaml:58: missing_pip_check: For pypi packages, pip check should be present in the test commands
===== Final Report: =====
2 Errors and 0 Warnings were found

Linter check found the following problems:
ERROR conda.cli.main_run:execute(124): `conda run conda-lint /tmp/abs_ef5uvoh16v/clone` failed. (See above for error)
The following problems have been found:
===== ERRORS =====

clone/recipe/meta.yaml:51: missing_pip_check: For pypi packages, pip check should be present in the test commands
clone/recipe/meta.yaml:58: missing_pip_check: For pypi packages, pip check should be present in the test commands
===== Final Report: =====
2 Errors and 0 Warnings were found

Linter check found the following problems:
ERROR conda.cli.main_run:execute(124): `conda run conda-lint /tmp/abs_c9xdrbvja5/clone` failed. (See above for error)
The following problems have been found:
===== ERRORS =====

clone/recipe/meta.yaml:56: missing_pip_check: For pypi packages, pip check should be present in the test commands
clone/recipe/meta.yaml:63: missing_pip_check: For pypi packages, pip check should be present in the test commands
===== Final Report: =====
2 Errors and 0 Warnings were found

Linter check found the following problems:
ERROR conda.cli.main_run:execute(124): `conda run conda-lint /tmp/abs_15iu4lmm4e/clone` failed. (See above for error)
The following problems have been found:
===== ERRORS =====

clone/recipe/meta.yaml:56: missing_pip_check: For pypi packages, pip check should be present in the test commands
clone/recipe/meta.yaml:63: missing_pip_check: For pypi packages, pip check should be present in the test commands
===== Final Report: =====
2 Errors and 0 Warnings were found


HDDS-1461. Optimize listStatus api in OzoneFileSystem

Currently in listStatus we make multiple getFileStatus calls. This can be optimized by converting to a single rpc call for listStatus.
Also currently listStatus has to traverse a directory recursively in order to list its immediate children. This happens because in OzoneManager all the metadata is stored in rocksdb sorted on keynames. The Jira also aims to fix this by using seek api provided by rocksdb.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
58
Docker mode activated.

_ Prechecks _

+1
@author
0
The patch does not contain any @author tags.

+1
test4tests
0
The patch appears to include 3 new or modified test files.

_ trunk Compile Tests _

0
mvndep
35
Maven dependency ordering for branch

+1
mvninstall
1358
trunk passed

+1
compile
146
trunk passed

+1
checkstyle
56
trunk passed

+1
mvnsite
157
trunk passed

+1
shadedclient
1039
branch has no errors when building and testing our client artifacts.

+1
findbugs
214
trunk passed

+1
javadoc
126
trunk passed

_ Patch Compile Tests _

0
mvndep
15
Maven dependency ordering for patch

+1
mvninstall
138
the patch passed

+1
compile
120
the patch passed

+1
cc
120
the patch passed

+1
javac
120
the patch passed

-0
checkstyle
28
hadoop-ozone: The patch generated 6 new + 0 unchanged - 0 fixed = 6 total (was 0)

+1
mvnsite
127
the patch passed

+1
whitespace
0
The patch has no whitespace issues.

+1
shadedclient
920
patch has no errors when building and testing our client artifacts.

+1
findbugs
247
the patch passed

+1
javadoc
113
the patch passed

_ Other Tests _

+1
unit
43
common in the patch passed.

+1
unit
33
client in the patch passed.

-1
unit
75
ozone-manager in the patch failed.

-1
unit
171
ozonefs in the patch failed.

+1
asflicense
31
The patch does not generate ASF License warnings.

5245

Reason
Tests

Failed junit tests
hadoop.ozone.om.ratis.TestOzoneManagerRatisServer

Subsystem
Report/Notes

Docker
Client=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/hadoop-multibranch/job/PR-782/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/782

Optional Tests
dupname  asflicense  compile  javac  javadoc  mvninstall  mvnsite  unit  shadedclient  findbugs  checkstyle  cc

uname
Linux 24af074b3c69 4.4.0-141-generic #167~14.04.1-Ubuntu SMP Mon Dec 10 13:20:24 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
personality/hadoop.sh

git revision
trunk / b434f55

maven
version: Apache Maven 3.3.9

Default Java
1.8.0_191

findbugs
v3.1.0-RC1

checkstyle
https://builds.apache.org/job/hadoop-multibranch/job/PR-782/1/artifact/out/diff-checkstyle-hadoop-ozone.txt

unit
https://builds.apache.org/job/hadoop-multibranch/job/PR-782/1/artifact/out/patch-unit-hadoop-ozone_ozone-manager.txt

unit
https://builds.apache.org/job/hadoop-multibranch/job/PR-782/1/artifact/out/patch-unit-hadoop-ozone_ozonefs.txt

Test Results
https://builds.apache.org/job/hadoop-multibranch/job/PR-782/1/testReport/

Max. process+thread count
2720 (vs. ulimit of 5500)

modules
C: hadoop-ozone/common hadoop-ozone/client hadoop-ozone/ozone-manager hadoop-ozone/ozonefs U: hadoop-ozone

Console output
https://builds.apache.org/job/hadoop-multibranch/job/PR-782/1/console

Powered by
Apache Yetus 0.9.0 http://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
44
Docker mode activated.

_ Prechecks _

+1
dupname
1
No case conflicting files found.

+1
@author
0
The patch does not contain any @author tags.

+1
test4tests
0
The patch appears to include 3 new or modified test files.

_ trunk Compile Tests _

0
mvndep
62
Maven dependency ordering for branch

+1
mvninstall
408
trunk passed

+1
compile
197
trunk passed

+1
checkstyle
51
trunk passed

+1
mvnsite
0
trunk passed

+1
shadedclient
883
branch has no errors when building and testing our client artifacts.

+1
javadoc
125
trunk passed

0
spotbugs
238
Used deprecated FindBugs config; considering switching to SpotBugs.

+1
findbugs
420
trunk passed

_ Patch Compile Tests _

0
mvndep
23
Maven dependency ordering for patch

+1
mvninstall
400
the patch passed

+1
compile
202
the patch passed

+1
cc
202
the patch passed

+1
javac
202
the patch passed

-0
checkstyle
28
hadoop-ozone: The patch generated 6 new + 0 unchanged - 0 fixed = 6 total (was 0)

+1
mvnsite
0
the patch passed

+1
whitespace
0
The patch has no whitespace issues.

+1
shadedclient
712
patch has no errors when building and testing our client artifacts.

+1
javadoc
121
the patch passed

+1
findbugs
441
the patch passed

_ Other Tests _

-1
unit
146
hadoop-hdds in the patch failed.

-1
unit
1145
hadoop-ozone in the patch failed.

+1
asflicense
34
The patch does not generate ASF License warnings.

6586

Subsystem
Report/Notes

Docker
Client=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/hadoop-multibranch/job/PR-782/2/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/782

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle cc

uname
Linux 157d5e6e41e7 4.4.0-141-generic #167~14.04.1-Ubuntu SMP Mon Dec 10 13:20:24 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
personality/hadoop.sh

git revision
trunk / 36267b6

Default Java
1.8.0_191

checkstyle
https://builds.apache.org/job/hadoop-multibranch/job/PR-782/2/artifact/out/diff-checkstyle-hadoop-ozone.txt

unit
https://builds.apache.org/job/hadoop-multibranch/job/PR-782/2/artifact/out/patch-unit-hadoop-hdds.txt

unit
https://builds.apache.org/job/hadoop-multibranch/job/PR-782/2/artifact/out/patch-unit-hadoop-ozone.txt

Test Results
https://builds.apache.org/job/hadoop-multibranch/job/PR-782/2/testReport/

Max. process+thread count
4275 (vs. ulimit of 5500)

modules
C: hadoop-hdds/common hadoop-ozone/client hadoop-ozone/common hadoop-ozone/ozone-manager hadoop-ozone/ozonefs U: .

Console output
https://builds.apache.org/job/hadoop-multibranch/job/PR-782/2/console

versions
git=2.7.4 maven=3.3.9 findbugs=3.1.0-RC1

Powered by
Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

@xiaoyuyao @mukul1987 I have made addresses the review comments in the latest commit.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
525
Docker mode activated.

_ Prechecks _

+1
dupname
1
No case conflicting files found.

+1
@author
0
The patch does not contain any @author tags.

+1
test4tests
0
The patch appears to include 3 new or modified test files.

_ trunk Compile Tests _

0
mvndep
66
Maven dependency ordering for branch

+1
mvninstall
405
trunk passed

+1
compile
207
trunk passed

+1
checkstyle
53
trunk passed

+1
mvnsite
0
trunk passed

+1
shadedclient
829
branch has no errors when building and testing our client artifacts.

+1
javadoc
128
trunk passed

0
spotbugs
236
Used deprecated FindBugs config; considering switching to SpotBugs.

+1
findbugs
417
trunk passed

_ Patch Compile Tests _

0
mvndep
28
Maven dependency ordering for patch

+1
mvninstall
398
the patch passed

+1
compile
212
the patch passed

+1
cc
212
the patch passed

+1
javac
212
the patch passed

-0
checkstyle
29
hadoop-ozone: The patch generated 5 new + 0 unchanged - 0 fixed = 5 total (was 0)

+1
mvnsite
0
the patch passed

+1
whitespace
0
The patch has no whitespace issues.

+1
shadedclient
663
patch has no errors when building and testing our client artifacts.

+1
javadoc
123
the patch passed

+1
findbugs
433
the patch passed

_ Other Tests _

-1
unit
150
hadoop-hdds in the patch failed.

-1
unit
1309
hadoop-ozone in the patch failed.

+1
asflicense
40
The patch does not generate ASF License warnings.

7626

Subsystem
Report/Notes

Docker
Client=17.05.0-ce Server=17.05.0-ce base: https://builds.apache.org/job/hadoop-multibranch/job/PR-782/3/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/782

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle cc

uname
Linux 4cd11d86f21c 4.4.0-138-generic #164-Ubuntu SMP Tue Oct 2 17:16:02 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
personality/hadoop.sh

git revision
trunk / de01422

Default Java
1.8.0_212

checkstyle
https://builds.apache.org/job/hadoop-multibranch/job/PR-782/3/artifact/out/diff-checkstyle-hadoop-ozone.txt

unit
https://builds.apache.org/job/hadoop-multibranch/job/PR-782/3/artifact/out/patch-unit-hadoop-hdds.txt

unit
https://builds.apache.org/job/hadoop-multibranch/job/PR-782/3/artifact/out/patch-unit-hadoop-ozone.txt

Test Results
https://builds.apache.org/job/hadoop-multibranch/job/PR-782/3/testReport/

Max. process+thread count
4646 (vs. ulimit of 5500)

modules
C: hadoop-hdds/common hadoop-ozone/client hadoop-ozone/common hadoop-ozone/ozone-manager hadoop-ozone/ozonefs U: .

Console output
https://builds.apache.org/job/hadoop-multibranch/job/PR-782/3/console

versions
git=2.7.4 maven=3.3.9 findbugs=3.1.0-RC1

Powered by
Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

+1, the patch looks good to me.

@mukul1987 @xiaoyuyao Thanks for reviewing the PR! I have merged it to trunk.


optimiz concurrency

user can customize number of workers via env "GOMAXPROCS"
What problem are we solving?
optimiz  maxproc for docker env
How are we solving the problem?
add ENV "GOMAXPROCS"
Checks

[ ] I have added unit tests if possible.
[ ] I will add related wiki document changes and link to this PR after merging.

use previous logic
	workerNum := runtime.NumCPU()
	if workerNum <= 10 {
		workerNum = 10
	}


azure-json, fix outputonlymodel properties shadowing

fix improper shadowing when the parent property is not read-only but parent model is output immutable
code in: https://github.com/Azure/autorest.java/pull/2891/commits/a6a76d2b090044c6dd787f41ef4b980e2d504831
This should not affect toJson behavior. Since previously, we'll also serialize non-readonly properties for @Immutable classes:
https://github.com/Azure/autorest.java/blob/bdcd1fd9f3c993547df6279d0e6e159d1fab072a/typespec-tests/src/main/java/com/client/naming/models/ClientModel.java#L53

Trying to understand the problem encountered when we shadowed the properties in sub class?

Trying to understand the problem encountered when we shadowed the properties in sub class?

At first, we thought there's an unnecessary shadowing for output-only model subclass. https://github.com/Azure/azure-sdk-for-java/pull/41161/files#diff-21fe9ae3fc0e7c1c656f277adadb7dfbcd9321cf3b7fd84b644cc869df3c024d
Turned out it's by design, as output-only model doesn't have public setters.
Though there're still a few bugs in output-only model and validate() method. I'll fix the output-only + flatten case here and the other in another PR.


docs(text-area): added word counter guidance

Closes https://github.com/carbon-design-system/carbon/issues/13789
@carbon-design-system/design I could use an image replacing mine when you get a moment.

Here is the image for the new Word counter section:

@sstrubberg looks like there are some yarn conflicts?

@sstrubberg looks like there are some yarn conflicts?

yeah, i'm having a hard time with these yarn conflicts. Something is screwy with my env 😢

icts. Something is screwy with m

it might be worth deleting and recloning the repo locally :/


Improve UX on mobile devices

When used on mobile devices, there are overflows due to the bubble menu, and the text selection context menu on mobile overlaps the editor bubble menu. So here is a list of improvements to make the experience on mobile better (the changes won't affect wide devices).

[x] set a max with to the bubble menu and let the overflow-x scroll when needed to prevent page overflow
[x] edit the position of the link dropdown on small devices (give advantage to UX over UI)

@simonfarah love this! Can you please make a screen recording of what you mean in this PR?
Also, since we recently migrated to a monorepo structure, can you please refactor this PR to resolve the merge conflicts? Here are some instructions: https://github.com/steven-tey/novel#setting-up-locally

@steven-tey working on it!

As for the bubble menu, here was the behavior before :
https://github.com/steven-tey/novel/assets/88495690/8b2a784d-bf1e-4876-ab5d-337ec951275e
And after (the bubble menu have a max width and overflow x of auto, the behavior on large screens is intact) :
https://github.com/steven-tey/novel/assets/88495690/bb6ee893-92eb-4e86-b9c2-fa7eef9c7265

As for the link form, here was the behavior before :

And after (the form is aligned to the right on mobile devices to prevent overflow, the behavior on large screens is intact) :

A suggestion of mine, we still have the problem on mobile when selecting the text, the default mobile context menu and the bubble menu are overlapping, so might create a custom context menu, with the default options (copy, paste, cut, select all...) and a dictionary correction menu? So basically edit the design and behavior of the default context menu. Don't know if it's feasible but if agreed, I'd love to invest more in it.


feat: make navigation inside Hex window more unixy using hjkl, and 'q'

Hi,
Thanks for heh -- it's a cool tool for viewing hex data, just like less is for text.
Just added navigation when inside of Hex window, to align with other traditional Unix tool.
hjkl - for arrow navigation
^, $ - for start / end of line
q - to quit, without any modifier
It made sense to me for two reasons:

The first time I tried heh it felt lightweight, like less, so to quit I just went for muscle memory hitting 'q'.
When typing non-hex chars inside Hex window, you just get an error notification -- we can do better by responding to these specific keys, which are already popular bindings in Unixy tools

Thanks for the PR! I really appreciate it :smile:
I think this is a good feature, especially since I feel like this could make heh feel more familiar and usable. Please let me know if you have any other suggestions for improving this tui hex editor!


style: change imports style for files in plugin/bitbucket.

Summary
change imports style for files in plugin/bitbucket like this

Does this close any open issues?
Screenshots
Include any relevant screenshots here.
Other Information
Any other information that is important to this PR.

closing this due to no actual modification but conflicts


cant import newsapi

from newsapi import NewsAPIClient
ImportError: cannot import name 'NewsAPIClient'
I have newsapi installed and I have an api key yet it still wont work

You should rename your file or make a venv and retry it. or check this out https://stackoverflow.com/questions/66103645/having-a-problem-installing-newsapi-on-anaconda


update optimize-css-assets-webpack-plugin @3.2

webpack3 supported version

Deploy preview for timber-grader-polecat-68568 ready!
Built with commit 23175f54def9d1486e9fc613b099c33900db477e
https://deploy-preview-165--timber-grader-polecat-68568.netlify.app


Adds test about event for failed protocol change

Suricata PR got merged

Merged in #932, thanks!


Storage service utils

These two utilities will be used by the ServiceStore and StorageService.
Also included: some small changes to StorageService to allow it to be bound-to with specified StoreOptions.

buildifier is unhappy -- you can probably just run ./tools/sigh lint --fix


Improve FractionalFlow implementation in allocation

https://github.com/Deltares/Ribasim/pull/1429 changes the implementation of FractionalFlow in allocation by giving every node that has fractional flow outneighbors a buffer for flow that is not directly used. This implementation is however not correct. Using buffers to let allocation stick to the FractionalFlow flow distribution can only work if there is a buffer for every FractionalFlow node. There is also the additional problem that flow from the buffer should take precedence over other sources, especially when collecting subnetwork demands.

when removing fractionalflow this is not needed


Write a C program to check alphabet

Description
Write a C program to check alphabet
Check that the given character is an alphabet or not (a-z, A-Z).
Input  : a
Output : Alphabet

How to contribute

Save the solution in CheckAlphabet.c file
Add CheckAlphabet.c file in check-alphabet folder

!assign


Update concept-azure-machine-learning-architecture.md

@Blackmist

@j-martens : Thanks for your contribution! The author, @Blackmist, has been notified to review your proposed change.


Create base vaadin addon structure

This includes

Gradle Wrapper setup
Gradle multi project with addon and demo
Demo basics (Servlet and UI Class)

Hi, what's the current status of this project? I'm interested in trying ChartJS 2 with Vaadin, so i'm curious if there's any schedule/plans on this.

Hi, I hope to get a first version til May 2016. Maybe earlier depending on my workload.


🪢⛎🪢

ClaimSent from my iPhoneOn Apr 26, 2023, at 7:25 AM, Rainbowscientist @.***> wrote:
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>

ClaimSent from my iPhoneOn Apr 26, 2023, at 7:25 AM, Rainbowscientist @.***> wrote:
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you are subscribed to this thread.Message ID: @.***>

[````


Add Flutter Web support

Hey fellow unicamper! I would love to see this working on web too! Tks

Yah, That my friends is almost impossible right now. Unless we manage to connect wasm to a flutter web app and manage to compile our C sources to wasm.

This could help somehow.
https://api.dartlang.org/stable/2.6.1/dart-html/AudioElement-class.html
https://api.dartlang.org/stable/2.6.1/dart-html/MediaElement-class.html
Or maybe using document and dom we could write the same functionality.

Right, and then how come we would bridge the FFI to call js methods?
PS: I'm avoiding PlatformChannelsdue to the possibility od FFI packages become something different than plugins.

Any update?


chore: Add values.schema.json to apecloud-mysql

RESOLVE https://github.com/apecloud/kubeblocks/issues/5767

Copied from https://github.com/apecloud/kubeblocks/pull/5774

I've written some internal closed-source helm charts before, but this is my first time writing values.schema.json files. What are the best practices for this kind of file? Writing json schema is a pain, you know.

Yes, but at the moment, I haven't found any particularly useful tools for generating schemas.

I've written some internal closed-source helm charts before, but this is my first time writing values.schema.json files. What are the best practices for this kind of file? Writing json schema is a pain, you know.

Yes, but at the moment, I haven't found any particularly useful tools for generating schemas.

Thanks for your review and reply.

I've written some internal closed-source helm charts before, but this is my first time writing values.schema.json files. What are the best practices for this kind of file? Writing json schema is a pain, you know.

Yes, but at the moment, I haven't found any particularly useful tools for generating schemas.

Thanks for your review and reply.

Thank you for your interest in our project and for contributing your code.


Ignore limit reverts to false

Please fill out the details below before contributing
Forge Version: <IP_ADDRESS>
Calculator Version: Not installed as far as I know.
SonarCore Version: 1.12.2-5.0.2
Multiplayer or Singleplayer: SP
Crash Report Link: None
Affected Features: Flux Plugs/Receivers/Flux Network
Description: If you try to set ignore limit to true on anything after you exit the gui and go back in it has changed to false. e.g. you cant set ignore limit to true.

Fixed in latest version.


[feature] dark mode UI

Description
As a developer I would like to be able to use Illa builder for extended periods in low light level conditions without succumbing to eye strain from a bright UI
Steps to reproduce

use the UI builder in an environment with low light levels

ILLA Builder Version
docker image id 5f6d717fefc0
Browser
n/a
Operating System

[ ] macOS
[ ] Windows
[X] Linux

Additional Information
none

Thanks for your feedback. We are still improving the basic features such as components and resources at this stage.  Maybe we will support dark mode after these features are completed.


Deprecate quilt-json5, update Qulit Config

This PR is not to be merged until the beginning of the 0.20 cycle.
This PR brings the following changes:

Deprecate the quilt-json5 exposed to mods. We shouldn't expose libraries directly in Loader unless we absolutely must (in case we want to break them!), and there's no reason to expose quilt-json5 here. It is being replaced by QUP (name to be changed at a later date), and mods are responsible for including it themselves if they want it.
Update Quilt Config to 1.1.0.

This includes the new ReflectiveConfig interface, a replacement to WrappedConfig that is actually useful (you can modify the config now! yay!)
Before 0.20 is stable, we'll need to work out all the kinks in this new interface, and anything else we might need to change in Quilt Config.

I'll need to fix up the javadocs on the v2 QuiltConfig interface before merge.

qulit :iea:


Changes to avoid reading the whole MSA files into the memory thus Memory Errors

Sequence searches may result in alignment file (over 100GB).
The original AF2 code reads the whole file into memory and parses there that may cause out of memory error.
Our modifications implement the line-by-line reading of MSA files thus decrease the required RAM size for AF2 predictions.

Hi, this is a great change. Could you sign the CLA?

I do not know what would be the best way to do it.
Accidentally I submitted it with an unexisting email address. I could not figure out what to do:
I think I should resubmit it with valid email address and sign. However, then this request will be doubled.
???

Sorry about that! Could you resubmit with the valid email address and sign? I will close this PR once you have done that to prevent duplication.

I will do it later today or early tomorrow

Thank you.

I resubmitted a new pull req. Pls. let me know if something is still wrong - I am new to git.


iOS app crashes in Release Config (but works in Debug)

[x] Review the documentation: https://facebook.github.io/react-native
[x] Search for existing issues: https://github.com/facebook/react-native/issues
[x] Use the latest React Native release: https://github.com/facebook/react-native/releases

Environment
React Native Environment Info:
System:
OS: macOS High Sierra 10.13.6
CPU: x64 Intel(R) Core(TM) i7-7660U CPU @ 2.50GHz
Memory: 1.89 GB / 16.00 GB
Shell: 5.3 - /bin/zsh
Binaries:
Node: 10.9.0 - ~/.nvm/versions/node/v10.9.0/bin/node
npm: 6.2.0 - ~/.nvm/versions/node/v10.9.0/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
iOS SDK:
Platforms: iOS 11.4, macOS 10.13, tvOS 11.4, watchOS 4.3
Android SDK:
Build Tools: 23.0.1, 27.0.3, 28.0.1
API Levels: 23, 24, 25, 26, 27, 28
IDEs:
Android Studio: 3.1 AI-173.4819257
Xcode: 9.4.1/9F2000 - /usr/bin/xcodebuild
npmPackages:
react: ^16.4.2 => 16.4.2
react-native: ^0.56.0 => 0.56.0
npmGlobalPackages:
react-native-cli: 2.0.1
Description

App builds perfectly in debug mode (on device and simulator)
Android app builds in both debug and release perfectly.
THE PROBLEM: iOS app loads in release mode and immediately crashes on launch screen (e.g. build succeeds and then crashes)
Crash Report is here: http://crashes.to/s/11df9058d1f
Fatal Exception: NSInvalidArgumentException
-[RCTRootView reactTag] unrecognized selector sent to instance 0x139e023c0

What I've tried already (but didn't help)

Building Active Architecture Only
Not stripping dead code / Stripping dead code
Checking Headers
Checking Linked Binaries
Checking Link Flags
Reinstalling NPM/Pods
https://github.com/facebook/react-native/issues/20150

What I think might be wrong

Something with Babel 7 and React-Native
Something with React-Native-Navigation

how to a solution?


Loaded event is fired for a removed ListView item

Describe the bug
Loaded event may be fired for an item that was already deleted from a ListView.
Steps to reproduce the bug

Load the solution from this repo.
If you inspect the solution code, you'll see the following. There is the ListView with custom ListView.ItemTemplate that uses Item control:

<ListView>
    <ListView.ItemTemplate>
        <DataTemplate x:DataType="x:String">
            <local:Item Id="{x:Bind}" />
        </DataTemplate>
    </ListView.ItemTemplate>
</ListView>

If we look into Item control, we'll see the following:
<UserControl
    ...
    Loaded="OnLoaded"
    Unloaded="OnUnloaded">
    <Button Content="{x:Bind Id, Mode=OneWay}" />
</UserControl>

public sealed partial class Item : UserControl, INotifyPropertyChanged
{
    ...
    private void OnLoaded(object sender, Microsoft.UI.Xaml.RoutedEventArgs e)
    {
        Debug.WriteLine($"Loaded {((Item)sender).Id}");
    }

    private void OnUnloaded(object sender, Microsoft.UI.Xaml.RoutedEventArgs e)
    {
        Debug.WriteLine($"Unloaded {((Item)sender).Id}");
    }
}

Start the application.
Run DebugView or any other utility that captures debug output.
Add some elements (say, 5) to the list using Add button. Every time you'll see the Loaded <id> message in DebugView. That's expected.
Then start removing elements from the list using Remove button.
You'll see that for the first removed item you'll see Unloaded <first_deleted_id> message that is expected. But after the deleting of the next item you'll see two messages:

Loaded <first_deleted_id>
Unloaded <second_deleted_id>

So for some reason Loaded event is called for the item that was just deleted. If I rely on Loaded-Unloaded event in my application logic (for example, for notifying a viewmodel about some UI changes or making some subscription-unsubscriptions), then I'll get into a trouble since Loaded event is called for an item that is deleted and is not in the list.
Expected behavior
Loaded event shouldn't be raised for a ListView item, that was already deleted and it not being added.
Screenshots
No response
NuGet package version
WinUI 3 - Windows App SDK 1.3.2: 1.3.230602002
Windows version
No response
Additional context
OS version is Win10 22HS 19045.3208
I can reproduce this problem also in 1.4.230628000-preview1 version of Windows App SDK.

Please don't depend on Loaded/Unloaded events. They are not guaranteed to happen in order today. See https://github.com/microsoft/microsoft-ui-xaml/issues/1900
For ListView, please use the ContentContainerChanging event to setup/teardown when items come into view and get recycled.


feat: add a nix flake

I wrote a nix derivation and added it to a flake, so NixOS users can easily install the theme.

Hey @Ultra980 can you please show a demo of the nix flake installation and if the theme works on it or not ? I don't have nixos installed, so there's no way I can test it.
Will merge it once tested.

To install the theme flake (easily), you need a flake nixOS config. I've got one , and to install it I added it as an input in flake.nix and installed it in configuration.nix (under hosts/hermes). I couldn't find any legacy gtk apps though, so I can't test it.

I also made a gradience theme for everblush, I could make a flake for that as well.

Hey, can you show a screenshot of the gradience theme ? We'll make a separate repo for that and you can add the theme on the that repo. :)
Sorry for the late reply.

I already added it to their official community repo, in this file: https://github.com/GradienceTeam/Community/blob/next/curated/everblush.json
I'll post some screenshots when I have time.


autoencoder script for acoustic signal modeling

Script learns a 2-layer, bowtie autoencoder. Meant for acoustic signal modeling use case.

@bertholdreinwald can you please review this PR ?

Thanks, @prithvirajsen . Couple of minor comments.

expand on the alg description a little more, pretty much the stuff that you put under “OTHER DETAILS”.
formatting of input/output parameter description (use table format as in PCA.dml), show default values.
document parameter “HIDDEN”
formatting of DML
please consider using approach scripts/utils/shuffle.dml for randomization.
can you print out current epoch# in loop

@bertholdreinwald:
Implemented most of your comments (HIDDEN is an output param and was documented).
I didn't implement the resuffling mechanism from shuffle.dml because this script (possibly) reshuffles 2 times. The first time is to reshuffle the input. The second time is to reshuffle the hidden layer representations (if the user asks for it). The second reshuffle is to get back the original order of rows. Essentially, the script ensures that the ith input's hidden representation is produced at the ith row of HIDDEN. If this is not the case then the output will be less useful.
Currently, the script generates a permutation matrix to shuffle the input and then uses the transpose of the same permutation matrix to get back the original order. This requires 1 transpose and 1 mat-mult. The same can be achieved by using the ops in shuffle.dml (store the rand col of numbers, append it, and the order in 'DESCENDING' order I guess) but I'm not sure it guarantees the reverse shuffling. Specifically, I'm worried about randomly generating the same numbers and then trying to reverse the order given these random numbers. The current reshuffling in the script guarantees the shuffling and re-shuffling.
Please take a look when you get a chance.

LGTM, but for epochs please output (as.integer(floor(iter / num_iters_per_epoch))+1), other we get funny output.
epochs=0.0 BATCH beg=1 end=36 obj=315.2793607485832
epochs=0.3333333333333333 BATCH beg=37 end=72 obj=416.8550718408468
epochs=0.6666666666666666 BATCH beg=73 end=100 obj=234.10341156641397
epochs=1.0 BATCH beg=1 end=36 obj=315.0943812440362
epochs=1.3333333333333333 BATCH beg=37 end=72 obj=416.508133010481
epochs=1.6666666666666667 BATCH beg=73 end=100 obj=233.85472614907434
...

Not sure if it's useful here, but print can do printf-style formatting now, such as:
a=0.3333333333333333;b=37;c=72;d=416.8550718408468;
print("epochs=%5.2f BATCH beg=%d end=%d obj=%f",a,b,c,d);

epochs= 0.33 BATCH beg=37 end=72 obj=416.855072

Thanks @deroneriksson.

Thank you @prithvirajsen! I'll merge.


[Improvement] Add the number of unhealthy nodes in CoordinatorMetrics

What changes were proposed in this pull request?

To solve #146
Why are the changes needed?

The number of unhealthy nodes can be viewed on the monitoring.
Does this PR introduce any user-facing change?

No.
How was this patch tested?

No need.

cc @jerqi

Codecov Report

Merging #147 (eae730d) into master (04cbdbb) will decrease coverage by 1.47%.
The diff coverage is 50.00%.

@@             Coverage Diff              @@
##             master     #147      +/-   ##
============================================
- Coverage     57.20%   55.73%   -1.48%
+ Complexity     1200     1121      -79
============================================
  Files           150      141       -9
  Lines          8185     7694     -491
  Branches        773      743      -30
============================================
- Hits           4682     4288     -394
+ Misses         3257     3169      -88
+ Partials        246      237       -9

Impacted Files
Coverage Δ

...ache/uniffle/coordinator/SimpleClusterManager.java
85.85% <40.00%> (-2.44%)
:arrow_down:

...apache/uniffle/coordinator/CoordinatorMetrics.java
93.93% <100.00%> (+0.18%)
:arrow_up:

...storage/handler/impl/DataSkippableReadHandler.java
81.25% <0.00%> (-3.13%)
:arrow_down:

...org/apache/uniffle/server/ShuffleFlushManager.java
76.83% <0.00%> (-1.70%)
:arrow_down:

...k/shuffle/writer/WrappedByteArrayOutputStream.java

.../java/org/apache/spark/shuffle/RssSparkConfig.java

...ava/org/apache/spark/shuffle/RssShuffleHandle.java

...che/spark/shuffle/writer/BufferManagerOptions.java

...e/spark/shuffle/reader/RssShuffleDataIterator.java

.../org/apache/spark/shuffle/writer/WriterBuffer.java

... and 3 more

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more

Could you add some tests cases in HealthCheckCoordinatorGrpcTest?

Could you tell me what needs to be tested. @jerqi Because the current modified method is nodeCheck, I think it is enough not to affect the original test results.WDYT?


runtime_error when running roslaunch crazyflie_demo hover_vrpn.launch

Hi Whoenig:
I'm trying your Crazyflie_demo. When running roslaunch crazyflie_demo hover_vrpn.launch,  it shows 'std::runtime_error'.
When I checked whether it received the data from motion capture system by rostopic echo /vrpn_client_node/drone2/pose, it successfully received. So VRPN client is not the problem, but looking at rqt_graph, it fails to connect crazyflie_server.

I already configured IP address.
Xacro error has no relation to this runtime_error, I think.
How can I fix it?
drone@drone-GL502VSK:~$ roslaunch crazyflie_demo hover_vrpn.launch uri:=radio://0/80/250K/E7E7E7E701 frame:=crazyflie1 x:=0 y:=0 z:=0.5
... logging to /home/drone/.ros/log/7e59b5d4-4545-11e9-92af-2cfda1853ff1/roslaunch-drone-GL502VSK-5109.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

xacro: Traditional processing is deprecated. Switch to --inorder processing!
To check for compatibility of your document, use option --check-order.
For more infos, see http://wiki.ros.org/xacro#Processing_Order
xacro.py is deprecated; please use xacro instead
started roslaunch server http://localhost:35851/

SUMMARY
========

PARAMETERS
 * /crazyflie/controller/PIDs/X/integratorMax: 0.1
 * /crazyflie/controller/PIDs/X/integratorMin: -0.1
 * /crazyflie/controller/PIDs/X/kd: 20.0
 * /crazyflie/controller/PIDs/X/ki: 2.0
 * /crazyflie/controller/PIDs/X/kp: 40.0
 * /crazyflie/controller/PIDs/X/maxOutput: 10.0
 * /crazyflie/controller/PIDs/X/minOutput: -10.0
 * /crazyflie/controller/PIDs/Y/integratorMax: 0.1
 * /crazyflie/controller/PIDs/Y/integratorMin: -0.1
 * /crazyflie/controller/PIDs/Y/kd: -20.0
 * /crazyflie/controller/PIDs/Y/ki: -2.0
 * /crazyflie/controller/PIDs/Y/kp: -40.0
 * /crazyflie/controller/PIDs/Y/maxOutput: 10.0
 * /crazyflie/controller/PIDs/Y/minOutput: -10.0
 * /crazyflie/controller/PIDs/Yaw/integratorMax: 0.0
 * /crazyflie/controller/PIDs/Yaw/integratorMin: 0.0
 * /crazyflie/controller/PIDs/Yaw/kd: -20.0
 * /crazyflie/controller/PIDs/Yaw/ki: 0.0
 * /crazyflie/controller/PIDs/Yaw/kp: -200.0
 * /crazyflie/controller/PIDs/Yaw/maxOutput: 200.0
 * /crazyflie/controller/PIDs/Yaw/minOutput: -200.0
 * /crazyflie/controller/PIDs/Z/integratorMax: 1000.0
 * /crazyflie/controller/PIDs/Z/integratorMin: -1000.0
 * /crazyflie/controller/PIDs/Z/kd: 6000.0
 * /crazyflie/controller/PIDs/Z/ki: 3500.0
 * /crazyflie/controller/PIDs/Z/kp: 5000.0
 * /crazyflie/controller/PIDs/Z/maxOutput: 60000.0
 * /crazyflie/controller/PIDs/Z/minOutput: 10000.0
 * /crazyflie/controller/crazyflies: [{'id': 1, 'chann...
 * /crazyflie/controller/frame: crazyflie1
 * /crazyflie/controller/worldFrame: world
 * /crazyflie/crazyflie_add/enable_logging: False
 * /crazyflie/crazyflie_add/enable_logging_battery: True
 * /crazyflie/crazyflie_add/enable_logging_imu: True
 * /crazyflie/crazyflie_add/enable_logging_magnetic_field: True
 * /crazyflie/crazyflie_add/enable_logging_packets: True
 * /crazyflie/crazyflie_add/enable_logging_pressure: True
 * /crazyflie/crazyflie_add/enable_logging_temperature: True
 * /crazyflie/crazyflie_add/pitch_trim: 0
 * /crazyflie/crazyflie_add/roll_trim: 0
 * /crazyflie/crazyflie_add/tf_prefix: crazyflie
 * /crazyflie/crazyflie_add/uri: radio://0/80/250K...
 * /crazyflie/crazyflie_add/use_ros_time: True
 * /crazyflie/joy/dev: /dev/input/js0
 * /crazyflie/joystick_controller/use_crazyflie_controller: True
 * /crazyflie/pose/name: goal
 * /crazyflie/pose/rate: 30
 * /crazyflie/pose/x: 0
 * /crazyflie/pose/y: 0
 * /crazyflie/pose/z: 0.5
 * /crazyflie/vrpn_client_node/child_frame_id: crazyflie1
 * /crazyflie/vrpn_client_node/frame_id: /world
 * /crazyflie/vrpn_client_node/ip: <IP_ADDRESS>
 * /crazyflie/vrpn_client_node/port: 3883
 * /robot_description: <?xml version="1....
 * /rosdistro: kinetic
 * /rosversion: 1.12.14

NODES
  /crazyflie/
    baselink_broadcaster (tf/static_transform_publisher)
    controller (crazyflie_controller/crazyflie_controller)
    crazyflie_add (crazyflie_driver/crazyflie_add)
    joy (joy/joy_node)
    joystick_controller (crazyflie_demo/controller.py)
    pose (crazyflie_demo/publish_pose.py)
    vrpn_client_node (vrpn_client_ros/vrpn_client_node)
  /
    crazyflie_server (crazyflie_driver/crazyflie_server)
    rviz (rviz/rviz)

ROS_MASTER_URI=http://localhost:11311

process[crazyflie_server-1]: started with pid [5129]
process[crazyflie/crazyflie_add-2]: started with pid [5130]
process[crazyflie/joy-3]: started with pid [5131]
process[crazyflie/joystick_controller-4]: started with pid [5146]
process[crazyflie/controller-5]: started with pid [5165]
process[crazyflie/pose-6]: started with pid [5182]
[ INFO] [1552456497.368791450]: wait_for_service /add_crazyflie
process[crazyflie/baselink_broadcaster-7]: started with pid [5200]
[ INFO] [1552456497.370301235]: found /add_crazyflie
[ INFO] [1552456497.373163206]: Adding radio://0/80/250K/E7E7E7E701 as crazyflie with trim(0.000000, 0.000000). Logging: 1, Parameters: 0, Use ROS time: 1
process[crazyflie/vrpn_client_node-8]: started with pid [5214]
process[rviz-9]: started with pid [5235]
[ INFO] [1552456497.396014668]: Connecting to VRPN server at localhost:3883
[ INFO] [1552456497.567432395]: Opened joystick: /dev/input/js0. deadzone_: 0.050000.
[crazyflie/crazyflie_add-2] process has finished cleanly
log file: /home/drone/.ros/log/7e59b5d4-4545-11e9-92af-2cfda1853ff1/crazyflie-crazyflie_add-2*.log
[ INFO] [1552456498.396419693]: Connection established
terminate called after throwing an instance of 'std::runtime_error'
  what():  timeout
[crazyflie_server-1] process has died [pid 5129, exit code -6, cmd /home/drone/catkin_ws/devel/lib/crazyflie_driver/crazyflie_server __name:=crazyflie_server __log:=/home/drone/.ros/log/7e59b5d4-4545-11e9-92af-2cfda1853ff1/crazyflie_server-1.log].
log file: /home/drone/.ros/log/7e59b5d4-4545-11e9-92af-2cfda1853ff1/crazyflie_server-1*.log

The timeout error indicates that there is a problem with the connection to the Crazyflie, not to VRPN. Is your uri (radio://0/80/250K) correct? Can you connect to the CF with the uri using, for example, the cfclient?

Thank you for your reply. Yes, I checked uri, using cfclient, and found that it is correct.

Can you try rosrun crazyflie_tools scan? If that finds the same URI, can you try rosrun crazyflie_tools reboot --uri radio://0/80/250K and verify that you can reboot the CF?

Yes, I successfully reboot the CF.

But still the same error.

Which firmware version are you using? Which version of crazyflie_ros? Does rosrun crazyflie_tools listParams --uri radio://0/80/250K work for you?
Note that in indoor scenarios 2M datarate (instead of 250K) should provide better results (although this shouldn't be the issue here unless you have a very high packet drop rate).

Does rosrun crazyflie_tools listParams --uri radio://0/80/250K work for you?

Yes, it works.

I tried crazyflie 2.1 also, which is 2M datarate, but same error occurred.

Actually I misread your initial post. Your uri in the initial launch file is radio://0/80/250K/E7E7E7E701. Given that your uri seems to be radio://0/80/250K instead, use roslaunch crazyflie_demo hover_vrpn.launch uri:=radio://0/80/250K frame:=crazyflie1 x:=0 y:=0 z:=0.5 instead of roslaunch crazyflie_demo hover_vrpn.launch uri:=radio://0/80/250K/E7E7E7E701 frame:=crazyflie1 x:=0 y:=0 z:=0.5.

Thank you, runtime_error disappeared.
But another error occurred.
`drone@drone-GL502VSK:~$ roslaunch crazyflie_demo hover_vrpn.launch uri:=radio://0/80/2M frame:=crazyflie1 x:=0 y:=0 z:=0.5
... logging to /home/drone/.ros/log/64ccc114-496a-11e9-b01b-28c63f262be5/roslaunch-drone-GL502VSK-4454.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
xacro: Traditional processing is deprecated. Switch to --inorder processing!
To check for compatibility of your document, use option --check-order.
For more infos, see http://wiki.ros.org/xacro#Processing_Order
xacro.py is deprecated; please use xacro instead
started roslaunch server http://localhost:39091/
SUMMARY
PARAMETERS

/crazyflie/controller/PIDs/X/integratorMax: 0.1
/crazyflie/controller/PIDs/X/integratorMin: -0.1
/crazyflie/controller/PIDs/X/kd: 20.0
/crazyflie/controller/PIDs/X/ki: 2.0
/crazyflie/controller/PIDs/X/kp: 40.0
/crazyflie/controller/PIDs/X/maxOutput: 10.0
/crazyflie/controller/PIDs/X/minOutput: -10.0
/crazyflie/controller/PIDs/Y/integratorMax: 0.1
/crazyflie/controller/PIDs/Y/integratorMin: -0.1
/crazyflie/controller/PIDs/Y/kd: -20.0
/crazyflie/controller/PIDs/Y/ki: -2.0
/crazyflie/controller/PIDs/Y/kp: -40.0
/crazyflie/controller/PIDs/Y/maxOutput: 10.0
/crazyflie/controller/PIDs/Y/minOutput: -10.0
/crazyflie/controller/PIDs/Yaw/integratorMax: 0.0
/crazyflie/controller/PIDs/Yaw/integratorMin: 0.0
/crazyflie/controller/PIDs/Yaw/kd: -20.0
/crazyflie/controller/PIDs/Yaw/ki: 0.0
/crazyflie/controller/PIDs/Yaw/kp: -200.0
/crazyflie/controller/PIDs/Yaw/maxOutput: 200.0
/crazyflie/controller/PIDs/Yaw/minOutput: -200.0
/crazyflie/controller/PIDs/Z/integratorMax: 1000.0
/crazyflie/controller/PIDs/Z/integratorMin: -1000.0
/crazyflie/controller/PIDs/Z/kd: 6000.0
/crazyflie/controller/PIDs/Z/ki: 3500.0
/crazyflie/controller/PIDs/Z/kp: 5000.0
/crazyflie/controller/PIDs/Z/maxOutput: 60000.0
/crazyflie/controller/PIDs/Z/minOutput: 10000.0
/crazyflie/controller/crazyflies: [{'id': 1, 'chann...
/crazyflie/controller/frame: crazyflie1
/crazyflie/controller/worldFrame: world
/crazyflie/crazyflie_add/enable_logging: False
/crazyflie/crazyflie_add/enable_logging_battery: True
/crazyflie/crazyflie_add/enable_logging_imu: True
/crazyflie/crazyflie_add/enable_logging_magnetic_field: True
/crazyflie/crazyflie_add/enable_logging_packets: True
/crazyflie/crazyflie_add/enable_logging_pressure: True
/crazyflie/crazyflie_add/enable_logging_temperature: True
/crazyflie/crazyflie_add/pitch_trim: 0
/crazyflie/crazyflie_add/roll_trim: 0
/crazyflie/crazyflie_add/tf_prefix: crazyflie
/crazyflie/crazyflie_add/uri: radio://0/80/2M
/crazyflie/crazyflie_add/use_ros_time: True
/crazyflie/joy/dev: /dev/input/js0
/crazyflie/joystick_controller/use_crazyflie_controller: True
/crazyflie/pose/name: goal
/crazyflie/pose/rate: 30
/crazyflie/pose/x: 0
/crazyflie/pose/y: 0
/crazyflie/pose/z: 0.5
/crazyflie/vrpn_client_node/child_frame_id: crazyflie1
/crazyflie/vrpn_client_node/frame_id: /world
/crazyflie/vrpn_client_node/ip: <IP_ADDRESS>
/crazyflie/vrpn_client_node/port: 3883
/robot_description: <?xml version="1....
/rosdistro: kinetic
/rosversion: 1.12.14

NODES
/crazyflie/
baselink_broadcaster (tf/static_transform_publisher)
controller (crazyflie_controller/crazyflie_controller)
crazyflie_add (crazyflie_driver/crazyflie_add)
joy (joy/joy_node)
joystick_controller (crazyflie_demo/controller.py)
pose (crazyflie_demo/publish_pose.py)
vrpn_client_node (vrpn_client_ros/vrpn_client_node)
/
crazyflie_server (crazyflie_driver/crazyflie_server)
rviz (rviz/rviz)
ROS_MASTER_URI=http://localhost:11311
process[crazyflie_server-1]: started with pid [4481]
process[crazyflie/crazyflie_add-2]: started with pid [4482]
process[crazyflie/joy-3]: started with pid [4483]
process[crazyflie/joystick_controller-4]: started with pid [4502]
process[crazyflie/controller-5]: started with pid [4520]
process[crazyflie/pose-6]: started with pid [4535]
[ INFO] [1552905879.021238764]: wait_for_service /add_crazyflie
[ INFO] [1552905879.022456548]: found /add_crazyflie
process[crazyflie/baselink_broadcaster-7]: started with pid [4557]
[ INFO] [1552905879.026591662]: Adding radio://0/80/2M as crazyflie with trim(0.000000, 0.000000). Logging: 1, Parameters: 0, Use ROS time: 1
process[crazyflie/vrpn_client_node-8]: started with pid [4568]
process[rviz-9]: started with pid [4595]
[ INFO] [1552905879.050524300]: Connecting to VRPN server at localhost:3883
[ INFO] [1552905879.082839475]: CF Console: SYS: -------------------------
[ INFO] [1552905879.083610263]: CF Console: ---
[ INFO] [1552905879.084980420]: CF Console: SYS: Crazyflie 2.1 is up and r
[ INFO] [1552905879.085894823]: CF Console: unning!
[ INFO] [1552905879.087291985]: CF Console: SYS: Build 0:7b0041f2edb7 (201
[ INFO] [1552905879.088269446]: CF Console: 9.01) CLEAN
[ INFO] [1552905879.089664296]: CF Console: SYS: I am 0x203937434848501700
[ INFO] [1552905879.091085429]: CF Console: 3E003A and I have 1024KB of fl
[ INFO] [1552905879.091915108]: CF Console: ash!
[ INFO] [1552905879.093317834]: CF Console: CFGBLK: v1, verification [OK]
[ INFO] [1552905879.094711109]: CF Console: DECK_DRIVERS: Found 16 drivers
[ INFO] [1552905879.095421705]: CF Console:
[ INFO] [1552905879.096786186]: CF Console: DECK_INFO: Found 0 deck memory
[ INFO] [1552905879.097531052]: CF Console: .
[ INFO] [1552905879.098895570]: CF Console: DECK_CORE: 0 deck enumerated
[ INFO] [1552905879.100285362]: CF Console: IMU: BMI088 Gyro I2C connectio
[ INFO] [1552905879.101170833]: CF Console: n [OK].
[ INFO] [1552905879.102584771]: CF Console: IMU: BMI088 Accel I2C connecti
[ INFO] [1552905879.103461251]: CF Console: on [OK]
[ INFO] [1552905879.104859788]: CF Console: IMU: BMP388 I2C connection [OK
[ INFO] [1552905879.105489672]: Opened joystick: /dev/input/js0. deadzone_: 0.050000.
[ INFO] [1552905879.105598904]: CF Console: ]
[ INFO] [1552905879.106949496]: CF Console: ESTIMATOR: Using estimator 1
[ INFO] [1552905879.108352151]: CF Console: CONTROLLER: Using controller 1
[ INFO] [1552905879.109083243]: CF Console:
[ INFO] [1552905879.110475524]: CF Console: EEPROM: I2C connection [OK].
[ INFO] [1552905879.111815395]: CF Console: SYS: Free heap: 16056 bytes
[ INFO] [1552905879.114762182]: Requesting parameters...
[ INFO] [1552905879.122299478]: Found variables in cache.
(rviz:4595): Gtk-WARNING **: GModule (/usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/immodules/im-ibus.so) initialization check failed: GLib version too old (micro mismatch)
(rviz:4595): Gtk-WARNING **: Loading IM context type 'ibus' failed
(rviz:4595): Gtk-WARNING **: GModule (/usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/immodules/im-ibus.so) initialization check failed: GLib version too old (micro mismatch)
(rviz:4595): Gtk-WARNING **: Loading IM context type 'ibus' failed
(rviz:4595): Gtk-WARNING **: GModule (/usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/immodules/im-ibus.so) initialization check failed: GLib version too old (micro mismatch)
(rviz:4595): Gtk-WARNING *: Loading IM context type 'ibus' failed
[crazyflie/crazyflie_add-2] process has finished cleanly
log file: /home/drone/.ros/log/64ccc114-496a-11e9-b01b-28c63f262be5/crazyflie-crazyflie_add-2.log
[ INFO] [1552905879.352645146]: Requesting memories...
[ INFO] [1552905879.360216348]: Memories: 5
[ INFO] [1552905879.372340562]: Ready...
[ INFO] [1552905879.372390251]: Elapsed: 0.293019 s
[INFO] [1552905879.586298]: found update_params service
[INFO] [1552905879.586780]: waiting for emergency service
[INFO] [1552905879.588099]: found emergency service
[INFO] [1552905879.588399]: waiting for land service
[INFO] [1552905879.589543]: found land service
[INFO] [1552905879.589876]: waiting for takeoff service
[INFO] [1552905879.590927]: found takeoff service
[ INFO] [1552905880.052012129]: Connection established
[ERROR] [1552905883.302422963]: client wants service /crazyflie/takeoff to have md5sum d41d8cd98f00b204e9800998ecf8427e, but it has b665b6c83a196e4774268cc26329b159. Dropping connection.
[ERROR] [1552905883.311716]: bad callback: <bound method Controller._joyChanged of <main.Controller instance at 0x7fcfbc0c2fc8>>
Traceback (most recent call last):
File "/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/topics.py", line 750, in _invoke_callback
cb(msg)
File "/home/drone/catkin_ws/src/crazyflie_ros/crazyflie_demo/scripts/controller.py", line 46, in _joyChanged
self._takeoff()
File "/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/impl/tcpros_service.py", line 435, in call
return self.call(*args, **kwds)
File "/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/impl/tcpros_service.py", line 505, in call
raise ServiceException("unable to connect to service: %s"%e)
ServiceException: unable to connect to service: remote error reported: client wants service /crazyflie/takeoff to have md5sum d41d8cd98f00b204e9800998ecf8427e, but it has b665b6c83a196e4774268cc26329b159. Dropping connection.
`
Is it a problem of computer itself?

This might be a mixed ROS installation or a bug. Also see issue #105, which seems to be a similar error.

@whoenig  Hi whoenig,I'm now facing a problem,  I launch hover_vrpn.launch, all the nodes are started, and there is no error, when I press the button on the xbox360, the crazyflie2.0 takes off ,but doesn't hover. What should I do? Thank you inadvance!

How did you get rid of the error?
What does the CF do if not hovering?

Thank for your reply. The quadcopter just flies randomly, and can't get to the desired point showed in the rviz.

@whoenig
By changing the firmware, (for me changing to 2018.01 version,) md5sum mismatch error often disappear. (Sometimes the error occurred, but I don't mind)

@Oliver-12138

If you use Optitrack, is it OK the direction of axis? (maybe  Z-up).
2, Can Motion capture system always recognize your crazyflie?
3, If you attatch camera on crazyflie, doesn't it obstract the view?

I just want to add we are facing the same issue. We use ROS Kinetic on Ubuntu 16.04., LPS, 5 Crazyflies 2.0 with latest firmware, and lps_ros_ekf_hover lunch files. On first machine everything works well, but on recently installed new machine (Ubuntu 16.04 and ROS Kinetic) we get following error when we press take off/landing button on joystick. It seems to be the issue with these two actions since emergency button seems to be functioning and references in RVIZ are changing as expected when joystick sticks are moved.
[ERROR] [1553857490.480143]: bad callback: <bound method Controller._joyChanged of <__main__.Controller instance at 0x7f514611d710>> Traceback (most recent call last):   File "/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/topics.py", line 750, in _invoke_callback     cb(msg)   File "/home/lariat/crazy_ws/src/crazyflie_ros/crazyflie_demo/scripts/controller.py", line 42, in _joyChanged     self._land()   File "/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/impl/tcpros_service.py", line 435, in __call__     return self.call(*args, **kwds)   File "/opt/ros/kinetic/lib/python2.7/dist-packages/rospy/impl/tcpros_service.py", line 505, in call     raise ServiceException("unable to connect to service: %s"%e) ServiceException: unable to connect to service: remote error reported: client wants service /crazyflie0/land to have md5sum d41d8cd98f00b204e9800998ecf8427e, but it has b665b6c83a196e4774268cc26329b159. Dropping connection.

Hi, @mikehamer;
When I used the latest firmware, I had md5sum error. But when I changed to the older firmware (for me 2018.01 version), strangely enough, the error disappeared.