buy items in game

Could you please explain how the author uses CS2Interface to implement the purchase of keys or other items in the CS2 game? Thank you!

This isn't something that can currently be done and I don't have plans to add anything like this.

To add, most items I think can be purchased in a web browser, outside of the game.  More info here (the links there don't work but the general idea does).  This doesn't work for keys anymore as keys I believe are only purchased at the moment of unboxing and no longer go to your inventory.  It also doesn't work for any items on the "Tools" store tab.
For example:
Half-Life: Alyx Sticker Capsule: https://store.steampowered.com/buyitem/730/20153/1
Copenhagen 2024 Legends Sticker Capsule: https://store.steampowered.com/buyitem/730/4923/1
Anubis Collection Package: https://store.steampowered.com/buyitem/730/20197/1
The format for this is:
https://store.steampowered.com/buyitem/730/def_index/amount

amount can be between 1 and 20
def_index for an item can be found here

Thank you for your reply.I'm trying to do in-game purchase in CS:GO through GameCoordinator.
`		internal async Task RequestStorePurchaseInit(ulong item_id) {
if (!HasGCSession) {
throw new ClientException(EClientExceptionType.Failed, Strings.ClientNotConnectedToGC);
}
		await GCSemaphore.WaitAsync().ConfigureAwait(false);

		try {
			CGCStorePurchaseInit_LineItem lineItem = new CGCStorePurchaseInit_LineItem {
				item_def_id = (uint)item_id,
				quantity = 1,
				cost_in_local_currency = 25,
				purchase_type = 0,
			};

			var msg = new ClientGCMsgProtobuf<CMsgGCStorePurchaseInit>((uint)EGCItemMsg.k_EMsgGCStorePurchaseInit) {
				Body = {
					country = "EU",
					language = 3,
					currency = 3,
				}
			};

			msg.Body.line_items.Add(lineItem);

			var fetcher = new GCFetcher<CMsgGCStorePurchaseInit, CMsgGCStorePurchaseInitResponse> {
				GCResponseMsgType = (uint)EGCItemMsg.k_EMsgGCStorePurchaseInitResponse
			};

			Bot.ArchiLogger.LogGenericDebug(String.Format("{0}: {1}", Strings.InspectingPlayer, item_id));

			var response = fetcher.Fetch(this, msg);
			if (response == null) {
				throw new ClientException(EClientExceptionType.Timeout, Strings.RequestTimeout);
			}

			return response.Body;
		}
		finally {
			GCSemaphore.Release();
		}
	}`

Why is the response result equal to 8? Is there a problem with my parameters? Can you help me?

Nothing looks obviously wrong to me, but I don't know what parameters should be used for the account you're trying this with.  I'm not sure that "EU" is a valid country code or if that even matters.  Based on this (which I don't know if this is accurate), a result of 8 could mean the currency parameter is wrong:
k_EPurchaseResultWrongCurrency = 8,			// Microtransaction's currency does not match user's wallet currency

NetHook2 and NetHookAnalyzer2 should be helpful in figuring out what the parameters should be.

Thank you once again for clarifying things for me; it has been very helpful. I wish you all the best.

This is a great issue! It saved me a lot of time. Your discussion helped me resolve my confusion. Thank you both!


Update Readmes

Need to caveat the usage of the framework around the issues noted in plus3it/ash-linux-formula#147

Closing due to migration of AFP from systemprep to Watchmaker.


need to be Thread Safe

I think it's much better if the parser running thread-safe.
One of the barriers I think is the error fifo.
Is there any plan to enhance the features?

There are two related issues #63 and #66.
I have currently no time to do so big change so there (#63) are some hints how to overcome this issue.
If you can provide some hints or pull request with some implementation, I will be happy.
Bug #66 is planned to be solved in near future.

If the user guarantee the context being thread-safe, I think the thread-safe could be accomplished by making the context having their own error fifo.
Do you think so?

Yes, see #66

Issue #66 is solved so this issue is also partially solved. I have created new issue focused only to locking.


Turn org.gradle.api.artifacts.cache into an internal package

These interfaces are not accessible from public API. Only through
the internal ResolutionStrategyInternal.getResolutionRules().
Hence we remove them from the public API. This includes moving them
from core-api to dependency-management.
See #4390 for more details.
Compatibility report showing the remove public API methods: https://builds.gradle.org/repository/download/Gradle_Check_SanityCheck/11755198:id/report-distributions-binary-compatibility-report.html

@bigdaz good point. I removed ResolutionStrategyInternal.getResolutionRules() and by that also discovered, and removed, the one integration test we had. I basically did what you suggested. Could you have another look?

@jjohannes I did a bit more refactoring to completely inline the ResolutionStrategy API into DefaultCachePolicy. This will make it a bit easier to refactor/simplify in the future.
Feel free to merge.

Are we still going to make it in 4.7RC1? Please merge it into release or remove the milestone.


Testing PR pipeline triggers - do not merge

Webhooks on the mrtk_pr pipeline got stale.
I'll probably look to close this in 48 hours unless I hear otherwise.

@wiwei Sorry, Will. I forgot this was still open.


Adadelta fixes

Refer to this link for build results (access rights to CI server needed):
/job/nd4j_PR/54/

Refer to this link for build results (access rights to CI server needed):
/job/nd4j_PR/55/


Sending a message to the CS:GO GC

I'm trying to send messages to the CS:GO game coordinator, using SteamGameCoordinator. Therefore, I need the corresponding EMsg and Schema.
However, Steam.GC.CSGO is undefined. It looks like it should be defined, though: https://github.com/seishun/node-steam-resources/blob/master/index.js#L12.

Figured it out - node-steam-resources isn't yet a part of node-steam. Requiring it directly worked fine.


Max 16 Favorites?

I'm not sure if this is intentional, but after saving 16 favorites, additional attempts to favorite don't save.  Clicking on the heart icon changes status to saved (red heart), but it doesn't actually save.  Reloading the same page shows not saved and the Dashtrack Favorites page doesn't reflect the change.  Let me know if you need me to gather any more case data.

@rmcmullanLB thanks for reporting. The extension doesn't have any hard-coded limit, so it's definitely not intended behavior. I did a quick run through and was able to add more than 16 restaurants. Is it a specific restaurant causing the issue or all?

It is all restaurants.  I was using Brave browser initially (based on
Chromium) and thought that might be the issue, but I get the same behavior
with Google Chrome.
On Wed, Sep 8, 2021 at 10:40 AM Victor Lin @.***> wrote:

@rmcmullanLB https://github.com/rmcmullanLB thanks for reporting. The
extension doesn't have any hard-coded limit, so it's definitely not
intended behavior. I did a quick run through and was able to add more than
16 restaurants. Is it a specific restaurant causing the issue or all?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/vlin02/dash-track/issues/1#issuecomment-915438626,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALW277KUJJG4YZS57LS26YLUA6NXLANCNFSM5DTOH32A
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


[External Request] Table 10752 - SII Doc. Upload State

Hi everyone,
in order to be allowed to create SII request it wuld be wonderful to have te following methods of this table accesible not only for onprem extensions. I dont know why this table functions are with scope onprem, but i think there its no need for that and i hope you can make them accesible for extension development.
Kind regards.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


Problems with jax

I installed the required libraries by pip install -r requirement.txt. The CUDA works well and the GPU can be found by tensorflow. However, when I try to run the code, an error occurs.
"Unable to initialize backend 'cuda'": module 'jaxlib.xla_extension' has no attribute 'GpuAllocatorConfig'
I searched on the web and found it might be caused by the version of the libraries.
Could you please share the versions of those packages you used with me? Thank you very much.

Yes, same for me @WilliamLi0623.
Current solution : use pip install -U jaxlib==0.3.14+cuda11.cudnn82 -f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html
cc @PetarV-

it still doesnt work

log dump
2023-01-21 20:01:53.374343: W external/org_tensorflow/tensorflow/tsl/platform/default/dso_loader.cc:66] Could not load dynamic library 'libcudart.so.11.0'; dlerror: libcudart.so.11.0: cannot open shared object file: No such file or directory
2023-01-21 20:01:53.537534: W external/org_tensorflow/tensorflow/tsl/platform/default/dso_loader.cc:66] Could not load dynamic library 'libcudart.so.11.0'; dlerror: libcudart.so.11.0: cannot open shared object file: No such file or directory
2023-01-21 20:01:53.539034: W external/org_tensorflow/tensorflow/tsl/platform/default/dso_loader.cc:66] Could not load dynamic library 'libcudart.so.11.0'; dlerror: libcudart.so.11.0: cannot open shared object file: No such file or directory
2023-01-21 20:01:54.230774: W tensorflow/compiler/xla/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libcudart.so.11.0'; dlerror: libcudart.so.11.0: cannot open shared object file: No such file or directory
2023-01-21 20:01:55.316097: W tensorflow/compiler/xla/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libnvinfer.so.7'; dlerror: libnvinfer.so.7: cannot open shared object file: No such file or directory
2023-01-21 20:01:55.316175: W tensorflow/compiler/xla/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libnvinfer_plugin.so.7'; dlerror: libnvinfer_plugin.so.7: cannot open shared object file: No such file or directory
2023-01-21 20:01:55.316187: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Cannot dlopen some TensorRT libraries. If you would like to use Nvidia GPU with TensorRT, please make sure the missing libraries mentioned above are installed properly.
2023-01-21 20:01:59.913842: W tensorflow/compiler/xla/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libcudart.so.11.0'; dlerror: libcudart.so.11.0: cannot open shared object file: No such file or directory
2023-01-21 20:01:59.913949: W tensorflow/compiler/xla/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libcublas.so.11'; dlerror: libcublas.so.11: cannot open shared object file: No such file or directory
2023-01-21 20:01:59.914012: W tensorflow/compiler/xla/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libcublasLt.so.11'; dlerror: libcublasLt.so.11: cannot open shared object file: No such file or directory
2023-01-21 20:01:59.914076: W tensorflow/compiler/xla/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libcufft.so.10'; dlerror: libcufft.so.10: cannot open shared object file: No such file or directory
2023-01-21 20:01:59.914133: W tensorflow/compiler/xla/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libcurand.so.10'; dlerror: libcurand.so.10: cannot open shared object file: No such file or directory
2023-01-21 20:01:59.914191: W tensorflow/compiler/xla/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libcusolver.so.11'; dlerror: libcusolver.so.11: cannot open shared object file: No such file or directory
2023-01-21 20:01:59.914254: W tensorflow/compiler/xla/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libcusparse.so.11'; dlerror: libcusparse.so.11: cannot open shared object file: No such file or directory
2023-01-21 20:01:59.914312: W tensorflow/compiler/xla/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libcudnn.so.8'; dlerror: libcudnn.so.8: cannot open shared object file: No such file or directory
2023-01-21 20:01:59.914338: W tensorflow/core/common_runtime/gpu/gpu_device.cc:1934] Cannot dlopen some GPU libraries. Please make sure the missing libraries mentioned above are installed properly if you would like to use GPU. Follow the guide at https://www.tensorflow.org/install/gpu for how to download and setup the required libraries for your platform.
Skipping registering GPU devices...
I0121 20:01:59.939431<PHONE_NUMBER>89376 xla_bridge.py:355] Unable to initialize backend 'tpu_driver': NOT_FOUND: Unable to find driver in registry given worker:
I0121 20:02:00.399612<PHONE_NUMBER>89376 xla_bridge.py:355] Unable to initialize backend 'rocm': NOT_FOUND: Could not find registered platform with name: "rocm". Available platform names are: CUDA Host Interpreter
I0121 20:02:00.400197<PHONE_NUMBER>89376 xla_bridge.py:355] Unable to initialize backend 'tpu': module 'jaxlib.xla_extension' has no attribute 'get_tpu_client'
I0121 20:02:00.400516<PHONE_NUMBER>89376 xla_bridge.py:355] Unable to initialize backend 'plugin': xla_extension has no attributes named get_plugin_device_client. Compile TensorFlow with //tensorflow/compiler/xla/python:enable_plugin_device set to true (defaults to false) to enable this.
2023-01-21 20:02:01.082623: W external/org_tensorflow/tensorflow/compiler/xla/stream_executor/gpu/asm_compiler.cc:109] Couldn't get ptxas version : FAILED_PRECONDITION: Couldn't get ptxas version string: INTERNAL: Couldn't invoke ptxas --version
2023-01-21 20:02:01.083637: F external/org_tensorflow/tensorflow/compiler/xla/service/gpu/nvptx_compiler.cc:451] ptxas returned an error during compilation of ptx to sass: 'INTERNAL: Failed to launch ptxas'  If the error message indicates that a file could not be written, please verify that sufficient filesystem space is provided.
Fatal Python error: Aborted

Thread 0x00007f2d4d015740 (most recent call first):
  File "/mnt/infonas/data/prateekch/penv/lib/python3.8/site-packages/jax/_src/dispatch.py", line 1014 in backend_compile
  File "/mnt/infonas/data/prateekch/penv/lib/python3.8/site-packages/jax/_src/profiler.py", line 314 in wrapper
  File "/mnt/infonas/data/prateekch/penv/lib/python3.8/site-packages/jax/_src/dispatch.py", line 1079 in compile_or_get_cached
  File "/mnt/infonas/data/prateekch/penv/lib/python3.8/site-packages/jax/interpreters/pxla.py", line 3439 in from_hlo
  File "/mnt/infonas/data/prateekch/penv/lib/python3.8/site-packages/jax/interpreters/pxla.py", line 3170 in _compile_unloaded
  File "/mnt/infonas/data/prateekch/penv/lib/python3.8/site-packages/jax/interpreters/pxla.py", line 3202 in compile
  File "/mnt/infonas/data/prateekch/penv/lib/python3.8/site-packages/jax/_src/dispatch.py", line 359 in _xla_callable_uncached
  File "/mnt/infonas/data/prateekch/penv/lib/python3.8/site-packages/jax/_src/dispatch.py", line 202 in xla_primitive_callable
  File "/mnt/infonas/data/prateekch/penv/lib/python3.8/site-packages/jax/_src/util.py", line 247 in cached
  File "/mnt/infonas/data/prateekch/penv/lib/python3.8/site-packages/jax/_src/util.py", line 254 in wrapper
  File "/mnt/infonas/data/prateekch/penv/lib/python3.8/site-packages/jax/_src/dispatch.py", line 118 in apply_primitive
  File "/mnt/infonas/data/prateekch/penv/lib/python3.8/site-packages/jax/core.py", line 712 in process_primitive
  File "/mnt/infonas/data/prateekch/penv/lib/python3.8/site-packages/jax/core.py", line 332 in bind_with_trace
  File "/mnt/infonas/data/prateekch/penv/lib/python3.8/site-packages/jax/core.py", line 329 in bind
  File "/mnt/infonas/data/prateekch/penv/lib/python3.8/site-packages/jax/_src/lax/lax.py", line 509 in shift_right_logical
  File "/mnt/infonas/data/prateekch/penv/lib/python3.8/site-packages/jax/_src/prng.py", line 827 in threefry_seed
  File "/mnt/infonas/data/prateekch/penv/lib/python3.8/site-packages/jax/_src/prng.py", line 592 in random_seed_impl_base
  File "/mnt/infonas/data/prateekch/penv/lib/python3.8/site-packages/jax/_src/prng.py", line 587 in random_seed_impl
  File "/mnt/infonas/data/prateekch/penv/lib/python3.8/site-packages/jax/core.py", line 712 in process_primitive
  File "/mnt/infonas/data/prateekch/penv/lib/python3.8/site-packages/jax/core.py", line 332 in bind_with_trace
  File "/mnt/infonas/data/prateekch/penv/lib/python3.8/site-packages/jax/core.py", line 329 in bind
  File "/mnt/infonas/data/prateekch/penv/lib/python3.8/site-packages/jax/_src/prng.py", line 575 in random_seed
  File "/mnt/infonas/data/prateekch/penv/lib/python3.8/site-packages/jax/_src/prng.py", line 267 in seed_with_impl
  File "/mnt/infonas/data/prateekch/penv/lib/python3.8/site-packages/jax/_src/random.py", line 133 in PRNGKey
  File "/mnt/infonas/data/prateekch/clrs/clrs/examples/run.py", line 379 in main
  File "/mnt/infonas/data/prateekch/penv/lib/python3.8/site-packages/absl/app.py", line 254 in _run_main
  File "/mnt/infonas/data/prateekch/penv/lib/python3.8/site-packages/absl/app.py", line 308 in run
  File "/mnt/infonas/data/prateekch/clrs/clrs/examples/run.py", line 537 in <module>
  File "/usr/lib/python3.8/runpy.py", line 87 in _run_code
  File "/usr/lib/python3.8/runpy.py", line 194 in _run_module_as_main
Aborted (core dumped)

Sorry that the package sometimes doesn't work on GPU out-of-the-box. You need to make sure that JAX is installed in cuda-compatible version. Maybe try the following steps:
python3 -m venv clrs_env
source clrs_env/bin/activate
pip install --upgrade pip
pip install --upgrade "jax[cuda]" -f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html
pip install git+https://github.com/deepmind/clrs.git

If the jax[cuda] install is successful, you should be able to run
import jax
print(jax.local_devices())

in a python interpreter and see your GPU listed among the devices.
The JAX installation guide has good pointers to potential problems with the JAX installation on GPU. One thing to keep in mind is that JAX expects the CUDA installation to be at /usr/local/cuda-X.X .  If the CUDA libraries are somewhere else, try creating a symlink
sudo ln -s /path/to/cuda /usr/local/cuda-X.X

According to this, jax/jaxlib >= 0.4.3 seems to be incompatible with CuDNN 8.6. It would seem you have to use jax/jaxlib 0.4.2 or CuDNN 8.8, give it a try.

Good Evening,
Thank you for the help, that seems to have got the benchmark code started with GPU support but I am now seeing this error: jax._src.traceback_util.UnfilteredStackTrace: TypeError: Subscripted generics cannot be used with class and instance checks.
From google I think this is to do with Python 3.9 and above. I don't see anything related in the JAX GitHub Issues. Is there a recommended version of Python for the CLRS code or do you think there is another cause?
Thanks,
Sean
2023-02-23 19:07:41.985101: W tensorflow/compiler/xla/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libnvinfer.so.7'; dlerror: libnvinfer.so.7: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /local/java/cuda-11.6.0/lib64/:/local/java/cudnn-linux-x86_64-<IP_ADDRESS>_cuda11-archive/lib/
2023-02-23 19:07:41.985869: W tensorflow/compiler/xla/stream_executor/platform/default/dso_loader.cc:64] Could not load dynamic library 'libnvinfer_plugin.so.7'; dlerror: libnvinfer_plugin.so.7: cannot open shared object file: No such file or directory; LD_LIBRARY_PATH: /local/java/cuda-11.6.0/lib64/:/local/java/cudnn-linux-x86_64-<IP_ADDRESS>_cuda11-archive/lib/
2023-02-23 19:07:41.985881: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Cannot dlopen some TensorRT libraries. If you would like to use Nvidia GPU with TensorRT, please make sure the missing libraries mentioned above are installed properly.
I0223 19:07:49.846865<PHONE_NUMBER>51008 xla_bridge.py:355] Unable to initialize backend 'tpu_driver': NOT_FOUND: Unable to find driver in registry given worker:
I0223 19:07:49.906153<PHONE_NUMBER>51008 xla_bridge.py:355] Unable to initialize backend 'rocm': NOT_FOUND: Could not find registered platform with name: "rocm". Available platform names are: Host Interpreter CUDA
I0223 19:07:49.906481<PHONE_NUMBER>51008 xla_bridge.py:355] Unable to initialize backend 'tpu': module 'jaxlib.xla_extension' has no attribute 'get_tpu_client'
I0223 19:07:49.906545<PHONE_NUMBER>51008 xla_bridge.py:355] Unable to initialize backend 'plugin': xla_extension has no attributes named get_plugin_device_client. Compile TensorFlow with //tensorflow/compiler/xla/python:enable_plugin_device set to true (defaults to false) to enable this.
I0223 19:07:55.778950<PHONE_NUMBER>51008 run.py:299] Creating samplers for algo bfs
W0223 19:07:55.779258<PHONE_NUMBER>51008 samplers.py:277] Ignoring kwargs {'length_needle'} when building sampler class <class 'clrs._src.samplers.BfsSampler'>
W0223 19:07:55.779516<PHONE_NUMBER>51008 samplers.py:100] Sampling dataset on-the-fly, unlimited samples.
W0223 19:07:56.005018<PHONE_NUMBER>51008 samplers.py:277] Ignoring kwargs {'length_needle'} when building sampler class <class 'clrs._src.samplers.BfsSampler'>
W0223 19:07:56.005211<PHONE_NUMBER>51008 samplers.py:100] Sampling dataset on-the-fly, unlimited samples.
W0223 19:07:56.241070<PHONE_NUMBER>51008 samplers.py:277] Ignoring kwargs {'length_needle'} when building sampler class <class 'clrs._src.samplers.BfsSampler'>
W0223 19:07:56.241253<PHONE_NUMBER>51008 samplers.py:100] Sampling dataset on-the-fly, unlimited samples.
W0223 19:07:56.525957<PHONE_NUMBER>51008 samplers.py:277] Ignoring kwargs {'length_needle'} when building sampler class <class 'clrs._src.samplers.BfsSampler'>
W0223 19:07:56.526148<PHONE_NUMBER>51008 samplers.py:100] Sampling dataset on-the-fly, unlimited samples.
W0223 19:07:56.848360<PHONE_NUMBER>51008 samplers.py:277] Ignoring kwargs {'length_needle'} when building sampler class <class 'clrs._src.samplers.BfsSampler'>
W0223 19:07:56.848542<PHONE_NUMBER>51008 samplers.py:100] Sampling dataset on-the-fly, unlimited samples.
W0223 19:07:57.231205<PHONE_NUMBER>51008 samplers.py:277] Ignoring kwargs {'length_needle'} when building sampler class <class 'clrs._src.samplers.BfsSampler'>
I0223 19:07:57.231393<PHONE_NUMBER>51008 samplers.py:112] Creating a dataset with 64 samples.
I0223 19:07:57.256827<PHONE_NUMBER>51008 run.py:158] Dataset not found in /tmp/CLRS30/CLRS30_v1.0.0. Downloading...
I0223 19:08:11.790027<PHONE_NUMBER>51008 dataset_info.py:482] Load dataset info from /tmp/CLRS30/CLRS30_v1.0.0/clrs_dataset/bfs_test/1.0.0
I0223 19:08:11.791674<PHONE_NUMBER>51008 dataset_info.py:482] Load dataset info from /tmp/CLRS30/CLRS30_v1.0.0/clrs_dataset/bfs_test/1.0.0
I0223 19:08:11.792154<PHONE_NUMBER>51008 dataset_builder.py:366] Reusing dataset clrs_dataset (/tmp/CLRS30/CLRS30_v1.0.0/clrs_dataset/bfs_test/1.0.0)
I0223 19:08:11.792221<PHONE_NUMBER>51008 logging_logger.py:44] Constructing tf.data.Dataset clrs_dataset for split test, from /tmp/CLRS30/CLRS30_v1.0.0/clrs_dataset/bfs_test/1.0.0
WARNING:tensorflow:From /dcs/large/user/deep-thinking/clrs_env/lib64/python3.9/site-packages/tensorflow/python/autograph/pyct/static_analysis/liveness.py:83: Analyzer.lamba_check (from tensorflow.python.autograph.pyct.static_analysis.liveness) is deprecated and will be removed after 2023-09-23.
Instructions for updating:
Lambda fuctions will be no more assumed to be used in the statement where they are used, or at least in the same block. https://github.com/tensorflow/tensorflow/issues/56089
W0223 19:08:11.990011<PHONE_NUMBER>51008 deprecation.py:350] From /dcs/large/user/deep-thinking/clrs_env/lib64/python3.9/site-packages/tensorflow/python/autograph/pyct/static_analysis/liveness.py:83: Analyzer.lamba_check (from tensorflow.python.autograph.pyct.static_analysis.liveness) is deprecated and will be removed after 2023-09-23.
Instructions for updating:
Lambda fuctions will be no more assumed to be used in the statement where they are used, or at least in the same block. https://github.com/tensorflow/tensorflow/issues/56089
Traceback (most recent call last):
  File "/dcs/large/user/deep-thinking/clrs_env/lib64/python3.9/site-packages/clrs/examples/run.py", line 537, in <module>
    app.run(main)
  File "/dcs/large/user/deep-thinking/clrs_env/lib64/python3.9/site-packages/absl/app.py", line 308, in run
    _run_main(main, args)
  File "/dcs/large/user/deep-thinking/clrs_env/lib64/python3.9/site-packages/absl/app.py", line 254, in _run_main
    sys.exit(main(argv))
  File "/dcs/large/user/deep-thinking/clrs_env/lib64/python3.9/site-packages/clrs/examples/run.py", line 464, in main
    cur_loss = train_model.feedback(rng_key, feedback, length_and_algo_idx)
  File "/dcs/large/user/deep-thinking/clrs_env/lib64/python3.9/site-packages/clrs/_src/baselines.py", line 370, in feedback
    loss, self._device_params, self._device_opt_state = self.jitted_feedback(
  File "/dcs/large/user/deep-thinking/clrs_env/lib64/python3.9/site-packages/jax/_src/traceback_util.py", line 162, in reraise_with_filtered_traceback
    return fun(*args, **kwargs)
  File "/dcs/large/user/deep-thinking/clrs_env/lib64/python3.9/site-packages/jax/_src/api.py", line 564, in cache_miss
    execute = dispatch._xla_call_impl_lazy(fun_, *tracers, **params)
  File "/dcs/large/user/deep-thinking/clrs_env/lib64/python3.9/site-packages/jax/_src/dispatch.py", line 241, in _xla_call_impl_lazy
    return xla_callable(fun, device, backend, name, donated_invars, keep_unused,
  File "/dcs/large/user/deep-thinking/clrs_env/lib64/python3.9/site-packages/jax/_src/linear_util.py", line 301, in memoized_fun
    ans = call(fun, *args)
  File "/dcs/large/user/deep-thinking/clrs_env/lib64/python3.9/site-packages/jax/_src/dispatch.py", line 357, in _xla_callable_uncached
    computation = sharded_lowering(fun, device, backend, name, donated_invars,
  File "/dcs/large/user/deep-thinking/clrs_env/lib64/python3.9/site-packages/jax/_src/dispatch.py", line 348, in sharded_lowering
    return pxla.lower_sharding_computation(
  File "/dcs/large/user/deep-thinking/clrs_env/lib64/python3.9/site-packages/jax/_src/profiler.py", line 314, in wrapper
    return func(*args, **kwargs)
  File "/dcs/large/user/deep-thinking/clrs_env/lib64/python3.9/site-packages/jax/interpreters/pxla.py", line 2790, in lower_sharding_computation
    jaxpr, global_out_avals, consts = pe.trace_to_jaxpr_final(
  File "/dcs/large/user/deep-thinking/clrs_env/lib64/python3.9/site-packages/jax/_src/profiler.py", line 314, in wrapper
    return func(*args, **kwargs)
  File "/dcs/large/user/deep-thinking/clrs_env/lib64/python3.9/site-packages/jax/interpreters/partial_eval.py", line 2073, in trace_to_jaxpr_final
    jaxpr, out_avals, consts = trace_to_subjaxpr_dynamic(
  File "/dcs/large/user/deep-thinking/clrs_env/lib64/python3.9/site-packages/jax/interpreters/partial_eval.py", line 2006, in trace_to_subjaxpr_dynamic
    ans = fun.call_wrapped(*in_tracers_)
  File "/dcs/large/user/deep-thinking/clrs_env/lib64/python3.9/site-packages/jax/_src/linear_util.py", line 165, in call_wrapped
    ans = self.f(*args, **dict(self.params, **kwargs))
  File "/dcs/large/user/deep-thinking/clrs_env/lib64/python3.9/site-packages/clrs/_src/baselines.py", line 318, in _feedback
    params, opt_state = self._update_params(params, grads, opt_state,
  File "/dcs/large/user/deep-thinking/clrs_env/lib64/python3.9/site-packages/clrs/_src/baselines.py", line 428, in _update_params
    updates, opt_state = filter_null_grads(
  File "/dcs/large/user/deep-thinking/clrs_env/lib64/python3.9/site-packages/clrs/_src/baselines.py", line 769, in filter_null_grads
    flat_opt_state = jax.tree_util.tree_map(
  File "/dcs/large/user/deep-thinking/clrs_env/lib64/python3.9/site-packages/jax/_src/tree_util.py", line 207, in tree_map
    return treedef.unflatten(f(*xs) for xs in zip(*all_leaves))
  File "/dcs/large/user/deep-thinking/clrs_env/lib64/python3.9/site-packages/jax/_src/tree_util.py", line 207, in <genexpr>
    return treedef.unflatten(f(*xs) for xs in zip(*all_leaves))
  File "/dcs/large/user/deep-thinking/clrs_env/lib64/python3.9/site-packages/clrs/_src/baselines.py", line 771, in <lambda>
    if not isinstance(x, _Array) else x, opt_state_skeleton, opt_state)
  File "/usr/lib64/python3.9/typing.py", line 720, in __instancecheck__
    return self.__subclasscheck__(type(obj))
  File "/usr/lib64/python3.9/typing.py", line 723, in __subclasscheck__
    raise TypeError("Subscripted generics cannot be used with"
jax._src.traceback_util.UnfilteredStackTrace: TypeError: Subscripted generics cannot be used with class and instance checks

The stack trace below excludes JAX-internal frames.
The preceding is the original exception that occurred, unmodified.

--------------------

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/lib64/python3.9/runpy.py", line 197, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib64/python3.9/runpy.py", line 87, in _run_code
    exec(code, run_globals)
  File "/dcs/large/user/deep-thinking/clrs_env/lib64/python3.9/site-packages/clrs/examples/run.py", line 537, in <module>
    app.run(main)
  File "/dcs/large/user/deep-thinking/clrs_env/lib64/python3.9/site-packages/absl/app.py", line 308, in run
    _run_main(main, args)
  File "/dcs/large/user/deep-thinking/clrs_env/lib64/python3.9/site-packages/absl/app.py", line 254, in _run_main
    sys.exit(main(argv))
  File "/dcs/large/user/deep-thinking/clrs_env/lib64/python3.9/site-packages/clrs/examples/run.py", line 464, in main
    cur_loss = train_model.feedback(rng_key, feedback, length_and_algo_idx)
  File "/dcs/large/user/deep-thinking/clrs_env/lib64/python3.9/site-packages/clrs/_src/baselines.py", line 370, in feedback
    loss, self._device_params, self._device_opt_state = self.jitted_feedback(
  File "/dcs/large/user/deep-thinking/clrs_env/lib64/python3.9/site-packages/clrs/_src/baselines.py", line 318, in _feedback
    params, opt_state = self._update_params(params, grads, opt_state,
  File "/dcs/large/user/deep-thinking/clrs_env/lib64/python3.9/site-packages/clrs/_src/baselines.py", line 428, in _update_params
    updates, opt_state = filter_null_grads(
  File "/dcs/large/user/deep-thinking/clrs_env/lib64/python3.9/site-packages/clrs/_src/baselines.py", line 769, in filter_null_grads
    flat_opt_state = jax.tree_util.tree_map(
  File "/dcs/large/user/deep-thinking/clrs_env/lib64/python3.9/site-packages/clrs/_src/baselines.py", line 771, in <lambda>
    if not isinstance(x, _Array) else x, opt_state_skeleton, opt_state)
  File "/usr/lib64/python3.9/typing.py", line 720, in __instancecheck__
    return self.__subclasscheck__(type(obj))
  File "/usr/lib64/python3.9/typing.py", line 723, in __subclasscheck__
    raise TypeError("Subscripted generics cannot be used with"
TypeError: Subscripted generics cannot be used with class and instance checks

@mcleish7 it should be fixed in https://github.com/deepmind/clrs/commit/2b37ff3f6d56b2e2e43806b7c5635282e888f505

@hbq1 @bibarzgoogle Thank you for your help, it is now working.


Release Server 0.24.0, PDS 0.21.0

see: https://github.com/Daimler/sechub/projects/1

Server 0.24.0 and PDS 0.21.0 released.


In the code, which function is the Region-Focusing Module, not found?

Hi @flamefangz , you can refer to make (imported by keypoint_detector) in this repo for our implementation of Region-Focusing Module with Eq (4), (5) and (6) in this paper.


Maintain correct read states after integrity check

Previously, we were swapping the current and pending read states
(after applying the delta and reverse delta, respectively),
possibly for efficiency. However, this is not the correct
thing to do, since the two read states may not have the same
times. One scenario is when the current read state came via
a producer restore, while the second one has new types.
Instead, apply the delta back onto the pending state, and
apply the reverse delta back onto the current state.

I see a separate but related but in #425 - will fix in a separate change.


ValueError: total size of new array must be unchanged

Hi Nathan,
I'm trying to get the minimal actions branch working with a fresh pull? I've done a fresh install of ALE with the patch, as well?
Its weird as now neither master, or the minimal actions branch are working? Maybe if you have a few mins spare?
I'm guessing its a problem with the ALE patch, as everything was good till I rebuilt ALE fresh with it?
I get.
/usr/bin/python2.7 /home/ajay/PythonProjects/deep_q_rl-minimal_actions/deep_q_rl/ale_run.py
RL-Glue Version 3.04, Build 909
A.L.E: Arcade Learning Environment (version 0.4)
[Powered by Stella]
Use -help for help screen.
Warning: couldn't load settings file: ./stellarc
Game console created:
ROM file:  /home/ajay/ale_0_4/roms/pong.bin
Cart Name: Video Olympics (1978) (Atari)
Cart MD5:  60e0ea3cbe0913d39803477945e9e5ec
Display Format:  AUTO-DETECT ==> NTSC
ROM Size:        2048
Bankswitch Type: AUTO-DETECT ==> 2K
Running ROM file...
Random Seed: Time
Game will be controlled through RL-Glue.
RL-Glue Python Experiment Codec Version: 2.02 (Build 738)
Connecting to <IP_ADDRESS> on port 4096...
Initializing ALE RL-Glue ...
Using gpu device 0: GeForce GTX 570
RL-Glue Python Agent Codec Version: 2.02 (Build 738)
Connecting to <IP_ADDRESS> on port 4096...
Agent Codec Connected
(32, 4, 80, 80)
(4, 80, 80, 32)
(16, 19.0, 19.0, 32)
(32, 9.0, 9.0, 32)
(32, 32, 9.0, 9.0)
(32, 256)
(32, 18)
/home/ajay/bin/Theano-master/theano/gof/cmodule.py:289: RuntimeWarning: numpy.ndarray size changed, may indicate binary incompatibility
rval = import(module_name, {}, {}, [module_name])
OPENING  _01-28-04-27_0p0001_0p9/results.csv
training epoch:  1 steps_left:  50000
Traceback (most recent call last):
File "./rl_glue_ale_agent.py", line 430, in
main()
File "./rl_glue_ale_agent.py", line 426, in main
AgentLoader.loadAgent(NeuralAgent())
File "/usr/local/lib/python2.7/dist-packages/rlglue/agent/AgentLoader.py", line 58, in loadAgent
client.runAgentEventLoop()
File "/usr/local/lib/python2.7/dist-packages/rlglue/agent/ClientAgent.py", line 144, in runAgentEventLoop
switchagentState
File "/usr/local/lib/python2.7/dist-packages/rlglue/agent/ClientAgent.py", line 138, in
Network.kAgentStart: lambda self: self.onAgentStart(),
File "/usr/local/lib/python2.7/dist-packages/rlglue/agent/ClientAgent.py", line 51, in onAgentStart
action = self.agent.agent_start(observation)
File "./rl_glue_ale_agent.py", line 245, in agent_start
self.last_img = np.array(self._resize_observation(observation.intArray))
File "./rl_glue_ale_agent.py", line 263, in _resize_observation
img = observation.reshape(IMG_WIDTH, IMG_HEIGHT)
ValueError: total size of new array must be unchanged
Segmentation fault (core dumped)
training epoch:  1 steps_left:  49995
training epoch:  1 steps_left:  49993
training epoch:  1 steps_left:  49991

YES IT'S WORKING NOW !!!
With the output layer showing 6 neurons - great stuff :))) Will let you know how it goes :)
Tried in on another machine, I probably made  mistake rebuilding ALE?
(32, 9.0, 9.0, 32)
(32, 32, 9.0, 9.0)
(32, 256)
(32, 6)
/home/ajay/bin/Theano-master/theano/gof/cmodule.py:289: RuntimeWarning: numpy.ndarray size changed, may indicate binary incompatibility
rval = import(module_name, {}, {}, [module_name])
OPENING  _01-28-04-53_0p0001_0p9/results.csv
training epoch:  1 steps_left:  50000
Simulated at a rate of 51.6674622406/s
Average loss: 0.112534131997
training epoch:  1 steps_left:  49175


Be more explicit when initializing variables

Personal preference to be explicit about variable initialization then to leave it uninitialized.

This code wasn't meant to live long, but thanks!


Bump python version to 3.9 in GH Action CI

Close #162

@goneall, this is ready for your review. It took me a little troubleshooting.


CurrPage.Caption('My Page Caption') does not work in extension.

I have some code that works when run from C/SIDE type development, but after converting the code to AL to run as Extension V2, the caption of my page does not get changed.
I have some other pages where dynamically setting the caption works and it appears to me that I'm doing the same thing, although there are some differences between the pages (such as using a temporary table as the source).
To provide more details of the code that does not work properly, I have an activities page that shows Cues that could represent different things depending on user configuration. When I click the drill down on the Cue, it sets the caption of the drill down page and the temporary table records to display and then runs the page.
**Cue1Count - OnDrillDown()**
CLEAR(MyDetails);
MyDetails.SetRecordsToShowAndCaption(TempCue1Records,Cue1CaptionText);
MyDetails.SetApproverControlIsVisible(TRUE);
MyDetails.SetOwnerControlIsVisible(TRUE);
MyDetails.RUN;

The MyDetails page type is List. SourceTableTemporary is true.
I have messaged the CurrPage.Caption property in the OnOpenPage and it is set to the correct value, it is just not displayed on the page.
As I said, the same code when written in C/SIDE works correctly but when written in AL and deployed as an extension it does not.

Hi @DavidRoys . This should be fixed on the latest developer preview. If you would like this to be ported to On Prem please follow the traditional channels to request a hotfix.

@DavidRoys please tell us if you are still experiencing this issue. I'm closing it


Implement trace event filters

What does this PR do?
Fixes #87
Before submitting

[X] Was this discussed/approved via a Github issue? (no need for typos, doc improvements)

[ ] N/A

[X] Did you write any new necessary tests?

[ ] N/A

[] Did you make sure to update the docs?

[X] N/A

[X] Did you update the changelog?

[ ] N/A

Codecov Report
Attention: 49 lines in your changes are missing coverage. Please review.

Comparison is base (c1235b4) 91.35% compared to head (28e1cc9) 90.26%.
Report is 5 commits behind head on main.

Files
Patch %
Lines

hta/common/trace_filter.py
80.16%
24 Missing :warning:

hta/common/trace_stack_filter.py
91.30%
8 Missing :warning:

hta/utils/checker.py
46.66%
8 Missing :warning:

hta/analyzers/cuda_kernel_analysis.py
93.33%
2 Missing :warning:

hta/common/types.py
87.50%
2 Missing :warning:

tests/test_critical_path_analysis.py
98.23%
2 Missing :warning:

hta/common/trace_call_graph.py
90.90%
1 Missing :warning:

hta/common/trace_df.py
94.73%
1 Missing :warning:

tests/test_cupti_profiler.py
96.00%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #95      +/-   ##
==========================================
- Coverage   91.35%   90.26%   -1.09%
==========================================
  Files          38       48      +10
  Lines        3619     4118     +499
==========================================
+ Hits         3306     3717     +411
- Misses        313      401      +88

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

This PR was merged into 88 timeline.


Feature Request: Ability to specify -n headers to skip

Would like to be able to specify how many rows to skip before performing a task, for situations where an export I am editing has more than 1 header.

I believe you can currently do this via multiple uses of the behead subcommand. If you want to remove one header, then use
behead input.csv > output.csv

If you want to remove two headers, then
behead input.csv | behead > output.csv

etc.
We can add a -n flag to the behead subcommand though to provide a shorthand for doing the chained piping. With this, in order to remove N headers, you would use
behead -n N input.csv > output.csv

Would that be a good solution?

Yes that sounds like a great solution :)


Move profile resolving to pty service

Fixes #122534
Fixes #123188
Fixes #121760
Related microsoft/vscode-python#16175

TODO:

[ ] Test env.shell
[ ] Clean up/todos
[ ] Resync main

Think this was accidentally added? extensions/git/resources/icons/git.png


DO NOT MERGE:  Testing Jenkins builds

DO NOT MERGE.  Just trying out a Jenkins smoke test on 1.2 branch.

test this please

BUILD on-core #908 : FAILURE

** BUILD build-config-setup  #136735: SUCCESS

** BUILD unit-tests  #9868: SUCCESS

** BUILD smoke-test  #3657: FAILURE

** BUILD on-taskgraph #1663: SUCCESS

** BUILD build-config-setup  #136736: SUCCESS
** BUILD unit-tests  #9869: SUCCESS

** BUILD on-http #2745: SUCCESS

** BUILD build-config-setup  #136738: SUCCESS
** BUILD unit-tests  #9870: SUCCESS

** BUILD on-dhcp-proxy #990: SUCCESS

** BUILD build-config-setup  #136741: SUCCESS
** BUILD unit-tests  #9872: SUCCESS

** BUILD on-tasks #1711: SUCCESS

** BUILD build-config-setup  #136743: SUCCESS
** BUILD unit-tests  #9874: SUCCESS

** BUILD on-tftp #775: SUCCESS

** BUILD build-config-setup  #136745: SUCCESS
** BUILD unit-tests  #9875: SUCCESS

** BUILD on-syslog #707: SUCCESS

** BUILD build-config-setup  #136746: SUCCESS
** BUILD unit-tests  #9876: SUCCESS

@johren : are you OK to close this PR since https://github.com/RackHD/on-core/pull/223 has been merged?


[BUG] "Present" is not translated in Preview and on PDF

Describe the bug
I wanted to create a CV in Polish. When I have it open in the editor, I can see "Present" translated properly as "Obecnie". When I check it via Link or download a PDF, it shows "Present" in English.
Product Flavor
Managed (https://rxresu.me)
To Reproduce

Switch language to Polish.
Create a random CV with at least one entry in "Work experience" as "Present" (without the end date). In the editor, it will be shown as "Obecnie" which is an expected result.
Open a link to CV or create a PDF. It will include untranslated term.

Expected behavior
You will see the untranslated term "Present" instead of translated "Obecnie".
Screenshots

Desktop (please complete the following information):

OS: openSUSE Tumbleweed x64
Browser: Mozilla Firefox
Version 111.0.1

Additional context
Not really much else to say :)

I think this issue is resolved

Not resolved for me (German). It looks correct on the website, but a PDF download shows as "Present" again (instead of the German "Heute"). Tested in "Education" ("Bildung") section.

Same issue with Italian dates


Question: Possibility to update a custom field on many objects in a single call

Hello,
We have written a synchronization program that fetches all vms across different cloud providers to Netbox. We are pimping some parts of the code to avoid redundant unnecessary APO calls. Our program updates a "Last Seen" field on all virtual machines, and currently it does it on each machine, by setting property then save.
We would like to know if it is possible to massively update this field with a single call.
Thanks

Works like a charm ! Thank you


Fix submitClusterStateUpdateTask source

Issue #, if available:
Description of changes: Fix submitClusterStateUpdateTask source
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@krishna-ggk can you help review this

@Shams-yang Sorry for the late response. Thanks for the fix and your change has been merged.


.gitignore: Add internal go files

Ignore go.sum and go.mod.  These are metadata files for go and can
be safely ignored.
Signed-off-by: Prarit Bhargava<EMAIL_ADDRESS>

We should be committing these https://github.com/golang/go/wiki/Modules#should-i-commit-my-gosum-file-as-well-as-my-gomod-file

That said, using go mod tidy can be key to avoid committing in things brought in during testing or by mistake.

Oh interesting.  I haven't been committing my go.sum and go.mod files.  I will definitely add that to my list.


Bricking Ledger Stax

Apologies in advance for the vague bug report, I have only replicated this twice, if nobody else can I'm happy to try and narrow it down further / test with different devices / etc. in case it's actually a hardware issue with my specific Ledger / etc.

I have a new Ledger Stax which I was using to set up a NEAR wallet (using mynearwallet)
Twice, using the NEAR app the Ledger got bricked and factory-reset itself.
The observable events were:

I had the NEAR app open on my Ledger
I had the wallet app open in my browser
My Ledger was unlocked, connected and the UI was showing me my wallet
The Ledger locked itself (timeout as expected)
I took an action in the UI that would create a transaction and prompt the connected Ledger for a signature
The Ledger went from a locked state to showing the PIN entry UI

At this point, the UI on the Ledger was unresponsive, and after a minute or so the Ledger reset itself back to the setup screen (factory reset)
Relevant versions:

Ledger Stax OS version 1.5.0
NEAR Ledger App 2.2.0
Chrome Version 129.0.6668.100 (Official Build) (arm64)
MacOS Sequoia 15.0.1 (MacBook Pro M3 Max)

Ledger Live was also installed and running at the time (I think)
Disclaimers:

I haven't tried on more than one Ledger Stax, so I can't be sure this isn't a hardware fault
I also haven't done a lot of other transactions yet with that Ledger so I can't be absolutely positive that it's specific to the NEAR app and not a Ledger bug... but I have done some with both Ethereum and Solana apps, and the Ledger has only bricked itself twice, both times with the NEAR app open and when I'm trying to sign a NEAR transaction so I think it's related

Thank you for reporting it. I don't have the device to test it on. I will forward it to the Ledger team, so maybe they can help us here. There are 4 layers where it may break in my opinion: Ledger hardware, Ledger OS, Ledger Rust SDK, NEAR app.


Some Toolbar icons are not centered

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.72.0
OS Version: 12.5.1

These two icons are not centered in the toolbar. This occurs everywhere:

Here's the basic problem. Codicons are built on an even pixel grid, which makes things challenging when you introduce elements that are supposed to sit directly in the middle.
Current icon, offset by design to account for this:

Here's how this looks if the container is perfectly even—you can't center the divider

I may consider changing this icon anyway, but wanted to share the immediate challenge that I saw.

Every time I mistake padding and then arrive at this problem :) damn evens :))

Tracking in #243


Fix typos.

Hey @waywardmonkeys I'll merge this PR, but if you'd like to merge your own PRs after review, let us know and someone will give you write permission.

Hey @waywardmonkeys I'll merge this PR, but if you'd like to merge your own PRs after review, let us know and someone will give you write permission.

I think I have it already!

https://github.com/crate-ci/typos would have also caught all of these! I'll create another PR with further typo fixes and a CI job for it.

https://github.com/crate-ci/typos would have also caught all of these (maybe it was used to find them?). I'll create another PR with further typo fixes and a CI job for it.

Yeah, that was how I found them this time and I figured the next step was to resolve anything else and then do the CI step. You're welcome to though if you want! :)

edit: Hm, actually the only other thing it finds is "seeked" which is not an actual word but I'm not sure whether to set it to ignore, or whether it should be changed..

Yes ... I kind of like the idea of using "Sought" there. But that's why I left it for another step.


Add User Agent to Azure Identity

API change check
API changes are not detected in this pull request.


Bump libpak 1.57.0

Summary

Use Cases

Checklist

[ ] I have viewed, signed, and submitted the Contributor License Agreement.
[ ] I have linked issue(s) that this PR should close using keywords or the Github UI (See docs)
[ ] I have added an integration test, if necessary.
[ ] I have reviewed the styleguide for guidance on my code quality.
[ ] I'm happy with the commit history on this PR (I have rebased/squashed as needed).

Dependabot got this one.


Switching to Arabic - RTL/LTR layout issues

There are a few issues when switching to Arabic and then switching provinces. Tested on Staging V1.70.0 in iPhone XS. Steps to reproduce:

In BC version of the app, switch from English to Arabic using the side drawer
In Arabic, notice that the content is still in LTR and not RTL <- this is a problem
Switch back to English. It looks fine.
Close the app and re-open it.
The app is now showing in English in BC but in RTL. <- this is a problem
Switch provinces to Manitoba
The app shows in English in MB but in RTL. Note that also the MB Start logo doesn't show on the MB Start card and instead it is the icon with the woman and the speech bubble?!?! <- this is a problem

See video:
https://images.zenhubusercontent.com/99282566/8fbb3cd6-2b5b-4db2-aa9c-9c6805280560/rpreplay_final1625262079_mp4.mp4
Acceptance Criteria

[ ] Switching to Arabic shows the app in RTL
[ ] When closing the app and reopening in non-Arabic language, the non-Arabic language renders properly (LTR)
[ ] Switching from Arabic (BC) > English (BC) > English (MB) shows the MB Start card with the MB Start logo (even if you restart the app in between).

Steps for QA:

Closed as duplicate of #1489.


This is a test issue.

This issue will be assigned to user and then the user's access to repository will be removed.

I can still comment on this?


Could apply also take a parsed JSON object as argument

currently apply only takes a string to a url. In my case I want to parse the JSON doc myself so I can update the redux store's state with the doc's info, and then pass on the parsed doc to ol-mapbox-style.

Good idea. Will add that.

@ahocevar in hindsight, maybe exporting processStyle instead buys more flexibility and allows me to achieve the same thing, what do you think?

I still need to think how can I force an update after I update the glStyle structure for a certain layer_id

I think accepting a JSON object in addition to a url string is the way to go. With a few internal changes, you should then simply be able to call apply again to update all layers of the supplied map.

ok I will work on a PR today hopefully


Bug fix

There was a logical error in chapter "nodejs-files\9-exercise-read-write-files" codes.

@microsoft-github-policy-service agree


[DC-110] Updated style on selected filters to have higher contrast

Before

After

Increased contrast, bolded text on select

LGTM - I am assuming the test diff will go away once 2763 is merged

Oh shoot, i didnt notice i didnt create a new branch for this >.< Thanks! Yeah, sorry about that!


Add A/B Testing Capabilities

Notes

Use https://github.com/maccman/abba

The site is currently using Google’s Content Experiments, which allow for full-page testing. Its not as fine-grained control as something like Visual Website Optimizer, or Optimizely, but it is free.
You can view the test pages here:

Original
Updated Hero Heading
Updated Hero Heading & Project Screenshot
Updated Hero Heading & Graph Screenshot
Updated Hero Heading & Client Grouping Screenshot

@bkingbking @davejclausen @hbarrington


Code coverage is not accurate

The karma runner is compacting the src before running code coverage, therefore dead code eliminating anything that isn't used:
https://github.com/developit/preact/blob/9001436a453d736267359538e2d822ccf23e3115/test/karma.conf.js#L124
For example, cloneElement is never tested/imported.  Disable that line and you'll see coverage drop.  Uncovered during https://github.com/developit/preact/pull/683

Ah , good catch.


[NOREF] Skip NDA query if not logged in

NOREF
Changes and Description

Don't query for NDA info if unauthenticated (you'll always get an error if you do!)

How to test this change

Start the app locally
Go to the home page (before logging in)
Open the developer console
Refresh the page
Make sure there's no request to fetch NDA info

PR Author Review Checklist

[ ] Met the ticket's acceptance criteria, or will meet them in a subsequent PR.
[ ] Added or updated tests for backend resolvers or other functions as needed.
[ ] Added or updated client tests for new components, parent components, functions, or e2e tests as necessary.
[ ] Updated the Postman Collection if necessary.

PR Reviewer Guidelines

It's best to pull the branch locally and test it, rather than just looking at the code online!
Check that all code is adequately covered by tests - if it isn't feel free to suggest the addition of tests.
Always make comments, even if it's minor, or if you don't understand why something was done.

@garyjzhao, I pushed one more change as well here. In addition to not calling the query before you are logged in, it will give an unauthorized error if you try to call it without having any job code.


guard against None in pytorch get_xla_supported_devices

What does this PR do?
Guard against None when checking if TPU's are available. This happens (e.g.) if you use google's standard deep learning containers on CPU only machines.
Fixes #9552
Does your PR introduce any breaking changes? If yes, please list them.
None
Before submitting

[x] Was this discussed/approved via a GitHub issue? (not for typos and docs)
[x] Did you read the contributor guideline, Pull Request section?
[x] Did you make sure your PR does only one thing, instead of bundling different changes together?
[x] Did you make sure to update the documentation with your changes? (if necessary)
[ ] Did you write any new necessary tests? (not for typos and docs)
[x] Did you verify new and existing tests pass locally with your changes?
[x] Did you list all the breaking changes introduced by this pull request?
[ ] Did you update the CHANGELOG? (not for typos, docs, test updates, or internal minor changes/refactorings)

PR review
Anyone in the community is welcome to review the PR.
Before you start reviewing make sure you have read Review guidelines. In short, see the following bullet-list:

[ ] Is this pull request ready for review? (if not, please submit in draft mode)
[ ] Check that all items from Before submitting are resolved
[ ] Make sure the title is self-explanatory and the description concisely explains the PR
[ ] Add labels and milestones (and optionally projects) to the PR so it can be classified

Did you have fun?
Make sure you had fun coding 🙃

I'm actually not sure how to write a proper test for this. Seems like it would have to pull an XLA container.

I'm actually not sure how to write a proper test for this. Seems like it would have to pull an XLA container.

We have TPU CI tests in place, But for this, we would require to pull an XLA container with no TPUs attached. Could you please add a comment for this in the code?
Do you think "the guard against None and return an empty list" should be added to the XLA's API itself? cc: @JackCaoG

@kaushikb11 so get_xla_supported_devices will never return a empty list, so maybe we can just check if get_xla_supported_devices('TPU') != None

I feel like somebody might change get_xla_supported_devices to return empty lists in the future (i.e. if I were a contributor to that codebase I would feel tempted to do so), so I think checking for None and len() > 0 explicitly is safer. I guess it's also correct to check tpus != None and tpus, but I always forget that empty lists are false in python so that feels a little unexpected.

I could try to change the pt/xla code to return an empty list, but

That will also require me to change a couple other places in pt/xla
This is BC breaking, if there are users/frameworks that explicitly checking for !=None that will also have to change.

so I will prefer to leave the return None if no device found logic

Thanks @ckchow for the contribution! We always look forward to improving our compatibility with TPUs! :)


Alter copy of mock_canvas to unblock moving to flutter_test

Came up as a test failure in https://github.com/flutter/flutter/pull/131631
Since mock_canvas was copied into this repo, the analysis will fail when we try to make it public. This just renames the methods so we can land the change. Once it is part of flutter_test, the copy of recording_canvas and mock_canvas can be removed entirely since it will be public.
The commit in flutter/tests will need to be updated after this for the PR in flutter/flutter to be able to land.
Pre-launch Checklist

[x] I have incremented the package version as appropriate and updated CHANGELOG.md with my changes
[x] I have added/updated relevant documentation
[x] I have run "optimize/organize imports" on all changed files
[x] I have addressed all analyzer warnings as best I could

@GroovinChip

Amazing! Thank you, Kate!


Feature/ellie examples

Description
This PR partially resolves issue # 20
The PR adds ellie example links only to Button, Tooltip and Typography examples, since Icon, Layout, Menu and Space pages are not yet implemented.
Action Items

[x] I have read the CONTRIBUTING doc
[x] This PR is as small as it can be, and only implements on thing (not many)
[x] I have manually tested my feature
[ ] I have written a "good" amount of tests (including visual and unit tests) - Tests not needed

It's live on elm-antd.netlify.app/ :)

Thank you!
One question, if I want to take up an issue and try to solve it, do I need to announce it on the issue page? or should I just start working?

@AliNisarAhmed it's always good to comment on issues you're interested in working on.


Issues with SampleServer_authentication_passkey

Issue 1
The example is missing onConfirmPIN. I copied it over from another example:

bool onConfirmPIN(uint32_t pass_key){
        ESP_LOGI(LOG_TAG, "The passkey YES/NO number:%d", pass_key);
	vTaskDelay(5000);
	return true;
}

Issue 2
After compiling with the change above it works. But after restarting the ESP and disconnecting my phone bluetooth for a while, it refuses to pair again and I have to manually delete the pairing from my phone and enter the key again.
Issue 3
The example has the following:

uint32_t onPassKeyRequest(){
        ESP_LOGI(LOG_TAG, "PassKeyRequest");
	return 123456;
}

Am I right in assuming this is meant to allow me to specify my own passkey? This method is never run however, and the code is always randomly generated.
I modified the example slightly to compile with arduino and a single script. Here's a gist of the complete code I'm using:
https://gist.github.com/JasXSL/1dda802a24b4f6cfe742c222e9958142
I'm compiling with an up to date library from here:
https://github.com/espressif/arduino-esp32

This example is a little bit outdated, thats why is missing onConfirmPIN(),
This method is called when you are requested to input pin on esp32:
uint32_t onPassKeyRequest(){
        ESP_LOGI(LOG_TAG, "PassKeyRequest");
	return 123456;
}

In that callback you need to read digits from attached numeric pad or if you are connecting to peer device with hardcoded pin return it (less likely).
If you want to display pin code on esp32 and input it on peer device then you need to use this callback:
void onPassKeyNotify(uint32_t pass_key){
          ESP_LOGE(LOG_TAG, "The passkey Notify number:%d", pass_key);
          passKey = pass_key;
 }

That clears up 1 & 3. Any idea why #2 might be happening? I don't mind plugging the ESP into my computer and getting the pin for pairing that way, but I'd like the pairing to stick even if the ESP is powered down for a while.

pSecurity->setAuthenticationMode(ESP_LE_AUTH_REQ_SC_ONLY);
change to:
ESP_LE_AUTH_REQ_SC_BOND

Changed it. It successfully reconnects now, but all read/write operations time out. I'll reset everything and see if that resolves it.

Same issue, after being disconnected a couple of minutes, I can connect to it. But all read/write operations time out. Some further specs if they can be of help:

Item
Value

Boards
Sparkfun ESP32 Thing & NodeMCU

Arduino
Hourly build 2018-08-20

Software
nRF Connect on Android 6

Looks like it might have been an issue with my partition tables. Gonna investigate tomorrow and see if I can reproduce it.

Yep, looks like it was an issue with my partition tables. If anyone runs into similar issues:

Overwrote my C:\Users<username>\AppData\Local\Arduino15\packages\esp32\hardware\esp32\1.0.0 data with https://github.com/espressif/arduino-esp32
Set my board in arduino IDE to ESP32 Dev Module.
Set my partition scheme to No OTA to fit the sketch.

I've updated the gist and it seems to be fully functioning now. Thanks!


Notebooks: Images loading from external URLs (using HTTP instead of HTTPS) are failing to load

Refused to load the image '' because it violates the following Content Security Policy directive: "img-src 'self' https: data: blob: vscode-remote-resource:".
Put the following in a text cell (get rid of the spaces):
! [Churn-Index] (http://www.ngdata.com/wp-content/uploads/2016/05/churn.jpg)
Note: if https is used, this is not a problem

Looked into this and it's actually a dupe of #5302. Known issue.


Run options automatically after RunLine is finished

Is your feature request related to a problem? Please describe.

I cannot find a way to cleanly allow the dialogue runner to skip waiting for MarkLineComplete to be called when showing a line that will be responded to by options, short of my current method of caching every line, option and command in the dialogue UI one behind the dialogue runner to do this manually.
Describe the solution you'd like

Option to make dialogue runner to skip waiting for user input if the next line to be displayed will be options
Describe alternatives you've considered

A method to peek the type of the next line to be displayed so this can be done manually.
Additional context

My system has the current line and options buttons displayed side by side (think like the dialogue in zelda botw)

For myriad reasons to do this perfectly is literally impossible I think there is a somewhat decent compromise.
We can in many situations easily tell if the next line after a line is an option, so with the following example:
a: hi there
b: oh hi
-> so what's up?
-> can I help?

We can easily work out that b: oh hi is the last line before options and programmatically tag that line as being the last line before options.
That tag could then be extracted as metadata for you to use.
However if we have:
a: hi there
b: oh hi

<<if $knowsC>>
a: so c, right?
<<endif>>

-> so what's up?
-> can I help?

We can’t know if the last line is b: oh hi or a: so c, right? until AFTER we have sent one of the lines.
As a solution to fix this I think the best approach is to go something like this:
a: hi there
<<if $knowsC>>
b: oh hi
a: so c, right? #lastLine
<<else>>
b: oh hi #lastLine
<<endif>>

-> so what's up?
-> can I help?

Essentially let you as the writer to handle the (almost certainly) infrequent edge cases by explicitly flagging a line as the last one, from the perspective of the metadata this would be the same and the line views would be none the wiser.
Thoughts?

A solution to this (albeit manually instead of automatically) was provided as part of https://github.com/YarnSpinnerTool/YarnSpinner/pull/319 and #146 you can now build this up yourself.
Thanks for filing the issue.


Timeouts for Kahoy execution

Related to https://github.com/slok/kahoy/issues/158
This PR:

[x] Creates timeout manager so that we can handle the execution of apply and delete resources with timeouts.
[x] Tests
[x] Initialize it in apply.go before wrapping the manager around the batch priority manager.

Codecov Report

Merging #168 into master will decrease coverage by 0.70%.
The diff coverage is 50.00%.

@@            Coverage Diff             @@
##           master     #168      +/-   ##
==========================================
- Coverage   75.42%   74.71%   -0.71%
==========================================
  Files          26       27       +1
  Lines        1184     1218      +34
==========================================
+ Hits          893      910      +17
- Misses        216      230      +14
- Partials       75       78       +3

Impacted Files
Coverage Δ

internal/resource/manage/timeout/timeout.go
50.00% <50.00%> (ø)

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 4d23de6...01544bc. Read the comment docs.

@slok this one is up for review ;)

Thanks for the merge request!


Bug with setPaneSizes from useResplitContext

Hello,
I faced a bug when I was trying to specify setPaneSizes from the useResplitContext hook in useEffect.
It throws an error that states "Cannot read properties of undefined (reading 'type')"
You can see an example on the code sandbox here
https://codesandbox.io/p/sandbox/react-resplit-example-r7w6v2?file=%2Fsrc%2FPanes.js%3A13%2C50
I'm assuming it's coming from this line
https://github.com/KenanYusuf/react-resplit/blob/c06b1caf90160e489d13958cc2c01e1c741d271f/lib/Root.tsx#L128C1-L129C1
Could you please take a look and help me with this one?

I see this issue too. @KenanYusuf could you please take a look?

Hey @TopVV @goliney
Thanks for providing a reproduction of your issue here. One issue I have spotted with the example is that you are trying to set the value to a number e.g. 0.1 instead of a string "0.1fr".
There is still an issue, however, where setPaneSizes is being called before the panes have been initiated properly.
I would try to avoid calling setPaneSizes in a useEffect, and set the initial value on the Resplit.Pane itself.
I have added a working example here: https://github.com/KenanYusuf/react-resplit/blob/main/src/examples/Context.tsx#L16-L18

Hey @TopVV @goliney
Thanks for providing a reproduction of your issue here. One issue I have spotted with the example is that you are trying to set the value to a number e.g. 0.1 instead of a string "0.1fr".
There is still an issue, however, where setPaneSizes is being called before the panes have been initiated properly.
I would try to avoid calling setPaneSizes in a useEffect, and set the initial value on the Resplit.Pane itself.
I have added a working example here: https://github.com/KenanYusuf/react-resplit/blob/main/src/examples/Context.tsx#L16-L18

Hey @KenanYusuf ,
Thank you for the reply.
I might add some context here so it will be easier to understand what we are trying to achieve.
We want to imperatively set panel sizes at some point for the component, e.g. they could be changed and received from the BE at the component mount or some point in its existence. Do you reckon we can do that somehow?

@TopVV at the moment, I don't think it is possible in a useEffect that runs on mount because the panes are not registered in time
A couple of options I can think of right now:

Wait for your API response before rendering your resplit layout - this way the initial values can be set declaratively as props.
Continue with your current approach of setting the pane size in a useEffect, but ensure it doesn't run before the resplit panes have been registerd. Although, I can imagine this could be tricky.

I appreciate the options are not ideal. Unfortunately, I do not have time to explore an alternative solutions to registering panes at the moment, but let me know if you have any ideas and I can work at on it at some point in the future, or feel free to submit a PR.


add android course

Add resource(s) | Remove resource(s) | Add info | Improve repo
Added resources.
Why is this valuable (or not)?
This course is valuable for Android Dev in Kotlin.
How do we know it's really free?
It's available on youtube for free.
For book lists, is it a book? For course lists, is it a course? etc.
Checklist:

[x] Read our contributing guidelines.
[x] Search for duplicates.
[x] Include author(s) and platform where appropriate.
[x] Put lists in alphabetical order, correct spacing.
[x] Add needed indications (PDF, access notes, under construction).
[x] Used an informative name for this pull request.

Follow-up

Check the status of GitHub Actions and resolve any reported warnings!

please use separate branches for each PR


290 document creating custom atoms on the site

closes #290
closes https://github.com/objectionary/normalizer/issues/469

PR-Codex overview
This PR introduces changes related to running tests, updating markdown files, adding yq-go package, and refining the Atoms module.
Detailed summary

Added test commands in contributing.md
Updated markdown files in site/docs/src
Included yq-go package in .nix file
Modified Atoms module in eo-phi-normalizer
Adjusted file paths in scripts/update-markdown.sh

The following files were skipped due to too many changes: eo-phi-normalizer/src/Language/EO/Phi/Dataize/Atoms.hs, site/docs/src/normalizer/transform.md, eo-phi-normalizer/src/Language/EO/Phi/Dataize.hs, site/docs/src/normalizer/dataize.md

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@deemp Thank you for your contribution! We appreciate your efforts, but there are some areas for improvement. You've earned +5 points: +20 as a base, -7 for exceeding 200 hits-of-code (1219), -15 for surpassing 800 hits-of-code, and -10 for lack of reviewer comments. We encourage you to focus on smaller, more manageable contributions and engage with reviewers for better code quality. Your current balance is +172. Keep up the good work, and we look forward to your future contributions!

@fizruk Great job on the review! 🎉 You've earned 24 points for this substantial contribution: +15 base points, +30 (capped from +24.38) for reviewing 1219 hits-of-code, -15 for no comments, and -6 to meet the minimum 5-point threshold. Remember, engaging with comments can boost your rewards next time! Your running balance is now +285. Keep up the excellent work! 💪


Need to create a findElement() method for Element objects

As a user of Sentinel, I want a PageElement findElement() method, so that I can take advantage of the built in fluent waits and error handling that PageElements inherently have.

[ ] 1. PageElement needs a default constructor that takes no arguments.
[x] 2. PageElement should be refactored to either WebElement or Element and name conflicts should be resolved.
[ ] 3. PageElement needs a findElement(org.openqa.selenium.By locator) method.
[ ] 4. Should make sure we wrap any other selenium methods, even though we still expose the WebElement for use.
[ ] 5. Should implement a compiler warning when WebElement is exposed.

See also #125


Use quotes not brackets for MBEDTLS_CONFIG_FILE

When using angle brackets for defining MBEDTLS_CONFIG_FILE, the C
compiler replaces linux in x86_64-unknown-linux-gnu with 1,
causing the build to fail because it looks for a file in an
x86_64-unknown-1-gnu directory that doesn't exist. By using quotes
instead we can prevent the replacement.
Fixes #113

bors r+


Isolate state management

The PR cleans up the existing functionality through the following:

Add a service-level interface so servers aren't calling Builder or Agent directly
Create a State module, and move state mutation and accessor logic into it
Remove Loader, as it is replaced by State
Update Builder to mutate reflection state using State instead of directly
Move small util functions out of Builder into Util
Relocate Builder.Util, it is trivially a submodule and not a nested module
Added references into the State struct, it could be useful for debugging
Streamline Builder now that State holds references, merges state, etc
Remove unhandled rescue clauses so that actual errors are exposed while building a reflection state

fixes #17

What about moving bulider.ex to the subfolder bulider too? As they share the same name.

What about moving bulider.ex to the subfolder bulider too? As they share the same name.

Two reasons:

style guide suggests aligning paths and module names, so path/to/module.ex contains defmodule Path.To.Module.  I interpret this as meaning that if Builder was also in a folder named builder, then the module would need to be named Builder.Builder, and I don't want to do that.

When trying to write clean and testable modules, establishing a clean and minimal interface is important, where the exposed functionality is documented, and implementation details are hidden.  Builder isn't very complicated, but when following that pattern the interface should be visible and accessible rather than inside a folder with all the implementation modules that shouldn't need to be read.


refactor _populate_first_tasks_python_name_command_id_map

    def _populate_first_tasks_python_name_command_id_map(self):
        if not self._initial_task_python_names_map:
            for command in dir(self._command_source):
                if command in ["SwitchToSolution", "set_state"]:
                    continue
                command_obj = getattr(self._command_source, command)
                if isinstance(command_obj, PyCommand):
                    command_obj_instance = command_obj.create_instance()
                    if not command_obj_instance.get_attr("requiredInputs"):
                        help_str = command_obj_instance.get_attr(
                            "APIName"
                        ) or command_obj_instance.get_attr("helpString")
                        if help_str:
                            self._initial_task_python_names_map[help_str] = command
                    del command_obj_instance

These classes should also distinguish between getters and setters. The internal state should be updated by setters.

@mkundu1 Thanks. N.b. I was also updating the description in the meantime.


Copy on select

[x] I am on the latest Hyper.app version
[x] I have searched the issues of this repo and believe that this is not a duplicate

OS 10.11.4:
Hyper 1.3.1:

More like a future request but it would be good to add an option so that text is automatically copied if selected.

https://hyper.is/#cfg

Closing this as the functionality you're looking for is already implemented, if you're looking for something else, please re-open 🎉  @przemyslawpluta


Added Belarusian Translations

Q
A

Is bugfix?
no

New feature?
yes/no

Breaks BC?
no

Tests pass?
didn't run

Fixed issues
nothing

Merged. Thanks!


Follow up with NIST on KSDB metadata that can be just incorporated into Labcas solr, find out which ones we want to ingest and which ones we want to link to?

@yuliujpl can you let me know exactly what this issue is so I can test?


Not showing in the menu bar

App does not stay in the menu bar. I open the app and it shows the window like in this screenshot. Then when I click outside of that window, it disappears and nothing is shown in the menu bar either. I might be doing something wrong, but I am not sure what 😄

OS: Ventura 13.1
HW: MacBook Pro 14, 2021
Installation: dmg file from your website

Hi. I have/had the same issue on my Macbook Air M2. In my case I think it's because of the camera area. When you choose some of the cities "visible" the icon in the menu bar gets too wide, overlaps with the camera area and becomes invisible altogether. I unchecked everything (cities, date) to that it would be just the black circle and it appeared. Then moved it to the far right of the menu bar.
On your screen I see you have a lot of stuff in the menu bar so probably the same issue.

@simicvm Hi! Yes, @alextuby is absolutely right. You can hold CMD button and move the icon.


Fixing structure typo

Typo fixing

Please pay attention.

No public method interface was changed.
One public method internals were updated.
Two public methods were added.
One internal structure was maden public in order to be transferred between BeforeRequest and AfterRequest (meaning, it couldn't be used before by clients)

If you don't have principal objections, I can spend more time on unit testing

Reverting typo pr

LGTM


[bug] The size of the window is bigger than what I set via setSize

Describe the bug
I like to dynamically set the size of a floating window (about 200x200 or less) through setSize, but the set size is always larger than I want.
for example:
appWindow.setMinSize(new PhysicalSize(10, 10)).then(appWindow.outerSize()).then(console.log);
// { height: 44, type: "Physical", width: 46 }

appWindow.setMinSize(new PhysicalSize(55, 55)).then(appWindow.outerSize()).then(console.log);
// { height: 94, type: "Physical", width: 96 }

Reproduction
Create a window like this:
#[derive(Deserialize)]
pub struct CreateWindowPayload {
  pub label: String,
  pub transparent: bool,
}

#[tauri::command]
async fn create_new_window(payload: CreateWindowPayload, app_handle: tauri::AppHandle) -> Result<bool> {
  match WindowBuilder::new(
      &app_handle,
      payload.label.as_str(),
      WindowUrl::App((payload.label.clone() + ".html").into()),
    )
    .decorations(false)
    .transparent(payload.transparent)
    .title(payload.label.clone())
    .min_inner_size(10f64, 10f64)
    .build() {
      Ok(_) => Ok(true),
      Err(_) => Ok(false),
  }
}

Init it with:
appWindow.setAlwaysOnTop(true);
appWindow.setMinSize(new PhysicalSize(10, 10));

Set some little size like: 40x40, 50x50 etc.
Expected behavior
normal size
Platform and versions
Operating System - Windows, version 10.0.19044 X64
Webview2 - 100.0.1185.50
Visual Studio Build Tools:
   - Visual Studio Community 2019

Node.js environment
  Node.js - 14.17.6
  @tauri-apps/cli - 1.0.0-rc.5 (outdated, latest: 1.0.0-rc.8)
  @tauri-apps/api - 1.0.0-rc.3

Global packages
  npm - 6.14.11
  pnpm - 6.23.6
  yarn - 1.22.17

Rust environment
  rustup - 1.24.3
  rustc - 1.59.0
  cargo - 1.59.0
  toolchain - stable-x86_64-pc-windows-msvc

App directory structure
/.parcel-cache
/client
/dist
/node_modules
/server

App
  tauri - 1.0.0-rc.6
  tauri-build - 1.0.0-rc.5
  tao - 0.7.0
  wry - 0.14.0
  build-type - bundle
  CSP - default-src 'self'
  distDir - ../dist
  devPath - http://localhost:3000/
  framework - React

Stack trace
No response
Additional context
No response

This is fixed and will be released soon.

This is fixed and will be released soon.

is fixed?
I want create a new window with only 1px or 2px, but it look like 40px height.
devDependencies:
"@tauri-apps/api": "^1.0.0-rc.7",
"@tauri-apps/cli": "^1.0.0-rc.16",


[1685] Remove unnecessary "Enrichments is invalid" message

Context
Because of the has_many :enrichments relationship, Rails will add a Enrichments is invalid message on the Course model when a new CourseEnrichment is created, and fails to be saved due to validation issues. This behaviour can occur when users attempt to save a new enrichment which has errors.
Changes proposed in this pull request
Adds an after_validation to manually clear the unnecessary validation.
Guidance to review
I can't seem to find a more idiomatic way of doing this.
Checklist

[x] Make sure all information from the Trello card is in here
[ ] Attach to Trello card
[ ] Rebased master
[ ] Cleaned commit history
[ ] Tested by running locally

 When a user tries to publish a course without any enrichment data the validation message is wrong


add websocket connection time

see also https://github.com/opentok/rtcstats/pull/92

will leave the clientside thing out. How this is interpreted is up to the client, we plan to use it to measure if our client can connect to the signaling server


for in loop

Acknowledgement

[X] I acknowledge that issues using this template may be closed without further explanation at the maintainer's discretion.

Comment
type Dict = Record<'a' | 'b', any>;

const dict: Dict = { a: 1, b: 2 };

const arr: (keyof Dict)[] = [];

for (const key in dict) arr.push(key);

does not work, works only with key as keyof Dict

This is intentional, because objects are not sealed and may have more properties not covered by keyof T.
Did you try to search for existing issues before?

I tried to search but haven't found anything. What are cases in which keyof T doesn't cover all the properties?

const src = { a: 1, b: 2, c: 3 };
const dict: Dict = src;

Objects are not sealed. They're allowed to have additional properties not specified by the type.

Ok, thank you


No source mappings for providers

When debugging my Ionic2 application on an android device and connected via the Chrome Debugger, I see that the source mapping has nicely made my .ts files available for everything in the /pages folder however all of my services in the /providers folder are not available.

What gives?
when I debug using ionic serve i can see the /providers files in another form:

This issue was moved to driftyco/ionic-app-scripts#262

Cool thanks!


Update sbt to 1.4.6

Updates org.scala-sbt:sbt from 1.4.3 to 1.4.6.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scala-sbt", artifactId = "sbt" } ]

labels: library-update, semver-patch

Superseded by #183.

Superseded by #183.


SetupNavContainer.ps1 Cannot bind parameter 'AccessToken'. Cannot convert the value of type "System.String" to type "System.Security.SecureString".

Hi,
When deploying Azure environments on basis of the nav-arm-templates we ran into an issue in nav-arm-templates/master/SetupNavContainer.ps1
The procedure that creates the Aad Apps for BC is raising the below error:
New-AadAppsForBC Telemetry Correlation Id: 4a9ec360-0353-4dbe-8a6e-ca56f13a45f1
Connect-MgGraph : Cannot bind parameter 'AccessToken'. Cannot convert the "eyJ0e...aSw" value of type "System.String" to type "System.Security.SecureString".
At C:\Program Files\WindowsPowerShell\Modules\bccontainerhelper\5.0.3\AzureAD\New-AadAppsForBc.ps1:82 char:42
+ ...       Connect-MgGraph -AccessToken $bcAuthContext.accessToken | Out-N ...
+                                        ~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [Connect-MgGraph], ParentContainsErrorRecordException
    + FullyQualifiedErrorId : CannotConvertArgumentNoMessage,Microsoft.Graph.PowerShell.Authentication.Cmdlets.ConnectMgGraph

The procedure uses BcAuthContext to create the Aad Apps for BC in nav-arm-templates/master/SetupNavContainer.ps1:
       try {
            $authContext = New-BcAuthContext -tenantID $aadDomain -credential $Office365Credential -scopes "https://graph.microsoft.com/.default"
            if (-not $authContext) {
                $authContext = New-BcAuthContext -includeDeviceLogin -scopes "https://graph.microsoft.com/.default" -deviceLoginTimeout ([TimeSpan]::FromSeconds(0))
                AddToStatus $authContext.message
                $authContext = New-BcAuthContext -deviceCode $authContext.deviceCode -deviceLoginTimeout ([TimeSpan]::FromMinutes(30))
                if (-not $authContext) {
                    throw "Failed to authenticate with Office 365"
                }
            }
            $AdProperties = New-AadAppsForBC `
                -bcAuthContext $authContext `
                -appIdUri $appIdUri `
                -publicWebBaseUrl $publicWebBaseUrl `
                -IncludeExcelAadApp `
                -IncludeApiAccess `
                -IncludeOtherServicesAadApp `
                -preAuthorizePowerShell

In navcontainerhelper/AzureAD/New-AadAppsForBc.ps1 it tries to connect to MsGraph by using the accessToken but  Connect-MgGraph -AccessToken requires a Secure String but $bcAuthContext.accessToken is a String:
 # Connect to Microsoft.Graph
    if (!$useCurrentMicrosoftGraphConnection) {
        if ($bcAuthContext) {
            $bcAuthContext = Renew-BcAuthContext -bcAuthContext $bcAuthContext
            $jwtToken = Parse-JWTtoken -token $bcAuthContext.accessToken
            if ($jwtToken.aud -ne 'https://graph.microsoft.com') {
                Write-Host -ForegroundColor Yellow "The accesstoken was provided for $($jwtToken.aud), should have been for https://graph.microsoft.com"
            }
            Connect-MgGraph -AccessToken $bcAuthContext.accessToken | Out-Null
        }
        else {
            if ($accessToken) {
                Connect-MgGraph -accessToken $accessToken | Out-Null
            }
            else {
                Connect-MgGraph -Scopes 'Application.ReadWrite.All' | Out-Null
            }
        }
    }

As a workaround we resolved the issue for now and changed our local version of nav-arm-templates/master/SetupNavContainer.ps1 to connect first with MgGraph using the Secure String and using this connection via parameter -useCurrentMicrosoftGraphConnection instead of -bcAuthContext:
               $authContext.AccessToken = ConvertTo-SecureString $authContext.AccessToken -AsPlainText -Force
               Connect-MgGraph -AccessToken $AuthContext.accessToken | Out-Null

                $AdProperties = New-AadAppsForBC `
                -appIdUri $appIdUri `
                -publicWebBaseUrl $publicWebBaseUrl `
                -IncludeExcelAadApp `
                -IncludeApiAccess `
                -IncludeOtherServicesAadApp `
                -preAuthorizePowerShell `
                -useCurrentMicrosoftGraphConnection

In this case its successfully creating the app registrations.

I think this problem was fixed in ContainerHelper since this.
Let me know if this is still a problem.
Thanks


SassError: File to import not found or unreadable: ~@nativescript/theme/core

Environment

CLI: tns --version = 6.7.8
Cross-platform modules: @nativescript/core has 7.0.0-rc.33 version and is up to date
Android Runtime: tns-android is not installed
iOS Runtime: tns-ios has 6.5.2 version and is up to date
Plugin(s): -
NativeScript-Angular: 10.0.0
Angular: 10.0.4

Describe the bug
Both tns preview and tns run ios throw the following error
ERROR in ./app.scss
Module build failed (from ../node_modules/sass-loader/dist/cjs.js):
SassError: File to import not found or unreadable: ~@nativescript/theme/core.
        on line 1 of src/_app-common.scss
        from line 2 of /Users/user/Documents/Projects/NativeScript/test/src/app.scss
>> @import "~@nativescript/theme/core";

   ^

<EMAIL_ADDRESS>5:49-65 6:47-63
 @ ./main.tns.ts

To Reproduce
ng new -c=@nativescript/schematics test --shared --style=scss --no-theme
cd test
npm i
tns preview

Expected behavior
The app preview should start.
Sample project
This is a bare unmodified project generarated using the comands above.

i had same issues in android
ERROR in ./app.css
so i use the command to build a nativescript-angular project
=>tns create  --template tns-template-blank-ng
and you can also install @nativescript/schematics in globally(npm i -g @nativescript/schematics)
to install in local(npm i @nativescript/schematics)
then use command to run(tns run android or ios)

Hi @vijay180396, thank you, I confirm that a project created from scratch as you described works and builds fine.
However, I'm trying to integrate a NativeScript app with a NRWL NX stack and set up code sharing, therefore I'm still wondering, the above code in my description should work IMO, I'm wondering whether I'm doing something wrong?

@adams-family are you using xplat with Nx? If so, we're updating those for Angular 10 at the moment and should have new updates out for those schematics with full compliance with latest by early next week.

Hi @NathanWalker no, this is the first time I heard about xplat. Therefore I would confidently say no :)


Resource temporarily unavailable

We have received many reports from users who can't run their node due to the 'Resource temporarily unavailable' error. This issue occurs when there is already a node running in the background, and users attempt to start another one. We should find a way to detect if an instance of Pactus is already running. If it is, we should inform the user before attempting to start a new node to prevent this error.

/bounty 30$

💎 $30 bounty created by b00f
🙋 If you start working on this, comment /attempt #805 to notify everyone
👉 To claim this bounty, submit a pull request that includes the text /claim #805 somewhere in its body
📝 Before proceeding, please make sure you can receive payouts in your country
💵 Payment arrives in your account 2-5 days after the bounty is rewarded
💯 You keep 100% of the bounty award
🙏 Thank you for contributing to pactus-project/pactus!

@b00f algora cannot pay to Iranians. Is there any way to make it possible?

@alom4hdi, we can pay the bounty to you offline. Algora is aware of this unfortunate situation. So, in case you are going to work on this issue, please make an attempt. After finishing the issue, I will contact Algora and pay you offline.

/attempt #805

Do we currently have a way to detect the running status of an instance, such as checking if a port or other resources are occupied?

Do we currently have a way to detect the running status of an instance, such as checking if a port or other resources are occupied?

If a user runs two different instances, they may encounter a "Resource temporarily unavailable" error that originates from the database. This issue has been frequently reported by some users, especially when they use the "screen" application to run Pactus in the background.

Additionally, if a user wants to run two different instances of Pactus, they should use different port numbers.

Still we have reports from user that they see this message.

@jkcs any idea?

Maybe because they have version 0.18 on background running.

@b00f we added this to start.go for pactus daemon. but we doesn't add it to the GUI.

@jkcs can we support GUI? Return error in start node ?

Thanks for the update, @jkcs.
Take your time and prioritize your well-being. We can discuss the GUI when you're ready. No worries.


Buzz crashes trying to parse unusual file

Hello! This is a really interesting project! I love the concept of a strongly typed scripting language and so far it seems the startup time barely even suffers from it (I got jumpscared by the SDL example's speed).
Anyway - I accidentally came across a rather... unusual bug. Buzz crashes if it tries to parse a file with just an a inside it (the ~/test.buzz in question on the error log below).
~/pj/clone/buzz exit:1> echo "a" > ~/test.buzz && zig build -Doptimize=Debug run -- ~/test.buzz
thread 83936 panic: integer overflow
/home/yohanan/pj/clone/buzz/src/Parser.zig:411:86: 0x10c2d10 in parse (buzz)
    self.reporter.reportErrorAt(error_type, self.ast.tokens.get(self.current_token.? - 1), message);
                                                                                ^
/home/yohanan/pj/clone/buzz/src/main.zig:87:25: 0x10cde48 in runFile (buzz)
    if (try parser.parse(source, file_name)) |ast| {
                        ^
/home/yohanan/pj/clone/buzz/src/main.zig:268:16: 0x10cfd53 in main (buzz)
        runFile(
               ^
/home/yohanan/.cache/zigup/0.12.0-dev.2541+894493549/files/lib/std/start.zig:585:37: 0x10d0aa6 in main (buzz)
            const result = root.main() catch |err| {
                                    ^
???:?:?: 0x7fac38645ccf in ??? (libc.so.6)
Unwind information for `libc.so.6:0x7fac38645ccf` was not available, trace may be incomplete

run
└─ run buzz failure
error: the following command terminated unexpectedly:
/home/yohanan/pj/clone/buzz/zig-out/bin/buzz /home/yohanan/test.buzz
Build Summary: 50/52 steps succeeded; 1 failed (disable with --summary none)
run transitive failure
└─ run buzz failure
error: the following build command failed with exit code 1:
/home/yohanan/pj/clone/buzz/zig-cache/o/479c400045a5007e25a57a54a84c8cf2/build /home/yohanan/.cache/zigup/0.12.0-dev.2541+894493549/files/zig /home/yohanan/pj/clone/buzz /home/yohanan/pj/clone/buzz/zig-cache /home/yohanan/.cache/zig --seed 0xed7b0d62 -Doptimize=Debug run -- /home/yohanan/test.buzz

Thanks for the kind words.
I recently rewrote the AST structure so bugs like this are common. Thanks for the report.


Added props for break-view classname, text and content.

Currently there is no classname around the break-view element (...). This PR adds the ability to set a classname on the element li and anchor.
It also allows the text and content, in the break-view element to be set.

Codecov Report

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

@@           Coverage Diff           @@
##           master      #66   +/-   ##
=======================================
  Coverage   81.81%   81.81%
=======================================
  Files           1        1
  Lines          55       55
  Branches       14       14
=======================================
  Hits           45       45
  Misses          7        7
  Partials        3        3

Impacted Files
Coverage Δ

src/components/Paginate.vue
81.81% <ø> (ø)
: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 03d14f0...31bcc69. Read the comment docs.

@keeganstreet Published in v1.9.0. Thanks.


Sanitize nested sensitive fields.

Also, handle list post data. Fix. 71

@tselepakis Thanks for making this change. It is most appreicated.


feat(weave): Implement VertexAI integration

Description
This PR adds the autopatch integration with VertexAI Generative Models API.
Supported cases
Sync generation
Without Streaming
import vertexai
import weave
from vertexai.generative_models import GenerativeModel

weave.init(project_name="google_ai_studio-test")
vertexai.init(project="wandb-growth", location="us-central1")
model = GenerativeModel("gemini-1.5-flash-002")
response = model.generate_content(
    "What's a good name for a flower shop specialising in selling dried flower bouquets?"
)

Sample trace
With Streaming
import vertexai
import weave
from vertexai.generative_models import GenerativeModel

weave.init(project_name="google_ai_studio-test")
vertexai.init(project="wandb-growth", location="us-central1")
model = GenerativeModel("gemini-1.5-flash-002")
response = model.generate_content(
    "What's a good name for a flower shop specialising in selling dried flower bouquets?",
    stream=True,
)

Sample trace
Async Generation
Without Streaming
import vertexai
import weave
from vertexai.generative_models import GenerativeModel

weave.init(project_name="google_ai_studio-test")
vertexai.init(project="wandb-growth", location="us-central1")
model = GenerativeModel("gemini-1.5-flash-002")

async def async_generate():
    response = await model.generate_content_async(
        "What's a good name for a flower shop that specializes in selling bouquets of dried flowers?"
    )
    return response

response = asyncio.run(async_generate())

Sample trace
With Streaming
import vertexai
import weave
from vertexai.generative_models import GenerativeModel

weave.init(project_name="google_ai_studio-test")
vertexai.init(project="wandb-growth", location="us-central1")
model = GenerativeModel("gemini-1.5-flash-002")

async def get_response():
    chunks = []
    async for chunk in await model.generate_content_async(
        "What's a good name for a flower shop that specializes in selling bouquets of dried flowers?",
        stream=True,
    ):
        if chunk.text:
            chunks.append(chunk.text)
    return chunks

response = asyncio.run(get_response())

Sample trace

It's unfortunate we can't use vcrpy here.  I think you'll need to manually mock the Vertex calls

It's unfortunate we can't use VCRpy here.  Instead of mocking, you can put a 5x retry on the test.  It's not great, but given how fast these things move it might be the best option

Your pytest markers should be called flaky -- see example: https://github.com/wandb/weave/blame/master/tests/integrations/google_ai_studio/google_ai_studio_test.py#L50


fix: update ethnicities dropdown ⛳

Description ✏
Closes #468
This PR updates the components that are in charge of rendering the ethnicities dropdown. Specifically these components where updated to:

render a list of countries that does not spill over past the height of the window screen.
dynamically update the dropdown size and number of countries the component/dropdown renders to consistently have 30 px between the bottom of the window screen and the bottom of the ethnicities dropdown.

This update was tested on both Chrome and Safari as seen in screenshots below.

Type of Change 🐞

[ ] Feature - A non-breaking change which adds functionality.
[X] Fix - A non-breaking change which fixes an issue.
[ ] Refactor - A change that neither fixes a bug nor adds a feature.
[ ] Documentation - A change only to in-code or markdown documentation.
[ ] Tests - A change that adds missing unit/integration tests.
[ ] Chore - A change that is likely none of the above.

Checklist ✅

[ ] I have done a self-review of my code.
[X] I have manually tested my code (if applicable).
[ ] I have added/updated any relevant documentation (if applicable).

just lurking here—out of curiosity could useLayoutEffect achieve this effect before the component is painted on render?
for the record, im asking bc ive never seen anyone actually use useLayoutEffect, because the method u implemented works well. would love to hear your thoughts :)


OpenNebula compatibility with vsphere 8

Good afternoon everyone and thank you in advance.
I am thinking of updating the version of my vcenter and ESXI to 8.0 but I have seen that OpenNebula is not compatible with this version at the moment.
The documentation I have found does not specify anything about it, can anyone give me some information?
Thank you so much!!
:)

vSphere 8 is currently not supported, we are certifying OpenNebula to support it in 6.8.1 EE and 7.0 EE/CE


Updated versions of requests, beautifulsoup4, and pydantic

Hello @alexander-cummings.
Some tests are failing, could you check the changes in order to get all the tests passing?
Thanks for your contrib!

@AlexandreSenpai Hmm... I tried running the same tests on the master branch, and they seem to be failing as well for me. Could you please try rerunning the tests on the current master branch and see if they succeed for you?

Hi, @AlexandreSenpai. Did you have a chance to run the tests on the master branch and check if the same issue occurs there for you as well?

Hi, @AlexandreSenpai. Wanted to check in again. Thanks!

Hello, @alexander-cummings. I'm going to check this night. (GMT-3)

Thanks for the update! Please let me know. @AlexandreSenpai

Thanks for your contrib. Your PR has been accepted and merged!


Upgrade cordova-plugin-add-swift-support to 1.7.2

cordova-plugin-add-swift-support:1.7.2 changelog
Spawned from https://github.com/becvert/cordova-plugin-zeroconf/issues/60

I tested. The new swift plugin worked well after upgrade.


chore(package): Remove deprecation warning when running test suite

This also bumps the lower range of Jest accordingly.
See https://github.com/facebook/jest/issues/4509.

Thanks!