Any Windows builds, please?

I will try to compile it myself right now, vcc that is, but if you have precompiled binaries, could you share them please? Thank you!

Hi, Windows builds are planned for the Vulkanised conference in February.
Shady/Vcc consumes normal CMake dependencies.
For SPIRV-Headers you need to install it somewhere and if it's not the default location you need to use -DSPIRV-Headers_DIR=<path> to point CMake at the relevant cmakeConfig.cmake file.

Note: you can use both msvc and mingw-w64 to build Vcc/Shady on windows. If you're more comfortable with unix-like environments I can recommend msys2.

You can look at the CI pipelines for reference. Currently CI only builds Shady and not Vcc since I don't have an easy solution to get LLVM binaries on Windows (the official releases sadly strip the relevant cmake files).

Did you install the Vulkan SDK? That should, AFAIK, provide the Vulkan::Headers target (which is missing here).

In CMake, that's actually correct. "linking a library" in CMake refers to both adding include paths and adding libraries to link. Vulkan::Headers is a special type of library that only contains headers. "Linking" this library in CMake will therefore only add the proper include paths to include Vulkan headers.

You have to install (install directory can be arbitrary) dependencies for their cmakeConfig.cmake files to be correctly placed/edited wrt paths. Alternatively you can use the prebuild librairies from the msys2 environment. WSL is also an option.

aobench is an older test that actually uses a different path (parsing OpenCL C++ as OpenCL spir-v), no vcc. the vcc version of aobench lives elsewhere, i'll probably bring it as a Vcc sample later

Closing per https://github.com/shady-gang/shady/commit/16f422c62ce063ca4124b6dcc155f0dd142a2d26
I'm aware of the desire for prebuilt windows binaries, but another issue should be opened since this one is quite noisy now


Couple small bug fixes to get my feet wet

Immediate addressing mode on LDA does not take index register.
has_arrow branch has colon and is recognized as a label when it should be treated as a sublabel.

Your fixes are fine, but I fixed these issues myself before seeing your pull request.

Cool, looks good.


fix syntax error in CodeQL workflow

Signed-off-by: Tianle Huang<EMAIL_ADDRESS>Description
This workflow is failing https://github.com/opensearch-project/opensearch-dashboards-functional-test/actions/runs/1947349906

Issues Resolved
Check List

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Now we can see this workflow running!

https://github.com/opensearch-project/opensearch-dashboards-functional-test/runs/5454104380?check_suite_focus=true


Teach encoder to accept numbers, and make tests use plain URI::Escape.

Issue #7

Merged, thanks for the PR! I will leave the issue for you to close if / when you see fit.

@gonzus Thanks!
Will you push a new CPAN version at some point? We have local workarounds for these issues, but it would be nice to simplify when we can.

Yes, I'm on it.
On Tue, Feb 16, 2021 at 5:28 PM Felipe Gasper<EMAIL_ADDRESS>wrote:

@gonzus
https://urldefense.com/v3/__https://github.com/gonzus__;!!FzMMvhmfRQ!9O_rlsi2z3n6IbFWe7k3GXJCK7bWKhZOGjSvGRuizNBqbiZ8t95jfWj-wNVy1IGIYxq8Rbw$
Thanks!
Will you push a new CPAN version at some point? We have local workarounds
for these issues, but it would be nice to simplify when we can.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://urldefense.com/v3/__https://github.com/gonzus/uri-xsescape/pull/8*issuecomment-779952238__;Iw!!FzMMvhmfRQ!9O_rlsi2z3n6IbFWe7k3GXJCK7bWKhZOGjSvGRuizNBqbiZ8t95jfWj-wNVy1IGIh86ASvM$,
or unsubscribe
https://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/AABS5IWVOQGGNXM6MMBEUHTS7KMK3ANCNFSM4XWXEVXQ__;!!FzMMvhmfRQ!9O_rlsi2z3n6IbFWe7k3GXJCK7bWKhZOGjSvGRuizNBqbiZ8t95jfWj-wNVy1IGIfmaCAvI$
.

--
Gonzalo Diethelm
Principal Developer
Herengracht 597 Amsterdam Netherlands 1017 HG
Direct  +31207035469
[image: Booking.com] https://www.booking.com/
Making it easier for everyone to experience the world since 1996
43 languages, 198+ offices worldwide, 141,000+ global destinations, 28
million reported listings
Subsidiary of Booking Holdings Inc. (NASDAQ: BKNG)

Just uploaded URI-XSEscape-0.002000.tar.gz to CPAN -- usual delays apply. Cheers!

Can I ask you, just out of curiosity, what you are using this module for?

Can I ask you, just out of curiosity, what you are using this module for?

We use it for URI escaping. I haven’t surveyed other CPAN offerings; do you suggest a different one?


Create a new endpoint to add default status for users where it DNE

Requirement:
There is inconsistency in the data of users. Some of the users don't have a status property. And to query a field in firestore, the field should exist in the document.
Firestore Limitation: https://firebase.google.com/docs/firestore/query-data/queries#limitations
AC:

Endpoint : /users/defaultStatus
Allowed only for the superuser
This is a one-time-use endpoint and should be deleted after use  https://github.com/Real-Dev-Squad/website-backend/issues/755

Use case:
The status field will be helpful to query the results based on the status of the user. Currently, we have an issue where we need to filter the idle users https://github.com/Real-Dev-Squad/website-backend/pull/738

Closing this Issue. As the new status collection is getting created which make this issue irrelevant https://github.com/Real-Dev-Squad/website-backend/issues/818


update jsinterop NPM package ID for 5.0

(Recommend viewing with Show Whitespace off)
A matching change will be needed in aspnet/AspNetCore I believe, so do not merge until everything is ready there and we're ready to flow through :).

I'll look at kicking off this whole flow early next week. Don't want to do it today and have stuff broken over the weekend :).

I believe that we can just merge this safely. AspNetCore references a specific package download URL so merging this should NOT break that process. I'll give it a go and will follow the internal build closely.


Add quickstart guide for Fleet Packages

Initial draft on a quickstart guide for Fleet Packages.

@tarynlucas This is the quickstart guide for Fleet Packages.

/lgtm


Improve voicing.html documentation

@zepumph reviewed voicing.html back in This is from https://github.com/phetsims/scenery/issues/1223, which is interactive documentation under scenery/doc/accessibility. It describes the feature and API of Voicing and its related components (InteractiveHighlighting and ReadingBlock.
It has gotten a little out of date. But @zepumph also had recommendations for improvement that I never got to:

The "Responses" section is well written and well described. What if you added to it an example that had each response type broken into its parts. For example in the intro paragraph you could introduce a scenery object like a "Magnet" that can be dragged around. Then in each part discuss how the "name" is "X Magnet", the object response is about the position of the magnet, the context is about how the magnetism is affecting its surroundings, and the hint could be the hinty part. Probably the best reason to do this would be if you added exact example strings, and not just vague content like I just did.
"List out the API associated of ReadingBlock": Does this mean that you meant to, but ran out of time, or you want to get to this later? I would recommend creating an issue and getting rid of this from the checked-in doc.
I'd add a section about how multiple Displays work with these singletons (even though it is a bit self-evident).
Looking at the examples, it feels like too much extra boilerplate for webSpeaker to need its own initialization outside of scenery code. Why can't we do that within a Display or something (perhaps gracefully if already done)? I don't like hello worlds that feel like they have a bunch of extra stuff needed, but I also understand that we are mostly tailored to PhET's usages, and if it is harder to try to hide that (like moving the initialize call from Sim to Display), then let's not. I understand that we are dealing with a global rather than a sub-instance per Display.
"Reading Blocks are added to the focus order when Voicing is enabled." Does this mean in the PDOM? Can you be a bit more specific about this and what it means for the user.
There is a discrepancy between the name "Mouse Highlighting" and "Interactive Highlights". I don't know if one is dev-speak, and the other is more design-side, or if I am not talking about two interchangeable things. Perhaps we can work on that.
I continue to feel like Voicing as a feature is much more broad that just the 4 types of responses. As part of the voicing work I have seen examples of features like gesture tab navigation, interactive highlights, and preferences. Perhaps it would be nice to overview exactly what we are talking about within the confines of "Voicing" within this documentation at the beginning. Otherwise it is a bit strange to just tack on a section like Mouse Highlighting at the end.

Would be good to improve but I also don't expect this document to get usage from other devs in the next year, so improving this is low priorioty.

@jessegreenberg mentioned that https://github.com/phetsims/qa/blob/master/documentation/qa-book.md#voicing is quite up to date, perhaps much of that can be used in Voicing.html, and the "higher level" stuff from there can just be linked to in the QA book. Unsure if the joist screenshots belong in scenery code, but it could help orient scenery users around the only usage of voicing in the world.

@zepumph offered to be assigned, thansk!


Finding Pythagorian Triplet in C++

💥 Proposal
(A clear and concise description of what the proposal is.)
Have you read the Contributing Guidelines on Pull Requests?
Hey!! I am GSSOC'21 participant. I have read contribution guidelines.
I want  to propose a program in which user will provide 3 integer input and the program will check whether the given input is pythagorian triplet or not.
Example: INPUT  12 13 5
OUTPUT  Given triplet is pythagorian triplet

/assign

/unassign

This issue is open for anyone to take up. Just use /assign to take it up automatically

/assign

Hello , I am Kirti can I work on it in C++

/assign


⚠ Bofrost.de has degraded performance

In 4b23302, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1006 ms

Resolved: Bofrost.de performance has improved in 40da922.


Workflow for updating the SQL schema is out of order.

Step 4 of running gen:code needs to done before running db:create-migration. The db:create-migration needs the typescript changes to apply changes that affect these files.
Workflow - updating the SQL schema
The GraphQL entities are defined in schema.graphql. When the schema is changed:

Ensure your DB is up to date (e.g. you recently ran yarn db:migrate)
Run yarn db:create-migration, and enter a name for the migration. This will auto-generate it.
Run yarn db:migrate to apply your new migration. (Or yarn db:reset if you wish to restart processing on the newly migrated DB, which is often a new idea - db:reset automatically applies runs migrate as well.)
Run yarn gen:code to regenerate Typescript types for the GraphQL entities.
You can now develop the mappings against the new entities. Run yarn build as usual to proceed.

Related to issue #43

Edited description to point out the order should be (1) yarn db:migrate -> (2, was 4) yarn gen:code -> (3, new) yarn build -> (4, was 3) yarn db:create-migration -> ...


CLI bug: prompt doesn't work for docker CLI

Turns out that adding -it could fix it.
e.g.
docker run -it --rm ubercadence/cli:master --address host.docker.internal:7933 adm cluster add-search-attr --search_attr_key testkey --search_attr_type 0
Are you trying to add key [testkey] with Type [String]? Y/N
y


Log spew storm when vxlanMode=Never

My installation is using BIRD and I had intended to disable VXLAN.  However given the following IPPool:
apiVersion: projectcalico.org/v3
kind: IPPool
metadata:
  name: default-ipv4-ippool
spec:
  allowedUses:
  - Workload
  - Tunnel
  blockSize: 26
  cidr: <IP_ADDRESS>/16
  ipipMode: Never
  natOutgoing: true
  nodeSelector: all()
  vxlanMode: Never

calico-node pods spew this log line several dozen times per second:
2023-01-07 01:20:43.357 [INFO][82] felix/route_table.go 1159: Failed to access interface because it doesn't exist. error=Link not found ifaceName="vxlan.calico" ifaceRegex="^vxlan.calico$" ipVersion=0x4 tableIndex=0

Everything works fine otherwise.  BIRD is doing its thing, and the appropriate routes are in place.
If I patch the IPPool to set vxlanMode to Always, this causes the vxlan.calico interface to be created.  After that point, I am able to set it back to Never and calico-node is quiet until the next node reboot.
Expected Behavior
My expectation was that vxlan.calico interface wouldn't be created -- and it isn't, so this expectation was met -- and that calico-node would be perfectly fine with that.
Current Behavior
Rampant complaining about the absence of vxlan.calico for no discernible reason.
Possible Solution
Because all my nodes are currently on the same subnet, I can set vxlanMode to CrossSubnet.  This causes the vxlan.calico interface to be created, but doesn't otherwise pass traffic over this interface.
Steps to Reproduce (for bugs)

Set calico_backend to bird
Set vxlanMode: Never on all IPPools
Reboot node if vxlan.calico interface already exists (as the problem only manifests when the interface doesn't exist)

Your Environment

Calico version: v3.23.5 (default with microk8s v1.25) although I did also briefly try v3.24.5 and saw the same behavior from calico-node
Orchestrator version: Microk8s v1.25
Operating System and version: Ubuntu 22.04.1

@jtackaberry VXLAN enabling / disabling is a bit awkward in v3.23 - you need to adjust the VXLAN field in the FelixConfiguration resource to fully turn it off.
We made improvements to this in v3.24 though.

I did try v3.24.5 and noticed the same behavior (nonstop logging of "failed to access interface"), but I'm embarrassed to admit I didn't think to check FelixConfiguration.  Many thanks for the gentle cluebatting there, that definitely did the trick.


Provide app configuration based on --env value

As described in this issue https://github.com/newtriks/generator-react-webpack/issues/154#issuecomment-149112001 this feature would allow to import a configuration object based on the current --env by using import config from 'config';.
The config modules are loaded from:
src/config/dev.js
src/config/dist.js
src/config/test.js

Added an implementation for this feature in f7c211a. To avoid interfering with the NODE_ENV variable it sticks REACT_WEBPACK_ENV to process.env (here). Added a test case that checks for the value of config.appEnv in config/test.js.
@weblogixx  maybe you could take a short look and check if you think it looks okay.

@sthzg: Thanks for the work, it is really appreciated. I will have a look at it and give you feedback until the end of the week.

I just reviewed it and think that this one is really really nice. Thank you for this! If you would adjust the README to reflect the new feature, I will happily merge it. Don`t forget to add yourself to contributors entry :).

Sorry(!) for the noise in the commits. I had troubles rebasing the feature, but the last commit is now correctly squashed to one commit and updated with the current upstream. If the changes to the README are okay I would make it a PR.

Thats not a problem (I made lots of such "noisy" commits myself). Looks good to me. Looking forward to the PR :+1: :).

Just merged it. Thanks for the good work :)


Implement Password Protection in Card Layout

Please check if the PR fulfills these requirements:

[ ] The PR title and message describe the solution briefly.
[ ] Documentation has been updated/added if relevant
[ ] I am not raising a spam PR or a PR that fixes spellings or whitespaces for Hacktoberfest
[ ] I know that if this PR is found to be spam, It will be labeled and reported immediately

What is the current behavior?

There was no icon to set or unset password on a link in Card Layout.
What is the new behavior?
Now, added the lock icon in Card layout. To provide room for it in Card actions, converted all other buttons from Text buttons to Icon buttons.
Other information?

@rahul1995 thanks for the PR 🥳 Could you please provide a screenshot of the changes? Thanks

@monizb Here is the screenshot. I have replaced all text buttons with icon buttons.

@rahul1995 thanks for the fix! 🥳 Keep contributing and stay awesome!

@all-contributors add @rahul1995 for Code


Decompressing zlib stream compressed by Cairo

Steps to reproduce
Export a PDF from InkScape, this will have its filter set to FlateDecode on streams within objects.
Try to decompress through ICSharpCode.SharpZipLib.Zip.ZipInputStream via NuGet.
Note: I looked at Cairo which is what InkScape uses and saw that it's just using zlib, but it doesn't seem to reproduce the header that SharpZipLib expects.
( See: https://github.com/freedesktop/cairo/blob/61122127943dcaff41501e1b06df2a852c576e9b/src/cairo-deflate-stream.c )
Expected behavior
Decompression of the object streams within the file.
Actual behavior
Wrong local header exception.
Note: If I manually prepend the binary data from the stream object within the object in the PDF with List byteList = new List() { 0x50, 0x4B, 0x03, 0x04 }; it will give an OutOfRangeException on versionRequired that's supposed to be passed to ZipEntry, expecting perhaps some more header information.
Version of SharpZipLib
1.1.0 by NuGet in Visual Studio for Mac
Obtained from (only keep the relevant lines)

Package installed using NuGet

Here's a solution. I found this here and it works here in 2019, I'd say this should be added to the doc samples when you can please, it would be very helpful for those trying to parse PDFs, as they have FlateDecode streams:
http://community.sharpdevelop.net/forums/t/1009.aspx

I just also wanted to share my love, care, and appreciation to you the developers of SharpZipLib, because it's really a life saver for those of us who don't understand compression or encryption all that well. Just sharing my thanks, and God bless.

Yeah, ZipInputStream expect a zip file header, which would not be present in a raw deflated stream. It would be helpful if the fact that in PDF, the "FlateDecode" just means "Inflate" (and that InflaterInputStream could be used to decompress it) was mentioned in the documentation somewhere.


fix(libsinsp,test): remove undefined behavior in test event generation

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind bug

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area libsinsp
/area tests

Does this PR require a change in the driver versions?
No.

What this PR does / why we need it:
This PR fixes a fun bug in the libsinsp test suite that is simply an instance of this: https://stackoverflow.com/questions/727663/why-does-this-variadic-function-fail-on-4th-parameter-on-windows-x64 .
Essentially, passing an integer literal to a variadic function and expecting a 64 bit value is undefined behavior, as the integer literal is type int and not the correct 64 bit size. We caught this on ARM64 after the 8th parameter due to that specific implementation and parameter passing via registers/stack but could happen anywhere.
The fix is simply to either cast the integer or pass a variable, which is what happens in this PR. When I felt it right I added some descriptive variable names so tests can still be easy to read.
We will need another similar PR everywhere we call the event encoding function (I believe in the gVisor implementation).
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Merging this PR unblocks this: https://github.com/falcosecurity/libs/pull/962 .
Does this PR introduce a user-facing change?:

NONE

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: LucaGuerra
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [LucaGuerra]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/milestone 0.11.0

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: incertum, LucaGuerra
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [LucaGuerra,incertum]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: FedeDP, incertum, LucaGuerra
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [FedeDP,LucaGuerra,incertum]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Set default module root to cwd

Scope & Purpose
This prevents accidental traversal to the file system root when attempting to resolve module paths while using arangosh. We already set the module root for Foxx services but left it unbounded by default so arangosh wouldn't know when to stop searching. This can have unexpected results when a node_modules folder is present at a higher level of hierarchy.

[x] :hankey: Bugfix (requires CHANGELOG entry)

Backports:

[x] No backports required

@jsteemann does this fix the problem you encountered?

Test failure seems to be unrelated:
* Test "server_permissions"
    [FAILED]  tests/js/client/server_permissions/test-oasis.js

      "testStatisics" failed: Error: at assertion #1: assertTrue: (false) does not evaluate to true

https://jenkins.arangodb.biz/job/arangodb-matrix-pr/19801/


How to process the data in tai_safety_research

Excellent guide in ipynb, but may I ask how to process the data with multi-feature like tai_safety_research? @uvafan

Hey, it's been a while but I believe it should work out of the box for multi-feature datasets if you adjust the TASK; are you getting an error?

Well my point is the starter kit notebook, I just want to learn how to generate multi-feature in to the tokenizer, like tai_safety_research

It should just work, and you should be able to modify which fields are included if you wish via https://github.com/oughtinc/raft-baselines/blob/master/src/raft_baselines/data/prompt_construction_settings.jsonl


Selenium code generator  or debuger or tester tool

Selenium code generator

Hello @jigneshpatelrepo ,
There is currently no page/section dedicated to selenium, but you can specify it as the "language" on the common page like this one: https://zzzcode.ai/code-generator
Best Regards,
Jon


[material-ui][docs] Material Icon search lags

Steps to reproduce
Link to live example: (required)
Steps:

Open https://mui.com/material-ui/material-icons/?query=alert

https://github.com/mui/material-ui/assets/3165635/ff4f006e-9268-4365-8d4a-05aa2d97a60e
Current behavior
Main thread blocked
Expected behavior
No massive chunk of blocked time
Context
Google is aware of this problem, Chrome is feeding it back data about the page, see ahref INP data fetched from Google. Same data in https://pagespeed.web.dev/analysis/https-mui-com-material-ui-material-icons/253fjl9n29?form_factor=desktop
Horrible:

I would imagine that https://react.dev/reference/react/useTransition is the solution
Your environment

npx @mui/envinfo
  Don't forget to mention which browser you used.
  Output from `npx @mui/envinfo` goes here.

Search keywords: Material Icon search lags

Reopen per https://github.com/mui/material-ui/pull/41330#issuecomment-2323517472.

We seem to be in a much better state now on https://mui.com/material-ui/material-icons/ using https://pagespeed.web.dev/.
Before

Now:

Have we tried leveraging content-visibility in the past? I've never used it, just wondering if it could be handy in this scenario.

@aarongarciah this property seems to help the browser with the "Rendering" phase of the pipeline. I'm not sure we had performance issues with this phase.


[9.0.1xx-preview5] sdk-dotnet-dotnet-synchronization pipeline failed to apply the patch 0001-fix-fsharp-r2r-rid.patch to src/fsharp

release/9.0.1xx-preview5 build: https://dev.azure.com/dnceng/internal/_build/results?buildId=2463816&view=logs&j=ac868591-5f39-5047-4b1f-0ffa6f6c3268&t=97961c92-5b76-590a-3f4c-bdbad6479e18
Error:
dbug: Executing command: 'git -C /mnt/vss/_work/1/vmr apply --cached --ignore-space-change --directory src/fsharp /mnt/vss/_work/1/vmr/src/sdk/src/SourceBuild/patches/fsharp/0001-fix-fsharp-r2r-rid.patch'
warn: A new branch was created for the sync and didn't get merged as the sync was interrupted. A new sync should start from release/9.0.1xx-preview5 branch.
fail: Failed to synchronize repo sdk
      Failed to apply the patch 0001-fix-fsharp-r2r-rid.patch to src/fsharp.

      Exit code: 1
      Std err:
      error: patch failed: src/fsharp/Directory.Build.targets:21
      error: src/fsharp/Directory.Build.targets: patch does not apply
      error: patch failed: src/fsharp/buildtools/AssemblyCheck/AssemblyCheck.fsproj:8
      error: src/fsharp/buildtools/AssemblyCheck/AssemblyCheck.fsproj: patch does not apply
      error: patch failed: src/fsharp/buildtools/fslex/fslex.fsproj:9
      error: src/fsharp/buildtools/fslex/fslex.fsproj: patch does not apply
      error: patch failed: src/fsharp/buildtools/fsyacc/fsyacc.fsproj:9
      error: src/fsharp/buildtools/fsyacc/fsyacc.fsproj: patch does not apply
      error: patch failed: src/fsharp/src/fsc/fscProject/fsc.fsproj:11
      error: src/fsharp/src/fsc/fscProject/fsc.fsproj: patch does not apply
      error: patch failed: src/fsharp/src/fsi/fsiProject/fsi.fsproj:11
      error: src/fsharp/src/fsi/fsiProject/fsi.fsproj: patch does not apply

That got fixed with https://github.com/dotnet/sdk/pull/41298


JumioModuleFlutter.swift: No such module 'Jumio' when archiving

When building or archiving, always shows the error above and the warning:
warning: [CP] Jumio.xcframework: Unable to find matching slice in 'ios-x86_64-simulator ios-arm64' for the current build architectures (arm64 armv7) and platform (-iphoneos).
I think it's because I am developing with M1 macbook pro. If it is, how can I set the Architecture values for this?
For example: Architectures Build Active Architecture Only Excluded Architectures Valid_Archs in Build Settings

@gowin8
if the build fails when trying to run the application on simulator, this is expected behaviour, see also --> https://github.com/Jumio/mobile-sdk-ios#general-requirements
This might also be helpful --> https://stackoverflow.com/questions/67719774/cannot-run-flutter-app-in-ios-simulator-warning-cp-unable-to-find-matching
If this does not resolve the issue, please contact Jumio support.


influxdb exporter - group by endpoint

Hi!
I'm trying to monitor a krakend gateway using krakend-opencensus with influxdb as an exporter. I can see metrics being written to the database declared in exporters section of the config file, but the data sent to influx can't be filtered or grouped by endpoint as they are missing a name field / tag:
SELECT * FROM "opencensus.io/http/server/request_count" limit 10
name: opencensus.io/http/server/request_count
time                count
----                -----
1535013524000000000 7
1535013525000000000 14
1535013526000000000 21
1535013527000000000 27
1535013528000000000 34
1535013529000000000 40
1535013530000000000 47
1535013531000000000 54
1535013532000000000 61
1535013533000000000 68

And this it my krakend config file:
{
    "version": 2,
    "extra_config": {
        "github_com/devopsfaith/krakend-metrics": {
            "collection_time": "60s",
            "proxy_disabled": false,
            "router_disabled": false,
            "backend_disabled": false,
            "endpoint_disabled": false,
            "listen_address": ":8090"
        },
        "github_com/devopsfaith/krakend-gologging": {
            "level": "WARNING",
            "prefix": "[KRAKEND]",
            "syslog": false,
            "stdout": true
        },
        "github_com/devopsfaith/krakend-opencensus": {
            "sample_rate": 100,
            "reporting_period": 1,
            "enabled_layers": {
                "backend": true,
                "router": true,
                "pipe": true
            },
            "exporters": {
                "influxdb": {
                    "address": "http://influxdb:8086",
                    "db": "opencensus",
                    "timeout": "1s"
                },
                "logger": {}
            }
        }
    },
    "output_encoding": "json",
    "timeout": "3000ms",
    "cache_ttl": "300s",
    "name": "MyKraken",
    "endpoints": [
        {
            "endpoint": "/test",
            "method": "GET",
            "output_encoding": "json",
            "concurrent_calls": 1,
            "querystring_params": [],
            "backend": [
                {
                    "url_pattern": "/test",
                    "encoding": "json",
                    "extra_config": {},
                    "sd": "static",
                    "host": [
                        "http://test:8000"
                    ],
                    "disable_host_sanitize": false
                }
            ]
        }
    ],
    "disable_rest": true
}

So is the lack of endpoint tag intentional or perhaps I'm missing something in my configuration?
Thanks in advance!

Hi @zgolus,
You are right. The opencensus implementation is in its early stages and we are just offering a limited set of features. Please have a look at the following relevant links if you would like to explore a little bit further:

https://github.com/census-instrumentation/opencensus-go/blob/master/plugin/ochttp/stats.go#L73
https://github.com/devopsfaith/krakend-opencensus/blob/master/opencensus.go#L81
https://github.com/devopsfaith/krakend-opencensus/blob/master/opencensus.go#L136

In the meantime we will evaluate what would be the impact of adding the details in the context.
Hope this helps,
Thanks

Hi @alombarte,
Thank you for the clarification. I will try to follow your links, but I'm no Go developer (no pun intended). For now I switched to letgoapp/krakend-influx, which delivers metrics tagged with endpoint.
Best,
Jakub


have to connect first to use ssms

"In the SSMS query editor, create a linked server object DEMOCOSMOS for the data source with the following commands. Replace DEMOCOSMOS with the name for your linked server, and SDS Name with the name of your system data source."
  If you click 'query editor' it asks to authenticate.  This info is missing from the docs.

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

ID: 96736d22-b3e0-290d-3615-5468859d0c9c
Version Independent ID: c13dfbf7-0335-586d-2a04-d9d05ddb1f3a
Content: Connect to Azure Cosmos DB using BI analytics tools
Content Source: articles/cosmos-db/odbc-driver.md
Service: cosmos-db
Product: unspecified
GitHub Login: @SnehaGunda
Microsoft Alias: sngun

@jpmorris Thanks for the feedback. We are actively investigating and will get back to you soon.

@jpmorris I made a little update to mention connect to the server.
If you think adding more details help, are you interested in submitting a PR to update the doc? you can click on the edit button at the right hand corner of the doc and submit a PR.

I wish I could but I believe it's outside of my ability to do so.  The issue isn't so much that 'you need to connect first'.   The issue is the following:

To attempt querries with SSMS you must create a linked server object
To create a linked server object you must log into some sql server
To log into some sql server you need to actually have some sort of sql server setup

ISSUE: Assume for the moment that you are a user using ONLY CosmosDB.  You have NO OTHER DATABASE in Azure to connect to (or maybe none at all).  So there's no way to move from 3 to 2 to 1 because you have no sql server to log into.
What needs to be done is someone at Microsoft needs to see if there is a way use SSMS and create a linked service without actually having an exsisting connection to some sql server (probably not possible) OR see if there's some other way to run queries against the DB without relying on this silly 'linked service' workaround.  Is there not some other (free?) sql management software that can just send queries to a server?

@jpmorris fair comments, I shared the feedback with our PM & Dev teams, I have a sync with our team to investigate more.

@jpmorris thanks for the feedback, I have shared it with our dev and PM teams, we are investigating further on the design of the driver and the linked server. I will update the docs when we have a fix.
We will close this issue for now, I will revisit this thread when the doc is updated.

#please-close


I am going to merge dev with master tonight at 3:00 am

the dev branch is almost 30 commits ahead I will merge dev to master so that we have a current master and still develop on dev branch. Let me know if there is something that does not absolutely work then I will not merge those files. @noelpimentel @giancarloescobar  @changzheng1993

dont merge. we have some files/code that will be deleted.
we'll do that later

ok great. Thanks for letting me know

Done, please only do pull request to master.


LightGBM + GroupedArray._tail() + num_threads>1

What happened + What you expected to happen
An error occurs in the _tail method of the GroupedArray class in core_forecast/grouped_array.py with certain configurations. Specifically, this error is encountered when:

num_threads is set to a value greater than 1,
target_transforms is not empty (must call _tail method),
the lightgbm library is imported (even if not used directly)

The error I think occurs in the following method:
def _tail(self, k: int) -> np.ndarray:
    ...
    _LIB[f"{self.prefix}_Tail"](
        self._handle,
        ctypes.c_int(k),
        _data_as_void_ptr(out),
    )

Versions / Dependencies
requirements.txt (only installed lightgbm and mlforecast):
alembic==1.13.1
cloudpickle==3.0.0
colorlog==6.8.2
coreforecast==0.0.9
fsspec==2024.6.0
joblib==1.4.2
lightgbm==4.3.0
llvmlite==0.42.0
Mako==1.3.5
MarkupSafe==2.1.5
mlforecast==0.13.0
numba==0.59.1
numpy==1.26.4
optuna==3.6.1
packaging==24.1
pandas==2.2.2
python-dateutil==2.9.0.post0
pytz==2024.1
PyYAML==6.0.1
scikit-learn==1.5.0
scipy==1.13.1
six==1.16.0
SQLAlchemy==2.0.30
threadpoolctl==3.5.0
tqdm==4.66.4
typing_extensions==4.12.2
tzdata==2024.1
utilsforecast==0.1.10
window_ops==0.0.15

System:
Python 3.10.13
OS: macOS 14.5 23F79 arm64 (Sonoma)
Shell: zsh 5.9
pip 23.0.1
Reproduction script
import pandas as pd
import lightgbm as lgb  # must import this
from mlforecast import MLForecast
from mlforecast.target_transforms import Differences
from sklearn.linear_model import LinearRegression
df = pd.read_csv('https://datasets-nixtla.s3.amazonaws.com/air-passengers.csv', parse_dates=['ds'])
models = {"lin": LinearRegression()}
fcst = MLForecast(
models=models,
freq='MS',
lags=[12],
target_transforms=[Differences([1])],  # at least one target_transforms
num_threads=2,  # num_threads must be >1
)
fcst.preprocess(df)
print("Success!")
Issue Severity
Low: It annoys or frustrates me.

Hey @michal-mmm, thanks for using mlforecast. This is most likely an issue with OpenMP, can you please provide the following information?

How did you install LightGBM? Since there aren't pre-built wheels for macos arm64 I'm guessing you either installed from conda or built from source. If you installed from conda, can you install mlforecast from conda as well?
Is the error you're getting a segmentation fault?

hey @jmoralez, can confirm:

I just tried installing both packages from conda and it works fine
yes, segmentation fault

Thanks for reporting back! conda ships its own OpenMP and the coreforecast wheel from pip has a different one, which leads to the program loading two versions and producing a segfault. Glad you were able to solve it and sorry for the troubles.


RestSerializer does not include "hasMany" relationship ids

It seems like RestSerializer does not serialize ids for hasMany realtionship.
Here made an example based on your boilerplate (just added pet models which is one-to-many for user) – https://ember-twiddle.com/259b0c0ee941777449274344834416ff/e4a8999888a9ee03646d4a4c4d8a402c6e0a0f63?openFiles=mirage.factories.user.js%2C
Totally same example but with default serializer works fine though https://ember-twiddle.com/259b0c0ee941777449274344834416ff

We added serializeIds in 0.2.2, I just added it to the docs here. You should be able to set it to always and get all the ids every time.
All ids are serialized in the JSON:API serializer because that's how the spec defines the behavior.
Let me know if you have any more questions!


Added .gitignore

Added filters for the meta files immediately created by Unity when the project is imported.

Those are needed, especially for the scriptable object types, in order for the save files not to break.

The files will still be created by Unity and won't change if the project is updated...
The reasoning for this .gitignore is that once you test/modify the project with Unity, it will create all this extra *.meta files that will appear on Git to be committed. If you want to make a Pull Request, you have to ignore / delete these files by hand, every single time.

Ok, didn't know the existing ones are kept;)
No problem then!

I figured it was a problem of communication. :-)

Well no problem anyway it will make committing way easier:)


_skipSearch should escape the "Escape" key

when pressing Esc the _onKeyup is fired with keyCode for escape (keyCode 27)
and triggers a new search.
This makes the autocoplete dropdown re-appear when hitting escape instead of just closing.

pull requests are welcome

#269


Put ViewCase into a modal

Pulls the modal logic out into a separate component to be shared.

 Bug fixes

Addresses some of #475


Segmentation fault in LoadModel

I tried to load this model and LoadModel consistently segfaults here. First, there's been an assertion triggering that forbids faces with more than 5 sides; when I manually tweaked the model by simplifying the single offending face, it still barfs with a random segfault somewhere higher in the LoadModel function.
Now I would attribute that to my tinkering, but a different model also results with a segmentation fault, even if it doesn't trigger the assertion.
Unfortunately, it's really hard for me to check what exactly causes it, since when I build a debug version, the segfault doesn't happen, and if I'm trying to just add source information and keep all the optimizations, I find it really hard to attach an lldb in a way that makes it recognize the source code.
I'm working on MacOS Monterey, version 12.5.1, and the error is reproducible both through Rust bindings, as well as the original models_loading example. My compiler is Apple clang version 12.0.0 (clang-1<IP_ADDRESS>)

@bl-nero I'm afraid this repo is for raylib.com website, not raylib library. For raylib issues, please, open them in raylib repo: https://github.com/raysan5/raylib
About the issue, what model format oare you tryint to load? obj? gltf? In any case, faces need to be triangulated, no quads or >4 sides per face are supported.

Oops, sorry. Filed https://github.com/raysan5/raylib/issues/2847 instead, including clarification to address your question.


⚠ PrivateHD has degraded performance

In 038b2f9, PrivateHD ($PHD) experienced degraded performance:

HTTP code: 200
Response time: 1828 ms

Resolved: PrivateHD performance has improved in f69739e.


make possible configure a different baseurl for each capability configuration

While working on GlobaLeaks an integrating our unit test environment with Saucelabs we are facing the need to run multiple tests in parallel launching multiple instances of the application with different listening tcp ports: https://github.com/globaleaks/GlobaLeaks/issues/1274
This would require having the possibility to instantiate protractor with different per-capability baseUrls.
I think this would be a valuable possibility for all the projects.
Currently we are trying to tackle the issue with the following configuration: https://github.com/globaleaks/GlobaLeaks/blob/issue/1274/client/tests/glclient/protractor-sauce.config.js
// for each run we need a different port;
//
// for the list of usable ports read:
// - https://docs.saucelabs.com/reference/sauce-connect/
capabilities = [
  { port: "2000", browserName: "firefox", platform: "Linux" },
  { port: "2001", browserName: "firefox", platform: "OS X 10.10" },
  { port: "2020", browserName: "firefox", version: "36.0", platform: "Windows 8.1" },
  { port: "2109", browserName: "firefox", version: "37.0", platform: "Windows 8.1" },
  { port: "2310", browserName: "chrome", platform: "Linux" },
  { port: "3000", browserName: "chrome", platform: "OS X 10.10" },
  { port: "3001", browserName: "chrome", version: "37.0", platform: "Windows 8.1" },
  { port: "3030", browserName: "chrome", version: "38.0", platform: "Windows 8.1" },
  { port: "3210", browserName: "chrome", version: "39.0", platform: "Windows 8.1" },
  { port: "3333", browserName: "chrome", version: "40.0", platform: "Windows 8.1" },
  { port: "4000", browserName: "chrome", version: "41.0", platform: "Windows 8.1" },
  { port: "4001", browserName: "chrome", version: "42.0", platform: "Windows 8.1" },
  { port: "4040", browserName: "safari", platform: "OS X 10.10" },
  { port: "4321", browserName: "internet explorer", version: "11", platform: "Windows 8.1" }
]

  onPrepare: function() {
    // hack needed in order to change the baseUrl at each run
    browser.getProcessedConfig().then(function(config) {
      browser.baseUrl = 'http://<IP_ADDRESS>:' + config.capabilities.port + '/';
    });
  }

anyhow this solution seems to work only partially and we are facing various non understandable errors: https://saucelabs.com/u/globaleaks
what would be the right solution?

i've currently solved in this way: https://github.com/globaleaks/GlobaLeaks/issues/1274
the solution would be relevant as suggestion for other projects.

The problem with your current solution is basically that you're setting baseUrl too late.
Another approach would be to have a template config, something like:
module.exports = function(capability, port) {
  return {
    ...
    capabilities: [capability],
    baseUrl: 'http://<IP_ADDRESS>:' + port + '/',
    ...
  };
}

And then have other config files like:
module.exports = require('./template')({ browserName: "firefox", platform: "Linux" }, 2000})

Would this suit your needs?

yep i think so sjelin, thanks
was i was suggesting is more to add an internall feature to protractor in order to run each browser test on a different port given a battery of ports.
anyhow this is how i've currently fixed for globaleaks, by also parallelizing the tests:
https://github.com/globaleaks/GlobaLeaks/blob/devel/.travis.yml
https://github.com/globaleaks/GlobaLeaks/blob/devel/client/tests/glclient/protractor-sauce.config.js
this would be probably of interest of other users

I think your solutions here are good. I would like to keep the configuration file as simple as possible, and I think that the simpler solution in this case is to use a template configuration and generate multiple config files, or name the capabilities and change the URL within each test.


Create kayseri.txt

Please add my Scholl . Thank You

Please add my Scholl . Thank You

Please add my Scholl . Thank You

@mturkben Pull request merged. Thank you!

@mturkben Pull request merged. Thank you!


Opening OfflineShop extension results in 500 error

When I try to open the Offline Shop it returns a 500 error.

I'm not able to insert a product
I'm not able to insert a word

Steps to reproduce:

enable extension
open offlineshop

Logs:
sqlalchemy.exc.IntegrityError: (sqlite3.IntegrityError) NOT NULL constraint failed: shops.method
[SQL:       INSERT INTO shops (wallet, wordlist)     VALUES (?, ?) ]

Fixed on 1a460a2ce57dbd63094bc415cdcaa34239827b6b.

Great, working now!


epic: footnotes

A little bit new components:

esl-note - a component similar to a trigger, but has no target, always activates the tooltip;
els-footnotes - esl-notes container component. Knows how to establish connections with all esl-notes within the scope;
esl-tooltip - a component based on a popup, a distinctive feature is the presence at the body in a single copy, is deleted when hidden.

Also full reworked esl-popup component. The component is now simply displayed in the desired position relative to its activator. It knows how to two modes with and without an arrow. Has two behaviors: prevent window out of bounds and do not check it. And also all kinds of positions for display. So far, one has been implemented - top-position.

:tada: This PR is included in version 3.0.0-beta.11 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Multiple Linear Regression

Hey DCP participants, good to see you here
This issue will helps readers in giving all the guidance that one needs to learn about Multiple Linear Regression. Tutorial to Multiple Linear Regression and how it's applied using sample code.
"Project Title" should be the "Issue Title" mentioned here.
If you like to work on this issue, follow the given guidelines for code as well as for the README. You have to be as elaborative as possible. Make sure you also maintain the project structure provided. Just comment and get it assigned. Issues are alloted on FCFS basis.
The main intention of this repo is to educate beginners with all the concepts related to datascience so that they could feel confident to apply these things learnt in practical exposure.
Enjoy your open source journey ahead. 😎

please do assign me mam @prathimacode-hub

@prathimacode-hub
I would love to contribute mam as a part of hacktoberfest2021.
Can you assign this to me?

Issue assigned to @deepthi1107
You can choose other issue, its allotted on FCFS. @tanvideshmukh29


[FLINK-16783] Add Python docker-compose based example

This PR adds a docker-compose based greeter example, that is completely in Python.
Copying the README.md content:
The Greeter Example
This is a simple example that runs a simple stateful function that accepts requests from a Kafka ingress,
and then responds by sending greeting responses to a Kafka egress. It demonstrates the primitive building blocks
of a Stateful Functions applications, such as ingresses, handling state in functions,
and sending messages to egresses.
Building the example

Make sure that you have built the Python distribution
To build the distribution

cd statefun-python-sdk/
./build-distribution.sh

Run ./build-example.sh

Running the example
To run the example:
./build-example.sh
docker-compose up -d

Then, to see the example in actions, see what comes out of the topic greetings:
docker-compose logs -f event-generator

Thanks @sjwiesman for the review, I've updated the PR based on your comments.


Updated documentation for define phase of design process

Problem statement
We recently refined our design process and found some opportunities to revisit templates/norms in specific areas. This ticket address the define phase that includes any initial discovery and how that moves into a product brief.
What you need to know
-Workshop mural

Existing Research Guide: https://cdc.sharepoint.com/:w:/r/teams/ReportStream/_layouts/15/Doc.aspx?sourcedoc={38251E1C-E969-4238-9959-EA182B99F3E2}&file=CDC-ReportStream_ResearchOps-Guide.docx&action=default&mobileredirect=true

Acceptance criteria

[ ] Define how discovery impacts product brief and what information is needed by Product
[ ] Define what does Researcher need to know in order to execute
[ ] Review Research Plan Template to see if it's a reasonable fit for this purpose
[ ] Design team and any other stakeholders aligned with findings
[ ] Determine follow-up ticket if needed to create new documentation/artifacts

@chris-kuryak one potential ticket for follow on from design process

Deprioritize until after recompete


Release version0.39.0 of sqlparser-rs

Follow on to https://github.com/sqlparser-rs/sqlparser-rs/issues/955
Filing a ticket here to track the work of a release (mostly so others can follow along)
Target Release Date: Approximately 2023-10-23
Release instructions: https://github.com/sqlparser-rs/sqlparser-rs/blob/main/docs/releasing.md
Steps:

[ ] Make a PR to update CHANGELOG.md
[ ] run cargo release
[ ] verify the new release is on crates.io
[ ] Make ticket for next release:

Update here is that there is a backlog of PRs open that I am working through. One I am done with that I'll do a release. I hope this will happen in a few days time

The release is on crates.io 🎉  https://crates.io/crates/sqlparser/0.39.0


Fixes to widgets when loading with and without CDN

Fixes #10618, #10510, #10660, #10060, #8241

Codecov Report

Merging #10678 (e21e25f) into main (e41e428) will decrease coverage by 0%.
The diff coverage is 41%.

@@          Coverage Diff           @@
##            main   #10678   +/-   ##
======================================
- Coverage     70%      70%   -1%
======================================
  Files        475      475
  Lines      28205    28225   +20
  Branches    4736     4742    +6
======================================
+ Hits       19999    20001    +2
- Misses      6336     6344    +8
- Partials    1870     1880   +10

Impacted Files
Coverage Δ

src/interactive-window/commands/commandRegistry.ts
34% <0%> (+<1%)
:arrow_up:

src/platform/common/utils/localize.ts
75% <ø> (+<1%)
:arrow_up:

src/kernels/raw/finder/jupyterPaths.node.ts
64% <38%> (-3%)
:arrow_down:

src/messageTypes.ts
100% <100%> (ø)

.../notebooks/controllers/vscodeNotebookController.ts
80% <100%> (+<1%)
:arrow_up:

src/notebooks/outputs/tracebackFormatter.ts
93% <0%> (-7%)
:arrow_down:

.../standalone/survey/dataScienceSurveyBanner.node.ts
66% <0%> (-6%)
:arrow_down:

src/kernels/variables/pythonVariableRequester.ts
55% <0%> (-5%)
:arrow_down:

src/standalone/intellisense/languageServer.node.ts
63% <0%> (-3%)
:arrow_down:

src/platform/common/cancellation.ts
62% <0%> (-2%)
:arrow_down:

... and 14 more


Added global version callout

What are you changing in this pull request and why?
I have created this PR to add a global VersionCallout component that allows us to set a version callout for the snapshot_meta_column_names and Unit tests doc
Checklist

[x] I have reviewed the Content style guide so my content adheres to these guidelines.
[x] The topic I'm writing about is for specific dbt version(s) and I have versioned it according to the version a whole page and/or version a block of content guidelines.
[x] I have added checklist item(s) to this list for anything anything that needs to happen before this PR is merged, such as "needs technical review" or "change base branch."
[ ] The content in this PR requires a dbt release note, so I added one to the release notes page.

🚀 Deployment available! Here are the direct links to the updated files:

https://docs-getdbt-com-git-nat-add-version-callout-dbt-labs.vercel.app/docs/build/unit-tests
https://docs-getdbt-com-git-nat-add-version-callout-dbt-labs.vercel.app/reference/resource-configs/snapshot_meta_column_names

lgtm!


Confusing usage of acronyms

I met an acronym FIR basisfunction in https://unfoldtoolbox.github.io/Unfold.jl/dev/explanations/basisfunctions/ and in https://unfoldtoolbox.github.io/Unfold.jl/dev/tutorials/lm_overlap/#3.-fit-the-linear-model
However I couldn't find any explanation what does it means and how to decipher it. Would be nice to have one.

fixed, thanks!
FIR stands for Finite-Impulse-Response and is a term taken from the filtering-literature.


fix(examples): fix in webpack3 examples

Fixes #2559.

Codecov Report

Merging #2561 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #2561   +/-   ##
=======================================
  Coverage   99.74%   99.74%
=======================================
  Files         160      160
  Lines        2744     2744
=======================================
  Hits         2737     2737
  Misses          7        7

Continue to review full report at Codecov.

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

Tested locally, everything works as expected :+1: Merged

Tested locally, everything works as expected :+1: Merged

Thanks for the fix!!!

Released in<EMAIL_ADDRESS>


Support Helm chart with local filepath

User Story
As a operator I would like to be able to specify a local file path where my helm chart resides for deployment versus a URL so that I can maintain compliance with deployments in air-gapped or other environments where the addon being deployed needs to resolve to the local file path relative to execution.
Detailed Description
Enable a local file path option for the helm chart via RepoURL or alternative option.
apiVersion: addons.cluster.x-k8s.io/v1alpha1
kind: HelmChartProxy
metadata:
  name: nginx-ingress
spec:
  clusterSelector:
    matchLabels:
      nginxIngressChart: enabled
  repoURL: ./mychart
  chartName: nginx-ingress

/kind feature

/triage accepted

The difficulty with this is that when the controller is running in the container or in the Cluster, the local file path would refer to that in the pod/container and not the command line. I'm not really sure how this would be possible unless the filepath gets stored in a secret. I'll tag @jackfrancis to chime in as well.

@Meytin would like your thoughts

The local file could be uploaded to the cluster using ORAS or any similar technology.

Best practice here is really to utilize a hosted repository for the chart.  I don't really think having local files mounted on the cluster just to apply a helm chart is a common use case we should support.  The air gap scenario could be covered if there is a local hosted helm chart repository on that same network as the cluster.

Yeah I agree, it's a rather convoluted use case. I will go ahead and close this issue.
/close


【WIP】Export cpu metrics that can't be reclaimed

What this PR does / why we need it:

Export cpu metrics that can't be reclaimed

fixed in other PR


Add some static analyses

Shellcheck scripts
This will lint all *.sh outside of _build and _download and error out if they violate any of the shellcheck rules.
I've updated all the scripts to pass validation (I picked out one possible bug where $POP_arch had not been set in makeStage2.sh.
Check for shebangs
We search for all *.sh and *.csh files and check they start with a shebang (this is simply checking for the presence of #! as the first two bytes of the file; we might want something more sophisticated to check the right shell is set.

Apart from the one comment, it looks good. I am slightly uneasy about diverging from FreePoplog in so many places but, on balance, I agree this is worth the chase.

I've removed the /bin/bash lines from the *.sh scripts in base and adapted the test script to only check for scripts with an exec bit set.


GKE autopilot basic networking configuration

This PR introduces configuring networking for a basic production cluster.
It contains a modified Kubernetes manifest for the frontend service of the Bank of Anthos. Added custom resources to provision Google-managed SSL certificate, Frontend configuration for Load Balancer, and Ingress object to create HTTPS Load Balancer.

Could we move these files to this directory structure instead: autopilot/basic-networking-bank-of-anthos?


Add method to search for data using doi, spatial domain, temporal range contained in data citation object

Problem: for reproducible workflows users want to search for and download datasets or subsets of datasets used for analysis in a published paper/presentation.  In most cases, I think this data can be references by some dataset identifier (e.g. doi), a spatial domain (bounding box, polygon, collection of points), and a temporal range or set of dates.  This kind of reference could be contained in some dict-type or json-like object: e.g.
{
"doi": doi_for_dataset,
"bounding_box": [North. South, East, West]  # or polygon/shapefile or other standard vector form
"temporal_range": (datetime_start, datetime_end),
}

Simple and short objects can be cited directly in papers, or stored as files with their own doi.  earthdata could take these objects as an input.
Maybe there is some standard format that can used.  Pangeo-forge has something like this as a recipe.  Maybe this is what we should be using.  But for users not wanting to use cloud resources and just use earthdata this could provide a reproducible solution to getting data.

This got implemented in v0.4.7 so closing this issue, we can now use doi to search for datasets!


GaussianSample and GaussianMerge bug: positive log_var

Bugs: one, two.
As it's now it leads to log_var being positive only. But for standard case of standard normal distribution almost all q distribution log_vars are less than zero. Or equals zero in case of N(0,1).

See here: https://github.com/wohlert/semi-supervised-pytorch/issues/16


DISTINCT does not work on the final select of scalar values

In a CTE query like
with cte1 as ( select scalar_col_1, scalar_col2, json_col_1 from tables)
, cte2 as (select scalar_col_1, extract_scalar_from_json_col_1 as scalar_col_11 from cte1)
select distinct  scalar_col_1,scalar_col_11 from cte2
gives error: DISTINCT can only be applied to comparable types : JSON.
at the time I apply distinct there is no json.

OK， we will check and fix this issue

👎


Add pwa-manifest with assets

Added PWA manifest site.webmanifest
Added assets, generated by using default config on realfavicongenerator

To generate assets I added one more file image-logo.png with a colorized logo without text (text will be under an Icon on a home screen, like in most of the apps now). This file was used to generate all these assets.
I discovered that assets generated by pwa-asset-generator are huge (15 files+ and all white, I've tried to use favicon.svg).
I noticed, that realfavicongenerator meets all requirements except Apple's Launch Screen Guidelines.
@BoyWithSilverWings tell me if you wish to see them and I'll try to generate and add it.
Resolves #17

@arturparkhisenko This is awesome! :fireworks: Thanks for the PR @arturparkhisenko, good work!


Ideas for New Features

Hello! I'm a big fan of this library and have been using it in my research for over a year now. At this point, I have a fork with several new methods and some new features. I want to fold my changes back into the main repository, so are you still accepting new PRs?
New Methods:

FroSSL  Disclaimer: this is my work
CorInfomax
MMCR
EMP-SSL
AugSelf
Data Augmentation Disentanglement

New Features

Using the sampled augmentation parameters (like was_flipped or Gaussian blur strength) in the loss function. This is necessary for the AugSelf and Data Augmentation Disentanglement methods.
New evaluation metrics like RankMe, NCC and CDNV, and non-linear probe (MLP). Adding these metrics will be a nice complement to the standard linear probe evaluation.

Hey! Yes, please feel free to create PRs for the things that you have implemented. I currently don't have much time to implement new features, but I would be happy to review your PRs.
Note: create one separate PR for each feature so that it's easier for me to review the individual components.

Great! I'll try to submit a few PRs this weekend

Hey @vturrisi! I just submitted a PR here that implements FroSSL. I'll start with this one for now, and I'll do the others once I figure out how the CI and tests work. By the way, how do I run tests locally?

Thanks, I'll check it in the course of this week.
To run the tests, you can do pytest --cov=solo tests/args tests/backbones tests/data tests/losses tests/methods tests/utils (simply doing pytest --cov=solo tests/ also works, but it will also run the dali tests). You will also need to install some libraries (pip install -e .[umap,h5] codecov mypy pytest-cov).


serialization

How frequently does the bug occur?
Always
Description
Exception in thread "AWT-EventQueue-0" kotlinx.serialization.SerializationException: Class 'UnmanagedRealmList' is not registered for polymorphic serialization in the scope of 'RealmList'.
To be registered automatically, class 'UnmanagedRealmList' has to be '@Serializable', and the base class 'RealmList' has to be sealed and '@Serializable'.
Alternatively, register the serializer for 'UnmanagedRealmList' explicitly in a corresponding SerializersModule.
at kotlinx.serialization.internal.AbstractPolymorphicSerializerKt.throwSubtypeNotRegistered(AbstractPolymorphicSerializer.kt:102)
at kotlinx.serialization.internal.AbstractPolymorphicSerializerKt.throwSubtypeNotRegistered(AbstractPolymorphicSerializer.kt:114)
at kotlinx.serialization.PolymorphicSerializerKt.findPolymorphicSerializer(PolymorphicSerializer.kt:109)
at kotlinx.serialization.json.internal.StreamingJsonEncoder.encodeSerializableValue(StreamingJsonEncoder.kt:233)
at kotlinx.serialization.json.internal.JsonStreamsKt.encodeByWriter(JsonStreams.kt:28)
at kotlinx.serialization.json.Json.encodeToString(Json.kt:81)
Stacktrace & log output
Exception in thread "AWT-EventQueue-0" kotlinx.serialization.SerializationException: Class 'UnmanagedRealmList' is not registered for polymorphic serialization in the scope of 'RealmList'.
To be registered automatically, class 'UnmanagedRealmList' has to be '@Serializable', and the base class 'RealmList' has to be sealed and '@Serializable'.
Alternatively, register the serializer for 'UnmanagedRealmList' explicitly in a corresponding SerializersModule.
	at kotlinx.serialization.internal.AbstractPolymorphicSerializerKt.throwSubtypeNotRegistered(AbstractPolymorphicSerializer.kt:102)
	at kotlinx.serialization.internal.AbstractPolymorphicSerializerKt.throwSubtypeNotRegistered(AbstractPolymorphicSerializer.kt:114)
	at kotlinx.serialization.PolymorphicSerializerKt.findPolymorphicSerializer(PolymorphicSerializer.kt:109)
	at kotlinx.serialization.json.internal.StreamingJsonEncoder.encodeSerializableValue(StreamingJsonEncoder.kt:233)
	at kotlinx.serialization.json.internal.JsonStreamsKt.encodeByWriter(JsonStreams.kt:28)
	at kotlinx.serialization.json.Json.encodeToString(Json.kt:81)

Can you reproduce the bug?
Always
Reproduction Steps
No response
Version
kotlin SDK 1.10.2
What Atlas App Services are you using?
Local Database only
Are you using encryption?
No
Platform OS and version(s)
windows 10
Build environment
Android Studio version: ...
Android Build Tools version: ...
Gradle version: ...

Exception in thread "main" kotlinx.serialization.SerializationException: Class 'RealmResultsImpl' is not registered for polymorphic serialization in the scope of 'RealmResults'.
To be registered automatically, class 'RealmResultsImpl' has to be '@Serializable', and the base class 'RealmResults' has to be sealed and '@Serializable'.

RealmList does not have an embedded kserializer defined and it requires manual registration.
RealmListKSerializer is a serializer for both managed and unmanaged lists. The documentation shows different ways of registration.

RealmList does not have an embedded kserializer defined and it requires manual registration.
RealmListKSerializer is a serializer for both managed and unmanaged lists. The documentation shows different ways of registration.

yes  I registered all types inside the model class  with
@file:UseSerializers(
RealmListKSerializer::class,
RealmInstantKSerializer::class,
RealmSetKSerializer::class,
RealmAnyKSerializer::class,
RealmDictionaryKSerializer::class,
RealmInstantKSerializer::class,
RealmAnyKSerializer::class,
RealmUUIDKSerializer::class,
MutableRealmIntKSerializer::class,
MutableRealmIntKSerializer::class,
RealmInstantKSerializer::class

)

Is there any real  example of one-to-many relationship  and realmlist serialization

We don't have any examples, but we have a bunch of tests here.
If you have any issues with any of the serializers available in the SDK, share some samples or details and we will be happy to assist.

We don't have any examples, but we have a bunch of tests here.
If you have any issues with any of the serializers available in the SDK, share some samples or details and we will be happy to assist.

@file:UseSerializers(
RealmListKSerializer::class,
RealmInstantKSerializer::class,
RealmSetKSerializer::class,
RealmAnyKSerializer::class,
RealmDictionaryKSerializer::class,
RealmInstantKSerializer::class,
RealmAnyKSerializer::class,
RealmUUIDKSerializer::class,
MutableRealmIntKSerializer::class,
MutableRealmIntKSerializer::class,
RealmInstantKSerializer::class

)
package com.example.common.Data
import io.realm.kotlin.ext.realmListOf
import io.realm.kotlin.serializers.*
import io.realm.kotlin.types.RealmObject
import kotlinx.serialization.UseSerializers
import kotlinx.serialization.encodeToString
import kotlinx.serialization.json.Json
import org.mongodb.kbson.ObjectId
class  Employ : RealmObject
{
var id:ObjectId=ObjectId()
var  name =""
}
class  EmploySalary : RealmObject
{
var id:ObjectId=ObjectId()
var  salary :Double=0.0
var employ:Employ= Employ()
}
fun mainTest() {
var emp =  Employ()
emp.name="emp1"

var salary = EmploySalary()

salary.salary=1000.0
 salary.employ=emp

var emp2= Employ()

emp2.name="emp2"

var salary2= EmploySalary()
salary2.salary=2000.0
salary2.employ=emp2

var employList = realmListOf<EmploySalary>()

employList.add(salary)
employList.add(salary2)

println( Json.encodeToString( employList))
}

I see the issue. The @file:UseSerializers annotation works for registering the serializer for any RealmList property in the models defined in the file, then when you serialize that model KSerializer knows how to serialize such property.
This annotation would not register the serializer on RealmLists defined in a code block, like in your case. In this case you will have to manually pass the serializer to the Json.encodeToString:
println(Json.encodeToString(RealmListKSerializer, employList))

I see the issue. The @file:UseSerializers annotation works for registering the serializer for any RealmList property in the models defined in the file, then when you serialize that model KSerializer knows how to serialize such property.
This annotation would not register the serializer on RealmLists defined in a code block, like in your case. In this case you will have to manually pass the serializer to the Json.encodeToString:
println(Json.encodeToString(RealmListKSerializer, employList))

Classifier 'RealmListKSerializer' does not have a companion object, and thus must be initialized here

Yes, you have to initialize the RealmListKSerializer. In your case:
println(Json.encodeToString(RealmListKSerializer(EmploySalary.serializer()), employList))

Note, that you have to annotate EmploySalary as @Serializable, or it will not be able to pull its serializer.

thank you a lot @cmelchior  it works perfectly


Detect decompression commands

Description
Part of JW2SU88A
Linked PR for this issue: #2712
(PR #2562 also deals with JW2SU88A, but not all of it (or a different aspect of it, perhaps.))

We currently catch many Unix and Linux commands, but we don't seem to catch common/obvious use of decompression commands. These could be used to try and exfiltrate data, perhaps from compressed log files, like so:
$ gunzip -c /var/log/apache2/access.log.2.gz

->

$ curl --data 'cmd=gunzip -c /var/log/apache2/access.log.2.gz`...

It seems like a simple and beneficial fix for us to start catching the most common of these decompression commands.

Update
We do catch some decompression commands, but only in the rules that look for a 'starting sequence' that precedes a command in shell syntax, such as:
; | & $( `` <( >(
So, we do catch
;gunzip -c ...
but not
gunzip -c ...
I believe we need to add these commands to the "Unix direct remote command execution" rules, either:

PL1: 932150
PL2: 932151

Added additional patterns and tests to 932150 and 932160 to catch the described kinds of attacks/patterns. (See #2712 for details.)

PR merged following approval.
Closing issue.


Serializing hashes

Hi, thanks for this nifty package! I have found that it works quite well in a few spot checks so far. My tests with perceptual hashes were disappointing, with results appearing to be mostly random. I see you've discovered this, too. I'll keep testing this lib but so far it's better than other algorithms I've tried and doesn't require ML models! (It is quite slow, I've noticed. Depending on how heavily I use this, I may investigate to see if we can speed it up.)
Ok, question:
Is there a recommended way to serialize a hash so it can be stored and later reused? I am used to hashes simply being a number (albeit, a very large number, 128 to 512 bits in length), so I'm not sure how to handle a struct with various fields constituting a 'hash'.
I see there is an EncodeGob() method on a Store, implying that gob-encoding the hash might be the "standard" way.
If I wanted to store these hashes in a database, what do you recommend?

As you probably saw, I didn't invent this algorithm. It's an implementation of an existing paper. And it's different from other perceptual hash algorithms in that it describes a data structure for similarity searches instead of calculating a bit vector and leaving it up to you to efficiently find a match.
I suggest you read the original paper so you get an idea of how this works. It's not complicated. I'm not aware of any method to derive a bit vector from this algorithm. It would take some research and probably trial and error to do that. (And even then, I'm not sure such a bit vector would have the property that a Hamming distance would be equal to the score calculated in this package.)
All in all, I think you're looking for something that this algorithm doesn't offer. As mentioned on HN, you could look into Apple's NeuralHash which gives you a bit vector and you can calculate Hamming distances for a similarity metric. It's even more accurate than duplo. But it's ML and to my knowledge, doesn't currently run on Go.

Thanks; and that all makes a lot of sense.
Not a dealbreaker for me tbh, I can just gob-encode the Store or Hashes and store them opaquely in the DB. This means a SQL query can't be used to perform lookups for duplicates/similar images, but we can at least avoid recomputing hashes all the time, so that's good enough for me. I think! :)
Really appreciate your thoughtful reply, and this useful library. I'll give the paper a read when I have a chance. :+1:

Even with the other algorithms which produce a hash value, I'm not sure you can simply run an SQL query to find similar hashes. I'm not aware of a database that offers an index for Hamming distance queries. So you can only look for an exact match. But in my experience, even with very accurate perceptual hash algorithms, the hashes are never 100% the same. You can have the same two pictures, maybe one of them just resized, and their hashes will still differ by one or two bits.
With any of these methods, there will always be a tradeoff regarding how many false negatives and/or false positives you're willing to accept. Only a byte-for-byte comparison (e.g. SHA-256) will be 100% accurate (minus the hash collision probability).

I'm pretty sure there are ways to compute a Hamming distance using Math :tm: in SQL queries though, for example:
SELECT
    id,
    length(replace((p_hash|8455337021601640796) - (p_hash&8455337021601640796), '0', '')) AS dist
FROM photos
WHERE p_hash IS NOT NULL
ORDER BY dist ASC;

(where the big number is the target p_hash you want to find similar items to)
And if it's larger than 64 bits, you can do this same method but split across more int64 fields.
I had this working well in one earlier experiment, but unfortunately as I said, the p-hashes were not very accurate (even before my SQL-fu).
But yeah, understood about tradeoffs. I just think your lib and this algorithm happen to hit a sweet spot for my app, and I can find ways to deal with the lack of SQL-compatibility. Thanks again!

That's why I wrote

index for Hamming distance queries

I'm working with hundreds of millions of images. Your query would result in a full table scan and a sort on all rows which I can't afford. (I would also say there's more string manipulation involved than Math™ so I'm not sure how efficient this would be.)
But of course, if you're dealing with much fewer images, that's probably fine.


terminal stays open after process exit

Initially I thought this was an issue with MIEngine, but they report that it is up to VSCode to properly close the external console after debugging
https://github.com/Microsoft/MIEngine/issues/807
Version: 1.29.1
Commit: bc24f98b5f70467bc689abf41cc5550ca637088e
Date: 2018-11-15T19:07:43.495Z
Electron: 2.0.12
Chrome: 61.0.3163.100
Node.js: 8.9.3
V8: 6.1.534.41
Architecture: x64
repro

debug cpp with external terminal
when the program ends, the terminal remains open

"Press any key to continue.." is holding these zombie terminals open (we get a new one with each run/debug run)

I came to report the same problem on the Linux version. This new behavior seemed to coincide with a fix for the Linux terminal emulator selection (before it would always used xterm, regardless of settings... now it respects the setting, defaulting to x-terminal-emulator, but this "Press any key to continue..." thing came along for the ride).
I'm assuming that it was always supposed to be doing this "Press any key" thing in the first place, and that this was a bug that they "fixed" along with fixing the terminal selection problem. However, I wish there were a way for me to disable it, because I end up with numerous lingering terminals during intense debugging sessions. Two of my co-workers also came to me annoyed with it and asking me to see if I can hack around it somehow.

I would like to add that this problem also exists on the internal console. Each debugging session will launch a new terminal and when the program ends, the internal terminal stays open with text
[1] + Done                       "/usr/bin/gdb" --interpreter=mi --tty=${DbgTerm} 0<"/tmp/Microsoft-MIEngine-In-rxo7l3v7.xwx" 1>"/tmp/Microsoft-MIEngine-Out-c3yh2g6c.61r"

After debugging the program for a while, there would be a bunch of internal terminals. I have to manually close all of them, which is pretty annoying. Sadly, the workaround @killerkalamari mentioned does not work for the internal terminal.
This problem only happens on Linux. The internal terminal on macOS could exit after the program ends.

@guoyiteng  please let me know if you find any workaround, for someone who does competitive programming on vs code like me, it is VERY MUCH ANNOYING to close 2 terminal tabs after each debug session.

Same here, after debugging for a while, I have 20+ terminals and VS Code even gives an error at 25 terminals because it's not allowed to allocate any more (on Windows 10 here). Would be good if running the program again reused the terminal

+1 from me, would be nice to not have to manually kill terminals

@weinand I notice we 'intentionally' add && wait and the like to terminals. Should we remove that wholesale, or or make it a user option? I.e. is this bug actually a feature request for a setting, or a change in default behavior?

I hope it can be a setting, because I end up turning off my workaround sometimes when I've really messed things up and need to see why it crashed.

Maybe a better approach would be to kill any existing integrated terminal (for the same configuration?) when launching a new session, so that you would just have 1 extra terminal hanging around, not 100.

just a clarification: this issue is about the external terminal, not the integrated terminal
driving external terminals from VS Code on different platforms is challenging. For instance we couldn't find a way on all platforms to reuse an external terminal for multiple sessions because most APIs only support to pass a single shell command on terminal creation. So feeding additional commands into an existing terminal is difficult. Exception: the "Terminal" application on macOS provides AppleScript API for determining whether a terminal is "busy"  and for feeding additional input.
initially we were closing the terminal immediately at the end of a debug session but with that behavior user complained that they couldn't see runtime errors or program output. That's the reason why the "Press any key to continue..." && wait was added. IIRC the idea was to keep the terminal open if there are issues (exit code != 0) and to close it otherwise.

Yes, killing the "previous" terminal when creating a "new" terminal sounds like a good approach to avoid accumulating lots of terminals. But we need to be careful not to kill terminals that are still in use. Using the "configuration name" as a way to find terminal candidates that can be closed only works, if we continue to prevent that launch configs are launched only once (we are planning to lift this - see #110226).

Why not adding an extra option in launch.json and let users decide whether they want or not to have terminal debugging closed when debug ends?
Something like closeTermOnEnd: true/false

Support for external terminals is provided by individual debug extensions. VS Code doesn't know about them and cannot provide a generic property in the launch.json.

I'd suggest introducing a new property in "launch.json" via BaseTaskConfiguration:
interface BaseTaskConfiguration {
  // ...

  /**
  * If an external terminal should wait after
  * its command has exited or not.
  */
  waitAfterExternExit: boolean
}

with the default value true or something like that.

@Bernd-L please see my previous comment. I don't understand how your "BaseTaskConfiguration" would address the layering issue?

@Bernd-L please see my previous comment. I don't understand how your "BaseTaskConfiguration" would address the layering issue?

@Bernd-L please see my previous comment. I don't understand how your "BaseTaskConfiguration" would address the layering issue?

I meant that extending the existing one at https://github.com/microsoft/vscode-docs/blob/master/docs/editor/tasks-appendix.md#schema-for-tasksjson might be a good idea, to include the new property waitAfterExternExit.

@Bernd-L please see my previous comment. I don't understand how your "BaseTaskConfiguration" would address the layering issue?

I meant that extending the existing one at https://github.com/microsoft/vscode-docs/blob/master/docs/editor/tasks-appendix.md#schema-for-tasksjson might be a good idea, to include the new property waitAfterExternExit.

Yes, killing the "previous" terminal when creating a "new" terminal sounds like a good approach to avoid accumulating lots of terminals. But we need to be careful not to kill terminals that are still in use. Using the "configuration name" as a way to find terminal candidates that can be closed only works

The challenge I face here is that there is nothing that prevents the debugger from executing a runInTerminal request that executes a command that outlives the debug session. If we can assume this is the case it also gives me a nice solution to https://github.com/microsoft/vscode/issues/112055, but I didn't take that approach initially because I am not sure if there are any consumers that do this.

Yes, killing the "previous" terminal when creating a "new" terminal sounds like a good approach to avoid accumulating lots of terminals. But we need to be careful not to kill terminals that are still in use. Using the "configuration name" as a way to find terminal candidates that can be closed only works

The challenge I face here is that there is nothing that prevents the debugger from executing a runInTerminal request that executes a command that outlives the debug session. If we can assume this is the case it also gives me a nice solution to https://github.com/microsoft/vscode/issues/112055, but I didn't take that approach initially because I am not sure if there are any consumers that do this.

Just for now, I came up with kind of a workaround that solves accumulating tons of opened terms after a few debugging sessions. You just can use VSCode's postDebugTask to launch a task when debug session ends. The task could look something like:
in tasks.json:
        (...)
        {
            "label": "Close term",
            "type": "shell",
            "command": "killall -SIGTERM Terminal"
        }

then, in launch.json add "postDebugTask": "Close term"
If you are working with Terminal as well as debugging you could play around with pids and adding a shell command to kill only desired terms.
There is another issue in MacOS though, when you kill all terms and reopen them, last session is restored so you end up with more and more terms opened each time you restart a new session. To avoid it, I recommend following this solution on stack exchange. Enjoy!

I like the idea of closing previous terminal when a new debugging terminal is launched.
It should be easy to have a handle to last debugging terminal, and close it when launching a new one.
This means there is no cluttering of a lot of obsolete debugging terminals, and user can always check the terminal state after debugging done.
Please make an option in launch.json to do so! Thanks!

@weinand You explicitly state that the 'not automatically closing' behavior was added

That's the reason why the "Press any key to continue..." && wait was added.

All we are asking for is for a switch somewhere to make that optional, because it can be a real pain.


Quick filters: add some examples in documentation

[edit] I changed my approach, instead of adding new filters directly in CR, some being a bit hacky, I prefer just to document them as examples. Users can copy-paste them in their CR

This filter shows cluster traffic to outside.
Note there's a trick by excluding source port 443, this is to remove traffic from of kind "ingress to outside" ie. the response traffic of an ingress connection. It's a bit hacky.

/retest

/approve


Please merge revision 37330be1b9b631baa3d426c9484d5e9714ad1a9b into dev channel

@whesse @mit-mit @kasperl
<Describe the problem this merge is fixing - include issue numbers if applicable>
This change is necessary for dartdoc to generate docs for the generic function type support, #27527 (dartdoc #1321).
<What revision(s) needs to be merged - please annotate revisions with reason if more than one>
37330be1b9b631baa3d426c9484d5e9714ad1a9b
<Please try out the merge yourself. If there are merge conflicts please resolve these and upload the cl to rietveld and provide a link here>
This merged cleanly.

@bwilkerson

This is merged into 1.23.0-dev.11.1


Doesn't build on M1 Mac

Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

    current directory: /Users/ollym/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/or-tools-0.7.0/ext/or-tools
/Users/ollym/.rbenv/versions/3.1.0/bin/ruby -I /Users/ollym/.rbenv/versions/3.1.0/lib/ruby/site_ruby/3.1.0 -r
./siteconf20220525-14153-650tu6.rb extconf.rb
checking for rice/rice.hpp in /Users/ollym/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/rice-4.0.4/include... yes
checking for -lc++... yes
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers.  Check the mkmf.log file for more details.  You may
need configuration options.

Provided configuration options:
	--with-opt-dir
	--without-opt-dir
	--with-opt-include
	--without-opt-include=${opt-dir}/include
	--with-opt-lib
	--without-opt-lib=${opt-dir}/lib
	--with-make-prog
	--without-make-prog
	--srcdir=.
	--curdir
	--ruby=/Users/ollym/.rbenv/versions/3.1.0/bin/$(RUBY_BASE_NAME)
	--with-c++-dir
	--without-c++-dir
	--with-c++-include
	--without-c++-include=${c++-dir}/include
	--with-c++-lib
	--without-c++-lib=${c++-dir}/lib
	--with-c++lib
	--without-c++lib
	--with-or-tools-dir
	--without-or-tools-dir
	--with-or-tools-include
	--without-or-tools-include=${or-tools-dir}/include
	--with-or-tools-lib
	--without-or-tools-lib=${or-tools-dir}/lib
/Users/ollym/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/or-tools-0.7.0/ext/or-tools/vendor.rb:11:in `<top (required)>': Binary
installation not available for this platform: Mac ARM (RuntimeError)

Run:
brew install or-tools
bundle config build.or-tools --with-or-tools-dir=/opt/homebrew

	from extconf.rb:15:in `require_relative'
	from extconf.rb:15:in `<main>'

To see why this extension failed to compile, please check the mkmf.log which can be found here:

  /Users/ollym/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/extensions/arm64-darwin-21/3.1.0/or-tools-0.7.0/mkmf.log

extconf failed, exit code 1

Hey @ollym, the error message gives instructions on what to do.


Installer would like to access files in your Download folder dialog on Mac OS for pd-goax-e2e

I have encounter possible problem on downstream macs. I suspect podman desktop installation of the podman was running when the dialog appeared and prevented the workflow to pass through it. I am not sure about the job/pipeline run.

Where are you seeing this? Which OS version?

Mac5 it is. Mac OS 14.


Remove/replace references to bintray from website

Closes #27 #28 #29

Hi @puneetbehl, could you please approve/merge this trivial PR ? It solves 2 issues that you have reported and which causes confusion for visitors.


mediainfo-gui: 24.03 -> 24.04

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/project/mediainfo/versions.
meta.description for mediainfo-gui is: Supplies technical and tag information about a video or audio file (GUI version)
meta.homepage for mediainfo-gui is: https://mediaarea.net/
Updates performed

Version update

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 24.04 with grep in /nix/store/3yzrpansvd5mq126wxm6rjsr3qw5hzff-mediainfo-gui-24.04
found 24.04 in filename of file in /nix/store/3yzrpansvd5mq126wxm6rjsr3qw5hzff-mediainfo-gui-24.04

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

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

mediainfo-gui

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/3yzrpansvd5mq126wxm6rjsr3qw5hzff-mediainfo-gui-24.04 \
  --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 mediainfo-gui https://github.com/r-ryantm/nixpkgs/archive/8c28d41e849ca1a68630a5d96c42df1030fc631f.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/8c28d41e849ca1a68630a5d96c42df1030fc631f#mediainfo-gui

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/3yzrpansvd5mq126wxm6rjsr3qw5hzff-mediainfo-gui-24.04
ls -la /nix/store/3yzrpansvd5mq126wxm6rjsr3qw5hzff-mediainfo-gui-24.04/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 --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

1 package built:

mediainfo-gui

Maintainer pings
cc @devhell for testing.

@NixOS/nixpkgs-merge-bot merge


Promethues increase functions shows difference in 100s during heavy load

Hi,
I have been using prometheus for our app metrics to get the total count of transactions for given time range.   I just played around in grafana and thought single stat  panel will fit for our requirements; I just used increase/rate function to find difference between current scrape and last scrape for the given time range. I noticed that it is working fine and getting value near by accuracy ( i.e, + or - 2) when ever I tried with small amount of load; bu i am seeing big difference (in 100's) if test with big load.
I agree that increase/rate function will calculate the difference with extrapolation; hence we are seeing differences some time; but not good for 100s or 300s count difference.   I thought of using max_over_time and min_over_time for my requirement and it is working fine; but it will also have problem if counter resets the value 0.  I just verified all the community sites and everyone is proposing to go for metrics logs for accuracy result. Hence I tried to use irate function on metrics logs in graph; but it shows difference only for specific interval and not for the total difference for complete range
As I am exploring prometheus and grafana recently, I am looking for some guidance to come up with some query which will give approximate (but not big difference) transactions for the given range.  Please note that our metrics will get scrapped for every 1 minutes by prometheus and we are expecting last one hour transactions counts from the scrapped metrics.  Kindly help.
Thanks and regards,
Thiyagarajan K.

Thanks for your report. It looks as if this is actually a question about usage and not development because XXX
To make your question, and all replies, easier to find, we suggest you move this over to our user mailing list, which you can also search. If you prefer more interactive help, join or our IRC channel, #prometheus on irc.freenode.net. Please be aware that our IRC channel has no logs, is not searchable, and that people might not answer quickly if they are busy or asleep. If in doubt, you should choose the mailing list.
If you think this is not purely a support question, feel free to comment in here or take the underlying issues to our developer mailing list.
Once your questions have been answered, please add a short line pointing to relevant replies in case anyone stumbles here via a search engine in the future.
In your specific use case, we will need a bit more information to help you, for exemple, the console result of your_metric[2h] and increase(your_metric[1h]).


Add SASL ANONYMOUS

FYI, I merged most of your changes with a bunch of updates of my own in some ruby/net-imap branches.  I've pushed one PR but I'll send in some others that correspond to all of your other PRs.
Once I'm happy with the net-imap PRs, I'll merge all of the changes back into net-sasl.  I'll keep your PRs open until then.  :)  Thanks!

@nevans: What is the status of this PR (net-sasl)?
cc: @hsbt, @shugo.


HIVE-23857: Fix HiveParser 'code too large' problem (Miklos Gergely, reviewed by David Mollitor)

HivePasrser.g can not be extended anymore as adding any more tokens leads to a "code too large" problem, because the compiled code size would exceed 65536 bytes. The real solution would be to introduce anltr4, in the meantime it can be fixed be moving the tokenNames variable into a separate file.

I once looked at this and was trying to avoid this route, but I guess it's all we can do unless someone wants to take up the mantle of going to ANTL4.


Delivery for Reporter Instant App - Sprint1 - AGOL-2024.R01

Implemented following items

Loading map
Creating side panel
Layer list

Following items are implemented and are still in testing:

Feature List
Feature Details (when selected feature using feature list)

Tested on following platforms:

QA Checklist:
QAChecklist-CrowdsourceReporter_Instant_App-AGOL2024-_Sprint1.xlsx
Test cases & Execution report:
ESRILG_-TestScenarios___TestCases_-_CrowdsourceReporter_Instant_App-AGOL2024-_Sprint1.xlsx

@jmhauck
We have implemented above review comments, we will deilver it in the next code drop


SIP and WIP cause Deploy Problems task to fail

@royragsdale - after we merged in your pull request, I can't get SIP and WIP to work anymore. I get the below error. The command I ran was:
J=4 M=8 WIP=<IP_ADDRESS> SIP=<IP_ADDRESS> vagrant up --provision shell && J=2 M=8 WIP=<IP_ADDRESS> SIP=<IP_ADDRESS> vagrant up --provision web
I still see a reference to <IP_ADDRESS>
TASK [pico-shell : Deploy problems] ********************************************
fatal: [shell]: FAILED! => {
"changed": true,
"cmd": [
"/picoCTF-env/bin/shell_manager",
"deploy",
"-n",
"2",
"all"
],
"delta": "0:00:04.520829",
"end": "2020-06-19 20:00:58.259945",
"rc": 1,
"start": "2020-06-19 20:00:53.739116"
}
STDERR:
20:00:54 hacksport.deploy INFO: default_user 'hacksports' does not exist. Creating the user now.
Traceback (most recent call last):
File "/picoCTF-env/lib/python3.7/site-packages/urllib3/connectionpool.py", line 677, in urlopen
chunked=chunked,
File "/picoCTF-env/lib/python3.7/site-packages/urllib3/connectionpool.py", line 381, in _make_request
self._validate_conn(conn)
File "/picoCTF-env/lib/python3.7/site-packages/urllib3/connectionpool.py", line 976, in validate_conn
conn.connect()
File "/picoCTF-env/lib/python3.7/site-packages/urllib3/connection.py", line 370, in connect
ssl_context=context,
File "/picoCTF-env/lib/python3.7/site-packages/urllib3/util/ssl.py", line 390, in ssl_wrap_socket
return context.wrap_socket(sock)
File "/usr/lib/python3.7/ssl.py", line 423, in wrap_socket
session=session
File "/usr/lib/python3.7/ssl.py", line 870, in _create
self.do_handshake()
File "/usr/lib/python3.7/ssl.py", line 1139, in do_handshake
self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1076)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/picoCTF-env/lib/python3.7/site-packages/requests/adapters.py", line 449, in send
timeout=timeout
File "/picoCTF-env/lib/python3.7/site-packages/urllib3/connectionpool.py", line 725, in urlopen
method, url, error=e, _pool=self, _stacktrace=sys.exc_info()[2]
File "/picoCTF-env/lib/python3.7/site-packages/urllib3/util/retry.py", line 439, in increment
raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='<IP_ADDRESS>', port=2376): Max retries exceeded with url: /v1.35/_ping (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1076)')))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/picoCTF-env/bin/shell_manager", line 33, in
sys.exit(load_entry_point('ctf-shell-manager==1.2.1', 'console_scripts', 'shell_manager')())
File "/picoCTF-env/lib/python3.7/site-packages/shell_manager/run.py", line 238, in main
args.func(args)
File "/picoCTF-env/lib/python3.7/site-packages/hacksport/deploy.py", line 1021, in deploy_problems
restart_xinetd=False,
File "/picoCTF-env/lib/python3.7/site-packages/hacksport/deploy.py", line 815, in deploy_problem
deployment_directory=deployment_directory,
File "/picoCTF-env/lib/python3.7/site-packages/hacksport/deploy.py", line 642, in generate_instance
problem = Problem()
File "/picoCTF-env/lib/python3.7/site-packages/hacksport/docker.py", line 44, in init
self.client.ping()
File "/picoCTF-env/lib/python3.7/site-packages/docker/client.py", line 187, in ping
return self.api.ping(*args, **kwargs)
File "/picoCTF-env/lib/python3.7/site-packages/docker/api/daemon.py", line 166, in ping
return self._result(self._get(self._url('/_ping'))) == 'OK'
File "/picoCTF-env/lib/python3.7/site-packages/docker/utils/decorators.py", line 46, in inner
return f(self, *args, **kwargs)
File "/picoCTF-env/lib/python3.7/site-packages/docker/api/client.py", line 230, in _get
return self.get(url, **self._set_request_timeout(kwargs))
File "/picoCTF-env/lib/python3.7/site-packages/requests/sessions.py", line 543, in get
return self.request('GET', url, **kwargs)
File "/picoCTF-env/lib/python3.7/site-packages/requests/sessions.py", line 530, in request
resp = self.send(prep, **send_kwargs)
File "/picoCTF-env/lib/python3.7/site-packages/requests/sessions.py", line 643, in send
r = adapter.send(request, **kwargs)
File "/picoCTF-env/lib/python3.7/site-packages/requests/adapters.py", line 514, in send
raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='<IP_ADDRESS>', port=2376): Max retries exceeded with url: /v1.35/_ping (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1076)')))

@carlislemc , thank you for the report. Looks like the ENV values are incorrectly being passed into the vagrant machine where ansible is being run.
The local_infra/inventory.yml should pickup the env values: https://github.com/picoCTF/picoCTF/blob/master/infra_local/inventory.yml#L13
However it is clearly not as the configs that get generated have the defaults. For example
root@picoCTF-shell-dev:/opt# cat hacksports/local/local_config.json
{
    "hostname": "<IP_ADDRESS>",
    "web_server": "http://<IP_ADDRESS>",
    "rate_limit_bypass_key": "INSECURE_DEFAULT_CHANGE_ME"

        ,
    "docker_host": "tcp://<IP_ADDRESS>:2376",
    "docker_ca_cert": "/home/vagrant/.docker/ca.pem",
    "docker_client_cert": "/home/vagrant/.docker/cert.pem",
    "docker_client_key": "/home/vagrant/.docker/key.pem"

}

I believe that this can be fixed by explicitly setting the ansible.extra_vars. For example how the Vagrantfile used to pass things: https://github.com/picoCTF/picoCTF/blob/dd774b0f444cc7370de4787094907b83bde28462/Vagrantfile#L37
I'll test this fix and update/PR.

Should be resolved via #471.