Vendor libs update to support darwin/arm64

Hello,
I have error on build for darwin/arm64:
# github.com/miekg/dns/vendor/golang.org/x/net/internal/socket /Users/chado/go/src/github.com/miekg/dns/vendor/golang.org/x/net/internal/socket/cmsghdr.go:9:10: undefined: cmsghdr
The same error and fix - https://github.com/golang/go/issues/22301
As hotfix I remove dir "vendor/golang.org/x/net" on my mac
Thanks

Would you like to a send a PR updating the vendored code?
(Related: #655)


Does this plugin support woocommerce blocks?

Hello,
Unzer looks great and we would like to use it in one of our shops. We're using the WooCommerce Blocks Checkout Page, because it's the recommended way and will replace the standard checkout page in future. So does this plugin work with the Gutenberg WooCommerce Blocks?
Regards,
Marius

Hello Marius
Thanks for your interest in the Unzer WooCommerce PlugIn. We will check if the WooCommerce Blocks is compatible with the UNZER Plugin and inform you asap.
Best regards,
Unzer PlugIn Team

Any Plans on supporting the checkout blocks?


[JA] Add a translation for the index page of the "Design and UI" section.

I would like to contribute Japanese translation for index.markdown under /design-and-ui.
Since this is my first contribution, I would like to start a small piece of translation.

I have the translated version ready in my hand.
Please let me know if I need to do something else (e.g. If a commit for translation should be bigger portion).
Thank you!!

Closing due to age, feel free to re-open if action is required.


Linux mint 18.3 issue

Hi Ivan.
i have the stick T2U and i want to use it for my laptop to get faster connect 5Ghz
its not work with linux mint 18.3
edit: i installed Ubuntu 17.10 and its still not working.
its available in lsusb and when i enable wifi by "sudo t2u-driver", i saw 2 icon wifi (1 of my laptop, 1 of T2U) but both of them show no signal, no connection. when i click on on/off my laptop freezing for few second, or hang forever.
i dont know why,, hope you got some time to help me fix it out. if you need any infomation just ask.
thank you in advance

This repository is intended to work on Ubuntu LTS versions (17.10 is not LTS), and Mint is not supported as well. If anyone comes with the proper fix it'll be merged, I can't maintain this repo updated nowadays. Sorry.


Fixing role slugs

They are using hyphens as we're auto generating them in sanity and that
uses hyphens and not underscores

LGTM apart from the conflicts 👍

Closing - was sorted by @mauriceyap


Examples for create/import wallet with v0.11

I'm trying to use the latest version(i.e master/v0.11) to create a wallet, however, got an error with unknown username 'DCSgjFcLS9iZkN6H4BxuhUga'. Here is the command i run:
./rgb create alice --tapret-key-only tapret(tpubDCSgjFcLS9iZkN6H4BxuhUgabTchh3qqad49fYqndF595dnhcVTApsaEfGXXMVJTh2wrT2wKWPbcrSaX6VNMSaBp8NYThxHj3DA8oDiUNcK)

Also, i found that in the source codes, there're bp.toml and rgb.toml configuration files. Is there some examples for these two configure file, i.e. What fields can i set in these two file?

You misspel the descriptor. Instead of tapret(tpubDCSgjFcLS9iZkN6H4BxuhUgabTchh3qqad49fYqndF595dnhcVTApsaEfGXXMVJTh2wrT2wKWPbcrSaX6VNMSaBp8NYThxHj3DA8oDiUNcK) it should be [master_fingerprint/86h/1h/0h]/tpubDCSgjFcLS9iZkN6H4BxuhUgabTchh3qqad49fYqndF595dnhcVTApsaEfGXXMVJTh2wrT2wKWPbcrSaX6VNMSaBp8NYThxHj3DA8oDiUNcK/<0;1;9;10>/* where master_fingerprint must be replaced with the seed master fingerprint as a hexadecimal 8 chars.

e.g:
rgb create -d .alice default \
  --tapret-key-only  "[64cb48ea/84h/0h/0h]xpub6DAHwd8k5Vq32trU8BJ1dPGLgYeCs8VLUNrkve574pSaWPjD5VC8tyKrfFeopZUt1jxVC2noDzWtyvsugVrHyR3XnD7Srbxnc5XECzc2Pqv/<0;1>/*"

It has been resolved.
Please close this issue too.


chore(deps): upgrade dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-dependencies" workflow

AWS CodeBuild CI Report

CodeBuild project: GitHubPipelineAutoBuildProj-XK8ItpxnSow5
Commit ID: 6e94880a75c6b885ce2a290ef3bfc8c0abafb660
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository


[spacey2025] Add spacey2025 strategy

Implemented #332
https://github.com/snapshot-labs/snapshot-strategies/issues/332
Spacey2025 strategy
Implement the voting power by different category of erc721. The voting power rules are like below
SPAY x1
LAND x600
Ticket x1500
Tower x6

Hi please revert changes from package-lock.json file

@ChaituVR Thanks for looking into the diff! Already updated as per your feedback.

@ChaituVR thanks for fixing it! I noticed it seemed fixed by your commit already. I think I don't need to do anything for it, am I right? Let me know if any code I need to update.


adds missing package lock for reproductible CI

fixes #3556

Note: the schema test will fail until we merge to main since there currently isn't any package-lock.json on main

when you install locally, you'll get the same exact versions that were installed when this file was setup (or whenever a dependabot update was merged). It improves reproducibility

on the first pull after this gets merged however, you might have git complaining that you already have a package-lock.json if you've already ran npm i. Just delete it. That's a one time problem affecting people who installed before this PR.
People familiar with git and/or npm should be able to resolve that on their own without requiring assistance.

After some discussion last week, this sort of limited-impact change (most of our checks are failing right now anyway) can be merged with one approval, so I'm doing that.


[New game]: Chain of Words!

🎮 Game Request
Game logic and basic description
Word Chain game will basically comprise of the words of your own choice.
Player has to form the chain of words that is the last letter of previous word should match with the first letter of next word.
Point down the features
Game points

There will be the timer that within the time interval, player has to form the chain of words.
The number of words made available within the given time interval will be the score.

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


class-autocompletion doesn't work properly with created classes.

We created a class "Knight". But when we type /class Kn, I would expect the "Knight" option to be on top. However, it's not:

That is because /class choose, /class create and /class leave are existing commands. You can add a space after /class Knight to see auto-completion of class related commands, such as /class Knight modifier list

Yes, that works, but it's not completing on Knight. So I'd classify that as a bug 😉

'Knight' not being on top is probably something wrong about the command library I'm using. I'm currently working on an update to switch to a new command library that uses Brigaider, hopefully fixing issues like this. But I can't really do that much about it at the moment since current codebase is a lot different than the latest version.

FYI: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/command/TabCompleter.html


Create pages for each video clip

We have a measurable, finite, indexed list of video clips. Each of those should have a unique URL, to facilitate discoverability and sharing.

I've gotten a fine start on this, in video/clip.php. Everything is done, except for the video itself, which is displaying the usual array of Flowplayer problems—not starting when it should, not stopping at the end.


Go FileServer fails with wget and curl for files over ~4MB

Your Windows build number:  (Type ver at a Windows Command Prompt)

Microsoft Windows [Version 10.0.17134.228]

What you're doing and what's happening:  (Copy&paste specific commands and their output, or include screen shots)

A very simply Go FileServer application hosted on WSL will cause remote cURL and wget to error while downloading files over ~4M;however, the same application will not cause this problem running on CentOS.
For technical details please look at the original ticket: golang/go#27128.

golang/go#27128.


How would it be possible to help with the detection of more models?

Hello,
I saw the post on beehaw.org about this project and started playing around but I've gotten false negatives when using a 7B model. How would it be possible to improve detection so I could try and get more accurate results? And is it possible without lessening detection on larger models such as ChatGPT?
I've gotten the following results using the 7B model:
Silly generation: Human 0.60
Serious generation: Human 0.039
My own text: Human 0.69

The web based UI lets you mark a sample as a false negative. For the python code, I would take some samples and add them to ai-generated.txt which should improve the performance for your model.

Alright, I believe I can only run the python script on my phone so I wasn't aware, thank you!


Fix for multiple ckeditors

Dear Yuku-t,
We like using jquery-textcomplete. Recently we added ckeditor to our application. Jquery-textcomplete and ckeditor worked well together until we started using multiple ckeditors on one page. We dug into code and fixed this issue so everything works well with multiple ckeditors. You can find our fix in this pull request. We know you are no longer maintaining this repository, but we hope you can make an exception for this issue, because this is very important to us.
Fixed issues:

In completer.js the instanceready-event thrown by ckeditor was only handled once. So initialization only happened for the first ckeditor on the page.
We adjusted the code inside the instanceready-handler to make it work for multiple ckeditors (and single editors).

self.option.ckeditor_instance is set to the correct editor when the focus changes.
Extra code added to make sure the focus-handler is only attached once to each editor, otherwise the textcompleter will replace things multiple times.

We’ve made 2 jsfiddle’s to illustrate our improvements:

Before (not working for multiple ckeditors): https://jsfiddle.net/pbeuseli/5gee41q5/
After (working for multiple ckeditors): https://jsfiddle.net/pbeuseli/h40nefcv/

We know about the issue discussed in https://github.com/yuku-t/jquery-textcomplete/pull/294. There was an earlier pull request for this issue, which has recently been applied. That pull request fixed things for 'single' ckeditors perfectly, however it did not fix all the issues for multiple editors, this new pull request fixes the issues for both single and multiple editors.
If you have any remarks, please contact us.

<EMAIL_ADDRESS>is released

Thank you very much for merging this! This helps us a lot.


F togglesupportvalues

Button that toggles support values

@tkukavica1 I don't think you need to submit another pull request. Just commit to this branch and it will work out. Fix line 7 of src/treeOperations.js and push the changes in this branch.


[$250] Sign in page - Console error shows when refreshing on the sign in page

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 9.0.65-1
Reproducible in staging?:  Y
Reproducible in production?: Y
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: N/A
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Issue reported by: Applause - Internal Team
Action Performed:

Access staging.new.expensify.com
On Sign in page, refresh the browser

Expected Result:
Browser should be refreshed with no issues
Actual Result:
Console errors show in Developer tools when refreshed on Mac Chrome or Safari
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Standalone
[ ] Android: HybridApp
[ ] Android: mWeb Chrome
[ ] iOS: Standalone
[ ] iOS: HybridApp
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence

https://github.com/user-attachments/assets/d3839843-6e37-49ab-be42-f4d265d16eaa
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~021869141607591509852
Upwork Job ID:<PHONE_NUMBER>591509852
Last Price Increase: 2024-12-31

Issue OwnerCurrent Issue Owner: @Ollyws

Hello, Im Jakub from Callstack and would like to help with this issue

@kubabutkiewicz - assigned to you.

Assigned to CS engineer, so not open to more proposals.

@kubabutkiewicz do you have an update?


Guest Checkout Failed with 401 permission_denied Error

I was able to integrate this into my React application using this code and it's working well when paying using a PayPal account.
However, all attempts to do guest checkout and pay by directly paying with a credit card fail after the payment is submitted by a 401 response with the content {"ack":"permission_denied","message":"Permission Denied"}.
The outgoing request contains {{data: {payer_id: "ULWK7Y9ZHQNYU"}, meta: {}}. I'm not going the post the full header as I'm not sure what may be sensitive in it.
Troubleshooting I've tried:

Disabling my CSP
Testing in both sandbox and production
Verified that accounts optional was enabled
Verified I have a business account
Verified my account is not limited in any way that's displayed on my dashboard

Since the information I have to provide to this library is actually nice and simple (client_id + transaction data), and it's working well for me with a PayPal login, the only two options I can think of are:

Something else not visible on my account is causing paypal to reject guest checkouts. I've contacted tech-support to try to verify this, but nothing heard yet.
This library is not forming the request for guest checkouts properly.

At this point I'm waiting on tech support to get back to me and will update this if it's some configuration error on my part.

Can you let me know which exact request (method + url) is failing? Is it the execute call?
Also, if you can provide me the paypal-debug-id from the response headers of the failed response, I can dig in a little deeper (ideally from production)

@bluepnume Thanks for trying to help, here are some more details. I re-enabled account-optional and tried to pay using a CC in production and got this result again. The sandbox calls also fail in a similar way. Both sandbox and production work when paying with a paypal account.
It's the execute call that fails.
General header info
Request URL:https://www.paypal.com/webapps/hermes/api/payment/PAY-**REMOVED**/execute
Request Method:POST
Status Code:401 Unauthorized
Remote Address:<IP_ADDRESS>:443
Referrer Policy:no-referrer-when-downgrade

Request headers with a few things maybe sensitive taken out
POST /webapps/hermes/api/payment/PAY-**REMOVED**/execute HTTP/1.1
Host: www.paypal.com
Connection: keep-alive
Content-Length: 47
x-paypal-internal-euat: **REMOVED**
Origin: https://www.paypal.com
x-csrf-jwt: **REMOVED**User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36
Content-Type: application/json
Accept: application/json
X-Requested-With: XMLHttpRequest
DNT: 1
Referer: https://www.paypal.com/webapps/hermes/button?env=production&version=4.0.71&uid=4b76ac827d&locale.x=en_US&style.color=gold&style.shape=pill&style.size=small&style.label=checkout&xcomponent=1
Accept-Encoding: gzip, deflate, br
Accept-Language: en-US,en;q=0.8,la;q=0.6
Cookie: ectoken=47U69571S4024961L; X-PP-K=1494620568:5:NA; cookie_check=yes; dtCookie=**REMOVED**; ui_experience=home%3D3%26login_type%3DEMAIL_PASSWORD%26ot_terms_shown%3Dtrue; X-PP-ADS=**REMOVED**; AKDC=phx-origin-www-1.paypal.com; ectoken=**REMOVED**; id_token=; xppcts=c1ff6a0b4a249774; tsrce=unifiedloginnodeweb; 44907=GTEYESAJ8R8UC; 47364=US; tcs=%7CpomaSubmit; ts=**REMOVED**; login_email=avariodeveloper%40gmail.com; KHcl0EuY7AKSMgfvHl7J5E7hPtK=**REMOVED**; x-pp-s=**REMOVED**; LANG=en_US%3BUS; x-csrf-jwt=**REMOVED** X-PP-SILOVER=name%3DLIVE3.WEB.1%26silo_version%3D880%26app%3Dhermesnodeweb%26TIME%3D615585625%26HTTP_X_PP_AZ_LOCATOR%3Dslcb.slc; akavpau_ppsd=**REMOVED**

Request payload was {"data":{"payer_id":"ULWK7Y9ZHQNYU"},"meta":{}}
Some response headers with a few things maybe sensitive taken out
HTTP/1.1 401 Unauthorized
Server: Apache
X-Recruiting: If you are reading this, maybe you should be working at PayPal instead! Check out https://www.paypal.com/us/webapps/mpp/paypal-jobs
Paypal-Debug-Id: 183af03ec588c
Cache-Control: no-cache
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
Content-Security-Policy: default-src 'self' https://nexus.ensighten.com http://localhost.paypal.com:* https://*.paypal.com http://*.paypal.com https://*.paypalcorp.com https://www.paypalobjects.com https://ak1s.abmr.net https://akamai.mathtag.com https://*.akamaihd.net http://connect.facebook.net https://connect.facebook.net https://staticxx.facebook.com http://staticxx.facebook.com https://www.facebook.com https://m.facebook.com http://www.facebook.com https://*.cardinalcommerce.com 'unsafe-inline' 'unsafe-eval'; img-src *; block-all-mixed-content
X-Powered-By: Express
ETag: **REMOVED**
x-csrf-jwt: **REMOVED**
x-csrf-jwt-hash: **REMOVED**
HTTP_X_PP_AZ_LOCATOR: slcb.slc
Paypal-Debug-Id: 183af03ec588c
Content-Encoding: gzip
Cache-Control: max-age=0, no-cache, no-store, must-revalidate
Pragma: no-cache
Content-Type: application/json; charset=utf-8
DC: phx-origin-www-1.paypal.com
Content-Length: 71
X-EdgeConnect-MidMile-RTT: 67
X-EdgeConnect-Origin-MEX-Latency: 187
Date: Sun, 14 May 2017 01:21:41 GMT
Connection: close
Vary: Accept-Encoding
Set-Cookie:  **REMOVED**; Domain=.paypal.com; Path=/; HttpOnly; Secure
Set-Cookie: x-csrf- **REMOVED**; Domain=.paypal.com; Path=/; Expires=Sun, 21 May 2017 01:21:40 GMT; HttpOnly; Secure
Set-Cookie: X-PP-SILOVER=name%3DLIVE3.WEB.1%26silo_version%3D880%26app%3Dhermesnodeweb%26TIME%3D615585625%26HTTP_X_PP_AZ_LOCATOR%3Dslcb.slc; Expires=Sun, 14 May 2017 01:51:40 GMT; domain=.paypal.com; path=/; Secure; HttpOnly
Set-Cookie: X-PP-SILOVER=; Expires=Thu, 01 Jan 1970 00:00:01 GMT
Set-Cookie: akavpau_ppsd=**REMOVED** Path=/
Strict-Transport-Security: max-age=63072000

Response payload is {"ack":"permission_denied","message":"Permission Denied"}
It fails once, tries to retry and fails again the same way, with the below warning
index.js:529 api_retry_aborted
Object {method: "post", uri: "/webapps/hermes/api/payment/PAY-**REMOVED**/execute", timestamp:<PHONE_NUMBER>494, windowID: "9ce7da4ffa", pageID: "7cfbecc79f"}

The second failed call paypal debug id is d3bedefc3a6b5

I think I know what's causing this. Out of interest -- can you check to see if you have 3rd party cookies disabled? If so, my hunch is enabling them will fix this problem for you.
If that turns out to be the case, I'll need to make a fix in our guest checkout to make this work with 3pc disabled.
Thanks for passing across all of this info!

I don't think they are disabled, here are my chrome settings.

I also tried with safari and got the same result,.

Hmm interesting. Let me dig into this some more...

OK I'm seeing the error with the latest debug id you passed. Looks like it's a CSRF failure. Should be pretty straightforward to find the root cause and make a fix -- I'll take a look at this first thing when I'm in the office on monday and let you know when we can roll out the fix.
Thanks again for pointing this out and providing so many details!

@jehartzog - could you try now? I've made a partial fix to at least get the retry working in case of CSRF failures. So it should at least work end-to-end now. Please let me know if not.
I'll keep this open while I track down the cause of the original CSRF failure.

@bluepnume Thanks again for the assist, but no dice yet.
Here is are the debug ID's from the attempt, second one was the auto-retry, ran against production
Paypal-Debug-Id:446f5bfef1dbf
Paypal-Debug-Id:845ec95f85c3a

Did your clear your cache? Can you let me know the paypal.version?

I'm silly, forgot that I had previously fixed my paypal version at 4.0.71. I upgraded to 4.0.72 and am getting different results, but still no closer to accepting direct CC payments.
Running this against sandbox, the client never even made the execute call, after I entered the info my onCancel(data) gets called. My debug ID on the successful payment call was 18e00636c45fc. Here is the data from the onCancel callback (token removed):
 data: '{"paymentToken":"EC-**REMOVED**","intent":"sale","cancelUrl":"https://www.sandbox.paypal.com/cgi-bin/webscr?cmd=_express-checkout&xo_node_fallback=true&force_sa=true&fallback=1&token=EC-**REMOVED**"}',

Thanks again for the responsiveness, it's been a bit of a struggle getting payments to just work :).

So -- I tried this use case on both sandbox and production.

Production - worked fine for me (did you manage to get this to work in prod using 4.0.72?)
Sandbox - I saw the same error you did. Dug into it, and it looks like one of the services the guest app uses is down in our sandbox env. I'm raising a ticket to get that service restarted, I'll let you know as soon as it's up again. But I don't think it's a code issue this time.

Sorry about all of the problems. I'm sure you can't be getting the best impression of our integration right now, but I really do appreciate you taking the time and helping me track down these issues.

I didn't try it out on production previously since it completely failed on sandbox, but after you responded I went ahead and gave it a shot.
I still got the 401 on the first execute call, but the second one went through, so yay!
I'll be honest, I already implemented the braintree drop-in ui in a half day and was keeping the effort on this hoping to get payments working for our customers while waiting for the merchant account approval. I guess both products are under the PayPal umbrella, so kinda on the same team, right?
Thanks again for the quick responses and troubleshooting help.

OK, my ticket was resolved, and the sandbox issue seems to be resolved -- it's working for me now.

I still got the 401 on the first execute call, but the second one went through, so yay!

Next step for me is to narrow down the cause of this.
Thanks!

Fix for this was made a while ago, but still waiting on a code push.


Download directly from S3

We are using refile for video upload and storage. The problem is that on download refile streams the data through the application and it fills up the servers' tmp space and create more strain on the system.
Is there a way to download the file directly from S3?

For anyone who is interested, I've solved this like this (needs error checking):
  # redirect the user to a link on s3 with a temp download link using the S3 gem
  def download_redirect
    service = S3::Service.new(access_key_id: Rails.application.secrets.s3_access_key_id,
                              secret_access_key: Rails.application.secrets.s3_secret_access_key)
    bucket = service.buckets.find(Rails.application.config.attachment_bucket)
    o=bucket.objects.find("store/#{params[:id]}")
    redirect_to o.temporary_url(Time.now + 1800), status: :found
  end


[IDE] Disable constraint system diagnostics during code completion

It seems disabling diagnostics doesn't introduce any regression.
rdar://problem/50679428

@swift-ci Please smoke test

@swift-ci Please smoke test

@swift-ci Please Build Toolchain macOS Platform

macOS Toolchain
Download Toolchain
Git Sha - 581519ef303135e39b8f0b4d0386bae406f1507f
Install command
tar -zxf  swift-PR-24842-310-osx.tar.gz --directory ~/

@swift-ci Please Sourcekit Stress test

Added revert commit for #25922.

@swift-ci Please Sourcekit Stress test

@swift-ci Please smoke test

Superseded by #26888


i found a problem

Problem encountered on https://dotnet.microsoft.com/learn/dotnet/hello-world-tutorial/install
Operating System: windows
Provide details about the problem you're experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.

What is the problem that you have found @Itsjustmelandon? We need more information in order to help you.


Enhance Clusterer plugin instructions

What is this PR About?
Minor adjustments to README for Clusterer

thanks, now we have to have a RHEL based build. also this approach although it works is not too elegant.
I wonder if we could make it work with just a replication controller


fix: support multi-output in benchmark and integration tests

functionality changes:

decode function for output interface: for testing only
datadog: pass tag as ddtags default
benchmark: support "$OUTPUT" in output path arg, which is then expanded to output name. Escaping is needed to pass that arg in shell (or change it to something else)
expected output results are now split by output names

bug fix:

metrics in integration / benchmark were incorrect because of mixed references and values holding the same counter structure.

Also I'm not really sure why do we need DecodeChunkToJSON? I see where it's used, but why do we want to save decoded chunks locally? Is it for debugging purposes, to see the structure of the chunks themselves?
I'm just not really fond of the idea of having test-specific code in outputs and inflating the interfaces. Is it possible to move these DecodeChunkToJSON implementations to test package and try to decode the chunks based on the chunk id? Cause it always ends in .dd for datadog and .ff for fluentbit.

Also I'm not really sure why do we need DecodeChunkToJSON? I see where it's used, but why do we want to save decoded chunks locally? Is it for debugging purposes, to see the structure of the chunks themselves?
I'm just not really fond of the idea of having test-specific code in outputs and inflating the interfaces even further. Is it possible to move these DecodeChunkToJSON implementations to test package and try to decode the chunks based on the chunk id? Cause it always ends in .dd for datadog and .ff for fluentbit.

Saving was previously provided because the fluentd chunk is 100% compatible with fluent-bit's and can be moved to fluent-bit for sending or vice-versa. If we remove the part (and the output override mechanism), how do we check the outputs are correct?
If we move them out, wouldn't be they tightly coupled to each output type, while being placed outside of the package? There is no proper testing for the fluentd output but each output type should also contain tests to verify its own result.
Or we could instead integrate with the simulators.

I wonder if it's possible to create per-output reports in case we're running the benchmark with more than one? Would be quite handy for comparing the results.

Yes it's needed. I'll make the changes here.


Is it possible to filter the graph before or when walking the graph?

First let me say I finally got my first graph built and WOW.. It took me a few attempts to figure out how best to get the data structured to get a high level of accuracy between the nodes.. The results were well worth the effort, I've never seen anything that can do this before. I can walk the graph between a concept like "Consumer demand index" and "Inflation impact to pricing" and get a really good string of inter-related topics that bridge the two concepts.
Now I'm trying to get the next more complex queries worked out beyond showpath(source, destination).
I've figured out how to create nodes and then update those nodes with new keys and values. Now I'm wondering if there is a way to use the information in those values to control how I walk the graph?
I'd like to have a graph with different types of data attached to the node and then use them to filter out what I am walking. A basic example would be to only show nodes that have have a date between x & y but I'd also like to use categories, only show nodes about an entity or nodes with a specific category.
Ideally I can do something like.
Walk the graph between text that talks about supply chain problems and then only walk nodes that have been categorized as having information about supply chain (which is stored in an array called categories in the node, between July & August of 2023. Is there a way to do this with edges? I can label an edge "does business with" and then use that to filter what I walk?
If this is possible, I'm would love some other suggestions on what else is possible. The documentation isn't clear what capabilities that I can use to craft graph queries.

First off, glad you're seeing some success with the graph! It sounds like you're applying it in interesting ways. I'll have to think more about this.
Did you have thoughts on #525? Would that be helpful in adding manually defined relationships?

Sorry for the slow response.. I'm pretty much working two full time jobs right now.. my day job and my project.


Enable promise builtin for nuttx-stm32f4 target

JerryScript-DCO-1.0-Signed-off-by: Zsolt Borbély<EMAIL_ADDRESS>

@bzsolt Is jerry_run_all_enqueued_jobs called in the main?

Oh, I missed that part, thanks.


[WIP] Add support for Service Worker

Resolves #23
Closes #36
This PR aims to add service worker support to worker-pouch.  Currently WIP.

Awesome, thank you! :tada:


Not getting data from a username

I ran twint against a username yesterday and it worked great.  Today I'm trying to do the same and the command is just sitting there not doing anything.  If I choose another username it seems to work.  I'm not seeing anywhere where it will show a log file to maybe try and debug the issue or find out why it isn't working now.
username is @rusthackreport
Cheers

As you can see here it seems to be a problem with Twitter itself and not Twint, I hardly find a reason why Twitter is not showing results. If I'll find something I'll keep you updated.
Cheers

Maybe a Shaddowbanned Account?


Popover, Dropdown, PopoverEducational: support for forceDown and forceRight

Popover, Dropdown, PopoverEducational: support for forceDown and forceRight

@AlbertCarreras I think we should reconsider the API for force positioning. What if we'll need forceLeft, forceUp in the future? I would suggest to introduce forceDirection: boolean prop which will just disable auto-flipping/positioning behavior. We could just get rid of "force" prefixed positions.

The new prop doesn't have to be forceDirection. It could be disableAutoFlip or something like that. The point is this props will disable the auto-flipping beahvior of the popover.


Login - User didn't receive a magic code when created a new expensifail account

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Go to staging.new.expensifail.com
Type new expensifail account
Back to expensifail email box and wait for magic code

Expected Result:
User received a magic code when created a new expensifail account
Actual Result:
User didn't receive a magic code when created a new expensifail account
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[ ] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: <IP_ADDRESS>
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://user-images.githubusercontent.com/93399543/232822311-514d4f11-e32c-4aeb-bd50-f68821fb10fe.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub

Bug0 Triage Checklist (Main S/O)

[ ] This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
[ ] This bug is not a duplicate report (check E/App issues and #expensify-bugs)

If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead

[ ] This bug is reproducible using the reproduction steps in the OP. S/O

If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
If the reproduction steps aren't clear and you determine the correct steps, please update the OP.

[ ] This issue is filled out as thoroughly and clearly as possible

Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.

[ ] I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

@greg-schroeder Huh... This is 4 days overdue. Who can take care of this?

@greg-schroeder 6 days overdue. This is scarier than being forced to listen to Vogon poetry!

@greg-schroeder this issue was created 2 weeks ago. Are we close to a solution? Let's make sure we're treating this as a top priority. Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks!

@greg-schroeder this issue was created 2 weeks ago. Are we close to a solution? Let's make sure we're treating this as a top priority. Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks!

This issue has not been updated in over 14 days. @greg-schroeder eroding to Weekly issue.

Apologies for the delay, reviewing now.

I haven't been able to reproduce this one, perhaps it has been fixed since this was created? Adding Needs reproduction for now, can either of you confirm if this is still a problem?


spike: why does the UI sometimes load text wrong when versions change

Version where bug was found:
all
Describe the bug
Sometimes the UI appears to use a cached version of the frontend's en.json translation keys in the browser, which results in text in buttons and labels to appear undefined or show code. This spike is to understand why.
Expected behavior
The UI should always fetch the latest en.json file (assuming that's the issue)

Example image

Let's confirm whether we see this in all environments. This is definitely replicable in staging, and usually happens after a deployment. Usually "fixable" by a hard refresh.
Pinging @kcalvo-cli are you aware of any non-caching of front end assets for some envs?


cppcheck: switch to finalattrs pattern and formatting

Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

I noticed that this PR is from a branch in the official nixpkgs repository. Please make PRs from a fork instead.


Case Studies list ready to import

Here is the link to the Google Sheet:
https://docs.google.com/spreadsheets/d/1g0xfkJvjwCPyArQ4eYluCWq-SaukSq-HuBjFnMI3Oew/edit#gid=0
This is the LAST IMPORT FILE (along with Academic Programs, which is also ready for import) - If possible, please import before public launch (but Academic Programs is higher priority).

There is a total of 275 Case Studies
Included the 5-digit account id for every organization. Checked against common errors from previous imports.
Did some tests to ensure that Sustainability Topic, Academic Disciplines, Offices, Tags are typed in consistent format.
Tags are in a single column, separated by comma-space ", ".
Required fields are marked in green. All required field info has been filled out.

Some considerations:

For the submitter info, if possible, please use the first author email to identify submitters. If this is time-consuming, feel free to default all to<EMAIL_ADDRESS>Please upload to include the Date Submitted (see last column) - due to the nature of this resource and based on feedback we recently received, it would be good to show the actual dates these were created in the IRC.

Just want to confirm... consider for award should be "no" for all of these, right?

Yes, that is fine.

These are importing now and should be complete by morning. There were no errors with matching organizations, so hopefully it all goes through correctly. Please let me know if it looks good to you...

Everything looks good, the published dates look okay and the tags are all good. I think this is good to move to the production server!


Button "Push ME" from Marmitek

Problem description
The button pairs just fine with ZHA but doesn't generate anything that can be used in an automation (onoff etc.).
Solution description
Very much a newbie here: guess a quirk is needed that makes that button be used in automations.
Screenshots/Video
Screenshots/Video
[Paste/upload your media here]

Device signature
Device signature
{
  "node_descriptor": "NodeDescriptor(logical_type=<LogicalType.EndDevice: 2>, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=<FrequencyBand.Freq2400MHz: 8>, mac_capability_flags=<MACCapabilityFlags.AllocateAddress: 128>, manufacturer_code=4098, maximum_buffer_size=82, maximum_incoming_transfer_size=82, server_mask=11264, maximum_outgoing_transfer_size=82, descriptor_capability_field=<DescriptorCapability.NONE: 0>, *allocate_address=True, *is_alternate_pan_coordinator=False, *is_coordinator=False, *is_end_device=True, *is_full_function_device=False, *is_mains_powered=False, *is_receiver_on_when_idle=False, *is_router=False, *is_security_capable=False)",
  "endpoints": {
    "1": {
      "profile_id": "0x0104",
      "device_type": "0x0000",
      "input_clusters": [
        "0x0000",
        "0x0001",
        "0x0006"
      ],
      "output_clusters": [
        "0x0006",
        "0x000a",
        "0x0019"
      ]
    }
  },
  "manufacturer": "_TYZB01_1xktopx6",
  "model": "TS0041A",
  "class": "zigpy.device.Device"
}

Diagnostic information
Diagnostic information
{
  "node_descriptor": "NodeDescriptor(logical_type=<LogicalType.EndDevice: 2>, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=<FrequencyBand.Freq2400MHz: 8>, mac_capability_flags=<MACCapabilityFlags.AllocateAddress: 128>, manufacturer_code=4098, maximum_buffer_size=82, maximum_incoming_transfer_size=82, server_mask=11264, maximum_outgoing_transfer_size=82, descriptor_capability_field=<DescriptorCapability.NONE: 0>, *allocate_address=True, *is_alternate_pan_coordinator=False, *is_coordinator=False, *is_end_device=True, *is_full_function_device=False, *is_mains_powered=False, *is_receiver_on_when_idle=False, *is_router=False, *is_security_capable=False)",
  "endpoints": {
    "1": {
      "profile_id": "0x0104",
      "device_type": "0x0000",
      "input_clusters": [
        "0x0000",
        "0x0001",
        "0x0006"
      ],
      "output_clusters": [
        "0x0006",
        "0x000a",
        "0x0019"
      ]
    }
  },
  "manufacturer": "_TYZB01_1xktopx6",
  "model": "TS0041A",
  "class": "zigpy.device.Device"
}

Logs
Logs
2024-01-08 14:28:08.731 DEBUG (MainThread) [zigpy.application] Feeding watchdog
2024-01-08 14:28:08.731 DEBUG (MainThread) [bellows.ezsp.protocol] Send command readCounters: ()
2024-01-08 14:28:08.733 DEBUG (bellows.thread_0) [bellows.uart] Sending: b'414121a9a52a9fcd7e'
2024-01-08 14:28:08.751 DEBUG (bellows.thread_0) [bellows.uart] Data frame: b'1541a1a9a52a15b23f940e25aa5592499c4e27abedce688bfdc66389fc7e3fa7ebcdde6f8fffc7dbd5d2698c4623a9ec763ba5ea758241984c2613b1e070381c0e07bbe5ca658a459a4d9e4f9ff7c3d9d46a35a251904824bfc27e'
2024-01-08 14:28:08.752 DEBUG (bellows.thread_0) [bellows.uart] Sending: b'82503a7e'
2024-01-08 14:28:08.754 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame received readCounters: [[0, 102, 68, 0, 0, 0, 0, 0, 15, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]]
2024-01-08 14:28:08.756 DEBUG (MainThread) [bellows.ezsp.protocol] Send command getValue: (<EzspValueId.VALUE_FREE_BUFFERS: 3>,)
2024-01-08 14:28:08.758 DEBUG (bellows.thread_0) [bellows.uart] Sending: b'524621a9fe2a1644267e'
2024-01-08 14:28:08.765 DEBUG (bellows.thread_0) [bellows.uart] Data frame: b'2646a1a9fe2a15b3a5ee207e'
2024-01-08 14:28:08.766 DEBUG (bellows.thread_0) [bellows.uart] Sending: b'83401b7e'
2024-01-08 14:28:08.767 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame received getValue: [<EzspStatus.SUCCESS: 0>, b'\xfc']
2024-01-08 14:28:08.768 DEBUG (MainThread) [bellows.zigbee.application] Free buffers status EzspStatus.SUCCESS, value: 252
2024-01-08 14:28:08.768 DEBUG (MainThread) [bellows.zigbee.application] ezsp_counters: [MAC_RX_BROADCAST = 147, MAC_TX_BROADCAST = 6119, MAC_RX_UNICAST = 1879, MAC_TX_UNICAST_SUCCESS = 306, MAC_TX_UNICAST_RETRY = 26, MAC_TX_UNICAST_FAILED = 22, APS_DATA_RX_BROADCAST = 11, APS_DATA_TX_BROADCAST = 11, APS_DATA_RX_UNICAST = 414, APS_DATA_TX_UNICAST_SUCCESS = 94, APS_DATA_TX_UNICAST_RETRY = 0, APS_DATA_TX_UNICAST_FAILED = 0, ROUTE_DISCOVERY_INITIATED = 0, NEIGHBOR_ADDED = 2, NEIGHBOR_REMOVED = 2, NEIGHBOR_STALE = 0, JOIN_INDICATION = 5, CHILD_REMOVED = 4, ASH_OVERFLOW_ERROR = 0, ASH_FRAMING_ERROR = 0, ASH_OVERRUN_ERROR = 0, NWK_FRAME_COUNTER_FAILURE = 0, APS_FRAME_COUNTER_FAILURE = 0, UTILITY = 0, APS_LINK_KEY_NOT_AUTHORIZED = 0, NWK_DECRYPTION_FAILURE = 0, APS_DECRYPTION_FAILURE = 0, ALLOCATE_PACKET_BUFFER_FAILURE = 0, RELAYED_UNICAST = 0, PHY_TO_MAC_QUEUE_LIMIT_REACHED = 0, PACKET_VALIDATE_LIBRARY_DROPPED_COUNT = 0, TYPE_NWK_RETRY_OVERFLOW = 0, PHY_CCA_FAIL_COUNT = 8, BROADCAST_TABLE_FULL = 0, PTA_LO_PRI_REQUESTED = 0, PTA_HI_PRI_REQUESTED = 0, PTA_LO_PRI_DENIED = 0, PTA_HI_PRI_DENIED = 0, PTA_LO_PRI_TX_ABORTED = 0, PTA_HI_PRI_TX_ABORTED = 0, ADDRESS_CONFLICT_SENT = 0, EZSP_FREE_BUFFERS = 252]
2024-01-08 14:28:09.469 WARNING (MainThread) [hahomematic.client.json_rpc] GET_ALL_SYSTEM_VARIABLES failed: ValueError [invalid literal for int() with base 10: ''] Failed to parse SysVar ${sysVarAlarmMessages}
2024-01-08 14:28:09.976 DEBUG (bellows.thread_0) [bellows.uart] Data frame: b'3646b1a9112a15b658924a24ab5593499ca16306cdcd9874f9c75174fd7c5f947e'
2024-01-08 14:28:09.977 DEBUG (bellows.thread_0) [bellows.uart] Sending: b'8430fc7e'
2024-01-08 14:28:09.979 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame received incomingMessageHandler: [<EmberIncomingMessageType.INCOMING_UNICAST: 0>, EmberApsFrame(profileId=260, clusterId=6, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY: 256>, groupId=0, sequence=239), 68, -83, 0x0320, 255, 255, b'\x012\xfd\x01']
2024-01-08 14:28:09.980 DEBUG (MainThread) [bellows.ezsp.protocol] Frame contains trailing data: b'\x02'
2024-01-08 14:28:09.980 DEBUG (MainThread) [bellows.zigbee.application] Received incomingMessageHandler frame with [<EmberIncomingMessageType.INCOMING_UNICAST: 0>, EmberApsFrame(profileId=260, clusterId=6, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY: 256>, groupId=0, sequence=239), 68, -83, 0x0320, 255, 255, b'\x012\xfd\x01']
2024-01-08 14:28:09.980 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(timestamp=datetime.datetime(2024, 1, 8, 13, 28, 9, 980841, tzinfo=datetime.timezone.utc), src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0320), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=239, profile_id=260, cluster_id=6, data=Serialized[b'\x012\xfd\x01'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=68, rssi=-83)
2024-01-08 14:28:09.982 DEBUG (MainThread) [zigpy.zcl] [0x0320:1:0x0006] Received ZCL frame: b'\x012\xfd\x01'
2024-01-08 14:28:09.983 DEBUG (MainThread) [zigpy.zcl] [0x0320:1:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Server_to_Client: 0>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False), tsn=50, command_id=253, *direction=<Direction.Server_to_Client: 0>)
2024-01-08 14:28:09.984 WARNING (MainThread) [zigpy.zcl] [0x0320:1:0x0006] Unknown cluster command 253 b'\x01'
2024-01-08 14:28:09.984 DEBUG (MainThread) [zigpy.zcl] [0x0320:1:0x0006] Received command 0xFD (TSN 50): b'\x01'
2024-01-08 14:28:09.984 DEBUG (MainThread) [zigpy.zcl] [0x0320:1:0x0006] No explicit handler for cluster command 0xfd: b'\x01'
2024-01-08 14:28:09.984 DEBUG (MainThread) [homeassistant.components.zha.core.cluster_handlers] [0x0320:1:0x0006]: received '0xFD' command with b'\x01' args on cluster_id '6' tsn '50'
2024-01-08 14:28:09.986 DEBUG (Thread-8) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0xffff789e3790>, 'UPDATE devices_v12\n                    SET last_seen=:ts\n                    WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts':<PHONE_NUMBER>.980841, 'ieee': 8c:f6:81:ff:fe:f4:92:d5, 'min_update_delta': 30.0})
2024-01-08 14:28:09.991 DEBUG (Thread-8) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0xffff789e3790>, 'UPDATE devices_v12\n                    SET last_seen=:ts\n                    WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts':<PHONE_NUMBER>.980841, 'ieee': 8c:f6:81:ff:fe:f4:92:d5, 'min_update_delta': 30.0}) completed
2024-01-08 14:28:09.995 DEBUG (Thread-8) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0xffff789e3790>)
2024-01-08 14:28:09.996 DEBUG (Thread-8) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0xffff789e3790>) completed
2024-01-08 14:28:10.684 DEBUG (bellows.thread_0) [bellows.uart] Data frame: b'4646b1a9112a15b658924a24ab5593499cbe1302cdcd9874f9c75174fd7c98367e'
2024-01-08 14:28:10.685 DEBUG (bellows.thread_0) [bellows.uart] Sending: b'8520dd7e'
2024-01-08 14:28:10.687 DEBUG (MainThread) [bellows.ezsp.protocol] Application frame received incomingMessageHandler: [<EmberIncomingMessageType.INCOMING_UNICAST: 0>, EmberApsFrame(profileId=260, clusterId=6, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY: 256>, groupId=0, sequence=240), 52, -87, 0x0320, 255, 255, b'\x012\xfd\x01']
2024-01-08 14:28:10.687 DEBUG (MainThread) [bellows.ezsp.protocol] Frame contains trailing data: b'\x02'
2024-01-08 14:28:10.688 DEBUG (MainThread) [bellows.zigbee.application] Received incomingMessageHandler frame with [<EmberIncomingMessageType.INCOMING_UNICAST: 0>, EmberApsFrame(profileId=260, clusterId=6, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY: 256>, groupId=0, sequence=240), 52, -87, 0x0320, 255, 255, b'\x012\xfd\x01']
2024-01-08 14:28:10.688 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(timestamp=datetime.datetime(2024, 1, 8, 13, 28, 10, 688550, tzinfo=datetime.timezone.utc), src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0320), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=240, profile_id=260, cluster_id=6, data=Serialized[b'\x012\xfd\x01'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=52, rssi=-87)
2024-01-08 14:28:10.690 DEBUG (MainThread) [zigpy.zcl] [0x0320:1:0x0006] Received ZCL frame: b'\x012\xfd\x01'
2024-01-08 14:28:10.690 DEBUG (MainThread) [zigpy.zcl] [0x0320:1:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Server_to_Client: 0>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False), tsn=50, command_id=253, *direction=<Direction.Server_to_Client: 0>)
2024-01-08 14:28:10.691 WARNING (MainThread) [zigpy.zcl] [0x0320:1:0x0006] Unknown cluster command 253 b'\x01'
2024-01-08 14:28:10.692 DEBUG (MainThread) [zigpy.zcl] [0x0320:1:0x0006] Received command 0xFD (TSN 50): b'\x01'
2024-01-08 14:28:10.692 DEBUG (MainThread) [zigpy.zcl] [0x0320:1:0x0006] No explicit handler for cluster command 0xfd: b'\x01'
2024-01-08 14:28:10.692 DEBUG (MainThread) [homeassistant.components.zha.core.cluster_handlers] [0x0320:1:0x0006]: received '0xFD' command with b'\x01' args on cluster_id '6' tsn '50'
2024-01-08 14:28:10.694 DEBUG (Thread-8) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0xffff789e3790>, 'UPDATE devices_v12\n                    SET last_seen=:ts\n                    WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts':<PHONE_NUMBER>.68855, 'ieee': 8c:f6:81:ff:fe:f4:92:d5, 'min_update_delta': 30.0})
2024-01-08 14:28:10.696 DEBUG (Thread-8) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0xffff789e3790>, 'UPDATE devices_v12\n                    SET last_seen=:ts\n                    WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts':<PHONE_NUMBER>.68855, 'ieee': 8c:f6:81:ff:fe:f4:92:d5, 'min_update_delta': 30.0}) completed
2024-01-08 14:28:10.698 DEBUG (Thread-8) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0xffff789e3790>)
2024-01-08 14:28:10.698 DEBUG (Thread-8) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0xffff789e3790>) completed

Custom quirk
Custom quirk
[Paste your custom quirk here]

Additional information
No response

man i am so sad, just bought it ;(

it paired with skyconnect without issues but you cant use it for nothing

i found this quirk,
added a quirk folder to ha and added that path to config:
https://github.com/zigpy/zha-device-handlers/blob/dev/zhaquirks/tuya/ts0041.py
now it works

@Eth030 , how did you find that quirk and knew that this applies to this button? Just so next time I know where to look and what to do. thanks!

I’m sorry I don’t have a fact-based response. I just googled the device number, etc., and found a similar product and the quirk. I wasn’t sure if it would work, but it’s the same product, just differently branded. So, I tried, and it worked.Am 29.01.2024 um 11:06 schrieb frank-schubidoo @.***>:
@Eth030 , how did you find that quirk and knew that this applies to this button? Just so next time I know where to look and what to do. thanks!
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

Nothing wrong with gut feeling. Thanks again!

I’m sorry I don’t have a fact-based response. I just googled the device number, etc., and found a similar product and the quirk. I wasn’t sure if it would work, but it’s the same product, just differently branded. So, I tried, and it worked.Am 29.01.2024 um 11:06 schrieb frank-schubidoo @.***>:
@Eth030 , how did you find that quirk and knew that this applies to this button? Just so next time I know where to look and what to do. thanks!
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>


LitElement changed lifecycle hook doesn't fire when Redux store changes

When using the @watch decorator on the Redux store, if another component modifies the store, I would expect the changed lifecycle hook to fire in the component, but it currently does not.
export class MyElement extends connect(store)(LitElement) {
    constructor() {
      super();
    }

    @watch('restaurants.restaurantList')
    public restaurantList: any = {
      data: []
    }

    changed(something: any) {
      // this doesn't fire when `this.restaurantList` changes
      console.log("something changed: ", something);
    }

Closing, the lifecycle hook is updated, not changed


Add exception chaining for better error context

On py3, setting the __cause__ on exception enables exception chaining to that we can pinpoint to actual source of the error during type inference.
Note for reviewers, is the extra traceback making the error messages too scary for users?

Here's a sample output for this script:
import logging

import numpy as np
from numba import njit

@njit
def foo(n):
    return np.ones(n).all(2)  # <-- all() doesn't take argument

r = foo(3)
print(r)

traceback with patch shows source of error
Traceback (most recent call last):
  File "/Users/siu/dev/numba/numba/typing/templates.py", line 653, in _get_dispatcher
    disp = cls._impl_cache[cache_key]
KeyError: (<numba.typing.context.Context object at 0x11f934be0>, array(float64, 1d, C), 'all', (array(float64, 1d, C), int64), ())

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/siu/dev/numba/numba/errors.py", line 662, in new_error_context
    yield
  File "/Users/siu/dev/numba/numba/typeinfer.py", line 462, in __call__
    self.resolve(typeinfer, typevars, fnty)
  File "/Users/siu/dev/numba/numba/typeinfer.py", line 481, in resolve
    sig = typeinfer.resolve_call(fnty, pos_args, kw_args)
  File "/Users/siu/dev/numba/numba/typeinfer.py", line 1327, in resolve_call
    return self.context.resolve_function_type(fnty, pos_args, kw_args)
  File "/Users/siu/dev/numba/numba/typing/context.py", line 186, in resolve_function_type
    res = self._resolve_user_function_type(func, args, kws)
  File "/Users/siu/dev/numba/numba/typing/context.py", line 238, in _resolve_user_function_type
    return func.get_call_type(self, args, kws)
  File "/Users/siu/dev/numba/numba/types/functions.py", line 214, in get_call_type
    out = template.apply(args, kws)
  File "/Users/siu/dev/numba/numba/typing/templates.py", line 225, in apply
    sig = generic(args, kws)
  File "/Users/siu/dev/numba/numba/typing/templates.py", line 729, in generic
    sig = self._resolve_impl_sig(typ, attr, args, kws)
  File "/Users/siu/dev/numba/numba/typing/templates.py", line 676, in _resolve_impl_sig
    disp, sig_args = self._get_dispatcher(self.context, typ, attr, sig_args, sig_kws)
  File "/Users/siu/dev/numba/numba/typing/templates.py", line 656, in _get_dispatcher
    pyfunc = cls._overload_func(*sig_args, **sig_kws)
TypeError: np_all() takes 1 positional argument but 2 were given

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/siu/dev/numba/numba/typeinfer.py", line 147, in propagate
    constraint(typeinfer)
  File "/Users/siu/dev/numba/numba/typeinfer.py", line 462, in __call__
    self.resolve(typeinfer, typevars, fnty)
  File "/Users/siu/miniconda3/envs/dev-numba-py37/lib/python3.7/contextlib.py", line 130, in __exit__
    self.gen.throw(type, value, traceback)
  File "/Users/siu/dev/numba/numba/errors.py", line 670, in new_error_context
    six.reraise(type(newerr), newerr, tb)
  File "/Users/siu/dev/numba/numba/six.py", line 659, in reraise
    raise value
numba.errors.InternalError: np_all() takes 1 positional argument but 2 were given
[1] During: resolving callee type: BoundFunction((<class 'numba.types.npytypes.Array'>, 'all') for array(float64, 1d, C))
[2] During: typing of call at chkme.py (9)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "chkme.py", line 12, in <module>
    r = foo(3)
  File "/Users/siu/dev/numba/numba/dispatcher.py", line 376, in _compile_for_args
    error_rewrite(e, 'typing')
  File "/Users/siu/dev/numba/numba/dispatcher.py", line 343, in error_rewrite
    reraise(type(e), e, None)
  File "/Users/siu/dev/numba/numba/six.py", line 658, in reraise
    raise value.with_traceback(tb)
numba.errors.TypingError: Failed in nopython mode pipeline (step: nopython frontend)
Internal error at <numba.typeinfer.CallConstraint object at 0x62034b128>.
np_all() takes 1 positional argument but 2 were given
[1] During: resolving callee type: BoundFunction((<class 'numba.types.npytypes.Array'>, 'all') for array(float64, 1d, C))
[2] During: typing of call at chkme.py (9)

Enable logging at debug level for details.

File "chkme.py", line 9:
def foo(n):
    return np.ones(n).all(2)
    ^

This is not usually a problem with Numba itself but instead often caused by
the use of unsupported features or an issue in resolving types.

To see Python/NumPy features supported by the latest release of Numba visit:
http://numba.pydata.org/numba-doc/latest/reference/pysupported.html
and
http://numba.pydata.org/numba-doc/latest/reference/numpysupported.html

For more information about typing errors and how to debug them visit:
http://numba.pydata.org/numba-doc/latest/user/troubleshoot.html#my-code-doesn-t-compile

If you think your code should work with Numba, please report the error message
and traceback, along with a minimal reproducer at:
https://github.com/numba/numba/issues/new

Before:

original traceback hides source of error
```python
Traceback (most recent call last):
  File "chkme.py", line 12, in
    r = foo(3)
  File "/Users/siu/dev/numba/numba/dispatcher.py", line 376, in _compile_for_args
    error_rewrite(e, 'typing')
  File "/Users/siu/dev/numba/numba/dispatcher.py", line 343, in error_rewrite
    reraise(type(e), e, None)
  File "/Users/siu/dev/numba/numba/six.py", line 658, in reraise
    raise value.with_traceback(tb)
numba.errors.TypingError: Failed in nopython mode pipeline (step: nopython frontend)
Internal error at .
np_all() takes 1 positional argument but 2 were given
[1] During: resolving callee type: BoundFunction((, 'all') for array(float64, 1d, C))
[2] During: typing of call at chkme.py (9)
Enable logging at debug level for details.
File "chkme.py", line 9:
def foo(n):
return np.ones(n).all(2)
^
This is not usually a problem with Numba itself but instead often caused by
the use of unsupported features or an issue in resolving types.
To see Python/NumPy features supported by the latest release of Numba visit:
http://numba.pydata.org/numba-doc/latest/reference/pysupported.html
and
http://numba.pydata.org/numba-doc/latest/reference/numpysupported.html
For more information about typing errors and how to debug them visit:
http://numba.pydata.org/numba-doc/latest/user/troubleshoot.html#my-code-doesn-t-compile
If you think your code should work with Numba, please report the error message
and traceback, along with a minimal reproducer at:
https://github.com/numba/numba/issues/new
</details>

make this for developer mode only

Update:

Adjusted for developer mode.
Re-running test failed due to CI problems with 32-bit


Troubles getting started

Hi there,
I'm trying to get started for the first time with conform. Having some trouble with what I thought would be the easy part! :)
I have an umbrella app - one of the applications inside houses an ecto repo. I decided to try to start pulling in conform in that app as it would be easiest to know if something was broken.
I've created shared_repo.schema.exs and shared_repo.dev.conf. If I use mix conform.effective, I see some values I expect:
shared_repo: [
    {SharedRepo.Repo,
     [
       adapter: Ecto.Adapters.Postgres,
       database: "myapp_dev",
       hostname: "localhost",
       loggers: [
         {Ecto.LogEntry,
          :log,
          []}
       ],
       pool_size: 10
     ]},
    {:ecto_repos,
     [SharedRepo.Repo]}
  ]

However, when I attempt to boot the app, it blows up as it can't find a database key inside the configuration for the repo. I'm a bit confused and don't know what to do next.  The app boots fine just using a standard config.exs and config.dev.exs.
Any help you could provide would be appreciated!

Ok After some more research on this
looking into my release directory, there is a sys.config file that has the missing env variables
/test/union/releases/0.0.23+7cce925-staging/sys.config
But when I start my app it says that the following config file was generated
/test/union/var/sys.config and this one is correct.
How do I tell the start script to use that sys.config file instead of the other ?

@happysalada Did you manage to figure anything out on this? I'm still stuck...

@brandonparsons so in the distillery library it talks about several environment variables that you can configure (stuff like RELEASE_CONFIG_DIR, find some more here). I tried changing some of them but couldn't get it to work. Maybe you'll be luckier.
What I ended up doing was using the REPLACE_OS_VARS=true trick. You set that env variable and then in your config file you replace System.get_env by "${your_env_variable}". That worked for me.

I have been using distillery, and specifically tried using Conform to get
away from that stuff. Hopefully @bitwalker can chime in at some point.
On Sun, Jun 24, 2018 at 5:19 PM Raphael Megzari<EMAIL_ADDRESS>wrote:

@brandonparsons https://github.com/brandonparsons so in the distillery
library it talks about several environment variables that you can configure
(stuff like RELEASE_CONFIG_DIR
https://hexdocs.pm/distillery/runtime-configuration.html#content, find
some more here
https://github.com/bitwalker/distillery/blob/master/docs/shell_scripts.md).
I tried changing some of them but couldn't get it to work. Maybe you'll be
luckier.
What I ended up doing was using the REPLACE_OS_VARS=true trick. You set
that env variable and then in your config file you replace System.get_env
by "${your_env_variable}". That worked for me.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/bitwalker/conform/issues/155#issuecomment-399796895,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABN86pyngNPZkZbHqShcF83llmIPI69rks5uAB6XgaJpZM4Uqn0n
.

Hello. Facing a similar problem.
I got everything "working" from the conform side, in the sense that I was able to produce a sys.config file for my dev environment which is loaded using: iex --erl "-config $PWD/sys.config" -S mix phx.server (I know it's correctly loaded because if I enter gibberish, the app doesn't start).
But then everything in there gets ignored.
Is there any way to use sys.config in dev mode? It's quite important both for practicing and to allow devs to have their own config (for example: change port)


Keyboard Input Support

Some Keyboard Input support to input.js Allows configuration of shortcuts. Added shortcuts for undo/redo functionality.

lmao i thought you said you were gonna take some time off :P works fantastically, love it

Well, not some time off, just a slower pace because work exists. I can spare some time to write some lines for the random ideas that pop up during the day!


Messaging API not using http.Agent (proxy)

Describe your environment
Operating System version: Windows 10
Firebase SDK version: 8.8.0
Firebase Product: Messaging
Node.js version: v10.15.1
NPM version: 6.4.1
Describe the problem
When using the Messaging API the request do not utilize the setted http.Agent when application was initialized. This results in the requests to fail if sending behind a proxy with the following error:
Error while making request: getaddrinfo ENOTFOUND fcm.googleapis.com fcm.googleapis.com:443. Error code: ENOTFOUND

The authentication does work as it is using the http.Agent properly when passed to:
var firebaseadmin = require("firebase-admin");
firebaseadmin.initializeApp({
    credential: firebaseadmin.credential.cert(accountKey, new HttpsProxyAgent(process.env.http_proxy))
});

Steps to reproduce:
You have to be making request through a proxy server.
Ugly fix
Ugly fix is to modify messaging-api-request.js
var HttpsProxyAgent = require('https-proxy-agent');

and then adding httpAgent to all the requests, e.g.:
FirebaseMessagingRequestHandler.prototype.invokeRequestHandler = function (host, path, requestData) {
    var request = {
        method: FIREBASE_MESSAGING_HTTP_METHOD,
        url: "https://" + host + path,
        data: requestData,
        headers: LEGACY_FIREBASE_MESSAGING_HEADERS,
        timeout: FIREBASE_MESSAGING_TIMEOUT,
        httpAgent: new HttpsProxyAgent(process.env.http_proxy)
    };
    ...
}

AuthorizedHttpClient automatically adds the httpAgent to all requests:
https://github.com/firebase/firebase-admin-node/blob/45905e4558afff6c7b0cc5e7b1ce73c9e1f51950/src/utils/api-request.ts#L819-L821
Here's the corresponding test case:
https://github.com/firebase/firebase-admin-node/blob/45905e4558afff6c7b0cc5e7b1ce73c9e1f51950/test/unit/utils/api-request.spec.ts#L1261-L1280

Problem here is you don't have an httpAgent specified in AppOptions. You're only specifying it for the credential, which is not enough.

Thank you hiranya911. You are correct. It is working when the httpAgent was also set in the AppOptions.


Duplicates in repeater are not allowed.

Just started to use this drap and drop module. There is an issue I found. When you have the draggable placeholder :'keep' and you tried to drag and drop the same element in the same "drop" field more than once. You have an error:
Error: [ngRepeat:dupes] Duplicates in a repeater are not allowed. Use 'track by' expression to specify unique keys. Repeater: item in list1, Duplicate key: object:10, Duplicate value: {"name":"Package 1","drag":true}
Please advise.
Thanks

Use track by $index in ngRepeat.
On Thu, Jul 16, 2015, 12:27 AM Yannick P<EMAIL_ADDRESS>wrote:

Just started to use this drap and drop module. There is an issue I found.
When you have the draggable placeholder :'keep' and you tried to drag and
drop the same element in the same "drop" field more than once. You have an
error:
Error: [ngRepeat:dupes] Duplicates in a repeater are not allowed. Use
'track by' expression to specify unique keys. Repeater: item in list1,
Duplicate key: object:10, Duplicate value: {"name":"Package 1","drag":true}
Please advise.
—
Reply to this email directly or view it on GitHub
https://github.com/codef0rmer/angular-dragdrop/issues/200.

Thanks for the comment.
Well I did not create any ngRepeat. I used your example as it is  in http://codef0rmer.github.io/angular-dragdrop/#/list the only change that I have done is this one: "placeholder:'keep' "
I guess it is one of the directive that you have in your code which maybe need a track by $index.
Do you see what I mean. Maybe you can try to reproduce it, it is easy to reproduce.

It's not a bug. When you say "placeholder:keep", it does not remove the
draggable from it's original position after drop. That means there may be a
possibility where you could drop it in the same container - track by is the
solution for such a scenario.
On Thu, Jul 16, 2015 at 10:28 AM, Yannick P<EMAIL_ADDRESS>wrote:

Thanks for the comment.
Well I did not create any ngRepeat. I used your example as it is in
http://codef0rmer.github.io/angular-dragdrop/#/list the only change that
I have done is this one: "placeholder:'keep' "
I guess it is one of the directive that you have in your code which maybe
need a track by $index.
Do you see what I mean. Maybe you can try to reproduce it, it is easy to
reproduce.
—
Reply to this email directly or view it on GitHub
https://github.com/codef0rmer/angular-dragdrop/issues/200#issuecomment-121829663
.

--
With Regards,
Amit Gharat
http://amitgharat.wordpress.com/
The luckiest person is one whose passion and profession are the same.

Ok bug where do you put 'track by' ? In which ngRepeat ?
The only ngRepeat is in the droppable container, just by curiosity I put 'Track by' there knowing that it wouldn't change anything.
Please advise.

Sorry discard my last comment... track by $index in the ng-repeat of draggable do fix the issue BUT now each bucket "Draggable box" can received the same element more than once which is not what we want... How to prevent the "Draggable Box" to received the same element  more than once when we have "placeholder:keep" ?
Thanks

In onDrop callback you can do the validation and revert the dragged
element. Check list example.
On Thu, Jul 16, 2015, 6:29 PM Yannick P<EMAIL_ADDRESS>wrote:

Sorry discard my last comment... track by $index in the ng-repeat of
draggable do fix the issue BUT now each bucket "Draggable box" can received
the same element more than once which is not what we want... How to prevent
the "Draggable Box" to received the same element more than once when we
have "placeholder:keep" ?
Thanks
—
Reply to this email directly or view it on GitHub
https://github.com/codef0rmer/angular-dragdrop/issues/200#issuecomment-121949306
.

Ok I will try that. Thank You :)


records: citations import fix

Do you add the signature to the commit message, and then I'll integrate

Done


[$1000] IOS - Shows hover effect for recipient in chatting screen

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Open any chat
Click on recipient’s email or name ( or Long press to see the hover effect of clicking)

Expected Result:
As No other platform has this effect, This hover effect should not be there in iOS app
Actual Result:
Shows hover effect on click of user’s email
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android / native
[ ] Android / Chrome
[x] iOS / native
[ ] iOS / Safari
[ ] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: 1.3.42-26
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/93399543/2dd45d8b-ac3e-4415-9bf5-505ab48449a7
https://github.com/Expensify/App/assets/93399543/1ad2ec0d-0f30-46ea-b8ca-6299ba180c57
Expensify/Expensify Issue URL:
Issue reported by: @DinalJivani
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1690140430810329
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01420db962b34cb936
Upwork Job ID:<PHONE_NUMBER>957914112
Last Price Increase: 2023-07-26

Reproducible, triaging to external

I commented here.

Agreed, this is a dupe. I missed it on triage. Closing


How to constrain the zooms factors to exactly the provided tile imagery?

I have a custom tile source consisting of 8 zoom levels (1:1, 2:1, ..., 128:1), levels 7 through 0, and I'd like to constrain the zoom levels that are displayed in the viewport to exactly those resolutions.  In other words, I'd like everything to be displayed at exactly 1 displayed pixel per each tile pixel, rather than having the viewer do any scaling.  I can't seem to figure out any way to do to that.  Is there any way?
The best I'm able to do is the following:
maxZoomPixelRatio: 1.0,
zoomPerScroll: 2.0,
minLevel: 0,
maxLevel: 7
With these settings, if I zoom all the way in, then zoom outward one step at a time, the first 8 views do correspond to the 8 resolutions in my tiles ... but then the viewer lets me zoom out three more times, to resolutions having nothing to do with my tiles.  If I then zoom inward step by step, none of the resolutions correspond to my tiles until I'm zoomed in fully again.

maxZoomLevel would be another setting, but I don't think it currently does anything.
Don't know if this is an option, but this case is a big reason I made the OpenSeadragonViewerInputHook plugin. I hook zoom related gestures on the viewer and do the calculating/zooming myself.

I looked at the OpenSeadragonViewerInputHook (actually, just a few minutes ago) to see if it could help me, but didn't understand how it might.  I'll look again, thanks!

One gotcha that hit me immediately is in $.ViewerInputHook.version in viewerinputhook.js.  I guess (not knowing anything about git) that
    versionStr: '<%= viewerinputhookVersion.versionStr %>',
    major: <%= viewerinputhookVersion.major %>,
    minor: <%= viewerinputhookVersion.minor %>,
    revision: <%= viewerinputhookVersion.revision %>

are supposed to be automatically replaced by git.  But if you download the zipfile (which is what I did), they don't get replaced, and so the resulting file has a syntax error and doesn't work.  I replaced it with
    versionStr: 'Version 1.1.0',
    major: 1,
    minor: 1,
    revision: 0

which at least gets rid of the syntax error.

If you download a zip on GitHub then you'd have to build it using grunt. I should include builds with the source :) Sorry about that.
The readme has links to minified and dev builds.=

Ah!  Well, I admit that when you're trying to get in and get out without learning anything about it --- as I was --- you tend to overlook details like that.  :-)
At any rate, it appears to work, even though it was a bit of a chore to work through all the details for this specific use-case.  Thanks!

Yeah, I neglected to mention that it can be a bit of work. The source code for the default gesture handlers in the OpenSeadragon.Viewer class are a good starting point and they are relatively small. That just leaves the custom math, which can be a bit confusing.
I've worked a lot with microscopy images that have levels which are actually scanned at different magnification so I need similar functionality - clear steps between zoom levels.  That's what spawned that set of plugins :)

Should we add a "stop at tile levels" zoom setting for OSD? Or have a drop-in plugin that does this?

Well, if you're asking for the opinion of a casual user who doesn't expect to delve into the guts of the library, there are a couple of viewer settings I expected to find and didn't.  The setting you mention is one of them.
But ... what would really have helped me out in my particular use-case would have been if the viewer element simply had an setting that was a list of allowed zoom-levels and always stuck to those specific levels if the setting was present, and had its current behavior otherwise.   A setting like that would have turned my implementation effort into an hour rather than a couple of days.  (Not that there was very much coding involved, but all of the googling, the messaging, the experimenting with settings that didn't work quite like the documentation suggested, etc., turned it into more of an adventure than I hoped for.  On the other hand, the end result was quite nice!)

Incidentally, before I forget, I found a bug (at least in my opinion) in the OpenSeadragonImagingHelper plugin.  The zoomOut and zoomOutAboutLogicalPoint methods are not inverses of the corresponding zoomIn methods, and therefore produce different zoom factors moving outward than are produced moving inward.  Here's the change I had to make in zoomOutAboutLogicalPoint, which was the only one of those methods I happened to be using:
        //newzoom *= (1.0 - this._zoomStepPercent / 100.0);
        newzoom /= (1.0 + this._zoomStepPercent / 100.0);

For a tiny zoomStepPercent like 1 or 10, the results would be close, but for 100 (which I was obliged to use), the results were completely bogus.

I found a bug (at least in my opinion) in the OpenSeadragonImagingHelper plugin

@rburkey Thanks for pointing that out! I'll patch that right away!

@rburkey If you're interested in contribution credit on GitHub you're welcome to file a bug on the plugin's issues page. If not, I'll take care of it. Thanks again!

I'm too lazy for that, thanks.  :-)

From: Mark Salsbery<EMAIL_ADDRESS>Sent: Thursday, January 08, 2015 9:39 AM
To: openseadragon/openseadragon
Cc: Ron Burkey
Subject: Re: [openseadragon] How to constrain the zooms factors to exactly the provided tile imagery? (#556) [html]
@rburkeyhttps://github.com/rburkey If you're interested in contribution credit on GitHub you're welcome to file a bug on the plugin's issues pagehttps://github.com/msalsbery/OpenSeadragonImagingHelper/issues. If not, I'll take care of it. Thanks again!
—
Reply to this email directly or view it on GitHubhttps://github.com/openseadragon/openseadragon/issues/556#issuecomment-69196656.

Hehe no problem :)

@rburkey Thanks for the feedback! Hopefully someone will take this on.

@rburkey  Fixed OpenSeadraagonImagingHelper plugin.
Get version 1.2.0 here:
openseadragon-imaginghelper.min.js
openseadragon-imaginghelper.js


Output histogram of libfuncs frequency

The first goal of this tool is to provide the frequency of use of libfuncs in a group of blocks. The report should be in the form of a histogram where each bucket is a libfuncs.
Add CLI argument to specify the filename of the output picture.

Done in #24


Bfcache issue: Endless loading element when trying to return to the last page after using language switch

PHP Version: 8.2.23   | Shopware Version: <IP_ADDRESS>  | Affected area / extension: Platform(Default)

Expected behaviour:
After using the language switch, going back via the browser returns to the expected page in the originally selected language.
Actual behaviour:
After going back via the browser, the page returns in the expected language but an endless loader appears in front and renders the page unusable.
How to reproduce:
In Firefox or Chrome change the language of your shop via the language-switch and "Go back one page" in the browser.
We think it is related to the back-forward-cache of the browser.
After switching off the bfcache in Chrome, the page loads flawlessly.

[public] Shopware automated response: This issue is linked to the internal issue: NEXT-38245
[created from NEXT-38245, comment 493962]


Add r-dom-to-jsx codemod

I built upon the r-dom-to-react-create-element transform to make this one that directly translates from r-dom to JSX. Figured I would share in case others would find it useful.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


the signature of RealGetWindowClass function is wrong

for example in Source/Krypton Toolkit Suite Extended/Extended Controls/ExtendedToolkit/Utilities/Classes/WIN32.cs, the signature of RealGetWindowClass is:
public static extern int RealGetWindowClass(IntPtr hwnd, System.Text.StringBuilder pszType, int cchType);
the type of parameter cchType should be uint instead of int, reference:

https://www.pinvoke.net/default.aspx/user32.realgetwindowclass

in my case, this would cause the "PInvokeImbance" warning, then lead to a memory leak bug

Hi @zenglanmu
Thanks for letting me know, will fix straight away!


discrete + realcompact => non-measurable

I've added discrete + realcompact => non-measurable since the two properties are equivalent for discrete spaces (the other implication follows from other theorem).
This theorem is useless in practice but I added it for completeness.

looks good otherwise

Alright I think this one is ready.


Promote docker to first class object

Broad overview:

new docker.Machine class
top-level agents definition

This PR has a new Machine class which has subsumed the Ensure and Version classes.  These latter classes don't need to be exposed as they are plumbing operations that can be managed by the new Machine class.  Note that the underlying functionality hasn't changed, only what needs to be exposed.
If the existing docker.Make class finds it has been passed a machine config, it will instance a new Machine class that will take care of the aforementioned operations (this is not a change, as the existing code will go through the same operations).  The main functional difference is that the Machine class is not following the path that most classes go down, which is to inspect their dependencies and have the mule framework then order them and then call their constructors and execute methods with the appropriate task configs.
This isn't necessary for a couple of reasons.  One, there shouldn't be any configs that need to be rendered by pystache.  This is because the new first-class Machine objects will already contain everything it needs to bootstrap itself.  Two, there shouldn't be any more dependencies that the Machine object needs.  This can be subject to change, of course, but I currently don't believe we have any use cases that need dependencies other than Version and Ensure, and I don't believe there is a current need for anything other than those.
This PR also lifts the functions that the Machine class needs out of the utility function and into the class definition itself.
Example:
agents:
  - name: ubuntu
    dockerFilePath: Dockerfile.test
    image: algorand/go-algorand-ci-linux-ubuntu
    version: README.md
    env:
      - A=${A}
      - B=${B}
      - C=${C}
      - D=${D}
      - E=${E}
    workDir: /projects/go-algorand

  - name: centos
    dockerFilePath: Dockerfile.test
    image: algorand/go-algorand-ci-linux-centos
    version: Makefile
    workDir: /projects/go-algorand

tasks:
  - task: docker.Make
    name: build
    target: hello
    agent: ubuntu

jobs:
  hello:
    tasks:
      - docker.Make.build

I think it would be advantageous for us to remove the concept of IDockerTask and IShellTask, and instead depend on an Agent interface with a run command that can accept shell strings. Then tasks like Make can instantiate objects implementing the IAgent interface based on the agent params in the job_context (with ShellAgent being the default). The Agent objects would be similar to the Machine class you wrote for docker agents, but calling them Agents instead would be more consistent with the yaml language. This way we won't have to add a new tasks for each of the agent type we support. What do you think?
Nice work doing this so quickly by the way!

I think it would be advantageous for us to remove the concept of IDockerTask and IShellTask, and instead depend on an Agent interface with a run command that can accept shell strings. Then tasks like Make can instantiate objects implementing the IAgent interface based on the agent params in the job_context (with ShellAgent being the default). The Agent objects would be similar to the Machine class you wrote for docker agents, but calling them Agents instead would be more consistent with the yaml language. This way we won't have to add a new tasks for each of the agent type we support. What do you think?
Nice work doing this so quickly by the way!

Yes, sounds good, I'll take a look at that.

@bricerisingalgorand I didn't do all that you suggested for a couple of reasons.  One, I wanted, at least for now, to keep the different Make classes in their own namespaces.  Two, I didn't want this to get much larger than it currently it is.  This does all that I wanted a first pass to do, and we can always do more.
In addition, I added the buildArgs config because I needed to address the lost functionality of the goVersion param that was recently added.  I debated doing this in another PR, but I didn't want to create a dependency.

@bricerisingalgorand I didn't do all that you suggested for a couple of reasons. One, I wanted, at least for now, to keep the different Make classes in their own namespaces. Two, I didn't want this to get much larger than it currently it is. This does all that I wanted a first pass to do, and we can always do more.
In addition, I added the buildArgs config because I needed to address the functionality of the goVersion param that was recently added which was lost with the erasure of the Version class.. I debated doing this in another PR, but I didn't want to create a dependency.

Sounds good. This PR is a great first step, and we can always decide to do that decoupling later on if we want to. Just eyeballing it the code looks good. Could you also update the yamls in test/test-yamls to match this implementation? Once we know those test cases still work I think we'll be ready to merge 👍

@bricerisingalgorand I didn't do all that you suggested for a couple of reasons. One, I wanted, at least for now, to keep the different Make classes in their own namespaces. Two, I didn't want this to get much larger than it currently it is. This does all that I wanted a first pass to do, and we can always do more.
In addition, I added the buildArgs config because I needed to address the functionality of the goVersion param that was recently added which was lost with the erasure of the Version class.. I debated doing this in another PR, but I didn't want to create a dependency.

Sounds good. This PR is a great first step, and we can always decide to do that decoupling later on if we want to. Just eyeballing it the code looks good. Could you also update the yamls in test/test-yamls to match this implementation? Once we know those test cases still work I think we'll be ready to merge

Thanks for the reminder, I'll update those.

The stash.yaml test failed.  I didn't want to include it as part of this ticket since the failures are unrelated.  I created a ticket for it here: https://github.com/algorand/go-algorand-internal/issues/653
I wasn't sure how to setup to test algorand-test.yaml.  The failures are all missing dirs and are unrelated to my changes.  Also, I removed tasks-parameterization-test.yaml since it is testing the return value of Version which is now obsolete.
Everything else tested fine.


Fix Typo: Refactor Contorller to Controller

Refactored classes throughout to fix typo to allow for more intuitive coding and searching.

good


[BUG] - No crop option after camera

Issue:
When selecting the default "camera" option, app does not go to crop screen after taking photo.

Open selection menu
Select camera
Opens camera
Take picture
"Select or retake?" menu
On selecting "select", camera closes and nothing happens

Expected Behavior

Open Selection menu
Select Camera
Opens camera
Take picture
"Select or Retake?" menu
On selecting "select" crop view opens

Device
Android 10.
Galaxy Note 10+
implementation 'com.canhub.cropper:android-image-cropper:1.1.1'
Code used to open selector
        CropImage.activity().setGuidelines(CropImageView.Guidelines.ON).setAspectRatio(1,1).start(activity);
Extra Info

(This used to work with the original library)
Selecting photo from "Files" correctly opens crop view

Error seems to be "Failed to load sampled bitmap: content://.cropper.fileprovider/my_images/Pictures/pickImageResult8398353326702376456.jpeg"
Is there missing steps in the documentation for FileProvider or permissions perhaps?

Error seems to be "Failed to load sampled bitmap: content://.cropper.fileprovider/my_images/Pictures/pickImageResult8398353326702376456.jpeg"
Is there missing steps in the documentation for FileProvider or permissions perhaps?

I'm experiencing exactly the same bug. Code seems to fail here:
BitmapFactory.Options decodeImageForOption(ContentResolver resolver, Uri uri)
==> This check fails in  BitmapSampled decodeSampledBitmap(Context context, Uri uri, int reqWidth, int reqHeight) method:
if (options.outWidth == -1 && options.outHeight == -1)                 throw new RuntimeException("File is not a picture");

I'm experiencing exactly the same bug. Code seems to fail here:
BitmapFactory.Options decodeImageForOption(ContentResolver resolver, Uri uri)
==> This check fails in  BitmapSampled decodeSampledBitmap(Context context, Uri uri, int reqWidth, int reqHeight) method:
if (options.outWidth == -1 && options.outHeight == -1)                 throw new RuntimeException("File is not a picture");

@rexyrex I have another bug, but similar. When I try to run Quick Sample the camera option is not available, even if the permission is granted.
Will look in to this bug later, in the main time I tag as help wanted and good first issue if someone else jump to help us.
@bohemima your problem seen unrelated, but another one, please check this PR #10 where we did the FileProvider work. Should be fine, but maybe we hit another issue, let me know please
@VEIKKO99 could you get the same issue running the code Quick Sample build?

@rexyrex I have another bug, but similar. When I try to run Quick Sample the camera option is not available, even if the permission is granted.
Will look in to this bug later, in the main time I tag as help wanted and good first issue if someone else jump to help us.
@bohemima your problem seen unrelated, but another one, please check this PR #10 where we did the FileProvider work. Should be fine, but maybe we hit another issue, let me know please
@VEIKKO99 could you get the same issue running the code Quick Sample build?

@rexyrex I have another bug, but similar. When I try to run Quick Sample the camera option is not available, even if the permission is granted.

Only did a quick look around but it seems it is missing queries decleration for IMAGE_CAPTURE in the manifest,
    <queries>
        <intent>
            <action android:name="android.media.action.IMAGE_CAPTURE" />
        </intent>
    </queries>

@bohemima your problem seen unrelated, but another one, please check this PR #10 where we did the FileProvider work. Should be fine, but maybe we hit another issue, let me know please

I'm pretty sure it's the same issue, the crop screen is shown briefly before closing and the above error is sent.

@rexyrex I have another bug, but similar. When I try to run Quick Sample the camera option is not available, even if the permission is granted.

Only did a quick look around but it seems it is missing queries decleration for IMAGE_CAPTURE in the manifest,
    <queries>
        <intent>
            <action android:name="android.media.action.IMAGE_CAPTURE" />
        </intent>
    </queries>

@bohemima your problem seen unrelated, but another one, please check this PR #10 where we did the FileProvider work. Should be fine, but maybe we hit another issue, let me know please

I'm pretty sure it's the same issue, the crop screen is shown briefly before closing and the above error is sent.

Great! =D
@bohemima any chance you can help here? Try to reproduce on the sample apps and propose a fix(PR)?

Great! =D
@bohemima any chance you can help here? Try to reproduce on the sample apps and propose a fix(PR)?

@VEIKKO99 could you get the same issue running the code Quick Sample build?

I'm not sure what you mean by Quick Sample build, but the error also occurs on the sample app.

@VEIKKO99 could you get the same issue running the code Quick Sample build?

I'm not sure what you mean by Quick Sample build, but the error also occurs on the sample app.

We are having the same issue. After you take the picture instead of offering to crop it it returns back to my activity.

We are having the same issue. After you take the picture instead of offering to crop it it returns back to my activity.

Version 2.0.0 fixed the issue for me. Camera -> crop now works

Version 2.0.0 fixed the issue for me. Camera -> crop now works

I have the same issue, but on Android 11. What change did Version 2.0.0 bring to fix the issue? (android noobie here)

Version 2.0.0 fixed the issue for me. Camera -> crop now works

I have the same issue, but on Android 11. What change did Version 2.0.0 bring to fix the issue? (android noobie here)

Hey @SaltyBoi31 try to use the latest library version and open a new issue (following the template) so I can help better ^^


Can't get any datapacks I try to work with Origins: Forge.

I wrote my own datapack to create a new origin for Origins: Forge, and when I loaded it into the world, it said it was active, but there were no errors in my log, and the origin did not work.
I thought maybe it was a problem with my datapack, so I tried a datapack from the Genesis Origins datapack, which has over 100k downloads for Forge and Fabric. Didn't work. What's wrong, am I doing something wrong?

Currently only data packs designed for 1.16.5 are usable, origins 1.17 has a slightly different syntax and some new powers that aren't currently available on forge.

Currently only data packs designed for 1.16.5 are usable, origins 1.17 has a slightly different syntax and some new powers that aren't currently available on forge.

I don't think I was using any 1.17 features, but I was using the wiki so I don't know if I would know. Is there a way I can know this?

If the pack_format is more than 6, you are using the /power command, or the creative_flight power, the pack is most likely 1.17.

Do you plan on updating it so that the new powers are usable in the forge version


How to add a sequence number (or row number) column ?

Hi all,
I tried to add a sequence number column to input,
using the add_time filter :
filters:

type: add_time
to_column:
name: sequence_number
type: long
from_value:
mode: incremental_time
from: 1
to:<PHONE_NUMBER>

The problem is : there are as many sequences as executors, so for example, for an input containing 1000 rows, with 4 executors, I ended up with 4 times the same sequence number from 1 to 250
Is there a solution ? I could not find any filter to add a simple auto increment column.
Thank you for providing us with such a powerful software !
Fabrice Etanchaud
MAIF-VIE

Embulk runs on several threads like :

Thread 1: [input] => [filters (including add_time)] => [output]
Thread 2: [input] => [filters (including add_time)] => [output]
...

A plugin should not have such shared variable with static. It can easily spoil the parallelism of Embulk. It's the nature of Embulk. Sorry, that is out of our scope.
Yes, min_out_tasks: 1 makes a single output, but note that you can not achieve the benefit of the parallelism with it.


Dangerous tampering of attribute value when it contains > sign

Hi,
htmlclean tampers attribute values when it contains > sign. It's probably considering that > is closing the tag declaration when it's not. It's quite dangerous.
Here is a reproductible example.
Input:
$ cat test.html
<tag attr="var > 1">

Output:
$ cat test.min.html
<tag attr="var> 1">%
              ^ Notice the space was dropped here

Even worse, it stops minifying after the > token. Meaning it definitely erroneously considers the first > as the end of tag.
$ cat test.html
<tag attr="var > 1" foo bar >

$ cat test.min.html
<tag attr="var> 1" foo bar >%

Hi @gilbsgilbs, thank you for the comment.
That is correct behavior for htmlclean because that HTML code is definitely wrong. htmlclean supposes valid HTML code.
Also, some language parsers (web browsers) may mistake by wrong HTML code.
That is, you should replace that > with > regardless of htmlclean.
See: https://github.com/anseki/htmlclean#note
htmlclean is not validator, htmlclean does not check that the code is valid.
htmlclean should be simple, light weight and small.

@anseki Thanks for your answer. You are right. It's not valid HTML, I totally understand that. However, it's very common to write this kind of things in Angular 1 and pretty much all browsers doesn't consider this as a closing token. Can't imagine having to write ng-if statements with a > b, I'm not even sure it would work.
That being said, I reckon htmlclean should at least raise a warning (because minification obviously failed in this case) or be a bit more permissive, and it should avoid altering attribute values at all price anyways. If not, the "safe" keyword should definitely be removed from the readme; it's just as unsafe as htmlmin.

Thank you for your proposal.
That "safe" means that htmlclean never changes structure of document.
See: https://github.com/anseki/htmlclean#note
htmlclean supposes valid HTML code, and htmlclean doesn't understand HTML at all.
To check the HTML code is valid or not, HTML parser is required. I think that htmlclean should not do that because others already do that.
See: https://github.com/anseki/htmlclean#see-also
You can use protect or unprotect option to control the changing code.
https://github.com/anseki/htmlclean#protect
https://github.com/anseki/htmlclean#unprotect

Thanks. After a quick check in HTML5 spec it appears that we were both wrong: this is not invalid HTML.
<IP_ADDRESS> Attribute value (double-quoted) state

Consume the next input character:

U+0022 QUOTATION MARK (")
    Switch to the after attribute value (quoted) state.
U+0026 AMPERSAND (&)
    Switch to the character reference in attribute value state, with the additional allowed character being U+0022 QUOTATION MARK (").
U+0000 NULL
    Parse error. Append a U+FFFD REPLACEMENT CHARACTER character to the current attribute's value.
EOF
    Parse error. Switch to the data state. Reconsume the EOF character.
Anything else
    Append the current input character to the current attribute's value.

https://www.w3.org/TR/html5/single-page.html#attribute-value-(double-quoted)-state
Meaning that the only characters that have a special meaning for a HTML attribute are:

U+0022 QUOTATION MARK (")
U+0026 AMPERSAND (&) (only if it is ambiguous I guess)
U+0000 NULL
EOF

Anything else is valid and considered as the attribute value.

Thank you for the important information.
I will update htmlclean to support that spec in future version.
Anyhow, we had better escape those characters for HTML parsers.

I updated the code.
Please try new version.
E.g.
INPUT:
  A  B  C  <element    attr1  =  "  value   'value'  <   >   <  >  " "   attr2 = '  value   "value"  <   >   <  >  " '    attrNoValue   >   D  E  F

OUTPUT:
A B C<element attr1="  value   'value'  <   >   <  >  " " attr2='  value   "value"  <   >   <  >  " ' attrNoValue> D E F


Update lading, smp versions in Regression Detector

What does this PR do?
This commit updates the smp and lading versions to the latest released and adjusts the analysis stage of the regression detector to use a new analysis pipeline.

Just noting here that this will officially break workload-checks since new lading has new config validation and the main workload-checks have old configs.
I can prioritize https://github.com/DataDog/datadog-agent/pull/21163 to fix this, let me know. (currently juggling a few things, but can bump this to the top of the queue)

Just noting here that this will officially break workload-checks since new lading has new config validation and the main workload-checks have old configs.
I can prioritize #21163 to fix this, let me know. (currently juggling a few things, but can bump this to the top of the queue)
nevermind I can't read this doesn't affect workload-checks

Still, good looking out.


How do i import this?

seriosly, how?
I placed it on
AppData\Local\GOG.com\Galaxy\plugins\installed\
it did nothing.

Nvm just had to restart got Galaxy