As a user, I want to be able to delete my profile, so it is clearer that I am able to remove documents

Given a user,
when I am viewing a document,
and I click delete document,
then I'm shown a warning
and then the document is removed

If this is regarding the profile, lets remove.  The user can just delete the app.  See the readme


[Request] new repo to add

https://github.com/ivan-pi/stiff3
https://github.com/ivan-pi/TOMS-Algorithm-675
https://github.com/ivan-pi/fortran-flann
https://github.com/grimme-lab/nlopt-f
https://github.com/everythingfunctional/atom-build-fpm

Thanks.  I added them, except for https://github.com/everythingfunctional/atom-build-fpm , which is not in Fortran, but which I added to https://github.com/Beliavsky/Fortran-tools-on-GitHub/blob/main/README.md .


Add Static Http Server Parking Addon

This PR adds a Static Http Server Parking Addon with all necessary ingress, service and Pods.
This Add-on also adds the proper labels that can be discovered by EasyHAProxy.
To enable this addon:
microk8s enable parking <domainlist>

The  is the list of domains with comma to be set up on the EasyHAProxy ingress.
Also verify you have:

[x] Read the contributions page.
[x] Submitted the CLA form, if you are a first time contributor.

Thank you for this work @byjg. The addon will be available with the 1.27 release.
Similar to your other addon. Each addon gets its own place in the MicroK8s docs. Addons are linked from [1]. I prepared a page for the Parking addon in [2]. We can put there links to your work and what the next steps would be after enabling the addon.
Please let me know how would you like this docs page to look like.
[1] https://microk8s.io/docs/addons
[2] https://discuss.kubernetes.io/t/addon-parking/23186


feat(qt): Add an option to keep custom change address

Allow users to keep custom change address they specified earlier from one tx to another and between restarts. This can be useful for wallets handling donation/charity/etc. addresses, would allow them to provide max transparency with less efforts. Address reuse is not a very good practice in general though so default is "off".
(requested by TheDesertLynx on Discord recently but we are in feature-freeze mode so targeting 18.1)

Tried to test. Setting the setting was fine, but I'm not sure how to set a change address

Tried to test. Setting the setting was fine, but I'm not sure how to set a change address

@PastaPastaPasta Make sure you have "Preferences -> Wallet -> Enable coin control feature" enabled and you should be able to set it here then


Confusing behavior regarding macaroons and wallet initialization

Background
My understanding is that the macaroons should not be present right after start of LND, only after creating the wallet. I've read the code and the docs and it should be this way. However @ShahanaFarooqui claims that her LND generates admin.macaroon before the wallet is initialized. noseedbackup option was not used.
Could you please explain what could cause LND to generate macaroons before initialization?
Your environment

my version of lnd 10.2
@ShahanaFarooqui version of lnd: 10.4 - yes, I checked the code and changelog, they should act the same. Also same problem was apparently present few versions ago (see the linked issue)
my operating system (uname -a on *Nix) Linux  4.19.128-1.pvops.qubes.x86_64 #1 SMP Sun Jun 28 06:19:18 UTC 2020 x86_64 GNU/Linux
@ShahanaFarooqui operating system: I don't know.
my version of bitcoind: 0.20.0
@ShahanaFarooqui version of bitcoind: I don't know
any other relevant environment details: you can see our configurations at the linked issue

Steps to reproduce

Become myself
Run a new instance of LND
admin.macaroon is not generated
Become @ShahanaFarooqui
Run a new instance of LND
admin.macaroon is generated

Expected behaviour
admin.macaroon is not generated without wallet initialization
Actual behaviour
admin.macaroon is not generated if without wallet initialization if you are myself and is generated without wallet initialization if you are @ShahanaFarooqui

The macaroons are generated here. If you look a few lines above, the unlock happens here which blocks until a password is received (or a new wallet is created on first startup). This blocking step can only be skipped by using --noseedbackup.
Therefore if an admin.macaroon is available on disk before the wallet is unlocked, it was either created by a previous node start or by using --noseedbackup.
Also it might be helpful to note that none of the WalletUnlocker calls require a macaroon. The security RPC interceptor is not yet started at that point.


The suggested way of using Python libraries with EMR Serverless does not work

As detailed here and here we should be able to install and use a python venv:
--conf spark.archives=s3://DOC-EXAMPLE-BUCKET/EXAMPLE-PREFIX/pyspark_venv.tar.gz#environment
--conf spark.emr-serverless.driverEnv.PYSPARK_DRIVER_PYTHON=./environment/bin/python
--conf spark.emr-serverless.driverEnv.PYSPARK_PYTHON=./environment/bin/python
--conf spark.emr-serverless.executorEnv.PYSPARK_PYTHON=./environment/bin/python

but that doesn't seem to work. The application fails with this error:
Unpacking an archive s3://DOC-EXAMPLE-BUCKET/EXAMPLE-PREFIX/pyspark_venv.tar.gz#environment from /tmp/spark-02908b0e-9b64-469d-xxx-xxxxxxxx/pyspark_venv.tar.gz to /home/hadoop/./environment
Exception in thread "main" java.io.IOException: Cannot run program "./environment/bin/python": error=2, No such file or directory
	at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
	at org.apache.spark.deploy.PythonRunner$.main(PythonRunner.scala:105)
	at org.apache.spark.deploy.PythonRunner.main(PythonRunner.scala)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.apache.spark.deploy.JavaMainApplication.start(SparkApplication.scala:52)
	at org.apache.spark.deploy.SparkSubmit.org$apache$spark$deploy$SparkSubmit$$runMain(SparkSubmit.scala:1003)
	at org.apache.spark.deploy.SparkSubmit.doRunMain$1(SparkSubmit.scala:180)
	at org.apache.spark.deploy.SparkSubmit.submit(SparkSubmit.scala:203)
	at org.apache.spark.deploy.SparkSubmit.doSubmit(SparkSubmit.scala:90)
	at org.apache.spark.deploy.SparkSubmit$$anon$2.doSubmit(SparkSubmit.scala:1092)
	at org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:1101)
	at org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)
Caused by: java.io.IOException: error=2, No such file or directory
	at java.lang.UNIXProcess.forkAndExec(Native Method)
	at java.lang.UNIXProcess.<init>(UNIXProcess.java:247)
	at java.lang.ProcessImpl.start(ProcessImpl.java:134)
	at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
	... 14 more
22/07/20 05:36:18 INFO ShutdownHookManager: Shutdown hook called
22/07/20 05:36:18 INFO ShutdownHookManager: Deleting directory /tmp/spark-02908b0e-9b64-469d-b094-edee291a2426

Hi @amin010 - how did you build your venv?We have a note in the docs regarding this:

You must run the following commands in a similar Amazon Linux 2 environment with the same version of Python as you use in EMR Serverless, that is, Python 3.7.10 for EMR 6.6.0.

There's a sample Dockerfile in this repo that uses amazonlinux:2 as the base container image. Let me know!

I think you're right, I just used Python 3.7.10 and not Amazon Linux 2. The error message "No such file or directory" threw me off. Thanks.

Thanks for following up. I do think we need to make it more clear in the docs - I've had other folks run into similar issues.

Same error as @amin010 (not sure if emr unpacks the tar.gz in the correct folder) , then I packed it in a .zip, now I have
Cannot run program "./environment/bin/python3.9": error=13, Permission denied
Already followed the docker steps using  amazonlinux:2. Thanks

@StevenTollanis Based on your error message, it looks like you're using a different version of Python (3.9 vs 3.7). Can you provide the Dockerfile you used?
EMR Serverless can use a diff version of Python but it requires some additional steps.

@dacort This is my Dockerfile
`FROM --platform=linux/amd64 amazonlinux:2 AS base
RUN yum install gcc openssl-devel bzip2-devel libffi-devel gzip make -y
RUN yum install wget tar -y
WORKDIR /opt
RUN wget https://www.python.org/ftp/python/3.9.6/Python-3.9.6.tgz
RUN tar xzf Python-3.9.6.tgz
WORKDIR /opt/Python-3.9.6
RUN ./configure --enable-optimizations
RUN make altinstall
RUN rm -f /opt/Python-3.9.6.tgz
ENV VIRTUAL_ENV=/opt/venv
RUN python3.9 -m venv $VIRTUAL_ENV
ENV PATH="$VIRTUAL_ENV/bin:$PATH"
RUN python3.9 -m pip install --upgrade pip &&
python3.9 -m pip install
boto3 pandas pyspark
venv-pack==0.2.0
RUN mkdir /output && venv-pack -o /output/emr-python.tar.gz
FROM scratch AS export
COPY --from=base /output/emr-python.tar.gz /
`

@dacort Ok, gonna check the requires some additional steps. and try again first using tar.gz. Thanks

@StevenTollanis cool couple specific things to call out:

In the Dockerfile in that directory, venv-pack needs a special flag and you have to explicitly copy the Python binaries
Note the sparkSubmitParameters when you run the job, specifically for the driverEnv (and maybe executorEnv) config items.

@dacort I rebuilt my Dockerfile based on your custom Dockerfile, but it went back to the error I got the first time:
Cannot run program "./environment/bin/python": error=13, Permission denied
Weird thing still the only packed format that it could read was .zip. I think I'm going to try with the EMR base python version 3.7 to clear any doubts about compatibility. Did this custom examples worked for you?
Note the sparkSubmitParameters when you run the job Yes, I cleaned those following the aws docs at https://docs.aws.amazon.com/emr/latest/EMR-Serverless-UserGuide/using-python-libraries.html

@dacort  Unbelievable, still Cannot run program "./environment/bin/python": error=13, Permission denied, but now using the default python 3.7 version as you mentioned at Python Dependencies . BTW, also tested your custom Dockerfile as is, but the same error.
Here my log if any help:
Unpacking an archive s3://test-bucket/emr-python.zip#environment from /tmp/spark-big-number/emr-python.zip to /home/hadoop/./environment
Exception in thread "main" java.io.IOException: Cannot run program "./environment/bin/python": error=13, Permission denied
	at java.lang.ProcessBuilder.start(ProcessBuilder.java:1048)
	at org.apache.spark.deploy.PythonRunner$.main(PythonRunner.scala:105)
	at org.apache.spark.deploy.PythonRunner.main(PythonRunner.scala)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at org.apache.spark.deploy.JavaMainApplication.start(SparkApplication.scala:52)
	at org.apache.spark.deploy.SparkSubmit.org$apache$spark$deploy$SparkSubmit$$runMain(SparkSubmit.scala:1006)
	at org.apache.spark.deploy.SparkSubmit.doRunMain$1(SparkSubmit.scala:180)
	at org.apache.spark.deploy.SparkSubmit.submit(SparkSubmit.scala:203)
	at org.apache.spark.deploy.SparkSubmit.doSubmit(SparkSubmit.scala:90)
	at org.apache.spark.deploy.SparkSubmit$$anon$2.doSubmit(SparkSubmit.scala:1095)
	at org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:1104)
	at org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)
Caused by: java.io.IOException: error=13, Permission denied
	at java.lang.UNIXProcess.forkAndExec(Native Method)
	at java.lang.UNIXProcess.<init>(UNIXProcess.java:247)
	at java.lang.ProcessImpl.start(ProcessImpl.java:134)
	at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
	... 14 more
22/12/27 16:38:55 INFO ShutdownHookManager: Shutdown hook called
22/12/27 16:38:55 INFO ShutdownHookManager: Deleting directory /tmp/spark-big-number

PS: @amin010 I wonder if you solved this issue using EMR serverless, or if switched to another tool such as Glue or went the cluster way to execute these jobs. Thanks

PS: @amin010 I wonder if you solved this issue using EMR serverless, or if switched to another tool such as Glue or went the cluster way to execute these jobs. Thanks

yes, as mentioned in the thread, using amazonlinux:2 resolved my issue at the time. that being said, I haven't used it since then so not aware of any new issues.

PS: @amin010 I wonder if you solved this issue using EMR serverless, or if switched to another tool such as Glue or went the cluster way to execute these jobs. Thanks

Yes, as mentioned in the thread, my issue got resolved, that being said, I haven't used it since then so not aware of possible new issues.

also tested your custom Dockerfile as is, but the same error.

I re-tested the instructions given there with EMR release version 6.6.0 and it seemed to work fine. The permission denied error seems like the python executable might not be executable by users other than root? Going to try to test the Dockerfile you provided as well.
If you can provide step-by-step instructions that lead to the failure, that could help, but so far I can't tell where things might be going wrong.

@dacort ....hold on, I'm seeing that sagemaker can handle my dependencies, that's so useful, any thoughts?

@StevenTollanis That's a tough question to answer in this medium. I suppose the answer will be influenced by what you are trying to accomplish at the end of the day. SageMaker is an end-to-end machine learning solution - so if you're building/training/deploying ML models to the cloud, it's a good approach. If you have pre-existing Spark jobs and want to run them on EMR, Serverless is a great way to start. If you need an end-to-end data integration platform, Glue is a good place to look.
Sorry you're having issues getting going with Serverless. For a simple dependency like pandas, though, the instructions in the dependencies section should work fine. I would start there again, replace great_expectations with pandas in the Dockerfile and try to run a sample pandas job.

@StevenTollanis That's a tough question to answer in this medium. I suppose the answer will be influenced by what you are trying to accomplish at the end of the day. SageMaker is an end-to-end machine learning solution - so if you're building/training/deploying ML models to the cloud, it's a good approach. If you have pre-existing Spark jobs and want to run them on EMR, Serverless is a great way to start. If you need an end-to-end data integration platform, Glue is a good place to look.
Sorry you're having issues getting going with Serverless. For a simple dependency like pandas, though, the instructions in the dependencies section should work fine. I would start there again, replace great_expectations with pandas in the Dockerfile and try to run a sample pandas job.

Thanks, I think I did started again with your clean Dockefile, but it threw the same error=13, Permission denied error, anyways, I'll try one more time again. The test I did using sagemaker processing jobs went very well and smooth (no dependencies building). What do you think about using Step functions with lambdas to do the same ETL/spark job, any scalability issues? Happy New Year

First, I thought the issue was that I used a different image (I used linux/amd64 public.ecr.aws/amazonlinux/amazonlinux:2, cause of rate limit for the linux/amd64 amazonlinux:2 on codebuild), then I built it locally using linux/amd64 amazonlinux:2 and just added pandas to your custom Dockerfile ... But, again Cannot run program "./environment/bin/python": error=13, Permission denied . Also, checked chmod and just did chmod a+rx to the zip, but the same error.

BTW, Just rechecked the AWS user guide for using python libraries and found that it misses the property spark.emr-serverless.executorEnv.PYSPARK_PYTHON=./environment/bin/python which your samples have. Also tested this on my script, but still Cannot run program "./environment/bin/python": error=13, Permission denied

@StevenTollanis I'm sorry, I'm not sure why it's not working for you. I've run the steps manually and it works fine for me. If you want to produce a detailed set of steps/artifacts including your Dockerfile and AWS CLI commands that cause this issue for you, I can help debug, but at the moment I'm not able to reproduce the issue.
I'm working on creating a script to test this and I'm not quite done yet, but I'll share the current draft. Take a look here: https://gist.github.com/dacort/9ad6f5712fca1c08618582f6674e4303

@StevenTollanis I'm sorry, I'm not sure why it's not working for you. I've run the steps manually and it works fine for me. If you want to produce a detailed set of steps/artifacts including your Dockerfile and AWS CLI commands that cause this issue for you, I can help debug, but at the moment I'm not able to reproduce the issue.
I've created a simple script that uses the custom Dockerfile, adds pandas, and runs a successful job as an example: https://gist.github.com/dacort/9ad6f5712fca1c08618582f6674e4303

BTW, I created the EMR serverless app and ran the jobs using the console, not sending the commands via CLI, that should work either way, right?

Should work either way, yes.

@dacort As you mentioned The permission denied error seems like the python executable might not be executable by users other than root? Your script from gist help me find out that docker created the tar/zip as root. Had to made changes in my linux vm for docker to create the artifact as the current machine user, I guess it's the same process for a build pipeline. Thank very much for your help.
PS: I'm probably going to use another of the services mentioned above. EMR still doesn't have that "developer friendliness" just as Lambda for managing dependencies or even a IDE included. Hopefully we could get that soon.

@StevenTollanis Interesting. And you were able to successfully run the job after you made the changes? The python executable that's in the tar.gz (when I build the image on macos locally) should still have a user-executable python, but I'll have to give it a shot on Linux as well.
tar tzvf pyspark_3.10.6.tar.gz | grep bin/python
-rwxr-xr-x  0 root   root 19801640 Dec 27 10:28 bin/python3.10
-rwxr-xr-x  0 root   root 19801640 Dec 27 10:28 bin/python
-rwxr-xr-x  0 root   root 19801640 Dec 27 10:28 bin/python3

Thanks so much for continuing to dig in on this. We're definitely working on improving the developer experience. We've released a developer preview of a VS Code extension ( https://marketplace.visualstudio.com/items?itemName=AmazonEMR.emr-tools ) to help with local development and will be adding additional tooling to make building/deploying jobs easier. :)

@dacort Yes, I could ran the job. Of course, after that I even got errors like No module named 'boto3', so have to included it in the tar.gz. Should'nt that be already available to import?
Yes, as your tar.gz files permissions are, mine are the same:
tar tzvf pyspark_3.10.6.tar.gz | grep bin/python
-rwxr-xr-x  0 root   root 19801640 2023-01-03 10:28 bin/python3.10
-rwxr-xr-x  0 root   root 19801640 2023-01-03 10:28 bin/python
-rwxr-xr-x  0 root   root 19801640 2023-01-03 10:28 bin/python3

But my pyspark_3.10.6.tar.gz was packaged using my current machine user, not the root user which docker did it by default:
-rw------  1  myuser myuser 119801640 2023-01-03 10:28 pyspark_3.10.6.tar.gz  [This worked]
-rw------  1  root  root  119801640 2023-01-03 10:28 pyspark_3.10.6.tar.gz [This didn't]

Thanks for the tip on the EMR VS Code extension

No module named 'boto3', so have to included it in the tar.gz. Should'nt that be already available to import?

If you're using a custom python version, you likely need to install boto3. I believe boto3 is available in the base image, but with a custom python version, I'm guessing it also uses the libraries installed only for that version.
FYI, you can now also use custom images with EMR Serverless, which might make installing dependencies a bit easier. :) See the build a data science image for details and the docs on how to use custom images.
Note that the image url in the first link is slightly incorrect - it should be spark not spark3 - we're updating the docs on that shortly


added content (vids, links, refs) & text edits

small steps, but bits & pieces :)

Thanks for all of this,  @tosteiner, mega effort!


Loading service and directives re-thinking

There is a need to re-think re-implement the loading service and directive.
Initial ideas/thought/randomness:

Making the service only work at the fullscreen global level.

Would it make more sense as the fullscreen loader only since it is a global service, sometimes there is name-clashing

Change loadingUntil to loadingWhile to avoid having to negate all the time

Makes more sense

Having 2 directives for the overlay and replace since they function differently
Get rid of memory leak (does it still exist?) #1364
Add a loading mask option?

Leverage our other component

Leave comments/suggestions/ideas.

this component is deprecated and will no longer be supported in future versions https://material.angular.io/components/progress-spinner/overview


Takeoff not stable

Hi
Thank you very much for the tutorial !!!
I made the drone for my children (see photos).
 It always goes to one side just by increasing the throttle (I use my phone and udp joystick) and it always ends up turning around. I checked that the propellers are ok and in the right place.
If you have any idea what I could check.
Thank you so much
Karim

With a video :-)
https://drive.google.com/file/d/13v4oZYKWqUHTXwSxi67sw0vTN-VnNnNx/view?usp=drive_link

Got it working

Congrats. Sorry I didn't reply back when you needed help. I am not able to manage time these days for building things hope to get back soon and be more active on github.


Library compatibility with React 18

I'm getting some issues with React 18. Is this library compatible with that version of React?

Thanks!

Hello @surruka, the current version 1.x isn't compatible with React 18, because<EMAIL_ADDRESS>doesn't support it.
But the next version 2.x (currently in beta) of @carto/react-x uses mui@5 which is compatible with React18 although @carto/react-x lib continues using react 17. You can configure your webpack to be available.


Add mini-tutorial for group tags

@mvdbeek we want to avoid images as much as we can. Can you maybe cut the image that only the select box is seen?

@mvdbeek thanks a lot for this really nice and useful tutorial.
I did some formatting, let me know if they are ok for you

sure, thanks, that looks good! I wanted to simply the wrapper a bit more, but it's good to have for now!

thanks @mvdbeek, this is great!


enhancement: place cursor at error

In manual mode, when executing a command that raises an error, the location of the error is correctly highlighted in the faulty command, but the cursor is place at the end of the last correctly executed command.
The way syntax errors is handled is also awkward.  When trying to execute the next command, it does not fail if there is a syntax error (but it probably should), instead it tries to execute the next correctly formed command (which often out of context, or made of fragments that were not intended by the user).

I need more context: where should I place the cursor ? At the end of the errored command ?
Concerning the parse errors this is a known issue, see #877.

Let's concentrate on the first paragraph of my issue.  I would like the cursor to be place at the end of the text that is highlighted with the red mark.

Just after word "titi" in this case.

I have a conceptual problem with this. Until now, in manual mode step forward and backward are related to the executed area. If a sentence is errored it is not executed. So take the example here:

After stepping through the error, if I do a step backward, I will then end up here:

Does this seem right to you ?

I don't understand the problem.  If the step forward failed because of an error, then it was not executed, so I do not consider this as "stepping through the error" and I do not need to take a step backward.


feat(query): Make BooleanQuery supports minimum_number_should_match

see issue #2398
In this commit, a novel scorer named DisjunctionScorer is introduced, which performs the union of inverted chains with the minimal required elements. BTW, it's implemented via a min-heap. Necessary modifications on BooleanQuery and BooleanWeight are performed as well.

@LebranceBW don't forget to reapply for review once you have added the requested changes

@fulmicoton I've done above requested changes, and BooleanWeight::complex_scorer has some heavy modification, and I'd say it's a bit messy. Could you help me on it?

@PSeitz can you help @LebranceBW and take over the code review?

@PSeitz
Sorry to interrupt your work, but I wanna know this PR could be push forward again?

@PSeitz
Sorry to interrupt your work, but I wanna know this PR could be push forward again?

@PSeitz Sorry to interrupt your work, but I wanna know this PR could be push forward again?

@LebranceBW I left a comment to simplify the code regarding FullIntersection

@PSeitz Sorry to interrupt your work, but I wanna know this PR could be push forward again?

@LebranceBW I left a comment to simplify the code regarding FullIntersection

@PSeitz FullIntersection already removed.

@PSeitz Sorry to interrupt your work, but I wanna know this PR could be push forward again?

@LebranceBW I left a comment to simplify the code regarding FullIntersection

@PSeitz FullIntersection already removed.

@PSeitz
May this PR could be push forward again?

Thanks @LebranceBW for the PR!

👍🏻


mermaid compiler error

Hi,
I got the following error but can't figure out what's wrong here.
I could parser the mermaind through https://mermaid.live with the @mermaid data.
(TokenMissingError)  description is incomplete, error: initial_state
Stacktrace:
│ lib/locker.ex:11: (module)
defmodule Locker do

  @mermaid """
    s1 --> |click_1| s2
    s1 --> |click_n1| s1
    s2 --> |click_2| s3
    s2 --> |click_n2| s1
    s3 --> |click_3| s4
    s3 --> |click_n3| s1
  """
  use Finitomata, fsm: @mermaid, syntax: Finitomata.Mermaid

  @impl Finitomata
  def on_transition(:s1, :click_1, event_payload, state_payload),
    do: {:ok, :s2, state_payload}
end

For the sake of easy internal consistency, there could be only 1 starting state (this might be fixed soon.)
ATM, use smth like

idle --> |init!| s1
...

Add :finitomata to compilers and you will get back meaningful errors.

I checked the hex doc there is no such option for using schema or config.exs.
Could you  let me how to add  :finitomata to compilers?
Thanks

I checked the hex doc there is no such option for using schema or config.exs.
Could you  let me how to add  :finitomata to compilers?

This is not somewhat specific to this library, this is a generic mix feature https://hexdocs.pm/mix/Mix.html#compilers/0

Finally, I got to understand the big picture of mix compiler from you lib.
Thanks!


Reusable workflow test PR

Demo PR demonstrating new reusable workflow. After the change is merged into DuckDB, I will PR this into the extension-template, and then all Out-of-tree extensions eventually: it allows easily distributing extensions from the extension repo which helps us push extension bugfixes for stable duckdb releases

test complete 🤖


Wrapped lines ignored on click  in integrated terminal

VSCode Version: 1.38
OS Version: macOS Mojave (10.14.6)

Steps to Reproduce:

Open integrated terminal & echo a link big enough to wrap into multiple lines.
Press Cmd+Click on the link to open in a browser.

Expected: The link text is picked along with the wrapped line.
Current: Only the first line of the link is picked.

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

Have the same issue with the latest vscode.
Version: 1.38.1
Commit: b37e54c98e1a74ba89e03073e5a3761284e3ffb0
Date: 2019-09-11T13:30:08.229Z
Electron: 4.2.10
Chrome: 69.0.3497.128
Node.js: 10.11.0
V8: 6.9.427.31-electron.0
OS: Linux x64 4.15.0-64-generic

/duplicate https://github.com/xtermjs/xterm.js/issues/2115


Add support for Add/Remove Device to/from Collection Endpoints

Add support for the following endpoints that were added to the Collections API:

Add Device to Collection
Remove Device from Collection

closed via https://github.com/attm2x/m2x-android/pull/21


Update ballista.proto to use optional instead of oneof

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
prost of version 0.8.0 already bundled protoc 3.15.8, and we are using 0.9 currently.
Worth trying to replace oneof with optional since we are using a later version of prost.
Describe the solution you'd like
Replace oneof with optional.
https://github.com/apache/arrow-datafusion/blob/407adc06cc33f075b72bd8197fca4b34ee623390/ballista/rust/core/proto/ballista.proto#L861-L867
Additional context
https://github.com/tokio-rs/prost/releases/tag/v0.8.0

@thinkharderdev, you may also be interested in this.


Planning: code refactor by moving lattice_trajectory1d from util to trajectory1d

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: kechxu:x: zwccharlieYou have signed the CLA already but the status is still pending? Let us recheck it.


[BUG] toDataUrl() returns empty image

For some reason, I am unable to produce an image output from toDataUrl();
I have the following code:
            @this.on('validated', () => {
                canvas = document.getElementById("signature-canvas");
                signaturePad = new SignaturePad(canvas, {
                    backgroundColor: '#ffffff',
                });
                signaturePad.on();
                resizeCanvas();
            });

          @this.on('parseSignature', () =><EMAIL_ADDRESS>                = signaturePad.isEmpty() ? null : console.log(signaturePad.toDataUrl("image/jpeg"));
            });

When I click the output image in the console, it returns a black rectangle.
This is the base64 code generated: data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/2wBDAAEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQH/2wBDAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQH/wAARCACWASwDAREAAhEBAxEB/8QAFQABAQAAAAAAAAAAAAAAAAAAAAv/xAAUEAEAAAAAAAAAAAAAAAAAAAAA/8QAFAEBAAAAAAAAAAAAAAAAAAAAAP/EABQRAQAAAAAAAAAAAAAAAAAAAAD/2gAMAwEAAhEDEQA/AJ/4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP/Z
If you run this on a decoder like: https://base64.guru/converter/decode/image
It's a black square...

@asivaneswaran
          @this.on('parseSignature', () =><EMAIL_ADDRESS>               = signaturePad.isEmpty() ? null : console.log(signaturePad.toDataURL("image/jpeg"));             });
This should work I think.

@asivaneswaran
          @this.on('parseSignature', () =><EMAIL_ADDRESS>               = signaturePad.isEmpty() ? null : console.log(signaturePad.toDataURL("image/jpeg"));             });
This should work I think.

This problems still happens to me on Signature Pad v3.0.0-beta.4 used on the demo page.
There is no way to refill signaturePad points and image previously generated to allow re-sign only if needed or re-use the same signature details?
Also seems to not be possible of doing it by only loading the array of points, that I think that maybe can be enough to re-generate it from scratch.
According to details on the README.md file, this must work only using fromData function.
var canvas = document.querySelector("canvas");

var signaturePad = new SignaturePad(canvas);

// Returns signature image as an array of point groups
//const data = signaturePad.toData();
const data = {{ signaturePadData }}; // Data previously stored from signaturePad.toData()

// Draws signature image from an array of point groups
signaturePad.fromData(data);

Any news about that?

Anyone have a way to reproduce this or have specific browsers that this happens with?

I can attach the original JS that I modified, but maybe is not do it the best way to solve it.
Also, if I remember well, the problem is that structure saved for the signature was changed, and in my case, require still work with all way stored in database.

@shawe can you create a PR?

@shawe can you create a PR?

Yes, I can without problem, but this beta version it's only on the online demo of signature_pad, but in no other place like in a beta branch. Can you add the v3.0.0-beta.4 branch to do it on it?

the online demo is v3.0.0-beta.4

the online demo is v3.0.0-beta.4

Yes, I know that, but in what branch is this version to do the PR you ask me to create?
This is my question for this reason I use it as last version, but isn't available on any other place except in demo site.

master is the branch with v3.0.0-beta.4

This fix was added into the lastest version v4.0.1?
Regards

It is my fault, I not remember anymore to upload my changes in a PR, the day we talk about this was to late for me, and I don't remember anymore.

It is my fault, I not remember anymore to upload my changes in a PR, the day we talk about this was to late for me, and I don't remember anymore.

Hi @shawe
And you have any idea was be the change?


Roll Flutter Engine from f70f65f7a622 to 9d28c727061a (19 revisions)

https://github.com/flutter/engine/compare/f70f65f7a622...9d28c727061a
2023-09-27<EMAIL_ADDRESS>[Windows] Improve logic to update swap intervals (flutter/engine#46172)
2023-09-27<EMAIL_ADDRESS>[Impeller] Fallback to no index buffer when tesselation count is large, split up nonZero contours. (flutter/engine#46282)
2023-09-27<EMAIL_ADDRESS>Roll Skia from 4731ccd6342c to ff5474eed6b4 (1 revision) (flutter/engine#46325)
2023-09-27<EMAIL_ADDRESS>Declare native wrapper classes in Fuchsia packages as base classes (flutter/engine#46305)
2023-09-27<EMAIL_ADDRESS>Remove fuchsia from recipes cq. (flutter/engine#46324)
2023-09-27<EMAIL_ADDRESS>Roll Dart SDK from c2a455113e39 to 97647bb1666b (1 revision) (flutter/engine#46323)
2023-09-27<EMAIL_ADDRESS>[macOS] Synchronise modifiers from mouse events for RawKeyboard (flutter/engine#46230)
2023-09-27<EMAIL_ADDRESS>Roll Fuchsia Linux SDK from Lg6FR6iDnZeV6y-E8... to 6Y22MutFhgL7ua18F... (flutter/engine#46322)
2023-09-27<EMAIL_ADDRESS>Roll Skia from 2991bb799d3f to 4731ccd6342c (1 revision) (flutter/engine#46321)
2023-09-27<EMAIL_ADDRESS>Declare native wrapper classes in the GPU package as base classes (flutter/engine#46304)
2023-09-27<EMAIL_ADDRESS>Do not call DrawTextBlob for performance overlay text when using Impeller (flutter/engine#46307)
2023-09-27<EMAIL_ADDRESS>Update to use GrDirectContexts::MakeGL (flutter/engine#46308)
2023-09-27<EMAIL_ADDRESS>Roll Skia from 0f4f31127ac5 to 2991bb799d3f (1 revision) (flutter/engine#46319)
2023-09-27<EMAIL_ADDRESS>Roll Skia from fc629215398f to 0f4f31127ac5 (1 revision) (flutter/engine#46318)
2023-09-27<EMAIL_ADDRESS>Roll Dart SDK from 6c4eb86ecd25 to c2a455113e39 (1 revision) (flutter/engine#46317)
2023-09-27<EMAIL_ADDRESS>Roll Fuchsia Mac SDK from OMrTgAfDg9PKXTzq0... to jQHACBU4Fi2wMElkm... (flutter/engine#46314)
2023-09-27<EMAIL_ADDRESS>Roll Skia from 960325c13009 to fc629215398f (1 revision) (flutter/engine#46313)
2023-09-27<EMAIL_ADDRESS>Roll Skia from 76aecbaea259 to 960325c13009 (2 revisions) (flutter/engine#46311)
2023-09-27<EMAIL_ADDRESS>Roll Dart SDK from 7c3588c05f87 to 6c4eb86ecd25 (3 revisions) (flutter/engine#46310)
Also rolling transitive DEPS:
fuchsia/sdk/core/linux-amd64 from Lg6FR6iDnZeV to 6Y22MutFhgL7
fuchsia/sdk/core/mac-amd64 from OMrTgAfDg9PK to jQHACBU4Fi2w
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC jacksongardner@google.com,rmistry<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


X-axis scaling issue

I have just started using your amazing package, however, I encounter an issue where the x-axis do no scale properly (scaling from 0-8), however, I got a data point which has x-value greater then 8. Can you let me know how can I fix this? I have added xscale(range(0 (2) 10)) but it is not working. I am currently using your white_hue scheme.
I am not a regular github user so I do not know if raising the issue here is appropriate. Please understand. Thank you.
I am looking forward to hearing your response,
Van

It worked, so simple. Thank you very much Asjadnaqvi!
Once again, amazing package. I used to spent hours customizing graphs. Thank you very much.


Unable to load the requested file: includes/materialize.php

this file not found ..

Updated

mantappp


Google-style Example: >>> code blocks not rendering correctly

Describe the bug
Google-style Example: >>> code blocks not rendering correctly in mkdocs using mkdocsmaterial with mkdocstrings.
Original socstring

Mkdocs serve results

My plugins section of mkdocs.yaml looks like this:
plugins:
  - search
  - mkdocstrings:
      enabled: true
      default_handler: python
      handlers:
        python:
          options:
            docstring_style: google
            show_root_heading: true
            show_source: true

$ mkdocs serve
INFO     -  Building documentation...
INFO     -  Cleaning site directory
WARNING  -  Both index.md and README.md found. Skipping README.md from /Users/glennjocher/PycharmProjects/ultralytics/docs
INFO     -  Documentation built in 47.42 seconds

To Reproduce
Build docs with this example function:
class RTDETRTrainer:
    """
    A class extending the DetectionTrainer class for training based on an RT-DETR detection model.

    Notes:
        - F.grid_sample used in rt-detr does not support the `deterministic=True` argument.
        - AMP training can lead to NaN outputs and may produce errors during bipartite graph matching.

    Example:
        >>> from ultralytics.models.rtdetr.train import RTDETRTrainer
        >>> args = dict(model='rtdetr-l.yaml', data='coco8.yaml', imgsz=640, epochs=3)
        >>> trainer = RTDETRTrainer(overrides=args)
        >>> trainer.train()
    """

Expected behavior
Expect code to render correctly with python highlights.
System (please complete the following information):

griffe version: 0.32.1
Python version: 3.11
OS: Linux

Thanks for the report!
PyCon code blocks are only recognized in Examples section (plural), not in Example ones (which are parsed and rendered as admonitions). This is documented here: https://mkdocstrings.github.io/griffe/docstrings/#examples.
In the future such code blocks will be recognized anywhere thanks to a Markdown extension. This is in our backlog, therefore I'll close this issue :slightly_smiling_face:


Shuffle update per que? Same as Auto 1111

The shuffle preprocessor should be able to update the image shuffle every time the generation que is pressed.
At least that is how it was used in Auto 1111.
Every generation would give a new shuffled output to the sampler from the input image.
I used to use it for slight variations without changing the seed or other inputs.
In ComfyUI with the current shuffle preprocessor it generates one shuffled image per session. I have to restart comfy to get a new shuffle.
Changing the resolution will also force a re-generation of the shuffle.

Image shuffle now update the result every time "Queue Prompt" is clicked. seed and control_after_generate are similar to ones in KSampler node

That was fast... =]
Thank you so much.


how do we know the order is tped or sled

Hi team,
After one order reached the tp point, in the comment it will show, for example,
EURUSD_Trader[tp], how can I let my python code know this order is just tped as I need to restore the info into my external database.

Hi,
I haven't tested it, but there should be a '_comment' field in the open order dictionary, which you could check for containing '[tp]' or '[sl]'.

Hi,
I haven't tested it, but there should be a '_comment' field in the open order dictionary, which you could check for containing '[tp]' or '[sl]'.

Thank you, but we need to check closed orders, since after tp, the comment will show [tp]

Right, my mistake. Sorry, there is no option to get historic trades at the moment. You would have to write an own function to request the historic trades, similar to the historic data function.

Thank you, trying now, if it is possible, may you provide some sample code

I have a question regarding compArray[0], as it is closed trade, which is not TRADE or DATA:
This one is added DWX_ZeroMQ_COnnector_v2_0_1_RC8.py
    from pandas import DataFrame, Timestamp
    import datetime
    def _SEND_CLOSED_TRADES_(self,
                             _symbol = 'EURUSD',
                             _comment='[tp]',
                             _timeframe = 1,
                             _end = Timestamp.now(),
                             _two_minute = datetime.timedelta(minutes=2),
                             ):
        _start = _end - _two_minute
        _msg = "{};{};{};{};{}".format('CLOSED_TRADE', _comment, _timeframe, _start, _end)
        self.remote_send(self._PUSH_SOCKET, _msg)

And based on DWX_ZMQ_Strategy.py:
# Append path for main project folder
import sys
sys.path.append('../../..')

# Import ZMQ-Strategy from relative path
from base.DWX_ZMQ_Strategy import DWX_ZMQ_Strategy

#############################################################################
# Other required imports
#############################################################################

import os
from pandas import Timedelta, to_datetime, Timestamp
from threading import Thread, Lock
from time import sleep
import random
import datetime

class get_closed_trades(DWX_ZMQ_Strategy):

    def __init__(self,
                 _name="Closed_Trade",
                 _delay=0.1,
                 _broker_gmt=2,
                 _verbose=False):
        # call DWX_ZMQ_Strategy constructor and passes itself as data processor for handling
        # received data on PULL and SUB ports
        super().__init__(_name,
                         [],  # Empty symbol list (not needed for this example)
                         _broker_gmt,
                         [self],  # Registers itself as handler of pull data via self.onPullData()
                         [self],  # Registers itself as handler of sub data via self.onSubData()
                         _verbose)

        # This strategy's variables
        self._delay = _delay
        self._verbose = _verbose
        self._finished = False

    ##########################################################################
    def isFinished(self):
        """ Check if execution finished"""
        return self._finished

    def onPullData(self, data):
        """
        Callback to process new data received through the PULL port
        """
        # print responses to request commands
        print('Historic from ExpertAdvisor={}'.format(data))

    def onSubData(self, data):
        """
        Callback to process new data received through the SUB port
        """
        # split msg to get topic and message
        _topic, _msg = data.split(" ")
        print('Data on Topic={} with Message={}'.format(_topic, _msg))

    ##########################################################################
    def run(self):
        """
        Request historic data
        """
        self._finished = False

        # request rates
        print('Requesting Closed trades from EURUSD')
        self._zmq._SEND_CLOSED_TRADES_(_symbol='EURUSD',
                                       _comment='[tp]',
                                       _timeframe=1,
                                       _end= Timestamp.now(),
                                       _two_minute = datetime.timedelta(minutes=2),
                                       )
        sleep(1)
        print(self._zmq._History_DB)

if __name__ == "__main__":
    print('Loading example...')
    example = get_closed_trades()
    print('unning example...')
    example.run()

no error, but not solve the problem, really need sample code help.
Loading example...
[INIT] Ready to send commands to METATRADER (PUSH): 32768
[INIT] Listening for responses from METATRADER (PULL): 32769
[INIT] Listening for market data from METATRADER (SUB): 32770
unning example...
Requesting Closed trades from EURUSD
{}

Process finished with exit code 0

In the meantime we published a new package, which includes a function get_historic_trades(lookback_days):
https://github.com/darwinex/dwxconnect
Once the data arrives on the python side, it will trigger the on_historic_trades() function of the tick processor. To start best copy the example tick processor:
https://github.com/darwinex/dwxconnect/blob/main/python/examples/dwx_client_example.py


ERROR -> ClipData.Item.getUri()"

I'm having this error on android 7 when I come into the room how can i fix it? Thank you !!
ERROR -> "file:///storage/emulated/0/Android/data/com.ionicframework.ionicApp144916/cache/.Pic.jpg exposed beyond app through ClipData.Item.getUri()"

Please stop using pull requests to submit issues. File issues here: http://issues.cordova.io/


application loading takes too much time (final.js - 1mb)

[ ] support request

Hi, Right now  i'm facing browser loading issue. final.js is taking too much time for loading because of the file size.  Original file (final.js) size is 4MB because of depended bower_components. After gulp with --production command it is compressed and get file with 1mb. But browser taking much of time for this file loading. Here, I'm showing my bower_components depended files. please guide me how to split this file into 2 or 3 files or else any solution for file compress/browser loading

Brower_component (bower.json)

"dependencies": {
"jquery": "2.2.4",
"angular": "angularjs#1.5.9",
"angular-ui-router": "~1.0.0-alpha.3",
"ngstorage": "~0.3.10",
"angular-material": "^1.1.1",
"restangular": "~1.5.2",
"angular-loading-bar": "~0.9.0",
"satellizer": "^0.14.0",
"angular-animate": "^1.6.0",
"angular-ui-tinymce": "^0.0.18",
"lf-ng-md-file-input": "^1.5.1",
"ng-file-upload": "^12.2.13",
"ng-file-upload-shim": "^12.2.13",
"angular-sanitize": "^1.6.1",
"angular-slick-carousel": "^3.1.7"
}

Laravel & Angular version: 3.2.0

Thank you,

Hi @dinesh2017
Unfortunately that's a known problem with AngularJS (Angular 1)
You can't really split your angular code into multiple bundles, unless you create multiple modules
However, if I were you, I would try to get rid of jQuery as a dependency if it's not used elsewhere


Add support to google drive in storage

Adding support for Google Drive to the storage to save files in a similar way to Azurite/Azure blobs and s3.
Google Drive does not save files in the traditional way in the path format, so I have to resolve the path, searching recursively and return the id to obtain the file or folder, to reduce this query time the data is saved within the cache for speed up this process of resolving the path, the first queries will always be a little slower but the following ones will be much quicker to return any status

Why closed?

I'm seeing some errors on my server from the Google API when there are too many requests at the same time. I'm going to take a moment to refactor this part.
As soon as I can resolve this part, I'll reopen the pull.

@lunny i fixed an error to detect that send the http.http2GoAwayError, and also some redirect errors, since I can't open this pull, I'll have to open another one.


Terminal suggest should show on ctrl+space and empty prompt

Testing #210394
Right now nothing happens on ctrl+space in an empty pwsh prompt

/duplicate https://github.com/microsoft/vscode/issues/211076


Cannot type after a link on Chrome

Steps to reproduce:

Go to https://mweiss.github.io/elm-rte-toolkit/#/examples/basic using Chrome
Turn the text that is present into a link
Place the caret after the link
Typing at that position is impossible

Cause: Chrome adds the text after the link, which is ignored by the editor. See https://bugs.chromium.org/p/chromium/issues/detail?id=1115085#c3 for details
Possible fix:

Rendering links without the href does fix the issue (but will also stop them being rendered as links). Unfortunately, removing the href cannot be done though decorations, so it will have to be done though the linkToHtmlNode which will then affect the Html.toHtml function.
Add a new command for typing after a link. However, it is hard to determine which nodes render to an a, since the only place the a element is used is in the linkToHtmlNode function.
Modify the JS that handles the mutation list to move the changes into the link. This can be complicated if the link contains nested markup. Going down that route results is a monstrosity like this: characterDataMutations(mutationsList) {
    if (!mutationsList) {
        return null;
    }

    let mutations = [], allCharacterData = true, self = this;
    mutationsList.forEach(function (mutation, i) {
        if (mutation.type === "childList"
            && mutation.addedNodes.length === 1 // Added a single text node
            && mutation.addedNodes[0].nodeType === Node.TEXT_NODE
            && mutation.previousSibling // Previous node is a link
            && mutation.previousSibling.nodeType === Node.ELEMENT_NODE
            && mutation.previousSibling.nodeName === "A"
        ) {
            var n = mutation.previousSibling;
            while (n.nodeType !== Node.TEXT_NODE) {
                n = n.childNodes[n.childNodes.length - 1];
            }
            n.nodeValue += mutation.addedNodes[0].nodeValue;
            mutationsList[i + 1] = {target: n, type: "characterData"};
            mutation.addedNodes[0].remove();
            return;
        }
        if (mutation.type !== "characterData") {
            allCharacterData = false;
            return;
        }
        mutations.push({
            path: getSelectionPath(mutation.target, self, 0),
            text: mutation.target.nodeValue
        });
    });
    return allCharacterData ? mutations : null;
}

This problem does not occur on Firefox.

Thanks for reporting this! I'm wary of adding special cases to the js code for browser specific bugs (although Android and mac have a few) since that can get out of hand really fast. Perhaps adding a new command is the way to go, or even waiting for Chrome to fix itself.

Judging from the issue I linked, Chrome considers this to be the desired behaviour. I suppose the best way of fixing this is to add a new command and a new field to marks, so that the command can determine if the mark is a link?


update Haiqel's About Us information and PPP

Codecov Report
Patch and project coverage have no change.

Comparison is base (62f2f53) 72.15% compared to head (76f58cd) 72.15%.

Additional details and impacted files
@@            Coverage Diff            @@
##             master      #12   +/-   ##
=========================================
  Coverage     72.15%   72.15%
  Complexity      399      399
=========================================
  Files            70       70
  Lines          1232     1232
  Branches        125      125
=========================================
  Hits            889      889
  Misses          311      311
  Partials         32       32

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

Rejected for not using fork workflow.


Add NOAA as a harvester

https://www.nodc.noaa.gov/access/services.html

@erinspace This can also be closed


fix(Appreciation): show Emojipicker only if connected

These will show EmojiPicker Button & EmotionList to disconnected users.
They will not be able to show EmojiPicker unless they're logged in.
Before submitting this PR, please make sure:

[x] Code builds clean without any errors or warnings
[x] I've merged recent default branch -- main and I've no conflicts
[x] I didn't break any original functionality

PR type

[x] Bugfix close #597

Screenshot

Cool, maybe hide the emote button when a user is not logged in ?

Cool, maybe hide the emote button when a user is not logged in ?

Work in progress some minor css tweak need to be done.

Screen
not logged in

logged in

@vikiival seems emoji layouts are bit off
https://deploy-preview-604--nftkodadot.netlify.app/rmrk/detail/8815586-420ae612726839da09-😈-THC_03_NINJA_TUNA_COMMON_315-0000000000000003

https://nft.kodadot.xyz/rmrk/detail/8815586-420ae612726839da09-😈-THC_03_NINJA_TUNA_COMMON_315-0000000000000003

WFM! @vikiival check


Require all checks for mergify

We really need a test in istio/istio that clones istio/installers and runs one of those tests.

ok to merge this now?  assume you'll get all failed 2 tests passing

@linsun rebasing to make sure test pass, ill merge when they do


Possibility to use @p

Possibillity to use @p in commands
I want to run commands on console for employ players to job with crafttweaker script and sync jobs with Reskillable proffesions. But plugin not support using @p in the commands.
Example: /jobs employ @p miner
Sorry for my English. Thanks

Np, the correct usage is /jobs employ <player>. This is how you can employ the player in a job from console. The @p is not the best thing to get a player from console even the console is not a alive thing. Also, the @p is used for command-blocks and for minecraft-related commands. We will not implement this to get a player with @p. Use the correct form of that command.


Order of keys- does it matter or should it matter ?

I have this small doubt,
I have command alt+ctrl+o,
but it also works when I press ctrl+alt+o
function ExampleComponent() {
  useHotkeys('alt + ctrl + o', () => alert('Key a was pressed'))

  return (
    Press the a key to see it work.
  )
}

does order matter/should order matter?
will it compare the combined combination ?
because i was expecting that if i only pressed in the combination then only it will work!
but it worked in all combination
if order matters for some people, I was thinking to contribute to the project, where you mention if you want sritct hot key, then it will match the order!

wrong lib :)


insertLookup function ?

Data.HashMap seems to lack one, although such a function is important for performance reasons.

It's not entirely obvious, but this can be implemented using alterF which was added in 0.2.9, by letting the functor f = (,) (Maybe v). See http://hackage.haskell.org/package/unordered-containers-<IP_ADDRESS>/docs/Data-HashMap-Lazy.html#v:alterF.
It would still be nice to have a special-purpose function for this though.

What does the implementation in terms of alterF look like?
I suspect that it might not cross the Fairbairn threshold – in that case I'd probably prefer to add it only as an example in the alterF docs, instead of adding a new export.

I believe it would be
insertLookup :: (Eq k, Hashable k) => k -> v -> HashMap k v -> (Maybe v, HashMap k v)
insertLookup k v = alterF (\old -> (old, Just v)) k

Data.Map has a withKey version of this function, which might be reason enough to add at least that.

Hm, consistency with containers is also nice. containers is huge though, and that also comes with costs with regard to discoverability and maintainability IMHO.
If there's a choice between making it easier to use alterF and adding more functions that can be implemented with alterF, I'd currently prefer doing the former.


FIX: Final touch-ups in the maintenance of Docker image + CI

Hello @oesteban, Thank you for updating!

In the file mriqc/classifier/sklearn/_validation.py:

Line 246:12: F821 undefined name '_is_arraylike'
Line 249:8: F821 undefined name 'sp'

To test for issues locally, pip install flake8 and then run flake8 niworkflows.


iPadOS 17.5.1 UaF race: heuristic strategy failed

Device
iPad Pro 10.5
Version
iPadOS 17.5.1
Passcode?

[ ] Passcode is enabled.

Start going into detail..
Cable: USB-A to lightning
Platform: Ubuntu 24.04.1 in VMWare
palera1n file version: palera1n-linux-x86_64

I am using a ubuntu to run palera1n, and the ipad is set in DFU mode.
But then go into a loop as : UaF race: heuristic strategy failed, setup packet was not accepted
Familiarity with palera1n

[ ] I am familiar with palera1n and how to use it!

Familiarity with CLI

[ ] I am familiar with the command-line!

This is a common issue amongst AMD systems, try connecting to a USB port directly on the motherboard. You can also retry a few times, perhaps with a different cable/port. If it still doesn’t work, you will need Intel, Apple Silicon, or an ARM platform.
Closing this issue as it's an issue we can't really control, sorry!


Upgrade Antlr to 4.11 and vendor the runtime

Bumping antlr binary and antlr4-python3-runtime in order to unlock doing the same thing in hydra, following this discussion

(CI lint failures are unrelated to this PR)

@Jasha10, this is a breaking change (that would also require a parallel fix to Hydra.

News fragment.
I think it's really best if the effort is focused on fixing the root issue instead of bumping the version like this. In the mean time users with specific antlr version needs can build their own version of OmegaConf.

In the mean time users with specific antlr version needs can build their own version of OmegaConf.

How should users (like myself) do that, in a way that it works with various dependencies declaring omegaconf in its metadata?
(To keep the comment on-topic: from the peanut gallery, looks like this is effort well spent on a short term solution while folks address the root cause)

The problem with this approach is if you are working on a library that needs to be used by other people in their project, because then you are forcing THEM to also do the same thing

Yeah that's what I had in mind, ideally we should be able to do this in a way that transitive dependencies don't have to cooperate. Otherwise I don't see how users can cope with the current situation effectively.

Hello, just wanted to clarify what the status of this PR is. Does the comment by @omry mean that this PR will be blocked and we will need to find another way to make omegaconf compatible with different antlr4-python3-runtime versions?
If this is the case, I would be happy to help with finding the root cause and working on a PR to address it.

I think it would be good to at least discuss @omry's points before merging.

@Jasha10, this is a breaking change

Yes, we are working on that: https://github.com/facebookresearch/hydra/pull/2733

News fragment.

Done! (commit https://github.com/omry/omegaconf/pull/1114/commits/bc4949b9a0995495a578c7712d24df764c4618f3)

I think it's really best if the effort is focused on fixing the root issue instead of bumping the version like this.

Any ideas for fixing the root issue? The antlr version is tightly coupled to the minor version of antlr4-python3-runtime.

In the mean time users with specific antlr version needs can build their own version of OmegaConf.

Here is a recipe for users who need to build their own version of OmegaConf+Hydra:
https://github.com/facebookresearch/hydra/issues/2491#issuecomment-1344306280
My opinion is that we should go forward with this PR.

Not clear how to fix the root cause.
We've done PRs like this in the past (https://github.com/omry/omegaconf/pull/912 and https://github.com/facebookresearch/hydra/pull/2192)

I haven't looked at this in details, but would it be possible by any chance to make Hydra / OmegaConf compatible with multiple versions of antlr? (compiling the grammar during pip install instead of shipping the pre-compiled files)

would it be possible by any chance to make Hydra / OmegaConf compatible with multiple versions of antlr? (compiling the grammar during pip install instead of shipping the pre-compiled files)

The current workflow for compiling the grammar invokes the following command:
java -jar build_helpers/bin/antlr-4.9.3-complete.jar -Dlanguage=Python3 -o omegaconf/grammar/gen -Xexact-output-dir -visitor omegaconf/grammar/grammar

This requires the antlr .jar to be present when the grammar is compiled.
If we compile the grammar during pip install then I think we would have to either (1) ship multiple antlr .jar files and select one of them at install time, or (2) expose an option for the user to provide their own antlr dependency.
Option (2) has been suggested before (here). I'm not sure specifically how we would expose such an option at pip install time -- maybe via an  extras option?

It just so happens that I've run across a dependency problem involving this exact issue as well. Seems like a tricky issue to solve.

I think the best solution would be to "vendor" OmegaConf with a specific version of antlr, and have Hydra depend on it.
That would require some rewriting some imports in the generated code and would essentially eliminate the external dependency on antlr.
I think I outlined it at some point as one of the options for a permanent fix for this issue.

Could an option be to replace the anttrl4 java binary by antlr-tools?

I don't see how that would do anything.
The antlr java binary is just a matter of convenience during the build of OmegaConf.
The problem is that the antlr Python runtime only works with generated code that is of the exact same version used to generate the parser.

I think @omry's suggestion of shipping a specific version of antlr4-python3-runtime within OmegaConf may be the most robust approach.

I see, so the binary dependency is not runtime, but build-time only.

Not quite. The antlr runtime is checking that it's working with code generated by a generator from the exact same version.
This is a problematic design choice, as in reality antlr is very stable and they could be much laxer with this check - but I digress.
Other low-level libraries, like pip itself, solves the problem of dependency conflicts by optionally including their dependencies in under a different module. They call this vendoring (pip page about it).
The idea is that by including your own version of the dependency, you isolate your dependencies from the dependencies of userland apps and eliminating these kinds of issues.
The complication is that Hydra should probably follow whatever OmegaConf is doing here.

Is there a final decision on what the way forward should be? We are discovering more incompatibilities with other dependencies.

Is there a final decision on what the way forward should be? We are discovering more incompatibilities with other dependencies.

I think shipping our own version will be easier overall. We just need someone to actually implement it :)

I think shipping our own version will be easier overall.

I guess you mean @omry's vendoring idea from https://github.com/omry/omegaconf/pull/1114#issuecomment-1699656976

We just need someone to actually implement it :)

👍🏽 Thank you!

For whatever is worth, I don't think vendoring is the right solution. It is an anti-pattern

@jlopezpena, thank you for sharing your opinion about this. It seems you are advocating for the second approach from your comment above: building "multiple versions of the grammars at build time (through multiple versions of the antlr binary), and select the grammar at runtime based on the installed version of antlr4-python3-runtime." I am concerned that this approach would make omegaconf's build and release process more difficult.
Currently, omegaconf's build & release process is very simple (here are the full instructions from the docstring of setup.py):
OmegaConf setup
    Instructions:
    # Build:
    rm -rf dist/ omegaconf.egg-info/
    python -m build
    # Upload:
    twine upload dist/*

I worry that the proposal to build multiple versions of the grammar would significantly complicate this process. Meanwhile, the vendoring appraoch could be as "simple" as copying the antlr4-python3-runtime source into omegaconf's source tree, allowing us to keep the same build procedure. Does this make sense to you?

by vendoring a third party pakage you are left with the burden of incorporating security updates and whatnot yourself - which might or might not be a big ordeal depending on how often there are changes that need to be incorporated.

Note that, with our current approach, we have not been updating our pin on the antlr4 runtime very frequently. Likewise, I do not anticipate that we would update a vendored version of the antlr4 runtime frequently.

Thanks @jlopezpena, unfortunately no time for me to work on OmegaConf this week.

To get CI to run properly we need to decide whether we do the vendoring as part of the build or as a manual step that gets committed.

I would just do a manual commit, seems simpler that way.

Decide if we want to commit the antlr4 source files to the repo or get them downloaded and modified through the script at build time
@Jasha10 what is your opinion on the last one?

Thanks again for all of the discussion and for working on the lead with implementation, @jlopezpena. I agree with @odelalleau about committing the antlr4 source files to the repo.

Most of those flake8 errors should have been fixed by https://github.com/omry/omegaconf/pull/1109, which was merged into master after you opened this PR.

Not sure -- I don't know a lot about how to configure CodeQL.
Anyway, I've gone through and manually dismissed the CodeQL alerts related to the vendor folder.

Because changes in antlr4 binary/runtime will be API breaking (-ish) for hydra, to ensure good semantic versioning omegaconf might want to adopt a policy requiring that any changes to the antlr binary/runtime must be released with a major version bump (i.e. the current PR should be released as omegaconf 3.0, not 2.4).
I believe hydra and omegaconf versions are heavily interlocked already, so hopefully this will not bring much of an additional maintenance burden (albeit whenever vendoring some pain is unavoidable).

Yeah that makes sense, and it should be fine. Note however that:

Technically Hydra could ship its own vendored version of antlr runtime. But I don't think it's worth the extra trouble at first sight (we can still do it later if needed).
Hydra / OmegaConf have never followed semantic versioning: breaking changes are typically introduced in X.Y+1 versions.
I'm not sure bumping the antlr runtime version in OmegaConf should be considered a breaking change, even if it breaks Hydra: Hydra is a "special" case in the sense that it's tightly coupled with OmegaConf, but no other library should be relying on OmegaConf's internal antlr runtime version. As long as we properly set Hydra's dependencies, there's no strong reason to consider a new antlr runtime in OmegaConf "breaking" in terms of user facing release notes.

what is the plan to address this in Hydra?

In Hydra we can change import antlr4 to from omegaconf.vendor import antlr4.

what is the plan to address this in Hydra?

In Hydra we can change import antlr4 to from omegaconf.vendor import antlr4.

There is still a potential issue in that we need to make sure the binary antlr jar in hydra needs to be the same version as the vendored runtime in omegaconf (but AFAIK that is already the case anyway)

The build of Hydra would need to change similarly to the build of OmegaConf to rewrite the generated code as well.

Sounds good.
For simplicity, I think you can copy the code. No need to include the build code related code with OmegaConf for that purpose.
The way to control OmegaConf dependency in Hydra (and by extension, it's dependencies) is by pretty strict version dependency of OmegaConf from Hydra.
https://github.com/facebookresearch/hydra/blob/main/requirements/requirements.txt#L1

Hey folks! Thanks for the upgrade and vendoring!
I'm running into a similar issue to hyrda on a seperate project with antlr dependencies.
I've been mostly successfully using this branch today, however I've hit a few snags trying to install it.
Mainly, if I use anything other than an editable installation, I get this import error:
ModuleNotFoundError: No module named 'omegaconf.vendor.antlr4.error'

I've tried:

python setup.py build + pip install .
python setup.py sdist + pip install dist/omegaconf-2.4.0.dev1.tar.gz
python setup.py antlr + pip install -e . (with only this option succeeding)

I'm not sure I've successfully emulated what will happen during an actual CI build, but I have checked and confirms that the subdirectories of the omegaconf/vendor we not present in the install.
I didn't see them in the checks, but is there a package I could manually install from CI while still on this branch?
Thanks!
Matt

I don't know if it's related but note that direct setup.py invokation on the CLI is deprecated, see https://packaging.python.org/en/latest/discussions/setup-py-deprecated/#what-commands-should-be-used-instead

I don't know if it's related but note that direct setup.py invokation on the CLI is deprecated, see https://packaging.python.org/en/latest/discussions/setup-py-deprecated/#what-commands-should-be-used-instead

TIL; those are the old-school alias for the -e we know and love! I've only ever used "speciality" setup.py commands once before, for something more analogous to the antlr case there (eg. doing something special). I just saw them this time in the setup.py and figured it was worth giving a whirl, since other things weren't working yet. Thanks for the comment!

@mawildoer the non-editable installs should work now, could you give it a check?

Yessir! Tested both pip install -e . and pip install .. Both working 🎉 w/ full IDE/pyright/pylint etc... finding them too.
Thanks for the quick response! I'll have to package and distribute your branch if we can't get this back to mainline soon 😅
Thanks for all the work!

@jlopezpena I've just uploaded omegaconf dev release 2.4.0.dev1 to pypi based on this PR branch. This should be useful so there's something to pin against when working on the Hydra PR.
https://pypi.org/project/omegaconf/2.4.0.dev1/
pip install omegaconf==2.4.0.dev1

Hi @Jasha10, what are the remaining TODOs before this PR can be merged?
Currently, the antlr version incompatibility is major blocker for our project (because of the clash between Omegaconf & https://github.com/Nixtla/statsforecast), so I would be happy to help with any of the remaining TODOs, if possible.

In my opinion this PR is in good shape.
I hoped to merge this at about the same time as it's sister PR https://github.com/facebookresearch/hydra/pull/2733 where unfortunately we have a backlog of CI issues that I believe are mostly unrelated to the PR itself (rather just technical debt on the Hydra project).

@Jasha10 are there some open issues related to the CI failures on the hydra side that I could take a stab at?

@Jasha10, thank you for the quick response! Are there some open issues related to the CI failures on the hydra side that I could take a stab at?
There are no open issues but you can basically look at recent open PRs on Hydra to check what's failing.

@shchur I have made a list:
https://github.com/facebookresearch/hydra/issues/2841

Thank you @jlopezpena for taking on this vendoring project.
The PR is merged and omegaconf dev release 2.4.0.dev2 is now available on pypi.
https://pypi.org/project/omegaconf/2.4.0.dev2/
pip install omegaconf==2.4.0.dev2


Inconsistent results for has_many relation each_rel/rels

Looks like calling each_rel or rels affects the relation and removes objects from it.
Previously we were using:
Neo4j database version: 4.4
ActiveGraph version: 11.1.0.alpha.4
Neo4j-driver-ruby: 4.4.3
Code below was working as expected.
Now we try to upgrade gem versions to:
Neo4j database version: 4.4
ActiveGraph version: 11.3.1
Neo4j-driver-ruby:  4.4.4
Code example (inline, gist, or repo)
class Skill
  # ...
  has_many :out, :categories, model_class: :SkillCategory, rel_class: :SkillInCategory
  # ...
end

class SkillCategory < Category
  has_many :in, :contents, model_class: :Skill, rel_class: :SkillInCategory
end

# Later we have test to check if we create uniq relations:
skill.categories << skill_category
skill.categories << skill_category
skill.categories << skill_category

skill.categories.each_rel.count == 1
skill.categories == [skill_category] # Fails, skill.categories relation is empty.

# Problem is with the order of the operations. Looks like calling `each_rel` replaces skill_categories with empty array.
# Real output from console:
[13] pry(#<RSpec::ExampleGroups::Skill::UniqueCategories>)> skill.categories
=> #<AssociationProxy Skill#categories [#<SkillCategory _global_id: "test-skill-category_1000001", _source_id: "1000001", _source_type: "test-skill-category", description: nil, name: "Organized systemic analyzer">]>
[14] pry(#<RSpec::ExampleGroups::Skill::UniqueCategories>)> skill.categories.each_rel.size
=> 1
[15] pry(#<RSpec::ExampleGroups::Skill::UniqueCategories>)> skill.categories
=> #<AssociationProxy Skill#categories []>
[16] pry(#<RSpec::ExampleGroups::Skill::UniqueCategories>)> skill.reload
=> #<Skill _global_id: "test-skill_1000001", _source_id: "1000001", _source_type: "test-skill", name: "Integrated Contextually-Based Ability">
[17] pry(#<RSpec::ExampleGroups::Skill::UniqueCategories>)> skill.categories
=> #<AssociationProxy Skill#categories [#<SkillCategory _global_id: "test-skill-category_1000001", _source_id: "1000001", _source_type: "test-skill-category", description: nil, name: "Organized systemic analyzer">]>
[18] pry(#<RSpec::ExampleGroups::Skill::UniqueCategories>)> skill.categories.rels.size
=> 1
[19] pry(#<RSpec::ExampleGroups::Skill::UniqueCategories>)> skill.categories
=> #<AssociationProxy Skill#categories []>

@petergebala One immediate issue I see is the usage of
... rel_class: :SkillInCategory

If you need a rel_class, because it has some properties you cannot do:
skill.categories << skill_category

You need to create the relationship object with its start, end node, and properties.
Maybe you don't need the rel_class.
Your ticket is still probably valid though.

Yes. Relation doesn't have any property. Thanks for tip. Issue is still there


executeHttpRequest - forwardAuthToken is not working when destination is fetched from destination service instance

Describe the bug
This is a follow up issue to #3629.
I think I found a bug when the destination is fetched from an instance-level destination service on cloud foundry.
It looks like the jwt is not added as Authorization header because the forwardAuthToken property is not mapped to the top level part of the destination object but is part of destination.originalProperties in the getMergedHeaders function:
When placing a debugger at the following line:
https://github.com/SAP/cloud-sdk-js/blob/45e2490d2e42813ef495a5b0b19a16b849c6e28e/packages/http-client/src/http-client.ts#L258
then this is the destination object:
{
  "originalProperties": {
    "Name": "my-destination",
    "Type": "HTTP",
    "URL": "URL_GOES_HERE",
    "Authentication": "NoAuthentication",
    "ProxyType": "Internet",
    "forwardAuthToken": "true"
  },
  "authTokens": [],
  "certificates": [],
  "name": "my-destination",
  "type": "HTTP",
  "url": "URL_GOES_HERE",
  "authentication": "NoAuthentication",
  "proxyType": "Internet",
  "isTrustingAllCertificates": false
}

To Reproduce
Steps to reproduce the behavior:

Set up instance-level destination on a CF destination service with NoAuthentication and forwardAuthToken to
Execute: executeHttpRequest({ destinationName: 'the-destination-name', jwt }, yourRequestConfig)
Call fails with 401 because the Authorization header is not mapped

Expected behavior
The JWT should be mapped as Bearer token in the Authorization header
Used Versions:

node version via node -v: 18.16.1
npm version via npm -v: 9.5.1
SAP Cloud SDK version you used as dependency<EMAIL_ADDRESS>
Code Examples
If applicable, add code snippets as examples to help explain your problem. Please remove sensitive information.
Log file
If applicable, add your log file or related error message. Again, please remove your sensitive information.
Impact / Priority
Affected development phase: Production
Impact: Inconvenience. Workaround is to add the Authorization header manually.

Hey @MarcusNotheis, thank you for reporting this. We are looking into it!

Ok, after looking into this, I see that this is likely a very similar expectation as on this issue: https://github.com/SAP/cloud-sdk-js/issues/3634. Currently, the SDK does not consider any additional properties with regards to forwarding auth tokens from the destination service. It is only possible to forward tokens using destinations directly (basically if you have a URL without going through the destination service).
Can you sketch your use case, to help me understand your case better?
Also, I can see that you're using forwardAuthToken as an additional property on the destination. To my understanding there is also the additional property HTML5.ForwardAuthToken, which is meant to be used be the app router. We are now discussing, whether it is safe to assume that when using HTML5.ForwardAuthToken the token should also be forwarded in a backend application.

Hi @marikaner
sorry for the late reply. Our use case is currently migrating away from the app router to a NextJS based application where we want to access our backend services by forwarding the JWT from the UI Session.
As I was reusing the same destination as in the approuter (with forwardAuthToken set, but not HTML5.forwardAuthToken) I was under the impression that this should work with the CloudSDK for JS as well.
In addition to that, I also did some tests with the same destination in the Cloud SDK for Java, and there the JWT is forwarded to the destination target.

Hey @MarcusNotheis, I am glad to let you know that we have implemented the token forwarding for all kinds of destinations now, you will find some more detailed documentation here soon: https://sap.github.io/cloud-sdk/docs/js/features/connectivity/destinations#forwarding-auth-tokens. (For a preview you can take a look at this pull request). You can use both forwardAuthToken and HTML5.ForwardAuthToken to activate this behavior.


iOS Example can't reconnect  at real device

I put the iOS sample in the background and wait 30 seconds and come back, it will not reconnect and become inoperable.
The Android sample was not a problem.
iOS 16
devide iPhone SE 2nd gen
Elixir 1.14.1
elrang 25.0.1
2023-03-12 23:44:16.577908+0900 todoapp[14917:4330321] [connection] nw_socket_handle_socket_event [C1:1] Socket SO_ERROR [9: Bad file descriptor]
2023-03-12 23:44:16.578507+0900 todoapp[14917:4330321] [connection] nw_socket_get_input_frames [C1:1] recvmsg(fd 41, 4 bytes) [57: Socket is not connected]
2023-03-12 23:44:16.578867+0900 todoapp[14917:4330321] [connection] nw_read_request_report [C1] Receive failed with error "Socket is not connected"
23:44:16.612 [error] Postgrex.Protocol (#PID<0.325.0>) disconnected: ** (DBConnection.ConnectionError) tcp send: closed
23:44:16.612 [error] Postgrex.Protocol (#PID<0.324.0>) disconnected: ** (DBConnection.ConnectionError) tcp send: closed
23:44:16.613 [error] Postgrex.Protocol (#PID<0.319.0>) disconnected: ** (DBConnection.ConnectionError) tcp send: closed
23:44:16.613 [error] Postgrex.Protocol (#PID<0.326.0>) disconnected: ** (DBConnection.ConnectionError) tcp send: closed
23:44:16.606 [error] GenServer Bridge terminating
** (FunctionClauseError) no function clause matching in Bridge.handle_info/2
    (wx 1.0.10) lib/bridge.ex:227: Bridge.handle_info({:tcp_error, #Port<0.4>, :enotconn}, %Bridge{port: 49368, socket: #Port<0.4>, send: &:gen_tcp.send/2, requests: %{}, funs: %{6 => #Function<1.48358712/2 in Desktop.Window.close_window>}, events: [], subscribers: [#PID<0.203.0>]})
    (stdlib 4.0.1) gen_server.erl:1120: :gen_server.try_dispatch/4
    (stdlib 4.0.1) gen_server.erl:1197: :gen_server.handle_msg/6
    (stdlib 4.0.1) proc_lib.erl:240: :proc_lib.init_p_do_apply/3
Last message: {:tcp_error, #Port<0.4>, :enotconn}
connection 0 did end
server did close connection 0
connection 0 did fail, error: POSIXErrorCode(rawValue: 57): Socket is not connected
2023-03-12 23:44:16.880116+0900 todoapp[14917:4330155] [connection] nw_connection_set_state_changed_handler_block_invoke [C1] Cannot set state changed handler after cancel
2023-03-12 23:44:16.880336+0900 todoapp[14917:4331649] [connection] [C1 <IP_ADDRESS>:59933 tcp, local: <IP_ADDRESS>:49368, definite, attribution: developer, server, prohibit joining] is already cancelled, ignoring cancel
23:44:17.470 [error] Postgrex.Protocol (#PID<0.323.0>) disconnected: ** (DBConnection.ConnectionError) tcp send: closed
23:44:17.470 [error] Postgrex.Protocol (#PID<0.320.0>) disconnected: ** (DBConnection.ConnectionError) tcp send: closed
23:44:17.470 [error] Postgrex.Protocol (#PID<0.322.0>) disconnected: ** (DBConnection.ConnectionError) tcp send: closed
23:44:17.471 [error] Postgrex.Protocol (#PID<0.318.0>) disconnected: ** (DBConnection.ConnectionError) tcp send: closed
23:44:17.551 [error] Postgrex.Protocol (#PID<0.321.0>) disconnected: ** (DBConnection.ConnectionError) tcp send: closed
23:44:17.637 [error] Postgrex.Protocol (#PID<0.327.0>) disconnected: ** (DBConnection.ConnectionError) tcp send: closed

move to ios example


Failed to execute goal on project sap-xsac-shine-user-java: Could not resolve dependencies for project com.sap.refapps:sap-xsac-shine-user

Hi Team,
I am getting below error in shine XSA in GCP platform. please help me to solve the issue.
[ERROR] Failed to execute goal on project sap-xsac-shine-user-java: Could not resolve dependencies for project com.sap.refapps:sap-xsac-shine-user-java:war:1.4.2: Could not find artifact com.sap.xs2.security:java-container-security:jar:0.22.2 in central (https://repo.maven.apache.org/maven2) -> [Help 1]
cheers,
Sukumar

Please reopen this issue if its still present after installing the latest code.


Fix Layout example component

Example used both expression and declaration. README is fairly long so I copy pasted it here. It was this:
export default function Layout({children}) => {children}

All the things.

Considered 3 options:
Named function declaration. Verbose but descriptive. (Proposing this one)
export default function Layout({ children }) {
  return {children};
}

Anonymous arrow function expression. Short but vague, what's the default export used again?
export default ({ children }) => {children};

Named arrow function expression. Looks weird, export to export?
export const Layout = ({ children }) => {children};
export default Layout;

Nice catch, thank you!


MR: HASIB SHANTO

Pre-requisites

[ ] Prior to submitting documentation, please apply to join the GitHub Technology Partner Program: partner.github.com/apply. Please feel free to proceed once your application is approved.

What information would you like to add to docs.github.com?

Tasks
Please be sure to complete each of the following:
Third-party product documentation:

[ ] MUST follow our general contributing guidelines for voice and markup format.
[ ] MUST emphasize how the third-party product works with GitHub.
[ ] MUST be written in Markdown format, using one of the templates provided
[ ] MUST include the name and URL of the GitHub technology partner responsible for maintenance of the documentation being contributed. This should be added via the contributor.name and contributor.URL properties in the template's YAML frontmatter.
[ ] MUST be proposed via a pull request to this repo following the GitHub Flow.
[ ] MUST be located in the root of the content folder. Your filename MUST match the GitHub technology partner name, and use the .md file extension.

The Pull Request:

[ ] MUST reference this issue, e.g. via closes #<this issue number>
[ ] MUST pass the automated CI checks
[ ] MUST include links to supporting material demonstrating the functionality being documented (this can be a link to a public GitHub repo, or a video / screencast walkthrough)

Once all tasks are completed, please mention @github/docs-content for next steps.
/cc @github/partner-engineering for :eyes:

agreed
On Sun, 8 Aug 2021, 4:46 pm welcome[bot], @.***> wrote:

Thanks for opening this issue. A GitHub docs team member should be by to
give feedback soon. In the meantime, please check out the contributing
guidelines https://github.com/github/docs/blob/main/CONTRIBUTING.md.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/github/docs/issues/8883#issuecomment-894800237, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AVCHA2QPV7LRAIF6OB2YG2DT32DBZANCNFSM5BYQGPGA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email
.

agreed
On Sun, 8 Aug 2021, 4:48 pm saan4, @.***> wrote:

agreed
On Sun, 8 Aug 2021, 4:46 pm welcome[bot], @.***> wrote:

Thanks for opening this issue. A GitHub docs team member should be by to
give feedback soon. In the meantime, please check out the contributing
guidelines https://github.com/github/docs/blob/main/CONTRIBUTING.md.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/github/docs/issues/8883#issuecomment-894800237, or
unsubscribe
<
https://github.com/notifications/unsubscribe-auth/AVCHA2QPV7LRAIF6OB2YG2DT32DBZANCNFSM5BYQGPGA
.
Triage notifications on the go with GitHub Mobile for iOS
<
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
<
https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email
.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/github/docs/issues/8883#issuecomment-894800480, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AVCHA2UPMN7I3AGICQ6RX5TT32DJFANCNFSM5BYQGPGA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email
.


NO-EASY: Delete Verzamelpagina Archeologie uit de ThematischeCollecties.csv

Fixes DD-
When applied it will

Where should the reviewer @DANS-KNAW/easy start?
How should this be manually tested?

[x] ran mvn clean install witout -DskipTests

Related pull requests on github

repo
PR
note

easy-
PR#
..

will put in another


2.2.0 too much recursion

When loaded in Firefox 37.0.1 the error is shown inside Firebug JavaScript console.

It usually caused by circular reference in formula, could you check it by enabling circular reference checker?
$('#form').calx({
    checkCircularReference : true
});

@ikhsan017 I'm checking it now.

Circular reference detected, this may cause calx to stop working.
cell : A5
formula : A5=A1+A4
Please check each cells involved in the formula that has direct or indirect reference to A5

@ikhsan017 I referenced cells A1, A2, A3, A4 inside a form, and A5, A6 outside the form. This is how the A5 looks like.
N/A

The way you define data-formula is wrong :), it should only contain the formula, the correct one should look like below
N/A

@ikhsan017 I could kiss you right now... Please write up some "idiot proof" documentation, for guys like me.

It is already there in the doc I think


How to set the value of a textarea widget?

Hi, thanks for the great repo! I am trying to add a textarea field and set the value with the render_field tag. I am unable to do this, and not sure if it is supported. Is so, please explain. Thanks!
from my django template
    {% render_field my_form.my_text_field rows='10' value='foobar' %}

from my forms.py
    class MyForm(forms.Form):
        my_text_field = forms.CharField(widget=forms.Textarea())

What I want rendered
<textarea rows="10" name="my_field" id="id_my_field">foobar</textarea>

I want a dynamic value like:
{% render_field my_form.my_text_field rows='10' value='{{my_value}}' %}

@RaphaelGuimRJ You can write like:
{% render_field my_form.my_text_field rows='10' value=my_value %}
with quotations and brackets

@RaphaelGuimRJ sorry, my answer doesn't work for forms.Textarea()

I'm after the same as @RaphaelGuimRJ I believe. Is it possible to use a variable from the form in a widget? For instance:
{{ field|add_class:"form-control"|attr:"placeholder:{{ field.label }}"}}
This creates an error as it disregards the filter_function argument in attr. Is there a workaround for this?

Hi @mahdi1008  @RaphaelGuimRJ , did you get any solution to set the value of textarea using render_field

Would love to be able to do that too.


signet/miner: Add --prefer-gbt-cli option

Adds a --prefer-gbt-cli option. Setting this allows you to specify an alternative bitcoin-cli invocation that will (only) be used for  preferentially obtaining a block template. The logic for mining a block then becomes:

obtain preferential block template
mine this template to produce a candidate block
submit this candidate block using the regular bitcoin-cli invocation
if this fails, obtain a block template using the regular bitcoin-cli invocation
mine and submit that block template

The idea here is that you can point the signet miner at both a core node and an inquisition node, but only use the inquisition node for generating block template (using --prefer-gbt-cli to point at the inquisition node). This means that if there is an unexpected inconsistency in the consensus logic between the two nodes that causes inquisition to generate blocks that aren't accepted by core, then submitblock will fail at step 3, and only core compatible blocks will be generated.

Open question: should anything be done to detect/recover from the --prefer-gbt-cli having more restrictive relay rules, resulting in txs building up in the main node's mempool but never getting included in the prefer-gbt-cli template? I argue not in this post, but I can think of two plausible alternatives:

mine, say, 10% of blocks just using core (using --multiminer), so the txs make it through eventually. This just papers over bugs rather than highlighting them, which doesn't seem helpful though.
before mining the prefered gbt, ask core for a template, and compare the coinbasevalue between the two: if core's version is higher, that probably indicates a problem, so issue a warning and mine using core. But it could just mean someone's successfully done a pinning attack against the preferred node, and that there isn't anything actually wrong, so may be too vulnerable to false positives.

My assumption (and this may be a shortsighted so bear with me) is that a signet miner would be expected to run the latest version of bitcoin-inquisition. Hence a signet miner running an old version of bitcoin-inquisition and as a result their blocks being rejected/not being signed by the block signers and transactions in their mempool not being relayed isn't a major concern. It is not as if we're trying to replicate the "miner can competitively mine using any Core or bitcoin-inquisition version" here.

resulting in txs building up in the main node's mempool but never getting included in the prefer-gbt-cli template

Given the prior stated assumption, when updating to the latest version of bitcoin-inquisition your mempool would flush any existing transactions that no longer meet the latest consensus rules and policy rules. That sounds like a much cleaner and less chaotic solution than somehow trying to mine x% of blocks using a different set of consensus rules, policy rules than the latest version of bitcoin-inquisition.
A Core signet node will only care if there is an effective hard fork and will ignore any soft forks on bitcoin-inquisition. If there is an effective hard fork on bitcoin-inquisition there is a risk of the Core signet node stalling and needing to run bitcoin-inquisition to get their blockchain moving again.

Hence a signet miner running an old version of bitcoin-inquisition and as a result their blocks being rejected/not being signed by the block signers

There isn't any separation between miners and block signers. If there were one, signing occurs before applying proof of work, anyway so that outcome isn't possible.

A Core signet node will only care if there is an effective hard fork and will ignore any soft forks on bitcoin-inquisition. If there is an effective hard fork on bitcoin-inquisition there is a risk of the Core signet node stalling and needing to run bitcoin-inquisition to get their blockchain moving again.

That is exactly what this patch prevents. Any "hard fork block", that is a block that the core signet node sees as invalid will be rejected by the core signet node when the block is passed into submitblock, so that block will never be seen on the network; instead a new block template will be generated from core, then signed and mined, then submitted to core and relayed across the network.

There isn't any separation between miners and block signers. If there were one, signing occurs before applying proof of work, anyway so that outcome isn't possible.

I thought it was submit block template to block signer, get block signature, then find proof of work? Theoretically possible to have the separation between miners and block signers even if today the 2 block signers are the only miners?

That is exactly what this patch prevents. Any "hard fork block", that is a block that the core signet node sees as invalid will be rejected by the core signet node when the block is passed into submitblock, so that block will never be seen on the network; instead a new block template will be generated from core, then signed and mined, then submitted to core and relayed across the network.

So in the case of a change to a soft fork implementation being pushed to bitcoin-inquisition and it being an effective hard fork the above would mean transactions applying the updated rules of the soft fork implementation (impacted by the hard fork) would never be mined? I don't think there's any way to square the circle supporting effective hard forks in this repo whilst not changing the Core codebase. Just start again with a (new) different opcode or different sighash flag if the implementation of say OP_CTV or SIGHASH_ANYPREVOUT needs to be changed post being activated on bitcoin-inquisition?

There isn't any separation between miners and block signers. If there were one, signing occurs before applying proof of work, anyway so that outcome isn't possible.

I thought it was submit block template to block signer, get block signature, then find proof of work? Theoretically possible to have the separation between miners and block signers even if today the 2 block signers are the only miners?

Block signers obtain a template from their node by calling getblocktemplate, it's not provided by some third party. If you want to let other people create block templates, you'll probably need some way of validating the template prior to signing it, which I don't think exists (if you send it to submitblock, you'll just get errors of the form "bad-signet-blksig" or insufficient proof of work).

So in the case of a change to a soft fork implementation being pushed to bitcoin-inquisition and it being an effective hard fork the above would mean transactions applying the updated rules of the soft fork implementation (impacted by the hard fork) would never be mined?

They won't be mined until the bug is fixed. Once that happens, if they can be included in blocks that are considered valid by core nodes, they will be.

I don't think there's any way to square the circle supporting effective hard forks in this repo whilst not changing the Core codebase.

I'm not sure what you're talking about here. No one's proposing to use this mechanism to test hard forks.
As far as updating a proposed soft fork to new rules that might be incompatible with previous versions of the same proposal, that is supported without it being a hard fork by the ability to disable enforcement of soft forks post-activation. Core doesn't enforce either set of rules in this case, so doesn't need any changes either way.


Update README.md

Added workaround for make pull requests.

Thank you, but this workaround will be obsolete after we implement the scissors cleanup mode which will fix the problem with markdown headers getting stripped. Follow https://github.com/github/hub/issues/1377#issuecomment-394760333 for updates


Update quickstart-part1.md

fix the mistakes

 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.You have signed the CLA already but the status is still pending? Let us recheck it.

finally understand why we create app with a mobile template here.


Input Splitter for Effects

Like in quartz composer, I would like to have different input ports in the effects. Related #12

I'm not sure if I'm getting this right.
Conceptually I like the idea of being able to modify not only the pixel and audio input of effects, but also control parameters of the effects with some modifiers (LFO, ADSR, Audio Gain, etc.).
Apart from adjusting the effects (we should make them more robust to changes of the parameters, so that current state is kept, see changing num_waves in SwimmingPool) this would also require fundamental changes to the UI.
I could think of adding a modulator section to the lower part of the edit screen (maybe collapsable just like the keyboard where you can insert new modulators). When a modulator is selected, the nodes whose parameters are controlled by the modulator could light up so you can see which ones are affected by the modulator. We would then need a way to visualise which parameters are controlled by the modulator and by how much.

Like we discussed yesterday we could have standardised performance parameters:

Intensity
Speed
...

Closed in favor of #125.