GitHub Enterprise compatibility?

I've got GHE compatibility working in a fork I created, and was wondering if that is something you'd be open to accepting a PR for? Or is that something that you'd expect developers to fork-and-maintain their own version?
The configuration variables I had to override were:

host for GHE domain
pathPrefix for the api root path (typically api/v3)

And probably these too, but haven't confirmed yet:

username to replace zeit reference
clientId for custom oauth integration
authUrl for customizing the oauth server endpoint

Let me know what you think! I don't mind keeping a fork but would like to help contribute if that's something you eventually want.

Since it manages Github releases github enterprise support would be nice 👍
cc @leo

If it's the same technique and just different URLs? Why not!

Is there any progress on this issue?


Cannot Upload to Mapbox : "An upload is already active"

Hello,
Since one hour when I want to export to Mapbox I have this error : "An upload is already active". Can't understand why. Nothing big to upload. I tried to restart Mapbox and computer, nothing changed. Is there a way to watch mapbox currents tasks ?
The only google response to this error is a tweet : https://twitter.com/hiemil/statuses/556084872562085888

Same here.
Account<EMAIL_ADDRESS>OSX 10.10.2
Mapbox Studio Version 0.2.7

Finaly, some hours later, it worked.

This bug is still present as of 0.3.3.

Same issue here.
No uploads for the past week.
Querying the API says that all upload progress are at "1" (i.e. 100% complete).
Yet, from the API and from the web interface cannot upload/replace a tileset.
Help!


Build failure in msys2/clang64 environment

ruby - ruby 3.0.3p157 (2021-11-24 revision 3fb7d2cadc) [x64-mingw32]
clang - clang version 13.0.0 Target: x86_64-w64-windows-gnu
mruby - 3.0.0
Build error:

F:/mruby/mrbgems/mruby-compiler/core/y.tab.c:70:9: warning: missing terminating '"' character [-Winvalid-pp-token]
#line 7 "mrbgems/mruby-compiler/core/parse.y
        ^
F:/mruby/mrbgems/mruby-compiler/core/y.tab.c:70:9: error: invalid filename for #line directive
F:/mruby/mrbgems/mruby-compiler/core/y.tab.c:1497:12: warning: missing terminating '"' character [-Winvalid-pp-token]
#line 1498 "mrbgems/mruby-compiler/core/y.tab.c
           ^
F:/mruby/mrbgems/mruby-compiler/core/y.tab.c:1497:12: error: invalid filename for #line directive
F:/mruby/mrbgems/mruby-compiler/core/y.tab.c:1666:12: warning: missing terminating '"' character [-Winvalid-pp-token]
#line 1439 "mrbgems/mruby-compiler/core/parse.y
           ^
F:/mruby/mrbgems/mruby-compiler/core/y.tab.c:1666:12: error: invalid filename for #line directive

My workaround:

--- a/mrbgems/mruby-compiler/mrbgem.rake
+++ b/mrbgems/mruby-compiler/mrbgem.rake
@@ -29,7 +29,7 @@

   def replace_line_directive(path)
     content = File.read(path).gsub(%r{
-      ^\#line\s+\d+\s+"\K.*$ |                  # #line directive
+      ^\#line\s+\d+\s+"\K.*$" |                 # #line directive
       ^/\*\s+Command-line:.*\s\K\S+(?=\s+\*/$)  # header comment in lex.def
     }x, &:relative_path)
     File.write(path, content)

I am not sure if that actually fix the issue. How can I troubleshoot the issue?

Just curious. What was the issue and how was it fixed?

The original intention was to retrieve the file name from #line 1234 "/home/matz/mruby/mrbgems/mruby-compiler/core/parse.y".
But there was a bug in regexp pattern.


Fix yaml load warning

When we call yaml.load a warning message is displayed :
chaostoolkit-kubernetes\chaosk8s\service\actions.py:28: YAMLLoadWarning: calling yaml.load() without Loader=... is deprecated, as the default Loader is unsafe. Please read https://msg.pyyaml.org/load for full details.
service = yaml.load(f.read())
This PR is here to fix it

Nicely spotted.
Could we use the shortcut instead?
yaml.save_load(...)

Nicely spotted.
Could we use the shortcut instead?
yaml.safe_load(...)

I didn't knew this shortcut.
That's done

Codecov Report

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

@@           Coverage Diff           @@
##           master      #75   +/-   ##
=======================================
  Coverage   82.38%   82.38%
=======================================
  Files           6        6
  Lines         420      420
=======================================
  Hits          346      346
  Misses         74       74

Impacted Files
Coverage Δ

chaosk8s/statefulset/actions.py
95% <100%> (ø)
:arrow_up:

chaosk8s/service/actions.py
100% <100%> (ø)
:arrow_up:

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 4be3a9e...0a4402c. Read the comment docs.


addon doesnt work with Chromium Embedded Framework

Describe the bug
since they re-enabled Chromium Embedded Framework i can only run the addon with -usecoherent
Screenshots

System configuration (please fill in):

OS: Windows 10
GPU: AMD Ryzen 5 5600G with Radeon Graphics (iGPU) 3.90 GHz
No other addons

Additional context
gw2radial.log is empty
gw2al_log.txt
[INFO] core | Addon loader v1.0 (v1.1 r33) initialized
[INFO] core | Loading addons from "./addons" path
[INFO] core | Loading d3d9_wrapper
[INFO] core | Loaded d3d9_wrapper v2.0 r21
[INFO] core | Loading gw2radial
[INFO] core | Loaded gw2radial v2.2 r1
[INFO] core | Done loading addons
[INFO] d3d9_wrapper | Loading system d3d11

debug.log
[0314/133208.633:WARNING:spdy_session.cc(3541)] Received HEADERS for invalid stream 3
[0314/133436.707:ERROR:gpu_init.cc(486)] Passthrough is not supported, GL is disabled, ANGLE is
[0419/013115.605:WARNING:spdy_session.cc(3541)] Received HEADERS for invalid stream 3
[0419/013228.731:ERROR:gpu_init.cc(486)] Passthrough is not supported, GL is disabled, ANGLE is
[0419/015807.127:WARNING:spdy_session.cc(3541)] Received HEADERS for invalid stream 3
[0419/015934.216:ERROR:gpu_init.cc(486)] Passthrough is not supported, GL is disabled, ANGLE is
[0419/020331.213:WARNING:spdy_session.cc(3541)] Received HEADERS for invalid stream 3
[0419/020519.150:ERROR:gpu_init.cc(486)] Passthrough is not supported, GL is disabled, ANGLE is
[0419/111457.028:WARNING:spdy_session.cc(3541)] Received HEADERS for invalid stream 3
[0419/111649.231:ERROR:gpu_init.cc(486)] Passthrough is not supported, GL is disabled, ANGLE is
[0419/112936.347:WARNING:dns_config_service_win.cc(584)] Failed to read DnsConfig.
[0419/112936.352:WARNING:dns_config_service_win.cc(584)] Failed to read DnsConfig.
[0419/113029.794:WARNING:dns_config_service_win.cc(584)] Failed to read DnsConfig.
[0419/113029.803:WARNING:dns_config_service_win.cc(584)] Failed to read DnsConfig.
[0419/113035.965:WARNING:dns_config_service_win.cc(584)] Failed to read DnsConfig.
[0419/113035.988:WARNING:dns_config_service_win.cc(584)] Failed to read DnsConfig.
[0419/114533.690:WARNING:spdy_session.cc(3541)] Received HEADERS for invalid stream 3
[0419/114721.305:ERROR:gpu_init.cc(486)] Passthrough is not supported, GL is disabled, ANGLE is
[0419/115215.129:WARNING:spdy_session.cc(3541)] Received HEADERS for invalid stream 3
[0419/115408.063:ERROR:gpu_init.cc(486)] Passthrough is not supported, GL is disabled, ANGLE is
[0419/115559.458:WARNING:spdy_session.cc(3541)] Received HEADERS for invalid stream 3
[0419/115559.533:WARNING:spdy_session.cc(3541)] Received HEADERS for invalid stream 11
[0419/115559.536:WARNING:spdy_session.cc(3541)] Received HEADERS for invalid stream 9
[0419/115748.064:ERROR:gpu_init.cc(486)] Passthrough is not supported, GL is disabled, ANGLE is

This is caused by a changed loading order when using CEF.
How to fix:
Copy the dxgi.dll from the GW2 dir into /bin64/cef.

awesome tysm :D


add version task for php constant in functions.php.

@robneu i think this should cover it. its a variation of one i was using but i've made like 50 commits in the past hour so if you could verify this works for you.

Looks like it's working on PARENT and CHILD versions. Thanks man!


Error reporting issue

monaco-editor version: HEAD
Browser: Chrome (any)

I'm typing the following snippet of code in monaco, expecting an error
declare interface A {}

declare interface B {
	test(a: A)
}

let test: B

test.test(1)

but the editor doesn't show any error. I can't figure out why and if I'm doing something wrong..
This is the source code of the page
	require.config({ paths: { 'vs': 'node_modules/monaco-editor/release/min/vs' }});

	require(['vs/editor/editor.main'], function() {
		monaco.languages.typescript.typescriptDefaults.setDiagnosticsOptions({
				noSemanticValidation: false,
				noSyntaxValidation: false
		});

		window.editor = monaco.editor.create(document.getElementById('container'), {
			value: [
				///source code as above
			].join('\n'),
			language: 'typescript'
		});
	});

Note that the hint in the autocompletion is correct..

I discovered that this "problem" (I'm not sure anymore) is reproducible also in other environments.
A workaround is to add a variable/function to "A". This solves the issue.
Should I open an issue in typescript or is this behaviour intended?

I think this is how TypeScript works. TypeScript uses structural typing and by declaring interface A with no members it means that there are no constraints from something to be of type A. Therefore, anything is of type A, including a number, such as 1.


RLS: 0.1.5

@conda-forge-admin, please rerender

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.

Thanks @TomAugspurger !


[stable/prometheus-mysql-exporter] Add ServiceMonitor metricRelabeling

Signed-off-by: Calvin Bui<EMAIL_ADDRESS>What this PR does / why we need it:
Adds the ServiceMonitor metricRelabelings key as documented in the Prometheus Operator API.
Used for adding, dropping or renaming labels at ingestion time, or to drop entire metrics that are not useful.
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

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

/assign @monotek

/ok-to-test


Connect Failed! (-1) issue using BasicPubSub Example

Hello, I am trying to connect my YUN (with OpenWrt) to AWS IoT using this SDK. I have followed every step carefully, when I try using BasicPubSub Example I face an issue of "Connect failed" with code "-1".
One thing that is in my notice is when i used:
"easy_install pip &
pip install AWSIoTPythonSDK==1.0.0"  , I received few warnings include missing SNI and insecure platform. (I just don't know that they matter or not)
I am very new to this stuff and with very basic knowledge, Please Help!!
I have followed this issue: #25
but still without any way out.

@liuszeng please help me in this issue.

Hi @mumairkhugyani ,
Thank you very much for your interest in AWS IoT Arduino Yun SDK!
"Connect failed: -1" means unexpected response is returned from the OpenWRT. To get more details for traffic happens between the two processors, you can add the following line after this:
https://github.com/aws/aws-iot-device-sdk-arduino-yun/blob/master/AWS-IoT-Arduino-Yun-Library/aws_iot_mqtt.cpp#L851
Serial.println(rw_buf);

Can you attach your IDE serial console output when you are experiencing the issue?
If your host machine is Linux or Mac OS, you should be able to use the automated script provided along with the SDK to help you do the setup:
https://github.com/aws/aws-iot-device-sdk-arduino-yun/blob/master/AWSIoTArduinoYunInstallAll.sh
Instructions are available here:
https://github.com/aws/aws-iot-device-sdk-arduino-yun#installation
Thanks,
Liusu

@liuszeng Thank you very much for your reply.
Currently I am using Linino on my board , but i have also tried the whole procedure on openWRT but results on both are same.
SD card is installed and did the CHMOD command for run.py (but no luck).
and I am trying to configure the board using windows 10 as host.
after adding the LINE as you mentioned, output on IDE I got is:

root@ichair:~/AWS-IoT-Python-Runtime/runtime#
/bin/ash: 1: not found
/bin/ash: /root: Permission denied
/bin/ash: 1: not found
/bin/ash: /root: Permission denied
/bin/ash: 1: not found
/bin/ash: /root: Permission denied
/bin/ash: 1: not found
/bin/ash: /root: Permission denied
Linux
/

I T
G T
Connect failed!
-1

I will be really thankful to you for guiding me on this. It is most important thing to do and I have to implement it ASAP.
P.S: In wait of your reply, I will try to configure YUN using linux via VMWare (running it virtually on Windows 10)

@liuszeng I am back on OpenWrt please guide me according to it.

Hi @mumairkhugyani ,
Thank you very much for providing the information.
Do you have ssh access to your Linino on your YUN? Can you try to use the same credential and run Python SDK sample on it? Instructions can be found here:
https://github.com/aws/aws-iot-device-sdk-python#installation
Let's start with verifying the credential and the Python runtime.
Thanks,
Liusu

@liuszeng thankyou once again.
Yes, I have ssh access to Linino on my YUN.
I cant confirm it that I'll be able to run PYTHON SDK on my YUN or not.
Basically, I have to collect values from different sensors and have to upload them on AWS IoT. As I am new to all these things so for clearing concepts and to check my device connection to AWS IoT I am using this BasicPubSub Example.
Regards,

Hi @mumairkhugyani ,
The AWS IoT Arduino Yun SDK is now backed by AWS IoT Python SDK. Since we cannot get much information from the serial console output, we need more information on the Linino side where all the heavy lifting work is done (connecting to AWS IoT).
Ideally, you should already have the certificate, private key and rootCA uploaded to your Linino during the steps to set up IoT Yun SDK. Can you try the following instructions on your Linino and check the logs?

Ssh into Linino

Install the latest version of AWS IoT Python SDK
 git clone https://github.com/aws/aws-iot-device-sdk-python.git
 cd aws-iot-device-sdk-python
 python setup.py install

Run basicPubSub sample using the credential you uploaded
 python basicPubSub.py -e <endpoint> -r <rootCAFilePath> -c <certFilePath> -k <privateKeyFilePath>

Thanks,
Liusu

@liuszeng
Ok I will try it and will give you respons.
Please have a look at my config file and certificates naming formats:

#define AWS_IOT_MQTT_HOST "atfeqkx9dh5s.iot.us-west-2.amazonaws.com" 	// your endpoint
#define AWS_IOT_MQTT_PORT 8883									// your port
#define AWS_IOT_CLIENT_ID	"ichair"						// your client ID
#define AWS_IOT_MY_THING_NAME "IChair"						// your thing name
#define AWS_IOT_ROOT_CA_FILENAME "VeriSign-Class 3-Public-Primary-Certification-Authority-G5.pem"           // your root-CA filename
#define AWS_IOT_CERTIFICATE_FILENAME "59d1f9ac36-certificate.pem.crt"                 // your certificate filename
#define AWS_IOT_PRIVATE_KEY_FILENAME "59d1f9ac36-private.pem.key"              // your private key filename

@liuszeng , Extremely sorry to disturb you again and again just because of my poor knowledge.
root@ichair:~/aws-iot-device-sdk-python/samples/basicPubSub#

 python basicPubSub.py -e atfeqkx9dh5s.iot.us-west-2.amazonaws.com -r /root/AWS-IoT-Python-Runtime/certs/Ver
iSign-Class 3-Public-Primary-Certification-Authority-G5.pem -c /root/AWS-IoT-Python-Runtime/certs/59d1f9ac36-certificate.pem -k /root/AWS-IoT-Python-Runtime/certs/59d1f
9ac36-private.pem
Missing '-c' or '--cert'
Missing '-k' or '--key'
root@ichair:~/aws-iot-device-sdk-python/samples/basicPubSub#

It looks like there is issue in naming of my certificates, or in the extensions of certificates kindly guide me in it. So we can progress further to if any other issues exist.
Once again thank you very much for guiding and helping me.
Stay Blessed

Hi @mumairkhugyani ,
You can rename the root CA file using the following command on Linino:
mv VeriSign-Class\ 3-Public-Primary-Certification-Authority-G5.pem rootCA.crt

Notice the escape. This renames it to "rootCA.crt".
Then you should be able to run the sample with command line options.
Thanks,
Liusu

Hello @liuszeng , Once again thanks a lot for your help.
I ran basicPubSub.py using python SDK but it also gave connection issue with following outputs:
root@ichair:~/aws-iot-device-sdk-python/samples/basicPubSub# python basicPubSub.py -e atfeqkx9dh5s
.iot.us-west-2.amazonaws.com -r /root/AWS-IoT-Python-Runtime/certs/rootCA.pem -c /root/AWS-IoT-Pyt
hon-Runtime/certs/59d1f9ac36-certificate.pem.crt -k /root/AWS-IoT-Python-Runtime/certs/59d1f9ac36-
private.pem.key
2017-01-28 15:53:16,181 - AWSIoTPythonSDK.core.protocol.mqttCore - DEBUG - Paho MQTT Client init.
2017-01-28 15:53:16,185 - AWSIoTPythonSDK.core.protocol.mqttCore - INFO - ClientID: basicPubSub
2017-01-28 15:53:16,188 - AWSIoTPythonSDK.core.protocol.mqttCore - INFO - Protocol: MQTTv3.1.1
2017-01-28 15:53:16,192 - AWSIoTPythonSDK.core.protocol.mqttCore - DEBUG - Register Paho MQTT Client callbacks.
2017-01-28 15:53:16,196 - AWSIoTPythonSDK.core.protocol.mqttCore - DEBUG - mqttCore init.
2017-01-28 15:53:16,200 - AWSIoTPythonSDK.core.protocol.mqttCore - DEBUG - Load CAFile from: /root/AWS-IoT-Python-Runtime/certs/rootCA.pem
2017-01-28 15:53:16,203 - AWSIoTPythonSDK.core.protocol.mqttCore - DEBUG - Load Key from: /root/AWS-IoT-Python-Runtime/certs/59d1f9ac36-private.pem.key
2017-01-28 15:53:16,207 - AWSIoTPythonSDK.core.protocol.mqttCore - DEBUG - Load Cert from: /root/AWS-IoT-Python-Runtime/certs/59d1f9ac36-certificate.pem.crt
2017-01-28 15:53:16,210 - AWSIoTPythonSDK.core.protocol.mqttCore - DEBUG - Custom setting for backoff timing: baseReconnectTime = 1 sec
2017-01-28 15:53:16,214 - AWSIoTPythonSDK.core.protocol.mqttCore - DEBUG - Custom setting for backoff timing: maximumReconnectTime = 32 sec
2017-01-28 15:53:16,217 - AWSIoTPythonSDK.core.protocol.mqttCore - DEBUG - Custom setting for backoff timing: minimumConnectTime = 20 sec
2017-01-28 15:53:16,221 - AWSIoTPythonSDK.core.protocol.mqttCore - DEBUG - Custom setting for publish queueing: queueSize = -1
2017-01-28 15:53:16,224 - AWSIoTPythonSDK.core.protocol.mqttCore - DEBUG - Custom setting for publish queueing: dropBehavior = Drop Newest
2017-01-28 15:53:16,228 - AWSIoTPythonSDK.core.protocol.mqttCore - DEBUG - Custom setting for draining interval: 0.5 sec
2017-01-28 15:53:16,232 - AWSIoTPythonSDK.core.protocol.mqttCore - DEBUG - Set maximum connect/disconnect timeout to be 10 second.
2017-01-28 15:53:16,235 - AWSIoTPythonSDK.core.protocol.mqttCore - DEBUG - Set maximum MQTT operation timeout to be 5 second
2017-01-28 15:53:16,240 - AWSIoTPythonSDK.core.protocol.mqttCore - INFO - Connection type: TLSv1.2 Mutual Authentication
2017-01-28 15:53:21,192 - AWSIoTPythonSDK.core.protocol.mqttCore - DEBUG - Disconnect result code 1
2017-01-28 15:53:21,196 - AWSIoTPythonSDK.core.util.progressiveBackoffCore - DEBUG - backOff: current backoff time is: 1 sec.
2017-01-28 15:53:24,308 - AWSIoTPythonSDK.core.protocol.mqttCore - DEBUG - Disconnect result code 1
2017-01-28 15:53:24,313 - AWSIoTPythonSDK.core.util.progressiveBackoffCore - DEBUG - backOff: current backoff time is: 2 sec.
2017-01-28 15:53:28,529 - AWSIoTPythonSDK.core.protocol.mqttCore - DEBUG - Disconnect result code 1
2017-01-28 15:53:28,533 - AWSIoTPythonSDK.core.util.progressiveBackoffCore - DEBUG - backOff: current backoff time is: 4 sec.
2017-01-28 15:53:30,955 - AWSIoTPythonSDK.core.protocol.mqttCore - ERROR - Connect timeout.
Traceback (most recent call last):
  File "basicPubSub.py", line 133, in <module>
    myAWSIoTMQTTClient.connect()
  File "/usr/lib/python2.7/site-packages/AWSIoTPythonSDK/MQTTLib.py", line 403, in connect
    return self._mqttCore.connect(keepAliveIntervalSecond)
  File "/usr/lib/python2.7/site-packages/AWSIoTPythonSDK/core/protocol/mqttCore.py", line 299, in connect
    raise connectTimeoutException()
AWSIoTPythonSDK.exception.AWSIoTExceptions.connectTimeoutException
root@ichair:~/aws-iot-device-sdk-python/samples/basicPubSub#

still stuck... :( waiting for your help and support
Regards,

Hi @mumairkhugyani ,
Thank you very much for providing the information.
From the log, we can see that you got disconnected from the server when you attempted the connect. Can you verify that you have attached IoT policy with proper permissions to the certificate you are using here?
To be more specific, to get the PubSub sample working, you will need to the permission to connect, publish, subscribe and receive. Samples about IoT policy can be found here:
http://docs.aws.amazon.com/iot/latest/developerguide/pub-sub-policy.html
You should be able to check the policy attachment of your certificate in your AWS IoT Console.
To get more information about the issue, another thing you can do is to check the Cloud Watch Log. To configure Cloud Watch Log for AWS IoT, please check the instructions here:
http://docs.aws.amazon.com/iot/latest/developerguide/cloud-watch-logs.html
Please let us know how it goes.
Thanks,
Liusu

Hello @liuszeng
thank you very much for your such support.
10 mins before i was exploring some other issues and there was your reply on Amazon forum about the resources in policy. I just changed it to "*" from specific topic and I got SUCCESS in it.
Now I am uploading values to cloud using BasicPubSub.
Just one last question. Now I'll be able to use the YUN SDK with this issue solved?
Once again thanks a lot for your such support. Always stay blessed
Regards,

Hi @mumairkhugyani ,
Glad to know that you got it working with Python device SDK sample. Success in running the sample means that your credentials are configured with proper permissions.
You now should be able to use the sample credential to connect to AWS IoT with Yun SDK. Note that we have installed a newer version (1.1.1) of IoT Python SDK on your Linino for debugging purpose. To get the Yun SDK working correctly, I recommend you to uninstall it, reinstall and stick to the version (1.0.0) that Yun SDK is using as its backend. You also want to make sure the config head file for PubSub sample is updated to match the credential file name changes.
Thanks,
Liusu

@liuszeng One more thing I Did was some changes in configuration related to time:
# AWSIoTMQTTClient connection configuration myAWSIoTMQTTClient.configureAutoReconnectBackoffTime(1, 250, 20)  #original 32 myAWSIoTMQTTClient.configureOfflinePublishQueueing(-1)  # Infinite offline Publish queueing myAWSIoTMQTTClient.configureDrainingFrequency(2)  # Draining: 2 Hz myAWSIoTMQTTClient.configureConnectDisconnectTimeout(250)  #original 10 sec myAWSIoTMQTTClient.configureMQTTOperationTimeout(5)  # 5 sec
So it worked after these changes
Regards,

@liuszeng
From Where I can do those time configurations in YUN SDK which I did for python.??
its not working through YUN SDK.
i haven't done the clean installation. I will update after doing complete clean installation.

Hello @liuszeng,
Thank you very much for your guidance and support, Thank you Amazon.
Everything is good now and I am able to run the BasicPubSub example for YUN using AWS-IOT-YUN-SDK.
Regards,


[Feature Request] <Zoro.to>:

PLEASE READ THIS
I acknowledge that:

I have updated:

To the latest version of the app (stable is v0.10.12)
All extensions

I have tried the troubleshooting guide: https://tachiyomi.org/help/guides/troubleshooting-problems/
If this is an issue with the app itself, that I should be opening an issue in https://github.com/jmir1/aniyomi
I have searched the existing issues and this is new ticket NOT a duplicate or related to another open issue
For source requests, I have checked the list of existing extensions including the multi-source spreadsheet: https://tachiyomi.org/extensions/
I will fill out the title and the information in this template

Note that the issue will be automatically closed if you do not fill out the title or requested information.
DELETE THIS SECTION IF YOU HAVE READ AND ACKNOWLEDGED IT

What feature should be added to this source? Add Stream SB in Zoro.to
Explain why this should be added
Because is have a Built-in Subtitle

Closing as zoro no longer use streamsb. Open new issue if there are anime on zoro that still use it.


Support ERC677 for ERC20 deposit

Is your feature request related to a problem? Please describe.
With the current design of the  ERC20 Gateway, the user have to first approve the gateway to allow it to transfer the token on its behalf.
Describe the solution you'd like
If the gateway would support ERC677 function onTokenTransfer(address, uint, bytes calldata) external returns (bool); then users could simply call transferAndCall and be done
ERC677 is a defacto standard being used by WETH10
Describe alternatives you've considered
An alternative that would also be great to have is  for the deposit function to accept a signature so it can call EIP-2612 permit if needed

I'm more a fan of permit than adding callbacks and think that having a depositWithSignature method could make sense.

Permit is great so I would also vote to get it supported.
But I think as a generic gateway, it should dictate as less as possible what is accepted and let developers chose what is best for them. Hence why I vote for both :)
I would also vote for having it in the L2 generic ERC20 token but that is another issue.
In term of UX they are ultimately equivalent (metamask could batch the signature and tx in one popup and ERC677 could be supported so that wallet show the actually data being encoded) but as it stands, both have disadvantage and advantages.


WIP: Add support for subscription pause/unpause

Add the ability to unpause a subscription if it is paused for RamenDR.
Restore backup PVs if the user has specified a failover cluster in the AVR CR
During a failover, delete existing ManifestWorks that were destined for the failed cluster

One more unit test needs to be added to validate the failover

@BenamarMk if merge conflict is resolved, we can merge this.


Fix getTransactionReceipt bug

While testing RFQ a getTransactionReceipt bug appeared several times. Reproduce bug and fix.

This seems to be fixed after the big rewrite.

This seems to be fixed after the big rewrite.


Remove lifelines.estimation

Fixes issue #570
I enjoyed that :-)
Tests pass with the same success rate as before.  Also ran prospector, no new issues reported.  Pointed at 0.16.0 branch

Thanks @CamDavidsonPilon - it's now all of the form from lifelines import X (except the init).


Updated example_train.py hangs on CPU training

Using the new example_train.py and running it with torchrun --nproc-per-node 3 example_train.py results in the example hanging when using CPU devices. I have been able to reproduce this on Windows and Mac OS, running x86 and M2 architectures respectively. I'm not sure how to get output logs, as canceling the training just gives a backtrace for the runner.

Hi, thanks for reporting it. That's a known issue.
The CPU communication backend (Gloo) does not have a good support for batch_isend_irecv, which we recently move to to communication multiple tensors in "one shot" between ranks. If you use GPU, this issue should go away.
Cc @H-Huang can we harden our support for non-GPU devices?


.EML/.MSG/Folder open

I really like your icon pack.
Some icons I would like to see are for .eml / .msg files and folder open.
Especially in the square icons.
Thanks

These are now available in the master branch. They will be included in the next release. I plan on adding more folder icons, though (currently, there are only two).
For the Square Outline MSG/EML, I simply used an envelop icon: https://fileicons.org/?branch=develop&view=square-o
I was possibly going to use the open envelope for MSG, but given the tighter sizing, I didn't want it to be difficult to see. I will continue to think about it.
Let me know if you had/have something different in mind or a different idea.
Thank you,
Daniel

For the folder icons a generic document folder would imho complete the set.

What do you mean? Example?
Thank you,
Daniel


ApiGatewayV2 Stage resource Tags should be a dict, and incorrect RouteSettings LoggingLevel in validator

Per latest Boto3 docs, the Stage Tags should be a dict (same as Troposphere currently has for the VpcLink resource).  Also, valid LoggingLevels per Cloudformation and Botot 3 should be "INFO, ERROR, or OFF" not "WARN", "INFO", "DEBUG" that the Troposphere LoggingLevel validator currently has.

Created PR 2100 to fix these two issues

Fixed via #2100


Support packageTypes property in catalog

Describe the bug
The packageTypes nuspec property is used to distinguish between regular dependency packages, .NET CLI tools, and .NET CLI templates. Today, this property is always "" on catalog leafs.
To Reproduce
See the packageTypes property on the following catalog leafs:

.NET CLI tool: https://api.nuget.org/v3/catalog0/data/2<IP_ADDRESS>.01.10/dotnet-xunit.2.4.0-beta.1.build3958.json
.NET CLI template: https://api.nuget.org/v3/catalog0/data/2<IP_ADDRESS>.14.50/giraffe-template.0.1.0-alpha007.json

Expected behavior
The catalog leaf should be a JSON array of all the package type names in the nuspec. For example:
"packageTypes": [
    "DotnetCliTool"
]

Additional context
This is necessary to properly support package type filtering (see https://github.com/NuGet/NuGetGallery/issues/5762). Today, the job mutating the search index must guess the package type from the catalog leafs' packageEntries property. This approach isn't ideal as the search index must be rebuilt when a new package type is introduced.

Agreed that current behavior is useless. Same story exists for <repository> (/cc @donnie-msft for https://github.com/NuGet/Home/issues/8584) or any other type that is a complex element (not just a single text node). Attributes are also ignored!
When we implement search by package type (coming relatively soon IIRC...) we will need this as you mentioned. It's funny because @ryuyu did all of this work ages ago but we never merged it 😢. I forget the blocker. https://github.com/NuGet/NuGet.Services.Metadata/pull/87

Today, the job mutating the search index must guess the package type from the catalog leafs' packageEntries property. This approach isn't ideal as the search index must be rebuilt when a new package type is introduced.

What job are you referring to?

The catalog leaf should be a JSON array of all the package type names in the nuspec.

Concerning the shape, an array of strings is not sufficient. The package type model includes a version which would need to be included as well.
.nuspec XSD: https://github.com/NuGet/NuGet.Client/blob/502505da868f79b1c4fc1704dae6642138adb30c/src/NuGet.Core/NuGet.Packaging/compiler/resources/nuspec.xsd#L100-L104
Package Type specification: https://github.com/NuGet/Home/wiki/Package-Type-[Packing]
We need to choose whether to explicitly state the default version in the response JSON. My vote is no. Catalog leaves should match the intent of the package author. Explicitly stating version="0.0" vs. leaving out the version is equivalent to consumers but I think matching the author intent is safest. People reading the .nuspec need to already know the default so forcing this on catalog readers seems fine. So something like:
{
  "packageTypes": [
    { "name": "DotnetCliTool" },
    { "name": "CustomType", "version": "2.0" },
  ]
}

Today, the job mutating the search index must guess the package type from the catalog leafs' packageEntries property. This approach isn't ideal as the search index must be rebuilt when a new package type is introduced.

What job are you referring to?

I imagine this would be catalog2azuresearch.

The catalog leaf should be a JSON array of all the package type names in the nuspec.

Concerning the shape, an array of strings is not sufficient. The package type model includes a version which would need to be included as well.
.nuspec XSD: https://github.com/NuGet/NuGet.Client/blob/502505da868f79b1c4fc1704dae6642138adb30c/src/NuGet.Core/NuGet.Packaging/compiler/resources/nuspec.xsd#L100-L104
Package Type specification: https://github.com/NuGet/Home/wiki/Package-Type-[Packing]

Good point 👍

We need to choose whether to explicitly state the default version in the response JSON. My vote is no. Catalog leaves should match the intent of the package author. Explicitly stating version="0.0" vs. leaving out the version is equivalent to consumers but I think matching the author intent is safest. People reading the .nuspec need to already know the default so forcing this on catalog readers seems fine. So something like:
{
  "packageTypes": [
    { "name": "DotnetCliTool" },
    { "name": "CustomType", "version": "2.0" },
  ]
}

Looks great!

When we implement search by package type (coming relatively soon IIRC...) we will need this as you mentioned. It's funny because @ryuyu did all of this work ages ago but we never merged it 😢. I forget the blocker. NuGet/NuGet.Services.Metadata#87

Ah interesting! Maybe we can reuse this when we do this work for Azure Search too.


How to setup A or CNAME record so I don’t have to use “www.”?

Checklist

Please read the setup instructions  DONE
Please read the FAQ  DONE

What is troubling you?
I know this is super basic but so far, I’ve only been able to get my websites working with “www.[sitename].tld” but I’d much prefer using just “[sitename].tld”. What should the A or CNAME record look like for the latter?

When setting up the A or CNAME record. You would want to create two A or CNAME records. One with www and one using the @ symbol. That should allow you too just type in domain.com or www.domain.com.

Thanks, dash74! That’s how I had it setup but it wasn’t working. Now it seems to be.


LLM Integration

As a feature suggestion, I would love if this could allow you to plug in an LLM (such as GPT-4o) where images that are included in the content could be sent to the LLM for further understanding. For example, if it was say a bar chart or graph, it would be sent to convert that to a Markdown table and be integrated in the final Markdown output.

I could see something coming back giving us markers of where that content should appear along with the source content in a way that we could handle it as we please. Ex: Send to LLM, upload to a server and link, etc.

maybe as an MCP server? That wouldn't be too hard

Relevant: https://github.com/microsoft/markitdown/blob/main/src/markitdown/_markitdown.py#L755
Ive tested an older version of it, but not the new version.

@gagb Would be great to have this as an example in the README! Thanks.

@gagb Would be great to have this as an example in the README! Thanks.

Agreed. IMO, a PDF based example would be best where it is able to do the text in the normal way, but any images in the PDF are sent to the LLM.  I think this is a more compelling example to organizations then just PNG's.

As a feature suggestion, I would love if this could allow you to plug in an LLM (such as GPT-4o) where images that are included in the content could be sent to the LLM for further understanding. For example, if it was say a bar chart or graph, it would be sent to convert that to a Markdown table and be integrated in the final Markdown output.

It's already supported, here you go. You need an openai key.
from markitdown import MarkItDown
from openai import OpenAI
client = OpenAI()
md = MarkItDown(mlm_client=client, mlm_model="gpt-4o")
image_file = 'https://gagb.github.io/imgs/bansal-chi21.png'
result = md.convert(source=image_file)
print(result.text_content)
Output
ImageSize: 388x368
Description:
This image illustrates a comparison of decision accuracy with and without explanations. On the left, there's a computer icon connected to a user symbol, suggesting human-computer interaction. The vertical axis represents the "Accuracy of decisions," ranging from 0.0 to 1.0.
Two dotted lines extend horizontally: one labeled "R only" and another higher up labeled "R+Explanation." A red arrow points upward from "R only" to "R+Explanation," indicating an increase in accuracy with the addition of explanations. The red delta symbol (∆) signifies the improvement, which is greater than zero. A blue question mark next to it suggests uncertainty or inquiry related to this improvement.
At the bottom, the label "B Ours" signifies that this concept is part of the author's work or findings. Overall, the diagram emphasizes the value of explanations in enhancing decision-making accuracy in human-computer interactions.

Hi! Maybe I did not find the way and is already implemented but that looks more like the description of the image rather than the text extraction for example. Is there any way to customize the prompt?

As a feature suggestion, I would love if this could allow you to plug in an LLM (such as GPT-4o) where images that are included in the content could be sent to the LLM for further understanding. For example, if it was say a bar chart or graph, it would be sent to convert that to a Markdown table and be integrated in the final Markdown output.

It's already supported, here you go. You need an openai key.
from markitdown import MarkItDown
from openai import OpenAI
client = OpenAI()
md = MarkItDown(mlm_client=client, mlm_model="gpt-4o")
image_file = 'https://gagb.github.io/imgs/bansal-chi21.png'
result = md.convert(source=image_file)
print(result.text_content)
Output
ImageSize: 388x368
Description:
This image illustrates a comparison of decision accuracy with and without explanations. On the left, there's a computer icon connected to a user symbol, suggesting human-computer interaction. The vertical axis represents the "Accuracy of decisions," ranging from 0.0 to 1.0.
Two dotted lines extend horizontally: one labeled "R only" and another higher up labeled "R+Explanation." A red arrow points upward from "R only" to "R+Explanation," indicating an increase in accuracy with the addition of explanations. The red delta symbol (∆) signifies the improvement, which is greater than zero. A blue question mark next to it suggests uncertainty or inquiry related to this improvement.
At the bottom, the label "B Ours" signifies that this concept is part of the author's work or findings. Overall, the diagram emphasizes the value of explanations in enhancing decision-making accuracy in human-computer interactions.

Hi! Maybe I did not find the way and is already implemented but that looks more like the description of the image rather than the text extraction for example. Is there any way to customize the prompt?

It can customize prompt, just pass the mlm_prompt to convert method.
Like this:
# ...
prompt = "extract the objects in the picture, and only output keywords, separated by commas."
result = markitdown.convert("path/to/example.jpg", mlm_prompt=prompt)

But the latest version cannot apply the param properly when trying to convert an url file, and I just created a pr to fix it. #48

@gagb Would be great to have this as an example in the README! Thanks.

Agreed. IMO, a PDF based example would be best where it is able to do the text in the normal way, but any images in the PDF are sent to the LLM. I think this is a more compelling example to organizations then just PNG's.

Exactly this. We could use something like PyMuPDF4LLM to extract images and classify them later, but if this could be done in one step during pdf->md conversion, that would be brilliant!

Agreed. IMO, a PDF based example would be best where it is able to do the text in the normal way, but any images in the PDF are sent to the LLM. I think this is a more compelling example to organizations then just PNG's.

Completely agree.
Basically:
take in a PDF
go through it and for each image
    send the image to an LLM for semantic understanding/text parsing (task TBD by the user)
    replace the LLM output in the markdown (inline)

This way, the tool would be really useful, and the last issue to be resolved would be proper table parsing (from pdf)

@tinosai  Lets move the pdf specific ideas to #131

In general I would love the ability to use hooks when converting any document containing images.
Every time the converter finds an image, call me back with the byte[] so that I can handle the converstion  of the image to text by myself. This may also happen with a local model and not just GPT.
The point is replacing the images with their description in any type of document. I mean that replacement implies keeping the sequence of text/image parts.


atyourservice installer

Cuisine module to install AYS server

https://github.com/Jumpscale/jumpscale_core8/blob/8.2.0/lib/JumpScale/tools/cuisine/apps/CuisineAtYourService.py ?


⚠ ClamAV has degraded performance

In bbd0745, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 82 ms

Resolved: ClamAV performance has improved in 8017933.


Optional endianness?

Right now, the order is big-endian everywhere. There should probably be the option to store attribute data and triangles in little-endian order (everything else in the file would stay big-endian).

Done as of f627e71e90809053656099cbeaf7a59ffeec347a.


#28 Return module nested in another directory

Steps now should recognize and list modules that are nested inside another directory.
I tested this with bitrise-step-android-lint running locally with replaced go-android package and seems to be working fine. Can I run any additional tests?
This is the very first thing I wrote in Go 🎉
fixes #28

@trapacska any chance to have that reviewed? I can't use any of Android-specific build steps (Lint, Tests) without that in my project.

Hi @szymanp1 !
I approved the PR as it LGTM. Checkint the CI and running it. If ok then I'll merge.

Thank you for the PR! 🚀

Should this fix be automatically available in all steps that use this as a dependency? Or do they need to be updated and released?


Clarify questions related to translation tasks

@Billflorio Ines and Shun have some questions:
Will it be enough to add translation to the script document? They had some great thoughts related to timing of the subtitles:
"In my understanding, to show translated subtitles on Youtube, we need subtitle files (.srt, .sub, etc.)
So steps will be

Transcribe the video (Again, naming convention for each doc? Maybe we need to rename the folder name?😉)

Translate the google doc transcription

Create the subtitle files based on the translation (We need the timing data to apply the subtitle files, and it’s helpful if the English subtitle timing is available.)

Download the YouTube video to the contributor’s local, apply the subtitle files, and preview the video with the subtitles.

If preview is ok, submit the subtitle file to somewhere,  and Youtube account owner apply the subtitle files.
Which are the target of this community activity? If only Step 2, I’m fine with just adding the translation to the bottom of the existing google doc, following the kanban instruction. But I think we need to collaborate to create subtitle that fits to the original video, because it requires grammar and the timing of the translated language."

@barbarachristensen is there a naming convention in the "DONE" scripts folder? Or one we should use going forward?

Sorry, I missed this one in the pile. So, there's no good system no. I'd
hope the name matches the video name. Recently I started adding links to
our story cards but otherwise I'm not even sure all scripts are in there. I
had to do a ton of searching in the piles when I first started. We can
definitely start one, or maybe our plan to do things more automatically
will help, if we use zap tied to github?
B
On Wed, Mar 3, 2021 at 12:29 AM Charise Van Liew @.***>
wrote:

@Billflorio https://github.com/Billflorio Ines and Shun have some
questions:
Will it be enough to add translation to the script document? They had some
great thoughts related to timing of the subtitles:
"In my understanding, to show translated subtitles on Youtube, we need
subtitle files (.srt, .sub, etc.)
So steps will be

Transcribe the video (Again, naming convention for each doc?
Maybe we need to rename the folder name?😉)

Translate the google doc transcription

Create the subtitle files based on the translation (We need the
timing data to apply the subtitle files, and it’s helpful if the English
subtitle timing is available.)

Download the YouTube video to the contributor’s local, apply the
subtitle files, and preview the video with the subtitles.

If preview is ok, submit the subtitle file to somewhere, and
Youtube account owner apply the subtitle files.
Which are the target of this community activity? If only Step 2,
I’m fine with just adding the translation to the bottom of the existing
google doc, following the kanban instruction. But I think we need to
collaborate to create subtitle that fits to the original video, because it
requires grammar and the timing of the translated language."

@barbarachristensen https://github.com/barbarachristensen is there a
naming convention in the "DONE" scripts folder? Or one we should use going
forward?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/SFDO-Community-Sprints/NPSP-Videography/issues/11,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABYWY7NF3KVSJHU23I5T3R3TBXXPRANCNFSM4YQYV6WA
.

--
Barbara Christensen
Lead Consultant | Salesforce MVP
Percolator Consulting
Work days: M-Th, Pacific

@barbarachristensen
So, currently, some files in "DONE" folder are actually not done, and we need to rename the folder? And we also need a new source-of-the-truth to see status of each subtitle?

Hi- I was not the manager of these files for a very long time, so I can't
answer that without looking through them all. The source of truth is our
agile board in clubhouse and the actual completed YouTube videos. There's
an effort underway to bring that clubhouse structure to github, but it has
hit some technical roadblocks. Charise will understand where we are with
that. Otherwise we will add some zapier-based functions to move things
around from clubhouse. Will probably be a little while until that's done.
If you have questions on a specific script, let me know!
Done just means we aren't working with them any more, most likely-- could
be retired or recorded, or another script took over. THere's a lot of
history I don't know.
Thanks
B
On Tue, Mar 30, 2021 at 8:04 PM Shun Kosaka @.***>
wrote:

@barbarachristensen https://github.com/barbarachristensen
So, currently, some files in "DONE" folder are actually not done, and we
need to rename the folder? And we also need a new source-of-the-truth to
see status of each subtitle?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/SFDO-Community-Sprints/NPSP-Videography/issues/11#issuecomment-810722774,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABYWY7PMLTHQZ3DH2WRDTSTTGKGL3ANCNFSM4YQYV6WA
.

--
Barbara Christensen
Lead Consultant | Salesforce MVP
Percolator Consulting
Work days: M-Th, Pacific

@barbarachristensen Thank you for your response! So this project is under restructuring! I just wanted to know the "clear and documented" process and steps when we submit translated subtitles. Let me know anytime there's anything I can contribute to build the base before working with translation.


Multiple files: add functions to read xy interpolator data using mosa…

…icker, add problem_DEM_file option, handle POCA and swath CS2 data

Extensive set of updates that allow better handling of velocity interpolator data, and change the way that FAC data are handled.  In the new version, FAC is treated as an anomaly to a reference epoch (by default the first time slide in the FAC file), instead of subtracting the total FAC model.


user.accountEnabled -eq true = Dynamic membership rule validation error: Invalid object type.

Using your example for including only enabled users, I get this error: "Failed to save dynamic group. Dynamic membership rule validation error: Invalid object type.". This is the query with the error: (user.accountEnabled -eq true)

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

ID: a360d153-0892-fd9f-83e5-a4128fbfb557
Version Independent ID: d996e375-9dbc-db5a-c639-7da7616bc3bb
Content: Fix problems with dynamic group memberships - Azure AD
Content Source: articles/active-directory/users-groups-roles/groups-troubleshooting.md
Service: active-directory
Sub-service: users-groups-roles
GitHub Login: @curtand
Microsoft Alias: curtand

@JLambEJG Thank you for the feedback. We are actively investigating and will get back to you soon.

@JLambEJG, Here you just need to type user.accountEnabled -eq true without the curve brackets.

I tested this and it works.


Last character 's' is missing

test_yamls:
  -
    key: app
    file: test-app.yaml
    description: Front end code
  -
    key: tasks
    file: test-long-tasks.yaml
    description: Backend end code

After being parsed
test_yamls__key[1] holds the value task instead of tasks

Hi @MaartenSwBase
I tested here and it worked. Here my output when testing with --debug:
test_yamls__key+=("app")
test_yamls__file+=("test-app.yaml")
test_yamls__description+=("Front end code")
test_yamls__key+=("tasks")
test_yamls__file+=("test-long-tasks.yaml")
test_yamls__description+=("Backend end code")

Can you send your test.sh file and tell me what your OS?

Hi @jasperes
Thank you for such a fast response,
Here this is not the project im using yaml.sh in but I can reproduce the issue.
https://github.com/MaartenSwBase/bash-yaml
Also Im on macOs High Sierra (latest)

Another issue was opened with this same problem here: https://github.com/jasperes/bash-yaml/issues/7
The problem happens on MacOS Systems. Try the solution mentioned in this other issue.

@jasperes You can close this issue now, keep the other one open, until there is maybe another solution.

it's better to use [[:space:]] than \s.
the line sed -ne '/^--/s|--||g; s|\"|\\\"|g; s/\s*$//g;' \ is causing the issue
and replacing it with sed -ne '/^--/s|--||g; s|\"|\\\"|g; s/[[:space:]]*$//g;' \ solves it


Does Java Client support  feature mock image

@saikrishna321 could you help provide whether Java Client support the feature: Mock Image?

@vudiuht Yes we will surely support mock in java. We are currently getting the finder added to the official java-client bindings. Once the PRs are merged. We will update the repo with details.

Done. Please look at java-client v9.3.0


[SPARK-48068][PYTHON] mypy should have --python-executable parameter

What changes were proposed in this pull request?
This PR aims to fix mypy failure by propagating lint-python's PYTHON_EXECUTABLE to mypy's parameter correctly.
Why are the changes needed?
We assumed that PYTHON_EXECUTABLE is used for dev/lint-python like the following. That's not true. We need to use mypy's parameter to make it sure.
https://github.com/apache/spark/blob/ff401dde50343c9bbc1c49a0294272f2da7d01e2/.github/workflows/build_and_test.yml#L705
This is useful whose python3 chooses one of multiple Python installation like our CI environment.
$ docker run -it --rm ghcr.io/apache/apache-spark-ci-image:master-8905641334 bash
WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
root@2ef6ce08d2c4:/# python3 --version
Python 3.10.12
root@2ef6ce08d2c4:/# python3.9 --version
Python 3.9.19

Does this PR introduce any user-facing change?
No.
How was this patch tested?
Pass the CIs.
Was this patch authored or co-authored using generative AI tooling?
No.

Could you review this, @HyukjinKwon ?

Could you review this PR, @LuciferYang ?

Although I verified it locally with Python 3.9, CI seems to behave differently. Let me check more.
$ python3 --version
Python 3.9.18

$ dev/lint-python
starting python compilation test...
python compilation succeeded.

starting black test...
black checks passed.

starting PySpark custom errors check...
PySpark custom errors check passed.

starting flake8 test...
flake8 checks passed.

starting mypy annotations test...
annotations passed mypy checks.

starting mypy examples test...
examples passed mypy checks.

starting mypy data test...
annotations passed data checks.

all lint-python tests passed!

I have the same problem in my local but I think it's because of the Python version we're using

Maybe we should just upgrade our Python version in CI.

Thank you, @HyukjinKwon .
Ya, let me upgrade it, @HyukjinKwon .

Since Infra Image is using 3.9.19 already, let me upgrade Python version to Python 3.10 at linter job first.
$ docker run -it --rm ghcr.io/apache/apache-spark-ci-image:master-8905641334 bash
root@7983729755b6:/# python3.9 --version
Python 3.9.19

For the record, I refocused this PR to --python-executable issue only in this PR. Python linter passed without any issues.

All linters passed.

Could you review this PR, @viirya ?

Could you review this PR, @huaxingao ?

Thank you, @huaxingao !
Merged to master/3.5/3.4.

Looks good to me. Thanks @dongjoon-hyun

Thank you, @viirya !


Fix and simplify arguments check

Yes, that was what it was before. But I find "if not (2 or 3 arguments) then print usage" easier to read than "if (not 2 and not 3) then print usage". It's the second time I broke it this way, so hopefully this will prevent the third time :)


add control flow support to UnitarySynthesis pass

Summary
Add control flow support to UnitarySynthesis transpiler pass.
Details and comments

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

12 of 12 (100.0%)  changed or added relevant lines in 2 files are covered.
13 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.0004%) to 84.054%

Files with Coverage Reduction
New Missed Lines
%

qiskit/extensions/quantum_initializer/squ.py
2
79.78%

qiskit/compiler/transpiler.py
11
89.95%

Totals

Change from base Build<PHONE_NUMBER>:
-0.0004%

Covered Lines:
56328

Relevant Lines:
67014

💛  - Coveralls

From the meeting: we might want to replace this with the utility decorator on top of the run method to do the trivial recursion.

I thought I'd added this further comment here already, sorry:
I think this is one pass we'll want to do a little bit of a refactor before doing the recursion - it does a lot of non-trivial setup work before getting to the core, and we'll want to make sure we don't repeat that every time.  It should still be easily doable with the helper in #8752, but it probably wants the inner core refactoring into "setup", "do", and "teardown" components, so we can only recurse the "do" part.

As discussed, I've updated this PR to only recurse the post-setup "run" loop component of the pass, and to use the new utility functions added in #8752.


Fix bug MFA enabled without phone

Fix issue #52

Codecov Report

Merging #58 into master will increase coverage by 0.04%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #58      +/-   ##
==========================================
+ Coverage   49.91%   49.95%   +0.04%
==========================================
  Files          52       52
  Lines        3392     3393       +1
  Branches      546      546
==========================================
+ Hits         1693     1695       +2
+ Misses       1374     1373       -1
  Partials      325      325

Impacted Files
Coverage Δ

lib/feature-operations/scripts/user-signin-ops.js
84.47% <100%> (+0.41%)
:arrow_up:

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 c61b58f...a39c1d3. Read the comment docs.


MarkLine  -  Line chart

How can i make a 'markLine' that are starting from a point (a point that i indicate/set it) on Y axis, goes parallel with X axis, and are ending on the right side of the chart?

Same with https://github.com/ecomfe/echarts/issues/5887


add ipython as a dependency to the visualization extra

add ipython as a dependency to the visualization extra
resolves issue:
https://github.com/MicrosoftDocs/azure-docs/pull/58411

What do you think about taking a dependency on Jupyter instead since the main use case of IPython here is in a Jupyter notebook?

@gregorybchris I think we discussed this in chat already, my comment was that "we can still visualize in environments without jupyter, like databricks, but databricks also has ipython".  We shouldn't be taking a dependency on jupyter, since the widget can be visualized in other environments.  But I think it may be ok for the visualization part to depend on ipython since it is using it directly in the widget.


DTC cannot report more than 3 frames (9 errors) at a time

The raw response is the following, all codes are P0101
9 errors, 3 frames:
43010101010101
43010101010101
43010101010101
10 errors, 4 frames:
43010101010101
43010101010101
43010101010101
43B634F80000000000
When reaching 12 frames it bombs out. Might

Okay tested with toque as well. This might be a bug with OBD2 itself.


using the VAE

I have everything working and integrated with your lib. happily using all the features. But I am stuck at the VAE.  When I include the vae tensors. It runs, no errors, but the image is distorted. I have tried every which way but Sunday to use  different vae's and go between the sd versions. Always ends up the same. Possibly I am supposed to use some specific VAE with the SD version? or need to set some settings specifically? Or maybe the VAE requires a specific resolution to be set?
You could clarify for me which VAE file goes with which SD base file. So I don't have to guess what to do. I did not choose to learn with automatic or webui since they are python based. so possibly I am at a disadvantage to know the obvious.
Also does the image2image work? I see the code looks like its there. but no example how to feed it an image correctly

It would help if you posted the exact command you're trying to use to run it.
img2img works fine, just set the "--mode" switch to "img2img" and provide an input file with "--init-img", you can then adjust the de-noising strength with "--strength".

what is the correct files and sample settings to get vae to work? I am directly compiling and linking into your lib in c# so no command line switches.
Which vae tensor should I use? and is it specific to sd,sdxl,sd2.1,sd1.4? and this issue with fp16?, should I be defaulting to fp32 for vae instead of fp16? There is no error, but the output is slightly disorted image when I include the vae? am I supposed to set Vae decode only? use the decoder vae's only. there's three. vae,vae decoder, and vae encoder tensor's. I did get the img2img to work.
thanks,

In that case I would recommend taking a look at /examples/main.cpp if you want to see how the API is set up and called, and having the cli program compiled to test the same settings and prompt against your C# program would probably be helpful.
I believe that VAEs are usually tied to a base model, eg: a SD1.5 VAE should function with any model based on SD1.5. That said there are exceptions like with ponyXL that has it's own VAE that works better with it.
If you're using an SDXL model there is a known issue that requires a VAE fix when running in half-precision float mode, FP16,  that the program does warn you about on the command line. See: https://huggingface.co/madebyollin/sdxl-vae-fp16-fix


L10 - Spoke Cancel Remote Lab Order

SOTTP USL 10-1 Spoke Cancels Remote Lab Order in CPRS.docx
Completed in Sprint 10
SOTTP USL 10-2 Spoke Cancels Remote Lab Order in VistA.docx

SOTTP USL 10-3 Send Remote Lab Order Cancellation by Spoke to Hub.docx
SOTTP USL 10-4 Remote Lab Order Cancellation by Spoke Processed at Hub.docx
SOTTP USL 10-5 Remote Lab Order Cancellation by Spoke Displays at Hub in CPRS.docx


test(checkbox, icon): new test template

Test migrations

:hammer_and_wrench: Type Of Change

[x] Refactoring

:book: Description
Implementing new test template discussed following Contributing Guideline - Writing Tests for Design System Components

Test contributing guideline markdown pushed 👍🏼


Blank page for Hive wallet on 3.0.20

Just installed 3.0.20 .deb on UbuntuStudio 21.10 Get a blank page when trying to view the Hive wallet. The Ecency wallet displays fine but not the Hive wallet. Doesnt matter what you use to get to it. Either directly through the menu in upper right or on the wallet tab in the settings page.
I tried signing in and out with Hivesigner and without Hivesigner.
3.0.19 did not have this issue.

@unklebonehead thank you for report, yes wallet page was broken, we have just now released new version, could you please try that? https://github.com/ecency/ecency-vision/releases

I see how you are! LOL! Installing now!

And just like that it works!


Auto creation of cases from incoming emails

Changes in this PR
Cases are automatically created by an incoming email when that email cannot be assigned to an existing case.

 #383 Auto create (no case ref) a case from an inbound email that does not contain a case reference


Does ivh tree view has drag and drop support?

Does ivh tree view has drag and drop support? Say I've selected some nodes in the tree by checking the checkboxes, and I'd like to drag those nodes and drop them into another UI control on the page, is this supported?
Thanks

Sorry, there's no support for drag and drop out of the box. You can however implement drag and drop adding the appropriate listeners to your node templates or theoretically dropping in something like angular-dragdrop.
That would make for an interesting demo actually, let me know if you do try it and have a working example you could share. I'll update the site with an example once a get a moment to try it out too.


Create a docker container(s) repo that deploys an awesome OpenSearch cluster

Is your feature request related to a problem? Please describe.
There's no easy way to boot up various interesting docker clusters with OpenSearch.
Describe the solution you'd like
When I needed a working ELK cluster with logstash, ES and Kibana I found https://github.com/deviantony/docker-elk, checked that out and ran docker-compose up, and everything worked. We document how to do docker compose, but we don't actually have anything as easy as docker-elk for users. I'd like a new repo that contains docker-compose configurations for many interesting scenarios (e.g. opensearch + kibana, cluster with X nodes, opensearch + logstash that sends data to it, etc.).

Another option here might be to look at Minikube and Skaffold to create different examples of OpenSearch.
(Minikube is my preference but KinD and plenty of others exist as well).

Another option here might be to look at Minikube and Skaffold to create different examples of OpenSearch.
(Minikube is my preference but KinD and plenty of others exist as well).

I'd love to see a working version of this @DandyDeveloper :) Wink wink.


fix a typo in README

corrected a typo in the template example:
"("project_name" . "%as_n%")" -> ("project_name" . "%p_n%")

Thanks!!


Add Vercel Web Analytics

Start capturing custom events for Search Add to cart Checkout

Could you address the merge conflicts? Will this work when you clone and deploy or do you need to set something up ahead of time?

@leerob I think @timolins mentioned this on Slack. The only problem is that people will need to enable Web Analytics on the dashboard, else they will see a 404 for the script.
I'm wondering if we could introduce a way to automatically enable it when someone deploys with @vercel/analytics installed and not manually disabled it yet.

Interesting feature add, but I feel the nature of requiring this to be enabled in the Vercel Project Settings etc kind of makes me feel that shouldn't be added to this particular codebase as a out of the box solution.
And if you are on the Hobby plan, you can only have the Web Analytics on 1 project if you have multiple projects.
It almost feels like it should be used a specific template/example such as 'with-web-analytics', similar to https://github.com/vercel/next.js/tree/canary/examples

We have decided to leave this out of the template, but should be able to be easily added if the customer wants to do so 🙏


Trouble with some admin settings

I log in as admin, and I can change the title and description, but then I am not able to reliably change the site icon or cover image (after several attempts I somehow randomly got the cover image to change but not the icon).  Are the "select" buttons grayed-out for some reason, or do they just happen to be gray? Here's how I was trying to do it.:

Navigate to Admin (sign in as admin if required) > Gear ("Settings") > General
Select a new Logo Image.
Upload and select.

Expected result: The path to the Logo Image should be updated to whatever you selected. When you click "save" then visit the blog, you should see the new logo instead of the fancy "B".
Actual result:  From Edge I see a flash of a red "Requested JSON parse failed." box, though from Chrome it shows green "updated" box.   Afterward, from either browser the path is still the same and so is the logo.
I'm not seeing any errors or warnings in the visual studio output window or the logs.
blog settings screen snippet (dropbox)
Also I'm unable to remove the facebook social icon.  I tried to remove the node highlighted in the image below but when I click 'save' and refresh the blog itself the icon is still there.  I go back to the theme settings again make sure my 'save' took, and the json was changed OK.
blog theme icons json dialog (dropbox)
I also tried to edit the facebook node so that it points to my own personal facebook profile instead of blogifier's; that didn't work either.
I have tried in the following environments, from Chrome, Edge and Internet Explorer (I don't really care about whether it works in IE; I was just hoping to get it done somehow)

The demo site at blogifier.net
The latest source code (head of master at the date of this edit, 9/28/2019) running from within VS 2019 on Windows 10 with the default settings (SQL Lite and so forth) by simply setting "App" as the Startup Project then clicking the "IIS Express" launch button
Deployed and running behind nginx on MacOS against a Postgres database.

This should work now except Edge. Edge doesn't like function.name in callbacks, will add work around some time tomorrow.

Fixed for Edge too.


Azure load testing: keep Creating forever

I tried to create test in Azure load testing But the portal page show creating forever.
the Jmeter version I using is 5.4.1
please help on this
Document details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 227b66cc-35c1-cd83-9ad3-6a40305fa4d8
Version Independent ID: 491077d3-f319-b870-890d-65a9050f5901
Content: Monitor server-side application metrics for load testing - Azure Load Testing
Content Source: articles/load-testing/how-to-monitor-server-side-metrics.md
Service: load-testing
GitHub Login: @ntrogh
Microsoft Alias: nicktrog

@Ethan033100 Thanks for your feedback; we appreciate it. It looks like you have product feedback rather than documentation feedback. To make sure that this is logged in the right place, please report it in the Azure Load Testing issues. When you do so, it allows you to engage directly with the engineering team while they address and fix the problem.

Thanks. I will close then


Implements tar-like patterns

This is crucial as we don't want to list, much less extract all files in
all layers!
Ex.
$ ./car -tf envoyproxy/envoy-alpine:v1.18.3 'Files/Program Files/envoy/envoy.exe'
error: Files/Program Files/envoy/envoy.exe not found in layer
$ ./car -tf envoyproxy/envoy-windows:v1.18.3 'Files/Program Files/envoy/envoy.exe'
Files/Program Files/envoy/envoy.exe

next after this is the below from tar, which will prevent seeking through many layers after you already found what you need.
     -q, --fast-read
             (x and t mode only) Extract or list only the first archive entry that matches each pattern or filename operand.  Exit as soon as each specified pattern or
             filename has been matched.  By default, the archive is always read to the very end, since there can be multiple entries with the same name and, by conven-
             tion, later entries overwrite earlier entries.  This option is provided as a performance optimization.

looks good sans the comments^ 🚗


Adjust GH actions for SFDO repo usage

 Adjust GH actions for SFDO repo usage.

For some reason the last two builds report 0% coverage, even though going into the files shows them all at 100% 🤔

I'm wondering if it's because main only seems to have coverage information for python files, so all JS data is "new" and can't be compared to a baseline. Maybe it'll fix itself on merge?

I'm wondering if it's because main only seems to have coverage information for python files, so all JS data is "new" and can't be compared to a baseline. Maybe it'll fix itself on merge?

Looks good! https://coveralls.io/github/oddbird/Metecho


feat: arm64/amd64 support for docker images

Scope of this PR is to update github actions settings to build linux/arm64 and linux/amd64 docker images.
References

https://github.com/friendsofgo/killgrave/issues/162
https://docs.docker.com/build/ci/github-actions/multi-platform/

setup tested and validated using ephemeral repo: https://github.com/flabatut/killgrave

Thanks so much @flabatut! 🙇🏻

@joanlopez would it be possible to push the image to dockerhub?


jsonp.afeld.me Application Error

It looks like the website, https://jsonp.afeld.me/,  is currently down,

Application Error

An error occurred in the application and your page could not be served. Please try again in a few moments.

If you are the application owner, check your logs for details.

And it now appears to be up:)

It's down, again

Yep. It's down. Do you need donations to upgrade hosting?

I would consider openshift - it's free and backed by redhat

The problem isn't hosting...the problem is that it was effectively being DDoSed :unamused: Should be up now (have a hack in place to block the particular request, but need to put better protection in place.
/cc https://github.com/afeld/jsonp/issues/70


Master

Signed-off-by: Juliana Lam<EMAIL_ADDRESS>

Hey Juliana, your fork was out of sync and really messed up. I fixed it so you'll need to re-pull locally doing a git pull --rebase.


Delete after generating files in the test phase. coverage will raise no such file or directory error

Describe the bug
Delete after generating files in the test phase
I generated files during the test phase and then deleted them. When outputting the results, coverage scans them. Then, in xmlreport, filenotfounderror: [errno 2] no such file or directory Call HTML_ Report will not make an error
I tried to use omit to filter my temporary file directory, but it didn't work
To Reproduce
python 3 .10
coverage: 6.4.4
FileNorFoundError:[Errno 2] No such file or directory
Additional context
conv = coverage.coverage(
            omit=["*/autoname*/*", './autoname*/*'],
)
conv.start()
for p in paths:
    discover = unittest.TestLoader().discover(str(p), "test*.py")
    _ = runner.run(discover)
conv.stop()
conv.save()
conv.xml_report(outfile=env.coverage_xml_report_path)

try:
    net.save_state()
    dir_path = Path(os.getcwd()).joinpath(net.name if net.name else 'autoname').joinpath(
        'parameters')
    filename = "_parameters_dict.pt"
    file_path = dir_path.joinpath(filename)
    self.assertTrue(file_path.exists())
finally:
    if dir_path.exists():
        shutil.rmtree(dir_path.parent)

  File "/tests/main.py", line 82, in main
    conv.xml_report(outfile=env.coverage_xml_report_path)
  File "/venv/lib/python3.10/site-packages/coverage/control.py", line 1052, in xml_report
    return render_report(self.config.xml_output, XmlReporter(self), morfs, self._message)
  File "/venv/lib/python3.10/site-packages/coverage/report.py", line 35, in render_report
    return reporter.report(morfs, outfile=outfile)
  File "/venv/lib/python3.10/site-packages/coverage/xmlreport.py", line 76, in report
    for fr, analysis in get_analysis_to_report(self.coverage, morfs):
  File "/venv/lib/python3.10/site-packages/coverage/report.py", line 64, in get_analysis_to_report
    matcher = FnmatchMatcher(prep_patterns(config.report_omit), "report_omit")
  File "/venv/lib/python3.10/site-packages/coverage/files.py", line 189, in prep_patterns
    prepped.append(abs_file(p))
  File "/venv/lib/python3.10/site-packages/coverage/files.py", line 154, in abs_file
    return actual_path(os.path.abspath(os.path.realpath(path)))
  File "/usr/lib/python3.10/posixpath.py", line 396, in realpath
    return abspath(path)
  File "/usr/lib/python3.10/posixpath.py", line 383, in abspath
    cwd = os.getcwd()
FileNotFoundError: [Errno 2] No such file or directory

Error line :  conv.xml_report(outfile=env.coverage_xml_report_path)
but if use it's work: conv.html_report(directory=str(env.coverage_report_path))
If I don't delete the directory, there will be no error
if omit=["*/autoname*"]
Traceback (most recent call last):
  File "tests/main.py", line 82, in main
    conv.xml_report(outfile=env.coverage_xml_report_path)
  File "venv/lib/python3.10/site-packages/coverage/control.py", line 1052, in xml_report
    return render_report(self.config.xml_output, XmlReporter(self), morfs, self._message)
  File "venv/lib/python3.10/site-packages/coverage/report.py", line 35, in render_report
    return reporter.report(morfs, outfile=outfile)
  File "venv/lib/python3.10/site-packages/coverage/xmlreport.py", line 77, in report
    self.xml_file(fr, analysis, has_arcs)
  File "venv/lib/python3.10/site-packages/coverage/xmlreport.py", line 174, in xml_file
    xclass.setAttribute("name", os.path.relpath(rel_name, dirname))
  File "/usr/lib/python3.10/posixpath.py", line 487, in relpath
    start_list = [x for x in abspath(start).split(sep) if x]
  File "/usr/lib/python3.10/posixpath.py", line 383, in abspath
    cwd = os.getcwd()
FileNotFoundError: [Errno 2] No such file or directory

Process finished with exit code 1

Can you give me a repo that I can use to reproduce the problem? It will be easier to see all the details that way.

I don't understand why you are deleting a directory you need.  If you can provide more details, feel free to re-open this issue.


Fixed broken alias to supportbundle

Description of changes: There was a small typo in the alias to redirect requests for https://anywhere.eks.amazonaws.com/docs/tasks/troubleshoot/supportbundle/ to https://anywhere.eks.amazonaws.com/docs/clustermgmt/support/supportbundle/. This PR fixes that.

/approve
cherry pick?

/cherry-pick release-0.16

/approve
cherry pick?

Yeah, thanks @TerryHowe ! I got it.


Dependabot - app dependency updates (FY24 Q4)

Benefit
UGRC applications have dependencies that are constantly updating to add new features, improve performance, and patch security issues. Keeping applications current with dependencies improves our security posture and allows for easier future enhancements since the amount of breaking changes is smaller and more trivial.
Acceptance Criteria
Close out the org-wide dependency PRs
Notes
No response
Risks
No response
Issue Reference
refs #

Sprint 2

49 tasks remaining as of Sprint 2, day 1 (some won't or don't need to be done)

I think that this is done. There are a few PRs that are still open but we are waiting on them for various reasons.


[ctp] Update supports expression to exclude static crt

Why?
Is there ci.baseline.txt fallout?

Answering (2) for myself: No.

Answering 1 from Robert's report from today: the actual reason this has been failing in CI ( https://dev.azure.com/vcpkg/public/_build/results?buildId=72504&view=results ) was this.


Typo

There might be a slight typo in this project's README.md file. Kindly see attached photo for your reference:

Thank you so much Augustine for pointing that out. Will get it fixed ASAP. 👍

This issue has now been fixed


Double click on empty header area should open a new tab

We need some action to easily open a new tab via mouse. Chrome has that small square and sublime has double click on empty area to open a new tab.
Since I might not like rendering the extra square, I vote for double click on empty header area opens a new tab - same as sublime.

Same as cmd + N - new untitled-1

UX meeting topic I guess.


drv2605 erm support

This patch adds support for ERM motors to the DRV2605 module, which heretofore only supported LRA devices.
There are also a handful of documentation corrections for the drv2605 driver included as well.

Cant build at the moment, and dont have an ERM on me, but looks pretty straightforward. LGTM


Add audit package in base image

While experimenting with SELinux and elemental I found frustrating no having the audit package installed within the base image. audit nicely keeps track SELinux runtime denials and similar events which could be really relevant for debugging purposes.
I am not sure if there is any reasoning to not include this package as part of the image or it is just not there because noone asked for.

added to ...elemental-testing:images/elemental-node-image
Not sure if audit is available in SLE Micro 🤔


Nav Parsing is too strict

Description
Upon updating to v3.2.2 Epubs are now throwing this exception for MANY of my users epubs. Is there potential to have a PackageReaderOptions setting to not throw on invalid nav and just fail silently?
The reality of the situation is many people have bad epubs, publishers rarely pack them correctly. I'm in a constant battle to support broken epubs. This library is the absolute best out there, but I need some more flexibility to allow some invalid epubs.
Is this feasible for you?
VersOne.Epub.Epub3NavException: EPUB parsing error: 'nav' element in the navigation file does not contain a required 'ol' element.

Nav page:

Cover

Sample EPUB file
I can email you an epub. Git commits signed with an email that will reach me.
EPUB specification link

Additional context
Hope you are well, still looking forward to your Audio/Media implementation :)

I just rolled back to v3.3.1 and experienced the same, I think it's due to my other issue I rolled out.
https://github.com/vers-one/EpubReader/issues/91
I suppose the fix here, which is valid, also means that parsing is much stricter. I think a setting to allow how to report (throw exception or silently fail) would be the best (and i can pass that responsibility to my users).

Is it just this NAV parsing error or are the more? Could you post the list of errors you would like to be able to ignore?

The only other one I can think of that might be nice to ignore is when the opf points to a file that's not in the archive. This seems to be very common as well and seems fit for a silent fail. I can look up the exception after work.

Implemented. Will be released in version 3.4 in about a week.


Question regarding VAT field in item objects

What is the "vat" property for? Tax rate or tax value?
$lines[] = new \Omnipay\Payone\Extend\Item([
    'id' => '{merchant-site-stock-ID}',
    'vat' => 20, // Optional
]);

Good question. I believe it is both :-)
I added a note here:
https://github.com/academe/OmniPay-Payone/blob/master/src/Extend/ItemInterface.php#L26

(values <100 and >100 have different meanings)
value < 100 = percent; value > 99 = basis points

I've added a  note to the README. Please reopen if the note is not clear.


revmap this package?

From unordered-containers's benchmark and other places, it seems hashmap is faster at inserting but slower at reading, maybe more suitable under some situations?
I'd like to revmap this package with more benchmark and add Strict/Lazy modules, does that make sense? @foxik

As documented, I consider this package to be deprecated (and not to be developed further).
The problem is that it uses the same module names as unordered-containers. If you are interested in using the algorithms from hashmap package, probably the best way would be to create a new package with new module names (not to clash with unordered-containers).
But maybe I see it wrongly -- please do not hesitate to discuss your reasons here.

I would say keep same name and same API is actually a nice thing, user can easily switch package and do benchmark without changing code, even if someone really need use both, ghc aupport package qualification. What do you think?

Currently I am inclining on revamping the hashmap (well, letting @winterland1989 do it as I do not have time nor motivation to do it myself).
@tibbe Do you have any thoughts on this? It seems people are using hashmap, so it would make sense to work directly on hashmap; but I am a bit worried about the same module names and possible confusions with unordered-containers (but as people are using hashmap, all the problems did not stop them using it).

OK, I'll try create a new package and do more benchmark to see if it worth sharing.
One more question, why use Some not Map directly as leaf? Is there some speed advantage?

If people want the different speed tradeoff of hashmap I don't mind if the names collide (it might actually be helpful so they can switch back and forth).

@winterland1989 Ok, so if you are willing to do it, please go ahead. However, I have some remarks:

please try disrupting the existing API as little as possible (ideally not changing it at all).
Notably, please follow the containers way of Strict/Lazy split (using the same datatype, etc.), and then please export the Data.HashMap.Lazy in Data.HashMap (so that people can still use the Data.HashMap; and if there are some functions in Data.HashMap which are not in Data.HashMap.Lazy, keep then in Data.HashMap [this is done in Data.Map, but I did not see such a function at a first glance])

the Some datatype is there to save memory and increase speed. If there are no collisions, you only allocate one Only node; if Map is used, the Bin is larger by three elements (Size, left Tip, right Tip) and you have to pattern patch the left and right child to see it is a Tip.
If you want, try benchmarking hashmap without it, but my guess is that it will be better with Some node.
An alternative would be to add the third node One to Data.Map/Data.Set representing a set of one element (I have benchmarks showing that it would increase performance [quite a lot for fold, for example, where only circa half the nodes have to be traversed as the Tips on the leaves do not have to be traversed] and decrease memory complexity, but I never had time to implement it) -- if this happened, the Some datatype could go away

after you implement (and benchmark) it, please send a pull request. I will look into it, and if it is OK, I will make you a maintainer of the package, if you like (as I do not have time&motivation to do it myself, as I said earlier).

OK, thanks for your advice! I'll come back to you when it's ready.

Apologies if this is the wrong place to ask this question: What were the reasons behind the deprecation in favor of unordered-containers?

@sjakobi The unordered-containers seemed to be a more complete and more managed alternative, with quite similar performance characteristics (compared to other containers), so I decided to let it have the Data.Hash(Map|Set) name.


Utilize Besselian Elements for more accurate everything

Besselian elements are available on all NASA eclipse pages (example). Using these data (as opposed to surface-level derived track data) will allow for more accurate umbral shadow tracing, more accurate limit lines with arbitrarily many points, penumbral shadow modeling, etc.
This is a BIG task as modeling Besselian elements within a WGS-84 ellipsoid model of the earth is much more advanced Python and CesiumJS.

Hi Frencil,
I just adding the eclipse path and shadow to Flowx, my Android weather app (I hope you have an Android). I found your path data and am using it - thanks very much.
I was just comparing the ellipse from your data to the recent NASA data and found they were very different, especially when the shadow hits Oregon. Is the difference between an ellipse and Besselian elements this big?
I'm going to compare my math using sun altitude to your code tonight but thought I'd get in touch first.
BTW, feel free to email (via the Google Play Flowx page or app) and I can send you an alpha version which has your data in it.
Cheers, Duane.

The difference between my approximated ellipse width and the actual shape of the umbral shadow can indeed be quite large... consider that at the ends of most tracks (where the eclipsed sun is rising or setting) the shadow isn't even an ellipse but more of a bell shape that bleeds into the night side of Earth.
To accurately draw the shape of the shadow the Besselian elements provide the raw numbers needed to construct a three dimensional model of the umbral and penumbral cones. One can then calculate arbitrarily many intersection points between those cones and the surface of the Earth to construct the exact shape of the shadow at any point during the event.
This is approach is very different from my current approach of scraping pre-generated values to construct paths. These tables (originally generated using Besselian elements) only provide north/south limits for the track along with a few other pieces of information, but nothing to inform the shape of the shadow at any given point. Using these tables that's entirely up to me to figure out.
You can see my (admittedly simplistic) approximation of the semi-major axis for the ellipse here. Basically I make it half the width of the path at that point. This makes the ellipse too skinny for big lengthy events like the one happening this August, but makes it just the right amount of skinny for events that get into high latitudes.
I have a lengthier write-up on this problem here. I still plan to build a proof-of-concept that translates Besselian elements into a useful 3D model that can then be translated into CZML for display on EclipseTracks, but that's a big project that likely won't see much attention before this August's eclipse.

Thanks Frencil.
I started scraping the path data too and then I found your czml files with the rotation, semi-major and semi-minor axes, which is what I wanted.
I did read your "lengthier write-up" but was surprised by the margin of error.
Thanks for the explanation of the simplistic approximation. It's good to know it's different to the approach I was pondering at 3 am this morning, and I'm still not sure if it's correct or it'll work. Given the center, north/south limits, the altitude (angle of the cutting plane on a cone) and the azimuth (rotation of the ellipse), I was going to calculate ellipse shape and scale it until it touched the north and south limits. Essentially, the scaling is changing the angle of the cone or the height of the cutting plane of a cone. If I have time after the release of the solution below, I'll try it out.
Last night I got the kml data from the super accurate NASA eclipse shadow shapes and fitted an ellipse to these. It did pretty well except for the extreme ends. So I'll try and add these ellipsis today. Happy to share the results if you wish.
Cheers, Duane.

@duanemalcolm could you share the source of NASA KML data? I'd be interested to see if they've generated it to the same degree for past and future eclipse events. If it's a better stand-in for ingest than the NASA eclipse tables I'm currently using that could be an easier approach (i.e. still scraping pre-generated values instead of building my own model from the base elements).
Otherwise, I do recall playing a bit with altitude/azimuth to try to get the semi-major axis but yeah, that same problem creeps back in where the shadow just isn't always an ellipse. However in lieu of full modeling it may be worth a second look at that. I'd be interested in seeing how you use those values to come up with your shadows, if you get a working prototype there.

Here is the gist
You can download the low-res KML files from here: https://svs.gsfc.nasa.gov/4518
I found a bug and now they fit quite well apart from the extremes.
Incidentally, changing "w_umbra17" to "umbra_17", because it shows the irregular shape.
I think the approach I suggest will be quick to test and add to your tracker.

I have a json file of the major/minor axes (in cartographic degrees) and rotations at 2m intervals. It's not super pretty but good enough. How is the best way to get a file to you. You'll need to convert the major/minor's into meters and convert to czml but it's pretty straightforward.

@duanemalcolm thanks for this... unfortunately I'm not sure it would be useful to convert the KML file for this upcoming eclipse event for this project. EclipseTracks is intended to show arbitrarily many past and future eclipses, and currently features just over 100 years worth of eclipse events. The KML available at the link you provided looks like it may make for a more accurate track for the 2017-08-21 event but that leaves all the other events unchanged.
The general solution I'm looking for is one that I can run against any eclipse event and generate a valid CZML file. This is where I end up always coming back to the Besselian elements... it's likely the KML linked above was originally generated using Besselian elements for the August 2107 event. From the NASA eclipse site I can get Besselian elements for any eclipse event dating back and forward for many centuries, so really I need to build the pipeline that can convert an arbitrary set of Besselian elements into a valid CZML track.
I may yet look to the work in the gist you provided, though, to at least generate better ellipse shadows for the current tracks in the current pipeline, seeing as I do get altitude and azimuth data from the track tables.

@Frencil The gist I sent only fits an ellipse to the KML data. I have the results of that as a easy to read json file. I agree it's not general for all events but it does improve the shape a lot and may be useful for just this event.
I agree that using the Besselian elements if the way to go but it indeed a big job.


[BUG] Make Mobile Responsive

Description
Problem: The input elements in the modal for the generators on mobile go out of the modal a little.
Solution: it's probably a padding or margin doing that. Use media query to make it fix in the modal container
Screenshots

Description
Problem: The input elements in the modal for the generators on mobile go out of the modal a little.
Solution: it's probably a padding or margin doing that. Use media query to make it fix in the modal container
Screenshots

I can work on this!

I can work on this!

Can I work on this issue?

Can I work on this issue?

Sure

Can I work on this issue?

Sure

I checked the website on my mobile, it's responsive!!

Can I work on this issue?

Sure

I checked the website on my mobile, it's already responsive!!

It's not, open it on your phone and open a generator

Can I work on this issue?

Sure

I checked the website on my mobile, it's already responsive!!

It's not, open it on your phone and open a generator

Check this ⬇

Can I work on this issue?

Sure

I checked the website on my mobile, it's already responsive!!

It's not, open it on your phone and open a generator

Check this ⬇

Use your laptop and then adjust it

Use your laptop and then adjust it

At which viewport?

Use your laptop and then adjust it

On which viewport?

Every check it

Can I work on this issue?

Sure

I checked the website on my mobile, it's already responsive!!

I had a issue on this for many of my projects, it all depends on the phone size, usually iPhones and all tend to be a issue but Androids not so much, while 50% of phones may be responsive to the website, another 50% or so it's not responsive, it all depends on the phone brand, so while working on this issue, we will have to adjust the size depending on the model of the phone, if possible (but I've never gotten to doing this).

I had a issue on this for many of my projects, it all depends on the phone size, usually iPhones and all tend to be a issue but Androids not so much, while 50% of phones may be responsive to the website, another 50% or so it's not responsive, it all depends on the phone brand, so while working on this issue, we will have to adjust the size depending on the model of the phone, if possible (but I've never gotten to doing this).

I use an android tho, but no worries i will work on this

:tada: This issue has been resolved in version 1.12.3 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Improper Tagging

When making a Forge profile in the CF app, the mod pops up despite being a Fabric-only mod, which isn't supposed to happen. This just clogs it up for people trying to find more origins for the Forge version of the Origins mod, so I would highly recommend getting that sorted, as it can be frustrating to have to go through a long list of mods that don't work but appear anyways.

Should be fixed I believe, one of the older files weren't marked as fabric.


authentication issue

Hi there, thanks for the useful hook.
I'm not sure if my issue regarding the auth is related to this hook or it needs to be escalated to supabase. Let me know!
So, I wrote these two hooks.
function useRedirectToDashboard() {
  const { auth } = useSupabase();
  const router = useRouter();
  useEffect(() => {
    if (auth.user()) {
      router.push("/projects");
    }
  }, [auth]);
}

function useSecure() {
  const router = useRouter();
  const { auth } = useSupabase();
  useEffect(() => {
    if (!auth.user()) {
      router.push("/sign_in");
    }
  }, [auth]);
}

As the names imply, I use useSecure at the beginning of pages that require login. I use useRedirectToDashboard at /sign_in page, so that when a user is already signed in, then so that they can be redirected to the dashboard.
I'm having two issues:

After a certain amount of time, I get back to my website, and I guess the session is expired. And useSecure doesn't work. It still has auth.user() so it won't redirect to /sign_in page. However, please correct me if I'm wrong, isn't it something I should refresh the token and keep the session alive instead of sending the user to the sign in page? I'm not so knowledgeable on this topic.

In many cases, when (1) happens, I'm redirected to sign-in page and immediately get redirected back to the dashboard. It means, in that second, auth.user() was falsey and now truthy again.

Thanks for reading!

Hi @eunjae-lee thanks for the issue!
can you provide a little but more information on your issue:

framework
which library does useRouter come from?

If possible can you please give a link to a repo or send a zip file to help reproduce?

Hi @eunjae-lee thanks for the issue!
can you provide a little but more information on your issue:

framework
which library does useRouter come from?

If possible can you please give a link to a repo or send a zip file to help reproduce?

I'm assuming this useRouter comes from NextJS, you can read it here https://nextjs.org/docs/api-reference/next/router

I will close this as it is inactive

Sorry I was busy and off for a while. I'll come back if I get more information.


Normalize numeric columns after perform a LazyFrame IO read

We want to keep numeric columns only using either Int64 of Float64, so we should cast integer and float columns that are not using those two types.
Extracted from https://github.com/elixir-nx/explorer/pull/470

@philss do we do this? Happy to pick it up if not.

I don't think we do it, so a patch is necessary. But at some point we should also discuss adding more precision to types (which I know you don't want to :D).

I have seen the light and am happy with adding more precision to types, especially since we get zero copy with Nx. I think it's possible we should have a default precision so we can still have just :integer and :float (or some other solution to keep things simple for easy data exploration) but I could be convinced otherwise. I do think folks will footgun if we're not careful.

I think keeping :integer and :float, with their current meanings, is completely fine, as they are the closest to their current precision on the Erlang VM.

So we would just add more types w/ additional precision? E.g. keep :integer but add :i32 for example?

I would follow Nx here. So I would add: {:u, 32}, {:s, 32}, {:f, 32} and so on. Probably start with floats as they are simpler.

I'm closing this issue because it does not makes sense anymore. I should open a new issue for the remaining work on supporting the new integer dtypes.


Required Custom Fields

Hey there!
I would like to know if it's possible to set the "Required" option from a custom field. Im trying to do so by doing the following, but it's ignoring the required status.
{                 key: 'photo_url',                 type: 'profile-picture',                 templateOptions: {                   required: true,                   label: 'Profile Picture',                   options: [],                 }, },
Thanks in advance!

validation message is included in form-field wrapper so use one of the following solutions:

use form-field wrapper in your custom field type:

    FormlyModule.forRoot({
      types: [
        {
          name: 'custom',
          component: CustomFieldType,
+          wrappers: ['form-field'],
        },
      ],
    }),

or include formly-validation-message component

<formly-validation-message *ngIf="showError" [field]="field"></formly-validation-message>


LGBMRanker prediction value explain

How can one explain the score/value of LGBMRanker (lambdarank) prediction? Thanks!

I don't answer the question but it may help.
The relevance score is used to determine final ranking order. Values seems to vary from -??? to 1 #[648].
Output is the predicted score for each item passed as input to the predict function.
The score is the value of the leave defining the input item in the tree.
If the predict output is like [-0,10, -0.033, 0.5, 0.6, 0.3], you have to understand that the final order (from highest predicted relevance to lowest) will be [3, 2, 4, 1, 0] (index in input dataset).
If your dataset have qid/group, the score have to be sort within each qid/group.

@MadRabbit05 Thanks for youre explanation. I'm wondering if there's any scientific papers/blogs to present a formal explanation.


Python2 support ?

Hi there,
Thanks for your Python3 wrapper.
For those who developed in Python2, would you please provide a Python2 wrapper?

Hi,
Do you have some news about python 2 support?