Upgrade from 1.9.8 to 1.10.4 fails on Windows

Bug Description
Attempting to upgrade from 1.9.8 to 1.10.4 on Windows by running istioctl upgrade yields to following error output:
Control Plane - istio-ingressgateway pod - istio-ingressgateway-6578b7b4f-gq5sf - version: 1.9.8
Control Plane - istiod pod - istiod-76bb986d5b-7mmbw - version: 1.9.8

Upgrade version check passed: 1.9.8 -> 1.10.4.

2021-08-28T11:25:42.952104Z     info    Error: failed to generate Istio configs from file [] for the current version: 1.9.8, error: opening tar archive for reading: wrapping
file reader: gzip: invalid header

Error: failed to generate Istio configs from file [] for the current version: 1.9.8, error: opening tar archive for reading: wrapping file reader: gzip: invalid header

From what I can tell the error is due to the following call chain:
upgrade.go upgrade() -> shared.go GenIOPFromProfile() -> shared.go rewriteURLToLocalInstallPath -> shared.go fetchExtractInstallPackageHTTP -> urlfetcher.go Fetch which calls tgz.Extract on the downloaded zip file, which fails.
The upgrade succeeds on Linux, because the downloaded release file is a tgz archive.
Version
PS C:\> istioctl version
client version: 1.10.4
control plane version: 1.9.8
data plane version: 1.9.8 (47 proxies)
PS C:\> kubectl version --short
Client Version: v1.20.0
Server Version: v1.19.13-eks-8df270

Additional Information
No response
Affected product area

[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Extensions and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
[X] Upgrade
[ ] Multi Cluster
[ ] Virtual Machine
[ ] Control Plane Revisions

Is this the right place to submit this?

[X] This is not a security vulnerability
[X] This is not a question about how to use Istio

My team is also experiencing the same exact error. We deploy using Windows everywhere, and we were hoping that the issue would have already been fixed in a patch release. This bug is preventing us from upgrading Istio, so I hope adding a +1 to the issue will bring more attention to it. We tend to stay close to new Istio releases, but we are now two minor versions behind thanks to this bug.
By the way, I combed through other open issues and found another issue that could be related: https://github.com/istio/istio/issues/35067
Upgade error:
PS C:\> istioctl upgrade
Upgrade version check passed: 1.9.8 -> 1.10.4.

2021-09-30T07:43:17.360489Z     info    Error: failed to generate Istio configs from file [] for the current version: 1.9.8, error: opening tar archive for reading: wrapping file reader: gzip: invalid header

Error: failed to generate Istio configs from file [] for the current version: 1.9.8, error: opening tar archive for reading: wrapping file reader: gzip: invalid header

Istio and k8s versions:
PS C:\> istioctl version
client version: 1.10.4
control plane version: 1.9.8
data plane version: 1.9.8 (137 proxies)

PS C:\> kubectl version --short
Client Version: v1.22.1
Server Version: v1.21.2

Same for our team for upgrades from 1.10.2.
When running Istioctl 1.11.3 on Windows, to upgrade Istio from 1.10.2 to 1.11.4 in the K8s cluster, I got an error:
Upgrade version check passed: 1.10.2 -> 1.11.3.

2021-10-19T07:42:51.252252Z     info    Error: failed to generate Istio configs from file [C:\Repos\[...]\istio-config.yaml] for the current version: 1.10.2, error: create gzip reader: gzip: invalid header

Same when trying to upgrade to 1.11.4 that has been just released.
Then I wanted to try to upgrade in smaller increments, so first from 1.10.2 to 1.10.3. This time I got the following error:
Error: failed to generate Istio configs from file [C:\Repos\[...]\istio-config.yaml] for the current version: 1.10.2, error: failed to fetch URL https://github.com/istio/istio/releases/download/1.10.2/istio-1.10.2-windows.zip : 404 Not Found
So Istioctl tried to download the installation package for the source version 1.10.2, but it requested the file istio-1.10.2-windows.zip, which does not exist, and the correct file name of the installation package is istio-1.10.2-win.zip (i.e. requested "windows" vs. existing "win"). I figured out that this particular issue has been fixed in 1.10.4, by this PR. So when I tried to upgrade to this 1.10.4, I indeed didn't get the abovementioned 404, but instead, I got a variant of the already mentioned error:
Upgrade version check passed: 1.10.2 -> 1.10.4.

Error: failed to generate Istio configs from file [C:\Repos\[...]\istio-config.yaml] for the current version: 1.10.2, error: opening tar archive for reading: wrapping file reader: gzip: invalid header

I may suspect that due to recent changes to the functionality of downloading the Windows installation package for the source version of the upgrade, some bug got sneaked in, and the mentioned gzip reader cannot access the file.
The upgrade 1.10.2 -> 1.11.4 has finally run without any problems only when executed on Linux (Windows Subsystem for Linux - WSL), and not on plain Windows.

I've been digging a bit to try and figure out the root cause of this and I think I might been on to something.
In 1.9 when doing an upgrade the releaseURLPathTemplate was always based on the osx tar release (https://github.com/istio/istio/blob/1.9.9/operator/cmd/mesh/upgrade.go#L63):
// releaseURLPathTemplate is used to construct a download URL for a tar at a given version. The osx tar is
// used because it's stable between 1.5->1.6 and only the profiles are used, not binaries.
releaseURLPathTemplate = "https://github.com/istio/istio/releases/download/%s/istio-%s-osx.tar.gz"

That seems to be okay because it only needs the profiles and not the binaries.
In 1.10 this was changed to this (https://github.com/istio/istio/blob/1.10.0/operator/cmd/mesh/upgrade.go#L63):
// releaseURLPathTemplate is used to construct a download URL for a tar at a given version.
releaseURLPathTemplate = "https://github.com/istio/istio/releases/download/%s/istio-%s-%s"

And then this platformBasedTar function (https://github.com/istio/istio/blob/1.10.0/operator/cmd/mesh/upgrade.go#L269)
func platformBasedTar() (tarExtension string) {
	defaultExtension := "osx.tar.gz"
	switch runtime.GOOS {
	case "linux":
		tarExtension = runtime.GOOS + "-" + runtime.GOARCH + ".tar.gz"
	case "windows":
		tarExtension = runtime.GOOS + ".zip"
	case "darwin":
		tarExtension = defaultExtension
	default:
		tarExtension = defaultExtension
	}
	return tarExtension
}

So it has changed from downloading a .tar.gz file to a .zip file and eventually ends up trying to untar a zip file which doesn't work.
I wonder if simply changing the switch case for windows to defaultExtension will actually just works?
@howardjohn do you have any suggestions or feedback on this? I'll happily create a PR for the above if it might be a viable solution?

same issue here when upgrading to from 1.9.9 to 1.11.4

still the case in 1.12

@kekbur can you reopen this issue? As @jellebens mentions it is still a problem for 1.12 so going to submit a PR to fix this but would like not to create a new issue.

@emilwangaa It seems that I can't reopen this issue. At least I can't see the button anywhere.

HI can you please reopen the issue we are facing issues when we are trying to upgrade from 1.9 to 1.10 of istio
Error: failed to generate Istio configs from file [dev.yaml] for the current version: 1.9.4, error: opening tar archive for reading: wrapping file reader: gzip: invalid header


fun resetOrder() in orderViewModel uses dataOptions[0] which is not available at init block

URL of codelab
Update pickup and summary fragment to use viewModel
In which task and step of the codelab can this issue be found?
In Step 6
Create function resetorder and call it in init block
_date.value = dateOptions[0] which is not available at init
Describe the problem
App stops due to unavailability of dataoptions[0] at init

Did you declare the init block at the top of the file? If you do, it will not properly initialize the MutableLiveData values and will throw a NullPointerException:
E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.example.cupcake, PID: 3899
java.lang.NullPointerException: Attempt to invoke virtual method 'void androidx.lifecycle.MutableLiveData.setValue(java.lang.Object)' on a null object reference
at com.example.cupcake.model.OrderViewModel.resetOrder(OrderViewModel.kt:21)
at com.example.cupcake.model.OrderViewModel.(OrderViewModel.kt:12)
I was in the same boat, as I figured an init block would logically fit best at the start of the class.
Nope.
After clicking on all the cupcake amount buttons in StartFragment, and watching the app crash, I played around with rewriting the code.
When I restored it to before using the init w/ resetOrder() it worked smoothly, so I then directly passed dateOptions[0] to private val _date = MutableLiveData() as in:
private val _date = MutableLiveData(dateOptions[0])
At this point an error popped up on dateOptions[0], telling me it had not been properly initialized. (The problem you seem to be asking about).
At this point I placed safe calls on all the values being set in resetOrder():
(I chose to make it private, as it is solely used within the same class)
private fun resetOrder() {
_quantity?.value = 0
_flavor?.value = ""
_date?.value = dateOptions[0]
_price?.value = 0.0
}
At this point the app ran but none of the radio buttons were pre-selected.
AND I noticed that removing any of the safe calls, not just the one on _date, caused the app to crash when the amount buttons were clicked.
As such I figured that the init block was not properly accessing any of them, and remembered something about blocks of code only being able to access variables declared either before or after them within the flow of a document when it is read.
(I learned this when working with JavaScript ages back and can't for the life of me find anything on it in the Kotlin documentation or Stack Overflow threads)
So, I moved the init block to the end, where I suppose the writers implicitly meant for it to be placed, and it ran without a hitch and properly set the default radio boxes to checked.
If anyone reads this and knows the name of the concept I'm talking about or why this works, please do inform me!
And I hope this helps, vrushali-d!

Yes it helped me to clear my doubt.
Thank you!


fix: hamburger now shows on dark mode

This PR contains the fix for hamburger visibility in dark mode

please follow the rules properly.
Never raise a PR unless it is assigned to you.


error if last element is template

I get these errors in the developer console after applying vulcanize and crisper:
[custom-style::_prepTemplate]: top-level Polymer template must not be a type-extension, found <template is="dom-bind">…</template> Move inside simple <template>.
[dom-template::_prepTemplate]: top-level Polymer template must not be a type-extension, found <template is="dom-bind">…</template> Move inside simple <template>.
[dom-repeat::_prepTemplate]: top-level Polymer template must not be a type-extension, found <template is="dom-bind">…</template> Move inside simple <template>.
[array-selector::_prepTemplate]: top-level Polymer template must not be a type-extension, found <template is="dom-bind">…</template> Move inside simple <template>.
[dom-if::_prepTemplate]: top-level Polymer template must not be a type-extension, found <template is="dom-bind">…</template> Move inside simple <template>.

I could reduce the repro to this (see also this example):
index.html:
<!DOCTYPE html>
<title>Demo</title>

<link rel="import" href="bower_components/polymer/polymer.html">

<template is="dom-bind"></template>

Command line:
npm install -g vulcanize crisper
bower install Polymer/polymer
vulcanize index.html --inline-script | crisper --html build.html --js build.js

And then open build.html in Chrome.
I found that Polymer looks for <template> elements just before the current

And for all elements registered in build.js without a template, Polymer thinks this is the element's template.
An easy fix in cripser would be to simply insert any element (like a ) just before the

However that is probably not the cleanest solution.

This undocumented feature was removed from Polymer in master: https://github.com/Polymer/polymer/issues/1827
It will be fixed in the next release of Polymer


How to use full screen

this player has margin around i want to use full screen this please solve tis problems

by default in fullscreen view, it doesn't have any margin..
Can u share a screenshot

@newtaDev Why not just push to root context?
If you push full screen into root context everything of the app will be sent back. Here is the example code
onPressed: () {
        Navigator.of(context, rootNavigator: true).push(
          CupertinoPageRoute<bool>(
            fullscreenDialog: true,
            builder: (BuildContext context) => Tab3Dialog(),
          ),
        );
      },

In the mean time how can I use this with your package?


Update test to disallow eliminate function declarations.

This is in prep for proposed MLIR change to disallow this.

@GMNGeoffrey, @benvanik, can you please review and approve?


Reflect the latest MIDI 2.0 spec updates

There are spec. updates (June 2023 versions) which are explained briefly: https://www.midi.org/midi-articles/details-about-midi-2-0-midi-ci-profiles-and-property-exchange
Now we will be replacing the UMPMD/UMPX formats used in this library with the new MIDI Clip File (SMF2), as well as adding support to the new UMP packets such as Flex messages.

[x] UmpFactory
[x] UmpRetrieval
[ ] Midi2Music - not sure how we bring in the updates: slightly modify the API or introduce a new MidiClip class (involves more changes)
apply the new song structure in mugene-ng (mostly about UmpFactory)

[ ] update UMP outputs for meta events to use Flex Data messages
[ ] use delta clockstamps
[ ] use the updated or new song class instead of Midi2Music

apply the changes to Midi2Player (mostly about UmpRetrieval)

There have been mugene-ng development branch ktmidi-0.5.0 which we track of those June 2023 updates.
One thing to mention here is that there are handful of significant META events that we cannot map to Flex Data text events such as INSTRUMENTNAME and MARKER. Therefore we keep support for SysEx8 for meta events for some parts too. Song title, copyright and text will be altered though.

We can mark it as completed as of 8a2d873.


Add kubernetes.io/arch label in worker

How to categorize this PR?

/area control-plane
/kind enhancement
What this PR does / why we need it:
This PR adds kubernetes.io/arch label in worker pool labels. Doing so will add this label in machinedeployment node-template so it can be used to scale the worker pool from zero.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
I am not adding kubernetes.io/os label as there will be no benefit for it, cause as of now only supported os is linux.
Release note:

`kubernetes.io/arch` label can now be used for scaling the worker pools from `0` based on CPU architecture.

/cc @rfranzke

/test pull-gardener-e2e-kind
/test pull-gardener-e2e-kind-migration

Can you explain why there are changes to the validation in this PR (the title/description does not talk about it)?

Can you explain why there are changes to the validation in this PR (the title/description does not talk about it)?

It is a minor change and not related to the main motivation of this PR.


Incremental training with layer freezing exp

This PR cleans and organizes the example 09-Incremental-Training-with-Different-Learning-Rates-and-Layer-Freezing.ipynb in this PR  https://github.com/NVIDIA-Merlin/models/pull/667.
Missing: Will update the logo.

it looks good, but we still miss a unittest

we still need to update the logo

rerun tests

rerun tests

rerun tests

rerun tests


Docker File

DoD: FhirMarshal is running within a Docker Container
TODO:

Docker file

Fixed in #10


Hyperlinks not linking to correct pages

Hi!
I noticed what I think are some issues with hyperlinks.

On Use Cases/Websites hyperlinks "MORE ABOUT BLOCKS" and "RICH TEXT DOCS" are both linking to https://payloadcms.com/use-cases/websites instead of their pages in the docs
On the Textarea Field docs under the "Config" heading, there is a double "More" hyperlink next to the description of the defaultValue option

Hey @isamardzija, thank you for catching these!

The button wasn't returning the right url here, pushed a fix
Double link typo also fixed

These changes will live soon 👍


Automate version change updates

A helper script to automate the find-n-replace process for version strings in pom.xml files during a version bump.

Nice!
On Thu, Jul 16, 2015 at 9:07 AM, Andy Spohn<EMAIL_ADDRESS>wrote:

A helper script to automate the find-n-replace process for version strings
in pom.xml files during a version bump.
You can view, comment on, or merge this pull request online at:
https://github.com/ngageoint/geowave/pull/458
Commit Summary

Automate version change updates

File Changes

A .utility/roll-version.sh
https://github.com/ngageoint/geowave/pull/458/files#diff-0 (29)
M README.md
https://github.com/ngageoint/geowave/pull/458/files#diff-1 (2)

Patch Links:

https://github.com/ngageoint/geowave/pull/458.patch
https://github.com/ngageoint/geowave/pull/458.diff

—
Reply to this email directly or view it on GitHub
https://github.com/ngageoint/geowave/pull/458.

Will want to try and use the maven release plugin instead if possible.


chore add context info in log when using single-stream-multi-table load

Proposed changes
Add context info in log can know the task load id/txn id, which is more easy to trouble shoot.

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

run buildall


[Bug] axis labels display error

Version
1.1.0-beta.10
Link to Minimal Reproduction
https://codesandbox.io/s/axis-labels-display-error-kcqsvq?file=/src/index.ts
Steps to Reproduce
none
Current Behavior

left axis label's textAlign and textBaseLine are wrong when axis label space is 0

left axis can not move autolly to avoid intersecting with the axis line

Expected Behavior

left axis label layout correctly when axis label space is 0
left axis label auto layout when axis label config has angle

Environment
- OS:
- Browser:
- Framework:

Any additional comments?
No response

It had been fixed in https://github.com/VisActor/VRender/pull/268, and it will released in<EMAIL_ADDRESS>which we will upgrader vrender version to v0.14.x

<EMAIL_ADDRESS>solve it


Private comments are sent to flowdock

Private comments should remain private, and not displayed in the flowdock inbox

ping?

Hey @@gravis, unfortunately our priorities have shifted away from Redmine and so we are not maintaining this code anymore. You are welcome to fork this and make it work for you.


Auto start not working

I've added to /etc/rc.local just before the last line exit 0
python -m pi_mqtt_gpio.server /home/pi/config.yml &
to have the program started automatically. But it fail somehow.
If I start it manually with
python -m pi_mqtt_gpio.server /home/pi/config.yml
It work ok
Where can I check to find out what is going wrong ?
My config
mqtt:
  host: <IP_ADDRESS>
  port: 1883
  user: "user"
  password: "passwd"
  topic_prefix: solarium

gpio_modules:
  - name: raspberrypi
    module: raspberrypi

digital_outputs:
  - name: toit_spa
    module: raspberrypi
    pin: 18
    on_payload: "ON"
    off_payload: "OFF"
    initial: low # low or high
    retain: yes

  - name: toit_solarium
    module: raspberrypi
    pin: 17
    on_payload: "ON"
    off_payload: "OFF"
    initial: low
    retain: yes

  - name: toit_toggle
    module: raspberrypi
    pin: 23
    on_payload: "ON"
    off_payload: "OFF"
    initial: low
    retain: yes

digital_inputs:
  - name: rain
    module: raspberrypi
    pin: 22
    on_payload: "on"
    off_payload: "off"
    pullup: yes
    pulldown: no

I've put in the whole path and without the '-m' option and this works for me.
/usr/bin/python3 /usr/local/lib/python3.7/dist-packages/pi_mqtt_gpio/server.py /home/pi/config.yml &

I was able to install on my raspi 4 but I can just start manually via
sudo /usr/bin/python3 /usr/local/lib/python3.7/dist-packages/pi_mqtt_gpio/server.py /home/pi/config.yml &
But if I put that lline in /etc/rc.local (without sudo) it do not work. My pi is connected to a card with 3 relay. When I start manually, relay 1 and 2 are down and relay 3 is up. But when I reboot, all three relay become up. Don't know if it is pi_mqtt_gpio that is triggering them up or they just become up.

Ok I've added the following line in rc.local, just above line saying # Print the IP address:
 exec > /tmp/rc-local.out 2>&1;set -x
and I got the following error:
+ python -m pi_mqtt_gpio.server /home/pi/config.yml
2020-09-05 14:11:38,756 mqtt_gpio (INFO): Startup
2020-09-05 14:11:39,116 mqtt_gpio (CRITICAL): Unable to connect to MQTT server: [Errno 101] Network is unreachable

so pi_mqtt_gpio start before the network is established and crash because there is no mqtt server. That's why I can start it manually but not via rc.local
How can I delay pi_mqtt_gpio to wait until network is up

Got it... I've added a delay before starting pi_mqtt_gpio and it work
sleep 20
python -m pi_mqtt_gpio.server /home/pi/config.yml &


Any planned date for code and checkpoint release?

@nitinmukesh Thanks for your interest, we plan to release the code and checkpoints later this year, and an interactive GUI demo is expected to be released earlier, stay tuned for the updates :)

@ZichengDuan
Looking forward.

@nitinmukesh The inference code and checkpoint are now released, and the training code is also coming soon.


wrap_x: change macros back to macro_rules!

Marginal cleanup to convert the wrap_pyfunction and wrap_pymodule macros back to macro_rules! macros.
I think it's marginally easier for both readers and maintainers to follow macro_rules! macros in this simple case. Also allows for better doc links.

Hmm this runs into trouble with glob imports because the macro rules are slightly wonky with paths... see https://github.com/rust-lang/rust/issues/48067

Actually a slight bit of breakage related to glob imports seems inevitable but perhaps better - see https://github.com/PyO3/pyo3/pull/2366#issuecomment-1123112206


Update README.md

How about making it more visible? Make it bold, add a warning emoji (⚠), and mention that Cryptopower includes everything GoDCR had and more (I assume it is)?

How about making it more visible? Make it bold, add a warning emoji (⚠), and mention that Cryptopower includes everything GoDCR had and more (I assume it is)?

i think linking should just be fine, once the link is clicked all the information needed is there

Thats big and visible now, thanks!


[General UI] Arrows disappear for small screens

Steps to reproduce the problem

Go to https://learn.qiskit.org/course/introduction/what-is-quantum
Reduce the size of the screen to something small

What is the current behavior?
The arrows that should be at both sides of the circles disappear for small screens but they are remain clickable.
What is the expected behavior?
The arrows should be there.
Screenshots (optional but very helpful)

Environment (optional but very helpful)

Browser: Chrome

This repository is no longer maintained. It has been superseded by IBM Quantum Learning.


why I get a 100% acc on the valid data?

Any luck solving this? I haven't been able to reproduce the clusters in the original script yet consistently achieve 100% accuracy on the train and test data for MNIST.

Any luck solving this? I haven't been able to reproduce the clusters in the original script yet consistently achieve 100% accuracy on the train and test data for MNIST.

please can you help me in input dataset to thate model

No description provided.

have you done your problem ? let help me pls

No description provided.

have you done your problem ? let help me pls

I have the same issue, I am consistently getting 100% accuracy on the validation dataset, has anyone been able to solve this?

Any luck solving this?

I have the same issue, I am consistently getting 100% accuracy on the validation dataset, has anyone been able to solve this?
Any luck solving this?

No, no luck in solving it, but I came across the following article https://yiwenlai.medium.com/how-to-train-with-arcface-loss-to-improve-model-classification-accuracy-d4035195aeb9. It mentions about the 100% accuracy error and how to solve it. Please go through it.

thanks
---Original---
From: @.>
Date: Wed, Jun 22, 2022 20:10 PM
To: @.>;
Cc<EMAIL_ADDRESS>Subject: Re: [4uiiurz1/keras-arcface] why I get a 100% acc on the valid data?(#14)
No, no luck in solving it, but I came across the following article https://yiwenlai.medium.com/how-to-train-with-arcface-loss-to-improve-model-classification-accuracy-d4035195aeb9. It mentions about the 100% accuracy error and how to solve it. Please go through it.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>

No, no luck in solving it, but I came across the following article https://yiwenlai.medium.com/how-to-train-with-arcface-loss-to-improve-model-classification-accuracy-d4035195aeb9. It mentions about the 100% accuracy error and how to solve it. Please go through it.

not work

Same problem here.

2 ways ，it works    1.use tf 2+  2.
trans speech brain ArcFace to tf version
---Original---
From: "Kevin @.>
Date: Sun, Aug 28, 2022 06:55 AM
To: @.>;
Cc<EMAIL_ADDRESS>Subject: Re: [4uiiurz1/keras-arcface] why I get a 100% acc on the valid data?(#14)
Same problem here.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: @.***>


Can't join on local reference input

Hello, I get the following error when trying to join a local input source on a reference input source:
2/5/2020 4:16:42 PM : Info : There are 1 input(s) for job
2/5/2020 4:16:42 PM : Info : Input Alias : 'adl-creditscores-event-source' , Input Type : 'Data Stream'
[Error] Error : The join predicate is not time bounded. JOIN operation between data streams requires specifying max time distances between matching events. Please add DATEDIFF to the JOIN condition.

The input type is set as 'Reference data'  but it does not recognize it as such.
WITH
CreditScores AS(
SELECT
    [adl-creditscores-event-source].personId,
    [adl-creditscores-event-source].lastName,
    [adl-creditscores-event-source].firstName,
    [adl-creditscores-event-source].creditScore AS CurrentCreditScore
--LAST(creditScore) OVER (PARTITION BY PersonId LIMIT DURATION(year, 7)) AS oldCreditScore,
-- (creditScore - LAST(creditScore) OVER (PARTITION BY PersonId LIMIT DURATION(year, 7))) / creditScore AS percentChange

FROM
    [adl-creditscores-event-source]
    LEFT JOIN ref
    ON ref.personId = [adl-creditscores-event-source].personId
WHERE
    ref.creditScore < > [adl-creditscores-event-source].creditScore
)

SELECT
    * INTO CuratedCreditScoresOutput
FROM
    CreditScores

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

ID: e8f1f47b-62e5-1652-d8d2-189b0d2f4128
Version Independent ID: 09ac7e5d-441c-7911-a105-16ae5d515524
Content: Quickstart - Create an Azure Stream Analytics job in Visual Studio Code
Content Source: articles/stream-analytics/quick-create-vs-code.md
Service: stream-analytics
GitHub Login: @mamccrea
Microsoft Alias: mamccrea

Moved this issue to more appropriate section:
https://github.com/MicrosoftDocs/azure-docs/issues?utf8=✓&q="106d06bc-def9-b332-9edf-5cd581b4b059"&in=body

Duplicate of #47531


Content - Who we are

Content - Who we are

CloudFlow might be a new Microsoft Dynamics CRM Partner, but we are a group of Dynamics CRM experts who have set out to create a CRM consultancy that is totally focused on improving the lives of business users and their customers.


[MTDSA-1053] Add the requester's affinityGroup to audit payloads.

Update tests to include new payload field.

👍


Support UMI pre-processing with a 3rd file containing UMIs

Shifu;
Thanks for this great tool and adding pre-processing for UMIs. I've been looking for faster options to replace our use of umis (https://github.com/vals/umis) for pre-processing UMI outputs and adding into read headers. We typically end up with UMIs in a 3rd file as outputs from bcl2fastq when the UMIs are present in the input reads, and I wondered if this is possible to support?
I had a quick dig into the code to start implementing but realized you have specialized iterators for pairs so didn't want to break too much by trying to have a 3 input iterator, thinking there might be a better way to integrate.
Here is an example case with R1/R3 as the first/second read pair and R2 as the UMI:
https://s3.amazonaws.com/chapmanb/testcases/fastp_umi_example.tar.gz
Thanks for any thoughts and suggestions for processing these with fastp.

It seems to help to add: -u 100 -n $UMI_LENGTH -Y 100 -G
Low quality sequences otherwise seem to break fastq sync using just the options originally proposed


[WIP] Fuzzying

Opening as wip to encourage early reviews.
This is an initial fuzz-testing infrastructure:

produce a CLI of Chicory to be able to compare results
generate WASM modules using wasm-smith
invoke the exported functions on wasmtime (aka the Oracle), is wasmtime fails we skip the test
Invoke the same exported functions on Chicory
when the output from the 2 CLIs differs a new folder is created under fuzz/src/test/resources/ with a prefix crash-
there is a parametrized test running on all of the reproducers
there is a configurable test to provide a seed and the types and run the same infrastructure (it seems like wasm-smith is producing different results on different machines)
a GH action to run those tests nightly, it will open PRs on failure, similar to: https://github.com/andreaTP/chicory/pull/6

All in all, this implementation is the first bulk of work and there are some quick and dirty things to get it running.
We should iterate on it as we grow expertise in it.
Happy to hear what you think about it!

Great start so far! First question I have is about the CLI. it's a very useful tool to have regardless, but do you know the overhead with starting up the jvm and jitting all the code, etc? Could make a big difference with fuzzing time. Would it be possible to compile it to native code?

First question I have is about the CLI.

Correct, I was lazy enough to only bundle everything up in a jar and make it executable 😅 .
Building a native binary is definitely possible but it requires a little more work, the biggest challenge is that cross-compilation is not supported and you need separate jobs to release for every possible target architecture ( e.g. ).
I think we can discuss the native CLI subject as an improvement on top of this PR as it also brings the questions about frameworks etc. etc. (can we use Quarkus? should we strive to stay away from any framework? etc. etc.)

I think this is ready for review, the CI failure is legit and shows an actual mismatched result.
In case this is too much for a single PR I can break it down to pieces, but I would love to build some experience with this setup before making additional changes.

I’m out until Wednesday. I can check it out then. But if someone else has bandwidth to review go for it!
On Feb 12, 2024 at 11:45 AM -0600, Andrea Peruffo @.***>, wrote:

I think this is ready for review, the CI failure is legit and shows an actual mismatched result.
In case this is too much for a single PR I can break it down to pieces, but I would love to build some experience with this setup before making additional changes.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because your review was requested.Message ID: @.***>


fix: correct typing for doughnut, pie, and polarArea charts

fixes: #10896

This is a change to DoughnutAnimationOptions to base the interface off of AnimationSpec<"doughnut">.
This appears to be the correct choice as a few of the existing tests include animation options in various doughnut based charts and include properties such as delay and easing which are missing from DoughnutAnimationOptions but are present in the AnimationSpec interface.
Also includes a basic test that ensures that DoughnutAnimationOptions is fully assignable to ChartOptions<"doughnut">

Holy cow!  That's quite the lead time on getting this merged :D


Java 9 warning - illegal reflective access

Just wanted to report this warning I'm seeing now since I am giving Java 9 a go (for native alpn/ssl stuff that's not directly related to Redisson).
This warning is shown on stdout when I start up my runnable/uber jar:
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.redisson.config.ConfigSupport (file:/opt/rt_deploy/ej_test/target/rt-push-server.jar) to method java.net.URI.lowMask(java.lang.String)
WARNING: Please consider reporting this to the maintainers of org.redisson.config.ConfigSupport
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release

So far it appears everything is working fine, but figured it might be worth reporting, since it says it will eventually be denied in a future Java 9 release.

Thanks for reporting. The usage you are referring to was an hack we have to employ to make underscores accepted in URI. The problem is while underscore is not valid for being part of URI but people are still use them in host names.

Gotcha.  Figured it may or may have not been a known warning for Java 9... It's still doing it's job just fine however, so keep up the good work!

Thank you very much. I shall close this ticket for now.

After this I discovered that Netty (which Redisson depends on) also has a warning about illegal reflective access. I filed netty/netty#8318 for that and submitted netty/netty#8319 as a fix.


inference speed problem android

Hello, thanks your work, your work is very novel.
I test the1st model(s1_d) by using speed_benchmark_torch.
Android device is Qualcomm Snapdragon 888+

resolution
latency

224*224*3
282ms

512*512*3
1.8s

1024*1024*3
7s

the spedd is slow, why?

import logging
import math
import os
import sys
import time
import numpy as np
import torch
import torch.nn.functional as F
import torch.optim as optim
from PIL import Image
from torch.utils.tensorboard import SummaryWriter
from torch.utils.mobile_optimizer import optimize_for_mobile
import model
from data import Provider, SRBenchmark
sys.path.insert(0, "../")  # run under the project directory
from common.option import TrainOptions
from common.utils import PSNR, logger_info, _rgb2ycbcr
torch.backends.cudnn.benchmark = True
mode_pad_dict = {"s": 1, "d": 2, "y": 2, "e": 3, "h": 3, "o": 3}
if name == "main":
opt_inst = TrainOptions()
opt = opt_inst.parse()
modes = [i for i in opt.modes]
stages = opt.stages
model = getattr(model, opt.model)
model_G = model(nf=opt.nf, scale=opt.scale, modes=modes, stages=stages) # .cuda()
lm = torch.load('/home/fanhao1/MuLUT/models/sr_x2sdy/Model_200000.pth')
model_G.load_state_dict(lm.state_dict(), strict=True)
dummy_input = torch.randn(1, 3, 128, 228) #.to('cuda')
# torch.onnx.export(model_G.s1_d, dummy_input, "MuLUT.onnx", verbose=False, opset_version=17)
# torch.onnx.dynamo_export(model_G.s1_d, dummy_input).save('s1_d.onnx')
traced_script_module = torch.jit.trace(model_G.s1_d, dummy_input)
# traced_script_module = torch.jit.load(load_path)
traced_script_module_optimized = optimize_for_mobile(traced_script_module)
outputPath = "s1_d.ptl"
traced_script_module_optimized._save_for_lite_interpreter(outputPath)
outputPath = "s1_d_nop.ptl" # os.path.join ( output_path, model_name + "_{}x{}_nop.ptl".format(height, width) )
traced_script_module._save_for_lite_interpreter(outputPath)
outputPath = "s1_d_nop.pt" # os.path.join ( output_path, model_name + "_{}x{}.pt".format(height, width) )
traced_script_module.save(outputPath)
print(model_G)

Hi, thanks for your interest on our work.
There are many tensor operations inside the torch model, e.g., reshape, which contributes a lot to the running time. As stated in our paper, we reimplement the LUT retrieval process with JAVA following SR-LUT to evaluate its running time.

Thank you, Could you provide the MuLUT Android Java project code or android apk demo?

Please send me an email.

Hello, I am also doing some work related to lookup table recently, and I want to compare your method with mine. Could you please provide the deployment code of image denoising and image hypersegmentation in your article on Android system?


No change from default neovim colors

When calling :colorscheme tokyonight nothing happens. Other themes work appropriately.
Installed with vim-plug. Stripped down init.vim to:
set termguicolors
call plug#begin()
Plug 'gruvbox-community/gruvbox'
Plug 'folke/tokyonight.nvim', {'branch':'main'}
call plug#end()

calling :colorscheme gruvbox works fine, so it doesn't seem to be an issue with vim-plug.
Details

Nvim version: 0.6.1
same behavior in and out of tmux
running WSL ubuntu 20.04
have tried running inside windows terminal
have tried running inside alacritty

Oddly enough, after making these changes, Neovim starts correctly with the colorscheme. However, when I re-source the config (:so init.lua) it breaks. Similarly, by changing the colorscheme with a command IE :colorscheme gruvbox

Can you be more specific on what actually breaks?
Is your background option light?

Looks like an error completely unrelated to the theme was messing up the init.lua Should be all good now. Thanks for reaching out.


Phone number medatada update

Coverage remained the same at 99.676% when pulling b4c9f8c4caa1ad14c378876d80dbc8b37a0416cf on update-metadata into 7bfd39e411695a00239837752e1fa9103bb23c87 on master.


Update GitHub confirmation text

Update GitHub confirmation text, the new text fits better and also mentions that users need to verify their email addresses:

:+1:


Find solution for secure route checking after Rundeck is gone

Please also see #2.

Create Jenkins Job which runs on certain interval?

@kiwo Sounds like a viable first approach.

hi @kiwo , we found out that we also need to check for termination type "Re-encript" (so to assure we check for all possible terminations, now only checking if it is "Edge" or "Passthrough"), we will provide an update in 1.2.x related script soon-ish!


Add CI

Add github action support for running the test

Added a simple CI for pytest here: https://github.com/ido123ziv/openu-cyber-101-course/commit/6f9288d2f7f6512fd751d1e16f9bf3778d3191a2

Add end to end flows:

start servers, start client do all the register flow with sending a key, sending it and accepting in message server
restore server after crush and validate users


[FLINK-24635][examples] Clean up flink-examples

What is the purpose of the change
Clean up flink-examples to remove usage of deprecated APIs. The final commit then adds a flag to fail compilation if a deprecated apis to keep examples up to date going forward.
Brief change log
This is a mostly trivial find and replaces of deprecated APIs with their modern counterparts. Each example is its own commit for easy review.
A few, such as AsyncIO, were additionally simplified but nothing was substantially changed.
Verifying this change
(Please pick either of the following options)
This change is a trivial rework / code cleanup without any test coverage.
Does this pull request potentially affect one of the following parts:
no
Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

@RocMarshal @alibahadirzeybek @NicoK  would any of you like to take a look at this?


New worker request: kushaldas-wasi

Username
kushaldas
GitHub username
No response
Name
No response
Email address
<EMAIL_ADDRESS>Password status
I need a new owner password
Processor architecture
amd64
Operating System
Ubuntu 20.04
Anything special about the worker?
For WASI builds, fresh setup.

Hey @kushaldas, thank you for your interest in setting up a new buildbot worker for CPython!
I have updated the buildbot master configuration and I will be emailing you shortly on the email address you specified with your worker password.
Note that you will need to follow up with a PR to add the specific worker!


Packages & imports are highlighted in as variables

Problem description
At the moment the package & imports are only recognized as variables, thus there is no way to customize the entire package import statement, without affecting the highlight of the variables
We have the following
package com.package.name;
import java.util.Collections;

The package statement as a whole is highlighted only as @variable
The import, only java.util. is @variable, while Collections is @variable, superseded by @type
It would be great if both the package and / or import share a more granular highlight, to allow for better customization.

highlights generally aren't controlled here, unless you're talking about the actual cli highlights with tree-sitter highlight. if so, then a PR is welcome to update the queries, but note that oftentimes this kind of stuff isn't distinguishable without some semantic info (LSPs job). But I feel like you're talking about some implementation of tree-sitter in whatever tool/app you're using, if so, then you'd have to file it with them (e.g. an editor/plugin)


Error in pyspark_cassandra on Zeppelin

Error on attempt to access Cassandra via the pyspark_cassandra connector when running in Apache Zepplin:
%pyspark
import pyspark_cassandra
rdd = sc.cassandraTable("mjhb", "iris")

Py4JJavaError: An error occurred while calling o60.loadClass.
: java.lang.ClassNotFoundException: pyspark_cassandra.PythonHelper
	at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
	at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:425)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:358)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at py4j.reflection.MethodInvoker.invoke(MethodInvoker.java:231)
	at py4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:379)
	at py4j.Gateway.invoke(Gateway.java:259)
	at py4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:133)
	at py4j.commands.CallCommand.execute(CallCommand.java:79)
	at py4j.GatewayConnection.run(GatewayConnection.java:207)
	at java.lang.Thread.run(Thread.java:745)

(<class 'py4j.protocol.Py4JJavaError'>, Py4JJavaError(u'An error occurred while calling o60.loadClass.\n', JavaObject id=o61), <traceback object at 0x7f2ca5883098>)

Works fine with pyspark.

Hi @mjhb, interesting to see you're trying out pyspark_cassandra in Zeppelin. If you get a chance to write up a comparison between IPython notebook versus Zeppelin, I'd be very interested!
But, that of course requires you to be able to use it ... The stacktrace looks like a plain old classpath error. Could you share how things are loading? Perhaps also the full command with which JVM is started?

Oops, shoulda included that.
I'm starting Zeppelin with its zeppelin-daemon command:  bin/zeppelin-daemon start
I've set the following in conf/zeppelin-env.sh:
PATHTOCONNECTOR="/home/mjhb/work/pyspark-cassandra/target"
export ZEPPELIN_JAVA_OPTS="-Dspark.cassandra.connection.host=cassie -Dspark.jars=$PATHTOCONNECTOR/pyspark_cassandra-0.1.4.jar"
export PYTHONPATH="$PATHTOCONNECTOR/pyspark_cassandra-0.1.4-py2.7.egg"

Log file (logs/zeppelin-interpreter-spark-mjhb-appdev.log) indicates that both the jar and egg are loaded (no error messages):
Added JAR file:/home/mjhb/work/pyspark-cassandra/target/pyspark_cassandra-0.1.4.jar at http://<IP_ADDRESS>:53081/jars/pyspark_cassandra-0.1.4.jar with timestamp<PHONE_NUMBER>027
Copying /home/mjhb/work/pyspark-cassandra/target/pyspark_cassandra-0.1.4-py2.7.egg to /tmp/spark-11dd4dc8-6a78-4e9a-8073-d2ad2497f8ba/spark-8a841bb9-33c9-42a8-ac53-aab1e024d7d2/pyspark_cassandra-0.1.4-py2.7.egg
Added file /home/mjhb/work/pyspark-cassandra/target/pyspark_cassandra-0.1.4-py2.7.egg at http://<IP_ADDRESS>:53081/files/pyspark_cassandra-0.1.4-py2.7.egg with timestamp<PHONE_NUMBER>154

Sorry - I don't use iPython so I don't have a perspective on comparison w/ Zeppelin.

Well, that doesn't look that bad ... I haven't been able to get Zeppelin up and running myself. I took a quick stab at it, but ran in to more than a handfull of errors. Could you test if this issue is something which pertains to pyspark_cassandra in particular or is a more general issue (either in your setup or in Zeppelin)?

Your connector works fine in pyspark (at least for the scenarios I've tested), but fails in Zeppelin.  I submitted a JIRA ticket to Zeppelin, but haven't received any response (other than ack on the submission).
I was hoping you'd have some insight into why the connector is failing.
Thanks.

Sorry. Have you used other extra packages in Zeppelin successfully?
On 31 May 2015 20:47, Marty B<EMAIL_ADDRESS>wrote:
Your connector works fine in pyspark (at least for the scenarios I've tested), but fails in Zeppelin. I submitted a JIRA ticket to Zeppelin, but haven't received any response (other than ack on the submission).
I was hoping you'd have some insight into why the connector is failing.
Thanks.
—
Reply to this email directly or view it on GitHubhttps://github.com/TargetHolding/pyspark-cassandra/issues/34#issuecomment-107233144.

FWIW, a coworker has managed to get the scala cassandra connector working.
I also tried to get zeppelin to work using this python lib but gave up.
On Sun, May 31, 2015 at 1:07 PM Frens Jan Rumph<EMAIL_ADDRESS>wrote:

Sorry. Have you used other extra packages in Zeppelin successfully?
On 31 May 2015 20:47, Marty B<EMAIL_ADDRESS>wrote:
Your connector works fine in pyspark (at least for the scenarios I've
tested), but fails in Zeppelin. I submitted a JIRA ticket to Zeppelin, but
haven't received any response (other than ack on the submission).
I was hoping you'd have some insight into why the connector is failing.
Thanks.
—
Reply to this email directly or view it on GitHub<
https://github.com/TargetHolding/pyspark-cassandra/issues/34#issuecomment-107233144>.
—
Reply to this email directly or view it on GitHub
https://github.com/TargetHolding/pyspark-cassandra/issues/34#issuecomment-107240665
.

@frensjan:  yes - I'm using the Scala interpreter with Datastax' Spark-Cassandra Connector in Zeppelin and that works great.  The only issue I have with Zeppelin (other that wish-list items) is Cassandra access from the Python interpreter.  The Zeppelin folks are unlikely to figure this out, since it's the pyspark-cassandra connector that is throwing the error.
@rustyrazorblade same here - am using the DS Spark-Cassandra Connector with the Scala interpreter without problems.

Ok, that's useful feedback. This makes it likely that it is a pyspark cassandra related issue. In issue https://github.com/TargetHolding/pyspark-cassandra/issues/5 there was a problem with class loaders. It might be that Zeppelin wires up the class loaders differently than 'normal' pyspark does.
If I have the time I'll try setting up Zeppelin again. If anyone is brave enough to fight the class loaders: take a look at rdd.py at line 65 for how it's used at the moment. In earlier versions I used the sc._jvm property directly. The change was made due to a change in how Spark deals with the class loader. But Zeppelin might do things differently.

I wish I could help with the class loader, but that's outside my competency.  Happy to help with hypothesis testing of experimental code or in any other way(s) that might be helpful.

How do you solve this problem @mjhb  ?


GROOVY-5436: Enable use of parameter list in SQL IN Clause

Currently if a collection or array type is included in the parameters for a query a java.sql.SQLException: Invalid column type is thrown.  So this change assumes that there was no use of those types in parameters previously.  This change will expand those parameters in placeholders such that a 3 element array would become (?,?,?).  No checking is done to ensure the IN operator is the actual operator for the parameter, so would work for other operators that take lists of parameters enclosed in parens (such as Oracle ANY or ALL operators).
This change moves the updating of the user supplied params to the sql parsing phase (in ExtractIndexAndSql).  One limitation that I know of is that it does not work in the withBatch family of methods.  Since the parameters for those methods are not known at the time the sql is parsed for parameters and given the nature of those methods, it seemed like an acceptable trade-off.
Given that this is a significant change that introduces risk, there haven't been a lot of votes on the issue and there is a reasonable workaround using Sql.expand, I can understand why this wouldn't be accepted.  But thought I would at least offer it up.

Guys, 3 years passed, still no solution? Why is the PR closed?

I didn't close it but from memory there were workarounds mentioned in the mailing lists that weren't too bad vs the quite considerable complexity added to try to support this feature. Also, we aren't looking at PRs in this repo but rather in the new repo: https://github.com/apache/groovy


Provide a more general log push function

This PR adds some syntactic sugar to let entries be pushed into a log with an argument for the severity tier instead of a separate function for each tier.

Build went thru okay


summernote-rails <IP_ADDRESS> breaks test environment with error: undefined method `[]' for nil:NilClass

Hi, I just upgraded from summernote-rails <IP_ADDRESS> to <IP_ADDRESS> and my capybara tests are now all failing. I am just digging into this now and will try to build a more concise failure case, but perhaps someone watching these issues has encountered the same problem and has some ideas?
Here is the error:
ActionView::Template::Error: undefined method `[]' for nil:NilClass
sprockets-3.5.2/lib/sprockets/sass_processor.rb:278:in `sprockets_context'

Removing //= require summernote from my application.css.scss fixes the problem. Downgrading to summernote-rails <IP_ADDRESS> also fixes it.
The failing code in sprockets-3.5.2/lib/sprockets/sass_processor.rb is:
def sprockets_context
  options[:sprockets][:context] # Fails here
end

Using pry I discovered that options has no key named :sprockets, and so options[:sprockets] is nil, leading to the error.
I am using Rails <IP_ADDRESS>, sprockets 3.5.2, sprockets-rails 3.0.2, and summernote-rails <IP_ADDRESS>.
Here is a more complete backtrace:
sprockets-3.5.2/lib/sprockets/sass_processor.rb:280:in `sprockets_context'
sprockets-3.5.2/lib/sprockets/sass_processor.rb:124:in `asset_path'
sprockets-3.5.2/lib/sprockets/sass_processor.rb:200:in `font_path'
sass-3.4.21/lib/sass/script/tree/funcall.rb:140:in `_perform'
sass-3.4.21/lib/sass/script/tree/node.rb:50:in `perform'
sass-3.4.21/lib/sass/script/tree/funcall.rb:170:in `perform_arg'
sass-3.4.21/lib/sass/script/tree/funcall.rb:124:in `block in _perform'
sass-3.4.21/lib/sass/script/tree/funcall.rb:124:in `each'
sass-3.4.21/lib/sass/script/tree/funcall.rb:124:in `each_with_index'
sass-3.4.21/lib/sass/script/tree/funcall.rb:124:in `each'
sass-3.4.21/lib/sass/script/tree/funcall.rb:124:in `map'
sass-3.4.21/lib/sass/script/tree/funcall.rb:124:in `_perform'
sass-3.4.21/lib/sass/script/tree/node.rb:50:in `perform'
sass-3.4.21/lib/sass/tree/visitors/perform.rb:395:in `visit_prop'
sass-3.4.21/lib/sass/tree/visitors/base.rb:36:in `visit'
sass-3.4.21/lib/sass/tree/visitors/perform.rb:158:in `block in visit'
sass-3.4.21/lib/sass/stack.rb:79:in `block in with_base'
sass-3.4.21/lib/sass/stack.rb:115:in `with_frame'
sass-3.4.21/lib/sass/stack.rb:79:in `with_base'
sass-3.4.21/lib/sass/tree/visitors/perform.rb:158:in `visit'
sass-3.4.21/lib/sass/tree/visitors/perform.rb:502:in `block (2 levels) in visit_directive'
sass-3.4.21/lib/sass/tree/visitors/perform.rb:502:in `map'
sass-3.4.21/lib/sass/tree/visitors/perform.rb:502:in `block in visit_directive'
sass-3.4.21/lib/sass/tree/visitors/perform.rb:179:in `with_environment'
sass-3.4.21/lib/sass/tree/visitors/perform.rb:501:in `visit_directive'
sass-3.4.21/lib/sass/tree/visitors/base.rb:36:in `visit'
sass-3.4.21/lib/sass/tree/visitors/perform.rb:158:in `block in visit'
sass-3.4.21/lib/sass/stack.rb:79:in `block in with_base'
sass-3.4.21/lib/sass/stack.rb:115:in `with_frame'
sass-3.4.21/lib/sass/stack.rb:79:in `with_base'
sass-3.4.21/lib/sass/tree/visitors/perform.rb:158:in `visit'
sass-3.4.21/lib/sass/tree/visitors/base.rb:52:in `block in visit_children'
sass-3.4.21/lib/sass/tree/visitors/base.rb:52:in `map'
sass-3.4.21/lib/sass/tree/visitors/base.rb:52:in `visit_children'
sass-3.4.21/lib/sass/tree/visitors/perform.rb:167:in `block in visit_children'
sass-3.4.21/lib/sass/tree/visitors/perform.rb:179:in `with_environment'
sass-3.4.21/lib/sass/tree/visitors/perform.rb:166:in `visit_children'
sass-3.4.21/lib/sass/tree/visitors/base.rb:36:in `block in visit'
sass-3.4.21/lib/sass/tree/visitors/perform.rb:186:in `visit_root'
sass-3.4.21/lib/sass/tree/visitors/base.rb:36:in `visit'
sass-3.4.21/lib/sass/tree/visitors/perform.rb:157:in `visit'
sass-3.4.21/lib/sass/tree/visitors/perform.rb:8:in `visit'
sass-3.4.21/lib/sass/tree/root_node.rb:36:in `css_tree'
sass-3.4.21/lib/sass/tree/root_node.rb:20:in `render'
sass-3.4.21/lib/sass/engine.rb:278:in `render'
sprockets-3.5.2/lib/sprockets/sass_compressor.rb:48:in `call'
sprockets-3.5.2/lib/sprockets/sass_compressor.rb:28:in `call'
sprockets-3.5.2/lib/sprockets/processor_utils.rb:75:in `call_processor'
sprockets-3.5.2/lib/sprockets/processor_utils.rb:57:in `block in call_processors'
sprockets-3.5.2/lib/sprockets/processor_utils.rb:56:in `reverse_each'
sprockets-3.5.2/lib/sprockets/processor_utils.rb:56:in `call_processors'
sprockets-3.5.2/lib/sprockets/loader.rb:134:in `load_from_unloaded'
sprockets-3.5.2/lib/sprockets/loader.rb:60:in `block in load'
sprockets-3.5.2/lib/sprockets/loader.rb:318:in `fetch_asset_from_dependency_cache'
sprockets-3.5.2/lib/sprockets/loader.rb:44:in `load'
sprockets-3.5.2/lib/sprockets/cached_environment.rb:20:in `block in initialize'
sprockets-3.5.2/lib/sprockets/cached_environment.rb:47:in `load'
sprockets-3.5.2/lib/sprockets/base.rb:66:in `find_asset'
sprockets-3.5.2/lib/sprockets/base.rb:73:in `find_all_linked_assets'
sprockets-3.5.2/lib/sprockets/manifest.rb:142:in `block in find'
sprockets-3.5.2/lib/sprockets/legacy.rb:114:in `block (2 levels) in logical_paths'
sprockets-3.5.2/lib/sprockets/path_utils.rb:225:in `block in stat_tree'
sprockets-3.5.2/lib/sprockets/path_utils.rb:209:in `block in stat_directory'
sprockets-3.5.2/lib/sprockets/path_utils.rb:206:in `each'
sprockets-3.5.2/lib/sprockets/path_utils.rb:206:in `stat_directory'
sprockets-3.5.2/lib/sprockets/path_utils.rb:224:in `stat_tree'
sprockets-3.5.2/lib/sprockets/legacy.rb:105:in `each'
sprockets-3.5.2/lib/sprockets/legacy.rb:105:in `block in logical_paths'
sprockets-3.5.2/lib/sprockets/legacy.rb:104:in `each'
sprockets-3.5.2/lib/sprockets/legacy.rb:104:in `logical_paths'
sprockets-3.5.2/lib/sprockets/manifest.rb:140:in `find'
sprockets-rails-3.0.2/lib/sprockets/railtie.rb:41:in `each'
sprockets-rails-3.0.2/lib/sprockets/railtie.rb:41:in `map'
sprockets-rails-3.0.2/lib/sprockets/railtie.rb:41:in `precompiled_assets'
sprockets-rails-3.0.2/lib/sprockets/railtie.rb:34:in `asset_precompiled?'
sprockets-rails-3.0.2/lib/sprockets/railtie.rb:205:in `block (3 levels) in <class:Railtie>'
sprockets-rails-3.0.2/lib/sprockets/rails/helper.rb:346:in `precompiled?'
sprockets-rails-3.0.2/lib/sprockets/rails/helper.rb:350:in `raise_unless_precompiled_asset'
sprockets-rails-3.0.2/lib/sprockets/rails/helper.rb:324:in `digest_path'
sprockets-rails-3.0.2/lib/sprockets/rails/helper.rb:312:in `asset_path'
sprockets-rails-3.0.2/lib/sprockets/rails/helper.rb:90:in `block in resolve_asset_path'
sprockets-rails-3.0.2/lib/sprockets/rails/helper.rb:230:in `block in resolve_asset'
sprockets-rails-3.0.2/lib/sprockets/rails/helper.rb:229:in `each'
sprockets-rails-3.0.2/lib/sprockets/rails/helper.rb:229:in `detect'
sprockets-rails-3.0.2/lib/sprockets/rails/helper.rb:229:in `resolve_asset'
sprockets-rails-3.0.2/lib/sprockets/rails/helper.rb:89:in `resolve_asset_path'
sprockets-rails-3.0.2/lib/sprockets/rails/helper.rb:79:in `compute_asset_path'
actionview-<IP_ADDRESS>/lib/action_view/helpers/asset_url_helper.rb:135:in `asset_path'
actionview-<IP_ADDRESS>/lib/action_view/helpers/asset_url_helper.rb:267:in `stylesheet_path'
actionview-<IP_ADDRESS>/lib/action_view/helpers/asset_tag_helper.rb:100:in `block in stylesheet_link_tag'
actionview-<IP_ADDRESS>/lib/action_view/helpers/asset_tag_helper.rb:96:in `map'
actionview-<IP_ADDRESS>/lib/action_view/helpers/asset_tag_helper.rb:96:in `stylesheet_link_tag'
sprockets-rails-3.0.2/lib/sprockets/rails/helper.rb:173:in `block in stylesheet_link_tag'
sprockets-rails-3.0.2/lib/sprockets/rails/helper.rb:171:in `map'
sprockets-rails-3.0.2/lib/sprockets/rails/helper.rb:171:in `stylesheet_link_tag'

OK, it looks like if I use @import "summernote" instead of the Sprockets-style manifest //= require summernote, then the problem goes away.

but with @import "summernote"
it doesn't work

I am pretty sure this is still an issue.

We're facing this as well


Update chart name and remove legacy Chart packages

In this PR we update the Chart name from op-scim to op-scim-helm. We also make the necessary changes to values.yaml so that the actual deployed artifacts are still called op-scim-helm-*, i.e. same as before.
We remove the legacy Chart packages located in the root of the project. These no longer work with the changes made to the index.yaml at the root of the project. The index.yaml is kept around for now to provide additional guidance to folks looking to upgrade to the new repo URL.
Steps to test

Install the previous version of the Chart (i.e. v2.4.2) from the repo:helm install op-scim-bridge 1password/op-scim --create-namespace --namespace op-scim-bridge --set scim.credentialsVolume.storageClass=standard

Remember to select the correct storage class for your destination platform, i.e. standard for GCP and do-block-storage for DO

Ensure that the applications are deployed successfully and that there are no errors in the logs:

kubectl get pods --namespace=op-scim-bridge -o wide
kubectl logs <op-scim-bridge-pod> --namespace=op-scim-bridge

Package the latest chart changes: helm package charts/op-scim-bridge
Update using the latest chart changes:helm upgrade op-scim-bridge op-scim-bridge-2.5.0.tgz --namespace op-scim-bridge --set scim.credentialsVolume.storageClass=standard

Once again ensure that the applications are deployed successfully and that there are no errors in the logs:

kubectl get pods --namespace=op-scim-bridge -o wide
kubectl logs <op-scim-bridge-pod> --namespace=op-scim-bridge

[optional] Try the latest chart changes as a fresh install:

Uninstall the previous configuration helm uninstall op-scim-bridge --namespace=op-scim-bridge
Ensure no application pods are deployed or running: kubectl get pods --namespace=op-scim-bridge -o wide
Install (not upgrade) the latest chart changes:helm install op-scim-bridge op-scim-bridge-2.5.0.tgz --create-namespace --namespace op-scim-bridge --set scim.credentialsVolume.storageClass=standard

Once again confirm that there are no errors in the deployments or application logs

Resolves #79.
Resolves #69.

The expectation after this is merged is that for releases <2.5.0 you will install them as helm install my-release 1password/op-scim ... and for releases >=2.5.0: helm install my-release 1password/op-scim-bridge .... Notice the addition of the -bridge in the latter example.
This will mean that there will be entries for both op-scim and op-scim-bridge in the index.yaml maintained by the chart-releaser for this repo (under the gh-pages branch).
Please also help check that the URLs in the README.md and index.yaml point to the correct spots. 🙏

I created #84 to address the bug @alicethorne-ab reported. I will fix that and push up the change shortly.


clear backstack on tab click

Is there any way to clear all back stack and move to first fragment  when clicked on tab?
any way to open default fragment as last fragment of activity when back pressed? "

Is there any way to clear all back stack and move to first fragment when clicked on tab?
If I understand your question correctly BottomNavigator should handle this automatically.

any way to open default fragment as last fragment of activity when back pressed? "
I'm not sure I understand the question. When BottomNavigator runs to pop it returns false so you could do something there in Activity's onBackPressed:

    override fun onBackPressed() {
        if (!navigator.pop()) {
          // Navigator has no more fragments to remove, do something special here
        }
    }

Does that answer the question?


Refactored UI code  and DISASM view massive bug fixed

Description of Changes

fix: disasm view showed the wrong code, unless the window was closed and reopened
feature: the disasm view now has the start address and number of instructions shown configurable
refactor: the DebugViewModel and MainWindowViewModel are more SOLID
refactor: the relationship between ViewModels are simpler
refactor: and more UI code deleted / simplified
split up and simplified xaml code
Use of DataTemplates to enable lazy loading, so the Debug window loads faster (hopefully)
Those DataTemplates will enable future features, such as multiple Memory and Disasm views opened at the same time

Rationale behind Changes
Enable more contributions to the UI.
Makes the UI code easier to maintain.
Makes the implementation of future debug features easier.
Suggested Testing Steps
Already tested, and I can't wait for people to test this. :)

I fixed the last commit. :)
Thank you for your review!


bump actions/checkout to v4

Thanks for the contribution! Closing in favor of #14 to automate this in the future 👍


rust sdk: Inbound http inconsistency with wasmtime serve

From https://github.com/fermyon/http-auth-middleware/pull/4#issue-1973344440
I believe this is due to the Rust SDK's conditional reconstruction of the full URI:
https://github.com/fermyon/spin/blob/1f7cc3f54a2c8d96a24767bfcaa93ebc3b8982f5/sdk/rust/src/http.rs#L450-L464
If scheme and/or authority is missing, this will return just the path.
While technically a URI must have a scheme and authority, it appears that http::Request::uri (amongst others) produces just a path for inbound requests on many servers.
For compatibility reasons I think we should align with that, though it will be annoying to adjust the conversions.

I believe it is because we are explicitly modifying the request uri here: https://github.com/fermyon/spin/blob/9c888ff9ffddf4927184a21afd519ccd63202250/crates/trigger-http/src/lib.rs#L194. We could remove this line and be compatible

That would change requests for all inbound requests including existing interfaces, which might break existing apps.


Unable to use data.prop.shift() on provided object, when using magic flag

I am getting the following error when attempting to perform a call to .shift on an array provided to ractive. Only occurs when creating an instance and using the magic flag set to true.
Cannot read property 'rebind' of undefined.
The error seems to have started at version 0.6.0
Please refer to the following snippet:
http://jsfiddle.net/Lbr0x3k7/1/
I am using Chrome 39

Seems to be fixed in edge.

It does seem to be fixed in edge. Thank you.


Publishing the master branch to the live doc site

Proposed changes
Merge from master to published
Unreleased project version (optional)

Related issues (optional)

Deploy preview for docsdocker ready!
Built with commit a6256b8501a7e1cb220004b2fff038504b430ab0
https://deploy-preview-9562--docsdocker.netlify.com


New terminal tab is blank

Developer tools show the following: https://gist.github.com/drsm79/64607fb8e7d42ebbe5c7c1a0d5d39ca0
I have the latest clickable links (thought it was the same as #369) - maybe it's windows?

This is also happening to me on Windows 10 after upgrading to the Alpha 48 release.
Uninstalling v.48 and installing v.47 fixes the issue

Hmm, downgrading didn't work here. :/

Duplicate of #369

@drsm79 can you delete any installed plugins just to confirm it's not because of these?

Only have the standard set installed now, and same error. Updated the gist with the full output from developer tools: https://gist.github.com/drsm79/64607fb8e7d42ebbe5c7c1a0d5d39ca0#gistcomment-2642102
Is there a way to do a full clean reinstall? I was surprised downgrading didn't work, so maybe there's something kicking around on my system confusing matters. I'm on the windows preview release build 17682<PHONE_NUMBER>

You can always "reset" back to a clean state by deleting the %APPDATA%/Terminus folder.

Cleaning out %APPDATA%/Terminus got v.47 working, will see if I can upgrade to 48....

OK, cleaning out both %APPDATA%/local/Terminus and %APPDATA%/roaming/Terminus got v48 working :) I guess there was some hanger on...

Also seen this on:
Version: 1.0.66
Platform: win32 10.0.17134
Plugins: none
I've tried cleaning out both %APPDATA%/local/Terminus and %APPDATA%/roaming/Terminus as stated by @drsm79 but I'm afraid nothing changes.

@simmessa please capture DevTools console logs at the time of the issue: https://github.com/Eugeny/terminus/wiki/Debug-logs

Hello @Eugeny and thanks for your assistance!
Here's the console output:
ERROR Error: Uncaught (in promise): Error: Unable to start terminal process: CreateProcess failed
Error: Unable to start terminal process: CreateProcess failed
at new WindowsPtyAgent (C:\Users\simme\AppData\Local\terminus\app-1.0.67\resources\builtin-plugins\terminus-terminal\node_modules@terminus-term\node-pty\lib\windowsPtyAgent.js:52)
at new WindowsTerminal (C:\Users\simme\AppData\Local\terminus\app-1.0.67\resources\builtin-plugins\terminus-terminal\node_modules@terminus-term\node-pty\lib\windowsTerminal.js:46)
at spawn (C:\Users\simme\AppData\Local\terminus\app-1.0.67\resources\builtin-plugins\terminus-terminal\node_modules@terminus-term\node-pty\lib\index.js:29)
at Object.mod.spawn (C:\Users\simme\AppData\Local\terminus\app-1.0.67\resources\builtin-plugins\terminus-terminal\dist\index.js:8009)
at Session.start (C:\Users\simme\AppData\Local\terminus\app-1.0.67\resources\builtin-plugins\terminus-terminal\dist\index.js:3746)
at SessionsService.addSession (C:\Users\simme\AppData\Local\terminus\app-1.0.67\resources\builtin-plugins\terminus-terminal\dist\index.js:3916)
at TerminalTabComponent.initializeSession (C:\Users\simme\AppData\Local\terminus\app-1.0.67\resources\builtin-plugins\terminus-terminal\dist\index.js:2973)
at TerminalTabComponent. (C:\Users\simme\AppData\Local\terminus\app-1.0.67\resources\builtin-plugins\terminus-terminal\dist\index.js:3009)
at Generator.next ()
at C:\Users\simme\AppData\Local\terminus\app-1.0.67\resources\builtin-plugins\terminus-terminal\dist\index.js:2877
at new WindowsPtyAgent (C:\Users\simme\AppData\Local\terminus\app-1.0.67\resources\builtin-plugins\terminus-terminal\node_modules@terminus-term\node-pty\lib\windowsPtyAgent.js:52)
at new WindowsTerminal (C:\Users\simme\AppData\Local\terminus\app-1.0.67\resources\builtin-plugins\terminus-terminal\node_modules@terminus-term\node-pty\lib\windowsTerminal.js:46)
at spawn (C:\Users\simme\AppData\Local\terminus\app-1.0.67\resources\builtin-plugins\terminus-terminal\node_modules@terminus-term\node-pty\lib\index.js:29)
at Object.mod.spawn (C:\Users\simme\AppData\Local\terminus\app-1.0.67\resources\builtin-plugins\terminus-terminal\dist\index.js:8009)
at Session.start (C:\Users\simme\AppData\Local\terminus\app-1.0.67\resources\builtin-plugins\terminus-terminal\dist\index.js:3746)
at SessionsService.addSession (C:\Users\simme\AppData\Local\terminus\app-1.0.67\resources\builtin-plugins\terminus-terminal\dist\index.js:3916)
at TerminalTabComponent.initializeSession (C:\Users\simme\AppData\Local\terminus\app-1.0.67\resources\builtin-plugins\terminus-terminal\dist\index.js:2973)
at TerminalTabComponent. (C:\Users\simme\AppData\Local\terminus\app-1.0.67\resources\builtin-plugins\terminus-terminal\dist\index.js:3009)
at Generator.next ()
at C:\Users\simme\AppData\Local\terminus\app-1.0.67\resources\builtin-plugins\terminus-terminal\dist\index.js:2877
at resolvePromise (C:\Users\simme\AppData\Local\terminus\app-1.0.67\resources\app.asar\node_modules\zone.js\dist\zone.js:814)
at new ZoneAwarePromise (C:\Users\simme\AppData\Local\terminus\app-1.0.67\resources\app.asar\node_modules\zone.js\dist\zone.js:894)
at __awaiter (C:\Users\simme\AppData\Local\terminus\app-1.0.67\resources\builtin-plugins\terminus-terminal\dist\index.js:2873)
at SafeSubscriber.frontend.resize$.pipe.subscribe [as _next] (C:\Users\simme\AppData\Local\terminus\app-1.0.67\resources\builtin-plugins\terminus-terminal\dist\index.js:3007)
at SafeSubscriber.__tryOrUnsub (C:\Users\simme\AppData\Local\terminus\app-1.0.67\resources\app.asar\node_modules\rxjs\internal\Subscriber.js:209)
at SafeSubscriber.next (C:\Users\simme\AppData\Local\terminus\app-1.0.67\resources\app.asar\node_modules\rxjs\internal\Subscriber.js:147)
at Subscriber._next (C:\Users\simme\AppData\Local\terminus\app-1.0.67\resources\app.asar\node_modules\rxjs\internal\Subscriber.js:90)
at Subscriber.next (C:\Users\simme\AppData\Local\terminus\app-1.0.67\resources\app.asar\node_modules\rxjs\internal\Subscriber.js:67)
at TapSubscriber._next (C:\Users\simme\AppData\Local\terminus\app-1.0.67\resources\app.asar\node_modules\rxjs\internal\operators\tap.js:65)
at TapSubscriber.Subscriber.next (C:\Users\simme\AppData\Local\terminus\app-1.0.67\resources\app.asar\node_modules\rxjs\internal\Subscriber.js:67)
What is strange is that this new tab fails about 50% of the time :/

Hi Eugeny, I can confirm Alpha68 fixed this for me, Great job as usual!
https://github.com/Eugeny/terminus/releases/tag/v1.0.68
S.

Thanks for the confirmation!


add pt-BR language

This looks fantastic! Thank you for contributing with this and making this resource better!


Add tooltip description to PhantomCamera properties

The Problem
All the properties in PhantomCamera classes currently don't have any descriptions for what they do. So the only way to know what each property does is by looking at the wiki documentation, the source code or trial and error.
Proposed Solution
Add a description to each property that explains what each does.

I could do this if it's needed.

That would be great!
I chucked this into the backlog since I couldn't figure out a way to add descriptions to properties defined using _get_property_list(), not to mention those added from the Properties file, but hadn't spent too long looking into this.
Long term, was thinking of updating the properties to use the new _validate_property approach added in Godot 4.2.

Hmm. Yeah, I don't think you can do it with _get_property_list. It would work if the variables were in the PhantomCameras scripts and we added documentation comments but since they're in a separate script I'm not sure if it's possible.

That's fine! Will revisit this once the properties get converted down the line.

Closing as it ended up effectively being a duplication of #168


Update trains example so that SPARK can be run

I tried running SPARK on the trains example, and fixed a couple errors about global variable access not being declared.

Thanks Thibaut,
We're having a look.
Best regards,
Pat
--
Patrick Rogers, PhD
AdaCore Senior Technical Staff
<EMAIL_ADDRESS>+1<PHONE_NUMBER> office
+1<PHONE_NUMBER> fax
Experience Ada 2012 in GNAT Pro today: www.adacore.com

Looks good. Thanks for your help!


fix(nuxt): include all vue/js files in component transform

🔗 Linked issue

❓ Type of change

[ ] 📖 Documentation (updates to the documentation, readme or JSdoc annotations)
[x] 🐞 Bug fix (a non-breaking change that fixes an issue)
[ ] 👌 Enhancement (improving an existing functionality like performance)
[ ] ✨ New feature (a non-breaking change that adds functionality)
[ ] 🧹 Chore (updates to the build process or auxiliary tools and libraries)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description
By correcting our ignore list, we accidentally prevent files in node_modules from being transformed (such as in nuxt/content).
This is a hotfix to address the issue.
📝 Checklist

[ ] I have linked an issue or discussion.
[ ] I have updated the documentation accordingly.

/trigger release

/trigger release


FTP!

Built-in FTP support
This PR aims to add support to FTP and FTPs.
TODO

[x] Auto detect TLS/SSL settings - must
[x] Enumeration and navigation - must
[ ] Path bar integration - must
[ ] Network credentials support

[ ] Ask credentials before connecting - must
[ ] Remember network credentials - better to have
[ ] Windows hello integration - not goal

[ ] Filesystem operations:

[ ] Copy and paste (akas. download and upload) - must
[ ] Move, cut, delete, and rename - must

[ ] Properties integration: statistics, owner, hash (if server supports), and permissions - better to have
[ ] Cache integration - better to have
[ ] Background transfer even when files is closed - better to have
[ ] Enumeration and file operations abstract layer for better maintainability - not goal

Closes #1342
Closes #2407

Closes #1342
Closes #2407

It only closes #1342, SFTP is a protocol over SSH and completely different from FTP.

How's progress going?

Just don't have too much time on it recently. I'm planning to implement remaining things next week.

@hez2010 Thanks for the update! If it's ready in the next couple of weeks, we should be able to include it in the next update.

@yaichenbaum  Do you think I should close this PR for now? I may push some unfinished work, which will trigger unnecessary CI.
I can reopen the PR once it's ready for review.

@hez2010 I don't think the pipeline runs on draft PRs.

I want to split this PR into two PRs. One is to remove IStorageItemWithPath and use IStorageItem for all cases (contributes to #4180, so operations of a file itself (Remove, Rename, and GetBasicProperties) could be implemented by just class XxxStorageItem : IStorageItem), another one is to implement FTP after the previous one done.

Looking forward to removal of IStorageItemWithPath!

@hez2010 Thanks for the update!


System Error

When I run it from the Release, I get a System Error:

Hi. Try to install Visual C++ Redistributable for Visual Studio 2015.

Thank you, that fixed it!


labelsfilter: ignore Job completion index label by default for CID creation

This prevents creating a CiliumIdentity object per Pod that is owned by an Indexed Job. This was especially costly in clusters with large quantities of Indexed Job-controlled Pods and basically limited the number of such Pods in a single cluster to a theoretical max number of CID objects (2^16 ~ 65k).
This is a follow-up to https://github.com/cilium/cilium/pull/28003 after the relevant change in the upstream K8s 1.28+.
Ignore Indexed Job-specific label by default for CID creation:
* batch.kubernetes.io/job-completion-index.

/test


tq.MoleculeFromOpenFermion fails in get_geometry due to Type of geometry (list)

Describe the bug
attempts to get tequila "molecule" objects via the tq.MoleculeFromOpenFermion fail due to an error essentially related to typing. OpenFermion accepts initialization of MolecularData objects via lists of lists of (string, list)  as geometries (that is, xyzfiles can be bypassed), but tequila is expecting a string to be the source of the geometry, leading to an error when the .split method is invoked. Stacktrace below:
File ~/anaconda3/envs/use/lib/python3.8/site-packages/tequila/quantumchemistry/__init__.py:177, in MoleculeFromOpenFermion(molecule, transformation, backend, *args, **kwargs)
    162 """
    163 Initialize a tequila Molecule directly from an openfermion molecule object
    164 Parameters
   (...)
    174     The tequila molecule
    175 """
    176 if backend is None:
--> 177     return QuantumChemistryBase.from_openfermion(molecule=molecule, transformation=transformation, *args, **kwargs)
    178 else:
    179     INSTALLED_QCHEMISTRY_BACKENDS[backend].from_openfermion(molecule=molecule, transformation=transformation, *args,
    180                                                             **kwargs)

File ~/anaconda3/envs/use/lib/python3.8/site-packages/tequila/quantumchemistry/qc_base.py:169, in QuantumChemistryBase.from_openfermion(cls, molecule, transformation, *args, **kwargs)
    153 @classmethod
    154 def from_openfermion(cls, molecule: openfermion.MolecularData,
    155                      transformation: typing.Union[str, typing.Callable] = None,
    156                      *args,
    157                      **kwargs):
    158     """
    159     Initialize direclty from openfermion MolecularData object
    160
   (...)
    167         The Tequila molecule
    168     """
--> 169     parameters = ParametersQC(basis_set=molecule.basis, geometry=molecule.geometry,
    170                               description=molecule.description, multiplicity=molecule.multiplicity,
    171                               charge=molecule.charge)
    172     return cls(parameters=parameters, transformation=transformation, molecule=molecule, *args, **kwargs)

File <string>:10, in __init__(self, basis_set, geometry, description, multiplicity, charge, name, frozen_core)

File ~/anaconda3/envs/use/lib/python3.8/site-packages/tequila/quantumchemistry/chemistry_tools.py:181, in ParametersQC.__post_init__(self, *args, **kwargs)
    179         self.description = description
    180 else:
--> 181     atoms = self.get_atoms()
    182     atom_names = sorted(list(set(atoms)), key=lambda x: self.get_atom_number(x), reverse=True)
    183     if self.name is None:

File ~/anaconda3/envs/use/lib/python3.8/site-packages/tequila/quantumchemistry/chemistry_tools.py:166, in ParametersQC.get_atoms(self)
    165 def get_atoms(self):
--> 166     return [x[0] for x in self.get_geometry()]

File ~/anaconda3/envs/use/lib/python3.8/site-packages/tequila/quantumchemistry/chemistry_tools.py:296, in ParametersQC.get_geometry(self)
    280 def get_geometry(self):
    281     """Returns the geometry
    282     If a xyz filename was given the file is read out
    283     otherwise it is assumed that the geometry was given as string
   (...)
    294
    295     """
--> 296     if self.geometry.split('.')[-1] == 'xyz':
    297         geomstring, comment = self.read_xyz_from_file(self.geometry)
    298         if self.description == '':

AttributeError: 'list' object has no attribute 'split'

To Reproduce
Steps to reproduce the behavior: Ideally an executable code snipped like
import tequila as tq
import openfermion as of

geo=[['Li',[0,0,0]]]
basis="sto-6g"
charge=0
multiplicity=2
mol=of.MolecularData(geometry=geo,basis=basis,charge=charge,multiplicity=multiplicity)
tmol=tq.MoleculeFromOpenFermion(mol)

Expected behavior
The above code should run without issue, as should any further uses of the object created thereby.
Computer :
OS is Arch Linux, latest kernel.
tequila version:  1.8.9
python version:  3.8.17 | packaged by conda-forge | (default, Jun 16 2023, 07:06:00)
[GCC 11.4.0]
platform:  #1 ZEN SMP PREEMPT_DYNAMIC Thu, 21 Sep 2023 12:54:31 +0000

To clarify use case,  the reason for initializing in this fashion is due to the necessity of include multiplicity info.  An attempt to directly manifest a tq.Molecule object for atoms like lithium will fail due to spin;
tmol=tq.Molecule("Li 0 0 0",basis_set=basis,backend='pyscf')

will fail with relevant traceback
RuntimeError: Electron number 3 and spin 0 are not consistent
Note mol.spin = 2S = Nalpha - Nbeta, not 2S+1

Hi Sumner, thanks for noticing.
I forgot that the function exists. Should be fixable, but will take some time.
It is probably more convenient to initialize a charged molecule and construct circuits accordingly in the symmetry sector you aim for. Below this is illustrated of lithium. Setting the charge affects only the standard methods and interface to classical methods (that would not be available no matter what, as they all require closed-shell).
import tequila as tq
import numpy

geom="Li 0.0 0.0 0.0"
dummy = tq.Molecule(geometry=geom, basis_set="sto-6g", charge=1, frozen_core=False)

# not necessary
# switch to orthonormalized atomic orbitals
# will most likely have little to no effect on Li
dummy = dummy.use_native_orbitals()

# charge does not affect 2nd quantized Hamiltonian
H = dummy.make_hamiltonian()

v,vv = numpy.linalg.eigh(H.to_matrix())
print("Li ground state")
print(tq.QubitWaveFunction(vv[:,0]))

# can not use: dummy.prepare_reference (will create the charge+1 reference)
# should not use: dummy.make_ansatz() | all predefined ansatz schemes are taylored for closed-shell

# can still do manual stuff

U = tq.gates.X([0,1,2])
U+= dummy.UC(0,3,angle="a")
U+= dummy.make_excitation_gate(indices=[(0,4),(1,3),(2,6)],angle="b")

print(tq.simulate(U, variables={"a":1.0, "b":1.0, "c":1.0}))

Thanks for the quick reply Jacob.
Above example works, but errors out if charge is set to 0, as expected.
My ultimate goal is to get UCC circuits with CCSD amplitudes for a swath of neutral atoms; I think this should be possible by a mix of tequila code and some hand-crafting from pyscf directly.

Yes, that would be the way to go.
Get amplitudes from pyscf and circuits from tq. For the circuits it doesn't matter what the charge is, just make sure to create the right initial state.
Thats why charge is set to one in the example above. You create a dummy molecule that is closed shell, but otherwise the same. In the example above, the ground state is the neutral ground state and the circuit creates a 3 electron wavefunction.

I put it on the todo, to allow for general charges and multiplicities, but it will take a while.


An idea to why player is forced to close the door when leaving a car

That is in CTaskSimpleCarCloseDoorFromOutside::StartAnim() . It checks if the pad of 4 directions is pressed. But you know it's impossible to press it when using touch control.
Is there any way to solve this problem. And it is also in DE.

There should be, thanks for the hint. Will check it.


How to fix Cyclic Dependencies error

I submitted my code to codecrunch but it said "Cyclic dependencies detected within:"
all my classes.
What does it mean and how do I fix it?

make sure that your classes dont extend/implement each other! for example your drink should not extend sugar and sugar should not extend drink ! let me knwo if you need more help

also, there are some values you can leave in certain classes instead of getting them from another class (eg Nutri and Audit). This helps to remove the cyclic dependencies! hope it helps!

cyclic dependency means that there two or more classes that depend on each other in a way that forms a loop. for example, when class A requires class B through a method and class B requires class A through another method, a circular dependency occurs. To avoid it, ensure that ur class constructors do not take in parameters of other classes.

given that this due yesterday, i hoped you solved it yesterday!

u should check whether your classes are dependent on each other, perhaps u can start from the constructor!

Maybe you want to check for inheritance relationship between your classes, like identify any circular dependencies where Class A depends on Class B, and Class B depends on Class A, directly or indirectly. Also can look for cases where a subclass depends on its superclass, and the superclass depends on the subclass. So you can consider whether interfaces can be used to define common behavior without creating tight coupling between classes (like extending).

ur classes shoulnt use data from each other, like if Class A depends on Class B, Class B should not directly depend on Class A, and vice versa. try to redesign ur code structure or using interfaces
To reduce this dependency, we can introduce an interface InterfaceB that B implements, and A depends on the interface rather than the concrete class B. pass an instance of B implementing InterfaceB to A through its constructor, allowing A to use the functionality provided by B without directly depending on it

Apart from checking through and doing the things that others have mentioned above, you should try to draw out the arrows from what is given in the error, and you may find one or two classes that are cyclicly dependent. CodeCrunch will show every class that is related to that cyclic dependency so it makes it seem much more complicated than it is actually. Hope that you managed to debug this!


Can we limit logs from only certain containers

Currently logs from all the containers in all the pods are being written to the terminal. Could we have an option to select only specific containers. I think having sub menus to select a container would be possible in lens.

Hi @mapelpapel, the 3 sub-menus are shown only if the Pods of the Deployment (or StatefulSets/ReplicaSets/DaemonSets) have at least 2 containers.


Redux state being serialized

The redux state for violet-paginator is supposed to be an Immutable.List. When running your example, however, store.getState().pagination evaluates to an array. This breaks all of my reducer code.
I could not track down what's causing the state to be serialized. I suspect there's some step during your initial setup that is doing it. Any ideas? I can submit an incomplete PR if that would help the investigation.

And just like that I think I found it. It's because liftReducer is being used. Any suggestions here?

With a little hack I can force data.pagination back into a List, but then it's onto the next hurdle. It seems that redux-devtools-instrument does not believe that I've integrated thunk correctly.
import { createStore as _createStore, applyMiddleware, compose } from 'redux';
import createMiddleware from './middleware/clientMiddleware';
import { routerMiddleware } from 'react-router-redux';
import thunk from 'redux-thunk';
import Immutable from 'immutable';

export default function createStore(history, client, data) {
  // Sync dispatched route actions to the history
  const reduxRouterMiddleware = routerMiddleware(history);

  const middleware = [createMiddleware(client), reduxRouterMiddleware, thunk];

  let finalCreateStore;
  if (__DEVELOPMENT__ && __CLIENT__ && __DEVTOOLS__) {
    const { persistState } = require('redux-devtools');
    const DevTools = require('../containers/DevTools/DevTools');
    finalCreateStore = compose(
      applyMiddleware(...middleware),
      window.devToolsExtension ? window.devToolsExtension() : DevTools.instrument(),
      persistState(window.location.href.match(/[?&]debug_session=([^&]+)\b/))
    )(_createStore);
  } else {
    finalCreateStore = applyMiddleware(...middleware)(_createStore);
  }

  const reducer = require('./modules/reducer');
  if (data) {
    data.pagination = Immutable.fromJS(data.pagination);
  }
  const store = finalCreateStore(reducer, data);

Looking at the stack trace, it seems that actions are lifted too, so I wonder if that has something to do with it. Does redux-devtools-instrument simply not integrate with things like thunk and Immutable? Should we consider a different devtools extension for this project?
instrument.js:54Uncaught Error: Actions must be plain objects.  I'm calling it a day for now but I'm going to submit a [DO NOT MERGE] PR to link to this issue and would really appreciate your thoughts @erikras

Update on the thunk issue, this is a case of me forgetting how to use my own library. My mockFetch wasn't setup correctly.
However, advice on a non-hacky way to get state.pagination to stay immutable is still very much desired.

@sslotsky How would you go about modifying the mockFetch to return a real response using the clientMiddleware etc?


Fix to critical codebase breaking JSON parse error from public_a1_request

The current public_a1_request() function in public.py is broken and causes crashes:

Status 200: JSONDecodeError in public_request

public_a1_request() is a critical low level function used by a large amount of instagrapi high level functions. This is a tested and simple fix, please merge ASAP.
Fixes #752

@trevtravtrev big thanks!!


Library not loaded: /usr/local/lib/libgflags.2.dylib

I compiled glfags using brew on MAC several months ago. At that time, I can run Caffe correctly. However, I have uninstalled gflags and reinstalled it by brew install gflags this week. After this, every time I run caffe's example, I got this error:
Library not loaded: /usr/local/lib/libgflags.2.dylib

In my /usr/local/lib, I have
$ ls -l *gflags*
lrwxr-xr-x  1 Coldmoon  admin  38 Jul  1 17:06 libgflags.a -> ../Cellar/gflags/2.1.2/lib/libgflags.a
lrwxr-xr-x  1 Coldmoon  admin  48 Jul  1 17:06 libgflags_nothreads.a -> ../Cellar/gflags/2.1.2/lib/libgflags_nothreads.a

I don't know how to compile gflags's dynamic library by brew. Can anyone help me ? Many thanks!

I've just compiled it manually from the source code. Now I have libgflags.2.dylib. But another error appears.
Incompatible library version: caffe.mexmaci64 requires version 4.0.0 or later, but libgflags.2.dylib provides version 2.0.0

The gflags' source code is the newest. How can I get libgflags.2.dylib of version 4.0

same here
laptop-jegor:caffe7 jopdorp$ make runtest
awk: cmd. line:1: {exit  < 7.0;}
awk: cmd. line:1:        ^ syntax error
.build_release/tools/caffe
dyld: Library not loaded: /usr/local/lib/libgflags.2.dylib
  Referenced from: /Users/jopdorp/dev/machinelearning/caffe7/.build_release/lib/libcaffe.so
  Reason: Incompatible library version: libcaffe.so requires version 4.0.0 or later, but libgflags.2.dylib provides version 2.0.0
make: *** [runtest] Trace/BPT trap: 5

My gflags' source code is the newest (downloaded from here). How can I get libgflags.2.dylib of version 4.0

There is no such gflags version. As the 2 in the file name suggests, this gflags library has major version number 2. The question is rather why does libcaffe.so require a non-existing version and possibly this question can better be addressed by the Caffe developers.

I ran make clean, make test and the make runtest again, it gave me the following error:
dyld: Library not loaded: /usr/local/lib/libgflags.2.dylib
  Referenced from: /usr/local/lib/libglog.0.dylib
  Reason: Incompatible library version: libglog.0.dylib requires version 4.0.0 or later, but libgflags.2.dylib provides version 2.0.0

I reinstalled glog:
brew reinstall glog

After that make runtest worked!

Apologize for posting here, but when trying to run OpenCV 3.1 on OSX I get the same error
$ python

import cv2
Traceback (most recent call last):
File "", line 1, in
ImportError: dlopen(/Users/sir/.virtualenvs/cv/lib/python2.7/site-packages/cv2.so, 2): Library not loaded: /usr/local/lib/libgflags.2.dylib
Referenced from: /usr/local/lib/libopencv_sfm.3.1.dylib
Reason: Incompatible library version: libopencv_sfm.3.1.dylib requires version 4.0.0 or later, but libgflags.2.dylib provides version 2.0.0

Any ideas?

+1

+1

This can be fixed by updating gflags (using brew), then uninstalling and reinstalling OpenCV3.0.

I had the same problem. I confirmed @nikhilsig comment by updating gflags and installing OpenCV (in this case I rebuild my OpenCV 3.1.0 from source). It's on an OSX machine.


Translation to Spanish: Verify and update translation of basic-ziplines.json

[ ]  Get Set for our Front End Development Projects
[ ]  Build a Personal Portfolio Webpage
[ ]  Build a Random Quote Machine
[ ]  Build a JavaScript Calculator
[ ]  Build a Pomodoro Clock

[X] Get Set for our Front End Development Projects
[X] Build a Personal Portfolio Webpage
[X] Build a Random Quote Machine
[X] Build a JavaScript Calculator
[X] Build a Pomodoro Clock

Working on this one.

Working on this one


Add Jordan as approver

.. Enrique, Sascha as reviewers.

Invited everyone to the org as part of https://github.com/orgs/redhat-developer/teams/buildv2-ibm-contributors/

cc @otaviof FYI

/retest

/approve


fix/ updated wakes' github profile link

Requirements

[ ] The Pull Request is complete, so it contains all the fixes, changes, and other modifications.
[ ] Everything meets the requirements of the programming style

HERE

[ ] I tried everything and everything worked.

Changed

Updated the link for Wakes' github profile

i know this PR technically violates "Don't create PR with only one line changed." but i feel like this could be an exception

Yea, that rule does not make sense in a lot of situations, so I'll remove it.


Fix Wonder Room

apparently applying it in computeFinalStats doesn't work (probably should've tested that before i added it lol)

Thanks Karthik!


Fix CSS live reloading when @imported partials change

Fix an issue where imports did not trigger reloading of target file
when file_resource exists.

Supported options:

Rename :bundle_file_css to :livereload_css_target.
Add :livereload_css_pattern.

Fixes #3
Fixes #51

Thanks!