cloudflare_access_group: reference ip list in include statement

Current Terraform and Cloudflare provider version
v3.16.0
Description
cloudflare_teams_list now supports IP type https://github.com/cloudflare/terraform-provider-cloudflare/issues/1550 but it isn't possible to reference IP lists. the best I can do is reference the items attribute.
In the UI there is an option to add include rules for IP List

Use cases
Pass a list of items by reference instead of by value
Potential Terraform configuration
resource "cloudflare_teams_list" "ip_allowlist" {
  account_id = var.account_id
  name       = "ip allowlist"
  type       = "IP"
  items = [
    "<IP_ADDRESS>"
  ]
}

resource "cloudflare_access_group" "ip_group" {
  account_id     = var.account_id
  name           = "staging group"

  include {
    ip_list = resource.cloudflare_teams_list.ip_allowlist.id
  }
}

References
No response

I needed this feature too, so I implemented it and am waiting for a review.


Locally served falcon -- "no pipeline tag found for model"

System Info
falcon-40b has pipeline tag of "text-generation" [ref]
But when I serve it from a local directory, I see the logs "no pipeline tag found for model /data/falcon-40b"
Seems in the router, if we're using local model, it just sets pipeline tag to nothing [ref]
This matters because when serving local LLM, return_full_text is false as a result [ref]
Information

[X] Docker

Tasks

[x] An officially supported command

Reproduction
Serve falcon-40b or any "text-generation" model from docker running on EKS, ECS, etc..
Expected behavior
return_full_text is True when serving LLM model locally, which is the same behaviour when serving the same model downloaded from external source

"no pipeline tag found for model /data/falcon-40b"

This is just a warning, not a crash, everything should still load fine.


vp8dec: enable svc-t decoding

Support three layers vp8 svc-t decoding.
Signed-off-by: wudping<EMAIL_ADDRESS>

please help to review, thanks.

updated, thanks.

updated, thanks @xuguangxin .

Updated, thanks @xuguangxin .


[BUG] resource manager info duplicated in `user-agent

Library name and version
Azure.ResourceManager
Describe the bug
It's a regression from https://github.com/Azure/azure-sdk-for-net/issues/26406
Now we the resource manager information will be duplicated in user-agent:

azsdk-net-ResourceManager/1.0.0-alpha.20220129.1 (.NET Framework 4.8.4420.0; Microsoft Windows 10.0.19043 ) azsdk-net-ResourceManager/1.0.0-alpha.20220129.1 (.NET Framework 4.8.4420.0; Microsoft Windows 10.0.19043 )

That applied to other RPs as well, like CDN:

azsdk-net-ResourceManager.Cdn/1.0.0-alpha.20220129.1 (.NET Framework 4.8.4420.0; Microsoft Windows 10.0.19043 ) azsdk-net-ResourceManager/1.0.0-alpha.20220129.1 (.NET Framework 4.8.4420.0; Microsoft Windows 10.0.19043 )

Expected behavior
Resource manager information is not duplicated in user-agent.
Actual behavior
See above
Reproduction Steps
Check the latest HTTP transactions for mgmt track2 SDK.
Environment
No response

Label prediction was below confidence level 0.6 for Model:ServiceLabels: 'ARM:0.47984138,Azure.Core:0.33635032,Compute:0.06847348'

Label prediction was below confidence level 0.6 for Model:ServiceLabels: 'ARM:0.47984138,Azure.Core:0.33635032,Compute:0.06847348'

There are a few options here:

We just let the duplicated information, if it won't impact the analytics or we can update our analytics.
Roll back the changes in #26406, and let powershell do the property trick.
Try to dismiss the default telemtry in Azure.Core: https://github.com/Azure/azure-sdk-for-net/blob/fd977cc4164664f424c3fb86aa78b484b9cc5f4d/sdk/core/Azure.Core/src/Pipeline/HttpPipelineBuilder.cs#L118

close since it's duplicate of https://github.com/Azure/azure-sdk-for-net/issues/26677


Incorrect parsing

In this statement it picks "Order" as OR

This one is tricky... might take me a while to fix that

I have found dumb workaround that got deployed in 0.0.13, going to keep that open to remind myself to fix that properly in future.


Improve the Documentation

Codecov Report

Merging #111 (fe6c4cd) into main (b3afb4b) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #111   +/-   ##
=======================================
  Coverage   92.42%   92.42%
=======================================
  Files          24       24
  Lines         950      950
=======================================
  Hits          878      878
  Misses         72       72

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 b3afb4b...fe6c4cd. Read the comment docs.


Change intermediate dtype of Adam for float16 parameters to float32

Fixes #6299
With this fix, Adam no longer complains the default eps to be too small for float16 parameters.
Similar fix to #6366

Jenkins, test this please

Jenkins CI test (for commit 8cd3232466554fd27f344db727493502dd39bb3b, target branch master) succeeded!

Ready for review.

Jenkins, test this please

The last commit LGTM

Jenkins CI test (for commit 1fc729874a30717c09b9224fe3bc43315edbfb12, target branch master) failed with status FAILURE.
(For contributors, please wait until the reviewer confirms the details of the error.)

LGTM.


Internal Error: File to read not found or unreadable

I created a simple website for my exercise yesterday. But there was an error when saving the scss file. Please check the description for more information, thank you.
Description Video

I recreated your set up on Windows 10 64-Bit and tested it in v2.12.12 and with the latest code from the master branch:

390.zip

I could not reproduce the issue. What seems to be happening is that everything is being processed twice. You can see this when you first start running the project it processes the style.scss file twice. Later when you make a change in a file, Chokidar picks up the change and cues Scout-App to run Node-Sass again. It looks like it's trying to run it twice at the same time, so one of them finishes first and the other gets confused and logs an error.
I'm not sure what is causing this for you. Possibly having two instances of Scout-App running at once. You could close/exit Scout-App and then check the Task Manager to see if it is still running. It could be something caused by your text editor making multiple writes to disk, or something based around atomic saves.

I just checked your files and it has the same errors with my original files.
I keep Scout-App running and the error occurred. I don't know why?
Test Result

The error occurred after I changed the scss file, and the compilation was only successful when I first ran it

@huydtq1996
In the Task Manager, you would need to check the "Details" tab to see if there are multiple instances running. You should see 3 or 4 Scout-App.exe's runnning when you open it. If you see 5 or more, then that means you have multiple instances running and will need to close them (right-click > end process tree). You could just need to right-click on Scout-App and "Run As Administrator".
I think more likely though, this is an issue with how your text editor is writing to the file. The first time you click the Run button for a project is just processes all the files on it's own, after that it listens for changes in files in the input directory. It is seeing multiple changes at once. This could be related to "atomic saves" or "atomic writes". You could try changing settings in your text editor to enablde or disable atomic saves. and see if that effects the issue.
There is an option in the upcoming version of Scout-App that you can adjust for this too. To try out the latest code for Scout-App:

Download the latest code from master:

https://github.com/scout-app/scout-app/archive/master.zip

Unzip that to it's own folder.
Install Node.js

https://nodejs.org

In command prompt (cmd) navigate to the folder and run the command npm install
From this point on to start the app you would run npm start

In the settings, there will be a slider for atomic saves, try adjusting it to different levels and see if it has any effect.

@huydtq1996
Closing issue. There has been a new release of Scout-App v2.18.16. If the issue is related to atomic saves that setting is now available. If issue still exists in the latest version, we can reopen this issue or create a new one.


Pass -Xmx in convenient way

Hello,
I've tried a lot of JVM and Gradle env vars to pass my own Xmx, because index tool fails each time on the last indexing step. In the end I found that this param is hardcoded in idea/bin/idea64.vmoptions file.
Now I have to substitute desired Xmx value there during building the image.
Could you pls give your users a convenient way to setup this param as ENV var?
Thank you in advance!

I will look into it, thanks for sharing your progress! specifying this via an environment would be awesome. It may require some sed magic during runtime in the entrypoint script.
Contributions are also welcome :)


[FP]: Jakarta.json 2.0.1 reports 3 vulnerabilities

Package URl
<EMAIL_ADDRESS>CPE
'cpe:2.3:a:eclipse:glassfish:2.0.1:::::::*'
CVE
CVE-2023-5072
ODC Integration
{"label"=>"Maven Plugin"}
ODC Version
2.0.1
Description
Hello,
Version 2.0.1 reports 2 extra CVEs aside from CVE-2022-45688 that was reported in a previous ticket.
Those extra ones are: CVE-2023-5072 and CVE-2024-9329.
5072 is also tied to json:java but 9329 is tied to [cpe:2.3:a:eclipse:glassfish:::::::: versions up to (excluding) 7.0.17].
I would like to confirm if these extra 2 are false positives as well.
Thanks,
Andrei

Unreproducible... check that your ODC is current. Odc 2.0.1 is far from current (it's 11.1.0 nowadays), but I'm doubting that you'd be running such an ancient version.


Defend from AttributeErrors in CloudPath.del

If the CloudPath Client instance is incomplete, it may not have a file_cache_mode attribute. Using getattr defensively prevents the AttributeError from causing del to exit early.
Closes #372

Contributor checklist:

[X] I have read and understood CONTRIBUTING.md
[X] Confirmed an issue exists for the PR, and the text Closes #issue appears in the PR summary (e.g., Closes #123).
[X] Confirmed PR is rebased onto the latest base
[ ] Confirmed failure before change and success after change
[X] Linting passes locally
[ ] Tests pass locally
[X] Updated HISTORY.md with the issue that is addressed and the PR you are submitting. If the top section is not `## UNRELEASED``, then you need to add a new section to the top of the document for your change.

Thank you, and thank you for addressing the nit ☺


Fix broken link

Structure of the repo changed and broke the link, see Deployment section of the readme for more info

Assigning @sftim since he is already engaged on this
/assign @sftim


Clean up RTS plugin documentation, when SimpleRTS Section is complete.

Goal is to have RTS plugin documentation in a state that can be shared an understood on it's own.
Think about how to clean up the RTS plugin documentation. As of now only the one section that has begun being  "converted" from WAT to RTS is the simple RTS plugin.
When the Simple section is complete. I should begin converting other non-example sections that are necessary to have a complete document.

I reccomend creating a milestone for the entire document, track the individual plugin types as issues - that way you can break it up into smaller chunks in the kanban.


"docker pull" panics if TERMINFO contains an invalid value

This was first reported in https://github.com/docker/for-mac/issues/1515, but is not specific to docker for mac, so copying the information in this ticket
Expected behavior
docker pull from private repository successfully pulls image
Actual behavior
[11:20] evant@localhost:~$ docker pull docker-registry.<..>.com:4443/sd_platform/platform-rhel6:5.0.37
5.0.37: Pulling from sd_platform/platform-rhel6

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x449a4c0]

goroutine 1 [running]:
panic(0x461fa00, 0xc420014130)
	/usr/local/go/src/runtime/panic.go:500 +0x1a1
github.com/docker/docker/vendor/github.com/Nvveen/Gotty.(*TermInfo).GetAttribute(0x0, 0x46cd122, 0x3, 0x0, 0xc420440000, 0x10, 0x5064000)
	/go/src/github.com/docker/docker/vendor/github.com/Nvveen/Gotty/gotty.go:94 +0x140
github.com/docker/docker/vendor/github.com/Nvveen/Gotty.(*TermInfo).Parse(0x0, 0x46cd122, 0x3, 0xc420014a00, 0x1, 0x1, 0xc4201876d0, 0x4061055, 0xc4203d2000, 0xc420016280)
	/go/src/github.com/docker/docker/vendor/github.com/Nvveen/Gotty/parser.go:42 +0x5a
github.com/docker/docker/pkg/jsonmessage.cursorUp(0x49c2460, 0xc4202f0c90, 0x49c29e0, 0x0, 0x1)
	/go/src/github.com/docker/docker/pkg/jsonmessage/jsonmessage.go:144 +0xec
github.com/docker/docker/pkg/jsonmessage.DisplayJSONMessagesStream(0x49c3560, 0xc420016740, 0x49c2460, 0xc4202f0c90, 0x1, 0xc420187901, 0x0, 0x4627520, 0x4630bc0)
	/go/src/github.com/docker/docker/pkg/jsonmessage/jsonmessage.go:263 +0x3e8
github.com/docker/docker/pkg/jsonmessage.DisplayJSONMessagesToStream(0x49c3560, 0xc420016740, 0x49c8f20, 0xc4202f0c90, 0x0, 0x0, 0xc4203da8e4)
	/go/src/github.com/docker/docker/pkg/jsonmessage/jsonmessage.go:292 +0xd5
github.com/docker/docker/cli/command/image.imagePullPrivileged(0x54080f8, 0xc420072178, 0xc420334e70, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
	/go/src/github.com/docker/docker/cli/command/image/trust.go:316 +0x1cb
github.com/docker/docker/cli/command/image.runPull(0xc420334e70, 0x7fff5fbff56c, 0x44, 0x0, 0x0, 0xc4203028a0)
	/go/src/github.com/docker/docker/cli/command/image/pull.go:76 +0x2bb
github.com/docker/docker/cli/command/image.NewPullCommand.func1(0xc4203a8d80, 0xc42036f6f0, 0x1, 0x1, 0x0, 0x0)
	/go/src/github.com/docker/docker/cli/command/image/pull.go:32 +0x7c
github.com/docker/docker/vendor/github.com/spf13/cobra.(*Command).execute(0xc4203a8d80, 0xc4200760e0, 0x1, 0x1, 0xc4203a8d80, 0xc4200760e0)
	/go/src/github.com/docker/docker/vendor/github.com/spf13/cobra/command.go:646 +0x26d
github.com/docker/docker/vendor/github.com/spf13/cobra.(*Command).ExecuteC(0xc42009b440, 0xc42009b8c0, 0xc42030f4b0, 0xc42007e488)
	/go/src/github.com/docker/docker/vendor/github.com/spf13/cobra/command.go:742 +0x377
github.com/docker/docker/vendor/github.com/spf13/cobra.(*Command).Execute(0xc42009b440, 0xc42009b440, 0x49c3920)
	/go/src/github.com/docker/docker/vendor/github.com/spf13/cobra/command.go:695 +0x2b
main.main()
	/go/src/github.com/docker/docker/cmd/docker/docker.go:168 +0xcb

Information
Docker for Mac: version: 17.04.0-ce-rc2-mac6 (142462d3d)
macOS: version 10.12.5 (build: 16F43c)

logs: /tmp/0C29861F-A667-4600-8080-2FBAEA191D17/20170405-112044.tar.gz
[OK]     db.git
[OK]     vmnetd
[OK]     dns
[OK]     driver.amd64-linux
[OK]     virtualization VT-X
[OK]     app
[OK]     moby
[OK]     system
[OK]     moby-syslog
[OK]     db
[OK]     env
[OK]     virtualization kern.hv_support
[OK]     slirp
[OK]     osxfs
[OK]     moby-console
[OK]     logs
[OK]     docker-cli
[OK]     menubar
[OK]     disk

(https://github.com/docker/for-mac/issues/1515#issuecomment-292013889)
Seems to go from;
pkg/jsonmessage/jsonmessage.go#L144
-> vendor/github.com/Nvveen/Gotty/parser.go#L42
-> vendor/github.com/Nvveen/Gotty/gotty.go#L94)
And bails out there.
This package was added in https://github.com/docker/docker/pull/28304, so let me
ping @ijc25 to have a look :smile:

(https://github.com/docker/for-mac/issues/1515#issuecomment-292024420)
To reproduce:
TERMINFO=foo docker pull <new-image>

The panic happens because if this env is set https://github.com/docker/docker/pull/28304/files#diff-60de284af32e69485152dddbfad68ac3R28 will return an empty typed pointer from this function with nil error. When docker tests if that pointer is nil https://github.com/docker/docker/pull/28304/files#diff-e5b95dcf94c93219182533e487ce4857R262 that condition would be true as the interface is now typed.
Could fix it with some better handling in Docker but I don't really understand the return from OpenTermInfo. Seems like a github.com/Nvveen/Gotty issue to me.

(https://github.com/docker/for-mac/issues/1515#issuecomment-292111094)
Seems like the code at https://github.com/docker/docker/pull/28304/files#diff-60de284af32e69485152dddbfad68ac3R28 is missing the else case which searches $TERMINFO for termName and constructs the TermInfo.
I'll fix this function up today.
We are already vendoring from a PR Nvveen/Gotty#1. I'll put these fixes into a new PR but I'll also merge both into https://github.com/ijc25/Gotty/tree/master so we have something to vendor.


quark revealed but balance not show up

bc1pg5w0ywnlrat29zucz28w7prlqjdjyqe46kej6xvzzhklujpgl7jsevkk49
this is the address
I have 14 reveal transaction but I only have 20000 quark
https://atomicalmarket.com/balance/bc1pg5w0ywnlrat29zucz28w7prlqjdjyqe46kej6xvzzhklujpgl7jsevkk49
I am confused

I thought I had similar issues when I started minting quark, photon and supernova altogether and I was not receiving my quark tokens, I think the funding account didn't have enough btc to send all the tokens to my wallet, check out your funding wallet


GRPCs Required by Light Clients

how to provide these RPCs from Zebra

First meeting took place Aug 23rd.
Here are my top of mind call notes

Zingo indexer has the potential of replacing zebra indexer and let zebra be a consensus node project
for this the grant has to be edited to reflect scope and architecture design to the wider community
ZF has to agree to work with Zingo on this
Zingo-indexer will focus on RPC that serves light clients first but with zcashd deprecation in mind
this will off-load engineering teams to take on other super important tasks as defining and implementing an export format for zcash wallets (full node and light) to unblock zcashd wallet depreciation
while there are many unknowns, the initial work is defined well enough so that Zingo can restructure this grant as a “first of” a series of grants structured as pay-as-delivered

Several meetings and brainstorming with Zingo and other core devs lead to this designed which is in the process of being signed off.

https://github.com/zcash/librustzcash/issues/1373#issuecomment-2374622079


Documentation: ADSL Vignette, typo in derive_var_disposition_reason and template script doesn't match sample code

Please select a category the issue is focused on?
User Guides
Let us know where something needs a refresh or put your idea here!
The function derive_var_disposition_reason should be derive_VARS_disposition reason. Also, the script within the vignette does not match the example script ad_adsl.R

@teckla-gsk i found this has already been fixed by Rena in https://github.com/pharmaverse/admiral/issues/969. Also I don't think the vignettes do always 100% match the templates. The vignettes show more detailed possibilities, but the templates are focused on more the things which are most generic and likely to be needed by all, e.g. vars like DCSREAS are likely quite protocol-specific so the vignette gives an example for if users need to add them. shout if i misunderstand anything though and feel free to re-open this issue.


Generating a .pb file for the trained model - Output Node Names

I had followed your steps and trained/tested my model, and I was trying to create a .pb file from the multiple model files that are generated (the checkpoint files, .pbtxt graph, etc.)
I have tried using freeze_graph.py, but I am unable to find the "output node name/s" that need to be input into the freeze_graph.py function. Do you know what the output nodes are for this trained model/graph?

Honestly, no. Tensorflow takes the path of the generated files to initialise the model, so it handles saving and loading the model and initialising the weights and layers on it's own, and I didn't really dig into how it represents the model in the files. It's notable to say that the current versions of Tensorflow may have different APIs to save/load the models.


Remove passing single u-tube instance through calc_sts_g_functions

The single u-tube instance that was being passed through the calc_sts_g_functions method is unused. This eliminates it in lieu of the version passed through the ctor.

The single u-tube is passed in to ensure that it is always up to date in the design process.


Add client credentials support to internals of common

Will be used from UI automation to get an access token for key vault.

@iambmelt I updated based on your review.  Thanks Brian!


Feature request: Setting to control date format

Expected Behavior
I'd like to display a date format other than the default. It would be nice to have a setting to allow for a few popular options (or maybe even a custom one). This would be displayed wherever a date is shown in the interface (e.g. comments, worklogs, etc.). At a bare minimum, date formats across the app should be consistent.
Actual Behavior
Date (for worklogs) is always DD/MMM/YY h:mm A.
Date (for comments) is always DD, MMMM YYYY
Steps to Reproduce the Problem
View a worklog and notice the date.
View a comment and notice the date.
Specifications

Chronos-timetracker version: 2.7.3
OS: Ubuntu 17.10

Can I pick this?

@dhanushkac Of course


Provide Appimage

It would be great, if you could also provide an AppImage with your releases.

I'm no familiar with AppImages, would that provide any advantages over just a static binary of fzy? (if that's even necessary, fzy only links against libc and pthread)


SIP-392: Support Ethena USDe as LP Collateral

probably best @noisekit to resolve the current issues , before proceeding with more deploys

probably best @noisekit to resolve the current issues , before proceeding with more deploys

yeah def.

Seems like the changes do a lot more than just adding ethena USDe?

Seems like the changes do a lot more than just adding ethena USDe?

There are updates for tests. And also some minor updates of arb sepolia to bring it closer to the arb mainnet (remove perps market mainly)

@noisekit

Seems like the changes do a lot more than just adding ethena USDe?

There are updates for tests. And also some minor updates of arb sepolia to bring it closer to the arb mainnet (remove perps market mainly)

https://github.com/Synthetixio/synthetix-deployments/tree/main/tomls/omnibus-arbitrum-mainnet-arbthetix
But this seems to affect mainnet? The reward toml files that are not USDe

But this seems to affect mainnet? The reward toml files that are not USDe

Yes, I've just moved configs into separate files instead of keeping them in the main toml. No txns to execute.


Get unclosed tag

Hello,
is there a way to know if there is unclosed tag ?
Thank you

Hey.
Their is currently no way to get a list of all unclosed tags out of the parser as it will simply fix them all and close them as needed.
I am not clear on how you would like this feature to work, could you please give me more detail?
Thank you.


Change Heart In Events

Overview
As a user, I should be able to register for events
Currently, for the events we have a heart to represent whether or not an event has be registered to your account. This is slightly confusing as there is no real link made between the heart and registering
The aim for this is to replace the outlined heart with a plus icon when an event hasn't been registered yet and replace the filled in heart with a check icon when the user has registered for the event

Closed by #211


why the ImList does not work form me?

Hello, I am trying the lab8. But i realise that the ImList doesnot work for me? is that the same for everyone? how could i resolve that?

hi longhao, what does not work mean? I would assume you meant that you tried using
ImList = new ImList
the ImList code has changed so we are now unable to directly create an ImList using new if that is your issue.
Try to use ImList.of() instead! you can view the ImList file to see how to proceed. Hope this helps!

hey! I ran into the same problem as well, the issue is that the new ImList provided requires the Pair class to compile and some of the methods in ImList such as ImList() are now private so you may have to use ImList.of() instead. Hope this helps!

Yeah, I had the same problem as well - Since new ImList() doesn't work anymore because it is private in ImList.java you can use ImList.of() for creating an empty ImList.

for compilation u need to compile Pair.java than ImList.java in this order
for instantiating because ImList is now private, you must use ImList.of() instead of new ImList

Hello, you can try this order jshell Pair.java ImList.java ..... (other .java files). If this doesn't resolve your issue, do let me know!

Hi, using ImList.of() should solve your problem.
We are unable to use "new ImList()" anymore as the constructor is now private.
Also when testing your code in jshell, try to /open Pair.java first before ImList.java as ImList.java has a dependency on Pair.java
Hope this helps

I think another potential reason is that the provided ImList.java for this Lab 8 has an incorrect indentation which failed the check style and leads to failing codecrunch test cases. I encountered this and I had to just indent the part that says the indentation has an error. Hope this helps!

Yup, I also had this issue but its okay not to submit your Pair and ImList files onto Codecrunch. It will still grade your other files normally.

Yes, do check the new ImList or Pair classes that we are given as the old ImList class we have been using has public contructors. now they are set to private so you have to use ImList.of()

yeap just do jshell on pair and imlist.java and it should work!

Yup it's super important to look at the new methods in ImList!


feature: download progress reporting

link to the loom:
https://www.loom.com/share/e167061806cf43449aa169d3bab67a86
two potential features for the backlog
perhaps we could add a knob to run the download process in the background.
An alternative feature could be a progress bar

download progress bars are implemented https://github.com/labdao/openlab-cli/blob/f9b4e08e25d01f5ddaf1ffbd1d55bf691783a33e/src/commands/file/pull.ts#L45:L66
running downloads in the background should be a new issue if necessary


Remove c duplicate

Coverage decreased (-0.01%) to 95.67% when pulling 5e285582d6a98822bc19d8cc8173aff74c960b70 on remove_c_duplicate into 09663d824d559bdaba3748674f94ae5b31188426 on master.


[python3] Build error on arm64-osx

Package<EMAIL_ADDRESS>Host Environment

Host: arm64-osx
Compiler: AppleClang <IP_ADDRESS>00026
vcpkg-tool version: 2024-08-01-fd884a0d390d12783076341bd43d77c3a6a15658
vcpkg-scripts version: efb544d5a 2024-09-16 (33 hours ago)

To Reproduce
vcpkg install python3
Failure logs
CMake Warning at ports/python3/portfile.cmake:7 (message):
  python3 currently requires the following programs from the system package
  manager:

      autoconf automake autoconf-archive

  On Debian and Ubuntu derivatives:

      sudo apt-get install autoconf automake autoconf-archive

  On recent Red Hat and Fedora derivatives:

      sudo dnf install autoconf automake autoconf-archive

  On Arch Linux and derivatives:

      sudo pacman -S autoconf automake autoconf-archive

  On Alpine:

      apk add autoconf automake autoconf-archive

  On macOS:

      brew install autoconf automake autoconf-archive

Call Stack (most recent call first):
  scripts/ports.cmake:192 (include)

-- Using cached python-cpython-v3.11.8.tar.gz.
-- Cleaning sources at /Users/clement_t/vcpkg/buildtrees/python3/src/v3.11.8-31d17ab840.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source /Users/clement_t/vcpkg/downloads/python-cpython-v3.11.8.tar.gz
-- Applying patch 0001-only-build-required-projects.patch
-- Applying patch 0003-use-vcpkg-zlib.patch
-- Applying patch 0004-devendor-external-dependencies.patch
-- Applying patch 0005-dont-copy-vcruntime.patch
-- Applying patch 0008-python.pc.patch
-- Applying patch 0010-dont-skip-rpath.patch
-- Applying patch 0012-force-disable-modules.patch
-- Applying patch 0014-fix-get-python-inc-output.patch
-- Applying patch 0015-dont-use-WINDOWS-def.patch
-- Applying patch 0016-undup-ffi-symbols.patch
-- Applying patch 0018-fix-sysconfig-include.patch
-- Applying patch 0002-static-library.patch
-- Using source at /Users/clement_t/vcpkg/buildtrees/python3/src/v3.11.8-31d17ab840.clean
-- Found external ninja('1.12.1').
-- Getting CMake variables for arm64-osx-dbg
-- Getting CMake variables for arm64-osx-rel
-- Generating configure for arm64-osx
-- Finished generating configure for arm64-osx
-- Configuring arm64-osx-dbg
-- Configuring arm64-osx-rel
-- Building arm64-osx-dbg
-- Installing arm64-osx-dbg
-- Building arm64-osx-rel
-- Installing arm64-osx-rel
-- Fixing pkgconfig file: /Users/clement_t/vcpkg/packages/python3_arm64-osx/lib/pkgconfig/python-3.11-embed.pc
-- Fixing pkgconfig file: /Users/clement_t/vcpkg/packages/python3_arm64-osx/lib/pkgconfig/python-3.11.pc
-- Fixing pkgconfig file: /Users/clement_t/vcpkg/packages/python3_arm64-osx/debug/lib/pkgconfig/python-3.11-embed.pc
-- Fixing pkgconfig file: /Users/clement_t/vcpkg/packages/python3_arm64-osx/debug/lib/pkgconfig/python-3.11.pc
CMake Error at ports/python3/portfile.cmake:317 (message):
  There should be no modules with "_failed" suffix:

  /Users/clement_t/vcpkg/packages/python3_arm64-osx/debug/lib/python3.11/lib-dynload/_blake2.cpython-311d-darwin_failed.so

  /Users/clement_t/vcpkg/packages/python3_arm64-osx/lib/python3.11/lib-dynload/_blake2.cpython-311-darwin_failed.so
Call Stack (most recent call first):
  scripts/ports.cmake:192 (include)

Duplicate of https://github.com/microsoft/vcpkg/issues/30136, please try the solution from PR https://github.com/microsoft/vcpkg/pull/31621.

Hi,
I tried the solution (cloning the repository, checking out the appropriate branch, and compiling), and then I ran ./vcpkg install python3 again. Unfortunately, this did not fix the error.

Issue is still going on for OSX. Here's a reference to another of this: #39950

Issue is still going on for OSX. Here's a reference to another of this: #39950

No, this is a different issue.

I am still unable to run ./vcpkg install python3:arm64-osx Do you have any suggestions on what I should do?

I am also having the same issue still.

This is a quick update on my issue.
I found that in the config-arm64-osx-dbg-config.log, the uname -m command was returning x86_64 instead of arm64. However, I still haven’t been able to fix this bug.
config-arm64-osx-dbg-config.log

I found that in the config-arm64-osx-dbg-config.log, the uname -m command was returning x86_64 instead of arm64.

Does the whole process already run in the wrong environment? config.log reports this PATH:
PATH: /usr/local/sbin/
PATH: /Users/clement_t/projet/email/google-cloud-sdk/bin/
PATH: /Users/clement_t/miniconda3/bin/
PATH: /Users/clement_t/development/flutter/bin/
PATH: /Users/clement_t/bin/
PATH: /usr/local/bin/
PATH: /opt/local/bin/
PATH: /opt/local/sbin/
PATH: /opt/homebrew/bin/
PATH: /opt/homebrew/sbin/
PATH: /usr/local/bin/
PATH: /System/Cryptexes/App/usr/bin/
PATH: /usr/bin/
PATH: /bin/
PATH: /usr/sbin/
PATH: /sbin/
PATH: /var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin/
PATH: /var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin/
PATH: /var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin/
PATH: /opt/X11/bin/
PATH: /Library/Apple/usr/bin/
PATH: /Applications/VMware Fusion.app/Contents/Public/
PATH: /usr/local/go/bin/
PATH: /Library/Frameworks/Mono.framework/Versions/Current/Commands/
PATH: /Users/clement_t/.local/bin/
PATH: /Users/clement_t/.dotnet/tools/
PATH: /Users/clement_t/Library/Android/sdk/tools/
PATH: /Users/clement_t/Library/Android/sdk/platform-tools/
PATH: /Users/clement_t/.local/bin/
PATH: /Users/clement_t/Epitech/celte/celte_vm/build/vcpkg_installed/arm64-osx/tools/gettext/bin/
PATH: /Users/clement_t/vcpkg/downloads/tools/ninja/1.10.2-osx/

Brew uses /usr/local for x64, /opt/homebrew for arm64.
So that PATH could be a problem. I don't know which part is contributed by the port, and which is from the environment.

You were right!
The issue was in my environment:
export PATH="/usr/local/bin:$PATH"
So, CMake or another package was using the x86 version instead of the ARM version.


Ideas: Modular design for Docstrings and Example creators that produces PRs.

I'd love help brainstorming and organizing a class structure for creating PRs that inject either docstrings or examples into existing code. Here are some of the things that need to happen. I'll focus on example creation in the ideas below. A similar modular design would exist for docstrings.

Locate functions that need examples (maybe have none, maybe have 1, maybe return a dataframe that we can browse to manually look for some).  We've already got code to identify functions that are missing the examples section at https://github.com/numpy/numpy/issues/21351#issuecomment-1170574462. This function has to be run on the dev version of NumPy to be current. As for missing docstrings, there are plenty of private functions missing docstrings, which provide a great testing ground for this (but aren't wanted/needed in the code base?).
Given a function that is missing examples, generate more (number to generate could be a parameter). Example functions used in few-shot prompting could be a parameter.  Maybe letting the script randomly (or via some other option) select methods from the corresponding class file that already have examples would be better than manual.  Maybe do both. Mostly we need at least one way to generate a new example. This is the AI part.
Given an example and a function, inject the example into the source code.
Build the docs and verify that there are no errors (minus the single error that occurs from the Warning messages related to serial writing).
Run the example tester on the example code and verify all tests pass.
It would be nice to have something create a file (like a Jupyter notebook or something) that we can manually open to view and test the changes ourselves.
Create a branch, add the changed file to that branch, commit the changes to that branch (with an appropriate commit message including an AI generated tag).
Push recent changes to GitHub. This one will require we configure authentication appropriately. This step could be left to manual until we find a secure way to do this on Nebari.

If we have something generate examples, I was thinking it might be nice to have it generate LOTS of example (not just 1 or 2).  Then we could ask it to rank the examples, providing reasons for the ranking, and eventually ask us to select the ones to include. If we start with 10 or so examples, and reduce to the best 3, then perhaps those get included in a PR which allows the maintainers to reduce it to 1 or 2. This will require more feedback from the maintainers.
First, we need to produce something, so I think focusing on adding a single example to a single method, all done algorithmically, would be a great step.

I'll take a look at 1 and 5 to see what I can do there.

I'll work on 2

@andrewtggreene I'm thinking of a different way to generate examples.  I don't think we have to generate both the example, and the output.  Then these examples are fed into numpy directly, saving the output.  Then we combine these together.
The point would then be to generate a variety of examples, and have AI help create examples that utilize different inputs.  By not having it try to generate the solution (which would be pointless for some of the newer functions), we save time.
In addition, as I've played with this, I'm thinking that we need to provide not just the function, but also the full function name.  There is no way that AI will know it has to access numpy.linalg.svdvals if I just provide it the function definition.  I think it's fair to provide the full name.

@bmwoodruff I agree. After reviewing the article on unit testing I was thinking of running an initial prompt using fewshot prompting and then running the examples that the AI creates and crafting a new prompt based off of those results, but I think just having the initial examples run and adding the result to the prompt would be more efficient.
I also ran into some issues with this with needing the AI to know where the files are located. I was able to craft a notebook that could run some of the prompts that Llama3 was producing but most had errors running due to either not knowing how to access the function or due to examples using the same variable throught the examples. I think it might be helpful to add a catch for code that doesn't run properly and asks the AI to evaluate fixes.
I was able to get a fairly decent script that ran very well on the 70B model which produces some very workable responses. I tried to include everything in a function to allow for us to create an object that can produce the examples for us. I'll be adding the script to this repo tomorrow. I think it's a pretty decent place to start.

@bmwoodruff  I think using a modular design for this class structure would be more systematic. Based on my research i was able to obtain this structure that we can use to guide us as we engineer the script I have a sample script already generated by chatGPT4 that i'm evaluating and getting ideas on how it executes the entire process.
Here's a step-by-step approach:
Class Design:
Extractor: Extracts and identifies functions or classes needing examples or docstrings.
Injector: Injects the content into the identified places in the code.
PRCreator: Creates a pull request with the changes.
Manager: Manages the overall process.

Here is the script:
import re
import os
import inspect
from github import Github, GithubException  # PyGithub library
class Extractor:
def init(self, module):
self.module = module
def find_missing_examples(self):
    missing_examples = []
    for name, obj in inspect.getmembers(self.module):
        if inspect.isfunction(obj) or inspect.isclass(obj):
            docstring = inspect.getdoc(obj)
            if docstring:
                example_present = re.search(r'Examples?\n-+\n', docstring)
                if not example_present:
                    missing_examples.append((name, obj))
    return missing_examples

class Injector:
def init(self, code_dir):
self.code_dir = code_dir
def inject_example(self, obj, example_text):
    source_file = inspect.getfile(obj)
    with open(source_file, 'r') as file:
        code = file.readlines()

    obj_name = obj.__name__
    start_line = 0
    for i, line in enumerate(code):
        if re.search(f'def {obj_name}\(', line) or re.search(f'class {obj_name}\(', line):
            start_line = i
            break

    indent = ' ' * (len(line) - len(line.lstrip()))
    example_section = f'\n{indent}Examples\n{indent}--------\n{example_text}\n'
    docstring_start = start_line
    while docstring_start < len(code) and '"""' not in code[docstring_start]:
        docstring_start += 1
    docstring_end = docstring_start + 1
    while docstring_end < len(code) and '"""' not in code[docstring_end]:
        docstring_end += 1

    code.insert(docstring_end, example_section)

    with open(source_file, 'w') as file:
        file.writelines(code)

def add_examples(self, missing_examples):
    example_text = """
    Example usage:
    >>> import numpy as np
    >>> x = np.array([1, 2, 3])
    >>> np.sum(x)
    6
    """
    for name, obj in missing_examples:
        self.inject_example(obj, example_text)

class PRCreator:
def init(self, repo_name, branch_name, commit_message, pr_title, pr_body, token):
self.repo_name = repo_name
self.branch_name = branch_name
self.commit_message = commit_message
self.pr_title = pr_title
self.pr_body = pr_body
self.token = token
def create_pr(self):
    g = Github(self.token)
    try:
        repo = g.get_repo(self.repo_name)
        repo.create_git_ref(ref=f"refs/heads/{self.branch_name}", sha=repo.get_branch("main").commit.sha)

        contents = repo.get_contents("")
        for content_file in contents:
            repo.create_file(content_file.path, self.commit_message, content_file.decoded_content, branch=self.branch_name)

        pr = repo.create_pull(title=self.pr_title, body=self.pr_body, head=self.branch_name, base="main")
        print(f"Pull request created: {pr.html_url}")
    except GithubException as e:
        print(f"Failed to create PR: {e}")

class Manager:
def init(self, module, code_dir, repo_name, branch_name, commit_message, pr_title, pr_body, token):
self.extractor = Extractor(module)
self.injector = Injector(code_dir)
self.pr_creator = PRCreator(repo_name, branch_name, commit_message, pr_title, pr_body, token)
def run(self):
    missing_examples = self.extractor.find_missing_examples()
    if missing_examples:
        self.injector.add_examples(missing_examples)
        self.pr_creator.create_pr()
    else:
        print("No missing examples found.")

if name == "main":
import numpy as np
MODULE = np
CODE_DIR = "/path/to/numpy/code"  # Adjust to your local path
REPO_NAME = "your-username/your-repo"
BRANCH_NAME = "add-examples"
COMMIT_MESSAGE = "Add examples to missing docstrings"
PR_TITLE = "Add examples to missing docstrings"
PR_BODY = "This PR adds examples to the missing docstrings in the code."
TOKEN = "your-github-token"

manager = Manager(MODULE, CODE_DIR, REPO_NAME, BRANCH_NAME, COMMIT_MESSAGE, PR_TITLE, PR_BODY, TOKEN)
manager.run()

@bmwoodruff  I took some time to find a way to mask the token variable used to authenticate with the GitHub API so far I have not figured out a way to hide the token. To use the PRCreator class, you need to provide a valid GitHub token when creating an instance of it. Therefore if we decide to revoke the use of a token variable then we will not have a class working that can automate the Pull requests.

@luxedo is it possible to arrange a brief sync with you this coming week to have discussion on this?

Yes, please PM me at LinkedIn or email me.


Fix Issue 14268 - Win64: debug info for associative arrays have no type information

This writes nested types __key_t and __val_t to dAssocArray.
https://issues.dlang.org/show_bug.cgi?id=14268

Auto-merge toggled on


Warning: Authentication failure

I'm having trouble to get a working test environment, working as a local administrator on the host in question.
Windows 10 Pro 1803 (patched-to-date)
Vagrant 2.1.5
VirtualBox 5.2.18 r124319
VirtualBox Extension Pack 5.2.18 r124319
I forked/cloned chocolatey-test-environment yesterday, so have a fresh copy.
When I do:
vagrant up
A Windows Server 2012 R2 DC vm is launched/booted. But I start seeing default: Warning: Authentication failure. Retrying... And eventually, Timed out while waiting for the machine to boot. This means that Vagrant was unable to communicate with the guest machine within the configured ("config.vm.boot_timeout" value) time period.
See screenshot
I thought installing VirtualBox Guest Additions in the VM may be the key, but that made no difference, even after doing:
vagrant suspend
vagrant halt
vagrant up

I also tried
vagrant suspend
vagrant halt
vagrant destroy
vagrant up

It didn't help. Any suggestions would be appreciated!

Can you still get into the console after vagrant times out?
ipconfig /all
Does it show an Ethernet interface?
Does it have an IP address?
Or something like this?

And might be related to #31 ?

I changed destination port mappings and it helped.
    # Port forward WinRM / RDP     config.vm.network :forwarded_port, guest: 5985, host: 5986, id: "winrm", auto_correct: true     config.vm.network :forwarded_port, guest: 3389, host: 3388, id: "rdp", auto_correct: true


[vuex] do not mutate vuex store state outside mutation handlers.

I
When i set strict : true => Is has problems
But when i set strict : false =>  it gone
see In : https://codesandbox.io/s/vuex-map-fields-nested-properties-forked-gex56?fontsize=14&hidenavigation=1&theme=dark

Can you be a bit more specific about what the problem is?
"It has problems" doesn't tell me anything useful and nor does "it gone".
What is "it" for a start? And what problems?

Can you be a bit more specific about what the problem is?
"It has problems" doesn't tell me anything useful and nor does "it gone".
What is "it" for a start? And what problems?

You can check this in input. when you type, Is has error console

Ok. This is because your list field is an array. The mutation that mapFields is mapping to your list is updateField. Your v-model is pointing to a single item in the list, this item is being updated directly, not with a mutator because the mutator is mapped to the list as a whole, not to the individual item of the list. You need to use mapMultiRowFields instead of mapFields for the list.
See https://github.com/maoberlehner/vuex-map-fields#multi-row-fields

thanks you ! but when i use mapMultiRowFields for the list, I can't get items in list to push to other list
please help me check this.
https://codesandbox.io/s/vuex-map-fields-nested-properties-forked-gex56?fontsize=14&hidenavigation=1&theme=dark


deps(requirments): bump atc-router to v1.4.0

Changelog: https://github.com/Kong/atc-router/releases/tag/v1.4.0

changelog  required.

And Cargo.toml is still 1.3.1 , should we bump it too?


Adding additional categories to the UI - changing the metadata model

I'm trying to add an additional category to the front page of the UI and I'm having trouble completing a gradlew build after changing the metadata-model according to the instructions (https://datahubproject.io/docs/metadata-modeling/extending-the-metadata-model/#optional-step-6-extend-the-datahub-frontend-to-view-your-entity-in-graphql--react)
I'm trying to recreate the dashboard category with a different name - what I did was add a new key.pdl file, created a dasboard2info.pdl, dashboard2aspect.pdl and dashboard2snapshot.pdl where the code is the same, just all of the references to dashboard are changed to dashboard2.
Here is the pastebin of the error I'm getting: https://pastebin.com/kKzj71cP and the index.html file from the report: https://drive.google.com/file/d/1bbk79S_BZjpigVdsmF27_R4veXQSNxiF/view?usp=sharing
If anyone has experience with adding categories to the UI, I'd really appreciate some help.

Closed for now, solved by starting from scratch and changing some variables.

@shirshanka can we close this one?

Yes


Update ja/docs/concepts/cluster-administration/networking.md

fix: https://github.com/kubernetes/website/issues/26858
Update translation that had a difference here: https://gist.github.com/inductor/d4c0a19e580331ecb4f10c6e2252ce80

Please check me :pray:
/assign @nasa9084

/approve
/cc @kakts @makocchi-git

/lgtm


Remove ability for apicast to send request logs to backend

We are planning to remove the request logs functionality from AMP (System and Backend, initially Cubert-based request logs and then Redis-based request logs).
So, I propose that we avoid creating more "legacy" by having apicast have the ability (enabled by an ENV variable) to send request_logs to the Service Management API - by removing this functionality from apicast now, prior to CR1 release.

is the integration with EFK stack in OSE already working?

Thats nice because it is one of the blockers for fully removing post_action as shown in https://github.com/3scale/apicast/pull/290.

Keeping reporting of response codes though!!
On Mon, Mar 13, 2017, 07:05 Michal Cichra<EMAIL_ADDRESS>wrote:

Thats nice because it is one of the blockers for fully removing
post_action as shown in #290 https://github.com/3scale/apicast/pull/290.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/3scale/apicast/issues/291#issuecomment-286022495, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AFReLHQ9NvXC22y5nkWrvcT6uBgypMKCks5rlNyagaJpZM4MZoUh
.

That does not make it easier then. Response codes still need the post_action.

What if the response codes were always reported as a separate call. So first authorize then report? This will actually be slightly more accurate as the first call won't be lost. No need for post_action then

still need for post_action to know the response code (even though later it can be asynchronous)
doubling the calls to backend might not be the smartest idea
not sure if someone tried reporting logs with no usage

@vramosp @3scale/documentation  Any docs requiring updating to remove this option?


rdma-core: python2 -> python3

Motivation for this change
https://www.python.org/doc/sunset-python-2/
Things done

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

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

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

Here's an (incomplete) report on aarch64.

Result of nixpkgs-review pr 114918 at 8cb59eb1 run on aarch64-linux 1

73 packages marked as broken and skipped:

bareos
openspace
python37Packages.arviz
python37Packages.dask-gateway
python37Packages.dask-jobqueue
python37Packages.dask-ml
python37Packages.dask-mpi
python37Packages.dask-xgboost
python37Packages.datashader
python37Packages.dftfit
...

2 packages failed to build (pre-existing failure on hydra):

netcdf
gdal (python38Packages.gdal)

109 packages skipped due to time constraints:

EBTKS
bicgl
bicpl
cdo
ceph (ceph-dev)
ceph-client
cloudcompare
conglomerate
eccodes
elmerfem
...

13 packages built:

hpcg
hpl
ior
mpi (openmpi)
parmetis
python37Packages.mpi4py
python38Packages.mpi4py
python39Packages.mpi4py
rdma-core
scotch
slurm
slurm-spank-x11
ucx


NDC Feature: Allow users to submit questions to a presenter from the app

Add the functionality that would allow a viewer (in person or online) to submit questions through the app and gain points in return.
This topic requires further discussion. Here are some points that should be discussed:

Adding an alphanumeric code to a presentation that serves as a way to interact during a presentation
How do we validate questions so that people don't spam for points?
Is there a way for a presenter to award people for verbally asking a question?

This should work for user groups too


CUDA Docs: document forall method of kernels

I noticed there seems not to be any mention of forall in the docs - as this is intended to be a public API, this PR adds them to the documentation.

@esc Thanks for taking a look at this! The docs for forall actually seemed to be a bit generally lacking so I've added documentation of the parameters as well as making the original content a bit more readable.

@gmarkall sweet!


Connection Reference / Description

Hi, just wondering how much work it would take to add a description to the connections page... we use unique reference numbers for patch cables and it would be great to see a description for the patch along with the two interfaces/devices.

Each interface can be assigned a freeform description, but not the connection itself. Attributes relevant to the physical cable plant will be implemented as part of #20. (Marking this as a duplicate for reference.)


Is there any way to deal with race condition?

The question is: I hook two functions that are from different threads. But they access the same global variable which is a javascript array I define global. Is there any way to cope with this?
I don't know how to use Il2CppObject.enter() and Il2CppObject.exit(). Any example will be good.

Uhm, however the solution above may have a problem. If you create the lock object within the frida thread, it may be garbage collected after the call to Il2Cpp.perform ends (because the frida thread gets detached from il2cpp), so, in theory, you could either:
pin the lock:
const lock = Il2Cpp.Image.corlib.class("System.Object").new();
lock.ref(true);

create the lock within the main thread:
Il2Cpp.perform(async () => { // <-- notice the async
    const lock = await Il2Cpp.attachedThreads[0].schedule(() => Il2Cpp.Image.corlib.class("System.Object").new());

    // ...
});

Thanks for the solution. I'll try it out.

Sorry. I haven't succeeded to create an appropriate environment to determine whether the solution is ok. It's hard to simulate.

This is sufficient:
Il2Cpp.perform(() => {
    const lock = Il2Cpp.Image.corlib.class("System.Object").new();
    lock.ref(true);

    const SystemBooelan = Il2Cpp.Image.corlib.class("System.Boolean");

    const str = Il2Cpp.String.from("true");

    let c = 0;

    const promise = Il2Cpp.scheduleOnInitializerThread(() => {
        for (let i = 0; i < 500; i++) {
            // lock.enter();
            c += +SystemBooelan.method<boolean>("Parse").invoke(str);
            console.log(`il2cpp[${i}] = ${c}`);
            // lock.exit();
        }
    });

    for (let i = 0; i < 500; i++) {
        // lock.enter();
        c += +SystemBooelan.method<boolean>("Parse").invoke(str);
        console.log(`frida[${i}] = ${c}`);
        // lock.exit();
    };

    promise.then(() => {
        console.log(`c = ${c}`);
    });
});

Uncomment the commented lines to make it print the correct value


[2.0] - Create Newclear for Ignite - Official command

Should bring in newclear
https://github.com/GantMan/mobile-commander/blob/master/bin/newclear.sh
@kevinvangelder - you should write this, and include the command to detect windows build folders and delete those as well.  Since that recently bit you in Win95 or wutevs you use.

Could we call it nuke ?

:(

Still on the radar!


Memory issues with realloc

The current design of contiguous memory layout may cause memory to double during realloc when dealing with large amounts of data, and data copying during this process may affect user requests.
Do you have plans to support segmented contiguous design similar to std::deque? Thanks.

Hi @LIBA-S,
There are no plans to do so, but good ideas on how to integrate it and PRs are welcome.


Idea: make actual object for var_spec

This would allow us to check before doing MetaFrame.fit_dataset() whether var_spec is correct, and also it would do autocomplete in your IDE!

Good idea!

ok so maybe not such low priority


Uncaught ReferenceError: module is not defined

Chrome and all browsers throw the following error.
Uncaught ReferenceError: module is not defined at smartjax.min.js:1:5881
What could be the cause?

have done some changes and released 2.1.2. Can you check now with the new code?

@metalshan Thanks for the update. New version is working.


run tests without sudo

For security reasons, sudo is not installed on our systems. Even if it were, we cannot give code downloaded from the internet root access without a careful audit, which is infeasible for a codebase this large.
Why do all the tests require sudo? Many tests appear to run fine without it:
cd ./build/bin
./rvs -d 3
sed -i 's/sudo //' *.sh
RVS_EXE_PATH="$PWD/rvs" ./rvsqa.new.sh

I agree, I find myself in a similar situation. One should be able to run these tests without privileged access.

Hi @nolta @dipietrantonio
We have removed the need for sudo to running rvs tests sometime back.
Please try with the latest RVS package or code base.
Thanks and Regards,
Junaid


[BUG] Wrong header when using c_sdk https client

Hello,
I am trying to connect to a http server using the c_sdk http client using IP.
The request goes through but I get the response "400 bad request".
Requests by other means such as postman works.
I have used wireshark in order to see the requests and notable difference between the requests that work and the ones that doesn't is that the working one has the header "Host::" whilst the ones that doesn't work (when using c_sdk client) have the header "Host:".
If I try to change the address in the request it fails to send at all.
Is there a way to add the port to the header that I have missed?
Kind regards
Froopas

Hi, which source and version are you using for the http client?
Additionally, that library has been replaced by coreHTTP; perhaps coreHTTP might better meet your needs.

Hello,
The version is v1.1.2.
I am taking over a project which is already connected to an AWS instance using mqtt and I am now supposed to extend the capabilities of the embedded system to include http/https requests.
The original project is a copy of the freertos repo: https://github.com/Infineon/pred-main-xmc4700-kit
I was looking to move over to coreHTTP but it did not look like it was compatible with the use of the IoT network manager used in the current project.

I have realized I looked at the wrong repository when looking at coreHTTP implementation.
After using the implementation from this repository everything works.


System.Net.HttpClient does not have a 'PatchAsync' built-in method.

The CSharp code generator ClientTemplate t4 template uses the SwaggerOperationMethod enum converted to a string to determine which http method and System.Net.HttpClient method to use when calling operations.
This means the C# HttpClient is used like so:
client_.GetAsync
client_.PostAsync
client_.PutAsync

Unfortunately the System.Net.HttpClient class has no built-in PatchAsync method, therefore we need to provide a polyfill (via extension methods) or change the convention for emitting the method calls.
See: https://github.com/NSwag/NSwag/blob/master/src/NSwag.CodeGeneration/CodeGenerators/CSharp/Templates/ClientTemplate.tt#L106
I don't have a solution at this time but am posting a work-around as seen here: http://stackoverflow.com/a/26218765/134869
public static async Task<HttpResponseMessage> PatchAsync(this HttpClient client, string requestUri, HttpContent content, CancellationToken cancellationToken)
{
    var method = new HttpMethod("PATCH");
    var request = new HttpRequestMessage(method, requestUri)
    {
        Content = content
    };

    var response = await client.SendAsync(request, cancellationToken);
    return response;
}

Work-around is not exhaustive of all possibilities (ie. no content in request/response). I have also not checked for existence of the other operations on the HttpClient class either.
Right now this is causing invalid C# code to be generated when generating code from schemas' containing PATCH requests.
Cheers for the great library.

Thanks, I think generating the extension methods in a private class would be the simplest solution... (with check if method is required)

Fixed in https://github.com/NSwag/NSwag/commit/389caf4a1a309dd06cbeb2e24f539a45fe7277ec


idea maybe for file dedup?

hi!
this project looks great :)
based on your other comments in the nixpkgs issue, i was wondering whether you had tried using https://git.sr.ht/~jack/nix-freeze-tree to solve the issue of deduplication (ie: moving from ostree store to /nix/store)
i'm not an expert in nix by any stretch of the imagination but i was wondering something like
derivation that takes ostree runtime and extract it to a folder -> run derivation through lib.freeze -> now you have a derivation which has all single files stored in /nix/store

based on your other comments in the nixpkgs issue, i was wondering whether you had tried using https://git.sr.ht/~jack/nix-freeze-tree to solve the issue of deduplication (ie: moving from ostree store to /nix/store)

derivation that takes ostree runtime and extract it to a folder -> run derivation through lib.freeze -> now you have a derivation which has all single files stored in /nix/store

It looks like nix-freeze-tree uses symlinks, so files in the flatpak runtime will have symlinks to files in /nix/store. I originally didn't think something with symlinks was a good idea because flatpaks run inside a sandbox that doesn't necessarily have access to /nix/store, so all the symlinks would be broken. Maybe exposing /nix/store to the sandbox and using symlinks could work though. Thanks!


Dockerhub Organisation: lost OpenSource Plan

Since we don't have open source subscription anymore, we cannot use private registries (problems with appmotion api) and our pull rates are limited. We need to define the new way for working with private [itis foundation] registries and review our existing policies to see if any of them were broken after loss of open source subscription.
As a bonus: we may want to clean up itis foundarion organization.

We go ahead with [Paid] Docker Team Plan


corrent implementation of the physical -P and logical -L directories in cd, pwd and dirs

I've started working on correctly handling symlinked paths and have some questions about cwd implementation details.

Why does brush use its own Shell.working_dir instead of the system's std::env::set_current_dir/get_current_dir? It's because a subshell is not a new process?

It's because a subshell is not a new process?

Yes, that's the main reason. It's been a source of friction along the way, but in practice, actual interactions with the filesystem have been relatively limited to I/O redirection, the source builtin, cd/pushd/popd, and a few other places.
If you look for everywhere the shell object can get cloned--and there's more places than would be ideal--you'll see where we leverage this.


Announcement Option is not coming for user with Developer role

Hi,
I have installed the Announcement plugin,and it works like a Charm.However even though in the configuration option I have given the rights to "Developer" role,the announcements tab is not appearing for the Developer profile.
Kindly check.

You actually need to configure your system so that $g_manage_site_threshold is set to a value lower than or equal to the plugin's threshold (DEVELOPER in your case), to authorize those users to access the Manage menu.
Otherwise, the users must access the page directly via http://path.to/mantisbt/plugin.php?page=Announce/list
I'll modify the config page to display a warning in this case.


Start working on Getting Started docs

WIP

review @jsingle

Actually I'm going to add one more section on how to use dusty cp


Passing request parameter of stream breaks the UI

If someone passes a request parameter of stream having any stream name as the value, an error is thrown saying -  widget is undefined which breaks the UI after navigating to the url.
For example:
In development environment, if someone navigates to a url like: http://localhost:9991/?stream=design, the broken UI looks like -

Traceback:

Error: widget is undefined at http://localhost:9991/webpack/app~archive.js:6477
at clear /static/js/compose_pm_pill.js:36
at set_from_emails /static/js/compose_pm_pill.js:49
at private_message_recipient /static/js/compose_state.js:50
at start /static/js/compose_actions.js:256
at initialize /static/js/compose.js:1339
at initialize_everything /static/js/ui_init.js:489
at ./static/js/ui_init.js/</< /static/js/ui_init.js:565
at measure_time /static/js/blueslip.ts:268
at ./static/js/ui_init.js/< /static/js/ui_init.js:564
at mightThrow jquery/dist/jquery.js:3766
at resolve/</process< jquery/dist/jquery.js:3834

Czo thread: https://chat.zulip.org/#narrow/stream/9-issues/topic/stream.20request.20parameter.20breaks.20the.20UI.

For context, this is a bug breaking the rarely-used and undocumented feature of having a Zulip window confined to a single stream.
@rwbarton FYI, we'll need to fix this before Mystery Hunt :)


Add initial CHANGELOG.md draft

Will need review by team members.
In .chglog/CHANGELOG.md, save output from running git-chglog --next-tag v5.0.
In .chglog/CHANGELOG.tpl.md, save template changes to slightly improve
output.
In .chglog/README.md, document how to install and run git-chglog even
though it wasn't that useful after all.
In CHANGELOG.md, save initial draft using only version numbers and
merge commit urls from .chglog/CHANGELOG.md and looking at pull
requests' descriptions and diffs to write actual changelog messages.

Please review the CHANGELOG.md in the root directory, not .chglog/CHANGELOG.md.  The latter was automatically generated and used only as an initial draft which I copied to the root directory and edited into its final form.


Is the communicator.ReceivePackets blocking?

Please use Pcap.Net Q&A Group to ask questions.
All methods are synchronous.

@bricknerb Thanks and I apologize. I will not post questions here next time.


Build Error ( Sail up / Sail Build ): "gpg: keyserver receive failed: Server indicated a failure."

Sail Version: 1.13.9
Laravel Version: 9.8.0
PHP Version: 8.1.
OS: Windows w/ WSL2

Description:
Build failure, appears to happen when attempting "sail up" or "sail build". The issue happens at line 21 in the dockerfile for the 8.1 runtime. A warning also appears stating that apt-key is deprecated.
Line: 21 in /vendor/laravel/sail/runtimes/8.1/Dockerfile
 && apt-key adv --homedir ~/.gnupg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 0x14AA40EC0831756756D7F66C4F4EA0AAE5267A6C \
Error:
gpg: keyserver receive failed: Server indicated a failure
Temporary Solution (Workaround): I was able to get this working by modifying line 21 to the following value. (Not sure if this is the right thing to do but it worked)

changed from "hkps" -> hkp, I think this just changes the protocol
added ":80" to the end of "ubuntu.com" to change default port
added 0x to the beginning of the "14AA40EC0831756756D7F66C4F4EA0AAE5267A6C", no clue why this works but it was suggested on stack overflow. I noticed if I go here "https://keyserver.ubuntu.com/" and search for "14AA40EC0831756756D7F66C4F4EA0AAE5267A6C" nothing comes back. but if I search for: 0x14AA40EC0831756756D7F66C4F4EA0AAE5267A6C a result comes back.

Disclaimer: I understand docker and docker compose fairly well but I only vaguely understand the modifications I made other than changing the protocol and adding something I found on stack overflow about adding a 0x to get things working.
&& apt-key adv --homedir ~/.gnupg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 0x14AA40EC0831756756D7F66C4F4EA0AAE5267A6C \
Other solutions attempted:

Factory reset docker: failed
Shut down and restart WSL: failed
Reinstall docker: failed
Reinstall WSL: failed

Steps To Reproduce:
Run "sail up" or "sail build" on wsl terminal

Hi @dmmiguel
Can you please try these commands before docker build.
 docker system prune --force
 docker volume prune --force

Warning: These commands will erase your existing volumes.

Hi @dmmiguel
Can you please try these commands before docker build.
 docker system prune --force
 docker volume prune --force

Warning: These commands will erase your existing volumes.

Thanks for the suggestion. I have tried that and still gotten the same error. It only appears to work when I modify the Docker file with the settings I listed.

@driesvints
Thanks. I Attempted that as well. using both sail and regular docker-compose / docker-compose --no-cache and still the same error, Also tried docker system prune --force, docker volume prune --force before running the build command with no cache.
All my other docker-compose configurations work fine just not any sail projects (Without the modification).
I have also tried updating composer, creating a new Laravel app. and still get the same error. I think it the issue is with line 21 ,specifically as the dockerfile. It builds up to that point and dies when it receives no response from the gpg key server.

Thanks, I attempted a PR here: https://github.com/laravel/sail/pull/384

Sweet thanks for the help guys :)

@driesvints I'm having the same or a similar issue, so I'm not sure if the issue is fully resolved. I manually updated the vendor/laravel/sail/runtimes/8.1/Dockerfile with the changes in PR #384, but I'm still receiving the error regarding apt-key below when running ./vendor/bin/sail up:
#0 68.66 Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)).
#0 68.67 Executing: /tmp/apt-key-gpghome.ML0xqbW7am/gpg.1.sh --homedir /root/.gnupg --keyserver hkps://keyserver.ubuntu.com --recv-keys 0x14AA40EC0831756756D7F66C4F4EA0AAE5267A6C
#0 78.69 gpg: keyserver receive failed: Server indicated a failure

@cdterry87 try editing to this and see if it works:
&& apt-key adv --homedir ~/.gnupg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 0x14AA40EC0831756756D7F66C4F4EA0AAE5267A6C \

change hkps:// to hkp://
add ':80' to the end of the domain "ubuntu.com"
make sure you have 0x in front of key value

can you verify it works? my coworker had the same issue and it fixed it for him as well
see the original info. should get you going at least. till it's fixed.

Sail Version: 1.13.9
Laravel Version: 9.8.0
PHP Version: 8.1.
OS: Windows w/ WSL2

Description:
Build failure, appears to happen when attempting "sail up" or "sail build". The issue happens at line 21 in the dockerfile for the 8.1 runtime. A warning also appears stating that apt-key is deprecated.
Line: 21 in /vendor/laravel/sail/runtimes/8.1/Dockerfile  && apt-key adv --homedir ~/.gnupg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 0x14AA40EC0831756756D7F66C4F4EA0AAE5267A6C \
Error: gpg: keyserver receive failed: Server indicated a failure
Temporary Solution (Workaround): I was able to get this working by modifying line 21 to the following value. (Not sure if this is the right thing to do but it worked)

changed from "hkps" -> hkp, I think this just changes the protocol
added ":80" to the end of "ubuntu.com" to change default port
added 0x to the beginning of the "14AA40EC0831756756D7F66C4F4EA0AAE5267A6C", no clue why this works but it was suggested on stack overflow. I noticed if I go here "https://keyserver.ubuntu.com/" and search for "14AA40EC0831756756D7F66C4F4EA0AAE5267A6C" nothing comes back. but if I search for: 0x14AA40EC0831756756D7F66C4F4EA0AAE5267A6C a result comes back.

Disclaimer: I understand docker and docker compose fairly well but I only vaguely understand the modifications I made other than changing the protocol and adding something I found on stack overflow about adding a 0x to get things working.
&& apt-key adv --homedir ~/.gnupg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 0x14AA40EC0831756756D7F66C4F4EA0AAE5267A6C \
Other solutions attempted:

Factory reset docker: failed
Shut down and restart WSL: failed
Reinstall docker: failed
Reinstall WSL: failed

Steps To Reproduce:
Run "sail up" or "sail build" on wsl terminal

@dmmiguel The fixes you suggested do work for me. Thanks so much for that!

@dmmiguel The fixes you suggested do work for me. Thanks so much for that!

Glad I could help. Take care my good sir.

I can confirm that this also worked for me too! Thank you very much!
As info, I am on Windows 10 (Ubuntu 20.04 WSL) and the latest Docker 4.7.1

@dmmiguel I can confirm this solves the problem for me too.
The changes made on this PR doesn't solve the issue, is there a way to inform the maintainers about this? @driesvints

Can anyone send in a PR?

Sail Version: 1.13.9
Laravel Version: 9.8.0
PHP Version: 8.1.
OS: Windows w/ WSL2

Description:
Build failure, appears to happen when attempting "sail up" or "sail build". The issue happens at line 21 in the dockerfile for the 8.1 runtime. A warning also appears stating that apt-key is deprecated.
Line: 21 in /vendor/laravel/sail/runtimes/8.1/Dockerfile  && apt-key adv --homedir ~/.gnupg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 0x14AA40EC0831756756D7F66C4F4EA0AAE5267A6C \
Error: gpg: keyserver receive failed: Server indicated a failure
Temporary Solution (Workaround): I was able to get this working by modifying line 21 to the following value. (Not sure if this is the right thing to do but it worked)

changed from "hkps" -> hkp, I think this just changes the protocol
added ":80" to the end of "ubuntu.com" to change default port
added 0x to the beginning of the "14AA40EC0831756756D7F66C4F4EA0AAE5267A6C", no clue why this works but it was suggested on stack overflow. I noticed if I go here "https://keyserver.ubuntu.com/" and search for "14AA40EC0831756756D7F66C4F4EA0AAE5267A6C" nothing comes back. but if I search for: 0x14AA40EC0831756756D7F66C4F4EA0AAE5267A6C a result comes back.

Disclaimer: I understand docker and docker compose fairly well but I only vaguely understand the modifications I made other than changing the protocol and adding something I found on stack overflow about adding a 0x to get things working.
&& apt-key adv --homedir ~/.gnupg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 0x14AA40EC0831756756D7F66C4F4EA0AAE5267A6C \
Other solutions attempted:

Factory reset docker: failed
Shut down and restart WSL: failed
Reinstall docker: failed
Reinstall WSL: failed

Steps To Reproduce:
Run "sail up" or "sail build" on wsl terminal

Work here.
Win10
WSL2
Ubuntu 22.04LTS

@cdterry87 try editing to this and see if it works:
&& apt-key adv --homedir ~/.gnupg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 0x14AA40EC0831756756D7F66C4F4EA0AAE5267A6C \

change hkps:// to hkp://
add ':80' to the end of the domain "ubuntu.com"
make sure you have 0x in front of key value

can you verify it works? my coworker had the same issue and it fixed it for him as well
see the original info. should get you going at least. till it's fixed.

Sail Version: 1.13.9
Laravel Version: 9.8.0
PHP Version: 8.1.
OS: Windows w/ WSL2

Description:
Build failure, appears to happen when attempting "sail up" or "sail build". The issue happens at line 21 in the dockerfile for the 8.1 runtime. A warning also appears stating that apt-key is deprecated.
Line: 21 in /vendor/laravel/sail/runtimes/8.1/Dockerfile  && apt-key adv --homedir ~/.gnupg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 0x14AA40EC0831756756D7F66C4F4EA0AAE5267A6C \
Error: gpg: keyserver receive failed: Server indicated a failure
Temporary Solution (Workaround): I was able to get this working by modifying line 21 to the following value. (Not sure if this is the right thing to do but it worked)

changed from "hkps" -> hkp, I think this just changes the protocol
added ":80" to the end of "ubuntu.com" to change default port
added 0x to the beginning of the "14AA40EC0831756756D7F66C4F4EA0AAE5267A6C", no clue why this works but it was suggested on stack overflow. I noticed if I go here "https://keyserver.ubuntu.com/" and search for "14AA40EC0831756756D7F66C4F4EA0AAE5267A6C" nothing comes back. but if I search for: 0x14AA40EC0831756756D7F66C4F4EA0AAE5267A6C a result comes back.

Disclaimer: I understand docker and docker compose fairly well but I only vaguely understand the modifications I made other than changing the protocol and adding something I found on stack overflow about adding a 0x to get things working.
&& apt-key adv --homedir ~/.gnupg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 0x14AA40EC0831756756D7F66C4F4EA0AAE5267A6C \
Other solutions attempted:

Factory reset docker: failed
Shut down and restart WSL: failed
Reinstall docker: failed
Reinstall WSL: failed

Steps To Reproduce:
Run "sail up" or "sail build" on wsl terminal

@dmmiguel your suggestion solved my problem too.

Ran into this issue as well, with the update from @driesvints's PR applied.
Swapping to the unencrypted keyserver endpoint worked. Not sure why the request to the encrypted keyserver is failing vs the unencrypted one. I could certainly put in a PR, but that feels like an upstream problem to me. Don't know if there are other opinions on that.

Sail Version: 1.13.9
Laravel Version: 9.8.0
PHP Version: 8.1.
OS: Windows w/ WSL2

Description:
Build failure, appears to happen when attempting "sail up" or "sail build". The issue happens at line 21 in the dockerfile for the 8.1 runtime. A warning also appears stating that apt-key is deprecated.
Line: 21 in /vendor/laravel/sail/runtimes/8.1/Dockerfile  && apt-key adv --homedir ~/.gnupg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 0x14AA40EC0831756756D7F66C4F4EA0AAE5267A6C \
Error: gpg: keyserver receive failed: Server indicated a failure
Temporary Solution (Workaround): I was able to get this working by modifying line 21 to the following value. (Not sure if this is the right thing to do but it worked)

changed from "hkps" -> hkp, I think this just changes the protocol
added ":80" to the end of "ubuntu.com" to change default port
added 0x to the beginning of the "14AA40EC0831756756D7F66C4F4EA0AAE5267A6C", no clue why this works but it was suggested on stack overflow. I noticed if I go here "https://keyserver.ubuntu.com/" and search for "14AA40EC0831756756D7F66C4F4EA0AAE5267A6C" nothing comes back. but if I search for: 0x14AA40EC0831756756D7F66C4F4EA0AAE5267A6C a result comes back.

Disclaimer: I understand docker and docker compose fairly well but I only vaguely understand the modifications I made other than changing the protocol and adding something I found on stack overflow about adding a 0x to get things working.
&& apt-key adv --homedir ~/.gnupg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 0x14AA40EC0831756756D7F66C4F4EA0AAE5267A6C \
Other solutions attempted:

Factory reset docker: failed
Shut down and restart WSL: failed
Reinstall docker: failed
Reinstall WSL: failed

Steps To Reproduce:
Run "sail up" or "sail build" on wsl terminal

I'm following the instructions at https://laravel.com/docs/9.x/installation to have a play with Laravel and can confirm that tweaking this line fixed this issue for me today.

@Evertt Thanks for putting in the PR and getting this fixed.


Apple SDK 2.0.5-SNAPSHOT

Can one of the admins verify this patch?

Build finished.

Build finished.

test this please

test this please


Configuration YAML for changing table description text not working in my case

As the title suggests, I am not able to get a changed table description text when I perform a translation of a HIVEQL ddl file. The original description text persists in the translated version. I do not have the same problem when I try to use other transformation config.yaml files, such as one where I set external: false to avoid CREATE TABLE from becoming CREATE EXTERNAL TABLE. Details on how to reproduce below.
Environment details

OS type and version: MacOS Monterey 12.6
Python version: 3.9
pip version: 22.0.4 (I use poetry v1.4.2 if that makes a difference)
google-cloud-bigquery-migration version: 0.11.0

Steps to reproduce

Create a "source" .ddl file with the following contents

CREATE TABLE `example.table`(
`col1` bigint,
`col2` bigint,
`col3` boolean,
`col4` timestamp,
`col5` bigint,
`col6` bigint)
COMMENT 'email<EMAIL_ADDRESS>ROW FORMAT SERDE
'org.apache.hadoop.hive.ql.io.orc.OrcSerde'
STORED AS INPUTFORMAT
'org.apache.hadoop.hive.ql.io.orc.OrcInputFormat'
OUTPUTFORMAT
'org.apache.hadoop.hive.ql.io.orc.OrcOutputFormat'
LOCATION
'hdfs://path/to/my/files'
TBLPROPERTIES (
'_artifact_placeholder'='{{ artifact:holder }}',
'bucketing_version'='2',
'transient_lastDdlTime'='1682664243')

Add a file named change-description.config.yaml with the following contents

type: object_rewriter
relation:
  - match:
      db: my-gcp-project
      schema: example
    description:
      text: "example"

Move these files to a bucket on GCP inside a 'folder' named folder_containing_ddl_and_config_file

Execute a migration workflow

MY_GCP_PROJECT = 'my-gcp-project'
BASE_GCS_BUCKET = 'my-bucket-name'
gcs_input_full_path = f"gs://{BASE_GCS_BUCKET}/folder_containing_ddl_and_config_file"
gcs_output_full_path = f"gs://{BASE_GCS_BUCKET}/folder_containing_ddl_and_config_file_translated"

parent = f"projects/{MY_GCP_PROJECT}/locations/eu"
client = bigquery_migration_v2.MigrationServiceClient()

source_dialect = bigquery_migration_v2.Dialect()
source_dialect.hiveql_dialect = bigquery_migration_v2.HiveQLDialect()
target_dialect = bigquery_migration_v2.Dialect()
target_dialect.bigquery_dialect = bigquery_migration_v2.BigQueryDialect()
translation_env = bigquery_migration_v2.SourceEnv(
      default_database=MY_GCP_PROJECT, schema_search_path='example'
)

translation_config = bigquery_migration_v2.TranslationConfigDetails(
      gcs_source_path=gcs_input_full_path,
      gcs_target_path=gcs_output_full_path,
      source_dialect=source_dialect,
      target_dialect=target_dialect,
      source_env=translation_env,
)
migration_task = bigquery_migration_v2.MigrationTask(
      type_="Translation_HiveQL2BQ", translation_config_details=translation_config
)
workflow = bigquery_migration_v2.MigrationWorkflow(display_name=job_name)
workflow.tasks["translation"] = migration_task

request = bigquery_migration_v2.CreateMigrationWorkflowRequest(
      parent=parent, migration_workflow=workflow
)
response = client.create_migration_workflow(request=request)

Check the resulting file. In my case it looks like below, where the description text is unchanged from what it was in the original file.

-- Translation time: 2023-05-10T09:28:40.261922Z
-- Translation job ID: 28288a12-c0ba-1bd2-8c2e-d640b91c3b5b
-- Source: my-gcp-bucket/folder_containing_ddl_and_config_file/step_1_ddl_file.ddl
-- Translated from: Hive
-- Translated to: BigQuery

CREATE EXTERNAL TABLE `my-gcp-project`.example.table
(
  col1 INT64,
  col2 INT64,
  col3 BOOL,
  col4 DATETIME,
  col5 INT64,
  col6 INT64
)
OPTIONS(
  description='email<EMAIL_ADDRESS>  format='ORC',
  uris=[
    'hdfs://path/to/my/files'
  ]
);

Thanks!

I'm going to transfer this issue to the google-cloud-python repository as we are preparing to move the code in this repository to google-cloud-python in the next 1-2 weeks.


Buy books endpoint in API

It should be made very clear in the report that this is a simulation of a purchase and not an actual purchase

Open up the search book endpoint too


Testers needed: Shaders are not working on macOS

Here is a test build for macOS that could possibly make the shaders working (I can't test it, don't have a mac...):
macOS-shader-build.zip

New test build with WGL_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB bit set:
macOS-shader-build_test2.zip

New test build with all previous fixes + another fix for the black bar issue:
macOS-shader-blackbar-fix_test3.zip

Works now, thanks to whipowill for testing!
macOS will refuse to load shaders with an #version older than 150 or shaders that don't specify any version number.
shader files must be modified. example:
(Original)

(Modified for macOS)


not working??

✖ ChatGPTModel request fail | An error occur, at ChatGptModel.ts sendMessage(prompt, msg) err: Error: OpenAI error 429: {
    "error": {
        "message": "You exceeded your current quota, please check your plan and billing details.",
        "type": "insufficient_quota",
        "param": null,
        "code": null
    }
}

/workspaces/whatsapp-ai-bot/node_modules/whatsapp-web.js/src/structures/Message.js:91
this.deviceType = data.id.id.length > 21 ? 'android' : data.id.id.substring(0, 2) == '3A' ? 'ios' : 'web';
^
TypeError: data.id.id.substring is not a function
at Message._patch (/workspaces/whatsapp-ai-bot/node_modules/whatsapp-web.js/src/structures/Message.js:91:75)
at new Message (/workspaces/whatsapp-ai-bot/node_modules/whatsapp-web.js/src/structures/Message.js:18:24)
at Client.sendMessage (/workspaces/whatsapp-ai-bot/node_modules/whatsapp-web.js/src/Client.js:699:16)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
Node.js v19.9.0
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Please read the error carefully it's saying you're open ai the API key quota has been exceeded.
- "error": {
-       "message": "You exceeded your current quota, please check your plan and billing details.",
-        "type": "insufficient_quota",
-        "param": null,
-        "code": null
-   }

Possible Solutions

Regenerate the new key from the open ai developer page.
Also check the key you added in .env is valid

Thank you sincerely for taking the time to respond. While I appreciate the solutions you offered, it seems that the problem persists despite implementing them. Nonetheless, I want to express my utmost admiration for your exceptional ideas, and I wholeheartedly encourage and stand by you. Your dedication and innovative thinking are truly inspiring. Keep pushing forward, my esteemed Arab brother, as your potential knows no bounds.

You're most welcome! I truly appreciate your kind words and encouragement. If there's anything else I can assist you with, please don't hesitate to reach out. I'm here to help.
Happy Coding ♥


ScopeClaim in v4?

I've just been reading
https://github.com/IdentityServer/IdentityServer3.Samples/issues/5
Is there an equivalent in v4 to include certain scopes in the id_token?

https://identityserver4.readthedocs.io/en/release/reference/identity_resource.html

Thanks. I'm using db storage. So I have custom.profile in [IdentityResources] which has my [IdentityClaims] and I add custom.profile to [ClientScopes].
Is that right? They're not being returned

Ah, found [AlwaysIncludeUserClaimsInIdToken] in [Clients], setting that to true works

https://identityserver4.readthedocs.io/en/release/reference/identity_resource.html

Page not found, Is it IdentityResource or ClientScope?


add CheckedRem

so we can use checked_rem on BlockNumber and other types

@xlc it doesn't compile :P

bot merge


Compile-test the produced glib-sys crate

@EPashkin here's a possible way to organize the integration tests and the accompanying toml files.

@homu r+

:pushpin: Commit 8251c75 has been approved by gkoz

:hourglass: Testing commit 8251c75 with merge 2628b32...

:sunny: Test successful - status


Questions about supervision.

Thanks for your good work and open source code!
When I read the paper and code, I have a question. As far as I know, in the CSPN series of papers, the algorithm first obtains an initial depth image, and then it uses iterative spatial propagation to obtain the final depth image. I found that in these algorithms, such as NLSPN, the initial depth map is not supervised. I wonder if joining the  supervision of the initial depth will limit the expressive ability of the network?  And I would like to ask if you have done similar experiments or verified the performance of the initial depth map？
Thanks and looking forward to your reply!

Hi @jikerWRN,
Of course, I tried intermediate supervision on the initial depth when I was working on the NLSPN.
However, I concluded that the intermediate supervision on the initial depth is too strong, and it weakens the role of the propagation part for further improvement.
If you are working on the depth completion, please try and share your experience later!

Ok, I just have such a question, and did not conduct related experiments. If I do related experiments later, I will share it through a new issue. Thanks!


Sub-environment variables don't work with gRPC

Describe the bug
I recently discovered that the latest version of Insomnia supports environment variables; however I am unable to get this to work. When I put in an environment variable of <IP_ADDRESS>:6565 and attempt to use this, nothing happens in the UI (there are errors in the dev console). If I directly paste <IP_ADDRESS>:6565 in, it works as expected (old behavior). I have tried downgrading to 2020.1.0 but that doesn't fix the issue either.
To Reproduce
In the environment tab, add a new variable. Fill that variable in and make a gRPC request.
Expected behavior
The request should be successful, but it is not
Screenshots
(These are intentionally cropped)

Desktop (please complete the following information):
Version: Insomnia 2021.1.1
Release date: 3/9/2021
OS: Darwin x64 19.6.0
Electron: 9.1.1
Node: 12.14.1
V8: <IP_ADDRESS>-electron.0
Architecture: x64
node-libcurl: libcurl/7.69.1 OpenSSL/1.1.1g zlib/1.2.11 brotli/1.0.7 libidn2/2.1.1 libssh2/1.9.0 nghttp2/1.41.0
Additional context
Error message:
18:24:20.309 › Unhandled Promise PromiseRejectionEvent {isTrusted: true, promise: Promise, reason: Error: attempted to output null or undefined value
    at file:///Applications/Insomnia.app/Content…, type: "unhandledrejection", target: global, …}bubbles: falsecancelBubble: falsecancelable: truecomposed: falsecurrentTarget: global {parent: global, opener: null, top: global, length: 0, frames: global, …}defaultPrevented: falseeventPhase: 0isTrusted: truepath: [global]promise: Promise__proto__: Promise[[PromiseStatus]]: "rejected"[[PromiseValue]]: Error: attempted to output null or undefined value
    at file:///Applications/Insomnia.app/Contents/Resources/app.asar/bundle.js:37548:26
    at /Applications/Insomnia.app/Contents/Resources/app.asar/node_modules/nunjucks/src/environment.js:41:5
    at RawTask.call (/Applications/Insomnia.app/Contents/Resources/app.asar/node_modules/asap/asap.js:40:19)
    at flush (/Applications/Insomnia.app/Contents/Resources/app.asar/node_modules/asap/raw.js:50:29)
    at processTicksAndRejections (internal/process/task_queues.js:76:11)location: {line: 1, column: 1}path: "url"reason: "undefined"type: "render"message: "attempted to output null or undefined value"stack: "Error: attempted to output null or undefined value↵    at file:///Applications/Insomnia.app/Contents/Resources/app.asar/bundle.js:37548:26↵    at /Applications/Insomnia.app/Contents/Resources/app.asar/node_modules/nunjucks/src/environment.js:41:5↵    at RawTask.call (/Applications/Insomnia.app/Contents/Resources/app.asar/node_modules/asap/asap.js:40:19)↵    at flush (/Applications/Insomnia.app/Contents/Resources/app.asar/node_modules/asap/raw.js:50:29)↵    at processTicksAndRejections (internal/process/task_queues.js:76:11)"__proto__: Errorreason: Error: attempted to output null or undefined value
    at file:///Applications/Insomnia.app/Contents/Resources/app.asar/bundle.js:37548:26
    at /Applications/Insomnia.app/Contents/Resources/app.asar/node_modules/nunjucks/src/environment.js:41:5
    at RawTask.call (/Applications/Insomnia.app/Contents/Resources/app.asar/node_modules/asap/asap.js:40:19)
    at flush (/Applications/Insomnia.app/Contents/Resources/app.asar/node_modules/asap/raw.js:50:29)
    at processTicksAndRejections (internal/process/task_queues.js:76:11)returnValue: truesrcElement: global {parent: global, opener: null, top: global, length: 0, frames: global, …}target: global {parent: global, opener: null, top: global, length: 0, frames: global, …}timeStamp:<PHONE_NUMBER>99993type: "unhandledrejection"__proto__: PromiseRejectionEvent
setTimeout (async)
consoleLog @ /Applications/Insomnia.app/Contents/Resources/app.asar/node_modules/electron-log/src/transports/console.js:93
transport @ /Applications/Insomnia.app/Contents/Resources/app.asar/node_modules/electron-log/src/transports/console.js:46
runTransport @ /Applications/Insomnia.app/Contents/Resources/app.asar/node_modules/electron-log/src/log.js:44
runTransports @ /Applications/Insomnia.app/Contents/Resources/app.asar/node_modules/electron-log/src/log.js:27
log @ /Applications/Insomnia.app/Contents/Resources/app.asar/node_modules/electron-log/src/log.js:21

Thank you for reporting this! I am able to reproduce it.
There are three places an environment variable can be defined - the base environment, a sub environment, or a folder environment. Both the base environment and folder environments seem to be working correctly, this issue seems related to sub environments.
While testing it I see two interesting (and I think related) behaviors:

if my grpcHost variable exists in both the base environment and the sub environment, and the sub environment is selected, the request works but the actual request execution resolves the variable from the base env, it should resolve from the sub env.
if my grpcHost variable exists only in the sub environment, regardless of which environment is selected, the request fails in the above manner.

It seems like when resolving variables for actually executing a request, it's not consuming the sub environment correctly.

@develohpanda thanks for helping me with a work around! I can confirm that this workaround works on 2020.1.alpha2 (I have tried all of the recent versions including 2020.2 alpha).

No worries! We will certainly look to resolve this though, it's not working as intended. 🤗

I misread your post. It seems that this isn't a work around (always resolves the base). Hopefully this is not too hard of an issue to address. I'm a big fan of the recent gRPC support nonetheless!

I've also noticed this and was wondering when it might be fixed? Love using the tool!!

@develohpanda I'm also encountering this issue - any updates?

I have faced the same issue with Insomnia regarding env