AndroidEnv does not work in WSL

I've setup android studio on windows and am trying to load the environment from WSL. I have got an unexpected keyword argument 'use_poll' error while trying to load the environment. Any ideas on how I can fix this?
Full error:
>>> import android_env
>>> env = android_env.load(avd_name='Pixel_2_API_30', android_avd_home='/mnt/c/Users/Surya Penmetsa/.android/avd/Pixel_2_API_30.avd', android_sdk_root='/mnt/c/Users/Surya Penmetsa/AppData/Local/Android/Sdk', emulator_path='/mnt/c/Users/Surya Penmetsa/AppData/Local/Android/Sdk/emulator/emulator.exe', adb_path='/mnt/c/Users/Surya Penmetsa/AppData/Local/Android/Sdk/platform-tools/adb.exe', task_path='downloads/classic_2048.textproto')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/surya/anaconda3/lib/python3.6/site-packages/android_env/loader.py", line 73, in load
    coordinator = coordinator_lib.Coordinator(simulator, task_manager)
  File "/home/surya/anaconda3/lib/python3.6/site-packages/android_env/components/coordinator.py", line 88, in __init__
    self._restart_simulator()
  File "/home/surya/anaconda3/lib/python3.6/site-packages/android_env/components/coordinator.py", line 181, in _restart_simulator
    self._simulator.launch()
  File "/home/surya/anaconda3/lib/python3.6/site-packages/android_env/components/base_simulator.py", line 136, in launch
    self._post_launch_setup()
  File "/home/surya/anaconda3/lib/python3.6/site-packages/android_env/components/emulator_simulator.py", line 117, in _post_launch_setup
    super()._post_launch_setup()
  File "/home/surya/anaconda3/lib/python3.6/site-packages/android_env/components/base_simulator.py", line 151, in _post_launch_setup
    self._adb_controller.get_screen_dimensions())
  File "/home/surya/anaconda3/lib/python3.6/site-packages/android_env/components/adb_controller.py", line 459, in get_screen_dimensions
    self._wait_for_device(timeout=timeout)
  File "/home/surya/anaconda3/lib/python3.6/site-packages/android_env/components/adb_controller.py", line 234, in _wait_for_device
    ready = self._check_device_is_ready(timeout=timeout)
  File "/home/surya/anaconda3/lib/python3.6/site-packages/android_env/components/adb_controller.py", line 247, in _check_device_is_ready
    ['shell', 'service', 'check', service], timeout=timeout)
  File "/home/surya/anaconda3/lib/python3.6/site-packages/android_env/components/adb_controller.py", line 116, in _execute_command
    adb_output = self._execute_shell_command(args[1:], timeout=timeout)
  File "/home/surya/anaconda3/lib/python3.6/site-packages/android_env/components/adb_controller.py", line 149, in _execute_shell_command
    self._init_shell(timeout=timeout)
  File "/home/surya/anaconda3/lib/python3.6/site-packages/android_env/components/adb_controller.py", line 191, in _init_shell
    self._adb_shell = pexpect.spawn(command, use_poll=True, timeout=timeout)
TypeError: __init__() got an unexpected keyword argument 'use_poll'

Hello @psurya1994, we have never tried running AndroidEnv on Windows, so thanks for the report.
From the error message, it looks like it's a limitation in one of the libraries we use, pexpect, which does not offer popen.spawn on Windows. According to their docs, we can try to see if we can use PopenSpawn but it would be better if you can try it in your local machine and report back to us since we don't have Windows machines to try.
Let me know what you think,
Thanks!

Thank you @kenjitoyama! That makes sense.
I'll let this pass, for now. So closing the issue. If someone else faces the same problem, they can reopen.

Hello @psurya1994, it's ok to leave it open. We are also planning to use a different communication mechanism (gRPC) which could help here and remove the need for this particular pexpect call. Eventually we do want to support running on Windows via WSL.
Tagging @a-gergely who's been experimenting with gRPC.
Thanks,
Daniel

We've now made some modifications to make AndroidEnv compatible with Windows (credits to @yizhangliu for parts of this). I'm closing the issue, but please let us know if there are any problems.

We've now made some modifications to make AndroidEnv compatible with Windows (credits to @yizhangliu for parts of this). I'm closing the issue, but please let us know if there are any problems.

Thanks to you.    Only one problem:
E0728 14:53:42.749846 12156 adb_controller.py:152] Failed to execute ADB command ['C:/Users/ThinkPad/AppData/Local/Android/Sdk/platform-tools/adb.exe', '-P', '5037', '-s', 'emulator-24469', 'shell', 'pm', 'grant', 'com.dozingcatsoftware.bouncy', 'android.permission.ACCESS_COARSE_LOCATION']
I run 'adb -P 5037 -s emulator-5554 shell pm grant com.dozingcatsoftware.bouncy android.permission.ACCESS_COARSE_LOCATION' ,   got this result:
'Security exception: Package com.dozingcatsoftware.bouncy has not requested permission android.permission.ACCESS_COARSE_LOCATION'
So, I skip  'grant_permissions',   then  everything is ok.


Update Atlas URLs

To reflect the changes in https://github.com/brainglobe/brainglobe-atlasapi/pull/252
cc @PolarBean

Build seems to be failing due a Nature Communications server error. I think we can probable merge as is.


FastImage support?

It would be great if this library uses react-native-fast-image

You can use fastImage inside the zoom without any issue, no?


Dutch translation

Created this translation, because du.yml is not the official code for Dutch. Besides the current du.yml gives weird Chinese characters when installing the plugin.

thank you!


Add Google Analytics

We have Google Analytics added to the Project Pythia portal, and I had Google Analytics on the Xdev site.  I think we should add Google Analytics to the ESDS site, too.  I'm happy to put together a PR on this since I have the GA project links already created.

I believe this is being taken care of by
https://github.com/NCAR/esds/blob/02755fc3d30af047a23ce3f9354b6adb68f89193/conf.py#L60

Oh.  I don't have access to that Google Analytics ID.

I don't have access either... Presuming you want access to that account, @mgrover1 administers that account.

@mgrover1:  Can you add Anderson and me to that GA account?

I added you both - I could use some help with making sure I setup everything correctly...

I'll take a look tomorrow.

So.  Your Google Analytics hooks seem to be working.  At least, it is recording some clicks on the ESDS page.  Strangely, I tried implementing the exact same technique for enabling Google Analytics on the Pythia Foundations Book, and it is not recording any events on that page.  Very weird.

I'm going to close this issue for now since it seems to be working for the ESDS site.

Coming back to this - I don't think I had this set up properly before... I just went back and configured the site settings again, and it works now. I tested pulling up the site on my computer/mobile and it tracks in real time. I noticed the number of link clicks from the Twitter posts was not corresponding to tracked traffic... I can help setup the foundations Google tracking using the same process soon if that works.

What did you change?


Get Tidal links using the official Tidal API

Tidal Official API is now available in beta https://developer.tidal.com/apiref
Seems to have everything needed to update adapters/tidal.ts 👀

Tidal is not ready yet.
The API is still in beta, and there are quota limitations.

Even if the songs are available on the platform, they are not accessible through the API:

I'll close this issue for now, and i'll check later when the API is no longer in beta


Bug in move assignment of matrices

Using move assignment on matrices doesn't do a cleanup of a previous id. This results in id collisions.

Using move assignment on matrices doesn't do a cleanup of a previous id. This results in id collisions.

Which backend?
Can you please also provide a short code to reproduce this bug ?

Hi, the observed bug is in the reference backend.
Here is the code (unit test) that reproduces it:
	/*
	Test for move assignement id cleanup.
	*/

	grb::Matrix< int > new_one( 10, 10, 10 );
	grb::Matrix< int > new_two( 10, 10, 10 );
	new_two = std::move(new_one);

	std::vector<grb::Matrix< int > > new_vector;

	/*
	Creating multiple new objects to generate potential id collision.
	*/
	for(int i=0;i<1000;i++) {
		new_vector.emplace_back( 10, 10, 10 );
	}

There is no collision in this example, simply a missing id (=1)
grb::Matrix< int > new_one( 10, 10, 10 );
std::cout << "ID of new_one: " << grb::getID(new_one) << std::endl;
grb::Matrix< int > new_two( 10, 10, 10 );
std::cout << "ID of new_two: " << grb::getID(new_two) << std::endl;
new_two = std::move(new_one);
std::cout << "ID of new_two after move assignement: " << grb::getID(new_two) << std::endl;

std::vector<grb::Matrix< int > > new_vector;
for(int i=0;i<10;i++) {
	new_vector.emplace_back( 10, 10, 10 );
	std::cout << "ID of new_vector[" << i << "]: " << grb::getID(new_vector[i]) << std::endl;
}

Output:
Info: grb::init (reference) called.
ID of new_one: 0
ID of new_two: 1
ID of new_two after move assignement: 0
ID of new_vector[0]: 2
ID of new_vector[1]: 3
ID of new_vector[2]: 4
ID of new_vector[3]: 5
ID of new_vector[4]: 6
ID of new_vector[5]: 7
ID of new_vector[6]: 8
ID of new_vector[7]: 9
ID of new_vector[8]: 10
ID of new_vector[9]: 11
Info: grb::finalize (reference) called.

The segment of code was from the unit test. However, that segment was run multiple times. That missing id should cause a collision with a lot of iterations or multiple reruns.
This test should be stronger i.e. likelier to reproduce a bug:
	for(int i=0;i<1000;i++) {
		grb::Matrix< int > new_one( 10, 10, 10 );
		grb::Matrix< int > new_two( 10, 10, 10 );
		new_two = std::move(new_one);
	}

The segment of code was from the unit test. However, that segment was run multiple times. That missing id should cause a collision with a lot of iterations or multiple reruns.
This test should be stronger i.e. likelier to reproduce a bug:
	for(int i=0;i<1000;i++) {
		grb::Matrix< int > new_one( 10, 10, 10 );
		grb::Matrix< int > new_two( 10, 10, 10 );
		new_two = std::move(new_one);
	}

@aleksamilisavljevic
I really can't see where the collision could come from with this example, the highest ID will simply be 2000 ..?
The ID being an unsigned long you would need more than ULONG_MAX iterations to overflow the IDs.

Does this unit test work for you?
When I run it, it reports the following bug:
DMapper.hpp:97: IndexType grb::utils::DMapper<IndexType>::insert(IndexType) [with IndexType = long unsigned int]: Assertion `it == mapper.end()' failed.
Aborted (core dumped)

If I understand the code well, when creating a new matrix, a pointer is passed to the reference_mapper, which returns the id.
If this id isn't cleared during the move assignment, a collision might occur during one of the following matrix initializations (as it might pass the same pointer to the reference_mapper).

I see a branch but I don't see an MR, is that correct (i.e., a fix not yet ready), or am I missing something?


Fix Broken GIF Generation.

At the end of a game, the bot just says "Generating Gif" instead of generating a gif as it has in the past. Please fix this.

BOT: rintadev ran /finish
Error: Server responded with 403
    at /home/ocean/devious-disposition/node_modules/canvas/lib/image.js:59:28
    at /home/ocean/devious-disposition/node_modules/simple-get/index.js:89:7
    at IncomingMessage.<anonymous> (/home/ocean/devious-disposition/node_modules/simple-concat/index.js:8:13)
    at Object.onceWrapper (node:events:627:28)
    at IncomingMessage.emit (node:events:525:35)
    at endReadableNT (node:internal/streams/readable:1358:12)
    at processTicksAndRejections (node:internal/process/task_queues:83:21)

broke because discord changed the way they host images. trying a different method of getting the url but it might not work for images older than like a day or so, so @DethDefier let me know if the new gif generation works for the entire history of a game that starts after this fix is implemented


simplifies arch check

Codecov Report

Merging #26 into master will increase coverage by 0.34%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master      #26      +/-   ##
==========================================
+ Coverage   76.87%   77.21%   +0.34%
==========================================
  Files          17       17
  Lines         679      676       -3
==========================================
  Hits          522      522
+ Misses        157      154       -3

Impacted Files
Coverage Δ

lib/support/windows.js
72.09% <0%> (+2.43%)
:arrow_up:

Continue to review full report at Codecov.

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

Codecov Report

Merging #26 into master will increase coverage by 0.34%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master      #26      +/-   ##
==========================================
+ Coverage   76.87%   77.21%   +0.34%
==========================================
  Files          17       17
  Lines         679      676       -3
==========================================
  Hits          522      522
+ Misses        157      154       -3

Impacted Files
Coverage Δ

lib/support/windows.js
72.09% <0%> (+2.43%)
:arrow_up:

Continue to review full report at Codecov.

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


Missing validation around ObjectId and LibraryId

According to the MS-NRBF spec, ObjectId and LibraryId values must be positive 32-bit integers. Currently these values are read with no validation.
Additionally, the current behavior for the reader is that if it encounters multiple objects / libraries with the same id in the serialization stream, any records which appear later in the stream override records which appear earlier in the stream. This is an example of an opinionated behavior. Is this intentional? What are the consequences of allowing this?

any records which appear later in the stream override records which appear earlier in the stream

If an object with given Id has been already recorded, the Add method is going to throw:
https://github.com/adamsitnik/SafePayloadReader/blob/cfb7ac5e388fcfbe4e24fd034c282509b0a283aa/System.Runtime.Serialization.BinaryFormat/SafePayloadReader.cs#L196-L197
But:

some of the recursive calls bypass this logic and are not added to the dictionary at all
I need to write tests for invalid inputs to have it covered


Error with certain pattern syntax.

I just encountered this issue while creating a new effect. As far as I know, this is a parser issue that probably should get fixed.
I essentially created a new effect with the following syntax:
shutdown [[the] current bot]
When you use the following syntax in your scripts, apart from each other, you get a weird result.
shutdown the current bot
shutdown
The first one works fine, but the second one throws an IndexOutOfBoundException (because TextElement.java:41 uses String#charAt() with a wrong index).
I then changed the syntax to:
shutdown[ [the] current bot] (Note: the space now is optional as well)
This syntax worked fine for both usages. Normally, the parser handles whitespaces next to optional groups, but I think in this particular use-case, it did something wrong/skipped it, resulting in this.

I guess the new parser doesn't handle whitespace to make them optional yet. The way to fix that is probably to trim all optionnal chains and replace spaces with optional spaces
syntax.replaceAll("\\[(\\s+)(.+)(\\s+)\\]", "[$1?$2$3?]")

Something like that should fix it


SysAdm Service Manager fails to list polkitd

After doing a fresh install of Trident-x64-20180831.iso (release)
pkg install policykit  (version 0.9_10)
pkg install polkit     (version 0.114_1)
sysAdm Service Manager does not include polkitd in the list of possible services.
sysadm-201806120928
sysadm-client-201802091522
trident-core-201808290904
FreeBSD-runtime-12.0.s20180831091252

That would probably be because there is no OpenRC service for polkitd.
You can verify this by looking in the /usr/local/etc/init.d directory and seeing if there is a polkitd service file.
If not, you will need to create one and submit it to the polkit port on the TrueOS ports tree: https://github.com/trueos/trueos-ports


[FEATURE] BlobStore or just use Cache/Store ?

Is your feature request related to a problem? Please describe.
https://github.com/asim/go-micro/blob/09d6d0e2d22b7d342de713b762b982afe93396c6/store/blob.go#L14-L18
plus List operation and other common methods(Init,String,Close?).
Describe the solution you'd like
I don't know what happened to micro/go-micro or the original BlobStore, but a BlobStore is really fit for S3 and other object storage. use Store should be fine, but the default read return slice, most blob store return only one record. Blob sometime is quite large, but Store record only support bytes, this means must load all data in mem.
Additional context

We didn't really have good implementations for the blob store interface and it was specifically for our own product requirements at the company. Now that this has gone back to being a personal project I ripped it out.
Happy to accept a contribution where it makes sense along with some plugin implementations.

Thanks for your quick reply, a blob store is very helpful, go-cloud's impl is a good reference https://github.com/google/go-cloud/blob/master/blob/blob.go , but kind complicated. I'll let this open, hope some day can work on this.


increase test coverage to look for coverage outside of current package

Test coverage, by default, only reports the coverage within the package of the unit test. However many of our tests should be considered integration tests, with tests crossing package boundaries. By applying the coverpkg flag each test will now check coverage against all packages in the pkg directory.
This will likely slow down our unit tests, but our tests suite is largely dominated by e2e tests so this should be negligible

Codecov Report

Merging #5013 (97227c4) into main (52bd5a7) will decrease coverage by 6.03%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #5013      +/-   ##
==========================================
- Coverage   68.57%   62.53%   -6.04%
==========================================
  Files         216      258      +42
  Lines       15841    17371    +1530
==========================================
  Hits        10863    10863
- Misses       4921     6409    +1488
- Partials       57       99      +42

Flag
Coverage Δ

unittests
62.53% <ø> (-6.04%)
:arrow_down:

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

Impacted Files
Coverage Δ

pkg/cli/proxy_get.go
0.00% <0.00%> (ø)

cmd/cli/namespace_list.go

cmd/cli/namespace.go

cmd/cli/uninstall_mesh.go

cmd/cli/namespace_add.go

cmd/cli/support_err.go

cmd/cli/verify.go

cmd/cli/version_latest.go

cmd/cli/env.go

cmd/cli/verify_connectivity.go

... and 149 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

i had missed test coverage in ./cmd/... initially, repushed with that change, so let's see what codecov bot reports now

I'm confused by this report; the unittest delta says -7.25%, but when you dig into the actual coverage changes, there's a net increase....

I'm confused by this report; the unittest delta says -7.25%, but when you dig into the actual coverage changes, there's a net increase....

If I had to guess the positive delta's are on files that are still in report.. negative was due to dropping coverage in ./cmd/...
anybody know how to get the report to re-run? @shashankram  @nojnhuh

oh wait no that's even worse when including cli... ya idk what that's about

oh wait no that's even worse when including cli... ya idk what that's about

I think it's that each package is now printing coverage of the entire code base, so pkg X coverage in pkg X is 80%, but of the whole codebase is maybe 10%.
Instead of properly tracking all the lines that are covered it's doing this? I'm just going to avoid the headache of reasoning with this and closing it.


Troubleshoot movies not being added

Some movies that are released and in library are not being added.

Seems to only grab the 28 most recent movies.


Fixed a typo in code comment

My first github commit ever ;)

:+1:

:+1:

Congratulations @FlipsPL :)


Cannot build and serve the examples from the root folder

Problem
Cannot build and run the examples project under the examples folder either using cargo build or dx serve. My dioxus-cli is updated to the latest version.
$ dx --version
dioxus 0.5.6

However, I can build the examples with the folder, e.g. examples/tailwind/ and examples/PWA-example.
dioxus$ dx serve --example file_explorer
2024-07-20T12:02:58.034750Z  INFO dx: You appear to be creating a Dioxus project from scratch; we will use the default config
\ ⚙ Compiling<EMAIL_ADDRESS>                                                                                error: failed to run custom build command for `openssl-sys v0.9.102`

Caused by:
  process didn't exit successfully: `/home/y2/codes/dioxus-learn/dioxus/target/debug/build/openssl-sys-0c8d501c9e7892fc/build-script-main` (exit status: 101)
  --- stdout
  cargo:rerun-if-env-changed=WASM32_UNKNOWN_UNKNOWN_OPENSSL_LIB_DIR
  WASM32_UNKNOWN_UNKNOWN_OPENSSL_LIB_DIR unset
  cargo:rerun-if-env-changed=OPENSSL_LIB_DIR
  OPENSSL_LIB_DIR unset
  cargo:rerun-if-env-changed=WASM32_UNKNOWN_UNKNOWN_OPENSSL_INCLUDE_DIR
  WASM32_UNKNOWN_UNKNOWN_OPENSSL_INCLUDE_DIR unset
  cargo:rerun-if-env-changed=OPENSSL_INCLUDE_DIR
  OPENSSL_INCLUDE_DIR unset
  cargo:rerun-if-env-changed=WASM32_UNKNOWN_UNKNOWN_OPENSSL_DIR
  WASM32_UNKNOWN_UNKNOWN_OPENSSL_DIR unset
  cargo:rerun-if-env-changed=OPENSSL_DIR
  OPENSSL_DIR unset
  cargo:rerun-if-env-changed=OPENSSL_NO_PKG_CONFIG
  cargo:rerun-if-env-changed=PKG_CONFIG_ALLOW_CROSS_wasm32-unknown-unknown
  cargo:rerun-if-env-changed=PKG_CONFIG_ALLOW_CROSS_wasm32_unknown_unknown
  cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_ALLOW_CROSS
  cargo:rerun-if-env-changed=PKG_CONFIG_ALLOW_CROSS
  cargo:rerun-if-env-changed=PKG_CONFIG_wasm32-unknown-unknown
  cargo:rerun-if-env-changed=PKG_CONFIG_wasm32_unknown_unknown
  cargo:rerun-if-env-changed=TARGET_PKG_CONFIG
  cargo:rerun-if-env-changed=PKG_CONFIG
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_wasm32-unknown-unknown
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR_wasm32_unknown_unknown
  cargo:rerun-if-env-changed=TARGET_PKG_CONFIG_SYSROOT_DIR
  cargo:rerun-if-env-changed=PKG_CONFIG_SYSROOT_DIR
  run pkg_config fail: pkg-config has not been configured to support cross-compilation.

  Install a sysroot for the target platform and configure it via
  PKG_CONFIG_SYSROOT_DIR and PKG_CONFIG_PATH, or install a
  cross-compiling wrapper for pkg-config and set it via
  PKG_CONFIG environment variable.

  --- stderr
  thread 'main' panicked at /home/y2/.cargo/registry/src/index.crates.io-6f17d22bba15001f/openssl-sys-0.9.102/build/find_normal.rs:190:5:

  Could not find directory of OpenSSL installation, and this `-sys` crate cannot
  proceed without this knowledge. If OpenSSL is installed and this crate had
  trouble finding it,  you can set the `OPENSSL_DIR` environment variable for the
  compilation process.

  Make sure you also have the development packages of openssl installed.
  For example, `libssl-dev` on Ubuntu or `openssl-devel` on Fedora.

  If you're in a situation where you think the directory *should* be found
  automatically, please open a bug at https://github.com/sfackler/rust-openssl
  and include information about your system as well as this message.

  $HOST = x86_64-unknown-linux-gnu
  $TARGET = wasm32-unknown-unknown
  openssl-sys = 0.9.102

  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
error[E0432]: unresolved import `crate::sys::IoSourceState`
  --> /home/y2/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.11/src/io_source.rs:12:5
   |
12 | use crate::sys::IoSourceState;
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^ no `IoSourceState` in `sys`

error[E0432]: unresolved import `crate::sys::tcp`
  --> /home/y2/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.11/src/net/tcp/listener.rs:15:17
   |
15 | use crate::sys::tcp::{bind, listen, new_for_addr};
   |                 ^^^ could not find `tcp` in `sys`

error[E0432]: unresolved import `crate::sys::tcp`
  --> /home/y2/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.11/src/net/tcp/stream.rs:13:17
   |
13 | use crate::sys::tcp::{connect, new_for_addr};
   |                 ^^^ could not find `tcp` in `sys`

error[E0433]: failed to resolve: could not find `Selector` in `sys`
   --> /home/y2/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.11/src/poll.rs:312:18
    |
312 |             sys::Selector::new().map(|selector| Poll {
    |                  ^^^^^^^^ could not find `Selector` in `sys`

error[E0433]: failed to resolve: could not find `event` in `sys`
  --> /home/y2/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.11/src/event/event.rs:24:14
   |
24 |         sys::event::token(&self.inner)
   |              ^^^^^ could not find `event` in `sys`

error[E0433]: failed to resolve: could not find `event` in `sys`
  --> /home/y2/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.11/src/event/event.rs:38:14
   |
38 |         sys::event::is_readable(&self.inner)
   |              ^^^^^ could not find `event` in `sys`

error[E0433]: failed to resolve: could not find `event` in `sys`
  --> /home/y2/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.11/src/event/event.rs:43:14
   |
43 |         sys::event::is_writable(&self.inner)
   |              ^^^^^ could not find `event` in `sys`

error[E0433]: failed to resolve: could not find `event` in `sys`
  --> /home/y2/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.11/src/event/event.rs:68:14
   |
68 |         sys::event::is_error(&self.inner)
   |              ^^^^^ could not find `event` in `sys`

544 |         sys::udp::only_v6(&self.inner)
    |              ^^^ could not find `udp` in `sys`

error[E0412]: cannot find type `Selector` in module `sys`
   --> /home/y2/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.11/src/poll.rs:263:20
    |
263 |     selector: sys::Selector,
    |                    ^^^^^^^^ not found in `sys`

...|

error[E0433]: failed to resolve: could not find `Waker` in `sys`
  --> /home/y2/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.11/src/waker.rs:87:14
   |
87 |         sys::Waker::new(registry.selector(), token).map(|inner| Waker { inner })
   |              ^^^^^ could not find `Waker` in `sys`
   |
help: consider importing one of these items

   |
help: if you import `Waker`, refer to it directly
   |
87 -         sys::Waker::new(registry.selector(), token).map(|inner| Waker { inner })
87 +         Waker::new(registry.selector(), token).map(|inner| Waker { inner })
   |
62  | pub struct IoSource<T> {
    | ---------------------- method `deregister` not found for this struct
    |
    = help: items from traits can only be used if the trait is implemented and in scope
note: `Source` defines an item `deregister`, perhaps you need to implement it
   --> /home/y2/.cargo/registry/src/index.crates.io-6f17d22bba15001f/mio-0.8.11/src/event/source.rs:75:1
    |
75  | pub trait Source {
    | ^^^^^^^^^^^^^^^^

Some errors have detailed explanations: E0412, E0425, E0432, E0433, E0599.
For more information about an error, try `rustc --explain E0412`.
- ⚙ Compiling<EMAIL_ADDRESS>                                                                                error: could not compile `mio` (lib) due to 44 previous errors
  ❌ Build failed.                                                                                Error: 🚫 Serving project failed:

Caused by:
    Build failed

Steps To Reproduce
Steps to reproduce the behavior:

Do git clone https://github.com/DioxusLabs/dioxus.git
cd dioxus
run dx serve --example file_explorer or dx serve --example weather_app --features="http"

Expected behavior
No compiler errors.
Environment:

Dioxus version:  v.0.5
Rust version:    1.79.0
OS info:         Linux Ubuntu 22.04
App platform:    all

Questionnaire

[ x] I'm interested in fixing this myself but don't know where to start
[ ] I would like to fix and I have a solution
[ ] I don't have time to fix this right now, but maybe later

Ok, it works with the option --platform:
dx serve --example hello_world --platform desktop


[RabbitMQ] Migrate native functions to java interoperability

Purpose

$title

Fixes https://github.com/ballerina-platform/ballerina-lang/issues/19690
Check List

[x] Read the Contributing Guide
[ ] Required Balo version update
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

Codecov Report

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

@@           Coverage Diff           @@
##           master   #20053   +/-   ##
=======================================
  Coverage    19.9%    19.9%
=======================================
  Files          55       55
  Lines        1437     1437
  Branches      218      218
=======================================
  Hits          286      286
  Misses       1138     1138
  Partials       13       13

Continue to review full report at Codecov.

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


Trajectory drawing

Hello, I would like to inquire about the drawing of evaluation trajectories. The result in the kitti odom eval code is shown in Figure 1. Then I will merge 01. txt and KITTI_ 01ugt. txt in the“ https://github.com/MichaelGrupp/evo ”Do you know why the trajectory drawing in the code resulted in the result shown in Figure 2? Or can you ask how Figure 3 is drawn? Thank you!

have already been solved


make-ca-cert.sh: line 31: 1: unbound variable

Hi guys,
I'm trying to install kubernetes on a Fedora 21 (and 22) virtual machine however, every time I try the install it fails (I'm using ansible for installation of both master and nodes).
Logging of the error is as follows:
TASK: [kubernetes | Run create cert script on master] *************************
failed: [kubertest.tov.cl] => {"changed": true, "cmd": ["/usr/libexec/kubernetes/make-ca-cert.sh", "kubertest.tov.cl"], "delta": "0:00:00.393056", "end": "2015-07-23 10:22:15.324534", "rc": 2, "start": "2015-07-23 10:22:14.931478", "warnings": []}
stdout: === Failed to generate certificates: Aborting ===

FATAL: all hosts have already failed -- aborting

PLAY RECAP ********************************************************************
           to retry, use: --limit @/home/tomas/cluster.retry

kubermin1.tov.cl           : ok=21   changed=1    unreachable=0    failed=0
kubertest.tov.cl           : ok=58   changed=1    unreachable=0    failed=1

When trying to run manually I get the following:
[root@kubertest ~]# /usr/libexec/kubernetes/make-ca-cert.sh
/usr/libexec/kubernetes/make-ca-cert.sh: line 31: 1: unbound variable
[root@kubertest ~]# cat /etc/redhat-release
Fedora release 21 (Twenty One)

Looking at the file (line 31) it appears maybe environment variables are not being set correctly (cert_ip) (well, now that I think about, I'm running it from a prompt thus, env variables may not be correct):
# Caller should set in the ev:
# MASTER_IP - this may be an ip or things like "_use_gce_external_ip_"
# DNS_DOMAIN - which will be passed to minions in --cluster_domain
# SERVICE_CLUSTER_IP_RANGE - where all service IPs are allocated
# MASTER_NAME - I'm not sure what it is...

# Also the following will be respected
# CERT_DIR - where to place the finished certs
# CERT_GROUP - who the group owner of the cert files should be

cert_ip="${MASTER_IP:="${1}"}"
master_name="${MASTER_NAME:="kubernetes"}"
service_range="${SERVICE_CLUSTER_IP_RANGE:="<IP_ADDRESS>/16"}"
dns_domain="${DNS_DOMAIN:="cluster.local"}"
cert_dir="${CERT_DIR:-"/srv/kubernetes"}"
cert_group="${CERT_GROUP:="kube-cert"}"

Just in case, group "kube-cert" DOES exist.
I tried both with and without selinux enforcing and still nothing.
Let me know if you need more info from me.
Thanks!

@eparis This looks like to me the line is not escaped correctly.
possible fix: https://github.com/jeffbean/kubernetes/commit/ca8fb7cb4ec9c8f8c536abb65898fa2aea4ec0e7
@choclo can you try out this patch in your case and see this is the fix.

@choclo Also to know what ENV vars are being passed to this script via Ansible. You can run the playbook with higher verbosity. This will ensure that what you are expecting is correct during the run of the playbook.
./setup.sh -vvv

I changed the edit to prefer the argument over the ENV var. read up on the default substitution. In this case we could do no argument but this works for now.

Unfortunately this is still not working @jeffbean even with fix @ca8fb7c
TASK: [kubernetes | Run create cert script on master] *************************
<kubertest.tov.cl> ESTABLISH CONNECTION FOR USER: root
<kubertest.tov.cl> REMOTE_MODULE command creates=/etc/kubernetes/certs/server.crt /usr/libexec/kubernetes/make-ca-cert.sh kubertest.tov.cl
<kubertest.tov.cl> EXEC ssh -C -tt -v -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/home/tomas/.ansible/cp/ansible-ssh-%h-%p-%r" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 kubertest.tov.cl /bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1437721240.5-105634379282919 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1437721240.5-105634379282919 && echo $HOME/.ansible/tmp/ansible-tmp-1437721240.5-105634379282919'
<kubertest.tov.cl> PUT /tmp/tmpr3HMtI TO /root/.ansible/tmp/ansible-tmp-1437721240.5-105634379282919/command
<kubertest.tov.cl> EXEC ssh -C -tt -v -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/home/tomas/.ansible/cp/ansible-ssh-%h-%p-%r" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=root -o ConnectTimeout=10 kubertest.tov.cl /bin/sh -c 'sudo -k && sudo -H -S -p "[sudo via ansible, key=uwpdxubmychdjccemlnropvucsjxzzsc] password: " -u root /bin/sh -c '"'"'echo BECOME-SUCCESS-uwpdxubmychdjccemlnropvucsjxzzsc; LANG=C CERT_DIR=/etc/kubernetes/certs MASTER_NAME=kubernetes LC_CTYPE=C DNS_DOMAIN=cluster.local MASTER_IP=<IP_ADDRESS> CERT_GROUP=kube-cert SERVICE_CLUSTER_IP_RANGE=<IP_ADDRESS>/16 /usr/bin/python /root/.ansible/tmp/ansible-tmp-1437721240.5-105634379282919/command; rm -rf /root/.ansible/tmp/ansible-tmp-1437721240.5-105634379282919/ >/dev/null 2>&1'"'"''
failed: [kubertest.tov.cl] => {"changed": true, "cmd": ["/usr/libexec/kubernetes/make-ca-cert.sh", "kubertest.tov.cl"], "delta": "0:00:00.184416", "end": "2015-07-24 07:00:40.713656", "rc": 2, "start": "2015-07-24 07:00:40.529240", "warnings": []}
stdout: === Failed to generate certificates: Aborting ===

FATAL: all hosts have already failed -- aborting

PLAY RECAP ********************************************************************
           to retry, use: --limit @/home/tomas/cluster.retry

kubermin1.tov.cl           : ok=21   changed=1    unreachable=0    failed=0
kubertest.tov.cl           : ok=58   changed=1    unreachable=0    failed=1

So @jeffbean definitely is fixing a bug, but apparently not your bug. My guess? Do you have openssl installed on the master?
https://github.com/eparis/kubernetes/commit/fd1024baa2c70c248cc5d051c8a400bd6fffabe8
If that doesn't fix it you can remove all of the > /dev/null 2>&1 portions at the end of all of the easyrsa lines. Should give us more debug info (assuming its just not openssl not being installed)

Actually, it was openssl not being installed (NOW I feel stupid).
So eparis@fd1024b should be super helpful.
Thanks @eparis!

This is already fixed in our PR over here: #11264

Looks like this was fixed by #11264. Please reopen if you are still having this issue.

Actually This is failed because no server.key and server.crt was generated from the downloaded tar.gz :
https://storage.googleapis.com/kubernetes-release/easy-rsa/easy-rsa.tar.gz


Challenge #4 Getting Started Preliminary Code: Preprocessing + Selecting Counties for Further Investigation

This code formats the csv file input to one dataframe for CA and one for FL. Then, changes are made like incorporating the full column titles from the dictionary files, removing bad values from percent columns, and making the geoids the indices. Finally, it finds the geoids that appear in at least 2 of the top 10 values in the 3 FEMA/DOE columns noted in the challenge #4 discussion post and prints the corresponding counties.

Closed to correct destination folder for file


fix: reject impossible temp values

Tested with H5178 (with above index change), fixes https://github.com/home-assistant/core/issues/82994


[Gluten-1124] Close connector preload split on current memory management.

Fix #1124
Gluten should avoid the behavior may outlive the task, it breaks task execution model.
I'm not sure how performance boost can be gained from split preload, but I guess it gains little. When Velox has more suitable split preload mechanism that execute within lifecycle of task, we will consider open this feature then.

@zhouyuan @FelixYBW Could you help take a look?

@zhztheplayer what does InitCache(conf) do?

@zhztheplayer what does InitCache(conf) do?

I think it's for preparing some static stuffs for using local cache feature

@zhztheplayer what does InitCache(conf) do?

It's another PR, move InitCache location before access ioExecutor avoid nullptr.


Added configuration for PodDisruptionBudget

Description
This PR adds the configuration for PodDisruptionBudget. It can be configured globally and/or overwrites by service/app.
Related Issue

Fixes #149

Motivation and Context
Feature Request
How Has This Been Tested?
Tested with helm template and the following own values YAML:
features:
  basicAuthentication: true
podDisruptionBudget:
  maxUnavailable: 1
services:
 webdav:
   podDisruptionBudget:
     maxUnavailable: 2

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Technical debt
[ ] Tests only (no source changes)

Checklist:

[ ] Code changes
[ ] Unit tests added
[ ] Acceptance tests added
[x] Documentation generated (make docs) and committed
[ ] Documentation ticket raised:
[ ] Documentation PR created:

@wkloucek It would be nice if we could harmonise the app names between the values file and the name of the app in the metadata in the future.
After this change the template I used for PDB generation could be reduced by one argument in the dict.

Then I would move this PR to draft until #164 is done and grab #164 in between. Fine for you?

I converted the PR to draft right now to avoid accidental merging. I will address #164 first.


Chore: Setup vm in gcp for running benchmarks

Description
The idea is to add it as a github runner, then have runs-on: ubuntu-benchmarks-8-core for a benchmark step in github actions.
This would give us relatively consistent results across runs. To reduce contention on this vm, we should probably only have benchmarks run on merges to main (and workflow_dispatch).

I can help out with this one if that's useful?

I can help out with this one if that's useful?

sgtm. We can just add a separate workflow with just a quick echo hello or something to test that it works until Cory finishes up his pr.
I think the we could do a 8 core, 16G mem vm with like 100G disk for now.

would we really want to run the benches on every single pr/commit? I always assumed that they would be more ad-hoc.

we should probably only have benchmarks run on merges to main (and workflow_dispatch)

would we really want to run the benches on every single pr/commit?

Discussed on Slack:

We'll want to run the big benchmarks^TM on:

some controlled cadence like nightly or similar (other examples given were every 10K lines or every 10 merges)
when vendors release

In addition might want to have a micro-benchmark we can run on each commit

We're going to start out with just a dedicated gh runner

Adding a new runner is quite simple. I set up my local machine as a runner (to test it out) on a private repo.
@greyscaled, we can hop on Discord today and quickly set this up. We don't need to automate anything here. But having a ready-to-go image that we can spin up would be nice.
One thing that might bother us is cleaning up the VM after each job. This can be mitigated by making benchmarks use a TMP directory and cleaning up afterwards. We could also cleanup/re-initialize the runner every weekend or so. But that's a problem for later, I suppose.

Discussed in Slack:

Let's go ahead to write the yaml for the benchmarks with just ubuntu runners, then once it's working, we can just go ahead and bump to the existing ubuntu-latest-8-cores runners.


delete the cert before upload

delte the cert before upload

:+1:  since this should resolve a recurring issue


fix #405 by ignoring unknown hatch patterns

This changes one of test outputs. Can you check if this is correct?

Yes, i noticed the change.
But right now I'm still not sure if my solution is robust. After proposing my my change, I also found BAD_MP_HATCH  in _hatches.py and another check for valid hatches in https://github.com/nschloe/tikzplotlib/blob/master/tikzplotlib/_path.py#L286
The BAD_MP_HATCH list in _hatches.py does just maintain a list of patches for which a warning is generated. Am I correct?

Not sure.

I think that I have found the underlying problem and submitted a new pull request.


Extension tests improperly activate instance from dist folder

I have come across an issue with an extension I am working on where the extension tests seem to be launching my webpacked extension from dist which causes intermittent failures due to commands being registered twice in classes that are supposed to be singletons among other things.
This has started happening after changing activation events to the following:
	"activationEvents": [ 		"*" 	]
(e.g., activating my extension on startup of VSCode).
If the dist folder does not exist, then my tests work as expected but produce a stacktrace similar to:
Activating extension `vscode-samples.webpack-sample` failed:  Cannot find module '/Users/minardi/vscode-extension-samples/webpack-sample/dist/extension'
Require stack:
- /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/loader.js
- /Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap-amd.js
- /Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap-fork.js
Here is the error stack:  Error: Cannot find module '/Users/minardi/vscode-extension-samples/webpack-sample/dist/extension'
Require stack:
- /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/loader.js
- /Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap-amd.js
- /Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap-fork.js
	at Function._resolveFilename (internal/modules/cjs/loader.js:627:15)
	at Function.<anonymous> (internal/modules/cjs/loader.js:531:27)
	at Function.<anonymous> (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:796:852)
	at Function.<anonymous> (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:765:302)
	at Function._load (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:761:870)
	at Module.require (internal/modules/cjs/loader.js:685:19)
	at require (internal/modules/cjs/helpers.js:16:16)
	at Function.s [as __$__nodeRequire] (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/loader.js:32:963)
	at d._loadCommonJSModule (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:766:484)
	at d._doActivateExtension (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:677:300)
	at d._activateExtension (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:676:360)
	at Object.actualActivateExtension (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:674:296)
	at Object._activateExtension (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:506:21)
	at /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:505:632
	at Array.map (<anonymous>)
	at Object._activateExtensions (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:505:620)
	at Object.activateByEvent (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:503:413)
	at d._activateByEvent (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:675:24)
	at d._handleEagerExtensions (/Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:678:800)
	at /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/services/extensions/node/extensionHostProcess.js:682:215

  Dummy Suite
    ✓ Dummy Test
  1 passing (26ms)

which again seems to imply that the extension from dist is being loaded at some point. I also added --disable-extensions to the launch.json as a sanity measure and that seems to have no effect.
I would expect that the extension from the dist folder is not activated in this way and that the source from out/test/ is used instead.
I have forked the webpack example extension and added logic which will demonstrate this behaviour (at https://github.com/mpminardi/vscode-extension-samples/tree/activation-bug)

Version Information:

VSCode Version: Version: 1.40.2 Commit: f359dd69833dd8800b54d458f6d37ab7c78df520
OS Version: Mac OS X 10.14.6

Steps to Reproduce:

Clone and checkout https://github.com/mpminardi/vscode-extension-samples/tree/activation-bug
Run extension tests through the IDE without a dist folder
Observe the stack trace which shows that VSCode is attempting to activate the extension from dist

When we launch the launch config "Extension Tests", it will invoke VS Code with the argument --extensionTestsPath=${workspaceFolder}/out/test. This comes from  https://github.com/mpminardi/vscode-extension-samples/commit/e93ef583da6b76405533743414c12f3e0e6154b8#diff-75b3f59d0012145b7219d971d67b339bR26
VS Code will then load and run /out/test/index.js. That file will use as testsRoot the path /out/ (defined at https://github.com/mpminardi/vscode-extension-samples/commit/e93ef583da6b76405533743414c12f3e0e6154b8#diff-978f82f90891ceea49219da62c1401a2R12), so it will look for tests under /out/**/**.test.js. So far so good, because tests are not part of the bundled output, so loading them from /out/ makes sense.
But those tests are written to load code relative to them, so they will end up loading /out/math.js.
Finally, VS Code must load the extension because it is * activated and that is part of the contract of running tests -- the extension must be loaded and activated as necessary. But VS Code will respect the path described in package.json's main field, which is "./dist/extension".
@jrieken I think this is a problem specific to this sample, our built-in extensions don't have the main field pointing to /dist, it must be a build step which massages it...

I am running the sample extension from VS Code on MacOS, I have a similar issue, and I don't know what I need to do:
Activating extension 'undefined_publisher.medium' failed: Cannot find module '/Users/bill/Documents/GitHub/medium/out/extension.js' Require stack: - /Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/loader.js - /Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap-amd.js - /Applications/Visual Studio Code.app/Contents/Resources/app/out/bootstrap-fork.js.

My suggestion reinstall npm and node: https://stackoverflow.com/questions/44363066/error-cannot-find-module-lib-utils-unsupported-js-while-using-ionic

I am using a workaround described here https://github.com/microsoft/vscode-docs/issues/3632
It uses a global json tool to modify package.json just for the execution of unit tests.

a fresh install of node.js and vscode solved the issue for me

This seems to be somewhat stale, but the problem persists. I assumed that this might be resolved by removing the extensionDevelopmentPath param from the launch configuration, so that VSCode will no longer load the extension from source. But VSCode will then fail to launch with the following notification.

Clicking continue does have no effect. I assumed that this would be because the extension development host would then not be opened, so I gave a quick shot at fixing this by adding the following statement in the VSCode Source at https://github.com/microsoft/vscode/blob/1379f0375440df946adc62f7afb8375dd45d5adf/src/vs/platform/launch/electron-main/launchMainService.ts#L130
else if(!!args.extensionTestsPath) {
  await this.windowsMainService.open(baseConfig);
}

This didn't help, but I think providing the possibility to have extensionTestsPath without extensionDevelopmentPath in the launch configuration might be a viable solution to this problem.


Regenerate TPU client

This PR was generated using Autosynth. :rainbow:
Here's the log from Synthtool:
synthtool > Executing /tmpfs/src/git/autosynth/working_repo/synth.py.
synthtool > Cloning https://github.com/googleapis/elixir-google-api.git.
synthtool > Running: docker run --rm -v/home/kbuilder/.cache/synthtool/elixir-google-api:/workspace -v/var/run/docker.sock:/var/run/docker.sock -w /workspace gcr.io/cloud-devrel-public-resources/elixir16 scripts/generate_client.sh TPU
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
  File "/tmpfs/src/git/autosynth/env/lib/python3.6/site-packages/synthtool/metadata.py", line 63, in write
    with open(outfile, "w") as fh:
FileNotFoundError: [Errno 2] No such file or directory: 'clients/TPU/synth.metadata'

Might be a case of #1210 (I suspect the reordering is because one of the names changed.)


SCB-243 able to intercept old java chassis requests

Signed-off-by: Eric Lee<EMAIL_ADDRESS>Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Make sure there is a JIRA issue filed for the change (usually before you start working on it).  Trivial changes like typos do not require a JIRA issue.  Your pull request should address just this issue, without pulling in other changes.
[x] Each commit in the pull request should have a meaningful subject line and body.
[x] Format the pull request title like [SCB-XXX] Fixes bug in ApproximateQuantiles, where you replace SCB-XXX with the appropriate JIRA issue.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Run mvn clean install to make sure basic checks pass. A more thorough check will be performed on your pull request automatically.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

Coverage increased (+0.05%) to 95.322% when pulling 5dc5033c49e26453b37534cd0428ad3cc0729172 on eric-lee-ltk:SCB-243 into 697bf60b68fb44ae0a5f61b68e4412e660adc75e on apache:master.


Incorrect typing for enum on computed fields

currently when defining a computed field of type enum like this:
import { defineDocumentType, makeSource } from 'contentlayer/source-files'

const locales = ['en', 'de'] as const

const Post = defineDocumentType(() => {
  return {
    name: 'Post',
    filePathPattern: 'posts/**/*.mdx',
    fields: {
      language: {
        type: 'enum',
        options: locales,
        required: true
      }
    },
    computedFields: {
      locale: {
        type: 'enum',
        options: locales,
        resolve(doc) {
          return doc['language']
        }
      }
    }
  }
})

export default makeSource({
  contentDirPath: 'content',
  documentTypes: [Post]
})

this generates a ts schema:
export type Post = {
  /** File path relative to `contentDirPath` */
  _id: string
  _raw: Local.RawDocumentData
  type: 'Post'
  language: 'en' | 'de'
  /** Markdown file body */
  body: Markdown
  locale: enum
}

note that the regular enum field is correct, but the computed enum field is of type enum
i guess this is because of https://github.com/contentlayerdev/contentlayer/blob/dcc48858f7643f882a72a9cc5941deb36bbb1ecf/packages/%40contentlayer/core/src/generation/generate-types.ts#L120

steps to reproduce:

git clone git@github.com:stefanprobst/issue-contentlayer-computed-field-types.git
cd issue-contentlayer-computed-field-types
npm i
npm run generate
cat .contentlayer/generated/types.d.ts

Documentation task moved to contentlayerdev/website#62.
I changed the title to reflect the CL-specific issue. cc @schickling


:arrow_up: react(-dom) / eslint-plugin-babel / eslint-plugin-import

Pull Request Test Coverage Report for Build #302

0 of 0 (NaN%) changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 97.25%

Totals

Change from base Build #289:
0.0%

Covered Lines:
265

Relevant Lines:
266

💛  - Coveralls


Compiler-generated type as a service

Hi Maksim,
I've updated my app to the last version of DryIoc and found that it's not starting up.
The application couldn't resolve its settings class generated from App.settings file.
I found the exact commit where the breaking change was introduced: 2aaedc43b551eebba95d007f508aea10104dce6d
Then I tried to extract the failing setup into a minimal reproducible unit test and it turned out to be tricky.
I was thinking it was the unusual setup (exported static property) that was problematic.
But finally I discovered that the issue was the CompilerGeneratedAttribute.
I'll create the pull request demonstrating the issue.
Can we disable the rule that ignores the compiler-generated classes as a services?
Does it really help speeding up service resolution?

Thank you! 🙏

Looks like SettingsSingleFileGenerator tool incorrectly uses CompilerGeneratedAttribute instead of
the GeneratedCodeAttribute which should be used. The same issue with StronglyTypedResourceBuilder.
Related MSDN blog post: Correct usage of the CompilerGeneratedAttribute and the GeneratedCodeAttribute.
Even Microsoft's own tools don't use the right attributes.
Unfortunately, there seems to be no way to instruct the tools to avoid emitting the attribute...

Thanks for the link. It is always good to have a broader look at the problem.

I'm disappointed that CompilerGenerated attribute doesn't actually mean that the code is compiler-generated.
Sometimes C# compiler doesn't apply it to the generated code, and sometimes the attribute is misused by code generation tools.

Hmm, interesting...
Is there any benefit from static compile-time service registrations, apart from the faster start-up?
As far as I've seen, DryIoc service discovery and registration is blazing fast, compared to other containers.
For typical applications service registration would take less than a second, and other startup tasks
like looking up something in the database would require much more time anyway. Am I missing something?

Oh, I see, thanks for the insight.
Compile-time errors vs runtime errors look like the most important point to me :)
I've seen too much cryptic runtime errors in MEF times...

@yallie What is the name of the class generated from App.settings?
Does it start with '<>'?

No, class name is derived from the settings file name: MyAppConfig.settings → MyAppConfig.Designer.cs.
Similar to resx resource file generator's behavior.


Control label externally

It would be very good to be able to send the control label by payload. Thanks.

Available with version: 0.1.44
usage:
msg.control = {label:"New Label"}


Port to NAN

I might add a NanFatalException at some future point. Never noticed it was missing.

bump

Landed in f01d4a7a98. Thanks.

No problem. I didn't test on 0.10 this time around, but I presume it still works. If you have an install lying around, do see that it compiles.


Add data for Cool Habanero Double Stacked Taco

Link to video at the timestamp right before he says the rating so you can confirm: https://youtu.be/Z55gNYbOvpU?t=7m24s

👹


"Build and deploy Java to Azure Kubernetes service" link goes to Javascript page/example

"Build and deploy Java to Azure Kubernetes service" link goes to Javascript page/example.
The link at the bottom of https://learn.microsoft.com/en-us/azure/devops/pipelines/ecosystems/java?view=azure-devops taht says "Build and deploy Java to Azure Kubernetes service" goes to https://learn.microsoft.com/en-us/azure/aks/devops-pipeline?view=azure-devops&tabs=cli&pivots=pipelines-yaml which has a Javascript example (ie not a Java example).
If this is correct then would be better to have more generic wording such as "Build and deploy to Azure Kubernetes" or simply the actual title of the page it links to which is "Build and deploy to Azure Kubernetes Service with Azure Pipelines"
Ideally https://github.com/paulparkinson/pipelines-java would have the Dockerfile, etc. necessary to build and deploy to AKS in order to have a continuous/consistent example.

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

ID: 47f8d3c5-c20f-a1d2-80c6-87856244be0e
Version Independent ID: e1a8e10b-f04c-601b-c848-4c79786a7586
Content: Build Java apps - Azure Pipelines
Content Source: docs/pipelines/ecosystems/java.md
Service: azure-devops
Sub-service: azure-devops-ecosystem
GitHub Login: @juliakm
Microsoft Alias: jukullam

Thanks! We'll update the link.


SNOW-894824: validation for project def files

Pre-review checklist

[ ] I've confirmed that instructions included in README.md are still correct after my changes in the codebase.
[ ] I've added new automated tests to verify correctness of my new code.
[ ] I've confirmed that my changes are up-to-date with the target branch.
[ ] I've described my changes in the section below.

Changes description
...

Closing in favour of #7


Component requieres call to initializeChart every time it's added

The following code requieres a call to initializeChart when the component is added. Why is it so? Can't it be handled on attach and/or by setting properties through Element API?
OrgChart og = new OrgChart(new OrgChartItem(1, "name", "title"));
og.initializeChart();
add(og, new Button("Toggle", ev -> {
	if (getChildren().anyMatch(og::equals)) {
		remove(og);
	} else {
		add(og);
		og.initializeChart(); //(?)
	}
}));

I think that is mainly because it was originally designed to work with Vaadin 8. I did a small local test and it seems to work fine by moving the initialization to an onAttach() method


opencv:x64-windows build failure

Host Environment

OS: x64-windows
Compiler: revision

To Reproduce
Steps to reproduce the behavior:
./vcpkg install opencv:x64-windows or ./vcpkg install libwebp:x64-windows
Failure logs
PS D:\CPPLibs\vcpkg-2021.04.30> .\vcpkg install opencv:x64-windows
Computing installation plan...
The following packages will be built and installed:

libwebp[core,nearlossless,simd,unicode]:x64-windows -> 1.1.0#3
opencv[core,dnn,jpeg,png,quirc,tiff,webp]:x64-windows -> 4.5.1
opencv4[core,dnn,jpeg,png,quirc,tiff,webp]:x64-windows -> 4.5.1#1
protobuf[core]:x64-windows -> 3.15.8
quirc[core]:x64-windows -> 1.1#2
Additional packages (*) will be modified to complete this operation.
Detecting compiler hash for triplet x64-windows...

-- Using cached D:/CPPLibs/vcpkg-2021.04.30/downloads/webmproject-libwebp-d7844e9762b61c9638c263657bd49e1690184832.tar.gz
-- Cleaning sources at D:/CPPLibs/vcpkg-2021.04.30/buildtrees/libwebp/src/1690184832-82bbc619db.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source D:/CPPLibs/vcpkg-2021.04.30/downloads/webmproject-libwebp-d7844e9762b61c9638c263657bd49e1690184832.tar.gz
-- Applying patch 0001-build.patch
-- Applying patch 0002-cmake-config-add-backwards-compatibility.patch
-- Applying patch 0003-always-mux.patch
-- Applying patch 0004-add-missing-linked-library.patch
-- Applying patch 0006-fix-dependecies-platform.patch
-- Applying patch 0007-fix-arm-build.patch
-- Applying patch 0008-sdl.patch
-- Applying patch 0009-glut.patch
-- Using source at D:/CPPLibs/vcpkg-2021.04.30/buildtrees/libwebp/src/1690184832-82bbc619db.clean
-- Found external ninja('1.10.2').
-- Configuring x64-windows
-- Building x64-windows-dbg
-- Building x64-windows-rel
-- Using msys root at D:/CPPLibs/vcpkg-2021.04.30/downloads/tools/msys2/50864d9fae363d6e
-- Fixing pkgconfig file: D:/CPPLibs/vcpkg-2021.04.30/packages/libwebp_x64-windows/lib/pkgconfig/libwebp.pc
-- Fixing pkgconfig file: D:/CPPLibs/vcpkg-2021.04.30/packages/libwebp_x64-windows/lib/pkgconfig/libwebpdecoder.pc
-- Fixing pkgconfig file: D:/CPPLibs/vcpkg-2021.04.30/packages/libwebp_x64-windows/lib/pkgconfig/libwebpdemux.pc
-- Fixing pkgconfig file: D:/CPPLibs/vcpkg-2021.04.30/packages/libwebp_x64-windows/lib/pkgconfig/libwebpmux.pc
-- Fixing pkgconfig file: D:/CPPLibs/vcpkg-2021.04.30/packages/libwebp_x64-windows/debug/lib/pkgconfig/libwebp.pc
-- Fixing pkgconfig file: D:/CPPLibs/vcpkg-2021.04.30/packages/libwebp_x64-windows/debug/lib/pkgconfig/libwebpdecoder.pc
-- Fixing pkgconfig file: D:/CPPLibs/vcpkg-2021.04.30/packages/libwebp_x64-windows/debug/lib/pkgconfig/libwebpdemux.pc
-- Fixing pkgconfig file: D:/CPPLibs/vcpkg-2021.04.30/packages/libwebp_x64-windows/debug/lib/pkgconfig/libwebpmux.pc
CMake Error at scripts/cmake/vcpkg_copy_tool_dependencies.cmake:29 (message):
Could not find PowerShell Core; please open an issue to report this.
Call Stack (most recent call first):
ports/libwebp/portfile.cmake:84 (vcpkg_copy_tool_dependencies)
scripts/ports.cmake:142 (include)

Error: Building package libwebp:x64-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with .\vcpkg update, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
Package: libwebp:x64-windows
Vcpkg version: 2021-01-13-d67989bce1043b98092ac45996a8230a059a2d7e
Additionally, attach any relevant sections from the log files above.
Additional context
I found this problem in older forums and it seemed to be fixed... but i am still getting this problem. When I try to build opencv, it always fails to build libwebp:x64-windows package.
EDIT
I also tried to build libwebp:x64-windows directly, but i got pretty much the same error.

Hi @S4pi3nti4
Thanks for posting this issue. Since it's duplicated to #15681, let's track this issue there.


Remix 1.16 unstable_dev - problems with assets

What version of Remix are you using?
1.16
Are all your remix dependencies & dev-dependencies using the same version?

[X] Yes

Steps to Reproduce

git clone git@github.com:ArekBartnik/remix-116-dev-assets.git
npm i
npm run dev
go to http://localhost:3000

Expected Behavior
It should show a page using Inter font and an icon after "Welcome to Remix".

With unstable_dev: true;
Without unstable_dev: true

Without new devserver paths to assets are relative but after turning this flag they change to absolute.
Actual Behavior
There're 2 errors:

for the fonts -> 404 http://localhost:3001/fonts/InterV.var.woff2 net::ERR_ABORTED 404 (Not Found)
for the svg icon -> `Unsafe attempt to load URL http://localhost:3001/build/_assets/document-QP6N4QKU.svg from frame with URL http://localhost:3000/. Domains, protocols and ports must match.

Just to note I'm also receiving the same "Domains, protocols and ports must match." error, and 404 errors on objects in the public folder (like fonts).

@ArekBartnik unfortunately there is no way for <use/> href to participate in CORS.
The alternative would be to proxy everything from our dev server, but that would require rearchitecting parts of the dev server. I'm happy to consider doing that, but that will take longer. In the meantime, inlining via Data URLs does the job.

@pcattori  I would like to understand why it was decided to serve files from a different origin? I think it's could be especially painful because "production" will be different (most assets are relative.)

@pcattori I've checked and svgs as dataulrs are blocked in Safari. Works in Chrome and Firefox. Here's a pen https://codepen.io/arekbartnik/pen/QWZqXzJ

@ArekBartnik after some more thought, I realized that serving the assets from the dev server doesn't actually help all that much for making HMR faster (for complicated reasons I won't bring up here). Which means that the original purpose of serving assets from dev server is obsoleted. Going to think about this a little more, but leaning towards just serving everything from the app server. Simpler, more similar to prod, and only one domain, so no CORS or cross-domain shenanigans.

Related: https://github.com/remix-run/remix/pull/6306


Lucas Week 6 Review Ticket

Unit 1.1 Collaboration Notes
Unit 1.2 Program, Function, and Purpose Notes
Unit 1.3 Program, Design, and Development Notes
1.1 to 1.3 Quiz Results

Hi Lucas,
I noticed that you have extremely detailed notes and they contain a lot of information about the past 3 week’s topics. Overall, I believe you did a great job taking notes and I think you deserve a 2.7+.

Hi Lucas,
I noticed that you have extremely detailed notes and they contain a lot of information about the past 3 week’s topics. As well good job with the quiz.


[jvm-packages] xgboost spark training hangs when not all tasks run at the same time

Environment info
AWS EMR emr-5.5.0 with hadoop and spark installed
1 master, 2 core, 3 task isntances. Master and core instances are c3.xlarge, task instances are m3.xlarge
Package used (python/R/jvm/C++): jvm
xgboost version used: 08a3d56065741d1e9673588cb78496edfd4e1255
Steps to reproduce

 spark-shell --num-executors 8 --executor-cores 4 --conf spark.shuffle.service.enabled=false --conf spark.dynamicAllocation.enabled=false --jars $XGBOOST_JARS

scala> val df = spark.sqlContext.read.format("libsvm").load("s3://$MyBucket//agaricus.txt.train")
df: org.apache.spark.sql.DataFrame = [label: double, features: vector]

scala> import ml.dmlc.xgboost4j.scala.spark.XGBoostEstimator
import ml.dmlc.xgboost4j.scala.spark.XGBoostEstimator

scala> val paramMap = Map[String, Any]("objective" -> "binary:logistic", "nworkers" -> 33)
paramMap: scala.collection.immutable.Map[String,Any] = Map(objective -> binary:logistic, nworkers -> 33)

scala> val est = new XGBoostEstimator(paramMap)
est: ml.dmlc.xgboost4j.scala.spark.XGBoostEstimator = XGBoostEstimator_2791e76ab309

scala> est.fit(df)
Tracker started, with env={DMLC_NUM_SERVER=0, DMLC_TRACKER_URI=<IP_ADDRESS>, DMLC_TRACKER_PORT=9091, DMLC_NUM_WORKER=33}
[Stage 2:>                                                        (0 + 32) / 33]

Tried
Set nworkers to 8*4 = 32.

can you add [jvm-packages] in the title when you ask about jvm questions?

in total you have 12 cores????

In emr cluster, core and task nodes are available for running tasks.
2 core nodes of c3.xlarge have 8 vCPUs (4 each), and 3 task nodes have 24 vCPUs (8 each).
So in total there are 32 vCores in my cluster, so as shown in the Hadoop Resource Manager WebUI.

The paramMap used is as following.
val paramMap = Map[String, Any]("objective" -> "binary:logistic", "nworkers" -> 33)

So your program is waiting for 33 tasks to start at the same time since it needs allreduce to sync stat

Yes.
Is it possible to make ONE round of boosting as an action in spark and start training with a partition regardless of the stat of others, after which is done, the core would be available to other partitions. So work could be done, even if there are not enough cores.

no, that's not how allreduce algorithm works

Ok thanks, I'll close the issue then.

@Seanspt i am able to start my tracker. But i always get warning of
WARN XGBoostSpark: Unable to read total number of alive cores from REST API.Health Check will be ignored.
java.io.IOException: Server returned HTTP response code: 500 for URL:
Whats the  issue?
Also i always get Warning of
WARN servlet.ServletHandler:
javax.servlet.ServletException: Could not determine the proxy server for redirection

it does not matter, something wrong with your driver rest api, it should not affect the running

@CodingCat
XGBoost Spark uses spark over rabit. Basically spark handles all distributed task and work.
Rabit will reduce overhead of allocating yarn resources again. Also it wont do reduce operation everytime.
What's the use of nWorkers in trainWithDataFrame API.
Does it handle distribution of data ? If yes,then what spark does in this case?
If it is more than 1, then it will create seperate instance for every executor or conatainer?
From the code , it repartition the data on the basis of workers, why we do that as spark handle distribution and parallelism?
I have read code and gone through rabit journal also... but its so confusing, WHY do we need rabit when we have spark?


styled-components + Typescript

Hey there, I'm getting the following console error in the browser after integrating styled-components
index.js:1 Warning: Prop className did not match.
I have installed babel-plugin-styled-components and put it in my babel config.
Has anyone come across this?
Thanks!

I have the same problem

I had the same issue and I fixed it adding a .babelrc file and using this:
{
  "plugins": [
    [
      "styled-components",
      { "ssr": true, "displayName": true, "preprocess": false }
    ]
  ]
}


V2.0 dev

Be still, my beating heart... :)

V2.0 is not ready for production, even as an alpha release. We need to finish up nesting the confit and then go through each chart type with a fine toothed comb for bugs. We will let the community know when alpha releases.


Package tests/**/fake_*.py with Python package

Describe the proposal
I'm currently working on Python code that uses Dapr, and to test my code I need to run/mock Dapr somehow.
If we package all the files under tests/**/fake_*.py into the published Dapr package, the mock classes would prove useful for applications that are dependent on Dapr and have unittesting in place.
It is also possible to create an additional Python package (dapr-test?) for packaging these file.
In my specific case, I need the FakeDaprSidecar class from tests/clients/fake_dapr_server.py for testing code that uses the Dapr client.
I'm open to working on this issue if the proposal is accepted.

Wouldn't it make more sense to mock the result returned by the Dapr client?
Because now you actually want/will test the Dapr client itself.
Also, might be related to #217

I want to test that my code behaves well in all of Dapr's scenarios.
It is possible to mock the results (and exceptions) returned by the Dapr client, but since a FakeDaprSidecar already exists I think it's a more elegant solution.

I want to test that my code behaves well in all of Dapr's scenarios. It is possible to mock the results (and exceptions) returned by the Dapr client, but since a FakeDaprSidecar already exists I think it's a more elegant solution.

This is true, although it is tightly coupled with the existing unit tests, as it was never intended to be public. (See https://github.com/dapr/python-sdk/blob/master/tests/clients/fake_dapr_server.py#L178 for example)
I'm not opposed to making a dapr-tests package with a fake client in it, but it would need to be generic enough to mock arbitrary responses, etc. You could achieve the same end by just taking https://github.com/dapr/python-sdk/blob/master/tests/clients/fake_dapr_server.py#L1-L23 and implementing the behavior you want to test for each API call.


MySQL: Table exclusions in EXTRA_OPTS causes infinite retry loop

Summary
I want to exclude some tables from my export by adding the --ignore-table flags to EXTRA_OPTS.
What ends up happening is the process enters an infinite retry loop. I saw that there was a similar issue (#208) in the past.
Has this been fixed?
Steps to reproduce
Add EXTRA_OPTS: "--ignore-table=db_name.first_table_name --ignore-table=db_name.second_table_name" to the docker-compose environment (or docker command equivalent).
What is the expected correct behavior?
Service should produce DB dump without the specified tables, while also not entering a retry loop.
Relevant logs and/or screenshots

Error Log
2023-06-26T09:42:56.144771966Z                                                                        ,---.
2023-06-26T09:42:56.144800684Z ,--------.,--.                 ,--.            ,---.    ,--. ,--------.|   |
2023-06-26T09:42:56.144805020Z '--.  .--'`--',--.--. ,---.  ,-|  |     ,---. /  .-'    |  | '--.  .--'|  .'
2023-06-26T09:42:56.144808074Z    |  |   ,--.|  .--'| .-. :' .-. |    | .-. ||  `-,    |  |    |  |   |  |
2023-06-26T09:42:56.144810597Z    |  |   |  ||  |   \   --.\ `-' |    ' '-' '|  .-'    |  |.--.|  |   `--'
2023-06-26T09:42:56.144813203Z    `--'   `--'`--'    `----' `---'      `---' `--'      `--''--'`--'   .--.
2023-06-26T09:42:56.144815537Z                                                                        '--'
2023-06-26T09:42:56.144852666Z Image:  tiredofit/db-backup | Version  3.9.6 Type 'image_changelog' for details
2023-06-26T09:42:56.144865481Z Repository/Documentation: https://github.com/tiredofit/docker-db-backup/
2023-06-26T09:42:56.144869145Z
2023-06-26T09:42:56.146294045Z If this image provides you value  - Consider sponsoring my work for continued
2023-06-26T09:42:56.146328103Z development, timely updates, and feature requests. Commercial support available.
2023-06-26T09:42:56.146335335Z
2023-06-26T09:42:56.146338060Z                     More Info:  https://www.tiredofit.ca
2023-06-26T09:42:56.146348880Z
2023-06-26T09:42:56.216291216Z 2023-06-26.09:42:56 [NOTICE] ** [timezone] Timezone: Setting to 'Etc/UTC' from 'Etc/GMT'
2023-06-26T09:42:56.413222825Z 2023-06-26.09:42:56 [NOTICE] ** [scheduling] Container configured for scheduled tasks with 'cron'
2023-06-26T09:42:57.105352244Z 2023-06-26.09:42:57 [STARTING] ** [scheduling] [1] Starting cron
2023-06-26T09:43:01.992111249Z 2023-06-26.09:43:01 [INFO] ** [db-backup] Next Backup at 2023-06-26 09:43:01 UTC
2023-06-26T09:43:07.017400424Z 2023-06-26.09:43:07 [WARN] ** [db-backup] MySQL/MariaDB Server 'gse-db' is not accessible, retrying.. (5 seconds so far)
2023-06-26T09:43:12.032868423Z 2023-06-26.09:43:12 [WARN] ** [db-backup] MySQL/MariaDB Server 'gse-db' is not accessible, retrying.. (10 seconds so far)
2023-06-26T09:43:17.050603228Z 2023-06-26.09:43:17 [WARN] ** [db-backup] MySQL/MariaDB Server 'gse-db' is not accessible, retrying.. (15 seconds so far)
2023-06-26T09:43:22.067703559Z 2023-06-26.09:43:22 [WARN] ** [db-backup] MySQL/MariaDB Server 'gse-db' is not accessible, retrying.. (20 seconds so far)
2023-06-26T09:43:27.081039724Z 2023-06-26.09:43:27 [WARN] ** [db-backup] MySQL/MariaDB Server 'gse-db' is not accessible, retrying.. (25 seconds so far)
2023-06-26T09:43:32.092125051Z 2023-06-26.09:43:32 [WARN] ** [db-backup] MySQL/MariaDB Server 'gse-db' is not accessible, retrying.. (30 seconds so far)
2023-06-26T09:43:37.105125444Z 2023-06-26.09:43:37 [WARN] ** [db-backup] MySQL/MariaDB Server 'gse-db' is not accessible, retrying.. (35 seconds so far)
2023-06-26T09:43:42.115842809Z 2023-06-26.09:43:42 [WARN] ** [db-backup] MySQL/MariaDB Server 'gse-db' is not accessible, retrying.. (40 seconds so far)
2023-06-26T09:43:47.130181781Z 2023-06-26.09:43:47 [WARN] ** [db-backup] MySQL/MariaDB Server 'gse-db' is not accessible, retrying.. (45 seconds so far)
2023-06-26T09:43:52.151928244Z 2023-06-26.09:43:52 [WARN] ** [db-backup] MySQL/MariaDB Server 'gse-db' is not accessible, retrying.. (50 seconds so far)
2023-06-26T09:43:57.167211538Z 2023-06-26.09:43:57 [WARN] ** [db-backup] MySQL/MariaDB Server 'gse-db' is not accessible, retrying.. (55 seconds so far)
...

Environment
Images:

mysql:8.0.33
tiredofit/db-backup:latest

Docker:

Docker version 24.0.2, build cb74dfc
Docker Compose version v2.18.1

OS: macOS 13.4

The EXTRA_OPTS is no longer used to check the database availability (see PR 209), so that can not be the root cause of your issue. However, your error log shows that gse-db is not accesible, so I would reckon it's more likely that your database container is not in the same network as your db-backup container. If you post your docker compose config it would be easier to debug the problem.

Yeah, I'm not sure what the cause of the original issue was. At that moment I remember switching to a mysql.cnf configuration in which I specified all the parameters for mysqldump. Since then I have not been having this issue. I tried to make a reproducible example, but it seems that even there I can not recreate the original issue that I had. In any case, I will close this since it is no longer valid.


T1566.001 - QR Code Phishing Attachment (Quishing) - Updated the KQL …

…with Recipient Email address

@DGovEnterprise All checks passed and ready for the merge


As of January 2019, BMO has updated their password to be more secure

Thankfully BMO has finally (January 2019) updated their password rules to be much more sane!
I've verified the change and you can see more here: https://twitter.com/dumb_pw_rules/status/1171574408915193856
New requirements are as follows:
Your password must have:
a minimum of 8 characters (up to 32 characters)
one uppercase and lowercase letter
one number
one special character
Therefore it makes sense to remove BMO from being shamed.

Thank you.


fix JDBC batching

Attempt to fix #877.
WDYT @DavideD?

It seems to work.
Thanks @gavinking.
We still need a way to test that batching is actually used when we want to use it.

yeah well. that's much harder

I think testing that the connection is an instance of BatchingConnection  should be doable.
Not foolproof but better than nothing. @blafond can you have a look at it please?


Refresh folder button won't work

VSCode Version: 1.2.0
OS Version: Windows 10

Steps to Reproduce:

Open some folder in VSCode
Create some file in this folder outside of VSCode (i.e. with Windows Explorer)
Hit refresh button.

You won't see this new file until you restart VSCode.

This does not reproduce easily so it needs a lot more information about your setup.

Maybe you also record a video :)?

Just tested this and can't reproduce either. It seems like the bug appears randomly after VSCode is running for some time (2-3 days in my case).

@softshape if that happens again please open the chrome developer console to see if something gets logged. You can open it from the help menu. Lets reopen when you have more info.


Mar 16th 2021 - SecRef Meeting Minutes

Security Reference Data Project Meeting
Date
20210316 - 11am ET / 3pm GMT
Untracked attendees

Fullname, Affiliation, (optional) GitHub username
...

Meeting notices

FINOS Project leads are responsible for observing the FINOS guidelines for running project meetings. Project maintainers can find additional resources in the FINOS Maintainers Cheatsheet.

All participants in FINOS project meetings are subject to the LF Antitrust Policy, the FINOS Community Code of Conduct and all other FINOS policies.

FINOS meetings involve participation by industry competitors, and it is the intention of FINOS and the Linux Foundation to conduct all of its activities in accordance with applicable antitrust and competition laws. It is therefore extremely important that attendees adhere to meeting agendas, and be aware of, and not participate in, any activities that are prohibited under applicable US state, federal or foreign antitrust and competition laws. Please contact<EMAIL_ADDRESS>with any questions.

FINOS project meetings may be recorded for use solely by the FINOS team for administration purposes. In very limited instances, and with explicit approval, recordings may be made more widely available.

Agenda

[x] Convene & roll call (5mins)
[x] Display FINOS Antitrust Policy summary slide
[x] Review Meeting Notices (see above)
[x] Approve Feb 2nd meeting minutes
[x] Feedback from all participants about whether to continue working on the Identifier mapping solution or close the workstream
[x] AOB, Q&A & Adjourn (5mins)

Decisions Made

[ ] Decision 1
[ ] Decision 2
[ ] ...

Action Items

[ ] Action 1
[ ] Action 2
[ ] ...

WebEx info

WebEx Meeting URL
Meeting Number: 668 805 739
Join by phone: +1.415.655.0003 USA Toll | +44-20319-88141 UK Toll | Access code: 668 805 739
Global call-in numbers

Hi

o/ sorry, a bit late today

hi

hi


Use ExpectedException.

Issue
None
Overview (Required)
Even if the DateUtil constructor does not throw an exception the original test succeeds.
I introduced ExpectedException.
Links
None
Screenshot
None

:eyes:

I think this test is unnecessary. ref https://github.com/DroidKaigi/conference-app-2017/pull/307#discussion_r100682136
What do you think?

@sys1yagi Agree. If you agree, can you remove this test in this PR? 🙇

of cause :)

done~

Thanks! LGTM 👍


Pending Transaction

hey, my transaction is pending for more then 12 hours and its getting frustrated now. I didn't sent more STX then i had but still its pending
Here is my Tx Id
https://explorer.stacks.co/txid/0x335e43b0e020b92c17c534e973f37c9db7ca9bf0c0eb3555fb05688a296bc5a9?chain=mainnet

This transaction hasn't been mined yet, and is sitting in the mempool. There's nothing the wallet can do about this.


[admin] Publish

Docs Build status updates of commit 47d107b:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/images/script-lab-script-tabs.png
:white_check_mark:Succeeded
View

docs/overview/create-an-office-add-in-from-script-lab.md
:white_check_mark:Succeeded
View

docs/toc.yml
:white_check_mark:Succeeded
View

docs/tutorials/excel-tutorial.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Allow to define feature_toggles (#275)

Signed-off-by: Wilfried Roset<EMAIL_ADDRESS>

still alive, waiting for feedbacks from maintainers on fixing circleci build

This role has been deprecated in favor of a the grafana-ansible-collection collection.


Support Angluar 13

https://github.com/angular/angular/releases/tag/13.0.0
I was not able to add support for it.

Fixed by #233


Added a section of testing and trying out webhooks - improved language

Description
Webhook documentation updated to add fine details and test setup
Motivation and Context
Webhook documentation appear to be too naive. Needed some descriptions.
Types of Changes

[ ] Documentation fix (typos, incorrect content, missing content, etc.) - YES

@ankitjaininfo Thanks for your contribution! Your changes have been merged.


add vp university of science

@minhnguyenphuonghoang First stage of verification passed, official domain is hcmus.edu.vn as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision. Proof of domain ownership: https://www.ctda.hcmus.edu.vn/vi/2021/10/chuong-trinh-viet-phap_thong-bao-ve-viec-su-dung-tai-khoan-hoc-vu-khoa-2021/

@minhnguyenphuonghoang Could you please clarify what are domains fitus.edu.vn and hcmus.edu.vn? Are they owned by the same University of Natural Sciences? Could you please also provide us with  an URL of a page on the official website where the school offers an IT-related long-term (>1 year) course?
Thank you!

@minhnguyenphuonghoang You might miss my previous comment. Please react.

hi @philipto yeah I do apologize for this. Here are the information you have requested:

the domain that I've asked to add is: "vp.fitus.edu.vn". (I think we should maintain both vp.fitus.edu.vn and hcmus.edu.vn since they're the same school with different program)
Yes they owned by the same school "University of Natural Sciences"
here is the official website https://www.ctda.hcmus.edu.vn/en and here is the detail of the degree https://www.ctda.hcmus.edu.vn/vi/educational-program/chuong-trinh-viet-phap/

let me know if you have any other questions.


[Suggestion] Supporting PGP signed commit

Gogs version (or commit ref): <IP_ADDRESS>7
Git version: e9ae926e040c94ce66666ae6c330c93918fa321c
Operating system: ArchLinux
Database:

[ ] PostgreSQL
[X] MySQL
[ ] SQLite

Can you reproduce the bug at http://try.gogs.io:

[X] Yes, URL: https://try.gogs.io/lifehome/viu-proxy/commits/master
[ ] No
[ ] Not relevant

Log gist: N/A

Description
I am creating a mirror repo to Saren-Arterius/viu-proxy, as you can see https://github.com/Saren-Arterius/viu-proxy/commit/2fefb827261de496799048a761935bf7cf3ec118 is PGP signed, and once copied to Gogs, the "Verified" commit become trash-ish since Gogs is currently not supporting PGP signed commit.
Suggestions

Supporting PGP signed commit.

Dupe of https://github.com/gogits/gogs/issues/2321 and https://github.com/gogits/gogs/issues/2981
Work in progress here : https://github.com/gogits/gogs/pull/3127


Update docs on the number of themes?

https://github.com/HubSpot/tooltip/tree/master/dist/css shows two themes, But http://github.hubspot.com/tooltip/ says "Currently there is only one default theme. We will be adding more soon!".

Just updated the documentation to say two. Thanks again for catching these typos :+1:


RFP - last.fm-scrubbler-wpf

Checklist

[x] The package I am requesting does not already exist on https://community.chocolatey.org/packages;
[x] There is no open issue for this package;
[x] The issue title starts with 'RFP - ';
[x] The download URL is public and not locked behind a paywall / login;

Package Details
Software project URL : https://github.com/SHOEGAZEssb/Last.fm-Scrubbler-WPF
Direct download URL for the software / installer : https://github.com/SHOEGAZEssb/Last.fm-Scrubbler-WPF/releases/download/B1.30/Last.fm-Scrubbler-WPF-Beta-1.30.zip
Software summary / short description:  Manual Last.fm scrobbling for when a service (or you!) failed to scrobble.

For anybody picking this up, note that the package name cannot contain a '.'.


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target_5653916b-9ccb-4524-9f16-89dd20ea6e9f/pull/1 is merged into live branch.
Auto archive content to https://github.com/opstest2/docs-archive-test-target_5653916b-9ccb-4524-9f16-89dd20ea6e9f.git

Docs Build status updates of commit de355c1:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error-RuningBuildFailed] Some unexpected errors happened when running build, please open a ticket in https://aka.ms/SiteHelp and include the error report for our team to troubleshoot

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Add Armour Tags to Ancient Armour

Add forge armour item tags to Ancient Armour, for example add the forge:armors/helmets tag to the Ancient Helmet, etc.

Please post your game version, modloader version and mod version.

Thanks


Reload warning from chrome while editing Testset

While editing a testset and switching somewhere else we get this message.

that;s expected behavior, no?

It's really annoying to get switched back to agenta after decided to switch to somewhere else.

I don't understand the issue you. What do you mean by switching to somewhere else? Does the error happen when you switch to another tab then return to agenta (which is unexpected behavior), or does the issue happen when you attempt to navigate to another view?
Can you please clarify, maybe by providing a video explaining the issue and the expected behavior?

@bekossy does this still happen?

This is the expected behavior, It is a warning to let you know you have unsaved changes and data would be lost if you reload the page or exit without saving changes

I think the behavior described in this issue is different. However, I check it's solved.