Godot 4.0 GLTF Importer missing "instanced sub-scenes" storage option from 3.4 (important for asset packs etc.)

Godot version
v4.0.dev.calinou [71616630e]
System information
Windows 10, Ryzen 3700x, 32GB, 3060Ti, Vulkan
Issue description
The GLTF import system has changed substantially between Godot 3.4 and 4.0. Although the 4.0 system has many advantages, one of the more useful import options from the 3.4 system is currently missing.
In Godot 3.4, there is an option to import each object in a GLTF file as a separate scene, which means that you can store an entire set of related assets in a single file and import/reimport them with very little effort. In Godot 4.0, the option to set the storage type is missing, and no extra files are created when a GLTF is imported, which is quite a different experience in terms of ease-of-use compared to 3.4.
Here is the option I am talking about shown in Godot 3.4:

This is the result of this setting in the File Tree:

The file DefaultShapes.glb is imported using the above settings to automatically create many different sub-scenes. In this case, DefaultShapes contains lots of basic shapes that I can use for blocking out levels, and I'm also running them through a Post Import script to set up collision using convex hulls, boxes, spheres and capsules for each object, but without the option to store objects as individual sub-scenes, none of this works at all.
Godot 4.0 does have the option to store individual objects as Meshes, but this needs to be enabled for each object, and the file path needs to be manually set, which is a lot of extra work. Also, this way you can't add collision data automatically via script because mesh resources do not allow the user to specify collision manually and store it with the mesh, which is one of the reasons that being able to store separate scenes is so valuable.
This seems like a fairly fundamental missing feature between 3.4 and 4.0, so if possible, please add the object storage option back into the basic import settings, and additionally, add an option to set the identity transform on each object during import, as it's convenient to lay out assets in Blender so that they can be viewed and edited together, but the root transform should be reset on import unless we are importing a full scene or level. These issues are related, and there is another request for this feature here: #13980
Steps to reproduce
To compare the feature between Godot 3.4 and Godot 4.0 do the following (note that I've provided a test file attached to this bug report)
3.4

Create a new empty project
Drag in the attached file (DefaultShapes.glb)
In the import settings tab, change 'Storage' to 'Instanced Sub-scenes'
Hit the reimport button. This will create a single scene for each object in the gltf file.

4.0

Create a new empty project
Drag in the attached file
Note that in neither the import settings, nor the advanced settings is an option to import objects as individual scenes.
Perhaps this feature would make sense as an 'Import as:' preset, but currently it is missing.

Minimal reproduction project
DefaultShapes.zip

Do you think you can make a proposal for an 3d import toggle to:

Godot 4.0 store individual objects as Meshes, but this needs to be enabled for the entire scene, and the file path needs to be set to a folder.

Do you want make a feature proposal for a way to make the storage location for meshes be easier to set up? Sure, I can do that.
Just to be clear, this would be separate to this issue with missing instanced sub-scenes option for import, correct?
Because I initially misunderstood the question, I made a mock-up of how I might expect the instanced sub-scenes option to be added back. It could either be under a "Storage", as with Godot 3.4, or perhaps it could be a different preset, like this:

From the point of view of the gltf2 importer it sends a node tree to the scene system.
From the scene import system we want to propose a feature enabled for the entire scene where each mesh is saved, and the file path needs to be set to a folder.

I just bumped into this and noticed, it seems atm that importing gltfs in 4.0 alpha there isn't a way to set meshes automatically to be exported as individual files after import? This would be extremely useful, for instance, allowing us to do wardrobe systems for the mesh files, systems that allows us to easily load meshes to do a armor change or weapon part change, similar to this:
https://godotforums.org/discussion/26026/how-to-correctly-swap-the-mesh-of-a-meshinstance-when-its-also-parented-to-a-skeleton-node
I would think this is related to this issue, pointing a folder or allowing it by default to create a folder with the name of the gltf, and inside separate what the user wants, in the case of meshes they could use the naming that comes from blender already.

Anything that creates dependencies introduces what I call the ".material" problem from godot 3. There's a multi step reproduction case that cause flaws.
https://github.com/godotengine/godot/issues/42278
Will need some new approaches.

Well, some type of dependencies are good I suppose, you update the source and all dependencies are updated as well. If you are not meant to touch some kind of instanced data we could block it or warn that might break linked content. Just to contextualize this is a big problem in blender right now with the asset manager as well. I wouldn't mind if godot used it's own naming convention to automate some import functionality, right now this is a problem for me not being able to automatically import all meshes to individual files into a folder, preferable named to it's .gltf source.

it seems atm that importing gltfs in 4.0 alpha there isn't a way to set meshes automatically to be exported as individual files after import?

This can be done in the Advanced Import Settings dialog on the Meshes tab.

I see, yea it works, still it would be pretty nice if this was possible to be done with all meshes from a .gltf automatically from a single tickbox, the names would be gathered from the source, ak blender's mesh data name, currently as you mentioned, one have to select all meshes tick save to file, and you have to type a name, otherwise it save as .res by default, tested it.

Maybe we can do that through import scripts? Although I am sure in later versions of 4.0 we will have something for this, many people want to import various assets bundled together, having automatically they being split is a must, something to look in for  in the future I guess.

This issue is directly linked to this problem regarding the issue on how keep custom tracks on imported animation tracks #28275, as a workaround one can develop tools to edit animations after import, an example of needing custom tracks would be creating footsteps sounds, which are easily done from the animation player using call tracks.

The animation library feature was merged recently.

I also used instanced sub-scenes in 3.5. Since they aren't supported (yet) I just created a post-import script to handle it. Seems to work fine for both GLB & Blender import.
`
using System;
using Godot;
[Tool]
public partial class SceneSplit : EditorScenePostImport
{
public override Godot.Object _PostImport(Node scene)
{
Console.WriteLine($"Starting split of {scene.Name}");
    var path = GetSourceFile().Substring(0, GetSourceFile().LastIndexOf('/'));

    foreach (var child in scene.GetChildren()) {
        var meshInstance = child as MeshInstance3D;
        if (meshInstance == null) {
            Console.WriteLine($"Skipping child {child.Name}, not a mesh");
        }

        // I like all my objects to be at origin, even if they're spread out in the source file.
        meshInstance.Position = Vector3.Zero;

        Console.WriteLine($"Saving child {child.Name}");
        SetOwnerOnNodeDescendents(child, child);

        var packed = new PackedScene();
        packed.Pack(child);
        ResourceSaver.Save(packed, FileNameForScene(child.Name, path));
	}

    new EditorPlugin().GetEditorInterface().GetResourceFilesystem().Scan();

	return scene;
}

private string FileNameForScene(string nodeName, string path) {
    return $"{path}/{nodeName}.scn";
}

private void SetOwnerOnNodeDescendents(Node node, Node owner) {
    foreach (var child in node.GetChildren()) {
        child.Owner = owner;
        SetOwnerOnNodeDescendents(child, owner); // recurse through all descendents
    }
}

}
`

I didn't know this was possible, but I managed to port the above c# script by @Geekotron to GDScript and it works fine.
@tool
extends EditorScenePostImport

func _post_import(scene):
	var path = get_source_file()
	print("Running post import script on file '{file}'".format({'file': path}))

	path = path.substr(0, path.rfind('/'));

	# Get valid mesh objects
	for object in scene.get_children():
		if !(object is MeshInstance3D):
			continue

		set_owner_on_node_descendents(object, object)

		# Save each object to a file based on its object name
		var packed = PackedScene.new()
		packed.pack(object)
		var scene_path = "{path}/{name}.scn".format({'path': path, 'name': object.name})
		print(object.name, " -> ", scene_path)
		ResourceSaver.save(packed, scene_path)

	return scene

func set_owner_on_node_descendents(node : Node, owner : Node):
	for child in node.get_children():
		child.owner = owner
		set_owner_on_node_descendents(child, owner)

This issue was the closest I could find to one I was going to post as new.
My basic concern is to not duplicate meshes (well, all that array data).
Say the imported glb/gltf file has 1 mesh. If you make a new packed scene (like those cool scripts up ^ there) then you have a 2nd mesh in the .scn file. A copy.
Is there any way (in editor) to make a meshInstance3D who's mesh refers directly to the glb/gltf file?
For example, I'd export a .glb with a cube and a sphere. I then want to pull the sphere into scene01 and the cube into scene02 and I don't want the meshes (etc.) to appear in either scene source file, only a resource pointing to the glb file.
As things stand it feels like the glb/gltf files are sitting at the bottom of all things and taking-up memory. Am I on the wrong track?

I am currently migrating one of my projects to Godot 4, and I need to access the mesh and materials of imported glTF files. (I have a plugin which manages the import, and more or less collects mesh instances, and then uses them for instanced rendering if specific scenes reuse base components).
In Godot 3 I just used the option to import the mesh and material separately, which doesn’t exist anymore. And ResourceLoader does not support loading only the sub resource (like a mesh) from a scene (or if it does, I was not able to find out how to do it).
But the import scripts above gave me an idea how to achieve the same in Godot 4.0 with an import plugin. So I also wanted to share it here, should someone else want to do the same thing as me.
@tool
extends EditorScenePostImport

func _post_import(scene):
	var path := get_source_file()
	print("Running post import script on file '{file}'".format({'file': path}))

	var file_name := path.get_file()

	path = path.substr(0, path.rfind('/'))

	# Have a subfolder to store all the individual meshes and materials for each imported glTF scene
	# Prefix it with _import to not clutter the directories as much
	var new_subfolder := path + "/_import/" + file_name + "/"

	# if the subfolder for resources already exists, clear it
	recursively_delete_dir_absolute(new_subfolder)

	# Now create the empty subfolder
	DirAccess.make_dir_recursive_absolute(new_subfolder)

	var mesh_count : int = 0

	# Get valid mesh objects
	for object in get_all_children_recursive(scene):
		if !(object is MeshInstance3D):
			continue

		# Reference to the mesh
		var mesh : MeshInstance3D = object

		# First iterate all materials of the mesh and save them to disk
		for mat in mesh.mesh.get_surface_count():

			# Path where to store the extracted material
			var surface_path = new_subfolder + str(mesh_count) + "_" + str(mat) + "_" + str(mesh.name) + ".res"

			var material := mesh.mesh.surface_get_material(mat)

			# Store the material to disk as a resource file
			if ResourceSaver.save(material, surface_path, ResourceSaver.FLAG_CHANGE_PATH) == OK:

				# Now using a resource loader load the same material and overwrite the old one
				var new_material = ResourceLoader.load(surface_path) as Material
				# This prevents the imported scene from storing the material as a sub resource
				mesh.mesh.surface_set_material(mat, new_material)
				print("Saved Material and overwrote resource: " + surface_path)

		# Now save the mesh of our mesh object to disk
		var mesh_path = new_subfolder + str(mesh_count) + "_" + str(mesh.name) + ".res"

		if ResourceSaver.save(mesh.mesh, mesh_path, ResourceSaver.FLAG_CHANGE_PATH) == OK:

			# Now using a resource loader load the same mesh again and overwrite our scene mesh with it
			var new_mesh = ResourceLoader.load(mesh_path)
			# This prevents the imported scene from storing the mesh as a sub resource
			mesh.mesh = new_mesh
			print("Saved Mesh and overwrote resource: " + mesh_path)
			mesh_count += 1

	return scene

func get_all_children_recursive(node: Node, include_self: bool = false) -> Array:
	var nodes : Array = []

	if include_self:
		nodes.append(node)

	for N in node.get_children():
		if N.get_child_count() > 0:
			nodes.append(N)
			nodes.append_array(get_all_children_recursive(N))
		else:
			nodes.append(N)

	return nodes

func recursively_delete_dir_absolute(folder: String) -> bool:
	# Delete folder if it exists
	if DirAccess.dir_exists_absolute(folder):
		# Open folder
		var access := DirAccess.open(folder)
		# Delete all files within the folder
		access.list_dir_begin()
		var file_name = access.get_next()
		while file_name != "":
			if not access.current_is_dir():
				access.remove(file_name)
			else:
				# If it contains more folders, first delete that folder recursively
				recursively_delete_dir_absolute(folder + "/" + file_name)

			file_name = access.get_next()
		# Delete the now empty folder
		if DirAccess.remove_absolute(folder) != OK:
			return false
		return true
	return false

Is this done yet?
I want to import a whole car made in Blender through one .blend file and use it's meshes into an existing car scene, and be able to duplicate a tire as an instance so that they both get updated upon reimport when changed in Blender.


[Feature Request] Improve the getting started experience for open source databases

Community Note

Please use a 👍 reaction to provide a +1/vote. This helps the community and maintainers prioritize this request.
If you are interested in working on this issue or have submitted a pull request, please leave a comment.

Graph Explorer Version (and Graph Database and Version used if applicable)
For open-source databases such as Blazegraph or Gremlin Server
Is your feature request related to a problem? Please describe.
Currently, to connect to Blazegraph or Gremlin Server, users need to manually change environment variables etc. as part of the docker build process, and this is not a low-code experience.
Describe the solution you'd like
Can we make the configuration of all supported databases available in the UI?
Additional context
Add any other context or screenshots about the feature request here. Describe any alternatives you've considered.

Yes, please add such support for RDF4J and Apache Jena.

I'm curious what environment values are needing to be changed.
Perhaps this is referring to the default connection environment values. These are optional, not required. You can launch Graph Explorer and create all your connections through the UI.


Live stream using SegmentURL is not working

I'm trying to use the SegmentURL but it seems that shaka-player is not able to play it. It's showing the message:
streaming_engine.js:1368 (audio:3) cannot find segment: currentPeriod.startTime=0 lookupTime=839769.003000021

The funny thing is, when I change to my SegmentTimeline representation (to the same data) it works.
Have you read the FAQ and checked for duplicate open issues?: Yes
What version of Shaka Player are you using?: Latest (master)
Can you reproduce the issue with our latest release version?: yes
Can you reproduce the issue with the latest code from master?: yes
Are you using the demo app or your own custom app?: the shaka's demo
If custom app, can you reproduce the issue using our demo app?:
What browser and OS are you using?:  Just tried to play it.
What did you expect to happen? Play it.
What actually happened? It didn't start to play and it shows the following message streaming_engine.js:1368 (audio:3) cannot find segment: currentPeriod.startTime=0 lookupTime=839769.003000021

@joeyparrish thanks, this is running on my dev enviroment I'll try to find a way to expose it. 👍

Thank you!

@joeyparrish we should keep this closed, the TV we were testing is playing regular HLS but maybe in the future we can come back to this, thank you very much!


python3Packages.identify: 2.2.10 -> 2.2.11

Motivation for this change
Update to latest upstream release 2.2.11
Things done

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

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

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Relase 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

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 129858 run on x86_64-linux 1

5 packages built:

pre-commit (python38Packages.pre-commit)
python38Packages.identify
python39Packages.identify
python39Packages.pre-commit
wlc

Result of nixpkgs-review pr 129858 at f695e178 run on aarch64-linux 1

5 packages built successfully:

pre-commit (python38Packages.pre-commit)
python38Packages.identify
python39Packages.identify
python39Packages.pre-commit
wlc


Update README.md

Add readme

@all-contributors please add @agupta15k  for infrastructure, tests and code

@all-contributors please add @nagarajumadamshetti  for infrastructure, tests and code

https://github.com/all-contributors please add @agupta15k  for infrastructure, tests and code


New webui

Replaces the WebUI with a new Vite+React-based app and a tiny node-based API for running the build commands.
New features:

Dynamic NixOS configuration form based on schema.json

Backend for handling form submission

Fetch hostnames/configurations/SSV public keys for running nodes automatically
SSV operator registration through MetaMask+ethers.js integration
Query a node's HTTP-api

Instructions:

In the project root, run yarn to install dependencies
To run in development mode, use yarn dev
To build and run the production version, use yarn build && yarn preview

So there are some requirements from the yarn2nix tool listed here: https://nixos.wiki/wiki/Node.js. I put the required permissions and features back to the package.json.
The nodejs app likely has to support static folders. For example,
app.use(express.static('webui/dist'))

works after the yarn build. This means that the nodejs app needs to import the UI project so that it can get the files from the dist folder into scope. But then, there also has to be a way to support additional static folders where we store runtime things like the JSON files (which is a separate folder from dist). The easiest is to probably make two static asset folders which one has the UI dist files, and the other has the runtime values.
Currently, the nix scripts put files into the webui folder, but now that it basically houses the vite project, I think it's a bad place to put the runtime values. Something that could also work is that a tmp directory is created in server initialization and the path of that is passed to nodejs which mount the tmp dir as static asset directory. This way it becomes clear that no JSON files would be accidentally check into git, because those are supposed to be ephemeral and always derived from Nix configurations.

And to clarify, because of how we abuse the process pipe, we cannot use something like nodemon or vite serve, which may output something into the stdout. Instead, when you run nix build, a binary file will appear in a results folder which is the nodejs app packaged as a binary. Running this scripts encapsulates the right nodejs version and avoids us to need a separate daemonizer.


CFE declaration in Azure when big IP is not the pool member GW

Description
In my environment all routes tables have a default route pointing to o the Azure FW which is located in different Virtual Network (but same region and subscription than F5 and pool members), wondering what route table should be added in the declaration because there is a lack of information regarding a declaration example when Bigip and pool members are behind an Azure FW.
Please advise how a declaration looks like in this scenario regarding route table, because CFE is not working as expected.
Environment information
For bugs, enter the following information:

Cloud Failover Extension Version: 1.13.0
BIG-IP version: BIG-IP <IP_ADDRESS> Build 0.0.4 Point Release 2
Cloud provider: Azure

Severity Level
For bugs, enter the bug severity level. Do not set any labels.
Severity: 3

Hi @marpad20, just to clarify, your clients are routed to the Azure FW and then you want the Azure FW to use the active BIG-IP as the next hop? If so then you need to add (either by tag or scoping address in CFE config) the route table where the egress interface of the Azure FW lives. If that is not working, can you share the output of this command on the device that became active: tail -f /var/log/restnoded/restnoded.log | grep f5-cloud-failover
thanks

Hi Mike,
Thanks for prompt reply.
Yes, Traffic this is the flow. Client->Az FW <-> F5 <-> Az FW <->Web servers.
We will update the declaration with you advise and let you know.
Ty.

HI @mikeshimkus , the azure FW egress subnet does not have a route table associated. do you have any clue how to write the declaration then?
Azure FW is in VNET A,  F5 VM is in VNET B and there is a peering between them.
Please advise

It will need to have a route table associated.

Sorry, I'm not clear. Previously you said that CFE was not working as expected. Are you saying that now it is using the active F5 virtual machine for the next hop when the HA pair fails over?

@mikeshimkus , what i am trying to say is that when VM1 is active traffic properly hits the VIPs, but when i do manual failover and force the VM1 to standby, VIP is failing, for a short period of time i see traffic still hitting the VM1 for that VIP but i see no reply back from VIP, and then after 1 or 2 minutes suddenly VM1 fails back to active but VM2 keeps as active and both VMs sends ARPs request asking for the VIP IP. Traffic VIP is recovered when i forced VM2 to standby.
I know that both in active is expected not to work, but why if VM1 fails back to active the VM2 remains active too?
and
why during the period VM2 is active traffic is not forwarded to it. (if traffic hits the VM1 without any UDR attached to the FW)
I hope i can explain.
Thanks in advance for your help.
Marlon P.

It is unclear to me how you have this setup. Can you share your CFE logs (cat /var/log/restnoded/restnoded.log | grep f5-cloud-failover)? If you can open a support case so we can see the configuration, that would be helpful.
How are you routing traffic to the self IP address of the active VM, if not using Azure route table?

How are you routing traffic to the self IP address of the active VM, if not using Azure route table?
Hi @mikeshimkus , last time i have asked that but so far i have not a good answer.
In the mean time, does F5 has a design document/guide with Azure FW as the GW for every subnet (F5 and Nodes)?
FW is a HUB virtual Network and F5 in a "spoke" different virtual network.
Thanks in advance

Closing. Please leave a message here, if you would like additional assistance, and I will reopen the issue.


Bug: No way to redirect back from Blog Page

There's no link to go back to home page from the blog page

Suggested Solution:

link the website logo to the index page
adding navigation menu to the blog page

Can you assign this task to me

I would like to work on this issue. Could you please assign me this task


Validate the name field (only for role = personal)

Validate that there is at least one comma and one non-space character on either side of the comma
Near the name field box show an example of a name entered in the correct format.

Design docs have been updated

Now not needed


Fix issue#166 alias_method_chain not working in Rails 5

Fix issue#166 alias_method_chain not working in Rails 5
Changes include:

Use Module.prepend instead of alias_method_chain
Combined codes from DateTimeSelect and TimelinessDateTime into TimelinessDateTimeSelect
Modified initialize method as per latest method definition
Removed change method as I did not find it being used for the purpose. Do let me know if it is still needed.
Renamed value_with_timeliness to value and modified definition to use changes of Module.prepend
Now DateTime.new(), Time.utc() or any other similar method works differently

Either it does not accept invalid date parameters raising error as 'invalid date'
For example: DateTime.new(2018, 2, 31, 10, 16, 0) raises ArgumentError: invalid date

Or active_record internally converts date to next correct date
For example: 31st February is converted to 3rd March

Due to this changed behaviour, got to change the way value (datetime with errored date parameters) is passed
Also changed param.scan(/\((\d+)\w+\)/).first.first to prettier alternative param[/\((\d+)\w+\)/, 1]

@adzap Please review changes.
I am already using changes in my Rails 5.2.0 project.
As Travis CI is failing please let me know changes to make tests run for Rails 5


Remove remaining ignore warnings filters

The rest of work towards #7524, minus a test that no filters are added

Randomly passing by. I am impressed at how fast someone did this ;). About the test, if you guys want it:
https://github.com/numpy/numpy/blob/master/numpy/tests/test_warnings.py
is what I put into numpy to do such a test. The code simultaneously checks for stacklevel argument to warnings.warn

In the previous PR it seemed some warnings
(test_base:test_eq/test_ne/...) were emitted under pytest that did not
appear with nose. Maybe the issue has to do with using catch_warnings in
some completely different part of the tests to silence stuff, and the
order in which the tests are run...

@pv possibly, but after this such effects should be completely gone. I.e. numpy test suit can be run twice and it will still works after we did this too.

Ok, if this removes all improper warning filtering, then it should be
fine. I think we also want to add the ast test that numpy has (to
scipy/_lib/tests ?), to ensure it won't occur again. Stacklevels would
also be nice to add.

Thinking about it more, I guess you may also be running into a lot of warning that numpy's test runner ignores for scipy, though those should not be random. I suppose since scipy will probably never want to actually test for those, using the global ignores in the pytest.ini (if I saw it correctly) would be fine.

I'm not sure about that --- the warnings were SparseEfficiencyWarnings
which presumably aren't ignored by default?

Hmm, yeah, then it could be ignore filters flying around and test order mattering. Somewhat would not expect this to show up on newer python versions even with "ignore" filters, though, so a bit surprising.
So not too unlikely that it is due to the fact that the sparse test suit is so very complex and that leads to some different execution nesting and not just different test order. Which also seems odd, to b e honest.

@pv I've restored the filters outside of tests and made the other requested fixes. (The commit with these changes should be squashed before merging.)

Thanks, merged in 9f43d808a28ca67683e8 (without the signaltools part).


Libretro

a WIP pull request for libretro support. Not ready to be merged yet.

One observation is that if you drag from the bottom touch screen to a location overlapping the top touch screen of the NDS, it yields erratic touch points. I assume this is a result of not sanitizing the touch coordinates to only the region of the bottom touch screen.
I also can't seem to get cheat codes to work correctly. Have you tested them out?

What cheat codes are not working properly for you?

Can you resolve the merge conflict please?


Compile LESS files to lib/

This avoids changing the src/ folder while building, which causes an infinite loop in watch.
I started down the path of using less-loader in WebPack, but it quickly got to be cumbersome to rectify both CSS and LESS files, and would have required us to update all the examples (as well as anyone consuming the library), so I elected to do this instead.

Looks good, merging


Add authentication using reader-based keys

This adds the ability to supply keys using io.Readers instead of file paths. This serves the case when keys are not available as files.
myKey := strings.NewReader("private key")
tun.SetKeyReader(myKey)

Very useful! Thank you!


Mobile - Missing Clickable areas

The following areas are clickable with the betting site like on the desktop version.

Amended - reflected in the next Pull-Request


Fix conversion to python 3 in translation workflows

Fix diskutils.py and HttpGet when downloading raw functions to work with python 3.

/ok-to-test


Voice Chat Decompressed Audio Issue

Describe the bug
I was following the Voice Chat tutorial on the GodotSteam website, but encountered an issue that I cannot find any other issue's related to it or anything wrong in my code that could fix it (at least to my eye). When I try to decompress my voice data, it returns a result of VOICE_RESULT_BUFFER_TOO_SMALL. I looked at the line where I am decompressing the audio, and if I swap the last two parameters, (which is how it was in the tutorial) I'll get a different error that says VOICE_RESULT_DATA_CORRUPTED. I'm not sure what either of these errors mean or what I'm doing wrong, I have my code attached in the screenshots below.
To Reproduce
Steps to reproduce the behavior:
Follow the voice tutorial on https://godotsteam.com/tutorials/voice/#__tabbed_1_2
Expected behavior
When attempting to decompress the audio, it should return one of the two errors, VoiceResult 4 or 5.
Screenshots

Desktop (please complete the following information):

OS: MacOS Macbook Pro (tested on Windows too however)
Version Sonoma 14.6.1

Version of Godot:
Godot 4.3
Version of GodotSteam:
https://github.com/GodotSteam/GodotSteam/releases/tag/v4.11
along with the ExpressoBits SteamMultiplayerPeer plug in: https://godotengine.org/asset-library/asset/2258

Found the solution, apparently in this line
 var decompressed_voice: Dictionary = Steam.decompressVoice(voice_data['buffer'], current_sample_rate, voice_data['buffer'].size())
I didn't need to include the last parameter, which was messing it up.

Hey there!  Sorry for the late reply.  Yeah, the function changed in GodotSteam and the tutorial isn't updated yet.  They are all being overhauled currently.  Sorry for the confusion!

Hey there! Sorry for the late reply. Yeah, the function changed in GodotSteam and the tutorial isn't updated yet. They are all being overhauled currently. Sorry for the confusion!

It's all good, I do have another question tho 😅 , is there a way to set which mic is being used to take input? There doesn't seem to be any functions in the Steam library to actually set it and AudioServer.input_device doesn't work either since it's not using Godot's audio system.

As far as I understand it, the mic is controlled by whatever the Steam client itself has set up.  The SDK is just interacting with it and Steam's back-end.  There is no way to affect it by the SDK itself.

Hmmm okay I see, thanks man. Final question (😓), do you know what causes audio crackling? It seems to only happen to specific people, not sure what is causing it
Thanks a lot for your help, really appreciate it

That I am not sure of.  I have had it happen to me both when testing Voice and when using Steam chat in the client.  My guess is something with the client's interaction with the user's hardware.  It was never super-consistent when it happened and when it didn't.  I have had it happen on both Windows and Linux, and in each case it was rare.


Fix failing test TestAggregateCompatGroupDocDotNotation

Description

See https://github.com/FerretDB/FerretDB/pull/2246#issuecomment-1487999359
and failing test https://github.com/FerretDB/FerretDB/actions/runs/4550452790/jobs/8023489900
[42] and 42 are the same sort order, so result in compat and target may be ordered whichever is first. This PR updates provider so that it produces unique sort order of result.
Readiness checklist

[ ] I added/updated unit tests.
[ ] I added/updated integration/compatibility tests.
[ ] I added/updated comments and checked rendering.
[ ] I made spot refactorings.
[ ] I updated user documentation.
[ ] I ran task all, and it passed.
[x] I ensured that PR title is good enough for the changelog.
[x] (for maintainers only) I set Reviewers (@FerretDB/core), Assignee, Labels, Project and project's Sprint fields.
[x] I marked all done items in this checklist.

[42] and 42 are the same sort order, so result in compat and target may be ordered whichever is first

That should be solved by always sorting by _id at last, and not allowing arrays for _id

See the example https://github.com/FerretDB/FerretDB/pull/2246#issuecomment-1487999359, the result only has _id field and sorting is applied implicitly by aggregation test.

because _id is [42]

It should not be possible to set _id to [42]. From https://www.mongodb.com/docs/manual/core/document/#field-names:

The field name _id is reserved for use as a primary key; its value must be unique in the collection, is immutable, and may be of any type other than an array.

If MongoDB breaks their own documentation there, let's consider that their mistake and don't repeat it.

That is unfortunately the case :cry:

Could we set a different field in that test?

If we set other field to the test, we will lose a test case capturing existing dot notation, v.foo is what we have now. The failing test and the ArrayAndDocuments were added at the same time to cover the case where v.foo exists in array-document and also document in this pr https://github.com/FerretDB/FerretDB/pull/2263. That's why I think updating provider is fine for this case

Please see #2316

Closing since this is not the way we want to handle this.


istio1.5.0  ingressgateway not ready for Readiness probe failed: HTTP probe failed with statuscode: 503

Bug description
describe pod  istio-ingressgateway-968cdfcb5-5tqdc:
Events:
Type     Reason     Age                       From                                           Message

Warning  Unhealthy  81s (x125071 over 2d21h)  kubelet, web-49-86-hzifc.node.hzifc.wacai.sdc  Readiness probe failed: HTTP probe failed with statuscode: 503
logs istio-ingressgateway-968cdfcb5-5tqdc:
2020-03-17T07:08:47.703135Z	info	Envoy proxy is NOT ready: config not received from Pilot (is Pilot running?): cds updates: 0 successful, 0 rejected; lds updates: 0 successful, 0 rejected
2020-03-17T07:08:49.702625Z	info	Envoy proxy is NOT ready: config not received from Pilot (is Pilot running?): cds updates: 0 successful, 0 rejected; lds updates: 0 successful, 0 rejected
2020-03-17T07:08:50.929493Z	info	sds	node:router~<IP_ADDRESS>~istio-ingressgateway-968cdfcb5-5tqdc.istio-system~istio-system.svc.cluster.local-3065 resource:default new connection
2020-03-17T07:08:51.190115Z	error	citadelclient	Failed to create certificate: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp <IP_ADDRESS>:15012: connect: connection timed out"
2020-03-17T07:08:51.240415Z	warn	cache	node:router~<IP_ADDRESS>~istio-ingressgateway-968cdfcb5-5tqdc.istio-system~istio-system.svc.cluster.local-3065 resource:default request:6224fc90-083b-400e-b083-f4df8eef215a CSR failed with error: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp <IP_ADDRESS>:15012: connect: connection timed out", retry in 50 millisec
2020-03-17T07:08:51.240650Z	error	citadelclient	Failed to create certificate: rpc error: code = Unavailable desc = connection error: desc = "transport: Error while dialing dial tcp <IP_ADDRESS>:15012: connect: connection timed out"

Can you please look into the istiod pod and see if it is healthy and endpoints are ready?

Without additional information, am not sure how we can move forward with this. Please update with more information and see https://github.com/istio/istio/wiki/Troubleshooting-Istio. Thanks!


Lightning

This PR closes #29 , closes #26 and closes #23 although not really resolving it (yet)

#29 is not possible due to the Pennylane implementation (or we would have to get fancy and build it on our own)
#26 is not possible to resolve by the lightning backend, because it does not support it
#23 could be implemented, but tests did not showed any advantage of sampling the density matrix
However, could be that I'm getting sth. wrong :see_no_evil:

Nevertheless, I added a threshold (12 qubits) for switching over to the lightning.qubit device (statevector sim) and corresponding tests.
Also I added a test for the drawing fct.

found a combination that should work, according to documentation, but still not getting grads


fix(): Fixing tests and increase reconcile time

Fixed tests (skipping flaky tests to unblock)
Increased reconcile time to 2 minutes

report link  'https://kubeslice.github.io/e2e-allure-reports/Kind-worker-operator-2023-03-21T05:32:43-master-389/index.html'


create admin secrets only when admin user is created

what

create resources related to admin user only when this user is enabled (based on engine type)
minor improvements for locals usage

why

no need to create extra resources

references

NA

/test all

@gberenice looks good -- 2 requests to make the locals block a bit easier to read.
One other thing, for our specific use-case of this module... do we want the application user resources (random-* + SSM params) created? It seems all this PR will do is avoid creating the admin user creds as SSM param resources, which is a plus for our RMQ usage since they're not needed, but I'm wondering if we want the application user created at all. Can you share your thoughts there?

In resource aws_mq_broker argument user and its username/password are required , we can't disable it. This user is created with administrator tag by default, that is exactly what we do with rabbitmq provider. So for our case the best option would be to manage this user with aws provider, and all other resources (like vhosts/permissions/etc) - with rabbit provider. I started work on this fork, before actually realizing that, but hope these changes still make sense:)

/test all

/test all


Cost of Multiple Dimensions per vehicle using SetArcCostEvaluatorOfVehicle

Hi,
I want to know if is possible to consider more than one cost (matrix cost) for the VRP problem. For example, I implement the basic VRP that minimize the distance (route) for each vehicle, using this code.
# General matrix
    def distance_callback(from_index, to_index):
        """Returns the distance between the two nodes."""
        # Convert from routing variable Index to distance matrix NodeIndex.
        from_node = manager.IndexToNode(from_index)
        to_node = manager.IndexToNode(to_index)
        return data['distance_matrix'][from_node][to_node]

    transit_callback_index = routing.RegisterTransitCallback(distance_callback)
     Define cost of each arc.

    routing.SetArcCostEvaluatorOfAllVehicles(transit_callback_index)

     Add Distance constraint.
    dimension_name = 'Distance'
    routing.AddDimension(
        transit_callback_index,
        0,  # no slack
        3000,  # vehicle maximum travel distance
        True,  # start cumul to zero
        dimension_name)
    distance_dimension = routing.GetDimensionOrDie(dimension_name)
    distance_dimension.SetGlobalSpanCostCoefficient(100)`

If I add a new matrix cost per vehicle using the next code, the model will be consider the last matrix per vehicle or will be consider the basic matrix for all vehicle and the particular matrix per vehicle?
Particular matrix
for vehicle_idx in range(data['n_vehicles']):
    def vehicle_cost_callback(from_index, to_index, i=vehicle_idx):
        from_node = manager.IndexToNode(from_index)
        to_node = manager.IndexToNode(to_index)
        return data['vehicle_costs'][i] * data['time_matrices'][i][from_node][to_node]
    cost_callback_index = routing.RegisterTransitCallback(vehicle_cost_callback)
    cost_callback_indices.append(cost_callback_index)
    routing.SetArcCostEvaluatorOfVehicle(cost_callback_index, vehicle_idx)

cost_dimension_name = 'Cost'
routing.AddDimensionWithVehicleTransits(
    cost_callback_indices,
    0,
    max_int,
    False,
    cost_dimension_name)`

Finally, if the answer is yes, how can I print both solution separate
Thank you so much !

Has anyone solved the problem of different costs for a different vehicle? Please give me the source code. I am failing again and again
def main():
"""Solve the CVRP problem."""
# Instantiate the data problem.
data = create_data_model()
# Create the routing index manager.
manager = pywrapcp.RoutingIndexManager(len(data['distance_matrix']),
                                       data['num_vehicles'], data['starts'],
                                       data['ends'])

# Create Routing Model.
routing = pywrapcp.RoutingModel(manager)
cost_callback_indices=[]

for vehicle_idx in range(data['num_vehicles']):
  def vehicle_cost_callback(from_index, to_index, i=vehicle_idx):
    from_node = manager.IndexToNode(from_index)
    to_node = manager.IndexToNode(to_index)
    return data['distance_matrix'][i][from_node][to_node]
  cost_callback_index = routing.RegisterTransitCallback(vehicle_cost_callback)
  cost_callback_indices.append(cost_callback_index)
  routing.SetArcCostEvaluatorOfVehicle(cost_callback_index, vehicle_idx)

dimension_name = 'Cost'
routing.AddDimensionWithVehicleTransits(
    cost_callback_indices,
    0,
    10000000,
    False,
    dimension_name)
distance_dimension = routing.GetDimensionOrDie(dimension_name)
distance_dimension.SetGlobalSpanCostCoefficient(100)

# Add Capacity constraint.
def demand_callback(from_index):
    """Returns the demand of the node."""
    # Convert from routing variable Index to demands NodeIndex.
    from_node = manager.IndexToNode(from_index)
    return data['demands'][from_node]

demand_callback_index = routing.RegisterUnaryTransitCallback(
    demand_callback)
routing.AddDimensionWithVehicleCapacity(
    demand_callback_index,
    0,  # null capacity slack
    data['vehicle_capacities'],  # vehicle maximum capacities
    True,  # start cumul to zero
    'Capacity')

# Setting first solution heuristic.
search_parameters = pywrapcp.DefaultRoutingSearchParameters()
search_parameters.first_solution_strategy = (
    routing_enums_pb2.FirstSolutionStrategy.PATH_CHEAPEST_ARC)
search_parameters.local_search_metaheuristic = LocalSearchMetaheuristic.TABU_SEARCH
search_parameters.time_limit.seconds = 10
search_parameters.log_search = True

# Solve the problem.
solution = routing.SolveWithParameters(search_parameters)

# Print solution on console.
if solution:
  print_solution(data, manager, routing, solution)

else:
  print('No solution')

Has anyone solved the problem of different costs for a different vehicle? Please give me the source code. I am failing again and again
def main():
"""Solve the CVRP problem."""
# Instantiate the data problem.
data = create_data_model()
# Create the routing index manager.
manager = pywrapcp.RoutingIndexManager(len(data['distance_matrix']),
                                       data['num_vehicles'], data['starts'],
                                       data['ends'])

# Create Routing Model.
routing = pywrapcp.RoutingModel(manager)
cost_callback_indices=[]

for vehicle_idx in range(data['num_vehicles']):
  def vehicle_cost_callback(from_index, to_index, i=vehicle_idx):
    from_node = manager.IndexToNode(from_index)
    to_node = manager.IndexToNode(to_index)
    return data['distance_matrix'][i][from_node][to_node]
  cost_callback_index = routing.RegisterTransitCallback(vehicle_cost_callback)
  cost_callback_indices.append(cost_callback_index)
  routing.SetArcCostEvaluatorOfVehicle(cost_callback_index, vehicle_idx)

dimension_name = 'Cost'
routing.AddDimensionWithVehicleTransits(
    cost_callback_indices,
    0,
    10000000,
    False,
    dimension_name)
distance_dimension = routing.GetDimensionOrDie(dimension_name)
distance_dimension.SetGlobalSpanCostCoefficient(100)

# Add Capacity constraint.
def demand_callback(from_index):
    """Returns the demand of the node."""
    # Convert from routing variable Index to demands NodeIndex.
    from_node = manager.IndexToNode(from_index)
    return data['demands'][from_node]

demand_callback_index = routing.RegisterUnaryTransitCallback(
    demand_callback)
routing.AddDimensionWithVehicleCapacity(
    demand_callback_index,
    0,  # null capacity slack
    data['vehicle_capacities'],  # vehicle maximum capacities
    True,  # start cumul to zero
    'Capacity')

# Setting first solution heuristic.
search_parameters = pywrapcp.DefaultRoutingSearchParameters()
search_parameters.first_solution_strategy = (
    routing_enums_pb2.FirstSolutionStrategy.PATH_CHEAPEST_ARC)
search_parameters.local_search_metaheuristic = LocalSearchMetaheuristic.TABU_SEARCH
search_parameters.time_limit.seconds = 10
search_parameters.log_search = True

# Solve the problem.
solution = routing.SolveWithParameters(search_parameters)

# Print solution on console.
if solution:
  print_solution(data, manager, routing, solution)

else:
  print('No solution')

https://github.com/google/or-tools/blob/b77bd3ac69b7f3bb02f55b7bab6cbb4bab3917f2/ortools/constraint_solver/routing.h#L893-L898
https://github.com/google/or-tools/blob/b77bd3ac69b7f3bb02f55b7bab6cbb4bab3917f2/ortools/constraint_solver/routing.cc#L1176-L1188
So as you can it will replace the previous "cost" i.e. you can only have ONE arc cost per vehicle...

https://github.com/google/or-tools/blob/b77bd3ac69b7f3bb02f55b7bab6cbb4bab3917f2/ortools/constraint_solver/routing.h#L893-L898
https://github.com/google/or-tools/blob/b77bd3ac69b7f3bb02f55b7bab6cbb4bab3917f2/ortools/constraint_solver/routing.cc#L1176-L1188
So as you can it will replace the previous "cost" i.e. you can only have ONE arc cost per vehicle...


Add support for geodesic circles

The circle draw interaction is inaccurate for large circles, especially far north and south. The https://openlayers.org/en/latest/examples/draw-and-modify-geodesic.html example i basically what we need.

https://github.com/openlayers/openlayers/issues/12859


Deploying test version of cocoon to flutter-dashboard-dev is not working

When deploying a test version of the dashboard to flutter-dashboard-dev, the deployed app fails to load test data.
Deployment was performed via:
~/src/cocoon/app_dart$ dart dev/deploy.dart --project flutter-dashboard-dev --version test
And the errors seen on the instance are of the type:
GET /api/public/get-branches - 500.0
and
Uncaught error in request handler: connect failed with timeout
#0      RedisCacheProvider._createContext (package:neat_cache/src/providers/redis.dart:68:7)
<asynchronous suspension>
#1      RedisCacheProvider._withRedis (package:neat_cache/src/providers/redis.dart:113:17)
<asynchronous suspension>
#2      _Entry.get (package:neat_cache/neat_cache.dart:163:15)
<asynchronous suspension>
#3      CacheService.getOrCreate (package:cocoon_service/src/service/cache_service.dart:60:15)
<asynchronous suspension>
#4      CacheRequestHandler.get (package:cocoon_service/src/request_handling/cache_request_handler.dart:57:38)
<asynchronous suspension>
#5      RequestHandler.service.<anonymous closure> (package:cocoon_service/src/request_handling/request_handler.dart:46:22)
<asynchronous suspension>
#6      main.<anonymous closure>.<anonymous closure> (file:///app/bin/server.dart:136:9)
<asynchronous suspension>

I filed https://github.com/flutter/flutter/issues/80992 for the Cocoon fix

We need to enable redis on flutter-dashboard-dev

There's a redis instance available. Feel free to reopen if there are still issues.


Add inline request bodies to YAML

Summary:

We're adding the ability to declare request bodies inline with the endpoint, rather than needing to declare a separate type for the request body.
If the SDK will generate a "request wrapper", then the user must specify a "request wrapper name" in the YAML

Motivation:

https://github.com/fern-api/fern/issues/966
https://github.com/fern-api/fern/issues/967

Plan:
...
endpoints:
  setUser:
    path: /users/{userId}
    request:
      name: SetUserRequest # this is the name of the request wrapper
      path-parameters:
        userId: string
      query-parameters:
        ...
      headers:
        ...
      body: # can also do body: <name of type>
        extends: ...
        properties: ...

Done!


Couldn't open in browser

If not mistaken, we should run npm install && npm run dev in terminal once we get these
VITE_BOTPRESS_TOKEN=
VITE_BOTPRESS_BOT_ID=
VITE_BOTPRESS_WORKSPACE_ID=
after that we are able to open the browser and get VITE_BOTPRESS_BOT_ID_AS_USER=?
Now my issue is I couldn't open the browser with these step.

Now I can open the browser, but it shows can't load older conversation

I was having the same problem, heres what i did and worked. put your .env file not inside botpress-user-test (i changed the name of it) and not inside "botress-inbox-main". also your bot id, worskspace id, etc should not be in quotation marks and the ids should just be pasted in plain text with no spaces. Rerun the server and it should work


2400 Mycobacterium phage genomes annotated, only 700 were successful

I'm from https://phagesdb.org/ I downloaded 2400 genomes of mycobacterial bacteriophages and annotated them in bulk, but only over 700 were successfully annotated. I don't know where the problem lies.
Taking the genome in the attachment as an example, I have failed to annotate it individually or in bulk.
https://phagesdb.org/media/fastas/Abinghost.fasta

I can run sphae annotate on the provided fasta file without a problem. I didn't run into an error. Can you confirm that you are running the latest version of sphae, which is v1.4.5. If you are, can you send me the sphae.log generated in the output directory and the command run.
Finally, the other suggestion is to download and run the sphae docker instance, which would ensure the correct versions are run.

Thank you for your reply. I have retested and it was successful this time.
Additionally, I have tested two previous comments that failed but were also
successful. I plan to re annotate 2400 genomes and provide feedback if
there are any issues. thank you
Bhavya Papudeshi @.***> 于2024年12月23日周一 23:09写道：

I can run sphae annotate on the provided fasta file without a problem. I
didn't run into an error. Can you confirm that you are running the latest
version of sphae, which is v1.4.5. If you are, can you send me the
sphae.log generated in the output directory and the command run.
Finally, the other suggestion is to download and run the sphae docker
instance, which would ensure the correct versions are run.
—
Reply to this email directly, view it on GitHub
https://github.com/linsalrob/sphae/issues/39#issuecomment-2559874438,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BN2EPQ47F64BKCOLJRJKUMT2HARSZAVCNFSM6AAAAABUC5X5ZGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKNJZHA3TINBTHA
.
You are receiving this because you authored the thread.Message ID:
@.***>

That's great; let me know if you run into any other errors.


Proxy problem with phone numbers from different countries.

Hi
I have some problem with login.
When i use US number and US proxy login working fine for me and I got connectionState - ConnectionStateReady after ~1 sec
, but when I use Indian phone number with same US proxy  - i'm stuck with
connectionState  - ConnectionStateConnectingToProxy

It is impossible that connection to proxy depends on the request you send. The proxy is likely to be unreachable from the place you are trying to use it with the Indian phone number.

I tried from same computer with a difference of 5 minutes. US number work fine and  Indian stuck with
ConnectionStateConnectingToProxy . I can send you TDLib logs if you want

Sure. Send logs with verbosity level 4 to @tdlib_bot.

i am sending it now

There was a problem with HTTP proxies not supporting IPv6 and connecting to the Asian DC. It was fixed in TDLib 1.6.0.


(647) Support embed codes in inline preview

This updates the inline Govspeak preview within Whitehall to support embed codes. As we have the luxury of Whitehall being within the confines of Whitehall, it's fairly easy for us to use the content_block_tools gem to parse the Govspeak, pull out the references, fetch the content blocks and then replace the embed code with the rendered blocks.
Screenshots
Raw Govspeak

Preview

Trello card https://trello.com/c/cbXSET85/647-investigate-inline-preview-in-whitehall


TestNG WARNING: An illegal reflective access operation has occurred

TestNG Version

Note: only the latest version is supported
This issue seems with testng6.11 with Java 12.

Expected behavior
Testng warnings are thrown while executing test suite from maven on Mac which should not be thrown.
Following are the environment details :

Java 12.0.1
Maven 3.6.1
Testng 6.11

Actual behavior
Stack trace -
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.testng.xml.XMLParser (/testng-6.11.jar) to constructor com.sun.org.apache.xerces.internal.jaxp.SAXParserFactoryImpl()
WARNING: Please consider reporting this to the maintainers of org.testng.xml.XMLParser
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
Is the issue reproductible on runner?

[ ] Shell
[ ] Maven

Test case sample

Please, share the test case (as small as possible) which shows the issue

@SonaliBurghate - You seem to be using a very old version of TestNG. The latest released version of TestNG is 7.0.0-beta5. Please try again using that and let us know what you see.

@krmahadevan Thanks for looking into the the issue. However I cannot find TestNG 7.0.0-beta5 version in maven repository (https://mvnrepository.com/artifact/org.testng/testng).  I tried with 7.0.0-beta1 to 7.0.0-beta4, all of them throws error to me for using testNG annotations such as @BeforeMethod, @AfterMethod and failed to compile the code.
SoI tried with v 6.14.3 and it still shows me the warning. "WARNING: An illegal reflective access operation has occurred"
Let me know your thoughts . Thank you.

@sonaliburghate - 7.0.0-beta5 is not yet synced to Maven central. It's only available in JCenter.
Please refer this SO post to learn how to work with a JCenter repository.
https://stackoverflow.com/questions/44265547/how-to-properly-specify-jcenter-repository-in-maven-config/44304245

Thanks @krmahadevan . Sorry, but I am not willing to use JCenter at this point. Do u think it should work with 7.0.0-beta4?
If yes, i will again try for 7.0.0-beta4 version .

@SonaliBurghate - beta4 is a bad build. You cannot use that. You can try using beta3 as well. The problem should have resolved in that too. I remember removing this explicit reference to an internal class of JDK via this commit. So I think it should no longer exist.

Sure. I will give it a try and let you know. Thanks

@SonaliBurghate - If the problem is gone, please do help close off the issue as well.

@krmahadevan Sure.

ping @SonaliBurghate - Any updates on this? Can we close this issue ?

Sorry @krmahadevan for late reply. Issue is resolved for me. Closing it.

7.0.0-betta3 still has this issue.

@VolodymyrHunko - The latest released version is 7.0.0-beta7. Please try again in that. If this is still a problem, please help share a sample and also the JDK version that you are using.

Same issue with betta7.

@VolodymyrHunko  your exception doesn't seem to be stemming from TestNG. Please take a closer look, it looks like its hinting at some groovy plugin which is having this problem. Here's a corresponding issue related to this https://github.com/magarena/magarena/issues/1368
TestNG doesn't have anything to do with this problem.

Thanks


Cannot convert argument of type class java.net.SocketException

Description
Sometimes I get this error: Cannot convert argument of type class java.net.SocketException. I cannot reproduce it because sometimes appears, sometimes not... most of the time it doesn't appear

@preduseldavid 👋👋👋. Could you provide more info about your environment? (RN version, library version, OS, etc.)
Could you also provide the socket configuration with some code for context?

The current version (just upgraded RN from 0.61.5 a few days ago - the bug was saw on RN 0.61.5)
System:
OS: Linux 5.3 Linux Mint 19.3 (Tricia)
CPU: (4) x64 Intel(R) Core(TM) i5-7500 CPU @ 3.40GHz
Memory: 2.90 GB / 15.60 GB
Shell: 4.4.20 - /bin/bash
Binaries:
Node: 13.12.0 - /usr/bin/node
Yarn: Not Found
npm: 6.14.4 - /usr/bin/npm
Watchman: 4.9.0 - /usr/local/bin/watchman
SDKs:
Android SDK: Not Found
IDEs:
Android Studio: 3.5 AI-191.8<IP_ADDRESS>10548
Languages:
Python: 2.7.17 - /usr/bin/python
npmPackages:
@react-native-community/cli: Not Found
react: 16.11.0 => 16.11.0
react-native: 0.62.0 => 0.62.0
npmGlobalPackages:
react-native: Not Found
"react-native-tcp-socket": "^3.4.0" - I haven't tested it yet on this newer version (3.4.1)

Thanks for the info, I will check it out!
It will really speed things up if you could provide the piece of code that throws this error (and maybe the socket initialization configuration object).

async _connectToServer() {
var options = {host: this.serverHost, port: this.serverPort};
NetInfo.fetch().then(state => {
  if (state.isConnected) {
    let client = TcpSocket.createConnection(options, () => {
      if (!this._toastInternetShow && this._reconnecting)
        Toast.show('Connected', false, 3000);
      else Toast.hide();

      this._reconnecting = 0;
      this._toastInternetShow = true;
      this._internetServiceEnabled = true;

      /* Do we have the location available? */
      let location = locationService.getLocation();
      if (locationService.locationIsAvailable(location)) {
        /* Register - send our location coords */
        this.updateLocation(location);
      }
      this.queueSendingPacketResume();
    });

    client.on('data', data => {
      InteractionManager.runAfterInteractions(() => {
        this._readEvent(data);
      });
    });

    client.on('error', error => {
      this.client.destroy();

      if (!this._reconnecting) {
        this._reconnecting = 1;
        Toast.show('Reconnecting');
        setTimeout(this._connectCallback, 1000);
      }
    });

    client.on('close', () => {
      this.client.destroy();

      if (!this._reconnecting) {
        this._reconnecting = 1;
        Toast.show('Reconnecting');
        setTimeout(this._connectCallback, 1000);
      }
    });

    this.client = client;
  } else {
    this._reconnecting = 1;
    this._internetServiceEnabled = false;
    if (this._toastInternetShow) {
      this._toastInternetShow = false;
      Toast.show('You are Offline', false, 3000);
    }

    setTimeout(this._connectCallback, 2000);
  }
});

}
and this is how I send a message:
try {
this.client.write(buf);
} catch (e) {
this.queueSendingPacket(buf);
}

@preduseldavid, thanks. I found the issue! It is related to the callback exception handling when writing on the socket. I will release a fix ASAP.

@preduseldavid, I have released a fix that may resolve your issue 🎉. If the problem still persists, feel free to reopen this issue.
Looking at the root cause of the problem, the error Cannot convert argument of type class java.net.SocketException might be hiding another issue. If that is the case, please open a bug report and I will be happy to help!


Optimize fonts loading

Use font-display: swap
Preload Google Fonts CSS
Add Google Fonts URL to ignore by htmlproofer, to avoid false positive

What should happen to get this merged?

Go away bot.

@parkr can you please review this PR?

@ogonkov Hey, I'm afraid I'm not aware of the reasons for the changes you're making here. Could you please provide more information about why these changes are important?

This changes will make browser to preconnect to google fonts host, to decrease time to load fonts stylesheet. Also, i have added "swap" param, to make browser change font after it download, this will help to avoid flash of not loaded font.


Duplicate attribute name due to error parsing SQL

Hi, I'm using ontop in my project and I have decided to update it from 1.18 to 3.0.0-beta-1 version. I downloaded the protege bundle in order to try the new version but it threw an error (duplicate attribute name) when I tried to start the reasoner. The ontology and the mapping files works on the previous version.
I have downloaded the API examples and I have modified one of them in order to use my ontology and mappings and to be able to debug the code. I've figured out that the bug is in the function extract of the class SelectQueryAttributeExtractor. The conflictive mapping has the following SQL query:
SELECT ALMAES001.IDART,
     ALMAES001.CODART,
     ALMAES001.IDFAMI,
     ALMAES001.DESCRIP,
     ALMAES001.DESCRII,
     ALMAES001.MEDIDA,
     ALMAES001.DESCUENTO,
     ALMAES001.UNIDADES,
     ALMAES001.UDSENV,
     ALMAES001.IDTIPIVA,
     ALMAES001.UPC,
     ALMAES001.PVP1, ALMAES001.PVP2, ALMAES001.PVP3, ALMAES001.PVP4, ALMAES001.PVP5,
     to_char(ALMAES001.FECALTA,'YYYY-MM-DD') AS FECALTA,
     to_char(ALMAES001.FECBLO,'YYYY-MM-DD') AS FECBLO,
     ALMAES001.STCMIN,
     ALMAES001.STCMAX,
     ALMAES001.PUNRUP,
     ALMAES001.UBICACION,
     ALMAES001.IDCTACOMPRA,
     ALMAES001.IDCTAVENTA,
     ALESFO001.PRECIOFINAL

FROM ALMAES001
LEFT JOIN ALESFO001 ON ALMAES001.IDART = ALESFO001.IDART

It has a left join clause, which are not supported. Because of this, the method "extract" catch the exception and try to parse the SQL in order to retrieve the name of the columns:

    public ImmutableList<QuotedID> extract(String sql) throws InvalidSelectQueryException {

        try {
            ImmutableMap<QualifiedAttributeID, Variable> attrs = sqae.parse(sql).getAttributes();

            return attrs.keySet().stream()
                    .filter(id -> id.getRelation() == null)
                    .map(id -> id.getAttribute())
                    .collect(ImmutableCollectors.toList());
        }
        catch (Exception e) {
            final ImmutableList.Builder<QuotedID> attributes = ImmutableList.builder();

            // COULD NOT PARSE - do a rough approximation

            int start = sql.toLowerCase().indexOf("select") + "select".length();
            // might be a good idea to surround FROM with whitespaces
            int end = sql.toLowerCase().indexOf("from");
            if (end == -1)
                throw new InvalidSelectQueryException("Error parsing SQL query: Couldn't find FROM clause", sql);

            String projection = sql.substring(start, end).trim();

            // remove all brackets
            while (projection.matches("\\([^\\(]*\\)"))
                projection = projection.replaceAll("\\([^\\(]*\\)", "");

            for (String col : projection.split(",")) {
                // TODO: AS should be treated as optional
                String[] components = AS.split(col);
                String columnName = components[components.length - 1].trim();

                // ROMAN (25 Jan 2017): do not understand the purpose
                // split on spaces that are not inside single quotes
                // if (columnName.contains(" "))
                //    columnName = columnName.split("\\s+(?![^'\"]*')")[1].trim();

                // get only the column name (but not the qualifier table name)
                // eg: table.column -> column
                if (columnName.contains("."))
                    columnName = columnName.substring(columnName.lastIndexOf(".") + 1);

                QuotedID attribute = idfac.createAttributeID(columnName);
                attributes.add(attribute);
            }

            return attributes.build();
        }

Firstly it retrieves the text between select and from, which is supposed to be the column names. Then, for each element separated by a comma (which is supposed to be a column name), if it has spaces, it keeps only the last complete word and if it has a dot (".") then it performs a substring in order to keep only the text after the dot, else return the element. This method fails with the line "to_char(ALMAES001.FECALTA,'YYYY-MM-DD') AS FECALTA," because when it splits by commas, we have the following two elements "to_char(ALMAES001.FECALTA" and "'YYYY-MM-DD') AS FECALTA". The first element produces FECALTA according to the dot rule and the second element produces the same according to the rule of keeping the last word when there are more than one. Because of this "FECALTA" is added twice and the exception is thrown.
Is there any quick fix to avoid this behaviour?
Thanks in advance,
Fran Abad.

Hi @skomlaebri. I've sent a pull request with a possible solution.

@fanavarro Thanks a lot for the quick fix! We also have a fix from @kontchakov . We are evaluating both two solutions now.

Hi, thanks for reporting the problem we used the more general bugfix of  @kontchakov to solve the issue.


Add docker compose and ci for centos build

Hi @kgpai , @assignUser ,
I added the clean centos8 build as a nigthly job. I've also added it on the PR for testing purposes. As you can see on the Circle CI job (https://app.circleci.com/pipelines/github/facebookincubator/velox/16819/workflows/baabd601-62f4-45fc-8d78-3b02e8f095fc/jobs/104735) the only failure is the same one we are facing on Ubuntu 22.04:
6: ../../velox/common/file/tests/FileTest.cpp:176: Failure
6: Expected equality of these values:
6:   localFs->list(std::string_view(tempFolder->path))
6:     Which is: { "/tmp/velox_test_uySWnf/2", "/tmp/velox_test_uySWnf/1" }
6:   std::vector<std::string>({a, b})
6:     Which is: { "/tmp/velox_test_uySWnf/1", "/tmp/velox_test_uySWnf/2" }
6: [  FAILED  ] LocalFile.list (0 ms)

There is already an issue opened to track this failure: https://github.com/facebookincubator/velox/issues/3318
If you are ok with this PR I will remove from the Circle CI config the run on each PR and we can merge it.


After the server is powered off, the virtual machine starts up abnormally.

What happened:
After the system node is restarted, the virtual machine starts up abnormally，entering the desktop of the windows10 system, it prompts that the memory is unreadable bug.  After waiting for a while, node restarts the system automatically.

Environment:

KubeVirt version (use virtctl version):  0.58.0
Kubernetes version (use kubectl version): 1.21.14

Hi, would it be possible to collect the logs from virt-launcher pod? We need to see if libvirt or QEMU shows any information that we can work with. See this debug session of the user-guide.

After waiting for a while, node restarts the system automatically.

Do you mean that the VM gets restarted or something else?


get list of ID's

Hi
Is there a way to get a list of the active torrents ?  I can see the
$torrents = $transmission->all();
but how do you get the id's from that ?
Thanks

Hi there! The Transmission::all method returns an array of Transmission\Model\Torrent objects.  This model has a Torrent::getId() method to retrieve the identifier of the torrent. So for example, you could do:
foreach ($transmission->all() as $torrent) {
    $id = $torrent->getId();
}

I think you should be careful with using the torrents though, since they seem to change when Transmission restarts (could be wrong though!).

Perfect thanks.


demo/feat: missing system/ca demo

Is your feature request related to a problem? Please describe.
There is no separate demo for the CA system.
Describe the solution you'd like
A demo for the CA system should be implemented in the project.

Reference https://github.com/DynaDojo/dynadojo/blob/main/demos/fc_cnn_ca_demo.ipynb to make a system-only demo.


[SPARK-31076][SQL] Convert Catalyst's DATE/TIMESTAMP to Java Date/Timestamp via local date-time

What changes were proposed in this pull request?
In the PR, I propose to change conversion of java.sql.Timestamp/Date values to/from internal values of Catalyst's TimestampType/DateType before cutover day 1582-10-15 of Gregorian calendar. I propose to construct local date-time from microseconds/days since the epoch. Take each date-time component year, month, day, hour, minute, second and second fraction, and construct java.sql.Timestamp/Date using the extracted components.
Why are the changes needed?
This will rebase underlying time/date offset in the way that collected java.sql.Timestamp/Date values will have the same local time-date component as the original values in Gregorian calendar.
Here is the example which demonstrates the issue:
scala> sql("select date '1100-10-10'").collect()
res1: Array[org.apache.spark.sql.Row] = Array([1100-10-03])

Does this PR introduce any user-facing change?
Yes, after the changes:
scala> sql("select date '1100-10-10'").collect()
res0: Array[org.apache.spark.sql.Row] = Array([1100-10-10])

How was this patch tested?
By running DateTimeUtilsSuite, DateFunctionsSuite and DateExpressionsSuite.

Test build #119382 has started for PR 27807 at commit b9532d7.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/24119/
Test PASSed.

Test build #119382 has finished for PR 27807 at commit b9532d7.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/119382/
Test FAILed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/24148/
Test PASSed.

Test build #119411 has started for PR 27807 at commit 503e3f0.

Test build #119418 has started for PR 27807 at commit 4a13df3.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/24156/
Test PASSed.

Test build #119411 has finished for PR 27807 at commit 503e3f0.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/119411/
Test FAILed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/24157/
Test PASSed.

Test build #119419 has started for PR 27807 at commit 120db04.

Test build #119418 has finished for PR 27807 at commit 4a13df3.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/119418/
Test FAILed.

Test build #119419 has finished for PR 27807 at commit 120db04.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

@cloud-fan The rebasing cause a few issues. For example, we cannot use TimestampFormatter/DateFormatter to format java.sql.Timestamp/Date anymore:
https://github.com/apache/spark/blob/1fac06c4307c8c7a5a48a50952d48ee5b9ebccb2/sql/core/src/main/scala/org/apache/spark/sql/execution/HiveResult.scala#L74
To format rebased Java Timestamp/Date instances before 1582, need to use Julian based formatter - SimpleDateFormat.

Test build #119471 has started for PR 27807 at commit d2e3a27.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/24202/
Test PASSed.

Test build #119484 has started for PR 27807 at commit 8e83e1f.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/24213/
Test PASSed.

Test build #119471 has finished for PR 27807 at commit d2e3a27.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/119471/
Test PASSed.

@cloud-fan @juliuszsompolski Please, take a look at the PR if you have time.

Test build #119486 has started for PR 27807 at commit fe8c1fb.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/24215/
Test PASSed.

Test build #119484 has finished for PR 27807 at commit 8e83e1f.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/119484/
Test FAILed.

Test build #119486 has finished for PR 27807 at commit fe8c1fb.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/119486/
Test FAILed.

Test build #119511 has started for PR 27807 at commit f4ced32.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/24240/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/24241/
Test PASSed.

Test build #119512 has started for PR 27807 at commit 00003dd.

Test build #119511 has finished for PR 27807 at commit f4ced32.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/119511/
Test FAILed.

Test build #119513 has started for PR 27807 at commit 37bd181.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/24242/
Test PASSed.

Test build #119512 has finished for PR 27807 at commit 00003dd.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/119512/
Test FAILed.

Test build #119513 has finished for PR 27807 at commit 37bd181.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

jenkins, retest this, please

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/119513/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/24246/
Test PASSed.

Test build #119517 has started for PR 27807 at commit 37bd181.

Test build #119517 has finished for PR 27807 at commit 37bd181.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/119517/
Test PASSed.

@HyukjinKwon Please, take a look at it.

Test build #119560 has started for PR 27807 at commit 8c15f51.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/24291/
Test PASSed.

Test build #119560 has finished for PR 27807 at commit 8c15f51.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/119560/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/24309/
Test PASSed.

Test build #119579 has started for PR 27807 at commit 1bc54ae.

Test build #119582 has started for PR 27807 at commit 52cdd20.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/24313/
Test PASSed.

@cloud-fan I removed special handling dates/timestamps before 1582, and kept rebasing via local datetime for all dates/timestamps.

Test build #119582 has finished for PR 27807 at commit 52cdd20.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/119582/
Test FAILed.

Test build #119579 has finished for PR 27807 at commit 1bc54ae.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/119579/
Test PASSed.

Test build #119609 has started for PR 27807 at commit 5f5fdd6.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/24338/
Test PASSed.

Test build #119616 has started for PR 27807 at commit da8de7e.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/24345/
Test PASSed.

Test build #119609 has finished for PR 27807 at commit 5f5fdd6.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/119609/
Test PASSed.

Test build #119616 has finished for PR 27807 at commit da8de7e.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/119616/
Test PASSed.

Test build #119652 has started for PR 27807 at commit 407cc1f.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/24383/
Test PASSed.

Merged build finished. Test PASSed.

Test build #119652 has finished for PR 27807 at commit 407cc1f.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/119652/
Test FAILed.

jenkins, retest this, please

retest this please

Test build #119657 has started for PR 27807 at commit 407cc1f.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/24388/
Test PASSed.

Test build #119657 has finished for PR 27807 at commit 407cc1f.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/119657/
Test PASSed.

thanks, merging to master/3.0!

Thank you, @MaxGekk and @cloud-fan .
I marked this as a correctness issue according to @MaxGekk 's comment, https://github.com/apache/spark/pull/27807#discussion_r390761064 .

BTW, @MaxGekk .
Could you make another PR for branch-2.4 for the followings?

https://github.com/apache/spark/pull/27807#discussion_r390761064
https://github.com/apache/spark/pull/27807#r389245386

It's only a bug in 3.0 as we switch the calendar.


Port the C++ example network_routing_sat to C#

Port of network_routing_sat.cc to .Net Standard 2.0

Waiting for CI but LGTM.
Thx again ! :wink:

Running the model with the default parameters gives an assertion failure. What is the best approach, adjust the default values in code or pass in some sensible values?

Usually we try to keep sync between languages on data model, default values etc...
in C++ we have:
https://github.com/google/or-tools/blob/2b36515b43e6ce11d26e3a8ac8e97f30d66a3ccf/makefiles/Makefile.cpp.mk#L469-L471
so I would suggest to use the same ARGS value.

dotnet pass on Travis-CI (see https://travis-ci.org/google/or-tools/jobs/505228561) -> I'll merge


Serial port 10.3.0 slow compared to 9.2.8 on Windows

SerialPort Version
10.3.0
Node Version
v12.9.0
Electron Version
N/A
Platform
Microsoft Windows NT 10.0.22000.0 x64
Architecture
x64
Hardware or chipset of serialport
Any
What steps will reproduce the bug?
Change package.json from v9.2.8 to 10.3.0 and run npm install
What happens?
Currently we use 9.2.8 and the performance is fine:
2022-03-04 10:23:40.003 [trace ] [core ] - serialport send (17 bytes)
2022-03-04 10:23:40.099 [trace ] [core ] - serialport received (1 bytes)
2022-03-04 10:23:40.199 [trace ] [core ] - serialport received (141 bytes)
2022-03-04 10:23:40.200 [trace ] [core ] - serialport send (1 bytes)
after upgrading to v10.3.0 this has consistently changed to:
2022-03-04 10:01:31.437 [trace ] [core ] - serialport send (17 bytes)
2022-03-04 10:01:32.161 [trace ] [core ] - serialport received (1 bytes)
2022-03-04 10:01:32.953 [trace ] [core ] - serialport received (141 bytes)
2022-03-04 10:01:32.953 [trace ] [core ] - serialport send (1 bytes)
As you can see there is now significant delays on the writes or maybe even the receiving code which was unexpected. I would expect minor variations but to go from < 100ms to > 600ms to receive the response from the device seems extreme. Is there meant to be a change in how the stream.write is called?
It's kind of difficult to provide the source code that does this here, we are simpy using the stream interface and write/data events (ie port.write data and port.on 'data') to a particular device with a proprietry communication protocol.
What should have happened?
Performance should be unchanged - the device/serial port hardware is not changing only the serial port driver is.
This was brought to my attention by another developer on Win11 that also experienced a significant degradation in performance.
And it is consistant - changing the version (+ the slight API changes to open the port) bring this issue on instantly and reverting the version fixes it.
Additional information
No response

the same issue

Are you able to share any additional info, or sample code that you are using?
I've run some check on Win11, and can't replicate a slowdown.  The checks include read and write to the same device on the same windows machine, using node 12.22.7 for both checks.  The only change was comparing serialport 9.2.8 to 10.5.0 (with the very minor syntax changes between the two)
I'll try again to see if there is any additional resource usage, which could in turn be causing a showdown for some, but not noticable depending on the host machine; however if you can share any more info to help investigate that would be very welcome

Running some more checks and I'm not seeing any additional resource usage, so I'm afraid I'm unable to replicate your issue.  It could be that I'm unable to see the variation due to the limited granularity of the built in windows monitoring, or I'm just not testing the aspect of the package which is causing the slowdown for you...
In case it helps, I've thrown together a quick project at https://github.com/GazHank/serialport-PerfTest which does some basic read, write and parsing to test performance.  It does include some device specific logic in the messages is sends and recieves, but otherwise it is pretty generic, so should be quick and easy to modify.  I've also kept the v9 vs v10 changes to a minimum at the top of the main.js to allow a quick switch between versions, and minimise risk of accidental changes.
Do please let me know if you have any more info on the performance impact you are seeing


Update auth_integration.md

self should be request to compatible with django-ninja practise.

@Svtter Thanks


Cloud-Init Failure

Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

Terraform Version and Provider Version
1.5.7
oci oke module 5.0.2
Affected Resource(s)

module.oke.module.bastion[0].null_resource.await_cloudinit
latest oci
Debug Output
│ Error: remote-exec provisioner error
│
│   with module.oke.module.bastion[0].null_resource.await_cloudinit,
│   on .terraform/modules/oke/modules/bastion/cloudinit.tf line 44, in resource "null_resource" "await_cloudinit":
│   44:   provisioner "remote-exec" {
│
│ error executing "/tmp/terraform_1057178348.sh": Process exited with status
│ 1
╵

Panic Output

Expected Behavior
The cloud init step of the provider should run.
Actual Behavior
This is the output from the /tmp/terraform.sh command that cloud-init runs which is simply
the cloud-init status --wait -l command.
Welcome to Oracle Autonomous Linux
Effective kernel version is 5.15.0-<IP_ADDRESS>.el8uek.x86_64
[opc@b-rxwscc ~]$ sudo dnf -y upgrade
This system is receiving updates from OSMS server.
Error: There are no enabled repositories in "/etc/yum.repos.d", "/etc/yum/repos.d", "/etc/distro.repos.d".
[opc@b-rxwscc ~]$ cloud-init status --wait -l

status: error
time: Mon, 13 Nov 2023 19:25:23 +0000
detail:
('package-update-upgrade-install', ProcessExecutionError("Unexpected error while running command.\nCommand: ['dnf', '-y', 'upgrade']\nExit code: 1\nReason: -\nStdout: -\nStderr: -",))
[opc@b-rxwscc ~]$

Steps to Reproduce

terraform apply
Wait for the await_cloudinit null resource to run

Important Factoids
uk-london-1
I did have bastion_upgrade and operator_upgrade set to true instead of false
References

Okay so doing a force-recreate of the bastion and operator worked when I set the do_upgrade flags for the bastion and operator to false. It's because Autonomous Linux uses a different mechanism for upgrades to dnf so the dnf command needs to be skipped. I would assume this might work with upgrades enabled if you were to use Oracle Linux instead of Autonomous. Nonetheless, there should be a cross-check in my opinion.

I was not able to reproduce the problem described:

Autonomous Linux
bastion_upgrade=true
operator_upgrade=true

Activate the web console with: systemctl enable --now cockpit.socket

Last login: Tue Nov 14 08:15:17 2023 from <IP_ADDRESS>
Welcome to Oracle Autonomous Linux
Effective kernel version is 5.15.0-<IP_ADDRESS>.el8uek.x86_64
[opc@b-cxcccv ~]$ cloud-init status --wait -l

status: done
time: Tue, 14 Nov 2023 08:07:42 +0000
detail:
DataSourceOracle

The operator is a different resource, deployed after the bastion host. The operator_upgrade variable has no impact.


FediAct sometimes runs on logged in pages even when ignore sessions is off

Okay, gonna look at this. Which site are you s
browsing?

Screenshot is brands.town, I think it also happened in mastodon.online

Okay. And are you using any theme or so? FediAct needs to look for the

I'm going to close this for now as I don't really use the extension much (as my main isn't on Mastodon), sorry for such a late reply though
The only other modifications I have on are Stylus UserStyles which seem to just be added at the end of the HTML


Added value objects for possible values

following https://groups.google.com/forum/#!topic/siren-hypermedia/8mbOX44gguU

FYI I have no capability to change the spec, but IMO, I doubt the spec will be changed without 'real' implementations and feedback.  Therefore I think you should move on extending it yourself and report back to the group about how it went, what was good, what was bad, etc....
In general I don't think it's a good practice to change a spec before real world implementations are tried.

@apsoto Yes, that's the general direction I'd like to take.  I've implemented this, but I'd like some more feedback from other folks.

I wanted to drop in and give some feedback on this topic. I ended up going with this as a solution for providing multiple values for a given field, and it worked well.
My only issue was that the current proposal feels a tad out of place. All other code around modeling representations is laughably simple with almost no conditions (this is the part of Siren's design that resonates with me). In other words, it mapped almost directly to my classes. But this proposal introduces a special rule, such as when converting to JSON, if it's a string or number do this, and if it's a list of Value objects, do that. This shows up in the JSON Schema as the only place a "oneOf" is used.
I don't say this to say it's bad at because it worked for me, however it just seems almost too special for Siren. :)

I have wondered in this if there is a different way to think about this. Instead of a FieldValueObject, you would instead have a MultiValueField. This multi-value field has a values property that is always an array of objects with title and property as properties. You would then limit the type values of each field type, as radio and checkbox would by multi-value and the others would be a normal field. This would provide some clarity in the spec and even the JSON Schema in my opinion.
For me, it would remove a little bit of the magic that I'm feeling. It would also mimic the way entities works where there are two different kinds of sub entities that rely on duck typing to determine their type when deserializing.

Just to add one note of clarity for my suggestion, like how "Sub Entity" has "Embedded Representation" and "Embedded Link," you would have "Field" that would have "Single Value Field" and "Multi-Value Field" (or of course better names). The JSON Schema would then be an anyOf when defining the field similar to how the Sub Entity definition is done.

While implementing Siren support for the Insomnia ReST client, I found @smizell 's observation helpful. The suggested PR (which was built on a comment by @kevinswiber in the google group) breaks an implementation which relies on the value of a field being a scalar value (Insomnia does that by default).


Release 0.1.1

Release to main
Do not squash

I will open the release PR from my fork to make the gitlab mirror not be confused.


Reduce LoC :grin:

I had a look at this after you linked to it here and got inspired to hack on it a bit!
YMMV but I think in this case, less LoC means simpler :)

Quite often I find myself needing a way to pass an address instead of a peer id to libp2p-lookup, connecting to the node directly instead of through the DHT. I hope I get around to implementing this sometime soon.


Product Management: Agile Product Development Methodologies & User-Centered Design (UCD) Vs. Design-Driven Development (DDD)

In today's rapidly evolving tech landscape, where adaptability and efficiency are paramount, embracing modern software development methodologies is essential. Agile product development strategies and user-centric design principles have emerged as fundamental approaches to meet the dynamic demands of the industry.
Many of our CSC301 partners are on the lookout for innovative solutions that prioritize user needs and deliver exceptional user experiences. This is where Agile methodologies and user-centered design play pivotal roles in shaping the development process. Agile practices foster collaboration, iteration, and continuous improvement, enabling teams to respond swiftly to changing requirements and deliver value incrementally. On the other hand, user-centered design ensures that products are intuitive, accessible, and aligned with user expectations, ultimately leading to enhanced customer satisfaction and product success.
I propose to add the following to the repo:

A new subheading page in Product Management under Core Concepts in Product Management titled:

Introduction to Agile Product Development Methodologies

This page will also have links to the more in depth and descriptive pages on the methodologies such as Lean. The page itself will be more centered around its correlation to being a core concept of Product Management.

Another subheading page titled

User-Centered Design (UCD) Vs. Design-Driven Development (DDD)

Subheadings will include the following:
Subheadings

Understanding User-Centered Design (UCD)?

Introduction to UCD
Discussion of principles of UCD and sits role in product management and develoipment.

Understanding Design-Driven Development (DDD)

Intro to DDD and its methodology.
Explanation of how DDD integrates design thinking to be crucial and its effects on different products.

Key Differences between UCD and DDD

Overview of similarities and differences
Why one may be used over the other and the decisions that a Product Manger would make towards it.
Topics: usability vs. innovation; approach to problem solving and final product needs; combining UCD and DDD

Understanding Agile Methodologies

Basic overview of Agile

Lean, Kanban, MVC, Scrum

Overviews and examples in regards to product manager scenarios. Links to more detailed versions of the topcis as they are found in the Software Engineering section of the repo.

Agile Product Planning and Prioritization

User story mapping
Roadmapping

Adding a subheading titled Introduction to Agile Product Development Methodologies, and supplementing it with the section User-Centered Design (UCD) Vs. Design-Driven Development (DDD) is a fantastic idea. These are the primary ideas that drive a products development even before any of the actual development begins. Therefore understanding the differences between these concepts is critical for a successfully engineered product. If the students in 301 were to learn these practices prior to starting, it would definitely aid in their decision making and give them a clearer idea of what they want to work on.


TascCODA tutorial: Obtain smillie dataset via dataloader

So far, the dataset used in the tascCODA tutorial is loaded from a local file. Therefore, it is really hard for users to reproduce the tutorial.
Instead, we want to obtain the data via the newly created dataloader pt.dt.smillie_2019(), which contains the full dataset, including count data and extensive annotations. To achieve this, I simply modified the data loading to use the pertpy dataloader. To ensure that everything still runs smoothly and yields the same results, I reran the tutorial.
Additionally, I deleted some unused imports.

Thank you!


Opera announced do not support NPN as Chrome from Version 38

As for Chrome, there should be foot mark 4 on Opera 38+ for the http/2 support: http://caniuse.com/#search=http%2F2
Here are sources:
https://dev.opera.com/blog/opera-38/
https://www.chromestatus.com/feature/5767920709795840

Thanks, fixed.


No data received from Lidar

This issue is similar to https://github.com/SICKAG/sick_scan2/issues/41 and https://github.com/SICKAG/sick_scan2/issues/32 from another repo.
I was able to connect and get cloud data (on ROS2 Foxy) from the sensor (MRS1104C) a few days ago using driver from 'sick_scan2' repo on a Ubuntu machine, and on SOPAS software on a windows machine.
However, after a few days (and a power cycle), now I am not able to receive any data using the ros2 drivers (both sick_scan and sick_scan_xd) and SOPAS software.
The Lidar is reacting to commands fine, meaning that the status indicator lights on Lidar turn Red when shutting down the driver, and back to Green when starting the driver. However, no data is being published.
When executed with the following command: ros2 run sick_scan sick_generic_caller ./src/sick_scan_xd/launch/sick_mrs_1xxx.launch the driver times out after 150 sec.
See the logs attached.
log_sick_scan_xd.txt
Please suggest a resolution.

It turns out that the settings on the Lidar needed to change.
Turning the setting back to the "factory" setting did the work.
Thanks!