Implement simple error signal free locking scheme

Hi,
I just stumbled across this paper and I was wondering if it was possible to implement the algorithm directly in the FPGA code. The benefit is that it allows locking without the need for a modulation (PDH) or polarization spectroscopy of the cavity.
cheers,
Thorsten

Hi Thorsten,
the algorithm in that paper is quite simple and should take little effort and few FPGA resources to implement. I think a good place to put it would be the PID module, as it provides the infrastructure (input + output) and is the place to look for locking functionality. Then, one could switch the output signal from an ordinary PID signal to the output of this minimization algorithm.
I am not fully decided yet whether the algorithm is actually useful. The advantage is - as you say - less setup time as there are less tunable parameters such as modulation frequency and the like. The disadvantage is in my opinion that there will nevertheless be an oscillation (while continuously searching for the minimum error signal, the algorithm will "bounce" between the left and right slope of the minimum, with a frequency distribution and amplitude that should depend on signal amplitude vs output step size and update frequency of the algorithm, delay of the piezo response, and the level of noise of the input signal), and this oscillation will occur at a badly defined frequency, as opposed to the well-defined modulation peak of PDH.
My conclusion:

If you simply want to avoid a phase modulator and dont like the Haensch-Couillaud-scheme, I would simply recomment a "synchronous detection", which is similar to a PDH but with much lower modulation frequency (one that can be generated with the cavity piezo).
One should test above algorithm in more practical cases, and maybe even characterize the modulation peaks in more detail to know what to expect ahead of time. This will essentially result in further developing above algorithm, for example to automatically select the best step size and update rate, etc. I do not have time for this right now, but if you want to do the testing/finetuning, I can implement the algorithm for you if you want.
The algorithm might be very useful to approach a resonance without requiring additional parameters, before switching to a better lock quality with another error signal. But this requires minimum testing before.

Let me know if you want to pursue direction 2 in more detail.

Hi Leonhard,
thanks for digging into this!
Of course one could implement a simple top-of-fringe lock with a small sine modulation of the laser frequency, but I think the algorithm is a bit different, since the amplitude "modulation" is changed dynamically. Also, there's no well defined frequency as you've mentioned.
It would be nice to try it and compare it's performance to PDH. So I'd be happy if you find the time to implement it, but since it's more or less a playground, please assign lowest priority on that one.

Something totally different: Do you guys know why it's possible to use the PDH modulation at, say 20 MHz, to lock a second, subsequent cavity? In my picture, the sidebands cannot survive the first cavity (should be reflected, not transmitted) because its finesse is to high.

cheers,
Thorsten


bug: plugin components aren't loaded before rest

Coverage remained the same at 100.0% when pulling 91944d39814d4502247089bfaa910a0a85e7d793 on load-plugin-components-first into 931d27d7b6e3977d956905b234acb72ce904b7e6 on master.

Coverage remained the same at 100.0% when pulling 5a839bd62aaab7cdf2b0483195124b2022a358ad on load-plugin-components-first into 931d27d7b6e3977d956905b234acb72ce904b7e6 on master.

Coverage remained the same at 100.0% when pulling cd108d77d798b9dddf49955200b8f35e80f78639 on load-plugin-components-first into 931d27d7b6e3977d956905b234acb72ce904b7e6 on master.

Coverage remained the same at 100.0% when pulling cd108d77d798b9dddf49955200b8f35e80f78639 on load-plugin-components-first into 931d27d7b6e3977d956905b234acb72ce904b7e6 on master.


DateTime is typed as string?

Using the generator, DateTime fields are typed as Type.String() even though, prisma returns them as js Date objects. Is there a way to change that?

Implemented it in https://github.com/m1212e/prismabox/tree/0.0.4


feat(DEV-10393): rows per page select

Added the ability to select the number of displayed records in the table for components:

<ApprovalPoliciesTable/>
<CounterpartsTable/>
<ProductsTable/>
<CreditNotesTable/>
<QuotesTable/>
<TagsTable/>
<UserRolesTable/>

Screenshots 📷

closed
open

It would be great to refactor onPageSizeChange to onPaginationModelChange to be consistent with MUI.


[Feature Request] Improve the built-in XML to Lua converter

Is your feature request related to a problem? Please describe.
So, the XML to lua converter already does quite a bit of work when I'm doing modfile ports, but often I run into several annoyances when dealing with the resulting output. For example, cmd is considered deprecated (It's used when dealing with commands that only do tweens, not lua functions), and I've been spending a lot of time removing it from previous things, replacing it with lua functions. Other annoyances involve replacing the optional_actor function it creates with lua ternary, potentially dealing with how it incorrectly converted a position, or dealing with the fact that XML layers are sorted by alphabetical first, and then top-to-bottom if the layers are named the same, and the converter doesn't know this.
Describe the solution you'd like
So, something I'd like is to have the XML to Lua converter fixed up to address these annoyances.
For cmd, it would have to generate a lua function that calls the actor functions correctly.
For optional_actor (Which replaces the "Condition" attribute in XML), it would turn that into condition and actual_actor or Def.Actor{}.
For positions, it could do the offsetting it usually does (Which only happens if it finds anything that's not a lua variable or SCREEN variable) but instead of doing SCREEN_CENTER_X + (combination of -320 and the first number it sees), it could do SCREEN_CENTER_X - 320 + (entirety of what was passed in to position).
For the layer ordering, maybe it could be possible to sort the layers internally, then write them back so it's output in the "correct" order?
Obviously, I haven't thought of everything that could be done to make the converter better, so if anyone comes up with ideas, put it down here.

it could scan the code for :hidden calls and replace them with the equivalent :visible calls

So, I found that oITG allows Command (all by itself) as an acceptable substitute for OnCommand, and It probably would be good if the converter dealt with this by turning those commands into OnCommands.


Kitty breaks zsh tabcomplete/autocomplete

I'm assuming this is a font issue or rather an issue with how kitty handles fonts but just to be safe I'm asking here if it's a bug with omz or with my config:
When I start a command and tabcomplete this happens:

The first cd in the screenshot doesn't exist and it's just a display bug but still a bit annoying.
Does anyone know how to resolve if possible at all?

This is normally an issue with locale not being set to a UTF-8 one. Try running locale and see available locales with locale -a.

Hey @mcornella , that indeed fixed the issue, thank you very much! :)


iOS FairPlay DRM Video Not Playing [Error getting license from URL skd://${contentIdValue}]

Bug
I'm using ExpressPlay with AWS MediaPackage to generate my source URLs and license acquisition URLs (License Server). With Widevine, it's simple plug n play and no issues. With FairPlay, I'm receiving inconsistent errors and never able to play the video. I've confirmed that with my Source URL, License Server URL, and Certificate URL, I can play the video in the Shaka Player Demo. I've shared the URLs as examples in the reproducible code section below.
1. I receive the error "Error getting license from URL skd://${contentIdValue}" with HTTP Status Code 403 Forbidden. ExpressPlay doesn't do anything with the skd value, I've checked with them. The URL should be the License Server URL. Is there a way I can override this?

Very inconsistent in the reasoning behind why the error is thrown. Sometimes, this line returns spcError with an unknown error code, sometimes it doesn't return an error and retrieves the spcData:

NSData *spcData = [loadingRequest streamingContentKeyRequestDataForApp:certificateData contentIdentifier:contentIdData options:nil error:&spcError];
Either way, the error is always the same.
Platform
iOS
Which player are you experiencing the problem on:

iOS

Environment info
React native info output:
System:
    OS: macOS 11.2.2
    CPU: (8) x64 Apple M1
    Memory: 271.01 MB / 8.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 15.3.0 - /usr/local/bin/node
    Yarn: Not Found
    npm: 7.0.14 - /usr/local/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  Managers:
    CocoaPods: 1.10.0 - /usr/local/bin/pod
  SDKs:
    iOS SDK:
      Platforms: iOS 14.5, DriverKit 20.4, macOS 11.3, tvOS 14.5, watchOS 7.4
    Android SDK: Not Found
  IDEs:
    Android Studio: 4.1 AI-201.87<IP_ADDRESS>99119
    Xcode: 12.5/12E262 - /usr/bin/xcodebuild
  Languages:
    Java: <IP_ADDRESS> - /usr/bin/javac
    Python: 2.7.16 - /usr/bin/python
  npmPackages:
    @react-native-community/cli: Not Found
    react: 16.13.1 => 16.13.1
    react-native: ~0.63.3 => 0.63.4
    react-native-macos: Not Found
  npmGlobalPackages:
    *react-native*: Not Found

Library version: 5.1.1
Steps To Reproduce

In RNVideo, Pass your source URI (retrieved from MediaPackage Asset), license certificate URL (Stored in S3 bucket), and license server URL (retrieved through API call to ExpressPlay) as props.

Expected behaviour

The video should play

Reproducible sample code
`
const { width, height } = Dimensions.get("window");
<Video
source={{
uri: "https://e36c169ad4441ce9fcc50154be8163b8.egress.mediapackage-vod.us-west-2.amazonaws.com/out/v1/9a5ab2b521d24c0b846786bfe3fbc801/98b66a37ba164e55a54b636401117163/657fccc6bc4842539073ce28e18f8442/index.m3u8",
}}
drm={{
type: "fairplay",
certificateUrl: Use_Your_Valid_FPS_Cert,
licenseServer: "https://fp.service.expressplay.com/hms/fp/rights/?ExpressPlayToken=BgAk0pGeKZkAJGVmODVmZWNlLTZhNTItNDJjMC05MDFlLTNjMWQyOWFkNGE2MgAAAGCZ2yBWoH2xecLidmf87OHmoiVDeJk3O0s_1jJdW-dYrnzj8PufJy7xFyFgD1pnBZJzTlYA3BmLOYixh8yeYXIU52AuJLMrFbNY9LRpyBcSQ1jSdff802ORE20g-p727GI5_fyLa4xj08V0vLH0NT1sG5SEGA",
headers: {
"content-type": "application/octet-stream",
},
}}
style={{ width: width, height: height }}
resizeMode="contain"
rate={1.0}
volume={1.0}
/>
`
Video sample
included in code sample above

Hey sorry for the late response.
Did you configure your FPS certificate on the Apple Developer website?
https://developer.apple.com/streaming/fps/

Hi, you were able to solve the issue? i have the same problem.

Yes, I got it working but I switched from expressplay to pallycon. No issues

after i upgrade to latest version react-native-video it works fine


remove autoclose in open_dataset and related warning test

This PR remove autoclose option from open_dataset (both api.py and apiv2.py) and the corresponding test test_autoclose_future_warning from test.py
autoclose=True option was deprecated in  https://github.com/pydata/xarray/pull/2261 since xarray now uses a LRU cache to manage open file handles.

[x] Related to https://github.com/pydata/xarray/issues/4309 and https://github.com/pydata/xarray/pull/2261,
[x] Tests updated
[x] Passes isort . && black . && mypy . && flake8

@aurghs there's a conflict, could you fix it.

@aurghs I think you should check what documentation needs updating beside the doctring.
Also this deserves and entry in what's new.

I merge as it has been discussed yesterday in the community meeting.


Unreliable tests

Hi @mjiderhamn ,
while working on this great library for making it compatible with Java 11 (#87), I've noticed that some tests fail unpredictably.
For example, when I run the ShutdownHookCleanUpTest it works, but if I set a breakpoint and step through it, the cleanup fails.
First I thought this was an issue with my local Eclipse, but I've noticed similar problems on the TravisCI builds as well:
Compare this build and this one. Both were run after the same commit, but the former one fails, because triggering the leak in StopThreadsCleanUp_TimerTest.createTimer does not work, while the latter one succeeds.
This should also not be caused by any configuration differences between your TravisCI and my TravisCI:
To test if this is the problem, I added a commit which just added a missing newline to a test (which should not change the test results).
Compare Job 366.2 and Job 367.2.  But it is kind of frustrating to try and fix something, when you can not be sure if the test results are correct.

You are very much welcome to try to find a solution to the brittleness of the tests!
There is a commented out setting in the Travis YAML file that will upload heap dumps to S3, so that the memory can be analyzed after running on Travis.


Can't import library https://esm.sh/is

/* esm.sh - error */
throw new Error("[esm.sh] " + "esbuild: Declarations with the name \"arguments\" cannot be used in strict mode");
export default null;

seems this is esbuild's limit


Removing Fody and Janitor.Fody

Removing dependency on Fody and Janitor.Fody by implementing Disposable pattern ourselves.

The files do not match the expectation... I updated the tests and added some githubactions things to get the expectation and the actual files into the test run outcome... please review why the test break @rominator1983

The failing tests are not caused by your changes. Seems like github changed some things on their runners. That need to be addressed before merging to main.

could be releated to https://github.com/mono/SkiaSharp/issues/752

I'll look into that and probably do another PR to address that. Thanks for your analysis.

https://github.com/stesee/ClosedXML/pull/33 should fix the issues


Remove change-emitter

It's not neccessary depenency. componentFromStream has only one listener then we can just hold callback and call it any times.

Its not the only place where its used,
https://github.com/acdlite/recompose/blob/master/src/packages/recompose/createEventHandler.jsp

The link above is broken, use this one :) https://github.com/acdlite/recompose/blob/master/src/packages/recompose/createEventHandler.js


Tab header for API docs for modules show null

Description:
Go to the API docs of a module. The browser tab heder shows it as "API Docs - null/"
For ex
https://preprod.ballerina.io/learn/api-docs/ballerina/filepath/index.html

Suggested Labels:

Suggested Assignees:

Affected Product Version:
OS, DB, other environment details and versions:
Steps to reproduce:
Related Issues:

Closing this as it is  a duplicate of https://github.com/ballerina-platform/ballerina-www/issues/1597


CMake No CMAKE_C_COMPILER/CMAKE_CXX_COMPILER when using the xcode generator

Describe the bug
When generating a cmake project using the xcode generator C and CXX compilers are unknown.
Environment

OS: mac 10.15.7
Compiler: xcode 12.3
CMake: CMake 3.18.2

To Reproduce
Steps to reproduce the behavior:

instal vcpgk
create a simple test app
@ go1 % /Applications/CMake.app/Contents/bin/cmake -B . -S ../project -G Xcode -DCMAKE_TOOLCHAIN_FILE=//vcpkg/scripts/buildsystems/vcpkg.cmake

The results follow:
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
CMake Error at CMakeLists.txt:11 (project):
No CMAKE_C_COMPILER could be found.
CMake Error at CMakeLists.txt:11 (project):
No CMAKE_CXX_COMPILER could be found.
-- Configuring incomplete, errors occurred!
See also "/go1/CMakeFiles/CMakeOutput.log".
See also "/go1/CMakeFiles/CMakeError.log".
Expected behavior
A xcode project file should be generated.
Additional context

Wonder if this is related to #13294
fails by commandline and GUI

So had sometime to play with this and it turns out its an xcode tools problem and nothing with vcpkg.
See https://intellij-support.jetbrains.com/hc/en-us/community/posts/360010067280-Using-CMake-Xcode-Generator-No-CMAKE-C-COMPILER-could-be-found-
or
https://stackoverflow.com/questions/17980759/xcode-select-active-developer-directory-error/17980786#17980786
If someone else has this try doing
"sudo xcode-select -s /Applications/Xcode.app/Contents/Developer"  then reconfigure.


Next release

dependency updates
websiite launch

:tada: This PR is included in version 0.6.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Add src/app/common/gen/attributes/Accessors.cpp to the build list of applications

Problem
The original version of #7183 was emitting accessors code under APP/gen/callback-stub.cpp, and so the file was already part of what is built. I did a late change to #7183 to emit accessors code once for every APP into src/app/gen/common/attributes/Accessors.cpp but forgot to commit the change that glue it with applications.
Change overview

Add Accessors.cpp source file to src/app/chip_data_model.gni
Update src/app/clusters/barrier-control-server/barrier-control-server.cpp to use the methods from Accessors.cpp in order to make sure it is really built
Do not emit accessors from EUI64. I still need to figure how to have some aliases in ZAP in order to map a type to pre-existing types. This is only appearing as an issue for EUI64 but really this is a global issue for all types that are marked as Derived Types in the spec.
Update the generated code (./scripts/tools/zap_regen_all.py)

Testing
It has been tested manually with chip-tool and a local all-clusters-app, by calling commands against the Barrier Control cluster.

@vivien-apple  as a first approximation, everything matching git grep -l reporting-default-configuration.cpp needs to get this file added too...

git grep -l reporting-default-configuration.cpp

Did you mean git grep -l barrier-control examples/* ?

Force pushing to retriever licence-cla and pull-approve which seems stuck.

Did you mean git grep -l barrier-control examples/* ?

No, I meant the other, as a way of finding all the files that pull in stuff manually...  Just doing it for barrier control works while that's the only file where we use these helpers, but if we start using them other places we'll get submarine link issues....


Error: configmaps "aws-auth" already exists

Describe the Bug
When setting kubernetes_config_map_ignore_role_changes = false to make changes to aws-auth configmap, build fails with
Error: configmaps "aws-auth" already exists
Expected Behavior
Build should succeed in updating/replacing the aws-auth configmap on the cluster.
Steps to Reproduce
Steps to reproduce the behavior:

Create cluster
Set kubernetes_config_map_ignore_role_changes = false
Terraform apply

Environment (please complete the following information):
git::https://github.com/cloudposse/terraform-aws-eks-cluster.git?ref=tags/0.35.0

I am also hitting this issue, but in my case, this happens when I create a brand new EKS cluster from scratch. The variable "kubernetes_config_map_ignore_role_changes" has the default value, which is Yes.
This error happens intermittently. If I hit this error, I run TF destroy, and apply again, and it works.

@xeon0320 I'm curious if you are able to update the cm by setting kubernetes_config_map_ignore_role_changes = false, have you attempted this?

@xeon0320 I'm curious if you are able to update the cm by setting kubernetes_config_map_ignore_role_changes = false, have you attempted this?

I will try and report back. Thanks.

@xeon0320 thanks.
Yes, this is important, please see the example and the comments
https://github.com/cloudposse/terraform-aws-eks-cluster/blob/master/examples/complete/main.tf#L79
Note that if you provisioned the cluster without using the code in the example, and if the config map already exists and causes the error, you can use kubectl to delete it from the cluster without actually destroying the cluster.
I'll close this issue for now.
Please reopen if any other related issues.

@aknysh I have the "wait_for_cluster_and_kubernetes_configmap" data source in place. The cluster comes up fine on the initial build. It is upon updating with kubernetes_config_map_ignore_role_changes = false when I run into the issue.
module.eks_cluster.kubernetes_config_map.aws_auth[0]: Creating...
Error: configmaps "aws-auth" already exists

Yes. I think I accidentally hijacked this thread. The error that @carsondoesbusiness and I are facing is the same, but for different use-cases. In my case, it was a user error as I didn't use this wait_for_cluster_and_kubernetes_configmap properly when I set up my cluster for the first time.
For @carsondoesbusiness, I believe he already has the cluster up and running, and now he has kubernetes_config_map_ignore_role_changes = false but is facing aws-auth already exists issue.

Not to cancel all previous responses and good solutions for the origin on the issue and how to resolve it.
for me the issue started with an incomplete running stopped because of sh file credential (oidc thumbprint)
after fixing the file credentials (chmod +x) and running again I've received configmaps "aws-auth" already exists
ran
kubectl delete configmap aws-auth -n kube-system

after which I ran terraform apply again and it worked

I am tempted to think there's a race condition between kubernetes_config_map.aws_auth and kubernetes_config_map. aws_auth_ignore_changes
I changed the map_additional_iam_roles list together with settting kubernetes_config_map_ignore_role_changes = false
This is the change: (sanitised):
@@ -16,9 +16,19 @@ module "infrastructure" {
       rolearn  = "arn:aws:iam::0123456789:role/Admin"
       username = "Admins"
       groups   = ["system:masters"]
+    },
+    {
+      rolearn  = "arn:aws:iam::0123456789:role/Dev"
+      username = "Admins"
+      groups   = ["system:masters"]
+    },
+    {
+      rolearn  = "arn:aws:iam::0123456789:role/QA"
+      username = "Admins"
+      groups   = ["system:masters"]
     }
   ]
   name                                      = var.cluster_name
-  kubernetes_config_map_ignore_role_changes = true
+  kubernetes_config_map_ignore_role_changes = false
 }

and terraform apply ran into this error:
module.eks_cluster.kubernetes_config_map.aws_auth_ignore_changes[0]: Destroying... [id=kube-system/aws-auth]
149 | module.eks_cluster.kubernetes_config_map.aws_auth_ignore_changes[0]: Destruction complete after 0s
150 |
151 | Error: configmaps "aws-auth" already exists
152 |
153 | on .terraform/modules/eks-infra.eks_cluster/auth.tf line 103, in resource "kubernetes_config_map" "aws_auth":
154 | 103: resource "kubernetes_config_map" "aws_auth" {
155 |
156

It seems to me that (possibly due to parallelism) kubernetes_config_map.aws_auth is getting created before the underlying aws_auth configmap is acutally destroyed by kubernetes.

Also, I noticed that when changing map_additional_iam_roles and setting kubernetes_config_map_ignore_role_changes = false the entier eks_node_group is deleted and recreated. Is that supposed to happen?

I set kubernetes_config_map_ignore_role_changes back to true as per the instructions and the same issue appeared:
eks_cluster.kubernetes_config_map.aws_auth[0]: Destroying... [id=kube-system/aws-auth]
150 | module.eks-infra.module.eks_cluster.kubernetes_config_map.aws_auth[0]: Destruction complete after 0s
151 |
152 | Error: configmaps "aws-auth" already exists
153 |
154 | on .terraform/modules/eks-infra.eks_cluster/auth.tf line 83, in resource "kubernetes_config_map" "aws_auth_ignore_changes":
155 | 83: resource "kubernetes_config_map" "aws_auth_ignore_changes" {
156

workaround
Performa a second terraform apply with no code changes.

My findings confirm @OfirYaron 's comment.
Deleting the configmap manually defeats the purpose of a terraform module, in priciple. :-)
Furthermore, I wasn't able to manually delete the configmap after the terraform apply failures because at that point I had been kicked out of the cluster: any kubectl command would fail with unauthorized. I susped the configmap had been deleted (which I think is the case considering a second apply creates it successfully).

@aknysh In my experience it's not possible to manually delete the configmap because when the bug happens the k8s object as already been delete, so one is basically kicked out of the cluster.

@carsondoesbusiness It looks like you've run exactly in to the same error as I did. Did running terraform apply a second time prove a valid workaround for you too?

(According to this https://www.eksworkshop.com/intermediate/220_codepipeline/configmap/ the configmap can be edited so maybe this whole switch flag isn't necessary after all?)

@aknysh .. Can we please re-open this issue. It's not resolved.

Looks like others are having issues too:
https://github.com/terraform-aws-modules/terraform-aws-eks/issues/852

We can reopen the issue, but it looks like it's not just one issue, but a few, and they are different and depend on diff use-cases.
It does not happen to all people and in all cases - this is classical concurrency/race condition issues.
Using -parallelism=1  is one of the solutions in some cases.
We had similar issues as well with terraform kubernetes provider v2, and we reverted back to terraform kubernetes provider v1 and it solved the issues in many cases
    kubernetes = {
      source  = "hashicorp/kubernetes"
      version = "~> 1.13"
    }

This is possible solution #2.
There are no easy fix to this, especially with kubernetes provider v2 (which had much more concurrency issues like that than v1).
Contributions are welcome.

can anyone please help me ?
using to create the EKS cluster
main.tf
locals {
  namespace = "test"
  stage     = "dev"

  kubernetes_version         = "1.20"
  tags                       = merge(module.label.tags, tomap({ "kubernetes.io/cluster/${module.label.id}" = "shared" }))
  eks_worker_ami_name_filter = "amazon-eks-node-${local.kubernetes_version}*"
  public_subnets_additional_tags = {
    "kubernetes.io/role/elb" : 1
  }
  private_subnets_additional_tags = {
    "kubernetes.io/role/internal-elb" : 1
  }
}

module "label" {
  source     = "cloudposse/label/null"
  version    = "0.24.1"
  attributes = ["${local.namespace}-${local.stage}-cluster"]
}

module "eks_cluster" {
  source  = "cloudposse/eks-cluster/aws"
  version = "0.39.0"

  namespace = local.namespace
  stage     = local.stage
  tags      = local.tags

  region                       = "REGION"
  vpc_id                       = data.terraform_remote_state.vpc.outputs.vpc.vpc_id
  subnet_ids                   = concat(module.subnets.private_subnet_ids, module.subnets.public_subnet_ids)
  kubernetes_version           = local.kubernetes_version
  local_exec_interpreter       = ["/bin/sh", "-c"]
  oidc_provider_enabled        = true
  enabled_cluster_log_types    = ["api"]
  cluster_log_retention_period = 7

  cluster_encryption_config_enabled                         = true
  cluster_encryption_config_kms_key_id                      = ""
  cluster_encryption_config_kms_key_enable_key_rotation     = true
  cluster_encryption_config_kms_key_deletion_window_in_days = 30
  cluster_encryption_config_kms_key_policy                  = null
  cluster_encryption_config_resources                       = ["secrets"]

  kubernetes_config_map_ignore_role_changes = var.kubernetes_config_map_ignore_role_changes
  workers_role_arns                         = var.existing_worker_role_arns

}

module "eks_node_group" {
  source  = "cloudposse/eks-node-group/aws"
  version = "0.20.0"

  namespace = local.namespace
  stage     = local.stage
  tags      = local.tags

  subnet_ids = module.subnets.private_subnet_ids
  cluster_name = (var.existing_cluster_name == "" ?
    module.eks_cluster.eks_cluster_id
  : var.existing_cluster_name)
  instance_types = var.instance_types
  desired_size   = var.desired_size
  min_size       = var.min_size
  max_size       = var.max_size
  disk_size      = var.vm_pd_ssd_size
}

mydata.tf
data "null_data_source" "wait_for_cluster_and_kubernetes_configmap" {
  inputs = {
    cluster_name             = module.eks_cluster.eks_cluster_id
    kubernetes_config_map_id = module.eks_cluster.kubernetes_config_map_id
  }
}

data "aws_eks_cluster" "cluster" {
  name = (var.existing_cluster_name == "" ?
    module.eks_cluster.eks_cluster_id
  : var.existing_cluster_name)
}

data "aws_eks_cluster_auth" "eks" {
  name = (var.existing_cluster_name == "" ?   data.null_data_source.wait_for_cluster_and_kubernetes_configmap.outputs["cluster_name"]
  : var.existing_cluster_name)
}

data "terraform_remote_state" "xyz" {
  backend = "s3"

  config = {
    bucket   = "BUCKET-name"
    key      = "state-key"
    region   = "REGION"
  }
}

varible.tf
variable "kubernetes_config_map_ignore_role_changes" {
  type        = bool
  default     = true
}

variable "existing_cluster_name" {
  type        = string
  default     = ""
}

i am able to create the cluster but getting the error when re-applying some changes.
Error: configmaps "aws-auth" already exists
│
│  with module.eks_cluster.kubernetes_config_map.aws_auth_ignore_changes[0],
│  on .terraform/modules/eks_cluster/auth.tf line 83, in resource "kubernetes_config_map" "aws_auth_ignore_changes":
│  83: resource "kubernetes_config_map" "aws_auth_ignore_changes" {

Note : while re-applying updating the value in varibles.tf for existing cluster with name of cluster.
Anyone faced this error before ?
Thanks in advance.


Support for Power (ppc64le) architecture

This adds support for ppc64le architecture.
Fixes #142

looks like Travis ppc64le build failed to update the repos. This could be due to some intermittent network issues with ppc64le repos.  Can the ppc64le job be restarted ?

Thank you @pravin-dsilva for the PR!
@dinogun Can you please review this?

@dinogun anything pending to move this PR ahead ?

@pravin-dsilva @bpradipt Sorry for not getting back sooner, the PR looks good, my only concern is the use of a non-standard prometheus image (PROMETHEUS_DOCKER_IMAGE="pravindsilva/prometheus-linux-ppc64le:latest"). So is there no standard prometheus ppc64le image ?

@dinogun I've built that as currently there isn't any standard/official prometheus ppc64le image. As of now, the docker images in https://hub.docker.com/r/prom/prometheus/ have only amd64 support.

@pravin-dsilva I think it would be good to have the image in quay.io/powercloud and use the same in the code instead of personal location.

@bpradipt I've updated the code to use the image from quay.io/powercloud/prometheus-linux-ppc64le:latest which is built from the latest prometheus code.
@dinogun  could you please review? Thanks!

@pravin-dsilva the PR looks good and I'll merge for now. I would suggest working with upstream prometheus to provide ppc64le images especially as you seem to have got it all working. Thank you for the PR !


[ffigen] Allow static and instance methods/properties with the same name

Fixes #1136

coverage: 90.778%. remained the same
when pulling 8a4d63558f7ece354346a551fe19320522ac1deb on propdedupe
into 2ff68a9c9edfe6df3673026b397a36f427fc0b99 on main.


UI5 2.x compatibility

we have to take care of the deprecated APIs:
https://ui5.sap.com/#/topic/798dd9abcae24c8194922615191ab3f5
https://ui5.sap.com/#/topic/2acafbfcc2cb47e8aac6d2e32399af10
etc.
Checked abap2UI5 with the ui5-linter and made some fixes:
https://github.com/SAP/ui5-linter
@choper725 fyi:
changed the sdk check here:
https://github.com/abap2UI5/abap2UI5/blob/a78952d43d58874520d53085afdd63a0ceb5928c/src/01/02/z2ui5_cl_core_http_get.clas.abap#L432
and changed the openById function:
https://github.com/abap2UI5/abap2UI5/blob/a78952d43d58874520d53085afdd63a0ceb5928c/src/01/02/z2ui5_cl_core_http_get.clas.abap#L169
Maybe check on your end if it still works? I don't have a sample for this use case and can not test it by myself. Is there a chance for a sample or any infos of how i can reproduce this case?
In general, abap2UI5 seems on a good way for OpenUI5 2.x 😎

ok @oblomov-dev
the sdk part should be easy to check.
the byid change its just a fallback upon not finding any id on any view.. dont think it should happen ever, but its there.
what is the plan with the delracations?
we got attachinit method deprecated and we use it no?
can we scan what we use that is on that list and should be fixed??

yes its good to have it, safety first :)
the plan is basically just check what is on the list and replace it with the new APIs. You can also do it automatically with the ui-linter. I did it yesterday and by now all looks good! also checked it a while ago, for example attachInit is not in use anymore.
furthermore started add Unit Testing for v.2.x here:
https://github.com/abap2UI5/abap2UI5/blob/3dea0409490ee3c15bd82c82b17b45957ac4600f/src/01/02/z2ui5_cl_core_http_get.clas.testclasses.abap#L87
Helps that no one can push accidentally incompatible v2 changes to abap2UI5. Feel free to extend!

oh i see,
ill look into it, we might have some deprecated code in the cc if i remember correctly..
any way, thx for informing about it

ah good point, i did not check the cc so far! but nothing urgent, just if you make changes there anyway, feel free to also check for 2.x syntax. then there is less work to do when the UI5 2.0 gets released.

great!


Container from dockerfile won't build over missing file for copy

Dear maintainers
I'm currently using testcontainers 1.14.3
Following instructions from https://www.testcontainers.org/features/creating_images/, the following code won't produce a valid docker image
new ImageFromDockerfile(IMAGE + ":" + RandomStringUtils.randomAlphabetic(15))
						.withFileFromPath(".", dockerfile)
						.withDockerfile(Paths.get("load/Dockerfile"))

Log states

COPY failed: stat /var/lib/docker/tmp/docker-builder795849804/load: no such file or directory

while dockerfile path points to a directory containing ./load
I don't get any message showing that content is sent to docker build context, why .withFileFromPath(".", dockerfile) isn't catching anything?
What am I doing wrong?

The same issue here on 1.15.1. It seems that when invoking withDockerfile, the whole build context is set to the parent directory of the Dockerfile, and any subsequent invocations of withFileFromPath do not work. Using the old deprecated method withDockerfilePath works, but it's not an ideal solution because it's deprecated.
It seems that either this behavior should be changed so that withDockerfile doesn't fill the whole build context, or this behavior should be documented in withDockerfile, and withDockerfilePath should not be deprecated anymore.
Currently, we are forced to use the deprecated method.


remove or update libraries

remove:
filesaver.js
possible:
cssjson.js
pure-parser.js

With the right refactoring, pure-parser is completely useless

CSSJON lib removed because not used. https://github.com/bunglegrind/save-as-ebook/commit/52f77711476c868df57f79486f2638abf825800a

filesaver removed. Files are downloaded via the background process and the download API.  https://github.com/bunglegrind/save-as-ebook/commit/cafa9664bdab58de3cc5b4cdbf44cd09b0ebc1d3

https://github.com/bunglegrind/save-as-ebook/commit/2a3d21f6fa5dc06e549cb15782fc18aeb46cfec4
...and so, pure-parser is removed. and jszip updated. closed!


Registry tool: rename the registry tool to regctl

regctl isn't the most beautiful name, but people were commenting that the phrase "registry tool" was introducing some confusion, and the ctl suffix reflects our goal to make regctl the kubectl of API registries. We also considered registryctl but decided that was too long and unwieldy.
This change is underway in #571, but if anyone wants to discuss this further, we could do that in comments on this issue.

Let's hold on the regctl name after discovering https://github.com/regclient/regclient/blob/main/docs/regctl.md


Request failed with status code 404

Hi,
Yesterday I've added my library to the libraries.json and the PR has been merged.
But I'm not seeing it on https://libs.kmp.icerock.dev/.
I checked for errors in the latest action and I found this error: Library Tweener/c-zan error: Error: Request failed with status code 404.
I'm not sure what's happening or what I did wrong there. (I also see a lot of other libraries with the same error).
Any chance I might get some help to fix it?
Thank you! 🙏

Hello there,
I was wondering if you guys had any news on that issue?
I'd be happy to help if needed.
Thank you!

I'm closing this issue since it has been fixed here: https://github.com/icerockdev/libs.kmp.icerock.dev/pull/98
For anyone having the same problem: don't forget to add a "/" at the end of the URL of your repo!


Add rename function

Adds a function (and associated keymap) to rename projects.

The rename function is basically a modified version of the delete function that prompts the user for a new name.
Currently, the prompt value defaults to the current name, but depending on preference, it may be better to default to nothing.
I'm happy to change this if other people think one way or the other is better.

Thanks for doing this @l-kershaw much appreciated :+1:


⚠ Bofrost.fr has degraded performance

In 28c92c7, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1346 ms

Resolved: Bofrost.fr performance has improved in 0b4db77.


SignedAmount does not implement the Neg trait

So you can't write let x = -btc_amount.

FTR this often comes up where unsigned_abs would be more appropriate (but sure, we should have the impl).


Problem with extension using sqlite3

VSCode Version: 1.12.2
OS Version: WINDOWS 8.1 64 BIT

Steps to Reproduce:

Create a extension
Add sqlite3 dependecy

When I try to debug the extension it shows this message " Cannot find module 'c:\Users\Rafael\workspace\nodespace\vscode-database\node_modules\sqlite3\lib\binding\node-v53-win32-ia32\node_sqlite3.node."
When I search for this folder in the extension project I only got this folder "node-v48-win32-x64"
Can somebody help me ? I tried building sqlite3 from source and nothing. Node version is 6.9.4 and npm 3.10.10

You probably need to build sqlite3 with a matching node version with the vscode extension host. You can determine that with process.version.

Sorry, how can I do this ?

I believe the node version used by the extensionhost right now is 7.4.0. Try installing that and rebuilding the sqlite3 module so it matches.

I installed the 7.4.0 version and now my folder is node-v51... Looking at this page https://nodejs.org/en/download/releases/ the column module shows 51 as the latest, but the vscode ask for a v53, also I dont know whats the ia32

ia32 would be a 32-bit version.
The 53 issue is because it's based on electron's version of node. I'm not sure how to work around it, this seems like a relevant discussion: https://github.com/sandeepmistry/node-xpc-connection/issues/18
Maybe try cloning the vscode repo and using ./scripts/npm.sh from there to build, instead of your local npm. Not sure how else to do it, sorry.

I'm really not sure how to do this, there's some options to the sqlite3 build-from-source, if I try some examples I found in the forums I end up getting electron-v1.6.....
This whole thing of the mismatch version, skipping NODE_MODULES doesnt make sense to me

The basic issue is that your native module needs to be built against the same node environment that it will run in, which means same node version, and for electron there are apparently some extra complications. You might get a better answer on Stack Overflow since this isn't really a vscode issue.

Hello there, after some time searching about this (and a time off of it) I couldnt find much else to help, I eventually came up with this script that probably works only for windows
"rebuild-sqlite3-win": "cd node_modules/sqlite3 && npm run prepublish && node-gyp configure --module_name=node_sqlite3 --module_path=../lib/binding/node-v53-win32-ia32 && node-gyp node-gyp rebuild --target=1.6.8 --runtime=electron --arch=ia32 --target_platform=win32 --dist-url=https://atom.io/download/atom-shell --module_name=node_sqlite3 --module_path=../lib/binding/node-v53-win32-ia32"
is there a way that vscode could support these kind of scripts ? To build against the right target

Not sure what you mean by

is there a way that vscode could support these kind of scripts

I don't really know but your solution seems fine, ie force it to build against the right platform.

If could be implemented a task to build modules against the vscode platform, or maybe if vscode used npm install to install the extension that would work, I think
My solution is fine on my pc, that likely wouldn't work in a linux/mac one (and the extension doesnt work at all if you have the wrong build)

Did you try using ./scripts/npm.sh? I think it would handle at least some of the options you had to set. I think that this isn't a vscode-specific issue, and it's complicated enough that we can't solve it in general for every scenario.

As I said before, I dont know how I could use that script, could you give some idea on how to set it up ?

Just use it in place of npm. It just sets a couple environment variables then calls npm.

Hmm I'll try it later or tomorrow and let you know if it worked
Thanks


[Feature][Connector-V2][Hbase] implement hbase catalog

Purpose of this pull request

resolve #6780

Does this PR introduce any user-facing change?
How was this patch tested?
Local And e2e
Check list

[ ] If any new Jar binary package adding in your PR, please add License Notice according
New License Guide
[ ] If necessary, please update the documentation to describe the new feature. https://github.com/apache/seatunnel/tree/dev/docs
[ ] If you are contributing the connector code, please check that the following files are updated:

Update plugin-mapping.properties and add new connector information in it
Update the pom file of seatunnel-dist
Add ci label in label-scope-conf
Add e2e testcase in seatunnel-e2e
Update connector plugin_config

[ ] Update the release-note.

waiting #7169 be merged.

Please resolve conflicts.


Conditional call GetInfo CLI_ODBC_KEYWORDS to restore compatible with lower version Kyuubi and HS2

:mag: Description
Issue References 🔗

Currently, the Kyuubi Beeline is not compatible with HS2 2.3 and lower versions of Kyuubi, because the server can not recognize TGetInfoType.CLI_ODBC_KEYWORDS and then corrupts the socket.
Describe Your Solution 🔧
Conditional call GetInfo CLI_ODBC_KEYWORDS, when protocol version lower than TProtocolVersion.HIVE_CLI_SERVICE_PROTOCOL_V11, just throw an SQLFeatureNotSupportedException
Types of changes :bookmark:

[x] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Test Plan 🧪
Use beeline to connect a HS2 2.3
Behavior Without This Pull Request :coffin:
root@hadoop-master1:/opt/kyuubi-dev# bin/beeline -u 'jdbc:hive2://localhost:10000/default'
Warn: Not find kyuubi environment file /etc/kyuubi/conf/kyuubi-env.sh, using default ones...
Connecting to jdbc:hive2://localhost:10000/default
Connected to: Apache Hive (version 2.3.9)
Driver: Kyuubi Project Hive JDBC Client (version 1.8.0)
Beeline version 1.8.0 by Apache Kyuubi
0: jdbc:hive2://localhost:10000/default> select 1;
Unexpected end of file when reading from HS2 server. The root cause might be too many concurrent connections. Please ask the administrator to check the number of active connections, and adjust hive.server2.thrift.max.worker.threads if applicable.
Error: org.apache.thrift.transport.TTransportException (state=08S01,code=0)

And the HS2 server-side error message is
24/01/25 03:50:53 [37217e6b-e8a9-4069-9973-10471df52e6d HiveServer2-Handler-Pool: Thread-37]: INFO conf.HiveConf: Using the default value passed in for log id: 37217e6b-e8a9-4069-9973-10471df52e6d
24/01/25 03:50:53 [HiveServer2-Handler-Pool: Thread-37]: ERROR server.TThreadPoolServer: Thrift error occurred during processing of message.
org.apache.thrift.protocol.TProtocolException: Missing version in readMessageBegin, old client?
	at org.apache.thrift.protocol.TBinaryProtocol.readMessageBegin(TBinaryProtocol.java:228) ~[hive-exec-2.3.9.jar:2.3.9]
	at org.apache.thrift.TBaseProcessor.process(TBaseProcessor.java:27) ~[hive-exec-2.3.9.jar:2.3.9]
	at org.apache.hive.service.auth.TSetIpAddressProcessor.process(TSetIpAddressProcessor.java:56) ~[hive-service-2.3.9.jar:2.3.9]
	at org.apache.thrift.server.TThreadPoolServer$WorkerProcess.run(TThreadPoolServer.java:286) ~[hive-exec-2.3.9.jar:2.3.9]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_392]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_392]
	at java.lang.Thread.run(Thread.java:750) [?:1.8.0_392]
24/01/25 03:50:53 [HiveServer2-Handler-Pool: Thread-37]: INFO thrift.ThriftCLIService: Session disconnected without closing properly.
24/01/25 03:50:53 [HiveServer2-Handler-Pool: Thread-37]: INFO thrift.ThriftCLIService: Closing the session: SessionHandle [37217e6b-e8a9-4069-9973-10471df52e6d]

Behavior With This Pull Request :tada:
root@hadoop-master1:/opt/kyuubi-dev# bin/beeline -u 'jdbc:hive2://localhost:10000/default'
Warn: Not find kyuubi environment file /etc/kyuubi/conf/kyuubi-env.sh, using default ones...
Connecting to jdbc:hive2://localhost:10000/default
Connected to: Apache Hive (version 2.3.9)
Driver: Kyuubi Project Hive JDBC Client (version 1.9.0-SNAPSHOT)
Beeline version 1.9.0-SNAPSHOT by Apache Kyuubi
0: jdbc:hive2://localhost:10000/default> select 1;
+------+
| _c0  |
+------+
| 1    |
+------+
1 row selected (2.403 seconds)
0: jdbc:hive2://localhost:10000/default>

Checklist 📝

[x] This patch was not authored or co-authored using Generative Tooling

Be nice. Be informative.

cc @zhouyifan279

LGTM

Codecov Report
Attention: 3 lines in your changes are missing coverage. Please review.

Comparison is base (ac388d1) 61.18% compared to head (413c7a4) 61.07%.
Report is 2 commits behind head on master.

Files
Patch %
Lines

...pache/kyuubi/jdbc/hive/KyuubiDatabaseMetaData.java
40.00%
3 Missing :warning:

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #6016      +/-   ##
============================================
- Coverage     61.18%   61.07%   -0.11%
  Complexity       23       23
============================================
  Files           623      623
  Lines         37060    37064       +4
  Branches       5024     5024
============================================
- Hits          22674    22638      -36
- Misses        11950    11985      +35
- Partials       2436     2441       +5

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Merged to master/1.8


HTTP Server dynamic IPs

Hi everyone,
I am currently trying out the Zephyr 3.7 http_server example. It does work fine. I haven't however found out how to assign a dynamic IP address to the Servers properties.
The HTTP_SERVICE_DEFINE() Macro only allows for a dynamic port. As described in the Doc strings.

@param _host IP address or hostname associated with the service.
@param[inout] _port Pointer to port associated with the service.

Would it be possible to change the _host IP address property to a pointer?
One could use the http_server_start() and _stop() functions to rerun the socket initialization.
The objective of my current project is to use the Zephyr dhcp api to generate a fitting _host IP and then assign it at runtime.
I could write the socket management myself but I really like your HTTP_Server implementation.
Thanks for your interest

You can either leave host as empty "", or as NULL. This was fixed in commit<PHONE_NUMBER>a7831f5ba7a1bc02120813dafa35d2

Hi Jukkar, thanks for the responds. Seems as if everything is running smooth now in Zephyr 4.0.0.


[Explore]'Is temporal' checkbox should take effect

Current behavior:
Only columns that have 'Is Temporal' box checked in the Edit dataset  shows in Time Column select dropdown which is the right behavior ✅
What need to be done:

ICON CHANGE - When user uncheck  'Is Temporal'  on a column that was detected as Time, column icon should change to "?" or "#", vise versa to use the 🕑 icon
if the column was previous selected as time column, time range where clause should be removed automatically from the query
related project
[explore]Can't remove unnecessary Datetime column from time filter

https://user-images.githubusercontent.com/67837651/119166999-2a7ed700-ba14-11eb-9e26-a75d668ef8ec.mov
other related project:
[Explore]Search data panel column by key words
Drag and Drop
Not able to sort column in Edit dataset modal is super annoying.. 🤣

@geido

another related issue
when clicking "SYNC COLUMNS FROM SOURCE", Is temporal is not detected


Fix memory leak during encryption

Hi,
In this pull request, I've fixed the memory leak during data encryption.
My approach is the same, as I did for the decryption (#219): now we use buffers with references to the input data instead of data copying.
Don't be afraid of so many files changed. I just renamed two commonly used structures:

SecurityBuffer -> OwnedSecurityBuffer. It uses Vec inside, so I've added the Owned prefix.
DecryptBuffer -> SecurityBuffer. We use it for decryption and encryption, so DecryptBuffer is a bad name.

Moreover, I added a test for testing encryption and decryption in the FFI layer. I highly recommend running FFI tests with Miri.

[!NOTE]
Currently, we cannot run Miri because one dependency in the dependency tree has failed to compile with nightly Rust.

I already fixed it and found some UB and memory leaks. I'll provide a separate PR with an updated Cargo.lock and another PR for UB + memory leak fixes.
closes #217

Moreover, I added a test for testing encryption and decryption in the FFI layer. I highly recommend running FFI tests with Miri.

Definitely. I’ll update the CI to add this once the next PR is landed.


Accessibility issue with reference URL

If we pass incomplete reference URLs in <a href> tags and capture the URLs and map them to correct methods or activities, it works. But when accessibility is ON it fails and we get error
W/URLSpan: Actvity was not found for intent, Intent { act=android.intent.action.VIEW dat=/wps/portal/CONTACT_US (has extras) }
How to handle such issues?

This doesn't sound like an issue with this library. Just to confirm: do you run into this error even when using vanilla LinkMovementMethod?

Well, we can't use the vanilla method as that can't help our use case.

Following method is called in normal use, but in accessibility state ON it is not called

method.setOnLinkClickListener((textView, url) -> {
  // Do something with the URL and return true to indicate that
  // this URL was handled. Otherwise, return false to let the
  // framework handle the URL.
  return true;
});


Mountaineer Sequence Diagram

Plan to create a draw.io / sequence diagram of the programming process to visually lay out how this project is going to work.

Completed rough work diagram outline, available in add-cli-docs branch


Further simplify java Hello World

Go back to using plugin to detect os
Remove unnecessary maven config for packaging
Use system properties for project/zone/cluster for consistency
with other examples.
Only require java 1.7 - works on cloud shell with java 1.7 installed

Cloud shell can use Java 8. I would use Java 8 in the sample.
On Tue, Feb 23, 2016 at 1:40 PM, Gary Elliott<EMAIL_ADDRESS>wrote:

Go back to using plugin to detect os
Remove unnecessary maven config for packaging
Use system properties for project/zone/cluster for consistency with
other examples.
Only require java 1.7 - works on cloud shell with java 1.7 installed

You can view, comment on, or merge this pull request online at:
https://github.com/GoogleCloudPlatform/cloud-bigtable-examples/pull/133
Commit Summary

Further simplify java Hello World

File Changes

M java/hello-world/README.md
https://github.com/GoogleCloudPlatform/cloud-bigtable-examples/pull/133/files#diff-0
(2)
M java/hello-world/pom.xml
https://github.com/GoogleCloudPlatform/cloud-bigtable-examples/pull/133/files#diff-1
(74)
M
java/hello-world/src/main/java/com/example/cloud/bigtable/helloworld/HelloWorld.java
https://github.com/GoogleCloudPlatform/cloud-bigtable-examples/pull/133/files#diff-2
(18)

Patch Links:

https://github.com/GoogleCloudPlatform/cloud-bigtable-examples/pull/133.patch
https://github.com/GoogleCloudPlatform/cloud-bigtable-examples/pull/133.diff
—
Reply to this email directly or view it on GitHub
https://github.com/GoogleCloudPlatform/cloud-bigtable-examples/pull/133.

It should be Java 8 for all samples.
Cloud shell users should sudo update-java-alternatives -s java-1.8.0-openjdk-amd64

Once you change to java 1.8, add the cloud shell comment to the readme -- LGTM -- Thank you

Can we use 1.7 for now and then switch to 1.8 in our pom.xml when cloud shell defaults to Java 1.8?  Fewer steps are better, IMHO.

We were at a client site today, and this was an issue.  We want the lowest possible barrier of entry for our examples.  They should just work.

Understood, but we are trying to move everything to J8.  LGTM for now.


Possibility to change color of model

Give the opportunity to change the color of the model, because now it is gray by default. Is it possible to change this with parameter passing?

Hi @ivan-hryshko , setting the extrusion color is not yet possible.
I can add it for you.
Would you like something like this?
yellow, 50% saturation, , brightness [0, 80]

red, 50% saturation, brightness [0, 80]

purple, 100% saturation, brightness [20, 80]

I'm thinking about a param to override the Color, which will determine the hue and the saturation. The brightness will still be based on the layer height. How is that?
Also see the current code for the gradient.

@remcoder Looks cool, I like it)
The transfer of hue and saturation will be enough for my needs.
Although if you add the ability to set the brightness [20, 80] as you have shown, that would be an added plus as well.
Please let me know when this feature will be added

Just released 2.10 with these changes

@remcoder
Thank you very much. It looks great.
But is it possible to pass a custom range for brightness as you suggested above?
Because I have a problem with displaying black, gray and white.
Is it possible to set for:
black color for example brightness in the range [0-30]%
for gray [30-70]%
And for white [70-100]%


Future date

Hi there, I'm interested in adopting this library over timeago-react which we currently use. I like how you're leveraging Intl APIs rather than doing it manually.
However, I notice that future dates are not supported - it always returns 0 seconds if the date is in the future. This would be a key feature for my use case, where I have a list of articles scheduled to publish at a future date.
Would this be something you'd be willing to accept as a PR? Perhaps as an opt-in feature?
Also, would you be willing to accept a custom prop for "now" - so rather than 1 minute you could pass in something like `['just now', 'right now'] to be displayed instead

Hey, yes PRs would be most welcome :) I also think both your ideas are useful and would be valuable enhancements

No worries, I have opened #3


Fix: Memory alignment in nanovdb_GridData

The fields mGridIndex and mGridCount are missing in the struct, which leads to an 8 bit memory missalignment with the C++ data in the buffer of gridhandler->data().
This caused invalid data in mMap, as it is defined, after the missalignmented happened. Artefacts of this bug could be seen in the OpenCL version of the viewer.
For reference see the struct GridData in NanoVDB.h(line 2131-2148).

There seems to be another memory alignment issue somewhere, that causes incorrect values when reading from the grid via TreeContext and nanovdb_ReadAccessor.
I'm currently investigating this issue and will let you know, once I've found it.

The problem seems to be in the nanovdb_RootData_* struct.
In C++ e.g. the mBackground member starts at byte offset 28, while in C it starts at 36. Also, the members in itself are quite different. I'm not a 100% sure, how to best resolve this yet.

(sorry for the many comments, but I will just document the needed changes here for a start, and if it works, I'll update the pullrequest)(at least from what I think should be updated.. I'm by far no expert, just trying out if it solves it)
CNANOVDB_DECLARE_STRUCT_BEGIN(nanovdb_Node##LEVEL##_##SUFFIX)

CNANOVDB_DECLARE_STRUCT_BEGIN(nanovdb_RootData_Tile_##SUFFIX)
childID should be int64_t and not int32_t

All changes combined will be submitted in a new pull-request


Add OpenTelemetry traces

Description of your changes
Introduce traces via OpenTelemetry GO SDK.
For now the change includes only a few basic traces but more will be added after gathering initial feedback.
The new feature is configurable via 3 new flags:

metrics-export-timeout Timeout when exporting metrics
metrics-export-interval Interval at which metrics are exported
metrics-export-address Address of otel collector

Also updates the Makefile rules that rely on $SHELL due to not existing across all environments and removed two variables that don't seem to be used or recognised by GO.

Fixes the lack of traces.
I have:

[ ] Read and followed Crossplane's contribution process.
[ ] Run make reviewable to ensure this PR is ready for review.
[ ] Added backport release-x.y labels to auto-backport this PR if necessary.

How has this code been tested

Would also be interested in @mhmxs's thoughts :point_up:


Travisci1

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@97f2d72). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master       #3   +/-   ##
=========================================
  Coverage          ?   32.66%
  Complexity        ?     9689
=========================================
  Files             ?     1130
  Lines             ?    90318
  Branches          ?    16286
=========================================
  Hits              ?    29506
  Misses            ?    57231
  Partials          ?     3581

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 97f2d72...668fa7a. Read the comment docs.


Schema import deadlock situation

Possibly related to #811, but this time not for updating, but for creating classes.
crash looping with
weaviate_1             | {"action":"contextionary_rebuild","error":"Could not build in-memory contextionary from schema; Could not find camel cased part of name 'warld' for property warld in class 'Geopolymer' in the contextionary, consider adding some keywords instead.","level":"fatal","msg":"could not (re)build contextionary","time":"2019-04-29T12:12:17Z"}

It seemed to have passed the validation on adding fine, but then failed on rebuilding the c11y.
If the user gets stuck in this situation they cannot recover from it.

I think that the flakiness of the current C11y also plays a role here.

I don't disagree, but nevertheless weaviate must be resilient enough that you cannot break the entire setup due to bad user input (whether it's due to the c11y or not). I think I found the root cause, fix coming up soon.

Root cause analysis:
There is test logic in the non-test code of the scheme manager. There is a check if the c11y is set to nil, we ignore all checks on it. From what I can tell this was done to avoid writing an actual fake for the tests, so that the tests would just skip it. However, this also led to an error where we passed a nil-contextionary in production. Without the "unit test workaround" this would have been easily caught in our acceptance tests, but this way it didn't.
I'll remove the unit test workaround, to make sure we actually test the same code we run in production. In the mean time I have already fixed the issue of why the c11y was nil in the first place. This fix is coming up as soon as my local test run has passed.


@container queries appear to not be supported

CSS container queries (@container) have been supported in @mdn/browser-compat-data since v5.2.3. However, they do not appear to be present in vscode-custom-data.
I believe this to be the cause of https://github.com/microsoft/vscode-css-languageservice/issues/408, which I believe to be the cause of observed behavior in https://github.com/runem/lit-analyzer/issues/323.

Apologies, this has been fixed in more recent versions.


Max retries exceeded with url: /api/interpreter

Contributing guidelines

[X] I understand the contributing guidelines

Documentation

[X] My problem is not addressed by the documentation or examples

Existing issues

[X] My problem does not appear in an existing issue

What operating system and Python version are you using?
Windows 11 + Python 3.12.8. Same on MacOS, Ubuntu, Docker.
What OSMnx version are you using?
osmnx 2.0.0
Environment packages and versions
Packages:

affine==2.4.0
altair==5.5.0
annotated-types==0.7.0
astroid==3.3.8
attrs==24.3.0
black==23.12.1
blinker==1.9.0
branca==0.8.1
cachetools==5.5.0
certifi==2024.12.14
charset-normalizer==3.4.1
click==8.1.8
click-plugins==1.1.1
cligj==0.7.2
colorama==0.4.6
coverage==7.6.10
databind==4.5.2
databind.core==4.5.2
databind.json==4.5.2
Deprecated==1.2.15
dill==0.3.9
docspec==2.2.1
docspec-python==2.2.1
docstring_parser==0.11
fast_simplification==0.1.9
folium==0.19.3
geographiclib==2.0
geopandas==1.0.1
geopy==2.4.1
gitdb==4.0.11
GitPython==3.1.43
idna==3.10
iniconfig==2.0.0
isort==5.13.2
Jinja2==3.1.5
jsonschema==4.23.0
jsonschema-specifications==2024.10.1
markdown-it-py==3.0.0
MarkupSafe==3.0.2
mccabe==0.7.0
mdurl==0.1.2
mypy==1.14.1
mypy-extensions==1.0.0
narwhals==1.20.1
networkx==3.4.2
nr-date==2.1.0
nr-stream==1.1.5
nr.util==0.8.12
numpy==2.2.1
opencv-python==<IP_ADDRESS>
osmnx==2.0.0
packaging==24.2
pandas==2.2.3
pandas-stubs==<IP_ADDRESS>126
pathspec==0.12.1
pillow==11.0.0
platformdirs==4.3.6
pluggy==1.5.0
protobuf==5.29.2
pyarrow==18.1.0
pydantic==2.10.4
pydantic_core==2.27.2
pydeck==0.9.1
pydoc-markdown==4.8.2
Pygments==2.18.0
pylint==3.3.3
Pympler==1.1
pyogrio==0.10.0
pyparsing==3.2.0
pyproj==3.7.0
pytest==8.3.4
pytest-cov==6.0.0
python-dateutil==2.9.0.post0
pytz==2024.2
pywin32==308
PyYAML==6.0.2
rasterio==1.4.3
referencing==0.35.1
requests==2.32.3
rich==13.9.4
rpds-py==0.22.3
shapely==2.0.6
six==1.17.0
smmap==5.0.1
streamlit==1.41.1
streamlit_stl==0.0.5
tenacity==9.0.0
toml==0.10.2
tomli==2.2.1
tomli_w==1.1.0
tomlkit==0.13.2
tornado==6.4.2
trimesh==4.5.3
typeapi==2.2.3
types-pytz==2<IP_ADDRESS>41221
types-requests==<IP_ADDRESS>41016
typing_extensions==4.12.2
tzdata==2024.2
urllib3==2.3.0
watchdog==6.0.0
wrapt==1.17.0
xyzservices==2024.9.0
yapf==0.43.0

How did you install OSMnx?
Other (describe below)
Problem description
Hello!
First of all, I want to thank you very much for this awesome library. Works as a charm and provides everything you want to and beyond.
But starting from yesterday the:
objects = ox.features_from_bbox(bbox=self.new_bbox, tags=tags)

method stopped working. Any requests will fail with:
Error: HTTPSConnectionPool(host='overpass-api.de', port=443): Max retries exceeded with url: /api/interpreter (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x0000022D17946EA0>: Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it')).

Just in case, when working with local files there's no issue.
Works fine:
objects = ox.features_from_xml(self.map.custom_osm, tags=tags)

This issue appears everywhere: on my Windows laptop, on my MacOS laptop, locally inside of the Docker, and on the VPS in a different country (DE) with Ubuntu 24.04.
I've tried recreating venv, rebuilding docker images, and so on. It's exactly the same and the fact it appears on different OS, Python versions, machines, and even on machines from different countries, make me think that I can't do anything with it on my own.
I found a similar issue from 2022, but it was closed without any useful comments.
I would appreciate it if you could point me to any workarounds.
Best Regards
Complete minimal reproducible example
Try to get features from a bounding box (I guess for any other request to OSM API):
import osmnx as ox

bbox = (20.224344458948824, 45.27650505266082, 20.250522423471406, 45.29492313313172)
tags = {"building": True}

objects = ox.features_from_bbox(bbox, tags=tags)

But on any other tags or coordinates that I'm using the error is the same.
No additional steps are needed.

So, the error appears here: https://github.com/gboeing/osmnx/blob/main/osmnx/_overpass.py#L475
URL of the request:
https://overpass-api.de/api/interpreter
DATA (payload) of the request:
OrderedDict({'data': "[out:json][timeout:180];((node['building'](poly:'45.276505 20.224344 45.276505 20.250522 45.294923 20.250522 45.294923 20.224344 45.276505 20.224344');(._;>;););(way['building'](poly:'45.276505 20.224344 45.276505 20.250522 45.294923 20.250522 45.294923 20.224344 45.276505 20.224344');(._;>;););(relation['building'](poly:'45.276505 20.224344 45.276505 20.250522 45.294923 20.250522 45.294923 20.224344 45.276505 20.224344');(._;>;);););out;"})

HEADERS of the request:
{'User-Agent': 'OSMnx Python package (https://github.com/gboeing/osmnx)', 'Accept-Encoding': 'gzip, deflate', 'Accept': '*/*', 'Connection': 'keep-alive', 'referer': 'OSMnx Python package (https://github.com/gboeing/osmnx)', 'Accept-Language': 'en'}

It's functioning again.

Looks like the Overpass server was overloaded or down. If others find this issue in the future, it should just self-resolve.

Also, as an FYI for future folks -- this resolved for me about 30 minutes after @iwatkot reported it functioning again. So in case your queries don't work immediately when other's do, take a break and try again after some time.


Not Working on Vostro 3750 Modified BIOS

I have a Vostro 3750. After a lot of reseach on BIOS, I flashed a modded bios just to get UEFI. It is UEFI right now but hack bgrt is not working. I wanted UEFI only for Hack BGRT. I used this tool on my friends computers. I loved it. Please tell me a way to make this work on my machine.

Do you have Secure Boot off?

Secure boot is not even supported on my laptop.

Secure boot is not even supported on my laptop.

https://github.com/Metabolix/HackBGRT/issues/129#issuecomment-1551943908

I think it is a very technical issue,what should I do??

I think it is a very technical issue,what should I do??

I don't really know, if you can't boot on Windows try re-installing Windows.
If you don't have any problem with Windows try another method to change the boot logo.
Maybe HackBGRT doesn't work because it's a modded BIOS and not the original BIOS.

Did you also reformat your hard disk to GPT, so that the machine actually boots with UEFI? Did you manage to install HackBGRT or did you get some error message during setup? If you got that far, then you will have to set debug=1 in the config.txt and take a picture of any texts that appear when booting.

Closing bugs from obsolete versions. Please reopen with proper setup.log if this is still valid for the most recent version.


Replace PNG illustrations with JPGs to improve performance

I need to swap almost all of the PNGs for JPGs to reduce their size, but it's especially important for our website cover image, which is half a MB.
I'll make these images, but @johngribbin I'll need your help in putting these images in our AWS bucket. I hate to bother you with that, so let me know if it'd work better to show me how to do this in the future.

@mikeville Home page image now in place


Hardcoded Message Attributes MD5 checksum causes error in AWS Java SDK

I've been trying to get set up to use Atlassian's localstack for local development of a Java application. When trying to send SQS messages that use MessageAttributes I receive errors from the SDK that the returned MD5 checksum does not match what was expected:
com.amazonaws.AmazonClientException: MD5 returned by SQS does not match the calculation on the original request. (MD5 calculated by the message attributes: "235c5c510d26fb653d073faed50ae77c", MD5 checksum returned: "324758f82d026ac6ec5b31a3b192d1e3")

In the issue I filed with localstack, one of the maintainers noted that moto is using a hard-coded MD5 checksum.
Would it be possible for moto to calculate and return the expected checksum value?

I've implemented the fix for this in #919. Thanks for reporting it, @awesometown! Client software shouldn't break just because it enforces good security practices.

Sorry for the delayed acknowledgement, but thanks for looking into this :)


Support Serializer Adapter for data plane

This PR enables customizing the SerializerAdapter  that will be used in azure-core for serializing and deserializing request/response from the client library.

Ignoring Android build failure as the token might not have been set up to publish test coverage reports to Storage. This does not impact the PR.
cc: @anuchandy can you please take a look?


Oh My Bash

New App Submission

[X] I've read the contribution guidelines.

Repo or homepage link: https://github.com/ohmybash/oh-my-bash
Description: A delightful community-driven framework for managing your bash configuration.
Why I think it's awesome: It has really good features like autocomplete, custom prompts etc.

Thanks! Kind of surprised this isn't already on the lsit

@hyperupcall You're welcome!


Lathermail parse multipart/alternative wrong

Lathermail parse multipart/alternative wrongly. Here is RAW message:
Message-ID<EMAIL_ADDRESS>  Date: Fri, 05 Feb 2016 15:45:23 +0000
  Subject: Subject _56b4c393c188a
  From<EMAIL_ADDRESS>  To<EMAIL_ADDRESS>  Cc<EMAIL_ADDRESS>  MIME-Version: 1.0
  Content-Type: multipart/mixed;
   boundary="_=_swift_v4_1454687123_b090b423b515e531b6cb0ef009d30c1a_=_"

  --_=_swift_v4_1454687123_b090b423b515e531b6cb0ef009d30c1a_=_
  Content-Type: multipart/alternative;
   boundary="_=_swift_v4_1454687124_8640865617d179234811c05050b21a2f_=_"

  --_=_swift_v4_1454687124_8640865617d179234811c05050b21a2f_=_
  Content-Type: text/plain; charset=utf-8
  Content-Transfer-Encoding: quoted-printable

  Body _56b4c393c188a

  --_=_swift_v4_1454687124_8640865617d179234811c05050b21a2f_=_
  Content-Type: text/html; charset=utf-8
  Content-Transfer-Encoding: quoted-printable

Body _56b4c393c188a

  --_=_swift_v4_1454687124_8640865617d179234811c05050b21a2f_=_--

  --_=_swift_v4_1454687123_b090b423b515e531b6cb0ef009d30c1a_=_
  Content-Type: application/octet-stream; name=file_56b4c393c188a.ext
  Content-Transfer-Encoding: base64
  Content-Disposition: attachment; filename=file_56b4c393c188a.ext

  Qm9keSBfNTZiNGMzOTNjMTg4YQ==

  --_=_swift_v4_1454687123_b090b423b515e531b6cb0ef009d30c1a_=_--

There is how Lathermail parse it:
{
      "message_info": {
          "message_raw": "Message-ID<EMAIL_ADDRESS>Fri, 05 Feb 2016 15:45:23 +0000\nSubject: Subject _56b4c393c188a\nFrom<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>1.0\nContent-Type: multipart/mixed;\n boundary=\"_=_swift_v4_1454687123_b090b423b515e531b6cb0ef009d30c1a_=_\"\n\n\n--_=_swift_v4_1454687123_b090b423b515e531b6cb0ef009d30c1a_=_\nContent-Type: multipart/alternative;\n boundary=\"_=_swift_v4_1454687124_8640865617d179234811c05050b21a2f_=_\"\n\n\n--_=_swift_v4_1454687124_8640865617d179234811c05050b21a2f_=_\nContent-Type: text/plain; charset=utf-8\nContent-Transfer-Encoding: quoted-printable\n\nBody _56b4c393c188a\n\n--_=_swift_v4_1454687124_8640865617d179234811c05050b21a2f_=_\nContent-Type: text/html; charset=utf-8\nContent-Transfer-Encoding: quoted-printable\n\n
Body _56b4c393c188a
\n\n--_=_swift_v4_1454687124_8640865617d179234811c05050b21a2f_=_--\n\n\n--_=_swift_v4_1454687123_b090b423b515e531b6cb0ef009d30c1a_=_\nContent-Type: application/octet-stream; name=file_56b4c393c188a.ext\nContent-Transfer-Encoding: base64\nContent-Disposition: attachment; filename=file_56b4c393c188a.ext\n\nQm9keSBfNTZiNGMzOTNjMTg4YQ==\n\n--_=_swift_v4_1454687123_b090b423b515e531b6cb0ef009d30c1a_=_--\n",
          "_id": "4fb856ba-a8de-46b8-be64-5652e55e4360",
          "sender": {
              "name": "",
              "address"<EMAIL_ADDRESS>          },
          "recipients": [
              {
                  "name": "",
                  "address"<EMAIL_ADDRESS>              }
          ],
          "recipients_raw"<EMAIL_ADDRESS>          "created_at": "2016-02-05T15:45:24.121927+00:00",
          "sender_raw"<EMAIL_ADDRESS>          "read": true,
          "parts": [
              {
                  "body": null,
                  "index": 0,
                  "is_attachment": false,
                  "charset": null,
                  "filename": null,
                  "type": "multipart/alternative",
                  "size": 0
              },
              {
                  "body": null,
                  "index": 1,
                  "is_attachment": true,
                  "charset": null,
                  "filename": "file_56b4c393c188a.ext",
                  "type": "application/octet-stream",
                  "size": 0
              }
          ],
          "inbox"<EMAIL_ADDRESS>          "password": "password",
          "subject": "Subject _56b4c393c188a"
      }
  }

"Parts" must be 3. For text/html, text/plain and attachment. In the API response there are no html and plain parts.

Added support for HTML messages in API and fronted
https://github.com/reclosedev/lathermail/compare/27ef8c563967443aff8216c2c0580c4715782f98...ae08ac47cb80689ae0af6049a9f893d5874aa0ea


Add enum fields to parameters when constructing openai function requests

Description: Added add_enum_properties into format_tool_to_openai_function which adds enum details from tools.arg_schema.schema() into OpenAI Functions API requests, to make the response more relevant; similar to how enum is used in this tutorial for the ["celsius", "fahrenheit"].
There are several cases where an enum in the parameters where pydantic handles differently not as a simple "enum" key in the schema, most were covered in the unit test here tests/unit_tests/tools/test_convert_to_openai.py.
Issue: None
Dependencies: N/A
Tag maintainers: @vowelparrot
Twitter handle: ZhiHaoLow
It's my first time here, if there are any things that need amendment please let me know.
OpenAI Functions seems promising and fun and hope I can contribute more! 😄

@lowzhao Hi , could you, please, resolve the merging issues? After that ping me and I push this PR for the review. Thanks!

Closing because the PR wouldn't line up with the current directory structure of the library (would need to be in /libs/langchain/langchain instead of /langchain). Feel free to reopen against the current head if it's still relevant!


[logs-dispatcher] pin kubernetes_metadata_filter to 2.10.0

In https://github.com/fabric8io/fluent-plugin-kubernetes_metadata_filter/issues/320 the kubernetes_metadata_filter removed the ability to dedot labels natively.
We will undergo some tests to see if there are alternate solutions - we maybe don't need to dedot them now?
in the meantime, this pins the logs-dispatcher to a version that works

Downgraded further to 2.10.0 (known working) to avoid the fluentd 15 update mismatch (https://github.com/fabric8io/fluent-plugin-kubernetes_metadata_filter/pull/340) that seemingly caused some nopod issues (https://github.com/uselagoon/lagoon-charts/issues/509)


RHAM-84 Implement search solution

https://issues.redhat.com/browse/RHAM-84
This is just an idea about how we can implement the service to populate the indexes from CDC events

@fax4ever I've added the "On Hold" label given the pivot towards cache-manager updated indexes.

going to close it and reopening it to the cache-manager project following what we've discussed here: https://infinispan.zulipchat.com/#narrow/stream/313207-memory-service/topic/query/near/313245761 ;)


Register

@JuliaRegistrator register()

Registration pull request created: JuliaRegistries/General/60886
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v1.3.3 -m "<description of version>"<PHONE_NUMBER>9e9332401f3f6f944ee6f1af2e7ae1
git push origin v1.3.3

Also, note the warning: This looks like a new registration that registers version 1.3.3.
Ideally, you should register an initial release with 0.0.1, 0.1.0 or 1.0.0 version numbers
This can be safely ignored. However, if you want to fix this you can do so. Call register() again after making the fix. This will update the Pull request.


Prevent encoding of query after login redirect.

Fixes https://github.com/DSpace/dspace-angular/issues/510

This minor revision changes the method used for redirects after login to be router.navigateByUrl(url), rather than router.navigate([url]).
When constructing the url, the latter was encoding query parameters. This had the effect of breaking redirects like /mydspace?configuration=workspace.


Error in running basset_sat_vcf.py

I am trying to run the basset_sat_vcf.py, but it returns errors:
Here is the cmd:
software/Basset-master/src/basset_sat_vcf.py -t 6 -o /sat model_default_1k/dnacnn_best.th Test_run/rs13336428.vcf
And errors:
/opt/torch/install/bin/lua: /opt/torch/install/share/lua/5.2/nn/Container.lua:67:
In 13 module of nn.Sequential:
/opt/torch/install/share/lua/5.2/torch/Tensor.lua:466: Wrong size for view. Input size: 4x200x1x13. Output size: 4x4200
stack traceback:
        [C]: in function 'error'
        /opt/torch/install/share/lua/5.2/torch/Tensor.lua:466: in function 'view'
        /opt/torch/install/share/lua/5.2/nn/Reshape.lua:46: in function </opt/torch/install/share/lua/5.2/nn/Reshape.lua:31>
        [C]: in function 'xpcall'
        /opt/torch/install/share/lua/5.2/nn/Container.lua:63: in function 'rethrowErrors'
        /opt/torch/install/share/lua/5.2/nn/Sequential.lua:44: in function </opt/torch/install/share/lua/5.2/nn/Sequential.lua:41>
        (...tail calls...)
        /opt/Basset/src/convnet.lua:509: in function 'predict'
        ...software/Basset-master/src/../src/basset_sat_predict.lua:75: in main chunk
        [C]: in function 'dofile'
        /opt/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
        [C]: in ?

WARNING: If you see a stack trace below, it doesn't point to the place where this error occurred. Please use only the one above.
stack traceback:
        [C]: in function 'error'
        /opt/torch/install/share/lua/5.2/nn/Container.lua:67: in function 'rethrowErrors'
        /opt/torch/install/share/lua/5.2/nn/Sequential.lua:44: in function </opt/torch/install/share/lua/5.2/nn/Sequential.lua:41>
        (...tail calls...)
        /opt/Basset/src/convnet.lua:509: in function 'predict'
        ...software/Basset-master/src/../src/basset_sat_predict.lua:75: in main chunk
        [C]: in function 'dofile'
        /opt/torch/install/lib/luarocks/rocks/trepl/scm-1/bin/th:150: in main chunk
        [C]: in ?
Traceback (most recent call last):
  File "/data/gpei/software/Basset-master/src/basset_sat_vcf2.py", line 206, in <module>
    main()
  File "/data/gpei/software/Basset-master/src/basset_sat_vcf2.py", line 88, in main
    hdf5_in = h5py.File(options.model_hdf5_file, 'r')
  File "/data/gpei/software/python2.7_module/h5py/_hl/files.py", line 312, in __init__
    fid = make_fid(name, mode, userblock_size, fapl, swmr=swmr)
  File "/data/gpei/software/python2.7_module/h5py/_hl/files.py", line 142, in make_fid
    fid = h5f.open(name, flags, fapl=fapl)
  File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
  File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
  File "h5py/h5f.pyx", line 78, in h5py.h5f.open
IOError: Unable to open file (unable to open file: name = '/data/gpei/19_1.CNN/2.model_default_1k/4.sad/sat/model_out.h5', errno = 2, error message = 'No such file or directory', flags = 0, o_flags = 0)

Any one can help me ?
Thanks!

Hi, it's most likely the case that the sequence length that you're giving the model is different from what it was trained on. It looks like you used length 1000 from your directory name. So maybe try "-l 1000" to basset_sat_vcf.py.


update MFEM, superlu-dist, and Tribol

Contact support needs this recent fix: https://github.com/mfem/mfem/commit/71fab657ec8c4a25c761338d9df3e0cdf5faf24e and will benefit from this recently merged PR: https://github.com/mfem/mfem/pull/3557 in MFEM.
This more recent version of MFEM does not need an old superlu-dist, so the version specified in the serac package.py has been removed.
Also, Tribol has been updated to the most recent develop.

Codecov Report

Merging #994 (68f3705) into develop (b9a2e36) will decrease coverage by 0.06%.
The diff coverage is n/a.

:exclamation: Current head 68f3705 differs from pull request most recent head 09cde2a. Consider uploading reports for the commit 09cde2a to get more accurate results

@@             Coverage Diff             @@
##           develop     #994      +/-   ##
===========================================
- Coverage    89.35%   89.30%   -0.06%
===========================================
  Files          138      138
  Lines        10722    10722
===========================================
- Hits          9581     9575       -6
- Misses        1141     1147       +6

see 1 file with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

I think this one is ready to go now


Bad facilities view data for Bulgana

facilities view of bulgana:

showing Battery and Battery (Charging) — should be just the former
showing both as Committed when they should have been automatically upgraded to Operating as soon as data started coming through

hotfix is on prod:
https://opennem.org.au/facility/au/NEM/BULGANA/?range=3d&interval=30m


failed: 139 at ./run-trust4 line 55.

Hi,
When i was using TRUST4 for my 10X Fastq files,it reported failed: 139 at ./run-trust4 line 55.
[Mon Apr  8 14:41:02 2024] TRUST4 begins.
[Mon Apr  8 14:41:02 2024] SYSTEM CALL: /home/work1/Documents/TRUSt4git/TRUST4/fastq-extractor -t 32 -f /home/work1/Documents/TRUSt4git/TRUST4/hg38_bcrtcr.fa -o /home/work1/Documents/TRUST4/HThuman/HRR568828_toassemble  -u /home/work1/Documents/HT_human/HRR568828_R2.fastq.gz
[Mon Apr  8 14:41:02 2024] Start to extract candidate reads from read files.
system /home/work1/Documents/TRUSt4git/TRUST4/fastq-extractor -t 32 -f /home/work1/Documents/TRUSt4git/TRUST4/hg38_bcrtcr.fa -o /home/work1/Documents/TRUST4/HThuman/HRR568828_toassemble  -u /home/work1/Documents/HT_human/HRR568828_R2.fastq.gz failed: 139 at ./run-trust4 line 55.
can you hele me ? thanks a lot!

Which version of TRUST4 are you using? Do you have access permission to "/home/work1/Documents/TRUST4/HThuman/" folder?
An unrelated issue, for 10x-style single-cell data, you may need to use the --readFormat to specify the barcode and UMI domain in a read.

thank you for the reply ,i think is the latest version ,i was using gitclone and make to install TRUST4, and check the permission is ok,but still have the issue.

[Tue Apr  9 09:55:27 2024] TRUST4 finishes.
[Tue Apr  9 09:55:27 2024] TRUST4 begins.
[Tue Apr  9 09:55:27 2024] SYSTEM CALL: /home/work1/Documents/TRUSt4git/TRUST4/fastq-extractor -t 32 -f /home/work1/Documents/TRUST4/HTmodel/bcrtcr.fa -o /home/work1/Documents/TRUST4/HTmodel/A-3_S1_L004_toassemble  --readFormat bc:0:15 -u /home/work1/Documents/HLY_ABC/A/A-3_S1_L004_R2_001.fastq.gz --barcode /home/work1/Documents/HLY_ABC/A/A-3_S1_L004_R1_001.fastq.gz
[Tue Apr  9 09:55:27 2024] Start to extract candidate reads from read files.
Read file and barcode file have different number of reads.
system /home/work1/Documents/TRUSt4git/TRUST4/fastq-extractor -t 32 -f /home/work1/Documents/TRUST4/HTmodel/bcrtcr.fa -o /home/work1/Documents/TRUST4/HTmodel/A-3_S1_L004_toassemble  --readFormat bc:0:15 -u /home/work1/Documents/HLY_ABC/A/A-3_S1_L004_R2_001.fastq.gz --barcode /home/work1/Documents/HLY_ABC/A/A-3_S1_L004_R1_001.fastq.gz failed: 256 at ./run-trust4 line 55.
And another bug i dont konw how to fix, is Read file and barcode file have different number of reads. So i just use the R2.fastq.gz.

Have you preprocessed the raw fastq files? Like read trimming and filters, which may causing read number change?

i dont konw, these data download from Sequencing company

Could you please show me the first a few lines of these two files?

the HRR568828file:
@A00224:86:H5F3KDSXX:1:1101:18466:1000 2:N:0:GTTGAGAA
NCTAAGGGCTGTGGCACTGTCCTGCTCTCCGGTCCTCGCAAGGGCCGAGAGGTGTACCGGCATTTCGGTAAGGCCCCAGGAACCCCGCACAGCCACACCAAACCCTACGTCCGCTCCAAGGGCCGGAAGTTCGAGCGTGCCAGAGGCCGAC
+
#FFFFFFFFFFFFF:FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF:FFFFFFFFFFFFF:FFFFF,FFFFFFFFFFFFFFFFFFFFFFFFFFFF:FFFFFFFFFFFFFFFFFFFFFF
@A00224:86:H5F3KDSXX:1:1101:18846:1000 2:N:0:GTTGAGAA
NGCCTTAAATGCTCCAGGGACCTTTGAGTTTCTAGAGTTATCATGTGCTACAGGAATGAGCAGTTTAAAGTTTCCAAAAAGGCTGGGCGTGGTGGCTCACACCTGTAATCCTAGCAATTTGGGAGGATGAGGTGGGCAGATCACTTTAGGT
+
#,,FFFFFFFF,F:,FFFFF,,FFF:F:FFF,FFFF,FFFF::F:F:,F,,F::FFFFF,FFFFFFF:,:FFF:FFFF,FF,:F:,F,,F,FFF,FF:F,:F,FFFFFF:,:FFFF,FFFFF,FFF,FF,FFFF,FFF,FF:F:FF,FFFF
@A00224:86:H5F3KDSXX:1:1101:19479:1000 2:N:0:GTTGAGAA
NTAGTTATCACCTTAGGTACATTATTATTTTGAATGATGAGGAATTTTTATTTTCATCTGCCTCAGTGGAGTGATTATATAGTATGCTAAGTAATCTTTCATTTCTTACAGAAGACGATCACCTTCTCCTTATTATAGTCGATATAGATCA

How about the barcode file?

sorry for the wrong files ,the files are here :
R2 file:
@A01426:197:HMYWKDSX2:4:1101:1325:1000 2:N:0:CGTCAAGGGC+GAGTGACCTA
GTGTGGGCTAGTGCGTCTCTTTCATAGTCGCCAGTCATCATCTCTACATCATCCCAGGACATTATCGCTTGCCATGGTGGTACATATGATGTTTACTTTTGTATATGTTTGAAATTTTACATCAATCACTGTGTTACTCTGTTGTTCTCT
+
:FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF,:FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF:FFFFFF:FFFFFFF:FFFFF:FFFFFFFFFFFFFFFFF
@A01426:197:HMYWKDSX2:4:1101:1344:1000 2:N:0:CGTCAAGGGC+GAGTGACCTA
TGGTTGCTGAGAAGCGGCTCATTCCTGATGGCTGTGGTGTCAAATATATCCCCAATCGTGGTCCTCTGGACAAGTGGAGAGCCCTGCATTCCTGAAGGCTTCAATAGTTCTCCTATACCCTACCAAATCGTTCAATAATAAAATCTCGCA
+
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF:FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF,FFFFFF:FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF
@A01426:197:HMYWKDSX2:4:1101:1434:1000 2:N:0:CGTCAAGGGC+GAGTGACCTA
CTCGCTTGCATCTACTCCGCCCTCATCCTGCACGACGACGAGGTGACGGTCACGGAGGATAAGATCAATGCCCTCATTAAAGCAGCTGGTGTCAGCGTCGAACCTTTCTGGCCTGGCTTGTTTGCCAAGGCTCTGGCCAATGTCAACATT
barcode file:
@A01426:197:HMYWKDSX2:4:1101:1325:1000 1:N:0:CGTCAAGGGC+GAGTGACCTA
GGTAACTCATGTGGTTTAGGTCGTATACTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTATTGTTTTTTAAAATTTAAATTTTAAAATTTAAATTTAATTTATGAAAATTGGTTAATATTAAAAAAAAAATTATAAATATTAAATAATTTT
+
FFFFF:F:FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF:,,FFFFF,,,FFF:F:FF,FF,,,:FF,,FFFF,FF,F,,F,,,F,:F,,:,,F,F,,FF,,,FF::,FF,:F,FFF,,,F:F:F,,:FF,
@A01426:197:HMYWKDSX2:4:1101:1344:1000 1:N:0:CGTCAAGGGC+GAGTGACCTA
GAAACCTGTTGAATCCGACGGCGTTTAGTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTATTGGAAATTTTTTTTTTTAAAAATTTTGTTTTGTTAAAGTTAAATATTTTAAACATAAAGAAATAATAGAAATAAAAATTTAAAGATTA
+
FFFFF:F:FFFFFFFFFFFFFFFF,,,FF:FFFFFFFFFFFFFFFFFFFFFFFFFFFFF:,,:,,,,,:FFF,FF,:F,,::,,:,F,,,F,,:,F,,,F,,:F,,F,:,,::,,,,,,,F,:,,,:,,,,,,,:,F,F,:F,,F,,,,,
@A01426:197:HMYWKDSX2:4:1101:1434:1000 1:N:0:CGTCAAGGGC+GAGTGACCTA
GGGCGTGTCTAAGCGTTACAATATGTATTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTAGTTAAAAAATTTATTGGGTAAATTAAAAAAATAAGTTTAATAAAAAATAAAAAAGCACAAATTATATTAAAAATCATAAGAATGTTAATT

Could you please also count the number of lines in the two files?
It seems sequences in R1 file are pretty long. Does it also include actual sequence data?

the R1 files have 367680198lines，the R2 files have 206562599lines，R1 is so long，whats wrong with my data？thanks for reply，Sorry for causing trouble for you

I'm not sure about that. You may check some of the read ids that only show up in R1 but not R2. Can you also use gzip -t to check the integrity of these gzipped files?

Both file invalid crc error and length error,i think these files are broken,i will replace these files and try again,thank you so much!!!

I have the same issue with the mapped bam file. Have you figured out the reason behind ? @BobW4ng

@xanthexu . Your file is all right. You can just add the "-u" option when running TRUST4. This happens when some tools generated the sorted BAM file, the unmapped read pairs may not be next to each other. "-u" makes the program slower, but it has less assumptions on the sort order in the BAM file.

Thanks @mourisl . Yesterday I tried it by myself, and later found that removing unmapped reads from the BAM file can also solve this problem. This follows the same idea as the "-u" option you mentioned.

Many of the reads from the VDJ region are unmapped due to the recombination. I would recommend keeping them in the analysis.


Older versions of Steam Achievement Manager

Are there any older versions of SAM available? I want to unlock achievements for games I do not own. Thanks in advance.

That was never a possibility, even in older versions of SAM.
It's simply not possible via the Steamworks API that SAM uses.


Fix lighthouse bug #136 (Play2's anorm can't work on postgresql)

This patch works around postgresql's behaviour to return the empty string on getTableName().
It calls getBaseTableName() instead if the ResultSetMetaData is a PGResultSetMetaData.
Disadvantages:

adds a dependency on the postgresql JDBC driver
uses structural types, may be slower due to use of reflection

(bug report: https://play.lighthouseapp.com/projects/82401/tickets/136-play2s-anorm-cant-work-on-postgresql)

Made a better patch which doesn't use structural types, which replaces this pull request.


Update Readme.md

This repo is no longer maintained. Can you raise this PR in https://github.com/microsoft/devops-project-samples


Error to list archives repository in drive

I installed GDRIVE in Debian 9, when typing the "gdrive list" command, it synchronizes, so when it tries to read the files from the drive this error occurs:
root@samba:/usr/local/bin# gdrive list
Authentication needed
Go to the following url in your browser:
https://accounts.google.com/o/oauth2/auth?access_type=offline&client_id=36711622 1053-7n0vf5akeru7on6o2fjinrecpdoe99eg.apps.googleusercontent.com&redirect_uri=ur             n%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&response_type=code&scope=https%3A%2F%2Fwww.goo             gleapis.com%2Fauth%2Fdrive&state=state
Enter verification code: 4/uQDPq8-lMzcFC5xkkIeqkL25H1TTFXqxxjwRPbdklI56vvPlwuB9i             Yk
Failed to list files: Get https://www.googleapis.com/drive/v3/files?alt=json&fie             lds=nextPageToken%2Cfiles%28id%2Cname%2Cmd5Checksum%2CmimeType%2Csize%2CcreatedT             ime%2Cparents%29&orderBy=&pageSize=30&q=trashed+%3D+false+and+%27me%27+in+owners             : dial tcp [2800:3f0:4001:80d::200a]:443: connect: network is unreachable
What can it be?

Can you do it in browser or similar? Error message seems to indicate a network problem. You cannot establish HTTPS connection

Closing until further information


this[variable] and this[stringLiteral] have different behavior

TypeScript Version:  3.3.0-dev.201xxxxx, --strictNullChecks, no other strict flags

Search Terms:
string literal types property access
Code
class X {
    x: number | undefined;

    constructor() {
        this.x = 5;
        // Type checks, this.x is `number`
        this.x.toString();
        // Type checks, this['x'] is `number`
        this['x'].toString();
        // Types `this[thing]` as `number | undefined`
        // and throws an error as "Object is possibly undefined"
        const thing: 'x' = 'x';
        this[thing].toString();
    }
}

Expected behavior:
this['x'] and const thing: 'x' = 'x'; this[thing] should resolve to the same thing.
Actual behavior:
const thing: 'x' = 'x'; this[thing] resolves to the base property type (number | undefined) without having the context that it's been assigned in the same block
Disclaimer: if you also use --strictPropertyInitialization Typescript does the correct thing and permits all three.
Playground Link:
http://www.typescriptlang.org/play/#src=class X {
    x%3A number | undefined%3B

    constructor() {
        this.x %3D 5%3B
        %2F%2F Type checks%2C x is `number`
        this.x.toString()%3B
        %2F%2F Type checks%2C x is `number`
        this['x'].toString()%3B
        let thing%3A 'x' %3D 'x'%3B
        %2F%2F Types `this[thing]` as `number | undefined`
        %2F%2F and throws an error as "Object is possibly undefined"
        this[thing].toString()%3B
    }
}

Related Issues:

Also happening in this example:
https://www.typescriptlang.org/play?#code/KYDwDg9gTgLgBAYwgOwM72MgrgWzgaWAE9U4BvAWACg5a4AxCCOAXjgCIAzJ9gGmrpwAQgEMorDgCMxfagF9qoSLDgwiYYHADKEHMADykgFbAE8NpRp0A2oRIA6RhAC6AfgBccdFACWyAOYA3AI2dqj2olBunmSSADYintg4ksBQcsFUClTU1AD0eXAA7gAWRHAAJhDApDAlPqRgUBAVWAiaIshwac1QrtRIaBgAbpgwAIyeOnqGJmYSZBmKo8gTtsThkc4L8Ylw40tUwCtrYRFizva7mXACd1QFcJJY8HUNldWkRdAA1v1Ug3Q3ROACYproDMZTOZyIdjmMQdZ2NIoOxthZdp4Dpl4atEciZJdrkA

I am running into the same problem and I see it is marked as bug. Is this something you would like to get fixed if someone were to provide a fix for it (doesn't seem to be too high on the priority list since it is open since 2018) , or is this something that can not be fixed because of some reason?


gitGraph support in mermaid

Hi, keep up the good work, I use this plugin everyday, and it makes me really more productive.
Problem
I cannot use gitGraph diagrams in advanced slides.
But it is already available in obsidian and core slide plugin.
Solution

Use a latest version of mermaidJs dependency (e.g. 9.1.7)
I've proposed a merge request to zjffun/reveal.js-mermaid-plugin which is the dependency used by this project to support mermaid.
If the MR is accepted, obsidian-advanced-slide could upgrade yarn dependencies

"reveal.js-mermaid-plugin": "^0.0.2" -> "reveal.js-mermaid-plugin": "^0.0.3",

Alternative

Use my own fork https://github.com/baldir-fr/reveal.js-mermaid-plugin

packaged on github packages

Update: Pull request was accepted
https://github.com/zjffun/reveal.js-mermaid-plugin/pull/1

will be implemented in next version


How to actually use this?

Hey. I've read your articles and everything I could find about SM. I don't still understand how to use this lib.
const record = ms.getInitialRecord(yesterday);
const updatedRecord = ms.calculate(1, record, today);

Specifically what are record and updatedRecord and how does one use them?

Well I went ahead and read the code, figured the point out and did what I needed in 4 lines :D Thanks for having this public.


add wav2vec2 models for issue #219

This issue request for two models:

"Wav2Vec 2.0 Large (LV-60) + Self Training"
"Wav2Vec 2.0 Large (LV-60 + CV + SWBD + FSH)"

Which are available now by -u wav2vec2_hug_large_lv60_self_training & -u wav2vec2_large_lv60_cv_swbd_fsh, respectively.

LGTM, Thanks!


Add CyrusOne to LF-Edge lanscape

Add logo and metadata for CyrusOne

run data centers, owned by Cincinnati Bell
Data Center management
Couldn't find a logo: https://cyrusone.com/app/uploads/2018/06/cyrusone-logo-color-sanstag-01.png
cat-
homepage_url: 'https://cyrusone.com/'
logo:
crunchbase: 'https://www.crunchbase.com/organization/CyrusOne'