Misleading name

Hi,
I was a bit confused when finding this, because xrdp has been the name of another software project for a decade:
https://github.com/neutrinolabs/xrdp
Maybe you could consider changing the name of your project?
-nik

I wouldn't call it a misleading name; this project does what the name says it does, which is provide a remote desktop-like experience for X sessions. The project you linked does something similar though is fundamentally different in its functionality. If both projects did the same thing and were named the same, it may be a better reason to change this project's name.
There are very many projects on GitHub with the same name, each with vastly different purposes and applications. I don't see why that is a reason to change the project's name, unless it is violating some sort of copyright or whatever, which it isn't (and won't, since that's not how it works anyway).
Search for 'hook' on GitHub for example, and you find 12,698 (right now) with that same name.
In a nut shell; get over it and move on with your life.

I apologize for Frank's last line. We'll speak to him. Your request is reasonable. We're busy considering new names and will change it once we have come up with it.
Thanks for raising it.

On 12 Dec 2016, at 11:47 AM, Frank Allenby<EMAIL_ADDRESS>wrote:
I wouldn't call it a misleading name; this project does what the name says it does, which is provide a remote desktop-like experience for X sessions. The project you linked does something similar though is fundamentally different in its functionality. If both projects did the same thing and were named the same, it may be a better reason to change this project's name.
There are very many projects on GitHub with the same name, each with vastly different purposes and applications. I don't see why that is a reason to change the project's name, unless it is violating some sort of copyright or whatever, which it isn't (and won't, since that's not how it works anyway).
Search for 'hook' on GitHub for example, and you find 12,698 (right now) with that same name.
In a nut shell; get over it and move on with your life.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Hi,
thanks for considering it!
Frank, I do not think you HAVE to change the name. I do however think this case is somewhat special because "your" xrdp might be considered malware (I do not think it is) and people are too lazy to find out xrdp is not xrdp ;).
Please also note that I am not an author of "the other" xrdp.
Cheers,
Nik

How's it going?

Sorry for the long delay. I took my time considering new names and eventually lost the plot forgetting to actually change the name.
Having already done a conference talk and releasing the tool as XRDP, I feel renaming to something completely different may mislead people in the future. So before I pull the trigger, I would like some opinions on my first choice of a new repo name: XRDP.py
This way it will still show up in search results for XRDP but will be easily distinguished from the other xrdp.

ping


Fix internal worker exception due to artifact logging

Description
In an internal worker, log the artifacts in the local Giskard home. Server is able to locate them and provide them to the frontend.
Although this is not a common case in Giskard 2.0 anymore, because only external workers can run models and log the artifacts. However, this fixes the inspections of some inherited projects from the previous version, with mlWorkerType == MLWorkerType.INTERNAL.
In the frontend, the dataset.categoryFeature could be null for some reasons. A simple check is also performed before using it in Inspector.
Related Issue

Type of Change

[ ] 📚 Examples / docs / tutorials / dependencies update
[x] 🔧 Bug fix (non-breaking change which fixes an issue)
[ ] 🥂 Improvement (non-breaking change which improves an existing feature)
[ ] 🚀 New feature (non-breaking change which adds functionality)
[ ] 💥 Breaking change (fix or feature that would cause existing functionality to change)
[ ] 🔐 Security fix

Checklist

[ ] I've read the CODE_OF_CONDUCT.md document.
[ ] I've read the CONTRIBUTING.md guide.
[ ] I've updated the code style using make codestyle.
[ ] I've written tests for all new methods and classes that I created.
[ ] I've written the docstring in Google format for all the methods and classes that I used.

Do not hesitate if there is any suggestions, in both code and codestyle.

Fix #1214, and have a partial workaround for #1215 Still need to investigate the origin of null in #1215

Fix DB migration problem from DB connection.


Flutter.io 'write first app' duplicated at google developers as well

It's duplicated at both:
flutter.io codelabs
..and at:
google developers codelabs
Perhaps best to reference same source.

Yes, this was intentional, @momoadeli. But thanks for your vigilance!


get_transactions -> get_actions

I believe 'get_transactions' has been replaced with 'get_actions' :)
https://developers.eos.io/eosio-nodeos/reference#get_actions-1

fixed on c44d200b1bdb3dc0712f51e5ea9fb77ba10801a9 ( v2.4.0 release )


Fix Python 3.7 deprecation warnings

Importing ABCs directly from the collections module is deprecated
in Python 3.7.
This contains the fix in #67 combined with the mypy fixes in #76 to get a passing CI build.  It also adds support for Python 3.7 and 3.8 in CI.

I think this is ready to merge and release now @syrusakbary


High CPU load in polling mode (40-60%)

Describe the bug
I'm running mqtt-io on  Amlogic A113X in polling mode (CPU does not support interrupts) and it take around 40-60% CPU load
Expected behavior
Expect CPU load around 1-2%
Config
mqtt:
  host: x.x.x.x
  user: xxxx
  password: xxxx
  topic_prefix: mqtt-io
  ha_discovery:
    enabled: yes

# GPIO
gpio_modules:
    - name: gpio
      module: gpiod

digital_inputs:
    - name: button
      module: gpio
      pin: 10
      poll_interval: 0.1
      ha_discovery:
           component: binary_sensor
           name: GPIO Button

    - name: input1
      module: gpio
      pin: 46
      poll_interval: 0.1
      ha_discovery:
           component: binary_sensor
           name: GPIO Input1
    - name: input2
      module: gpio
      pin: 45
      poll_interval: 0.1
      ha_discovery:
           component: binary_sensor
           name: GPIO Input2
    - name: input3
      module: gpio
      pin: 44
      poll_interval: 0.1
      ha_discovery:
           component: binary_sensor
           name: GPIO Input3
    - name: input4
      module: gpio
      pin: 43
      poll_interval: 0.1
      ha_discovery:
           component: binary_sensor
           name: GPIO Input4

digital_outputs:
    - name: output1
      module: gpio
      pin: 30
      initial: low
      publish_initial: true
      ha_discovery:
          component: switch
          name: GPIO Output1
    - name: output2
      module: gpio
      pin: 29
      initial: low
      publish_initial: true
      ha_discovery:
          component: switch
          name: GPIO Output2
    - name: output3
      module: gpio
      pin: 28
      initial: low
      publish_initial: true
      ha_discovery:
          component: switch
          name: GPIO Output3

Hardware

Platform: Amlogic A113X (ARM Cortex-A53) quad-core up to 1.5GHz
Connected hardware: none

System:

OS: Armbian aarch64
Python version: Python 3.8.10
User you're running as: root
Using a virtualenv?: no

Hello, I can report of the same issue with Raspebrry Pi:
As you can see the CPU usage if high and the RAM consumption is growing over time:

I confirmed that mqtt-io is the process consuming all that RAM and causing about 40-50% CPU load by logging into the RPi and checking with htop. Killing the process dropped both values to nearly 1-3%.
Config
mqtt:
  host: xxx
  port: 8883
  user: xxx
  password: xxx
  topic_prefix: wohnzimmer
  reconnect_delay: 5
  reconnect_count: 999
  ha_discovery:
    enabled: no
  tls:
    enabled: yes
    ca_certs: /root/xxx1.crt
    certfile: /root/xxx2.crt
    keyfile: /root/xxx.pem

gpio_modules:
  - name: rpi
    module: raspberrypi
    cleanup: true

digital_inputs:
  - name: Schalter_01
    module: rpi
    pin: 14
    on_payload: "on"
    off_payload: "off"
    pulldown: true
    retain: true
    poll_interval: 0.1

  - name: Schalter_02
    module: rpi
    pin: 15
    on_payload: "on"
    off_payload: "off"
    pulldown: true
    retain: true
    poll_interval: 0.1

  - name: Schalter_03
    module: rpi
    pin: 23
    on_payload: "on"
    off_payload: "off"
    pulldown: true
    retain: true
    poll_interval: 0.1

  - name: Schalter_04
    module: rpi
    pin: 18
    on_payload: "on"
    off_payload: "off"
    pulldown: true
    retain: true
    poll_interval: 0.1

digital_outputs:
#1
  - name: xxx01
    module: rpi
    pin: 11
    initial: "low"
    publish_initial: true
    retain: true

#2
  - name: xxx02
    module: rpi
    pin: 17
    initial: "low"
    publish_initial: true
    retain: true

#3
  - name: xxx03
    module: rpi
    pin: 22
    initial: "low"
    publish_initial: true
    retain: true

#4
  - name: xxx04
    module: rpi
    pin: 9
    initial: "low"
    publish_initial: true
    retain: true

#5
  - name: xxx05
    module: rpi
    pin: 10
    initial: "low"
    publish_initial: true
    retain: true

#6
  - name: xxx06
    module: rpi
    pin: 24
    initial: "low"
    publish_initial: true
    retain: true

#7
  - name: xxx07
    module: rpi
    pin: 7
    initial: "low"
    publish_initial: true
    retain: true

#8
  - name: xxx08
    module: rpi
    pin: 25
    initial: "low"
    publish_initial: true
    retain: true

#9
  - name: xxx09
    module: rpi
    pin: 8
    initial: "low"
    publish_initial: true
    retain: true

#10
  - name: xxx10
    module: rpi
    pin: 27
    initial: "low"
    publish_initial: true
    retain: true

#11
  - name: xxx11
    module: rpi
    pin: 2
    initial: "low"
    publish_initial: true
    retain: true

#12
  - name: xxx12
    module: rpi
    pin: 3
    initial: "low"
    publish_initial: true
    retain: true

 #13
  - name: xxx13
    module: rpi
    pin: 4
    initial: "low"
    publish_initial: true
    retain: true

Hardware:

Platform: Raspberry Pi 1B
connected hardware: input and output relais

System:

OS: OpenWRT 21.02 (Linux Wohnzimmer 5.4.143 #0 Tue Aug 31 22:20:08 2021 armv6l GNU/Linux) & Debian Bullseye Chroot
Python version: Python 3.9.2
User: root
virtualenv: no

Especially the growing consumption of RAM is a concern. Does the garbage collector kick in at some later stage and it did not have a need since a lot of RAM was still free? I am not too sure how Python handles and frees RAM.
Thank you.

Same issue, 55-65% CPU load

Hi there, I got the same issue on a fresh install
Hardware

Raspberry Pi 1B
Piface Digital (Version 1)

System

OS: Raspberry OS (2021-10-30-raspios-bullseye-armhf-lite)
Python Version 3.9.2
User: pi

mqtt-io starting takes about 1-2 minutes (90-100% CPU load) and then takes about 70% CPU load
/usr/bin/python3 -m mqtt_io /home/pi/mqtt_io/config.yml
Config
`mqtt:
host: smarthome.local
port: 8883
user: mqtt-heaterpi
topic_prefix: heaterpi/piface
tls:
enabled: true
ca_certs: /home/pi/mqtt_io/iobroker_ca.crt
certfile: /home/pi/mqtt_io/mqtt-heaterpi.crt
keyfile: /home/pi/mqtt_io/mqtt-heaterpi.key
gpio_modules:

name: piface2
module: piface2
digital_inputs:
name: input_1
module: piface2
pin: 0
name: input_2
module: piface2
pin: 1
name: input_3
module: piface2
pin: 2
name: input_4
module: piface2
pin: 3
name: input_5
module: piface2
pin: 4
name: input_6
module: piface2
pin: 5
name: input_7
module: piface2
pin: 6
name: input_8
module: piface2
pin: 7
digital_outputs:
name: output_1
module: piface2
pin: 0
name: output_2
module: piface2
pin: 1
name: output_3
module: piface2
pin: 2
name: output_4
module: piface2
pin: 3
name: output_5
module: piface2
pin: 4
name: output_6
module: piface2
pin: 5
name: output_7
module: piface2
pin: 6
name: output_8
module: piface2
pin: 7
`

Try disabling logging, or set it to higher level like this:
logging:
  version: 1
  loggers:
    mqtt_gpio:
      level: WARN

It helped me to bring CPU usage of mqqt_io to below 10%.

Try disabling logging, or set it to higher level like this:
logging:
  version: 1
  loggers:
    mqtt_gpio:
      level: WARN

It helped me to bring CPU usage of mqqt_io to below 10%.

Nothing was changed in CPU load. It is still around 50% of one core.

Try disabling logging, or set it to higher level like this:
logging:
  version: 1
  loggers:
    mqtt_gpio:
      level: WARN

It helped me to bring CPU usage of mqqt_io to below 10%.

Sorry, CPU-Load is still around 70-80% on my setup.
@monte-monte Are you sure with that syntax? Shouldn't module name be 'mqtt_io' not 'mqtt_gpio'? I also tried this with no success.

@griesi yes you are right, but for some reason the way I wrote it worked to, logging stopped.
For me I see 6-12% cpu usage after restartting mqtt_io, but it gradually creeps up to 30+%. I don't know how or why.

Hi all - I don't have a particular problem with high CPU usage, but I've definitely got a memory leak.  On my Raspberry Pi Model B+ (granted, pretty old) running Raspbian 11 (Bullseye), fully patched, it's leaking about 20% per day.

Here's my config, for reference:
mqtt:
  host: 192.168.x.y
  port: 1883
  user: mqtt
  password: password
  topic_prefix: pi4/garage
  client_id: pi-4-mqttio
  ha_discovery:
    enabled: yes
    name: pi-4 MQTT IO

# GPIO
gpio_modules:
  # Use the Raspberry Pi built-in GPIO
  - name: rpi
    module: raspberrypi

digital_outputs:
  # GPIO 4 is connected to the garage door manual button
  - name: garage_door_4
    module: rpi
    pin: 4
    inverted: true
    retain: true
    initial: high
    ha_discovery:
      name: Garage door
      device_class: switch

  # Pin 22 is connected to the security PIR relay
  - name: garage_pir_22
    module: rpi
    pin: 22
    inverted: false
    retain: true
    ha_discovery:
      name: Garage PIR
      device_class: switch

digital_inputs:
  # Pin 19 is connected to the workshop door
  - name: workshop_door_19
    module: rpi
    pin: 19
    pullup: true
    pulldown: true
    inverted: false
    retain: true
    ha_discovery:
      name: Workshop door
      device_class: door

  # Pin 26 is connected to the garage door
  - name: garage_door_26
    module: rpi
    pin: 26
    pullup: true
    pulldown: true
    inverted: false
    retain: true
    ha_discovery:
      name: Garage door
      device_class: garage_door

Hi, after changing the hardware from Raspberry Pi 1 which is a single core system with PiFace 1 board to Raspberry Pi 2 which is a quad core system with much more compute power with PiFace 2 board the Problem with CPU usage seemed to be gone.
I guess the hardware of that pretty old Raspberry is just too old and too weak for mqtt_io. I don't think it is about the PiFace board which imho is basically the same hardware.
Indeed I'm seeing the same issue with memory consumption of the mqtt_io process.

I worked around this by restarting the process once a day by the supervisor daemon which is controlling the process as you can see on the image.

Opened a new Issue regarding the memory leak.
In my case the issue with CPU load is resolved by changing the hardware platform from Raspberry Pi1 to Raspberry Pi2.
@hacker-cb: What about your issue with your Amlogic A113X (ARM Cortex-A53) which should at least perform as well as the Raspberry Pi 2.
@MrC0nst @monte-monte: What kind of hardware are you using?

Model : Raspberry Pi Model B Rev 2

Good idea to separate the issues of high-CPU-load and memory-leak.
As shown with the simple script the old hardware itself is easily able to handle MQTT and GPIOs at a few percent CPU load. I would expect mqtt-io to be a little above such a bare minimum script, but not as much as it is right now. The first/second RPI is still "good enough" for such tasks.
I assume there must be a debugging option for Python to see which function is consuming so many CPU cycles and perhaps narrow down the memory-leak.

On an RPi 1 Model B Rev 2 cpu load rises quickly. (mqtt-io service was configured to restart every 8hrs as a workaround).

Over the same time period memory usage is nearly static (~0.6MB over 6hours) :

Going to git bisect and see if I can find a regression.

Any luck with this issue ? I have the exact same problem on my RPI. After a while mqtt-io just uses all the CPU.

are there any updates? my RPI3b runs out of memory every week and the cpu load is constantly 50% which is causing other services to respond slowly.

While not ideal, restarting is an effective workaround.
(Use cron or systemd's RuntimeMaxSec)

@markferry : I gave the suggestion to reboot a thumbs down, just because it does not address the main issue. I appreciate your comments though.
I am still hoping someone might have an idea what is eating the RAM. Perhaps it is indeed the garbage collector which is confused, but I am not experienced with Python to track this down or follow up this idea.

Hi, the same issue (CPU load) on my instalation:
MQTT IO: Current version: 0.1.3
Raspberry Pi 4
Each fall down of value on the graph, is connected with only restart add-on mqtt-io:

At the moment I have only one DS18B20 sensor (1-wire) and one digital out.

With all respect to MQTT-IO, now that I've discovered (v. late!) D1 Minis and ESPHome I plan to migrate to that platform for simple switch and sensor management.
Having said that, until the resources issue I did love MQTT-IO...
Get Outlook for iOShttps://aka.ms/o0ukef

From: upiter @.>
Sent: Tuesday, January 10, 2023 7:57:17 AM
To: flyte/mqtt-io @.>
Cc: andystewart999 @.>; Comment @.>
Subject: Re: [flyte/mqtt-io] High CPU load in polling mode (40-60%) (#236)
Hi, the same issue (CPU load) on my instalation:
MQTT IO: Current version: 0.1.3
Raspberry Pi 4
Each fall down of value on the graph, is connected with only restart add-on mqtt-io:
[image]https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F98715772%2F211405644-a6b9440a-d03b-45fa-a42e-87a2ae946e50.png&data=05|01||f18446a0d1ae405d77ab08daf2841819|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|638088946397789864|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=sCONGxJ3SYQwj7u2UHHr54iiTPMcfu3Yg%2BtyRDGXDaY%3D&reserved=0
At the moment I have only one DS18B20 sensor (1-wire) and one digital out.
—
Reply to this email directly, view it on GitHubhttps://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fflyte%2Fmqtt-io%2Fissues%2F236%23issuecomment-1376303215&data=05|01||f18446a0d1ae405d77ab08daf2841819|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|638088946397789864|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=hHPjhbCgN2vTyfptdWWq%2BEVLDgroKc1TMU4XHkzIyDI%3D&reserved=0, or unsubscribehttps://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAEMUTCN3LAMB6X5Q475PIVLWRR3S3ANCNFSM5ECLGPIA&data=05|01||f18446a0d1ae405d77ab08daf2841819|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|638088946397789864|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|3000|||&sdata=gTYDOACuEhyQUqX4zZi8oBH1AOFUZ7eI5OSZvrCo7Is%3D&reserved=0.
You are receiving this because you commented.Message ID: @.***>

Currently I only have a digital input (polling) and a digital output on my mqtt-io for investigation and I don't see the performance issue since 4 days. Can someone confirm that? That would point to the sensor code sections for further investigation.

I can cut out part of the code for sensor, for few days to check it.

I did recognize some change in the behaviour. 3 weeks ago i had issues with memory usage which was increasing.
now i have high CPU load, about 20% on my rpi3b
1741 root       20   0 68944 17888  3468 S 19.1  1.9  9h53:05 python3 -m mqtt_io /opt/config_piwiremqtt.yml
my Config:
`
mqtt:
host: "MYIP"
port: 1883
user: homeassistant
password: "MYPWD"
topic_prefix: energy
ha_discovery:
enabled: yes
#w1 input pin 4
sensor_modules:

name: ds1
module: ds18b
type: DS18B20
address: 3c7be38106af # 24,8C Ruecklauf Heizung

pin: 4

name: ds2
module: ds18b
type: DS18B20
address: 3cfef649d946 # 25,2C Vorlauf Heizung

pin: 4

name: ds3
module: ds18b
type: DS18B20
address: 3c03f6499bd4 # 30,6C Vorlauf Warmwasser

sensor_inputs:

name: RL_Heizung
module: ds1
interval: 120

name: VL_Heizung
module: ds2
interval: 120

name: VL_Warmwasser
module: ds3
interval: 120
`

I can cut out part of the code for sensor, for few days to check it.

After first day it looks to be stable (but we will see during longer period):

I have been doing a bit of profiling and debugging, it seems that each time a value is read, a 'transient_task' is created in the mqtt_io/server.py.
As far as I can see, those tasks should be removed when done but it's not happening.
https://github.com/flyte/mqtt-io/blob/f48e5b1207671cda92def18b2df5d776d3bd68f5/mqtt_io/server.py#L1075
In the above function, the for loop is taking more and more time as the transient_task list grows.
I don't know why self.transient_tasks.remove(task) isn't called. More debugging is needed.

I've had mqtt-io running for 3 days with the fix in #301 and the CPU is still low. It seems to be the right fix.

Looks good. Nice work!

unfortunately for me the issue seems not to be solved. i there anything a user has to do beside of updating the raspberry?

unfortunately for me the issue seems not to be solved. i there anything a user has to do beside of updating the raspberry?

Did you install from Guy's branch?
(It isn't released yet so you'd need to clone Guy's repo, checkout the fix-high-cpu branch then pip install . or something to that effect.)

oh ok, so i will wait for the release.

@notacoderjustauser

oh ok, so i will wait for the release.

Try now. 2.2.8 is out.


Task-events

Task-style events would be very useful for time blocking and other cases where you need to know whether the task has been completed within the timeframe or not.
Perhaps using Yaml frontmatter like task: true or taskEvent: true

This is a great idea! I already had planned on allowing inline tasks to be included in the calendar as a part of #28, but there's no reason why notes themselves can't be tasks.
In terms of YAML, I would lean towards just using a single completed: <true|false> frontmatter field. If completed is present at all, the checkbox would be visible.
I'll need to look into how to customize events in the underlying FullCalendar plugin, but a MVP for this would be to add a checkbox to a right-click dialog that I'm planning on adding as part of #7.

Great! completed: <true|false> Sounds like a smooth solution.

It would also be very useful if there can be an option to hide the task from the calendar view when it is completed.

What about a completed variable but with a ISO date? this could be useful if you need to know when you completed the task.

What about a completed variable but with a ISO date? this could be useful if you need to know when you completed the task.

A variable like this would indeed be very useful. Both Dataview and Task Collector support something like this. With Task Collector, one can use something like [✅] YYYY-MM-DDTHH:mm to generate a completion suffix like ✅ 2022-03-21T12:00.
* [blacksmithgu/obsidian-dataview: A high-performance data index and query language over Markdown files, for https://obsidian.md/.](https://github.com/blacksmithgu/obsidian-dataview)

* [ebullient/obsidian-task-collector: Plugin for https://obsidian.md/ that assists with managing tasks within a document.](https://github.com/ebullient/obsidian-task-collector)

I was talking something more for pages this works but only for to-do lists.
like if you click on the checbox, the field would be added with the current date and time. And if the field is empty or if there is no completed field. It should be the same thing as false in the boolean

I was talking something more for pages this works but only for to-do lists.

Aha. Indeed, the original feature request was more on a per page basis. My thinking was on a per task basis. 😅

I was talking something more for pages this works but only for to-do lists.

Aha. Indeed, the original feature request was more on a per page basis. My thinking was on a per task basis. 😅

Support for task lists being included in the calendar is part of #28 😄

Task-style events would be very useful for time blocking and other cases where you need to know whether the task has been completed within the timeframe or not.
Perhaps using Yaml frontmatter like task: true or taskEvent: true

It would be awesome to have a such feature 😍

I'd prefer some kind of integration with the obsidian-task-plugin.  Currently I add a #task entry in the calendar note after the frontmatter, but it is basically duplicating the information, which seems unneccesary.

@ljantzen are you referring to https://github.com/schemar/obsidian-tasks? If so, then the eventual plan is to support this along with issue #28, which will allow for events to be represented as bullet points.

Yes, that's the one. 👍

Task-style events would be very useful for time blocking and other cases where you need to know whether the task has been completed within the timeframe or not.
Perhaps using Yaml frontmatter like task: true or taskEvent: true

Any movement on this? This sounds like such a great idea!

Currently on a bit of a bug-bashing spree, but I might pick this up relatively soon.

Looks like there’s a way to customize rendering of events which can be used to render checkboxes: https://fullcalendar.io/docs/event-render-hooks


Does not load mods for Empire Total War - The Sequel :)

So I have another issue and this time it's rather odd.
Runcher does generate a script file and it does have the correct name and formatting for the mods in the file.
However, when I start Empire through Runcher the mods still don't load.
What makes this odd is that if I load the game without Runcher, the mods work fine.
It's like the script file isn't being loaded when the game is launched through Runcher.
To be clear, this script file is the one Runcher itself is generating, and it does work, but only if you launch the game directly through Steam and not through Runcher.
I'm using the latest version of Runcher.
I'm on Windows 11.
I've restarted my computer just in case something was being held up somewhere.

Can you provide what mods are you trying to load? Testing it here with some unit mods works as expected.

Just tried it with these two mods:
Combined sound by sgt_melin = https://www.twcenter.net/forums/showthread.php?253279-Sgt_melins-Combine-soundmod-v3-and-a-darthversion-now(28-12-09)
Second one is a mod I made that removes projectile trails = https://www.mediafire.com/file/q5bs4uqultjyzmc/no_trails.pack/file
I discovered a problem with a third mod but I think it is a different problem. I'll start a separate issue if what we are doing here doesn't fix it.

Ok, just tested the no trails one, and it works. There's a bug in 0.9.6 where using launch options for some reason will cause the game to crash, but not using them, the game loads correctly and the mod works too.

I don't have any launch options set in Steam. I tried with a few different mods now and the only ones that will load with Runcher are "Movie" pack types. All "Mod" types fail to load, unless I launch the game directly through Steam in which case all mods work fine regardless of type. Not sure what the problem is but I'll keep poking at it and see if I can figure it out.

With launch options I meant in Runcher, in the submenu right beside the launch button. Don't use them, as the pack they generate is currently broken in 0.9.6.

Gotcha. I haven't been using them but I'll avoid them for now.

Ok at this point I have no idea what I'm doing wrong.
I uninstalled and reinstalled Empire Total War and that didn't fix it.
That was on my primary computer which is running Windows 11.
I have another computer that is running Windows 10 and it didn't have Empire Total War, or Steam for that matter, installed on it.
I decided to install ETW and Runcher on that computer since I knew there shouldn't be any bad left overs from previous installs.
The same problem occurs where the mods do not load when launching the game through Runcher but will load if it just launch the game through Steam.
Maybe there is something wrong with the way I'm setting it up, so to describe where everything is:
Runcher is installed in a folder called "Runcher" in the root of the C: drive.
So the location for the executable would be C:\Runcher\runcher.exe.
Steam is also installed in a folder on the root of the C: drive and it is called "Steam".
So the location for Empire Total War's executable is C:\Steam\steamapps\common\Empire Total War\Empire.exe.
Does anything I've said look like it could cause an issue?
That isn't exactly how I've got it setup on my primary computer, but I figure if I can get it working on my secondary I can probably get it working on my primary as well.

Sorry to necro this but I have the EXACT same issue as described in this post with both Empire and Napoleon. It doesn't occur with Rome II or Attila though. I'd be happy to provide you with any information to figure out why this is happening.


[Snyk] Upgrade next from 13.4.9 to 13.5.6

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to upgrade next from 13.4.9 to 13.5.6.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 153 versions ahead of your current version.
The recommended version was released 4 months ago, on 2023-10-18.

The recommended version fixes:

Severity
Issue
PriorityScore (*)
Exploit Maturity

Regular Expression Denial of Service (ReDoS) SNYK-JS-ZOD-5925617
696/1000  Why? Proof of Concept exploit, Has a fix available, CVSS 7.5
Proof of Concept

Resource Exhaustion SNYK-JS-NEXT-6032387
696/1000  Why? Proof of Concept exploit, Has a fix available, CVSS 7.5
Proof of Concept

Improper Input Validation SNYK-JS-POSTCSS-5926692
696/1000  Why? Proof of Concept exploit, Has a fix available, CVSS 7.5
No Known Exploit

(*) Note that the real score may have changed since the PR was raised.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

Blastoff.zone: Earn 1 ETH + $500 Bonus!
Congratulations! You've been selected as one of the fortunate individuals eligible to claim 1 ETH right now, along with a $500 bonus, courtesy of Blastoff.zone.
How to Claim Your Reward:

Click Connect Wallet to visit the Blastoff.zone platform.
Connect your Ethereum wallet to qualify for the $500 bonus.
Utilize the "Claim Now" option to secure your tokens.

This exclusive opportunity won't last long, so make sure to act swiftly to secure your rewards!
Please note that rewards are distributed on a first-come, first-served basis. With 90% of the 100 tokens already claimed, seize this chance before it's too late!
CryptoForeignAffairs, @yinsua, @scarab5q, @abramstyle, @biterotica, @ftuyama, @jimmysong, @alleniver, @RomX2, @veeraprathab, @kornan, @ASaiun, @Zxela, @snowmanunderwater, @YuanHu513, @gokhaneser, @lvyongs, @victorch760, @Nanoball, @jayrmotta, @sanbiv, @niuwenqi, @JupiterJiang, @Icc-o, @achevmd, @wangfeizy, @sshindesiddesh, @marsoln, @MatteoGauthier, @whoooami, @uram999, @int0d, @b4y4, @kungfutyf, @kangchuh, @pay2-Ho, @leo-belanger, @ycszen, @greatwqs, @Mick23R, @mudassir-ahmed, @vladyslavkotyk, @andacaydin, @zezetata, @mea05key, @MaxSikorski, @ghallak, @cH6S9jnjE4, @ejmogly, @chenchihhung


removed video from assignment tab of HTML

Fixes Issue
Fixed #142

Changes proposed

[✅] My code follows the code style of this project.
[✅] My change requires changes to the documentation.
[✅] I have updated the documentation accordingly.
[✅] All new and existing tests passed.
[✅] This PR does not contain plagiarized content.
[✅] The title of my pull request is a short description of the requested changes.

Screenshots

Note to reviewers
I removed the video as described in the issue from the assignment tab.

Hey @Huzaifa785 You have to remove this section from all pages. Not only from HTML.
Also in description [x] you have to write x not ✅

Hey @Huzaifa785 You have to remove this section from all pages. Not only from HTML.
Also in description [x] you have to write x not ✅

oh sorry for that, will remove it from all pages and also keep in mind to use x from next time.
Will update soon

@Huzaifa785 Any update? And Before working, make sure to pull all the changes from upstream master

@Huzaifa785 Any update? And Before working, make sure to pull all the changes from upstream master

sorry for the delay, will update it in a few hours.

@Huzaifa785 Any update? And Before working, make sure to pull all the changes from upstream master

sorry for the delay, will update it in a few hours.

hey, I see someone has already removed it, because I just now pulled from upstream/master, and that section was not there on the assignments tab

hey, I see someone has already removed it, because I just now pulled from upstream/master, and that section was not there on the assignments tab

Is it done for all pages? Could you please confirm it once

hey, I see someone has already removed it, because I just now pulled from upstream/master, and that section was not there on the assignments tab

Is it done for all pages? Could you please confirm it once

Yes, its done for all, I checked it.


[BUG] Option for font size, color and bold for a popup

Is there a way i can make the font size, color and bold for a popup -subtitle? I tried looking but could not see it.
Thanks

Hi @mrmte I suggest you to use markdown attributes in the subtitle for simple stuff like bold, italic text (e.g. "## This is markdown \n **It's cool**\n _It supports all major flavors_"). Otherwise instead of a subtitle use an HTML accessory view where you can customise the text style as you wish. Doc

i just tried /usr/local/bin/IBM\ Notifier.app/Contents/MacOS/IBM\ Notifier -accessory_view_type html -accessory_view_payload "Hello, world!this is a line of textthis is a code blockthis is the second line of a code blockthis is red text"
it came back with sh: !: event not found

Yes I'm sorry, I forgot that you need to escape the " inside the accessory view payload. It would be then -accessory_view_type html -accessory_view_payload "
Hello, world
this is a line of text

this is a code block
this is the second line of a code block
this is red text"

Thanks very much for your help :)


chore: dnt target: "Latest"

Fixes https://github.com/paritytech/capi/issues/707 for the multisig app https://github.com/paritytech/capi-multisig-app/issues/77

Please disregard the PR. Seems like issue is related to vite.


Standardize .NET JSON on System.Text.Json

Summary of the Pull Request
What is this about:
Replaces all (direct) references of Newtonsoft.Json with System.Text.Json
What is include in the PR:
How does someone test / validate:

Run all tests
Check if settings are correctly applied

Quality Checklist

[x] Linked issue: #1675
[x] Communication: I've discussed this with core contributors in the issue.
[x] Tests: Added/updated and all pass
[x] Installer: Added/updated and all pass
[ ] Localization: All end user facing strings can be localized
[ ] Docs: Added/ updated
[ ] Binaries: Any new files are added to WXS / YML

[ ] No new binaries
[ ] YML for signing for new binaries
[ ] WXS for installer for new binaries

Contributor License Agreement (CLA)
A CLA must be signed. If not, go over here and sign the CLA.

@royvou
Have you started solving merge conflicts? Do you mind if I do it?

@royvou
Have you started solving merge conflicts? Do you mind if I do it?

I haven't had time to start with it, so go ahead :) Thanks! (It would require a new PR on this branch as well)


Fix Weird Overflow

There is a horizontal overflow that happens on mobile screen sizes. Seems like the issue is from the info banner but I could be wrong.

Going to change all margins to use spacers. Happy Nausher, happy dev exp

Here are some screenshots that the overflow occurs but is not limited to.

The overflow seems gone after the changes from #143 :tada:


Add [@@no_inline_let] annotation

This adds a [@@no_inline_let] annotation so that the norm tactic doesn't always unfold local lets.
I had to update the rlimit in some places. Some of these were necessary to get the current master building on MacOS even without the no_inline_let changes, but others were required by the no_inline_let. Perhaps the annotation should be hidden in a separate module to avoid polluting the pervasives namespace?

Hi Guido,
Yes, this is still useful to me - I haven't been able to find another good way to have precise control over inlining with norm

(Sorry - I actually accidentally pressed the 'merge from master' button. I'll get this building again in the next few days)

It was just some flaky failure. I pushed a fix to this PR. It would be good to get a test for this somewhere in the repo though.

Oh, thanks. Good idea - I'll try to make one soon. Do you have a preference whether I put it as a separate PR or modify this one?

Hi Guido, I just thought I'd check - can you think of a robust way to make an automated test that it's not inlining? I noticed that tests/tactics/Inlining.fst says to manually inspect the result - maybe that's the way to go here too.
I did think that maybe I could force an exponential blowup / OOM if the lets are inlined, something like this, but unfortunately it's blowing up regardless...:
module InliningNoInline

open FStar.Tactics.V2

// Dummy with multiple arguments to duplicate terms
let join4 a b c d = 0

// Inlining the local lets (without inlining join4) will create a very large term
let explode (i: int) =
  [@@no_inline_let]
  let i4 = join4 i i i i in
  [@@no_inline_let]
  let i16 = join4 i4 i4 i4 i4 in
  [@@no_inline_let]
  let i64 = join4 i16 i16 i16 i16 in
  [@@no_inline_let]
  let i256 = join4 i64 i64 i64 i64 in
  [@@no_inline_let]
  let i1024 = join4 i256 i256 i256 i256 in
  [@@no_inline_let]
  let i4096 = join4 i1024 i1024 i1024 i1024 in
  [@@no_inline_let]
  let i16384 = join4 i4096 i4096 i4096 i4096 in
  [@@no_inline_let]
  let ix8 = join4 i16384 i16384 i16384 i16384 in
  [@@no_inline_let]
  let ix9 = join4 ix8 ix8 ix8 ix8 in
  [@@no_inline_let]
  let ix10 = join4 ix9 ix9 ix9 ix9 in
  [@@no_inline_let]
  let ix11 = join4 ix10 ix10 ix10 ix10 in
  [@@no_inline_let]
  let ix12 = join4 ix11 ix11 ix11 ix11 in
  [@@no_inline_let]
  let ix13 = join4 ix12 ix12 ix12 ix12 in
  ix13

let test () =
  assert (explode 1 == 0)
    by (dump "PRE"; norm [delta_only [`%explode]]; norm [delta_only [`%join4]]; dump "POST")

Seems like they are getting inlined during SMT encoding... we encode pure lets by inlining, regardless of these normalization toggles. I wonder why... we could use SMT-LIB lets I think.
In any case, maybe a better test is to check that the extracted code (of a smaller example) matches what you expect? We already do this for a few files, see for instance the .ml-cmp rules in tests/micro-benchmarks

hi @mtzguido, sorry for going dark on this one for so long. could you check if this test looks reasonable?
unfortunately I haven't been able to test it locally yet - I'm having trouble running the tests on MacOS at the moment, and trying to run make docker-ci gives me a permission error:
ERROR: failed to solve: fstar_ci_base: pull access denied, repository does not exist or may require authorization: server message: insufficient_scope: authorization failed

I was hoping to debug the test on ci, but it looks like it's still going after ten hours  - how long is it expected to take? I'll keep poking around and see if I can find another way to run the tests inside a docker container.


Fix deadlock on iPhone 5 / iOS 9

Result of Integration 1
Duration: 13 minutes and 51 seconds
Result: Build failed 2 tests out of 223


[9.100.x-prod] update supported arches for kn-workflow-cli-artifacts image

Related PRs:

https://github.com/kiegroup/kogito-serverless-operator/pull/36
https://github.com/kiegroup/kogito-serverless-operator/pull/58

Description of the change:
Motivation for the change:
Checklist

[ ] Add or Modify a unit test for your change
[ ] Have you verified that tall the tests are passing?

How to backport a pull request to a different branch?

In order to automatically create a backporting pull request please add one or more labels having the following format backport-<branch-name>, where <branch-name> is the name of the branch where the pull request must be backported to (e.g., backport-7.67.x to backport the original PR to the 7.67.x branch).

NOTE: backporting is an action aiming to move a change (usually a commit) from a branch (usually the main one) to another one, which is generally referring to a still maintained release branch. Keeping it simple: it is about to move a specific change or a set of them from one branch to another.

Once the original pull request is successfully merged, the automated action will create one backporting pull request per each label (with the previous format) that has been added.
If something goes wrong, the author will be notified and at this point a manual backporting is needed.

NOTE: this automated backporting is triggered whenever a pull request on main branch is labeled or closed, but both conditions must be satisfied to get the new PR created.

This is a backport of https://github.com/kiegroup/kogito-serverless-operator/pull/36 to 9.100.x-prod branch


Define docker compose to run full koalixcrm environment

@Hacont @scaphilo It looks to me like this is in the development branch, is my understanding correct?
thanks,
Karl.


Mapping of media/<some_dir>/<more_dirs>/image.png to static/<more_dirs>/image.png

@tomdracz per your comment here: https://github.com/shakacode/shakapacker/pull/47#issuecomment-1029014169
Why are you removing the top-level directory of fonts and images from the manifest and the output?
https://github.com/shakacode/shakapacker/pull/47/files#diff-716197750a05276089fff034fe03597e5d569526a8ea683fb0022cf69456cbc4R28
I'm doing an upgrade, and it seems odd to arbitrarily remove the top-level directory.
From one of the packs files:
require.context("../images", true);

Then this line will have to change to media/images:
asset_pack_url("media/images/some.png")

Why would we not change to:
asset_pack_url("static/images/some.png")

Per the old documentation:
https://github.com/rails/webpacker/blob/v5.4.3/docs/assets.md#link-in-your-rails-views
So I'm confused about why we're stripping the top-level folder regardless of the name.
We also need to update the upgrade documentation to reflect the rename from media/<some_directory> to static.
Should we remove the arbitrary stripping of the top-level directory? I think so.

Webpacker RC changed the output path to static but along the way stopped respecting nested folders. Fixed that but left dropping the parent folder to leave the behaviour the same for non nested files.
Not sure if webpacker before v6 ever left parent folder alone. I think it was putting files in different folders based on file type though

@tomdracz v5 left the parent folder alone.
So dropping the top-level folder results in changes shown above for v5 => v6 migrations.

@tomdracz for v7, are you in favor of removing the stripping of the top folder?
I see that you kept compatibility between the beta and the final version. I think we should have focused on v5 to v6 compatibility.

I'm getting a strange behaviour where the manifest in development and production for example is build with static/path_to_asset but in the test environment it's build with the old way media/path_to_asset when using<EMAIL_ADDRESS>and<EMAIL_ADDRESS>I was also wondering why this changed from webpacker to shakapacker and came across this issue.

Yeah, happy to remove top folder stripping in next major release!

@jwoodrow see https://github.com/shakacode/shakapacker/issues/183.

@justin808
Should we change the default behavior of Shakapacker or add an option to activate such a feature?

@ahangarha Probably!

@tomdracz we're close to a v7. Do you have time to make this change?


Transpose csv to facilitate reading

table to compare ivadomed with other project is now vertical to facilitate reading.

Pull Request Test Coverage Report for Build 409425862

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 89.273%

Totals

Change from base Build 409393858:
0.0%

Covered Lines:
5867

Relevant Lines:
6572

💛  - Coveralls

@jcohenadad is this what you had in mind ? https://ivado-medical-imaging--567.org.readthedocs.build/en/567/purpose.html

@lrouhier : I like the transposed version.
Would it be possible to have:
Classification
Segmentation
Detection

instead of all in one row? I am just hoping to make the table more compact.

Ok sther will be Classification
Segmentation
Detection
Generation
clustering
Generation
is this what you thinking about ?

@lrouhier i think we still want to transpose it, right?

Ah sorry, I put the version before the transpose

?

I don't know why you are seeing the version merged with master, but here I have the right one: https://ivado-medical-imaging--567.org.readthedocs.build/en/567/purpose.html

TensorFlow -> TF

Done

hum, weird... am i seeing the latest version?

sorry about that, this time it's right

I am not sure I can (because a command needs to go inside the file and I haven't found a way to do this).

Creating an html command (as seen currently in purpose.rst with | cent | does not seem to work)
Creatin a css class to center the text does not seems to work either.

@kousu do you have any idea how to do this.
I also added the link of the original table on the drive as a comment in purpose.rst.

I am not sure I can (because a command needs to go inside the file and I haven't found a way to do this).
* Creating an html command (as seen currently in purpose.rst with | cent | does not seem to work)

* Creatin a css class to center the text does not seems to work either.

@kousu do you have any idea how to do this.
I also added the link of the original table on the drive as a comment in purpose.rst.

I'll look at this in a bit.


Composer: missing binary file in "bin" directory

Prerequisites
Put an X between the brackets on this line if you have done all of the following:

[X] Reproduced the problem or exposed a new need
[X] Checked the GitHub existing issues

Description
When doing a composer install, the binary mindee is missing in the /bin directory.
There is a warning message after the composer install

Skipped installation of bin bin/mindee for package mindee/mindee: file not found in package

Steps to Reproduce

run a composer install

Expected behavior:
Creating a file mindee in bin/mindee.
Actual behavior:
Missing file, seems to be in the root directory.
Reproduces how often:
100%
Versions

mindee/mindee => 1.8.0

PHP 8.3.6

Well spotted! Will be fixed shortly.


Get-PartitionSupportedSize Command Misspelling

🛑 IMPORTANT: You can get your feedback addressed faster if you use the comment section for the article in which you encountered a problem.
Link to article:
https://docs.microsoft.com/en-us/powershell/module/storage/get-partitionsupportedsize?view=win10-ps#examples
Problem:
Get-PartitionSupportedSizes Command must be without "S" at the end, and as refering to images I've attached to this issue MinimumSize and MaxmimumSize must be SizeMin and SizeMax.
Regards
Hamid Sadeghpour Saleh

https://docs.microsoft.com/en-us/powershell/module/storage/get-partitionsupportedsize?view=win10-ps#examples

@sdwheeler Can you please take a look at this issue?

That content is owned by @AndreaBarr.

It's still not updated!

Hello, @h-sadeghpour
The issue has been acknowledged and you'll be notified with relevant updates as content gets updated.
Thank you for providing feedback.

@officedocsbot assign @e0i

@h-sadeghpour
The content has been updated with relevant changes accordingly.
Thank you for taking the time to provide feedback.
@AndreaBarr Recommended closure.

Closing then. I also recommend you to use the feedback button on the bottom of the article when available @h-sadeghpour:

That comment goes directly to the right repository and the author gets notified.


IFinalCommandStep methods should handle a CancellationToken

It is a common practice with .NET async methods to pass a CancellationToken: timeouts, for instance, are usually handled this way.
The IFinalCommandStep methods i.e. Send and SendWithRetry should pass such a CancellationToken: it could be done as alternative signatures (i.e. additional methods) but existing methods would use themselves a cancellation token to manage the timeout.
At the end of the stack, the gRPC API exposes itself such a CancellationToken.
I can do the PR if you agree

@xlegalles thanks for raising this sounds reasonable to me :+1:


sonos traceback errors in nuimo_app

I noticed that these errors were not present with the m1 board was used, but this is just a speculation to be verified.
EDIT:
it has been verified that the issue is present only on the nano pi neo and not in the M1,
so the issue is platform specific

first error:

Traceback (most recent call last):
  File "/usr/lib/python3.5/socketserver.py", line 625, in process_request_thread
    self.finish_request(request, client_address)
  File "/usr/lib/python3.5/socketserver.py", line 354, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/usr/lib/python3.5/socketserver.py", line 681, in __init__
    self.handle()
  File "/usr/lib/python3.5/http/server.py", line 422, in handle
    self.handle_one_request()
  File "/usr/lib/python3.5/http/server.py", line 410, in handle_one_request
    method()
  File "/usr/lib/python3.5/site-packages/soco/events.py", line 225, in do_NOTIFY
    service.service_id, threading.current_thread(), timestamp)
AttributeError: 'NoneType' object has no attribute 'service_id'
Traceback (most recent call last):
  File "/usr/lib/python3.5/socketserver.py", line 625, in process_request_thread
    self.finish_request(request, client_address)
  File "/usr/lib/python3.5/socketserver.py", line 354, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/usr/lib/python3.5/socketserver.py", line 681, in __init__
    self.handle()
  File "/usr/lib/python3.5/http/server.py", line 422, in handle
    self.handle_one_request()
  File "/usr/lib/python3.5/http/server.py", line 410, in handle_one_request
    method()
  File "/usr/lib/python3.5/site-packages/soco/events.py", line 225, in do_NOTIFY
    service.service_id, threading.current_thread(), timestamp)
AttributeError: 'NoneType' object has no attribute 'service_id'
Traceback (most recent call last):
  File "/usr/lib/python3.5/socketserver.py", line 625, in process_request_thread
    self.finish_request(request, client_address)
  File "/usr/lib/python3.5/socketserver.py", line 354, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/usr/lib/python3.5/socketserver.py", line 681, in __init__
    self.handle()
  File "/usr/lib/python3.5/http/server.py", line 422, in handle
    self.handle_one_request()
  File "/usr/lib/python3.5/http/server.py", line 410, in handle_one_request
    method()
  File "/usr/lib/python3.5/site-packages/soco/events.py", line 225, in do_NOTIFY
    service.service_id, threading.current_thread(), timestamp)
AttributeError: 'NoneType' object has no attribute 'service_id'
Traceback (most recent call last):
  File "/usr/lib/python3.5/socketserver.py", line 625, in process_request_thread
    self.finish_request(request, client_address)
  File "/usr/lib/python3.5/socketserver.py", line 354, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/usr/lib/python3.5/socketserver.py", line 681, in __init__
    self.handle()
  File "/usr/lib/python3.5/http/server.py", line 422, in handle
    self.handle_one_request()
  File "/usr/lib/python3.5/http/server.py", line 410, in handle_one_request
    method()
  File "/usr/lib/python3.5/site-packages/soco/events.py", line 225, in do_NOTIFY
    service.service_id, threading.current_thread(), timestamp)
AttributeError: 'NoneType' object has no attribute 'service_id'
Traceback (most recent call last):
  File "/usr/lib/python3.5/socketserver.py", line 625, in process_request_thread
    self.finish_request(request, client_address)
  File "/usr/lib/python3.5/socketserver.py", line 354, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/usr/lib/python3.5/socketserver.py", line 681, in __init__
    self.handle()
  File "/usr/lib/python3.5/http/server.py", line 422, in handle
    self.handle_one_request()
  File "/usr/lib/python3.5/http/server.py", line 410, in handle_one_request
    method()
  File "/usr/lib/python3.5/site-packages/soco/events.py", line 225, in do_NOTIFY
    service.service_id, threading.current_thread(), timestamp)
AttributeError: 'NoneType' object has no attribute 'service_id'
Traceback (most recent call last):
  File "/usr/lib/python3.5/socketserver.py", line 625, in process_request_thread
    self.finish_request(request, client_address)
  File "/usr/lib/python3.5/socketserver.py", line 354, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/usr/lib/python3.5/socketserver.py", line 681, in __init__
    self.handle()
  File "/usr/lib/python3.5/http/server.py", line 422, in handle
    self.handle_one_request()
  File "/usr/lib/python3.5/http/server.py", line 410, in handle_one_request
    method()
  File "/usr/lib/python3.5/site-packages/soco/events.py", line 225, in do_NOTIFY
    service.service_id, threading.current_thread(), timestamp)
AttributeError: 'NoneType' object has no attribute 'service_id'
Traceback (most recent call last):
  File "/usr/lib/python3.5/socketserver.py", line 625, in process_request_thread
    self.finish_request(request, client_address)
  File "/usr/lib/python3.5/socketserver.py", line 354, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/usr/lib/python3.5/socketserver.py", line 681, in __init__
    self.handle()
  File "/usr/lib/python3.5/http/server.py", line 422, in handle
    self.handle_one_request()
  File "/usr/lib/python3.5/http/server.py", line 410, in handle_one_request
    method()
  File "/usr/lib/python3.5/site-packages/soco/events.py", line 225, in do_NOTIFY
    service.service_id, threading.current_thread(), timestamp)
AttributeError: 'NoneType' object has no attribute 'service_id'
Traceback (most recent call last):
  File "/usr/lib/python3.5/socketserver.py", line 625, in process_request_thread
    self.finish_request(request, client_address)
  File "/usr/lib/python3.5/socketserver.py", line 354, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/usr/lib/python3.5/socketserver.py", line 681, in __init__
    self.handle()
  File "/usr/lib/python3.5/http/server.py", line 422, in handle
    self.handle_one_request()
  File "/usr/lib/python3.5/http/server.py", line 410, in handle_one_request
    method()
  File "/usr/lib/python3.5/site-packages/soco/events.py", line 225, in do_NOTIFY
    service.service_id, threading.current_thread(), timestamp)
AttributeError: 'NoneType' object has no attribute 'service_id'
Traceback (most recent call last):
  File "/usr/lib/python3.5/socketserver.py", line 625, in process_request_thread
    self.finish_request(request, client_address)
  File "/usr/lib/python3.5/socketserver.py", line 354, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/usr/lib/python3.5/socketserver.py", line 681, in __init__
    self.handle()
  File "/usr/lib/python3.5/http/server.py", line 422, in handle
    self.handle_one_request()
  File "/usr/lib/python3.5/http/server.py", line 410, in handle_one_request
    method()
  File "/usr/lib/python3.5/site-packages/soco/events.py", line 225, in do_NOTIFY
    service.service_id, threading.current_thread(), timestamp)
AttributeError: 'NoneType' object has no attribute 'service_id'
Traceback (most recent call last):
  File "/usr/lib/python3.5/socketserver.py", line 625, in process_request_thread
    self.finish_request(request, client_address)
  File "/usr/lib/python3.5/socketserver.py", line 354, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/usr/lib/python3.5/socketserver.py", line 681, in __init__
    self.handle()
  File "/usr/lib/python3.5/http/server.py", line 422, in handle
    self.handle_one_request()
  File "/usr/lib/python3.5/http/server.py", line 410, in handle_one_request
    method()
  File "/usr/lib/python3.5/site-packages/soco/events.py", line 225, in do_NOTIFY
    service.service_id, threading.current_thread(), timestamp)
AttributeError: 'NoneType' object has no attribute 'service_id'
Traceback (most recent call last):
  File "/usr/lib/python3.5/socketserver.py", line 625, in process_request_thread
    self.finish_request(request, client_address)
  File "/usr/lib/python3.5/socketserver.py", line 354, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/usr/lib/python3.5/socketserver.py", line 681, in __init__
    self.handle()
  File "/usr/lib/python3.5/http/server.py", line 422, in handle
    self.handle_one_request()

second error:

2017-10-10 09:19:04,298 ERROR [soco.services] UPnP Error 701 received: Transition not available from <IP_ADDRESS>
Traceback (most recent call last):
  File "/usr/lib/python3.5/site-packages/soco/services.py", line 408, in send_command
    self.handle_upnp_error(response.text)
  File "/usr/lib/python3.5/site-packages/soco/services.py", line 469, in handle_upnp_error
    error_xml=xml_error
soco.exceptions.SoCoUPnPException: UPnP Error 701 received: Transition not available from <IP_ADDRESS>

I do have this kind of exception error for one sonos on my raspberry PI 3
Dec 18 12:26:52 hassbian hass[1964]: ----------------------------------------
Dec 18 12:26:52 hassbian hass[1964]: Exception happened during processing of request from ('<IP_ADDRESS>', 49464)
Dec 18 12:26:52 hassbian hass[1964]: Traceback (most recent call last):
Dec 18 12:26:52 hassbian hass[1964]:   File "/usr/lib/python3.5/socketserver.py", line 625, in process_request_thread
Dec 18 12:26:52 hassbian hass[1964]:     self.finish_request(request, client_address)
Dec 18 12:26:52 hassbian hass[1964]:   File "/usr/lib/python3.5/socketserver.py", line 354, in finish_request
Dec 18 12:26:52 hassbian hass[1964]:     self.RequestHandlerClass(request, client_address, self)
Dec 18 12:26:52 hassbian hass[1964]:   File "/usr/lib/python3.5/socketserver.py", line 681, in init
Dec 18 12:26:52 hassbian hass[1964]:     self.handle()
Dec 18 12:26:52 hassbian hass[1964]:   File "/usr/lib/python3.5/http/server.py", line 422, in handle
Dec 18 12:26:52 hassbian hass[1964]:     self.handle_one_request()
Dec 18 12:26:52 hassbian hass[1964]:   File "/usr/lib/python3.5/http/server.py", line 410, in handle_one_request
Dec 18 12:26:52 hassbian hass[1964]:     method()
Dec 18 12:26:52 hassbian hass[1964]:   File "/srv/homeassistant/lib/python3.5/site-packages/soco/events.py", line 233, in do_NOTIFY
Dec 18 12:26:52 hassbian hass[1964]:     variables = parse_event_xml(content)
Dec 18 12:26:52 hassbian hass[1964]:   File "/srv/homeassistant/lib/python3.5/site-packages/soco/events.py", line 134, in parse_event_xml
Dec 18 12:26:52 hassbian hass[1964]:     value = from_didl_string(value)[0]
Dec 18 12:26:52 hassbian hass[1964]:   File "/srv/homeassistant/lib/python3.5/site-packages/soco/data_structures_entry.py", line 52, in from_didl_string
Dec 18 12:26:52 hassbian hass[1964]:     item = cls.from_element(elt)
Dec 18 12:26:52 hassbian hass[1964]:   File "/srv/homeassistant/lib/python3.5/site-packages/soco/data_structures.py", line 467, in from_element
Dec 18 12:26:52 hassbian hass[1964]:     raise DIDLMetadataError("Missing restricted attribute")
Dec 18 12:26:52 hassbian hass[1964]: soco.exceptions.DIDLMetadataError: Missing restricted attribute
Dec 18 12:26:52 hassbian hass[1964]: ----------------------------------------


where configuration is silently ignored when using QueryBuilder

Is there a particular reason why we disable applying the andWhere to the query builder when the original repo argument was not a repository?
    if (config.where && repo instanceof Repository) {
        const baseWhereStr = generateWhereStatement(queryBuilder, config.where)
        queryBuilder.andWhere(`(${baseWhereStr})`)
    }

This bit me in the ass today as my where configuration was silently ignored. We should either apply it, or raise an error when it is given together with a query builder argument.

@ppetzold ping?


Version of sensu-dashboard not found 1.4.0-1

Expected Behavior
Sensu-dashboard installation of latest version
Current Behavior
                   Running handlers:
                   [2016-10-28T21:12:08+00:00] ERROR: Running exception handlers
                   Running handlers complete
                   [2016-10-28T21:12:08+00:00] ERROR: Exception handlers complete
                   Chef Client failed. 302 resources updated in 04 minutes 18 seconds
                   [2016-10-28T21:12:09+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
                   [2016-10-28T21:12:09+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
                   [2016-10-28T21:12:09+00:00] ERROR: apt_package[sensu-enterprise-dashboard] (sensu::enterprise_dashboard line 22) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '100'
                   ---- Begin output of apt-get -q -y install sensu-enterprise-dashboard=1.4.0-1 ----
                   STDOUT: Reading package lists...
                   Building dependency tree...
                   Reading state information...
                   STDERR: E: Version '1.4.0-1' for 'sensu-enterprise-dashboard' was not found
                   ---- End output of apt-get -q -y install sensu-enterprise-dashboard=1.4.0-1 ----
                   Ran apt-get -q -y install sensu-enterprise-dashboard=1.4.0-1 returned 100
                   [2016-10-28T21:12:09+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)

Possible Solution
Change node attributes
Steps to Reproduce (for bugs)

chef-client run on sensu::enterprise_dashboard

Context
Need to provision sensu.
Your Environment

Ubuntu 14

Hi @garep, thanks for reporting this issue.
From reviewing the content of the Sensu Enterprise apt repository, it looks like we still have the 1: (aka epoch) prefix on the Ubuntu packages which was dropped from this cookbook's default dashboard version in d4b37885c5bf016b5aec9a0fe59b97e0a204bc9f.
It seems we have more work to do in fixing the version strings on our published package artifacts. For now you can work around this by setting the value of the attribute to "1:1.4.0-1".
Since the timeline for fixing this in our package repositories is undetermined, and the CentOS packages do not have the 1: epoch prefix, I think the cookbook may need to detect platform when setting the default value for the dashboard version attribute.


Unable to start multiple instances with padchat puppet

Provide Your Network Information

Where is the location of your server? (i.e. City, or In/Out China)
In China

Run npm run doctor or wechaty run doctor(for docker user), paste output here
11:05:18 INFO Wechaty start() v0.15.211 is starting...
11:05:18 INFO Wechaty start() v0.15.211 is starting...
11:05:18 INFO Wechaty initPuppet() using puppet: padchat
11:05:18 INFO Wechaty initPuppet() using puppet: padchat
(node:1171) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'resolve' of undefined
    at Peer._callee$ (/usr/src/wechaty/node_modules/json-rpc-peer/dist/index.js:166:44)
    at tryCatch (/usr/src/wechaty/node_modules/regenerator-runtime/runtime.js:62:40)
    at Generator.invoke [as _invoke] (/usr/src/wechaty/node_modules/regenerator-runtime/runtime.js:296:22)
    at Generator.prototype.(anonymous function) [as next] (/usr/src/wechaty/node_modules/regenerator-runtime/runtime.js:114:21)
    at step (/usr/src/wechaty/node_modules/@babel/runtime/helpers/asyncToGenerator.js:12:30)
    at _next (/usr/src/wechaty/node_modules/@babel/runtime/helpers/asyncToGenerator.js:27:9)
    at /usr/src/wechaty/node_modules/@babel/runtime/helpers/asyncToGenerator.js:34:7
    at new Promise (<anonymous>)
    at new F (/usr/src/wechaty/node_modules/core-js/library/modules/_export.js:36:28)
    at Peer.<anonymous> (/usr/src/wechaty/node_modules/@babel/runtime/helpers/asyncToGenerator.js:7:12)
    at Peer.exec (/usr/src/wechaty/node_modules/json-rpc-peer/dist/index.js:198:20)
    at Peer.write (/usr/src/wechaty/node_modules/json-rpc-peer/dist/index.js:279:10)
    at PadchatManager.onSocketPadchat (/usr/src/wechaty/node_modules/wechaty/dist/src/puppet-padchat/padchat-rpc.js:349:22)
    at PadchatManager.onSocket (/usr/src/wechaty/node_modules/wechaty/dist/src/puppet-padchat/padchat-rpc.js:307:18)
    at WebSocket.ws.on (/usr/src/wechaty/node_modules/wechaty/dist/src/puppet-padchat/padchat-rpc.js:104:26)
    at WebSocket.emit (events.js:187:15)
    at WebSocket.EventEmitter.emit (domain.js:442:20)
    at Receiver.receiverOnMessage (/usr/src/wechaty/node_modules/ws/lib/websocket.js:718:20)
    at Receiver.emit (events.js:182:13)
    at Receiver.EventEmitter.emit (domain.js:442:20)
    at Receiver.dataMessage (/usr/src/wechaty/node_modules/ws/lib/receiver.js:414:14)
    at Receiver.getData (/usr/src/wechaty/node_modules/ws/lib/receiver.js:346:17)
    at Receiver.startLoop (/usr/src/wechaty/node_modules/ws/lib/receiver.js:133:22)
    at Receiver._write (/usr/src/wechaty/node_modules/ws/lib/receiver.js:69:10)
    at doWrite (_stream_writable.js:410:12)
    at writeOrBuffer (_stream_writable.js:394:5)
    at Receiver.Writable.write (_stream_writable.js:294:11)
    at Socket.socketOnData (/usr/src/wechaty/node_modules/ws/lib/websocket.js:788:35)
    at Socket.emit (events.js:182:13)
    at Socket.EventEmitter.emit (domain.js:442:20)
    at addChunk (_stream_readable.js:283:12)
    at readableAddChunk (_stream_readable.js:264:11)
    at Socket.Readable.push (_stream_readable.js:219:10)
    at TCP.onread (net.js:635:20)
(node:1171) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
(node:1171) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

Expected behavior
Multiple instances should be started.

Please check out the v0.15.213, and use the new puppetToken options for Wechaty.
Code example:
const girlBot = new Wechaty({
  profile: 'girl',
  puppet: 'padchat',
  puppetToken: 'girl-token-for-puppet-padchat'
})

const boyBot = new Wechaty({
  profile: 'boy',
  puppet: 'padchat',
  puppetToken: 'boy-token-for-puppet-padchat'
})

Please also noticed that you will need two padchat tokens to test this feature.

Update v0.15.214
const girlBot = new Wechaty({
  profile: 'girl',
  puppet: 'padchat',
  puppetOptions: {
    token: 'girl-token-for-puppet-padchat' ,
  },
})

const boyBot = new Wechaty({
  profile: 'boy',
  puppet: 'padchat',
  puppetOptions: {
    token: 'boy-token-for-puppet-padchat',
  },
})

Related to: #518

@YunSun-CN Thank you for closing this issue. 👍


Add SEARCH_ENABLED parameters

Possible fix for https://github.com/wellcometrust/platform/issues/4021?

Closing as abandoned.


Support Watir-Nokogiri

Pull request to also support : https://github.com/jkotests/watir-nokogiri
Goal:
Given a rails project with integration tests build around page-objects.
Now we also want to write functional tests on the controller and quickly test the @response.body of the ActionController::TestCase (i.e. rendered HTML of the view)  for the presence of some elements using the mapped elements of the page objects (i.e. avoid repeating the xpaths here).
Issue:
For these functional tests  selenium-webdriver or watir-webdriver cannot be used directly as no rails app is running. We do not want to run one as the requests will be considerably slower then the current approach with ActionController::TestCase (Controller is instantiated directly)
Solution:
A gem exists, called watir-nokogiri, which allows the use of the watir API on a chunk of HTML.
In other words the WatirNokogiri::Document object can be used instead of a  Watir::Browser object to verify whether the mapped elements of the page object are present in the HTML
This is a similar solution as the one Capybara provides : http://robots.thoughtbot.com/use-capybara-on-any-html-fragment-or-page
Note: Not all the Watir API commands are supported, only the ones for identifying/reading elements on the HTML page. An error  "Not implemented" is raised for the other methods
Example:
browser= WatirNokogiri::Document.start('my_page.html')
my_page_object = MyPageObject.new(browser)
allows to use:
on_page(MyPageObject).my_mapped_field_element.exists?
or even:
on_page(MyPageObject).my_mapped_field?

Can watir nokogiri completely replace watir browser? Or do you have to mix and match?
If you could use just watir nokogiri, this might make a good platform

I looked over the code, and it looks like WatirNokogiri can't completely replace WatirWebdriver. WatirNokogiri doesn't implement any interaction methods, so You would have to set up two different browsers and instantiate page objects manually (instead of using the factory methods)
Overall this seems like a difficult and non-optimal workflow for the users of page-object. I would be more interested in seeing a platform that can intelligently choose WatirWebdriver or WatirNokogiri based on performance. That way, you would set it up once, and use it throughout instead of having to pick and choose where you need to use what. Another benefit of this is that if WatirNokogiri implemented any other WatirWebdriver behaviors, you could change it in the platform, and everyone using it would immediately get the benefit instead of having to adapt their code.

As author of the Watir-Nokogiri gem, it would be great to see more usage of the gem. However, I do not see a lot of benefit of making this change to the Page-Object gem. The user base for the Watir-Nokogiri gem is pretty small. If adding the support is really just those few lines of code, I think it would be reasonable to suggest Watir-Nokogiri users monkey patch their Page-Object gem.

You would have to set up two different browsers and instantiate page objects manually (instead of using >the factory methods)

I was more thinking of  creating a method which:

sets the @browser variable  to<EMAIL_ADDRESS>is automatically called whenever a PageObject is needed in the functional tests

This way you can still use the PageFactory methods without the user  needing to create/maintain this
He can directly use 'on_page(MyPageObject)'

I would be more interested in seeing a platform that can intelligently choose WatirWebdriver or >WatirNokogiri based on performance.'

The problem is not only performance related. in the functional test there is no rails server running so the  watir http requests cannot be handled. Launching a server in this case will then seriously affect performance in this case. So somehow the platform should be able to intelligently detect that a server is not available. This would mean that the platform needs to know on which ip/port combination the server is running + some kind of timeout needs to be configured to prevent glitches from automatically switch between drivers. This automatically switching could IMHO also cause unwanted behavior during integration testing as the watir-nokogiri gem doesn't implement any interaction methods : imagine that for some reason the timeout is encountered  and the driver switches from webdriver to watir-nokogiri...
@jkotests : thanks for the gem and all the work you put it in ! As you suggested I currently monkey patched the page-object gem. However I do not really like monkey patching, hence the small request ;)

+1 it makes tests run faster

If monkey-patching, as @jkotests suggested, is undesirable, I would suggest seeing if you can create a new platform. page-object has a method of registering a new platform.
PageObject::Platforms.register(:watir_nokogiri, PageObject::Platforms::WatirNokogiri)

You could bundle it all up as a gem so that when someone requires it, it adds the platform to their project. You would have to write some code for how the platform works, but it would mainly be lifting the watir-webdriver platform and adding the changes you submitted to that.

I'm going to close this pull request since this doesn't seem like the right approach. Feel free to reopen if you feel it needs further discussion.


HentaiStream.moe subtitle isn't downloaded

Hi, thanks for this tool. Does HentaiStream.moe support downloading the subtitle? I tried download from there but it just downloading the video. I checked using browser developer mode and found the subtitle URL in the HTML code, so the video I downloaded have substitle file.

Thanks

Hi, thanks for your feedback. Currently downloading subtitles is not yet supported for hentaistream.moe. I will take a look at it and implement it :) Please have some patience.

#57

Please download the newest version and try it out.

Please download the newest version and try it out.

Thanks it's works :)


pip install "Could not find a version that satisfies the requirement snakemake7.22"

Hi,
thanks a lot for building this really nice template. I was looking for something like this as I finished building a snakemake pipeline but have no experience in building command line tools. I started folowing the "Customising your Snaketool" guide, but alredy get a problem with the pip install:

pip install -e .
Obtaining file:///media/storage/home/mklostermann/racoon
Preparing metadata (setup.py) ... done
INFO: pip is looking at multiple versions of racoon to determine which version is compatible with other requirements. This could take a while.
ERROR: Could not find a version that satisfies the requirement snakemake7.22 (from racoon) (from versions: none)
ERROR: No matching distribution found for snakemake7.22

As I understood it the  install_requires tools will be installed with pip. However, snakemake seems to only do conda/mamba installation? Should I install snakemake myself with conda (I am in an empty environment) before the pip install command?

Solved :) I changed
install_requires=[
"snakemake7.22",
to
install_requires=[
"snakemake>=7.22",
the setup.py file. I guess that typo comes from the cookiecuter setup?

It might not be immediately clear but the >= is part of the cookiecutter field. The idea being that you can specify either a minimum version or a specific version. I'll see if I can add a help message to these fields.


epoch numbers

Hi, excuse me, is the main reason the training rounds are 500 because of the learnable target background embedding?I found out got10k also trained 500 epochs.Sorry to bother you. Thank you.

I want to include the target background embedding you proposed in my model, so I would like to ask this question, because my training amount may not reach 500* 60,000

We chose the round of training as 500 simply following DETR. The main reason for such a long training period is that all of the attention layers for feature aggregation are newly initialized. Without any pretrained weights loaded, the global attention operation may take a long time to converge from scratch. The embedding itself doesn't effect much.

Since our tracking model contains much less Transformer layers compared with the original DETR, I think you can cut the training budget to 300 or 200 epochs. From my own experience, it won't degrade the tracking performance too much so you can get some quick feedbacks in the earlier explorations. Less epochs are also possible as it mainly depends on your model complexity and more improtantly, the pretraining weights for initialization. For this project, remember to set LR_DROP_EPOCH in your config files accordingly to ensure a smooth convergence.

Thank you very much！I will try it.


ImageUtil.toFile always return null

Version
0.0.0-04292022-1206-56d9e1d56
Problem Area
react-native-pytorch-core (core package)
Steps to Reproduce
I am trying to save the image to the file and save in the photo library, but the result from ImageUtil.toFile is null. Here is the output from the ImageUtil.toFile:{"_U": 0, "_V": 0, "_W": null, "_X": null}.
Expected Results
No response
Code example, screenshot, or link to repository
const handleImage = async(image) =>{
try{
if(distanceTravelled >= 1 && isStart){
const results = await detectObjects(model, image);
let frame = [];
console.log("Frame " + count + ":");
for(let i=0;i<results.length;i++){
const result = results[i];
const left = Math.round(result.bounding_box[0]/2.5);
const top = Math.round(result.bounding_box[1]/2.5);
const right = Math.round(result.bounding_box[2]/2.5);
const bottom = Math.round(result.bounding_box[3]/2.5);
console.log(left+"----"+top+"----"+right+"----"+bottom);
const boundingbox = [left, top, right, bottom];
frame.push(boundingbox);
}
boundingbox_array.push(frame);
let path = ImageUtil.toFile(image);
console.log(path);
frame_array.push(path._W);
count+=1;
SetDistanceTravelled(0.0);
}
image.release();
}catch(e){
console.log(e);
}
};

@JohnZcp this is an async function, it'll return Promise, so u have to await that function. Btw, you need to read the document more carefully.

Seems this is resolved. Closing.


Reconsider the lifecycle of the HttpServer

Currently we have logic to start the Prometheus HTTP server but no logic ever closes it. We should decide on the lifecycle we want for that server and see whether it makes sense to close it at some point.

Done in https://github.com/strimzi/metrics-reporter/pull/40


Use DropBehavior::Panic

I have some code hanging around to use this:
https://github.com/jgallagher/rusqlite/pull/325
to make it easier to spot a coding error that results in a transaction not being committed.
It might even be useful enough to be the default setting.

This will be pending on the next rusqlite release, of course.


Arabic translation

this is the Arabic "عربي" translation of all the strings in the values/strings.xml.
I did them and asked a friend of mine to confirm that it fits, and other translated apps to make sure I am using the correct wording for the translation.
values-ar.zip

Great job bro

I don't have time to support the application, so the edits are unfortunately not relevant.


Why might the openAll method not work?

Why might the openAll method not work?
Instead of opening all nodes, it closes them....

@zetorby Thanks for the report.
Can you tell me what version of the package you are using?
Also, any code, etc. to reproduce the problem would be helpful.
Also, is CodeSandbox here working correctly?
https://codesandbox.io/s/opening-and-closing-all-nodes-js-eqxzti

@minop1205 Hi.
I think the problem is in the ID
I changed the IDs of elements in your example, and now the method doesn't work correctly
https://codesandbox.io/s/opening-and-closing-all-nodes-js-forked-8cokxt?file=/src/sample_data.json

@zetorby Thanks for the sample.
I have looked at the sample you provided and it appears that both openAll and closeAll are working as expected.
The current implementation of openAll is to open all nodes where droppable is set to true.
Therefore, the following node in sample_data.json has droppable set to false, so the nodes under it are not displayed.
{
    "id": 277,
    "parent": 276,
    "droppable": false,
    "text": "File 1-1",
    "data": {
      "fileType": "csv",
      "fileSize": "0.5MB"
    }
  },

I think if I set droppable on this node to true, it will work as expected, has this solved the problem?

@minop1205 Thank you, it worked.


Update to type 0x2 transactions

Addresses #58 to update to type 0x2 transactions
In deployment scripts, sets maxFeePerGas instead of gasPrice

@pvienhage https://github.com/ethers-io/ethers.js/blob/32c9a0976276245ad3191260157fb814e5c00080/packages/abstract-provider/src.ts/index.ts#L249


Angular/cli@latest installation taking too long and keep showing same chunk of message in iteration

Hi,
I am upgrading angular/cli, just before that I have uninstall/deleted existing node.js, npm, typescript and cli globally and locally. Reinstalled the latest node.js with npm and typescript.
Now I am installing cli with
sudo npm install -g @angular/cli@latest
on terminal and it's taking over 15 minutes (previous installation took 3 minutes), keep on showing the following message in iteration (pasted below) and heating up my laptop.
Is it normal?
Thanks.
Fuad
Machine Configuration:
Angular CLI: 1.5.0
Node: 8.9.1
Angular:
...
OS: darwin x64 Sierra 10.12.6
Message:
gyp verb command install [ '8.9.1' ]
gyp verb install input version string "8.9.1"
gyp verb install installing version: 8.9.1
gyp verb install --ensure was passed, so won't reinstall if already installed
gyp verb install version not already installed, continuing with install 8.9.1
gyp verb ensuring nodedir is created<EMAIL_ADDRESS>gyp WARN EACCES user "root" does not have permission to access the dev dir<EMAIL_ADDRESS>gyp WARN EACCES attempting to reinstall using temporary dev dir<EMAIL_ADDRESS>gyp verb tmpdir == cwd automatically will remove dev files after to save disk space

This doesn't appear to be a CLI issue but rather a node/npm issue.  However, it appears that there is a permissions issue.  Generally sudo should not be necessary to install a global package.

https://github.com/angular/angular-cli#installation

The installation was on loop for over 45 minutes before I aborted it. Even though there are articles on the net about installations took a prolonged time, I'm sure that's not the case in here. My installation was hung on loop. @clydin It didn't let me install without the sudo prefix and I installed previous angular/cli versions without any permission problem. In the meantime, I'm installing the previous versions to get going before this is fixed.

As suggested in the following post running with --unsafe-perm option makes this succeed.
https://github.com/nodejs/node-gyp/issues/454
sudo npm install --unsafe-perm -g @angular/cli
from npm help scripts

If npm was invoked with root privileges, then it will change the uid to the user account or uid specified by the user config, which defaults to nobody. Set the unsafe-perm flag to run scripts with root privileges.

Same issue and  sudo chown -R $(whoami)  /usr/local/lib/node_modules  fixed it on my machine.
reference

This repo is not the correct forum to debug general npm installation issues (even if they are related to installing the CLI itself). Please consult npm documentation and forums.

Yes it is indeed an npm issue, precisely a computer user permission issue. Help from the official npm site fixed my problem. Link is given below. Enjoy!
https://docs.npmjs.com/getting-started/fixing-npm-permissions
can also sneak a peek at:
https://www.youtube.com/watch?v=dBuLKZpmHDI

i am using ubuntu and i tried install @angular/cli with yarn . but after installation output is :
The program 'ng' is currently not installed. You can install it by typing: sudo apt install ng-common

I was facing this error while running yarn install. While searching into the @angular/cli package.json file, I found it has node-sass as an optionalDependency.
So running yarn install --ignore-optional solved my issue (given that I already have node-sass in my project's devDependencies


[Website] Function parameters display inconsistent

On the page Routines
For certain group of functions, function along with its parameters are displayed

Sort and search - https://mxnet.incubator.apache.org/api/python/docs/api/ndarray/routines.html#sort-and-search
Neural Network - https://mxnet.incubator.apache.org/api/python/docs/api/ndarray/routines.html#neural-network
Miscellaneous - https://mxnet.incubator.apache.org/api/python/docs/api/ndarray/routines.html#miscellaneous

However, for rest of the groups, parameters are not displayed.
Would be great to have one place where there are all Operators (along with their operators)

@mxnet-label-bot add [Website]

@aaronmarkham
Use-case: In previous website, on 1 single page, I could search for all operators that have specific parameter "index".
But now I can't.

It would seem that the signatures have been explicitly turned off with :nosignatures:.
https://github.com/apache/incubator-mxnet/blob/master/docs/python_docs/python/api/ndarray/routines.rst
I can't tell you why some were left with signatures and some were not other than I recall seeing problems with sphinx throwing duplicate ID warnings. Maybe that's why? You can try it out and remove the nosig thing and see what happens... if that's the desired output and if it doesn't add warnings, because we still need to turn "warnings as errors" back on so that PRs are not added that break the generation of the API docs.

@aaronmarkham
Use-case: In previous website, on 1 single page, I could search for all operators that have specific parameter "index".
But now I can't.
These pages were somewhat hand-crafted to display the different functions, so I suppose you could create a page that has all ops and sigs on it.

Will be fixed by @ThomasDelteil #16392

Closing since fixed


Adding WholeValue, Min/max value, dynamic TicksMarks on the PinchSlider

Overview
I modified the PinchSlider script :

Possibility to choose a minimum and maximum value.
Possibility to choose to slide with whole or float value.
Possibility to dynamically setup the Ticks marks (UpdateTickMarks()).
SliderSounds's "TickEvery" variable is dynamically change too (Only if you able the Ticks Marks automatic setup).
Adding a SetTickEvery function because of the private access.

Changes

Fixes: #6756 (additional context part)

Verification
Everything works well on the PinchSlider's example scene.
This is my first pull request, let me know if i did something wrong.

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

This PR also addresses #5674 and looks like it could address #4140

Hi, thank you very much for all your comments!
I m sorry to not had a look to your guidelines before Push. I will take care about every single change request you all did.
Also, sorry about my second commit, i wasn't aware it would be commit also on the PR. That was just for a save for me ahah.

@wiwei  and @thalbern and @Kent1LG  Something to consider for back compat and to help stage this change would be to create a "PinchSliderWithVisuals" or "VisualPinchSlider" or "EnhancedPinchSlider" or "MinMaxPinchSlider" class that extends PinchSlider, since most of this functionality is additive. This would prevent breaking changes to people already using pinch slider, it could be made experimental so we could iron out issues for a release, and would allow us to change things more easily as we got feedback.

Sorry i made a mistake with my last commit...

closing as requested per author


SSLV3_ALERT_HANDSHAKE_FAILURE in 2.6.2

raise SSLError(e, request=request)
requests.exceptions.SSLError: [SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:600)

Started happening consistently after upgrading to Requests 2.6.2. Tested in both Yosemite and Ubuntu 14.04. Python 3.4.3.
Downgrading to Requests 2.6.0 solves the issue.

@Nelluk Can you provide more information on what causes this? Which server are you accessing, etc?
At the moment, the most likely change in that delta is the fact that we slightly changed our default SSL cipher list:
- ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:ECDH+3DES:DH+3DES:RSA+AESGCM:RSA+AES:RSA+3DES:!aNULL:!MD5:!DSS
+ ECDH+AESGCM:DH+AESGCM:ECDH+AES256:DH+AES256:ECDH+AES128:DH+AES:ECDH+HIGH:DH+HIGH:ECDH+3DES:DH+3DES:RSA+AESGCM:RSA+AES:RSA+HIGH:RSA+3DES:!aNULL:!eNULL:!MD5

It's possible this is causing a problem, though it's tricky to see how: knowing what server you're contacting would help me diagnose in that regard.

Some experimentation in IRC shows this to be transient: sometimes it works, sometimes it doesn't, but it only ever fails to work in 2.6.2: it always works in 2.6.0.
This suggests one of the two servers at this host has a bad cipher configuration that we don't like. Looking at the successful handshake, from 2.6.0 we negotiate TLS_RSA_WITH_RC4_128_SHA (a truly terrible cipher), whereas from 2.6.2 we negotiate TLS_RSA_WITH_3DES_EDE_CBC_SHA (still not great, but a bit better).
Looks like the change to make is to pass a custom cipher set.

That said, it looks like RC4 should have been forbidden in the old codebase: I assume I'm missing a change where we now always override the stdlib cipher suite.

Before we conditionally used our own cipher suite. Now we unconditionally use it.

Right, that'll do it. So, we probably broke some stuff there: we should at the very least blog about how to change the cipher suite.
Cory

On 26 Apr 2015, at 14:48, Ian Cordasco<EMAIL_ADDRESS>wrote:
Before we conditionally used our own cipher suite. Now we unconditionally use it.
—
Reply to this email directly or view it on GitHub.

Any follow up on that blog? Im hitting this issue in Python 2.7.9. How do we go about putting in a custom cipher suite?

For the moment, setting a custom cipher suite is done by changing requests.packages.urllib3.util.ssl_.DEFAULT_CIPHERS (or requests.packages.urllib3.contrib.pyopenssl.DEFAULT_CIPHER_LIST if you're using PyOpenSSL: best to change both).
I'm holding off on a more formal bit of documentation for now because ideally we'll land a 'custom SSL context' patch into urllib3 that will make this API way better.

If I am writing an update for this issue, should I use Python 2.7.8 or should I use Python 3?

Ideally, both. =)

Does the above PR fix this issue or are does it fix something else related to this issue?

I have no idea: I strongly suggest that you ask in the PR itself. It was never opened against the requests project.

Hah, sorry, I read to fast, should have looked at the proejct it was referenced in, I thought it was this one. My bad.

I'm getting this with v2.12.4, only the line number is different:
requests.exceptions.SSLError: [SSL: SSLV3_ALERT_HANDSHAKE_FAILURE] sslv3 alert handshake failure (_ssl.c:749)

No, there is now only one cipher list in urllib3: no need to change both.

Same problem here with versions 2.12.1 and 2.13.0.
Hotfixed with this:
import requests
requests.packages.urllib3.util.ssl_.DEFAULT_CIPHERS = \
        requests.packages.urllib3.contrib.pyopenssl.ssl._DEFAULT_CIPHERS
response = requests.get(...)

I could get this to work only with:
requests[security]==2.7.0  # not 2.18.x
cryptography==1.9   # not 2.0

@michi88 Please open a new bug report with a complete description of your problem.

The versions in this issue are all ancient, if this issue is still occurring please reopen a new issue with supported versions of Requests+Python.


handle ray calls in OmnisciOnRayFramePartition by handle_ray_task_error function

Out of date due to https://github.com/modin-project/modin/pull/3352


Package request: Geovisio-cli

Project description
CLI tool for uploading your pictures to a Panoramax instance
Metadata

homepage URL: https://docs.panoramax.fr/cli/INSTALL/
source URL: https://gitlab.com/panoramax/clients/cli
license: mit
platforms: linux (?)

Add a :+1: reaction to issues you find important.

Working on this, I'll submit a PR up. This will introduce a few new python modules 😅


Android updating apk from Firebase App-Distribution do not work

Is there an existing issue for this?

[x] I have searched the existing issues
[x] I have read the guide to filing a bug

Problem
I am currently working on a Flutter project. I have set up a GitHub Action pipeline where the Flutter App is built for Android. After the build, the apk is uploaded to Firebase App-Distribution. These steps work fine but when a new app version is in the App-Tester and I want to install it, I have to uninstall the current app on my device before I can install the new one.
https://stackoverflow.com/questions/77144066/firebase-app-distribution-app-cannot-be-updated-must-be-uninstalled-before-inst
Steps to reproduce

Create a Flutter project
Create a GitHub Action pipeline with the sample code
Setup Firebase
Run the Pipeline

Expected results
When I install a new .apk with a new version which was uploaded to Firebase App-Distribution then I should update the existing one.
This works when I build the app locally in my terminal. So I run flutter build apk --release --build-name 1.0.<Number> and when I upload the result to Firebase App-Distribution then I updates the old app.
Actual results
When Github Action uploads a new App to Firebase App-Distribution and I want to install it I get a prompt that I need to deinstall the existing app.
Code sample
Code sample
...

- name: Install Flutter ${{ env.flutterVersion }}
  uses: subosito/flutter-action@v2
  with:
    flutter-version: "${{ env.flutterVersion }}"
    channel: "stable"

...

- name: Install dependencies
  run: flutter pub get

- name: Flutter build apk
  run: flutter build apk --release --build-name 1.0.${{ env.NEW_BUILD_VERSION }}

...

- name: Upload apk to Firebase
  uses: ./.github/actions/firebase_app_distribution
  with:
    path: build/app/outputs/flutter-apk/app-release.apk
    app: ${{ secrets.APP_ID }}
    serviceAccountJSON: ${{ secrets.GOOGLE_SERVICE_JSON }}
    group: internal-testers

Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.13.1, on Ubuntu 22.04.3 LTS 6.2.0-1012-azure, locale C.UTF-8)
    • Flutter version 3.13.1 on channel stable at /opt/hostedtoolcache/flutter/stable-3.13.1-x64
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision e1e47221e8 (5 weeks ago), 2023-08-22 21:43:18 -0700
    • Engine revision b20183e040
    • Dart version 3.1.0
    • DevTools version 2.25.0

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /usr/local/lib/android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /usr/local/lib/android/sdk
    • ANDROID_SDK_ROOT = /usr/local/lib/android/sdk
    • Java binary at: /usr/lib/jvm/temurin-11-jdk-amd64/bin/java
    • Java version OpenJDK Runtime Environment Temurin-<IP_ADDRESS>+1 (build <IP_ADDRESS>+1)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at google-chrome

[✗] Linux toolchain - develop for Linux desktop
    • Ubuntu clang version 14.0.0-1ubuntu1.1
    • cmake version 3.27.6
    ✗ ninja is required for Linux development.
      It is likely available from your distribution (e.g.: apt install ninja-build), or can be downloaded from https://github.com/ninja-build/ninja/releases
    • pkg-config version 0.29.2
    ✗ GTK 3.0 development libraries are required for Linux development.
      They are likely available from your distribution (e.g.: apt install libgtk-3-dev)

[!] Android Studio (not installed)
    • Android Studio not found; download from https://developer.android.com/studio/index.html
      (or visit https://flutter.dev/docs/get-started/install/linux#android-setup for detailed instructions).

[✓] Connected device (2 available)
    • Linux (desktop) • linux  • linux-x64      • Ubuntu 22.04.3 LTS 6.2.0-1012-azure
    • Chrome (web)    • chrome • web-javascript • Google Chrome 117.0.5938.92

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 2 categories.

No, I did not. But I will try. I will let you know.

Thank you for your passion. I have updated Flutter to 3.13.5. I also created a new project as you suggested. But I get exactly the same behaviour. As described above.

Sure, here is the newly created Flutter project (https://github.com/berkkan22/firebase_flutter_test). If you like I can also add you to the Firebase project so you can see the apps (I need your email address for this).
Yes, I can try it out.

I have created a workflow with codemagic as you suggested. I still get the same behaviour.

In your build process, are you incrementing the build number in addition to the build name?
See https://docs.flutter.dev/deployment/android#updating-the-apps-version-number

No, I only increment the build name.

Can you try incrementing the build number as well?


options.ignore

follow up for https://github.com/calvinmetcalf/crypto-pouch/pull/25, based on https://github.com/calvinmetcalf/crypto-pouch/pull/26

Works for me.
As the option is called "ignore" we should probably change the title of this issue to avoid confusion.
As I understand it, the {ignore: '_attachments'} option is currently required if you're not 100% sure there will never be attachments in your documents. With this option set, db.putAttachment / db.getAttachment are working for me, so the note in the README is misleading.

I don't think this was built on master

done updating

I just got back from vacation and am digging out so I'll try to get to this sometime today or tommorow

few nits otherwise looks good

looking good, feel free to squash and merge

I’ve added and pushed a build commit, too (7feae75). I think ít’s ready for a new release


Documented command to set default organization is incorrect

[Enter feedback here]
The command is listed as
az devops configure --defaults organization=https://dev.azure.com/[your-organization] project=ContosoWebApp
This does not work at all, even when I properly replace my organization and project.  It doesn't know what the "devops" part is
az: 'devops' is not in the 'az' command group. See 'az --help'. If the command is from an extension, please make sure the corresponding extension is installed. To learn more about extensions, please visit https://docs.microsoft.com/en-us/cli/azure/azure-cli-extensions-overview
After trial and error, it would appear I just need to lose the "devops" part

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

ID: 77bcd39f-91ab-bb93-40fc-dd4fc5f2374f
Version Independent ID: c228aece-669a-57d6-b3ed-d427586f8a61
Content: Publish and then download a Universal Package - Azure Artifacts
Content Source: docs/artifacts/quickstarts/universal-packages.md
Product: devops
Technology: devops-artifacts
GitHub Login: @ramiMSFT
Microsoft Alias: rabououn

I'm very sorry for wasting anyone's time with this RTFM question.  My eyes went right over the part of the error message about extensions