Nuitka with pyVmomi all memory take by gcc

Nuitka with pyVmomi crash, all memory need by cc1
OOM killer destroy it
kernel: [ 8152.785701] oom_reaper: reaped process 22768 (cc1), now anon-rss:0kB, file-rss:0kB, shmem-rss:0kB

Nuitka version, full Python version and Platform (Windows, OSX, Linux ...)

python -m nuitka --version
0.6.4rc2
Python: 3.6.7 (default, Oct 22 2018, 11:32:17)
Executable: /home/stravassac/virtualenvs/test/bin/python
OS: Linux
Arch: x86_64
gcc (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0

How did you install Nuitka and Python (pip, anaconda, deb, rpm, from source,
what is a virtualenv ...), this is very important usually.
python is from Ubuntu 18.04

pip freeze
certifi==2019.3.9
chardet==3.0.4
idna==2.8
Nuitka==0.6.4rc2
pkg-resources==0.0.0
pyvmomi==<IP_ADDRESS>8.12
requests==2.21.0
six==1.12.0
urllib3==1.24.1

If possible please supply a Short, Self Contained, Correct, Example
that demonstrates the issue i.e a small piece of code which reproduces
the issue and can be run with out any other (or as few as possible)
external dependencies.
nice -n 19 python -m nuitka test.py

import sys
import os
from pyVim import connect
from pyVmomi import vim, vmodl

def main():
    print(os.getpid())

print(sys.argv)
if __name__ == "__main__":
    main()

I managed to reproduce it, with OOM killer and all, on a 16GB+16GB swap machine. Now that wasn't fun, and I was pretty confused, when my work environment slowed down, and eventually blocked. I should have been warned. :)

So, pyVmomi.ServerObjects contains a lot of code, very specific one, that is breaking all the scalability of Nuitka and gcc obviously. I am going to blacklist it from compilation as "unworthy" namespace, the next pre-release should be working for you then.

Sorry for your slowdown, I forgot to tell you to disable your swap (swapoff -a) for have a less freeze (1 minute for me, before oomkiller)

I managed to reproduce it, with OOM killer and all, on a 16GB+16GB swap machine. Now that wasn't fun, and I was pretty confused, when my work environment slowed down, and eventually blocked. I should have been warned. :)

@kayhayen Thanks you for your quick reply and and quick fix, sorry again for your computer slowed down

Released as 0.6.4


Small optimization in check_no_missing_bytecode

Motivation
We're currently creating the required_hashes HashSet just to check if we have any unneeded values
Proposal
If we upgrade it to a HashMap, we can reuse it later and avoid having to create the value_hashes HashSet also, which optimizes things a bit
Test Plan
CI

#2038  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @andresilva91 and the rest of your teammates on  Graphite


Redirection Fails after Logging In

My iOS app does not redirect after getting user's permission for YouTube. What I get is a screen from Google which is attached below.

This is my code:
BAHYouTubeOAuth *youTubeOAuth = [[BAHYouTubeOAuth alloc]init];

    [youTubeOAuth authenticateWithYouTubeUsingYouTubeClientID:Client_ID
                                          youTubeClientSecret:Client_Secret
                                                 responseType:@"code"
                                                        scope:@"https://gdata.youtube.com"
                                                        state:@""
                                               appURLCallBack:@"urn:ietf:wg:oauth:2.0:oob:auto"
                                                   accessType:@"online"
                                               viewController:self
                                                             :^(BOOL success, NSString *youTubeToken, NSString *youTubeRefreshToken) {
                                                                 if (success) {
                                                                     //the token you will use to request right now
                                                                     [[NSUserDefaults standardUserDefaults] setObject:youTubeToken forKey:@"youtube_token"];
                                                                     //token you can use to request a new token on your behalf for requestion later
                                                                     //this only shows when you ask for "offline access"
                                                                     [[NSUserDefaults standardUserDefaults] setObject:youTubeRefreshToken forKey:@"youtube_refresh"];

                                                                     [[NSUserDefaults standardUserDefaults] synchronize];
                                                                     //Do whatever you need with the token
                                                                 }
                                                             }];

Check that your call back url is the same in both you project and in the YouTube API settings.
Tested and still works for me. If you check and still have a problem I'll recreate it using your specifics and test.

While creating API Key and OAuth Client ID, I found no field to define callback URL.

Don't use the iOS API. Use the web API.
On Friday, February 12, 2016, Muhammad Arqam Owais<EMAIL_ADDRESS>wrote:

While creating API Key and OAuth Client ID, I found no field to define
callback URL.
[image: screen shot 2016-02-12 at 11 26 03]
https://cloud.githubusercontent.com/assets/12997375/13000399/b5f6c018-d17b-11e5-845b-102bb3a42977.png
[image: screen shot 2016-02-12 at 11 23 40]
https://cloud.githubusercontent.com/assets/12997375/13000401/b8b9f130-d17b-11e5-9024-ec91a394dae4.png
—
Reply to this email directly or view it on GitHub
https://github.com/BHughes3388/BAHYouTubeOAuth/issues/4#issuecomment-183199011
.

Which type of web application I need to create

each of it have two options
1- from where its calling so what should I place there?
2- where it will redirect after success, where i can redirect?

I used a UIWebView so once the success handler was fired, I just had to dismiss the UIWebView/ pop navigation controller. If you go to safari, you'll have a ball-ache getting back into your app.

It doesn't go to safari, that's looked down upon by Apple. You need to
create a web based credential from YouTube and then review the example.
On Friday, February 12, 2016, mylogon341<EMAIL_ADDRESS>wrote:

I used a UIWebView so once the success handler was fired, I just had to
dismiss the UIWebView/ pop navigation controller. If you go to safari,
you'll have a ball-ache getting back into your app.
—
Reply to this email directly or view it on GitHub
https://github.com/BHughes3388/BAHYouTubeOAuth/issues/4#issuecomment-183336597
.

Ah. I couldn't tell from his screenshot whether or not he had it open in the app (as per default) or had decided to try and open with safari.
Ignore me.


Can't detect card type

Hi
I have problems when using this source
if let cardType = cardNumber.suggestedCardType() {
print("Fond Card Type")
}
But when I input card number is: 5555 5555 5555 4444
This code can't get card type
Please help me.
Thanks,

Fixed it by remove space characters
Thanks,


Extension causes high cpu load

Issue Type: Performance
Extension Name: LiveServer
Extension Version: 5.5.1
OS Version: Windows_NT x64 10.0.17134
VSCode version: 1.31.1

:warning: Make sure to attach this file from your home-directory: C:\Users\sikip\ritwickdey.LiveServer-unresponsive.cpuprofile.txt :warning:
Find more details here: https://github.com/Microsoft/vscode/wiki/Explain:-extension-causes-high-cpu-load

Hello. few questions!!,
When you're getting this issue? after load of vscode or after clicking to Go Live ?
Is this happen every-time ? or random ?
Please reply here https://github.com/ritwickdey/vscode-live-server/issues/278
Duplicate of https://github.com/ritwickdey/vscode-live-server/issues/278

[Note: This issue is closed by a javascript code (written by me).
https://gist.github.com/ritwickdey/36682dabe4a992c57e4562c935bfbbdd ]

Thank You.


Dependency update

Currently npm (v.3.8.8, node 4.4.3) throws an error when installing this module due to an old dependency:
npm WARN<EMAIL_ADDRESS><EMAIL_ADDRESS>install: `node-gyp configure build`
npm WARN<EMAIL_ADDRESS>Exit status 1

Dependency tree:
+--<EMAIL_ADDRESS>| +--<EMAIL_ADDRESS>| `--<EMAIL_ADDRESS>|   +--<EMAIL_ADDRESS>|   | +--<EMAIL_ADDRESS>|   | `--<EMAIL_ADDRESS>|   `--<EMAIL_ADDRESS>|     +--<EMAIL_ADDRESS>|     `-- UNMET OPTIONAL DEPENDENCY<EMAIL_ADDRESS>
I updated all dependencies and the tests run fine. Please publish a new version to npm :)

Cool, thanks for the updates!


Accel: Auto-detect accelerated codecs based on settings

This is a checkpoint of my work to try to add auto-detection of hardware accelerated codecs and some cleanup work I did along the way.  This is working for me  but my requirements are too specific so I'm moving onto my own solution and won't have time to shepherd this PR though.  This is just putting it out there in case you want any of what I've done here.
Hope some if it can help!

This branch was difficult to merge due to overhauling lots of core systems but I did merge in more of the core functionality (minus migrating to a makefile system)
Would still be very interested in a pull request for that as its not something I'm familiar with


[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed

Hi,
I am trying to connect a ROS device to AWS IoT Core, I have followed the docs:

Create a Thing
Register a Device
Configure Your Device

I created and downloaded the certificates, the mqtt_bridge package is working well, and finally I have made the changes in:
aws_iot_params.yaml
tls:
  ca_certs: certs/amazonRootCA1.pem
  certfile: certs/certificate.pem
  keyfile: certs/private.pem
connection:
  host: ENDPOINT.iot.us-east-1.amazonaws.com

And aws_iot_bridge.launch
<rosparam param="mqtt/tls/ca_certs" subst_value="true">$(find aws_iot_mqtt_bridge)/config/certs/amazonRootCA1.pem</rosparam>
<rosparam param="mqtt/tls/certfile" subst_value="true">$(find aws_iot_mqtt_bridge)/config/certs/certificate.pem</rosparam>
<rosparam param="mqtt/tls/keyfile" subst_value="true">$(find aws_iot_mqtt_bridge)/config/certs/private.pem</rosparam>

The amazonRootCA1.pem file has this data and the ENDPOINT information comes from the output of aws iot describe endpoint (AWS CLI)
Finally, here is my file tree
aws-iot-bridge-example
├── aws_iot_mqtt_bridge
│   ├── CMakeLists.txt
│   ├── config
│   │   ├── aws_iot_params.yaml
│   │   └── certs
│   │       ├── certificate.pem
│   │       ├── private.pem
│   │       └── amazonRootCA1.pem
│   ├── launch
│   │   └── aws_iot_bridge.launch
│   ├── LICENSE.txt
│   ├── NOTICE.txt
│   ├── package.xml
│   ├── README.md
│   └── rosdep
│       └── mqtt-bridge.yaml
├── CODE_OF_CONDUCT.md
├── CONTRIBUTING.md
├── LICENSE
└── README.md

Unfortunately I have this error:
SUMMARY
========

PARAMETERS
 * /mqtt_bridge/client/protocol: 4
 * /mqtt_bridge/connection/host: ENDPOINT.io...
 * /mqtt_bridge/connection/keepalive: 60
 * /mqtt_bridge/connection/port: 8883
 * /mqtt_bridge/mqtt/client/protocol: 4
 * /mqtt_bridge/mqtt/connection/host: ENDPOINT.io...
 * /mqtt_bridge/mqtt/connection/keepalive: 60
 * /mqtt_bridge/mqtt/connection/port: 8883
 * /mqtt_bridge/mqtt/tls/ca_certs: /home/dftossem/ca...
 * /mqtt_bridge/mqtt/tls/certfile: /home/dftossem/ca...
 * /mqtt_bridge/mqtt/tls/keyfile: /home/dftossem/ca...
 * /mqtt_bridge/mqtt/tls/tls_insecure: False
 * /mqtt_bridge/mqtt/tls/tls_version: 5
 * /mqtt_bridge/tls/ca_certs: certs/amazonRootC...
 * /mqtt_bridge/tls/certfile: certs/XXXXXXXX-...
 * /mqtt_bridge/tls/keyfile: certs/XXXXXXXX-...
 * /mqtt_bridge/tls/tls_insecure: False
 * /mqtt_bridge/tls/tls_version: 5
 * /rosdistro: melodic
 * /rosversion: 1.14.5

NODES
  /
    mqtt_bridge (mqtt_bridge/mqtt_bridge_node.py)

auto-starting new master
process[master]: started with pid [13538]
ROS_MASTER_URI=http://<IP_ADDRESS>:11311

setting /run_id to 6f899a16-8927-11ea-8a33-3c9509c5da29
process[rosout-1]: started with pid [13549]
started core service [/rosout]
process[mqtt_bridge-2]: started with pid [13556]
Traceback (most recent call last):
  File "/home/dftossem/catkin_ws/src/mqtt_bridge/scripts/mqtt_bridge_node.py", line 9, in <module>
    mqtt_bridge_node()
  File "/home/dftossem/catkin_ws/src/mqtt_bridge/src/mqtt_bridge/app.py", line 56, in mqtt_bridge_node
    mqtt_client.connect(**conn_params)
  File "/home/dftossem/.local/lib/python2.7/site-packages/paho/mqtt/client.py", line 937, in connect
    return self.reconnect()
  File "/home/dftossem/.local/lib/python2.7/site-packages/paho/mqtt/client.py", line 1100, in reconnect
    sock.do_handshake()
  File "/usr/lib/python2.7/ssl.py", line 828, in do_handshake
    self._sslobj.do_handshake()
ssl.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:727)

Thanks in advance

Do you also get this error when you run the following command?:
rosrun mqtt_bridge mqtt_bridge_node.py
Error:
Traceback (most recent call last):   File "/home/capeie/catkin_ws/src/mqtt_bridge/scripts/mqtt_bridge_node.py", line 9, in <module>     mqtt_bridge_node()   File "/home/capeie/catkin_ws/src/mqtt_bridge/src/mqtt_bridge/app.py", line 36, in mqtt_bridge_node     conn_params = mqtt_params.pop('connection') KeyError: 'connection'

Yes

I am also facing the same issue and had some progress by changing setting cert_reqs=ssl.CERT_NONE
I edited the mqtt_bridge package to test, following file: (catkin_ws)/src/mqtt_bridge/src/mqtt_bridge/mqtt_client.py
The following lines under #configure tls:
tls_insecure = True
client.tls_set(**tls_params) to client.tls_set("(path to amazonca1.pem)",certfile="(path to certfile)",keyfile="(path to private keyfile)",tls_version=5, cert_reqs=ssl.CERT_NONE)
It shows it is connected at the iot core console, however I am getting the following error when I run roslaunch aws_iot_mqtt_bridge ... :
[INFO] [1588176802.247191]: MQTT disconnected [INFO] [1588176803.473111]: MQTT disconnected [INFO] [1588176804.707820]: MQTT disconnected [INFO] [1588176806.024323]: MQTT disconnected [INFO] [1588176807.250039]: MQTT disconnected [INFO] [1588176808.481376]: MQTT disconnected
Kindly help

Update: Error continues :(

Alternative: Use AWSIoTPythonSDK

Go to AWS IoT Core
Click 'Onboard'
Click 'Get started' in Onboard a device
3.1. Register a device
3.2. Download a connection kit
Go to Downloads and Unzip the folder
Open a terminal and go to the downloaded folder path

cd connect_device_package/
chmod +x start.sh
./start.sh

The final step of the ./start.sh command shows a successful conection to AWS IoT using MQTT and publishig sdk/test/Python topic:
Received a new message:
{"message": "Hello World!", "sequence": 0}
from topic:
sdk/test/Python

What now? Create a ROS node or adapt ROS mqtt node

Good news, I did it (publish).

Clone in your ROS workspace

cd ~/catkin_ws/src
git clone https://github.com/dftossem/mqtt_bridge -b aws_iot_ros

Run setup.sh to install AWSIoT Python SDK

cd mqtt_bridge
chmod +x setup.sh
./setup.sh

Change host and certificates parameters in config/params.yaml
Test
4.1. Build (catkin_make or catkin build)
4.2. Update source
source ~/catkin_ws/devel/setup.bash
4.3. Try roslaunch
roslaunch mqtt_bridge demo.launch
If no error appears go to you AWS IoT Core page and in the Test option use sdk/test/Python as Subscription topic
4.4. Publish the topic in your local machine
rostopic pub /ping std_msgs/Bool "data: true"
Verify the MQTT client response

INFO: There still are work to do such as receive messages from AWS IoT Core page (subscribe)

In my case, the rootCA.pem was invalid: https://stackoverflow.com/a/69291772/1705127


Added bmi calculator

What type of PR is this? (check all applicable)

[x] 🚀 Added Name
[ ] ✨ Feature
[x] 🌟 stared the repo
[ ] 🐛 Grammatical Error
[ ] 📝 Documentation Update
[ ] 🚩 Other

Description
Program to calculate you bmi and give the category based on your given input height and weight
Add Link of GitHub Profile

Harshit Mehra

please add hacktoberfest topic or hacktoberfest-accepted label

This PR has been excluded, it is saying this repository did not follow the hacktoberfest guidelines. Why ?

@djharshit I think he should add hacktoberfest2022 label


Analyze Subcommand

Analyze is a new subcommand which allows the user to sweep over PA (concurrency, request rate) or GAP (ISL, dataset entries) stimulus ranges using the following new CLI options: --sweep-type, --sweep-range, --sweep-list.
In addition to allowing the user to profile multiple configurations with a single command, GAP now saves the results, and has the ability to restore its state via the checkpoint JSON. This provides several advantages:

if a crash occurs you can rerun the command and pickup where you left off
provides an API to access the results which can be used by subsequent subcommands

Individual CSV reports are still generated in each of the artifacts directory locations as well as a top-level summary CSV combining all the profiled runs (showing p99 values only).

@nv-braf I think you forgot to clean up the old commits after rebase.

@nv-braf I think you forgot to clean up the old commits after rebase.

I don't think I did. This is a merge of all the commits that I've made for the past several months (to the analyze_branch) onto main.

My bad. I saw a few new commits mixed with old PR commits so I assumed this was another separate PR going into a feature branch.


Add standard demographic summary to place pages

Depends on #33

Need to update this with list of standard place-based metrics:

Population
Number of households
Population density
Geographic area
GVA

Poverty related stats:

Aggregate IMD
Number of children in poverty
Households in poverty
Unemployment

@ChristianSpence Where are we up to with this?

Just need to add unemployment for this to be completed

Good spot - had missed that.
Unemployment (along with economic activity and inactivity) for LAD upwards
(but not CAUTH or NORTH - that's for tomorrow) now in `data/labour-market'
On Mon, 17 Jul 2023 at 16:26, luke-strange @.***> wrote:

Just need to add unemployment for this to be completed
—
Reply to this email directly, view it on GitHub
https://github.com/open-innovations/jrf-insight/issues/34#issuecomment-1638375464,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABJ3WPJ777QYWLIFKQA562DXQVKTFANCNFSM6AAAAAAZARCQ5E
.
You are receiving this because you were mentioned.Message ID:
@.***>


ColorWheel object has no attribute 'sv_s'

Versions

Python: 2.7.15 (3.6.8)
OS: Ubuntu 18.04 LTS
Kivy: 1.11.1
Kivy installation method: pip (pip3)

Description
I am trying to display a ColorWheel by itself, without the picker. At first the program did not sublcass ColorWheel and the result was the same error. The subclassing involves corrections that I found at https://stackoverflow.com/questions/29199797/kivy-color-wheel. I Googled the error and found https://stackoverflow.com/questions/56097049/unable-to-use-colorwheel-without-loading-kv-attributeerror where the answer indicates that an issue should be submitted, but I don't believe the asker ever followed up.
Code and Logs
from kivy.uix.colorpicker import ColorWheel
from kivy.app import App

class AutonomousColorWheel(ColorWheel):
    def __init__(self, **kwarg):
        super(AutonomousColorWheel, self).__init__(**kwarg)
        self.init_wheel(dt = 0)

    def on__hsv(self, instance, value):
         super(AutonomousColorWheel, self).on__hsv(instance, value)
         print(self.rgba)

class ACWApp(App):
    def build(self):
        return AutonomousColorWheel()

if __name__=="__main__":
    ACWApp().run()

Here is the traceback
[INFO   ] [Logger      ] Record log in /home/user/.kivy/logs/kivy_19-11-03_11.txt
[INFO   ] [Kivy        ] v1.11.1
[INFO   ] [Kivy        ] Installed at "/usr/lib/python2.7/dist-packages/kivy/__init__.pyc"
[INFO   ] [Python      ] v2.7.15+ (default, Oct  7 2019, 17:39:04)
[GCC 7.4.0]
[INFO   ] [Python      ] Interpreter at "/usr/bin/python"
[INFO   ] [Logger      ] Purge log fired. Analysing...
[INFO   ] [Logger      ] Purge 7 log files
[INFO   ] [Logger      ] Purge finished!
[WARNING] [Deprecated  ] Python 2 Kivy support has been deprecated. The Kivy release after 1.11.0 will not support Python 2 anymore
[INFO   ] [Factory     ] 184 symbols loaded
[DEBUG  ] [Cache       ] register <kv.image> with limit=None, timeout=60
[DEBUG  ] [Cache       ] register <kv.atlas> with limit=None, timeout=None
[INFO   ] [Image       ] Providers: img_tex, img_dds, img_sdl2, img_pil, img_gif (img_ffpyplayer ignored)
[DEBUG  ] [Cache       ] register <kv.texture> with limit=1000, timeout=60
[DEBUG  ] [Cache       ] register <kv.shader> with limit=1000, timeout=3600
[DEBUG  ] [Cache       ] register <kv.lang> with limit=None, timeout=None
[DEBUG  ] [App         ] Loading kv <./acw.kv>
[DEBUG  ] [App         ] kv <./acw.kv> not found
[DEBUG  ] [Window      ] Ignored <egl_rpi> (import error)
[INFO   ] [Window      ] Provider: sdl2(['window_egl_rpi'] ignored)
[INFO   ] [GL          ] Using the "OpenGL" graphics system
[INFO   ] [GL          ] Backend used <sdl2>
[INFO   ] [GL          ] OpenGL version <3.0 Mesa 19.0.8>
[INFO   ] [GL          ] OpenGL vendor <Intel Open Source Technology Center>
[INFO   ] [GL          ] OpenGL renderer <Mesa DRI Intel(R) UHD Graphics 620 (Kabylake GT2) >
[INFO   ] [GL          ] OpenGL parsed version: 3, 0
[INFO   ] [GL          ] Shading version <1.30>
[INFO   ] [GL          ] Texture max size <16384>
[INFO   ] [GL          ] Texture max units <32>
[DEBUG  ] [Shader      ] Fragment compiled successfully
[DEBUG  ] [Shader      ] Vertex compiled successfully
[DEBUG  ] [ImageSDL2   ] Load </usr/lib/python2.7/dist-packages/kivy/data/glsl/default.png>
[INFO   ] [Window      ] auto add sdl2 input provider
[INFO   ] [Window      ] virtual keyboard not allowed, single mode, not docked
 Traceback (most recent call last):
   File "main.py", line 21, in <module>
     ACWApp().run()
   File "/usr/lib/python2.7/dist-packages/kivy/app.py", line 829, in run
     root = self.build()
   File "main.py", line 17, in build
     return AutonomousColorWheel()
   File "main.py", line 7, in __init__
     super(AutonomousColorWheel, self).__init__(**kwarg)
   File "/usr/lib/python2.7/dist-packages/kivy/uix/colorpicker.py", line 138, in __init__
     super(ColorWheel, self).__init__(**kwargs)
   File "/usr/lib/python2.7/dist-packages/kivy/uix/widget.py", line 361, in __init__
     rule_children=rule_children)
   File "/usr/lib/python2.7/dist-packages/kivy/uix/widget.py", line 469, in apply_class_lang_rules
     rule_children=rule_children)
   File "/usr/lib/python2.7/dist-packages/kivy/lang/builder.py", line 538, in apply
     rule_children=rule_children)
   File "/usr/lib/python2.7/dist-packages/kivy/lang/builder.py", line 707, in _apply_rule
     e), cause=tb)
 kivy.lang.builder.BuilderException: Parser: File "/usr/lib/python2.7/dist-packages/kivy/data/style.kv", line 1180:
 ...
    1178:
    1179:<ColorWheel>:
 >> 1180:    _origin: self.center
    1181:    _radius: 0.45 * min(self.size)
    1182:
 ...
 AttributeError: 'AutonomousColorWheel' object has no attribute 'sv_s'
   File "/usr/lib/python2.7/dist-packages/kivy/lang/builder.py", line 696, in _apply_rule
     setattr(widget_set, key, value)
   File "kivy/weakproxy.pyx", line 35, in kivy.weakproxy.WeakProxy.__setattr__
   File "kivy/properties.pyx", line 497, in kivy.properties.Property.__set__
   File "kivy/properties.pyx", line 839, in kivy.properties.ListProperty.set
   File "kivy/properties.pyx", line 544, in kivy.properties.Property.set
   File "kivy/properties.pyx", line 599, in kivy.properties.Property.dispatch
   File "kivy/_event.pyx", line 1214, in kivy._event.EventObservers.dispatch
   File "kivy/_event.pyx", line 1120, in kivy._event.EventObservers._dispatch
   File "/usr/lib/python2.7/dist-packages/kivy/uix/colorpicker.py", line 145, in on__origin
     self.init_wheel(None)
   File "/usr/lib/python2.7/dist-packages/kivy/uix/colorpicker.py", line 168, in init_wheel
     self.sv_s[self.sv_idx + r][0],

Any ideas on this issue? Im running into the same thing.
Python: 3.9.5
OS: MacOS
Kivy: 2.0.0
Kivy installation method: pip

As ColorWheel.__init__() declares the attribute self.sv_s (which appear to be a list of x, y coordinates).
But before that, it initialises its superclass - i.e. Widget.
While Widget is being initialised, it tries to set the origin which, in turn, implicitly calls ColorPicker.on__origin() (note: double underscore!?) which calls init_wheel() which relies on self.sv_s... which hasn't been initialised.
Potential fixes include:

ColorPicker.__init__() should set the value before calling super().__init__()
init_wheel() should not assume self.sv_s is set, and set it itself (or recalculate on the fly)

Oh, and bug confirmed on Windows 11, Kivy 2.2.1.

Fixed via #8492


template: Add bug template

Created template to help users report bugs.
Signed-off-by: Víctor Javier Díaz Garrido<EMAIL_ADDRESS>

Wrong branch, will fix. Sorry.


Build stack on Triggered state

Details

Project URL: Local RTD Instance

I try to start local instance RTD
All builds stack on Triggered

This issue is being marked as Community Effort. The core team will try to facilitate resolution with this issue, but without the resources to support external installations outside of our production environment, we must rely on the community to help.
You can read more information on our philosophy around supporting Read the Docs as an open source and volunteer run effort here: http://docs.readthedocs.io/en/latest/open-source-philosophy.html
Besides that, you also can use Stack Overflow for this problem and receive more help from the community.


helm ls - Error: Unauthorized

Many helm commands returns Unauthorized. I`m not sure what to do, or where to start debugging?
Example:
$ helm ls --debug
[debug] Created tunnel using local port: '45490'

[debug] SERVER: "<IP_ADDRESS>:45490"

Error: Unauthorized

Output of helm version:
$ helm version
Client: &version.Version{SemVer:"v2.12.3", GitCommit:"eecf22f77df5f65c823aacd2dbd30ae6c65f186e", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.12.3", GitCommit:"eecf22f77df5f65c823aacd2dbd30ae6c65f186e", GitTreeState:"clean"}

Output of kubectl version:
$ kubectl version
Client Version: version.Info{Major:"1", Minor:"14", GitVersion:"v1.14.6", GitCommit:"96fac5cd13a5dc064f7d9f4f23030a6aeface6cc", GitTreeState:"clean", BuildDate:"2019-08-19T11:13:49Z", GoVersion:"go1.12.9", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"14", GitVersion:"v1.14.6", GitCommit:"96fac5cd13a5dc064f7d9f4f23030a6aeface6cc", GitTreeState:"clean", BuildDate:"2019-08-19T11:05:16Z", GoVersion:"go1.12.9", Compiler:"gc", Platform:"linux/amd64"}

Cloud Provider/Platform (AKS, GKE, Minikube etc.):
On premise, Debian 9. Kubernetes installed with RKE (Rancher)

looks like u don't have right permission(RBAC)

@danielbjornadal How have you setup Tiller in your cluster? Has it access rights to get state/history information from configmaps/secrets in the cluster?

@alexandrsemak @hickeyma
Thank you both for responding.
I'm not sure how to check this. This have worked for almost 6-7 months, but now it suddenly stopped working. I don't know if this have anything to do with me upgrading from Kubernetes 1.13 to 1.14.

Have you checked tiller's logs?

How can I see the tiller log?

Check if Tiller is running:
kubectl get pods --namespace kube-system
Tiller pod name begins with the prefix tiller-deploy-
Get the logs for the Tiller pod:
kubectl logs <tiller-pod-name>

$ kubectl logs tiller-deploy-69458576b-4n58m --namespace kube-system
[main] 2019/08/29 12:28:39 Starting Tiller v2.12.3 (tls=false)
[main] 2019/08/29 12:28:39 GRPC listening on :44134
[main] 2019/08/29 12:28:39 Probes listening on :44135
[main] 2019/08/29 12:28:39 Storage driver is ConfigMap
[main] 2019/08/29 12:28:39 Max history per release is 0
[storage] 2019/08/29 12:35:41 listing all releases with filter
[storage/driver] 2019/08/29 12:35:41 list: failed to list: Unauthorized
[storage] 2019/08/29 12:37:25 listing all releases with filter
[storage/driver] 2019/08/29 12:37:25 list: failed to list: Unauthorized
[storage] 2019/08/29 12:37:46 getting last revision of "rancher"
[storage] 2019/08/29 12:37:46 getting release history for "rancher"
[storage/driver] 2019/08/29 12:37:46 query: failed to query with labels: Unauthorized
[storage] 2019/08/29 12:37:50 getting last revision of "rancher"
[storage] 2019/08/29 12:37:50 getting release history for "rancher"
[storage/driver] 2019/08/29 12:37:50 query: failed to query with labels: Unauthorized
[storage] 2019/08/30 06:22:50 listing all releases with filter
[storage/driver] 2019/08/30 06:22:50 list: failed to list: Unauthorized
[storage] 2019/08/30 06:24:28 listing all releases with filter
[storage/driver] 2019/08/30 06:24:28 list: failed to list: Unauthorized
[storage] 2019/09/03 06:52:20 listing all releases with filter
[storage/driver] 2019/09/03 06:52:20 list: failed to list: Unauthorized
[storage] 2019/09/03 06:52:29 listing all releases with filter
[storage/driver] 2019/09/03 06:52:29 list: failed to list: Unauthorized
[storage] 2019/09/03 06:52:31 listing all releases with filter
[storage/driver] 2019/09/03 06:52:31 list: failed to list: Unauthorized
[storage] 2019/09/24 05:09:32 listing all releases with filter
[storage/driver] 2019/09/24 05:09:32 list: failed to list: Unauthorized

It appears that tiller does not have the correct roles and rolebindings applied to its service account, so it is unable to perform basic functions like listing ConfigMaps (how helm stores information). I would look at the RBAC documentation and apply the correct roles and rolebindings to tiller. See https://helm.sh/docs/using_helm/#role-based-access-control for more information.

I get this when applying the rbac-config.yaml
I have not done anything to the roles before this problem occurred.
This problem started after upgrading from Kubernetes 1.13 to 1.14.
$ cat rbac-config.yaml
apiVersion: v1
kind: ServiceAccount
metadata:
  name: tiller
  namespace: kube-system
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
  name: tiller
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: ClusterRole
  name: cluster-admin
subjects:
  - kind: ServiceAccount
    name: tiller
    namespace: kube-system

$ kubectl create -f rbac-config.yaml
Error from server (AlreadyExists): error when creating "rbac-config.yaml": serviceaccounts "tiller" already exists
Error from server (AlreadyExists): error when creating "rbac-config.yaml": clusterrolebindings.rbac.authorization.k8s.io "tiller" already exists

$ helm init --service-account tiller --history-max 200
$HELM_HOME has been configured at ~/.helm.
Warning: Tiller is already installed in the cluster.
(Use --client-only to suppress this message, or --upgrade to upgrade Tiller to the current version.)
Happy Helming!

$ helm init --service-account tiller --upgrade --history-max 200
$HELM_HOME has been configured at ~/.helm.

Tiller (the Helm server-side component) has been upgraded to the current version.
Happy Helming!

$ helm ls --debug
[debug] Created tunnel using local port: '34354'

[debug] SERVER: "<IP_ADDRESS>:34354"

Error: Unauthorized

I deleted the Tiller deployment, service and secret, and reinstalled it with
kubectl -n kube-system create serviceaccount tiller

kubectl create clusterrolebinding tiller \
  --clusterrole=cluster-admin \
  --serviceaccount=kube-system:tiller

helm init --service-account tiller

Now it is working fine.

helm $HOME/.helm/ folder needs the tiller cert.pem, key.pem and ca full chain cert. Then only can the helm authenticate into the cluster.


Add a 'save failed by service' metric, as currently a counter is only…

… used to keep track of successful span saves
Signed-off-by: Gary Brown<EMAIL_ADDRESS>
Which problem is this PR solving?
Currently a counter is only available to record successfully saved spans. An error is reported if the write fails, but no counter is provided.
Short description of the changes
Add a counter to record the number of span write failures.

"save-failed-by-svc" is just a placeholder - happy to change to a better name.


Solve the problem when project's default charset is not utf-8

Fixes #3810.
Changes proposed in this pull request:

modified：AESShardingEncryptor.java

How about if the original string is not UTF8?

How about if the original string is not UTF8?

It will cause the result of decryption to be disorderly

How about if the original string is not UTF8?

The encryption uses utf-8 encoding, but the decryption does not specify the encoding, and the default system encoding is used. When our system defaults encoding is GBK , the correct result cannot be obtained

Can UTF8 solve all charset problems?
Do we need add a property key to let user provide the charset, just like aes.key.value?


IllegalArgumentException from Accumulo data provider

Andrew saw an error on his system, and stack trace looked like:
IllegalArgumentException: argument was null: Is null- arg1? true
...
ZooKeeperInstance (line 83)
AccumuloUtils.getGeoTables (line 688)
AccumuloMrsImageDataProviderFactory.exists (line 296)
DataProviderFactory$MrsImageLoader.findFactory (line 453)
...
getMrsImageDataProvider
It seems to be that the zookeeper setting was missing. We should check that it is set up in the mrgeo-accumulo.conf file correctly. And then we should check the configuration for the job itself to make sure that the accumulo settings are being included.

Closing for now. We can re-open or create a new issue if this comes again in the future.


[Update] Swift 3

I want to adapt to Swift 3 this project.
Please create branch swift-3 .

@fromkk I created branch swift3.0!

Currently exist branch for swift 3.0 ✅


mixed language target

Hi,
what would be the best way to handle targets which consist of more languages?
For example, using CppUTest for C uses C++ for the tests and test environment, but the implementation is done in C. You can see an example in my HP03S project, which compiles a test executable and a library (if you have CppUTest available), each file with the according compiler: cpp files witih g++, c files with gcc. This is handled in the Makefile.
Does it make sense to look up the compiler dynamically on runtime, depending on the extension of the source file?

Closing due too inactivity.


Test cases

These are really helpful. It would be nice to have small test cases that run in a few minutes on a low power dual core CPU. May also be worth indicating typical execution time for mdrun steps.

Hi,
I'm sorry I never saw this issue get raised - GitHub did not notify me about it at all.
What kind of test cases would you like to see? GROMACS has its own set of tests for integrity of the software; those prove that things are functioning in a far more comprehensive way than anything my tutorials would do.
Execution times are a bit beyond the scope of what I try to do with these tutorials, and vary so widely depending on available hardware and what type of compilation flags people use.

Will see if can create smaller test cases. Some of them require a reasonably powerful GPU, which may not be appropriate to use for a first tutorial.
People doing the tutorials could contribute information on how long they take to run, for example through a github pull request or similar.
Collection of performance information could also be automated for the integrity tests, though not sure many people would be comfortable with automated upload of performance information. These may be less useful for the typical user since the typical user will not examine all the results reported by an integrity test.

My experience so far:
the production run for lysozyme in water took ~40 min on 24 threads.
The same on 12 threads plus a GPU took ~3min.


Select and delete Camera commands in Notes timeline

Closed as this will be a part of #140 for now


Broken "Installation" link

At https://fastutil.di.unimi.it/ there is a sidebar link with anchor text "Installation".  It links to https://fastutil.di.unimi.it/#install but that anchor does not exist on the page.

Fixed, thanks.


Only trim leading empty lines, not tabs, when submitting #%% cells to the interactive window

Fix https://github.com/microsoft/vscode-jupyter/issues/2552
The webview interactive window used to trim the code to display in the UI https://github.com/microsoft/vscode-jupyter/blob/8f50e87f45943fe486cfbb1c61bbe9d5719ece91/src/datascience-ui/history-react/redux/reducers/creation.ts#L30-L31 so we lost this in the transition to the native interactive window. We 'fixed' this by trimming the code that we put into the NotebookCell, which caused #2552 since we removed all leading whitespace, not just leading empty lines https://github.com/microsoft/vscode-jupyter/blob/3aa51df81793c2e45c30b5ec8324f16f26d4db4f/src/client/datascience/interactive-window/nativeInteractiveWindow.ts#L627
Since the cellhashprovider works with a copy of the original, unmodified source code, and not the actual document.getText(), this shouldn't cause (new) issues with debugging cells in the IW.

Codecov Report

Merging #7483 (064d8f5) into main (c0f2a08) will increase coverage by 0%.
The diff coverage is 100%.

@@          Coverage Diff          @@
##            main   #7483   +/-   ##
=====================================
  Coverage     64%     64%
=====================================
  Files        361     361
  Lines      22506   22506
  Branches    3422    3422
=====================================
+ Hits       14542   14603   +61
+ Misses      6742    6685   -57
+ Partials    1222    1218    -4

Impacted Files
Coverage Δ

...atascience/interactive-window/interactiveWindow.ts
52% <100%> (ø)

...tascience/jupyter/kernels/kernelCommandListener.ts
55% <0%> (-3%)
:arrow_down:

src/client/datascience/cellFactory.ts
62% <0%> (+2%)
:arrow_up:

...client/datascience/editor-integration/decorator.ts
76% <0%> (+2%)
:arrow_up:

...datascience/editor-integration/cellhashprovider.ts
70% <0%> (+3%)
:arrow_up:

src/client/datascience/dataScienceSurveyBanner.ts
63% <0%> (+8%)
:arrow_up:

...ient/datascience/jupyter/kernels/kernelProvider.ts
98% <0%> (+8%)
:arrow_up:

.../datascience/editor-integration/codeLensFactory.ts
86% <0%> (+15%)
:arrow_up:

...ence/editor-integration/cellHashProviderFactory.ts
100% <0%> (+29%)
:arrow_up:


Make querqy.rewrite.contrib.ShingleRewriterFactory#acceptGeneratedTerms readable

... just create a public getter so that we can check in tests if the property was applied through the new config approach (#76)

Fixed (via https://github.com/querqy/querqy/commit/23391c42adb195438da67d50af24a86b73296f3b)


Read-DbaTransactionLog

Command based off this bombass article: http://www.sqlserverlogexplorer.com/reading-sql-server-transaction-logs

Goes off to recycle another old presentation.
On 3 Mar 2017 6:33 p.m., "Chrissy LeMaire"<EMAIL_ADDRESS>wrote:
Command based off this bombass article: http://www.sqlserverlogexplorer.com/
reading-sql-server-transaction-logs
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/sqlcollaborative/dbatools/issues/903, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AFWoZjOWtKcpoQDcJcEnRmgW2Mip-zzdks5riFzggaJpZM4MSmCh
.

Ohh, you got this already?

Not in posh,  but did it with t-sql a few years ago
On 3 Mar 2017 6:50 p.m., "Chrissy LeMaire"<EMAIL_ADDRESS>wrote:

Ohh, you got this already?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/sqlcollaborative/dbatools/issues/903#issuecomment-284037995,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFWoZgOqsNRKCGKmboFXnYMyKPO7OFEVks5riGEPgaJpZM4MSmCh
.

Yep, this is just some embedded T-SQL 💃

What are you thinking we should do with the data? Just dump it into an internal table or pass it back as a PS object for analysis? Bring it back to PS may make adding some search features easier as we can then do multiple passes over the data with only one read from the server. So we'd end up with a suite of functions (read, analyse, find, etc)
And this is one function that should enforce 1 db at a time. Scanning all the tlogs is going to be a massive perf hit on a server. Probably also want to look at doing a check on the size of the live t-log before diving in. Could be generating a lot of IO pulling a couple of Gb back through.
And do you want fn_dump_dblog functionality including? This lets you parse old t-log backups in the same way, just 64 parameters rather than 2 :)
though there is a  problem with fn_dump_dblog :

Edit 8/15/13: Beware – Jonathan just found out from a customer system that uses this extensively that every time fn_dump_dblog is called, it creates a new hidden SQLOS scheduler and up to three threads, which will not go away (and will not be reused) until a server restart. It’s a bug that the SQL team is going to fix now we’ve alerted them to it. Use with caution.
Edit 5/15/15: It’s fixed in SQL Server 2012 SP2+ and SQL Server 2014. The fix won’t be backported any earlier.

https://www.sqlskills.com/blogs/paul/using-fn_dblog-fn_dump_dblog-and-restoring-with-stopbeforemark-to-an-lsn/
which could cause people issues if they're not patched up, think we should have a warning if we catch they're on a 'buggy' version

agreed on one at a time.  and also a prompt asking to proceed for unpatched versions. Initially, let's do a read then incorporate more after 1.0 what u think?

Sounds good. Read is dead dead simple for live log,  so there'll be a PR in for that in a bit.
Do the reading of older log files needs a bit more checking. I'll see if I can get something knocked together, but at least we'll have an initial stab for 1.0


Change portable target to dotnet

@rynowak
.NETPlatform/dotnet is the new target framework name for new world. UWP application can use a dotnet package. If that's the reason why portable library was originally added to this project.
I'll merge this change shortly so as to unblock the build.

Since it is breaking the build, I'm going to merge this now. Ping me if the change doesn't make sense then let's see what we can do.

:shipit:
For what it's worth, we want this library to be usable from EF, so we should have the same target frameworks as they do. If that allows us to remove the ifdefs, then that's super!

This change keep this repo's target frameworks lineup in line with EF.


♻  NICE-81 (ts) ESNext|Bundler; ✅ playwright(ts) jest (cjs) [b]

tsconfig

moduleResolution: Cannot move to Node16|NodeNext for next just yet

Bundler is a good interim step: https://www.typescriptlang.org/tsconfig#moduleResolution

module: Update from ES2020 to ESNext
Prep (most) files to have .js from externals and index from internals

testing

move playwright to ts
keep jest cjs for now

This pull request has been deployed to Vercel.

Latest commit:
ddb0c47

✅ Preview:
https://jeromefitzgerald-7hn6xh8fw-jerome5.vercel.app

🔍 Inspect:
https://vercel.com/jerome/jeromefitzgerald/9z4sdTPANYFLZJr1uTc5GfUnvRAr

View Workflow Logs


feat: Track size for ParquetMetadata

Which issue does this PR close?
N/A
Rationale for this change
Weight ParquetMetadataCache by metadata size.
What changes are included in this PR?
Adds ParquetMetadata::new_with_size to construct a ParquetMetadata tracking size. Updates footer::parse_metadata to track the metadata (disk) size explicitly.

Thanks Alex!


Added deprecation notice to the Monitor fraction (SWARM-1696)

Documents SWARM-1696

[x] Have you followed the guidelines in our Contributing document?
[x] Have you created a JIRA and used it in the commit message?
[x] Have you checked to ensure there aren't other open Pull Requests for the same issue?
[x] Have you built the project locally prior to submission with mvn clean install?

Shouldn't we also change the swarm.fraction.stability of Monitor fraction to DEPRECATED?

+1 to changing the stability index.

@tradej can you update the pr to change the swarm.fraction.stability index?


Replace v-model with v-on:input and v-bind:value to fix issue with au…

This is a fix for the Vue issue created here:
https://github.com/vuejs/vue/issues/8231
It is also listed as an issue for this repository here: https://github.com/charliekassel/vuejs-autocomplete/issues/61
I've never created a pull request before, so let me know if there is something I am doing incorrectly that needs to be fixed.

Pull Request Test Coverage Report for Build 72

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 96.46%

Totals

Change from base Build 57:
0.0%

Covered Lines:
158

Relevant Lines:
162

💛  - Coveralls


Daffodil 2643 tdml logs

TDML unit tests can now capture and look for logs
Like they do for warnings and errors, logs completed through log4j are
captured and can be required in the tdml test cases. The root logger
level is by default warning and when a tdml test is run, that level is
changed to info in order to capture logs. Tests were added to
demonstrate the feature as well as how it works in conjunction with
warnings and errors. Library dependencies were updated to give tdml-lib
access to log4jcore libraries needed to make an abstractappender
DAFFODIL-2643

After your next commit, wait for the CI tests to finish so we can check whether the single windows error was a fluke or not:
[error] Test org.apache.daffodil.tdml.TestTDMLRunnerLogs.test_unparserLogWhenExpectingError failed: org.apache.daffodil.tdml.TDMLExceptionImpl: (Implementation: daffodil) "Diagnostic message(s) were expected but not found."
[error] Expected: dfdlx:trace
[error]  No diagnostic messages were issued., took 0.65 sec

It will be good to run the CI tests two more times (after your next commit, and then again after your squashed commit).

The TDML runner needs log4j core, so the CLI will because it can run TDML tests. But Daffodil proper, used via API as it would be when embedded into a system, should not need this logger specified. That tradeoff feels ok to me.

Good point. So it seems in that case the new log4j-core API should not be part of the core dependencies, but instead should be added only to the tdmlLib project, similar to how we add it to the CLI? So something like:
Dependencies.scala
class Dependencies {
  ....

  lazy val tdml = Seq(
    "org.apache.logging.log4j" % "log4j-core" % "2.17.2"
  )
}

build.sbt
lazy val tdmlLib = Project(...)
                   ...
                   .settings(libraryDependencies ++= Dependencies.tdml)

Please resolve everyone's comments, then we can merge your pull request.


This is now broken on my strip. Christmas update worked fine.

Scroll and Energy crash the program when I click on them. All other visualization options dont look correct. Random pixels will change colors but it doesn't look anywhere close to where it was before. Is there any way I can give you more info to help debug?

Duplicate post my bad.


Camera Plugin : Preserve pitch on compass look not working

Describe the bug
After this morning's update, the "Preserve pitch on compass look" option has no effect, whether enabled or disabled. The camera will still reset to a horizontal view after looking any direction.
To Reproduce

Activate the Camera plugin and toggle the "Preserve pitch on compass look" option
Set the camera to a clear vertical angle
Right Click the compass and select any "Look *" option

Expected behavior
The camera vertical angle doesn't change, only the cardinal direction.
Resulting behavior
The camera vertical angle is reset to a horizontal value.
Environment (please complete the following information):

OS: Windows 10
RuneLite version: 1.7.12
Launcher version: 2.1.6

Wait for the update


Nd4j dot product behaves differently from Numpy.

In Numpy the dot product's behaviour is documented here:
https://docs.scipy.org/doc/numpy/reference/generated/numpy.dot.html
For 2D arrays:
a = np.arange(12).reshape(3,4)
b  = np.arange(12).reshape(4,3)
a.dot(b)
gives the matrix product as documented:
array([[ 42,  48,  54],
[114, 136, 158],
[186, 224, 262]])
In Nd4J we have no javadocs for dot. But we get quite a different result for 2D Arrays:
int[] shape = {3, 4};
INDArray x = Nd4j.arange(12).reshape(shape);
int[] shape2 = {4, 3};
INDArray y = Nd4j.arange(12).reshape(shape2);
System.out.println(x);
System.out.println(y);
[[         0,    1.0000,    2.0000,    3.0000],
[    4.0000,    5.0000,    6.0000,    7.0000],
[    8.0000,    9.0000,   10.0000,   11.0000]]
[[         0,    1.0000,    2.0000],
[    3.0000,    4.0000,    5.0000],
[    6.0000,    7.0000,    8.0000],
[    9.0000,   10.0000,   11.0000]]
System.out.println(dot(x, y));
506.0000
For 1D arrays Numpy and Dl4J give the same result:
a = np.arange(12)
b  = np.arange(12)
a.dot(b)
506
INDArray x = Nd4j.arange(12);
INDArray y = Nd4j.arange(12);
System.out.println(dot(x, y));
506.0000

Numpy dot on 2d arrays is matrix multiplication:
https://docs.scipy.org/doc/numpy/reference/generated/numpy.dot.html
We follow the (much more sane IMO) design of just having 'dot' be the full array dot product reduction:
https://en.wikipedia.org/wiki/Dot_product
Obviously that should be documented in the javadoc.
Consistency with numpy is good, but IMO this isn't a good design there and I'm worried we'll break user code relying on the old behaviour too if we change it now... open to considering it further though.

That looks good. Can please you assign me and stick a 'documentation' label on this issue?

Done


Stop  record   timeout

Stop  record   timeout .
post /_appmap/record.
The response may be large, and the forbidden record may take a long time.
It is recommended to allow the timeout period to be set, such as -1...

方法

In the Settings？


Feature-Request: cursorRedo / Soft Redo

There is a command called "cursorUndo" (name in command palette: "Soft Undo") that undo's cursor and selection movements.
There should be a matching "cursorRedo" (name in command palette: "Soft Redo") to redo those movements after undoing with "cursorUndo".
VSCode Version: 1.38.1
OS: Windows

It is not related to the suggested duplicates.

I am working on this. PR will be submitted soon.

I would like to propose a feature request to allow use of remote development feature of VScode when using remote Jupyter notebooks
Currently, to be able to execute remote Jupyter notebooks in VSCode, you need to have the Python runtime installed on your local machine.
To get the same benefits of remote VS Code development such as not requiring to install Python runtime, the Python Jupter remote execution should be able to run similar to a remote VS Code development environment.
Currently this works when you SSH to a box but it would be helpful if this can also be initiated when a remote Jupyter notebook is connected to so that the cells are run remotely rather than in local runtime
This will effectively make VS code use the remote runtime for the Jupyter notebooks rather than the local runtime removing the need to have Python installed locally for this use case.

@ejazr83
Cool cool but what does it have to do with my cursor redo feature request?
Did you mean to report a new issue?


Update baignades.md

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


can't support Spring Boot(Embedded Undertow)?

Hi Pinpoint Team,
Thanks very much for your support.
Now, we use Spring boot start with Undertow. I want to monitor our application(Spring boot start with Undertow) with Pinpoint. But there aren't any requests in pinpoint-web, it's already registered to Pinpoint.
can't support "Spring Boot(Embedded Undertow)" module?

Pinpoint version: 1.7.3

Same problem here

Hi @rambolijian @dionatanribeiro
Undertow has just been merged a few days ago (#4446, #4447) and along with it, SpringBoot's embedded Undertow will be available in 1.8.0.

duplicate : #1563

@Xylus @emeroad
Can I ask when will you release 1.8.0? Because we want to wait for this version to support undertow. otherwise we will use tomcat instead of undertow.
Thanks again!

@rambolijian RC version should be released very soon.


Use concrete Factory class for customizers

so that auto configuration captures properly.
Currently, Customizer<R4JCircuitBreakerFactory> bean is not autowired.  This means ReactiveR4JCircuitBreakerFactory#configureCircuitBreakerRegistry is not available without casting from CircuitBreakerFactory<R4JConfigBuilder.R4JCircuitBreakerConfiguration, R4JConfigBuilder> to R4JCircuitBreakerFactory. This is not convenient and could cause misusage.
To fix this issue, this pr uses concrete concrete Factory class for customizers in auto configurations.
Actually, @Bean public Customizer<HystrixCircuitBreakerFactory> customizer() is used in HystrixCircuitBreakerIntegrationTest. I found customizers were not respected and integration tests did not make sense. It did not guarantee that customizers were used. Timeout for normal did not happen because it was faster than default timeout (1s) and timeout for slow happened because it was slower than default.
This pr also fixes sleeping times.

mvn test fails on my laptop though test tests get green on IntelliJ IDEA ...
[ERROR] Failures:
[ERROR]   ReactiveHystrixCircuitBreakerIntegrationTest.testNormal:138 expected:<[normal]> but was:<[fallback]>

ReactiveR4JCircuitBreakerFactory#configureCircuitBreakerRegistry is not available without casting from CircuitBreakerFactory<R4JConfigBuilder.R4JCircuitBreakerConfiguration, R4JConfigBuilder> to R4JCircuitBreakerFactory

Are you basically trying to supply your own CircuitBreakerRegistry?  If so I think we should be creating a bean of this type and passing it as a parameter to the constructor.

Are you basically trying to supply your own CircuitBreakerRegistry? If so I think we should be creating a bean of this type and passing it as a parameter to the constructor.

I'd like to consume CB events.
https://resilience4j.github.io/resilience4j/#_consume_emitted_circuitbreakerevents
Since there is no way to configure a CircuitBreaker instance at this moment, I tried to create my own  CircuitBreakerRegistry as describe in
https://github.com/spring-cloud-incubator/spring-cloud-circuitbreaker/pull/4#issuecomment-460037640 . I don't think it's a convenient way.

I am going to close this as I think it has been covered in other PRs


Support for fasthttp

I would like to have support for fasthttp. I have made a try at fixing it, PR coming soon

One could fix the compatibility issue maybe with overloading the method for each framework, but I was thinking that there might be many frameworks this is useful for, so extracting the library dependent stuff to special packages might be in order.

What do you mean by "support for fasthttp"? What needs to be fixed? The library can be used anywhere by just importing it. Can you please explain what you are trying to do?

the library github.com/valyala/fasthttp is  a failry common http server that is not using the standard library. They access the headers differently.

This seems wrong and does not follow Go guidelines. Internals should not be exposed outside of the package. Can you provide examples of other projects doing this just to be compatible with fasthttp and the documentation which states that this is needed to be compatible (and how it is used)?

This seems wrong and does not follow Go guidelines. Internals should not be exposed outside of the package. Can you provide examples of other projects doing this just to be compatible with fasthttp and the documentation which states that this is needed to be compatible (and how it is used)?

OK. I'll rework it differently. Let me know what you think of that approach

OK. I'll rework it differently. Let me know what you think of that approach


bugfix: skipped tests were run using autorun+retire

Fixes #139

This is actually a design decision: I want to leave as much logic to the adapters as possible. So you should filter out the skipped tests in your adapter if your test framework doesn't do that for you.

Would you change the name of my adapter in the next version pls ^^

I already did ;)


Allow all tags to have a payload, so all can drop a replacement for self.

You still are tied to the old java CodeStripper tags for the replacewith feature. Implementing this could drop that need.
If you allow all tags to have a playload by default, eg
   //cs:remove:start:// TODO added

Then you can easily (with a regex ;-)) drop the old style tags from all solutions.
That is replace all
//_Start Solution::replacewith::_//TODO
with //sc:remove:start://TODO
where the regex would be ///Start Solution::replacewith::/
a sed -i strcipt can then do the trick.

There is built-in support for the legacy tags.
The reason I don't support payload on the remove tag (for now), is because having tags on the start and the end makes it difficult to see what is being replaced. I do agree if there is only one line that gets added that it is easier to have a payload.


GFX: sort versions, flags to return the highest version we support in…

… caps advertise
I have run into some clients(mainly older mstsc) that did not work with GFX because missing capabilities.

Great fix! One comment that we could probably consolidate the switch statements to be less DIY-ey

Yea, my mac cloent lists caps version 0x000b0101, I don't know what that is.

Ask ChatGPT!

hehe
Jay
what is RDP GFX version 0x000b0101
ChatGPT
The Remote Desktop Protocol (RDP) GFX version 0x000b0101 refers to a specific version of the graphics capabilities in the RDP protocol. In this context:
"0x000b" indicates the major version.
"0101" indicates the minor version.


which sector changes

Make changes to sole trader - which sector you work in, to redirect to correct pages. Username to appear on the top. Refactored to make the view reusable in other journeys. No unit tests written as its already there.

CI: No security warnings found

CI: No security warnings found


Changes to consider with Java8?

Just starting to learn Java.  My company barely moved from 7 to 8.  Wondering what things I would need to be considerate of when following this tutorial if trying to implement with Java 8?

I don't know if I get what you mean.
If you're asking if this application can be run with Java 8, sure, I think there's nothing specific to Java 9. I just used Java 9 because, at the moment, that was the latest version of Java.
Well, maybe you just need to change the java.version property in the pom.xml file to 1.8 😃


Define 'name' field for /delete-node/ and /delete-property/

Minor change, especially as there's very little to these nodes, but it's a little nicer to work with than array access.
@joelspadin semi-related, do you have any thoughts about including generated files in versioning? I remember reading something about them being expected with some tree-sitter tooling but it means anytime there's more than one pull request in flight you end up with merge conflicts. In my case I have a different implementation of one feature and another that hasn't been merged in yet so I've been trying to maintain sets of changes across branches which I guess only works because I don't need to change things often.

do you have any thoughts about including generated files in versioning?

I don't really like it either, but based on https://github.com/tree-sitter/tree-sitter/issues/730, it sounds like this is currently done because it lets other tools just clone the repo and then compile the .c files. I'll gladly change this if they ever make a better system for this (seems unlikely given that the last update on this was three years ago).

Looks good to me. Thanks!


Align @Column type parameter to match the Sequelize

See #594 for an example. This PR allows to pass any type allowed by the Sequelize to @Column annotation.

Sequelize seems to allow string as a type (e.g. @Column('STRING')), but there is a test, which fails in this case. Shall I also allow this and change test or keep it as it is now?
I'm not sure how to add a test for the @Column(ARRAY(STRING)) fix as tests seems to run against Sqlite and it does not support ARRAY type. Any suggestions?

Fixes #594

@devoto13 Thanks for fixing this. Regarding 1. what test fails here? According to travis all tests get passed. Regarding 2., we could add a types folder to the test dir and just compile the files in there in order to test the typings. Since this is only think we want to test here: The typings. What do you think?

This one. Since string is allowed 'abc' will be considered a data type as well. See the second commit in the PR for the change I'm talking about.

Good idea! Added a spec, which will fail compilation if does not compile.

Good Job!


Google Sign-In

Please add support for using google apps accounts for logon.

So this feature was added? Or just the label was removed?

release/future label was converted to milestone Unscheduled.
1.2 will include moving auth out of cattle and into a standalone golang project that will be more pluggable.  So we could potentially look at this after that, though TBH it seems like there is minimal community interest (and zero customer interest that I'm aware of).

I would love to have this feature.  All of the team has a Google Apps login but not everyone has a GitHub user.  Plus, when a developer leaves the company, they retain their GitHub user -- they would not retain access to their Google Apps login.
+1 this feature

For the same reason as @sjwoodr it would be nice to have, I wouldn't expect permissions to be handed on the Google Apps side, just the oauth and rancher to handle permissions, even if it was just domain locked e.g. @example.com

Also would be interested in this for customer uses.
Especially now that GitHub is adding SAML integration to their public offering (https://github.com/universe-2016).
This biggest issue here is account deprovisioning as you have to remove someone from the GitHub org which in my experience is something that doesn't quite happen in lock step with some leaving.

+1 We have lots of gapps accounts using rancher, makes account managment much easier!

+1 We would also like to see this

Hey guys, do you have plans to release this in the near future? We use g apps for our enterprise and would love to see our rancher cluster integrated with it.

@vincent99 any status update on this? Been a few months since an update and was curious.

Nothing new, we still have no plans to add this without a customer driving it...

Hmm, noted. We are in the process of eval'ing Rancher and noticed it missing. It would make our lives much easier. We may be a customer if we go Rancher. So will definitely request if that happens :-)

+1 from another potential customer

Since it's apparently customer driven, is it not possible to just have Universal SAML? We were excited the release notes for 2.1.0 mentioned SAML. However after reading the docs, it's only for Ping Identity and KeyCloak. Which are services I have never heard of before, but some one must be using them enough to warrant the work.
G Suite integration would definitely be an easy win for the community, but understand if you are still abiding by only adding Auth providers for a customer request.

For Google Oauth https://github.com/rancher/rancher/issues/10053

Backend for this is ready

Verified this on rancher:master-head

Google Auth is enabled.
This feature can be enabled/disabled.
To enable this, input fields - Admin Email, Domain name, OAuth creds and Service account creds.
User is able to enable and disable google auth.
On enabling google auth from Rancher UI, user will be redirected to google page and be prompted to enter username and password. User will enter valid details and click on Allow.
User gets redirected back to Rancher UI with Google Auth enabled.

@sowmyav27 Testing out the master-head release, is there any doc on what Role to give for the service account? I am getting the following error which I presume is because of wrong permissions:
TestAndApply Error
[Google OAuth] testAndApply: server error while authenticating: Get https://www.googleapis.com/admin/directory/v1/groups?alt=json&domain=redacted.com&prettyPrint=false&userKey=redacted: oauth2: cannot fetch token: 401 Unauthorized Response: { "error": "unauthorized_client", "error_description": "Client is unauthorized to retrieve access tokens using this method, or client not authorized for any of the scopes requested." }

Also, what should be value of Admin email and Domain name in the rancher UI?
Thanks for the PR though! :D

@mr-karan There is an issue related to providing more instructions on the UI for the Service Account creds. https://github.com/rancher/rancher/issues/21389
@mrajashree Could you add your comments - as to the exact instructions to set up a Service Account and get the related creds?

@mrajashree Hi! Can you please let me know the instructions to create a SA, would be really helpful! I am stuck on this and would love to go live with the Google Auth :+1:
Again, thanks for the PR

@sowmyav27 @mrajashree Hi, can I have your attention on this please? :) I upgraded to the latest master release to try this feature, but due to the above mentioned roadblocks, unable to get this rolling. Do you mind documenting the instructions to setup google auth please?

@mr-karan The docs aren't up yet but this gist contains the instructions https://gist.github.com/mrajashree/9dc4cd8e11a9e813a96e713964c74ca9
Please let us know if that works :)


Correction for raw affiliation Department of Economics, CEE-M, Université Montpellier, CNRS, INRA, SupAgro, Université Paul Valéry Montpellier 3, Montpellier, France

Correction needed for raw affiliation Department of Economics, CEE-M, Université Montpellier, CNRS, INRA, SupAgro, Université Paul Valéry Montpellier 3, Montpellier, France
raw_affiliation_name: Department of Economics, CEE-M, Université Montpellier, CNRS, INRA, SupAgro, Université Paul Valéry Montpellier 3, Montpellier, France
new_rors: 051escj72;02feahw73;00qhdy563;00rwjvc96
previous_rors: 051escj72;02feahw73;00qhdy563
works_examples: W4233067192
contact: 9df884ba7f3a5f58698f7e65e60b6420:70fb447a6c066024ce2d11ffb6fafdad2c5b @ inrae.fr

This issue was accepted and ingested by the OpenAlex team on 2024-12-19. The new affiliations should be visible within the next 7 days.


Save config from menu

It'd be nice if there were a way to do basic configuration from within pt(i)python like if you change to Vi mode, or colorscheme choices and save those options. Additionally what is the option to set the code color scheme? In your example you have the UI option detailed as repl.use_ui_colorscheme('blue')

Hi @wldcordeiro,
Thanks for the feature requests. Saving the configuration from a running shell is difficult, because the configuration can be actual code. I'll think about what the best approach will be, but without promises.
The option for setting the code color scheme is use_code_colorscheme(...).
I updated the example config:
https://github.com/jonathanslenders/ptpython/blob/master/examples/ptpython_config/config.py#L71
Cheers,
Jonathan


Update to Akka 2.4.1

and don't support rejections

Fixed in https://github.com/krasserm/akka-persistence-cassandra/pull/128 and https://github.com/krasserm/akka-persistence-cassandra/pull/134


Convert to English

How to convert this to english. i tried to load an english pdf file but it  opened in Chinese language and it was not in readable format can you please help me. i want to open pdf  in english language

Do you mean app language?

yeah and also my english pdf is not opening in english language is converted or something

Its in english but but its converted to Chinese. can you help me with it??

@mjobanputra This reading ui only supports TXT format files, PDF format file is opened through the built-in PDF reader in this app. What I want to know is that your PDF file suffix is capitalized. In my code, it is not case sensitive. It may cause it to find the corresponding reader.
Or, can you send me this PDF file.

this is the pdf i'm trying to open
BlackBookOfComputerVirus.pdf

In my device, it can open normally.

and it can also be opened directly through the file manager.

Are you compiled “BookReader” project by the latest code?

i downloaded it before 3 days

i transferred it via wifi option in the app may be thats why it became txt from pdf file?
it shows as txt in file list

Aha. Wifi transmission only support TXT file，by default, the stream is saved as a TXT file, other types of files are not supported by it.

ohk so that was the problem....thanx for the solution :)

don't mention it~


Cannot close continuous scan

Hello,
Thank you for a wonderful plugin.
I have an urgent issue: i cannot exit the continuous can mode programmatically. Can you tell me how this can be achieved please?
thanks.

Hi!
Found new plugin which supports multi scan checkout below link
fast_qr_reader_view

@nicolasvahidzein
Thanks for reporting the issue. Closing the scanning programmatically is not supported currently.
I'm taking this issue into consideration. I'll keep you updated here.
Thanks

tracking changes of this issue!

Looks like cancelling continuous scan will cause my app to be exited unexpectedly.

Any updates on this issue please? we need to be able to exit programmatically or by pressing a button. Can you help us? Also how can we have the scan window not be an entire activity but just a portion of the current screen so we can show the barcodes being scanned?

@nicolasvahidzein
Sorry for the late reply.
Currently, exiting scanning programmatically is not implemented yet.

Any update on this ? Planning on supporting it ? Has it been analysed a bit ? too complicated ?
thanks

Any update on this ? Planning on supporting it ? Has it been analysed a bit ? too complicated ?
thanks

Same here, upvoting this last comment. Any updates?

Same here, upvoting this last comment. Any updates?

@AmolGangadhare , any update on how to redirect to another screen after streaming is done (in Flutter)? I have tried several times to redirect after getting the values but the camera seems to forcefully stay on foreground .

any updates??


form.html no longer writes to localStorage

When I submit a filled out contact from form.html, it should go to localStorage, but it doesn't.

I need this so I can test the tagline on the bubble (and get the sizing right). None of the demo data has taglines, and my test isn't working.
I think it's because we changed a variable to details.prop? Or not both the demo data and new data can populate contactArray??

the id makes it to contactArray, but object details get lost somewhere.

fixed


[FEATURE] Build the dynamic medium blog post section

Detailed description
Write code that fetches all the blog posts by devprotocol on medium, Then converts it into markup styled with Tailwind CSS
To be implemented in vue or astro
Styling to be done with Tailwind CSS
Dev Protocol Medium: https://medium.com/devprtcl
RSS Feed: https://medium.com/feed/devprtcl
Design to be achieved:

Design File available at figma
For more information/support/opportunities to contribute join our discord server
Context
To be implemented at: https://github.com/web3community/devprotocol.xyz/blob/main/src/pages/index.astro#L70-L76
Discussed on Discord
Possible implementation
Use this API: https://api.rss2json.com/v1/api.json?rss_url=https://medium.com/feed/devprtcl
Fetch it using: https://docs.astro.build/guides/data-fetching#fetch
If you are familiar to jsx, here is how to repeat the array into generating blog posts: https://docs.astro.build/core-concepts/astro-components#comparing-astro-versus-jsx
This is a example of somewhat how you have to build it:
---
const blogs = (await (await Astro.fetch('https://api.rss2json.com/v1/api.json?rss_url=https://medium.com/feed/devprtcl')).json())

// Let's assume the response were to be [{ title: 'Blog Post' }, img: '<img_url>'}, { title: 'Blog Post' }, img: '<img_url>'}]
---

{blogs.map(blog =>

{blog.title}

)}

Also use tailwindcss classes to style the components.
Note: This is just example markup, please use more structured and semantic markup. The response also might not be the one displayed since it was just for a example.
Additional information
Discussed on Discord with @mkubdev. Credits to them for the rss-parsing API idea
Code of Conduct

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

any update with this?

@vinzvinci Sorry, Still no updates. Will update you soon.


Plan to support Carthage?

Hi Badoo Team
Thanks a lot for this awesome library.
I have read the Readme and the blog post on your website. I also spent some time on the the Chatto project source code. It seems to be very well architected too. I am planning to use this in my project. However, it seems carthage not supported for now since I want to use both Chatto and ChattoAdditions. Do you have an estimate when carthage will be supporting two framework build from the same repo or do you have a plan to make Chatto(+Additions) carthage compatible? Maybe by separating them into different repo or combining them to one repo?
I think it might be a good idea to make them separate repos for now. So people still have the flexibility to only include Chatto. Are there any concerns of not keeping them in the same repo?
Thanks again!

+1

We do want to support carthage, but not at the cost of splitting the repo or merging the frameworks.  I opened issue https://github.com/Carthage/Carthage/issues/991 to see whether this restriction can be fixed.


Skip indentation of empty lines when indenting a selection.

Closes #41113

Thanks!

Cherry-picked for 3.2.3.


Remove obsolete Text.replaceWholeText method

Dears
According to a question i asked on gitter gwt channel about the elemental2.dom.Text where calling the method replaceWholeText will throw replaceWholeText is not a function exception, @niloc132 forwarded me to this documentation :
https://developer.mozilla.org/en-US/docs/Web/API/Text/replaceWholeText
and according to this this method is Obsolete and should not be included in the API.
Thanks

PR created https://github.com/google/closure-compiler/pull/2889

Thanks for the contribution


Log timestamp in logging formatter

How would this feature be useful?
I am looking at some long CI sessions and there is no way for me to know what is slowing the session down.
Adding a log timestamp prefix (optionally) can make it easier to determine that by looking at the time difference between subsequent log lines.
Describe the solution you'd like
import nox

nox.logger.pattern = "[%(asctime)s][%(cyan)s%(name)s > %(log_color)s%(message)s"

# everything normal from here.

Describe alternatives you've considered
Maybe a configuration file is in order.

Yup, I'm totally for this. I'd also be fine if we did this if --verbose is passed.

This was solved in https://github.com/theacodes/nox/pull/323


wallet not synching, NOT HDD or firewall related

hello. i downloaded the raiblocks wallet for linux. it is synchronizing ~ 1 block per minute(3 day average), but downloading at a much faster pace, so it will never be able to catch up. i have a M2 SSD, and all hdd benchmarks i do show record scores for hdd write speed, so i doubt that is the problem. also firewall is deactivated. i think the developer is BSing the community.... there is something wrong with the wallet/raitech devs are not open about. if 100% of users download the compressed blocks to avoid this issue then this is not a decentralized coin.... i will discourage anyone from looking at rai until these issues are resolved. cheers

Same problem here...
[2017-12-31 16:39:34.413169]: Connection established to [::ffff:<IP_ADDRESS>]:7075 [2017-12-31 16:39:36.776420]: Requesting account xrb_17euowegwiqqh8qskmgqkcja18itjtfu8w69w9wz83ko1uq6of5j9ekcfp94 down to<PHONE_NUMBER>000000000000000000000000000000000000000000000000000000 from [::ffff:<IP_ADDRESS>]:7075 [2017-12-31 16:39:39.266793]: Disconnecting from [::ffff:<IP_ADDRESS>]:7075 due to timeout [2017-12-31 16:39:39.266793]: Error initiating bootstrap connection to [::ffff:<IP_ADDRESS>]:7075: The I/O operation has been aborted because of either a thread exit or an application request [2017-12-31 16:39:39.301826]: UDP Receive error: An existing connection was forcibly closed by the remote host [2017-12-31 16:39:44.267556]: Disconnecting from [::ffff:<IP_ADDRESS>]:7075 due to timeout [2017-12-31 16:39:44.267556]: Error initiating bootstrap connection to [::ffff:<IP_ADDRESS>]:7075: The I/O operation has been aborted because of either a thread exit or an application request [2017-12-31 16:39:44.304592]: UDP Receive error: An existing connection was forcibly closed by the remote host [2017-12-31 16:39:44.384668]: Connection established to [::ffff:<IP_ADDRESS>]:7075 [2017-12-31 16:39:44.618891]: Requesting account xrb_17gp1nnthkksabwjf95o4zt33jo8qmhizmwk1utqydtak6gztqcddsyzsktz down to<PHONE_NUMBER>000000000000000000000000000000000000000000000000000000 from [::ffff:<IP_ADDRESS>]:7075 [2017-12-31 16:39:49.305355]: Connection established to [::ffff:<IP_ADDRESS>]:7077 [2017-12-31 16:39:49.307358]: UDP Receive error: An existing connection was forcibly closed by the remote host [2017-12-31 16:39:51.417367]: Requesting account xrb_17ieiqmoxts64qwk6njxiq6rnm1qx5za9ot7knkt6x1djzzemwzzbanfknc6 down to<PHONE_NUMBER>000000000000000000000000000000000000000000000000000000 from [::ffff:<IP_ADDRESS>]:7075 [2017-12-31 16:39:54.269084]: Disconnecting from [::ffff:<IP_ADDRESS>]:7075 due to timeout [2017-12-31 16:39:54.269084]: Error initiating bootstrap connection to [::ffff:<IP_ADDRESS>]:7075: The I/O operation has been aborted because of either a thread exit or an application request [2017-12-31 16:39:54.318131]: UDP Receive error: An existing connection was forcibly closed by the remote host [2017-12-31 16:39:56.652355]: Requesting account xrb_17kdoqrxr7txatxo4bcd8btthffuyuafop6s9nb3hettonw84p9dj7f6quno down to<PHONE_NUMBER>000000000000000000000000000000000000000000000000000000 from [::ffff:<IP_ADDRESS>]:7075 [2017-12-31 16:39:59.325908]: UDP Receive error: An existing connection was forcibly closed by the remote host [2017-12-31 16:39:59.384964]: Disconnecting from [::ffff:<IP_ADDRESS>]:7075 due to timeout [2017-12-31 16:39:59.384964]: Error receiving block type The network connection was aborted by the local system [2017-12-31 16:39:59.384964]: Disconnecting from [::ffff:<IP_ADDRESS>]:7075 because it didn't give us what we requested [2017-12-31 16:40:02.180628]: Requesting account xrb_17n8efx4scqfukgk8bgd86y6aniwnwfwe9khj7pbst71ykyajn5hxj6pyo1h down to<PHONE_NUMBER>000000000000000000000000000000000000000000000000000000 from [::ffff:<IP_ADDRESS>]:7075 [2017-12-31 16:40:04.328674]: UDP Receive error: An existing connection was forcibly closed by the remote host [2017-12-31 16:40:07.640829]: Requesting account xrb_17peq9zdmhab4s3rhw7dq1ezxf8xnmwp53uducc1bqax7i1j9be1id1muowm down to<PHONE_NUMBER>000000000000000000000000000000000000000000000000000000 from [::ffff:<IP_ADDRESS>]:7075 [2017-12-31 16:40:09.271382]: Disconnecting from [::ffff:<IP_ADDRESS>]:7075 due to timeout [2017-12-31 16:40:09.271382]: Error initiating bootstrap connection to [::ffff:<IP_ADDRESS>]:7075: The I/O operation has been aborted because of either a thread exit or an application request [2017-12-31 16:40:09.330439]: UDP Receive error: An existing connection was forcibly closed by the remote host [2017-12-31 16:40:09.602698]: Connection established to [::ffff:<IP_ADDRESS>]:7075 [2017-12-31 16:40:13.020954]: Requesting account xrb_17rcbsjusjo9eun1ot3xziwh3ibbxf3u6q9i3arhmab9jonmih1ptp7nrpb5 down to<PHONE_NUMBER>000000000000000000000000000000000000000000000000000000 from [::ffff:<IP_ADDRESS>]:7075 [2017-12-31 16:40:14.272146]: Disconnecting from [::ffff:<IP_ADDRESS>]:7075 due to timeout [2017-12-31 16:40:14.272146]: Error initiating bootstrap connection to [::ffff:<IP_ADDRESS>]:7075: The I/O operation has been aborted because of either a thread exit or an application request [2017-12-31 16:40:14.333205]: UDP Receive error: An existing connection was forcibly closed by the remote host [2017-12-31 16:40:15.801603]: Error initiating bootstrap connection to [::ffff:<IP_ADDRESS>]:7075: No connection could be made because the target machine actively refused it [2017-12-31 16:40:18.297981]: Requesting account xrb_17t9wysjj6t7a1y6ed7wmornoj1cwqnypruux8qbadqniidsmgwiuqwts577 down to<PHONE_NUMBER>000000000000000000000000000000000000000000000000000000 from [::ffff:<IP_ADDRESS>]:7075 [2017-12-31 16:40:19.272910]: Disconnecting from [::ffff:<IP_ADDRESS>]:7075 due to timeout [2017-12-31 16:40:19.272910]: Error initiating bootstrap connection to [::ffff:<IP_ADDRESS>]:7075: The I/O operation has been aborted because of either a thread exit or an application request [2017-12-31 16:40:19.334969]: UDP Receive error: An existing connection was forcibly closed by the remote host [2017-12-31 16:40:23.605037]: Requesting account xrb_17w9znqeqf48bpp9snsdxwfh13tsqhbwoodaj18sptgefwjwxe93juwse456 down to<PHONE_NUMBER>000000000000000000000000000000000000000000000000000000 from [::ffff:<IP_ADDRESS>]:7075 [2017-12-31 16:40:24.337735]: UDP Receive error: An existing connection was forcibly closed by the remote host [2017-12-31 16:40:28.594791]: Requesting account xrb_17y9jw5896qsezz7y19i57q4dnqcftseo36mbtkdg999cpr1ngr4cts3pxfg down to<PHONE_NUMBER>000000000000000000000000000000000000000000000000000000 from [::ffff:<IP_ADDRESS>]:7075 [2017-12-31 16:40:29.339499]: UDP Receive error: An existing connection was forcibly closed by the remote host [2017-12-31 16:40:33.933880]: Requesting account xrb_181a3mapmtzctafcdxuguxjhwgob9ry4z9qq95iftc31whk5nbio6pam1dxb down to<PHONE_NUMBER>000000000000000000000000000000000000000000000000000000 from [::ffff:<IP_ADDRESS>]:7077 [2017-12-31 16:40:34.275205]: Disconnecting from [::ffff:<IP_ADDRESS>]:7075 due to timeout [2017-12-31 16:40:34.275205]: Error initiating bootstrap connection to [::ffff:<IP_ADDRESS>]:7075: The I/O operation has been aborted because of either a thread exit or an application request [2017-12-31 16:40:34.341268]: UDP Receive error: An existing connection was forcibly closed by the remote host [2017-12-31 16:40:39.275972]: Disconnecting from [::ffff:<IP_ADDRESS>]:27697 due to timeout [2017-12-31 16:40:39.275972]: Error initiating bootstrap connection to [::ffff:<IP_ADDRESS>]:27697: The I/O operation has been aborted because of either a thread exit or an application request [2017-12-31 16:40:39.344037]: UDP Receive error: An existing connection was forcibly closed by the remote host [2017-12-31 16:40:39.387078]: Requesting account xrb_1845o5z9db3knyngumtub7uwy6wzrcyytsd8cmakduzbirad47ccbie4wtbd down to<PHONE_NUMBER>000000000000000000000000000000000000000000000000000000 from [::ffff:<IP_ADDRESS>]:7077
I sent 10XRB to my wallet and balance ist still at 0.
Here is the transaction link.. very few information:
https://raiblocks.net/block/index.php?h=4D900263C78FB553BCBCDF44BEEFDCB0F840B8AAA60D651AA0DB0E0E48D00AD4
Here is a picture from bitgrail.com:

@schollinator  could please send the content of your log files?
https://github.com/clemahieu/raiblocks/wiki/Log-files

Same problem, i sent the log file to you (donutloop) by email.

File attachments on issues and pull requests
https://help.github.com/articles/file-attachments-on-issues-and-pull-requests/
Log file from @Marc477
log_2017-12-31_12-42-30.3.log

Same problem here. I have left the wallet running on linux (ssd) for days but theres still 4mio blocks to be synced. Also I noticed that my data.ldb is 10.5 GB, shouldn't it be much smaller?

So? Any trouble in the log file? I thought you were part of the dev team when you asked for log file.

It may be unrelated to your issue, but my wallet was getting stuck syncing (on a much older laptop, but running an SSD). I just pulled the latest changes and rebuilt rai_wallet which now seems to be syncing again. It's still quite slow, but now syncing at about 6-7 blocks per minute right now.

Looks like I spoke too soon, it got stuck again after about 20 minutes.

I'm seeing UDP connections denied on my pfsense firewall from outside, port 7075 to random local ports.  Relaxing session timeouts seems to have helped, but I can still see plenty of denied connections.  I think there might be a problem with the way wallets handle UDP connections?


provide a way of linking to checkbox input fields

Is your feature request related to a problem?
When an error occurs, it is possible to create a summary at the top of the page listing all of the validation errors. When this method is used, it is helpful to provide direct links to the inputs with errors. Laravel's error array is keyed off of the inputs name. Because most hearth components also use the value of the name for their id it is easy to setup an anchor like #name to link to the related field. However, with <x-hearth-checkboxes /> the ids are suffixed with the input's value and the name field is suffixed with [].
Describe the solution you'd like
The first input could be generated without the value appended to the end, so that an anchor could be generated following the same pattern.
Describe alternative solutions you've considered
Alternatively, the author would need to do special handling for checkboxes to generate the link with the correct id format.

@greatislander I guess that could help to at least have something close and related to link to. It would be an improvement to allow for a quick implementation. However, I think ideally you'd want to hit the input itself. In my case, I worked around the issue by writing some logic to map keys from the error bag to the anchors.

In discussion, we concluded it's better to leave this to an implementer to decide. A good solution might be putting the checkboxes in a <fieldset> with an ID that matches the name and link to that.


rancher storage drivers don't work with some older OSes

Rancher Version: 1.2.2
Docker Version: 1.11.2
OS and where are the hosts located? (cloud, bare metal, etc): Amazon Linux AMI 2016.09 (4.4.35)
Setup Details: (single node rancher vs. HA rancher, internal DB vs. external DB) single node, internal DB
Environment Type: (Cattle/Kubernetes/Swarm/Mesos) cattle
Steps to Reproduce:

Launch the Rancher EBS/EFS/NFS template

Results:
time="2016-12-30T19:52:41Z" level=fatal msg="Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?"
Expected:
Plugin can communicate with the Docker daemon
This was reported in the forums

Available in v1.3.0-rc3 branch of rancher-catalog

For NFS , nfs version needs to be explicitly set now (can only be set to 4 now) and is a required parameter which was verified as part of closing - https://github.com/rancher/rancher/issues/7186

Rancher: v1.4.0-rc3
OS: Amazon Linux AMI 2016.09
I verified that (NFS/EFS/EBS) plugins can communicate with Docker daemon, the services started up successfully.


update clean-css version dependency

older versions of clean-css have a regex DOS vulnerability as report by npm audit
reference: https://npmjs.com/advisories/785
change to latest patched clean-css

Thanks 🍻
Sorry I've had very little time for open source right now.

Thanks, totally understand. Glad to help out when I can.


offlineimap: 7.3.2 -> 7.3.3

Semi-automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/offlineimap/versions.
meta.description for offlineimap is: "Synchronize emails between two repositories, so that you can read the same mailbox from multiple computers"
meta.homepage for offlineimap is: "http://offlineimap.org"
Updates performed:

Version update
Quoted meta.homepage for RFC 45

Compare changes on GitHub

Checks done (click to expand)

built on NixOS

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

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

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

found 7.3.3 with grep in /nix/store/ns6akq1n1fflbwd2kghbkipw8saj3iw0-offlineimap-7.3.3

directory tree listing: https://gist.github.com/7af6c727e21fce0d0f415f3fed298eb4

du listing: https://gist.github.com/b2366b40efd2a269e234548b538d1881

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

4 total rebuild path(s)
1 package rebuild(s)
1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)
First fifty rebuilds by attrpath
offlineimap

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/ns6akq1n1fflbwd2kghbkipw8saj3iw0-offlineimap-7.3.3 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

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

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

cc @endocrimes for testing.

I'll take a look at this later/tomorrow 👍


LiteLED issue with SK6812 and Xiao ESP32C3

I'm trying to drive a 81 LED's long SK6812 strip with LiteLED. With Adafruit neopixel library no issues but with LiteLED 1.2.0 random LED's light up with random colors.
I'm using the following code. See YouTube for result.
#include <LiteLED.h>

#define LED_TYPE        LED_STRIP_SK6812
#define LED_TYPE_IS_RGBW 0   // if the LED is an RGBW type, change the 0 to 1
#define LED_PIN 4     // change this number to be the GPIO pin connected to the LED
#define NUMPIXELS 81

LiteLED myLED( LED_TYPE, LED_TYPE_IS_RGBW, RMT_CHANNEL_0 );

void setup() {
    myLED.begin( LED_PIN, NUMPIXELS );
    myLED.brightness( 255 );
}

void loop() {
  myLED.clear(1);
  for (int a = 0; a < NUMPIXELS; a++) {
    rgb_t myColour = { .r = 0, .g = 40, .b = 0 };
    myLED.setPixel( a, myColour );
    myLED.show();
    delay(200);
  }
}

Hi. Thanks for the info. That's an "interesting" result.
I ran your code on an M5Stack ATOM MATRIX & it  worked as expected (25 pixels of WS2812 type in a row-by-row matrix).
I'd have to dig around to duplicate your setup with the Xiao ESP32C3.
In the mean time,  could you post:

the OS of your computer
the Arduino IDE version
the version of the Arduino-esp32 core being used.

Did you try power cycling the setup before uploading the LiteLED code?

Thanks for your reply.

Mac OS Sonoma on an M2 MacBook Air
Arduino IDE 2.3.2
I had to install version 2.0.11 of the esp32 boards because LiteLED requires version below 3.0.0.
Power cycling before uploading did not help.

OK.
Two things to try:

Add the line:
  delay( 200 );
after
  myLED.clear(1);
so the code would be:

#include <LiteLED.h>

#define LED_TYPE        LED_STRIP_SK6812
#define LED_TYPE_IS_RGBW 0   // if the LED is an RGBW type, change the 0 to 1
#define LED_PIN 4     // change this number to be the GPIO pin connected to the LED
#define NUMPIXELS 81

LiteLED myLED( LED_TYPE, LED_TYPE_IS_RGBW, RMT_CHANNEL_0 );

void setup() {
    myLED.begin( LED_PIN, NUMPIXELS );
    myLED.brightness( 255 );
}

void loop() {
  myLED.clear(1);
  delay( 200 );
  for (int a = 0; a < NUMPIXELS; a++) {
    rgb_t myColour = { .r = 0, .g = 40, .b = 0 };
    myLED.setPixel( a, myColour );
    myLED.show();
    delay(200);
  }
}

If that doesn't work, upgrade the arduino-esp32 core to v2.0.14 & try again. (Don't use core v2.0.15 - it is unstable.)

If it still doesn't work, I can try and replicate your setup - but that'll take a bit of time.

@oehoe
Ran through a series of tests.
Configuration:
XIAO ESP32C3
8 by 8 RGB LED panel , serpentine ordered, using WS2812 RGB LEDs ( I don't have an SK6812 panel.)
Separate 5V supply for the LED panel
100 ohm resistor between the data line and the DIN pin of the panel
Panel DIN driven via a level shifter from the XIAO.
With that setup and Arduino IDE settings of:
Board: "XIAO_ESP32C3"
Port: "your/board/port"
USB CDC On Boot: "Enabled"
CPU Frequency: "160MHZ (WiFi)"
Core Debug Level: "None"
Erase All Flash Before Sketch Upload: "Disabled"
Flash Frequency: "80MHz"
Flash Mode: "DIO"
Flash Size: "4MB (32Mb)"
Partition Scheme: "Default 4MB with spiffs (1.2MB APP/1.5MB SPIFFS)"
Upload Speed: "921600"
Programmer: "Esptool"
Your original code above worked as expected.
I even reduced the delay(200)  line to  delay(0) and it worked.
It also worked when setting CPU Frequency: "80MHz (WiFi)".
Likewise, with the CPU frequency at 160 MHz or 80 MHz and Flash Frequency: "40MHZ" it worked.
However, if I set the CPU frequency to any one of 40MHz, 20MHz or 10MHz, regardless of the Flash Frequency setting, it would fail.
Though in my case the failure mode was all LEDs illuminated at full brightness with r, g, b values of 255 each. I did not get the random patterns you demonstrated. That may be due to timing differences between the SK6812 and WS2812 LEDs.
So, assuming power consumption of the XIAO isn't a concern in your system, setting the CPU frequency either 80 or 160 MHz should resolve the issue. If not, try defining the panel as a different type.
FWIW, I also ran the tests defining the LED count as 81. Results were the same except of course there was an apparent delay as the extra data was being pushed to the non-existent LEDs.
Let me know how it goes.


Helm installation fails with timeout on k8s 1.16.x

Describe the bug
Helm chart installation gets timed out waiting for readiness probe on k8s 1.16.x
Readiness probe fails maybe because MutatingWebhookConfigurations is not created at all in k8s 1.16.x
works fine on k8s 1.18.x as expected on the same setup.
Expected behavior
Helm chart installation succeeds and all 3 pods of the deployment are in ready state
Optional: To reproduce
Minikube
cd connaisseur/
sudo minikube start --driver=none --kubernetes-version=v1.16.15
sudo chown -R $USER $HOME/.kube $HOME/.minikube
make install
sudo minikube delete

sudo minikube start --driver=none --kubernetes-version=v1.18.0
sudo chown -R $USER $HOME/.kube $HOME/.minikube
make install
sudo minikube delete

Microk8s
cd connaisseur/
sudo snap refresh microk8s --classic --channel=1.16/stable
sudo microk8s start
sudo microk8s enable dns
sudo microk8s config > ~/.kube/config
make install
sudo microk8s stop

sudo snap refresh microk8s --classic --channel=1.18/stable
sudo microk8s start
sudo microk8s enable dns
sudo microk8s config > ~/.kube/config
make install
sudo microk8s stop

Optional: Versions (please complete the following information as relevant):

OS: Ubuntu-18.04 on wsl2
Kubernetes Cluster: microk8s-1.16/stable OR minikube-1.14(k8s-1.16.15, vm-driver=none)
Notary Server: notary.docker.io
Container registry: registry.docker.io
Connaisseur: master
Other:

Optional: Additional context

Hi @akuma5157
I tried setting up Connaisseur on kubernetes 1.16 with minikube (docker driver, driver none does not work with my setup) and that worked.
Maybe pulling of the Connaisseur image took longer than the Bootstrap Sentinel Timeout, which can be changed here. Tldr of the ADR: To ensure Connaisseur Pods dont show ready, when the webhook does not exist, they need to check for it. Its existence would block deployment of Connaisseur though, so we have a special Pod to solve this chicken-egg problem that lives for 60s by default
If increasing the timeout solves your problem, we'd be interest to get that feedback and might decide to increase the default.
I'll also try the microK8s setup just to be sure, but wanted to give you quick feedback

I've also checked the setup on MicroK8s and for me it works. If increasing the timeout does not solve the issue, could you maybe share the output of kubectl get all -n connaisseur or the connaisseur pods' logs to help us pinpoint the problem.

Hi @Starkteetje ,
Thanks for the quick update.
It is indeed possible that something might be wrong with my setup as i was using it on wsl.
But i can assure you increasing the timeout did not work for me. I tried as high as 300. And also the default timeout on 1.18. Several times.
The pods were created immediately, and the logs showed 200 on both health and ready endpoints until the lifetime of bootstrap pod. And then ready started giving 500.
According to what i understood from the flask code, it checks the existence of the mutatingwebhookconfigurations object. Which wasnt present - i might be wrong here.
I did check kubectl get all, everything except the admissions controller object was created.
I will only be able to publish the logs next week as i am currently away from my system.
Please don't sweat it too much as the issue might fix itself with a fresh setup. 🤷

Yes, the Connaisseur pods check for both the existence of the webhook (to not show ready when they would not be queried in the event of a deployment) and whether they can reach the Notary server. If both are true, they will report ready. However, since the webhook would block the Connaisseur deployment itself, we cannot deploy the webhook before the pods. Hence the bootstrap pod that "covers" for a period allowing the Connaisseur pods to report ready and cause the webhook to be deployed if they're ready otherwise.
The pods reporting ready would signal that they're ready (except for potentially the webhook), in which case the webhook should have been deployed. With kubectl get all it unfortunately doesn't show webhooks. You'd have to run kubectl get mutatingwebhookconfigurations.admissionregistration.k8s.io to see them. However, from what you describe it sounds very much like the deployment of the webhook failed for whatever reason.
It is triggered by an install job that is triggered by helm as a post-install script. What I could imaging would be that somehow the initial Connaisseur deployment does not complete and hence helm does not execute the post-install script. So it would be interesting whether kubectl get deployments.apps shows a 3/3 ready deployment.
Let's see whether a fresh setup works or you run into the same issue. We'll be happy to hear back from you :)

Hey @akuma5157
since you did not come back to us, I'll assume your issue was resolved. Feel free to reopen if you have additional questions.