Global filter location and others

This is based off my other commit which is in update, I managed to 'do some bad things'™ to my repo so removed the other pull and branch and recreated it from a diff. Will update this once other one merges. It has a set of changes I have been using in my local obsidian vaults as well as some cleanups.
Learning more things about TypeScript than I wanted to know 😄

@schemar I know that you tend to squash PRs, but if you are minded to accept this one, may I request that you don't squash this one, please?
I find 'git bisect' invaluable if ever I need to track down when a bug or other unexpected change was introduced over the lifetime of a project.
The nice thing about making changes in small increments is that that often, once bisect points to a small commit, you don't even need to launch the debugger, as the change can be evident from the delta.
That would not be the case if this large and wide-ranging PR was squashed in to a single commit.

@schemar I know that you tend to squash PRs, but if you are minded to accept this one, may I request that you don't squash this one, please?
I find 'git bisect' invaluable if ever I need to track down when a bug or other unexpected change was introduced over the lifetime of a project.
The nice thing about making changes in small increments is that that often, once bisect points to a small commit, you don't even need to launch the debugger, as the change can be evident from the delta.
That would not be the case if this large and wide-ranging PR was squashed in to a single commit.

Thanks for the note, @claremacrae. If you end up merging it, you can choose whether to squash or rebase with the little down arrow on the right of GitHub's merge button.

And thank you @sytone! :tada:

This is a bit of a grab bag, wanted to throw it out there, I can cleanup quickly and make separate PRs as needed. This should not go in until the tags PR is completed however.

This is a bit of a grab bag, wanted to throw it out there, I can cleanup quickly and make separate PRs as needed. This should not go in until the tags PR is completed however.

Thank you very much indeed for that comment - much appreciated! ❤

Found the draft link... The drop down in Azure DevOps is more obvious.


[Feature Request]: Module readme tables - show resourceType instead of module name

Description
Show actual provider namespace and resource type instead of module name (kebab-case) in module readme tables. This is for

the root README shown in the repo homepage
the modules README
the wiki module overview

We decided to

Revert the ProviderNamespace & ResourceType back to their original name in the table
Leave the rest as is


Accounts query withTypes ignored - not optimized

Testing on Device Android 28 with 23 accounts, 6 are gmail accounts.
Java
core lib version: latest
Issue:
Accounts API ignores filter by account types(regardless what I input) and always returns EVERY accounts available(i.e 23)
When there're several accounts with sync and sharing thousands of contacts querying all of them is not optimal, also buggy.
Code:
val accounts = Contacts(context).accounts().query()
    .withTypes("com.google")
    .find()

Expected result = 6 gmail accounts
Actual result =  23 accounts(ALL)

Hey! I'll take a look at this.
Besides gmail, what other accounts do you have that contain contacts?

I agree that the account type doesn't matter. The reason why I'm asking for other account types from you aside from just "com.google" is that I also want to create other accounts that can sync contact for myself other than just Google. I've just been mainly using Google accounts for testing so I'm trying to expand my testing reach 😁

Anyways, in the meantime, you can workaround this issue by not using the AccountsQuery API provided in this library. Instead, use the Android AccountManager directly and see if that works for you. This way, you can continue your work while I investigate this issue.
Please let me know if you are or are not seeing the same issue when using the AccountManager 🙏
https://developer.android.com/reference/android/accounts/AccountManager#getAccountsByType(java.lang.String)

I'm able to reproduce this issue using my physical Samsung Galaxy A71 API 33 !
I'll work on a fix!

Oh lol. I found the issue.  No point in processing the rest of the query.
    || visibleAccounts.isEmpty()
) {
    AccountsQueryResult(visibleAccounts)
} else { ... }

The issue is that if accountsPermissions.canQueryAccounts() evaluates to false, meaning you don't have permission to query Accounts, all visibleAccounts is returned without filtering it 🤦
What I also learned from this is that GET_ACCOUNTS_PERMISSION is not required to use https://developer.android.com/reference/android/accounts/AccountManager#getAccountsByType(java.lang.String) I'll keep that requirement for the API there anyways just to be safe.

So, to "workaround" this issue without waiting for the next release, either...
(A) Use the Android AccountManager directly instead of the AccountsQuery API provided by this library.
(B) Make sure that you have GET_ACCOUNTS_PERMISSION when using the AccountsQuery API.
The fix for this will be included in the next release; 0.3.2

This is included in release 0.3.2.


Add FilterPolicy as a property of SubscriptionResource

As per https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sns-subscription.html

Thanks!


[network] Create network-specific node identifier instead of using PeerId

Motivation
network::PeerId, which is an alias for libra_types::AccountAddress, is only a reasonable identifier for validators, since their PeerId can be derived from the corresponding Noise static key that is determined from the Noise handshake.
Validator-operated and public full nodes will not have a verifiable PeerId. In addition, if we want to use LibraNet as a generic client-serve framework (e.g. Validator -> LSR (Libra Safety Rules) communication), we need a node identifier that is independent of the node being a validator.
Possible solution:
When using Noise, deriving the node identifier from the Noise key is a reasonable approach.
When not using Noise, we have 2 options:
(a) self-declared node id: both nodes send each other their respective node id. This is good for consistency if a node connects to multiple other nodes and we want to observe the same id in all places;
(b) randomly generated node id: each node generates a random node identifier for the other node. This reduces chances of collision, but also makes tracing the behavior of a node harder, since the same node will receive different ids at different nodes and across different connections.

closing in favor of #3960


gcloud crashed (ValueError): No JSON object could be decoded

When $HOME/.dockercfg exists but is empty, gcloud command could not decode content and crashes
How to reproduce:
$ echo  > $HOME/.dockercfg
$ gcloud docker ps
ERROR: gcloud crashed (ValueError): No JSON object could be decoded

@JuanCarlosM for reporting!
This repository is specifically for the python library to interact with Google Cloud Platform services and doesn't have anything to do with the $ gcloud command line tool.
I believe that is over at https://code.google.com/p/google-cloud-sdk/issues/list.

opps..., ok forwarded! thanks!

Awsome! Thank you!


question: Is there an option to set the duration of the transition between sliders when autoplay is enabled?

Which OS ?
Kubuntu 18.04
Version
Which versions are you using:

react-native-swiper 1.5.14
react-native v0.60.4

Expected behaviour
When the prop is set to a value, the transition between slides will animate in that time.
I searched and no prop appear to exists for this specific use case.
I do not mean the time to wait to select the next slide, but the time it takes the next slide to animate itself into the active position once autoplayTimeout ticked in.
Actual behaviour
Noop
How to reproduce it>
Noop
Steps to reproduce
Noop

Yes there is use autoplayTimeout ={delay_in_seconds}

@husnaintahir You seems didn't understood what I meant.
I explicitely said that it is not autoplayTimeout what I needed.
What I need is to control the duration of the transition itself, which is too quickly, I mean, when the next slide started to come to the active position until it finally transitions and become at the center of the carousel in its final transitioned position.
Hope that clarifies this use case.


Fixes #1696

Closes #1696

Awesome!

by the way where you able to get sun.security.krb5.debug working?

I dont know yet what logs i should expect. If it is something like
Search Subject for Kerberos V5 ACCEPT cred (HTTP/fqdn@REALM, sun.security.jgss.krb5.Krb5AcceptCredential)
No Subject
Found KeyTab Default keytab
Entered Krb5Context.acceptSecContext with state=STATE_NEW
Looking for keys for: HTTP/fqdn@REALM
Added key: 23version: 1
Found unsupported keytype (3) for HTTP/fqdn@REALM
Found unsupported keytype (1) for HTTP/fqdn@REALM
>>> EType: sun.security.krb5.internal.crypto.ArcFourHmacEType
Using builtin default etypes for permitted_enctypes
default etypes for permitted_enctypes: 18 17 16 23.
>>> EType: sun.security.krb5.internal.crypto.ArcFourHmacEType
MemoryCache: add<PHONE_NUMBER>/000062/XXXXXXXXXXXXXXXXXXXXXXXXXX/user@REALM to user@REALM|HTTP/fqdn@REALM
MemoryCache: Existing AuthList:
#1:<PHONE_NUMBER>/000056/YYYYYYYYYYYYYYYYYYYYYYYYYYY/user@REALM

then yes.

You should be able to see things like this:
https://blogs.oracle.com/blogbypuneeth/resource/kinit_with_keytab_successful.jpg
A quick confirmation would be: do the logs go away when you turn that setting off? If so, that says it.

My log entry above has gone when I disabled sun.security.krb5.debug.

Perfect. All is well that ends well :) Thanks for checking.

Not sure if my setup is somehow broken, but I needed to enable sun.security.krb5.debug via JAVA_OPTS on Tomcat container level. Enabling sun.security.krb5.debug on JcifsConfig seems not work in my setup.

That is possible yes. This is a leftover setting from the past and I am not sure if it was ever used. It tries to do the same thing, but base on your report, looks like it does it too late.


ci(github): add commit lint action to PRs

This is supposed to check every single commit in a PR
for having the correct message format.
Previously the semantic PR action was only checking
the PR title or the first commit message, so you could
get in invalid commit messages by adding multiple
commits post-approval which the semantic PR action
would not check properly.
Signed-off-by: Peter Somogyvari<EMAIL_ADDRESS>

Codecov Report

Merging #1121 (f5b642a) into main (6d9ae53) will decrease coverage by 0.02%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #1121      +/-   ##
==========================================
- Coverage   73.15%   73.13%   -0.03%
==========================================
  Files         245      245
  Lines        8613     8613
  Branches      995      995
==========================================
- Hits         6301     6299       -2
- Misses       1781     1783       +2
  Partials      531      531

Impacted Files
Coverage Δ

...main/typescript/rustc-container/rustc-container.ts
66.29% <0.00%> (-2.25%)
:arrow_down:

Continue to review full report at Codecov.

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

@petermetz Thanks for your commit. LGTM, but could you mind if you tell me how to do when some person would add a commit with invalid commit messages (Does the person have to make the same commit again?)

@petermetz Thanks for your commit. LGTM, but could you mind if you tell me how to do when some person would add a commit with invalid commit messages (Does the person have to make the same commit again?)

@takeutak Thank you!
If a commit message is invalid you have multiple options to fix the issue. The simplest one is to use the --amend flag of the commit command the more involved scenarios with multiple commits might need you to use the reword action from the rebase editor.
Examples both can be seen here and if needed I'm also happy to show it to you via screen sharing: https://docs.github.com/en/github/committing-changes-to-your-project/creating-and-editing-commits/changing-a-commit-message


subprocesses should ignore ctrl-C

Ctrl-C is used a lot on the prompt. Recorders should ignore this.

Fixed in commit 0435494.


Request of a new Menu

Hi,
its nice to have arranged the Tools/Diagnostic in the submenu to which it belongs - but i think one menu just with diagnostic tools and so on would be faster for checking some thing on the normal work progress.
the other points where to find the tools shouldnt beerased - just one compact menu with the tools for fast access should be possible

We'll solve this differently, but I'm not at liberty to discuss yet. Planned for 16.1. :)


Fonts are broken?

HyperTerm htop vs Termite htop (see the dotted graph). Let me know which information you need.
HyperTerm

Termite

The font is Liberation Mono in both screens.

Duplicate 😅 #46

ah. thx. :)


Use TUM data set as input

Hi,
I tried  rosbag play TUMdatset**.bag as input then modified the subscribe topic name of this project  as:
" remap from="/camera/depth/image_raw" to="/camera/depth/image"/"
" remap from="/camera/rgb/image_rect_color" to="/camera/rgb/image_color"/"
then use rviz to subscribe raycasting_image and use a new node to save tsdf data.
but raycasting_image was black and tsdf data contains only zeros.
Any suggestion would help.
Thank you.

@yyxr75 Hi, did you solved this problem and could you teach me how to do this?


Fix Pest execution path in CI

This should resolve issues with the CI. 👍 I'll open a PR for the plugin template as well.

Hmm, interesting. 🤔 Not sure if this is failing due to an old version of PHPStan being installed.

@owenvoke Yes. Can you fix it maybe? Sorry.


Normalize xml response content type

esri/request won't return xml when "handleAs" is "xml" unless the response Content-Type header is either "text/xml" or "application/xml".
Reference: https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest/responseXML
Example code:
// Most of the new ms documents have content type as application/vnd.openxmlformats-*, we need to set these correctly
// For rest of the xml formats, convert them to text/xml, need to be very careful on this
String contentType = con.getContentType();
if (contentType != null && contentType.contains("xml") && !contentType.contains("vnd.openxmlformats")) {
	response.setContentType("text/xml");
}
else {
	response.setContentType(contentType);
}

Is this a problem with the proxy or esri/request?
Looking at the HTTP spec it doesn't seem that sending two Content-Type headers are legal. So, as far as I understand, this means that in this case we would have to overwrite the Content-Type.
Would changing the Content-Type from a vendor-specific one vnd.openxmlformats* to a generic application\xml always be a good thing?  Or should it be something configurable in the proxy?
Vendor specific content types are registered with IANA.

So, as far as I understand, this means that in this case we would have to overwrite the Content-Type.

👍

Is this a problem with the proxy or esri/request?

esri/request is relying on dojo which is relying on the behavior of XMLHttpRequest. This could be changed and this could be made a configurable option in the proxy.

Fixed in all three proxies.  @dasa - can you test?

@dasa - I installed a better fix now that I understand the problem better.
Any WMG OGC servers that use application/vnd.ogc.wms_xml will now have their content-type changed to text/xml.
Test case:
curl --verbose  "http://localhost/resource-proxy/DotNet/proxy.ashx?http://data.wien.gv.at/daten/wms?SERVICE=WMS&REQUEST=GetCapabilities"

Any WMG OGC servers that use application/vnd.ogc.wms_xml will now have their content-type changed to text/xml.

👍 for PHP


harmonize attachment api between mongo and non-mongo case

especially clarify trials-level vs. document-level attachments ...

The key problem is that there is no immediately obvious way to get the attachments for a given document.

I'm working this up for a PR

handled by issue #102


Possible bug in using Batch normalisation

training parameter is not given while initialising tf.layers.batch_normalization.  The training parameter defaults to False. Hence while training the moving mean and moving variance won't be updated.

Since this branch's tf api is <tf2, tf.GraphKeys.UPDATE_OPS and train_op have to be executed before training [ref]. I could not find these updations in the training code.

https://github.com/Belval/CRNN/blob/becd222c2495b109fb598cb4972e1b2cc8080aa6/CRNN/crnn.py#L163

boy，you saved this code


Dependence plots are always shown in Jupyterlab Notebook

Calling
fig, ax = plt.subplots()
shap.dependence_plot(some_index, shap_values, X, ax=ax, show=False)

always displays the resulting plot in my Jupyterlab Notebook. Is there a way around this, as I want to parallelize creating a bunch of plots using multiprocessing.Pool ?
EDIT: I have not used the matplotlib-magic (%matplotlib inline ).

This is something specific to matplotlib itself inside Jupyter. See: https://stackoverflow.com/questions/30878666/matplotlib-python-inline-on-off
Following the advice in that discussion you can just close the current figure to stop the display of the figure.
shap.dependence_plot("rank(1)", shap_values, X, show=False)
pl.close(pl.gcf())


add placeholder numerictextfiled demo #2245

This closes #2245

this PR is a duplicate of #2431, so I've closed it.


User Management | Edit User save phone number |2|

https://trello.com/c/TKrColvH/1057-user-management-edit-user-save-phone-number
The phone number isn't saving when you edit a user's profile.  it works when you put a + at the beginning of the number

 User Management | Edit User save phone number |2|


Standardize default values

Use the default values from the config data model across the codebase.

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.

Flag
Coverage Δ

unittests
92.10% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines
Coverage Δ

src/koffee/cli.py
80.00% <100.00%> (+0.83%)
:arrow_up:

src/koffee/data/config.py
100.00% <100.00%> (ø)


How to run time consuming ML pipelines? - run user specified steps

I am currently using DVC as a ML pipelining framework. I just discovered metaflow and I am seriously considering using it as an alternative to DVC. Before that I just wanted to understand better the checkpointing mechanism and how we can deal with ML pipelines that are time consuming.
Problem statement
Let's take the following 3 steps linear DAG example an let's imagine that the preprocessing step is very long to run:
preprocessing -> model_selection -> evaluation
My current understanding is that, using metaflow, we should encapsulate those three steps in a FlowSpec class to define a DAG. Now let's say that I change a bit the code of preprocessing, like some comments, but I still want its output to be checkpointed and be able only run the DAG from model_selection onward in my next DAG executions.
Is there a way to do this in metaflow?
Ideas I was thinking of

Shall I create a super DAG with preprocessing as a FlowSpec on its own?
Or can I somehow instantiate the DAG and run a single step that reuses the latest version of the artifacts generated by previous steps?

Thanks a lot for the answer :smile: , I'm gonna try this out!


Continue failed upload

User story: As a user, I want to be able to continue a failed upload if anything goes wrong.

Moving to Jira.


import/extensions should have a ignorePackages option

Currently setting import/extensions to always reports the following as an error:
import jQuery from 'jquery';

However, packages default entry point (and extension) should be resolved by the loader, so it doesn't really make sense to do:
import jQuery from 'jquery'/index.js;

This makes sense to me.
Feels like another mode between always and never. A flag wouldn't be meaningful in never mode.

Great! I too want to force extensions only for everything that is not a main entry in package.json
"extensions" : ["error", "always", {allowMainEntry: true}]?
"extensions": ["error", "as-needed"]?
Naming is hard :D

maybe [ "error", "always", "!packages" ]?

Do you have other example of eslint rules with two different string parameters?
I am not comfortable with "!packages", again do you have example of an eslint rule having that sort of string based configuration with a negation?
Why not provide an option object an drop the string based one? Major ftw :D

I think a string and then a flag object is probably ideal. No one is surprised by booleans on an options object.
Or maybe ["error", "always", { packages: "never" }], so it's obvious the object is overriding.
I suppose this new behavior would ignore index.js files too. Not sure how to denote that via the flag override name.

I would not ignore index.js files, only packages.

Sure, but if ./foo/index.js exists,
import { x } from './foo' // acceptable
// vs
import { x } from './foo/index' // definitely still reported

I think of index.js being the default value of package.json/main, but maybe that's just me.

In my project I specifically want to always enforce file extensions on anything that is not the main export of an external package.
Again that's also maybe just me, but this is what I am looking for.

My goal being: when looking at local imports, I never want to ask myself: "Is this a folder? Is this the index.js file?" => always be specific on local

Ah, got it. I'm not sure that the two are distinguishable, ATM (explicit package main vs. implicit folder index file).
Would it be workable if it ignored both? or are you depending on this rule to suss out implicit index references?

Yep for a first start and if it requires a lot of changes it would work for me but ultimately I would love to have something like "disallowImplicit: true" "allowMainPackage: true" :)

Yeah, seems like an anti-version of #394. I'd be up for that, but feels like a separate problem (and rule) than this one, just mandating extensions.

This really is a must-have in order to use this rule.

(note: it's only a must-have if you want to require extensions for files that are the "main" export of packages - the airbnb config's settings forbid JS extensions, and require them for non-JS files, so it doesn't run into trouble here)

@ljharb then I've misunderstood the issue. My understanding is that the OP doesn't want to use the extension on the main export of packages. Are you saying setting always and having import jQuery from 'jquery'; works now?

@SimenB no, i'm saying that if you don't choose "always" for JS files, then it works fine.
This issue only exists when you require extensions on .js files.

Ah, gotcha. I've heard import will require file extension according to spec, that might be wrong, though?
Also: https://twitter.com/mathias/status/861843640615829506

@SimenB in node, import will search for .mjs first. Extensions will continue to be optional, and omitting them will continue to be best practice.

Here's a PR: #827
I went with the "ignorePackages" naming, as an option instead of using "always".  Open to suggestions for configuration structure if we can reach a consensus.

I had the similiar problem and I fixed it with this line of code in my .eslintrc config:
"import/extensions": ["error", "never", { "packages": "always" }]
And in component I call resources like this:
import React from 'react';
import Sidebar from '../../sidebar/Sidebar';

We have the same problem. We want to always require the "js" extension because we're also having "jsx" extensions and want to avoid confusion. Unfortunately there is still no option which fixes this for packages. The comment above is about never requiring extensions so it won't fix anything :/

Why can not I find this in the latest version '2.8.0'?


Toolbar Textview incorrectly decreases in size for any line deletion after it reaches maximum size

New issue checklist

[x] I have read all of the README, documentation, and FAQ.
[x] I have reviewed the contributing guidelines. Confirmation: :muscle::sunglasses::facepunch:
[x] I have searched existing issues and this is not a duplicate.

General information

Library version(s): 7.3.4
iOS version(s): 9.3 & 10.0
Devices/Simulators affected: All
Reproducible in the demo project? (Yes/No):
Related issues:

Bug report
Expected behavior
Expect the text view to maintain full size until less than the maximum size is needed
Actual behavior
Text view decreases size as soon as a line is removed, instead of flexing to only decrease in size when less lines are needed.
Steps to reproduce

Compose a message to send with more lines than can be displayed
Text view expands as expected
Delete the last line
Text view decreases in size - even though there are still more than enough lines to fill the space.

Crash log? Screenshots? Videos? Sample project?
Video of issue -
Bug.zip
Resolution
Working on finalizing a fix that I will put out for pull request

Hey, same problem here. It ends up being easier to occur if you set inputToolbar.maximumHeight. Any news? Thanks.

@DamascenoRafael  - I saw the same thing.  I'm guessing it's only a problem when you set the maximumHeight, because when it grows to take up the whole screen, the calculation seem to handle that okay.
I'm just waiting for one of the Approved Reviewers to +1 my PR - #1914 .  But, if nothing else, you could do the same thing we did and just ship with the forked version with the fix in it, for now...

Hello everyone!
I'm sorry to inform the community that I'm officially deprecating this project. 😢 Please read my blog post for details:
http://www.jessesquires.com/blog/officially-deprecating-jsqmessagesviewcontroller/
Thus, I'm closing all issues and pull requests and making the necessary updates to formally deprecate the library. I'm sorry if this is unexpected or disappointing. Please know that this was an extremely difficult decision to make. I'd like to thank everyone here for contributing and making this project so great. It was a fun 4 years. 😊
Thanks for understanding,
— jsq


Download sample data using python script

Summary
We can download sample data using python script instead of shell script.
From now, you can download sample data more simply in python code.

Codecov Report

:exclamation: No coverage uploaded for pull request base (develop@6a09028). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             develop      #47   +/-   ##
==========================================
  Coverage           ?   90.78%
==========================================
  Files              ?       16
  Lines              ?     1172
  Branches           ?        0
==========================================
  Hits               ?     1064
  Misses             ?      108
  Partials           ?        0

Continue to review full report at Codecov.

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


Add GlobalMonitor like filters to request approval, assigment pages

This is to make it easier to deal with approving/assigning a large amount of requests.  Low priority.

done in WMStats @ticoann please close it


SSL Error for raw.githubusercontent.com

SteamAutoCracker GUI v2.1.0
A Tkinter Python error occurred!
Please report it on GitHub or cs.rin.ru
Make sure to blank any personal detail.
NOTE: '_tkinter.TclError: invalid command name' errors are normal if you closed the window while SAC was busy. In that case, you should not report the issue and just ignore it.
Traceback (most recent call last):
File "urllib3\connectionpool.py", line 699, in urlopen
File "urllib3\connectionpool.py", line 382, in make_request
File "urllib3\connectionpool.py", line 1010, in validate_conn
File "urllib3\connection.py", line 411, in connect
File "urllib3\util\ssl.py", line 428, in ssl_wrap_socket
File "urllib3\util\ssl.py", line 472, in _ssl_wrap_socket_impl
File "ssl.py", line 501, in wrap_socket
File "ssl.py", line 1041, in _create
File "ssl.py", line 1310, in do_handshake
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "requests\adapters.py", line 439, in send
File "urllib3\connectionpool.py", line 755, in urlopen
File "urllib3\util\retry.py", line 573, in increment
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='raw.githubusercontent.com', port=443): Max retries exceeded with url: /BigBoiCJ/SteamAutoCracker/autoupdater/latestversion.json (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)')))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "tkinter_init_.py", line 1892, in call
File "steam_auto_cracker_gui.py", line 853, in CheckUpdates
File "steam_auto_cracker_gui.py", line 58, in init
File "steam_auto_cracker_gui.py", line 62, in DoRequest
File "requests\api.py", line 76, in get
File "requests\api.py", line 61, in request
File "requests\sessions.py", line 542, in request
File "requests\sessions.py", line 655, in send
File "requests\adapters.py", line 514, in send
requests.exceptions.SSLError: HTTPSConnectionPool(host='raw.githubusercontent.com', port=443): Max retries exceeded with url: /BigBoiCJ/SteamAutoCracker/autoupdater/latestversion.json (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)')))

Hi! Thanks for the report
Do you have custom SSL certificates installed by any chance? Or are you maybe using some sort of proxy or VPN?
It seems like Python failed to retrieve raw.githubusercontent.com's certificate, which shouldn't happen as the website isn't new and is properly certified.
I don't really know what I can do to bypass this error, except ignoring and using an unsafe connection, which I'm not a fan of. Are you on windows? Are you in a country where github is blocked?

Hello
yes am on windows and also have a vpn + proxy
but github is not baned in my country?
thanks anyway

This seems to be a problem caused by the inability to access raw.githubusercontent.com normally. Could it be an issue with the raw.githubusercontent.com SSL certificate due to VPN usage? Have you tried operating with a proxy?
# Windows
set http_proxy=http://<IP_ADDRESS>:10809
set https_proxy=http://<IP_ADDRESS>:10809

or

# Linux / macOS
export http_proxy=http://<IP_ADDRESS>:10809
export https_proxy=http://<IP_ADDRESS>:10809

Or modify the hosts file?
<IP_ADDRESS>   raw.githubusercontent.com

vpn + proxy

Both? Couldn't that cause connection problems?
Anyways, I don't really know how to fix that, and don't have enough knowledge to help you, sorry. The issue probably isn't on SAC's end.
I don't know about @wwxiaoqi 's solution, sorry, not enough knowledge on this


feat: Add validationStatus prop to Dropdown

Summary
Related Issues or PRs
Resolves #2364
How To Test
Unit tests test that this works.
Storybook control for validation status can also be used
Screenshots (optional)

I'll need to come back and fix what I borked in storybook

#2398 introduces another use of the now (in this PR) ValidationStatus type that should be updated in this PR once #2398 is merged

it's merged


[TubeMQ] Adjust FATAL type error return content, without carrying class name

Description
There is indeed a problem [1] with this RPC interaction agreement: the server-side transparently transmits the exception class to the caller. In any case, the callee should return a clear error to the caller. If an unknown exception is encountered, the detailed information should be retained locally, rather than being transparently transmitted to the calling layer.
In the case where the accessed party is a malicious node injecting exceptions, there is a risk of introduction based on the aforementioned issue. This risk exists, but it is not urgent

https://github.com/apache/inlong/blob/master/inlong-tubemq/tubemq-
core/src/main/java/org/apache/inlong/tubemq/corerpc/netty/NettyClient.java#L349

InLong Component
InLong TubeMQ
Are you willing to submit PR?

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

Code of Conduct

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

I'll fix the issue, thans!

Based on the premise that we will not access untrusted external services through an SDK, we can make a simple modification to this problem for now: in the unwrapException function, only construct objects for clazz that belong to the Throwable class or its subclasses, to avoid Remote Code Execution (RCE) issues.
In the future, we can consider adjusting the interaction protocol between the SDK and the Server to avoid object construction on the SDK side.


Show all events in Day/Week view same as Month view.

I think in the Day/Week view, all events are shown. Could you share more details? Thanks

Hi @acro5piano
I will create a POC for this and will let you know. Thanks

Thanks


Compile failure after upgrade NumShape to v0.6

@thp-proxem hey thanks for let us know. ;) Indeed you right - was a side effect in our internal Storage strategy. we generated a new 1D array and overwrote the old internal 1D array in our NDArray - unfortunately our shape was also overwritten. -.-
So thanks - is now fixed in master branch but not released.


fix: typo in link in customConditions

Summary
Fix typo in between a markdown link
Details

extra "or" was added and so the markdown link did not correctly render

instead it was shown as verbatim text in the docs

Screenshot

Misc
I stopped making PRs for a while as they didn't get responses 😕 Glad to see that this repo is being more actively maintained again! Critical resource for the language and community!

Thanks!


WIP: Add lib package in daffodil-lib for OGSI

First step in a multi-step process of introducing packages so that no package crosses jar boundaries.
Introduced org.apache.daffodil.lib package inside daffodil-lib, and moved api and schema packages under it.
This results in an absurdly large number of changes of course.
DAFFODIL-2683

Closing. New approach needed.


add exclude fields

The automatic beans form wsdl to java, can not be perfect. I need the capability of exclude some fields.
Add to Populator Interface a new method:
 T populateBeanWithExcludeFields(Class type, String... excludeFieldsName);
I send you an e-mail, with all code modifications.
JMPrieto

This feature has been fixed and released in version 1.1


Add JSON support to req.bodyParam

As reported in #12, req.bodyParam currently only supports key=value syntax.
Would be neat if it could support JSON.
I don't really want to depend on a library to do this. Would it be good enough it req.bodyParam support 1 level json?

After implementing this, I've decided it's a bad idea.


Enable selection of namespace for compilation

Why would we want this?  Is it to enable people to easily redeploy our system without installing ROSMOD on their target devices?  Why would we support this?


Fetch ALCHEMY_URL in a more reliable way

I was running into some weird issues running the hardhat fork because my .env file looked like this:
ALCHEMY_URL=https://eth-mainnet.alchemyapi.io/v2/...
# ALCHEMY_URL=https://polygon-mainnet.g.alchemy.com/v2/...

Took a while to discover this grep was picking up the polygon url despite it being commented out because it was the last ALCHEMY_URL in the file.
Sourcing this file then echoing the value should be more reliable. This works on Ubuntu 22.04, please test it works on OSX before merging.

good catch, this bugger was my fault. turns out these hacks always bite you later on.
it works like a charm, thank you.


Moderators designated as friends will be duplicated

If a moderator is your friend, where should show up? In the "Moderators" pane or in the "Friends" pane?
I decided; since he is both, he's being displayed in both. So this works as intended.


RequireSenderAuthenticationEnabled not copied to EXO

Our on-premises DLs have the attribute RequireSenderAuthenticationEnabled set to $true, but after running the conversion script this attribute is set to $false on the online DL.
The strange part is that the New-DistributionGroup command is supposed to set this to $True when no parameter is specified.  We have tried creating a new DL with New-DistributionGroup without the parameter and it does set the attribute to $true on the new online DL.  But when we run the V2 script, the new DLs are created with the attribute set to false, and we can't explain why.  The parameter is not specified in your code, so it should default to $true.
What could be a solution is modifying set-Office365DLMV.ps1 to read the attribute value from the originalconfiguration xml file (I've confirmed the attribute is already documented there) and use a Set-o365DistributionGroup command to set the new online DL to the same value as the on-prem DL had.  But that's just a thought.

Adam:
This was supposed to already been addressed.  The following code block in set DL had it covered.
if ($originalDLConfiguration.msExchRequireAuthToSendTo -eq $NULL)
{
out-logfile -string ("Require auth to send to is not set.")
        $functionRequireAuthToSendTo = $FALSE

        out-logfile -string ("The new require auth to sent to is: "+$functionRequireAuthToSendTo)
    }
    else
    {
        out-logfile -string ("Require auth to send to is set - retaining value. "+ $originalDLConfguration.msExchRequireAuthToSendTo)

        $functionRequireAuthToSendTo = $originalDLConfguration.msExchRequireAuthToSendTo
    }

The only problem was the variable was not spelled correctly - so it turned Null every time and set it to false.
This is one of those unique attributes that exchange translates in exchange commands - so if the attribute is not set exchange displays FALSE even though it's NULL.  So this function translates that like others.
Checked into latest release on the powershell gallery.

This is great, I really appreciate your work on this.  I will test this in the afternoon and update you on the results.
Thanks again!

@adamdrayer  is all good with your testing - if so I'll close this issue.

This works now, thanks!  Fee free to close


Include warning dialogues for file overwrite and similar actions

Currently, overwriting an existing classifier just generates a warning, but can't be stopped.
Exporting while overwriting an existing file should also ask the user for a confirmation.
Exporting something that does not end in .csv => dialogue
=> See if I can figure out how to do this :)

Current implementation isn't the prettiest (not in napari design), but it works :)


Move tests from Travis to GitHub Actions to test on all OSses

GitHub Actions allows for easy testing on Windows, MacOS, and Linux, which would improve the testing pipeline to also cover "special" bugs that only appear on some OSses.

Hum... Even with matlab and octave?
I know that Travis actually now supports Matlab in their CI so we could have both there. Not sure about github actions.

Hum... Even with matlab and octave?

Octave yes (not sure about Windows to be honest) - but Matlab probably not. I didnt know that Travis supports Matlab in their CI, that's awesome ... and a bit puzzling to me how they deal with the licensing issues :)

Well I don't know much more than that: https://twitter.com/RemiGau/status/1310681042714537991
And I have not tested it yet

I now found this: https://github.com/joergbrech/moxunit-action
but haven't tested it yet.

This action performs unit tests for GNU Octave and Matlab using the unit testing framework MOxUnit.

Looks like we need some time and energy to test a couple of alternatives :-)

Ha yeah we started thinking about using MOxUnit in #44 .
No decision has been made about this yet. But it definitely is an option that can also get you your code coverage in one fell swoop.

In general, I would also prefer to use GitHub Actions to anything else but if we want to test with MATLAB and not just Octave, we might have to (temporarily) still use another platform. This page only mentions CircleCI and Travis, while this one does not mention Travis.

@sappelhoff
any pointer on trying to adapt our github action workflows to run our tests also on MacOS and Windows (for octave)?
I don't have the bandwidth to look on setting up CI tests with matlab at the moment.

@sappelhoff
any pointer on trying to adapt our github action workflows to run our tests also on MacOS and Windows (for octave)?
I don't have the bandwidth to look on setting up CI tests with matlab at the moment.

Yes, I think setting up for at least MacOS will be relatively straight forward: You will just have to make another step like this one:
https://github.com/bids-standard/bids-matlab/blob/6c1dac65880df28b69ec131983cd8bbbfce1c258/.github/workflows/run_tests.yml#L22-L26
but ensure that the (then two) steps run depending on the OS. that is, one runs only when OS=ubuntu, the other one only when OS=macOs
For the Ubuntu step, you leave everything as it is ... and for the MacOS step you adjust the "apt" installs with "brew" installs. The remaining action should work regardless of ubuntu or MacOS.
--> for windows it would go the same way ... first duplicating the steps, then making them run conditionally on a single OS only, and then adjusting the duplicated-OS-specific steps to actually work on that OS. I mean -> apt on ubuntu, brew on macOS, and maybe chocolatey on windows, ... and so on for all other commands.
I am not sure how easy this will be with windows. I once managed it for a similarly "complicated" install for the bids-validator. Hopefully it can serve as an example of what I mean:
https://github.com/sappelhoff/bids-validator/blob/407b94c388bf36005069e0a4f0c67a21fbcdc8b8/.github/workflows/python_tests.yml#L14-L42

Yes, I think setting up for at least MacOS will be relatively straight forward: You will just have to make another step like this one:
https://github.com/bids-standard/bids-matlab/blob/6c1dac65880df28b69ec131983cd8bbbfce1c258/.github/workflows/run_tests.yml#L22-L26
but ensure that the (then two) steps run depending on the OS. that is, one runs only when OS=ubuntu, the other one only when OS=macOs
For the Ubuntu step, you leave everything as it is ... and for the MacOS step you adjust the "apt" installs with "brew" installs. The remaining action should work regardless of ubuntu or MacOS.
--> for windows it would go the same way ... first duplicating the steps, then making them run conditionally on a single OS only, and then adjusting the duplicated-OS-specific steps to actually work on that OS. I mean -> apt on ubuntu, brew on macOS, and maybe chocolatey on windows, ... and so on for all other commands.
I am not sure how easy this will be with windows. I once managed it for a similarly "complicated" install for the bids-validator. Hopefully it can serve as an example of what I mean:
https://github.com/sappelhoff/bids-validator/blob/407b94c388bf36005069e0a4f0c67a21fbcdc8b8/.github/workflows/python_tests.yml#L14-L42

Awesome. Thanks for all those pointers.
Moving this to a separate issue. :wink:

Awesome. Thanks for all those pointers.
Moving this to a separate issue. :wink:

HI all,
This seems relevant:
https://github.com/matlab-actions
They are not in the marketplace yet, but they work just as the travis, circle, and azure DevOps extensions.
Have fun!
Andy

HI all,
This seems relevant:
https://github.com/matlab-actions
They are not in the marketplace yet, but they work just as the travis, circle, and azure DevOps extensions.
Have fun!
Andy


Static build does not work on the latest alpine docker image with Crystal v1.8.0

Subj.
Steps to reproduce:

docker run -it crystallang/crystal:1.8.0-alpine sh
echo 'require "xml"' > test.cr
crystal build --static test.cr

Output:
/usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: cannot find -lxml2 (this usually means you need to install the development package for libxml2): No such file or directory
/usr/lib/gcc/x86_64-alpine-linux-musl/12.2.1/../../../../x86_64-alpine-linux-musl/bin/ld: cannot find -llzma (this usually means you need to install the development package for liblzma): No such file or directory
collect2: error: ld returned 1 exit status
Error: execution of command failed with exit status 1: cc "${@}" -o /test  -rdynamic -static -L/usr/bin/../lib/crystal -lxml2 -L/lib -lz -llzma -lm -lpcre2-8 -lgc -levent

Installation of libxml2-dev does not help.
crystallang/crystal:1.7.3-alpine docker image works fine

The same happens for non-alpine images too.

This'll be resolved by https://github.com/crystal-lang/distribution-scripts/pull/242.

Duplicate of https://github.com/crystal-lang/distribution-scripts/issues/241


Aspnet core installation error on Cent OS7

I'm following the documentation https://docs.microsoft.com/en-us/dotnet/core/install/linux-centos and I'm having an error installing on Cent OS 7.
There is indeed a problem with this walkthrough.

@adegeo @leecow can you look at this?

Can you try again? The error indicates you can't talk to mirrorlist.centos.org. I just tried what it's trying to connect to and it worked fine for me: http://mirrorlist.centos.org/?release=7&arch=x86_64&repo=os&infra=stock Also, according to https://status.centos.org/ everything is working.
If you cant reach the centos website, you'll have to ask them for help :( sorry we can't be of more help here.

The error is actually in the certificate and following the documentation this could not happen, as the installation was performed sudo rpm -Uvh https://packages.microsoft.com/config/centos/7/packages-microsoft-prod.rpm
That is, this installation should solve this problem.

Estou na versão  7.6.1810, mas acredito que isso não seja o problema.
O que estou fazendo:
rpm -Uvh https://packages.microsoft.com/config/centos/7/packages-microsoft-prod.rpm
sudo yum install aspnetcore-runtime-5.0

@adegeo  I'm on version 7.6.1810, but I don't think that's the problem.
What am I doing:
rpm -Uvh https://packages.microsoft.com/config/centos/7/packages-microsoft-prod.rpm
sudo yum install aspnetcore-runtime-5.0
I believe the problem is with the certificate. What should not happen, because step by step this command is intended to solve: rpm -Uvh https://packages.microsoft.com/config/centos/7/packages-microsoft-prod.rpm

The problem was in the machine/structure.
I had to change the ddns pointing to google and also to the machine's local ip.
I also changed the links from /etc/yum.repos.d/microsoft-prod.repo replacing https with http.
Thank you very much.


Custom task re-naming

Brian: Would be helpful in the Tasks Pane of MM if the user could rename “Search Task” with descriptive things (e.g. 5ppm, Fixed/Dyn Mod, etc.).  The user could do this right after choosing settings and adding that task, and then these descriptive names would become the names of the folders with the results in them. This would help know later what results are in which folder, and it would help in picking a toml file to use for a future search.

something has to be done soon about the file naming.

Done in https://github.com/smith-chem-wisc/MetaMorpheus/pull/704


rendering proc gen results

related/blocked by #38
problem: our current rending code doesn't work for procgen, because their were some changes
possible solution: https://discourse.aicrowd.com/t/how-to-save-rollout-video-render/3246/10
possible bonus: We can render on the server.
possible followup issue: life rendering of procgen may require implementing a custom render method,

implemented in #38

closed because implemented

closed because implemented


[Theme-name]

Bug: Spicetify themes bug, when it updated i just ran the commands as normal: spicetify upgrade and then spicetify restore backup apply and then it opens the spotify app but it simply does not pop any prompt or load the default theme, just kept stuck with the background of the actual theme, firstly i tried restoring spicetify, thhing that unapplies the themes and extensions, that worked cause lit was the raw spotify app, then when i tried applying the themes and extensions i had before, it just didn't worked, just happens the same thing, stucked in the theme bg; i reinstalled both spotify and spicetify, but it just not worked, kinda think the marketplace and the auto install of it brokes spicetify cause it dont logs anything on the config file and with the updates just don't apply those.
Steps to reproduce the behavior:

Update spotify and spicetify
run spicetify upgrade |  spicetify restore backup apply
wait for the update
See error Theme ... not found | extension ... not found
Spicetify opens but kept stucked in the bg

Expected behavior
I expected to open spotify app with the theme and extensions i had installed before the update
Screenshots

Logs: don't let me open the console log with ctrl+shift+I

OS: Windows 11
[Backup]
version = <IP_ADDRESS>6.gbe7ea9a7
with    = 2.9.5
(tried with Dribbblish base and Bloom Dark)

This is unrelated to this repo and is already being tracked in https://github.com/spicetify/spicetify-cli/issues/1599.


Feature: use a version to track metics change

Changelog
Feature: use a version to track metics change

Add Versioned<D> to track changes of an Arc<D>.
In openraft, some frequently updated object such metrics are wrapped
in an Arc, and some modification is made in place: by storing an
AtomicU64.
Thus we can not tell whether an Arc<D> is changed by comparing them
with == any more.
In order to determine whether to broadcast a metrics instance, we need
an additional version to track the changes applied to the Arc<D>.
These are all included in the Versioned<D>.

Add trait Update to define variant update operation to apply to
Versioned<D>.
Update has to implement two methods:

apply_in_place() to apply a modification in place if possible
and apply_mut() if it has to apply modification to a cloned
instance.

Update will increment the Versioned.version by 1 after each
update.

Reimplement LeaderMetrics with Versioned.

Change: type of LeaderMetrics.replication from HashMap to BTreeMap
for easing test.

fix: #230

fix: #228

commit-id:2432f7a0

This change is

LGTM, but I still can't approve.

Hmm...

This looks like unrelated change?

Yes... this test takes a lot of time to run...

LGTM


git tags to match puppet forge

Our practice is to clone from git, not the forge.   Matching versions here would be nice - otherwise we have to track down the right git hash.
Thanks!

Any update here?

+1


Deck ads not showing up on individual article/column/blog posts

Currently not seeing Deck ads on blog posts, columns, or articles—but am seeing them on the blog homepage, article list, etc. Not sure if this is related to #255?
Susan's latest blog post: http://alistapart.com/blog/post/building-to-learn/

Blog homepage: http://alistapart.com/blog

Fixed! It was a temporary script misplacement between branch switching.


OptimizeForArchitecture.cmake creates bad compiler flags

I'm using OptimizeForArchitecture.cmake from Vc in another project.  With the current version of the script in master, my CMake (3.4.1) generates malformed compiler flags.  Specifically, I get compiler commands like
/usr/bin/c++ -I/include/folders  -march=broadwell -msse2;-msse2 -msse3;-msse3 -mssse3;-mssse3 -msse4.1;-msse4.1 -msse4.2;-msse4.2 -mavx;-mavx -mfma;-mfma -mbmi2;-mbmi2 -mavx2;-mavx2 -mno-sse4a -mno-xop -mno-fma4 -mno-avx512f -mno-avx512vl -mno-avx512pf -mno-avx512er -mno-avx512cd -mno-avx512dq -mno-avx512bw -mno-avx512ifma -mno-avx512vbmi   -o out.o -c /my/code.cpp

The problem (this is on Debian 8 with GCC 5.2.0) is the semicolons in the middle of the optimization flags; Linux interprets semicolons as a command separator, so of course, lots of problems happen trying to execute the above.
The semicolons are coming from the flags that are added from different processor macros.
To fix this issue for me, I edited line 532 of OptimizeForArchitecture.cmake to the following:
list(APPEND "${Vc_ARCHITECTURE_FLAGS} -m${_flag}")
This gave me the desired result with the generated compiler flags (no semicolons).  I don't know if this is an issue for anyone else or on other platforms, but I thought I would bring this up since it was a problem in my case.  Thanks!

Thanks for the report. This look indeed very strange. I'll take a look.

Your "fix" basically disabled the line. Removing it would have had the same effect. The Vc_ARCHITECTURE_FLAGS variable is a list, so all entries in the list need to be separated by semicolons. This way you can easily use the variable with the COMPILE_OPTIONS property (see e.g. tests/CMakeLists.txt on how it's used).


Catch up with TL

This includes several fixes for issues encountered during testing/development.

Looks good from the diffs. Taking it in and seeing what it does in my local test env.

The md_config_get_trusted call from md_curl seems to be missing, commenting that out. werror fails as function is not previously declared.
Besides that, test run fine. \o/

It's not unused.  md_curl calls it, and there is a parallel routine in mod_md_config that works from the MDTrustedCAfile and MDTrustedCApath directives.
This was all in my last pull request - it seems that some parts were dropped in the merge.
I'll create a new pull request as soon as I restore the missing pieces.

My fault.  I thought I'd cherry-picked that from my other branch, but I did not.
I'll revert & issue a new pull request.  The change to a2md can wait till we merge the other branch...
Sorry.


Community: Add OceanBase Vector Store

This pull request introduces OceanBase as an alternative vector store.  The vector storage capability of OceanBase is still being enhanced, and currently has the following limitation:

Cosine vector distance function is not yet supported for vector index. Currently only inner product distance and Euclidean distance are supported, and Euclidean distance is used by default. This issue will lead to two requirements: 1) When initializing OceanBase, normalize=True needs to be set to normalize the Euclidean distance. 2) When using similarity_search_with_relevance_scores, score_threshold may need to be set to a smaller value than when using cosine distance.

We will support cosine distance soon.
Simple example of using OceanBase as vector store:
from langchain_community.vectorstores.oceanbase import OceanBase
from tests.integration_tests.vectorstores.fake_embeddings import FakeEmbeddings

texts = ["foo", "bar", "baz"]
metadatas = [{"page": str(i)} for i in range(len(texts))]
docsearch = OceanBase.from_texts(
    texts=texts,
    embedding=FakeEmbeddings(),
    metadatas=metadatas,
    connection_args=CONNECTION_ARGS,
    drop_old=True,
    normalize=True,
)
output = docsearch.similarity_search("foo", k=1)

Hi @baskaryan , could you please take a look at this PR? I’d appreciate your feedback. Thank you!

I need this feature very much, can you merge it ASAP?

We eagerly hope that this PR can make progress. Your review would be greatly appreciated, thanks in advance! @baskaryan @efriis

We make more modifications to pass CI checks now. Can you spare some time to help with the PR? Thanks a lot! @isahers1 @baskaryan @efriis

Hey! This adds a net-new community integration or feature, which has been replaced by dedicated integration packages. I'll close this PR, and would recommend reopening with just docs updates, as well as registering your package in libs/packages.yml! We'll be able to review simple PRs that only modify these two things much faster :)
Here's the guide, and if you have questions, feel free to leave them in the comments on those pages so others can see them! https://python.langchain.com/docs/contributing/how_to/integrations/


weapon event cant work

Description of the problem
alt.on('playerWeaponChange', (oldWeapon, newWeapon) =>{
console.log('playerWeaponChange');
});
alt.on('playerWeaponShoot', (weapon, totalAmmo, ammoInClip) =>{
console.log(weapon, totalAmmo, ammoInClip);
});
when switch weapon or shoot, console have no output
Reproduction steps
see Description
Expected behaviour
see Description
Additional context
No response
Operating system
Windows 11
Version
release/12.10
Scope
server, client
Reproduction tested

[X] I confirm that I have made sure that this issue is also present on the newest dev version

In Version section you wrote release, but these features are only available in dev branch, see upcoming release on the docs:
https://docs.altv.mp/articles/changelogs/upcoming.html

In Version section you wrote release, but these features are only available in dev branch, see upcoming release on the docs:
https://docs.altv.mp/articles/changelogs/upcoming.html
also in the api docs it has "dev" only icon
https://docs.altv.mp/js/api/alt-client.IClientEvent.html#_altmp_altv_types_alt_client_IClientEvent_playerWeaponShoot


herokuapp Application error

hi, how can i solve this problem herokuapp shows Application error after deploy.

Have you tried this solution:
https://github.com/HermanFassett/youtube-scrape/issues/15#issuecomment-664034473
Or do you have some other errors?

Have you tried this solution:
https://github.com/HermanFassett/youtube-scrape/issues/15#issuecomment-664034473
Or do you have some other errors?


Combined foot- and cycleways not listed in menu

At least within Austria: iD doesn't list these common bicycle+foot ways in its "Way"-menu at all. So if a less OSM-experienced user just chooses the attribute of a way by scanning through iD's menu on the left, he will choose a wrong way-type, e.g "cycleway" (="Radweg" in German). These prevents Routers to use this combined way for hikers.

Right now just if the user uses the Searchbox and enters "Rad" (="bicycle" in German), iD shows the entry for combinded bicyle+footway (="Rad- und Fußweg" in German)

Please make iD show the popular combined version too in its menu by default which will prevent unexperienced users choose the wrong type of way.
Originally posted by @ppete2 in https://github.com/openstreetmap/iD/issues/8485#issuecomment-830784522

Connected to this issue I think that it would be better (and is, at least in Germany more common) to define a combined foot- and cycleway as highway=path, ... instead of highway=cycleway, ...


Implement Str_indexOfStrAt

Not sure about the function name. Maybe I should have named it Str_indexOfPatternAt

The name of Str_indexOfStrAt it was after strstr in string.h
so you need add a compatibility section in end of the file for support previous versions


Overview Dashboard Slow (Inside / Outside / Driver Temp)

          > Ok, I think we will go with query 8, will open a PR later. Any other queries to speed up? ,🤓

Well, in Overview, Driver Temp, Outside Temp and Inside Temp feel a bit slow... 2,2 seconds on Ubuntu and 74,4 on the Raspberry.
Originally posted by @DrMichael in https://github.com/teslamate-org/teslamate/issues/3921#issuecomment-2198523016

Hi @DrMichael - those are loading instantly for me. Can you run the following sql snippet please?

VACUUM FULL ANALYZE;
REINDEX DATABASE teslamate;

@DrMichael - two ways to solve this i guess
first:
EXPLAIN ANALYZE WITH last_position AS (
    SELECT date, convert_celsius(last_value(outside_temp) over (order by date desc), 'C') AS "Outside Temperature [°C]"
    FROM positions
    WHERE car_id = '2' AND outside_temp IS NOT NULL
    ORDER BY date DESC
    LIMIT 1
),
last_charge AS (
    SELECT date, convert_celsius(last_value(outside_temp) over (order by date desc), 'C') AS "Outside Temperature [°C]"
    FROM charges
    JOIN charging_processes ON charges.charging_process_id = charging_processes.id
    WHERE car_id = '2' AND outside_temp IS NOT NULL
    ORDER BY date DESC
    LIMIT 1
),
final as (
SELECT * FROM last_position
UNION ALL
SELECT * FROM last_charge
ORDER BY date desc
LIMIT 1
)
select * from final where date >= (NOW() at time zone 'UTC' - interval '60m')

second:
EXPLAIN ANALYZE WITH last_position AS (
    SELECT date, case when date >= (NOW() at time zone 'UTC' - interval '60m') then convert_celsius(last_value(outside_temp) over (order by date desc), 'C') else null end AS "Outside Temperature [°C]"
    FROM positions
    WHERE car_id = '2' AND outside_temp IS NOT NULL
    ORDER BY date DESC
    LIMIT 1
),
last_charge AS (
    SELECT date, case when date >= (NOW() at time zone 'UTC' - interval '60m') then convert_celsius(last_value(outside_temp) over (order by date desc), 'C') else null end AS "Outside Temperature [°C]"
    FROM charges
    JOIN charging_processes ON charges.charging_process_id = charging_processes.id
    WHERE car_id = '2' AND outside_temp IS NOT NULL
    ORDER BY date DESC
    LIMIT 1
)
SELECT * FROM last_position
UNION ALL
SELECT * FROM last_charge
ORDER BY date DESC
LIMIT 1;

what runs faster for you? - any reason why temp is only fetched if data was logged within last 60 minutes or was that an attempt of increasing performance in the past?

The second one, slightly. But both fast...
First:
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 Subquery Scan on final  (cost=1.97..1.99 rows=1 width=40) (actual time=6.571..6.591 rows=0 loops=1)
   Filter: (final.date >= ((now() AT TIME ZONE 'UTC'::text) - '01:00:00'::interval))
   Rows Removed by Filter: 1
   CTE last_position
     ->  Limit  (cost=0.43..1.24 rows=1 width=40) (actual time=6.214..6.218 rows=1 loops=1)
           ->  WindowAgg  (cost=0.43..179972.33 rows=221872 width=40) (actual time=6.210..6.213 rows=1 loops=1)
                 ->  Index Scan Backward using positions_date_index on positions  (cost=0.43..176644.25 rows=221872 width=13) (actual time=6.140..6.156 rows=3 loops=1)
                       Filter: ((outside_temp IS NOT NULL) AND (car_id = '1'::smallint))
   CTE last_charge
     ->  Limit  (cost=0.58..0.66 rows=1 width=40) (actual time=0.270..0.277 rows=1 loops=1)
           ->  WindowAgg  (cost=0.58..7462.76 rows=88134 width=40) (actual time=0.266..0.272 rows=1 loops=1)
                 ->  Nested Loop  (cost=0.58..6140.75 rows=88134 width=14) (actual time=0.212..0.235 rows=2 loops=1)
                       ->  Index Scan Backward using charges_date_index on charges  (cost=0.29..3771.73 rows=88134 width=18) (actual time=0.115..0.122 rows=2 loops=1)
                             Filter: (outside_temp IS NOT NULL)
                       ->  Memoize  (cost=0.29..0.31 rows=1 width=4) (actual time=0.045..0.046 rows=1 loops=2)
                             Cache Key: charges.charging_process_id
                             Cache Mode: logical
                             Hits: 1  Misses: 1  Evictions: 0  Overflows: 0  Memory Usage: 1kB
                             ->  Index Scan using charging_processes_pkey on charging_processes  (cost=0.28..0.30 rows=1 width=4) (actual time=0.066..0.067 rows=1 loops=1)
                                   Index Cond: (id = charges.charging_process_id)
                                   Filter: (car_id = '1'::smallint)
   ->  Limit  (cost=0.06..0.06 rows=1 width=40) (actual time=6.552..6.559 rows=1 loops=1)
         ->  Sort  (cost=0.06..0.07 rows=2 width=40) (actual time=6.548..6.553 rows=1 loops=1)
               Sort Key: last_position.date DESC
               Sort Method: quicksort  Memory: 17kB
               ->  Append  (cost=0.00..0.05 rows=2 width=40) (actual time=6.225..6.514 rows=2 loops=1)
                     ->  CTE Scan on last_position  (cost=0.00..0.02 rows=1 width=40) (actual time=6.221..6.225 rows=1 loops=1)
                     ->  CTE Scan on last_charge  (cost=0.00..0.02 rows=1 width=40) (actual time=0.275..0.278 rows=1 loops=1)
 Planning Time: 3.491 ms
 Execution Time: 7.044 ms
(30 rows)

Second:
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 Limit  (cost=1.99..1.99 rows=1 width=40) (actual time=0.680..0.703 rows=1 loops=1)
   CTE last_position
     ->  Limit  (cost=0.43..1.25 rows=1 width=40) (actual time=0.383..0.388 rows=1 loops=1)
           ->  WindowAgg  (cost=0.43..182191.05 rows=221872 width=40) (actual time=0.380..0.382 rows=1 loops=1)
                 ->  Index Scan Backward using positions_date_index on positions  (cost=0.43..176644.25 rows=221872 width=13) (actual time=0.264..0.279 rows=3 loops=1)
                       Filter: ((outside_temp IS NOT NULL) AND (car_id = '1'::smallint))
   CTE last_charge
     ->  Limit  (cost=0.58..0.67 rows=1 width=40) (actual time=0.217..0.224 rows=1 loops=1)
           ->  WindowAgg  (cost=0.58..8344.10 rows=88134 width=40) (actual time=0.214..0.219 rows=1 loops=1)
                 ->  Nested Loop  (cost=0.58..6140.75 rows=88134 width=14) (actual time=0.165..0.187 rows=2 loops=1)
                       ->  Index Scan Backward using charges_date_index on charges  (cost=0.29..3771.73 rows=88134 width=18) (actual time=0.084..0.091 rows=2 loops=1)
                             Filter: (outside_temp IS NOT NULL)
                       ->  Memoize  (cost=0.29..0.31 rows=1 width=4) (actual time=0.038..0.039 rows=1 loops=2)
                             Cache Key: charges.charging_process_id
                             Cache Mode: logical
                             Hits: 1  Misses: 1  Evictions: 0  Overflows: 0  Memory Usage: 1kB
                             ->  Index Scan using charging_processes_pkey on charging_processes  (cost=0.28..0.30 rows=1 width=4) (actual time=0.055..0.056 rows=1 loops=1)
                                   Index Cond: (id = charges.charging_process_id)
                                   Filter: (car_id = '1'::smallint)
   ->  Sort  (cost=0.06..0.07 rows=2 width=40) (actual time=0.676..0.680 rows=1 loops=1)
         Sort Key: last_position.date DESC
         Sort Method: quicksort  Memory: 17kB
         ->  Append  (cost=0.00..0.05 rows=2 width=40) (actual time=0.395..0.630 rows=2 loops=1)
               ->  CTE Scan on last_position  (cost=0.00..0.02 rows=1 width=40) (actual time=0.391..0.395 rows=1 loops=1)
               ->  CTE Scan on last_charge  (cost=0.00..0.02 rows=1 width=40) (actual time=0.222..0.225 rows=1 loops=1)
 Planning Time: 3.964 ms
 Execution Time: 1.167 ms
(27 rows)

any reason why temp is only fetched if data was logged within last 60 minutes or was that an attempt of increasing performance in the past?

Actually, I think Adrian wanted to show a time, which is current. And not one maybe hours in the past. Without that, the query are fast, I think.

depending on results i might go back to one query per panel in grafana to make it easier to maintain, what do you think?

When they as fast as it seems, yes. That looks pretty good. (Although I did like the trick with the pannel query...:-))


add link titles for event cards

there's no accessible name for these links currently:
<a property="schema:url" href="/events/2019/03/unsolved-data-problems/">
...
</a>

check in VO and it will read the full card text when focused currently, which I think is sufficient. it's a little more text than is necessary, but probably preferable to repeating a bunch of content when you focus the card, and you can always tab away when you hear enough.


Heroku python runtime not found

This appears when I try to deploy it on Heroku (Manually & one-click deployment):

And this is the official Supported runtimes document:
https://devcenter.heroku.com/articles/python-support#supported-runtimes

The runtime specified in the runtime.txt is no longer supported by Heroku.
I changed the python runtime from 3.7.6 to 3.7.9 then it worked

Fixed in #288.


AttributeError: 'Encoding' object has no attribute 'set_trait'

When trying to run the code below, I got an error message:
AttributeError: 'Encoding' object has no attribute 'set_trait'
from altair import datasets, Chart

data = datasets.load_dataset('cars')

c = Chart(data).mark_circle().encode(
    x='Horsepower',
    y='Miles_per_Gallon',
    color='Origin',
)

I suspect you have an old version of traitlets. What is the result of this?
import traitlets
print(traitlets.__version__)

If you want to update traitlets, it's relatively easy.
If you installed Altair via pip, use
$ pip install --upgrade traitlets

If you installed Altair via conda, use
$ conda update traitlets

Thanks Jake!
I updated traitlets from 4.0 to 4.2.2, and the code works perfectly.

Closing; traitlets 4.1 is now a pinned requirement


Cannot download the pretrained model

wget -r -np -nH --cut-dirs=2 --reject "index.html*" http://datasets.lids.mit.edu/fastdepth/results/

returns robots.txt.

I had the same issue and in the end I just used :
wget http://datasets.lids.mit.edu/fastdepth/results/mobilenet-nnconv5dw-skipadd-pruned.pth.tar |

Thanks Anne-Claire! That resolved it.


[Distributed] Augment accessor to support calling generic distributed thunks

Previously distributed target accessors and executeDistributedTarget machinery
supported only distributed methods with concrete arguments and result.
This PR makes it possible to call generic distributed methods through their thunks by
decoding generic arguments (provided by the caller) and their conformance requirements,
and providing accessor with all the information necessary to form generic invocations.
Accessor itself has been augmented to deal with generic parameters, substitutions
and witness tables.

@swift-ci please test

Build failed
Swift Test Linux Platform
Git Sha - 6fed30b91d832cb30ccb2efcdfbe5929de1ed30b

@swift-ci please test Linux platform

Build failed
Swift Test OS X Platform
Git Sha - 6fed30b91d832cb30ccb2efcdfbe5929de1ed30b

@compnerd Could you please help me understand the issue on Windows? The compiler says this:
C:\Users\swift-ci\jenkins\workspace\swift-PR-windows\swift\stdlib\public\Concurrency\Actor.cpp(1714,7): error: dllimport cannot be applied to non-inline function definition
void *swift_distributed_get_generic_environment(const char *targetNameStart,
      ^

But I'm not sure what is the difference between this function and all the rest that are declared in DistributedMetadata.swift...

For some reason 32-bit WatchOS still fails in CI but it actually runs just fine on my machine, might be something to do with OS/similar version in CI environment...

@swift-ci please test macOS platform

@swift-ci please test Linux platform

@xedin - I think that is the problem in its own right - "this matches the other declarations" ;-)
If you look at the error, it tells you what is going wrong:
C:\Users\swift-ci\jenkins\workspace\swift-PR-windows\swift\stdlib\public\Concurrency\Actor.cpp(1714,7): error: dllimport cannot be applied to non-inline function definition
void *swift_distributed_get_generic_environment(const char *targetNameStart,
      ^

The function is being marked as dllimport, meaning that it believes that it is coming from a different module than the one being built.  From the command line, we can ascertain that the module being built is swift_Concurrency.
Looking at the diff we see:
SWIFT_CC(swift)
 SWIFT_RUNTIME_STDLIB_SPI
 void *swift_distributed_get_generic_environment(const char *targetNameStart,
                                                 size_t targetNameLength) {

The problem is that definition.  It is NOT a runtime standard library SPI - it doesn't go into the standard library, it is going into a different module (Concurrency).  That should be marked as SWIFT_EXPORT_FROM(swift_Concurrency) which should resolve the issue.

For posterity - we have discussed the issue and the best course of action to is move code out of Actor.cpp which I'm going to do now.

Build failed
Swift Test Linux Platform
Git Sha - 4cfd1d0adcb422b9f917d8a08e6d9b3aa70971a4

@swift-ci please test Windows platform

Build failed
Swift Test Linux Platform
Git Sha - 4cfd1d0adcb422b9f917d8a08e6d9b3aa70971a4

@swift-ci please test Windows platform

@swift-ci please test macOS platform

@swift-ci please test Linux platform

Build failed
Swift Test Linux Platform
Git Sha - 624b27257a9a6c7fc54d296593140e4cd5b9d7cc

Build failed
Swift Test OS X Platform
Git Sha - 624b27257a9a6c7fc54d296593140e4cd5b9d7cc

@swift-ci please test macOS platform

@swift-ci please clean test Linux platform

Build failed
Swift Test Linux Platform
Git Sha - 624b27257a9a6c7fc54d296593140e4cd5b9d7cc

Build failed
Swift Test OS X Platform
Git Sha - 624b27257a9a6c7fc54d296593140e4cd5b9d7cc

@swift-ci please test macOS platform

@swift-ci please test Linux platform

Build failed
Swift Test Linux Platform
Git Sha - 624b27257a9a6c7fc54d296593140e4cd5b9d7cc

Build failed
Swift Test Linux Platform
Git Sha - 3fa5e20c17a98a30b413d7a3f7dfb6c6c01f1a28

@swift-ci please test Linux platform

Build failed
Swift Test Linux Platform
Git Sha - b37b9e498d6833903e73599f20f5628e5d15dc7d

@swift-ci please test Linux platform

@swift-ci please test macOS platform

@swift-ci please test Windows platform


Deploy as conda library

Description of the feature request:
Hi
Any chance of deploying this as a conda library ?
What problem are you trying to solve with this feature?
No response
Any other information you'd like to share?
No response

@macd - someone else was asking about this, right?

Duplicate of: https://github.com/google-gemini/generative-ai-python/issues/320


iOS 17 fix

This should resolve #18
Tested on two devices (iPhone SE 2023 and iPhone 14) updated to the latest iOS version.
Might be turned into a one liner, but you get the gist of what's the solution.
Thanks for the great work with this plugin, would be nice if this could get published anytime soon as 1.1.6.
Best regards

I think this should do it, thanks for the input and all the work.

I just tested the 1.1.6 release of your NuGet with this iOS fix implemented and its not working for me. Screenshot is still possible to take. Do I need to config something for covering the content before screenshot? Im just activating the protection with the static function. @FabriBertani @Gogzs

I just tested the 1.1.6 release of your NuGet with this iOS fix implemented and its not working for me. Screenshot is still possible to take. Do I need to config something for covering the content before screenshot? Im just activating the protection with the static function. @FabriBertani @Gogzs
Issue with images in the package, quick fix add images to your project:
https://github.com/FabriBertani/Plugin.Maui.ScreenSecurity/issues/27


[bug] Creating a form without a on submit callback crashes the server

Describe the bug
Creating a form without a on submit callback crashes the server
To Reproduce
Steps to reproduce the behavior:

Create a ActionForm
Add buttons
Click on a button
See error

Expected behavior
The form should just close
Screenshots
If applicable, add screenshots to help explain your problem.
Details (please complete the following information):

OS: Windows
Endstone Version: v0.5.0

Additional context
Add any other context about the problem here.

I can't reproduce it locally. Could you attach the screenshots of the crash logs and your code? That will be helpful.

Thanks, I am able to reproduce it now. I will look into it.

Can confirm this is now fixed in https://github.com/EndstoneMC/endstone/commit/89058cdf750c02f8eb9e71cd976ab452ab47af30. Thanks for reporting this! I will shortly make another release.


Why some projects target netcore3.0 instead of netstandard2.1.

Microsoft.AspNetCore.Authentication.OpenIdConnect nuget package is targeted to netcore3.0. But old packages are targetting netstandard2.0. This is forcing me to use netcore3.0 as my target framework for my class libraries. But I want to target to netstandard2.1.

See these announcements - https://github.com/aspnet/Announcements/issues/324, https://github.com/aspnet/Announcements/issues/325. ASP.NET Core 3.0 and packages that rely on the framework only target netcoreapp3.0. Our migration notes cover topics on retargeting your libraries to .NET Core 3.0 as well as cross-compiling your library to target older releaes of ASP.NET Core:

https://docs.microsoft.com/en-us/aspnet/core/migration/22-to-30?view=aspnetcore-3.0&tabs=visual-studio#update-the-project-file
https://docs.microsoft.com/en-us/aspnet/core/migration/22-to-30?view=aspnetcore-3.0&tabs=visual-studio#migrating-libraries-via-multi-targeting

So now I can't add a netcoreapp3.0 library to Xamarin and I can't host website in mobile app. Or is there any alternative?

@pavinan do you have a scenario for hosting an ASP.NET Core site in a Xamarin application? It's not something we've seen in the wild and definitely was no considered important to preserve.

@davidfowl hosting a signalr in mobile and communicating without a central server. It is some fun experiment nothing important.

Well the mobile phone is the central server in this case right? What's the client?

It is also a mobile phone.

Actually one of my colleagues project is using TCP for sending commands (JSON) to each other and they wrote so much of logic. I thought it could be done with signalr which is very simple and mature.


[Feature] Support VAN

Motivation
Visual Attention Network
official repo
Result
CUB200
bs8×1GPU

model
top1 acc

van-l
89.54

Config
_base_ = [
    '../_base_/models/van/van_large.py', '../_base_/datasets/cub_bs8_384.py',
    '../_base_/schedules/cub_bs64.py', '../_base_/default_runtime.py'
]

checkpoint = 'van_large.pth'  # converted weight from official repo

model = dict(
    type='ImageClassifier',
    backbone=dict(
        init_cfg=dict(
            type='Pretrained', checkpoint=checkpoint, prefix='backbone')),
    head=dict(num_classes=200, ))

paramwise_cfg = dict(
    norm_decay_mult=0.0,
    bias_decay_mult=0.0,
    custom_keys={
        '.absolute_pos_embed': dict(decay_mult=0.0),
        '.relative_position_bias_table': dict(decay_mult=0.0)
    })

optimizer = dict(
    _delete_=True,
    type='AdamW',
    lr=5e-5,
    weight_decay=0.0005,
    eps=1e-8,
    betas=(0.9, 0.999),
    paramwise_cfg=paramwise_cfg)
optimizer_config = dict(grad_clip=dict(max_norm=5.0), _delete_=True)

log_config = dict(interval=20)  # log every 20 intervals

checkpoint_config = dict(
    interval=1, max_keep_ckpts=3)  # save last three checkpoints
fp16 = dict(loss_scale='dynamic')

Checklist
Before PR:

[x] Pre-commit or other linting tools are used to fix the potential lint issues.
[x] Bug fixes are fully covered by unit tests, the case that causes the bug should be added in the unit tests.
[x] The modification is covered by complete unit tests. If not, please add more unit test to ensure the correctness.
[x] The documentation has been modified accordingly, like docstring or example tutorials.

After PR:

[x] If the modification has potential influence on downstream or other related projects, this PR should be tested with those projects, like MMDet or MMSeg.
[x] CLA has been signed and all committers have signed the CLA in this PR.

Thank you for your great contribution, please fix the conflicts!
Could you provide us with the converted checkpoints for imagenet-1k dataset? you can refer to the convert-scripts like twins2mmcls.  The weights can be uploaded to Google Driver or TmpLink or just provide the convert script.

@Ezra-Yu
http://tmp.link/f/624a4df33256d
http://tmp.link/f/624a4e02a47eb
http://tmp.link/f/624a4e0b28ba8
http://tmp.link/f/624a4e0dbbfc1

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

Would be great if the PR message could also show the example config in downstream repos like mmseg/mmdet


[PE-D] Restricting of adding students to lesson

In the UG, it states that we cannot add users if they are already in the same lesson, however, it seems that it should be allowed, or also it should indicate which students are causing the issue such that we can know which one remove from the indexes, especially when there is a long list of students

Labels: type.FeatureFlaw severity.Medium
original: cedricongjh/ped#14

To be further clarified