/oauth/token with refresh token does not set authorization header

Recent versions of the CLI seem to fail against older versions of the API for some operations, specifically those that require getting a new access token for a refresh token.
This appears to be fixed by supplying an Authorization header per https://tools.ietf.org/html/rfc6749#section-2.3.1.
Command
To demonstrate:
cf logs --recent  APPNAME

What occurred
An Authentication object was not found in the SecurityContext

What you expected to occur
Recent logs for application to be shown
CLI Version
cf version 6.27.0+d26b32dcc.2017-06-08

CC API Endpoint Version
api version:    2.43.0

CF Trace
REQUEST: [2017-06-30T11:17:34+10:00]
POST /oauth/token HTTP/1.1
Host: uaa.system.[hidden]
Accept: application/json
Connection: close
Content-Type: application/x-www-form-urlencoded
User-Agent: cf/6.27.0+d26b32dcc.2017-06-08 (go1.8.3; amd64 darwin)
[PRIVATE DATA HIDDEN]

RESPONSE: [2017-06-30T11:17:34+10:00]
HTTP/1.1 401 Unauthorized
Cache-Control: no-cache, no-store, max-age=0, must-revalidate
Cache-Control: no-store
Content-Length: 108
Content-Type: application/json
Date: Fri, 30 Jun 2017 01:17:34 GMT
Expires: 0
Pragma: no-cache
Pragma: no-cache
Server: Apache-Coyote/1.1
Strict-Transport-Security: max-age=31536000 ; includeSubDomains
Www-Authenticate: Basic realm="UAA/client", error="unauthorized", error_description="An Authentication object was not found in the SecurityContext"
X-Cf-Requestid: d29d3687-8fb5-4b8f-76aa-d3f8da0cae03
X-Content-Type-Options: nosniff
X-Frame-Options: DENY
X-Xss-Protection: 1; mode=block
{
  "error": "unauthorized",
  "error_description": "An Authentication object was not found in the SecurityContext"
}

An Authentication object was not found in the SecurityContext

Platform & Shell Details
Not relevant
Any other relevant information
The same cli tool works fine against another one of our environments that has a newer API:
api version:    2.75.0

@aeijdenberg Would you mind downloading an edge release and confirm the issue is resolved?
https://github.com/cloudfoundry/cli#edge-binaries
Cheers,
Dies Koper
CF CLI PM

Hi @dkoper - the new binary appears to work, thanks.

Incorporated in cf CLI 6.29.0. Thanks again for reporting it and submitting the PR.
Cheers,
Dies Koper
CF CLI PM


razer chroma support disabled

unfortunately razer has updated their razer chroma sdk and now its disabled on aurora.  can someone help with this?

this is on every update from v0.8.1 to v0.8.1 +901

Hi sleet, I had the same problem I reinstalled Razer completely, the option "repair or uninstall and reinstall" did not work so I uninstalled it and downloaded the installer on razers site. After you have uninstalled Razer Synapse and stuff you go into Aurora and uninstall the "Supported Version" you may have to restart afterwards but after a few tries I got mine to look like installed version "1.0" now install Razer and wait till it asks you to restart again. Mine looks like the attached image and works again :)
P.s I noticed you're using the Blackwidow aswell does your spacebar and your media keys work?

you said uninstall the supported version. which version of aurora are you running?

and no those keys do not

Hi again, I am using the latest version of aurora the beta 0.8.1.

Hi sleet, I had the same problem I reinstalled Razer completely, the option "repair or uninstall and reinstall" did not work so I uninstalled it and downloaded the installer on razers site. After you have uninstalled Razer Synapse and stuff you go into Aurora and uninstall the "Supported Version" you may have to restart afterwards but after a few tries I got mine to look like installed version "1.0" now install Razer and wait till it asks you to restart again. Mine looks like the attached image and works again :)
P.s I noticed you're using the Blackwidow aswell does your spacebar and your media keys work?

what exactly did you do? after uninstalling synapse, pressing the uninstall button in the screenshot immediately gives me a dialogue telling me to reboot (which i have tried doing 6 times), after which nothing happens. how long did it take?

I'm having the same issuie suddenly. I reinstalled Synapse completely, Aurora aswell, I uninstalled and reinstalled the  Supported version, nothing. It still says disabled. In the Chroma Studio, no App is listed (Aurora was listed formerly)

In the logs, i found the following Error Message:
[ERROR] 19:29:50: Razer device, Exception! Message:System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.
bei System.Object.GetType()
bei Corale.Colore.Core.RegistryHelper.IsSdkAvailable()
bei Aurora.Devices.Razer.RazerDevice.Initialize() in C:\projects\aurora\Project-Aurora\Project-Aurora\Devices\Razer\RazerDevice.cs:Zeile 60.
(Sorry, it's in german, but it seems, as if the connection to possible)

Same here. Just started with Aurora today and installed Razer Synapse, but all i've got is:

And the exact same errormessage as gollenia.
Let me know if i can help debugging this problem

Same problem here

Also having this same issue.

I'm also having this same issue; it may be related to #2180.
Here are my logs.
I've uninstalled/reinstalled Synapse a number of times; I've tried installing Chroma through the Razer installer and patching afterwards as well as installing Synapse without Chroma and trying to patch it through Aurora. I've also tried patching the System32 .dlls (RzChromaSDK.dll and RzChromaSDK64.dll) as well as the respective .dlls in Program Files/Program Files (x86).
These log lines seem suspect in the main Aurora logs:
[ERROR] 18:31:24: Razer device, Exception! Message:System.NullReferenceException: Object reference not set to an instance of an object.
   at System.Object.GetType()
   at Corale.Colore.Core.RegistryHelper.IsSdkAvailable()
   at Aurora.Devices.Razer.RazerDevice.Initialize() in C:\projects\aurora\Project-Aurora\Project-Aurora\Devices\Razer\RazerDevice.cs:line 60

I can also see that an Aurora.exe.log was created in C:\Program Files (x86)\Razer Chroma SDK\logs: Aurora.exe.log This log correctly detects when Aurora is open/closed. The entire time, though, Aurora is reporting that it can't connect, and it wasn't showing up on Synapse.

Same Problem here, still no Solution?

Same issue here, I tried reinstalling razer synapse multitude of times (uninstall, reinstall), the Razer SDK service is running in task manager, error log shows it loaded razer sdk:
[INFO] 14:49:16: RazerSdkManager loaded successfully!
but then the same error occurs to me:
[ERROR] 14:49:19: Razer device, Exception! Message:System.NullReferenceException: Object reference not set to an instance of an object.
at System.Object.GetType()
at Corale.Colore.Core.RegistryHelper.IsSdkAvailable()
at Aurora.Devices.Razer.RazerDevice.Initialize() in C:\projects\aurora\Project-Aurora\Project-Aurora\Devices\Razer\RazerDevice.cs:line 60
[INFO] 14:49:19: Device, Razer, was not initialized
please help

It seems that this project is no longer being maintained, the last update was on Jun 13, 2020. RIP Aurora. Uninstalling in 3,2,1 ....


assertion failed: textDirection != null

I created a flutter module, and I want to use flutter create a card UI for my current APP.
But I always get an error for this, I can add the textDirection: TextDirection.ltr to fix this, but I dont want to do it.
Instead, after I changed it to MaterialApp, and use scaffold, I don't need to provide textDirection for my widget again.
How can I fix this issue?

@zoechi thanks for your reply, I used MediaQuery and Directionaly wrapped my widget, and it works fine.


Develop a new roadmap

The roadmap on the old site was  dreadfully out of date.
Develop a new one and put it in pages/collab/roadmap.md.

Added a placeholder on the page.  This still needs to be developed, but we can field the site without it.


fix blocked streams, read just from changed streams, disable reading stream to use less memory

blocked streams // read just from changed streams:
sometimes the streams are blocked, now we read just from changed streams (stream_select)

disable reading stream to use less memory:
sometimes we dont need the information from STDOUT and the output is very huge - now we can disable the readStream method for STDOUT

what about a merge? :-)


Set credentials

Hi and thanks in advance.
Where I have to set the noip account credentials?

The instructions on how to use this are describe in the README here.


Unable to add Custom Matter ZCL template

At this point, custom ZCL clusters are stored in the XML files. zcl.json file is a top-level SDK file that is read in to read multiple XML files.

We should add a nice description for the users...

In all reality, why not allowing zcl.json to load the custom XML? This way we can simply load multiple XML files through one file.

This is essentially an error of giving users nice warnings and error messages.


phpstorm freezes when opening a new project or any window in phpstorrm

Description
The plugin seems to work - my phpstorm installed on windows sees packages installed in wsl using the pnpm package manager, which uses symlinks. I tried installing react.js, next.js in wsl using pnpm - it seems to work: the projects are launched.
But when opening a new project, phpstorm freezes - it does not respond to any buttons or actions. The only option left is to force shutdown phpstorm through the task manager.
Also phpstorm freezes when opening any phpstorm window.
If you disable your plugin, phpstorm does not freeze.
Steps to Reproduce
phpstorm freezes when opening a new project.
Expected behavior: [What you expect to happen]
new project opens
Actual behavior: [What actually happens]
new project does not open - phpstorm freezes
Versions
Build #PS-241.14494.237, built on March 27, 2024

The version of intellij-emberjs (Settings -> Plugins -> Ember.js):

ember-experimental-js - 2023.4.0.
https://plugins.jetbrains.com/plugin/8049-ember-js - is not supported by phpstorm 2024.1
Additional Information

Hi, this should be fixes with the 2024.1.1 release.
Also, i did copy from my other plugin emberjs , the GitHub issue template and forgot to adapt it -.-

Hello! 😀
Thanks for your plugin and your work! This is such a long-awaited functionality for wsl users!
I've been testing the plugin for the last couple of days with the new version of the plugin (2024.1.1). The plugin seems to be working - however, phpstorm began to freeze again. What's interesting is that one day I was able to open new projects - phpstorm didn't crash. But today I created a project (in wsl) that does not use symbolic links and when opening the phpstorm project selection window it froze again. I forced quit phpstorm through task manager, opened phpstorm again and it froze again. After that I removed the plugin and phpstorm did not freeze when opening a new project.

After that I installed the plugin again, reloaded phpstorm and I was able to open the project and work with it. But when opening a new project, phpstorm froze again.
It turns out that I can only work with the project when the plugin is installed if I first uninstall the plugin, restart phpstorm, install the plugin again and open exactly the last project I was working with before restarting phpstorm.
I don't know, maybe it's a problem with my version of phpstorm or the way my phpstorm is configured - maybe a problem with some plugins or something else.
Do you have any ideas what this might be connected with? And maybe tell me some life hacks or tricks to somehow avoid this problem with phpstorm freezing when opening a new project?
I'm ready to help you with testing - maybe you have experimental builds of the plugin, or a beta version.
Anyway, thanks for your work and for your plugin!

Hi, the latest version should fix this hopefully

Hi, the latest version should fix this hopefully

Hello! 😀
I installed the new version of the plugin and so far everything is working great!
Thank you for your plugin! It's incredible that you were able to implement symlinks support and work with them from Windows applications!


Document how to use color option

Please document how to use color option while plotting function under the ** Using PlotIt ** section. Also add an example showing how to use color option.

@LoneOne123 you may take this up as you've worked with color options.

Will have a look at this later on the day

Ok thats the text i would append to the description on using plot
Color defines color of the plot line and have to be in low case letters (as word) or in hexformat (in single quotes).
And that are here 2 examples i would append
python plotit.py -f 'sin(x)' -c green
python plotit.py -f 'sin(x)' -c '#008000'
If its ok i would commit it and create a pr, but please have a look on correctnes of spelling and grammar im not a native speaker so maybe there are some mistakes ;)
greets

Since I see that documentation for color has not still been added, I'd like to do that @djmgit


Add new Elasticsearch Domain property

https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-elasticsearch-domain.html#cfn-elasticsearch-domain-nodetonodeencryptionoptions

Thanks!

Is it possible to create a release that contains this fix?
Thanks

Sure thing, release 2.4.6 was just released.


Backport #4839 to 7.17.x: Fix panic in the agent when log collection is enabled on ECS Fargate

Commit ae3bb229 introduced a potential panic in the agent:
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x60 pc=0x1a7453c]
goroutine 158 [running]:
github.com/DataDog/datadog-agent/vendor/github.com/docker/docker/client.(*Client).ContainerList(0x0, 0x3b05100, 0xc0000c4010, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xc0004a70e0, ...)
	/.omnibus/src/datadog-agent/src/github.com/DataDog/datadog-agent/vendor/github.com/docker/docker/client/container_list.go:38 +0x38c
github.com/DataDog/datadog-agent/pkg/logs/input/docker.GetContainer(0x0, 0xc0002f2d29, 0x40, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, ...)
	/.omnibus/src/datadog-agent/src/github.com/DataDog/datadog-agent/pkg/logs/input/docker/client.go:72 +0x19f
github.com/DataDog/datadog-agent/pkg/logs/input/docker.(*Launcher).run(0xc0004905a0)
	/.omnibus/src/datadog-agent/src/github.com/DataDog/datadog-agent/pkg/logs/input/docker/launcher.go:150 +0x738
created by github.com/DataDog/datadog-agent/pkg/logs/input/docker.(*Launcher).Start
	/.omnibus/src/datadog-agent/src/github.com/DataDog/datadog-agent/pkg/logs/input/docker/launcher.go:127 +0x3f
AGENT EXITED WITH CODE 2, SIGNAL 0, KILLING CONTAINER

The initial goal of this commit was to allow the datadog agent to start while
the docker daemon was not reachable and then to reconnect to docker as soon as
it becomes available in order to collect docker container logs without having
to restart the agent.
This was done by allowing the docker log input processor to start even if the
initial attempt to connect to the docker daemon failed. New attempts to connect
to docker were regularly done in background until it succeeds.
A nil pointer dereference on l.cli could happen in
pkg/logs/input/docker/launcher.go:150
if that piece of code is executed while the agent hasn't been able to connect
to docker yet.
This is extremely unlikely since this piece of code is triggered when the
auto-discovery fires "new docker service" or "new docker source" events
and, in order to do so, the auto-discovery must have been able to connect
to docker.
If docker isn't available, l.cli is nil, but the auto-discovery will
not trigger a "new docker service" event that would try to dereference it.
One situation that could lead to the panic is a theoretical race condition
due to the fact that the auto-discovery has its own docker client while the
log package has another one.
If the docker client of the auto-discovery manages to connect to the docker
daemon and manages to send "new docker service" events faster than the docker
client of the log package connects to docker, l.cli could be dereferenced
while still being nil.
Such a fatal race condition is susceptible to happen only once in the lifetime
of the agent. Indeed, once the docker client has managed to connect to the
daemon once, l.cli will never be nil again.
Such a situation is very unlikely and hasn't been observed in the wild.
The other situation in which this panic can happen is on setups where the
auto-discovery can fire "new docker service" events while the docker socket
isn't available to the datadog agent.
That's the case of ECS on Fargate.
Indeed, there's an ECS specific auto-discovery listener that isn't relying on
docker. And, on Fargate, the docker socket isn't available to the containers.
Note that, on ECS on EC2, things are working fine because the docker socket
is available from inside containers.
But on ECS on Fargate, AD is generating "new docker service" events and the
docker socket isn't available.
That's the reason why, on ECS on EC2, the
ECS documentation
explains that log collection can be enabled by setting DD_LOGS_ENABLED to true
whereas on ECS on Fargate, the
Fargate documentation
explains that log collection requires a completely different setup that relies
on either Fluentbit or awslogs. In both cases, we shouldn't set DD_LOGS_ENABLED.
The datadog agent will not be able collect docker logs himself on Fargate.
Nevertheless, setting DD_LOGS_ENABLED on Fargate should do nothing and not
make the agent panic.
This change fixes the above described panic situations by replacing direct access
to l.cli by calls to l.getCli() where l.getCli() returns l.cli, nil
only if the setupRetrier doesn't return an error and the only situation where
l.setupRetrier.TriggerRetry() doesn't return an error is when it has managed
to successfully call l.setup(). (See
retrier.go:78)
And (*Launcher)setup() error return a nil error only if it has managed
to instantiate the docker client.
Fixes #4834

thanks 👍


fix:incorrect text color of MultiSelect CloseButton (#1318)

Closes #1318
📑 Description
just add 'dark:text-white' for CloseButton

Status

[ ] Not Completed
[x] Completed

✅ Checks

[x] My pull request adheres to the code style of this project
[ ] My code requires changes to the documentation
[ ] I have updated the documentation as required
[ ] I have checked the page with https://validator.unl.edu/
[ ] All the tests have passed
[x] My pull request is based on the latest commit (not the npm version).

ℹ Additional Information

Summary by CodeRabbit

Style

Improved visibility of the CloseButton in dark mode for the MultiSelect component.

Thank you for your contribution.


factor out WaveButton

You may find reviewing the commits individually convenient
cc @keybase/react-hackers

I think this "passed" CI


plasma-panel-spacer-extended: init at 1.8.3

Description of changes

Add plasma-panel-spacer-extended: Spacer with Mouse gestures for the KDE Plasma Panel featuring Latte Dock/Gnome/Unity drag window gesture. Run any shortcut, command, application or URL/file with up to ten configurable mouse actions

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

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

Looks fine, though this could probably use something like versionCheckHook

I don't get how this would be used for a non-binary package. This looks like it is only useful for binary packages


[Storage] Batch Request Sanitizer (List to Update)

During test proxy migration, we have run into an issue with having difficulties sanitizing batch operations. This issue serves to maintain a list of what tests should be recorded once we have the batch sanitizer.
test_container.py (sync & async)

test_delete_blobs_simple
test_delete_blobs_with_version_id
test_delete_blobs_simple_no_raise
test_delete_blobs_snapshot
test_standard_blob_tier_set_tier_api_batch
test_batch_set_standard_blob_tier_for_version
test_standard_blob_tier_with_if_tags

test_common_blob.py (sync & async)

test_token_credential_with_batch_operation

Bumpity


Add AppVeyor

fixes #19

Thank you for the contribution! Seems to be a great service! I just added some details to the description


run.summary  has an AttributeError exeption when .start and .stop work

CODE TO REPRODUCE:
import tiled ### to get version later
from databroker.queries import TimeRange
from tiled.client import from_uri
c = from_uri("https://tiled-demo.blueskyproject.io/api")
csx = c["csx"]["raw"]

runs = csx.search(TimeRange(since = "2022-02-10 20:35:47", until = "2022-02-10 22:29:24")) #16 entries no large data

print(tiled.__version__)
print(list(runs[0].metadata))
runs[0].summary

OUTPUT:
0.1.0a61
['start', 'stop', 'summary']
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
Input In [34], in <cell line: 3>()
      1 print(tiled.__version__)
      2 print(list(runs[0].metadata))
----> 3 runs[0].summary

File /srv/conda/envs/notebook/lib/python3.9/site-packages/databroker/client.py:100, in BlueskyRun.__getattr__(self, key)
     98 if key in self:
     99     return self[key]
--> 100 raise AttributeError(key)

AttributeError: summary

The run.metadata object does return all three dictionary keys and their nested values. Just showing the values for summary for clarity.
 'summary': {'datetime': datetime.datetime(2022, 2, 11, 3, 29, 4, 768110, tzinfo=datetime.timezone.utc),
             'duration': 10.249870538711548,
             'plan_name': 'rel_grid_scan',
             'scan_id': 151875,
             'stream_names': ['baseline', 'primary'],
             'timestamp':<PHONE_NUMBER>.7681098,
             'uid': '2a4b0ac5-e2de-41bd-8324-6989ab163954'}}

should say that dictionary key works so data is still accessible.
print(list(runs[0].metadata))
runs[0].metadata["summary"]

Just didn't expect for only run.start and run.stop to work and run.summary to not work.

This is an interesting question. I considered run.start and run.stop "grandfathered" in since people are familiar with h.start and h.stop. But it would be reasonable to expend the pattern to any new keys (like run.summary) for consistency. Good feedback.

I think also run.metadata.start works but run.metadata.summary does not.


Support for command line of dart at Linux

Hello Simolus,
We want to run our server which has a database of sqlitecipher in the server with dart command line
https://dart.dev/tutorials/server/cmdline
When we run our app with flutter as the flutter repository contains sqlcipher_flutter_libs: ^0.5.4 in .yaml file, our flatter app works all good with the local flutter server.
Now we want to run our server in a container with Dockerfile so we need command line capability at pure dart code.
You can look at the command line simple here: (https://dart.dev/tutorials/server/cmdline)
Please help us how we can have sqlcipher in our command line dart app.

Can you please help us with which command to run and get the libsqlcipher.so file or provide us libsqlcipher.so file to include it with our command line.

Could you post the Dockerfile you're using at the moment? There are many ways to get a libsqlcipher.so for most Linux distributions - depending on the one you use as the basis for your container, I can suggest a way to install it.

Here is my dockerfile:
FROM dart:stable AS build

# Install sqlcipher
RUN apt update; \
    apt install -y sqlcipher

# double checking that sqlcipher is installed successfully
RUN sqlcipher --version

# Resolve app dependencies.
WORKDIR /app
COPY pubspec.* ./
RUN dart pub get

# Copy app source code and AOT compile it.
COPY . .

# Ensure packages are still up-to-date if anything has changed
# RUN dart pub get
RUN dart pub get --offline
RUN dart compile exe bin/server.dart -o bin/server

# Changing current directry to /app/bin
WORKDIR /app/bin

# Start server.
ENV PORT 8080
EXPOSE 8080

# Runing Dart Server
CMD ["./server"]

After not getting able to get a good result from Dockerfile so tried to install Kali-Linux arm64 on my M1
then
tried to compile https://github.com/sqlcipher/sqlcipher and install
then
copied libsqlcipher.so from /usr/local/lib
and posted it in bin folder of dart server and called it with:
      open.overrideFor(
        OperatingSystem.linux,
        () {
          return DynamicLibrary.open('./bin/libsqlcipher.so');
        },
      );

But I am still getting the error of file is not database which is because of sqlcipher not exists.
static bool hasCipherDb(database) {
   hasCipher = database.select('PRAGMA cipher_version;').isNotEmpty;
   return hasCipher;
 }

did double checked by hasCipherDb(db) it still return false

Our encrypted sqlcipher db work all good in: Android, Windows, iOS and MacOS
We really need it to work on Dockerfile so we can host our db in serverless platform.
thank you.

This works for me (note the sqlcipher-dev instead of sqlcipher):
FROM dart:stable AS build

# Install sqlcipher
RUN apt update; \
    apt install -y sqlcipher-dev

# Resolve app dependencies.
WORKDIR /app
...

In the container, I'm just using this override:
open.overrideForAll(() {
  return DynamicLibrary.open('libsqlcipher.so');
});

If you want to make the image smaller at runtime, you can also use the recommended FROM scratch setup recommended by the Dart image:
FROM dart:stable AS build

# Install sqlcipher
RUN apt update; \
    apt install -y libsqlcipher-dev

# Resolve app dependencies.
WORKDIR /app
COPY pubspec.* ./
RUN dart pub get

# Copy app source code and AOT compile it.
COPY . .

# Ensure packages are still up-to-date if anything has changed
# RUN dart pub get
RUN dart pub get --offline
RUN dart compile exe bin/main.dart -o bin/server

FROM scratch
COPY --from=build /runtime/ /
COPY --from=build /app/bin/server /app/bin/
COPY --from=build /usr/lib/x86_64-linux-gnu/libsqlcipher.so /lib/
COPY --from=build /usr/lib/x86_64-linux-gnu/libcrypto.so.* /lib/

# Changing current directry to /app/bin
WORKDIR /app/bin

# Runing Dart Server
CMD ["./server"]

Thank you so much for your contribution, it worked all good thank you so much.

@simolus3 I am using the drift package and have a very amazing experience with it.
Thank you so much for providing these awesome packages

@simolus3
I am back again
The good news is that libsqlcipher.so exists and the function of:
static bool hasCipherDb(database) {
   hasCipher = database.select('PRAGMA cipher_version;').isNotEmpty;
   return hasCipher;
 }

Return true when opening a new or old database which is good news and sqlcipher exists.
but
Now here is one more issue with opening the old database:
When opening the old database I get the following error:
SqliteException(26): file is encrypted or is not a database, file is encrypted or is not a database (code 26)
Causing statement: SELECT * FROM \"users\

This my new Dockerfile
FROM dart:stable AS build

# Install sqlcipher
RUN apt update; \
    apt install -y libsqlcipher-dev

# Resolve app dependencies.
WORKDIR /app
COPY pubspec.* ./
RUN dart pub get

# Copy app source code and AOT compile it.
COPY . .

# Ensure packages are still up-to-date if anything has changed
# RUN dart pub get
RUN dart pub get --offline
RUN dart compile exe bin/server.dart -o bin/server

FROM scratch
COPY --from=build /runtime/ /
COPY --from=build /usr/lib/x86_64-linux-gnu/libsqlcipher.so /lib/
COPY --from=build /usr/lib/x86_64-linux-gnu/libcrypto.so.* /lib/
COPY --from=build /app/bin/server /app/bin/
COPY --from=build /app/bin/data.db /app/bin/

# Changing current directry to /bin
WORKDIR /app

# Setting Port
ENV PORT 8080
EXPOSE 8080

# Runing Dart Server
CMD ["./bin/server"]

I did try opening the database with 'DB Browser for SQLite'
When opening a Database with SQLCipher 4 Default: It works all Good.
When opening a Database with SQLCipher 3 Default: It does not work.
So I am thinking that which version of the sqlcipher:
apt install -y libsqlcipher-dev
Is installing..

I have tried to check the version of sqlcipher in my local directory and container by calling:
var res = database.select('PRAGMA cipher_version;').toString();
The version number in my local directory where everything works all fine is: [{cipher_version: 3.4.1}]
The version in the docker file where db failed to open is: [{cipher_version: 3.4.1}]

Can you with how can I download the new version sqlcipher and share dockerfile back?

Seems like you'll have to download and compile SQLCipher yourself then. You can take a look at my CMakeLists.txt for inspiration - you'll also have to install OpenSSL and a compiler toolchain. I'm not sure if you want to do this in the container, you can probably also compile a libsqlcipher.so outside of the container and then COPY it with a Dockerfile.
I can't give you a fully working solution here unfortunately - but if you compile SQLCipher on an x64 machine (if the container runtime is x64 as well), it should work.

WORKDIR /app
COPY pubspec.* ./
RUN dart pub get

# Copy app source code and AOT compile it.
COPY . .

# Ensure packages are still up-to-date if anything has changed
RUN dart pub get --offline
RUN dart compile exe bin/server.dart -o bin/server

# FROM scratch
# COPY --from=build /runtime/ /
# COPY --from=build /app/bin/server /app/bin/
# COPY --from=build /app/bin/data.db /app/bin/

# Changing current directry to /bin
WORKDIR /app

# Setting Port
ENV PORT 8080
EXPOSE 8080

# Runing Dart Server
CMD ["./bin/server"]

As you can see above I have commented the FROM scratch part because I still don't know what files shall I copy from above container.
# FROM scratch
# COPY --from=build /runtime/ /
# COPY --from=build /app/bin/libsqlcipher.so /app/bin/
# COPY --from=build /app/bin/libsqlcipher.la /app/bin/
# COPY --from=build /app/bin/libsqlcipher.so.0 /app/bin/
# COPY --from=build /app/bin/libsqlcipher.so.0.8.6 /app/bin/
# COPY --from=build /usr/local/lib/libsqlcipher.so /lib/
# COPY --from=build /app/bin/server /app/bin/
# COPY --from=build /app/bin/data.db /app/bin/

I have tried to connect to the docker container with ssh and downloaded the libsqlciopher.so and a couple of other files associated with it but From scratch still not able to load sqlcipher but the dart image where I installed the sqlcipher by compiling works all good.

Please help me tell me which files are required for sqlcipher.so to work fine.
so I will download these needed file by ssh scp and place it in the repo docker file and will not needed to always compile sqlcipher.

I have downloaded the following files from the docker server by remote ssh scp:
/usr/local/lib/libsqlcipher.so
/usr/lib/x86_64-linux-gnu/libcrypto.so.1.1

Where shall I place them From scratch to work?
Are any other files also needed for sqlcipher to work?
Do I still need to compile in dockerfile after downloading and placing in repo 2 files?


Discovery on Android Performance issue

Meet with Akinwale to document perfomance issue
get logs
determine steps for next steps

Suggestion for ongoing testing: the daemon team members run their software in the mobile and/or desktop app environments more rather than just as a standalone component. The reasoning here is: 1) A general application of the end-to-end principle and 2) Having the same subjective experience of our users will be beneficial

Discovery completed opening new issues for troubleshooting issues


72 s-vMotion Information.ps1 tweaks

I love this script but am trying to accomplish the following. I only want the output to show storage vmotions and not vmotions and to exit out if there is nothing to report (e.g. no svmotions). I also want to include the datastore it came from and moved to. I think only minor changes would make this possible.

Hey, I haven't had a chance to test this- can you grab a copy from my repo and test if this works?
https://github.com/Sneddo/vCheck-vSphere/blob/master/Plugins/20 Cluster/72 s-vMotion Information.ps1
There's two new settings for if you want to include SvMotions and vMotion info. It should also show the applicable source and destination entity.


Set dependent version in a monorepo to exact for non-release

Prerelease version are not compatible with each other, So make sure that we have dependency to the exact versions within a monorepo,

the behavior is the same whether the packages are published on NPM or not,  prelease = exact version, and release = ^range.


remove gulp-util

https://medium.com/gulpjs/gulp-util-ca3b1f9f9ac5
remove gulp-util using the following API replacements:

gutil.File => https://www.npmjs.com/package/vinyl
gutil.replaceExtension => The .extname property on Vinyl objects or https://www.npmjs.com/package/replace-ext
gutil.colors => https://www.npmjs.com/package/ansi-colors
gutil.date => https://www.npmjs.com/package/date-format
gutil.log => https://www.npmjs.com/package/fancy-log
gutil.template => https://www.npmjs.com/package/lodash.template
gutil.env => https://www.npmjs.com/package/minimist
gutil.beep => https://www.npmjs.com/package/beeper
gutil.noop => https://www.npmjs.com/package/through2
gutil.isStream => Use the .isStream() method on Vinyl objects
gutil.isBuffer => Use the .isBuffer() method on Vinyl objects
gutil.isNull => Use the .isNull() method on Vinyl objects
gutil.linefeed => Use the string '\n' in your code
gutil.combine => https://www.npmjs.com/package/multipipe
gutil.buffer => https://www.npmjs.com/package/list-stream
gutil.PluginError => https://www.npmjs.com/package/plugin-error

It looks like this was fixed in #10, but the new version was never published on npm.


Error when subscribing to multiple policies

Test case : 7.1.2 API publisher wants to expose the API with only few plans based on an agreement, so that subscriber will be able to select specific plan/s
Issue when the subscriber cannot select more than one policies exposed by admin.
The available policies exposed by admin are listed down, but subscriber cannot select multiple policies, only one out of them can be selected.

Not a bug


Multicomponent three-body contributions wrong with PBC

Problem description
When calculating three-body energy and force contributions, results change depending on whether interactions are computed across periodic boundaries or not.
To reproduce, I have created a 10x10x10 cell with four atoms. When the atoms are placed in the middle of the cell, such that activating or deactivating PBC does not change results, contributions are computed correctly. However, if atoms are moved towards a boundary and one atom moves to the top of the box (no atoms have positions outside the box), contributions are incorrect, possibly added multiple times.
The potential file only contains coefficients for three-body, one- and two-body coefficients are 0. All coefficients for three-body contributions are the same.
Potential file: https://pastebin.com/bfD8R0Rb

Atoms in middle of cell (test_m.data)

4    atoms
2  atom types
0.0      10  xlo xhi
0.0      10  ylo yhi
0.0      10  zlo zhi

Atoms

   1   2      0 4 5
   2   1      0 4 6
   3   2      0 5 5
   4   1      0 4 4

Atoms close boundary (test_b.data)

4    atoms
2  atom types
0.0      10  xlo xhi
0.0      10  ylo yhi
0.0      10  zlo zhi

Atoms

   1   2      0 4 0.5
   2   1      0 4 1.5
   3   2      0 5 0.5
   4   1      0 4 9.5

To reproduce the problem, use the files above and run:
# Imports
from uf3.representation import bspline
from uf3.representation import process
from uf3.util import json_io
from uf3.regression import least_squares
from uf3.forcefield import calculator
from uf3.forcefield import lammps
from uf3.util import plotting
from uf3.data import io
from uf3.data import composition
import ase

model = least_squares.WeightedLinearModel.from_json("model.json")
calc = calculator.UFCalculator(model)

test = ase.io.lammpsdata.read_lammps_data("test_m.data", style="atomic")
test.symbols = "OZrOZr"
test.pbc=True
test.wrap()
test.set_calculator(calc)
print(test.get_potential_energy())

test = ase.io.lammpsdata.read_lammps_data("test_b.data", style="atomic")
test.symbols = "OZrOZr"
test.pbc=True
test.wrap()
test.set_calculator(calc)
print(test.get_potential_energy())

The energies should match, since the atoms are simply moved by 5 units in z-direction, but don't:
-43168.42282486064
-37056.21139709316

While this only demonstrates the issue for the UFCalculator, it could potentially affect training if the same issue occurs when generating supercells there.
Possible causes could be symmetries, there was a fix that ensures symmetry when j and k are switched, or interactions that select the wrong central atom, but those are a shot in the dark.

A related issue seems to be that when constructing three-body tuples from the supercell, the atomic numbers are sorted:
https://github.com/uf3/uf3/blob/3cdae7f0077fa021a50a2fc9088c2065f02fd3ea/uf3/representation/angles.py#L423
However, when creating the hashes for the interactions, they are not sorted:
https://github.com/uf3/uf3/blob/3cdae7f0077fa021a50a2fc9088c2065f02fd3ea/uf3/data/composition.py#L163
This results in certain triangles not being evaluated at all.
Example: [Zr, Zr, O] interactions receive the hash 2822408 from atomic numbers [40, 40, 8] during construction of the ChemicalSystem object.
When evaluating, these interactions are sorted by atomic number, so [Zr, Zr, O] and [Zr, O, Zr] get hash 2585704 from atomic numbers [40, 8, 40] and are consequently completely ignored.


event.detail.p should be a SVG.Point

While creating an answer for https://stackoverflow.com/questions/59585107/how-do-i-draw-an-svg-polyline-with-45-degree/59652093#59652093, I found that all events emit a SVGPoint as p and not a SVG.Point.
The SVG.Point has the clone()method which is very useful when you want to store a point from an event for later use. Currently you will get a reference to the SVGPoint which changes with mousemove.
As an example:
let point
rect.on('drawstart', event => {
  point = event.detail.p
})

In the above snippet point will always update as the mouse moves because it is a reference.
The work-around is to get the primitive values and store them instead. As shown here:
const point = {x:0,y:0}
rect.on('drawstart', event => {
  const {x,y} = event.detail.p
  point.x = x
  point.y = y
})

But it would be much nicer if one could just use the clone() method. As in this example:
let point
rect.on('drawstart', event => {
  point = event.detail.p.clone()
})

Sorry for never replaying @dotnetCarpenter. I was always wondering whats the better solution to this issue. SVG.Point is often not supported where you would expect it (e.g. passing an array of points to the polygon constructor). And I think in this case I would rather not create an extra object for every event since it adds up.
Btw, we should have a virtual coffee someday :D

@Fuzzyma virtual coffee sounds good. Where is the hang out room for svg.js these days?

Looking at my old code in the WIP_SVG.Point branch - there is a very nice demo of snapping to a 45 degree angle.
The rest looks like stuff I tried out and have no current value.

@dotnetCarpenter now I am curious about that wonderful piece of core :D
I would just suggest Google meet.
I can send you an invite if you give me a day and time :D. I will travel Tomorrow and Tuesday. Besides that, I should have time :)


Building ISO on a mac ?

This is probably a silly question, but English is not my main language and I am not sure about what this mean :

Currently, this project can only work on a full install of Debian or Ubuntu (not Crouton or Crostini). Running this on Arch or Fedora is unsupported.

Does it mean that you can only build the ISO on a linux system or I can use a mac for that ?

Sorry, using a Mac isn't supported at the moment. You can use the RW_LEGACY option from MrChromebox's firmware script to boot Linux distros if you aren't able to use a linux distro on your Mac.


Data duplication

Is Your Feature Request Related to a Problem? Please Describe
Let's say I have 1 TB HDD filled with Linux binaries.
And I want to share them with other users.
Right now if I import files to my hyperdrive, program stores copies of them at disk C:.
It is a bad idea on its own (#1481), because user may not have much free space there.
But it is worse if there saved your own files, which are already saved somewhere else.
In other words, to share such 1 TB HDD of data, I need to buy another 1 TB HDD.
Which is not good.
Solution You'd Like
Data (binaries) and metadata (hashes, file paths) separation.
Like it is done in Bittorrent.
Additional Context
I'm talking about something like this: hyper://471d763ccf99b917296735b1760ebb6c8631d03df556bea441f7e2bf19ae0bc9/.
(Will be available for several days).
(I'm not sure if this is a bug report of feature request, so please change type if needed)

Something like this might be possible (there was a version of the old "dat cli" which worked this way) but it requires some additional complexity in the internals of hyper:// which we currently can't handle. I do think it has merit as an idea, but I think it'll need to be a future feature.


Last steps before v2.0.0 release

This issue is to keep a list of tasks that should be done after all the new features we'd like to see in version 2.0.0 are added, but before the release occurs. Most of these tasks are on top of the issues tagged for Milestone v2.0.0
This is a good place to see just how much needs to be done to make the current master release-ready. In no particular order:
Visual

[x] Reorganize the settings menu & tabs to be more coherent
[x] Icon overhaul #51
[ ] Confirm settings defaults - make the first app launch only display relevant buttons
[ ] Move the dark mode button to just-before-last button int he toolbar
[ ] Clean up the Miscellaneous view settings - group and describe buttons better
[ ] CSS consolidation: some components use the same CSS, so, reuse those to keep DRY
[ ] CSS consolidation: pull colors and some re-used elements from a central file
[ ] Check the dark mode is working on all components; possibly simplify the CSS
[ ] reevaluate colors - maybe better contrast for a11y (accessibility) and harmonize all the filter and tag colors
[ ] confirm animations look good; add animations on newly added features
[ ] Check scrolling isn't janky or is making items disappear too soon (as full view does currently sometimes). Investigate if there are too many repaints happening with dev tools. Reconsider the element shadow - might be slowing things down ref talk about 60fps

Code

[x] Remember each view's zoom level #16
[x] Consolidate the view-switching bug (some views currently don't show)
[x] Check that all views handle window resizes and search-bar hiding
[x] Streamline the view switching code - how element widths / heights are recomputed & how ng-scroll receives the expected heights / number of elements (we now have 6 views, used to be 3)
[ ] Remove jankiness from the resolution, time, and rating filters
[ ] Make sure that adding a rating, scrolling away, and scrolling back persists the rating in the view
[ ] Add new keyboard shortcuts (for new views) & update the list in settings
[ ] Remove most console.log statements

Misc

[x] Update to latest Angular & Electron
[ ] Stress test the app with more than 1,000 videos in a hub
[ ] Language updates: confirm all the text is understandable, update current translations, create more translations
[ ] Possibly create online demo of the app
[ ] Move magicSearchPipe below other pipes in template?

Stress test the app with more than 1,000 videos in a hub

Phhffff 1,000? That's rookie numbers!
I can confirm it works flawlessly with 20,000+ videos in a single hub, over a network, with each video having ~20 manual tags added as well! 🚀 ⚡

😭

Unfinished tasks moved to #234


WIP: Bulk loads

So, my try continuing the work of @nickolay implementing an interface for bulk loads.
The interface here allows you to efficiently store rows without loading them all to memory.
Would people who need the feature be willing to test this and extend it? I see a need for tests and fixing possible issues we might face. Also I'm not completely sure about the interface, so would be great to have some opinions on that.
Closes: https://github.com/prisma/tiberius/issues/104

Missing: when using strings, we must have an API to set the collation. By not setting it we just get an error...

Ok, so I had a bit more time to do research here. I know how to do the actual feature, but making an API that doesn't randomly give you errors that are really nasty to solve is not that easy.
One example: nullable columns. We can see first a bulk load that works with what we have in the pull request:
let mut client = Client::connect(config, tcp.compat_write()).await?;

client
    .execute(
        "CREATE TABLE ##bulk_test1 (id INT IDENTITY PRIMARY KEY, content INT NOT NULL)",
        &[],
    )
    .await?;

let mut meta = BulkLoadMetadata::new();
meta.add_column("content", TypeInfo::int());

let mut req = client.bulk_insert("##bulk_test1", meta).await?;
let count = 2000i32;

for i in 0..count {
    let mut row = TokenRow::new();
    row.push(i.into_sql());
    req.send(row).await?;
}

dbg!(req.finalize().await?);

The whole thing will break catastrophically into a cryptic error of Invalid column type from bcp client for colid 1. if the type of content is INT NULL instead of INT NOT NULL. We have to explicitely add a ColumnFlag::Nullable to the request metadata!
So, then we can imagine the API to be something like:
meta.add_column("content", TypeInfo::int(), true);

or
meta.add_column("content", TypeInfo::int(), ColumnFlag::Nullable.into());

... but I can already sense how much issues will get opened for mystical errors, when you forget to set the correct flags for your metadata.
In the end, what I would love to see with this API is something that the dear rustc can catch in the type level. E.g. start a bulk request with a trait-backed struct, that will tell the types, nullability, collation info and what not. Then we could imagine something like
#[tiberius]
pub struct MyData {
    value: i32,
    nullable_integer: Option<i32>,
    text_value: Option<String>,
}

This then would be in the client, starting a new bulk request:
let req: BulkLoadRequest<MyData> = client.bulk_insert("my_data_table").await?;
req.send(MyData { value: 3, nullable_integer: Some(32), text_value: None });

This would behind the scene then handle the correct order of columns, the correct typing and nullability info. First though there is a lot of work just detecting what types work and what do not. The question of collations is also something I'd like to write an answer. Can we just use the UTF-16 default collation everywhere, or do we actually need to let the user to tell it for us, making the API tough for people who don't really have that much SQL Server experience to just tell us the right value.

I think that what you have here so far is a great starting point! (Though I won't be using it for a real project in the near future.)

a cryptic error of Invalid column type from bcp client for colid 1. if the type of content is INT NULL instead of INT NOT NULL. We have to explicitely add a ColumnFlag::Nullable to the request metadata!

Note that this error is about a mismatch in structure between a database table and the bulkload request's metadata. Relying on Rust's type system won't be able to help with that, if one needs to load into a table that already exists.
The #[tiberius] pub struct MyData { can be a nice wrapper API for those who need to work with tables whose structure is known at compile-time (and the CSV serde API looks very similar to what we need here). It wouldn't help with implementing bcp-style utility, which can bulk-load from CSV files whose structure is unknown ahead of time.

I'm more thinking of something that prevents us sending data to the bulk load that is against the description given in the headers, that can be detected in compile time. Right now the PR has an API that requires lot of tweaking in a few places every time you want to change something in the data types.
What would for sure be possible is for example having two connections, the other one giving back a QueryStream and we could pass that to a bulk load, which then sees the data types in the query and starts the request with correct header information.
One API that might also be worth a try would be something that queries a table, and returns the metadata to be used in a bulk load.
In the end the feature is not that hard to implement, but making a robust API that's worth upcoming Tiberius 1.0 is something that I'd like to get done before merging anything...

something that queries a table, and returns the metadata to be used in a bulk load.

Yep, apparently, that's how the MSSQL ODBC driver works ("When a data file is specified, bcp_init examines the structure of the database source or target table, not the data file."; here's how FreeTDS does it).
I started implementing bulkload from CSV via arrow2 https://github.com/nickolay/tiberius/commit/2c0e5e5f3946b3b4f1531a9bd4654fb2a5b75863#diff-705aa08e944f5e9851ee12e3ad6b491a763150b42e9cf3ecde25fc84a7e32a9eR36 - but got stuck with lifetime issues (should into_sql really return ColumnData<'static>?)

@pimeys I think your implementation has most pieces. To your concern, in my scenario, I will just get the column info from SQL database. I.e., assume the table exist before bulkupload. And trigger a SQL query to fill in the column metadata. Whether the column should be null or not is already decided by the table.
I will take this PR, and add some adaptor to enable loading schema. You ok with that?

regarding datatype, why not use the existing Column/Row structure, but define a new set of structure MetaDatacolumn and TokenRow?

a bit more research on this. It seems retrieving the column meta data info from table first is a common practice (MS C# lib follows the similar pattern). I will go ahead with the following:

remove the ColumnMetaData interface, instead just take a table name;
making two TDS calls, one to retrieve the ColumnMetaData, then use the ColumnMetaData to fill in row data.

@pimeys , please let me know if you are ok with it.


Do we want feedback buttons on pages of the site?

I've recently got the page feedback buttons to work on the CNCF Glossary site (see at the bottom of the page). They feed events into our cncf.io Google Analytics 4 property which we can later create reports on to see which pages get good feedback, which do not.

Would we like this feature activating for the TAG Env Sustainability site? If not, please just close this issue.

Great!

+1, I think it can be a useful addition to get even more feedback about the website content☺

Ok, I've deployed the buttons. Let's wait a few weeks and see if we gather any useful data.


How to train fusion model?

Thanks for your nice work.
When I use this command to train a fusion model, how to load the lidar weights trained in the first stage?
torchpack dist-run -np 8 python tools/train.py configs/nuscenes/det/transfusion/secfpn/camera+lidar/swint_v0p075/convfuser.yaml

You can use the --load-from flag.


Adding Country names to Currency Calculator

Prerequisites

[x] I am an Open Source Contributor
[X] I checked to make sure that this issue has not already been filed

Description
Hello, @Rakesh9100, sir. I would like to make some changes to the currency converter. There are certain aspects that are missing and can be further modified. Kindly assign this task to me, sir.
Screenshots

Code of Conduct

[X] I follow Contributing Guidelines of this project.

@Manisha0207 Proceed!!

@Manisha0207 Status of your PR

@Rakesh9100, sir, the work is currently in progress. I need a little more time to complete it. Please wait .

Its already been 7 days you are assigned to, can't provide you with the more and more time.
Pls tell me by when you will complete @Manisha0207

Please give me time till tomorrow only @Rakesh9100  sir.

Okay fine but you will be unassigned after tomorrow if not done @Manisha0207

assign  it to me plz

Have you gone through this issue properly that what enhancement you have to do @hemant933
And you are working for which program?

iwoc


[RESOLVED] High ICMP ping response time

Problem started at 11:00:14 on 2023.06.28
Problem name: High ICMP ping response time
Host: MF-FG
Severity: Warning
Operational data: Value: 487ms
Original problem ID: 31943
Event details in Zabbix: http://<IP_ADDRESS>/tr_events.php?triggerid=23132&eventid=31943

Problem has been resolved in 4m 0s at 11:04:14 on 2023.06.28
Problem name: High ICMP ping response time
Host: MF-FG
Severity: Warning
Original problem ID: 31943


not being prompted in beta

I just installed the beta version from the AUR (i can't install v2 because python2 has been removed from arch and it won't install from the AUR either for some reason that I'm not willing to investigate).
However, I'm not being prompted for face unlock in any situation.
"sudo howdy add" and "sudo howdy test" works fine and is using the correct IR sensor on my webcam.
I've added: auth sufficient /lib/security/pam_howdy.so to my appropriate pam.d files (sddm, sudo, kde)
I've looked at this thread issue 785 but I don't think it's relevant because it refers to python2:
https://github.com/boltgolt/howdy/issues/785#issuecomment-1533002545

I've searched for similar issues already, and my issue has not been reported yet.
Linux distribution (if applicable): EndeavourOS
Howdy version (sudo howdy version): 3.0.0 BETA

I have the same problem too, but mine is about 1 month not working.

What does journalctl -xe -t pam_howdy give?

It just tells — No entries —

I get:
May 02 11:29:35 shadow pam_howdy[823038]: Failed to read files from glob: 3
May 02 11:29:35 shadow pam_howdy[823038]: Underlying error: No such file or directory (2)
May 02 11:29:36 shadow pam_howdy[823038]: pam_unix(i3lock:auth): authentication failure; logname=joe uid=1000 euid=1000 tty=:0 ruser= rhost=  user=joe

glob("/proc/acpi/button/lid/*/state", 0, nullptr, &glob_result);

It's looking for a lid, which I don't have because this is a desktop.

It's a red herring. I think that's an error that showed up because I copied over the old /usr/lib/security/howdy/config.ini to /etc/howdy/config.ini

It turns out the problem was that all my old models were gone after upgrading from AUR howdy to howdy-git, so my issue is unrelated.


Not receiving message from client or channel

Hi,
I am using the rtm sdk as suggested by littleGenAI in the Agora Video SDK repo. I have been able to create client then successfully login & also created the channel. The problem I am facing now is in the below code. I am not receiving any kind of message from client nor channel. Let me know if I am missing something.
void _sendMessageToRTM() async {
try {
RtmMessage? message =
_client?.createRawMessage(Uint8List.fromList([]), 'share_screen');
if (message != null) {
_log(message.text);
await _channel?.sendMessage2(message);
_log('Send channel message success');
}
  _client?.onMessageReceived = (RtmMessage message, String peerId) {
    _log("Peer msg: $peerId, msg: ${message.messageType} ${message.text}");
    _log('---> RTM Client Msg Received : ${message.text}');
  };

  _channel?.onMessageReceived =
      (RtmMessage message, RtmChannelMember member) {
    _log(
        "----> RTM Channel msg: ${member.userId}, msg: ${message.messageType} ${message.text}");
    _log('---> RTM Channel Message Received : ${message.text}');
  };
} catch (errorCode) {
  _log('----> RTM Send channel message error: $errorCode');
}

}

In the example it is show how to send a message and the message sent is simply put into a controller and showed. It is nowhere showed how and where the channel receives the message. It is a pretty much a static send & show message code. Could you please show me where the channel is updated to receive the message send in _sendChannelMessage method ?
Any help or guide is highly respected.
Thanks.


Crash with Error: Incorrect ack received

After leaving node-matter device running for an hour or so, I got following crash
onMessageReceived id:5903/11182/96321233 t:1/8 reqAck:true payload:<PHONE_NUMBER>360215370024000124010624020118350118181824ff0118
Received invoke request from udp://<IP_ADDRESS>:55870 on session secure/5903: 1/6/1
on: IamOn
sending id:54611/47938/3523622740 t:1/5 reqAck:true payload:<PHONE_NUMBER>0115350124000f370124020124030624040018290218181824ff0118
sending id:54611/47939/3523622741 t:1/5 reqAck:true payload:<PHONE_NUMBER>0115350124000f370124020124030624040018290218181824ff0118
sending id:5903/11182/3523622742 t:1/9 acked:96321233 reqAck:true payload:<PHONE_NUMBER>15350137002400012401062402011835012400001818181824ff0118
onMessageReceived id:5903/47938/96321234 t:1/1 acked:3523622740 reqAck:true payload:<PHONE_NUMBER>ff0118
/home/DadAdmin/foo/node-matter/build/matter/common/MessageExchange.js:58
                throw new Error("Incorrect ack received");
                ^

Error: Incorrect ack received
    at MessageExchange.onMessageReceived (/home/DadAdmin/foo/node-matter/build/matter/common/MessageExchange.js:58:23)
    at ExchangeManager.onMessage (/home/DadAdmin/foo/node-matter/build/matter/common/ExchangeManager.js:65:74)
    at /home/DadAdmin/foo/node-matter/build/matter/common/ExchangeManager.js:34:75
    at /home/DadAdmin/foo/node-matter/build/net/UdpInterface.js:29:68
    at Socket.messageListener (/home/DadAdmin/foo/node-matter/build/net/node/UdpChannelNode.js:45:62)
    at Socket.emit (node:events:513:28)
    at UDP.onMessage [as onmessage] (node:dgram:922:8)

Full HA logs attached. It will be nice if node-matter logs can have timestamps. so it is easier to reconcile two logs.
ha-matter.log

PR https://github.com/mfucci/node-matter/pull/73 will add the timestamp in node-matter logs...

I looked into this but I was not able to figure out the issue.
I see some other issues though: the attribute has been subscribed twice, two secure sessions are used at the same time between the devices.
I updated the logs to get more informations.
No need to test again right away... I will focus on fixing subscription first.

I encountered this bug when fixing attribute subscription and it should be fixed by https://github.com/mfucci/node-matter/pull/50

https://github.com/mfucci/node-matter/pull/50


feat: introduce generic xml updater

For most release strategies, you can provide additional files to update
using the GenericXml updater. You can
specify a configuration object in the extra-files option in the manifest
configuration.
{
  "extra-files": [
    {
      "type": "xml",
      "path": "path/to/file.xml",
      "xpath": "//xpath/to/field"
    }
  ]
}

did you try jsdom on XML files

I tried several alternatives. Most basic DOM based implementations are built to html specs and do no handle XML is a sufficient way (like dropping the declaration and reformatting in uncontrollable ways).


The SAGA state designer's JSON view does not work

When I paste JSON text in the JSON view interface of the SAGA state machine provided on the official website, the page is misaligned and cannot be parsed.
https://seata.io/saga_designer/index.html#/

any json file provided ？I gave it a quick test and it worked fine.

This is because ancillary information such as location coordinates and colors are missing.


Updating tab name and updating favicon.

Hi! I've been using this theme for some time now and love it. I was trying to see if there was a way to update the favicon and the title name on the tab part of google and was coming up with challenges. Is there a way to change these two things? Thank you very much!

Hi there! Love to hear that ☺
You can take a look at this part of the documentation.
For the tab part: You can set a default title in the settings.json file or in the page component directly (as in the example site implementation).
For the favicon: you can set this in your gatsby-config.js like this. Basically, just need to set a correct path for the favicon property. I think there is an example in the example-site too.
Hope this helps!


MAINT: Apply deprecations

Post-release deprecations
Should be squash+merged with a [circle deploy] so we see if everything works and 1.5.dev docs get deployed

... and switching back again. I don't think we need to wait for the installers to finish. The filenames are predictable so might as well update the links now (done) and their build will probably finish before CircleCI manages to deploy the docs 4h from now :)

Why no auto merge? Seems to be working okay


Issue with targeted area spells and action mode.

I noticed an issue when aiming targeted area spells (Reaper 2nd ability, for instance) while Action Mode is enabled. Before Gloomrot, the mod would instantly free your cursor so you could properly place the spell at a desired location. Now it doesn't do that anymore.

I don't remember that every being an intentional feature, or even working in that way. That is actually why the following options where added.

Huh. That was probably what was feeling off then. Adjusted to match your settings and I believe it now feels like it used to before Gloomrot. Speaking of which, I didn't find an explanation for the difference between the "forward" and "default" aim modes. Could you please clarify that for me?

Default: aims at the mouse when rotating the camera, like the default game.
Forward: aims forward when rotating the camera

Got you. I appreciate the help sorting my settings. Tyvm!


Robustness to Adversarial Attacks

Hi, could you kindly provide the implementation details of how to obtain the results demonstrated in Table 10 in your paper, i.e., the part on robustness to adversarial attacks? I have tried several different targeted PGD methods, but still I found my results are quite different from yours.

Hi, we use the 'foolbox' to generate the adversarial samples. Thanks.
https://foolbox.readthedocs.io/en/stable


add new resource

It there any how to?

just a comment, Order Message is a shopping cart message that users send.
There should be additional messages that can be received, but contextInfo contains nil, maybe it should contain products in the shopping cart

No description provided.

Dear @Romerito007
As @hrizal
It will be more useful to send the order details along with the  notification
Here is the Messages
To ask for the cart detiles
745.--26,,["query","order",{"id":"35206.44710-1","orderId":"961297227737359","imageWidth":"80","imageHeight":"80","token":"AR5zzk+vCTfMZNGd7sbYCJiLXWUMqLZaC8S+SjDABOZX1g=="}]
Response  745.--26,{"status":200,"data":{"products":[{"quantity":"1","name":"Salad Dinner","currency":"SAR","price":"22000","image":{"id":"3559607547489179","url":"https://mmg.whatsapp.net/v/t45.5328-4/p110x80/129260187_3559607550822512_8408083876833686624_n.jpg?ccb=3&_nc_sid=c48759&_nc_ohc=IY6DQJMo9BMAX-6N2b_&_nc_ad=z-m&_nc_cid=0&_nc_ht=mmg.whatsapp.net&tp=6&oh=2050bc113f9ad5966cc2cd6f2724deb5&oe=6062A1AF"},"id":"3076009552499500"},{"quantity":"1","name":"Car","currency":"SAR","price":"1000","image":{"id":"3596434427044793","url":"https://mmg.whatsapp.net/v/t45.5328-4/s110x80/121854963_3596434430378126_7909908820759479537_n.jpg?ccb=3&_nc_sid=c48759&_nc_ohc=hVmMKPRyK7EAX-SdFPE&_nc_ad=z-m&_nc_cid=0&_nc_ht=mmg.whatsapp.net&tp=7&oh=9d60e60e33e0174f281a467bd6798ac1&oe=60637D32"},"id":"4647291648677283"}],"price":{"price_status":"provided","total":"23000","currency":"SAR","subtotal":"23000"},"creationTS":"1614543349"}}

Is possible decode QR CODE contact generate by Whatsapp app? Whatsapp generate code like this: https://wa.me/qr/XXXXXXXXXXXXXX  ( 14 chars XXXXXXXXXXXXXX )  not as number.
Can consulte use whatsapp-go and got real number of user?

I have no luck finding the "{"id":"35206.44710-1}" in the response! anyone can help?

base on https://github.com/Rhymen/go-whatsapp/issues/539
Please kindly can you add the order information function to your PL and return it with the context, the way User can see the Order and the cart details.
Thank you for this great addon

@Romerito007 waw, you add a new things, is there any explanation?
What is this search business profile... A small documentation will be greatly appreciated.

When a user is going to use this handler, he will expect to have the full details, check @hrizal what he said.
So I advise you to make the SearchProductDetails inside getOrderMessage handler and return the JSON text along with the main handler result.
You may attach the JSON to the OrderMessage struct.
so when the user is going to use this handler it will be something like this
func (wh *WaHandler) HandleOrderMessage(message wa.OrderMessage) {
}

Now the message will have all information, the order, and the order details.
In this way, it will be completed 100%, let's save some steps and time :) you are great!
Thank you

@Romerito007 waiting for your kindly reply.
Regard

@Romerito007 waiting for your kindly reply.
Regard

I will be able to implement it at the weekend.

@Romerito007 waiting for your kindly reply.
Regard

I will be able to implement it at the weekend.

Oh Thank you, I am waiting for your kind effort.

No description provided.

will be able to implement it at the weekend.

Tell me, is it worth waiting until the end of the implementation or do you need to do it yourself?

will be able to implement it at the weekend.

Tell me, is it worth waiting until the end of the implementation or do you need to do it yourself?

You can implement in the event handler, HandleOrderMessage
func (wh *WacSessionHandler) HandleOrderMessage(evt whatsapp.OrderMessage) { // Implementation }


Convert Hours and Minutes into Seconds

Before jumping into Pr first comment for assign. All Problem from Edabit. Link is mandatory to add
Problem statement: Write a function that takes two integers (hours, minutes), converts them to seconds, and adds them.
Problem Link: https://edabit.com/challenge/PjcKZRx8YE5KzRN63

Before submitting a PR please Check some details.Check Edabit for problem task

[x] fileName format should be in camelcase
example- returnTheNextNumber.py
[x]  Add label for Problem
[x]  In file there should be problem statement and link to problem
example -

'''
    Problem Task : This program will add two numbers
    Problem Link : https://edabit.com/challenge/SFzHtm63XT6EYNHWY
'''
*/
def main():
    return a + b

This repository is vaild for HacktoberFest2020
Read before making PR - How to contribute on Github
Good Luck,

Please assign it to me.

Can this be assigned to me? @akanksha470

Actually I wanted to work on it.
@aayushi-droid  Please assign it to me.

sir, can you assign to me

@akanksha470 It's a duplicate issue #134


[MINOR] Move java file to java foler

What changes were proposed in this pull request?
move
org.apache.spark.sql.execution.streaming.BaseStreamingSource -> org.apache.spark.sql.sources.v2.reader.streaming.BaseStreamingSource
org.apache.spark.sql.execution.streaming.BaseStreamingSink -> org.apache.spark.sql.sources.v2.writer.streaming.BaseStreamingSink
How was this patch tested?
Existing UT.

Hi @srowen, can you help to review. Thanks a lot.

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Can one of the admins verify this patch?

I agree with moving the code, but why change the package?

Offset.java can be moved too?

+1 for @srowen 's comment. We should keep the package name.

ok to test

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/9335/
Test PASSed.

Test build #103982 has started for PR 24222 at commit 5ae78b4.

Test build #103982 has finished for PR 24222 at commit 5ae78b4.

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

Merged build finished. Test PASSed.

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

thanks @srowen  @dongjoon-hyun for the review. I am referring to @cloud-fan 's point of view.
shall we move these new interfaces to org.apache.spark.sql.sources.v2.reader/write.streaming package?

Offset.java can be moved too?
Will move it later.

These 2 interfaces are internal and I don't think we can move them to a public package now.

thanks @cloud-fan, just move those files to java directory.
Hi @srowen, Offset.java already under java directory.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/9387/
Test PASSed.

Test build #104038 has started for PR 24222 at commit d893909.

Test build #104038 has finished for PR 24222 at commit d893909.

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

Merged build finished. Test FAILed.

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

I'm looking at sql/core/src/main/scala/org/apache/spark/sql/execution/streaming/Offset.java -- seems like that should move too?

thanks @srowen for point out it. I have moved it too.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/9396/
Test PASSed.

Test build #104047 has started for PR 24222 at commit 0b69d45.

Test build #104047 has finished for PR 24222 at commit 0b69d45.

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

Merged build finished. Test PASSed.

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

Merged to master

thanks everyone.


Add 3DS overlays

Related PR: https://github.com/libretro/RetroArch/pull/12232

Should these go into a 3DS subdirectory? That is, are they useful for other devices or are they specific enough to be segregated to their own section?

These overlays have a resolution of 400x240. I don't know if any other supported device uses the same resolution.
In my experience, scaling an overlay which has a 1px grid doesn't work out well. Which is why i made these.
I do think they are specific enough to be held separate. If you do know any other use-case, they could be merged.
This also comes to mind:
https://github.com/libretro/RetroArch/issues/12141

Oh, I didn't notice you already have a ctr subdir for them. Looks good to me, then :)


No Search Results Page

New Features
Added a "No Results" div for searching. The only issue I can see is you can't use the back button to return to the no results page. The reason is the javascript breaks out of the loop and ends before the url params can be put into the address bar. I can't see many use cases of the back button being used for a search query returning no results.

Coverage remained the same at 93.118% when pulling 071d9306aa0df88153e885e0b74345661504edb5 on no-display into e6b29f3971cdb5cdfe04175e2bbe17010f5c0f36 on dev.


change script name on plugin

looks like it points to a sqlite extension, not on the folder.
I'm trying to learn how to compile the code to run, I'm using the asset lib and looks like its not working.
this lib is build as a gdextesion?

Nice catch thank you.
You can try and download the demo project from the releases page and open it in 4.3. The library is already compiled so there's no compilation step when it's installed in your Godot project.


VSCode Extension - GUI to edit sui.keystore

This is mostly front-end work.
Build a UI to manage the sui.keystores (with Suibase there is one keystore per network).
Management should include:

display/creation/deletion of addresses.
Copy-to-clipboard of any public address.
edit of alias
a "swiss knife" import of private key in "any format". User just cut&paste what they have, the extension validate/convert as needed to store in the sui.keystore.
May be some utility export, particularly for copying a private key to a web wallet.

A nice brief intro to keys from the Suibase Cookbook

Hey @mario4tier ,
Do you have/know an opensource JavaScript/TypeScript API to manage Sui keys? Should it be just Sui cli system calls?
Does VSCode extension have access to Sui cli in terms of permissions?

I recommend to do it with Sui cli call. Not aware of an API that does this.
Two locations the shell call can be done from (the code is already doing this from both places):
(1) From the "core" of the VSCode extension (not the webview).
(2) From the suibase-daemon.
The advantage of the suibase-daemon is there is only one writer to the files (shell commands are serialized). Less possibility of messing up the files and better "single source of truth" when, say, there are two competing VSCode extension.
Doing it directly from the VSCode extension is simpler and would be good enough for a "first phase" implementation.
What is that core vs webview twist?
You might already know this, but saying just in case. In a VSCode extension a Webview (e.g. the "Suibase dashboard") does not run always on the same machine as the "core" VSCode extension. This happen when people do remote development (e.g. windows WSL).
Only the "core" of the extension is guaranteed to run on the machine where the sui.keystore files are located (and suibase-daemon is running).
This is why you will see in the code the Webview exchanging messages with the core to perform the shell calls (and get any backend data).
I have implemented all such message passing to conveniently work with react, and can walk you through this code as needed.

The same visually:

This seems very complicated, but all this is necessary. The suibase-daemon is polling the filesystem to maintain a "single source of truth" and be the backend.
I do not have a lot of front-end experience, and wondering if something like redux would help to synchronize the webviews with the backend (keeping in mind that the "Core" extension is an intermediate)? For now, I did develop my own "data versioning polling" to minimize heavy "data polling".

Thank you for the detailed explanation of how Suibase VSCode extension communicates with Suibase backend @mario4tier.


[Feature Request] Can i trigger reset DatePicker manually?

Existing Component
Yes
Component Name
DatePicker
Description
Hello. I need to reset ( clean ) DatePicker manually, by click on some button. Can i?

Sorry, we have no plan to support this.


replace try:/expect: by 'with pytest.raise(ValueError):'

On my Linux box, running test_command_line.py never end.
I search in Google and found nothing.
I disable all test inside and add them one by one, only tests with try/expect: stuck pytest
I Google how to expect exception with pytest: asserting exceptions with pytest
I replace all try:/expect: with pytest.raise() and then:

excepted test_bad_dir witch I mark skip, none get stuck
test_empty_schema_file now failed because it didn't raise ValueError

The Travis CI build failed only on test_empty_schema_file in test_command_line.py as I explain in my commit.
Empty schema issue is not fully corrected: it is not corrected on command line only

OK, issue Empty schema issue is well fix, test was baddy written, I fix it by adding on data file and run test on it.

test_bad_dir test works

On my Linux box, running test_command_line.py never end.

I'm curious why the tests never completed. How do you run the tests? Can you run make test to see if that works with the original code?
I agree with this PR, I would just like to know why it was hanging. Thanks!

With non empty data.yaml that git commit accept as change

On my Linux box, running test_command_line.py never end.

I'm curious why the tests never completed. How do you run the tests? Can you run make test to see if that works with the original code?
I agree with this PR, I would just like to know why it was hanging. Thanks!

I'm very beginner in Python
I use pytest from commande line to run tests
I take a try to "make test", after pip install tox, I get:
action: GLOB, msg: packaging
cwd: /home/abourree/Projects/Yamale
cmd: /usr/bin/python3 setup.py sdist --formats=zip --dist-dir /home/abourree/Projects/Yamale/.tox/dist
running sdist
running egg_info
error: [Errno 13] Permission denied

I continue with pytest

Can you try running in an virtual environment:
python3 -m venv ./venv
source ./venv/bin/activate
pip install -e .
make test


qa_crowbarsetup.sh: Use newer style openstack floating ip commands fo…

…r >= Newton
Starting with Rocky the backward compatibility for "ip floating"
was apparently removed. "floating ip" works however with Newton+

Gating failed:
00:58:05.813 openstack: 'floating ip add <IP_ADDRESS> manila-service' is not an openstack command. See 'openstack --help'.
00:58:05.813 Did you mean one of these?
00:58:05.813   floating ip create
00:58:05.813   floating ip delete
00:58:05.813   floating ip list
00:58:05.813   floating ip pool list
00:58:05.813   floating ip set
00:58:05.813   floating ip show
00:58:05.813   floating ip unset
00:58:05.813   alarming capabilities list

@cmurphy squashed and bashate fixed


Revert "ARTEMIS-2094 - Fix Configuration change loss when network Issue"

This reverts commit cce0e1927c258ce6f3c3c3cb0d90bad5337b7d12.

The commit for ARTEMIS-2094 needs to be reverted because (as noted on the JIRA 10 days ago) it is breaking lots of tests.  For example, all the tests in org.apache.activemq.artemis.tests.integration.cluster.failover.SecurityFailoverTest are currently failing.  @michaelandrepearce, I'm fine if you want to send a PR to fix the problems with the original commit so that this one doesn't have to be merged.

@jbertram is there an easy place to see all fails? reason i ask as i know we dont have apache build that does the entire suite which can take several hours and i assume you have a list to hand
FYI SecurityFailoverTest is a quick fix because its actually re-setting up the roles manually during failover deep within security hierarchy, but not updating the actual server config. But i want to ensure i fix all before i send a PR.

@michaelandrepearce, unfortunately the build I have access to no longer has the history as too many builds have been run since then.  Push your changes to your GitHub repo and tell me the branch name and I'll run the build again and provide relevant results.  It will take a little time, but should be relatively painless.

@jbertram if you could check this one https://github.com/apache/activemq-artemis/pull/2354

@clebertsuconic it doesn't fix the issue of lost security settings and address settings if they were changed, ive got another idea what i could do.... give me some time as its evening here already

see https://github.com/apache/activemq-artemis/pull/2356

@jbertram can you close this please?


Adding alumni table widget

Add widget that allows for formatting members in a table as alumni

As a reference and starting point, you can use the following file: https://github.com/wowchemy/wowchemy-hugo-themes/blob/main/wowchemy/layouts/partials/widgets/people.html
This file needs to be adapted to use a table format using the Bootstrap v4 table styles.
For the columns, we can use the same values as the old website:

Name (link to author page)
Period
Role
Current Affiliation


[Bug]: Contributors page should check for vaild email

Is there an existing issue for this?

[X] I have searched the existing issues

Description
[Bug]: Contributors page should check for vaild email
Steps To Reproduce
Steps

Goto "Admin Page"
click the integration
click +
Add invalid email
error should be displayed
https://www.loom.com/share/877471d998a74a5d8ea1571b6928d381

Public Sample App
https://app.appsmith.com/app/saas-integration-manager/admin-page-61c45b5aa99ba037d2f3def0?branch=master
Version
cloud

Closing this issue because we are phasing out the SaaS integrations manager app.


Find a new base image

FROM yyz1989/rdf4j hasn't been updated for 4 years, and now we, at least I, cannot re-build the image from that base image. @hkir-dev @dosumis fyi

In the compose we are using eclipse/rdf4j-workbench:3.7.7 instead of yyz1989/rdf4j. Can we use it in here as well?


Attempting version testing

Maybe I can just link the results of each test after it's done so the build matrix isn't too large in any one commit. Here's the result for jupyterlab: https://travis-ci.org/WorldWideTelescope/pywwt/builds/467181132

notebook next: https://travis-ci.org/WorldWideTelescope/pywwt/builds/467224885?utm_source=github_status&utm_medium=notification

All of the Mac builds are failing. Do you know why that might be?

@ojustino Hmmm, I think the macOS failures are spurious, but it's a bit hard to tell. I tried rerunning one to see if anything changes.
I noticed that the setup stage has an error because the package jupyterlab-launcher is not available, but this is the case on the Linux builds too and it doesn't fail the overall CI there.

From my own testing, things seem to work if I change the pip install line in .travis.yml to be this:
  - pip install dist/*.tar.gz --verbose

Because Travis currently fails without an obvious error message, my guess is that this is a manifestation of travis-ci#8920 somehow. Probably some earlier program is setting the shell's stdout to nonblocking mode. The bash shell has some code in place to avoid problems with this, but as I have discovered, macOS bash doesn't.
My guess is that not using a compound shell command somehow avoids the nonblock problem?

Ah, OK, as a project maintainer I can push changes directly to the PR branch, so I've done so, Justin.

Thanks, @pkgw. Did the change lead to local success with macOS for you? It looks like everything is still failing on this branch.

Well, the CI got farther, at least ... dying on a later compound shell command. Let's try turning up the heat ...

@astrofrog @ojustino OK, I think we've made it to a non-magical error. When making the docs on macOS:
Exception occurred:
  File "/Users/travis/miniconda/envs/test/lib/python3.6/site-packages/qtpy/__init__.py", line 205, in <module>
    raise PythonQtError('No Qt bindings could be found')
qtpy.PythonQtError: No Qt bindings could be found

Hopefully this just indicates that some package needs to be installed?

PyQt should be installed, it's just not importing for some reason. I'll investigate.

Well, AppVeyor failed, but Travis worked!
For reference, here are example "actual" vs. "expected" images from where AppVeyor failed — it looks like the "actual" has lower resolution background imagery than the referene. Maybe that depends on whether the code can pull down the relevant tiles in time?
Anyway, that's all orthogonal to this PR, which I think should be mergeable now. @astrofrog @ojustino, what do you think?

This PR was made in response to #80, so we still need to go through and test the packages listed there to see what the minimum requirement for each is to run pyWWT successfully. I can get back to testing them on Travis like I was in earlier messages on this thread and see how that goes.

In the latest commit, I added some other tests we wanted to complete. We'll see which ones pass, and if there are no other errors, we should have our minimum version requirements soon.

OK, it appears that minimum versions are as follows (from this Travis report).
jupyter: 1.0.0
jupyter_client: 5.1.0
jupyter_console: 5.0.0
jupyter_core: 5.0.0
jupyterlab: 4.4.0
jupyterlab_launcher: 0.3.0
notebook: 5.0.0
@astrofrog does this solve #80?

@ojustino - thanks! We should add a bit in
https://pywwt.readthedocs.io/en/stable/installation.html#id1
that says 'and if you want to use the Jupyter widget, ...'.
I don't think you need to specify all the packages you listed above, I think it should be sufficient to list notebook and jupyter and their minimum versions.

Now that #186 is merged, can we also merge this PR since its version of .travis.yml is more complete?

I have every test Travis test failing now. I tried backtracking to the commit with the last working version of .travis.yml and re-pushing it here, and all of the tests there failed as well.
Do we have changes elsewhere that should affect Travis' success?

@ojustino Do you know how to click through and read the logs generated by the CI runs? It looks like the image comparison tests are failing — I'm going to guess that it's the same problem as I screenshotted before.

@pkgw I do, but I'm wondering why the failure has propagated over to Travis when it was contained to AppVeyor at the time you took the screenshots.

Oh, hm, the current CI failure is not quite the same. The "actual" images are all black, on both Windows and Linux. (The test suite isn't run on macOS.) I can't reproduce locally on my Linux machine. The same issue is showing up in #192.


pd: cancel unused region heartbeat rpc

PdClient may leak gRPC calls if PD leader changes rapidly.
Cc #2669

A friendly ping.

Can this be solved by just adding keep alive ping?

No, it can't.

PTAL

PTAL

LGTM


[BEAM-841] Add maven-gpg-plugin to support releases preparation

Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

[X] Make sure the PR title is formatted like:
[BEAM-<Jira issue #>] Description of pull request
[X] Make sure tests pass via mvn clean verify. (Even better, enable
Travis-CI on your fork and ensure the whole test matrix passes).
[X] Replace <Jira issue #> in the title with the actual Jira issue
number, if there is one.
[X] If this contribution is large, please file an Apache
Individual Contributor License Agreement.

This patch makes use of maven-gpg-plugin to produce signatures and checksum of a release, addressing BEAM-841 problems.

R: @jbonofre

Thanks Sergio. Gonna check but I think it's already done.

@wikier I don't think this PR makes sense as the pluginManagement from the Apache POM already does the gpg sign:
http://repo.maven.apache.org/maven2/org/apache/apache/18/apache-18.pom
<!--
 We want to sign the artifact, the POM, and all attached artifacts
-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<executions>
<execution>
<id>sign-release-artifacts</id>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>

I would close this PR (I let a comment in the Jira as well).

@jbonofre, this comes because I saw the artifacts were manually signed in one of the previous releases. In addition, the pluginManagement part solves an old issue of the ASF parent pom signing the checksums and signatures, which may be already solved in the latest releases.

I think we are good now as we use Apache POM 18 and we leverage the Apache release profile already using gpg plugin.

Then I agree we can close it.


Safari browser, does not cover the entire text!

Describe the bug
In our application, we use openLayers to display site names on a map. The text/name is displayed as a label on the map using the openLayers Text style. We have tested the solution on different browsers such as Chrome, Edge, and Safari. On Chrome and Edge, the solution works correctly, but on Safari, we have observed a bug.
The bug is that the name/ text label, which uses the openLayers Text style, does not cover the entire text on Safari browser, while on Chrome and Edge, the text covers the entire label. This means that the site name is not fully displayed on Safari, which could potentially cause confusion for users trying to identify a site on the map.
To summarize, the issue is that the openLayers Text style is not working correctly on Safari, causing the site label to be displayed incompletely.
Illustration pictures of bugs

Ok, so the solution is that specifying font sizes in pixels and not on rem or em.
@M393 Thanks for feedback :)


feat(builder): delete cache if the cache is disabled

cc @jeroenvisser101
If DEIS_DISABLE_CACHE is set and the cache file exists, delete the cache.

Few remarks, but overal, this LGTM.

Current coverage is 46.60% (diff: 36.84%)

Merging #422 into master will decrease coverage by 0.50%

@@             master       #422   diff @@
==========================================
  Files            26         26
  Lines          1106       1118    +12
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits            521        521
- Misses          554        566    +12
  Partials         31         31

Powered by Codecov. Last update c776995...df0183d

Set/unset is ok with me, since we did create a precedent for it with the deployments feature flag.


Support batched releases in Ruby

This change to the Ruby start and tag commands adds support for releasing multiple packages in a single PR.

See the current google-cloud-ruby RELEASING.md for the existing manual release workflow this change is intended to sustain.
See a proposed update to RELEASING.md for usage of releasetool in the same workflow.

This PR makes non-breaking changes to the shared files git.py and github.py.

I am -1 on multiple releases at once:

It makes it difficult for us to rollback a single package.
It will not survive the repo split.
It's harder to review, and therefore easier to make mistakes.
It will run contrary to the plan we have to automate proposing releases.
It will run contrary to the plan we have for documentation.

If this is a temporary measure, I can accept it, but I will need a bit more convincing to allow batch releases as a broader policy.

With our current monolithic post-merge CI builds that run acceptance tests for every package, it's not practical for us to release more than about three packages unless we batch them-- the post-merge CI builds simply take too long.
It sounds like the future holds major changes, so I can certainly accept that this workflow may be temporary.

@dazuma can you take a look here?

With our current monolithic post-merge CI builds that run acceptance tests for every package, it's not practical for us to release more than about three packages unless we batch them-- the post-merge CI builds simply take too long.

Your PR to propose a release should run acceptance / system tests. The release build should just push to the package manager. What's preventing us from doing that?

You can use Python's approach to stop doing this. I'm happy to help y'all get that setup.

I like the sound of that. 👍
@TheRoyalTnetennba Can we do this?

@quartzmo kokoro currently only runs acceptance tests changed gems and nightly builds.

This PR, like our current RELEASING document, reflects our current release strategy. But they may change soon.

run the acceptance / system tests for all packages

While this was true when we revised our release process way back in mid-September (!!), I believe this is no longer true. We very recently started running acceptance tests only on the gems changed in the commit in master, as well as nightly for all gems. This will both speed up the time it takes for merged PR builds to run, as well as reduce the overall API usage (we have run into quota throttling many, many times in the past).

Hmmm, let me see if I understand this:
If all packages are changed, and the PR build runs acceptance tests for all packages that are changed, and we do a PR for each individual package, then each PR runs acceptance tests for all packages minus the ones that have just been released, gradually decreasing down to the last package.
Is this a release process we can follow?

Acceptance tests are not run for PRs.
When a PR is merged to master, kokoro runs a git diff between the pre-merge and post-merge master branch, outputting the updated gems into an array. As the kokoro continuous task cycles through the gems, if that gem appears in the array of updated gems it will run ci:acceptance, otherwise it runs ci.
In your example, each PR when merged to master, would be compared with the previous HEAD of the master branch. So if all gems are updated in the same way across PRs, the first merge would run acceptance tests on everything. The second merge would run acceptance tests on only the gems which are different from the result of the first merge.

Actually, for the https://github.com/googleapis/google-cloud-ruby/commit/14926431cb19d7715682b74815315c74ad42f10c, https://github.com/googleapis/google-cloud-ruby/commit/92a4eb96dd6757ac3171548969de96d7f0ad86dd, https://github.com/googleapis/google-cloud-ruby/commit/400b4ee86467a39c3bc9277cfa9d91b86f0cc9b5, https://github.com/googleapis/google-cloud-ruby/commit/071bf14b85fa431b188967dddc090a673948d88a, cluster of releases, it looks like it only ran tests at all on the last one (storage) and only ran acceptance tests on storage.

Yes, the new approach to only run acceptance tests for gems that have changed means we should always use "squash and merge" and not "rebase and merge" when merging PRs.

def gems
  `git ls-files -- */*.gemspec`.split("\n").map { |gem| gem.split("/").first }.sort
end

def updated_gems
  updated_directories = `git --no-pager diff --name-only HEAD^ HEAD | grep "/" | cut -d/ -f1 | sort | uniq || true`
  updated_directories = updated_directories.split("\n")
  gems.select { |gem| updated_directories.include? gem }
end

then it checks
updated_gems.include? ENV["PACKAGE"]

I see, it's kokoro:continuous in the Rakefile.

@blowmage Given the CI behavior above, should we immediately change our releasing process to use a separate PR for each gem that we release, even when releasing a dozen or more gems in the same window?
If so, I will close this PR, as we should be able to use the existing releasetool.

I would strongly recommend that, yes.
On Fri, Oct 5, 2018 at 2:31 PM Chris Smith<EMAIL_ADDRESS>wrote:

@blowmage https://github.com/blowmage Given the CI behavior above,
should we immediately change our releasing process to use a separate PR for
each gem that we release, even when releasing a dozen or more gems in the
same window?
If so, I will close this PR, as we should be able to use the existing
releasetool.
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
https://github.com/googleapis/releasetool/pull/70#issuecomment-427504578,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAPUc_s3rVCfNElI79_cA492DpJiHt_Uks5uh8-3gaJpZM4XG0dF
.

I agree with configuring the releasetool process to be for a single gem. We have a manual option for a batch release, as was necessary multiple times in the last month or so. I'm sure the release process will continue to evolve as things continue to change.


CICD 46 Add Code Formatter And CI/CD

Made the following changes via these three steps:

Installed and configured Laravel Pint to how it was shown in the open-runtimes/executor repository(https://github.com/open-runtimes/executor)
Added commands to run formatting and linting tools that Laravel Pint is able to run(I added a pint.json file and modified the scripts section in composer.json)
Modified the linter.yml file to how the linter.yml file is in the open-runtimes/executor repository(https://github.com/open-runtimes/executor)

Please let me know any desired changes that are needed. Thank you!

Hello, I wanted to follow up on the pull request that I made since it's been a couple of weeks since I submitted it. Please let me know if there’s anything more I can do to assist or if there are any changes you’d like me to make. I truly appreciate your time and effort in reviewing this when possible. Thank you!


fix: codecov

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


Fixes describe command keyword output

i'd say the only thing to think about is if we ever wanted to reserve $GEOMESA_HOME/data for something else. I can't think of what it would be so that's probl moot.


Bug in generate

When we are generating the config, we assume that the app name is the same as it was written on the disk https://github.com/cloudflare/wrangler/blob/8ebd03e8e864e1f68975ae82985695005639f55f/src/user/settings.rs#L57.
However an app with name myApp generates a directory called my-app, and our logic fails.

cargo-generate thinks it's cute and updates your name to match rust conventions. that doesn't make sense here tho so i'll be sure to call cargo-generate --force which skips the renaming.


[release-1.5] Updating CNI helm templates

Updating the CNI helm templates and the istioctl manifests (in a separate istio/istio PR) to make them consistent. Removing the event creation flag, since that functionality is removed.

@stewartbutler: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

e2e_cni_release-1.5
cd269e78aad2009dcba7a8950d8410e67d72f817
link
/test e2e_cni_release-1.5

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test e2e_cni_release-1.

/test e2e_cni_release-1.5

@stewartbutler: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

e2e_cni_release-1.5
cd269e78aad2009dcba7a8950d8410e67d72f817
link
/test e2e_cni_release-1.5

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest


HDCameraUI does not contain a definition for '...' on HDRP 14

Hey, thanks for making this fork with HDRP support.
Unfortunately I cant fork your repo because I already forked another fork of dear-imgui-for-unity.
I'm on HDRP 14.0.9 and HDCameraUI does not contain a definition for a lot of things.
Do you know how I could fix this by any chance?

I just noticed that I made the issue in the wrong repository. This should actually be an issue for https://github.com/TylkoDemon/dear-imgui-unity.