Albedo, metalness, roughness factors ignored when using textures.

glTF

USDZ

The blue ball uses a white texture with a factor of 0.5. The USDZ is not using the factor when creating new maps.
We use this a lot in our platform for the albedo (diffuseColor) texture. This allows us to have the same wood texture with a slightly different colour.
Would it be possible to add this multiplier in the texture conversion on your side and to get a USDZ as close as possible of the input glTF?

Edit: It seems USDZ takes it in account but your code defaults it to 1:
https://i.imgur.com/G62rnqG.png

Hi @sayduck-daniel, looks like multiplying factors by textures is not supported in UsdPreviewSurface.  Though might be something you can bring up here: https://groups.google.com/forum/#!forum/usd-interest

Hi @kcoley, while testing we saw USD is not taking in account those factors.
Never the less, glTF does use it and when we convert a glTF using those factors, this ends up in a USD not looking the same.
Would it be possible on your side to multiply the image by the factor when you split the roughnessMetalsness map? This should be about multiplying GB channels from the roughnessMetalsness before saving it for USD use.
This would kinda work like the tiling we did earlier, this will allow us to keep USD and glTF from this convert identical until USD catches up.

@sayduck-daniel actually, the factors are being set in the scale attribute of UsdUVTexture, and should be multiplied against the roughness and metalness maps.  This might be a bug in Quicklook.

It seems it's not working that way what makes models totally wrong when the gltf is using a texture for roughness and a factor for the metalness.
I think you should move towards using the factors to change the image you generate until USDZ supports it correctly.

@sayduck-daniel does this branch work for you?: https://github.com/kcoley/gltf2usd/tree/fixBlendShapes

Let me come back to you asap :)

Hi @kcoley, this is what I got from the person testing:

This seems to work. For example a product using only a roughnessMap and a metalnessFactor of 0 is no more fully metallic when converted to USDZ.
However, the strength parameter is still ignored (ie a black occlusion map with strength 0 will still make the USDZ all black instead of having no effect)

I just tested myself with this gltf that looks like this:

We have 3 set of balls:

using only maps for roughness and metalness
using only factors for roughness and metalness
using a map and a factor for roughness and metalness

The output on master branch looks like this:

The output on the new branch looks like this:

As we can see, it solved the one top right.
I saw on your changelog you introduced the parameter --scale-texture but it's not working for us:
$ /.../gltf2usd/Source/gltf2usd.py --scale-texture -g model_with_local_uris.gltf -o model_branch_w_param.usdz
converted usd file extension from .usdz to .usdc: /var/folders/2q/82jdm_392rn_0lnshmt1r1_80000gn/T/tmpwugYlk/model_branch_w_param.usdc
Traceback (most recent call last):
  File "/.../gltf2usd/Source/gltf2usd.py", line 905, in <module>
    convert_to_usd(os.path.expanduser(args.gltf_file), os.path.abspath(os.path.expanduser(args.usd_file)), args.fps, args.scale, args.arkit, args.verbose, args.use_euler_rotation, args.optimize_textures, args.generate_texture_transform_texture, args.scale_texture)
  File "/.../gltf2usd/Source/gltf2usd.py", line 830, in convert_to_usd
    usd = GLTF2USD(gltf_file=gltf_file, usd_file=temp_usd_file, fps=fps, scale=scale, verbose=verbose, use_euler_rotation=use_euler_rotation, optimize_textures=optimize_textures, generate_texture_transform_texture=generate_texture_transform_texture, scale_texture=scale_texture)
  File "/.../gltf2usd/Source/gltf2usd.py", line 76, in __init__
    self.convert()
  File "/.../gltf2usd/Source/gltf2usd.py", line 798, in convert
    self._convert_materials_to_preview_surface_new()
  File "/.../gltf2usd/Source/gltf2usd.py", line 487, in _convert_materials_to_preview_surface_new
    usd_material.convert_material_to_usd_preview_surface(material, self.output_dir, material_name)
  File "/.../gltf2usd/Source/_gltf2usd/usd_material.py", line 23, in convert_material_to_usd_preview_surface
    usd_preview_surface = USDPreviewSurface(self._stage, gltf_material, self, output_directory, material_name, self._scale_texture)
  File "/.../gltf2usd/Source/_gltf2usd/usd_material.py", line 44, in __init__
    self._initialize_from_gltf_material(gltf_material)
  File "/.../gltf2usd/Source/_gltf2usd/usd_material.py", line 94, in _initialize_from_gltf_material
    self._set_khr_material_pbr_specular_glossiness(gltf_material)
  File "/.../gltf2usd/Source/_gltf2usd/usd_material.py", line 154, in _set_khr_material_pbr_specular_glossiness
    self._set_pbr_metallic_roughness(gltf_material)
  File "/.../gltf2usd/Source/_gltf2usd/usd_material.py", line 148, in _set_pbr_metallic_roughness
    self._set_pbr_metallic(pbr_metallic_roughness)
  File "/.../gltf2usd/Source/_gltf2usd/usd_material.py", line 259, in _set_pbr_metallic
    destination = metallic_roughness_texture.write_to_directory(self._output_directory, GLTFImage.ImageColorChannels.B, "metallic", scale_texture)
  File "/.../gltf2usd/Source/_gltf2usd/gltf2/Material.py", line 47, in write_to_directory
    return self._image.write_to_directory(output_directory, channels, texture_prefix, self._tt_offset, self._tt_scale, self._tt_rotation, scale_factor)
  File "/.../gltf2usd/Source/_gltf2usd/gltf2/GLTFImage.py", line 98, in write_to_directory
    value[0] = value[0] * scale_factor[0]
TypeError: 'tuple' object does not support item assignment

@sayduck-daniel thanks, I merged an update to master for this


Replying to a message with an emoji followed with an emote, without any spaces, will cause the emote to be eaten in the reply

Checklist

[X] I'm reporting a problem with Chatterino
[X] I've verified that I'm running the most recent nightly build or stable release
[X] I've looked for my problem on the wiki
[X] I've searched the issues and pull requests for similar looking reports

Describe your issue
▪pajaDank
▪ pajaDank test with a space
pajaDank test with no emoji

Screenshots

OS and Chatterino Version
Chatterino Nightly 2.4.6 (commit 75282579) built on 2023-10-06 with Qt 6.5.0, MSVC 193532217 Running on Windows 10 Version 21H2, kernel: 10.0.19044

Issue seems to be because of how emojiAnyText touching eachother is handled,


Q: regularize cospcovariances

Hey Alex!
Is there a way to easily regularize `CospCovariances'?
I'm trying to do
clf = make_pipeline(
    CospCovariances(fmin=4., fmax=45, fs=500.),
    SlidingEstimator(
        make_pipeline(TangentSpace(), SVC(kernel='linear'))
)

but get the usual non positive definite error
Thanks!

Not n the constructor, but you can place a Shrinkage (from
pyriemann.estimation) before your TangentSpace.
Le dim. 3 déc. 2017 21:28, Jean-Rémi KING<EMAIL_ADDRESS>a
écrit :

Hey Alex!
Is there a way to easily regularize `CospCovariances'?
I'm trying to do
clf = make_pipeline(
CospCovariances(fmin=4., fmax=45, fs=500.),
SlidingEstimator(make_pipeline(TangentSpace(),
SVC(kernel='linear'))
)
but get the usual non positive definite error
Thanks!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/alexandrebarachant/pyRiemann/issues/62, or mute the
thread
https://github.com/notifications/unsubscribe-auth/ACC9tlOkJxtEqjRX4SQXyfJcXd8AK8slks5s8wRtgaJpZM4Qz3-Q
.

But a good way to avoid the error is to increase the overlapp in the
CospCovariance estimator.
Le dim. 3 déc. 2017 22:18<EMAIL_ADDRESS><
<EMAIL_ADDRESS>a écrit :

Not n the constructor, but you can place a Shrinkage (from
pyriemann.estimation) before your TangentSpace.
Le dim. 3 déc. 2017 21:28, Jean-Rémi KING<EMAIL_ADDRESS>a
écrit :

Hey Alex!
Is there a way to easily regularize `CospCovariances'?
I'm trying to do
clf = make_pipeline(
CospCovariances(fmin=4., fmax=45, fs=500.),
SlidingEstimator(make_pipeline(TangentSpace(),
SVC(kernel='linear'))
)
but get the usual non positive definite error
Thanks!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/alexandrebarachant/pyRiemann/issues/62, or mute the
thread
https://github.com/notifications/unsubscribe-auth/ACC9tlOkJxtEqjRX4SQXyfJcXd8AK8slks5s8wRtgaJpZM4Qz3-Q
.

perfect thanks!
On 3 December 2017 at 16:19, alexandre barachant<EMAIL_ADDRESS>wrote:

But a good way to avoid the error is to increase the overlapp in the
CospCovariance estimator.
Le dim. 3 déc. 2017 22:18<EMAIL_ADDRESS><
<EMAIL_ADDRESS>a écrit :

Not n the constructor, but you can place a Shrinkage (from
pyriemann.estimation) before your TangentSpace.
Le dim. 3 déc. 2017 21:28, Jean-Rémi KING<EMAIL_ADDRESS>a
écrit :

Hey Alex!
Is there a way to easily regularize `CospCovariances'?
I'm trying to do
clf = make_pipeline(
CospCovariances(fmin=4., fmax=45, fs=500.),
SlidingEstimator(make_pipeline(TangentSpace(),
SVC(kernel='linear'))
)
but get the usual non positive definite error
Thanks!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/alexandrebarachant/pyRiemann/issues/62, or mute
the
thread
<https://github.com/notifications/unsubscribe-auth/
ACC9tlOkJxtEqjRX4SQXyfJcXd8AK8slks5s8wRtgaJpZM4Qz3-Q>
.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/alexandrebarachant/pyRiemann/issues/62#issuecomment-348815532,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEp7DJMk56joG_ybebZlEzRfhWJZtHGmks5s8xBmgaJpZM4Qz3-Q
.


picom: 8.1 -> 8.2

Motivation for this change
https://github.com/yshui/picom/releases/tag/v8.2
Things done

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

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

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

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

1 package failed to build:

picom (compton)

it builds for me and on the CI ? (x86_64-linux too)


Add placeholder property for line_edit

this useful for user input tip
from https://github.com/godotengine/godot/pull/5369

@bojidar-bg ok, placeholder alpha property now added

@sanikoyes Nice, thanks


firebase test lab failing for package_info

There's a test that has started failing consistently: https://github.com/flutter/plugins/runs/1787030423
But when checking the firebase logs it seems that this thing has been failing since JULY 2020 (!)
https://firebase.corp.google.com/project/flutter-infra/testlab/histories/bh.fd85a82ead1f4de
(Last good run: https://firebase.corp.google.com/project/flutter-infra/testlab/histories/bh.fd85a82ead1f4de/matrices/4674152746976716055)

This has been failing from 7/2020 but never reported correctly on CI.

This has been failing from 7/2020 but never reported correctly on CI.

Skip the test to unblock the tree. https://github.com/flutter/plugins/pull/3479

Skip the test to unblock the tree. https://github.com/flutter/plugins/pull/3479


Fix to terminate relay-agent on multiple bootstrap agent registration…

What does this PR change?

Fix to terminate relay-agent on multiple bootstrap agent registration requests

Does the PR depend on any other PRs or Issues? If yes, please list them.

https://github.com/paralus/paralus/pull/171

Checklist
I confirm, that I have...

[x] Read and followed the contributing guide in CONTRIBUTING.md
[ ] Added tests for this PR
[x] Formatted the code using go fmt (if applicable)
[ ] Updated documentation on the Paralus docs site (if applicable)
[x] Updated CHANGELOG.md

[ ] Update go.mod once dependent pr is merged

closing this pr, opened another pr https://github.com/paralus/relay/pull/47


Create a custom parser to handle Flickr API errors

This seems like the best place to inject our custom API error logic. @pdokas @alex-seville

👍


2.0 RTM Query Specification Tests -  asserts all fail

All the 2.0 RTM query tests now fail for me - what did I miss? 😄
Expected \r\n - but get \n only now???
(This was working with 2.0-preview2 bits)
I am using:
    private void AssertSql(params string[] expected)
        => Fixture.TestSqlLoggerFactory.AssertBaseline(expected);

 Microsoft.EntityFrameworkCore.Specification.Tests.QuerySqlCeTest.Where_join_orderby_join_select [FAIL]
      Assert.Equal() Failure
                                        (pos 179)
      Expected: ···lCode], [c].[Region]\r\nFROM [Customers] AS [c]\r\nINNER JOIN [Or···
      Actual:   ···lCode], [c].[Region]\nFROM [Customers] AS [c]\nINNER JOIN [Orde···
                                        (pos 179)

Further technical details
EF Core version: 2.0.0 RTM (myget feed)
Database Provider: SQL CE
Operating system: Win 10
IDE: (e.g. Visual Studio 2017)

Looks like it could be a difference on how our repos treat line breaks/feeds.

But this is blocking me from shipping 2.0 - I have 1200 failing tests :sad:

I was looking at code/commits/history.
There is nothing obvious which has changed causing such issue.
The expected output is correct. We use string builder to create the command which uses Env.NewLine so it should be CRLF. The actual output should contain the same, we do change EOL to file line endings but for us it is regular code, for others it can be a compiled code coming from somewhere so behavior may be different. Or it can be some issue in settings of git repo (git processes CRLF/LF based on repo settings)
If this is something incorrect in EF codebase then perhaps @roji may have hit it too.

Very strange that Environment.NewLine appears to be returning \n. Especially since, I assume, your tests only ever run on Windows and .NET Framework...

Could Mono be interfering somehow?

Pure Windows! Something related to how 2.0 is built?

Ah yes. Our current pattern replaces the new lines in the actual value. Our CI must either check out the code on Unix or with an older git client.
See does adding *.cs eol=lf to your .gitattributes workaround the issue? (may need to re-checkout the cs files after adding.)

P.S. I'm trying to make the pattern more robust in #9332.

Thanks so much for your help an advice so far.
Wonder what changed CI wise between preview-2 and RTM then?
This code change "fixes" the issue:
    private void AssertSql(params string[] expected)
    {
        foreach (var item in expected)
        {
            item.Replace("\r\n", "\n");
        }
        Fixture.TestSqlLoggerFactory.AssertBaseline(expected);
    }

Closing, as I was able to workaround it...


Behaves Like Any Other Sprite

I read the replies to some of the other issues, but none seems to solve it.
When I add the Sprite Glow component to the sprite, it creates an outline outside of it:

But modifying the Bloom effect using the Unity PostProccessing stack doesn't have any effect on the sprite I want to glow, instead it has the same effect on every Sprite:

Make sure bloom threshold is high enough (1 or more, depending on the bloom solution) and camera HDR toggle is enabled. Also, Unity 5.6-2017.1 has an issue with HDR when editor is in 2D behavior mode, so try switching it to 3D (in case you missed this one on the other issue).

I'm having the same issue, have you solved it @KeyTry ?


build: linux: Place generated files in OUT_DIR

When cross-compiling the eventmsgs.lib in source control cannot be used as it's incompatible with the mingw toolchain. Therefore it is freshly generated in the source directory on every build since
cc0be9c Always run windmc/windrc on MinGW.
This becomes a problem when using the eventlog crate in project with locally vendored dependencies. Since changes the situation by placing the build artifacts in OUT_DIR.
I verified that it does build on Mingw and Windows using the resources in the repository. However, I don't have the setup to regenerate the resources on Windows so I couldn't test this.

@kgraefe I can't do that until I confirm this works in an ordinary msvc environment. If you want to set up CI for this though, then everybody wins. :)

Understood

CI would've been good as it actually does NOT build on Mingw on a clean check out. :-\ I had res/eventmsgs.h left-over from a previous build when testing. I will provide a follow-up.


Add terrain_edited signal to Terrain3DEditor

As discussed in #270.
Terrain3DEditor becomes a singleton, and gains a new terrain_edited(edited_area: AABB) signal. The use case is integration with other level design tools and scripts - see the linked issue.
The signal is emitted whenever:

a region is added or removed,
a region map is altered with a brush tool,
or any of the above are undone / redone.

In the end I decided not to include the map_type parameter in the signal, as it seems like this would not be relevant to non-brush-related tools (region add/remove, etc.).

Why does this class need to be a singleton in order to fire a signal? Can't normal classes do that?

So that tool scripts and other addon scripts besides the Terrain3D addon can access it. Currently Terrain3DEditor is created and the reference held by the EditorPlugin, but other scripts can't access this.

I've updated my branch to address your other comments.

Thanks!


[Bug]: Error failed to send message HTTP 401, invalid_api_key

Contact Details
<EMAIL_ADDRESS>What happened?
I am trying to get OpenAI to work inside a Docker container on my Raspberry Pi. My Google PaLM works fine and OpenAI works fine from my mac..
For some reason I am getting the error below. I have verified the .env file has the correct API key inside the container.
Other relevant details; On mac when I run it I get gear icons when changing models to look at some settings or import a .json for google PaLM. On Raspberry Pi I do not get that option on any of the models including google, but google does work with the .json key in the /api/data folder. I have Pi hole running outside of docker , so that is on port :80 not sure if that is causing an issue here. I also have homebridge running outside of docker.
NOTE: I removed the API Key fully with *'s in the output log below, but it does show the correct beginning and end of my key on my end.
Steps to Reproduce

create a container with mongodb 4.4.18 on raspberry pi
edit the .env and add your key
run the container and try to use the openai model.

What browsers are you seeing the problem on?
Safari
Relevant log output
Error: Failed to send message. HTTP 401 - {
2023-07-27T20:04:34.654086535Z     "error": {
2023-07-27T20:04:34.654106183Z         "message": "Incorrect API key provided: \"sk-uvOH********************************************\". You can find your API key at https://platform.openai.com/account/api-keys.",
2023-07-27T20:04:34.654123183Z         "type": "invalid_request_error",
2023-07-27T20:04:34.654138738Z         "param": null,
2023-07-27T20:04:34.654153572Z         "code": "invalid_api_key"
2023-07-27T20:04:34.654168238Z     }
2023-07-27T20:04:34.654182627Z }
2023-07-27T20:04:34.654198238Z
2023-07-27T20:04:34.654212812Z     at onopen (/app/api/app/clients/ChatGPTClient.js:211:25)
2023-07-27T20:04:34.654227608Z     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
2023-07-27T20:04:34.654249737Z     at async create (/app/node_modules/@waylaidwanderer/fetch-event-source/lib/cjs/fetch.cjs:56:17) {
2023-07-27T20:04:34.654264996Z   status: 401,
2023-07-27T20:04:34.654279700Z   json: {
2023-07-27T20:04:34.654294052Z     error: {
2023-07-27T20:04:34.654308515Z       message: 'Incorrect API key provided: "sk-uvOH********************************************". You can find your API key at https://platform.openai.com/account/api-keys.',
2023-07-27T20:04:34.654324237Z       type: 'invalid_request_error',
2023-07-27T20:04:34.654338551Z       param: null,
2023-07-27T20:04:34.654352903Z       code: 'invalid_api_key'
2023-07-27T20:04:34.654367255Z     }
2023-07-27T20:04:34.654381736Z   }
2023-07-27T20:04:34.654395903Z }
2023-07-27T20:04:34.661260893Z Error: Failed to send message. HTTP 401 - {
2023-07-27T20:04:34.661379299Z     "error": {
2023-07-27T20:04:34.661401391Z         "message": "Incorrect API key provided: \"sk-uvOH********************************************\". You can find your API key at https://platform.openai.com/account/api-keys.",
2023-07-27T20:04:34.661419372Z         "type": "invalid_request_error",
2023-07-27T20:04:34.661435335Z         "param": null,
2023-07-27T20:04:34.661472557Z         "code": "invalid_api_key"
2023-07-27T20:04:34.661511612Z     }
2023-07-27T20:04:34.661530427Z }
2023-07-27T20:04:34.661545019Z
2023-07-27T20:04:34.661559408Z     at onopen (/app/api/app/clients/ChatGPTClient.js:211:25)
2023-07-27T20:04:34.661597926Z     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
2023-07-27T20:04:34.661614389Z     at async create (/app/node_modules/@waylaidwanderer/fetch-event-source/lib/cjs/fetch.cjs:56:17) {
2023-07-27T20:04:34.662468862Z   status: 401,
2023-07-27T20:04:34.662546195Z   json: {
2023-07-27T20:04:34.662563880Z     error: {
2023-07-27T20:04:34.662644861Z       message: 'Incorrect API key provided: "sk-uvOH********************************************". You can find your API key at https://platform.openai.com/account/api-keys.',
2023-07-27T20:04:34.662673157Z       type: 'invalid_request_error',
2023-07-27T20:04:34.662690231Z       param: null,
2023-07-27T20:04:34.662705656Z       code: 'invalid_api_key'
2023-07-27T20:04:34.662720823Z     }
2023-07-27T20:04:34.662785896Z   }
2023-07-27T20:04:34.662804878Z }

Screenshots
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Do you have billing enabled for OpenAI API usage? It looks like the network request is successful but is being deemed invalid

other relevant notes would be how you're running docker on the Pi, frontend screenshots before/after you send a message, that is, when are you getting the error?

I double checked, I am setup for billing on OpenAPI. I can run LibreChat fine from my M1 Mac with the API Keys.
my docker-compose settings under api are:
I changed 3080 to 3080:3080 so I can access LibreChat on the Raspberry Pi otherwise I could not access it.
 api:     container_name: LibreChat     ports:       - 3080:3080               # Change it to 9000:3080 to use nginx     depends_on:       - mongodb     image: librechat                # Comment this & uncomment below to build from docker hub image     build:                                   # ^------       context: .                              # ^------       target: node                             # ^------v     # image: ghcr.io/danny-avila/librechat:latest # Uncomment this & comment above to build from docker hub image     restart: always     extra_hosts: # if you are running APIs on docker you need access to, you will need to uncomment this line and next     - "host.docker.internal:host-gateway"     env_file:       - .env     environment:       - HOST=<IP_ADDRESS>       - MONGO_URI=mongodb://mongodb:27017/LibreChat       #- CHATGPT_REVERSE_PROXY=http://host.docker.internal:8080/api/conversation # if you are hosting your own chatgpt reverse proxy with docker       #- OPENAI_REVERSE_PROXY=http://host.docker.internal:8070/v1/chat/completions # if you are hosting your own chatgpt reverse proxy with docker       - MEILI_HOST=http://meilisearch:7700       - MEILI_HTTP_ADDR=meilisearch:7700     volumes:       - /app/client/node_modules       - ./api:/app/api       - ./.env:/app/.env       - ./.env.development:/app/.env.development       - ./.env.production:/app/.env.production       - /app/api/node_modules       - ./images:/app/client/public/images


Adding VM intent info

#sign-off

@dcuomo : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Moved to private repo, so #please-close


FreeBSD: client's TAP interfaces remain after stopping vpnclient

Prerequisites

[x] Can you reproduce?
[x] Are you running the latest version of SoftEtherVPN?

SoftEther version: 6ae786d5/ Version 5.02 Build 5180 (5.02.5180-321-g6ae786d5/freebsd) (Japanese)
Component: Client
Operating system: FreeBSD
Architecture: [64 bit, 32 bit]
Description
I have almost never used SoftEtherVPN client on Linux.  I found that there is a different behaviour from FreeBSD. Client functionality on FreeBSD is not well-tested & still in development. I'll work on fixing this issue.
Expected behavior:
TAP interfaces disappear after stopping vpnclient.
Actual behavior:
TAP interfaces remain
Steps to reproduce

Start vpnclient
Create tap interface for client connection using NicCreate command
Stop vpnclient
TAP interface created by vpnclient still remains

I think ioctl(s, SIOCIFDESTROY, &ifr) is needed before closing the file descriptor.
https://github.com/freebsd/freebsd-src/blob/releng/13.2/sbin/ifconfig/ifclone.c#L173
https://github.com/SoftEtherVPN/SoftEtherVPN/blob/master/src/Cedar/VLanUnix.c#L561-L570


Set a CN on ingress-shim + allow common-name annotation on ingress

What this PR does / why we need it:
Some issuers/consumers need a common name set. This allows ingress-shim users to set one using the CN annotation on ingress resources. It also implements a defaulting for a CN which only applies on ingress-shim created resources.
Which issue this PR fixes:
Fixes https://github.com/jetstack/cert-manager/issues/2237
Fixes https://github.com/jetstack/cert-manager/issues/3087
Special notes for your reviewer:
Several things to have a think about:
1. is setting the CN by default a good idea?
1. Will there be issues by the sync controller updating older certs setting a CN?
1. The more i am writing i feel like only using the annotation might be a better idea...
Release note:
Allow cert-manager.io/common-name annotation on ingresses

Thanks @wallrj, I agree the more days i sleep over this PR the more i agree with you

In the case of Venafi issuer, the defaulting part confuses me because I thought we already choose the first DNS, URL or email for the DN of the submitted certificate request.

It's not the DN it's the friendly name which is API talk for the name you see in TPP

It looks like cmapi.CommonNameAnnotationKey already existed. Did we just not use it anywhere?
Yes it was used in some sub resources I noticed, never in the ingress-shim

/kind feature

Thanks!
/lgtm


[macOS] Software Updates 2024 Week 11

Description
Xamarin.Android : <IP_ADDRESS>
Xamarin.iOS     : <IP_ADDRESS>
Xamarin.Mac     : <IP_ADDRESS>
Related issue: https://github.com/actions/runner-images/issues/9512
Check list

[x] Related issue / work item is attached
[ ] Tests are written (if applicable)
[ ] Documentation is updated (if applicable)
[ ] Changes are tested and related VM images are successfully generated

/azp run macos12


Remove interpretability exclusion.

Related Issues/PRs

#xxx
What changes are proposed in this pull request?
Briefly describe the changes included in this Pull Request.
How is this patch tested?

[ ] I have written tests (not required for typo or doc fix) and confirmed the proposed feature/bug-fix/change works.

Does this PR change any dependencies?

[x] No. You can skip this section.
[ ] Yes. Make sure the dependencies are resolved correctly, and list changes here.

Does this PR add a new feature? If so, have you added samples on website?

[x] No. You can skip this section.
[ ] Yes. Make sure you have added samples following below steps.

Find the corresponding markdown file for your new feature in website/docs/documentation folder.
Make sure you choose the correct class estimators/transformers and namespace.
Follow the pattern in markdown file and add another section for your new API, including pyspark, scala (and .NET potentially) samples.
Make sure the DocTable points to correct API link.
Navigate to website folder, and run yarn run start to make sure the website renders correctly.
Don't forget to add <!--pytest-codeblocks:cont--> before each python code blocks to enable auto-tests for python samples.
Make sure the WebsiteSamplesTests job pass in the pipeline.

/azp run

Codecov Report

Merging #1798 (59e5cd9) into master (54a7496) will decrease coverage by 80.28%.
The diff coverage is n/a.

 Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

config added to fix ArrayStoreException (not merged) is added here.
https://github.com/microsoft/SynapseML/pull/1757


User wants to have "typeof" function

What?
User wants to have typeof function to get underlying type of a variable.
How?
let a = new Array<float32>(1);
console.log(typeof a == Array<int32>); //false
console.log(typeof a == Array<float32>); //true

v2?

Nice to have in v1
On Wed 12. Apr 2017 at 4:47 PM, Wink Saville<EMAIL_ADDRESS>wrote:

v2?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/01alchemist/TurboScript/issues/5#issuecomment-293601297,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAMGZqjXzYMCri0V7yyqpTF98ks8YWzFks5rvOQcgaJpZM4MfZlm
.

Mark as such (v1.1.0)?
On Wed, Apr 12, 2017 at 8:48 AM Nidin Vinayakan<EMAIL_ADDRESS>wrote:

Nice to have in v1
On Wed 12. Apr 2017 at 4:47 PM, Wink Saville<EMAIL_ADDRESS>wrote:

v2?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<
https://github.com/01alchemist/TurboScript/issues/5#issuecomment-293601297
,
or mute the thread
<
https://github.com/notifications/unsubscribe-auth/AAMGZqjXzYMCri0V7yyqpTF98ks8YWzFks5rvOQcgaJpZM4MfZlm
.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/01alchemist/TurboScript/issues/5#issuecomment-293621810,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA-hHGmsSKH3-cGXghPUy1U3hL9TafN9ks5rvPJGgaJpZM4MfZlm
.

Moved to v2 but nice to have in v1


[Bug] cant_type`

About Bug
when win-vind is running I am unable to type the symbol ` on my nordic keyboard
when quitting the program i can type it again
Steps to reproduce

start winvind
try to type `

Environments
empty configuration file and windows 10 64 bit

Environments
Delete the example and fill in your information.

Windows Edition
[e.g. 10 Home, 10 Pro, 10 Enterprise, 11 Home]

Windows Version
[e.g. 1909, 20H2]

Windows Build
[e.g. 19042.804]

Architecture
[e.g. 64bit/32bit]

win-vind Version
[e.g. 4.0.0]

win-vind Install Type
[zip/installer/chocolatey/winget]

Perhaps it is the same problem as #187.

maybe add an argument which logs to a file so we can debug the issue? i don't have a numeric keyboard so i cannot try #187


set up onboarding emails for meetups

[ ] - look at current copy and update (pia)
[ ] - trigger once a meetup is approved (xavier)
[ ] - design an initial email for before they are approved (pia)
[ ] - design an initial email for non meetups and non OS (the one currently sent manually)(pia)
[ ] - implement initial emails (xavier)

@xdamman can we set up automatically the default tiers for meetups?
I'd like to get this out tomorrow our monday
1 month x $250
3 months x $675 (10% discount)
6 months x $1200  (20% discount)

@xdamman this is the current page https://opencollective.com/meetups
There is no specific host the /meetups/apply in this case wouldn't work because /meetups is just way of bundling them with parentCollectiveId. What do you suggest?

@xdamman meetups collective ID is 858 I will add this as Parent Collective ID

@piamancini what should be the default host? I'll use 858 as the ParentCollectiveId but I also need the HostCollectiveId
For the default tiers, what should be the default description for each and button if different than "contribute"?

@xdamman default host is ID:8674
the tag is "Tech meet-ups" Can you use that instead of parent collective ID?
Button "Sponsor"

Cool, also need a small description for each tier.

btw fwiw it's very weird to read "meet-up" (1.4M results on Google Vs 12M for "meetup")

thanks

I'm editing the tag as well FYI for it to be meetups

tag and title fixed.
@xdamman Can we change the #parenting that pops up when you scroll down to the meetup list to something less confusing? members maybe or collective-members?

ok
PS: Still need the description for each tier.

"Sponsor our meetup and get: A shout-out on social media, presence in the merch table and your logo on our meetup page"
Each tier has the same description, the difference is the discount.  So maybe add '10% discount' on the 3 months tier and '20% discount' on the 6 months one.
quick reminder, they are all one time donations.

Collectives created via https://opencollective.com/meetups/apply will now have the "Tech meetups" tag, the HostCollectiveId 8674 and the default tiers for tech meetups.

Great!


Missing file: [ID] undefined  [FILE] isps/entitlement/Entitlement_Template.json

I followed the tutorial closely but I'm getting the following error:
Skill deployment finished.
Model deployment finished.
Lambda deployment finished.
Lambda function(s) updated:
[URI] arn:aws:lambda:us-east-1:090626355864:function:ask-custom-Premium_Facts_Sample-default
Error(s) found in the deploy setting for the following in-skill product(s):
(Please restore the missing file or modify skill configuration file .ask/config to fix the deploy setting)
Missing file: [ID] undefined  [FILE] isps/entitlement/Entitlement_Template.json
Missing file: [ID] undefined  [FILE] isps/subscription/Subscription_Template.json
In-skill product deployment finished.
In-skill product(s) updated:
[ID] amzn1.adg.product.400c49d1-19be-4606-b3a4-8195736d78ea [FILE] isps/entitlement/science_pack.json
[ID] amzn1.adg.product.64b0ba8e-08a5-4b06-8a18-a3a281241118 [FILE] isps/entitlement/space_pack.json
[ID] amzn1.adg.product.e57695d1-deec-4344-b95f-207f226cf667 [FILE] isps/entitlement/history_pack.json
[ID] amzn1.adg.product.c58ee911-772b-415e-91a8-65b5ea7e2217 [FILE] isps/subscription/all_access.json
Your skill is now deployed and enabled in the development stage.
Try invoking the skill by saying “Alexa, open {your_skill_invocation_name}” or simulate an invocation via the ask simulate command.

Sounds like there are ISP's that don't have corresponding json definition files.  For the tutorial, you won't need ones called Entitlement_Template and Subscription_template.  Look in your .ask/config file for something like this:
{
   "deploy_status": "Add",
   "filePath": "isps\\entitlement\\Entitlement_Template.json"
}

If you've found those entries, you can do one of two things.

You can delete that entry from the config file.  If you do that, be sure to remove just the offending entries, and the result is valid json (so watch for commas). Or,
You can create file (it can be an empty file) at the path specified, and then use the ask remove isp --file "isp\entitlement\Entitlement_Template.json" command to remove it.

Since it looks like there are two extra ISP's, you'll need to do it once for each ISP.

Thanks for your help! I managed to solve this issue, but when I go to test in the Alexa Skills Kit Developer Console, I get "There was a problem with the requested skill's response." Anyone else having this issue, and any ideas for a fix?

Assuming that there is a json request showing on the left side of the simulator, I would check the logs for the Lambda function.  If you're not familiar with how to do that, go to the Lambda function in the AWS console, then click the Monitoring tab and then click on one of the links which reads 'Jump to Logs'.  I would expect to see the error there.

Thanks! My log contains the following error:
Unable to import module 'index': Error
at Function.Module._load (module.js:474:25)
at Module.require (module.js:596:17)
at require (internal/module.js:11:18)
at Object. (/var/task/index.js:6:15)
at Module._compile (module.js:652:30)
at Object.Module._extensions..js (module.js:663:10)
at Module.load (module.js:565:32)
at tryModuleLoad (module.js:505:12)
at Function.Module._load (module.js:497:3)

Looks like this is the same issue reported here: #6   Let's close this issue and track that one over there (since the issue titles align with the issue).


refactor(vertical-layout): update storybook and edit style

To Reviewers

[ ] Skipping review is not a problem (style, chore ONLY)
[x] Not that difficult

Type of Change

[ ] New feature
[ ] Bug fixes
[ ] Feature improvement

[ ] These changes require a usage change

[x] Others (performance improvement, refactoring, CI/CD, etc.)

Checklist

[x] Updated Storybook documents for component
[ ] Wrote test codes for composable, utils and etc.
[ ] Tested with console(if usages are changed)

Description

:tada: This PR is included in version 2.0.0-beta.43 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Xeno warding tower needs physics

Currently it's ignored on the pathfinding graph.

I spawned one (XenoWardingTower) on master and it has a bounding box and is placing breadcrumbs appropriately. It has a Physics component with Fixtures defined. Seems to be working. Checking through the history of the file, I couldn't find a point at which it didn't have Physics & Fixtures.


Remove item icon

Really awesome library! My only request is if it's possible to have a method in MaterialAboutActionItem.Builder that removes the icon and it's empty space. I want to create cards with just the title and some long descriptions. Thank you for your work :)

Added! Don't really want to create a brand new release for this small feature, so for now you can replace the dependency with this:
compile 'com.github.daniel-stoneuk:material-about-library:d0c69db1eb'

Thanks for using the library!

Should probably point out how to use it... Simply call .shouldShowIcon(false) on the MaterialAboutActionItem.Builder()
Just fixed a small bug, use this commit:
compile 'com.github.daniel-stoneuk:material-about-library:3a10f88c76'

Tested. Working great. Thank you for the fast action 👍


Issue 14179 - Posix x86_64 varargs prolog clobbers RDX

RDX is used in the prolog but may be used to pass named arguments.  When used for a named argument, store in R11 during prolog.
I would have used R11 as the temporary directly, but the instruction encoding is a lot more complex and maybe not even possible.  (Can you do RIP-relative addressing with R11?)  The overhead should be negligible anyway.
@WalterBright Please review quickly as this blocks compiling ddmd with -O and I would really like to get that fixed before the release.
https://issues.dlang.org/show_bug.cgi?id=14179

@WalterBright It's all green, and fairly trivial.

I'll check it more thoroughly tomorrow, too tired tonight.

@WalterBright Ping.

@WalterBright Pretty please.

Anyone?  RDX is used to pass parameters, so we need to save it before the prolog and restore it after.

(Can you do RIP-relative addressing with R11?

Yes, use REX.R to shift MODRM.reg and REX.B to shift MODRM.rm operands.
If you set those prefixes you'll get register 8-15 instead of 0-7.
http://wiki.osdev.org/X86-64_Instruction_Encoding#Registers

Ok, I'll do that if I have to.  I don't think storing a copy in r11 is a bad solution to this problem, as:

Register copies are basically free on modern processors
The code size difference between adding two movs and adding a bunch of prefixes is negligible
The rest of the prolog has much bigger overhead (including an indirect branch!)
This only happens for the fairly rare case where RDX is used for a named argument

As this is the last known bug blocking DDMD this should block the coming release.

Actually looking at genregs, it already uses the modregxrmx macro. So you can simply use R11 instead of DX.

I don't think storing a copy in r11 is a bad solution to this problem

Yes, it's a valid solution, but the other one is slightly better.

Register copies are basically free on modern processors

Right

The code size difference between adding two movs and adding a bunch of prefixes is negligible

You already have REX_W prefixes all over the place, so no size overhead here.

The rest of the prolog has much bigger overhead (including an indirect branch!)

Right

This only happens for the fairly rare case where RDX is used for a named argument

Right

As this is the last known bug blocking DDMD this should block the coming release.

We're about to release way more often and regularly, but that will only work out if we strictly adhere to a release schedule. Anyhow, this looks like it's almost done, so we might still pick it into 2.067.

So to be clear, are you saying you'll merge it if I change to the other solution?  If so I'll do it tonight, otherwise I'd rather not spend the hour or so it'll take me to switch.

Actually looking at genregs, it already uses the modregxrmx macro. So you can simply use R11 instead of DX in most places.

That was the first thing I tried, but it doesn't work for all of the instructions.  I was using dmd's inline asm to find the encoding of the instructions, then fudging the code until it matched.  I got stuck when I realised dmd's inline asm can't do RIP-relative addressing.

This has all been reviewed by two people now and is urgent so I'm going to pull it.

Auto-merge toggled on


Option to Disable Save All on Search/Replace

Issue Type: Feature Request
Would like to be able to disable the recently-added ability to save all on search/replace. In my case this is because files in my workspaces are read-only by default.
VS Code version: Code 1.22.0 (6b4d53cdab8bcae1eaaa4934d93c077319b573db, 2018-04-05T17:27:42.363Z)
OS version: Windows_NT x64 10.0.15063

Why are you trying to do a search/replace if the files are readonly?

I'm asking for the same feature but for different reasons. Before saving the changes I'd like to check all the replacements, specially because there's no way (AFAIK) to undo the replace-all action.


cloudfront url issue cleared

I have encoded the url of model before adding it to the intent.
Reference Issue
Fixes #1095

@googlebot I signed it!


theme: anchors are overflowing the page width

Hi, thanks for this fork.
On mobile, some of our pages can be scrolled to the right slightly as the anchors overflow horizontally depending on the exact width of the heading text.
If I permanently hide the anchors by adding display: none to the .anchor rule, the page can no longer be scrolled to the right. It looks to me like the anchor widens the page because it sits directly at the end of the header on the same line.
Here's a screenshot, using the Chrome emulator (although the issue is the same on actual mobile), of the anchor flowing over the edge of the page:

Any ideas? :)

Thanks for reporting, I'll take a look into this.

I can not reproduce it with a condensed example.
Make sure, there isn't any other element cause the overflow (like eg. long URLs) or even better: post your markdown content here.

Thanks for looking into this @McShelby. I can recreate the issue using the following markdown:
---
title: "Maternity Leave and Maternity Pay"
menuTitle: "Maternity"
---

### Dictumva riu Lectusqui Nante

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce sit amet lectus ut est vulputate maximus et id ipsum. Ut augue ex, consectetur in lectus ac, facilisis molestie est. Aenean quis eros quis sem porttitor aliquam eget at leo. Duis neque metus, ultricies id elementum in, bibendum eget diam.

### Aliquam cursus massa euismod venenatis elit

Sed in diam felis. Aenean pulvinar nunc eget finibus ultricies. Nunc euismod venenatis elit, eget semper ex placerat ut. Aenean viverra felis ut dapibus bibendum. Sed viverra tempus urna et blandit. Nullam dictum enim sit amet pellentesque tincidunt. Donec ut gravida ipsum, sit amet egestas sem. Cras dignissim lobortis urna.

When the Heading Wraps
However, I found that the issue does not appear at width 329px (like in your screenshot). In my case, the issue is only present for widths between 396px and 403px (inclusive). Below 396px, the heading Dictumva riu Lectusqui Nante wraps onto two lines:

When the Heading Wraps and the Anchor Fits Okay
...and above 403px there is enough space for the anchor to be present without causing horizontal scrolling:

When the Heading Wraps and the Anchor Does Not Fit
You can see how at 403px (1px narrower than in the previous screenshot) the anchor is slightly cropped to the right (and it becomes more cropped as the width narrows) and a horizontal scrollbar appears at the bottom:

Thanks for your assistance!

To align the anchor icon with the rest was the easy part.
Additionally fixed with this issue is overflow scrolling when a tooltip was displayed either by the anchor icon or the copy-to-clipboard icon of inline code. For this to work, the tooltips are now attached with their right corner to the icon instead of being centered.

Thank you so much @McShelby :D


Use the new settings structure in poller.

Fix FabrikStatusPoller to use the new BoshDirectorClient
Fix the duplicated function in BoshDirectorClient
Fix unit test cases

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: muralisc:x: kamath-prasadYou have signed the CLA already but the status is still pending? Let us recheck it.


Updated to support distance matrix input of tsplib

I updated the evaluator.cpp to support an input file containing the distance matrix. TSPLIB format supports distance matrix and it presents EDGE_WEIGHT_SECTION instead of NODE_COORD_SECTION.

great


Contributing guidelines and k8s incubation template.

This change is

Review status: 0 of 9 files reviewed at latest revision, 1 unresolved discussion, some commit checks failed.

CONTRIBUTING.md, line 27 at r1 (raw file):

### Adding dependencies

If your patch depends on new packages, add that package with [`godep`](https://github.com/tools/godep). Follow the [instructions to add a dependency](https://github.com/kubernetes/kubernetes/blob/master/docs/devel/development.md#godep-and-dependency-management).

s/godep/glide

Comments from Reviewable

Review status: 0 of 9 files reviewed at latest revision, 1 unresolved discussion, some commit checks failed.

CONTRIBUTING.md, line 27 at r1 (raw file):
Previously, nhlfr (Michal Rostecki) wrote…
s/godep/glide

:+1:

Comments from Reviewable

Review status: 0 of 9 files reviewed at latest revision, 1 unresolved discussion.

CONTRIBUTING.md, line 27 at r1 (raw file):
Previously, jellonek (Piotr Skamruk) wrote…
:+1:

Done.

Comments from Reviewable

Reviewed 8 of 9 files at r1, 1 of 1 files at r2.
Review status: all files reviewed at latest revision, 1 unresolved discussion.

Comments from Reviewable

Review status: all files reviewed at latest revision, 1 unresolved discussion.

Comments from Reviewable


Miscellaneous fixes and improvements.

Miscellaneous fixes and improvements.
Description
Changes

Changed methods from Memory, MemorySegmentManager and its VirtualMachine shortcuts to accept generics.
Updated their usages (except on testing) to reflect those changes, which should remove unnecessary clones and potential allocations.
Change some methods that used to accept Vec<_> to accept impl IntoIterator<_> instead, which avoids a few Vec<_> allocations and provides better type compatibility.
Rename utility method Relocatable::sub_rel() to Relocatable::distance_to() with swapped parameters (self becomes other and other becomes self).
Fixed a few rust-analyzer-only errors (unnecessary mutability in some places).

Checklist

[ ] Linked to Github Issue
[ ] Unit tests added
[ ] Integration tests added.
[ ] This change requires new documentation.

[ ] Documentation has been added/updated.

 Add get_range() method to PyCairoRunner

My apologies. Once I starded improving stuff I couldn't stop until it was too late.


Use in canvas

Hi!
It is possible to be used in canvas app?
Sorry but I couldn't find the info
Thanks

Hi,
Sorry but it was not thougjt for Canvas App, only Model Driven. Thank you
El El vie, 30 ago 2024 a las 9:26, atheros117 @.***>
escribió:

Hi!
It is possible to be used in canvas app?
Sorry but I couldn't find the info
Thanks
—
Reply to this email directly, view it on GitHub
https://github.com/victorsolaya/Multiselect_Records_PCF/issues/51, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ACUIHTLM2JZLV6CI67EJJLTZUANBVAVCNFSM6AAAAABNL476ASVHI2DSMVQWIX3LMV43ASLTON2WKOZSGQ4TMNBVGI4TOMA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


[WIP] Add image testing using goss

This PR adds image testing using goss to Wardroom. goss image testing is integrated into the Packer build process via the packer-provisioner-goss plugin (https://github.com/YaleUniversity/packer-provisioner-goss). The goss YAML file is templated for support of different K8s/Docker CE versions.
The code is complete and has undergone limited testing. It needs more extensive testing before being ready to merge.
This PR closes issue #122.

Does this testing provide any additional validation that we don't currently get with the Ansible roles? I would expect Ansible to fail if the requested version of docker and/or k8s is not installed. This current approach seems like it would require more manual validation and trial/error to address updates to the default versions and may cause failures for users that want to override either docker or k8s versions outside of those covered by the existing goss variables files.

@detiber There was a situation in the past where the Ansible playbooks specified a particular version of Docker CE, but that wasn't the version that actually got installed (see issue #72). The testing as it stands right now would detect such conditions. I'm also open to other test conditions we might want to see added to the goss configuration.

@scottslowe is there any way to do the goss validation based on variables provided to packer (override the k8s version and/or docker version) without having to configure variables files for all the different permutations?

@detiber I don't think there is, but I will continue to experiment. WRT to the variables files, my thought was that we'd publish a single variables file for each release of Kubernetes that will contain the validated/recommended Docker version for that version of K8s. This is still not perfect, but should (hopefully) reduce all the permutations we need to maintain.

I wonder if @randomvariable has any thoughts here

Another test that popped into my mind is whether the kubelet and docker systemd services are enabled.

is there any way to do the goss validation based on variables provided to packer (override the k8s version and/or docker version) without having to configure variables files for all the different permutations?

@sfzylad is the expert here.
For context @sfzylad, the Cluster API AWS images were derived from Wardroom, so we can port the changes over from here to there at some point too.

To keep everyone in the loop: @craigtracey has suggested I take a closer look at Molecule, so I'm going to dig into that. Per a suggestion from @randomvariable (and agreement from @detiber), I'll also decouple testing from provisioning.

Closing this PR since Wardroom is no longer being actively developed.


XMP sidecars for video files can't show correctly only one keyword

Describe the bugs
While I appreciate a lot the implementation of #761 to support XMP sidecars for video files (thanks a lot @grahamalderson for your great work!), I may have spotted 2 bugs:

If the tagged video contains only one keyword, the keyword is shown in PiGallery2 character by character, each prefixed by a hash sign, all separated by comma and space (see screenshot below).
If the xmp file does not include the file extension of the tagged file, no keywords and ratings are shown in PiGallery's frontend. While I see in the commit here and here that xmp files without file extension of the tagged file should be picked up as well, it did not work for me. If I renamed the file bunny.mp4.xmp to bunny.xmp, PiGallery's frontend did not show keywords and ratings for the bunny.mp4 video anymore.

Photo/video that causes the bug
I think it's independent of the video file since metadata is extracted from the xmp file. I reproduced with my own videos but also with the PiGallery2 demo video.
If I remove line 21 of its xmp file in order to have only one instead of two keywords, it would look like this:
 <rdf:Description rdf:about=''
  xmlns:dc='http://purl.org/dc/elements/1.1/'>
  <dc:format>H.264</dc:format>
  <dc:subject>
   <rdf:Bag>
    <rdf:li>rabbit</rdf:li>
   </rdf:Bag>
  </dc:subject>
 </rdf:Description>

With this xmp file, PiGallery2 would show #r, #a, #b, #b, #i, #t instead of just rabbit.
Screenshots

Environment:

OS: MacOS Ventura 13.6.4
Browser: Chrome

Used app version:

Docker images:

bpatrik/pigallery2:edge-debian-buster
bpatrik/pigallery2:edge-debian-bullseye
bpatrik/pigallery2:edge-alpine

Git commit: https://github.com/bpatrik/pigallery2/commit/d1684d4c898e35314efaebaebc700aaf6bf83c6f

PR #839 fixes both bugs.


[stable/jenkins][improvement] - Add option to add scriptapproval hashes value on helm chart

Hello this would be a request for improvement,
We currently are running Jenkins with no persistent storage, with everything configured via CASC.
We have a few script that need to be approved at startup to be used right away. Thing here is even though the scripts are declared in the scriptApproval helm value, after every deployment the script asks to be approved again.
Doing some tests I've checked that the approvedSignatures xml tag is not as important as the approvedScriptHashes.
After every manual approval I've noticed that the hash is always the same (if the script doesn't change). Implementing this feature would bring more benefits than having just the approvedSignatures in place
The file where is set:
https://github.com/helm/charts/blob/master/stable/jenkins/templates/config.yaml#L129
Having something like the following would help alot:

This way every script approval could be managed directly under the Values file.
Thank you for the help

/assign @jessicaodish

I will be working on a PR for this.

@ricardojdsilva87 have you tried configuring via JCasC? It currently only supports signatures but perhaps it results in the desired behavior.
master:
  JCasC:
    configScripts:
      security-settings: |
        security:
          scriptApproval:
            approvedSignatures: []

Hello @wmcdona89 ,
Thanks for the help, unfortunately having only the approvedSignatures in place won't do it. The approvedScriptHashes is also always needed.
Currently we have on the values.yaml file for the helm the following like mentioned in the helm documentation.
master:
  scriptApproval:
    - "script1"
    - "script2"
    - "script3"

With this the scriptApproval.xml file is created here:
https://github.com/helm/charts/blob/master/stable/jenkins/templates/config.yaml#L129
And copied to the final location here:
https://github.com/helm/charts/blob/master/stable/jenkins/templates/config.yaml#L215
Our setup is now based on an EFS storage and the Jenkins pod has ephemeral storage. This is what triggered this "issue" since before we had an EBS and we thought that just having this piece of code on the values.yaml file would be enough.
Thanks

Hello @wmcdona89 ,
The scriptApproval.xml file is generated with the 1.74 version that we have installed.
Probably it should work only for small signatures like the example you show. We have entire groovy scripts and basically what we where doing was to add on the approvedSignatures field the name. It seems like you say and an hash is generated in these kind of situations.
Thanks

📢 stable/jenkins has moved to https://github.com/jenkinsci/helm-charts. If still applicable, please reopen the issue there. Thanks!


How to create from array

I have been banging my head on how to create a WriteableBitmap from a byte array.  One part that is killing me is that I do not know how big the Bitmap is but that is a required constructor.  So I have to create a bitmap just to get the higth and width.  Then when I use FromByteArray, it just seems botched.  It goes from 800k to 8000k with zero's filling in the array past 800.   Utilmatly I am trying to crop an image.   Any help would be much appreciated.  Thanks!
`                // Need to get original height and width
BitmapImage bitmap = new BitmapImage();
Task task = Task.Run(() => GetRandomStream(imageData));
task.Wait(10000);
            InMemoryRandomAccessStream ms = task.Result;
            bitmap.SetSource(ms);

            // Create the WriteableBitmap
            WriteableBitmap wb = new WriteableBitmap(bitmap.PixelHeight, bitmap.PixelWidth);
            WriteableBitmap populatedImage = wb.FromByteArray(imageData);
            WriteableBitmap cropped = populatedImage.Crop(crop_x, crop_y, width, height);

            return cropped.ToByteArray();`

Not sure about your code snippet as lots is missing. I'd recommend cloning the source code of WBX and then taking a look at the WriteableBitmapExBlitSample.WinRT sample.


Optimize catch block

There is no need of using NoClassDefFoundError in the catch block, because it is a subclass of the LinkageError class

Can one of the admins verify this patch?

Thanks!


Adds support for RN 0.73 and removes magic

Problem solved
Short description of the bug fixed or feature added
Changes made

[ ] Public API changes: list the public API changes made if any
[ ] Internal API changes: explain the internal logic changes

How to test

[ ] Automated tests: link to unit test file
[ ] Manual tests: step by step instructions on how to test

./release-pr


Ensure able Run Rt

Verify can:

install EpiNow2 package
execute something from vignettes in it

turns out I misremembered what's available in the package, but you can do the target test of install by checking the steps described in the repository: https://github.com/epiforecasts/EpiNow2 (scroll down through the README to see some basic examples).


Implement RNCBH autonomous strategy

Note: there are some ambiguous statements in the specification for this autonomous. See section "Ambiguities" near the end of this issue.
This strategy is for the red alliance, operating on the near side of the field; it scores climbers, activates the beacon, and parks on the high side of the ramp.
Initialization

[ ] Release wire servo

Driving to wall

[ ] drive forward 1 square
[ ] turn 45 degrees CCW
[ ] drive forward 2 squares
[ ] turn 45 degrees CCW
[ ] attempt to drive forward ~0.75 square

Scoring climbers

[ ] sense distance from wall
[ ] sense color of left beacon light
[ ] rotate servo cb to hit beacon button

[ ] "if (7) estimated blocks, swing servo for button further" :question:

[ ] rotate servo cb to move climbers behind beacon (over the beacon's bucket)
[ ] drive back 1 square (results in scoring climbers)

Moving to ramp

[ ] run out Rod motor (fully extending the rod) and pull back on Rod servo
[ ] turn 90 degrees CCW
[ ] drive forward one + 1/MEASUREME squares
[ ] turn 45 degrees CW
[ ] sense whether ramp is red and if distance to ramp is valid
if either fail then HALT
[ ] drive onto the ramp

Moving up the ramp

[ ] adjust drive motor power to changes in yaw (keeping the robot straight)
[ ] drive until first churro has been passed (sensed by changes in pitch or roll)
[ ] position hook to grab lowest back churro
[ ] pull rod in, run motors slowly :question:
[ ] stop all motors once robot reaches high zone

Ambiguities

[ ] "drive forward 1 square"
square = field tile? translate into actual measurement units
[ ] "extrapolate estimated number of blocks between robot and wall"
This one is a doozy. Are we talking about the plastic cubes from Block Party! or some other kind of block? What about whiffleballs? Other robots? Needs to be more rigorously specified.
[ ]  "if (7) estimated blocks, swing servo for button further" - see above
[ ] "Somehow clear blocks"
The ability to do a consistent, replicable autonomous hinges entirely on the robot's ability to do this. The fact that this wasn't mentioned until step 18 in the spec is somewhat troubling. I omitted this step in this listing because it's important throughout all autonomous programs at all times.
[ ] "Run drive motors until Op-D sensors roughly share a value" and "Drive forward"
run drive motors in what direction? drive forward how long? specify more explicitly
translated in this issue as "drive onto the ramp"
[ ] "Pull in; run motors slowly"
run drive motors, pull motor, or both slowly? specify

1 revolution = 6*pi inches = 1120 encoder tics
1 square = 24 inches = ~1426 motor tics

Observed implementation progress in ad382b5:

Release wire servo
drive forward 1 square
turn 45 degrees CCW
drive forward 2 squares
turn 45 degrees CCW
attempt to drive forward ~0.75 square
sense distance from wall
sense color of left beacon light


Hardware Security Module (HSM) support

HSMs (Hardware Security Module) allow for storing private key material in secure manner. In order to generate the key material we have to perform the Corda Node initial registration with the HSM option enabled. This is done by use of HA utilities:
[https://docs.corda.r3.com/ha-utilities.html](HA utilities)
This item is for modifying the initial registration to call HA utilities to allow for HSMs to be used.

Closing this feature request item as it is listed in the ROADMAP.md document instead.


More checks

[x] Exceeded line length
[x] Unnecessary List.concat when concatenating only fixed size lists.
[x] Record type aliases should be formatted multiline when exceeding N fields. (#24)
[ ] Functions where 'too much' happens.
[ ] Function should be moved to another module for better encapsulation.
[ ] Undocumented function that is exposed by module.
[ ] Use alias for complex 'thing'. This can be done by inspecting signatures.
[ ] Use point free notation where possible (\_ -> b to always b and \x -> List.map f x to List.map f)
[ ] Determine untested code.
[ ] Use multiline string instead of concatenated single line string.
[ ] Use list concatenation instead of multiple ++.
[ ] Replace function with a function provided by elm-lang/* or elm-community/*.
[ ] Magic numbers.
[x] Check for unnecessary port modules (#45)

[ ] Use of Regex.regex as a non static function (runtime error abound)
[ ] Use of Core's Array package
[ ] Functions defined in let bindings

[ ] use of Random iso Random.Pcg
[ ] using current time as a random seed rather than a port

[ ] For functions that have a record as an argument: check if only few (e.g. up to 3/configurable) fields are used and suggest to convert to individual parameters.
One of the "big code-smells" to me are view function that take in the whole model to print e.g. one field. This makes the view function very "potent".

Use point free notation where possible (\_ -> b) to always b and \x -> List.map f x to List.map f)

While I definitely agree with the second point, I do want to note that the first one seems in direct conflict with the noRedInk elm-style-guide which makes a decent case for \_ -> over always.
There's also the case to be made for eschewing overly point free code in performance critical code (say the inner loops of datastructure manipulation), though that's more relevant for library code as opposed to application code.
Sort of going on a tangent here, but I just realized that you'll be able to differentiate between application bundles and library code in 0.19. Might want to create slightly different presets for those..

@zwilias Thanks for pointing that out. This kind of information is valuable :).

https://github.com/stil4m/elm-analyse/issues/89 requests a warning on excessively indented code.

Another simple metric to check is to count the number of lines in modules and functions. More than once I have found myself trying to understand code from others with files with thousands of lines and functions with hundreds of lines. I like the way how plato  shows that info and the complexity of the code.

Matthew Buscemi just published an Atom plugin, elm-lens, which (among other things) warns about items that are exposed but not externally referenced.

[ ]  Exposed item with no external references

This might be a case where applications and libraries should be treated differently.

[] Internal module used outside of it's related module.
E.g.
I have ModuleName and ModuleName.Internal. I want to be sure that ModuleName.Internal could be imported only by ModuleName. And not by some other modules.
Good
module ModuleName exposing (something)

import ModuleName.Internal

Bad
module OtherModuleName exposing (something)

import ModuleName.Internal


Created a partitioned topic and a non-partitioned topic with same name

Describe the bug
Created a partitioned topic and a non-partitioned topic with same name, which should fail. but got success. reported by user @bilahepan
To Reproduce
This seems a race condition and not able to reproduce easily.
This is meet like this steps:

Start to produce data:

sudo -u docker ./bin/pulsar-client  produce persistent://my-tenant/my-namespace/my-topic-test -m "hello-pulsar”

And this will create a non-partitioned topic automatically.

create a partitioned topic with same name:(this in my test will not success, but in the online environment, it got success)

./bin/pulsar-admin topics  create-partitioned-topic  persistent://my-tenant/my-namespace/my-topic-test -p 20

Could consume data produced by this command:

./bin/pulsar-client  produce persistent://my-tenant/my-namespace/my-topic-test -m "hello-pulsar-1”

but not able to consume data by:
./bin/pulsar-client  produce persistent://my-tenant/my-namespace/my-topic-test-partition-10 -m "hello-pulsar"

Screenshots

This has been fixed by #5148


Increase acceptable verbatimDeterminer length

I have a value:
Shawkat Ali, Paul D. Hildebrand, Willy E. Renderos, and Pervaiz A. Abbasi (Kentville Research and Development Centre, Agriculture and Agri-Food Canada)
...in a data source that I would like put in verbatimDeterminer (found in a determination of organism in a material sample). Can we increase its acceptable string length?

done


Binary version

Hi,
Is there a binary version of this package.
I am trying to build version 3.0.1 but node-gyp fails.
In my opinion node gyp add extra complexity to end users that's why I am trying to create a binary version

Thanks @eduardhasanaj2 , no everything is as you see in the source code.


ocenaudio: 3.9.6 -> 3.10.2

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/ocenaudio/versions.
meta.description for ocenaudio is: "Cross-platform, easy to use, fast and functional audio editor"
meta.homepage for ocenaudio is: "https://www.ocenaudio.com"
meta.changelog for ocenaudio is: ""
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 3.10.2 with grep in /nix/store/0zqsws4zd7l9clnabhrslijncpzjd38g-ocenaudio-3.10.2

directory tree listing: https://gist.github.com/844a85b900685c5ce01ca96fd2602e60

du listing: https://gist.github.com/2e1818b88ce136d73ce3be5c84062215

Rebuild report (if merged into master) (click to expand)

3 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
0 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
ocenaudio

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/0zqsws4zd7l9clnabhrslijncpzjd38g-ocenaudio-3.10.2 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A ocenaudio https://github.com/r-ryantm/nixpkgs/archive/39d448a033f7adbb9f018217dfa0d217e34735dd.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/0zqsws4zd7l9clnabhrslijncpzjd38g-ocenaudio-3.10.2
ls -la /nix/store/0zqsws4zd7l9clnabhrslijncpzjd38g-ocenaudio-3.10.2/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

ocenaudio

Maintainer pings
cc @onny for testing.

Result of nixpkgs-review pr 110119 1
1 package built: ocenaudio
Builds and program is working fine :) Lgtm

Result of nixpkgs-review pr 110119 1
1 package built: ocenaudio
Builds and program is working fine :) Lgtm

This is a semi-automatic executed nixpkgs-review with nixpkgs-review-checks extension. It is checked by a human on a best effort basis and does not build all packages (e.g. lumo, tensorflow or pytorch).
If you have any questions or problems please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 110119 run on x86_64-linux 1

1 package failed to build and are new build failure:

ocenaudio: log was empty


Anchor Build Errors

Please what version of solana-program and solana-sdk does litesvm support .
Im getting a build error when i run anchor build

[dependencies]
anchor-lang = {version="0.30.1",features=["init-if-needed"]}
anchor-spl={version="0.30.1",features=["associated_token"]}
pyth-solana-receiver-sdk = "0.3.2"
solana-program = "2.1"
solana-sdk = "2.1"
litesvm = "0.3.0"

//errors i get
[2024-11-27T13:57:07.886232508Z ERROR cargo_build_sbf] Failed to obtain package metadata: `cargo metadata` exited with an error:     Updating crates.io index
    error: failed to select a version for `solana-program`.
        ... required by package `litesvm v0.3.0`
        ... which satisfies dependency `litesvm = "^0.3.0"` of package `nonce v0.1.0 (/workspace/Nonce-Protocol/programs/nonce)`
    versions that meet the requirements `~2.0.5` are: 2.0.18, 2.0.17, 2.0.16, 2.0.15, 2.0.14, 2.0.13, 2.0.11, 2.0.10, 2.0.9, 2.0.8, 2.0.7, 2.0.6, 2.0.5

    all possible versions conflict with previously selected packages.

      previously selected package `solana-program v2.1.0`
        ... which satisfies dependency `solana-program = "^2.1"` of package `nonce v0.1.0 (/workspace/Nonce-Protocol/programs/nonce)`

    failed to select a version for `solana-program` which could resolve this conflict

Please use LiteSVM as dev dependencies


How can I open Internal Browsers URL

I want to write a script that backups my Brave sidebar contents.
Brave stores the sidebar contents under sidebar_items which is under brave://prefs-internals
I want puppeteer to access brave://prefs-internals but it's throwing errors.
I think Puppeteer dosnt access Internal URLs like that because of Security purpose.
Please I need help accessing that.
I even passed the --disable-web-security but same thing

This kind of question is better suited for StackOverflow (you can use the Puppeteer tag). Browsers do have additional restrictions about internal pages and those of Brave might be different of Chrome. Perhaps reach out to the Brave development forums.


Auto corrected by following Lint Ruby Style/SymbolArray

Auto corrected by following Lint Ruby Style/SymbolArray
Click here to configure it on awesomecode.io

Coverage remained the same at 80.877% when pulling fc346d4078b52d20d5128e1750beb373600a1dc6 on awesomecode-lint-ruby-style-symbolarray-48236 into ed40b1d9634eccd994a408834183ce70271b7d5b on master.


[FLINK-15189][hive][doc] Add documentation for hive view

What is the purpose of the change
Add documentations for Hive views.
Brief change log

Add documentations for Hive views.

Verifying this change
NA
Does this pull request potentially affect one of the following parts:
NA
Documentation
NA

cc @bowenli86 @JingsongLi

@bowenli86 PR updated to address your comment.


[Question] How to modify the pattern to match @todo

I haven't been successful at updating the pattern to match the style of todos we use in our code. We prefix with the @ sign, all lowercase and no colon. E.g...
// @todo this is a todo.
// @note this is a note.
// @issue this is an issue.

I'm not exactly sure how to update the pattern config to make it work for those. Removing the colon isn't an issue, but getting the @ sign is where I'm struggling.

https://github.com/folke/todo-comments.nvim/issues/30

#30 didn't help for me btw.
But https://github.com/folke/todo-comments.nvim/issues/177#issuecomment-1421300491 did !


GPU usage

Thx for your great work and sharing.
I am currently using your code training AOC dataset.
but the usage of gpu is quite low, always below 50% using single Titan Xp.

Will you improve it?
Will you add more backbone such as mobilenet?
Will it support multi-gpus training?

Many thx for your open-sourcing.
best regards.
顺颂业祺。

you can use tensorrt, which is more optimal in gpu usage. the convert to tensorrt was already in readme


Change beautifier used for script tags in .vue files to pretty-diff

Vue-beautifier uses js-beautify for script tags, when I prefer if it used the same beautifier I selected for javascript (pretty-diff). Is there a way to change this?
I keep running into issues because js-beautify, such as line endings being converted to LF (but only inside the script tag, so I end up with mixed line endings in .vue files), and other bugs

In the Atom Beautify settings you can change the beautifiers associated with a given language.  That way you can make Pretty Diff the beautifier for vue or JS Beautify the beautifier for JavaScript.  I thought JS Beautify was the default for both languages.

@prettydiff I do not think this is currently customizable for Vue.
@Doeke pull requests welcome 😃

linter-eslint seems to work well, with the added advantage of reading a .eslintrc file so that the fix complies with the linter.
I'm not sure if the linter-eslint has a hook to work this way, but something like this might work.  I'm confident the scripting here is wrong, but I couldn't figure out how to build to test.
 when "script"   require("js-beautify")(text, options)
to offer the choice of use linter-eslint with something like
`
when "script"
switch lang
when "js-beautify"
require("js-beautify")(text, options)
when "linter-eslint"
require("linter-eslint")(text, options)
else
undefined


x/website: download button opens new tab

What operating system and processor architecture browser are you using (go env)?
macOS Monterey 12.4 (21F79), Safari 15.5 (176<IP_ADDRESS>.8)
What did you do?
Went to https://go.dev. Clicked on Download.
What did you expect to see?
The same tab navigate to https://go.dev/dl/.
What did you see instead?
A new tab open and navigate to https://go.dev/dl/.
Please don't spam with extra tabs. I just want to go to the page. I can Cmd-click to open a new tab if I need to.

This suggestion make a lot of sense. We opened in a new tab is because by that time it opened the page in "golang.org". Since we have merge this two sites, we should not open in a new tab as the page is no longer an external page.
For the downloading, we can also consider downloading the package based on the operating system instead of taking developers to the "All download" page since we merged these two sites.

Thanks for the background.
For general Download/installation UX improvement see
https://github.com/golang/go/issues/52491
https://github.com/golang/go/issues/52487
https://github.com/golang/go/issues/47578
If we can detect the underlying architectures correctly, utilizing go.dev/doc/install (that already detects OS) instead of go.dev/dl is another option.


Rename VSO -> VSTS

Hi @changeworld, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. Real humans will now evaluate your PR.

TTYL, MSBOT;


:WIP: Add blog post about CEE 2022

Add blog post about Cloud Expo Europe, written by Janis Kemper, co-founder of Syself GmbH, and member of the SCS community.
TODOs:

Review content
Add image(s)
Avatar?
Category?

@fkr can you please have a look?
You have also uploaded many of your pictures. Do you think that there are some that would fit?

Very cool. thanks for submitting this.  :)
I'll do a review of the text and add comments to a few places.
For the avatar: best to add the avatar image you want alongside with this PR to assets/images - the naming of the file should be according to the scheme present in that directory and be linked from the post (see other posts for examples).
For the picture question: I would suggest we include two pictures:

from the booth (I don't have a good one from the booth with only people from SCS in it - since I don't just want to publish pictures of random people without their consent. I'll check with the team for a good picture).

a picture from Kurt's talk. I have a good one for that and will add it to the PR later today.

Aside from that one general item:
If you submit a diff / PR to any of the SCS repos, please add the DCO to your commits.
See: https://github.com/SovereignCloudStack/Docs/blob/main/Contributor-Docs/dco-and-licenses.md

Very cool. thanks for submitting this.  :)
I'll do a review of the text and add comments to a few places.
For the avatar: best to add the avatar image you want alongside with this PR to assets/images - the naming of the file should be according to the scheme present in that directory and be linked from the post (see other posts for examples).
For the picture question: I would suggest we include two pictures:

from the booth (I don't have a good one from the booth with only people from SCS in it - since I don't just want to publish pictures of random people without their consent. I'll check with the team for a good picture).

a picture from Kurt's talk. I have a good one for that and will add it to the PR later today.

Aside from that one general item:
If you submit a diff / PR to any of the SCS repos, please add the DCO to your commits.
See: https://github.com/SovereignCloudStack/Docs/blob/main/Contributor-Docs/dco-and-licenses.md

Thanks @fkr. I have added the DCO and my avatar. I forced pushed (although bad practice at this stage), to verify that the DCO worked. I managed with the second try ;)
I didn't alter anything in the text though, so that your review would not get messed up with different versions of the text!

Thank you for your input so far. The blog post reads very well and I'm more than happy to have yet another community blog posting :heart:
For sharing on social media and other networks, I recommend to add an image to the frontface, e.g.
image: "/assets/images/blog/wallaby.jpg"
Moreover, a symlink in the German subfolder _i18n/deshould be added in order to display the posting on the German website. We should really tackle this issue at some time.

Can you please put line breaks (about every 80-100 characters)? It reads very badly in the review.

I added additional line breaks @berendt.
@itrich I have to admit that I didn't understand the process of adding new languages. Do I just copy everything in the /de folder?
Regarding the picture: @fkr wanted to have a look at a picture of Kurt's talk but said that he doesn't have a good one of the SCS booth. Do you maybe have one?

I added additional line breaks @berendt.
@itrich I have to admit that I didn't understand the process of adding new languages. Do I just copy everything in the /de folder?
Regarding the picture: @fkr wanted to have a look at a picture of Kurt's talk but said that he doesn't have a good one of the SCS booth. Do you maybe have one?

I checked with @itrich regarding pictures from the booth and we don't really have a good one. Lets just pick two photos:

one from kurt and
one from peter

during their talks.

@itrich I have to admit that I didn't understand the process of adding new languages. Do I just copy everything in the /de folder?

Simply create a symlink _i18n/de/_posts/blog/xxxxx.md to the corresponding file in _18n/en/_posts/blog/xxxxx.md. I'll try to automate this in the future – promised ;-)

@itrich @fkr I added two pictures without doing the styling and created the symlink.
Could you maybe arrange the pictures how you like them? I'm not the best in HTML/CSS...

@itrich @fkr I added two pictures without doing the styling and created the symlink.
Could you maybe arrange the pictures how you like them? I'm not the best in HTML/CSS...

paging @itrich to the rescue

@itrich @fkr I added two pictures without doing the styling and created the symlink.
Could you maybe arrange the pictures how you like them? I'm not the best in HTML/CSS...

paging @itrich to the rescue

HTML5-Man on his way :superhero:

@itrich @fkr I added two pictures without doing the styling and created the symlink. Could you maybe arrange the pictures how you like them? I'm not the best in HTML/CSS...

Did you stage all files? Your last commit only provided the symlink, but not the images.

Nice @itrich! Your help is really appreciated :D
I just committed the rest. I actually forgot to add it to the commit.
I just realized: Another thing would be the image that I should refer to in the layout section. Do you have an idea which one I could use?

Have a look at my recent pull request on your working branch. Hope this helps!

Thanks @itrich! That helped a lot! I rebased the branch to latest main. @fkr what do you think?


add talk-ch

mentioned at https://wiki.openstreetmap.org/wiki/WikiProject_Switzerland as one of two main communication channels, appears to be far more active than https://forum.openstreetmap.org/viewforum.php?id=30
Community Resource Name

Openstreetmap Schweiz/Suisse/Svizzera/Svizra

What is it?
mailing list
URL link to the resource
http://lists.openstreetmap.ch/mailman/listinfo/talk-ch
Points of contact
?
Bounding polygon

You can reference the id of an existing polygon already added
to this project under the features/ folder.

Switzerland is not existing for now

If no polygon exists, you can use http://geojson.io to draw a polygon
around where this community is active.  Save it to a .geojson file
or a gist, and add a publicly shareable link here.

Why it would be preferable over exporting border from OSM data and reducing accuracy a bit?
Description (optional)

Languages spoken (optional)
?
Country codes (optional)
ch
Add an emoji flag (optional)
hopefully we can avoid emoji

Add an emoji flag (optional)
hopefully we can avoid emoji

For what it's worth, the emoji for the Swiss flag would be ":switzerland:".

done in #263
BTW @joostschouppe - you can add some text like "closes #231" to the commit message, and it will close the issue automatically when the commit is merged.. here's more details on what magic words do this.

Oh wow, that's handy! Thanks for the tip, @bhousel
I guess I should also get a local client, so I can more easily make corrections on commits and edit several files in one commit.


Add support for the new image format

Images with the kernel as a separate payload need to have a different app ID
in order to ensure that we only pass them to versions of Update Engine that
will understand the additional payload. Add support to devserver to detect
whether the client is asking for a new image or a legacy one, and add
support to cros_generate_update_payload to build an appropriate image.


Dilato: Core: The new created file under the Working Files can't be renamed/showed in File Tree/Showed in Explorer with no message, if it isn't saved.

Steps:

Install and launch the Brackets
Click File menu and click New, then user would create a file under the Working Files
Right click on the file, click Rename/Show in File Tree/Show in Explorer

Result: There is no response after click these, if the file is not saved
Expect: There is an error message pop up to prompt user to save the file

Hi,
I am currently working on this bug, and I am having trouble phrasing the error message that needs to be shown.
Right now, it looks like this:

Is this fine?

@manoharprabhu Thanks For contributing to brackets.
Please raise a Pull request with the fix. Community members would help you in reviewing strings used in brackets once you raised the PR :+1:

I want to start contributing to brackets. Is this issue still open for working? If yes, please help me get started.

If @manoharprabhu will not work on this anymore, yes.
Personally I'd prefer to simply disable the menu items than showing a message, maybe you can check other code editor like Notepad++ or Sublime and see what they do.

@mansimarkaur can go ahead and contribute the fix for this issue.
Sorry, I got caught up in a lot of stuff and couldn't continue contributing.

is this issue still valid?
i would like to work on fixing it, if it is possible

Maybe I closed the related PR a bit hastily...
@petetnt was it ready to be merged but lacked only tests?
Maybe we could merge as is and add some tests in a different PR.
WDYT @petetnt?

@ficristo sounds good to me

@petetnt could you double check and eventually merge?
@mussakhojayeva are you willing to write tests for this feature? (I need to wait for the merge before)

See the follow up in #13134, fixed in #12806


Convert to onnx

I tried some codes to convert the pth model to onnx, but it didn't work.
Any suggestion?
Thanks

没试过转换ONNX，不太熟悉。


Example on how to implement firebase?

Is there any example on how to implement it with firebase?

@wmonecke , here's the sample

I'll close this, feel free to reopen if you still need help.


cmd/govim: investigate watcher test flake

Observed in https://travis-ci.org/myitcv/govim/jobs/581425669
--- FAIL: TestScripts (159.98s)
    --- FAIL: TestScripts/scripts (0.01s)
        --- FAIL: TestScripts/scripts/watcher (38.89s)
            testscript.go:308:
                # Test that the file watcher picks up file changes that occurs outside the editor
                # New file in the same package (37.769s)
                > vim ex 'e main.go'
                > errlogmatch -wait 30s 'PublishDiagnostics callback: &protocol.PublishDiagnosticsParams{\n\S+:\s+URI:\s+"file://'$WORK/main.go
                > cp const.go.orig const.go
                > errlogmatch -wait 30s '&protocol.DidOpenTextDocumentParams{\n\S+:\s+TextDocument: protocol.TextDocumentItem{URI:"file://'$WORK/const.go
                > errlogmatch -wait 30s 'PublishDiagnostics callback: &protocol.PublishDiagnosticsParams{\n\S+:\s+URI:\s+"file://'$WORK/const.go
                > vim ex 'call cursor(6,16)'
                > vim ex 'call feedkeys(\"iConst2\\<ESC>\", \"x\")'
                > vim ex 'w'
                > errlogmatch -wait 30s 'PublishDiagnostics callback: &protocol.PublishDiagnosticsParams{\n\S+:\s+URI:\s+"file://'$WORK/main.go
                FAIL: testdata/watcher.txt:12: errlogmatch failed to find match

Full build log:
https://gist.github.com/myitcv/7956c76aec8d0820d1dc241e3b1be206

Seeing this quite a lot...

e.g. two fails in https://travis-ci.org/myitcv/govim/builds/581439455

This one could be related to an old Vim version. After bumping the minimum required Vim version I've run the entire suite 6 times (*8 jobs) without seeing a single watcher failure.
Let's monitor for a little while and then close this if it doesn't happen soon again.

Haven't seen since and happened quite often before. Closing it for now.


day light saving offset?

Hi Kevin,
I'm trying to use your pysmartnode but seem like day light saving is not offset for country which locate near equator such as Thailand (UTC+7)
Your below current code under Networking directory are all not covering day light saving condition. Could you kindly reconsider?
tm = tm[0:3] + (0,) + (tm[3] + config.RTC_TIMEZONE_OFFSET,) + tm[4:6] + (0,)

Your issue made me find a bug but I am not sure that was the problem you are referring to?
If the timezone offset makes the day of the month change, then the hour isn't correct anymore:
>>> settime(0)
2020-03-08 17:25:52
>>> settime(1)
2020-03-08 18:25:54
>>> settime(5)
2020-03-08 23:25:55
>>> settime(6)
2020-03-09 05:25:57
>>> settime(7)
2020-03-09 12:26:02
>>> settime(8)
2020-03-09 20:26:05

But I'm not sure what timezones have to do with the equator?
Also day light saving condition: You mean that it automatically knows about the day light saving conditions and adjusts the time by +-1 hour?
If so, then this was just too complicated for the use-case because the rest of the framework only uses the time for logging and the statistic on when the controller was restarted the last time. I hoped that at one point someone would fix the ntptime module to synchronize according to timezone.

Hi Kevin,
I guess that you are in German and your local lime will different from UK
(UTC+0) exactly whole year, I guess so that your country have day light
saving adjustment as well, am I right?. My local is in UTC+7 , Bangkok time
which we don't have day light saving adjustment so once UTC+0 is in day
light saving interval then Bangkok time will be diff one hour from NTC
time.
best regards,
On Sun, Mar 8, 2020 at 11:30 PM Kevin Köck<EMAIL_ADDRESS>wrote:

Your issue made me find a bug but I am not sure that was the problem you
are referring to?
If the timezone offset makes the day of the month change, then the hour
isn't correct anymore:

settime(0)
2020-03-08 17:25:52
settime(1)
2020-03-08 18:25:54
settime(5)
2020-03-08 23:25:55
settime(6)
2020-03-09 05:25:57
settime(7)
2020-03-09 12:26:02
settime(8)
2020-03-09 20:26:05

But I'm not sure what timezones have to do with the equator?
Also day light saving condition: You mean that it automatically knows
about the day light saving conditions and adjusts the time by +-1 hour?
If so, then this was just too complicated for the use-case because the
rest of the framework only uses the time for logging and the statistic on
when the controller was restarted the last time. I hoped that at one point
someone would fix the ntptime module to synchronize according to timezone.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/kevinkk525/pysmartnode/issues/15?email_source=notifications&email_token=AIGOFLWQBTN2O6FX3GQV2P3RGPB3HA5CNFSM4LD2TOM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOE2QWY#issuecomment-596224091,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AIGOFLSTYAKOG4ULPTEQVM3RGPB3HANCNFSM4LD2TOMQ
.

--
Wattana R.

UTC is without daylight savings. When day light savings start in Germany, I have to change my configured offset from +1 to +2. So I basically change the offset configuration twice a year.

So your offset from UTC will always be correct if you have no daylight savings. (except for the offset error in my first answer where the offset changes the current day number. I'll fix that soon).

Yes, this is my point...if I'm not wrong you will change your clock every
Mar and October time... Could you add one more offset time to cover it
automatically later manual changing on config file? If you don't have plan
to do it so please kindly let me know then I will have to add some checking
before using your files.py under Networking directory..
best regards,
On Sun, Mar 8, 2020 at 11:48 PM Kevin Köck<EMAIL_ADDRESS>wrote:

UTC is without daylight savings. When day light savings start in Germany,
I have to change my configured offset from +1 to +2. So I basically change
the offset configuration twice a year.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/kevinkk525/pysmartnode/issues/15?email_source=notifications&email_token=AIGOFLW4SR7UK227T2L7V7LRGPD65A5CNFSM4LD2TOM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOE25VI#issuecomment-596225749,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AIGOFLQKFWKJ3NV32NWG5JTRGPD65ANCNFSM4LD2TOMQ
.

--
Wattana R.

I'm sorry but I do not understand what you are trying to explain..
What additional offset time?
UTC+0 is always in the same time and doesn't change during the year. You don't need to change anything.

Independent of this problem: Pull the latest changes, I fixed the offset: https://github.com/kevinkk525/pysmartnode/commit/345460f071edbf40ba5c3dc0ffc3ec814f2a16c5

If that the case so why have you changed your configuration file twice a
year?  I just need to make sure on this before flash your code on my ESP
chips... I'm not expert but I think it should be adjust automatically once
it's on production...
On Sun, Mar 8, 2020 at 11:57 PM Kevin Köck<EMAIL_ADDRESS>wrote:

I'm sorry but I do not understand what you are trying to explain..
What additional offset time?
UTC+0 is always in the same time and doesn't change during the year. You
don't need to change anything.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/kevinkk525/pysmartnode/issues/15?email_source=notifications&email_token=AIGOFLTMKTBXJMSWGJUMQELRGPE67A5CNFSM4LD2TOM2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEOE3EQA#issuecomment-596226624,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AIGOFLT2RI4AZUADP67FPDLRGPE67ANCNFSM4LD2TOMQ
.

--
Wattana R.

UTC+0 is always the same time.
Germany is UTC+2 from March and UTC+1 from October because of daylight savings. So I have to change my offset twice a year.

Did you get it work? Any other issues?

Hi Kevin,
Thank you for following up, I'm currently using my script to change DLS
(midified from JumpZero). I've moved to use your IoT platform yet but I
will. Thank you for your kind support again.
best rgds,
On Sat, Apr 11, 2020 at 12:28 PM Kevin Köck<EMAIL_ADDRESS>wrote:

Did you get it to work? Any other issues?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/kevinkk525/pysmartnode/issues/15#issuecomment-612333107,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AIGOFLT6JB7M5ZHBUMLMO4DRL75WFANCNFSM4LD2TOMQ
.

--
Wattana R.