chore: release main

:robot: I have created a release beep boop
create-node: 1.0.3
1.0.3 (2024-03-31)
Bug Fixes

possible flaw fix inside package-jsonjs (0da602d)

create: 1.0.10
1.0.10 (2024-03-31)
Bug Fixes

possible flaw fix inside package-jsonjs (0da602d)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/templ-project/create/releases/tag/create-node-v1.0.3 :sunflower:

:robot: Release is at https://github.com/templ-project/create/releases/tag/create-v1.0.10 :sunflower:


ls with symbol link get failed

When I am in a symbolic linked directory, I want to ls with the parent of this directory as ls ../,It's ok as below, but when i want to see a directory of parent, it's get failed. the print as blow:

I was not able to reproduce this in latest version. Could you try with the latest version 0.19.0.

I cannot reproduce neither (0.19.0):
[user_abc] ~/temp/x
16.12.2020 @ 11:48:14  ❯ ls -l
drwxrwxr-x user_abc user_abc 4.0 KB Wed Dec 16 11:48:09 2020  data
lrwxrwxrwx user_abc user_abc   4 B  Wed Dec 16 11:44:39 2020  data_link ⇒ data

[user_abc] ~/temp/x
16.12.2020 @ 11:48:19  ❯ cd data_link/

[user_abc] ~/temp/x/data_link
16.12.2020 @ 11:48:28  ❯ ls -l ../
drwxrwxr-x user_abc user_abc 4.0 KB Wed Dec 16 11:48:09 2020  data
lrwxrwxrwx user_abc user_abc   4 B  Wed Dec 16 11:44:39 2020  data_link ⇒ data

[user_abc] ~/temp/x/data_link
16.12.2020 @ 11:48:36  ❯ ls -l ../data
.rw-rw-r-- user_abc user_abc 0 B Wed Dec 16 11:48:09 2020  xxx

[user_abc] ~/temp/x/data_link
16.12.2020 @ 11:48:40  ❯

There is a bug in version 0.16.0, and should be fixed after 0.17.0
https://github.com/Peltoche/lsd/issues/72

yeah, after i upgrade lsd from 0.17 to 0.18, it is ok now.


Cannot debug Python 3.7.9 conda env scripts after recent update

Can no longer "Run and Debug" Python 3 script after update to v2022.0.1786462952.   Clicking "Run and Debug" does not run selected file in debug mode, breakpoints are not honored.
"Select Interpreter" does not appear to honor changes to other Python 3 conda envs.
"Run and Debug" and "Select Interpreter" selection still works with Python 2.7.14.
Rolling back VS Code Python to v2021.12.1559732655 restores Python 3 functionality.
VS Code v1.64.0
Python 3.7.9 (ArcGIS Pro 2.7.0 - conda)
Python 2.7.14 32-bit (ArcGIS Desktop 10.6.1)

Thanks for the bug report, but unfortunately, we need some more information from you in order to triage this issue appropriately. Please follow instructions here to create a new bug with all the critical details we need for diagnosis.
can you also share how you created the environment.

@ftm610 When you create the new bug with details, please also add the launch.json configuration you are using.

Looks like already reported: https://github.com/microsoft/vscode-python/issues/18436


tvOS supported?

Hi,
Does this library support tvOS? If not, is it possible?

This is not something I have tried or tested. You're welcome to try it and report back with your findings.


Rewrite more

The more utility seems fairly incomplete. It does not use any modern terminal library like crossterm or termion Reading from standard input is also not implemented along with other flags that are present in the original  GNU more. This PR intends to rewrite more using crossterm, adding all the missing flags and making it as close to the original more as possible
There are few differences in the command line interface from the original more like not having the + and - symbols in the  -<number>, +<number> and +/<pattern> options from the original more. This is due to the non-standard  way of arguments in GNU more, which clap does not allow building

please let me know when it is ready but it is great to see such progress here :)

Sure. I would try to complete it ASAP

Thanks for telling me that. I would change it in further commits

I have rewrote the basic usable version of more. Although none of the CLI flags are actually implemented and I will address them in a future PR.
I think that this PR should be merged before I start working on the CLI part. I see there's a merge conflict which I will resolve probably by tomorrow and squash everything so that we could merge this

This PR is ready for merging. If you have any suggestions, you can comment it down here. I will address them in my next PR

Seems that a test is failing on Windows:

---- test_more::test_more_no_arg stdout ----
current_directory_resolved:
run: D:\a\coreutils\coreutils\target\i686-pc-windows-msvc\debug\coreutils.exe more
thread 'test_more::test_more_no_arg' panicked at 'Command was expected to fail.
stdout =

 stderr = ', tests\common\util.rs:155:13

failures:
    test_more::test_more_no_arg

I think, your issues are probably fixed in the last commit, you could review it again and report if anything goes wrong

Sorry but did you test your change?
Just running the tests is breaking my terminal
Try:
$ cargo test --release --features feat_os_unix
generate a long list of
                                                 test test_unexpand::unexpand_init_1 ... ok
           test test_unexpand::unexpand_init_list_0 ... ok
                                                          test test_unexpand::unexpand_init_list_1 ... ok
                         test test_unexpand::unexpand_read_from_two_file ... ok
                                                                               test test_unexpand::unexpand_read_from_file ... ok
                                                 test test_unexpand::unexpand_spaces_follow_tabs_1 ... ok

I fixed the issue with broken terminal. Could you recheck that.

Could you decrease the minimal version of crossterm, it fails to build with Rust 1.40 with:
error: attributes are not yet allowed on `if` expressions
   --> /home/sylvestre/.cargo/registry/src/github.com-1ecc6299db9ec823/crossterm-0.19.0/src/command.rs:123:9
    |
123 |         #[cfg(windows)]
    |         ^^^^^^^^^^^^^^^

error: aborting due to previous error

Sure. I will check that. This might take some time as I would probably have to go through a hit and trial process

To test
cargo +1.40.0 test --features unix

Besides that, it looks great :)

I have downgraded the minimum version of crossterm and everything compiles correctly with Rust 1.40.

This rewrite is awesome! Sadly, I'm getting some errors on my machine:
---- test_cp::test_cp_directory_not_recursive stdout ----
current_directory_resolved:
run: /home/terts/Programming/coreutils/target/debug/coreutils cp hello_dir/ copy_of_hello_world.txt
thread 'test_cp::test_cp_directory_not_recursive' panicked at 'assertion failed: self.stderr_str().contains(cmp.as_ref())', tests/common/util.rs:303:9

---- test_more::test_more_dir_arg stdout ----
current_directory_resolved:
run: /home/terts/Programming/coreutils/target/debug/coreutils more .
thread 'test_more::test_more_dir_arg' panicked at 'assertion failed: `(left == right)`
  left: `"thread \'main\' panicked at \'called `Result::unwrap()` on an `Err` value: IoError(Os { code: 25, kind: Other, message: \"Inappropriate ioctl for device\" })\', src/uu/more/src/more.rs:179:33\nnote: run with `RUST_BACKTRACE=1` environment variable to display a backtrace"`,
 right: `"more: \'.\' is a directory.\nTry \'more --help\' for more information."`', /home/terts/Programming/coreutils/tests/by-util/test_more.rs:21:9

These seem to be caused by a bug in crossterm that was fixed in version 0.18, exactly the version we can't use because Rust 1.40 does not allow attributes on if expressions. As far as I can tell, Rust 1.43 is the lowest Rust version that supports attributes on if (implemented by this PR).
Apart from this error, really nice job, it looks great when I use the recent versions of crossterm!
@sylvestre Do you think we could set the MSRV to 1.43 to use crossterm and attributes on if? Another driver is that 1.41 introduces the new Cargo.lock format (so no more cargo +1.40.0 update hopefully`)

I've fixed some things up and I think this can be merged now (if the CI is green).
There are a couple of remaining issues that should be dealt with in other PR's:

unicode width needs to be used instead of line.len()
there are many unimplemented arguments
the name of the next file should be shown in the prompt when the end of a file is reached

I'll create issues for these once this is merged.
@arijit79 This PR is amazing, thanks!


Call super equals explicitly

oops hang on this is broken

okay I'm gonna fix this and do a new PR


请问训练的时候，怎么训练？

训练的时候，三阶段怎么划分的？依旧三阶段？0-0.3第一个？0.3-0.6第二个？不同阶段的dit输出后上采样进下一个stage？
感谢

The $K$ time windows are simply divided with uniformly spaced endpoints, namely $e_k=1-\frac{k}{K}$. According to Equation (26) in the paper, these time windows are $[s_k,e_k]=\big[\frac{K-k-1}{K+k+1}, 1-\frac{k}{K}\big]$. For $K=3$, these time windows are $\big[0,\frac{1}{3}\big],\big[\frac{1}{5},\frac{2}{3}\big],\big[\frac{1}{2},1\big]$.
During inference, we upsampled and renoise the output from previous stage. During training, the loss directly computed by Equations (9-11).

.


install bcrypt with node 5.11.0 on linux

Here is my err:
[root@8 kingnoshop.com-api]# npm install<EMAIL_ADDRESS>
><EMAIL_ADDRESS>install /var/www/kingnoshop.com-api/node_modules/bcrypt
> node-gyp rebuild

make: Entering directory `/var/www/kingnoshop.com-api/node_modules/bcrypt/build'
  CXX(target) Release/obj.target/bcrypt_lib/src/blowfish.o
cc1plus: 错误：无法识别的命令行选项“-std=gnu++0x”
make: *** [Release/obj.target/bcrypt_lib/src/blowfish.o] 错误 1
make: Leaving directory `/var/www/kingnoshop.com-api/node_modules/bcrypt/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack     at emitTwo (events.js:100:13)
gyp ERR! stack     at ChildProcess.emit (events.js:185:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:204:12)
gyp ERR! System Linux 2.6.18-371.el5xen
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /var/www/kingnoshop.com-api/node_modules/bcrypt
gyp ERR! node -v v5.11.0
gyp ERR! node-gyp -v v3.3.1
gyp ERR! not ok
<EMAIL_ADDRESS>/var/www/kingnoshop.com-api
├──<EMAIL_ADDRESS>└──<EMAIL_ADDRESS>extraneous

npm WARN optional Skipping failed optional dependency /chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture<EMAIL_ADDRESS>npm ERR! Linux 2.6.18-371.el5xen
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install"<EMAIL_ADDRESS>npm ERR! node v5.11.0
npm ERR! npm  v3.8.6
npm ERR! code ELIFECYCLE

npm ERR<EMAIL_ADDRESS>install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the bcrypt package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs bcrypt
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls bcrypt
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /var/www/kingnoshop.com-api/npm-debug.log

Help me, I am waitting, thks a lot.

@defunctzombie You just close this without any words? Can you just advise me what I should do?

Search through previous issues and follow up with folks that have encountered similar problem.


it always return no limit_orders when invoke mktret.accountopenorders(account=account)

in bitshares 0.1.19 version, it always return no keys  limit_orders when invoke mktret.accountopenorders(account=account). The code is as followings.
`from bitshares import BitShares
from bitshares.market import Market
from bitshares.account import Account
account = "zhongyutest27"
bts_ins = BitShares()
mktret = Market("USD:BTS", blockchain_instance=bts_ins)
try:
ret = mktret.accountopenorders(account=account)
except Exception as e:
account = Account(account, full=True, blockchain_instance=bts_ins)
account.refresh()
ret = mktret.accountopenorders(account=account)
print(ret)`

when I add a breakpoint in line 333, I can get the limit_orders data, otherwise can't, I still don't know the root cause is. The return data of account has a big difference in both ways.
I can confirm that I mentioned above is really a problem due to self.cache() of BlockchainObject. pls help to take a look.

I have key error: account["limit_orders"]
When I print account in my log screen , I do not see a key "limit_orders".
Only print(account.openorders) does give an overview of my orders..
Is this code at line 336 still correct??

In Accounts(), you can have keywords "full=True" and "full=False".
For limit orders, you need full=True, otherwise the library wouldn't know.
Due to caching it may be that the account is not fetched properly.
This can be ensured however by using account.ensure_full() which should happen in accountopenorders() but doesn't.


On the votes tab, add a column in both tables for attestation rate.

https://github.com/ledgerleapllc/devxdao-backend/issues/37

https://github.com/ledgerleapllc/devxdao-frontend/pull/48


remote cracking for hashes with hashcat like autoresp does

Would it be possible to have icebreaker send hashes to be cracked on a remote server over ssh as opposed to locally by JTR?

Yes it would. That's gonna take a pretty solid amount of effort to implement so I won't put a timetable on it but I'll try to implement this at some point in the near future.


validate saved barcode is same as scanned barcode

Summary
#835
Changelog
[General] [Add] - Validating barcode from save response
Test Plan
Login
Scan barcode
Submit without error

Covered under #919 as we move to web scanner integration.


Clean should run also on apk

This makes sure the NDK clean mojo also runs for APK projects (which may contain native code too).

Makes sense to pull back on the one hand.. but on the other hand it makes it harder to use. I guess we could pull both in to run always but then the NDK needs to be installed I think.. and that would be not good for most devs and add more headache... so maybe we should update the samples and kill this pull request..

so... are we closing this request without applying it?

Yes - think we agree - we're closing it.


fix: add above and below CheckoutTopHat title

Resolves: None
Impact: minor
Type: fix
Small fix to add spacing above and below checkout top hat.

🚀 Preview deployed
Built with commit ea3207781c92a54e5702b73c5d73ca96ca55f438
https://deploy-preview-178--stoic-hodgkin-c0179e.netlify.com

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


OpenAI whisper model sparsed

Describe the solution you'd like
Would like to understand if the Whisper model, which currently is part of the Transformer library of Hugging Phase, is part of your roadmap, and if so, when are you planning to have it as part of the sparse models.
Thanks.

Hi @manuelsh
Thank you for your inquiry on Whisper. It is on our longer-term roadmap. While we don't have a timetable at this time, I encourage you to join our Community Slack if not already and share a general use. It will help support awareness and real-life application for these types of model requests!
Regards,
Jeannie @ Neural Magic


[feature] sync issues labeled jira

Description

Please include a summary of the changes and the related issue. Please also include relevant motivation and context. List any dependencies that are required for this change.
What type of PR is this? (check all applicable)

[x] 🍕 Feature
[ ] 🐛 Bug Fix
[ ] 📝 Documentation Update
[ ] 🎨 Style
[ ] 🧑💻 Code Refactor
[ ] 🔥 Performance Improvements
[ ] ✅ Test
[ ] 🤖 Build
[ ] 🔁 CI
[x] 📦 Chore (Release)
[ ] ⏩ Revert

Related Tickets & Documents

Related Issue # (issue)
Closes # (issue)
Fixes # (issue)

Remove if not applicable

Added tests?

[ ] 👍 yes
[ ] 🙅 no, because they aren't needed
[ ] 🙋 no, because I need help
[ ] Separate ticket for tests # (issue/pr)

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Added to documentation?

[ ] 📜 README.md
[ ] 🤝 Documentation pages updated
[ ] 🙅 no documentation needed
[ ] (if applicable) generated OpenAPI docs for CRD changes

Checklist

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes

Reminder to self: Create secrets in GH


util file is missing

Hi @JarvisUSTC ! Thank you for the code, but it seems util.py file was not uploaded

i also same problem util folder was not uploaded

Hi, I have the same issue, did anybody resolve it by now?
Thanks!


update mmdetection, run x101 model,TypeError

today , I upadate my mmdetection , but when i run x101,  TypeError: init() got multiple values for argument 'groups'.
why? i don't meet this question before,and when use old version(about one month ago), this question will not appear

change mmdet/models/backbones/resnext.py 14 lines    def init(self, groups=1, base_width=4, *args, **kwargs):
to
def init(self,  *args,groups=1, base_width=4, **kwargs):

I had this problem today too. I think issue should be reopened.

Thanks for reporting! This bug was introduced in #730, and should be fixed in #780.

Thanks @hellock !


MQTT subscribed topics not working

Hardware
ESP32
Firmware version
v2.4.4
Application version
v2.4.4
What happened? What did you expect to happen?
Hi,
first of all a big "THANK YOU" for the work you have put in that project.
I´ve built my own box now and it works like a charm from the WebGUI.
The published topics also arrive in my MQTT broker instance (iobroker) without problems.
I´ve manually created the following two additional states (read/write) from the subscribed topics in my MQTT broker:

[root topic]/shades/[shadeId]/direction/set
[root topic]/shades/[shadeId]/target/set

Reference: [https://github.com/rstrouse/ESPSomfy-RTS/wiki/Integrations#root-topicshadesshadeiddirectionset]
I have replaced [root topic] with "somfy" and [shadeId] with the respective object/number of course.
Here comes an example of the state definition (JSON format):
{   "common": {     "name": "somfy/shades/7/target/set",     "desc": "Manuell erzeugt",     "role": "state",     "type": "number",     "read": true,     "write": true,     "def": 0   },   "native": {     "topic": "somfy/shades/7/target/set"   },   "type": "state",   "_id": "mqtt.0.somfy.shades.7.targetSet",   "acl": {     "object": 1636,     "state": 1636,     "owner": "system.user.admin",     "ownerGroup": "system.group.administrator"   },   "from": "system.adapter.admin.0",   "user": "system.user.admin",   "ts":<PHONE_NUMBER>490 }
However setting the applicable values on those states (-1/0/+1 or 0-100) does not trigger movement of the shades.
It might not be a bug but just a "newbie" problem in MQTT configuration, so please bear with me.
Any advice how to fix this / what I´m doing wrong would be very much appreciated.
Regards /// Marc
How to reproduce it (step by step)
1. Go to...
2. Click on...
...

Logs
No response

I don't use ioBroker but I suspect that you should not need to set up a state variable for this.  The set portion of the MQTT topic is publish only for the MQTT client.  You should not need to subscribe to the set topics and only subscribe to the state topics.
Reading the ioBroker docs I assume that the command should look something like the following to set the the shade at id 7 to 100%.
adapter.sendTo('mqtt.0', 'sendMessage2Client', { topic: 'somfy/shades/7/target/set', message: '100', retain: false });
I have verified with MQTT explorer that the functionality is working as advertised.

@Nonixnarrez did you get your issues resolved?

Yes, I sorted it out with "sendTo" commands instead of additional states.
Thanks a lot for your advice! Issue#400 can be closed.
rstrouse @.***> schrieb am Do., 20. Juni 2024, 01:57:

@Nonixnarrez https://github.com/Nonixnarrez did you get your issues
resolved?
—
Reply to this email directly, view it on GitHub
https://github.com/rstrouse/ESPSomfy-RTS/issues/400#issuecomment-2179588081,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATBMOVJBOORZZOKVJ6CYTODZIILH5AVCNFSM6AAAAABJMVICAKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNZZGU4DQMBYGE
.
You are receiving this because you were mentioned.Message ID:
@.***>


ng build does not merge translations for interpolated strings

🐞 Bug report
Command (mark with an x)

[ ] new
[x] build
[ ] serve
[ ] test
[ ] e2e
[ ] generate
[ ] add
[ ] update
[ ] lint
[ ] xi18n
[ ] run
[ ] config
[ ] help
[ ] version
[ ] doc

Is this a regression?
Yes. Translations for interpolated strings are not used any more.
Description
If I have a string that uses string interpolation ng build does not use the translations when building the application.
I will get a warning
No translation found for "8370306245983482136" ("Hello {$INTERPOLATION}!").
The id in the warning is something that does not exist in the extracted XLIFF file. It seems that ng build calculates the id in a different way than xi18n.
🔬 Minimal Reproduction
Use any interpolation. For example
<p i18n>Hello {{name}}!</p>
🌍 Your Environment

Angular CLI: 9.0.0-rc.7
Node: 12.2.0
OS: win32 x64

Please check what versions of Angular  compiler and compiler-cli are. They need to match.

They are both 9.0.0-rc.7
"@angular/compiler": "~9.0.0-rc.7",
"@angular/compiler-cli": "~9.0.0-rc.7",

I made an experiment. I manually changed the id in the translated XLIFF to match the one the ng build marked "Not translation found" and now it worked.

It was the @angular/localize version that was mismatching.
"@angular/localize": "^9.0.0-rc.0",
changed to
"@angular/localize": "^9.0.0-rc.7",
Now translations work!

Since it appears you were able to get this sorted, I'm going to close the issue.  If you still run into any problems, please re-open.


jsdelivr rollup error on non-root exports

Tracking https://github.com/jsdelivr/jsdelivr/issues/18551

Fixed due to refreshing cached http asset.


Bing Maps With Angular in a Spring Boot Application

Article checklist
ATTENTION: In your PR - add the ISSUE (topic form) # that this PR corresponds to. You can do this by also adding a comment that states "This fixes #(enter your Idea Content Form #)" to link and close your Idea Content (issue) when the PR is merged.
NOTE: (Please ensure that you have only one open issue + linked pull request at a time. This will ensure that we complete the article in a timely manner from inception to publishing.)
If you have not already please go over our Resources Page for more tips and tricks on how to improve our overall technical writing.
Preliminary Checks - Formatting and Structure

[x] Does your article follow any of the suggested structure formats? - see example formats
[x] Is your article properly formatted in Markdown? - see Github Markdown guide
[x] Have you used the correct folder and file structure? - see Contribution Guidelines
[x] Is your article over 750 words? - Tool: Wordcounter.net
[x] Have you used our preferred heading structure? - H3 (###) and up
[x] Does your article provide enough value and detail about your topic? - Articles should be clear, accurate, and fully explained.
[x] Can your article be understood by beginners? - Assume the audience is smart but has no prior exposure to the common terminology in your article.
[x] Have you included a hero image that is 600x400 pixels and have the copyright to use it? - Tools: Pixlr Image Editor for resizing and Unsplash for Creative Commons images
[x] In your PR - add a comment that states "This fixes #(enter your Idea Content Form #)" to link and close your Idea Content (issue) when the PR is merged.

Grammar & plagiarism checks

[x] Have you spellchecked and grammar checked your article? - Tools: Write&Improve - ProWritingAid -  Grammarly
[x] Please place your article through a 3rd party plagiarism checker? We suggest using Quetext, this tool is free and has a daily limit. We typically accept articles with 10% or less.
[x] Have you checked your article for readability? - Tool: Hemmingway
[x] Have you added sources for quotes and images that aren't yours?

Technical checks

[x] Are your code snippets properly formatted for syntax highlighting - see Syntax guide

Contribution guidelines
For first-time contributors and for more details, see Contributing Guidelines
This fixes #2482

@owinowendy
Good afternoon and thank you for submitting your article for publishing.
Your article has been entered into our queue and should be reviewed (and published pending any changes) as soon as a peer reviewer is finished with the ones in the queue before it. 🚀
Thank you.

plagiarism check done

Hi @kayere, what's the status of this article?

Hi @owinowendy
Great work here and keep it up :rocket:
Just check the minor edits for future articles.
cc: @kayere


Lots of postMessage in not a function error in mobile Safari

Hi,
I've started to show dpf in my web a few days ago using react-dfp and I'm seeing a bunch of postMessage in not a function error in my logs. All error appears to be coming from the adsense script and almost all of them comes from mobile Safari, so I don't think is a react-dfp issue, but maybe someone around here can know why are this error happening or if there is something I can do to prevent them from happening.
Thanks for this amazing module by the way!

@coluccini i know this ticket is a little old, were u able to answer your question? given that it does not seem to bug i'm closing it out, feel free to reopen if it's giving u issues. thanks


i18n cookie gets ignored

Version
nuxt-i18n: 6.27.3
nuxt: 2.15.7
Nuxt configuration
mode:

[x] target: 'server'
[x] ssr: false
[x] ssr: true

tested both, ssr true and false.
Nuxt-i18n configuration
i18n: {
    defaultLocale: 'de',
    seo: false,
    langDir: 'lang/',
    strategy: 'prefix',
    detectBrowserLanguage: {
      useCookie: true,
      cookieKey: 'language',
      onlyOnNoPrefix: true,
    },
    locales: [
      {
        code: 'de',
        iso: 'de-DE',
        name: 'Deutsch',
        file: 'de.js',
      },
      {
        code: 'en',
        iso: 'en-US',
        name: 'Englisch',
        file: 'en.js',
      },
    ],
  },

Reproduction Link
App: https://i18n-test-novu.vercel.app
Repo: https://github.com/teamnovu/i18n-test
Steps to reproduce

Set accept-language: de
Visit: https://i18n-test-novu.vercel.app
You should be on https://i18n-test-novu.vercel.app/de
Click on the English link
You should be on https://i18n-test-novu.vercel.app/en
You should have a language cookie with the value en
Remove /en from the url
You'll be back on https://i18n-test-novu.vercel.app/de (cookie ignored)

What is Expected?
You should be on https://i18n-test-novu.vercel.app/en at the end.
What is actually happening?

After e long debugging time, I'm pretty sure the issue is here plugin.main.js#L395-L400.
I think line 399 should run if 397 returns an empty string, similar to plugin.main.js#L403-L405.
That fixes the issue, but I'm not sure if that's the way to go: https://github.com/nuxt-community/i18n-module/compare/master...teamnovu:fix/cookie-redirect?expand=1

I'd have to have a closer look but you could submit a PR and check which tests break (if any) and if for valid reason.

Hello,
I can't reproduce, everything works fine for me?
Thanks!

Hi @divine You configured your browser with accept-language: de? All of our team have that problem 🤔
What language do you see, if you visit https://i18n-test-novu.vercel.app/ ?

Hi @divine Thanks for your test! Did you configure your browser with accept-language: de? All of our team have that problem, it seems weird that you can't reproduce it 🤔
What language do you see, if you visit https://i18n-test-novu.vercel.app/ ?

Hi @strebl,
I've changed the cookie via EditThisCookie and when visiting your site it shows:
Hallo
de

However, your deployment at Vercel target is static, not server.
Thanks!

now switch to english and you should see that the cookie updates, right?
after that, visit https://i18n-test-novu.vercel.app/ again. what do you see now? If the problem occurs, you should see Hallo de again instead of Hello en.
You're right. I didn't deploy the test repo with SSR, I fixed that now. SSR is now enabled. However the issue is still there.

Hi @divine
After you've done that, switch to english and you should see that the cookie updates, right?
after that, visit https://i18n-test-novu.vercel.app/ again. what do you see now? If the problem occurs, you should see Hallo de again instead of Hello en.
You're right. I didn't deploy the test repo with SSR, I fixed that now. SSR is now enabled. However the issue is still there.

Hi @strebl,
I see the issue now, it's indeed redirecting me to /de even though my cookie is set to en
Thanks!

Hi @divine,
Ah, I'm happy you can reproduce the issue now! You can take a look at #1235, maybe that's all it needs. At least that fixed the issue for us on our project.


feat/Reduce size of case data (Step 1)

Please check if the PR fulfills these requirements

[x] The commit message follows our guidelines
[x] i18n translation has been added / updated (for bug fixes / features)

What kind of change does this PR introduce?
Reduces size of case data (slightly) by removing the need for status_en and status_zh columns; they have not been erased from the database, but they will not be sent to every user anymore.
Targeted at #185

Does this PR introduce a breaking change?
The end goal is to remove all _en and _zh columns from the case database; this has not been done yet, but minor changes in the application will be expected to accomplish this.

closing non-active PR


(chore):Fix2.1.5

Summary

Fix for possible problem loading file from static variable initializer.

The "why", or other context.
Test plan
Issues

build-e2e

Pull Request Test Coverage Report for Build 789

6 of 6 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.008%) to 89.253%

Totals

Change from base Build 643:
0.008%

Covered Lines:
2342

Relevant Lines:
2624

💛  - Coveralls


Currencies Not Supported

If you bind the Arc Knob, Linear Gauge, Linear Slider or Radial Knob to a currency field, the currency symbol does not appear. It does appear for the Number Input controls.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 4fe867e5-ead8-7b66-c518-9bf508db2e9f
Version Independent ID: 7e095668-38b3-45b8-159e-0088730762a5
Content: Additional controls for Dynamics 365 for phones and tablets
Content Source: ce/customerengagement/on-premises/customize/additional-controls-for-dynamics-365-for-phones-and-tablets.md
Service: crm-online
GitHub Login: @Mattp123
Microsoft Alias: matp

@donalmc - Thanks for your feedback. We are closing this issue because we are either unable to find relevant information or reproduce this. If you're still experiencing the issue described here, please reopen or create a new issue.


Set title for each language does not show in the interface buttons

languages: [
        {id: 'en', title: 'English (Default)'},
        {id: 'fr', title: 'French'},
        {id: 'de', title: 'German'},
        {id: 'it', title: 'Italian'},
      ],

Currently the buttons to create language items in an internationalized array UI show the ID, not the language title. Such as:

What I'd expect is the language titles (friendly name) to show. such as:

English (default)
Italian
German
French

Can I suggest at least a Sanity UI Tooltip or browser native tooltip on title attribute, showing full title?


[usbdev] usbdev_enable_vseq

Adds the sequence usbdev_enable_vseq, which serves as a test for the functionality of the USB device control register field 'enable.' Enabling this field activates the USB device, initiating communication with the device responding with a DP_PULLUP signal. After setting this bit, transmitted a packet, and the device successfully received and responded with an ACK handshake packet.

@jdonjdon kindly review this PR

@jdonjdon

@jdonjdon , can you please share log . why smoke is failing.


Request for new release

Hi.
Can you please release the fix https://github.com/jazzband/django-two-factor-auth/pull/648. Currently 1.15.4 is unusable from a fresh install. I confirmed that latest master fixes the issue. Downgrading has even more issues with migrations so I would like to avoid that 🙃
Thanks

@claudep just a ping, in case you have time to do it

Sorry for this taking too long :disappointed:
@jpaniagualaconich, I was not able to find time for reviewing your remaining patches. What do you think about making a release now, and continue integrating your work later?

@claudep yes I think it will be a good thing for everyone. We can always follow up with point releases that include the rest.

Two PRs to review/approve: #668 and #669

1.15.5 was just released.

Thank you for your time


assertEquals produces unhelpful diff for large values

The assertEquals function generally produces a useful diff. But if the size of the objects that are being compared is too large, it produces an output that doesn't say anything useful about the assertion failure.
Example test:
test("assertEquals on long lists") {
  val a = (1 to 158).toList
  val b = (1 to 158).toList ++ List(159)
  assertEquals(a, b)
}

output:
=> Diff (- obtained, + expected)
   ...,
+  ...,
   ...

I was able to override the limit in the following way:
package example

import munit.{FunSuite, Printer}
import munit.internal.console.Printers

class FunTest extends FunSuite {
  def longPrinter = new Printer {
    def print(value: Any, out: StringBuilder, indent: Int): Boolean = false
    override def height = 200
  }
  override def munitPrint(clue: => Any): String = {
    clue match {
      case message: String => message
      case value           => Printers.print(value, longPrinter)
    }
  }
  test("assertEquals on long lists") {
    val a = (1 to 158).toList
    val b = (1 to 158).toList ++ List(159)
    assertEquals(a, b)
  }
}

Probably wouldn't hurt to add documentation around this.

#640 has probably solved this issue and it can be closed

The mentioned PR got merged before M8


To_fp16()

There is one callback describe here : https://docs.fast.ai/callback.fp16.html
Details here : https://docs.fast.ai/callback.fp16.html#Learner.to_fp16
It allow to use less GPU when training a CNN.
The book describe the use of the method when creating the learner, but it can also be used on the learner directly.
Running it in R however create a bug, and I don't see how to use it.
Precisely :
learnR <- dataloader %>% cnn_learner(xresnet50(), metrics = accuracy,  model_dir="fastai_model/") #prettier
learnR$to_fp16()

Then running :
learnR %>% lr_find()

Error in py_call_impl(callable, dots$args, dots$keywords) : AttributeError: 'str' object has no attribute 'type'`

Because now the learner is a string.

Hi.
This works for me:
library(fastai)
library(magrittr)

URLs_PETS()

path = 'oxford-iiit-pet'
path_anno = 'oxford-iiit-pet/annotations'
path_img = 'oxford-iiit-pet/images'
fnames = get_image_files(path_img)

item_tfms = list(Flip(), Dihedral(),Zoom_())

dls = ImageDataLoaders_from_name_re(
  path, fnames, pat='(.+)_\\d+.jpg$',
  item_tfms=Resize(300), bs = 10,
  batch_tfms=list(aug_transforms(size = 224, min_scale = 0.75,max_rotate = 180,
                                 max_zoom = 10, max_lighting = 0.9,max_warp = 0.8,
                                 flip_vert = TRUE),
                  Normalize_from_stats( imagenet_stats() )
  )
)

learn = cnn_learner(dls, xresnet50(), metrics = list(error_rate, accuracy),model_dir="fastai_model/")
learn$to_fp16()

@henry090 that is odd.
I got it to works. Below to full code from rmarkdown that created the bug :
path_img = 'cassava-leaf-disease-classification/train_images/'

#library(data.table)

labels<-read_csv('cassava-leaf-disease-classification//train.csv')
head(labels)

dataloader <- fastai::ImageDataLoaders_from_df(df=labels, path=path_img, bs=8, seed=6, device = 'cuda',
                                               num_workers=0,
                                               item_tfms = Resize(448),
                                               batch_tfms = aug_transforms(size=224, min_scale=0.75))

num_workers=0 is mandatory to not have the error "RuntimeError: DataLoader worker (pid(s) 482) exited unexpectedly".
dataloader %>% show_batch()

learnR <- dataloader %>% cnn_learner(xresnet50(), metrics = accuracy,  model_dir="fastai_model/") #prettier

To save computation power :
learnR$to_fp16()

learnR$freeze()

learnR %>% lr_find()

learnR %>% plot_lr_find(dpi = 200)

Here what was creating the bug :
device = 'cuda',  inside the call to create dataloader.
Removing it make the code works as intended.

Could you share session info as well, please?

@henry090 here it is :

R version 4.0.2 (2020-06-22)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 20.10
Matrix products: default
BLAS:   /usr/lib/x86_64-linux-gnu/blas/libblas.so.3.9.0
LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.9.0
locale:
[1] LC_CTYPE=fr_FR.UTF-8       LC_NUMERIC=C               LC_TIME=fr_FR.UTF-8        LC_COLLATE=fr_FR.UTF-8
[5] LC_MONETARY=fr_FR.UTF-8    LC_MESSAGES=fr_FR.UTF-8    LC_PAPER=fr_FR.UTF-8       LC_NAME=C
[9] LC_ADDRESS=C               LC_TELEPHONE=C             LC_MEASUREMENT=fr_FR.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base
other attached packages:
[1] fastai_2.0.3    forcats_0.5.0   stringr_1.4.0   dplyr_1.0.2     purrr_0.3.4     readr_1.4.0     tidyr_1.1.2
[8] tibble_3.0.4    ggplot2_3.3.2   tidyverse_1.3.0
loaded via a namespace (and not attached):
[1] httr_1.4.2           pkgload_1.1.0        jsonlite_1.7.2       modelr_0.1.8         assertthat_0.2.1     cellranger_1.1.0
[7] yaml_2.2.1           remotes_2.2.0        sessioninfo_1.1.1    pillar_1.4.7         backports_1.2.1      lattice_0.20-41
[13] glue_1.4.2           reticulate_1.18-9000 digest_0.6.27        rvest_0.3.6          colorspace_2.0-0     htmltools_0.5.0
[19] Matrix_1.2-18        pkgconfig_2.0.3      devtools_2.3.2       broom_0.7.2          haven_2.3.1          scales_1.1.1
[25] processx_3.4.5       generics_0.1.0       usethis_2.0.0        ellipsis_0.3.1       withr_2.3.0          cli_2.2.0
[31] magrittr_2.0.1       crayon_1.3.4         readxl_1.3.1         memoise_1.1.0        evaluate_0.14        ps_1.5.0
[37] fs_1.5.0             fansi_0.4.1          xml2_1.3.2           pkgbuild_1.1.0       tools_4.0.2          prettyunits_1.1.1
[43] hms_0.5.3            lifecycle_0.2.0      munsell_0.5.0        reprex_0.3.0         callr_3.5.1          compiler_4.0.2
[49] rlang_0.4.9          grid_4.0.2           rstudioapi_0.13      rappdirs_0.3.1       rmarkdown_2.5        testthat_3.0.0
[55] gtable_0.3.0         curl_4.3             DBI_1.1.0            R6_2.5.0             lubridate_<IP_ADDRESS>    knitr_1.30
[61] rprojroot_2.0.2      desc_1.2.0           stringi_1.5.3        Rcpp_1.0.5           vctrs_0.3.5          png_0.1-7
[67] dbplyr_2.0.0         tidyselect_1.1.0     xfun_0.19

Could you install reticulate from Github (then restart RStudio). Then remove num_workers argument and run again, please? Kevin from RStudio fixed that issue with reticulate.

Okay. With or without device = 'cuda' ?

If you have Cuda, skip that as well.

Okay. I wait for the current test to finish and then I will run it with the requested changes on more epoch.
I will add the link to the md document with the session infos when it will have finish running.

@henry090 it works perfectly : https://github.com/Cdk29/Cassava/blob/main/trying-resnext-with-r-and-fastai.md

I close this issue, then. If you face an issue, again, please reopen.


Best Practice Analyzer Exception issue

Creating a  rule in the Best Practice Analyzer and it contains an error it throws and exception and therefore it does not enable the edit button the rule.
When this happens it is no longer possible to edit or remove rules in the interface

I am not able to reproduce this in 2.6, as you can see in this screenshot, the rule contains an error (shown at the bottom of the screen), and the "Edit rule..." button is still enabled:

Could you provide more details on how to reproduce the bug?

Could you please provide more details on how to reproduce this bug? Otherwise, the issue will be closed.


[pylint] - add potential-index-error rule (PLE0643)

Summary
add potential-index-error rule (PLE0643)
I figure only supporting an access within the i32 range is reasonable, can go up to 64 if desired I suppose!
See: #970
Test Plan
cargo test

It's quite common to deal with int64 array indices in machine learning and big data applications so I would recommend allow 64bit indices. Seems like the speed difference wouldn't be worth improperly handling these edge cases?

I'd love to see a way for arbitrary integer comparisons here, but I don't think we'll be able to do that without adding dependencies. I'd love to be proven wrong, but I'd also argue that 64 bits is beyond plenty in this scenario.

Great tweaks!


add id_token_hint if present

Closes #580

Take over as user has problems with formatting/git. original MR #612
For now i have bound that feature to includeIdTokenInSilentRenew as noted in the related issue #580

Checklist

[ ] This PR makes changes to the public API
[x] I have included links for closing relevant issue numbers

@divid3byzero Please test and review


Logging with Weights and Bias

What's the obvious way to use wandb with ktrain?

You should be able to use it by simply using a custom callback with any of the *fit* methods as described in this article.

You should be able to use it by simply using a custom callback with any of the *fit* methods as described in this article.


'COLOR_WHITE' undeclared

This and many other variables are undeclared when compiling the latest HEAD on raspbian. Other variables include 'COLORS', 'A_BOLD', 'A_UNDERLINE', 'A_NORMAL', 'A_REVERSE', 'A_BLINK', 'WINDOW'.

Sounds like ncurses is missing. Have you tried:
$ sudo apt-get install libncurses5-dev libncursesw5-dev
$ cd goaccess
$ autoreconf -fiv
$ ./configure --enable-geoip --enable-utf8
$ make
$ sudo make install

I've pushed a fix for this. Feel free to build from development.
Thanks for reporting it!


Error when creating snapshots

Describe the bug
When creating snapshots, I get the error that the target table for the snapshots to be loaded into does not exist. This causes a failure in the dbt snapshot execution.
Steps To Reproduce

Create a snapshots directory in the dbt project folder
add a file demosnapshot.sql with the content as seen below:

{% snapshot demosnapshot %}
    {{
        config(
            strategy='timestamp',
            target_schema='mytargetdatabase',
            target_database='mytargetdatabase',
            unique_key='unique_id',
            updated_at='created_date',
            file_format='hudi'
        )
    }}
    select * from {{ source('data_source', 'events_data') }}
{% endsnapshot %}

Add IAM Role with Lake Formation permissions used by Glue Interactive Sessions

  DataLakeDPCleanedTablesPermissions:
    Type: AWS::LakeFormation::Permissions
    Properties:
      DataLakePrincipal:
        DataLakePrincipalIdentifier: !GetAtt IamGlueRole.Arn
      Resource:
        TableResource:
          DatabaseName: !Sub mytargetdatabase
          TableWildcard: { }
      Permissions:
        - DESCRIBE
        - SELECT
        - INSERT
        - DROP

  DataLakeDPCleanedDatabasePermissions:
    Type: AWS::LakeFormation::Permissions
    Properties:
      DataLakePrincipal:
        DataLakePrincipalIdentifier: !GetAtt IamGlueRole.Arn
      Resource:
        DatabaseResource:
          Name: !Sub mytargetdatabase
      Permissions:
        - CREATE_TABLE
        - ALTER
        - DROP
        - DESCRIBE

Run the command $ dbt snapshot in the terminal

Expected behavior
According to the dbt example on snapshots, no error is expected
Screenshots and log output
dbt.log output below
06:30:57.855066 [debug] [Thread-1  ]: Glue adapter: GlueConnection cursor called
06:30:58.151902 [error] [Thread-1  ]: Glue adapter: An error occurred (AccessDeniedException) when calling the GetTable operation: Insufficient Lake Formation permission(s) on demosnapshot
06:30:58.152336 [error] [Thread-1  ]: Glue adapter: relation mytargetdatabase.demosnapshot not found
06:30:58.152817 [error] [Thread-1  ]: Glue adapter: name 'list_schemas' is not defined
06:30:58.153291 [error] [Thread-1  ]: Glue adapter: check_schema_exists exception
06:30:58.156281 [debug] [Thread-1  ]: finished collecting timing info
06:30:58.156535 [debug] [Thread-1  ]: On snapshot.datalakedbtdemo.demosnapshot: Close
06:30:58.156717 [debug] [Thread-1  ]: Glue adapter: NotImplemented: close

System information
The output of dbt --version:
Core:
  - installed: 1.1.0
  - latest:    1.1.0 - Up to date!

Plugins:
  - bigquery:  1.1.0 - Up to date!
  - snowflake: 1.1.0 - Up to date!
  - redshift:  1.1.0 - Up to date!
  - postgres:  1.1.0 - Up to date!

The operating system you're using: MacOS
The output of python --version: python3
Additional context
Definitely, the snapshot table would not exist and permissions have been given to the Glue Interactive Sessions IAM role to create tables.

Hi,
Thanks for let us know.
We are working on implementing the snapshot feature, but it's not yet available, I'll let you know once it will be available.

@menuetb , any updates on this?

Hi, I just developed a beta which works for snapshots using Delta.
You can install this beta using the following command:
python3 -m pip install --index-url https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ dbt-glue
You can find the documentation for the configuration here:
https://github.com/aws-samples/dbt-glue/blob/delta_lake_integration/README.md#delta
You need to install delta glue connectors to make it works, here is the doc for that:
https://docs.aws.amazon.com/glue/latest/ug/connectors-chapter.html
Here is an example that works on my account:
{% snapshot demosnapshot %}

{{
    config(
        strategy='timestamp',
        target_schema='dbt_demo_01',
        unique_key='customer_id',
        updated_at='dt',
        file_format='delta'
    )
}}

select * from {{ ref('customer_delta') }}

{% endsnapshot %}

I just published a new version of the adapter supporting snapshots for both delta and hudi, this feature is now available


Fix #94

So it's ugly, but it works. I wasn't sure how to write tests for this, but I human tested it on both DRF 3.1 and DRF 3.3, and both gave me the following JSON for the /api/v2/language/ endpoint:
{
  "count": 11,
  "next": null,
  "previous": null,
  "results": [
    {
      "name": "ja",
      "url": "http://localhost:8000/api/v2/language/1/"
    },
    {
      "name": "roomaji",
      "url": "http://localhost:8000/api/v2/language/2/"
    },
    {
      "name": "ko",
      "url": "http://localhost:8000/api/v2/language/3/"
    },
    {
      "name": "zh",
      "url": "http://localhost:8000/api/v2/language/4/"
    },
    {
      "name": "fr",
      "url": "http://localhost:8000/api/v2/language/5/"
    },
    {
      "name": "de",
      "url": "http://localhost:8000/api/v2/language/6/"
    },
    {
      "name": "es",
      "url": "http://localhost:8000/api/v2/language/7/"
    },
    {
      "name": "it",
      "url": "http://localhost:8000/api/v2/language/8/"
    },
    {
      "name": "en",
      "url": "http://localhost:8000/api/v2/language/9/"
    },
    {
      "name": "cs",
      "url": "http://localhost:8000/api/v2/language/10/"
    },
    {
      "name": "ja-kanji",
      "url": "http://localhost:8000/api/v2/language/11/"
    }
  ]
}

@bdchauvette I don't think we should support diverging versions of DRF. We should just update DRF to a particular version and then use the settings for that one. Let's go for the most recent version if we can, nothing is holding us back.

@phalt, I totally agree. This PR is super smelly.
The current code should actually run fine on any DRF version >=3.1, so if you can upgrade the server easily, I think that'd be a much cleaner / saner solution.

@bdchauvette yep, easy to bump up the version. Let's go ahead and support the newest one and not do this backwards compatible fix :)

@bdchauvette @phalt Where are we on this one? Should we just close this PR and make sure DRF gets upgraded with the next deployment? Regardless, thanks for digging into this @bdchauvette

@zaneadix @phalt Sorry for the delay :sweat:
I've updated the PR to be a simple version bump for DRF.
DRF 3.1 is when the new pagination API was introduced, so hopefully setting that as the minimum should be fine for the server?

@bdchauvette absolutely no problem, we've all got day jobs :)
Did you run the tests? (we should really set up circleci)

I hadn't run the tests before (oops!) but I just ran them now.
Update dependencies
$ make install
pip install -r requirements.txt --upgrade
Requirement already up-to-date: Django==1.7.1 in ./venv/lib/python2.7/site-packages (from -r requirements.txt (line 1))
Requirement already up-to-date: Pillow==2.6.1 in ./venv/lib/python2.7/site-packages (from -r requirements.txt (line 2))
Requirement already up-to-date: South==1.0 in ./venv/lib/python2.7/site-packages (from -r requirements.txt (line 3))
Requirement already up-to-date: Unipath==1.0 in ./venv/lib/python2.7/site-packages (from -r requirements.txt (line 4))
Requirement already up-to-date: coverage==3.6 in ./venv/lib/python2.7/site-packages (from -r requirements.txt (line 5))
Requirement already up-to-date: django-appconf==0.6 in ./venv/lib/python2.7/site-packages (from -r requirements.txt (line 6))
Requirement already up-to-date: django-cors-headers==1.0.0 in ./venv/lib/python2.7/site-packages (from -r requirements.txt (line 7))
Requirement already up-to-date: django-discover-runner==0.4 in ./venv/lib/python2.7/site-packages (from -r requirements.txt (line 8))
Requirement already up-to-date: django-imagekit==3.2.4 in ./venv/lib/python2.7/site-packages (from -r requirements.txt (line 9))
Requirement already up-to-date: django-tastypie==0.12.1 in ./venv/lib/python2.7/site-packages (from -r requirements.txt (line 10))
Requirement already up-to-date: django-markdown-deux==1.0.5 in ./venv/lib/python2.7/site-packages (from -r requirements.txt (line 11))
Requirement already up-to-date: djangorestframework>=3.1.0 in ./venv/lib/python2.7/site-packages (from -r requirements.txt (line 12))
Requirement already up-to-date: gunicorn==0.17.0 in ./venv/lib/python2.7/site-packages (from -r requirements.txt (line 13))
Requirement already up-to-date: markdown2==2.3.0 in ./venv/lib/python2.7/site-packages (from -r requirements.txt (line 14))
Requirement already up-to-date: mimeparse==0.1.3 in ./venv/lib/python2.7/site-packages (from -r requirements.txt (line 15))
Requirement already up-to-date: pilkit==1.1.12 in ./venv/lib/python2.7/site-packages (from -r requirements.txt (line 16))
Requirement already up-to-date: psycopg2==2.5.4 in ./venv/lib/python2.7/site-packages (from -r requirements.txt (line 17))
Requirement already up-to-date: python-dateutil==2.3 in ./venv/lib/python2.7/site-packages (from -r requirements.txt (line 18))
Requirement already up-to-date: python-mimeparse==0.1.4 in ./venv/lib/python2.7/site-packages (from -r requirements.txt (line 19))
Requirement already up-to-date: simplejson==3.6.5 in ./venv/lib/python2.7/site-packages (from -r requirements.txt (line 20))
Requirement already up-to-date: six==1.8.0 in ./venv/lib/python2.7/site-packages (from -r requirements.txt (line 21))
Requirement already up-to-date: wsgiref==0.1.2 in /usr/lib/python2.7 (from -r requirements.txt (line 22))

Make sure we're running DRF >=3.1.0
$ pip show djangorestframework
---
Metadata-Version: 2.0
Name: djangorestframework
Version: 3.3.2
Summary: Web APIs for Django, made easy.
Home-page: http://www.django-rest-framework.org
Author: Tom Christie
Author-email<EMAIL_ADDRESS>License: BSD
Location: $POKEAPI_DIR/venv/lib/python2.7/site-packages
Requires:

Run Tests
$ make test
python manage.py test --settings=config.local
Creating test database for alias 'default'...
$POKEAPI_DIR/venv/lib/python2.7/site-packages/tastypie/resources.py:2210: RemovedInDjango18Warning: commit_on_success is deprecated in favor of atomic.
  @transaction.commit_on_success()

2016-03-03 - 1
.2016-03-03 - 1
.2016-03-03 - 1
.2016-03-03 - 1
.2016-03-03 - 1
.2016-03-03 - 1
.2016-03-03 - 1
.2016-03-03 - 1
.2016-03-03 - 1
.2016-03-03 - 1
.2016-03-03 - 1
.2016-03-03 - 1
.2016-03-03 - 1
.2016-03-03 - 1
.2016-03-03 - 1
.2016-03-03 - 1
.2016-03-03 - 1
.2016-03-03 - 1
.2016-03-03 - 1
.2016-03-03 - 1
.2016-03-03 - 1
.2016-03-03 - 1
.2016-03-03 - 1
.2016-03-03 - 1
.2016-03-03 - 1
.2016-03-03 - 1
.2016-03-03 - 1
.2016-03-03 - 1
.2016-03-03 - 1
.2016-03-03 - 1
.2016-03-03 - 1
.2016-03-03 - 1
.2016-03-03 - 1
.2016-03-03 - 1
.2016-03-03 - 1
.2016-03-03 - 1
.2016-03-03 - 1
.2016-03-03 - 1
.2016-03-03 - 1
.2016-03-03 - 1
.2016-03-03 - 1
.2016-03-03 - 1
.2016-03-03 - 1
.2016-03-03 - 1
.2016-03-03 - 1
.2016-03-03 - 1
.2016-03-03 - 1
..
----------------------------------------------------------------------
Ran 48 tests in 2.008s

OK
Destroying test database for alias 'default'...

I ran the tests using Python 2.7, because pip complains about wsgiref when running make install on Python 3.5.1.

This is perfect. thanks @bdchauvette !

Cheers :D


Cannot read property 'uuid' of undefined

Issue Id: 6d76e6db-892e-c741-fd2a-dda2600c3d63Versions - 1.47.0Stack TypeError: Cannot read property 'uuid' of undefined/vs/platform/extensionManagement/common/extensionManagementUtil.ts#11:7 (areSameExtensions)/vs/platform/extensionManagement/common/extensionManagementUtil.ts#50:23    at Array.some ()/vs/platform/extensionManagement/common/extensionManagementUtil.ts#50:13 (findGroup)/vs/platform/extensionManagement/common/extensionManagementUtil.ts#57:16 (groupByExtension)/vs/workbench/services/extensionManagement/common/webExtensionsScannerService.ts#122:42 (userExtensions)/vs/workbench/services/extensionManagement/common/webExtensionsScannerService.ts#80:9    at async Promise.all (index 1)/vs/workbench/services/extensions/electron-browser/extensionService.ts#356:9 (_checkEnabledAndProposedAPI)/vs/workbench/services/extensions/electron-browser/extensionService.ts#484:29/vs/workbench/services/extensions/common/abstractExtensionService.ts#111:64

/duplicate
#102082


Network Trace - Cannot validate existing configuration

When a app is configured in another browser, say chrome, and launched in edit mode in FireFox.  The GP service url is not being validated
In chrome, I see these calls to the server

These do not occur in Chrome.
I am using a local service that is registered with Portal
10.3
Firefox 37.0.2

@MikeMillerGIS,
Do you see this only when the gp service is SSL enabled? What's type of SSL certificate is being used on millerwin7.esri.com (CA signed, Domain, Self)?
We were able to reproduce this with firefox only when the security certificate was self signed and not trusted by the operating system (added as a permanent exception).

It is a domain cert applied to portal.  That does make sense as firefox is picky about certs.  Is there anything to be done or just a known issue?

Mike,
I think we have run into a similar problem requiring a CA Cert to be installed.
/Signed/

Michael A. Domingue, LtCol
JFHQ-NH  J5/Geospatial Manager
Comm<PHONE_NUMBER>   DSN 684-9417
FAX<PHONE_NUMBER>   DSN 684-9247
Cell<PHONE_NUMBER>
-----Original Message-----
From: Michael Miller<EMAIL_ADDRESS>Sent: Thursday, May 14, 2015 8:06 AM
To: Esri/solutions-webappbuilder-widgets
Subject: Re: [solutions-webappbuilder-widgets] Network Trace - Cannot validate existing configuration (#148)
It is a domain cert applied to portal. That does make sense as firefox is picky about certs. Is there anything to be done or just a known issue?
—
Reply to this email directly or view it on GitHub https://github.com/Esri/solutions-webappbuilder-widgets/issues/148#issuecomment-102013726 . https://github.com/notifications/beacon/AHqonKEiCfz0fxTeY1A1YsAsDhH3Veodks5oJIcZgaJpZM4ESkOi.gif

Can you raise an error when there is a cert issue?

@MikeMillerGIS, it is not possible to identify if there is a cert issue as Javascript does not provide any means of validating certificates. The request to get gpservice info just times out.
In such cases, whenever the gpservice is unreachable, either due to certificate issue or due to gpservice not running, we can show a message "Unable to load geoprocessing service". This will be sourced from NLS.
Is this is ok?

Yes
Sent from my Verizon Wireless 4G LTE DROID
On May 21, 2015 12:17 PM, CyberTech<EMAIL_ADDRESS>wrote:
@MikeMillerGIShttps://github.com/MikeMillerGIS, it is not possible to identify if there is a cert issue as Javascript does not provide any means of validating certificates. The request to get gpservice info just times out.
In such cases, whenever the gpservice is unreachable, either due to certificate issue or due to gpservice not running, we can show a message "Unable to load geoprocessing service". This will be sourced from NLS.
Is this is ok?
—
Reply to this email directly or view it on GitHubhttps://github.com/Esri/solutions-webappbuilder-widgets/issues/148#issuecomment-104341222.


First time user feedback

Hi!
I'm not sure if this is the proper place but, here it goes!

This is not human readable:

In https://github.com/iam4x/bobarr#usage you talk about "symlink" only. When i saw it thought "damn, going to set it up elsewhere from my current Plex library". But then once i finished installing it...:

Turns out you can tell bobarr to simply move the file. I would talk about those 3 options in readme or just show that very same screenshot.

In readme you also talk about requiring an account for any website at Jackett. The thing is that there are public trackeres, so that's not a real requirement.

Sooo.. what's this?

There should be an example because i don't really know which tags i expect to receive :S  (i would make a dumb search once jackett api key is set, so you can show some tags).

 As you can see here, 4K is my last resort, because it takes way too much GBs  so i don't have interest in storing it.

Paste magnet link only works over HTTPS. I'm guessing this has only been tested over a http://localhost url. If you try this having an ip, it won't simply work :(

Hey @psociety thank you for the feedback,

Yes, this is tracked into #6
Thank's to @tetreum this is fixed
Also by @tetreum
These are tags in the release title of the torrent you want to download
True, asked also by #149
Oh yeah only through local ips at least


JunkRat: "Steel Trap" Projectile Speed

Created by: DpsDoomMain
• Currently "Steel Trap" has a projectile speed of 15.
• Previously "Steel Trap" had a projectile speed of 10.

moved from ow1_emulator_backup#496


CSS + HTML optimization (rebulid code + breakpoints)

Rebuild CSS and HTML to more flexible version  + breakpoints.

😍 😍 😍
Tested briefly using Firefox's mobile tools, and I can't find any issue that needs resolving in this PR, looking awesome!!!
Is this PR complete? If so, I'll gladly merge it! ✔

Thanks! I checked firefox and found a little bug in my code. I think that all is correct! 👍


Regridding models/packages with different regridders can result in inconsistent nodata

In GitLab by @JoerivanEngelen on May 31, 2023, 18:21
Some regridders can introduce certain cells with nodata, which do not pop up in those cells with other regridders.
This results in inconsistent datasets, for which we need to come up with some solution.

In GitLab by @JoerivanEngelen on May 31, 2023, 18:22
added #408 as child task

In GitLab by @JoerivanEngelen on May 31, 2023, 18:24
added #409 as child task

In GitLab by @JoerivanEngelen on Jul 20, 2023, 16:00
Duplicate of https://gitlab.com/deltares/imod/imod-python/-/work_items/410

In GitLab by @JoerivanEngelen on May 31, 2023, 18:24
added #410 as child task


Please help

Hi i  am new to python please could anyone help me in testing a sample API

Hi, I've got documentation and examples for this reason -- should help a lot.


[Mobile Wallet] Unable to copy the Recovery PassPhrase keys.

Description:
Deployed latest Mobile wallet on 6.2 inch Android Mobile and unable to copy the Recovery PassPhrase keys.
Expected Result:
Need a option to copy the Recovery PassPhrase keys from the Mobile wallet. (same like QT wallet)

Verified with the latest build, hence closing this ticket.


What happens after simulate_walks?

In the example given in https://pecanpy.readthedocs.io/en/latest/pecanpy.html#module-pecanpy.node2vec,
it reads "# at this point, the random walks could be fed to w2v to generate embeddings"
however, I am not clear how and which w2v should be utilized?
Could you provide perhaps a preferred word2vec package?
Thank you!

Hi @jimmy-academia, PecanPy uses gensim for runing word2vec, as could be seen in the command line interface script
https://github.com/krishnanlab/PecanPy/blob/fe4f2c1865fe0e28d431cf8ff89456b825d69ede/src/pecanpy/cli.py#L183-L206


Fix type for events which are emited from the WebView

The documentation about the emited events is wrong: https://github.com/react-native-community/react-native-webview/pull/107/files/879fbdccf56ea89aad27df07a93e1d9c8cd31d93#diff-186a7fa0ea29d9ede1ed98c48d63340fL82
So either fix the documentation or take a look at the types of the events and set the missing values.
Currently the documentation is not correct for TopMessageEvent and TopShouldStartLoadWithRequest.

Thanks for reporting, @maxammann. I'd love a pull request to our docs!

Closing as too vague for now. Feel free to submit PRs tho.


refactor: separate out PanicHandlerPlugin

Objective

Allow configuring of platform-specific panic handlers.
Remove the silent overwrite of the WASM panic handler
Closes #12546

Solution

Separates the panic handler to a new plugin, PanicHandlerPlugin.
PanicHandlerPlugin was added to DefaultPlugins.
Can be disabled on DefaultPlugins, in the case someone needs to configure custom panic handlers.

Changelog
Added

A PanicHandlerPlugin was added to the DefaultPlugins, which now sets sensible target-specific panic handlers.

Changed

On WASM, the panic stack trace was output to the console through the BevyLogPlugin. Since this was separated out into PanicHandlerPlugin, you may need to add the new PanicHandlerPlugin (included in DefaultPlugins).

Migration Guide

If you used MinimalPlugins with LogPlugin for a WASM-target build, you will need to add the new PanicHandlerPlugin to set the panic behavior to output to the console. Otherwise, you will see the default panic handler (opaque, unreachable errors in the console).

I think this basically makes sense as a separate crate, although it's a bit weird to have something that small. What about as part of bevy_app instead? I think that will reduce complexity and controversy here by quite a bit.

I think this basically makes sense as a separate crate, although it's a bit weird to have something that small. What about as part of bevy_app instead? I think that will reduce complexity and controversy here by quite a bit.

We should be able to remove the dependency on console_error_panic_hook from bevy_log now, right?

Correct, I just removed it.

I think we need to update the docs for default plugins right.

I think we need to update the docs for default plugins right.

Fixed! Good catch.


Notice of Copyright Violation

This is an official notice of Copyright violation against the PIVX developers in which this project has been forked from. The MIT copyright license, and subsequent copyright headers in source files have been modified to explicitly exclude the PIVX developers from all copyrights.
You are hereby notified of an intention to pursue further action if this issue is not acknowledged and formally addressed with a resolution timeframe commitment wherein. Failure to acknowledge and correct the violation will result in a formal DMCA takedown notice filed with GitHub Proper after no less than five business days from the date of this notice.
Explicit acknowledgement and referencing progress to maintain compliance MUST be noted in this issue's comments or referred to in any subsequent pull requests to this repositor
File in question:
BitF-source-code/LICENSE

Thank you for letting us know about this oversight - We have updated the LICENSE file to reflect the copyrights.
Thanks.

Thank you, we will go through your repository and double check everything has been fixed.

Let us know if you see anything else and we will correct it.
Thanks.
On Wed, Aug 29, 2018 at 9:34 AM, Iconoclasta<EMAIL_ADDRESS>wrote:

Thank you, we will go through your repository and double check everything
has been fixed.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/BitFdev/BitF-source-code/issues/1#issuecomment-416955139,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AoML8ITZikBlNATab8biM_wBmV9XYNofks5uVphWgaJpZM4WN8jC
.

Everything seems in order. Thanks for the collaboration. I will close this issue now.

ps I would recommend deleting one of the two license files. This is purely for aesthetic reasons.


[objc] mono_embeddinator_create_object now calls mono_gchandle_new

So we need to remove our own call, which overwrites the original one.

Build and tests passed.


SAML SSO logout not working when SLO is false.

Getting following error when SLO is not enabled. This is happening due to session index is not passed with the saml logout request when SLO is disabled. It is required to check sessionIndex only when the SLO is enabled.
java.lang.NullPointerException 	at org.wso2.carbon.identity.sso.saml.processors.SPInitLogoutRequestProcessor.process(SPInitLogoutRequestProcessor.java:116) 	at org.wso2.carbon.identity.sso.saml.SAMLSSOService.validateSPInitSSORequest(SAMLSSOService.java:99) 	at org.wso2.carbon.identity.sso.saml.servlet.SAMLSSOProviderServlet.handleSPInitSSO(SAMLSSOProviderServlet.java:484) 	at org.wso2.carbon.identity.sso.saml.servlet.SAMLSSOProviderServlet.handleRequest(SAMLSSOProviderServlet.java:236) 	at org.wso2.carbon.identity.sso.saml.servlet.SAMLSSOProviderServlet.doPost(SAMLSSOProviderServlet.java:128) 	at javax.servlet.http.HttpServlet.service(HttpServlet.java:650)

Duplicate issue reported here: https://github.com/wso2/product-is/issues/4895

Thank you for your contribution!
We are closing this issue since it has not been prioritized for a long time. Chances are that it has already been solved in more recent versions. If not, we will be re-evaluating this when it becomes a priority.


google cloab link for example prediction

Hi Team,
This is an amazing job . Any google colab link to try out some some example quickly .
Thanks

Thanks for filing this issues. We don't have a colab yet but I'll see if we can put something together!

Thanks .

We just updated the code with a colab, you'll find more info in the readme. Thanks for the suggestion!


What is minimum possible size of Hikari connection pool?

I am working on developing a spring-boot based microservice of which dozens of application instances will run concurrently. I am planning to use HikariCP as our database connection pooling tool to connect with MySQL databases. However, when I try to create connection pools varying in size from 0-10, I am able to create connection pools that vary in size from 1-10 but never reach the sweet spot of 0 during idle time.
My configuration,
HikariConfig hikariConfig = new HikariConfig();

hikariConfig.setMinimumIdle(0);
hikariConfig.setMaximumPoolSize(10);
hikariConfig.setIdleTimeout(60000);

hikariConfig.setPoolName(poolName);
hikariConfig.setJdbcUrl(jdbcUrl);
hikariConfig.setUsername(userName);
hikariConfig.setPassword(password);
hikariConfig.setDriverClassName(databaseDriverClass);

return new HikariDataSource(hikariConfig);

I'd like to understand if HikariCP has a hard limit where it can never reach a size of less than 1 idle connection?

Raised it on stackoverflow aswell but did not find any suitable answer:  StackOverflow

I would also like an official statement on this. It isn't brought up in the documentation and I can find previous issues with 0 being thought of as Unlimited.

谢谢你的来信，目前有点忙，稍后会尽快回复您！

which version did you used? i have test the 4.0.3 is ok，the idle is 0 for a while，housekeeper do that every 30.5s，if you set IdleTimeout 60s, may be need 61s to keep idle to 0.

Same here with CP 4.0.3 and Spring Boot 2.6.3: also minimumIdle = 0, one connection stays open but idle.


Fix: Broken link in 0.24.0 release notes (refs #668)

I checked each link in the original issue https://github.com/eslint/website/issues/668.
Only two were in the blog.

the link to /docs/developer-guide/code-path-analysis.html from /blog/2016/02/eslint-v2.0.0-released seems to not be broken.
This PR fixes the link to /blog/2015/preparing-for-1.0.0 from /blog/2015/06/eslint-0.24.0-released.

The rest were in docs, which cannot be modified in the website repo.  A new issue/PR should be created in the main eslint repo to fix the remaining broken links.

LGTM. Thank you for contributing! Would you also like to fix the links in the other docs?

@kaicataldo Yes, I can fix the links in the docs as well.  I suppose I could open a PR in eslint and reference the existing issue in the website repo.  Will work on it today or tomorrow.

That is excellent, thanks! That sounds like a great plan. Please feel free to ping us with any questions :)


Font changes in tree view

Describe the bug

The font of some items in the tree view changes.

To Reproduce
Steps to reproduce the behavior:

Open Recaf 2.x
Load any jar. For the example I choose recaf.jar
Write repeatedly "a" in the search bar.
The font of some items (name of the jar and "files" entry) changes (enable / disable monospace) each time you write in the search bar a character.
If you open/close the "files" entry for instance, the font also changes.

NOTE : At some point, the police no longer change.
Operating system : Arch Linux with KDE Plasma
Java Version : 17 (OpenJDK Azul Zulu) but the bug also "works" with Java 8
Recaf version : 2.21.13
Video
I made a video to show the bug :
https://user-images.githubusercontent.com/52298108/176908569-b450808a-bcf8-4c0b-9747-a8799ab9f27b.mp4

Closing, re-open or make a new issue if it occurs on 4.X


Extremely slow typing when editing git commit

Hi,
I noticed that when I do a git commit and vim opens to write the commit, typing is really slow and laggy.
And the more there is information to show in the commit (the list of files that will be committed, the list of file ignored, etc), the more it slow and laggy!
It's really stange!

And this only happens if I use LANG=fr_FR.UTF8 actually! With LANG=C, it works well (and the rendering of the theme is different also).
I also timed the syntax hilighting that happened when it was slow and this is the result, so I guess it is a problem with the theme (because this does not happen without minivim):
 TOTAL      NOMBRE MATCH   PLUS LENT   MOYEN     NOM                MOTIF
  2   2.047940   817    0       0.010387    0.002507  gitcommitUnmergedType \t\@<=[[:lower:]][^:]*[[:lower:]]:
  3   2.044605   817    0       0.011707    0.002503  gitcommitDiscardedType \t\@<=[[:lower:]][^:]*[[:lower:]]:
  4   2.043432   817    0       0.011453    0.002501  gitcommitSelectedType \t\@<=[[:lower:]][^:]*[[:lower:]]:
  5   0.026518   817    18      0.000088    0.000032  gitcommitHeader    \%(^# \)\@<=.*:$
  6   0.018430   882    0       0.000065    0.000021  gitcommitDiff      \%(^diff --\%(git\|cc\|combined\) \)\@=
  7   0.008082   817    0       0.000032    0.000010  gitcommitAuthor    \%(^# \)\@<=\%(Author\|Committer\):
  8   0.007284   817    0       0.000039    0.000009  gitcommitNoChanges \%(^# \)\@<=No changes$
  9   0.006540   882    817     0.000025    0.000007  gitcommitComment   ^#.*
 10   0.004979   817    0       0.000019    0.000006  gitcommitNoBranch  \%(^# \)\@<=Not currently on any branch.
 11   0.004948   817    0       0.000020    0.000006  gitcommitOnBranch  \%(^# \)\@<=Your branch .\{-\} '
 12   0.004902   817    0       0.000018    0.000006  gitcommitOnBranch  \%(^# \)\@<=On branch
 13   0.004652   18     18      0.000314    0.000258  gitcommitSummary   ^.\{0,50\}
 14   0.001429   882    0       0.000010    0.000002  gitcommitWarning   ^\%(no changes added to commit\|nothing \%(added \)\=to commit\)\>.*\%$
 15   0.000758   882    0       0.000004    0.000001  gitcommitUnmerged  ^# Unmerged paths:
 16   0.000701   882    0       0.000010    0.000001  gitcommitSelected  ^# Changes to be committed:
 17   0.000693   882    0       0.000004    0.000001  gitcommitDiscarded ^# Change\%(s not staged for commit\|d but not updated\):
 18   0.000624   882    0       0.000006    0.000001  gitcommitUntracked ^# Untracked files:
 19   0.000560   882    0       0.000010    0.000001  gitcommitWarning   \%^[^#].*: needs merge$
 20   0.000516   882    18      0.000007    0.000001  gitcommitFirstLine \%^[^#].*
 21   0.000441   784    0       0.000011    0.000001  neosnippetConcealExpandSnippets <`\d\+:\=\|<{\d\+:\=\|<|
 22   0.000302   784    0       0.000001    0.000000  neosnippetExpandSnippets <`\d\+\%(:.\{-}\)\?\\\@<!`>\|<{\d\+\%(:.\{-}\)\?\\\@<!}>\|<|\d\+|>
 23   0.000012   18     0       0.000001    0.000001  gitcommitBlank     ^[^#].*

Hi, thanks for this report.
However, I've never encountered this bug and can't reproduce it even with a 10.000 lines' commit message.

Can you reproduce the lag by opening a large file with Vim ?
How do you produce this kind of table ?

Can you open the commit message with vim --startuptime vimstartup.log and post the result here ?

Hi :)
Some more details:

I think this has started to appear when I upgraded to Vim 8, not sure…
I think the highlighting is broken when French is used to produce the git commit file content and this is the source of the problem (so maybe it's simply a bug in vim's gitcommit plugin, but it only lag using the theme of minivim, so maybe there is a bug in the theme… who knows ^^). When using english, the text is highlighted differently at least!
I found they way to produce the table there: http://stackoverflow.com/questions/19030290/syntax-highlighting-causes-terrible-lag-in-vim with :syntime
here is an example file to open with vim to see the problem: https://gist.github.com/victornoel/e3fd6ecbb75486b01364b6157cd8e1e5 (it MUST be named COMMIT_EDITMSG for gitcommit plugin highlighting to be applied and the problem to appear).
the vimstartup.log is also in the gist above :)

Thanks!

Hi ! I encountered this problem too. I'm running cygwin 64 with mintty and zsh. Maybe the attached profile log I made will help you.
profile.txt

I can reproduce the problem, thanks @victornoel. Let's the bug hunt begin !

I think this is a bug of vim, not minivim.
The commit message file is slow even when minivim is not loaded.

I've sent a bug report to the gitcommit maintainer,
Lag happens even when I am using the color schemes of default vim.

Theme bug confirmed. Won't fix except if this append often.
Thanks for the report nevertheless!


aws command not found

Hi everyone,
I'm having a problem with my scripts, one of the uses the aws command to retrieve variables stored on SSM, something like this
aws ssm get-parameters-by-path \   --path "/keys" \   --with-decryption \   --query "Parameters[*].[Name,Value]" \   --output text
I have aws cli installed on my EC2 Ubuntu instance, and the script works just fine if run from the terminal, but not from codedeploy scripts.
What would be the correct approach to accomplish this?
Thanks

Check whether you're using bash or the default #!/bin/sh for the script.
That impacts syntax compatibility as well as using a different $PATH.
One solution could be to put this at the top of your script:
#!/bin/bash
PATH="/usr/local/bin:$PATH"

...assuming the aws binary lives in /usr/local/bin.

Thanks for the fast reply, I've tried your solution, in my case awscli lives here
/home/ubuntu/.local/bin/aws
Added this to the script but didn't work
#!/bin/bash
PATH="/home/ubuntu/.local/bin:$PATH"

It throws these errors
Traceback (most recent call last):
[2018-07-04 22:27:07.602] [d-CK8PAP73U][stderr]  File "/home/ubuntu/.local/bin/aws", line 19, in <module>
[2018-07-04 22:27:07.602] [d-CK8PAP73U][stderr]    import awscli.clidriver
[2018-07-04 22:27:07.602] [d-CK8PAP73U][stderr]ImportError: No module named awscli.clidriver

I installed the awscli with pip.

np, we've all been there.
I'm guessing you're using some virtual env wrapper for your python installation given the ~/.local/bin PATH.
These usually require that you source some env setup that adds the appropriate PYTHONPATH to your shell's env.
I expect there's probably something in one of the bash init scripts, ~/.bashrc ~/.bash_profile etc. If it's in .bashrc, that would explain it, as IIRC, that's only sourced by interactive login shells, whereas .bash_profile is sourced by all.
Or, from an interactive shell, where the aws command works, loo at the env output and see what you're missing.
One way to sort that out is to add an 'env' command to the top of the codedeploy script so you can see what's set in that context.

Yeah, you're right. I have this export PATH=~/.local/bin:$PATH in ~/.bashrc
This is the path on the script
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/snap/bin
And this is the path on the terminal
PATH=/home/ubuntu/bin:/home/ubuntu/.local/bin:/home/ubuntu/.local/bin:/home/ubuntu/.nvm/versions/node/v8.9.4/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
But adding the PATH manually doesn't seem to work. Already tried that with
PATH="/home/ubuntu/.local/bin:$PATH"

It's not PATH, it's the python virtualenv setup.
Try looking at env | grep -i python.

Install AWS CLi version 2.
Export the path of aws
export PATH=/usr/local/bin:$PATH


fix: avoid panic when not passing AuthSupplier

Signed-off-by: wujunwei<EMAIL_ADDRESS>Fixes #9585
Fix panic: runtime error: invalid memory address or nil pointer dereference

/retest


Add support for health start interval

This was added in https://github.com/moby/moby/pull/40894.
Allows configuring a separate interval to run healthchecks at during the start period.
For instance after a service is healthy a healthcheck may only need to run once per 5 minutes but this can cause unneeded delays detecting when the task is healthy and adding it to the load balancer.

Codecov Report

Merging #3142 (74b10bb) into master (957f1e9) will increase coverage by 61.67%.
The diff coverage is 60.00%.

@@             Coverage Diff             @@
##           master    #3142       +/-   ##
===========================================
+ Coverage        0   61.67%   +61.67%
===========================================
  Files           0      155      +155
  Lines           0    31144    +31144
===========================================
+ Hits            0    19207    +19207
- Misses          0    10393    +10393
- Partials        0     1544     +1544


feat: Add OnClick event support to/in Persona control so that we can attach a Menu, etc.

🙋 Feature Request
It would be great if the Persona control could have an OnClick event to attach a Menu or some other control.
🤔 Expected Behavior
Support for OnClick (left or right) which would allow some additional actions to be done, like show a menu, etc.
😯 Current Behavior
Does not support OnClick and trying to attach a Menu doesn't work.
💁 Possible Solution

🔦 Context

I'd like to use the Persona to show who is logged in on my site and then clicking it shows additional tasks (menu) for signing out, profile, etc.

Control is pretty limited in just showing the user details without any actions.

Tried to attach a menu without luck and ended up adding a button next to the Persona control to do what I want.
💻 Examples
Look at Azure portal, Office portal and similar sites. The Persona control in those cases allows drop-down when clicked.

We are considering adding a specific component for this in the future. Until then, you can create something like example #2 fairly easily by combining FluentButton, FluentPersona and FluentMenu, like this:

@status

    <FluentButton<EMAIL_ADDRESS>                  OnClick="@(() => open = !open)"
                  IconEnd="@(new Icons.Regular.Size24.ChevronDown())">
        <FluentPersona Name="Bill Gates"
                       Status="PresenceStatus.Available"
                       StatusSize="PresenceBadgeSize.Small"
                       StatusTitle="He is available"
<EMAIL_ADDRESS>                       ImageSize="28px">
        </FluentPersona>
    </FluentButton>
    <FluentMenu @bind-Open="@open" @onmenuchange=OnMenuChange Width="400px">
        <FluentMenuItem>Menu item 1</FluentMenuItem>
        <FluentMenuItem>Menu item 2</FluentMenuItem>
        <FluentMenuItem Disabled="true">Menu item 3 Disabled</FluentMenuItem>
        <FluentMenuItem>Menu item 4</FluentMenuItem>
    </FluentMenu>

@code {
    bool open = false;
    private string status = "";

    private void OnMenuChange(MenuChangeEventArgs args)
    {
        if (args is not null && args.Value is not null)
            status = $"{args.Value} selected";
    }
}

Which would get you something like this:

Thank you for the code sample.


DeFi opportunities - yearn

Overview
Yearn implementation of defi opportunities needs to support account selection.
References and additional details

https://github.com/shapeshift/web/blob/develop/src/features/defi/providers/yearn/components/YearnManager/Overview/YearnOverview.tsx#L94

Acceptance Criteria

We can select an account before depositing or withdrawing
The overview only shows balances for the selected account
The selected account defaults to 0

Need By Date
No response
Screenshots/Mockups
implement account selection in here

Estimated effort
1 day

DeFi screens should follow this pattern --
https://www.figma.com/proto/OHbVrAVaV2xQWUsq0nKzGm/ShapeShift-Library?node-id=1812%3A8350&scaling=min-zoom&page-id=156%3A3155&starting-point-node-id=1812%3A8350&show-proto-sidebar=1


Example project for android needs update? (HLS related)

System:
OS: Windows 10 10.0.19044
CPU: (8) x64 Intel(R) Core(TM) i7-4790 CPU @ 3.60GHz
Memory: 899.71 MB / 15.94 GB
Binaries:
Node: 14.19.3 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.5 - C:\Program Files (x86)\Yarn\bin\yarn.CMD
npm: 6.14.17 - C:\Program Files\nodejs\npm.CMD
Watchman: Not Found
SDKs:
Android SDK: Not Found
Windows SDK: Not Found
IDEs:
Android Studio: AI-212.5712.43.2112.8815526
Visual Studio: Not Found
Languages:
Java: 17.0.3 - C:\Program Files\Java\jdk-17.0.3\bin\javac.EXE
Python: 3.10.4 - C:\Python310\python.EXE  npmPackages:
@react-native-community/cli: ^4.14.0 =>
4.14.0
react: 16.13.1 => 16.13.1
react-native: 0.63.3 => 0.63.3
react-native-windows: Not Found
npmGlobalPackages:
react-native: Not Found
I was using the example project to set up a basic player that can play hls streams, but for some reason the example project was not playing these streams and also everytime I updated the hls stream object to have "type": "hls" the app would open and crash.
After reading some issues and the docs, I managed to fix this by adding a JSON file named track-player.json to my root folder just like the docs recommend https://react-native-track-player.js.org/docs/basics/build-preferences, its content being:
{
  "dash": true,
  "hls": true,
  "smoothstreaming": true
}

I enabled everything just in case but I'll most likely disable dash I guess.
After doing that, reinstalling the app (it wasn't working before a new installation) and updating the object with the new property "type": "hls" the stream finally worked on android, here's the object for reference btw:
{
    "url": "https://react-native-track-player.js.org/example/hls/whip/playlist.m3u8",
    "title": "Whip",
    "artist": "prazkhanal",
    "artwork": "https://react-native-track-player.js.org/example/hls/whip/whip.jpeg",
    "type": "hls"
}

Anyways, the example project on android didn't work for me out of the box and that's why I'm opening this issue, and also to help anyone else who might come across this scenario.

@Knufle thanks for reporting this issue! Just submitted a PR for the fix.


ARROW-8605: [R] Add brotli to Windows R build

Adds brotli compression to Windows R build.
In addition, Windows CI R Check jobs will now dump the test output.
Added brotli to rtools-packages here: https://github.com/r-windows/rtools-packages/pull/232

@github-actions crossbow submit -g r

@github-actions crossbow submit -g r


Use new Prismic repo

Deploy preview ready!
Built with commit 7b2fe7ec0e6824f747f775f163f9a3acef89ff6f
https://deploy-preview-17--blanket.netlify.com


Tim Sort in JavaScript

Tim Sort
Idea is to implement Tim Sort Algorithm in JavaScript
Have you read the Contributing Guidelines on Pull Requests?
Yes

/assign


Boomerang

Summary
The boomerang controller is a simple yet effective method to move the robot to a pose, that is x, y, and heading position, vs the current moveTo function which only moves to a position, that is x, y with a heading which is not guaranteed.
Motivation
This is an easy addition. Its just the moveTo function with an extra equation to generate a carrot point.
Todo

[ ] Implement alg
[ ] Implement logger messages

Test Plan

[ ] Test logger messages
[ ] Test the motion on a robot

Oopsie, i accidentally branched from the odom refactor. Closing, but making a new pr


WIP: id and child logger for request and response

As titled.
Is still a WIP because there are some points that we should discuss.
We are generating an id for every request that will be used also in the response, that id will be used also in the child logger. This is nice, because it will give us a tracker of what is happening to a specific request/response in the cluster, but what strategy we can use to keep that id unique? As you can see for the moment I used a very naive id generation function.
Almost all the test will fail because the response object will have the id and log fields.
Do we need to change the structure of the response object?
Something like:
{
  key: String,
  id: Any,
  payload: Object, // the actual user message
  log: Object
}

I'm not ok with this change. Most of UpRing was built to move through basic objects.
The moment we start adding custom properties, we would be better off with a proper Context object.
BTW, tentacoli has its own id: https://github.com/mcollina/tentacoli/blob/master/tentacoli.js#L282, maybe you can reuse that?

Most of UpRing was built to move through basic objects.
The moment we start adding custom properties, we would be better off with a proper Context object.

I'm not sure I've understood this part, can you rephrase?

BTW, tentacoli has its own id: https://github.com/mcollina/tentacoli/blob/master/tentacoli.js#L282, maybe you can reuse that?

I've considered that, but I've chosen to go for this solution because it allows us to change the underlying transport method without the need to change the id handling as well.

The current API is well design to have no custom properties attached to messages. You send a message (JS), and this comes out on the other side. Attaching metadata (like the id or the log), is against that pattern.
Either we change to a completely different solution, so that we have a Context object that wraps the message, the callback etc, or we stay as it is right now. An hacked solution is not going to work well.

give us a tracker of what is happening to a specific request/response in the cluster

Given the above mentioned requirement, what's the best way to achieve it then?I guess the goal is to achieve something similar to what TChannel is achieving within Ringpop, traceability as first class resident.

Either we change to a completely different solution, so that we have a Context object that wraps the message, the callback etc, or we stay as it is right now. An hacked solution is not going to work well.

@mcollina this is what I was proposing here:
Do we need to change the structure of the response object?
Something like:
{
  key: String,
  id: Any,
  payload: Object, // the actual user message
  log: Object
}


Warning ensuring starting point is created for lines with distance and bearing- Pro

If a user is creating multiple lines from distance and bearing, and forgets to enter a starting point each time, they may get frustrated typing in distance and length values, selecting enter, and not understanding why nothing happens. There should be a warning sign popping up telling the user that they need to create a starting point.
To reproduce:

create several lines from distance and bearing, first with selecting a starting point, and then distance and angle values. Several lines will be created.
skip adding a starting point, and enter values under distance/length and angle, and click enter. Nothing will happen, but there is no reminder that you forgot to add a starting point.

@dfoll I do not think this is an issue that we should address. We would expect the users to always put in a starting point. I feel like this can be closed.

A start point is required to draw a line. Closing.


Inconsistent client app configuration when compared to the Azure portal docs

Hey - step 3 in the client application instructions in the portal version (https://docs.microsoft.com/en-us/azure/aks/azure-ad-integration?view=azure-cli-latest) calls for a public client to be created.
This is not reflected in this CLI documentation - and caused us to be unable to login to kubectl after following this document.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: bc86c3af-f6c7-4c48-e157-54abbc5958ff
Version Independent ID: 3611b478-6df6-f5cd-563d-2fff6cfec9ef
Content: Integrate Azure Active Directory with Azure Kubernetes Service
Content Source: articles/aks/azure-ad-integration-cli.md
Service: container-service
GitHub Login: @iainfoulds
Microsoft Alias: iainfou

@jeremych1000 Thanks for the your feedback. We are investigating and will update you shortly.

@jeremych1000 I have assigned the issue to the content author to investigate further and update the document if needed.

Looks like the client app CLI creation has native-app enabled as a parameter.
clientApplicationId=$(az ad app create \
    --display-name "${aksname}Client" \
    --native-app \
    --reply-urls "https://${aksname}Client" \
    --query appId -o tsv)

Closing.


Windows PowerShell ISE

I noticed the PowerShell ISE theme no longer exists in the official repository, so I remade it as closely as possible to the existing PowerShell and VS Code themes.
Dracula for Windows PowerShell ISE

Hello it's been more than a month since I proposed a theme for powershell ise and for him in 3 days it's assigned. I do not want to be rude but what is this bullshit. thank you for your attention and understanding

Hey 👋🏻 folks,
Thanks for submitting the app theme. We understand the importance of keeping you informed about the progress of your submissions and apologize for the delay. 🙇🏻

However, please avoid using offensive words or aggressively expressing displeasure. We are a small team and often need to prioritize one task at a time.

✅ With this in mind, I have transferred the submitted theme first and invited both to collaborate directly in the repository.


[BUG] Can't install Splat.Autofac v, 9.4.5 with Autofac 5.2.0

Describe the bug
The prerequisite requirement for Splat.Autofac v. 9.4.5 is limited to Autofac 5.0. splat doesn't support the latest version of Autofac.
Steps To Reproduce
Can't upgrade Splat from 9.4.1 to 9.4.5 with Autofac 5.2 installed.

Duplicate of https://github.com/reactiveui/splat/issues/465


Commiting for #194543 - Updating ACL jar format

Description of PR
How was this patch tested?
For code changes:

[ ] Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'HADOOP-17799. Your PR title ...')?
[ ] Object storage: have the integration tests been executed and the endpoint declared according to the connector-specific documentation?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE, LICENSE-binary, NOTICE-binary files?

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 30s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
detsecrets
0m  1s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

-1 :x:
test4tests
0m  0s

The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
43m 17s

trunk passed

+1 :green_heart:
compile
1m 22s

trunk passed with JDK Ubuntu-11.0.22+7-post-Ubuntu-0ubuntu220.04.1

+1 :green_heart:
compile
1m 18s

trunk passed with JDK Private Build-1.8.0_402-8u402-ga-2ubuntu1~20.04-b06

+1 :green_heart:
checkstyle
1m 12s

trunk passed

+1 :green_heart:
mvnsite
1m 27s

trunk passed

+1 :green_heart:
javadoc
1m  8s

trunk passed with JDK Ubuntu-11.0.22+7-post-Ubuntu-0ubuntu220.04.1

+1 :green_heart:
javadoc
1m 50s

trunk passed with JDK Private Build-1.8.0_402-8u402-ga-2ubuntu1~20.04-b06

+1 :green_heart:
spotbugs
3m 18s

trunk passed

+1 :green_heart:
shadedclient
35m 33s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

-1 :x:
mvninstall
0m 45s
/patch-mvninstall-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs in the patch failed.

-1 :x:
compile
0m 48s
/patch-compile-hadoop-hdfs-project_hadoop-hdfs-jdkUbuntu-11.0.22+7-post-Ubuntu-0ubuntu220.04.1.txt
hadoop-hdfs in the patch failed with JDK Ubuntu-11.0.22+7-post-Ubuntu-0ubuntu220.04.1.

-1 :x:
javac
0m 48s
/patch-compile-hadoop-hdfs-project_hadoop-hdfs-jdkUbuntu-11.0.22+7-post-Ubuntu-0ubuntu220.04.1.txt
hadoop-hdfs in the patch failed with JDK Ubuntu-11.0.22+7-post-Ubuntu-0ubuntu220.04.1.

-1 :x:
compile
0m 43s
/patch-compile-hadoop-hdfs-project_hadoop-hdfs-jdkPrivateBuild-1.8.0_402-8u402-ga-2ubuntu1~20.04-b06.txt
hadoop-hdfs in the patch failed with JDK Private Build-1.8.0_402-8u402-ga-2ubuntu1~20.04-b06.

-1 :x:
javac
0m 43s
/patch-compile-hadoop-hdfs-project_hadoop-hdfs-jdkPrivateBuild-1.8.0_402-8u402-ga-2ubuntu1~20.04-b06.txt
hadoop-hdfs in the patch failed with JDK Private Build-1.8.0_402-8u402-ga-2ubuntu1~20.04-b06.

-1 :x:
blanks
0m  0s
/blanks-eol.txt
The patch has 1 line(s) that end in blanks. Use git apply --whitespace=fix <<patch_file>>. Refer https://git-scm.com/docs/git-apply

-0 :warning:
checkstyle
0m 57s
/results-checkstyle-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs-project/hadoop-hdfs: The patch generated 1 new + 8 unchanged - 0 fixed = 9 total (was 8)

-1 :x:
mvnsite
0m 46s
/patch-mvnsite-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs in the patch failed.

-1 :x:
javadoc
0m 34s
/patch-javadoc-hadoop-hdfs-project_hadoop-hdfs-jdkUbuntu-11.0.22+7-post-Ubuntu-0ubuntu220.04.1.txt
hadoop-hdfs in the patch failed with JDK Ubuntu-11.0.22+7-post-Ubuntu-0ubuntu220.04.1.

-1 :x:
javadoc
1m 31s
/results-javadoc-javadoc-hadoop-hdfs-project_hadoop-hdfs-jdkPrivateBuild-1.8.0_402-8u402-ga-2ubuntu1~20.04-b06.txt
hadoop-hdfs-project_hadoop-hdfs-jdkPrivateBuild-1.8.0_402-8u402-ga-2ubuntu1~20.04-b06 with JDK Private Build-1.8.0_402-8u402-ga-2ubuntu1~20.04-b06 generated 1 new + 1 unchanged - 0 fixed = 2 total (was 1)

-1 :x:
spotbugs
0m 45s
/patch-spotbugs-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs in the patch failed.

-1 :x:
shadedclient
14m 15s

patch has errors when building and testing our client artifacts.

_ Other Tests _

-1 :x:
unit
0m 49s
/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs in the patch failed.

+1 :green_heart:
asflicense
0m 35s

The patch does not generate ASF License warnings.

110m 44s

Subsystem
Report/Notes

Docker
ClientAPI=1.45 ServerAPI=1.45 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6658/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/6658

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets

uname
Linux 6130ecb3d31e 5.15.0-94-generic #104-Ubuntu SMP Tue Jan 9 15:25:40 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 6a302dc58c7d5afe88e474567c70876941cdfb8b

Default Java
Private Build-1.8.0_402-8u402-ga-2ubuntu1~20.04-b06

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.22+7-post-Ubuntu-0ubuntu220.04.1 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_402-8u402-ga-2ubuntu1~20.04-b06

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6658/1/testReport/

Max. process+thread count
552 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-6658/1/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.


Update storage-sas-overview.md

At times, there are requests from queries whether we can know how many SAS have been generated for a storage account. This is not maintained at storage end nor any API can provide such details. If customer have any such requirement, they need to track it manually at their end.
Proposing changes to let the customer know this information at the first place itself via documentation..
Please review.

@Amrinder-Singh29 : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@Amrinder-Singh29 - Thanks for making this addition!
#sign-off

@ktoliver : Thanks for your contribution! The author(s) have been notified to review your proposed change.


BUG: Navbar of profile section is not proper

Is there an existing issue for this?

[x] I have searched the existing issues

What happened?

i want make changes please assign this to me @arghadipmanna101
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

hello, I'm a GSSOC'24 contributor and I would like to solve this issue for you and recreate the nav-bar @arghadipmanna101