Standard PCBA Assembly Required by JLCPCB, Increases Board Size

Summary
Hello,
I see that the supply chain issues have been resolved as of 3.5.4 - thank you!  I do see one issue when trying to order the assembled board, however.  It looks like JLCPCB cannot assemble the ESP32-Pico component without using Standard PCBA, and this increases the board size:

Is this expected? The larger board size isn't necessarily a problem in my case, as I don't need the enclosure, but I wanted to check in case I'm missing something.
Thanks so much,
Andrew

Thanks for that input.
Previous versions did not throw this error, but I don't know if standard vs economy for JLCPCB is a new category for them?
In any case, I suggest go with Standard. I think this should be fine. Let me know if it works out.

Interesting, that could very well be. In any case, I went ahead and ordered these with Standard PCBA, so I'll let you know how it goes!


Update b3 submission space

concordium-testnet-node-8fa159c054d73232c120ef86a3d9232bfe838a93ae5570232bf9edceea650f4a.log
concordium-testnet-system-report.log
node ID f5367e0d5f471df8
start from block 201078 11/01/2020 21:32
network current block at restart 216100
catch network at block 216380 11/01/2020 22:23

#269

confirmed:B3

confirmed:B3


distroless image not really distroless? Not running under alpine..

hi guys
my struggle is with dockerizing envoy. specifially, i have a component that needs an alpine base image.
i am aware that there was envoy-alpine builds, but those are deprecated in favor of the distroless images (as mentioned in #21758). but it seems they are not really distroless, as they are not able to run inside an alpine container.
first, we start with a simple dockerfile:
FROM alpine:3

COPY --from=envoyproxy/envoy:distroless-v1.30.3 /usr/local/bin/envoy /usr/local/bin/envoy

RUN chmod +x /usr/local/bin/envoy

let's build and try to use it
$ docker build -t alp -f Dockerfile-alpine .
$ docker run --rm -ti alp /usr/local/bin/envoy --help
exec /usr/local/bin/envoy: no such file or directory

hm, let's see ldd output:
$ docker run --rm -ti alp ldd /usr/local/bin/envoy
	/lib64/ld-linux-x86-64.so.2 (0x7ff9fd73f000)
	libm.so.6 => /lib64/ld-linux-x86-64.so.2 (0x7ff9fd73f000)
	librt.so.1 => /lib64/ld-linux-x86-64.so.2 (0x7ff9fd73f000)
	libdl.so.2 => /lib64/ld-linux-x86-64.so.2 (0x7ff9fd73f000)
	libpthread.so.0 => /lib64/ld-linux-x86-64.so.2 (0x7ff9fd73f000)
	libc.so.6 => /lib64/ld-linux-x86-64.so.2 (0x7ff9fd73f000)
Error loading shared library
: No such file or directory (needed by /usr/local/bin/envoy)
Error relocating /usr/local/bin/envoy: __memcpy_chk: symbol not found
Error relocating /usr/local/bin/envoy: __memset_chk: symbol not found
Error relocating /usr/local/bin/envoy: __strcpy_chk: symbol not found
Error relocating /usr/local/bin/envoy: __strncpy_chk: symbol not found
Error relocating /usr/local/bin/envoy: __fdelt_chk: symbol not found
Error relocating /usr/local/bin/envoy: fcntl64: symbol not found
Error relocating /usr/local/bin/envoy: pthread_cond_clockwait: symbol not found
Error relocating /usr/local/bin/envoy: __memmove_chk: symbol not found

ok - let's try to add some musl/glibc/compat things as suggested over the internet
apk add --no-cache libc6-compat gcompat musl-dev

build and run again
$ docker run --rm -ti alp ldd /usr/local/bin/envoy
	/lib64/ld-linux-x86-64.so.2 (0x7f70eed88000)
	libm.so.6 => /lib64/ld-linux-x86-64.so.2 (0x7f70eed88000)
	librt.so.1 => /lib64/ld-linux-x86-64.so.2 (0x7f70eed88000)
	libdl.so.2 => /lib64/ld-linux-x86-64.so.2 (0x7f70eed88000)
	libpthread.so.0 => /lib64/ld-linux-x86-64.so.2 (0x7f70eed88000)
	libc.so.6 => /lib64/ld-linux-x86-64.so.2 (0x7f70eed88000)
	ld-linux-x86-64.so.2 => /lib/ld-linux-x86-64.so.2 (0x7f70e9e99000)
Error relocating /usr/local/bin/envoy: __memcpy_chk: symbol not found
Error relocating /usr/local/bin/envoy: __memset_chk: symbol not found
Error relocating /usr/local/bin/envoy: __strcpy_chk: symbol not found
Error relocating /usr/local/bin/envoy: __strncpy_chk: symbol not found
Error relocating /usr/local/bin/envoy: __fdelt_chk: symbol not found
Error relocating /usr/local/bin/envoy: fcntl64: symbol not found
Error relocating /usr/local/bin/envoy: pthread_cond_clockwait: symbol not found
Error relocating /usr/local/bin/envoy: __memmove_chk: symbol not found
Error relocating /usr/local/bin/envoy: __vsnprintf_chk: symbol not found
Error relocating /usr/local/bin/envoy: backtrace: symbol not found
Error relocating /usr/local/bin/envoy: backtrace_symbols: symbol not found
Error relocating /usr/local/bin/envoy: __longjmp_chk: symbol not found
Error relocating /usr/local/bin/envoy: strtoll_l: symbol not found
Error relocating /usr/local/bin/envoy: strtoull_l: symbol not found
Error relocating /usr/local/bin/envoy: __cxa_thread_atexit_impl: symbol not found
Error relocating /usr/local/bin/envoy: __register_atfork: symbol not found
Error relocating /usr/local/bin/envoy: __libc_stack_end: symbol not found

now it seems all *.so files are found but we still have those symbol not found errors.

Assumption?
The name distroless suggests that it is truly a portable, statically linked binary. Many (especially golang) projects provide similar binaries which run on alpine without any issues. Is this assumption incorrect? Shouldn't it also run under alpine?
Thanks so much for all your efforts, love the project!

@phlax

it seems they are not really distroless ... truly a portable, statically linked binary

it really is - that is exactly what it provides - glibc and nothing else - we (envoy) add a static binary that uses just that
if the expectation is for some kind of universal distro then i think there is some misunderstanding - not sure that it would be even possible
our binary is not universally portable - it requires a minimum glibc version - but its pretty portable - ie to any environment that meets the glibc environment
iirc alpine uses musl - im not totally clear on the compatibility there - but in the main i believe it should work
i think this question is not really about whether the container is "distroless" its more about binary compatibility with musl
i think we dont want to bring back the alpine distro - we had it mostly to serve the purpose that the distroless container serves far far better (ie minimum included environment, smaller and more lightweight container image)
this seems more like an issue with musl/alpine glibc compatibility tbh - i would raise the issue there

@phlax
hm, yes, i see.. "distroless" is maybe a misnomer in this regard. it is also not clear from an image consumer side, what version requirements there are (which glibc version for example)
i also don't know how musl tracks its compatibility to glibc, i guess there must some kind of API versioning to ensure it.
do you see any chance that envoy could produce a "musl" binary? or is it simply the case that musl does not provide all the features needed?
---> i'm just baffled that not even a year ago there was a "alpine distro" build and now it seems to be fully incompatible?

the (upstream) container/image is designed to be distro agnostic - i think the name is correct - although i guess its not entirely distro agnostic - which in docker terms would just be the scratch image
i also dont know exactly how musl tracks/maps to glibc - im aware there is some compatibility, but we had issues previously which was one of our reasons for dropping support - the main reason being that the distroless image provides a better base for what we were using it.
im not 100% about which glibc version we require - but i think when i looked at this previously i came to the conclusion that is set here in our repo:
distribution/debian/packages.bzl:GLIBC_MIN_VERSION = "2.27"

alpine has not been supported for ~2 years - i dont rem exactly the state when we dropped support, but i would be surprised if it cant be made to work if that is a hard requirement. We are unlikely to bring back support for it as we now provide the distroless which, as mentioned above, better serves our needs and requires much less maintenance

closing as documented, thanks @phlax


Starborn Guardian Missing Vertical Landing Anims

If you attempt to land or take off from a "vertical" landing pad with a Starborn ship, such as the one at Gagarin Landing, the sequence will fail to play correctly. It will show the world glitching out for a second, before teleporting you directly into space. This is because the Starborn ships are missing "vertical" takeoff and landing animations.

Details
For landing, no special animation is really needed with this ship, as the standard animation is already just a vertical descent. By adding a condition of Subject.HasKeyword(ShipTypeStarborn [KYWD:0033DB7A]) = 0 to the Ship_Landing_Vertical [IDLE:0010A3C4] animation record, we cause the game to fall back to the standard landing animation for Starborn ships specifically, which looks perfectly fine.
For taking off, we need an animation which is equivalent to the "vertical" takeoff animations that other ships use. One which causes the ship to gain more altitude than usual before flying forward, and into orbit. Luckily, such an animation already exists for the Starborn ship with the Neon landing pad specifically. So if we modify the conditions of ShipTakeOffNeonStarborn to be true with the Neon pad, OR with Vertical pads, we can see a proper non-clipping takeoff at those locations too. The same tweak should be made to the SpaceshipTakeOffStarbornNeon_Pad01 camera path too, so that the camera view isn't too low during vertical pad takeoffs.
Game Version
<IP_ADDRESS>
Language
English (EN)
New Game
Yes
Reproduction Steps
Land your Starborn ship at Gagarin Landing. There will be no landing animation. Then try to take off, and you will see a glitchy sequence before being teleported into space.

Fix here: https://1drv.ms/u/s!AhuMaF-FsKU-lE796XXbcDYrYllF?e=xXzEfY


Cpg-utils migration hiccup

https://batch.hail.populationgenomics.org.au/batches/443824/jobs/400
ModuleNotFoundError: No module named 'cpg_utils.constants'
in AnnotateVcf (SV)

This should just go away if run on the latest cpg_workflows image

Ok, looks like there's something odd here - analysis-runner's default config thinks the latest version of cpg_workflows is 1.22.4, instead of 1.22.11. It's causing the wrong version of the cpg_workflows image to be picked up for the cromwell polling job, and that might have a non-functional mix of cpg-utils and analysis-runner (cpg_utils.constants doesn't exist in that image, but the analysis-runner version of cromwell's watch task redirects to cpg-utils expecting it to be there)
cpg_workflows = "australia-southeast1-docker.pkg.dev/cpg-common/images/cpg_workflows:1.22.4"

I'd never seen this before: https://github.com/populationgenomics/images/blob/ce5ce6986b473b9c519bf3134eb8a7fd635d7f96/.github/workflows/prep_config.py#L15
https://github.com/populationgenomics/images/blob/ce5ce6986b473b9c519bf3134eb8a7fd635d7f96/.github/workflows/deploy_config.yaml#L180

Oof, ok.
The reason for this issue was that the cpg-workflows config entry isn't generated from the production-pipelines repository, it's generated from images, and folded in with the rest of the images entries. That only occurs when we run the images repository CI.
We also have cpg_workflows images built from this repository, so two separate CI pipelines build the same image (bad?) and only one of them updates the relevant config entry (bad.).
As a result the latest version in config became quite out of step with the latest version pushed from this repository.
I'm going to keep this open for now, as we should probably resolve this, but that will be a more focused new issue.
FYI @vivbak

This is a bigger conversation for data office hours, but the CPG has some work to improve:

Dependent images and chained building
Our use of floating tags diminishes our ability to know exactly which container was used to run some workload. So choosing either locked tags, or having some middleware that replaces floating tags with docker digests would be great.

Discussed extensively, actioned never. I'm going to action this on the refactor


highlight text on epub_view and getting chapters

Hello dear
Thank you very much for your great work on this project.
i would like to know if you have plan to add text highlight as you know it is necessary for ebook reader.
Also it is necessary to get chapters for example to show it on a drawer for chapter navigations

@armanhadifatah Hello! Table of contents and chapter navigation are already added to the library.

Duplicate of #48

https://github.com/rbcprolabs/packages.flutter/issues/48#issuecomment-620736734

would text highlight be added anytime soon ?


Selectively choose among provided OpenAPI specification

Is there a way to select from provided OpenAPI only endpoints that are marked with specific attribute?
For example I would like to expose endpoint that has attribute x-gateway-name with value ui-gateway.

There is a hacky way to exclude specific API operations (endpoints) from being published in (or being reachable via) the Spring Cloud Gateway which works with the current version of the OpenAPI Route Definition Locator library and that is to use the configuration mechanism described in the section Additional RouteDefinition attributes in OpenAPI definitions and add a predicate that can never be fulfilled to those API operations in the OpenAPI definition that should be ignored, e.g.:
x-gateway-route-settings:
  predicates:
    - Before=1970-01-01T00:00:00.00+00:00

NOTE: I am by no means advocating to use this hack. It's just a funny observation.
But based on the above hack, I can imagine to add an enabled flag to the x-gateway-route-settings which would offer a very simple way of deactivating (i.e. hiding) certain API operations. This configuration based option should still be supplemented by some programmatic (i.e. dynamic) option to filter API operations as outlined in my above comment, I think.

Thanks for the quick answer @jbretsch! Point one sounds right to me - why to process something as you do not want it.
If you allow me, I would like to share a few thoughts from my side.

I will expect to see in GW log what is the criteria of selecting
Why not to treat attribute values as list of labels? What I mean.
Imagine that I have 3 gateways as in our use case, ui-gateway, mobile-gateway and b2b. Our "core" microservice should expose most of the time at least to 2 of them. So the the easiest way is to describe it in OpenApi spec
like this:
x-gateway-name: ui-gateway, mobile-gateway

PS I just randomly choose attribute name to be x-gateway-name. May be it should be part of x-gateway-route-settings... you know better :)

Hi @zlatozar!
Thanks for your feedback.
I hadn’t previously considered a setup involving multiple API gateways, but I see how it could be beneficial in certain
scenarios. Your suggestion about using labels is intriguing, and I’ve given some thought to how we can implement it
while maintaining backward compatibility.
Here’s what I propose:
We introduce two new optional settings in the x-gateway-route-settings section of the OpenAPI definitions:
x-gateway-route-settings:
   # Optional. Default: true
   # true -> Publish in gateways; all of them or only those specified in `gateway-names`.
   # false -> Don't publish in gateways; not even those specified in `gateway-names`.
   enable: true / false

   # Optional. Default: null.
   # null -> Publish in all gateways.
   # [] -> Publish in no gateway.
   # ["foo", "bar"] -> Publish in the gateways named "foo" and "bar".
   gateway-names:
      - ui-gateway
      - mobile-gateway
      - b2b

Additionally, a new (optional) property would be added to the gateway's application properties:
# application.yaml in gateway.
openapi-route-definition-locator:
   # Optional.
   # If an API operation is configured for specific `gateway-names` and this gateway doesn't have
   # a name assigned via `gateway-name`, no route will be configured for that operation in this gateway.
   gateway-name: ui-gateway

To further enhance flexibility, I suggest adding an OpenApiRouteDefinitionFilter interface, similar to the existing
OpenApiRouteDefinitionCustomizer interface (as discussed in this comment). These filters would be invoked just before the customizers.
Would this approach meet your requirements?


Enhance the help command to print info about a given unit

This PR starts to implement the enhanced help suggestion in #238.
At the moment, it looks like this:
>>> help megabyte
  Byte
  https://en.wikipedia.org/wiki/Byte
  Aliases: B, byte, bytes, Byte, Bytes, octet, octets, Octet, Octets
  A unit of [DigitalInformation]

  1 megabyte = 1_000_000 byte
  1 byte = 8 bit

>>> help m
  Metre
  https://en.wikipedia.org/wiki/Metre
  Aliases: metre, metres, meter, meters, m
  A unit of [Length]

  metre is a base unit

CC #238

The second commit adds support for attaching metadata to local variables and into the help command:
>>> help planck_constant
  Variable: planck_constant
  Planck constant
  https://en.wikipedia.org/wiki/Planck_constant
  Aliases: planck_constant, ℎ

      = 6.62607e-34 J/Hz

Ok, given that I didn't see any objections to the approach taken here, I think this is ready for a fuller review.  I want to take another pass at the output formatting of the help output (I welcome any and all comments on this)

Ok I think I addressed all the review comments.  Here's a screenshot showing how it looks now:

(please also make sure 341ca6d69b979968b82fd8071cf57a7422a40fa6 is OK)

(please also make sure 341ca6d is OK)

:+1:

New commits:  a cleanup on how variables are shown, an integration test, and support in the wasm version


Add time indicators

Add time descriptors to geojson features, to describe in which period the given feature was valid. This would allow to combine different periods of times into a single map, and describe changes or developments through time. Probably best way would be to follow NYPL Spacetime project (https://github.com/nypl-spacetime/spacetime-schemas) by using "validFrom" and "validUntil".

First time-data added with 87a0ecf5f530a5029343affa2fb3d14fffc261eb so closing this issue now.


Need a code snippet for Dynamic form example

I am using ngrx ver-8 and I dont find a code snippet for creating action and reducer for dynamic form control example. In your example you have used the older style of creating action and reducer. It would be great if you can provide an example or code snippet with ngrx v8. Thanks in advance.

The ngrx v8 version would be very similar. Either you dispatch ngrx-forms actions like the AddArrayControlAction directly and just let onNgrxForms do the job or you create your own action and then inside the on handler you use functions like addGroupControl for update the form state.

Closed due to inactivity. Feel free to open a new issue if you have more questions.


Extended Average and Median to support IEnumerable and Vector2

Added the oveloads but I would argue that the Average and the Median of an empty collection is not Zero. It should either throw an exception or return null (using Nullable). This forces the developer to check for empty collections and avoid weird runtime errors. What do you think?

Hi @aalmada, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by Microsoft and real humans are currently evaluating your PR.
TTYL, MSBOT;

@HodgsonSDAS The implementation of Median() without Linq is way more complex. The removal of this dependency is easier by moving these extension methods to another file. What do you suggest?

Yeah I noticed the same. It's probably fine as long as no one uses it it hot code.


Only able to write 20 bytes.

I'm using a, Raspberry Pi Zero when I try to write a string of 21 characters to a characteristic the application just hangs and hangs the receiving device as well. Where as if I send a string that 20 characters it sends perfectly.
So the weird thing is that if I use the gatttool console interface I can send significantly longer strings to that same characteristic.
Any ideas would be much appriciated,
Thanks

Prior to the Raspberry Pi OS based on Debian Bullseye, BlueZ was shipped in version 5.50. This version had a issues when writing a message exceeding the MTU size via D-Bus. GattTool is directly using the Bluetooth stack without D-Bus, that's why this tool worked fine.
Using the latest Raspberry Pi OS (based on Debian Bullseye) will fix that issue, because BlueZ is shipped with version 5.55 with includes the D-Bus fixes.


Deployment on huggingface endpoints

I want to deploy the model on huggingface endpoints and run inference on it. I have created a handler.py file to deploy the model and a test.py file to run inference using API call to endpoint. Model is deployed successfully. What are the available ways to input the video to endpoint?
Handler.py:
from typing import Dict, List, Any
import sys
sys.path.append('./')
from videollama2 import model_init, mm_infer
from videollama2.utils import disable_torch_init
import logging
import os

class EndpointHandler:
    def __init__(self, path: str = ""):
        disable_torch_init()
        self.model_path = 'DAMO-NLP-SG/VideoLLaMA2-7B'
        self.model, self.processor, self.tokenizer = model_init(self.model_path)

    def __call__(self, data: Dict[str, Any]) -> List[Dict[str, Any]]:
        logging.info(f"Received data: {data}")

        modal = None
        modal_path = None
        instruct = None

        inputs = data.get("inputs", data)
        modal = inputs.get("modal", "video")
        modal_path = inputs.get("modal_path", "")
        instruct = inputs.get("instruct", "")

        logging.info(f"Modal: {modal}, Modal Path: {modal_path}, Instruct: {instruct}")

        if not modal_path or not instruct:
            raise ValueError("Both 'modal_path' and 'instruct' must be provided in the input data.")

        output = mm_infer(
            self.processor[modal](modal_path),
            instruct,
            model=self.model,
            tokenizer=self.tokenizer,
            do_sample=False,
            modal=modal
        )

        return [{"output": output}]

Test.py:
import requests

API_URL = ""
headers = {
    "Accept": "application/json",
    "Authorization": "",
    "Content-Type": "application/json"
}

def query(payload):
    response = requests.post(API_URL, headers=headers, json=payload)
    return response.json()

payload = {
    "inputs": {
        "modal": "video",
        "modal_path": "",
        "instruct": "Describe what is happening in the video along with timestamps"
    }
}

output = query(payload)
print(output)

Could you provide us a deployment demo for testing or Could you describe the problem when inputting video?


Fix problem with C4 diagraming tool

Related issue: #2345

Can someone advise why the merge of this commit is not visible in the commit history?


Adding code reviewer checklist

Merging due to mis-communication over tech advisor / code-review procedure.


Add Go2Shell.app Latest

Go2Shell opens a terminal window to the current directory in Finder.
The app installs a Finder extension. Didn't know how to uninstall it, besides using the uninstall feature inside the app (see http://zipzapmac.com/Go2Shell).
Unfortunately:

No versioned download available.
No https download available.

The app is also available in the Mac App Store, but without Finder extension.

Seems like this is an installer, as opposed to an app you call, so it should use installer :manual.
Regarding uninstall, there are scripts and documentation geared for that. Not all of it will apply since it’s not a pkg, but some of it might. Worst case, we might have to resort to a caveats explaining how to do it manually.

No, it is no installer, but a .dmg containing the .app file. Installation of the Finder extension is done in the app after starting it, uninstallation as well.
I've sent a support mail to the vendor about uninstalling the Finder extension without using the in app button.

Thank you. Everything looks good, could you please squash your commits? This is usually a complex step the first times people try it, so feel free to ask for help, or to close this and submit a new PR if things get messed up.

The vendor sent me the source code which Go2Shell uses to add and remove it's Finder icon (it's no extension as I've learned). I will analyze the code to add a working uninstall to the Cask (and maybe also automatically setup the icon on install), commit it and then squash the commits. Is this okay?
I'll just ask my colleagues about the squash procedure. They will be happy anyway that I'm finally starting to use Git the right way. ;)

Is this okay?

Very much so, yes. Thank you.

@NeoVG Do you plan on updating this?

Whoops, it looks like I made an updated duplicate of this PR (#9298) a couple days ago.
IMO both of them look good enough to merge; another PR could be done for the source code version if this ever happens.

Since we haven’t got any replies from @NeoVG in almost three months, I’m going to close this. We’ll need to figure out the uninstall later.


How can use it for dynamic api?

Hi!
My project used Abp,it can generate api controller from application service,but it can't add RouteAttribute to the api controller,how can i support it?

I'm sorry,I found this problem is my issues.


Add contract tests for v2

Short Description
This updates the test_integration_queue tests:

make them independent from the erica module. Otherwise there is more stuff that we would need to include in the .dockerignore from tests
Check that the job was performed

What is still missing is that we would need to set a second ERICA_URL for the integration job in the environment to test for version 2 and add it to the pipenv task
Feedback

Does that make sense to you?

How to review this Pull Request
Link to Confluence (internal)

The duplicated lines are because of the tests. We probably could parametrize that.

Yes, for the freischaltcodes we are only testing the failure cases. The freischaltcode can not be requested, activated or revocated for an indefinite number of times. Therefore, we are not able to test something else than failure here.
Or do you see a clever alternative?

Yes, for the freischaltcodes we are only testing the failure cases. The freischaltcode can not be requested, activated or revocated for an indefinite number of times. Therefore, we are not able to test something else than failure here.
Or do you see a clever alternative?

Oh sorry now I see it, for the fsc use cases we are only testing the failure cases, fine! And for the tax number validity and the send tax declaration we have the success cases. Good!
There are only 2 minor changes we should do, I think:

For the success result, not only test if the result attribute is in the response but also the specific content of the result depending on the use case right?

This also means testing if result == null for the failure cases

For the failure cases testing if the errorCode and errorMessage !== null

This also means testing if those attributes == null for the success cases.

Just give me the command and I can take over this ticket too!

@SannyNguyenHung some summing-up of this PR:
Integratoin tests for v2 (test_integration_queue)

now independent from erica module.
the getting-the-job-with-200 tests wait now for the worker to complete the job (4 seconds). For the unlock code use cases we can only test the failure case. For the rest we have both success and failure mix
tests upgraded, so that we also test if we expect a result (!= None) or if we expect errorCode/errorMessage. In the success-cases we also test the actual content of the result

Github secrets

old  secret ERICA_TESTING_URL updated to ERICA_TESTING_URL_V1 (same value as before)
secret ERICA_TESTING_URL_V2 (for the k8s url) added

Pipeline:

Task added for running integration tests v2
step added for job contract-tests, so that integratoin tests v2 are also run with the same sh script.
step updated in job contract-tests, so that we set the new Github secret with the old URL (VM) and we can also pass the new env variable for the task.

IMPORTANT: before this PR is merged we must merge first the PR of the infra repo and manually run the workflow for building the image right?


Purging Data in RDS

Are there any support tools to purge the old data from RDS and store into a snapshot?
RDS should only have say 1 month of data at anytime and historical data should be purged somewhere.

You should be using a time series data structure, which should allow you to delete old data pretty efficiently... Plus this method is pretty scalable to data warehouses too.

I'll fill in the details for what robins suggests here.  Your time series design depends on your database engine.  If your engine supports partitioned tables with local indexes, then the easiest way is to partition your table on a CREATION_DATE field and put a no-update trigger on it to make sure your rows won't migrate to other partitions.    Then create a database job to create more partitions as you need them, and TRUNCATE OLD partitions  when you don't (never DELETE time series data). Use of local instead of global partitions ensures that your indexes remain healthy throughout the life of the table.  Other tricks here include:
(1) make CREATION_DATE the same date for the entire partition.  For example, if you are partitioning by month, make CREATION_DATE the first day of the month for the entire partition. This will allow you to put a locally-indexed PRIMARY KEY where the primary key column (pkid) is the lead column and CREATION_DATE is the second column in the primary key. Otherwise, you could opt to not use a primary key at all.
(2) Don't create foreign key constraints that reference the primary key of your partitioned table.  It's really hard to manage these.
If your database engine doesn't support partitioned tables with local indexes, then you can create separate tables for each "partition".  So one table per month, in your example. Then put a UNION ALL view on all.  Then you write a database job that creates a new table when you need it, and includes it in the view, and drops the table when you don't (or better yet you can truncate if you want to resuse it).
That said, I understand what you're asking -- will we in support who maintain this repository be offering in-database scripts to help you set this up?  We have talked about it, and we really do get the usefulness of this.  But the answer is probably not soon.  At the present time we are only offering read-only diagnostic scripts and some non-invasive utilities.


[Feature Request] - Add map2loop to pypi

💻

[ ] Would you like to work on this feature?

Feature Description
Add map2loop to pypi
Current Situation
it is not on pypi
Version
No response
Proposed Solution
Add the required steps to the github action yml file to upload to pypi. I have authorised the release-please.yml workflow to upload to pypi from the loop3d/map2loop repository.
https://github.com/Loop3D/loopstructural-visualisation/edit/main/.github/workflows/release.yml should be a good template for how to do this
Additional Context
No response
Affected Areas

[ ] input data
[ ] project creation
[ ] samplers
[ ] sorters
[ ] stratigraphic column
[ ] data types
[X] Other

This is related to #130 and #115

[ ] need to fix what seems to be an authentication issue with Pypi


Application crashes when inserting incomplete address manually

Bug Description
In attempt to send  CCDs to invalid address, application crashed.
Steps to Reproduce

Select send and insert 5 CCDs.
Select address from your address book.
After address is visible select the whole address and delete it with backspace.
Insert one letter and press send

Expected Result
User shouldn't be able to continue because address is invalid.
Actual Result
Application crashes.
Video attached:
https://user-images.githubusercontent.com/98821384/156569162-101b6ff2-4e92-407f-8b30-657dd6072f35.mp4
Versions

Software Version: Testnet 2.0.35
OS: iOS 14.8
Browser: N/A
Mobile device: iPhone SE

Verified. I was not able to reproduce the defect by following the description.
Versions

Software Version: Testnet 2.0.0 (36)
OS: iOS 14.8
Browser: N/A
Mobile device: iPhone SE


Adding OpenJDK12 to Travis CI build matrix

This PR revealed a JDK 12 bug: https://bugs.java.com/bugdatabase/view_bug.do?bug_id=JDK-8221742

The JDK 12 build currently fails because java.lang.constant.Constable was introduced to  the type hierarchy. We need to fix our tests accordingly.

Codecov Report

Merging #2404 into master will decrease coverage by 0.41%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #2404      +/-   ##
============================================
- Coverage     95.86%   95.44%   -0.42%
- Complexity     5428     5471      +43
============================================
  Files            94       94
  Lines         13117    13819     +702
  Branches       1609     1656      +47
============================================
+ Hits          12575    13190     +615
- Misses          403      469      +66
- Partials        139      160      +21

Impacted Files
Coverage Δ
Complexity Δ

...r/src/main/java/io/vavr/concurrent/FutureImpl.java
74.43% <0%> (-1.51%)
28% <0%> (ø)

vavr/src-gen/main/java/io/vavr/API.java
85.57% <0%> (+1.42%)
265% <0%> (+43%)
:arrow_up:

Continue to review full report at Codecov.

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


Crash in iOS simulator due to Skiko

Describe the bug
After successfully building the project, the iOS simulator starts, the application is installed, launched, a white screen is displayed and an error appears.
Affected platforms
Select one of the platforms below:

iOS

Versions

Kotlin version*: 1.8.20
Compose Multiplatform version*:  1.4.0
OS version(s)* (required for Desktop and iOS issues): MacOS (VirtualBox on Win10)
OS architecture (x86 or arm64): x86

To Reproduce
Steps and/or the code snippet to reproduce the behavior:

Clone your template (https://github.com/JetBrains/compose-multiplatform-ios-android-template/)
Change platform to "iosApp"
Run app
See error

Expected behavior
Хочу, чтобы приложение запустилось на симуляторе iOS на виртуалке без макбука ;)
Screenshots

Can you share us MacOS image that you use for VirtualBox?

Have you tried easier samples in your environment? Like "Hello World" for Xcode (pure Swift or ObjC) in Simulator or "Hello World" for KMM? Do they work?

Have you tried easier samples in your environment? Like "Hello World" for Xcode (pure Swift or ObjC) in Simulator or "Hello World" for KMM? Do they work?

Yes, pure KMM + SwiftUI works well on the iOS simulator. Swift + SwiftUI works too.

I updated macOS to Monterey (12.0.1), XCode 13.4, Java 17, Gradle 7.5, but the error remains:

We have found that the crash may occur if Simulator does not support Metal (which may be the case for Virtual MacOS).

Metal is not supported
Is it your case?

I checked, yes.

So, you are not lucky. Compose for iOS is based on Metal, we can't do anything except issuing a right message for this case (https://github.com/JetBrains/skiko/pull/704)

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


Focal lenght

Hi,
Kudos for the great work and for releasing the code.
You mention that you do not use camera parameters, however, in my understanding, if you can compute a ratio between the predicted root and the GT root, then you predict the absolute root right? Or assume at least some fixed focal length? I could not find an exact value of focal length in the code. Is this right?
Thanks!

In this work, we do not mention that camera parameters (focal length f) are not needed. In particular, following the AAAI'21 paper, the normalized root length Z/f is estimated instead of Z to avoid the influence of the camera intrinsic parameters as stated in the Supp (TCN structure subsection, page 12).
In order to recover the actual Z value, the focal length needs to be set. In the code, to perform the evaluation, the actual Z value is obtained by Procrustes alignment, which fits the focal length with respect to ground truth (GT):
https://github.com/3dpose/3D-Multi-Person-Pose/blob/10cc7d79c24154e2da5e4f168e23392831ac7e4a/lib/posematcher.py#L89
In the situation that there is no GT, for example in-the-wild videos, using a default focal length value is one option. To accurately recover the actual depth Z, the focal length is needed.


fix: ApplyAction.Unmarshal for 2-octet input

This patch fixes an out-of-bound bug in ApplyAction.Unmarshal function when the input has 2 octets.
This bug was discovered when testing free5GC UPF with Open5GS SMF.
Test cases have been added for the modified function.

LGTM


BPMSPL-234: Add Russian locale, BPMSPL-256: Add Traditional Chinese locale

See:-
https://issues.jboss.org/browse/BPMSPL-234
https://issues.jboss.org/browse/BPMSPL-256

@manstis prob. not ideal to reference a BPMSPL JIRA in the commit message. It's not publicly accessible. But +1, not worth recreating all 10 PRs for this.

master: a9a8a18f4b4e44931bd68b002e2ac8021ed76bc4


Review of Poster

I have updated the poster to the 3 slide format requested by the conference (https://www.ans.org/meetings/student2021/newresources/).
A pdf of the poster is here:
poster.pdf. The figures probably need some editing to allow them to be larger, but I'm not sure how to do that. I am assuming the slides do not need to stand on their own, so much of the content will be explained by me when I record the video.

It's been a few years since this presentation, but I did give this "poster" presentation virtually.


Regarding the issue of flutter calling js methods in geckoview, can you add and improve this demo?

as title

I read the geckoview tutorial about how to communicate with native devices.，https://firefox-source-docs.mozilla.org/mobile/android/geckoview/consumer/web-extensions.html，But it's too messy, and I don't know how to deal with the relationship between flutter, kotlin, and geckoview. Please help me. Thank you.

Hi!
I'm planning to implement both support for js invocation and webextensions to some extent so that I can manipulate cookies (from my current understanding, there's probably no other way to access this API). I'll probably get around to it next week.
I'm using this project as a way to explore the capabilities of GeckoView, so it might not be a 100% implementation of all functionality, but I'll do my best!

Thanks. I'll let you know if I have any good news

@aihanjiao  I have implemented the functionality to execute the code in the specified tab. Please check if this meets your expectations

I couldn't find an easy way to retrieve the tabId for a given GeckoSession, so I used the content script trick. TabId is needed so that the background script knows which tab to run the code in


automatic_captions missing on some YouTube video JSON despite subs existing

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I remove or skip any mandatory* field

Checklist

[X] I'm reporting a broken site
[X] I've verified that I'm running yt-dlp version 2022.10.04 (update instructions) or later (specify commit)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[ ] I've read about sharing account credentials and I'm willing to share it if required

Region
UK
Provide a description that is worded well enough to be understood
For some YouTube videos, automatic subtitle information is not available in the JSON dump (automatic_captions is an empty object), despite automatic subtitles themselves being available on the YouTube UI.
This started happening at some point in the second half of October. I haven't figured out what is the difference between videos where the information is available and videos where it isn't.
Example:
yt-dlp --dump-json https://www.youtube.com/watch?v=h2aWYjSA1Jc | jq .automatic_captions

Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
[debug] Command-line config: ['-vU', '--dump-json', 'https://www.youtube.com/watch?v=h2aWYjSA1Jc']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8 (No ANSI), error utf-8, screen utf-8
[debug] yt-dlp version 2022.10.04 [4e0511f] API
[debug] Python 3.10.8 (CPython 64bit) - Linux-6.0.2-zen1-1-zen-x86_64-with-glibc2.36 (glibc 2.36)
[debug] Checking exe version: ffmpeg -bsfs
[debug] Checking exe version: ffprobe -bsfs
[debug] exe versions: ffmpeg 5.1.2 (setts), ffprobe 5.1.2, rtmpdump 2.4
[debug] Optional libraries: Cryptodome-3.12.0, brotlicffi-<IP_ADDRESS>, certifi-2022.09.24, secretstorage-3.3.3, sqlite3-2.6.0
[debug] Proxy map: {}
[debug] Loaded 1690 extractors
[debug] Fetching release info: https://api.github.com/repos/yt-dlp/yt-dlp/releases/latest
Latest version: 2022.10.04, Current version: 2022.10.04
yt-dlp is up to date (2022.10.04)
[debug] [youtube] Extracting URL: https://www.youtube.com/watch?v=h2aWYjSA1Jc
[youtube] h2aWYjSA1Jc: Downloading webpage
[youtube] h2aWYjSA1Jc: Downloading android player API JSON
[debug] Sort order given by extractor: quality, res, fps, hdr:12, source, vcodec:vp9.2, channels, acodec, lang, proto
[debug] Formats sorted by: hasvid, ie_pref, quality, res, fps, hdr:12(7), source, vcodec:vp9.2(10), channels, acodec, lang, proto, filesize, fs_approx, tbr, vbr, abr, asr, vext, aext, hasaud, id
[debug] Default format spec: bestvideo*+bestaudio/best
[info] h2aWYjSA1Jc: Downloading 1 format(s): 248+251

In this case you have to trigger automated captions by adding --write-auto-subs.

@flashdagger thank you, indeed with --write-auto-sub it works. Strangely enough, the specific video from the bug report did not need extra options previously.
I suppose there's no harm in always passing --write-auto-sub to ensure the earlier behavior?

The change was made more than 3 month ago to reduce processing time. See #4274

I looked into this more, and the actual difference that bit me wasn't between mid-October and now, but instead between an Alpine system I used then and an Arch system I'm using now. The former still works without the flag, possibly because it packages 2022.10.04-r1.
Thanks again for helping me understand @flashdagger, closing as not a bug.


error: Uncaught (in promise) Error: bad-yaml

I accidentally typed a pwsh command in bash via code-insiders, and

rokejulianlockhart@RQN6C6:~> Get-Command qmlformat
error: Uncaught (in promise) Error: bad-yaml
    if (!isArray(node)) throw new Error("bad-yaml");
                              ^
    at Object.getProvides (file:///opt/tea.xyz/src/v0.22.1/src/hooks/usePantry.ts:133:31)
rokejulianlockhart@RQN6C6:~>

appeared.

We don’t know of any bad yamls currently, but tea --sync should fix whichever one you have that is bad, unless you edited the pantry yourself and have TEA_PANTRY_PATH set?
Either way, when the command not found handler runs we have to read the pantry to see if we offer that command, so that's what happened here. One of the pantry files is invalid apparently.

@mxcl,

tea --sync should fix whichever one you have that is bad

PS /home/rokejulianlockhart> bash
rokejulianlockhart@RQN6C6:~> Get-Command
error: Uncaught (in promise) Error: bad-yaml
    if (!isArray(node)) throw new Error("bad-yaml");
                              ^
    at Object.getProvides (file:///opt/tea.xyz/src/v0.22.1/src/hooks/usePantry.ts:133:31)
rokejulianlockhart@RQN6C6:~> tea --sync
pantries sync’d ⎷
tea: empty pkg env
rokejulianlockhart@RQN6C6:~> Get-Command
error: Uncaught (in promise) Error: bad-yaml
    if (!isArray(node)) throw new Error("bad-yaml");
                              ^
    at Object.getProvides (file:///opt/tea.xyz/src/v0.22.1/src/hooks/usePantry.ts:133:31)
rokejulianlockhart@RQN6C6:~>

unless you edited the pantry yourself and have TEA_PANTRY_PATH set?

I haven't set TEA_PANTRY_PATH, and
PS /home/rokejulianlockhart> $Env:TEA_PANTRY_PATH
PS /home/rokejulianlockhart>

it doesn't appear to be. I haven't modified any locally cached manifests, either.

One of the pantry files is invalid apparently.

Should this be transferred to https://github.com/teaxyz/pantry, then?

what tea/cli you got? tea --version?

@mxcl,
PS /home/rokejulianlockhart> bash
rokejulianlockhart@RQN6C6:~> Get-Command
error: Uncaught (in promise) Error: bad-yaml
    if (!isArray(node)) throw new Error("bad-yaml");
                              ^
    at Object.getProvides (file:///opt/tea.xyz/src/v0.22.1/src/hooks/usePantry.ts:133:31)
rokejulianlockhart@RQN6C6:~> tea --sync
pantries sync’d ⎷
tea: empty pkg env
rokejulianlockhart@RQN6C6:~> Get-Command
error: Uncaught (in promise) Error: bad-yaml
    if (!isArray(node)) throw new Error("bad-yaml");
                              ^
    at Object.getProvides (file:///opt/tea.xyz/src/v0.22.1/src/hooks/usePantry.ts:133:31)
rokejulianlockhart@RQN6C6:~> cat /opt/tea.xyz/src/v0.22.1/src/hooks/usePantry.ts
cat: /opt/tea.xyz/src/v0.22.1/src/hooks/usePantry.ts: No such file or directory
rokejulianlockhart@RQN6C6:~> file /opt/tea.xyz/src/v0.22.1/src/hooks/usePantry.ts
/opt/tea.xyz/src/v0.22.1/src/hooks/usePantry.ts: cannot open `/opt/tea.xyz/src/v0.22.1/src/hooks/usePantry.ts' (No such file or directory)
rokejulianlockhart@RQN6C6:~> exit
exit
PS /home/rokejulianlockhart> bash
rokejulianlockhart@RQN6C6:~> Get-Command
error: Uncaught (in promise) Error: bad-yaml
    if (!isArray(node)) throw new Error("bad-yaml");
                              ^
    at Object.getProvides (file:///opt/tea.xyz/src/v0.22.1/src/hooks/usePantry.ts:133:31)
rokejulianlockhart@RQN6C6:~> tea --version
tea 0.22.1
rokejulianlockhart@RQN6C6:~> tea --sync +tea.xyz
pantries sync’d ⎷
installed: ~/.tea/tea.xyz/v0.33.2
PATH=/home/rokejulianlockhart/.tea/tea.xyz/v0.33.2/bin:/home/rokejulianlockhart/.nix-profile/bin:/nix/var/nix/profiles/default/bin:/snap/powershell-preview/140/opt/powershell:/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:/home/rokejulianlockhart/.tea/tea.xyz/v0.22.1/bin:/home/rokejulianlockhart/.local/bin:/usr/local/bin:/usr/bin:/bin:/home/rokejulianlockhart/.dotnet/tools:/snap/bin
rokejulianlockhart@RQN6C6:~> Get-Command
error: Uncaught (in promise) Error: bad-yaml
    if (!isArray(node)) throw new Error("bad-yaml");
                              ^
    at Object.getProvides (file:///opt/tea.xyz/src/v0.22.1/src/hooks/usePantry.ts:133:31)
rokejulianlockhart@RQN6C6:~> sh <(curl tea.xyz)
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 13850  100 13850    0     0  22307      0 --:--:-- --:--:-- --:--:-- 22302

  the latest version of tea was already installed

  │ /home/rokejulianlockhart/.tea/tea.xyz/v0.33.2/bin/tea

rokejulianlockhart@RQN6C6:~> Get-Command
error: Uncaught (in promise) Error: bad-yaml
    if (!isArray(node)) throw new Error("bad-yaml");
                              ^
    at Object.getProvides (file:///opt/tea.xyz/src/v0.22.1/src/hooks/usePantry.ts:133:31)
rokejulianlockhart@RQN6C6:~>

your tea/cli is very far behind somehow. what does which tea say? I'm guessing you have a tea binary that is in your PATH before the one the tea installer provides and we should somehow handle that.


termion style ansi api

I do like how it is very easy to get started with termion because it just uses ansi escape sequences. Would it be possible to support something similar in crossterm?
let stdout = MouseTerminal::from(AlternateScreen::from(io::stdout().into_raw_mode().unwrap()));
write!(stdout,
    "{}{}{}{}Hi{}",
    cursor::Hide,
    clear::All,
    cursor::Goto(0,0),
    color::Fg(color::Red),
    cursor::Show);
stdout.flush();

For terminals that do not support it might need to add custom parser though it could be a bit slow.

I have implemented it and will be soon usable.
preview
println!("{} Underlined {} No Underline", Attribute::Underlined, Attribute::NoUnderline);
println!("{}{} Red on Yellow", Colored::Fg(Color::Red), Colored::Bg(Color::Yellow));
println!("{}", "aa".green())

Closing this will be soon available in crossterm_style 0.2

Looking forward to it. Checked the source out and seems like I only see it for colors. Are there plans to support cursors and clear screen?

Great. Looking forward for those so I can migrate to crossterm instead of termion.

Any plans on bringing cursor and clear api? Let me know if I should file a new issue to track it.

I am not sure if that is something I want, I was thinking about it. But does it really make sense to make the cursor move with a write operation like: write!(stdout, "{}", Cursor::Goto(10,20))

My thought was that there would be applications that just uses those sequence so instead of me parsing and converting crossterm, it would automatically do it for me.
One thing I miss a lot on windows is tmux. Imagine if I could spawn a pty process and just directly pipe it to crossterm. It also allows one to easily create other emebedded terminal support such as in vim with crossterm very easily. Creating apps like these would be very easy if crossterm natively supported it. https://github.com/wez/wezterm.
Other interesting cases I can see is having OpenGL or directx for backends. So if I wanted to created a gvim I can easily use the gui backends instead of terminal. As a dev consuming crossterm I would be very happy because all the hard work is handled by crossterm.

Crossterm supports a similar feature with the command API since version 0.10


update ffmpeg to 5.0.1 and add windows/mingw support

It looks like Android package code is pretty ancient and not compatible with xmake latest version


Audio Switcher Keeps Loosing Key Binds!

Please ensure you include/confirm the following information before submitting an issue.
V<IP_ADDRESS>
OS win10
Several Audio Devices, 5.1 Dolby, Front and Back, Headphone w/mic, normal desktop spearkers, multiple other outputs (not connected) from monitors, Aux/line outs misc
Nvidia, Realtek, Soundblaster (where applicable)
This seemingly happens at random, especially after a sleep or hibernation.
Can you please store preferred HotKey Settings in some kind of dll or ini file and associate inside the program?
Is this project dead I see it hasn't been updated since 2018

Experiencing the same behavior.
On my computer I also see some hotkey-attached devices just change to 'unknown device'. I'm thinking it has to do with some guid changing, but don't know how to fix it.

Also having the same issue

i have the same issue. when i install any update on any audio device (also with the graphic card) I loose all hotkeys with "unknown device".

This happens to me every time I reboot, I have two devices setup (one connected to built-in MB audio and one USB wireless headset) and they show up as "Unknown Device" after a reboot. Normally not a big issue, but with the frequency of Windows Updates lately I find my computer rebooting quite a bit.

same issue

I also have this issue. It manifests when the computer starts up, but not every time. It happens maybe once every few weeks.

Ive had this issue for years as well. Switched to Win11 when it came out, and it exists there as well.

Can confirm. My observation is that the issue is slightly different - it's devices that disappear and yet they still seem to take the previously assigned hotkey. The workaround I've found (I think it was mentioned here somewhere) is to go to Hotkeys and do Clear All despite that it might look empty; after that I can reassign the same hotkeys (seems to be easier from the Playback tab as you can just right click a device and choose Set Hot Key for it).

I'm also getting the same issue. Defeats the entire purpose of this app for me. It is auto starting up at start up, I have my hot keys set, and I'm using this so I can sync the hotkeys with my elgato stream deck. It works for a few days just fine, I leave my computer on I'm not even shutting it down much. Suddenly the hotkeys don't work. I have three hotkeys for three audio sources, but one of them in the apps UI disappears from the list. Whats weird is when I try to recreate it in the app, an "!" symbol pops up claiming there already is a hotkey with the same mapped buttons, but isn't listed. Super weird. This needs to be fixed or I'm switching apps to something else that can do the same thing.

Same here.  Hotkeys disappear.  Have to re-bind them several times.  I have also experienced that I need to clear the list to be able to recreate even just 1 binding.


Commonly used Git operations

As this repository is frequently updated, students need to update their local&forked repo as well.
If someone could make a clear tutorial for this (or other git operations), he/she could get up to 30 points.
git rebase is preferred.

Partially fixed by #82 . @edisonhello Please mention this issue when you submit your homework. This worths 10 points.

Fixed by #78 . @s950449 Please mention this issue when you submit your homework. This worths 20 points.

There are some typo in FAQ

I will make a PR to solve


[backport][CWS] Tag activity dump nodes with default rules

What does this PR do?
Consider the default rules when tagging activity dumps nodes with matched rules

Motivation

Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

Reviewer's Checklist

[ ] If known, an appropriate milestone has been selected; otherwise the Triage milestone is set.
[ ] Use the major_change label if your change either has a major impact on the code base, is impacting multiple teams or is changing important well-established internals of the Agent. This label will be use during QA to make sure each team pay extra attention to the changed behavior. For any customer facing change use a releasenote.
[ ] A release note has been added or the changelog/no-changelog label has been applied.
[ ] Changed code has automated tests for its functionality.
[ ] Adequate QA/testing plan information is provided if the qa/skip-qa label is not applied.
[ ] At least one team/.. label has been applied, indicating the team(s) that should QA this change.
[ ] If applicable, docs team has been notified or an issue has been opened on the documentation repo.
[ ] If applicable, the need-change/operator and need-change/helm labels have been applied.
[ ] If applicable, the k8s/<min-version> label, indicating the lowest Kubernetes version compatible with this feature.
[ ] If applicable, the config template has been updated.

Should this be against branch 7.44.x?

Looks like the other teams tagged on this PR are not required. @lebauce you can remove them if you like; I removed @DataDog/networks


SIMSBIOHUB-449: Upgrade Postgres from 12.5 to 17 (WIP)

Links to Jira Tickets
https://apps.nrs.gov.bc.ca/int/jira/browse/SIMSBIOHUB-449
Description of Changes
Upgrade local and remote postgres versions from 12.5 to 15.
Testing Notes
Database builds/deploys as usual.
Existing data produced under version 12.x gets picked up by the new version correctly. Worst case scenario we need to manually migrate the data, but ideally it just works without issues.

Closing and reopening because openshift wont re-create the image stream with tag '1426' for some reason (other numbers work...)


Subresources are missing Script field in inspector

Godot version
3.3.2.stable.mono.official
System information
Windows 10
Issue description
When Resource types expose a Resource typed field, assigned, objects as sub-Resources (= non-externally linked) don't show their Script field in the inspector.

Steps to reproduce
Create something that exposes a Resource typed field, assign a new Resource from the inspector, and see the Script field not being displayed for it.
Minimal reproduction project
No response

This is likely due to how Object's Script property is exposed in a special way. For instance, its property is not exposed to the class reference, but its setter and getter methods are.

This is still the case for Godot 4.2.2. Is there a workaround or solution to this in the works?


C# code formatting ignoring EditorConfig settings

From @michaldudak on August 18, 2017 11:47
Format selection / Format document commands seem to ignore the current EditorConfig settings when applied to a C# file.
I'm not sure if this repo is the right place for to log the issue. Please correct me if it should be elsewhere.

VSCode Version: Code 1.15.1 (41abd21afdf7424c89319ee7cb0445cc6f376959, 2017-08-16T18:05:38.342Z)
OS Version: Windows_NT ia32 10.0.15063
Extensions:

Extension
Author (truncated)
Version

path-intellisense
chr
1.4.2

gitignore
cod
0.5.0

vscode-svgviewer
css
1.4.2

vscode-eslint
dba
1.2.11

githistory
don
0.2.3

EditorConfig
Edi
0.9.4

auto-rename-tag
for
0.0.14

vscode-flatland-icon-theme
geb
0.0.6

vscode-auto-open-markdown-preview
hnw
0.0.4

icon-fonts
idl
1.8.0

vscode-angular2-emmet
jak
2.0.3

Angular2
joh
2.4.0

vscode-less
mrm
0.6.3

csharp
ms-
1.12.1

PowerShell
ms-
1.4.1

typescript-javascript-grammar
ms-
0.0.23

vs-keybindings
ms-
0.1.7

sass-indented
rob
1.4.1

autoimport
ste
1.2.2

(2 theme extensions excluded)

Steps to Reproduce:

Have the following .editorconfig file in a directory:

root = true

[*]
indent_style = tab

Create a new C# file indented with tabs
Run Format Document command on it
See that tabs were converted to spaces.

One thing to note - "omnisharp.useEditorFormattingSettings" is set to true in my configuration.

Reproduces without extensions: No
Copied from original issue: Microsoft/vscode#32776

I bet we'll get a lot of this for free once Roslyn finishes implementing editorconfig support for the compiler (cc @jasonmalinowski @jinujoseph)

I bet we won't :smile:

I'm curious, why not?

I'm just betting on it not working based on looking at editorconfig in the past and finding that everything was completely internal. How would it get into the OmniSharpWorkspace? Just because it would be passed into the compiler doesn't mean it would make it's way into our workspace options automatically.

Well, it should Just Work because if it doesn't, you can yell at us to finish the job. ;-) Given we have to support in the same API the command line compiler, the VS inproc and out of proc workspaces...we have to design it flexibly.

@jasonmalinowski : Could you loop me in to that design work? I'd like to make sure it meets our needs.

@DustinCampbell Sure!

Loop in @rchande too.

@rchande

once Roslyn finishes implementing editorconfig support for the compiler

Are there any plans for that?

yes @Nepoxx
This has been in our Wish list for a while  Link

Is there a workaround for this atm, other than disabling the plugin?

When will this issue be fixed please?

This would be great to have.

The work on the Roslyn side to integrate .editorconfig support into the compiler is not yet complete, but is in progress. This is necessary before we can make this work in C# for VS Code.

@DustinCampbell Am I right, based on this comment, that you're tracking EditorConfig support here? If so, is there any chance that you'll be working toward the extended list of .NET coding conventions that Visual Studio supports?

Is there any upstream issue from roslyn to add support for editorconfig that's trackable anywhere?

Hi everyone, doesn't Roslyn already support pulling configuration from .editorconfig via https://github.com/dotnet/roslyn/blob/master/src/Workspaces/Core/Portable/Options/EditorConfig/EditorConfigDocumentOptionsProviderFactory.cs in Workspaces?
See also:

Providing code styles via .editorconfig: https://github.com/dotnet/roslyn/blob/master/src/CodeStyle/Core/Analyzers/Options/AnalyzerConfigOptionsExtensions.cs#L29
The dotnet-format tool which uses these APIs today to format code: https://github.com/dotnet/format

@kpko Yes, that's the proper support we're building. We're starting to test that internally and work through a few other design issues before we call that good.

Nice that this is merged in the omnisharp-roslyn package, but when can we expect this in VS Code? Until the feature works in this repo, I would not really consider this closed.

@guidobouman this is like the last challenge of using GitHub issues... I don't care when it's closed, I care when it's released!


it's expensive to insert at the end of a list

Thanks for sharing your learning experience of Elixir with the rest of us.
I was reading it and it occurred to me it might be worth pointing out the performance difference of appending to a list and prepending to a list. Can you look at this request and let me know if it's worth adding this new test case?

:shipit:

Thanks @jduan!


rpc error: code = unknown desc = listen tcp :53000: bind: An attempt was made to access a socket in a way forbidden by its access permissions

Describe the problem
I cannot sign into netbird on Windows 10.
To Reproduce
Steps to reproduce the behavior:

Install netbird
Click "Connect"
This pop up shows:

I am able to sign in to my account in the browser, but then after successfully signing in, I get "Connection Refused" to localhost:53000.

Expected behavior
I can sign in.
Are you using NetBird Cloud?
I am selfhosting
NetBird version

I am unsure what version of the server I am running. I looked for about 5 minutes but could find no indication anywhere.

duplicate of #1607


Is new sample link pointing to an incorrect sample?

This sample is for a damemon calling a Web API, however the new sample link below is pointing to a sample of damemon calling Microsoft Graph API. Is there a new sample for a daemon calling an Web API?
https://github.com/azure-samples/ms-identity-dotnetcore-daemon-console.
Regards
Rahul

Hello @rahulvmarathe
The .NET core daemon tutorial is now a multi-step tutorial. The second steps shows the daemon calling a Web API:
https://github.com/Azure-Samples/active-directory-dotnetcore-daemon-v2/tree/msal3x/2-Call-OwnApi


Change template logging bug

If you have a changed template where the previous template was already deleted by the sync process, the logging of the template change will throw a null reference exception because it's not expecting a null for the old template.

Released in 3.3.1


Item hyperlinking in chat

This is a similar post to #6642 --
I was hoping to have it work more similarly to how !kc or other similar commands work. I'm not sure if this would still fall under the umbrella of "no auto typing."
Is your feature request related to a problem? Please describe.
It would be nice to have the ability to hyperlink an item in your inventory or worn items in chat. Other people on RuneLite would be able to then click on the item linked and be brought to the Wiki page.
Describe the solution you'd like
Alt/(some other key idk)-click an item in your inventory/equipment tab to hyperlink it in chat.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've
considered.
Additional context
Many other MMOs have functionality like this. As a matter of fact, RS3 has something similar through the use of the quick-chat although it doesn't actually link anything.
An example from another MMO:
Item linked in my typed chat http://prntscr.com/oaab4u
Item hyperlinked in guild chat: http://prntscr.com/oaabkr
This allows other user to click the linked item and see a quick description of it in-game. Obviously the in-game description wouldn't be possible in RuneScape, but a link to the OSRS wiki would be more than sufficient.

To counter no auto typing, here's a suggestion for a new chat command:
"!wiki Dragon Scimitar" -> [LINK]https://oldschool.runescape.wiki/w/Dragon_scimitar

Unfortunately we cannot do this because it would require auto typing.


Lots of API requests to '/extended/v1/tx/[object%20Object]' being made

Describe the bug
Hiro's Explorer seems to make about 40k requests to the /extended/v1/tx/[object%20Object] API path every day.
These requests are now being blocked at the firewall level since they weren't resolving anyways, but we should still figure out why the Explorer is making so many requests to this invalid endpoint.
Expected behavior
All requests from the Explorer to the API should be valid (save for reasonable incompatibilities between various Explorer and API versions).

cc @He1DAr @asimm241

@aulneau Thanks for this context. Is your sense that the wallet no longer exhibits this request behavior?

@He1DAr can you check is this is relevant, please?


bugfix: fix coredump issue when future_execute() return network error

bugfix: 修复future_execute()错误时，ExecutionResponse.spaceName == nullptr，直接解引用导致的coredump问题
bugfix: fix coredump issue when future_execute() return network error. In such case, ExecutionResponse.spaceName == nullptr。There is segment fault at SessionPool.cpp@line45 and line65。
What type of PR is this?

[x] bug
[ ] feature
[ ] enhancement

What problem(s) does this PR solve?
Issue(s) number:
Description:
segement fault：

full log：
coredump.log
source code:
ExecutionResponse SessionPool::execute(const std::string &stmt) {
  auto result = getIdleSession();
  if (result.second) {
    auto resp = result.first.execute(stmt);
    if (*resp.spaceName != config_.spaceName_) {    // line45
      // switch to origin space
      result.first.execute("USE " + config_.spaceName_);
    }
    giveBack(std::move(result.first));
    return resp;
  }
...
}

根因 / root cause
Connection.cpp @ line145
ExecutionResponse Connection::execute(int64_t sessionId, const std::string &stmt) {
  ExecutionResponse resp;
  try {
    resp = client_->future_execute(sessionId, stmt).get();
  } catch (const std::exception &ex) {
    resp = ExecutionResponse{
        ErrorCode::E_RPC_FAILURE, 0, nullptr, nullptr, std::make_unique<std::string>(ex.what())};
  }
  return resp;
}

How do you solve it?
增加 spaceName 非空判断，不无脑解引用
check ExecutionResponse.spaceName is nullptr before compared with config_.spaceName_
Special notes for your reviewer, ex. impact of this fix, design document, etc:

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.rayrphuang seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

@yixinglu
这些代码检查流水线失败了，帮忙看一下？我预期我修改的代码，毕竟才加了2个判断语句，不会触发这些流水线告警才对。
hi, please check the code merge request pipeline error. There are only two line of code modification. No warning or pipeline error is expected. Please let me know if i can be of any help.

@yixinglu 这些代码检查流水线失败了，帮忙看一下？我预期我修改的代码，毕竟才加了2个判断语句，不会触发这些流水线告警才对。 hi, please check the code merge request pipeline error. There are only two line of code modification. No warning or pipeline error is expected. Please let me know if i can be of any help.

don't worry about these failures which will be fixed later, thanks for your contribution! cc @Shylock-Hg

@Shylock-Hg @rayhuang90 We have met the same problem, could you modify and merge this PR?


PolicyEvaluation not well defined in the swagger spec

Is this a BUG REPORT or a FEATURE REQUEST?:
Bug report (depends how you look at it :smile: )

Version of Anchore Engine and Anchore CLI if applicable:
Name: anchore-engine
Version: 0.2.2.dev0
Summary: Anchore Engine
Home-page: http://www.anchore.com
Author: Anchore Inc.
Author-email<EMAIL_ADDRESS>License: Apache License 2.0
Location: /usr/lib/python2.7/site-packages
Requires: Twisted, pg8000, boto3, botocore, chardet, click, clickclick, connexion, docker-py, enum34, docutils, Flask, functools32, futures, idna, inflection, itsdangerous, Jinja2, jmespath, jsonschema, MarkupSafe, pathlib, python-dateutil, PyYAML, requests, s3transfer, six, SQLAlchemy, swagger-spec-validator, typing, urllib3, watchdog, Werkzeug, passlib, prometheus-client, prometheus-flask-exporter, python-swiftclient, python-keystoneclient, pytz, anchore, certifi
Required-by:

What happened:
PolicyEvaluation is not well defined in the swagger spec:
https://github.com/anchore/anchore-engine/blob/49416a4bd09948f18df1e069297756d530c32ec1/anchore_engine/services/apiext/swagger/swagger.yaml#L1574-L1576
So the swagger generated go API will fail when unmarshaling.
What did you expect to happen:
For it to be defined
Happy to do a PR but not sure of the exact fields :roll_eyes:

hi @Sh4d1 - thank you, this is something we would like to dig into, to ensure generated clients are ready to go.   It would help if you could give us a complete description/CLI/tarball of the process you're using, to help us verify fixes/updates against the specific code-gen/client process that you're using - would you mind sharing your process/example client code that exhibits the issue?

Hey @nurmi !
So I'm using Go code generated by swagger codegen (available at https://github.com/Sh4d1/go-anchore)
Here is my code:
package main

import (
	"fmt"
	"os"
	"time"

	anchore "github.com/Sh4d1/go-anchore"
	"golang.org/x/net/context"
)

func main() {
	config := &anchore.Configuration{
		BasePath:      "http://localhost:8228",
		DefaultHeader: make(map[string]string),
		UserAgent:     "Swagger-Codegen/1.0.0/go",
	}

	client := anchore.NewAPIClient(config)
	auth := context.WithValue(context.Background(), anchore.ContextBasicAuth, anchore.BasicAuth{
		UserName: "admin",
		Password: "foobar",
	})

	new_image := anchore.ImageAnalysisRequest{
		Tag: "docker.io/traefik:1.5",
	}
	image, _, err := client.ImagesApi.AddImage(auth, new_image, nil)
	if err != nil {
		fmt.Println(err.Error())
		return
	}
	if len(image) > 1 {
		fmt.Println("Weird")
		return
	}
	for {
		im, _, err := client.ImagesApi.GetImage(auth, image[0].ImageDigest)
		if err != nil {
			fmt.Println(err.Error())
			return
		}
		if len(im) > 1 {
			fmt.Println("Also weird")
			return
		}
		if im[0].AnalysisStatus == "analyzed" || im[0].AnalysisStatus == "analysis_failed" {
			break
		}
		time.Sleep(1000 * time.Millisecond)
	}
	_, _, err = client.ImagesApi.GetImagePolicyCheck(auth, image[0].ImageDigest, "1.5", nil)
	if err != nil {
		fmt.Println(err.Error())
	}
}

And here is the output:
json: cannot unmarshal array into Go value of type swagger.PolicyEvaluation

It happens when I call GetImagePolicyCheck
Do you need more info? :smile:

@Sh4d1 - thank you very much, that helps a lot and ensures that we're working on/validating the same thing - we'll take a look and track here with updates

@Sh4d1 - update on this, we were able to reproduce the issue and I believe there are two problems that we need to address - first is that the swagger-codegen generated code isn't handling an array as an object, which is something we can resolve pretty easily by being more specific in the swagger for the PolicyEvaluation response (specify an array of PolicyEvaluations as the response type for the check route).
However, even once that is addressed, the generated code is still not handling a generic 'object' without its form being explicitly specified (which is what the title of this issue accurately points out) - we'll need to put some time into specifying the form of PolicyEvaluation response objects explicitly in order for the generated code to function correctly.
We'll make both of these changes in future releases of anchore-engine, and will track the progress on this ticket!

Fyi, using JSONObject (and Java) I had no problems unmarshalling these types referring to Object.


Convergence issue

Hi,
Training of the SVM is not converging for the attached file. If you have time, Please look into it.
Tested with Code base : Github 4th July
Command used : svm_train_matlab({'-c', num2str(0.01), '-t', num2str(0), 'feat.train', 'model'});
features file: https://drive.google.com/open?id=1phq-VsmmJ8x9UbYw17fGxU0pRPB_ezie
Thanks for your time.

I've tested thundersvm with the hyper-parameters, and thundersvm worked fine in my machine. The training took about 2 minutes on the CPUs in my workstation. Perhaps, you need to wait a bit longer?

I will test it again, thanks.


Level 8

Summary
Hi, i have decided to start working from the back of the project to conquer the hard parts then complete the front, is there any tips for me before i start on level 8?

What I did was to handle the queuing and dequeuing in shop for selfcheckout servers since the queuing and dequeuing of the customers is only in the k+1 selfcheckout server, but the service will be done at their respective servers.  Other than that is mostly overriding your methods to return a new selfcheckout instead of a new server. This worked for me at least. Kind of really depends on ur implementation.

You shouldn't approach the project like that, because it's meant to build up from each level, but I can roughly share with you my thought process, pseudo-code and thought process behind solving Level 8.
Firstly, you need to decide where you want to put the shared queue. The most common methods I've seen on these threads are people updating the queues of ALL self-checkouts when one of them updates (which is what I did, in the Wait and Serve Events), as well as putting the queue in the Simulation itself. However, I don't recommend the latter method as the structure of your code and classes should not rely on the Simulation class.
Further elaborating on my approach, I did not create a new Self-Checkout class like others and instead, created a boolean property in my existing Server class to indicate whether it is a Self-Checkout or not. In the Simulate, I instantiate my Server objects differently depending on whether the Server is a human or self-checkout server. Afterwards, I created a getter to get this boolean, checking it during my different executes in the Events.
Most importantly, make sure you update your Servers properly in all your Events, making sure you update your queues. Also, in your Wait (or Pending class if you have one), make sure that you get the Self-Checkout with the earliest available timing, and allocate the next Event to that Self-Checkout as they all share the same queue.
Lastly, in your Done Event, make sure that you do not account for the rest times.
Hope this helps you, and that you solve it before the deadline!

Hi @tristky! I share similar sentiments to Jon above. This project is meant to be completed incrementally, and the portions behind builds a lot on the concepts from the front.
Once you have completed Level 7, my implementation logic was to simply add an additional boolean to Servers that were deemed to be Self Check-out servers. The rest of my implementation logic within the Server class then depended on this boolean to give different results.
My Shop class then updated the shared queue for all the Self Check-out servers whenever a Serve, WaitServe or Wait event was executed. This ensured consistency throughout all my Self Check-out servers' customer wait list. I also had a poll method in my Shop that will return the Self Check-out servers with the fastest available time.
Hope this helps!

Thank you all for your inputs, it is heartening to see everyone's kind hearted words and inputs from the bottom of your hearts, i have been going at this assignment and i do not see the end, however i am trying my best as my grades are on the line, please do give yourselves a pat on the back as this is no easy feat. Thank you for being so altruistic. it warms the cockles of my heart to see such kind gestures in the course, hopefully when covid is over, let us all celebrate.

Hi!
I extended SelfCheckout from Server and most of the methods there are the same. I had the shared queue in Simulate8 and did the updating of the queues there as well. Only SelfCheckout k + 1 has a maximum queue length which is the same as the maximum queue length for each human Server while subsequent SelfCheckouts have a maximum queue length of 0. To check if a Server was a SelfCheckout, I had an identify method that would return a String.
For the updating, if it's a Wait event, I checked if the Server was a SelfCheckout and added the Customer to the shared queue. I then updated all the SelfCheckout queues. Also remember to update Shop after updating all the queues because I forgot to and ended up getting the wrong answer!
I think most of the threads recommend removing from the queue in Done event but my implementation was different so I used Serve event instead. If the polled event is a Serve event and the Server was a SelfCheckout, I removed the Customer from all the other SelfCheckouts' queues except for the SelfCheckout that was serving because I would remove that Customer later in Done event. I then updated the Shop again.
I hope this helps and all the best in completing the project!!

Hi!
Similar to the previous comments, I think you should do your projects incrementally. The implementation of the self check-out object is similar to the implementation of the server object. As mentioned previously, you can make self check-out an extension of server, though, you'd have to find out a way to differentiate between human and self check-out server. You can do this either using boolean (true for server, false for checkout), string (if server, the identity is "server", if selfcheckout, the identity is "checkout"), etc.
Hope this helps!


Setting build.enabled: false stops packaging of custom builds

Describe the bug
When using a none standard build and setting build.enabled = false via serverless.yml, the component does not package the custom build ready for deployment and instead attempts to deploy the contents of .serverless_nextjs
To Reproduce
Steps to reproduce the behavior:

Set the build settings in serverless.yml file

build:
    enabled: false

execute a custom next build in terminal

stage=staging node_modules/.bin/next build

Run the serverless-next.js deployment

serverless --debug

Expected behavior
The component should take the custom build from the .next directory and process this build in to .serverless_nextjs directory for deployment.
Desktop (please complete the following information):

OS: macOS Mojave
Version 10.14.4

Additional context
In our build we have a requirement to pass a stage environment variable to the next build process, to my knowledge, the only way to do this is to set it via command line before executing next,
Attempts to set this via the build.cmd option in serverless.yml fail with error code -2
build:
    cmd: "stage=staging node_modules/.bin/next"

build:
    env:
       stage: staging

This issue has been cause by the initial check for build inputs in serverless.js at line 23 only checking that inputs.build does not equal false and not considering inputs.build.enabled
async default(inputs = {}) {
   if (inputs.build !== false)
      await this.build(inputs);
   }
   return this.deploy(inputs);
}

My suggestion would be that we do not check for build inputs at all at this point, my guess is that it's unlikely that a user would never not want to 'package' the build for deployment? if that is a requirement then maybe it could be added as an additional build property?
build:
   enabled: false
   package: true

also, there is an additional check that stops execution of the next build as part of the async build so it is a little redundant to check in the default function
if (buildConfig.enabled) {
   let { cmd, args, cwd, env } = buildConfig;
   await execa(cmd, args, {
      cwd,
      env
   });
}

@danielcondemarin are you happy to accept a PR for this? or any thoughts/suggestions?


[META] Works on Windows, yet?

Helm has some bugs when it comes to working on and with Windows. Filing as a high level ticket to track windows support, unless there is another way.

[ ] #2362 Helm init failed on windows
[x] #2396 Failed to install vendor dependencies on Windows
[ ] #2420 Support Tiller installs in clusters with Windows nodes
[ ] #1606 Add AppVeyor CI support for Windows testing
[ ] #2071 Error: open .helm\repository\cache\local-index.yaml
[ ] #2252 Error using repo add

There are more issues still to be determined.

This is great. Thanks for doing this @mattfarina

This would be a fantastic use case for a Github Project to track ticket progress. "Windows Conpatibility", perhaps?

I have been wanting to do that for a while, I was waiting for people to get used to the new developer workflow, so now may be a good time

At the very least the server-side commands like helm install and helm init all work on Windows, so that's good!
I'll see what I can do about the repo add and local-index issues this release.

Tacked on #3219 to the list.

https://github.com/kubernetes/helm/issues/4304 is another windows-specific bug
/remove-lifecycle stale

another bug: #4418

appveyor support has been added in #4136 and will kick in after the 2.10 release cycle. At that point, I think there's only a few more bugs to consider Helm fully working on Windows!


App error

The application container is exiting in docker with an error:
./app: error while loading shared libraries: libssl.so.3: cannot open shared object file: No such file or directory

After upgrading the Debian image, the error seems to have disappeared. Please get the latest update from the main branch.


New footer banner - Global Core Biodata Resource

It is necessary to include a banner in the footer of the website pointing out that GBIF is a Global Core Biodata Resource.
This is a suggestion on how it could look like.

I'm including the Global Core Biodata Resource logo in .svg

It should link to this news item https://www.gbif.org/news/6PHdgoyIF6RmI7u4VOouuD

closed by https://github.com/gbif/portal16/commit/2c1b3c368d28e1babebdd77a0d838f40022fd85e


documentation is needed on how to prepare a sample template

I'm trying to use qiita to do a test analysis, and I don't know what fields I need to have in my sample template. It sounds like this documentation doesn't currently exist.

Does not exist - I can help tomorrow
On Mon, Mar 9, 2015 at 10:17 PM, Greg Caporaso<EMAIL_ADDRESS>wrote:

I'm trying to use qiita to do a test analysis, and I don't know what
fields I need to have in my sample template. It sounds like this
documentation doesn't currently exist.
—
Reply to this email directly or view it on GitHub
https://github.com/biocore/qiita/issues/933.

--
Gail Ackermann
Knight Lab
UCSD
<EMAIL_ADDRESS><EMAIL_ADDRESS>

This also may ultimately be a place where @jairideout's keemai project could be useful. It's a Google Spreadsheets-based QIIME mapping file validator that he's been working on as a side project, so could give users information in realtime about warnings/errors in their sample templates/mapping files.

That sounds awesome!
On Mar 9, 2015, at 11:02 PM, Greg Caporaso <notifications<EMAIL_ADDRESS>wrote:
This also may ultimately be a place where @jairideouthttps://github.com/jairideout's keemaihttps://github.com/jairideout/keemei project could be useful. It's a Google Spreadsheets-based QIIME mapping file validator that he's been working on as a side project, so could give users information in realtime about warnings/errors in their sample templates/mapping files.
—
Reply to this email directly or view it on GitHubhttps://github.com/biocore/qiita/issues/933#issuecomment-78000508.

Can I work with him to develop it?
On Mon, Mar 9, 2015 at 11:02 PM, Greg Caporaso<EMAIL_ADDRESS>wrote:

This also may ultimately be a place where @jairideout
https://github.com/jairideout's keemai
https://github.com/jairideout/keemei project could be useful. It's a
Google Spreadsheets-based QIIME mapping file validator that he's been
working on as a side project, so could give users information in realtime
about warnings/errors in their sample templates/mapping files.
—
Reply to this email directly or view it on GitHub
https://github.com/biocore/qiita/issues/933#issuecomment-78000508.

--
Gail Ackermann
Knight Lab
UCSD
<EMAIL_ADDRESS><EMAIL_ADDRESS>

That should work, let's talk to him about it when he comes online today.
Sent from my phone, please excuse typos and brevity.
On Mar 9, 2015 11:40 PM, "ackermag"<EMAIL_ADDRESS>wrote:

Can I work with him to develop it?
On Mon, Mar 9, 2015 at 11:02 PM, Greg Caporaso<EMAIL_ADDRESS>wrote:

This also may ultimately be a place where @jairideout
https://github.com/jairideout's keemai
https://github.com/jairideout/keemei project could be useful. It's a
Google Spreadsheets-based QIIME mapping file validator that he's been
working on as a side project, so could give users information in realtime
about warnings/errors in their sample templates/mapping files.
--
Reply to this email directly or view it on GitHub
https://github.com/biocore/qiita/issues/933#issuecomment-78000508.

--
Gail Ackermann
Knight Lab
UCSD
<EMAIL_ADDRESS><EMAIL_ADDRESS>--
Reply to this email directly or view it on GitHub
https://github.com/biocore/qiita/issues/933#issuecomment-78003236.

This is in progress here.

I'm closing this as we have this documented. It was added here: https://github.com/biocore/qiita/pull/1191


Adapt training code to handle new config on the hooked_prisma branch

Design decision about whether to have training config remain nested must be decided by whoever takes this issue

I've started work on this issue

Excellent, thanks
ᐧ
On Tue, Jan 30, 2024 at 7:08 PM Praneet @.***> wrote:

I've started work on this issue
—
Reply to this email directly, view it on GitHub
https://github.com/soniajoseph/ViT-Prisma/issues/65#issuecomment-1918301969,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHBIYMD5LJQD4LWIV45RP53YRGYS7AVCNFSM6AAAAABCSAEWTCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJYGMYDCOJWHE
.
You are receiving this because you authored the thread.Message ID:
@.***>


FancyZones layouts not saving to each monitor

Microsoft PowerToys version
0.60
Running as admin

[X] Yes

Area(s) with issue?
FancyZones
Steps to reproduce
I have two custom layouts setup for each of my two monitors. My primary monitor is set to the first layout and the second monitor to the second layout. In the layout editor, when clicking on the monitors, I set the layouts specified to each one with the zone preview.
Once exiting out of the layout editor, the first monitor's layout works correctly and when dragging a window from the primary monitor to the second, only the primary monitor's layout shows on the second monitor.
After I go back into the layout editor to see what layout is specified for the second monitor, I see that "Priority Grid" template is set for the 2nd monitor, not my 2nd custom layout. This is repeatable every time.
✔ Expected Behavior
I was expecting to exit out of the layout editor and it would save my selections of custom layouts per monitor.
❌ Actual Behavior
The first monitor's layout is forced onto the second monitor's layout, incorrectly choosing the wrong layout.
Other Software
No response

Added logs in hopes this would help.
Logs.zip

the same

Have the same bug since I updated!

I also experienced this issue. I commented on Issue #19235, which is essentially the same bug but with different details in the report. Zones seem to work fine on a laptop monitor, but if you have multiple external monitors connected the layout of the main monitor takes precedence.

/dup of https://github.com/microsoft/PowerToys/issues/19203
Working on a fix. Thank you.


[Event Request] Table 36 Sales Header - OnUpdateSellToCustOnBeforeFindContactBusinessRelation

Requesting a new Event Publisher on Table 36 Sales Header
Event
OnUpdateSellToCustOnBeforeFindContactBusinessRelation(Cont : Record Contact,VAR ContBusinessRelation : Record "Contact Business Relation",VAR ContactBusinessRelationFound : Boolean, VAR IsHandled : Boolean)
Code
LOCAL UpdateSellToCust(ContactNo : Code[20])
IF NOT Cont.GET(ContactNo) THEN BEGIN
  "Sell-to Contact" := '';
  EXIT;
END;
"Sell-to Contact No." := Cont."No.";

IF Cont.Type = Cont.Type::Person THEN
  ContactBusinessRelationFound := ContBusinessRelation.FindByContact(ContBusinessRelation."Link to Table"::Customer,Cont."No.");
No.",Cont.Name,"Sell-to Customer No.");

  IF "Sell-to Customer No." = '' THEN BEGIN
    SkipSellToContact := TRUE;
    VALIDATE("Sell-to Customer No.",ContBusinessRelation."No.");
    SkipSellToContact := FALSE;
  END;

  IF (Cont."E-Mail" = '') AND ("Sell-to E-Mail" <> '') AND GUIALLOWED THEN BEGIN
    IF CONFIRM(ConfirmEmptyEmailQst,FALSE,Cont."No.","Sell-to E-Mail") THEN
      VALIDATE("Sell-to E-Mail",Cont."E-Mail");
  END ELSE
    VALIDATE("Sell-to E-Mail",Cont."E-Mail");
  VALIDATE("Sell-to Phone No.",Cont."Phone No.");
END ELSE BEGIN
  IF "Document Type" = "Document Type"::Quote THEN BEGIN
    IF Cont."Company No." <> '' THEN
      SearchContact.GET(Cont."Company No.")
    ELSE
      SearchContact := Cont;
    "Sell-to Customer Name" := SearchContact."Company Name";
    "Sell-to Customer Name 2" := SearchContact."Name 2";
    "Sell-to Phone No." := SearchContact."Phone No.";
    "Sell-to E-Mail" := SearchContact."E-Mail";
    SetShipToAddress(
      SearchContact."Company Name",SearchContact."Name 2",SearchContact.Address,SearchContact."Address 2",
      SearchContact.City,SearchContact."Post Code",SearchContact.County,SearchContact."Country/Region Code");
    IF ("Sell-to Customer Template Code" = '') AND (NOT CustTemplate.ISEMPTY) THEN
      VALIDATE("Sell-to Customer Template Code",Cont.FindCustomerTemplate);
  END ELSE
    ERROR(Text039,Cont."No.",Cont.Name);
  "Sell-to Contact" := Cont.Name;
END;
..........

In Our Solution we have contacts that are not linked to a company but can also become customers that can order items and so on. We need to be able to get the Contact Business Relation not only based on Company No. of Contact but also if that field is empty based on No. of Contact. Can you please add this publisher?

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


ArgumentError  in Mobile when starting with an empty Document

To reproduce:

Take the following sample app:

class SampleApp extends StatelessWidget {
  const SampleApp({Key? key}) : super(key: key);
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        body: Container(
          color: Colors.blueGrey.shade300,
          margin: const EdgeInsets.all(100.0),
          child: SuperEditor(
            editor: DocumentEditor(
              document: MutableDocument(
                nodes: [
                  // uncomment and it'll work fine
                  // ParagraphNode(id: '0', text: AttributedText(text: 'test'))
                ],
              ),
            ),
            // same issue applies to: DocumentGestureMode.android
            gestureMode: DocumentGestureMode.iOS,
            inputSource: DocumentInputSource.ime,
          ),
        ),
      ),
    );
  }
}

Tap on the grey area
This error should show up: ArgumentError (Invalid argument(s): 1.0)

The error points to the following (when I placed a debug point there, width was equal to 0):
https://github.com/superlistapp/super_editor/blob/47e05fcfbc4f9e5e7a21357ef60dcb0ce48ee814/super_editor/lib/src/default_editor/layout.dart#L104
Additional context:

The error is reproducible using either the simulator or macOS using the latest main.

Here's a simple test to reproduce as well taken from the autofocus PR:
  testWidgets('Reproduce Argument error', (tester) async {
    await tester.pumpWidget(
      MaterialApp(
        home: Scaffold(
          body: SuperEditor(
            editor: DocumentEditor(document: MutableDocument(nodes: [])),
            gestureMode: DocumentGestureMode.iOS, // or .android
          ),
        ),
      ),
    );
    await tester.tap(find.byType(SuperEditor));
    await tester.pumpAndSettle();
  });


DOC: Add missing colons in docstrings

Hey, in the context of another pull requests I was going through all versionadded directives in scipy and found a few where the second colon was missing. So assuming these were left out by mistake I corrected them.

Thanks @awakenting.


Keyboard Shortcuts editor: does not show custom arguments

Context
Keybindings may have arguments, which are kept in the "args" JSON key in "keybindings.json". Currently, the Keyboard Shortcuts editor does not:

indicate the presence of custom arguments, nor
show the contents of the arguments

Problems
Problem #1: When using the Keyboard Shortcuts editor, a user has no way of knowing that custom arguments are in effect.
Problem #2: When using the Keyboard Shortcuts editor, if there are multiple keybindings that share a command but have different arguments, there is no way of knowing if or how they differ.

# keybindings.json
    {
        "key": "ctrl+e ctrl+w",
        "command": "editor.emmet.action.wrapWithAbbreviation",
        "when": "editorTextFocus"
    },
    {
        "key": "ctrl+e ctrl+d",
        "command": "editor.emmet.action.wrapWithAbbreviation",
        "args": {
            "abbreviation": "dfn"
        },
        "when": "editorTextFocus"
    },

Recommendation
While I will grant the Keyboard Shortcuts editor may not be able to represent all fields from "keybindings.json", there are certainly ways to improve it.
I'd suggest adding a column showing the custom arguments.
There are certainly UX aspects to figure out. Please let me know what ideas you have. Thanks!

/duplicate

/duplicate

@sandy081 What is the duplicate issue?
I looked as results from these searchs, but didn't see anything that qualifies as a duplicate:

https://github.com/microsoft/vscode/issues?q=keybinding+args
https://github.com/microsoft/vscode/issues?q=keybinding+arguments
https://github.com/microsoft/vscode/issues?q=show+key+arguments
https://github.com/microsoft/vscode/issues?q=show+key+args

If I missed something, I'm sorry. However, spending 10 minutes searching seems like a reasonable bar to meet.
In summary, I did a lot of search, but I see no duplicate. So, please, if you mark something as duplicate, please link which one you think is the duplicate. This can save everybody time.

@sandy081 What is the duplicate issue?
I looked as results from these searchs, but didn't see anything that qualifies as a duplicate:

https://github.com/microsoft/vscode/issues?q=keybinding+args
https://github.com/microsoft/vscode/issues?q=keybinding+arguments
https://github.com/microsoft/vscode/issues?q=show+key+arguments
https://github.com/microsoft/vscode/issues?q=show+key+args

If I missed something, I'm sorry. However, spending 10 minutes searching seems like a reasonable bar to meet.
In summary, I did a lot of search, but I see no duplicate. So, please, if you mark something as duplicate, please link which one you think is the duplicate. This can save everybody time.

https://github.com/microsoft/vscode/issues/84072

https://github.com/microsoft/vscode/issues/84072

@sandy081 Thank you. I'm glad your team is aware and tracking this. Thanks.

@sandy081 Thank you. I'm glad your team is aware and tracking this. Thanks.

For future reference, this is a good way to search to issues labeled with "keybindings-editor":
https://github.com/microsoft/vscode/labels/keybindings-editor
This particular search finds the duplicate issue very specifically:
https://github.com/microsoft/vscode/issues?q=is%3Aopen+label%3Akeybindings-editor+args

For future reference, this is a good way to search to issues labeled with "keybindings-editor":
https://github.com/microsoft/vscode/labels/keybindings-editor
This particular search finds the duplicate issue very specifically:
https://github.com/microsoft/vscode/issues?q=is%3Aopen+label%3Akeybindings-editor+args


[MER-791] Add age verification checkbox configurable by env var

https://eliterate.atlassian.net/browse/MER-791
Question
Do you think adding just validation on the client is enough? Or should we consider adding a virtual field in the user's schema or something to check it on the server as well?
My opinion is that it's not worth it, but I want to hear your thoughts.

I agree with you, probably not worth it.