1.7.0 Stacktrace when verifying HTTPS web server URLs

Issue Description
I get a stack trace when I click "Verify URL" or Start to send emails for a campaign and the Web Server URL uses the HTTPS protocol.
Previously in version 1.6.0, when my Web Server URL had "https://kp.brandingbrand.com/", it would fail to verify, but I could switch to "http://kp.brandingbrand.com" as a check. Sending emails still worked with a warning that the secure URL couldn't be verified. Emails would send successfully with the "https://" URL embedded correctly.
In 1.7.0, verifying or sending emails always fails with a stack trace when using HTTPS.
I'm able to connect to the HTTPS URL from a browser on the client (Windows) and server (Ubuntu) systems. Could this error be caused by our use of AWS ACM certificates on an ELB? We have KP running behind an ELB (reverse proxy) so KP itself isn't listening on HTTPS.
Reproduction Steps

Configure KP behind a load balancer that terminates HTTPS connections
Configure a campaign URL with HTTPS
Click 'Verify URL'

Environment Details
Host OS: Ubuntu 16.04
Client OS: Windows 7 Pro
King Phisher Version: 1.7.0 (client and server)
Error Details / Stack Trace
Error Type: OpenSSL.SSL.Error
Error Details: Error([('system library', 'fopen', 'No such process'), ('BIO routines', 'BIO_new_file', 'no such file'), ('x509 certificate routines', 'X509_load_cert_crl_file', 'system lib')],)
Error UID: d92d028b-de03-4cf7-a8a0-37dc19f6551a
RPC Error: N/A (Not a remote RPC error)
King Phisher Version: 1.7.0
Platform Version: Windows: 7 6.1.7601 SP1 Multiprocessor Free (Frozen=True)
Python Version: 2.7.12
Gtk Version: 3.14.15
Timezone: America/New_York

Thread Information:
 => MainThread (alive=True daemon=False)
    Thread-1 (alive=True daemon=False)
    Thread-2 (alive=True daemon=True)
    Thread-6 (alive=True daemon=True)
    Thread-7 (alive=True daemon=True)

Stack Trace:
Traceback (most recent call last):
  File "Y:\FastStorage\king-phisher-release\king-phisher\king_phisher\client\tabs\mail.py", line 859, in signal_button_clicked_verify
  File "Y:\FastStorage\king-phisher-release\king-phisher\king_phisher\client\tabs\mail.py", line 91, in test_webserver_url
  File "C:\Python27\lib\site-packages\requests\api.py", line 70, in get
  File "C:\Python27\lib\site-packages\requests\api.py", line 56, in request
  File "C:\Python27\lib\site-packages\requests\sessions.py", line 488, in request
  File "C:\Python27\lib\site-packages\requests\sessions.py", line 609, in send
  File "C:\Python27\lib\site-packages\requests\adapters.py", line 423, in send
  File "C:\Python27\lib\site-packages\requests\packages\urllib3\connectionpool.py", line 600, in urlopen
  File "C:\Python27\lib\site-packages\requests\packages\urllib3\connectionpool.py", line 345, in _make_request
  File "C:\Python27\lib\site-packages\requests\packages\urllib3\connectionpool.py", line 844, in _validate_conn
  File "C:\Python27\lib\site-packages\requests\packages\urllib3\connection.py", line 326, in connect
  File "C:\Python27\lib\site-packages\requests\packages\urllib3\util\ssl_.py", line 308, in ssl_wrap_socket
  File "C:\Python27\lib\site-packages\requests\packages\urllib3\contrib\pyopenssl.py", line 411, in load_verify_locations
  File "C:\Python27\lib\site-packages\OpenSSL\SSL.py", line 533, in load_verify_locations
  File "C:\Python27\lib\site-packages\OpenSSL\_util.py", line 48, in exception_from_error_queue
Error: [('system library', 'fopen', 'No such process'), ('BIO routines', 'BIO_new_file', 'no such file'), ('x509 certificate routines', 'X509_load_cert_crl_file', 'system lib')]

@wolfthefallen I spent some time trying to reproduce this on Linux and KP v1.7 without success. From looking at the error message it looks like it might be specific to the frozen build since it's complaining about ('system library', 'fopen', 'No such process'). The fopen part makes me think it's missing a file in the frozen build, in which case it will probably work when it's not frozen but break when it is.
Can you take a look at it tomorrow?

I wasn't able to reproduce on Kali linux running v1.7.

I have reviewed the stack Trace and I am 95% certain that the windows build is missing a sub-dependency in the windows build. I should have it confirmed shortly.

This issue was caused by python requests library not having access to its cacert.pem file for certificate verification in a froozen state. This issue has been fix and been released with version 1.7.1 .

Fix in commit 41a9c183f93b68fd1fdaed5bc7f49232df4869fc.

Thanks. I can confirm that v1.7.1 fixes this issue.


Custom texts in library?

Hi,
I'm wondering if besides the appupdater_btn_disable and appupdater_btn_update there's a way to customize the message displayed to the user as I want to show it in the user's language.
Thanks

Check out the latest 1.2 update! Custom title, description and buttons are now supported.
// Customize the dialog title, description and buttons
.setDialogTitleWhenUpdateAvailable("Update available")
.setDialogDescriptionWhenUpdateAvailable("Check out the latest version available of my app!")
.setDialogButtonUpdate("Update now?")
.setDialogButtonDoNotShowAgain("Huh, not interested")
.setDialogTitleWhenUpdateNotAvailable("Update not available")
.setDialogDescriptionWhenUpdateNotAvailable("No update available. Check for updates again later!")

Wow, perfect!!! Thanks a lot @javiersantos

Just one thing, is it possible that the translation app_name marked as non-translatable is included in the french translation of the library? Gradle gave me a warning about that

Sure! Next update will solve the Gradle warning :+1:


ref is called as a reactive parameter and effectFn is triggered multiple times when updated

Vue version
3.2.37
Link to minimal reproduction
https://sfc.vuejs.org/#eNp9kE1qwzAQha8yaGMbHIl0aZxAT9ALaOOacepg/TAauQvju3ccpd01AoGe5tMT723qPUa9ZlSd6tNIc2RIyDlerZ9dDMSwEQ4jzyu2QDi1gNOEI+8wUXBQydPK+jH4xEBwEaTAtbD1uWmsL3xdN3C5wmY9wEGHBfUSbnVFXSXGeh2WjELvso2Bj8wxcwcP8buog7P1T1b+evsXFbIMX+relMSSVQSji8vAKKo3f0K1qvRwckPU9xS8NPVIYZ+DZFVXch130sehrfpijqkzJk3j0e896UA3IydN2fPsUGNyp08K3wlJjK06LHZpQO0/O++Bng==
Steps to reproduce
Open the browser console to view the output.
What is expected?
When assigning a value to r.value, effectFn should be called only once.
What is actually happening?
effectFn was triggered three times and the output was printed three times.
System Info
System:
    OS: macOS 12.2
    CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
    Memory: 1.47 GB / 16.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 14.18.3 - ~/.nvm/versions/node/v14.18.3/bin/node
    Yarn: 1.22.18 - ~/.nvm/versions/node/v14.18.3/bin/yarn
    npm: 6.14.15 - ~/.nvm/versions/node/v14.18.3/bin/npm
  Browsers:
    Chrome: 103.0.5060.134
    Safari: 15.3
  npmPackages:
    vue: ^3.2.37 => 3.2.37

Any additional comments?
Code behaviour does not match type. The reactive function type is:
export type UnwrapNestedRefs<T> = T extends Ref ? T : UnwrapRefSimple<T>
export function reactive<T extends object>(target: T): UnwrapNestedRefs<T>

When target is ref, the target should be returned directly, but instead ref is actually wrapped as responsive, resulting in dependencies being collected on all three properties of value and _value of ref. Eventually, when the value value is updated, it is also updated internally for _value, resulting in effectFn triggering three times.

double triggering the effect, might be something that can be fixed, but perhaps with a different approach.
Returning the ref when you pass it through  reactive()
might not be expected or desired.
let myRef = ref(0)
const myReactive = reactive(myRef)
console.log(isReactive(myReactive)) // actual:false.  expected:true
console.log(myReactive === myRef) // true

https://github.com/vuejs/core/blob/a95554d35c65e5bfd0bf9d1c5b908ae789345a6d/packages/reactivity/src/computed.ts#L55-L64
@lidlanca There is also handling of duplicate triggers in computed, but this does not seem to fix the problem, it only solves the dependency collection on the _value attribute, but the value attribute still collects dependencies and the number of duplicate triggers is only reduced by one.
Yes, I realise that handling it in reactive() is not a good practice, and perhaps it is the right thing to do in get() to determine whether or not to collect dependencies via isRef(toRaw(target)).

@hubvue
it will probably be best to avoid passing a ref directly to reactive()
I don't see a good reason to wrap a ref in reactive()
do you have a practical use case, where that was necessary  to do?

@lidlanca
I don't have such a usage scenario, I was struggling to understand the reactivity source code and when I saw the type signature of the reactive(), I realized that there was no associated processing logic.
export type UnwrapNestedRefs<T> = T extends Ref ? T : UnwrapRefSimple<T>
export function reactive<T extends object>(target: T): UnwrapNestedRefs<T>

return it when type T is Ref

Then I saw a similar treatment in computed, but it doesn't seem to have solved the problem.
This was my original intention in asking the question and the PR.
There are many different ways of using the user code and if this is not dealt with, then I think it is only a matter of time before a bug appears.

the types seem to be inferred correctly ( unless I miss understand your point)

there is no reactive type per say, as it is basically a transparent proxy with the exception of nested refs that get unwraped to their inner type)
when someone wrap a ref in a reactive proxy, they should expect the cost and behavior  associated with 2 layers of reactive tracking.
const r = ref(0)
const r2 = reactive(r)

// here the effect observes 2 reactive accesses   r.value and r2.value
// that is why you would expect the effect  to be triggered  **twice** when `r2.value`  is mutated
// and only once when `r.value` is mutated directly.

effect(()=>{ console.log(r2.value)})

r.value++ // logs 1
r2.value++ // logs 2 2 2

the main problem here, is that it is being triggered 3 times instead  of 2 times.
because the reactive tracks the ref internal _value access.
and so the effect is called for r.value r2.value and r._value

This is now triggering twice in 3.5 - once for ref being mutated, and once for .value being mutated as a proxied property. IMO triggering twice is the expected behavior.


Can't entirely remove target attribute from regular URL?

I have a function that includes this:
if (context) {
    context = context.linkify({
        formatHref: {
            mention: href => 'https://twitter.com' + href,
        },
        target: {
            url: null,
        },
        nl2br: true,
    });
}

Setting target to null still results in target="_blank" being set in the output though. Looking at linkify-string.js, it seems that it's only looking for it to be set to something other than null, and if it's null it applies the default target? Is there any easy way to remove the target entirely (similar to #144 for linkClass)? I'm running linkify v2.1.4.
Thanks!

Fixed in v2.1.6


[pt run] Image.cache in use somehow

ℹ Computer information

PowerToys version: v0.21.1
PowerToy Utility: powertoysrun
Running PowerToys as Admin: yes
Windows build number: Microsoft Windows NT 10.0.19041.0

Version: <IP_ADDRESS>
OS Version: Microsoft Windows NT 10.0.19041.0
IntPtr Length: 8
x64: True
Date: 09/21/2020 11:25:15
Exception:
System.IO.IOException: The process cannot access the file 'C:\Users\Vafo\AppData\Local\Microsoft\PowerToys\PowerToys Run\Cache\Image.cache' because it is being used by another process.
at System.IO.FileStream.ValidateFileHandle(SafeFileHandle fileHandle)
at System.IO.FileStream.CreateFileOpenHandle(FileMode mode, FileShare share, FileOptions options)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
at System.IO.FileStream..ctor(String path, FileMode mode)
at Wox.Infrastructure.Storage.BinaryStorage`1.TryLoad(T defaultData)
at Wox.Infrastructure.Image.ImageLoader.Initialize(Theme theme)
at PowerLauncher.App.<>c__DisplayClass16_0.b__1()
at Wox.Infrastructure.Stopwatch.Normal(String message, Action action)
at PowerLauncher.App.OnStartup(Object sender, StartupEventArgs e)
at System.Windows.Application.OnStartup(StartupEventArgs e)
at System.Windows.Application.<.ctor>b__1_0(Object unused)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
2020-09-21.txt
📷 Screenshots

2020-09-21.txt

Have you opend image.cache in another app?

@VafoBakoev the only thing that should have that settings file open is PT Run which is why @Aaron-Junker mentioned this.

it all happened after update, i start PT Run searchin for folder, writing its name but it does'nt show it, after some days it started to popup something went wrong. About image.cache i have no idea.

this should be solved with how we've adjusted stuff.  @VafoBakoev does this still happen with 0.25?


26	curl shoult be cURL

Description of the change:
Reason for the change:
Link to original source:

Closes #

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

Hello @ecampos2,Thanks again for the PR! We want to show our appreciation by sending                                              you some swag. Could you please fill out                                              this form so we can send it to you? Thanks!                                             Team SendGrid DX


adding the chaos testing suite to cnf repo-added a pod delete test

Please do not merge this PR until v4.0 has been released.

v4.0.0 was released yesterday, we can merge this now.


[Model Converter] ERROR: error loading package 'mace/proto'

Hello.
I'm trying to convert the mace model, but it fails.
What can I do to fix a problem?
Thanks for your attention.
Before you open an issue, please make sure you have tried the following steps:

Make sure your environment is the same with (https://mace.readthedocs.io/en/latest/installation/env_requirement.html).
Have you ever read the document for your usage?
Check if your issue appears in HOW-TO-DEBUG or FAQ.
The form below must be filled.

System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): 16.04
NDK version(e.g., 15c):
GCC version(if compiling for host, e.g., 5.4.0):
MACE version (Use the command: git describe --long --tags):  v0.13.0-0-g9a06864
Python version(2.7):  Python 2.7.16 :: Anaconda
Bazel version (e.g., 0.13.0): bazel release 0.22.0

Model deploy file (*.yml)
......

Describe the problem
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the problem:
1. cd /path/to/mace
2. python tools/converter.py convert --config_file=/path/to/your/model_deployment_file

Error information / logs
Please include the full log and/or traceback here.
CMD> bazel version
INFO: Invocation ID: 07bb23e2-367f-4b20-900e-cd57e7b55f5c
Build label: 0.22.0
Build target: bazel-out/k8-opt/bin/src/main/java/com/google/devtools/build/lib/bazel/BazelServer_deploy.jar
Build time: Mon Jan 28 12:58:08 2019<PHONE_NUMBER>)
Build timestamp:<PHONE_NUMBER>
Build timestamp as int:<PHONE_NUMBER>

CMD> bazel build //mace/proto:mace_py
INFO: Invocation ID: c4126b15-7b77-4d0e-8201-0ec154698aad
Loading:
Loading: 0 packages loaded
ERROR: Skipping '//mace/proto:mace_py': error loading package 'mace/proto': Encountered error while reading extension file 'protobuf.bzl': no such package '@com_google_protobuf//': The native http_archive rule is deprecated. load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") for a drop-in replacement.
Use --incompatible_remove_native_http_archive=false to temporarily continue using the native rule.
WARNING: Target pattern parsing failed.
ERROR: error loading package 'mace/proto': Encountered error while reading extension file 'protobuf.bzl': no such package '@com_google_protobuf//': The native http_archive rule is deprecated. load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") for a drop-in replacement.
Use --incompatible_remove_native_http_archive=false to temporarily continue using the native rule.
INFO: Elapsed time: 0.067s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded)
FAILED: Build did NOT complete successfully (0 packages loaded)

ERROR: tools/python/py_proto/__init__.py:43: Failed in proto files' building

Additional context
Add any other context about the problem here, e.g., what you have modified about the code.

Please use an older version of bazel, e.g., 0.13.0

Thank you for your help.


Update README.md

removed irrelevant information

Thank you for your comments.  I forgot to add a line in the prologue which makes the closing QA make sense https://github.com/sotownsend/BooJS/commit/3142f5d371ef479f6ba65cea23a9b7a3e10e9135


Error spark.webserver.MatcherFilter

So far this past week I've factory reset a harmony hub, one of my Unifi AP's and reinstalled the OS along with the Ha-Bridge on a pi2. Everything works fine except I can't get Harmony to connect to the Ha-bridge -- it was fine until I updated the harmony hub. The Ha-Bridge is fine with connecting with Harmony Just not the other way around.
I noticed that the problem people were having was with the Ha-bridge connecting to Harmony. Does anyone have the Harmony connected to the Ha-bridge? Meaning that you use a harmony remote to control vera scenes with the use of the Ha-bridge. When I click on scan for devices on wifi it will find the Harmony Hub, after I click on it the screen comes up saying to press the center button on the hue bridge to pair with the harmony hub. After a minute or so it will come up with an error unable to pair with device.
Checking the log on the Ha-bridge it keeps repeating itself with an error spark.webserver.MatcherFilter.
If I'm the only one that's having this problem I'll keep at it, but I'm pulling my teeth out over here. I would appreciate it if someone can tell me that they get the same error or if there's is working.
Thank you,

This is what I get in the log when they're attempting to connect to one another
12-03-2016 03:48:03.169	ERROR		spark.webserver.MatcherFilter
12-03-2016 03:48:03.195	INFO	Traceupnp: isSSDPDiscovery found message to be an M-SEARCH message.	com.bwssystems.HABridge.upnp.UpnpListener
12-03-2016 03:48:03.196	INFO	Traceupnp: isSSDPDiscovery found message to be valid under strict rules - strict: true	com.bwssystems.HABridge.upnp.UpnpListener
12-03-2016 03:48:03.196	INFO	Traceupnp: SSDP packet from <IP_ADDRESS>:59301, body: M-SEARCH * HTTP/1.1
HOST: <IP_ADDRESS>:1900
MAN: "ssdp:discover"
MX: 2
ST: urn:schemas-upnp-org:device:basic:1
com.bwssystems.HABridge.upnp.UpnpListener

12-03-2016 03:48:03.198	INFO	Traceupnp: sendUpnpResponse discovery responseTemplate1 is <<<HTTP/1.1 200 OK
HOST: <IP_ADDRESS>:1900
CACHE-CONTROL: max-age=100
EXT:
LOCATION: http://<IP_ADDRESS>:80/description.xml
SERVER: Linux/3.14.0 UPnP/1.0 IpBridge/1.15.0
hue-bridgeid: B827EBFFFE92AAE6
ST: upnp:rootdevice
USN: uuid:2f402f80-da50-11e1-9b23-b827eb92aae6::upnp:rootdevice

com.bwssystems.HABridge.upnp.UpnpListener
12-03-2016 03:48:03.199	INFO	Traceupnp: sendUpnpResponse discovery responseTemplate2 is <<<HTTP/1.1 200 OK
HOST: <IP_ADDRESS>:1900
CACHE-CONTROL: max-age=100
EXT:
LOCATION: http://<IP_ADDRESS>:80/description.xml
SERVER: Linux/3.14.0 UPnP/1.0 IpBridge/1.15.0
hue-bridgeid: B827EBFFFE92AAE6
ST: uuid:2f402f80-da50-11e1-9b23-b827eb92aae6
USN: uuid:2f402f80-da50-11e1-9b23-b827eb92aae6

com.bwssystems.HABridge.upnp.UpnpListener
12-03-2016 03:48:03.200	INFO	Traceupnp: sendUpnpResponse discovery responseTemplate3 is <<<HTTP/1.1 200 OK
HOST: <IP_ADDRESS>:1900
CACHE-CONTROL: max-age=100
EXT:
LOCATION: http://<IP_ADDRESS>:80/description.xml
SERVER: Linux/3.14.0 UPnP/1.0 IpBridge/1.15.0
hue-bridgeid: B827EBFFFE92AAE6
ST: urn:schemas-upnp-org:device:basic:1
USN: uuid:2f402f80-da50-11e1-9b23-b827eb92aae6

com.bwssystems.HABridge.upnp.UpnpListener
12-03-2016 03:48:04.328	DEBUG	httpMethod:get, uri: /api/9c6986c52c754dfd83c9a875d5c025fb/lights	spark.webserver.MatcherFilter
12-03-2016 03:48:04.329	INFO	Traceupnp: hue lights list requested: 9c6986c52c754dfd83c9a875d5c025fb from <IP_ADDRESS>	com.bwssystems.HABridge.hue.HueMulator
12-03-2016 03:48:04.329	DEBUG	hue lights list requested: 9c6986c52c754dfd83c9a875d5c025fb from <IP_ADDRESS>	com.bwssystems.HABridge.hue.HueMulator
12-03-2016 03:48:04.332	ERROR		spark.webserver.MatcherFilter


i18n(zh-cn): Update images.mdx

Description (required)
Update images.mdx
Related issues & labels (optional)

https://github.com/withastro/docs/pull/6109

LGTM


fixed typo in lib.rs

Introduction
fixed typo FileArgumen.t to FileArgument
Linked Issues
closes #70
Dependencies
N/A
Test
N/A
Review

[ ] Ready for review
[ ] Ready to merge

Deployment

This PR was entirely unexpected but thank you.


Support for determinate progress bars.

The progress components currently only support the indetermined state. I would really like to show some absolute progress values. Is there already something planned? Since the indeterminate animation is way more complicated than the absolute value indicator I assume it's not too much work.
See angular-material for some examples:
https://material.angularjs.org/latest/demo/progressCircular
https://material.angularjs.org/latest/demo/progressLinear

Hi, we'll soon need this component in our product. Stay in touch!

As promised, the determinate progress bars are available in v1.0.5 :-)


Hooks don't work after standard install and configuration

The reference fly.io deploy emits the same warnings/errors that I'm seeing in my app.
See phenixdigital/phoenix_storybook_sample#4

Embedding stories in an iframe avoids the problem, so for now we can follow the guide here:
https://hexdocs.pm/phoenix_storybook/sandboxing.html#4-enabling-iframe-rendering
...e.g.:
defmodule MyAppWeb.Storybook.AlpineComponent do
  use PhoenixStorybook.Story, :live_component

  def component, do: MyAppWeb.Components.Alpine
  def description, do: "Generic Alpine component"
  def attributes, do: [
    %Attr{id: :id, type: :string},
    %Attr{id: :name, type: :string, required: true},
    %Attr{id: :data, type: :map, required: true}
  ]
  def slots, do: []
+  def container do
+    :iframe
+  end
  def variations, do: [
    %Variation{
      id: :default,
      attributes: %{
        name: "foobox",
        data: %{foo: "bar"}
      }
    }
  ]
end

Im having the same issue in our app with Hooks :(

@michaelterryio @danturn it looks like this was fixed in v0.5.3, which hasn't been released yet: https://github.com/phenixdigital/phoenix_storybook/commit/daf7bfce79d201e44cd4e5575289ecc10ba616c7
you could get the fix now by pulling your dependency from github, e.g. in mix.exs:
{:phoenix_storybook, github: "phenixdigital/phoenix_storybook"}
in which case you'll need to run mix dev.storybook to build the static assets (the release from hex.pm has them prebuilt, the github dependency does not)

Ya know, I actually saw that issue, I think coming off Google, and it didn't occur to me that it was prerelease. Thanks.


tf.keras Serialization fix

This closes #422.
Serialization of tf.keras models is natively supported as of https://github.com/keras-team/keras/pull/14748.
This PR removes hotfix function to allow serialization on TF2.7 and greater.

Hi @MasterSkepticista, thanks for linking a PR. I had talked to @psfoley regarding the issue and having a tensorflow version check before invoking the hotfix function might be a better way to go about it. This way, we can support tutorials having older tensorflow versions as well.

@mansishr How about placing a version check before calling the hotfix. Is that OK?

@MasterSkepticista that's right. I'll submit a PR with a version check before invoking the hotfix function. Thanks for your help!

@MasterSkepticista A version check would be useful here for the reason that you mentioned; external projects may rely on an earlier TF version. @mansishr if you want to create a separate PR for that, then I think once cell outputs are cleared in the jupyter notebook this is ready to merge

@MasterSkepticista could you please sign the CLA?

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

@psfoley @MasterSkepticista I've created a PR #435 for TF version check.


OpenGL : Refact half to float and float to half conversion

Fixes: #72882
Based on : https://stackoverflow.com/a/60047308
I think this solution is more robust than the previous one, still has some edge case for not normalized float but i don't think this is an issue since all float come from the same source.
Bugsquad edit
Also fixes: https://github.com/godotengine/godot/issues/66462
Fixes: https://github.com/godotengine/godot/issues/66459
Supersedes: https://github.com/godotengine/godot/pull/72329

@Riteo sorry didn't knew that. Not sure how to handle that. Since i understand it, i could refactor to make it less like the original answer but i feel like it's cheating.

He links his research paper which his SO post is based on, but it's hard to say what kind of copyright it has. Some educational institutions can have pretty liberal licenses for their research data, but you'd have to dig a bit. Or maybe even ask the person directly if they or any of the co-authors are allowed to re-license the code snippets.
Howerver, he also seems to run this project: https://github.com/ProjectPhysX/FluidX3D, which has this licencse: https://github.com/ProjectPhysX/FluidX3D/blob/master/LICENSE.md. Seems there is similar code in this file: https://github.com/ProjectPhysX/FluidX3D/blob/master/src/kernel.cpp

We could always do a direct port of make_half_float() and half_to_float()
https://github.com/godotengine/godot/blob/0daeb377042700c4e8b59d34dca150b2c32524e0/core/math/math_funcs.h#L634
https://github.com/godotengine/godot/blob/0daeb377042700c4e8b59d34dca150b2c32524e0/core/math/math_funcs.h#L620-L632

@clayjohn i agree.
Having second thoughts, maybe could even simplify and only check the case of exponent == 0, the rest may be overengineering for that case since the half float limitation is explicit for Compatibility renderer.

@clayjohn i agree. Having second thoughts, maybe could even simplify and only check the case of exponent == 0, the rest may be overengineering for that case since the half float limitation is explicit for Compatibility renderer.

Indeed, there may be an easy workaround here

Superseded by https://github.com/godotengine/godot/pull/72914


Not Compatible with hide and showing Navigation bar

I am running this library ( Great work) in my App and when I test run on a Samsung s8 Plus( that has the option to hide and show the navigation bar ) the Activity that I attache ResideMenu to stopped resizing when the NavigationBar is shown or hidden.
I found the bit of code where you make space for the softKeys and I saw the issues where the activity was showing behind the NavigationBar So I understand it's purpose.
Si if it's can you help me to get the Activity  to resize when the NavigationBar is shown/hidden ?
Thank you.

I am facing same issue. Have you find any solution?

Unfortunately no.

Is there any even which provide us Navigation bar is hidden or not? I have tried with many solutions but it was not work. Due to Android P Navigation Gesture I am facing same problem.

Hello,
I resolved this issue by writing this code in my activity:
if(Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP){
getWindow().getDecorView().setOnApplyWindowInsetsListener(new View.OnApplyWindowInsetsListener() {
@Override
public WindowInsets onApplyWindowInsets(View v, WindowInsets insets) {
resideMenu.post(new Runnable() {
@Override
public void run() {
resideMenu.setPadding(resideMenu.viewActivity.getPaddingLeft() + insets.getSystemWindowInsetLeft(),
resideMenu.viewActivity.getPaddingTop() + insets.getSystemWindowInsetTop(),
resideMenu.viewActivity.getPaddingRight() + insets.getSystemWindowInsetRight(),
insets.getSystemWindowInsetBottom());
}
});
return insets.consumeSystemWindowInsets();
}
});
}

Note: I've imported this project as a module in my app and made 'TouchDisableView' as 'public class'


Add support for NuGet.

Issue by alphaleonis from Monday Jan 05, 2015 at 18:04 GMT
Originally opened as https://github.com/alphaleonis/AlphaFS/issues/16

Version 1.6 will be released on NuGet.

Comment by Stephanvs from Thursday Jan 08, 2015 at 10:13 GMT

Awesome :thumbsup:

Support for NuGet added in version 2.0 which is now released. :birthday:


Don't fail when encountering invalid strings

Technically all character strings are supposed to be valid UTF-8 strings. We've encountered devices which return non-printable characters as part of the octet string. This change makes the client more robust and not fail when encountering such strings.

In particular, this has been observed on early tado Thermostat X devices (firmware 181.2).


renamefile: Add [description] tag for specific file description

As you know, JabRef allows associating multiple files with single entry, and each of this files has optional description field. Let's consider the following example:
@PHDTHESIS{Freeman1999,
  author = {Freeman, Gordon},
  title = {Observation of Einstein-Podolsky-Rosen Entanglement
           on Supraquantum Structures by Induction Through Nonlinear
           Transuranic Crystal of Extremely Long Wavelength ({ELW})
           Pulse from Mode-Locked Source Array},
  school = {Massachusetts Institute of Technology},
  year = {1999},
  file = {Text:phd.pdf:PDF;Slides:slides.pdf:PDF},
  timestamp = {2015.01.14}
}

If you try to autorename this record, renamefile will produce two exactly same names for both thesis text and slides. I suggest you to add one more tag [description] to allow making distinct filenames like above. For given example, pattern [year] [auth] - [shorttitle] - [description] would produce names:

1999 Freeman - Observation of Einstein-Podolski-Rosen - Text.pdf and
1999 Freeman - Observation of Einstein-Podolski-Rosen - Slides.pdf

Actually, the current version adds a number (starting with 1) to the file name if there is more than 1 file in the entry. Also note that currently the description field in the file entry gets lost after renaming:
{description:file.pdf:PDF} is converted to {:file.pdf:PDF}
I would suggest that you copy description in your fork.

Yes, I noticed that your code completely removes description field and have already fixed that. At first, I had added support for [description] tag into your code and wanted to commit a pull request, but then I realized that description field gets erased and decided to do much more comprehensive refactoring instead. I changed a lot of things I didn't like, and in my experience nobody likes when their code is being criticized so I've counted the chance that my changes go back upstream as negligible, hence the fork. You may take a look on it here if you want, any comments and suggestions are welcome.


DVC-7630 [feat]: add enable / disable targeting functionality

Current dependencies on/for this PR:

main

PR #144   👈

This comment was auto-generated by Graphite.


resources and parameters must have unique names

Parameters:
  Name:
    Type: String
Resources:
  Name:
    Type: AWS::SNS::Topic

Template error: all resources and parameters must have unique names. Common name(s):[Name]

Is that now an error in the service itself? I've been thinking about this for a while. It used to be that didn't error out (when I tested it).  I wanted to create it as a Warning since a Ref to the name could yield weird results.  I'm actually glad this is an error and this should be an easy rule to write.

Errors out in the service itself, think I'm almost done with the rule, just want to test before opening PR:
"""
Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
SPDX-License-Identifier: MIT-0
"""
from cfnlint.rules import CloudFormationLintRule, RuleMatch

class Unique(CloudFormationLintRule):
    id = ''
    shortdesc = ''
    description = ''
    source_url = ''
    tags = ['parameters', 'resources']

    def match(self, cfn):
        matches = []
        for resource in cfn.get_resources():
            for parameter in cfn.template.get('Parameters', {}):
                if resource == parameter:
                    matches.append(RuleMatch(['Resources', resource], 'resources and parameters must not share name: ' + resource))
        return matches


Change license to MIT

Hi Marc,
Sorry, but the current license was proposed by @aaloy.

The LICENSE file points that this project is under MIT license. You probably must change the LICENSE to APSL license.

+1
Opening new issue.
The APSL license was a internal joke by @aaloy ¯_(ツ)_/¯

Tst tst, pasando.


Update google plug-in

The analytics plugin is a bit outdated, and need to be adjusted.
Also since Google + is going out, I will remove it from the options.
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-xxxxxxx-1"></script>
<script>
  window.dataLayer = window.dataLayer || [];
  function gtag(){dataLayer.push(arguments);}
  gtag('js', new Date());

  gtag('config', 'UA-xxxxxxxx-1');
</script>

Also, if you wanne set up google analytics, don't forget to choose https if hosted on github.io

All good now


Unable to pair a Vizio e32-d1 tv

Hi my tv is detected by the script, however it is not able to start the pairing process.
Here are the current logs:
[twilight@Twilightop ~]$ pyvizio --ip=0 discover
/home/twilight/.local/pipx/venvs/pyvizio/lib/python3.11/site-packages/pyvizio/discovery/zeroconf.py:68: FutureWarning: ZeroconfListener({'_func': <function discover.<locals>.append_service at 0x7f3e36e179c0>}) has no update_service method. Provide one (it can be empty if you don't care about the updates), it'll become mandatory.
  ServiceBrowser(zeroconf, service_type, ZeroconfListener(append_service))
INFO:pyvizio:[ZeroconfDevice({'name': "Censored Bedroom TV", 'ip': '<IP_ADDRESS>', 'port': 9000, 'model': "Censored Bedroom TV", 'id': b'608916016'})]
INFO:pyvizio.cli:
IP               Port  Model             Name
-------------  ------  ----------------  ----------------
<IP_ADDRESS>    9000  Censored Bedroom TV  Censored Bedroom TV
[twilight@Twilightop ~]$ pyvizio --ip=<IP_ADDRESS>:9000 --device_type=tv pair
INFO:pyvizio.cli:Initiating pairing process, check your device for pin upon success
ERROR:pyvizio:Failed to execute command: Cannot connect to host <IP_ADDRESS>:9000 ssl:False [None]
INFO:pyvizio.cli:ERROR
[twilight@Twilightop ~]$

hi @thyTwilightGoth this project is fairly unmaintained at this point because I have not had a lot of success with integrating my Vizio soundbars (it seems like a firmware issue, not an integration issue). I also have no Vizio TVs to test things with. If you have the skills and the bandwidth, feel free to submit a PR if you are able to find a solution to your issue


UI: Issue with Add Network to VM

ISSUE TYPE

Bug Report

COMPONENT NAME

UI

CLOUDSTACK VERSION

4.15.1 (and above)

CONFIGURATION

OS / ENVIRONMENT

SUMMARY

When adding a NIC to a VM fails and a user re-attempts to add a NIC, the form appears to have the previously selected network. However, on submitting the form, the first network from the list of available networks is automatically selected, rather that the network that appears to be pre-populated on the form. Also, submitting the form with out selecting any network picks the first network from the list of available networks.
STEPS TO REPRODUCE

1. Create a VM
2. Try adding a NIC to the VM by selecting a network and providing an already allocated IP / providing an incorrect IP , such that it fails
3. Re-try adding a NIC to the network by opening the 'Add network to VM' form, observe that the previously selected network already appears to be prepopulated in the network field, and provide a desired IP from the network (if required) and submit the form
4. On checking API request, it is observed that the network id corresponds to the 1st network in the drop-down list and not the pre-selected network.

EXPECTED RESULTS

The VM gets added to the selected network

ACTUAL RESULTS

The VM is added to the 1st network from the drop-down.

Fixed in https://github.com/apache/cloudstack/pull/5693


gcm messages are not displayed in the browser

I registered the device using the extension and received a registration id.  But when I send the message I get no error:
id=0:1434721938072310%a524d9bef9fd7ecd
but there is no notification displayed.  When I turn on logging with chrome://gcm-internals in see this message: No such registered app found

I have tried using gcm through chrome extensions on 3 seperate machines, only the first machine is properly receiving the messages.

I am facing the same problem! I get no such registered app found even though it's exists I think it's a bug in the latest chrome, check the version of your chrome on first machine?

Both were running the same version

@fgorski might be able to help there.

Based on response to https://github.com/google/gcm/issues/65 there was an insfrastructur eissue affecting mostly Chrome users. It should have been fixed by now according to internal bug tracker.
Please use this bug for further comments: https://code.google.com/p/chromium/issues/detail?id=503186
mohammedpascal@ could you confirm that this is not a separate problem from the one above you reported?

Thank you. It appears to be working.


[Release] v0.0.1a1 => main

Automated changes by create-pull-request GitHub action

Codecov Report

Merging #5 (32b54e5) into main (afad399) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main       #5   +/-   ##
=======================================
  Coverage   94.11%   94.11%
=======================================
  Files           2        2
  Lines          17       17
=======================================
  Hits           16       16
  Misses          1        1

Flag
Coverage Δ

pytest
94.11% <ø> (ø)

python-3.10
58.82% <ø> (ø)

python-3.7
88.23% <ø> (ø)

python-3.8
94.11% <ø> (ø)

python-3.9
94.11% <ø> (ø)

st-_0.65.
76.47% <ø> (ø)

st-_1.12.
47.05% <ø> (ø)

st-_1.3.
76.47% <ø> (ø)

st-_1.4.
58.82% <ø> (ø)

st-_1.8.
52.94% <ø> (ø)

st-_latest
47.05% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Automatically Adjust Column Length with Files Name on Double Click

Is your feature request related to a problem?
In my opinion, it would be great when Files automatically adjust it's column length with it's files' name when users double click on the column in details view. Here is the example:
https://user-images.githubusercontent.com/69080584/126257888-7463a315-ca9e-4dc0-867b-8573a5abbde6.mp4
Scope

Capability
Priority

Automatically adjust it's column length with it's files' name when users double click
Should

System Information

OS Version: Windows 10 21H1 19043.1110
App version: v<IP_ADDRESS>

Merging with #4643.


Can I use Laravels Eloquent with the index model?

Hi,
If I have two models, Event.php and Dates.php. They have a hasMany and belongsTo relationship. Is it possible to create an Event index model that includes the dates database for searching?
I tried doing something like
    protected $mapping = [
        'properties' => [
            'id' => [
                'type' => 'integer',
                'index' => false
            ],
            'title' => [
                'type' => 'text',
                'analyzer' => 'english'
            ],
            'dates' => [
                'properties' => [
                    'date' => [
                        'type' => 'date',
                    ],
                    'event_id' => [
                        'type' => 'integer',
                    ]

                ]
            ],

but I couldn't see the dates model. Currently the only way I can see to filter by date range is like so
$dates = Date::search('*')
            ->whereBetween('date', ['2000-10-18 00:00:00','2019-10-18 00:00:00'])
            ->get();

        $events = Event::whereIn('id', $dates->pluck('event_id'))->get();

        return response()->json($events);

I would love to be able to do
$dates = Event::search('*')
            ->whereBetween('dates.date', ['2000-10-18 00:00:00','2019-10-18 00:00:00'])
            ->get();

Is this possible?

after some playing around I was able to get it loaded by using
protected $with = ['dates'];

when I do http://<IP_ADDRESS>:9200/event/_search?pretty=true I can now see the dates.
However I am still at a loss on how to search them.
$dates = Event::search('*')
            ->whereBetween('dates.date', ['2000-10-18 00:00:00','2019-10-18 00:00:00'])
            ->get();

Doesn't work even though I can see that it is there
source": {
"id": 3,
"description": "Omnis et rem aut et et. Aut eos ipsum rem. Ex ut tempora ut pariatur sint. Fugit quam rerum illo cupiditate.",
"approved": 1,
"created_at": "2019-10-13 17:33:26",
"updated_at": "2019-10-13 17:33:26",
"dates": [
{
"id": 1,
"event_id": 3,
"date": "2004-06-15 17:28:36",
"created_at": "2019-10-13 17:33:52",
"updated_at": "2019-10-13 17:33:52"
}
]

I realized I was searching incorrectly and it works now!


tag save operation seemed to fail

Hi there,
is this project still active? I am using the latest version of both Comictagger and Winrar.
I tried 32 and 64 bit version of winrar, but saving tags to cbr files results in:
The tag save operation seemed to fail.
Can anyone help? Am I doing something wrong?
Greetings
Marco

It seem related to subprocess usage inside pyinstaller. I'm checking it out.

Try with latest pre release 1.1.30-rc1

Writing tags to cbr archive is working now. Thank you. However, choosing "search online", or "auto-identify" leads to error: Could not connect to comicvine to search for series.

cbr tagging doesn't work for me; cbz works fine.

Still happening.


Support Github Action CI

Create nodejs.yml

@lm2343635 How can we access the dist file? I didn't see the output in the action config.


Feat extended safe info

While working on this cowswap PR: https://github.com/cowprotocol/cowswap/pull/4508 I discovered that the inconsistency in the responses of the sdk's getInfo and api-kit's getSafeInfo makes my life miserable.
I'm proposing to change the return type of the getInfo endpoint and align it a bit more to the SafeInfoResponse:
https://github.com/safe-global/safe-core-sdk/blob/8896940929eb23b154e0e6615226f1f7c004c7fb/packages/api-kit/src/types/safeTransactionServiceTypes.ts#L34
  readonly address: string
  readonly nonce: number
  readonly threshold: number
  readonly owners: string[]
  readonly singleton: string
  readonly modules: string[]
  readonly fallbackHandler: string
  readonly guard: string
  readonly version: string

Basically the only additional info to that is the chainId and isReadOnly flag.

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


Does not send multiple instances of the same file

Please describe the problem you are having in as much detail as possible:
I am creating a dice roller where you can roll the dice as many times as possible. The problem is that when I pass an array of files to the channel.send that includes multiple instances of the same file, it only sends one instance of sed file.
Include a reproducible code sample here, if possible:
var files = [];
var total = 0;
var number = Number(message.content.substring(substring)) || 1;
for (var i = 0; i <= number; i++) {
	var result = Math.floor(Math.random()*6);
	total += result;
	files.push(["images/dice1.png", "images/dice2.png", "images/dice3.png", "images/dice4.png", "images/dice5.png", "images/dice6.png"][result]);
}
message.channel.send({files});
message.channel.send(`Total: ${total}`);

Further details:

discord.js version: 11.2.1
node.js version: 6.11.4
Operating system: MacOS High Sierra
Priority this issue should have – please be realistic and elaborate if possible: medium

[ ] I found this issue while running code on a user account
[ ] I have also tested the issue on latest master, commit hash:

I can reproduce this, it looks like discord drops duplicated images, "duplicated" as the same file name.
Giving them a different file name works for me on stable and master.
In your case you could probably do something like this here before sending to ensure unique file names:
files = files.map((file, index) => ({ attachment: file, name: `roll${index}.png` }));

This will will make an array of FileOptions out of your array of strings.

Thanks, that worked!


pub sub notification for case changes

What and why?
case notification between case and action via pubsub
How to test?
smoke test
Trello
https://trello.com/c/0x04n5sk/527-s34-replace-rabbit-with-pub-sub-sample-to-case

/deploy sinhaa

/deploy sinhaa

/deploy sinhaa

/deploy sinhaa

/deploy sinhaa

/deploy sinhaa

/deploy sinhaa

/deploy baileyw

/deploy sinhaa


🚀 [Feature Request] - Create a Intenship page.

Is your feature request related to a problem ? Please describe. ✍
Enhancement
Describe briefly how you would implement this enhancement.
1. Fetch the latest Intern
2. We should have option to upload the intern ( so please define the component card and it's schema JSON)

Additional context or screenshots
Additional context
Are you contributing for a program?
GSSoC2023
Code of Conduct

[X] I have read and agree to the Contributing Guidelines of this project.

yess! I mean there should option to fetch intern from avaible api , or we can populate data in card through json also

A update:
Check oppourtunity... you just make to work it.. all code is there.

@brohithkr ? wanna work on this issue

Sure, I'll try.

Hey @anmode assign this issue to me. I'm currently working on it.

Sure, I'll work on it. So you want me to fix the api and create an internship page right?

Yess


Add PR author to release-notes of cherry-picked PRs

/kind enhancement
What this PR does / why we need it:
Currently the gardener-ci-robot appears as author of the PR on cherry-picked PRs.
There is an option to mention the author as label in the release notes. Thus, this PR adds the references to the parent repository, the parent PR and the PR author to the release note string, which should fix this issue.
Additionally, cherry-picker now recognizes release-notes which include these optional release-note labels.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
/cc @rfranzke

cherry-picker now also adds kind/ and area/ labels of the parent PR to the cherry-picked one.
/cc @timuthy

/lgtm
/approve


Why isn't 'electron' called 'nucleus'?

Anyway, 'nucleus' is the kernel of an 'atom'

IMHO another name change is no good.

It's called Electron, and I doubt it will ever change again.


Update dsc-template.md

Removed comma's that will trigger errors in an editor

@rajbos : Thanks for your contribution! The author, @DCtheGeek, has been notified to review your proposed change.

@rajbos There are other changes coming to this article, but this looks like a good immediate change.  Thank you!  #sign-off


Add useValidationRule() plugin

Description
As discussed with @n1ru4l, this adds the useValidationRule() plugin, which can be used to add a validation rule.
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as
expected)
[x] This change requires a documentation update

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can
reproduce. Please also list any relevant details for your test configuration

[x] Added to your test suite

Checklist:

[ ] I have followed the
CONTRIBUTING doc and the
style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented on my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules

Further comments
The newrelic tests are failing locally; I think this is unrelated given how trivial the function I've added is.

I do not know how to address these test failures. I do not think it's related to my changes?


Force custom recipe name

Description of new idea or improvement on existing one
Hello i use recipe manager to make custom recipes and i add on job this:
Craft:
'!Tomato Soup':
income: 10.0
points: 0
experience: 6.0
It works, give me the xp/money but in /jobs info  GUI dont show the name its say none.
Is possible to force the name on info gui?

ef3eac05bcad807cfad796409bb704da48bba4fc


The online documentation is still 4.3.9

https://nsd.docs.nlnetlabs.nl/en/latest/ is seven releases behind.

Hi @janstary! Thank you for notifying us of the issue. As it happens, @gthess has done a lot of work to solve this exact problem for Unbound. NSD will eventually adopt the same mechanisms as (sort-of) indicated on #244. Please allow me to mark this one as duplicate and close it for now.


[stable/elasticsearch] Update elastic to 6.6.2

What this PR does / why we need it:
Which issue this PR fixes
(optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged)

fixes #

Special notes for your reviewer:
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[ ] Variables are documented in the README.md

/assign @desaintmartin

/ok-to-test

/lgtm


Delta NL epg

Delta NL Epg not showing program details. Maybe using tvgids.nl or canaldigital would be a better option ?

A description of the programs has been added to the guide:
https://iptv-org.github.io/epg/guides/nl/delta.nl.epg.xml


The game can disconnect if run in background isn't enabled

Maybe force run in background when connected to a server?

Confirmed this will happen 100% of the time. Network connection times out.


Version 5.0 doesn't play nice when doing a Vercel deploy

The errors are in red. I switched to version 4.0 and it builds.

Maybe try removing "type": "module" from package.json as suggested.
I will happily retry. 🦄

It's all the in the release notes. Feel free to copy-paste the code.


Add L13 Yoga

This is more or less the combination of the config for L13 and X13 Yoga.

The symlink is absolute. Please do ln -sf x13/yoga x13/yoga in lenovo/thinkpad to get a relative symlink not containing your home directory.


Remove use of Xalan #4065

fixes https://github.com/apache/camel-quarkus/issues/4065

The CI failure is caused by this change. There seems to be a problem with generation of some classes.
Caused by: javax.xml.transform.TransformerConfigurationException: Cannot find class 'org.apache.camel.quarkus.component.xslt.generated.HtmlTransform'.
2022-09-02T10:44:40.1852572Z 	at java.xml/com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:903)
2022-09-02T10:44:40.1853455Z 	at org.apache.camel.quarkus.support.xalan.XalanTransformerFactory.newTemplates(XalanTransformerFactory.java:70)
2022-09-02T10:44:40.1854276Z 	at org.apache.camel.component.xslt.XsltBuilder.setTransformerSource(XsltBuilder.java:345)
2022-09-02T10:44:40.1855004Z 	at org.apache.camel.component.xslt.XsltEndpoint.loadResource(XsltEndpoint.java:326)
2022-09-02T10:44:40.1855675Z 	at org.apache.camel.component.xslt.XsltEndpoint.doInit(XsltEndpoint.java:342)
2022-09-02T10:44:40.1856270Z 	at org.apache.camel.support.service.BaseService.init(BaseService.java:83)

I'm going to search for a better fix.

@JiriOndrusek the JDK issue fixed?

@zhfeng TBH I wasn't able to confirm fix in jdk, but I retested with current main branch and it works (both jvm and native) -> I made a small change because of jvm

Error is still there I accidentally verified only xmlsecurity - hence the native fix, and not xml security

Closing as we can't realistically do this for the reasons outlined in https://github.com/apache/camel-quarkus/issues/4065.


Document EF Core architecture and internal technical details

To make it easier for contributors and provider authors to understand the code.
Please comment on this issue with internal areas you would like to see documented.
Working list of possible topics to document. This list will evolve in the issue as we make progress. Not everything in the list will necessarily make it to documentation--it will depend on value, resources, etc. as usual.

[ ] Internal service provider
[ ] Singleton options
[ ] Dependency objects
[ ] DbContext initialization
[ ] Context pooling
[ ] Change tracking
[ ] SaveChanges/update pipeline
[ ] Everything query!
[ ] Proxies
[ ] Lazy-loading
[ ] Constructor injection
[x] Everything model building! (https://github.com/aspnet/EntityFramework.Docs/issues/779)
[x] Model building conventions (https://github.com/aspnet/EntityFramework.Docs/issues/1937)
[ ] Shadow properties
[ ] Logging
[ ] Interceptors
[ ] Diagnostics
[ ] External model building
[ ] Metadata interfaces (mutable, etc.)
[ ] Weak entity types
[ ] Owned entity types
[ ] Relational mapping (https://github.com/dotnet/efcore/issues/12846)
[ ] Pubternal types
[ ] Parameter generation and facets

We've had a few community standups related to this:

How to Add a Feature to EF Core
Internal Dependency Injection
DbContext Configuration and Lifetime
IQueryable, LINQ and the EF Core query pipeline
Model Building

Awesome - let's add these to the provider writer "docs": #4424.


Use docker images in tests/CI jobs to avoid repeatedly installing the same packages

Specifically, use the archive image for the archive-node related tests, and use the normal daemon image everywhere else. Complex jobs may still need to install packages, but a lot less of them.

Requires some dhall glue to read the docker image from the proper job. #9151 has some changes to update job dependencies for this change, but there is more time / repeated work to be saved here. In the process, working towards a dhall refactor to make this "glue" reusable in some other jobs as well.

@lk86 Is this issue now closable?

@kaozenn Can you verify that this is indeed done, and close if so?

I can confirm that on the developer branch, all the tests/CI jobs uses docker images.
Issue is marked as Done in the United Sprint Board
PR raised against that issue is also merged.
Closing ticket


Problem with data set 40601

This is what I see:

It seems to be a quite new data set.

Good catch.
@janvanrijn this seems to be a Fantail issue. I get this exception:
[14-06-2017 14:34:29] [OK] [Process Dataset] Processing dataset 40601 on special request.
[14-06-2017 14:34:30] [OK] [Extract Features] Start downloading dataset: 40601
org.openml.apiconnector.io.ApiException: Dataset processed with error
at org.openml.apiconnector.io.HttpConnector.readHttpResponse(HttpConnector.java:110)
at org.openml.apiconnector.io.HttpConnector.doApiRequest(HttpConnector.java:58)
at org.openml.apiconnector.io.OpenmlConnector.dataQualities(OpenmlConnector.java:316)
at org.openml.webapplication.features.DatabaseUtils.GetQualitiesAvailable(DatabaseUtils.java:22)
at org.openml.webapplication.features.FantailConnector.computeMetafeatures(FantailConnector.java:76)
at org.openml.webapplication.features.FantailConnector.(FantailConnector.java:58)
at org.openml.webapplication.Main.main(Main.java:103)
{"error":"Dataset processed with error"}

Fixed. Plus I improved the way these errors are shown.
https://github.com/openml/website/pull/174


Fix two bug about single tasks and executor

When a single insert task times out, it may still cause statistical errors.
TashManager.shutdown() ignored singleExecutor
#11
Change-Id: I9a468241f369f4c7e73a95ba9a5772dac90e0ce1

Already edited

already edited


fix: Evm wallet chain not reacting to prefix change

PR Type

[x] Bugfix
[ ] Feature
[ ] Refactoring

Context

[x] Closes #11024

Screenshot 📸

[x] My fix has changed something on UI;

@kodadot/internal-dev pls check
Generated by copilot
This pull request includes significant updates to the plugins/wagmi.client.ts file to enhance chain switching functionality and improve the plugin configuration process. The most important changes include importing additional functions from @wagmi/vue, defining a new changeChain function, and adding watchers to handle chain switching based on URL prefix and account connection status.
Enhancements to chain switching functionality:

plugins/wagmi.client.ts: Imported useSwitchChain, useChainId, and useAccount from @wagmi/vue to support chain switching operations.
plugins/wagmi.client.ts: Defined a new changeChain function that switches chains based on the URL prefix and the current chain ID.
plugins/wagmi.client.ts: Added a watcher on urlPrefix to call changeChain whenever the prefix changes.
plugins/wagmi.client.ts: Added a watcher on the account connection status to call changeChain immediately when a connection is detected.

Improvements to plugin configuration:

plugins/wagmi.client.ts: Simplified the plugin configuration by creating a config variable and using it in the nuxtApp.vueApp.use call and the provide object.

I'm not sure if it's worth doing this. I tested with Metamask and every time I switched the prefix, the popup from Metamask would show up. It asks me if I want to switch to another chain.
I would only make the switch chain request to Metamask when I want to make a transaction. WDYT?

I'm not sure if it's worth doing this. I tested with Metamask and every time I switched the prefix, the popup from Metamask would show up. It asks me if I want to switch to another chain.

nice catch!

I would only make the switch chain request to Metamask when I want to make a transaction. WDYT?

yeah let's do that


[Bug] 400 bad request when attempting to refresh user attributes for a user who doesn't yet have detection list profile

Description
When attempting to call sdk.detectionlists.refresh_user_scim_attributes, a 400 bad request error is returned if the user hasn't yet had a detection profile created.
Steps to Reproduce
>>> from py42 import sdk
>>> c42 = sdk.from_local_account(hostname, username, password)
>>> testuser = c42.users.get_by_username(user_email)
>>> testuid = testuser.data['users'][0]['userUid']
>>> c42.detectionlists.refresh_user_scim_attributes(testuid)

Expected Behavior
The call returns a Py42Response containing information about the user who was refreshed, or returns an error explaining why the user could not be refreshed.
Actual Behavior
>>> c42.detectionlists.refresh_user_scim_attributes(testuid)
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/py42/services/_connection.py", line 279, in _handle_error
    response.raise_for_status()
  File "/usr/local/lib/python3.9/site-packages/requests/models.py", line 943, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 400 Client Error: Bad Request for url: https://ecm-east.us.code42.com/svc/api/v2/user/refresh

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.9/site-packages/py42/clients/detectionlists.py", line 147, in refresh_user_scim_attributes
    return self._user_profile_service.refresh(user_id)
  File "/usr/local/lib/python3.9/site-packages/py42/services/detectionlists/user_profile.py", line 212, in refresh
    return self._connection.post(uri, json=data)
  File "/usr/local/lib/python3.9/site-packages/py42/services/_connection.py", line 143, in post
    return self.request(u"POST", url, data=data, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/py42/services/_connection.py", line 206, in request
    _handle_error(method, url, response)
  File "/usr/local/lib/python3.9/site-packages/py42/services/_connection.py", line 281, in _handle_error
    raise_py42_error(ex)
  File "/usr/local/lib/python3.9/site-packages/py42/exceptions.py", line 295, in raise_py42_error
    raise Py42BadRequestError(raised_error)
py42.exceptions.Py42BadRequestError: Failure in HTTP call 400 Client Error: Bad Request for url: https://ecm-east.us.code42.com/svc/api/v2/user/refresh

Basic Information

py42 version: 1.11.1
python version: 3.9.1
operating system: Mac OS 10.15.7

This seems related to #185, which we've known about for a while... I'll get something added to our internal tracking to make sure we get this looked at.

It seems no all existing users and newly created users automatically get a detectionlist profile created on the backend, so this error should no longer be happening.


AQL & Transactions - possible?

Is it possible to execute one or more AQL (modification) queries (as one or more db._query(...) statements from within the "action": attribute function passed via the transaction HTTP API?
My understanding is that it is only possible to execute a single data modification AQL query at a time via either db_query(...) function or the HTTP API which means it is difficult (impossible?) to achieve transactions that span AQL data modification queries.
What would be great is the ability to execute more than one AQL data modification query within a single query to said APIs (my assumption is that an AQL query is wrapped in a transaction)
Can someone explain how this can be achieved if at all?

I started out a little different. I've loaded the graph data like this
arangosh [_system]> require("internal").load("/local/home/me/ArangoDB-Data/Graphs/IMDB/import.js")
After waiting for a while, I now can see the graph (by default with two nodes) in the graph viewer.
Did you Follow
https://www.arangodb.com/2013/11/visualize-graphs-screencast/
?

@clintwood: When executed in isolation, db._query() will issue a single AQL query in a transactional fashion.
When using the HTTP API for transactions (or the server-side `db._executeTransaction() function, it is possible to execute more than one AQL query inside, still with transactional capabilities, e.g.
db._executeTransaction({
  collections: {
    write: [ "foo", "bar" ]
  },
  action: function () {
    var db = require("org/arangodb").db;
    db._query("FOR doc IN foo FILTER doc.value == 23 REMOVE doc._key IN foo");
    db._query("FOR doc IN bar FILTER doc.value == 42 REMOVE doc._key IN bar");
  }
});

Note that the union of all used collections from all AQL queries will need to be specified in the collections attribute of the transaction then.

@jsteemann, that is excellent news!
One further question,  Is there any way or any plans to support executing multiple AQL queries directly within an AQL script? e.g. (HTTP API):
{
  "query": "FOR doc IN foo FILTER doc.value == 23 REMOVE doc._key IN foo;" +
           "FOR doc IN bar FILTER doc.value == 42 REMOVE doc._key IN bar;"
}

This would obviously be within the context of a single transaction.

@clintwood: putting multitple AQL queries into one query string will currently not work. AQL will choke on the semicolon and abort parsing there.
Though this may be supported in the future. We have some ideas for improved transaction handling, but I cannot tell you when these plans will be accomplished and what the exact outcome will be. This is still too vague at the moment so I don't want to make any false promises yet.

All good... thanks for your quick response and ArangoDB.

Does the ArangoDB team have an update on whether AQL native transactions are in the roadmap in the foreseeable future?

Another transaction API was added in 3.5:

Stream Transaction API: Perform multi-document transactions with individual begin and commit / abort commands using the new HTTP endpoints or via a supported driver.

https://www.arangodb.com/docs/stable/http/transaction-stream-transaction.html