Configuration help

Hello, thank you for this integration!
May I kindly ask you to provide me with more details about the configuration?
Service url? - is it url of the Inels CPU or IMM?
Is it compatible with Inels 2nd generation?
Thanks a lot
Jan Fiala

Sorry for late respons,
I didn't came accross this project since last update.
IMM whole url has to be provided. http://ip_address
CU2 may or may not work. It depends.
I think lights and switches should work. Try it and you'll see.
If some error will rice, then do not hesitate to contact me. We can solve it together.
Kind regards
JH.

Hi, thanks for your answer.
If it communicates thru the connection server and not directly with CU, then I suppose it should work also with Inels Gen2. The connection server is identical for Inels 2 and 3.
I tried to setup a connection, but when I start InelsForHass, a  window with 3 fields without any descriptions appears.
I suppose the first one is for IMM url in format http://ip_address and the two

next fields? port, credentials...?
I tried various combination but without success..
Thanks in advance ;-)
Regards
JF

First is url of connection server, second is port 8001 and the last one does nothing.
You can put string CU2 or whatever you want.
The last one should have been to recognize the CU unit type, but it is not implemented now.
Kind regards
JH

Thanks for the hint!
Now I am able to access the IMM, see the entities nevertheless all of them are unavailable.
IMM is up and running, I havent noticed any fruther setting options in Hass integration so I suppose it might be caused by the old 2nd gen INELS.
Or any other idea?

Any HA log?

home-assistant_inels_2024-01-08T18-40-24.918Z.log

I found error wit some kind of entity which causes problems.
Do you have any unix system in your local network?
I'll prepare python script which will get all raw data from your CU unit. After that, I'll debug it and correct integration to avoid this issue.
What I need from you is local IP address of your IMM. I need to use it in that script.
But not today, Mandalorian is waiting.✌
Kind regards
JH

Of course, no stress. :-)
I am not aware of any UNIX system in my local network.
IMM IP: <IP_ADDRESS>
thx JF
po 8. 1. 2024 v 20:08 odesílatel Jiří Horálek @.***>
napsal:

I found error wit some kind of entity which causes problems.
Do you have any unix system in your local network?
I'll prepare python script which will get all raw data from your CU unit.
After that, I'll debug it and correct integration to avoid this issue.
What I need from you is local IP address of your IMM. I need to use it in
that script.
But not today, Mandalorian is waiting.✌
Kind regards
JH
—
Reply to this email directly, view it on GitHub
https://github.com/JH-Soft-Technology/InelsForHass/issues/14#issuecomment-1881667205,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AYMFMKHPC6S4H5HPSJUGM2DYNQ72HAVCNFSM6AAAAAA3UTPNF2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBRGY3DOMRQGU
.
You are receiving this because you authored the thread.Message ID:
@.***>

Hi, is there any chance to investigate the errors in the near future?
Thanks a lot for your feedback ;-)
JF

sorry for late response.
Here is a setup what to do to get raw data with all of your devices.
https://github.com/JH-Soft-Technology/pyinels/issues/27#issuecomment-1576908385

Hi, thanks for your reply.
As Im not an advanced user in programming, do I understand well I need
to go thru the following steps:

I run this script in HA and save it as devices.py

from pyinels.api import Api
from unittest import TestCase
api = Api("http://IP_ADDRESS_OF_CONNECTION_SERVER", 8001, "CU3")
rooms = api.getRooms()
with open('raw_data.txt', 'w',encoding='utf-8') as f:
for room in rooms:
devices = api.getRoomDevicesRaw(room)
f.write(devices)
f.write('\n')

in next step I need to update the init.py as described in
https://github.com/JH-Soft-Technology/pyinels/pull/28

By the way, I use integration InelsForHass, not Pyinels. Is there any
difference between them?
 2. 2024 v 14:19 odesílatel Jiří Horálek
@.***> napsal:

sorry for late response.
Here is a setup what to do to get raw data with all of your devices.
JH-Soft-Technology/pyinels#27 (comment)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

Hi hanyzzz82,
nothing to change inside of the integration code.
Teoretically you can create and run the script in HA terminal. In HA install visualstudiocode add-on.
VS Code is IDE which can be use to programing in many common languages. You can create and edit files, saveing them and executing.
Better way is to create and run this script on the system where yours HA is runing. Any Linux, Unix, HassOS or so.
If you're not sure how to do it, I can make some short tutorial.
Kind regards
Jiri

Hi, any chance to find a little time to make a small tutorial? Thaks a lot in advance ;-)
Regards
Jan

Hi there,
question - should I run the script "devices.py" only once or it should run continuously?
Thanks Jan

Hi there, question - should I run the script "devices.py" only once or it should run continuously? Thanks Jan

Getting devices to the HA integration is running only once the begining.
You can run it on your own outside of the integration.
Sorry for late response, but I'm very bussy at the moment.
Kind regards
J.H.

Hi, OK and what should be done in the next step? Or it's enough to run the
script and then the entities should as expected?
Thx a lot
BR Jan Fiala
On Wed 7. 8. 2024 at 11:04, Jiří Horálek @.***> wrote:

Hi there, question - should I run the script "devices.py" only once or it
should run continuously? Thanks Jan
Getting devices to the HA integration is running only once at the begining.
You can run it on your own outside of the integration.
Sorry for late response, but I'm very bussy at the moment.
Kind regards
J.H.
—
Reply to this email directly, view it on GitHub
https://github.com/JH-Soft-Technology/InelsForHass/issues/14#issuecomment-2272983015,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AYMFMKFYWL7V3OBLFFX2MWLZQHPIHAVCNFSM6AAAAAA3UTPNF2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENZSHE4DGMBRGU
.
You are receiving this because you authored the thread.Message ID:
@.***>

Hi there,
I've successfully retrieved list of the devices using the script, but I've no clue what to do next. Could you please give me a hint?
Thanks
BR Jan

Did you download the integration in Home Assistant?
You have to setup the integration using the URL of your connection server

Hi! This happened to me as well a couple of times.  If you made changes to your config via IDM try to reload the file in connection server.
Additionally if that does not work delete the rooms in Connection server and create the entities again.  Also remove the Inels integration and after you create the new rooms add it gain.
This is a nuclear approach but that's how I solved it.  Still don't know why it happened
Hope this points you in the right direction

Hi!
Unbelievable, it works. Indeed, I had to delete the rooms and add it again
in CS.
Thanks a lot for this advice
BR Jan
út 8. 10. 2024 v 18:43 odesílatel ds141414 @.***>
napsal:

Hi! This happened to me as well a couple of times. If you made changes to
your config via IDM try to reload the file in connection server.
Additionally if that does not work delete the rooms in Connection server
and create the entities again. Also remove the Inels integration and after
you create the new rooms add it gain.
This is a nuclear approach but that's how I solved it. Still don't know
why it happened
Hope this points you in the right direction
—
Reply to this email directly, view it on GitHub
https://github.com/JH-Soft-Technology/InelsForHass/issues/14#issuecomment-2400355936,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AYMFMKCZBGSCB4YFA2QQQ2DZ2QDRPAVCNFSM6AAAAAA3UTPNF2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMBQGM2TKOJTGY
.
You are receiving this because you authored the thread.Message ID:
@.***>

Hi!
Happy to help!
I spent a lot of time figuring that out.  However I would love to know what really happens and it breaks.
Maybe the developer can help us out
DS

Hi, thanks again for this great integration. Is there any chance to add temperature sensors for the future development? I mean the ones published in connection server.
Regards
Jan

Hi, The only way I found to add a temperature sensor from an Inels sensor is via a TCP sensor

platform: tcp
name: water_heater_temp
host: 192.168.1.xx
port: 1111
timeout: 2
payload: "GET,0x01050009\r\n"
value_template: "{{ value.split(',')[2] | int(base=10)/100 }}"
unit_of_measurement: "°C"

Have a look at this link
Also at the attachment below from Inels.  You have to configure your CU to export the data and interface with it using telnet or the TCP sensor from home assistant
idm3_tutorial17_ascii-communication-protocol.pdf

Ok, I guess it’s not feasible for me since I’m running CU of 2nd gen.
Thanks
On Thu 10. 10. 2024 at 16:37, ds141414 @.***> wrote:

Hi, The only way I found to add a temperature sensor from an Inels sensor
is via a TCP sensor

platform: tcp
name: water_heater_temp
host: 192.168.1.xx
port: 1111
timeout: 2
payload: "GET,0x01050009\r\n"
value_template: "{{ value.split(',')[2] | int(base=10)/100 }}"
unit_of_measurement: "°C"

Have a look at this link
https://github.com/JH-Soft-Technology/InelsForHass/issues/15?notification_referrer_id=NT_kwDOA6ZOYLQxMjc1Njg1ODQzMjo2MTIzMDY4OA#issuecomment-1881535778
Also at the attachment below from Inels. You have to configure your CU to
export the data and interface with it using telnet or the TCP sensor from
home assistant
idm3_tutorial17_ascii-communication-protocol.pdf
https://github.com/user-attachments/files/17329853/idm3_tutorial17_ascii-communication-protocol.pdf
—
Reply to this email directly, view it on GitHub
https://github.com/JH-Soft-Technology/InelsForHass/issues/14#issuecomment-2405278329,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AYMFMKHLA76TZHIXTXNKAFLZ22GKNAVCNFSM6AAAAAA3UTPNF2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMBVGI3TQMZSHE
.
You are receiving this because you authored the thread.Message ID:
@.***>

Hi, unfortunatelly not. It’s CU2-01M.
On Thu 10. 10. 2024 at 17:19, ds141414 @.***> wrote:

Hi,
If your CU is this
https://www.elkoep.com/central-unit
Then it should be supported. It is the a discontinued model but they still
support it.
Also if your wall switches are from WS-40 line you should be OK
https://www.elkoep.com/4button-controller-wsb3-40
—
Reply to this email directly, view it on GitHub
https://github.com/JH-Soft-Technology/InelsForHass/issues/14#issuecomment-2405417904,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AYMFMKC2VWBONEPIHS5DJC3Z22LJZAVCNFSM6AAAAAA3UTPNF2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMBVGQYTOOJQGQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

maybe it is time for an upgrade :)
https://www.elkoep.com/central-unit-with-2x-bus---cu3-08m

definitely :-)
čt 10. 10. 2024 v 19:03 odesílatel ds141414 @.***>
napsal:

maybe it is time for an upgrade :)
https://www.elkoep.com/central-unit-with-2x-bus---cu3-08m
—
Reply to this email directly, view it on GitHub
https://github.com/JH-Soft-Technology/InelsForHass/issues/14#issuecomment-2405628665,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AYMFMKDYALXX7DDANTUTQSLZ22XNLAVCNFSM6AAAAAA3UTPNF2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMBVGYZDQNRWGU
.
You are receiving this because you authored the thread.Message ID:
@.***>

Does anyone faced same issue (Unexpected exception) when saving initial connection to connection server in HA?
I'm using url of connection server, which perfectly loads login page on 8080 port. When I use port 8080 or mentioned 8001, both cause unexpected exception.
Based on log, it says:
Unexpected exception
Traceback (most recent call last):
File "/config/custom_components/inels/config_flow.py", line 75, in async_step_user
info = await validate_input(self.hass, user_input)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/inels/config_flow.py", line 49, in validate_input
ping = await hass.async_add_executor_job(api.ping)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/usr/local/lib/python3.13/site-packages/pyinels/api/init.py", line 79, in ping
return self.proxy.ping()
~~~~~~~~~~~~~~~^^
File "/usr/local/lib/python3.13/xmlrpc/client.py", line 1096, in call
return self.__send(self.__name, args)
~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/xmlrpc/client.py", line 1435, in __request
response = self.__transport.request(
self.__host,
...<2 lines>...
verbose=self.__verbose
)
File "/usr/local/lib/python3.13/xmlrpc/client.py", line 1140, in request
return self.single_request(host, handler, request_body, verbose)
~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/xmlrpc/client.py", line 1152, in single_request
http_conn = self.send_request(host, handler, request_body, verbose)
File "/usr/local/lib/python3.13/xmlrpc/client.py", line 1265, in send_request
self.send_content(connection, request_body)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/xmlrpc/client.py", line 1295, in send_content
connection.endheaders(request_body)
~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/http/client.py", line 1331, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/http/client.py", line 1091, in _send_output
self.send(msg)
~~~~~~~~~^^^^^
File "/usr/local/lib/python3.13/http/client.py", line 1035, in send
self.connect()
~~~~~~~~~~~~^^
File "/usr/local/lib/python3.13/http/client.py", line 1001, in connect
self.sock = self._create_connection(
~~~~~~~~~~~~~~~~~~~~~~~^
(self.host,self.port), self.timeout, self.source_address)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.13/socket.py", line 864, in create_connection
raise exceptions[0]
File "/usr/local/lib/python3.13/socket.py", line 849, in create_connection
sock.connect(sa)
~~~~~~~~~~~~^^^^
ConnectionRefusedError: [Errno 111] Connection refused


test

//

May I create a tiny repo for this purpose?

May I create a tiny repo for this purpose?

For what exactly?
Anyway, currently integration tests workflow runs only tests are green, but is not shown in the PR checks. I read some stuff online and there is no workaround that. So I think I'll convert it to just run parallel.

there is no workaround

Very worring.

:)

I do not have the strength to argue.
Here we have a naming mismatch. These are E2E tests, not integrations tests.


python 3.4 compatible?

Works great in 2.7. Should I expect issues if run under 3.4?

Why not giving it a try?
sent from a small handheld device with autocorrection
18 сент. 2015 г. 1:45 AM пользователь "fickas"<EMAIL_ADDRESS>написал:

Works great in 2.7. Should I expect issues if run under 3.4?
—
Reply to this email directly or view it on GitHub
https://github.com/lins05/slackbot/issues/26.

I don't think the current code can work with py3k, but would like to see if someone is willing to work on it.

The first thing that happened when I tried to install slackbot under pip3 with python3.5 was:
root@timdevel:~/bot# pip3 install importlib
Collecting importlib
  Using cached importlib-1.0.3.tar.bz2
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "<string>", line 3, in <module>
      File "/usr/local/lib/python3.5/site-packages/setuptools/__init__.py", line 4, in <module>
        import distutils.core
      File "/usr/local/lib/python3.5/distutils/core.py", line 16, in <module>
        from distutils.dist import Distribution
      File "/usr/local/lib/python3.5/distutils/dist.py", line 19, in <module>
        from distutils.util import check_environ, strtobool, rfc822_escape
      File "/usr/local/lib/python3.5/distutils/util.py", line 9, in <module>
        import importlib.util
    ImportError: No module named ‘importlib.util’

A manual download and installation later and running python3 start.py gives
[user@timdevel bot]# python3 start.py
Traceback (most recent call last):
  File "start.py", line 3, in <module>
    from slackbot.bot import Bot
  File "/usr/local/lib/python3.5/site-packages/slackbot-0.2.4-py3.5.egg/slackbot/bot.py", line 9, in <module>
ImportError: No module named ‘thread’

So looking at it we might be able to do something like
try:
   import thread
except ImportError:
   import _thread as thread

But then there are other issues, such as syntax being different i.e.. except WebSocketException, e:. I will see if I have time to dig into this deeper.

This could be closed ?


Content Slider should use "Largest Li Height" for others instead of using the first one !

Hi, first sorry for bad english.
Thanks for your light and good script but:
I think your slider should set "largest Height" of all slides to others instead of the first one ! (adaptiveHeight is false)
I changed lightslider.js to this :
largestHeight: function(elm){
var max=-1;
elm.each(function() {
var h = $(this).height();
max = h > max ? h : max;
});
return max;
},
setHeight: function (ob, fade) {
var obj = null,
$this = this;
if (settings.loop) {
obj =ob.children('.lslide ');
} else {
obj =ob.children();
}
var setCss = function () {
var tH = plugin.largestHeight(obj),
tP = 0,
tHT = tH;....... .......

There was another solution for this issue: #186

good solution,  thanks.


Fix some groupby test cases that were commented out after switching to pandas>=2.0.

https://github.com/modin-project/modin/blob/1d8a179dc0d775b8601f0586da4b64f9c4f86c0b/modin/pandas/test/test_groupby.py#L1344-L1356

@anmyachev, the issue in pandas was fixed in 2.0.1. Do we still see the problem on our side?

@anmyachev, the issue in pandas was fixed in 2.0.1. Do we still see the problem on our side?

yes, I see


🔧⚙🔩 [Breaking Change] (config)  Clear the reusable workflow arguments and steps.

Target

Clear the reusable workflow arguments and steps.

Modify Code Scope

Configuration

GitHub Action workflow: files in directory .github/workflows
Standard Python project config: pyproject.toml
Poetry lock file: poetry.lock

Effecting Scope

The all usage of reusable workflow .github/workflows/pre-building_test.yaml.

Description

Clear the arguments and steps of reusable workflow.
Adjust the usage of each tests.
Add cache of Poetry.
Modify the package naming in standard Python project config.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
2

Relevant Lines:
3

💛  - Coveralls


vue error

i use your config, but
[Vue warn]: Error in render: "TypeError: Cannot read property 'interval' of undefined"
found in
--->  at node_modules/vuepress-theme-yubisaki/layouts/Layout.vue
 at<EMAIL_ADDRESS>

Any repo to reproduce?

Any repo to reproduce?

i resolve this,  because i don't set "type: post"  at start, so throw err above

Any repo to reproduce?

i resolve this, because i don't set "type: post" at start, so throw err above

Got it. I will create a patch to handle compatibility issues.


[feature request] Add DROP SHARDS query for bulk removal of shards

Feature Request
Current behavior:
Currently attempting to drop multiple shards at once is a bit of a pain, as you can only drop one shard at a time (meaning to drop 10 shards, you must issue 10 DROP SHARD queries).
DROP SHARD 1
DROP SHARD 2
DROP SHARD 3
...

Desired behavior:
It would be great if you could drop multiple shards at once via DROP SHARDS query that takes optional database and time parameters. For example:
DROP SHARDS WHERE database = 'metrics' AND start_time < '2011-10-28T00:00:00Z'

Which would drop all shards belonging to the metrics database that have start_time's before October 28th, 2011. Or:
DROP SHARDS WHERE start_time < '2011-10-28T00:00:00Z'

Which would drop all shards (from all databases) that have start_time's before October 28th, 2011.
Use case:
It's a pain to drop a lot of shards, especially if they were created in error due to an incorrect write precision (writing s timestamps with ns precision). This enhancement would make it much easier to drop multiple shards at once.

I also need this functionality! :-)


api: Add mechanism for filters to define route action.

Description: Add a mechanism for a filter to define the action for a route.
Risk Level: Low
Testing: N/A
Docs Changes: Inline with proto change.
Release Notes: N/A
Fixes #8953.
@htuch and @mattklein123, I'm proposing this as a simple bool, because I'm not sure what else we'd need to put in this field.  But I'm also fine with changing it to an Any, as we discussed.  Discussion welcome.

LGTM, thanks. Can you merge master to hopefully fix CI?
/wait


Create fa-FA.md

Persian (Farsi translation) copy

Hi ! Thanks :+1: this is a beginning ! I will merge this PR, but do you intend to go further ? Or know anybody that could ? In this state, I'm afraid this is not going to be very helpful for Persians.

Hi
yes for sure i'm hoping to complete it in the next week or two
Manuel Beaudru<EMAIL_ADDRESS>در تاریخ دوشنبه ۸ آوریل
۲۰۱۹ ساعت ۱۱:۱۳ نوشت:

Hi ! Thanks 👍 this is a beginning ! I will merge this PR, but do you
intend to go further ? Or know anybody that could ? In this state, I'm
afraid this is not going to be very helpful for Persians.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/mbeaudru/modern-js-cheatsheet/pull/119#issuecomment-480704208,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQzO9J016vrOCGzUy6wjqQsqTZZwlqUWks5veuUCgaJpZM4chZi7
.

I have made a complete translate and send this #130 PR.


Backwards Playback

Is it possible for the OGVKit to play video backwards? I've gone through most classes to try and determine if or even how it could be possible to play a video from the final frame to the first frame, but haven't managed to get any further during this discovery process.
Is this going to be a feature that could be implemented in the future, or if not, perhaps could you provide some insight into where I should look in order to incorporate this feature?

Playing backwards is tricky; due to the way most videos are encoded frame-to-frame, you can only actually decode in the forward direction between keyframes. So to play backwards, you have to decode forwards from time T(k1) to time T(k2), then play the frames backwards from T(k2) to T(k1). This makes demands on both timing and memory pressure -- you either need to decode frames over and over, or hold a lot of frames in memory before displaying them -- and doesn't really fit well with the streaming data architecture of the decoder/player.
You might be better off encoding a second video that's reversed from the forward video, if you need a back-and-forth effect or looping that performs well; it's more data to download but a lot easier to rig up.

Thanks for the info Brion. I'll perhaps look at integrating the desired functionality a different way (seeking backwards 2 to 3 seconds every .25 seconds), and see what the visual effect of this would be like.

The seek function would possibly present the solution to my issue, though unfortunately the video is lacking cues, so 'libnestegg' is not able to process the request.

Is it possible to start the video from a certain point (4 seconds in) if it's a WEBM video without cues?

Hmm, no I believe it's only able to seek to cue points. Actually I think the seeking on webm may need more work even for cue points... I'll have to double check the current status.

I ended up using an OGG video format instead, so seeking was possible.


Add L2 field to ChainInfo

Closes #615

Adds l2 field to ChainInfo (both backend and client models)

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

3 of 3 (100.0%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.006%) to 84.168%

Totals

Change from base Build<PHONE_NUMBER>:
0.006%

Covered Lines:
6975

Relevant Lines:
8287

💛  - Coveralls


chore: update docker.elastic.co/beats/filebeat docker tag to v7.17.26

This PR contains the following updates:

Package
Update
Change

docker.elastic.co/beats/filebeat
patch
7.17.25 -> 7.17.26

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

Edited/Blocked Notification
Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.
⚠ Warning: custom changes will be lost.


using directory() issues

Hi there,
I'm unsure if there is something I'm missing here or the directory() functionality is just not usable for the new plugins.
It looks like there is an issue with the mtime being registered.
Snakefile

rule get_directories:
    input:
        expand(
            "data/{directory}",
            directory = ["a", "b", "c"]
        )

rule make_a_directory:
    output:
        directory("data/{directory}")
    shell:
        """
        mkdir -p {output}
        """

Output
$ snakemake -c4  --default-storage-provider gcs --default-storage-prefix gs://my_test_bucket/test_snakemake get_directories
Assuming unrestricted shared filesystem usage.
Building DAG of jobs...
Using shell: /bin/bash
Provided cores: 4
Rules claiming more threads will be scaled down.
Job stats:
job                 count
----------------  -------
get_directories         1
make_a_directory        3
total                   4

Select jobs to execute...
Execute 3 jobs...

[Mon Mar 18 16:03:46 2024]
localrule make_a_directory:
    output: gs://my_test_bucket/test_snakemake/data/b (send to storage)
    jobid: 2
    reason: Missing output files: gs://my_test_bucket/test_snakemake/data/b (send to storage)
    wildcards: directory=b
    resources: tmpdir=/tmp

[Mon Mar 18 16:03:46 2024]
localrule make_a_directory:
    output: gs://my_test_bucket/test_snakemake/data/a (send to storage)
    jobid: 1
    reason: Missing output files: gs://my_test_bucket/test_snakemake/data/a (send to storage)
    wildcards: directory=a
    resources: tmpdir=/tmp

[Mon Mar 18 16:03:46 2024]
localrule make_a_directory:
    output: gs://my_test_bucket/test_snakemake/data/c (send to storage)
    jobid: 3
    reason: Missing output files: gs://my_test_bucket/test_snakemake/data/c (send to storage)
    wildcards: directory=c
    resources: tmpdir=/tmp

Storing in storage: gs://my_test_bucket/test_snakemake/data/b
Finished upload.
WorkflowError:
Failed to get mtime of gs://my_test_bucket/test_snakemake/data/b
ValueError: max() iterable argument is empty
Removing output files of failed job make_a_directory since they might be corrupted:
.snakemake/storage/gcs/my_test_bucket/test_snakemake/data/b, .snakemake/storage/gcs/my_test_bucket/test_snakemake/data/b
Storing in storage: gs://my_test_bucket/test_snakemake/data/a
Finished upload.
WorkflowError:
Failed to get mtime of gs://my_test_bucket/test_snakemake/data/a
ValueError: max() iterable argument is empty
Removing output files of failed job make_a_directory since they might be corrupted:
.snakemake/storage/gcs/my_test_bucket/test_snakemake/data/a, .snakemake/storage/gcs/my_test_bucket/test_snakemake/data/a
Storing in storage: gs://my_test_bucket/test_snakemake/data/c
Finished upload.
WorkflowError:
Failed to get mtime of gs://my_test_bucket/test_snakemake/data/c
ValueError: max() iterable argument is empty
Removing output files of failed job make_a_directory since they might be corrupted:
.snakemake/storage/gcs/my_test_bucket/test_snakemake/data/c, .snakemake/storage/gcs/my_test_bucket/test_snakemake/data/c
Shutting down, this might take some time.
Exiting because a job execution failed. Look above for error message
Complete log: .snakemake/log/2024-03-18T160345.381549.snakemake.log
WorkflowError:
At least one job did not complete successfully.

However, I can confirm that making files explicitly instead of using directory works:
Snakefile

rule get_files:
    input:
        expand(
            "data2/{directory}.txt",
            directory = ["a", "b", "c"]
        )

rule make_a_file:
    output:
        "data2/{directory}.txt"
    shell:
        """
        mkdir -p $(dirname {output})
        touch {output}
        """

Output
$ snakemake -c4  --default-storage-provider gcs --default-storage-prefix gs://my_test_bucket/test_snakemake get_files
Assuming unrestricted shared filesystem usage.
Building DAG of jobs...
Using shell: /bin/bash
Provided cores: 4
Rules claiming more threads will be scaled down.
Job stats:
job            count
-----------  -------
get_files          1
make_a_file        3
total              4

Select jobs to execute...
Execute 3 jobs...

[Mon Mar 18 16:05:36 2024]
localrule make_a_file:
    output: gs://my_test_bucket/test_snakemake/data2/b.txt (send to storage)
    jobid: 2
    reason: Missing output files: gs://my_test_bucket/test_snakemake/data2/b.txt (send to storage)
    wildcards: directory=b
    resources: tmpdir=/tmp

[Mon Mar 18 16:05:37 2024]
localrule make_a_file:
    output: gs://my_test_bucket/test_snakemake/data2/a.txt (send to storage)
    jobid: 1
    reason: Missing output files: gs://my_test_bucket/test_snakemake/data2/a.txt (send to storage)
    wildcards: directory=a
    resources: tmpdir=/tmp

[Mon Mar 18 16:05:37 2024]
localrule make_a_file:
    output: gs://my_test_bucket/test_snakemake/data2/c.txt (send to storage)
    jobid: 3
    reason: Missing output files: gs://my_test_bucket/test_snakemake/data2/c.txt (send to storage)
    wildcards: directory=c
    resources: tmpdir=/tmp

Storing in storage: gs://my_test_bucket/test_snakemake/data2/b.txt
Finished upload.
[Mon Mar 18 16:05:37 2024]
Finished job 2.
1 of 4 steps (25%) done
Storing in storage: gs://my_test_bucket/test_snakemake/data2/a.txt
Finished upload.
[Mon Mar 18 16:05:38 2024]
Finished job 1.
2 of 4 steps (50%) done
Storing in storage: gs://my_test_bucket/test_snakemake/data2/c.txt
Finished upload.
[Mon Mar 18 16:05:39 2024]
Finished job 3.
3 of 4 steps (75%) done
Select jobs to execute...
Execute 1 jobs...

[Mon Mar 18 16:05:39 2024]
localrule get_files:
    input: gs://my_test_bucket/test_snakemake/data2/a.txt (retrieve from storage), gs://my_test_bucket/test_snakemake/data2/b.txt (retrieve from storage), gs://my_test_bucket/test_snakemake/data2/c.txt (retrieve from storage)
    jobid: 0
    reason: Input files updated by another job: gs://my_test_bucket/test_snakemake/data2/a.txt (retrieve from storage), gs://my_test_bucket/test_snakemake/data2/b.txt (retrieve from storage), gs://my_test_bucket/test_snakemake/data2/c.txt (retrieve from storage)
    resources: tmpdir=/tmp

Removing local copy of storage file: .snakemake/storage/gcs/my_test_bucket/test_snakemake/data2/a.txt
Removing local copy of storage file: .snakemake/storage/gcs/my_test_bucket/test_snakemake/data2/b.txt
Removing local copy of storage file: .snakemake/storage/gcs/my_test_bucket/test_snakemake/data2/c.txt
[Mon Mar 18 16:05:39 2024]
Finished job 0.
4 of 4 steps (100%) done
Complete log: .snakemake/log/2024-03-18T160534.827057.snakemake.log

snakemake-storage-plugin-gcs version:

$ python3 -m pip show snakemake-storage-plugin-gcs
Name: snakemake-storage-plugin-gcs
Version: 0.1.4
Summary: A Snakemake storage plugin for Google Cloud Storage
Home-page: https://github.com/snakemake/snakemake-storage-plugin-gcs
Author: Vanessa Sochat
Author-email<EMAIL_ADDRESS>License: MIT
Location: /home/bioinf/miniconda3/envs/sreadii-snakemake/lib/python3.12/site-packages
Requires: google-cloud-storage, google-crc32c, snakemake-interface-common, snakemake-interface-storage-plugins
Required-by:

It also looks like the get_directories rule does create empty file representations of the directories themself instead of directories which might be causing the issue as the files are created at 12:03:47PM (EST) which is right after the 16:03:46 timestamp from the snakemake output above.

I have had the same issue. It looks like the actual directories are published into gs://bucket/.snakemake/storage/gcs/{given-default-storage-prefix}/{specified-directory}

yeah, locally the directories are created in .snakemake but there seems to be an issue with how it tries to get the mtime() on the remote.
This makes sense since blob storage doesnt necessarily share the concept of "directories" but I'm not sure why the new update has this effect when it worked before

The test suite has been extended to also contain a directory test case. I have activated it here, where we can also apply eventually necessary fixes: https://github.com/snakemake/snakemake-storage-plugin-gcs/pull/38

Seems to work fine now. Is this still an issue for you with the latest releases of the plugin, snakemake and the interface packages?

Thanks @johanneskoester for looking into this.
It doesnt look like its working still, but I just realized what @mbrenner-arbor mentioned since .snakemake is hidden on GCS buckets.
I think I have a fix

Created a PR with #41. @johanneskoester let me know if this doesnt follow the plugin guidelines and I can ammend.
thanks!

Somewhat related but on the input side regarding downloading if a 'directory' prefix is passed as input.  Several of the snakemake-wrappers point to a folder in the input (ie alignment index folders), should this plugin default to downloading to be with compatible with some of the wrappers?

I don't understand the question - I think there is already support for downloading a directory? https://github.com/snakemake/snakemake-storage-plugin-gcs/blob/30175aa758c654c438b62f6c6384059ff6a8bc7c/snakemake_storage_plugin_gcs/init.py#L366-L367. Is there a specific example or use case not working?

Sorry missed that change, thanks!

Thanks! Can this issue be closed now that your PR is merged?

Looks like this is working now!
Thanks @johanneskoester


Read-only filesystem? Protection from SD card corruption

First of all, let me congratulate you on the amazing piece of software you have here, it couldn't been easier to set this up 👏
My question is regarding the fact that sometimes we turn off the raspberry by killing the power (hard shutdown) and that can cause some corruption issues in the future...
I've seen a lot of tutorials on how to make the file-system read-only, here are a few:

https://hallard.me/raspberry-pi-read-only/
https://k3a.me/how-to-make-raspberrypi-truly-read-only-reliable-and-trouble-free/
http://petr.io/2015/11/09/read-only-raspberry-pi-with-jessie/

Would this work with piVPN? or does it need access to writable filesystem?

Hmm, i know it writes log files but once running, for it to function I don't think it writes anything. I think really would have to try it and see what happens.

@tomasmcm: That really isn't a good idea: unattended-upgrades won't work if your filesystem is mounted read-only. This will leave you with old and potentially vulnerable  packages. This is especially dangerous on a public-facing server, like your Pi.


[util] Report NVIDIA for Star Wars Battlefront as it errors out on AMD

The message you get before the change

https://www.protondb.com/app/1237980

Verified the game doesn't complain in either Proton or regular upstream Wine with a AMD GPU.


C++ and clangd: syntax highlighting is broken when present "[[" inside disabled by #if / #endif code

Just redirecting issue from clangd's bug tracker:
The syntax hightlights is broken when '[[' appears inside disabled by #if / #endif code
#include "pch.h"

class MyClass {
public:
  MyClass(const char* name): m_name(name)
  {}
#if ENGINE_OS_MACOS  // ENGINE_OS_MACOS is undefined, so code below does not affects on compilation and must behave like comment
	[[AppDelegate GetInstance] setActiveInBackground : true];
#endif
   // FROM HERE SYNTAX HIGHLIGHING IS BROKEN
  const std::string  m_name;
};

int main() {
  MyClass instance("Sample");
  return 0;
}

The same behaviour will be if writing just:
#if 0
	[[
#endif // all code below will not be highlighted properly

Below comment why this issues should be addressed to vscode team:

I tried this, and what I'm seeing is that clangd's semantic highlighting remains correct after the disabled section, but the lexical highlighting (textmate tokens) are broken.
The lexical highlighting is handled on the client side ==> this is a vscode issue, not a clangd issue.

I believe this issue pertains to the better-cpp-syntax repository rather than this one, and I filed it as https://github.com/jeff-hykin/better-cpp-syntax/issues/569.
I think this issue can be closed.

Ok, thank you again. I will check it immediately.


Better types for setValues & useStore

Currently, setValues & setValue will ignore updating the store if a property doesn't match the set schema. This is great.
But would be very helpful to also have some info on the type side when setting the values (or row/cell). Would also be nice to get the schema types from useStore.

Yes! The tools module generates type definitions to do this today. See https://tinybase.org/guides/developer-tools/generating-apis/
Also see #50 (and the v3.1 beta) where the type generation is being provided for the React UI module too.
Finally, see https://twitter.com/jamespearce/status/1631406755082117121 - this will let you refine the API to match the schema without having to generate an ORM layer. Also coming in v3.1

Please kick the tires on https://github.com/tinyplex/tinybase/releases/tag/v3.1.0-beta.3

Closed out with v3.1! https://tinybase.org/guides/releases/#v3-1


Use relative path where to unzip the seed data using grab_seed_data.sh

Currently, it will unzip the seed data on the user's current directory.

There's a new updater tool that's a bit more precise with paths. https://github.com/dabreegster/abstreet/blob/master/docs/dev.md has new instructions. Please reopen if you're having issues. Thanks!


Extension - Update api key for TAO(Bittensor)

Describe the task
Update api key for TAO(Bittensor)

Version test: http://<IP_ADDRESS>:8900/s/mPs4NS9RLsizBeg
Validation passed.

Install/Upgrade version
Show earning options/position/list validator
Stake/Stake more/ Unstake


Update combats.txt

See https://kolmafia.us/threads/invalid-adventure-area-the-barrel-full-of-barrels.28134/
My local tests now fail enumeratedTypesAreCaseInsensitive() apparently because the barrels are no longer valid as an enumerated type.
I'm not sure this is the right fix and it certainly is not a data file integrity test for combats.txt but since AFAIK the same test fails locally for me but not in the GitHub workflow it undermines my trust in the workflow.

Checking case insensitivity for $location ==> expected: <Returned: true> but was: <Invalid adventure area: "The Barrel Full of Barrels"
Returned: true>

I can't reproduce when running tests normally, although I can with
$ ./gradlew test --tests=CustomScriptTest.enumeratedTypesAreCaseInsensitive

This points to your specific tendency of running the tests with forkEvery = 1.
The message you report is from a method of AdventureDatabase that's only invoked from a static block. Thus, in the "typical" scenario, this error message is most likely printed out (and ignored) in the first test case that causes AdventureDatabase.class to be loaded.

I can't reproduce when running tests normally, although I can with
$ ./gradlew test --tests=CustomScriptTest.enumeratedTypesAreCaseInsensitive

This points to your specific tendency of running the tests with forkEvery = 1.
The message you report is from a method of AdventureDatabase that's only invoked from a static block. Thus, in the "typical" scenario, this error message is most likely printed out (and ignored) in the first test case that causes AdventureDatabase.class to be loaded.

I'm going to politely disagree if only because I am not running with fork=1.  I did so when there was test leakage that we were trying to plug, but since it increases the wall clock run time of testing on my system by a factor of 3 or more I no longer do it casually.

Because I have been known to make mistakes...
Updated to 26827
Ran gradlew jacocotestreport
`Microsoft Windows [Version 10.0.19044.2006]
(c) Microsoft Corporation. All rights reserved.
C:\KoLmafia>gradlew jacocotestreport
Starting a Gradle Daemon, 1 incompatible Daemon could not be reused, use --status for details

Task :compileJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

Task :compileTestJava
Note: Some input files use unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

Task :test

CustomScriptTest > enumeratedTypesAreCaseInsensitive() FAILED
org.opentest4j.AssertionFailedError at CustomScriptTest.java:105
Java HotSpot(TM) 64-Bit Server VM warning: Sharing is only supported for boot loader classes because bootstrap classpath has been appended
3675 tests completed, 1 failed, 31 skipped

Task :test FAILED

FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':test'.

There were failing tests. See the report at: file:///C:/KoLmafia/build/reports/tests/test/index.html

Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.

Get more help at https://help.gradle.org

BUILD FAILED in 3m 52s
6 actionable tasks: 3 executed, 3 up-to-date
C:\KoLmafia>`

I did shadowjar, clean and then jacocotestreport and this time the test passed locally.  Trying to rerun immediately does nothing.

My recollection is that there is a secondary effect at play where Gradle's JUnit test runner will run failing tests at the start of an execution, which will exacerbate this particular failure mode. (I can't find documentation of this, offhand.)
IMO the problem is that the test case is fragile, as it depends on the output matching exactly, up to any side effects such as informational log messages. One possible alternative would be to move this into textui/parsetree/DataTypesTest.java and instead check that
assertEquals(
    DataTypes.parseValue(type, firstValue.toUpperCase(), true),
    DataTypes.parseValue(type, firstValue.toLowerCase(), true));


Update to C++14.

Description

Provide details of the change, and generalize the change in the PR title above.

Testing

Describe how you've tested these changes. Link any manually triggered Integration tests or CPP binary SDK Packaging Github Action workflows, if applicable.

Type of Change
Place an x the applicable box:

[ ] Bug fix. Add the issue # below if applicable.
[ ] New feature. A non-breaking change which adds functionality.
[ ] Other, such as a build process or documentation change.

Notes

Bug fixes and feature changes require an update to the Release Notes section of release_build_files/readme.md.
Read the contribution guidelines CONTRIBUTING.md.
Changes to the public API require an internal API review. If you'd like to help us make Firebase APIs better, please propose your change in a feature request so that we can discuss it together.

Firestore Android build is broken by this update: log here - give it a moment to load, the log file is large

Firestore Android build is broken by this update

Drive-by comment: Try changing make_unique to absl::make_unique. C++14 adds std::make_unique and both must be in scope, resulting in the ambiguous reference. In C++11, std::make_unique didn't exist.

Here is the make_unique that appears to need fixing: https://github.com/firebase/firebase-cpp-sdk/blob/73ce6feb70d3e830676aafa1d0ded64a57f07fb8/firestore/integration_test_internal/src/android/promise_android_test.cc#L213

This PR won't work with Firestore yet.
A working PR already exists: https://github.com/firebase/firebase-cpp-sdk/pull/1182
@cherylEnkidu You should merge that one first before this PR can work.

This PR won't work with Firestore yet.
A working PR already exists: #1182
@cherylEnkidu You should merge that one first before this PR can work.

We're not merging this into main yet - that PR should be merged into this one.

I assume this is waiting for the release that will include it.  Also, we probably do want to update the release notes for this. Though I could see that in a different CL that updates the docs and such.

I assume this is waiting for the release that will include it. Also, we probably do want to update the release notes for this. Though I could see that in a different CL that updates the docs and such.

Added an update to the readme as well.

Do you want to remove the header warning as well?

Do you want to remove the header warning as well?

Yeah, good call.


Build failure when "-SNAPSHOT" is not in the version string of my modules

I run:
gradlew publishToSonatype closeAndReleaseSonatypeStagingRepository

I have at the root project:
nexusPublishing {
    repositories {
        sonatype {
            nexusUrl.set(uri("https://s01.oss.sonatype.org/service/local/"))
            snapshotRepositoryUrl.set(uri("https://s01.oss.sonatype.org/content/repositories/snapshots/"))
        }
    }
    useStaging.set(false)
}

when version is set to 56.0.0-SNAPSHOT all works as expected.
when version is set to 56.0.0 the following error is throws:
Failed to publish publication 'maven' to repository 'sonatype'
> Could not PUT 'https://s01.oss.sonatype.org/content/repositories/snapshots/com/my/my-platform/56.0.0/my-platform-56.0.0.pom'. Received status code 400 from server: Bad Request

If I remove
    useStaging.set(false)

then I get:
* What went wrong:
Execution failed for task ':initializeSonatypeStagingRepository'.
> Failed to find staging profile for package group:

I cannot set the package group globally (because it is different for every project) but I thought that having the group set for every project is enough.
I assume doing something like this is not a good idea:
nexusPublishing {
    repositories {
        sonatype {
            nexusUrl.set(uri("https://s01.oss.sonatype.org/service/local/"))
            snapshotRepositoryUrl.set(uri("https://s01.oss.sonatype.org/content/repositories/snapshots/"))
            // The credentials should be set via the ORG_GRADLE_PROJECT_sonatypeUsername and
            // ORG_GRADLE_PROJECT_sonatypePassword environment variables
        }
    }
    packageGroup.set(provider { group.toString() })
}

Solved
I had to have group defined also in the main project (even if this is not published)

That might be a problem as the plugin takes values (such as version of group) from the root project. Thanks for sharing the solution.


Make Error and Fatal functions compatible with testing.T

What
Making testing.Error and testing.Fatal functions compatible with testing.T by changing the single error argument to a variable argument list accepting any.
Why
Facilitates reusing test scenarios by extracting common testing interface
Testing
The only tests which currently exist for the two functions confirm that the methods fail the load test do not test the logging functionality. We update these with test cases to cover different arguments being passed in.
Example code
main.go:

package main

import (
	"github.com/form3tech-oss/f1/v2/pkg/f1"
	"github.com/form3tech-oss/f1/v2/pkg/f1/testing"
)

// TF is the interface common to T and testing.TB
type TF interface {
	Cleanup(fn func())
	Error(args ...any)
	Errorf(format string, args ...any)
	Fail()
	FailNow()
	Failed() bool
	Fatal(args ...any)
	Fatalf(format string, args ...any)
	Log(args ...any)
	Logf(format string, args ...any)
	Name() string
}

// Check T implements TF
var _ TF = (*testing.T)(nil)

func main() {
	f1.New().
		Add("Foo", setupFoo).
		Execute()
}

func setupFoo(t *testing.T) testing.RunFn {
	// Do once-only setup here

	return func(t *testing.T) {
		FooTest(t)
	}
}

// Foo can be run as a load test or a standard go test
func FooTest(TF) {
	// Do the test here
}

main_test.go:

package main

import (
	"testing"
)

// Run  FooTest as a standard go test
func TestFoo(t *testing.T) {
	main.FooTest(t)
}

Resolves #278

@sirockin This is a breaking change for any users that may have already done what we're trying here - create an abstraction to share code between f1 and other parts of their codebase.
We want to avoid breaking users as much as possible hence my comment on the other PR: https://github.com/form3tech-oss/f1/pull/279#issuecomment-2342601643
I'm open to ideas, but I still think adding a TB() method to T that returns a compatible object is a reasonable approach.

@sirockin This is a breaking change for any users that may have already done what we're trying here - create an abstraction to share code between f1 and other parts of their codebase.

I may be being dense (it's early in the morning for me 😂 ) but I'm still not clear on why this would be a breaking change. The two methods will still behave exactly as previously for the only case which was previously compilable: a single error argument.


Cleanup resource code and add unit tests

Resources are the main objects in the core scheduler.
Unit test coverage of the code is limited to some specific functions and has some gaps.
Documentation is missing for most functions
The calculations do not cover overflow of int64
Resources are sparse objects and that is not covered in the tests

The complete resources class is now covered by unit tests.
Test coverage is up to 99.6% of the lines of code (in other words we have full coverage except for the String function).
The last set of changes also cleans up the function signature and removes duplicate methods.
The branch has been rebased to include the new sorter tests

Thanks @wilfred-s , you already got my +1 for this. Please feel free to merge this once you think ready.


nested array not accepted

Challenge http://beta.freecodecamp.com/challenges/nesting-arrays has an issue.
My basic nested array is not accepted. Unless I've magically forgot arrays, there's another bug!

Just fixed this here https://github.com/FreeCodeCamp/freecodecamp/commit/c8f2b4a571a51c600772ad1e7cf0ad6e331653f3

Still having same issue!

Yeah it hasn't been deployed yet but the fix is in that commit

Ok!

See notes on PR, didn't see that was waiting for deployment, had assumed bug had persisted.
Ah, I just saw that it was fixed, but not deployed. I saw that it still wasn't working and had assumed it had been deployed but is still broken.

Take it or leave it, I'm rather opinionated about tests and code validation and principles of OOO. IMO, regex's are neither safe nor clear in their intent, while an assertion pattern on the objects themselves is.

You may argue that this type of check is slow, but this is a test that is only run once on a button click on a users machine, so a user shouldn't notice any performance issues.

fixed. We now use super cool functional programming test. Array.isArray(myArray) && myArray.some(Array.isArray)


Question about how to using __pragma (section,xx) properly

https://github.com/MicrosoftDocs/cpp-docs/blob/master/docs/preprocessor/section.md#L0-10
When I creating pull request at https://github.com/jerryscript-project/jerryscript/pull/4482
There is a question about how to using section pragma properly:
#define JERRYX_MSVC_DECL_SECTION_FUNCTION_POINTER(sec_name, func_name)    \
  __pragma (data_seg (push))                                              \
      __pragma (section (sec_name, read)) __declspec(allocate (sec_name)) \
          JERRYX_MSCV_EXTERN_C jerryx_msvc_section_function_t             \
              func_name##_section = func_name;                            \
  __pragma (data_seg (pop))                                               \
      __pragma (JERRYX_MSVC_INCLUDE_SYM (func_name##_section))

vs
#define JERRYX_MSVC_DECL_SECTION_FUNCTION_POINTER(sec_name, func_name)    \
      __pragma (section (sec_name, read)) __declspec(allocate (sec_name)) \
          JERRYX_MSCV_EXTERN_C jerryx_msvc_section_function_t             \
              func_name##_section = func_name;                            \
      __pragma (JERRYX_MSVC_INCLUDE_SYM (func_name##_section))

Which is the correct?
Do we need  __pragma (data_seg (push))    __pragma (data_seg (pop)) pair?

@lygstate
That's a good question. The compiler doesn't seem to behave the same as the description in the data_seg pragma documentation. The push and pop parameters to data_seg don't appear to have any useful effect, and data definitions all go in the default data segment unless prefixed by a __declspec(allocate) specifier. I've sent a question to the dev team to see if I can find out more.

@lygstate
I was misreading the docs, and they do in fact behave as described. As a result, I'm closing the issue.
In your macro, you don't need the __pragma (data_seg (push)) and __pragma (data_seg (pop)), because you don't change the current data_seg section inside the push-pop pair.
By itself, declaring a section name by using __pragma (section (sec_name, read)) doesn't place later data in that section. The currently active data_seg is unchanged by this pragma. Since you use __declspec(allocate (sec_name)) explicitly on your data declaration, it also doesn't affect the current data_seg value. The current data section stays the same throughout.
If instead your macro changed the current data_seg value by using something like __pragma( data_seg( sec_name ), you could allocate data in sec_name without using the explicit __declspec(allocate (sec_name)) in front, but you would need the __pragma (data_seg (push)) and __pragma (data_seg (pop)) operations to save and restore the default section name.
I hope this clears things up. Best of luck.


add support for grunt 1.0.0

since the peer dependency is of ~0.4.0, new grunt version (1.x.x) is not supported.
Can you please update the needed?

never mind, eslint no-warning-comments provides the same capabilities so I switched to that only.


Delete nonreduced inputs

To avoid CI timeouts on the large input set.
Last one: https://github.com/bitcoin-core/qa-assets/pull/82

Can be "reproduced" with:
apt update && apt install wget -y
wget https://raw.githubusercontent.com/bitcoin-core/bitcoin-maintainer-tools/main/delete_nonreduced_fuzz_inputs.sh
bash delete_nonreduced_fuzz_inputs.sh

(Or by testing https://github.com/bitcoin-core/bitcoin-maintainer-tools/pull/138 while it is open)

Did the deletion on Jammy and Focal:

123k files removed on Jammy, 150k on Focal
approx 70k files difference between both final sets


any more example for usage?

I attemp to call the functions  in class, but it seems like not work and always report usage error. can show more examples about usage?

or give a list about functions which is ready for using

I don't have the resources to provide additional Python examples or documentation at this time. You can see the list of exposed functions for the Python bindings here: https://github.com/MikePopoloski/slang/tree/master/bindings/python

If you run into specific bugs with the bindings I'm happy to fix them of course. Feel free to open other issues if so.


Make Iodine matching most of Laravel validation rules

Hello,
I'm new with Alpine.Js and a Laravel lover for many years :-)
Iodine seems to be the validation package for AlpineJs, according to my findings ;-)
So I come here to know if some have coded more validation rules to match most of Laravel rules?
Thanks & cheers

But I see that the format of messages is not compatible ...


Adding new Icons and SVG Logo

Hi Guys. Please review the PR. I have added the SVG files too in public/assets/svg folder.

Can you please make changes to the README file to update the icon.

Thanks, @twishasaraiya for pointing it out. I have updated the readme with the new logo as well as added a png version of the logo in assets :)

PR moved to #76


Updates project to swift 3.0

closes #1

Thanks for the PR!

The class itself and the previously public members shouldn't be changed to open, but remain public, because SwipyCell is not intended to be subclassed. (http://stackoverflow.com/a/38950955/2657815)
You should update the .travis.yml file, etc to fix the CI build. (see #2)


The examples and 'Create a policy set definition.' and 'Create a policy set definition with parameters.' are swapped.

The documentation examples and 'Create a policy set definition.' and 'Create a policy set definition with parameters.' are swapped.
Should be:
Create a policy set definition with parameters.
az policy set-definition create -n readOnlyStorage \
    --definitions '[ { \"policyDefinitionId\": \"/subscriptions/mySubId/providers/ \
        Microsoft.Authorization/policyDefinitions/storagePolicy\" } ]'

Create a policy set definition with parameters.
az policy set-definition create -n readOnlyStorage \
    --definitions "[ { \"policyDefinitionId\": \"/subscriptions/mySubId/providers/ \
        Microsoft.Authorization/policyDefinitions/storagePolicy\", \"parameters\": \
            { \"storageSku\": { \"value\": \"[parameters(\\"requiredSku\\")]\" } } }]" \
    --params "{ \"requiredSku\": { \"type\": \"String\" } }"

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

ID: bfe29c90-ab37-174c-3365-d33044447272
Version Independent ID: 3118d6a2-bb53-a881-0017-0313a15c9ef1
Content: az policy set-definition
Content Source: latest/docs-ref-autogen/policy/set-definition.yml
Service: azure-resource-manager
GitHub Login: @rloutlaw
Microsoft Alias: routlaw

ARM

@Wind010 Thank you for reaching out, we are looking into it.


Busts Configuration Cache

Trying to enable configuration cache, but it tracks every env value which change regularly
Can we disable/enable different system properties that we actually care about vs trying to capture everything?

java.awt.headless appears to be the main culprit btw

Whats odd I can't see where thats even looked up in the plugin :confused:

Oh, looks like a regression in 7.4-rc1, https://github.com/gradle/gradle/issues/19710, feel free to close if you think it's unrelated to this plugin

Oh, looks like a regression in 7.4-rc1, gradle/gradle#19710, feel free to close if you think it's unrelated to this plugin

It looks like the plugin iterates through all system properties to find out if some start with the given prefix. More rigorous tracking of the build configuration inputs added in Gradle 7.4 marks all system properties as inputs in such a case. A more fine-grained approach is planned but is not yet implemented.

Yeah, it's still a regression in 7.4-rc1 as that value is just null and Gradle is treating it as changing each time instead of no change for a null/unset value.
In the interim is there a way to disable the interation through the system props? We really only care about git/ci properties

yeah the fix suggested (until they improve again in 7.5) is to change back to System.properties(), I'll throw a PR up later to make that change.

Opened PR to bring inline with 7.4

7.4 was released today

FYI, I've also removed the special logic for old versions of IntelliJ IDEA:
https://github.com/gradle/common-custom-user-data-gradle-plugin/commit/7d9f4372e9ee99fc85de9aa7bb414afdd1dc00aa

Oh nice. That's what was causing issues but the looks of it anyways
On Fri, Feb 11, 2022 at 6:35 AM Etienne Studer @.***>
wrote:

FYI, I've also removed the special logic for old versions of IntelliJ IDEA:
7d9f437
https://github.com/gradle/common-custom-user-data-gradle-plugin/commit/7d9f4372e9ee99fc85de9aa7bb414afdd1dc00aa
—
Reply to this email directly, view it on GitHub
https://github.com/gradle/common-custom-user-data-gradle-plugin/issues/10#issuecomment-1036219682,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAI5DMPTZSCWQY5AC3KFQKTU2UGBFANCNFSM5MZXCB7Q
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID:
@.***
com>

Hey, is there an ETA on release?


mqtt-vue-hook to Confluent/Kafka with SASL_SSL requirement

I have a node.js client that connects to Confluent Cloud using the below options.  I'd like to be able to publish events in my Vue UI to Confluent Cloud and also subscribe to topics.  Kafkajs only works in Node.
Looks like your hook can help me with it. I just can't tell if you can pass in these options and what the options object should look like to do SASL. Can it work?
Required connection configs for Kafka producer, consumer, and admin
bootstrap.servers=pkc-57jzz.southcentralus.azure.confluent.cloud:9092
security.protocol=SASL_SSL
sasl.mechanisms=PLAIN
sasl.username=xxxx
sasl.password=xxxx

Hi @donniekerr,
Thanks for your question. Kafka isn't designed to be publicly accessible to my best knowledge. Have you considered the MQTT or HTTP proxy for your Kafka on the server side? I think you can refer to the following information:
https://github.com/kaiwaehner/ksql-udf-deep-learning-mqtt-iot
https://github.com/confluentinc/kafka-rest

Yes, I am trying to connect to MQTT Proxy for Confluent Cloud vs going through a separate broker.  I am told it will work but it needs the SSL_SASL and PLAIN mechanism options.

On Jul 18, 2022, at 1:23 PM, tommy44458 @.***> wrote:

Hi @donniekerr,
Thanks for your question. Kafka isn't designed to be publicly accessible to my best knowledge. Have you considered the MQTT or HTTP proxy for your Kafka on the server side? I think you can refer to the following information:
https://github.com/kaiwaehner/ksql-udf-deep-learning-mqtt-iot
https://github.com/confluentinc/kafka-rest
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.

I have a node.js client that connects to Confluent Cloud using the below options. I'd like to be able to publish events in my Vue UI to Confluent Cloud and also subscribe to topics. Kafkajs only works in Node. Looks like your hook can help me with it. I just can't tell if you can pass in these options and what the options object should look like to do SASL. Can it work? Required connection configs for Kafka producer, consumer, and admin bootstrap.servers=pkc-57jzz.southcentralus.azure.confluent.cloud:9092 security.protocol=SASL_SSL sasl.mechanisms=PLAIN sasl.username=xxxx sasl.password=xxxx

I'm not sure if this works, but maybe you can try the option below.
app.use(mqttVueHook, wss://pkc-57jzz.southcentralus.azure.confluent.cloud:9092, {
clean: false,
keepalive: 60,
clientId: mqtt_client_${Math.random().toString(16).substring(2, 10)},
username: xxxx,
password: xxxx,
})

`// protocol = 'wss', 'ws', 'mqtt', ...
const protocol = 'wss'
// host = ip or domain
const host = 'pkc-57jzz.southcentralus.azure.confluent.cloud'
const port = 9092
// port = 8083, 1883, ...
import mqttVueHook from 'mqtt-vue-hook'
// app.use(mqttVueHook, options)
const app = createApp(App)
.use(IonicVue)
.use(router)
.use(mqttVueHook, ${protocol}://${host}:${port}, {
clean: false,
keepalive: 60,
clientId: mqtt_client_${Math.random().toString(16).substring(2, 10)},
username: '2PXXXX',
password: 'quXXXX'
})`
I tried mqtt protocol too and it gets converted to ws:// .  And I used wss.

At the same time I’m taking to you I have been trying to find out how the MQTT Proxy works in the cloud version of Confluent, not the on-prem platform.  My assumption was that it could talk directly to a Confluent Cloud cluster. That assumption was wrong, as I just found out.
I may as well setup a broker in front of Confluent if I have to stand up another server to run the proxy.  Then I know your hook can talk to a true broker.
Sorry if I wasted your time.  I am learning.   We can close this for now.
Thank you,
Donnie

On Jul 18, 2022, at 4:50 PM, tommy44458 @.***> wrote:
Your configuration option seems for connecting to your Kafka. The MQTT connection option would be like "(wss, tls):x.x.x.x:(8083, 8883)" if you build the MQTT proxy by https://docs.confluent.io/platform/current/kafka-mqtt/configuration_options.html https://docs.confluent.io/platform/current/kafka-mqtt/configuration_options.html. Also, you can refer to https://docs.confluent.io/platform/current/kafka-mqtt/security-settings.html#mqtt-proxy-security-settings https://docs.confluent.io/platform/current/kafka-mqtt/security-settings.html#mqtt-proxy-security-settings to select the protocol between your MQTT Proxy and MQTT clients(Vue UI).
Hi @donniekerr https://github.com/donniekerr,
I think your Kafka-MQTT-dev.properties would be wrong. Could you share your dev-config for building the MQTT proxy?
The correct "dev.properties" would be like below:
topic.regex.list=temperature:.*temperature, brightness:.*brightness
MQTT proxy
listeners=<IP_ADDRESS>:1883
bootstrap server url
bootstrap.servers=pkc-57jzz.southcentralus.azure.confluent.cloud:9092
security protocol
producer.security.protocol=SASL_SSL
sasl mechanism
producer.sasl.mechanism=PLAIN
sasl jaas config
producer.sasl.jaas.config=org.apache.kafka.common.security.plain.PlainLoginModule   required username='api_key_from_confluent_cloud'   password='api_secret_from_confluent_cloud';
confluent cloud refuses to create topic if you use default replication factor of 1
confluent.topic.replication.factor=3
Then, you can try the following option to connect your MQTT proxy:
app.use(mqttVueHook, ws://pkc-57jzz.southcentralus.azure.confluent.cloud:1883, {
clean: false,
keepalive: 60,
clientId: mqtt_client_${Math.random().toString(16).substring(2, 10)},
username: xxxx,
password: xxxx,
})
—
Reply to this email directly, view it on GitHub https://github.com/tommy44458/mqtt-vue-hook/issues/1#issuecomment-1188355839, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJZJXIV7XMIVXZMVSIRRMWDVUXGRZANCNFSM53UDTUSA.
You are receiving this because you were mentioned.


.NET Standard 2.0 Support

The new NETStandard adds much needed functionality for tracing....
So what do we do, do we support both NetStandard 2.0 and 1.0, with 1.0 being a reduced functionality set, or do we only support 2.0?
I'll have to start working on NetStandard 2.0 and get this lib on 1.0 soon anyway.

Added in 0.6.0, targeting both platforms.


purge unattached active storage blob

Addresses: https://github.com/restarone/violet_rails/issues/1083

Test plan: purge ActiveStorage attachments on the review app by manually running the rake task from Dokku

verified with:
dokku run review-1417 rake active_storage:purge_unattached


fix: set up the correct engine for the remove-get-static-props codemod

Current dependencies on/for this PR:

main

PR #484   👈

This stack of pull requests is managed by Graphite.


Non-English files returned an empty array + json files not imported

Lang Publisher Version: 10.1.5
Laravel Version: 8.61.0
PHP Version: 8.0.10

Description:
Added locales files return an empty array and related JSON files not imported.
EN

AR

FR

Thank you!
Fixed bug in version 10.1.6 (released)


Open Dev Server link in browser when build is done (plugin-webpack-spa)

Controlled by plugin option
Open link only when build is done

Closed #602


crosvm: add support for virgl_renderer{,_next}

Description of changes

This is a draft because the way I'm extracting the meson cross file from stdenv is unnacceptably horrible.  We need a better way, e.g. the one in #159064.
Things done

Built on platform(s)

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

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

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

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

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

[x] Fits CONTRIBUTING.md.

Turns out we can just use the system virglrenderer, and avoid all the complexity and hacks.  I wasn't sure this would work, because it won't be linked against minigbm, but it works fine in my testing with cross-domain virtio-gpu.


[BUG] Trash bin icon does not show up in Safari

WARNING: Github Issues are publicly visible, do not post sensitive information here.
You may want to check "Hide sensitive information" before taking screenshots or copying logs.

Describe the bug
The trash bin icon is not visible when installing the user script version through Tampermonkey in Safari.
To Reproduce

Install the user script version using Tampermonkey in Safari.
Observe the trash bin icon not appearing in the top right.

Screenshots / Logs

N/A

Affects (Add an X to items that apply)

[x] DMs
[x] DM Groups
[x] Channel
[x] Channel (NSFW)
[x] Server (All Channels)
[x] Other (explain)

System:

OS: macOS 11.0 Big Sur
Browser: Safari 14.0

thanks for reporting, I'll take a look later.

I Just got the extension from the MacAppstore to find out it doesn't work. $2 wasted :(
This is a limitation of Safari CSP and Tampermonkey extension
I will remove Safari from the list, I don't want to waste people's money on Tampermonkey (from the AppStore).
If you really want to use Safari, the script will work just fine if you paste it manually in the console. But you'll have to paste it every time you want to use it.


PURCHASE-1178 - Adds context card

https://artsyproduct.atlassian.net/browse/PURCHASE-1178

Adds ContextCard

Fixes bug in PartnerCard when no icon

Updates buttons to use longestText prop

Examples

Fails

:no_entry_sign:
No CHANGELOG added.

:no_entry_sign:
Missing Test Files:

src/lib/Scenes/Artwork/Components/__tests__/ContextCard-tests.tsx

If these files are supposed to not exist, please update your PR body to include "#skip_new_tests".

  Generated by :no_entry_sign: dangerJS

As mentioned in Slack, I think you should use the existing ArtworkContextPartnerShow type for now.

Fails

:no_entry_sign:
Missing Test Files:

src/lib/Scenes/Artwork/Components/__tests__/ContextCard-tests.tsx

If these files are supposed to not exist, please update your PR body to include "#skip_new_tests".

  Generated by :no_entry_sign: dangerJS


merge get_children_dfs [run_process_replay]

Why is this better? It looks less readable and less generic to me

oh this was my suggestion after profiling codegen/*
The slowest calls in the uop toposort are these two, if we can merge them I think it'd be a speedup.

yeah it felt like there would be a simplification maybe even possible to fold into the toposort or graph_rewrite not sure anymore

we are also only doing one function call now but i dont think its faster


Update steam-gift-card.mdx

Description

[ ] Adding new page
[ ] Updating existing documentation
[ ] Other updates

closed due to more to commit


Advanced S3 calls

minio PR 16551 introduces  if-match and if-none-match logic for optimistic consistency of data.
The logic provides conditions where data uploads to MinIO can check the consistency of data first before applying any changes. This avoids potential conflicts if more than one user attempts to upload the same object.
External references:

https://learn.microsoft.com/en-us/azure/storage/blobs/concurrency-manage?tabs=dotnet#optimistic-concurrency

(Introduced with https://github.com/minio/minio/releases/tag/RELEASE.2023-02-09T05-16-53Z.)

See https://github.com/minio/minio/pull/19682, part of https://github.com/minio/minio/releases/tag/RELEASE.2024-05-07T06-41-25Z
Adds * as a valid ETag.

@ravindk89 Since AWS recently introduced a similar feature, we might consider bumping up the priority of this.

It's not a perfect spot to put it but we could take a bit of inspiration from the s3 docs and add a section to our docs related to metadata or other 'modifying' behaviors. Snowball + S3Zip support could land here too.


Mesh parametrization

This PR provides new functionality to create mesh parametrizations.
Mesh parametrizations allow to compute texture mappings (u,v coordinates) for a given mesh that allow to preserve different properties of the mesh in u,v coordinates.
Parametrizations:

Multi-Dimensional-Scaling. Preserves user supplied vertex distances in uv space in a least squares sense.
Laplacian Eigenmaps. Local geometry is optimally preserved in a least squares sense.

Additionally, texture related computations such as TextureExtraction and MeshParametrizaiton are now in the new scalismo.faces.texture package.

There was no progress since a long time. So I closed the PR.


Add support for the networks parameter on server creation

The API allows the specification of Network IDs which should be attached to the server private network interface at creation time. However, specifying networks when creating a server is not supported by this package yet.
This PR adds an optional networks parameter to the hcloud.servers.client.ServersClient.create method and tests based on the ones for the volumes paramether.
Let me know, whether something needs to be adjusted. (Got late this night, better review my changes).

@LKaemmerling I just added a line to the changelog. I didn't bump the version thought.

I will merge it when the CI is ready. Thank you!


Add Validation on the Admin Module

Incorporate validation into the forms for adding a student, adding a faculty member, adding an admin, and adding a notice.

Assign this to me I'll use react-hook-form to achieve this.
But, I'll start from tomorrow I've got plans for today.

Done


Question about data refresh when migrating from Gen1 to Gen2

Question about data refresh when migrating from Gen1 to Gen2
During the switch from Gen 1 to Gen 2 premium, what is the impact on refreshes that are active at that time? Will the migration wait for all active refreshes to complete or kill any active refresh operations?

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

ID: 9e7d18dd-7459-baea-2c12-fc47ffcd9b11
Version Independent ID: 42220c7a-465b-2da2-3014-0aecd9631142
Content: Power BI Premium Gen2 FAQ - Power BI
Content Source: powerbi-docs/admin/service-premium-gen2-faq.yml
Service: powerbi
Sub-service: powerbi-premium
GitHub Login: @KesemSharabi
Microsoft Alias: kesharab

Hi, @jopebeni. Thanks for your question.
I've assigned this issue to the doc author for review.
In the meantime, you might find an answer in the Power BI Community.

Hi @jopebeni,
I double checked this with the engineering department and can confirm that during the migration from Gen1 to Gen2, there should be no impact on data refresh.
Hope this helps,
Kesem


Adds template project.

This PR adds a template project under sdk/template to make it easier cut/paste your way to a new module. We have similar in other repos and they are also used as canaries for testing release pipelines etc.

/azp run android - template - ci


Modernise subprocess usage

Since python 3.5 subprocess.run() is recommended over subprocess.call() to invoke a subprocess. Subprocess docs
All usage of subprocess.call() has been replaced with subprocess.run(). In instances where the return code of the process is needed, it has been replaced with subprocess.run().returncode

@TrentHouliston any objections? you didn't seem too keen last time this was brought up, but this seems pretty neat to me 🤷
(right PR this time 😂 😂  🤣 )

I think .call makes more sense in situations where .run would make the code more complicated. But honestly, it doesn't matter either way


Add subresource support

Add subresource support.

/assign

Doesn't make sense in the end, test should not update sub resources it's the matter of the controller under tests.


bare jacdac project show microphone jack in simulator

Repro

create a new project and load the Jacdac extension
see the following

Fixed. Not playing any sound on identify anymore.


Paypal error for sponsorship

I tried to buy a sponsorship to export to doc, but I have since yesterday a Paypal error : please try again later!
Can you check it please?
Thanks

Should be fixed now.


Ionic deploy progress callback

Since ionic deploy now uses ES6 promises, there is no third params callback for progress.

Is there a new way of knowing the download progress?

@sagivf There is now an onProgress option for extract(), download(), and update().
FYI I am keeping the Ionic 1 migration guide up to date as best I can. I know you're doing Ionic 2, so you'll have to do the translation from v1 to v2, but the method signatures are the same. The migration guide is only for v1 because the only projects with the ionic-platform-web-client are v1 projects.
Let me know if this needs to be reopened.

@dwieeb please add this information to the official docs:
http://docs.ionic.io/services/deploy/


path module not available in 3.0.0b2

It appears a new dependency has crept into Spyder 3.0.0b2 that is causing grief upon trying to start the IDE:
[du1@ocean ~]$ spyder &
[1] 30346
[durack1@oceanonly ~]$ Traceback (most recent call last):
  File "/usr/local/uvcdat/2015-12-21_all_spyder_beta/bin/spyder", line 3, in <module>
    start_app.main()
  File "/usr/local/uvcdat/2015-12-21_all_spyder_beta/lib/python2.7/site-packages/spyderlib/start_app.py", line 118, in main
    from spyderlib import spyder
  File "/usr/local/uvcdat/2015-12-21_all_spyder_beta/lib/python2.7/site-packages/spyderlib/spyder.py", line 110, in <module>
    from spyderlib.utils.qthelpers import qapplication
  File "/usr/local/uvcdat/2015-12-21_all_spyder_beta/lib/python2.7/site-packages/spyderlib/utils/qthelpers.py", line 16, in <module>
    import spyderlib.utils.icon_manager as ima
  File "/usr/local/uvcdat/2015-12-21_all_spyder_beta/lib/python2.7/site-packages/spyderlib/utils/icon_manager.py", line 14, in <module>
    from path import Path
ImportError: No module named path

[1]    Exit 1                        spyder
[du1@ocean ~]$
[du1@ocean ~]$ which python
/usr/local/uvcdat/2015-12-21_all_spyder_beta/bin/python
[du1@ocean ~]$ python
Python 2.7.10 (default, Dec 21 2015, 16:22:53)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-16)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from path import Path
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ImportError: No module named path
>>>

The idea is that for 3.0 final you should do
pip install -U spyder

which will bring all our dependencies, and install our wheel. Source installations will be more or less deprecated :-)
Right now you can fix this problem by doing
pip install path.py

@ccordoba12 I'd certainly advocate for continuing to provide source installations. For institutional high performance machines many users (me being one of them) has restrictive firewall and download policies that don't play well with pip, this environment was the reason #2685 was created (and fixed). I'd note this is not an issue for personal machines, but I current use both.
As another example the iPython move to v4.0 has made it much more difficult to install, as the dependencies are no longer included within the source install archive - this has made it more difficult than most users would like - and makes it much harder to keep iPython up-to-date.

I'm sorry but it's a maintenance burden to keep all our dependencies in our source tree, and also a potential security risk.
Depending on external libraries is also necessary to accommodate the contributions of new developers who create some of them to improve Spyder (like qtawesome and qtpy, which are now also Spyder deps).
So we've decided against that model and instead depend on pip/conda to manage our deps.

For information path is also a dependancy for ipython.
That's where tools like anaconda are handy, depedancies are included and you don't need to be root. But you can also use pip as a non-root user.
That doesn't solve the download policies though…

why don’t you use your distribution’s package? that’s much cleaner (and faster) than both source installs and pip:

arch
debian
ubuntu

and besides: pip IS installation from source. what you’re talking about is a fat install package containing all bundled dependencies. (which is of course an additional maintenance burden for the devs)

@ccordoba12 is there an up-to-date list of the required and optional dependencies for 3.0.0b2 on the wiki somewhere? It would seem that I might be considerably behind in keeping all dependencies up-to-date in my build from source approach

The dependancy list should be in setup.py.

is there an up-to-date list of the required and optional dependencies for 3.0.0b2 on the wiki somewhere?

not in the wiki, but at the place where standard python dependencies are listed: setup.py (this is the commit that’s tagged as 3.0.0b1)

(btw. @Nodd: it’s dependency, not ~dancy)

@flying-sheep @ccordoba12 those dependencies are listed as required, whereas in the 2.3.8 optional dependencies dialog box the following are listed: IPython, jedi, pep8, psutil, pyflakes, pygments, pylint, rope, sphinx, and some others that are not listed in your 3.0.0b2 setup.py - have these dependencies/optional packages changed from 2.3.x to 3.0.x?
I also wonder whether IPython should be a dependency for 3.0.x as it's not listed?

@ccordoba12 FYI:
[du1@ocean ~]$ pip install path.py
Collecting path.py
  Could not find a version that satisfies the requirement path.py (from versions: )
No matching distribution found for path.py

Could not find a version that satisfies the requirement path.py (from versions: )

@durack1, maybe you need to upgrade pip first (because it works for me), with
pip install -U setuptools
pip install -U pip

is there an up-to-date list of the required and optional dependencies for 3.0.0b2

As @Nodd mentioned, our dependencies are listed in our setup.py file, and also in README.md. I plan to add path.py and pickleshare to that list, and so close this issue. I didn't do that for beta2 because they are already dependencies of qtconsole, which now is also a hard dependency of Spyder. But it's better to inform people about them.
Again, this won't happen in the future when we add wheels to PyPI, and instruct people to always use pip to install/update Spyder. If they want to follow the source installation, then (I'm afraid) they'd be on their own.
I'll also try to upload wheels for beta2 right now, to reduce the impact of this dependencies change.

those dependencies are listed as required, whereas in the 2.3.8 optional dependencies

That's correct: we decided to make all those modules that were optional in 2.3.8, hard requirements for 3.0. All of them are pure Python modules, so I don't see a problem with that :-) The idea is that people can use Spyder to its full potential, instead of just some parts of it.

@ccordoba12 are we meeting today ?

Yep, give 10 min. I was catching up with email :-p

I added path.py and pickleshare to our setup.py and our Readme.
Besides, I uploaded a wheel for beta2 to PyPi. You can install that wheel with
pip install --pre spyder

@ccordoba12 just for completeness:
[dur@ocean ~]$ pip install -U setuptools
/usr/lib/python2.6/site-packages/pip-7.1.0-py2.6.egg/pip/_vendor/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning
Requirement already up-to-date: setuptools in /usr/lib/python2.6/site-packages
[dur@ocean ~]$ sudo pip install -U pip
/usr/lib/python2.6/site-packages/pip-7.1.0-py2.6.egg/pip/_vendor/requests/packages/urllib3/util/ssl_.py:90: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. For more information, see https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.
  InsecurePlatformWarning
Requirement already up-to-date: pip in /usr/lib/python2.6/site-packages/pip-7.1.0-py2.6.egg

So it would appear the convoluted dependencies through source path is the only option on this machine.. Any tweaks/suggestions you guys can provide to make the install less painful would certainly be appreciated..

@durack1, I'd say that (almost certainly) path.py is not available for Python 2.6. We also dropped support for Python 2.6 some time ago in our master branch. So you need to update to at least Python 2.7.
I decided to do that after reading this very interesting article:
http://www.curiousefficiency.org/posts/2015/04/stop-supporting-python26.html

@ccordoba12 my bad, the preceding sudo tripped over my preset paths and so pointed to the system rather than Python 2.7.10 and the up-to-date pip/setuptools environment I am using.. So rather than the above, the correct output is:
[1@ocean ~]$ sudo /usr/local/uvcdat/2015-12-21_all/bin/pip install -U setuptools
Requirement already up-to-date: setuptools in /usr/local/uvcdat/2015-12-21_all/lib/python2.7/site-packages/setuptools-17.1.1-py2.7.egg
[1@ocean ~]$ sudo /usr/local/uvcdat/2015-12-21_all/bin/pip install -U pip
Requirement already up-to-date: pip in /usr/local/uvcdat/2015-12-21_all/lib/python2.7/site-packages/pip-7.1.0-py2.7.egg

Either way, it appears path.py is still not available to me..
[1@ocean ~]$ sudo /usr/local/uvcdat/2015-12-21_all/bin/pip install path.py
Collecting path.py
  Could not find a version that satisfies the requirement path.py (from versions: )
No matching distribution found for path.py

So any other suggestions you have to get me up and running are appreciated..

@ccordoba12 should ipython also be listed as a dependency? It's not in the current list..

Something is odd with your installation because the current versions for setuptools and pip are 19.2 and 7.1.2, respectively. So they are not up to date :-)
IPython is not listed as a dependency because (since version 4.0) that package corresponds now to the terminal version of IPython, and we use its Qt-based frontend, i.e. qtconsole (which is already listed as a dependency).

But (as I said before) please use this command to install beta2:
pip install --pre spyder

That will pull all our required dependencies, instead of you tracking (or trying to track) them manually.

@ccordoba12 thanks for clarifying.. The pip issues are related to firewall/certificate/network issues with the locked down machines.. And is the primary reason why I was hoping to avoid the pip install path.. I'll see what I can do to work with the network/environment I have..


bash: /etc/init.d/unicorn_prosesssus: No such file or directory

Tried asking on Stack Overflow and Googling but couldn't find a solution to this.
When I run cap production deploy, I get the follow error at the end:
bash: /etc/init.d/unicorn_prosesssus: No such file or directory
(Backtrace restricted to imported tasks)
cap aborted!
SSHKit::Runner::ExecuteError: Exception while executing as deploy@ip:   /etc/init.d/unicorn_prosesssus restart exit status: 127
/etc/init.d/unicorn_prosesssus restart stdout: Nothing written
/etc/init.d/unicorn_prosesssus restart stderr: bash: /etc/init.d/unicorn_prosesssus: No such file or directory

SSHKit::Command::Failed: /etc/init.d/unicorn_prosesssus restart exit status: 127
/etc/init.d/unicorn_prosesssus restart stdout: Nothing written
/etc/init.d/unicorn_prosesssus restart stderr: bash: /etc/init.d/unicorn_prosesssus: No such file or  directory

Tasks: TOP => deploy:restart
(See full trace by running task with --trace)
The deploy has failed with an error: Exception while executing as deploy@ip:      /etc/init.d/unicorn_prosesssus restart exit status: 127
 /etc/init.d/unicorn_prosesssus restart stdout: Nothing written
/etc/init.d/unicorn_prosesssus restart stderr: bash: /etc/init.d/unicorn_prosesssus: No such file or directory

I haven't been to fully understand the error, but to me there seems to be the main issue of it not being able to find the file on the server. However the file does exist on the server, I've checked it manually.
Secondly there seems to be a problem with the restart function?
Does anybody know what's going on here?
I've been following http://www.rubytreesoftware.com/resources/ruby-on-rails-41-ubuntu-1404-server-deployment and http://www.rubytreesoftware.com/resources/ruby-on-rails-41-ubuntu-1404-server-configuration to get everything set up.

Please come and talk to us at https://groups.google.com/forum/#!topic/capistrano where we do support :) Issues are for real code issues, support, we try and keep at Google Groups forums.


rclone mount Windows: use next available drive letter

What is your current rclone version (output from rclone version)?
rclone v1.43.1

os/arch: windows/amd64
go version: go1.11

What problem are you are trying to solve?
The built-in Windows "net use" command can take a wildcard instead of a specific drive letter when mapping a network drive. Windows will pick the next unused drive letter (after C:) for the mount point.
This request is to have the "rclone mount" command have the same functionality.
How do you think rclone should be changed to solve that?
It could be invoked with an argument: "rclone mount --use-next-drive cfg:"

This would be relatively easy to do.  There is a routine to do this already in rclone's tests!
What syntax does net use use to specify a wildcard instead of a specific drive letter?  Maybe rclone should use that syntax which will be familiar to Windows users?

Unfortunately it uses an asterisk:
Specific drive letter: net use f: \\share\mount
Next available: net use * \\share\mount
I would not recommend matching that, as asterisks expand in the OS.
That's why a command-line argument sounds appropriate here.
Also, make sure you start looking for the next available drive letter at C: or later; A: and B: are historically reserved for floppy drives.


InfluxDBClient.fromDSN should be classmethod instead of staticmethod

To add some logging for the queries being run I extended the InfluxDBClient class and overwrote the query method.
Only to have no queries being logged. After some digging I found that when I use the fromDSN method to create a client instance it's the original class, not my extended version.
Changing it to:
    @classmethod
    def from_DSN(cls, dsn, **kwargs):
        """Return an instance of :class:`~.InfluxDBClient` from the provided
        data source name. Supported schemes are "influxdb", "https+influxdb"
        and "udp+influxdb". Parameters for the :class:`~.InfluxDBClient`
        constructor may also be passed to this method.

        :param dsn: data source name
        :type dsn: string
        :param kwargs: additional parameters for `InfluxDBClient`
        :type kwargs: dict
        :raises ValueError: if the provided DSN has any unexpected values

        :Example:

        ::

            >> cli = InfluxDBClient.from_DSN('influxdb://username:password@\
localhost:8086/databasename', timeout=5)
            >> type(cli)
            <class 'influxdb.client.InfluxDBClient'>
            >> cli = InfluxDBClient.from_DSN('udp+influxdb://username:pass@\
localhost:8086/databasename', timeout=5, udp_port=159)
            >> print('{0._baseurl} - {0.use_udp} {0.udp_port}'.format(cli))
            http://localhost:8086 - True 159

        .. note:: parameters provided in `**kwargs` may override dsn parameters
        .. note:: when using "udp+influxdb" the specified port (if any) will
            be used for the TCP connection; specify the UDP port with the
            additional `udp_port` parameter (cf. examples).
        """

        init_args = parse_dsn(dsn)
        host, port = init_args.pop('hosts')[0]
        init_args['host'] = host
        init_args['port'] = port
        init_args.update(kwargs)

        return cls(**init_args)

Would allow the class to be extended.
Unless there is a specific reason for doing it this way?

this was fixed in 2e8c5886


adds ssh debugger for selenium test

@robacarp I suspect you'll get what you need from this running in the PR, but if you need to merge into main for testing, go right ahead

@robacarp another big clue in all this is that it all used to work fine, for many months, and then this all started one day. Does that suggest anything else to you or a possible solution?
I even tried rolling back to the point in our commit history where everything was working reliably but it no longer does. I wonder if a dependency has a new version rolled out but if we could pin to an older version this might fix? But rolling back should have done that with gemfile.lock so maybe it’s a dependency that’s somehow outside of that, like part of GitHub action runner config?

Dang, it still seems really odd that for ~6 months these tests never hit this issue and the one day it starts hitting the issue regularly. That's what makes me think that an updated chromedriver or ubuntu-latest system dependency—something outside of gemfile.lock—changed and that introduced this issue. That's the only way I can explain rolling back the repo and still getting the error.
Also, I never get this issue locally on my dev machine. I only get it in github actions. Initially, I suspected this was because my dev machine has more resources (cores, etc) so that's what prompted me to upgrade the github actions server. And notably, that did help. When I was using the default ubuntu-latest I ran the test suite 10 times in a row and it failed every time. I don't think I ever got it to pass successfully. But when I upgraded to the larger instances then it's now passes about 50% of the time.
In terms of working around this, would it be possible to study the stack trace and find a place within the selenium or capybara code where you could re-open the class, re-write a method to add a simple "sleep 10" or something hacky like that in the right place within the boot cycle to work around the race?

Might be worth looking at Cuprite to see if it may get around the issue. See this article and the cuprite project.

Hi @robacarp, Matthew's suggestion is an interesting one but I also got another lead. I opened an issue on Selenium and someone explained how they resolved this by pinning a chromium version:
https://github.com/teamcapybara/capybara/issues/2770#issuecomment-2313652897

Just to keep capture this idea, on that other Issue someone claims that he solved a bunch of issues by switching to Playwright and linked to an article: https://github.com/teamcapybara/capybara/issues/2770#issuecomment-2315118283


Website Redesign: "Get Involved" Page 3- Roadmap/ Memorandum- Links

User Story
AS an Orcahome user I WANT to select links on the Get Involved page in the Memorandum of Agreements and Current Roadmap sections SO THAT I can navigate to webpages that the links point to.
Description
The intent of this story is to link all hypertext links, buttons, and images on the Get Involved page for the Roadmap and Memorandum sections so that they are functional.
NOTES:
Memorandum of Agreements

[ ] "2016-2020 Memorandum of Agreements (MOA)" hypertext link: https://docs.google.com/document/d/1OdKOICgPNHy7CkaHjzWMztH_zNir4UlbZbOdKtyRwI0/edit?usp=sharing
[ ]<EMAIL_ADDRESS>Email<EMAIL_ADDRESS>link

Current Roadmap

[ ] "Orcasound project at DemocracyLab" hypertext link: https://www.democracylab.org/projects/81
[ ] "Orcasound Slack" hypertext link: https://orcasound.slack.com/
[ ] "Github repositories" hypertext link: https://github.com/orgs/orcasound/repositories
[ ] "Trello boards" hypertext link: https://trello.com/w/hydrophonenetwork/home
[ ] "Orcasound dev email distribution list" hypertext link: http://lists.orcasound.net/listinfo.cgi/dev-orcasound.net
[ ] "Orcasound Hacker Hall of Fame": https://www.orcasound.net/hacker-hall-of-fame/

Subject to change, but works for now

[ ] Current road map image

[ ] Upon selection of the image, please expand image and allow user to zoom in and out to see image in better detail

[ ] If elements of image zooming need to be designed by the UX Team or you have questions regarding expansion and zoom features, please tag @UXBrendan in comments in this issue for any additional information needed

[ ] "LEARN MORE ABOUT VOLUNTEERING" button: https://www.orcasound.net/support/

Subject to change, but works for now

Other

[ ] Please double check all instances of "Orcasound"- text should always have a lower case s, never "OrcaSound"

Related to Issue Website Redesign: "Get Involved" Page 3- Roadmap/ Memorandum- UI#48
Acceptance Criteria
GIVEN I see the Orcasound Get Involved page hypertext links, buttons, and images WHEN I select the hypertext links, buttons, and images in the page THEN I am taken to the correct target webpages and see expanded image.
Current road map design in Figma file for reference: https://www.figma.com/file/YdvbAjHETokV2x1LBHaElj?node-id=860:2526#409937693
Memorandum of Agreements in Figma file for reference: https://www.figma.com/file/YdvbAjHETokV2x1LBHaElj?node-id=860:2526#409938379

@UXBrendan All links included / Image zoom is implemented with the Next.js zoom dependency, not a huge fan but we can discuss it on Monday / Orcasound capitalisation checked! Did I forget anything?

@NayoBaez
Thanks! I think it's all good, but now that I know how to review UI in PRs, I may reach back out for updates. Thanks for all your hard work on this!

@NayoBaez
I would like to discuss how to best write issues and assign to Orcasound devs to do some clean up production work for Orcahome. We're in the home stretch!
Orcasound: Dev discussion for Orcahome
Thursday, September 14 · 10:00 – 11:00am
Time zone: America/Los_Angeles
Google Meet joining info
Video call link: https://meet.google.com/vxp-aeto-zev