Seems IndentLine has conflicts with vim-go

I use vim-go to coding golang in Vim, but I can't see indent line when editing go file. I set the below options in my .vimrc:
set conceallevel=1
let g:indentLine_conceallevel=1

And I can make sure the shifttable, tabstop and expandtab are correct. I can see indent line when I edit javascript file which is also use 2 space indent setting. But indent line doesn't work for go file. I suspect there is some conflicts with vim-go, Does anyone has the same problem?
BTW, I'm using Vim 8.0, the problem can be found both in Vim terminal and MacVim.
Any comment are really appreciated!

Ok, I got the reason, seems vim-go will reset my expandtab settings, I add the below line to reset it:
autocmd FileType go setlocal expandtab

Same issue,but can't fix.

@0x5010 You can enable indentLine by appending this line below in .vimrc:
set list lcs=tab:\|\ (last character is a space...)

Basically, indentLine only works with space. but go fmt indents code with tabs only. SO : Indentation in Go: tabs or spaces?. So you can see indentLine works well when you indent go code with spaces.
And you can find this solution in indentLine README in the first paragraph:

This plugin is used for displaying thin vertical lines at each indentation level for code indented with spaces. For code indented with tabs I think there is no need to support it, because you can use :set list lcs=tab:|\ (here is a space).

However, if I set list lcs=tab:|\ (last character is a space...)
the  Indentline is too highlight.
I want the shadow line like plugin vim-indentline

I want like this

@cybaol try :hi NonText guifg=#6E6761

for vim
autocmd FileType go set list lcs=tab:\┊\ "(last character is a space...)
autocmd FileType go hi SpecialKey ctermfg=gray


Aditional parameters

Hi,
it will be nice if you add some aditional parameters when register service.
For example

-DisplayName
-Description
-StartUpType

and finally

custom parameters

Custom parameters are very important for us.
Let say that we need to deploy two services of ASP.NET Core apps.
1st runs at port 50000, 2nd runs at port 50010. With custom parameters passing to New-Service
this can be done easily.
Thanks for advance.
Edvin

Ok tnx

We are having same issue. Not able to apply custom description and display name

@Dejulia489 is there any update on this?

Sorry, I haven’t received and pull requests for the feature at this time.


Windows CLI Ansi Rewrite

A large portion of the Windows CLI has been rewritten.  Ansi parsing and the actions taken as a result of Ansi commands are now decoupled.  There have also been a number of bug fixes in the actions taken in response to Ansi commands in the Windows environment.
Vi now functions as expected and the vttest no longer panics.  Further improvement towards full Ansi terminal emulator compliance is needed, but much of the standard most commonly used features are now properly supported.

Cool! :)

ping @icecrime

@crosbymichael this is blocked on #13257, we will come back to this. Please ignore this PR for now.

Please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "win-cli/redo" git@github.com:brendandixon/docker.git somewhere
$ cd somewhere
$ git rebase -i HEAD~4
editor opens
change each 'pick' to 'edit'
save the file and quit
$ git commit --amend -s --no-edit
$ git rebase --continue # and repeat the amend for each commit
$ git push -f

Ammending updates the existing PR. You DO NOT need to open a new one.

Please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "win-cli/redo" git@github.com:brendandixon/docker.git somewhere
$ cd somewhere
$ git rebase -i HEAD~3
editor opens
change each 'pick' to 'edit'
save the file and quit
$ git commit --amend -s --no-edit
$ git rebase --continue # and repeat the amend for each commit
$ git push -f

Ammending updates the existing PR. You DO NOT need to open a new one.

Hi @icecrime @tiborvass @crosbymichael,
Gabriel has just updated this pull request. We are now vendoring http://github.com/Azure/go-ansiterm package and the docker codebase only has a little piece of integration code. Please review and let @gabrielhartmann know what you think. :smile:

Thanks guys!

This is a lot better. A LOT better!. There are still some bugs though. Screenshots below. I tried docker pull Ubuntu:15.04 from Linux (against a Linux daemon). Compare with the output on Windows doing the same, targetting both the same Linux daemon, and a Windows daemon for good measure ( ;) ). Note how the Windows output is not quite correct. Using 1.7 master with the commits from this PR cherry-picked on Windows. On Linux, using 1.7 master.

@jhowardmsft apparently it's hard to take a diff by looking at 3 things by eye. what's the difference between these 3?

Notice how in Windows, no gap between "15.04 Pulling from Ubuntu" and the next lines. Also notice how c6a row appears twice in the first picture. And how the result of the "second" c6a is still in-progress. You can get the same by pointing the Windows CLI at Ubuntu - just the graph layers weren't consistent between the Linux and Windows daemons. Hence I know it's not a Windows daemon issue. Should have done a better screen-shot ;) If it helps, it's easier to see while the pull is in progress. Here's a sample of a Windows client pointing at a Linux daemon during the pull (after a docker rmi Ubuntu:15.04 so graph is clean). See the duplicate line at the bottom.

One more screenshot - compare with conemu with no emulation from docker cli. Looks more correct (although that's not perfect either), but the vertical spacing is correct certainly which is what seems to be the predominant issue with the new code.

@jhowardmsft I've captured the vertical spacing issue here.  https://github.com/Azure/go-ansiterm/issues/1
One of the key benefits of this pull request is that incremental improvements to the terminal emulation can be made against the go-ansiterm package without touch Docker's code except to update the vendor script.  This is the first draft of terminal emulation and is not my only work item at the moment.  So releasing the code so more than one person can contribute seems like a good idea to me.
Given that the current implementation crashes all the time and rarely produces even approximately correct output, I don't think this vertical spacing issue should block the pull request.

I agree that getting this in is definitely beneficial. LGTM :+1:

This change makes Ctrl-C almost worthless. Before this change, Ctrl-C was very responsive. Now, it takes many seconds before the effects of pushing Ctrl-C. To see this, try:
docker run -it --rm busybox find /

This will run for a long time unless interrupted. Try hitting Ctrl-C and you'll see that the results continue scrolling for about 15 seconds or so.

@jstarks Issues 2 and 3 from https://github.com/Azure/go-ansiterm address the Ctrl-C problem.  We have agreed this shouldn't block the PR in an offline discussion.
@icecrime @tiborvass @crosbymichael:
Is there anything left blocking this PR?  It would be nice to get this in pretty soon.

Looks like this PR is stalling for no reason.
Ping @docker/core-maintainers, this PR improves the ANSI emulation in Windows CLI a great deal and extracts all the Windows related code to a separate pkg, then vendors it. PTAL.

@cpuguy83 thanks for reviewing. Looks like the commit is updated now. Can we have more core-maintainers looking at this please? The PR has approached to the 1-month mark. :smile:

LGTM
But we should to a follow up PR to change the var logger *logrus.Logger var to just use the logrus functions on the package.

With this change, docker client can no longer start on Nano Server because of an unnecessary call to the missing GetCurrentConsoleFont (I don't see why GetWinsize needs to return font dimensions on Windows). I've got a fix in Microsoft/docker@8652dd352586b2ed09ed607864782c85ed9de4a2, but it can't be merged because it changes the vendored go-ansiterm.
Could one of @gabrielhartmann, @ahmetalpbalkan, @brendandixon take care of this before this gets merged?

@jstarks can you please send the PR to go-ansiterm? Then we can fix term_windows.go & re-vendor the pkg here.

Per @jhowardmsft request


[ci] Upgrade gradle to 8.12

Description
Brief description of what this PR is about

If this change is a backward incompatible change, why must this change be made?
Interesting edge cases to note here

The failure is not related to this PR, it was a bug in earlier CI refactor.
We should exclude fastText build for windows: https://github.com/deepjavalibrary/djl/blob/master/.github/workflows/continuous.yml#L67


Scalar value semantic metadata

Some scalar fields have additional semantics, i.e. a numeric column can be an icon, which implies a path within the game data to an icon texture, despite no explicit table relation existing for this lookup.
This will require changes to the schema to include a (presumably optional) metadata field on scalars.
Of further note, relationships are technically a scalar in the source sheet, so there may be room to redefine relationships as metadata on a scalar.

implemented as part of exdschema update


Support closing stream

In this version, we can close stream as following:
client = Twitter::Streaming::Client.new do |config|
  # Set up configuration
end

t = Thread.new do
  client.filter(track: keyword) do |object|
    # process object
  end
end

Signal.trap(:TERM) do
  # terminate process silently
  client.close
  exit true
end

@okkez This looks good but it’s causing the tests to fail because it reduces our code coverage percentage. Can you please add some tests that cover this code to ensure there are no regressions in the future. Thanks!

Any progress?

I've pushed changes for rubocop report.
But still failure caused by latest rubocop breaking changes.
@sferik Could you check this PR again?

Thank you for merging!!


feat: Feature to perform npmjs release

:tada: This PR is included in version 1.1.0-next.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


[Offtopic] Where to learn NodeJs/Javascript?

Heya,
I have been searching all over the place where to learn to code in NodeJS. And considered it better asking to more experienced people.
Generally the question:
Where would it be possible to learn NodeJS?
And is there a kind of mentoring program for it (online)?
Yours Faithfully,
RDash

I suggest starting with JavaScript ES2015+ and then NodeJS
https://developer.mozilla.org/it/docs/Web/JavaScript
https://nodejs.org/dist/latest-v6.x/docs/api/

Awesome! Thanks for the refference :)
Yours Faithfully,
RDash
On Wed, Aug 17, 2016 at 9:50 PM Luigi Maselli<EMAIL_ADDRESS>wrote:

I suggest starting with JavaScript ES2015+ and then NodeJS
https://developer.mozilla.org/it/docs/Web/JavaScript
https://nodejs.org/dist/latest-v6.x/docs/api/
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/carlos8f/zenbot/issues/27#issuecomment-240526459, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AHMwQ6S5EA4wbJUWMGm4zctu8Nddf326ks5qg2X2gaJpZM4Jmt2m
.

use this flowchart :)

what kind of code do you want to write?
come up with topics
search npmjs.org for topics
click on repository link for module(s) found
read through code
clone repo or copy-paste stuff into your own code
write tests (I use mocha) for what your code should do
make the code do it, gradually, until the tests pass


Handling of filename cases on Windows

Description
I just wasted some time searching for an error in typst (Windows) that wasn’t really an error but an unexpected result.
In short: I included a file in my main file using #include and misspelled the case of a letter. The command was:
#include "./Mytext.typ"
But the file is called “mytext.typ”.
When the main file is compiled, everything works fine. I guess the Windows file system does not distinguish between the file “Mytext.typ” and the file “mytext.typ”.
I was a little surprised, though, that
typst w Main.typ
did not respond when I change the file “mytext.typ”. And yes, I searched for some time before I realized the error in the case of the included file name.
I assume that Typst maintains a list of files to be monitored internally and sets a trigger that starts a compilation process when any monitored file changes. In doing so, the case of the file name is obviously evaluated correctly. In my case, the monitored file “Mytext.typ” will never change because it does not exist in the file system at all. Accordingly, however, changes to the file “mytext.typ” are not sent to the Typst compiler because this file is not monitored.
I’m not sure if this is a “bug” because AFAIK Linux and MacOS correctly distinguish between cases in file names, only Windows is sloppy here.
The error happens on typst 0.11.1 and 0.12-rc2.
Reproduction URL
No response
Operating system
Windows
Typst version

[X] I am using the latest version of Typst

std::fs::canonicalize works perfect on windows and probably solves it for windows. I have not tested it on unix since there is also a problematic case that multiple paths link to one file. Maybe it works on unix, too.


Move upgrade scripts into the qlpacks.

This should not go in until the internal PR https://git.semmle.com/Semmle/code/pull/34929 has been merged. See that for a further explanation.

The internal PR is now merged.

Looks like the check-queries Jenkins script needs to be taught to ignore the upgrade scripts. FWIW I do occasionally use "run all queries" on ql/src; I'll have to train myself to stop doing this now that the upgrade scripts are in there as well.

@max, is the "run all queries" you're talking about a QL4E command? I'm working on a general fix to exclude upgrades directories from all places that say "take all the .ql files in such-and-such directories".

(Sorry, wrong max pinged).

Closing in favor of the simpler https://github.com/Semmle/ql/pull/2214


Configuration file

Currently, deploying the server requires several commands. It would be nice to have a JSON configuration file that would handle all the set up (and of varying thoroughness, e.g. test vs full deployment config), such as downloading datasets via datalad, or finding them on the local file system.

@tyarkoni I was thinking of using a YAML configuration to set up the server and look for updates in the cron job.
For example:
datasets:
  studyforrest_phase2:
    location: ///openfmri/ds000113d
    tasks:
       - objectcategories
    extractors:
       - [pointer to a pliers json Graph]

Thoughts?

Closed with #73


Different results when run from pre-commit or cli

I am running into an issue where the pre-commit hook is generating a different result when it is run by a pre-commit hook or when it is run from the cli after installing the package.
When it is run from the CLI it is generating:
[settings]
known_third_party=cx_Freeze,py2exe,setuptools,versioneer,werkzeug

and the output from the pre-commit is from:
[settings]
known_third_party=cx_Freeze,py2exe,setuptools,werkzeug

I am unsure where to start with debugging this issue, what additional details or steps do I need to take to provide you with the results that you need?
This causes some issues with isort and it is breaking up third party library versioneer from setuptools in my setup.py file.

Do you have a repository I can look at and/or are you passing any commandline arguments?

I pulled out part of the project here:
https://github.com/wakemaster39/seed-isort-test
I am not passing any CLI arguments

hmmm, ok so my first attempt does not reproduce this:
rm -rf venv
virtualenv venv -ppython3.6 >& /dev/null
venv/bin/pip install pre-commit seed-isort-config >& /dev/null
venv/bin/seed-isort-config
grep known_third_party .isort.cfg
pre-commit run seed-isort-config
grep known_third_party .isort.cfg

$ bash -ex test.sh
+ rm -rf venv
+ virtualenv venv -ppython3.6
+ venv/bin/pip install pre-commit seed-isort-config
+ venv/bin/seed-isort-config
+ grep known_third_party .isort.cfg
known_third_party=cx_Freeze,py2exe,setuptools,werkzeug
+ pre-commit run seed-isort-config
seed isort known_third_party.............................................Passed
+ grep known_third_party .isort.cfg
known_third_party=cx_Freeze,py2exe,setuptools,werkzeug

But, if I do this:
--- test.sh.old	2018-06-20 13:47:04.000000000 -0700
+++ test.sh	2018-06-20 13:48:07.000000000 -0700
@@ -1,7 +1,9 @@
 rm -rf venv
 virtualenv venv -ppython3.6 >& /dev/null
 venv/bin/pip install pre-commit seed-isort-config >& /dev/null
+venv/bin/pip install versioneer >& /dev/null
 venv/bin/seed-isort-config
 grep known_third_party .isort.cfg
+git checkout -- .
 pre-commit run seed-isort-config
 grep known_third_party .isort.cfg

Now it reproduces:
$ bash -ex test.sh
+ rm -rf venv
+ virtualenv venv -ppython3.6
+ venv/bin/pip install pre-commit seed-isort-config
+ venv/bin/pip install versioneer
+ venv/bin/seed-isort-config
+ grep known_third_party .isort.cfg
known_third_party=cx_Freeze,py2exe,setuptools,versioneer,werkzeug
+ git checkout -- .
+ pre-commit run seed-isort-config
seed isort known_third_party.............................................Passed
+ grep known_third_party .isort.cfg
known_third_party=cx_Freeze,py2exe,setuptools,werkzeug

The root cause being:
# with `versioneer` installed
(Pdb) classify_import('versioneer')
'THIRD_PARTY'
# with `versioneer` not installed
(Pdb) classify_import('versioneer')
'APPLICATION'

The root cause is the versioneer.py file at the root of the repository shadowing the versioneer module installed

that would do it, I don't need versioneer installed once it has dropped its payload so I can remove it from the requirements. Thanks for the help sorting that one out, I know how to tackle debugging issues like that in the future now.

sweet, thanks for the issue :)


Implement Increment class

Implement the Increment class in a similar way to what was done with State.
I would recommend first creating a common base class, say Fields that State and Increment will both inherit from. Move the atlasFieldSet_ variable into this class. Then, as you're implementing the members of Increment, if the logic is identical to what is in State, move the entire member function from State to Fields... that way you wont' have to write as much duplicate code in Increment

@travissluka If it's ok, for now I'll plan not to implement Fields, but I'll keep this suggestion in mind and will implement it eventually as it makes sense. The reason is that Jim wants to have an initial result (e.g. pictures) as soon as possible, no later than Nov. 15.

@travissluka After completing class State, my next step will be to implement class Increment, although in your original "class implementation order for JEDI.docx" the next one should be class GetValues. I hope it's ok.

Sounds good. I think they could be done in either order, but Increment is similar to State, so it should probably be more straight forward. First step would be to create the common Fields base class and do a small or with that

@travissluka I'm dealing with missing_value/_FillValue, do we have a unified missng_value, e.g. 1.e20? As I checked the JEDI data files, some _FillValue are -3.33476705790481e+38, some are -999., and some NaNf. The problem is our current Atlas version does not support "missing_value" (Although Willem said that in his latest Atlas version it provides support for missing_value, which is 1 or 2-week ago.) So currently I'll have to compare the actual values to determine the missing_values.
Do you have any suggestions?

@travissluka I'm dealing with missing_value/_FillValue, do we have a unified missng_value, e.g. 1.e20? As I checked the JEDI data files, some _FillValue are -3.33476705790481e+38, some are -999., and some NaNf. The problem is our current Atlas version does not support "missing_value" (Although Willem said that in his latest Atlas version it provides support for missing_value, which is 1 or 2-week ago.) So currently I'll have to compare the actual values to determine the missing_values.
Do you have any suggestions?

@loganchen39 Try to keep conversations in their relevant issues (otherwise it can be hard for me to keep up with the dozen or so issues  I see a day), see https://github.com/UMD-AOSC/OISSTv3/issues/13 about the missing value issue. Also, if you are working on that now, please assign yourself on the github issue so that I know that you're working on it and to not look into it myself.
It is probably best if you do the following:

When reading in from a netcdf file and placing in an atlas structure, replace the _FillValue from the netcdf file with the missing values defined here https://github.com/JCSDA-internal/oops/blob/develop/src/oops/util/missingValues.h. These are the missing values that tend to be used throughout JEDI internally
when doing any of the State or Increment math, skip over the values equal to those in missingValues.h
When writing out to a netcdf file, you can probably use whatever you want for the netcdf _FillValue, I'm not sure what is being used throughout JEDI, but it's probably inconsistent. So use whatever you want

@loganchen39 also, after this week the JEDI team should be a lot less busy. If there are new features in atlas that you need, we can ask the JEDI folks to update to the latest versions.


UnixReady::priority conflicts with Ready::writable (on Linux at least)

fixes #896

@Thomasdezeeuw feel free to merge whenever.

Will merge once CI is ready.

Thanks @elmarco.


Login is not possible if php and mysql have different timezones

1. Why is this change necessary?
Following situation: The login timeout is set to 2 hours, php and mysql have different timezones set.
Shopware's login procedure does the following: After the password is verified, the lastlogin time is updated inside the loginUser method of sAdmin (source) using the php's timezone (new Zend_Date()). At the end of this method sCheckUser is called. Inside sCheckUser it will be checked if a timeout occured (e.g. user was inactive for X hours). This is done by comparing the value of lastlogin, which was just updated in the loginUser-method, but this time using the MySQL server's timezone (NOW(), source). If these times differ by >= 2hours the user is unable to login.
Shopware is overriding the default timezone with "Europe/Berlin" as said in issue SW-14889. While this is bad, as it is likely to trigger this error, it can't be the solution to just remove the default value. This might solve this issue in many cases. But still:
This is inconsistent. We should always use the same time provider. If we don't do that we run into the problem having the constraint, that php and mysql have to be in the same timezone in order to properly run Shopware. This should not be the case.
2. What does this change do, exactly?
Use php as date provider to check if the user ran into a timeout. (currently php and mysql is used which can cause trouble)
3. Describe each step to reproduce the issue or behaviour.
Set MySql's timezone to at least GMT+4. Do not explicitly set the timezone inside Shopware's config.php. Try to login: It's not working.
4. Please link to the relevant issues (if any).
SW-14889, should also be fixed, but it's not the main issue here.
5. Which documentation changes (if any) need to be made because of this PR?
none
6. Checklist

[ ] I have written tests and verified that they fail without my change
[X] I have squashed any insignificant commits
[x] This change has comments for package types, values, functions, and non-obvious lines of code
[X] I have read the contribution requirements and fulfil them.

I run the tests and tested the change by logging in.

Hey @simkli,
thank you for your contribution!
Could you please check why the tests are failing and provide a test for your change?

This PR was closed due to inactivity. If this change is still important to you, feel free to create a new pull request.
For more information about our contribution guidelines, see https://developers.shopware.com/contributing/contribution-guideline/.


How does this work?

The code is not documented so I struggle to understand how this works. Could someone explain it to me?

from: https://github.com/danielkrupinski/VAC-Bypass/
How it works
The goal is to make https://github.com/danielkrupinski/VAC/blob/2eeb40e38d0f0d7b828dbacb663ee00aef15c1ca/VAC/Utils.c#L187
function return false then VAC aborts scan for cheats. It can be done by bypassing this check for example.


App crashed when copying many files, not all files are copied, slow file operation

Steps to reproduce

Create a folder
Create a text file
Copy the text file a few times
Select the new text files
Copy the text files (Repeat 4 and 5) until you have like 50 files
Press CTRL+V a few times rapidly

debug_fulltrust.txt
debug.txt
It also seems like Files UWP is not copying all files if I copy and paste  around 1100. (See video: https://youtu.be/25vWaXKKITQ)
Last but not least, the file operation is extremely slow compared to the default Explorer (See video:  https://youtu.be/Jcr4lRnnDpU)

Related to #1222

Based on your log file, I've discovered the cause of a crash and made necessary improvements to fix it. We're hoping to get these changes out to testers soon. In the meantime, these changes landed in the StatusCenter branch.
I'll leave this open because there are other issues you reported here which may require additional validation.

@R3voA3 Is this still an issue in v0.21.1?

Yes, still the same issue.

@R3voA3 This issue should be resolved in master.

@R3voA3 This issue should be resolved in master.


🔥 Turkish translations, many fixes!

Hello there!
Thank you for creating this - my new favourite - new tab extension, I hope you the best. I tried my best to help you on your journey and I fixed many issues, missing translations, and some missing code! I really liked your project and I wanted to contribute to it. I have tested this before I sent this PR so it's safe, but please run your own tests and let me know if I missed anything.
This PR introduces

🔥 Turkish translations, for all pages and components!
🐛 Bug fixes (infinite loading in Top Sites etc.)
🐛 Missing titles: Bookmarks, Downloads, Sessions, System, Top Sites, Weather, Translate, and more...
🐛 Missing strings: Apps, Quick Links, RSS, Settings, Epitech, Isefac, and more...
🐛 Upgraded browser list package (which was throwing deprecation errors to console)

I really hope I didn't break anything, and I hope that I didn't mess with your coding habits like single quotes, indents and etc. that much. Keep this project updated! Good luck ♥

@Alexays 🤔

Hi @eggsy, sorry for the delay 😢
I'll check this out before the end of the week!
Thanks for this PR! ❤

All right ☺

Thanks for the changes!


Display featured movies for the user

Definition of Done:

Fetch the relevant data about upcoming movies from the database.
Implement logic to process and organize the retrieved data to prepare it for display to the user.
Consider factors such as movie title, release date, duration, genre, rating, and any other relevant details that should be included.

By using this, we can easily fetch the featured movie data from the database accurately.
So, I didn't find any errors in the code.
It might work in an efficient way.

Applying this movie feature display is a valuable addition, providing convenient access to key details like title, genre, release date, director, cast, and rating. This enhances the user experience by facilitating informed movie selection based on personal preferences

By using this, developer/users can be able to know the movies running currently and also the movies which will be going to release in future.


Query the function of the specified account

When the account is more and more, it takes time and effort to check the account.

Is this a search feature? Because having a search feature would simplify the usage a lot as I have many accounts added to my authenticator and its a pain to find some accounts on time.
I also think some sort of tagging and maybe a grouping of accounts would help make the app more usable

I'm closing this one as the original comment is not readable. Feel free to open a new bug with your suggestion, @arjunamrith.
But, standard disclaimer:
FYI: The version in Google Play Store / Apple App store is not the same as this opensource version. They've diverged. This opensource version is also unlikely to end up in the app stores. This open source version doesn't get much love, but I'll accept well-written pull requests. But don't expect this feature to be implemented by Google.

Also see #78


Typescript error

Please describe the bug in detail

Could you please provide the version of alova and @alova/scene-react?

I should have found the problem.
Upgrade @alova/scene-react it can be resolved.

still the same problem:
"@alova/scene-react": "1.4.6"
 "alova": "^2.17.1"

please upgrade to<EMAIL_ADDRESS>to resolve it. Thanks for your feedback.❤


mp3tag: fix hash

Seems like the devs uploaded a new file without changing the version.

@r15ch13 can you please merge this? The package can't be installed right now


python3Packages.pygame-gui: init at 0.5.7

Motivation for this change
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Relase notes)

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

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 130328 at 62335614 run on aarch64-linux 1

2 packages built successfully:

python38Packages.pygame-gui
python39Packages.pygame-gui

2 suggestions:

warning: missing-patch-comment
Consider adding a comment explaining the purpose of this patch on the line preceeding.
Near pkgs/development/python-modules/pygame-gui/default.nix:24:5:
   |
24 |     (substituteAll {
   |     ^

warning: missing-patch-comment
Consider adding a comment explaining the purpose of this patch on the line preceeding.
Near pkgs/development/python-modules/pygame-gui/default.nix:28:5:
   |
28 |     ./skip-clipboard-tests.patch
   |     ^


Problem with injecting angular-jqcloud into angular Project

Project Structure

index.html

app.js

view3.js

bower.js

The http load files

The error

Why angular jqcloud is not a bower package ? Do you have jquery ?

Normally i installed jqcloud by bower and doesn't work and i tried with the manually installation yes i have Jquery

Index.html

(i can upload it github if you want on )

https://github.com/medamineosm/Angular-JQcloud-Project

You are loading angular-jqcloud before angular !!

Thank you very much.


Add support for MQC

Searched from api center that there is no api for MQC.
Could you please add this api into aliyun-cli? So we can integrate app compatibility test into our CI.

Hi @Chaoba The MQC has not OpenAPI, so the cli tool can not support it.


Backport old version while we investigate possible ruby + openssl issues

Creating this pull request to act as discussion for pushing this backport version.

This has been merged.


Enhancement: Using Built-in Unity Animator & Animations

Hello, I've recently downloaded the Unity Package to implement in our game because the latest spriter update has broken our animations using the Spriter2UnityDX plugin.
Everything that you've done is pretty radical, but one thing that I loved about Spriter2UnityDX was that it built unity animations and allowed their use in the Animator, so that we could control our animations with state machines and use fancy features like Foot IK.
After a quick look, it looks like this one does all of the work itself which is impressive, but I'm not sure how I could use the built in components with it.
Have you got plans to add support for these things? Or have you got any advice on how to do it myself?

Hi,
The goal of SpriterDotNet is to implement all the features from Spriter in a platform agnostic way. In other words, it tries to do all the work independently of any platform. It uses the concrete platforms almost exclusively as a renderer, at least regarding actual animations. The downside of this approach is the inability to use some of the platform's feature (like Unity's animation system).
On the other hand, some of the features should be rather straightforward to implement directly in the lib - like the state machine driven animations. This is definitely a great suggestion and I'll definitely add it in the near future.
As for other features, it really depends on the feature. Feel free to suggest specific features or implement them yourself and submit them via a pull request - contributions are always welcome. If you decide to contribute, I'd be happy to discuss and offer help either here or on the Spriter forum.
Cheers


Reset filter button shown when default filter set & in default state

Let's have a select filter 'status' with the following options:
null or '' => 'All'
1 => 'Active'
0 => 'Inactive'
Without a default filter set, the reset button is shown only when 1 or 0 is selected in the filter. That's an expected behaviour.
Setting a default filter to ['status' => 1] causes a state when the reset button is shown for value 1 (the same applies to value 0), but not for null.
I would expect the reset button is shown for null and 0, and not for 1 as this is the default filter value.
I might be able to send a pull request , but I'd like to know first if you consider this a bug or a feature.
Thank you.

Hm, that is hard to say. Reset filter button basically triggers a session flush, but does not expect any values in default filter.
@pavelgajdos What behaviour would you suggest?


How to create one route for receiving non graphql post requests?

And configure body-parser for it, to access req.body params?
So i have my graphql server, and want to receive some non graphql data on it, and get req.body.
server.express.post('/rout',bodyParser.json(), bodyParser.urlencoded({ extended: true }), function(err, req, res, next){
  const params = req.body;
})

I can accesss req.body like in the code sample. But what if i want to enable the bodyParser to several routes?
How can i access the ctx.db.query  or ctx.db.mutation from this route?

I have similar question also registering body-parser on root route / emits errors (probably because body parser is registered more than one times)
I need to add custom rest-api endpoints to the same app for which I need body-parser.

@triesa @mubaidr
For me registering custom express router(s) after the graphql server has started works.
await graphQLServer.start(serverOptions);

const customRouter = Express.Router();
customRouter.use(BodyParser());
customRouter.post('/some/other/router', handler);

graphQLServer.express.use(customRouter);

hi @yss14 ! Thanks for your answer,
I still dont get how you manage to have acces to ctx, in order to hit the databse?
THanks

Perhaps this is going to help someone
const prismaClient = new Prisma({
      typeDefs: path.join(__dirname, './generated-schema.graphql'),
      endpoint: 'http://localhost:4466/',
});

const server = new GraphQLServer({
  typeDefs,
  resolvers,
  directiveResolvers,
  context: req => ({
    ...req,
    db: prismaClient,
  }),
})

server.express.get('/route', async (req, res, done) => {
    const params = req.body;
    // Invoke prisma from here
    let smth = await prismaClient.query.users(...);
});

Hae guys this is not working for me. Am running next js on the frontend and graphql yoga. I have tried doing this for an endpoint '/payment' but nothing is working

If it is from your browser, it should be a ‘GET‘ not. ‘POST‘.
If you want to user ‘POST‘ use postman software to simulate a ‘POST‘

Perhaps this is going to help someone
const prismaClient = new Prisma({
      typeDefs: path.join(__dirname, './generated-schema.graphql'),
      endpoint: 'http://localhost:4466/',
});

const server = new GraphQLServer({
  typeDefs,
  resolvers,
  directiveResolvers,
  context: req => ({
    ...req,
    db: prismaClient,
  }),
})

server.express.get('/route', async (req, res, done) => {
    const params = req.body;
    // Invoke prisma from here
    let smth = await prismaClient.query.users(...);
});

@peterrogov This was exactly what I was looking for! Thank you.

If it is from your browser, it should be a ‘GET‘ not. ‘POST‘.

Why not though?


Permission denied error when uncommenting volumeClaimTemplates

Describe the bug
I have configured EMQX as following
    apiVersion: apps.emqx.io/v2alpha1
    kind: EMQX
    metadata:
      name: emqx
    spec:
      image: emqx/emqx:5.0.6
      coreTemplate:
        metadata:
          name: emqx-core
          labels:
            apps.emqx.io/instance: emqx
            apps.emqx.io/db-role: core
          annotations:
        spec:
          replicas: 1
          volumeClaimTemplates:
            resources:
              requests:
                storage: 1Gi
            accessModes:
              - ReadWriteOnce
          ports:
            - containerPort: 1883
          envFrom:
            - prefix: EMQX_
              configMapRef:
                name: emqx-config
            - prefix: EMQX_AUTHENTICATION__0__
              secretRef:
                name: emqx-pgsql-connection
            - prefix: EMQX_AUTHORIZATION__SOURCES__0__
              secretRef:
                name: emqx-pgsql-connection
          resources:
            limits:
              # cpu: 100m
              memory: 256Mi
            # requests:
            #   cpu: 100m
            #   memory: 256Mi
      dashboardServiceTemplate:
        metadata:
          name: emqx-dashboard
        spec:
          selector:
            apps.emqx.io/db-role: core
          ports:
            - name: "dashboard-listeners-http-bind"
              protocol: TCP
              port: 18083
              targetPort: 18083
      listenersServiceTemplate:
        metadata:
          name: emqx-listeners
        spec:
          ports:
            - name: "tcp-default"
              protocol: TCP
              port: 1883
              targetPort: 1883

When the emqx-core-0 starts it crashes with following error:
mkdir: cannot create directory ‘/opt/emqx/data/configs’: Permission denied                                                                │
│ Stream closed EOF for my-namespace/emqx-core-0 (emqx)

To Reproduce
Steps to reproduce the behavior:
I just uncommented volumeClaimTemplates section under coreTemplate [also removed hardcoded storageClassName so that the default is selected] - removed replicantTemplate section, as not required - removed commented code
Expected behavior
This error should not come when using "sample" config values.
Not sure, how to fix this - looks like the pod has no write permission on volume mounted - either it controller has bug or config is wrong.
Environment details::

Kubernetes version: 1.23.10
Cloud-provider/provisioner: Linode
emqx-operator version:  2.0.0
Install method: Helm + Helmfile

Hi, @daadu Thanks for your feedback, please check https://github.com/emqx/emqx-operator/pull/386/files, add podSecurityContext  and containerSecurityContext  and retry


FileNotFoundException for Microsoft.CSharp.dll

Describe the bug
After updating Visual Studio (not sure if related) RoslynPad reports error on start. Run (green play button) is disabled.
To Reproduce
Not sure how to reproduce it, it looks like it's environment specific.
Expected behavior
It's expected RoslynPad to start without errors.
Version

OS: Windows 11
Build (or commit ID if built from source): v17 from Windows Store

Exception:
System.IO.FileNotFoundException: Could not find a part of the path 'C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\Microsoft.CSharp.dll'.
File name: 'C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\Microsoft.CSharp.dll'
 ---> System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Ref\7.0.0\ref\net7.0\Microsoft.CSharp.dll'.
   at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options)
   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
   at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
   at System.IO.Strategies.FileStreamHelpers.ChooseStrategyCore(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
   at Roslyn.Utilities.StandardFileSystem.OpenFile(String filePath, FileMode mode, FileAccess access, FileShare share)
   at Roslyn.Utilities.CommonCompilerFileSystemExtensions.OpenFileWithNormalizedException(ICommonCompilerFileSystem fileSystem, String filePath, FileMode fileMode, FileAccess fileAccess, FileShare fileShare)
   at Roslyn.Utilities.CommonCompilerFileSystemExtensions.OpenFileWithNormalizedException(ICommonCompilerFileSystem fileSystem, String filePath, FileMode fileMode, FileAccess fileAccess, FileShare fileShare)
   at Microsoft.CodeAnalysis.MetadataReference.CreateFromFile(String path, MetadataReferenceProperties properties, DocumentationProvider documentation)
   at RoslynPad.Roslyn.RoslynHost.CreateMetadataReference(String location) in C:\src\github\aelij\RoslynPad\src\RoslynPad.Roslyn\RoslynHost.cs:line 109
   at System.Linq.Enumerable.WhereSelectArrayIterator`2.ToArray()
   at System.Collections.Immutable.ImmutableArray.CreateRange[T](IEnumerable`1 items)
   at RoslynPad.Build.ExecutionHost.<>c__DisplayClass106_0.<<RestoreAsync>g__ReadReferencesAsync|2>d.MoveNext() in C:\src\github\aelij\RoslynPad\src\RoslynPad.Build\ExecutionHost.cs:line 742
--- End of stack trace from previous location ---
   at RoslynPad.Build.ExecutionHost.<>c__DisplayClass106_0.<<RestoreAsync>g__DoRestoreAsync|0>d.MoveNext() in C:\src\github\aelij\RoslynPad\src\RoslynPad.Build\ExecutionHost.cs:line 710

dotnet from command line works as expected (dotnet build, dotnet run)

Reinstalling the app from Microsoft Store didn't help.
I have downloaded and run main branch without issues. Not sure if it's helpful, but I have a workaround.


[Question] Get public key from private key?

Can you obtain the public key from the private key? OpenPGP's Javascript version has this functionality, but doesn't seem like it's implemented here.

Hi @Myzel394 yeah, you can do it using
OpenPGP.convertPrivateKeyToPublicKey("[privateKey

@jerson Thank you, I also just found it in the docs 😆 thought "Convert methods" were methods for type conversions :D


[Azure] - Create New Experiment Subscription List Blank

System Information (please complete the following information):

Model Builder Version: 16.0.2002.2301
Visual Studio Version: VS2017

Describe the bug
Dropdown list for subscriptions is blank. Pressing the refresh button populates it.
Screenshots

Likely repro...

Open dialog. Select a subscription
Close dialog without creating an experiment
Reopen dialog.


Modularizing Code

Modularized code allows for reuse of POST, PUT, and DELETE requests to update specific user data. When User finishes,  they are redirected to the login page.
Login Redirect

Discussed adjustments and this is closed.


RLIM_* constants mismatch with system header files

The three constants defined in libc are different from those defined in <sys/resources.h> on some platforms.
libc::RLIM_INFINITY
libc::RLIM_SAVED_CUR
libc::RLIM_SAVED_MAX

Targets
arm-unknown-linux-gnueabi
arm-unknown-linux-gnueabihf
armv5te-unknown-linux-gnueabi
armv7-unknown-linux-gnueabihf
i586-unknown-linux-gnu
i686-unknown-linux-gnu
mips-unknown-linux-gnu
mipsel-unknown-linux-gnu
powerpc-unknown-linux-gnu

Test code: https://github.com/Nugine/libc-rlim-mismatch/blob/master/src/lib.rs
Test result: https://github.com/Nugine/libc-rlim-mismatch/actions/runs/1984774750
This bug is initially discovered in Nugine/rlimit tests.
Test result: https://github.com/Nugine/rlimit/actions/runs/1984623879
Workflow file: https://github.com/Nugine/rlimit/actions/runs/1984623879/workflow
Issue: https://github.com/Nugine/rlimit/issues/30

PRs are very welcome! Please link the relevant header, the test results link is dead.


Update commit message to match commitizen format

Plz merge this magnificent contribution to this delightful project of which I rely on 100s of times weekly

Thanks for the contribution @matthew-ewing 🎉!


Add Machine Learning free course from coursera

@SubhrajyotiSen this is the course in the main curriculum :smile:

Oh yes!  My bad


Calculation of Total Power Consumption

Dear all
I would like to calculate the total power consumption of the house with Node Red it is displayed in the SMA App on the lower right side.
Has anybody an idea what objects I need to consider in the calculation. I started a trial but it is quite try and error because the values in the app change as well as in the adapter.
Thanks!

@stevoboy
There has already been a discussion about this topic ongoing in the iobroker forum. https://forum.iobroker.net/post/740948, which offered several possible solutions. Please have a look there and if the answers of the forum  members do not satisfy your needs then I suggest that you ask your question in the forum.
To summarize the solutions of the forum: use the consumption counters either of the SHM (sma-em adapter: pregardcounter) or the inverter (modbus-adapter: register 30581). Compute the daily consumption either via a script or using the statistics-adapter or the sourceanalytix-adapter (at 23:59: daily consumption = countervalue now - countervalue yesterday; countervalue yesterday = contervalue now;)


feat(UI): add user location to user profile page

Checklist
This feature pulls datahub users location country and adds it to their user profile page displayed as such.
This PR involves an additional SGV globe icon and the addition of a new package for converting user country code to country.

[x] The PR conforms to DataHub's Contributing Guideline (particularly Commit Message Format)
[x] Links to related issues (if applicable)
[x] Tests for the changes have been added/updated (if applicable)
[x] Docs related to the changes have been added/updated (if applicable). If a new feature has been added a Usage Guide has been added for the same.
[x] For any breaking change/potential downtime/deprecation/big changes an entry has been made in Updating DataHub

Where is the location information coming from?  As part of ldap ingestion?
What happens if the location information is not present.  How does the UI behave?


Flutter web debug stops on breakpoints but in another source file on Visual Studio Code

I'm using flutter web on Visual Studio Code for a long time without problems. I've updated to the last Flutter release (2.10.4) and all continues well during some days but, suddenly, the breakpoints stops in other parts of code.
I've created a new project and put a breakpoint on main.dart, on runApp(MyApp()):
void main() {
  runApp(MyApp());
}

When the program starts, on VSC the breakpoint is stopped on the file web_entrypoint.dart (not in main.dart), on the first line. On Chrome, is correct, the source shown is main.dart and stopped on the breakpoint.
I've downgraded Flutter, uninstalled Flutter and Visual Studio Code, but continues with the same problem.
Flutter doctor indicates that everything is correct:
✓] Flutter (Channel stable, 2.10.4, on KDE neon User - 5.24 5.13.0-39-generic, locale es_ES.UTF-8)
    • Flutter version 2.10.4 at /home/indulgeme-dev/snap/flutter/common/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision c860cba910 (hace 7 días), 2022-03-25 00:23:12 -0500
    • Engine revision 57d3bac3dd
    • Dart version 2.16.2
    • DevTools version 2.9.2

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /opt/android-sdk
    • Platform android-31, build-tools 31.0.0
    • Java binary at: /opt/android-studio-2021.1.1/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7590822)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at google-chrome

[✓] Android Studio (version 2021.1)
    • Android Studio at /opt/android-studio-2021.1.1/android-studio
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7590822)

[✓] Android Studio
    • Android Studio at /opt/android-studio
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.11+0-b60-7590822)

[✓] VS Code (version 1.65.2)
    • VS Code at /usr/share/code
    • Flutter extension version 3.36.0

[✓] Connected device (2 available)
    • Moto G 5 Plus (mobile) • ZY2247BMKF • android-arm    • Android 8.1.0 (API 27)
    • Chrome (web)           • chrome     • web-javascript • Google Chrome 100.0.4896.60

[✓] HTTP Host Availability
    • All required HTTP hosts are available

Hi @dumabg, Thanks for filing the issue. I am able to reproduce the issue on stable and the master channel on macOS, While it works fine on Ubuntu and execution stops at the breakpoint.
macOS

Ubuntu

flutter doctor -v (mac)
[✓] Flutter (Channel stable, 2.10.4, on macOS 12.3 21E230 darwin-arm, locale en-GB)
    • Flutter version 2.10.4 at /Users/mahesh/Documents/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision c860cba910 (3 days ago), 2022-03-25 00:23:12 -0500
    • Engine revision 57d3bac3dd
    • Dart version 2.16.2
    • DevTools version 2.9.2

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.10.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 61.2.4
    • Dart plugin version 212.5080.8

[✓] VS Code (version 1.65.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.37.20220301

[✓] Connected device (4 available)
    • Redmi K20 Pro (mobile) • <IP_ADDRESS>:55555                    • android-arm64  • Android 11 (API 30)
    • iPhone 12 Pro (mobile) • 535317A4-921C-488F-B234-C2CC6D4AE5A1 • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-14-5 (simulator)
    • macOS (desktop)        • macos                                • darwin-arm64   • macOS 12.3 21E230 darwin-arm
    • Chrome (web)           • chrome                               • web-javascript • Google Chrome 99.0.4844.83

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

[✓] Flutter (Channel master, 2.13.0-0.0.pre.277, on macOS 12.3 21E230 darwin-arm, locale en-GB)
    • Flutter version 2.13.0-0.0.pre.277 at /Users/mahesh/Documents/flutter_master
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 13d2381109 (6 hours ago), 2022-03-27 21:00:08 -0400
    • Engine revision 559e259c54
    • Dart version 2.17.0 (build 2.17.0-246.0.dev)
    • DevTools version 2.11.4

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/mahesh/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • ANDROID_HOME = /Users/mahesh/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)
    • All Android licenses accepted.

[!] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    ! CocoaPods 1.10.2 out of date (1.11.0 is recommended).
        CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin
        usage on the Dart side.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/platform-plugins
      To upgrade see https://guides.cocoapods.org/using/getting-started.html#installation for instructions.

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 4.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.8+10-b944.6916264)

[✓] IntelliJ IDEA Community Edition (version 2021.2.1)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 61.2.4
    • Dart plugin version 212.5080.8

[✓] VS Code (version 1.65.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.37.20220301

[✓] Connected device (4 available)
    • Redmi K20 Pro (mobile) • <IP_ADDRESS>:55555                    • android-arm64  • Android 11 (API 30)
    • iPhone 12 Pro (mobile) • 535317A4-921C-488F-B234-C2CC6D4AE5A1 • ios            •
      com.apple.CoreSimulator.SimRuntime.iOS-14-5 (simulator)
    • macOS (desktop)        • macos                                • darwin-arm64   • macOS 12.3 21E230 darwin-arm
    • Chrome (web)           • chrome                               • web-javascript • Google Chrome 99.0.4844.83

[✓] HTTP Host Availability
    • All required HTTP hosts are available

! Doctor found issues in 1 category.

I'm on Debian and having similar problems.

Is it only on Chrome 100? earlier?  other browsers?

I ask because I see this too but just after upgrading to chrome 100 and I may have seen post somewhere else in which  someone mentioned it specifically in Chrome 100.

I have Chrome 100.0.4896.60 (Build oficial) (64 bits)

I'm having the same problem on Ubuntu -  with IntelliJ 2021.3.3 Build #IU-213.7172.25, Dart plugin 213.7306, Flutter plugin 66.0.3, Chrome Version 100.0.4896.60 (Official Build) (64-bit)
flutter doctor -v
[✓] Flutter (Channel stable, 2.10.4, on Ubuntu 21.10 5.13.0-39-generic, locale en_US.UTF-8)
    • Flutter version 2.10.4 at /home/dsyrstad/Flutter/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision c860cba910 (11 days ago), 2022-03-25 00:23:12 -0500
    • Engine revision 57d3bac3dd
    • Dart version 2.16.2
    • DevTools version 2.9.2

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /home/dsyrstad/Android/Sdk
    • Platform android-31, build-tools 31.0.0
    • ANDROID_SDK_ROOT = /home/dsyrstad/Android/Sdk
    • Java binary at: /home/dsyrstad/AndroidStudio/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6222593)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at google-chrome

[✓] Linux toolchain - develop for Linux desktop
    • Ubuntu clang version 13.0.0-2
    • cmake version 3.18.4
    • ninja version 1.10.1
    • pkg-config version 0.29.2

[✓] IntelliJ IDEA Ultimate Edition (version 2021.3)  <---- NOT CORRECT
    • IntelliJ at /home/dsyrstad/IntelliJ/idea-IU-202.6397.94 <---- NOT CORRECT
    • Flutter plugin version 66.0.3
    • Dart plugin version 213.7306

[✓] VS Code
    • VS Code at /snap/code/current
    • Flutter extension version 3.29.0

[✓] Connected device (2 available)
    • Linux (desktop) • linux  • linux-x64      • Ubuntu 21.10 5.13.0-39-generic
    • Chrome (web)    • chrome • web-javascript • Google Chrome 100.0.4896.60

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

Seems like several people encountered this issue with chrome update, investigating.

Confirmed. I've downgraded to the same version (v99.0.4844.51) and it works. It's a Chrome problem.

It sounds like this is a confluence of two issues, one of which is https://github.com/dart-lang/webdev/issues/1557

Yes, I believe there are two issues here. Both affect Flutter Web users when they are debugging with breakpoints:
1. https://github.com/dart-lang/webdev/issues/1557

DESCRIPTION: No stack trace / variable information is shown when a user hits a breakpoint. This is only affecting users on Chrome v. 100 or later, and is due to a change that Chrome introduced. @annagrin has a fix: https://github.com/dart-lang/webdev/pull/1559

2. https://github.com/flutter/flutter/issues/101388

DESCRIPTION: A user can hit a breakpoint, and inspect the call stack, but the breakpoint is in the wrong location. This is affecting users on earlier versions of Chrome (I can reproduce on v.99.0.4844.84).

duplicate of https://github.com/flutter/flutter/issues/101224

Closing this as duplicate of linked issue. Please follow-up in it for further updates.


response.set_raw_body support

HI,
I'd like to ask whether there is a chance that the response.set_raw_body() functionality introduced in Kong 2.8.0 will be added soon.
Kind Regards,
Mateusz

@mpromny All Kong PDK functions supported by Kong are automatically supported in python-pdk; there might be some missing docs (and .pyi interfaces) but you can use them.

Hi @fffonion ,
Would you please help me once more? Unfortunately, I am forced to reopen this issue and ask for some guidelines or clarification on what I am doing wrong.
Requirements:

modify body of requests and responses based on header

Current Env:

Kong: 2.8.1
kong-python-pdk: 0.3
K8s with Istio (http2) - extra condition, currently disabled to force HTTP 1.1

Current Status:

Modify Request body - it is working (Access Phase)
Modify Response body - I cannot activate body_filter phase

Code:
    def rewrite(self, kong: Kong):
        kong.service.request.enable_buffering()

    def access (self, kong: Kong):
        try:
            if true:
                kong.service.request.enable_buffering()
                self.transform_request_body(kong, kong.request.get_body())
        except Exception as err:
            kong.log.err(f"TRANSFORMATION - error: {err}")
            return self.error_response(kong, "Transformation issue")

    def body_filter(self, kong: Kong):
        body0 = kong.response.get_raw_body()
        body1 = kong.service.response.get_body()
        body2 = kong.service.response.get_raw_body()
        kong.response.set_raw_body("{}")
        kong.log.debug(f"PHASE body_filter")
        kong.response.exit(404, "body_filter phase")

Issue/Questions:

I cannot activate body_filter phase. I would ask for any tips on what I might be doing wrong. Based on the documentation:

Plugin needs to call kong.service.request.enable_buffering() on `rewrite` or `access` phase prior calling this function.

Clarification:

above posted code has been tested on components without Istio, with forced http 1.1 protocol.

I found information that kong.service.request.enable_buffering() works only for http/1.1. Therefore I assume that get/set response body will not work with istio/envoy which uses http2. Would you please confirm that?

Kind regards,
Mateusz

Hi @mpromny there're two factors in play here:

First one is external plugins doesn't support body_filter yet; to get a response body from external plugin, you will need to use the response phase.
Response phase doesn't work with http/2 requests, same limitation as you found. So yes the end result is you can't get the http/2 body in an external plugin for now. The limitation is not exist for non-http/2 request, or Lua plugins.

Hi @fffonion,

Unfortunately, I was not able to get the response body in response phase

response phase

I tested the below pasted code:
    def response(self, kong: Kong):
        body = kong.service.response.get_raw_body()

        kong.log.err(f" { body[0]} ")
        kong.response.exit(404, "body_filter phase")

and was able only to get/see request body instead of response body:
Request Body:
{"mat": "test"}

Lua plugins

May I ask you to confirm, if I understand correctly:
We have to use "lua plugins" if we want to:

modify response and requests body
plugins in lua are not constrained by the http version. In other words, in lua we will be able to process (get/set features) response bodies freely, regardless of the http protocol version.

I would ask for some guidelines/advice on how you think it would be best to implement response/request body processing in Kong.  Do you think that there is any chance that access to response body will be easier in the near future?


full fledged lu decomposition

merge please when tests and docs arrive

tests still missing

just meta test is missing could you please help

Strange, i just merged, retrieved on my computer, and all tests are passing


[Feature] Mode change hook

For mode related autocommand events, vim has InsertEnter/Leave and CmdlineEnter/Leave, but nothing for e.g. Visual mode.
Would it be possible to add something along the lines of
autoload/airline.vim:

function! airline#check_mode(winnr)
  ...
  if get(w:, 'airline_lastmode', '') != mode_string
    call airline#...
    ...
    if exists("*ModeChangeHook")
      call ModeChangeHook(l:mode)
    endif
  endif

since you are already calling mode() on status line update?

I would. But one should be very carful with that, to not trigger this recursively, be fast and to not change the mode after the hook has been run. Also note, it won't be possible to have an explicit ModeEnter/ModeLeave autocommand

Yes, but those are just the usual autocommand concerns. Fast is why I'd like to hook into the result of your mode evaluation rather than doing it again myself on a status line update. For ModeLeave, the hook can just keep l:mode around to see which is switched away from.


🍒 Cherry pick PR #7044 to staging 🍒

🍒 Cherry pick https://github.com/Expensify/App/pull/7044 to staging 🍒

🚀 Cherry-picked to staging by @OSBotify in version: 1.1.25-1 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes.

🚀 Deployed to production by @francoisl in version: 1.1.25-1 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

🚀 Deployed to production by @Jag96 in version: 1.1.26-1 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


[feature request] Be able to specify HTTP auth parameters when creating subscriptions

Currently there is no way to have open-source Kapacitor embed HTTP auth credentials in a subscription. This can be useful for users who are routing subscriptions through a proxy, and enforcing authentication at the proxy layer (transparent to Kapacitor). Similar to the kapacitor-hostname and kapacitor-port configuration options available to influxdb blocks, a http-auth-username / http-auth-password option would be needed to inject user credentials when creating subscriptions.
For example, the configuration:
[[influxdb]]
  http-auth-username = "myuser"
  http-auth-password = "mypassword"

Would generate subscriptions with a target similar to:
http://myuser:mypassword@myhost.example.com:9092

👍

Was not much work to add so I have a PR ready to go, but I have to go through some red tape, to make certain that I am allowed to sign the CLA as this is "work" related.  My guess is by the time this happens kapacitor will have implemented auth, and people will be living on Mars...

Hi @octalthorpe,
I have a need to implement basic auth and would appreciate getting a look at your code.  Is there any way you can share it or even just provide a few more details?  In any case, I'm fairly sure my employer will allow me to contribute it back if I'm able to figure it out.  Thanks!

I'd also be interested in this - would also be great to get native authentication in the open source version (#1480), but would be happy for a reverse proxy to handle authentication as described by @rossmcdonald


fix(deployment): check certificate exists before creating deployment

Signed-off-by: Artur Troian<EMAIL_ADDRESS>

I think the deploy tool we added needs the same check before it starts doing things. Otherwise send-manifest is going to fail for that as well

superseded by #1085


Speackers not detected  (No sound)

#Speakers not detected
#MacBook Pro M1 Pro
#Asahi Ubuntu (Ubuntu 24.04 LTS)

Can you try restart speakersafetyd using systemd and see if the output device shows up?


Issues with importing / ue version issue

Hello,
will this work with Unreal engine 5.4.4? If so, I have an issue with importing. After downloading ZIP of this project I extract it to a folder and put it in a folder called "Plugins" in my game directory. I get "The following modules are missing or built with a different engine version: SimpleHttpServer" error.  What could be the issue and how to fix it?

Hi. Looks like you use blueprints only project. This plugin needs to be compiled from source code manually for UE 5.4.4
I will compile plugin for UE 5.4.4 and publish this for you.

Hello, will this work with Unreal engine 5.4.4? If so, I have an issue with importing. After downloading ZIP of this project I extract it to a folder and put it in a folder called "Plugins" in my game directory. I get "The following modules are missing or built with a different engine version: SimpleHttpServer" error. What could be the issue and how to fix it?

Hi. Here is exactly was error for UE 5.4
I'm fixed that and now plugin support UE 5.4
You can get latest release here: https://github.com/Kaboms/UE-Simple-Http-Server/releases/tag/v.1.0


[0.11] [Discuss Merge option] Add storage cache layer.

The layer is enabled by default, but can be disabled via command line flag.

Not in 0.11.1. Close for now.


cannot import name 'QConfig' from 'torch.ao.quantization'

Instructions To Reproduce the 🐛 Bug:

Full runnable code or full changes you made:

cloned d2go
!git clone https://github.com/facebookresearch/d2go
%cd d2go
!pip install .

did this temporary fix from below link -
# temporary fix: https://github.com/facebookresearch/d2go/issues/141
with open('/usr/local/lib/python3.7/dist-packages/d2go/modeling/meta_arch/rcnn.py', 'r') as f:
  rcnn_py = f.read()

with open('/usr/local/lib/python3.7/dist-packages/d2go/modeling/meta_arch/rcnn.py', 'w') as f:
  rcnn_py = rcnn_py.replace('torch.ao.quantization', 'torch.quantization')
  f.write(rcnn_py)

started using d2go -
from d2go.model_zoo import model_zoo
from d2go.utils.demo_predictor import DemoPredictor

from d2go.runner import GeneralizedRCNNRunner

What exact command you run:

!pip install pyyaml==5.1

import torch
TORCH_VERSION = ".".join(torch.__version__.split(".")[:2])
CUDA_VERSION = torch.__version__.split("+")[-1]
print("torch: ", TORCH_VERSION, "; cuda: ", CUDA_VERSION)
# Install detectron2 that matches the above pytorch version
# See https://detectron2.readthedocs.io/tutorials/install.html for instructions
!pip install detectron2 -f https://dl.fbaipublicfiles.com/detectron2/wheels/$CUDA_VERSION/torch$TORCH_VERSION/index.html

torch:  1.10 ; cuda:  cu111
from d2go.model_zoo import model_zoo

Full logs or other relevant observations:

---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-9-46b9b2c0c0ee> in <module>()
----> 1 from d2go.model_zoo import model_zoo
      2 from d2go.utils.demo_predictor import DemoPredictor
      3
      4 from d2go.runner import GeneralizedRCNNRunner
      5

3 frames
/usr/local/lib/python3.7/dist-packages/d2go/model_zoo/model_zoo.py in <module>()
      5 import pkg_resources
      6 import torch
----> 7 from d2go.runner import create_runner
      8 from d2go.utils.launch_environment import MODEL_ZOO_STORAGE_PREFIX
      9 from detectron2.checkpoint import DetectionCheckpointer

/usr/local/lib/python3.7/dist-packages/d2go/runner/__init__.py in <module>()
     12     TRAINER_HOOKS_REGISTRY,
     13 )
---> 14 from .lightning_task import DefaultTask
     15
     16

/usr/local/lib/python3.7/dist-packages/d2go/runner/lightning_task.py in <module>()
     27 )
     28 from d2go.optimizer import build_optimizer_mapper
---> 29 from d2go.runner.callbacks.quantization import maybe_prepare_for_quantization, PREPARED
     30 from d2go.runner.default_runner import (
     31     Detectron2GoRunner,

/usr/local/lib/python3.7/dist-packages/d2go/runner/callbacks/quantization.py in <module>()
     14 from pytorch_lightning.callbacks import Callback
     15 from pytorch_lightning.utilities import rank_zero_info
---> 16 from torch.ao.quantization import (  # @manual
     17     QConfig,
     18     QConfigDynamic,

ImportError: cannot import name 'QConfig' from 'torch.ao.quantization' (/usr/local/lib/python3.7/dist-packages/torch/ao/quantization/__init__.py)

---------------------------------------------------------------------------
NOTE: If your import is failing due to a missing package, you can
manually install dependencies using either !pip or !apt.

please simplify the steps as much as possible so they do not require additional resources to run, such as a private dataset.

Running this code in Google Colab
Expected behaviour:
from d2go.model_zoo import model_zoo

above statement should work and should allow to import model_zoo from installed d2go directory
If there are no obvious error in "what you observed" provided above,
please tell us the expected behavior.

Need to get rid of this issue asap. Any help is appreciated.

please open /usr/local/lib/python3.7/dist-packages/d2go/runner/callbacks/quantization.py ,try to find and change  "torch.ao.quantization" with "torch.quantization"

Thanks for the help @cloveropen. It worked!


Update refs-overview.md

clarifying basic disks are not in storage spaces

#sign-off

Thanks, all!


ARROW-1053: [Python] Remove unnecessary Py_INCREF in PyBuffer causing memory leak

cc @BryanCutler

Wow, that was really quick - I barely got a cup of coffee and already fixed!  LGTM, everything is nice and stable now.


Fix usage of re, and attempt to fix Python 3 issues

Attempt to fix #3, #4, and #5.
Commits https://github.com/jamespayor/SnapSearch-Client-Python/commit/7e880ca7797f579b907ffe633ef363aa172496e3 and https://github.com/jamespayor/SnapSearch-Client-Python/commit/95a516aed41451b8f80919470e3620cc3b38e262 should have no problems.
The changes to wsgi.py are more dubious - I've tried to maintain python 2 and 3 compatibility, but can't verify that this works for a variety of python 2/3 wsgi setups.

You would know more than me, I don't use the Python middleware myself. Thanks for the PR!

Added it to 0.0.9 and pushed to Pypi.


Respect gesturesEnabled

gesturesEnabled is broken since #984 (https://github.com/react-community/react-navigation/pull/984/files#diff-1bb911cc75b3e921fd5d4db86802c58cL450).

I'm fairly new to this project please suggest better way to retrieve options (if any) because original piece via this.props.router.getScreenConfig is not working in current codebase. Thanks

This used to work for changing gesturesEnabled
const AuthNavigator = StackNavigator(
  {
    Auth: { screen: Auth },
    AppSelector: { screen: AppSelector }
  },
  {
    initialRouteName: 'Auth',
    headerMode: 'none',
    navigationOptions: {
      cardStack: {
        gesturesEnabled: false
      }
    }
  }
)

But it doesn't under 1.0.0-beta.8.

I just planned to send a PR to fix this yesterday 👍
But I have to ask that what's happened with reviews, PRs from the others need to wait for weeks to be viewed or shipped, but too easy if it's from core contributor, I'm not saying it's unfair, I just want to say it's really ridiculous  that this kind of regressions happen again and again and again
https://github.com/react-community/react-navigation/commit/11cab8eab62b6ca1c2a0445f30a9d0dc75458e2e this commit breaks a lot of gesture things, like gesturesEnabled becomes not configurable and disabled for modal mode, and Animated.spring to Animated.timing is totally wrong, transitionConfig is broken too witch is just fixed by #99 that is such a tiny but importance change but wait for nearly a month to be merged, but reverted in seconds by you guys, so ironic.
then #886 fixed gesturesEnabled configuration, but breaks by #984 again, then we get this PR to fix this again, don't you guys think it's really silly?
@ericvicenti @grabbou @satya164 @skevy

@maxkomarychev You should update the docs too, gesturesEnabled is only available for StackNavigator, and only for card mode now (regression from  https://github.com/react-community/react-navigation/commit/11cab8eab62b6ca1c2a0445f30a9d0dc75458e2e), so you couldn't simply read it from options

Just wanted to say that tomorrow I'll have some spare time to help with anything regarding this issue.  I haven't dived into this issue because I discovered it when leaving the office, so I have to admit I don't have all the context to solve it yet.

Guys, I have another rather fundamental question: why does the original implementation enables this feature by default only for card mode on iOS. Why don't enable this on android by default as well? Any thoughts?

Ok, lets get this in for now. Eventually we can bring back the modal gestures

thanks guys!

You should try master to verify if it's still the case.
On Tue, 25 Apr 2017 at 12:54 Álvaro Medina Ballester <
<EMAIL_ADDRESS>wrote:

@alvaromb commented on this pull request.
In docs/api/navigators/StackNavigator.md
https://github.com/react-community/react-navigation/pull/1147#discussion_r113163608
:

@@ -137,7 +137,7 @@ Color for material ripple (Android >= 5.0 only)

gesturesEnabled
-Whether you can use gestures to dismiss this screen. Defaults to true on iOS, false on Android
+Whether you can use gestures to dismiss this screen. Defaults to true on iOS, false on Android. This value when set is only respected in mode == card.
@ericvicenti https://github.com/ericvicenti in beta 8 neither your
approach or @nihgwu https://github.com/nihgwu's one are not working,
the gestures are not disabled in both cases. Does this PR solves this issue?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/react-community/react-navigation/pull/1147#discussion_r113163608,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACWcxiWu9F2ad3V1SIZRH2w3bZjOnHwEks5rzdDxgaJpZM4NDhiq
.

I can confirm this works with latest master
navigationOptions: {
  gesturesEnabled: false
}

Not this:
navigationOptions: {
  cardStack: {
    gesturesEnabled: true
  }
}

Thanks for your work!

End of the day kind of stab at getting gestures working for modals again. Is this the direction your looking at going in? I'm not up to speed on why it was regressed originally.
@ericvicenti @grabbou @satya164 @skevy
https://github.com/react-community/react-navigation/compare/master...onlydave:master
Ignore the TabViewPager = TabViewPagerScroll; We need nested tabs and that's the quickest way we could get them working on android.

@alvaromb  Just want that effect


Add the listeners

Codecov Report

Merging #56 (1325142) into master (a02807a) will decrease coverage by 0.01%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master      #56      +/-   ##
==========================================
- Coverage   11.68%   11.66%   -0.02%
==========================================
  Files          10       10
  Lines         599      600       +1
  Branches       59       59
==========================================
  Hits           70       70
- Misses        514      515       +1
  Partials       15       15

Impacted Files
Coverage Δ

.../main/java/com/gio/calendar/views/NewTaskView.java
0.00% <0.00%> (ø)

Continue to review full report at Codecov.

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


Really buggy on KDE.

Your color picker looks awesome, really beautiful and minimalist.
However, I'm on Kubuntu 23.10 and some feature aren't working :

The window doesn't appear in the task view (Alt + Tab)
Neither in the taskbar
Every time I pick a color, the app freeze until I press a key

Since the app doesn't send logs I'm not able to find any solution by myself or give more informations on what happened.
Good luck for the development of the app :+1:

i got this error on KDE
QFont::fromString: Invalid description 'JetBrainsMono Nerd Font Mono,10,-1,5,400,0,0,0,0,0,0,0,0,0,0,1'
QPixmap::scaled: Pixmap is a null pixmap
QImage::pixel: coordinate (107,107) out of range
QPixmap::scaled: Pixmap is a null pixmap
QImage::pixel: coordinate (107,107) out of range
QPixmap::scaled: Pixmap is a null pixmap

Am also using kde, but my issue is that the color picker is immovable


uwsgi: make instance configuration deeply mergeable

allows to specify independent uwsgi instances in two modules.

Motivation for this change
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[x] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg test uwsgi

Very relevant: https://github.com/NixOS/nixpkgs/pull/75584

I tripped over this issue a couple of times already!

Very relevant: #75584

Won't work here because there are lambdas as well.

I wonder if I should backport it because I would consider the previous behavior a bug.

@Infinisil is it not possible to make type.attrs merging behavior smarter?


Implement wrap for lists

Every block level (parahraph, <h1>, <h2>...) or free element in the selection is to be turned into the provided list type entry. The function will accept a range (startPosition, endPosition) and a list type. Hanging paragraph-level elements in the selection are included in the list entirely (we simply ignore the fact it's hanging).

Approach: Identify paragraph-level elements (using wrap.splitNodeIntoWrapGroups ?), wrap them with , then wrap the whole thing with the given list type (see the note and wrap.wrapNodes).

We will currently do ul and ol, but if it's not adding too much complexity might do dl/dt/dd as well.

This was a problem with Chrome anyway, see Chromium bug 571420

Implemented block level replace tag/wrap + lists as a consequence.


bug: Repeated display “nui.nvim: Invalid window id” error

Did you check docs and existing issues?

[X] I have read all the noice.nvim docs
[X] I have searched the existing issues of noice.nvim
[X] I have searched the existing issues of plugins related to this issue

I found some "Invalid window id" issue. It looks a little different, I'm not quite sure if it's a duplicate, and if it is, I'm sorry!
Neovim version (nvim -v)
NVIM v0.9.4 Build type: Release LuaJIT 2.1.1693350652
Operating system/version
MacOS 14.0
Describe the bug

After I closed a windows which I used noice, every time I use noice, this error will be display.
Steps To Reproduce

nvim -u repro.lua to open minimal config, and use <Ctrl>W V to vsplit window.
Close this window by :q (use noice, and close window)
type : to open noice's cmdline popup window, and the error comes.

Expected Behavior
No error message.
Repro
-- DO NOT change the paths and don't remove the colorscheme
local root = vim.fn.fnamemodify('./.repro', ':p')

-- set stdpaths to use .repro
for _, name in ipairs({ 'config', 'data', 'state', 'cache' }) do
  vim.env[('XDG_%s_HOME'):format(name:upper())] = root .. '/' .. name
end

-- bootstrap lazy
local lazypath = root .. '/plugins/lazy.nvim'
if not vim.loop.fs_stat(lazypath) then
  vim.fn.system({ 'git', 'clone', '--filter=blob:none', 'https://github.com/folke/lazy.nvim.git', lazypath })
end
vim.opt.runtimepath:prepend(lazypath)

-- install plugins
local plugins = {
  'folke/tokyonight.nvim',
  {
    'folke/noice.nvim',
    event = 'VeryLazy',
    opts = {
      views = {
        cmdline_popup = {
          position = { row = 0, col = -2 },
          relative = 'cursor',
        },
      },
      lsp = {
        override = {
          ['vim.lsp.util.convert_input_to_markdown_lines'] = true,
          ['vim.lsp.util.stylize_markdown'] = true,
          ['cmp.entry.get_documentation'] = true,
        },
      },
      presets = {
        bottom_search = true, -- use a classic bottom cmdline for search
        command_palette = true, -- position the cmdline and popupmenu together
        long_message_to_split = true, -- long messages will be sent to a split
        inc_rename = false, -- enables an input dialog for inc-rename.nvim
        lsp_doc_border = false, -- add a border to hover docs and signature help
      },
    },
    dependencies = {
      'MunifTanjim/nui.nvim',
      'rcarriga/nvim-notify',
    },
  },
  -- add any other plugins here
}
require('lazy').setup(plugins, {
  root = root .. '/plugins',
})

vim.opt.background = 'dark'
vim.cmd.colorscheme('tokyonight')
-- add anything else here

I get this very often. I have habit of using <C-w>c to close a window. If I do this on a noice split window, I get this error, once. The following ones seems to be swallowed by router deduplication.
Floating window doesn't seem to have this issue...

We need this fix.
https://github.com/MunifTanjim/nui.nvim/discussions/335

this seems to be related to reusing the same widget instance? Like, when a new split is created, its window ID is updated but the split being deleted means the instance is now linked to a nonexistent window ID? That's the way I understand it since I'm using (or trying to use) relative = "win" on cmdline_popup, it opens over the last opened window, except when changing types (e.g. with :lua or :!) the "new" popup appears over the actual current window.
Maybe the nui widget needs to be discarded and re-created every time?

okay, then is there a way to discard the widget every time, so I can have cmdline_popup open over the currently focused window every time?

I don't think your question belongs to this issue.
Theoretically it would be opts.cmdline_popup.relative = "win", but I doubt noice supports relative = "win" in the first place since I don't see it mentioned anywhere in the docs or code.
That'll be a separate feature request (or a bug report), to support relative = "win" in the first place.

A theoretical fix would be to add
-- ...
-- `self` = NuiSplit or NuiPopup somewhere in the code.

self:layout_update({ relative = opts.<view>.relative, win = vim.api.nvim_get_current_win() })

-- ...
-- before self:mount() and self:show()

To force the window follow the current window.
But this will add additional unnecessary computation for all users using relative = "editor" which is the default option, so I don't know if it is worth supporting relative = "win" option.

https://github.com/MunifTanjim/nui.nvim/pull/337

I can still reproduce this issue, after I update the latest "nui.nvim". Should I change my config in noice?

You might be right. I'll look into it once again. Thanks for testing @nanozuki

@pysan3 I saw the PR has merged. I tried the latest version of "nui.nvim," and this bug is fixed! Thanks!


Allow trustStorePassword to be configured in SslConfiguration

Why is a trustStorePassword required? JKS files, for instance, do not require passwords to read the trusted certificates.

Out of curiosity, what is the use case for this? Trust store certificate entries can be read without a password, so the only use for a password is integrity checking.

False alarm -- someone was trying to fill in a trust store password but wound up omitting it. Closing this out.

(tagging @nmiyake )
Unsure if this is a valid use case for having the trustStorePassword in SslConfiguration, but it appears to be a requirement for the Kafka Client Api (https://kafka.apache.org/documentation.html#security_configclients). Haven't dug too deep into why Kafka needs the trustStorePassword, but it appears they do validate that the password is correct.
I've worked around this in my local configuration by explicitly passing in the trustStorePassword.


[Feature]: AppSmith Page Watermark for Data Protection

Is there an existing issue for this?

[X] I have searched the existing issues

Summary
In order to protect company data and prevent data leakage, to display watermarks over the page with the user login (email address) on every page.
Why should this be worked on?
This measure will help us trace any screenshots of sensitive data to the specific employee's login email address in case of a leak.
Ticket

@spops-digital you can simply have a text widget with the users information on the page if you would like to achieve this. I'm not sure what additional functionality you are looking for here

Hi Nikhil,
Thank you for the reply. However, using a text widget will only cover part of the page, which won't mitigate the risk of users taking partial screenshots of customer information. Below is a sample image showing what we expect, but with user login information included. This way, if customer information is screenshot and leaked, we can trace it back to the source.
[cid:7abefff2-7755-43fb-80fd-73871800f187]
Regards,
Ping Wei

From: Nikhil Nandagopal @.>
Sent: Monday, July 29, 2024 6:29 PM
To: appsmithorg/appsmith @.>
Cc: Tan Ping Wei @.>; Mention @.>
Subject: Re: [appsmithorg/appsmith] [Feature]: AppSmith Page Watermark for Data Protection (Issue #35176)
Caution: This email originated from someone outside the Bank and may be malicious. Do not click on links or open attachments unless you recognise the sender and know the content is safe.
@spops-digitalhttps://github.com/spops-digital you can simply have a text widget with the users information on the page if you would like to achieve this. I'm not sure what additional functionality you are looking for here
—
Reply to this email directly, view it on GitHubhttps://github.com/appsmithorg/appsmith/issues/35176#issuecomment-2255567676, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BKDDIQ5LVHYKEPHTGPBGQLTZOYKSHAVCNFSM6AAAAABLN7OWMGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJVGU3DONRXGY.
You are receiving this because you were mentioned.Message ID: @.***>

Hi Nikhil,
See if you can view the below?
[cid:b90b3980-47bf-4583-b089-61ba1babf7cf]
Regards,
Ping Wei

From: Nikhil Nandagopal @.>
Sent: Tuesday, July 30, 2024 2:36 PM
To: appsmithorg/appsmith @.>
Cc: Tan Ping Wei @.>; Mention @.>
Subject: Re: [appsmithorg/appsmith] [Feature]: AppSmith Page Watermark for Data Protection (Issue #35176)
Caution: This email originated from someone outside the Bank and may be malicious. Do not click on links or open attachments unless you recognise the sender and know the content is safe.
@spops-digitalhttps://github.com/spops-digital the image did not upload fully
—
Reply to this email directly, view it on GitHubhttps://github.com/appsmithorg/appsmith/issues/35176#issuecomment-2257577147, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BKDDIQYUWO3MV7EELEYFIRDZO4X63AVCNFSM6AAAAABLN7OWMGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJXGU3TOMJUG4.
You are receiving this because you were mentioned.Message ID: @.***>

@spops-digital no I'm unable to. Could you email it to<EMAIL_ADDRESS>

Hi Nikhil,
Sample page watermark.
[cid:adcaa97e-0601-4dd2-bbca-fe8b033b7362]
Regards,
Ping Wei

From: Nikhil Nandagopal @.>
Sent: Tuesday, July 30, 2024 5:56 PM
To: appsmithorg/appsmith @.>
Cc: Tan Ping Wei @.>; Mention @.>
Subject: Re: [appsmithorg/appsmith] [Feature]: AppSmith Page Watermark for Data Protection (Issue #35176)
Caution: This email originated from someone outside the Bank and may be malicious. Do not click on links or open attachments unless you recognise the sender and know the content is safe.
@spops-digitalhttps://github.com/spops-digital no I'm unable to. Could you email it to<EMAIL_ADDRESS>—
Reply to this email directly, view it on GitHubhttps://github.com/appsmithorg/appsmith/issues/35176#issuecomment-2257956081, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BKDDIQ4DPHYUK7K5A4FBSR3ZO5POVAVCNFSM6AAAAABLN7OWMGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJXHE2TMMBYGE.
You are receiving this because you were mentioned.Message ID: @.***>


does esformatter support .eslintignore?

Hi, It seems to me to me that esformatter is not ignoring files listed in .eslintignore
Does it support .eslintignore or you always need to ignore in the glob ?

it doesn't support it. but we should improve the way we filter out files. see: https://github.com/millermedeiros/esformatter/issues/329#issuecomment-133021022

I added basic support for --ignore in the CLI (https://github.com/millermedeiros/esformatter/commit/ebc469fba85fb60aab72d328d33e5c957b3b3e6c), but we still don't have any logic in place to read .eslintignore, .gitignore, etc...
This is not on my hi-pri list for now, but it's definitely a nice to have; Pull requests are highly appreciated!

great thanks


Update dlp-sensitivity-label-as-condition.md

Updates for label as a condition GA

@chrfox please review and publish


Add hash algorithms to pna.p4

Currently hash algorithms are TODO in PNA specification.  This PR attempts to complete the TODO and also add defines to use as a flag to hash api to use hash on only source, destination, or both IP/IPv6 addresses, and protocol.
One has to start somewhere and thus psa.p4 hash algorithms have been copied to pna.p4. Also, none of the hash algorithms look like one a Nic can't support.

If folks would like an explicit flag to be provided to a hash, we could use the defines below or put them in an enum and add another hash api with such a flag.
#define IP_FLOW_HASH_DST_ADDR (1<<1)
#define IP_FLOW_HASH_PROTO (1<<2)
#define IP_FLOW_HASH_SRC_PORT (1<<3)
#define IP_FLOW_HASH_DST_PORT (1<<4)
#define IP_FLOW_HASH_REVERSE_SRC_DST (1<<5)    // symmetric hash

@thomascalvert-xlnx Please do recommend specific text that you think would be good in the commit message for @hesingh, if you have ideas.

The current commit message is simply: "Add hash". I suggested using the PR title, "Add hash algorithms to pna.p4".

I don't think a commit message can be changed after commit.

@hesingh If not, then a new PR can be created with a different commit message.

Too late now, but git commit --amend is the most convenient way to change an existing commit's message.
https://www.atlassian.com/git/tutorials/rewriting-history
https://git-scm.com/book/en/v2/Git-Tools-Rewriting-History


Modified publisher standalone E2E tests to also run for PubSub encoding.

Modified publisher standalone E2E tests to also run for PubSub encoding.

PubSub tests are now enabled as support for processing PubSub messages in TestEventProcessor has been added in #1424.


Disk Usage Problem

Category

[X] Question
[ ] Typo
[ ] Bug
[ ] Additional article idea

Observed Behavior
I am a learner, so sorry about my questions. Creating a project for working with SharePoint Framework uses my hard at least 0.5 gig each time. does it necessary and normal?!! After Installing nodeJS and using it I lost about 8 gig of my hard. Is something wrong? How can I delete unncessary files if I decide to do? does simple uninstalling of nodeJS free my hard? For every project it download all the dependecies, may I use a centeral place?! does it uses network traffic each time it creates the project?!
Sry about number of question. I am new to these subjects.
Thanks in advance for your comments

Yes, there are a lot of dependencies for SharePoint Framework and a lot of files that come with it. This can be mitigated through various options.
Pnpm is a great package manager which will help you save some space on your drive, by only installing the files once.
I would also look into docker as a means of isolating some of these files and not installing them locally on your machine. Take a look at Waldek's blog post https://blog.mastykarz.nl/sharepoint-framework-docker/

I can concur with @bcameron1231, as I use Docker for my SPFx development. It allows me to avoid installing directly on my hard drive any of the dependencies, such as Node, Gulp, Yeoman, etc. It does install a local "Node Modules" folder for the solution, which can grow in size, although when your done developing, that can easily be deleted and you are back to no drive space other then what Docker uses.

@bcameron1231 @PopWarner Thanks for your comments. Yeah as I found Docker is a good idea but for the next time using (new windows Installation). For now, I have the pnpm option I think. Thanks again


Show date on click for tile layers?

I don't think we need this, we just need the legend as described in #178


Contact

Do you have any contact like discord or other means to talk?

Sorry, not at this time.

I would like to talk about building a private bot for myself, can you add me? my discord nickname is wilsonic, i promise we'll talk fast.

I'm more than happy to talk here. You are more than welcome to use my code however you like, including building a private bot for yourself. However, I don't really know what you mean by "private bot for yourself." This bot will do all the things you will need in league and if you want specific functionality (maybe something that gets you into a ranked game or some other timesaver) it should be simple enough to tweak for that purpose.

I want to run a high amount of vm, I manage to make a dashboard and develop something good to facilitate the selection of accounts, but I needed you to make the bot and its requests, I would like to do this together or even pay you if possible, no misunderstand, just an offer in case you are interested, thanks and have a great day!

It sounds like a great idea. But at the moment I am unable to help you with that project. I wish you the best of luck though!


Nullable Field Error on Deserialize

Hi,
Hope it is ok to posts errors here.
I just updated to 1.06. Calling GetVehicleDataAsync I receive the following error:
Error converting value {null} to type 'System.Boolean'. Path 'response.charge_state.trip_charging', line 1, position 2176.
Thanks.

Hey thanks! I'll get a PR in soon.


Missing properties in the toJS result object after setting a deep value using setIn

What happened
Sometimes (noticed this mainly in big JSON objects e.g. Redux state) when I set a deeply nested value using Immutable#setIn, some of the object's properties (in my case they are the siblings of the property that I just set it's value) get deleted, and only the lastly set property is present.

How to reproduce
Consider having this object deeply nested in a huge JSON:
...: {
  items: [
    {
      key1: 'value1'
    }
  ]
}

Here is the scenario:

Create an instance of the JSON with Immutable#fromJS
Set a the value of another key using Immutable#setIn e.g. setIn([...path, 'items', 0, 'key2'], 'value2')
Get the new object using Immutable#toJS

The result looks like this:
...: {
  items: [
    {
      key2: 'value2'
    }
  ]
}

I can reproduce here https://codesandbox.io/s/430l0jkln4?expanddevtools=1&view=editor, I simply log the original and result objects in the console. I also did the same on a minimized copy of our JSON and it worked fine. The problem seems to happen only when dealing with large Maps.

Wat.
That's pretty weird.

I've simplified your repro considerably. It makes evident the real issue, which is also pretty simple. You have an object with the key "0" and you're treating it as an array. This is pretty much fine in normal JS, the only thing you'd be missing is the methods from the array prototype. This is because JS Arrays are fundamentally just objects with keys that are digit strings, along with some perf optimizations and the magic length property. All keys are coerced to strings behind the scenes.
Immutable's types for Lists and Maps are fundamentally different and treat their data in different ways. In particular Map supports types of keys other than strings, and values stored at key "0" (a string) are different than values stored at key 0 (a number).
That is why you have a bug. I don't think, unless you disagree, that this is a problem with Immutable itself.

Yes, I agree that it's not related to Immutable in any means. I haven't considered the stateVisibilities object as an object, I thought it was an array because those index like keys are confusing especially in Redux Devtools Extension look at that http://take.ms/vJq0a :). Thank you for your time.

Huh, yeah it is extra hard to tell in that view isn't it. I'll keep that in mind for the future myself!