Update requirements

@gilsondev Looks like the build for python 3.3 is failing because Django 1.9 started using something called find_spec which was introduced first in Python 3.4.
Here is a commit on another repo that seems to solve this exact thing: https://github.com/pinax/pinax-blog/issues/68
But they are specifying the Django versions in the env setting in the .travis.yml, which this project is not doing. Would you agree to use that way of defining this setting instead?

Yes, its is a good idea.

So, we are remove the .travis.yml the tests with Python 3.3, e verify only this versions:

Python 2.7
Python 3.4
Python 3.5

What do you think?

100% OK with me!

Travis changed.

@gilsondev Excellent, thanks, now the build passes. Ready for review.

Current coverage is 94.14%

Merging #6 into master will decrease coverage by -0.32% as of db70f5a

@@            master      #6   diff @@
======================================
  Files            7       7
  Stmts          253     256     +3
  Branches         0       0
  Methods          0       0
======================================
+ Hit            239     241     +2
  Partial          0       0
- Missed          14      15     +1

Review entire Coverage Diff as of db70f5a

Powered by Codecov. Updated on successful CI builds.


Unable to create secondary indexes

https://github.com/awslabs/dynamodb-data-mapper-js/blob/3ffe4bfb9187cf21bf87f72212526fa72172e555/packages/dynamodb-data-mapper/src/DataMapper.ts#L1284
Hey there,
I'm trying to create a table with another index, I see the following from keys:
{ SubjectIdIndex: { id: 'HASH', subjectId: 'RANGE' } }

However the options are undefined, this means when we get to indexOptions, it comes up as undefined because nothing has been passed as the options parameter.
Is there a workaround or a last working version?

I'm having the same problem I'm unable to create a local secondary index, there's nothing about secondary indexes  in the documentation and it's frustrating not fiding any information.
I'm following the example provided in this issue but I'm getting the following error
Error: No options provided for ItemIdIndex index

FYI, if you get Error: No options provided for xxx index, then you can refer to this https://github.com/awslabs/dynamodb-data-mapper-js/issues/193#issuecomment-725719594
It also got me at the beginning i.e. we need to tell the table creation script about the indexes first.


Added Save Screenshot

Pressing the MOD + Q key will save a screenshot the next time the screen is rendered.
It saves a PNG file with a date time stamp filename.
It uses lodepng to encode the file.  Thanks Lode Vandevenne (https://github.com/lvandeve/lodepng)
The save_screenshot function has been modified from user1902824 (https://stackoverflow.com/questions/34255820/save-sdl-texture-to-file)
Limitations.
If 2 screenshots are taken within the same second, the file name will be the same and the first file will be overwritten
Does not handle client side screen rotation.

Thank you for working on this. This is a feature often requested (#684), and it is not trivial.

will save a screenshot the next time the screen is rendered.

Why not the current frame immediately? (if the screen content does not change, the next frame could be sent seconds or minutes later in theory)
I have several general remarks.
This PR adds a dependency (lodepng). Scrcpy already depends on FFmpeg, which can encode images, so I'd prefer to use FFmpeg. This is far less straightforward, but this avoids a separate image encoder (I have pending work for decoding images too). Btw, since the input picture is already compressed (it comes from a H.264 stream), it would be better to save it to JPG than PNG (lossless is unnecessary on a lossy input).
Also, encoding a picture takes time: it should not be done on the UI thread, but on a separate thread.
I think that it would be more straightforward to encode the content of the decoded frame (the rendering frame in struct video_buffer, which would need to be refcounted), rather than to retrieve the SDL texture content (moreover, it's in YUV, which is the native JPEG format). Even semantically, in theory we could want to capture a screenshot even if we don't display the frame on screen.
Regards

Thank you for working on this. This is a feature often requested (#684), and it is not trivial.

will save a screenshot the next time the screen is rendered.

Why not the current frame immediately? (if the screen content does not change, the next frame could be sent seconds or minutes later in theory)
I have several general remarks.
This PR adds a dependency (lodepng). Scrcpy already depends on FFmpeg, which can encode images, so I'd prefer to use FFmpeg. This is far less straightforward, but this avoids a separate image encoder (I have pending work for decoding images too). Btw, since the input picture is already compressed (it comes from a H.264 stream), it would be better to save it to JPG than PNG (lossless is unnecessary on a lossy input).
Also, encoding a picture takes time: it should not be done on the UI thread, but on a separate thread.
I think that it would be more straightforward to encode the content of the decoded frame (the rendering frame in struct video_buffer, which would need to be refcounted), rather than to retrieve the SDL texture content (moreover, it's in YUV, which is the native JPEG format). Even semantically, in theory we could want to capture a screenshot even if we don't display the frame on screen.
Regards

Also came here to add that instant screenshot would be amazing to add. It's probably the only feature missing from this amazing program at the moment.

If I press a key mod + Q, it doesn't take a screenshot. What could be the reason? My version: scrcpy v1.17 on Jan 2.

If I press a key mod + Q, it doesn't take a screenshot. What could be the reason? My version: scrcpy v1.17 on Jan 2.

This PR has not been merged. You can build scrcpy based on this PR manually to include this feature.

Can you help me with how I can do it? I'd be grateful for.

Can you help me with how I can do it? I'd be grateful for.
You will need to build scrcpy from my PR.
If you like you can build it from my fork here https://github.com/Spudmn/scrcpy/tree/Added_Save_Screenshot
Please note that I do not have time to maintain this fork.  It worked for what I needed, maybe it will work for you.

If I press a key mod + Q, it doesn't take a screenshot. What could be the reason? My version: scrcpy v1.17 on Jan 2.

This PR has not been merged. You can build scrcpy based on this PR manually to include this feature.

How we can build with this PR?


Response body is empty

After using withPath() method from class GuzzleHttp\Psr7\Uri for generating uri to API request,  response return empty body.
For example i try to call this API request from laravel-shopify package:
ShopifyApp::shop()->api()->request('GET', 'admin/themes/33141915714/assets.json?asset[key]=layout/theme.liquid&theme_id=33141915714')
In postman its return me asset object correctly. From laravel-shopify package, its return empty object to me. I try to find out a reason and it was because of withPath() method, which is called from rest() method in BasicShopifyAPI class.
Param which are pasting to withPath() method, in this case admin/themes/33141915714/assets.json?asset[key]=layout/theme.liquid&theme_id=33141915714, are replace by admin/themes/33141915714/assets.json%3Fasset%5Bkey%5D=layout/theme.liquid&theme_id=33141915714 because of rawurlencode() function inside of GuzzleHttp\Psr7\Uri class. Some characters are replaced by %3F or %5B, etc.
Final uri, in this case https://store.myshopify.com/admin/themes/33141915714/assets.json%3Fasset[key]=layout/theme.liquid&theme_id=33141915714, return empty body.

The 3rd param is meant for querying.
$result = $api->rest(
  'GET',
  'admin/themes/33141915714/assets.json',
  ['asset' => ['key' => 'layout/theme.liquid', 'theme_id' => '33141915714']]
);

echo $result->body->asset->key . PHP_EOL;
echo $result->body->asset->created_at . PHP_EOL;

On my testcase I get a response of:
layout/theme.liquid
2017-12-18T12:15:07-05:00

For the above.

Closing for inactivity. Feel free to re-open if you have more insight.


Lab2

#42
######## Bubble Sort implementation:
Create an executable go program in directory 02_bubble
Write a function that returns a sorted copy of int slice s using Bubble sort:
func bubble(s []int) []int
Call fmt.Println(bubble([]int{3, 2, 1, 5})) in main to print:
[1 2 3 5]
Bonus points: implement Insertion sort
Extra bonus points: implement an O(n log(n)) sorting algorithm

Codecov Report

Merging #52 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master    #52   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           2      3    +1
  Lines           9     19   +10
=====================================
+ Hits            9     19   +10

Impacted Files
Coverage Δ

0_Fib/fib.go
100% <100%> (ø)

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 3f263dc...9bf577b. Read the comment docs.


G#m tooltip doesn't work

https://pg.zachmanson.com/tab/gang-of-youths/magnolia-chords-1859470

Needs to show Ab#


Automated Package Upgrade

:tada: This PR is included in version 7.0.69 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Update for Version 10

As expected beta 0.6.1 crashes on startup on version 10 of the server.
[23:18:06.660] [17] [ Warn] [Eco] Failed to get derived types for 'Eco.World.Blocks.Block' in assembly 'EcoSmartTaxMod, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null' (usually safe to ignore for third party assembly). Error message: Unable to load one or more of the requested types.
Attempted to access a missing method.
Attempted to access a missing method.
Attempted to access a missing method.

[23:18:06.798] [4] [ Info] [Eco] Server Initialization                             ... Finished in 5.683 sec

[23:18:06.798] [24] [Error] [Eco] Failed to start the server. Exception was Exception: ReflectionTypeLoadException
Message:Unable to load one or more of the requested types.
Attempted to access a missing method.
Attempted to access a missing method.
Attempted to access a missing method.
Source:System.Private.CoreLib

System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types.
Attempted to access a missing method.
Attempted to access a missing method.
Attempted to access a missing method.
   at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
   at System.Reflection.Assembly.GetTypes()
   at Eco.Shared.Utils.ReflectionCache.<>c.<GetTypesCached>b__10_0(Assembly a)
   at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory)
   at Eco.Shared.Utils.ReflectionCache.GetTypesCached(Assembly assembly)
   at Eco.Shared.Utils.ReflectionCache.<>c.<GetGameAssembliesTypes>b__21_0(Assembly assembly)
   at System.Linq.Enumerable.SelectManySingleSelectorIterator`2.MoveNext()
   at Eco.Core.Serialization.SimpleSerializer.InitializeSerializableTypes()
   at Eco.Core.Serialization.SimpleSerializer..cctor()
System.MissingMethodException: Attempted to access a missing method.
System.MissingMethodException: Attempted to access a missing method.
System.MissingMethodException: Attempted to access a missing method.
Outer Exceptions:
One or more errors occurred. (Exception has been thrown by the target of an invocation.)
Exception has been thrown by the target of an invocation.
One or more errors occurred. (The type initializer for 'Eco.Core.Serialization.SimpleSerializer' threw an exception.)
The type initializer for 'Eco.Core.Serialization.SimpleSerializer' threw an exception.

[23:18:11.804] [24] [ Info] [Eco] Shutdown finished

[23:18:11.804] [24] [Error] [Eco] Errors report:
Failed to get derived types for 'Eco.World.Blocks.Block' in assembly 'EcoSmartTaxMod, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null' (usually safe to ignore for third party assembly). Error message: Unable to load one or more of the requested types.
Attempted to access a missing method.
Attempted to access a missing method.
Attempted to access a missing method.: 1
Failed to start the server. Exception was Exception: ReflectionTypeLoadException
Message:Unable to load one or more of the requested types.
Attempted to access a missing method.
Attempted to access a missing method.
Attempted to access a missing method.
Source:System.Private.CoreLib

System.Reflection.ReflectionTypeLoadException: Unable to load one or more of the requested types.
Attempted to access a missing method.
Attempted to access a missing method.
Attempted to access a missing method.
   at System.Reflection.RuntimeModule.GetTypes(RuntimeModule module)
   at System.Reflection.Assembly.GetTypes()
   at Eco.Shared.Utils.ReflectionCache.<>c.<GetTypesCached>b__10_0(Assembly a)
   at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory)
   at Eco.Shared.Utils.ReflectionCache.GetTypesCached(Assembly assembly)
   at Eco.Shared.Utils.ReflectionCache.<>c.<GetGameAssembliesTypes>b__21_0(Assembly assembly)
   at System.Linq.Enumerable.SelectManySingleSelectorIterator`2.MoveNext()
   at Eco.Core.Serialization.SimpleSerializer.InitializeSerializableTypes()
   at Eco.Core.Serialization.SimpleSerializer..cctor()
System.MissingMethodException: Attempted to access a missing method.
System.MissingMethodException: Attempted to access a missing method.
System.MissingMethodException: Attempted to access a missing method.
Outer Exceptions:
One or more errors occurred. (Exception has been thrown by the target of an invocation.)
Exception has been thrown by the target of an invocation.
One or more errors occurred. (The type initializer for 'Eco.Core.Serialization.SimpleSerializer' threw an exception.)
The type initializer for 'Eco.Core.Serialization.SimpleSerializer' threw an exception.
: 1

Fixed in beta 0.7.0


MuJoCo as Jax callback.

Hi,
I'm working on including MuJoCo in Jax using external callbacks, the endgoal being a fully jittable / vmappable episode generation (MJX doesn't support everything we use (yet :-)). I've a basic version working nicely, and all my tests pass, but I'd like some clarification on a few points:

32 vs 64 bit precision: Is the 64 bit precision due to numpy default 64 bit? Or is it required for the dynamics? I couldn't find anything related to this in MJX or MuJoco code, so my guess is the former, but confirmation would be nice!
Do I understand correctly that mujoco.mjtState.mjSTATE_INTEGRATION contains everything required to do fully deterministic calculations? I.e. instead of working with mjData, I can achieve the same with (a pytree of) mjSTATE_INTEGRATION?

Thanks!

Hi @GJBoth

64 bit is not required to achieve good dynamics.  MuJoCo has a little-advertised feature - it can be compiled as 32 bit: https://mujoco.readthedocs.io/en/stable/APIreference/APItypes.html#mjtnum

Yes, your understanding is correct.  mjSTATE_INTEGRATION defines all state needed for any public MuJoCo function to yield a valid result.

If you decide to publish your MuJoCo-Jax integration, please do let us know.


About Checkpoint

Hello,
Is it possible to share 4x acceleration knee checkpoint ? I want to compare it with ensemble methods and prospective other tasks.
Thanks,

The training for both 4x and 8x accelerations is currently in progress. I plan to finish this training and release the checkpoint in one week.

Hello,
Did you finish training for 4x and 8x ?
Best,

Hi @kimm51 ,  I just uploaded the model. see here.

Thank you very much!


Unable to use the resolver on MacOS since publishing of the version 0.1.0

Since upgrading to the latest pygmy images a couple of weeks ago, none of the URLs set through the amazeio network cannot resolve DNS.
I was able to narrow this down to the following pygmy configuration that allowed me to isolate this particular image:
# This config leads to not working.
---
services:
  amazeeio-haproxy:
    image: pygmystack/haproxy:v0.0.1
  amazeeio-ssh-agent:
    image: pygmystack/ssh-agent:v0.0.1
  amazeeio-dnsmasq:
    image: pygmystack/dnsmasq:v0.1.0
  amazeeio-mailhog:
    image: pygmystack/mailhog:v0.0.1

Looking at the changes between this image versions: https://github.com/pygmystack/dnsmasq/compare/v0.0.1...v0.1.0#diff-dd2c0eb6ea5cfc6c4bd4eac30934e2d5746747af48fef6da689e85b752f39557R3
Looks like dnsmasq-dnssec was updated from 2.85 to 2.90
Here is a link to the changelog: https://thekelleys.org.uk/dnsmasq/CHANGELOG

System information report

OPERATING SYSTEM
ProductName:            macOS
ProductVersion:         14.4
BuildVersion:           23E214

DOCKER
Path to binary: /usr/local/bin/docker
Docker version 25.0.3, build 4debf41
Client:
 Version:    25.0.3
 Context:    desktop-linux
 Debug Mode: false
 Plugins:
  buildx: Docker Buildx (Docker Inc.)
    Version:  v0.12.1-desktop.4
    Path:     /Users/o_o/.docker/cli-plugins/docker-buildx
  compose: Docker Compose (Docker Inc.)
    Version:  v2.24.6-desktop.1
    Path:     /Users/o_o/.docker/cli-plugins/docker-compose
  debug: Get a shell into any image or container. (Docker Inc.)
    Version:  0.0.24
    Path:     /Users/o_o/.docker/cli-plugins/docker-debug
  dev: Docker Dev Environments (Docker Inc.)
    Version:  v0.1.0
    Path:     /Users/o_o/.docker/cli-plugins/docker-dev
  extension: Manages Docker extensions (Docker Inc.)
    Version:  v0.2.22
    Path:     /Users/o_o/.docker/cli-plugins/docker-extension
  feedback: Provide feedback, right in your terminal! (Docker Inc.)
    Version:  v1.0.4
    Path:     /Users/o_o/.docker/cli-plugins/docker-feedback
  init: Creates Docker-related starter files for your project (Docker Inc.)
    Version:  v1.0.1
    Path:     /Users/o_o/.docker/cli-plugins/docker-init
  sbom: View the packaged-based Software Bill Of Materials (SBOM) for an image (Anchore Inc.)
    Version:  0.6.0
    Path:     /Users/o_o/.docker/cli-plugins/docker-sbom
  scout: Docker Scout (Docker Inc.)
    Version:  v1.5.0
    Path:     /Users/o_o/.docker/cli-plugins/docker-scout
WARNING: Plugin "/Users/o_o/.docker/cli-plugins/docker-scan" is not valid: failed to fetch metadata: fork/exec /Users/o_o/.docker/cli-plugins/docker-scan: no such file or directory

Server:
 Containers: 4
  Running: 4
  Paused: 0
  Stopped: 0
 Images: 4
 Server Version: 25.0.3
 Storage Driver: overlay2
  Backing Filesystem: extfs
  Supports d_type: true
  Using metacopy: false
  Native Overlay Diff: true
  userxattr: false
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Cgroup Version: 2
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local splunk syslog
 Swarm: inactive
 Runtimes: io.containerd.runc.v2 runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: ae07eda36dd25f8a1b98dfbf587313b99c0190bb
 runc version: v1.1.12-0-g51d5e94
 init version: de40ad0
 Security Options:
  seccomp
   Profile: unconfined
  cgroupns
 Kernel Version: 6.6.16-linuxkit
 Operating System: Docker Desktop
 OSType: linux
 Architecture: aarch64
 CPUs: 10
 Total Memory: 47.22GiB
 Name: docker-desktop
 ID: e0e4dcf7-742c-44b7-ad10-9f1fd4b7a3bd
 Docker Root Dir: /var/lib/docker
 Debug Mode: false
 HTTP Proxy: http.docker.internal:3128
 HTTPS Proxy: http.docker.internal:3128
 No Proxy: hubproxy.docker.internal
 Experimental: false
 Insecure Registries:
  hubproxy.docker.internal:5555
  <IP_ADDRESS>/8
 Live Restore Enabled: false

WARNING: daemon is not using the default seccomp profile

DOCKER COMPOSE V2
Docker Compose version v2.24.6-desktop.1

DOCKER-COMPOSE V1
Path to binary: /usr/local/bin/docker-compose
Docker Compose version v2.24.6-desktop.1

PYGMY
Path to binary: /opt/homebrew/bin/pygmy
Using config file: /Users/o_o/.pygmy.yml
Pygmy version vv0.12.0

AHOY
Path to binary: /usr/local/bin/ahoy
2.0.2

Tried with ghcr.io/pygmystack/dnsmasq:pr-21 dnsmasq 2.86 and have confirmed that this version is the issue.


python312Packages.jinja2-strcase: init at 0.0.2

Description of changes
Adds the jinja2-strcase Python package. Please note that there are no tests to run for the package.
Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[ ] Fits CONTRIBUTING.md.

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

First attempt at a Python package. I assume this doesn't need a release notes entry.

@ofborg build python312Packages.jinja2-strcase
Ideally the commit message would also start with that.

Please squash all commits, then I can merge.

Please squash all commits (commit message like PR title), then I can merge.

Done, thank you.


Update govuk-frontend base SCSS imports

What
Clean up govuk_frontend_support.scss
Why
It's recommended to import base instead of settings, tools, helpers since govuk-frontend 3.7.0
The FCDO colour is already available since govuk-frontend 3.9.0
Note
In govuk-frontend 4.0.0 we won't be able to import core and overrides without base, which means that our component_support.scss must import govuk_frontend_support.scss by default instead of doing it separately/optionally at the app level.
Visual Changes
No visual changes

Nice change. I'm hoping that base adds no CSS weight?

Nice change. I'm hoping that base adds no CSS weight?

base is virtually the same with settings, tools, helpers which is why there was no rush with this change, but 4.0.0 is getting close.


FR: can we have a timer that show elapsed time ?

This can give user a better visibility on how many hours or minutes he is using uProxy . This can also be stopped when the proxying connection is broken .

after having a chat with @iislucas  one possible place we can show timer ( see the attached screenshot )
@zahoriea @dborkan

This seems a bit related to wanting to also show the users connection
status, speed, total bytes sent/received, etc:
https://github.com/uProxy/uproxy/issues/16.  I think we would want to put
all this information in one place
On Tue Feb 10 2015 at 6:00:13 PM klazizpro<EMAIL_ADDRESS>wrote:

after having a chat with @iislucas https://github.com/iislucas one
possible place we can show timer ( see the attached screenshot )
@zahoriea https://github.com/zahoriea @dborkan
https://github.com/dborkan
[image: 7ae51292-ae57-11e4-9870-b943042b9bfb]
https://cloud.githubusercontent.com/assets/1900042/6139198/de356890-b156-11e4-9f83-3767f6135074.png
—
Reply to this email directly or view it on GitHub
https://github.com/uProxy/uproxy/issues/855#issuecomment-73810807.

@zahoriea  thoughts ?

Have we decided on which of this information to show?
If it's just time, I'm happy putting it in the status section (e.g. "Sharing access with Bob Uproxy for 3min"). However if we're showing speed, total bytes sent/received, etc we need a bigger space to accommodate it

I think using the black status bar for "Sharing access with Bob Uproxy for
3min" would look a little weird if sharing with multiple people (they would
all have different times).  Maybe we would want some detailed status view
(like a larger section if you click on the black status bar) that shows all
the advance stuff we want including times, amount or speed of data
transferred, etc
On Thu, Feb 26, 2015 at 12:59 PM, Izzie Zahorian<EMAIL_ADDRESS>wrote:

Have we decided on which of this information to show?
If it's just time, I'm happy putting it in the status section (e.g.
"Sharing access with Bob Uproxy for 3min"). However if we're showing speed,
total bytes sent/received, etc we need a bigger space to accommodate it
—
Reply to this email directly or view it on GitHub
https://github.com/uProxy/uproxy/issues/855#issuecomment-76229774.

Hi guys,
Here is my recommendation on where to include all bits of info pertaining to the user's connection:

I think this covers off nicely on the use case that you may be sharing access with several users at once. The black status bar is reserved for high level activity, and users can refer to their contacts list to view more info about connectivity or revoke access.
Feedback welcome!


Update package version

4.0.0 (2024-01-30)
Bug Fixes

annotation: update utils (42f312a)
annotation: update utils version (2316dc1)
audio-annotator-react: ctrl + space => ctrl + z for undoing (55b491c)
audio-annotator-react: simplify redo undo (5490daf)
audio-annotator-react: update sidebar style (615a8e9)
components-react: add offsetTop (b908960)
components-react: add offsetTop (36acf2f)
components-react: update annotator static bar style (e42c1d8)
components-react: update label modal field title (f45c783)
components-react: update Toolbar border style (4bcf0e7)
frontend: add gap to the footer buttons (e798523)
frontend: convert image config on previewing (7257ea4)
frontend: fix global tools default value (9315dd5)
frontend: fix layout in preview (b35c26c)
frontend: fix padding in sidebar (5af53c7)
frontend: fix skip style (f09723e)
frontend: fix undefined of config alert (82886f5)
frontend: remove max-height in tool select (4605308)
frontend: sidebar height overflow (26def74)
frontend: support jpeg in image annotating (837c1ce)
frontend: sync online (17ae4e3)
frontend: update cuboid text (5b2900b)
frontend: update fancy form for edgeAdsorptive (7860f47)
frontend: update onError callback (8c517d8)
frontend: update sidebar style (c2f55d4)
frontend: update text in jpeg (732f103)
frontend: update upload style (28331cc)
frontend: 更新analyze测试token (7b021df)
frontend: 立体框 => 3D 立体框 (a89bfd7)
hollow point -> solid point (7ca67d5)
image-annotator-react: add confirm on clear (2a2b1a2)
image-annotator-react: add custom clear confirm (a6892f7)
image-annotator-react: add onError callback (5ae367a)
image-annotator-react: clear last attributes when number shortcut is pressed (11c70dd)
image-annotator-react: ctrl + space => ctrl + z for undoing (15a4b35)
image-annotator-react: disable mask and coco export type in cuboid tool (107ff39)
image-annotator-react: fix annootation selected style (2e5b7dd)
image-annotator-react: fix hotkeys for rotating and label switching (79d51a1)
image-annotator-react: fix initialized tool in annotator (6ac0839)
image-annotator-react: fix the attribute modify (68bec5d)
image-annotator-react: fix types (0bfc077)
image-annotator-react: fix types (67a1a3d)
image-annotator-react: fix types (29c7511)
image-annotator-react: fix wrapper classname (07a75bb)
image-annotator-react: move background config to the footer bar (c7f834f)
image-annotator-react: moveEnd -> change event (04c46e3)
image-annotator-react: refresh annotations when sample is changed (6cfa417)
image-annotator-react: remove console.log (aa5d988)
image-annotator-react: remove console.log (94c7f88)
image-annotator-react: update annotator style (cb2cc76)
image-annotator-react: update border style (fa9b041)
image-annotator-react: update cuboid text (7e8dde7)
image-annotator-react: update toolbar style (9a5dad6)
image-annotator-react: use backgroundImageLoaded event instead of load event to switch first tool (e4aa235)
image: add static member BACKGROUND_COLOR to the BackgroundRenderer (493cabe)
image: add value field to error payload (3185a8e)
image: cancel drawing when key esc is pressed (034fc5f)
image: destory drawing shapes when tool is changed (730ab66)
image: fix add event order (89e0e09)
image: fix cuboid draft safe zone (b72f249)
image: fix cuboid safe zone (1b79b1e)
image: fix duplicated rbush item (a9e64dc)
image: fix horizontal and vertical line in shift mode (6b8ed79)
image: fix labelChange event payload (896234c)
image: fix rect draft safe zone (650de7e)
image: keep cuboid in safe zone when outOfImage is off (e495805)
image: line edgeAdsorptive enabled (c464ec7)
image: make text clear (df12a91)
image: moveEnd -> change event (bb77cb4)
image: only emit tool or label change event if the label or tool is changed (c43f05d)
image: remove backgroundColor field in Annotation params (140f220)
image: remove global variables (b5e120c)
image: render text via offscreen canvas since fillText is too slow in firefox (83b2d35)
image: sketch public member (d68d3f0)
image: spline should converts coordinates when initialized (3627d3b)
image: trigger change event after attributes are changed (acb444a)
image: update change event trigger on attributes updated (60b2fab)
image: update cuboid stroke color (93b23e8)
image: update readme (81d698e)
image: update select logic (7f46833)
image: update text style (91c122b)
image: update the sketch style when current tool label is changed (2dd0486)
interface: remove labelu image deps (c8ad4d3)
Update analyze.ts (c80cf50)
upgrade to the analyze token (18f7b71)
video-annotator-react: simplify redo undo (324ebe5)
website: label-u -> labelu (10dcf76)
workspace: update readme (cc2ff69)

Features

frontend: add task tooltip (5a6db34)
frontend: 接入AnalyzeWiz埋点工具 (dea3925)
image: add backgroundImageLoaded event (ef6ae08)
image: add image annotator engine (38f3945)

BREAKING CHANGES

image: redesigned image annotation engine

:tada: This PR is included in version 4.1.0-online.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.3.1-alpha.1 :tada:
The release is available on npm package (@alpha dist-tag)
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.3.1-alpha.1 :tada:
The release is available on npm package (@alpha dist-tag)
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.2.4-alpha.1 :tada:
The release is available on npm package (@alpha dist-tag)
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.0.1-alpha.1 :tada:
The release is available on npm package (@alpha dist-tag)
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 4.0.1-alpha.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.0.1 :tada:
The release is available on npm package (@latest dist-tag)
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.3.1 :tada:
The release is available on npm package (@latest dist-tag)
Your semantic-release bot :package::rocket:

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


Add a hotkey for quick-switching to the next keyboard

Based on the discussion in #553, an idea popped up to add a new hotkey for switching directly to the next active keyboard, to speed up switching. Currently, the Change Keyboard key displays a list of all keyboards from which the user can select the desired one, even if there are only two. But the later takes several clicks + time to read and find the next keyboard.
Requirements:

Add a Next Keyboard function. On API >= 28 we can use InputMethodService.switchToNextInputMethod(false), and on older devices: InputMethodService.switchInputMethod("NEXT_KEYBOARD_ID"), assuming we have obtained the next keyboard ID from InputMethodManager.getEnabledInputMethodList()
Add a Next Keyboard hotkey + translations, for devices with physical keys
On the virtual keyboard, sliding the Input Mode key to either direction, selects the next keyboard.

Upvote & Fund

The repository is using Polar.sh so you can upvote and help fund this issue.
The funding is received once the issue is completed & confirmed by you.
Thank you in advance for helping prioritize & fund the backlog.

@maverick74, I am not entirely sure about your idea. Does sliding the "keyboard" key to both directions make sense?

@maverick74, I am not entirely sure about your idea.

That was just an idea! In fact unexpected uses right-up slide, which I think it's kind of difficult to get! That's why I mentioned sliding right
Does sliding the "keyboard" key to both directions make sense?
If you mean sliding to either right or left it makes sense! If you mean having to slide right and then left, not that much!

If you mean sliding to either right or left it makes sense!

Exactly.
Alright, let's do it as described.


Hide TablePagination arrows when not needed

When the number of items is less than the items per page and the user is on the first page, arrows for paging are not needed as they are disabled and don't do anything. If preferred, a prop could be passed in to hide instead of disable the arrows as desired.

[x] This is not a v0.x issue.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior 🤔

When the number of items is less than the items per page and the user is on the first page, arrows for paging are not needed as they are disabled and don't do anything.
Current Behavior 😯

Arrows are disabled but still show
Examples 🌈

https://material-ui.com/demos/tables/
Custom Table Pagination Action example and select 25 items per page
Context 🔦

I want to be able to hide the arrows when I don't need them

@Avd6977 Did you try to customize the action? You have an example in https://material-ui.com/demos/tables/#custom-table-pagination-action?

I used the code sandbox on that example and was able to conditionally hide like I was discussing. Wouldn't I have to then define all of the buttons then instead of just using the default  then, though?

@Avd6977 If you have created a new ActionsComponent component and you don't want to have to repeat it, you can either create a wrapper component or inject a default prop with the theme.

Ok, it looks like that will be a good workaround for what we're trying to do. Thanks!

@oliviertassinari Thank you, this gets me a little further on my issue.
Would you have guidance on how I could get the disable to occur when the page is already rendered?
My use case is that I am displaying the TablePagination allow with a set of Accordions.
When I paginate up to a certain point, I trigger a fetch to happen to pull back more data, and during that loading time, there is no accordions for a short period.
During that time, I want to prevent the user from clicking paginate again until the fetch comes back, but the boolean state value I'm using to toggle the disable never gets applied when I set it in the useEffect hook since the page is already rendered at that point.
I'm trying to get around that race condition and set the toggle state. Is there a way I can access an onClick prop to do this or another alternative you may suggest? Thanks for your time as always.

@oliviertassinari As soon as I sent this to you, I figured out at least a way to get it to work, without messing around with hooks or an onClick override.
It's not the prettiest but I essentially just passed an inline expression into the prop that sets a boolean value based on the dataset size and the current pagination values. Putting it here in case others are looking for options.
nextIconButtonProps={ {disabled: (page * rowsPerPage) >= resultSet.length ? true : false }  }

=> StackOverflow


Why use the 'State' nomenclature?

What is the question:
Why make use of the 'State' nomenclature?

DISACLAIMER: I'm not a native english speaker, as you probably have realized by now, so the following might be biased by my partial knowledge of the language.
The way is see it, a state is the same as google's define, which IMHO does not really apply to it.

the particular condition that someone or something is in at a specific time.

I personally use the 'State' word in my code when describing the condition of an object, for example: SalesOrder.State.
In this case, I would be prefer, for ubiquitousness purpose, to be able to have something like:
class WorkflowInstance
{

   WorkflowDefinition Definition { get; }

    WorkflowState State { get; }

    Step Step { get; }

    Step[] Steps { get; }

}

class Step
{

    StepDefinition Definition { get; }

    WorkflowState State { get; }

   ...
}

enum WorkflowState
{
   Pending,
   Executing,
   Suspended,
   Executed,
   Faulted,
   TimedOut
}

... which would be MUCH more ubiquitous and less confusing IMHO:
var workflow = GetMyRunningWorkflow(myInstanceId);
Console.WriteLine($"The workflow '{workflow.Definition.Name}' is in state '{workflow.State}' and its current step is '{workflow.Step.Definition.Name}'");

... than:
var workflow = GetMyRunningWorkflow(myInstanceId);
Console.WriteLine($"The workflow '{workflow.Definition.Name}' is in status '{workflow.Status}' and its current state is '{workflow.State.Definition.Name}'");

What do you guys think?

@Neuroglia it is not a "stupid" question at all, and yes we had and have ongoing discussions about this.
We had requests for "step", "task", and also for keeping the current "state" nomenclature.
Let's bring this up in one of our next meetings again and discuss.
@manuelstein I know you have been very active in this area - would you mind giving us your opinion on this please? Also, can we add this onto our agenda for one of our next meets?

Hi, that's indeed a design decision taken a while ago. The Serverless Workflow Language (SWL) describes a state chart, hence states.
Each execution of a Serverless Workflow has workflow data associated with it that is passed on during execution. The idea of the state chart is to have only one state control the workflow data at a time.
Tasks can be often various graphs and linked for order, but in principle allow the bag-of-task scheduler to run tasks concurrently.
Steps is similar to states in that they're typically taken one at a time, but AFAIU they typically lack a shared context. I'm actually missing related work that uses steps for a proper comparison.
State charts are well-known from the OMG UML equivalent.

@Neuroglia @manuelstein thanks for all the info here. Let me know if this issue can be closed.

@tsurdilo From where I stand, I believe you can close it, my question was perfectly answered!


Python3 migration and repackage LMC base classes

Repo migrated to version Python3.5
Repackaged the base classes into single python package
Fixed some failing unit test cases
Contains source code for documentation generation but its not functional.

Migration to Python3 is done.
Repackaging into single package is done.
Documentation on readthedocs is done. Current documentation format will be improved subsequently. Also some docstrings will be improved.


Errors installing it

Got npm installed on ubuntu 14.04
gyp ERR! command
"/home/vodeoo/.meteor/packages/meteor-tool/.1.4.2_3.17tso1e++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node"
"/home/vodeoo/.meteor/packages/meteor-tool/.1.4.2_3.17tso1e++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js"
"rebuild"
gyp ERR! cwd
/tmp/mt-1du7t2c/npm/node_modules/.temp-rbrd9b/node_modules/bcrypt
gyp ERR! node -v v4.6.2
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
npm ERR! Linux 3.13.0-105-generic
npm ERR! argv
"/home/vodeoo/.meteor/packages/meteor-tool/.1.4.2_3.17tso1e++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node"
"/home/vodeoo/.meteor/packages/meteor-tool/.1.4.2_3.17tso1e++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/npm"
"rebuild" "--update-binary"
npm ERR! node v4.6.2
npm ERR! npm  v3.10.9
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the bcrypt package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project
with:
npm ERR!     npm bugs bcrypt
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls bcrypt
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!     /tmp/mt-1du7t2c/npm/node_modules/.temp-rbrd9b/npm-debug.log
=> Your application has errors. Waiting for file change.

then from cloning it
/build/programs/server/boot.js:128:5
W20161208-00:59:19.750(-5)? (STDERR)     at     /home/vodeoo/Telescope/.meteor/local/build/programs/server/boot.js:344:5
=> Exited with code: 1
=> Your application is crashing. Waiting for file change.

The babel-runtime npm package could not be found in your node_modules
directory.
If it can't find the babel-runtime, that means you don't have the node modules installed. So after cloning it from git, do you npm install again 👍

You may have another warning when starting the app due to meteor/npm about bcrypt native/js, you'll be able to solve it by specifying explicitly using the Meteor's node versionmeteor npm install bcrypt

now this:
Your app is crashing. Here's the latest log:
/home/vodeoo/.meteor/packages/meteor-tool/.1.4.2_3.17tso1e++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/server-lib/node_modules/fibers/future.js:280
throw(ex);
^
Error: Can't find npm module 'juice'. Did you forget to call 'Npm.depends' in package.js within the 'modules-runtime' package?
at Object.require (/home/vodeoo/Telescope/.meteor/local/build/programs/server/boot.js:200:17)
at options.fallback (packages/modules-runtime.js:445:18)
at Module.require (packages/modules-runtime.js:112:16)
at Module.Mp.import (/home/vodeoo/.meteor/packages/modules/.<IP_ADDRESS>m2ukcu++os+web.browser+web.cordova/npm/node_modules/reify/lib/runtime.js:70:16)
at meteorInstall.node_modules.meteor.nova:email.lib.server.email.js (/home/vodeoo/Telescope/.meteor/local/build/programs/server/packages/nova_email.js:94:288)
at fileEvaluate (packages/modules-runtime.js:181:9)
at Module.require (packages/modules-runtime.js:106:16)
at Module.Mp.import (/home/vodeoo/.meteor/packages/modules/.<IP_ADDRESS>m2ukcu++os+web.browser+web.cordova/npm/node_modules/reify/lib/runtime.js:70:16)
at meteorInstall.node_modules.meteor.nova:email.lib.server.js (packages/nova:email/lib/server.js:1:1)
at fileEvaluate (packages/modules-runtime.js:181:9)
Exited with code: 1
Your application is crashing. Waiting for file change.

ok did meteor npm install --save bcrypt and meteor npm install --save juice and it worked


Get openshift cluster accepted versions.

feat: add functionality to parse OpenShift release URL and retrieve accepted cluster versions
The changes in this commit add the following functionality:

Added imports for necessary libraries: functools, requests, BeautifulSoup, and semver
Created a cache decorator for the functions parse_openshift_release_url and get_accepted_cluster_versions
Implemented the function parse_openshift_release_url to scrape the OpenShift release URL and return a list of table rows
Implemented the function get_accepted_cluster_versions to parse the table rows and return a dictionary of accepted cluster versions categorized by stability and pre-release type
Added a main block to test the get_accepted_cluster_versions function
Updated the dependencies in the pyproject.toml file to include beautifulsoup4, requests, and semver with their respective versions

These changes were made to enhance the functionality of the OpenShift client by allowing it to retrieve and display the accepted cluster versions

Report bugs in Issues
The following are automatically added:

Add reviewers from OWNER file (in the root of the repository) under reviewers section.
Set PR size label.
New issue is created for the PR. (Closed when PR is merged/closed)
Run pre-commit if .pre-commit-config.yaml exists in the repo.

Available user actions:

To mark PR as WIP comment /wip to the PR, To remove it from the PR comment /wip cancel to the PR.
To block merging of PR comment /hold, To un-block merging of PR comment /hold cancel.
To mark PR as verified comment /verified to the PR, to un-verify comment /verified cancel to the PR.
verified label removed on each new commit push.
To cherry pick a merged PR comment /cherry-pick <target branch to cherry-pick to> in the PR.

Multiple target branches can be cherry-picked, separated by spaces. (/cherry-pick branch1 branch2)
Cherry-pick will be started when PR is merged

To build and push container image command /build-and-push-container in the PR (tag will be the PR number).
To add a label by comment use /<label name>, to remove, use /<label name> cancel

Supported /retest check runs

/retest python-module-install: Retest python-module-install

Supported labels

hold
verified
wip
lgtm

/retest python-module-install

/verified


outdated download link for of CQD PowerBI templates

The link for Download on first sentence:
"You'll need to install the Microsoft Call Quality connector for Power BI, using the MicrosoftCallQuality.pqx file included in the download. "
has a link to an outdated repo of the CQD PowerBI templates.
Instead, it should point to https://www.microsoft.com/en-us/download/confirmation.aspx?id=102291
please update this link :)
thx!

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 067e8376-df94-9a44-5263-cd1fc84879bf
Version Independent ID: 924240c8-52c5-42db-36b8-28751f838784
Content: Install Power BI Connector to use CQD query templates - Microsoft Teams
Content Source: Teams/CQD-Power-BI-connector.md
Service: msteams
GitHub Login: @CarolynRowe
Microsoft Alias: crowe

To make it easier for you to submit feedback on articles on learn.microsoft.com, we're transitioning our feedback system from GitHub Issues to a new experience.
As part of the transition, this GitHub Issue will be moved to a private repository. We're moving Issues to another repository so we can continue working on Issues that were open at the time of the transition. When this Issue is moved, you'll no longer be able to access it.
If you want to provide additional information before this Issue is moved, please update this Issue before December 15th, 2023.
With the new experience, you no longer need to sign in to GitHub to enter and submit your feedback. Instead, you can choose directly on each article's page whether the article was helpful. Then you can then choose one or more reasons for your feedback and optionally provide additional context before you select Submit.
Here's what the new experience looks like.
Note: The new experience is being rolled out across learn.microsoft.com in phases. If you don't see the new experience on an article, please check back later.
First, select whether the article was helpful:

Then, choose at least one reason for your feedback and optionally provide additional details about your feedback:

Article was helpful
Article was unhelpful

Finally, select Submit and you're done!


[BUG] No Correct roll modifiers

I've had this issue. However, when you roll skills with these incorrect modifiers, the actual roll doesn't include the preexisting circumstance bonuses unless you select them in the dialog box, like it's supposed to.

Complete rewrite of the module done - I can't promise it's perfect but it's much much better at finding the right modifiers now.


Default theme

Hi, how can I set default theme again? I can just delete spicetify, but I need it for lyrics

Run spicetify restore

Just registering another solution. You can leave the current_theme blank in the configuration file:
current_theme           =

Then run:
spicetify apply


why is localhost etcd http?

I was trying to get things working and the interaction of etcdctl and the mix of http on local host and https on my non localhost ips is problematic, setting up things for http and I get redirected to non localhost from localhost where it dies and setting it up for https means the default ip does not work.  Is there a reason for this that I missed? It works much better when everything is https on a controller node

Ideally everything should work if you use the instance internal IP. Localhost is enable for running etcdctl on the local machines -- going for ease of use.

fwiw, I use https on both listen addresses (localhost and my internal IP) and with the appropriate environment variables in ~/.bashrc it's no hassle to use etcdctl.
export ETCDCTL_API=3
export ETCDCTL_ENDPOINTS="https://<IP_ADDRESS>:2379"
export ETCDCTL_CACERT="/etc/etcd/ca.pem"
export ETCDCTL_CERT="/etc/etcd/client.pem"
export ETCDCTL_KEY="/etc/etcd/client.key"

Unrelated, I also run etcd under an unprivileged user and group. Trying to be as secure as I can wherever I can.

@tokiwinter No doubt! I'm going to do a big security update in the coming week of this entire guide.


Json files are empty

Hi.
I had the problem that the json files after pull stay empty.
I checked everything and debugged the script.
The only thing I could fix ist was to replace the line 123
${CURL_BASE_CMD}${1} | jq '.' > $2

with a direct call of curl:
curl -u "$USERNAME":"$PASSWORD" -Ss "http://$HOSTNAME:$APIPORT/api$1" | jq '.' > $2

Don't know what the reason was, but now with " instead of ' and without ${} and wrap the url with " everything works.
Tried to put everything in the CURL_BASE_CMD var, but no success.
Maybe this helps someone.
Zabbix 3.2
Graylog 3.1
Debian 8.10 (Jessie)
Bash 4.3.30

I had the same issue. Your solution solved the problem for me. Thank you.


HBASE-25692 Always try to close the WAL reader when we catch any exce…

…ption
There are code paths in which we throw non-IOExceptions when
initializing a WAL reader. However, we only close the InputStream to the
WAL filesystem when the exception is an IOException. Close it if it is
open in all cases.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 30s
Docker mode activated.

Thanks for merging this in, Stack. Had it on my list but other things kept bumping it off.
I'll follow up checking 1.x in Jira.


Feature/custom-env

:tada: This PR is included in version 1.8.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[FIX] issues #186 last bug

WIP

superseded by https://github.com/it-projects-llc/website-addons/pull/209


:penguin: Add ARM/RPI support for Ubuntu 20.04 and 22.04 images

Is your feature request related to a problem? Please describe.
Currently kairos rpi images are available for alpine and opensuse. Would like ubuntu images to be added as well.
Describe the solution you'd like
ubuntu  20.04 and 22.04 rpi images for rpi 3 and 4

anyone is working on this?

not currently, cards in progress are tracked in our sprint board: https://github.com/orgs/kairos-io/projects/1/views/1

What else is involved with this other than these steps?

New docker files (images/Dockerfile.ubuntu-20-lts-arm-rpi, images/Dockerfile.ubuntu-22-lts-arm-rpi)
Populate the flavors in these files: https://github.com/kairos-io/kairos/search?q=rpi&type=code
Testing the image (can maybe be done with images built by CI on the PR?)

Yeah I would assume it is mainly this, figuring out what packages are needed in the dockerfiles

In my experience working with Ubuntu on an rpi, generally I just need to install linux-modules-extra-raspi to get the same set of stuff I have in a non-rpi host.

I just realized that I'm missing the standard images

There are a few issues with the releases but they are being tracked via different tickets. Other than that I think we can mark this as done


TypeError: init() got an unexpected keyword argument 'hooksconfig'

When using the main.spec file generated from the pyinstaller run, I get the following error when running the build during the pyinstaller step - TypeError: init() got an unexpected keyword argument 'hooksconfig'.
Here's the erroneous part of my .spec file:
a = Analysis(['__main__.py'],
             pathex=['C:\\Users\\christopher164141\\PycharmProjects\\SqlMetadata\\src'],
             binaries=[],
             datas=[],
             hiddenimports=[],
             hookspath=[],
             runtime_hooks=[],
             hooksconfig={},
             excludes=[],
             win_no_prefer_redirects=False,
             win_private_assemblies=False,
             cipher=block_cipher,
             noarchive=False)

To fix the issue I simply removed the "hooksconfig={}," line from the .spec file.
The action works as expected now, but I figured I'd document the issue for others running into the problem. Thanks creating this project, it works great for me!

Faced the same issue today, and the workaround of removing that kwarg helped. My .spec file was created with pyinstaller 4.6. It would be great if @JackMcKew could document what versions of pyinstaller are tested/supported.

The source dockerfile specifies which versions of python/pyinstaller are used
https://hub.docker.com/r/cdrx/pyinstaller-windows

I am experiencing this issue and can't figure out how to fix it.
https://github.com/JaydenDev/AuraPad

I am experiencing this issue and can't figure out how to fix it.
https://github.com/JaydenDev/AuraPad

Remove the "hooksconfig ={}" line from your aurapad.spec file and rerun, it should go

I am experiencing this issue and can't figure out how to fix it.
https://github.com/JaydenDev/AuraPad

Remove the "hooksconfig ={}" line from your aurapad.spec file and rerun, it should go

k

The source dockerfile specifies which versions of python/pyinstaller are used
https://hub.docker.com/r/cdrx/pyinstaller-windows

Looks like the base image is using version 3.6 but PyInstaller is currently at version 5.1

Please try the solution in the thread: https://github.com/JackMcKew/pyinstaller-action-windows/issues/34


Build error with export

@learnforpractice could you kindly have a look at this:
https://github.com/uuosio/ascdk/blob/6621212b34d7b2c76208d6e1b77dda0902e1c97c/examples/atomicassets/atomicassets.contract.ts#L8
Building fails if export is added
Works fine without export

What's the error?

You can try with master branch, lots of errors

I haven't seen any errors. Here is the test result:
test.py::test_hello PASSED
test.py::test_action PASSED
test.py::test_counter PASSED
test.py::test_token PASSED
test.py::test_codegeneration PASSED
test.py::test_notify PASSED
test.py::test_singleton PASSED
test.py::test_allow PASSED
test.py::test_escrow PASSED
test.py::test_balance PASSED

Ok, let me update the source code and have another try.

Why do you want to export KvContract? This is the main class and does not expect to be exported.

Good for contract composability, like contract Abc importing KvContract to instantiate it, and then call it's methods
Also another dev messaged me saying they were running into an issue and I narrowed it down to the export, so its unexpected behavior for export to throw issue in valid code

Yeah, sounds like the asc compiler does not happy with the exported class. Give me some the to find out the reason.

It kind of looks like our transformer misses the exported class

Fixed by 2fba770d70ff7e2c3ae84ba52aa2438c86b74085


Serializing mode sends nothing in stdin

How serializing works ?
Expected Behaviour
Hi all, I use serializing mode, and I get nothing in STDIN (while streaming works).
Overall, how to use serializing mode ? I want to manipulate the stdin request and set status code, body, headers ... inside my handler, and send out to the stdout. I think it's the best suited mode, but i can get nothing.
Current Behaviour
POST http://openfaas_gateway:8000/function/name
{"foo": "bar"}

With a PHP script :
<?php

$stdin = file_get_contents("php://stdin");

// $stdin is empty ...

fwrite(STDOUT, $stdout);

// How to write a HTTP response correctly with stdout ?

Steps to Reproduce (for bugs)
This Dockerfile with the script above.
FROM php:alpine
RUN apk add --no-cache git curl
RUN curl -sSLf https://github.com/openfaas-incubator/of-watchdog/releases/download/0.4.6/of-watchdog > /usr/bin/fwatchdog && chmod +x /usr/bin/fwatchdog
COPY index.php /usr/src/function
WORKDIR /usr/src/function
ENV function_process="php index.php"
ENV mode="serializing"
HEALTHCHECK --interval=3s CMD [ -e /tmp/.lock ] || exit 1
CMD ["fwatchdog"]

Context
I want to manipulate the stdin request and set status code, body, headers ... inside my function with stdout.

You must use http mode to set explicit headers.
If that's something you need to do then look at my example template with of-watchdog and Swoole (PHP) https://github.com/alexellis/php7-swoole-template
Alex

Derek add label: support

If you need help please join us on Slack as advised on the website. https://docs.openfaas.com/community - there you can join the #templates channel and chat with us more.

Thanks for your replies.

Hi how did you decide to use of-watchdog for this?
We already have an official PHP template with the classic watchdog that achieves the same thing.
Alex

The power of openfaas I think is the ability to use any docker images, and turn them into a powerfull FaaS in a microservices universe. The watchdog is a tiny layer, to make it happen. Ideally, the FaaS Dockerfile should be independant of the gateway, but this is a little compromise.
So, I like the fact i can build my Dockerfile, and have total control over them (repository public / private, packages ...), and not being tied to pre-packaged runtimes (like AWS, OpenWhisk, or openfaas templates ...).

You must use http mode to set explicit headers.
If that's something you need to do then look at my example template with of-watchdog and Swoole (PHP) https://github.com/alexellis/php7-swoole-template
Alex

https://github.com/openfaas-incubator/of-watchdog/blob/master/README.md#L89 :
Reads entire request into memory from the HTTP request. At this point we serialize or modify if required. That is then written into the stdin pipe. Stdout pipe is read into memory and then serialized or modified if necessary before being written back to the HTTP response.

This line confuse me. Overall, multi modes confuses me, because i went into openfaas because the communication between gateway and function is very light and powerful. But, the way stdin and stdout are managed by watchdog depending of types is difficult for me.
It would be great to pass http request as a standardized message into our functions in stdin, no matter of mode. Like :
{
  "type": "httprequest",
  "headers": [...],
  "method": "...",
  "protocol: "...",
  "uri": "...",
  "foo": "body param ..",
  "bar": "query param ..."
}

We process the message, and send in stdout :
{
  "type": "httpresponse",
  "headers": [...],
  "status_code": "xxx",
  "body": "json / octet / base64 ... response"
}

The watch dog transform this message into a proper HTTP response to the gateway.
Also, this can trigger an event like :
{
  "type": "event",
  "topic": "...",
  "foo": "",
  "bar": ""
}

And execute another function ...
It would be a very clear interface between openfass and functions, and avoid confusion 😉


Create a notebook describing parameter sweeps

Looks good. Do we not have something already that explains the run_sweep, run_batch and run behaviors that we might be able to roll this into ? @augustehirth

We teach run_sweep in https://quantumai.google/cirq/simulation#parameterized_values_and_studies and https://quantumai.google/cirq/tutorials/basics#using_parameter_sweeps.
Run_batch is introduced in https://quantumai.google/cirq/google/engine#running_circuits_in_batch, which is an out-of-order QCS doc.
I think the detail presented in Dave's tutorial here is great and we would have to get rid of a lot of that if we were to merge it into somewhere else. This also gives us a place to write more functionality related to parameter sweeps if added in the future, like flattening was done recently.
However, I think the idea to have run behaviors in one place is a good idea, as long as it is applicable to all or most means of running/simulating (instead of just QCS). Do you think it would be suitable to add run_batch to this doc?

Updated per review comments, ready for re-review.


FIX ISSUE-22212

IN COMMIT #18567 keyboardAppearance was removed from TextInputConfiguration by accident? But this feature is indeed needed.

@goderbauer probably has the best context

any progress on this one? is there any way i can help get this over the finish line?

The PR will need a test before we can merge it. If somebody wants to take it over and add a test we can merge it ASAP after December 10.

@goderbauer Does it merge now? How should users use it now?


Appsync cannot sort items by string value with Elasticsearch

Describe the bug
I'm using amplify-cli to generate appsync resolvers with @searchable directive, but it seems that search resolver cannot sort items by String value, but it works with AWSDateTime value.
To Reproduce
Example request:
{
  searchUsers(sort: {
    field: fullName,
    direction: asc
  }) {
    items {
      id
      fullName
    }
  }
}

Expected behavior
User items sorted by fullName.
Screenshots

Desktop (please complete the following information):

Using AWS Console

Smartphone (please complete the following information):

Using AWS Console

Additional context
It also happened to my past appsync project.
You can turn on the debug mode to provide more info for us by setting window.LOG_LEVEL = 'DEBUG'; in your app.

@hakimio had the right approach. However, you have to search the data type in ElasticSearch. For example, I might have photographTaken : AWSDateTime in appsync which gets stored as String in DynamoDB and date in ElasticSearch. The one that matters is how its stored in ElasticSearch and I was struggling to be able to determine the data type in ElasticSearch in the resolver.
So the simplest and most reliable way was to specify if it was a string or non-string in the query. The way for me to achieve this was to modify the arguments of the search resolver to ask for a string field. If its a string enter "keyword", if its not a string then enter "none"
query searchPhotos{   searchPhotos(     sort:{       string: none       direction: asc       field: photographTaken     }     limit:10   )}
Then just have the resolver check if $context.args.sort.string == "keyword" and if it does add "${context.args.sort.field}.keyword" and if it does not just use "${context.args.sort.field}" as per @hakimio  instructions.

Closing this as this issue was addressed and resolved in #800.
There is  also a enhancement issue, #2517, regarding the change in types between appsync and elasticsearch.
Should there be in another questions related to this please feel free to comment.


cdk diff shows no differences

:bug: Bug Report
What is the problem?
In the typescript workshop, under cleanup (https://cdkworkshop.com/20-typescript/30-hello-cdk/100-cleanup.html):
running cdk diff shows that there were no differences:
cdk diff
Stack CdkWorkshopStack
There were no differences

I ran cdk bootstrap and cdk deploy before, both successful.
Neither adding or removing the suggested code-changes, produces a diff.
Reproduction Steps
Follow the steps until https://cdkworkshop.com/20-typescript/30-hello-cdk/100-cleanup.html
Verbose Log

Environment

**CDK CLI Version:1.69.0 (build 2b474b9)

**Section: cleanup
**Browser: Chromium
**Language:TypeScript

Other information

Ok, it seems like cdk diff or cdk synth are not triggering the typescript build. Shouldn't these commands trigger it automatically?
I have to run npm run build before, then it's working.

Hey @fdietze,
Sorry for the delay in this. I have checked several times, but have been unable to see the behavior you described. My guess is that you did not save the file with the altered stack before running cdk diff.
If you think there is more to this, please feel free to leave a comment here and I will investigate again.

Hey @fdietze,
Sorry for the delay in this. I have checked several times, but have been unable to see the behavior you described. My guess is that you did not save the file with the altered stack before running cdk diff.
If you think there is more to this, please feel free to leave a comment here and I will investigate again.

I guess it's fine like this.

I guess it's fine like this.


docs don't work in multilingual mode

To Reproduce

turn o multilingual mode in languages.yaml
add 2nd language post in docs

content

docs

mychapter

index.md
index.zh.md

ERROR 2022/06/30 07:35:49 render of "page" failed: "/Users/user/Desktop/del/hugo-eureka/layouts/docs/single.html:2:3": execute of template failed: template: docs/single.html:2:3: executing "main" at <partial "components/doc-layout" .>: error calling partial: "/Users/user/Desktop/del/hugo-eureka/layouts/partials/components/doc-layout.html:56:55": execute of template failed: template: partials/components/doc-layout.html:56:55: executing "doc-sidebar" at <.context.Parent.Layout>: nil pointer evaluating page.Page.Layout
Error: Error building site: failed to render pages: render of "section" failed: "/Users/user/Desktop/del/hugo-eureka/layouts/docs/list.html:2:3": execute of template failed: template: docs/list.html:2:3: executing "main" at <partial "components/doc-layout" .>: error calling partial: "/Users/user/Desktop/del/hugo-eureka/layouts/partials/components/doc-layout.html:56:55": execute of template failed: template: partials/components/doc-layout.html:56:55: executing "doc-sidebar" at <.context.Parent.Layout>: nil pointer evaluating page.Page.Layout

for post works

Hugo Version: latest
Eureka Version: latest

Please follow the docs or refer to examples in exampleSite folder and it will work.


PR (Wiki): MarkUs login instructions for vagrant

https://github.com/lungj/Markus.wiki.git rev 73ffa69

Hey @lungj - I think your link is broken, but if you want to make a pull request onto the wiki, you can definitely do so right at https://github.com/MarkUsProject/Wiki/pulls.


File closed but handle not freed - file cannot be modified by other apps

Even after a file that was previously opened by HexEdit v4.0 has been closed the handle is not freed to allow other programs to access the file (e.g., Windows cannot delete the file - pop-up window appears Try again or Cancel until HexEdit application is closed and the handle is finally freed.)

a workaround for that is to use unlocker ;)
personally I've never had this issue, but it is a good thing to adress.


Prepare release 5.8.1

PR checklist
n/a
Overview of change:
attempting to cut a new release, since recent changes close issues for us
Is there anything you'd like reviewers to focus on?
i dunno; whether i did semver right?
also, the output of the changelog script wasn't similar to recent entries, so i cut/pasted by hand. I may have done it wrong.

Thanks for your interest in palantir/tslint, @dradetsky! Before we can accept your pull request, you need to sign our contributor license agreement - just visit https://cla.palantir.com/ and follow the instructions. Once you sign, I'll automatically update this pull request.

i dunno; whether i did semver right?

It's actually 5.9.0 since there are not only bug fixes.

also, the output of the changelog script wasn't similar to recent entries, so i cut/pasted by hand. I may have done it wrong.

Unfortunately the script only works if the PR contains the relevant information. Otherwise this needs to be done by hand. But the script outputs the relevant commits that are missing docs.
By looking at the changelog, I think there are some entries missing. For example the added support for YAML configs.

@ajafff does that mean I have to manually add entries to the changelog for the missing stuff?

also, i'll make a new branch with 5.9.0 if this is otherwise ok (or if the other req'd changes are not too much trouble)

does that mean I have to manually add entries to the changelog for the missing stuff?

Yep. That's a pretty tedious task. The changelog script spits out a list of commits that don't have docs, you copy the PR number from the commit message, lookup the PR and add n changelog entries.
After that you add headlines and group the entries like you already did. In all previous releases Adi Dahiya and Jason Killian were not in the list of contributors as they are basically the owners of this project.
It would be great if you want to do this. You don't necessarily need a new branch, you can just override the changes in this branch.

it's just that I did this release because it's a problem for something we're trying to do now, so the simplest solution probably isn't doing a release. but maybe soon


Add PyPy 5.9.0

Adds support for Pandas/NumPy! https://morepypy.blogspot.com/2017/10/pypy-v59-released-now-supports-pandas.html

So waiting for it...

Pypy has always been documented as "experimental". While merging this pull request seems easy, there's a lot of manual steps involved in deploying this to production — and with the extremely low usage that pypy gets on the platform, it's simply not worth the effort.
I'm open to pushing new versions occasionally, but this is the first instance where we're documenting that we don't plan to support every version of Pypy.


Thoughts on glibc/musl vs rustix?

Today, we distribute both glibc and musl variants but I think it might be possible to distribute a single binary using rustix.

Crate: https://crates.io/crates/rustix
Blog post: https://blog.sunfishcode.online/port-std-to-rustix/
Additional comments: https://news.ycombinator.com/item?id=29794452

Thoughts?

@styfle glibc/libc are linked by program linker, and we can't static link libc in our .node addon because it is actually a dynamic linked library.
We can distribute a single executable file with musl.cc or rustix, but it does not work if the target is dylib.

Oh I see what you mean now

Addons are dynamically-linked shared objects

https://nodejs.org/api/addons.html#c-addons
That's unfortunate. I'll close this issue 😶

I noticed esbuild doesn't ship glibc/musl variants so there must be some difference?
https://github.com/evanw/esbuild/blob/20b121e067f3b49ab49ce16c007df66790366c8b/npm/esbuild/package.json#L14-L32

esbuild is an executable binary, it communicates with Node.js via stdio rather than Node-API.

Oh yeah 🤦♂


[BUG] UpstreamCheckService#updateHandler endless loop

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
UpstreamCheckService#PENDING_SYNC is able to insert hashcode not in array of 'CommonUpstream',so that method of updateHandler will endless loop
Expected Behavior
The hashcode that in PENDING_SYNC are in array of 'CommonUpstream'
Steps To Reproduce
No response
Environment
ShenYu version(s):2.5.0

Debug logs
No response
Anything else?
No response

in master , have this bug ?


Initial work for analyzer tutorial

Fixes #23014
This is not ready for review yet.

The current tests use DataRow to combine all no diagnostic cases in a single test, and all diagnostic cases in a single test.
The article says:

For efficiency, the first step is to refactor the two tests into data driven tests. Then, you only need to define a couple string constants for each new test.

I feel the code is losing readability this way. Should I re-write each test case separately?
cc: @BillWagner @sharwell

I feel the code is losing readability this way. Should I re-write each test case separately (the same way roslyn and roslyn-analyzers, and mostly any other 3rd-party library write tests)?

I agree we should switch to the form everyone actually uses (as appears to now be done).


support vue 3

Hi there,
Looks pretty awesome, please provide support for vue 3.
Thanks in advance,
Julio

Hi,
I just add support Vue 3 and you can use that.

wow!!! that's good support!!!
Thank you so much!


qavdemuxer.cpp:138:18: error: cannot initialize a variable of type 'AVCodec *'

qavdemuxer.cpp:138:18: error: cannot initialize a variable of type 'AVCodec *' with an rvalue of type 'const AVCodec *'
AVCodec *mycodec = avcodec_find_decoder_by_name("h264_mediacodec");

https://github.com/valbok/QtAVPlayer/pull/192

I found out that the issue is FFMPEG snapshot , FFMPEG 4.4.1 works fine, i tested that thoroughly yesterday.

i used ffmpeg from ffpegkit from https://github.com/tanersener/ffmpeg-kit and the error appeared only to realize that it came from ffmpeg after compiling ffmpeg with https://github.com/Javernaut/ffmpeg-android-maker


Azure App Configuration removed

Following tutorial
https://microsoftlearning.github.io/AZ400-DesigningandImplementingMicrosoftDevOpsSolutions/Instructions/Labs/AZ400_M05_L11_Enable_Dynamic_Configuration_and_Feature_Flags.html
There should be support for azure app configuration.
It has been removed with commit https://github.com/MicrosoftLearning/eShopOnWeb/commit/c656d9b46595b02020ee60c5ecfc28d46dd69938

@rob-foulkrod @yashints first time I heard about it. Is this something you are seeing in your classes? Thanks.

coding up a solution now.

PR is merged


Date picker doesn't fit inside modal

Make sure to check the demo app(s) for sample usage
Make sure to check the existing issues in this repository
If the demo apps cannot help and there is no issue for your problem, tell us about it
Please, ensure your title is less than 63 characters long and starts with a capital
letter.
Which platform(s) does your issue occur on?

Android

Please, provide the following version numbers that your issue occurs with:

CLI: tns v5.0.1
Cross-platform modules: "version": "5.0.2"
Runtime(s):

"tns-ios": {
    "version": "5.0.0"
},
"tns-android": {
    "version": "5.0.0"
}

Plugin(s):

"dependencies": {
    "@vue/devtools": "5.0.0-beta.3",
    "axios": "^0.18.0",
    "nativescript-background-http": "^3.3.1",
    "nativescript-checkbox": "^3.0.3",
    "nativescript-loading-indicator": "^2.4.0",
    "nativescript-mediafilepicker": "^2.0.14",
    "nativescript-modal-datetimepicker": "^1.1.10",
    "nativescript-socket.io": "^0.9.0",
    "nativescript-theme-core": "^1.0.4",
    "nativescript-toast": "^1.4.6",
    "nativescript-vue": "^2.0.0",
    "nativescript-vue-devtools": "^1.0.0",
    "net": "^1.0.2",
    "request": "^2.88.0",
    "tls": "0.0.1",
    "tns-core-modules": "^5.0.2",
    "vuex": "^3.0.1"
  },
  "devDependencies": {
    "@babel/core": "^7.0.0",
    "@babel/preset-env": "^7.0.0",
    "babel-loader": "^8.0.2",
    "babel-traverse": "6.26.0",
    "babel-types": "6.26.0",
    "babylon": "6.18.0",
    "clean-webpack-plugin": "^0.1.19",
    "copy-webpack-plugin": "^4.5.2",
    "css-loader": "^1.0.0",
    "lazy": "1.0.11",
    "nativescript-dev-webpack": "next",
    "nativescript-vue-template-compiler": "^2.0.0",
    "nativescript-worker-loader": "~0.9.0",
    "node-sass": "^4.9.2",
    "sass-loader": "^7.1.0",
    "terser-webpack-plugin": "^1.1.0",
    "vue-loader": "^15.2.6",
    "webpack": "^4.16.4",
    "webpack-bundle-analyzer": "~2.13.1",
    "webpack-cli": "^3.1.0"
  }

Please, tell us how to recreate the issue in as much detail as possible.

Install this plugin tns plugin add nativescript-modal-datetimepicker
Configure style inside resource folder: (As instructed in official documentation)

<!-- Default style for DatePicker - in spinner mode -->
<style name="SpinnerDatePicker" parent="android:Widget.Material.Light.DatePicker">
    <item name="android:datePickerMode">calendar</item>
</style>

<!-- Default style for TimePicker - in spinner mode -->
<style name="SpinnerTimePicker" parent="android:Widget.Material.Light.TimePicker">
    <item name="android:timePickerMode">clock</item>
</style>

In your NativeScript-Vue component import and initialise dependency:

const ModalPicker = require("nativescript-modal-datetimepicker").ModalDatetimepicker
const picker = new ModalPicker()

on Click any method, run this code:

     picker.pickDate({
        title: "Select Your Birthday",
        theme: "light",
        maxDate: new Date()
      }).then(result => {
        // Note the month is 1-12 (unlike js which is 0-11)
        console.log(
          "Date is: " + result.day + "-" + result.month + "-" + result.year
        )
        var jsdate = new Date(result.year, result.month - 1, result.day);
      }).catch(error => {
        console.log("Error: " + error);
      })

Is there any code involved?
Entire component code is-
<template>
  <StackLayout
    class="field-item">
    <Label class="label"
      v-if="field.title"
      :text="field.title" />
    <TextField :text="date"
      @tap="selectDate"
      class="select"
      :editable="false"
      :hint="field.title" />
  </StackLayout>
</template>

<script>
const ModalPicker = require("nativescript-modal-datetimepicker").ModalDatetimepicker
const picker = new ModalPicker()

export default {
  name: 'date',
  props: ['field'],
  data () {
    return {
        field: {
            title: 'Date of Birth'
        }
    }
  }
  methods: {
    selectDate: function () {
      picker.pickDate({
        title: "Select Your Birthday",
        theme: "light",
        maxDate: new Date()
      }).then(result => {
        // Note the month is 1-12 (unlike js which is 0-11)
        console.log(
          "Date is: " + result.day + "-" + result.month + "-" + result.year
        )
        var jsdate = new Date(result.year, result.month - 1, result.day);
      }).catch(error => {
        console.log("Error: " + error);
      })
    }
  },
  }
}
</script>

Final Result:

Android OS version is 7.0, Device is Moto G4 plus

Duplicate of #15


Guidance administration not accessible after deleting a question linked to a guidance.

In DMPOnline V4
How to reproduce :

In the guidance administration, edit a guidance, select "by question" in the "Should this guidance apply : " dropdown and choose a specific question in a template.
Delete this question in the specific template>phase>version>section.
Go back to the guidance administration should cause the following error :

An ActionView::Template::Error occurred in guidances#admin_index:

  undefined method 'text' for nil:NilClass
  app/views/guidances/admin_index.html.erb:133:in 'block in _app_views_guidances_admin_index_html_erb__365803286381586758_45327620'

Cause :
It seems that the method deleting the question from the database doesn't remove the question_id from the guidance linked to this question, causing this bug.

closing this since the guidance in the Admin -> Guidances section is no longer associated with specific questions. @benjaminfaure please reopen if its still an issue with the current codebase


General: Validate if current process OpenPype version is requested version

Brief description
Added periodical checks of OpenPype version.
Description
Main change is affecting OpenPype tray application. A dialog with information about outdated OpenPype version is shown. If dialog is closed or ignore button is clicked a tray message will popup.
Ftrack event server statuser will show information if is up to date.
Changes

moved few functions in lib and added new for checking if version of currently running process is up to date
tray will check each 5 minutes if is up to date with expected version

will show a dialog with ability to restart tray

restart of tray will unset OPENPYPE_VERSION environment for new process

this is to trigger update if needed

ftrack event server statuser has new category OpenPype version with info about current OpenPype version

Testing notes:

Build OpenPype
Create a zip with higher version
Optional: Remove versions from appdata...
Set path to openpype versions to some empty directory
Run tray from the build
Move the created zip with higher version to openpype versions dir
Wait for 5 minutes
Popup should be shown

you can press Ignore window will close and tray message will show
press "Restart and Change" should trigger restart of tray and also update

Alternative to not wait 5 minutes (code modification needed)
In build go to ~/openpype/tools/tray/pype_tray.py on line 375 is method _on_version_action modify it to
def _on_version_action(self):
    self._version_check_timer.timeout.emit()
    ...

Now when you click on version action in tray menu it should trigger version validation.
Notes

any changes of messages are welcomed
we could maybe change color of tray icon or add icon to version action (e.g. exclamation mark) or just change color of action text
color of "Restart and Change" could be maybe changed to better color?
It can happen that it is not possible to validate if current version is that which should be used. Should we tell user on start?

Screenshot of dialog showed from Tray

Task linked: OP-2360 Validate if current OpenPype version is production version

Is the wait time (5 minutes) configurable in the settings?

Is the wait time (5 minutes) configurable in the settings?

It wasn't, added.
Does make sense to use decimal points for this validation like each 0.5 minutes?

Does make sense to use decimal points for this validation like each 0.5 minutes?

Unless its a bother to implement later, I would stick with whole minutes. Dont think anyone cant wait 1 minute for an update.

I mean, if there's an Update Now button in the Version pop-up window users could always go down that route. Haven't checked myself but is that there? If not, should it be there? I guess just shutting down OP + starting it manually isn't that much effort either.

It's not there, should be there, not goal of this PR. This is more for artists that start OpenPype only when PC is restarted (once in month) so they do not catch new updates at all.

Do they get the callback again after 5 minutes?

Yes.

Also, I feel Wrong OpenPype version in the dialog bar feels wrong. It should feel more "hey, there's a new update!" than "you did something wrong / are using the wrong software"

I agree it's aggresive. I wanted to avoid using "update" because you can downgrade e.g. when latest version breaks production you can in settings set older version that should be used in studio. So it's not like "Hey there is new update" but more like "You should use different version then you're using now".

Ignore could also be Later? Not sure if better.

I like "Later". Much better than "Ignore".

I expect this notification should be modified too. This is what is shown when you hit Ignore/Later.

@BigRoy I agree with all points with a few minor tweaks.
TITLE
OpenPype update is needed
I'd use needed or required because it really shouldn't be the artist choice here, apart from possibly postponing it.
MESSAGE
Running OpenPype version is 3.8.0-nightly.3. Your production has been updated to version 3.8.0-nightly.4.

Similarly Restart & Change I think should be either just Update or Restart & Update

Restart & Update is the best I think

Ignore could also be Later? Not sure if better.

Later is great. In later PRs we can add a little dropdown with an option to postpone, so users could bypass the 5 minutes for a certain period.
I do like the idea with a little present icon. Even though you can't really choose not to unwrap it :D

Regarding the notification
Title: OpenPype version is outdated
Message: Please update your OpenPype as soon as possible. To update, restart OpenPype Tray application.

EDITED: Maybe Later could trigger the message in next interval and Ignore would stop the validation so there would be 3 buttons?

I'd leave this for another PR, but ideally it should postpone until next interval by (say 5 minutes by default), but give dropdown option with local override, same as with many notifications.
Something like this (without the forever option)

Current state
Dialog

Notification

Tray menu

added action Restart & Update to tray menu which is visible when the validation do not pass

The action Restart & Update doesn't show up in the tray menu. Everything else is ok

The action Restart & Update doesn't show up in the tray menu.  I didn't push last commit.

All good now


[Feature Request]: Adding related documents

Describe the feature you'd like
I would like an option on a document, preferably below Book Navigation pages, to Add related documents.
Also, the option to insert meta of other pages is ambiguous as I don't know the page ID of every page.
Describe the benefits this feature would bring to BookStack users
This will help us relate all the documents related to single topic which is already done through Chapters. This option will help users cut down additional noise and only add documents that are related to that specific topic.
Additional context
No response

Thanks for the request @mfsid. I'm going to close this off as I'd consider it a duplicate of #982.


Error in winlogbeat log

Any ideas on this error contained in the winlogbeat log file?
2020-10-08T23:28:17.844+0100	INFO	[monitoring]	log/log.go:145	Non-zero metrics in the last 30s	{"monitoring": {"metrics": {"beat":{"cpu":{"system":{"ticks":250,"time":{"ms":16}},"total":{"ticks":2203,"time":{"ms":16},"value":2203},"user":{"ticks":1953}},"handles":{"open":226},"info":{"ephemeral_id":"1e6eaa09-ccf8-48cf-99eb-ff444574468d","uptime":{"ms":330106}},"memstats":{"gc_next":85543552,"memory_alloc":42859880,"memory_total":238160864},"runtime":{"goroutines":18}},"libbeat":{"config":{"module":{"running":0}},"pipeline":{"clients":1,"events":{"active":4117}}}}}}
2020-10-08T23:28:22.889+0100	ERROR	[publisher_pipeline_output]	pipeline/output.go:154	Failed to connect to backoff(async(tcp://lme.hsadmin.dom:5044)): dial tcp <IP_ADDRESS>:5044: connectex: No connection could be made because the target machine actively refused it.
2020-10-08T23:28:22.889+0100	INFO	[publisher_pipeline_output]	pipeline/output.go:145	Attempting to reconnect to backoff(async(tcp://lme.hsadmin.dom:5044)) with 9 reconnect attempt(s)
2020-10-08T23:28:22.889+0100	INFO	[publisher]	pipeline/retry.go:219	retryer: send unwait signal to consumer

The error indicates that the WEC box can't access the ELK/Docker instance. This could either be firewall issues or that logstash is not running.
Failed to connect to backoff(async(tcp://lme.hsadmin.dom:5044)): dial tcp <IP_ADDRESS>:5044: connectex: No connection could be made because the target machine actively refused it.
We can't assist with your firewall configuration, but you could run docker service logs lme_logstash --tail 20 --timestamps to determine if the issue is Logstash

Hi Adam,
I’ve disabled the windows server fire wall which made no difference and sent you the log, See below.
I’ve now powered down the server as CPU is through the roof!
<EMAIL_ADDRESS>From: Adam<EMAIL_ADDRESS>Sent: 09 October 2020 08:54
To: ukncsc/lme<EMAIL_ADDRESS>Cc: Simon Gilkes<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [ukncsc/lme] Error in winlogbeat log (#82)
The error indicates that the WEC box can't access the ELK/Docker instance. This could either be firewall issues or that logstash is not running.
Failed to connect to backoff(async(tcp://lme.hsadmin.dom:5044)): dial tcp <IP_ADDRESS>:5044: connectex: No connection could be made because the target machine actively refused it.
We can't assist with your firewall configuration, but you could run docker service logs lme_logstash --tail 20 --timestamps to determine if the issue is Logstash
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://us-east-2.protection.sophos.com?d=github.com&u=aHR0cHM6Ly9naXRodWIuY29tL3VrbmNzYy9sbWUvaXNzdWVzLzgyI2lzc3VlY29tbWVudC03MDYwMzA2MzE=&e=Z2lsa2Vzc0BoYXplbHdvb2RzY2hvb2wuY29t&t=S3BlMTk0dmlHZUNMWjdnb2gwME8rSnZ6ZFRaUFlNdVhvY3NRV1lWT2pQQT0=&h=4182fbee54134e48b91895e30cde0db4, or unsubscribehttps://us-east-2.protection.sophos.com?d=github.com&u=aHR0cHM6Ly9naXRodWIuY29tL25vdGlmaWNhdGlvbnMvdW5zdWJzY3JpYmUtYXV0aC9BUklaUk5HUVQ1RU5DN1hPNFZKTkdURFNKMjZRNUFOQ05GU000U0pXUlRVQQ==&e=Z2lsa2Vzc0BoYXplbHdvb2RzY2hvb2wuY29t&t=R1lsaDVEeHZCVWRtdHpXNzhpVjkyN0RhZFB3UG5KMHEycGJTOFplcXNWbz0=&h=4182fbee54134e48b91895e30cde0db4.
Unless stated otherwise in this email, the content of this email (including any attachments) is confidential and is intended to be received by the named intended recipient(s) only. Please do not forward this email, or disclose its content, without our consent. If you are not a named intended recipient, please notify us immediately at the address below or by email to the sender and delete this email (including any attachments). Please refer to https://www.hazelwoodschool.co.uk/privacy-notices-391/ for more information about our Privacy Policy. Hazelwood School Ltd. A company limited by guarantee number 925581. The Larks at Laverock Ltd. Company number 6969119 and trading under licence as Hazelwood School Nursery and Early Years. OFSTED Registered Number: EY394827. Registered Office: Hazelwood School, Wolfs Hill, Limpsfield, Oxted, Surrey RH8 0QU. Registered charity number 312081

Can you confirm if the error you raised this issue ticket was related to a configuration issue (either firewall/logstash) or because the Ubuntu machine host was powered off?

The log is related to the configuration issue which doesn’t appear to be firewall as I mentioned.
From: Adam<EMAIL_ADDRESS>Sent: 09 October 2020 09:24
To: ukncsc/lme<EMAIL_ADDRESS>Cc: Simon Gilkes<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [ukncsc/lme] Error in winlogbeat log (#82)
Can you confirm if the error you raised this issue ticket was related to a configuration issue (either firewall/logstash) or because the Ubuntu machine host was powered off?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://us-east-2.protection.sophos.com?d=github.com&u=aHR0cHM6Ly9naXRodWIuY29tL3VrbmNzYy9sbWUvaXNzdWVzLzgyI2lzc3VlY29tbWVudC03MDYwNDQ3NTY=&e=Z2lsa2Vzc0BoYXplbHdvb2RzY2hvb2wuY29t&t=UnpZQkVwdFRKemcxNzBpUGR2bkNVYTZzYlQvT005R2NVVVlmVm0wMjhXND0=&h=df10b32fd47d4dee9de8b2c0b4102738, or unsubscribehttps://us-east-2.protection.sophos.com?d=github.com&u=aHR0cHM6Ly9naXRodWIuY29tL25vdGlmaWNhdGlvbnMvdW5zdWJzY3JpYmUtYXV0aC9BUklaUk5BWUtWU0kyS0NFNk5RN0NWM1NKM0NESkFOQ05GU000U0pXUlRVQQ==&e=Z2lsa2Vzc0BoYXplbHdvb2RzY2hvb2wuY29t&t=bmY4dkU5UytIVXJFVmdiNkExZG4wY2VkYTdMcFlVMFV3UTRNVkovS1d0Zz0=&h=df10b32fd47d4dee9de8b2c0b4102738.
Unless stated otherwise in this email, the content of this email (including any attachments) is confidential and is intended to be received by the named intended recipient(s) only. Please do not forward this email, or disclose its content, without our consent. If you are not a named intended recipient, please notify us immediately at the address below or by email to the sender and delete this email (including any attachments). Please refer to https://www.hazelwoodschool.co.uk/privacy-notices-391/ for more information about our Privacy Policy. Hazelwood School Ltd. A company limited by guarantee number 925581. The Larks at Laverock Ltd. Company number 6969119 and trading under licence as Hazelwood School Nursery and Early Years. OFSTED Registered Number: EY394827. Registered Office: Hazelwood School, Wolfs Hill, Limpsfield, Oxted, Surrey RH8 0QU. Registered charity number 312081

docker service logs lme_logstash --tail 20 --timestamps will show provide logs and any errors from Logstash

I have already sent, did you receive? It was a screen capture
From: Adam<EMAIL_ADDRESS>Sent: 09 October 2020 09:28
To: ukncsc/lme<EMAIL_ADDRESS>Cc: Simon Gilkes<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [ukncsc/lme] Error in winlogbeat log (#82)
docker service logs lme_logstash --tail 20 --timestamps will show provide logs and any errors from Logstash
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://us-east-2.protection.sophos.com?d=github.com&u=aHR0cHM6Ly9naXRodWIuY29tL3VrbmNzYy9sbWUvaXNzdWVzLzgyI2lzc3VlY29tbWVudC03MDYwNDY1Mzc=&e=Z2lsa2Vzc0BoYXplbHdvb2RzY2hvb2wuY29t&t=NHY5UkQveDVrbDl5dzZHVThxaHZEc0ZjUXBiTnR4akZhdG9OUDY1eXgrdz0=&h=0b4b54e8f9234d2582034e5e71884f41, or unsubscribehttps://us-east-2.protection.sophos.com?d=github.com&u=aHR0cHM6Ly9naXRodWIuY29tL25vdGlmaWNhdGlvbnMvdW5zdWJzY3JpYmUtYXV0aC9BUklaUk5GSTJPWlVNT0IzWlU2U1pURFNKM0NSN0FOQ05GU000U0pXUlRVQQ==&e=Z2lsa2Vzc0BoYXplbHdvb2RzY2hvb2wuY29t&t=TTFBUWh4bTQ4Qm9Zb2JXeFhCNWFLbzhhakJlRktUZmpJVHd2VHd5c3hZWT0=&h=0b4b54e8f9234d2582034e5e71884f41.
Unless stated otherwise in this email, the content of this email (including any attachments) is confidential and is intended to be received by the named intended recipient(s) only. Please do not forward this email, or disclose its content, without our consent. If you are not a named intended recipient, please notify us immediately at the address below or by email to the sender and delete this email (including any attachments). Please refer to https://www.hazelwoodschool.co.uk/privacy-notices-391/ for more information about our Privacy Policy. Hazelwood School Ltd. A company limited by guarantee number 925581. The Larks at Laverock Ltd. Company number 6969119 and trading under licence as Hazelwood School Nursery and Early Years. OFSTED Registered Number: EY394827. Registered Office: Hazelwood School, Wolfs Hill, Limpsfield, Oxted, Surrey RH8 0QU. Registered charity number 312081

There's no screenshot in the github issue. I think you're replying via email which might strip out the images
https://github.com/ukncsc/lme/issues/82

Hi Simon. Your password looks like it has a new line char at the end of it followed by some whitespace.
I would strongly recommend you run deploy.sh uninstall and restart the installation via deploy.sh process as you have shared the password in the screenshot

Closing due to inactivity


[stable/parse] Use immutable tags

Bump patch version
Use immutable tags
Check rolling tags in the images (except minideb and exporter) and show a warning in NOTES.txt
Add a section about rolling/immutable tags in README.md

Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[X] DCO signed
[X] Chart Version bumped
[X] Variables are documented in the README.md
[X] Title of the PR starts with chart name (e.g. [stable/chart])

/retest


guestfs-tools: init at 1.48.2

Description of changes
This restores a set of tools that were split off libguestfs in 1.46.
Things done

Built on platform(s)

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

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

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

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

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

[ ] Fits CONTRIBUTING.md.

Duplicated with #194457


Update using-the-windows-device-portal.md

Docs Build status updates of commit 8090039:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

mixed-reality-docs/using-the-windows-device-portal.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Waypoint: Use Bracket Notation to Find the Last Character in a String - 2nd Test Incorrectly Passes

Challenge http://www.freecodecamp.com/challenges/waypoint-use-bracket-notation-to-find-the-last-character-in-a-string has an issue.
Test 2 presumably checks that line 7 (var lastLetterOfLastName) uses String.length property.  The test returns true with the initial, unaltered code since it is used in line 3. This is probably not intentional.

Thanks @AryanJ-NYC,
Confirmed that on clean challenge load, test 2 passes incorrectly.

Closing this issue as it is fixed.


groups: new mobile member list

Fixes LAND-792
Looks like this:
https://github.com/tloncorp/landscape-apps/assets/1221094/2b47a184-5119-4eb3-bc56-2f30b67f0dea

@jamesacklin we good on this one?


Compile Error

Assets\Tests\Editor\FieldDeserializeTest.cs(5,17): error CS0234: The type or namespace name 'Test_file_for_API_showing_all_features' does not exist in the namespace 'LDtkUnity' (are you missing an assembly reference?)
Originally posted by @AndyGFX in https://github.com/Cammin/LDtkUnity/issues/3#issuecomment-801290431

Fixed, was due to incorrect assembly definition and namespace a3475249


Feature/PLAT-2962 goroutine fix

This PR fixes the issue with outbound HTTP request forwarding by adding a timed context to the forwarded HTTP request.

This change is

:+1:

Reviewed 1 of 1 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable

:+1:

Comments from Reviewable

Reviewed 1 of 1 files at r1.
Review status: :shipit: all files reviewed at latest revision, all discussions resolved, all commit checks successful.

Comments from Reviewable


Add these archetypes

Possibly.

Slivers (aggro-control?)
Subdivisions of Tendrils Storm
[x] Minotaurs
[x] Aggro Warriors
BARREN GLORY
DUBIOUS CHALLENGE
EGGS under storm praps? funnel and anvil
Rakdos Madness
[x] Orzhov Enchantress

Reviewed all of these and added where it made sense.