Add test for double and integer argumetns

Some solutions use templates, and this test won't compile if they have just one template argument.
A sample compilation error:
no matching function for call to ‘kind(double, int, int)’

It seems like the windows test can't pass. I think this is because boost is not installed. I will like if someone can confirm this is unrelated to my change and open an issue.

I think that you should also re-write the example using templates to demonstrate.
The CI issue is because of https://github.com/actions/virtual-environments/issues/319, not because of the changes here of course. They removed BOOST_ROOT which Cmake requires to find boost on Windows, and is normally set by a Boost install on Windows.
I will either fix this weekend or just disable the Windows build because I have wasted days of my life dealing with just Boost in this repo and I can't be bothered to care anymore.

I've pushed the change to fix the CI issue. Rebasing the changes on top of master should fix it here.

I think that you should also re-write the example using templates to demonstrate.

I'm not sure what you mean. You want me to fail the test? Or add an example with a few template arguments?
Can I add more than one example to the CI?

I think that you should also re-write the example using templates to demonstrate.
I'm not sure what you mean.

There are example implementations for each exercise in the files example.h and example.cpp.

@siebenschlaefer
I knew about the example, but there is already an example to pass the tests.
Also, I added a test that should not pass in the simple template solution.

@elyashiv Sorry, I misunderstood.

What else is needed for this to be merged?

Hi, is this ready to be merged?


Fix util shell scripts to be compatible with BSD

util: use env to call bash in shell scripts (in case where bash is not installed as /usr/bin/bash)
build-gnu.sh: modify script to be compatible with BSD OS (use GNU coreutils and GNU sed instead of OS system commands)
show-utils.sh: modify script to be compatible with BSD OS (use GNU coreutils instead of OS system commands)
util: modify scripts for code coverage to be compatible with BSD OS (use GNU coreutils instead of OS system commands)
run-gnu-test.sh: modify script to be compatible with BSD OS (use GNU coreutils instead of OS system commands)
CI: install GNU coreutils package for FreeBSD workflow (needed in style job for util/show-utils.sh script)
DEVELOPMENT.md: on FreeBSD, install GNU coreutils package to build/run tests

Fix uutils/coreutils#5598

Tested on Linux (Debian testing), FreeBSD 14.0 and OpenBSD-current (amd64):

build GNU coreutils OK with util/build-gnu.sh script
tests from GNU coreutils OK with util/run-gnu-test.sh script

Good job, thanks!


Playback rate not changing ttt speed

I was trying to get npcs to talk faster but the playback rate feature does nothing for me.  Is this feature working correctly now?  Or am i misunderstanding how it works?

never mind, this was user error.  please disregard.


Deprecate silvenon.mdx

Initial checklist

[X] I read the support docs
[X] I read the contributing guide
[X] I agree to follow the code of conduct
[X] I searched issues and couldn’t find anything (or linked relevant results below)

Problem
This plugin was originally created and released by @silvenon. It was later moved to the unifiedjs organization. The old one has many more downloads. These users won’t receive any updates.
Solution
Register silvenon.mdx as deprecated in favour of unifiedjs.vscode-mdx. https://github.com/microsoft/vscode-discussions/discussions/1.
Anyone could do this, but it would be nice to give @silvenon a chance to do so first, as it’s their extension.
Alternatives
It could be unpublished as well, but deprecation offers a friendlier migration path for existing users.

https://github.com/microsoft/vscode-discussions/discussions/1#discussioncomment-3340102

It was later moved to the unifiedjs organization.

Just to correct this, the two extensions were created independently of each other, AFAIK.

I released a patch version of my extension making it clear that it's deprecated. Hopefully the VS Code team will mark it as such in the Marketplace soon. 🤞

Update: VS Code marked my extension as deprecated in the Marketplace, it will take some time for it to propagate.


On Python3 the SDK also needs urlparse

While on Python 2 it works fine, the SDK seems to have a missing dependency on Python 3.
Python 3.5.2 (default, Jun 28 2016, 08:46:01)
[GCC 6.1.1 20160602] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import resin
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/greg/resin/prog/bluemix-resin-python/venv3/lib/python3.5/site-packages/resin/__init__.py", line 9, in <module>
    from .base_request import BaseRequest
  File "/home/greg/resin/prog/bluemix-resin-python/venv3/lib/python3.5/site-packages/resin/base_request.py", line 7, in <module>
    from urlparse import urljoin
ImportError: No module named 'urlparse'

 Front conversations

@imrehg, currently our SDK only supports python 2. I will make time for Python 3 version soon :)

@nghiant2710 thanks for the heads up! May we keep this issue open in the meantime as a reminder?

Hey @nghiant2710 how much work does this require? I just got a ping via support, we should bring to @lekkas attention if it's worthwhile.

This connects to #45


Add reference counting to register_dispatcher

This PR adds a reference counter for the dispatcher registration mapping in numba/typeinfer.py (i.e. _temporary_dispatcher_map) to avoid deleting a dispatcher when it has multiple references. Note I added the failing example from the originally posted issue, which involves creating a couple of temporary modules to execute, as a regression test. Any suggestions on how this might be improved is welcome.
Fixes #3658

Thanks very much for the PR, I've queued it for review.

Reviewer note: https://github.com/numba/numba/issues/2901


Changes nb::tuple() to construct an empty tuple.

This is consistent with both list and dict. However, it looks like this might have been done this way for a reason so I'm posting this patch for comment.
Default initializing to nullptr differs from what pybind11 does, and I found this difference due to a segfault while porting some existing code.
Fixes #241

Closed via a more comprehensive fix in https://github.com/wjakob/nanobind/commit/506185dca821c9cc1268c33b4cc867ae20f0fc4b.

(Thanks for reporting!)


Phantom SIGTERM shutting down container in Podman on Debian 12

⚠ Please verify that this bug has NOT been raised before.

[X] I checked and didn't find similar issue

🛡 Security Policy

[X] I agree to have read this project Security Policy

📝 Describe your problem
Running Uptime-Kuma in podman on Debian 12, it appears to be shutting itself down unexpectedly. It may take a few minutes, may take a few hours - eventually it reports a SIGTERM and stops. I can't find anything on the system that would have issued a SIGTERM though. I've run multiple other similar containerized web services on this machine and none of them are experiencing similar issues.
2023-11-13T16:45:57-05:00 [SERVER] INFO: Shutdown requested
2023-11-13T16:45:57-05:00 [SERVER] INFO: Called signal: SIGTERM

Uptime-Kuma is logging a SIGTERM.
Podman is reporting the container died, not that it was stopped.
I can't find anything else (e.g. OOM Killer) that'd be sending that SIGTERM.
Not happening to any of the other similarly run web services on this machine (e.g. also running Ansible Semaphore and Gitea in Podman)

I did check and find similar issues but didn't find any answers.
📝 Error Message(s) or Log
$ podman image ls
REPOSITORY                       TAG         IMAGE ID      CREATED       SIZE
docker.io/louislam/uptime-kuma   1           e10376878b88  5 weeks ago   447 MB

$ uname -a
Linux MY-DEBIAN-VM 6.1.0-13-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.55-1 (2023-09-29) x86_64 GNU/Linux

$ podman run -d -p 3001:3001 -v uptime-kuma:/app/data --name uptime-kuma docker.io/louislam/uptime-kuma:1

$ podman container logs uptime-kuma
==> Performing startup jobs and maintenance tasks
==> Starting application with user 0 group 0
Welcome to Uptime Kuma
Your Node.js version: 16.20.2
2023-11-13T18:35:57Z [SERVER] INFO: Welcome to Uptime Kuma
2023-11-13T18:35:57Z [SERVER] INFO: Node Env: production
2023-11-13T18:35:57Z [SERVER] INFO: Inside Container: true
2023-11-13T18:35:57Z [SERVER] INFO: Importing Node libraries
2023-11-13T18:35:57Z [SERVER] INFO: Importing 3rd-party libraries
2023-11-13T18:35:58Z [SERVER] INFO: Creating express and socket.io instance
2023-11-13T18:35:58Z [SERVER] INFO: Server Type: HTTP
2023-11-13T18:35:58Z [SERVER] INFO: Importing this project modules
2023-11-13T18:35:58Z [NOTIFICATION] INFO: Prepare Notification Providers
2023-11-13T18:35:58Z [SERVER] INFO: Version: 1.23.3
2023-11-13T18:35:59Z [DB] INFO: Data Dir: ./data/
2023-11-13T18:35:59Z [SERVER] INFO: Connecting to the Database
2023-11-13T18:35:59Z [DB] INFO: SQLite config:
[ { journal_mode: 'wal' } ]
[ { cache_size: -12000 } ]
2023-11-13T18:35:59Z [DB] INFO: SQLite Version: 3.41.1
2023-11-13T18:35:59Z [SERVER] INFO: Connected
2023-11-13T18:35:59Z [DB] INFO: Your database version: 10
2023-11-13T18:35:59Z [DB] INFO: Latest database version: 10
2023-11-13T18:35:59Z [DB] INFO: Database patch not needed
2023-11-13T18:35:59Z [DB] INFO: Database Patch 2.0 Process
2023-11-13T18:35:59Z [SERVER] INFO: Load JWT secret from database.
2023-11-13T13:35:59-05:00 [SERVER] INFO: Adding route
2023-11-13T13:35:59-05:00 [SERVER] INFO: Adding socket handler
2023-11-13T13:35:59-05:00 [SERVER] INFO: Init the server
2023-11-13T13:35:59-05:00 [SERVER] INFO: Listening on 3001
2023-11-13T13:35:59-05:00 [SERVICES] INFO: Starting nscd
2023-11-13T13:36:15-05:00 [AUTH] INFO: Login by token. IP=<IP_ADDRESS>
2023-11-13T13:36:15-05:00 [AUTH] INFO: Username from JWT: cruscio
2023-11-13T13:36:15-05:00 [AUTH] INFO: Successfully logged in user cruscio. IP=<IP_ADDRESS>
2023-11-13T13:36:24-05:00 [MONITOR] INFO: Get Monitor: 2 User ID: 1
2023-11-13T13:36:30-05:00 [MANAGE] INFO: Resume Monitor: 2 User ID: 1
2023-11-13T13:36:30-05:00 [MONITOR] INFO: Get Monitor: 2 User ID: 1
2023-11-13T13:36:47-05:00 [AUTH] INFO: Login by token. IP=<IP_ADDRESS>
2023-11-13T13:36:47-05:00 [AUTH] INFO: Username from JWT: cruscio
2023-11-13T13:36:47-05:00 [AUTH] INFO: Successfully logged in user cruscio. IP=<IP_ADDRESS>
2023-11-13T13:37:14-05:00 [AUTH] INFO: Login by token. IP=<IP_ADDRESS>
2023-11-13T13:37:14-05:00 [AUTH] INFO: Username from JWT: cruscio
2023-11-13T13:37:14-05:00 [AUTH] INFO: Successfully logged in user cruscio. IP=<IP_ADDRESS>
2023-11-13T16:45:57-05:00 [SERVER] INFO: Shutdown requested
2023-11-13T16:45:57-05:00 [SERVER] INFO: Called signal: SIGTERM
2023-11-13T16:45:57-05:00 [SERVICES] INFO: Stopping nscd
2023-11-13T16:45:57-05:00 [SERVER] INFO: Stopping all monitors
2023-11-13T16:45:59-05:00 [DB] INFO: Closing the database
2023-11-13T16:46:01-05:00 [DB] INFO: SQLite closed
2023-11-13T16:46:01-05:00 [CLOUDFLARED] INFO: Stop cloudflared
2023-11-13T16:46:01-05:00 [SERVER] INFO: Graceful shutdown successful!

$ sudo journalctl  | grep -i kuma #Note: this is from a different run that the one above, but the pattern's consistent.
[...]
Nov 14 22:09:34 MY-DEBIAN-VM podman[1363305]: 2023-11-14 22:09:34.43330797 +0000 UTC m=+0.036492321 container died 08875f03720625c56528f2d196adf6f5658fc0369df1c97f4403b85e7c6963e5 (image=docker.io/louislam/uptime-kuma:1, name=uptime-kuma)
Nov 14 22:09:34 MY-DEBIAN-VM podman[1363305]: 2023-11-14 22:09:34.489240714 +0000 UTC m=+0.092424965 container cleanup 08875f03720625c56528f2d196adf6f5658fc0369df1c97f4403b85e7c6963e5 (image=docker.io/louislam/uptime-kuma:1, name=uptime-kuma)

$ sudo journalctl --since="2 days ago" | grep -i 'signal'
Nov 13 21:45:57 MY-DEBIAN-VM uptime-kuma[1187911]: 2023-11-13T16:45:57-05:00 [SERVER] INFO: Called signal: SIGTERM
Nov 14 22:09:30 MY-DEBIAN-VM uptime-kuma[1278525]: 2023-11-14T17:09:30-05:00 [SERVER] INFO: Called signal: SIGTERM

$ sudo dmesg -T | grep -i 'kill'
{{nothing}}

🐻 Uptime-Kuma Version
1.23.3 (Docker image ID e10376878b88)
💻 Operating System and Arch
Debian 12 x86_64
🌐 Browser
N/A
🐋 Docker Version
podman version 4.3.1
🟩 NodeJS Version
16.20.2 (via docker image e10376878b88)

Do you have container healthcheck enabled? You can try disabling it to see if it's the issue.

Unsurprisingly, my bad. I was running this one container rootless in podman (the others were all sudo'd) and this was happening to me:

I suspect this is systemd killing Podman as the session it was started
in dies. Enabling linger with loginctl enable-linger usually
resolves this.

Containers terminate on shell logout - Podman - Podman List Archives
Podman - ArchWiki: Containers terminate on shell logout


[bug]: skhd integration not showing

Description
Enabling skhd integration in Keyclu integrations tab (and refreshing) with the following line in skhdrc file is not showing skhd shortcuts in Keyclu:
# open qutebrowser
cmd + shift - return : ~/Scripts/qtb.sh

Troubleshooting performed:

Revert to version 0.26 (no luck)
Created a new skhdrc file and adding only above line into the file (no luck)
Restart skhd service (no luck)

Expected behavior
Defined skhdrc keyboard shortcuts show up in KeyClu
App version
0.27
macOS version
macOS Sonoma 14.6.1
Installation method
Manual (dmg/zip)
Checklist before submitting a bug

[X] This issue hasn't been addressed in an existing GitHub issue or discussion.

Hey sziyan,
Sorry to hear you're having troubles. Can you please check if file placed at location mentioned here?

Hey sziyan, Sorry to hear you're having troubles. Can you please check if file placed at location mentioned here?

thanks for the reply! Yes, my skhd file is in $HOME/.config/skhdrc

@sziyan you need to format it like this:
#KeyClu[Qutebrowser]: Open browser
cmd + shift - return : ~/Scripts/qtb.sh

You can look at my config here: https://github.com/gldtn/dotfiles/blob/main/skhd/skhdrc

@sziyan you need to format it like this:
#KeyClu[Qutebrowser]: Open browser
cmd + shift - return : ~/Scripts/qtb.sh

You can look at my config here: https://github.com/gldtn/dotfiles/blob/main/skhd/skhdrc

I created a new file with your config and place it in $HOME/.config/skhd/skhdrc but skhd mapping is still not showing up.
Is there any other configurations need to be done?

I was trying out another WM(Aerospace) so I did not know there was a bug with Keyclu integration and SKHD. I just went back to Yabai & Skhd and it's not showing for me as well. Seems like @Anze is working on the issue though.

Hey guys,
New released is available now. Please let me know if you still encounter this issue.

Hey guys, New released is available now. Please let me know if you still encounter this issue.

Everything is working on my end. Thanks for the fix @Anze


docs(example): Fix examples typos

This fix two typos on examples I previously sent

In the client-only-component example the button type was buttonn instead of button
The folder of the CMS Collected Notes example was csm-collected-notes instead of cms-collected-notes, I renamed it to be just collected-notes as with Strap and Sanity CMS examples.

Idea: Prefix all CMS examples with cms- so they are all together, I can do this change if desired.

I thought about prefixing things with the category (like cms-), but the problem is that some technologies could have multiple categories (I've been corrected when I referred to sanity as a "cms" 🤷♂). People don't come to the examples to compare CMS-es I think. They normally have a CMS they've decided on and want to see how to integrate or some others they have in mind and want to compare them.
Thanks for these fixes!


Pass strings to defined, not variables of strings

I was trying to recreate the issues that you were running into when trying to make issues on private repos, but wasn't able. I did run into this error though, that I figured I should help you fix.
defined expects to get some python code. However, if you pass it a string, it will try to evaluate the contents of the strings as python code. It would give me an error saying "A little helpful" had a syntax error. Passing in the string of the name of the variable fixed the issue for me.

Thanks for catching this Bryce!


Add autogenerated docs to README.md in casper-js-sdk

Currently, we have it on a separate GitHub page but we want to embed it into README.md like in casper-contract so it will also be visible on the npm registry page.

Reestimated because I'm struggling with some npm versions issues...


feat: add parse_header option to file format resource

Modified pkg/resources/file_format.go to include the parse_header option for File Formats.
This option was already included in pkg/sdk/file_format.go, but it was never mapped to a Terraform configuration option.
References

#2050

Hey @danerieber. Thanks for the PR!
Your change is introducing a new configuration in a resource. Therefore, the docs must be regenerated (because we keep them as part of this repo). You can do it by running make docs or with make pre-push (which also runs linter and dependencies check).

@sfc-gh-asawicki Thanks for responding! I just amended my commit after running make pre-push and it generated the documentation.
Thanks for the patience, this is my first open source contribution :)

@danerieber I have merged it. Thanks for the contribution. :)


Upgrade to greenwood/cli 0.29.0

Upgrade to "@greenwood/cli": "^0.29.0"

https://github.com/Cloud-RI/cloud-ri.github.io/pull/9


scipy 1.0.1 no longer allows overwriting variables in netcdf files opened with mode='a'

The following example passes without error on scipy 1.0.0, but errors with scipy 1.0.1 installed:
import scipy.io

f = scipy.io.netcdf_file('testing123.nc', mode='w')
f.createDimension('x', 2)
f.createVariable('x', float, ('x',))
f.variables['x'][...] = 1
f.close()

f = scipy.io.netcdf_file('testing123.nc', mode='a')
f.variables['x'][...] = 2
f.close()

---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
<ipython-input-1-e0dd6e681544> in <module>()
      8
      9 f = scipy.io.netcdf_file('testing123.nc', mode='a')
---> 10 f.variables['x'][...] = 2
     11 f.close()

~/miniconda3/envs/xarray-py36/lib/python3.6/site-packages/scipy/io/netcdf.py in __setitem__(self, index, data)
    994                 except ValueError:
    995                     self.__dict__['data'] = np.resize(self.data, shape).astype(self.data.dtype)
--> 996         self.data[index] = data
    997
    998     def _get_missing_value(self):

ValueError: assignment destination is read-only

This manifested itself in failures in the xarray test suite: https://github.com/pydata/xarray/issues/2019

That fails on master too. Most likely the offending commit is a923628e8dd7de

Yep, that's the commit. That looked harmless enough. Different behavior between fromstring and frombuffer, guess that fix should have forced returning a copy instead of a view.

May require a 1.0.2 ... :(

Yeah, frombuffer returning a readonly view instead of a copy is a subtle difference. The NumPy deprecation warning should possible add some sort of note about that, as well.
I'll leave it up to your judgement on whether this requires a 1.0.2 release. My guess is that this breaks only a few users. Overriding data in existing files is certainly somewhat rare compared to creating new files -- especially because scipy's netcdf writer always rewrites the file scratch. Generally I would recommend using the netCDF4 library instead of scipy for this use case anyways because it avoids the rewriting issue.

All right, will wait for a bit whether anything else shows up that would require a 1.0.2. Otherwise maybe let it wait till 1.1.0, which should be out in just over a month.

fix in gh-8633


Documentation fault

The documentation says:
var SegfaultHandler = require('segfault_handler');
when it should have a hyphen not an underscore:
var SegfaultHandler = require('segfault-handler');

+1

Thanks @JayDaley this has been resolved so I am closing this.
If you see something else then please let us know


Is there any DataIter example for distributed training ?

my data is libsvm format or can be converted to csv,  so how to write  a dataiter for distributed training?

mx.io.CSVIter

@piiswrong Thanks for your reply!
does mx.io.CSVIter distributed reading? I fund mxnet.io.ImageRecordIter has parameters： num_parts  part_index  and mx.io.CSVIter has no such parameters

You need to shard your data across machines and use different input file for each machine

thanks

I get the same problem, i have only libsvm formatted train data cause it is sparse, and there are no LIBSVMIter to load data, and i'm confuse how to load hdfs data with part of it.

@piiswrong @CNevd I met the same problem. My data is on hdfs and can not be distributed to each machine because worker nodes can not hold such a big data. Could CSVIter directly read data from hdfs on minbatch-wise? Any solutions welcomed.


AttributeError: 'COCOEvaluator' object has no attribute '_novel_classes'

Hi guys
I am using the tag v0.4 and I just retrained the base model on COCO using python -m tools.train_net --num-gpus 3 --config-file configs/COCO-detection/faster_rcnn_R_101_FPN_base.yaml everything went smoothly but upon evaluation I run into the error
Traceback (most recent call last):
  File "/scratch_net/clariden/chmayer/conda_envs/simpledet/lib/python3.6/site-packages/torch/multiprocessing/spawn.py", line 19, in _wrap
    fn(i, *args)
  File "/scratch_net/clariden/chmayer/conda_envs/simpledet/lib/python3.6/site-packages/detectron2/engine/launch.py", line 94, in _distributed_worker
    main_func(*args)
  File "/home/chmayer/github/few-shot-object-detection/tools/train_net.py", line 107, in main
    return trainer.train()
  File "/home/chmayer/github/few-shot-object-detection/fsdet/engine/defaults.py", line 444, in train
    super().train(self.start_iter, self.max_iter)
  File "/scratch_net/clariden/chmayer/conda_envs/simpledet/lib/python3.6/site-packages/detectron2/engine/train_loop.py", line 148, in train
    self.after_train()
  File "/scratch_net/clariden/chmayer/conda_envs/simpledet/lib/python3.6/site-packages/detectron2/engine/train_loop.py", line 157, in after_train
    h.after_train()
  File "/home/chmayer/github/few-shot-object-detection/fsdet/engine/hooks.py", line 87, in after_train
    self._do_eval()
  File "/home/chmayer/github/few-shot-object-detection/fsdet/engine/hooks.py", line 36, in _do_eval
    results = self._func()
  File "/home/chmayer/github/few-shot-object-detection/fsdet/engine/defaults.py", line 391, in test_and_save_results
    self._last_eval_results = self.test(self.cfg, self.model)
  File "/home/chmayer/github/few-shot-object-detection/fsdet/engine/defaults.py", line 556, in test
    results_i = inference_on_dataset(model, data_loader, evaluator)
  File "/home/chmayer/github/few-shot-object-detection/fsdet/evaluation/evaluator.py", line 162, in inference_on_dataset
    results = evaluator.evaluate()
  File "/home/chmayer/github/few-shot-object-detection/fsdet/evaluation/coco_evaluation.py", line 129, in evaluate
    self._eval_predictions()
  File "/home/chmayer/github/few-shot-object-detection/fsdet/evaluation/coco_evaluation.py", line 179, in _eval_predictions
    self._novel_classes,
AttributeError: 'COCOEvaluator' object has no attribute '_novel_classes'

It seems that indeed self._novel_classes is not defined anymore but used in line 179 in coco_evaluation.py. For coco only the base classes are defined.
Seems that the problem stems from this pull request at least self._novel_classes was still there in the version just before the PR merge. @Anthuang  could you maybe have a look and fix this since you were doing the merge?
Thanks a lot and best
Christoph

I also encountered this problem during the validation period

I also have the same question. Did you solve it ?

I also have the same question. Did you solve it ?

I have solved this problem.Open the coco_evaluation.py ,about line170,
add
self._novel_classes = [            novel_classes_id         ]
after the self._base_classes = [             8, 10, 11, 13, 14, 15, 22, 23, 24, 25, 27, 28, 31, 32, 33, 34, 35,             36, 37, 38, 39, 40, 41, 42, 43, 46, 47, 48, 49, 50, 51, 52, 53, 54,             55, 56, 57, 58, 59, 60, 61, 65, 70, 73, 74, 75, 76, 77, 78, 79, 80,             81, 82, 84, 85, 86, 87, 88, 89, 90,         ]

I also have the same question. Did you solve it ?

I have solved this problem.Open the coco_evaluation.py ,about line170, add self._novel_classes = [ novel_classes_id ] after the self._base_classes = [ 8, 10, 11, 13, 14, 15, 22, 23, 24, 25, 27, 28, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 65, 70, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 84, 85, 86, 87, 88, 89, 90, ]

Do you mean line 70？I have the error: name 'novel_classes_id' is not defined ? Cloud you sent me your coco_evaluation.py to me<EMAIL_ADDRESS>

I also have the same question. Did you solve it ?

I have solved this problem.Open the coco_evaluation.py ,about line170, add self._novel_classes = [ novel_classes_id ] after the self._base_classes = [ 8, 10, 11, 13, 14, 15, 22, 23, 24, 25, 27, 28, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 65, 70, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 84, 85, 86, 87, 88, 89, 90, ]

Do you mean line 70？I have the error: name 'novel_classes_id' is not defined. Cloud you sent me your coco_evaluation.py to me<EMAIL_ADDRESS>
novel_ classes_ id means that there are 80 classes in the coco dataset.There are 60 classes in the previous self._ base_classes. You need to fill in the ids of the remaining 20 classes into self._novel_classses array

Hey guys.
Sorry for not posting the solution earlier I just thought that the maintainers would fix the faulty merge right away. The issue was just meant to inform them such that they can check if other things went wrong too.
All you need to do is adding self._novel_classes = [1, 2, 3, 4, 5, 6, 7, 9, 16, 17, 18, 19, 20, 21, 44, 62, 63, 64, 67, 72] to this line. You should then have both the self._novel_classes and self._base_classes and the error should go away.


Extracting Proxy from TCP request

Is your feature request related to a problem? Please describe.
As a developer developing a tonic gRPC streaming application (based on hyper) behind a layer 3 load balancing technology, I need to extract the clients IP, which is passed through with Proxy Protocol: https://www.haproxy.org/download/1.8/doc/proxy-protocol.txt
Describe the solution you'd like
I'd like to have hyper optionally decode PROXY from the tcp request and add it as an X-Forwarded-For header to the HTTP request.
Describe alternatives you've considered
Implementing from scratch vs trying to get a feature in hyper, as I haven't found anything which does this.
Additional context
https://github.com/Proximyst/proxy-protocol/blob/main/src/version2.rs
https://www.haproxy.com/blog/use-the-proxy-protocol-to-preserve-a-clients-ip-address
https://docs.aws.amazon.com/elasticloadbalancing/latest/network/load-balancer-target-groups.html#client-ip-preservation

Dealing with the PROXY protocol is out of scope for hyper, but since you can provide custom IO, you could apply a layer that does that before giving the IO to hyper.

Dealing with the PROXY protocol is out of scope for hyper, but since you can provide custom IO, you could apply a layer that does that before giving the IO to hyper.

So do you think this would be more something to be dealt with in Tokio?

No, not likely in Tokio. There might be an existing library that is able to handle it. If not, you could make a small piece of code to read off the TcpStream before handing it to hyper.


Add warning suppression functionality

Fixes https://github.com/alphagov/govuk-frontend/issues/2890
This PR does the following:

Adds the $govuk-suppressed-warnings map
Adds the _warning mixin
Replaces all instances of @warn with the _warning mixin
Updates the managing-change docs with why we allow warning suppression

The settings/warnings suite ($govuk-suppressed-warnings and _warning) are intended as a way to allow users to suppress deprecation warnings in instances where they're stuck on specific versions so they have the choice to keep their sass compile log clean. It also will allow us to suppress the compatibility mode deprecation warnings in our local legacy app between now and the release of v5.0.

Code-wise this is looking pretty cushy to me, but I'll leave the formal review for the folks who've been looking at it for longer. 😉

With 2 approvals I'm gonna go ahead and merge this. There was a slight change since Claire's approval to the managing change docs but this is intended as internal content and can be changed at any time so I'm not worried about this.


Roll antags before job

About the PR

Now all antags except initial infected (there must be a delay for them so no zombies roundstart) are not delayed and are rolled before jobs. So you can pick a sec officer and you can still roll antag (your job will be different though).
Made that all intern roles can roll antag because why not.
Hopefully nothing breaks.
Why / Balance

People asked for it.
Technical details

Media

https://github.com/user-attachments/assets/a910deb7-628a-4be3-af1b-19d481bf2ba6
Requirements

[X] I have read and am following the Pull Request and Changelog Guidelines.
[X] I have added media to this PR or it does not require an ingame showcase.

Breaking changes

Changelog

:cl: Aviu

add: Now antags are rolled roundstart and before jobs except for initial infected.
add: Intern roles can be antags except for cadet obviously.

WOAH

Robust.Shared.Utility.DebugAssertException : Rule Entity { Owner = 171253, Comp = Content.Server.Antag.Components.AntagSelectionComponent } had no spawner for pre-spawn rule added mid-round!

I can see problem with delay removal that players that won't press Ready button won't be able to become antags even if they joined first seconds after round start. Also, because you roll all antags PrePlayerSpawn late join antags won't spawn because round started already and they don't have spawners.
Imo, antagSelection should have they own delays

I can see problem with delay removal that players that won't press Ready button won't be able to become antags even if they joined first seconds after round start.

So, just press ready button. Even if you don't press it you still can get latejoin antag.

Also, because you roll all antags PrePlayerSpawn late join antags won't spawn because round started already and they don't have spawners.

Yeah, I fixed that.

Imo, antagSelection should have they own delays to give antags to pending players.

That would probably require more messing with wizden code and I don't think it's that necessary.

I really don't think allowing interns to be antag is a bad change.
They are fundamentally "learning" roles, to get your accustomed to a department.
Having a reasonable chunk of your "learning" playtime be "oops actually I'm traitor time to murder" isn't really in line with a learner role.
(However I would be fine with all interns becoming an antag selectable role if we had global playtime requirements for antags (like 10 hours before you can roll at all but I forgor if thats real at all)

I don't think interns should be able to be antags honestly either.

can you make it work with dynamic? @Aviu00

Maybe.

I don't think interns should be able to be antags honestly either.

The point is that learning to play antags is an important part of learning to play ss14. If interns can't roll antags, they are missing an important aspect of the game. I think it's fine if they spend a few rounds as an antag. Also it would be weird if a person wants to play technical assistant but they roll antag before job and are forced to play assistant instead.


meshoptimizer simplifySloppy does size checks with the wrong types and incorrectly reports bad parameters

Environment

LWJGL version: 3.3.0-SNAPSHOT
Java version: Java 16
Platform: Windows
Module: meshoptimizer

Description
meshopt_SimplifySloppy does the following check to ensure that the vertex position buffer is the right size:
check(vertex_positions, vertex_count * vertex_positions_stride); (MeshOptimizer.java:meshopt_simplifySloppy());
The issue, from what I can tell, is that the vertex_positions argument must be a FloatBuffer and therefore returns
the amount of floats remaining when .remaining() is called, while the vertex_positions_stride argument is expected to be in bytes. Therefore, it thinks that there are four times less elements than are needed and it throws the following exception:
 java.lang.IllegalArgumentException: Number of remaining elements is 9723, must be at least 38892
 	at org.lwjgl/org.lwjgl.system.Checks.throwIAE(Checks.java:545)
 	at org.lwjgl/org.lwjgl.system.Checks.checkBuffer(Checks.java:347)
 	at org.lwjgl/org.lwjgl.system.Checks.check(Checks.java:449)
 	at org.lwjgl.meshoptimizer/org.lwjgl.util.meshoptimizer.MeshOptimizer.meshopt_simplifySloppy(MeshOptimizer.java:840)
 	at com.opengg.core/com.opengg.core.model.ModelUtil.autoSimplifyToTargetIndexCount(ModelUtil.java:46)

This is the relevant code in my codebase that reproduces it.
IntBuffer indices = mesh.getIndexBuffer();
FloatBuffer vertices = MemoryUtil.memAllocFloat(mesh.getVertices().size() * 3);
for(var vertex : mesh.getVertices()) {
  vertices.put(vertex.position.x).put(vertex.position.y).put(vertex.position.z);
}
vertices.rewind();

IntBuffer newIndices = MemoryUtil.memAllocInt(targetIndexCount);
var optimizedListSize = MeshOptimizer.meshopt_simplifySloppy(newIndices, indices, vertices, mesh.getVertices().size(), 12, targetIndexCount);

Am I doing something wrong here? I can make a PR to fix it if needed, but I'm not sure if I'm using this wrong.

From what I can see, this is a legitimate bug and you are doing everything correctly, yes.
When looking at the API usage on https://meshoptimizer.org/#simplification it becomes apparent that the vertex_positions_stride parameter is in units of bytes, so:
check(vertex_positions, vertex_count * vertex_positions_stride);

in LWJGL's MeshOptimizer should probably read as:
check(vertex_positions, vertex_count * (vertex_positions_stride >>> 2));

instead.
However, when doing that, we can only have strides that are multiples of 4 bytes, which might be the case anyways when using a FloatBuffer, so it's probably fine.

I believe that meshoptimizer asserts that the stride is divisible by sizeof(float), so only allowing strides with a multiple of four is fine.

@javster101 Thanks!


IAM Role for Service Account(IRSA) support for models stored in S3

/kind feature
Currently, AWS users need to create a secret with long term/static IAM credentials for downloading models stored in S3. Security best practice is to use IAM role for service account(IRSA) which enables automatic credential rotation and fine grained access control
Describe the solution you'd like
Support annotating IAM role in a service account which can be used by storage initializer to download models from S3.
Anything else you would like to add:
It will be super helpful to know the customers/users interested in this feature for appropriate prioritization. Please upvote or comment on the issue if you are interested in this feature
related: https://github.com/awslabs/kubeflow-manifests/issues/44

for reference https://docs.aws.amazon.com/eks/latest/userguide/iam-roles-for-service-accounts-technical-overview.html

Hi, this functionality currently exists but just isn't documented in the KServe guide. However there are some quirks required in order to get kserve to parse the annotations from the secret - an example and reasoning can be found in my comment here. I'm happy to contribute updates to the documentation, but wanted to check with @yuzisun whether it would be worth adding functionality to this code that makes this easier for end users.
A proposed solution could be to explicitly check for the eks role annotation on the service account and then either

also attempt to parse the relevant s3 annotations from the ServiceAccount instead of requiring an attached secret, so that users of IRSA functionality would not need to create the aws-secret resource
OR require the attached secret to have annotations, but add the required env variables to the storage-init container even if the AWS_ACCESS_KEY_ID/AWS_SECRET_ACCESS_KEY data fields are not present

If either of you @yuzisun @surajkota have any thoughts on this approach I'd love to hear them

@matty-rose option 1 sounds reasonable to me, also I think those s3 annotations(e.g s3-region, s3-endpoint/s3-usehttps) are more sensible to be added to the configmap so you do not need to configure for each service account.
In summary for s3 we first look for the IM Role annotation on service account and then check if it is attached with a secret with AWS credential data, the controller then reject the necessary environment variables based on global configurations or annotation overrides if secret presents.

We bumped into this issue as well with KServe 0.6 when trying to access a private bucket with SSE using IRSA only (without any secrets). storage-initialiazer failed with (the rather confusing):
botocore.exceptions.ClientError: An error occurred (AccessDenied) when calling the ListObjects operation: Access Denied

Once we removed the (recommended) bucket policy for allowing only HTTPS requests, storage-initializer failed with:
botocore.exceptions.ClientError: An error occurred (InvalidArgument) when calling the GetObject operation: Requests specifying Server Side Encryption with AWS KMS managed keys must be made over a secure connection.

This is because it ended up using the global HTTP endpoint for S3, that is http://s3.amazonaws.com:
https://github.com/kserve/kserve/blob/cbb93f67a02925eb8b4cb1e8e496f55dd09cdef1/python/kserve/kserve/storage.py#L155
Besides the HTTPS issue described above, storage-initializer will not work in an air-gapped env where we need to access the regional VPC endpoint.
So how about removing the hardcoded default value for the endpoint_url and let boto3 decide S3 endpoint based on its env?
In case of IRSA the pod will get AWS_REGION and AWS_DEFAULT_REGION so boto3 will use the regional endpoint. If the bucket is located in a different region boto3 will handle the redirect automatically. Finally, boto3 will use HTTPS by default. So things will work out of the box.

@dimara thanks for reporting the issue. Are you able to use https://github.com/kserve/kserve/issues/2003#issuecomment-1053530385 as a workaround to override just the s3 endpoint in the serving.kserve.io/s3-endpoint annotation?
Letting AWS SDK decide the default S3 endpoint based on the env seems reasonable to me with the option to override using configmap/secret

@surajkota

as a workaround to override just the s3 endpoint in the serving.kserve.io/s3-endpoint annotation
Since we were using IRSA we wanted to avoid creating dummy secrets and attach them to service accounts.

Letting AWS SDK decide the default S3 endpoint based on the env seems reasonable to me with the option to override using configmap/secret
I agree. The said fix is orthogonal with the PR that @matty-rose opened recently (see https://github.com/kserve/kserve/pull/2373). Will try to send a PR for that.

Feature was reviewed and merged in: https://github.com/kserve/kserve/pull/2373


Appstudio update test-component-pac-bhhz

Pipelines as Code configuration proposal
To start the PipelineRun, add a new comment with content /ok-to-test
For more detailed information about running a PipelineRun, please refer to Pipelines as Code documentation Running the PipelineRun
To customize the proposed PipelineRuns after merge, please refer to Build Pipeline customization

Pipelines as Code CI/test-component-pac-bhhz-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
5 seconds
init

✅ Succeeded
22 seconds
clone-repository

✅ Succeeded
59 seconds
build-container

✅ Succeeded
25 seconds
sast-snyk-check

✅ Succeeded
27 seconds
deprecated-base-image-check

✅ Succeeded
16 seconds
sbom-json-check

✅ Succeeded
4 minutes
clair-scan

✅ Succeeded
48 seconds
inspect-image

✅ Succeeded
56 seconds
clamav-scan

✅ Succeeded
7 seconds
show-sbom

✅ Succeeded
8 seconds
show-summary

Pipelines as Code CI/test-component-pac-bhhz-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
5 seconds
init

✅ Succeeded
20 seconds
clone-repository

✅ Succeeded
7 seconds
sast-snyk-check

✅ Succeeded
22 seconds
build-container

✅ Succeeded
17 seconds
clair-scan

✅ Succeeded
8 seconds
inspect-image

✅ Succeeded
12 seconds
deprecated-base-image-check

✅ Succeeded
41 seconds
clamav-scan

✅ Succeeded
9 seconds
sbom-json-check

✅ Succeeded
7 seconds
show-summary

✅ Succeeded
6 seconds
show-sbom


Keys for First & Last image

I would appreciate if Simple BPG Image viewer has shortcut keys for the first and for the last BPG file inside the browsed folder, for example:

'Home' key navigates to first BPG file inside browsed folder;
'End' key navigates to last BPG file inside browsed folder;

Of course the shortcut keys may be different but for me 'Home' and 'End' keys seem logical (at least on Windows).
A shortcut key for navigating to first/last image inside a folder would be particularly useful if the folder contains many BPG files.

Ok. No problem. This feature will be available at next release (2-3 months, in the existance of free time, cause first of all I need to test packages for all versions of "Bionic Beaver").

@asimba
Thanks.

Done.

@asimba
Thank you for adding keys for first and last image, for me these keys add even more convenience for browsing.

 :)


User inteface

Hai,
The project is really cool, The predicting part is working in the command prompt,now can you tell me how to display it on a screen simultaneously like shown in your video.

When a new prediction is made, the program saves it in the output.txt file. I made a very simple program that reads that file continuosly.
Make sure to set ENABLE_WRITE=True in the start.py module.

We tried doing that. But the file doesn't update the contents
automatically. To see the modified file we need to open and close the file
each time, also when the command 'Enable_ write=true'  is run  it auto
predicts the word "aboveeee".
Can you briefly explain the use of pygarl your new library? Is it more
accurate?
On Sat, Mar 3, 2018 at 8:05 PM, Federico Terzi<EMAIL_ADDRESS>wrote:

Closed #9 https://github.com/federico-terzi/gesture-keyboard/issues/9.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/federico-terzi/gesture-keyboard/issues/9#event-1502538483,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AjBwuEyQT40ulHcnAL3aWYEEe1bgzru4ks5taqokgaJpZM4SZdpp
.


expression validation

there are several TODO tasks with topic LOW:VALIDATION.
Research if validation is required or can be done trough typings. Think about concept on how to validate the input for expressions.

:tada: This issue has been resolved in version 4.1.0-beta.11 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version 5.0.0-beta.1 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version 5.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Resources declared with a {scope} prefix are not detected

In the following swagger spec, the "eventSubscriptions" resource is ignored, even though it can be deployed at a resource group level (in addition to as an extension resource).
EventGrid.json#L698
Note that this may not be fixable in this repo; since it may not be possible to programatically determine whether a given resource is deployable at resource group level.

Fixed with https://github.com/Azure/autorest.azureresourceschema/pull/31

Fixed with https://github.com/Azure/autorest.azureresourceschema/pull/31


Date-disabled not working

hello, please i need help with the datepicker, i need to make sure the user is not able to select a second date greater than the first date , i'm quite new to angular so pls help me if you can :|

You need to implement the date-disabled attribute.
<uib-datepicker ng-model='activeDate' multi-select='selectedDates' date-disabled='disabled(date)'><uib-datepicker>

And in your controller:
$scope.disabled = function(date) {
    if($scope.selectedDates.length > 0)
        if(date > $scope.selectedDates[0])
            return true;
    return false;
}

BTW this really is a question you should post on StackOverflow, since it has nothing to do with this module.

My example won't work- selectedDates isn't updated before the date-disabled function fires. Will release a fix soon.

oh :o much appreciated, thanxs

v1.0.9 resolves the issue. My example should work now. Also changed title to reflect actual issue.

Hi @spongessuck : I'm unable to disable dates.
I've added the attribute 'date-disabled'.
Even when I simply write true in its value, the dates aren't getting disabled.
And I've tried by a function as well.
I tried this in your plunker also.
http://plnkr.co/edit/TKpkDe5I8J7jcET7p7JE?p=preview
But nothing seems to be working.

@techSavvySaahil You're not doing it right.
Your plunker is using UIBootstrap 1.3.3. Somewhere along the line, they changed how date-disabled is configured. You now have to define the function as a property that's passed to datepicker-options. See this plunk for a working example:
http://plnkr.co/edit/N3llBEysR0LWsnefb1wx?p=preview


Deciding on documentation space

We need a central space for documenting topics of this deployment.
I would be happy to hear the team's thoughts here - what's a good, approachable place to put this?

cc @jchristgit @ChrisLovering @MrHemlock @minalike what would be the most approachable spot to find documentation?

Let's use markdown for this, especially with the new flowchart support.

@jb3 will set this up, link and structure it accordingly.

The first thing that comes to mind is Notion. The next thing that comes to mind is static page using GH Pages (never attempted this, so I don't know how involved it is). Lastly, it could just be loose files in a directory on this repo, but that's more difficult to navigate.

Hi @jb3! Any updates on this issue?

if you've got solution ideas i'm happy to have people present and we collectively decide - i just don't have a load of time right now to source those ideas myself and consider all options proportionately

@ChrisLovering @imsofi would be happy to also have your input here!
The new suggestion: markdown documentation built and published using GitHub pages living in the Git repository

Getting some markdown together will be a good start, we can push that to github pages some point after that if needed.

Duplicate of https://github.com/python-discord/infra/issues/113


Hide switch button when not MetaMask

What it solves
An addendum to #2477. Resolves the defect found by @liliya-soroka.
When the wallet isn't MetaMask (and it's the only wallet we know to support chain switching), don't show the Switch Network button.
How this PR fixes it
Checks if the wallet is MetaMask.
How to test it
Connect with some other wallet, the button shouldn't be there.

Works fine.
Tested it with ledger and trezor directly, WC with MM phone app, Coinbase wallet, Portis. None of these shown the Switch network button


implement LKFile

Implement LKFile to get rid of LKCoreFatFs (kept it for now to not break other drivers that use it)

LKFile is now CoreFs::File declared in CoreFs.h.
Add ctor and dtor to open and close the file.
For now, CoreFs is still in drivers folder (moving it to libs is not a big deal).

Last updates :

move LKFile to CoreFs::File
add ctor and dtor to CoreFs::File to open/close
move everything to libs/CoreFsLib


Add support for CentOS 8

CentOS 8 switched to using dnf instead of yum so the yum-cache-reload ruby_block
needs to be updated to use
Chef::Provider::Package::Dnf::PythonHelper.instance.restart on CentOS 8.
In addition, CentOS 8 removes the pygpgme as dnf does not require it so let's
not emit warnings about it on that platform.
NOTE: This will likely fail due to the fact that the test repo does not have an el8 version of the package referenced in the tests.
Signed-off-by: Lance Albertson<EMAIL_ADDRESS>

@jamesgolick @capotej @jmaziarz @ice799 anyway we could get this merged and published soon? Thanks!

@ramereth I think our best bet might be to pull this into sous-chef maintenance as it does not seem to be actively maintained.


Merge to Live form master

Docs Build status updates of commit 48f1e31:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

Odata-docs/TOC.yml
:white_check_mark:Succeeded
View

Odata-docs/changelog/webapi-7x.md
:white_check_mark:Succeeded
View

Odata-docs/client/v6/basic-crud-operations.md
:white_check_mark:Succeeded
View

Odata-docs/concepts/queryoptions-usage.md
:white_check_mark:Succeeded
View

Odata-docs/webapi/first-odata-api.md
:white_check_mark:Succeeded
View

Odata-docs/webapi/first-odata-api/samples/2.2/StarterApp/Controllers/TodoController.cs
:white_check_mark:Succeeded

Odata-docs/webapi/first-odata-api/samples/2.2/StarterApp/Controllers/ValuesController.cs
:white_check_mark:Succeeded

Odata-docs/webapi/first-odata-api/samples/2.2/StarterApp/Models/TodoContext.cs
:white_check_mark:Succeeded

Odata-docs/webapi/first-odata-api/samples/2.2/StarterApp/Models/TodoItem.cs
:white_check_mark:Succeeded

Odata-docs/webapi/first-odata-api/samples/2.2/StarterApp/Program.cs
:white_check_mark:Succeeded

Odata-docs/webapi/first-odata-api/samples/2.2/StarterApp/Startup.cs
:white_check_mark:Succeeded

Odata-docs/webapi/first-odata-api/samples/2.2/StarterApp/TodoApi.csproj
:white_check_mark:Succeeded

Odata-docs/webapi/first-odata-api/samples/2.2/StarterApp/appsettings.Development.json
:white_check_mark:Succeeded

Odata-docs/webapi/first-odata-api/samples/2.2/StarterApp/appsettings.json
:white_check_mark:Succeeded

Odata-docs/webapi/first-odata-api/samples/2.2/TodoApi/Controllers/TodoController.cs
:white_check_mark:Succeeded
View

Odata-docs/webapi/first-odata-api/samples/2.2/TodoApi/Controllers/ValuesController.cs
:white_check_mark:Succeeded

Odata-docs/webapi/first-odata-api/samples/2.2/TodoApi/Models/TodoContext.cs
:white_check_mark:Succeeded

Odata-docs/webapi/first-odata-api/samples/2.2/TodoApi/Models/TodoItem.cs
:white_check_mark:Succeeded

Odata-docs/webapi/first-odata-api/samples/2.2/TodoApi/Program.cs
:white_check_mark:Succeeded

Odata-docs/webapi/first-odata-api/samples/2.2/TodoApi/Startup.cs
:white_check_mark:Succeeded
View

Odata-docs/webapi/first-odata-api/samples/2.2/TodoApi/TodoApi.csproj
:white_check_mark:Succeeded

Odata-docs/webapi/first-odata-api/samples/2.2/TodoApi/appsettings.Development.json
:white_check_mark:Succeeded

Odata-docs/webapi/first-odata-api/samples/2.2/TodoApi/appsettings.json
:white_check_mark:Succeeded

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


Refactor/v1 0 0

Description
Closes #115
Closes #82
Closes #80
Closes #70
Closes #55
Closes #19
Closes #17
Closes #16
Closes #14
Closes #11
Closes #10
Closes #9
Closes #8
In progress.
Type of change

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

How should this pull request be reviewed?

[ ] By commit
[x] All changes at once

How Has This Been Tested?
Please describe the tests that you ran to verify your changes.
Passes Tests

[x] Unit tests (General Environment only) pytest --cov bsk_rl/envs/general_satellite_tasking --cov-report term-missing tests/unittest
[x] Integrated tests (General Environment only) pytest --cov bsk_rl/envs/general_satellite_tasking --cov-report term-missing tests/integration
[x] Examples (General Environment only) pytest tests/examples

Test Configuration

Python:
Basilisk:
Platform:

Checklist:

[x] My code follows the style guidelines of this project (passes Black, ruff, and isort)
[x] I have performed a self-review of my code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[ ] Commit messages are atomic, are in the form Issue #XXX: Message and have a useful message
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works

Will squash changes later, anticipating adding more PRs on review.

Also looking for opinions on what to do with the deprecated folder.

Note to self: Update pages build pipeline, remove version warning on index.rst, and release notes date just before merging.

About the deprecated folder, I don't think we need to keep it in this release, especially considering that some of the code in there might require some changes to work with the updated repo.


Please reopen #4946

Referencing another ticket that a lot of people have commented on recently and trying to have it reopened. So as to avoid duplication, the issue is described in #4946 quite well already.
Thanks for moving this great project forward @jinzhu .

duplicated of https://github.com/go-gorm/gorm/issues/5534


Can Not Show Notification Icons

Hello I just implemented Toasts to my Xamarin Forms Project , everything works fine but the icons are not show up. Should I do something for the Icons ? Is there anyway to do this ?
Thanks.

@sercandumansiz  @EgorBo I also have the same problem.Ever thing works fine but icons are not show up in ios.

@sercandumansiz I solved the problem, In my case, I have just downloaded the images in the Resources/icons folder and it worked. You may also try downloading images in Android-Resources/Drawable and IOS- Resource/icons

I too just manually added the icons in an Icons folder I created. Works great!

@EgorBo I only have the problem on ios...  Can that maybe come to a building failure on your side. Maybe link all problem?

Not longer applicable as Toasts Plugin has been rewritten.
Please file a new issue if you experience an problem with the new version.
More Info: https://xamarinhelp.com/toast-notifications-xamarin-forms/


[docs-infra] Retain side nav animation speed

It's a continuation of #38259 retaining the general design direction of it, while also making it feel consistent between different side nav that have different heights. What do you think, better or worse?
Before 38259: https://64c9260dfe62470008859eb0--material-ui-docs.netlify.app/material-ui/getting-started/
38259: https://deploy-preview-38259--material-ui.netlify.app/material-ui/getting-started/
This PR: https://deploy-preview-38393--material-ui.netlify.app/material-ui/getting-started/

As a related topic, I think it connects back to point 1 in https://github.com/mui/material-ui/pull/38164#pullrequestreview-1549831929.

Reverted with f8a62ea10bf48c2ca27fce8e6360215785307992, we are still iterating on it.


Concept: patterns

This is a WIP first draft. Comments welcome.

BTW I 100% agree that "patterns" are a key concept in AWK, if not the key concept. There's more to the syntax and semantics, but much of it relies on an understanding of patterns


create a second public neurobagel endpoint (API + Graph) and fill it with some data

Steps that need to happen here:
Remote setup

[x] neurobagel/planning#24
[x] #26

Local setup

[x] neurobagel/api#187

@neurobagel/dev

make cloud machine B reachable and run its own API + graph

figure out if we need NGINX for https
if no https, make sure both endpoints can handle http

cloud machine A (with OpenNeuro currently): make a second API + Graph deployment

figure out how we can reach that new API from outside (e.g NGINX updates?, domains?)

@surchs

see if there is an easy way to deploy two endpoints on the same local computer, using basic makefile

@surchs, is this good to close?

Closing as all subtasks are completed


ASRG Website Project - create the tasks and timeline (Discuss on 27 June 2022)

@prabath-asrg  Hey are you available tomorrow to discuss this task ? If yes let me know the time so we can schedule our meeting

@usman-asrg Sure we can schedule a meeting in the evening. BTW I am not fully completed with analysing the site. In terms of UX, there are significant problems to address.

I see... okay then take your time.
We'll do this on next week then...


wis2box-api breaks too easily

If a collection or process is misconfigured in the pygeoapi-config.yml the entrypoint.sh script fails and the wis2box-api container fails to start. This is due to https://github.com/wmo-im/wis2box-api/blob/9032a79981098ac368baab3dd9eae1d636677c5c/docker/entrypoint.sh#L61 and the generation of the openapi-config.yml file.
This makes it challenging for users to maintain their collections (and any process plugins), with the container broken on restart if an error is made. This is unnecessary and could be avoided by providing a default openapi-config.yml and updating the openapi-config.yml manually. Instructions are provided as part of pygeoapi: https://docs.pygeoapi.io/en/stable/administration.html#creating-the-openapi-document and this could be part of the system configuration instructions / steps.
Proposed solution:

Include default openapi-config.yml document in the repository / container image.
Remove generation of openapi-config.yml from the entrypoint.sh.
Include instructions on updating the openapi-config.yml file in the wis2box documentation (incl. validation).
Update management container to update the openapi-config.yml when a new collection is added via the metadata editor.

@david-i-berry do we have an example of a misconfigured collection or process?  We can also look into the root cause of such misconfiguration.
Having said this, canning the OpenAPI document is a common pattern for deployments whose configurations only change on a release.

@tomkralidis @maaikelimper bumping this issue again.
By canning do you mean throwing away or having a pre canned version of the file? I was interpreting canning as throwing away.

Sorry @david-i-berry pre canned (as opposed to binning :) )

I'd like to argue that this issue was (partially) fixed with https://github.com/wmo-im/wis2box/pull/722
This PR was made to fix https://github.com/wmo-im/wis2box/issues/718
@david-i-berry do you agree to close this issue ?


🐛 Update ns length in klusterlet to 57

This is because we will also create a ns
with -addon postfix

Summary
Related issue(s)
Fixes #

/lgtm


⚠ Bofrost.de has degraded performance

In de13aa3, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 835 ms

Resolved: Bofrost.de performance has improved in c38d280 after 6 minutes.


[WIP] Distributed search tree

TODO

[ ] cherry pick commits that enable use of BVH with zero or one object (resolving #271)
[ ] a lot of cleanup to do...
[ ] integrate tests that Bruno has implemented that compare results with Boost Rtree.

@Rombur am I going to create a bunch of conflicts with your test if I rewrite history?

@dalg24 No it's fine my test is self-contained.

Codecov Report

Merging #272 into master will increase coverage by 0.68%.
The diff coverage is 98.5%.

@@            Coverage Diff             @@
##           master     #272      +/-   ##
==========================================
+ Coverage   94.82%   95.51%   +0.68%
==========================================
  Files          53       57       +4
  Lines        2940     3341     +401
==========================================
+ Hits         2788     3191     +403
+ Misses        152      150       -2

Impacted Files
Coverage Δ

packages/Search/src/DTK_LinearBVH_decl.hpp
100% <ø> (ø)
:arrow_up:

...kages/Search/src/DTK_DistributedSearchTree_def.hpp
100% <100%> (ø)

...ages/Search/src/DTK_DistributedSearchTree_decl.hpp
100% <100%> (ø)

packages/Search/src/details/DTK_DetailsBox.hpp
100% <100%> (+15.78%)
:arrow_up:

packages/Search/test/tstDistributedSearchTree.cpp
97% <97%> (ø)

packages/Search/src/details/DTK_DetailsTmp.hpp
99.53% <99.53%> (ø)

... and 2 more

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 b73ff2a...b8bf379. Read the comment docs.

Ready for review

LGTM

@Rombur I resolved the issue with includes.
@sslattery plz approve the changes


More control over log verbosity

Follow-up from https://github.com/roboll/helmfile/issues/79#issuecomment-378544353
The use case in that comment could be solved by defining and hiding secret variables, but @mumoshu suggested more control over logging such as trace, debug, info, warn, error would be useful.
For example, when creating or troubleshooting a helmfile having more verbose output is useful. In contrast if you're deploying a large production system with many charts you might prefer reduced output to summarise the deployment status of each chart.
At present there are two logging levels, normal which prints the helm command and all output, and quiet which hides everything including the output of helm.

Yes, this is an issue for me too. I need to pass --quiet, otherwise, all secrets are output in the logs due to the output of exec: .... with --set parameters.  But what I really want is to see the output from helm without the exec.  Thus, I support some sort of --log-level argument of which the exec: ... should be debug.

I've looked into possible libraries for this. glog seems overly focussed on low-level logging, for example it defaults to logging to a file and there's no way to send logs to stdout, only stderr.
go.uber.org/zap looked more promising, you can configure stdout or stderr logs, and it provides an optional global logger zap.S().Info(...). See https://github.com/manics/helmfile/commit/a515de458171757d866bdc7a3503664f8ddd2847 for my an initial example.

@mumoshu in principle does using go.uber.org/zap sound OK to you? If so I'll do more investigation/coding.

@manics Sorry for the delayed response! Yes, I'm fine with any logger as long as it is "leveled", and I have no desire to introduce loggers with rich sets of outputs(like logrus). That being said, I'm fine with zap.


[TC-TIMESYNC-2.8] - python script is failing at Test Step 11

Reproduction steps
Setting up the environment :
Step 1 : cloned Connectedhomeip using mentioned command : git clone https://github.com/project-chip/connectedhomeip.git
step 2 : cd connectedhomeip
step 3 : pulled latest commit
step 4: source scripts/bootstrap.sh
step 5 : ./scripts/build_python.sh --install_virtual_env build-env
step 6 : source scripts/activate.sh
executed the below mentioned command to put DUT into a commissionable state,
./chip-all-clusters-app
Once DUT reach the commissionable state sent below mentioned command on TH.
rm -f admin_storage.json && python3 src/python_testing/TC_TIMESYNC_2_8.py --discriminator 3840 --passcode 20202021 --commissioning-method on-network --storage-path admin_storage.json
Bug prevalence
Everytime
GitHub hash of the SDK that was being used
d55f68526864b2986404d1da9c2ccd8b64735b6e - master
Platform
raspi
Platform Version(s)
RPI4 8GB RAM
Anything else?
Test case is failing while reading LocalTime attribute at step 11

[1688735161.021357][26403:26406] CHIP:IN: (S) Sending msg 201636184 on secure session with LSID: 51720
[MatterTest] 07-07 18:36:01.022 ERROR Exception occurred in test_TC_TIMESYNC_2_8.
Traceback (most recent call last):
  File "/home/grl/Master/connectedhomeip/build-env/lib/python3.10/site-packages/mobly/base_test.py", line 783, in exec_one_test
    test_method()
  File "/home/grl/Master/connectedhomeip/src/python_testing/matter_testing_support.py", line 935, in async_runner
    return asyncio.run(body(*args, **kwargs))
  File "/usr/lib/python3.10/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "/usr/lib/python3.10/asyncio/base_events.py", line 646, in run_until_complete
    return future.result()
  File "/home/grl/Master/connectedhomeip/src/python_testing/TC_TIMESYNC_2_8.py", line 109, in test_TC_TIMESYNC_2_8
    compare_time(received=local, offset=timedelta(), tolerance=timedelta(seconds=5))
  File "/home/grl/Master/connectedhomeip/src/python_testing/matter_testing_support.py", line 193, in compare_time
    delta_us = abs(expected - received)
TypeError: unsupported operand type(s) for -: 'float' and 'Nullable'
[MatterTest] 07-07 18:36:01.024 INFO [Test] test_TC_TIMESYNC_2_8 ERROR
[MatterTest] 07-07 18:36:01.029 INFO Summary for test class TC_TIMESYNC_2_8: Error 1, Executed 1, Failed 0, Passed 0, Requested 1, Skipped 0
[MatterTest] 07-07 18:36:01.030 INFO Summary for test run MatterTest@07-07-2023_18-35-45-698:
Total time elapsed 15.331480133001605s
Artifacts are saved in "/tmp/matter_testing/logs/MatterTest/07-07-2023_18-35-45-698"
Test summary saved in "/tmp/matter_testing/logs/MatterTest/07-07-2023_18-35-45-698/test_summary.yaml"
Test results: Error 1, Executed 2, Failed 0, Passed 1, Requested 2, Skipped 0
[1688735161.031149][26403:26406] CHIP:SC: SecureSession[0x7fbda80645d0, LSID:51720]: State change 'kActive' --> 'kPendingEviction'
[1688735161.031186][26403:26406] CHIP:FP: Forgetting fabric 0x1
[1688735161.031200][26403:26406] CHIP:TS: Pending Last Known Good Time: 2023-07-07T17:28:18

PFA log below
[TC-TIMESYNC-2.8].txt

https://github.com/project-chip/connectedhomeip/pull/27545/files


feat: added dashboard UI

Please make sure these boxes are checked before submitting your pull request - thanks!

[x] Run the unit tests with ./gradlew check to make sure you didn't break anything

[x] If you have multiple commits please combine them into one commit by squashing them.

@therajanmaurya  should i include drawerlayout

Yes, Include the drawer too

@therajanmaurya  done please review again


Unable to create k8s cluster

Error "mapper.constraints[constraintType].split is not a function" occurred in serializing the payload - {
  "location": "westus",
  "dnsPrefix": "dnsprefix1",
  "agentPoolProfiles": [
    {
      "name": "nodepool1",
      "vmSize": "Standard_B2s"
    }
  ],
  "addonProfiles": {},
  "enableRBAC": false
}.
    at ManagedClusters._beginCreateOrUpdate (./node_modules/azure-arm-containerservice/lib/operations/managedClusters.js:1744:30)

Caused by this line: https://github.com/Azure/azure-sdk-for-node/blob/master/runtime/ms-rest/lib/serialization.js#L160
Regexp is not a string:
https://github.com/Azure/azure-sdk-for-node/blob/master/lib/services/containerservicesManagement/lib/models/managedClusterAgentPoolProfile.js#L153

Fixed in 2.5.1 - https://www.npmjs.com/package/ms-rest/v/2.5.1


Additional assertion methods

The basics are included, but the more the merrier. Any ideas for new assertion methods are welcome.

was thinking of contains which acts in the opposite way that is_substring_of does.
Example assert "hello world" contains "hello"

Good idea, I'll add it to v0.8.1


Getting rid of contact form

I'm trying to get rid of the contact form and have a<EMAIL_ADDRESS>type of link.
Tried to modify this section:
[[menu.main]]
identifier = "contact" # identifier is use for translations
pre = "" # pre is inserted before the translation (icons, image, etc)
url = "/#contact"
weight = 30

by changing url part to<EMAIL_ADDRESS>but that's wrong I get<EMAIL_ADDRESS>What's the proper way to add links to the top menu?

This configuration section configure the top right corner menu. The URL correspond to the anchor URL. If you want to edit the contact form you must edit the according widget.
If you want to edit the contact form, you can use the contact.md of the example site as a base and edit it.


feat: adding assert/has-same-constructor

Resolves #815
Description

What is the purpose of this pull request?

This pull request:

Adds the package @stdlib/assert/has-same-constructor.

Related Issues

Does this pull request have any related issues?

This pull request:

Resolves #815 .

Questions

Any questions for reviewers of this pull request?

No.
Other

Any other information relevant to this pull request? This may include screenshots, references, and/or implementation notes.

No.
Checklist

Please ensure the following tasks are completed before submitting this pull request.

[x] Read, understood, and followed the contributing guidelines.

@stdlib-js/reviewers

Thanks for your suggestions @kgryte, I have made the suggested changes.


Adil's tests

Coverage increased (+0.05%) to 89.431% when pulling 37564c268a0cdf90d9228c89efcc5ac6f278461d on adileyzekmoon:master into f281211a09d9e3941403e33ad4165dde631d41e2 on CS2103AUG2017-T12-B1:master.


Changes to bowling

Work in progress. Eventually should fix #80

Looks pretty good to me, big +1 for changing the exception to a data type.
The bowling.mli is missing an import for result by the looks of the failing test.

@tmcgilchrist thanks, I will look into the import issue, alongside the incorporation of all the tests

I would suggest using int Or_error.t = (int, Error.t) result instead of (int, string) result.  Error.t is basically like a wrapper around strings but is better suited for error handling due to lots of convenience functions (such as getting backtraces).

We should probably update the canonical data to include the error message if we go for a Result.t return type.

@bcc32 @stevejb71, both are good suggestions. Maybe best to have a working solution before we adopt it.
I will see if I can find the time to implement the last stretch.
And it would be nice to use thee generator too

Hi @dvberkel - do you want me to finish off this one? I wrote the original exercise example so it may be easier for me.

@stevejb71 please do. I am a bit swamped in work.
Will try to contribute again soon.

Fixed by #179


Aggregate environment metrics over wider history

This ticket was created by splitting off the last bullet point from https://github.com/inmanta/inmanta-core/issues/6051 into a separate ticket.

My opinion: The time between two datapoints on the web-console is currently 12 hours. As such, the graph follows a zigzag pattern, due to the difference in load between day and night. Having a sliding window of 24hours would resolve that problem. It makes the graph more smooth, but at the same time we lose precision.


Release Camunda Modeler 1.6.0

[x] make sure dependencies are released (rm -rf node_modules && npm i && npm run all works)
[x] smoke test to verify all diagrams can be created
[x] semantic release (grunt release {minor|major|patch})
[x] wait for CI infrastructure to build the release
[x] execute integration test on released artifacts

[x] Works on my machine
[x] Works on Windows

[x] write blog post on blog.camunda.org
[x] update download version on camunda.org
[x] spread the word

[x] ping Michael (customer mail)
[x] tweet

Blog post to be merged: https://github.com/camunda/blog.camunda.org/commit/5f7e8ee75557e06f5a72517c161c2be17a8fafa0

I am confused ... the 1.6.0 was already published for homebrew-cask ... https://github.com/caskroom/homebrew-cask/pull/28529/commits/2d62659bb715300a489fd599f2ef3af1b0c8a3cb
Do you have an automated process now or is there just another brew-fan out there? @Colindunn

I found this one while doing my usual cask crawls and updated it. Sorry, didn't realize that it was actively being maintained so will leave it alone in future.

Oh no, you misinterpretated ... I was discussing with the camunda guys if its possible to integrate the brew release into the regular release build ... and I was confused if that already happened.
I am glad if you are interested in helping maintaining it while there is no automation .... lets just agree to leave a note on the "release" issues in this repo to avoid redundance, ok?

Sure @jangalinski I'll make a note


Auto-complete to missing notes

Please Select if your Request is Either something new or an Enhancement

[X] Enhancement of an existing Feature.
[ ] Request of a new feature.
wo

Please select the area your request applys to. (Multiple selections are Possible)

[ ] Onboard. Initial vault setup and import/export pods
[X] Create. Note creation, lookup, snippets and templates
[X] Retrieve. Backlinks, references, graph view
[ ] Structure. Refactoring, multi-vault and schemas
[ ] Publish. Sharing your repo with the world
[ ] Misc (Choose this if your not sure)

Is your feature request related to a problem? Please describe
Not really.
Describe the solution you'd like
Auto-complete of links ([[link]]) does not include links to pages that do not exist yet. In other words, if one page references [[something]], I would expect that once I type [[some elsewhere, the auto complete would show me something among proposals even though that page does not exist.
Describe alternatives you've considered
Command createMissingLinkedNotes can be considered, but it will result in creating plenty of unnecessary pages that do not need any content. This is even more true if an original link would seize to exist.
The way I see it, there are such scenarios where the usability of certain pages is proved only once they prove to be popular.
I believe it is even more important when pages are used as "tags". It seems to be a popular concept among Obsidian users.
Additional context
This is a feature that can be found in tools like Obsidian or logseq.
It would be interesting to see the count of links to pages that do not exist yet.

Thank you for submitting the issue.
This sounds like a useful feature! We'll definitely track this and see what we can do about it.
Pinging @SeriousBug for completion provider related enhancement.

Curious to know if there is any update on this.


Crash when dragging the app to another monitor screen.

Describe the bug
When the other monitor has another scaling setting than the originating monitor, the app crashes when moving it to the other monitor.
Steps to reproduce the bug

Make sure the scaling settings of the two screens are different
Move the app to another monitor.
Silent crash

Expected behavior
No crash.
Version Info
NuGet package version:
WinUI 3 - Windows App SDK 0.8: 0.8.3
Windows app type:

UWP
Win32

N/A
Yes

Windows version
Saw the problem?

May 2021 Update (19043)
Yes

Device form factor
Saw the problem?

Desktop
Yes

@gegao18 and @codendone FYI

Event log details for this crash:
Logboeknaam:   Application
Bron:          Application Error
Datum:         13-9-2021 10:00:57
Gebeurtenis-id:1000
Task category: (100)
Niveau:        Error
Keywords:  Classic
User:     n/a
Computer:      ...
Description:
Application name with error: Xelion.exe, version: <IP_ADDRESS>, time stamp: 0x60c8ffcb
Name of module with error: Microsoft.UI.Xaml.dll, version: <IP_ADDRESS>8, time stamp: 0x9712de3e
Exception code: 0xc0000005
Error marge: 0x0021e93f
Id pf process with error: 0x5414
Start time of application with error: 0x01d7a86e8aee7884
Path to application with error: C:\Program Files\WindowsApps\782b3c9d-7e38-4cce-8d9a-04a5aeb8c2b9_8.0.21092.0_x86__yxe4w77fgw9tc\Xelion-Desktop\Xelion.exe
Path to module with error: C:\Program Files\WindowsApps\Microsoft.ProjectReunion.0.8_8003.236.617.0_x86__8wekyb3d8bbwe\Microsoft.UI.Xaml.dll
Rapport-id: 25cbb195-cf2c-4ea7-8994-ada5c7737033
Package name with error: 782b3c9d-7e38-4cce-8d9a-04a5aeb8c2b9_8.0.21092.0_x86__yxe4w77fgw9tc
Relative application id of package with error: App
Event-XML:

1000
0
2
100
0
0x80000000000000

63772

Application
LAPTOP-PETER.xelion.nl

Xelion.exe
<IP_ADDRESS>
60c8ffcb
Microsoft.UI.Xaml.dll
<IP_ADDRESS>8
9712de3e
c0000005
0021e93f
5414
01d7a86e8aee7884
C:\Program Files\WindowsApps\782b3c9d-7e38-4cce-8d9a-04a5aeb8c2b9_8.0.21092.0_x86__yxe4w77fgw9tc\Xelion-Desktop\Xelion.exe
C:\Program Files\WindowsApps\Microsoft.ProjectReunion.0.8_8003.236.617.0_x86__8wekyb3d8bbwe\Microsoft.UI.Xaml.dll
25cbb195-cf2c-4ea7-8994-ada5c7737033
782b3c9d-7e38-4cce-8d9a-04a5aeb8c2b9_8.0.21092.0_x86__yxe4w77fgw9tc
App

I believe this issue is fixed in yesterday's 0.8.4 release. There was a problem with image reload happening when the monitor scale factor changes.
If you still see this on 0.8.4, please reactivate and attach a native callstack.

The crash has been solved. Thank you.
Unfortunatelty, now we get strange resizing artifacts when dragging the app to another monitor screen. But it is definitely better than crashing.

Unfortunately there is still a crash when moving to another monitor. The window is not resized (very small), and if the user resizes the window manually on the new monitor, there is a short freeze and then a crash.

Sounds like possibly a new issue there. If you agree, can you open a new issue for that? A native callstack of the crash would be helpful for triage.


Feature Request - A Custom Specific Item Loads a Specific Structure

The idea is similar to Foxynotails Markers Pack Resource Pack, where with that pack the overlay only displays when an armor stand has a banner equipped.
Request: Have an option to pick any item as the "banner" to load a specific structure so multiple Structura packs can be loaded at once.
Examples: I can select Deepslate Bricks for a Deepslate Temple, Cherry Planks for a Cherry wood House, Bamboo for a Bamboo farm, Iron Ingot for a Iron farm etc...

Name takes in advanced mode. I don't have a ui forb items and want to
reserve that for future use
On Wed, Aug 16, 2023, 7:06 PM Ryank414 @.***> wrote:

The idea is similar to Foxynotails Markers Pack Resource Pack
https://foxynotail.com/resource-packs/markers, where with that pack the
overlay only displays when an armor stand has a banner equipped.
Request: Have an option to pick any item as the "banner" to load a
specific structure so multiple Structura packs can be loaded at once.
Examples: I can select Deepslate Bricks for a Deepslate Temple, Cherry
Planks for a Cherry wood House, Bamboo for a Bamboo farm, Iron Ingot for a
Iron farm etc...
—
Reply to this email directly, view it on GitHub
https://github.com/RavinMaddHatter/Structura/issues/200, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABBUC5EEN7JT3O2SOR6ZURDXVV4CDANCNFSM6AAAAAA3TLD7IQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Where to get full code on components part ?

Thank you very much for your incredible work !
A question : where is the full code for components ?
When cloning the repo :

Inside https://flutter.github.io/samples/web/material_3_demo/#/ there are more components

Thank you very much !

Here https://github.com/flutter/samples/blob/main/material_3_demo/lib/component_screen.dart

Now check it out I have updated with new components.
Thanks


Algorithms - Bit Manipulation

Can I work on these problems in Java

Lonely Integer
Sum vs XOR
Maximizing XOR

Can I work on them in c++?

I can do it in python. Please assign it to me.


View Clips gallery should remember previous scroll position when exiting / entering the view.

Current behavior on small browser window / mobile device:

Open up a camera's Clip gallery that contains a large number of items that you must scroll, and click to view one. Try the one at the most bottom of the list.
Now go back to clip gallery, you have to start at the top again, without no visual aid showing what clip you clicked on.

New behavior:

Open up a camera's Clip gallery that contains a large number of items that you must scroll, and click to view one. Try the one at the most bottom of the list.
Now go back to clip gallery, the clip you have previously selected is highlighted, and scroll-to-center'ed for you.

This behavior already exists for "Media Player". Clicking on a clip in Clip Gallery with any of "Media player's" thumbnail options enabled highlights the clip and scrolls it for you, it would be great to see this behavior also implemented into Clip Gallery.

Clarification: Should it remember the scroll position specifically, or just make sure the selected item (if present in the gallery -- which it make not be!) is selected? I think it's more about the selection that the scrolling, per se?
When the gallery is loaded, it fetches the last 50 items (roughly, it's more complicated!). What should happen if you had previously drilled down (e.g. Month -> Day -> Person) in the gallery, then viewed one of those clips? Would you expect the gallery to subsequently show you the same 'drilldown folder' you were previously looking at, or start from the 'top' of the folder hierarchy and just select the media if it happens to still be in the most recent?

This behavior already exists for "Media Player". Clicking on a clip in Clip Gallery with any of "Media player's" thumbnail options enabled highlights the clip and scrolls it for you, it would be great to see this behavior also implemented into Clip Gallery.

I don't quite follow what you mean here, can you give me a screenshot or something to illustrate? (If I understood correctly above, it's fine!)

In the following video i have the Clips Gallery open (pretend its a big list of say 50 items) :

scroll down to the last card and select it to view the video
after viewing the video i click back to the Clip Gallery, i have to scroll and find the item again.
https://user-images.githubusercontent.com/57186372/198859419-982b482e-ae21-4197-8ab5-63825621cb4e.mp4

In this video it shows that auto select & scroll behavior is already implemented for sidebar clips:
https://user-images.githubusercontent.com/57186372/198859528-5f5c34f0-4b32-4c2e-8719-e15998ae2d7b.mp4
I feel like it would be nice to have this behavior for the Clips Gallery menu too.

[Finally get around to this]
Maybe there's a choice here:

Implement as described. When you click to go to the events gallery in the menu, it remembers the previous query and positions the view where you were. This has the disadvantage (IMO) that it does not necessarily show up the fresh events that just happened, i.e. it's not a clean fresh query and may leave you in the "middle" of a load of old events.
Add a new button that renders on top of the media (e.g. above the next or previous chevrons) that when clicked returns to the gallery with that same media centered. And in this case, it would scroll to the selected item.
Maybe there are other ideas ...

@spacebares What do you think?
@felipecrs may also have an opinion.

How about a mix of option 1 and 2?
Instead of rendering yet another button, if clicking the media gallery button WHEN the media is already visible, it shows the media gallery with the media highlighted (or as you suggested in option 2).
Wherever other situation, like when in the media gallery itself, clicking its button would return to a fresh view.

Good idea! Done.


Ledger integration

Allow the user to connect to a Ledger device to sign and cosign transactions.

In dev


Correction for raw affiliation Neurchirurgie, Hotel-Dieu de France, Beyrouth, Liban

Correction needed for raw affiliation Neurchirurgie, Hotel-Dieu de France, Beyrouth, Liban
raw_affiliation_name: Neurchirurgie, Hotel-Dieu de France, Beyrouth, Liban
new_rors: 04w1m5n60
previous_rors: 03jmjy508
works_examples: W4311983103

This issue was accepted and ingested by the OpenAlex team on 2024-10-10. The new affiliations should be visible within the next 7 days.


Feat: Add User Activity Table for BCeID and IDIR Users - 177, 189

This PR adds the user activity table for both BCeID and IDIR users on the View User page.
It also includes improvements such as:

Added admin adjustment history records on the 'dev' environment.
Fixed validation error message for quantity and agreement date in the New Transfer page.

Closes #177
Closes #189

Thanks, Alex, for your feedback. I’ve added the note we discussed earlier, along with both front-end and back-end tests.


Drop problematic out-of-order blocks from cloud storage

Is your proposal related to a problem?
Thanos compactor is halted when blocks are out of order:
Oct 12 09:53:21 REDACTED thanos-compactor[169890]: ts=2023-10-12T09:53:21.897360582Z caller=http.go:110 level=info service=http/server component=compact msg="internal server is shutdown gracefully" err="error executing compaction: compaction: group 0@4118268881288195826: blocks with out-of-order chunks are dropped from compaction:  REDACTED/0@4118268881288195826/01HB5ZXZE6W03HC04ATV6SCY04: 110/276154 series have an average of 1.027 out-of-order chunks: 0.000 of these are exact duplicates (in terms of data and time range)"

Describe the solution you'd like
Can we have an opt-in option to automatically drop the block 01HB5ZXZE6W03HC04ATV6SCY04 as example in order to make the compactor run properly in the next runs?
I didn't saw any time difference between our servers so I manually removed problematic blocks. We have like 12 platforms so 12 buckets so I needed to drop X blocks in each of buckets.
Everything is now working properly and dropping a few blocks is not a problem at all for us.
Thx.

So I wrote a script to make the cleaning.

I only found out about it myself recently when dealing with halted compaction:
There is a hidden flag --compact.skip-block-with-out-of-order-chunks. If I understand it correctly, if such block is detected, it will be marked for deletion. However, such blocks shouldn't happen in normal operation, so I'd enable it to fix the problem, and once the blocks have been deleted, remove the flag.

@mrliptontea thanks for sharing. I'll check and give a try.

Alright I'll close this issue as the option is here.


'FinalModelATC' object has no attribute 'feature_ranges'

I'm trying to run your "Getting Started" example on the numerai training data and getting the following error:
AttributeError                            Traceback (most recent call last)
<ipython-input-39-aab5c9ba7e0f> in <module>()
      6 # Can pass in type_of_estimator='regressor' as well
      7
----> 8 ml_predictor.train(df_dict)
      9 # Wait for the machine to learn all the complex and beautiful patterns in your data...
     10

/Users/alex/anaconda/envs/dsi/lib/python2.7/site-packages/auto_ml/predictor.pyc in train(***failed resolving arguments***)
    553
    554
--> 555         self.perform_grid_search_by_model_names(estimator_names, scoring, X_df, y)
    556
    557         # If we ran GridSearchCV, we will have to pick the best model

/Users/alex/anaconda/envs/dsi/lib/python2.7/site-packages/auto_ml/predictor.pyc in perform_grid_search_by_model_names(self, estimator_names, scoring, X_df, y)
    671
    672             if self.ml_for_analytics and model_name in ('LogisticRegression', 'RidgeClassifier', 'LinearRegression', 'Ridge'):
--> 673                 self._print_ml_analytics_results_regression()
    674             elif self.ml_for_analytics and model_name in ['RandomForestClassifier', 'RandomForestRegressor', 'XGBClassifier', 'XGBRegressor', 'GradientBoostingRegressor', 'GradientBoostingClassifier']:
    675                 self._print_ml_analytics_results_random_forest()

/Users/alex/anaconda/envs/dsi/lib/python2.7/site-packages/auto_ml/predictor.pyc in _print_ml_analytics_results_regression(self)
    770             trained_coefficients = self.trained_pipeline.named_steps['final_model'].model.coef_
    771
--> 772         feature_ranges = self.trained_pipeline.named_steps['final_model'].feature_ranges
    773
    774         # TODO(PRESTON): readability. Can probably do this in a single zip statement.

AttributeError: 'FinalModelATC' object has no attribute 'feature_ranges'

Are you familiar with this type of issue?

thanks for filing! i do know that issue, and thought i'd squashed it already. give me a minute to check on that, and fix it if it's still bugging.

yep, found the bug. i wasn't thorough enough when squashing it last time. i'll have a fix out shortly.

Thanks, I'm looking forward to being able to try out auto_ml.

just pushed the fix! i'll publish to pypi later tonight probably with a slew of other updates i'm making. but you can pull down from github for now.

thanks again for filing this bug!
i'm honestly surprised the test_script runs at all. i haven't touched that in months, and the project's gone through some pretty significant performance tuning and new feature additions since the initial launch.
if you're up for it, i'd love a copy of your code to use as a quick example to show people how it's used! it shouldn't take nearly as many lines of code as test_script.py makes it seem.

For my initial attempt, I was just using the example you provided in the documentation (rather than the code in test_script.py):
from auto_ml import Predictor

col_desc_dictionary = {'target': 'output'}

ml_predictor = Predictor(type_of_estimator='classifier', column_descriptions=col_desc_dictionary)
ml_predictor.train(df_dict)
ml_predictor.predict(tournament_dict)

Thanks to the build you just pushed, the code works for me now (although I'm encountering trouble with other features like predict_proba—you may see me raise another issue.)
If you'd like to see my equivalent for test_script.py, I'd be happy to provide it to you.
It should be quite short, as you predicted.

ooh- i'd love to hear the issue you're running into with predict_proba! and to see your example script. thanks for the feedback so far.

My example script looks a bit like this:
import pandas as pd
from sklearn.cross_validation import train_test_split
from auto_ml import Predictor

df = pd.read_csv('your/path/to/numerai_training_data.csv')

training_data, testing_data = train_test_split(df, test_size=.2)

ml_predictor = Predictor(type_of_estimator='classifier', column_descriptions={'target': 'output'})
ml_predictor.train(training_data)

X_test = testing_data.drop('target', axis=1)
y_test = testing_data['target']
print(ml_predictor.score(X_test, y_test))

I didn't even know auto_ml could take dataframes until I saw test_script.py—that seems to be a (very useful) undocumented feature.
Unfortunately I only get a score of about -0.25 on the current numerai training data (even when I change the test set size), but if you have any suggestions I'd be very interested.

@akodate: ah, crap- i hadn't realized that most people are probably interpreting the score for classifiers as accuracy, rather than the brier-score-loss.
i've been wanting to improve our scoring logging for a little while now, but this gives me all the impetus i need. i'll try to get that clarification pushed this weekend!
the numer.ai dataset is a bunch of stocks, so every percentage point of accuracy above 50% is a huge bump. but that said, you should be seeing some improvement above 50%. again though, the default scoring metric reported on is brier-score-loss, not accuracy.


Support for Adobe Reader

Will Adobe Acrobat Reader ever be an enlightened app?

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

ID: b5ed0150-0172-f3ad-3c7f-3a7141efbe64
Version Independent ID: 6a978d2b-a0ff-1052-ce00-06f02f30cfa1
Content: List of enlightened Microsoft apps for use with Windows Information Protection (WIP) (Windows 10) - Microsoft 365 Security
Content Source: windows/security/information-protection/windows-information-protection/enlightened-microsoft-apps-and-wip.md
Product: w10
Technology: windows
GitHub Login: @DulceMontemayor
Microsoft Alias: dansimp

@avbski12
The issues section of this repository is intended for documentation and content-related issues.
Please open a support ticket via the link below so that that your question gets answered quickly.
Windows 10 Support
Thank you.


Add IdeaVim to the list of other text editors

Hi! Thank you for the awesome plugin for vim.
Some time ago support of vim-exchange was added to IdeaVim plugin. Since you're collecting the list of vim-exchange ports, I believe that IdeaVim can now also be listed there.

Cool, thanks!


Why AvgPool2d instead of AdaptiveAvgPool2d for ResNet?

Hi
Thank you for sharing this project with us! I am curious why did you change the default AdaptiveAvgPool2d of ResNet to AvgPool2d. How does this change affect the performance?
Your AvgPool2d layer:
https://github.com/HobbitLong/CMC/blob/master/models/resnet.py#L124
Pytorch's AdaptiveAvgPool2d layer:
https://github.com/pytorch/vision/blob/master/torchvision/models/resnet.py#L153

Hi, @chihyaoma ,
AvgPool2d is used in previous version of Pytorch's official implementation. Now they switch to AdaptiveAvgPool2d. I guess it's essentially the same, please correct me if I am wrong.

No, it might only be the same for your current code since you resize the input data to 224x224 pixels.
The adaptive version ensures a predefined output shape whereas the normal version just pools the input features according to kernel size and stride.
This can be very handy for changing the input resolution of the image with keeping the output feature size the same.

Hi, @IgorSusmelj ,
Thanks for pointing this out. That's what I mean, since the standard input is 224x224, then the size before the final pooling layer is always 7x7. Then in this case, both are essentially the same. It might be different in other case though.


Add Python 2 EOL note for python2*.json

Python 2 is EOL. Scoop developers should add a notice for all Python 2 packages.

Please make a PR for the same


Tweak block explorer tooltip

The tool tip text should briefly explain what a block explorer is, and link out to a definition of the term (instead of a block explorer directly). The external link should open in a new window. This is on the chapter 1, challenge 1 page.

Also, the button should only stretch the full width on mobile. On desktop, it should hug its content (with appropriate padding) (same goes for the button in the transacting challenge).

There are two items in this issue:

[ ] Update tool tip
[ ] The button should only stretch the full width on mobile. On desktop, it should hug its content (with appropriate padding) (same goes for the button in the transacting challenge).

Assigning this to myself just like #182 because our current translation system only allows for the tooltip target itself to be a link, so the words "block explorer" in this case. If we want a link inside of the tooltip window, we need some changes to the translation system, which I don't think is a good first issue 😁.

Thanks for taking this kevin!

Moving the second part of this issue (about the button width) to a new one.


Release to Kinetic

Even though I understand a full official release of Baxter for Kinetic has its own timeline, delays, and internal Rethink testing requirements, I think you guys should go ahead and released baxter_description into Kinetic so that, at least in simulation, Baxter can be easily used in the latest LTS. We also need this in the moveit_robots repo for Kinetic, where baxter_moveit_config lives. Currently our Travis build for that repo is failing because of that missing dependency.

baxter_simulator and baxter_moveit_config need to be tested (and updated) to release in Kinetic. The current development focus is Sawyer SDK. Can we decouple baxter_moveit_config from moveit_robots to unblock releasing the other robots into Kinetic?

Yes, but releasing just the URDF package should be no problem - like 10 minutes of using bloom.

Most of baxter users use indigo, and RethinkRobotics officially supports indigo, hydro and groovy.
Is it necessary to release Kinetic baxter_moveit_config package?
There are few baxter users with kinetic, and it is not officially recommended.
The idea to separate baxter_moveit_config from moveit_robots sounds good to me (it's just an opinion)

I'm only suggesting to release baxter_description.
I've been using Baxter on Kinetic for 4 months now, with MoveIt! - it works great https://www.youtube.com/watch?v=Tw3qOeOAKlc

i didn't know that some baxter use kinetic version.
it was my misunderstanding, i'm sorry for that.
(BTW, your video is really cool!)

Any tips on getting baxter to work with moveit on kinetic? I've managed to get the latest sdk compiled and can use the standard rethink tools to control the robot, but the simple demos (e.g., roslaunch baxter_moveit_config demo_baxter.launch) fail because of pervasive collisions. A same initial / goal state plan request gives the following in the rviz status:
Changed goal state
Goal state colliding links:
collision_head_link_1 - display
collision_head_link_2 - display
l_gripper_l_finger - l_gripper_l_finger_tip
l_gripper_l_finger - left_gripper_base
l_gripper_r_finger - l_gripper_r_finger_tip
l_gripper_r_finger - left_gripper_base
r_gripper_l_finger - r_gripper_l_finger_tip
r_gripper_l_finger - right_gripper_base
r_gripper_r_finger - r_gripper_r_finger_tip
r_gripper_r_finger - right_gripper_base

Yep, that's probably not a Kinetic thing, but rather how your launching it. I'd recommend following the tutorial & adding grippers:
http://sdk.rethinkrobotics.com/wiki/MoveIt_Tutorial#Tutorial
     $ roslaunch baxter_moveit_config baxter_grippers.launch

or
     $ roslaunch baxter_moveit_config demo_baxter.launch right_electric_gripper:=true left_electric_gripper:=true

I thought for sure that I tried the second, but apparently not. Apologies
for the noise, and thanks for the tip!
On Fri, Jan 20, 2017 at 7:33 PM Ian McMahon<EMAIL_ADDRESS>wrote:

Yep, that's probably not a Kinetic thing, but rather how your launching
it. I'd recommend following the tutorial & adding grippers:
http://sdk.rethinkrobotics.com/wiki/MoveIt_Tutorial#Tutorial
 $ roslaunch baxter_moveit_config baxter_grippers.launch

or
 $ roslaunch baxter_moveit_config demo_baxter.launch right_electric_gripper:=true left_electric_gripper:=true

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/RethinkRobotics/baxter_common/issues/80#issuecomment-274215768,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AANu-6DqsbmWSjrNTqCIsgLAximqNSdnks5rUVI7gaJpZM4Ktr4s
.


Prepare release 0.13.1

Which problem is this PR solving?
Prepares release 0.13.1
Short description of the changes

Updated version to 0.13.1
Added changelog entry

v0.19 of the OTLP proto is now available. Let's update to that before releasing Husky.

This is currently blocked waiting for #111 to merge.