lib: add a UsbBus::force_reset implementation

Implements the force_reset function for usb_device::UsbBus, that simply sets the UDCON::detach bit.

@rmsyn Are you able to test this change?
I updated it here: agausmann:feature/detach 875493126cc04e1dd229a83085de934f4660c18c

Are you able to test this change?

I'm getting pretty close to being able to run the firmware on real hardware. I'll use your changes, and provide updates on how it works.
FWIW, it looks good to me, and passes the build test.

Since I don't have permission to push to your branch, I updated it here: agausmann:feature/detach https://github.com/agausmann/atmega-usbd/commit/875493126cc04e1dd229a83085de934f4660c18c

I changed to allow edits from maintainers, and cherry-picked your changes. Let me know if you want me to drop the cherry-pick, so you can add it yourself.

Alright, the delay_cycles method will be added to avr-device in its next release

I actually haven't tested the delay yet. :sweat_smile:  I will write a blinky using it later today.

Merged as bdbc13dfdb1300565645668277ac32a7a6914d1f


Fix broken readme links to be compatible with the AWS blog

Please ensure your issue adheres to the following guidelines:

[ ] Use the following format: * [owner/repo](link)
[ ] Link additions should be added to the bottom of the relevant category.
[ ] New categories or improvements to the existing categorization are welcome.
[ ] Search previous suggestions before making a new one, as yours may be a duplicate.
[ ] Sort by alphabetical order

Thanks for contributing!
As part of the "Getting started with Trapheus" section in AWS blog published on trapheus: https://aws.amazon.com/blogs/opensource/what-is-trapheus/ , there are some links to specific sections of the readme. these links are currently broken in our github repo.
Example:

Currently, the link in the screenshot above is https://github.com/intuit/Trapheus#pre-requisites and should redirect to the prerequisites section of our readme but the link in github is https://github.com/intuit/Trapheus#-pre-requisites.
the request is to fix all the github links to ensure the ones mentioned in the blog work as expected.

Hi! I would like to work on this issue. Requesting the maintainer(s) to assign this issue to me.

@Agnik7 have assigned this issue to you.

Hi @namitad I am a beginner to open source. Could you kindly guide me as to which files need to be changed?

@Agnik7 the changes you need to make in the README.md file. the links to different sections of the readme as provided in the above blog are broken. you need to make changes such that links in the readme match the links provided in the blog.
so you can start with checking what are the links used in the blog (i have provided a sample above) and the cross check in the README.md file to see what changes would be needed in each header for links to match.

@namitad I have a query. I just checked it, the links in the README.md file are working in the README, but are broken in the aws blog. I don't have an aws account, so I can't edit the blog directly. Is there a way to work around that? I am asking this since the links provided in the README are perfectly valid ones.

@Agnik7 The blog cannot be edited. You need to change the links in the github repo so that they match the ones that are in the blog.

Basically there were some changes made in the readme post the blog was published which changed the link structure. This resulted in broken links in the blog.

Ok got it👍

@namitad I have created a PR #145 to address this issue. Requesting you to kindly review it.


I have trouble with AmazonOrderList

I want to use Amazon Order List to get order data.
But there is an error.
ErrorException in AmazonCore.php line 604: Undefined index: code
in AmazonCore.php line 604 at HandleExceptions->handleError('8', 'Undefined index: code', '/var/www/html/mastermind/vendor/sonnenglas/laravel5-amazon-mws/src/AmazonCore.php', '604', array('url' => 'https://mws.amazonservices.comOrders/2013-09-01', 'param' => array('Post' => 'SellerId=***&AWSAccessKeyId=***&SignatureVersion=2&SignatureMethod=HmacSHA256&Version=2013-09-01&MarketplaceId.Id.1=ATVPDKIKX0DER&LastUpdatedAfter=2017-08-21T14%3A56%3A12%2B0800&LastUpdatedBefore=2017-08-22T14%3A54%3A12%2B0800&FulfillmentChannel.Channel.1=MFN&OrderStatus.Status.1=Unshipped&OrderStatus.Status.2=PartiallyShipped&OrderStatus.Status.3=Canceled&OrderStatus.Status.4=Unfulfillable&Action=ListOrders&Timestamp=2017-08-22T14%3A56%3A12%2B0800&Signature=SsaT871Jt47wvbae%2F%2FRPO294y9aAfwclFz8ssKo%2Bd7U%3D'), 'response' => array('ok' => '-1', 'error' => 'Failed to connect to mws.amazonservices.comOrders port 443: Connection refused'))) in AmazonCore.php line 604 at AmazonCore->sendRequest('https://mws.amazonservices.comOrders/2013-09-01', array('Post' => 'SellerId=***&AWSAccessKeyId=***&SignatureVersion=2&SignatureMethod=HmacSHA256&Version=2013-09-01&MarketplaceId.Id.1=ATVPDKIKX0DER&LastUpdatedAfter=2017-08-21T14%3A56%3A12%2B0800&LastUpdatedBefore=2017-08-22T14%3A54%3A12%2B0800&FulfillmentChannel.Channel.1=MFN&OrderStatus.Status.1=Unshipped&OrderStatus.Status.2=PartiallyShipped&OrderStatus.Status.3=Canceled&OrderStatus.Status.4=Unfulfillable&Action=ListOrders&Timestamp=2017-08-22T14%3A56%3A12%2B0800&Signature=SsaT871Jt47wvbae%2F%2FRPO294y9aAfwclFz8ssKo%2Bd7U%3D')) in AmazonOrderList.php line 347 at AmazonOrderList->fetchOrders()
Please help to solve this problem. thank you

I was in the middle of writing out a reply about this being a connection issue in a separate fork when I noticed the problem: check out the URL that it is trying to send to. It looks the base URL in config is missing the ending slash.
Also, I went ahead and blanked out the merchant credentials in the data you posted. Please be more careful

Yesterday I hurried so less thorough. Thank you for reminding merchant credentials data security.
Now it works well. thank you


Provide support for token counting for Claude 3.5+ models

Currently, the count_tokens function only works for old models (i.e. 2.1 and below).
This has led to people creating "unofficial" tokenizers:
https://github.com/javirandor/anthropic-tokenizer
Several people on Reddit have also noted this issue:
https://www.reddit.com/r/ClaudeAI/comments/1bgg5v0/how_do_you_countestimate_token_inputoutputs_with/
Solution:
Create support for Claude 3+ models by publicizing the tokenizer vocabulary

Closing as a duplicate https://github.com/anthropics/anthropic-sdk-python/issues/375#issuecomment-1999982035


BUG?! base_ga4__events.sql  --> Dynamic vs Static partitions IF clause

Context: base_ga4__events.sql -> Line #1 & Line #58
Issues: the conditional IF statement is not executing as expected
{% if var('static_incremental_days', false ) ==  true %}
Impact: even though I have set a variable static_incremental_days: 3 in dbt_project.yml file, the compiled code still rendering statements meant for dynamic-partitions  and not  static-partitions  as expected
@adamribaudo I can fix, create PR to merge if you agree ?

I noticed a lot of weirdness related to this feature a couple of days ago. If you know a fix, please submit it because I'm a little confused as to why it's not working. I noticed this while working on the streaming branch.
I've also posted my issue in the dbt Slack, but haven't gotten an answer there https://getdbt.slack.com/archives/C99SNSRTK/p1657911399355319.

Actually, I have this fixed in the streaming PR request. My issue in testing seems to be from having multiple profiles on my test machine and somehow my test is getting the wrong data creating what appears to be an error.

@dgitis thank you for sharing.
yes, its the same things I notice - i have created the PR https://github.com/Velir/dbt-ga4/pull/32
It seems Jinja doe snot recognize non-null value as true

@dgitis - sorry I did not want to interfere with other changes you might have made for streaming support, therefore I decided to create this PR and limit to this bug fix. thanks for co-operation.

Great find! Mistake on my part: I meant to look for != false rather than == true


NTR: [implantation fossa]

Please provide as much information as you can:

implantation fossa

1.On a spermatozoon, the small segment behind the head to which the internal filaments of the tail attach.
2.At the base of the head is a ball-and-socket articulation which serves to attach the neck and the rest of the spermatozoon to the head.

1.(https://medical-dictionary.thefreedictionary.com/implantation+fossa+of+sperm)
2.Equine reproduction: Von A. O. McKinnon,James L. Voss
(REQUIRED)

EC <IP_ADDRESS> - acrosin

Please provide as new term in cellular component or could we use an other euqivalent term?

(note that for CC we dont link to EC)

PMID: 33452591

PMID:29663073 Ultra-structure of the sperm head-to-tail linkage complex in the absence of the spermatid-specific LINC component SPAG4. "The attachment site of the tail to the head is a
concave indentation of the sperm nucleus, the implantation
fossa, that is bordered by the basal plate, an electron dense
structure."
PMID:33925685

It appears to me that implantation fossa is defined as an indentation found on sperm nuclear membrane. Functionally, there is GO:0120212 sperm head-tail coupling apparatus (HTCA) that is related. I think we could add implantation fossa as a related synonym to GO:0120212. @brendamg Is that OK?

Sure it's OK. It seems reasonable to me.

synonym added. Thanks!


ci: add lint workflow and requirements.txt

The requirements.txt file acts as a freeze for dependencies and
convenience in installing them.
This commit also adds a workflow to run pylint, which is the initial
reason for adding a requirements.txt.

Adds Linter and requirements.txt


Update San Miguel tileset to glTF 2.0 with PBR

The San Miguel tileset that we host on ion is glTF 1.0 still.
@likangning93 has a prototype glTF 2.0 version but the PBR materials still need some tweaking.
Not urgent, just worth updating eventually.

@likangning93 this happened a while ago, right?


Continuous loading

Continuous loading for personal mail, personal contact, and personal calender

Hi, are you reporting a specific error you are seeing? If so, are you able to provide more context? If a feature request, could you describe in more detail?

Dear Eric,
Kindly see the snapshot below. It is loading continouously.
<EMAIL_ADDRESS>Sheik Naveed
شيك نافيد
Academic Systems Administrator
مسؤول النظم الأكاديمية
Smart Services and Projectsالخدمات الذكية والمشاريع
Tel: 800- MBRU (6278)
Direct +9714 383 8606
<EMAIL_ADDRESS>www.mbru.ac.ae
P.O. Box 505055, Dubai,  UAE
From: Eric Overfield<EMAIL_ADDRESS>Sent: Friday, February 28, 2020 10:19 PM
To: SharePoint/sp-starter-kit<EMAIL_ADDRESS>Cc: Sheik Naveed<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [SharePoint/sp-starter-kit] Continuous loading (#377)
Hi, are you reporting a specific error you are seeing? If so, are you able to provide more context? If a feature request, could you describe in more detail?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FSharePoint%2Fsp-starter-kit%2Fissues%2F377%3Femail_source%3Dnotifications%26email_token%3DAOKZL5NQTEAFWSLK2OSOAQLRFFIPNA5CNFSM4K5W7JBKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENJUG3Y%23issuecomment-592659311&data=02|01|Naveed.Sheik%40mbru.ac.ae|faee93bfd0344535c46f08d7bc7aa0a3|c9a341c74b6f4e56b8d9f2325c282fda|0|0|637185107189347364&sdata=5QXIKdRAnb5lqUFsL8CIRbGtt%2BfOPhy3dyZ4zER%2FrJU%3D&reserved=0, or unsubscribehttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAOKZL5KHYFVIHJUYHY3UDLLRFFIPNANCNFSM4K5W7JBA&data=02|01|Naveed.Sheik%40mbru.ac.ae|faee93bfd0344535c46f08d7bc7aa0a3|c9a341c74b6f4e56b8d9f2325c282fda|0|0|637185107189357362&sdata=hV7mZQGbg3SEnIwdRHMRoCWxR8Kz7vknZ%2FxqhKmTIN4%3D&reserved=0.

I am getting same loading for Task, Contacts, Calender, mail

Those webparts all use graph and thus require API permission consent.
Did these webparts ever work for you?
Did you authorize the required api permissions in the API management page?
Would you check your console.log and see what errors are being thrown and share them?

I had approved the API permission. It worked onces. now it is not working

Would you please look in your browser's console log and report back any errors related to one of these components?

Please find below the error which I received in Console

@sheiknaveed Are you saying this same web parts works in another site, or another tenant?


[BUG] PingBypass account vulnerability

FIX ASAP BECAUSE AN IP LEAK COULD GET TO COORDS LEAK AND ... ??
Describe the bug
If you try to connect to a pingbypass server (account1) and you have an other account on the client (account2) you will be able to use the server account
To Reproduce
Steps to reproduce the behavior:

Login with an account on the pingbypass server and launch the server
Login with an other account on the minecraft client
Connect to the pingbypass
You end up using the account on the server

Expected behavior
You can't connect to the pingbypass or at least to MC servers
Describe the solution you'd like
-Maybe a password? (I think it would not be a so good fix)
-Unable to connect to the pingbypass server (This would not be good because people can use this pingbypass bug to quickly use alts)
-Add the option to use this but the setting is disabled by default (good solution, but then add password(?))
Should be fixed in some way on the client too (maybe just ask if the server is updated and notify about the vulnerability)
Checklist

[x] I know how to properly use check boxes.
[x] I have included logs, screenshots, exceptions and / or steps to reproduce the issue.
[x] I followed the issue template.

You can set a password on your pingbypass server

It should be a default requirement, because it's not safe like this rn

Same account on server and client is difficult to impossible, Minecraft will say that you logged in from another location afaik.
Making passwords mandatory sounds like a good idea.

no wait, ik you can't login in the same server from 2 locations at the same time, the problem is:
-To use MC you need an account (have a username, so can be cracked or premium) just to open the game
-By connecting to the server (with any account in the client) you use the client in the server.
example
You are the owner of a server
I'm connected to your server with pingbypass (this is your server, so you know my ip)
You can find the port where is my pingbypass
You can connect to my pingbypass (you are using the account on the pingbypass server)
You now have access on my account
--I hope you understand this
Btw add a mandatory password is good, but add just a simple check for the server that the account on the client is the same and it is premium seems simpler, because you can make this check as default, but you can remove it from a setting it you need

No, I get you, but I thought when you log into your Minecraft account on another PC your session becomes invalid?

I have the same account on 3 PCs and I can play with they at the same time (just not the same server), btw this is not the thing I'm talking about, if you can send me a dm Ai_2473#7275 and I quickly show you what I mean

1.8.0!!
thx for 3arthh4ck btw ❤

Hmm, password is now mandatory, I will think about some other ways to improve security. Using the same account sounds good, but I will need to look into the auth stuff for that. Another thing I thought about would be a Hmc-Specifics plugin that prompts you when someone is about to connect to server and you have to confirm it in the server console.


Rework the installation of depopts

Do not run the tests while testing DEPOPTS.

Please revert this quickly @samoht -- it breaks a lot of external repositories.

See https://github.com/ocaml/ocaml-travisci-skeleton/pull/59.

We should turn on Travis for this repository...

good idea, I'll add it.

Done in https://github.com/ocaml/ocaml-travisci-skeleton/pull/60


fix(examples/zkevm-demo): allow dead-code methods

The below error was throw when run cargo build within examples/zkevm-demo/methods/guest/:
error: methods `reset` and `set` are never used
  --> risc0/examples/zkevm-demo/core/src/lib.rs:42:12
   |
37 | / impl<T> ResTrack<T>
38 | | where
39 | |     T: Clone,
   | |_____________- methods in this implementation
...
42 |       pub fn reset(&mut self) {
   |              ^^^^^
...
53 |       pub fn set(&mut self, elm: &T) {
   |              ^^^
   |
   = note: `-D dead-code` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(dead_code)]`

error: could not compile `zkevm-core` (lib) due to 1 previous error
warning: build failed, waiting for other jobs to finish...

It's not intended for the guest to be built with the host compiler. The risc0-build crate manages launching cargo for the guest side. It can also be manually run with cargo +risc0 build in the guest directory.


Repro issue #1659

Looks legit.

Closing due to fix in #1661, though @dblock how soon are you thinking about a 1.0.1 tag?  We'd like to move to 1.0.x but can't until next tag...

Opened https://github.com/ruby-grape/grape/issues/1664 for next release, we don't make any promises, but any maintainer can cut one any time.


fix#10859: permission issue in test suite details page

Describe your changes:
Fixes #10859

I worked on fixing the bug where users with proper permissions were not able to edit test cases
https://user-images.githubusercontent.com/51777795/231107136-380186b0-c35d-4df1-a24e-519784b24ec0.mov

Type of change:

[x] Bug fix

Checklist:

[x] I have read the CONTRIBUTING document.
[ ] My PR title is Fixes <issue-number>: <short explanation>
[ ] I have commented on my code, particularly in hard-to-understand areas.
[ ] For JSON Schema changes: I updated the migration scripts or explained why it is not needed.

Hi @chirag-madlani

Hi @lailapatel,
Yes, it's resolved in 1.0 let us know if you are facing any issue here

yes, like in the below case, the user got Data Steward role with the below permissions i.e. Edit All and View All.

He is able to edit the tests successfully.
However, he is also able to create the tests, though the assigned role is for Editing only.

Yes @lailapatel, To allow create testSuites you need to modify the Rule to Allow create shown in the below screenshot.
We are considering each operation differently so If someone doesn't have create permission, we won't allow it

Hi @lailapatel,
Seems working on Sandbox. Can you reach out to support for a more efficient resolution here?


fix: Statemine properties not showing

Thank you for your contribution to the KodaDot - One Stop Shop for Polkadot NFTs.
👇 __ Let's make a quick check before the contribution.
PR Type

[x] Bugfix
[ ] Feature
[ ] Refactoring

Needs QA check

@kodadot/qa-guild please review

Context

[x] Closes #6426
[ ] Requires deployment <snek/rubick/worker>

Did your issue had any of the "$" label on it?

[x] My DOT address: Payout

Screenshot 📸

[x] My fix has changed UI

/stmn/gallery/3-1

Copilot Summary

🤖 Generated by Copilot at 57c6b3b
This pull request fixes a bug in displaying NFT attributes and updates the stick indexer URL to use the latest version. It modifies useNft.ts, indexers.ts, nftById.graphql, and constants.ts to handle the new NFT attributes format.

🤖 Generated by Copilot at 57c6b3b

stick indexer v4
fixes NFT attributes
fall is for bug squash

Otherwise LGTM

once this is merged, I'll be opening another issue for this:

https://deploy-preview-6438--koda-canary.netlify.app/stmn/gallery/9-143

😍 Perfect, I’ve sent the payout
💵 $20 @ 5.15 USD/DOT ~ 3.883 $DOT
🧗 16SjUbGKSdjCdWTy3NNT3JxbRVGGqD4mwkHpc6BD9U2Rp29Z
🔗 0xad9080282965edd220ccb252ecb1b1d7c63779c14bbb29373de6a65c0b2e89ba
🪅 Let’s grab another issue and get rewarded!
🪄 github.com/kodadot/nft-gallery/issues


Add a Chinese README document to spread it to china

I add a Chinese README-CN.md file to help Chinese web developer apply these funny filter on their projects. 😄
PR here: https://github.com/una/CSSgram/pull/164

PR was accepted


ModPe scripts can use Blocklauncher's root permissions!

The Rhino js interpreter allows any script to run java code. This means that they can do anything a normal app could do, including using root. And since it's all running as the same app, when you allow blocklauncher root permission you also allow any loaded ModPe scripts to use it as well!
I have tested this on my rooted Note 3, stock Android 4.3, SuperSu 1.8.6, blocklauncher pro 1.6.3, but it should work on any rooted phone that runs blocklauncher.
The following 2 line script writes "Hello World" to /data/test.txt, a location that without su could not be touched:
p =  java.lang.Runtime.getRuntime().exec("su");
(new java.io.DataOutputStream(p.getOutputStream())).writeBytes("echo Hello World >> /data/test.txt\nexit");
In just a few lines a malicious script could steal your personal information, impersonate you, or completely wipe out your entire phone!

I've looked into Seccomp-bpf for filtering syscalls, but the problem is that all devices that would need root in the first place (KitKat and below) probably don't have a kernel that supports this... any other ideas?

I found a script that KILLS the device! Please fix this!

Nah don't fix this

.. idc anymore

Hahaha unblock me!


Handle exceptions from C++ via SWIG to Java

Originally reported on Google Code with ID 56
Using Ortools Java on OS X.  Exception from C++ simply crashes the JVM with core dump.
 It's very desirable for Java code to be able to catch exceptions from C++ code.

Can we add exception handling (re-throwing C++ exception as Java exception) in SWIG?
 If would sufficient to simply re-throw as Java RuntimeException.

http://www.swig.org/Doc3.0/SWIGDocumentation.html#SWIGPlus_exception_specifications

Reported by yunjun.mu on 2014-11-14 15:47:11

Is there currently a work around to handle exceptions?  I have run into a few occasions where the JVM crashes in a production environment causing that server to be unavailable until it is restarted.  It would be very helpful to be able to catch these exceptions and report them without bringing down the entire JVM.

I do not know how to do it.
In swig, you need to know which exception are going to be thrown, but or-tools does not use exceptions, thus it does not throw any.


explain GPU scaling in docs

see https://github.com/apple/turicreate/issues/741

TuriCreate only supports using one GPU, see: #2797. So this is not relevant any more.


Language picker: use the same kind of UI as the country picker

Hi everyone,
I've recently changed the country picker to add a title, some dividers…
It would be nice to implement the same kind of UI for the language picker.

And the same goes for nutrients.
Also, an improvement: if you search for something with an extra space, no result with be displayed. We should trim them.

May i work on it?


python310Packages.bimmer-connected: 0.10.1 -> 0.10.2

Description of changes
https://github.com/bimmerconnected/bimmer_connected/releases/tag/0.10.2

Things done

Built on platform(s)

[x] 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

[x] 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/)
22.11 Release Notes (or backporting 22.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
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 187095 run on x86_64-linux 1

3 packages built:

home-assistant-component-tests.bmw_connected_drive
python310Packages.bimmer-connected
python39Packages.bimmer-connected


Adding annotations in arbitrary values

Right now I can only add annotations in one of the values of my data, not in any arbitrary value.
This is, let's say I've got points for x = 2.5 and x = 2.6 and I want to add an annotation in x = 2.55.
How can I circumvent this?
Thanks!

Nevermind, I was using a categorical graph instead of a linear graph. This solved the issue.


How to reload NIBs?

"Remember that for the nib/storyboards to be translated you need to reload them."
How and where to write its code?

It is using swizzling in +load(), so just create another object of your nib should be fine.


Debian sbt repository not signed

[ x ] I've read the CONTRIBUTING guidelines

steps
Follow steps at https://www.scala-sbt.org/1.x/docs/Installing-sbt-on-Linux.html

echo "deb https://dl.bintray.com/sbt/debian /" | sudo tee -a /etc/apt/sources.list.d/sbt.list
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv 2EE0EA64E40A89B84B2DF73499E82A75642AC823
sudo apt-get update
sudo apt-get install sbt

problem
apt-get install sbt fails with
Ign:8 https://dl.bintray.com/sbt/debian  InRelease
Get:9 https://dl.bintray.com/sbt/debian  Release [815 B]
Ign:10 https://dl.bintray.com/sbt/debian  Release.gpg
Reading package lists...
E: The repository 'https://dl.bintray.com/sbt/debian  Release' is not signed.
expectation
sbt package installs
notes
seems similar to #3883
sbt version: all

Same issue
E: Failed to fetch http://dl.bintray.com/sbt/debian/InRelease  403  Forbidden [IP: <IP_ADDRESS> 80]
E: The repository 'http://dl.bintray.com/sbt/debian  InRelease' is not signed.

Facing the same issue, workaround suggested by @nhynes results in
user@Machine:~$ wget https://dl.bintray.com/sbt/debian/sbt-1.4.9.deb
--2021-04-12 16:29:35--  https://dl.bintray.com/sbt/debian/sbt-1.4.9.deb
Resolving dl.bintray.com (dl.bintray.com)... <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, ...
Connecting to dl.bintray.com (dl.bintray.com)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 403 Forbidden
2021-04-12 16:29:35 ERROR 403: Forbidden.

Same issue
E: Failed to fetch http://dl.bintray.com/sbt/debian/InRelease  403  Forbidden [IP: <IP_ADDRESS> 80]
E: The repository 'http://dl.bintray.com/sbt/debian  InRelease' is not signed.

Workaround suggested by @nhynes  results in
user@Machine:~$ wget https://dl.bintray.com/sbt/debian/sbt-1.4.9.deb
--2021-04-12 16:29:35--  https://dl.bintray.com/sbt/debian/sbt-1.4.9.deb
Resolving dl.bintray.com (dl.bintray.com)... <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, ...
Connecting to dl.bintray.com (dl.bintray.com)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 403 Forbidden
2021-04-12 16:29:35 ERROR 403: Forbidden.

Same issue as @RiteshBM
Err:5 http://dl.bintray.com/sbt/debian  InRelease
  403  Forbidden [IP: <IP_ADDRESS> 80]
Hit:6 http://security.ubuntu.com/ubuntu bionic-security InRelease
Reading package lists... Done
E: Failed to fetch http://dl.bintray.com/sbt/debian/InRelease  403  Forbidden [IP: <IP_ADDRESS> 80]
E: The repository 'http://dl.bintray.com/sbt/debian  InRelease' is not signed.

Same issue as the above listed.
Reading package lists...
--
110 | E: Failed to fetch https://dl.bintray.com/sbt/debian/InRelease  403  Forbidden
111 | E: The repository 'https://dl.bintray.com/sbt/debian  InRelease' is not signed.

same here!
Reading package lists...
71 | E: Failed to fetch https://dl.bintray.com/sbt/debian/InRelease  403  Forbidden [IP: <IP_ADDRESS> 443]
72 | E: The repository 'https://dl.bintray.com/sbt/debian  InRelease' is not signed.

Bintray is conducting a brown out - https://github.com/sbt/sbt/issues/6445


[PiranhaJava] Make Piranha skip code annotated with @lombok.Generated

And, ideally, a configurable list of annotations denoting generated source or AST structures.
See #105 for the kind of issue this seeks to avoid, and the limitations of this fix.

@lazaroclapp - If I were to take a jab at this issue (The label  good first issue seems lucrative), what is the expectations from this issue ? Is it merely confined to lombok (or) should we be considering something else as well ?

If this is an issue in the Polyglot version, we can explore fixing this in a generic manner also by adding appropriate tree-sitter rulers. (cc @ketkarameya)
@krmahadevan Can you try that version?


Incorrect preview link

Describe the bug
When I rename a resource, the preview link doesn't update with the new name, and instead still uses the old name.
To reproduce
Steps to reproduce the behavior:

Go into the CMS
Change the name of any entry
Click "live preview"
You should see a "page doesn't exist" screen

Expected behavior
To see a live preview

This appears to be an upstream bug in Netlify CMS. I'm going to work on a reduced test case to try to figure it out.


Feature/tool title match ga4gh

Change the tool title to match the GA4GH id for simplicity
Also better group tools in "My Tools" based on registry/organization without merging the "same" tool from docker hub and quay.io
https://github.com/ga4gh/dockstore/issues/377

[x] Check that you pass the basic compilation and unit tests by running grunt

Coverage decreased (-0.003%) to 8.957% when pulling 7bb5ebb4c023929281928471868c50ca46b0f46d on feature/tool_title_match_ga4gh into 36189f8e53a12e50019216f8b49c14e0d3b90a3a on develop.

Coverage decreased (-0.003%) to 8.957% when pulling ca45b66f8eab370ebda2ac4fd8f7c3c0a52bb43a on feature/tool_title_match_ga4gh into 36189f8e53a12e50019216f8b49c14e0d3b90a3a on develop.

Coverage decreased (-0.003%) to 8.957% when pulling 3c1254bca8331842890e024846cbdbe54104916b on feature/tool_title_match_ga4gh into 36189f8e53a12e50019216f8b49c14e0d3b90a3a on develop.


Multiplayer

Hello friends,
I know that recently FiveM had to stop your multiplayer project alternative, but, someone in here have interest in make a thing like this?

This really isn't the discussion forum for requests like this.

This isn't a request or issue. Is a question. Someone are working in some project like this?
Sorry if here isn't the best place to make this question.

I'd suggest making a post on GTAForums, perhaps here.

Tks.


Nuget Package

Can we get a Nuget package for this? Thanks!

Hello there,
At the time I wrote this project I did not even know how to host NuGet packages! I will update the project to my current version used for my projects and get a NuGet package up and post the link in the README and here.
Thanks for the request :).

No problem, thank you!

Hi,
I did this a while back and forgot to post it over here. Feel free to try the nuget and let me know if it works.
https://www.nuget.org/packages/Overlay.NET/

What are you running x86 or x64 bit?

Thanks for the reply, but I'm not sure how this is related to Settings.NET?

@vector-man
Sorry, not sure how that reply went here.. meant to go else where. Either way, as you request, here it a NuGet of the latest Settings.NET (git version = latest)
https://www.nuget.org/packages/SettingsDotNET/1.0.0
Sorry for the delay. It might not be live yet, but if it is and you try it feel free to report any problems.

Thanks!


SEGFAULT in parse_string

There is a bug in parse_string function which results segfault.
You can trigger error by providing input which contains non closed quotes.
For example:

"[
{"1": 1, ":2}

Bug exists because if you don't have closing quote inside 32 byte range, function adds additional 32 bytes without checking length of input string. When you don't provide closing quote in whole input, function loops to segment bounds causing segfault.

This sounds credible. I see you have a PR already!


chore: introduce lockFileMaintenance on weekends [ci skip]

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


The term 'Get-o365DynamicDistributionGroup' is not recognized as the name of a cmdlet

It can't find this command 'Get-o365DynamicDistributionGroup' and it also fails for get-o365outboundconnector
[12/21/2022 12:29:23 AM] - Starting collection of dynamic distribution groups.
invoke-command : The term 'Get-o365DynamicDistributionGroup' is not recognized as the name of a cmdlet, function,
script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is
correct and try again.
At C:\Program Files\WindowsPowerShell\Modules\DLConversionV2\2.9.4\Get-O365GroupDependency.ps1:144 char:34

...             $functionTest += invoke-command -scriptBlock $scriptBlock

                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : ObjectNotFound: (Get-o365DynamicDistributionGroup:String) [Invoke-Command], CommandNotFo

test-outboundConnector : The term 'get-o365OutboundConnector' is not recognized as the name of a cmdlet, function,
script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is
correct and try again.
At C:\Program Files\WindowsPowerShell\Modules\DLConversionV2\2.9.4\DLConversionV2.psm1:2187 char:9

    test-outboundConnector -overrideCentralizedMailTransportEnabl ...

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : ObjectNotFound: (get-o365OutboundConnector:String) [Test-OutboundConnector], CommandNotF
oundException
FullyQualifiedErrorId : CommandNotFoundException,Test-OutboundConnector

ok - I can see why I get this error.  For those finding this
O365 is the prefix added to commands so they are differentiated from the onpremise cmds, this prefix is specified when the module connects to EXO.
When I manually connect to EXO those commands don't exist for me either.  I must be having brain fade because I can't see why.  I have exchange admin role active and global just for good measure

If you’re having to run connect-ExchangeOnline first something else is wrong.  Make sure the account your using is not implementing mfa or use certificate auth.  The script should be able to establish the connection non-interactively,
Generally when I see this someone has to have an interactive logon first - so they leverage the ability that the new commands do not clobber existing commands on import.
Tim
==============================
Timothy J. McMichael
Senior Support Escalation Engineer
<EMAIL_ADDRESS>(980)-776-7465
Hours:  Sunday – Wednesday 08:00 – 16:00 eastern time zone.
Manager:  Tom Roughley<EMAIL_ADDRESS>Premier Support -<PHONE_NUMBER>
Broad Commercial Support -<PHONE_NUMBER>
==============================

From: smtp25gmailcom @.>
Sent: Tuesday, December 20, 2022 7:58 PM
To: timmcmic/DLConversionV2 @.>
Cc: Subscribed @.***>
Subject: Re: [timmcmic/DLConversionV2] The term 'Get-o365DynamicDistributionGroup' is not recognized as the name of a cmdlet (Issue #100)
ok - I can see why I get this error. For those finding this
O365 is the prefix added to commands so they are differentiated from the onpremise cmds, this prefix is specified when the module connects to EXO.
When I manually connect to EXO those commands don't exist for me either. I must be having brain fade because I can't see why. I have exchange admin role active and global just for good measure
—
Reply to this email directly, view it on GitHubhttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Ftimmcmic%2FDLConversionV2%2Fissues%2F100%23issuecomment-1360618230&data=05|01|timmcmic%40microsoft.com|72870976c53645666a3b08dae2ee757e|72f988bf86f141af91ab2d7cd011db47|1|0|638071811050390853|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=vlVf%2FIhL7ZY939VSreL7ebjgnopedjNJiLeYLOuxNT4%3D&reserved=0, or unsubscribehttps://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAKGTN6I2RQVGDIVFKDQSPRDWOJI25ANCNFSM6AAAAAATFCB45U&data=05|01|timmcmic%40microsoft.com|72870976c53645666a3b08dae2ee757e|72f988bf86f141af91ab2d7cd011db47|1|0|638071811050390853|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=SOAp2bh34esfFd7XVTvT1G%2BHbr%2BncnBmTX1A8xvoURY%3D&reserved=0.
You are receiving this because you are subscribed to this thread.Message ID: @.***>


Customizing font size and font family buttons to display selected size and font family

How to customize font size and font family buttons to display selected size and font family as it implemented in demo for pro version?
Or is it available only in Pro mode?
Instead of

I'd like to display

Hi, it just component option:
Jodit.make('#editor', {
        controls: {
					font: {
						component: 'select',
					}
          }
});

It works!)
Thanks you so much for bringing your attention to that.

Closed


[TypeSpec] Remove "./" from tspconfig.yaml

Prefix is unnecessary and clutters config
Fixes #24196

Passing CI: https://dev.azure.com/azure-sdk/public/_build/results?buildId=2805265&view=results

Generated ApiView
Language	Package Name	ApiView Link
Java	azure-ai-translation-text	Create ApiView failed. Please ensure your github account in Azure/Microsoft is public and add a comment "/azp run" to re-trigger the CI.
Java	azure-contoso-widgetmanager	Create ApiView failed. Please ensure your github account in Azure/Microsoft is public and add a comment "/azp run" to re-trigger the CI.
.Net	Azure.AI.Translation.Text	Create ApiView failed. Please ensure your github account in Azure/Microsoft is public and add a comment "/azp run" to re-trigger the CI.
JavaScript	@azure-rest/ai-translation-text	Create ApiView failed. Please ensure your github account in Azure/Microsoft is public and add a comment "/azp run" to re-trigger the CI.
JavaScript	@azure-rest/contoso-widgetmanager-rest	Create ApiView failed. Please ensure your github account in Azure/Microsoft is public and add a comment "/azp run" to re-trigger the CI.

@mikeharder The ApiView link generation failed, please ensure your github account in Azure/Microsoft is public.

/azp run

@qiaozha Please help review azure-sdk-for-js error.
@raych1  Please help review azure-sdk-for-go error.
@msyyc Please help review azure-sdk-for-python error.
@live1206 Please help review azure-sdk-for-net-track2 error.

@v-xuto , GO isn't enabled for typespec DPG.
JS and python failed for same reason and isn't related to this PR change.
[automation_generate.sh] /mnt/vss/_work/1/s/azure-rest-api-specs/specification/cognitiveservices/AnomalyDetector/client.tsp:6:17 - error invalid-ref: Namespace AnomalyDetector.Univariate doesn't have member DetectUnivariateEntireSeries
08:49:00.522 cmdout 	[automation_generate.sh] > 6 | @@convenientAPI(AnomalyDetector.Univariate.DetectUnivariateEntireSeries, false)
08:49:00.522 cmdout 	[automation_generate.sh]     |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
08:49:00.522 cmdout 	[automation_generate.sh] Found 1 error, 4 warnings.
08:49:00.538 cmdout 	[automation_generate.sh] Traceback (most recent call last):
08:49:00.538 cmdout 	[automation_generate.sh]   File "/opt/hostedtoolcache/Python/3.10.11/x64/lib/python3.10/runpy.py", line 196, in _run_module_as_main


[ISSUE #1456]Fix slave recover slow issue

What is the purpose of the change
Fix slave recover slow issue
Brief changelog
In the current design, there is no way to update the Checkpoint PhysicMsgTimestamp in the slave server, so the update logic for PhysicMsgTimestamp is added to the Reput logic.
Verifying this change
Follow this checklist to help us incorporate your contribution quickly and easily. Notice, it would be helpful if you could finish the following 5 checklist(the last one is not necessary)before request the community to review your PR.

[x] Make sure there is a Github issue filed for the change (usually before you start working on it). Trivial changes like typos do not require a Github issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[x] Format the pull request title like [ISSUE #123] Fix UnknownException when host config not exist. Each commit in the pull request should have a meaningful subject line and body.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[x] Write necessary unit-test(over 80% coverage) to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add integration-test in test module.
[x] Run mvn -B clean apache-rat:check findbugs:findbugs checkstyle:checkstyle to make sure basic checks pass. Run mvn clean install -DskipITs to make sure unit-test pass. Run mvn clean test-compile failsafe:integration-test  to make sure integration-test pass.
[x] If this contribution is large, please file an Apache Individual Contributor License Agreement.

Coverage increased (+0.02%) to 49.559% when pulling 44153fd9c9021adb4567bda87e818838e45fa5dc on duhenglucky:slave_recover_slow into faef36455e273f2a2e2ceedc9497e61b994f999d on apache:develop.


added hidden _to_c member to most handles

I added some _to_c members to the Python interface for all handles that can easily be converted.
I excluded types and singles (atoms, iterators, etc...).

Merged and also added a _to_c to symbols to be able to pass around those.


fix(web): check trigger.getType() for null before invoking equals method

in PipelineController.getTriggeredPipelines to avoid a NullPointerException.

https://github.com/spinnaker/front50/pull/1251 introduced this code, first released in 1.31, so backporting.

@mergifyio backport release-1.31.x


examples: grepping in files for text fragments

First of all, thanks for the plugin and fuzzy finder.
It would be nice to have examples for grepping for text fragments with ripgrep, which is my main (leakage) problem with telescope.
I have something handcrafted for one-shot programs with plenary, but explorative fuzzy finding is much much more usable.
As of now, I do see only findFile and no grepFile.
I do see that you pipe through multiple processes in jfind-file.sh, which could be problematic for huge input texts.

Interactively would be ideal, but I'm not sure how much complexity that means. I need to think abit more how 1. rg/grep args + 2. fuzzy matching could work, but I suspect the most general solution is to make both adjustible.

if we're to add interactive regex, then that would mean adding regex as a jfind matching strategy. then we just cat every file into jfind and use the regex strategy when matching.
otherwise, we use the regular jfind matching but only pipe in the results of the ripgrep into jfind.
the second option is very easy to do and already supported by jfind.

@matu3ba i implemented a regex matcher in jfind, could i get you to install the latest jfind, and test it out to see if it's what you're after?
run this bash script from your shell in a codebase:
#!/bin/bash
set -e

CACHE="$XDG_CACHE_HOME"
test -z "$CACHE" && CACHE="$HOME/.cache"
EXCLUDES="$CACHE/jfind_excludes"

command_exists() {
    type "$1" &> /dev/null
}

list_files() {
    command_exists fd && fd_command="fd"
    command_exists fdfind && fd_command="fdfind"

    if [ -n "$fd_command" ]; then
        exclude=$(cat "$EXCLUDES" 2>/dev/null \
            | sed "s/'/'\"'\"'/g" | awk "{printf \" -E '%s'\", "'$0}')
        eval "$fd_command --type f $exclude"
    else
        exclude=$(cat "$EXCLUDES" 2>/dev/null \
            | sed "s/'/'\"'\"'/g" \
            | awk "{printf \" ! -path '*/%s/*' ! -iname '%s'\", "'$0, $0}')
        eval "find '.' -type f $exclude"
    fi
}

cat_files() {
    for file in $(list_files); do
        cat $file | awk '{print $0; print "'"$file"':" NR}'
    done
}

cat_files | jfind --matcher=regex --hints --select-hint

Will do after work today or at latest tomorrow.

It kinda does what I want, although the cursor is not very stable
https://asciinema.org/a/R2gYzt69PxL2Zu9WGTEZLPHt6
If I use it within zellij as multiplexer, the problem appears to becomes worse, but I'm not entirely sure about that.
On a huge repo like Linux it gets worse:
https://asciinema.org/a/TF5Kqq7GdoSguLzth3vMwRWya
Do I need to configure anything additionally?

thanks i'll take a look and get back to you

@matu3ba the cursor jumping issue should be fixed.
i played around with it myself and did something. the way jfind is optimised for fuzzy finding makes it very poor for grepping.
with grep, you do not need to load in the entire buffer of every file. you just read one line at a time and output that line if it matches. you don't need to load the buffer into memory because you do not sort anything.
the correct approach now would be to add some sort of --command flag, where you would provide a command which runs after each keypress. for example --command="rg {}".
my main concern now is whether this is out of scope.

my main concern now is whether this is out of scope.

Mhm, how much implementation complexity would that be?
I'd probably doing something like tracking if the previous word has common prefix or matches the same regex and otherwise dump results and reanalyze by spawning a new process.
However, afaik, there is no good child process api in c++ libstd and you probably dont wan to use boost as heavy dependency.

i'll take a look at it today. it shouldn't be too complex. it every time the user types something, it will spawn a process with fork and kill any ongoing one and clearing the items list. it will read the new processes stdout using dup2. it will not sort anything itself.
i'll let you know how it goes

it's working great. very fast now. i've got a little bit of code cleaning left to do before i put it in master.
could i get you to build and test out the command branch of jfind?
Launch jfind using this command:
jfind --command="rg -n {}" | awk -F: '{print $1 ":" $2}'

eabcee96272902070baad25822235fdface8db36 does not build:
/home/user/dev/git/cpp/jfind/src/item_list.cpp: In Elementfunktion »void ItemList::drawHint(int) const«:
/home/user/dev/git/cpp/jfind/src/item_list.cpp:65:43: Fehler: »strlen« wurde in diesem Gültigkeitsbereich nicht definiert
   65 |     std::string hint = std::string(text + strlen(text) + 1);
      |                                           ^~~~~~
/home/user/dev/git/cpp/jfind/src/item_list.cpp:2:1: Anmerkung: »strlen« ist im Header »<cstring>« definiert; haben Sie vergessen, »#include <cstring>« zu schreiben?
    1 | #include "../include/item_list.hpp"
  +++ |+#include <cstring>
    2 |
make[2]: *** [CMakeFiles/jfind.dir/build.make:272: CMakeFiles/jfind.dir/src/item_list.cpp.o] Fehler 1
make[2]: *** Es wird auf noch nicht beendete Prozesse gewartet …
/home/user/dev/git/cpp/jfind/src/item_generator.cpp: In Elementfunktion »void ItemGenerator::endChildProcess()«:
/home/user/dev/git/cpp/jfind/src/item_generator.cpp:123:5: Fehler: »waitpid« wurde in diesem Gültigkeitsbereich nicht definiert
  123 |     waitpid(m_child_pid, &status, 0);
      |     ^~~~~~~
make[2]: *** [CMakeFiles/jfind.dir/build.make:258: CMakeFiles/jfind.dir/src/item_generator.cpp.o] Fehler 1
make[1]: *** [CMakeFiles/Makefile2:84: CMakeFiles/jfind.dir/all] Fehler 2
make: *** [Makefile:136: all] Fehler 2

sorry, should work now.

i assume you're using linux. i've tested it out on a vm and it has a few things i need to fix. i'll let you know when it's good to go @matu3ba

@matu3ba i went a bit overboard
i made it so when you type a query with --command, it launches a process and suspends it after 128 lines of output. if you scroll up close to 128, then it resumes the process to generate another 128 lines. so on so forth. this allows us to ripgrep without using much cpu and memory usage, only loading more results as needed.
the command branch is probably fully completed now. I've tested and it works great for linux.
let me know how it goes, thanks. if everything works great then i'll work on creating a liveGrep function for jfind.nvim.

With
diff --git a/src/process.cpp b/src/process.cpp
index a1cb04f..52774fc 100644
--- a/src/process.cpp
+++ b/src/process.cpp
@@ -1,6 +1,7 @@
 #include "../include/process.hpp"

 #include <csignal>
+#include <cstdlib>

 #define READ 0
 #define WRITE 1

applied against e79dd6a0823c2f63ed8d1f9f3ebadc81c344927e, I get it building and it works like a charm. Would you be interested in a CI contribution?

yes always happy for contributions

done: https://github.com/jake-stewart/jfind/pull/13

🥳 pushed liveGrep() to 1.0 branch. Make sure jfind is built and read readme for usage


Alias NumPy error classes

:+1: Let's expose other exception/warning classes as well.
>>> mod = numpy
>>> [x for x in [getattr(mod, x) for x in dir(mod)] if inspect.isclass(x) and issubclass(x, BaseException)]
[<class 'numpy.AxisError'>, <class 'numpy.ComplexWarning'>, <class 'numpy.ModuleDeprecationWarning'>, <class 'numpy.RankWarning'>, <class 'numpy.TooHardError'>, <class 'numpy.VisibleDeprecationWarning'>]

Is it OK to test cupy.AxisError is numpy.AxisError?  To reserve possible future changes like adding cusolver devinfo to cupy.linalg.LinAlgError, I suppose we don't promise more than issubclass(cupy.AxisError, numpy.AxisError).

To reserve possible future changes like adding cusolver devinfo to cupy.linalg.LinAlgError, I suppose we don't promise more than issubclass(cupy.AxisError, numpy.AxisError).

Good point! I agree only testing issubclass(cupy.AxisError, numpy.AxisError).

/test mini


Unable to retrieve available-ips

Trying to list all available IP's using this module is not working
if __name__ == "__main__":
    nb = pynetbox.api(URL, TOKEN)
    testing_this = nb.ipam.prefixes.available_ips.get(70)
    print testing_this

returns
Traceback (most recent call last):
  File "netboxtest.py", line 44, in <module>
    testing_this = nb.ipam.prefixes.available_ips.get(70)
AttributeError: 'Endpoint' object has no attribute 'available_ips'

whereas
testing_this = nb.ipam.prefixes.get(70)

Returns the expected subnet.

Yeah, unfortunately that's not going to work currently. The problem is that available-ips is something of an outlier to the rest of the endpoints in that it's hanging off prefixes instead of an app like ipam. Will be adding support for it in a future release so I'll leave this open as a reference.

Ah. Well, thanks for the fast response!


Move things to library

So far, moves gyroscopes, swerve, and subsystem switches to library. Currently broken, turning does not work properly for swerve

Turning fixed, turns out vision was interfering due to latency from multithreading undoing the last periodic's simulated gyro rotation. This is not a problem on the real robot since vision cannot physically rotate the robot.

Things to check on the robot (in order):

Is NavX direction correct?
Are CanCoder directions correct?
Do all motor types in the motor lib work?
Is "clockwise" consistent between motor types?
Are motor encoders the correct direction in relation to motor movement?
Inverting the motor should invert the encoder also
Does the intake still work?
Does the drive base still work?
Does the arm still work?

Why we want this branch because Mason asked this morning:

Allows the team to reuse drive base code between seasons and have a full drive base with PathPlanner working in about 10 minutes
Allows using the same subsystem code for different motor types (such as if we want to put NEO swerve on Nessie)
Makes it more clear what direction motors, gyroscopes, and encoders operate in since it uses the Angle library
Every motor, encoder, etc. has the same API and has reasonable units (unlike CTRE) regardless of device type or manufacturer

This makes programming training easier since people don't have to learn how each vendor library works individually

It is possible to swap out the hardware implementations for simulated equivalents, allowing for simulation to be fully decoupled from the robot code

We can use this for more physically accurate simulation (such as simulating the motors and PID in subsystems)
We could also use this to create a 3D simulation of the full robot, that can run the actual robot code

There's so much to review here, gimme a bit.

There's so much to review here, gimme a bit.

Part of it was the formatting bot, if you exclude those commits then you loose 17k lines.

Don’t merge this yet, I need to fix the formatting

Still need to verify CANCoder angle direction is correct using robot, then this can be merged

Need to double-check encoder and motor directions are being used properly in robot code, then this should be mergeable


galleria 403 on thumbs bucket

Evan, it looks like a similar 403 issue when using the galleria.
servePublic from:
...execute-api.us-east-1.amazonaws.com/Prod/
Inspecting the page shows this error:
...execute-api.us-east-1.amazonaws.com/api/thumb/AH512_512.jpg 403 ()
(fails on ...execute-api.us-east-1.amazonaws.com/Prod without the trailing / too)
Any suggestions? Both full and thumb buckets exist with the same file name(s) in them.
Kevin

Hey Kevin,
Thanks for the note!  Galleria only works with a custom domain name configured.  The fix is doing what I did for stu; properly accounting the base path.  I intend to make a similar fix here, but if you don't want to wait for me, I welcome your pull request.
Thanks!
-Evan :D


Issue while clicking element

HI, @truongsinh I am getting some error while executing the example(await driver.elementClick(buttonFinder);) script could you please guide me where is the error so that I can also try to contribute some keyword here.
https://gist.github.com/shibupanda/0691c26c738260da4b6b21e17d15ba10

I just fix this problem, which was about base64 encoding unsafe for URL, in latest version, 0.0.12.


Source code is oddly formatted

This is not a Flyway bug, but I noticed while browsing the source code that it is oddly formatted, with lots of extra white space inserted. Two examples out of many: Example 1, Example 2.
Is there any reason for this? It makes the code difficult to read.

This repository is being generated from our private master and doesn't contain the pro and enterprise edition code. Works as designed.


Feature: Widgeting toolset with Preact/Twind

I want to create an API for building "editor" widgets similar to Unity's. And would like to build that on top of Preact and TWind as I am enjoying those a lot while building the website for this project and I know they work fine with Deno.
I'll do that in a feature/widgets branch

I want to use react-three-fiber which will not work with Preact, sadly. So I think I may just go with React...


Menu Entry Swapper extra feautres

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always
frustrated when [...]
Currently doing lavas, I would like to one click teleport with my cape, and left click wear dueling rings, currently after a ring breaks I disable and reenable the plugin to get around it, but its quite annoying.
Describe the solution you'd like
A clear and concise description of what you want to happen.
The ability to have cape left click teleport separate to ring teleport. I.E Be able to left click teleport on crafting cape and still left click wear a dueling ring.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've
considered.
Additional context
Add any other context or screenshots about the feature request here.

Use shift click configure

We are not going to swap stuff in equipment window, and for rest use shift-click config.


Finishing the Doc

build the doc for the backend and csid login portion.

close since it's finished


Watcher does not apply blocks

After running watcher for a couple of hours it then stops to sync. It fails to apply one block.
The investigation showed that is is caused by the fact that submission of the block is missing.

This is caused by:
https://github.com/ethereum/go-ethereum/issues/18198

We should consider running separate geth instances for operator and watcher.

didn't manifest itself after some upgrades (new geth, changes to watcher etc.). No way to track more.
Note for self: see OMG-323 internally for details


Support Python 3.11

Please add Python 3.11 to the versions.

Thanks, I'll check it

I've updated the package to version 1.5.6, and added 3.11 there, please have a look


Problems reading jquery/jquery

Seems to be stuck on processing jquery/jquery. Been that way for more than a day.

It wasn't working because issues were disabled, but I just updated issuesstats to report on PR's even if issues are disabled. Jquery looks good now!
http://www.issuestats.com/github/jquery/jquery

Awesome, thanks!


get hold of editor view instance

Hello, and thanks for this super easy to use component, it really helps to get into codemirror 6 quickly!
I think it would be really helpful if the component could expose the editor view instance to the outside, so it can be used!
This could be done by adding a callback like onInit that is called with view after it's created here:
https://github.com/tbjgolden/react-codemirror6/blob/main/src/CodeMirrorLite/index.tsx#L91
I can also send a PR if you like.

Hey Felix! I've added an onViewChange prop that hopefully solves your problem!
https://github.com/tbjgolden/react-codemirror6/releases/tag/v1.1.0

Thank you so much, it works fine!


Error with gmail account

raise SMTPAuthenticationError(code, resp)
smtplib.SMTPAuthenticationError: (535, b'5.7.8 Username and Password not accepted. Learn more at\n5.7.8  https://support.google.com/mail/?p=BadCredentials r22sm816511wmh.2 - gsmtp')

My username and password are not incorrect, I'll provide you with more details!
Traceback (most recent call last):
File "C:\Users\Kafka\Desktop\send.py", line 2, in
client =<EMAIL_ADDRESS>'genericemail')
File "C:\Users\Kafka\AppData\Local\Programs\Python\Python36\lib\site-packages\shawk\Client.py", line 49, in init
self.setup_inbox(pwd, auto=self.auto_refresh_enabled)
File "C:\Users\Kafka\AppData\Local\Programs\Python\Python36\lib\site-packages\shawk\Client.py", line 171, in setup_inbox
self.enable_auto_refresh()
File "C:\Users\Kafka\AppData\Local\Programs\Python\Python36\lib\site-packages\shawk\Client.py", line 184, in enable_auto_refresh
self.auto_refresh()
File "C:\Users\Kafka\AppData\Local\Programs\Python\Python36\lib\site-packages\shawk\Client.py", line 196, in auto_refresh
self.refresh()
File "C:\Users\Kafka\AppData\Local\Programs\Python\Python36\lib\site-packages\shawk\Client.py", line 219, in refresh
obj['BODY'] = value.decode('utf-8')
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xea in position 725: invalid continuation byte

Thank You, Andrej

So full disclosure I haven't touched this code in about two years now, but this is what looks like is going on -
https://github.com/hawkins/Shawk/blob/master/shawk/Client.py#L275
# Convert messages to string format and simplify structure
        messages = []
        for uid in raw_msgs:
            obj = {}
            obj['UID'] = uid
            for key, value in raw_msgs[uid].items():
                try:
                    if key.decode('utf-8') == 'BODY[HEADER.FIELDS (FROM)]':
                        obj['FROM'] = email.utils.parseaddr(value.decode('utf-8'))[1]
                    else:
                        if key.decode('utf-8') == 'BODY[TEXT]':
                            obj['BODY'] = value.decode('utf-8') # <--- your error here
                        else:
                            obj[key.decode('utf-8')] = value.decode('utf-8')
                except AttributeError:
                    obj[key.decode('utf-8')] = value
            messages.append(obj)

It looks like we're trying to decode your email, but its body isn't UTF-8 encoded. I'm not familiar enough with typesets to know what values you might be sending to encounter this, though. Can you give me a sample text you tried to receive?

Regardless, that's definitely a different error from the first one you shared in this issue 🤔 did you get further this time around?

Thank you, I'll try this when I get home!
Strange I did not change the code at all, I'll have a look into that!
Thanks again,
Andrej Hatzi


CLI tool in examples

Use Case
My main usage of this project is with a small CLI tool I use to (primarily) create a Github repo which I can push to without leaving my IDE.
For example (within working directory):
git init
go-git-cli new example
git remote add origin https://github.com/FenwickElliott/example.git

Questions

Would the community liked this use case added to the examples directory?
For authorization I use a package that gets an OAuth2 token and saves it locally (in Application Storage). Is that acceptable or is there another method of authorization is should use?

@gmlewis I finally got around to writing this up. Would you mind glancing over it before I submit it as  a pull request?
https://github.com/FenwickElliott/go-github/blob/cli/example/newrepo/main.go
(getting the OAuth2 token involved too much tangental material so I am just importing it as a environment variable)
Thanks regardless

Thanks, @FenwickElliott!
I've looked it over and have a bunch of code-review comments, but can't make them with that link... overall, I think that this will be a good addition to have... so if you are willing to go through the process of a code review via a PR, then I'm happy to review it and get it into this repo after we've made some changes.
Thanks again!

@gmlewis,
Great, thank you. I would be very grateful for your review.
I'll submit the PR when I get back to my desk.
Thanks again,


[BUG] WalletConnect Not Working Correctly

Describe the bug
For some reason, WalletConnect is not working on a rather vanilla installation. Both Metamask and Coinbase wallet are working perfectly out of box.
The Wallet Connect modal pops behind the connectkit modal.
To reproduce
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Expected behavior
On the connectkit docs, the wallet connect shows a QR code and the user is able to connect.
Screenshots

Environment details
Brave / MacOS
Additional context
Here's a code sample:
const { provider, webSocketProvider, chains } = configureChains(
  [goerli],
  [
    alchemyProvider({
      apiKey: process.env.NEXT_PUBLIC_ALCHEMY_KEY as string,
    }),
  ]
);

const client = createClient({
  autoConnect: true,
  connectors: [
    new WalletConnectConnector({
      chains,
      options: {
        qrcode: true,
        projectId: "MY PROJECT ID",
      },
    }),
  ],
  provider,
  webSocketProvider,
});

export default function App({ Component, pageProps }: AppProps) {
  return (
    <WagmiConfig client={client}>
      <ConnectKitProvider><Component {...pageProps} /></ConnectKitProvider>
    </WagmiConfig>
  );
}

You'll need to switch qrcode: true to showQrModal: false, as qrcode is not a valid option in that version of wagmi, and you'll want to set this as false to stop that modal from auto-launching.
https://wagmi.sh/react/connectors/walletConnect#showqrmodal-optional
In saying that, although it is functional, we're still working on full support for WalletConnect's 2.0 connector. If you want a better experience you'll need to opt for the WalletConnectLegacyConnector for the time being until we have a 1.3.0 update which fully supports the latest connector.
You can read more here: https://wagmi.sh/react/connectors/walletConnectLegacy


Error message read: "Restarting Looker Web Application" "looker" instead of "Restarting inotifysync"

I think that was wrong...

closing in favor of commit 83d73b4


Inconsistent ion-segment behavior on windows phone

Note: for support questions, please use one of these channels:
https://forum.ionicframework.com/
http://ionicworldwide.herokuapp.com/
Short description of the problem:
On windows platform only, ion-segment is not styled as active if it is used outside of a toolbar element.
What behavior are you expecting?
Consistent behavior on windows where ion-segment buttons can be marked as active when used outside of a toolbar element.
Steps to reproduce:

Define an ion-segment outside of a toolbar element
Give the ion-segment buttons
Click the buttons on each platform, notice that on windows only the active style is not applied.

insert any relevant code between the above and below backticks

Other information: (e.g. stacktraces, related issues, suggestions how to fix, stackoverflow links, forum links, etc)
Which Ionic Version? 2.x
Run ionic info from terminal/cmd prompt: (paste output below)
Your system information:
Cordova CLI: 6.1.0 (cordova-lib@undefined)
Ionic Version: 2.0.0-beta.3
Ionic CLI Version: 2.0.0-beta.22
Ionic App Lib Version: 2.0.0-beta.12
OS:
Node Version: v4.4.1

Thanks so much for the issue and the PR! I'm going to take a look at this soon. :smile:

Fixed by https://github.com/driftyco/ionic/pull/5995 :+1:


Feature Responsive: Layout & style updates for responsive body text

This PR adds layout and style updates for making the body text a bit more responsive.
These changes can be previewed on my fork.  You can now slowly change the width of your browser and all portions of actual body content/text breakdown to accompany the changing width of the viewing area.
Notes:

This merely updates the main areas of the major content areas so that the content reflows according to browser width.
This does NOT take into account more special elements like you see on the homepage, grids, tables, nothing with the blog layout, images, back to top etc.  This is just a first small step to getting the content areas of general pages to reflow nicely.
Also included in this PR is an update to the footer file to remove an unnecessary blank line.  Figured I'd include in this PR since it was so minor.

Below are a few screen caps of how the responsiveness of the body text is looking at a few different breakpoints:
Desktop:

Tablet:

Small Mobile/Phone:

@shredtechular LGTM. Merging.


Warning on first Cilium install: Failed to restore existing identities from the previous ipcache.

On a GKE cluster, when first installing Cilium built from 7cfa82b1ddeb1fa2a690eeb52295791cfe1fc5b7.
level=warning msg="Failed to restore existing identities from the previous ipcache. This may cause policy interruptions during restart."  Also, shouldn't this be flagged by our tests? Did it first occur in a non-required GHA workflow?

Also, shouldn't this be flagged by our tests?

I don't think our tests fail on warnings.

Out of curiosity, why is this a release blocker?

I've run similar installs a bunch of times on stable branches and don't remember seeing this warning, so I believe it's a new regression in v1.15-dev. I could be wrong though.

My initial guess here is that this code doesn't consider the case where Cilium is freshly installed, and is reporting this case as an error when it is a normal condition. If that's the case, it should be a simple fix.
We should ideally be failing the tests on new warnings, we had a system like that in place on Ginkgo but I don't think we've put it back for the cilium-cli / github-based workflows.

cc @aojea

so the error comes because the file does not exist, should it exist?

@aojea If Cilium ran previously on this node, then this file should exist. If this is a fresh install, then there's no way for the file to exist.

so the error comes because the file does not exist, should it exist?

@aojea If Cilium ran previously on this node, then this file should exist. If this is a fresh install, then there's no way for the file to exist.

ok, now I understand your comment https://github.com/cilium/cilium/issues/29328#issuecomment-1843523228 :)

I was able to repro the issue using commit https://github.com/cilium/cilium/commit/7cfa82b1ddeb1fa2a690eeb52295791cfe1fc5b7 and the tip of main:
# Repro steps
$ git checkout 7cfa82b

$ git log --oneline
7cfa82b1dd (HEAD) bgpv1: fix merge race conflict on NewGoBGPServer
...

# Build cluster and Cilium images
$ make kind
$ make kind-image

# Install Cilium
$ helm install cilium ./cilium \
        --namespace kube-system \
        --set image.repository=localhost:5000/cilium/cilium-dev \
        --set image.tag=local \
        --set image.useDigest=false \
        --set image.pullPolicy=Never \
        --set operator.image.repository=localhost:5000/cilium/operator \
        --set operator.image.suffix="" \
        --set operator.image.tag=local \
        --set operator.image.useDigest=false \
        --set operator.image.pullPolicy=Never \
        --set ipam.mode=kubernetes \
        --set debug.enabled=true

# Wait for Cilium installation to complete
$ cilium status --wait

# Grep the logs of an agent for the warning message:
$ k logs po/cilium-5gwgq -n kube-system | grep "Failed to restore existing identities from the previous ipcache"
Defaulted container "cilium-agent" out of: cilium-agent, config (init), mount-cgroup (init), apply-sysctl-overwrites (init), mount-bpf-fs (init), clean-cilium-state (init), install-cni-binaries (init)
level=warning msg="Failed to restore existing identities from the previous ipcache. This may cause policy interruptions during restart." error="error dumping ipcache: loading pinned map /sys/fs/bpf/tc/globals/cilium_ipcache: no such file or directory" subsys=daemon

# Delete the cluster and follow the same repro steps using the tip of main:

$ git log --oneline
97d2589051 (HEAD -> main, origin/main, origin/HEAD, issue_29328) images: update cilium-{runtime,builder}

$ k logs po/cilium-6x8bk -n kube-system | grep "Failed to restore existing identities from the previous ipcache"
Defaulted container "cilium-agent" out of: cilium-agent, config (init), mount-cgroup (init), apply-sysctl-overwrites (init), mount-bpf-fs (init), clean-cilium-state (init), install-cni-binaries (init)
level=warning msg="Failed to restore existing identities from the previous ipcache. This may cause policy interruptions during restart." error="error dumping ipcache: loading pinned map /sys/fs/bpf/tc/globals/cilium_ipcache: no such file or directory" subsys=daemon

I will now work on fixing the issue.

The --restore config option defaults to true and enables restoring the agent's state from previous running instances. When this option is enabled, the agent will call restoreIPCache() to restore existing identities from the previous ipcache. The goal is to ensure that local identities get the same numeric assignment upon agent restart. As part of the ipcache restoration, the agent attempts to open the ipcache BPF map. On new installs, this file does not exist and the following error is returned:
level=warning msg="Failed to restore existing identities from the previous ipcache. This may cause policy interruptions during restart." error="error dumping ipcache: loading pinned map /sys/fs/bpf/tc/globals/cilium_ipcache: no such file or directory" subsys=daemon

Since the no such file or directory error is wrapped, restoreIPCache() surfaces the error instead of returning a nil error. https://github.com/cilium/cilium/pull/30220 updates restoreIPCache() to return a nil error if any error in err's tree matches no such file or directory and thus reports a nil error on new installs when the "cilium_ipcache" file does not exist.


Unable to get options from async/await

Version

Vue version: 3

I am trying to fetch options value with async/await. However, received the error message:

Below is how I use to fetch option:
<Multiselect
      :placeholder="placeholder"
      :options="getOptions()"
      mode="single"
      :canDeselect="canDeselect"
      @change="makeSelection"
      v-model="selected"
      :noOptionsText="noOptionsText"
      @close="closeSelection"
      :resolveOnLoad="false"
      :clearOnSelect="true"
      @select="$emit('update:modelValue', selected);"
      @clear="$emit('clear-selection')"
      ref="selectRef"
      :disabled="disabled"
    />

in setup:
  const getOptions = async () => {
    const namespacesList = await utils.listToLink(prop);
    console.log(namespacesList)
    return namespacesList;
  };

I am able to console.log the values, thus the async/awaits function did return a list

Please advice. Thanks

You should do :options="async function(query) { return await getOptions(query) }"

You should write:
:options="async function(query) { return await getOptions(query) }"

What is the purpose of query?

I think in your case query is not necessary, in my case query is the input value when I search inside Multiselect.

:options="getOptions" should do the trick. We need to reference the fetch method, not calling it.


If no format is given, only try to fetch single format else fail

Provides a solution to #318:

Fetch the first supported format matching the volume's providers unless the user specifies the volume format.
Try the selected format 6 times and fail.
On fail, inform the user of the exception, the autoselected format, and other available formats.

Also, adds a lookup dictionary for format shorthand (solves #386)

Examples are failing due to Allen institute (on main as well). Rerunning now but the PR is ready otherwise


Events not triggering callbacks

The events are not crashing the game anymore, but it seems like I can't make it to be triggering callback. Even in the repro project from the issue, there is no callback called on events.
 rive.play_state_machine(rive_url, "State Machine 1", {},
    function(self, message_id, message)
        pprint("Hit event", message_id, message)
    end)

But nothing in the Console:

Related (includes package with reproduction project):
https://github.com/defold/extension-rive/issues/89

Defold: 1.8.0-beta (1c78e3985d0cb3b257a9968713982d4a5137fb27)
Rive: 0.8.1268
Defold Rive-extension: main

Fixed it. The problem was that events were only triggered on event properties. If an event didn't have properties no callback was triggered.


[GCP] Using dojot with GCP load balancer

I'm submitting a ...

[ ] bug report
[x] feature request
[ ] support request

Do you want to request a feature or report a bug?
Feature.

What is the current behavior?
We are using dojot with GKE with Nginx as the load balancer in a separate VM.

What is the expected behavior?
We want to use the native GCP load balancer instead of Nginx.

Observed in devops board.


python312Packages.aiosteamist: 0.3.2 -> 1.0.0

Diff: https://github.com/bdraco/aiosteamist/compare/refs/tags/v0.3.2...v1.0.0
Changelog: https://github.com/bdraco/aiosteamist/releases/tag/v1.0.0
Description of changes

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] 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/)
24.11 Release Notes (or backporting 23.11 and 24.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.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 322249 run on x86_64-linux 1

5 packages built:

home-assistant-component-tests.steamist
python311Packages.aiosteamist
python311Packages.aiosteamist.dist
python312Packages.aiosteamist
python312Packages.aiosteamist.dist


Fix 0.2.0 release: include README.md that's missing from the package

Sorry to keep opening issues!
The new 0.2.0 release doesn't install, because it needs a README.md file rather than README.rst, as of https://github.com/pnpnpn/timeout-decorator/commit/9f302a455aaefd0b5397d4f9f5183f22af88b2f1, and that file isn't included in the package itself. This adds it to the package.
I think this is correct, but I'm not actually really that familiar with Python packaging, so I'm basically guessing. Looks likely though, to my eye.
In case it's useful, the actual error is:
(venv)vagrant@vagrant-ubuntu-trusty-64:/vagrant$ pip install timeout-decorator
Collecting timeout-decorator
  Using cached timeout-decorator-0.2.0.tar.gz
    Traceback (most recent call last):
      File "<string>", line 20, in <module>
      File "/tmp/pip-build-01qb3sk9/timeout-decorator/setup.py", line 24, in <module>
        long_description = open('README.md').read(),
    FileNotFoundError: [Errno 2] No such file or directory: 'README.md'
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

      File "<string>", line 20, in <module>

      File "/tmp/pip-build-01qb3sk9/timeout-decorator/setup.py", line 24, in <module>

        long_description = open('README.md').read(),

    FileNotFoundError: [Errno 2] No such file or directory: 'README.md'

    ----------------------------------------
    Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-01qb3sk9/timeout-decorator

Oops. You are right. Thanks!


Calling self.log fails with: 'LitClassifier' object has no attribute 'log'

🐛 Bug
Calling self.log(...) fails with torch.nn.modules.module.ModuleAttributeError: 'LitClassifier' object has no attribute 'log'
To Reproduce
$ python pl_examples/basic_examples/mnist.py
Downloading http://yann.lecun.com/exdb/mnist/train-images-idx3-ubyte.gz to MNIST/raw/train-images-idx3-ubyte.gz
 99%|████████████████████████████████████████████████████████████████████████████████▉ | 9789440/9912422 [00:01<00:00, 2487387.89it/s]Extracting MNIST/raw/train-images-idx3-ubyte.gz to MNIST/raw
Downloading http://yann.lecun.com/exdb/mnist/train-labels-idx1-ubyte.gz to MNIST/raw/train-labels-idx1-ubyte.gz
                                                                                Extracting MNIST/raw/train-labels-idx1-ubyte.gz to MNIST/raw                                 | 16384/28881 [00:00<00:00, 156850.09it/s]
Downloading http://yann.lecun.com/exdb/mnist/t10k-images-idx3-ubyte.gz to MNIST/raw/t10k-images-idx3-ubyte.gz
                                                                                Extracting MNIST/raw/t10k-images-idx3-ubyte.gz to MNIST/raw
Downloading http://yann.lecun.com/exdb/mnist/t10k-labels-idx1-ubyte.gz to MNIST/raw/t10k-labels-idx1-ubyte.gz:00<00:01, 491443.56it/s]
9920512it [00:03, 3030956.24it/s]
32768it [00:01, 22745.39it/s]
1654784it [00:01, 1581939.35it/s]
0it [00:00, ?it/s]                                                                                Extracting MNIST/raw/t10k-labels-idx1-ubyte.gz to MNIST/raw
Processing...
/home/jarno/miniconda3/envs/dev/lib/python3.7/site-packages/torchvision/datasets/mnist.py:469: UserWarning: The given NumPy array is not writeable, and PyTorch does not support non-writeable tensors. This means you can write to the underlying (supposedly non-writeable) NumPy array using the tensor. You may want to copy the array to protect its data or make it writeable before converting it to a tensor. This type of warning will be suppressed for the rest of this program. (Triggered internally at  /opt/conda/conda-bld/pytorch_1595629427478/work/torch/csrc/utils/tensor_numpy.cpp:141.)
  return torch.from_numpy(parsed.astype(m[2], copy=False)).view(*s)
Done!
GPU available: False, used: False
TPU available: False, using: 0 TPU cores
/home/jarno/miniconda3/envs/dev/lib/python3.7/site-packages/pytorch_lightning/utilities/distributed.py:37: UserWarning: Could not log computational graph since the `model.example_input_array` attribute is not set or `input_array` was not given
  warnings.warn(*args, **kwargs)

  | Name | Type   | Params
--------------------------------
0 | l1   | Linear | 100 K
1 | l2   | Linear | 1 K
/home/jarno/miniconda3/envs/dev/lib/python3.7/site-packages/pytorch_lightning/utilities/distributed.py:37: UserWarning: The dataloader, val dataloader 0, does not have many workers which may be a bottleneck. Consider increasing the value of the `num_workers` argument` (try 8 which is the number of cpus on this machine) in the `DataLoader` init to improve performance.
  warnings.warn(*args, **kwargs)
Validation sanity check: 0it [00:00, ?it/s]Traceback (most recent call last):
  File "pl_examples/basic_examples/mnist.py", line 112, in <module>
    cli_main()
  File "pl_examples/basic_examples/mnist.py", line 103, in cli_main
    trainer.fit(model, train_loader, val_loader)
  File "/home/jarno/miniconda3/envs/dev/lib/python3.7/site-packages/pytorch_lightning/trainer/states.py", line 48, in wrapped_fn
    result = fn(self, *args, **kwargs)
  File "/home/jarno/miniconda3/envs/dev/lib/python3.7/site-packages/pytorch_lightning/trainer/trainer.py", line 1084, in fit
    results = self.accelerator_backend.train(model)
  File "/home/jarno/miniconda3/envs/dev/lib/python3.7/site-packages/pytorch_lightning/accelerators/cpu_backend.py", line 39, in train
    results = self.trainer.run_pretrain_routine(model)
  File "/home/jarno/miniconda3/envs/dev/lib/python3.7/site-packages/pytorch_lightning/trainer/trainer.py", line 1224, in run_pretrain_routine
    self._run_sanity_check(ref_model, model)
  File "/home/jarno/miniconda3/envs/dev/lib/python3.7/site-packages/pytorch_lightning/trainer/trainer.py", line 1257, in _run_sanity_check
    eval_results = self._evaluate(model, self.val_dataloaders, max_batches, False)
  File "/home/jarno/miniconda3/envs/dev/lib/python3.7/site-packages/pytorch_lightning/trainer/evaluation_loop.py", line 333, in _evaluate
    output = self.evaluation_forward(model, batch, batch_idx, dataloader_idx, test_mode)
  File "/home/jarno/miniconda3/envs/dev/lib/python3.7/site-packages/pytorch_lightning/trainer/evaluation_loop.py", line 687, in evaluation_forward
    output = model.validation_step(*args)
  File "pl_examples/basic_examples/mnist.py", line 52, in validation_step
    self.log('valid_loss', loss)
  File "/home/jarno/miniconda3/envs/dev/lib/python3.7/site-packages/torch/nn/modules/module.py", line 772, in __getattr__
    type(self).__name__, name))
torch.nn.modules.module.ModuleAttributeError: 'LitClassifier' object has no attribute 'log'
8192it [00:00, 13214.65it/s]

Expected behavior
Running mnist.py should train MNIST classifier without errors.
Environment

CUDA:

GPU:
available:         False
version:           10.2

Packages:

numpy:             1.19.1
pyTorch_debug:     False
pyTorch_version:   1.6.0
pytorch-lightning: 0.9.0
tqdm:              4.50.0

System:

OS:                Linux
architecture:

64bit

processor:         x86_64
python:            3.7.9
version:           #46~18.04.1-Ubuntu SMP Fri Jul 10 07:21:24 UTC 2020

I tried downgrading pytorch to 1.5.1 but the error remains (though the exception class is now different, AttributeError):
...
  File "pl_examples/basic_examples/mnist.py", line 52, in validation_step
    self.log('valid_loss', loss)
  File "/home/jarno/miniconda3/envs/dev/lib/python3.7/site-packages/torch/nn/modules/module.py", line 594, in __getattr__
    type(self).__name__, name))
AttributeError: 'LitClassifier' object has no attribute 'log'

Please update to v0.10.0 (or master) as self.log is a newly feature introduced.

That worked, thanks for your help!
File under: race condition in documentation :sweat_smile:


Hide native browser clear button in "date" field

Currently if we have search form with input field of type "date", two clear buttons will appear (native, and dress-code), so we need to remove the native one
Current state:

Suggested solution:
:-webkit-clear-button {
  display: none;
}

@LeoAref Please feel free to submit a PR. Thx!


[Bug] Error with Empty NS in Resellerclub.php Adapter

Describe the bug
There is an issue in the adapter located at src/library/Registrar/Adapter/Resellerclub.php. When attempting to register a domain without configuring at least one hosting server and without selecting the option "I want to use my nameservers," the functions getNs1 and getNs2 return empty values. As a result, the registration API request to Resellerclub returns the following error:
css
Копировать код
API RESULT: {"status":"ERROR","message":"Required parameter missing: ns"}
Proposed Solution: To prevent this error, it is sufficient to add two additional fields to the adapter's configuration to specify the nameservers (NS) that will be used if the user does not provide their own.
Additionally, I propose a pull request (PR) with the necessary fixes.
How to reproduce
Setup FOSSBilling
Configure Resellerclub adapter
Try register domain name
Expected behavior
Domain name registered.
Screenshots
No response
FOSSBilling version
0.6.22
FOSSBilling instance ID
No response
Module version
No response
Device
No response
Information
No response
Additional context
No response

Fix
https://github.com/FOSSBilling/FOSSBilling/pull/2554

UPD.
Not a bug, it's already existing on the /admin/servicedomain page.


touch support added for speed and size palettes in game of life activity.

fixed #766

Nice work. Thanks.


[ChainHeadersBehavior] Use StartHeight of VersionPayload to initialize peer's pending tip

Is it a good idea or not? We don't have any hash, so we could only assume it is on the same chain. Would that harm?

Imho this is only reasonable for the console output to have that start header instead of "unknown" until we've updated the pendingTip

interesting idea, that's probably the best solution


Remove conditional checks surrounding required parameters since they are required and should always be present

As an example, in the following scenario the autosuggestData is a required parameter (as per documentation):
{% if params.autosuggestData is defined and params.autosuggestData %}data-autosuggest-data="{{ params.autosuggestData }}"{% endif %}

Instead this should just be:
data-autosuggest-data="{{ params.autosuggestData }}"

autosuggestData parameter is only required when not using the address index api.

Check other components for similar issues

I have explored all components for similar issues and created tickets for each instance to investigate further and rectify any issues; a total of 14 tickets have been created to this end.
The original instance cited and similar instances (i.e. where something is required unless provided elsewhere) need to retain their conditionals given that whilst the content is required the parameter itself is not.


Add onClose prop to disclosure state hook

Motivation
In our codebase, it's a very (very!) common occurrence to have something like the example below. I feel like it'd be nice to have a shorthand for this pattern by having useDisclosureState (and hooks that extend it) accept an onClose prop.
Usage example
Current:
const onClose = () => doCustomCloseStuff();
const disclosure = useDisclosureState({
  setOpen: (open) => {
    if (!open) onClose()
  }
});

Proposed:
const onClose = () => doCustomCloseStuff();
const disclosure = useDisclosureState({ onClose })

Requirements

Disclosure should call onClose whenever setOpen is called with false.
A custom setOpen can still be passed.

Workaround
It is possible to implement this in a userland abstraction, but it's messy since you'd need to introduce a new layer of controlled state if you want to support all cases.
Possible implementations
Possibly as simple as wrapping the "resolved" setOpen listener in a function that also calls onClose when open is false:
const setOpen = useCallback((value: boolean) => {
  if (!value) onClose();
  // simplified for the sake of example
  const resolvedSetOpen = inputSetOpen ?? internalSetOpen;
  return resolvedSetOpen(value);
}, [deps])

This would work in both controlled and uncontrolled situations too, which is great if you only wanna do something (e.g. clean up or reset some state) when a disclosure (or dialog, menu, etc) is closed.

Reopening the suggestion, awaiting more discussion/support.


Generate one backdrop per modal

When we open a modal thanks to the modal service, a modal is created in the DOM with it associated backdrop, which is really nice to emphasis that whatever outside of the modal container is not clickable.
But let's imagine that the first modal opens a second modal: the second modal appears directly on top of it, without any clear separation because we still have a single backdrop. See this video here that demonstrate it:
https://user-images.githubusercontent.com/14907937/128041107-5174f409-d983-4c30-9d57-6909f831e88f.mp4
To improve how the overlapping modals are displayed to the user, this PR changes the way the backdrop is handled, and proposes to create as many backdrops as there are modals. that way, there is a backdrop separation between the first and the second modal, making it clear that the only interactive modal is the one on top:
https://user-images.githubusercontent.com/14907937/128043049-f79cd416-9f75-488d-a217-7260f8ca5633.mp4
I am conscious of the fact that overlapping modals have to be avoided as much as possible, but sometimes you need it for things such as user approval for a sensitive action through MFA or similar: in that case you have to stop the current flow, wait for their approval and resume it.

Happy to see this implemented and I agree. There should never be stacked modals, but there is always the odd outlier and it needs to work properly.


Basic state in a next.js page

Hi all,
thanks for Next.js.
I've been building from the data fetch example, so no Redux here, just the basics.
I'd like to know how to handle state.
Example: I have a popup that should be hidden on page load.
When the user clicks a button, I'd like to toggle something, be it a prop or state, to show the popup.
Simple as it is, I haven't been able to find a good practice and will be very grateful for your help.
Thank you.

I'm still learning NextJS, but I don't think working with state requires any special consideration. I think you'd just build state into your component as usual, setting the initial state to { isPopupOpen: false }

Thanks @brandonmp.
I think you're right.
I was able to set stuff with Router.push but it seemed overkill.
So far I'm setting initialState in the constructor and changing with this.setState(...), and so far so good.
Closing the issue but I'm always open to any other suggestions.

@gusaiani Have an example?

@OKNoah -> https://reactjs.org/docs/state-and-lifecycle.html#adding-local-state-to-a-class
Handling state in Next.js is the same as any React component.


"RC" Testing for Capacitor Lab Basics 1.6.1

There is an upcoming large-scale data-driven study for Capacitor Lab Basics, details are in
https://github.com/phetsims/phet-io-wrappers/issues/49
and
https://github.com/phetsims/capacitor-lab-basics/issues/218
Dev testing already completed in #85
Since then, @jonathanolson reworked the model to include the identity of things in contact with the probes in https://github.com/phetsims/capacitor-lab-basics/issues/223 .  As he noted, the model as it pertains to the voltmeter/voltages/probe contacts has been rewritten and will need to be thoroughly tested (on one platform).
Another change that would be good to check (one platform) is https://github.com/phetsims/capacitor-lab-basics/issues/221
Also, since chipper 2.0 is relatively new and PhET-iO parts have not been thoroughly vetted, I recommend this "RC" test actually be done on a "production" version in order to match the operating characteristics of a production PhET-iO deploy which will be used for the study.  I published a version and the wrappers/index link as well as an embedded metacog recorder link are described in this comment: (don't use this link to test) https://github.com/phetsims/phet-io-wrappers/issues/49#issuecomment-360278323.  So to clarify, this is kind of like an "RC" test, but I recommend we test something built with grunt production.  Also, I did not publish the phet-branded version because that would have overwritten the one on the public PhET-brand website.  If this test goes OK, then I think we should do a spot check on a real RC, then publish to both the PhET website and PhET-iO website.
I am not publishing the URLs here because they are not password protected (they need to be open for consistency with the upcoming study).
You can use the latter link in https://github.com/phetsims/phet-io-wrappers/issues/49#issuecomment-360853289 for recording data to metacog at the fixed size iframe.  After doing some trial recordings from different platforms, notify me and I can request the data from metacog to make sure it came out correctly.
@ariel-phet can you please review all my notes above and comment on whether it seems sensible--I know this is an unconventional approach, but hopefully will only need to be done once or twice as we are moving forward with chipper 2.0.  Also please prioritize, schedule, delegate.

So, we should look into making a phet-branded RC (1.6.6-rc.1?) to look for a 1.6.6 phet-brand production deployment?

@jonathanolson that sounds correct to me.

@phet-steele, https://www.colorado.edu/physics/phet/dev/html/capacitor-lab-basics/1.6.6-rc.1/phet/capacitor-lab-basics_en_phet.html is ready for testing. Let me know if you want a fresh issue/etc.

is ready for testing. Let me know if you want a fresh issue/etc.

Yes please, for @ariel-phet's sake.

Okay....I made the testing issue in https://github.com/phetsims/QA/issues/94.


Add Water Tank Level Display for Swan 2 Heat Pump

Device type and model (or SN)
SWAN2<PHONE_NUMBER>04291
The detail description of new feature
When using the Swan 2 heat pump (Midea/Clivet), in addition to displaying the water temperature, it would be helpful to display the water tank level. Currently, the water tank level is measured in 4 levels, as shown in the attached screenshot.
This feature would enhance the user experience by providing a more complete view of the system’s status directly from the integration.
Proposed Enhancement:
•	Add functionality to retrieve and display the water tank level.
•	Use the 4-level measurement standard available in the device’s API or system.

@hexCut please edit  current issue OR pos new info.

description your device type, refer to README document.
provided your device SN, you can use discover to print it or any method.

in addition, I will provide a command line tool to display these info in next release. it still not available now.

add some debug code in this PR: https://github.com/midea-lan/midea-local/pull/345
you can manual change the midealocal python pip lib source code to test with it.
brief step:

login to HAOS
start homeassitant docker
replace file for midealocal python pip package in homeassitant core(use wget to download github PR raw file and replace it)
enable debug log for both midea_ac_lan and midealocal in configuration.yaml
reboot HA.

after your device works well(start about 3-5 minutes), try to upload full debug log file to current github issue and I will check the detail.
as this value only can be got from debug log now, we can confirm it later.
how to change it, below is the detail steps:

if you are using HAOS, you should install Add-on [Advanced SSH & Web Terminal] and disable [Protected Mode], once it done, you can ssh to your HAOS, and enter docker in HAOS docker exec -it homeassistant /bin/bash, contiune the step to check midea-local install path
if you not using HAOS, just check midea-local install path as the next step
3.get midea-local install path with command pip show midea-local, it will show info for you, for example, my location is Location: /usr/local/lib/python3.12/site-packages
then we can replace the file under /usr/local/lib/python3.12/site-packages/midealocal/devices/cd/ with the code changes, using vi command line tool or wget to download github raw file.
make sure you have enabled debug log in configuration.yaml
reboot HA and test with it, confirm with the result or debug log.

after device reboot 3-5 minutes, download full debug log to your PC and upload this log file to current github issue
I will continue improve it with the debug log output


[WIP] Remove SDN option from the stable API

Which issue this PR addresses:
Fixes
What this PR does / why we need it:
This is a near revert of #2241, which added selecting SDN as an option to the stable API
Test plan for issue:

Is there any documentation that needs to be updated for this PR?

@bennerv
Not looking at removing from the preview API right now, just removing from the stable API.
As for .go-e, these were generated by autorest. I just ran a make client.

@bennerv Not looking at removing from the preview API right now, just removing from the stable API.
As for .go-e, these were generated by autorest. I just ran a make client.

That's weird.  It should generate .go files.  You can't remove it from existing APIs though so any modifications to files non-2022-09-04 are not good.

The new go-e files were the only ones changing for the other API versions. I removed them from the commit.

/azp run e2e


aws cli missing in the m1 runners

There are a number of packages available in the x86_64 runner that are not in the Apple Silicon runner (the one I noticed missing was aws). Although it is documented which packages are available, would it be possible to get a hint on if these packages absence is transient or permanent? If it's permanent, we can change our CI config appropriately; if it's transient we can wait for them to be fully matched.
Originally posted by @shepmaster in https://github.com/actions/runner-images/issues/8439#issuecomment-1744051925

We aim to keep our images as lean and maintenance-friendly as possible, which is why we didn't include the AWS CLI tool in that specific image. It only takes a couple of seconds to install so you can easily include it when you need it. If you prefer to have it preinstalled, you can always set up custom self-hosted runners.
If you have any questions or need assistance with adding the AWS CLI tool to your workflow, feel free to ask

@vpolikarpov-akvelon why all the other runners have the aws-cli preinstalled?
Why should we pay for 30s for installing aws-cli in each workflow run in a premium priced runner when it is for free in all the others?

Hey @jozefizso. There are historical reasons for it. We already had AWS CLI installed on runners in the past, but we had no plans to install it on new runners. So it's not about paidness but about novelty.
Anyway, we decided recently to add AWS CLI to M1-based runner images: https://github.com/actions/runner-images/pull/8774. It will be included to the closest release.

Hey @jozefizso. There are historical reasons for it. We already had AWS CLI installed on runners in the past, but we had no plans to install it on new runners. So it's not about paidness but about novelty.
Anyway, we decided recently to add AWS CLI to M1-based runner images: #8774. It will be included to the closest release.

Thanks, we really appreciate the AWS will be preinstalled.