GDScript deletes custom GDNative objects on change of scope.

Godot version:
3.1-stable
OS/device including version:
Windows 10
Working with two nested GDNative classes called by GDScript, the inner class is sometimes unexpectedly returned as a [Deleted Object]. This occurs appears to happen in a change of scope after modifying the object, unfortunately this interferes with creating objects in a loop.
Gdscrpt:
const ARRAY2D = preload("bin/grid.gdns")
const CELLSCRIPT = preload("bin/cell.gdns")

onready var next_state = ARRAY2D.new()

func _ready():
	next_state.init(ROWS, COLUMNS) # My custom setup function

	next_state.setCell(0, 0, CELLSCRIPT.new())
	var cell0 = next_state.getCell(0, 0)
	print("cell at 0 0 is ", cell0)
	print("height is ", cell0.height)

	next_state.setCell(0, 1, CELLSCRIPT.new())
	var cell1 = next_state.getCell(0, 1)
	print("cell at 0 1 is ", cell1)
	print("height is ", cell1.height)

	cell0 = next_state.getCell(0, 0)
	print("cell at 0 0 is ", cell0)
	print("height is ", cell0.height)

	for i in range(2):
		# Sets the same cells as above
		next_state.setCell(0, i, CELLSCRIPT.new())

	cell0 = next_state.getCell(0, 0)
	print("cell at 0 0 is ", cell0)
	print("height is ", cell0.height)

Output:
cell at 0 0 is [Reference:1152]
height is 0
cell at 0 1 is [Reference:1153]
height is 0
cell at 0 0 is [Reference:1152]
height is 0
cell at 0 0 is [Deleted Object]

The game then crashes with error message:
"Invalid get index 'height' (on base: 'previously freed instance')."
C++:
void Grid::setCell(int x, int y, Cell *val)
{
	grid[x][y] = *val;
}

Cell *Grid::getCell(int x, int y)
{
	Cell *v = &(grid[x][y]);
	return v;
}

I'm not completely confident about these functions, as I'm new to C++ and I've been unable to find much documentation on GDNative. I've also tried returning a Ref<Cell> from getCell(), and the issue remains.

Ran it in debug mode, here's the backtrace:
[0] Variant::reference (C:\Users\Aidan\Downloads\godot-master\godot-master\core\variant.cpp:915)
[1] Variant::reference (C:\Users\Aidan\Downloads\godot-master\godot-master\core\variant.cpp:915)
[2] Variant::Variant (C:\Users\Aidan\Downloads\godot-master\godot-master\core\variant.cpp:2664)
[3] godot_variant_new_copy (C:\Users\Aidan\Downloads\godot-master\godot-master\modules\gdnative\gdnative\variant.cpp:66)
[4] godot::Variant::Variant (C:\Users\Aidan\Documents\Fun Stuff\Godot\gdnative_cpp_example\godot-cpp\src\core\Variant.cpp:20)
[5] godot::_WrappedMethod<godot::Grid,godot::Ref<godot::Cell>,int,int,float>::apply<0,1,2> (C:\Users\Aidan\Documents\Fun Stuff\Godot\Cells d2\godot-cpp\include\core\Godot.hpp:183)
[6] godot::__wrapped_method<godot::Grid,godot::Ref<godot::Cell>,int,int,float> (C:\Users\Aidan\Documents\Fun Stuff\Godot\Cells d2\godot-cpp\include\core\Godot.hpp:210)
[7] NativeScriptInstance::call (C:\Users\Aidan\Downloads\godot-master\godot-master\modules\gdnative\nativescript\nativescript.cpp:719)
[8] Object::call (C:\Users\Aidan\Downloads\godot-master\godot-master\core\object.cpp:912)
[9] Variant::call_ptr (C:\Users\Aidan\Downloads\godot-master\godot-master\core\variant_call.cpp:1074)
[10] GDScriptFunction::call (C:\Users\Aidan\Downloads\godot-master\godot-master\modules\gdscript\gdscript_function.cpp:1079)
[11] GDScriptInstance::call_multilevel (C:\Users\Aidan\Downloads\godot-master\godot-master\modules\gdscript\gdscript.cpp:1180)
[12] Node::_notification (C:\Users\Aidan\Downloads\godot-master\godot-master\scene\main\node.cpp:60)
[13] Node::_notificationv (C:\Users\Aidan\Downloads\godot-master\godot-master\scene\main\node.h:46)
[14] CanvasItem::_notificationv (C:\Users\Aidan\Downloads\godot-master\godot-master\scene\2d\canvas_item.h:166)
[15] Control::_notificationv (C:\Users\Aidan\Downloads\godot-master\godot-master\scene\gui\control.h:51)
[16] Object::notification (C:\Users\Aidan\Downloads\godot-master\godot-master\core\object.cpp:945)
[17] SceneTree::_notify_group_pause (C:\Users\Aidan\Downloads\godot-master\godot-master\scene\main\scene_tree.cpp:959)
[18] SceneTree::idle (C:\Users\Aidan\Downloads\godot-master\godot-master\scene\main\scene_tree.cpp:515)
[19] Main::iteration (C:\Users\Aidan\Downloads\godot-master\godot-master\main\main.cpp:1920)
[20] OS_Windows::run (C:\Users\Aidan\Downloads\godot-master\godot-master\platform\windows\os_windows.cpp:3010)
[21] widechar_main (C:\Users\Aidan\Downloads\godot-master\godot-master\platform\windows\godot_windows.cpp:162)
[22] _main (C:\Users\Aidan\Downloads\godot-master\godot-master\platform\windows\godot_windows.cpp:184)
[23] main (C:\Users\Aidan\Downloads\godot-master\godot-master\platform\windows\godot_windows.cpp:196)
[24] __scrt_common_main_seh (d:\agent\_work\2\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288)
[25] BaseThreadInitThunk
-- END OF BACKTRACE --

Looks like the GDNative code is not hanging to the reference, so when GDScript releases after going out of scope (which is the correct behavior) the reference counter reaches zero and frees the object.
Not sure if this is a problem in the bindings or your code. But I do think you should send and receive Ref<Cell> to/from the C++ functions. The raw pointer doesn't really increase the reference counter.


Faker has a small probability to generate NULL values for columns with a zero null rate

This is because in FlinkFakerSourceFunction#generateNextRow we have the following code:
float fieldNullRate = fieldNullRates[i];
if (rand.nextFloat() > fieldNullRate) {
  String value = faker.expression(fieldExpressions[i]);
  row.setField(i, FakerUtils.stringValueToType(value, typeRoot));
} else {
  row.setField(i, null);
}

It should be rand.nextFloat() >= fieldNullRate as rand.nextFloat() generates a value in [0, 1), so it is possible for a column with zero null rate to generate a null value.
Use this following test code to verify what I have said.
import java.util.Random;

public class Test {
	public static void main(String[] args) {
		Random random = new Random();
		while (random.nextFloat() > 0.0f);
		System.out.println("!!!\n");
	}
}

The code will exit shortly and prints out !!!.

Thanks. Would you like to provide a fix yourself?

I'd love to. I will fix this tomorrow.


How to connect to SAP HANA using Data Provider for Microsoft .NET

Running "Demo Setup" against HANA 2 Express SPS01 in Visual Studio 2015 The connection string needs to point to port 39013 and not 30015.
Hard to find...

Thanks for your feedback. We are improving the tutorials and will take your comments into consideration when making the updates.


[BUG] Website should accept commas in lat and long

See Discussion #3159
https://github.com/thomasjacquin/allsky/discussions/3159#discussioncomment-7769272

Fixed in next major release.


Upgrade notes to OpenSpout

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 97.27%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
2387

Relevant Lines:
2454

💛  - Coveralls


[Bugs] UPF cannot handle GTP packets

Describe the bug
UPF always outputs "Error handling UP socket" when UPF receives GTP packet.
In free5gc v3.0.3's TestRegistration, UPF returns ICMP Echo Reply in GTP.
But in free5gc v3.0.4' TestRegistration, UPF does not return ICMP Echo Reply in GTP.
To Reproduce

edit upfcfg.test.yaml

vi ~/free5gc/src/upf/build/config/upfcfg.test.yaml

change debugLevel to trace.

-  debugLevel: info
+  debugLevel: trace

run ./test.sh TestRegistration

$ cd ~/free5gc
$ ./test.sh TestRegistration

check error in upf.log

$ grep Error ~/free5gc/log/nf/upf.log
time="2020-10-08T15:22:10+09:00" level=debug msg="Error handling UP socket" category=Util component=UPF

Expected behavior
UPF handle GTP packets correctly.
Environment (please complete the following information):

free5GC Version: v3.0.4
OS: Ubuntu 18.04.1
Kernel version: 5.0.0-23-generic
go version: 1.14.4 linux/amd64

In the above post, gtp5g kernel module was v0.1.0.
After replacing gtp5g kernel module to v0.2.0,
free5gc v3.0.4's UPF returns ICMP Echo Reply in GTP.


Feature: Add indicator on add item

Add indicator to signal that item was added sucessfully

Fixed in https://github.com/maxxonair/inventory/commit/0ec7f671b2d735f4662b4333e8e1e24ad12af232


Bad String interpolation error: dart.core::String can't be assigned to variable of type dart.core::bool

Unable to spawn isolate: lib/src/gui_settings.dart:19:30: Error: A value of type 'dart.core::String' can't be assigned to a variable of type 'dart.core::bool'.
Try changing the type of the left hand side, or casting the right hand side to 'dart.core::bool'.
      "  Time Display:     ${twentyFourHourTime ? "24-hour" : "12-hour"}\n"

bool ? String : String should be 100% OK.

Dart SDK Version (dart --version)
2.0.0-dev.64.1

Whether you are using Windows, MacOSX, or Linux (if applicable)
Linux

Whether you are using Chrome, Safari, Firefox, Edge (if applicable)
dartvm

Ignore this report. I dug deeper and what appeared to be a "bool" was typed as String.


Add safeurl

Add SafeUrl compatibility for easy piping.

Actually one issue with it found during testing. Adding a commit to fix it soon.

It does irk me a tiny bit that null is a listed type for thumbimage since it's mandatory for the library to do anything. But I think the convenience of it outweighs it.


Error referencing environ with Linux SDK

I created a test project using the template and tried cross compiling for Linux using the latest release versions of swift and the static SDK. I get an error that environ is not concurrency-safe in Sources/Hummingbird/Environment line 111.
% git clone https://github.com/hummingbird-project/template
% ./template/configure.sh Hummer
% cd Hummer
% swift build --swift-sdk x86_64-swift-linux-musl
/.../Hummer/.build/checkouts/hummingbird/Sources/Hummingbird/Environment.swift:111:26: error: reference to var 'environ' is not concurrency-safe because it involves shared mutable state
I tried changing the package's tools version to swift 5.9, but got the same result. The environ variable is defined in Darwin so I'm not sure how to proceed here. It compiles fun under macOS but not Linux.
swift toolchain org.swift.6010202409231a (version 6.0.1)
linux sdk swift-6.0.1-RELEASE_static-linux-0.0.1
hummingbird 2.0.1
First posted as a discussion

Ah I meant create an issue in swiftlang/swift. The treatment of environ is inconsistent between glibc and musl.

I haven't had this issue interestingly enough. Even with the same SDK and toolchain

Last time I tried with swift 6 it couldn't find the internal version of collections used by foundation. Maybe they fixed that with 6.0.1

The newest release fixes the issue with missing _FoundationCollections. What I found was a different issue. Would love to know if I'm just doing it wrong, but I'm just building the template with no changes.


Fix area of possible NPE in response mapping interceptor for the java client

It was reported that sometimes if the server or proxy (e.g. ELB) returned an error response without a body that a NPE could be thrown out of the response mapper instead of the expected GenieClientException. This PR should fix that issue.

Coverage increased (+0.1%) to 88.662% when pulling 7759b4327e5c9ca0b86c5a30df9ffed62009042c on tgianos:fixBodyMappingNPE into f6205460ffe8508a7978695e0ca6efeb080d666d on Netflix:3.2.x.


replaceMentionValues mixup name and id

Following the documentation, this code should work
console.log(replaceMentionValues(value, ({id}) => @${id})); // Hello @5! How are you?
But it returns // Hello @David ! How are you?
v2.0.1

Thanks for your feedback!
Are you sure you used v2.0.1? Because actually, that bug was present in v2.0.0 and fixed in v.2.0.1.

Thanks for your feedback!
Are you sure you used v2.0.1? Because actually, that bug was present in v2.0.0 and fixed in v.2.0.1.

Sorry my bad. When I saw that you have fixed the bug I have upgraded to 2.0.1, deleted the 2.0.0 and restart Metro. But as usual with Metro, it was somewhere in the cache. I had to change manually the src files in node_module in order to get the cache refreshed. Thanks for you quick answer @dabakovich and Bravo for this really useful component. I close the ticket.

Sorry my bad. When I saw that you have fixed the bug I have upgraded to 2.0.1, deleted the 2.0.0 and restart Metro. But as usual with Metro, it was somewhere in the cache. I had to change manually the src files in node_module in order to get the cache refreshed. Thanks for you quick answer @dabakovich and Bravo for this really useful component. I close the ticket.


[Part1 of softshutdown fix]: Fix softshutdown failing and not retrying

If the teleport fails the script doesn't attempt to re-teleport the user leading to them being stuck.

Part1 - Fix softshutdown not retrying on failure
Part2 - Switch softshutdown (and maybe other teleports) to TeleportService:TeleportAsync
Part3 - Add loading screen for softshutdown servers

Serverlock the server on command ran

both this and "serverlocking the server" kind of defeats the purpose of a softshutdown. an user could just go thru multiple shutdown loops (if sent to the same server, which would be harder to do) or be kicked (defeating the whole point of a 'soft' shutdown).

both this kind of defeats the purpose of a softshutdown. an user could just go thru multiple shutdown loops (if sent to the same server, which would be harder to do) or be kicked (defeating the whole point of a 'soft' shutdown).

How would this make it more likely?
I think what you meant is that if a user gets stuck in a teleport loop an error could occur on theory which would stop the loop. That seems like a very bad way to solve an issue with a bug, rather than fixing an actual bug that impacts servers.


DevSpace CLI stuck at project initialization step

What happened?
I followed the getting started tutorial to initialize the quick-start python project.
When I do devspace init and choose the option Use the Dockerfile in ./Dockerfile, the CLI stuck at this step.

What did you expect to happen instead?
How can we reproduce the bug? (as minimally and precisely as possible)
Install CLI using Linux bash.
Follow the official instruction to initialize the quick-start python project.
Local Environment:

DevSpace Version: devspace version 4.14.0
Operating System: ubuntu 20.04 LTS
Deployment method: -

Kubernetes Cluster:

Cloud Provider: -
Kubernetes Version: Client Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.6" }

Anything else we need to know?

/kind bug

@tingkai-zhang thanks for opening this issue! This is either caused by docker or kubectl hanging, can you check if either of the following commands is hanging for you:
docker images

or
kubectl get ns

@tingkai-zhang thanks for opening this issue! This is either caused by docker or kubectl hanging, can you check if one of the following commands is hanging for you:
docker images

or
kubectl get ns

Hi @FabianKramm ! Thanks for replying.
None of these two commands is hanging. They all correctly returned the k8s namespaces and docker images.
What else information can I provide for you to investigate this issue?

@tingkai-zhang thanks for the additional information! Mhh thats odd, usually it is one of the two commands. Do you have minikube installed by any chance and the current kubernetes context points to that? Could be that the minikube docker daemon is hanging.
What kind of kubernetes cluster are you using?

@tingkai-zhang thanks for the additional information! Mhh thats odd, usually it is one of the two commands. Do you have minikube installed by any chance and the current kubernetes context points to that? Could be that the minikube docker daemon is hanging.
What kind of kubernetes cluster are you using?

@FabianKramm  I don't have minikube installed.
I ran a 3-node K8s cluster on bare metal machines. The current context points to that cluster.

@tingkai-zhang okay, could you try with v5.0.0 and see if that makes any difference, there were some changes to the init process

@tingkai-zhang okay, could you try with v5.0.0 and see if that makes any difference, there were some changes to the init process

Just upgraded devspace and tried it out. Still stuck at the use Dockerfile ... step.
Is there a log file generated during init process that I can provide you?

ah sorry, I should've put WSL2 in the system info. The WSL2 distro is Ubuntu 20.04 LTS.
So I think the problem has something to do with WSL2.
Did anyone experience this before and could provide some thoughts on this?

@tingkai-zhang I just tried to reproduce this with our golang quickstart project, WSL2 Ubuntu 20.04 on Windows 10 64 bit and it runs through for me. It's a clean WSL2 Ubuntu instance. Hard to tell what's going wrong.
While we try to find the cause of this issue, you can still use devspace by just manually creating a devspace.yaml because that is essentially everything that devspace init does in the end. Here is an example for the quickstart-golang project with a couple of annotations for you:
version: v1beta9
images:
  app:
    image: DOCKER_HUB_USERNAME/quickstartgolang               # or use gcr.io, ecr or any other private registry you want to push to
    preferSyncOverRebuild: true
    injectRestartHelper: true
    appendDockerfileInstructions:
    - USER root
    build:
      docker:
        options:
          target: build
deployments:
- name: quickstart-golang # feel free to rename this
  helm:
    componentChart: true
    values:
      containers:
      - image: DOCKER_HUB_USERNAME/quickstartgolang          # use the same image here as above
      service:
        ports:
        - port: 8080                                                                          # use the port of your application here
dev:
  ports:
  - imageName: app
    forward:
    - port: 8080                                                                              # use the port of your application here
  open:
  - url: http://localhost:8080                                                         # use the port of your application here
  sync:
  - imageName: app
    excludePaths:
    - .git/
    uploadExcludePaths:
    - Dockerfile
    - devspace.yaml
    onUpload:
      restartContainer: true
profiles:
- name: production
  patches:
  - op: remove
    path: images.app.injectRestartHelper
  - op: remove
    path: images.app.appendDockerfileInstructions
  - op: remove
    path: images.app.build.docker.options.target

That should at least get you started without having to wait until we find a way to reproduce this issue. I hope that helps.

Thank you! I will start from there.

Hi, @FabianKramm @LukasGentele , thanks for helping me out. I have new findings.
After skipping init step and continue on, I surely failed due to not logging into dokcerhub when I did devspace dev. Then I do sudo docker login because docker login will remain hanging. This reminds me of the devspace hanging error.
So I reinstalled devspace to /user/bin, then in the quickstart folder: sudo devspcae init
It successfully created a yaml file.
Then continue on to devspace dev, it will hang at the step Creating image pull secret for registry: hub.docker.com:
[info]   Using kube context 'st-louis'
[info]   Using namespace 'devspace_demo'
[done] √ Created namespace: devspace_demo
[wait] - Creating image pull secret for registry: hub.docker.com (71s)

I hope such information could be helpful for you to find the cause of the hanging problem on my local system (WSL2 Ubuntu 20.04 on Windows10 64bit). Please let me know what else I can provide.
Thanks!

@tingkai-zhang That sounds like a reasonable explanation. Thanks for following up on this. Unfortunately, DevSpace needs to be able to call docker without sudo OR you will need to run every devspace command as sudo devspace ... as well. Would you mind checking these two options to see if either one of them fixes your issues? If yes, I would add a note regarding this to the docs as well.

After talking to Lukas, I was able to make devspace to work by deleting ~/.docker/config on my WSL2 Ubuntu.
Thanks for all the help.


Compatibility with Vercel

Bug description
The python client is apparently not working correctly with vercel. Upon deployment, the software complains about not being deployed despite having issued the commands.
The repository I am using is https://github.com/miquelmassot/remote_awareness_web_server.
How to reproduce

Clone, enter the venv of remote_awareness_web_server and npm install.
Generate the prisma client

05:01:09 (venv) miquel@angler remote_awareness_web_server ±|main ✗|→ prisma generate
Environment variables loaded from .env
Prisma schema loaded from prisma/schema.prisma

✔ Generated Prisma Client Python (v0.8.0) to ./venv/lib/python3.10/site-packages/prisma in 137ms

Push the DB

05:01:14 (venv) miquel@angler remote_awareness_web_server ±|main ✗|→ prisma db push
Environment variables loaded from .env
Prisma schema loaded from prisma/schema.prisma
Datasource "db": PostgreSQL database "postgres", schema "public" at "db.phjashzcpxcmghjzfswm.supabase.co:5432"

The database is already in sync with the Prisma schema.

✔ Generated Prisma Client Python (v0.8.0) to ./venv/lib/python3.10/site-packages/prisma in 139ms

Deploy the website with vercel.

05:01:23 (venv) miquel@angler remote_awareness_web_server ±|main ✗|→ vercel dev
Vercel CLI 28.15.3
> Ready! Available at http://localhost:3000
> Building @vercel/python@latest:api/index.py
Installing required dependencies...
> Built @vercel/python@latest:api/index.py [33s]
Traceback (most recent call last):
  File "/home/miquel/.cache/com.vercel.fun/runtimes/python3/../python/bootstrap.py", line 147, in <module>
    lambda_runtime_main()
  File "/home/miquel/.cache/com.vercel.fun/runtimes/python3/../python/bootstrap.py", line 127, in lambda_runtime_main
    fn = lambda_runtime_get_handler()
  File "/home/miquel/.cache/com.vercel.fun/runtimes/python3/../python/bootstrap.py", line 113, in lambda_runtime_get_handler
    mod = importlib.import_module(module_name)
  File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/tmp/zeit-fun-3ff47dfcd078a/vc__handler__python.py", line 13, in <module>
    __vc_spec.loader.exec_module(__vc_module)
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/tmp/zeit-fun-3ff47dfcd078a/./api/index.py", line 6, in <module>
    from prisma import Prisma, register
  File "<frozen importlib._bootstrap>", line 1075, in _handle_fromlist
  File "/tmp/zeit-fun-3ff47dfcd078a/prisma/__init__.py", line 43, in __getattr__
    raise RuntimeError(
RuntimeError: The Client hasn't been generated yet, you must run `prisma generate` before you can use the client.
See https://prisma-client-py.readthedocs.io/en/stable/reference/troubleshooting/#client-has-not-been-generated-yet
TypeError: Object prototype may only be an Object or null: undefined
    at Function.setPrototypeOf (<anonymous>)
    at new LambdaError (/usr/local/lib/node_modules/vercel/dist/index.js:8624:16)
    at Lambda.<anonymous> (/usr/local/lib/node_modules/vercel/dist/index.js:8757:27)
    at Generator.next (<anonymous>)
    at fulfilled (/usr/local/lib/node_modules/vercel/dist/index.js:8671:58)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
Traceback (most recent call last):
  File "/home/miquel/.cache/com.vercel.fun/runtimes/python3/../python/bootstrap.py", line 147, in <module>
    lambda_runtime_main()
  File "/home/miquel/.cache/com.vercel.fun/runtimes/python3/../python/bootstrap.py", line 127, in lambda_runtime_main
    fn = lambda_runtime_get_handler()
  File "/home/miquel/.cache/com.vercel.fun/runtimes/python3/../python/bootstrap.py", line 113, in lambda_runtime_get_handler
    mod = importlib.import_module(module_name)
  File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/tmp/zeit-fun-3ff47dfcd078a/vc__handler__python.py", line 13, in <module>
    __vc_spec.loader.exec_module(__vc_module)
  File "<frozen importlib._bootstrap_external>", line 883, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "/tmp/zeit-fun-3ff47dfcd078a/./api/index.py", line 6, in <module>
    from prisma import Prisma, register
  File "<frozen importlib._bootstrap>", line 1075, in _handle_fromlist
  File "/tmp/zeit-fun-3ff47dfcd078a/prisma/__init__.py", line 43, in __getattr__
    raise RuntimeError(
RuntimeError: The Client hasn't been generated yet, you must run `prisma generate` before you can use the client.
See https://prisma-client-py.readthedocs.io/en/stable/reference/troubleshooting/#client-has-not-been-generated-yet
TypeError: Object prototype may only be an Object or null: undefined
    at Function.setPrototypeOf (<anonymous>)
    at new LambdaError (/usr/local/lib/node_modules/vercel/dist/index.js:8624:16)
    at Lambda.<anonymous> (/usr/local/lib/node_modules/vercel/dist/index.js:8757:27)
    at Generator.next (<anonymous>)
    at fulfilled (/usr/local/lib/node_modules/vercel/dist/index.js:8671:58)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)

Expected behavior
Deployment to work straightaway.
Prisma information

// schema.prisma
datasource db {
  provider = "postgresql"
  url      = env("DATABASE_URL")
}

generator py {
  provider             = "prisma-client-py"
  interface            = "sync"
  recursive_type_depth = 5
}

model Message {
  id          Int       @id @default(autoincrement())
  content     Bytes
  platform    Platform? @relation(fields: [platform_id], references: [id])
  platform_id Int?
  image       Image?    @relation(fields: [image_id], references: [id])
  image_id    Int?
  created_at  DateTime  @default(now())
}

model Image {
  id           Int       @id @default(autoincrement())
  timestamp    DateTime
  latitude     Float
  longitude    Float
  latent_space Float[]
  platform     Platform  @relation(fields: [platform_id], references: [id])
  platform_id  Int
  data         Bytes?
  Message      Message[]
}

model Platform {
  id         Int       @id @default(autoincrement())
  name       String?
  created_at DateTime  @default(now())
  updated_at DateTime  @updatedAt
  messages   Message[]
  images     Image[]
}

Environment & setup

OS: Ubuntu 22.04
Database: PostgreSQL
Python version: 3.10.6
Prisma version:

prisma                  : 4.8.0
prisma client python    : 0.8.0
platform                : debian-openssl-1.1.x
expected engine version : d6e67a83f971b175a593ccc12e15c4a757f93ffe
install path            : /home/miquel/git/remote_awareness_web_server/venv/lib/python3.10/site-packages/prisma
installed extras        : []

I suspect this issue is something to do with how Vercel bundles Python packages. I'm not familiar with what they do under the hood.
What is in the tmp/zeit-fun-3ff47dfcd078a/prisma/ directory?

I'd also recommend trying generating to a local directory to see how Vercel handles that, for example:
generator py {
  provider = "prisma-client-py"
  output = "prisma"
}

was there any fix that worked for this? I have the same exact issue here

i have the same issue and when i tried to execute python scripts on vercel i couldn't do it and found this issue
https://github.com/vercel/next.js/discussions/46223#discussion-4884240
vercel just don t put any python runtime on their server

I currently have this vercel error when trying to do prisma generate before build


Fix Zoom

Cannot See colleges at current zoom level

https://github.com/yorkpirates/Assessment-2-Game/pull/80/files
fixed


Select with multiple property

I am trying to use the select component of material-ui with the property multiple.
However this gives the error:
value should be a array.
Did somebody got this working / an example how it should be done?

@Laityned this does work, there is an example in the codesandbox.
its likely your initial values is not an empty array ([])


new feature suggestion

Is your feature request related to a problem? Please describe.

Describe the solution you'd like:

Describe alternatives you've considered:

Additional context:

please make the output in the center of editor and the html code bellow it just like with xaml and the output preview in wpf

please make the output in the center and the html code bellow it just like with xaml and the output preview in wpf


Visual discrepancy when using scenery's fitInto in conjunction with ops

This isn't an issue, but I wanted to document this somewhere.
If you do something like:
msh.fitInto( 15.0f, true );

Then call an op like convex hull on msh
The convex hull will not look like a convex hull. This is because fitInto only alters the rendering, not the underlying mesh.

I think the underlying question is how scenery and imagej-meshes should interact.

When you convert from scenery->imagej should it scale the vertices? Such that the imagej-mesh matches what you see.
Should the scale somehow be inherited in child operations? I can see how this would work for a convex hull, but this wouldn't work for imagej-ops measurement methods.


Feature/tidy

Update requirements and tidy everything

Current coverage is 100% (diff: 100%)

Merging #17 into master will not change coverage

@@           master   #17   diff @@
===================================
  Files          13    13
  Lines         481   481
  Methods         0     0
  Messages        0     0
  Branches        0     0
===================================
  Hits          481   481
  Misses          0     0
  Partials        0     0

Powered by Codecov. Last update 5b4cecc...43f45f1

Coverage remained the same at 100.0% when pulling 43f45f17c4eff98e3e95b87dbc266a71b3d0a7b7 on feature/tidy into 5b4cecc1b31c6fd535358813f5583cff60fb1b8f on master.

Coverage remained the same at 100.0% when pulling 2dc55006cf76c407556121e4de620742843232ee on feature/tidy into 5b4cecc1b31c6fd535358813f5583cff60fb1b8f on master.

Coverage remained the same at 100.0% when pulling 2dc55006cf76c407556121e4de620742843232ee on feature/tidy into 5b4cecc1b31c6fd535358813f5583cff60fb1b8f on master.


"Setup IBM Granite Code" screen didn't show instructions about how to install Ollama in VS Code Editor on Dev Sandbox

Granite Code AI-Assistant extension v0.0.1 displayed "Setup IBM Granite Code" screen without instructions about how to install Ollama in VS Code Editor on Dev Sandbox:

Steps to reproduce

Download https://github.com/redhat-developer/vscode-granite/releases/download/latest/vscode-granite-0.0.1.vsix
Go to Dev Sandbox, open Dev Space.
Go to "User Dashboard > Create workspace" page and start Empty workspace
Wait on VS Code Editor to open, and install Granite Code AI-Assistant extension from the local vscode-granite-0.0.1.vsix file.
Wait on Granite Code AI-Assistant extension  to be installed and "Setup IBM Granite Code" page is opened.

Expected result
"Setup IBM Granite Code" page shows instructions how to install Ollama server.
Actual result
"Setup IBM Granite Code" page didn't show instructions about how to install Ollama server.
There was an error shown in the Extension Host (Remote) Output:
`2024-10-08 13:03:44.129 [error] Error: Command "which brew" failed with exit code "1".
	at ChildProcess.<anonymous> (/checode/remote/extensions/redhat.vscode-granite-0.0.1/dist/extension.js:21:38610)
	at ChildProcess.emit (node:events:519:28)
	at maybeClose (node:internal/child_process:1105:16)
	at Socket.<anonymous> (node:internal/child_process:457:11)
	at Socket.emit (node:events:519:28)
	at Pipe.<anonymous> (node:net:339:12)

@dmytro-ndp can you try the latest build from https://github.com/redhat-developer/vscode-granite/releases/tag/latest?

@fbricon : I tried latest build with Java Lombok sample on Devevloper Sandbox, and it worked:

Few notes:

it was not clear how to reopen "Setup IBM Granite Code as your code assistant with Continue" page

"Install from script" scenario required sudo rights which were not achievable in the Developer Sandbox workspace out of the box, if I understood it correctly (@ibuziuk cc).

I tried latest build of extension with Java Lombok sample on Devevloper Sandbox, and it worked: ![Screenshot from 2024-1

it was not clear how to reopen "Setup IBM Granite Code as your code assistant with Continue" page

we'll add some instructions on the wizard about the "Granite: Setup Granite Code as code assistant" command, available from the command palette

"Install from script" scenario required sudo rights which were not achievable in the Developer Sandbox workspace when using default UBI image, if I understood it correctly (@ibuziuk cc).

this is ollama's own install script. Could you maybe provide one that is specific to Dev Sandbox?

@fbricon : thank you for heads up!
About:

"Install from script" scenario required sudo rights which were not achievable in the Developer Sandbox workspace when using default UBI image, if I understood it correctly (@ibuziuk cc).

this is ollama's own install script. Could you maybe provide one that is specific to Dev Sandbox?

There is no script, but devfile.yaml developed by @ibuziuk : https://github.com/redhat-developer-demos/cde-ollama-continue/blob/main/devfile.yaml
Documentation : https://developers.redhat.com/articles/2024/08/12/integrate-private-ai-coding-assistant-ollama?source=sso#start_the_cloud_development_environment


Appstudio update test-component-pac-owfa

Pipelines as Code configuration proposal

Pipelines as Code CI/test-component-pac-owfa-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
5 seconds
init

✅ Succeeded
14 seconds
clone-repository

✅ Succeeded
30 seconds
build-container

✅ Succeeded
11 seconds
deprecated-base-image-check

✅ Succeeded
12 seconds
inspect-image

✅ Succeeded
33 seconds
clamav-scan

✅ Succeeded
8 seconds
clair-scan

✅ Succeeded
9 seconds
sbom-json-check

✅ Succeeded
11 seconds
label-check

✅ Succeeded
10 seconds
optional-label-check

✅ Succeeded
5 seconds
show-sbom

✅ Succeeded
6 seconds
show-summary


3.10.0 broke at least the Bear project

https://github.com/rizsotto/Bear
[ 73% 54/61] Building CXX object citnames/CMakeFiles/citnames_json_a.dir/source/Output.cc.o
FAILED: citnames/CMakeFiles/citnames_json_a.dir/source/Output.cc.o
/usr/bin/c++ -DFMT_SHARED -DJSON_DIAGNOSTICS=0 -DJSON_USE_IMPLICIT_CONVERSIONS=1 -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -DSPDLOG_SHARED_LIB -I. -I/wrkdirs/usr/ports/devel/bear/work/Bear-3.0.13/source/libresult/include -I/wrkdirs/usr/ports/devel/bear/work/Bear-3.0.13/source/libshell/include -I/wrkdirs/usr/ports/devel/bear/work/Bear-3.0.13/source/libsys/include -isystem /usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -fno-exceptions -DSPDLOG_NO_EXCEPTIONS -DGOOGLE_PROTOBUF_NO_RTTI -Wall -Wextra -O3 -DNDEBUG -fexceptions -std=c++17 -MD -MT citnames/CMakeFiles/citnames_json_a.dir/source/Output.cc.o -MF citnames/CMakeFiles/citnames_json_a.dir/source/Output.cc.o.d -o citnames/CMakeFiles/citnames_json_a.dir/source/Output.cc.o -c /wrkdirs/usr/ports/devel/bear/work/Bear-3.0.13/source/citnames/source/Output.cc
/wrkdirs/usr/ports/devel/bear/work/Bear-3.0.13/source/citnames/source/Output.cc:187:19: error: no matching function for call to 'create'
            throw nlohmann::json::out_of_range::create(403, "key 'command' or 'arguments' not found");
                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/include/nlohmann/detail/exceptions.hpp:379:25: note: candidate function template not viable: requires 3 arguments, but 2 were provided
    static out_of_range create(int id_, const std::string& what_arg, const BasicJsonType& context)
                        ^
1 error generated.

The function out_of_range::create is part of the was never meant to be called by client code, but is an internal helper function for the library to create exceptions.
Its signature was changed to realize the newly introduced extended diagnostics and now requires a third parameter context which can be used to derived a JSON Pointer from. In most cases, this is a JSON value that can help the user to better locate the exception. In case such a value does not exist, pass json() as a default value.
I am sorry for the inconvenience.

Ok, thanks.


raidboss: add more p8s triggers

This needs to be cleaned up a little bit more, but I should be able to land this tomorrow.


K8SPXC-607 enable libcoredumper for PXCO

 ❨?❩

Test name
Status

big-data
passed

storage
passed

recreate
passed

scaling
passed

upgrade-haproxy
passed

haproxy
passed

scaling-proxysql
passed

self-healing
passed

init-deploy
passed

security-context
passed

upgrade-proxysql
passed

restore-to-encrypted-cluster
passed

self-healing-advanced
passed

limits
passed

smart-update
passed

monitoring-2-0
passed

demand-backup
passed

affinity
passed

operator-self-healing
passed

one-pod
passed

auto-tuning
passed

proxysql-sidecar-res-limits
passed

pitr
passed

users
passed

upgrade-consistency
passed

demand-backup-encrypted-with-tls
passed

tls-issue-self
passed

tls-issue-cert-manager
passed

tls-issue-cert-manager-ref
passed

validation-hook
passed

scheduled-backup
failed

Test name
Status

big-data
passed

storage
passed

recreate
passed

scaling
passed

upgrade-haproxy
passed

haproxy
passed

scaling-proxysql
passed

self-healing
passed

init-deploy
passed

security-context
passed

upgrade-proxysql
passed

restore-to-encrypted-cluster
passed

self-healing-advanced
passed

limits
passed

smart-update
passed

monitoring-2-0
passed

demand-backup
passed

affinity
passed

operator-self-healing
passed

one-pod
passed

auto-tuning
passed

proxysql-sidecar-res-limits
passed

pitr
passed

users
passed

upgrade-consistency
passed

demand-backup-encrypted-with-tls
passed

tls-issue-self
passed

tls-issue-cert-manager
passed

tls-issue-cert-manager-ref
passed

validation-hook
passed

scheduled-backup
failed


[GolemBridge] fixed embedded youtube videos

embedded youtube-videos can be played directly from feed now

the german error message says that feed is being generated and is giving 503.
maybe they have some long-running process that takes ages to complete.


Spi device flash status tb fix

This PR includes a few spi_device TB changes related to flash_status modelling:

spi_monitor: seq_item events aren't triggered if in TPM mode since flash_status only updates during flash transactions
spi_device_intercept_vseq: Leaving 'two_writes' case out since after chatting with Alex it's not correct SW operation to send two separate flash_status writes. Nonetheless,  leaving the code in there for when the time for coverage closure comes, since in theory the RTL supports a pair of writes in the following manner: 1st - set upper flash_status bits, 2nd - clear WEL/BUSY bits.
spi_device_pass_base_seq: 'clear_flash_busy_bit' didn't take into consideration the RTL may clear busy/wel bits on TL-UL a-channel completion. However, it can happen the D-channel may be back-pressured and the 'csr_update' function comes back after TL-UL handshake completion. By the time 'csr_update' returns there could have been other flash commands which set the busy bit again.
spi_device_env_cfg: new Flag set by SCB on flash command.
spi_device_scoreboard: The scoreboard now takes hints of the flash_status values committed in the RTL, rather than trying to predict when a specific flash_status value would have crossed CDC boundaries

I've not squash all the commits because I figured they'd make more sense like this, but happy to squash them if you think that's best!

spi_device_intercept_vseq: Leaving 'two_writes' case out since after chatting with Alex it's not correct SW operation to send two separate flash_status writes. Nonetheless, leaving the code in there for when the time for coverage closure comes, since in theory the RTL supports a pair of writes in the following manner: 1st - set upper flash_status bits, 2nd - clear WEL/BUSY bits.

Yeah, the RTL would support it, but to avoid confusion with the timing of when those writes will be absorbed and avoid the interface complexity of trying to manage the FIFO, we should tell SW users that they should perform a single write. If it's split into two, the host may end up needing to send one more SPI command to bring the second write across, depending on the timing. It's also desirable from a host visibility standpoint to update the registers atomically, so operation completion is synchronous with bit update.


FIP no longer appearing with 4.0.27

Last week, we noticed a few of our applications in production are no longer displaying the FIP/Canada logo.
The browser console displays the following errors:

Refused to display 'https://www.canada.ca/etc/designs/canada/cdts/gcweb/v4_0_27/assets/wmms-blk.svg' in a frame because it set 'X-Frame-Options' to 'sameorigin'.
Refused to display 'https://www.canada.ca/etc/designs/canada/cdts/gcweb/v4_0_27/assets/sig-blk-en.svg' in a frame because it set 'X-Frame-Options' to 'sameorigin'.

Switching to 4_0_30 corrects the issue, but causes UI layout issues, so it's not a viable option.
For reference, here is the code we use in our web.config:
<GoC.WebTemplate version="v4_0_27" environment="Akamai" loadJQueryFromGoogle="true" showPreContent="true" showPostContent="true" showFeedbackLink="true" feedbackLinkUrl="" showLanguageLink="true" showSharePageLink="true" showSearch="true" showFeatures="true" staticFilesLocation="~\Views\GoC.WebTemplate\StaticFallbackFiles" xmlns="http://tempuri.org/WebTemplateMVC.xsd">
    <sessionTimeOut enabled="false" inactivity="1200000" reactionTime="180000" sessionalive="1200000" logouturl="#" refreshCallbackUrl="#" refreshOnClick="false" refreshLimit="120000" method="" additionalData="" />
    <leavingSecureSiteWarning enabled="false" displayModalWindow="true" redirectURL="" excludedDomains="" />
</GoC.WebTemplate>

Hi Richard

Switching to 4_0_30 corrects the issue, but causes UI layout issues.

Could you send a print screen of your issue, and specify the browser you used
Note: I don't have the error you specified in version 4_0_27 in Firefox, Do you still have the issue?

Hello,
This is the issue currently.  Note the FIP is missing, and the 3 errors in the console window.
This is in Chrome, but the issue exists in other browsers also.
<EMAIL_ADDRESS>The issue presents differently in IE:
<EMAIL_ADDRESS>From: StdGit<EMAIL_ADDRESS>Sent: Tuesday, July 28, 2020 11:22 AM
To: wet-boew/cdts-sgdc<EMAIL_ADDRESS>Cc: Potter, Richard<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [wet-boew/cdts-sgdc] FIP no longer appearing with 4.0.27 (#142)
Hi Richard
Switching to 4_0_30 corrects the issue, but causes UI layout issues.
Could you send a print screen of your issue, and specify the browser you used
Note: I don't have the error you specified in version 4_0_27 in Firefox, Do you still have the issue?

You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/wet-boew/cdts-sgdc/issues/142#issuecomment-665105011, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AQKFIYG6QK3PKT5YZPWOM6LR53ULDANCNFSM4O6USS7Q.

sites on *.ic.gc.ca. seems have the same error
The loading of “https://www.canada.ca/etc/designs/canada/cdts/gcweb/v4_0_25/assets/sig-blk-en.svg” in a frame is denied by “X-Frame-Options“ directive set to “SAMEORIGIN“.
And the error seems to be in wet-boew too
https://github.com/wet-boew/wet-boew/issues/5189

Same issue with some apps at our department Indigenous Services Canada.
Refused to display 'https://www.canada.ca/etc/designs/canada/cdts/gcweb/v4_0_26/assets/sig-blk-en.svg' in a frame because it set 'X-Frame-Options' to 'sameorigin'.
We sent an email to<EMAIL_ADDRESS>but no response.

Confirmed via email that this issue has been resolved.


GAX version is hardcoded in generated surface

The GAX version is hardcoded in snippet file. This should be retrieved at runtime.

Fixed in https://github.com/googleapis/toolkit/pull/816


[AppConfig] Update mocking guidance instructions

Official documentation for mocking is now available: https://learn.microsoft.com/dotnet/azure/sdk/unit-testing-mocking. As part of this PR, we are including a link to this comprehensive documentation within a sample related to mocking.

API change check
API changes are not detected in this pull request.


Attempt to fix duplicate rust-src packages in dist builds

@brson: no appropriate reviewer found, use r? to override


getRegistration Scope

I haven't tested this with our site yet (will do this week), but I'll submit the PR anyway for review
Fix #435

@lilfolr thanks for this. Please do test with your site, also,m if possible, test without using the scope for backward compatability.

@lilfolr #436 was merged into master, so if you merge latest master into your branch, and remove the unrelated code according to my comments, the CI would probably pass

Awesome will do - I'll merge & make the changes tomorrow night

@lilfolr thanks for the additional changes. Did you have a chance to test your changes?

Sorry, haven't had a chance yet - but will do soon!

[ ] Test changes

Have tested with & without the scope option and it looks ok to me

@lilfolr thanks for your contribution! Sorry for the delay, been very busy lately.


Stop Uninformed and Undocumented Rapid Changes

@gnawux your last commit https://github.com/hyperhq/hyperd/commit/2072dd8e28a02a25ae6a819f81029b47a579e683 and previous commits have made a few uniformed and undocumented changes like

hyper.git was changed hyperd.git.
A few days ago, hyper command was changed to hyperctl
Even after the above commit (https://github.com/hyperhq/hyperd/commit/2072dd8e28a02a25ae6a819f81029b47a579e683) the README.md to build from source (till these lines are written) still points to: git clone https://github.com/hyperhq/hyper.git hyper
And this screenshot (https://github.com/hyperhq/hyperd/raw/master/docs/static_files/hyper-run.png) has not been changed to reflect the changes
The command line has been shifted from hyper.sh domain to hypercontainer.io with a bunch of typos.
Instead of fixing the bugs reported, it seems as if the focus shifted to nomenclature. I think it should be vice versa if you want to have more adopters.

Worth quoting Juliet from Shakespeare's play,
What's in a name? That which we call a rose
By any other name would smell as sweet."
--Romeo and Juliet (II, ii, 1-2)

Since about a month of getting into this project, I am witnessing chaos rather than any order in this project, if I am not mistaken. Else apology in advance.
It could be a reason that the expression, Chinese mind is like a spider's web, was coined! wink ;-)

@zenny
As you may have noticed, we released our public container service a couple weeks ago. We had quite some discussion of naming, and decided to use Hyper_ and hyper.sh for the public service.
To avoid more chaos in the future, we decided to rename Hyper to HyperContainer and the repo to hyperd. I fully understand your feeling. What we want is to avoid greater confusing in the future with the tradeoff of confusion to the current community (including you).
With that said, we will fix the typo and docs to get thing consistent soon.

@Gnep I saw your last commit (https://github.com/hyperhq/hyperd/commit/88cea8d63f5def05ffdc72ecc82bed12a85fdde3) to the README.md, you have yet not omitted the docker part in the Installation section:

Ensure you are running Linux (kernel 3.8 or later) and have** Docker (version 1.5 or later)** and QEMU (version 2.0 or later) installed.

However, what is the https://github.com/hyperhq/hypercli repo, if not hyperctl?
Before I further test, I would like to know exactly the roadmap and nomenclature without getting confused while compiling and using the tools. Xiexie!

@zenny
hypercli repo is the client for Hyper_ cloud, it is based on docker client and provide some hyper specified functions, such as floating IP associate, volume snapshot, etc.
While the hyperctl is the control tool directly interact with hyperd, just like docker's containerd and its control tool.
I am very sorry for making you feel disappointed, however, I had to do in order to avoid further confusing. For hyperd + runv repo/project, our direction is to make it more compatible to docker behavior. And in the client side, we are working on providing a stabler and more efficient API interface based on gRPC.
And could you share your case with us? Although the project has not reach 1.0 yet (we want to make it reach 1.0 in this summer), we do not want to break your works when we do some changes.

@gnawux Thanks for updating. It would be good if you have some roadmap documents.

And could you share your case with us?

I am planning to deploy in one of the production server in one of my datacenters. Namespace vulnerabilities didn't inspire me to deploy lxc or docker in production. The only part that I liked is the hw-based qemu-kvm isolation with this project above all,

we do not want to break your works when we do some changes.

Frequent uninformed changes and  lack of update of proper documentation after the changes made life really a PITA.

Although the project has not reach 1.0 yet (we want to make it reach 1.0 in this summer)

Good news, hope to see you meeting that deadline.
From what I witnessed with this project so far, your team lacks of someone with both technical and management skills who can field, canvass and manage your project more democratically with openness (could be me, shameless plug ;-) ). Just my two fen.

@zenny
The commit is a quick fix, not a complete one. What you will see is:

HyperContainer (hyperd, hyperctl)
Hypernetes=Kuberentes+HyperContainer+OpenStack Cinder/Neutron
Hyper_: the public service, CLI hypercli
Hypernova: HyperContainer driver for OpenStack Nova
HyperStack=Nova+Hypernova+Cinder+Neutron
runV: hypervisor-based equivalent to runC

I hope this could help to clarify the confusion. We'd love to see your contribution on the project governance. Could you send an email to<EMAIL_ADDRESS>to chat? I also want to invite you to our new public service.
Thanks!

@Gnep Still the binary package (https://hyper-install.s3.amazonaws.com/hyper-latest.tgz) is not updated, fyi.
Appreciate if you would advise Mr. Peng or Mr.Wang to write back?
My PGP key is:
-----BEGIN PGP PUBLIC KEY BLOCK-----
Comment: http://openpgpjs.org

xsBNBFcTxwEBCAC+G0MG+BHNGs8orGRobPV6jd+8RtT4XhXXEnuEjLA5uHz8
1OulvUS/qiq58Jo/KEnTn19rtyNiN7GmrLvo14Q0+mpFQEfrnzj2NCr1bf8w
l5r+CrIIb+xFEqf5dIHf3w1NNXgHwl6Z3QBflZsqaPHa8y5dhAqVlr1NS7EL
VgCifutAppl2Fcl05p4F5pQLKHMYCO+5gPMnMfnOOe4BTch0VOg8N4qkv0Px
JtSHjHucpivf4eJwznejYwDt/AtdyaB7LUC9N6yuLN+QYuB/mIo0YVU2wcgP
iwr8ITfDUz5Nx0MUm9hmTbOyj6ixNOVuYMmOvevCzzU0ULEkr99EMoAJABEB
AAHNHFplbm55IDxnYXJieXRyYXNoQGdtYWlsLmNvbT7CwHIEEAEIACYFAlcT
xwEGCwkIBwMCCRABOcPTK6+XKwQVCAIKAxYCAQIbAwIeAQAAD5gH/21f5PLm
ytP4rd9HLGKHTMQola/VKMoCMlA7zb1LLJKTCJayZmIproblTyWO8iSSkkaA
89gIifuCTvMJ8vh4WLTUfO0gr+41uZhLScYqAOoqgctCPsyrHxV4QBYAzGf7
1LAEymtYBSiKHhks4Jff190Czrfupz7AAuLxepS1/RIZbdmeYO2g8FWf4sIR
ZFKehNMSWlspxYGxXdAmGLX+xtHD+LNHqqnERsuatynR9oJ3G8WauD4CiNgW
IRyfxf2xZVj7J+bGzg7dl7IJNmp0UDTLqqsF2TFpURyfIAAAhb3WkQAaV5n1
osMST1BbCnWdGo5bjpReuBl3lQ5bIn3Gc3HOwE0EVxPHAQEIAL2Pq+od71kT
/lRMt+XDryOc1XTT5DJW7BUMXOjXXOZfWsuGTrqU3O1XYPWYzoZy9L+6zpII
On/auicvkUblWvrXkt4CIVIU1qDk6KpDKVKBiINy5sk7cTyjumbqxPmnVBK2
DHN27rLOnReCnFUmgIgbfgK0/un0oEnAHvsYdeg1ydipd2vVzx3aJ1TfQS1W
IBWN125EO4nKQ5Kl1XV7nWvlv+ZvrOmOWVeSl9jpyZvLJDmks0E/AIF4QBJF
K+NTME8+x7CwFDQwLGENXojeZOfsNHbln91KE1ZU1/QvzLHVqdZOo/s20Y7V
tjdUsiUPpVQcsSpXLzGKPCWz90M3Be8AEQEAAcLAXwQYAQgAEwUCVxPHAgkQ
ATnD0yuvlysCGwwAAL9hCACP7CY1fivXEN4X+l/C56l/nARrNVoZvJr4QHnF
9C/r5m6TLCMov0eOLg8IvZF7M0Ecyvq1IzNqbwQd+8mTA4tn+aND20fk2z08
floFL6fJykIyAGtRMwAb3HdC1pqexk/0pYxhoy9GtQzqvK/NbcPPdBDd1N7M
pKdXDVhXhx0R1K6UlMYfnyc9o171UYRPlFrmdBV7ZLC4KeBKqFEESKXaxyRg
D7E1FXGl1pDMh2QJNM/n9gVLJb0+znBsPG4jUNOctAOhRwF9Z23qsU6AGpOu
QhWG1alJz6d1T4sTgPdh+K1nMWNKGUzzayAKrRPTbnwLEijqqJPpIIDVzoai
py73
=JPvb
-----END PGP PUBLIC KEY BLOCK-----

Thank you @zenny
I know the binary package has not been updated. I think we should not modify a published package, and we will release new version after fix the current critical issues.

@gnawux In that case, I suggest you to tag the tgz with a 'version no.-stable' and clarify that the precompiled package does not reflect the chanes in git repo, particularly the binary command itself (I meant your recent move to hyperctl)

@zenny plz sign up our beta at https://hyper.sh and let me know the email address you used. I'll approve ASAP.

@Gnep Yes I signed up a per your request, but have no idea how is it useful to me? You can derive my password from my PGP key and the username is Zenny.
My PGP key is:
-----BEGIN PGP PUBLIC KEY BLOCK-----
Comment: http://openpgpjs.org

xsBNBFcTxwEBCAC+G0MG+BHNGs8orGRobPV6jd+8RtT4XhXXEnuEjLA5uHz8
1OulvUS/qiq58Jo/KEnTn19rtyNiN7GmrLvo14Q0+mpFQEfrnzj2NCr1bf8w
l5r+CrIIb+xFEqf5dIHf3w1NNXgHwl6Z3QBflZsqaPHa8y5dhAqVlr1NS7EL
VgCifutAppl2Fcl05p4F5pQLKHMYCO+5gPMnMfnOOe4BTch0VOg8N4qkv0Px
JtSHjHucpivf4eJwznejYwDt/AtdyaB7LUC9N6yuLN+QYuB/mIo0YVU2wcgP
iwr8ITfDUz5Nx0MUm9hmTbOyj6ixNOVuYMmOvevCzzU0ULEkr99EMoAJABEB
AAHNHFplbm55IDxnYXJieXRyYXNoQGdtYWlsLmNvbT7CwHIEEAEIACYFAlcT
xwEGCwkIBwMCCRABOcPTK6+XKwQVCAIKAxYCAQIbAwIeAQAAD5gH/21f5PLm
ytP4rd9HLGKHTMQola/VKMoCMlA7zb1LLJKTCJayZmIproblTyWO8iSSkkaA
89gIifuCTvMJ8vh4WLTUfO0gr+41uZhLScYqAOoqgctCPsyrHxV4QBYAzGf7
1LAEymtYBSiKHhks4Jff190Czrfupz7AAuLxepS1/RIZbdmeYO2g8FWf4sIR
ZFKehNMSWlspxYGxXdAmGLX+xtHD+LNHqqnERsuatynR9oJ3G8WauD4CiNgW
IRyfxf2xZVj7J+bGzg7dl7IJNmp0UDTLqqsF2TFpURyfIAAAhb3WkQAaV5n1
osMST1BbCnWdGo5bjpReuBl3lQ5bIn3Gc3HOwE0EVxPHAQEIAL2Pq+od71kT
/lRMt+XDryOc1XTT5DJW7BUMXOjXXOZfWsuGTrqU3O1XYPWYzoZy9L+6zpII
On/auicvkUblWvrXkt4CIVIU1qDk6KpDKVKBiINy5sk7cTyjumbqxPmnVBK2
DHN27rLOnReCnFUmgIgbfgK0/un0oEnAHvsYdeg1ydipd2vVzx3aJ1TfQS1W
IBWN125EO4nKQ5Kl1XV7nWvlv+ZvrOmOWVeSl9jpyZvLJDmks0E/AIF4QBJF
K+NTME8+x7CwFDQwLGENXojeZOfsNHbln91KE1ZU1/QvzLHVqdZOo/s20Y7V
tjdUsiUPpVQcsSpXLzGKPCWz90M3Be8AEQEAAcLAXwQYAQgAEwUCVxPHAgkQ
ATnD0yuvlysCGwwAAL9hCACP7CY1fivXEN4X+l/C56l/nARrNVoZvJr4QHnF
9C/r5m6TLCMov0eOLg8IvZF7M0Ecyvq1IzNqbwQd+8mTA4tn+aND20fk2z08
floFL6fJykIyAGtRMwAb3HdC1pqexk/0pYxhoy9GtQzqvK/NbcPPdBDd1N7M
pKdXDVhXhx0R1K6UlMYfnyc9o171UYRPlFrmdBV7ZLC4KeBKqFEESKXaxyRg
D7E1FXGl1pDMh2QJNM/n9gVLJb0+znBsPG4jUNOctAOhRwF9Z23qsU6AGpOu
QhWG1alJz6d1T4sTgPdh+K1nMWNKGUzzayAKrRPTbnwLEijqqJPpIIDVzoai
py73
=JPvb
-----END PGP PUBLIC KEY BLOCK-----


HDFS-16723. Replace incorrect SafeModeException with StandbyException in RouterRpcServer.class

Description of PR
Incorrect code as below:
/**
 * ...
 * @throws SafeModeException If the Router is in safe mode and cannot serve
 *                           client requests.
 */
void checkOperation(OperationCategory op)
    throws StandbyException {
  ...
}

I feel that we should fix the incorrect  SafeModeException and use StandbyException instead of it.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 56s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  1s

codespell was not available.

+0 :ok:
detsecrets
0m  1s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

-1 :x:
test4tests
0m  0s

The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
38m 21s

trunk passed

+1 :green_heart:
compile
0m 58s

trunk passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS>

+1 :green_heart:
compile
0m 55s

trunk passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
checkstyle
0m 51s

trunk passed

+1 :green_heart:
mvnsite
1m  3s

trunk passed

+1 :green_heart:
javadoc
1m  8s

trunk passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS>

+1 :green_heart:
javadoc
1m 16s

trunk passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
spotbugs
1m 47s

trunk passed

+1 :green_heart:
shadedclient
21m 13s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 42s

the patch passed

+1 :green_heart:
compile
0m 42s

the patch passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS>

+1 :green_heart:
javac
0m 42s

the patch passed

+1 :green_heart:
compile
0m 38s

the patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
javac
0m 38s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
0m 25s

the patch passed

+1 :green_heart:
mvnsite
0m 40s

the patch passed

+1 :green_heart:
javadoc
0m 41s

the patch passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS>

+1 :green_heart:
javadoc
0m 57s

the patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
spotbugs
1m 27s

the patch passed

+1 :green_heart:
shadedclient
20m 39s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
35m 40s

hadoop-hdfs-rbf in the patch passed.

+1 :green_heart:
asflicense
0m 53s

The patch does not generate ASF License warnings.

133m 42s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4716/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/4716

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets

uname
Linux 1e5c4b974365 4.15.0-65-generic #74-Ubuntu SMP Tue Sep 17 17:06:04 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / d20cc5c99cbe732777d6be466cb7c37aa5b1fe2e

Default Java
Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS> /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4716/1/testReport/

Max. process+thread count
2154 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs-rbf U: hadoop-hdfs-project/hadoop-hdfs-rbf

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4716/1/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

@ayushtkn Master, Thank you very much for helping me review this patch.


Improve CHIPReadParams documentation.

Problem
Docs are a bit confusing about the semantics of nil.
Change overview
Improve the docs.
Testing
Comment changes only.

/rebase


Create channel cli

Closes: #1421
Description

Changes the flow of the create channel CLI command. The default invocation has been changed from
hermes create channel --port-a <PORT-ID> --port-b <PORT-ID> <CHAIN-A-ID> <CHAIN-B-ID>

to
hermes create channel --port-a <PORT-ID> --port-b <PORT-ID> <CHAIN-A-ID> <CONNECTION-A-ID>

If users want to create new clients and connections using this invocation, it is now required that --new-client-connections flag be passed along:
hermes create channel --port-a <PORT-ID> --port-b <PORT-ID> <CHAIN-A-ID> <CHAIN-B-ID> --new-client-connections

This brings up an interactive prompt that the user must agree to, letting them know that they are creating new clients / connections as part of the invocation.

PR author checklist:

[x] Added changelog entry, using unclog.
[ ] Added tests: integration (for Hermes) or unit/mock tests (for modules).
[x] Linked to GitHub issue.
[x] Updated code comments and documentation (e.g., docs/).

Reviewer checklist:

[ ] Reviewed Files changed in the GitHub PR explorer.
[ ] Manually tested (in case integration/unit/mock tests are absent).

There's an open issue in the dialoguer crate, which is used for the interactive prompt functionality, where the prompt is re-rendered to the terminal upon user interaction.

@mzabaluev when you get a chance have a look over & review this please.

Should the guide be updated now that create channel does not automatically create a connection and clients by omission?

Yes, I'll update the guide 👍

Can we update this PR with a more descriptive title?

Ah my bad, sorry about that. Can you please split out the guide changes into a separate PR so that we can merge it once we release v0.14? Otherwise the guide will be updated before we actually release v0.14, which may confuse users.

Perfect 👍


Added Wave array

Description

Added Solution for Wave Array in GFG folder.

Fixes #1577
Type of change

[X] New feature (non-breaking change which adds functionality)

Checklist:

[X] My code follows the style guidelines(Clean Code) of this project
[X] I have performed a self-review of my own code
[X] I have commented my code, particularly in hard-to-understand areas
[X] My changes generate no new warnings
[X] I have added tests/screenshots(if any) that prove my fix is effective or that my feature works

@Aryan-Srivastava remove the other file


Validating input parameter

Describe your changes

Added check to guess the DB, that the user may try connecting to

Issue number
Closes #21
Checklist before requesting a review

[ ] Performed a self-review of my code
[ ] Formatted my code with pkgmt format
[ ] Added tests (when necessary).
[ ] Added docstring documentation and update the changelog (when needed)

:books: Documentation preview :books:: https://jupysql--503.org.readthedocs.build/en/503/

When a new connection is made

If the connection string contains @ or ://, only then the string is considered as a connection string, else it is converted to an empty string ""

In such a case, I have added another check to see what is the closest DB to the connection string and printed the link to docs

%load_ext sql
%sql postgresql@dsdsafddvdsvdfb

UsageError: An error happened while creating the connection: Could not parse SQLAlchemy URL from string 'postgresql@dsdsafddvdsvdfb'.

Perhaps you meant to use the 'postgressql' db
To find more information regarding connection: https://jupysql.ploomber.io/en/latest/integrations/postgres-connect.html

To fix it:

Pass a valid connection string:
    Example: %sql postgresql://username:password@hostname/dbname

Documentation: https://jupysql.ploomber.io/en/latest/connecting.html
If you need help solving this issue, send us a message: https://ploomber.io/community

If it doesn't contain the above, then it is considered a SQL command, and the connection string is empty

@edublancas @idomic
Any more suggestions?

If the connection string contains @ or ://, only then the string is considered as a connection string, else it is converted to an empty string ""

I think @ can lead to false negatives. for example, duckdb:// is a valid connection string. but I think  :// is a good heuristic. What you can do is check if  :// is missing, if so, add to the error message "{string} doesn't look like a valid connection string, ensure it follow the sqlalchemy format)
another useful link is this: https://jupysql.ploomber.io/en/latest/howto.html#connect-to-existing-engine
if people are unable to connect via a connection string, they can use an engine directly

@mehtamohit013: thanks for pointing me to the parse, I'll open a new issue to tackle some issues we have there


Updated & fixed social media links in alumni page

updated some social media links and also fixed some social media links. also set set target="_blank" to open social links in new tabs.

Thanks @yohanym95 !


Removed problem with several requests to layer endpoint

We have this listener here, and it was being thrown twice the first time a user set a new style, because we had those set in the onStyleChange method.
We were saving the analysis definition each time this method was called, unnecessarily, because saveLayer within userActions Class was saving the layer and the analyses related to the layer.

Fixes #10195.
CR: @nobuti
cc @gfiorav

Passing frontend tests 🚀 , ❤ , 🌞 .


Remove unused ConvertSaveload.

ConvertSaveload is hard to get imported correctly and it is not yet used in Chapter 7. I would suggest removing for now.

Same in chapter 9 at https://github.com/amethyst/rustrogueliketutorial/blob/d6a4673ca59cffe057d4b0015b4920ecd5faa3b6/book/src/chapter_9.md?plain=1#L628


Device inspection returns error 500

Open device inspection, i.e., https://app.malwarelytics.com/device/inspection?probeOriginId=ba0011e7-fb3e-4ce6-92fb-9034bdd566cd => 500 error is returned.

Wrong project.


[Integration Event Enhancement] Codeunit 5981 "Service-Post (Yes/No)", OnAfterConfirmPost

[Integration Event Enhancement] Codeunit 5981 "Service-Post (Yes/No)", Event OnAfterConfirmPost
Could you pass the parameter ServiceHeader by reference instead of just by value:
[IntegrationEvent(false, false)]
local procedure OnAfterConfirmPost(var ServiceHeader: Record "Service Header"; Ship: Boolean; Consume: Boolean; Invoice: Boolean)
begin
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


IAM-307 Liveness check implementation

The purpose of this PR is to implement a liveness check for Login UI. It is accessible on the endpoint /health/alive. If the server is running, liveness check returns with '{'status':'ok'}'.
The pr includes the health.go library that exposes the handler for the liveness check. It also includes a handler for a readiness check which is not used in main, and is only there for possible future usage.
The pr also includes unit tests for the liveness check.
Additionally the pr includes mocked health checks for the mocked ory servers used for unit tests.

health library implementing an API to store alive and ready statuses independently
main.go implementing liveness check only
tests liveness checks
Handlers for mocking health checks
mocked servers implementing health check mocking

This pr replaces https://github.com/canonical/identity-platform-login-ui/pull/30

We commit the mocks. For the operators we use the Magicmock, and for this repo I wrote the mock handlers and use them with net/httptest mock servers.


Scroll to top

What is the change?
Added auto page scrolling button at center bottom. I have changed Jquery from min slim to min as fadeIn and fadeOut functions were not available in slim version
Related issue?
close: #285
How was it tested?
Remove this line and tell us how the code was tested.
Checklist:
Before you create this PR, confirm all the requirements listed below by checking the checkboxes [x]:

[x] Have you followed the Contribution Guidelines while contributing.
[x] Have you checked there aren't other open Pull Requests for the same update/change?
[] Did you lint your code before making the Pull Request?
[] Have you made corresponding changes to the documentation?
[x] Your submission doesn't break any existing feature.
[x] Have you tested the code before submission?

Screenshots or Video:
Add a screenshot or demo video if appropriate.
https://user-images.githubusercontent.com/68139755/114510376-3e386000-9c54-11eb-9e7d-b18ae01aaf0d.mp4

Should I use latest version of Jquery, i.e 3.6.0 minified ?

Should I use latest version of Jquery, i.e 3.6.0 minified ?

yes


roundcube: 1.5.0 -> 1.5.1

Motivation for this change
ChangeLog: https://github.com/roundcube/roundcubemail/releases/tag/1.5.1
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Is the patch still necessary?

As documented in the patch-message, it's Nix-specific (for plugins being found by roundcube and packaged in nixpkgs) and it still applies, hence yes.
Also, none of the above is really relevant when updating a package.

Also, none of the above is really relevant when updating a package.

I took time to review your PR. I am sorry that it was beneath you to improve package quality, while you were working on it.


missing control structures lesson

http://elixirschool.com/lessons/basics/control-structures gives

Not found

Thanks for the report @nhooyr!  I will look into this immediately.

Closed via 50d144a


Define valueSchema parameter in Kafka transport properties in the Kafka transport Connector

Problem
Hi Team,
In the Current implementation: the schema used by the wso2 kafka connector is referenced by two possible solutions A & B:
<!-- solution A -->
  <kafkaTransport.init>
    <schemaRegistryUrl>http://swwkafx01c.suvanet.ch:8081/</schemaRegistryUrl>
  </kafkaTransport.init>
  <kafkaTransport.publishMessages>
	<valueSchemaId>161</valueSchemaId>
  </kafkaTransport.publishMessages>
<!-- ---------- -->

OR by passing the whole schema via valueSchema tag to the connector
<!-- solution B -->
  <kafkaTransport.init>
    <schemaRegistryUrl>http://swwkafx01c.suvanet.ch:8081/</schemaRegistryUrl>
  </kafkaTransport.init>
   <kafkaTransport.publishMessages>
	<valueSchema>{"type": "record","name": "BenutzerMitgliedschaftMutiert","namespace": "ch.suva.itservices.eiam.keycloak.kafka.records","fields": [{...}]}</valueSchema>
  </kafkaTransport.publishMessages>
<!-- ---------- -->

However Instead of passing the whole schema or looking up the schema by its id, there is a requirement to look up the schema referenced by its name and version.
Based on the kafka documentation[1] lookups like the following are supported.
Therefore to meet this requirement we can enhance the WSO2 kafka connector by adding the two parameters:

valueSchemaSubject
valueSchemaVersion

So that we can add the two parameters to the kafka-connectors kafkaTransport.publishMessages section as mentioned below.
  <kafkaTransport.init>
    <schemaRegistryUrl>http://swwkafx01c.suvanet.ch:8081/</schemaRegistryUrl>
  </kafkaTransport.init>
   <kafkaTransport.publishMessages>
	<valueSchemaSubject>eservice-eiam.keycloak.benutzer-mitgliedschaft-mutiert-value</valueSchemaSubject>
	<valueSchemaVersion>latest</valueSchemaVersion>
  </kafkaTransport.publishMessages>

[1] https://docs.confluent.io/platform/current/schema-registry/develop/api.html#mode
Solution
Add the two parameters

valueSchemaSubject
valueSchemaVersion

To the kafka transport connector implementation.
Affected Component
MI
Version
EI - 6.6.0
Implementation
No response
Related Issues
No response
Suggested Labels
No response

new connector (3.1.3) is released by provifing capability to retrieve the schema using subject and version. For more information on the confluent API can be found by [1].
In order to use this functionality the synapse configuration need to add following fields ,
  <valueSchemaSubject>transaction-value</valueSchemaSubject>
  <valueSchemaVersion>1</valueSchemaVersion>
  <valueSchemaSoftDeleted>true</valueSchemaSoftDeleted>
  <keySchemaSubject>transaction-value</keySchemaSubject>
  <keySchemaVersion>1</keySchemaVersion>
  <keySchemaSoftDeleted>true</keySchemaSoftDeleted>

Note attributes are provided to retrieve both key and value schemas. Inorder to get better understanding on SchemaSoftDeleted attribute please see [2]
[1] https://docs.confluent.io/platform/current/schema-registry/develop/using.html#fetch-version-1-of-the-schema-registered-under-subject-kafka-value
[2] https://docs.confluent.io/platform/current/schema-registry/schema-deletion-guidelines.html#recovering-a-soft-deleted-schema


kfactory backend

kfactory is more actively maintained than gdstk. To fully evaluate kfactory as backend. There are a few things that need to be ported to the new syntax

[ ] gf.routing.get_bundle
[ ] gf.routing.get_bundle_path_length_match
[x] gf.routing.route_ports_to_side
[ ] gf.routing.all_angle
[x] gf.routing.route_to_fiber_array
[ ] gf.components.spiral_inner_io
[ ] gf.components.spiral_external_io
[ ] gf.grid

@sebastian-goeldi
@damienbonneau
@tvt173
@SkandanC

Troy, can you review get_bundle_path_length_match?
Damien, can you review path_length_match?
Sebastian, can you help with spiral_inner_io and gf.grid?

@joamatab can we convert this to the https://github.com/orgs/gdsfactory/projects/6/views/1 ?

Sounds good to me

@joamatab can we update this. What's left to do? the path length matching router?

I think fixing the tests is the most important,
path length matching would be nice if we can also make it to work

I think I can implement pathlength matching reasonably into the route_smart logic.


Create Possible path between 2 vertices

Description
Create Possible path between 2 vertices in CPP
Domain
Data Structure
Type of Contribution
Addition
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of LearnCPP.

I want to work on this issue . Please assign it to me .


I can't use the function twice

I'm using the function like this but for both the displayed text is "••••••••••••••••••••"
.windows-viewport.loaded .viewport-locked .password {
	@include typed(
		"••••••••••••••••••••",
		null,
		(delay: 2, caret-width: 2px, caret-space: 2px, iterations: 0)
	);
}

#about-presentation {
	@include typed(
		"text",
		(type: .1), (caret-width: 2px, caret-space: 2px)
	);
}

@pisteuralpin Could you create a reproducible example of this online (maybe codepen.io) where I can troubleshoot the issue?

You need to use a different 'name' ,
like this,
.my-typed {
	padding: 0 0 0 3px;
    background-color:blue;

	&::before { font-weight: 400; }
	@include typed(
            "Happy",
            "Angry"
        (   type: .07,pause-typed: 2,delete: .08,pause-deleted: 1),
        (
            name: "my-typewriter-9999",
            caret: true,caret-speed: .75,caret-width: 2px,caret-color: currentColor,caret-space: .1ch,
            delay: 1,iterations: infinite,
        )

	);
}
.my-typed2 {
	padding: 0 0 0 3px;
    background-color:blue;

	&::before { font-weight: 400; }
	@include typed(
            "Happy2",
            "Angry2"
        (   type: .07,pause-typed: 2,delete: .08,pause-deleted: 1),
        (
            name: "my-typewriter-9999-2",
            caret: true,caret-speed: .75,caret-width: 2px,caret-color: currentColor,caret-space: .1ch,
            delay: 1,iterations: infinite,
        )

	);
}

@HansKing98

You need to use a different 'name'

Theoretically, you should be able to use this package as much as you want without ever using a name, since it should automatically iterate the index with each instance. The only caveat to this, is it likely resets between different files, so if you're using this on two different SCSS sheets, they both get pulled onto the same page, you may have conflicting names.
@pisteuralpin could you please try the suggested solution from @HansKing98 above, and let me know if it works. If it does, this might be a bug in the package I need to resolve. Let me know what you find, and maybe we can investigate this together.

Hey @HansKing98, thank you it seems to work.
@brandonmcconnell if you have some questions to investigate this bug don't hesitate

@pisteuralpin glad it worked!
Could you drop me an email address or some other mode of contact I can reach you at, so we can set up a call to diagnose and resolve the root issue?


How to disable scroll animation for header?

Hi, i'm just wandering if there's an easy way to disable the scroll animation for the header, i want to keep the scrolling for the actual cell views themselves, but i just want the month header to update automatically when the user scrolls instead of animating with the cells. How would i go about doing that? Thanks

The tutorials on the main page explain how to do this -> https://patchthecode.github.io/
Specifically, the tutorial about headers -> https://patchthecode.github.io/Headers
Let me know if you are stlll stuck and i'll help.


Fix plotting

Currently, .plot() is called on a pd.Series resulting from .value_counts().
(tdf.ethnicity_.value_counts().sort_index() /\
 tdf.ethnicity_.value_counts().sort_index().sum()).plot(alpha=0.75,
                                                        rot=90,
                                                        figsize=(8, 6))

The issue is that, if the indices aren't the same across clusters, the y-values will be plotted in an incorrect x-axis position.

Try @matarhaller's histogram suggestion.


Scripted tests for all mini-apps

Original issue: https://charm.cs.illinois.edu/redmine/issues/1167

Enable automatic testing of the various mini-appls that don't live as examples/tests in side the main Charm++ repository

Original date: 2016-08-18 19:15:26

http://charmplusplus.org/miniApps/


Name of architecture mismatch

in param_MC.yml, the name of architecture are monounet and mononet, but in  CNNArt/utils/MotionCorrection/network_block.py, it is mononet and mocounet.

I’m sorry that I made several typos - it should be vae-mocounet and vae-moconet. You can just correct them directly.


typo

git tag instead of git tags? @thejameskyle

Why would this be git tag it's supposed to list them off?

Oh I just tried git tags and was getting an error so was wondering if that was just me?

Weird...
➜  lerna git:(master) ✗ git tags
v1.0.1
v1.0.2
v1.0.3
v1.0.4
v1.0.5
v1.1.0

Haha weird.. maybe different versions or alias?


Remove the various PartialEq impls for primitives

Currently we have:

impl PartialEq<Value> for str
impl PartialEq<Value> for &'a str
impl PartialEq<Value> for String
impl PartialEq<Value> for i64
impl PartialEq<Value> for u64
impl PartialEq<Value> for f64
impl PartialEq<Value> for bool

These lead to surprising inference errors in code that is unrelated to Serde. One example is #357.

Also encountered in https://github.com/rust-lang/rust/issues/46257.


Update blog.html

upped Bulma to 0.6.2.
Changed menu

pls merge 😕

@diomed Thanks for the update, I've been really busy lately sorry about the delay.


Identifiers validation failed for dataset Distribución potencial de cabrillas (Teleostei: Serranidae) en el Pacífico mexicano: especies de importancia para la pesca y la conservación

Identifier validation failed for the dataset Distribución potencial de cabrillas (Teleostei: Serranidae) en el Pacífico mexicano: especies de importancia para la pesca y la conservación:

Crawler attempt: 157
Publishing organization: Comisión nacional para el conocimiento y uso de la biodiversidad
Publishing country: MEXICO
Installation: IPTCONABIO
Number of occurrences indexed for this dataset at the time of the issue: 1032
Cause: GBIF IDs hit maximum allowed - 50%, duplicates - 68%, total records count 110, absent records count 75
Pipelines execution steps: http://api.gbif.org/v1/pipelines/history/execution/3072696/step

Publisher email
Hello,
I am contacting you from the GBIF Secretariat about a dataset published by the Distribución potencial de cabrillas (Teleostei: Serranidae) en el Pacífico mexicano: especies de importancia para la pesca y la conservación : https://doi.org/10.15468/ehtzwt.
We noticed that the occurrenceIDs were changed. We have temporarily paused the ingestions of this dataset.
As you might already know, when an occurrence record has a new occurrenceID for a given dataset, our system considers it to be a new occurrence.
This means that it will be given a new gbifid and a new occurrence URL (like this one: https://www.gbif.org/occurrence/1252968762) and the old gbifid and URL will be deprecated.
In this case, this means that the occurrence URLs would be deprecated when ingesting the newest versions of these datasets.
We would like to check with you if those changes were intentional. Do you know if this is the case?
Please let us know, thanks! We are happy to resume the dataset ingestion.
Note that some users rely on those occurrence URLs and gbifids (like https://bionomia.net for example). In an attempt to improve
the stability of the occurrence URLs and gbifids, we have implemented a warning system to detect these type of changes in datasets (see this news item).
If the data publisher can provide us with a list of old and new occurrenceIDs per record, we can avoid the identifier and URL changes. Could that be an option?
Please let us know if you have any question. Thanks!
All the best,

You can skip/fix identifier validation using the registry UI.

Identifier validation still  failing for the dataset Distribución potencial de cabrillas (Teleostei: Serranidae) en el Pacífico mexicano: especies de importancia para la pesca y la conservación:

Crawler attempt: 161
Publishing organization: Comisión nacional para el conocimiento y uso de la biodiversidad
Publishing country: MEXICO
Installation: IPTCONABIO
Number of occurrences indexed for this dataset at the time of the issue: 1037
Cause: GBIF IDs hit maximum allowed - 50%, duplicates - 100%, total records count 1037, absent records count 1037
Pipelines execution steps: http://api.gbif.org/v1/pipelines/history/execution/3093636/step

Publisher email
Hello,
I am contacting you from the GBIF Secretariat about a dataset published by the Distribución potencial de cabrillas (Teleostei: Serranidae) en el Pacífico mexicano: especies de importancia para la pesca y la conservación : https://doi.org/10.15468/ehtzwt.
We noticed that the occurrenceIDs were changed. We have temporarily paused the ingestions of this dataset.
As you might already know, when an occurrence record has a new occurrenceID for a given dataset, our system considers it to be a new occurrence.
This means that it will be given a new gbifid and a new occurrence URL (like this one: https://www.gbif.org/occurrence/1252968762) and the old gbifid and URL will be deprecated.
In this case, this means that the occurrence URLs would be deprecated when ingesting the newest versions of these datasets.
We would like to check with you if those changes were intentional. Do you know if this is the case?
Please let us know, thanks! We are happy to resume the dataset ingestion.
Note that some users rely on those occurrence URLs and gbifids (like https://bionomia.net for example). In an attempt to improve
the stability of the occurrence URLs and gbifids, we have implemented a warning system to detect these type of changes in datasets (see this news item).
If the data publisher can provide us with a list of old and new occurrenceIDs per record, we can avoid the identifier and URL changes. Could that be an option?
Please let us know if you have any question. Thanks!
All the best,

You can skip/fix identifier validation using the registry UI.


Enable retrieval of historical data for 'target'

Summary
Allow the user to retrieve historical data for the target of the backend.
Details and comments
This is similar to the support that already exists for backend.properties. For target, we defined a new method - target_history, since target is defined as a property.
Note that when we try to pass the datetime parameter to defaults(), it does not work, because there is no support for this parameter on the server side.
See similar support in https://github.com/Qiskit/qiskit-ibm-provider/pull/535.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

2 of 9 (22.22%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.07%) to 66.7%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

qiskit_ibm_runtime/ibm_backend.py
2
9
22.22%

Totals

Change from base Build<PHONE_NUMBER>:
-0.07%

Covered Lines:
3299

Relevant Lines:
4946

💛  - Coveralls


Your script does not work alone, why are you posting them?

...

I checked your two scripts, they do not work in real time, so the last "сlose" does not move

@izhtrade https://hackernoon.com/45-github-issues-dos-and-donts-dfec9ab4b612 :wink:


Running by CPU mode, GPU is occupied

When running the ESM model CPU mode， i found that GPU was occupied(about 1.7GB)
# Load ESM-1b model
model, alphabet = esm.pretrained.esm1b_t33_650M_UR50S()
batch_converter = alphabet.get_batch_converter()

# Prepare data (first 2 sequences from ESMStructuralSplitDataset superfamily / 4)
data = [
    ("protein1", "MKTVRQERLKSIVRILERSKEPVSGAQLAEELSVSRQVIVQDIAYLRSLGYNIVATPRGYVLAGG"),
    ("protein2", "KALTARQQEVFDLIRDHISQTGMPPTRAEIAQRLGFRSPNAAEEHLKALARKGVIEIVSGASRGIRLLQEE"),
]
batch_labels, batch_strs, batch_tokens = batch_converter(data)

# Extract per-residue representations (on CPU)
with torch.no_grad():
    results = model(batch_tokens, repr_layers=[33], return_contacts=True)
token_representations = results["representations"][33]

HI @wangleiofficial, we can't reproduce this -- we find that the GPU isn't used with this code example. You can see here that the model is explicitly loaded to CPU.
Is it possible that you have another process running that is using the GPU?
Closing this out in the meantime since I can't reproduce, but feel free to re-open if you have more information or any more questions.

HI @wangleiofficial, we can't reproduce this -- we find that the GPU isn't used with this code example. You can see here that the model is explicitly loaded to CPU.
Is it possible that you have another process running that is using the GPU?
Closing this out in the meantime since I can't reproduce, but feel free to re-open if you have more information or any more questions.

hello, i seems that i install esm verison == 0.10, since the pre-trained model is the CUDA tensor , clearly add map_location 'CPU'?
ESM v0.1.0
def load_model_and_alphabet_local(model_location):
    alphabet = esm.Alphabet.from_dict(proteinseq_toks)

    model_data = torch.load(model_location)

    # upgrade state dict
    pra = lambda s: ''.join(s.split('decoder_')[1:] if 'decoder' in s else s)
    prs = lambda s: ''.join(s.split('decoder.')[1:] if 'decoder' in s else s)
    model_args = {pra(arg[0]): arg[1] for arg in vars(model_data["args"]).items()}
    model_state = {prs(arg[0]): arg[1] for arg in model_data["model"].items()}

    model = esm.ProteinBertModel(
        Namespace(**model_args), len(alphabet), padding_idx=alphabet.padding_idx
    )
    model.load_state_dict(model_state)
    return model, alphabet

hello, i seems that i install esm verison == 0.10, since the pre-trained model is the CUDA tensor , clearly add map_location 'CPU'?
ESM v0.1.0
def load_model_and_alphabet_local(model_location):
    alphabet = esm.Alphabet.from_dict(proteinseq_toks)

    model_data = torch.load(model_location)

    # upgrade state dict
    pra = lambda s: ''.join(s.split('decoder_')[1:] if 'decoder' in s else s)
    prs = lambda s: ''.join(s.split('decoder.')[1:] if 'decoder' in s else s)
    model_args = {pra(arg[0]): arg[1] for arg in vars(model_data["args"]).items()}
    model_state = {prs(arg[0]): arg[1] for arg in model_data["model"].items()}

    model = esm.ProteinBertModel(
        Namespace(**model_args), len(alphabet), padding_idx=alphabet.padding_idx
    )
    model.load_state_dict(model_state)
    return model, alphabet

That could be the error. Please use v0.2.0 which is the latest supported version.

That could be the error. Please use v0.2.0 which is the latest supported version.


Upload image from Localhost

Kindly provide code for the Custom block to upload images from localhost
Kindly provide the code for this commit :
https://github.com/m-Ryan/easy-email-demo/tree/f15b96b00f25f6cec267c389c1895dad987a70ef

Please see https://github.com/m-Ryan/easy-email-demo/blob/main/src/CustomBlocks/MyFirstBlock/Panel.tsx#L20-L27

The code you have provided and I have added so I got the following, check the screenshot:
https://i.imgur.com/gsxFvAA.png
What I need is: https://i.imgur.com/z7K6ftZ.png
So I can upload images from localhost.
Thank You

onUploadImage required.

Hi,
Sorry for reopening this issue,
I tried my best to get the result of uploading the image on the server-side, I checked the code on the main repo of how you are doing it.
I am just lost in the code and could not get any help.
What I want to achieve is the following things:
1 - When we click on the Upload Image button, the Image is get uploaded to the server
2 - Replaced Image in the Editor
3 - Show loader on the Upload Image button
4 - Provide code in the form of an object that holds the image so I can pass it to the server to store it.
I think there should be a component that we can reuse for the mentioned functionality.
Kindly assist with me code that I can use.
Looking forward to seeing the code as soon as possible.
Just to let you know I have tried my best before requesting the issue.
Thank You