pymongo errors when running s3recon

I am getting these errors when I run the s3recon command.
Traceback (most recent call last):
  File "/usr/local/bin/s3recon", line 10, in <module>
    sys.exit(cli())
  File "/usr/local/lib/python3.7/dist-packages/s3recon/s3recon.py", line 212, in cli
    main(words=words, timeout=timeout, output=output, use_db=db, only_public=public)
  File "/usr/local/lib/python3.7/dist-packages/s3recon/s3recon.py", line 118, in main
    db = MongoDB(host=database["host"], port=database["port"])
  File "/usr/local/lib/python3.7/dist-packages/s3recon/mongodb.py", line 78, in __init__
    self.index(unique_indicies, unique=True)
  File "/usr/local/lib/python3.7/dist-packages/s3recon/mongodb.py", line 86, in index
    self.client[self.db_name][self.col_name].ensure_index(i, **kwargs)
  File "/usr/local/lib/python3.7/dist-packages/pymongo/collection.py", line 2004, in ensure_index
    self.__create_index(keys, kwargs, session=None)
  File "/usr/local/lib/python3.7/dist-packages/pymongo/collection.py", line 1860, in __create_index
    with self._socket_for_writes() as sock_info:
  File "/usr/local/lib/python3.7/dist-packages/pymongo/collection.py", line 197, in _socket_for_writes
    return self.__database.client._socket_for_writes()
  File "/usr/local/lib/python3.7/dist-packages/pymongo/mongo_client.py", line 1121, in _socket_for_writes
    server = self._get_topology().select_server(writable_server_selector)
  File "/usr/local/lib/python3.7/dist-packages/pymongo/topology.py", line 226, in select_server
    address))
  File "/usr/local/lib/python3.7/dist-packages/pymongo/topology.py", line 184, in select_servers
    selector, server_timeout, address)
  File "/usr/local/lib/python3.7/dist-packages/pymongo/topology.py", line 200, in _select_servers_loop
    self._error_message(selector))
pymongo.errors.ServerSelectionTimeoutError: <IP_ADDRESS>:27017: [Errno 111] Connection refused

@n0auth - Do you have MongoDB running locally on port 27017?

No, I do not. Should I?
On Thu, Jul 25, 2019 at 22:17 Travis Clarke<EMAIL_ADDRESS>wrote:

@n0auth https://github.com/n0auth - Do you have MongoDB running locally
on port 27017?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/clarketm/s3recon/issues/3?email_source=notifications&email_token=AMCUYRB67GMG2KNMIFOJS6TQBJNEFA5CNFSM4IF3BFM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD23JLRQ#issuecomment-515282374,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMCUYRBIIRDELV6CTN3TQLLQBJNEFANCNFSM4IF3BFMQ
.

Yes, the --db flag assumes MongoDB is running as per this example. Also, if you MongoDB running on a different host or port, then you can configure that using the s3recon.yaml file.

@n0auth - did you get that error even without using the --db flag? In that case there is a bug.

@n0auth - thanks again for the issue. Please check out s3recon v1.2.2 for the fix.


Track project metadata: upstream repo, downstream package targets/requests, etc

Over on the GFD list today (2017, March 13th) I asked Marc to start tracking project upstream URLs... and this issue is a related note to track project downstream packaging targets... so I update it to the general issue and move it to the web dashboard milestone :)
Let's use this issue to list other project metadata that we may display on the dashboard :)

Original issue:

Add bakery.yml items for a buganizer IDs for various key downstreams, so that we can track the discussion of each considering making the font family available to their users, or where it is available.

Default:
downstreams:
    googlefonts: False
    bugzilla.wikimedia.org: False
    debian: False
    fedora: False
    ctan: False

Filled in:
downstreams:
    googlefonts: www.google.com/fonts/specimen/Almendra
    bugzilla.wikimedia.org: False
    debian: https://packages.debian.org/sid/fonts/fonts-ebgaramond-extra
    fedora: False
    ctan: False

add a 'Downstream Users' title and table to the end of the Summayr page that shows this data in a simple 2 col table, where if the values are URLs then link them.

Over on the GFD list today I asked Marc to start tracking project upstream URLs... and this issue is a related note to track project downstream packaging targets... so I update it to the general issue and move it to the web dashboard milestone :)

Let's use this issue to list other project metadata that we may display on the dashboard

This issue looks similar to #1262

I'm re-opening this because after montserrat-gate I'd like to track where there are good downstream self-hosting options

We now have upstream.yml, which is something, and the rest of this issue is more a GF Dashboard kind of thing.


I have a slightly updated version of your module

I noticed your pull request, and needed that functionality, however, I needed a bit more than yours provided.  I modified your module a bit, and added things like directory creation, and cleaned up the argument processing just a little bit.  Perhaps you could take my changes in and update your pull request?
garbled1/ansible@9dfac787a0c2f823f99450d7598ccaddc0f234b5

Ok, but could you please create a PR to perform this action?, this will be easy way and I will not miss any change.

I can do so, but my tree is way ahead of yours, so when I tried to create a PR, it wanted to pullup thousands of unrelated changes from the general tree.  If that's still ok?

Ok, just create a branch rebasing all changes that you will need on the module, this way both will be in sync and are not difficult to do ;).
/JMP

El 29 sept 2017, a las 16:15, Tim Rightnour<EMAIL_ADDRESS>escribió:
I can do so, but my tree is way ahead of yours, so when I tried to create a PR, it wanted to pullup thousands of unrelated changes from the general tree. If that's still ok?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

I created a pull request against this repo. Does it work for you?  #4


KAFKA-12789: Remove Stale comments for meta response handling logic

According to my understanding, the following paragraph looks like a stale comments.

public void handleSuccessfulResponse(RequestHeader requestHeader, long now, MetadataResponse response) {
...
// Don't update the cluster if there are no valid nodes...the topic we want may still be in the process of being
// created which means we will get errors and no nodes until it exists
if (response.brokers().isEmpty()) {
log.trace("Ignoring empty metadata response with correlation id {}.", requestHeader.correlationId());
this.metadata.failedUpdate(now);
} else {
this.metadata.update(inProgress.requestVersion, response, inProgress.isPartialUpdate, now);
}
...

The comments above mean we will may get errors and no nodes if the topic we want may still be in the process of being created.
However, every meta request will return all brokers from the logic of the server side, just as followed

def handleTopicMetadataRequest(request: RequestChannel.Request): Unit = {
...
val brokers = metadataCache.getAliveBrokers
...
}

I studied the related git commit history and figured out why.

This comments was first introduced in KAFKA-642 (e11447650a). which means meta request only need brokers related to the topics we want.
KAFKA-1535 (commitId: 4ebcdfd51f) changed the server side logic. which has the metadata response contain all alive brokers rather than just the ones needed for the given topics.
However, this comments are retained till now.
So According to my understanding, this comments looks like a stale one and can be removed.

Thanks for the PR. My question is since this processing logic is retained, what would be the actual reason for returning an empty broker list, other than topic in creation? IMHO, we should update the comment to mention that, instead of just removing the whole comment.

@abbccdda Thanks for your advice. The new comment has been added


Task should check whether db inconsistency was fixed or not. and count credits spent to be able to fix it

credits spent are not counted on total private credits


ci: Keep Trivy cache up-to-date on default branch

See https://github.com/aquasecurity/trivy-action?tab=readme-ov-file#updating-caches-in-the-default-branch

This change is


Plugin appears to ignore specified php command path

I'm specifying to use my php 7.1 binary with:
let g:phpqa_php_cmd='/usr/bin/php71'
phpmd I have installed locally in my project via composer:
let g:phpqa_messdetector_cmd='/var/www/sites/myawesomsitehere/vendor/phpmd/phpmd/src/bin/phpmd'
But when I try to save a vim file I get:
"PHP Parse error:  syntax error, unexpected 'finally' (T_STRING), expecting catch (T_CATCH) in /var/www/sites/myawesomesitehere/vendor/symfony/dependency-injection/Extension/Extension.php"
Which strongly implies it's running using my system-default php binary which is 5.4 (i.e before the days where it was acceptable to skip a catch block in favour of a finally block).
What can I do to remedy this?
Thanks

Ok, I've delved into the source and I understand - the specified php path is only for running the php -l lint command.
I've changed the config line to
let g:phpqa_messdetector_cmd='/usr/share/php71 /var/www/sites/myawesomsitehere/vendor/phpmd/phpmd/src/bin/phpmd'
and now everything works fine.


Refactor GitOps approach prompt flow in guided init

Reference Issues or PRs
Closes #2268

What does this implement/fix?
Put a x in the boxes that apply

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds a feature)
[ ] Breaking change (fix or feature that would cause existing features not to work as expected)
[ ] Documentation Update
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no API changes)
[ ] Build related changes
[ ] Other (please describe):

Testing

[x] Did you test the pull request locally?
[ ] Did you add new tests?

Any other comments?
How to test this PR
While we have unit tests covering the functionality changes in this PR, I present three different paths a reviewer might want to test manually.
Choose GitLab during the GitOps approach prompts

Run nebari init --guided-init
Follow through with any options and select y when prompted with Would you like to adopt a GitOps approach to managing Nebari? (y/N)
Choose gitlab.com

You should be prompted with further configuration options. Follow through selecting N for the following questions.

Run nebari render -c nebari-config.yaml

You should see a .gitlab-ci.yml file.
Choose GitHub during the GitOps approach prompts

Run nebari init --guided-init
Follow through with any options and select y when prompted with Would you like to adopt a GitOps approach to managing Nebari? (y/N)
Choose github.com
Choose N when prompted with Would you like nebari to create a remote repository on github.com?

You should be prompted with further configuration options. Follow through selecting N for the following questions.

Run nebari render -c nebari-config.yaml

You should see a .github/workflows folder.
Choose GitHub with auto-provisioning during the GitOps approach prompts

Run nebari init --guided-init
Follow through with any options and select y when prompted with Would you like to adopt a GitOps approach to managing Nebari? (y/N)
Choose github.com
Choose y when prompted with Would you like nebari to create a remote repository on github.com?
Pass an organization you have access to
Pass a repo name to be created
Paste your github username and token if necessary

You should be prompted with further configuration options. Follow through selecting N for the following questions.

Run nebari render -c nebari-config.yaml

You should see a .github/workflows folder and there should be newly created GitHub repo under the organization you specified.

Unit tests are failing. I'm looking into it.

@aktech I modified the existing tests and added new ones based on your suggestion. I should have added new tests in the first place so thanks for bringing that up!

@marcelovilla can you update the status here?

@marcelovilla what is the status of this PR? Are you still working on it?

This PR was stale for a very long time but I've just added some changes to get it across the finish line. You'll see that I decided to revert the regex changes I wrote before (and thus, also decided to change the title of the PR). The reason behind this is that I did not see any point in modifying the regex to allow both GitHub and GitLab repos when we don't really support repo auto-provisioning for GitLab.
I decided to keep only the regex for GitHub repo validation and instead change the flow in which we present the user with the GitOps approach prompts during the guided init. Previously, we were prompting the user for the following inputs:

Provider (i.e., GitHub or GitLab)
Organization and repository
Whether they want Nebari to auto-provision the repository

When users selected GitLab for (1) and then gave an org and repo name for (2), they would get a validation error because of the repo URL (see #2268). While having a regex that validated both provider repos would have solved that issue, it wouldn't really have done anything with that information afterwards, because, as I mentioned before, we have not implemented the auto-provisioning logic for GitLab. I think implementing that is outside of the scope of this PR and will require a considerably larger effort to achieve. Furthermore, in the case where users choose GitHub as the provider, we only use the organization and repository name if they want Nebari to auto-provision the repository. Thus, with this PR my proposal is to modify the GitOps approach flow in the guided init to prompt the user for the following inputs:

Provider (i.e., GitHub or GitLab)
(Only if the provider is GitHub) whether they want Nebari to auto-provision the repository
(Only if they want to auto-provision the repo) organization and repository

Additionally, I modified our render tests to make sure we're passing GitLab as a provider in one of the configurations. And unrelated to this, I fixed the original regex to avoid matching an edge case, which I added to the existing tests.
The PR description has a section on how to test this PR.

Thanks for the review @Adam-D-Lewis
@aktech I just realized I cannot merge this as you requested changes a while ago. Can you have a look and see what you think?

@aktech just wanted to give this PR a nudge when you have some time. Thanks!


Reset button missing label

The reset button(id:reset) has no text. Instead there is a "🗘" which is not how it appeared in browser. In browser is displayed as

I don't know if this is because a suitable unicode symbol hasn't been found yet, but personally I found it confusing. Also, I don't know the most about what it does, but if it is reloading the page then there is already a reload button in browser. However, if that isn't all that it does, then that should probably be indicated.

The icon in question is in templates/index.html on line 99

does your browser render emojis?


Enhance Node Finder experience

Filters take almost 100vh from the viewport and user needs to scroll to see the table.

Suggested solution: Let's use compact filter input instead. Also, not all filters should be shown to the user. Some should be shown as default and the others can be added if the user needs (from a dropdown menu or sth).
Reduce columns in nodes table. Users can access additional details by clicking on individual table rows anyway.

Display node type hints above the table instead of below it. With a pagination setting of 50 items per page, placing this information below the table would require excessive scrolling for the user.

Related Issues:

https://github.com/threefoldtech/tfgrid-sdk-ts/issues/2057
https://github.com/threefoldtech/tfgrid-sdk-ts/issues/2255
https://github.com/threefoldtech/tfgrid-sdk-ts/issues/2056
https://github.com/threefoldtech/tfgrid-sdk-ts/issues/2369
https://github.com/threefoldtech/tfgrid-sdk-ts/issues/1892
https://github.com/threefoldtech/tfgrid-sdk-ts/issues/2285

Related to:
https://github.com/threefoldtech/tfgrid-sdk-ts/issues/2132

work in progress(WIP)
the horizontal filter was designed to take 15% of the  screen and by default closed, but while we have many items to filter we need to back to put it on the left side @MohamedElmdary suggest to give the user the option to hide the sidebar at pages contain filter( Node Finder,dedicated-nodes,farm-finder) so we can have more space for filter

Note: that'll cause scroll at the table on small screen

Can you change the place of the Select Node Status filter? It's the most used filter on the page, and for better UX, it should be easily accessible instead of being at the bottom of the page.
Having the apply button at the top of the filter doesn't seem like the best position for it; it doesn't feel good to keep scrolling up and down to choose filters and apply them.
Maybe you can also group similar inputs together instead of having the type input and list input in shuffles, and then toggles in last (and order them in the most used first).

screen-capture (23).webm

After discussing it with @ehab-hassan we agreed that it would be better for the apply button to be at the top and reorder the filter with most useful first (so the user scrolling would be minimal).
The order is:

The Toggles
A. Dedicated
B. Gateway
C. GPU
Node status filter
Node ID
Farm ID
3 other lists (farm names - regions - countries)
Free public IPs
Free resources
Min resources

Work Completed

verified on devnet
version : bef3f8f
the new order of the node finder :

The Toggles
Node status filter
Node ID
Farm ID
3 other lists (farm names - regions - countries)
Free public IPs
Free resources
Min resources

nodes are now in cards which is better for small screens and no need for horizontal scrolling.

toggles now only take action after clicking on apply
https://github.com/threefoldtech/tfgrid-sdk-ts/assets/110984055/570199f2-cfa9-4558-9199-f9173464f16c
node cards
filtering toggle
filters


Error while configurating to use Azure OPEN AI Service

Hi there! I'm trying to use Azure OPEN AI Service following steps in https://github.com/cristianorevil/screenshot-to-code/tree/azure-support but an error is happening to me.
I'll show all I've done step by step:

(Not sure about AZURE_OPENAI_API_VERSION & AZURE_OPENAI_DALLE3_API_VERSION values, I've tried setting AZURE_OPENAI_API_VERSION=vision-preview and AZURE_OPENAI_DALLE3_API_VERSION=3.0 which are the model versions but it is not working neither)

Command "pip install poetry" (no warnings or anything indicating an error).

Command "yarn dev".

ERROR:

Can't see any error log information anywhere.
That's all, thanks for reading!

https://v0.dev/
It free from https://vercel.com/

Merging with #10


[SPARK-6309] [SQL] [MLlib] Implement MatrixUDT

Utilities to serialize and deserialize Matrices in MLlib

Test build #28658 has started for   PR 5048 at commit 18facec.

This patch merges cleanly.

cc @mengxr @rxin It would be great if you could have a look! Btw, should I wait for this to get merged, so that I can rebase the GaussianMixtureModel on top of this?

Test build #28660 has started for   PR 5048 at commit 0433fc6.

This patch merges cleanly.

Test build #28658 has finished for   PR 5048 at commit 18facec.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
class MatrixUDT extends UserDefinedType[Matrix]

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/28658/
Test PASSed.

Test build #28660 has finished for   PR 5048 at commit 0433fc6.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
class MatrixUDT extends UserDefinedType[Matrix]

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/28660/
Test PASSed.

Test build #28667 has started for   PR 5048 at commit 7fa7a2c.

This patch merges cleanly.

@MechCoder Btw, please add new commits instead of squashing commits during the code review. It makes easier to see what you've changed in each update.

Test build #28667 has finished for   PR 5048 at commit 7fa7a2c.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/28667/
Test PASSed.

@mengxr I have removed equals and now the testing is done using conversion to Arrays.
Let us please not wait for the other PR and try to get this merged, Thanks!

Test build #28807 has started for   PR 5048 at commit 6e67020.

This patch merges cleanly.

Test build #28808 has started for   PR 5048 at commit 16d5d47.

This patch merges cleanly.

Test build #28807 has finished for   PR 5048 at commit 6e67020.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/28807/
Test PASSed.

Test build #28808 has finished for   PR 5048 at commit 16d5d47.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/28808/
Test PASSed.

LGTM except minor inline comments.

@mengxr fixed! I put the hash as my Year of Birth, so that my permanent mark is left on Spark :P

Test build #28934 has started for   PR 5048 at commit 05dc6f2.

This patch merges cleanly.

Test build #28934 has finished for   PR 5048 at commit 05dc6f2.

This patch passes all tests.

This patch merges cleanly.

This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/28934/
Test PASSed.

Hi,
Can anyone please share me a example for using MatrixUDT as datatype column in Spark SQL dataframe.  Each image as matrix in dataframe column.
Really appreciate your help.
Thanks
Karthik


Move the vm bit from instruction to RVV state

RVV instruction vm bit (bit number 25) probably will have low entropy.
For consecutive vector instructions, changing the value of this bit is unlikely.
To make better use of the code space, it is worth moving this bit to the general state of the vector extension.
Vector instructions take several clocks and setting the masking bit using a separate instruction should not significantly affect performance.
In addition to setting the masking mode, you can select direct or inverse (w/o vmnot.m v0, v0) masking mode and even the register number of the mask.

It's exceedingly unusual to have a strip-mine loop with only masked instructions, as some instruction needs to generate the mask.  So this will add a vsetvl to nearly every strip-mine loop with masked instructions, and multiple vsetvls for others.  For some implementations, this won't matter for performance.  For others (spatial machines without wide superscalar issue), it will matter.  For all of them, it hurts code density.
Perhaps the greater concern is how this will interact with an expanded vector ISA with a 48-bit or 64-bit encoding.  In that case, the mask register will be a full register specifier, rather than using v0 implicitly, rendering vestigial the vm state bit.

Let's first separate the issue of location of the masking bit and the type of masking from the issue of optional selection of the mask register. I apologize for merging the two questions into issue.
From 6 examples of Appendix A:
A.2. We need two additional set mask instructions per loop.
A.4. We need 3 additional instructions set mask (one of them replaces the extra  vmnot.m v0, v0)
For 16.7. (strcpy and strncpy) examples: two additional instructions for each.
For 16.8. compact_non_zero: two additional instructions.
From 9 examples we can see only 11 places where the mask changes.
Please add more examples where the masking mode changes more often.

Closing this issue as there isn't consensus to make this change.  Moving the mask bit into the vector state would require two extra instructions per loop iteration when vectorizing code that contains both an if-statement and some code outside of the if-statement.


Adding a blank custom query in general preferences stops the window from being closed

There is a small bug in the preferences window where adding an item with mandatory fields blocks the window from being closed unless those fields are then filled in.
Steps to reproduce:

Open the General section of preferences.
Click the + button under Custom Query Shortcuts.
Without filling in the form, move to another preferences section (e.g. Window).
Try to close the preferences window.

Actual Behaviour:
An Invalid shortcut error popup appears, even though returning to the General section shows that the previously added custom query form has been closed. The preferences window cannot now be closed without either resetting all off the section's options to default, or right-clicking the tray icon and restarting Hain.
Expected Behaviour:
Preferences window should close without any settings being changed.

Never mind, realised this a duplicate of #231.


Issue in displaying

Error the text didn't appear in the button
I tried changing the color of the text and still, there's no text in the button

i have the same error.

I have same error too.

I have same error too.

Error fixed by rebuilding project.

I still don't see this working

I had the same problem, now the issue is that the view in compiled code doesn't show the -/+ symbols,
I saw in the layout inspector the issue might be that the button is disabled by default, is there any way to enable it?

check this library out https://github.com/kojofosu/Quantitizer

Hi Guys just play with the size of your height will weight it will show the + and -


secure lua

@superpowers04 @cyn-8 @DragShot
improvement upon #6716

didn't you say that nebula's merge already had something similar?

didn't you say that nebula's merge already had something similar?

no that was just the cross script stuff
this pr is just for the lua variables

ohh


Feature request: Patch botocore.session.Session with custom User-Agent header

Use case
Need to add a standard user-agent in SDK calls originated from botocore.session.
E.g. KMS clients in data-masking feature are init by botocore.session.Session here
Solution/User Experience
session = botocore.session.Session()
register_feature_to_botocore_session(session, "data-masking")
# use session as is

Alternative solutions
No response
Acknowledgment

[X] This feature request meets Powertools for AWS Lambda (Python) Tenets
[X] Should this be considered in other Powertools for AWS Lambda languages? i.e. Java, TypeScript, and .NET

Hey @roger-zhangg! Thanks for opening the issue and sending the PR. Let me take a look on this.


UI: Sign In/My Account Btn Should be Dynamic

Sign In/My Account Btn Should be Dynamic. If wallet is connected show My Account, If no wallet connected show "Sign In"

Wont Do. It can be static for the time being. Sign in can be done from account page


Added Terraforming Mars

Submitting this PR means you have:

[X] searched the readme file and searched the open pull requests (no duplicates please)
[X] and will follow the desired format
[X] used image links that resolve correctly, are appropriately sized, and are served over HTTPS

Once your PR is created, it will trigger a build on Travis CI. This includes a format linting process, so if there are any issues with the build, please address them.
Do you have further questions? Check the contribution guidelines or open an issue.
When you're ready, check off the above acknowledgements and continue with your Pull Request... and thanks!

Awesome. I changed the source of the image and resolved conflicts. Should be all good now!

Turns out it was actually a problem with something else. I had two spaces next to each other before the name of game. Now I think it's all good.

Thanks for contributing!


Description
Need to be able to control the fireplace, want to replicate the current remote control so that I can control it from anywhere
Integration URL
No response
Automation Idea

[ ] Turn on when cold
[ ] Turn off when going to bed

New Hardware?
Yes

[ ] Purchased
[ ] Installed
[ ] Integrated

Add Amazon / store URL for referencing if new hardware is required
No response

Tasks

[ ] Research RF -> Wifi
[ ] Figure out where I'm going to put the device


Use full fingerprints.

Short key IDs are trivially forgeable. See https://evil32.com/

Whereabouts in the codebase are you referring to?

I just had a superficial look and it seemed like the authors were unaware of it. Sorry if I've misunderstood something.
Signers are identified by FingerprintSample, the comment of which says “The last few digits of a GPG fingerprint.” The signed mapping seems to be used for a chain of trust (with this file being signed.) But producing a key with a given 32 bit key id is easy, as described in the link. If I understand it correctly, this is then a weak link in the chain of trust. Somebody could produce a key with a given key id, lure it onto a victim's computer, and use it to sign evil packages the system would believe to be legit.

Legitimate concern. It's no problem to use the full fingerprint, pinging @dysinger.

I'll fix it this week.  Thanks for your suggestion.
On Thu, Jul 9, 2015 at 2:35 AM, Chris Done<EMAIL_ADDRESS>wrote:

Legitimate concern. It's no problem to use the full fingerprint, pinging
@dysinger https://github.com/dysinger.
—
Reply to this email directly or view it on GitHub
https://github.com/commercialhaskell/sig-tool/issues/5#issuecomment-119946657
.

sig-tool uses full fingerprints when signing & verifying
the test branch of sig-archive has signers with their full keys


COD Summit^3 - set up talks / tutorials for sponsors (45mins)

Fluence Labs - Silver

Bernhard Borges will be speaking on behalf of Fluence @it09


Add more volume information

Hi,
Is it possible to add in the results more information on trading volume?
Today volume in yahoo summary.
and in statistics
Avg Vol (3 month)
Avg Vol (10 day)
Shares Outstanding
Float
Thanks

It is definitely possible, check docs of yfinance


Update README.md

I've included a features section along with a selection of screenshots showcasing the appealing design of the Flavour-Fusion food website.

That's nice @soniyaprasad77  !! Thanks !!


Update build process to locally publish NuGet packages and run tests against these

See SlowFox: https://github.com/Bungalow64/SlowFox/blob/main/azure-pipelines.yml
Pack and push the NuGet packages to Azure DevOps feed, reference these packages in the SampleSolutions\NuGetTests projects, and let the tests run using these packages directly.

This was completed as part of #86


DM-37221: Convert to 1Password Connect API

Rather than using third-party onepassword Python API, which is not pip-installable and doesn't work on all platforms, use the 1Password Connect API against the new server that we're installing on Roundtable.

This doesn't yet work completely, but that seems to be because we're missing secrets from 1Password that are required for an environment. The 1Password interactions do appear to work properly now.


[BUG] Prometheus metric for backup state (longhorn_backup_state) returns wrong values

Describe the bug
According to https://github.com/longhorn/longhorn/issues/2940, a query of metric "longhorn_backup_state" should return these values:
0=New, 1=InProgress, 2=Completed, 3=Error, 4=Unknown
But I get value 3 for all of my obviously successful backups.
To Reproduce

Setup recurring backup job with S3 backup target
Query Prometheus

longhorn_backup_state{backup="backup-002d70d978324b2e", container="longhorn-manager", endpoint="manager", instance="<IP_ADDRESS>:9500", job="longhorn-backend", namespace="longhorn-system", pod="longhorn-manager-pj7kp", service="longhorn-backend", volume="pvc-b95ebb95-69a8-402a-ad4c-600fb4372ad3"}
3

3. Check backup status in Longhorn UI

backup-002d70d978324b2e
pvc-b95ebb95-69a8-402a-ad4c-600fb4372ad3
Completed

--> So, there is a mismatch between expected and actual return value.
Expected behavior
I expect, that according to documentation a metrics value of 2 is returned for a completed backup.
Environment

Longhorn version: 1.3.1
Installation method: Rancher Catalog App/Helm
Kubernetes distro (e.g. RKE/K3s/EKS/OpenShift) and version: RKE1, v1.22.11

Number of management node in the cluster: 3
Number of worker node in the cluster: 3

Underlying Infrastructure: CentOS VMs from OpenTelekomCloud
Number of Longhorn volumes in the cluster: 114

@mantissahz It seems like a doc issue, and also the original doc PR (https://github.com/longhorn/website/commit/9d8ce1e8) was missed from 1.3.0 & 1.3.1.
Please help with this doc fix. Thanks.

@innobead What is the correct status code meaning? Thx.

@innobead What is the correct status code meaning? Thx.

https://github.com/longhorn/longhorn-manager/blob/127a37f605b13e133a547dfc89470cf3670e2236/metrics_collector/backup_collector.go#L88-L105
3 means completed.

Verified on master-head 20220916

longhorn master-head (bfe44af)
longhorn-manager master-head( 3ebeaf2)

Pre-requisite

Install Rancher
Create cluster
Install Monitoring via Rancher APP.
install Longhorn via kubectl

The test steps

Create two volumes: ReadWriteOnce (RWO) * 1 + ReadWriteMany (RWX)
kubectl apply -f create_2vol_rwx+rwo.yaml

apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  name: vol-0
  namespace: default
spec:
  accessModes:
    - ReadWriteMany
  storageClassName: longhorn
  resources:
    requests:
      storage: 0.5Gi
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
  name: vol-1
  namespace: default
spec:
  accessModes:
    - ReadWriteOnce
  storageClassName: longhorn
  resources:
    requests:
      storage: 0.5Gi

Volume attach to the pod. Deploy pod mypod1
kubectl apply -f pod_mount_2vol.yaml

kind: Pod
apiVersion: v1
metadata:
  name: mypod1
  namespace: default
spec:
  containers:
    - name: testfrontend
      image: nginx
      volumeMounts:
      - mountPath: "/data0/"
        name: vol-0
      - mountPath: "/data1/"
        name: vol-1
  volumes:
    - name: vol-0
      persistentVolumeClaim:
        claimName: vol-0
    - name: vol-1
      persistentVolumeClaim:
        claimName: vol-1

Create backups for each volumes
In the Rancher UI > Monitoring > grafana > grafana login
**** The default Admin username and password for the Grafana instance is admin/prom-operator ****
check backups status and Query Prometheus

Result Passed

After query prometheus, we could find out value 0, 2, 3 on  grafana UI
The documents are updated on (v1.3.0) (v1.3.1) (v1.4.0)


Please add fsspec-xrootd to conda-forge

I think it's the case that all other Uproot optional dependencies are on conda-forge. The fsspec dependencies are transitive—they're optional dependencies through fsspec (and so not listed in extras.py), but the ones that I know about are all on conda-forge.
That is, except for fsspec-xrootd. As it is now, if someone is trying to maintain a conda-only or conda-mostly environment, they'd have to make an exception for fsspec-xrootd and pip-install it (so its version is not managed by conda's solver).
Hence the request! :)

and there we have it -> https://github.com/conda-forge/fsspec-xrootd-feedstock


Compatibility with Nim 1.2

This pull request replaces the unary < operator with ..<, and uses the new / import separators, the former being an error and the latter has a deprecation warning.

Thanks. Why do I not see the warnings about "." in any build?
https://travis-ci.org/github/oprypin/nim-random/jobs/674188510
Can you give some reference about the change?

The deprecation warnings only show up in nimsuggest (v1.2.0), but not in the compile logs. Here's the full text of the warning:
using '.' instead of '/' in import paths is deprecated

It seems like this change was a product of changes to the namespace resolution, see pull request https://github.com/nim-lang/Nim/pull/8474. This is also in the changelog for Nim 0.19.x as seen here: https://github.com/nim-lang/Nim/blob/devel/changelogs/changelog_0_19_0.md#changes-affecting-backwards-compatibility


How do you hide files or folders?

VSCode Version: Code 1.18.1 (929bacba01ef658b873545e26034d1a8067445e9, 2017-11-16T18:32:36.023Z)
OS Version: Windows_NT x64 10.0.16299
Extensions:

Extension
Author (truncated)
Version

Lua
key
0.0.9

theme-monokai-pro-vscode
mon
1.1.2

Steps to Reproduce:

right click on file or folder.
there is no option to hide file.

Reproduces without extensions: Yes
Is it possible?
would be nice If there is options to hide files or folders.
even better if I could save templates of hidden files and folders.
When file is hidden, it will go into folder like state "hidden" under where are all the folders with files which have been hidden. right click on them will have option to unhide

You can define it in user preferences. Maybe this video wil help you:
https://www.youtube.com/watch?v=Q2kspPimO4A

@sergeos thanks for answering
@whitevo this could also be made as an extension to add the context menu to help users hiding their folders

I found an extension which supposes to do that, but it doesn't work at all:
https://marketplace.visualstudio.com/items?itemName=devine-davies.make-hidden
Then tried the Peep thing extension, but don't see the point in it, if it even works then all it does is disable change the true or false value right?
@isidorn
took me 4 hours to figure out how to change space amount when pressing tab. I don't even want to think about making any more complicated changes here.
@sergeos
Thank you, that helped, with this video I understood how to hide specific file names.
The if something is something, I did not understand and does not work for me.


Review permission handling in entityprovider

From @steveswinsburg on July 23, 2015 22:16
Getting this in the logs:
INFO Could not process entity: /gbng (403)[null]: Security exception handling request for view (/gbng.json), this is typically caused by the current user not having access to the data requested or the user not being logged in at all :: message=You do not have instructor-type permissions in this site. (rethrown)

Need to review how the permissions are checked in the entity provider, and allow TA to access some of the calls.
Copied from original issue: steveswinsburg/gradebookNG#154

Hi @kyleblythe, @steveswinsburg.  I think I found the source of the 403 error in the logs.  The AJAX request to check for isotheruserediting throws a SecurityException when the user isn't an instructor.
Reviewing the service, here are the actions that require some kind of instructor or TA check:

/direct/gbng/assignments (getAssignmentList): I can't seem to find any uses of this endpoint? @steveswinsburg, perhaps we don't need this anymore?
/direct/gbng/assignment-order (updateAssignmentOrder): used by the custom drag-and-drop javascript to save the uncategorised sort order changes.  Should the TA be able to reorder columns at all?
/direct/gbng/isotheruserediting (isAnotherUserEditing): used by the custom javascript to check for and list changes from other users on the current gradebook and node. It makes sense for TAs to have access to this endpoint.
/direct/gbng/categorized-assignment-order (updateCategorizedAssignmentOrder): used by the custom drag-and-drop javascript to save categorised sort order changes. As above, should the TA be able to reorder columns?

My feeling is that:

TA's should be able to reorder columns, so we disable drag and drop for them and also retain the instructor-check on those endpoints.
We remove the getAssignmentList endpoint if it's not being used.
And finally, we allow TA's to view other user edits.

Does that seem ok with you guys?

agreed 100% re: the ability to reorder items, @payten . I also like that the TA cannot create GB items or edit GB items, since they're just graders (or viewers). But I also want to get @jeffpasch 's input on that as well.
I am noticing a few things, though:

the column header dropdown appears to be missing entirely for a TA with grade permissions. Given that they have the ability to see cell-by-cell grade logs, I would say that they should be able to view grade statistics and set score for empty cells.

This relates to an enhancement that we talked about a while back and noted in #1376 , wherein there would be section awareness for the set score for empty cells feature. This would allow instructors to apply a default score to empty cells for the entire GB or just specific sections. For TA's however, it would allow them to set a default score for only the section(s) for which they have grading access.

The TA currently has the ability to set a course grade override (even when the course grade isn't visible to them). They should not be able to access this option when the course grade permission checkbox is not selected for them.

On a related note, should they have the ability to provide a course grade override at all? Currently, the permission checkbox is stating that it allows the TA to "View" the course grade.

Lastly, right now the TA has access to the Course Grade Display dropdown option in the Course Grade header, as well as the GB-wide set 0 for empty cells option. They likely should be disabled for TA's as well.

In implementing the menu behaviour above, I found a few new TA-related bugs: #1832, #1839
Also, set score for empty cells still relies on a solution to the open issue #1376.

Hey @steveswinsburg and @payten ,
This is all looking great! One thing I'm seeing, that I believe we had documented in another issue but that I cannot find at the moment re: TA permissions.
Currently, the TA's section/group filter dropdown shows as "All Sections/Groups," regardless of which section(s) the TA has access to:

I think we had discussed the following:
If the TA does not have grade or view access to all sections/groups, this filter should reflect the sections/groups to which they do have access. So, for example, if a GB has 4 sections, and the TA has access to grade section 001 and view section 002, then the filter should default to "Available Sections/Groups" with the dropdown options showing the sections/groups. I think that'll clarify this a bit.
And, if the TA has grade/view access for only one section/group, I don't think there needs to be a dropdown at all. It can just say "Section 001 - Showing 7 Students". Make sense?

Hey @kyleblythe I'm going to split this last bit out into its own issue as its unrelated to the permissions in the entity provider. Cheers.


fix: make tx status great again on lp deposits

Description

Added another early return to display a "Pending" status state if the TX has been submitted
Made the success real success

This PR is focused on fixing the initial issue but I noticed the actual implementation isn't following the way we implemented the TX status update on rFOX, we might wan't to design an abstraction and consume it so we don't have 2 coexisting different systems, also it could consume the useTxStatus abstraction

Pull Request Type

[ ] :bug: Bug fix (Non-breaking Change: Fixes an issue)
[ ] :hammer_and_wrench: Chore (Non-breaking Change: Doc updates, pkg upgrades, typos, etc..)
[ ] :nail_care: New Feature (Breaking/Non-breaking Change)

Issue (if applicable)

closes #6786
Risk

High Risk PRs Require 2 approvals
Not so risky, mainly user facing issues but no funds risk is involved

What protocols, transaction types or contract interactions might be affected by this PR?

Testing
1:1 deposit
First TX:
https://jam.dev/c/bf3a5bc0-535a-41ac-8da5-777e688e0f35
Second TX:
https://jam.dev/c/4f2d27ce-7621-4ea7-b5ae-ed418ab9602f

Engineering

Operations

Screenshots (if applicable)

I like the update to Success once the LP action is completed. It feels like we want a different status for sign and broadcast CTA, and then Waiting for confirmation sounds better to me for the pending state. For two transaction flow, it could read something like:
Sign Transaction -> Waiting for confirmation -> Sign Transaction -> Waiting for confirmation -> Success
It currently feels weird showing:
Waiting for confirmation -> Transaction Submitted -> Waiting for confirmation -> Transaction Submitted -> Success
We can also retain the supplying/withdrawing text through or at least until Success as another improvement?
@shapeshift/product

Waiting for confirmation sounds better to me for the pending state. For two transaction flow, it could read something like:
Sign Transaction -> Waiting for confirmation -> Sign Transaction -> Waiting for confirmation -> Success

Agreed. I think in the original mocks the flow said "waiting for confirmation"

First TX:
https://jam.dev/c/ebf2bb8b-c47c-487c-af02-16742ce0cf5e

Second TX:
https://jam.dev/c/8a006235-46b4-44ec-89a4-142c539cbe3e

We need a 🔥 emoji reaction. 🤝


Fix #3702: do not round up integer thresholds for integer features in JSON dump

Fixes #3702 by not rounding up integer threshold for integer features  in JSON dump

My concern is that for any floating point number (e.g. 230.5), the json will not reflect the exact number. Instead it will take its floor and will add 1 to it. So we are loosing the information.
Am I correct?

The condition x < 230.5 is equivalent to x < 231 if the feature x is known to be an integer. So no information is lost.

Got it. Thank you so much. Can you merge the code?


Object oriented

merge into main

Do you mind making another commit to this pull request by using black to standardize code formatting? This simplifies readability and ensures that we are not commenting and discussing on code style. Thanks :)
pip install black
black .


Custom extension pack not saved

I've tried creating custom extension packs with this plugin (v0.2.1) and have not been successful. I am able to use the creation dialog to define the name, description, and included extensions. However, the command to view custom extension packs shows an empty list.
VS Code details:
Version: 1.74.3
Commit: 97dec172d3256f8ca4bfb2143f3f76b503ca0534
Date: 2023-01-09T17:07:18.579Z
Electron: 19.1.8
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: <IP_ADDRESS>-electron.0
OS: Darwin x64 21.6.0
Sandboxed: No

Same

Sorry I don't have Mac so can't test and fix. I think this may be caused by insufficient permissions that it cannot write data on the local disk.

Same for me. Seems like this fork fixed it though.

Still maintained? Accepting PRs?

Still maintained? Accepting PRs?

yes

how to solve insufficient permissions?hurry!

I switched to an alternative extension.


add Chinese Translation

add Chinese Translation of README.md

Thank you for your contribution! Right now we intend to maintain only the English version of the wiki in this repo, but please feel free to fork the repo and maintain the translation.


Remove env, default urls, chainId

Remove env (NODE_ENV) and default urls (AINFT_SERVER_ENDPOINT, AIN_BLOCKCHAIN_ENDPOINT), chainId.

Thanks for review! merging now!


💡[FEATURE]: Apple stock Price Prediction Using LSTM, SVR, Decision Tree Regressor And Random Forest

Is your feature request related to a problem? Please describe.
Yes, The art of forecasting stock prices has been a difficult task for many of the researchers and analysts. Investors eagerly seek effective stock price prediction systems to guide successful investments and understand future market trends.
Describe the solution you'd like
I would like to Add the ML Models which i am gonna build like using LSTM, SVR, Random Forest, and Decision tree Regressor using historical stock price data and relevant financial indicators, preprocess the data, performing EDA, and check the prices, and compare the model's accuracy.
Describe alternatives you've considered
Exploring additional models like ARIMA, XGBoost, or ensemble methods for potential improvement in forecasting accuracy.
Additional context
Add any other context or screenshots about the feature request here.

@Akshat111111 Sir, under which folder do I have to add this project.

@Akshat111111 Sir, under which folder do I have to add this project.

NYSE, put your folder.

Your folder name- Apple Stock Analysis


delete_returning doesn't delete the foreign/one-to-one keys

Environment:
Python=3.8
django=3.1
djangorestframework=3.11.1
django-pg-returning=1.3.0
How to reproduce this error:
Create any model. Add One-to-one field for this model in another model.
Try to delete any record from the parent model.
It throws an Integrity error.
My Django View(which causes the error):
@api_view(['POST', ])
@permission_classes([IsAuthenticated, ])
@authentication_classes([SafeJWTAuthentication, ])
def delete_one_or_more_jobs(request):
    """Deletes one or more jobs"""

    if not is_list_of_strings(request.data):
        raise exceptions.ParseError("This API requires a list of one or more Job IDs in the request body.")

    for id in request.data:
        uuid_validation(id)

    tenant = tenant_getter_v2(request, qp=True)

    affected_jobs = Job.objects.filter(tenant=tenant, id__in=request.data).delete_returning()
    affected_jobs = affected_jobs.values_list('id', flat=True)
    return Response(affected_jobs)

Traceback:
Internal Server Error: /api/v1/job/delete/
app_1            | Traceback (most recent call last):
app_1            |   File "/usr/local/lib/python3.8/site-packages/django/db/backends/base/base.py", line 242, in _commitapp_1            |     return self.connection.commit()
app_1            | psycopg2.errors.ForeignKeyViolation: update or delete on table "job" violates foreign key constraint "job_pipeline_job_id_d60ec84d_fk_job_id" on table "job_pipeline"
app_1            | DETAIL:  Key (id)=(f39a30d3-05b4-4597-a7ab-e2ca92b4ac4a) is still referenced from table "job_pipeline".
app_1            |
app_1            |
app_1            | The above exception was the direct cause of the following exception:
app_1            |
app_1            | Traceback (most recent call last):
app_1            |   File "/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py", line 47, in inner
app_1            |     response = get_response(request)
app_1            |   File "/usr/local/lib/python3.8/site-packages/django/core/handlers/base.py", line 179, in _get_response
app_1            |     response = wrapped_callback(request, *callback_args, **callback_kwargs)
app_1            |   File "/usr/local/lib/python3.8/site-packages/django/views/decorators/csrf.py", line 54, in wrapped_view
app_1            |     return view_func(*args, **kwargs)
app_1            |   File "/usr/local/lib/python3.8/site-packages/django/views/generic/base.py", line 70, in view
app_1            |     return self.dispatch(request, *args, **kwargs)
app_1            |   File "/usr/local/lib/python3.8/site-packages/rest_framework/views.py", line 505, in dispatch
app_1            |     response = self.handle_exception(exc)
app_1            |   File "/usr/local/lib/python3.8/site-packages/rest_framework/views.py", line 465, in handle_exception
app_1            |     self.raise_uncaught_exception(exc)
app_1            |   File "/usr/local/lib/python3.8/site-packages/rest_framework/views.py", line 476, in raise_uncaught_exception
app_1            |     raise exc
app_1            |   File "/usr/local/lib/python3.8/site-packages/rest_framework/views.py", line 502, in dispatch
app_1            |     response = handler(request, *args, **kwargs)
app_1            |   File "/usr/local/lib/python3.8/site-packages/rest_framework/decorators.py", line 50, in handler
app_1            |     return func(*args, **kwargs)
app_1            |   File "/home/hirecinch-backend/jobs/views.py", line 392, in delete_one_or_more_jobs
app_1            |     affected_jobs = Job.objects.filter(tenant=tenant, id__in=request.data).delete_returning()
app_1            |   File "/usr/local/lib/python3.8/site-packages/django_pg_returning/manager.py", line 183, in delete_returning
app_1            |     return self._get_returning_qs(sql.DeleteQuery)
app_1            |   File "/usr/local/lib/python3.8/site-packages/django_pg_returning/manager.py", line 145, in _get_returning_qs
app_1            |     return self._execute_sql(query, fields)
app_1            |   File "/usr/local/lib/python3.8/site-packages/django_pg_returning/manager.py", line 109, in _execute_sql
app_1            |     return ReturningQuerySet(query_sql, model=self.model, params=query_params, using=using,
app_1            |   File "/usr/local/lib/python3.8/site-packages/django/db/transaction.py", line 232, in __exit__
app_1            |     connection.commit()
app_1            |   File "/usr/local/lib/python3.8/site-packages/django/utils/asyncio.py", line 26, in inner
app_1            |     return func(*args, **kwargs)
app_1            |   File "/usr/local/lib/python3.8/site-packages/django/db/backends/base/base.py", line 266, in commit
app_1            |     self._commit()
app_1            |   File "/usr/local/lib/python3.8/site-packages/django/db/backends/base/base.py", line 242, in _commitapp_1            |     return self.connection.commit()
app_1            |   File "/usr/local/lib/python3.8/site-packages/django/db/utils.py", line 90, in __exit__
app_1            |     raise dj_exc_value.with_traceback(traceback) from exc_value
app_1            |   File "/usr/local/lib/python3.8/site-packages/django/db/backends/base/base.py", line 242, in _commitapp_1            |     return self.connection.commit()
app_1            | django.db.utils.IntegrityError: update or delete on table "job" violates foreign key constraint "job_pipeline_job_id_d60ec84d_fk_job_id" on table "job_pipeline"
app_1            | DETAIL:  Key (id)=(f39a30d3-05b4-4597-a7ab-e2ca92b4ac4a) is still referenced from table "job_pipeline".
app_1            |
app_1            | [01/Jan/2021 05:59:15] "POST /api/v1/job/delete/?subdomain_prefix=test-1 HTTP/1.1" 500 145088

Hi, @Abdullah0297445.
Thanks for your report.
Originally, this library has not been designed for complex recursive manipulations. It's purpose is to make effective one-level queries returning the result. It's more like django's QuerySet.update(**updates) method which doesn't emit any signals or procedures like Model.save() method does.
Though I can have a look later, if recursive deletes can be implemented.

Hi, @Abdullah0297445.
Thanks for your report.
Originally, this library has not been designed for complex recursive manipulations. It's purpose is to make effective one-level queries returning the result. It's more like django's QuerySet.update(**updates) method which doesn't emit any signals or procedures like Model.save() method does.
Though I can have a look later, if recursive deletes can be implemented.

oh alright got it. Okay then. Thank you for the response :)

oh alright got it. Okay then. Thank you for the response :)

Recursive operations combined with returning also leave some unobvious questions:

Should I return only called model results or also those, which were deleted recursively?
How to return them: with single ReturningQuerySet  or a list/tuple/dict of QuerySet? May be should look int django's QuerySet.delete() implementation.
If I change structure returned, how to leave everything back compatible?

P. s. I write it here, for future me =)

Recursive operations combined with returning also leave some unobvious questions:

Should I return only called model results or also those, which were deleted recursively?
How to return them: with single ReturningQuerySet  or a list/tuple/dict of QuerySet? May be should look int django's QuerySet.delete() implementation.
If I change structure returned, how to leave everything back compatible?

P. s. I write it here, for future me =)

Decided not to implement this as there are a lot of questions in realisation and also it requires difficult inside logic.


When a hub cannot be created longPolling transport returns 204 instead of an error.

The hub could not be created and the server closed the connection. In case of longPolling the connection was closed with 204 even though there was an error.
For SSE server returns 404: GET http://localhost:5000/notification/sse?id=2d19ab96-1679-485d-b8df-0bd9bcbed0fd 404 (Not Found) - does not seem to be correct.
For websockets transport the the webSocket is closed with 1011 (which is correct)

fail: Microsoft.AspNetCore.SignalR.HubEndPoint[0]
      Error when invoking OnConnectedAsync on hub.
System.InvalidOperationException: Unable to resolve service for type 'Microsoft.AspNetCore.Http.IHttpContextAccessor' while attempting to activate 'SignalRCoreTest.NotificationHub'.
   at Microsoft.Extensions.Internal.ActivatorUtilities.ConstructorMatcher.CreateInstance(IServiceProvider provider)
   at Microsoft.Extensions.Internal.ActivatorUtilities.CreateInstance[T](IServiceProvider provider, Object[] parameters)
   at Microsoft.AspNetCore.SignalR.DefaultHubActivator`2.Create()
   at Microsoft.AspNetCore.SignalR.HubEndPoint`2.<HubOnConnectedAsync>d__9.MoveNext()
info: Microsoft.AspNetCore.Sockets.Transports.LongPollingTransport[0]
      Terminating Long Polling connection by sending 204 response.
fail: Microsoft.AspNetCore.Sockets.ConnectionManager[0]
      Failed disposing connection e4eb6bf0-b08c-4899-a8ba-04648ec1f114
System.InvalidOperationException: Unable to resolve service for type 'Microsoft.AspNetCore.Http.IHttpContextAccessor' while attempting to activate 'SignalRCoreTest.NotificationHub'.
   at Microsoft.Extensions.Internal.ActivatorUtilities.ConstructorMatcher.CreateInstance(IServiceProvider provider)
   at Microsoft.Extensions.Internal.ActivatorUtilities.CreateInstance[T](IServiceProvider provider, Object[] parameters)
   at Microsoft.AspNetCore.SignalR.DefaultHubActivator`2.Create()

Also each time it happens you will see:
fail: Microsoft.AspNetCore.Sockets.ConnectionManager[0]
      Failed disposing connection 828a02d2-ba1f-4a62-aaa1-6e8f45a43db0

That's part of this  https://github.com/aspnet/SignalR/issues/158.
With respect to error handing we need to describe:

What happens the end point throws for each transport
What happens when the transport throws
What happens if the end point doesn't exist (404 seems appropriate)
Do we ever surface 500s to the client?

On the client in case of errors we close the connection passing an error as an argument.

The server is the same deal but that doesn't help the client connected to the server.

Are you talking about https://github.com/aspnet/SignalR/blob/8022afd3a2644237d597b6664f553871c69a1666/src/Microsoft.AspNetCore.SignalR/Hub.cs#L69? Because it is not the same - this is only for the user to know that the connection was not closed cleanly. Closing the connection itself should signal an error in a transport specific way (i.e. 500 for longPolling and serverSentEvents and non-1000 close status for webSockets (which already works).

I'm talking about this https://github.com/aspnet/SignalR/blob/eafbe741609981cdcf6b6f28d45cb2f50126750d/src/Microsoft.AspNetCore.Sockets/Internal/ConnectionState.cs#L54-L63

@moozzyk This is fixed right?

We need to verify/add tests for the scenarios you pointed in your comment.

Turns out we have a test for this https://github.com/aspnet/SignalR/blob/13ef35fa79f3e52453868ef7421e46d58b5c5242/test/Microsoft.AspNetCore.SignalR.Tests/EndToEndTests.cs#L203

Hi, I am getting this error on ubuntu server with Nginx. The Same code is working in IIS Express. What can be the issue?

Hi, I am connecting from Xamarin Client.

Soled by adding proxy_set_header Connection "Upgrade" in nginx configuration.


ux-components: registering plug-in throws an error

I'm submitting a bug report

Library Version:
0.5.1

Please tell us about your environment:

Operating System:
Windows 10

Node Version:
6.2.0

NPM Version:
3.10.3

JSPM OR Webpack AND Version
webpack-3.8.1

Browser:
all

Language:
all

Current behavior:
Registering plug-in @aurelia-ux/components:
export function configure(aurelia: Aurelia) {
    aurelia.use
        .standardConfiguration()
        .plugin(PLATFORM.moduleName("@aurelia-ux/components"));

    aurelia.start().then(() => aurelia.setRoot(PLATFORM.moduleName('app/app')));
}

throws an error:
Uncaught (in promise) Error: Unable to find module with ID: @aurelia-ux/components/ux-button
    at WebpackLoader.<anonymous> (aurelia-loader-webpack.js:187)
    at step (aurelia-loader-webpack.js:36)
    at Object.next (aurelia-loader-webpack.js:17)
    at aurelia-loader-webpack.js:11
    at new Promise (<anonymous>)
    at 85.__awaiter (aurelia-loader-webpack.js:7)
    at WebpackLoader.85.WebpackLoader._import (aurelia-loader-webpack.js:152)
    at WebpackLoader.<anonymous> (aurelia-loader-webpack.js:252)
    at step (aurelia-loader-webpack.js:36)
    at Object.next (aurelia-loader-webpack.js:17)

Expected/desired behavior:
All components defined in aurelia-ux are registered and ready to use without any additional registration.

Resolved by https://github.com/aurelia/ux/commit/e7a69d2d5bdd531f05ace3f4cce4f6d40ed2b565


Confusing mistake when processing more than 32 dynamic tables within a single query

https://gist.github.com/zlobober/c5f782152cc19f10232730401b4b436f
Such mistake occurs when there are more than 32 (aka spark.sql.sources.parallelPartitionDiscovery.threshold) dynamic tables to process simultaneously.
First of all, the mistake is very confusing; if any kind of a safe limit prevents a query from executing, it should be clear which limit is exceeded and (ideally) which parameter is responsible for this limit.
Second, it is not clear why dynamic tables are any different from static tables here.
Third, it is unclear how is this issue related to the (opt-in) feature of using partition_tables call for slicing both static and dynamic tables. Since this option erases any distinction between static and dynamic tables, it looks like enabling it either fixes both static and dynamic cases, or breaks them simultaneously.

Issue was solved in this commit: https://github.com/ytsaurus/ytsaurus/commit/f8c6833e006f1edaa5ca2d3092daf74b86c35bd6 .
Information is in description.
Briefly: default was increased, partitioning support was added.


Next benchmark

I'll put issues at here which is happened during running a next benchmark.
Issues

Cannot start django with following error

  File "/Users/taichiro/.anyenv/envs/pyenv/shims/gunicorn", line 3
    [ -n "$PYENV_DEBUG" ] && set -x
                      ^
SyntaxError: invalid syntax

Python frameworks failures
Please DO NOT Re-enable django and flask until successfully executing
./bin/benchmarker django -r 1000
./bin/benchmarker flask -r 1000

Note: They can be successfully executed with few requests such as 100

Done.


Remove core-dtype from CML

We no longer need the core-dtype entry in the CML as it is the same as the dtype entry for a Cube.
This is because within Cube._xml_element:

the core-dtype entry calls Cube.core_data().dtype, and Cube.core_data calls Cube._data_manager.dtype, which calls `DataManager.core_data().dtype
the dtype entry calls Cube.core_data().dtype, which is the same call chain as above.

No need to do this in the dask branch. We can do it on master once all merged back.

PR: #2823


[BUG] Concat should be replaced with concat_ws in sqlserver from dbtVault version 0.9.1 onwards (version 0.9.0 is working and older ones)

Describe the bug
From version 0.9.1 concat_ws is replaced with concat in hashed views in sqlserver. It gives an error: [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]The concat function requires 2 to 254 arguments.
Environment
dbt version: dbt-core 1.3.3, dbt-sqlserver 1.3.1
dbtvault version: >= 0.9.1
Database/Platform:  Microsoft SQL Server Standard (64-bit) 15.0.2101.7, Debian 5.10.127-2 (2022-07-23) x86_64, Python 3.9.2
To Reproduce
Steps to reproduce the behavior:

Dbt run
See error

Expected behavior
Concat should be replaced with concat_ws to support more than 254 concanated fields
Screenshots

Log files
In progress or failed ('42000', '[42000] [Microsoft][ODBC Driver 17 for SQL Server][SQL Server]The concat function requires 2 to 254 arguments. (189) (SQLMoreResults)')
Additional context
https://github.com/Datavault-UK/dbtvault/blob/master/macros/internal/metadata_processing/concat_ws.sql
Concat_ws has been in SQL Server 2017 (14.x) and later versions
https://learn.microsoft.com/en-us/sql/t-sql/functions/concat-ws-transact-sql?view=sql-server-ver16

Hi! Thanks for this.
We were originally implementing this using concant_ws however we had issues with consistency across platforms, as not all platforms have concat_ws available.
Saying this, I completely agree it should still be used where supported, and the limitations on other platforms with the regular concat documented in our docs. The downside is inconsistency across platforms, however, I think this is better than the alternative of the dbtvault cocat macro not working at all for large concatenations on some platforms.
We shall add this to the backlog and get it out in a release soon. Thank you

Is there anyway to get this implemented? I'm not able to upgrade to automaDV versions at all. I have to use dbtvault 0.9.0 with our sqlserver implementtion because of the limit of 254 catenated strings.

Is there anyway to get this implemented? I'm not able to upgrade to automaDV versions at all. I have to use dbtvault 0.9.0 with our sqlserver implementtion because of the limit of 254 catenation strings.

Hello! We've implemented and tested this and it'll be in the next release (this week!). My only advice would be that even though this fixes it, consider reviewing your model or splitting your satellites a bit more - hundreds of columns in a hashdiff or a primary key is a sign of an incorrect data model or a very overloaded satellite.
Thanks for your patience on this one!

Fixed and released in v0.11.0, Thank you for your patience on this one!
If the issue persists, please re-open this issue.


Call parent function

Hi,
i'll like to know if is possible to refresh a PM::TableScreen from a child??
for example, if i'm in a detail view, i want then closing this call a function on the parent to refresh the data, i tried different ways but without success, any hint??
Thank you.

oh of course!! close and on_return will do the trick.....

You got it!


macOS

Hi,
since this library works on iOS and the macOS Bluetooth framework should be the same (afaik), would it be possible to use this library together with react native for mac (1)
#Thanks!

https://github.com/ptmt/react-native-macos

Hello,
That's correct. This library is based on RxBluetoothKit, which already supports macOS. However I'm not sure how to resolve building difficulties on iOS/macOS systems. As you probably know during npm install process custom shell scripts is executed which currently builds iOS only frameworks. Unfortunately this process is quite long with carthage and I'm not sure if I want to delay it even more with macOS libs.
Ideally we could download prebuilt versions of frameworks, however ABI for Swift is not stable yet.
I would appreciate any suggestions.

Hi,
tbh honest i am relatively new to react native, so i have still a lot to learn. I am in the stage of evaluating react native for a future project. Being able to use this lib also on mac would be a hue plus for us.
Does this build only happens upon installation or with every compilation of the app?
Thanks!

Quick answer is that there is nothing in current codebase which will not allow using this library with macOS. During npm install process iOS frameworks are built by default and they need to be rebuild each time react-native-ble-plx library is updated, to be sure that JS API and ObjC/Swift APIs are in sync.
Currently to support macOS after installation you can go to node_modules/react-native-ble-plx/ edit build_io_frameworks.sh and change platform to Mac. Relaunch this script and as a result in folder ./ios/BleClientManager/Carthage/Build/Mac/ there will be macOS frameworks. Last step would be to change paths in Xcode project from iOS to Mac which are mentioned in README.md file.
However this procedure is not user friendly and the question is how user should select version of frameworks. We could build iOS and Mac together but it will extend setup time which can be annoying when using CI for building. On the other hand we can force user to launch custom scripts after npm install but he or she needs to remember to do it after every library update to not break things.

For anyone trying to get this package working wth react-native-macos, here's what I learned so far:

The Base SDK needs to be changed in both BleClientManager.xcodeproj and BleClient.xcodeproj to target "Latest macOS".  Otherwise ./build_io_frameworks.sh will error with Dependency "BleClientManager" has no shared framework schemes for any of the platforms: Mac
Comment out references to RestoredState in the BleClientManager project.  RxBluetoothKit only exports this type and the associated methods when building for iOS, and you will get undefined type errors otherwise.
"Header Search Paths" in BleClient.xcodeproj needs to be modified to target react-native-macos instead of react-native.  e.g. $(SRCROOT)/../../react-native-macos/React

I called it quits when getting 'React/RCTDefines.h' errors when trying to build BleClient.  Interested to hear if anyone gets it working.


Expo/Android: ERR_FILE_NOT_FOUND

hi,
my issue seems similar as the others, I am on Expo / android 10
no error message in console but only on the screen :

code :
return isLoading ? (
    <ActivityIndicator />
  ) : (
    <LeafletView
      onError={() => message.log(error)}
      /* loadingIndicator={() => {
        return <ActivityIndicator />;
      }} do not work */
      mapCenterPosition={{ lat: [lat], lng: [long] }}
    />
  );
};

Remark on installation :
I had to add the module : "react-native-webview"
remark doc :
I did not understand what to put to catch the error  and also for the loading indicator
packkson.js : joined
package.zip
tell what simple to do to help.
regards
William

I had called that with the coodinates of Paris :
"lat": 45.5563131,
"lng": 5.5238953,

I had called that with the coodinates of Paris :
"lat": 45.5563131,
"lng": 5.5238953,

+1

if we remove the onError catch, we have the following warning in console :
coming from the navigation I have installed ("canGoBack" comes from navigation.route)
"
Encountered an error loading page, Object {
"canGoBack": false,
"canGoForward": false,
"code": -1,
"description": "net::ERR_FILE_NOT_FOUND",
"loading": false,
"target": 835,
"title": "",
"url": "file:///android_asset/leaflet.html",
}
at node_modules\react-native\Libraries\LogBox\LogBox.js:118:10 in registerWarning
at node_modules\react-native\Libraries\LogBox\LogBox.js:64:8 in warnImpl
at node_modules\react-native\Libraries\LogBox\LogBox.js:37:4 in console.warn
at node_modules\expo\build\environment\react-native-logs.fx.js:18:4 in warn
at http://<IP_ADDRESS>:19000/node_modules\expo\AppEntry.bundle?platform=android&dev=true&hot=false&strict=false&minify=false:160928:22 in onLoadingError
at node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:93:4 in invokeGuardedCallbackProd
at node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:318:2 in invokeGuardedCallback
at node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:342:2 in invokeGuardedCallbackAndCatchFirstError
at node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:439:41 in executeDispatch
at node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:463:19 in executeDispatchesInOrder
at node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:2563:28 in executeDispatchesAndRelease
at node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:1214:4 in forEachAccumulated
at node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:2588:20 in runEventsInBatch
at node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js:2735:18 in runExtractedPluginEventsInBatch..
"

https://github.com/pavel-corsaghin/react-native-leaflet/issues/15 also had this issue. It was closed because of the workaround of not using expo. Currently I am unfortunately too busy to look into this in more depth...

I think you misunderstood me: There is an issue here and we should at least investigate if using this library with Expo is feasable. I think it would be a good idea to reopen this issue (and maybe change the name to "Expo/Android: ERR_FILE_NOT_FOUND" or something similar), so that other people will also see it and that it is not forgotten (until the next person runs into it)

Hi, are there any news on the above issue ERR_FILE_NOT_FOUND  - I am facing the same
Thanks

too old, not working any more on those modules - no result - stop

This is a shame. There is really no viable open source alternative out there. So I am using this module.  Maybe you could give us some directions where the problem lies and what may be the solution and one of us that are facing the issue could work on a fix. Thanks

Found a solution here:
https://github.com/pavel-corsaghin/react-native-leaflet/issues/8#issuecomment-1435787897


Virtual threads support

This is still just an idea though, it would be nice to support virtual-threads based partition concurrency
https://openjdk.org/jeps/444

fixed by #224


Fix MapById::lower_bound function and implement test to reproduce the bug

This fixes the bug that has been faced during localization with an initial pose and a trimmed map (OverlappingSubmapsTrimmer2D has been used). A small test is added that reproduces the problem (an infinite loop) where a trimmed trajectory (MapById instance) is used.

@googlebot I consent.

@mgladkova Sorry that I just went in and changed your PR. I was not expecting a quick reaction from your side after this PR has been sitting around for a year. Do my proposed changes look good to you? If they do, and if CI passes, I would merge.

Hi Wolfgang, thanks for the review. We have been using this patch on our robots since a year and haven't experienced a crash due to this anymore. So I'd say let's get this merged (@mgladkova wrote this as an intern at Magazino, so I'm speaking on behalf of her since she's not working on this project anymore)

Is this repo now alive again? I know that it's not maintained by the ex Google team anymore and the last time I talked to Christoph last summer it was unclear how to proceed. Are there any plans yet? Also, regarding cartographer_ros.
We have since been working exclusively with our forks and it would be good to know if it's worth to put efforts in pull requests again. Would be also good to communicate to others: #1675

@MichaelGrupp Okay, merged.
You might have noticed that the project is now at https://github.com/cartographer-project. Together with https://www.openrobotics.org/ we are currently figuring out how to best proceed. Hopefully I can share more soon. If you want to be involved, just let me know.
Regarding PRs: yes, please send them. I expect things can be a bit slow at least for the next weeks.

Good to hear that. I would be interested in participating, e.g. doing some kind of co-maintainership of cartographer_ros or other things. A community effort is the way to go on here IMO.
Feel free to contact me via e-mail for more: gruppmagazino.eu

thank you, @wohe , for your corrections and the long-awaited review!


Replaced deprecated module pkg_resources

Removed in Python 3.12. Use importlib instead

With that and the previous MR for netifaces, we get access to all Python versions including 3.13


Event Grid: Is there any viewer to view failed events for analysis

Library name and version
latest version
Query/Question
Hi Team,
Is there any viewer to see failed events for further analysis purpose.
How to re-trigger dead letter events through azure function app ?
Like published events we can see by using this resource : https://learn.microsoft.com/en-us/samples/azure-samples/azure-event-grid-viewer/azure-event-grid-viewer/
Environment
No response

Deadlettered events will be delivered to your configured blob container. You can create an Event Grid Subscription on your storage account that listens for Blob Created events and deliver these events to either a webhook (as in the Event Grid Viewer example) or any other endpoint type. Here is a sample I found that shows how to create Event Grid Subscription that use DeadLettering as well as demonstrating how to use the EventGridTrigger in a webhook to listen to these events. Note you can also use the EventGridTrigger directly in an Azure Function which would mean you wouldn't need to handle the handshake yourself.

Hi Team,
Want to understand dead letter processing.
I have configured dead letter processing to azure blob storage account.
While doing analysis I observed that dead letter file content is look like below and it is array.
What is the meaning of array here is there any chance of multiple values exists inside array ?
[
{
"id": "ae961b92-d721-4912-9d1d-a7348f3219e7",
"eventTime": "2023-04-28T11:07:54.9413090Z",
"eventType": "Example.EventType",
"dataVersion": "1.0",
"metadataVersion": "1",
"topic": "/subscriptions/XXXXX-XXXX-XXXXX/resourceGroups/TEST-RG/providers/Microsoft.EventGrid/topics/demoevntgrid",
"subject": "ExampleEventSubject",
"deadLetterReason": "MaxDeliveryAttemptsExceeded",
"deliveryAttempts": 11,
"lastDeliveryOutcome": "GenericError",
"publishTime": "2023-04-28T11:07:57.0853461Z",
"lastDeliveryAttemptTime": "2023-04-28T21:59:02.9106808Z",
"data": "Running sample and this is the event data 28-04-2023 11:07:54"
}
]

Event Grid defaults to sending one event in array, but can be configured to use batching.
Any events that you receive would represent events that have already moved to the DeadLetterQueue, so I'm not sure what you mean by there being a possibility of partial success.


Revert "Sanity check that tests declared non-polling actually don't poll"

Reverts grpc/grpc#12953
because I pressed the merge button on the wrong PR

Let it go....


pip check fails with pip==24.2: certipy 0.1.3 is not supported on this platform

Issue
Running a pip check in a fresh conda environment with latest pip==24.2 reports a problem that's likely caused by invalid wheel metadata. More info and discussion can be found on this issue:
https://github.com/pypa/pip/issues/11054
To reproduce
$ conda create -n test pip=22.4 certipy
$ conda activate test
$ pip check
certipy 0.1.3 is not supported on this platform

Note that pip check does not fail if the certipy package is installed with pip from PYPI.

Just for posterity, it looks like the problem was an incorrect Python tag specified in the WHEEL metadata file. Here's how it was:
 Wheel-Version: 1.0
 Generator: bdist_wheel (0.33.1)
 Root-Is-Purelib: true
 Tag: cp37-none-any

And here's the new build, that has correctly switched from cp37 to py3
  Wheel-Version: 1.0
  Generator: setuptools (72.1.0)
  Root-Is-Purelib: true
  Tag: py3-none-any


don't import app to get version in setup.py

this means you can install hockeyapp without needing requests installed first

@sjhewitt sorry, just saw this! looks good, merging


Eslint takeover

Integrated ESLint with the Airbnb preset. 😓
@bogdanstefan @flaviusone @RadValentin wdyt?

/* eslint-env browser, mocha */
/* eslint-disable
  global-require,
  no-unused-vars,
  no-unused-expressions,
  import/no-unresolved,
  import/no-extraneous-dependencies
*/
/* global expect, sinon */

It seems that you have something like this in almost every test file. Why don't you make a custom eslintrc file just for the test folder that will dedupe a lot of this rules?

LGTM otherwise ¯_(ツ)_/¯

I know that the airbnb wants it like this but it still hurts 😆.

Hurts because you're not writing javascript ma friend:) 👔 🎉

Just curious, why disable no-unused-vars in tests and not remove them?
Anyway, looks beautiful now. 👏

👍  to what @flaviusone said, maybe you could do something about the annotations? Tests could do with a separate config. Other that that looks good!

👌


SocketTimeoutException not handled by A2S#getServerInfo / A2S#sendData

When the server is offline:
A2S#sendData: datagramSocket.receive(receivePacket); throws SocketTimeoutException
Which is not handled by A2S#getServerInfo

https://github.com/Antonio112009/Steam4J/blob/cd9124c952cdaba87bca8ae489cde50cfef883f0/src/main/java/com/antonio112009/steam4j/core/a2s/A2S.java#L54


[ERR_INVALID_ARG_TYPE]

Description
Keeping getting an error:
Failed to notarize the asset: TypeError [ERR_INVALID_ARG_TYPE]: The first argument must be of type string or an instance of Buffer, ArrayBuffer, or Array or an Array-like Object. Received undefined.
Tried passing strings and json bodys too. Currently using this
const assetBuffer = Buffer.from(
JSON.stringify(assetEnvelope),
'utf-8'
)
Using Sigstore-js latest version, same issue with @sigstore.sign

Based on the error, it would appear that the OIDC token that is being passed-in is either missing or not in the right form. The OIDC value should be a JWT.
It's difficult to debug further without more context, but I am going to improve the error handling around this case so that you can at least get some more helpful information when this happens.


Add expo swr example

this doesn't currently work I just did a quick POC so there is an example there

@andreimc thanks for this! Can you explain what's not working?

Can you try updating SWR?
npm i<EMAIL_ADDRESS><EMAIL_ADDRESS>

Logs for your project will appear below. Press Ctrl+C to exit.
iOS Bundling failed 490ms
Unable to resolve "@wundergraph/sdk/internal" from<EMAIL_ADDRESS>

I get the above now with this config in metro

Just tried to run IOS with this config and it's running, but I do get some errors. Object.entries is not a function, it should be supported on recent IOS versions. I'll need to investigate a little more.
 LOG  {"data": undefined, "error": [TypeError: queryParams.entries is not a function. (In 'queryParams.entries()', 'queryParams.entries' is undefined)], "isLoading": false, "isValidating": false, "mutate": [Function anonymous]}
 LOG  {"data": undefined, "error": [TypeError: queryParams.entries is not a function. (In 'queryParams.entries()', 'queryParams.entries' is undefined)], "isLoading": true, "isValidating": true, "mutate": [Function anonymous]}

My package.json updated to all latest wundergraph packages.
{
  "dependencies": {
    "@expo/webpack-config": "^0.17.2",
    "@wundergraph/sdk": "^0.123.2",
    "@wundergraph/swr": "^0.7.2",
    "expo": "^47.0.0",
    "react": "18.1.0",
    "react-dom": "18.1.0",
    "react-native": "0.70.5",
    "react-native-web": "~0.18.7",
    "swr": "^2.0.0-rc.0"
  },
  "devDependencies": {
    "@babel/core": "^7.19.3",
    "@types/react": "~18.0.24",
    "@types/react-native": "~0.70.6",
    "typescript": "^4.6.3"
  },
  "scripts": {
    "wunder": "wunderctl up --debug",
    "generate": "wunderctl generate --debug",
    "wunderctl": "wunderctl",
    "start": "expo start",
    "android": "expo start --android",
    "ios": "expo start --ios",
    "web": "expo start --web"
  },
  "version": "1.0.0",
  "private": true,
  "name": "expo-swr"
}

The URLSearchParams API inside the expo app is incorrect. But i'm not sure why this is shimmed, the official web standard is supported in Safari / Webkit since version 10.

The Hermes URLSearchParams implementation seems to be compatible, but i can't get it to work with hermes, my knowledge of react native also is limited here.
https://github.com/facebook/hermes/blob/3d8c0972e72fbf6bf09dd366c5e7844d472d0997/tools/node-hermes/nodelib/wrappers/internal/url.js

Fix:
npm i url-search-params-polyfill

Add this to the project somewhere:
import 'url-search-params-polyfill';

To make live queries and subscriptions work you need to polyfill as well.
npm i event-source-polyfill

import { NativeEventSource, EventSourcePolyfill } from 'event-source-polyfill';
global.EventSource = NativeEventSource || EventSourcePolyfill;


Override fssepc#exists default implementation to optimize performance

Is your feature request related to a problem? Please describe.
The default implementation of fsspec#exists utilizes the info object, while the default info API lists the parent, presenting significant performance risks and a rather convoluted implementation. TOS provides an interface for directly obtaining the metadata of a specific object, and this API can be directly used for implementation.
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

#19


[Feature request] Also redirect http to https when route is not found

Also redirect http to https when respondNotFound is triggerd,
see here https://github.com/OptimalBits/redbird/blob/master/lib/proxy.js#L189

I'll close it my self, because i did not thought enough about it why there is no redirect.


[FIX-UT-FAIL]fix case

fix case: KvmGlobalConfigCase  for UT-FAIL
原因：有人修改了env中的配置，导致UT失败。

This patch fix KvmGlobalConfigCase. Other failure cases will be fixed in other patches. So manually merge it.


Restore the Windows-specific event loop bug workaround

Bug Description
#95 removed the __set_event_loop() helper, after a review of the Python 3.8 documentation revealed that it was no longer necessary.
It's still necessary.
Steps to Reproduce

Buy a Windows machine
Using the Windows machine, import the fideslog Python SDK into a project
Observe that errors are thrown when sending analytics events

Expected behavior
Python documentation should be accurate. Errors should not be thrown on Windows.
Environment

OS: Windows

Additional context
The helper should be reinstated as a @staticmethod on the AnalyticsClient class.

Blocks ethyca/fides#1660.


[Umbrella] [seatunnel-web] integration with airflow

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Search before asking

[X] I had searched in the issues and found no similar issues.

Describe the proposal
integration with airflow
Task list

[ ] job

[ ] define
[ ] execute
[ ] online
[ ] offline
[ ] delete
[ ] list

[ ] task

[ ] kill
[ ] rerun
[ ] getLog
[ ] ...

Are you willing to submit PR?

[X] Yes I am willing to submit a PR!

I want to participate in this feature development

I want to participate in this feature development too!


can't parse back from JSON

Hi,
I am having trouble parsing back the JSON:API I write with jsonapi.
This is the JSON.
{"meta":{"created":"2023-07-31T13:09:13Z"},"links":{"self":"/path/85699a3b-fe81-41bc-aae0-9ea4aa0b15ca"},"data":{"type":"job","relationships":{"files":{"data":[{"type":"file","id":"export.csv"}]}},"attributes":{"status":"Completed","jobId":"85699a3b-fe81-41bc-aae0-9ea4aa0b15ca"}},"included":[{"type":"file","id":"export.csv","attributes":{"filename":"export.csv","location":"oci://path/export.csv"}}]}
all code is basically a copy/paste from the README examples. I am getting this error, in one project:
com.squareup.moshi.JsonDataException: Required value 'id' missing at $.included[0].attributes
and I also get a similar error in another, with a different JSON:
Required value 'id' missing at $.data[0].attributes
any idea why it is happening?

+1
can't deserialize valid JsonAPI string into a Document if included exists in JSON.
If included is removed, then data.relationships are not deserialized :/

looks like all the fields on the resource object must be nullable.
For example, I use Kotlin, so every field on a @Resource annotated class (including relationship resources) must be nullable
data class FileResource(
    @Id
    val id: String? = null,
    val filename: String? = null,
    val location: String**? = null**
)

Yes, fields have to be nullable due to the nature of deserializing JSON to objects. When the object is created some value has to be assigned to the field, if the value is not present in JSON (there is no guarantee for it) then the field will be null.
There are other assert statements that will check if the deserialized resource object is valid according to JSON:API specification - for example from the specification:

A “resource identifier object” MUST contain a type member. It MUST also contain an id member, except when it represents a new resource to be created on the server. In this case, a lid member MUST be included that identifies the new resource.

And for ResourceIdentifier in the library there is
  init {
    require(type.isNotBlank()) {
      "A resource identifier MUST contain a type member but was blank."
    }
    require(!id.isNullOrBlank() || !lid.isNullOrBlank()) {
      "A resource identifier MUST contain an 'id' or 'lid' member but both were null or blank."
    }
  }

There are other checks ensuring that deserialized type is matching what is annotated on the deserialized object, etc.

@MarkoMilos
There are other checks ensuring that deserialized type is matching what is annotated on the deserialized object, etc.
in my case, it checks only if type is present but isn't really checking if its a match with annotation.
Request payload:
{
    "data": {
        "type": "asfafasg",
        "lid": "0",
        "attributes": {
            "name": "Rocket"
        }
    }
}

Resource:
@Resource("myResource")
data class MyResource(
    @Id
    val id: String? = null,
    val name: String? = null,
)

Mvn Dependency:
<dependency>
                <groupId>com.markomilos.jsonapi</groupId>
                <artifactId>jsonapi-adapters</artifactId>
                <version>1.1.0</version>
            </dependency>

The rest, including relationships and including maps perfectly.


[FEATURE]: Add categorical view to FAQ

Description of the change

FAQ now viewable in each category
Updated the CSV format

Note 1: only excludes the value in csv if all fields are omitted
Note 2: expects each language to have a pair question and answer
Note 3: expects to have the categories header column
Note 4: the question header column must follow this syntax "Question (LANGUAGE_NAME)"
Note 5: the answer header column must follow this syntax "Answer (LANGUAGE_NAME*)"
Note 6 (optional): the question and answer header are designed to be easily reconfigured to accept different header format eg: "Question --- LANGUAGE_NAME" or "Answer --- LANGUAGE_NAME"

Fixed overlapping animation in FAQ
Updated the UI Layout of FAQ
Updated the design of scrollbar across the site.
Closes #176

Screenshots
Current Design (light mode):

Proposed changes (light mode):

Current Design (dark mode):

Proposed changes (dark mode):

Checklist
I agree to the following :-

Added description of the change
I've read the contributing guidelines
Search previous suggestions before making a new PR, as yours may be a duplicate.
I acknowledge that all my contributions will be made under the project's license.

Notes (optional):

Oh wait I need to fix the mobile view.

This looks really good. ❤
Found an issue (maybe).
if i open one question in a tab it remains open for all the other tabs as well
for eg - opened first question in For Everyone

First question is already open after selecting For Creators

This looks really good. ❤ Found an issue (maybe). if i open one question in a tab it remains open for all the other tabs as well for eg - opened first question in For Everyone  First question is already open after selecting For Creators

Good catch, I'm working on it.

Can we extend this, so we don't need to scroll?

Sure, I'll see what I can do. 👍🏻 I did try to keep things concise so it looks neat design-wise.
I also notice that in your given example in #176 they're not fully extending the category, I believe this is related to design and they want to keep things concise. This is where I got my idea.

Can we extend this, so we don't need to scroll?

Sure, I'll see what I can do. 👍🏻 I did try to keep things concise so it looks neat design-wise.
I also notice that in your given example in #176 they're not fully extending the category, I believe this is related to design and they want to keep things concise. This is where I got my idea.

Heheh yeah sorry about that, I don't recommend scroll but if there's no more choice, let's choose that.

I updated the category styles, it still looks good to me.

It looks good because you are also good smile I approved new changes, I think there's still a request above. Will keep looking at this

Glad to hear that ❤. What request? Are you refering to @AbhinavMV's concern? I already fixed that one too.

Yep, I see and check now. Everything looks good to me


Update params for server

closes #849

server.clj:

Lines 39,42: Allow -p and -P to be integers as well, so that
start-server! can be called more easily from the REPL.

:parse-fn #(if (int? %) % (Integer/parseInt %))

Line 41: "Port for https (e.g. 8443)"
Line 46: #(or (= % "prod") (= % "dev")) -> #{"prod" "dev"}
Line 49: No need for a dummy _ binding in map destructuring. These
are only useful for positional arguments in list destructuring.
Lines 59-61: Don't tie https to mode=prod. We specifically need to
be able to run production mode with http only on our Raspberry Pi.
This also makes it possible to test advanced mode compilation on our
local machines without https. Also note that the :parse-fn and
:validation functions ensure that :https-port will be an integer in
range if specified.

https-port (:https-port options)

Line 65: (when (and https-port has-key?)
Line 71: (if (and https-port (not has-key?))
Lines 72-77: Remove mode-specific conditional logic:

(println "ERROR:\n"
         " An SSL key is required if an HTTPS port is specified.\n"
         " Create an SSL key for HTTPS or run without the --https-port (-P) option.")

README.org:

Update documentation for :run-server alias.


Editor option to start line number with zero

Reopening: https://github.com/microsoft/vscode/issues/79124
An option to configure an offset for the line number. e.g. "editor.lineNumberStartingIndex": 0 would start the displayed line numbers at 0. The default would be 1.

This would be useful when working with compiler spans that start line numbering at 0. I'm not sure if there's a use case for starting the line number at anything other than 0 or 1, but it wouldn't hurt to make it configurable with an offset.

Duplicate of #144942?

Duplicate of #144942?

/duplicate

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.
Happy Coding!


pythonPackages.aioesphomeapi: 2.0.1 -> 2.2.0

Motivation for this change
The old version is incompatible with the currently packaged version of home-assistant:
Unable to import esphome: cannot import name 'HomeassistantServiceCall' from 'aioesphomeapi'

https://github.com/esphome/aioesphomeapi/commits/v2.2.0
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS

[x] Fits CONTRIBUTING.md.
[x] tested with personal esphome setup

This is marked as broken based on the protobuf version, so it doesn't want to build in isolation, but nix-build -E 'with import ./. {}; home-assistant.override {extraComponents = ["esphome"];}' seems to work.

backported in e0f36e768b4099de4affc4a03c2a00f35b3e54fb


Always hide crosshair when dead

Previously, the crosshair would show up during the death animation if Always Show Target is enabled or if aiming just before dying.
Preview
Before
https://github.com/fgsfdsfgs/perfect_dark/assets/180032/22623605-b990-42e1-9b3c-375841f178b1
After
https://github.com/fgsfdsfgs/perfect_dark/assets/180032/27c088ba-0817-4212-a50e-6cdf4707b301

Can you retarget this and your other PR to the port branch? I'd really prefer all changes not directly related to networking to be merged in there, so I can downmerge to port-net instead of cherry-picking.
If that's too much of a hassle though, I'll merge it as is.

Can you retarget this and your other PR to the port branch?

Done for both PRs :slightly_smiling_face:


2 - Update CODEOWNERS file for MinaFoundation/mina repository

Won't merge this back in develop as mf-develop branch is now the default branch
I have pushed this commit instead
https://github.com/MinaFoundation/mina/commit/e7e2c07aa9acfd131f2ba968f95189e2983a59f7

Changes applied as part of this commit: https://github.com/MinaFoundation/mina/commit/e7e2c07aa9acfd131f2ba968f95189e2983a59f7


Test Check multiplying by infinity returns infinity

see: https://github.com/bitcoin-core/secp256k1/pull/791/files

Note, that generally the high level API of libsecp256k1 Doesn't support points at infinity, because those aren't valid public keys and don't have any meaningful serialization

This is about the Low level API (ecmult and ecmult_const). It turns out that I was allowing infinity to be passed down to these and then panicking.
The solution is just to check for that and early exit. This is what gmax was suggesting here https://github.com/bitcoin-core/secp256k1/pull/791 (I followed up suggesting it should be applied to ecmult as well).


404 - The requested URL timed out

I get an error 404 when using that URL and my server is not blocking the weserv ips.

https://images.weserv.nl/?url=https://www.gruporikoimoveis.com.br/fotos_imoveis/109/r003117-7.jpeg

Can you help me?

Problem fixed.


Add markup docs Str filters

Filters: https://github.com/wintercms/winter/blob/d2f284ce6476a3b3d81215281488724a735cb35e/modules/system/ServiceProvider.php#L212-L218

You're doing a great job @WebVPF, much appreciated :) ❤