Control the getstate/update pull from device interval

Thanks for a great plugin.
How and if can I define the plugin to pull and update of the device once in 10 min for example rather than about 30 sec

Hi! Unfortunately, that option is not currently exposed in the config. But you can try by editing the file index.js and changing this value locally in your installation: https://github.com/homebridge-xiaomi-roborock-vacuum/homebridge-xiaomi-roborock-vacuum/blob/master/index.js#L21
FYI: The main reason for pulling every 30s is to regain connection if it's lost. The robot walks through the house at the floor level and there may be many spots where the WiFi connection is not strong enough. Polling every 30s ensures the reconnection happens "quick enough".
What is the reason that is driving you to increase it to every 10 minutes?

Hi,
Thanks for the information, suggestion and explanation for the 30s motivation.
The reason I’ve asked was regarding the WiFi activity and utilization, normally the vacuum works once a day and the WiFi coverage is quite great so why to poll so intensive. Your thoughts are reasonable..
Thanks.

We don't poll getFirmware at all. We only get it once when connecting to the device (you'll see some STA entries in the logs as well). On top of that, we log it when anything external is requesting it.

Thanks.
Here is what I get.
pi@homebridge:/var/lib/homebridge $ grep Xia homebridge.log
[8/24/2020, 12:01:06] [Xiaomi Mi Robot Vaccum ] INF getFirmware | roborock.vacuum.s5 | Firmwareversion is 3.5.7_002008
[8/24/2020, 12:02:07] [Xiaomi Mi Robot Vaccum ] DEB ensureDevice | roborock.vacuum.s5 | The socket is still on. Reusing it.
[8/24/2020, 12:02:07] [Xiaomi Mi Robot Vaccum ] INF getFirmware | roborock.vacuum.s5 | Firmwareversion is 3.5.7_002008
[8/24/2020, 12:03:09] [Xiaomi Mi Robot Vaccum ] DEB ensureDevice | roborock.vacuum.s5 | The socket is still on. Reusing it.
[8/24/2020, 12:03:09] [Xiaomi Mi Robot Vaccum ] INF getFirmware | roborock.vacuum.s5 | Firmwareversion is 3.5.7_002008
[8/24/2020, 12:04:10] [Xiaomi Mi Robot Vaccum ] DEB ensureDevice | roborock.vacuum.s5 | The socket is still on. Reusing it.
[8/24/2020, 12:04:10] [Xiaomi Mi Robot Vaccum ] INF getFirmware | roborock.vacuum.s5 | Firmwareversion is 3.5.7_002008
[8/24/2020, 12:04:15] [Xiaomi Mi Robot Vaccum ] DEB ensureDevice | roborock.vacuum.s5 | The socket is still on. Reusing it.
[8/24/2020, 12:04:15] [Xiaomi Mi Robot Vaccum ] DEB getState | roborock.vacuum.s5 | State {"batteryLevel":100,"charging":true,"cleaning":false,"fanSpeed":103} | Props {"state":"charging","batteryLevel":100,"cleanTime":22,"cleanArea":0.375,"fanSpeed":103,"in_cleaning":0,"mainBrushWorkTime":81986,"sideBrushWorkTime":81986,"filterWorkTime":81986,"sensorDirtyTime":81673}
[8/24/2020, 12:04:15] [Xiaomi Mi Robot Vaccum ] DEB changedBattery | roborock.vacuum.s5 | BatteryLevel 100%
[8/24/2020, 12:05:12] [Xiaomi Mi Robot Vaccum ] DEB ensureDevice | roborock.vacuum.s5 | The socket is still on. Reusing it.
[8/24/2020, 12:05:12] [Xiaomi Mi Robot Vaccum ] INF getFirmware | roborock.vacuum.s5 | Firmwareversion is 3.5.7_002008
[8/24/2020, 12:06:13] [Xiaomi Mi Robot Vaccum ] DEB ensureDevice | roborock.vacuum.s5 | The socket is still on. Reusing it.
[8/24/2020, 12:06:13] [Xiaomi Mi Robot Vaccum ] INF getFirmware | roborock.vacuum.s5 | Firmwareversion is 3.5.7_002008
[8/24/2020, 12:07:15] [Xiaomi Mi Robot Vaccum ] DEB ensureDevice | roborock.vacuum.s5 | The socket is still on. Reusing it.
[8/24/2020, 12:07:15] [Xiaomi Mi Robot Vaccum ] INF getFirmware | roborock.vacuum.s5 | Firmwareversion is 3.5.7_002008
[8/24/2020, 12:08:16] [Xiaomi Mi Robot Vaccum ] DEB ensureDevice | roborock.vacuum.s5 | The socket is still on. Reusing it.
[8/24/2020, 12:08:17] [Xiaomi Mi Robot Vaccum ] INF getFirmware | roborock.vacuum.s5 | Firmwareversion is 3.5.7_002008
[8/24/2020, 12:09:18] [Xiaomi Mi Robot Vaccum ] DEB ensureDevice | roborock.vacuum.s5 | The socket is still on. Reusing it.
[8/24/2020, 12:09:18] [Xiaomi Mi Robot Vaccum ] INF getFirmware | roborock.vacuum.s5 | Firmwareversion is 3.5.7_002008
[8/24/2020, 12:10:20] [Xiaomi Mi Robot Vaccum ] DEB ensureDevice | roborock.vacuum.s5 | The socket is still on. Reusing it.
[8/24/2020, 12:10:20] [Xiaomi Mi Robot Vaccum ] INF getFirmware | roborock.vacuum.s5 | Firmwareversion is 3.5.7_002008
[8/24/2020, 12:11:23] [Xiaomi Mi Robot Vaccum ] DEB ensureDevice | roborock.vacuum.s5 | The socket is still on. Reusing it.
[8/24/2020, 12:11:23] [Xiaomi Mi Robot Vaccum ] INF getFirmware | roborock.vacuum.s5 | Firmwareversion is 3.5.7_002008
[8/24/2020, 12:12:15] [Xiaomi Mi Robot Vaccum ] DEB ensureDevice | roborock.vacuum.s5 | The socket is still on. Reusing it.
[8/24/2020, 12:12:15] [Xiaomi Mi Robot Vaccum ] DEB getState | roborock.vacuum.s5 | State {"batteryLevel":100,"charging":true,"cleaning":false,"fanSpeed":103} | Props {"state":"charging","batteryLevel":100,"cleanTime":22,"cleanArea":0.375,"fanSpeed":103,"in_cleaning":0,"mainBrushWorkTime":81986,"sideBrushWorkTime":81986,"filterWorkTime":81986,"sensorDirtyTime":81673}
[8/24/2020, 12:12:15] [Xiaomi Mi Robot Vaccum ] DEB changedBattery | roborock.vacuum.s5 | BatteryLevel 100%
[8/24/2020, 12:12:23] [Xiaomi Mi Robot Vaccum ] DEB ensureDevice | roborock.vacuum.s5 | The socket is still on. Reusing it.
[8/24/2020, 12:12:23] [Xiaomi Mi Robot Vaccum ] INF getFirmware | roborock.vacuum.s5 | Firmwareversion is 3.5.7_002008

@elycohen I had a similar conversation about it in https://github.com/homebridge-xiaomi-roborock-vacuum/homebridge-xiaomi-roborock-vacuum/issues/263 but we couldn't find who/what was polling for that info.
I have the same model and firmware version and I don't get those repeated requests myself. Maybe some configuration in homebridge-config-ui-x that is polling the Firmware info? 🤷♂
FYI: I don't have Accessory Control enabled (just in case you do and that can help us to identify the culprit).

I don’t use Accessory Control too.
Thank you so much for the info.

Same issue here, something is spamming in my Homebridge Protocol less than once every minute:

[13/12/2020, 19:07:06] [Roborock] INF getFirmware | roborock.vacuum.s5 | Firmwareversion is 3.5.7_002008

How can I fix this?

I think this was fixed as detailed in https://github.com/homebridge-xiaomi-roborock-vacuum/homebridge-xiaomi-roborock-vacuum/issues/263 (addition of the silent config parameter).
I'll close the issue. Feel free to reopen it if you think something else needs to be done.


[INLONG-2496][Feature][Sort] Support COS and CHDFS filesystem when using hive sink

Title Name: [INLONG-XYZ][component] Title of the pull request
where XYZ should be replaced by the actual issue number.
Fixes #2496
Motivation
Explain here the context, and why you're making that change. What is the problem you're trying to solve.
Modifications
Describe the modifications you've done.
Verifying this change

[ ] Make sure that the change passes the CI checks.

(Please pick either of the following options)
This change is a trivial rework / code cleanup without any test coverage.
(or)
This change is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)

Added integration tests for end-to-end deployment with large payloads (10MB)
Extended integration test for recovery after broker failure

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)
If a feature is not applicable for documentation, explain why?
If a feature is not documented yet in this PR, please create a followup issue for adding the documentation

@chantccc thanks for this contribution.  what are COS and CHDFS, please add more information for them.


chore: prepare the openapi generator beta release

remove the private: true in package.json
add release notes

The [Generator] is basically used as a tag. You can find more examples in this file.

The [Generator] is basically used as a tag. You can find more examples in this file.

I changed it to imperative as it is our official convention and removed this "tag". I am not sure that this is helpful, especially because we are referring to the OData generator as "generator". Feel free to add it though. We might want to discuss whether this should be something we do or not, because our changelog is quite inconsistent in this regard and we don't have an agreement here yet.

I agree with the convention. Let's align again in the next retrospective for the release notes.


Throttle custom message

Hi,
I want to use custom message for API Rate Limiter and added this exception in my exception handler:
public function render($request, Exception $e)
    {
        if($e instanceof TooManyRequestsHttpException) {
            return response()->json([
                'message' => 'Too many requests. Slow your roll!',
                'code' => 429
            ], 429);
        }

        return parent::render($request, $e);
    }

but it show me again this message "Too Many Attempts."

Laravel doesn't use TooManyRequestsHttpException, if you want to use a custom message you can extend ThrottleRequests and override buildResponse().

@themsaid This is probably with reference to my throttle package.

https://github.com/GrahamCampbell/Laravel-Throttle/issues/44

Oh, I see. Graham's packages everywhere :)

@mehdibahraami It's likely you forgot to import the correct class. Feel free to ask on the forums for help. We can't process things like this on our GirHub issues.

@GrahamCampbell I was using the Laravel throttle and i thought your package and the Laravel package is the same. For this reason i asked my question in your package issues.
This is not Laravel problem? I can't send personalized response(for my client) directly and must extend a package and changed it? Other people have made this request before:
https://github.com/laravel/framework/pull/13452
At the end, I recently started work with Laravel and i think it is better to be a little kinder to respond to users ;)
@themsaid Thank you so much.

Hello Folks, Recently I've read this article and it works for me...
https://thedevsaddam.gitbooks.io/off-time-story/content/how_to_customize_laravel_throttle_message_response.html
I hope this will help You..!!

A more simple way:
Just create a new middleware in app\Http\Middleware and extend \Illuminate\Routing\Middleware\ThrottleRequests, then override the buildResponse method.

use Symfony\Component\HttpKernel\Exception\HttpException;
...
if($exception instanceof HttpException && $exception->getStatusCode() == 429) {
return response()->json([
'message' => 'Too Many Attempts',
'code' => 429
], 429)->withHeaders($exception->getHeaders());
}

hi @themsaid I tried to override buildResponse() but it is missing in \Illuminate\Routing\Middleware\ThrottleRequests I tried to use  buildException() instead but it doesn't work.
Please give me the right way to build max throttle custom message.
I'm using Laravel 5.6

I have tested this on Laravel 5.6
You can do it by  ThrottleRequestsException for this via app/Exceptions/Handler.php
use Illuminate\Http\Exceptions\ThrottleRequestsException;
use Illuminate\Http\Response;

and next add it to your render() function
    public function render($request, Exception $e)
    {
        if ($e instanceof ThrottleRequestsException) {
            return $this->response409($e);
        }

        return parent::render($request, $e);
    }
    public function response409(Exception $e)
    {
        $errors = new MessageBag();
        $errors->add("message", "409 Too many requests");
        return response()->make(view('errors.409')->withErrors($errors), Response::HTTP_CONFLICT);
    }

if($exception instanceof ThrottleRequestsException) {
return response()->json([
'message' => 'Too many requests. Slow your roll!',
'code' => 429
], 429);
return parent::render($request, $exception);
}
add this in render function and use ThrottleRequestsException; in app/Extensions/Handler.php

Its very easy.
in your app/Exceptions/Handler.php find register() method. Then add this. In this example my condition is /api/* endpoints only. You can change whatever you want here.
public function register()
    {
        $this->reportable(function (Throwable $e) {
            //
        });

        $this->renderable(function (ThrottleRequestsException $e, $request) {
            if ($request->is('api/*')) {
                return response()->json([
                    'message' => 'TOOOOO many requests'
                ], 429);
            }
        });
    }

Very easy.
in your app/Exceptions/Handler.php find register() method. Then add this. In this example my condition is /api/* endpoints only. You can change whatever you want here.
public function register()
    {
        $this->reportable(function (Throwable $e) {
            //
        });

       //This part will handle ThrottleRequestsException exceptions
        $this->renderable(function (ThrottleRequestsException $e, $request) {
            if ($request->is('api/*')) {
                return response()->json([
                    'message' => 'TOOOOO many requests'
                ], 429);
            }
        });
    }

Reference: https://laravel.com/docs/8.x/errors#rendering-exceptions
Tested on: Laravel 8.x

That's actually a great idea! Way easier than creating a middleware and use on the routes.

Very easy.
in your app/Exceptions/Handler.php find register() method. Then add this. In this example my condition is /api/* endpoints only. You can change whatever you want here.
public function register()
    {
        $this->reportable(function (Throwable $e) {
            //
        });

       //This part will handle ThrottleRequestsException exceptions
        $this->renderable(function (ThrottleRequestsException $e, $request) {
            if ($request->is('api/*')) {
                return response()->json([
                    'message' => 'TOOOOO many requests'
                ], 429);
            }
        });
    }

Reference: https://laravel.com/docs/8.x/errors#rendering-exceptions
Tested on: Laravel 8.x

I have made change to this. If request if from json or web it will show json format data, but when it's from web it will show default page.
$this->renderable(function (ThrottleRequestsException $e, $request) {
            if ($request->expectsJson()) {
                return response()->json([
                    'status' => false,
                    'message' => 'Too many request.',
                    'data' => (object)[]
                ], 429);
            }
});

You can modify json response.


Set up publishing to PyPi

As the title says. Depends on #20.

Each of the tools here is a self-contained CLI (or at least it should be).
I think that upon installation of the project via pip, we should have available each of the tools by their name e.g.
pip install datasetpreparator

directory_flattener <options>

For now this won't be implemented. It is simpler to just distribute the software as a Docker Image instead of preparing all of the steps to publish to PyPi


Search Text property for the Tablelite component

It allows filtering of records based on specified text.

Hey kash, i've updated the pull request to fix the pagination.


feat(apps/prod/cloudevents-server): bump image tag to 0f5542f

Signed-off-by: wuhuizuo<EMAIL_ADDRESS>

/approve


Hello! I wonder if this  (and body-tracking)  sdk supports  the development in android with jni

Dear developers,
I appreciate that you can pay attention to my question!  I am a Chinse student and I am recently  exploring the azure kinect sensor and body-tracking sdk, and I basicly know how to use the functions in c++ with a windows platform. But I want to apply them in an android platform with java language, I heard that jni is a tool that can call c/c++  functions  in java(this is not a strict explanation, just my first impression),  or there may be more effective ways?
I am new in java and android development area, so I would really appreciate again if you can tell me the how feasibie it is to use jni or other ways (maybe you already have  provided revalant develop kits? )to accomplish this.

Due to Microsoft's depth engine library not supporting Android, Azure Kinect is currently not available for Android. The body-tracking feature requires the use of Azure Kinect camera, and unfortunately, it is not supported on Android. Therefore, using body-tracking with Azure Kinect on an Android platform is not feasible.   （"Femto Mega" by Orbbec will support android in the future）
Femto Mega
Femto Mega is a programmable multi-mode Depth and RGB camera with real-time streaming of processed images over ethernet or USB connections. The camera uses Microsoft’s industry proven ToF technology and the NVIDIA® Jetson™ platform to deliver a comprehensive Depth and RGB vision platform for computer vision and AI developers. With a wide field of view (FOV) and high resolution depth sensor, it’s ideal for robotics, manufacturing, logistics and healthtech applications.
https://www.orbbec.com/femto-mega-document/
Compared to Azure Kinect, it has the following advantages

Lower CPU usage.
Network functionality support.
macOS support.


make custom log page

I've noticed that I've had less strangers from the internet emailing me recently. I wonder if that's because I've been away sick or because my journal is now harder to read in commit messages.
Simplest version of this:

[x]  run on post commit hook locally
[x] parse via https://github.com/tarmstrong/git2json
[x] send to data file https://jekyllrb.com/docs/datafiles/
[ ] render via Jekyll template

Extras:

[ ] render the commit messages as github markdown with anchor tags
[ ] link to commit on github to see file changes

Save the following in .git/hooks/post-commit
echo "running"

git2json > _data/git-log.json

previousMessage=$(git log -1 --pretty=%B)

if [ "$previousMessage" != "updated git log" ]
then
    git add _data/git-log.json
    git commit -m "updated git log"
fi

echo "exiting"
exit 1


detime: remove a dummy arg

There's a dummy tv->tv_usec arg while a call to preeny_debug

Thanks!


How to access files property of file input element via DefaultDOMElement

Removed jQuery for ImageCommand, but wondering how I could avoid navigating to the native element to access the files property of a file input element.
https://github.com/substance/substance/blob/master/packages/image/ImageCommand.js#L54

This way:
https://github.com/substance/substance/blob/master/ui/BrowserDOMElement.js#L78

Thanks!


the timeout option on the goTo command can't be disabled

What steps will reproduce the problem?
I'm on puppeteer 0.10.0, OSX trying to take some screenshots. The goto command is supposed to allow disabling timeout by giving it a value 0 but that doesn't seem to work:
What is the expected result?
I expect it to wait indefinitely for navigation to complete.
What happens instead?
(node:57158) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): Error: Navigation Timeout Exceeded: 0ms exceeded
(node:57158) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 2): Error: Navigation Timeout Exceeded: 0ms exceeded
Error: Navigation Timeout Exceeded: 0ms exceeded
    at NavigatorWatcher.<anonymous> (/Users/arman/src/sites/node_modules/puppeteer/node6/NavigatorWatcher.js:100:13)
    at next (native)
    at step (/Users/arman/src/sites/node_modules/puppeteer/node6/NavigatorWatcher.js:44:24)
    at Promise.resolve.then.value (/Users/arman/src/sites/node_modules/puppeteer/node6/NavigatorWatcher.js:55:15)

https://github.com/GoogleChrome/puppeteer/pull/887 merged only recently, so v0.10.0 does not support this yet: https://github.com/GoogleChrome/puppeteer/blob/v0.10.0/docs/api.md#pagegotourl-options
Try to update to the v0.12.0-alpha by npm install https://github.com/GoogleChrome/puppeteer/

Seems not to work form me on 1.19.0 puppeteer :cactus:


Error when adding members!

POST https://cobudget-api.herokuapp.com/memberships 422 (Unprocessable Entity)

resolved


Fix offline building, update Isar layers, fix CI

Something regressed in the bazel build: https://github.com/siemens/meta-iot2050/actions/runs/3821846547/jobs/6501400695#step:4:419. The same thing built fine just two weeks ago. @fmoessbauer

Cause by Isar upstream changes https://github.com/ilbers/isar/commit/8530a94bdc8919fadccad13e6061832d2f2c1fcc#diff-b294a6f7f9dd570d7d4d4a6fd015c8d5f6769af8d528dbefcf42faf4d1a6e1cc which I just pulled in. Will revert Isar to one commit before until meta-coral is updated.


Ported to NET 3.0

I've

Ported this to NET Core 3.0 by re-doin the project files in the new format
Now using VS to generate the NuGet packages
Adjusted the NuGet package to include NET Core 3.0 as well.

Newly generated NuGet packages can be found here

Please merge this and publish a new NuGet when your ready.

Awesome!
Can you delete .nuget/nuget.exe as well?

@bblanchon Done.


AKS Node not rebooted with lock held for not existing node

Hi,
we're facing an issue with the newest version of Kured 1.14.0.
Nodes are not rebooted
Prometheus Metrics say that a reboot is required but on the Node Host there is no file /var/run/reboot-required present.
# HELP kured_reboot_required OS requires reboot due to software updates.
# TYPE kured_reboot_required gauge
kured_reboot_required{node="aks-XXX-XXXXXXXXXX-vmss000000"} 1

Adding the file manually to the node results in a message "warning msg="Lock already held:" for a not longer existing node.
time="2023-11-06T06:37:59Z" level=info msg="Binding node-id command flag to environment variable: KURED_NODE_ID"
time="2023-11-06T06:37:59Z" level=info msg="Kubernetes Reboot Daemon: 1.14.0"
time="2023-11-06T06:37:59Z" level=info msg="Node ID: aks-XXX-XXXXXXXXXX-vmss000000"
time="2023-11-06T06:37:59Z" level=info msg="Lock Annotation: base-mon/kured:weave.works/kured-node-lock"
time="2023-11-06T06:37:59Z" level=info msg="Lock TTL set, lock will expire after: 30m0s"
time="2023-11-06T06:37:59Z" level=info msg="Lock release delay not set, lock will be released immediately after rebooting"
time="2023-11-06T06:37:59Z" level=info msg="PreferNoSchedule taint: "
time="2023-11-06T06:37:59Z" level=info msg="Blocking Pod Selectors: []"
time="2023-11-06T06:37:59Z" level=info msg="Reboot schedule: ---MonTueWedThu------ between 02:00 and 08:00 UTC"
time="2023-11-06T06:37:59Z" level=info msg="Reboot check command: [test -f /var/run/reboot-required] every 1h0m0s"
time="2023-11-06T06:37:59Z" level=info msg="Concurrency: 1"
time="2023-11-06T06:37:59Z" level=info msg="Reboot command: [/bin/systemctl reboot]"
time="2023-11-06T06:37:59Z" level=info msg="Will annotate nodes during kured reboot operations"
time="2023-11-06T07:09:55Z" level=info msg="Reboot required"
time="2023-11-06T07:09:55Z" level=warning msg="Lock already held: aks-XXX-XXXXXXXXXX-vmss000024"

We added the lockTtl flag from the Helm-Chart
configuration:
  endTime: "08:00"                           # only reboot before this time of day (default "23:59") time is UTC
  rebootDays: ["mo", "tu", "we", "th"]       # only reboot on these days (default [su,mo,tu,we,th,fr,sa])
  startTime: "02:00"                         # only reboot after this time of day (default "0:00") time is UTC
  concurrency: 1
  lockTtl: "30m"
  annotateNodes: true

The nodes will got the annotation
weave.works/kured-most-recent-reboot-needed: 2023-11-06T02:21:56Z                                                                                weave.works/kured-reboot-in-progress: 2023-11-06T02:21:56Z

Do you have any idea why this happens?
I know, that messages are from today and not much time between config and possible reboots but the it was also hole last week, this are only the newest logs after redeployment with increased endTime
Thank you in advance
André

This seems to be a related to #822. The problem might appear, when a lock is held from a node which is removed from the cluster. However, the thing that the metric highlights a node which does not need a reboot is new, but may be a result of the wrong lock behaviour.
We'll have a look in the next few days.

not stale

This seems to happen when karpenter nodes get rebooted and karpenter nukes them before they come back.

@gyoza that sounds like a scenario where this could happen.
My main question for folks that are experiencing this is: is the TTL configuration not working? At present, kured makes no guarantees that a node will continue to exist after it successfully acquires the lock (annotation on the kured daemonset); but it does guarantee that if you configure a lock TTL that the lock will be released after the TTL expires (whether or not the node that acquired the lock still exists at that time).
Are we seeing different behavior than described above?

@jackfrancis Exactly! I figured the lock would expire if the node was around or not but that does not seem to be the case.
Daemonset:
Image:      ghcr.io/kubereboot/kured:1.15.0
Port:       8080/TCP
Host Port:  0/TCP
Command:
  /usr/bin/kured
    Args:
      --ds-name=kured
      --ds-namespace=core
      --metrics-port=8080
      --lock-ttl=30m

  Logs:

kured-gzmfr kured time="2024-02-14T07:36:15Z" level=warning msg="Lock already held: replaced-name.deadnode.compute.internal"
kured-8kn2v kured time="2024-02-14T17:14:49Z" level=warning msg="Lock already held: replaced-name.deadnode.compute.internal"

The only way i can get things to get back to work momentarily is to rollout restart the daemonset on each context.

It appears that even on a daemonset rollout restart that specific node lock seems to show up again.

Is there a way to force to clear the lock manually?

not stale

Is there a way to force to clear the lock manually?

this could help https://kured.dev/docs/operation/#manual-unlock at least it works for us.
Nevertheless it is really annoying that the lock-ttl setting doesn't solve the problem

not stale


Add a class TransformResultMetadata to encapsule the metadata for the result of transform function

Make a seperate metadata class for transform result instead of using DataSourceMetadata
The TransformResultMetadata encapsules 3 attributes: data type, is single value, has dictionary

Codecov Report

Merging #2692 into master will increase coverage by 0.11%.
The diff coverage is 90.32%.

@@            Coverage Diff             @@
##           master    #2692      +/-   ##
==========================================
+ Coverage   69.23%   69.35%   +0.11%
==========================================
  Files         869      870       +1
  Lines       40607    40604       -3
  Branches     5488     5488
==========================================
+ Hits        28113    28159      +46
+ Misses      10664    10619      -45
+ Partials     1830     1826       -4

Impacted Files
Coverage Δ

...r/transform/function/LiteralTransformFunction.java
20% <ø> (ø)
:arrow_up:

...form/function/MultiplicationTransformFunction.java
95.45% <ø> (ø)
:arrow_up:

.../transform/function/AdditionTransformFunction.java
95.45% <ø> (ø)
:arrow_up:

...form/function/TimeConversionTransformFunction.java
100% <ø> (ø)
:arrow_up:

...ansform/function/SubtractionTransformFunction.java
95.45% <ø> (ø)
:arrow_up:

...r/transform/function/ValueInTransformFunction.java
39.2% <ø> (ø)
:arrow_up:

.../function/DateTimeConversionTransformFunction.java
56.25% <ø> (ø)
:arrow_up:

.../transform/function/DivisionTransformFunction.java
95.45% <ø> (ø)
:arrow_up:

...core/operator/docvalsets/TransformBlockValSet.java
14.89% <0%> (ø)
:arrow_up:

...ry/aggregation/groupby/DefaultGroupByExecutor.java
100% <100%> (ø)
:arrow_up:

... and 33 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8bbf3a5...cc64fc2. Read the comment docs.


SD Card version?

It'd be awesome to provide a simple "SD Card" version for people to have ready for times when their internet goes out.
Ideally this would be some format openable on an Android or iPhone phones.
I also gather there was somebody who managed to further compress it to 10 GiB.
Just throwing this out there in case somebody has time/vigor to implement this.
It'd be cool if we had something that we could put to any phone and have as a backup for times when there's no internet and/or electricity.

Funnily enough, that's what I was going to do.

Awesome! Pls post here when there's a follow-up!

You got it.

Just fyi -- people creating compressors/decompressors specifically for this: http://prize.hutter1.net/
No image data though. And possibly not very cross-platform compatible. Still could be something to look at.


EXCUSE ME! I'VE AN PROBLEM ABOUT THIS PROGRAM IN CPU

BECAUSE OF MY FXXKING PC,I'VE NO IDEA TO INSTALL NVIDIA DRIVER
HOWEVER WHEN I RAN TRAIN.PY,  IT COMEOUT AN ERROR AT THE LINE"images, targets = next(batch_iterator)" FOR "AssertionError: Torch not compiled with CUDA enabled"
WHAT SHOULD I DO NOW?


deleting and creating a project again with the same name fails

Observed behavior
When a project is created,  some file is written to /trust_contexts  folder,   named as the project.
When the project is deleted,  that file is not deleted.
It is not overridden if a project with the same name is created again, instead creation fails on the cli  when trying to setup that file.
Steps to reproduce

ockam project create space_name test
ockam project delete space_name test
ockam project create space_name test

The third step fails
Expected behavior
re-creating a project with the name of some already deleted project should work
Ockam Version
develop

Looks like it has been fixed with https://github.com/build-trust/ockam/pull/5043

I can confirm with the latest develop


Write fail during firmware update

I recently (~1 week ago) updated the firmware on the board but am having trouble using RS485 comm, so decided to try another firmware update.  Now I'm getting the following error:
pi@poolpi:~/megabas-rpi/update $ ./update 0
You are ready to update the firmware on your board.
Your Raspberry Pi must be connected to the internet.
We strongly recommend to disconnect all outputs from the board since they can change state unpredictably.
Type "yes" (without quotes) to continue or anything else to quit:
yes
CPUID:<PHONE_NUMBER>57415636313320
Downloading firmware...               Board version < 4.0
Done
Programming the board...  2%
Write fail!
FAIL to write!
I have gotten anywhere between 2% and 5% complete before failure.
Sometimes I also get:
read cmd NACK ret 0x00 !!!
Bootloader no answer!!!

Hi,
Make sure nobody tries to access the card during the update.

There are no connections to the card, but there are 2 other sequent boards and an Atlas Scientific whitebox T3 stacked on the pi. Do I need to unstack everything?
Thank you,
Dustin

On May 28, 2022, at 12:56 PM, Alexandru Burcea @.***> wrote:

Hi,
Make sure nobody tries to access the card during the update.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.

Normally is not a problem to have more cards on the bus but is better to
remove them. Make sure no resident program on the raspberry pi try to
access I2C port during the update (NodeRED or running python or shell
scripts).
On Sat, May 28, 2022, 19:00 ddyer8 @.***> wrote:

There are no connections to the card, but there are 2 other sequent boards
and an Atlas Scientific whitebox T3 stacked on the pi. Do I need to unstack
everything?
Thank you,
Dustin

On May 28, 2022, at 12:56 PM, Alexandru Burcea @.***> wrote:

Hi,
Make sure nobody tries to access the card during the update.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.

—
Reply to this email directly, view it on GitHub
https://github.com/SequentMicrosystems/megabas-rpi/issues/11#issuecomment-1140297378,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AD3ZCWWXO7U73BTTU3QJ26DVMJGKBANCNFSM5XG3DLLQ
.
You are receiving this because you commented.Message ID:
@.***>

there were no issues with the cards on the stack.  I had a background process accessing the board.


Hello, your application is great, but the content it creates is too short.

Hello, your application is great, but the content it creates is too short.
Can you let it break the code into small pieces?
That means every 1000 - 2000 tokens / 1 transfer, and transfer continuously until the original code that needs to be transferred runs out.
Thanks a lot

Hello @KalvinThien ,
Allowing 16k model is in our plan. It will require people to log on to our website (when it will be available), so we can limit it per user.
The 16k model is twice the price of the 4k model, so that's why it's not enabled yet.
I will try to run some tests next week to see how much it will cost us if we enable it and switch from 4k to 16k depending on the number of tokens in the Input.
Best Regards,
Jon

Hello @KalvinThien ,
We enabled the temporary 16k, but I just noticed that was not your request at all.
My question for you is: In what way does transferring a small chunk of content over and over affect you? At this moment, we transfer the content as soon as we receive it from Chat GPT or Azure API.
Best Regards,
Jon

I will close this issue since there has been no answer since last week.
Best Regards,
Jon

thank you very much @JonathanMagnan . have a nice day BRO


Use str instead of a specialized class for native ids (although allow…

… Job to maintain the native id in another representation)
I'm still a bit fuzzy whether this is the right solution or whether we should add to/from str methods to NativeID.

I don't think a NativeID type adds value to the user of the API.

Agreed. It would mostly make sense from a "proper design" design perspective.


[azeventhubs] Stress test leaks memory because of how it tracks events

The infinite test tracks all the received messages by storing its sequence numbers in a map. This is pretty small, but we run the test over the course of many days with many messages and it eventually consumes way too much memory.
This particular test just goes for a period of time, not a set number of events, so there's a few ways we can handle this that would probably be nice:

Send a set amount of events, with a terminating event. This tells me how many to expect, and that I'm at the end.
After the set is fully received we can restart again, but keep using the existing Processor and ProducerClient instances so we make sure we're still stress testing the connection and links.

The tests have been reworked to do what I did above. Instead of doing a forever round it does several rounds, configurable via parameters.


Write a Java program to find sum of squares of numbers by recursion

Description
Write a Java program to find sum of squares of numbers by recursion
Input  : 1 2 3 4 5
Output : 55

How to contribute

Save the solution in FindSumOfSquaresOfNumbersByRecursion.java file
Add FindSumOfSquaresOfNumbersByRecursion.java file in find-sum-of-squares-of-numbers-by-recursion folder

I want to work on this issue, can you assign this to me.

!assign


Offsite refactor + relocating 'returnURI' processing

1. Objective
Further refactor the offsite methods to avoid duplicated code and ease creation of new payment methods. Also move all processing done by 'return' controller into paymentMethod class
2. Description of change

Made offsite methods share code and templates where appropriate
Moves Card payment processing code inside its payment method class from the controller
Moves 'return' processing from Controller into payment method class
Cleanup - move some objects from controllers into payment method classes where appropriate

3. Quality assurance
Re-tested all payment methods on both versions of PrestaShop
4. Impact of the change
Cleaner code structure, and should now be easier again to add Payment methods going forward
5. Priority of change
Normal
6. Additional notes
Killer whales are actually dolphins 🐬

Reading until this PR, I'm wondering about the idea behind of refactoring the payment_methods/_all.php. It seems we are relocating the payment-related functions out from places and move it to OmisePaymentMethod class in payment_methods/_all.php.
I just see that OmisePaymentMethod becoming to take care of many stuff and getting bigger and bigger. Can you help explain a bit of the idea on why are we heading this way? Why having a "one-for-all" (OmisePaymentMethod) class is better than the current (previous) approach?

(It just seems we are twisting lots of code just to make it work with the payment_methods/_all.php concept and now this class seems to hold lots of responsibilities (seeing from its methods))

It's a payment method. It needs to be able to do certain things and handle certiain things. These all relate to the payment method. Feels way better to have them all in one place instead of scattered through different classes. The _all.php file contains those things that are common to all payment methods. Other methods inherit from this class.
Just feels much cleaner this way than to have have various functions of a pyment method scattered through controllers etc.

I agree that a payment method class should be concerning and knowing how to handle things, but up to a certain degree. I just think this is a bit code spaghetti.
For example, OmisePaymentMethods::getValidCharge().
We have OmiseChargeClass already, why OmisePaymentMethods class needs to care how to retrieve a valid charge, why not let OmiseChargeClass class itself to handle that task.
Or, OmiseChargeClass::create() is already coupled with Context class ($this->context), now we're relocating getReturnUri out to OmisePaymentMethods meaning that these 2 classes are involving with Context. I feel this makes the code more complicated.
Or, we are relocating the part that handling the return payment to OmisePaymentMethods:: handleReturn(). We have controller structure to handle the context of how to handle result (redirection, handle error message, etc.) and now we are leaking controller context into OmisePaymentMethods class.
Understand that OmisePaymentMethods is like a model, or a module that is handling communication between these 3 interfaces: API <> Omise plugin <> PrestaShop.
But leaking the controller context into this class and now this class has to know how to handle everything. It just seems started to become a god class. A bit too spaghetti and too coupled.


rubgems broken since upgrade to 3.1.2

Describe the bug
Ruby packages (gems) are broken since the commit "ruby: rubygems 3.0.6 -> 3.1.2"  298010982b8986f6669e2b762634dac48253d7ba
It seems that the module autoloading feature of ruby doesn't work anymore for the gems packaged in nixpkgs.
To Reproduce
This is a one-line command to test with the gem 'i18n'.

with rubygems 3.0.6  ( 788473c is the parent commit of 2980109 )

$ nix-shell -I 'nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/788473c6db9c15e2ff6f89287eeee377f2a58a77.tar.gz' -p "ruby.withPackages (ps: [ ps.i18n ] )" --run "ruby -e \"require 'i18n'; print I18n.default_locale;\""
en

with rubygems 3.1.2

$ nix-shell -I 'nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/298010982b8986f6669e2b762634dac48253d7ba.tar.gz' -p "ruby.withPackages (ps: [ ps.i18n ] )" --run "ruby -e \"require 'i18n'; print I18n.default_locale;\""
Traceback (most recent call last):
        6: from -e:1:in `<main>'
        5: from /nix/store/ygqfnp5qzw0cf7bhski06b2sqbc9wnyi-ruby2.6.5-i18n-0.9.5/lib/ruby/gems/2.6.0/gems/i18n-0.9.5/lib/i18n.rb:39:in `default_locale'
        4: from /nix/store/ygqfnp5qzw0cf7bhski06b2sqbc9wnyi-ruby2.6.5-i18n-0.9.5/lib/ruby/gems/2.6.0/gems/i18n-0.9.5/lib/i18n.rb:26:in `config'
        3: from /nix/store/kd91gyfxgzrprkq8bdaiggnz9a7hr2x7-ruby-2.6.5/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:72:in `require'
        2: from /nix/store/kd91gyfxgzrprkq8bdaiggnz9a7hr2x7-ruby-2.6.5/lib/ruby/2.6.0/rubygems/core_ext/kernel_require.rb:72:in `require'
        1: from /nix/store/d1m9k2vhpgwdrcca4ssckblw484a1453-ruby-gems/lib/ruby/gems/2.6.0/gems/i18n-0.9.5/lib/i18n/config.rb:3:in `<top (required)>'
/nix/store/d1m9k2vhpgwdrcca4ssckblw484a1453-ruby-gems/lib/ruby/gems/2.6.0/gems/i18n-0.9.5/lib/i18n/config.rb:4:in `<module:I18n>': uninitialized constant I18n::Config (NameError)

with rubygems 3.1.2 and manually loading an internal module of i18n

$ nix-shell -I 'nixpkgs=https://github.com/NixOS/nixpkgs-channels/archive/298010982b8986f6669e2b762634dac48253d7ba.tar.gz' -p "ruby.withPackages (ps: [ ps.i18n ] )" --run "ruby -e \"require 'i18n/config'; require 'i18n'; print I18n.default_locale;\""
en

Expected behavior
The commands above should return the same string.
But, it works with rubygems 3.0.6 (step 1.) and fails with 3.1.2 (step 2.) unless the internal module "i18n/config" is manually loaded (step 3.)
Additional context

I took 'i18n' as example but any gem using autoloading should fail in the same way.
Same issue using bundlerEnv and bundix
Same issue with ruby 2.5 or 2.7
Related issue : #76629

Metadata

system: "x86_64-linux"
host os: Linux 5.4.62, NixOS, 20.03.3318.030e2ce817c (Markhor)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.3.6
channels(root): "nixos-20.03.3318.030e2ce817c"
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

Maintainer information:
attribute: [ ruby, ruby_2_5, ruby_2_6, ruby_2_7 ]
module:

As temporary workaround I use this overlay to revert rubgems back to 3.0.6 :
    nixpkgs.overlays = [
      (self: super: {
        ruby = let
          rubygems_3_0_6 = (
            import <nixpkgs/pkgs/development/interpreters/ruby/rubygems> {
              stdenv = super.stdenv; lib = super.lib; fetchurl = super.fetchurl; fetchpatch = super.fetchpatch;
            }).overrideAttrs(oldAttrs: rec {
              version = "3.0.6";
              src = super.fetchurl {
                url = "https://rubygems.org/rubygems/rubygems-${version}.tgz";
                sha256 = "1ca1i4xmggizr59m6p28gprlvshczsbx30q8iyzxb2vj4jn8arzx";
              };
              patches = builtins.filter (x: builtins.isPath x) oldAttrs.patches;
            });
        in
        super.ruby.overrideAttrs(oldAttrs: rec {
          postUnpack = ''
          rm -rf $sourceRoot/{lib,test}/rubygems*
          cp -r ${rubygems_3_0_6}/lib/rubygems* $sourceRoot/lib
          cp -r ${rubygems_3_0_6}/test/rubygems $sourceRoot/test
          '';
        });
      })
    ];

The test case passes for me on current master, so I'm assuming this was solved by #119932. If not, feel free to reopen.


problem while installing the package

Installing the package fails currently (using Node.js v8.1.2 with npm 5.0.3):
npm i botkit
npm ERR! code E404
npm ERR! 404 Not Found<EMAIL_ADDRESS>
EDIT: The previous release (0.5.4) installs flawlessly

This issue presents itself confusingly to new users -- FYI. You can only find out the actual cause by going into the new console.
Note that when using botkit 0.5.4 in package.json, you must explicitly only use that version; you can't use the "^..." syntax. This works: "botkit": "0.5.4",

This has been resolved by our friends at Cisco. Try again!


Provide poetry based script to initialise the database

While initialising my first project from the template I had to do the following to initialise the database using the following steps:
root@af3b478425ca:/opt# python
Python 3.10.4 (main, May 11 2022, 10:32:02) [GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from acacia import db, models
>>> db.init_models()
<coroutine object init_models at 0xffff993e5a10>
>>> init = db.init_models()
>>> init()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: 'coroutine' object is not callable
>>> import asyncio
>>> asyncio.run(init)
2022-07-23 01:35:04,927 INFO sqlalchemy.engine.Engine select pg_catalog.version()
2022-07-23 01:35:04,927 INFO sqlalchemy.engine.Engine [raw sql] ()
2022-07-23 01:35:04,928 INFO sqlalchemy.engine.Engine select current_schema()
2022-07-23 01:35:04,928 INFO sqlalchemy.engine.Engine [raw sql] ()
2022-07-23 01:35:04,929 INFO sqlalchemy.engine.Engine show standard_conforming_strings
2022-07-23 01:35:04,929 INFO sqlalchemy.engine.Engine [raw sql] ()
2022-07-23 01:35:04,930 INFO sqlalchemy.engine.Engine BEGIN (implicit)
2022-07-23 01:35:04,931 INFO sqlalchemy.engine.Engine select relname from pg_class c join pg_namespace n on n.oid=c.relnamespace where pg_catalog.pg_table_is_visible(c.oid) and relname=%s
2022-07-23 01:35:04,931 INFO sqlalchemy.engine.Engine [generated in 0.00014s] ('user',)
2022-07-23 01:35:04,932 INFO sqlalchemy.engine.Engine select relname from pg_class c join pg_namespace n on n.oid=c.relnamespace where pg_catalog.pg_table_is_visible(c.oid) and relname=%s
2022-07-23 01:35:04,932 INFO sqlalchemy.engine.Engine [cached since 0.001741s ago] ('user',)
2022-07-23 01:35:04,933 INFO sqlalchemy.engine.Engine
CREATE TABLE "user" (
	id UUID DEFAULT gen_random_uuid() NOT NULL,
	created_at TIMESTAMP WITH TIME ZONE DEFAULT now() NOT NULL,
	updated_at TIMESTAMP WITH TIME ZONE DEFAULT now() NOT NULL,
	email VARCHAR,
	password VARCHAR,
	verified BOOLEAN DEFAULT false NOT NULL,
	mobile_number VARCHAR,
	first_name VARCHAR,
	last_name VARCHAR,
	is_admin BOOLEAN DEFAULT false NOT NULL,
	otp_secret VARCHAR,
	PRIMARY KEY (id),
	UNIQUE (email)
)

2022-07-23 01:35:04,933 INFO sqlalchemy.engine.Engine [no key 0.00007s] ()
2022-07-23 01:35:04,939 INFO sqlalchemy.engine.Engine COMMIT

which was essentially me running the init_db async method to create the tables. It would be preferable to wrap this up into a poetry script and made available as a task, so the user could do something
task db:init

and the initial database schema would be present. This would go hand in hand with #23 and could possible combine the two steps.

import asyncio
from acacia import db, models
init = db.init_models()
asyncio.run(init)

While the above example works, this does not appear to work via the poetry script:
** Steps to reproduce **

Drop the database completely
run task db:init
inspect the tables to see that there was nothing created

The database engine has echo=True hence you should see the SQL statements if the tables are created, instead you see:
task: [db:init] docker compose exec api sh -c "poetry run initdb"
Skipping virtualenv creation, as specified in config file.
2023-03-22 23:04:36,312 INFO sqlalchemy.engine.Engine select pg_catalog.version()
INFO:sqlalchemy.engine.Engine:select pg_catalog.version()
2023-03-22 23:04:36,312 INFO sqlalchemy.engine.Engine [raw sql] ()
INFO:sqlalchemy.engine.Engine:[raw sql] ()
2023-03-22 23:04:36,313 INFO sqlalchemy.engine.Engine select current_schema()
INFO:sqlalchemy.engine.Engine:select current_schema()
2023-03-22 23:04:36,313 INFO sqlalchemy.engine.Engine [raw sql] ()
INFO:sqlalchemy.engine.Engine:[raw sql] ()
2023-03-22 23:04:36,314 INFO sqlalchemy.engine.Engine show standard_conforming_strings
INFO:sqlalchemy.engine.Engine:show standard_conforming_strings
2023-03-22 23:04:36,314 INFO sqlalchemy.engine.Engine [raw sql] ()
INFO:sqlalchemy.engine.Engine:[raw sql] ()
2023-03-22 23:04:36,315 INFO sqlalchemy.engine.Engine BEGIN (implicit)
INFO:sqlalchemy.engine.Engine:BEGIN (implicit)
2023-03-22 23:04:36,315 INFO sqlalchemy.engine.Engine COMMIT
INFO:sqlalchemy.engine.Engine:COMMIT

Note that following the above steps does work.

The bug turns out to be that the initialise method did not have models imported into context:
def initialise():
    """ Async IO containers to run the init_models function

    This is called from the command line via poetry scripts.
    """
    import asyncio
    asyncio.run(init_models())

importing it into context fixes this issue:
def initialise():
    """ Async IO containers to run the init_models function

    This is called from the command line via poetry scripts.

    Note: while import the models package seems useless, it is
    infact crucial that the models are in context before the
    create_all is called, otherwise the context has no models
    defined and none will be created.
    """
    import asyncio
    from . import models
    asyncio.run(init_models())

I had left the models import out thinking that it had no effect, but clearly not importing does not give SQLAlchemy the context of the models.
Note that while to avoid circular dependency we should reference models from the packages directly, but it's easier to aggregate the models to the top package for this sort of utility.


Update reporters. Remove temporary JSON reporter for tests. Move screenshots dir to top level. Bump version. (closes #671)

\cc @helen-dikareva @AlexanderMoskovkin

lgtm

lgtm


first version of v4 client integration in prism-go-client

Adds a new v4Client that holds v4 api instances.

Please add a Changelog entry too

Added Changelog entry

Codecov Report

Merging #133 (6468b32) into main (c435e65) will increase coverage by 1.34%.
The diff coverage is 84.41%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
@@            Coverage Diff             @@
##             main     #133      +/-   ##
==========================================
+ Coverage   52.96%   54.30%   +1.34%
==========================================
  Files          19       20       +1
  Lines        1722     1799      +77
==========================================
+ Hits          912      977      +65
- Misses        810      822      +12

Files Changed
Coverage Δ

v4/v4.go
84.41% <84.41%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


please merge and release

Could we get #11 and #14 merged and a new release on pypi please?

I just released v2.0.1 including them.
https://pypi.python.org/pypi/testing.common.database
Thanks,


bumped minor version (though no breaking changes to the web interface) to keep with scadnano Python package, which added some breaking changes to the Python API

Release notes:
No changes, but bumping version to keep with Python package, which had some breaking changes; see TODO link to Python release notes.


Update k8s to v0.29.3

Required one-line code change

Description of the change:
Motivation for the change:
Architectural changes:

Testing remarks:

Reviewer Checklist

[ ] Implementation matches the proposed design, or proposal is updated to match implementation
[ ] Sufficient unit test coverage
[ ] Sufficient end-to-end test coverage
[ ] Bug fixes are accompanied by regression test(s)
[ ] e2e tests and flake fixes are accompanied evidence of flake testing, e.g. executing the test 100(0) times
[ ] tech debt/todo is accompanied by issue link(s) in comments in the surrounding code
[ ] Tests are comprehensible, e.g. Ginkgo DSL is being used appropriately
[ ] Docs updated or added to /doc
[ ] Commit messages sensible and descriptive
[ ] Tests marked as [FLAKE] are truly flaky and have an issue
[ ] Code is properly formatted

Note: This does not update operator-framework/api or operator-framework/operator-registry references, which have yet to move to k8s v0.29.x, but there are PRs for it (i.e. https://github.com/operator-framework/api/pull/319, https://github.com/operator-framework/operator-registry/pull/1244 and https://github.com/operator-framework/operator-registry/pull/1244)


I want to enable https in this setup how can i do that

I am hosting a container from this docker image on AWS EC-2 machine i have enable https in my security group and changed the port container listens to 443 problem is mydomain.com:443/login gets redirected to mydomain.com/login. This application ignores the port used is there a workaround.

The carto service is running in development mode which disables ssl.
To force the service to redirect to https you need to add config.force_ssl = true to the /cartodb/config/environments/development.rb.
The container is running nginx which is configured (/etc/nginx/sites-enabled/default) for http (port 80) not https. The nginx has to be configured for ssl, see https://nginx.org/en/docs/http/configuring_https_servers.html and https://certbot.eff.org/#ubuntuxenial-nginx to get a private/public key pair.

After adding config.force_ssl = true i get redirections.

Is there a way i can change http to https for widgets the same way here
Edit cartodb/app/models/user/user_decorator.rb line 100, replace base_url: public_url, with base_url: public_url.sub('http','https'),

Edit resources_url_template in container
nano /Windshaft-cartodb/config/environments/development.js
#Find resources_url_template change http to https in protocol of https version. Final Block like this:
,resources_url_templates: {
    http: 'http://carto.gq:{{=it.port}}/user/{{=it.user}}/api/v1/map',
    https: 'http://carto.gq:{{=it.port}}/user/{{=it.user}}/api/v1/map'
}

hello, all is okay with https passage by the way i have one error :
Template 'tpl_1c38d890_a943_44ca_94dc_107b4c183493' of user 'dev' not found on dashboard when calling
https://domain.ltd/user/dev/api/v1/map/static/named/tpl_1c38d890_a943_44ca_94dc_107b4c183493/300/170.png
any suggestion ?
Best regards

It is generally a cache issue try to delete cache of your browser.
On Tue 29 May, 2018, 2:32 PM Stefan Verhoeven<EMAIL_ADDRESS>wrote:

Reopened #22 https://github.com/sverhoeven/docker-cartodb/issues/22.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/sverhoeven/docker-cartodb/issues/22#event-1650558994,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ARpk2Myxri_Mp-oO_drSxhkRU8BjmsyCks5t3Q6TgaJpZM4SGa5_
.

Are the permissions to access map right because this happens when map
template is not accessible either due to cache or access settings.
On Mon 25 Jun, 2018, 4:55 PM Fabien Leprovost<EMAIL_ADDRESS>wrote:

@sandeepgadhwal https://github.com/sandeepgadhwal not working on
browser it's 404 error of tpl cartodb server.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/sverhoeven/docker-cartodb/issues/22#issuecomment-399918995,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ARpk2CD_vz6jLu3493yarc9krHyLlyGNks5uAMiNgaJpZM4SGa5_
.

yep data is public and carto is public

Can you attach a screenshot
On Mon 25 Jun, 2018, 5:00 PM Fabien Leprovost<EMAIL_ADDRESS>wrote:

yep data is public and carto is public
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/sverhoeven/docker-cartodb/issues/22#issuecomment-399920182,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ARpk2HWo-QzP68Mi_djPTrhzsjWf9c76ks5uAMnBgaJpZM4SGa5_
.

the exact error is /**/ typeof _cdbc_2147922390_1 === 'function' && _cdbc_2147922390_1({"errors":["Template 'tpl_48540e68_87b2_4c5b_96c2_9e80e43b6d30' of user 'dev' not found"],"errors_with_context":[{"type":"unknown","message":"Template 'tpl_48540e68_87b2_4c5b_96c2_9e80e43b6d30' of user 'dev' not found"}]});

I'm experiencing this exact same issue.

@sandeepgadhwal Do you have this fully working without the templates not found errors?

I finally got this working without the missing templates problem. The key seems to be in setting this section of the app_config.yml file:
tiler:
    filter: 'mapnik'
    internal:
      protocol:      'http'
      domain:        ''
      port:          '8181'
      host:          '<IP_ADDRESS>'
      verifycert:     false

The rest of the private and public sections are set to https and port 443. These are the settings that worked for me. Now the missing template problem is gone.


[Tensorflow][Frontend] support tf saved_model and more operators

I post it on https://discuss.tvm.ai/t/tensorflow-support-tf-saved-model-and-more-operators/1030
Hi, I have tried nnvm/tvm v0.4 from tensorflow saved_model, and face NotImplementedError: The following operators are not implemented.
The code is simple:
with tf.Session(graph=tf.Graph()) as sess:
  meta_graph_def = tf.saved_model.loader.load(sess, [tf.saved_model.tag_constants.SERVING], dir)
  graph_def = meta_graph_def.graph_def

  graph_def = nnvm.testing.tf.ProcessGraphDefParam(graph_def)
  sym, params = nnvm.frontend.from_tensorflow(graph_def)

And the error are:
NotImplementedError: The following operators are not implemented: set([u'IsVariableInitialized', u'NotEqual', u'RealDiv', u'ShardedFilename', u'RestoreV2', u'Exp', u'BatchMatMul', u'Max', u'VariableV2', u'Gather', u'Transpose', u'MergeV2Checkpoints', u'Log1p', u'StringJoin', u'RandomUniform', u'SaveV2', u'NoOp', u'Pack', u'Unpack', u'Assign', u'Mean'])

I guess there are 2 issues related.
First, tf saved_model is not supported (u’IsVariableInitialized, u’ShardedFilename’, u’RestoreV2’, u’MergeV2Checkpoints’, u’RandomUniform’, u’SaveV2’, u’Pack’, u’Unpack’, u’Assign’, u’StringJoin’).
Second, some operators in my model is not supported (u’NotEqual’, u’RealDiv’, u’Exp’, u’BatchMatMul’, u’Max’, u’Gather’, u’Transpose’, u’Log1p’, u’Mean’).
Is there any plan to support tf SavedModel and more operators?

move the discussion to the forum, once we have proposals for concrete ops, we can bring up new issues. Thanks for bringing this up


NeuralNetwork training -- hidden params appears in the data root folder

Declined support of neural netwoks, related pipeline has been deleted.
Use AREnets instead as a separated project for it, or prior ARElight release


Xenko.SpriteStudio.Runtime missing

Release Type: Official beta
Version: 3.1
Platform: Windows 10
Bug:
When I tired to execute the SpriteStudio demo, it failed with runtime exception:
An unhandled exception of type 'Xenko.Core.Serialization.Contents.ContentManagerException' occurred in Xenko.Games.dll
Unexpected exception while loading asset [SpriteEntityScene]. Reason: Could not load file or assembly 'Xenko.SpriteStudio.Runtime, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.. Check inner-exception for details.
I tired to add a similar nuget package from VS, but I didn't found.

You mean that package?
https://www.nuget.org/packages/Xenko.SpriteStudio.Runtime/<IP_ADDRESS>-beta01-0430

Yes, thank you I forgot to check the "Include Prelease" checkbox in the nuget package. But IMHO in can be useful if anybody add this package to the project templatge.

This has been fixed through one of the many nuget changes.


Check if all jobs from "Cum poți ajuta tu?" section are aligned properly

Description: You must check if all jobs from "Cum poți ajuta tu?" section are aligned properly.
Precondition: The website is up and running

Step 1: Scroll down to "Cum poți ajuta tu? " section.
Expected result: The "Cum poți ajuta tu?" section should be displayed.

Step 2: Check if all jobs from "Cum poți ajuta tu?" section are aligned properly.
Expected result: All jobs from "Cum poți ajuta tu?" section should be aligned properly .

Step 3: Check if all jobs from "Cum poți ajuta tu?" section are aligned properly on your phone.
Expected result: All jobs from "Cum poți ajuta tu?" section should be aligned properly on your phone.


improve footer view and apperance

I want to change this and make it more attractive

can you assign me this task


Implemented an image zoom inside image popup

This pull request resolves issue #1693 by adding an image zoom to the image pop-up screen when a user clicks on the image. When a user clicks again, the image zooms out going back to normal.

Let's go with zoom on scroll and reset on double-click. Moreover, to make the UX good, we also need a way to move the zoomed area - can be the same as
https://user-images.githubusercontent.com/64769322/207278012-e3a4bb96-5e0c-4809-8b0c-ba1b4c05d885.mov

@nhadlaw are you going to continue to work on this or may I close this PR?

Closing due to inactivity.


#1719 Candidate flagging

What's included?
Added a flag to indicate that particular candidates on the system need to be handled sensitively.
Added a permission to determine who can see the button to flag/un-flag a candidate as needing to be handled sensitively.
An asterisk will appear next to their name on certain pages and an email is sent to the senior leadership team when they apply for a position.
Note that the candidates flagged/marked are usually involved with proceeding against the JAC and the management of their application needs to be handed sensitively. Having this will ensure a consistent approach and that any sensitive issues are dealt with correctly.
The email addresses of users who need to be notified when a candidate is flagged should be added to the firestore config. An array of email addresses can be added at: settings.services.emails.CandidateFlagging
Who should test?
✅ Product owner
✅ Developers
✅ UTG
How to test?
Flagging / Un-flagging a candidate
Please log in as a user with the 'Can flag candidates' permission - e.g<EMAIL_ADDRESS>To flag/unflag a candidate go to the Candidate page and select the Notes tab. A flag/unflag button is displayed on the right hand side. This button should toggle between the flag and unflag states each time it is clicked.
When the user is flagged an email should be sent out to the senior leadership team. This email should only get sent once, ie repeat activation of the flag should not result in subsequent emails being sent.
Please log in as a user without the 'Can flag candidates' permission - e.g<EMAIL_ADDRESS>Check that the Flag / Un-flag functionality is not present.
Identifying flagged candidates
The flagged candidates should have an asterisk on the following pages for all users:

Candidates list (asterisk appears next to the candidate's name)
Candidate page (asterisk appears next to the candidate's name)
Application page (asterisk appears next to the application's name)

On the Candidates list you can press the Show Filters button to display a checkbox allowing you to filter by 'flagged candidates only'. When this filter is activated only the flagged candidates should display in the list.
Additional Fix
In the Candidate page the 'edit' button should now only be displayed when the Details tab is active. Previously the edit button was showing on every tab.
Permissions
A new permission has been added. The user needs to have the 'Can flag candidates' permission checked in order to be able to flag/unflag candidates.
Risk - how likely is this to impact other areas?
🟢 No risk - this is a self-contained piece of work

PREVIEW:DEVELOP
can be OFF, DEVELOP or STAGING

Failed User Testing for the following reasons:

Filtering the candidates list not working (wheel of death)
Flag not showing on applications list (acceptable as future work)

Also we have the following questions:

Should staff be required to enter a Note (or should an automated note be added)?

Admin stated they couldn't see the option to flag candidates. I have not tested the pull request myself to comment but adding the feedback in.

Recent updates to permissions and demo users mean this should be easier to test now. 🤞
Instructions updated.


Support phpseclib 2.0.7

Last version phpseclib 2.0.7 - 2017-10-22
https://github.com/phpseclib/phpseclib/blob/master/CHANGELOG.md
Time to upgrade.
Thanks

Done.


Maintenance also inside docker container

Wrapped the maintenance example in docker exec.
Provides the information I did mis:

How? (docker exec)
Which container? (timescaledb)
Which user inside the container? (postgres)
Which program in the container? (psql)

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

bors r+

@stappersg thank you for the PR 👍🏻


Feature: LOOP-106-Stream-Multiplexing

Description
Please include a summary of the change and which issue has been fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Adds stream multiplexing into frisbee, allowing for multiple raw streams of data underlying the same frisbee connection.
Fixes LOOP-106
Type of change
Please update the title of this PR to reflect the type of change. (Delete the ones that aren't required).

[x] New feature (non-breaking change which adds functionality) [title: 'feat:']
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[x] This change requires a documentation update

Testing
Please make sure that existing test cases pass (with go test ./... -race and go test -bench=. ./... -race),
and if required please add new test cases and list them below:
New Test:

[x] TestStreamConn
[x] TestStreamMessages

Updated Tests:

[x] TestReadFrom
[x] TestWriteTo
[x] TestIOCopy

Benchmarking
Frisbee tries to adhere to strict performance requirements, so please make sure to run go test -bench=. ./... and paste the results below:
Benchmarking Results:
goos: darwin
goarch: amd64
pkg: github.com/loophole-labs/frisbee
cpu: Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
BenchmarkClientThroughput/test-16                     36          30441591 ns/op
BenchmarkClientThroughputResponse/test-16                     38          30919325 ns/op
BenchmarkThroughputPipe32-16                                  45          23647008 ns/op
BenchmarkThroughputPipe512-16                                 31          37223619 ns/op
BenchmarkThroughputNetwork32-16                               50          21312556 ns/op
BenchmarkThroughputNetwork512-16                              33          32507995 ns/op
BenchmarkThroughputNetwork1024-16                             25          46671548 ns/op
BenchmarkThroughputNetwork2048-16                             15          77521268 ns/op
BenchmarkThroughputNetwork4096-16                              8         134677739 ns/op
BenchmarkThroughputNetwork1mb-16<PHONE_NUMBER> ns/op
BenchmarkThroughput/test-16                                   33          34900274 ns/op
BenchmarkThroughputWithResponse/test-16                       34          34914097 ns/op
PASS
ok      github.com/loophole-labs/frisbee        23.033s
?       github.com/loophole-labs/frisbee/internal/errors        [no test files]
goos: darwin
goarch: amd64
pkg: github.com/loophole-labs/frisbee/internal/protocol
cpu: Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
BenchmarkEncodeHandler-16               71007698                14.68 ns/op
BenchmarkDecodeHandler-16               100000000               10.85 ns/op
BenchmarkEncodeDecodeHandler-16         37778564                28.04 ns/op
BenchmarkEncode-16                      85960918                14.00 ns/op
BenchmarkDecode-16                      160845126                7.596 ns/op
BenchmarkEncodeDecode-16                41213019                26.76 ns/op
PASS
ok      github.com/loophole-labs/frisbee/internal/protocol      7.761s
PASS
ok      github.com/loophole-labs/frisbee/internal/ringbuffer    0.146s

Linting
Please make sure you've run the following and fixed any issues that arise:

[x] go fmt ./... has been run
[x] golangci-lint run --skip-dirs-use-default has been run

Final Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules
[x] I have checked my code and corrected any misspellings

I apologize in advance for what you're gonna have to look through for Lynk. I might split it into a bunch of PRs.


Ignores variables in url

When I run this against an exported file from Insomnia, it does not put in the variables I had! If I had a base url or version number, they show up blank in the yaml file

Example
"url": "{{ base_url }}/{{ version  }}/auth/login"

Becomes
"//auth/login"

Should be
"https://mybaseurl.com/v4/auth/login"

Do I need to somehow specify the env variables to use?


ERROR Invalid Access Token issuer/subject  Error Code: 20103

Describe the bug
When attempting to join a video room I run into: ERROR Invalid Access Token issuer/subject  Error Code: 20103

To Reproduce
Steps to reproduce the behavior:

EXPORT TWILIO_ACCOUNT_SID=ACxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx; EXPORT TWILIO_API_KEY_SID=SKxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx; EXPORT TWILIO_API_KEY_SECRET=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
cp .env.example .env
nano .env
TWILIO_ACCOUNT_SID=ACxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
TWILIO_API_KEY_SID=SKxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
TWILIO_API_KEY_SECRET=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
REACT_APP_SET_AUTH=passcode
npm run deploy:twilio-cli
visit url of video app and observe error in the screenshot
If I try twilio login I run into:  » Secure credential storage failed to load.

Environment (please complete the following information):

OS: Ubuntu 18.04.4 LTS
Browser: Chrome 80.0.3987.116
App Version: 0.1.0
SDK Version: 2.1.0
Node.js version: v10.20.1

Thanks for the issue @octopyth!
The .env file isn't used by the npm run deploy:twilio-cli command, so you don't need to put anything in it.
You can still pass environment variables to use the twilio CLI in case logging in doesn't work. You'll have to make sure that you are using the correct environment variables. You can read about them in the Twilio CLI documentation.
Looks like you should export TWILIO_API_KEY instead of TWILIO_API_KEY_SID
and export TWILIO_API_SECRET instead of TWILIO_API_KEY_SECRET.
Try that and let me know how it works for you.

Indeed I have misspelled TWILIO_API_SECRET, and I have managed to deploy as I have also exported TWILIO_AUTH_TOKEN. Now removed TWILIO_AUTH_TOKEN and it works like a charm. Thanks!


Standalone workflow from VSCode

I know there is already an option to run this in the browser. What am effectively asking is there a version that is just like Juypter notebook local that it does not have any connection to VSCode. The UI features are kinda nice and I was wondering if there was some work on this kind of thing specifically. I am just asking because of wanting to contribute to the UI features of this and I would like to but it's difficult to sieve through the Microsoft stuff and I want to have a place to merge it back to , obviously I wouldn't be able to merge it back here as it lacks the VSCode interoperability. Was wondering if something like that was being worked on

The notebook UI in VS Code is based off of the Jupyter project. So if you're looking for the tool without the additions from Microsoft, that would be the place to go.

So why does the VSCode Juypter UI support KateX (or uses it by default) however the Juypter notebook doesn't use it. Even installing Juypter themes on Anaconda doesn't give the font formatting, cell box UI, text highlighting VScode offers.

Am not referring to the Microsoft stuff. I really like the way they customized the theme and style. Am referring to the VSCode am asking if the theme and styling is available standalone or there is something like that

No, sorry, the UI is very tightly coupled to vscode.

Why so??So this UI can't run on a browser.


create plots daily min/max temp for last 10 years

input file: plot_input.csv

This is done check it out!

Hi, this code seems to have something wrong! I tried to run it but got an error!

What error are u getting?

I think it has to do with your newly added code and makefile..try to run the previous version and see if u did nothing wrong while integrating your new code

U basically changed all the code that was there already so thats why its throwing error I will have to look through your code and match it back..

Sorry, I didn't notice that, let me check again!

Yes bro no worries I will just modify it to match yours.. me and ajay agreed on a format for the files so thats why..i will just modify based on what u did..

Hi this is the error information I got:
``Plotting min-max values
python3 min_max_plot.py
Traceback (most recent call last):
File "min_max_plot.py", line 72, in
Data = pd.read_csv(filepath+file, encoding = 'utf-8')
File "/usr/lib/python3/dist-packages/pandas/io/parsers.py", line 498, in parser_f
return _read(filepath_or_buffer, kwds)
File "/usr/lib/python3/dist-packages/pandas/io/parsers.py", line 285, in _read
return parser.read()
File "/usr/lib/python3/dist-packages/pandas/io/parsers.py", line 747, in read
ret = self._engine.read(nrows)
File "/usr/lib/python3/dist-packages/pandas/io/parsers.py", line 1197, in read
data = self._reader.read(nrows)
File "pandas/parser.pyx", line 766, in pandas.parser.TextReader.read (pandas/parser.c:7988)
File "pandas/parser.pyx", line 788, in pandas.parser.TextReader._read_low_memory (pandas/parser.c:8244)
File "pandas/parser.pyx", line 842, in pandas.parser.TextReader._read_rows (pandas/parser.c:8970)
File "pandas/parser.pyx", line 829, in pandas.parser.TextReader._tokenize_rows (pandas/parser.c:8838)
File "pandas/parser.pyx", line 1833, in pandas.parser.raise_parser_error (pandas/parser.c:22649)
pandas.parser.CParserError: Error tokenizing data. C error: Expected 2 fields in line 25, saw 27

Yes, i expect that.. your saving the files different than how I did thats why. Thats why its not parsing corectly. I will fix it to match yours tonight.
This is because me and ajay agreed on a specific format so i was working based on that..

Ok, thanks!

What is your agreed format? I can also change my code to match yours.

I think your get_weather_data function is not correct, you should specify index_col=0


SQLOPS custom insight tutorial: add detailed view

I think this tutorial is missing one of my favourite features: the detailed dashboard insight view. I added another part where the user learns to add a detail insight for the existing active session insight. Hope you like the idea!

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: SebastianPfliegel sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

@SebastianPfliegel : Thanks for your contribution to the SQL documentation! The author, @erickangMSFT, has been notified to review your proposed change.

@SebastianPfliegel - Thanks Sebastian, great contribution!  This is ready to merge.
#sign-off


Unable to scrape episodes

I'm using TMM 2.7.4 updated from the download page at website.
Operating system is Windows 10 build 10586.318
Usually when I scrape for a TV show, it will also scrape the episodes (I'm using thetvdb.com scraper). Now when I try to scrape, it just scrapes the TV show's main data (title, rating, status, certification, etc.) but not the episodes, even if I select 'scrape episode metadata'.
I can't upload the logs file. It's generated using the 'contact us' menu from TMM, but when I upload it, it shows error "Unfortunately, we don’t support that file type."

just tested - works fine here?
Can you try again and/or upload the log somewhere else? (pastbin etc)

I've tried again, still doesn't work.
Is it okay to upload to mediafire?
http://www.mediafire.com/download/9kr97p3d8odjwaw/tmm_logs.zip

we changed some things in the underlying HTTP library.
Could you try again with version 2.8?

Alright, looks like it works fine now. Thanks!


BFIO 2.0.0

This PR refactors bfio to support a new Python backend and simplifies the ability to add new backends for handling other file formats in the future.
In addition to refactoring, a number of breaking changes and methods for handling data behind the scenes were made to improve ease of use and scalability. Most of the breaking changes include changing function calls to properties, and renaming them to something easier to remember. For example, the num_x() method has been converted to a property called X or x.
By default, all reading/writing operations are now threaded, using half of the available cores for reading/writing. This can be set on a per file basis when initializing a BioReader or BioWriter object by using the max_workers keyword argument.
Some simple unit tests were created, but need additional development to better test all the functionality of the code.
A significant effort was undertaken to create documentation, including examples.
One thing that is missing from the refactor is the tiled reading/writing capability. The code is still in place, and the reader seems to work properly, but this should be more extensively tested and documented.

Bug fix: BioWriter with python backend is not designed to handle color images and it should throw out an error or display a warning when the user tries to write color images.

Bug fix: BioWriter with python backend is not designed to handle color images and it should throw out an error or display a warning when the user tries to write color images.


Add maximum speed to I2C slave config in docs (IDFGH-9289)

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Thanks for your contribution.

sha=77bd7b38ce086b5e68ecadca5f955010ad912c73


[2.0][SecurityServiceProvider] Redirect to login page after successfull auth

After success login silex redirect to my controller, but then  "An AuthenticationException was thrown; redirecting to authentication entry point" and redirect to login page. May be I do something wrong?
        $app['security.firewalls'] = [
            'secured_area' => [
                'pattern' => '^/admin',
                'anonymous' => false,
                'form' => ['login_path' => '/login', 'check_path' => '/admin/check_login',
                    'always_use_default_target_path'=>true,
                    'default_target_path' => 'post_add',
                ],
                'users' => [
                    'admin' => ['ROLE_ADMIN', '5FZ2Z8QIkA7UTZ4BYkoC+GsReLf569mSKDsfods6LYQ8t+a8EW9oaircfMpmaLbPBh4FOBiiFyLfuZmTSUwzZg=='],
                ],
            ],
        ];

logs
[2015-09-22 08:31:33] application.DEBUG: > GET /login [] []
[2015-09-22 08:31:34] application.DEBUG: < 200 [] []
[2015-09-22 08:31:49] application.INFO: Matched route "admin_check_login". {"route_parameters":{"_controller":null,"_route":"admin_check_login"},"request_uri":"http://symfony.dev/admin/check_login"} []
[2015-09-22 08:31:49] application.INFO: User has been authenticated successfully. {"username":"admin"} []
[2015-09-22 08:31:49] application.DEBUG: < 302 http://symfony.dev/admin/post/add/ [] []
[2015-09-22 08:31:49] application.DEBUG: Stored the security token in the session. {"key":"_security_secured_area"} []
[2015-09-22 08:31:49] application.INFO: Matched route "post_add". {"route_parameters":{"_controller":"home.controller:postEdit","_route":"post_add"},"request_uri":"http://symfony.dev/admin/post/add/"} []
[2015-09-22 08:31:49] application.INFO: An AuthenticationException was thrown; redirecting to authentication entry point. {"exception":"[object] (Symfony\\Component\\Security\\Core\\Exception\\AuthenticationCredentialsNotFoundException(code: 0): A Token was not found in the TokenStorage. at /var/www/silex/vendor/symfony/security/Http/Firewall/AccessListener.php:53)"} []
[2015-09-22 08:31:49] application.DEBUG: Calling Authentication entry point. [] []
[2015-09-22 08:31:49] application.DEBUG: < 302 http://symfony.dev/login [] []
[2015-09-22 08:31:49] application.INFO: Matched route "GET_login". {"route_parameters":{"_controller":"[object] (Closure: {})","_route":"GET_login"},"request_uri":"http://symfony.dev/login"} []
[2015-09-22 08:31:49] application.DEBUG: > GET /login [] []
[2015-09-22 08:31:49] application.DEBUG: < 200 [] []

It says A Token was not found in the TokenStorage. This can happen when the session is not written properly. This could be caused by permission issues on the folder used by PHP to store sessions

After this redirects I can access secured area, so session worked.
I use debian 8 with php 5.6 with php-fpm
May be I need some settings in php.ini for sessions?

Are you performing some logic in the kernel.terminate event ?

Thanks for help. I create test app and it works. I check my code again.


automate welcome messaging part II

need to see how we do this, we actually moved welcome messaging to a private DM:
https://github.com/pybites/karmabot/blob/master/commands/welcome.py

not sure what's needed here, new users get a DM which is cool


Tunnel c00e6eec.ngrok.io not found

Hey everyone, can you help me about this issue, please? I'm newbie

It seems like you're using Ngrok, which generates a new URL every time you run the server. If you generate a new URL, you'll need to be sure to update the Actions console with the new URL.

Thanks for your reply Fleker, but I  have serveral doubts. Web portal URL is http://localhost:8081 for adding new device, right? And I set right webhook, auth, token on action on gg. But when I add device on app GG home, this link to ngrok URL, but as I mentioned, it's still not found.

This is my Web portal.

And my ngrok URL

The ngrok URL will change everytime you run the start command. You'll need to copy the 3 URLs, update the console, then enable testing. You may need to disable and then re-enable testing.

I try hard update URLs on Action on GG, but it's still not effective. Because I'm a hardware engineer, and newbie in smart home action GG. If you have little time, can you help me by configuring through teamview?
Thanks a lot!

I try also App Engine, but i don't understand configuring at gcloud CLI step which i set. When I run deploy, git window display "not recognized glcoud", I try so much

Have you downloaded the gcloud CLI.

Yes, i set it, but after adding a device on google home, navigate to google app engine link, not found, 404 error

Amazing!! I tried ngrok successfully. The possible cause is asynchronous work between testing enable and adding a device on GG Home, Thank you so much, Nick!

helo sir... i updated the ngrok url and it runs in web but in my flutter app it shows my old ngrok url and when i update it in flutter code .. it shows the same old url and tunnel not found error while running the api... please help

That seems like a Flutter issue.

hello,
with the previous versions of kali linux this tutorial has been working very efficiently,
but since the 2020 released version, this shellphish doesnt seem to work at all,
it's like this,
i enter all the commands, everything goes smoothly until it comes to the links,
i choose 1 or 2 for facebook it insta or whatever and after a short while the links are generated,
when i copy and paste them in any browser the page is showing this tunnel error :
Tunnel 484c0355.ngrok.io not found
So what can i do to fix this issue?

Only my LAN network can be accessed. I send the link to my friends or I use a 4G network that can't be accessed
i don't know what happend
help~~

no issue ???

Only my LAN network can be accessed. I send the link to my friends or I use a 4G network that can't be accessed
i don't know what happend
help~~

Yes sir I have same issue how you solve this problem.pls help me😥😥

Only my LAN network can be accessed. I send the link to my friends or I use a 4G network that can't be accessed
i don't know what happend
help~~

Yes sir I have same issue how you solve this problem.pls help me😥😥

okey  you should use ubuntu open it

Only my LAN network can be accessed. I send the link to my friends or I use a 4G network that can't be accessed
i don't know what happend
help~~

Yes sir I have same issue how you solve this problem.pls help medisappointed_relieveddisappointed_relieved

okey you should use ubuntu open it
i also have same issue plz help

the same Tunnel 8e70616ef60f.ngrok.io not found why is not found on internet please help

the same Tunnel 8e70616ef60f.ngrok.io not found why is not found on internet please help

Download the ngrok here. https://ngrok.com/

not working i have same error please help
icant find my link on wan


Latest version pulled from repo broken

After entering a username the chat doesn't load on the latest build from this repo, it just does nothing

Only thing in console is Invalid asm.js: Unexpected token

Thanks for the issue @joeykrug!
Would you be able to provide some more details as to what steps you took to launch the app? I just pulled the latest and I'm able to run it (clone repo, npm install && npm run dev). Were there any errors while installing or building the project?
The current version is up at https://gateway.pinata.cloud/ipfs/Qmdkcm63Y5MQnPYXht3D9RQnakpgHgJSiySqFusdsPD3a5 which you can give a try without running it from this repository. Does that work ok?

Closing due to lack of response. Let us know if you've still got this, @joeykrug.


DCH not working as expected wrt. wide chars

printf "A橋123"
printf "\033[3G"
printf "\033[P"
echo

Line state should be A 123. Specifically, wide characters that are split by DCH should erase the entire wide character. I believe this is true even in your case with mode 2027 since wide chars still take up 2 cells.
~~
I was quoting @mitchellh here from a Discord thread.

This was a dup of future DCH report in #1268.


libgl-mesa meta-tegra and meta-intel-realsense

Hello,
Branch mickledore
I obtain an error when I use together meta-tegra and meta-intel-realsense to build librealsense2-graphical-examples, I obtain:
 * Solver encountered 1 problem(s):
 * Problem 1/1:
 *   - conflicting requests
 *   - nothing provides libgl-mesa needed by librealsense2-graphical-examples-2.53.1-r0.armv8a_tegra194
 *
 * Solution 1:
 *   - do not ask to install a package providing librealsense2-graphical-examples

I found a workaround by revert 4cc19319d2ff0d215203c2a599a7832cd8d7f800 in meta-tegra. Maybe you have a better solution.
Thank you in advance.

Try just dropping that libgl-mesa reference from the RDEPENDS for the examples package.  Not sure why they put it there in the first place, looks like it might be just an historical artifact.  These days, there is better support in OE-Core for GL providers other than mesa, and the build should automatically create the needed runtime dependencies based on what the examples are linking against.

This works also, thank you.


Fix @path param mapping when spreading a record in operation parameters

fix #3051

:x: There is undocummented changes. Run chronus add to add a changeset or click here.
The following packages have changes but are not documented.

:x:@typespec/http

Show changes

You can try these changes at https://cadlplayground.z22.web.core.windows.net/prs/3190/
Check the website changes at https://tspwebsitepr.z22.web.core.windows.net/prs/3190/


[Snyk] Security upgrade electron from 25.1.1 to 25.4.0

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to fix one or more vulnerable packages in the `npm` dependencies of this project.
Changes included in this PR

Changes to the following files to upgrade the vulnerable dependencies to a fixed version:

packages/core/package.json

Vulnerabilities that will be fixed
With an upgrade:

Severity
Issue
Breaking Change
Exploit Maturity

Use After Free SNYK-JS-ELECTRON-5812138
No
No Known Exploit

Use After Free SNYK-JS-ELECTRON-5812149
No
No Known Exploit

Out-of-bounds Write SNYK-JS-ELECTRON-5812567
No
No Known Exploit

Check the changes in this PR to ensure they won't cause issues with your project.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
🛠 Adjust project settings
📚 Read more about Snyk's upgrade and patch logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Use After Free

Updated in a separate PR


Add compute dispatch indirect API

Fix https://forum.babylonjs.com/t/compute-shader-indirect-dispatching/49542
Underlying API is https://developer.mozilla.org/en-US/docs/Web/API/GPUComputePassEncoder/dispatchWorkgroupsIndirect

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

Ok, how do I label this PR?

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

@Popov72 Thanks for the excellent feedback. I should have implemented it, which makes this PR ready.
I can, of course, wait until https://github.com/BabylonJS/Babylon.js/pull/14931 is merged, and then recreate this PR.

Snapshot stored with reference name:
refs/pull/14970/merge
Test environment:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/14970/merge/index.html
To test a playground add it to the URL, for example:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/14970/merge/index.html#WGZLGJ#4600
Links to test babylon tools with this snapshot:
https://playground.babylonjs.com/?snapshot=refs/pull/14970/merge
https://sandbox.babylonjs.com/?snapshot=refs/pull/14970/merge
https://gui.babylonjs.com/?snapshot=refs/pull/14970/merge
https://nme.babylonjs.com/?snapshot=refs/pull/14970/merge
To test the snapshot in the playground with a playground ID add it after the snapshot query string:
https://playground.babylonjs.com/?snapshot=refs/pull/14970/merge#BCU1XR#0

WebGL2 visualization test reporter:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/14970/merge/testResults/webgl2playwright/index.html

Visualization tests for WebGPU (Experimental)
Important - these might fail sporadically. This is an optional test.
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/14970/merge/testResults/webgpuplaywright/index.html

https://github.com/BabylonJS/Babylon.js/pull/14931 will be merged on Monday

Oh sweet, there weren't even any merge conflicts. This should be ready for merging (as soon as the pipeline is green).


s6-maximumtime: warning: child process crashed

Expected behavior
start addon
Actual behavior
[s6-init] making user provided files available at /var/run/s6/etc...exited 0.
[s6-init] ensuring user provided files have correct perms...exited 0.
[fix-attrs.d] applying ownership & permissions fixes...
[fix-attrs.d] done.
[cont-init.d] executing container initialization scripts...
[cont-init.d] 00-banner.sh: executing...
[cont-init.d] 00-banner.sh: exited 267.
[cont-finish.d] executing container finish scripts...
[cont-finish.d] 99-message.sh: executing...
s6-maximumtime: warning: child process crashed
[cont-finish.d] 99-message.sh: exited 111.
[cont-finish.d] done.
[s6-finish] waiting for services.
[s6-finish] sending all processes the TERM signal.
Steps to reproduce
Latest HassOS 2.12 on RPI Zero W and MQTT Server & Web client 1.1.0

Sorry to say it, but "RPI Zero W" is really best efforts.


Configuration support for opensubtitles credentials

Can we have support for opensubtitles credentials like we currently have for Addicted.
Right now I am hacking the code every time I install a new version to have my credential used.
Editting file Contents/Libraries/Shared/subliminal/providers/opensubtitles.py and around line #100 edit the line:
response = checked(self.server.LogIn('my-username-here', 'my-password-here', 'eng', 'subliminal v%s' % __version__.split('-')[0]))

What is the benefit of using a logged in session on OpenSubtitles instead of anonymous query?

If you are a VIP download limit is increased to 1000 subs instead of 200.
http://www.opensubtitles.org/en/support#vip
You can check status here: http://www.opensubtitles.org/addons/show_my_ip.php


rubberband: 3.3.0 -> 4.0.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/project/rubberband/versions.
meta.description for rubberband is: High quality software library for audio time-stretching and pitch-shifting
meta.homepage for rubberband is: https://breakfastquay.com/rubberband/
Updates performed

Version update

To inspect upstream changes
Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 4.0.0 with grep in /nix/store/sqmndf2kfkqxjcihrd0p6wd10zyc1rkl-rubberband-4.0.0
found 4.0.0 in filename of file in /nix/store/sqmndf2kfkqxjcihrd0p6wd10zyc1rkl-rubberband-4.0.0

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

235 total rebuild path(s)

235 package rebuild(s)

First fifty rebuilds by attrpath

adl
aider-chat
ani-cli
anilibria-winmaclinux
anime-downloader
anki
ardour
ardour_7
audiobookshelf
castero
celluloid
cplay-ng
curseradio
deepin.dde-gsettings-schemas
deepin.deepin-movie-reborn
deepin.deepin-voice-note
delfin
denemo
dmlive
dra-cla
easyeffects
escrotum
ff2mpv
ff2mpv-go
ffcast
ffmpeg-full
ffmpeg_4-full
ffmpeg_6-full
ffmpeg_7-full
ffsubsync
finamp
flet-client-flutter
flowblade
git-sim
gnomeExtensions.easyeffects-preset-selector
gonic
gruut
gtk-pipe-viewer
handbrake
haruna
hikounomizu
hydrus
hypnotix
imagination
immich
invidtui
jellyfin
jellyfin-ffmpeg
jellyfin-media-player

Instructions to test this update (click to expand)

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

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

Or:
nix build github:r-ryantm/nixpkgs/1e9ab4090ed1ec1d1816259d88904e8c5ef65c53#rubberband

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

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
nixpkgs-review took longer than 120m and timed out

Maintainer pings
cc @MarcWeber for testing.

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

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

According to https://breakfastquay.com/news/20241025.html, this is not a breaking change.

nixpkgs-review result
Generated using nixpkgs-review.


fix: signup form alignment

Description
This pull request fixes issue #309 where the signup page is misaligned with respect to the login page ui
Type of change
Bug fix (non-breaking change which fixes an issue)
Screenshot of changes

U don't need add the yarn lock lol


No module named blue_st_sdk.manager ?

I really must be missing something simple. But, following all instructions to the letter ...
TAIA.
$ echo $PYTHONPATH
/home/user/src/BlueSTSDK_Python

$ ls $PYTHONPATH
blue_st_examples  blue_st_sdk  docs  LICENSE  README.md

$ ls $PYTHONPATH/blue_st_sdk
features     manager.py  python_utils.py
feature.py        __init__.py  node.py     utils

~/src/BlueSTSDK_Python/blue_st_examples$ sudo python example_ble_1.py
Traceback (most recent call last):
  File "example_ble_1.py", line 51, in <module>
    from blue_st_sdk.manager import Manager
ImportError: No module named blue_st_sdk.manager

$ python --version
Python 2.7.13

I have exactly the same issue. But didn't find any solution until now

One hack is to move the examples so that blue_st_sdk is a sub-directory. i.e. . contains example_bly_X.py
.
├── blue_st_sdk
│   ├── features
│   │   └── standard_characteristics
│   └── utils
└── docs
    └── source

Hello g40 and NeeoKevin,
Thank you for using the BlueSTSDK.
Please note that you are running the python script as super user (because the Bluetooth requires this), so you need to set the PYTHONPATH variable of the super user. I suggest you to first become super user with the "sudo su" command, set the PYTHONPATH variable, and then run the python script.
Hope this helps.
Cheers,
Davide

Hi daviddroid
Awesome that was the root cause. Thanks a lot for your support!

Davide