No connection to MQTT Broker possible

After some trouble I got the basic and callback examples running successfully.
But if I try to connect to a unsecured Mosquitto broker it won't connect.
Opened the MQTT example and modified it to:
#define SLEEP_EN        false

and
#ifndef SECRETS
    const char ssid[] = "xxxxxxxx";
    const char pass[] = "yyyyyyyy";

    #define HOSTNAME "ESPWeather"
    #define APPEND_CHIP_ID

    #define    MQTT_PORT     1883 // checked by pre-processor!
    const char MQTT_HOST[] = "<IP_ADDRESS>";
    const char MQTT_USER[] = ""; // leave blank if no credentials used
    const char MQTT_PASS[] = ""; // leave blank if no credentials used

After compiling and uploading, I get this massage:
sdd��|�$�|�l�c|����{�c�#��'o�dog���bx��l{lsdp�g��d��co�|���b��ng�$��$`�ogl`'{���o#l�d8�o�{������cn�|�c��og�d`�gnl`o;���gc��`;��ob��`���|�l�d`��g�l
SDK:2.2.2-dev(38a443e)/Core:3.1.1=30101000/lwIP:STABLE-2_1_3_RELEASE/glue:1.2-65-g06164fb/BearSSL:b024386

BresserWeatherSensorMQTT 20221024

Attempting to connect to SSID: xxxxxxxxfpm close 1
mode : sta(84:cc:a8:b1:e7:10)
add if0
...scandone
state: 0 -> 2 (b0)
.state: 2 -> 3 (0)
state: 3 -> 5 (10)
add 0
aid 5
cnt

connected with xxxxxxxx, channel 1
dhcp client start...
ip:<IP_ADDRESS>,mask:<IP_ADDRESS>,gw:<IP_ADDRESS>
connected!
Setting time using SNTP done!
Current time: Mon Mar 13 08:45:42 2023

Checking wifi...
MQTT connecting... .........pm open,type:2 0
..............................

I tried two simple sketches to verify a connection to the broker is possible.
This very simple code also won't connect.
{$lܟ<�l�|�d�c<����s�#�c��g'�l'o���cp��dsdrlx�o��d��cn�|���#��no�d��$`�g'l n{���obd�dp�g�;������co�<�c��g'�l`�og$`gs�ۓnc��`sۓnc��`��s��l`��o�l
SDK:2.2.2-dev(38a443e)/Core:3.1.1=30101000/lwIP:STABLE-2_1_3_RELEASE/glue:1.2-65-g06164fb/BearSSL:b024386
fpm close 1
mode : sta(84:cc:a8:b1:e7:10)
add if0
scandone
state: 0 -> 2 (b0)
state: 2 -> 3 (0)
state: 3 -> 5 (10)
add 0
aid 4
cnt

connected with xxxxxxxxxx, channel 1
dhcp client start...
ip:<IP_ADDRESS>,mask:<IP_ADDRESS>,gw:<IP_ADDRESS>
<IP_ADDRESS>
pm open,type:2 0

But this code runs as expected.
sd$��|�l�|�d�#|����;�c�c��og�$gn���c8�lrl{lp�'��l��#g�|���c��g'�l��l �'od`o;Ǜ�gcd�lp�'�s��ܜ��#g�|�c��gn�l �ogl`gs�ۓnc��`sۓnc��`���pl`��n�$
SDK:2.2.2-dev(38a443e)/Core:3.1.1=30101000/lwIP:STABLE-2_1_3_RELEASE/glue:1.2-65-g06164fb/BearSSL:b024386

Connecting to xxxxxxxx
fpm close 3
mode : sta(84:cc:a8:b1:e7:10)
add if0
.....scandone
state: 0 -> 2 (b0)
.state: 2 -> 3 (0)
state: 3 -> 5 (10)
add 0
aid 5
cnt

connected with xxxxxxxxx, channel 1
dhcp client start...
ip:<IP_ADDRESS>,mask:<IP_ADDRESS>,gw:<IP_ADDRESS>
.
WiFi connected
IP address:
<IP_ADDRESS>
Attempting MQTT connection...connected
subscribed to : wemos/esp-84:cc:a8:b1:e7:10/in
pm open,type:2 0
Publish topic: wemos/esp-84:cc:a8:b1:e7:10/out
Publish message: {"micros":20001068,"counter":1,"client":esp-84:cc:a8:b1:e7:10}

Maybe this issue is related? I will try to find out why no connection to the broker is established.

After changing this:
//#define USE_SECUREWIFI          // use secure WIFI
#define USE_WIFI              // use non-secure WIFI

everything works as expected.
�������������������������
SDK:2.2.2-dev(38a443e)/Core:3.1.1=30101000/lwIP:STABLE-2_1_3_RELEASE/glue:1.2-65-g06164fb/BearSSL:b024386

BresserWeatherSensorMQTT 20221024

Attempting to connect to SSID: xxxxxxxxfpm close 1
mode : sta(84:cc:a8:b1:e7:10)
add if0
...scandone
state: 0 -> 2 (b0)
.state: 2 -> 3 (0)
state: 3 -> 5 (10)
add 0
aid 5
cnt

connected with xxxxxxxxx, channel 1
dhcp client start...
ip:<IP_ADDRESS>,mask:<IP_ADDRESS>,gw:<IP_ADDRESS>
connected!
Checking wifi...
MQTT connecting... connected!
ESPWeather-B1E710/status: online
[CC1101] Initializing ...
success!
[CC1101] Setup complete - awaiting incoming messages...


WBWindowsWebBrowser crash

WBWindowsWebBrowser openNativeWebBrowserOn: 'https://google.com'
crashes GT
0x6469f0 M WBWindowsWebBrowser class>shellExecute:file:parameters:directory:show: 0x6b878e78: a(n) WBWindowsWebBrowser class
0x646a78 I FFICalloutAPI>function:library: 0x6a4c36f0: a(n) FFICalloutAPI
0x646ad0 I WBWindowsWebBrowser class(Object)>ffiCall:library:options: 0x6b878e78: a(n) WBWindowsWebBrowser class
0x646b28 I WBWindowsWebBrowser class(Object)>ffiCall:library: 0x6b878e78: a(n) WBWindowsWebBrowser class
0x646b78 I WBWindowsWebBrowser class(Object)>ffiCall:module: 0x6b878e78: a(n) WBWindowsWebBrowser class
0x646bc8 I WBWindowsWebBrowser class>shellExecute:file:parameters:directory:show: 0x6b878e78: a(n) WBWindowsWebBrowser class
0x646c30 I WBWindowsWebBrowser class>openNativeWebBrowserOn: 0x6b878e78: a(n) WBWindowsWebBrowser class
0x646c78 I WebBrowser class>openOn: 0x6b878cb0: a(n) WebBrowser class

This is the same issue as: #1550

Hello there!
Both this issue and #1550 are closed, but GT on windows still closes after opening an external link. Sometimes it takes 2 or 3 times before it dies. This code works correctly under pharo 9.0.
As a workaround, I modified the method WBWindowsWebBrowser class>>openNativeWebBrowser to use LibC class>>system as follows:
openNativeWebBrowserOn: anURLString

^ LibC system: 'explorer ', anURLString

It has the side effect of opening a terminal for a moment, but it does not crash GT.

thanks. #1550 is not closed yet :)


Keep rust-dlc dependency up-to-date

No notable functional changes other than ensuring that our fork of rust-dlc is as similar as possible to upstream.

bors r+


Improve Site

This switches the site to and javascript framework. The pages are still written in markdown and modification is simple. By switching to this framework you can display stubs, which will encourage other people to help with the project.
Preview: https://roseblume.github.io/iced-docs/getting-started/first-steps/

Nah, thanks. I like mdbook.


Download error

Am I doing something wrong?
spotdl https://open.spotify.com/track/08mG3Y1vljYA6bvDt4Wqkj?si=SxezdxmlTx-CaVoucHmrUA

Fetching Song...
0%|                                                                                |ETA: ?, ~min/songTraceback (most recent call last):
File "c:\users\NAME\appdata\local\programs\python\python39\lib\site-packages\spotdl\download\downloader.py", line 114, in download_song
downloadedFilePath = trackAudioStream.download(
AttributeError: 'NoneType' object has no attribute 'download'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\users\NAME\appdata\local\programs\python\python39\lib\runpy.py", line 197, in _run_module_as_main
return run_code(code, main_globals, None,
File "c:\users\NAME\appdata\local\programs\python\python39\lib\runpy.py", line 87, in run_code
exec(code, run_globals)
File "C:\Users\NAME\AppData\Local\Programs\Python\Python39\Scripts\spotdl.exe_main.py", line 7, in
File "c:\users\NAME\appdata\local\programs\python\python39\lib\site-packages\spotdl_main.py", line 100, in console_entry_point
downloader.download_single_song(song)
File "c:\users\NAME\appdata\local\programs\python\python39\lib\site-packages\spotdl\download\downloader.py", line 274, in download_single_song
download_song(songObj, self.displayManager, self.downloadTracker)
File "c:\users\NAME\appdata\local\programs\python\python39\lib\site-packages\spotdl\download\downloader.py", line 124, in download_song
remove(join(tempFolder, convertedFileName) + '.mp4')
FileNotFoundError: [WinError 2] The system cannot find the file specified: '.\Temp\ACDC - Back In Black.mp4'
0%|                                                                                |ETA: ?, ~min/song

Possible Duplicate of #1004
Try running:
pip install -U pytube then pip install -U spotdl
(Force updating pytube and spotDL)

Nope, still returns an exception:
pip install -U pytube

Requirement already satisfied: pytube in c:\users\NAME\appdata\local\programs\python\python39\lib\site-packages (10.0.0)
Requirement already satisfied: typing-extensions in c:\users\NAME\appdata\local\programs\python\python39\lib\site-packages (from pytube) (<IP_ADDRESS>)

pip install -U spotdl

Requirement already satisfied: spotdl in c:\users\NAME\appdata\local\programs\python\python39\lib\site-packages (3.1.4)
Requirement already satisfied: rapidfuzz in c:\users\NAME\appdata\local\programs\python\python39\lib\site-packages (from spotdl) (0.13.3)
Requirement already satisfied: a-pytube-fork-for-spotdl-users in c:\users\NAME\appdata\local\programs\python\python39\lib\site-packages (from spotdl) (9.6.4)
Requirement already satisfied: requests in c:\users\NAME\appdata\local\programs\python\python39\lib\site-packages (from spotdl) (2.23.0)
Requirement already satisfied: mutagen in c:\users\NAME\appdata\local\programs\python\python39\lib\site-packages (from spotdl) (1.45.1)
Requirement already satisfied: tqdm in c:\users\NAME\appdata\local\programs\python\python39\lib\site-packages (from spotdl) (4.54.0)
Requirement already satisfied: spotipy in c:\users\NAME\appdata\local\programs\python\python39\lib\site-packages (from spotdl) (2.16.1)
Requirement already satisfied: typing-extensions in c:\users\NAME\appdata\local\programs\python\python39\lib\site-packages (from a-pytube-fork-for-spotdl-users->spotdl) (<IP_ADDRESS>)
Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in c:\users\NAME\appdata\local\programs\python\python39\lib\site-packages (from requests->spotdl) (1.25.11)
Requirement already satisfied: idna<3,>=2.5 in c:\users\NAME\appdata\local\programs\python\python39\lib\site-packages (from requests->spotdl) (2.10)
Requirement already satisfied: chardet<4,>=3.0.2 in c:\users\NAME\appdata\local\programs\python\python39\lib\site-packages (from requests->spotdl) (3.0.4)
Requirement already satisfied: certifi>=2017.4.17 in c:\users\NAME\appdata\local\programs\python\python39\lib\site-packages (from requests->spotdl) (2020.11.8)
Requirement already satisfied: six>=1.10.0 in c:\users\NAME\appdata\local\programs\python\python39\lib\site-packages (from spotipy->spotdl) (1.15.0)
Requirement already satisfied: requests in c:\users\NAME\appdata\local\programs\python\python39\lib\site-packages (from spotdl) (2.23.0)

spotdl https://open.spotify.com/playlist/1p1EhkP522y6R1xJEkYYKQ

Fetching Playlist...
67%|███████████████████████████████████████████████████████████▎                             |ETA: 04:27, 1.12min/songmultiprocessing.pool.RemoteTraceback:
"""
Traceback (most recent call last):
File "c:\users\NAME\appdata\local\programs\python\python39\lib\site-packages\spotdl\download\downloader.py", line 114, in download_song
downloadedFilePath = trackAudioStream.download(
AttributeError: 'NoneType' object has no attribute 'download'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\users\NAME\appdata\local\programs\python\python39\lib\multiprocessing\pool.py", line 125, in worker
result = (True, func(*args, **kwds))
File "c:\users\NAME\appdata\local\programs\python\python39\lib\multiprocessing\pool.py", line 51, in starmapstar
return list(itertools.starmap(args[0], args[1]))
File "c:\users\NAME\appdata\local\programs\python\python39\lib\site-packages\spotdl\download\downloader.py", line 124, in download_song
remove(join(tempFolder, convertedFileName) + '.mp4')
FileNotFoundError: [WinError 2] The system cannot find the file specified: '.\Temp\グッナイ小形 - I LOVE YOU MORE.mp4'"""
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "c:\users\NAME\appdata\local\programs\python\python39\lib\runpy.py", line 197, in _run_module_as_main
return run_code(code, main_globals, None,
File "c:\users\NAME\appdata\local\programs\python\python39\lib\runpy.py", line 87, in run_code
exec(code, run_globals)
File "C:\Users\NAME\AppData\Local\Programs\Python\Python39\Scripts\spotdl.exe_main.py", line 7, in
File "c:\users\NAME\appdata\local\programs\python\python39\lib\site-packages\spotdl_main.py", line 116, in console_entry_point
downloader.download_multiple_songs(songObjList)
File "c:\users\NAME\appdata\local\programs\python\python39\lib\site-packages\spotdl\download\downloader.py", line 293, in download_multiple_songs
self.workerPool.starmap(
File "c:\users\NAME\appdata\local\programs\python\python39\lib\multiprocessing\pool.py", line 372, in starmap
return self._map_async(func, iterable, starmapstar, chunksize).get()
File "c:\users\NAME\appdata\local\programs\python\python39\lib\multiprocessing\pool.py", line 771, in get
raise self._value
FileNotFoundError: [Errno 2] The system cannot find the file specified: '.\Temp\グッナイ小形 - I LOVE YOU MORE.mp4'

I have this exact issue in arch linux

@hopto-dot The error in the second message you sent has changed from the first. I now see the words multiprocessing, whereas the original error was a pytube issue.
@madebypixel02 "exact issue" being the first or second? If it's the first issue, see fix https://github.com/spotDL/spotify-downloader/issues/1018#issuecomment-739477974

Exact meaning like the second issue:
Fetching Song...
  0%|                                                                                |ETA: ?, ~min/songTraceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/spotdl/download/downloader.py", line 114, in download_song
    downloadedFilePath = trackAudioStream.download(
AttributeError: 'NoneType' object has no attribute 'download'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/spotdl", line 8, in <module>
    sys.exit(console_entry_point())
  File "/usr/lib/python3.9/site-packages/spotdl/__main__.py", line 100, in console_entry_point
    downloader.download_single_song(song)
  File "/usr/lib/python3.9/site-packages/spotdl/download/downloader.py", line 274, in download_single_song
    download_song(songObj, self.displayManager, self.downloadTracker)
  File "/usr/lib/python3.9/site-packages/spotdl/download/downloader.py", line 124, in download_song
    remove(join(tempFolder, convertedFileName) + '.mp4')
FileNotFoundError: [Errno 2] No such file or directory: './Temp/Michelle - Kling, Glöckchen, klingelingeling.mp4'

Hope this helps!

Similar error for me

Fetching Playlist...
6%|████████▌                                                                                |ETA: 09:15, 0.62min/songmultiprocessing.pool.RemoteTraceback:
"""
Traceback (most recent call last):
File "c:\users\kenne\appdata\local\programs\python\python39\lib\site-packages\spotdl\download\downloader.py", line 114, in download_song
downloadedFilePath = trackAudioStream.download(
AttributeError: 'NoneType' object has no attribute 'download'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "c:\users\kenne\appdata\local\programs\python\python39\lib\multiprocessing\pool.py", line 125, in worker
result = (True, func(*args, **kwds))
File "c:\users\kenne\appdata\local\programs\python\python39\lib\multiprocessing\pool.py", line 51, in starmapstar
return list(itertools.starmap(args[0], args[1]))
File "c:\users\kenne\appdata\local\programs\python\python39\lib\site-packages\spotdl\download\downloader.py", line 124, in download_song
remove(join(tempFolder, convertedFileName) + '.mp4')
FileNotFoundError: [WinError 2] The system cannot find the file specified: '.\Temp\Duckwrth, Shaboozey - Start a Riot.mp4'
"""
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "c:\users\kenne\appdata\local\programs\python\python39\lib\runpy.py", line 197, in _run_module_as_main
return run_code(code, main_globals, None,
File "c:\users\kenne\appdata\local\programs\python\python39\lib\runpy.py", line 87, in run_code
exec(code, run_globals)
File "C:\Users\kenne\AppData\Local\Programs\Python\Python39\Scripts\spotdl.exe_main.py", line 7, in
File "c:\users\kenne\appdata\local\programs\python\python39\lib\site-packages\spotdl_main.py", line 116, in console_entry_point
downloader.download_multiple_songs(songObjList)
File "c:\users\kenne\appdata\local\programs\python\python39\lib\site-packages\spotdl\download\downloader.py", line 293, in download_multiple_songs
self.workerPool.starmap(
File "c:\users\kenne\appdata\local\programs\python\python39\lib\multiprocessing\pool.py", line 372, in starmap
return self._map_async(func, iterable, starmapstar, chunksize).get()
File "c:\users\kenne\appdata\local\programs\python\python39\lib\multiprocessing\pool.py", line 771, in get
raise self._value
FileNotFoundError: [Errno 2] The system cannot find the file specified: '.\Temp\Duckwrth, Shaboozey - Start a Riot.mp4'

Exact meaning like the second issue: (EDIT: checking the original error and mine they seem similar yet not "exactly" the same)
Fetching Song...
  0%|                                                                                |ETA: ?, ~min/songTraceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/spotdl/download/downloader.py", line 114, in download_song
    downloadedFilePath = trackAudioStream.download(
AttributeError: 'NoneType' object has no attribute 'download'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/spotdl", line 8, in <module>
    sys.exit(console_entry_point())
  File "/usr/lib/python3.9/site-packages/spotdl/__main__.py", line 100, in console_entry_point
    downloader.download_single_song(song)
  File "/usr/lib/python3.9/site-packages/spotdl/download/downloader.py", line 274, in download_single_song
    download_song(songObj, self.displayManager, self.downloadTracker)
  File "/usr/lib/python3.9/site-packages/spotdl/download/downloader.py", line 124, in download_song
    remove(join(tempFolder, convertedFileName) + '.mp4')
FileNotFoundError: [Errno 2] No such file or directory: './Temp/Michelle - Kling, Glöckchen, klingelingeling.mp4'

Hope this helps!

I was also facing the same issue . Upon investigation I found out that out of the full playlist there are only a few songs that got downloaded.  and rest failed . The issue seems to be with the Copyright items. Few links can not be downloaded directly. Updated the code to get first 10 best match links from youtube and start parsing till one runs, Upon doing this the success rate increased to around 90%.

Ok. How do you get the first 10 best matches?

Ok. How do you get the first 10 best matches?

Forked the repository  and pushed the fix in the below commit.
https://github.com/dheerain/spotify-downloader/commit/1285b946571dd097a46cca3ba1e01bd0f8a1dfb7

Exact meaning like the second issue: (EDIT: checking the original error and mine they seem similar yet not "exactly" the same)
Fetching Song...
  0%|                                                                                |ETA: ?, ~min/songTraceback (most recent call last):
  File "/usr/lib/python3.9/site-packages/spotdl/download/downloader.py", line 114, in download_song
    downloadedFilePath = trackAudioStream.download(
AttributeError: 'NoneType' object has no attribute 'download'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/spotdl", line 8, in <module>
    sys.exit(console_entry_point())
  File "/usr/lib/python3.9/site-packages/spotdl/__main__.py", line 100, in console_entry_point
    downloader.download_single_song(song)
  File "/usr/lib/python3.9/site-packages/spotdl/download/downloader.py", line 274, in download_single_song
    download_song(songObj, self.displayManager, self.downloadTracker)
  File "/usr/lib/python3.9/site-packages/spotdl/download/downloader.py", line 124, in download_song
    remove(join(tempFolder, convertedFileName) + '.mp4')
FileNotFoundError: [Errno 2] No such file or directory: './Temp/Michelle - Kling, Glöckchen, klingelingeling.mp4'

Hope this helps!

I was also facing the same issue . Upon investigation I found out that out of the full playlist there are only a few songs that got downloaded. and rest failed . The issue seems to be with the Copyright items. Few links can not be downloaded directly. Updated the code to get first 10 best match links from youtube and start parsing till one runs, Upon doing this the success rate increased to around 90%.

Glad to see it's not just me that is facing the issue, and am very happy to see you found a solution that'll make it more reliable.

Ok. How do you get the first 10 best matches?

Forked the repository  and pushed the fix in the below commit.
https://github.com/dheerain/spotify-downloader/commit/1285b946571dd097a46cca3ba1e01bd0f8a1dfb7

Nice idea. Well add it to the next release.

Upon Upgrading pytube to 10.0.1  changes which was pushed yesterday I was able to download full playlist without any issue.


Cut should be send decimal values instead of hexadecimal

The cut(...) method sends hexadecimal values instead of decimal as i spec (65 and 66 decimal in spec).
0x00 and 0x01 do not need to be sent.
should also send n at end witch should say number of lines to feed before cutting.
Take a look at
https://github.com/TerryTsai/EscPos/blob/master/src/main/java/email/com/gmail/ttsai0509/escpos/EscPosBuilder.java#L149-L151
                case FULL:              out.write(0x00); out.write(0x65); break;
                case PART:              out.write(0x01); out.write(0x66); break;

should be
                case FULL:              out.write(65); out.write(0); break; // n which is number of lines to feed is set to 0 here
                case PART:              out.write(66); out.write(0); break; // n which is number of lines to feed is set to 0 here

Thanks otherwise for a great builder! Helped me to getting started with my printer.

Thanks Anders, you were right... I must have misread the spec. I have since updated it. Appreciate the feedback and glad it has helped in some way.


session stickiness between services?

Please run microk8s.inspect and attach the generated tarball to this issue.
We appreciate your feedback. Thank you for using microk8s.
I am using ingress nginx controller and enable sticky session according to https://kubernetes.github.io/ingress-nginx/examples/affinity/cookie/. Everything goes well when I use replicaset=1. Things break when I scale it up to 2. I suspect that session stickiness terminates at the ingress controller and therefore only works for external reqeuests. How do the k8s services maintain session stickiness? Thanks.

Hi @khteh
I have never used sticky sessions. Since your question is not strictly related to MicroK8s, you may want to ask at https://discuss.kubernetes.io/
Thanks

I found out that the nginx ingress switch to a different pod after the initial request but subsequent requests go to the same pod thereafter. Is that the expected behaviour?

How do I upgrade the nginx ingress to 0.22.0? https://github.com/kubernetes/ingress-nginx/issues/3769

You could microk8s.disable ingress and then follow the instructions here: https://kubernetes.github.io/ingress-nginx/deploy/#prerequisite-generic-deployment-command
You could then consider providing a pull request updating the manifest in https://github.com/ubuntu/microk8s/blob/master/microk8s-resources/actions/ingress.yaml so you will get the latest ingress with the next MicroK8s release. Thanks.

https://github.com/ubuntu/microk8s/pull/325

When will this patched be released? v1.14.0 still uses quay.io/kubernetes-ingress-controller/nginx-ingress-controller-amd64:0.15.0


⚠ Bofrost.be has degraded performance

In 83d1a86, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1334 ms

Resolved: Bofrost.be performance has improved in f32e1b8 after 1 hour, 15 minutes.


Feature Request: Enforce Unique

Add an option to enforce that a field must be unique.
Options:

Unique for FIELD within ASSET
Unique for FIELD across all ASSETs

Examples:

Globally unique Asset Tag
Globally unique management ip
Assetly unique name

To Do:

[ ] When adding an asset field mode 2 uniqueness needs to be checked.


Modify build.lua so that l3build doc works

After cloning and modifying apxproof.dtx, I found that make didn't work.
Seemingly this is because the typeset directory is ignored in typeset() in build.lua.
This pull request fixes this issue.

Not sure why this was working for me, but I integrated the build request.


Second bloodlust does not get applied to Inferno summoned during the fight

Summary
As a guild we use first blood lust on pull (2-4s in) and second blood lust after infernos are summoned.
In the simulation second bloodlust does not get applied to summoned inferno. Only felhunter and character at the start with first bloodlust.
Description of the issue
If we use bloodlust on pull, felhunter and character get the buff. Once infernal is summoned, we (in the game itself) us 2nd bloodlust to buff infernals. The simulation, even if you put 2 bloodlust, lets say one on 4s and one on 40s (but after inferno has been summoned), does not add the buff to the inferno and the dps doesn't change whether you do with 2nd bloodlust or without.

To recreate
In short you need something like the following:
Affliction spec
Bloodlust at 4 and 40s
Sim length 90s (so that at 30s inferno is summoned)
Inferno box checked
Json to recreate
{
  "settings": {
    "iterations": 5000,
    "phase": 1,
    "fixedRngSeed": "4245393343",
    "showDamageMetrics": true,
    "language": "en",
    "faction": "Alliance",
    "filters": {
      "oneHandedWeapons": true,
      "twoHandedWeapons": true
    }
  },
  "raidBuffs": {
    "giftOfTheWild": "TristateEffectImproved",
    "powerWordFortitude": "TristateEffectImproved",
    "strengthOfEarthTotem": "TristateEffectImproved",
    "arcaneBrilliance": true,
    "divineSpirit": true,
    "trueshotAura": true,
    "leaderOfThePack": "TristateEffectImproved",
    "icyTalons": true,
    "totemOfWrath": true,
    "demonicPact": 4500,
    "moonkinAura": "TristateEffectImproved",
    "wrathOfAirTotem": true,
    "sanctifiedRetribution": true,
    "bloodlust": true
  },
  "debuffs": {
    "judgementOfWisdom": true,
    "misery": true,
    "faerieFire": "TristateEffectRegular",
    "curseOfElements": true,
    "ebonPlaguebringer": true,
    "earthAndMoon": true,
    "heartOfTheCrusader": true,
    "totemOfWrath": true,
    "shadowMastery": true,
    "bloodFrenzy": true,
    "sunderArmor": true
  },
  "partyBuffs": {},
  "player": {
    "name": "Player",
    "race": "RaceOrc",
    "class": "ClassWarlock",
    "equipment": {
      "items": [
        {
          "id": 40421,
          "enchant": 3820,
          "gems": [
            41285,
            40051
          ]
        },
        {
          "id": 44661,
          "gems": [
            40026
          ]
        },
        {
          "id": 40424,
          "enchant": 3810,
          "gems": [
            39998
          ]
        },
        {
          "id": 44005,
          "enchant": 3722,
          "gems": [
            40026
          ]
        },
        {
          "id": 40423,
          "enchant": 3832,
          "gems": [
            39998,
            40051
          ]
        },
        {
          "id": 44008,
          "enchant": 2332,
          "gems": [
            39998,
            0
          ]
        },
        {
          "id": 40420,
          "enchant": 3604,
          "gems": [
            39998,
            0
          ]
        },
        {
          "id": 40561,
          "gems": [
            39998
          ]
        },
        {
          "id": 40560,
          "enchant": 3719
        },
        {
          "id": 40558,
          "enchant": 3606
        },
        {
          "id": 40399
        },
        {
          "id": 40719
        },
        {
          "id": 40432
        },
        {
          "id": 40255
        },
        {
          "id": 40396,
          "enchant": 3834
        },
        {
          "id": 39766
        },
        {
          "id": 39712
        }
      ]
    },
    "consumes": {
      "flask": "FlaskOfTheFrostWyrm",
      "food": "FoodFishFeast",
      "petFood": "PetFoodSpicedMammothTreats",
      "defaultPotion": "PotionOfSpeed",
      "prepopPotion": "PotionOfWildMagic",
      "thermalSapper": true,
      "fillerExplosive": "ExplosiveSaroniteBomb"
    },
    "bonusStats": {
      "stats": [
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0,
        0
      ],
      "pseudoStats": [
        0,
        0,
        0,
        0
      ]
    },
    "buffs": {
      "blessingOfKings": true,
      "blessingOfWisdom": "TristateEffectImproved",
      "blessingOfMight": "TristateEffectImproved",
      "vampiricTouch": true
    },
    "talentsString": "2350002030023510253500331151--550000051",
    "glyphs": {
      "major1": 50077,
      "major2": 45785,
      "major3": 45779,
      "minor1": 43394,
      "minor2": 43390,
      "minor3": 43393
    },
    "profession1": "Engineering",
    "profession2": "Tailoring",
    "cooldowns": {
      "cooldowns": [
        {
          "id": {
            "tag": -1,
            "spellId": 2825
          },
          "timings": [
            4,
            40
          ]
        }
      ]
    },
    "distanceFromTarget": 25,
    "healingModel": {},
    "database": {},
    "warlock": {
      "rotation": {
        "preset": "Automatic",
        "curse": "Agony",
        "primarySpell": "ShadowBolt",
        "secondaryDot": "UnstableAffliction",
        "corruption": true,
        "detonateSeed": true,
        "specSpell": "Haunt",
        "useInfernal": true
      },
      "talents": {},
      "options": {
        "armor": "FelArmor",
        "summon": "Felhunter",
        "weaponImbue": "GrandSpellstone"
      }
    }
  },
  "encounter": {
    "duration": 90,
    "executeProportion20": 0.2,
    "executeProportion25": 0.25,
    "executeProportion35": 0.35,
    "targets": [
      {
        "level": 83,
        "mobType": "MobTypeUndead",
        "stats": [
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          640,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          10643,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0,
          0
        ],
        "minBaseDamage": 30000,
        "swingSpeed": 1.5,
        "dualWield": true,
        "parryHaste": true
      }
    ]
  },
  "epWeightsStats": {
    "stats": [
      0,
      0,
      0,
      0.18497993346795452,
      0.5372861123710803,
      1,
      0,
      0.6737459471370757,
      0.514768197890998,
      0.9155644518822608,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0,
      0
    ],
    "pseudoStats": [
      0,
      0,
      0,
      0
    ]
  }
}

This seems to be a general issue / source of confusion around how the Cooldowns section works. You can replicate it via Tricks as well. If you select Tricks or Bloodlust as a raid buff but don't specify a cooldown option, they both pop at the beginning. If you specify multiple cooldown options, they both pop at the first option, but then never again.
So it's not really something specific to the Warlock and the Infernal not getting Bloodlust, it's an issue around external cooldowns not popping multiple times even when configured to do so. It looks like personal cooldowns pop correctly (such as Scale of Fates every 2 minutes).

Talked about this on discord; TL;DR is that with other raid CDs like tricks everything is working fine, although the UI isn't the clearest, but for bloodlust we need some specific code in place to handle temporary pets like infernal (druid's treants have the same problem).


feat(fabric): Update adding a new orderer organization playbook to be compatible with version 2.5.4

Description
As a developer we want add orderer orgnazation playbook be compatible with fabric 2.5.4
Acceptance Criteria
Fabric 2.5.4 network should deploy with chaincode correctly.
Fabric 2.2.2 network should deploy with chaincode correctly.
Update documentation

I'll take this issue


Creation New Readme_Ethermint

@jeamick what's the ethermint specific part in this document? I only see it in the PR title

Yes I was wondering too ... let me copy/paste it sorry


we getting 502 Bad Gateway for https://randomuser.me/ can we get a fix for this please?

Step 1) hitting https://randomuser.me/ we getting 502 Bad Gateway.

site down for all :(

This issue has been resolved, thanks @chennasuman for reporting 👍


Fix GaudiSeq2SeqTrainer

What does this PR do?

This PR fixes an issue introduced in #202  with the GaudiSeq2SeqTrainer class. The gaudi_config argument in the __init__ method was missing, which triggered an error if gaudi_config_name is None in the training arguments.
Before submitting

[ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[ ] Did you make sure to update the documentation with your changes?
[ ] Did you write any new necessary tests?

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


Add Alpine 3.16

Alpine 3.16 was released on 2022-05-23 and is currently at 3.16.1. The new version has some updated stable packages. In particular, I'm interested in the updated fzf package, which does not depend on perl.
UPDATE: I release now that I need to generate release notes in alpine/history. Is there a tool I should use to create history/0.204.5.md?

This looks reasonable to me and is in-line with our general process for new software versions, @Chuxel seem reasonable to you?

Everything looks right here from my perspective. This came out faster than we'd expected. @joshspicer ?

UPDATE: I release now that I need to generate release notes in alpine/history. Is there a tool I should use to create history/0.204.5.md?

The release process will automatically generate this file, so no need to do anything here.

Thanks! I tried to follow #1432 as closely as possible 🙁


How can we use elastalert to read metrics from statsd and raise alerts for the CPU and memory utlization

I saw in elastalert doc, config like statsd_host in config.yml but not much information on how to do it.


Refactor manager class

Pick up whatsapp related methods from Manager class to whatsapp directory which contain these classes:

WhatsAppBase

WhatsAppManager
LoginEventHandler
GroupEventHandler
MessageEventHandler

I think manager refactor and event support should be divided into 2 PRs

src/whatsapp/whatsapp-base.ts and src/whatsapp/whatsapp-manager.ts less than 200 lines , but seperate to 2 files.

src/whatsapp/whatsapp-base.ts and src/whatsapp/whatsapp-manager.ts less than 200 lines , but seperate to 2 files.

The WhatsAppBase will extends event listener EE, and other related classes extends it.

This PR will be closed now, and it has already divided into 2 PRs: #257 and #258


[5.1] Create Gate Access Admission, so that a Policy can deny access with a reason

This would allow the policy to return with a reason for denying access, which would then be used in the 403 HttpException in the AuthorizesRequests trait:
use App\User;
use App\Post;
use Illumiante\Auth\Access\CreatesGrants;

class PostPolicy
{
    use CreatesGrants;

    public function update(User $user, Post $post)
    {
        if ($user->id !== $post->user_id) {
            return $this->deny('You are not the owner of this post.');
        }

        if ($post->isClosed()) {
            return $this->deny('Post is closed and cannot be updated.');
        }

        return $this->allow();
    }
}

I'm not entirely set on the Admission nomenclature. I've played with Grant, Pass, Card, Passage, Token and more, but have found Admission to be the most semantic in this case. I'm open to suggestions.

This is prefect, thanks a lot Joseph! :+1:

Looks great! :)

Now the other one is not just depressed, but lonely too 😛


netpol: Add dual-stack support

Signed-off-by: Michal Rostecki<EMAIL_ADDRESS>

Proposed Changes

This change allows to define two cluster CIDRs for compatibility with Kubernetes dual-stuck, with an assumption that two CIDRs are usually IPv4 and IPv6.
It does that by levearaging changes in out kube-router fork, with the following downstream release:
https://github.com/k3s-io/kube-router/releases/tag/v1.3.2%2Bk3s
Types of Changes

New feature - IPv4/IPv6 dual stack
Verification

Quick instructions for deploying k3s with dual-stack on Vagrant and checking whether network policies work:
Server
export NODE_IPV4=$(ip -j addr show dev eth0 | jq -r '.[0].addr_info | map(select(.family == "inet"))[0].local')
export NODE_IPV6=$(ip -j addr show dev eth0 | jq -r '.[0].addr_info | map(select(.family == "inet6"))[0].local')
./dist/artifacts/k3s server --node-ip "${NODE_IPV4},${NODE_IPV6}" --cluster-cidr <IP_ADDRESS>/16,2001:cafe:42:0::/56 --service-cidr <IP_ADDRESS>/16,2001:cafe:42:1::/112

Agent
export NODE_IPV4=$(ip -j addr show dev eth0 | jq -r '.[0].addr_info | map(select(.family == "inet"))[0].local')
export NODE_IPV6=$(ip -j addr show dev eth0 | jq -r '.[0].addr_info | map(select(.family == "inet6"))[0].local')
# Define SERVER_IP and TOKEN with appropriate values from the server
./dist/artifacts/k3s agent --node-ip "${NODE_IPV4},${NODE_IPV6}" --server https://${SERVER_IP}:6443 --token ${TOKEN}

Test deployment and network policy
./dist/artifacts/k3s kubectl apply -f https://raw.githubusercontent.com/manuelbuil/PoCs/main/2021/ipv6-poc/httpd-ipv6.yaml
./dist/artifacts/k3s kubectl apply -f https://raw.githubusercontent.com/manuelbuil/PoCs/main/2021/network_policy_podSelector-httpd-ipBlock.yml

Linked Issues

#5386
User-Facing Change

netpol: Add dual-stack support

Further Comments

Please remember updating the docs after you merge and doing the backports ;)

Do we actually want to backport it?

Do we actually want to backport it?

As far as I know, the official policy is to backport everything if possible


declaring a function is the same thing as assigning a variable

https://chat.stackexchange.com/transcript/message/59505036#59505036
(created by lyxal here)

Completed by Lyxal.


Video starts playing without sound if on the device mute mode

Bug
Is it possible to override the silent mode on the device and start playing video with sound?
Platform iOS and Android
Which player are you experiencing the problem on:

iOS
Android ExoPlayer

Library version: 5.2.0

You can set the prop ignoreSilentSwitch to "ignore". I have only tested it for iOS so far.


train_custom_verifier not iterating over positive_reference_clips

❯ poetry run python scripts/train_custom_verifier.py
Configuration file exists at /Users/Mike/Library/Preferences/pypoetry, reusing this directory.

Consider moving TOML configuration files to /Users/Mike/Library/Application Support/pypoetry, as support for the legacy directory will be removed in an upcoming release.
WARNING:root:Tried to import the tflite runtime, but it was not found. Trying to switching to onnxruntime instead, if appropriate models are available.
Processing positive reference clips:   0%|                                                                              | 0/55 [00:00<?, ?it/s]/
Traceback (most recent call last):
  File "/Users/Mike/Documents/coding/VoiceAssistants/ovos-mac/scripts/train_custom_verifier.py", line 3, in <module>
    openwakeword.train_custom_verifier(
  File "/Users/Mike/Library/Caches/pypoetry/virtualenvs/ovos-mac-4gtofNfg-py3.10/lib/python3.10/site-packages/openwakeword/custom_verifier_model.py", line 152, in train_custom_verifier
    [get_reference_clip_features(i, oww, model_name, N=5)
  File "/Users/Mike/Library/Caches/pypoetry/virtualenvs/ovos-mac-4gtofNfg-py3.10/lib/python3.10/site-packages/openwakeword/custom_verifier_model.py", line 152, in <listcomp>
    [get_reference_clip_features(i, oww, model_name, N=5)
  File "/Users/Mike/Library/Caches/pypoetry/virtualenvs/ovos-mac-4gtofNfg-py3.10/lib/python3.10/site-packages/openwakeword/custom_verifier_model.py", line 65, in get_reference_clip_features
    sr, dat = scipy.io.wavfile.read(reference_clip)
  File "/Users/Mike/Library/Caches/pypoetry/virtualenvs/ovos-mac-4gtofNfg-py3.10/lib/python3.10/site-packages/scipy/io/wavfile.py", line 647, in read
    fid = open(filename, 'rb')
IsADirectoryError: [Errno 21] Is a directory: '/'
Processing positive reference clips:   0%|

It looks like at some point custom_verifier_clips was converted from a list to a string, but there wasn't code added to iterate over the path.

After a lot of experimentation it seems that while the type hint is str, it actually still wants a list of individual files and not a filepath. If I do that, the model trains successfully on both Linux and Mac OS. I'm planning to submit a PR to address the type hints and docstrings 🙂


Failed to validate node number 2. ERROR:  relation "repl_nodes" does not exist

WHAT:

In my POC test lab, I set up two VMs, mymiq01.test.lan((<IP_ADDRESS>)and mymiq02.test.lan(<IP_ADDRESS>)

Both are running latest from master branch.

mymiq01 is up and running can do SSA(SmartState Analysis) on VMWare provider.

mymiq01 sumary info

I am testing out database replication on mymiq02 with 6th opetion from ap

mymiq02 master branch version

mymiq02 summary info

HOW
I tried 0,1 and now 2 on "Enter the number uniquely identifying this node in the replication cluster" question.

Establish Replication Standby Server

Appliance database found under: /var/opt/rh/rh-postgresql95/lib/pgsql/data
Replication standby server can not be configured if the database already exists
Would you like to remove the existing database before configuring as a standby server?
  WARNING: This is destructive. This will remove all previous data from this server
Continue? (Y/N): Y
No partition found for Standby database disk. You probably want to add an unpartitioned disk and try again.

Are you sure you don't want to partition the Standby database disk? (Y/N): Y
Enter the number uniquely identifying this node in the replication cluster: 2
Enter the cluster database name: |vmdb_production|
Enter the cluster database username: |root|
Enter the cluster database password: *******
Enter the cluster database password: *******
Enter the primary database hostname or IP address: mymiq02.test.lan
Enter the Standby Server hostname or IP address: |<IP_ADDRESS>|
Configure Replication Manager (repmgrd) for automatic failover? (Y/N): N
Failed to validate node number 2. ERROR:  relation "repl_nodes" does not exist
LINE 2:         FROM repl_nodes where id = $1
                     ^
Database Replication not configured

Press any key to continue.

Excuse my bad, I didn't do the "Configure Database Replication" in mymiq01 first. mymiq01 should be configure as primary.


Added language_pkgbuild

Adds support for PKGBUILD files used for writing packaging build instructions.

I wonder if this could have been done by "importing" language_sh and building on it. This would have meant having it as a dependency which could be undesirable.
Is there anything that could be backported to language_sh?

Is there anything that could be backported to language_sh?

I will later work on language_sh,  stuff which comes to mind to backport are the improved patterns for numbers, command arguments, support for variable declarations and additional keywords for standard tools like mkdir, mv, cp, etc...


[4.2] Add response file support for more Swift jobs. (#19449)

Cherry-pick of #19449 from master.
Explanation: This enables response files for any jobs that invoke swift (like -merge-modules) or another toolchain tool that goes through the same driver code path, like swift-autolink-extract. The current implementation of response files works for compilation jobs, but for non-WMO builds, it's possible for a large number of arguments to be passed to the merge-modules job without a response file, causing that job to fail. (For example, a merge-modules job with a large number of -Xcc -fmodule-map-file= options will have this problem.)
Scope: An additive change in the compiler that causes the driver to use response files with more frontend jobs that also invoke swift (and are therefore compatible).
Risk: None that I'm aware of.
Testing: A test case for the merge-modules job is provided in the PR.
cc @jrose-apple

LGTM, but of course needs Ted's approval as release manager.
@swift-ci Please test

Friendly ping 🙂

I'm sorry to report that management doesn't consider this to meet the criteria for a 4.2 dot release—they're really trying to keep it pretty minimal at this point. (My latest 4.2 PR isn't making it either.)

I understand! Thanks for the update—at least we can use -wmo “hack” in the meantime to bypass the merge-modules job.

Sorry for not seeing this.  I need to fix my mail notifications to catch these sooner.  Jordan is right that this is too large of a change for a 4.2 dot release.


Document Auto-Merge and GH Actions

What article on docs.github.com is affected?
Automatically merging a pull request

What part(s) of the article would you like to see updated?

The article is good for getting started, but it leaves many aspects in relation to GH Actions unclear. With this respect the article should be a bit more verbose.
For example:

will automerge trigger an GH Actions event if GH actions already ran during the the checks phase?
What would be the event?
Where would we find more documentation?

Normally GH Actions will not trigger a secondary action if an event is the result of an action. This is important information, because this feature is tightly coupled to GH Actions.
From the Documentation I would assume NO secondary action would be triggered.
Additional information

I did not run any experiments to check this behaviour.
In my repos I have steps that have to get performed after the merge took place. Given the documentation I don't feel confident to refactor my actions.

Thanks for opening this issue, @phish108!
Auto-merge and GitHub Actions are two separate features, however, they work together in the CI/CD workflow. Once all of your tests pass, if you have auto-merge enabled, then the PR will merge automatically. If the tests don't pass, then you'll get a failed notification and you'll have to investigate and then re-run your actions.
This is best documented at the top of this article:

If you enable auto-merge for a pull request, the pull request will merge automatically when all required reviews are met and status checks have passed. Auto-merge prevents you from waiting around for requirements to be met, so you can move on to other tasks.
Before you can use auto-merge with a pull request, auto-merge must be enabled for the repository.

Also, note that auto-merge works for other things like required reviews as well as Actions.
If you're interested in seeing if auto-merge would work for a particular workflow you have, I'd love to see that and we can pass along any product feedback you may have to the product team that works on the feature here at GitHub. Testing out your workflow would be a great place for you to start.

Thanks @simpsoka
This is what the docu states and this was already clear. But neither the docs nor your answer state whether auto-merge will trigger a gh action if auto-merge is activated by another GH action.
There are workflows that depend steps that must run after the merge has completed. Now with other GH events it is the case that these events are not triggered to downstream workflows if another GH action was involved at some point in the process. The only work around in this case are calls to workflow_dispatch with a special token and this depends on not leaving the inital workflow. Now, this would be no longer possible with auto-merge because of not being part of an  action workflow.
Simple scenario:

Dependabot triggers a PR
all tests pass (via GH workflows)
auto merge applies the PR
a new release is published and deployed (via a different GH workflow).

Until now the second workflow  would  not get triggered.
From the docs I would expect that "prevents you from waiting" implies triggering  the second workflow, but then the agency is with the user not with a workflow.
To be sure I have to test this, but it would be better if the docs could be a wee bit more explicit on the point if auto-merge responds differently to "side effects" of workflows than the rest of GH - or not.

Good

That's definitely an interesting workflow, and I don't think this is functionally of the auto-merge feature, but rather an action you're triggering after the PR is merged.
There isn't a way to trigger a workflow based on the merge event, but because a merge results in a push, you could set up a workflow that triggers an action on push after the pr is merged.
However this functionality is all for actions, not auto merge. If you test it out for your specific workflow, would love to see it. This may help with your testing: https://github.community/t/trigger-workflow-only-on-pull-request-merge/17359/3
I'm going to go ahead and close this issue since the functionality is specific to a workflow related to GitHub actions and not auto merge.


Add read abstraction to the State

Description
This PR is a follow-up for #753. It adds a new abstraction for the State such that instead of having access to a low-level interface with a method Get to query for account and storage, now, we get a much richer abstraction with two methods:
GetAccount() *Account
GetStorage(...) Hash

There are two benefits of this new data layer. First, the layers that want to access the state do not have to perform extra computation on top of the raw result of Get to parse the objects. Second, it gives more flexibility to the state storage to decide how it wants to store information and not force it to adapt to the Get interface (i.e Erigon).
Changes include

[ ] Bugfix (non-breaking change that solves an issue)
[ ] Hotfix (change that solves an urgent issue, and requires immediate attention)
[x] New feature (non-breaking change that adds functionality)
[ ] Breaking change (change that is not backwards-compatible and/or changes current functionality)

Breaking changes
Please complete this section if any breaking changes have been made, otherwise delete it
Checklist

[ ] I have assigned this PR to myself
[ ] I have added at least 1 reviewer
[ ] I have added the relevant labels
[ ] I have updated the official documentation
[ ] I have added sufficient documentation in code

Testing

[ ] I have tested this code with the official test suite
[ ] I have tested this code manually

Manual tests
Please complete this section if you ran manual tests for this functionality, otherwise delete it
Documentation update
Please link the documentation update PR in this section if it's present, otherwise delete it
Additional comments
Please post additional comments in this section if you have them, otherwise delete it

I have read the CLA Document and I hereby sign the CLA


Typo in matchesRecipe for Kiln, Saw, and Turntable crafting manager

Refers to this twice instead of recipe in FCCraftingManagerKilnRecipe, FCCraftingManagerSawRecipe, and FCCraftingManagerTurntableRecipe

Fixed for next release


Linebreaks are not recognized in rendered text in a cell

Hi,
i want to create a table and have some linebreaks in a cell. But in the rendered pdf document these linebreaks are not recognized anymore.
const aHeaders = [{
	id: "Field",
	name: "Field",
	prompt: "Field",
	width: 65,
	align: "left",
	padding: 0
}, {
	id: "Entry",
	name: "Entry",
	prompt: "Entry",
	width: 150,
	align: "left",
	padding: 0
}];

let aData = [];
aData.push({
	Field: "Field 1",
	Entry: "Title: Sed fermentum, mi et tristique ullamcorper" + "\n" +
		"Priority: high" + "\n" +
		"Description: Sed fermentum, mi et tristique ullamcorper"
});

doc.table(14, 50, aData, aHeaders, {
	fontSize: 10
});

Is this a bug or am i doing something wrong?
Any help would be much appreciated.

You could try setting an array of strings with one entry per line. Not sure if this will work, though.

@HackbrettXXX i tried that but i didn't work.

Then we should probably change it such that it works ;)

I can check this one, if you don’t mind.


[BEAM-4132] Support multi-output type inference

For tagged multi-output results, the contained PCollections' element_type members are left as None. This fix recursively runs type inference on these PCollections.
See bug for examples.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

R: @robertwb, @aaltay


Update ABL.tmLanguage

Please update your package. Let me know if you still has issues.

all ok now - what will i do without a progress abl text highlighter:))


WIP fix refresh in friendly editor

Fix #53
Still need to run some testing on it.
Does it seem like a good solution to you ?

Tests done. Did not catch any issue.


Enable docdb for artifacts.pipelinerun.storage

Fixes https://github.com/tektoncd/chains/issues/869

Changes
Enables docdb as storage option for PipelineRun's via artifacts.pipelinerun.storage.
Submitter Checklist
As the author of this PR, please check off the items in this checklist:

[x] Has Docs included if any changes are user facing
[x] Has Tests included if any functionality added or changed
[x] Follows the commit message standard
[x] Meets the Tekton contributor standards (including
functionality, content, code)
[x] Release notes block below has been updated with any user facing changes (API changes, bug fixes, changes requiring upgrade notices or deprecation warnings)
[x] Release notes contains the string "action required" if the change requires additional action from users switching to the new release

Release Notes
NONE

/ok-to-test


Mod Ores

It would be quite useful to support Bob's, Angel's, and MadClown's ores, especially the infinite central parts of the ores when those are enabled.

Add a new check box setting "dead end non-vanilla resources". It will affect all resources that are "autoplaced", i.e. spawn automatically, regardless of mod.

This wont work properly in the case of madclown/angel's ores however.  This is why RSO is required for their ores to properly generate.  Without RSO they will just generate the standard ore type (actually I'm not even sure of that, I think they might not spawn at all without RSO...?), with RSO they generate the standard ore types with a percentage of the patch in the center being infinite ores that require specific fluids to mine (it's a way to keep getting a trickle of ores out of an old mining base for a high cost when the rest of it is depleted).

Infinite resources should work as long as they are autoplaced.

Except MC/Angel's infinite ores are part of the non-infinite patches and thus are not createable by the vanilla ore placer, thus they are not autoplaced, they will require either specialized handling or use RSO's semantics (RSO has built in the ability for ores to spawn with a variety of conditions, though the mod has to explicitly use RSO's hooks to handle them, which MC/Angel's do).  If it were possible to use RSO's information directly then everything should just work, but using just vanilla autoplacement mechanisms will fail.

Inspecting the code, looks like Angel's Infinite Ores has RSO as optional and provides autoplace controls without it. Madclown uses this mechanism also. With RSO enabled it doesn't do autoplace. I think it'll be best if Ribbon Maze operates the same in either case.
Simplest thing then would be to detect any infinite resource that mines the same thing as a normal resource. I would then use the richness of the base resource to control the amount of infinite resources rather than hardcode support for individual mods. Hardcoding can come later if certain mods need tweaking but it'd cover a lot of cases automatically for various mods.

With RSO enabled it doesn't do autoplace.

Figured it tested based on that, I never noticed it appear in the autoplace listings in the data table.

Simplest thing then would be to detect any infinite resource that mines the same thing as a normal resource.

At one point there was a mod that added extra output to Angel's (and others ores) based on various criteria while leaving the infinite variants 'clean', so this could potentially fail if it's a simple match, though it would definitely grab the majority!

Also to clarify there is no intention to use the autoplace mechanism to place ores. But I can read autoplace specifications to determine which resources should go in the list of spawnable resources.

The aim is minimise micromanaging mod support because life is too short ;)

Toooo true.
Could make it use extensible via mod options with sensible defaults for most mods that don't fit into the old, though I bet matching an ore and an infinite ore would be pretty easy by it's data name, I bet if the infinite version's name "contains" the non-infinite's version name would catch everything I've seen so far.

I've moved the issue to 0.6.7 but progress has been made in 0.6.6 while fixing other things. Commit 0c1a02380d3258760916dd38fe52cf1bfcd2c6d7 makes the resource generation more general; crude oil handling is no longer hardcoded for example. Resource configuration is also cached rather than recalculated on each event, which means we can afford to analyze resource prototypes at this stage now without worrying about performance impact.


Including Moderation in ExplicitResult (UploadResult).

I want to call "Explicit" method with moderation request for existing media, but I couldn't get the Moderation property in the response type.
res, err := cld.Upload.Explicit(ctx,
		uploader.ExplicitParams{
			PublicID:        publicId,
			Type:            "upload",
			ResourceType:    assetType,
			Moderation:      moderationMethod})
res.Moderation // not exists

I'd be happy if you'll extend "ExplicitResult" to include that.
Tomer

@TomerHacohen Thanks for reaching out. If you're trying to get the moderation status it is best to use the Admin API. Specifically AssetsByModeration. Please see the following for more information- https://cloudinary.com/documentation/webpurify_image_moderation_addon#image_moderation_queue
Please let us know if this answers your question

AssetsByModeration doesn't include the moderation labels, which exists in the REST API response for Explicit moderation request.
For Images, I want to get the response immediately as the REST API provides.
For videos, I actually want to verify that the process has begun and the status is pending without making another call.


Valid JSON (via JSONLint) does not parse properly.

Ultimately, I want this JSON parsed into elements for Swift, but the sample I'm providing does not parse properly for any output. I validated it with JSONLint.
Here's the QuickType link: https://app.quicktype.io?share=em04ncUZWx6GSIxiMmoU
And te sample JSON being used there:
[
  {
    "school_email"<EMAIL_ADDRESS>    "borough": "MANHATTAN",
    "primary_address_line_1": "10 East 15th Street",
    "community_board": "5",
    "latitude": "40.73653",
    "attendance_rate": "0.970000029",
    "pct_stu_safe": "0.970000029",
    "requirement3_1": "Attendance and Punctuality",
    "grade9swdapplicantsperseat1": "9",
    "directions1": "See theclintonschool.net for more information.",
    "seats9ge1": "80",
    "code1": "M64A",
    "dbn": "02M260",
    "requirement4_1": "Writing Exercise",
    "longitude": "-73.9927",
    "bus": "BM1, BM2, BM3, BM4, BxM10, BxM6, BxM7, BxM8, BxM9, M1, M101, M102, M103, M14A, M14D, M15, M15-SBS, M2, M20, M23, M3, M5, M7, M8, QM21, X1, X10, X10B, X12, X14, X17, X2, X27, X28, X37, X38, X42, X5, X63, X64, X68, X7, X9",
    "academicopportunities1": "Free college courses at neighboring universities",
    "census_tract": "52",
    "academicopportunities2": "International Travel, Special Arts Programs, Music, Internships, College Mentoring English Language Learner Programs: English as a New Language",
    "requirement5_1": "Group Interview (On-Site)",
    "school_10th_seats": "1",
    "location": "10 East 15th Street, Manhattan NY 10003 (40.736526, -73.992727)",
    "boro": "M",
    "school_accessibility_description": "1",
    "admissionspriority21": "Then to Manhattan students or residents",
    "state_code": "NY",
    "bin": "1089902",
    "school_sports": "Cross Country, Track and Field, Soccer, Flag Football, Basketball",
    "interest1": "Humanities & Interdisciplinary",
    "nta": "Hudson Yards-Chelsea-Flatiron-Union Square                                 ",
    "overview_paragraph": "Students who are prepared for college must have an education that encourages them to take risks as they produce and perform. Our college preparatory curriculum develops writers and has built a tight-knit community. Our school develops students who can think analytically and write creatively. Our arts programming builds on our 25 years of experience in visual, performing arts and music on a middle school level. We partner with New Audience and the Whitney Museum as cultural partners. We are a International Baccalaureate (IB) candidate school that offers opportunities to take college courses at neighboring universities.",
    "total_students": "376",
    "grade9gefilledflag1": "Y",
    "neighborhood": "Chelsea-Union Sq",
    "grade9geapplicants1": "1515",
    "program1": "M.S. 260 Clinton School Writers & Artists",
    "pct_stu_enough_variety": "0.899999976",
    "grade9geapplicantsperseat1": "19",
    "seats9swd1": "16",
    "extracurricular_activities": "CUNY College Now, Technology, Model UN, Student Government, School Leadership Team, Music, School Musical, National Honor Society, The Clinton Post (School Newspaper), Clinton Soup (Literary Magazine), GLSEN, Glee",
    "offer_rate1": "Â—57% of offers went to this group",
    "subway": "1, 2, 3, F, M to 14th St - 6th Ave; 4, 5, L, Q to 14th St-Union Square; 6, N, R to 23rd St",
    "bbl": "1008420034",
    "method1": "Screened",
    "requirement1_1": "Course Grades: English (87-100), Math (83-100), Social Studies (90-100), Science (88-100)",
    "ell_programs": "English as a New Language",
    "zip": "10003",
    "admissionspriority11": "Priority to continuing 8th graders",
    "building_code": "M868",
    "phone_number": "212-524-4360",
    "seats101": "YesÂ–9",
    "city": "Manhattan",
    "requirement2_1": "Standardized Test Scores: English Language Arts (2.8-4.5), Math (2.8-4.5)",
    "admissionspriority31": "Then to New York City residents",
    "grades2018": "6-11",
    "finalgrades": "6-12",
    "fax_number": "212-524-4365",
    "council_district": "2",
    "school_name": "Clinton School Writers & Artists, M.S. 260",
    "grade9swdfilledflag1": "Y",
    "website": "www.theclintonschool.net",
    "grade9swdapplicants1": "138"
  }
]

Have you tried disabling 'Detect maps' feature under the other settings?

Have you tried disabling 'Detect maps' feature under the other settings?

I'll give that a try and provide an update here.

Have you tried disabling 'Detect maps' feature under the other settings?

That fixed it. I didn't even see the "Other" option. This can be closed.


Getting Started broken links

The two first links in the Getting Started section under the tags "getting started" and "integrating your own code" are broken.

Are you referring this section? https://github.com/microsoft/MLOpsPython#getting-started
Both of these links are working fine for me. Please reopen if I am looking in the wrong place or I'm mistaken.


Revert "Archive all taps after parallel run"

Reverts adoptium/ci-jenkins-pipelines#1033
Related https://github.com/adoptium/ci-jenkins-pipelines/issues/1039
This change unfortunately breaks pipeline builds when enableTests=False as there are no .tap files.
I believe the change is not quite right as well, since you cannot assume in a JenkinsFile when you start a new Jenkins "worker" context that what is in the workspace is still there or even what you think it should be.
Given the pipeline jobs can run concurrently, if two pipeline jobs happen to complete at the same time, they will be allocated different workspace directories, eg: a made up example
openjdk21-pipeline#22 : /home/jenkins/workspace/build-scripts/openjdk21-pipeline
openjdk21-pipeline#23 : /home/jenkins/workspace/build-scripts/openjdk21-pipeline@2
So #23 might archive the .tap files from #22 !
A recent example is build https://ci.adoptium.net/job/build-scripts/job/openjdk11-pipeline/2704/artifact/
Whose top level AQAvitTapFiles.tar.gz does not contain the AIX tap files, because the "windows-x64-temurin" and "aix-ppc64-temurin" happened to complete at exactly the same time, and as a result "aix-ppc64-temurin" used workspace /home/jenkins/workspace/build-scripts/openjdk11-pipeline@2
ls -l  /home/jenkins/workspace/build-scripts/openjdk11-pipeline@2/target/aix/ppc64/temurin/AQAvitTaps
-rw-r--r-- 1 jenkins jenkins   3122 May 24 21:59 Test_openjdk11_hs_dev.functional_ppc64_aix_testList_0.tap
-rw-r--r-- 1 jenkins jenkins   4308 May 24 22:25 Test_openjdk11_hs_extended.functional_ppc64_aix_testList_0.tap
-rw-r--r-- 1 jenkins jenkins   3445 May 25 17:57 Test_openjdk11_hs_extended.openjdk_ppc64_aix_rerun.tap
-rw-r--r-- 1 jenkins jenkins  10916 May 25 13:28 Test_openjdk11_hs_extended.openjdk_ppc64_aix_testList_0.tap
-rw-r--r-- 1 jenkins jenkins   4031 May 24 22:17 Test_openjdk11_hs_extended.perf_ppc64_aix_testList_0.tap
-rw-r--r-- 1 jenkins jenkins   3381 May 24 23:18 Test_openjdk11_hs_extended.system_ppc64_aix_rerun.tap
-rw-r--r-- 1 jenkins jenkins 727597 May 24 22:55 Test_openjdk11_hs_extended.system_ppc64_aix_testList_0.tap
-rw-r--r-- 1 jenkins jenkins   3430 May 24 22:06 Test_openjdk11_hs_sanity.functional_ppc64_aix_testList_0.tap
-rw-r--r-- 1 jenkins jenkins   3078 May 25 02:03 Test_openjdk11_hs_sanity.openjdk_ppc64_aix_rerun.tap
-rw-r--r-- 1 jenkins jenkins   6141 May 25 01:50 Test_openjdk11_hs_sanity.openjdk_ppc64_aix_testList_0.tap
-rw-r--r-- 1 jenkins jenkins   3258 May 24 22:23 Test_openjdk11_hs_sanity.perf_ppc64_aix_testList_0.tap
-rw-r--r-- 1 jenkins jenkins  13898 May 25 01:43 Test_openjdk11_hs_sanity.system_ppc64_aix_testList_0.tap
-rw-r--r-- 1 jenkins jenkins  15995 May 24 21:53 Test_openjdk11_hs_special.functional_ppc64_aix_testList_0.tap
-rw-r--r-- 1 jenkins jenkins  17899 May 24 21:45 Test_openjdk11_hs_special.functional_ppc64_aix_testList_1.tap
-rw-r--r-- 1 jenkins jenkins   3666 May 24 22:04 Test_openjdk11_hs_special.openjdk_ppc64_aix_testList_0.tap

In case this close https://github.com/adoptium/ci-jenkins-pipelines/issues/1039, I have updated the description from fix  https://github.com/adoptium/ci-jenkins-pipelines/issues/1039 to related  https://github.com/adoptium/ci-jenkins-pipelines/issues/1039


Unable to get orientation sensor work in Navigation mode

Hi TrekDev,
I'm trying to make the navigation arrow (in navigation mode) work with the orientation sensor. The route, directions and navigation are OK but the navigation arrow don't rotate. I tried different settings without success.
The orientation sensor is working great in route calculation, giving an accurate information using the orientation sensor.
Thank you for your time.
RA

Hi RA,
Is this with regards to the Sdk Demo?
-TD

Hello,
I'm using Sdk Demo.
RA

Hi RA,
Is this a bug with the current SDK demo or is this a modification you would like to add? I'm happy to help in both cases, just wondering what the context is.
-TD

Hello TrekDev,
Tbh, I don't know if it's a bug or "working as intended". I think that the navigation should contemplate the use of the orientation sensor by default (search the documentation and tried different options without any success).
On the apk given in Android SDK I can't tell if it's being use or not because it's on simulation mode.
This app I'm developing is for offline-pedestrian use, so this is a must have feature.
Thank you very much for your quick response!
RA

Ah ok. To be honest I have little experience with the navigation feature of the SDK, but I'm sure it could be done.
I'll start up a demo project. Can you post some code with what you have tried so far?

Hi RA,
After a bit of searching this might be more difficult than I thought!
I created a demo project and used navigation for a short drive around my home-town. I'm pretty sure the rotation of the navigation icon is determined by the expected route you are taking and your last known positions over time. I've read through the documentation and there is no mention of being able to override this behaviour, or even change the navigation icon drawable!
I then tried another project without using the navigation mode; using only markers and polylines Unfortunately, it seems at this point you can't rotate map markers nor indicate direction on polylines. You could probably use  _mapView.ReportNewHeading(e.Values[0]); for the default placement icon, and add a polyline from a calculated route id via
var polyLine = new SKPolyline();
polyLine.Nodes = SKRouteManager.Instance.GetCoordinatesForRoute(id);
_mapView.AddPolyline(polyLine);

but unfortunately you would lose out on the niceties of the navigation mode.
Keep in mind I haven't spent that long researching this, but at this point I don't think this is a limitation of the C# bindings, but rather the Skobbler SDK itself, unfortunately. However, I might be completely wrong, so I would recommend putting up a question on StackOverflow, with an skmaps tag, or trying to get in touch with the developers at Skobbler.
As mentioned here, v2.4 of the Skobbler SDK is expected any day now. Hopefully this functionality will be included and I can update my bindings to let you guys use it.
-TD.

Hello TrekDev,
I did a lot of research about this option in the documentation and it seems to be a limitation indeed.
In this project, I just need a real time location with heading in the map for now (I'll use the rerouting to get the updates on time and distance left, giving a somewhat "navigation mode"). I'll keep an eye on the next SDK and your work for future updates!
Thank you very much for all your time and work!
KR,
RA

Sorry I couldn't be of more help.
The good news is I've been in contact with the Skobbler team. v2.4 should be up this week and I should have the new bindings and SDK demo up over the weekend. Hopefully what you need will be in there.
I'll close this issue, but feel free to open another should you have any more problems with these, or the new bindings.
-TD

Hi RA,
Just to follow up with the SDK update. v2.4.0 has a lot of new code so I didn't manage to get it up to a point where I would be happy merging it back into the master branch, however, the actual SDK bindings should be OK. Most of the SDKDemo features are working but the new SDKTools library (which provides some helper classes/methods) needs a lot more work.
If you're feeling adventurous you can check them out on the develop branch and see if what you want is there.
-TD
PS. If you do decide to try out the develop branch, could you raise any issues you find? It would help me out a bunch since I can spend my time fixing them instead of finding them. Thanks :)


[FLOC-1726] Flocker-deploy no longer does SSH

Thanks.  Great all around.  Please merge once buildbot is green (or at least not red in a way that suggests this has made things worse, particularly the acceptance tests).


Add non-amd64 linux architectures

Try to cross-compile the package for ARM and PowerPC processors. Bump build number

Checklist

[ ] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin, please rerender

Hi! I reckon it would be a good idea to build this package for non-amd64 architectures, too. In particular, ARM64 seems to be ever more popular with cloud providers, and snakemake would be nice to have on those machines. I also added the ppc64 architecture, because that might be useful to someone, too.
The build seems to be passing with cross-compilation, so as far as I see, no major changes are needed to make it work. Please let me know what you think.

@tacaswell, @melund, please let me know if it looks okay to you or I should make some changes

Looks good 👍


Create example and document windows support

When we're ready we should create an example demonstrating Windows support. examples/platforms seems like a natural place to put the example with either an inline README or Wiki page for documentation. I'd personally like to see it running on Windows IoT Core and an RPi3 if that's technically possible.
@nibanks is that something you're planning on doing?

I would definitely like to see that demo as well! Right now I have a lot of Windows related code still in my own branches, currently blocked on a number of PR I have outstanding (and a few queued up waiting for those as well).
The code I have creates a Windows driver that will run OpenThread in Windows and talk to a HW device's Radio interface. I have it working a virtual device, but haven't hooked it up to actual HW yet.
I also plan on supporting the model of OpenThread running on the device as well, using the Spinel interface to talk to it, but that work has yet to be completed.
Bottom line, we are still a little ways to go before we can have a real demo set up.

With custom Windows Iot Core images (for the FTDI drivers) I have successfully got everything working with OpenThread running on the CC2538 device, connected to both a Raspberry Pi 2 (ARM) and MinnowBoard MAX (x64).
I'm working out the process to get my changes prebuilt into the IoT Core images, but it might take several weeks or months for it to be in the public images. Once I get all my PRs merged, I will update the documentation.

Great to hear, awesome work, @nibanks!

Awesome! Out of curiosity, are there any usb dongles that you know of that are supported by Windows Iot core with the in the in-box Usbser.sys? Cursory research suggests that one could hook up MCP2200 to the serial to circumvent the FTDI.

The Windows IoT Core image already has the FTDI drivers on it, but I just had to update the INF files to add Texas Instrument's PIDs to it. I know there are a number of other supported devices already. I found this Serial UART sample that recommends this device (down in the 'Using USB-to-TTL Adapter' section) for the sample.

I have added the initial Wiki page for OpenThread on Windows and just went through the steps on my MinnowBoard MAX connected to a TI CC2538. With these instructions, anyone with a CC2538 already setup and installed should be able to get the device working on any Windows 10 PC.
Though all the code isn't merged yet, I think we can probably call this Issue resolved.


ocula crash with factorissimo 2

Mod source
Factorio Mod Portal
Which mod are you having an issue with?

[X] pyalienlife
[ ] pyalternativeenergy
[ ] pycoalprocessing
[ ] pyfusionenergy
[ ] pyhightech
[ ] pyindustry
[ ] pypetroleumhandling
[ ] pypostprocessing
[ ] pyrawores

Operating system

=Windows 10

What kind of issue is this?

[ ] Compatibility
[ ] Locale (names, descriptions, unknown keys)
[ ] Graphical
[ ] Crash
[ ] Progression
[ ] Balance
[ ] Pypostprocessing failure
[ ] Other

What is the problem?
https://mods.factorio.com/mod/pyalienlife/discussion/653a3b0ad30331eefba96ff9
Steps to reproduce
No response
Additional context
No response
Log file
No response

Fixed


fix(tag) - Refactor reset tag padding to consider border

Fixes https://github.com/international-labour-organization/designsystem/issues/780
Notes :-

Currently the reset button looks to be off when compared to the other buttons because it has a border.

Fix :-

Consider the border width when setting the reset button inner padding so that it maintains consistency with other buttons.

Hey @Shashika6 this looks good to me, is it ready to be merged?

Yes @justintemps its ready


JK: bugfix missing icons in WinUI

I found a solution for the missing icons in WinUI-App

just add fileextension to font-file

Perfect, thankx a lot, I§ll merge it now.


Can't open Storage Explorer after reloading it with 'Use app proxy settings' is configured

Storage Explorer Version: 1.21.0-dev
Build Number: 20210723.3
Branch: main
Platform/OS: Windows 10
Architecture: ia32
How Found: Exploratory testing
Regression From: Previous release(1.20.1)
Steps to Reproduce

Launch Storage Explorer.
Download Fiddler from https://telerik.com/download/fiddler.
Configure Fiddler from [Step 3-16] 'https://docs.microsoft.com/en-us/azure/storage/common/storage-explorer-troubleshooting?tabs=Windows%2C2004#network-logs'.
Go to 'Settings' -> Select "Use app proxy settings", and set the URL to http://localhost and the port to 8888.
Reload Storage Explorer.
Check whether succeed to reload.

Expected Experience
Succeed to reload.
Actual Experience
Storage Explorer can't be opened.
Additional Context

There is only one cert in the Path 'C:\Users\usename\AppData\Roaming\StorageExplorer\certs'.
Try to open Storage Explorer from cmd. Show the 'Warning: Accessing non-existent property 'ErrorKind' of module exports inside circular dependency (Use StorageExplorer --trace-warnings ... to show where the warning was created)'.

@v-xianya Can you do what the warning says and run StorageExplorer --trace-warnings to see what this prints out?

Hi @craxal I just found an easier way to repro this issue😥 (build #20210727.2). Below are the steps:

Launch Storage Explorer.
Open 'Settings -> Application -> Proxy' -> Select 'Use app proxy settings'. (Keep the default Hostname empty and Port: 80)
Close Storage Explorer -> Try to open Storage Explorer.

Actual: Storage Explorer can't be opened.
Then try to open Storage Explorer from cmd by running command 'StorageExplorer.exe'.

Run command 'StorageExplorer --trace-warnings ...'. the results as below. It is the same as the above screenshot.

Here is content in the 2021-07-26_225424_main.log:
[2021-07-27T05:54:24.100Z] ( main) <INFO> Startup app state:  {   lastWindowState: { rect: { x: 0, y: 0, width: 1000, height: 768 }, maximized: true },   disableGpu: false,   dialogAutoResponse: {} }

@v-xianya Um...hostname shouldn't be empty. What happens if you open the settings file and enter something for the hostname (doesn't have to be a real proxy)?
"application.proxy.hostname": "a"

Hi @craxal we added  "application.proxy.hostname": "a" to settings file. This issue still reproduces.
In addition, we also tried the below steps.  this issue still reproduces.

Without download Fiddler
Launch Storage Explorer with 'Do not use proxy'.
Switch to 'Use app proxy setting' [Protocol: https, Input "a" to Hostname, Port: 80]
Closed Storage Explorer.
Then try to start Storage Explore -> Can't start Storage Explorer.


unpoller: 2.3.1 -> 2.4.0

Description of changes
https://github.com/unpoller/unpoller/releases/tag/v2.4.0

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)
[x] 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

[x] 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
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.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.

Result of nixpkgs-review pr 205246 run on x86_64-linux 1

1 package marked as broken and skipped:

unifi-poller

1 package built:

unpoller

The passthru tests fail due to DNS. lets retry that.
@ofborg test unpoller

Strange, it timed out on adding default route (or after that?)
unpoller # [    9.177283] systemd[1]: Reached target Multi-User System.
unpoller # [    9.178628] systemd[1]: Startup finished in 2.582s (kernel) + 6.596s (userspace) = 9.178s.
unpoller # [    9.216624] dhcpcd[677]: eth0: Router Advertisement from fe80::2
unpoller # [    9.217400] dhcpcd[677]: eth0: adding address fec0::5054:ff:fe12:3456/64
unpoller # [    9.218863] dhcpcd[677]: eth0: adding route to fec0::/64
unpoller # [    9.219498] dhcpcd[677]: eth0: adding default route via fe80::2
unpoller # [  907.303128] systemd[1]: Starting Cleanup of Temporary Directories...
unpoller # [  907.328777] systemd[1]: systemd-tmpfiles-clean.service: Deactivated successfully.
unpoller # [  907.329650] systemd[1]: Finished Cleanup of Temporary Directories.
unpoller # [  907.331186] systemd[1]: run-credentials-systemd\x2dtmpfiles\x2dclean.service.mount: Deactivated successfully.

Yeah, seems like behavior changed a bit in a new version, and it's not listening on the port if no controllers were available. I'll dig deeper and fix the test.


Add SmartStoreNET

You already have provided this in the trading category. I think may be we shouldn't repeat this.

Oops.
My last PR was incorrect. I already sent another PR to fix it.
The correct name for project in Trading category is StockSharp.
This PR adds an actual SmartStoreNET project.


feat(rest-api-client): Support App Action Settings API

Why

Action Settings API was released in 2021 Mar update!
https://kintone.cybozu.co.jp/update/main/2021-03.html#point5

Get Action Settings (GET /k/v1/app/actions.json)

https://developer.kintone.io/hc/en-us/articles/900004690626

Update Action Settings (PUT /k/v1/preview/app/actions.json)

https://developer.kintone.io/hc/en-us/articles/900005635363

What

Get Action Settings

[x] implement getAppActions method in AppClient
[x] add tests
[x] add example scripts
[x] write documents

Update Action Settings

[x] implement updateAppActions method in AppClient
[x] add tests
[x] add example scripts
[x] write documents

How to test

$ yarn build
$ cd examples/rest-api-client-demo

# test GET /k/v1/app/actions.json
$ yarn run-script app getAppActions
# test GET /k/v1/preview/app/actions.json
$ yarn run-script app getAppActionsPreview
# test PUT /k/v1/preview/app/actions.json
$ yarn run-script app updateAppActions

Checklist

[x] Read CONTRIBUTING.md
[x] Updated documentation if it is required.
[x] Added tests if it is required.
[x] Passed yarn lint and yarn test on the root directory.

@zaki-yama
Thank you for the review!
I commited some fixes about it.

👍 👍 👍


Make Sass variables overridable

Changing the colors used in this library is somewhat painful. Either you have to copy over the .scss files and change variables.scss yourself or you have to override the colors with the same CSS rules. Instead, this PR makes the variables default, allowing you to import the stylesheet and set the colors easily:
$datepicker__selected-color: #990c41;

@import "node_modules/react-datepicker/src/stylesheets/datepicker";

...

Because the variable names are relatively simple and could conflict with existing variables, I went ahead and modified the variables to add a datepicker__ prefix, as there was already a variable called datepicker__margin. Let me know if you would like for me to revert that change.

Codecov Report

Merging #801 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #801   +/-   ##
=======================================
  Coverage   92.34%   92.34%
=======================================
  Files          13       13
  Lines         640      640
  Branches      122      122
=======================================
  Hits          591      591
  Misses          8        8
  Partials       41       41

Continue to review full report at Codecov.

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

Thanks!

Thanks. I had trouble with override scss. This issue helped me the most.


Write a Java program to find smallest number in an array

Description
Write a Java program to find smallest number in an array
Input  : [1, 2, 3, 4, 5]
Output : 1

How to contribute

Save the solution in program/FindSmallestNumberInAnArray.java file
Add FindSmallestNumberInAnArray.java file in find-smallest-number-in-an-array folder

!assign


Make custom tasks / notes editable

Currently need to delete + remake custom task and drag into place. Would be better if there was an edit option

https://github.com/KennethLuczko/myroutebuddy/pull/25


CreateNewBlock doesn't check sighash or new sigops in 0.12

CreateNewBlock still needs some work in the 0.12 branch to enforce the sighash limit and the properly-counted sigops limit. It's probably impossible to violate the sighash limit without specially-crafted attack transactions that bypass AcceptToMemoryPool (i.e. submitted by RPC), but it should still be checked for. The current code only tests for that in the TestBlockValidity check at the end; if that is violated, then the node will crash entirely, which isn't exactly graceful.
The approach to this that makes the most sense to me is to add two new properties to the CTxMempoolEntry class for bytes hashed and for true sigops, and use those precomputed values during CreateNewBlock to make sure that they are not exceeded by a transaction. This approach requires that every code path by which a transaction can enter the mempool be modified in order to ensure that bytes hashed and true sigops are computed, which is a task that I began but did not finish.
I started those changes here: https://github.com/jtoomim/bitcoin/commit/6759614e7a3e5742483558353a2d9f84d3b1468f

This version includes significant differences written by jtoomim
compared to the commit made for 0.11.2 by Gavin due to the massive
changes made to CreateNewBlock in Core 0.12. Since transactions are
no longer validated inside CreateNewBlock in 0.12, the bytes hashed
and sigops for each transaction cannot be calculated inside
CreateNewBlock. Instead, they must be precomputed and stored inside
the CTxMempoolEntry object. This commit is a partial implementation of
that process. It records the sigops and sighash when transactions enter
the mempool through AcceptToMemoryPool. However, it does not yet
do so for transactions that enter via reorgs or via the wallet.

In addition, the changes made in this code breaks the
miner_tests.cpp stuff, since that code expects an exception to
be raised, but this code will simply refuse to include transactions
that would exceed the sigops/sighash limit. This behavior is okay,
but it does mean that the unit tests need to be rewritten to
check for whether the naughty transaction was included in the block
or not.

The relevant changes are in AcceptToMemoryPool (main.cpp), CreateNewBlock (miner.cpp), and everything in txmempool.h and txmempool.cpp.
This code was based on a slightly different 0.12 branch than the one that is currently in Classic's repository, since I did most of this work before there was a 0.12 branch in Classic's repo. It might not merge well.

There is a commit under review for some time already which fixes this. Mostly waiting for Gavin to come back from conferences :)

I'll close this, since we already have a PR for some days. Please check the PRs next time before opening bugreports.

That PR is https://github.com/bitcoinclassic/bitcoinclassic/pull/108.


Use new textual-proper plot widget

Just came out: https://textual.textualize.io/blog/2023/10/04/announcing-textual-plotext/

Note that it's actually a different repository: https://github.com/Textualize/textual-plotext

This got merged: https://github.com/vkottler/conntextual/pull/41.


python package version

Hi,
I encountered some version conflicts with Python packages while using your code. Could you please provide the versions of the packages used in your environment?
Thanks!

For the transformers >=4.40.0, there will be a ValueError: 'olmo' is already used by a Transformers config, pick another name.
Also, for the latest versions of NumPy and pandas, there can also be some package conflicts.

Hi @JasonH0810  - I used Python 3.9.7 in my setup, with torch==2.0.1 and transformers==4.39.1, but other people that have used the repository have experimented with different (at least later) versions and seem to be able to run our scripts.

there can also be some package conflicts.

Did you face any in particular?


Add accessibility link in the footer

Type
Enhancements
Problem to be solved / User Story
We need to make Accessibility initiative more visible and allow users to get more information about our accessibility programmes.

We'll look at this as part of a footer redesign


Proposal: support multiple Python versions (venv) for a same project

Background
Currently pipenv only works for one single Python version within one project.
For example, when creating virtualenv using command:
pipenv --python 3.6

Pipfile will contain:
[requires]

python_version = "3.6"

After pipenv install, Pipfile.lock will contain:
    "_meta": {
        "host-environment-markers": {
            "implementation_name": "cpython",
            "implementation_version": "3.6.3",
            "os_name": "posix",
            "platform_machine": "x86_64",
            "platform_python_implementation": "CPython",
            "platform_release": "16.7.0",
            "platform_system": "Darwin",
            "platform_version": "Darwin Kernel Version 16.7.0: Mon Nov 13 21:56:25 PST 2017; root:xnu-3789.72.11~1/RELEASE_X86_64",
            "python_full_version": "3.6.3",
            "python_version": "3.6",
            "sys_platform": "darwin"
        },
        "requires": {
            "python_version": "3.6"
        },
        ...,

which restricts the Python version to be 3.6.3, then, every time this project is cloned and run pipenv install, the virtualenv will be automatically created using Python 3.6.3. If the user wants to switch Python to another version, he/she would run pipenv --python 2.7 install, and the following output will occur:
Virtualenv already exists!
Removing existing virtualenv…
Creating a virtualenv for this project…
Using /usr/local/bin/python2.7 to create virtualenv…
...
Warning: Your Pipfile requires python_version 3.6, but you are using 2.7.13
  $ pipenv check will surely fail.
Warning: Your Pipfile requires python_version 3.6, but you are using 2.7.13
  $ pipenv check will surely fail.

Note that Pipfile.lock will not be changed through the process above.
In another situation, if [requires] is removed from Pipfile, the result of pipenv --python 2.7 install will be a little bit different: Pipfile.lock will be changed to 2.7.13
This is neither explicit, nor friendly to the user, because:

When [requires] exists, the result of install cmd is not recorded, user doesn't know which file is used to specify the dependencies (Pipfile or Pipfile.lock?), and what version they are installed as.
When [requires] not exists, Pipfile.lock is changed every time --python <version> is different, makes a lot of hassle for tracking this file in git.

In summary, Pipenv has these behaviors:

Pipenv determines virtualenv (dir) name by full path of the Pipfile, as long as the project path not change, the virtualenv (dir) name will always be the same.
Pipfile.lock can only contain one Python version (environment markers) at a time.
Pipfile.lock's Python version may or may not change when running install cmd according to Pipfile's [requires] definition

Proposal
The best way to solve problems above is to make Pipenv aware to Python version, possible changes are listed as below:

Pipenv determines virtualenv dir name with python version. If currently a virtualenv name is calculated as project-Tl8cuoWa, using new algorithm it should be project-Tl8cuoWa-3.6.3.
Lock file should be environment bound, files should be put under Pipfile.lock/<version>. For example, if run --python 3.6 install, new lock file will be created as Pipfile.lock/3.6.3, and install without specified --python <version> will be rejected as parameters missing.
Pipfile requires should be a list ([[requires]]), allowing to set multiple Python versions (this could be ignored because requires is optional)
--python <version> should only let Pipenv select which virtualenv should be used as target, not rm and re-created entirely.
Add ensure command, used for ensure target virtualenv's dependencies are installed as its lock file defined.

So the workflow will be like:

When initialize a new project, use pipenv --python <version> to create Pipfile, with one  item in [[requires]]. This will not rm & re-create existing virtualenv.
When adding dependencies, use pipenv --python <version> install <dep> to install. This will not rm & re-create existing virtualenv.
When cloning and preparing new environment, use pipenv --python <version> ensure to install dependencies and ensure consistency with lock file. This will not rm & re-create existing virtualenv.
When running comand, use pipenv --python <version> run <cmd>. This will not rm & re-create existing virtualenv.

References
The following issues point out related problems this fork wants to solve:

https://github.com/pypa/pipenv/issues/1071
https://github.com/pypa/pipenv/issues/368
https://github.com/pypa/pipenv/issues/1050

@gsemet the problem of this issue, or the shortcoming of pipenv, has already been resolved by poetry (the word "resolve" may not be accurate, since poetry is designed to work with multiple python major versions at the very beginning).
After a short period of trial with poetry, I can confirm this is what a dependency management tool for python should be. The design philosophy is sane, the spec is clear, it tries to do one thing, and does it pretty well so far.
Actually, after I've created this issue with my thoughts been expressed, I found it would be very difficult to solve them thoroughly in pipenv. Binding virtual environment with dependency management is not a good decision (just take a look at import this). There are fundamental problems in pipenv's design concept, it's not the tool aimed purely at managing dependencies, it's just a collection of tools and workflows that help you working with python projects, in the way that the author think is nice (which is not to everyone and not even to a slightly formal use case). So I decided to give up enhancing pipenv, but think again on what the community actually needs, and wait for the new comer.
Now poetry has finally came, it is indeed what I need, maybe not the best, but the purpose is right enough to go on, and the quality is good enough to start using it today.


ARROW-13454: [C++][Docs] Tables vs Record Batches

Adds a little more explanation of the difference between tables and record batches, as well as a diagram representation.

Not sure if it's a significant thing, but a Table can easily modify schema metadata whereas a recordbatch cannot (I'm also not sure if there's a reason RecordBatch doesn't have ReplaceSchemaMetadata).

Not sure if it's a significant thing, but a Table can easily modify schema metadata whereas a recordbatch cannot (I'm also not sure if there's a reason RecordBatch doesn't have ReplaceSchemaMetadata).

I think that is just a gap in utility APIs.  ReplaceSchemaMetadata isn't really modifying the table.  It's creating a brand new table with the new metadata.  You should be able to do the same thing with record batches.


[PE-D][Tester D] Discrepancy between UG and app for editing

Description
UG states edit-i-role i/INDEX d/DESCRIPTION as the input for the Editing an internship task command. However, on the app, the edit-i-role i/INDEX can be paired with other field tags to edit other fields. Perhaps indicating the optional fields in the UG will be more accurate.
Steps to reproduce

Add internship role
Call edit-i-role i/1 p/200

Expected outcome

Error message

Actual outcome

Success message
Internship role is edited

Screenshot

Labels: type.DocumentationBug severity.Low
original: tllshan/ped#9

I think this guy forget to clear cache, but the purpose and maybe description needs to be updated


[Deprecations] Tracker for the deprecations that has to be removed in v2.0.0

☂ Umbrella issue to track the deprecations done in 1.x version that has to be removed in v2.0.0 or later

CountryFlagsProps
This is a typo and the correct spelling should be CountryFlagProps.
Deprecated in:

Version: v1.14.0
PR: https://github.com/wso2/oxygen-ui/pull/281
Author: @brionmario

To be removed in

Version: v2.0.0

Checklist

[ ] Deprecation notice added as a TSDoc comment
[ ] Marked as deprecated in the upcoming release preparation umbrella issue

CountryFlagsProps
This is a typo and the correct spelling should be CountryFlagProps.
Deprecated in:

Version: v1.14.0
PR: https://github.com/wso2/oxygen-ui/pull/281
Author: @brionmario

To be removed in

Version: v2.0.0

Checklist

[ ] Deprecation notice added as a TSDoc comment
[ ] Marked as deprecated in the upcoming release preparation umbrella issue

enums in prop types
We should not use enums in prop types as highlighted in https://github.com/wso2/oxygen-ui/issues/286.
Deprecated in:

Version: v1.14.0
PR: https://github.com/wso2/oxygen-ui/pull/282
Author: @brionmario

To be removed in

Version: v2.0.0

Checklist

[ ] Deprecation notice added as a TSDoc comment
[ ] Marked as deprecated in the upcoming release preparation umbrella issue


Gsoc2024 post

hi @unkcpz, @GeigerJ2
Here's the post about GSOC 2024. Would you add anything extra?
Also, in principle, the project ended at the end of August. We could possibly backdate this to mid September, but i guess it's better to just put today's date.

thanks @unkcpz