Fix Synergy building on macOS

Update gtest and gmock to fix clang compiler issues, as well as patch CMakeLists.txt in multiple places to fix other issues on macOS.
Things done

[x] Tested without sandboxing on macOS
[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
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 nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build synergy

@GrahamcOfBorg build synergy

Success on x86_64-linux (full log)
Attempted: synergy
Partial log (click to expand)
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/q85h06ac7iba7smyp4mx7jw76nr8fp4m-synergy-1.8.8
shrinking /nix/store/q85h06ac7iba7smyp4mx7jw76nr8fp4m-synergy-1.8.8/bin/synergyc
shrinking /nix/store/q85h06ac7iba7smyp4mx7jw76nr8fp4m-synergy-1.8.8/bin/synergys
shrinking /nix/store/q85h06ac7iba7smyp4mx7jw76nr8fp4m-synergy-1.8.8/bin/synergyd
strip is /nix/store/90vmpr41dzsx350k5argycaf693hnl1l-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/q85h06ac7iba7smyp4mx7jw76nr8fp4m-synergy-1.8.8/bin
patching script interpreter paths in /nix/store/q85h06ac7iba7smyp4mx7jw76nr8fp4m-synergy-1.8.8
checking for references to /tmp/nix-build-synergy-1.8.8.drv-0 in /nix/store/q85h06ac7iba7smyp4mx7jw76nr8fp4m-synergy-1.8.8...

Success on x86_64-darwin (full log)
Attempted: synergy
Partial log (click to expand)
[----------] 2 tests from ServerArgsParsingTests (0 ms total)

[----------] Global test environment tear-down
[==========] 139 tests from 12 test cases ran. (14 ms total)
[  PASSED  ] 139 tests.
installing
post-installation fixup
strip is /nix/store/8axizw5mf6dx7wip65nbkyrmlkhmjhc5-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/11iybbpfjzm39wlir1l6fpb2b7djid73-synergy-1.8.8/bin
patching script interpreter paths in /nix/store/11iybbpfjzm39wlir1l6fpb2b7djid73-synergy-1.8.8

Success on aarch64-linux (full log)
Attempted: synergy
Partial log (click to expand)
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/myk6kndhr2ska9s7x25pkhlqbh0w6br0-synergy-1.8.8
shrinking /nix/store/myk6kndhr2ska9s7x25pkhlqbh0w6br0-synergy-1.8.8/bin/synergyd
shrinking /nix/store/myk6kndhr2ska9s7x25pkhlqbh0w6br0-synergy-1.8.8/bin/synergys
shrinking /nix/store/myk6kndhr2ska9s7x25pkhlqbh0w6br0-synergy-1.8.8/bin/synergyc
strip is /nix/store/7iyn7gn33i7xxjgmwf25k20246y6nd9d-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/myk6kndhr2ska9s7x25pkhlqbh0w6br0-synergy-1.8.8/bin
patching script interpreter paths in /nix/store/myk6kndhr2ska9s7x25pkhlqbh0w6br0-synergy-1.8.8
checking for references to /build in /nix/store/myk6kndhr2ska9s7x25pkhlqbh0w6br0-synergy-1.8.8...


LoF flags are not based on context

Raised by @konradjk https://macarthurlab.slack.com/archives/C02A348ML/p1542398082164000
A variant's LC LoF and LoF Flag flags are based on all the variant's transcript consequences.

LC LoF
LoF Flag

This is appropriate for the region page. On the gene and transcript pages, the flags should be based only on the transcript consequences within that gene/transcript.
Could be fixed by loading the transcript consequences in the gene for each variant and calculating flags based on those. (Change params._source.sortedTranscriptConsequences.find to filter)
https://github.com/macarthur-lab/gnomadjs/blob/586dd9173264ade1cd7af738aafd4b735faf0000/packages/api/src/schema/datasets/gnomad_r2_1/fetchGnomadVariantsByGene.js#L63-L74
To avoid having to load the extra data from Elasticsearch and do the computation for each variant, macarthur-lab/hail-elasticsearch-pipelines#90 adds functions to compute the genes in which the variant should be flagged. These need to be incorporated into the data pipelines for gnomAD and ExAC variants.

Due to mysterious ES errors, as of 4b8a6d33ed6cbc02953ce8aa1bfeb1be1cf94ff9 the variant list APIs now fetch all sortedTranscriptConsequences instead using script fields to fetch only one. Thus, pre-computing these flags is no longer necessary.


fix(cmd): remove --file flag for helm get

Agreed. It basically adds nothing to the user experience.


Add DumpOperation to Q# library M.Q.Diagnostics

Is your feature request related to a problem? Please describe.
It is very useful to be able to print the matrix of the operation directly from Q#, like we could in Classic QDK. This would enable me to provide better feedback on learner's solutions in the katas on quantum.microsoft.com, as well as allow users of VS Code and VS Code Online see the matrices of their code without having to go through Python (and all the setup for multi-file Q# project required for that).
Describe the solution you'd like
DumpOperation operation, similar to the one we had in Classic QDK.
Describe alternatives you've considered
In some scenarios, I can use Python dump_operation API. However, it is not available on quantum.microsoft.com or on VS Code online, and it is somewhat painful to set up all the moving pieces required for Python-Q# integration just to print an operation matrix.

I believe @swernli already had some thoughts around this.

For VS Code, I'm happy to for it to be a message, like DumpMachine output is. But it we want to make it available on the website, plain text would look very odd, since everything else is pretty-printed there, so it would need to be an additional output type for that goal.

But it we want to make it available on the website, plain text would look very odd, since everything else is pretty-printed there, so it would need to be an additional output type for that goal.

Note that for the web, such as QCOM, they implement their own UX for output. We just fire an event with data, and they draw that how they like. We have example code in the playground (e.g. see https://github.com/microsoft/qsharp/blob/main/playground/src/state.tsx for how we render DumpMachine) which they are welcome to copy, but it would be UX work on the QCOM team to show and DumpOperation output in katas etc.

(Looking at how closely QCOM models the playground for DumpMachine, I'm guessing it is largely still just a copy. Regardless, we can implement 'pretty' output for Jupyter and the playground, but there will be coordination and porting work on QCOM before it would show up in the katas.


change var to const and let

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

@alojzz Thank you for the PR ✨ 🎉 We look forward to your future contributions.

Merging on behalf of @ezioda004


Add command !map to display the name and description of the current map

A map's description is often helpful to understand what types of locations to expect in a game, especially if one is playing a map with unofficial coverage of various sorts. This PR adds a command !map that:

Retrieves the current seed's map from the Geoguessr API
Displays a message with the title, creator, summary, and the number of plays/likes

(I decided to include the creator/# plays/# likes because that helps indicate if the streamer is playing an imposter map)
I did this as an additional API call because unfortunately the seed information only has the map title, not the map description.
Because that extra API call can be slow, I included a cooldown period.
If you're interested in incorporating this, please feel welcome to suggest any changes or make any edits!

Cool feature ! I see no problem adding it !
The HTML part is missing in settings, feel free to add it or i will.
Btw there's a new rewritten version that's about to be merged if you want to take a look: https://github.com/tzhf/chatguessr-electron-vite


Remap Keys should allow per-application key re-mapping

Description of the new feature / enhancement
Define key mappings to be active in a specific application instead of just globally.
It appears that shortcuts have this ability but key remapping does not have the ability to scope to an application.
Scenario when this would be used?
My specific use case is Adobe Lightroom. I would like to redefine some keys so common operations can be performed by my left hand, with my right hand on the mouse.  For example, the numeric keys currently set ratings, but it would be more useful to use these for navigation:
1 - Next Photo (right arrow)
2 - Previous Photo (left arrow)
3 - Undo (Ctrl+Z)
4 - Redo (Ctrl+Y)
5 - Auto-Tone (Ctrl+u)
I was able to make these remappings work but they are system-wide and I want them active only in Lightroom. It would be inconvenient to have to enable/disable keyboard remapping when switching apps.
If I actually need to type a number in Lightroom, I can use the numeric keypad, so redefining the numbers on the keyboard would not conflict.
Supporting information
Adobe Lightroom does not provide a feature to allow for user-based keyboard remapping.  Most applications don't.  The use of the left hand for navigation while the right hand runs the mouse is common in first-person video games.  Allowing keys to be remapped in applications

Agree with this. I'm using the remapper to map up hardcoded or unmappable keys in certain games. I use a Kinesis keyboard, so keys they generally don't expect you to want to map, like backspace, delete become usable with this, but it's annoying if you forget to turn it on (or even worse, forget to turn it off afterwards).
A per-app binding option would be an absolutely amazing accessibility feature IMO

/dup https://github.com/microsoft/PowerToys/issues/6276


MinLength and maxLength are missing in Zod generated schema

What version of kubb is running?
2.12.5
What platform is your computer?
Windows, use WSL
What version of external packages are you using(@tanstack-query, MSW, React, Vue, ...)
"zod": "^3.22.4"
What steps can reproduce the bug?
My OpenApi 3.1
...
"LoginDto": {
        "type": [
          "object"
        ],
        "properties": {
          "identifier": {
            "type": [
              "string"
            ],
            "minLength": 3,
            "maxLength": 40
          },
          "password": {
            "type": [
              "string"
            ],
            "minLength": 8,
            "maxLength": 20
          }
        },
        "required": [
          "identifier",
          "password"
        ]
      },
...

My Kubb config:
...
    createSwaggerZod({
      output: {
        path: './zod',
      },
      group: { type: 'tag' },
    }),
...

I recieved:
export const loginDtoSchema = z.object({
  identifier: z.string(),
  password: z.string(),
});

How often does this bug happen?
Every time
What is the expected behavior?
export const loginDtoSchema =
  z.object({
    identifier: z.string().min(3).max(40),
    password: z.string().min(8).max(20),
  });

Swagger/OpenAPI file?
{
  "openapi": "3.1.0",
  "paths": {
    "/api/auth/login": {
      "post": {
        "operationId": "AuthController_login",
        "summary": "Login user",
        "parameters": [],
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/LoginDto"
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/LoginResponseDto"
                }
              }
            }
          }
        },
        "tags": [
          "auth"
        ]
      }
    },
  },
  "info": {
    "title": "",
    "description": "",
    "version": "0.0.1",
    "contact": {
    }
  },
  "tags": [
    {
      "name": "profiles",
      "description": ""
    }
  ],
  "servers": [],
  "components": {
    "securitySchemes": {
      "bearer": {
        "scheme": "bearer",
        "bearerFormat": "JWT",
        "type": "http"
      }
    },
    "schemas": {
      "LoginDto": {
        "type": [
          "object"
        ],
        "properties": {
          "identifier": {
            "type": [
              "string"
            ],
            "minLength": 3,
            "maxLength": 40
          },
          "password": {
            "type": [
              "string"
            ],
            "minLength": 8,
            "maxLength": 20
          }
        },
        "required": [
          "identifier",
          "password"
        ]
      },
      "LoginResponseDto": {
        "type": [
          "object"
        ],
        "properties": {
          "accessToken": {
            "type": [
              "string"
            ]
          }
        },
        "required": [
          "accessToken"
        ]
      }
    }
  }
}

Additional information
I notice that such bug have already appeared and was fixed: https://github.com/kubb-project/kubb/issues/770#issue-2080191081 , but I got it.
And similar one was with an array: https://github.com/kubb-project/kubb/issues/806#issue-2101232465

@shatynska We still have some issues with OpenAPI 3.1.0, same for this one. I will have a look later this week to resolve this :)


Bump to v3.5, update format

Checklist

[ ] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin, please rerender

@conda-forge-admin, please rerender

@xmnlab and @conda-forge/core there is an automatically generated PR that's been sitting there but unable to be auto-merged. I've tried to manually bump the version here as I have another package that needs v3.5.

@xmnlab Is this good to go?

@thewchan I added 2 comments https://github.com/conda-forge/python-decouple-feedstock/pull/8#pullrequestreview-860211836
any reason for removing doc_url and dev_url ?
other than that, looks good to me

@thewchan I added 2 comments #8 (review)
any reason for removing doc_url and dev_url ?
other than that, looks good to me

I mentioned above that the same url is already in home:, seems redundant to list them again.

@thewchan I added 2 comments #8 (review)
any reason for removing doc_url and dev_url ?
other than that, looks good to me

I mentioned above that the same url is already in home:, seems redundant to list them again.

for some reason, I am not able to see your comment about that ...
I hear, and I understand your point. but I think that it is not redundant (although it looks redundant) ... if the user wants to know "what is the doc url" ... it is preferable to have the same link as used by home than have no information.
please keep both parameters dev_url and doc_url.
if you want to can change the doc_url to https://github.com/henriquebastos/python-decouple/blob/master/README.rst
thank you so much for updating the recipe and adding yourself as a maintainer, any help is very appreciated!

sure I can do that

@thewchan thank you so much! merged! :)


Can I request a minimum instance with the nextjs SSR function generated during deployment?

I love the nextjs deployment with firebase. Thank you for the rapid pace at which you guys are improving this feature.
I searched the docs and github but I couldn't find anything on how to configure a minimum instance for the SSR function created by the web framework deployment. Is that possible? The function cold start time is quite bad for us. I know this is because of how many packages are being bundled and loaded. In the meantime configuring a min-instance would help with the performance.

Glad you're enjoying our work!
We need to document this but you can now configure the code-generated Cloud Function with frameworksBackend in your firebase.json. It should take all the same options as onRequest. E.g,
{
  "hosting": {
    "source": ".",
    "frameworksBackend": {
      "region": "us-central1",
      "minInstances": 1,
      "maxInstances": 10,
    }
  }
}

that worked. awesome, thank you.


Updated Readme file for Documentation.

Hi @neerajrathore , This PR is in reference to the issue no #13
I've updated the README file, but there may be conflicts but don't worry I have added that content in this readme. This version is clear and to the point!
here is the output I got.
https://github.com/user-attachments/assets/1864d04f-0da6-4cc2-a6d8-a7e8428b18a6

@priyamaggarwal18 take latest pull from main and instead of merging directly into main we will merge it into branch ui/patch-pr-36 then test properly.
update PR accordingly.


Ensure that runtime-created wandb.Media assets are named deterministically for Artifacts

In this PR, I ensure that Images and ImageMasks generate files with deterministic names (based  on their sha). If a file already exists of that name, it is assumed to be equivalent and the path is just pointed to that file.
This is implemented by adding a helper function to the wandb.Media class to ensure a deterministic name after setting the file. For now, this is optional and the programmers responsibility to call this function after setting the file. As we move more data_types to artifacts, this pattern may become commonplace and we can make it default behavior.
Added tests to ensure that the file paths are the same for these two objects when constructing runtime objects.

Closing this PR, in favor of the other one: https://github.com/wandb/client/pull/1540


lime.text.Font:renderGlyph broken

Lime 6.4.0 all ok.
Lime 7.0.0 and 7.1.1 have exception:
Function "lime.text.Font:renderGlyph" generated exception in line 247:
var data = bytes.sub (dataPosition, width * height);
I think that internal function must generate bytes, but it no do:
After call:
NativeCFFI.lime_font_render_glyph
I have "bytes" with zero length.
PS For test I use several symbol (F, H, etc.), font "arial.ttf" from windows. All internal data for first view is ok.

I believe this should be resolved on dev:
https://github.com/openfl/lime/commit/6af853b002be9981b739ed07895fa65e7e5c7577


Issue WTO message on API Mediation Layer startup

Describe your pull request here:
One of the common requests is issuing the specific message when the API Mediation Layer properly starts in the Syslog. This article explains all the configuration and pieces needed to achieve this goal with the current functionality.
List the file(s) included in this PR:
wto-message-on-startup.md
After creating the PR, follow the instructions in the comments.

It looks like ZWEAM001I is a new message that is better than ZWEAM000I for detecting readiness. That's great!
Please see the PRs I made to implement this.
Also note, I do not see this message in v3, only in v2.
Since this is going into master, check to see if it will show up in v2.18 documentation, where it is appropriate, versus v3 documentation, where it appears to not exist yet.
If it is a v3.1 feature, perhaps docs-staging is more appropriate?

It's been implemented only for V2 by now I believe. It should be in 2.x documentation.
As for v3 we originally intended something better, but it's probably good enough and we should bring it to the v3 as well at least.


Can it use with react-redux/native ???

The problem is that if use react-redux/native and wrap Router component with connect method from  react-redux/native it will not be updated. So how I can update it ?

Sorry, it doesn't support Redux at this moment

Yep, I look throw source and understood it. So currently I can use it if i wrap every component that pass to Route with connect method from react-redux/native. Seems it work for me ) Thanks.


Add GH workflow for publishing gradle plugin

Current dependencies on/for this PR:

main

PR #18   👈

This comment was auto-generated by Graphite.