[Bug]: Error on shopify theme dev

Please confirm that you have:

[X] Searched existing issues to see if your issue is a duplicate. (If you’ve found a duplicate issue, feel free to add additional information in a comment on it.)
[X] Reproduced the issue in the latest CLI version.

In which of these areas are you experiencing a problem?
Theme
Expected behavior
The command shopify theme dev should work.
Actual behavior
I have a problem after upgrading from 3.37.0 to 3.40.3
When I run shopify theme dev, I have the following error : (the other commands work properly)
╭─ error ──────────────────────────────────────────────────────────────────────────────╮
│                                                                                │
│  [422] API request client error                                                      │
│                                                                                │
╰──────────────────────────────────────────────────────────────────────────────────────╯

Downgrade to 3.37.0 solves the problem for now.
Below is the same command with the --verbose flag :
2023-02-08T11:06:11.859Z: Running command theme dev
  shopify:theme:dev init version<EMAIL_ADDRESS>argv: [ '--theme=131972661399', '--verbose' ] +0ms
2023-02-08T11:06:11.877Z: Ensuring that the user is authenticated with the Theme API with the following scopes:
[]

2023-02-08T11:06:11.877Z: Ensuring that the user is authenticated with the Admin API with the following scopes for the store unique-starter-theme.myshopify.com:
[]

2023-02-08T11:06:11.913Z: Secure store is available
2023-02-08T11:06:11.913Z: Reading session from the secure store...
2023-02-08T11:06:11.919Z: Validating existing session against the scopes:
[
  "openid",
  "https://api.shopify.com/auth/shop.admin.graphql",
  "https://api.shopify.com/auth/shop.admin.themes",
  "https://api.shopify.com/auth/partners.collaborator-relationships.readonly",
  "https://api.shopify.com/auth/shop.storefront-renderer.devtools",
  "https://api.shopify.com/auth/partners.app.cli.access"
]
For applications:
{
  "adminApi": {
    "scopes": [],
    "storeFqdn": "unique-starter-theme.myshopify.com"
  }
}

2023-02-08T11:06:11.919Z:
Sending GET request to URL https://accounts.shopify.com/.well-known/openid-configuration.json and headers:
 - User-Agent: Shopify CLI; v=3.40.3
 - Sec-CH-UA-PLATFORM: darwin
 - X-Request-Id: fb85bc3c-a5e3-49d2-9b9b-7ae681010eda
 - Content-Type: application/json

2023-02-08T11:06:12.216Z: Request to https://accounts.shopify.com/.well-known/openid-configuration.json completed with status 200 in 297 ms
2023-02-08T11:06:12.226Z: Sending Identity Introspection request to URL: https://accounts.shopify.com/oauth/introspection
2023-02-08T11:06:12.226Z:
Sending POST request to URL https://accounts.shopify.com/oauth/introspection and headers:
 - User-Agent: Shopify CLI; v=3.40.3
 - Sec-CH-UA-PLATFORM: darwin
 - X-Request-Id: dab78a59-3300-41fa-8f21-074661d961ac
 - Content-Type: application/json

2023-02-08T11:06:12.450Z: Request to https://accounts.shopify.com/oauth/introspection completed with status 200 in 224 ms
2023-02-08T11:06:12.453Z: The identity token is valid: true
2023-02-08T11:06:12.454Z:
The validation of the token for application/identity completed with the following results:
- It's expired: false
- It's invalid in identity: false

2023-02-08T11:06:12.454Z: The current session is valid but needs refresh. Refreshing...
2023-02-08T11:06:12.456Z:
Sending POST request to URL https://accounts.shopify.com/oauth/token?grant_type=refresh_token&access_token=atkn_a6b852e30a944c6e5657791b1a6c937c68095d3b9550aeb84c5957f319b58ad6&refresh_token=atkn_69e5935bd1dd987fd04bee2d27413a7c1e5b4221fe749c9d0d522b5ed78fb22e&client_id=fbdb2649-e327-4907-8f67-908d24cfd7e3 and headers:
 - User-Agent: Shopify CLI; v=3.40.3
 - Sec-CH-UA-PLATFORM: darwin
 - X-Request-Id: 340c632b-a907-4398-be31-1708736228c0
 - Content-Type: application/json

2023-02-08T11:06:12.838Z: Request to https://accounts.shopify.com/oauth/token?grant_type=refresh_token&access_token=atkn_a6b852e30a944c6e5657791b1a6c937c68095d3b9550aeb84c5957f319b58ad6&refresh_token=atkn_69e5935bd1dd987fd04bee2d27413a7c1e5b4221fe749c9d0d522b5ed78fb22e&client_id=fbdb2649-e327-4907-8f67-908d24cfd7e3 completed with status 200 in 382 ms
2023-02-08T11:06:12.844Z:
Sending POST request to URL https://accounts.shopify.com/oauth/token?grant_type=urn%3Aietf%3Aparams%3Aoauth%3Agrant-type%3Atoken-exchange&requested_token_type=urn%3Aietf%3Aparams%3Aoauth%3Atoken-type%3Aaccess_token&subject_token_type=urn%3Aietf%3Aparams%3Aoauth%3Atoken-type%3Aaccess_token&client_id=fbdb2649-e327-4907-8f67-908d24cfd7e3&audience=271e16d403dfa18082ffb3d197bd2b5f4479c3fc32736d69296829cbb28d41a6&scope=openid+https%3A%2F%2Fapi.shopify.com%2Fauth%2Fpartners.app.cli.access&subject_token=atkn_78ac64ce4396ff52e42e67f334ffb26c9400a864de5cb44c30b78cc648a902e3 and headers:
 - User-Agent: Shopify CLI; v=3.40.3
 - Sec-CH-UA-PLATFORM: darwin
 - X-Request-Id: 3d5ec98c-e058-41ad-aba5-8ea52d6970ef
 - Content-Type: application/json

2023-02-08T11:06:12.844Z:
Sending POST request to URL https://accounts.shopify.com/oauth/token?grant_type=urn%3Aietf%3Aparams%3Aoauth%3Agrant-type%3Atoken-exchange&requested_token_type=urn%3Aietf%3Aparams%3Aoauth%3Atoken-type%3Aaccess_token&subject_token_type=urn%3Aietf%3Aparams%3Aoauth%3Atoken-type%3Aaccess_token&client_id=fbdb2649-e327-4907-8f67-908d24cfd7e3&audience=ee139b3d-5861-4d45-b387-1bc3ada7811c&scope=openid+https%3A%2F%2Fapi.shopify.com%2Fauth%2Fshop.storefront-renderer.devtools&subject_token=atkn_78ac64ce4396ff52e42e67f334ffb26c9400a864de5cb44c30b78cc648a902e3 and headers:
 - User-Agent: Shopify CLI; v=3.40.3
 - Sec-CH-UA-PLATFORM: darwin
 - X-Request-Id: 9e905edf-7950-42f4-93ff-254b4c5916ba
 - Content-Type: application/json

2023-02-08T11:06:13.118Z: Request to https://accounts.shopify.com/oauth/token?grant_type=urn%3Aietf%3Aparams%3Aoauth%3Agrant-type%3Atoken-exchange&requested_token_type=urn%3Aietf%3Aparams%3Aoauth%3Atoken-type%3Aaccess_token&subject_token_type=urn%3Aietf%3Aparams%3Aoauth%3Atoken-type%3Aaccess_token&client_id=fbdb2649-e327-4907-8f67-908d24cfd7e3&audience=271e16d403dfa18082ffb3d197bd2b5f4479c3fc32736d69296829cbb28d41a6&scope=openid+https%3A%2F%2Fapi.shopify.com%2Fauth%2Fpartners.app.cli.access&subject_token=atkn_78ac64ce4396ff52e42e67f334ffb26c9400a864de5cb44c30b78cc648a902e3 completed with status 200 in 274 ms
2023-02-08T11:06:15.134Z: Request to https://accounts.shopify.com/oauth/token?grant_type=urn%3Aietf%3Aparams%3Aoauth%3Agrant-type%3Atoken-exchange&requested_token_type=urn%3Aietf%3Aparams%3Aoauth%3Atoken-type%3Aaccess_token&subject_token_type=urn%3Aietf%3Aparams%3Aoauth%3Atoken-type%3Aaccess_token&client_id=fbdb2649-e327-4907-8f67-908d24cfd7e3&audience=ee139b3d-5861-4d45-b387-1bc3ada7811c&scope=openid+https%3A%2F%2Fapi.shopify.com%2Fauth%2Fshop.storefront-renderer.devtools&subject_token=atkn_78ac64ce4396ff52e42e67f334ffb26c9400a864de5cb44c30b78cc648a902e3 completed with status 200 in 2290 ms
2023-02-08T11:06:15.138Z:
Sending POST request to URL https://accounts.shopify.com/oauth/token?grant_type=urn%3Aietf%3Aparams%3Aoauth%3Agrant-type%3Atoken-exchange&requested_token_type=urn%3Aietf%3Aparams%3Aoauth%3Atoken-type%3Aaccess_token&subject_token_type=urn%3Aietf%3Aparams%3Aoauth%3Atoken-type%3Aaccess_token&client_id=fbdb2649-e327-4907-8f67-908d24cfd7e3&audience=7ee65a63608843c577db8b23c4d7316ea0a01bd2f7594f8a9c06ea668c1b775c&scope=openid+https%3A%2F%2Fapi.shopify.com%2Fauth%2Fshop.admin.graphql+https%3A%2F%2Fapi.shopify.com%2Fauth%2Fshop.admin.themes+https%3A%2F%2Fapi.shopify.com%2Fauth%2Fpartners.collaborator-relationships.readonly&subject_token=atkn_78ac64ce4396ff52e42e67f334ffb26c9400a864de5cb44c30b78cc648a902e3&destination=https%3A%2F%2Funique-starter-theme.myshopify.com%2Fadmin and headers:
 - User-Agent: Shopify CLI; v=3.40.3
 - Sec-CH-UA-PLATFORM: darwin
 - X-Request-Id: 2ef81788-cf87-458f-827f-3ce8e6de07e7
 - Content-Type: application/json

2023-02-08T11:06:15.504Z: Request to https://accounts.shopify.com/oauth/token?grant_type=urn%3Aietf%3Aparams%3Aoauth%3Agrant-type%3Atoken-exchange&requested_token_type=urn%3Aietf%3Aparams%3Aoauth%3Atoken-type%3Aaccess_token&subject_token_type=urn%3Aietf%3Aparams%3Aoauth%3Atoken-type%3Aaccess_token&client_id=fbdb2649-e327-4907-8f67-908d24cfd7e3&audience=7ee65a63608843c577db8b23c4d7316ea0a01bd2f7594f8a9c06ea668c1b775c&scope=openid+https%3A%2F%2Fapi.shopify.com%2Fauth%2Fshop.admin.graphql+https%3A%2F%2Fapi.shopify.com%2Fauth%2Fshop.admin.themes+https%3A%2F%2Fapi.shopify.com%2Fauth%2Fpartners.collaborator-relationships.readonly&subject_token=atkn_78ac64ce4396ff52e42e67f334ffb26c9400a864de5cb44c30b78cc648a902e3&destination=https%3A%2F%2Funique-starter-theme.myshopify.com%2Fadmin completed with status 200 in 366 ms
2023-02-08T11:06:15.516Z: Secure store is available
2023-02-08T11:06:15.516Z: Updating session in the secure store with new content...
2023-02-08T11:06:15.548Z: Getting development theme...
╭─ error ──────────────────────────────────────────────────────────────────────────────╮
│                                                                                │
│  [422] API request client error                                                      │
│                                                                                │
╰──────────────────────────────────────────────────────────────────────────────────────╯

2023-02-08T11:06:16.313Z: Unable to log analytics event - no information on executed command

Stack trace
No response
Reproduction steps

Operating System
Mac OS Monterey (12.6.2)
Shopify CLI version (check your project's package.json if you're not sure)
3.40.3
Shell
zsh
Node version (run node -v if you're not sure)
14.21.1
What language and version are you using in your application?
Ruby 3.1.2

Hi @karreiro @Arkham
3.42.0 has fixed the issue, thanks!

I am having this issue on @shopify/cli/3.43.0 darwin-arm64 node-v19.6.0

Same issue. I asked Shopify Support; they said their team is currently working on a fix for this.


docs: remove in development warning [l-1]

TSIA

Stacked PR Chain: l-1

PR
Title
Status
Merges Into

#156
👉 (Draft) docs: remove in development warning

-

#157
👉 (Draft) docs: remove in development warning

#156

/annotate


Cannot custom the message store

import org.dna.mqtt.moquette.messaging.spi.IMatchingCondition;
import org.dna.mqtt.moquette.messaging.spi.impl.HawtDBPersistentStore.StoredMessage;
import org.dna.mqtt.moquette.messaging.spi.impl.events.PublishEvent;
import org.dna.mqtt.moquette.proto.messages.AbstractMessage.QOSType;
public interface IMessagesStore {
void initStore();
void storeRetained(String var1, ByteBuffer var2, QOSType var3);

Collection<StoredMessage> searchMatching(IMatchingCondition var1);

StoredMessage is protected cannot be accessed by others

Hi,
probably the version of code you are looking at is outdated, in the current master (https://github.com/andsel/moquette/blob/master/broker/src/main/java/org/eclipse/moquette/spi/IMessagesStore.java) that interface also carries a static public inner  StoredMessage class

Hi，okay，I have seen the new version interface，but I am using your library as a maven dependency to provide mqtt support for my project, How can I get the newest version ? snapshop is also ok.

At the moment there isn't any snapshot repo that hosts Moquette's snapshot. You should download on you pc a do mvn clean install. Then you could use in your project.


Update CONTRIBUTING.md

Improved the readability by changing some grammatical errors in documentation

I've reviewed the current CONTRIBUTING.md, and it looks good to me.
However, please keep in mind that some external grammar checker tools may alter the meaning of sentences.
Wait for the collaborator's response.


[Feature]

Question
背景：项目上需要进行内网监控，目前内网数据可以通过边界到互联网，也就是互联网可以收到监控告警，但是无法远程进入内网服务器。
需求：在监控告警时，连接目标服务器，发送指定重启服务的命令，避免小问题深夜到现场处理。

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑🤝🧑👫🧑🏿🤝🧑🏻👩🏾🤝👨🏿👬🏿

Question
Background: Intranet monitoring is required for the project. At present, intranet data can pass through the border to the Internet, that is, the Internet can receive monitoring alarms, but it cannot remotely access the intranet server.
Requirements: When monitoring alarms, connect to the target server and send a specified command to restart the service, avoiding minor problems to be dealt with on-site late at night.


Visibility AABB affects 3D particle collision

Tested versions

v4.2.2.stable.mono.official [15073afe3]

System information
Godot v4.2.2.stable.mono - Windows 10.0.22631 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 4080 (NVIDIA; <IP_ADDRESS>99) - AMD Ryzen 9 7950X3D 16-Core Processor (32 Threads)
Issue description
Godot v4.2.2.stable.mono - Windows 10.0.22631 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 4080 (NVIDIA; <IP_ADDRESS>99) - AMD Ryzen 9 7950X3D 16-Core Processor (32 Threads)
Steps to reproduce
I have set up two identical GPU particle systems. Both have a GPUParticles3DCollisionbox below them.  The particles are set up to use rigid collision. However collision does not seem to work at all for them:
https://github.com/godotengine/godot/assets/327257/cc90c084-78d7-4407-a30b-ab094a11a082
Now if I change the visibility AABB of one of the particle systems to enclose the GPUParticles3DCollisionbox below it, the collision suddenly works:
https://github.com/godotengine/godot/assets/327257/f2e31851-56e2-416c-a970-d6abfde32f75
Minimal reproduction project (MRP)
reproducer.zip

Reclassifying this as a documentation issue. The behaviour is certainly annoying, but its not a bug per se. Godot uses the AABB of the particles to determine what area the particles will reach. Because of the disconnect between GPU data and CPU data, it is possible to create particles that extend outside there AABB.
This creates numerous problems:

As described here, particles won't register with the collision shape and so the particles will fail to collide
Particles won't register with lights and so they won't cast shadows
Particles will become invisible if the AABB is not on screen

MRP where the camera is looking slightly down

All these issues come down to the same fundamental problem: if the AABB isn't an accurate representation of the area covered by your particle effect, then things will break.
I think we should document this problem in more places so that users are aware that they need to manually tweak the AABB when working on custom particle effects

Well interestingly enough if you use a height field collision, it will work even if you don't increase the AABB. At least the behaviour should be consistent there, shouldn't it?

Well interestingly enough if you use a height field collision, it will work even if you don't increase the AABB. At least the behaviour should be consistent there, shouldn't it?

The behaviour should be consistent, yes. The AABB of the heightfield collider needs to overlap the AABB of the Particles node.
I ran a quick test and can confirm that the height field collision AABB does indeed need to overlap the Particles AABB, just like the other Collision shapes.
Using the same size as the box collider

Overlapping AABBs

Thank you very much for the explanation! I was referring to this setup, where the particle system AABB  and the height field size overlap, but the collision point is actually outside of the particle system AAAB. In this case the collision seemingly still seems to work:

Until the AABB leaves the camera at which time the particle simulation seems to be partially halted (note how the particles are not drawn anymore but their shadows are).
https://github.com/godotengine/godot/assets/327257/1861020e-f6d0-4618-8e67-fc17e1be3abc
So maybe a checklist for the developer could look like this:

Make sure your particle system AABB is large enough to enclose all surfaces that you want your particles to interact with.
If you use a height field, its size and positioning should match the AABB of your particle system.

There are probably some other items on the list for tweaking the FPS to prevent tunneling, and I'm also not sure about the the SDF based collision yet, but I'll clarify these in https://github.com/godotengine/godot/issues/93570 as to not convolute the discussion here. Again thanks a lot for explaining this!

Another question related to that is how AABBs of subemitters are handled. Should they have the same AABB as their parent emitter or do they "inherit" their parent's AABB and their own AABB doesn't matter?

Another question related to that is how AABBs of subemitters are handled. Should they have the same AABB as their parent emitter or do they "inherit" their parent's AABB and their own AABB doesn't matter?

Subemitters need to have their AABBs correctly configured, just like their parent. They do not inherit their parent's AABB.

That is good to know, thank you very much!


[BEAM-6047] DO NOT MERGE: listing containers

Please add a meaningful description for your change here

Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

It will help us expedite review of your Pull Request if you tag someone (e.g. @username) to look at it.
Post-Commit Tests Status (on master branch)

Lang
SDK
Apex
Dataflow
Flink
Gearpump
Samza
Spark

Go

---
---
---
---
---
---

Java

Python

---

---
---
---

run python postcommit

run python postcommit

run python postcommit

Thanks. LGTM


Is API going to cost money after you made your current under construction site live?

My question before I start using this API. Are you planning to make the API portion of the site a subscription service once your site is back running? Or API will always be free? I dont want to use this API and then run in to issues if you start charging huge amounts later. Good job so far and Thanks in advance.

Good question 😉
Simple answer : It will be 💯 FREE FOREVER
Long answer :
A lot time and money from donations 💌 have already been spent on buying the timezone database, writing yoga code & other improvements to MAKE SURE the cost is as low as possible.
For instance each API call does NOT hit a running server, but is a quick serveless calculation, with no session memory needed. Alot of work has already been put in this direction.
So rest assured the API will remain 💯 FREE FOREVER.
It will actually take more reprogramming to change to a charged version.
Having said that the API does cost money 🤑
If everybody chips in just a little....we can keep it free for you & everybody else 🌍....just like how wikipedia works.
🙏🙏 So please donate ---> 💌 https://ko-fi.com/vedastro/tiers


Handle Cells without defined style.

If the Cell has no defined style, return the default style of the Workbook.
For example if a cell is formatted under the "General" category, its style instead of being General it ended up being 'Null'.
This PR adds defines the Cell style to the Workbooks default as Excel does.

Could you make a unit test for this case? Nothing fancy, just a quick test on a Cell that has no style.

Added unit test.

Awesome, thanks for the submission!


visualization

Great work!
Could you share the visualization scripts for the following pic?
Thanks!

@JiaweiZhao-git Thanks. They are provided in https://github.com/OpenDriveLab/PersFormer_3DLane/blob/7f7715ae17937cf8e651072a9d3bdb13a573b731/utils/utils.py#L134

Hello, thanks for your work.
Is it possible to visualize the results on the Apollo dataset as well with the provided code? To me, it looks like the implemented Visualizer class only works on OpenLane or Once.
Would it be possible to release the code to visualize the results on Apollo as well?


Appfile rules don't apply if you switch lanes

I have a separate team_id set for a specific lane. It works great if I run the lane directly, but if I get to that lane from another lane, the Appfile is ignored.
For example, here's what the Appfile looks like:
app_identifier "com.example.app"
apple_id<EMAIL_ADDRESS>team_id "developer_team_id"

for_platform :ios do
  for_lane :beta do
    app_identifier "com.example.beta.app"
    team_id "enterprise_team_id"
  end
end

And the entry lane:
  lane :nightly do
    increment_build_number
    beta
    adhoc
  end

If you run sigh from within the beta lane, it will still be using the default app_identifier and team_id.

hey @maxmeyers would you mind sharing a bit more of your Fastfile? It would be great to see a bit more context about how those lanes are configured. Thanks! :octopus:

We noticed this too, because of how we configure Fastlane with Circle CI we start on one lane and change the lane based on various things. The Appfile is only processed the first run and not after lanes are changed.
We do lane changes in the Fastfile because of how Circle does Tests and builds to reduce the amount of time the build takes by going with Fastlane only. So we fire off fastlane on the circle lane.
Here's the logic we use for that if that helps:
lane :circle do
    if is_ci
      if ENV['CIRCLE_BRANCH'] == 'master'
        beta
      elsif ENV['CIRCLE_BRANCH'] == 'deployed'
        production
      else
        justbuild
      end
    else
        puts "Run this lane on Circle CI only"
    end
  end

Sure thing. It's not a huge deal, but the basic issue is that we have to declare the bundle id and the team id in the sigh call in beta. Though we define those variables in Appfile, they don't get used when switching to beta from nightly. If we run the beta lane directly, they do work.
  desc "Executes a nightly build"
  lane :nightly do
    increment_build_number
    beta
    adhoc
  end

  desc "Builds an Ad Hoc version and uploads it to Hockey & Crashlytics"
  lane :adhoc do
    sigh(
      adhoc: true,
      app_identifier: 'com.ifttt.ifttt'
    )
    gym(
      scheme: "IFTTT Ad Hoc",
      export_method: 'ad-hoc'
    )
    hockey(
      api_token: 'xxxx',
      public_identifier: 'xxxx',
      notify: '0'
    )
    crashlytics(
      api_token: 'xxxx',
      build_secret: 'xxxx',
      groups: 'ifttt-team',
      notifications: false
    )
  end

  desc "Builds a Beta Enterprise version and uploads it to Hockey & Crashlytics"
  lane :beta do
    sigh(
      app_identifier: 'com.ifttt.beta.ifttt',
      team_id: 'C7G23YU5BK'
    )
    gym(
      scheme: "IFTTT Beta",
      export_method: 'enterprise'
    )
    hockey(
      api_token: 'xxxx',
      public_identifier: 'xxxx',
      notify: '0'
    )
    crashlytics(
      api_token: 'xxxx',
      build_secret: 'xxxx',
      groups: 'ifttt-team',
      notifications: false
    )
  end

Hey @maxmeyers! I think we are going to go ahead and close this issue for now as we have a bunch of other things in the pipeline right now. But please feel free to submit a PR and we would be happy to review it! Thanks!


[Vue warn]: Failed to resolve filter: substring(0,20) (found in component: )

Hello,
I do not know if I'm doing anything wrong, but when I use, for exemple,  the substring (0.20) filter , I get this error: [Vue warn]: Failed to resolve filter: substring (0,20) (Found in component: )
can you help me?
thank you

@bonzinho The reason is you didn't install the filter correctly. Please see this: Install. If it can't work please let me know. :)

Hi again, thanks for quick response,
Sorry im noob with webpack,
and in my file spa.config i do this:
`require('materialize-css');
window.Vue = require('vue');
require('vue-resource');
require('vue-filter');
Vue.http.options.root = appConfig.api_url;
require('./router');`

var Vue = require('vue');
var VueFilter = require('vue-filter');

Vue.install(VueFilter); // don't forget install

Now, I think your problem must be solved. 😃

I had tried, but it shows me these errors:
[Filter duplication]: A filter named debouncehas has already been installed.
(Anonymous) @ vue-filter.js: 2775
Vue-filter.js: 2775 [filter duplication]: A filter named uppercasehas already been installed.
(Anonymous) @ vue-filter.js: 2775
Vue-filter.js: 2775 [filter duplication]: A filter named lowercasehas already been installed.
(Anonymous) @ vue-filter.js: 2775
Spa.js: 10 Uncaught TypeError: tete.install is not a function
At Object.  (spa.js: 10)
At webpack_require (bootstrap efbb9be ...? 3158: 555)
At fn (bootstrap efbb9be ...? 3158: 86)
At Object.  (bootstrap efbb9be ...? 3158: 578)
At webpack_require (bootstrap efbb9be ...? 3158: 555)
At bootstrap efbb9be ...? 3158: 578
At bootstrap efbb9be ...? 3158: 578
Thanks anyway

I had tried, but it shows me these errors:
[Filter duplication]: A filter named debouncehas has already been installed.
(Anonymous) @ vue-filter.js: 2775
Vue-filter.js: 2775 [filter duplication]: A filter named uppercasehas already been installed.
(Anonymous) @ vue-filter.js: 2775
Vue-filter.js: 2775 [filter duplication]: A filter named lowercasehas already been installed.
(Anonymous) @ vue-filter.js: 2775
Spa.js: 10 Uncaught TypeError: Vue.install is not a function
At Object.  (spa.js: 10)
At webpack_require (bootstrap efbb9be ...? 3158: 555)
At fn (bootstrap efbb9be ...? 3158: 86)
At Object.  (bootstrap efbb9be ...? 3158: 578)
At webpack_require (bootstrap efbb9be ...? 3158: 555)
At bootstrap efbb9be ...? 3158: 578
At bootstrap efbb9be ...? 3158: 578
Thanks anyway

@bonzinho I don't know why you got those error message.

Spa.js: 10 Uncaught TypeError: Vue.install is not a function

Vue.install this must be a function. I can check your webpack config. I guess the problem must in there.


Publish a ROADMAP

Description of problem
Currently, the project repository lacks a ROADMAP document that could guide users and potential contributors about the future of the project and align ideas and contributions around a clear vision.

Ask for Zach Robinson to provide us with the details for this (or edit the docs directly)

Ask for Zach Robinson to provide us with the details for this (or edit the docs directly)

Correct, Zach is already aware of this request and will provide updates when available

Example from paketo - https://github.com/paketo-buildpacks/community/blob/main/ROADMAP.md


Integrate this repo on Prow

Add this repo to Prow configuration to be automergeable and auto-tested

On going here: https://github.com/kubevirt/project-infra/pull/120

Merged https://github.com/kubevirt/project-infra/pull/120


Remove global variables to parse the configuration file

There is no reason to be global because only one function use these
global variables.
Self evaluation:

Build test:	 [X]Passed [ ]Failed [ ]Skipped
Run test:	 [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: jijoong.moon<EMAIL_ADDRESS>

:memo: TAOS-CI Version: 1.4.20191203. Thank you for submitting PR #30. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://ec2-54-180-96-14.ap-northeast-2.compute.amazonaws.com/.

:octocat: cibot: @jijoongmoon, One of the module of prebuild group is failed. If you want to get a hint to fix this issue, please go to https://github.com/nnstreamer/nntrainer/wiki/.

:octocat: cibot: @jijoongmoon, One of the module of prebuild group is failed. If you want to get a hint to fix this issue, please go to https://github.com/nnstreamer/nntrainer/wiki/.

use std::array<std::string, 150>. Thanks.

:octocat: cibot: @jijoongmoon, A builder checker could not be completed because one of the checkers is not completed. In order to find out a reason, please go to http://ec2-54-180-96-14.ap-northeast-2.compute.amazonaws.com/nntrainer/ci/repo-workers/pr-checker/30-202004081622000.32165002822876-3bfdbef6108da969a1743050e7b3ec015380ecf9/.

:octocat: cibot: @jijoongmoon, One of the module of prebuild group is failed. If you want to get a hint to fix this issue, please go to https://github.com/nnstreamer/nntrainer/wiki/.


AppImage 2.4.1 doesn't connect

Checklist

[X] I'm reporting a problem with Chatterino
[X] I've verified that I'm running the most recent nightly build or stable release
[X] I've looked for my problem on the wiki
[X] I've searched the issues and pull requests for similar looking reports

Describe your issue
It was working normally yesterday while I was still on v2.4.0. Chatterino is not retrieving previous chat messages, is not showing stream information, and is not connecting with third-party emote services. I tried removing my account and adding it again but it stayed the same. I can delete Chatterino configuration files if needed.
log.txt
Screenshots

OS and Chatterino Version
Chatterino 2.4.1 (commit 5ed4a21d) built with Qt 5.15.2 Running on Linux Mint 21.1, kernel: 5.15.0-60-generic

Tried to use AppImage on an up to date ArchLinux. Getting same error in UI and these errors on stdout:
qt.network.ssl: QSslSocket: cannot call unresolved function SSL_get_peer_certificate
Somehow 2.4.0 as AppImage worked for me.

@Lem For now you can use chatterino2-git from AUR

Could you try using the Ubuntu 22.04 .deb file instead of the AppImage? https://github.com/Chatterino/chatterino2/releases/tag/v2.4.1

Thank you, it's working!

It has to do with the AppImage linking to libssl-1 but not including it in the appimage

I have updated the 2.4.1 release AppImage

@pajlada Sorry for the noise, but thank you very much for the fix.


Add files via upload

@Warmmus First stage of verification passed, official domain is rcyci.edu.sa as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.


TreeExplainer.shap_values can take catboost.Pool as X argument.

Hello, I am a developer for catboost. This small fix allows TreeExplainer.shap_values to take catboost.Pool as X argument. Catboost works with categorical features, but current interface doesn't allow to provide categorical features description for dataset.

Great, thanks!


Request

Hi Alexander :) is there any way you could create a tutorial for this library? Looks awesome.

Hi Bones28!
Awesome) It would be written when I write library. I haven't time for it now.
Sorry

Ah ok no worries ;) please keep my updated though! See you ;)
On 6 Oct 2015 20:37, "Alexander Smirnov"<EMAIL_ADDRESS>wrote:

Hi Bones28!
Awesome) It would be written when I write library. I haven't time for it
now.
Sorry
—
Reply to this email directly or view it on GitHub
https://github.com/smred/LiquidFloatingActionButton/issues/1#issuecomment-145974638
.


Multiple GTM containers in vue throws errors in production

I am able to add multiple ids in the id array and it loads well and properly adds the script on local
However, when the code makes it to production, it throws invalid errors because the IDs are getting concatenated(probably due to minified files, not sure). How can I fix this?
Pictures of local and deployed version are attached

It might have todo something with this line
https://github.com/gtm-support/core/blob/77396850357034cc9a5b0401129cb91f74754289/src/utils.ts#L100
We might need to add a test case and see how it behaves
Not sure when I will have time for that, if it's possible for you feel free to open a PR to speed up the process

Just looked at the code, shouldn't this be a problem on local if this were the case? It doesn't return this error locally.

 Are there more options to be passed in here? I understand most are optional @Shinigami92

No I assume that's it, your options looks valid to me.
So if it's not the URLSearchParams that weirdly transforms an array of ids, then the issue is not in this plugin but in a configuration of your minifier as you said.

@Shinigami92, I've confirmed that the minifier does not impact the array of ids. It appears the URLSearchParams  might be the issue. Could we pretty please get a fix for this sooner than later?

Please note that I have a full-time job, several other OpenSource projects (like @prettier/plugin-pug and faker), managing also stuff in Vite and faker and then also want to have time for myself
So I cannot guarantee a fix sooner than later
The MIT license implies that
https://github.com/gtm-support/vue-gtm/blob/a481e3f38f88279289cb9a8eb1f794aff8d611e1/LICENSE#L16-L22

@sadelokiki There is something weird going on here :thinking:
When providing id with an array, the tool generates two separate scripts
So calling it with id: ['GTM-M4X2575', 'GTM-T98TL4V'] should result in something like this:
<script src="https://www.googletagmanager.com/gtm.js?id=GTM-M4X2575"/>
<script src="https://www.googletagmanager.com/gtm.js?id=GTM-T98TL4V"/>

Here you can see for each id in the array loadScript will be called separately
https://github.com/gtm-support/vue-gtm/blob/a481e3f38f88279289cb9a8eb1f794aff8d611e1/src/index.ts#L70-L73
To explicitly test this behavior, I added a test to ensure that this is done correctly and the tests are passing: https://github.com/gtm-support/core/blob/402056006888b1d089b72ab621bccd526a99be55/tests/gtm-support.test.ts#L172-L186


Customizeable options

[ ] Adjustable deck margin
[ ] Stop sound on focus loss
[ ] Stop looping by touching it once
[ ] Start page
[ ] Colors

Dark mode (themes)
Removed due to further projects
Closes #166
Closes #156
Closes #123
Closes #68

Make a SettingItem in a array with Settings, save it in the SharedPreferences as a Json string

SettingItem contains string key, object value
get by Object type

also implement ColorData into the items

No need to do it, just go with SharedPreferences, it's a useless wrapper


Angular 11 support

Hello,
Thanks a lot for making this repo. Is this actively maintained?
Any plans to update and support Angular 11 any time soon?

I will submit a PR which should support Angular 11.

Currently doesn't appear to be working on Angular 11 so would be great to have a supported version.

Support for Angular 11 would be great.

We're using this library in an angular 11 project that has been updated from angular 9. I'm not seeing any issues. Due to some earlier issues with this library, we set the target to "es5", maybe that's the reason it works? What issues do you guys have?

We're using this library in an angular 11 project that has been updated from angular 9. I'm not seeing any issues. Due to some earlier issues with this library, we set the target to "es5", maybe that's the reason it works? What issues do you guys have?

We're using this library in an angular 11 project that has been updated from angular 9. I'm not seeing any issues. Due to some earlier issues with this library, we set the target to "es5", maybe that's the reason it works? What issues do you guys have?

When I upgrade it tells me it isn't supported or something to that effect.  It was many days ago I tried.  I'd be willing to put $10 for it.

We're using this library in an angular 11 project that has been updated from angular 9. I'm not seeing any issues. Due to some earlier issues with this library, we set the target to "es5", maybe that's the reason it works? What issues do you guys have?

When I upgrade it tells me it isn't supported or something to that effect.  It was many days ago I tried.  I'd be willing to put $10 for it.

I found that I upgraded incorrectly.  I was on Angular 9 which gave me version 2.3.5.  Once I uninstalled it, I could upgrade angular to 11 and then reinstalled.  Works perfectly.

I found that I upgraded incorrectly.  I was on Angular 9 which gave me version 2.3.5.  Once I uninstalled it, I could upgrade angular to 11 and then reinstalled.  Works perfectly.

@tellybrown What's your build target?

@tellybrown What's your build target?

I am building an IONIC 5 app.

I am building an IONIC 5 app.

@tellybrown In your tsconfig.json, what's the value of the "target" property?

@tellybrown In your tsconfig.json, what's the value of the "target" property?

{
"compileOnSave": false,
"compilerOptions": {
"baseUrl": "./",
"outDir": "./dist/out-tsc",
"sourceMap": true,
"declaration": false,
"downlevelIteration": true,
"experimentalDecorators": true,
"module": "es2020",
"moduleResolution": "node",
"importHelpers": true,
"target": "es2015",
"lib": [
"es2018",
"dom"
]
},
"angularCompilerOptions": {
"fullTemplateTypeCheck": true,
"strictInjectionParameters": true
}
}

{
"compileOnSave": false,
"compilerOptions": {
"baseUrl": "./",
"outDir": "./dist/out-tsc",
"sourceMap": true,
"declaration": false,
"downlevelIteration": true,
"experimentalDecorators": true,
"module": "es2020",
"moduleResolution": "node",
"importHelpers": true,
"target": "es2015",
"lib": [
"es2018",
"dom"
]
},
"angularCompilerOptions": {
"fullTemplateTypeCheck": true,
"strictInjectionParameters": true
}
}

I can confirm that "angularx-qrcode": "10.0.11" is working with<EMAIL_ADDRESS>"~11.0.5" and "@angular/material...":"^11.0.3"
tsconfig.json
{
  "compileOnSave": false,
  "compilerOptions": {
    "outDir": "./dist/out-tsc",
    "sourceMap": true,
    "declaration": false,
    "downlevelIteration": true,
    "experimentalDecorators": true,
    "module": "es2020",
    "moduleResolution": "node",
    "importHelpers": true,
    "target": "es2015",
    "esModuleInterop": true,
    "typeRoots": [
      "node_modules/@types"
    ],
    "lib": [
      "es2018",
      "dom"
    ]
  },
  "angularCompilerOptions": {
    "fullTemplateTypeCheck": false,
    "strictInjectionParameters": true
  }
}

I can confirm that "angularx-qrcode": "10.0.11" is working with<EMAIL_ADDRESS>"~11.0.5" and "@angular/material...":"^11.0.3"
tsconfig.json
{
  "compileOnSave": false,
  "compilerOptions": {
    "outDir": "./dist/out-tsc",
    "sourceMap": true,
    "declaration": false,
    "downlevelIteration": true,
    "experimentalDecorators": true,
    "module": "es2020",
    "moduleResolution": "node",
    "importHelpers": true,
    "target": "es2015",
    "esModuleInterop": true,
    "typeRoots": [
      "node_modules/@types"
    ],
    "lib": [
      "es2018",
      "dom"
    ]
  },
  "angularCompilerOptions": {
    "fullTemplateTypeCheck": false,
    "strictInjectionParameters": true
  }
}

Hi @all
thanks for reporting this issue and sorry for the delay<EMAIL_ADDRESS>has been released.
Happy coding!

Hi @all
thanks for reporting this issue and sorry for the delay<EMAIL_ADDRESS>has been released.
Happy coding!


[2.0] Fix CVEs & CI

Signed-off-by: Tyler Ohlsen<EMAIL_ADDRESS>Description
Fix CVEs & CI for 2.0 branch.
Check List

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #352 (2f1aa61) into 2.0 (14cc8d7) will increase coverage by 0.07%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##              2.0     #352      +/-   ##
==========================================
+ Coverage   45.93%   46.01%   +0.07%
==========================================
  Files         150      147       -3
  Lines        4957     4942      -15
  Branches      969      956      -13
==========================================
- Hits         2277     2274       -3
+ Misses       2463     2451      -12
  Partials      217      217

Impacted Files
Coverage Δ

...aly-detection-dashboards-plugin/utils/constants.ts

...nomaly-detection-dashboards-plugin/public/index.ts

...omaly-detection-dashboards-plugin/public/plugin.ts

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Dependent on common-utils too: https://github.com/opensearch-project/common-utils/pull/331

Manifest PR merged: https://github.com/opensearch-project/opensearch-build/pull/2953
Will now wait for successful 2.0 jenkins build: https://build.ci.opensearch.org/job/distribution-build-opensearch/


Support for Encryption of web.config Files

The Task doesn't appear to support the encrypting of sections of the web.config file.  Could this functionality be added please?

Yes it is in our backlog . Thanks

Hi @chshrikh , is  Encryption of web.config still in the backlog now?


Excelize used in go can't save files in docker container

We developed a quick prototype that uses Excelize that creates a clone of the original excel spreadsheet:

to open a spreadsheet
save it as a duplicate
open the duplicate
add data

This works without any issues locally, but we do need to run it inside a docker container (we're looking at alternatives as well)
Steps to reproduce the issue:
our code base is fairly simple and works in our development environment
// clone the excel file
	template, _ := excelize.OpenFile(excelTemplateURI)
	path := os.Getenv("KO_DATA_PATH") + "/"

	template.SaveAs(path + "MarketIndicators_" + dates[0] + ".xlsx")
	template.Close()`

we then use KO to build and deploy it a local docker deamon.
Describe the results you received:
However when running inside a docker container we get the following error:
2023/02/15 15:05:20 http: panic serving <IP_ADDRESS>:46926: runtime error: invalid memory address or nil pointer dereference
goroutine 18 [running]:
net/http.(*conn).serve.func1()
        net/http/server.go:1850 +0xb8
panic({0x339400, 0x6e1970})
        runtime/panic.go:890 +0x260
github.com/xuri/excelize/v2.(*File).SaveAs(0x40003b2090?, {0x40003b20f0?, 0x242?}, {0x0?, 0x0?, 0x4000468090?})
        github.com/xuri/excelize/v2@v2.7.0/file.go:75 +0x34`
[...]

Describe the results you expected:
Ideally this would be a non-issue as in our development environment this process works.
Output of go version:
go version go1.19.3 darwin/arm64

Excelize version or commit ID:
github.com/xuri/excelize/v2 v2.7.0

Environment details (OS, Microsoft Excel™ version, physical, etc.):
Mac OS Ventura 13.2
Microsoft 365
code run in isolated docker container.

Sorry I realized a coding mistake
	template, _ := excelize.OpenFile(excelTemplateURI) 	path := os.Getenv("KO_DATA_PATH") + "/"
should be
	 path := os.Getenv("KO_DATA_PATH") + "/" template, _ := excelize.OpenFile(excelTemplateURI)


Conform to new gardener.VolumeCreator interface

Guardian now expects VolumeCreator implementations (such as CakeOrdinator) to return a specs.Spec (runtime spec) on success.
This PR implements that. Note that guardian supports image plugins that still return a json-serialised gardener.DesiredImageSpec, but this is deprecated and may be removed soon.


1.0.7 post release updates

Issue #, if available:
Description of changes:
1.0.7 Post release updates
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report
All modified lines are covered by tests :white_check_mark:

Comparison is base (cfcc206) 40.21% compared to head (7fe8f83) 40.21%.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop      #68   +/-   ##
========================================
  Coverage    40.21%   40.21%
========================================
  Files          241      241
  Lines         8353     8353
  Branches       859      859
========================================
  Hits          3359     3359
  Misses        4746     4746
  Partials       248      248

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


d1mini fash

i fash an d1 mini with following
esptool --port /dev/ttyUSB0 write_flash  --flash_mode qio  0x00000 ./0x00000.bin  0x02000 ./0x02000.bin

no error
on serial monitor i see the wifi repeter start
but i can't see an ap

got further. it works with the esp8266 download tool in the windows machine .
now there is another problem, my ssid is the original FRITZ!Box 7490
if I enter that in the repeater, it probably make from the FRITZ!Box 7490  an FRITZ!Box+7490.
How do I enter a space in the SSID?


[Feature] Add button for resizing images

Is your feature request related to a problem? Please describe.
A button for resizing an image on the UI using the /api/cdn/resize/image endpoint
Describe the solution you'd like
A button, that opens a modal, where you can input desired height and width and a confirmation.
Describe alternatives you've considered
N/A
Additional context
N/A

Hi @kevinanielsen, I want to work on this.  Can you please describe to me, where the button should be?  And I don't find /api/cdn/resize/image endpoint in this project. Where is this endpoint located?

@sumon-chandra this button should be located along with the rename and delete buttons for the file cards - the endpoint is located in the src/router/api.go file.
Will assign you to the issue now 😃

@kevinanielsen sorry to say that I've got some major issues in this project.
- The contents aren't loaded on fetching.
- I've tried to run the backend, but I couldn't.

Can you please provide me the instructions on how I can get the contents so that I can work on it?
I love working on challenging things and I'm curious to work on this.

@sumon-chandra I am sorry it has not been easy to work on this.
To run the backend, make sure you are in the root of the project and that you have Go installed.
Once the backend is running, it should be straight forward to develop the frontend :) Let me know if your issues persist

Hey @kevinanielsen! Is this still open? Would love to work on this!

Hey @kevinanielsen! Is this still open? Would love to work on this!
@luckramos

For sure, assigning you now!

Hey @kevinanielsen, let @luckramos try this. Otherwise i would like to work on this.

#142

Hey @kevinanielsen! I just created a PR for this issue #142


Fix finding the end of the fhinal chunk in the presence of incomplete parallel branches [JENKINS-38536]

Fixes JENKINS-38536 in combination with the work in https://github.com/jenkinsci/workflow-api-plugin/pull/33

WIP while I sort out why the tests are failing.

@reviewbybees please?

This pull request originates from a CloudBees employee. At CloudBees, we require that all pull requests be reviewed by other CloudBees employees before we seek to have the change accepted. If you want to learn more about our process please see this explanation.

@reviewbybees  done


'imagine' is not recognized as an internal or external command, operable program or batch file.

'imagine' is not recognized as an internal or external command,
operable program or batch file.
I can't run 'imagine' it just gives me this error... any help?

now it's just
C:\Users\Justin\AppData\Roaming\Python\Python39\site-packages\deep_daze>python -m deep_daze.py
Traceback (most recent call last):
File "C:\Program Files\Python39\lib\runpy.py", line 188, in _run_module_as_main
mod_name, mod_spec, code = _get_module_details(mod_name, _Error)
File "C:\Program Files\Python39\lib\runpy.py", line 111, in _get_module_details
import(pkg_name)
File "C:\Users\Justin\AppData\Roaming\Python\Python39\site-packages\deep_daze\deep_daze.py", line 23, in
from .clip import load, tokenize
ImportError: attempted relative import with no known parent package


Feature: Headless mode

I would love to use this, if I could completely customize the rendering! I'd love to just use utterances to set up the auth & data fetching & deal with the rate limiting, but then be able to style the comments according to my site.

+1 on this


For trees over 5000 leaf nodes it gets laggy.

For the larger trees, minimize calls to bbox and redrawing the whole tree as browser reflow with the big svg is pretty slow.

I did some profiling and it looks like the issue is in the rendering of the tree itself with most of the time being spent in browser reflow.

Consider leaving all labels off by default.  It seems to help with the lagginess.


Calls to RPC service hanging

In the past few days I have been trying to connect to the Thrift endpoints but my call to OpenSession is hanging.
At first I thought it could be something with Windows (I'm using Docker but I'm connecting from a Windows machine) and then I used Ubuntu but got the same issue.
Then I thought it could be Go and I tried using Python but it is hanging too.
Here is the command I used to start iotdb:
docker run -d -p 6667:6667 -p 31999:31999 -p 8181:8181 --name some-iotdb apache/iotdb:latest

And here is the Python code:
from iotdb.Session import Session

ip = "<IP_ADDRESS>"
port_ = "6667"
username_ = 'root'
password_ = 'root'
session = Session(ip, port_, username_, password_)
session.open(False)
zone = session.get_time_zone()
print(zone)
session.close()

And here is the Go code:
package iotdb

import (
	"context"
	"github.com/apache/thrift/lib/go/thrift"
	"github.com/fagnercarvalho/iotdb-client-go/thrift/rpc"
)

type Client interface {
	SetStorageGroup(name string) error
}

type clientImpl struct {
	sessionId *int64
	rpcServer *rpc.TSIServiceClient
}

func (c clientImpl) SetStorageGroup(name string) error {
	_, err := c.rpcServer.SetStorageGroup(context.Background(), *c.sessionId, name)
	if err != nil {
		return err
	}

	return nil
}

const protocolVersion  = rpc.TSProtocolVersion_IOTDB_SERVICE_PROTOCOL_V3

func newClient(username string, password string, addr string) (*rpc.TSIServiceClient, int64, error) {
	var protocolFactory thrift.TProtocolFactory
	var trans thrift.TTransport
	trans, err := thrift.NewTSocketTimeout(addr, 0)
	if err != nil {
		return nil, -1, err
	}

	trans = thrift.NewTFramedTransport(trans)
	if !trans.IsOpen() {
		err = trans.Open()
		if err != nil {
			return nil, -1, err
		}
	}
	protocolFactory = thrift.NewTBinaryProtocolFactoryDefault()
	iProtocol := protocolFactory.GetProtocol(trans)
	oProtocol := protocolFactory.GetProtocol(trans)
	client := rpc.NewTSIServiceClient(thrift.NewTStandardClient(iProtocol, oProtocol))
	tSOpenSessionReq := rpc.TSOpenSessionReq{ClientProtocol: protocolVersion, ZoneId: "Asia/Shanghai", Username: &username,
		Password: &password}
	ctx, cancel := context.WithDeadline(context.Background(), time.Now().Add(time.Second * 30))
	tSOpenSessionResp, err := client.OpenSession(ctx, &tSOpenSessionReq)
	if err != nil {
		return nil, -1, err
	}

	defer cancel()

	return client, tSOpenSessionResp.GetSessionId(), nil
}

func NewClient(username string, password string) (Client, error) {
	rpcServer, sessionId, err := newClient(username, password,"<IP_ADDRESS>:6667")
	if err != nil {
		return nil, err
	}

	client := clientImpl{
		rpcServer: rpcServer,
		sessionId: &sessionId,
	}

	return client, nil
}

package iotdb

import (
	"fmt"
	"testing"
)

func TestSetStorageGroup(t *testing.T) {
	client, err := NewClient("root", "root")
	if err != nil {
		t.Fatal(fmt.Sprintf("error when initiating client: %v", err))
	}

	err = client.SetStorageGroup("root.test")
	if err != nil {
		t.Fatal(fmt.Sprintf("error when adding storage group: %v", err))
	}
}

I also tried using a iotdb Go client I found but it is hanging too (https://github.com/manlge/go-iotdb).
What am I doing wrong?
Here are logs from the Docker container (not much to see here I suppose):
---------------------

Starting IoTDB

---------------------

setting local JMX...

Maximum memory allocation pool = 3169MB, initial memory allocation pool = 792MB

If you want to change this configuration, please check conf/iotdb-env.sh(Unix or OS X, if you use Windows, check conf/iotdb-env.bat).

SLF4J: Class path contains multiple SLF4J bindings.

SLF4J: Found binding in [jar:file:/iotdb/lib/logback-classic-1.1.11.jar!/org/slf4j/impl/StaticLoggerBinder.class]

SLF4J: Found binding in [jar:file:/iotdb/lib/slf4j-log4j12-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class]

SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.

SLF4J: Actual binding is of type [ch.qos.logback.classic.util.ContextSelectorStaticBinder]

2020-12-02 02:01:06,324 [main] INFO org.apache.iotdb.db.conf.IoTDBDescriptor:130 - Start to read config file /iotdb/sbin/../conf/iotdb-engine.properties

2020-12-02 02:01:06,343 [main] INFO org.apache.iotdb.db.conf.IoTDBDescriptor:149 - The stat_monitor_detect_freq_sec value is smaller than default, use default value

2020-12-02 02:01:06,344 [main] INFO org.apache.iotdb.db.conf.IoTDBDescriptor:156 - The stat_monitor_retain_interval_sec value is smaller than default, use default value

2020-12-02 02:01:06,344 [main] INFO org.apache.iotdb.db.conf.IoTDBDescriptor:645 - allocateMemoryForRead = 997195776

2020-12-02 02:01:06,345 [main] INFO org.apache.iotdb.db.conf.IoTDBDescriptor:646 - allocateMemoryForWrite =<PHONE_NUMBER>

2020-12-02 02:01:06,355 [main] INFO org.apache.iotdb.db.conf.IoTDBDescriptor:283 - Time zone has been set to +08:00

2020-12-02 02:01:06,365 [main] INFO org.apache.iotdb.tsfile.common.conf.TSFileDescriptor:108 - Start to read config file /iotdb/sbin/../conf/iotdb-engine.properties

2020-12-02 02:01:06,374 [main] INFO org.apache.iotdb.db.conf.IoTDBConfigCheck:93 - Starting IoTDB 0.10.1

2020-12-02 02:01:06,375 [main] INFO org.apache.iotdb.db.conf.IoTDBConfigCheck:102 - /iotdb/sbin/../data/system/schema dir has been created.

2020-12-02 02:01:06,376 [main] INFO org.apache.iotdb.db.conf.IoTDBConfigCheck:154 - /iotdb/sbin/../data/system/schema/system.properties has been created.

2020-12-02 02:01:06,396 [main] WARN org.apache.iotdb.db.service.StartupChecks:36 - iotdb.jmx.port missing from iotdb-env.sh(Unix or OS X, if you use Windows, check conf/iotdb-env.bat)

2020-12-02 02:01:06,398 [main] INFO org.apache.iotdb.db.service.StartupChecks:52 - JDK veriosn is 11.

2020-12-02 02:01:06,399 [main] INFO org.apache.iotdb.db.service.IoTDB:88 - Setting up IoTDB...

2020-12-02 02:01:06,428 [main] INFO org.apache.iotdb.db.service.IoTDB:136 - After initializing, max memTable num is 20, tsFile threshold is 536870912, memtableSize is<PHONE_NUMBER>

2020-12-02 02:01:06,430 [main] WARN org.apache.iotdb.db.service.JMXService:88 - JMX ServerService JMX port is undefined

2020-12-02 02:01:06,434 [main] INFO org.apache.iotdb.db.concurrent.IoTDBThreadPoolFactory:46 - new fixed thread pool: Flush-ServerServiceImpl, thread number: 8

2020-12-02 02:01:06,435 [main] INFO org.apache.iotdb.db.concurrent.IoTDBThreadPoolFactory:80 - new cached thread pool: Flush-SubTask-ServerServiceImpl

2020-12-02 02:01:06,436 [main] INFO org.apache.iotdb.db.engine.flush.pool.FlushSubTaskPoolManager:57 - Flush sub task manager started.

2020-12-02 02:01:06,436 [main] INFO org.apache.iotdb.db.engine.flush.pool.FlushTaskPoolManager:58 - Flush task manager started.

2020-12-02 02:01:06,445 [main] INFO org.apache.iotdb.db.cost.statistic.Measurement:143 - start measurement stats module...

2020-12-02 02:01:06,445 [main] INFO org.apache.iotdb.db.cost.statistic.Measurement:251 - start the consuming task in the measurement stats module...

2020-12-02 02:01:06,447 [main] INFO org.apache.iotdb.db.conf.adapter.ManageDynamicParameters:109 - IoTDB: start Manage Dynamic Parameters...

2020-12-02 02:01:06,456 [main] INFO org.apache.iotdb.db.concurrent.IoTDBThreadPoolFactory:46 - new fixed thread pool: Recovery-Thread-Pool, thread number: 8

2020-12-02 02:01:06,491 [main] INFO org.apache.iotdb.db.service.UpgradeSevice:112 - finish counting upgrading files, total num:0

2020-12-02 02:01:06,492 [main] INFO org.apache.iotdb.db.service.UpgradeSevice:73 - Waiting for upgrade task pool to shut down

2020-12-02 02:01:06,492 [main] INFO org.apache.iotdb.db.service.UpgradeSevice:78 - Upgrade service stopped

2020-12-02 02:01:06,493 [main] INFO org.apache.iotdb.db.engine.merge.manage.MergeManager:94 - MergeManager started

2020-12-02 02:01:06,496 [main] INFO org.apache.iotdb.db.service.RPCService:119 - IoTDB: start RPC ServerService...

2020-12-02 02:01:06,584 [main] INFO org.apache.iotdb.db.auth.authorizer.BasicAuthorizer$InstanceHolder:85 - Authorizer provider class: org.apache.iotdb.db.auth.authorizer.LocalFileAuthorizer

2020-12-02 02:01:06,586 [main] INFO org.apache.iotdb.db.auth.user.LocalFileUserAccessor:217 - user info dir /iotdb/sbin/../data/system/users is created

2020-12-02 02:01:06,626 [main] INFO org.apache.iotdb.db.auth.user.BasicUserManager:78 - Admin initialized

2020-12-02 02:01:06,628 [main] INFO org.apache.iotdb.db.auth.user.BasicUserManager:78 - Admin initialized

2020-12-02 02:01:06,629 [main] INFO org.apache.iotdb.db.auth.role.LocalFileRoleAccessor:168 - role info dir /iotdb/sbin/../data/system/roles is created

2020-12-02 02:01:06,629 [main] INFO org.apache.iotdb.db.auth.authorizer.BasicAuthorizer:65 - Initialization of Authorizer completes

2020-12-02 02:01:06,661 [RPC-ServerServiceImpl] INFO org.apache.iotdb.db.service.RPCService$RPCServiceThread:202 - The RPC service thread begin to run...

2020-12-02 02:01:06,762 [main] INFO org.apache.iotdb.db.service.RPCService:135 - IoTDB: start RPC ServerService successfully, listening on ip <IP_ADDRESS> port 6667

2020-12-02 02:01:06,763 [main] INFO org.apache.iotdb.db.service.IoTDB:123 - IoTDB is set up.

2020-12-02 02:01:06,764 [main] INFO org.apache.iotdb.db.service.IoTDB:84 - IoTDB has started.

@yanhongwangg  can you have a look?

Hi, the go-client (https://github.com/manlge/go-iotdb) is for IoTDB v0.11
The connection(rpc) is not compatible between 0.11 and 0.10.
You could use the rel/0.11 branch.
mvn clean package -pl distribution -am -DskipTests
and get the iotdb in distribution/target/

Besides, For each version IoTDB (0.8, 0.9, 0.10, 0.11), the rpc is not compatible.
Please use the client whose version is the same as the server (0.x)
The master branch is the develop branch. Each major version has a release branch: rel/0.11, rel/0.10, rel/0.9 ...

Hi, according to the above version problem, I just tried the 0.11 branch code, which is available. In addition, you can try my go client github.com/yanhongwangg/incubator -iotdb@client-go,it can work well

Ah, this makes perfect sense. I tried using multiple versions before but I didn't pay attention to the pip package and the thrift file I was using. As soon as the client and the server versions matched (0.11.0) the connection started working in Python and Go.
Although it makes sense for this to not work with different versions it is a little frustrating that is just hanging and not showing anything in the logs. Anyway, just throwing this out there...
I'm going to close this issue since you helped me to fix it.
Thanks everybody!


Push image workflow functionality reconcile.

Summary

This PR extends the push-image workflow functionality to work with the rest of the buildpacks. It has been tested on pacostas/jammy-tiny-stack and pacostas/ubi-base-stack.
Use Cases

Checklist

[x] I have viewed, signed, and submitted the Contributor License Agreement.
[ ] I have linked issue(s) that this PR should close using keywords or the Github UI (See docs)
[x] I have added an integration test, if necessary.
[x] I have reviewed the styleguide for guidance on my code quality.
[x] I'm happy with the commit history on this PR (I have rebased/squashed as needed).

@jericop Can you take a look?

Closing as jam support new flag, so this PR has to change


New(shared component) : About card

Description
Page component which accepts couple of params like text and links
Why
To show information about third party libraries and commit info
Issue
NA
Checklist
Please delete options that are not relevant.

[x] I have followed the contributing guidelines
[x] I have performed a self-review of my own code
[x] I have successfully tested my changes locally

@manojava-gk please also remove everything related to third-party-licenses (https://github.com/catenax-ng/tx-portal-frontend/tree/feature/CPLP-2682-about-dialog/cx-portal/src/features/info/licenses) when you enable the about page in the portal

looks good. thank you!
Still, I have some notes regarding PR title and description: Both don't properly describe what you've done and why you've done it.
Regarding what, you did the following and you should mention it:

add about card to shared-components
add about page to portal
remove third-party-licenses page

Regarding the why, you could link the TRG from the user story: https://eclipse-tractusx.github.io/docs/release/trg-7/trg-7-06 and also mention that the third-party-licenses page is replaced by the about page
Also, the PR title doesn't follow our contributing guidelines: a proper title would be something like feat(legal-notice): add about card to shared-components and about page to portal

PR created long back. So have missed to add latest changes in the description. Will update it


add support for custom logging function

If there is no sails.log.verbose for logging, logging: true - DEPRECATION WARNING: The logging-option should be either a function or false. Default: console.log
So custom logging function could be used here.

Custom logging is necessary, maybe we need to log sql to seperate files. Please merge this commit.


remove sourcemap pointer  from production distribution

not the convention with other distributions unneeded and causes unnecessary net traffic when linking as a CDN.

Also, the source map pointer is wrong. For instance, https://cdnjs.cloudflare.com/ajax/libs/qtip2/2.2.1/basic/jquery.qtip.min.js contains:
//# sourceMappingURL=//cdn.jsdelivr.net/qtip2/2.2.1//var/www/qtip2/build/tmp/tmp-6564t0090xs/jquery.qtip.min.map

Will take a look at removing this as soon as I can, project has been on a bit of a hiatus recently!


Update code of conduct based on upstream changes

CNCF Community Code of Conduct is updated to v1.2
Make the code of conduct on the website be level with cncf/foundation@d1aa4b995
ref: https://github.com/kubernetes/website/pull/14612
Signed-off-by: ydFu<EMAIL_ADDRESS>

/approve


Login to support multi-factor authentication

Describe the feature
Login to support supplying otp key.
Login method to have otp key parameter and must be able to supply the otp key during login.
Explain why this feature is needed
D365 users (in our case) will be asked always for an otp key since MFA is a security feature for Dynamics 365. The key will be coming from Microsoft Authenticator App

(instead of sms).
Additional context

Hi @AngelRodriguez8008 ,
I already have the new Dynamics365.UI.Automation.Api referenced in our automation solution/project.
The version is v<IP_ADDRESS>.013 as referenced thru NuGet Package Manager. It carries the feature Login With MFA.
But upon using or testing the new login (it does convert the mfa/otp), there is an error upon page redirection. Please see attached screenshot.

This kind of error does not occur in previous login implementation (wherein i would just manually supply the otp on the page).
I have also check/test the login manually the system-under-test seems to work fine.

Hi @tristanperper,
In which point of the execution are you getting this error? How your "app.config" look like? Which format has your mfa-secrect-key? Did you see the OTC dialog? How look your tests results like, there is some errors printed? Are you getting redirected like in #770? Url? Browser?
I will appreciate more information about this error. You can also open an Issue for that.
Thanks & br

Hi @tristanperper,
In which point of the execution are you getting this error? How your "app.config" look like? Which format has your mfa-secrect-key? Did you see the OTC dialog? How look your tests results like, there is some errors printed? Are you getting redirected like in #770? Url? Browser?
I will appreciate more information about this error. You can also open an Issue for that.
Thanks & br

Hi @AngelRodriguez8008 ,

The error is happening after the login.
My app.config looks something like this

3.       ---->    this parameter carries the mfa-secret key
4. Yes I see the OTC dialog and otp has been successfuly converted and submitted.
5. There is a server application error (please refer to the attached screenshot from my previous comment)
6. I was redirected in this URL   https://somesitefordynamics/&flags=easyreproautomation=true,testmode=true&perf=true
7. The browser I used is Firefox 73.0.1 (64-bit)
Regards,
Tristan Perper

@tristanperper did you find any solution for logging with authentication?

@AngelRodriguez8008 I was trying to bypass MFA in one of my CRM application using the secret key, I did everything right the steps ask to, but it seems to be stuck on the OTP screen can you please help me out ....

DotaABhash Please create separate issue, I will post workaround


DMP-1455 MFA B2C

Removing console log
Using this PR to show MFA screen changes

https://www.figma.com/file/sjyyNfzv1pFupjMuVKJXID/DARTS-(Build)?type=design&node-id=0-1&mode=design

One nitpick, I think there is a little bit too much space between the important banner and the heading

One nitpick, I think there is a little bit too much space between the important banner and the heading


Add a check that makes sure a numpy only dataset works

Today, some part of the pipeline assume that the input will be pandas. Do we want to support numpy only dataset?
If so, we should correct the tabular transformer which fails when we input numpy only data

This has evolved into #45 by now


guess the movie star using two pictures

PR Description 📜
Created a JavaScript game where players have to guess the correct celebrity based on the given images.
Fixes https://github.com/kunjgit/GameZone/issues/1570

## Demo
https://user-images.githubusercontent.com/49182604/247189759-4b276323-3e3d-4e01-898e-3bafcacc53fd.mp4
Mark the task you have completed ✅

[x] I follow CONTRIBUTING GUIDELINE & CODE OF CONDUCT of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I have followed proper naming convention showed in CONTRIBUTING GUIDELINE
[x] I have added screenshot for website preview in assets/images
[x] I have added entries for my game in main README.md
[x] I have added README.md in my folder
[x] I have added working video of the game in README.md (optional)
[x] I have specified the respective issue number for which I have requested the new game.

Thank you soo much for contributing to our repository 💗

Thank you @amelia2802 ,for creating the PR and contributing to our GameZone 💗
Review team will review the PR and will reach out to you soon! 😇
Make sure that you have marked all the tasks that you are done with ✅.
Thank you for your patience! 😀

Hey @amelia2802,
Please make sure to link the relevant issue using the appropriate syntax, such as "#issueNumber" 👀.
Follow the proper guideline and make a new PR again 😀.
Happy Hacking 💗

Thank you  @amelia2802 , for your valuable time and contribution in our GameZone 💗.
It’s our GameZone, so Let’s build this GameZone altogether !!🤝
Hoping to see you soon with another PR again 😇
Wishing you all the best for your journey into Open Source🚀

follow proper guideline and create PR again !! 👀

Thank you  @amelia2802 , for your valuable time and contribution in our GameZone 💗.
It’s our GameZone, so Let’s build this GameZone altogether !!🤝
Hoping to see you soon with another PR again 😇
Wishing you all the best for your journey into Open Source🚀


Which version of the collector image contains https://github.com/open-telemetry/opentelemetry-lambda/pull/310?

I'm having difficulty tracing down when a change to https://github.com/open-telemetry/opentelemetry-lambda gets pulled into the ADOT layers.
I am currently using the collector layer aws-otel-collector-arm64-ver-0-70-0.
I am interested in the fix for https://github.com/open-telemetry/opentelemetry-lambda/pull/310
Do you know which version of the aws-otel-collector layer contains the fix for https://github.com/open-telemetry/opentelemetry-lambda/pull/310?
Thanks,
-James

I know this is a specific question about a specific PR, but I'm here looking for similar info. If anyone can show us where to look for this information generally that would be amazing. Thanks!


Try Dagger for distributed TN contraction

This week I have been experimenting with the Dagger library to perform matrix multiplication. The key idea is to distribute the matrices over some workers so we can compute the result distributedly. In Dagger, this is done by splitting the matrix in some Chunks and finding the right chunk size is the tricky part. I have tested Dagger for now using only one node in MareNostrum4, and using 1 core per worker.
Here is an example of the results, where in this case we compute the matrix product of two (4096,4096) matrices, and we show the contraction time as a function of the number of workers:

In this plot we can see that, since we distribute the matrix using chunks of size (2024, 2024) (so 4 chunks per matrix), we can only get distribution of the matrices up to 8 workers (4 chunks per matrix). Moreover, we can compare how does this matrix multiplication compare with the case where the chunk is the same size of the matrix, and we can see that in this trivial case the computation can not be distributed.
Since this already works quite well, I propose we can test the multinode scenario:

[ ] #100

This is the `Julia` code I used:
```julia
using Dagger
using Statistics
using Distributed
using BenchmarkTools
N = Int(parse(Int, ARGS[2])) # Number of workers
blocks_per_dim = 2048 # Size of blocks per dimension
dim_size = 4096 # Size of each matrix dimension
dims = 2 # It's a matrix
samples = 10
seconds = 30
Set the JULIA_PROJECT environment variable to ensure that the worker processes use the correct project environment
project_path = "/gpfs/scratch/bsc21/bsc21504/CUCO/julia/Tenet_distributed"
ENV["JULIA_PROJECT"] = project_path
Get the list of nodes allocated by SLURM
nodes = read(srun -l /bin/hostname, String)
nodes = split(nodes, '\n')
workers_per_node = Int(parse(Int, ARGS[2]))
Extract hostnames and remove duplicates and empty strings
nodes = unique([split(node, ": ")[2] for node in nodes if node != ""])
println("nodes: $nodes")
n_workers = nworkers()
println("Number of workers: $n_workers")
Get mean available memory per worker
@everywhere function available_memory()
mem_str = read(free -g, String)
mem_lines = split(mem_str, '\n')
mem_parts = split(mem_lines[2])
return parse(Int, mem_parts[3])  # Available memory is in the third column
end
Check the available memory on each worker
mem_workers = []
for worker in workers()
push!(mem_workers, @fetchfrom worker available_memory())
# println("Worker $worker has $mem GB available memory")
end
mean_mem = mean(mem_workers)
std_mem = std(mem_workers)
@everywhere begin
using Dagger
using Dates
blocks_per_dim = $blocks_per_dim
dims = $dims
dim_size = $dim_size

end
start_time = Dates.now()
blocks = Blocks([dim_size ÷ blocks_per_dim for _ in 1:dims]...)
println("blocks size: $([dim_size ÷ blocks_per_dim for _ in 1:dims])")
A = rand(blocks, Complex{Float64}, [dim_size for _ in 1:dims]...)
B = rand(blocks, Complex{Float64}, [dim_size for _ in 1:dims]...)
contract the tensor network
task = @benchmark fetch(A * B) samples=samples seconds=seconds
time_taken = Dates.now() - start_time
mean_time = mean(task.times ./ 1e9) # converted to seconds
std_time = std(task.times ./ 1e9) # converted to seconds
memory_estimate_kb = task.memory / 1024 # converted to kilobytes
memory_estimate_mb = memory_estimate_kb / 1024 # converted to megabytes
allocations = task.allocs
println("mean time: $mean_time, std time: $std_time, memory estimate: $memory_estimate_mb, allocations: $allocations")
Write the operation time to a file
open("darray_matrix_2.txt", "a") do io
write(io,
"workers=$n_workers,
workers_per_node=$workers_per_node,
nodes=$nodes,
dim_size=$dim_size,
block_size_per_dim=$blocks_per_dim,
samples=$samples,
seconds=$seconds,
memory_per_worker=$mean_mem,
std_mem=$std_mem,
total_time_taken=$time_taken,
times_ns_=$(task.times),
mean_time_taken_s_=$mean_time,
std_time_taken_s_=$std_time,
mean_time_taken_ns_=$(mean(task.times)),
std_time_taken_ns_=$(std(task.times)),
memory_estimate_kb=$memory_estimate_kb,
memory_estimate_mb=$memory_estimate_mb,
allocations=$allocations
\n")
end
</details>

And in the `slurm` script I have the line `julia -p $2 --project=.`, where in `2` there is the number of workers and we are in the directory of the `julia` project we want to start. See our [Github Discussion](https://github.com/orgs/bsc-quantic/discussions/16) on how to set up `julia` in MareNostrum fore more information, and don't doubt on asking if you have any question.

This week I have been experimenting with the Dagger library to perform matrix multiplication. The key idea is to distribute the matrices over some workers so we can compute the result distributedly. In Dagger, this is done by splitting the matrix in some Chunks and finding the right chunk size is the tricky part. I have tested Dagger for now using only one node in MareNostrum4, and using 1 core per worker.
Here is an example of the results, where in this case we compute the matrix product of two (4096,4096) matrices, and we show the contraction time as a function of the number of workers:

In this plot we can see that, since we distribute the matrix using chunks of size (2024, 2024) (so 4 chunks per matrix), we can only get distribution of the matrices up to 8 workers (4 chunks per matrix). Moreover, we can compare how does this matrix multiplication compare with the case where the chunk is the same size of the matrix, and we can see that in this trivial case the computation can not be distributed.
Since this already works quite well, I propose we can test the multinode scenario:

[ ] #100

This is the code I used:
using Dagger
using Statistics
using Distributed
using BenchmarkTools

# N = Int(parse(Int, ARGS[2])) # Number of workers
blocks_per_dim = 2048 # Size of blocks per dimension
dim_size = 4096 # Size of each matrix dimension
dims = 2 # It's a matrix
samples = 10
seconds = 30

# Set the JULIA_PROJECT environment variable to ensure that the worker processes use the correct project   environment
project_path = "/gpfs/scratch/bsc21/bsc21504/CUCO/julia/Tenet_distributed"
ENV["JULIA_PROJECT"] = project_path

# Get the list of nodes allocated by SLURM
nodes = read(`srun -l /bin/hostname`, String)
nodes = split(nodes, '\n')

workers_per_node = Int(parse(Int, ARGS[2]))

# Extract hostnames and remove duplicates and empty strings
nodes = unique([split(node, ": ")[2] for node in nodes if node != ""])
println("nodes: $nodes")

n_workers = workers()
println("Number of workers: $n_workers")

# Get mean available memory per worker
@everywhere function available_memory()
    mem_str = read(`free -g`, String)
    mem_lines = split(mem_str, '\n')
    mem_parts = split(mem_lines[2])
    return parse(Int, mem_parts[3])  # Available memory is in the third column
end

# Check the available memory on each worker
mem_workers = []
for worker in workers()
    push!(mem_workers, @fetchfrom worker available_memory())
    # println("Worker $worker has $mem GB available memory")
end

mean_mem = mean(mem_workers)
std_mem = std(mem_workers)

@everywhere begin
    using Dagger
    using Dates

    blocks_per_dim = $blocks_per_dim
    dims = $dims
    dim_size = $dim_size
end

start_time = Dates.now()
blocks = Blocks([dim_size ÷ blocks_per_dim for _ in 1:dims]...)
println("blocks size: $([dim_size ÷ blocks_per_dim for _ in 1:dims])")

A = rand(blocks, Complex{Float64}, [dim_size for _ in 1:dims]...)
B = rand(blocks, Complex{Float64}, [dim_size for _ in 1:dims]...)

# contract the tensor network
task = @benchmark fetch(A * B) samples=samples seconds=seconds
time_taken = Dates.now() - start_time

mean_time = mean(task.times ./ 1e9) # converted to seconds
std_time = std(task.times ./ 1e9) # converted to seconds

memory_estimate_kb = task.memory / 1024 # converted to kilobytes
memory_estimate_mb = memory_estimate_kb / 1024 # converted to megabytes

allocations = task.allocs
println("mean time: $mean_time, std time: $std_time, memory estimate: $memory_estimate_mb, allocations:   $allocations")
# Write the operation time to a file
open("darray_matrix_2.txt", "a") do io
    write(io,
    "workers=$n_workers,
    workers_per_node=$workers_per_node,
    nodes=$nodes,
    dim_size=$dim_size,
    block_size_per_dim=$blocks_per_dim,
    samples=$samples,
    seconds=$seconds,
    memory_per_worker=$mean_mem,
    std_mem=$std_mem,
    total_time_taken=$time_taken,
    times_ns_=$(task.times),
    mean_time_taken_s_=$mean_time,
    std_time_taken_s_=$std_time,
    mean_time_taken_ns_=$(mean(task.times)),
    std_time_taken_ns_=$(std(task.times)),
    memory_estimate_kb=$memory_estimate_kb,
    memory_estimate_mb=$memory_estimate_mb,
    allocations=$allocations
    \n")
end

And in the slurm script I have the line julia -p $2 --project=., where in 2 there is the number of workers and we are in the directory of the julia project we want to start. See our Github Discussion on how to set up julia in MareNostrum for more information, and don't doubt to ask if you have any questions.

Using Dagger library (in specific Dagger.@spawn) to distribute multiple matrix multiplication tasks, I was able to obtain the following computation times for different number of workers/nodes in MN4.

It would be recommended to try to increase the tasks' workload (i.e. some operation computationally more expensive than matrix multiplication) so the overhead time taken by the workers' initialization can be neglected with respect to their actual computation time.

Using Dagger library (in specific Dagger.@spawn) to distribute multiple matrix multiplication tasks, I was able to obtain the following computation times for different number of workers/nodes in MN4.

Cool! Thanks @Todorbsc! Just a couple of things:

Remember that for this kind of plots, it's better to have the y-axis on log scale, so then in the ideal perfect case we would have a straight line.
I think that you are using nodes instead of workers. Here you are using one core per worker, right?

Nice! Thanks @Todorbsc

Remember that for this kind of plots, it's better to have the y-axis on log scale, so then in the ideal perfect case we would have a straight line.
I think that you are using nodes instead of workers. Here you are using one core per worker, right?

I agree. How many workers per node are you using?

Using Dagger library (in specific Dagger.@spawn) to distribute multiple matrix multiplication tasks, I was able to obtain the following computation times for different number of workers/nodes in MN4.

Cool! Thanks @Todorbsc! Just a couple of things:

Remember that for this kind of plots, it's better to have the y-axis on log scale, so then in the ideal perfect case we would have a straight line.
I think that you are using nodes instead of workers. Here you are using one core per worker, right?

You're right. Although, the number of nodes must be also be in a logarithmic scale for the ideal case to be a decreasing linear function, otherwise if you only set the times (y values) in a logarithmic scale, you would be expecting that the ideal case represented by the linear function has exponential speedups when adding workers.
Here's the result in logarithmic scale (binary base) of the previous plot and what would be the ideal case.

PS: I am using one worker per node so they can be treated as equivalent in this test.

Be careful about using the term "exponential speedups" 😂
In the ideal case, you get a linear speedup while increasing the number of workers (i.e. ideally x2 workers => x2 speedup). In practice, you get a sublinear speedup.


grid Creator - Web design

https://images01.nicepagecdn.com/page/47/23/html-template-4723200.jpg Design a grid like the above image
Create a file "grid_NUM_by_(YourName).html" in the modules/grid folder.
Use simple HTML and CSS and JAVASCRIPT to create the grid animation. You can use the interface development https://kwickerhub.com/ (This project) or you can write the lines of code yourself.
Step by Step Guide.
Fork this project(Use the 'fork' button in the top right corner) and Clone your Fork.
git clone https://github.com/YOUR_USERNAME/frontend
Open your code Editor and Create a file "grid_NUM_YOUR_NAME_.html" in the "modules/grid" folder of this project you just cloned. No need to create head, title and body tags, Just Add a div tag with some embedded style(i.e use the style tag) and the script tag where necessary.
If you want to add an image resource, please add it in the folder ••
"modules/grid/images_and_icons"
We recommend you use an svg for your image/icon.
Push your Code: You need to push your recent changes back to the cloud. Use the command below in the main directory of this Repository
git push origin dev
or use a GUI tool to avoid mistakes or complexity. LOL.
Then make you Pull Request...
Below is a example of the code structure we need:
'''

'''
For more examples:
modules->buttons
modules->cards
for examples of contributions or Pull request accepted in to the project.
And please do not wait for this issue to be assigned to you as we have limited hands but have a lot to do/cover. Please send in your PR.
Good-luck.

Hi @NtemKenyor! I would like to work on this for hacktoberfest 2023

Hi @NtemKenyor, I would like to work on this issue


Support Possible Values section

Bug/issue #, if applicable: 123262314
Summary
Support a new markdown tag, possibleValues, and a new Possible Values render section to document possible values extracted from the SymbolGraph.
If a documented possible value does not correspond with the values from the SymbolGraph, it is dropped. If no possible values are documented in the markdown, the possible values are rendered under the Attributes render section, and the Possible Values render section is not displayed.
Testing
Steps:

Preview the attached docc catalog.
Assert that the possible values render section is displayed as expected.

PossibleValues.docc.zip
Checklist
Make sure you check off the following items. If they cannot be completed, provide a reason.

[X] Added tests
[X] Ran the ./bin/test script and it succeeded
[ ] Updated documentation if necessary

@swift-ci please test

@swift-ci please test

@sift-ci please test


ApiGatewayToSqs: Is it possible to pass an existing API GW?

This is a question:
Is it possible to provide an existing API GW to ApiGatewayToSqs, from looking at the code it looks like not? Would this be a potential feature?

Thanks for the suggestion.
It would be possible, but there would be challenges. Unlike some services like SQS, we use different code to create APIs based upon the context - for service integration we use the RestApi L2 construct, for Lambda integration we use the LambdaRestApi L2 construct, etc. Each construct then has significant code at the Construct level that configures resources and methods through code rather than declaratively through props.
If the apigateway-sqs construct were to receive a API created by the apigateway-lambda construct, there would be basic configuration issues that would likely cause issues. If the API were passed to a new instance of the aws-apigateway-sqs construct, then our resource names would collide.
So it's not impossible, but it would be difficult. We'll add it to our backlog to consider in the future.
In the meantime, integrating a API with 2 (or more) Lambda functions is possible with our recent aws-openapigateway-lambda construct.


Update code to 1.18 changes

Fixes https://github.com/refinedmods/rangedpumps/issues/37

I don't see how this PR fixes #37  ?


Read and show pdfs correctly to user

Currently, showing pdfs does not work correctly when opening a pdf from folder access.

It always worked lol


HTML boolean attributes break dynamic expressions

Boolean attributes such as the checked attribute on a checkbox seem unable to be set by dynamic expressions.
Example:
This renders and behaves as expected when the checked attribute is static:
html`<input type="checkbox"
  ${data.foo ? 'checked' : ''}
  @input="${e => data.foo = e.target.checked}"
/>`

However, if we make the checked attribute dynamic, two things go wrong:
html`<input type="checkbox"
  ${() => data.foo ? 'checked' : ''}
  @input="${e => data.foo = e.target.checked}"
/>`

(1) It renders like this in the browser, with an unchecked checkbox followed by some mangled code as plain text. (The name of the attribute, checked, seems to replace the value of the next attribute, @input.)
☐ @input="checked" />

(2) The @input event doesn't fire when the checkbox is clicked.
Workaround:
Checkboxes can be made to work by making the checked attribute static and then manipulating the checkbox DOM element directly when the value changes, with $on.
Here's a generalized implementation of the workaround that I've only tested with checkboxes:
function booleanHack(data, prop, attr) {
  let hackAttr = `boolean-hack="${prop}"`;
  data.$on(prop, () => {
    document.querySelectorAll(`[${hackAttr}]`).forEach(el => {
      el[attr] = data[prop];
    });
  });
  return hackAttr;
}

html`<input type="checkbox"
  ${booleanHack(data, 'foo', 'checked')}
  ${data.foo ? 'checked' : ''}
  @input="${e => data.foo = e.target.checked}"
/>`

This is working as expected. In arrow (just like in React or Vue) you cannot use dynamic expressions to create new attributes, but you can effect whether a given attribute is rendered or not by assigning it to a falsey value:
https://codepen.io/justin-schroeder/pen/JjBJXpW

Thanks, but that way has a different problem: Once I interact with the checkbox, it breaks. I can turn the checkbox on and off with the button initially, but once I click the checkbox itself, the button can't change it anymore.

@thomasperi this should all be working now. Checkboxes now set the internal IDL attribute rather than the checked attribute: https://codepen.io/justin-schroeder/pen/JjBJXpW


Clean up the Travis build so that it passes

Only test against supported versions of things
Make sure we're using compatible versions of django-celery and celery.
Use the generative environments in tox1.8 to reduce typing
Add all of the things we'd like to support to tox (all the versions of django and celery), but don't add those to travis
Add flake8 to travis

Some small suggestions, otherwise this looks good.


"TypeError: obj is undefined" in jQuery.each function with select

When using the Chosen library (https://github.com/harvesthq/chosen) with jqBootstrapValidation I'm getting "TypeError: obj is undefined" in the jQuery.each function every time I open the drop-down.
The issue is here:
$.each($(el).triggerHandler("validation.validation", params) || [], function (j, message) {
errorsFound.push(message);
});

Comment submitted prematurely...
The issue is here:
$.each($(el).triggerHandler("validation.validation", params), function (j, message) {
errorsFound.push(message);
});
since $(el).triggerHandler("validation.validation", params) is coming back undefined.
But it looks like this was already fixed on the master branch by adding "|| []"
$.each($(el).triggerHandler("validation.validation", params) || [], function (j, message) {
errorsFound.push(message);
});


Card filter toggle and facets

This PR requires you update parasolr to 0.2 and addresses #199 by:

Adding a card filter button (checkbox/label)
Adding a count of the total number of card holding members in a given search
Displaying a tooltip to explain the button
Visual confirmation of hover states and focus on input (via tab for screen readers)
Visual confirmation of selection via CSS background toggle

Still obviously requires you to hit enter, as no form JS (yet).

Codecov Report

Merging #271 into develop will increase coverage by <.01%.
The diff coverage is 100%.

@@             Coverage Diff             @@
##           develop     #271      +/-   ##
===========================================
+ Coverage    98.75%   98.75%   +<.01%
===========================================
  Files          124      124
  Lines         5762     5776      +14
  Branches         1        1
===========================================
+ Hits          5690     5704      +14
  Misses          72       72


[lit-html] Regression: event bindings right before self-closing tag ends are broken

Example
html`<input @click=${listener}/>`

We don't support this well for attribute/property bindings - they will include the "/" in the value - but this does work for events in 1.x. If we fix this binding position in general it would be a nice improvement.

#1595 has been merged. Can this issue be closed @justinfagnani?


[FR]: embed file content

To show the entire content of the file asociated with the row without levlave the table

https://user-images.githubusercontent.com/11924043/204637725-91d5ab7d-03a9-44d8-8a5a-5b000b1fb100.mov
tasks will be supported too!

Sometimes there are metadata problems in notes and you need to open many individual notes to see where the problem is.
It would be very interesting to have an option in this feature to be able to choose what you want to show:

Content of the note - As it is currently
Metadata - Shows the YAML and inline metadata.
Just Tasks

It would be nice if you could edit the metadata directly, but even without that it's a big step in troubleshooting.

Could be interesting.
my proposed solution would be:
Keep default behavior under left click event
To aad a new group of options in the menu on the left click indicating those modes of opening


NoMethodError (undefined method `apple_id')

Hey guys,
I just tried out boarding and deployed to Heroku (which I'm new to...).
After entering the data the script runs through successfully but visiting the site shows an error. The log has the following to say:
2016-05-13T08:54:29.350956+00:00 app[web.1]: Completed 500 Internal Server Error in 2340ms
2016-05-13T08:54:29.351550+00:00 app[web.1]:
2016-05-13T08:54:29.351560+00:00 app[web.1]: NoMethodError (undefined method 'apple_id' for nil:NilClass):
2016-05-13T08:54:29.351565+00:00 app[web.1]:
2016-05-13T08:54:29.351563+00:00 app[web.1]:   app/controllers/invite_controller.rb:132:in 'block in app_metadata'
2016-05-13T08:54:29.350956+00:00 app[web.1]: Completed 500 Internal Server Error in 2340ms
2016-05-13T08:54:29.351550+00:00 app[web.1]:
2016-05-13T08:54:29.351564+00:00 app[web.1]:   app/controllers/invite_controller.rb:145:in 'set_app_details'
2016-05-13T08:54:29.351563+00:00 app[web.1]:   app/controllers/invite_controller.rb:130:in 'app_metadata'
2016-05-13T08:54:29.351562+00:00 app[web.1]:   app/controllers/invite_controller.rb:124:in 'app'
2016-05-13T08:54:29.351565+00:00 app[web.1]:
2016-05-13T08:54:29.351561+00:00 app[web.1]:   app/controllers/invite_controller.rb:112:in 'block in apple_id'
2016-05-13T08:54:29.351563+00:00 app[web.1]:   app/controllers/invite_controller.rb:132:in 'block in app_metadata'
2016-05-13T08:54:29.351565+00:00 app[web.1]:
2016-05-13T08:54:29.350956+00:00 app[web.1]: Completed 500 Internal Server Error in 2340ms
2016-05-13T08:54:29.351560+00:00 app[web.1]: NoMethodError (undefined method 'apple_id' for nil:NilClass):
2016-05-13T08:54:29.351564+00:00 app[web.1]:   app/controllers/invite_controller.rb:145:in 'set_app_details'
2016-05-13T08:54:29.351563+00:00 app[web.1]:   app/controllers/invite_controller.rb:130:in 'app_metadata'
2016-05-13T08:57:35.284705+00:00 app[web.1]: Started GET "/" for <IP_ADDRESS> at 2016-05-13 08:57:35 +0000
2016-05-13T08:57:35.285333+00:00 app[web.1]: Processing by InviteController#index as HTML

Any idea?

I provided an app identifier, not the apple_id. Maybe spaceship changed, but it seems like the apple_id can't be retrieved from iTunes.
Using the Apple ID helped and the site is now correctly showing up. Entering a user doesn't work, but I'll look into that now.

Is this still an issue? It's been quite a long while.

@taquitos yes, trying to update:
NoMethodError: undefined method apple_id' for nil:NilClass
remote:        /tmp/build_f878674cfa391aa9aa859f440f00e0e7/app/services/boarding_service.rb:81:in ensure_values' remote:        /tmp/build_f878674cfa391aa9aa859f440f00e0e7/app/services/boarding_service.rb:32:in initialize'
remote:        /tmp/build_f878674cfa391aa9aa859f440f00e0e7/config/initializers/services.rb:1:in new' remote:        /tmp/build_f878674cfa391aa9aa859f440f00e0e7/config/initializers/services.rb:1:in <top (required)>'`

@Eths I'm looking into it now, thanks for testing it out!

Ahh, ok, here we go: https://github.com/fastlane/boarding/pull/141
It looks like your app with the apple_id you specified wasn't being found and it was causing validation to unintentionally raise an exception. The referenced PR should give you an error message now instead of just failing.

Thanks, working fine with my project now


Add an example to show off how json/xml content could be asserted.

Description:
Given that ballerina natively supports json, it would make sense to show off how json content can be asserted.
please have a look at below for inspiration:
https://godoc.org/github.com/stretchr/testify/assert#JSONEq
Probably we could improve the existing example:
https://ballerina.io/learn/by-example/testerina-assertions.html
Steps to reproduce:
N/A
Affected Versions:
1.2.8

Also added BBE improvements and latest improvements to assertion diff functionality for the Swan Lake release.


Fix bug in L1ToL2MessageCreator

Method L1ToL2MessageCreator.createRetryableTicket breaks as SendTransaction is expecting a TransactionRequest object, but it's receiving the full object created by getTicketCreationRequest.
Also added some tests for this method.

@cla-bot check