Improve Xiaomi attribute report parsing

Xiaomi attribute reports apparently can contain off-by-one length errors in the other direction too (#881):
# Attribute ID
01ff

# Data type
42

# Length
44

# Value (really 69 bytes, expected 0x44 = 68)
03282305212e0008212e12092100106410006510006e20006f2000942002953
90a078c41963999eb0c4597390030683b983980bb873c9b2100009c20010a21
00000c280000

They usually look like:
# Attribute ID
01ff

# Data type
42

# Length
1f

# Value (really 30 bytes, expected 0x1f = 31)
0121b30b0328150421a8130521660106240100000000082105140a21a2f9

Or are the correct length.
In all of these cases the attribute report needs to be postprocessed, since the data type is incorrect and this leads to binary data being written to log files (https://github.com/home-assistant/core/issues/24668):
[0xe4b2:1:0x0000] ZCL request 0x000a: [[<Attribute attrid=65281 value=<TypeValue type=CharacterString, value=d�>>]]
[0xe4b2:1:0x0000] Attribute report received: 65281=d�
0x8dbb:1:0x0b04 async_update
[0x8dbb:1:0x0000] ZCL request 0x000a: [[<Attribute attrid=65281 value=<TypeValue type=CharacterString, value=�(#�!�>>]]
[0x8dbb:1:0x0000] Attribute report received: 65281=�(#�!�

I've changed the data type from "Character String" (0x42) to "Octet String" (0x41) to fix this.

Codecov Report

Merging #883 (ab81a61) into dev (833c1b9) will increase coverage by 0.13%.
The diff coverage is 88.88%.

@@            Coverage Diff             @@
##              dev     #883      +/-   ##
==========================================
+ Coverage   82.50%   82.63%   +0.13%
==========================================
  Files         185      185
  Lines        4589     4601      +12
==========================================
+ Hits         3786     3802      +16
+ Misses        803      799       -4

Impacted Files
Coverage Δ

zhaquirks/xiaomi/__init__.py
83.94% <88.88%> (+2.06%)
:arrow_up:

Continue to review full report at Codecov.

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

@puddly hows this one goin?

Lemme look over it again.


Meta data bulk edit

Adds a script for generating a csv of public open data items that can be edited and updated in bulk.

@MarvinPerry - An enhancement to the script would be to print out a status to the user when generating the CSV. The script is taking a pretty long time, it would be useful to get messaging that the script is still working.

@brooksjbr I addressed the breaking issues we found, and added a message that it could take a while initially, based on the number of items in the org.


Retire ethers.js and store case sensitive ETH address

Checklist

[ ] Replace ethers.js with viem
[ ] Store case sensitive ETH address instead of lowercased
[ ] Migrate old eth addresses

Refs
https://viem.sh/
https://matterslab.slack.com/archives/C88CK7Q7L/p1684997544301659

I can take a look at this issue if it has not been worked on yet, thanks

I can take a look at this issue if it has not been worked on yet, thanks

reassigned to you, thanks!


fix: serving static files from root

This fixes a critical error when loading static files from the root of the file system. This problem is observed on Windows. Not sure if it is relevant for other systems.

#2201

Was about to send a Pr with the exact same fix, this will address regression from latest released vite version

This problem is observed on Windows. Not sure if it is relevant for other systems.

Just in case — same issue on macOS.


Processing list of tokens

Thanks for the library, I have a more of a question and less of an issue.
What is the idiomatic way of processing a list of tokens, discarding tokens that don't pass some test?
I see in the documentation the test_item parser for the testing but how do I go about skipping an item? The skip parser requires to tell it what to skip, I just want to discard the item all together and move to the next.
Thanks

Hi @athiakos
Could you give a more complete example of what you want to achieve - what the input text is, and what you want the output to be?


NEW FEATURE: GraphQL Security

ModSecurity should include a new feature to parse graphQL queries. Nowadays, many big companies are using graphQL.  It involves complex configurations that may expose the applications to various security vulnerabilities, such as, DoS Attacks, Injection Attacks, Introspection Queries (which can expose sensitive data), or other malicious queries.
ModSecurity should  provide native parsing of GraphQL requests and enforces security checks to protect against these attacks.

Hello @shubhagarwal14 ,
Don't GraphQL POST requests just use normal json format?
Please describe more fully what you think would be of high value that is not already supported.


[ENH] remove select_columns from conditional_join

PR Description
Please describe the changes proposed in the pull request:

remove deprecated select_columns function from other functions/tests
use align instead of merge for left/right join
add support for timedelta dtype

This PR builds on #1288 .

PR Checklist

Please ensure that you have done the following:

[x] PR in from a fork off your branch. Do not PR from <your_username>:dev, but rather from <your_username>:<feature-branch_name>.

[x] If you're not on the contributors list, add yourself to AUTHORS.md.

[x] Add a line to CHANGELOG.md under the latest version header (i.e. the one that is "on deck") describing the contribution.

Do use some discretion here; if there are multiple PRs that are related, keep them in a single line.

Automatic checks
There will be automatic checks run on the PR. These include:

Building a preview of the docs on Netlify
Automatically linting the code
Making sure the code is documented
Making sure that all tests are passed
Making sure that code coverage doesn't go down.

Relevant Reviewers

Please tag maintainers to review.

@ericmjl

🚀 Deployed on https://deploy-preview-1297--pyjanitor.netlify.app

GitBot Summary of Changes
The pull request includes several changes across multiple files, primarily focusing on enhancing the conditional_join function and updating the select function usage:

In CHANGELOG.md, a new enhancement is added to the list, stating that conditional_join now supports timedelta dtype.

In conditional_join.py, the conditional_join function is updated to support timedelta dtype. The function now supports efficient joins on inequality operators. The function's documentation is updated to reflect these changes. Several examples are added to illustrate the new functionality.

In deconcatenate_column.py, impute.py, move.py, pivot.py, utils.py, io.py, and test_clean_names.py, the usage of select_columns is replaced with select.

In test_conditional_join.py, new test cases are added to verify the correct behavior of the updated conditional_join function.

In xlsx_cells function in io.py, the usage of select_columns is replaced with select.

In test_clean_names.py, the usage of select_columns is replaced with select in the test cases.

In test_conditional_join.py, new test cases are added to verify the correct behavior of the updated conditional_join function, especially with the new support for timedelta dtype.

cc: @samukweku, please check for correctness!

@samukweku I think we're good to merge, right? I've already approved the changes, and all tests pass so far.

@ericmjl yes it is ok to merge. Thanks


Add devcontainer definition

Is your feature request related to a problem? Please describe:
The main benefit of the devcontainers for me is that I have everything set up and ready to go after a few minutes and do not have to struggle with setting up node, homebridge, etc. So I went with creating a devcontainer which contains a basic homebridge instance already set up and ready to use.
Describe the solution you'd like:
Add a ready-to-use devcontainer definition.
Describe alternatives you've considered:
None
Additional context:
I prepared a branch which contains the definition files needed to get it working. I can not push it because of permissions but you can check this repository for the definition I used for my first plugin. If you tell me how to publish the branch I prepared I can do this of course so you can see the definition without my plugin specific stuff.

Closing issue as PR is open here
https://github.com/homebridge/homebridge-plugin-template/pull/54
I have copied your original text here into the PR description.
I realise the issue isn't resolved until the PR gets merged in but I prefer just having the PR open on its own without an issue too!
See you on the PR!


When model creation is hanging, what to do?

I tried once with no max iterations, default to 5000, it was too long with CPU, at around 75, I stopped it.
So then I tried max iteration option at 100, it seems to hang at around 17...
model = tc.style_transfer.create(style, content, max_iterations = 100)
Is this iteration something that can be stopped at any time and then saved? Because currently it seems to freeze at random process iteration and I started again from 0...

That is most unusual. Can you share your content and style images with us so we can give it a spin and see what's wrong?

Content image:

Style images:

They seem pretty hires and I put the all inside one folder. And over night training for 1000 iterations, for example, hang at around 160 on my Mac. I need to cancel it and start again.

I do getting this "warning" everytime I import turicreate module:
/Users/jimmygunawan/anaconda3/lib/python3.5/site-packages/h5py/__init__.py:36: FutureWarning: Conversion of the second argument of issubdtype from `float` to `np.floating` is deprecated. In future, it will be treated as `np.float64 == np.dtype(float).type`.
  from ._conv import register_converters as _register_converters

And also:
Unsupported image format. Supported formats are JPEG and PNG	 file: style/.DS_Store In [3]:

One question: Does style and content image need to be at certain dimensions? Square?

I have also have similar issue the processing is hanging when I do this:

Content: my cat
Style: a bunch of style of same artists

Stuck at iteration 1 or 2.

From my observation:
Default 5000 is taking too long on CPU. But I remember at 5000, it seems to go up to 70 after around 1 hour.
So I tried changing the iteration to 1000 and 2000. To my surprise, it is taking much longer to go from 0 to 70 iterations.
I tried 10 iterations, and it is even taking longer from 0 to 1....

The hi-res images could be causing memory issues. During training, the model is fed images resized down to 256x256, so there will be no benefit of providing content or style images larger than this. You can still stylize images of any size.
So, one thing you could try is to scale the images down. You can do that for instance doing:
images = tc.load_images('images/')
images['image'] = images['image'].apply(lambda img: tc.image_analysis.resize(img, 256, 256, 3))
images.save('resized.sframe')

Now, you can load that SFrame directly in your training script. This is actually what we do at the onset of training, but I'm worried that we are still keeping the hi-res images around in memory.
Also, the warnings that you mentioned are not important. The h5py seems unrelated to Turi Create, since we do not depend on that package. When loading images, it will warn every time it sees a file that was not PNG or JPEG, but this is safe to ignore. We shouldn't be warning about hidden files like .DS_Store at all though, so I filed an issue for this in #641 (thanks for pointing this out!).

@gustavla I tried resizing using that method but still getting it hanging at iteration 2, from total 10 iterations I assigned. Hmmm..

style = tc.load_images('style/')
style['image'] = style['image'].apply(lambda img: tc.image_analysis.resize(img, 256, 256, 3))
style.save('resized.sframe')

path | image
-- | --
style/image_1250.jpeg | Height: 256 Width: 256
style/image_3690.jpeg | Height: 256 Width: 256
style/images-1.jpeg | Height: 256 Width: 256
style/images.jpeg | Height: 256 Width: 256

Am I doing this the right thing:

CONTENTS: I currently have only 1 image for test
STYLE: I have multiple images with similar "Style"

I expected it to just work, but looks like the iteration process failed at around 10-15%. No matter I specify default 5000, or 100, or 10, it will hang.
Would be nice if we can stop the process at any stage and then just use that?

@enzyme69 I was able to repro your error.
It happens if you use number of content images less than default batch_size (which is 4 currently).
Reason is due to raising StopIteration in  style_transfer/_sframe_loader.py:
        if self.cur_epoch == self.num_epochs or len(self.sframe) == 0:
            raise StopIteration

We should use try and except block on StopIteration as per https://www.python.org/dev/peps/pep-0479/
I filed an issue See #647
For you to get unblocked:
[Like I said before, please use more content images (around 100-200) during training]

@shreyasvj25 This tips seems to do the job, I manage to finally get 10 iterations working to completion! Am I still unblocked?
Ok I will try 100 and 1000 iterations with CPU! Exciting module this one, thanks~

@enzyme69 May I ask what specific changes you made to get it to work? I've increased my number of content images to 125, but the training process still hangs. Did you make changes to style_transfer/_sframe_loader.py?

@talyn are you still hitting this issue?
Can you provide your settings (number of content, style images, and other specifics)? so that we can repro the issue and find the root cause

The title says "1 style image", but I think the bug here happens when it's 1 content image (regardless of how many style images).


decisionKey=_NOT_NULL gives zero results even though decisions exists

@thomasstjerne example at hand?

https://api-dev.col.plus/dataset/1008/name/search?decisionKey=_NOT_NULL&facet=rank&facet=issue&facet=status
https://api-dev.col.plus/decision?id=S-5013
https://api-dev.col.plus/dataset/1008/name/search?facet=rank&facet=issue&facet=status&issue=unusual name characters&limit=50&offset=0

It seems like the decision key in the index is simply always absent, so it must be in the indexing. Vaguely seem to remember that we've been here before. See:
https://api-dev.col.plus/dataset/1008/name/search?decisionKey=_NULL&limit=0
https://api-dev.col.plus/dataset/1008/name/search?limit=0

I have wiped dev (see gitter), so right now it should be empty

I have added decision in the workbench, still none in the search:
https://dev.col.plus/dataset/1008/workbench?facet=rank&facet=issue&facet=status&limit=50&offset=0
https://api-dev.col.plus/dataset/1008/name/search?decisionKey=_NOT_NULL&limit=0

... and interestingly the decision is not in the search result:
https://api-dev.col.plus/dataset/1008/name/search?limit=10
@thomasstjerne how does it get into the workbench then?

Currently the workbench looks up if a decision exists for each name in the table. Think I maybe did this as an interim solution waiting for decisions in the name search

ah, that explains it. If a decision is created the index should be updated. But I found there was a transaction problem that prevented the newly created decision to be visible to the indexer.
Shoould be fixed now!

@ayco-at-naturalis can you please look into this and maybe debug locally? Its blocking @thomasstjerne work

ok - will look into now

There are actually quite a few unit tests going through a full (and non-mocking) index cycle and then testing IS_NOT_NULL and IS_NULL queries for decision_key. They are run as part of the build (not one of those @Ignore test classes) and, self-evidently, they succeed. So I still wonder whether the decision keys really are handed over by postgres. Alternatively, it could be at the very other side, in the REST classes (converting the URL perhaps). Will have a look there

can you run the app locally and create a decision and debug where things go wrong?

I'll try that

@thomasstjerne & @mdoering I've made integration tests spanning both pg and es a lot easier for myself. It's now rather easy to create a test that indexes a mini dataset using the index service, then adds a decision using the decision dao, and then use the search service to make sure the decision key has ended up in the index.
That DID indeed throw up an error in the decision dao, which I fixed. But haven't had time to ascertain that that was indeed the error Thomas was having trouble with.

I have now made the entire trip from REST API all the way down and up and again, I the decision created via the REST API make it to ES, and back via the search API. As mentioned, I have modified the GlobalEntityDao to make it commit before the post-insert/update hooks. integration tests for both create and update of decisions working

This has reappeared. Also it would be nice to have the decisionsKey in the response so I dont have to issue a call to /decisions for each row in the result

@thomasstjerne, please reopen if it is still true. I am closing as I strongly suspect this is because of ES entered read-only mode, see https://github.com/Sp2000/colplus-backend/issues/498

No data: https://api-dev.col.plus/dataset/1015/name/search?decisionKey=_NOT_NULL&facet=rank&facet=issue&facet=status&limit=50&offset=0
Another observation: the row with decisions end up in the very end of the result (last page).
This means that if the exact same search is performed after a a decision is applied, the row with that decision is no longer on the current result page.
Decisions on the very last page example: http://localhost:3000/dataset/1015/workbench?facet=rank&facet=issue&facet=status&limit=50&offset=44350&reverse=false

The decisionKey never gets inserted into Elastic:
I created this decision :
{
  "created": "2019-11-25T13:20:22.913539",
  "createdBy": 100,
  "modified": "2019-11-25T13:20:22.913539",
  "modifiedBy": 100,
  "key": 3,
  "datasetKey": 3,
  "subject": {
    "id": "1",
    "name": "Plantae",
    "rank": "kingdom",
    "code": "botanical",
    "status": "accepted"
  },
  "subjectDatasetKey": 1700,
  "mode": "update",
  "status": "provisionally accepted"
}

But this is the entity in the index for id:1
{
  "_index": "dev-nu",
  "_type": "_doc",
  "_id": "l0i4om4BVHweO5LfYXfO",
  "_score": 9.306202,
  "_source": {
    "usageId": "1",
    "datasetKey": 1700,
    "scientificName": "Plantae",
    "nameStrings": {
      "genusOrMonomialWN": "plantae"
    },
    "nameId": "1",
    "nameIndexId": "QLP",
    "rank": 4,
    "type": 0,
    "nomCode": 1,
    "nameFields": [
      0
    ],
    "status": 0,
    "payload": "eJydkE1OwzAQhe8yawvsNM2fqgohNghRseiu6mJInDAisSvHQZQq1+ICXIxJIFXLAiF29vO852\/eAaiADBQI6FqsNGQHuPL7HR9gzWLuNHrNI5tAqlQoJYJAJCKIRBiJOJmFci6l3B4Hr\/eQKSmgsQWV9BfjNDk5C\/TYan+nh3ssWXnR7hE9NaMUCzDYjJy\/ss2TOI3UP9hOjT\/ZzkhSAU+2sVwW5StGup2KdGieIQu5UUPGNoQ1PzzUaDzqoVI0BfGWXQtZiXWrWbIFb6QEWEcVGcj4rx26dmD0ruOJ0roGPS+xGpeHBS2\/ExeXtIReQOu\/IuVZCua5dQWZam3ZdX9x8\/Hu+MYY+tWTyf2RoaZSv1mjOWIz2\/b9J6XtoK4="
  }
}

The only change is that this entity is now in the end of resultset

I think I finally got it, it's in the mybatis layer. The join with decisions was through the decisions catalogue key, not the subjectDatasetKey. The tests did not pick this up because we use the same datasetKey for both in them ;)


Write the WW9 weekly under the correct Discussion

Please spend 10 minutes on your weekly.
Find it under discussions:
https://github.com/FPGA-MAFIA/fpga_mafia/discussions/categories/weekly

[ ] @NoamRahat
[ ] @jacobavitan837

@NoamRahat @jacobavitan837
Once you complete this task, please mark this issue as done

@NoamRahat @jacobavitan837 Once you complete this task, please mark this issue as done

@NoamRahat , @jacobavitan837 Kind reminder


做了四个月CVPR？

No description provided.

Hi~ Is there anything I can help you? You can also email me<EMAIL_ADDRESS>for further talking.


updating onChange to fix a bug related to autocomplete

for: https://github.com/looker/helltool/issues/25274

:shipit:


"Download" will download the file with the wrong name

using the creator tool, if a file is uploaded using the "post" button, the file be named correctly. for example:
video[sound=files.catbox.moe%2example.mp3].webm
for image file "video" with sound "files.catbox.moe/example.mp3"
however, if the "download" button is used instead, the filename will be as such:
video[sound=files.catbox.moe_2example.mp3].webm
with the percentage sign switching with an underline. a file with such a filename won't work properly when uploaded.

https://support.mozilla.org/en-US/questions/1439267
Security issue caused by browser, I made a fork that is going to take some common hosts and made shorthand for them to avoid % altogether. Thus far only catbox is supported, but it's simple to add more.


Fix registry styles

Notes for Reviewers
This PR fixes #
This issue of registry having different style in prod and other in local came because we recently made root level style changes in components like drawer which indirectly affecting registry.
These changes make sure registry overwrite those root level changes and it fixes the issue
Before

After

Signed commits

[ ] Yes, I signed my commits.

// @Yashsharma1911

Thankyou for fixing it quickly Shubham

Checks passed 👍


Developer Story | Portfolio

Look great!

Hello

I could say my life changing event is on vacation term 3 during COVID 19 (August 2020). My plans: https://github.com/vacation-term3/READ-ME

What I do at Erobot?
I build the Mobile team from the ground up. We share knowledge, make free courses for juniors, help develop applications for controlling robots, showcase & inspiring next generation.


BED-4479 - ensure update key uniqueness by removing sort

Description
Batch updates are bucketed by a unique key that matches the generated openCypher query statement. This sort appears to damage the uniqueness of these buckets, resulting in mismatched kinds being applied to nodes during upsert.
This would manifest as nodes having more than one valid kind such as: match (n) where n:Base and n:Group and n:User return n
Motivation and Context
This damages the validity of data stored in the graph as nodes are being incorrectly labeled.
How Has This Been Tested?
Integration tests pass. Added an additional unit test with some explanation for the assertions.
Types of changes

Bug fix (non-breaking change which fixes an issue)
Database Migrations

Checklist:

[x] I have met the contributing prerequisites

Assigned myself to this PR
Added the appropriate labels
Associated an issue: https://github.com/SpecterOps/BloodHound/issues/672
Read the Contributing guide: https://github.com/SpecterOps/BloodHound/wiki/Contributing

[x] I have ensured that related documentation is up-to-date

Open API docs
Code comments (GoDocs / JSDocs)

[x] I have followed proper test practices

Added/updated tests to cover my changes
All new and existing tests passed

Handing this off to @neumachen


cmd/compile: PPC64.rules for Zero are not checking alignment

System information
Go version: 1.9
OS: Alpine Linux 3.6  (but it is not an Alpine specific issue)
Architecture: ppc64le
Seems that PPC64.rules for Zero are not checking alignment in the cases when they should be.
I reproduced this issue when tried to compile geth project and it failed with error:
compile: invalid offset for DS form load/store 00056 (/home/rdutra/repos/aports/community/geth/src/go-ethereum-1.7.0/build/_workspace/src/github.com/ethereum/go-ethereum/eth/downloader/statesync.go:452) MOVD R0, "".~r2+33(FP)
Steps to reproduce the behaviour
Clone go-ethereum repository in a ppc64le distribution
run make (with go 1.9 installed)

CC @laboger

When a MOVD instruction is used the offset field must be a multiple of 4. We had seen this problem a few months ago but MOVDstorezero did not get fixed at that time.
It can be reproduced when there is a function with something like this:
type Hash [32]byte
func testbool() (bool, Hash) {
var h Hash
return true, h
}
When there is a MOVDstorezero to data that is >= 8 bytes but not nicely aligned, you can hit this error.

This should be backported to go 1.9.

I saw there was an announcement about go 1.9.1. Will this make it in there?

I think 1.9.1 is going to be a security releases, so all the 1.9.1 issues will be bumped to 1.9.2.

But I'll reopen this one now so that it is considered for 1.9.2.

Is it bound with #22047 in any way?

No, not related to #22047, the failure in this issue would show up as a compile time error, because in the rare case where the field being zeroed is not aligned to 4 bytes as required by the instruction, the assembler would issue an error message and fail the compile.

CL 64970 OK for Go 1.9.2.

go1.9.2 has been packaged and includes:

CL 64970

The release is posted at golang.org/dl.
— golang.org/x/build/cmd/releasebot, Oct 26 21:09:16 UTC


Feature/rework

Reworked minio-cpp to in order to:

Fix all the bugs caused by implicit conversions to bool.
Defaulted constructors and destructors.
Explicit override indicators of virtual functions.
Enhanced copy elision and enabled move construction.
Improved const correctness. Only the functions that mutate objects take mutable references.
NULL => nullptr transition, as the required language level is C++17 already.
Fixed a number of the lack of default initialization value bugs.
Enforced -Wall -Wextra -Wconversion and fixed the relevant uncompilable sites.

The scope of the changes is limited to what is allowed by the requirement to leave the API unchanged. Nonetheless, a follow-up pass removing converting constructors is highly recommended.

I assume this is the first PR that doesn't introduce API breaks?

Except for the explicit operator bool() which is the root of most problems here, that's precisely the goal here. More fixes are pending, but let's do it one step at a time.
Moreover, I spoke to @kannappanr and he agreed to treat the removal of all the implicit conversions as bugfixes, even if these changes would break comparability at the user end. As the user experience has priority, this enables much deeper rework.

But I'm in no position to predict the impact on upstream projects that use this repo.

Thank you, @HJLebbink. @kannappanr authorized breaking changes if that improves user experience and can help fix bugs. There shouldn't be many in this PR, but there are more issues requiring our attention, e.g. implicit conversions.

Please fix CI failures.

Sure; I didn't know we have a linter in the CI loop. It's good news and the fixes will be promptly delivered.

Not sure if you have easy access to a Windows dev environment. If not, lmk, I might be able to take a look at the CI failures this weekend.

Not sure if you have easy access to a Windows dev environment. If not, lmk, I might be able to take a look at the CI failures this weekend.

@astrocox I wanted to contact you: have you been able to compile and link this project in the past on WSL2 or on native Windows?

Not sure if you have easy access to a Windows dev environment. If not, lmk, I might be able to take a look at the CI failures this weekend.

@astrocox I wanted to contact you: have you been able to compile and link this project in the past on WSL2 or on native Windows? I and @piotr-topnotch have such win boxes, but use WSL most of the time. For community support, windows native support would be a very good thing to have.

Native windows, after my changes from #108 ! You can check the windows build pipeline for the steps to install dependencies. Locally I have tested it with cl.exe and clang-cl.exe, but the GH actions build is using the regular MSVC cl.exe compiler. If you're using an IDE like Clion, it's pretty easy to set up two different cmake profiles that use Visual Studio and WSL as their respective toolchain.
There are still a lot of compiler warnings to clean up on windows, but I think some Windows support is better than none 🙂

I can extend GH actions workflow to use a much larger matrix of various configurations (OS / compiler)

There are still a lot of compiler warnings to clean up on windows, but I think some Windows support is better than none 🙂

Build support for MSVC is now confirmed. The Windows warnings you can see will be fixed as a part of this PR.


wt ignore env-vars set in the script launching it, due to new "auto reload system env vars with new window / tab"

Windows Terminal version
1.18.1421.0
Windows build number
10.0.19045.0
Other Software
PowerShell 7.4
Steps to reproduce

open powershell
custom a env var $Env:MY_VAR="MY_VAL"
launch a new Windows Terminal wt
in new window (running powershell), type echo $Env:MY_VAR
Nothing show up

after I disable compatibility.reloadEnvironmentVariables in global settings.json, new wt window inherit env var set in powershell
Expected Behavior
No response
Actual Behavior
see above

I might not think it's really a issue, but this change might break some script. Should the new "auto-reload system environment variable" feature set to be "opt-in", rather than "default-on"?

after I disable compatibility.reloadEnvironmentVariables in global settings.json, new wt window inherit env var set in powershell

I can't reproduce this behaviour:
https://github.com/microsoft/terminal/assets/5821575/386bf739-a35f-4385-9443-0013fb6b35fa
I don't think #14999 is at fault here - I think it's likely #5000. As of #5000 there is one overarching WindowsTerminal.exe process that manages all of the windows, whereas in terminal 1.17 and before each window had it's own WindowsTerminal.exe process.
As of version 1.18, when compatibility.reloadEnvironmentVariables is set to false, it's going to be that single long-running WindowsTerminal.exe that has it's environment block copied and given to the new shell process. It's environment won't contain the MY_VAR variable.

In version 1.17, the new WindowsTerminal.exe that's spawned by running wt is going to be the one that has it's environment block copied and given to the new shell process - it's environment will contain the MY_VAR variable.

(Apologies for the screenshots being from different PCs running different Windows versions - it was easier for logistical reasons.)

thanks for reply!
I can confirm that no matter how compatibility.reloadEnvironmentVariables sets, launching a new wt in a wt does not inherit env var.
maybe I wasn't clear, on the 1st step of my first post, I do means open a powershell commandline itself, other than open wt and there is a powershell running on it.

this could be a nasty task, that wt might need to ask parent process that launching it: which env var has been modified in parent process, which one is modified outside of parent process, then merge into the possible result.

so, would you consider make compatibility.reloadEnvironmentVariables also a per profile settings and an env var, so that users can easily disable or enable it per profile / per session?


ci: enable cloudfront awscli commands

These changes enable the preview mode for cloudfront commands before running the cloudfront invalidation.

:tada: This PR is included in version 1.6.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


[Java] Clear the cluster client decoders after use

This helps prevent segfaults when using the debugger - the debugger calls toString on the decoder which will try to decode whatever data they happen to be pointing at and can happen at a point where that data is not valid.

I've pushed a change to SBE to better support this. https://github.com/real-logic/simple-binary-encoding/commit/177e21df1fce779e2a9c521e8ce059c9bd9559ed

Using the large "empty" buffer is wasteful and will cause GC write barriers to be invoked on update, null path is optimised for GC reference update on G1.


is this an virus add on discord name : RianakramPRO

is this an virus add on discord name : RianakramPRO   and dm me
call me and screen share install it infront off me if it isnt a virus ima install it

imagine you literally have the source code

No.


Safe load from SD Card

I really like this project, in my opinion, can be an interesting evolution sign all binaries with a private key and check using a public hardcoded in the firmware.
In some weeks I will try to make it work in that way, someone interested in share more ideas for a safer implementation?
Ciao!

thanks for your feedback :-)
signing binaries sounds much safer than the actual naive implementation 👍 but it also sounds like this would require ESP-IDF for flash encryption, right?
There may be an upcoming problem as existing hidden feature will be extended soon: currently any bin/jpg/mp3 file found on the SPIFFS is automatically moved to the microSD card.
This also needs to be implemented the other way around as some precompiled sketches will only work with their respective SPIFFS folder.
In an upcoming feature addition, SPIFFS content (when applicable) will be copied from a subfolder on the SD Card prior to loading a binary from the menu app, and backed up prior to unloading the app.
Some apps are currently unusable/broken because of this lack of SPIFFS support.
Does it mean SPIFFS should be marked as secure? Also there's concern over files moved from/to the SD Card, should those be encrypted with a per-app key, then decrypted before being copied onto a SPIFFS secure partition, then re-encrypted when backed up on the SD?
Or maybe it's simpler if signed binaries don't use SPIFFS at all?

"dirty" load implemented: https://github.com/tobozo/M5Stack-SD-Updater/blob/master/examples/M5Stack-YOLO-Downloader/M5Stack-YOLO-Downloader.ino


Setting in pastebin

Hello UnamSanctam,
First of all, it's a very great job you're doing, so thank you!
I have some problem to configure my setup via pastebin for nanopool, everything works but I can't put email or password to change the payout in the settings of Nanopool, could you give me an example where I have to put an email and/or password pls?
Here is what I put in my pastebin for the moment:
[main]
connection=stratum://wallet-address.Worker@eth-eu2.nanopool.org:9999
etc=false
(of course in pastebin i've replace 'wallet-address' by mine)

Format it like this for nanopool with email/password
[main]
connection=stratum://wallet-address@eth-eu2.nanopool.org:9999/Worker/Password
etc=false

Oh ok thx !
I'll try it now

Oh and if i want to make the settings {%RANDOM%} like in the builder, can I put it instead of Worker ?

The 'Remote Configuration' doesn't support that in the current version since it replaces that string before it injects the miner.

Ok so I am testing for the password, I have to wait until I have 10 in rating again and if all works I will close the issue, anyway thanks for your help!


Another just a test

Build
https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=797428
Build leg reported
Microsoft.DotNet.Cli.New.IntegrationTests.CommonTemplatesTests.FeaturesSupport
Pull Request
No response
Known issue core information
Fill out the known issue JSON section by following the step by step documentation on how to create a known issue
 {
    "ErrorMessage" : "Microsoft.TemplateEngine.Authoring.TemplateVerifier.TemplateVerificationException",
    "BuildRetry": false,
    "ExcludeConsoleLog": false
 }

Release Note Category

[ ] Feature changes/additions
[ ] Bug fixes
[ ] Internal Infrastructure Improvements

Release Note Description
Additional information about the issue reported
testing a feature

Known issue validation
Build: :mag_right: https://dev.azure.com/dnceng-public/public/_build/results?buildId=797428
Error message validated: [Microsoft.TemplateEngine.Authoring.TemplateVerifier.TemplateVerificationException]
Result validation: :x: Known issue did not match with the provided build.
Validation performed at: 9/6/2024 1:43:39 PM UTC

Report
Summary

24-Hour Hit Count
7-Day Hit Count
1-Month Count

0
0
0

Test was unsuccessful


This issue is created in Huly

Huly®: KN-29

This is a comment written on GitHub

This is a comment written on Huly


Add support for getting all IANA timezones with Windows format replacement

It adds support for getting all IANA timezones with Windows format replacement.
I have added getAllIanaWindowsMap which returns map of IANA timezones.

@rubenillodo Would you like to review and merge my pull request?

Thanks for your contribution! 🥇

@rubenillodo I created PR #7 which updates README file too. Could you create a release for that feature? My team needs it for our production purposes, and I will be grateful.

Releases are automatic after merging, but GitHub is a little bit sick today, so it might take a while.

:tada: This PR is included in version 4.1.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 4.1.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 4.1.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Display asterisk (*) in code without code highlighting

Asterisk highlights a line of code.
*code
code

but if the asterisk is part of my code and I would like it to be displayed. I use this:
**code
code

The asterisk is now displayed, but the line is highlighted. Is there some way to turn off the highlighting?

Hi @royfrancis -- I'm not sure about your use case, since I don't have specific highlighting and I see the number of asterisks I write.
Do you have a minimal example of code to reproduce this?


Invalid invoker health state

Environment details:
EKS cluster with 4 worker nodes, AWS Linux AMI. All of the nodes were labeled with invoker role. Kubernetes: 1.17
OpenWhisk deployed using helm, with invoker.containerFactory.impl: "docker".
Atfer the invoker pods are created and started, these are registered as healthy by the controller, even though the health check didn't execute successfully. When trying to invoke any action, the result is a 500.
Steps to reproduce the issue:

Deploy OW to a cluster which uses containerd as a container runtime.
Wait for the invokers to start up and execute the health checks.

Expected result:
The invoker pods should be in an invalid state when they are unable to run containers.
Actual result:
The invoker is registered as healthy by the controller.
invoker:
[2020-10-02T13:06:53.081Z] [INFO] [#tid_sid_invokerHealth] [] [InvokerReactive]  [marker:invoker_activation_start:23452]
[2020-10-02T13:06:53.088Z] [WARN] [#tid_sid_invokerHealth] [] [InvokerReactive] revision was not provided for whisk.system/invokerHealthTestAction0
[2020-10-02T13:06:53.222Z] [INFO] [#tid_sid_invokerHealth] [] [CouchDbRestStore] [GET] 'test_whisks' finding document: 'id: whisk.system/invokerHealthTestAction0' [marker:database_getDocument_start:23593]
[2020-10-02T13:06:53.237Z] [INFO] [#tid_sid_invokerHealth] [] [CouchDbRestStore]  [marker:database_getDocument_finish:23608:14]
[2020-10-02T13:06:53.342Z] [INFO] [#tid_sid_invokerHealth] [] [ContainerPool] containerStart containerState: cold container: None activations: 1 of max 1 action: invokerHealthTestAction0 namespace: whisk.system activationId: 7ead86477c5b40c1ad86477c5bb0c1b2 [marker:invoker_containerStart.cold_counter:23712]
[2020-10-02T13:06:53.392Z] [INFO] [#tid_sid_invokerHealth] [] [DockerClientWithFileAccess] running /usr/bin/docker run -d --cpu-shares 11 --memory 128m --memory-swap 128m --network bridge -e __OW_API_HOST=http://openwhisk-nginx.*.svc.cluster.local -e __OW_ALLOW_CONCURRENT=false --dns <IP_ADDRESS> --dns-search *.svc.cluster.local --dns-search svc.cluster.local --dns-search cluster.local --dns-search ec2.internal --dns-option options --dns-option ndots:5 --name wskip-*.ec2.internal0_1_whisksystem_invokerHealthTestAction0 --cap-drop NET_RAW --cap-drop NET_ADMIN --ulimit nofile=1024:1024 --pids-limit 1024 --log-driver json-file openwhisk/action-nodejs-v10:nightly (timeout: 1 minute) [marker:invoker_docker.run_start:23763]
[2020-10-02T13:06:54.081Z] [INFO] [#tid_sid_invokerHealth] [] [DockerClientWithFileAccess]  [marker:invoker_docker.run_finish:24452:689]
[2020-10-02T13:06:54.099Z] [INFO] [#tid_sid_invokerHealth] [] [DockerClientWithFileAccess] running /usr/bin/docker inspect --format {{.NetworkSettings.Networks.bridge.IPAddress}} 2b949d5d5653840c4b90d41b3795b275a4c409a073f98f00da54a367376e476e (timeout: 1 minute) [marker:invoker_docker.inspect_start:24470]
[2020-10-02T13:06:54.161Z] [INFO] [#tid_sid_invokerHealth] [] [DockerClientWithFileAccess]  [marker:invoker_docker.inspect_finish:24532:62]
[2020-10-02T13:06:54.162Z] [INFO] [#tid_sid_invokerHealth] [] [DockerClientWithFileAccess] running /usr/bin/docker rm -f 2b949d5d5653840c4b90d41b3795b275a4c409a073f98f00da54a367376e476e (timeout: 1 minute) [marker:invoker_docker.rm_start:24533]
[2020-10-02T13:06:54.222Z] [INFO] [#tid_sid_invokerHealth] [] [CouchDbRestStore] [PUT] 'test_activations' saving document: 'id: whisk.system/7ead86477c5b40c1ad86477c5bb0c1b2, rev: null' [marker:database_saveDocument_start:24593]
[2020-10-02T13:06:54.225Z] [INFO] [#tid_sid_dbBatcher] [] [CouchDbRestStore] 'test_activations' saving 1 documents [marker:database_saveDocumentBulk_start:4672]
[2020-10-02T13:06:54.245Z] [INFO] [#tid_sid_invokerHealth] [] [MessagingActiveAck] posted combined of activation 7ead86477c5b40c1ad86477c5bb0c1b2
[2020-10-02T13:06:54.270Z] [INFO] [#tid_sid_dbBatcher] [] [CouchDbRestStore]  [marker:database_saveDocumentBulk_finish:4718:46]
[2020-10-02T13:06:54.280Z] [INFO] [#tid_sid_invokerHealth] [] [CouchDbRestStore]  [marker:database_saveDocument_finish:24651:58]
[2020-10-02T13:06:54.420Z] [INFO] [#tid_sid_invokerHealth] [] [DockerClientWithFileAccess]  [marker:invoker_docker.rm_finish:24790:257]

controller:
[2020-10-02T13:06:58.833Z] [INFO] [#tid_sid_invokerHealth] [] [InvokerActor] invoker3 is up
[2020-10-02T13:06:58.833Z] [INFO] [#tid_sid_invokerHealth] [] [InvokerPool] invoker status changed to 0 -> Healthy, 1 -> Healthy, 2 -> Healthy, 3 -> Healthy

Logs attached:
controller.log
invoker.log

Thanks @emilchitas - indeed this is a bug in the Invoker supervision which eagerly goes to healthy at startup when not enough canary activations have been accumulated.
https://github.com/apache/openwhisk/blob/a1ba98778e3db80a06fe707c47c5f4c05d8b85ee/core/controller/src/main/scala/org/apache/openwhisk/core/loadBalancer/InvokerSupervision.scala#L389-L397
when the supervisor has accumulated only failures, it should not go to the healthy state (line 397).

Thanks @emilchitas - indeed this is a bug in the Invoker supervision which eagerly goes to healthy at startup when not enough canary activations have been accumulated.
https://github.com/apache/openwhisk/blob/a1ba98778e3db80a06fe707c47c5f4c05d8b85ee/core/controller/src/main/scala/org/apache/openwhisk/core/loadBalancer/InvokerSupervision.scala#L389-L397
when the supervisor has accumulated only failures, it should not go to the healthy state (line 397).

I opened a PR to fix this bug. On AWS we found that the EC2 node group needs a tweak to the boostrap to use docker "inspect" from file.

I opened a PR to fix this bug. On AWS we found that the EC2 node group needs a tweak to the boostrap to use docker "inspect" from file.


How can I use a  sql file to initialize a schema template file

Because i have a lot of table ,so I had to wirte all fields in the schema templates file；
do you have other faster way ?

Hi @brave-orange,
There is a project I've been working on lately called entimport: https://github.com/ariga/entimport
You can use it to import your SQL DB (Postgres and MySQL are currently supported) to an ent schema.
Since it's fairly new there are some limitations, so you are welcome to open an pr/issue there if you have any problem or request.

Awsome!!! I will try !

@brave-orange is there anything else I can help you with, or we can close this issue?


Checked for duplicates
Yes - I've already checked
Website or Best Practice Guide?
Best Practice Guide
Describe the bug
When I tried integrating NASA-AMMOS/slim-detect-secrets into a PDS Engineering Node project, I noticed that the instructions in this guide kept treating the detect-secrets command's --exclude-files argument as a "glob" style file patterns:
… --exclude-files '.secrets.*' --exclude-files '.git*' …

However, when I run detect-secrets scan --help, the usage says:
--exclude-files EXCLUDE_FILES
                      If filenames match this regex, it will be ignored.

which says it's a regex, not a glob.
So, diving into the code:
def should_exclude_file(filename: str) -> bool:
    regexes = _get_file_exclusion_regex()
    for regex in regexes:
        if regex.search(filename):
            return True
    return False

And sure enough .search() is a function on a regex object, not a shell glob.
What did you expect?
I expected the docs to use regexes, not globs:
--exclude-files '.secrets.*' --exclude-files '.git*'

should become
--exclude-files '\.secrets\..*' --exclude-files '\.git.*'

The same should be applied to the args in the pre-commit config later in the docs.
Reproducible steps
$ detect-secrets scan --help

Environment
- `slim-detect-secrets` @ 91e097ad4559ae6ab785c883dc5ed989202c7fbe
- Python 3.11
- macOS 14.0

@nutjob4life - thank you for testing out our guide and for finding this bug! Appreciate you taking the time to report on this.
I just tested out a test scan on a repository using the three approaches below:

detect-secrets scan ./ --all-files --disable-plugin AbsolutePathDetectorExperimental --exclude-files '.secrets.*' --exclude-files '.git*' > .secrets.baseline.exclude-glob
detect-secrets scan ./ --all-files --disable-plugin AbsolutePathDetectorExperimental --exclude-files '\.secrets\..*' --exclude-files '\.git.*' > .secrets.baseline.exclude-regex
detect-secrets scan ./ --all-files --disable-plugin AbsolutePathDetectorExperimental > .secrets.baseline.no-exclude

I then ran the following command against each of the .secrets... files above: cat .secrets.baseline | grep ".git". Here's what I saw:

(1) ignored .git files
(2) ignored .git files
(3) failed to ignore .git files

So, it seems in terms of the guide, the pattern --exclude-files '.secrets.*' --exclude-files '.git*' is functionally equivalent for my repository compared to --exclude-files '\.secrets\..*' --exclude-files '\.git.*'. This is a special case most likely.
@nutjob4life - did you see have a use case where you tried to include other exclude-filesclauses and you had to use the RegEx approach to make it work? Also - if you have the time, would you be interested in proposing a PR for this? Would be great to see you have commit credit for your find!
@perryzjc - I think @nutjob4life's suggestion is spot on and we may need an update to the guide to reflect. Probably a clarification about glob vs regex. Thoughts?

Keeping glob patterns when the --help and the implementation itself clearly uses regexes is only going to cause future confusion. I'm +1 for updating the guide.
 For example, suppose you've got a Python repository with
📁 my.package
   📁 src
      📁 my
         📁 package
            🗒 __init__.py
            📁 accessory
            📁 btree
            📁 dist
            📁 parser

or a Maven package with
📁 stem-analyzer
   📁 src
      📁 main
         📁 java
            📁 org
               📁 forestry
                  📁 stem
                     📁 analysis
                        📁 chooser
                        📁 multiplexer
                        📁 target
                        📁 yamlparser

Then in the Python case, the module my.package.dist gets ignored and in the Maven case the module org.forestry.stem.analysis.target gets ignored.
On top of that, the command-line argument is --exclude-files which suggests it's just files that gets excluded, when it's files and directories. But that's Yelp's fault 😝

@nutjob4life - added your contribution to this PR: https://github.com/NASA-AMMOS/slim/pull/143

Wooot! Thanks @riverma! 🥂

Resolved with https://github.com/NASA-AMMOS/slim/pull/143


Error when indexing template note with parent {{LINKCURRENT}}

Breadcrumbs (0.9.23) returns an error and fails to load properly when indexing a note that includes this value in the YAML:
Parent:

{{LINKCURRENT}}

@stefanopagliari Does Breadcrumbs still break if this is the case? I tested on my side and things seem to work fine

Apologies for not seeing this before. I must have set my notifications wrong because I only got an email when you closed this, not after your previous message

@stefanopagliari ahh no worries!
Do you still have this issue? After testing on my side initially, it seemed to work fine

I had actually changed my workflow so that I did not rely anymore that.


Ship shim with integration testing

And cleanup test projects.

Make sure this can be consumed cross repo. Other than that, things look good.

Did it in https://github.com/aspnet/MetaPackages/pull/281


Roll Flutter Engine from 0338d1c7d7fe to 54c06642eac6 (4 revisions)

https://github.com/flutter/engine/compare/0338d1c7d7fe...54c06642eac6
2024-12-10<EMAIL_ADDRESS>Roll Dart SDK from 9694974b6d41 to d3a963b2f237 (1 revision) (flutter/engine#57072)
2024-12-10<EMAIL_ADDRESS>Roll Skia from<PHONE_NUMBER>22 to bd7d952398d5 (3 revisions) (flutter/engine#57087)
2024-12-10<EMAIL_ADDRESS>Roll Skia from e11d70745224 to<PHONE_NUMBER>22 (1 revision) (flutter/engine#57084)
2024-12-10<EMAIL_ADDRESS>Roll Skia from 3a58be4817a8 to e11d70745224 (2 revisions) (flutter/engine#57082)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC jonahwilliams<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


TypeError: deprecated() got an unexpected keyword argument 'name'

When installing with pip3 install certipy-ad, the latest pyOpenSSL is installed (the only limitation is pyopenssl>=22.0.0). So, a problem arises with pyOpenSSL-23.2.0 (probably with earlier versions too - needs to be tested):
Command:
certipy auth -pfx cert.pfx -dc-ip dc.example.com -username Administrator -domain example.com

Output:
Certipy v4.4.0 - by Oliver Lyak (ly4k)

[-] Got error: deprecated() got an unexpected keyword argument 'name'
[-] Use -debug to print a stacktrace

Temporary solution: pip3 install pyOpenSSL==22.0.0
Possible long-term solutions:

update requirements and limit max version of pyOpenSSL (not recommended)
update the code to not use any deprecated things and use the latest version of pyOpenSSL (a better solution IMHO)

Cannot reproduce. Please provide more details. Use -debug.

I just tried installing a newer version of PyOpenSSL and got an error: AttributeError: module 'lib' has no attribute 'OpenSSL_add_all_algorithms'. Looks like my pip is broken now: I can't even uninstall any library... Probably a compatibility issue between PyOpenSSL and cryptography, but more research is needed to say for sure.

Well, updating pip fixed the issue with it. So, here is the output of certipy with -debug (for some reason the error message changed):
└─$ certipy auth -pfx admin.pfx -dc-ip dc.example.com -username Administrator -domain example.com -debug
Certipy v4.4.0 - by Oliver Lyak (ly4k)

[-] Got error: module 'lib' has no attribute 'OpenSSL_add_all_algorithms'
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/dist-packages/certipy/entry.py", line 60, in main
    actions[options.action](options)
  File "/usr/local/lib/python3.9/dist-packages/certipy/commands/parsers/auth.py", line 10, in entry
    from certipy.commands import auth
  File "/usr/local/lib/python3.9/dist-packages/certipy/commands/auth.py", line 58, in <module>
    from certipy.lib.target import Target
  File "/usr/local/lib/python3.9/dist-packages/certipy/lib/target.py", line 6, in <module>
    from dns.resolver import Resolver
  File "/usr/lib/python3/dist-packages/dns/resolver.py", line 38, in <module>
    import dns.query
  File "/usr/lib/python3/dist-packages/dns/query.py", line 40, in <module>
    import requests
  File "/home/skriep/.local/lib/python3.9/site-packages/requests/__init__.py", line 52, in <module>
    from .packages.urllib3.contrib import pyopenssl
  File "/home/skriep/.local/lib/python3.9/site-packages/requests/packages/urllib3/contrib/pyopenssl.py", line 46, in <module>
    import OpenSSL.SSL
  File "/usr/local/lib/python3.9/dist-packages/OpenSSL/__init__.py", line 8, in <module>
    from OpenSSL import crypto, SSL
  File "/usr/local/lib/python3.9/dist-packages/OpenSSL/crypto.py", line 3268, in <module>
    _lib.OpenSSL_add_all_algorithms()
AttributeError: module 'lib' has no attribute 'OpenSSL_add_all_algorithms'

Also, here is the output of pip freeze (filtered):
asn1crypto==1.4.0
certipy-ad==4.4.0
cryptography==41.0.1
dnspython==2.0.0
dsinternals==1.2.4
impacket==0.9.22
ldap3==2.8.1
pyasn1==0.4.8
pyasn1-modules==0.2.1
pycryptodomex==3.9.7
pyOpenSSL==22.0.0
requests==2.25.1
requests-file==1.5.1
requests-ntlm==1.1.0
requests-toolbelt==0.9.1

Python version is 3.9.2, pip version is 23.0.1.

Well, updating pip fixed the issue with it. So, here is the output of certipy with -debug (for some reason the error message has changed):
└─$ certipy auth -pfx admin.pfx -dc-ip dc.example.com -username Administrator -domain example.com -debug
Certipy v4.4.0 - by Oliver Lyak (ly4k)

[-] Got error: module 'lib' has no attribute 'OpenSSL_add_all_algorithms'
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/dist-packages/certipy/entry.py", line 60, in main
    actions[options.action](options)
  File "/usr/local/lib/python3.9/dist-packages/certipy/commands/parsers/auth.py", line 10, in entry
    from certipy.commands import auth
  File "/usr/local/lib/python3.9/dist-packages/certipy/commands/auth.py", line 58, in <module>
    from certipy.lib.target import Target
  File "/usr/local/lib/python3.9/dist-packages/certipy/lib/target.py", line 6, in <module>
    from dns.resolver import Resolver
  File "/usr/lib/python3/dist-packages/dns/resolver.py", line 38, in <module>
    import dns.query
  File "/usr/lib/python3/dist-packages/dns/query.py", line 40, in <module>
    import requests
  File "/home/skriep/.local/lib/python3.9/site-packages/requests/__init__.py", line 52, in <module>
    from .packages.urllib3.contrib import pyopenssl
  File "/home/skriep/.local/lib/python3.9/site-packages/requests/packages/urllib3/contrib/pyopenssl.py", line 46, in <module>
    import OpenSSL.SSL
  File "/usr/local/lib/python3.9/dist-packages/OpenSSL/__init__.py", line 8, in <module>
    from OpenSSL import crypto, SSL
  File "/usr/local/lib/python3.9/dist-packages/OpenSSL/crypto.py", line 3268, in <module>
    _lib.OpenSSL_add_all_algorithms()
AttributeError: module 'lib' has no attribute 'OpenSSL_add_all_algorithms'

The reason the error message has changed is that pyOpenSSL is still of version 22.0.0, but some other library has been updated (can't tell which one, probably cryptography).

If I update pyOpenSSL to version 23.2.0, the error will be gone. So, it does indeed look like a problem with pyOpenSSL and cryptography: somehow earlier pip freeze showed cryptography==3.3.2. I have no idea how it happened, since there's a requirement cryptography>=37.0.
Anyways, with cryptography==41.0.1 everything seems to work fine.

While the issue seems to be resolved, I would still suggest you to change the requirements and set pyOpenSSL>=22.1.0, because of this.

Actually, cryptography>=39.0 and pyopenssl>=23.0.0 seems to be a more reliable solution.


Renaming folder crashes Godot or message appears that the folder already exists (Godot v4.3 dev 6)

Tested versions

Tested in 4.3 dev 6

System information
Godot v4.3.dev6.mono - Windows 10.0.22631 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 4070 Ti (NVIDIA; <IP_ADDRESS>22) - 13th Gen Intel(R) Core(TM) i9-13900KF (32 Threads)
Issue description
Renaming a folder the first time crashes Godot completely. It just closes. After opening and renaming folders again it says that (no matter what name you choose) that the folder already exists. But it still renames the folder
Steps to reproduce

Create a project
Create a folder
Rename the folder

Minimal reproduction project (MRP)
foldertesting.zip

Supplementing the issue with my own experience:

I got "A file or folder with this name already exists." with both folder and file renaming in 4.3 dev6. Doesn't happen in 4.3 dev5.

The message only shows up if I confirm with ENTER.

This should be solved on latest master after:

https://github.com/godotengine/godot/pull/91112

Yes this should be fixed for Windows by #91112.
Still reproducible on Linux however, but I'll open a separate issue.


Provide two versions of drain_to and split_off

drain_to and split_off take &self and return Bytes.
drain_to_mut and split_off_mut take &mut self and return BytesMut

This was a bad idea.


bump google auth verison to 1.0.2

Closes https://github.com/pydata/pandas-gbq/issues/73

Could we upgrade to the latest version of google-auth to take advantage of the latest fixes? The latest version 1.4.1 might also fix #136 . I see a note in the google-auth release notes that says 'default() now checks for the project ID environment var before warning about missing project ID.'

Yes, to be clear, we want to make that a min version?

I couldn't find a .stickler.yml file in this repository. I can make one for you, or you can create one by following the documentation.

Codecov Report

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

@@             Coverage Diff             @@
##           master     #143       +/-   ##
===========================================
- Coverage   75.75%   27.86%   -47.89%
===========================================
  Files           8        8
  Lines        1633     1633
===========================================
- Hits         1237      455      -782
- Misses        396     1178      +782

Impacted Files
Coverage Δ

pandas_gbq/_load.py
2.5% <0%> (-95%)
:arrow_down:

pandas_gbq/tests/test__load.py
30.76% <0%> (-69.24%)
:arrow_down:

pandas_gbq/tests/test_gbq.py
26.28% <0%> (-57.13%)
:arrow_down:

pandas_gbq/gbq.py
19.69% <0%> (-57.12%)
: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 1674760...21fa6ee. Read the comment docs.

@parthea gentle ping

Updated!


Cannot create form

Managed to get Tellform to run on my Mac after changing Mongoose from ^3.8.40 to ~3.8.40.
Otherwise I get mongoose 3.9.7 and tellform crashes on start.
Now I can sign-up, verify and login, but then the server loops between forms and favicon and I can't click the new form button.

I made a pr for the first point https://github.com/whitef0x0/tellform/pull/71 but facing the same issue.
If you can fix it a pr is welcome otherwise you could try with an older commit maybe.
David created a gitter channel for this project if you're interested is here https://gitter.im/whitef0x0/tellform

The issue seems to come from the session module. The user isn't authenticated from the cookie.
Changing the session policy here https://github.com/whitef0x0/tellform/blob/master/config/express.js#L119 to  app.use(session({secret: 'test'})); made the app work again.

Hello @lalop I tried to replace the L119 with app.use(session({secret: 'test'})); but i am still having the same issue GET /forms 401 please advise

this work for me once I checkout to 22b4d695705c5cf056abfaf345498ff8f28f6b30

@lalop  does this commit 22b4d695705c5cf056abfaf345498ff8f28f6b30 contains the upload file field?

I don't think no

@lalop the thing I really need a working version with the upload file field enabled, If you can help me I would appreciate it. Merci en avance

Not sure that I will be really helpfull but you can come on the gitter channel to speak of your issue and try to fix the project

@joekh upload file field is currently not implemented

I'm closing this issue as it seems like the original issue has been fixed by #71.
@joekh you can check on the progress of the upload file field at #75

I'm having this issue with the current version

@coderbec you have to set your BASE_URL to localhost or whatever url you are using.

@coderbec in your case, since you are using heroku, your BASE_URL should be set to my_app_name.herokuapp.com. You can set this in the Config Vars section of the Settings pane .

it's definitely set

@coderbec try pulling from the code again. I removed the domain in the config so it shouldn't happen anymore.

@coderbec it's probably easier if you come on the gitter chat


chore: check documentation lint

Description
Adds a check-doc job to the Makefile. This job checks for errors and warnings in the doc-comments.
Makefile structure
~I've added a meta-job check that runs check-code and check-doc.~
~The check job is run in CI so now the pipelines would check for code and documentation.~
~check-code replaces the old check job.~
~For me this is not a breaking change as it concerns tooling and not public APIs. I've also checked every place the cargo check job could have been referenced.~
Job implementation
I've used an unstable Rustdoc flag: --check, see here. Here is the tracking issue.
I've used cargo rustdoc instead of cargo doc to pass flags down to rustdoc.
I didn't use the env variable RUSTDOCFLAGS because cargo-make doesn't cleanup task scoped env after execution, so it would interfere with other jobs.

Fixes #451

I've added a meta-job check that runs check-code and check-doc.
The check job is run in CI so now the pipelines would check for code and documentation.
check-code replaces the old check job.
For me this is not a breaking change as it concerns tooling and not public APIs. I've also checked every place the cargo check job could have been referenced.

This was failing in the pipeline since the check pipeline wasn't run with nightly.
I think putting check-doc makes more sense in the lint pipeline (style-check Makefile job).
It is already running nightly and only runs on ubuntu which is enough for checking documentation.

Thanks for the PR!


Is it possible to download subtitles?

Have you read the FAQ and checked for duplicate open issues?
Yes
What version of Shaka Player are you using?
2.5.5
Please ask your question
I've been trying to build an app using shaka-player and am at the finishing stages. Currently I'm working on the selection of options for the user that he can choose from to download.
So far I managed to let the user pick a combination of audio/video to download. However, some media files also include subtitle tracks, which I'd like the user to be able to choose to download as well.
So far I couldn't find out how to do that. Am I missing something?

Yes, you could just copy it, or you could build your version from scratch.  The part you care about is the last few lines where it selects the text tracks.  You can just add all the TEXT tracks to the returned array.


Update to python3

work in progress to get travisci green.  this commit is based on the python3 branch

This PR includes updates to support:

python3 (python2 dropped)
vtk 8.2
ubuntu 16.04 and 18.04 (14.04 dropped)
latest homebrew on mac mojave

This looks awesome! Can I ask if you have an idea of when we might be able to merge this? Is there anything we can help with?

Hi Eric, I am prepared to merge this now.  Does that work for the drake users?

Yes, that would be excellent for us - thank you!

Ok, master is now using python3.  I pushed a branch named py2-support which is a snapshot of the previous master so folks can still use that if they need python 2.
Eric, please let me know if you get a chance to try the new python3 master branch and let me know if you find any bugs, thanks!

Awesome, thank you so much!


Add combineStops and reverseStops

Also export  stopRation and stopColor

Looks good! Thank you very much.
I'd like to suggest a different version for the help texts, though:
I would put combineStops on top, with the following help text:

Concatenates two color scales. The first argument specifies the transition point as
a number between zero and one. The color right at the transition point is the first
color of the second color scale.
Example:
redToBlue `combineStops 0.4` orangeToGray

And then, for combineStops', I'd write something like this:

Like combineStops, but the width of the "transition zone" can be specified as the
first argument.
Example:
redToBlue `combineStops epsilon x` orangeToGray

Here, the color at x will be orange and color at x - epsilon will be blue.
If we want the color at x to be blue, combineStops' epsilon (x + epsilon) could be used.

What do you think?

Released as v4.3.0. Thanks!!

💃


Add support for django 3.2

I don't see a reason why django 3.2 wouldn't work except that the setup.py limits django to <3.2

It does work fine, I just much prefer use the official package via a pip install instead of a fork that changes one line.

Oh yeah, I agree. My point was that it seems a trivial thing to fix

I just need extra time to migrate to github actions from greedy travis..

Any update on this?

+1 please.  We need this . . ..  Looks like there is already a PR with the fix in from May.  Thanks for the great package!

0.11.0 has been released ;)


Tracking: Enhanced integration with StarRocks

We want to enhance the StarRocks sink, providing a full-featured integration and progress the feature toward a more stable phase.
Here is a list of specific tasks:

[x] Test the integration with StarRocks v2.5 (2.5.18), which will be the minimum supported version afterwards.
[ ] Support multiple MySQL frontend servers. Right now we only support one address.
[x] Starting from v2.2, StarRocks introduced the JSON support. Since our minimal supported vesion is v2.5, we can convert complex data types like JSONB into JSON.
[x] Refine the error when the user tries to sink a column with timestamptz. We should suggest converting timestamptz to timestamp at first.
For example, "TIMESTAMP WITH TIMEZONE is not supported for Doris sink as Doris doesn't store time values with timezone information. Please convert the column '{}' to TIMESTAMP first."

Once all finished, we'll try to publish on the integration guide in StarRocks's document website.

Test the multiple MySQL/HTTP frontend servers.  our request and fe exchange only two cases, 1. get the table schema. 2. request forwarded to be, tested the fe under the multi-cluster, these two functions, the cluster can be completed by any node, so may not need to implement multiple ports.


Update expansion.md for clarity.

Corrected the line to clear the confusion.

This is actually intended, the compiler runs the syntax extension, that is the macro,  to get the expansion contents, then it tries to parse them. It does not run the code from the expansion.

@Veykril Can you please elaborate a bit, What does it mean when we say

compiler runs a syntax extension

To be clear I am not against rewording this, given it apparently does cause confusion. Will think about this how I can improve the wording here to make it more clear


Linting error for Python

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

VS Code Version: version 1.78.2
OS Version: Ubuntu 22.04

Hi! Maybe it's a simple bug, or maybe it was already reported, but I found the following linting  error for Python:

Steps to Reproduce:

Create a list, dict, tuple, etc. object. For example -> []
Add some inside of it, string. Example -> ['text']
Add one more apostrophe ('). Example -> ['text'']
Remove the apostrophe that it's to the left that you added in point 3.

Tada! You have a Linting problem.
It's a simple bug; yes, it's. Maybe it's not essential; yes, it's not. But I wanted to report it!
Thanks, and sorry if this is generating noise.

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.78.2. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

It looks like this is caused by the Python extension. Please file the issue to the Python extension repository. Make sure to check their issue reporting template and provide them relevant information such as the extension version you're using. See also our issue reporting guidelines for more information.
Happy Coding!


Fix some whitespace and typos

'Grand' --> 'Grant' (on publication main page)
Removed '.' from 'Manage Files.'

Looks good to me.


How to use mold linker?

How can I use the mold linker with cmake tools? There's a few ways one can use it: https://github.com/rui314/mold/issues/131 but I didn't see any options that fit the patterns in cmake tools settings.

Thank you for your feedback.
I don't anticipate us ever adding support to override our configure commands using something like mold -run ....  However, the readme of that project appears to provide information about how to configure clang/gcc to use that linker instead using standard command switches here under "a classic way to use mold": https://github.com/rui314/mold#how-to-use
Then it's just a matter of adding those switches in your CMake scripts.  An example can be found here: https://stackoverflow.com/questions/1867745/cmake-use-a-custom-linker
If you're still blocked, we might be able to help out in some other way, but I don't think you need a feature from our extension to make this work.

I was able to embed the use of alternative linkers in my CMake scripts with https://github.com/omnisci/omniscidb/blob/master/CMakeLists.txt#L100-L114 :+1:

That's great news. Glad to hear you have it working!


Add endpoints to export results and search for wca live id by wca id

It'd be useful to get results periodically as they're being added. This would enable a number of third party apps that make use of live results.

Note that we also need tests in competition_controller_test.exs.

I've added a test
Here is the current output: https://gist.github.com/coder13/826c4fdf0dab0d589d05e93caae3bd19
I think it makes sense to include ranking.
I wasn't sure if you meant to flatten the array of rounds but in the spirit of reducing duplication, I group rounds by event.
I return all people, I don't know the simplest solution for returning only people with results but that would also make sense as an optimization.
I played around with filtering out people without results / empty rounds / events with no rounds with results


When there is folder and blob with identical name, clone the folder actually clones the blob

Storage Explorer Version: since 1.15.1
Build Number: 20200902.9
Platform/OS: Mac
Architecture: x64
Regression From:  N/A
Bug Description
When there is a folder and a blob with identical name in a blob container, clone the folder will actually clone the blob.
Steps to Reproduce
Go to a blob container root dir,

Create directory named "folder", then upload a file to it
Upload a file named "folder" to the root directory
Clone the "folder" folder with new name "folder2"

Expected Experience
A new folder "folder2" is created.
Actual Experience
A copy of the blob "folder" is created.
Additional Context
This is the AzCopy command we use for such operation
./azcopy copy "https://account.blob.core.windows.net/container/folder/*?sasToken" "https://account.blob.core.windows.net/container/folder2?sasToken" --recursive;

Related to https://github.com/Azure/azure-storage-azcopy/issues/1277


GPRS Commands for traccar with openGTS

GPRS commands read and put into database.
commands like WHERE# //for current location
STATUS# //for check status
you can read GT06N commands like bellow file
http://ads.pwtech.pw/gpscommands/GT06N command（V2.0）.xlsx
Please tell me how can i read this commands responce and how can insert on openGTS database.
and from where i can send this commands manually from traccar java file?
because i want to put commands by users on database. traccar will read command and sent to server and then server will reply and ready by traccar and insert into database.
waiting for your reply
keval mer

Do you want to send commands through Traccar from OpenGTS interface? I don't think it's possible.
You can use Traccar API if you want to send commands, but I'm not sure if it's going to work with current OpenGTS integration config. You might need to modify it.

Can i know which table's of traccar database is reponsible for this type of commands?
i will put that table on database of openGTS.
if i know from which file traccar api fetching this data and send to device then i will put database table on opengts and then it will work like traccar?
is it possible?

Commands are sent directly to the connected devices. They are not store in the database.

Hi ,
I have a sets of command that are stored in db in one of the gts table.
I want to send this command back to device .
Please help me or given some idea to solve this problem.
(I am able to send the command via a trackhandler java code but it's set by server side or me , now i need this command set by web interface and  that will store in db , if packet will come I have to get back the command to particular device )
@kevalkk  @tananaev
Thank You.

@prashant075, you are asking in the wrong place. This is Traccar project.

Thanks


building scipy in VS code Docker Dev ubuntu container: No such file or directory: '/tmp/pip-build-env-na93e837/overlay/bin/pybind11-config'

See https://github.com/scipy/scipy/issues/21040
Describe your issue.
In the latest VS Code in Win 11, I created a container with scipy in it, and use the (scipy-dev) conda environment. Building scipy with meson gives the error
 FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env-na93e837/overlay/bin/pybind11-config'
but there is no even such directory:
cd /tmp/pip-build-env-na93e837/
bash: cd: /tmp/pip-build-env-na93e837/: No such file or directory

while
(scipy-dev) codespace ➜ /workspaces/scipy (main) $ pip install "pybind11[global]"
Requirement already satisfied: pybind11[global] in /home/codespace/micromamba/envs/scipy-dev/lib/python3.12/site-packages (2.12.0)
Requirement already satisfied: pybind11-global==2.12.0 in /home/codespace/micromamba/envs/scipy-dev/lib/python3.12/site-packages (from pybind11[global]) (2.12.0)

(scipy-dev) codespace ➜ /workspaces/scipy (main) $ python -m pip install --no-build-isolation
--config-settings=editable-verbose=true --editable .
Obtaining file:///workspaces/scipy
  Checking if build backend supports build_editable ... done
  Preparing editable metadata (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Preparing editable metadata (pyproject.toml) did not run successfully.
  │ exit code: 2
  ╰─> [192 lines of output]
      + meson setup --reconfigure /workspaces/scipy /workspaces/scipy/build/cp312 -Dbuildtype=release -Db_ndebug=if-release -Db_vscrt=md --native-file=/workspaces/scipy/build/cp312/meson-python-native-file.ini
      Traceback (most recent call last):
        File "/home/codespace/micromamba/envs/scipy-dev/lib/python3.12/site-packages/mesonbuild/mesonmain.py", line 186, in run
          return options.run_func(options)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/home/codespace/micromamba/envs/scipy-dev/lib/python3.12/site-packages/mesonbuild/msetup.py", line 363, in run
          app.generate()
        File "/home/codespace/micromamba/envs/scipy-dev/lib/python3.12/site-packages/mesonbuild/msetup.py", line 187, in generate
          return self._generate(env, capture, vslite_ctx)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/home/codespace/micromamba/envs/scipy-dev/lib/python3.12/site-packages/mesonbuild/msetup.py", line 226, in _generate
          intr.run()
        File "/home/codespace/micromamba/envs/scipy-dev/lib/python3.12/site-packages/mesonbuild/interpreter/interpreter.py", line 3011, in run
          super().run()
        File "/home/codespace/micromamba/envs/scipy-dev/lib/python3.12/site-packages/mesonbuild/interpreterbase/interpreterbase.py", line 162, in run
          self.evaluate_codeblock(self.ast, start=1)
        File "/home/codespace/micromamba/envs/scipy-dev/lib/python3.12/site-packages/mesonbuild/interpreterbase/interpreterbase.py", line 188, in evaluate_codeblock
          raise e
        File "/home/codespace/micromamba/envs/scipy-dev/lib/python3.12/site-packages/mesonbuild/interpreterbase/interpreterbase.py", line 180, in evaluate_codeblock
          self.evaluate_statement(cur)
        File "/home/codespace/micromamba/envs/scipy-dev/lib/python3.12/site-packages/mesonbuild/interpreterbase/interpreterbase.py", line 194, in evaluate_statement
          return self.function_call(cur)
                 ^^^^^^^^^^^^^^^^^^^^^^^
        File "/home/codespace/micromamba/envs/scipy-dev/lib/python3.12/site-packages/mesonbuild/interpreterbase/interpreterbase.py", line 520, in function_call
          res = func(node, func_args, kwargs)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/home/codespace/micromamba/envs/scipy-dev/lib/python3.12/site-packages/mesonbuild/interpreterbase/decorators.py", line 250, in wrapper
          return f(*nargs, **wrapped_kwargs)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/home/codespace/micromamba/envs/scipy-dev/lib/python3.12/site-packages/mesonbuild/interpreterbase/decorators.py", line 569, in wrapper
          return f(*wrapped_args, **wrapped_kwargs)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/home/codespace/micromamba/envs/scipy-dev/lib/python3.12/site-packages/mesonbuild/interpreter/interpreter.py", line 2429, in func_subdir
          self.evaluate_codeblock(codeblock)
        File "/home/codespace/micromamba/envs/scipy-dev/lib/python3.12/site-packages/mesonbuild/interpreterbase/interpreterbase.py", line 188, in evaluate_codeblock
          raise e
        File "/home/codespace/micromamba/envs/scipy-dev/lib/python3.12/site-packages/mesonbuild/interpreterbase/interpreterbase.py", line 180, in evaluate_codeblock
          self.evaluate_statement(cur)
        File "/home/codespace/micromamba/envs/scipy-dev/lib/python3.12/site-packages/mesonbuild/interpreterbase/interpreterbase.py", line 233, in evaluate_statement
          self.evaluate_foreach(cur)
        File "/home/codespace/micromamba/envs/scipy-dev/lib/python3.12/site-packages/mesonbuild/interpreterbase/interpreterbase.py", line 471, in evaluate_foreach
          self.evaluate_codeblock(node.block)
        File "/home/codespace/micromamba/envs/scipy-dev/lib/python3.12/site-packages/mesonbuild/interpreterbase/interpreterbase.py", line 188, in evaluate_codeblock
          raise e
        File "/home/codespace/micromamba/envs/scipy-dev/lib/python3.12/site-packages/mesonbuild/interpreterbase/interpreterbase.py", line 180, in evaluate_codeblock
          self.evaluate_statement(cur)
        File "/home/codespace/micromamba/envs/scipy-dev/lib/python3.12/site-packages/mesonbuild/interpreterbase/interpreterbase.py", line 211, in evaluate_statement
          return self.evaluate_if(cur)
                 ^^^^^^^^^^^^^^^^^^^^^
        File "/home/codespace/micromamba/envs/scipy-dev/lib/python3.12/site-packages/mesonbuild/interpreterbase/interpreterbase.py", line 301, in evaluate_if
          self.evaluate_codeblock(i.block)
        File "/home/codespace/micromamba/envs/scipy-dev/lib/python3.12/site-packages/mesonbuild/interpreterbase/interpreterbase.py", line 188, in evaluate_codeblock
          raise e
        File "/home/codespace/micromamba/envs/scipy-dev/lib/python3.12/site-packages/mesonbuild/interpreterbase/interpreterbase.py", line 180, in evaluate_codeblock
          self.evaluate_statement(cur)
        File "/home/codespace/micromamba/envs/scipy-dev/lib/python3.12/site-packages/mesonbuild/interpreterbase/interpreterbase.py", line 200, in evaluate_statement
          return self.method_call(cur)
                 ^^^^^^^^^^^^^^^^^^^^^
        File "/home/codespace/micromamba/envs/scipy-dev/lib/python3.12/site-packages/mesonbuild/interpreterbase/interpreterbase.py", line 536, in method_call
          (h_args, h_kwargs) = self.reduce_arguments(node.args)
                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/home/codespace/micromamba/envs/scipy-dev/lib/python3.12/site-packages/mesonbuild/interpreterbase/interpreterbase.py", line 592, in reduce_arguments
          reduced_pos = [self.evaluate_statement(arg) for arg in args.arguments]
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/home/codespace/micromamba/envs/scipy-dev/lib/python3.12/site-packages/mesonbuild/interpreterbase/interpreterbase.py", line 200, in evaluate_statement
          return self.method_call(cur)
                 ^^^^^^^^^^^^^^^^^^^^^
        File "/home/codespace/micromamba/envs/scipy-dev/lib/python3.12/site-packages/mesonbuild/interpreterbase/interpreterbase.py", line 549, in method_call
          res = obj.method_call(method_name, args, kwargs)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/home/codespace/micromamba/envs/scipy-dev/lib/python3.12/site-packages/mesonbuild/interpreterbase/baseobjects.py", line 81, in method_call
          return method(args, kwargs)
                 ^^^^^^^^^^^^^^^^^^^^
        File "/home/codespace/micromamba/envs/scipy-dev/lib/python3.12/site-packages/mesonbuild/interpreterbase/decorators.py", line 663, in wrapped
          return f(*wrapped_args, **wrapped_kwargs)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/home/codespace/micromamba/envs/scipy-dev/lib/python3.12/site-packages/mesonbuild/interpreterbase/decorators.py", line 250, in wrapper
          return f(*nargs, **wrapped_kwargs)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/home/codespace/micromamba/envs/scipy-dev/lib/python3.12/site-packages/mesonbuild/interpreterbase/decorators.py", line 569, in wrapper
          return f(*wrapped_args, **wrapped_kwargs)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/home/codespace/micromamba/envs/scipy-dev/lib/python3.12/site-packages/mesonbuild/interpreter/interpreterobjects.py", line 553, in variable_method
          return self.held_object.get_variable(
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/home/codespace/micromamba/envs/scipy-dev/lib/python3.12/site-packages/mesonbuild/dependencies/configtool.py", line 156, in get_variable
          p, out, _ = Popen_safe(self.config + self.get_variable_args(configtool))
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/home/codespace/micromamba/envs/scipy-dev/lib/python3.12/site-packages/mesonbuild/utils/universal.py", line 1521, in Popen_safe
          p = subprocess.Popen(args, universal_newlines=True, encoding=encoding, close_fds=False,
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/home/codespace/micromamba/envs/scipy-dev/lib/python3.12/subprocess.py", line 1026, in __init__
          self._execute_child(args, executable, preexec_fn, close_fds,
        File "/home/codespace/micromamba/envs/scipy-dev/lib/python3.12/subprocess.py", line 1840, in _execute_child
          self._posix_spawn(args, executable, env, restore_signals,
        File "/home/codespace/micromamba/envs/scipy-dev/lib/python3.12/subprocess.py", line 1784, in _posix_spawn
          self.pid = os.posix_spawn(executable, args, env, **kwargs)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      FileNotFoundError: [Errno 2] No such file or directory: '/tmp/pip-build-env-na93e837/overlay/bin/pybind11-config'
      The Meson build system
      Version: 1.4.1
      Source dir: /workspaces/scipy
      Build dir: /workspaces/scipy/build/cp312
      Build type: native build
      Project name: scipy
      Project version: 1.15.0.dev0
      C compiler for the host machine: cc (gcc 9.4.0 "cc (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0")
      C linker for the host machine: cc ld.bfd 2.34
      C++ compiler for the host machine: c++ (gcc 9.4.0 "c++ (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0")
      C++ linker for the host machine: c++ ld.bfd 2.34
      Cython compiler for the host machine: cython (cython 3.0.10)
      Host machine cpu family: x86_64
      Host machine cpu: x86_64
      Program python found: YES (/home/codespace/micromamba/envs/scipy-dev/bin/python)
      Found pkg-config: YES (/home/codespace/micromamba/envs/scipy-dev/bin/pkg-config) 0.29.2
      Run-time dependency python found: YES 3.12
      Program cython found: YES (/home/codespace/micromamba/envs/scipy-dev/bin/cython)
      Compiler for C supports arguments -Wno-unused-but-set-variable: YES (cached)
      Compiler for C supports arguments -Wno-unused-function: YES (cached)
      Compiler for C supports arguments -Wno-conversion: YES (cached)
      Compiler for C supports arguments -Wno-misleading-indentation: YES (cached)
      Library m found: YES
      Fortran compiler for the host machine: gfortran (gcc 9.4.0 "GNU Fortran (Ubuntu 9.4.0-1ubuntu1~20.04.2) 9.4.0")
      Fortran linker for the host machine: gfortran ld.bfd 2.34
      Compiler for Fortran supports arguments -Wno-conversion: YES (cached)
      Checking if "-Wl,--version-script" : links: YES (cached)
      Program tools/generate_f2pymod.py found: YES (/home/codespace/micromamba/envs/scipy-dev/bin/python /workspaces/scipy/tools/generate_f2pymod.py)
      Program scipy/_build_utils/tempita.py found: YES (/home/codespace/micromamba/envs/scipy-dev/bin/python /workspaces/scipy/scipy/_build_utils/tempita.py)
      Program pythran found: YES 0.16.1 0.16.1 (/home/codespace/micromamba/envs/scipy-dev/bin/pythran)
      Found CMake: /usr/bin/cmake (3.16.3)
      DEPRECATION: CMake support for versions <3.17 is deprecated since Meson 0.62.0.
      |
      |   However, Meson was only able to find CMake 3.16.3.
      |
      |   Support for all CMake versions below 3.17.0 will be removed once
      |   newer CMake versions are more widely adopted. If you encounter
      |   any errors please try upgrading CMake to a newer version first.

      WARNING: CMake Toolchain: Failed to determine CMake compilers state
      Run-time dependency xsimd found: NO (tried pkgconfig and cmake)
      Dependency threads found: YES unknown (cached)
      Library npymath found: YES
      Dependency pybind11 found: YES 2.12.0 (cached)
      Program f2py found: YES (/home/codespace/.local/bin/f2py)
      Run-time dependency scipy-openblas found: NO (tried pkgconfig)
      Dependency openblas found: YES 0.3.8 (cached)
      Dependency openblas found: YES 0.3.8 (cached)
      Program ../tools/version_utils.py found: YES (/home/codespace/micromamba/envs/scipy-dev/bin/python /workspaces/scipy/scipy/../tools/version_utils.py)
      Compiler for C supports arguments -Wno-maybe-uninitialized: YES (cached)
      Compiler for C supports arguments -Wno-discarded-qualifiers: YES (cached)
      Compiler for C supports arguments -Wno-empty-body: YES (cached)
      Compiler for C supports arguments -Wno-implicit-function-declaration: YES (cached)
      Compiler for C supports arguments -Wno-parentheses: YES (cached)
      Compiler for C supports arguments -Wno-switch: YES (cached)
      Compiler for C supports arguments -Wno-unused-label: YES (cached)
      Compiler for C supports arguments -Wno-unused-result: YES (cached)
      Compiler for C supports arguments -Wno-unused-variable: YES (cached)
      Compiler for C++ supports arguments -Wno-bitwise-instead-of-logical: NO (cached)
      Compiler for C++ supports arguments -Wno-cpp: YES (cached)
      Compiler for C++ supports arguments -Wno-class-memaccess: YES (cached)
      Compiler for C++ supports arguments -Wno-deprecated-declarations: YES (cached)
      Compiler for C++ supports arguments -Wno-deprecated-builtins: NO (cached)
      Compiler for C++ supports arguments -Wno-format-truncation: YES (cached)
      Compiler for C++ supports arguments -Wno-non-virtual-dtor: YES (cached)
      Compiler for C++ supports arguments -Wno-sign-compare: YES (cached)
      Compiler for C++ supports arguments -Wno-switch: YES (cached)
      Compiler for C++ supports arguments -Wno-terminate: YES (cached)
      Compiler for C++ supports arguments -Wno-unused-but-set-variable: YES (cached)
      Compiler for C++ supports arguments -Wno-unused-function: YES (cached)
      Compiler for C++ supports arguments -Wno-unused-local-typedefs: YES (cached)
      Compiler for C++ supports arguments -Wno-unused-variable: YES (cached)
      Compiler for C++ supports arguments -Wno-int-in-bool-context: YES (cached)
      Compiler for Fortran supports arguments -Wno-argument-mismatch: YES (cached)
      Compiler for Fortran supports arguments -Wno-conversion: YES (cached)
      Compiler for Fortran supports arguments -Wno-intrinsic-shadow: YES (cached)
      Compiler for Fortran supports arguments -Wno-maybe-uninitialized: YES (cached)
      Compiler for Fortran supports arguments -Wno-surprising: YES (cached)
      Compiler for Fortran supports arguments -Wno-uninitialized: YES (cached)
      Compiler for Fortran supports arguments -Wno-unused-dummy-argument: YES (cached)
      Compiler for Fortran supports arguments -Wno-unused-label: YES (cached)
      Compiler for Fortran supports arguments -Wno-unused-variable: YES (cached)
      Compiler for Fortran supports arguments -Wno-tabs: YES (cached)
      Compiler for Fortran supports arguments -Wno-argument-mismatch: YES (cached)
      Compiler for Fortran supports arguments -Wno-conversion: YES (cached)
      Compiler for Fortran supports arguments -Wno-maybe-uninitialized: YES (cached)
      Compiler for Fortran supports arguments -Wno-unused-dummy-argument: YES (cached)
      Compiler for Fortran supports arguments -Wno-unused-label: YES (cached)
      Compiler for Fortran supports arguments -Wno-unused-variable: YES (cached)
      Compiler for Fortran supports arguments -Wno-tabs: YES (cached)
      Checking if "Check atomic builtins without -latomic" : links: YES (cached)

      ERROR: Unhandled python OSError. This is probably not a Meson bug, but an issue with your build environment.
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

This doesn't look familiar, I don't quite know what is going on there. This is unlikely to be a meson-python bug; more something between SciPy, Pybind11, and whatever is going on with how VS Code spins up a container.
To not treat the same bug report in two places, I'll close this issue and will reply on https://github.com/scipy/scipy/issues/21040.


Added carousel functionality to week-only format

I used the same existing implementation and merged most of the code necessary to handle both the monthly and weekly view. I managed to removed a lot of duplicate code doing this, but I believe the builder methods can also be merged in a future version.

Thanks. It really looks great. But when changing weekFormat from hot reloading it throws error like below because the widget wasn't constructed.

I think it would be fine but what do you think?

Oh, I see what you mean. Yeah, that might cause problems when switching modes during runtime. I will push an update tomorrow with a fix.

Fix pushed, you can try it out again :)

Fantastic!


Undefined variable: access

there is some error after verify the email
ErrorException in UserController.php line 36:
Undefined variable: access

Need to seed

another issue
Trying to get property of non-object (View: D:\xampp\htdocs\admin\resources\views\admin\modules\twitter\twitter-user-home-timeline.blade.php) (View: D:\xampp\htdocs\admin\resources\views\admin\modules\twitter\twitter-user-home-timeline.blade.php)

I would suggest setting up a homestead vagrant dev environment, all your reported issues are not actual issues with the code but issues with your environment.


onMarkerPick strange x & y values and markerPickResult null

TO REPRODUCE THE ISSUE, FOLLOW THESE STEPS:
Version 0.10.1

put a Marker (e.g. lat: 40.1 lng: 2.3 ) markerId -> 1
tap on Marker (pick in screen: x: 508.0 y: 783.0)

RESULT:
MarkerPickListener#onMarkerPick returns:
markerPickResult = null
x = 783.0 (sreens y-cordinate)
y = 2.3 (marker lng-coordinate)
And debugging on MapController#markerPickCallback the markerId is diferent (not 1)
EXPECTED RESULT:
map Controllers detect a Marker beacause x & y aren't empty but markerPickResult  is null and  x & y has strage results.
OTHER:
My code is simple:
       @Override
        public boolean onSingleTapConfirmed(float x, float y) {
            map.pickFeature(x, y);
            map.pickMarker(x, y);
            map.pickLabel(x, y);
            return true;
        }

        @Override
        public void onMarkerPick(MarkerPickResult markerPickResult, float x, float y) {
                if(mOnMarkerClickListener != null && markerPickResult != null){
                         mOnMarkerClickListener .onMarkerClick(markerPickResult.getMarker())
               }
        }

    private void setUpMap() {
        [...]

        map.setFeaturePickListener(this);
        map.setLabelPickListener(this);
        map.setMarkerPickListener(this);

        [...]
    }

Thanks for all
Marc,

I have just tried out iOS v0.10.1 and the behavior is a bit different than on android, but still not working as it should, marker pick result is nil, x,y values are always 0,0.
@matteblair any progress with this issue?

@matteblair in Android 5.0 & 8.1 works fine but in Android 7.1.1 doesn't work.

@matteblair Is there any update on it?
I am getting null value for featurePickResult in pickFeature  by clicking on pois

I've made a PR with some changes to clarify the behavior of the pick interfaces - this might address some of the questions in this thread. If there are other suggestions to make it clearer, please add them on the PR! https://github.com/tangrams/tangram-es/pull/2103
The original issue, where pick callbacks have nonsensical results, is probably not resolved by this PR. I've had difficulty debugging it because I'm unable to reproduce the issue on my Android test device (Galaxy S7 with Android 6.0).


'Xamarin' could not be found after upgrading Xamarin.UITest to 4.x

It works fine on 3.x.
After upgrading the nuget package to 4.0.1 or 4.1.0, namespaces 'Xamarin' could not be found.
I tried it on both windows and mac. Please help.

never mind, just needed to change the target framework to 4.7.2

never mind, just needed to change the target framework to 4.7.2

Can you elaborate how you resolved this issue by changing to 4.7.2


📝 docs: Correct Google OAuth Callback URL Example

Summary
The Google OAuth documentation calls out github as the provider in the callback URL example. This may add confusion for some users during the set up process in Google Cloud. I've updated the example with google as the provider and checked that the other OAuth/OIDC markdown files all follow the same pattern.
Change Type

[ ] Documentation update

Testing
Viewed the affected markdown files to ensure correctness.
Test Configuration:
Checklist
Please delete any irrelevant options.

[ ] My code adheres to this project's style guidelines
[ ] I have performed a self-review of my own code
[ ] I have made pertinent documentation changes
[ ] My changes do not introduce new warnings

thanks!


feat(core): add option to use WebGPURenderer

This feature adds a webGPU parameter to TresCanvas which determines what renderer to use, whether the WebGLRenderer or WebGPURenderer, allowing people to use new techs like TSL.
At the moment this feature is broken as soon as I import the WebGPURenderer, it returns the following error:
✘ [ERROR] Top-level await is not available in the configured target environment ("chrome87", "edge88", "es2020", "firefox78", "safari14" + 2 overrides)

    ../node_modules/.pnpm/three@0.166.1/node_modules/three/examples/jsm/capabilities/WebGPU.js:14:15:
      14 │   isAvailable = await navigator.gpu.requestAdapter();

The error can be seen by uncommenting this line.
I tried fixing it with the vite-plugin-top-level-await plugin but unfortunately no luck,
I assume there's some configuration somewhere I'm not aware of that I should override.

cc @andretchen0


Use fixed width integers for underlying enum types

Originally I used DWORD for flags. When I removed Windows-specific types, I changed it to unsigned long to keep the signature the same. The ask is to use uint32_t instead which is more consistent on Windows vs. Linux.
Also removed 'extra-semi' for macro.
Changed use of void* to uint8_t* for "FromMemory" operations which is the recommendation for C++ byte-addressable buffers. This matches how DDSTextureLoader/WICTextureLoader already do it.
Added a GetConstBufferPointer method to Blob utility class for const-correct access.

https://github.com/walbourn/directxtextest/pull/54


Stop Consumer When There is SIGTERM Signal in Linux

Description
I am trying to implement graceful shutdown for my consumer running in Kubernetes. Is it possible for the consumer to stop consuming when there is a SIGTERM signal?
How to reproduce
Checklist
Please provide the following information:

[ ] A complete (i.e. we can run it), minimal program demonstrating the problem. No need to supply a project file.
[ ] Confluent.Kafka nuget version.
[ ] Apache Kafka version.
[ ] Client configuration.
[ ] Operating system.
[ ] Provide logs (with "debug" : "..." as necessary in configuration).
[ ] Provide broker log excerpts.
[ ] Critical issue.

it looks like handling SIGTERM is supported by .net core:
https://stackoverflow.com/questions/38291567/killing-gracefully-a-net-core-daemon-running-on-linux
https://github.com/microsoft/azure-pipelines-agent/pull/242
(i didn't read it), but do whatever that says in conjunction with the ConsumeResult<TKey, TValue> Consume(CancellationToken cancellationToken = default(CancellationToken)) method.

Hi mhowlett, if there is a SIGTERM signal, what will Consume(CancellationToken) returns?

you need to set up a CancellationTokenSource that handles the SIGTERM. It will be similar to the Ctrl-C case in the examples: https://github.com/confluentinc/confluent-kafka-dotnet/blob/master/examples/Consumer/Program.cs#L199 if you cancel the cancellation token, the consume method with throw an exception.

Thanks for the quick response.
Will the consume method throw an OperationCanceledException or  a ConsumeException?

OperationCanceledException