Expected object, received array

# define buildIngestEndpoint
const publishSoldTicket = tb.buildIngestEndpoint({
  datasource: 'sold_tickets_analytics',
  event: z.object({
    id: z.string(),
    eventId: z.string(),
  }),
})

Then in other part of the code
const ticketsToPublish = createdTickets.map((ticket) => ({
  id: ticket.id,
  eventId,
}))

# using it sending array
await publishSoldTicket(ticketsToPublish)

Throws:
Error: [
   {
     "code": "invalid_type",
     "expected": "object",
     "received": "array",
     "path": [],
     "message": "Expected object, received array"
   }
 ]
     at eval (webpack-internal:///(rsc)/../../packages/tinybird/node_modules/@chronark/zod-bird/dist/index.js:105:27)
     at confirmTransaction (webpack-internal:///(rsc)/./lib/use-cases/domain/confirm-transaction.use-case.ts:77:70)
     at async POST (webpack-internal:///(rsc)/./app/api/checkout_notification/route.ts:18:9)
     at async /Users/martinmorenocerda/Desktop/Abstract/evently/evently/node_modules/next/dist/compiled/next-server/app-route.runtime.dev.js:1:66877

Publishing one ticket works

fixed in v0.2.2


Adding showRewardVideoAd() arguments to README

Currently it's impossible to know the arguments to showRewardVideoAd without looking at the code.

On second thought, these two methods are misleading. They don't actually fire based on whether a reward video is played or not. Ideally the showRewardVideoAd() API would change to accept two callbacks, one which fires when the user completes the reward operation, the other which fires if the user cancels.
There are some global events which this module will fire, but it's not easy to correlate them to a particular reward ad being played. It's also not 100% possible to correctly know if a user has earned a reward with those global events. For example, the onAdDismiss event will fire if a user dismisses a reward ad. But, it will also fire if the user successfully finishes the reward ad and then closes the video to return to the game.
I don't think this PR should be accepted, but I would like to have it trigger a discussion on updating the cordova-admob-pro API.

Is this related with the error that I'm getting now when I build my app?

BUILD FAILED in 3s
27 actionable tasks: 1 executed, 26 up-to-date
(node:29640) UnhandledPromiseRejectionWarning: Error: /Users/danielrodriguez/Desktop/repositories/party-words/platforms/android/gradlew: Command failed with exit code 1 Error output:
/Users/danielrodriguez/Desktop/repositories/party-words/platforms/android/app/src/main/java/com/rjfun/cordova/admob/AdMobPlugin.java:646: error: AdMobPlugin.RewardVideoListener is not abstract and does not override abstract method onRewardedVideoCompleted() in RewardedVideoAdListener
private class RewardVideoListener implements RewardedVideoAdListener {
^
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
1 error
FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':app:compileReleaseJavaWithJavac'.

Compilation failed; see the compiler error output for details.

Fixed in 3229136c33cab24d907f1bb746380ff1f68f87fa
New version of AdMob Android SDK added a virtual API, just implement:
    @Override
    public void onRewardedVideoCompleted() {
      fireAdEvent(EVENT_AD_WILLDISMISS, ADTYPE_REWARDVIDEO);
    }

Thanks

It seems that there is still some problem... Compiling on phonegap build returns
:app:compileReleaseJavaWithJavac/app/src/main/java/com/rjfun/cordova/admob/AdMobPlugin.java:684: error: method does not override or implement a method from a supertype

Please use the latest version<EMAIL_ADDRESS>

Hi. Pgb is retrieving the version from npm, and is already using that version. Looking at the error line on the code I see that on 2.31.3 you changed line 679 of AdMobPlugin.java, while now the the error is on line 684. I suppose the same problem is on another method than that you fixed.

@Ices-Eyes yes, you are correct.  Should be line 684.
Now updated as<EMAIL_ADDRESS>

It works perfectly now- Thanks! 👍

With version 2.31.4, I am still getting the error that @erperejildo was receiving.
.../rjfun/cordova/admob/AdMobPlugin.java:646: error: AdMobPlugin.RewardVideoListener is not abstract and does not override abstract method onRewardedVideoCompleted() in RewardedVideoAdListener
private class RewardVideoListener implements RewardedVideoAdListener {

@Cycododge as the AdMob SDK API is not compatible to old version, currently you may need find the code:
https://github.com/floatinghotpot/cordova-admob-pro/blob/master/src/android/AdMobPlugin.java#L684
    //@Override
    public void onRewardedVideoCompleted() {
      fireAdEvent(EVENT_AD_WILLDISMISS, ADTYPE_REWARDVIDEO);
    }

and remove the // manually.

I'm not sure I follow. npm outdated shows that I have the latest versions.

Removing my platforms and plugins folders, and install clean fixed this issue.

@floatinghotpot on 2.31.4 it's with //
   //@Override
    public void onRewardedVideoCompleted() {
      fireAdEvent(EVENT_AD_WILLDISMISS, ADTYPE_REWARDVIDEO);
    }

Should we remove it manually?

It depends.
The public void onRewardedVideoCompleted() is newly introduced.
If with most latest google play library, @Override should work.
But it will cause build error with old google play library, for example, in PhoneGap build service. So comment out @Override is safe to get both old and new library compatible.

Fixed in 3229136
New version of AdMob Android SDK added a virtual API, just implement:
    //@Override
    public void onRewardedVideoCompleted() {
      fireAdEvent(EVENT_AD_WILLDISMISS, ADTYPE_REWARDVIDEO);
    }

How to implement ?


compl: Fix filter text for wiki completion when completion style differs

This fix makes completion work when the link and completion are of different style, e.g.
[[/file-stem#head -> [[file-stem#heading]]

when the prompt is a file-path-stem and the completion is just file-stem.

Hm. Thinking more about it, perhaps it's not a good idea. I'll table it for now.


errors block doesn't seem to be used for output lookup

Describe the bug
We are currently using terraform cloud to manage state storage and when we need to setup new set of units with dependencies we get an error when the outputs are looked up
12:47:40.725 DEBUG  [log_stores] Running command: terraform output -json
12:47:40.725 DEBUG  [log_stores] Engine is not enabled, running command directly in ./log_stores/.terragrunt-cache/ZRBfJ-EMc3VqKO0sG5FDLG_h7nQ/WGYDzM3b26Ekahx2CNhbilsxIOw
╷
│ Error: could not read state version outputs: resource not found
│
│

This makes sense since we don't have terraform cloud workspace state created yet, so I added mock outputs in to our dependency check to hopefully get around it
dependency "log_stores" {
  config_path                             = "../log_stores"
  mock_outputs_allowed_terraform_commands = ["plan", "validate"]
  mock_outputs = {
    kms_key_id = "arn:aws:kms:ap-southeast-2:111122223333:key/1234abcd-12ab-34cd-56ef-1234567890ab"
  }
}

But terragrunt still fails since its running terraform output -json before using the mock outputs. skip_outputs was an option but creates issues with when it should be enabled or disabled (i.e. when the terraform workspace exists it shouldn't skip )
So I tried the new errors block.
errors {
  ignore "state_missing" {
    ignorable_errors = [
      ".*Error: could not read state version outputs.*"
    ]
    message = "Ignoring missing state for new stack"
  }
}

But it looks like the errors block doesn't get evaluated when running the output look ups. Since it still fails and doesn't produce anything to say that the error has been ignored.
Steps To Reproduce
terragrunt.hcl
generate "terraform" {
  path      = "terraform.tf"
  if_exists = "overwrite_terragrunt"
  contents  = <<-EOT
    terraform {
      cloud {
        organization = "<insert tf cloud org here>"

        workspaces {
          name = "ws-${replace(path_relative_to_include(), "/", "-")}"
        }
      }
    }
  EOT
}

errors {
  ignore "state_missing" {
    ignorable_errors = [
      ".*Error: could not read state version outputs.*"
    ]
    message = "Ignoring missing state for new stack"
  }
}

unit1/terragrunt.hcl
terraform {
  source = "main.tf"
}

include "root" {
  path = find_in_parent_folders()
}

unit1/main.tf
resource "terraform_data" "data" {
  input = "abc123"
}

output "data" {
  value = terraform_data.data.output
}

unit2/terragrunt.hcl
terraform {
  source = "main.tf"
}

dependency "unit1" {
  config_path                             = "../unit1"
  mock_outputs_allowed_terraform_commands = ["plan", "validate"]
  mock_outputs = {
    data = "def456"
  }
}

include "root" {
  path = find_in_parent_folders()
}

unit2/main.tf
variable "unit_a_data" {
  type = string
}

resource "terraform_data" "unit_a_data" {
  input = var.unit_a_data
}

output "data" {
  value = terraform_data.unit_a_data.output
}

Then at the root of this workspace run
terragrunt run-all plan

13:00:34.191 STDOUT [unit1] terraform: again to reinitialize your working directory.
╷
│ Error: could not read state version outputs: resource not found
│
│
╵
13:00:37.047 ERROR  [unit1] terraform invocation failed in ./unit1/.terragrunt-cache/FBQW8Cc6xOlFLI-6v8PSRgS_iuI/nemD4fDbQ4HJKvm5JdK4t5BRPdU
13:00:37.047 ERROR  [unit2] Module ./unit2 has finished with an error
13:00:37.048 ERROR  error occurred:

* Failed to execute "terraform output -json" in ./unit1/.terragrunt-cache/FBQW8Cc6xOlFLI-6v8PSRgS_iuI/nemD4fDbQ4HJKvm5JdK4t5BRPdU
  ╷
  │ Error: could not read state version outputs: resource not found
  │
  │
  ╵

  exit status 1

Expected behavior
When running the plan step the outputs are attempted to be looked up and if the terraform workspace doesn't have outputs the mock outputs are returned because the error Error: could not read state version outputs: resource not found was ignored in the errors block
Nice to haves

[ ] Terminal output
[ ] Screenshots

Versions

Terragrunt version: 0.69.13
OpenTofu/Terraform version: terraform v1.9.8
Environment details (Ubuntu 20.04, Windows 10, etc.): MacOS 15.1.1

Additional context
This might quite be the right approach as a bug, but the errors block feels like the right spot for it to be handled.

Hey @MichaelFoleyFZ ,
I don't have a Terraform Cloud account, so I can't reproduce your issue, exactly.
In a setup like this:
$ fd -tf -x bash -c 'echo "# {}" && cat {} && echo'
# ./unit2/terragrunt.hcl
dependency "unit1" {
  config_path                             = "../unit1"
  mock_outputs_allowed_terraform_commands = ["plan", "validate"]
  mock_outputs = {
    data = "def456"
  }
}

inputs = {
        unit_a_data = dependency.unit1.outputs.data
}

# ./unit1/main.tf
resource "terraform_data" "data" {
  input = "abc123"
}

output "data" {
  value = terraform_data.data.output
}

# ./unit1/terragrunt.hcl

# ./unit2/main.tf
variable "unit_a_data" {
  type = string
}

resource "terraform_data" "unit_a_data" {
  input = var.unit_a_data
}

output "data" {
  value = terraform_data.unit_a_data.output
}

I'm able to do a run-all plan at the root of the repository without issue. I do see the following when I run terragrunt output -json in the unit1 directory, which I suspect you might not:
$ terragrunt output -json
10:49:14.346 STDOUT tofu: Initializing the backend...
10:49:14.347 STDOUT tofu: Initializing provider plugins...
10:49:14.347 STDOUT tofu: - terraform.io/builtin/terraform is built in to OpenTofu
10:49:14.348 STDOUT tofu: OpenTofu has been successfully initialized!
10:49:14.348 STDOUT tofu:
10:49:14.348 STDOUT tofu: You may now begin working with OpenTofu. Try running "tofu plan" to see
10:49:14.348 STDOUT tofu: any changes that are required for your infrastructure. All OpenTofu commands
10:49:14.348 STDOUT tofu: should now work.
10:49:14.348 STDOUT tofu: If you ever set or change modules or backend configuration for OpenTofu,
10:49:14.348 STDOUT tofu: rerun this command to reinitialize your working directory. If you forget, other
10:49:14.348 STDOUT tofu: commands will detect it and remind you to do so if necessary.
{}

You can see there that an empty JSON object is returned even though I haven't applied yet. Terragrunt uses that to determine that it should be mocking inputs from another unit. Note that in this scenario, Terragrunt hasn't encountered any error running output from the dependency. It just sees that outputs are empty.
What do you see when you try to run output -json in unit1?

Looks like terraform cloud fails to return an empty object and errors instead
terragrunt --terragrunt-log-level debug output -json
11:44:05.231 DEBUG  Terragrunt Version: 0.69.13
11:44:05.235 DEBUG  Did not find any locals block: skipping evaluation.
11:44:05.237 DEBUG  Did not find any locals block: skipping evaluation.
11:44:05.237 DEBUG  [Partial] Included config ../terragrunt.hcl has strategy shallow merge: merging config in (shallow).
11:44:05.237 DEBUG  Running command: terraform --version
11:44:05.237 DEBUG  Engine is not enabled, running command directly in .
11:44:05.442 DEBUG  terraform version: 1.9.8
11:44:05.442 DEBUG  Reading Terragrunt config file at ./terragrunt.hcl
11:44:05.442 DEBUG  Did not find any locals block: skipping evaluation.
11:44:05.443 DEBUG  Did not find any locals block: skipping evaluation.
11:44:05.444 DEBUG  [Partial] Included config ../terragrunt.hcl has strategy shallow merge: merging config in (shallow).
11:44:05.444 DEBUG  Did not find any locals block: skipping evaluation.
11:44:05.445 DEBUG  Did not find any locals block: skipping evaluation.
11:44:05.445 DEBUG  Included config ../terragrunt.hcl has strategy shallow merge: merging config in (shallow) for dependency.
11:44:05.446 DEBUG  Did not find any locals block: skipping evaluation.
11:44:05.446 DEBUG  Did not find any locals block: skipping evaluation.
11:44:05.446 DEBUG  Included config ../terragrunt.hcl has strategy shallow merge: merging config in (shallow).
11:44:05.447 DEBUG  terraform files in ./.terragrunt-cache/9MEgIme96jJYosRHgwDAVTzkLeY/iHekrlesyyo2BrbT6WZ3yAy62g4 are up to date. Will not download again.
11:44:05.447 DEBUG  Copying files from . into ./.terragrunt-cache/9MEgIme96jJYosRHgwDAVTzkLeY/iHekrlesyyo2BrbT6WZ3yAy62g4
11:44:05.448 DEBUG  Setting working directory to ./.terragrunt-cache/9MEgIme96jJYosRHgwDAVTzkLeY/iHekrlesyyo2BrbT6WZ3yAy62g4
11:44:05.448 DEBUG  The file path ./.terragrunt-cache/9MEgIme96jJYosRHgwDAVTzkLeY/iHekrlesyyo2BrbT6WZ3yAy62g4/terraform.tf already exists, but was a previously generated file by terragrunt. Since if_exists for code generation is set to "overwrite_terragrunt", regenerating file.
11:44:05.448 DEBUG  Generated file ./.terragrunt-cache/9MEgIme96jJYosRHgwDAVTzkLeY/iHekrlesyyo2BrbT6WZ3yAy62g4/terraform.tf.
11:44:05.449 DEBUG  Running command: terraform init
11:44:05.449 DEBUG  Engine is not enabled, running command directly in ./.terragrunt-cache/9MEgIme96jJYosRHgwDAVTzkLeY/iHekrlesyyo2BrbT6WZ3yAy62g4
11:44:05.493 STDOUT terraform: Initializing HCP Terraform...
11:44:09.388 STDOUT terraform: Initializing provider plugins...
11:44:09.389 STDOUT terraform: - terraform.io/builtin/terraform is built in to Terraform
11:44:09.389 STDOUT terraform: HCP Terraform has been successfully initialized!
11:44:09.389 STDOUT terraform:
11:44:09.389 STDOUT terraform: You may now begin working with HCP Terraform. Try running "terraform plan" to
11:44:09.389 STDOUT terraform: see any changes that are required for your infrastructure.
11:44:09.389 STDOUT terraform: If you ever set or change modules or Terraform Settings, run "terraform init"
11:44:09.389 STDOUT terraform: again to reinitialize your working directory.
11:44:09.390 DEBUG  Running command: terraform output -json
11:44:09.390 DEBUG  Engine is not enabled, running command directly in ./.terragrunt-cache/9MEgIme96jJYosRHgwDAVTzkLeY/iHekrlesyyo2BrbT6WZ3yAy62g4
╷
│ Error: could not read state version outputs: resource not found
│
│
╵
11:44:13.384 ERROR  terraform invocation failed in ./.terragrunt-cache/9MEgIme96jJYosRHgwDAVTzkLeY/iHekrlesyyo2BrbT6WZ3yAy62g4
11:44:13.384 ERROR  error processing error handling rules: error occurred:

* Failed to execute "terraform output -json" in ./.terragrunt-cache/9MEgIme96jJYosRHgwDAVTzkLeY/iHekrlesyyo2BrbT6WZ3yAy62g4
  ╷
  │ Error: could not read state version outputs: resource not found
  │
  │
  ╵
  exit status 1

Terraform cloud seems to only return outputs if you have run at least one apply against the cloud., other wise it fails on the output return

To close the loop on this, I'm not sure the errors block should do anything to help with this edge case.
Other providers don't encounter this issue, and I'm inclined to say it's a bug in the Terraform cloud remote backend, as it breaks the pattern established by other remote backends. I wouldn't want dependencies to treat empty stdout with stderr content as the same thing as an empty json object, as that would indicate a problem with the backend for everything else.
For now, I think your options are to:

Use a different backend.
Only plan units without unapplied dependencies.
Find some way to apply empty configurations using a before_hook so that you get a valid response from output.

Yeah totally fair call, it felt like a bit of a cludge in using errors for something that the user has no control over with the outputs lookup.
We will probably be looking at using a different backend in the future, so might just look at a before_hook as a temp workaround, thanks for looking into it.


Add typespecs

This PR adds type specs to public functions as requested in #84

Hello, i updated the code with the changes you requested can you please check it again to see if anything else needs to be done.


How to create feedstock for perl packages

I want to create a feedstock for https://github.com/cmhughes/latexindent.pl . It, however, makes use of several Perl packages. I think that the conda-style is to add feedstocks for each of this packages, such that finally latexindent.pl can just depend on those dependencies.
My question is: how should this be done? In particular, where does Perl look? And how can I use Perl to install in the correct location (in the conda environment)? I.e. what is the perl equivalent of python -m pip install . or cmake  -DCMAKE_PREFIX_PATH:PATH=${PREFIX} -DCMAKE_INSTALL_PREFIX:PATH=${PREFIX} .?

Not really an answer, but for future reference : https://github.com/conda-forge/latexindent.pl-feedstock

Cross reference : https://github.com/conda-forge/conda-forge.github.io/pull/1790


GridFS adapater

Are you planing to create an adapter to save files in MongoDB?
We are planing to migrate from CollectionFS to this package but we need to save files in DB by default to make installations more easy.
Maybe I can help you to create this package, I did somethings with GridFS https://github.com/RocketChat/Rocket.Chat/blob/master/packages/rocketchat-file/file.server.coffee

Hi @rodrigok, I would appreciate for sure any help from good devs (I like clean work ;-).
Thank you for your help, we can work on it together, here is the repository containing the ufs-gridfs package ready to work on : https://github.com/jalik/jalik-ufs-gridfs

Nice @jalik, I'll work on it ASAP :smiley:

Hey @jalik, do you have a test project?

Hi @rodrigok, I've just created a simple one, you can use it to work :)
https://github.com/jalik/ufs-example

Thanks @jalik

@jalik I need more information of file in method getWriteStream.
I saw that you has this information here https://github.com/jalik/jalik-ufs/blob/master/ufs-uploader.js#L55 but you don't use it.
Can you change it to pass this information to method ufsComplete and then to method store.getWriteStream?
I did my first work with GridFS adapter, you can see here https://github.com/rodrigok/jalik-ufs-gridfs

@rodrigok, the file object is passed to the Uploader to be inserted before actually uploading, you missed it but I use the file object here : https://github.com/jalik/jalik-ufs/blob/master/ufs-uploader.js#L177
Since the inserted file does not change from the beginning of the upload until the end, I don't see why it should be passed to ufsComplete method, BUT if what you want is getting file info like content-type, I can pass the file object that I get directly from database before calling store.getWriteStream with the file object as second argument :
ufsComplete: function(fileId, storeName) {
    // ...
    var file = this.getCollection().findOne(fileId);
    // This is what you need
    store.getWriteStream(fileId, file);
    //...
}

I did read your code on ufs-gridfs, nice work, clean and concise ! ;-)

:smile_cat:
Thanks @jalik, when you will upload to atmosphere?

@rodrigok, I will commit when the problem with transformRead will be solved, so very soon.

If you need help with transformRead you can describe it more and I will try to help you :)

Implemented in ufs-gridfs store : https://github.com/jalik/jalik-ufs-gridfs


[1.20.1] Crash with Rubidium while scrolling JEI pages.

("GhostVertexBuilder cannot be cast to class me.jellysquid.mods.sodium.client.render.vertex.VertexBufferWriter")
Versions:
MC: 1.20.1
Forge(not Neo): 47.1.3
Hostile Neural Networks: 5.1.3 | https://www.curseforge.com/minecraft/mc-mods/hostile-neural-networks/files/4711380
Placebo: 8.3.5
Rubidium: 0.6.5
JEI: <IP_ADDRESS>
EMI: 1.0.19 (happens without too, just JEI.)
Crash Reports
Link with EMI: https://gist.githubusercontent.com/Gbergz/b74cbe71a550ee87d9971a2db281dfa6/raw/c365dcc299b373197222bf974ac2d5709a3ed3f9/gistfile1.txt
With just JEI: https://gist.githubusercontent.com/Gbergz/41dafd9bdd1b28f49c943e8938059e3e/raw/a435640e185ce449eccd0c189b163f0aa0a1c8e0/gistfile1.txt
Crash Report when right clicking an entity to build a data model:
https://gist.githubusercontent.com/Gbergz/91d4a26cc9df89753aa53955d89b9ec9/raw/dd0de620d8a3781baf935535fd0aebe70f6ce6b4/gistfile1.txt
Other info:
Seems to be ticking some datamodel from Twilight Forest, specifically an entity with ID: twilightforest:stable_ice_core.
EDIT:
Seems to be any datamodel.

Exactly the same here.
MC: 1.20.1
Forge(not Neo): 47.1.3
Hostile Neural Networks: 5.1.3
Placebo: 8.3.5
Rubidium: 0.6.5
Rubidium Extra: 0.4.20-build.91
JEI: <IP_ADDRESS>
Crash Report: https://gist.githubusercontent.com/MatheusAmelco/70807f51e623231cb73a2e3c2a9a27b3/raw/69e11c6f0cfe9b4a69c4b34bf888dee38304a73b/crash-2023-08-19_17.26.05-client.txt

That's a rubidium bug, I cannot fix it.


init_params in v.0.30.1

Dear Turing,
I upgraded turing from v0.29 to v0.30 and seems that v0.30.1 does not consider init_params. for example, the following worked well in v.29.3 within a few seconds but took a very long time in v0.30.1.
@model function demo()
                 X = Vector{Real}(undef, 30)

                 for i in 1:length(X)
                         X[i] ~ Uniform(0,1)
                 end

                 for i in 1:(length(X)-1)
                      if !(X[i] < X[i+1])
                          Turing.@addlogprob! -Inf
                          return
                      end
                  end
              return X
       end

chain = sample(demo(), NUTS(100,0.65), 10000, init_params=range(0.01,0.99,length=30))

actually, it gave me a warning msg saying that "try to provide initial values of the parameters by init_params".
Would you please mind having a look at it? Thank you much!

The keyword argument was changed to initial_params: https://github.com/TuringLang/Turing.jl/issues/2150#issuecomment-1875220643

The keyword argument was changed to initial_params: #2150 (comment)

Thanks so much! It worked well.


profiler aarch64 support

As reported in our forum.
It seems that trying to use async-profiler on aarch64 architecture fails with the following message:
Caused by: java.lang.UnsatisfiedLinkError: /usr/bin/libasyncProfiler-linux-arm-672c6dfb97228a24cd9de46d11a995ed.so: /usr/bin/libasyncProfiler-linux-arm-672c6dfb97228a24cd9de46d11a995ed.so: wrong ELF class: ELFCLASS32 (Possible cause: can't load ARM .so on a AARCH64 platform)

However, async-profiler should support aarch64 as it's part of the supported platforms
This should be reproducible by enabling the profiler on an aarch64 machine with ELASTIC_APM_PROFILING_INFERRED_SPANS_ENABLED=true

I guess we'd need to bundle the musl-x64 binaries. ATM, we try to load the ARM binaries on aarch:
https://github.com/elastic/apm-agent-java/blob/951b5fff8863a7d1a0816c43b16ac920006e315c/apm-agent-plugins/apm-profiling-plugin/src/main/java/co/elastic/apm/agent/profiler/asyncprofiler/AsyncProfiler.java#L105-L106

Aarch64 requires a separate binary. Will publish it shortly.

Done. Release 1.8.1 now includes the package for aarch64.


pprof: load symbol when init PProfService

We guess it is likely that there is something wrong with this lazy loading symbol map. When process's memory is too large, this operation, which forks 'nm' subprocess several times, will make some troubles, such as spikes.

This mod adds a delay for all servers which may not need the profiler, please time the LoadSymbols function for several regularly-sized binaries(100MB~200MB) to see if the delay is acceptable.

Is it possible to parse the elf file's symbols, instead of using 'nm'? I think it can both load symbols lazily and no need to fork a subprocess. But I'm not sure if there are some problems like platform compatibility or something else.


Support for external templates with require

Feature request.
Please, add support for external templates that are included using webpack's require:
    template: require('./component.template.html'),

This is an additional syntax which is webpack specific. Angular CLI, for instance, does this inlining as part of the build process. This seems reasonable to me, because you're able to write build system agnostic code and later couple it with the specific bundler.
I think this should be kept outside codelyzer.


WS_OPEN_ERROR_UNDERLYING_IO_OPEN_FAILED

Issue: Intermittent Connection Failure in Speech Service
Error Details:
{
  "Reason": 1,
  "ErrorCode": 5,
  "ErrorDetails": "Connection failed (no connection to the remote host). Internal error: 1. Error details: Failed with error: WS_OPEN_ERROR_UNDERLYING_IO_OPEN_FAILED\nwss://eastus.s2s.speech.microsoft.com/speech/translation/cognitiveservices/v1?from=en-US&to=en-US\nX-ConnectionId: 9a04fc547d5543df93e19d3c2e75fbe7 SessionId: 9a04fc547d5543df93e19d3c2e75fbe7",
  "Result": {
    "Translations": {},
    "ResultId": "1d304b3ea84e4700b100ab9fcfebf9f7",
    "Reason": 1,
    "Text": "",
    "Duration": "00:00:00",
    "OffsetInTicks": 0,
    "Properties": {}
  },
  "Offset": 0,
  "SessionId": "9a04fc547d5543df93e19d3c2e75fbe7"
}

Problem Description:
The error occurs intermittently during operation, resulting in failed connections to the Speech Service endpoint. The issue is specifically tied to WebSocket errors (WS_OPEN_ERROR_UNDERLYING_IO_OPEN_FAILED) while attempting to connect to:
wss://eastus.s2s.speech.microsoft.com/speech/translation/cognitiveservices/v1
The X-ConnectionId and SessionId details vary, but the error consistently points to underlying I/O connection failures.
Environment Details:
Microsoft.CognitiveServices.Speech Version: 1.38.0
Platform: Linux
SKU/Size: PremiumV3 (P1v3)
Questions:

What could be the potential cause of this intermittent connection failure?
Are there any specific configurations or optimizations needed to resolve this?
Could this be related to service throttling, regional network issues, or specific platform limitations?

4599320_824599297351: CANCELED: ErrorDetails=Connection failed (no connection to the remote host). Internal error: 1. Error details: Failed with error: WS_OPEN_ERROR_UNDERLYING_IO_OPEN_FAILED
wss://eastus.stt.speech.microsoft.com/speech/universal/v2?storeAudio=true
X-ConnectionId: c3cb4e0c1f3247d188f2da3e41d17dba SessionId: c3cb4e0c1f3247d188f2da3e41d17dba


API now requiring namespace on rule creation (breaking change)

Environment details:
Running the Mac CLI against the Bluemix API:
whisk CLI version	2016-10-11T11:00:00+00:00
whisk API build		2016-12-01T16:15:42Z
whisk API build number	whisk-build-2174-accelerate1

Steps to reproduce the issue:
Yesterday I was able to create a new rule linking an action to a trigger by running the following commands. This no longer works.

wsk action create handler handler.js
wsk trigger create every-20-seconds --feed /whisk.system/alarms/alarm --param cron "*/20 * * * * *"
wsk rule create invoke-periodically every-20-seconds handler

Provide the expected results and outputs:
ok: created rule invoke-periodically

Provide the actual results and outputs:
error: Unable to create rule 'invoke-periodically': The request content was malformed:
requirement failed: The fully qualified name of the entity must contain at least the namespace and the name of the entity. (code 11978)

Additional information you deem important:

This worked with the whisk API build before 12/1

This was solved by downloading the latest CLI.
Perhaps a better error message to prompt the user to upgrade?

Hmm. This should not be a breaking change.

This is an inadvertent breaking change in that my intention was to preserve the previous behavior but I did not have the right test in place. I've addressed the issue with this proposed change (and the accompanying test): https://github.com/openwhisk/openwhisk/commit/cffa53bdaf679cd7fe825a06a5d587d680bfee88#diff-c7a6ca91e16420b15c39ab67b4584401R289).
However, after further consideration, allowing this for rules only is asymmetric - in that for other API operations that permit references to entities, we do require a fully qualified name. This is true for a sequence components and for a package binding. Hence for consistency, I am inclined to close as won't fix in the API and instead resolve by documenting that a CLI upgrade is required instead.
@jthomas does npm openwhisk provide fully qualified names on rule creation? If not, the library is also affected by this change.

@rabbah The module relies on the user to provide the correct name format for triggers and actions.
https://github.com/openwhisk/openwhisk-client-js/blob/master/lib/rules.js#L35
I think the API change above is more consistent.
I would change the library to still allow for unqualified names and default to providing a fully-qualified name in the request using the namespace parameter.
Let me know when this goes in and I'll work on it.

Closing with no action - when creating a rule via the API, one must provide the fully qualified name (consistent with other entities).


Changing combo sprites via a lua script

Describe your problem here.
Hello, I was just wondering if I can change the combo sprites in Lua, for just 1 song in a mod I'm working on and be able to change them back to a different sprite when i want too.
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows x64
Did you edit anything in this build? If so, mention or summarize your changes.
no

You can edit ratings (#9413) but not combo counter, you'll have to recreate it

You can edit ratings (#9413) but not combo counter, you'll have to recreate it


improvement on lpl.subplots and tooling

improve docstring of lpl.suplots
improve logic of lpl.subplots
improve tooling:

add yaml formatting to pre-commit
add other minor pre-commit hooks
fix ruff config
add dependabot for github workflows
add mypy-lsp config

fix previously unnoticed ruff errors
update badges

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

9 of 9 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
153

Relevant Lines:
153

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

8 of 8 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
152

Relevant Lines:
152

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

8 of 8 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
152

Relevant Lines:
152

💛  - Coveralls


Error when trying to upload the .oap file with a trial account

When I try to import the .oap file in my trial account I get the error from the image attached.

FYI: https://www.outsystems.com/forums/discussion/65471/import-open-application-created-from-personal-environment/


BigDecimal is not supported in multi-module generator

When running integration tests with the multi-module generator, this code:
public BigDecimal getBalance() {
    return bankService.getBalance();
}

is translated to
function getBalance_1(init?: EndpointRequestInit_1): Promise<unknown> {
    return client_1.call("BalanceEndpoint", "getBalance", {}, init);
}

BigDecimal was mapped to number in the old generator.

I'm quite sure number isn't the right representation for BigDecimal since the reason for using BigDecimal rather than e.g. Double on the Java side is that you'd want to have more precision than what's offered by 64-bit floating point. Since JS doesn't (yet) have arbitrary-precision decimal numbers, the most accurate representation would most likely be as a string. The main reason for doing that as a regular JS number would thus be to maintain backwards.


Create modular API plug-in framework

Thank you for this fantastic project.
We are exploring using it and customizing for our purposes. The documentation at https://docs.gitea.io/en-us/hacking-on-gitea/ is immensely useful.
We would love to have a modularized way to customize API endpoints and UI features. The module would contain everything related to that endpoint / customization, including specification, code, localization, documentation etc, would ideally exist in its own directory located anywhere on the build system, and would be automatically included with the addition of a build tag, env var or similar mechanism that did not need to modify any tracked assets. This modularized approach would seem to be useful both for streamlining the development of new APIs or UI elements, regardless of whether they will be added to the library code base.
We would happily pay a bounty, especially if this feature could be rolled out quickly.
Thoughts?

Closing as dupe of https://github.com/go-gitea/gitea/issues/2222


Only fill in pages if at least one link from first page is not dead

Problem

If we make a request to ES for 20 items and find that any of them are dead, we attempt to "fill the page in" with subsequent "deeper page" queries. If all the links for a query are dead, this means we will slam ES with tons of fast queries to try to fill in the page.
Description

Kudos @obulat for the idea. We should not try to fill pages if all of the links on the first page are dead.
Additional context
We are also working on excluding providers that account for a large number of dead links.
Implementation

[ ] 🙋 I would be interested in implementing this feature.

Some relevant discussion here: https://github.com/cc-archive/cccatalog-api/issues/565


Amend migration to catch 'None' as well as 'NA'

Publications with the string value "None" for DOI_ISBN aren't being caught in the same way that "NA" or "" are, so they are being saved as a whole new Publication type
 for key, value in new_dict.iteritems():
        if value == "NA":
            new_dict[key] = None
        if value == "":
            new_dict[key] = None

Ok, please can you send me a new list of the populations once you have amended this :)


Disallow cross-origin DELETE and POST requests.

@fabxc

:+1:

I'm not sure it's safe to allow DELETE and POST. Especially with the new API changes for deleting of metrics etc.

@discordianfish That's exactly the reason why I disallowed them.


Generator called from CLI is not being found

In 1.3.3, I can use yo like:
yo generator my-generator

But after update to 1.4.0 will response:
Error generator

You don't seem to have a generator with the name generator installed.
You can see available generators with npm search yeoman-generator and then install them with npm install [name].

I do have generator-generator installed globally, also yo --help list nothing beneath like 1.3.3
And interactive usage looks normal:
? 'Allo Taian! What would you like to do? (Use arrow keys)
  Run a generator
❯ Generator
  Rf
  ──────────────
  Update your generators
  Install a generator
  Find some help
  Get me out of here!
  ──────────────

Envorinment
node: v0.10.35
npm: 2.1.18
yo: 1.4.0

I confirm that. Help is empty and generators are not found. Downgrading to 1.3 helps. Having CI test as a part of the fix would be great - I will try to take a look on this.

Having this issue as well with 1.4.0 and a local generator installed via npm link.

Sorry about that. I've pulled the update. We should definitely have regressions tests before doing another release.
You can downgrade by running: npm install --global<EMAIL_ADDRESS>

Hi, did the commits fix this? Because I'm still having trouble in 1.4.5

@m3hr run yo doctor

Yeoman Doctor
Running sanity checks on your system

✔ Global configuration file is valid
✔ No .bowerrc file in home directory
✔ No .yo-rc.json file in home directory
✔ NODE_PATH matches the npm root

Everything looks all right!

For the record, I'm running the latest io.js installed from nvm. Is io.js not officially supported?

@m3hr didn't test myself with io.js, but my guess is that it should just work.
My guess is that you might have multiple npm versions running in different context and installing packages in different location. Maybe setting the NODE_PATH env variable manually to the npm global installation will fix it.

Like the OP, running yo --help does spit out a list of generators I'm using, so they seem to be in the right place? And I triple checked my NODE_PATH variable, though the .npm folder in my root directory than the node_modules folder in nvm, but I'm guessing this is how it is supposed to be.

@m3hr you're on windows?

Ubuntu 14.10 lol

@m3hr I don't really have time ATM to debug this. If you can dig in, it'd be nice.
The thing to know is the generators are found by yeoman-environment (the resolver module). And they're used from yo on the run route. Maybe you can debug and inspect the states and help pointing the wrong state.

Yeah, sorry, I didn't really want to take up your time. I'll see what I can do.

I read through some of the code, it seems that by default yo looks for index.js in the module folder but not the app/ directory (which my generators have), though there's another function to create path aliases, so I think it should work. I also tried node instead of io.js and it still didn't recognize it.

@SBoudrias I FIGURED IT OUT. I had to do yo generator:app:index instead of just yo generator. I'm not really sure why other than the resolver module not checking when there is a different hierarchy. Thanks for the info!

Ok, this is probably another issue than the one initially reported, but that's still a bug. Is your generator on github?

I tested https://github.com/julien/generator-phaser and https://github.com/yeoman/generator-ember

io.js support have been fixed recently BTW :)


Browse files from server froala

I want to browse files from my server. But, by default, images are being served from froala server.

Please follow the guides from our website for that: https://www.froala.com/wysiwyg-editor/docs/concepts/image/manager.


Getting fetch support for onreadystatechange

Hello; can you explain more about why you think this change is necessary?
We tend to not accept pull requests without any explanation. Thanks!

On some enviornment such As Qt doesn't support for onload but support for onreadystatechange
And it's support for ArrayBuffer but doesn't support for Blob.

The onload handler has been working well in production for our supported browser list for a couple years, so I'm reluctant to make this change now.


How to change the title of the action bar?

Hello friend.
First of all, I want to thank you for your excellent contribution.
I would like to know how to change the title of the Action Bar,
as well as those labels that appear in the Action Bar. Thanks in advance.

Thanks @Dereckz
I have been busy with some other projects. I will look into issue at once and provide you solution asap.

Te agradezco tu respuesta.


framework generates bad include statements

What happened?
Lets start off by saying: I'm not entirely sure i'm doing things correctly.
it seems to render out placeholder domain names in the imports
e.g.  "example.com/pulumi-greetings/sdk/go/greetings/internal"
instead of the correct  "my.domain.name/pulumi-greetings/sdk/go/greetings/internal"
Example
go mod init my.domain.com/pulumi-mymodule
copy the hello-world example to main.go
update the name: p.RunProvider("greeter", "0.1.0", p.RunProvider("mymodule", "0.1.0",
add imports:
package main
import (
    "fmt"
    "context"
    "strings"

    p "github.com/pulumi/pulumi-go-provider"
    "github.com/pulumi/pulumi-go-provider/infer"
)

go get the modules:
go get github.com/pulumi/pulumi-go-provider/infer
go get github.com/pulumi/pulumi-go-provider
go build
let it render out sdk files:
pulumi package gen-sdk --logtostderr ./pulumi-mymodule
this renders out bad import statements:
// Code generated by pulumi-language-go DO NOT EDIT.
// *** WARNING: Do not edit by hand unless you're certain you know what you are doing! ***

package greetings

import (
        "fmt"

        "example.com/pulumi-mymodule/sdk/go/mymodule/internal"
        "github.com/blang/semver"
...

Output of pulumi about
pulumi about
CLI
Version      3.131.0
Go Version   go1.23.0
Go Compiler  gc
Host
OS       fedora
Version  40
Arch     x86_64
Backend
Name           fedora
URL            file://~
User           ratty
Organizations
Token type     personal
Additional context
my go env:
GO111MODULE=''
GOARCH='amd64'
GOBIN=''
GOCACHE='/home/ratty/.cache/go-build'
GOENV='/home/ratty/.config/go/env'
GOEXE=''
GOEXPERIMENT=''
GOFLAGS=''
GOHOSTARCH='amd64'
GOHOSTOS='linux'
GOINSECURE=''
GOMODCACHE='/home/ratty/go/pkg/mod'
GONOPROXY=''
GONOSUMDB=''
GOOS='linux'
GOPATH='/home/ratty/go'
GOPRIVATE=''
GOPROXY='direct'
GOROOT='/usr/lib/golang'
GOSUMDB='off'
GOTMPDIR=''
GOTOOLCHAIN='local'
GOTOOLDIR='/usr/lib/golang/pkg/tool/linux_amd64'
GOVCS=''
GOVERSION='go1.22.6'
GCCGO='gccgo'
GOAMD64='v1'
AR='ar'
CC='gcc'
CXX='g++'
CGO_ENABLED='1'
GOMOD='/gits/dwse/ops/pulumi-providers/pulumi-mymodule/go.mod'
GOWORK=''
CGO_CFLAGS='-O2 -g'
CGO_CPPFLAGS=''
CGO_CXXFLAGS='-O2 -g'
CGO_FFLAGS='-O2 -g'
CGO_LDFLAGS='-O2 -g'
PKG_CONFIG='pkg-config'
GOGCCFLAGS='-fPIC -m64 -pthread -Wl,--no-gc-sections -fmessage-length=0 -ffile-prefix-map=/tmp/go-build4086847819=/tmp/go-build -gno-record-gcc-switches'
Contributing
Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

Hi @Joerit. Unfortunately, Go requires the code to know where it lives. You need to set the Go import base path to where your SDK is hosted:
This is how pulumi-command does it.
It would look like:
	return infer.Provider(infer.Options{
+		Metadata: schema.Metadata{
+			LanguageMap: map[string]any{
+				"go": map[string]any{
+					"importBasePath":                 "my.domain.name/pulumi-greetings/sdk/go/greetings",
+				}
+			}
+		}

@iwahbe that's exactly what i was missing
thank you for linking to that pulumi-command repo, there's a lot of example there


Feature Request: Can you add a multi select view ?

For Reference: https://www.npmjs.com/package/react-native-multi-selectbox
Feature Request:
There aren't any material multi-select for react native using react native paper.

Sounds good, will be releasing next major release with this.

with a search bar, or can you help me build it i am stuck at handling state of the dynamic checkbox, i am using checkbox to select multiple data when i console log the state of checkboxes are changed but it isn't updating the checkbox icon when i reload the app it shows the updated view

I am thinking implementation like this will be better, the above image is from react material ui.

yes i am trying to implement the same thing inside the react native paper dialog. but the thing is that, when i click the checkboxes it does update the array which holds the checkbox's checked state, i can see the log in the terminal, but it isn't updating the checkbox icon, if i save my code metro hot reloads and i can then see the updated checkbox icons.

Any idea how to custom template or React Native Paper Chip inside Textinput ???

This looks very raw, adding selected elements as chip would make it complete

For now will be displaying comma separated TextInput.


I want to to do prediction on a single image.

the attachment is my prototxt,but the result is the same as the original,it seems that nothing happened?  what's wrong?
test_val_for_application.proto.txt

@dongzhuoyao ,hi,i can not download the vgg16_20M.caffemodel through the shell './get_DeepLab_LargeFOV_voc12_data.sh' or just from the url 'http://ccvl.stat.ucla.edu/ccvl/init_models/vgg16_20M.caffemodel'.can you email me the vgg16_20M.caffemodel?my email is mkfine@zju.edu.cn,thanks.


Adding some static blocks and gamepedia links.

This PR adds the following new blocks:

Bone
Jukebox
IronBars
SoulSand
Netherrack
Hay
JackOLantern
Leaves
Magma
Melon
Pumpkin
QuartzOre
Quartz
TNT
WaterLily

In addition it adds summaries to all (common) block types. I wasn't sure how to handle the different door types, so I'm open for suggestions (looking forwards to trapdoors and other multiblocks)
An unnecessary check got removed and the .idea-folder from the IDE Raider got it's place in the .ignore file.

There are still some comments wrong... Will fix now

This looks great. Thanks for the contribution. I'll merge as soon as you make the couple of changes that I put in comments. Or I can merge and fix myself, whichever you prefer.

I will fix it.

Thanks!


Are we still using the Docker Extension ? I though microsoft stopped using it ?

Not sure whether we are using the docker extension and why that is still mentioned in the document .
Might need better documentation for understanding the extensions using templates.
I followed the documentation and cannot install a OMS linux extension on VMSS and VM .
Can we use the above the scenario for VMSS too ?

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

ID: f5a34cdf-219a-f1b6-8bd0-929c110953b4
Version Independent ID: 19dfbb00-7bb4-f8e9-a6bb-53689dc7417e
Content
Content Source
Service: virtual-machines-linux

Thanks for your feedback. We will investigate and update on it soon.

@akramwaseem can you share some more information regarding the docker extension not being supported? I am not finding any information about it that would lead me to believe it has been deprecated.
As per installing extensions on VMSS the process is similar but some commands are different. Suggest you review this doc about VMSS Extensions: https://docs.microsoft.com/en-us/cli/azure/vmss/extension?view=azure-cli-latest
Finally, when you say you cannot install OMS what do you mean? Are you getting an error? If so, what? And I assuming you are following this doc? https://docs.microsoft.com/en-us/azure/virtual-machines/linux/extensions-oms

@micahmckittrick , I am trying to install the OMSAgent extension through ARM Template for VMSS and VM and I was able to see the extension got installed but it is not pushing logs to loganalytics.
I did some debugging and I found that OMI server is not running. I mean OMI server , agent, engine are not running. I tried the scenario 3 to 5 times and it is the same issue every time.

Thanks for the update @akramwaseem! Sorry to hear you are having issues with the OMI extension. Glad to hear you were able to open a ticket with them. Having the ability to work with you one on one I am sure they will be able to help you get it figured out.
In regards to the docker extension, I did some digging and you are right! Reviewing their GitHub repro I found the Docker Extension for Linux has been deprecated:
https://github.com/Azure/azure-docker-extension
Here is what is stated:

Docker extension for Linux is deprecated.
DockerExtension is deprecated and will be retired November 2018.
We believe the are better alternatives to this extension. The extension merely installs Docker, so alteratives such as cloud-init or the CustomScript extension are a better way to install the Docker version of choice.

So it appears this extension is deprecated but will not be retired until this November. So we should absolutely add this information to the document. Good catch!
@danielsollondon can you take a look and consider updating this doc to reflect the fact that the docker extension will be removed in Nov 2018?

Hi @akramwaseem . I've created a PR that adds a note stating the Docker VM extension is deprecated and will be retired in November 2018. What the PR merges, this issue will automatically close. The doc update itself should then go live later on today.


Using ID as part of the slug

I'm trying to create slugs that start with the ID - so we'd be able to lookup by ID but keep potentially changing slugs in the URLs. eg. /posts/101-my-post-slug
In the config file, I have:
'build_from' => ['id', 'title'],

Only the title is used. If I specify different fields, they seem to work too. It's just ID that doesn't want to work.
Is there something I've done incorrectly?
Thanks

Hi @cviebrock
I'm interested in doing something similar, but I would rather keep the id and slug within the same piece of the url.  In my case I am encoding the model ID to obfuscate the post number.  So 'blog/1' would become 'blog/xRgre-Title-of-blog-post'.
As you said, at the time the model is saved there is not yet an ID, so that part is ignored, but if I resluggify it works great.  This is what I am currently doing:
$blog->save();
$blog->resluggify();
$blog->save();
My question is, can I do something within Slugify or within my Model to do the second save automatically?  I would to just $blog->save() throughout my controllers have something else handle the rest.  Maybe using events or binding?

For posterity, here's how I solved this issue. Keep in mind using this will fire off the model saved Event with the slug still null or its previous value. If that doesn't work for your use case you'd just have to add some more logic into the saving method somewhere.
SluggableExtended
trait SluggableExtended
{
    use Sluggable {
    }

    // Overwrite this method
    public static function bootSluggable()
    {
        static::observe(app(SluggableExtendedObserver::class));
    }

    // Added for re-saving after slugged without firing saved event
    public function saveWithoutEvents(array $options=[])
    {
        return static::withoutEvents(function() use ($options) {
            return $this->save($options);
        });
    }
}

SluggableExtendedObserver
class SluggableExtendedObserver extends SluggableObserver
{
    public function saving(Model $model)
    {
        //return $this->generateSlug($model, 'saving');
    }

    public function saved(Model $model)
    {
        $generateReturn = $this->generateSlug($model, 'saved');
        $model->saveWithoutEvents();
        return $generateReturn;
    }
}


Ranks across server

Hello i have problem i setuped server i made bungee and spigot. But when i change like rank of player on one server it doesnt update on other server how to fix that.
Spigot luckperms config: https://pastebin.com/XZNSbG5F
Bungee luckperms config: https://pastebin.com/Uyytnipv

Your issue is, that both plugins aren't connected to the same Database.
Ranks will only update accross servers, if they share the same Database (like f.e. MySQL).
Read the Network installation page for more information.

I think i found out i forgot to set to mysql instead of h2 but when i change to mysql it says it cannot connect to mysql service i checked if i put in right info and i did im gonna ask my mysql hoster if there is connection problem

Had the same issue once....
Try to change the adress to <IP_ADDRESS> (IP for localhost if your MySQL is on the same server)

still doesnt work it says its connected

i have question how can i saved info as H2 transfer to mysql?

Check the „Changing Storage Type“ page on the wiki ;)


Exporting .xls file

Hello,
We just tried export to excel feature and its working fine with Filename.xlsx
But is there any way that we can make it Filename.xls

Not really - because it is an xlsx file.
You'd need to rewrite it to create the old binary format if you wanted to use true xls.
Why would you want to use xls over xlsx?

Actually system on which our web site is hosted is not supporting xlsx. Thats why i am looking for xls one.

The site hosting shouldn't have any effect since the file is built on the client-side.

Going to close this for now, as xls support is not currently on the roadmap.


Analytics tweaks for flutter_tool

[ ] Build an analytics dashboard, summarizing the measurements we're watching
[ ] Measure what OS our developers are using when developing
[x] Measure which mobile OS our developers are targeting
[ ] Check that our bots are not sending analytics pings
[x] whitelist the codelab branch
[x] Learn how long an analytics session is
[ ] Filter out, or disable, flutter engineers
[ ] Disable analytics pings when our tools call our tools (e.g. flx) (tracked: https://github.com/flutter/flutter/issues/3862)

cc @devoncarew

Looks like a session ends after 30 mins of inactivity, and its adjustable.

No analytics on bots: https://build.chromium.org/p/client.flutter/builders/Linux/builds/935/steps/setup.sh/logs/stdio and https://travis-ci.org/flutter/flutter/builds/130140833#L312.

@sethladd, I think we've accomplished the bulk of what this bug was tracking; ok to close?

We did great! Let's call this done for now. Thanks!


Implement skorch-based training pipeline

Overview
Use skorch's library to change training pipeline. This way, we can rely on scikit-learn for metric logging rather than ignite. ignite implementation is still important in #1, so this should be implemented as it's own module
Subtasks

[ ] Create metrics

This includes AUC, Accuracy, Precision, Recall, and F1-score. Loss may or may not be included, we'll see

[ ] Create callbacks

A custom callback will need to be created for using MLflow and maybe AzureML we'll see, need to look further into the documentation

[ ] Create skorch based training script.

The ignite based training should likewise be moved to another script for simplicity of code

Additional resources

https://skorch.readthedocs.io/en/stable/user/tutorials.html
https://nbviewer.org/github/skorch-dev/skorch/blob/master/notebooks/Basic_Usage.ipynb
https://github.com/skorch-dev/skorch/blob/master/notebooks/Transfer_Learning.ipynb
https://nbviewer.org/github/skorch-dev/skorch/blob/master/notebooks/Hugging_Face_VisionTransformer.ipynb
https://nbviewer.org/github/skorch-dev/skorch/blob/master/notebooks/Advanced_Usage.ipynb
https://skorch.readthedocs.io/en/stable/skorch.html

Was a fun consideration, but not likely to implement. Too specific and too much additional implementation to warrant the pay off. But using [torchmetrics](https://lightning.ai/docs/torchmetrics/stable//index.html) seems to be a different more promising way to collect metrics, we'll see.


transition animation looks wierd

when the crawling transition plays the player's head bobs and if the player is wearing a cape it goes through the body
here is a video showing the different angles

What about this? It's simpler

that looks great! I feel like it would match up with the swimming animation and it looks a lot minecraftier.


Fix Android Studio sync / build or provide build instruction.

Hi, I was looking to debug the app to fix my issue, but I'm unable to build the app.

Many dependencies failed to resolve (old tachi deps, jcenter deps, etc.)

By disabling the shortcut helper plugin I can try syncing but then it fail to resolves

AGP upgrade doesn't work (seems that the upgrade assistant is unable to find AGP version in build files).

How to reproduce :

Clone TachiAZ
Open it in Android Studio
Try to sync project (fail)

I understand that this project is under low maintenance given the drift with the mainline. But it's the only tachi fork that truly support older devices and provide good features like proper language filtering from extensions and saving filters. I'm willing to spend time to at least fix the issues I encounter while using it and provided pull requests but I'm unable to since I can't get it to build.
Have a great day.

You can replace the unresolved dependencies with the following:

org.tachiyomi:source-api:1.1
uy.kohesive.injekt:injekt-core:1.16.1

For FlexibleAdapter, you'll need to add the module manually from its repository:
[FlexibleAdapter on GitHub](https://github.com/davideas/FlexibleAdapter).
Regarding the other unresolved dependencies, I’m not familiar with them as I don’t use them in my project. However, I recommend checking other Tachiyomi forks to see which versions they are using. You might find the latest compatible versions there.

Thanks a lot @az4521 !


[textview] add bgcolor tag support

Now I need to add a background color to the specified text, like this:

But the TextView currently only supports changing the text color, so, we need to add support for setting the text background color.

Done, but text render has segment fault, need to fix.


Runtime Error if validation_step is defined, but valid_loader isn't provided to Trainer

🐛 Bug
If validation_step is defined in your LightningModule, the model will not train unless you provide a validation loader to the trainer.
You get this warning (as expected):
UserWarning: you defined a validation_step but have no val_dataloader. Skipping validation loop

But then this error, which prevents training:
/usr/local/lib/python3.6/dist-packages/pytorch_lightning/callbacks/progress.py in on_sanity_check_start(self, trainer, pl_module)
    294         super().on_sanity_check_start(trainer, pl_module)
    295         self.val_progress_bar = self.init_sanity_tqdm()
--> 296         self.val_progress_bar.total = convert_inf(trainer.num_sanity_val_steps * len(trainer.val_dataloaders))
    297         self.main_progress_bar = tqdm(disable=True)  # dummy progress bar
    298

TypeError: object of type 'NoneType' has no len()

To Reproduce

Define LightningModule with validation_step
Train.fit() with only training loader.

Code sample
https://colab.research.google.com/drive/1-pyGmHMAJaIg86T7s4y2PKxOX79dZq91?usp=sharing
Expected behavior
Should still give user warning, but should train, skipping the validation step.

Pretty sure this will be solved by this PR #2892 automatically. But we should remember to add a test for this warning.

i don't think #2892 will make it into 0.9 because it has a lot going on...
Can we get this into 0.9.0? this will require a new PR

But the code sample still got errors. It seems that the problem can be fixed by change the initial test_dataloaders and val_dataloaders from

@manipopopo I cannot reproduce it on master. What exactly is the remaining issue, how do I reproduce it?

The code in your google colab link now runs if I install from master branch. Closing this issue.
If there is something else that needs to be fixed, please open a new issue so I can take a look.

Hi @awaelchli , the issue has been fixed by #3197 .


Ensure dcgm exporter supports 75-150 ms sampling interval

Is this a new feature, an improvement, or a change to existing functionality?
New Feature
Please provide a clear description of the problem this feature solves
Once we implemented #3 and #1 - we should benchmark and confirm that collector loop can run within necessary sampling interval (at minimum 150ms, but we might want to run it at 75ms, to make sure we capture boundaries where sample values are changing - in principle you're supposed to sample gauges 2x frequency you want to observe the signal).
Feature Description
.
Describe your ideal solution
.
Additional context
No response

The 2x sampling is called the Nyquist frequency, FYI.
Please ensure that configuration such as sampling rate and export rate can be set via environment variables.


Bump R8 for AGP 8

For #220.

> Task :app:minifyProdReleaseWithR8
ERROR:Missing classes detected while running R8. Please add the missing classes or apply additional keep rules that are generated in /home/runner/work/DemoApp/DemoApp/app/build/outputs/mapping/prodRelease/missing_rules.txt.
ERROR:R8: Missing class org.bouncycastle.jsse.BCSSLParameters (referenced from: void okhttp3.internal.platform.BouncyCastlePlatform.configureTlsExtensions(javax.net.ssl.SSLSocket, java.lang.String, java.util.List) and 1 other context)
Missing class org.bouncycastle.jsse.BCSSLSocket (referenced from: void okhttp3.internal.platform.BouncyCastlePlatform.configureTlsExtensions(javax.net.ssl.SSLSocket, java.lang.String, java.util.List) and 5 other contexts)
Missing class org.bouncycastle.jsse.provider.BouncyCastleJsseProvider (referenced from: void okhttp3.internal.platform.BouncyCastlePlatform.<init>())
Missing class org.conscrypt.Conscrypt$Version (referenced from: boolean okhttp3.internal.platform.ConscryptPlatform$Companion.atLeastVersion(int, int, int))
Missing class org.conscrypt.Conscrypt (referenced from: boolean okhttp3.internal.platform.ConscryptPlatform$Companion.atLeastVersion(int, int, int) and 4 other contexts)
Missing class org.openjsse.javax.net.ssl.SSLParameters (referenced from: void okhttp3.internal.platform.OpenJSSEPlatform.configureTlsExtensions(javax.net.ssl.SSLSocket, java.lang.String, java.util.List))
Missing class org.openjsse.javax.net.ssl.SSLSocket (referenced from: void okhttp3.internal.platform.OpenJSSEPlatform.configureTlsExtensions(javax.net.ssl.SSLSocket, java.lang.String, java.util.List) and 1 other context)
Missing class org.openjsse.net.ssl.OpenJSSE (referenced from: void okhttp3.internal.platform.OpenJSSEPlatform.<init>())

> Task :app:minifyProdReleaseWithR8 FAILED


#33-as a creater we need to be able to add an image-JustinasBrazauskas

Naming Rules
Name your PR like this: ISSUENUMBER-TITLE-YOURNAME
Description
AzinYAd helped me to add migrations and new column for url_adress:video and images.
Relat
Make sure you include the issue number with a hash sign # so Github can link this PR to the right issue, like this:
Fixes #33
Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have carefully reviewed my own code
[ ] I have commented my code
[ ] I have updated any documentation

@JustinasBrazauskas  I think for this task , you only needed to add your new migration files and the changes you needed to make on api.js file
but I can see you have made so many unneeded change to different files  on this branch which aren't related to this task, there are also conflicts to be solved .

I don't know why these old file versions jump together in this pull request and how I remember I wasn't committed.

I don't know why these old file versions jump together in this pull request and how I remember I wasn't committed.

@AzinYad  I'm not sure how to solve this conflicts.

@JustinasBrazauskas This PR can't be reviewed because your branch is based on your search filters code (that's not mergeable) and which is not part of the main branch. It's possible to rebase your working branch but it's kind of complicated if you're not super familiar with Git. I think the easiest thing in this situation is just for you to start over on a new working branch from main and make your changes for this task again on a new commit.

closing in favour of #47


feat: implement multiple mass mention protection

Bans user if message has more than 20 pings. Temporary implementation until raids stop and the bot gets rewritten.

no need to call tostring method if its already in string

also can i be unmuted

no need to call tostring method if its already in string

?? toString mentions a user, <@id>
https://github.com/discordjs/discord.js/blob/stable/src/structures/GuildMember.js#L457

👍

👍

imagine

no unmutes noobs

Please stop cluttering this with unnecessary comments.

:cry:
sads

no need to call tostring method if its already in string

?? toString mentions a user, <@id> https://github.com/discordjs/discord.js/blob/stable/src/structures/GuildMember.js#L457

it's already in a string so stringifying it again has no sense


Empty content in custom MS Teams tab

Copied bug from: https://github.com/OfficeDev/TeamsFx/issues/10080
Details from original post:
Describe the bug
The tab content is only visible in Debug Mode
To Reproduce
Steps to reproduce the behavior:
I've created a custom Ms Teams tab using the Visual Studio Code extension. The content is very simple, it's only showing an iframe with a url.
hello.html:

    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <link rel="icon" href="/favicon.ico" />
    <link rel="stylesheet" type="text/css" href="/static/styles/custom.css" />

    <title>Microsoft Teams Tab</title>

    You need to enable JavaScript to run this app.

This is working ok when I debug the custom app (running on web), but doesn't work when I zip and load the app into Teams Desktop.
My manifest is:
{
    "$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.16/MicrosoftTeams.schema.json",
    "manifestVersion": "1.16",
    "version": "1.0.0",
    "id": "${{TEAMS_APP_ID}}",
    "packageName": "com.microsoft.teams.extension",
    "developer": {
        "name": "Company, Inc.",
        "websiteUrl": "www.google.com",
        "privacyUrl": "www.google.com",,
        "termsOfUseUrl": "www.google.com",
    },
    "icons": {
        "color": "color.png",
        "outline": "outline.png"
    },
    "name": {
        "short": "The Grid",
        "full": "The Grid"
    },
    "description": {
        "short": "short desc",
        "full": "full desc"
    },
    "accentColor": "#FFFFFF",
    "bots": [],
    "composeExtensions": [],
    "staticTabs": [
        {
            "entityId": "index0",
            "name": "Homepage",
            "contentUrl": "${{TAB_ENDPOINT}}/tab",
            "websiteUrl": "${{TAB_ENDPOINT}}/tab",
            "scopes": [
                "team",
                "personal",
                "groupChat"
            ]
        }
    ],
    "permissions": [
        "identity",
        "messageTeamMembers"
    ],
    "validDomains": [
        "${{TAB_DOMAIN}}"
    ]
}

And the domain and endpoint are:
TAB_DOMAIN=localhost:53000
TAB_ENDPOINT=https://localhost:53000

Expected behavior
The expected behavior is to show the content when I zip and load the app in Teams Desktop
Screenshots
If applicable, add screenshots to help explain your problem.
VS Code Extension Information (please complete the following information):

OS: Mac OS
Version: 5.2.0

CLI Information (please complete the following information):

OS: Mac OS
Version: zsh

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

ID: b743e43d-95cc-3d1e-b142-31a16369f97e
Version Independent ID: b743e43d-95cc-3d1e-b142-31a16369f97e
Content: Teams Toolkit Overview - Teams
Content Source: msteams-platform/toolkit/teams-toolkit-fundamentals.md
Service: msteams
GitHub Login: @zyxiaoyuer
Microsoft Alias: zhany

Hello @efdiloreto - Thanks for raising your query.
We will look into it and let you know the updates.

@Prasad-MSFT I've tried what you told me it didn't worked. I also tried doing a simple html with one header (without and iframe) and didn't work either.

@Prasad-MSFT I've tried what you told me it didn't worked. I also tried doing a simple html with one header (without and iframe) and didn't work either.

@efdiloreto - Is there any console error/log you encountered with?

@efdiloreto - We tried to repro this issue at our end both in Teams Desktop client (Microsoft Teams Version <IP_ADDRESS>969) and web client using the code provided following this(https://github.com/OfficeDev/Microsoft-Teams-Samples/tree/main/samples/app-hello-world/nodejs) sample and observed that the tab renders properly.


Lidar2camera calibration: code does not match with your paper

hi, thanks for sharing this repository. however, i do find the code of lidar2camera calibration does not match with what has been described in your paper.

p3l is mentioned to be used for coarse calibration, while i did not find any code related to p3l;
idt is mentioned to be used for cost formulation, while i did not find any code related to idt;

i tried to perturb the extrinsics a little bit, say +/- 1 degree. the implementation cannot give me any improvements, actually, the extrinsics stays the same before and after calibration.
is it the real implementation mentioned in your paper?

hi, thanks for sharing this repository. however, i do find the code of lidar2camera calibration does not match with what has been described in your paper.

p3l is mentioned to be used for coarse calibration, while i did not find any code related to p3l;
idt is mentioned to be used for cost formulation, while i did not find any code related to idt;

i tried to perturb the extrinsics a little bit, say +/- 1 degree. the implementation cannot give me any improvements, actually, the extrinsics stays the same before and after calibration.
is it the real implementation mentioned in your paper?

Sorry, for some reason, I deleted this part of the code and will add it later.

@xiaokn , auto lidar2camera calibration, we have to prepare to mask the images, but when i setup the conda env as required and run the merge_mask.py, the program will be stuck and no masked image will output. Is there any step, that i have missed?

Hi @xiaokn and @HuangVictorAuto
I meet the same problem. Did you solve it ?

hi, thanks for sharing this repository. however, i do find the code of lidar2camera calibration does not match with what has been described in your paper.

p3l is mentioned to be used for coarse calibration, while i did not find any code related to p3l;
idt is mentioned to be used for cost formulation, while i did not find any code related to idt;

i tried to perturb the extrinsics a little bit, say +/- 1 degree. the implementation cannot give me any improvements, actually, the extrinsics stays the same before and after calibration.
is it the real implementation mentioned in your paper?

Sorry, for some reason, I deleted this part of the code and will add it later.

hi, thanks for sharing this repository. however, i do find the code of lidar2camera calibration does not match with what has been described in your paper.

p3l is mentioned to be used for coarse calibration, while i did not find any code related to p3l;
idt is mentioned to be used for cost formulation, while i did not find any code related to idt;

i tried to perturb the extrinsics a little bit, say +/- 1 degree. the implementation cannot give me any improvements, actually, the extrinsics stays the same before and after calibration.
is it the real implementation mentioned in your paper?

Sorry, for some reason, I deleted this part of the code and will add it later.

Therefore, when will it be added? I also encountered the same problem in use, which could not be corrected after making a deviation of 1 degree.

@xiaokn , auto lidar2camera calibration, we have to prepare to mask the images, but when i setup the conda env as required and run the merge_mask.py, the program will be stuck and no masked image will output. Is there any step, that i have missed?，自动Lidar2Camera校准，我们必须准备屏蔽图像，但是当我根据需要设置Conda Env并运行merge_mask.py时，程序将卡住并且不会输出遮罩图像。有什么步骤，我错过了吗？

我也遇到了,您解决了吗.


optional attributes

problem:
i am migrating a project from horrorshow currently there are some Option variables for example
let css: Option<String> = None;
but i don't find a way to specify that if css is None don't create the html attribute
div[class=css]
creates

but i want create when css is None

i know i can do an if conditional like this
@if let Option(css) = css{
div[class=css]
}else
{
div{}
}

but this is not practical when i have a lot of optional attributes
horrorshow have this sintaxis
div(class?=css)
and i get what i want

 when css is None
is there something similar that i missing? or it would be a new feature?

May be possible with bailout conditions div[class=css?] and have the codegen put it in its own
let _: Option<io::Result<()>> = {
  Some(writer.write("
", css?))
}

but seems like a fair bit more work and codegen

Also

@ZaneHannanAU misread the original...isn't quite so simple. The class="" shouldn't be too bad outside of looking like php.

reading the code it should work,
i make it work but if the variable is Option we need to use as_ref() and if the variable is Option<& str> use * otherwise it doesn't work, same for false boolean if it is not used with * don't work.

https://github.com/utkarshkukreti/markup.rs/blob/4dfc1275ffae79714539004c1762f3b3f9430989/markup-proc-macro/src/generate.rs#L137
i think the issue is in the above methods. is_none when used &Option is always false and is_false is always false if a &boolean is passed instead a boolean

Thanks for reporting the issue and figuring out the solution @miguelski! Can you please try out the latest version from git to confirm this fixes your code before I make a release (I have added tests, but just to be sure)?
[dependencies]
markup = { git = "https://github.com/utkarshkukreti/markup.rs" }

working for me

Awesome, published 0.12.1.


Fix drag&drop in LayerManager by add padding to placeholder-style

Fix drag&drop in LayerManager #322

@thiloSchlemmer Can we merge this branch?


wifi doesn't work with lid closed

is it possible for insomnia to keep wifi functional with the lid closed?
tested on osx 10.7.3

Let me test it out to see if it is an issue on my laptop after I upgrade to 10.7.3


ROX-26317: Generate custom resource type for save-as function

Description
Generate a custom resource from a policy.
User-facing documentation

[ ] CHANGELOG is updated OR update is not needed
[ ] documentation PR is created and is linked above OR is not needed

Testing and quality

[ ] the change is production ready: the change is GA or otherwise the functionality is gated by a feature flag
[ ] CI results are inspected

Automated testing

[ ] added unit tests
[ ] added e2e tests
[ ] added regression tests
[ ] added compatibility tests
[ ] modified existing tests

How I validated my change

change me!

Would it be possible to hook this up to the gRPC server in this PR? (Please correct me if I missed it)
I would rather to keep them seperate in evolving because this PR has a generator behind it. The codes in this PR was generated by the (not ready) generator and the gRPC server is in another PR https://github.com/stackrox/stackrox/pull/12415.

I see you've merged this PR branch into #12415.  Do you want to go ahead and merge that PR along with these changes and keep this PR open until the generator is ready to be reviewed?

Another question:  How feasible would it be to also generate the CRD go structs using your new code generator?  We'd have to add in the kubebuilder annotations.

I see you've merged this PR branch into #12415. Do you want to go ahead and merge that PR along with these changes and keep this PR open until the generator is ready to be reviewed?

Another question: How feasible would it be to also generate the CRD go structs using your new code generator? We'd have to add in the kubebuilder annotations.

Yes, that is also possible.

I might accidentally close this, but thank you for reviewing it even if I do. I'm opening it now.


ida plugin: add progress bar for analysis

consider showing a progress bar as capa analyzes the open database.
simple way: use tqdm to display the progress, like we do for the loading of rules.
pretty way: use qt to show a progress bar via the ui. just to flex.

I made some "progress" 😉 here but unfortunately due to the single-threaded nature of IDA Pro I don't think a complete solution is possible without making the plugin multi-threaded. While this is an option it's probably not feasible for the 1.3.0 release.
Sample run from WIP branch https://github.com/fireeye/capa/tree/explorer_progress_bar:

Feel free to play with the branch listed above. It's definitely a WIP and serves mostly as a PoC.

Here's another POC using IDA's waitbox feature. We may be able to implement this faster, but I only had time to come up with this POC: https://github.com/fireeye/capa/compare/ida/explorer-waitbox

See python/examples/widgets/waitbox/show_and_hide_waitbox.py in your IDADIR.

Thanks to @mr-tz's suggestion we have a working progress indicator in #314 👍

closed by #314


Support "Checked Transaction" behaviour

If there is an active transaction on multiple asynchronous completion stages then it is desirable that we avoid the situation where one thread ends a transaction whilst other threads are still using it (otherwise the work done by the other threads will not be transactional). I think it would help developers write more robust code if we provide a mechanism for the application to deal with the circumstance by allowing the creator to to provide a "Checked Transaction" handler with each managed execution similar to
     public void check(boolean isCommit, Uid txId, List<Long> activeThreads);

which is called if a transaction is ended whilst other threads are still using it. The application would then be able to ensure that the business logic being run by threads in the activeThreads list safely terminates.

It seems to me like the most natural way for applications to coordinate asynchronous transaction logic in this programming model would be to use the CompletionStage API itself. For example, using a JTA transaction (oversimplified in that try/catch blocks are omitted),
tx.begin()
stage1 = executor.runAsync(action1);
stage2 = executor.runAsync(action2);
stage3 = stage1.runAfterBoth(stage2, () -> tx.commit())
               .exceptionally(failure -> tx.rollback());

However, having written this, what concerns me here is that the main thread still has a transaction hanging around.  I think if this pattern is going to naturally fit with completion stages, we would need some sort of suspend operation from the transaction in order for the user to take it off of the main thread so that they can proceed to do other work while the transaction continues asynchronously.

Also note that async actions are likely to not have thread IDs at all, since they're more often tasks that have no specific thread.

So I think we just need to document the recommended best practice:

for running transaction code in async stages,
that the main thread should suspend the transaction, and
that transaction termination should run in an after stage?

Yes, documentation of this as the best practice, and probably including a simple example, should be all we need.

Okay, I will do that and propose it here, thanks.

So here's an example of how containers have to be adapted to support async propagation:
HttpServletRequest req = ...;
try {
    requestContext.activate();
    return action.call(exchange, context);
} finally {
    if(req.isAsyncStarted()) {
        requestContext.deactivate();
        req.getAsyncContext().addListener(new AsyncListener() {
            @Override
            public void onComplete(AsyncEvent event) throws IOException {
                requestContext.terminate();
            }

            @Override
            public void onTimeout(AsyncEvent event) throws IOException {
                onComplete(event);
            }

            @Override
            public void onError(AsyncEvent event) throws IOException {
                onComplete(event);
            }

            @Override
            public void onStartAsync(AsyncEvent event) throws IOException {

            }
        });
    } else {
        requestContext.terminate();
    }
}

Or a slightly different example:
@Override
public void aroundRequest(HttpRequest req, RunnableWithException<IOException> continuation) throws IOException {
        BoundRequestContext cdiContext = CDI.current().select(BoundRequestContext.class).get();
        Map<String,Object> contextMap = new HashMap<String,Object>();
        cdiContext.associate(contextMap);
        cdiContext.activate();
        try {
        	continuation.run();
        }finally {
    		if(req.getAsyncContext().isSuspended()) {
    			req.getAsyncContext().getAsyncResponse().register((CompletionCallback)(t) -> {
        			cdiContext.invalidate();
        			cdiContext.deactivate();
        			cdiContext.dissociate(contextMap);
    			});
    		}else {
    			cdiContext.invalidate();
    			cdiContext.deactivate();
    			cdiContext.dissociate(contextMap);
    		}
        }
}

@mmusgrov let me know if you need any help with this, or help in figuring out where to put it in the spec doc.  If you haven't found a place already, I think a very natural fit for this would be to document the best practice on the examples page,
https://github.com/eclipse/microprofile-concurrency/blob/master/spec/src/main/asciidoc/examples.asciidoc
probably right after the example of unchanged(ThreadContext.TRANSACTION).

Closing this as discussed under 140.


Linking with shared libraries and RPATH

Using the CMake build and linking with shared libraries doesn't produce consistent RPATH flags.
ldd glvis
	linux-vdso.so.1 =>  (0x00007ffff7d42000)
	libmfem.so => not found
        libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007f61394c9000)
...

First, the project name has to be set before using FIND_* so global properties aren't overwritten. Refer
https://github.com/GLVis/glvis/blob/38dbcccaa565e28bd5ed8277a786b1af0e802ac0/CMakeLists.txt#L17
But that doesn't solve the RPATH issue with libmfem.so. Any ideas?

@juan42,
I created a PR (#34) that fixed the issue for me. Can you try it on you computer and, if it works fine, approve the PR?
Thanks for reporting this issue!

This does not work for me. After
make install

i still don't have proper RPATH set in the installed binary. I have to configure with
-DCMAKE_INSTALL_RPATH_USE_LINK_PATH=TRUE

we can set this with
set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)

globally but i don't know enough about CMake if there is something wrong in another place since my projects link MFEM without problems (although kept and run in the build directory).

OK, what I tested was just building MFEM (without installing it) and the just building GLVis pointing it to the MFEM build directory. Does this work for you?
I'll try now installing MFEM and then building / building+installing GLVis.

Just building GLVis without install works fine

Even when linking to an installed version of MFEM?

Thats a good question. The CMake file from GLVis always picks up the folder which the build folder (i assume because they are in the same tree). But i think both worked.

@juan42, I pushed some additions to the PR. Can you check if this solves the issue for you?

Perfect! Thanks @v-dobrev this works and even links all third party libraries which are configured with mfem to glvis.


bug related to the "restart IDE" (demo effect)

1: reproduce the bug

Win: can't reproduce neither installing from file nor pulling from JB's plugin repo (works)

Mac: can't reproduce neither installing from file nor pulling from JB's plugin repo (works)

Lin: can't reproduce neither installing from file (works)
closing for now


Removed white spaces from code blocks

@rudransh-shrivastava I would really suggest creating an issue before making a PR. Please keep this in mind the next time.


Edit Templates with data, after mod directory is created

Create an easy way to make templates variable.
For mod_main.gd:
const MOD_DIR := "AuthorName-ModName"
const MODNAME_LOG_NAME := "AuthorName-ModName

const {%MOD_NAME%}_MOD_DIR := "{%NAMESPACE%}-{%NAME%}"
const {%MOD_NAME%}_LOG_NAME := "{%NAMESPACE%}-{%NAME%}"

I'm thinking that templates can include an init_template.gd script that gets executed by the Dev Tool if it exists.

yep that sounds good. i also figured out a way to stop godot from complaining. adding an empty file named .gdignore to a directory will exclude it from the whole editor. the downside would be that those templates can't be edited in the editor after that, but that should be fine since the templates A) won't be edited much and B) can just be edited in vsc and such


ProperSave different save slots? (More in comments)

Does ProperSave differentiate a save-game from a multiplayer run with a friend vs a solo run? If i have a multi run saved, can I do a solo run and not affect the other save? (Is it only overwritten if I try and save before death?) I want to play a solo run but not jeopardize a multi save I already have with a friend on my machine. Thanks! <3 I love your mod so much.

Yes, there is a save for each combination of players, so you can play multiplayer and singleplayer without loosing saves.


Implementation of RFC 0001

Resolves Nodejs Issue 24
WIP implementing the RFC

@thitch97 Could you take a look? I'm the co-author


[e2e]: generic push main upload-tag-name slsa3

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/7648938650
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.generic.push.main.upload-tag-name.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.generic.push.main.upload-tag-name.slsa3.yml
Trigger: push
Branch: main
Date: Thu Jan 25 02:20:04 UTC 2024

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/7663061537
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.generic.push.main.upload-tag-name.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.generic.push.main.upload-tag-name.slsa3.yml
Trigger: push
Branch: main
Date: Fri Jan 26 02:10:52 UTC 2024

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/7675639102
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.generic.push.main.upload-tag-name.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.generic.push.main.upload-tag-name.slsa3.yml
Trigger: push
Branch: main
Date: Sat Jan 27 02:07:15 UTC 2024

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/7682736030
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.generic.push.main.upload-tag-name.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.generic.push.main.upload-tag-name.slsa3.yml
Trigger: push
Branch: main
Date: Sun Jan 28 02:16:01 UTC 2024
Tests are passing now. Closing this issue.


Ignore error to make deploy passes

Added to https://github.com/ItinerisLtd/trellis-slack-webhook-notify-during-deploy/pull/7


Ingested roads layer all zero

@djohnson729 , how were the roads ingested? After doing an export it appears all of the road pixels have been set to 0. Which rasterize vector option was used for them - mask? If that's the case we should re-run with "LAST"

Yes, your're right @wncampbell I used MASK.


Fixes a major mounting issue in the docker-compose.yml

This is a really nasty issue and easy to overlook. It causes the data in the docker container not to be persisted externally.
Important - If the docker compose file was used before:
Back up the data the following way:
docker compose cp plandex-server:/root/plandex-server plandex-server-backup

Check if the folder plandex-server-backup contains a folder orgs
Start with the new configuration:
docker compose up -d

Apply the backup:
docker compose cp plandex-server-backup/. plandex-server:/root/plandex-server

Related Issues
This is caused by the same issue mentioned in #9

I'm a bit confused by this. In production, the Plandex server looks for the file system at /plandex-server by default:
From server/db/fs.go:
var BaseDir string

func init() {
	home, err := os.UserHomeDir()
	if err != nil {
		panic(fmt.Errorf("error getting user home dir: %v", err))
	}

	BaseDir = os.Getenv("PLANDEX_BASE_DIR")
	if BaseDir == "" {
		if os.Getenv("GOENV") == "development" {
			BaseDir = filepath.Join(home, "plandex-server")
		} else {
			BaseDir = "/plandex-server"
		}
	}
}

In production on Plandex Cloud, the file system is mounted at /plandex-server and it works. So why is /root/plandex-server needed with docker-compose? Does it still end up as /plandex-server from the server's perspective or does it also require that PLANDEX_BASE_DIR is set to /root/plandex-server?
I can test this but I want to be sure I understand the issue before merging. Ty!!

@danenania This was my own fault, thanks for clearing it up for me. I started the server in development mode. This happened since it is the default value in _env and I didn't bother to change it.
I think this could be avoided in future simply by changing the default to "production" in the _env.
One question, why do you bother passing GOENV into the docker container?
Using /root/ as the home directory inside the docker container does not seem useful to me.


Trailing comma is forced when closing paren is on same line

This shouldn't need a trailing comma:
foo({
  bar: 1,
  baz: 2,
}, 3)

but if is being force to:
foo({
  bar: 1,
  baz: 2,
}, 3,)

Which style are you using?

@bbatsov The first style. I've enabled TrailingCommas and like it mostly except for the few extraneous commas I reported bugs about.

We have played with the existing styles for the TrailingComma cops before and got a whole bunch of blowback from people who didn't like the unexpected changes. I think @ptarjan's request is fairly reasonable, but wonder if it should be a new style, rather than messing with the existing ones...
Other contributors?

If your configuration is
Style/TrailingCommaInArguments:
  # If `comma`, the cop requires a comma after the last argument, but only for
  # parenthesized method calls where each argument is on its own line.
  # If `consistent_comma`, the cop requires a comma after the last argument,
  # for all parenthesized method calls with arguments.
  EnforcedStyleForMultiline: comma
  SupportedStyles:
    - comma
    - consistent_comma
    - no_comma

as the comment says, the cop accepts your first example and rejects the second. Are you sure you're not using the consistent_comma style?

Are you sure you're not using the consistent_comma style?

@ptarjan's report indicates using consistent_comma.
Given this file:
foo({
      bar: 1,
      baz: 2,
    }, 3)

Here are the offenses from the available styles:
EnforcedStyleForMultiline: comma (the default)
test/test.rb:3:13: C: Style/TrailingCommaInHashLiteral: Avoid comma after the last item of a hash.
      baz: 2,
            ^

1 file inspected, 1 offense detected

EnforcedStyleForMultiline: consistent_comma
test/test.rb:3:13: C: Style/TrailingCommaInHashLiteral: Avoid comma after the last item of a hash.
      baz: 2,
            ^
test/test.rb:4:8: C: Style/TrailingCommaInArguments: Put a comma after the last parameter of a multiline method call.
    }, 3)
       ^

1 file inspected, 2 offenses detected

EnforcedStyleForMultiline: no_comma
test/test.rb:3:13: C: Style/TrailingCommaInHashLiteral: Avoid comma after the last item of a hash.
      baz: 2,
            ^

1 file inspected, 1 offense detected

It is unfortunate that the example file has no configuration without offenses, but is it worth supporting another style? I suppose since this issue has been open for so long without additional user complaints indicates it isn't a huge problem.

There hasn't been much activity on this ticket and our Core Team is spread too thin on so many tasks, so I'll just close it for the sake of having a cleaner lists of tasks to focus on. We'd gladly review a PR, but it's unlikely that'd we're going to tackle this ourselves in the foreseeable future.


Failed to get server info [BUG]

the aternos site is up and running, in fact I am able to start my server from the site, but any command given to the bot apart from "configure" returns the error "failed to get server info"

Duplicate of #83


[tests] Env variables should be set only once due to caching

Issue detected and explained: https://github.com/ROCmSoftwarePlatform/MIOpen/pull/2409#discussion_r1379307515
Proposed fixes - WON'T WORK
⚠ The proposal below won't work because google test is a single binary that contains all the tests internally, see https://github.com/ROCmSoftwarePlatform/MIOpen/issues/2521#issuecomment-1815226730
These tests are working only because env vars are not really set due to other issue, #2520.
Tip: how to use semicolon with MIOPEN_DEBUG_FIND_ONLY_SOLVER: https://github.com/ROCmSoftwarePlatform/MIOpen/pull/2409#discussion_r1379310684

[Recommendation] In test/gtest/log_test.cpp and test/gtest/log_test_neg.cpp: These work correctly, but it may worth setting MIOPEN_ENABLE_LOGGING_CMD only once just to be in sync with reality.

#2520 does not affect this test because the env var string resides in global memory.

Set env only once and use semicolon with MIOPEN_DEBUG_FIND_ONLY_SOLVER (see above) here: https://github.com/ROCmSoftwarePlatform/MIOpen/blob/956825adbf4b86aa75e790ecdcf72f26c80f3744/test/gtest/conv_igemm_mlir_xdlops.cpp#L129
Ditto here: https://github.com/ROCmSoftwarePlatform/MIOpen/blob/956825adbf4b86aa75e790ecdcf72f26c80f3744/test/gtest/conv_igemm_dynamic.cpp#L122
Ditto here: https://github.com/ROCmSoftwarePlatform/MIOpen/blob/956825adbf4b86aa75e790ecdcf72f26c80f3744/test/gtest/conv_igemm_mlir.cpp#L178

[Attribution] @junliume @JehandadKhan

https://github.com/ROCmSoftwarePlatform/MIOpen/labels/bug
https://github.com/ROCmSoftwarePlatform/MIOpen/labels/testing
https://github.com/ROCmSoftwarePlatform/MIOpen/labels/urgency_blocker
Proposed assignees:

@bghimireamd
@xinlipn
@amberhassaan
@CAHEK7
@JehandadKhan

Reproduced from here
@atamazov I believe some context might help. As you know we are in the process of converting all tests into binaries ( aka gtests). Since the final target is to package these tests, we would need to come up with some mechanism which would enumerate and run all the tests. Since such a mechanism would complicate things, a simpler way would be to just link all the tests in a single test binary which will run all the tests. (This is the approach taken by rocblas etc as well).
Such an approach would provide a clean interface for running all the tests while maintaining filtering capability using gtets' built in regex filtering approach. However, in this instance all tests would share the same binary image and env var based approach would not be feasible since the env var values cannot be reset.

@JehandadKhan Thanks for re-posting this explanation, I've missed it somehow. Now I better see the picture.
Yeah, currently google test is a single binary that contains all the tests internally. For example, Run2dDriver() from /test/gtest/conv_igemm_mlir.cpp includes the sources of test_conv2d. Can we easily change that to stuff like std::system("test_conv2d <options>")? This would resolve the problem with environment variables for the tests "ported" from CTest.
Would this seriously complicate packaging? We'll just need to include test binaries, right?
If this is not possible, then indeed, making the cached env vars modifiable is the shortest way to resolve the problem.
[Notice] It is ~horrible ~ interesting how the architecture of the testing framework may affect the internals of the software under testing. It’s a pity that I didn’t know that google test puts all the tests in a single executable, otherwise I would sooner realized about future problems with cached env vars.
[Notice] Regarding the brand new tests written for GTest from scratch -- IIRC these do not use MIOpen environment variables, so there is no problem.

Issue description updated (proposed fix won't work).

@junliume Please assign engineers to this ticket.

The proposed functionality of updating (writing) env vars is not thread-safe: https://github.com/ROCmSoftwarePlatform/MIOpen/pull/2514#pullrequestreview-1740257738.
Therefore we should avoid running the tests in parallel threads. However I believe we want to run GTests in some parallel manner, as right now we use CTEST_PARALLEL_LEVEL=4 and do not want CI performance drop.
It is possible to use sharding to run tests in parallel prosesses, https://github.com/google/googletest/issues/465.
And there is a ready-to use runner that allows to run each test in a separate process and parallelize them, https://github.com/google/gtest-parallel.
By-product: It seems that the use of gtest-parallel makes #2514 unnecessary provided that the fixes proposed at the topmost comment of this ticket are implemented.

See also https://chromium.googlesource.com/external/github.com/pwnall/googletest/+/refs/tags/release-1.8.0/googletest/docs/FAQ.md#does-google-test-support-running-tests-in-parallel

@JehandadKhan FYI previous comment, thanks.

Issue description updated.

Since the final target is to package these tests, we would need to come up with some mechanism which would enumerate and run all the tests.

BTW, the ROCMTest already handles this. This will setup the tests package for you, it will install the tests properly(ie it wont install tests as part of make install since most users do not want that), and it generates a CTestTestfile.cmake which can run all the tests.
You can replace calls to add_test(like here) with rocm_add_test and then all the ctests are packaged. Currently, it doesn't support the gtest_discover_tests so you would need to add the test executable instead, but I plan to add support for this(it shouldn't be a lot of work I just need to see how the ctest file is generated).

a simpler way would be to just link all the tests in a single test binary which will run all the tests.

One disadvantage of this, is that you now need to wait for all tests to build when you just want to run a smaller subset.

@junliume @JehandadKhan #2514 partially implements this; bulllets (2) and (3) are not done yet (I do not see respective PRs).  If I'm right, then the tests are still not working as they should. Shall we reopen this.

@CAHEK7 FYI this ticket.


Improve the flexibility of time lag computations in LVT

The time lag computations are currently only supported for the second data stream. Make this more flexible so that additional datastreams can be run at a user specified time lag

A testcase is at :
/discover/nobackup/svkumar/LISF_testing/541