feat: add all non-goerli Etherscan supported chains

What I did
I basically need all chains listed here: https://docs.etherscan.io/contract-verification/supported-chains
to work (besides any goerli) so that is what this PR adds.
How I did it

How to verify it

Checklist

[ ] All changes are completed
[ ] New test cases have been added
[ ] Documentation has been updated

about to change frax to fraxtal


Issue with "Mail Listener v2" in @site/docs/reference/integrations/mail-listener-v2.md

Describe the problem

Page: Mail Listener v2
Source: https://github.com/demisto/content/blob/master//Packs/MailListener/Integrations/MailListenerV2/README.md

The integration no longer works. Microsoft retired basic authentication and the integration stopped working just showing failed logins. We worked with Palo Alto support and there is currently no resolution. What is the eta for this integration to start working with Oauth2 authentication? We would like to use this integration got employees to forward potential phishing emails but with basic authentication blocked we are unable to implement this feature.
Screenshots

Environment

OS: [e.g. Windows]
Browser: [e.g. chrome, safari, firefox..]
Browser Version:

Suggested fix

Update the integration to work with current O365 supported authentication methods. The other 0365 integration do not watch a mailbox like this integration to spawn incidents and kick off playbooks we have already reviewed them with support. The supported authentication is OAuthv2.

Hi @acicalla-ampere.
As MS is retiring basic auth from its Exchange Online deployments, we recommend to our customers to move to either the EWS O365 or the O365 Outlok Mail(using Graph API) Integrations.
The full considerations can be found in: https://xsoar.pan.dev/docs/reference/articles/MS_Azure_Integrations#exchange-and-ews.
Going forward, Mail Listener v2 will probably be deprecated in 2023.

Bar,
Neither of those integrations provide the option to listen to a mailbox and spawn an incident from the receipt of the email. We already have the other integrations you mention and they do not provide this functionality from what we have seen.
Thank you,
[signature_223738876]
Anthony Cicalla | Senior Principal IT Security Architect
C<PHONE_NUMBER>|O530.745.4137 |<EMAIL_ADDRESS>4655 Great America Parkway, Suite 601 | Santa Clara CA 95054webextlink://4655 Great America Parkway, Suite 601 | Santa Clara CA 95054
Book a Meetinghttps://meetings.hubspot.com/acicalla
From: Bar Katzir @.>
Date: Tuesday, December 13, 2022 at 6:07 AM
To: demisto/content-docs @.>
Cc: Anthony Cicalla @.>, Mention @.>
Subject: Re: [demisto/content-docs] Issue with "Mail Listener v2" in @site/docs/reference/integrations/mail-listener-v2.md (Issue #1252)
[EXTERNAL EMAIL NOTICE: This email originated from an external sender. Please be mindful of safe email handling and proprietary information protection practices.]
Hi @acicalla-amperehttps://github.com/acicalla-ampere.
As MS is retiring basic auth from its Exchange Online deployments, we recommend to our customers to move to either the EWS O365 or the O365 Outlok Mail(using Graph API) Integrations.
The full considerations can be found in: https://xsoar.pan.dev/docs/reference/articles/MS_Azure_Integrations#exchange-and-ews.
Going forward, Mail Listener v2 will probably be deprecated in 2023.
—
Reply to this email directly, view it on GitHubhttps://github.com/demisto/content-docs/issues/1252#issuecomment-1348638593, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A2LARH67VOKCGM5P4EETJY3WNB7JJANCNFSM6AAAAAAS4MUNRQ.
You are receiving this because you were mentioned.Message ID: @.***>

May I ask you to provide some more information regarding the difference?
From the EWS O365 instance config, e.g, you can choose the folder you want to listen to and to spawn incidents from the receipt of mail.

Bar,
I got it working. I was originally on a call with support and at the time they couldn’t tell me how to configure the O365 integration. However, after digging into what you sent yesterday. I was able to get it working and fetching emails. I appreciate it. I would update the mail listener v2 to point to the documentation you shared with me yesterday. You can close this ticket.
Thank you,
[signature_2987449209]
Anthony Cicalla | Senior Principal IT Security Architect
C<PHONE_NUMBER>|O530.745.4137 |<EMAIL_ADDRESS>4655 Great America Parkway, Suite 601 | Santa Clara CA 95054webextlink://4655 Great America Parkway, Suite 601 | Santa Clara CA 95054
Book a Meetinghttps://meetings.hubspot.com/acicalla
From: Bar Katzir @.>
Date: Wednesday, December 14, 2022 at 12:18 AM
To: demisto/content-docs @.>
Cc: Anthony Cicalla @.>, Mention @.>
Subject: Re: [demisto/content-docs] Issue with "Mail Listener v2" in @site/docs/reference/integrations/mail-listener-v2.md (Issue #1252)
[EXTERNAL EMAIL NOTICE: This email originated from an external sender. Please be mindful of safe email handling and proprietary information protection practices.]
May I ask you to provide some more information regarding the difference?
From the EWS O365 instance config, e.g, you can choose the folder you want to listen to and to spawn incidents from the receipt of mail.
[image]https://user-images.githubusercontent.com/37335599/207542378-fe37fbeb-2b9b-45bc-a694-465846cababb.png
—
Reply to this email directly, view it on GitHubhttps://github.com/demisto/content-docs/issues/1252#issuecomment-1350607926, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A2LARHY3P7Q4D7YZ5SLS5ADWNF7GTANCNFSM6AAAAAAS4MUNRQ.
You are receiving this because you were mentioned.Message ID: @.***>


reset() does not reset the breadcrumbs

When creating exceptions with breadcrumbs in 2 tests, the second test will have the breadcrumbs from the first test.
describe('debug', () => {
    beforeEach(() => {
      testkit.reset();
    });
    it('should log a message 1', () => {
      Sentry.addBreadCrumb({message: 'messageText'});
      Sentry.captureException(new Error('test 1'));

      expect(testkit.reports()).toHaveLength(1);
      const report = testkit.reports()[0];

      expect(report.breadcrumbs).toHaveLength(1);
    });

    it('should log a message 2', () => {
      Sentry.addBreadCrumb({message: 'messageText'});
      Sentry.captureException(new Error('test 2'));

      expect(testkit.reports()).toHaveLength(1);
      const report = testkit.reports()[0];

      expect(report.breadcrumbs).toHaveLength(1);
    });
});

The second test fails as the breadcrumbs array contains 2 items:

can you state your sentry and sentry-testkit versions?

I think it's related to recent changes has been done after moving to yarn and refresh the locked versions of some dependencies. will revert back

@rolandoldengarm  reverted here https://github.com/wix/sentry-testkit/commit/091bcc0dd3f977e3f13cfb39482b9887955ee0a3
let me know if you still see this bug


With command change str to int

This is command description:
root@350ab4117e66:/code# python main.py print_config  with eval_end="2018-11-25"
WARNING - root - Changed type of config entry "eval_end" from str to int
INFO - percolata_experiment - Running command 'print_config'
INFO - percolata_experiment - Started
Configuration (modified, added, typechanged, doc):
algo_config_file = None
algo_type = 'prophet'
baseline_expid = None
cus_name = None
data_type = 'fill'
desc = None
emails =<EMAIL_ADDRESS>eval_end = 1982
eval_start = '2018-11-23'
executor = None
exp_identity = 'percolata_experiment'
forecast_type = 'expt'
location_id = 1249
mode = 'pred'
pred_end = '2019-02-26'
pred_start = '2019-01-22'
seed = 191843317
time_res = 'slot'
train_start = None
weight = 'weight.tar.pth'
I don't understand why Sacred will always throw " WARNING - root - Changed type of config entry "eval_end" from str to int"   message.

Ah yes, bash always removes quotes before the args even reach python. The only way to keep quotes is to pass single and double quotes:
python -c "import sys; print(sys.argv)" with eval_end="'2018-11-27'"
['-c', 'with', "eval_end='2018-11-27'"]

This is extremely tedious, so I decided to have Sacred try to interpret the arg and fallback to str if other ways of parsing fail. Unfortunately this can lead to quite confusing errors. And this one seems especially bad.
I wasn't aware of the fact that ast.literal_eval  evaluates plus and minus operators in expressions. That is definitely not intended behavior, and it might be worth to create a special case for this one. Maybe only apply ast.literal_eval if there are no + or - symbols in the middle of the arg? Or even a special parser for dates? What do you think @Chenguoqing2008, @thequilo and @JarnoRFB ?

Maybe a special date parser makes most sense. If we put in manual special cases for "+" and "-" we might find other special cases come up. For example if someone specifies a date as 2019/02/19 Would it be possible make the datetime or dateutil module available on the command line? So one could use something like.
$ python exp.py with eval_end=dateutil.parser.parse("2019-02-19")

We could repalce the ast.literal_eval with eval to make dateutil available, but this is a huge security risk and we probably don't want to make any python code passed as a config value executable. Also, if we start to introduce special cases, there will be new special case popping up here and there. To parse any string that has a format like "2019-02-19" or "2019/02/19" (or a ton of other date/time representations, what about hh:mm:ss?) could lead to unexpected behaviour, if the user did actually intend to input a string.
It may be very confusing that the configuration values are evaluated. In fact, ast.literal_eval only evaluates + and - (ast.Add, ast.UAdd, ast.Sub, ast.USub operators), for everything else it raises an exception. We could write a custom literal_eval that does not evaluate + and -, but instead returns a str, as this is what I (and I guess most people) would expect.
Actually, I thought about similar things some time ago, where I was passing directory names as config values, and wanted to convert them to pathlib.Path. It would be nice to have some sort of value conversion and validation mechanism that can be attached to any configuration value. I'm not sure how this could be implemented, but maybe something along this (now for pathlib.Path, but it is basically the same)?
@ex.validate_and_convert('data_dir')
def validate_and_convert(data_dir):
    # You can raise an Exception in here or convert the value
    data_dir = pathlib.Path(data_dir)
    if not data_dir.exists() or not data_dir.isdir():
        raise InivalidConfigError(
            'data_dir must be a valid directory',
            conflicting_configs='data_dir')
    return data_dir

It may be very confusing that the configuration values are evaluated. In fact, ast.literal_eval only evaluates + and - (ast.Add, ast.UAdd, ast.Sub, ast.USub operators), for everything else it raises an exception. We could write a custom literal_eval that does not evaluate + and -, but instead returns a str, as this is what I (and I guess most people) would expect.

If it's only those to operators are evaluated, I think somehow turning them of makes most sense. I think just getting what you put on the command line confirms most to user expectations.
Having custom callbacks for transforming the config also sounds interesting. I think it is similar to what click is doing with parameter types and callbacks http://click.palletsprojects.com/en/7.x/options/#callbacks-for-validation. So maybe we can look for some inspiration there.

I think just getting what you put on the command line as a string confirms most to user expectations.

It's not in all cases. bool, int and float should still be converted.

I think it is similar to what click is doing with parameter types and callbacks

Yes, I had something like this in mind. The problem is, that I don't see a simple way of attaching a callback function to a specific configuration value.
Since we already have the functionality, we could introduce a special config scope for this, which is executed after the current config process is finished, and which does not fix the parameters. This could look like this:
@ex.validate
def validate(path, date):
    path = pathlib.Path(path)
    date = dateutil.parser.parse(date)
    assert path.exists()

When work on the config_refactor branch is finished, this is as easy as adding an additional stage wich does not freeze the configuration of the previous stages. Let's see what @Qwlouse says to having an validation/conversion mechanism.

I found this issue because I had a similar problem today. It seems that not only + and - are affected as is mentioned further above, because when I pass 20201214_161343.154907 as a parameter it is also interpreted as a float, although it contains '_'.

Yes, that's because Python ignores _ in numbers. It does this to provide a visual separator between groups of digits for better readability (e.g., 100_000_000 vs 100000000). See https://www.python.org/dev/peps/pep-0515/


Questions regarding pre-trained weights and hyper-parameters

Hello, thank you for the great work! 👏
Are you planning to release the pre-trained weights?
Also, what is the default value for encoder_lr_scale (https://github.com/ChenhongyiYang/egoposeformer/blob/a8e2ad0c2c4556a617ea0a048849e05c9e6d713e/pose_estimation/pl_wrappers/pose_3d.py#L62) used in your experiments?
Thank you for reading my questions!

Hi, thank you for being interested in our work.
The default encoder_lr_scale is 1.0; I have updated the config, so it should be ok now.
Also, we have also uploaded the model weights (heatmap and final model), and you can download them from here.


help: how to query code_span

Code not working
vim.treesitter.query.parse("markdown", [[ (paragraph (inline  (code_span)  @codespan)) ]])

See also my answer to the other issue you opened
https://github.com/MDeiml/tree-sitter-markdown/issues/103#issuecomment-1604258943
I looked a bit into the neovim api. The main problem is that the code_span node is part of the "markdown_inline" grammar, so the following would work for example
vim.treesitter.query.parse("markdown_inline", [[ (code_span)  @codespan ]])

But this obviously wouldn't check if the code_span is inside a paragraph and would also return code spans that are for example in a heading. Not sure if that is a problem?
Also you will have to make sure to call it on the markdown_inline tree and not the markdown tree. Let me know if you need any other help.


Problem Bringing up TB3 Burger

ISSUE TEMPLATE ver. 0.2.0

Which TurtleBot3 you have?

[ x] Burger
[ ] Waffle
[ ] Waffle Pi

Which SBC(Single Board Computer) is working on TurtleBot3?

[ x] Raspberry Pi 3
[ ] Intel Joule 570x
[ ] openCR

Which OS you installed in SBC?

[ x] Ubuntu MATE 16.04 or later
[ ] Raspbian
[ ]

Which OS you installed in Remote PC?

[ ] Ubuntu 16.04 LTS (Xenial Xerus)
[ x] Ubuntu 18.04 LTS (Bionic Beaver)
[ ] Linux Mint 18.x
[ ] etc (PLEASE, WRITE DOWN YOUR OS)

Write down software version and firmware version

If this refers to openrCR i'm not sure I have initialised the card with the <IP_ADDRESS> Shell Script
method.
- Software version: [x.x.x]
- Firmware version: [x.x.x]

Write down the commands you used in order

On step 7.3:
Load a TurtleBot3 on Rviz
[Remote PC] Launch robot state publisher and Run RViz.
TIP: Before executing this command, you have to specify the model name of TurtleBot3. The ${TB3_MODEL} is the name of the model you are using in burger, waffle, waffle_pi. If you want to permanently set the export settings, please refer to Export TURTLEBOT3_MODEL page.
$ export TURTLEBOT3_MODEL=${TB3_MODEL}
$ roslaunch turtlebot3_bringup turtlebot3_remote.launch

Copy and Paste your error message on terminal

michael@Turtlebot3:~/catkin_ws$ roslaunch turtlebot3_bringup turtlebot3_remote.launch
... logging to /home/michael/.ros/log/cba245aa-0e3f-11e9-a581-b827eb892c16/roslaunch-Turtlebot3-2341.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
while processing /home/michael/catkin_ws/src/turtlebot3/turtlebot3_bringup/launch/includes/description.launch.xml:
Invalid  tag: xacro
ROS path [0]=/opt/ros/kinetic/share/ros
ROS path [1]=/home/michael/catkin_ws/src
ROS path [2]=/opt/ros/kinetic/share.
Arg xml is
The traceback for the exception was written to the log file

Please, describe detailedly what difficulty you are in
-As this is my first foray into ROS, I have only my nose above the water. I tried editing the file based on some other seeming related issues but this was hit/miss= miss. I assume I have done something, or not done something and I hope you can help me understand and move forward.

Hi @mickpmack :)
Could you tell me more about your problem? what did you run command? in Turtlebot3 or Remote PC?
I understand when you are a beginner, you may not know what you have modified. So, I recommend remove and reinstall turtlebot3 packages.
Thanks,
Gilbert


Update composer.json

Using new version of the support library (0.8.8 -> 0.9.0), the old version requires Laravel 5.8 or older...

Thanks!


Python Data Visualization

📝 Upload Python Data Visualization Programs
📝 Please Upload it under folder name Python Data Visualization
📝 Upload this file in ipynb format

@ArchanaKalathiya, I reviewed your Digital Clock Pull Request and suggested some changes. The same needs to be done here. Create a folder for your program, then add your code and a readme.md file to it.


Name spaces

We've talked elsewhere about potentially introducing some analog of Python's name spaces.  Currently, we do this only for the args to out-of-line functions, giving them mangled names to keep them distinct from like-named variables elsewhere.  All other variables used within functions are effectively treated as global.
In Python, each call of a function generates its own distinct namespace, so e.g, in recursive calls, each layer in the recursion can have different values for its (local) variables.  To implement that, we'd need to use a stack and lots of push/pop operations, and would likely find that the cost in processor cycles is too steep for whatever minor benefits this might give.
If we set aside cases of recursion, we could get a decent approximation of Python namespaces by mangling any variable names that we want to treat as being "local" to some particular function.  In Python, the global/local distinction is handled by explicit declaration, and by a rule that says that, in the absence of explicit guidance, every assignment/"write" output must be local, whereas all other (input/"read") uses of variables will go to the smallest scope in which they are defined.  This means that same-looking variables may end accessing quite different memory addresses at different points in a function, and which they access may depend upon conditions that can't be known at compile-time.
def foo()
   print(b) # b is global
   if c: b = 0 # b may now be local, or may not, depending on c
   print(b)  # will access the local b, if we just made one, else the global b
   del b
   print(b) # now b is global again

I don't think there's any good way to do all this with name-mangling.  We can handle references to global b by leaving b unmangled, and we can handle references to a quasi-local b by using a mangled version like __foo_b.  But whichever one of these we pick for the middle print(b) above, it won't always give the same behavior as Python does.  (That might be a good thing, since Python's way of doing this confuses and frustrates many novices.)
If we want to implement some version of this, we'll need a further simplification away from Python (in addition to the no-new-namespace-upon-recursion simplification).  That then raises the question: what rules should we use to decide which variables count as "local" in the absence of explicit declaration?  One fairly plausible candidate rule would be to say that any variable that the compiler hasn't seen be written to yet within the function will default to being global/unmangled, but starting with the first line where it gets written to (even within an if statement) it will then be local/mangled for the rest of the function.  Another plausible candidate would say that each variable is either global-throughout-the-function or local-throughout-the-function -- no switching like you can have in Python -- and that being written to anywhere in a function (even within an if statement) makes a variable therefore count as local throughout the function.  This latter option fits better with our "once type C, always type C" rule, but it would require mangling to be done on a later pass, not at initial compilation.
My own inclination here is to just say "Everything but function arguments is global, so be careful about using the same variable for different things!"  But anyway, I've been reworking name-mangling to fit better with the new type-detection system, so now would be a good point to add some further approximation of name-spaces, if we want it?  This may also make a difference to whether I'll do name-mangling in the first pass, which can be slightly more efficient, or wait to do mangled-substitutions later, as would be needed if we opted for something like the latter candidate rule above.

Well, I've tentatively implemented this using the first candidate above: within functions each variable is treated as global until the first instance where it gets overwritten by some operation; from that point on it is then treated as "local" -- i.e. it thereafter is replaced with a mangled version of its name (regardless of whether that operation was inside an if clause).  I still need to add handling for the explicit global declaration to veto automatic localization of set variables.

Well, I've tentatively implemented this using the first candidate above: within functions each variable is treated as global until the first instance where it gets overwritten by some operation; from that point on it is then treated as "local" -- i.e. it thereafter is replaced with a mangled version of its name (regardless of whether that operation was inside an if clause).  I still need to add handling for the explicit global declaration to veto automatic localization of set variables.

I've said this a few times before but I'll repeat it here, now that it has a proper issue.
Python also has this problem with scopes, and if it detects "read global, set global", it will fail:
>>> x = 0
>>> def f():
...     x += 1
...
>>> f()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "<stdin>", line 2, in f
UnboundLocalError: local variable 'x' referenced before assignment

The correct solution is to declare it with global:
>>> def f():
...     global x
...     x += 1
...
>>> f()
>>> x
1

nonlocal also exists, and it's for nested functions. Pyndustric should do the same. This is the least surprising (and most sane) behaviour. No guessing.
Implementation wise it's trivial: everything in a function is namespaced and local to that function, unless there is a global in its body. Probably enough to scan the entire body for these global statements when we find a def and store those special names somewhere ("do not namespace these" set).
Note: this should be implemented in at least two commits (one for the scopes, another to support global).

I've said this a few times before but I'll repeat it here, now that it has a proper issue.
Python also has this problem with scopes, and if it detects "read global, set global", it will fail:
>>> x = 0
>>> def f():
...     x += 1
...
>>> f()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "<stdin>", line 2, in f
UnboundLocalError: local variable 'x' referenced before assignment

The correct solution is to declare it with global:
>>> def f():
...     global x
...     x += 1
...
>>> f()
>>> x
1

nonlocal also exists, and it's for nested functions. Pyndustric should do the same. This is the least surprising (and most sane) behaviour. No guessing.
Implementation wise it's trivial: everything in a function is namespaced and local to that function, unless there is a global in its body. Probably enough to scan the entire body for these global statements when we find a def and store those special names somewhere ("do not namespace these" set).
Note: this should be implemented in at least two commits (one for the scopes, another to support global).


[Create New Issue]: Difference between .NET Core and .NET Framework

Description
Documentation for difference between .NET Core and .NET framework
Domain
Backend Dev (.NET)
Type of Contribution
Documentation
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of this project.

/assign


Remove escape_bytes in 0.8.0

I don't see a reason that this was part of the public API in the first place. GitHub search does not show any callers. The implementation has never been remotely correct (it is somewhat better as of #58 but still can produce invalid JSON).
This would be a breaking change.

+1 from me on this, see discussion in #51.

@dtolnay: +1. We can remove it. I don't think I did that intentionally.

@dtolnay: Now that the enum variant change landed, the breaking change window is now open. Want to land this?

Yes I'll take care of it. I already have this guy on an 0.8.0-rc branch so I will merge that in as well.


add go extension trailer get raw api

Commit Message: add go extension trailer get raw api
Additional Description: N/A
Risk Level: low
Testing: intergation test
Docs Changes: N/A
Release Notes: N/A

@doujiang24 PTAL, and should we just use getHeader to get raw trailer? or we should have a getTrailer?
https://github.com/envoyproxy/envoy/blob/9b27cf63fb62d0e12ae44d417b1815c299b67b58/contrib/golang/filters/http/source/golang_filter.cc#L584

@StarryVae Thanks!
I'm fine to introduce a new getTrailer C API, but I have to say:
GetRaw is an unsafe API, it's just experimental, maybe removed in the feature, it depends on the performace benchmark, compare to the Get API.

ok, so getTrailer will not be introduced in this patch yet, thanks.

/retest

/retest

cc @wbpcode @mattklein123


kafka-connect-jms: JMSSessionProvider always attempts to produce AND consume from JMS Destinations

When using the JMSSource to consume messages from an ActiveMQ broker, we observed the following:
[2017-11-24 08:44:27,877] ERROR Task sq-it-connector-0 threw an uncaught and unrecoverable exception (org.apache.kafka.connect.runtime.WorkerTask)
javax.jms.JMSSecurityException: User <SOME_USER> is not authorized to write to: topic://<SOME_TOPIC>
	at org.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:52)
	at org.apache.activemq.ActiveMQConnection.syncSendPacket(ActiveMQConnection.java:1399)
	at org.apache.activemq.ActiveMQConnection.syncSendPacket(ActiveMQConnection.java:1428)
	at org.apache.activemq.ActiveMQSession.syncSendPacket(ActiveMQSession.java:2081)
	at org.apache.activemq.ActiveMQMessageProducer.<init>(ActiveMQMessageProducer.java:124)
	at org.apache.activemq.ActiveMQSession.createProducer(ActiveMQSession.java:1112)
	at com.datamountaineer.streamreactor.connect.jms.JMSSessionProvider$.createProducers(JMSSessionProvider.scala:113)
	at com.datamountaineer.streamreactor.connect.jms.JMSSessionProvider$$anonfun$4.apply(JMSSessionProvider.scala:99)
	at com.datamountaineer.streamreactor.connect.jms.JMSSessionProvider$$anonfun$4.apply(JMSSessionProvider.scala:99)
	at scala.collection.immutable.List.flatMap(List.scala:338)
	at com.datamountaineer.streamreactor.connect.jms.JMSSessionProvider$.apply(JMSSessionProvider.scala:99)
	at com.datamountaineer.streamreactor.connect.jms.source.readers.JMSReader.<init>(JMSReader.scala:36)
	at com.datamountaineer.streamreactor.connect.jms.source.readers.JMSReader$.apply(JMSReader.scala:65)
	at com.datamountaineer.streamreactor.connect.jms.source.JMSSourceTask.start(JMSSourceTask.scala:51)
	at org.apache.kafka.connect.runtime.WorkerSourceTask.execute(WorkerSourceTask.java:142)
	at org.apache.kafka.connect.runtime.WorkerTask.doRun(WorkerTask.java:146)
	at org.apache.kafka.connect.runtime.WorkerTask.run(WorkerTask.java:190)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)

After digging through the source it seems that there is a bug in JMSSessionProvider which will create a JMS Consumer and JMS Producer for every JMS Destination referenced. This behaviour causes the security exception above because the JMS Source is registering it's desire to produce messages to an ActiveMQ Topic that it does not have authorisation to.

@richardlundsky Yes, thats a valid bug. I put a fix in.

@andrewstevenson Apologies if I've stepped on your toes here, I actually had the code ready when I reported the issue, but time constraints meant I only got round to raising the PR now.


Delay peersharing

Description
Delay peer sharing for newly established peers for 5 minutes. The 5 minute gives the new peer plenty of time to prove itself useful, or violate the protocol and be disconnected.
This change also fixes a startup problem where, when the node starts it could end up asking the first peer it manages to connect to for 100 peers.
Checklist

Branch

[x] Updated changelog files.
[x] Commit sequence broadly makes sense
[x] Commits have useful messages
[ ] The documentation has been properly updated
[ ] New tests are added if needed and existing tests are updated
[ ] If serialization changes, user-facing consequences (e.g. replay from genesis) are confirmed to be intentional.

Pull Request

[x] Self-reviewed the diff
[x] Useful pull request description at least containing the following information:

What does this PR change?
Why these changes were needed?
How does this affect downstream repositories and/or end-users?
Which ticket does this PR close (if any)? If it does, is it linked?

[ x Reviewer requested

These changes were merged in #4739.


FileMode fix

Can you explain what this is supposed to fix? That FileMode was chosen intentionally.

Was discussed in Discord. Would rather anything that wants to overwrite do so explicitly by
providing the second parameter.


Document change in accessor point from IPageFactory to IDocumentClientSession - putting in front of creating the document, then creating the page, without mixing responsibilities of HttpRequestMessages being passed to IPageFacotory.

Done in latest push #552


Update Zoom.Zoom.installer.yaml add DisplayVersion for MSI

[ ] Have you signed the Contributor License Agreement?
[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?
[ ] This PR only modifies one (1) manifest
[ ] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.5 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

@PckgrBot You forgot to add lines for the arm64 installer

@PckgrBot You forgot to add lines for the arm64 installer

Does the arm64 have these too? If so I'll add them

BTW I got different version schemes for MSI installers:

BTW I got different version schemes for MSI installers:

BTW I got different version schemes for MSI installers:

Good pickup, I've added this in.


Quit On Go Back - NOT WORKING PROPERLY

Godot version
3.4.3
System information
Windows 10, GLES2
Issue description
When "Project Settings > Application > Config > Quit On Go Back" option is set OFF, it does not work accordingly, and the app will still exit when "Go Back" button is pressed on Android. However, this only happens if "Project Settings > Application > Config > Auto Accept Quit" option is ALSO set OFF. In other words, if "Quit On Go Back" option is set OFF and "Auto Accept Quit" option is set ON, things will go as expected and "Quit On Go Back" option will work normally.
Steps to reproduce
1- "Project Settings > Application > Config > Quit On Go Back" option is set OFF.
AND
2- "Project Settings > Application > Config > Auto Accept Quit" option is set OFF.
Minimal reproduction project
No response

This may be intended behavior. "Quit On Go Back" should be interpeted as "request quit when pressing the Back button". This means sending NOTIFICATION_WM_QUIT_REQUEST as described in Handling quit requests documentation.

Maybe my choice of words isn't the best... because that's not what I was saying.
Quote from Me:
"When "Project Settings > Application > Config > Quit On Go Back" option is set OFF, it does not work accordingly, and the app will still exit when "Go Back" button is pressed on Android. However, this only happens if "Project Settings > Application > Config > Auto Accept Quit" option is ALSO set OFF."
This means that if BOTH options are OFF, The app WILL QUIT when presseing "Go Back" button.
QUOTE from Calinou:
"...but it will not quit by default if Auto Accept Quit is disabled."
Unfortunately, this is not happening. BOTH are OFF, but it STILL QUITS!!!


Readme.md description is not clear

Description
The readme does not clearly describe where to add the code in the figure below.

Suggestion
Change the above code to the following command:
cd src/Products
dotnet user-secrets set "ConnectionStrings:openaidev" "Endpoint=https://<endpoint>.openai.azure.com/;Key=<Azure OpenAI Service key>;"
dotnet user-secrets set "ConnectionStrings:azureaisearchdev" "Endpoint=https://<endpoint>.search.windows.net/;Key=<Azure AI Search key>;"

@elbruno, @PabloNunes and @hemarina for notification.

Thanks for the suggestion.
Readme updated on https://github.com/Azure-Samples/eShopLite-SemanticSearch-AzureAISearch/commit/12c5d2f217175d81f35fa8585494846239956291
Best!


Free Packages Importer userscript "Failed to add packages."

Current version of the userscript results in "Failed to add packages." while adding packages from SteamDB's Free Packages page.
Using Tampermonkey on Firefox.

I cannot reproduce your issue.

There should be an error logged to the developer console (Tools > Web Developer > Web Developer Tools or use the keyboard shortcut Ctrl + Shift + I), can you post that here?  ASF's logs might also have something relevant.

Hey there, thanks for the assistance!
ASF's logs showed nothing out of the ordinary, but here's the output of the developer console:

Object { readyState: 4, responseHeaders: "content-length: 0\r\ndate: Thu, 27 Jun 2024 06:36:11 GMT\r\n", finalUrl: "http://localhost:1242/Api/FreePackages/ASF/QueueLicenses", status: 404, statusText: "Not Found", DONE: 4, HEADERS_RECEIVED: 2, LOADING: 3, OPENED: 1, UNSENT: 0, … }

DONE: 4

HEADERS_RECEIVED: 2

LOADING: 3

OPENED: 1

RESPONSE_TYPE_ARRAYBUFFER: "arraybuffer"

RESPONSE_TYPE_BLOB: "blob"

RESPONSE_TYPE_DOCUMENT: "document"

RESPONSE_TYPE_JSON: "json"

RESPONSE_TYPE_STREAM: "stream"

RESPONSE_TYPE_TEXT: "text"

UNSENT: 0

finalUrl: "http://localhost:1242/Api/FreePackages/ASF/QueueLicenses"

readyState: 4

responseHeaders: "content-length: 0\r\ndate: Thu, 27 Jun 2024 06:36:11 GMT\r\n"

status: 404

statusText: "Not Found"

Error 404 Page Not Found. Maybe ensure IPC works.

What ASF version and plugin version are you using?
I can only think of two explanations: either you're using an old version of the plugin (pre V1.1.0), or something is blocking requests to that url.
If you are using the latest plugin version, then this sounds like some technical networking problem specific to whatever computer setup you have, and I can't help with that.  Though maybe it's being blocked because of the amount of data being sent (assuming you're trying to import everything on SteamDB, which can be more than 25,000 packages).  You can test this by running this code from the developer console on SteamDB's free packages page after it's done loading:
document.querySelectorAll(".package:not(:nth-child(-n+11))").forEach(e => e.remove())

This will hide all but the first 10 free packages on SteamDB, after which try adding only those 10 packages using the userscript and see if that works.

I'm using ASF version <IP_ADDRESS> and FreePackages version <IP_ADDRESS>.
The code you shared worked! I was able to add those 10 packages.


Can't delete or change location with iPokeGo

Same as title, I can't change or delete scan locations. I must do it from web. How can i resolve?

same problem. i have to delete the app and install it again.

Delete config.json, linux command "rm config.json"  at pogom dir. Or edit directly the json "SCAN_LOCATION".


Updating documentation structure for review

This one is a proposed restructure of the site documentation that is more aligned with technical documentation on other sites.  Mapping the new structure back to the Diataxis framework, I propose the following:
Documentation.Quickstart = Tutorials
Documentation..index = Exploration
Documentation.. = How-To-Guides
Reference = Reference

Updated broken links post refactor and have a new (more direct) mapping outlined below:
Documentation.Tutorials = Tutorials
Documentation.[directory].index = Explanation
Documentation.[directory].* = How-To-Guides
Reference = Reference

Coverage remained the same at 94.071% when pulling e20f670475bbfb06ab901b8eeda8b558fdca744e on reshma-consolidation into 6dbdb7f6206bfc00d097b505d8ba1e164e1cabe3 on main.

Thanks so much @im2nguyen!  I have addressed most of your feedback.  Another nit: @rahul1 - these side nav down arrows for the top level are a little visually distracting.  I'm not sure if there is a way to remove those


Color Blast[New game]:

🎮 Game Request
have to shoot to the cube of color to win the game
Point down the features
if player shoot all the color cube then player win the game
Select program in which you are contributing
GSSoC23
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

/assign

Hey @shraddha761 , You can't have another issue before completing the previous one 😀
you already have the following 1 open issues 👀 ! :
#1601

Hey @shraddha761 ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇

Hey @shraddha761 !
Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹


New feature: allow CLI argument --json

Hey guys,
I was walking around node-tap for a while, I didn't notice the option to export json to stdout. This is a nice feature to have when comparing historical data related to tests - number of tests added, number of todos, tests skipped, etc.
Let me know if this is planned or if a Pull Request is accepted, I would like to contribute if possible!

There's already a JSON reporter built in, does this meet your needs?
$ tap -Rjson ok.js --no-cov
{
  "stats": {
    "suites": 1,
    "tests": 1,
    "passes": 1,
    "pending": 0,
    "failures": 0,
    "start": "2022-03-14T17:28:55.178Z",
    "duration": 93.195,
    "end": "2022-03-14T17:28:55.271Z"
  },
  "tests": [
    {
      "title": "this is fine",
      "fullTitle": "ok.js this is fine",
      "err": {}
    }
  ],
  "pending": [],
  "failures": [],
  "passes": [
    {
      "title": "this is fine",
      "fullTitle": "ok.js this is fine",
      "err": {}
    }
  ]
}

Or for even more details, you can use the json output that tap-parser can do:
$ tap ok.js --no-cov | npx tap-parser -j
[
  [
    "version",
    13
  ],
  [
    "child",
    [
      [
        "comment",
        "# Subtest: ok.js\n"
      ],
      [
        "assert",
        {
          "ok": true,
          "id": 1,
          "name": "this is fine",
          "fullname": "ok.js"
        }
      ],
      [
        "plan",
        {
          "start": 1,
          "end": 1
        }
      ],
      [
        "comment",
        "# time=1.552ms\n"
      ],
      [
        "complete",
        {
          "ok": true,
          "count": 1,
          "pass": 1,
          "fail": 0,
          "bailout": false,
          "todo": 0,
          "skip": 0,
          "plan": {
            "start": 1,
            "end": 1,
            "skipAll": false,
            "skipReason": "",
            "comment": ""
          },
          "failures": [],
          "time": 1.552
        }
      ]
    ]
  ],
  [
    "assert",
    {
      "ok": true,
      "id": 1,
      "time": 1.552,
      "buffered": true,
      "name": "ok.js",
      "fullname": ""
    }
  ],
  [
    "plan",
    {
      "start": 1,
      "end": 1
    }
  ],
  [
    "comment",
    "# time=97.432ms\n"
  ],
  [
    "complete",
    {
      "ok": true,
      "count": 1,
      "pass": 1,
      "fail": 0,
      "bailout": false,
      "todo": 0,
      "skip": 0,
      "plan": {
        "start": 1,
        "end": 1,
        "skipAll": false,
        "skipReason": "",
        "comment": ""
      },
      "failures": [],
      "time": 97.432
    }
  ]
]

Oh, cool! I wonder why it's called Rjson and not just "json". Thank you!

-Rjson is short for --reporter=json.    The default is tap --reporter=base.  You can also put "tap": {"reporter": "json"} in your package.json, or reporter: json in a .taprc file.


update fastify 4.x

FastifyError [Error]: fastify-plugin: fastify-guard - expected '3.x' fastify version, '4.2.0' is installed

Funfact: Support is added since 23 days but no npm packet published

Sorry for being late, I was busy. I am gonna ship it today.


Ability to set a goal for breaking/placing blocks

Adding some kind of block breaking/placing as a goal functionality would be really useful.
With this feature the bot would have a lot more usecases.

With the interact goal proposed in https://github.com/Karang/mineflayer-pathfinder/pull/23 we'll be one step closer to implement this new feature.

Added by https://github.com/PrismarineJS/mineflayer-pathfinder/commit/f9b50611b5d0e68b087d9b292d6f7462d72196bc and https://github.com/PrismarineJS/mineflayer-pathfinder/pull/198


Vertical datum transformation based on PROJ

Hi all,
I've been trying to apply vertical transformation of data using pyproj. For example, converting heights from the WGS84 ellipsoid to the EGM96 geoid.
Using the EGM .gtx files of PROJ here, I get a good result using the old pyproj.Proj method with init and geoidgrids keyword argument (example inspired by https://gis.stackexchange.com/questions/340392/vertical-datum-transformation-using-pyproj):
import pyproj
lat = 43.70012234
lng = -79.41629234
z = 100
#WGS84 datum ellipsoid height
ellipsoid=pyproj.Proj(init="EPSG:4326")
#EGM96 geoid in Chile, we expect about 30 m difference
geoid=pyproj.Proj(init="EPSG:4326", geoidgrids='/home/atom/downloads/egm96_15.gtx')
print(pyproj.transform(ellipsoid, geoid, lng, lat, z))

for which I get:

:8: DeprecationWarning: This function is deprecated. See: https://pyproj4.github.io/pyproj/stable/gotchas.html#upgrading-to-pyproj-2-from-pyproj-1
(-79.41629234, 43.70012234,<PHONE_NUMBER>8090645)

I looked for another way to do this with current Pyproj methods but couldn't find anything or any issue referenced on this.
I'm thus wondering:

Is there a non-deprecated method for performing the same vertical grid referencing + transformation?
Would it be a possibility to add an integrated download/checksum method in pyproj for automated vertical datum extraction, as exists in PROJ? Right now a lot of people do this manually in their own Python repos (e.g., https://github.com/adehecq/geoutils/tree/master/geoutils/EGM96) so there is quite a need in the community for this. I might not be aware of all existing solutions, but I think this belongs in Pyproj :)

Thanks a lot in advance!

Is there a non-deprecated method for performing the same vertical grid referencing + transformation?

https://gis.stackexchange.com/a/352300/144357
https://pyproj4.github.io/pyproj/stable/gotchas.html#upgrading-to-pyproj-2-from-pyproj-1

Would it be a possibility to add an integrated download/checksum method in pyproj for automated vertical datum extraction, as exists in PROJ?

For the download part: https://pyproj4.github.io/pyproj/stable/transformation_grids.html

automated vertical datum extraction, as exists in PROJ

If you are referring to the code with GDAL in it, then no. I am strongly opposed to adding GDAL as a dependency to pyproj due to the complexity it adds. However, I do like the concept of a centralizing the code somewhere for that. Maybe creating another package specifically for that purpose (pyproj-grids?). Potentially useful libraries to include in that package could include rioxarray and pyresample.
Another alternative would be to raise an issue upstream (https://github.com/osgeo/proj) to see if they would expose an API for reading grids through PROJ. If they do that, I would be more supportive of adding the logic directly to pyproj.

Hopefully your question has been answered (I am assuming that is the case).

Yes, thanks a lot! :)

@rhugonnet how did you implement the vertical transformation?
Doing something like this obviously deosen't make sense:
transformer=Transformer.from_crs("epsg:4326","epsg:26934",geoidgrids=r'C:\Users\Eyal\Downloads\geoid09_ak.gtx') transformer.transform(lat_d,lon_d,abs_alt)
Did you need to write your own vertical transformation: https://gis.stackexchange.com/questions/352277/including-geoidgrids-when-initializing-projection-via-epsg/352300#352300??

This should do it:
transformer=Transformer.from_crs(
    "epsg:4326",
    CRS(init="epsg:26934", geoidgrids=r'C:\Users\Eyal\Downloads\geoid09_ak.gtx')
)
 transformer.transform(lat_d,lon_d,abs_alt)

thanks @snowman2 ,
so just to be clear I did:
from pyproj.crs import CRS transformer=Transformer.from_crs("epsg:4326",CRS(init="epsg:26934",geoidgrids=r'C:\Users\Eyal\Downloads\geoid09_ak.gtx')) transformer.transform(lat_d,lon_d,abs_alt)
this worked well. But I get the note that init is deprecated. So I tried without init
transformer=Transformer.from_crs("epsg:4326",CRS("epsg:26934",geoidgrids=r'C:\Users\Eyal\Downloads\geoid09_ak.gtx')) transformer.transform(lat_d,lon_d,abs_alt)
And got the following response:
`CRSError                                  Traceback (most recent call last)
 in
----> 1 transformer=Transformer.from_crs("epsg:4326",CRS("epsg:26934",geoidgrids=r'C:\Users\Eyal\Downloads\geoid09_ak.gtx'))
2 transformer.transform(lat_d,lon_d,abs_alt)
c:\users\eyal\appdata\local\programs\python\python37\lib\site-packages\pyproj\crs\crs.py in init(self, projparams, **kwargs)
294             projstring = _prepare_from_string(" ".join((projstring, projkwargs)))
295
--> 296         super().init(projstring)
297
298     @staticmethod
pyproj_crs.pyx in pyproj._crs._CRS.init()
CRSError: Invalid projection: epsg:26934 +geoidgrids=C:\Users\Eyal\Downloads\geoid09_ak.gtx +type=crs: (Internal Proj Error: proj_create: unrecognized format / unknown name)`
Is there yet a way to not use the deprecated way?
thanks again

Is there yet a way to not use the deprecated way?

https://gis.stackexchange.com/a/352300/144357

That's a lot of snowmans in the same conversation! :snowman:
@snowman907 I kept the init= syntax for now in my code. If the method becomes deprecated in the future, it would certainly be good to have a one-liner to input a geoidgrid file implemented in pyproj.
It wasn't immediately clear to me (from pyproj documentation) that all available grids available there (https://github.com/OSGeo/PROJ-data) could be used directly if you have the package proj-data installed. For your grid:
crs_init = pyproj.CRS(4326)
# to remove warning
with warnings.catch_warnings():
    warnings.filterwarnings("ignore", module="pyproj")
        # your grid file is available here: https://github.com/OSGeo/PROJ-data/tree/master/us_noaa, filename works
        # only if your pyproj.datadir is defined properly (good chance it's OK by default) and if you have proj-data
        crs_dest = pyproj.Proj(init="EPSG:26934", geoidgrids='us_noaa_geoid09_ak.tif').crs
transform = Transformer.from_crs(crs_init,crs_dest)

Along with a team of colleagues, we're in the process of writing a DEM package to put together (robustly and consistently, if possible) all the DEM tools we've been developing for the past ~10 years. It's early stages still, but here's the code for vertical grid shifting within a DEM class: https://github.com/GlacioHack/xdem/blob/main/xdem/dem.py#L116
@snowman2 We've also been writing so many things that now resemble rasterio (GDAL wrapper) and rioxarray (link GDAL -netCDF/xarray), it's time to stop reinventing the wheel and contribute to the ongoing efforts (even if it takes more time up front)!

Thanks, @rhugonnet for your insight and @snowman2  for your hard work developing pyproj and responding patiently to a large number of issues with the same question.


optimization optimization for ColumnConst when writing mysql result

Proposed changes
Problem summary
optimize to avoid expanding of ColumnConst when writing mysql results.
Checklist(Required)

[ ] Does it affect the original behavior
[ ] Has unit tests been added
[ ] Has document been added or modified
[ ] Does it need to update dependencies
[x] Is this PR support rollback (If NO, please explain WHY)

run buildall

run buildall

run p0

run p0

run buildall

run p0

run p0

run buildall

run buildall

run buildall

run buildall

run build all

run buildall

@HappenLee  please merge it


Service Unavailable Issue

My bot was working well , but when i updated it and Uploaded it on azure , this error Service Unavailable appeared after clicking a Test on Test connection to your bot , My Azure account gave me free 30-days.
Below is is the LogCat:
ServiceUnavailable
<?xml version="1.0" encoding="utf-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">      <title>Site Under Construction</title>

When i Re-Publish my Bot it also says:

Severity	Code	Description	Project	File	Line	Suppression State
Error		Web deployment task failed. (Web Deploy experienced a connection problem with the server and had to terminate the connection.  Contact your server administrator if the problem persists.  Learn more at: http://go.microsoft.com/fwlink/?LinkId=221672#ERROR_CONNECTION_TERMINATED.)	HuzFauKamz		0

What does this mean and what am i supposed to do ?

Is this an Azure Bot Service bot ?
Note: Please only submit Bot Builder SDK bugs here. If you have general questions or implementation issues, please submit a question on Stack Overflow at http://stackoverflow.com/questions/tagged/botframework.


@conda-forge-admin add python 2.7

Hi! This is the friendly automated conda-forge-webservice.
I just wanted to let you know that I added python 2.7 in conda-forge/triqs-feedstock#11.


Use Netlify redirects instead of Gatsby's

https://thecodingtrain.com/discord still redirects to https://discord.com/invite/codingtrain even though it's been updated 2 days ago:
https://github.com/CodingTrain/thecodingtrain.com/blob/055797c74191d7a7c7f2cb3267bd9627b52948d4/redirects.json#L2
Maybe the cache could be purged by manually redeploying from the Netlify dashboard, but here I want to propose using Netlify's _redirects configuration file instead. It has a number of advantages and hopefully won't have the same cache issues if a URL needs to be updated in the future.
Gatsby's createRedirect generates a static HTML file that contains an HTML meta refresh tag, so there are no proper 3xx redirects happening. It's a bit slower and probably affects SEO negatively.
This _redirects file is at once more powerful and simpler to use (imo).
https://docs.netlify.com/routing/redirects/
https://docs.netlify.com/routing/redirects/redirect-options/
I also took the liberty of reorganizing by legacy/SEO links and vanity/shortcuts, the latter as 302 (temporary). This should prevent browsers from caching the redirect behavior, so these could potentially be updated during a live stream and "just work" 🤞

Works now: https://deploy-preview-786--codingtrain.netlify.app/discord
I had to add ! at the end of each line in _redirects to give them priority over existing files/routes (the Gatsby generated HTML redirect pages are still in cache). Usually these would not be required.
https://docs.netlify.com/routing/redirects/rewrites-proxies/#shadowing

Thank you for this, it's great! I think the reason it might not have been working before is related to caching? I often notice the site not updating after merging a pull request. Only a force "clear cache and deploy site" seems to work.

I often notice the site not updating after merging a pull request. Only a force "clear cache and deploy site" seems to work.

I think it might be the Gatsby cache that's responsible for this. I caught and fixed one of those cache issues while working on #781, and it was fully reproducible locally.

Oh interesting, thank you!


galley ingest mcp

Galley to accept MCP Server as a source for config (Galley as an mcp client)
Added command line flags for Galley as an MCP Client
secure mode - very similar to pilot as an mcp client

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: deva26
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: cmluciano
If they are not already assigned, you can assign the PR to them by writing /assign @cmluciano in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

galley/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Hi @deva26. Thanks for your PR.
I'm waiting for a istio member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
Once the patch is verified, the new status will be reflected by the ok-to-test label.
I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Corporate signers

Your company has a Point of Contact who decides which employees are authorized to participate. Ask your POC to be added to the group of authorized contributors. If you don't know who your Point of Contact is, direct the Google project maintainer to go/cla#troubleshoot (Public version).
The email used to register you as an authorized contributor must be the email used for the Git commit. Check your existing CLA data and verify that your email is set on your git commits.
The email used to register you as an authorized contributor must also be attached to your GitHub account.

Authorized email is attached to GitHub account.

I signed it!

Hey @deva26. Thanks for starting this work. I'll leave some review comments soon. In the meantime, I wanted to let you know that I am planning to create a working branch for Galley to make sure we land Galley features and stabilize them before merging to release or master branches. I may ask you to repoint your changes to the new branch once it is ready.

@ozevren - Thanks for the comments. Shall get back as soon as I can.

@deva26: PR needs rebase.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.


Solve bug For missing Hamburger menu in medium devices

Looking Good, Thanks for the submission, if you find any bug please create a issue.


Add free video course and link to 50+ tips and tutorials

[Insert the URL to be listed]
https://www.youtube.com/watch?v=XeSD17YRijk&list=PL-v3vdeWVEsXT-u0JDQZnM90feU3NE3v8
[Explain what the project is about and why it should be listed]
Dive Into Docker is a premium video course where you'll learn the Docker and Docker Compose fundamentals so that you can start Dockerizing your own applications. This link is free access to the first hour of the course where you'll learn what makes Docker so useful, how it differs from Virtual Machines and how to get Docker installed onto your system.
By submitting this pull request I confirm I've read and complied with the below requirements.
Please read it multiple times. I spent a lot of time on these guidelines and most people miss a lot.

I have read and understood the contribution guidelines

The project submitted conforms to the quality standards outlined in the contribution guidelines

Go to the contribution guidelines and read it again.

RULES (because you probably didn't read the guidelines):
Links will be tested with awesome_bot. Please make sure your URL to be listed is unique (do some search queries), otherwise put a link at the end of README.md file.

FORMAT

Use the following format: [Name](Link) - Description.
[Name] should be the title of the project
(Link) should be pointing to a GitHub repository, not to a website
Description. should end with a full stop/period
For GitHub repositories, add the name of the author with a link to its GitHub account after the description, like By [@author](GitHub account)

ORDER: The entries are in lexical order (English letter order)
LABEL (Optional): Add one of the following icons next to the project name like [Name](Link) :icon: - Description.

:heavy_dollar_sign: indicates if one needs a paying subscription to use the project.
:construction: indicates that the project is a work in progress/beta release.
:skull: indicates that the project is obsolete, but still worth mentioning it.

@nickjj sorry to bother you one more time but the link to your twitter account is duplicated. Could you use a reference to the link (like in the bottom of the readme). Thanks

@nickjj Congrats on the course

Thanks, and also thanks for adding it to the list.


Lambda long polling with SQS sending infinite request

Describe the bug
Create an application using .net core 6 lambda template.
Use AWS sdk for create IAmazonSQS client. Write the code to fetch message from sqs using long polling mechanism.
Create a test application for invoking the lambda handler. Add the debugger in first line of the test app.
Observed an awkward behavior. Even before calling the constructor, the infinite number of request are sent by application for fetching the SQS messages using long polling. I have not even call the method to receive the message but when I am checking using fiddler tool, the application started to send the messages without stopping.
So I am not able to fetch the message from SQS as before calling the method, there are already many calls that have been sent by the application.
Expected Behavior
Lambda should only send the messages when we  call the method. Kindly create sample application using
Lambda template for .net core and IAmazonSQS library of AWS sdk.
you will find this behavior only on Lambda with .net core 6 runtime.  This is not reproducible on .net framework, .net core console application.
Kindly help to find the solution for this asap.
Current Behavior
Unable to process the messages.
Reproduction Steps
Create sample application using above steps. Also call this method _amazonSQS.ReceiveMessageAsync(_receiveMessageRequest, CancellationToken.None)
I am using long polling to fetch messages from sqs.
Possible Solution
No response
Additional Information/Context
No response
AWS .NET SDK and/or Package version used

Targeted .NET Platform
.net core 6,.net core 3.1
Operating System and version
Windows for testing

@SubhashJuyal Thanks for reporting the issue. Could you please share sample code solution (may be attach it as a ZIP file) so that we have the consistent reproduction for the issue?
Thanks,
ashish

Thanks for replying.
You can just create application using AWS SDK lambda template application using .net core 6 in visual studio.
In the lambda handler, use long polling to fetch messages from sqs using ISQSservice. Use latest nuget package.
Put the break point on the first line of the test project and start observing sqs API calls using fiddler. You will observe request will start to sent even before send request mathod is called.
If you face any issues on this, then I will share the code.

Thanks for replying. You can just create application using AWS SDK lambda template application using .net core 6 in visual studio. In the lambda handler, use long polling to fetch messages from sqs using ISQSservice. Use latest nuget package. Put the break point on the first line of the test project and start observing sqs API calls using fiddler. You will observe request will start to sent even before send request mathod is called.
If you face any issues on this, then I will share the code.

@SubhashJuyal Could you please let me know the following:

Details about test project.
Are you developing Lambda Handler as a simple lambda function and using AWSSDK.Extensions.NETCore.Setup package to setup DI using IAmazonSQS interface?

If not using test project, are you using the Lambda Test Tool to test locally where you are setting up breakpoint in Lambda handler.
I'm asking this since you appear to use Fiddler to monitor network calls, hence it is assumed that you are testing lambda handler locally.

I tested using the below function handler and noticed that there was only one call to sqs.us-east-2.amazonaws.com in Fiddler.
using Amazon;
using Amazon.Lambda.Core;
using Amazon.SQS;
using Microsoft.Extensions.DependencyInjection;
using Amazon.Extensions.NETCore.Setup;
using Amazon.SQS.Model;

// Assembly attribute to enable the Lambda function's JSON input to be converted into a .NET class.
[assembly: LambdaSerializer(typeof(Amazon.Lambda.Serialization.SystemTextJson.DefaultLambdaJsonSerializer))]

namespace TestLambdaSQSLongPolling;

public class Function
{
    private ServiceProvider? _serviceProvider;
    private readonly IAmazonSQS? _amazonSQS;
    private readonly string queueUrl = "<<queue-url>>";

    public Function()
    {
        ConfigureServices();
        _amazonSQS = _serviceProvider?.GetService<IAmazonSQS>();
    }

    public async Task FunctionHandler(string input, ILambdaContext context)
    {
        context.Logger.LogLine($"Starting long polling...");

        var response = await _amazonSQS.ReceiveMessageAsync(new ReceiveMessageRequest() { QueueUrl = queueUrl }, CancellationToken.None);

        context.Logger.LogLine($"Recevied {response.Messages.Count} messages.");
    }

    private void ConfigureServices()
    {
        var serviceCollection = new ServiceCollection();

        serviceCollection.AddDefaultAWSOptions(new AWSOptions
        {
            Region = RegionEndpoint.USEast2
        });
        serviceCollection.AddAWSService<IAmazonSQS>();

        _serviceProvider = serviceCollection.BuildServiceProvider();
    }

}

Here is the .csproj file:
<Project Sdk="Microsoft.NET.Sdk">
  <PropertyGroup>
    <TargetFramework>net6.0</TargetFramework>
    <ImplicitUsings>enable</ImplicitUsings>
    <Nullable>enable</Nullable>
    <GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles>
    <AWSProjectType>Lambda</AWSProjectType>
    <!-- This property makes the build directory similar to a publish directory and helps the AWS .NET Lambda Mock Test Tool find project dependencies. -->
    <CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
    <!-- Generate ready to run images during publishing to improve cold start time. -->
    <PublishReadyToRun>true</PublishReadyToRun>
  </PropertyGroup>
  <ItemGroup>
    <PackageReference Include="Amazon.Lambda.Core" Version="2.1.0" />
    <PackageReference Include="Amazon.Lambda.Serialization.SystemTextJson" Version="2.3.1" />
    <PackageReference Include="AWSSDK.Extensions.NETCore.Setup" Version="3.7.7" />
    <PackageReference Include="AWSSDK.SQS" Version="<IP_ADDRESS>" />
    <PackageReference Include="Microsoft.Extensions.DependencyInjection" Version="7.0.0" />
  </ItemGroup>
</Project>

Have you somehow monitored Dead Letter Queue (DLQ) as well for Lambda function? In case your setup is different from mine, please share the requested information in previous comments, including SQS configuration, etc. to troubleshoot further.
Thanks,
Ashish


Feature Flaw: mat

The mat command format could take in an integer before the attend/prefix
Include or exclude the number does not make a difference
Should we remove the number? Could be confusing between mas and mat
other than this, everything else looks amazing 👍

This issue has been resolved


Use new plotting API in Fastf1 3.4.0

See all changes at theOehrly/Fast-F1#585

[x] Build on #92dc891
 and restrict Fastf1 to 3.4.0 and above
[ ] Rewrite visualization to use new get_driver_color or get_driver_style API. Might also include changes to plotly plots

Per FastF1 v3.4.0 release notes:

The argument misc_mpl_mods of function setup_mpl() is deprecated and will be removed in the future without replacement for its functionality.

The current setting is misc_mpl_mods=False. Need to investigate the effects of removing the argument entirely.


Requests going through zuul generate traces with 2 CLIENT spans

Hello,
We are working on integrating our services with AWS X-Ray (using the zipkin-aws proxy) and while doing that we have noticed that our security gateway (that uses zuul to proxy requests to the services) produces traces that have 2 client spans as in the following example (where the spans are: SERVER -> CLIENT -> hystrix -> CLIENT):
[{
  "traceId": "5b07c4dd8167bc728c9369499184df04",
  "parentId": "2561d4b051f72922",
  "id": "0d32b6ca15c75375",
  "kind": "CLIENT",
  "name": "get",
  "timestamp":<PHONE_NUMBER>895055,
  "duration": 6568,
  "localEndpoint": {
    "serviceName": "security-gateway-aws",
    "ipv4": "<IP_ADDRESS>"
  },
  "tags": {
    "http.method": "GET",
    "http.path": "/test-app/v1/public"
  }
}, {
  "traceId": "5b07c4dd8167bc728c9369499184df04",
  "parentId": "8c9369499184df04",
  "id": "7b25c19865b5ee2c",
  "kind": "CLIENT",
  "name": "get",
  "timestamp":<PHONE_NUMBER>888945,
  "duration": 19229,
  "localEndpoint": {
    "serviceName": "security-gateway-aws",
    "ipv4": "<IP_ADDRESS>"
  },
  "tags": {
    "http.method": "GET",
    "http.path": "/test-app/v1/public"
  }
}, {
  "traceId": "5b07c4dd8167bc728c9369499184df04",
  "parentId": "7b25c19865b5ee2c",
  "id": "2561d4b051f72922",
  "name": "hystrix",
  "timestamp":<PHONE_NUMBER>890880,
  "duration": 21261,
  "localEndpoint": {
    "serviceName": "security-gateway-aws",
    "ipv4": "<IP_ADDRESS>"
  }
}, {
  "traceId": "5b07c4dd8167bc728c9369499184df04",
  "id": "8c9369499184df04",
  "kind": "SERVER",
  "name": "get",
  "timestamp":<PHONE_NUMBER>883133,
  "duration": 29543,
  "localEndpoint": {
    "serviceName": "security-gateway-aws",
    "ipv4": "<IP_ADDRESS>"
  },
  "remoteEndpoint": {
    "ipv4": "<IP_ADDRESS>",
    "port": 42386
  },
  "tags": {
    "http.method": "GET",
    "http.path": "/test-app/v1/public"
  }
}]

I believe there's something wrong in the zuul specific instrumentation inside sleuth, as I would expect only one CLIENT span to be present in the trace. Is this the case?

zuul(client) -> hystrix -> (client)
should be
zuul -> hystrix -> (client)
as the client span should be the one actually making the call. IDs
shouldn't be placed on headers until that occurs if we can avoid it, as
well.

I can add that those traces were generated with the service using spring-cloud-dependencies Finchley.RC1 but the behavior didn't change with RC2.

I can see that issue and I think I know what caused it. I will fix it asap.

Ok it's fixed, can you wait for snapshots to be built and could you please @robyf try again?


Full schema definition

I've looked around in a few places, but I've not been able to find a full schema definition for the configuration file. The examples directory has a "full" example, however, it's actually missing several fields that I've found scrounging through the various bits of documentation. Is there a place I can find the full schema? I need it to do validation in our environments.

Hey! With the new version 1.0.0 you can check the sources for actual schema. I will work on the docs to make it more convenient.
Here are the global fields: config.go
Here is the hook fields: hook.go
Script and Command fields can be found here: script.go, command.go

I am closing this issue, as I guess full schema definition can be found in sources.


Imgpkg will use http for in cluster service dns names

What steps did you take:

Start a minikube or kind cluster locally

Deploy a registry with self signed certs to the cluster (registry.yml in https://gist.github.com/ewrenn8/ab66e8df50b7a79905b3ba7fefcd0aa0)
Note: the certs in the gist aren't used anywhere, so they're ok to include in the issue

deploy a debug image with a terminal and imgpkg (debug.yml in https://gist.github.com/ewrenn8/ab66e8df50b7a79905b3ba7fefcd0aa0)

exec on to debug pod: k exec <pod-name> -it -- /bin/bash

run imgpkg pull regsitry-svc.registry.svc.cluster.local:443/my-repo/image -o /tmp/b (this image doesn't exist, but it's enough to see the issue)

What happened:
Imgpkg fails with two error messages:
Error: Collecting images: Working with registry-svc.registry.svc.cluster.local/my-repo/image:latest: Get "https://registry-svc.registry.svc.cluster.local/v2/": x509: certificate relies on legacy Common Name field, use SANs or temporarily enable Common Name matching with GODEBUG=x509ignoreCN=0; Get "http://registry-svc.registry.svc.cluster.local/v2/": dial tcp <IP_ADDRESS>:80: i/o timeout

Which shows that it tried to communicate with the registry over both https (which failed because of invalid certs) and http.
What did you expect:
Imgpkg to not try to use http since I didn't use the --registry-insecure flag.
Anything else you would like to add:
This is seems to be because of the ggcr local host regex which is used to determine if http should be used as a fallback
Environment:

imgpkg version (use imgpkg --version): 0.5.0
Docker registry used (e.g. Docker HUB): Registry Image
OS (e.g. from /etc/os-release): Photon 3.0

:+1: Validated and got the same results, attempts on both https and http.
Error: Collecting images: Working with regsitry-svc.registry.svc.cluster.local:443/my-repo/image:latest: Get "https://regsitry-svc.registry.svc.cluster.local:443/v2/": dial tcp: lookup regsitry-svc.registry.svc.cluster.local on <IP_ADDRESS>:53: no such host; Get "http://regsitry-svc.registry.svc.cluster.local:443/v2/": dial tcp: lookup regsitry-svc.registry.svc.cluster.local on <IP_ADDRESS>:53: no such host

I tried playing with the go playground to see if I could get the registry name to match the regex but didn't have any luck. Worth further investigation.


Android: Native view styling causes WebView to lose its height

Context

Reproducible on react-native@{0.24.1,0.29.0,0.30.0,0.31.0-rc.1}
Android 4.4, 5.0, 5.1 and 6.0 (shouldn't matter)

Reproduction
A minimal example can be found here. Note the difference between the Android and the iOS version. What's interesting is that if you remove the backgroundColor style from the Decorated component, both versions work identically. Other kinds of native styling (shadow{Radius,Color,Offset,Opacity} etc) can also trigger this issue.
Analysis
Enabling WebView debugging and I found that in the Android version's WebView, the  element's height was 0 when backgroundColor style was present.

Might have been fixed in 1bb1385c7d199a473f76cdec357de2ab4d1d61b6, let me try it...


Improving other_host retry plugin interaction with RR lb policy

The other_hosts retry plugin attempts to select another host N times (configurable) until it finds a host that hasn't been attempted before. There is a degenerate case here when using the RR LB:
Consider a scenario where all the endpoints in a cluster have been attempted (ie this is not the first set of retries) and still have several retry attempts remaining. Let the number of endpoints be 2, named H1 and H2, with host_selection_retry_max_attempts set to 1:
Attempt 1:
<H2 was previously selected by RR LB>
Select H1, reject since it's been attempts
Select H2, select since we have no more host selection retries
Attempt 2:
<H2 was previously selected by RR LB>
Select H1, reject since it's been attempts
Select H2, select since we have no more host host selection retries

Essentially, H2 will be continued to be selected because the host selection retries iterate over all the endpoints in the cluster. The issue is present when using RR and when (host_selection_retry_max_attempts + 1) % number of endpoints = 0 and when no other requests are being sent to the cluster on the same worker (doing so would affect the hosts selected from the LB, breaking the pattern).
To fix this, adding an option to reset the list of attempted hosts when the LB was unable to find a suitable host would allow using RR without fear of it getting "stuck" like this targeting a single host.

Filed this because I've know about it for a while but haven't gotten around to fixing it. I'll get to it eventually, but if someone else is interested the fix should be pretty simple.


Fixed typo in replicaCount parameter

Fixed relative link issue in README

Hi @jerseybbq, thanks for the fix. Can you please bump the chart version too. Thanks

Done - sorry for the sloppy commit. Hopefully you will squash merge into cleanliness?


Payload too large

I try create excel file for my data. But its get this error. Data length is 4300. its sats "Payload too large"

That is an issue with Fastify, see https://www.fastify.io/docs/latest/Reference/Server/#bodylimit for more details

A note, with the proper resolution, has been added to the docs https://docs.sheetjs.com/docs/demos/server/#fastify


CI pipeline - GitHub actions

Need to add GitHub actions support

Done with readme notification for the CI

Done with readme notification for the CI

Done with all the relevant steps: build flake8, pytest, upload pypi, upload quay.io, bump version ...

Done with all the relevant steps: build flake8, pytest, upload pypi, upload quay.io, bump version ...


What is variable "our_set"  in the file "extract_feats_and_trainset.py"

Firstly, thanks for your share! There is a question about the code "store_samples(fn,cascade_nodes,cascade_times,initiators,op_time,our_set)" in the file "extract_feats_and_trainset.py". What is "our_set"? No value assigned to the variable  "our_set".

Thank you for catching this, it is the file we write the train set at. I fixed it.

i see. thanks for your answer.

i see. thanks for your answer.


when a job has operational difficulties, the dashboard still says it's running

In a RT instance using the k8s infrastructure target, we've experienced that one of the jobs died. Meaning, in prometheus, up() returned 0. This happens sometimes, this isn't a problem.
But when this happens sometimes, it feels somehow misleading for the job in RT dashboard to say it's running in a green label.
When RT dashboard says "running" doesn't it actually mean "I deployed it to the selected infrastructure target successfully and to my knowledge it's still deployed there"? That's not 100% the same as "Running".

Lifecycle checks the status of the job every minute. It probes /live and /ready endpoints to figure out if the job is really running.
So when prometheus can't reach it, it should also be reported by Lifecycle and the status should be changed to "Error". Nevertheless, there might be some delay in doing so as the status is updated periodically.
Maybe it was a short downtime (eg. switching pods by a replica set) or it was the problem with Prometheus itself.

Ah interesting. Yeah that sounds like it was too brief. I don't know how to provoke it, but I know they occur very briefly almost every day, so I know to look out for it. When it occurs I'll try to hop in to the dashboard quickly and verify that it no longer says "running". In which case this issue is invalid.

If that happens, we can also peek into the lifecycle-supervisor's logs . There should be the trace if it finds some job in ERROR state.

I'll just say, I had an opportunity earlier (documented on Teams) where we got an alert that a job was down. It showed as running the whole time in the RT dashboard and all of that job's pods showed as fine also in the k8s dashboard.

Closing as there's no sign of it after merging https://github.com/TheRacetrack/racetrack/pull/377 fix into master.


Websocket connection failed, Error: Server responded with a non-101 status: 200 OK...

Hello.
From yesterday, I'm getting the following error: "Websocket connection failed, Error: Server responded with a non-101 status: 200 OK Response Headers Follow:content-length: 0 handshake-msg: illegal secret keyhandshake-status: 417tt_stable..."
v1.1.5
Any idea?
Best regards.

Hello.
From yesterday, I'm getting the following error: "Websocket connection failed, Error: Server responded with a non-101 status: 200 OK Response Headers Follow:content-length: 0 handshake-msg: illegal secret keyhandshake-status: 417tt_stable..."
v1.1.5
Any idea?
Best regards.

They just updated it with a possible fix. Give the 1.1.6 a try.

Hi, please update to 1.1.6. Let me know the results.

Thank you so much!  I've just updated to 1.1.6 and it works much better but it's still happening from time to time... :(


attach tooltips to window element so they display in fullscreen mode.…

…  added a few more tooltips
closes #1094

Coverage increased (+0.009%) to 55.105% when pulling 0f0496b0357531bb60849639c4dd033a7686e90b on 1094-tooltips into 4046b28d7d3bf66f439ddad5e61b9871ddaaf600 on release2.1.


Updated webpage adding a new meta tag. Crawler is not updating index.

Hi @essiembre ,
I have successfully crawled some webpages in my website and added them to a collection in Solr. I have also setup a daily scheduled job to run the crawler. The problem is that when I update my webpages and republish them, the new contents of the pages are not reflected in the search result after recrawling.
For example, I added a new metadata field to my pages. I can see those metadata fields in the page source. I then recrawled all the webpages. But, the metadata field is missing in the search result.
Is there something I have to do for the crawler to recognize that I have made changes to the page?  If I clear the existing index and the working directory for the crawler, then recrawl, the metadata appears in the search results. I would like to avoid having to clear up my index every time I make changes to my pages.

On subsequent runs, only if a file has been modified that it will be sent to your collection.
By default, both the "Last-Modified" date in the HTTP header and the document content are checked for changes with LastModifiedMetadataChecksummer (metadata checksummer) and MD5DocumentChecksummer (document checksummer) respectively.
There are different ways to resolve your issue.
Is the last updated date returned by your web server updated when you make your changes?  Making sure it is should be one solution.
Otherwise, you can configure MD5DocumentChecksummer to use specific fields instead, or you can replace the LastModifiedMetadataChecksummer with  GenericMetadataChecksummer for controlling exactly what fields to use to create a unique checksum.
Finally, you can also disable the checksummers altogether so changes are no longer detected (and document will be sent each time even if no changes were made).  You can do so like this:
<metadataChecksummer disabled="true" />
<documentChecksummer disabled="true" />

Please confirm if one of these options does it for you.

Thank you for the prompt response. I will test out your suggestions and get back to you.

Since my pages are dynamically generated, I don't believe the fist option of getting the last modified date is going to work, unless I am misunderstanding your suggestion. I get current date time for document.lastModified in the browser console. This means that the checksummer should always receive the page as modified. This is not the case.
As for the second option, I will need to remember to update the value of the new field every time I make changes to my solution that may affect the page? Is there a way to achieving this without having to manually set the date? This may work, but I am not sure how to implement this.
So, for now, the third option seems straightforward for my case. I will disable both checksummers whenever I have a new build. I will then turn it back on.

To have it detect if ANY metadata field changed, you can first combine all fields first into a new one using
MergeTagger as a post parse handler (*.* regex), then reference that "source" field in the MD5DocumentChecksummer.   But if you use those fields, you will no longer use the content for the checksum.
We can make it a feature request to be able to use a regular expression to identify fields in MD5DocumentChecksummer and/or have the ability to use the content in addition, to any other fields to create a checksum.

..have the ability to use the content in addition, to any other fields to create a checksum.

Sounds like a plan! This would be a white list approach. A black list approach, where we specify fields or tags that we want to exclude from the hash would also work. Does MD5DocumentChecksummer  hash the <body> tag right now, or is "content" a broader term?

Marked as a feature request.  The "content" is the plain text extracted from documents.  For HTML files, it is indeed the body content, without any markup.

The latest snapshot now has this feature.  You can now specify fields using a regular expression on MD5DocumentChecksummer with the new option <sourceFieldsRegex>.   You can also set this new attribute to combine fields and content: combineFieldsAndContent="true".  See the javadoc for more details.
Please test and confirm.

These checksummer enhancements are now part of the official 2.8.0 release.


[FeatureSuggestion] configure directly in the token sheet

it would be interesting that in the hud token there is only the option to display, and in the token sheet inside the appearance tab, the settings are made, so it is possible to define, without first putting it in the world, or even having a template for several npcs, for groups, and then edited individually on the tokens.

The reason I haven't added any settings into the sheets is because I want the module to be system agnostic. Actor sheets will be different in every system.
I do agree that it would be preferable to not have to place down a token to edit the settings of the actor though.
I think a good way might be to add an option for settings in the menu you get when right-clicking an actor.

it can still be agnostic using the prototype token sheet, because every system has it.
you can even add a tab on the token prototype sheet like this:

Identity tab.. apparanece tab... introduce-me tab.
so the option would be in a more coherent place with the UX and keep it agnostic.

I just released version <IP_ADDRESS>, moving the config away from the token HUD. 😄
I settled on placing it as a header button in the Token Configuration rather than as a tab as it feels a better fit for something that doesn't directly alter the token's data.
https://github.com/WBHarry/introduce-me/releases/tag/<IP_ADDRESS>


Storage doesn't persist across devices

I can see that the MongoDB database gets populated with new conversations and prompts but this doesn't get reflected in a different browser or another device within the same network.
Anybody facing the same issue?

Persistent storage works if nextauth is enabled.


doesn't Work from docker

Expected behavior
Actual behavior
Information about the Issue
Steps to reproduce the behavior

...
...

No information provided or steps to replicate - Closing


Implement abilities for sorcerer class

The skeleton for the sorcerer class is ready.  All the lacks is the implementation of the actual skills.

Shocking grasp will do flat damage to an enemy within melee distance and then stun them for a turn.
Cone of cold will hit a cone of enemies, causing them to move slower or even be frozen still, and will do flat damage.


Space Pin ASA restored to incorrect position on Hololens2(UWP) build

Hello,
In late Aug. 2021,  Space Pin ASA restored to correct position.
The states at the time are following:

Unity 2020.3.13f1
MRTK 2.7.2
Azure Spatial Anchors SDK Core 2.10.2
Azure Spatial Anchors SDK for Windows 2.10.2
OpenXR Plugin 1.2.3
Mixed Reality OpenXR Plugin 1.0.2
WorldLockingTools 1.4.2
Frozen World Engine 1.1.1
I'm not sure about HoloLens OS version and Visual Studio version at that time.

Then I edited PinTest Scene in WorldLocking.ASA.Examples

MRTK Profile to "WLT HL2 MRTKProfile"
Anchor Subsystem to "XRSDK" at "WorldLockingManager"
"Coarse Relocation" to disabled at "Publisher ASA"

Then I built as Release / ARM64 and ran on Hololens2.

I located Space Pins and pressed "Publish".
I restarted the application and pressed "Load File".
Then Scape Pins are restored at the expected place.

But, Recently (late Nov. 2021) I rebuilt this project and ran on same Hololens2, then Space Pins are restored at the unexpected place.
Note that I changed the project about followings.

I recreated new Spatial Anchors resource and got new access key via Azure portal, and then applied the access key to the project.
Versions of HoloLens OS and Visual Studio might be changed; currently, HoloLens: Windows 10 version20348.1438, Visual Studio: 2019 Version 16.9.1.

After that, I updated WorldLockingTools to v1.5.4, but it was no good.
Then I updated OpenXR Plugin to 1.2.0, OpenXR Plugin to 1.3.0, also no good.

And then, I updated WorldLocking.ASA to use ASA SDK v2.11.0, it worked exactly as I expected.
Then I tried ASA samples (only ASA, not included WLT).
Even In ASA samples, It's good on ASA SDK 1.11.2, but it's not good on ASA SDK 1.10.2, in my environment.
So I hope that WorldLocking.ASA supports ASA SDK v1.11.2.

Thank you for the detailed description. This is very helpful!

I don't doubt the accuracy of this report (many thanks again for the details!!!), but I have not been able to reproduce the issue locally. Perhaps it is a HoloLens2 OS version issue? Or perhaps a MROpenXR Plugin issue that has been fixed (I tested with v1.2.0)?
Regardless, support for ASA v2.11.0 is in and has passed all tests (using MROpenXR Plugin 1.2.0).
PR #241
Closing this issue for now. Thanks!


Prevent Elixir from compiling when starting Heroku dyno

Environment

Elixir version (elixir -v): 1.10.x, 1.11.x
Erlang/OTP version (erl): 23.1.3
Sentry version (mix deps): 8.0.4
Operating system: heroku-2018 stack
Is this an umbrella application?: no
Release type (Distillery, mix release, Mix, etc.): mix

Description
When starting a Heroku dyno with this elixir_buildpack.config:
# Erlang version
erlang_version=23.1.3

# Elixir version
elixir_version=1.11.2

# Always rebuild from scratch on every deploy?
always_rebuild=false

# A command to run right before fetching dependencies
hook_pre_fetch_dependencies="pwd"

# A command to run right before compiling the app (after elixir, .etc)
hook_pre_compile="pwd"

# A command to run right after compiling the app
hook_post_compile="mix sentry_recompile"

# Set the path the app is run from
runtime_path=/app

and with this mix alias:
sentry_recompile: ["compile", "deps.compile sentry --force"]

Sentry stack trace linking works the Heroku dyno works also. But when a dyno is started, the application compilation is started and there is a rather large delay in starting the dyno and sometimes the application boot on Heroku is timed out and the dyno fails to start.
Expected Behavior
No compliation when starting the dyno and Sentry stack trace linking still active.
Actual Behavior
Compilation when starting dyno resulting in boot time-outs.
Steps to Reproduce
Use the config in the description.

Thanks for opening an issue! Are there any logs during the start when it fails to boot?

Thanks for opening an issue! Are there any logs during the start when it fails to boot?

Hi @mitchellhenke
Thank you for your response! The dyno fails to start because compilation is done after before starting instead of during the build phase on Heroku. This can be slow and the dyno is too late binding to the webserver port.
You can try this yourself on your local machine.
current behaviour:
➜  project git:(develop) ✗ mix sentry_recompile
➜  project git:(develop) ✗ iex -S mix
Compiling 113 files (.ex)
Generated example app
Interactive Elixir (1.11.2) - press Ctrl+C to exit (type h() ENTER for help)
iex(1)>

desired behaviour:
➜  project git:(develop) ✗ mix sentry_recompile
➜  project git:(develop) ✗ iex -S mix
Interactive Elixir (1.11.2) - press Ctrl+C to exit (type h() ENTER for help)
iex(1)>

I want to find a solution that the build is cached after the sentry recompile phase.

Hi @mitchellhenke
Thank you for your response! The dyno fails to start because compilation is done after before starting instead of during the build phase on Heroku. This can be slow and the dyno is too late binding to the webserver port.
You can try this yourself on your local machine.
current behaviour:
➜  project git:(develop) ✗ mix sentry_recompile
➜  project git:(develop) ✗ iex -S mix
Compiling 113 files (.ex)
Generated example app
Interactive Elixir (1.11.2) - press Ctrl+C to exit (type h() ENTER for help)
iex(1)>

desired behaviour:
➜  project git:(develop) ✗ mix sentry_recompile
➜  project git:(develop) ✗ iex -S mix
Interactive Elixir (1.11.2) - press Ctrl+C to exit (type h() ENTER for help)
iex(1)>

I want to find a solution that the build is cached after the sentry recompile phase.

Thanks for the additional context. This is odd, and I can reproduce those steps. It does make sense on some level that a final recompile may be needed following a forced recompile. If a module depends on a module that was recompiled, it may need recompilation.
If I change the task to sentry_recompile: ["compile", "deps.compile sentry --force", "compile"], I would not expect there to be any compilation before running iex -S mix. Strangely, it does still recompile...
Can you try sentry_recompile: ["compile", "deps.compile sentry --force", "compile"] to see if you see the same behavior?

Thanks for the additional context. This is odd, and I can reproduce those steps. It does make sense on some level that a final recompile may be needed following a forced recompile. If a module depends on a module that was recompiled, it may need recompilation.
If I change the task to sentry_recompile: ["compile", "deps.compile sentry --force", "compile"], I would not expect there to be any compilation before running iex -S mix. Strangely, it does still recompile...
Can you try sentry_recompile: ["compile", "deps.compile sentry --force", "compile"] to see if you see the same behavior?

Yes! Same behavior! I've tried the exact same thing in my attempts to debug this one.

mix do sentry_recompile, compile does still need to compile on iex -S mix
mix sentry_recompile && mix compile will not compile on iex -S mix

It looks like the compile task is a special case? 🤔

Yes! Same behavior! I've tried the exact same thing in my attempts to debug this one.

mix do sentry_recompile, compile does still need to compile on iex -S mix
mix sentry_recompile && mix compile will not compile on iex -S mix

It looks like the compile task is a special case? 🤔

I've did some testing and this config works:
hook_post_compile="`mix sentry_recompile && mix compile`"

I'm not sure if the "source code context" works correcly right now, mix sentry.send_test_event does not include a stacktrace.

I've did some testing and this config works:
hook_post_compile="`mix sentry_recompile && mix compile`"

I'm not sure if the "source code context" works correcly right now, mix sentry.send_test_event does not include a stacktrace.

This is working for me in multiple production apps. This does not feel like a real solution, but more like a workaround. What do you think @mitchellhenke?

@tompesman yeah, I agree, it's strange behavior. Admittedly, Sentry does some pretty weird things for this kind of compilation, but I opened an Elixir issue to see if this behavior is expected: https://github.com/elixir-lang/elixir/issues/10712

Unfortunately for this use case, it seems like mix sentry_recompile && mix compile is probably the best solution with how mix do works. I'll update the docs to reflect this.

Okay, thank you!


Blob upload - 400 Bad Request

I'm having issue with uploading an blob.
I successfully entered a text "content"  like in the tutorial but entering a file gives me
400 Bad Request.
What i did is (generate blob table called myblobs like in the tutorial.
sha1sum of the file  (btw does it has to be sha1 or all it matters is that's unique? )
then curl to one of the machines in cluster.
we're running version 0.47.3  5 node cluster (in dockers)
log file of the actual crate server says:
[2015-04-28 19:10:59,534][INFO ][io.crate.blob.BlobTransferTarget] [Book] finished transfer 34f653d5-fa55-4db8-861f-e54ba2887d8b, removing state
sha1sum bbcam1_3_c3c748a73a4ca56c396c672341cb1428.ts
759b6619240cb2d7d68d50abbe6b1a90275c9b10  bbcam1_3_c3c748a73a4ca56c396c672341cb1428.ts
curl -iSX PUT 'http://<IP_ADDRESS>:4200/_blobs/myblobs/759b6619240cb2d7d68d50abbe6b1a90275c9b10' -d @bbcam1_3_c3c748a73a4ca56c396c672341cb1428.ts
HTTP/1.1 100 Continue
HTTP/1.1 400 Bad Request
Content-Length: 0

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/12409477-blob-upload-400-bad-request?utm_campaign=plugin&utm_content=tracker%2F505659&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F505659&utm_medium=issues&utm_source=github).

Ok, I had to use  --data-binary in order to upload it.
It works.


How to use  react-native-raw-bottom-sheet in typescript

I am trying to use the BottomSheet in my typescript project
But getting the following error:
No overload matches this call.
  Overload 1 of 2, '(props: RBSheetProps | Readonly<RBSheetProps>): RBSheet', gave the following error.
    Type '{ children: Element; ref: RefObject<RBSheet>; closeOnDragDown: true; keyboardAvoidingViewEnabled: false; openDuration: number; animationType: "fade"; }' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes<RBSheet> & Readonly<RBSheetProps>'.
      Property 'children' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes<RBSheet> & Readonly<RBSheetProps>'.
  Overload 2 of 2, '(props: RBSheetProps, context: any): RBSheet', gave the following error.
    Type '{ children: Element; ref: RefObject<RBSheet>; closeOnDragDown: true; keyboardAvoidingViewEnabled: false; openDuration: number; animationType: "fade"; }' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes<RBSheet> & Readonly<RBSheetProps>'.
      Property 'children' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes<RBSheet> & Readonly<RBSheetProps>'.

Current Implementation is as follows:
const ref = useRef<RBSheet>(null);
  return (
    <RBSheet
      ref={ref}
      closeOnDragDown={true}
      height={300}
      keyboardAvoidingViewEnabled={false}
      openDuration={200}
      animationType={'fade'}>
      <View>
        <Text>Test</Text>
      </View>
    </RBSheet>
  );

This PR fixes the issue #146
Using patch-package for now

still doesnt work.


Feature Request: Add example for OracleDB-XE

Would be nice to have an example for oracledb-xe.
Possibly with https://hub.docker.com/r/quillbuilduser/oracle-18-xe as the docker ?
There was a dicussion about this at https://github.com/oracle/docker-images/issues/1156

We accept pull requests to the repo if you have an example you would like to contribute.  I am not familiar with oracle so I would have to spend a great deal of time ramping up.