Manage multiple physical servers

I have managed to get this working with a single physical server, but we have need to be able to manage a group of physical servers and to be able to provision them using the same playbook.
Is it possible to manage multiple physical boxes using this plugin? If so, could you please point me to the documentation or examples? I could only find documentation on managing one managed.server
Thanks

Hi @harmanbirdi , you can definitely do something like this:

Vagrant.configure("2") do |config|

  # defaults for all the VMs below
  config.vm.provider :managed do |_, override|
    override.vm.box = "tknerr/managed-server-dummy"
    override.ssh.username = "foo"
    override.ssh.private_key_path = "#{ENV['HOME']}/.ssh/id_rsa_foo"
  end

  # Jenkins master
  config.vm.define "master" do |master|
    master.vm.provider :managed do |managed_config, override|
      managed_config.server = "jenkins.my.org"
    end
    master.vm.provision "shell", inline: "echo 'installing jenkins master...'"
  end

  # Jenkins slaves
  (1..2).each do |num|
    config.vm.define "slave0#{num}" do |slave|
      slave.vm.provider :managed do |managed_config, override|
        managed_config.server = "slave0#{num}.my.org"
      end
      slave.vm.provision "shell", inline: "echo 'installing jenkins slave0#{num}...'"
    end
  end

end

I did manage to integrate the plugin into what I was trying to do. However, I am seeing another issue. Will open up a new issue for that. Thanks.


Inserting into PostgreSQL array columns are broken on master branch

Environment
Knex version: master
Database + version: PostgreSQL 12.6
OS: Ubuntu 18.04
Bug

Explain what kind of behaviour you are getting and how you think it should do

Using knex to insert an array into a PostgreSQL array column causes the array to be stringified, whereas node-pg expects it to be an array type. This looks to be introduced by https://github.com/knex/knex/pull/5321

Error message

 "error": "malformed array literal: \"[\"78a50219-9262-4d6f-86ab-b14734440679\"]\"",

Reduced test code, for example in https://npm.runkit.com/knex or if it needs real
database connection to MySQL or PostgreSQL, then single file example which initializes
needed data and demonstrates the problem.

Given a table with the structure:
CREATE TABLE foo (
  foo_id uuid NOT NULL DEFAULT uuid_generate_v4() PRIMARY KEY,
  numbers integer[]
);

knex(.insert({
  numbers: [1, 2, 3]
}).into('foo').toSQL().toNative();

Released in 2.4.1


Question: How do I change branches? The drop down menu doesn't include newly created ones?

I created a new branch on github for my repo, but even when I restart Obsidian it doesn't show up in the drop down menu. Am I missing a step?
I finally got the push & pull to work smoothly, but I'm really not very knowledgeable on git at all, so I apologize if it's obvious.
Thanks :)

The branch is only on GitHub and not on your local system. How and why did you create it on GitHub?

In the repo I click on the main button to the top left of the files. Then it asks if I want to create a new branch.
I thought this would be a good idea to have multiple versions in case something goes wrong. Or does github do that automatically?
Thanks :)

Since GitHub is a hub for git, it's all based on commits, so you don't have to create a new branch, since you can just revert a bad commit.

I have somewhat succesfully set up the plugin, and just now followed this tutorial to encrypt my repo-vault.
But no I don't really know much beyond the tutorials, not even sure what a commit is haha

I suggest you to learn a bit more about git. But a commit is basically a snapshot of all your files. Every time you want to push your current files to GitHub, you create a new commit, which is based on the previous commit. If something goes wrong, you can reset/revert that commit. You don't need an extra branch.

Ok, thanks, that's a good idea. Are there any plans of making git-crypt available for the plugin?

@Vinzent03 I do have a use case for branches based on the hub. Contributors (those added to the organisation with write access to the hub) can push to different branches for different changes we are working on. Having a drop down menu to switch branches would be great.

@argenos there is already a setting that allows you to switch branches. It's in Settings > Obsidian Git > Current branch.


Guide for Slim skeleton

Hi there,
The current guide learn us how to make apps with Slim but not using Slim skeleton.
Since they are several ways to make the same thing, I think you should add doc/guide for Slim skeleton too. I suggest you to create a tab so we can choose which is our preferred way to build a Slim app: normal or via skeleton.
Thanks.

Same problem.

same

same


Spring Cloud Functions support

Try to get this ready in time for SpringOne.

[ ] This needs to be a separate jar
[ ] Need to be able to supply a FunctionInvoker from a separate jar
[ ] SCF support
[ ] Example Project
[ ] Blog post

If you're going to be at SpringOne we should definitely talk about the best place to host fn support for Spring Cloud Function. If you need to make changes there, irrespective of where we host the adapter, please get in touch (or send PRs).

@dsyer I'll be there Monday. Would be great to discuss. Spring is a priority integration target for us.

Thanks @dsyer! I'll have something useable in-tree soon, then we can discuss more based on that.

This is in the latest released version. See https://github.com/fnproject/fn-spring-cloud-function-example
Couple of things left to do:

[ ] Input coercion of JSON objects is not working - we always get LinkedHashMap
[ ] Some configurations cause Spring to act in ways which are prohibited by our JDK9 setup (which doesn't specify --warn-on-illegal-reflection type arguments atm) Needs investigation to see what actually triggers it and whether we can fix it in a better way than just allowing all the things which Jigsaw prevents by default.

Hi, i had a problem that when i test a function such as uppercase or lowercase after fn routes configured successfully, the docker container will always be built eachtime when i send a request.  And the container will be destoryed when the request finished.
Compared with fn-spring-cloud-function, the original fn function ensures that the container will always exist until time out for no request comes in.
Thanks a lot.


move icon attribution from exercism.io/ATTRIBUTION.md here

a step in fixing https://github.com/exercism/exercism.io/issues/3112.

LGTM. Is this ready to merge or so you want to do more? Also, would to be interested in commit rights? As far as I'm concerned you're the one doing the most work on xclojure lately and shouldn't probably be able to do it directly. /cc @kytrinyx

This is not xclojure oops.

I think this is all :)


[Extensions] Audit of multi org tenacy across pages and modals

Current Behavior

Layer5cloud allows people to set different preferences for themes, dashboard layout, etc. This is an audit to ensure that those effects are followed throught the UI.
Theme related tasks

These icons and these breadcrumbs, do not follow change in themes.

Please confrim if these check icons need to be green or brand themed.

These read more buttons need to follow brand theme.

These toggles on account > preferences need to follow theme.

These plans page components also need to follow a common theme.

These icon buttons in tables need to follow theme. This is a issue seen throughout UI

These icon buttons need to follow theme.

These checkboxes and edit, filters, view columns and view grid icons don't follow theme.

I believe this remove user icon is supposed to be red?

These modal transfer buttons don't follow theme.

Please confirm if these flipping cards are supposed to be of this color on the flip side.

Please confirm if these cards and links are supposed to be of this color.

Please confirm if the flipside of these cards are supposed to be of constant color and the create your own design card doesn't follow theme (check this for all pages inside the catalog section/tab).

The checkboxes and icons in table don't follow theme.

Breadcrumbs throughout UI do not follow theme.

This modal's components and the color of links in tooltips do not follow theme.

Please confirm if these additional resources icons are supposed to follow theme.

Please confirm if these progress indications are supposed to be green or theme colored

Feature related tasks

Meshery cloud events section needs to be brought under organizational scope.
Designs, Filter, Views and other such resources need to be brought under organizational scope.
Connections need to be made multi tenant.

Expected Behavior
Consistent implementation of multi tenacy throughout the application.
Screenshots/Logs

Environment

Host OS: Mac Linux Windows
Platform: Docker or Kubernetes
Meshery Server Version: stable-v
Meshery Client Version: stable-v

Contributor Guides and Handbook

🛠 Meshery Build & Release Strategy
📚 Instructions for contributing to documentation

Meshery documentation site and source

🎨 Wireframes and designs for Meshery UI in Figma (open invite)
🙋🏾🙋🏼 Questions: Discussion Forum and Community Slack

// @MUzairS15 @aabidsofi19 @captain-Akshay


⚠ Bofrost.at has degraded performance

In 84d538f, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1180 ms

Resolved: Bofrost.at performance has improved in 49ed66b after 6 minutes.


remove beta logo and update favicons setup

Pull Request Test Coverage Report for Build<PHONE_NUMBER>3
Details

0 of 0   changed or added relevant lines in 0 files are covered.
8 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-0.06%) to 99.636%

Files with Coverage Reduction
New Missed Lines
%

src/modules/olMap/handler/draw/OlDrawHandler.js
8
97.36%

Totals

Change from base Build<PHONE_NUMBER>3:
-0.06%

Covered Lines:
13405

Relevant Lines:
13414

💛  - Coveralls


Fix: Vertical offset between submenu item and menu item button

Fix :- Vertical offset between submenu item and menu item button
Resolves #151081
This PR ensures that in vertical submenu we are keeping menu item button and submenu item aligned to each other horizontally
Pre-launch Checklist

[x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
[x] I read the [Tree Hygiene] wiki page, which explains my responsibilities.
[x] I read and followed the [Flutter Style Guide], including [Features we expect every widget to implement].
[x] I signed the [CLA].
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is [test-exempt].
[x] I followed the [breaking change policy] and added [Data Driven Fixes] where supported.
[x] All existing and new tests are passing.

This looks like it might be duplicating https://github.com/flutter/flutter/pull/151294?

Yes, @Piinks, Looks like it's duplicate.
Closing it.


[ja] Translate tasks/debug-application-cluster/debug-running-pod into Japanese

This is a Feature Request
What would you like to be added
Translate tasks/debug-application-cluster/debug-running-pod  into Japanese.
Why is this needed
This page has not been translated.
Comments
/language ja
/assign

PR:
https://github.com/kubernetes/website/pull/31023

/triage accepted

/remove-lifecycle rotten


Packaging of Ultralight

The Neko Engine requires the contents of the bin folder of an Ultralight SDK to be located at assets/Natives/Ultralight for every game. While you're absolutely right, not to add these libraries to source control, I'm wondering whether there is a better solution.
The optimal solution would be to bundle Ultralight binaries in your Maven package or maybe in a separate Maven package if you  want to support more platforms than just Windows out of the box.
If you can't embed resource files in Maven packages you could think about a script for projects like Among Us 3D which downloads and extracts Ultralight automatically.

The Ultralight DLLs should definitely be packaged along with the maven package. LWJGL does this with it's natives as well, so this should work. However, I don't know if this conforms to Ultralight's proprietary license model.
There is a similar problem with other resources. The neko engine requires a baseline set of shaders and other resource files. Those must be copied to the output folder manually each update. While this allows easy editing of the built-in shaders, it also does not separate engine code and user code.

This update concept for shaders sounds interesting but I can understand that you didn't want to publish a new release of Ultralight for every changed line of code. Anyhow, you don't need to update your shader files in order to run your game while Ultralight binaries are necessary.
The proprietary license of Ultralight is not compatible to LGPL-3.0 which you are using for this engine. However, you could just add a section to your README with a link to their license and mention that this dependency of the Neko Engine requires a license for commercial use by companies with more than $100K gross annual revenue. Legally, this would be even better than the current approach to package Ultralight in games like Among Us 3D without mentioning license details.

You actually do need the shaders, because if you create a new game with the neko engine and don't copy the shader files, it will show a blank screen and a lot of errors in the console, which is not very nice.
As for the license, I will definitely add a notice to the readme so that there are no legal problems.


update abe screenshot

Also:

update twitter card type to summary with logo
change logo to favicon

@kul3r4 PTAL

in the ABE screenshot, why the "view annotated code" is not pink? (as the latest code)

I didn't update the screenshot. I'd prefer to leave it as it is. The landing page is going to be restructured anyway...


Add retirement guide

What
Added retirement guide
How to review
Check this correlates with our policy and dp-apipoc-server
Check makes sense to end users.
Who can review
Not me.

unit and audit require https://github.com/ONSdigital/dp-developer-site/pull/81 to merge before they will pass. They're not current checks and so should be ignored.


[speex] Build every triplets with CMake and added CMake config files

Builds the package with CMake for every triplets
Added CMake config files

What does your PR fix?
None

Which triplets are supported/not supported?

I am still working on this PR

Did you consider using the original build system for all triplets instead? I know it is slower on Windows, but having the buildsystem maintenance in vcpkg (and no tests!) is a problem in some other ports already. vcpkg_configure_make has improved a lot since this port was added, and pkg-config support, too.

I just tried it : it's completely broken with MSVC. I get build errors coming from everywhere.
And I am really not used to autoconf and automake, so I can't try and fix those files.

Looks like there was just a tiny showstopper: https://github.com/xiph/speex/pull/20
Full alternative PR: https://github.com/microsoft/vcpkg/pull/26502

Ok, closing this pull request.
I would have prefered to use unofficial config files instead of pkg-config, but anyway...


Unable to connect to near wallet and cannot vote on AStro DAO

Describe the bug
I am unable to connect to Near wallet  sahanamanoj.near and vote on proposals
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to h

elp explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

@sahanamanoj  can you please try to clear cookies and localstorage for the appastro.dao page and try to perform login flow again?

i have unblocked the popup yet the same message
[image: image.png]
On Mon, Apr 11, 2022 at 6:14 PM Oleg Verzunov @.***>
wrote:

@sahanamanoj https://github.com/sahanamanoj Hi! From your screenshot I
see that popup is blocked.
[image: image]
https://user-images.githubusercontent.com/40799684/162758480-b2e1d1b9-e279-4837-9ede-907fd833cb01.png
You should allow popups fro this page so you can login into your NEAR
account in wallet.
—
Reply to this email directly, view it on GitHub
https://github.com/near-daos/astro-ui/issues/897#issuecomment-1095106038,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AYU7QJKOAIRAANVTCS4IO73VEQXS3ANCNFSM5TCMZWHQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

Hi
Its fine now my near wallet is getting connected to astro dao, so am i
able to vote now on the proposals?
kindly reply
On Mon, Apr 11, 2022 at 6:23 PM sahana manoj @.***>
wrote:

i have unblocked the popup yet the same message
[image: image.png]
On Mon, Apr 11, 2022 at 6:14 PM Oleg Verzunov @.***>
wrote:

@sahanamanoj https://github.com/sahanamanoj Hi! From your screenshot I
see that popup is blocked.
[image: image]
https://user-images.githubusercontent.com/40799684/162758480-b2e1d1b9-e279-4837-9ede-907fd833cb01.png
You should allow popups fro this page so you can login into your NEAR
account in wallet.
—
Reply to this email directly, view it on GitHub
https://github.com/near-daos/astro-ui/issues/897#issuecomment-1095106038,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AYU7QJKOAIRAANVTCS4IO73VEQXS3ANCNFSM5TCMZWHQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

i was able to connect to astro dao  and this is the screen at the moment ,
i dont see my near wallet on astro dao
so looks like its not yet resolved
[image: image.png]
On Mon, Apr 11, 2022 at 6:14 PM Oleg Verzunov @.***>
wrote:

@sahanamanoj https://github.com/sahanamanoj Hi! From your screenshot I
see that popup is blocked.
[image: image]
https://user-images.githubusercontent.com/40799684/162758480-b2e1d1b9-e279-4837-9ede-907fd833cb01.png
You should allow popups fro this page so you can login into your NEAR
account in wallet.
—
Reply to this email directly, view it on GitHub
https://github.com/near-daos/astro-ui/issues/897#issuecomment-1095106038,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AYU7QJKOAIRAANVTCS4IO73VEQXS3ANCNFSM5TCMZWHQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

hello ,
Thanks i was able to connect and vote too( cleared the cookies as advised )
On Mon, Apr 11, 2022 at 5:41 PM karpovdmitryod @.***>
wrote:

@sahanamanoj https://github.com/sahanamanoj can you please try to clear
cookies and localstorage for the appastro.dao page and try to perform login
flow again?
—
Reply to this email directly, view it on GitHub
https://github.com/near-daos/astro-ui/issues/897#issuecomment-1095067926,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AYU7QJLTIRCURHCFTV4IAMLVEQTYXANCNFSM5TCMZWHQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

I also have same problem. Actually, after I connected on the Astro DAO, it immediately logs me out (I see myself logged-in, then the browser forced refresh itself, then I got logged out again). It seems like there's some issue with the site; I try logging in with another wallet on incognito, there seems to be no problem. No cookie/cache clearing helps.

I think I have a related problem : I had created a proposal "Add a new group" and when I vote it's opened a contract approval but I have : {"index":0,"kind":{"ExecutionError":"Smart contract panicked: panicked at 'ERR_UNSUPPORTED_ROLE', src/policy.rs:369:30"}}. And so, it's impossible for me to reject proposal.
What can I do ?
resurg.sputnikv2.testnet


Support for zero-dimensional tensors is broken

Description
Support for zero-dimensional tensors is broken
Error Message
(Paste the complete error message. Please also include stack trace by setting environment variable DMLC_LOG_STACK_TRACE_DEPTH=10 before running your script.)
terminate called after throwing an instance of 'dmlc::Error'
  what():  [06:19:35] src/imperative/./imperative_utils.h:146: Operator _zeros inferring shapes failed.
input shapes:
output shapes:
None
operator attributes:
dtype : float32
ctx : cpu(0)
shape : []

Stack trace:
  [bt] (0) /usr/local/lib/python3.7/site-packages/mxnet/libmxnet.so(+0x307d3b) [0x7f3ee1e63d3b]
  [bt] (1) /usr/local/lib/python3.7/site-packages/mxnet/libmxnet.so(mxnet::imperative::SetShapeType(mxnet::Context const&, nnvm::NodeAttrs const&, std::vector<mxnet::NDArray*, std::allocator<mxnet::NDArray*> > const&, std::vector<mxnet::NDArray*, std::allocator<mxnet::NDArray*> > const&, mxnet::DispatchMode*)+0x363b) [0x7f3ee4fff3bb]

To Reproduce
It can appear in multiple different situations:
import mxnet
x = mxnet.nd.zeros([]) # failure

or
x = mxnet.nd.from_numpy(numpy.zeros([])) # ok, tensor created
x.attach_grad() # failure

Environment
----------Python Info----------
Version      : 3.7.3
Compiler     : GCC 6.3.0 20170516
Build        : ('default', 'Jun 11 2019 01:05:09')
Arch         : ('64bit', '')
------------Pip Info-----------
Version      : 19.1.1
Directory    : /usr/local/lib/python3.7/site-packages/pip
----------MXNet Info-----------
Version      : 1.6.0
Directory    : /usr/local/lib/python3.7/site-packages/mxnet
Num GPUs     : 0
Commit Hash   : 6eec9da55c5096079355d1f1a5fa58dcf35d6752
----------System Info----------
Platform     : Linux-4.19.76-linuxkit-x86_64-with-debian-9.9
system       : Linux
node         : 0a353fd2b50d
release      : 4.19.76-linuxkit
version      : #1 SMP Thu Oct 17 19:31:58 UTC 2019
----------Hardware Info----------
machine      : x86_64
processor    :
Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                4
On-line CPU(s) list:   0-3
Thread(s) per core:    1
Core(s) per socket:    1
Socket(s):             4
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 158
Model name:            Intel(R) Core(TM) i9-8950HK CPU @ 2.90GHz
Stepping:              10
CPU MHz:               2900.000
BogoMIPS:              5808.00
L1d cache:             32K
L1i cache:             32K
L2 cache:              256K
L3 cache:              12288K
Flags:                 fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht pbe syscall nx pdpe1gb lm constant_tsc rep_good nopl xtopology nonstop_tsc cpuid tsc_known_freq pni pclmulqdq dtes64 ds_cpl ssse3 sdbg fma cx16 xtpr pcid sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch pti fsgsbase bmi1 hle avx2 bmi2 erms rtm xsaveopt arat
----------Network Test----------
Setting timeout: 10
Timing for MXNet: https://github.com/apache/incubator-mxnet, DNS: 0.0286 sec, LOAD: 0.7676 sec.
Timing for GluonNLP GitHub: https://github.com/dmlc/gluon-nlp, DNS: 0.0016 sec, LOAD: 0.6134 sec.
Timing for GluonNLP: http://gluon-nlp.mxnet.io, DNS: 0.0497 sec, LOAD: 0.7350 sec.
Timing for D2L: http://d2l.ai, DNS: 0.0560 sec, LOAD: 0.2496 sec.
Timing for D2L (zh-cn): http://zh.d2l.ai, DNS: 0.0302 sec, LOAD: 0.1806 sec.
Timing for FashionMNIST: https://repo.mxnet.io/gluon/dataset/fashion-mnist/train-labels-idx1-ubyte.gz, DNS: 0.1056 sec, LOAD: 0.3243 sec.
Timing for PYPI: https://pypi.python.org/pypi/pip, DNS: 0.0205 sec, LOAD: 0.5132 sec.
Error open Conda: https://repo.continuum.io/pkgs/free/, HTTP Error 403: Forbidden, DNS finished in 0.017886877059936523 sec.

This only works in the https://github.com/apache/incubator-mxnet/issues/14253 interface, which is still opt-in but will be default in 2.0

@leezu tried with mxnet.numpy.zeros([]) but also got failure.
Both hands for that proposal, BTW.

@arogozhnikov You will need to manually call mx.npx.set_np() to trigger the numpy semantic.

@arogozhnikov I’ll close it for now because I think adding “mx.npx.set_np()” will solve the issue. Feel free to reopen it.


How to check whether omvll_config.py is correctly written?

Hi,
I found that if I did a typo in omvll_config.py, the compilation simply continues without any error or warning. So how would I detect if anything goes wrong? Thanks.

Thanks for the report, would you mind showing an example of omvll_config.py with the typo issue went undetected?


When adding a second dataset to a config.json, the dataset facets are empty

Steps to reproduce: add a dataset using spot-import. Then add another dataset using spot-import using the same config.json. Spot-import should merge the datasets into 1 json file, but the facets array of the second set is empty.
The only way I can now have multiple datasets in, is to use a new config.json file every time and merge them manually

fixed in latest dev version.


Add support for deleted and moved files

WHAT
SSIA
WHY

https://github.com/grafana/github-api-commit-action/issues/5

Details
By switching to using --name-status instead of --name-only for retrieving the diff it becomes possible to differentiate between the 4 cases.
An example output with all 4 cases would look like this
D       deleted_file.txt
M       modified_file.txt
R100    renamed_file_org.txt      renamed_file_new.txt
A       added_file.txt

With this its easy to parse the output

deleted: D
modified: M
renamed: R<\d\d\d> (the number is the sameness percentage between the new and old file)
new: A

For M and A we can keep the same logic that already exists. For D we simply create a tree node with sha set to null, this indicates a deletion for the API. In the context of the API R is simply a delete for the old file path and a add for the new one.

Ideally i'd like to add some tests, but I dont know typescript well enough to implement those given that everything seems to be just un exported functions. Also no idea what the typescript way of mocking/testing the filesystem + git would be 🤔

@abannachGrafana does this look like a reasonable approach to solving #55 to you?


make default route via nebula node

Wireguard do someting magic while settting
AllowedIPs = <IP_ADDRESS>/0, ::/0

And all traffic will route by that wireguard peer.
But if set nebula's unsafe_route <IP_ADDRESS>/0,   it will failed to start:
level=fatal msg="failed to set mtu 1300 on route <IP_ADDRESS>/0; file exists"

In fact, the routing of wireguard is also done through system routing. It can also be realized by system routing！

I would appreciate this option as well for certain members of the nebula.

I would appreciate this option as well for certain members of the nebula.

This is something we are interested in supported and I'll try to find time for it this year.

ping

I ran a test, I might be totally wrong , however I think the issue with adding <IP_ADDRESS>/0 via nebula IP, is that the handshake times out to reach the actual nebula server " at least this is what I think happens " so what I did was using https://www.procustodibus.com/blog/2021/03/wireguard-allowedips-calculator/ to exclude the nebula exit node IP , that gave me few routes to add, did that, reload my client and it works... I am sure there is a better way and maybe a correct way, but thought to put this here

I ran a test, I might be totally wrong , however I think the issue with adding <IP_ADDRESS>/0 via nebula IP, is that the handshake times out to reach the actual nebula server " at least this is what I think happens " so what I did was using https://www.procustodibus.com/blog/2021/03/wireguard-allowedips-calculator/ to exclude the nebula exit node IP , that gave me few routes to add, did that, reload my client and it works... I am sure there is a better way and maybe a correct way, but thought to put this here

Did you add the routes under unsafe_routes? or did you add them on OS/System level (e.g. ip route add)?

I ran a test, I might be totally wrong , however I think the issue with adding <IP_ADDRESS>/0 via nebula IP, is that the handshake times out to reach the actual nebula server " at least this is what I think happens " so what I did was using https://www.procustodibus.com/blog/2021/03/wireguard-allowedips-calculator/ to exclude the nebula exit node IP , that gave me few routes to add, did that, reload my client and it works... I am sure there is a better way and maybe a correct way, but thought to put this here

Did you add the routes under unsafe_routes? or did you add them on OS/System level (e.g. ip route add)?

via unsafe_router within nebula configs


Add fancy progress bar

Let me ask you a difficult question... Does this progress indicator spark joy? - @andrewrk on #20

Personally, the progress step indicator didn't do it for me.
Here's a fancy smooth progress bar instead that brings me a little more joy. YMMV 🤷
https://github.com/andrewrk/poop/assets/32912555/25a70ec7-1967-4d71-a22f-5932912682ed

that's fancy as shit! I love it!


Implementation for VM creation on cluster

This Implementation supports  VM creation on a cluster environment.

Need to Pass -TiPCluster "True" when invoking Run-LisaV2.ps1

Now, we need to pass -ClusteredVM when invoking Run-LisaV2.ps1

Hello,
This implementation seems pretty simple and might not catch all the issues when a live migration is tested. For this change it is mandatory to add an example test case, so that we can discuss on how this change can be better fitted to the needs of a real test case.
What are the requirements of a test case run in LISAV2 with a clustered VM?
As I can see, there cannot be a LISAV2 run with test cases that have clustered or non clustered VMs.
For start, can you add a test case that uses this framework change?
Thank you,
Adrian

@sireeshapotnuru can you add the SECUREBOOT-MIGRATEVM code in the same PR?

@ader1990, I have added the Testcase "SECUREBOOT-MIGRATEVM" in this PR

Added new setuptype "ClusteredVM"

Latest Test Result:
[LISAv2 Test Results Summary]
Test Run On           : 11/22/2018 10:22:40
VHD Under Test        : SecbootGen2.vhdx
Total Test Cases      : 1 (1 Pass, 0 Fail, 0 Abort)
Total Time (dd:hh:mm) : 0:0:4
XML File              : TestConfiguration
ID TestCaseName                                                 TestResult TestDuration(in minutes)
1 SECUREBOOT-MIGRATEVM                                               PASS                 4.27

to another node irrespective of migration type
Should be able to stop the Cluster service on a node in

Hello,
I was referring to lisav2 running test cases using clustered vms.
I have some questions:

What are the requirements of the environment in addition to the hyperv lisav2 requirements?
Can I run other test cases in the same lisav2 run?

Please answer to all these questions in the commit message too.

to another node irrespective of migration type
Should be able to stop the Cluster service on a node in

Hello,
I was referring to lisav2 running test cases using clustered vms.
I have some questions:

What are the requirements of the environment in addition to the hyperv lisav2 requirements?
Can I run other test cases in the same lisav2 run?

Please answer to all these questions in the commit message too.

Answers as below:
What are the requirements of the environment in addition to the hyperv lisav2 requirements?
1) Should have a Cluster setup with atleast two nodes and one storage volume
Can I run other test cases in the same lisav2 run?
2) yes we can run both Non-clustered and Clustered testcases in same run
Updated the same in commit message too


CLI vs Docker difference. --datetime-format and --log-format and timezone

Thanks for this excellent tool -- I've almost got it just right.
I'm noticing a difference between using the installed version 1.7 vs the latest Docker image.
Using this dummy access_log
<IP_ADDRESS> - - [16/Dec/2022:15:11:00 +0000] "GET /app1/ HTTP/1.1" 200 1024 "-" "-"
<IP_ADDRESS> - - [16/Dec/2022:16:14:00 +0000] "GET /app2/ HTTP/1.1" 200 1024 "-" "-"
<IP_ADDRESS> - - [16/Dec/2022:16:21:00 +0000] "GET /app1/ HTTP/1.1" 200 1024 "-" "-"

When I type this command, I get the proper HTML results I am expecting.
goaccess access_log -a -o report.html --log-format='%h %^ %e [%x] "%r" %s %b "%R" "%u"' --datetime-format='%d/%b/%Y:%H:%M:%S %z' --tz=America/New_York --no-ip-validation
However, when I type this command...
cat access_log | docker run --rm -i -e LANG=$LANG -e TZ="America/New_York" allinurl/goaccess:latest -a -o html --datetime-format='%d/%b/%Y:%H:%M:%S %z' --tz=America/New_York --no-ip-validation --log-format='%h %^ %e [%x] "%r" %s %b "%R" "%u"' - > report.html
I receive the following error:
 [PARSING -] {3} @ {0/s}
==1== GoAccess - version 1.7 - Jan  2 2023 19:06:03
==1== Config file: /etc/goaccess/goaccess.conf
==1== https://goaccess.io -<EMAIL_ADDRESS>==1== Released under the MIT License.
==1==
==1== FILE: -
==1== Parsed 3 lines producing the following errors:
==1==
==1== Token '16/Dec/2022:15:11:00 +0000' doesn't match specifier '%x'
==1== Token '16/Dec/2022:16:14:00 +0000' doesn't match specifier '%x'
==1== Token '16/Dec/2022:16:21:00 +0000' doesn't match specifier '%x'
==1==
==1== Format Errors - Verify your log/date/time format

I've not been able to resolve this and am wondering if there is a bug with the Docker version, or perhaps I am supplying options incorrectly. Thanks so much again!
Wes

Sorry for the delay on my response.
It may be giving priority to date-format and time-format variables instead --datetime-format in /etc/goaccess/goaccess.conf. Could you please try passing --no-global-config or getting rid of those two variables from the config file and see if that does it? Let me know. Thanks

I'm sorry for just writing back, but I'm back at trying to utilize goaccess through the Docker container. --no-global-config does not change the behavior. I am still getting the same error as above.
In this thread there is some conversation about locale and such. Any suggestion on what to try next to troubleshoot this on the goaccess docker, alpine-based image?
Using this format within Docker --log-format='%h %^[%d:%t %^] \"%r\" %s %b \"%R\" \"%u\" %^ \"%v\" %^ %Lms' --time-format='%H:%M:%S' --date-format='%d/%b/%Y' --tz=America/New_York does work and does not throw errors. It seems to work, but what do I sacrifice by using this method?
A likely separate issue which I can open is that it seems that goaccess is attributing the the log entries to the previous day instead of the current day. So, -1 day.
Thanks for this great project! -Wes

As you mentioned, it appears to be a locale-related matter. Could you please check the locale of your machine, for example, by running locale -a? Your logs seem to display English dates, so you might want to consider setting the LC_TIME variable to "en_US.UTF-8".

When I run locale -a on the allinurl/goaccess image I receive the error sh: locale: not found.

Did execute the locale command from within the container's shell? you can also try: echo $LANG. You can also try putting in your Dockerfile:
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8

or just LC_TIME

Yep, from within the running container running the image allinurl/goaccess when I open a shell and type locale -a I get the error sh: locale: not found.
When instead I execute date '+%d/%b/%Y:%H:%M:%S %z' then I get back 21/Mar/2024:13:25:42 -0400

To my compose file setup I added
LANG: en_US.UTF-8
LANGUAGE: en_US.UTF-8
LC_TIME: en_US.UTF-8
LC_ALL: en_US.UTF-8

 [SETTING UP STORAGE /var/log/access_logs/localtime.log] {0} @ {0/s}
==1== GoAccess - version 1.9.1 - Feb  6 2024 03:28:03
==1== Config file: No config file used
==1== https://goaccess.io -<EMAIL_ADDRESS>==1== Released under the MIT License.
==1==
==1== FILE: /var/log/access_logs/localtime.log
Cleaning up resources...
==1== Parsed 10 lines producing the following errors:
==1==
==1== Token '21/Mar/2024:12:10:43 -0400' doesn't match specifier '%x'
==1== Token '21/Mar/2024:12:10:43 -0400' doesn't match specifier '%x'
==1== Token '21/Mar/2024:12:10:43 -0400' doesn't match specifier '%x'
==1== Token '21/Mar/2024:12:10:43 -0400' doesn't match specifier '%x'
==1== Token '21/Mar/2024:12:10:44 -0400' doesn't match specifier '%x'
==1== Token '21/Mar/2024:12:10:44 -0400' doesn't match specifier '%x'
==1== Token '21/Mar/2024:12:10:44 -0400' doesn't match specifier '%x'
==1== Token '21/Mar/2024:12:10:44 -0400' doesn't match specifier '%x'
==1== Token '21/Mar/2024:12:10:44 -0400' doesn't match specifier '%x'
==1== Token '21/Mar/2024:12:10:44 -0400' doesn't match specifier '%x'
==1==
==1== Format Errors - Verify your log/date/time format```

Just give me a heads up if this provides any help, it seems to resemble the issue.

Thanks, but if I'm using the docker image from this project, shouldn't it have the correct strptime/strftime version to support what is needed? I don't need to install or configure anything within the allinurl/goaccess docker image, right?
If I use web logs that are already in my local time then this works:
--log-format='%h %^ %^ [%d:%t %^] \"%r\" %s %b \"%R\" \"%u\" %^ \"%v\" %^ %Lms'
--time-format='%H:%M:%S'
--date-format='%d/%b/%Y'

However, if I use logs which are in the default UTC time I cannot adjust for the timezone.

I'm thinking perhaps the busybox OS which the allinurl/goaccess Docker image is based on has a more minimal version of date which can output the TZ offset %z but does not understand it as an input.
https://unix.stackexchange.com/a/494586/449962

For example on RHEL 9:
date -d "Mar 22, 2024" +"%Y-%m-%d"
2024-03-22

But on busybox:musl on which the allinurl/goaccess Docker image is built:
date -d "Mar 22, 2024" +"%Y-%m-%d"
date: invalid date 'Mar 22, 2024'

Thanks for sharing that. Yeah, it seems like musl doesn't support %z. I'll dig into this a bit more and let you know what I find.

I think it might be a busybox thing. I tried the musl, glibc and uclibc image variants (verify my work of course) and they all responded like this:
# date -d "Mar 25, 2024" +"%Y-%m-%d"
date: invalid date 'Mar 25, 2024'

Give the latest image a shot, I believe it should do the job. Let me know how it goes. Thanks.

Nice work, I believe that did it! Just for the wrap up, I am reading a log file which is in UTC time generated by Traefik on Docker Swarm:
<IP_ADDRESS> - - [21/Mar/2024:16:08:43 +0000] "GET /index.html HTTP/2.0" 200 1484 "-" "-" 829759 "some-docker-service-router@docker" "http://<IP_ADDRESS>:8080" 129ms

And this is my compose file entry:
    command: >
      /path/to/access_logs/utctime.log
      -o /path/to/output/index.html
      --real-time-html
      --origin=https://sub.example.com
      --port=7890
      --ws-url=wss://sub.example.com:443/www-stats-ws
      --log-format='%h %^ %^ [%x] \"%r\" %s %b \"%R\" \"%u\" %^ \"%v\" %^ %Lms'
      --datetime-format='%d/%b/%Y:%H:%M:%S %z'
      --date-spec=min
      --tz=America/New_York

Thanks so much for this tool and this most recent fix! -Wes

One item I noticed -- which I don't know if it is intended or not -- is that if I have a log formatted in my local time already (not UTC as shown above) and I keep the --tz=America/New_York I get some real weird results.
For example a log entry with a timestamp of 21/Mar/2024:12:39:50 -0400 gets rendered into GoAccess as 07/Apr/2024 and the time of 00:39. If I remove the --tz=America/New_York everything renders as expected.
So, all is well, but I thought I'd mention including the time zone could hurt if your logs are already in local time.

Thanks for letting me know. I've made some changes to ensure that the offset is extracted and calculated correctly. Feel free to give it a try and let me know what you think.

Perfect! Including the timezone via --tz=America/New_York when parsing a log with times already in local time no longer has an adverse effect. A huge thank you to you, sir!

No, thank you for reporting this issue! Please feel free to reopen it if necessary.


Update mock.go to call hooks that are added to mock client

After updating to go-redis-v9, I found that the hooks were not getting executed in tests. This change makes it so hooks that are added to the mock client are executed as expected, per https://uptrace.dev/blog/go-redis-v9.html#improved-hooks.

@monkey92t is there any chance my PR could be reviewed? I would love to use v9 mock for my telemetry hook tests using go-redis v9.

Is this project abandoned?


Incorrect Positioning of floating Panel in addPanel and fromJson Methods

I am currently in the process of testing the JavaScript library using the dockview-core.esm.js module. During my testing, I encountered a bug related to the addPanel and fromJson methods.
The issue arises specifically when I utilize the attach(parent) function. In this context, the addPanel method with a specified floating position or the fromJson method fails to correctly position the panel as intended.
  const pane4 = dockview.addPanel({
    id: "panel_4",
    title: "Panel 4",
    component: "default",
    floating: { x: 222, y: 333, width: 300, height: 300 },
    // floating: true,
  });

Upon investigating, I noticed that the issue originates from the setBounds method within the Overlay class. This method retrieves the containerRect using the following line:
const containerRect = this.options.container.getBoundingClientRect();

However, the containerRect always seems to be returning values of 0, which affects the calculation of the panel's position (top and left) due to the subsequent clamp operation.
This leads to the panel consistently being positioned at 0, regardless of the intended position.
Thanks

Thanks for the report.
I had a quick go at this using the plain-javascript version of dockview dockview-core but I couldn't seem to get the behaviour you are describing.
I've got a sandbox below which is a dockview-core example creating some floating and non-floating groups. Would you be able to adjust this sandbox to re-produce the error you see?
https://codesandbox.io/s/broken-tdd-7jd9v7?file=/src/app.ts

Indeed, it works!
I simply had a typo in my CSS...  (100v instead of 100vw...)
Sorry for having wasted your time.
But still, thank you for your responsiveness!


error: failed to run custom build command for `proto_conv v0.1.0

Caused by:
process didn't exit successfully: /Users/barray/Documents/learn-libra/libra/target/debug/build/proto_conv-92f45ffe9bbc0fa2/build-script-build (exit code: 101)
--- stdout
cargo:rerun-if-changed=tests/proto/test.proto
--- stderr
thread 'main' panicked at 'Failed to compile protobuf input: "tests/proto/test.proto"', common/build_helpers/src/build_helpers.rs:62:29
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace.

We recently removed the proto_conv crate so you might want to try fetching the latest master and trying again.


i18n(fr) Create styling.mdx

Description (required)
Create french translation for styling.mdx file

there are error with check link but i dont know that.
a idea ?
19:22:55 [build] Building static entrypoints...
Error: 3 [ERROR] [vite] [@mdx-js/rollup] Expected a closing tag for `<link>` (293:14-293:20) before the end of `strong`
file: /home/runner/work/docs/docs/src/content/docs/fr/guides/styling.mdx:293:3
Expected a closing tag for `<link>` (293:14-293:20) before the end of `strong`
  Stack trace:
    at Object.transform (file:///home/runner/work/docs/docs/node_modules/.pnpm/@astrojs+mdx@2.0.0_astro@4.0.8/node_modules/@astrojs/mdx/dist/index.js:99:27)
    at async ModuleLoader.addModuleSource (file:///home/runner/work/docs/docs/node_modules/.pnpm/rollup@4.6.1/node_modules/rollup/dist/es/shared/node-entry.js:177[24](https://github.com/withastro/docs/actions/runs/7514403403/job/20457235467?pr=6378#step:4:25):36)
 ELIFECYCLE  Command failed with exit code 1.
 ELIFECYCLE  Command failed with exit code 1.
Error: Process completed with exit code 1


Fatal Crash "No views in hierarchy found matching"

Environment

Technology
Version

Flutter version
2.2.0-10.3.pre • channel beta

Plugin version
5.3.2

Android version
8.0.0

iOS version
--

Xcode version
--

Device information: Samsung Galaxy S9  |  Google Pixel 5
Description
I couldn't reproduce the crash on my own. I just got the Crashreports from the app in the playstore.
Images

Stacktrace/Logcat
Fatal Exception: androidx.test.espresso.NoMatchingViewException: No views in hierarchy found matching: (view.getClass().getName() matches: is "com.pichillilorenzo.flutter_inappwebview.in_app_webview.InAppWebView" and view.getId() is <-1 (resource name not found)> and is a child at 0th index of the matching parent: (view.getClass().getName() matches: is "com.pichillilorenzo.flutter_inappwebview.pull_to_refresh.PullToRefreshLayout" and view.getId() is <-1 (resource name not found)> and is a child at 0th index of the matching parent: (view.getClass().getName() matches: is "io.flutter.embedding.engine.mutatorsstack.a" and view.getId() is <-1 (resource name not found)> and is a child at 3th index of the matching parent: (view.getClass().getName() matches: is "io.flutter.embedding.android.k" and view.getId() is <-1 (resource name not found)> and is a child at 0th index of the matching parent: (view.getClass().getName() matches: is "io.flutter.embedding.android.FlutterSplashView" and view.getId() is <1 (resource name not found)> and is a child at 0th index of the matching parent: (view.getClass().getName() matches: is "android.widget.FrameLayout" and view.getId() is <16908290/android:id/content> and is a child at 1th index of the matching parent: (view.getClass().getName() matches: is "android.widget.LinearLayout" and view.getId() is <-1 (resource name not found)> and is a child at 0th index of the matching parent: (view.getClass().getName() matches: is "com.android.internal.policy.DecorView" and view.getId() is <-1 (resource name not found)> and view.getRootView() to equal view))))))))

View Hierarchy:
+>DecorView{id=-1, visibility=VISIBLE, width=1080, height=2220, has-focus=true, has-focusable=true, has-window-focus=true, is-clickable=false, is-enabled=true, is-focused=false, is-focusable=false, is-layout-requested=false, is-selected=false, layout-params=WM.LayoutParams{(0,0)(fillxfill) sim=#10 ty=1 fl=#81810100 pfl=0x1020000 fmt=-3 wanim=0x1030001 vsysui=0x510 needsMenuKey=2 colorMode=0 naviIconColor=0}, tag=null, root-is-layout-requested=false, has-input-connection=false, x=0.0, <truncated: 6197 chars>
       at androidx.test.espresso.NoMatchingViewException$Builder.build(NoMatchingViewException.java:5)
       at androidx.test.espresso.base.ViewFinderImpl.getView(ViewFinderImpl.java:21)
       at androidx.test.espresso.ViewInteraction.doPerform(ViewInteraction.java:4)
       at androidx.test.espresso.ViewInteraction.access$100(ViewInteraction.java:1)
       at androidx.test.espresso.ViewInteraction$1.call(ViewInteraction.java:2)
       at androidx.test.espresso.ViewInteraction$1.call(ViewInteraction.java:1)
       at java.util.concurrent.FutureTask.run(FutureTask.java:266)
       at android.os.Handler.handleCallback(Handler.java:789)
       at android.os.Handler.dispatchMessage(Handler.java:98)
       at android.os.Looper.loop(Looper.java:164)
       at android.app.ActivityThread.main(ActivityThread.java:6938)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.Zygote$MethodAndArgsCaller.run(Zygote.java:327)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1374)

Same issue here, but I realized that this error doesn't happen when my users install the app with APK, just when I publish in internal test track in Google Play with ABB.

same there,  found in android 10.

No views in hierarchy found matching: (view.getClass().getName() matches: is "com.pichillilorenzo.flutter_inappwebview.in_app_webview.InAppWebView" and view.getId() is <-1 (resource name not found)> and is a child at 0th index of the matching parent: (view.getClass().getName() matches: is "com.pichillilorenzo.flutter_inappwebview.pull_to_refresh.PullToRefreshLayout" and view.getId() is <-1 (resource name not found)> and is a child at 0th index of the matching parent: (view.getClass().getName() matches: is "io.flutter.embedding.engine.mutatorsstack.FlutterMutatorView" and view.getId() is <-1 (resource name not found)> and is a child at 2th index of the matching parent: (view.getClass().getName() matches: is "io.flutter.embedding.android.FlutterView" and view.getId() is <1 (resource name not found)> and is a child at 0th index of the matching parent: (view.getClass().getName() matches: is "io.flutter.embedding.android.FlutterSplashView" and view.getId() is <2 (resource name not found)> and is a child at 0th index of the matching parent: (view.getClass().getName() matches: is "android.widget.FrameLayout" and view.getId() is <609893468 (resource name not found)> and is a child at 0th index of the matching parent: (view.getClass().getName() matches: is "android.widget.FrameLayout" and view.getId() is <16908290/android:id/content> and is a child at 1th index of the matching parent: (view.getClass().getName() matches: is "android.widget.LinearLayout" and view.getId() is <-1 (resource name not found)> and is a child at 0th index of the matching parent: (view.getClass().getName() matches: is "com.android.internal.policy.DecorView" and view.getId() is <-1 (resource name not found)> and view.getRootView() to equal view)))))))))


Debugging Jobs

where the jobs were stored ? can i debug the queue of job ? like in https://github.com/yigit/android-priority-jobqueue i can debuggin the job with Database debug ? how about this library ?

@ciarand

lul hai bae

whaaaaaat???? @AbdulSalamAli0018

In April 2019 we announced that Firebase Job Dispatcher would be deprecated today, April 7th 2020.  For this reason we are going to close all open issues and archive the repository.  We will also stop supporting FJD for new app installations (such as those targeting sdk versions greater than Android Q).  Existing apps that rely on FJD should continue to function as usual.
While we will no longer work on FJD, we encourage you to migrate to Work Manager which is a superior tool and fully supported by the Android team.
Thank you for taking the time to try the library and provide this feedback.  We sincerely appreciate your effort and we apologize for not addressing it in time.


Handling of multiple flags with same name

I'm making my head around how to best implement the following scenario.
I'm creating a cli using cobra with several (sub)commands:
cli cmdA --flagA
cli cmdB --flagA
cli cmdC --flagB
I can't define 'flagA' on both subcommands (cmdA & cmdB) as pflags reports that 'flagA redeclared in this block'
cmdAflagA := cmdA.Flags().Bool("flagA",...)
cmdBflagA := cmdB.Flags().Bool("flagA",...)

What I don't want is to define flagA on root command as it will be available to cmdC as well. I also don't want to do artificially define a parent command for cmdA and cmdB to define flagA on.
Tried already all kinds of combinations with PersistentFlags, Flags, LocalFlags but couldn't find a solution that works.
And Suggestions?

Do you have a more complete example? This works fine for me.
package main

import (
	"fmt"

	"github.com/spf13/cobra"
)

func main() {
	rootCmd := &cobra.Command{
		Use: `root`,
	}
	setCmd := &cobra.Command{
		Use: `set`,
		Run: func(cmd *cobra.Command, args []string) {
			v, _ := cmd.Flags().GetBool("flagA")
			fmt.Printf("set called with %t\n", v)
		},
	}

	getCmd := &cobra.Command{
		Use: `get`,
		Run: func(cmd *cobra.Command, args []string) {
			v, _ := cmd.Flags().GetBool("flagA")
			fmt.Printf("get called with %t\n", v)
		},
	}

	rootCmd.AddCommand(getCmd)
	rootCmd.AddCommand(setCmd)

	getCmd.Flags().Bool("flagA", false, "my usage")
	setCmd.Flags().Bool("flagA", false, "my usage")

	if err := rootCmd.Execute(); err != nil {
		panic(err)
	}
}

With result:
$ go run . --help
Usage:
  root [command]

Available Commands:
  get
  help        Help about any command
  set

Flags:
  -h, --help   help for root

Use "root [command] --help" for more information about a command.

$ go run . get
get called with false

$ go run . get --flagA
get called with true

$ go run . set --flagA
set called with true

$ go run . set
set called with false


Kebab align right list view

Issue: https://issues.redhat.com/browse/AAH-1427
This pr ensures that all kebab dropdowns (and buttons if there are any) are aligned right. Arrays of buttons and dropdownItems are passed as props to a new ListItemActions component.
I was able to update many list view kebabs that used in-line styling, with a few exceptions; the logic for rendering in a few places was more complicated than the new component allowed. See execution_environment_detail_images.tsx and certification-dashboard.tsx and namespace-detail.tsx for a few examples of list views that I didn't touch.

See execution_environment_detail_images.tsx and certification-dashboard.tsx and namespace-detail.tsx

I'm seeing these..

src/components/repositories/remote-repository-table.tsx renderRow - looks like getConfigureOrSyncButton provides the buttons, and the items list is there?

src/containers/certification-dashboard/certification-dashboard.tsx renderRow - I think we can just change renderButtons to return an array, and the component should work

(src/components/collection-list/collection-list.tsx & src/containers/namespace-detail/namespace-detail.tsx are using a div instead of a td, I guess we can keep these separate)

(execution_environment_detail_images.tsx is fixed in this PR, did you mean a different one?)


change the overlay range and colormap

It seems that if the default label range in the overlay is complete, 0 - 49 for 50-class model, colormap is spectrum, and transparency is 0.5, the results look much more attractive:

Note, the models colorLUT in the overlay may look as good

closing this as not relevant to the updated brainchop


add support for allowed 15 km zone when German localization is active

Germany is about to restrict movement to a 15 km radius around the home town. This commit enables the "allowed zone" icon for the German localization of BRouter-Web and sets it to a radius of 15,000 meters.

Thanks, I also thought about adopting this for German users.
But to me it is not clear yet, whether the allowed zone is a radius around the home address point or town center point or a rather a buffer around the town border where the 15 km would start outside the town:

Die Bundesregierung hat „Wohnort“ in ihrem Beschluss nicht näher definiert und damit Spielraum gegeben, ob damit die Adresse oder die Stadt gemeint ist. Auf Nachfrage sagte Kanzlerin Angela Merkel jedoch in der anschließenden Pressekonferenz am Dienstag (05.01.2021), dass damit etwa die Stadt gemeint sei, was den Radius besonders für Menschen in größeren Städten erheblich erweitern würde.

https://www.fr.de/panorama/corona-lockdown-15-kilometer-radius-ausnahmen-deutschland-coronavirus-covid19-bewegungseinschraenkungen-90160053.html

Thanks, I also thought about adopting this for German users.
But to me it is not clear yet, whether the allowed zone is a radius around the home address point or town center point or a rather a buffer around the town border where the 15 km would start outside the town:

Die Bundesregierung hat „Wohnort“ in ihrem Beschluss nicht näher definiert und damit Spielraum gegeben, ob damit die Adresse oder die Stadt gemeint ist.

See also [Talk-de] Karte mit Umkreis von 15km um die Ortsgrenze.

@mjaschen The simple circle of 15km radius is not the right way, because it is in depend on the Landkreis. Maybe this post is helpful to get a more exactly function - https://www.zeit.de/wissen/gesundheit/2021-01/corona-massnahmen-bewegungsradius-gemeinde-grenze-karte-tool

@mjaschen The simple circle of 15km radius is not the right way, because it is in depend on the Landkreis. Maybe this post is helpful to get a more exactly function - https://www.zeit.de/wissen/gesundheit/2021-01/corona-massnahmen-bewegungsradius-gemeinde-grenze-karte-tool

The Zeit tool uses administrative boundaries, e.g. for Friedrichshafen (but from the BKG not OSM), which includes the whole countryside and other villages belonging to it.
But I personally would interpret "Wohnort" as only the settled area itself, like 15 km from the city limit sign on. E.g. for Appenweiler I would expect the radius/buffer to be around the residential area of that village. Unfortunately there is no direct definition of such a place area in OSM.
I think we'll have to wait until the first implementation in a state order with a clear definition.

The Zeit tool uses administrative boundaries, e.g. for Friedrichshafen (but from the BKG not OSM), which includes the whole countryside and other villages belonging to it.
But I personally would interpret "Wohnort" as only the settled area itself, like 15 km from the city limit sign on. E.g. for Appenweiler I would expect the radius/buffer to be around the residential area of that village. Unfortunately there is no direct definition of such a place area in OSM.
I think we'll have to wait until the first implementation in a state order with a clear definition.

I started collecting information in the wiki page [de] Corona Bewegungseinschränkung 15 km.
So far it seems each state has its own term and definition.

I started collecting information in the wiki page [de] Corona Bewegungseinschränkung 15 km.
So far it seems each state has its own term and definition.

I made a summary of what I have found so far.
Number of states implement the 15 km rule as from:

4 address
4 municipality boundary
1 district boundary
7 don't implement or leave it to the districts

I made a summary of what I have found so far.
Number of states implement the 15 km rule as from:

4 address
4 municipality boundary
1 district boundary
7 don't implement or leave it to the districts


Add FrameIdFilteringPointsProcessor

Implements a PointProcessor that filters PointBatches (either by
whitelisting or blacklisting) the frame_id.

There is nothing ROS specific about this PointsProcessor. It belongs in cartographer instead of cartographer_ros.


example for sending to multiple recipents

It would be helpful to show how to send to multiple recipients. You do so by | delimiting a string. e.g.
"to" => "email_one<EMAIL_ADDRESS>The above will send emails to email_one and email_two

does that actually work for you?
the API says:

Email address of the recipient(s). It should be sent as an associative array. Example<EMAIL_ADDRESS>whom”). You can use commas to separate multiple recipients [Mandatory].

https://apidocs.sendinblue.com/tutorial-sending-transactional-email/
for me, this works:
data = {   "to" =><EMAIL_ADDRESS>=> "Admin"<EMAIL_ADDRESS>=> "Admin"},   ... }

Hello,
Thank you for contacting us.
We have two different APIs, transactional mails & transactional template mails.
@daniely We use this format "to" => "email_one<EMAIL_ADDRESS>in transactional template API ( https://apidocs.sendinblue.com/template/#1 )
@fluxsaas Your reply to this query is absolutely correct, we use this format data = { "to" =><EMAIL_ADDRESS>=> "Admin"<EMAIL_ADDRESS>=> "Admin"}, ... } in transactional mail API ( https://apidocs.sendinblue.com/tutorial-sending-transactional-email/ )
Hope that helps!
Regards
SendinBlue Team


Add sha256sum to macOS

Tool information

Tool name: sha256sum
Add or update? Add
Desired version: Latest
Approximate size:
If this is an add request:

Brief description of tool:

tldr sha256sum

Calculate SHA256 cryptographic checksums.

- Calculate the SHA256 checksum for a file:
    sha256sum filename1

- Calculate SHA256 checksums for multiple files:
    sha256sum filename1 filename2

- Read a file of SHA256 sums and verify all files have matching checksums:
    sha256sum -c filename.sha256

URL for tool's homepage: https://linux.die.net/man/1/sha256sum

Virtual environments affected

[x] macOS 10.15
[] Ubuntu 16.04 LTS
[] Ubuntu 18.04 LTS
[] Windows Server 2016 R2
[] Windows Server 2019

Can this tool be installed during the build?
It could be installed, but my understanding is that this is normally a standard unix tool.
Are you willing to submit a PR?
Possibly! Unclear where this is maintained but can happily take a look if someone could point me in the right direction.

Example use case: https://github.com/uber/AutoDispose/pull/403

Workaround suggested by @imbsky on the example case above is to brew install coreutils first. It does add ~12sec to our build time, so it's not ideal but it is a doable workaround.
- name: Install coreutils for macOS
  run: brew install coreutils

or
- name: Install coreutils for macOS
  if: matrix.os == 'macOS-latest'
  run: brew install coreutils

I would prefer this to be open as it makes build glitch workarounds multiply.

👍🏽 I just ran into this issue too.  Installing core-utils or alias shasum seems to be a reasonable workaround, but it'd be better if it was just added to the image.


Running complex code after the process is cloned in libcontainer can lead to UB

@utam0k calling setgroups / setresgid / setresuid directly would workaround the issue.
I am slightly concerned because in normal youki / runc, we soon call execve, which starts a clean process.
In the case of runwasi, we don't, we keep running on the same tainted process.
From nix::clone and nix::fork, even memory allocation might be unsafe after the clone call (I assume it's platform / variant dependent).

Originally posted by @jprendes in https://github.com/containerd/runwasi/issues/347#issuecomment-1755433335

Some context:
The code we run in our impl of the libcontainer's Executor is run in a cloned process.
In POSIX, the kind of code that is guaranteed to run safely in the child process after a clone is restricted to async-signal-safe code. Examples of code that are NOT guaranteed to be AS-safe include malloc, printf and pthread_*.
See for example how the snippet in nix::fork uses write(..) in the child process instead of println!(..) exactly because of this.
It seems that in our case with glibc and musl, it works fine, but this is fragile.

I'm thinking that a possible approach would be to use the async api of containerd/rust-extensions and have the shim be a single threaded process.
This is assuming that the way rust-extensions handles async is single threaded.

Hey @jprendes I know you've worked on the asyncify runwasi, do you have any updates on that one? Do you think we need another issue to track the progress of it?

I can think of two options to workaround this issue:
calling exec and replacing the whole process
That's what normal for-exec does, and what a normal container does.
The disadvantage is that we loose any sharing between the shim and the container (e.g., anything pre-initialized by the shim won't seen by the container).
I know @cpuguy83 would like to see all containers in a pod sharing the same runtime, and that would become impossible with this approach (admitedly, that's not the direction we are heading anyway with using youki).
The advantage is that for windows we would need to do that anyway (IIUC, in windows there's no fork and exec, but rather fork+exec as one single thing), and having a similar behavior in all platforms might be nice.
Running the shim async, and in only one thread
I would eventually like to see that regardless of this issue.
The disadvantage is that it's a bit more difficult to enforce, as even some tokio operations might inadvertently spin new threads. Also the async feature in rust-extensions still spins a few threads, and is not supported on Windows.
The advantage, is that I would expect lower resource usage by the shim, better integration of the containerd client code, and would fix this issue without preventing sharing resources between shim and container.

I think exec is probably the way to go for now.
I think we can go forward with that and then look at how we might optimize things.
e.g. can we send rpc's into that container to do things like handle (container) execs.

Thinking further about it, we can't exec, as the target binary would be the shim binary, which is not available inside the container.
AFAIK, the single threaded process would be the only solution here.

Thinking further about it, we can't exec, as the target binary would be the shim binary, which is not available inside the container.
AFAIK, the single threaded process would be the only solution here.

@jsturtevant , would this be a problem for the Windows implementation you had in mind (where it would crate a new child process)?

I'm 👎  on using async as a way to work around this.
This is a (potential) fix by coincidence and not a proper one.
I've said this a few times, but I think the abstraction we are using from youki is doing more than what we actually need (or perhaps isn't flexible enough) for wasi containers.

I've said this a few times, but I think the abstraction we are using from youki is doing more than what we actually need (or perhaps isn't flexible enough) for wasi containers.

Yes, I agree with a part of @cpuguy83 in this option. Sorry, I don't have enough knowledge to speak aync way.
When I incorporated youki into runwasi at that time https://github.com/containerd/runwasi/issues/23  it was still difficult to consider the future what would happen. This is because we did not know what would be needed. Now we know what we need in the wasi container more concrete. So we may be able to list how OCI compliant we need to be, i.e., which features we need and which we don't.
Then, we may be able to easily build a wasi container directly using functions in a lower layer of libcontainer instead of using the Builder pattern of libcontainer. For a simple example, we can use cgroup and so on. Also, you can use the rootfs functions from youki. If you want to do that I can consider it once and I'd be happy to help you with it.


Update Import Syntax

Updated import syntax from 'calcite-react/Alert' to 'calcite-react/ArcgisAccount'

Description

Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.

Good catch, @ChandanMahapatra! thanks


Smartthings

Hi,
Would you consider building a SmartThings device type?
Does this need to be run on the same Lan or will it work over L3 from another subnet on same lan

I cant really help you sorry as this project is really geared towards Home Assistant which is much more open source friendly. Smartthings is a form of nighmarish proprietary cloud dystopian chaos...

The underpinning library works at L3 using IP addressing and UDP so presumably it would function across network segments, funnily enough ive never actually tried!
Get Outlook for iOShttps://aka.ms/o0ukef

From: icepicknz @.>
Sent: Saturday, October 9, 2021 8:38:18 PM
To: scottyphillips/mitsubishi_echonet @.>
Cc: Scott Phillips @.>; Comment @.>
Subject: Re: [scottyphillips/mitsubishi_echonet] Smartthings (#18)
Totally understand.
 Does it need to be on the same physical lan (I.e. layer 2) or will layer 3 work? Server hosted via vpn
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/scottyphillips/mitsubishi_echonet/issues/18#issuecomment-939266158, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGHQNDBVZLFHLYYAT2IGG4TUGAEQVANCNFSM5FUU6WJA.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


feat(model): support postgres schema.

fix https://github.com/go-gitea/gitea/issues/2755
create new database and start the gitea.
e_base", "has_merged", "merged_commit_id", "merger_id", "merged_unix" FROM "pull_request" WHERE status = $1 []interface {}{1}
2018/01/11 15:10:55 [.../runtime/asm_amd64.s:2337 goexit()] [E] ArchiveClean: pq: relation "repository" does not exist
2018/01/11 15:10:55 [.../runtime/asm_amd64.s:2337 goexit()] [E] DeletedBranchesCleanup: pq: relation "deleted_branch" does not exist
2018/01/11 15:10:55 [I] [SQL] SELECT repo.id FROM "repository" repo WHERE repo.num_stars!=(SELECT COUNT(*) FROM "star" WHERE repo_id=repo.id)
2018/01/11 15:10:55 [I] [SQL] SELECT label.id FROM "label" WHERE label.num_issues!=(SELECT COUNT(*) FROM "issue_label" WHERE label_id=label.id)
2018/01/11 15:10:55 [...gitea/models/repo.go:2259 CheckRepoStats()] [E] Select repository count 'num_stars': pq: relation "repository" does not exist
2018/01/11 15:10:55 [.../runtime/asm_amd64.s:2337 goexit()] [E] DeliverHooks: pq: relation "hook_task" does not exist
2018/01/11 15:10:55 [I] [SQL] SELECT "user".id FROM "user" WHERE "user".num_repos!=(SELECT COUNT(*) FROM "repository" WHERE owner_id="user".id)
2018/01/11 15:10:55 [...gitea/models/repo.go:2259 CheckRepoStats()] [E] Select label count 'num_issues': pq: relation "label" does not exist
2018/01/11 15:10:55 [...gitea/models/repo.go:2259 CheckRepoStats()] [E] Select user count 'num_repos': pq: relation "user" does not exist
2018/01/11 15:10:55 [I] [SQL] SELECT "issue".id FROM "issue" WHERE "issue".num_comments!=(SELECT COUNT(*) FROM "comment" WHERE issue_id="issue".id AND type=0)
2018/01/11 15:10:55 [I] [SQL] SELECT repo.id FROM "repository" repo WHERE repo.num_closed_issues!=(SELECT COUNT(*) FROM "issue" WHERE repo_id=repo.id AND is_closed=$1AND is_pull=$2) []interface {}{true, false}
2018/01/11 15:10:55 [...gitea/models/repo.go:2259 CheckRepoStats()] [E] Select issue count 'num_comments': pq: relation "issue" does not exist
2018/01/11 15:10:55 [.../runtime/asm_amd64.s:2337 goexit()] [E] Select repository count 'num_closed_issues': pq: relation "repository" does not exist
2018/01/11 15:10:55 [I] [SQL] SELECT repo.id FROM "repository" repo WHERE repo.num_forks!=(SELECT COUNT(*) FROM "repository" WHERE fork_id=repo.id)
2018/01/11 15:10:55 [.../runtime/asm_amd64.s:2337 goexit()] [E] Select repository count 'num_forks': pq: relation "repository" does not exist
2018/01/11 15:10:55 [...gitea/models/pull.go:1161 TestPullRequests()] [E] Find Checking PRs%!(EXTRA *pq.Error=pq: relation "pull_request" does not exist)
2018/01/11 15:10:55 Serving [::]:3000 with pid 24634
2018/01/11 15:10:55 [I] Listen: http://<IP_ADDRESS>:3000

need @lunny help but it is working for public schema.

update status:
Try the latest version of Gitea source code with update the latest xorm version and get the following error message:
WHERE c.relkind = 'r'::char AND c.relname = $1 AND s.table_schema = $2 AND f.attnum > 0 ORDER BY f.attnum; [oauth2_session public]
2018/05/01 09:04:02 [I] [SQL] SELECT indexname, indexdef FROM pg_indexes WHERE tablename=$1 AND schemaname=$2 [oauth2_session public]
2018/05/01 09:04:02 [I] [SQL] CREATE TABLE IF NOT EXISTS "oauth2_session" ("id" VARCHAR(400) PRIMARY KEY NOT NULL, "data" TEXT NULL, "created_unix" BIGINT NULL, "updated_unix" BIGINT NULL, "expires_unix" BIGINT NULL)
2018/05/01 09:04:02 [I] [SQL] CREATE INDEX "IDX_oauth2_session_expires_unix" ON "oauth2_session" ("expires_unix")
2018/05/01 09:04:02 [...itea/routers/init.go:64 GlobalInit()] [E] Failed to initialize OAuth2 support: pq: relation "IDX_oauth2_session_expires_unix" already exists

cc @lunny

build errors:

https://drone.gitea.io/go-gitea/gitea/316/8
https://drone.gitea.io/go-gitea/gitea/316/10 (integration testing with postgres)

@lunny Done. This PR can be review now.

But CI failed. @appleboy it seems related.

see https://cdn.discordapp.com/attachments/323702390760931339/441956787625787393/unknown.png

@appleboy please resolve conflict

Can this be reviewed for merge? Using schemas makes the management of multiple DBs easier.

@lkraider conflicts need to be resolved first

Please resolve the conflicts.

It seems that this PR will be superseeded by #8819


update Activiti/activiti-dependencies to master

UpdateBot pushed version changes from the source code in repository: Activiti/activiti-dependencies ref: master

UpdateBot commands:
updatebot push --ref master https://github.com/Activiti/activiti-dependencies.git

 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.jenkins-x-bot seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


application in docker is out of memory when pressure test

Please answer these questions before submitting your issue.

Why do you submit this issue?
[1 ] Question or discussion

Question

What do you want to know?

Bug

Which version of SkyWalking, OS and JRE?
v6.0.1

Which company or project?

What happen?
my application is running in docker.  when i do the pressure test to see the loss , there will always be oom and restart the docker container. but this never happen if i do not use skywalking-agent.

Requirement or improvement

Please describe about your requirements or improvement suggestions.

that is because i do not set the jvm options.  sorry !


Please optimise aggregation algorithm for [query] Data too large

CrateDB version: 1.0.3
JVM version: java version "1.8.0_121" Oracle Corporation OpenJDK 64-Bit Server VM (build 25.121-b13)
OS version / environment description: Linux - 3.13.0-100-generic (amd64)
memory: 4G, CPU:4core
Problem description:

cr> select sum(cost),province,age from user_buy group by province,age;
SQLActionException[CircuitBreakingException: [query] Data too large, data for [collect: 0] would be larger than limit of [582706790/555.7mb]]

I've tested other sql database, such sql works as expected without extra memory,so it should do in cratedb, thanks.
Steps to reproduce:

create table user_buy as follow sample
insert into user_buy total 10M records
run sql:  select sum(cost),province,age from user_buy group by province,age;

cr> select * from user_buy limit 10;
+--------+-------+-------+--------+---------------------+----------+-------+
| active | age   | city  |   cost | ct                  | province |   uid |
+--------+-------+-------+--------+---------------------+----------+-------+
| 否      | 20-30 | 海口市   | 490.23 | 2016-09-17 07:03:50 | 海南       | 42000 |
| 否      | 30-40 | 成都市   |  39.5  | 2015-10-02 11:10:59 | 四川       | 42004 |
| 否      | 20-30 | 兰州市   | 645.6  | 2016-04-17 03:16:49 | 甘肃       | 42009 |
| 否      | 20以下  | 哈尔滨市  | 570.66 | 2015-11-05 04:54:02 | 黑龙江      | 42010 |
| 否      | 20-30 | 北京    |  20.21 | 2015-04-13 06:42:32 | 北京       | 42011 |
| 是      | 20-30 | 南京市   | 428.02 | 2014-02-20 02:26:43 | 江苏       | 42012 |
| 否      | 20-30 | 呼和浩特市 | 463.73 | 2016-01-02 06:17:15 | 内蒙古      | 42018 |
| 否      | 20-30 | 武汉市   | 316.47 | 2015-02-18 01:59:29 | 湖北       | 42027 |
| 是      | 30-40 | 昆明市   |  32.64 | 2015-12-02 02:17:35 | 云南       | 42037 |
| 否      | 20-30 | 香港岛   | 239.16 | 2016-04-13 06:48:17 | 香港       | 42045 |
+--------+-------+-------+--------+---------------------+----------+-------+

Use case:
Feature description:

hi @tqyq
can you provide the full schema of the table (e.g. with SHOW CREATE TABLE user_buy) and also the result of this query:
select count(*), sum(num_docs), sum(size) from sys.shards where table_name = 'steps_test' group by "primary";

you have 4GB of memory, how much heap did you assign to CrateDB?
e.g.:
select heap['free'] / 1024.0 / 1024.0 as heap_free_mb, heap['max'] / 1024.0 / 1024.0 as heap_total_mb from sys.nodes;

+-----------------------------------------------------+
| SHOW CREATE TABLE doc.user_buy                      |
+-----------------------------------------------------+
| CREATE TABLE IF NOT EXISTS "doc"."user_buy" (       |
|    "active" STRING,                                 |
|    "age" STRING,                                    |
|    "city" STRING,                                   |
|    "cost" FLOAT,                                    |
|    "ct" STRING,                                     |
|    "province" STRING,                               |
|    "uid" INTEGER                                    |
| )                                                   |
| CLUSTERED INTO 4 SHARDS                             |
| WITH (                                              |
|    "blocks.metadata" = false,                       |
|    "blocks.read" = false,                           |
|    "blocks.read_only" = false,                      |
|    "blocks.write" = false,                          |
|    column_policy = 'dynamic',                       |
|    number_of_replicas = '1',                        |
|    "recovery.initial_shards" = 'quorum',            |
|    refresh_interval = 1000,                         |
|    "routing.allocation.enable" = 'all',             |
|    "routing.allocation.total_shards_per_node" = -1, |
|    "translog.disable_flush" = false,                |
|    "translog.flush_threshold_ops" =<PHONE_NUMBER>,     |
|    "translog.flush_threshold_period" = 1800000,     |
|    "translog.flush_threshold_size" = 209715200,     |
|    "translog.interval" = 5000,                      |
|    "translog.sync_interval" = 5000,                 |
|    "unassigned.node_left.delayed_timeout" = 60000,  |
|    "warmer.enabled" = true                          |
| )                                                   |
+-----------------------------------------------------+
SHOW 1 row in set (0.122 sec)
cr> select count(*), sum(num_docs), sum(size) from sys.shards where table_name = 'user_buy' group by "primary";
+----------+---------------+--------------+
| count(*) | sum(num_docs) |    sum(size) |
+----------+---------------+--------------+
|        4 |           0.0 |          0.0 |
|        4 |    10000000.0 |<PHONE_NUMBER>.0 |
+----------+---------------+--------------+
SELECT 2 rows in set (0.028 sec)
cr> select heap['free'] / 1024.0 / 1024.0 as heap_free_mb, heap['max'] / 1024.0 / 1024.0 as heap_total_mb from sys.nodes;
+-------------------+---------------+
|      heap_free_mb | heap_total_mb |
+-------------------+---------------+
|<PHONE_NUMBER>786133 |      926.1875 |
+-------------------+---------------+
SELECT 1 row in set (0.003 sec)
BR

@tqyq sorry for the late follow up.
the amount of memory required for the aggregation is dependent on the amount of records, the cardinality of the grouping fields (age, province) and the amount of shards.
in your case the query requires more than 555MB heap memory to execute. since you've only assigned 926MB heap to cratedb and the query circuit breaker breaks at 60% this is expected behaviour.
you have 4GB of memory on the node, so you should assign 2GB to cratedb. this will probably already solve your issue. otherwise you can also increase the limit at which the breaker should break.
hope this helps.

Thanks for reply


Can't add a specific second folder to a new workspace

Easy repro on Linux, both dev and Insiders, with very specific file paths. Create these two directories:

/home/joao/tmp/sample/a
/home/joao/tmp/sample/b

I failed to repro on macOS Insider or dev.

New Window
Add folder a to workspace

Already something is wrong since the explorer is empty:

Add folder b to workspace

When I click Open Workspace Configuration, I get:

When I run Reopen with Encoding and pick UTF8, I get:

And then everything keeps running.
It seems the automatic encoding detection screwed up at some point. Strange that I can't repro in Insiders though.

Unrelated, and I haven't found a way to repro, so just FYI: once that notification was done I opened the notifications area and saw:

:man_shrugging:

I can't repro in Stable.
I decided to run the Show Workspace File command after step 2, both stable and Insiders. This is what I got on Insiders:

This seems to be very specific to the following workspace file which gets detected as UTF16:
{
	"folders": [
		{
			"path": "/home/joao/tmp/sample/a"
		}
	]
}

This just seems like so many issues at once.
Debugging with @isidorn we nailed on one: tree compression seems to be causing the empty explorer.

Empty explorer is https://github.com/microsoft/vscode/issues/85835, removing @isidorn.

Can't repro with the exact same workspace file, when at home. :thinking: Only in the office machine...

@joaomoreno I think this can be explained if you either have a non-UTF-8 encoding configured in settings or possibly auto guessing of encoding. I pushed 2 changes today:

enforce encoding of UTF-8 for untitled workspace files (we never did that and it was luckily also reported just now as https://github.com/microsoft/vscode/issues/85870)
do not automatically guess UTF-16/32 encodings

Verified untitled workspaces with are encoded properly for #85870
I was not able to reproduce the original problem @joaomoreno reported. @joao Can you please handle verification

@bpasero Can this be verified?

@jrieken I never could

I also couldn't verify this at home... really the only machine in which this happened was the office one. I'm pretty sure I had no encoding settings set. I'll verify once in the office.


Make getBrowserCombo compatible with Browserstack browser and platfor…

…m keynames
Browserstack does not use the official selenium capability properties (See https://github.com/webdriverio/wdio-spec-reporter/issues/9 ). This PR fixes the reporting when running tests on Browserstack. The official capability properties are still supported.

I've added a preface and verbose unit test for the BrowserStack capabilities.


ASP.NET Core - EasyAuth HTTP Handler

It is my understanding that EasyAuth uses a HTTP Handler to make sure that each page receives an authenticated user. If this is the case then can I make the assumption that when I am running an ASP.NET Core in App Service with App Service authentication enabled the HTTP Handler will not be enabled. In other words, I can use the EasyAuth API to manage tokens but I cannot depend on EasyAuth to secure pages and populate HttpContext.User?

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

ID: 13176d24-57e1-33bb-1948-a086df502dca
Version Independent ID: 1c15986a-adf6-6f99-72b4-e2a351d0c15e
Content: Authentication and authorization in Azure App Service
Content Source: articles/app-service/app-service-authentication-overview.md
Service: app-service
GitHub Login: @mattchenderson
Microsoft Alias: mahender

@AggieCMD Thanks for the feedback! We are currently investigating and will update you shortly.

"ASP.NET core does not support flowing in the identity from an external module the way that classic ASP.NET does. Your alternative is to use the /.auth/me endpoint to get the user claims." Source: https://cgillum.tech/2016/02/01/architecture-of-azure-app-service-authentication-authorization/
The above quote, albeit from 2016, seems to corroborate my stated assumption.

Hi @AggieCMD EasyAuth is natively implemented as IIS module. When enabled, all of your traffic flows through this module before hitting your application. Take a look at this blog post:
Architecture of Azure App Service Authentication / Authorization
We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


Satellite Consumer bug

Looks like the satellite consumer was not working on wednesday 18th from about 11:00

From looking at the logs, this might be because the process is being run when the temporary Zip files still exist. That messes up the check for moving files around, so I think that might fix it.

Is there a new version of Satip to deploy?

Yeah, 2.6.32, working on that

Yeah, 2.6.32, working on that

let me know if you need any help on deploying it. I think youve been on terraform cloud before right?

Yeah, just started the apply

Its finished applying, so that should fix the error I was seeing in the logs at least.

nice one


chore(deps): update common-dev-assets digest to c3fd48d

This PR contains the following updates:

Package
Update
Change

common-dev-assets
digest
2a3912e -> c3fd48d

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by Renovate Bot.

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

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


[core] Fix thread safety issue about IcebergManifestFile in Iceberg commit callback

Purpose
AbstractIcebergCommitCallback#compactMetadataIfNeeded mistakenly uses manifestFile concurrently, but IcebergManifestFile is not thread safe. This bug will cause unstable tests in IcebergCompatibilityTest#testPartitionedPrimaryKeyTable.
This PR fixes this issue.
Tests
IcebergCompatibilityTest#testPartitionedPrimaryKeyTable
API and Format
No format changes.
Documentation
No new feature.

+1


Interpreter in Processing IDE

Trying to get beanshell working in processing 3.0a5 IDE. Not sure why the processing method calls don't work. Any tips would be much appreciated!
Reported by: rtavakko
Original Ticket: beanshell/support-requests/7

There is not enough information here about what the problem is.  I suggest to close this with 'insufficient information to reproduce'


First drop of react unit tests

In reference to: https://github.com/redhat-developer/vscode-granite/issues/49

@fbricon the CI build failure is because there are conflicting type definitions between the installed versions of @types/mocha and @types/jest.
Since I am using Jest for testing, can I remove @types/mocha from devDependencies?

the build fails and there are conflicts to fix

Closing the PR as this is addressed in https://github.com/redhat-developer/vscode-granite/pull/123


makes it possible to return every color only once

I had some time this weekend to read and understand you code. I figured I make a proposal for #3. Made me think that we could do caching in the same fashion. Meaning when the stringified needle is already in a "needleCache" object.

PS: Autodoc is pretty cool

demo.js =>
const nc = require('.');

let n = nc.from({
  aqua: '#0ff',
  black: '#000',
  blue: '#00f',
  fuchsia: '#f0f',
  gray: '#808080',
  green: '#008000',
  lime: '#0f0',
  maroon: '#800000',
  navy: '#000080',
  olive: '#808000',
  orange: '#ffa500',
  purple: '#800080',
  red: '#f00',
  silver: '#c0c0c0',
  teal: '#008080',
  white: '#fff',
  yellow: '#ff0'
}, true);

console.log(
n('#f00'), // => red
 n('#f00') // => teal
)

@dtao any thoughts on this? I kinda need this feature.

@dtao ok I needed this so I implemented it myself: https://github.com/meodai/ClosestVector


pipx doesn't support local source dirs

Describe the bug
With regular pip, it's possible to install packages not only from pypi but also from local dirs, for example if you've cloned a git repository to develop on it, it's possible to run pip install /local/path/to/git/repository (especially with -e option, although it's not always useful). But pipx fails when doing the same thing.
How to reproduce
% pipx install /local/path/to/git/repository
Not installing to existing directory '/local/path/to/git/repository'. Pass '--force' to force installation

Expected behavior
The package should be installed in a venv like a pypi package.

This should work in pipx.  The error message you show is what pipx says when you already have something by the same name installed using pipx.  If you run pipx list is there already a package installed with the same name as your repository name?

What version of pipx are you using?  I can't find that error message in the current version of pipx.  Please make sure you are using the most recent version of pipx.
pipx --version

Also can you display the output from running with the --verbose switch turned on:
pipx install --verbose /local/path/to/git/repository

BTW, installing from a local directory is fully supported using pipx, but with -e and without.

I'm using Debian's pipx
% pipx --version
<IP_ADDRESS>
% pipx install --verbose --system-site-packages -e $PWD
pipx (run_pipx_command:125): Virtual Environment location is /local/path/to/git/repository
Not installing to existing directory '/local/path/to/git/repository'. Pass '--force' to force installation

Hmm, version <IP_ADDRESS> is pretty ancient (It's over a year and a half old).  Please try installing a new version of pipx and try again, there have been many many improvements since that version.
You can follow the user-install instructions to install a new version of pipx just for your user:
https://pipxproject.github.io/pipx/installation/
python3 -m pip install --user pipx
python3 -m pipx ensurepath

I'm going to close this, but feel free to reopen it if you find the same problem on a recent version of pipx.
pipx certainly does support installing from a local path.


ci: optimize CI with Graphite

This pull request introduces a new job (optimize_ci) to the GitHub Actions workflow to optimize the CI process using the Graphite CI Optimizer. It conditionally skips subsequent jobs (typescript and release) based on the output of the optimizer, ensuring that these jobs are only run when necessary. Additionally, it updates various dependencies and makes several type consistency improvements across the codebase.

#195  👈
main

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

Join @pevisscher and the rest of your teammates on  Graphite


Add edge container image uploading to quay.io test

All virt tests are green. The failed bare metal test is caused by no available bare metal server in beaker in that time. And it's not related with this PR.


Line diff 20,000 applies as total in a PR , not a single file

Why:
Closes #9078

What's being changed:

Updated single file's diff limit, both number of lines and size in raw data
Added total diff limit in a pull request, both number of lines and size in raw data

Check off the following:

[ ] I have reviewed my changes in staging (look for the latest deployment event in your pull request's timeline, then click View deployment).
[ ] For content changes, I have completed the self-review checklist.

Writer impact (This section is for GitHub staff members only):

[ ] This pull request impacts the contribution experience

[ ] I have added the 'writer impact' label
[ ] I have added a description and/or a video demo of the changes below (e.g. a "before and after video")

@jschanfung Thanks so much for opening a PR! I'll get this triaged for review :zap:


MSID: 86194 DOI: 2<IP_ADDRESS>7579

[PLACE MANUSCRIPT AND EDITOR DETAILS HERE WHEN AVAILABLE] See step 3
[PLACE PDF URL HERE WHEN AVAILABLE] See step 7
Step 1. Inform bioRxiv
Who can help: @QueenKraken, @nlisgo, @scottaubrey

[x] Manuscript is in data hub index (https://data-hub-api.elifesciences.org/enhanced-preprints/docmaps/v1/get-by-doi?preprint_doi=10.1101%2F2<IP_ADDRESS>7579)

Step 2. Create preview of manuscript
Who can help: @fred-atherden, @nlisgo, @scottaubrey

[x] Manuscript is available for preview (https://prod--epp.elifesciences.org/preview/10.1101/2<IP_ADDRESS>7579)

[x] Pull request created to enhanced-preprint-data
[x] Post link to pull request below

Pull request: https://github.com/elifesciences/enhanced-preprints-data/pull/38

Instructions
$ git clone git@github.com:elifesciences/enhanced-preprints-data.git
$ cd enhanced-preprints-data
$ git checkout -b import-2<IP_ADDRESS>7579 origin/master
$ ./scripts/fetch_meca_archive.sh 2<IP_ADDRESS>7579 incoming/
$ ./scripts/extract_mecas.sh incoming/ data/
$ rm -rf incoming/
$ git add .
$ git commit -m 'import-2<IP_ADDRESS>7579'
$ git push -u origin import-2<IP_ADDRESS>7579

Create pull request: https://github.com/elifesciences/enhance/compare/master...import-2<IP_ADDRESS>7579
Merge in after CI passes and reviewing changes.
Manuscript should be available for preview shortly afterwards.
an example with multiple:
$ for doi in 2<IP_ADDRESS>6451 2<IP_ADDRESS>4266; do ./scripts/fetch_meca_archive.sh $doi incoming/; done
$ ./scripts/extract_mecas.sh incoming/ data/
$ rm -rf incoming/
$ for doi in 2<IP_ADDRESS>6451 2<IP_ADDRESS>4266; do git checkout --no-track -b "import-$doi" origin/master; git add data/10.1101/$doi/.; git commit -m "import-$doi"; git push origin "import-$doi"; done; git checkout master;

Step 3: Awaiting public reviews
Who can help: Editorial team

[ ] Public reviews available on sciety (https://sciety.org/articles/activity/10.1101/2<IP_ADDRESS>7579)
[ ] Manuscript and editor details at the top of this issue (Supplied by Editorial team)

Example
"msas": "Genetics and Genomics", "Neuroscience"
"msid": "84628"
"version": "1"
"preprintDoi": "10.1101/2<IP_ADDRESS>4241"
"articleType": "Reviewed Preprint"
"status": "Published from the original preprint after peer review and assessment by eLife."

"Reviewed Preprint posted": "2023-01-02"
"Sent for peer review": "2022-10-28"
"Posted to bioRxiv": "2022-11-21" (link: "Go to bioRxiv": "https://www.biorxiv.org/content/10.1101/2<IP_ADDRESS>4241v1")

Editors:
Reviewing Editor
Michael B Eisen
University of California, Berkeley, United States
Senior Editor
Michael B Eisen
University of California, Berkeley, United States

Step 4: Modify manuscripts.json (no PDF)

[ ] Reviewed preprint is published to EPP (https://elifesciences.org/reviewed-preprints/86194)

[ ] Pull request created to enhanced-preprint-client
[ ] Post link to pull request below

[ ] Request that a doi be registered

[ ] Post link to #enhanced-preprint comment below

Pull request: [PLACE LINK TO PULL REQUEST HERE]
#enhanced-preprint comment thread: [PLACE LINK TO COMMENT HERE]

Instructions to modify manuscripts.json

Visit: https://github.com/elifesciences/enhanced-preprints-client/actions/workflows/publish-manuscript.yaml
Click: Run workflow
Complete the form and click Run workflow
A successful run should result in a new workflow at https://github.com/elifesciences/enhanced-preprints-client/pulls

Example pull request: https://github.com/elifesciences/enhanced-preprints-client/pull/334/files
Once the pull request is merged in it should be available a few minutes later.

Request that a doi
Post the following in #enhanced-preprint:
@Fred can you register a doi for https://elifesciences.org/reviewed-preprints/86194

Step 5: Awaiting search reindex

[ ] Reviewed preprint is avaliable on journal homepage (https://elifesciences.org)

The search reindex is triggered once an hour. We need the reviewed preprint to be indexed as the search application serves the journal homepage.

Additional info
If needed, the jenkins pipeline to reindex search can be triggered sooner.
https://alfred.elifesciences.org/job/process/job/process-reindex-reviewed-preprints/

Step 6: Published! Request PDF generation

[ ] Post the link to the PDF url at the top of the issue

[ ] Post link to #enhanced-preprint comment below

#enhanced-preprint comment thread: [PLACE LINK TO COMMENT HERE]
Post the following to the #enhanced-preprint on slack:
@Ryan Dix-Peek please can you generate a PDF for https://elifesciences.org/reviewed-preprints/86194

Step 7: Upload PDF to git repo

[ ] PDF is avaliable at https://github.com/elifesciences/enhanced-preprints-data/raw/master/data/10.1101/2<IP_ADDRESS>7579/2<IP_ADDRESS>7579.pdf

Instructions to upload pdf to git repo
Download the PDF and rename to 2<IP_ADDRESS>7579.pdf
Goto: https://github.com/elifesciences/enhanced-preprints-data/upload/master/data/10.1101/2<IP_ADDRESS>7579
Upload the file 2<IP_ADDRESS>7579.pdf and commit directly to the master branch

Step 8: Add PDF url to manuscripts.json

[ ] Reviewed preprint PDF is available for download (https://prod--epp.elifesciences.org/reviewed-preprints/86194)

[ ] Pull request created to enhanced-preprint-client
[ ] Post link to pull request below

[PLACE LINK TO PULL REQUEST HERE]

Instructions to add PDF url to manuscripts.json

Visit: https://github.com/elifesciences/enhanced-preprints-client/actions/workflows/add-pdf-url-to-manuscript.yaml
Click: Run workflow
Complete the form and click Run workflow
A successful run should result in a new workflow at https://github.com/elifesciences/enhanced-preprints-client/pulls

Example pull request: https://github.com/elifesciences/enhanced-preprints-client/pull/397/files
Once the pull request is merged in it should be available a few minutes later.

Step 9: Done!

[ ] Kettle is on!

No affiliations showing. Will be fixed/unblocked in https://github.com/elifesciences/enhanced-preprints-biorxiv-xslt/pull/11

Fix in https://github.com/elifesciences/enhanced-preprints-data/pull/59


Add validation and update README

Add DOM component parameters validation and related test; and update README with correct usage example and some other additions.

🎉


Workflow included

Issue

Description

Test Evidence

Hi @andreazignoli!

Exactly what happened. So sorry for bothering you. I messed up.