Added The Web Platform podcast

In this pull request

[+]  I am adding a new resource.
[ ]  I am adding a new step
[ ]  I am providing an edit
[ ] Removing a resource

Adding new resource

The resource I am adding is The Web Platform podcast.
I am adding this resource to the podcasts step.
I think this resource deserves to be in this list because its a pretty good podcast 😄

Pretty good huh?


assert_instr fails when using lld as a linker on linux

See https://github.com/rust-lang-nursery/packed_simd/issues/144 .

During implementation of the vmvn_s8 ARM Neon intrinsic, I think I ran into some variant of this issue.
Codegen tests initiated with:
RUSTFLAGS="-C target-feature=+v7,+neon" TARGET=armv7-unknown-linux-gnueabihf cargo +nightly test --release -p core_arch

on a Raspberry Pi 3 B+ I get:
test result: FAILED. 197 passed; 52 failed; 0 ignored; 0 measured; 0 filtered out

Among the 52 failed tests is my new assert_vmvn_s8_vmvn which failed like so:
---- core_arch::arm::neon::assert_vmvn_s8_vmvn stdout ----
disassembly for vrsqrte_f32_shim_vrsqrte:
	 0: ldr r0, [pc, #24] ; 10b00 <vrsqrte_f32_shim_vrsqrte+0x20>
	 1: vrsqrte.f32 d0, d0
	 2: ldr r2, [pc, #20] ; 10b04 <vrsqrte_f32_shim_vrsqrte+0x24>
	 3: mov r1, #50 ; 0x32
	 4: add r0, pc, r0
	 5: ldr r2, [pc, r2]
	 6: stm r2, {r0, r1}
	 7: bx lr
	 8: .word 0x0008a235
	 9: .word 0x000b52cc
thread 'core_arch::arm::neon::assert_vmvn_s8_vmvn' panicked at 'failed to find instruction `vmvn` in the disassembly', crates/stdsimd-test/src/lib.rs:180:9

This looks like if it was checking the wrong function for the vmvn instruction.

Yep, all of this broke on master during the 3 weeks that the library did not build.


Update types.d.ts

Extends the component prpps from PropsWithChildren as required by React 18. Addresses #102

I created this PR against develop, as that's your default branch, but it seems master may have been the better choice. Let me know if you want me to recreate the PR.


Fix get_transactions_json when start_date predates all transactions

If start_date is before the earliest/first transaction the if start_date block errors out, since txns is empty. To handle this, simply re-order the blocks.

Thank you, merged and released as 1.28!


Fix overlay texture for bone

I noticed that if you use the getTextureForBone method to overlay the texture of a particular bone, then the texture can be superimposed not only on the selected bone, but also on others(example: head, arm, etc.)
With fix:

Without fix:

Gonna have @DerToaster98 check this out when they can as the extended entity is their brain child.

Gonna have @DerToaster98 check this out when they can as the extended entity is their brain child.

I have attached screenshots as well.

That's not how it is supposed to work. Your "fix" forces the entire thing to always use translucent, use getRenderTypeForBone() instead, you need to lookup the exact name.
It is not meant to "overlay" textures. It is meant to force the use of a certain texture for a bone. The rendertype to use there gets set via getRenderTypeForBone()
I'm on construction site currently, will be back on friday and will take a closer look then. But currently i don't think this is a bug

That's not how it is supposed to work. Your "fix" forces the entire thing to always use translucent, use getRenderTypeForBone() instead, you need to lookup the exact name.
It is not meant to "overlay" textures. It is meant to force the use of a certain texture for a bone. The rendertype to use there gets set via getRenderTypeForBone()
I'm on construction site currently, will be back on friday and will take a closer look then. But currently i don't think this is a bug

Yes, I didn't mean overlaying the texture, but setting the texture for the bone. You can look at a screenshot of what happens if you set a different bone texture. I do not know what caused the problem of replacing the texture not for one particular bone, but for some others, but it seems this fix solves it.

Explanation of the screenshot:
I set the texture for a specific armor bone (in my case, this is the tail armor bone), but for some reason, the arms became transparent, although I indicated in the check the specific bone for which the texture should be set(tail armor bone)

The problem here is your renderer. After it rendered the bone with a overridden texture it will use the rendertype that the rest of the renderer uses. Since you don't provide us anything we think that the issue here is your renderer. Your "fix" (like stated before) makes it impossible to use a different rendertype than translucent.

Why did you close the PR? I can provide code as well as models and textures to test this :/

I closed it cause it doesn't "fix" anything. The system works as it should. YOur case here is more likely caused by your renderer not using the translucent rendertype. What you do there breaks rendering since it exchanges the buffer when it does not expect it.
If you want to continue it provide a link to your repository (renderer  class, model class, model json files and textures). next time provide that at the start please

Reopening until test files are provided

Link to repo

Did you just straight up copy-paste what i made? Not cool, really not cool. At least credit it in the file itself or ask.

Also i looked: You never fill out the method that sets the rendertype for your model. That is your exact problem, do that and it should work. I'm not planning to spend more time with someone who seemingly gives zero fucks about crediting other's work properly

Did you just straight up copy-paste what i made? Not cool, really not cool. At least credit it in the file itself or ask.

The copy paste was made to fix the model specifically for the player, this code will not remain in the public, so this is not an actual "theft" of your code. You needn't worry about it...

I added RenderType#entityTranslument in the redefined getRenderType method:

Did you just straight up copy-paste what i made? Not cool, really not cool. At least credit it in the file itself or ask.

The copy paste was made to fix the model specifically for the player, this code will not remain in the public, so this is not an actual "theft" of your code. You needn't worry about it...

Even if it does not remain: At least write a comment at the top of the class that indicates where you got it from.

I added RenderType#entityTranslument in the redefined getRenderType method:

looks like the correct method. Can't find that line in your repository though.

Try it now

Try it now

Ye, you committed it now. That should do it. If it doesn't i'll take a look myself when i find the time, i won't use this PR cause it breaks things.

At the moment, this solution does not work, unfortunately :C

This PR may need to be closed later if you find a solution to the problem and send it to the original repository yourself.

At the moment, this solution does not work, unfortunately :C

"Doesn't work" is pretty vague, what exactly doesn't work?

This PR may need to be closed later if you find a solution to the problem and send it to the original repository yourself.

Yes, though this isn't a pretty big problem honestly. I'll create a issue in the next few days when i took a proper look myself.
Just to get it clear: To reproduce it i could basically put a small cube inside a larger cube. Both cubes have their own bone. If the larger cube has it's own texture and that one has transparent parts it would not show the inner cube, is that correct? I'm not going to use your case cause it is too specific and i prefer to work with more general use scenarios.

Anyway, will take a closer look tomorrow. Pretty tired right now, finally got back from construction site today

If you copy or use Geckolib code in any way, you need to follow the MIT license. Specifically, I was not able to find a copy of the MIT license in your repository or any indication that you are copying GeckoLib code. We will not provide any more help until you address this issue. Thanks for understanding.

If you copy or use Geckolib code in any way, you need to follow the MIT license. Specifically, I was not able to find a copy of the MIT license in your repository or any indication that you are copying GeckoLib code. We will not provide any more help until you address this issue. Thanks for understanding.

I added the license and added a link to the library to the readme.

At the moment, this solution does not work, unfortunately :C

"Doesn't work" is pretty vague, what exactly doesn't work?

To put it simply, nothing has changed since the RenderType was changed.

Just to get it clear: To reproduce it i could basically put a small cube inside a larger cube. Both cubes have their own bone. If the larger cube has it's own texture and that one has transparent parts it would not show the inner cube, is that correct? I'm not going to use your case cause it is too specific and i prefer to work with more general use scenarios.

It's pretty weird to hear that :/ Specifically, to reproduce this problem, you can simply take a player model, put a cube on its body (as if it were armor), make a texture for the player model and the same for armor (textures should be of the same proportions) and then just set the texture for the "armor" bone. And maybe you will be able to get what I previously showed in the screenshots... I have specially attached the entire project with textures and a model so that you can immediately get this problem, rather than trying to find it.

ok, i can't run that repository, never worked with loom and not planning to deal with it just for this.

As a temporary stub, this is quite enough. I am glad that you were able to identify the problem. I think it is worth closing the PR, since it does not carry practical benefits and it is worth opening an issue. If my repository is no longer needed, then I could delete it.

I remembered something. Alpha channel textures don't properly work in mc. It is visible on items too, it is really picky about the order of the individual cubes to be rendered.

I see that you have made changes to the code, now everything is working as it should, or should I check it myself?

You should check yourself.
I changed how some things are being handled. Keep the rendering order of cubes with a transparent texture in mind, those have to render "inner cube" => "outer cube".
Also from what i saw your handling of armor is really ... weird. It handles that automatically, no need to deal with additional outer bones that just have the armor texture applied, but that is just a hint.

This should now be better showcased on how to do with the new example entity added by Der, will be coming to the other versions outside of 1.16 Monday or so.


Added automatic releasing and versioning

Hii, first, I want to say thank you for the Quizlet extension; it helped me a lot. I just have a problem; it has always given me errors, but loading the page has worked normally. Two days ago, when I tried it, it stopped working :(
https://github.com/rospino74/Quizlet-Bypass/assets/141698738/80f515bb-7580-47b7-858f-f6c866b31d0d


Postgres 16 support

Postgres 16 is being used to install pg_graphql, but the extensions are not being built. Please get back to me with the answer and advise which versions of pgrx, cargo, and rust should be used for the installation of pg_graphql using the Postgres16 version.

Hi @AshnaSabu123,
What exact errors do you see when you say extension is not built? Also which platform are you building on? You can refer to the GH CI action that builds the extension to see the details of how we build it: https://github.com/supabase/pg_graphql/blob/master/.github/workflows/release.yml.
As you can see from the GH action, we use latest stable Rust (and cargo) and pgrx version 0.10.2.

Hey @AshnaSabu123 were you able to build the extension?

@AshnaSabu123 I'm closing this. You can reach out if you are still not able to build.


Decrease test size for a few OpenMP tests

Now that the builds are blazingly fast thanks to #739 the tests are starting to dominate our runtime, and there are a few outliers that IMO don't justify their long runtime.
This PR adds the (off-by-default) CMake flag GINKGO_FAST_TESTS that reduces the input size for a few tests known to be slow and uses it in Debug CI jobs. An example why I would consider this necessary is https://gitlab.com/ginkgo-project/ginkgo-public-ci/-/jobs/1169715092 which takes more than 2 hours to complete.
The tests in question are:
GPU

ParILUT
CSR
Diagonal
(CB)GMRES

OpenMP

ParICT
ParILUT
CSR
Dense
Diagonal
(CB)GMRES

The reason I would not consider this an issue is that

CUDA compiles the kernels in Release mode independent of the CMake build type, so we would catch failures with Release builds, too
OpenMP doesn't have any parameters like block sizes we need to exceed to cover all possible scenarios.

I think the more important part are the slow Debug Reference kernels, since the CUDA GPU kernels are equivalent between Reference and Debug, but we don't see the same issue in Reference jobs.

@pratikvn I added your suggestion for a quick_test target, what do you think about the realization?

Thanks. That looks good to me.


Change Error "Kind" to Error "ID"

This changes the output of custom errors to replace the "kind" with "id" for clarity.

Fixes #68


Support to PKCS12 keystores through encryption.keyStore.type property

fixes gh-953

Sorry, I made a mess with this PR. I opened a new one:
https://github.com/spring-cloud/spring-cloud-commons/pull/963


Feature/logout url variable

https://dluhcdigital.atlassian.net/jira/software/c/projects/SMD/boards/140?quickFilter=815&selectedIssue=SMD-346
Allows for an override of the g.logout_url variable constructed by the _build_logout_url function. If the config_var_logout_url_override variable is present in a project's config, any unauthenticated requests will be redirected to the URL supplied here instead of using Authenticator's default login screen.

Looks like your latest commit removed your change to pyproject.toml

Looks like your latest commit removed your change to pyproject.toml

I removed this because there was a Github action which incremented it automatically, and was failing with my manual version change.. but this time doesn't appear to have run. Will look into this further

Looks like your latest commit removed your change to pyproject.toml

I removed this because there was a Github action which incremented it automatically, and was failing with my manual version change.. but this time doesn't appear to have run. Will look into this further

Ah yeah - the README states it will just be done via a Github action. This is new since I last pushed to this repo. https://github.com/communitiesuk/funding-service-design-utils#releasing

Looks like your latest commit removed your change to pyproject.toml

I removed this because there was a Github action which incremented it automatically, and was failing with my manual version change.. but this time doesn't appear to have run. Will look into this further

Ah yeah - the README states it will just be done via a Github action. This is new since I last pushed to this repo. https://github.com/communitiesuk/funding-service-design-utils#releasing

I think this will eventially run on merge!


execution: fix stddev for large values

This aligns stddev computation with upstream promql

Test failures were from fuzzing; not involving stddev.


Viya LTS 2022.1 (AWS) -  Scheduling problem for Viya Monitoring pods

Hi Team,
A SAS PSD engineer has opened a ticket with SAS Technical Support:
Viya has been deployed on AWS using Viya deployment project.
viya4-deployment --tags "baseline,viya,cluster-logging,cluster-monitoring,viya-monitoring,install"
viya-monitoring has also been deployed along with it.
On AWS, we have to scale-down the nodes in the AWS EKS cluster to stop the cluster. After restarting the EKS cluster, we have encountered the following problem:
Viya Monitoring is no longer operational. We think that this is due to the corruption of the data store as mentioned here (https://github.com/sassoftware/viya4-monitoring-kubernetes/issues/129)
The potential solution, according to the above link, is to use a remove and redeploy process.
A comment on this issue says, “Rather than scaling down (using kubectl scale commands), they run the removal script (remove_logging_open.sh). It is important to leave the namespace and the associated PVCs in place. If that's been done, when you run the deployment script (deploy_logging_open.sh) to redeploy the logging components, the existing PVCs are reused. This means any data or content that existed when you shutdown are still there when you redeploy. While not strictly a scale down/up process the result is the same. Perhaps this approach will work in your use-case as well.”
With the Viya deployment project, the deinstallation of cluster-logging and cluster-monitoring deletes everything including PV, PVCs and name spaces.
Where are these files remove_logging_open.sh & deploy_logging_open.sh  located?
Thank you
Ira

Hi Ira,
In the later releases of Viya 4 Monitoring for Kubernetes, the deploy_logging_open.sh and remove_logging_open.sh have been shortened to simply deploy_logging.sh and remove_logging.sh, respectively.  You can use those scripts to remove and redeploy the log monitoring components.
Regards,
Curtis

Hi Curtis,
Thank you. According to the PSD engineer, he cannot find these scripts in the environment, although Viya Monitoring has been deployed along with Viya using SAS Viya 4 Deployment project. According to the overview section (https://github.com/sassoftware/viya4-deployment), SAS Viya 4 Deployment can perform a list of tasks including Deploy SAS Viya Monitoring for Kubernetes.
Is there any difference between deploying Viya Monitoring using SAS Viya 4 Deployment project and
viya4-monitoring-kubernetes?
Should the engineer consider redeploy Viya Monitoring using https://github.com/sassoftware/viya4-monitoring-kubernetes?
Regards,
Ira

@irchum The Viya 4 Deployment project clones our project repo as part of the deployment process, runs the appropriate scripts and then cleans up after itself.   This means the copy of our project repo is not available after deployment.  It uses the same general process when removing things as well.  Given this behavior, if you want to continue using Viya 4 Deployment, you would need to (re)clone our project repo after the initial deployment process to have access to our scripts (including the deploy_logging.sh and remove_logging.sh scripts).
However, one complication is that the Viya 4 Deployment project also removes the USER_DIR directory it used during the deployment process.  This is a directory containing files that tweak/customize the configuration of the our Viya 4 Monitoring project.  These files handle things like setting initial passwords (for Grafana and OpenSearch Dashboards) and configuring TLS and ingress.  You would need to manually recreate these files so that they can be consumed when you manually shutdown and restart the monitoring components.
Manually deploying the monitoring components (i.e. NOT using the Viya 4 Deployment project to deploy Viya 4 Monitoring) doesn't eliminate any of this but may be easier to maintain since the initial deployment and subsequent restarts would all follow the same process and use the same files.
The process would be:

Create cluster (possibly using the Viya 4 IAC for AWS)
Deploy Viya 4 Monitoring

clone the Viya 4 Monitoring repository
create a USER_DIR directory with the proper structure
populate the USER_DIR with the appropriate files to customize the deployment as desired
run the logging/bin/deploy_logging.sh being careful to set the USER_DIR environment variable point to the USER_DIR directory created above
run the monitoring/bin/deploy_monitoring.sh script being careful to set the USER_DIR environment variable point to the USER_DIR directory created above

Deploy SAS Viya (possibly using the Viya 4 Deployment project)

Do NOT select the tasks/tags: cluster-logging  and cluster-monitoring (since you've already deployed those components above)
Do include the task/tag: viya_monitoring

On Friday evening (or whenever you want to "shutdown" everything), the process would be:

Shutdown (or scale down) the SAS Viya components
Shutdown the Viya 4 Monitoring components

Run logging/bin/remove_logging.sh script (again pointing to the USER_DIR created during the initial deployment process)
Run monitoring/bin/remove_monitoring_cluster.sh script (again pointing to the USER_DIR created during the initial deployment process)

On Monday morning (or whenever you want to "restart" everything), the process would be:

"Restart" the Viya 4 Monitoring components

Run logging/bin/deploy_logging.sh script (again pointing to the USER_DIR created during the initial deployment process)
Run monitoring/bin/deploy_monitoring_cluster.sh script (again pointing to the USER_DIR created during the initial deployment process)

Restart (scale up) SAS Viya components

It is critically important that the PVCs and namespace used by the Viya 4 Monitoring project are NOT deleted.  If either of those things happen, the previously collected data will be lost.
Information about the USER_DIR and customization process can be found in the top-level README file in our repo with important additional details in the Pre-deployment chapter of the Log Monitoring documentation and the monitoring/README.md file file.

@gsmith-sas Thank you for your detail answer.
If I understand correctly, Viya Monitoring cannot be deployed with Viya deployment project as it removes Viya monitoring project repo after the deployment. It would be good that Viya deployment project include new feature that keeps the Viya monitoring repo so that the appropriate scripts can be used rather than redeploying Viya Monitoring manually.

@irchum I'm going to close this issue since I think we've clarified how to handle things.  Feel free to reach out (either here or via internal e-mail/channels) if you need anything more.


feat: opportunitiesSlice programmatic DefiProvider

Description

Notice

[ ] Have you followed the guidelines in our Contributing guide?
[ ] Have you checked to ensure there aren't other open Pull Requests for the same update/change?

Pull Request Type

[ ] :bug: Bug fix (Non-breaking Change: Fixes an issue)
[ ] :hammer_and_wrench: Chore (Non-breaking Change: Doc updates, pkg upgrades, typos, etc..)
[ ] :nail_care: New Feature (Breaking/Non-breaking Change)

Issue (if applicable)

closes #
Risk

Testing

Engineering

Operations

Screenshots (if applicable)

Current dependencies on/for this PR:

develop

PR #3315   👈

PR #3316

This comment was auto-generated by Graphite.

Moving to draft as I've restacked this stack on top of https://github.com/shapeshift/web/pull/3218 to-be-merged


[Bug]: Pricing does not respect decimal number of currency

What happened?
The decimal separator for Euro is the comma and Euro is set to the default currency in my instance. It would make sense to be able to enter prices in the same format as they are displayed in the menu to the customer (with a comma). As a sysadmin, this would save some potential calls from restaurant managers.
What did you expect to happen?
The input field for prices to be able to parse the same format as they are displayed (Or, atleast to be able to parse comma separated numbers)
Version
3.x
What browser are you seeing the problem on?
Firefox, Chrome, Safari, Microsoft Edge
Relevant log output
No response

This issue will be closed and archived in 3 days, as there has been no activity in the last 60 days. If this issue is still relevant or you would like to see it actioned, please respond and we will re-open this issue. If this issue is critical to your business, consider the Dedicated Support Service where a Service Level Agreement is offered.


change FXLEN macro to FLEN

This needs to happen here : https://github.com/riscv/riscof/blob/f4ceecc87af6c98baff9886043690352c03f3d10/riscof/framework/test.py#L273-L276

fixed in #12


Howt to generate spatially invariant genes

Hi @SONGDONGYUAN1994 @qw130 , thanks for your contribution to scDesign3! I have an interesting question to discuss: Do you have any ideas for generating spatially invariant genes when simulating new spatial datasets? This is helpful to benchmark new spatially variable genes (SVGs) algorithms against SVGs detection accuracy after running each software and calculating AUC curve.

@rocketeer1998 Hi Jiayu,
Please check this turorial: https://songdongyuan1994.github.io/scDesign3/docs/articles/scDesign3-DEanalysis-vignette.html
In this paper, another group independently uses scDesign3 for generating spatially variable/invariable genes.
Best,
Dongyuan

Thanks for your quick response! How did you pre-select the top spatial variable genes? I see that you chose top 200 genes to save time, on what basis?

I've followed your instructions on above mentioned tutorial. But it seems like there is a memory error when I run in fit copula step. Below is my code and session info.
code
scDesign3_simulator <- function(h5ad_path,dataset_name){

  t1 <- Sys.time()

  ### read matrix
  anndata <- read_h5ad(h5ad_path, backed = 'r')
  mx <- anndata$X
  mx <- t(mx) # row as gene
  mx <- Matrix(mx, sparse = T)

  ### read coord
  coord <- as.data.frame(anndata$obsm$spatial[,1:2])
  colnames(coord) <- c('X', 'Y')

  ### create SCE object
  example_sce <- SingleCellExperiment(list(counts = mx),
                                      colData = DataFrame(spatial1 = coord$X, spatial2 = coord$Y))

  ### read pre-selected SVG and nSVG results to filter genes to speed up
  svg_nsvg <- read.csv('Results/8-Simulate_SVG_nSVG/SVG_nSVG.csv') %>% filter(dataset == dataset_name)
  example_sce <- example_sce[svg_nsvg$gene,]

  ### remove mitochondrial genes
  mt_idx<- grep("mt-",rownames(example_sce))
  if(length(mt_idx)!=0){
    example_sce   <- example_sce[-mt_idx,]
  }

  ### scDesign3 step-by-step simulation
  set.seed(1)

  ### construct input dataset
  print(Sys.time())
  print("Step1 construct input dataset")
  example_data <- construct_data(
    sce = example_sce,
    assay_use = "counts",
    celltype = NULL,
    pseudotime = NULL,
    spatial = c("spatial1", "spatial2"),
    other_covariates = NULL,
    corr_by = "1"
  )

  ### fit regression models for each feature based on specific specification
  print(Sys.time())
  print("Step2 fit regression models for each feature based on specific specification")
  example_marginal <- fit_marginal(
    data = example_data,
    predictor = "gene",
    mu_formula = "s(spatial1, spatial2, bs = 'gp', k= 50)",
    sigma_formula = "1",
    family_use = "nb",
    n_cores = 20,
    usebam = FALSE
  )

  ### fit a copulam obtain AIC and BIC
  print(Sys.time())
  print("Step3 fit a copulam obtain AIC and BIC")
  example_copula <- fit_copula(
    sce = example_sce,
    assay_use = "counts",
    marginal_list = example_marginal,
    family_use = "nb",
    copula = "gaussian",
    n_cores = 20,
    input_data = example_data$dat
  )

  ### extract parameters
  print(Sys.time())
  print("Step4 extract parameters")
  example_para <- extract_para(
    sce = example_sce,
    marginal_list = example_marginal,
    n_cores = 20,
    family_use = "nb",
    new_covariate = example_data$newCovariate,
    data = example_data$dat
  )

  ### select SVG and non SVG
  dev_explain <- sapply(example_marginal, function(x){
    sum = summary(x$fit)
    return(sum$dev.expl)
  })
  dev_ordered <- order(dev_explain, decreasing = TRUE)
  num_de <- 100
  ordered <- dev_explain[dev_ordered]
  de_idx <- names(ordered)[1:num_de]
  non_de_idx <- names(ordered)[-(1:num_de)]
  non_de_mat <- apply(example_para$mean_mat[,non_de_idx], 2, function(x){
    avg <- (max(x)+min(x))/2
    new_mean <- rep(avg, length(x))
    return(new_mean)
  })
  example_para$mean_mat[,non_de_idx] <- non_de_mat

  ### simulate new data
  set.seed(1)
  example_newcount <- simu_new(
    sce = example_sce,
    mean_mat = example_para$mean_mat,
    sigma_mat = example_para$sigma_mat,
    zero_mat = example_para$zero_mat,
    quantile_mat = NULL,
    copula_list = example_copula$copula_list,
    n_cores = 1,
    family_use = "nb",
    input_data = example_data$dat,
    new_covariate = example_data$newCovariate,
    important_feature = rep(TRUE, dim(example_sce)[1]),
    filtered_gene = example_data$filtered_gene
  )

  simu_sce <- SingleCellExperiment(list(counts = example_newcount), colData = example_data$newCovariate)
  logcounts(simu_sce) <- log1p(counts(simu_sce))

  t2 <- Sys.time()

  return(list(SVG_index = de_idx, nSVG_index = non_de_idx, new_data = simu_sce, time = t2-t1))

}
result1 <- scDesign3_simulator(h5ad_path = MyData.h5ad',
                               dataset_name = 'MyData')

When I ran fit_copula, it threw me an error Error in serialize(data, node$con) : 链结书写发生了错误. I've tested my pipeline in a small datasets and it worked. This dataset has ~2700 spots and ~12000 genes. Is it a computer memory problem?
session info

Hi Jiayu,
That sounds like a run-out-of-memory issue. The copula fitting can be space expensive since it will estimate a gene x gene corr matrix. One solution is to give up the copula part if you only care about marginal SVG, e.g., set corr_by = 'ind' in construct_data().

I've made up my mind to upgrade my PC to a Linux server! Thanks a lot!


Unable to execute db migrations in mariadb

running drone using following command against clean mariadb database
Server version: 10.1.38-MariaDB MariaDB Server
docker run \
  --volume=/var/run/docker.sock:/var/run/docker.sock \
  --volume=/var/lib/drone:/data/dronefiles \
  --env=DRONE_GITHUB_SERVER=https://github.com \
  --env=DRONE_GITHUB_CLIENT_ID=xxx \
  --env=DRONE_GITHUB_CLIENT_SECRET=xx \
  --env=DRONE_RUNNER_CAPACITY=10 \
  --env=DRONE_SERVER_HOST=drone.foobar.com \
  --env=DRONE_SERVER_PROTO=https \
  --env=DRONE_GIT_ALWAYS_AUTH=true \
  --env=DRONE_SERVER_PORT=:443 \
  --env=DRONE_TLS_CERT=/var/lib/drone/key.crt \
  --env=DRONE_TLS_KEY=/var/lib/drone/key.pem \
  --env=DRONE_DATABASE_DRIVER=mysql \
  --env=DRONE_DATABASE_DATASOURCE=xxxx:xxxx@tcp\(<IP_ADDRESS>:3306\)/drone?parseTime=true \
  --publish=80:80 \
  --publish=443:443 \
  --restart=always \
  --detach=true \
  --name=drone \
  jesseh/drone:1-oss

{"error":"Error 1064: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'user_login TEXT\n,user_email TEXT\n,user_admin BOOLEAN\n,us' at line 3","level":"fatal","msg":"main: cannot initialize server","time":"2019-03-21T13:16:28Z"}
I added users table manually, but the problem seems to be in all tables. So when starting new drone installation, it cannot create other tables than migrations

I tested drone/drone:1 image with same settings against same db. It works. So this db migration bug exist only in OSS version

it seems that sqlite is only supported currently? https://github.com/drone/drone/blob/5281751ba5e82f8cb77ad894d532b8916ff6fdfd/store/shared/db/conn_oss.go However, https://drone.io/enterprise/features/ this says that opensource version do have postgres and mysql?

okay it seems that OSS version should not have mysql or postgre support https://drone.io/enterprise/features/


Mekanism Recipe Issue

This is the same as #7 only with Mekanism metals like osmium, refined obsidian and refined glowstone ingots.

i know what's wrong. i fixed it in dev.

Ok.

https://www.curseforge.com/minecraft/mc-mods/tinkers-reforged/files/2960840 hopefully this build fix it!


Doesn't work on Android

Hi guys, im running on Expo and doesn't work on android (running the last version of expo with react native 49), here the code:
import React, { Component } from 'react';
import {
  StyleSheet,
  Text,
  TextInput,
} from 'react-native';
import { KeyboardAwareScrollView } from 'react-native-keyboard-aware-scroll-view'

export default class App extends Component {
  render() {
    return (
        <KeyboardAwareScrollView enableOnAndroid>
          <TextInput style={styles.textInput} placeholder={'First Name'} ref={(r) => { this._firstNameTI = r; }} returnKeyType={'next'}
                     underlineColorAndroid="transparent" onSubmitEditing={(event) => this._lastNameTI.focus()}/>
          <TextInput style={styles.textInput} placeholder={'Last Name'} ref={(r) => { this._lastNameTI = r; }} returnKeyType={'next'}
                     underlineColorAndroid="transparent" onSubmitEditing={(event) => this._countryTI.focus()}/>
          <TextInput style={styles.textInput} placeholder={'Country'} ref={(r) => { this._countryTI = r; }} returnKeyType={'next'}
                     underlineColorAndroid="transparent" onSubmitEditing={(event) => this._stateTI.focus()}/>
          <TextInput style={styles.textInput} placeholder={'State'} ref={(r) => { this._stateTI = r; }} returnKeyType={'next'}
                     underlineColorAndroid="transparent" onSubmitEditing={(event) => this._addrTI.focus()}/>
          <TextInput style={styles.textInput} placeholder={'Address'} ref={(r) => { this._addrTI = r; }} returnKeyType={'next'}
                     underlineColorAndroid="transparent" onSubmitEditing={(event) => this._emailTI.focus()}/>
          <TextInput style={styles.textInput} keyboardType="email-address" placeholder={'Email'} ref={(r) => { this._emailTI = r; }}
                     underlineColorAndroid="transparent" returnKeyType={'next'} onSubmitEditing={(event) => this._msgTI.focus()}/>
          <TextInput style={styles.textInput} placeholder={'Message'} ref={(r) => { this._msgTI = r; }} returnKeyType={'next'}
                     underlineColorAndroid="transparent" onSubmitEditing={(event) => this._notesTI.focus()}/>
          <TextInput style={styles.textInput} placeholder={'Notes'} ref={(r) => { this._notesTI = r; }} returnKeyType={'go'}
                     underlineColorAndroid="transparent"  />
        </KeyboardAwareScrollView>
    );
  }
}

const styles = StyleSheet.create({
  mainTitle: {
    fontSize: 20,
    marginTop: 10,
    textAlign: 'center'
  },
  textInput: {
    height: 60,
    borderColor: 'gray',
    borderWidth: 1,
    marginBottom: 16,
    // paddingVertical: 4,
    // paddingHorizontal: 8,
  },
});

Thanks !!!

Android Support may not work with Expo. Check #190
To use Android Support you need to set windowSoftInputMode to adjustPan which you can't do on Expo projects.

Yup @Swordsman-Inaction you are right expo apps use windowSoftInputMode with adjustResize any plan to support alternative way that works with adjustResize?

@outaTiME
Sorry, currently I'm don't have much time to work on this. But you are welcome to send a PR.

@outaTiME i found the same problem... @Swordsman-Inaction thanks for the info :) Expo confirmed indeed that it's adjustResize. One suggestion might be to update the docs of this repo so it's a bit clearer that the actual setting for windowSoftInputMode is adjustPan? And also potentially that it currently can't be used with Expo?
I'd gladly take a look at making a PR. any pointers on where to look first?

@outaTiME have you tried adding extraScrollHeight={100}? I'm using both android and expo and it works fine for me like this
<KeyboardAwareScrollView extraScrollHeight={100} enableOnAndroid={true} keyboardShouldPersistTaps='handled'>

Not working on XT890 (Kitkat) - Tested in Genymotion. Just IOS works. Expo*
<KeyboardAwareScrollView
// resetScrollToCoords={{ x: 0, y: 0 }}
contentContainerStyle={styles.contentContainerStyler}
// scrollEnabled={true}
extraScrollHeight={100}
enableOnAndroid={true}
keyboardShouldPersistTaps="handled">

@MichelDiz might be a problem with your styles sheet. Can you try sharing that too?

I think it's far more likely that the problem is in react-native-onboarding-swiper. I'm using it to create a simple form in steps. But the interesting thing is that all "KeyboardAware" I tested worked on IOS. Only on Android that does not work.

Please, read the thread. Android support comes from windowSoftInputMode, it's not the same behaviour as iOS.

Well, even the Expo "Keyboard Aware" worked on Android. So, my problem must be something with react-native-onboarding-swiper.

@Spoof14 I've been dealing with this issue for HOURS, thank you so much!

It doesn't work for components that have  position: 'absolute' in their style, better prepare the UI with relative positioning.

Unable to make any events. Getting offset error in android. Any solution for this?

for me I was facing this issue on Android (react-native 0.62.2). iOS was working perfectly. I found that adjustResize flag in Android manifest was the culprit. I removed it and it started working
Before
android:windowSoftInputMode="stateAlwaysHidden|adjustPan|adjustResize"

After
android:windowSoftInputMode="stateAlwaysHidden|adjustPan"

Warning
I don't know what side effects it will cause in future.


Backport Isssue(#768) to branch opendistro-1.13

opensearch-project/security-dashboards-plugin pull request intake form
Please provide as much details as possible to get feedback/acceptance on your PR quickly

Category: (Enhancement, New feature, Bug fix, Test fix, Refactoring, Maintenance, Documentation)
Backporting

Github Issue # or road-map entry, if available: #741

Description of changes:

Why these changes are required?

What is the old behavior before changes and new behavior after changes? (Please add any example/logs/screen-shot if available)

Testing done: (Please provide details of testing done: Unit testing, integration testing and manual testing)

TO-DOs, if any: (Please describe pending items and provide Github issues# for each of them)

Is it backport from main branch? (If yes, please add backport PR # and commits #)
Yes, #768 and commit hash is : 9538f7551452fe344944ce87daf8326783fb8fee

By making a contribution to this project, I certify that:
(a) The contribution was created in whole or in part by me and I
have the right to submit it under the open source license
indicated in the file; or
(b) The contribution is based upon previous work that, to the best
of my knowledge, is covered under an appropriate open source
license and I have the right under that license to submit that
work with modifications, whether created in whole or in part
by me, under the same open source license (unless I am
permitted to submit under a different license), as indicated
in the file; or
(c) The contribution was provided directly to me by some other
person who certified (a), (b) or (c) and I have not modified
it.
(d) I understand and agree that this project and the contribution
are public and that a record of the contribution (including all
personal information I submit with it, including my sign-off) is
maintained indefinitely and may be redistributed consistent with
this project or the open source license(s) involved.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

:exclamation: No coverage uploaded for pull request base (opendistro-1.13@07d1b5c). Click here to learn what that means.
The diff coverage is n/a.

@@                Coverage Diff                 @@
##             opendistro-1.13     #775   +/-   ##
==================================================
  Coverage                   ?   72.24%
==================================================
  Files                      ?       87
  Lines                      ?     1906
  Branches                   ?      242
==================================================
  Hits                       ?     1377
  Misses                     ?      473
  Partials                   ?       56

Continue to review full report at Codecov.

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

Please verify you've tested and there is no regression found

Please verify you've tested and there is no regression found

Thanks for looking @hsiang9431-amzn , Yes I tested the changes and there is no regression that I observed.


tf.signal.rfft(2d/3d) documentation refers Tcomplex and input as arguments.

URL(s) with the issue:
https://www.tensorflow.org/api_docs/python/tf/signal/rfft
https://www.tensorflow.org/api_docs/python/tf/signal/rfft2d
https://www.tensorflow.org/api_docs/python/tf/signal/rfft3d
Description of issue (what needs changing):
Clear description
In the Args section, there are inputs input and Tcomplex. Treal no longer exist, and input should be input_tensor.
Running code
tf.signal.rfft(1, Tcomplex=tf.complex64)

got exception:
TypeError: _rfft() got an unexpected keyword argument 'Tcomplex'

Parameters defined
Yes
Returns defined
Yes
Raises listed and defined
No
System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): No
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): MacOS Mojave 10.14
TensorFlow installed from (source or binary): binary
TensorFlow version (use command below): 2.2.0-rc3
Python version: 3.8.2

Related Issue:
#39520

@DNXie Looks like this was resolved in recent TF docs.
Can you please verify once and close the issue if this was resolved. Thanks!

@jvishnuvardhan Looks like it has been fixed. Closing the issue. Thanks.


Repeated error message "UnhandledPromiseRejectionWarning: Error: Huejay: timeout of 15000ms exceeded"

Even all seems to work, I see a couple of the same error message in my log related to the node-red-contrib-humagic.
Feb 12 15:43:07 raspi-smarthome daemon.err node-red: (node:18121) UnhandledPromiseRejectionWarning: Error: Huejay: timeout of 15000ms exceeded
Feb 12 15:43:07 raspi-smarthome daemon.err node-red:     at getHttpClient.request.then.catch.error (/usr/local/addons/redmatic/var/node_modules/node-red-contrib-huemagic/node_modules/huejay/lib/Transport.js:106:15)
Feb 12 15:43:07 raspi-smarthome daemon.err node-red:     at process._tickCallback (internal/process/next_tick.js:68:7)
Feb 12 15:43:07 raspi-smarthome daemon.err node-red: (node:18121) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 13)
F

Flow to Reproduce
[
    {
        "id": "232ebd58.c158fa",
        "type": "hue-light",
        "z": "1592b621.21a732",
        "name": "Shelf Light",
        "bridge": "b461e4d7.4e0da",
        "lightid": "15",
        "colornamer": false,
        "x": 990,
        "y": 180,
        "wires": [
            [
                "eb0bada7.2d066"
            ]
        ]
    },
    {
        "id": "ef6ee55.f5f5798",
        "type": "change",
        "z": "1592b621.21a732",
        "name": "Set payload to Hue Msg",
        "rules": [
            {
                "t": "move",
                "p": "payload.On",
                "pt": "msg",
                "to": "payload",
                "tot": "msg"
            },
            {
                "t": "delete",
                "p": "payload.On",
                "pt": "msg"
            },
            {
                "t": "delete",
                "p": "payload.Toggle",
                "pt": "msg"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 750,
        "y": 180,
        "wires": [
            [
                "232ebd58.c158fa"
            ]
        ]
    },
    {
        "id": "eb0bada7.2d066",
        "type": "switch",
        "z": "1592b621.21a732",
        "name": "",
        "property": "payload.on",
        "propertyType": "msg",
        "rules": [
            {
                "t": "true"
            },
            {
                "t": "false"
            }
        ],
        "checkall": "true",
        "repair": false,
        "outputs": 2,
        "x": 1150,
        "y": 180,
        "wires": [
            [
                "aad34f42.71b058"
            ],
            [
                "2db18103.d7717e"
            ]
        ]
    },
    {
        "id": "2db18103.d7717e",
        "type": "change",
        "z": "1592b621.21a732",
        "name": "Set HKMsg Status Off",
        "rules": [
            {
                "t": "delete",
                "p": "payload",
                "pt": "msg"
            },
            {
                "t": "set",
                "p": "payload.On",
                "pt": "msg",
                "to": "false",
                "tot": "bool"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 1340,
        "y": 240,
        "wires": [
            [
                "1111149e.b9c7b3"
            ]
        ]
    },
    {
        "id": "aad34f42.71b058",
        "type": "change",
        "z": "1592b621.21a732",
        "name": "Set HKMsg Status On",
        "rules": [
            {
                "t": "delete",
                "p": "payload",
                "pt": "msg"
            },
            {
                "t": "set",
                "p": "payload.On",
                "pt": "msg",
                "to": "true",
                "tot": "bool"
            }
        ],
        "action": "",
        "property": "",
        "from": "",
        "to": "",
        "reg": false,
        "x": 1340,
        "y": 120,
        "wires": [
            [
                "1111149e.b9c7b3"
            ]
        ]
    },
    {
        "id": "b461e4d7.4e0da",
        "type": "hue-bridge",
        "z": "",
        "name": "Philips hue II",
        "bridge": {{MY_BRIDGE_IP}},
        "key": {{MY_BRIDGE_KEY}},
        "interval": "3000"
    }
]

Expected behavior
The error repeated several times a day independent of user interaction on the Dashboard or triggered by an injection of a payload. So Im interested in the root cause and how to prevent this.

NodeRED version: 1.03
NodeJS version: 10.18.1
Device running NodeRED: RaspberryPi

Thanks in advance!

I habe the same problem
`

node-red.0
2020-04-27 23:18:58.304
error
(17499) Error: Huejay: timeout of 15000ms exceeded     at getHttpClient.request.then.catch.error (/opt/iobroker/iobroker-data/node-red/node_modules/huejay/lib/Transport.js:106:15)     at process._tick

node-red.0
2020-04-27 23:18:58.303
error
(17499) uncaught exception: Huejay: timeout of 15000ms exceeded

node-red.0
2020-04-27 23:18:58.302
error
(17499) Error: Huejay: timeout of 15000ms exceeded     at getHttpClient.request.then.catch.error (/opt/iobroker/iobroker-data/node-red/node_modules/huejay/lib/Transport.js:106:15)     at process._tick

node-red.0
2020-04-27 23:18:58.302
error
(17499) uncaught exception: Huejay: timeout of 15000ms exceeded

node-red.0
2020-04-27 23:18:58.297
error
(17499) Error: Huejay: timeout of 15000ms exceeded     at getHttpClient.request.then.catch.error (/opt/iobroker/iobroker-data/node-red/node_modules/huejay/lib/Transport.js:106:15)     at process._tick

node-red.0
2020-04-27 23:18:58.294
error
(17499) uncaught exception: Huejay: timeout of 15000ms exceeded

`

I habe the same problem
`

node-red.0
2020-04-27 23:18:58.304
error
(17499) Error: Huejay: timeout of 15000ms exceeded     at getHttpClient.request.then.catch.error (/opt/iobroker/iobroker-data/node-red/node_modules/huejay/lib/Transport.js:106:15)     at process._tick

node-red.0
2020-04-27 23:18:58.303
error
(17499) uncaught exception: Huejay: timeout of 15000ms exceeded

node-red.0
2020-04-27 23:18:58.302
error
(17499) Error: Huejay: timeout of 15000ms exceeded     at getHttpClient.request.then.catch.error (/opt/iobroker/iobroker-data/node-red/node_modules/huejay/lib/Transport.js:106:15)     at process._tick

node-red.0
2020-04-27 23:18:58.302
error
(17499) uncaught exception: Huejay: timeout of 15000ms exceeded

node-red.0
2020-04-27 23:18:58.297
error
(17499) Error: Huejay: timeout of 15000ms exceeded     at getHttpClient.request.then.catch.error (/opt/iobroker/iobroker-data/node-red/node_modules/huejay/lib/Transport.js:106:15)     at process._tick

node-red.0
2020-04-27 23:18:58.294
error
(17499) uncaught exception: Huejay: timeout of 15000ms exceeded

`

Same problem here:
(node:23) UnhandledPromiseRejectionWarning: Error: Huejay: timeout of 15000ms exceeded,
    at getHttpClient.request.then.catch.error (/data/node_modules/huejay/lib/Transport.js:106:15),
    at process._tickCallback (internal/process/next_tick.js:68:7),
(node:23) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 151)

Same as:
#106

Hello,
Same problem for me. Is there a solution found or a workaround ?
Sep 27 09:28:46 rasp-test Node-RED[19691]: (node:19691) UnhandledPromiseRejectionWarning: Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client Sep 27 09:28:46 rasp-test Node-RED[19691]:     at ServerResponse.setHeader (_http_outgoing.js:470:11) Sep 27 09:28:46 rasp-test Node-RED[19691]:     at ServerResponse.header (/usr/lib/node_modules/node-red/node_modules/express/lib/response.js:771:10) Sep 27 09:28:46 rasp-test Node-RED[19691]:     at ServerResponse.send (/usr/lib/node_modules/node-red/node_modules/express/lib/response.js:170:12) Sep 27 09:28:46 rasp-test Node-RED[19691]:     at client.lights.getAll.then.catch.error (/home/pi/.node-red/node_modules/node-red-contrib-huemagic/huemagic/hue-bridge-config.js:374:18) Sep 27 09:28:46 rasp-test Node-RED[19691]:     at process._tickCallback (internal/process/next_tick.js:68:7) Sep 27 09:28:46 rasp-test Node-RED[19691]: (node:19691) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 20)
Thanks

Most probably the IP of the Bridge has changed and node-red cannot find it with the current configuration.
Add a new configuration and delete the old.
Set a static IP address for the bridge so it doesn't happen again.

@cchrisx31

Set a static IP address for the bridge so it doesn't happen again.

You may probably right with that but I wonder about a little it. In the past I've configured the DHCP of my router to provide always the same IP to the HUE bridge. 3 weeks ago I've changed the IP of the HUE bridge for some other reasons to a real fix IP not covered by the permitted assignable DHCP range of my router. I just checked the logs of today
Jun  9 11:12:53 {{HOST}} node-red: (node:9037) UnhandledPromiseRejectionWarning: Error: Huejay: timeout of 15000ms exceeded
Jun  9 11:12:53 {{HOST}} node-red:     at /usr/local/addons/redmatic/var/node_modules/node-red-contrib-huemagic/node_modules/huejay/lib/Transport.js:106:15
Jun  9 11:12:53 {{HOST}} node-red:     at runMicrotasks (<anonymous>)
Jun  9 11:12:53 {{HOST}} node-red:     at processTicksAndRejections (internal/process/task_queues.js:93:5)
Jun  9 11:12:53 {{HOST}} node-red: (node:9037) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 485)

as you can see, the problem is still there. In addition to that the error msg of @cedcox looks different than mine.

@cchrisx31

Set a static IP address for the bridge so it doesn't happen again.

You may probably right with that but I wonder about a little it. In the past I've configured the DHCP of my router to provide always the same IP to the HUE bridge. 3 weeks ago I've changed the IP of the HUE bridge for some other reasons to a real fix IP not covered by the permitted assignable DHCP range of my router. I just checked the logs of today
Jun  9 11:12:53 {{HOST}} node-red: (node:9037) UnhandledPromiseRejectionWarning: Error: Huejay: timeout of 15000ms exceeded
Jun  9 11:12:53 {{HOST}} node-red:     at /usr/local/addons/redmatic/var/node_modules/node-red-contrib-huemagic/node_modules/huejay/lib/Transport.js:106:15
Jun  9 11:12:53 {{HOST}} node-red:     at runMicrotasks (<anonymous>)
Jun  9 11:12:53 {{HOST}} node-red:     at processTicksAndRejections (internal/process/task_queues.js:93:5)
Jun  9 11:12:53 {{HOST}} node-red: (node:9037) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 485)

as you can see, the problem is still there. In addition to that the error msg of @cedcox looks different than mine.

The main cause should still be that node-red cannot find the Bridge and it times out.
Try to reset the configuration again and see what happens.
I had the same issue.
to make it work I had to remove all huemagic nodes, remove node-red-contrib-huemagic, re-install it and re-add the nodes with a new configuration.
If you have a lot of hueagic nodes, you can export your flows, delete all and after the above process re-import them in node-red.

Hi,
I have the same issues unfortunately, but I guess worse.
2021-11-19 21:58:45.456 - error: node-red.0 (23541) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
--
2021-11-19 21:58:45.493 - error: node-red.0 (23541) unhandled promise rejection: Huejay: timeout of 15000ms exceeded
2021-11-19 21:58:45.495 - error: node-red.0 (23541) Error: Huejay: timeout of 15000ms exceeded
at /opt/iobroker/iobroker-data/node-red/node_modules/huejay/lib/Transport.js:106:15
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at runNextTicks (internal/process/task_queues.js:66:3)
at listOnTimeout (internal/timers.js:523:9)
at processTimers (internal/timers.js:497:7)
2021-11-19 21:58:45.496 - error: node-red.0 (23541) Huejay: timeout of 15000ms exceeded
2021-11-19 21:58:45.502 - error: node-red.0 (23541) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
2021-11-19 21:58:45.504 - error: node-red.0 (23541) unhandled promise rejection: Huejay: timeout of 15000ms exceeded
2021-11-19 21:58:45.505 - error: node-red.0 (23541) Error: Huejay: timeout of 15000ms exceeded
at /opt/iobroker/iobroker-data/node-red/node_modules/huejay/lib/Transport.js:106:15
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:97:5)
at runNextTicks (internal/process/task_queues.js:66:3)
at listOnTimeout (internal/timers.js:523:9)
at processTimers (internal/timers.js:497:7)
2021-11-19 21:58:45.506 - error: node-red.0 (23541) Huejay: timeout of 15000ms exceeded
2021-11-19 21:58:45.509 - error: node-red.0 (23541) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
2021-11-19 21:58:45.510 - error: node-red.0 (23541) unhandled promise rejection: Huejay: timeout of 15000ms exceeded
2021-11-19 21:58:45.512 - error: node-red.0 (23541) Error: Huejay: timeout of 15000ms exceeded
at /opt/iobroker/iobroker-data/node-red/node_modules/huejay/lib/Transport.js:106:15
at runMicrotasks ()
at processTicksAndRejections (internal/process/task_queues.js:97:5)
2021-11-19 21:58:45.513 - error: node-red.0 (23541) Huejay: timeout of 15000ms exceeded
2021-11-19 21:58:46.021 - info: node-red.0 (23541) terminating
2021-11-19 21:58:46.022 - warn: node-red.0 (23541) Terminated (UNCAUGHT_EXCEPTION): Without reason
2021-11-19 21:58:46.625 - info: node-red.0 (20712) node-red exited with 6
2021-11-19 21:58:51.626 - info: node-red.0 (20712) Starting node-red: --max-old-space-size=512 /opt/iobroker/node_modules/node-red/red.js -v --settings /opt/iobroker/iobroker-data/node-red/settings.js

As you can see in those logs messages, it's not just throwing those errors but also killing my node-red adapter forcing a restart.
Node-Red runs via my iobroker, huemagic is added to node-red directly.
At first I thought this was because next to huemagic also the hue-extended adapter from iobroker was communicating with the hue bridge. But I disabled this adapter, and still the error happens sometimes.
When I still had that and accidentally created some loops in node red I could trigger this actively.
But the hue adapter is disabled and in node-red I would say all loops are fixed.
My bridge has a fixed IP address, so this isn't the issue.
Is there a way to increase the timeout from 15 seconds to idk 30, or even 60?
Could we add some kind of debug logging to see which action is triggering the timeout? Maybe one of my flows is causing this still...
The debug node in node-red is obviously no help since node-red itself crashes due to it

Seeing that this project hasn't seen an update in 14 months, I assume the Dev is no longer interested in it / supporting it.
Would anybody be capable of fixing the error handling - or has a good alternative solution to use in NR?
This is crashing my NR 3 times a day, completely random.... besides that it's working perfectly fine, but obviously this isn't very useable like that :(

Oh oh. Indeed. 14 months was the last commit. I hope the owner has time to continue or somebody else can take over. Besides this bug, Hue has announced new API.

From my perspective this issue can be closed.
I understood Huejay isn't longer part of Huemagic 4.x.
First tests on my setup with the 4.0.3 release haven't shown the behavior at all.
Thanks for the work on rewrite this nrchk.

I just jumped through the patch notes - looks good!
Will test it out in a bit.
This makes me so happy that it hurts :D.


[Docs]Remove all instances of  api.github.com in docs

Current State
There are a lot of commented out API calls in Meshery docs
Desired State
All these API calls should be removed.
Contributor Guides and Resources

🛠 Meshery Build & Release Strategy
📚 Instructions for contributing to documentation

Meshery documentation site and source

🎨 Wireframes and designs for Meshery UI in Figma
🙋🏾🙋🏼 Questions: Layer5 Discussion Forum and Layer5 Community Slack

Should I take this? 😅

@Prakhar-Agarwal-byte let's keep this for a beginner😂

I want to work on this @navendu-pottekkat

Is this issue still open?
@msaini0r I saw your work man, will you finish it? or can I contribute to solving this issue?

This is not an issue that we plan on looking into right now, let's close. Thank you @ahmadateya for pointing this out.


Add python-freezegun entry

The entries must be in alphabetical order.
It also looks like that at least in newer Ubuntu versions there are packages for that: http://packages.ubuntu.com/search?keywords=python-freezegun
In order to allow using those in the future these pip entries should have a suffix -pip to keep them separate.

Updated.

Thanks.
On Wed, Sep 9, 2015 at 4:10 AM, Dirk Thomas<EMAIL_ADDRESS>wrote:

Merged #9413 https://github.com/ros/rosdistro/pull/9413.
—
Reply to this email directly or view it on GitHub
https://github.com/ros/rosdistro/pull/9413#event-404031090.

--
和田 健太郎 / Kentaro Wada
http://wkentaro.com http://www.wkentaro.com


ApiManagementGatewayCollection.GetAllAsync does not support Region in filter

Library name and version
Azure.ResourceManager.ApiManagement 1.0.1
Describe the bug
The documentation of the ApiManagementGatewayCollection.GetAllAsync method (https://learn.microsoft.com/en-us/dotnet/api/azure.resourcemanager.apimanagement.apimanagementgatewaycollection.getallasync?view=azure-dotnet#azure-resourcemanager-apimanagement-apimanagementgatewaycollection-getallasync(system-string-system-nullable((system-int32))-system-nullable((system-int32))-system-threading-cancellationtoken) specifies that you can filter based on the gateway region, however doing so results in a 400 with an error stating that the 'region' property is not found.
Expected behavior
Gateways are filtered based on the provided region value.
Actual behavior
The request fails with a 400 Bad Request and the message: Could not find a property named 'region' on type 'urn:microsoft:windowsazure:apimanagement.mgmt.gateway
Reproduction Steps
Construct an ApiManagementServiceResource using Azure resource values for subscription, resourcegroup and servicename, then perform the call:
GetApiManagementGateways().GetAllAsync
providing a filter string invoking an operator on the region property, as described in the docs https://learn.microsoft.com/en-us/dotnet/api/azure.resourcemanager.apimanagement.apimanagementgatewaycollection.getallasync?view=azure-dotnet#azure-resourcemanager-apimanagement-apimanagementgatewaycollection-getallasync(system-string-system-nullable((system-int32))-system-nullable((system-int32))-system-threading-cancellationtoken)
Capture the resulting Azure.RequestFailedException and study the message and status.
Environment

Windows 10
net6.0 project
Visual Studio 2022 17.4.2

Thank you for your feedback.  Tagging and routing to the team member best able to assist.

Hey @adahlinvcrs , thank you for reaching out to us about the Azure SDK for .NET. Unfortunately, this issue is related to the service side and not the SDK side, so we are not able to help you with it. Therefore, we are closing this issue for now. If you need more assistance, please open an Azure support request. We apologize for any inconvenience this may cause you.
We value your feedback and we want to make sure that your problem is solved. If you think that we have misunderstood your issue or closed it incorrectly, please feel free to comment on this thread and reopen the issue. We will be happy to assist you further. Thank you for your understanding and cooperation.


⚠ BeyondHD has degraded performance

In 2a0dce3, BeyondHD ($BHD) experienced degraded performance:

HTTP code: 200
Response time: 8590 ms

Resolved: BeyondHD performance has improved in e459b19.


Updated the readme for opensearch plugin to use date processor in combination with Opensearch sink

Description
Updated the readme with example for opensearch plugin to use date processor in combination with openaearch sink to ingest into indices based on the timestamp from a field of the incoming record.
Issues Resolved
https://github.com/opensearch-project/data-prepper/issues/4832
Check List

[ ] New functionality includes testing.
[ ] New functionality has a documentation issue. Please link to it in this PR.

[ ] New functionality has javadoc added

[ ] Commits are signed with a real name per the DCO

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

@dlvenable I forgot to sign the DCO in my first commit. Is it required for the PR to be merged? Should I push an additional commit with the DCO?

@akshay0709 , Yes, we do require the DCO per the OpenSearch project policy. You can add the DCO and then force push your commit(s).

@dlvenable I pushed an empty commit with DCO. Let me know if this works.

@akshay0709 , Thank you. The original commit is also missing the sign-off. These steps should resolve it:
git rebase HEAD~2 --signoff
git push --force-with-lease origin update-doc-date-processor

@dlvenable Done


Intermittent crash when toggling between AR and VR

I get a green color coded error occasionally when toggling between AR and VR views:
-[MTLDebugRenderCommandEncoder validateCommonDrawErrors:]:5779: failed assertion `Draw Errors Validation
Fragment Function(realitykit::fsSurfaceMeshShadowCasterProgrammableBlending): missing buffer binding at index 25 for videoRuntimeFunctionConstants[0].

It will eventualy navigate to __pthread_kill and display this error code:
Render (15): signal SIGABRT
An abort signal terminated the process. Such crashes often happen because of an uncaught exception or unrecoverable error or calling the abort() function.

The code inside __pthread_kill looks like this:
libsystem_kernel.dylib`__pthread_kill:
    0x1e197326c <+0>:  mov    x16, #0x148               ; =328
    0x1e1973270 <+4>:  svc    #0x80
->  0x1e1973274 <+8>:  b.lo   0x1e1973294               ; <+40>
    0x1e1973278 <+12>: pacibsp
    0x1e197327c <+16>: stp    x29, x30, [sp, #-0x10]!
    0x1e1973280 <+20>: mov    x29, sp
    0x1e1973284 <+24>: bl     0x1e196e348               ; cerror_nocancel
    0x1e1973288 <+28>: mov    sp, x29
    0x1e197328c <+32>: ldp    x29, x30, [sp], #0x10
    0x1e1973290 <+36>: retab
    0x1e1973294 <+40>: ret

I have tried stopping the fireworks from emitting between mode changes, as I observed at one point that fireworks were on screen at the time of the crash. Did not fix.


Chunks with empty CSV files get loaded with object as underlying dtype

When loading empty CSV files (i.e. files with header only but no rows), pandas read_csv method will assume object as the default dtype. This will then get propagated to whole session data by the use of pandas concat method, since the most general dtype is assumed when concatenating multiple data frames.

Solving #166 would also implicitly resolve this.


add search filter

search at left doesn't make any sense,, TvTime only have 7 menu
on subtitle menu, add some search filter, handysub have thiss

The search on the left is for menus, which will be removed in the next version.
For each part of the app, you can use the search that is above in the title bar


Bug: If optional output is not created, jobs below are auto-cancelled

Description
I have Job A which has an optional output that is connected to Job B, which takes an optional input.  If Job A does not create its optional output, then Job B is automatically cancelled by Scale.
Reproduction Steps
Steps to reproduce the problem:

Create a job with an optional output
Create a job with an optional input
Connect them
Have the first job not create its output

Expected behavior
Job A should pass an empty string equivalent to Job B.  I would expect Job B to see the number of arguments passed to it decreased (i.e. 2->1) instead of being replaced (i.e. ' ')
Version and Environment Details

Scale: v5.9.5

Optional inputs have always been a bit screwy.

On Aug 9, 2019, at 3:56 PM, wong-j<EMAIL_ADDRESS>wrote:
Description
I have Job A which has an optional output that is connected to Job B, which takes an optional input. If Job A does not create its optional output, then Job B is automatically cancelled by Scale.
Reproduction Steps
Steps to reproduce the problem:
Create a job with an optional output
Create a job with an optional input
Connect them
Have the first job not create its output
Expected behavior
Job A should pass an empty string equivalent to Job B. I would expect Job B to see the number of arguments passed to it decreased (i.e. 2->1) instead of being replaced (i.e. ' ')
Version and Environment Details
Scale: v5.9.5
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

The salient point here is (i think):
How can a job know the difference when optional input is not supplied, and a file not found?

related to #1806


support vals on WebGPU, run more tests

support vals using uniforms, test_symbolic passes
brought back render_store because the explicit cast is needed in some cases (example: assigning a cmplt bool result to a i32 output buffer)

cool! you can remove the @unittest.skipIf(Device.DEFAULT in ["WEBGPU"], f"{Device.DEFAULT} is not supported") in test_symbolic_ops.py too
8 minutes is too long for CI, can you disable some slow ones that is not too webgpu specific?

@chenyuxyz Added back test_symbolic_ops.py and removed slow tests, now down to 4m.

@geohot as @chenyuxyz pointed out tests were running too slow so I'm keeping these
test/test_ops.py test/test_dtype.py test/test_jit.py test/test_symbolic_ops.py test/test_symbolic_jit.py test/test_linearizer.py test/test_linearizer_failures.py test/test_nn.py
Also, moving back llama compile to webgpu runner otherwise metal runner will be slow.

I liked the blacklist better than the whitelist to have new tests be run, but I think this PR is good as is for now.


Demo app with non-test ads not working

In the demo app, I've changed so that testing is set to false everywhere, and no ads are shown on real device, at least on Android.
For interstitial ads, when I try to preload the add I see the message at the top of the app: Error preloading interstitial: 3 and for preload rewarded ads I get error 1.
On the emulator, the code shows the Test ad, even thought I've set testing to true, probably because I ran the code once with testing to true and now the emulator is marked as testing device.
I also see the following error in the console, but I don't think it's relevant, as it's shown even when the test ads work:
Successfully synced application org.nativescript.admobdemo on device emulator-5554.
chromium: [INFO:library_loader_hooks.cc(50)] Chromium logging enabled: level = 0, default verbosity = 0
chromium: [ERROR:filesystem_posix.cc(89)] stat /data/user/0/org.nativescript.admobdemo/cache/WebView/Crashpad: No such file or directory (2)
chromium: [ERROR:filesystem_posix.cc(62)] mkdir /data/user/0/org.nativescript.admobdemo/cache/WebView/Crashpad: No such file or directory (2)

Found what the problem was: the app needs to be signed and also needs to be published in the app store for the ads to show on non-test devices.


RHTAPBUGS-464,STONEBLD-1494: unify memory usage

Set memory request and limit to same value to ensure that scheduled node has enough memory.
Make memory of build task configurable via PipelineRun parameter build_task_memory_request

This approach does not work there is different way to configure memory at runtime https://github.com/tektoncd/community/blob/main/teps/0094-configuring-resources-at-runtime.md
RHTAPBUGS-464 part is in #466


New feature: ability to open multiple servers or clusters in different tabs

I've been interested in adding tab support to i2cssh for some time and finally got around to implementing it. Let me know what you think.
Here is the squashed version.
Highlights of changes:

Tab Support for clusters and hosts

New flags -t and -T enable tab splitting. The -t option groups arguments
into a tab, the -T option does not. A single argument is still treated
as a cluster.
When used with the -m or the -c options, one tab is created for each -m
and one tab is created for each cluster. For me it makes sense to keep
each cluster in its own tab.
If launching multiple clusters, each carries over their own ssh
environment and i2cssh options

Support opening multiple clusters and hosts in one window

Can combine the -c option, the -m option, and arguments to open multiple
clusters and hosts in one window. Clusters and hosts are opened in the
order they are listed.
Clusters use their own i2cssh options and ssh environment
NOTE: You can only use the default (column) ordering if you combine
clusters and hosts like this

Other small fixes

Use /usr/bin/env for ruby and bash to use the default ruby and bash for
the current user.

Thanks for this! I've pushed the latest to gemcutter.

@wouterdebie  Whoops! I just realized the -T option is broken. I'll submit a fix shortly.


Add project.currentBranch and file.currentHash to URL context

Use case: I'd like to be able to open the Github blame URL for the current version of the file I'm looking at. The URL for this needs the current hash of the file you're looking at (or the current branch containing that file).
Example
If I'm looking at the following line in VSCode:
https://github.com/Sertion/vscode-gitblame/blob/bb98406ab8837d506fb3b69e0a3147a06fbf0790/src/git/blame.ts#L115
I'd love to be able to produce the following link:
https://github.com/Sertion/vscode-gitblame/blame/bb98406ab8837d506fb3b69e0a3147a06fbf0790/src/git/blame.ts#L115
Unfortunately, ${hash} when generating the URL for that line is correctly d220cd765dbe9f2661fd6e032c0dbfd05b0362d0 (i.e. the commit which touched that line), but the line number may only be accurate as of the current commit (i.e. bb98406ab8837d506fb3b69e0a3147a06fbf0790).
My first attempt at getting the blame URL was to set gitblame.commitUrl to ${tool.protocol}//${gitorigin.hostname}${gitorigin.port}${gitorigin.path}/blame/${hash}/${file.path}#L${file.line}. This is incorrect as described below though, and results in the following URL:
https://github.com/Sertion/vscode-gitblame/blame/d220cd765dbe9f2661fd6e032c0dbfd05b0362d0/src/git/blame.ts#L115
which as of that version of the file the line number is now a completely different line 🙁
https://github.com/Sertion/vscode-gitblame/blob/d220cd765dbe9f2661fd6e032c0dbfd05b0362d0/src/git/blame.ts#L115

Hey Tim! Thank you for the feature request.
I've spent some time thinking about this request. I am still not sure what the future of the extension is now that Microsoft have added some (if not most) of the more visible features this extensions have to the official vscode git extension.
Perhaps the feature you are proposing would work best as an entirely new extension that could do similar things or perhaps it is best to propose this directly to the vscode team as a feature request for vscode.git?


Module is unmaintained: Transfer ownership?

@sunnysideup @marcokernler @candidasa @wilr @normann @sminnee
You have all expressed interest in this module over time by creating issues, pull requests, starring or forking on github, or committing code.
SilverStripe Ltd. can no longer commit to maintaining this module, and we suspect there aren't many active users out there. We are planning to remove it from our github repository, and wanted to give you a chance to express interest in taking over ownership. This primarily means providing it with a new home under your own github account. Users should also have a reasonable chance on getting a response from you if they have trouble with it.
If you are interested in taking on this module, please let us know in the next two weeks.
Background: https://groups.google.com/forum/#!topic/silverstripe-dev/vgQZpUnxrI4

I'm okay with pulling this to github.com/sminnee and marketing it as abandoned there.


Bottom - Up parralax using skrollr?

Can I start data-0 on the bottom of the page? And how to start the page from the bottom first? Thanks
reference: http://www.spaceneedle.com/home/

You can get the height of the page and use document.body.scrollTop to scroll down


Updated to Mail Merge solution to use V8 runtime

The existing Mail Merge Solution uses the Rhino runtime. This pull request refactors the code for V8 and incorporates a number of regularly asked for options:

Advanced Send Parameters (cc, bcc, sender name/from, replyTo)
Sending emails with emoji/unicode
Scheduling/triggering bulk emails
Using formatted cell values for currencies, dates and more
Detecting/ignoring filtered hidden rows

The README.md also links to an updated blog post which explains how these additions can be used.

Following feedback revised version committed removing Advanced Sheets Service dependency https://github.com/mhawksey/solutions/commit/c431050c4f9c9139fb8653e2a19c7741cf0378e5

Thank you!


How to access kubernetes service from outside Mesos?

I installed kubernetes on top of Mesos on AWS using Cloudformation. Installed dashboard and was able to open UI using ssh port forwarding.
However I want to open dashboard from outside Mesos - how I can do it?
I don't understand how to expose port of kubernetes service with Mesos.

Used externalIPs to expose service to specific node:
https://kubernetes.io/docs/concepts/services-networking/service/#external-ips

@nitrogear would be great if you could open a PR with instructions on how you achieved this ;)


Some pages are freezing add crashing because of Youtube Center

Some pages which have a lot of extended youtube videos on the pages, like this, are crashing because of Youtube Center. When I turn it off it's loading fine. I'm using latest UserScript build of Developer Version and the bug is still here.

I would presume you're using Chrome with Tampermonkey loading YouTube Center. It's a specific issue with Tampermonkey and YouTube Center which consumes a lot more RAM than the native Chrome extension itself.
The only thing I can recommend you to do is to disable the embedded videos in the settings.

I have this issue with FIrefox 35.0.1 and the newest YouTubeCenter (GreaseMonkey) as well.  The Adobeflash plugin zooms up in cpu usage and the browser severely lags/locks up.  As soon as I disable YTC script it is fine.  Tried using HTML5 (now default for YT) and Adobe Flash uninstalled and it still does it with YTC.  Cheers.

I disabled the embedded videos and the problem is still here.


API - Discover Requests

"Discover" is a very HUGE concept (for "Movies" and "TV") which is one of the only things not yet implemented on the raw API level.
https://developer.themoviedb.org/reference/discover-movie
https://developer.themoviedb.org/reference/discover-tv

Done EXCEPT for Boolean values which require the new TTMDBBoolean which has a default value.


nixos/xdg/mime: add config for associations between mimetypes and applications

Motivation for this change
Adds xdg.mime.addedAssociations, xdg.mime.defaultApplications, and xdg.mime.removedAssociations
These configs creates a mimeapps.list file as defined by xdg specifications.
Things done

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

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

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

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

There is an option to enable/disable the settings in the home-manager module, but xdg.mime.enable is already used in nixpkgs. To keep the consistency we would have to put everything in a xdg.mime.[...] namespace. I would prefer to put them directly xdg.mime namespace and not create mimeapps.list if all of addedAssociations, defaultApplications, and removedAppliactions are empty.

I updated the code to accept listOf strs and not create /etc/xdg/mimeapps.list if the settings are empty (default). Also made some misc. clean ups.

Somebody with more experience on NixOS modules correct me, but I think soft-enabling the module based on if settings are set is a bad idea.
The xdg.mime.enable collision is unfortunate indeed. How about moving this to a new module, xdg.mimeApps, like done by HM?
CC @jtojnar as the freedesktop team.

There seems to be a lot of soft-enabling based on settings in nixpkgs already.
https://github.com/NixOS/nixpkgs/blob/nixos-unstable/nixos/modules/programs/dconf.nix#L51
https://github.com/NixOS/nixpkgs/blob/nixos-unstable/nixos/modules/system/boot/systemd-nspawn.nix#L118
rg 'config =.*mkIf.*!=' **/*.nix

If we have a xdg.mimeApps module, would xdg.mimeApps.enable also imply xdg.mime.enable?

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

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

I added a changelog

added myself as a maintainer and fixed the commit message. thanks for the review @piegamesde!

resolved merge conflicts


buildah: 1.14.5 -> 1.14.6

Motivation for this change
Changelog: https://github.com/containers/buildah/releases/tag/v1.14.6
Things done

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

[X] NixOS
[ ] macOS
[ ] other Linux distributions

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

Result of nixpkgs-review pr 84227  1 package built:  - buildah


allow splitting styles.css into multiple chunks and lazy load using defer keyword

🚀 Feature request
Command (mark with an x)

[ ] new
[x] build
[ ] serve
[ ] test
[ ] e2e
[ ] generate
[ ] add
[ ] update
[ ] lint
[ ] extract-i18n
[ ] run
[ ] config
[ ] help
[ ] version
[ ] doc

Description
When having a larger amount of css in the styles.css it causes performance problems when loading the app.
In my case it's because I include font awesome, which in turn includes the blocking loading of the .woff2 file.
I know we can use the ìnject: false` asset config to handle this ourselves
"styles": [
  {
    "input": "src/vendor-fontawesome.scss",
    "inject": false,
    "bundleName": "font-awesome"
  }
],

but this means that the file created will not be hashed which means I cannot use cache-control: immutable, and it also means the javascript needs to be loaded before I can inject the styles using js.
Describe the solution you'd like
A solution would be to introduce a defer: true value to the config.
"styles": [
  'src/styles/main.scss',
  {
    "input": "src/styles/vendor-fontawesome.scss",
    "defer": true
  }
],

What this should do is chunk that scss file into it's own css file and add the defer keyword <link rel="stylesheet" href="..." defer />
https://web.dev/defer-non-critical-css/
This would mean faster startups, and non essential css could be lazy loaded.
Describe alternatives you've considered
using inject: false and added the <link href="..." defer /> using javascript
exclude font awesome from my css completely and loading it using a cdn, but then I loose the simplicity of npm and version control.

Hi @leon,
We are currently working on extracting and inlining critical css which would result in also defering non critical css, see https://github.com/angular/angular-cli/issues/18730 and https://github.com/angular/angular-cli/issues/17966 for more information.
With regards to your statement;

but this means that the file created will not be hashed which means I cannot use cache-control: immutable, and it also means the javascript needs to be loaded before I can inject the styles using js.

You can inject the CSS file directly in the HTML file without the need of any JavaScript

Also of note is that link elements do not support a defer attribute.  This attribute is only available for script elements.  There are workarounds involving inline onload scripts and manipulation of the media attribute but they can suffer from CSP related issues and certain variations may not have cross-browser support.


Accessing the WAMP session ID from a connection object

I have a WAMP application implementing the WampServerInterface. My use case is I want to "catch up" users who have just subscribed. If a user subscribes to a topic - say, chat_messages - then I want to send that user the last five chat messages. Obviously I don't want to broadcast these to the whole topic, just that specific user.
My implementation would be to, onSubscribe, send that information to the user using their sessionId as a whitelist. Since the WampInterface onSubscribe has a signature (ConnectionInterface $conn, $topic) I need to be taking a ConnectionInterface, which doesn't expose any information about the underlying connection.
In code, I can do $conn->wrappedConn->WAMP->sessionId and get the sessionId, however since my code is relying on an interface, and the interface doesn't expose that method this feels like an inflexible piece of code that could easily break in the future.
Are my assumptions about any of this wrong, and should I be doing it a better way? Am I nervous about nothing? Or does it make sense that there should be a method on ConnectionInterface to enable this use-case?

To do not broadcast for all user, just check out the method definition. https://github.com/ratchetphp/Ratchet/blob/d00102cb3926a5731b73c5878ec7beafb9dc4a93/src/Ratchet/Wamp/Topic.php#L46

Just an update - we ended discussing this on IRC shortly after the issue was opened.
Currently $conn->wrappedConn->WAMP->sessionId is the recommended way to access this. It's not ideal from a type hint perspective but the decorator architecture of Ratchet allows for this type of flexibility; it is up to the App to require a component interface that will alter ConnectionInterface appropriately.


Update css-grid-animation.json

I have updated the css-grid-animation.json file to match the information on this page:
https://caniuse.com/?search=css-grid-animation

Looks good, thanks!


Using Mellanox ConnectX-4 Lx, in the k8s pod command 'show_gids' returns nill  while using calico cni.

[root@rdma-test-wv8kj tmp]# show_gids
DEV	PORT	INDEX	GID					IPv4  		VER	DEV

n_gids_found=0
other info like :
[root@rdma-test-wv8kj tmp]# ethtool eth0
Settings for eth0:
Supported ports: [ ]
Supported link modes:   Not reported
Supported pause frame use: No
Supports auto-negotiation: No
Supported FEC modes: Not reported
Advertised link modes:  Not reported
Advertised pause frame use: No
Advertised auto-negotiation: No
Advertised FEC modes: Not reported
Speed: 10000Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 0
Transceiver: internal
Auto-negotiation: off
MDI-X: Unknown
Cannot get wake-on-lan settings: Operation not permitted
Link detected: yes
[root@rdma-test-wv8kj tmp]# ethtool -i eth0
driver: veth
version: 1.0
firmware-version:
expansion-rom-version:
bus-info:
supports-statistics: yes
supports-test: no
supports-eeprom-access: no
supports-register-dump: no
supports-priv-flags: no
[root@rdma-test-wv8kj tmp]# ofed_
ofed_info          ofed_rpm_info      ofed_uninstall.sh
[root@rdma-test-wv8kj tmp]# ofed_info -s
MLNX_OFED_LINUX-5.0-<IP_ADDRESS>:
[root@rdma-test-wv8kj tmp]# ibv_devices
device          	   node GUID
------          	----------------
mlx5_0          	98039b03003b0346
mlx5_1          	98039b03003b0347
[root@rdma-test-wv8kj tmp]# ibv_devinfo
hca_id:	mlx5_0
transport:			InfiniBand (0)
fw_ver:				14.27.1016
node_guid:			9803:9b03:003b:0346
sys_image_guid:			9803:9b03:003b:0346
vendor_id:			0x02c9
vendor_part_id:			4117
hw_ver:				0x0
board_id:			MT_2420110004
phys_port_cnt:			1
port:	1
state:			PORT_ACTIVE (4)
max_mtu:		4096 (5)
active_mtu:		1024 (3)
sm_lid:			0
port_lid:		0
port_lmc:		0x00
link_layer:		Ethernet
hca_id:	mlx5_1
transport:			InfiniBand (0)
fw_ver:				14.27.1016
node_guid:			9803:9b03:003b:0347
sys_image_guid:			9803:9b03:003b:0346
vendor_id:			0x02c9
vendor_part_id:			4117
hw_ver:				0x0
board_id:			MT_2420110004
phys_port_cnt:			1
port:	1
state:			PORT_ACTIVE (4)
max_mtu:		4096 (5)
active_mtu:		1024 (3)
sm_lid:			0
port_lid:		0
port_lmc:		0x00
link_layer:		Ethernet

any one can help?
May I missed something ?

Have you finally solved this problem?
@wangrong2012

@wangrong2012
I ran into the same problem as you. Did you finally solve this problem, please?


Use an OSI-approved license

The license listed for this repository isn't recognized as an OSI-approved license on GitHub or on pub.dev.
Updating this license to an OSI-approved one like BSD-3 Clause would make users such as myself much more comfortable with using this package and would also increase your pub points on pub.dev (it is currently penalized 10 points because of this issue).

This is fixed in 1.1.5.
Thanks for noticing!


[PE-D][Tester B] Visual for Table of Contents

The table of contents could divide the features into subcategories as shown in the command summary. It may be faster and easier to look at when users are trying to find the function they want to know more about.

Labels: type.DocumentationBug severity.VeryLow
original: SlothyCat/ped#6

I'll try this


FlinkProcessor support timestamp with time zone

What is the purpose of the change
This PR update FlinkProcessor so that it supports timestamp with time zone. The PR also updates the FlinkProcessor implementation so that it uses TIMESTAMP_LTZ(3) instead of TIMESTAMP(3) as row time attribute type. The TIMESTAMP_LTZ is considered safer to use, as it explicitly defines the timezone, and it supports daylight-saving time.
Brief change log

FlinkProcessor internally use type TIMESTAMP_LTZ(3) instead of TIMESTAMP(3) as row time attribute type
to_java_date_format supports format with time zone

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API: no

Documentation

Does this pull request introduce a new feature? no
If yes, how is the feature documented? not applicable

Thanks for the PR! LGTM.