python38Packages.casbin: 0.18.4 -> 0.19.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python38Packages.casbin is: "An authorization library that supports access control models like ACL, RBAC, ABAC in Python"
meta.homepage for python38Packages.casbin is: "https://github.com/casbin/pycasbin"
meta.changelog for python38Packages.casbin is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

Warning: a test defined in passthru.tests did not pass

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 0.19.1 with grep in /nix/store/8jyjjw96ipzxszg848a44c6icdsrfbyz-python3.8-casbin-0.19.1

directory tree listing: https://gist.github.com/17fe461924651bda1e18031b5cd2540a

du listing: https://gist.github.com/60f78f438b26c70f55b2417d3f599c35

Rebuild report (if merged into master) (click to expand)

8 total rebuild path(s)

2 package rebuild(s)

2 x86_64-linux rebuild(s)
2 i686-linux rebuild(s)
2 x86_64-darwin rebuild(s)
2 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
python38Packages.casbin
python39Packages.casbin

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/8jyjjw96ipzxszg848a44c6icdsrfbyz-python3.8-casbin-0.19.1 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python38Packages.casbin https://github.com/r-ryantm/nixpkgs/archive/3c1a355cac0fbb5500974b265880c9a3badfea6c.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/8jyjjw96ipzxszg848a44c6icdsrfbyz-python3.8-casbin-0.19.1
ls -la /nix/store/8jyjjw96ipzxszg848a44c6icdsrfbyz-python3.8-casbin-0.19.1/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

2 packages built:

python38Packages.casbin
python39Packages.casbin

Maintainer pings
cc @costrouc for testing.

Result of nixpkgs-review pr 117088 at 3c1a355c run on aarch64-linux 1

2 packages built successfully:

python38Packages.casbin
python39Packages.casbin


[HUDI-6917] Fix docker integ tests

Change Logs
There are two issues with tests that are fixed by this PR:

TestHoodieLogFormat#testHugeLogFileWrite is trying to write a big log file which was frequently leading to namenode going down. PR removes the superfluous overflow testing.
Some unused docker images remained. So those images are pruned to reclaim space to avoid failure due to lack of space.

Impact
Fix docker integ tests.
Risk level (write none, low medium or high below)
none
Documentation Update
Describe any necessary documentation update if there is any new feature, config, or user-facing change

The config description must be updated if new configs are added or the default value of the configs are changed
Any new feature or user-facing change requires updating the Hudi website. Please create a Jira ticket, attach the
ticket number here and follow the instruction to make
changes to the website.

Contributor's checklist

[ ] Read through contributor's guide
[ ] Change Logs and Impact were stated clearly
[ ] Adequate tests were added if applicable
[ ] CI passed

@codope Thanks for the change, and it should make the test much smooth! Just curious that this test has been added for about 2 years, and we just start to observe the failure recently. Does it mean we should file a task to track for the underlying cause when we have bandwidth?

@codope Thanks for the change, and it should make the test much smooth! Just curious that this test has been added for about 2 years, and we just start to observe the failure recently. Does it mean we should file a task to track for the underlying cause when we have bandwidth?

Yes we need to find the offending master commit. However, this test should not have been written this way in the first place. I am tracking master commit but in the meantime let's land this. This PR does not reduce the scope of testing and unblocks other PRs.


Neuralmind

Describe the project you want to add with tech stack
Hey @pranjay-poddar I want to add this neuralmind project which is created using react and includes very useful features. Please assign me this issue. Thank you!
Expected behavior

Screenshots (optional)

Additional context (optional )

hey, @pranjay-poddar Please assign me this issue.


Pruning Models: Get the default path for the models from a method instead

Hi there,
We want to use the "Pruning Models" feature but use a custom model namespace. The Artisan make command allow for overriding the used namespace by creating your own getDefaultNamespace method.
This PR adds the same functionality to the PruneCommand.

Thanks!


Command line build of project containing WLT missing DLL

Hi,
I'm attempting to set up CI for a project and am running into some issues.
I've followed the advice in NugetForUnity to restore packages "%unitydir%\Editor\Unity.exe" -quit -batchmode -projectPath %~dp0 -executeMethod NugetForUnity.NugetHelper.Restore
However, I am still left with the following block of errors.  It seems the project won't compile and hence doesn't attempt to run the -executeMethod.
I couldn't see any references to nuget restore in the WLT CI pipeline.
Opening the project in the editor restores the nuget packages and runs as normal - this only occurs on a clean pull.
Steps to reproduce

git clone https://github.com/microsoft/MixedReality-WorldLockingTools-Unity.git
cd MixedReality-WorldLockingTools-Unity
"C:\Program Files\Unity\Hub\Editor\2020.3.0f1\Editor\Unity.exe" -quit -batchmode -projectPath ".\" -executeMethod NugetForUnity.NugetHelper.Restore -logFile log.txt
See errors in log.txt

Has anyone encountered this issue?
- Finished script compilation in 5.335927 seconds
Assets\WorldLocking\WorldLocking.Engine\IPlugin.cs(12,37): error CS0234: The type or namespace name 'FrozenWorld' does not exist in the namespace 'Microsoft.MixedReality' (are you missing an assembly reference?)

Assets\WorldLocking\WorldLocking.Engine\Plugin.cs(10,37): error CS0234: The type or namespace name 'FrozenWorld' does not exist in the namespace 'Microsoft.MixedReality' (are you missing an assembly reference?)

Assets\WorldLocking\WorldLocking.Engine\PluginNoop.cs(13,37): error CS0234: The type or namespace name 'FrozenWorld' does not exist in the namespace 'Microsoft.MixedReality' (are you missing an assembly reference?)

Assets\WorldLocking\WorldLocking.Engine\IPlugin.cs(35,19): error CS0103: The name 'INVALID_ANCHOR_ID' does not exist in the current context

Assets\WorldLocking\WorldLocking.Engine\IPlugin.cs(24,19): error CS0103: The name 'INVALID_ANCHOR_ID' does not exist in the current context

Assets\WorldLocking\WorldLocking.Engine\IPlugin.cs(25,22): error CS0103: The name 'INVALID_ANCHOR_ID' does not exist in the current context

Assets\WorldLocking\WorldLocking.Engine\IPlugin.cs(36,19): error CS0103: The name 'UNKNOWN_ANCHOR_ID' does not exist in the current context

Assets\WorldLocking\WorldLocking.Engine\IPlugin.cs(26,19): error CS0103: The name 'UNKNOWN_ANCHOR_ID' does not exist in the current context

Assets\WorldLocking\WorldLocking.Engine\Plugin.cs(30,17): error CS0246: The type or namespace name 'FrozenWorld_Vector' could not be found (are you missing a using directive or an assembly reference?)

Assets\WorldLocking\WorldLocking.Engine\Plugin.cs(31,17): error CS0246: The type or namespace name 'FrozenWorld_Quaternion' could not be found (are you missing a using directive or an assembly reference?)

Assets\WorldLocking\WorldLocking.Engine\Plugin.cs(32,17): error CS0246: The type or namespace name 'FrozenWorld_Transform' could not be found (are you missing a using directive or an assembly reference?)

Assets\WorldLocking\WorldLocking.Engine\Plugin.cs(34,30): error CS0246: The type or namespace name 'FrozenWorld_Vector' could not be found (are you missing a using directive or an assembly reference?)

Assets\WorldLocking\WorldLocking.Engine\Plugin.cs(35,33): error CS0246: The type or namespace name 'FrozenWorld_Quaternion' could not be found (are you missing a using directive or an assembly reference?)

Assets\WorldLocking\WorldLocking.Engine\Plugin.cs(36,27): error CS0246: The type or namespace name 'FrozenWorld_Transform' could not be found (are you missing a using directive or an assembly reference?)

Assets\WorldLocking\WorldLocking.Engine\Plugin.cs(113,22): error CS0246: The type or namespace name 'FrozenWorld_Metrics' could not be found (are you missing a using directive or an assembly reference?)

Assets\WorldLocking\WorldLocking.Engine\Plugin.cs(582,21): error CS0246: The type or namespace name 'FrozenWorld_Serialize_Stream' could not be found (are you missing a using directive or an assembly reference?)

Assets\WorldLocking\WorldLocking.Engine\Plugin.cs(775,21): error CS0246: The type or namespace name 'FrozenWorld_Deserialize_Stream' could not be found (are you missing a using directive or an assembly reference?)

Some scripts have compilation errors which may prevent obsolete API usages to get updated. Obsolete API updating will continue automatically after these errors get fixed.

AssetDatabase: script compilation time: 6.118637s
Scripts have compiler errors.

Exiting without the bug reporter. Application will terminate with return code 1

It appears this can be fixed by running nuget restore in the Assets directory prior to opening the project with Unity.

I've seen this in Unity2020, NuGetForUnity doesn't auto install the FrozenWorld Engine when the project is upgraded, as it does with U2018 and U2019.
I don't know whether the issue is in NuGetForUnity or in Unity, but since NuGetForUnity is being deprecated anyway, the best option is to go with the nuget restore, which you already figured out.
I'll update the docs accordingly. Thanks!

Hmm, though running NuGet restore beforehand causes other issues with Microsoft.MixedReality.QR as it restores too many packages rather than just netstandard2.0/net46:
Assembly Updater Post Process Assets time: 0.126528s
Multiple precompiled assemblies with the same name Microsoft.MixedReality.QR.DotNet.dll included or the current platform. Only one assembly with the same name is allowed per platform. (Assets/Packages/Microsoft.MixedReality.QR.0.5.2103/lib/netstandard2.0/Microsoft.MixedReality.QR.DotNet.dll)

Multiple precompiled assemblies with the same name Microsoft.MixedReality.QR.DotNet.dll included or the current platform. Only one assembly with the same name is allowed per platform. (Assets/Packages/Microsoft.MixedReality.QR.0.5.2103/lib/uap10.0.18362/Microsoft.MixedReality.QR.DotNet.dll)

Multiple precompiled assemblies with the same name Microsoft.MixedReality.QR.DotNet.dll included or the current platform. Only one assembly with the same name is allowed per platform. (Assets/Packages/Microsoft.MixedReality.QR.0.5.2103/lib/netstandard1.3/Microsoft.MixedReality.QR.DotNet.dll)

Multiple precompiled assemblies with the same name Microsoft.MixedReality.QR.DotNet.dll included or the current platform. Only one assembly with the same name is allowed per platform. (Assets/Packages/Microsoft.MixedReality.QR.0.5.2103/lib/unity/netstandard2.0/Microsoft.MixedReality.QR.DotNet.dll)

[ScriptCompilation] Recompiling all scripts because: Assembly Definition File(s) changed
Multiple precompiled assemblies with the same name Microsoft.MixedReality.QR.DotNet.dll included or the current platform. Only one assembly with the same name is allowed per platform. (Assets/Packages/Microsoft.MixedReality.QR.0.5.2103/lib/netstandard2.0/Microsoft.MixedReality.QR.DotNet.dll)

Multiple precompiled assemblies with the same name Microsoft.MixedReality.QR.DotNet.dll included or the current platform. Only one assembly with the same name is allowed per platform. (Assets/Packages/Microsoft.MixedReality.QR.0.5.2103/lib/uap10.0.18362/Microsoft.MixedReality.QR.DotNet.dll)

Multiple precompiled assemblies with the same name Microsoft.MixedReality.QR.DotNet.dll included or the current platform. Only one assembly with the same name is allowed per platform. (Assets/Packages/Microsoft.MixedReality.QR.0.5.2103/lib/netstandard1.3/Microsoft.MixedReality.QR.DotNet.dll)

Multiple precompiled assemblies with the same name Microsoft.MixedReality.QR.DotNet.dll included or the current platform. Only one assembly with the same name is allowed per platform. (Assets/Packages/Microsoft.MixedReality.QR.0.5.2103/lib/unity/netstandard2.0/Microsoft.MixedReality.QR.DotNet.dll)

Double check your Assets/packages.config file for redundant entries. For example, an old version of mine looks like this:
<?xml version="1.0" encoding="utf-8"?>
<packages>
  <package id="Microsoft.MixedReality.QR" version="0.5.2102" />
  <package id="Microsoft.MixedReality.Unity.FrozenWorld.Engine" version="1.0.0" />
  <package id="Microsoft.VCRTForwarders.140" version="1.0.6" />
</packages>

You might try uninstalling and re-installing your QR sdk. From what you posted, I would guess the install got corrupted at some point.

Hmm, I see what you mean. I'm afraid that is the intersection of two areas I'm not terribly familiar with, NuGet and the QR installation. I'll ask around and post back if I find out anything useful, but you might want to file an issue with the QR Code SDK team.

For future reference, the way I worked around these issues was to run nuget restore, but then also remove any files that did not have any .meta companions. So this works for NugetForUnity-specific packages (in this case resolving the issues with QR/FrozenWorld compatibility).
      - name: Restore Unity Nuget Packages
        run: |
          cd ".\Assets"
          nuget restore
        shell: cmd

      - name: Clean up Unity Nuget Packages
        # Remove any files from nuget that don't have an associated .meta file
        run: |
          foreach ($file in (Get-ChildItem Assets/Packages -File -Recurse)){
          if (!($file.Name -match '.meta$')) {
              $meta = -join($file.FullName, ".meta")
              if (!(Test-Path $meta)) {
                  $file.FullName | Remove-Item -Force
              }
            }
          }
        shell: pwsh

Awesome, that's very kind of you to share your solution with the community! Many thanks!


MemoryError on PyCom SiPy

Hi! I previously used a library/web framework called picoweb on my PyCom, but I just found this new version of MicroWebSrv which seems much better documented to me!
However, when loading the module on a SiPy and trying to import it, I get a MemoryError:
Traceback (most recent call last):
  File "main.py", line 10, in <module>
  File "serving_static/server.py", line 3, in <module>
  File "/flash/lib/MicroWebSrv2/__init__.py", line 14, in <module>
MemoryError: memory allocation failed, allocating 136 byte
Pycom MicroPython 1.20.0.rc13 [v1.9.4-94bb382] on 2019-08-22; SiPy with ESP32
Type "help()" for more information.

Do you have any recommendations on how to get it to work, since MicroWebSrv2 claims it works on PyCom boards? I already tried using the gc module, but it did not help. Still the same error.

Ok, I think that your SiPy module doesn't have 4Mo RAM right?
It's an old Pycom SiPy version with less than 128K of RAM?

You are correct! I tried the library with a PyCom GPy that I bought yesterday and it worked like a charm. Finally a well-documented, easy understandable micro web framework for PyCom and ESP32. You should be proud!

Thank you 👍


Script to scrap LinkedIn Connections

Aim

Create a Script to scrap LinkedIn Connections.

Details

The Script should scrap the following and store them in a CSV File:

Name
LinkedIn URL
Latest Job Position
Skills

hey I would like to work on this. Can you assign it to me?

@lara-sahoo ..Sure.. Go ahead.

Hi, I would Like to contribute more to this.
Can I have a go on this if the person before has not delivered?
Thank You

@hardikkhurana It's already assigned.. You can work on a reddit scraper if you want to..

@avinashkranjan I cannot find an issue or a readme file for that scraper.
can you pls send some link for that or explain what u have to scrap
Thank You

@hardikkhurana  You can write script to scrape subreddits top 10 or 20 posts and if you want it user friendly I can add an option that will enable user to choose the type of the posts he/she want. Create a Issue for the Same..!

@hardikkhurana Do You Still want to work on this?

i want to work on this issue please assign it to me.

@avinashkranjan Can you please assign this issue to me as a SWOC 2021 participant?

Issues are First Come First Serve.. So It's assigned to @shubhigupta991 she commented first..
Assigned to you @shubhigupta991

Any updates @shubhigupta991

Any updates @shubhigupta991

@avinashkranjan I would like to work on this issue please assign this issue to me.

@avinashkranjan I would like to work on this issue please assign this issue to me.

I'd like to contribute to the project. I want to address and fix this issue. My implementation will be in python with a clean code and documentation. Kindly provide me with this issue.
I'm also a GSSOC'21 participant.

Go Ahead @kshittijagrawal

@kshittijagrawal Updates on this?

@kaustubhgupta
will make a PR by tomorrow :)

@kshittijagrawal Should I make it "up-for-grab" or you are still trying this out?

Hey @kaustubhgupta !
I wrote a script recently but it uses selenium to scrape data from the HTML tags and data received from the server end. Currently am trying to figure out a way using an API. Please give me a day or two to do so.

Okay take your time 💯

@kshittijagrawal updates? It's already 2 days. If you fail to make the PR today, then this issue will be up-for-grab

Hi, I'm interested in building this project. I did some research and turned out using LinkedIn Developers API is not the ideal approach as it limits what you can get access to. One of these limitations is actually getting "My Connections" list. So, the another approach is using selenium and regex for scraping webpages with the help of ChromeDriver.
Advantages

User doesn't have to bother himself with API tokens setup,etc.. just his account username and password will be enough.
ChromeDriver saves cookies like any other normal browser. So, This facilates going more deeper and make scraps on each connection profile.
The script will have the support of input arguments, so that the user doesn't have to go step by step to enter username and password, Oneline will save some time. :D

Disadvantages

Every profile has its own pattern of showcasing their headlines, so it's programmatically not possible to even use Regex to get latest job position, but we can append the whole headline into one cell.
Saving skills of each profile will be time consuming, as the script will have to visit each profile 1 by 1 and extract the skill set (Many accounts these days have 500+ connections). We can add an argument here to save the skills if the user -wants to-. (Will be declared in the Documentation)

Furthur notes

I am beginning my second semester in college tomorrow, so I can't garantee that I can finish the script in 3 days as it was mentioned with the previous contributor. However I will try my best to finish it by the end of this week, If not less. I will keep you updated.

@XZANATOL The previous contributor was given 11 days to complete the task but he failed to make it. You will be given the usual 1 week where I will ask about the progress on the 3rd day.

@kaustubhgupta Hi there, :D
I've some good news, the script is 80% ready, I managed to get the connections list with their corresponding Names, & Headlines. I've added the option to get the Top-skills of each profile, I just need to append all in a 1 nice and tidy dataframe and save it into a CSV file. However I'm facing a small challenge which I can't figure out a solution to it.
LinkedIn Ajax calls activates only when you scroll down to its specific area, that's what I've mostly done to get the full connection list. I was trying to do the same for each profile to be able to click the "Show more" button in the skills section. Everything was going fine, but at the moment of selecting that button, it seems like I can't locate/click is somehow. I printed the error message and seems like something supposed to recieve that click (which I tried to locate but the script couldn't). The error was:

Other element would receive the click and had the tag name

I tried to use the "driver.switch_to.active_element" method, but turned out it selected the one on the Interests section! :joy:
I thought to select one unactive element that lays before the button and then reuse the same method, but whatever I select, it still skips to the button that's in the Interests section!
I can go on and skip extracting detailed info, but I'm very curious what is causing the skip of that button. any ideas?

@XZANATOL Hmm, I can't give the exact solution for this until I debug the code myself. For now, you can skip this part of extracting detailed instructions and make the PR. However, if you want me to debug it for you, then comment out that logic and put the reference of this GitHub comment in that comment. If I get some solution then I will discuss that with you and if not, then we will drop this idea. Cool?

@kaustubhgupta I did figure out the solution before I go to sleep yesterday. xd
Turned out Selenium doesn't only depend on code, but also low-level mouse integerations. Selenium uses grid to click buttons. The button was getting selected as the code printed out, but everytime my screen had the "show more" in the interested section showed, so using "driver.switch_to.active_element" will just skip to the only active element shown on the user screen. All what was have to be done, was to load the actions library and scroll to the element and just click it. :D
I did finish the script tho, but didn't finish the documentation yet. I uploaded the script with some result files I used from my profile here:
https://drive.google.com/drive/folders/1AdSRNXmhWoU81ylOc0jlHAvNcK6Hry6F?usp=sharing
The CSV file contains everything but the skills because of its time consuming, so I extracted that piece of code and tried it on my own profile and It worked as expected. There is a "CAPTURE.PNG" file containing the printed list of my skills scrapped from the profile. Feel free to test it out and inform me of any bugs you notice, and I will be online this night to finish the documentation and make the PR.

@XZANATOL You can complete the documentation and update the PR at your pace 😃. I will review your code in PR only as I have to review a lot of PRs at the moment. I really appreciate your efforts to upload the code on but it's easier for me to suggest the changes in GitHub than the actual code on the drive 😃.
P.S: It's currently 11:20 am here and I just woke up to review PRs 😁

Well, You can take a rest from me as I'm on my way college right now :joy:
Good luck with the reviewing :D


gdx-setup.jar can't download

I download gdx-setup.jar  from https://libgdx.com/wiki/start/project-generation
but download from  https://libgdx-nightlies.s3.eu-central-1.amazonaws.com/libgdx-runnables/gdx-setup.jar  failed.  Network is  unreachable.

Will it be because I am in China? GWF ban? I can't  download it also on my Alicloud。

here is my local pc.

I can't create a  discord account. because the discord server  unable to send sms memssage to my phone  (china phone No.) .

You could give JavaCakeGames/gdx-setup-archive a try. It contains archived versions of the setup tool.

There's also https://github.com/tommyettinger/gdx-liftoff as an alternative. There are some differences between gdx-setup and gdx-liftoff in the generated folders, but not that many. Getting started with libGDX without any access to the libGDX Discord sounds challenging.

I suggest we reopen this issue and rename it, as that's like a billion people who can't download gdx-setup. libgdx-nightlies.s3.eu-central-1.amazonaws.com is blocked, according to this tester, but so is github.com? It's probably not 100% accurate, but it's the best I can do. libgdx.com and github.io seem to be in the clear. Updating libgdx.com/assets/downloads/legacy_setup/gdx-setup_latest.jar (this is very outdated despite its filename!) from 1.10.0 to 1.11.0 would probably be good enough for now, though even 1.11.0 stable is broken out the box for Android projects.
For a while, I was playing Asphalt 9. There seemed to be a lot of Chinese players in that community. I figured most of them illegally used a \/ery PersonaI Ñame (read between the lines - I'd rather not get this issue excluded from regional search results) to access Discord, though I never asked. The libGDX Discord server isn't configured to require a phone number (Discord doesn't like my number either) but I'm all too aware that Discord itself sometimes wants to send a verification text. I don't know how they determine when to do this, but a possible factor is many accounts being created from the same IP address.
In the meantime, I've reuploaded the AWS contents to https://api.javacakegames.com/libgdx-nightlies-mirror/, including gdx-setup.jar of course. Fortunately, the wall of fire operates on a blacklist basis instead of a whitelist.
I'm not too sure what the actual answer is here. Do you think it would be feasible to have the nightlies uploaded to libgdx.com (libgdx/libgdx.github.io) instead, @crykn? Or even a downloads.libgdx.com which points somewhere other than GitHub Pages? From what I've read, ESNI-enabled TLS 1.3 connections are blocked in China, so maybe also keep an eye on https://www.esnicheck.com/.

It doesn't seem like github.com is blocked if someone could create an issue here. At some point we just have to accept that some organizations are not in favor of individual productivity, and that people who belong to those organizations (willing or not) pay that price. It isn't the responsibility of the libgdx organization to provide loopholes through any firewall, regardless of size. It would be nice to have a larger user-base, maybe, but support for the Chinese script is still rather poor in libGDX... It might make more sense for users constrained by GFW to use some other framework, like Cocos-2DX, that is more targeted at the China market.

Thing is, libGDX doesn't violate the restrictions - we're not exactly comparing presidents to bears here. If the website itself works, we just need to have a non-AWS download available for gdx-setup, and preferably also Hiero etc. Of course, I don't know how well Gradle will fare beyond that point.
Yes, support for non-Latin scripts is poor, but that's not reason enough to not care about entire countries. There are Chinese books on libGDX (dated from when I think it was hosted on libgdx.badlogicgames.com), so clearly this hasn't stopped them.

Maybe we could add the gdx-setup.jar files to the releases. AFAIK we should also be able to automate this with GitHub Actions.

Can you try https://github.com/libgdx/libgdx.github.io/pull/124 and see if that makes any difference?


fix: buttons in download image are too big for some mobile

Fixes #4411
Describe the changes you have made in this PR -
i change the width percentage of download-dialog-section -2 i also implemented text-wrap to no-wrap but the problem was that the button text text will not visible properly
like this

Screenshots of the changes (If any) -
BEFORE

AFTER

thank you
Note: Please check Allow edits from maintainers. if you would like us to assist in the PR.

@Arnabdaz @Prerna-0202 pls review the pr


Release Google.Cloud.Monitoring.V3 version 2.1.0-beta01

Changes in this release:

Commit 9c1f9d6:

feat: Update public client library for Cloud Monitoring to introduce new Uptime check feature.
feat: Uptime HTTP(S) checks can now be GET or POST.

Commit 6ca5e50:

docs: Increase the required minimum difference between start time of the next interval
and the end time of the previous one from the one microsecond to one millisecond.
This will enable some resource savings for in-memory storage.

I trimmed several commits out of the release notes; sometimes they were changes with no impact, and sometimes they were changes reversed by later changes.

Created release for Google.Cloud.Monitoring.V3-2.1.0-beta01


choosing default option from toolbar

Hey, thanks for your work.
I'd like to have a 'direction' option in the toolbar which
I easily added in the toolbar options, BUT I'd like to have
it ON by default (direction 'rtl')...
I think with Quill I could use the Quill.format('direction', 'rtl') method..
Could you expose the format method in your plugin or explain how I would
set a default value to a formatting option?
thanks!

I need the same option too.


nixos/lib/make-squashfs.nix: allow disabling compression

Description of changes
This significantly speeds up on iterating on the installer image and testing it with qemu.
This changes isoImage.squashfsCompression to be nullOr string so that it can be set to null to disable compression of the squashfs image on the iSO.
Things done

Built on platform(s)

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

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

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

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

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

[ ] Fits CONTRIBUTING.md.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-ready-for-review/3032/2789

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-already-reviewed/2617/1381


epoll-wait induces too much synchronization

Let's consider the following testcase:

We have two pipes, A and B, and some global static mut S
The main thead sets up an epoll for both of these pipes' read ends
We spawn a sub-thread that writes to pipe A, then mutates S, then writes to pipe B
The main thread yields, and we have miri-preemption-rate=0, so this will fully run the sub-thread
The main thread waits on both pipes with epoll, but only wants to receive a single event
The main thread asserts that it was informed about pipe A, not B
Then the main thread reads from S

This should report UB due to a data race.
However, I think what will happen here is that  the main thread will receive the notification for pipe A, but because we call acquire_clock on the ready_list.clock, we acquire the clock for all events. This means we miss the UB as the main thread read of S seems to happen-after the sub-thread write of S.

@FrankReh any chance you could try to turn this test case sketch into code? :)

Yes, there's a good chance. Doing it means I learn more. But you usually are very precise so I want to double-check your concern: in your descriptions and at the end of the problem description here, you say "we acquire the clock for all events". I don't think it is true that the system now groups all the machine's events into one ready_list. The ready_list is per epoll, so we acquire the clock from all the events that were added to that epoll. But if that is a problem, it should be possible to make the clock per event of interest, just moving the clock logic into lower iterations.

Yes, "all events for this epoll instance ready list" is what I meant.

I agree with your concern now. I had overlooked the impact of the maxevents argument.

On a related note, I had a concern on release_clock here https://github.com/rust-lang/miri/pull/3928#discussion_r1782004761. The problem that I am considering is we might accidentally release clock even though the thread is not unblocked. From what I understand, we want to synchronise between operation that actually unblocked thread and the unblock callback.
I have tried generating test case for this, but it doesn't work out. So it might not be a valid concern after all. :)

On a related note, I had a concern on release_clock here #3928 (comment). The problem that I am considering is we might accidentally release clock even though the thread is not unblocked. From what I understand, we want to synchronise between operation that actually unblocked thread and the unblock callback.

I will let you and @RalfJung work that concern out as I already responded to your comment and didn't see a further clarification. To state my confusion to your question another way, you use "release clock" as a verb and I take it as a noun: the release clock, like the release option to an atomic operation. (Just background to my earlier comment and I didn't want you to feel ignored on your initial comment or this one.)

@RalfJung I have the test case you sketched out and of course it doesn't report UB. But I agree it should. Sigh... I'll create a PR.
Is it the norm to put a test that passes into the fail_deps set when it is supposed to fail? Or is there a marker that says this line should have triggered a UB?

(Just background to my earlier comment and I didn't want you to feel ignored on your initial comment or this one.)

Yup I understand, thanks for the response :) Yea this is more like a concern that I am not sure if it is even valid, I didn't reply because I am waiting for someone to give an answer.

The problem that I am considering is we might accidentally release clock even though the thread is not unblocked.

I don't see the problem. If thread A triggers an event that is observed by thread B, that should establish a happens-before link, i.e. the release clock of thread A should be acquired by thread B. This is true even if thread B wasn't blocked. Consider that we have clocks for socketpair and eventfd even though those don't even support blocking yet!

Is it the norm to put a test that passes into the fail_deps set when it is supposed to fail? Or is there a marker that says this line should have triggered a UB?

Yes please put this in tests/fail-dep/libc/, and added  //~ERROR annotation in the line where the UB should be. Check any of the other tests to see what this looks like.

@RalfJung also I wonder if the test case should actually report data race. This is what I imagine happening
Subthread:
1.1 Write to pipe A
1.2 Mutates S
1.3 Write to pipe B
Main thread:
2.1 epoll_wait and get unblocked by event generated by pipe A
2.2 Read from S
Under miri-preemption-rate=0 and the assumption of subthread is fully run, 2.2 read from S seems to always happens after 1.2 Mutates S because
1.1 must happen right before 1.2, 1.2 must happen right before 1.3 (because subthread is fully run)
2.1 must happen before 2.2
2.1 must happen after 1.1 (1.1 provides notification, 2.1 receives notification)
Hence, 2.2 must happen after 1.2.
I am not sure what have I missed here, also sorry for the long post.

seems to always happens after

"happen after" has a more complicated definition than what you are using here. Please find some online tutorial on the C++11 memory model, relaxed accesses, release-acquire synchronization and all that... that's really beyond the scope of this issue to explain it. I can recommend https://marabos.nl/atomics/ but it's a full book, so it'll take a while to read through it all. ;)

Is there a way I can force the clock to advance in the sub thread between the pipe write and the static write?  I have changed the plumbing of the epoll clock sync and it should now cause the test to report UB but it doesn’t. It only reports UB if I comment out any part of the new clock sync chain.
I don’t think I should have to artificially move the clock forward but I can’t think of what else to cause this. I could try to print out the clocks to see if that sheds light on what’s going on.
I understand my own code or test code is the most suspect. Just wondering if someone knows a way to force the clock forward beyond writing to a static.

Calling release_clock does move the clock forwards.

Calling release_clock does move the clock forwards.

This is a good clue! I looked at that function. It moves the clock forward for the thread and then returns a reference to the clock. So the clock being synced to the event which eventually is synced with the tread being awoken (the main thread) doesn't seem to have changed by the act of writing to the static. (I assume it is supposed to? There is probably another thread release_clock called to sync the clock to the static as a new value is being stored to the static.) What I mean is writing to the static in the subthread seems to be done with the same clock that the main thread has acquired from the one event epoll_wait. So there is no UB reported - but we think there should be.
I'm going to think about this some more. It's okay if no-one has any other ideas because it is certainly easier to help if you can look at some code. So I have to decide how I'm going to present this. A draft PR with the test that doesn't report a UB as one commit and then a commit that shows the changes to the epoll.rs and the two FileDescription files, and either the test still on the fail side as it still fails to report the problem, or having moved the test to the pass side with the funny hack of calling release_clock twice for just the pipe code so the clock is moved forward after syncing it from a release_clock code to the event.
Of course I'm probably doing something wrong in either my code changes or the test function, but this is a fun one - I don't have a good handle on how to figure it out. Well, I guess if I started to dig into how UB is reported, where it is reported, and put some instrumentation into that, I could get closer to understanding. Or if I found the Miri code that is invoked when the static is being written to, I could instrument that.

I don't think I understand what problem you are even trying to solve. Which test case does not behave the way you think it should?


AttributeError: module 'PIL.Image' has no attribute 'ANTIALIAS'

https://github.com/flask-admin/flask-admin/blob/896fca64f7eb7970bb5775c2c9ff6b3a07c9de4a/flask_admin/form/upload.py#L467C21-L467C21
ANTIALIAS was removed in Pillow 10.0.0 (after being deprecated through many previous versions). Now you need to use PIL.Image.LANCZOS or PIL.Image.Resampling.LANCZOS. https://stackoverflow.com/a/76616129/5541592
Line 467 must be corrected. Even better, I presume, if a user can manage the compression type using some user-defined parameter.

Seems like this was fixed on the master branch (currently version 1.6.1),
https://github.com/flask-admin/flask-admin/blob/14e24c970f0ee3a29add830612eee9a0b0ba5dcc/flask_admin/form/upload.py#L464
And here is the commit https://github.com/flask-admin/flask-admin/commit/96b92deef8b087e86a9dc3e84381d254ea5c0342

Seems like this was fixed on the master branch (currently version 1.6.1),

Maybe I'm wrong but I can see the commit and this is from August 9, 2023:

And the version was released June 19:

So the fix was added two months later?
And another thing, I can see 1.6.1 being on a different date on pypi, February 20 (Which matches the tag build):

I just downloaded the source code that is attached to the release here on GH for 1.6.1 and still can see ANTIALIAS:

And I have got the error despite reinstalling the library a few times:

You're right - it looks like this change hasn't been released yet. This project has just been transferred under to the pallets ecosysytem project, so hopefully we can get a release lined up shortly, but we have some admin to take care of first.


Remove docker-sync

Purpose
docker-sync complicates our dev environment and uses a lot of CPU.
Docker4Mac has introduced a lot of performance improvements to
bind mounts that make docker-sync unnecessary.
Changes

Bind mount . to /code in relevant containers
Remove docker-sync config
Update docker-compose-dist.override.yml with commented-out bind mounts
Remove docker-compose.linux.yml, since Linux config should be the same as Mac

Documentation

Update README-docker-compose.md

Side Effects
Developers should rm and restart their containers
docker rm -f $(docker ps -a -q)
docker-compose up docker-compose up -d web api fakecas ember_osf_web worker assets

Ticket
No ticket

Made this a hotfix because it'd be a big pain to switch between a branch that uses docker-sync (master) and a branch that didn't (develop).

This was tested on Docker4Mac 18.06.1-ce-mac73 (stable) and 18.05.0-ce-mac67 (edge).
When this lands, there'll be no need to use Edge anymore! 🎉

@icereval Done. Eventually we should probably make docker-compose up -d Just Work, but that'll be a separate PR.

might be worth noting the uninstall steps like gem uninstall -a docker-sync, might be more though.

We could also consider using the built in k8s support in docker for mac, but thats another PR as well...
https://blog.docker.com/2018/01/docker-mac-kubernetes/

OK, I've commented that line and documented the uninstall steps in the PR description.

Woops I missed the USE_CELERY comment. Done in https://github.com/CenterForOpenScience/osf.io/pull/8668


Way to get branch name

Hi, I'm building a Vscode extension with your extension to connect to remote github repositories. Since I need to get current  branch information (name for example) from an repository opended with the extension, I'm wondering if there is a way or existing API to get branch information with this extension? Thanks a lot!
My current way is using the extension "vscode.git" to get branch name.

But the console output is "undefined".

This is possible today but through a different API shape than the API exposed by vscode.git:
	async function getBranchNameForRepository(folderUri: vscode.Uri): Promise<string | undefined> {
		const extension = vscode.extensions.getExtension('ms-vscode.remote-repositories');
		if (extension !== undefined) {
			const api = await extension.activate();
			const repositoryMetadata = await this.getMetadata(folderUri);
			return (await repositoryMetadata?.getRevision())?.name;
		}
		return undefined;
	}


ESC from MapWindow should show menu

At the moment this quits the game. Instead it should show a menu to save the game or adjust some parameters. It should also give the option to return to the main menu or the game.

This allows you to Quit now, but does nothing else, really


Update ecosystem module upload docs (CPAN).

As explained here: https://rakudo.party/post/CPAN6-Is-Here

👍 Looks good. Thanks.
I sent you an invite to perl6 GitHub org that gives you a commit bit to most of our repos. You can accept the invite here: https://github.com/perl6/
Then, you'll be able to merge this PR yourself.


Local tab is missing

Steps to reproduce:

start up sst start
go to https://console.serverless-stack.com/app/stage/local
it is showing the local tab, but the local tab button is missing on the left menu (see screenshot)

Cannot reproduce. Closing for now.


kitti info pickle file generation

Hi @LittlePey ,
Thanks for your great work. Just wonder if there is any script generating the info pickle files? Thanks! :)

Hi, you can run this script to generate info pickle files.

Hi, you can run this script to generate info pickle files.

Hi, could you please provide the details of running the script, maybe the command? It seems that running it under the pcdet folder directly trigger some errors, like this:

Thanks!

Hi, you can run this script to generate info pickle files.

Hi, I have resolved the problem above, but another error message comes up, which seems related to the generated pickle files.

Is there something I missed? Thanks!

Hi, you can use the following command:
python -m pcdet.datasets.kitti.kitti_dataset_sfd create_kitti_infos tools/cfgs/dataset_configs/kitti_dataset_sfd.yaml

And it seems that you did not set 'training=False' when initializing KittiDatasetSFD as us. When training=False, you will not run into this line:

Hi, you can use the following command:
python -m pcdet.datasets.kitti.kitti_dataset_sfd create_kitti_infos tools/cfgs/dataset_configs/kitti_dataset_sfd.yaml

And it seems that you did not set 'training=False' when initializing KittiDatasetSFD as us. When training=False, you will not run into this line:

Hi, thanks! Does it mean that I need to change this line https://github.com/LittlePey/SFD/blob/03f83de462033e4f840f38f0cead44c506b3f1c5/tools/train.py#L112 to False? Thanks!

you can download the planes file from google. and this bug will disapper.


Errors after upgrade

Hello,
today I've upgraded jwt-cpp and I have compiler errors:
[ 94%] Building CXX object CMakeFiles/nms.dir/src/controller/UserController.cpp.o
In file included from /home/marcin/projects/nms/back/src/dto/Token.hpp:5,
                 from /home/marcin/projects/nms/back/src/service/tokenService.hpp:7,
                 from /home/marcin/projects/nms/back/src/service/tokenService.cpp:5:
/home/marcin/projects/nms/back/lib/jwt/include/jwt-cpp/jwt.h: In member function ‘std::string jwt::algorithm::eddsa::sign(const string&, std::error_code&) const’:
/home/marcin/projects/nms/back/lib/jwt/include/jwt-cpp/jwt.h:970:9: error: ‘EVP_DigestSign’ was not declared in this scope; did you mean ‘EVP_DigestSignInit’?
  970 |     if (EVP_DigestSign(ctx.get(),
      |         ^~~~~~~~~~~~~~
      |         EVP_DigestSignInit
/home/marcin/projects/nms/back/lib/jwt/include/jwt-cpp/jwt.h: In member function ‘void jwt::algorithm::eddsa::verify(const string&, const string&, std::error_code&) const’:
/home/marcin/projects/nms/back/lib/jwt/include/jwt-cpp/jwt.h:998:16: error: ‘EVP_DigestVerify’ was not declared in this scope; did you mean ‘EVP_DigestVerifyInit’?
  998 |     auto res = EVP_DigestVerify(ctx.get(),
      |                ^~~~~~~~~~~~~~~~
      |                EVP_DigestVerifyInit
/home/marcin/projects/nms/back/lib/jwt/include/jwt-cpp/jwt.h: In constructor ‘jwt::algorithm::ed448::ed448(const string&, const string&, const string&, const string&)’:
/home/marcin/projects/nms/back/lib/jwt/include/jwt-cpp/jwt.h:1316:81: error: ‘EVP_shake256’ was not declared in this scope; did you mean ‘EVP_sha256’?
 1316 |     : eddsa(public_key, private_key, public_key_password, private_key_password, EVP_shake256, "EdDSA")
      |                                                                                ^~~~~~~~~~~~
      |                                                                                EVP_sha256
In file included from /home/marcin/projects/nms/back/src/dto/Token.hpp:5,
                 from /home/marcin/projects/nms/back/src/service/tokenService.hpp:7,
                 from /home/marcin/projects/nms/back/src/service/userCache.hpp:9,
                 from /home/marcin/projects/nms/back/src/service/userCache.cpp:2:
/home/marcin/projects/nms/back/lib/jwt/include/jwt-cpp/jwt.h: In member function ‘std::string jwt::algorithm::eddsa::sign(const string&, std::error_code&) const’:
/home/marcin/projects/nms/back/lib/jwt/include/jwt-cpp/jwt.h:970:9: error: ‘EVP_DigestSign’ was not declared in this scope; did you mean ‘EVP_DigestSignInit’?
  970 |     if (EVP_DigestSign(ctx.get(),
      |         ^~~~~~~~~~~~~~
      |         EVP_DigestSignInit
/home/marcin/projects/nms/back/lib/jwt/include/jwt-cpp/jwt.h: In member function ‘void jwt::algorithm::eddsa::verify(const string&, const string&, std::error_code&) const’:
/home/marcin/projects/nms/back/lib/jwt/include/jwt-cpp/jwt.h:998:16: error: ‘EVP_DigestVerify’ was not declared in this scope; did you mean ‘EVP_DigestVerifyInit’?
  998 |     auto res = EVP_DigestVerify(ctx.get(),
      |                ^~~~~~~~~~~~~~~~
      |                EVP_DigestVerifyInit
/home/marcin/projects/nms/back/lib/jwt/include/jwt-cpp/jwt.h: In constructor ‘jwt::algorithm::ed448::ed448(const string&, const string&, const string&, const string&)’:
/home/marcin/projects/nms/back/lib/jwt/include/jwt-cpp/jwt.h:1316:81: error: ‘EVP_shake256’ was not declared in this scope; did you mean ‘EVP_sha256’?
 1316 |     : eddsa(public_key, private_key, public_key_password, private_key_password, EVP_shake256, "EdDSA")
      |                                                                                ^~~~~~~~~~~~
      |                                                                                EVP_sha256
In file included from /home/marcin/projects/nms/back/src/dto/Token.hpp:5,
                 from /home/marcin/projects/nms/back/src/service/tokenService.hpp:7,
                 from /home/marcin/projects/nms/back/src/service/userCache.hpp:9,
                 from /home/marcin/projects/nms/back/src/controller/UserController.hpp:7,
                 from /home/marcin/projects/nms/back/src/controller/UserController.cpp:1:
/home/marcin/projects/nms/back/lib/jwt/include/jwt-cpp/jwt.h: In member function ‘std::string jwt::algorithm::eddsa::sign(const string&, std::error_code&) const’:
/home/marcin/projects/nms/back/lib/jwt/include/jwt-cpp/jwt.h:970:9: error: ‘EVP_DigestSign’ was not declared in this scope; did you mean ‘EVP_DigestSignInit’?
  970 |     if (EVP_DigestSign(ctx.get(),
      |         ^~~~~~~~~~~~~~
      |         EVP_DigestSignInit
/home/marcin/projects/nms/back/lib/jwt/include/jwt-cpp/jwt.h: In member function ‘void jwt::algorithm::eddsa::verify(const string&, const string&, std::error_code&) const’:
/home/marcin/projects/nms/back/lib/jwt/include/jwt-cpp/jwt.h:998:16: error: ‘EVP_DigestVerify’ was not declared in this scope; did you mean ‘EVP_DigestVerifyInit’?
  998 |     auto res = EVP_DigestVerify(ctx.get(),
      |                ^~~~~~~~~~~~~~~~
      |                EVP_DigestVerifyInit
/home/marcin/projects/nms/back/lib/jwt/include/jwt-cpp/jwt.h: In constructor ‘jwt::algorithm::ed448::ed448(const string&, const string&, const string&, const string&)’:
/home/marcin/projects/nms/back/lib/jwt/include/jwt-cpp/jwt.h:1316:81: error: ‘EVP_shake256’ was not declared in this scope; did you mean ‘EVP_sha256’?
 1316 |     : eddsa(public_key, private_key, public_key_password, private_key_password, EVP_shake256, "EdDSA")
      |                                                                                ^~~~~~~~~~~~
      |                                                                                EVP_sha256
In file included from /home/marcin/projects/nms/back/src/dto/Token.hpp:5,
                 from /home/marcin/projects/nms/back/src/dto/apiDTO/AuthResponse.hpp:5,
                 from /home/marcin/projects/nms/back/src/dto/apiDTO/AuthResponse.cpp:2:
/home/marcin/projects/nms/back/lib/jwt/include/jwt-cpp/jwt.h: In member function ‘std::string jwt::algorithm::eddsa::sign(const string&, std::error_code&) const’:
/home/marcin/projects/nms/back/lib/jwt/include/jwt-cpp/jwt.h:970:9: error: ‘EVP_DigestSign’ was not declared in this scope; did you mean ‘EVP_DigestSignInit’?
  970 |     if (EVP_DigestSign(ctx.get(),
      |         ^~~~~~~~~~~~~~
      |         EVP_DigestSignInit
/home/marcin/projects/nms/back/lib/jwt/include/jwt-cpp/jwt.h: In member function ‘void jwt::algorithm::eddsa::verify(const string&, const string&, std::error_code&) const’:
/home/marcin/projects/nms/back/lib/jwt/include/jwt-cpp/jwt.h:998:16: error: ‘EVP_DigestVerify’ was not declared in this scope; did you mean ‘EVP_DigestVerifyInit’?
  998 |     auto res = EVP_DigestVerify(ctx.get(),
      |                ^~~~~~~~~~~~~~~~
      |                EVP_DigestVerifyInit
/home/marcin/projects/nms/back/lib/jwt/include/jwt-cpp/jwt.h: In constructor ‘jwt::algorithm::ed448::ed448(const string&, const string&, const string&, const string&)’:
/home/marcin/projects/nms/back/lib/jwt/include/jwt-cpp/jwt.h:1316:81: error: ‘EVP_shake256’ was not declared in this scope; did you mean ‘EVP_sha256’?
 1316 |     : eddsa(public_key, private_key, public_key_password, private_key_password, EVP_shake256, "EdDSA")
      |                                                                                ^~~~~~~~~~~~
      |                                                                                EVP_sha256
make[3]: *** [CMakeFiles/nms.dir/build.make:135: CMakeFiles/nms.dir/src/service/tokenService.cpp.o] Błąd 1
make[3]: *** Oczekiwanie na niezakończone zadania....
make[3]: *** [CMakeFiles/nms.dir/build.make:148: CMakeFiles/nms.dir/src/service/userCache.cpp.o] Błąd 1
make[3]: *** [CMakeFiles/nms.dir/build.make:96: CMakeFiles/nms.dir/src/dto/apiDTO/AuthResponse.cpp.o] Błąd 1
In file included from /home/marcin/projects/nms/back/src/dto/Token.hpp:5,
                 from /home/marcin/projects/nms/back/src/service/tokenService.hpp:7,
                 from /home/marcin/projects/nms/back/src/service/userCache.hpp:9,
                 from /home/marcin/projects/nms/back/src/controller/InitController.hpp:12,
                 from /home/marcin/projects/nms/back/src/controller/InitController.cpp:1:
/home/marcin/projects/nms/back/lib/jwt/include/jwt-cpp/jwt.h: In member function ‘std::string jwt::algorithm::eddsa::sign(const string&, std::error_code&) const’:
/home/marcin/projects/nms/back/lib/jwt/include/jwt-cpp/jwt.h:970:9: error: ‘EVP_DigestSign’ was not declared in this scope; did you mean ‘EVP_DigestSignInit’?
  970 |     if (EVP_DigestSign(ctx.get(),
      |         ^~~~~~~~~~~~~~
      |         EVP_DigestSignInit
/home/marcin/projects/nms/back/lib/jwt/include/jwt-cpp/jwt.h: In member function ‘void jwt::algorithm::eddsa::verify(const string&, const string&, std::error_code&) const’:
/home/marcin/projects/nms/back/lib/jwt/include/jwt-cpp/jwt.h:998:16: error: ‘EVP_DigestVerify’ was not declared in this scope; did you mean ‘EVP_DigestVerifyInit’?
  998 |     auto res = EVP_DigestVerify(ctx.get(),
      |                ^~~~~~~~~~~~~~~~
      |                EVP_DigestVerifyInit
/home/marcin/projects/nms/back/lib/jwt/include/jwt-cpp/jwt.h: In constructor ‘jwt::algorithm::ed448::ed448(const string&, const string&, const string&, const string&)’:
/home/marcin/projects/nms/back/lib/jwt/include/jwt-cpp/jwt.h:1316:81: error: ‘EVP_shake256’ was not declared in this scope; did you mean ‘EVP_sha256’?
 1316 |     : eddsa(public_key, private_key, public_key_password, private_key_password, EVP_shake256, "EdDSA")
      |                                                                                ^~~~~~~~~~~~
      |                                                                                EVP_sha256

What's wrong?

The EVP_sha256 error is definitly a typo.
I am not sure about the EVP_DigestVerify / EVP_DigestSign errors though. They should be in openssl and I could not find anything about them not being included in all openssl versions which support ecdsa.
Which OpenSSL version are you using ?
I assume you use the current master ?

Ok, my fault. I've installed from sources LibreSSL :( but I also have OpenSSL installed v.1.1.1g

But if i reset to this eee4f7c (this commit I was using) jwt compiles

Thats because the missing functions are used in the edDSA support that got merged after this tag.
Since edDSA is probably not relevant for you I suggest you stick to the tag until we properly fix it.

@Thalhammer Ok, thaks for help. So I wait for fix.
Best regards

Hello, when we can expect properly fix it? The problem still occurs :(
/home/marcin/projects/nms_new/back/lib/jwt/include/jwt-cpp/jwt.h:970:9: error: ‘EVP_DigestSign’ was not declared in this scope; did you mean ‘EVP_DigestSignInit’?
  970 |     if (EVP_DigestSign(ctx.get(),
      |         ^~~~~~~~~~~~~~
      |         EVP_DigestSignInit

Can you please confirm with library you are using? Are you trying to compile with LibreSSL (at which version) or openssl v1.1.1g?
Also the OS and Compiler would be wonderful too so we can reproduce the issue =)

$ openssl version
OpenSSL 1.1.1g  21 Apr 2020

$ g++ -v
Using built-in specs.
COLLECT_GCC=g++
COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/9/lto-wrapper
OFFLOAD_TARGET_NAMES=nvptx-none:hsa
OFFLOAD_TARGET_DEFAULT=1
Target: x86_64-linux-gnu
Thread model: posix
gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04)

I am not able to reproduce any issue with ubuntu 20.04 gcc-9.3 and openssl/1.1.1f.
I see this function has been available for several years, https://github.com/openssl/openssl/blame/85209c07459b1c6007e0fc550f40c05deec78531/include/openssl/evp.h#L698
Since this does not seem be a jwt-cpp issue, you'll need to investigate why your openssl installation is missing parts of the API.

Ok, I'll check it on other system, but I reset into eee4f7cbd06f31f06d6335743e9f4ca07e1eb7e6 it compiles and works

@nicraMarcin Are you actually sure you are linking against that openssl install ?

@Thalhammer Truly speaking, no :/ so I have to check it at other system.

Because if you were linking against libressl instead it would explain the error you are seeing. Libressl does not have the function we are using there.

Ok, this is from OpenSSL. I removed my LibreSSL and installed into custom folder.
This is printed when I have add_subdirectory(lib/jwt)
-- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libcrypto.so (found suitable version "1.1.1g", minimum required is "1.0.2")
-- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libcrypto.so (found version "1.1.1g")

I tried to install jwt-cpp (not as submodule) and the same result
root@marcin-huawei:/tmp/jwt-cpp/build# cmake ..
-- The C compiler identification is GNU 9.3.0
-- The CXX compiler identification is GNU 9.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libcrypto.so (found suitable version "1.1.1g", minimum required is "1.0.2")
-- Found GTest: /usr/lib/x86_64-linux-gnu/libgtest.a
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/jwt-cpp/build
root@marcin-huawei:/tmp/jwt-cpp/build# make
Scanning dependencies of target jwt-cpp-test
[  5%] Building CXX object tests/CMakeFiles/jwt-cpp-test.dir/BaseTest.cpp.o
[ 11%] Building CXX object tests/CMakeFiles/jwt-cpp-test.dir/ClaimTest.cpp.o
[ 16%] Building CXX object tests/CMakeFiles/jwt-cpp-test.dir/Keys.cpp.o
[ 22%] Building CXX object tests/CMakeFiles/jwt-cpp-test.dir/HelperTest.cpp.o
[ 27%] Building CXX object tests/CMakeFiles/jwt-cpp-test.dir/TestMain.cpp.o
[ 33%] Building CXX object tests/CMakeFiles/jwt-cpp-test.dir/TokenFormatTest.cpp.o
[ 38%] Building CXX object tests/CMakeFiles/jwt-cpp-test.dir/TokenTest.cpp.o
[ 44%] Building CXX object tests/CMakeFiles/jwt-cpp-test.dir/NlohmannTest.cpp.o
[ 50%] Building CXX object tests/CMakeFiles/jwt-cpp-test.dir/OpenSSLErrorTest.cpp.o
[ 55%] Linking CXX executable jwt-cpp-test
[ 55%] Built target jwt-cpp-test
Scanning dependencies of target rsa-verify
[ 61%] Building CXX object example/CMakeFiles/rsa-verify.dir/rsa-verify.cpp.o
[ 66%] Linking CXX executable rsa-verify
[ 66%] Built target rsa-verify
Scanning dependencies of target rsa-create
[ 72%] Building CXX object example/CMakeFiles/rsa-create.dir/rsa-create.cpp.o
[ 77%] Linking CXX executable rsa-create
[ 77%] Built target rsa-create
Scanning dependencies of target private-claims
[ 83%] Building CXX object example/CMakeFiles/private-claims.dir/private-claims.cpp.o
[ 88%] Linking CXX executable private-claims
[ 88%] Built target private-claims
Scanning dependencies of target print-claims
[ 94%] Building CXX object example/CMakeFiles/print-claims.dir/print-claims.cpp.o
[100%] Linking CXX executable print-claims
[100%] Built target print-claims
root@marcin-huawei:/tmp/jwt-cpp/build# make install
[ 55%] Built target jwt-cpp-test
[ 66%] Built target rsa-verify
[ 77%] Built target rsa-create
[ 88%] Built target private-claims
[100%] Built target print-claims
Install the project...
-- Install configuration: ""
-- Up-to-date: /usr/local/include/jwt-cpp/jwt.h
-- Up-to-date: /usr/local/include/jwt-cpp/base.h
-- Up-to-date: /usr/local/include/picojson/picojson.h
-- Installing: /usr/local/jwt-cpp/jwt-cpp.cmake
-- Installing: /usr/local/jwt-cpp/jwt-cpp-config.cmake
-- Installing: /usr/local/jwt-cpp/jwt-cpp-config-version.cmake
root@marcin-huawei:/tmp/jwt-cpp/build#

And from my project:
[ 91%] Building CXX object CMakeFiles/nms.dir/src/service/authService.cpp.o
In file included from /home/marcin/projects/nms/back/src/dto/Token.hpp:5,
                 from /home/marcin/projects/nms/back/src/dto/apiDTO/AuthResponse.hpp:5,
                 from /home/marcin/projects/nms/back/src/dto/apiDTO/AuthResponse.cpp:2:
/usr/local/include/jwt-cpp/jwt.h: In member function ‘std::string jwt::algorithm::eddsa::sign(const string&, std::error_code&) const’:
/usr/local/include/jwt-cpp/jwt.h:970:9: error: ‘EVP_DigestSign’ was not declared in this scope; did you mean ‘EVP_DigestSignInit’?
  970 |     if (EVP_DigestSign(ctx.get(),
      |         ^~~~~~~~~~~~~~
      |         EVP_DigestSignInit
/usr/local/include/jwt-cpp/jwt.h: In member function ‘void jwt::algorithm::eddsa::verify(const string&, const string&, std::error_code&) const’:
/usr/local/include/jwt-cpp/jwt.h:998:16: error: ‘EVP_DigestVerify’ was not declared in this scope; did you mean ‘EVP_DigestVerifyInit’?
  998 |     auto res = EVP_DigestVerify(ctx.get(),
      |                ^~~~~~~~~~~~~~~~
      |                EVP_DigestVerifyInit

Ok, I think this could be my problem caused by earlier install of LibreSSL :(

Problem is caused by handling two ssl library. I need libressl for api and openssl for jwt.
 I see, that jwt finds OpenSSL but CLion links to libre instead openssl and I don't know how to reslove it :(
I have jwt as submodule in my project
add_subdirectory(lib/jwt)
[...]
target_link_libraries(${project_name_lib}
        PUBLIC oatpp oatpp-libressl oatpp-postgresql pq jwt-cpp  crypto pthread ${ARGON2_LIBRARY} mailio
)

The proper fix would be replacing EVP_DigestVerify with the (more verbose) code to support libressl as well, which is tracked here: #100 .
I'll take a look at it tonight, maybe I can push it soon. IMHO the real problem is libressl claiming to be a 1:1 replacement (they do so by using the same header path/lib names) but then not following the api. So in my opinion this should be fixed by libressl, not everyone using it. None the less were having to deal with it and more and more projects use libressl so not supporting it is not an option.
Stick with the last commit that works for you, I'll ping you once I have a fix for you to try out.

Cool thanks

@nicraMarcin can you check if the changes in 782acc0 fix your problem ?
The test cases (except for the OpenSSLErrorTest) should be ok, however I unfortunately dont have an libressl pc to try.

Compiles, but with this I have Segmentation Fault :(

can you do a back trace (at least of everything within jwt-cpp) ?

I have to finish for today. I'll paste when I'll check

Ok, works, my segmentation fault was caused by other issue.


xenko can support mac?

xenko editor and  xenko game support mac?

Editor is windows only for the moment because of dependency with WPF.
macOS is supported as a platform for the game and engine itself.

h


Feature angular

Angular 5 implementation of the uikit project. Has the core and accordion features implemented so far.
Comes with the following feature:

Based on the uikit CSS framework.
Component implementation based on Angular Component Development Kit (@angular/cdk).
Animation implementation using Angular Animation library. Does not directly use @gov.au/animate but replicates the functionality using @angular/animations.
Unit testing with angular test bed
A demo project to see components in action.

More component implementation in Angular to come I hope ...

Thanks for the PR @shakilsiraj, we really appreciate all the work that's gone into this!
And thanks for the review @dominikwilkowski :)
Our lead developer is back from holiday in a couple days and we'll have a more detailed look at the code then. This will be a great opportunity to discuss how we might support another JS framework in the design system. I know there are a few agencies that are currently using Angular so this is a good conversation to have.

Thankyou @shakilsiraj, there is a lot of great work here that the community is going to benefit greatly from. Thanks @dominikwilkowski for going through the code and offering valuable feedback.
Unfortunately there is a lot of fundamental architecture decisions that the uikit has made that this pull request goes against. Please read our contributing guidelines and familiarise yourself with our current requirements. We automate a lot of tests, pipelines and tools with the current lerna multi repository set up. Moving the angular components into their own package would break a lot of this and cause the system to move slower and not be able to scale. More than likely this would be a negative for users of the angular components as they are now forked from the main components.
From an architecture perspective here are the current missing pieces:

Pancake angular plugin
Uikit lerna pipeline using the angular pancake plugin
Uikit documentation site angular page and webpack build
Design system documentation and angular copy paste snippets
Angular component properties documentation
Furnace angular component download

Maintaining two javascript frameworks in the UIKit is possible if the community can help. We are currently ideating bootcamps where external members of the community can come in and sit with us and contribute to the design system and their project. All of the above current missing pieces are a requirement for angular to be added to this repository. If you would like to take a go at implementing any of the above missing pieces I am happy to help you get started.
Currently we are a small growing team. We as a team right now can not support the angular work that this pull request would start. There is a lot of documentation, tests, usability testing, automation and delivery of components that users don’t see. We need to document these pipelines better so contributors understand our architecture decisions and can then easily contribute.
Our team is currently implementing local and main navigation, better support for designers and a hope to move into templates in the near future. This is a lot of work for our teams current and future size. We are trying our best to support the community and be as transparent as possible. You can view our current backlog.

Thanks for the positive vibes and understanding @shakilsiraj definitely keen to talk more about this. Feel free to send an email to<EMAIL_ADDRESS>and we can organise a meeting in person or on the phone!
I'm about to head off for the day, so i'll try give you a better reply about the approach for angular components on Monday 👍

@shakilsiraj Ok I have some time to reply now. Again this pull request is awesome and really appreciate all of your hard work.

If I go with the Angular pancake module, I will need to create a separate CLI project like the ngx one in each of the modules. That will slow down installation and build speed significantly especially for those who are not working with Angular.

So this shouldn't be as big of an issue as you think. We have ways to enable and disable the build pipelines in pancake. This means that a user who wants angular would be able to build an angular component and another user may choose to exclude angular.
The components themselves and the libraries that make them work are actually separated. When we deliver a react component we deliver pure component code but no library to make it work. When a user downloads a component and choose to use the react pipeline in pancake, they would literally only get the component file ( accordion.js ). We rely on the user to install react, npm, node and import the component in to their project. The same would also happen for angular we would expect the user to install angular or set up a cli that can then ingest the angular components.
I'll see if I can do a similar thing with a simple angular component and share it back to you and see what you think.

A better alternative perhaps is to start fresh with a separate Angular project and pull in the required UIKIT projects via npm dependencies. That would be cleaner and easy to maintain. This can be hosted on a separate repo on its own. I'm sure there are enough people to support the project.

I think this is a valid solution, however I would love angular to be in this library and supported by the community. Splitting the projects for now may mean that you can work faster and are not blocked by us. If you do choose to go down this path I would love to one day soon sit down and discuss your approach and learnings and see how/if we can merge the two together.

@shakilsiraj received cheers 👍

Hey @shakilsiraj thanks for the chat today. For everyone else's benefit here are somethings that came out of it.
We need the components to work with whatever bundler the user is using. This means it should work with rollup, angular cli or webpack. This also means that when we build an angular component it needs to be a pure component ( one javascript file that gets imported ) that should work in any build pipeline.
For our test pages we will need to use a build pipeline to actually render the angular component to the page, something like angular-cli. This would only be included as a developer dependency for this task and the user would be able to choose other implementations to suit themselves.
Things we and @shakilsiraj will try and do this sprint:

Set up the helper.js file to do an angular pipeline to build from src -> lib
Build a simple component direction-links/src/js/angular.js in angular
Render this to a test page
Publish a next version of the component and test how it integrates with an external angular pipeline
Start writing technical articles explaining how to get started with the design system using HTML, react and angular

I think(????) I have managed to get a good crack at it. Check out the the commit 0eeb2b4 in regards to #471 and #472.
Gist:

There is an angular implementation under src/ts directory.
There is a barebone angular demo app for the component under test/angular director.
Jest with angular preset has been used to run unit tests - see setup-jest.ts and jest definition in package.json as well as test:unit-test target
build:angular would create the distribution lib at lib/js/angular.es2015.js.
test:angular would compile the demo site under test/angular directory.

I'm guessing you guys would be able to work out #470 and #473 from the fork? I might have missed something here, so would appreciate you guys having a go at it. Please let me know if you have any questions.

Thanks @shakilsiraj I'm going to look at your work over the next few days and see what we can do to get this integrated correctly!

:+1:

Hi @shakilsiraj I think I have an idea about how this might be able to work from a simple approach. Let me know what you think.
The uikit could provide a template html and css file for ingestion by angular. This means that the html file could look like:

{{ text }}

Together they could be ingested like:
import { Component, Input } from '@angular/core';

@Component({
  selector: 'au-callout',
  templateUrl: './au-callout.html',
  styleUrls: ['./au-callout.css']
})

export class AUcallout {
  text: 'a string or a variable',
  classnames: ' a string or variable',
}

Then our test pages could be a simple angular-cli repository ( however with a lot of the fuzz removed ).
The main thing I am not sure about is dynamic components, we can provide the spot for the class to go
and click handlers however we wouldn't be writing the functionality in this case. Which may be beneficial of developers who want to control the state in other ways.
Let me know if you have any suggestions or ideas, i'm trying to keep the changes as minimal as possible so we can get this work in easily.

Hey @alex-page,
I think I have done something very similar. Have a look at the following:
The angular module:
https://github.com/shakilsiraj/uikit/tree/feature-angular/packages/direction-links/src/ts
The test application ( a barebone version of an ng cli project:
https://github.com/shakilsiraj/uikit/tree/feature-angular/packages/direction-links/tests/angular/src
And the changes to package.json(https://github.com/shakilsiraj/uikit/blob/feature-angular/packages/direction-links/package.json) along with the new build targets: test:angular and build:angular.
What do you think?

@shakilsiraj Yeah exactly something like this, I might try making a new branch with your code and see if I can make it a little bit smaller.
Thanks again for all your work and feedback!

@sukhrajghuman are you able to remove me as reviewer 🙏

@alex-page doesn't look like I can, since you are no longer part of the org... :(

@alex-page you're not a reviewer (or what GitHub calls it assignee) anymore and it only shows your last review on the top. You can just mute the issues for yourself. :)


error initializing github authentication transport: wrong number of installations, expected 1, found 0

Description
Please provide a clear and concise description of the issue you are encountering, and a reproduction of your configuration (see the examples/* directory for references that you can copy+paste and tailor to match your configs if you are unable to copy your exact configuration). The reproduction MUST be executable by running terraform init && terraform apply without any further changes.
If your request is for a new feature, please use the Feature request template.

[x] ✋ I have searched the open/closed issues and my issue is not listed.

⚠ Note
Before you submit an issue, please perform the following first:

Remove the local .terraform directory (! ONLY if state is stored remotely, which hopefully you are following that best practice!): rm -rf .terraform/
Re-initialize the project root to pull down modules: terraform init
Re-attempt your terraform plan or apply and check if the issue still persists

Versions

Module version [Required]:

Terraform version:

Terraform v1.0.9
on darwin_amd64

Provider version(s):

provider registry.terraform.io/hashicorp/aws v4.52.0
provider registry.terraform.io/hashicorp/local v2.3.0
provider registry.terraform.io/hashicorp/random v3.4.3

Reproduction Code [Required]
module "atlantis" {
  source  = "terraform-aws-modules/atlantis/aws"
  version = "~> 3.0"

  name = "atlantis"

  # VPC
  cidr            = "<IP_ADDRESS>/16"
  azs             = ["us-west-2a", "us-west-2b", "us-west-2c"]
  private_subnets = ["<IP_ADDRESS>/24", "<IP_ADDRESS>/24", "<IP_ADDRESS>/24"]
  public_subnets  = ["<IP_ADDRESS>/24", "<IP_ADDRESS>/24", "<IP_ADDRESS>/24"]

  # DNS (without trailing dot)
  route53_zone_name = "example.com"

  # ACM (SSL certificate) - Specify ARN of an existing certificate or new one will be created and validated using Route53 DNS
  #   certificate_arn = "arn:aws:acm:eu-west-1:135367859851:certificate/70e008e1-c0e1-4c7e-9670-7bb5bd4f5a84"

  # Atlantis
  atlantis_github_app_id  = "foobar"
  atlantis_github_app_key = data.local_file.foo.content
  atlantis_repo_allowlist = ["github.com/foobar/*"]

  atlantis_github_webhook_secret = "foobarbaz"
}

data "local_file" "foo" {
  filename = "${path.module}/atlantis-foobar.pem"
}

output "webhook_url" {
  description = "Github webhook URL"
  value       = module.atlantis.atlantis_url_events
}

output "webhook_secret" {
  description = "Github webhook secret"
  value       = module.atlantis.webhook_secret
  sensitive   = true
}

Steps to reproduce the behavior:

terraform apply

Expected behavior

This module create an endpoint at https://atlantis.foobar.com/events, and then I would see Atlantis initial page.
Actual behavior

The page was hosted at https://atlantis.foobar.com/events as I expected, but page returned "503 Service Temporarily Unavailable". I checked ECS logs the log omitted the following message.
"error initializing github authentication transport: wrong number of installations, expected 1, found 0"
Terminal Output Screenshot(s)

Apply complete! Resources: 55 added, 0 changed, 0 destroyed.

Additional context

I realized I didn't install Github App onto my target organization. It's needed in addition to set up Github App.
Therefore, this issue seems solved, so I close this issue.


add auto-detect

self explanatory

ada ini.. tapi masa detect language doang sampe harus spawn child process
https://github.com/yoeo/guesslang

closed with #15


Office Requirements

In the case of all the sections mentioning Office Requirements, it does not clarify 32 or 64 bit.  Our experience is that it seems to require 32 bit.  Can you confirm 32 vs 64 bit in the requirements?   If 64 bit is OK, I'll open support cases.

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

ID: a2b0aa47-5276-2fd9-173f-f05adcd420c2
Version Independent ID: fb89206b-f5c1-6f2c-1f83-899c02aa8e89
Content: System Requirements for Business Central - Business Central
Content Source: dev-itpro/deployment/system-requirement-business-central.md
Service: dynamics365-business-central
GitHub Login: @jswymer
Microsoft Alias: solsen

Hello,
According to the development team, 64-bit should work. If you are experiencing issues, it might be a good idea to open a support case so that we can look into it. Thanks for the feedback.

Hello,
I hope that you found a solution to this issue. We will close this for now. If you have found anything that required a documentation update, let us know and we will gladly reopen the issue. Thanks!


Add cmake code for performance module

Description
As discussed in https://github.com/firebase/firebase-cpp-sdk/issues/671 this PR provides some basic CMake and gradle code to compile the performance module.

Testing
I have currently only tested the Android and iOS binaries within our internal project.

Type of Change
Place an x the applicable box:

[ ] Bug fix. Add the issue # below if applicable.
[ ] New feature. A non-breaking change which adds functionality.
[X] Other, such as a build process or documentation change.

Notes

Bug fixes and feature changes require an update to the Release Notes section of release_build_files/readme.md.
Read the contribution guidelines CONTRIBUTING.md.
Changes to the public API require an internal API review. If you'd like to help us make Firebase APIs better, please propose your change in a feature request so that we can discuss it together.

Thanks for sending this! Since Performance is not officially supported in the C++ SDK yet, I'd like to ensure that this is not included in builds by default, so could you change the default setting to reflect that? Developers who want to include it can specify -DFIREBASE_INCLUDE_PERFORMANCE=TRUE.
Also, could you ensure that the stub build compiles on at least one desktop platform (e.g. Mac)?


server: Stop requesting initial graph sync

In this commit, we remove signaling for initial routing
dumps, which create unnecessary log spam, bandwidth, and
CPU. Now that gossip syncing is in full force, we will
instead opt to use the more efficient querying/set
reconciliation. Other nodes may still request initial
gossip sync from us, and we will respond.

Note this PR has been modified to only include the commit that stops requesting initial graph sync. Though unlikely, this on its own could result in bootstrapping with a set peers that do not understand gossip queries, and the node not getting a view of the channel graph.
To remedy this, #1838 includes a series of changes that allow the user to specify that they require gossip queries (and data loss protection as well). With those changes, the node should always be able to receive a full copy of the channel graph.


Updated Using-Parameters-In-A-Class-Python.rst

Attempted to solve the issue "Rewrite Python Parameters tutorial #814"
1.Added detailed explanation in the "Examining the code" section
2.Made text flow changes in the "Examining the code" section
3. Did't find this problem mentioned in the issue "its not totally clear about the path locations of the files"
Please review and suggest changes if  needed
#814

Thank you for going through the file and pointing out places where we can make changes. I'll make the changes and commit by tonight.

I have made the changes you requested and have made a couple of other formatting changes in the doc, Please review and suggest changes if necessary.

Thank you @archit2604 !
fixes #814
@Mergifyio rolling foxy dashing

@Mergifyio backport rolling foxy dashing


Extension name format for magento-extension-installer

Hi there!
Thank you for these awesome containers :)
I am using them to setup environment to develop a plugin.
However, I cannot achieve to use the magento-extension-installer script.

I don't see any transformation on the provided extension name.
Let's say that I have mounted a directory /extensions in cli & fpm containers, that contains:

/extensions/Author/Plugin/composer.json

{
    "name": "author/plugin",
    "type": "magento2-module",
    "description": "Test plugin",
    "version": "0.0.1",
    "autoload": {
        "psr-4": {
            "Author\\Plugin\\": ""
        },
        "files": [
            "registration.php"
        ]
    }
}

/extensions/Author/Plugin/registration.php

<?php

use Magento\Framework\Component\ComponentRegistrar;

ComponentRegistrar::register(
    ComponentRegistrar::MODULE,
    'Author_Plugin',
    __DIR__
);

/extensions/Author/Plugin/etc/module.xml

<?xml version="1.0"?>
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd">
    <module name="Author_Plugin" setup_version="0.0.1" />
</config>

When I run docker-compose run cli magento-extension-installer Author_Plugin:
...
Unable to read package directory /extensions/Author_Plugin!
...

When I run docker-compose run cli magento-extension-installer Author/Plugin:
...
Installing author/plugin with Composer...
./composer.json has been updated
Loading composer repositories with package information
...
Configuring Author/Plugin with Magento...
Unknown module(s): 'Author/Plugin'
Magento 2 cli commands failed!

Thanks

I tried to manually finish the installation by running:
docker-compose run cli magento-command module:enable Author_Plugin
docker-compose run cli magento-command setup:upgrade
docker-compose run cli magento-command setup:di:compile
docker-compose run cli magento-command cache:flush

But the front is throwing an error:
Path "/extensions/Author/Plugin/view/frontend/templates/load.phtml" cannot be used with directory "/var/www/magento/", from Filesystem/Directory/Read.php


Release v2.0 to NuGet

I've tried very hard to get a hold of @tonerdo to communicate to him that we have a working copy of the project.
If I am unable to contact him, I will most likely release the code to NuGet under a different (albeit very similar) name.
Tasks:

[ ] (Try to) reach @tonerdo
[ ] Release v2.0 to NuGet
[ ] Update relevant issues over at tonerdo/Pose
[ ] Make an announcement over at tonerdo/Pose

@sgf I am uploading the package to NuGet today. It will be under the name "Poser", and can be found here: https://www.nuget.org/packages/Poser/2.0.0


fix: increase specificity of delete entity label button

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Set up automatic deploy to staging on merge to master

@alexsoble: We were talking about this, I think.

We don't have a staging env anymore, so deleting this.


Sort some more badges

Move the Docker Pulls badge from Other to Downloads.
Create Platform & Language Support for the following:

django version support
python version support
node version support
type support
pypi - wheel (waiting to avoid conflict with #1922)
pipi - format (waiting to avoid conflict with #1922)
pipi - implementation (waiting to avoid conflict with #1922)
hhvm
cocoapods platform

Feedback is welcomed!
Ref: #1905

Warnings

:warning:

This PR modified service code for node but not its test code. That's okay so long as it's refactoring existing code.

:warning:

This PR modified service code for npm but not its test code. That's okay so long as it's refactoring existing code.

Messages

:book:

:sparkles: Thanks for your contribution to Shields, @paulmelnikow!

:book:

Thanks for contributing to our documentation. We :heart: our documentarians!

  Generated by :no_entry_sign: dangerJS

Thanks for contributing to our documentation. We ❤ our documentarians!

Where did you change documentation in this PR?! I'm confused...

Ah, good call on the PHP versions and conda platform. I’ll update this.
Agreed on PyPI too. I’m waiting on #1922 to avoid conflicts.

Right now it's called Platform and Language Support with the goal of trying to pull in the npm type defs badge, which is a horse of its own special color. Maybe Platform and Version Support is better, and we place the npm defs badge in Other?

Updated!

Yea, that's what I was thinking too: that we'd merge this without touching PyPI, and then adjust the PyPI categorization in #1922. Thanks!


gmqcc: init at unstable-2020-10-27

Motivation for this change
A modern QuakeC compiler.  I decided to put it in development/compilers rather than games because it's only a compiler.
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"
[x] 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)
[x] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

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

1 package built:

gmqcc

superseded by https://github.com/NixOS/nixpkgs/pull/176565


replace sub with view

Because this was deprecated.

[Current coverage][cc-pull] is 81.11%

Merging [#21][cc-pull] into [master][cc-base-branch] will decrease coverage by 0.69%

@@             master        #21   diff @@
==========================================
  Files             5          5
  Lines           286        286
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
- Hits            234        232     -2
- Misses           52         54     +2
  Partials          0          0

Powered by Codecov. Last updated by [90ae917...8705dd1][cc-compare]
[cc-base-branch]: https://codecov.io/gh/BioJulia/BufferedStreams.jl/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/BioJulia/BufferedStreams.jl/compare/90ae91778e4e3a1de85b970fab305ad7b448ba59...8705dd18c00ca6b22d1ceca1513d93d3269a18b0
[cc-pull]: https://codecov.io/gh/BioJulia/BufferedStreams.jl/pull/21?src=pr


Updates to automate the setup for passkey logins

Enable a working passkeys setup
Updated Android gradle settings to be a little more up to date and better match a default app

NOTE: before merge, update the TODO in the start-idsvr script.

When I checkout the branch and run it without any changes (so running on localhost). I can't get the passkey to work directly from the app. I have to open the browser to use a passkey. I'm not sure if it's possible to make it work with localhost at all.
To make it work straight from the app I had to:
- switch to using ngrok
- update the team ID in my idsvr settings and use a real team ID
When I only switch to ngrok and leave the default MYTEAMID then I still have to switch to the browser to use a passkey.

Ah, I now see that our website tutorial explains how to set the team ID. I think we should add a link to the tutorial in the README of this repo. Or maybe even add the link to the app's homepage, something like "If you want to use the demo with passkeys make sure to check the tutorial here: ..."


atstccfg uses incorrect key/cert paths

I'm submitting a ...

bug report

Traffic Control components affected ...

Traffic Ops ORT (atstccfg)

Current behavior:
The locations for keys and certificates are currently hard-coded in atstccfg, and don't respect the location parameters.
Expected / new behavior:
atstccfg should respect "location" parameters and output files with correct Path headers.
Minimal reproduction of the problem with instructions:
Run atstccfg with your ssl_multicert's "location" parameter set to anything other than /opt/trafficserver/etc/trafficserver/ssl/.

This is how ORT has always done it: https://github.com/apache/trafficcontrol/blob/3.1.x/traffic_ops/bin/traffic_ops_ort.pl#L2949
I agree, it shouldn't be hard-coded. But, should it be the ssl_multicert.config location Parameter? Or should it be the records.config CONFIG proxy.config.ssl.server.cert.pathand
CONFIG proxy.config.ssl.server.private_key.path` Parameters? The latter are where ATS will look for them, I believe.

Yeah, it's not a regression.
And that is where ATS will look. A smarter system could look at those instead, I certainly don't have a problem with that. But location parameters are how we typically handle that, and I know those Parameters exist in the default profiles (or did) because that's where I copied them from.
It just seems a bit inconsistent for this to not follow the same pattern as every other file. I hope in the future that location Parameters can be totally obliterated, and I'm on board if you wanna start that now, it just seems that a better time would be when ORT is rewritten.


Adds more tests for base class override

Attempting to add some more tests as described in #2060
This is my first time looking into the base service so hopefully these are valid/useful tests and inline with the ask!

Messages

:book:
:sparkles: Thanks for your contribution to Shields, @calebcartwright!

  Generated by :no_entry_sign: dangerJS


Fix comment typos

By analyzing the blame information on this pull request, we identified @davidaurelio and @grabbou to be potential reviewers.

@facebook-github-bot shipit

Thanks for importing. If you are an FB employee go to Phabricator to review.


Update acorn used by tern to the recent version

Though the installed tern-0.16.0 depends on acorn-2.5.2 or higher, we are using a patched version of acorn-2.0.4. I found that tern-0.16.0 can not work properly with the lower version of acorn in some case. For example, renaming function names does not rename the function name in its declaration.
The plan is to update to acorn-2.6.4.
However, I failed to load upstream acorn-2.6.4's acorn_loose module
due to a synchronous require call, require('./acorn') in the module.
We need to patch acorn to compile out proper AMD module.

Resolved by #820


Open to refactoring and feature PRs?

I've written a feature (opening the window at the bottom of the buffer) and have done some refactoring. Are you open to PRs?

I am always open for PRs ❤, it is why open sourced it in the first place.


Added HTTP verb: OPTIONS.

Required for cross-domain calls in Firefox. We should also add PATCH as it's a standard now - already added to Sinatra.

We should merge this to the frontier branch, cc: @mbleigh @jch
As a note to all, It would be nice to document the methods supported in the README as well as how to route multiple methods.

Yes, wasn't aware of the mutliple-method-routing. Regarding PATCH there's a open pull request for "rack-test" that needs to be merged before it's possible to test PATCH method properly using it.

@grimen - can you please reopen this on the frontier branch? thx

@dblock Done.

@grimen you got a bad merge there, look at the github pull - there were some hard resets on that branch - I would kill it on your side and re-make the change by hand

@dblock Uhm hard-resets? Could you do it manually, this is 2 lines of code...

I can get this merged in after work. Can't clone from behind the work firewall unfortunately, otherwise I'd do it now.  I'll add this to both the master and frontier branch since it looks pretty small.


[ctrl + w] to close app if only one tab and is empty or saved

Basically like in browsers or vscode.
Also [ctrl + shift + w] to force close.
~It would be nice also to restore session in case of a system failure or restart (like in notepadd++)~
edit: I saw now the session snapshot.. oops ^^
Love this app 👌

I saw also that this request is on a pull-request #601 hope it gets to master


[Solved] overlapblock issue #424

SolvedIssue
Files To Check

modules\overlapblock\overlap_15_by_Apoorva401.html

Hi @NtemKenyor, I have raised a Pull Request for the above issue. Could you please look into it?