Simulator code with LVGL v6

Need release with v6 of lvgl
I am using lgvl v6 library for my project and I want to run my code on a simulator due to many reasons. But I noticed that you haven't provided any simulator boilerplate for v6 of lvgl. Is there any reason why v6 for skipped completely?
If I want to create a simulator for my project, what are options here? Given that upgrading to a higher version of lvgl is not possible for me right now.

The tag seems to have disappeared/was never created. However, you can use this commit: https://github.com/lvgl/lv_sim_eclipse_sdl/commit/00ed6e1a74414abfc168eef8eac59fdb896c5e72, and manually update the lvgl submodule to the release/v6 branch so you get the fixes since 6.1 was released.

Closing as the question was answered.


doc, api: Storage pool resize

Please can you also update the pool's size documentation definition that @stgraber mentioned.


printer/table: add options to customize

the current behavior of printer.Table is to return every exported fields of the struct. (except complex fields like structs).
The lib we use allows a certain amounts of customization and we have the printer.Options to pass options to the various printers we have.
it would be nice to have a way to define the things we want to display, the separator, etc. for the printer.Table

imo, table printer is pretty ugly right now, I will look for cleaning outputs to be more readable


Implement ockam status command

This command could have more information in the future but to start it would show if  ockam enroll enroll has happened.
To check if enroll has happened, we may have to write something to the filesystem, in our state directory, at the end of the enroll command.
The command will be defined in this folder in status.rs
Later, ockam status could also show a short version of ockam node list.

We love helping new contributors!
If you have questions or need help as you work on your first Ockam contribution, please leave a comment on this discussion.
If you're looking for other issues to contribute to, checkout this discussion and labels -  https://github.com/build-trust/ockam/labels/good first issue or https://github.com/build-trust/ockam/labels/help wanted

hi, I didn't find the "state" directory or did you mean just write it somewhere in the fs?
Another question, its clear that enroll command initializes a default identity with Ockam Orchestrator. Which result should be displayed in this case? Yes in case the enrollment is already registered successfully and No in case it failed or it still didn't register yet or the enroll process is happening. Am i right?
Sorry for my naive questions.

@thaodt are you assigned to it already? If not I'd like to take this one.

@thaodt are you assigned to it already? If not I'd like to take this one.

No, just asked. Okay its yours 😁

@jdrachal thank you for picking this up, let us know if if you have any questions.


Python Unexpectedly Quit-Video.capture

face_recognition version: Latest
Python version: 3.8.5
Operating System: Mac Catalina 10.15.7

Description
I am trying to just run the face recognition from the camera fast version, to see if it even works for me.
What I Did
I used the code already given and when I run it Python unexpectedly quits. This seems like an issue with the Mac not allowing the opencv to use the webcam. I do not know how to give permission though. Please help.
import face_recognition
import cv2
import numpy as np

# This is a demo of running face recognition on live video from your webcam. It's a little more complicated than the
# other example, but it includes some basic performance tweaks to make things run a lot faster:
#   1. Process each video frame at 1/4 resolution (though still display it at full resolution)
#   2. Only detect faces in every other frame of video.

# PLEASE NOTE: This example requires OpenCV (the `cv2` library) to be installed only to read from your webcam.
# OpenCV is *not* required to use the face_recognition library. It's only required if you want to run this
# specific demo. If you have trouble installing it, try any of the other demos that don't require it instead.

# Get a reference to webcam #0 (the default one)
video_capture = cv2.VideoCapture(0)

# Load a sample picture and learn how to recognize it.
obama_image = face_recognition.load_image_file("obama.jpeg")
obama_face_encoding = face_recognition.face_encodings(obama_image)[0]

# Load a second sample picture and learn how to recognize it.
biden_image = face_recognition.load_image_file("biden.jpeg")
biden_face_encoding = face_recognition.face_encodings(biden_image)[0]

# Create arrays of known face encodings and their names
known_face_encodings = [
    obama_face_encoding,
    biden_face_encoding
]
known_face_names = [
    "Barack Obama",
    "Joe Biden"
]

# Initialize some variables
face_locations = []
face_encodings = []
face_names = []
process_this_frame = True

while True:
    # Grab a single frame of video
    ret, frame = video_capture.read()

    # Resize frame of video to 1/4 size for faster face recognition processing
    small_frame = cv2.resize(frame, (0, 0), fx=0.25, fy=0.25)

    # Convert the image from BGR color (which OpenCV uses) to RGB color (which face_recognition uses)
    rgb_small_frame = small_frame[:, :, ::-1]

    # Only process every other frame of video to save time
    if process_this_frame:
        # Find all the faces and face encodings in the current frame of video
        face_locations = face_recognition.face_locations(rgb_small_frame)
        face_encodings = face_recognition.face_encodings(rgb_small_frame, face_locations)

        face_names = []
        for face_encoding in face_encodings:
            # See if the face is a match for the known face(s)
            matches = face_recognition.compare_faces(known_face_encodings, face_encoding)
            name = "Unknown"

            # # If a match was found in known_face_encodings, just use the first one.
            # if True in matches:
            #     first_match_index = matches.index(True)
            #     name = known_face_names[first_match_index]

            # Or instead, use the known face with the smallest distance to the new face
            face_distances = face_recognition.face_distance(known_face_encodings, face_encoding)
            best_match_index = np.argmin(face_distances)
            if matches[best_match_index]:
                name = known_face_names[best_match_index]

            face_names.append(name)

    process_this_frame = not process_this_frame

    # Display the results
    for (top, right, bottom, left), name in zip(face_locations, face_names):
        # Scale back up face locations since the frame we detected in was scaled to 1/4 size
        top *= 4
        right *= 4
        bottom *= 4
        left *= 4

        # Draw a box around the face
        cv2.rectangle(frame, (left, top), (right, bottom), (0, 0, 255), 2)

        # Draw a label with a name below the face
        cv2.rectangle(frame, (left, bottom - 35), (right, bottom), (0, 0, 255), cv2.FILLED)
        font = cv2.FONT_HERSHEY_DUPLEX
        cv2.putText(frame, name, (left + 6, bottom - 6), font, 1.0, (255, 255, 255), 1)

    # Display the resulting image
    cv2.imshow('Video', frame)

    # Hit 'q' on the keyboard to quit!
    if cv2.waitKey(1) & 0xFF == ord('q'):
        break

# Release handle to the webcam
video_capture.release()
cv2.destroyAllWindows()

Just check if your IDE is able to access your webcam by using print(video_capture.isOpened()) after video_capture = cv2.VideoCapture(0). If it's False than go to your Security and Privacy->Camera and enable camera access for your IDE. Hope this works!!!
https://stackoverflow.com/questions/61979361/cannot-turn-on-mac-webcam-through-opencv-python

Just check if your IDE is able to access your webcam by using print(video_capture.isOpened()) after video_capture = cv2.VideoCapture(0). If it's False than go to your Security and Privacy->Camera and enable camera access for your IDE. Hope this works!!!
https://stackoverflow.com/questions/61979361/cannot-turn-on-mac-webcam-through-opencv-python

I was facing this issue, after searching for sometime, figured it out, it is due to camera permission issue (exact error code: Abort 6). Also, as stated in many answers, I could not enable permission to access camera from vs code. There are some hacks, but I think, none of it works in Catalina, like editing access table using sqlite, etc.
The only solution which works as of now is run vs code as root sudo code, it will show warnings, but you can ignore and continue in your laptop.
Again, with this method, there are some other issues related to Python Virtual Environment - but it is different issue, need to discuss in related thread.

I finally fixed the problem on my laptop! The RBG does not get converted correctly in the while loop,
Replace: rgb_small_frame = small_frame[:, :, ::-1]'
with: 'rgb_small_frame = cv2.cvtColor(small_frame, cv2.COLOR_BGR2RGB)'

I finally fixed the problem on my laptop! The RBG does not get converted correctly in the while loop,
Replace: rgb_small_frame = small_frame[:, :, ::-1]
with: rgb_small_frame = cv2.cvtColor(small_frame, cv2.COLOR_BGR2RGB)

This is the solution, Thanks buddy!


Removed old static files

@emanuelschuetze I was not sure about the images. Can you look at 'core/static/img/', and 'mediafile/static/img/' and tell me which images must stay in core?
I would prefer that they are removed (except of the openslides-logo) and imported with bower and gulp.

I looked at 'core/static/img' and 'mediafiles/static/img':
Please keep only favicon.png, logo*.png and voting*.png files. The other files can be deleted.


[Draft][FFI] Remove backwards-compatibility unwrapping of IntImm

This is a follow-up PR to https://github.com/apache/tvm/pull/16183, which updated the FFI with explicit integer types.  As part of that change, many internal functions were updated to accept non-IR types (e.g. Array<runtime::Int> instead of Array<IntImm>).  For backwards compatibility with callees that provided the IR types, a specialization of PackedFuncValueConverter unwrapped the IntImm into a runtime::Int.
This commit removes the backwards-compatibility specialization of PackedFuncValueConverter.  Breakages that are found in CI as a result will then be updated at the caller side, removing the need for the backwards-compatibility handler altogether.

would be great to followup on this one

Agreed, though unfortunately I haven't had time to do so.  It looks like the current failures are in the relay/collage C++ testing, but I haven't looking into it.

Given these are legacy. I think we can remove those tests to move forward

would be great to check the remaining errors and get this in


Explain the "auto-signup", "signup", "login" URLs in docs

Add docs for PR: https://github.com/casdoor/casdoor/pull/896
Add to: https://casdoor.org/docs/basic/core-concepts#login-urls

@seriouszyx


Model editing error: displaying incorrect information

Describe the bug

Steps to reproduce

Deploy two models.
Edit a model.

Result

https://github.com/user-attachments/assets/553ad8e0-94a0-434b-b156-9bc54ec0bc86

Expected behavior

Environment

GPUStack version: main
UI version: ecc683a
OS: macOS 14.6.1
GPU: Apple M2

Additional context
Add any other context about the problem here.

UI version: 8fbdb88
Test Result: pass


Hyleton 313 (UK) does not flash - dumped firmware attached

Got some fresh-out-of-the-box Hyleton 313 (UK) plugs.  None of them would flash via OTA.  I suspect these are the "new" firmware versions that are not compatible.  I did not install the provided app so I do not know what version number it claims to be.  These plugs were purchased from Amazon UK in mid August.
I dumped the original firmware before reflashing via soldering.  Hopefully the dump might be some help to get things working again for others - I saw that people were asking for the new firmware but I could not work out what the main tracking issue was so I created this issue the hope that it is useful for others working on this project.
Dump command used:
> esptool.py --port COM5 read_flash 0x0 0x100000 hyleton-313-1M.bin
esptool.py v2.7
Serial port COM5
Connecting....
Detecting chip type... ESP8266
Chip is ESP8266EX
Features: WiFi
Crystal is 26MHz
MAC:
Uploading stub...
Running stub...
Stub running...
1048576 (100 %)
1048576 (100 %)
Read 1048576 bytes at 0x0 in 95.0 seconds (88.3 kbit/s)...
Hard resetting via RTS pin...

Thanks to https://znanev.github.io/Hyleton-313-Smart-Plug/ for the hardware guide (although the Sonoff configuration appears to be incorrect now, even if it does install ok).
hyleton-313-1M.zip

I can't believe how fast these Tuya SDK based devices are selling! It is practically impossible to buy "old stock", having non-patched version of the firmware. Two months ago I bought some energy measuring sockets from Amazon UK and they too had the patched firmware.. so opening / soldering / serial flashing is the only way to replace the original firmware currently.
Anyway, I'm attaching a dump of the original firmware of Hyleton-313 (I dumped it more than a year ago - file is dated 10 June 2018). If anyone has the skills to decompile these firmware dumps, it might be possible to compare the changes and derive a working OTA flash mechanism eventually.
hyleton-313-1M-noSSL.zip
P.S.: @dxnkmrdi Thanks for the heads up! I'll update the project log with current settings later (templates are the way to go now, here's mine: {"NAME":"Hyleton-313","GPIO":[57,255,56,255,255,255,255,255,255,17,255,21,255],"FLAG":1,"BASE":18} ).

Happy to share that support for HTTPS firmware is in the works #279


[FEATURE REQ] Interface for Azure.Communication.Email.EmailClient

Library name
Azure.Communication.Email
Please describe the feature.
Please provide an interface for the class Azure.Communication.Email.EmailClient. Suggestion: IEmailClient.
This would help consuming applications make dependency injection easier and allow for more straightforward swaps of email clients such as for unit testing.

Hi @humanitnz.  Thank you for your feedback.   Unfortunately, this is not a request that we're able to consider.
The Azure SDKs have a goal of strict backwards compatibility with a very high bar for any breaking changes.  With that in mind, the use of an interface makes evolving over time difficult; any change to the public API surface represented in an interface becomes a breaking change for anyone who has implemented it - including when we want to add new members.
Adding more interfaces to define new members (much like native COM interfaces do in Windows) is possible, but becomes burdensome.  While default interface implementation makes this easier, they're not supported in all of the frameworks that we target.  Our classes and their virtual members can still be mocked and do not have this problem.  As a result, we intentionally avoid using interfaces outside of special circumstances.
Support for mocking and unit testing is one of the core goals of the new Azure SDKs, and the details of the approach that we use are discussed in the Azure SDK Design Guidelines.  All of the public members of the client types are virtual or settable, the class is not sealed, and a parameterless constructor is available to ensure that it is usable with a mocking framework such as Moq or FakeItEasy.   You should be able to mock any client using the same approach that you prefer for other types, whether with a mocking framework or inheriting from the class and creating your own mock type, using the model factory to simulate behavior.
For model types that are returned by service operations, a factory class exists to enable creating them for testing.  In the case of Azure.Communication.Email, the CommunicationEmailModelFactory would be the place to look.
For more discussion and details around unit testing and mocking the Azure SDKs, I'd recommend this post from the Azure SDK blog.
I'm going to mark this as addressed, but please feel free to unresolve should you wish to discuss further.


Windows Defender Flags this as virus

Windows refuses to allow me to download this as its flagged as a virus with the following details.

https://www.microsoft.com/en-us/wdsi/threats/malware-encyclopedia-description?name=Trojan%3AScript%2FWacatac.B!ml&threatid=2147735503

not much I can do here, I guess you can built it yourself or something. Maybe if I make a new release it might help? not sure


Initial Project Setup

Overview
Since this is a new Heaps project, there are some housekeeping things that need to be completed to setup the project for development. (I'd love to have this be more automated someday, but using the HIDE editor instead may negate this need in the future.)
I should be able to build the project and debug it in Edge or Chrome via VS Code. To do this I will need a local web server that can run easily to host the built project.
Acceptance Criteria

[x] Project should be able to build for the web
[x] Project is debuggable in VS Code
[x] Project can run locally
[ ] Repo has a full README that explains how to setup the project.
[x] A simple canvas is rendered on screen
[ ] The canvas can be set to a specific dimension in code
[ ] The canvas displays the text, "Hello, World!" in the default font.

I'm setting the canvas to take up 100% of the screen. I may need to add some sort of resize listener to allow the screen to redraw automatically if the browser window is resized.


Support C++ syntactic sugar in quantum kernels

Ability to pass literals to kernels:
e.g. __qpu__ void myKernel(qreg q, int varName), we should be able to call myKernel(q, 0) (passes 0 to varName).
Currently, we need to assign literal to a local variable before passing it to the function argument.

Ability to assign classical function return values to local classical variables.
e.g.

std::vector<double> myLocalArray = someFunc(...); // someFunc is strictly classical

Currently, this is not available/not reliable.
We can work around this by modifying the function signature to take the local variable by reference and update it rather than returning a value.

Ability to do fully-classical conditional.
e.g.

__qpu__ void myKernel(qreg q, int switchVar) {
	if (switchVar != 0) {
		// Do something, e.g. add gates
	}
}

Maybe related to the above, early return should also be nice.
e.g.
__qpu__ void myKernel(qreg q, int switchVar) {
    if (swicthVar == 0) {
       return;
    }
   // Gates when switchVar != 0
}

why do we need bullet 2? Shouldn't the token_collector_util function see this line, fail to parse with xasm, and then just add it as is to the qrt_code stream?

This is a minimal repro:
std::vector<double> genArray(int varName) {
  return {};
}

// Entry point kernel
__qpu__ void f(qreg q) {
  const auto nQubits = q.size();
  std::vector<double> angles = genArray(nQubits);
  X(q[0]);
}

// Compile:
// qcor -o test -qpu qpp -qrt test.cpp
int main(int argc, char **argv) {
  // Allocate 10 qubits
  auto q = qalloc(10);
  f(q);
  q.print();
}

For some reason, the presence of std::vector<double> angles = genArray(nQubits); causes the compilation to fail.

Ok cool, I can take a look at this.

This one is caused by bug  in line 108-120 of token_collector_util.cpp
 if (ss.str().find("=") != std::string::npos) {
      // we have a classical var_type var_name = ...;
      int tmp_i = i;
      for (int j = tmp_i;; j--) {
        auto tok = Toks[j];
        if (tok.is(clang::tok::equal)) {
          auto var_name = PP.getSpelling(Toks[j - 1]);
          auto var_type = PP.getSpelling(Toks[j - 2]);
          classical_variables.push_back({var_type, var_name});
          break;
        }
      }
    }

see I just assumed a classical variable declaration would be like TYPE NAME = INSTANCE, and thats all the tokens there are. But for std::vector angles, we have tokens std, ::, vector, <, double, >, ...
I can clean this up...

This has been implemented. Closing!


How is the call made to get the Azure Container and Queue?

Hi,
I would like to know as to how this call could be made. This document doesn't seem to mention that.
It just says, 'public SPProvisionedMigrationContainersInfo ProvisionMigrationContainers()'
Is it made on powershell, C# or VB.Net?
And module or library is required to make that call?
Thanks,

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

ID: 14c396fc-dea7-68ba-5da3-93829c26b4d4
Version Independent ID: c1140964-4128-1475-64a9-deca4ef855ea
Content: SharePoint Online provided Azure containers and queues for SPO Migration API
Content Source: SharePoint/SharePointServer/migrate-to-sharepoint-online/sharepoint-online-provided-azure-containers-and-queues-for-spo-migration-api.md
Service: unspecified
GitHub Login: @JoanneHendrickson
Microsoft Alias: jhendr

@haneef95 - sorry for the delay on this. We will look into how the call can be made and get this into the document for clarification. Thanks for the time to submit this. You are making the documentation better and it is greatly appreciated!

@haneef95 - sorry for the delay. I found the product team for this and am getting this answered and clarified. Sorry for the long delay.

Hi this call can be made in C#. You can do it through sharepoint client side object model

@killerewok2000 - thanks for the info! I added a note with this Pull Request. Looks ok to merge?

@haneef95 - merged, thanks all!


Kong did not work immediately, need to build routes right now

Is there an existing issue for this?

[X] I have searched the existing issues

Kong version ($ kong version)
2.5.. all version
Current Behavior

Start Kong (worker_consistency=eventual worker_state_update_frequency=5)
Add a new route (www.foo.com)
For some reason, the worker process exits
The new worker process is loaded fork by the master process
Request the new route does not work
It's Work after 5 seconds

This scene, did not work immediately, need to build routes right now
Expected Behavior
Route work immediately
Steps To Reproduce
No response
Anything else?
No response

You are using eventual consistency and update frequency of five seconds. Why you are wondering it takes effect only after five seconds?
Or did I miss the question at all?

Eventual consistency is for newly added routes, and the www.foo.com route is for old routes. This is different.

Eventual consistency is for newly added routes, and the www.foo.com route is for old routes. This is different.

Eventual consistency is for newly added routes, and the www.foo.com route is for old routes. This is different.

For some reason, the worker process exits

any log lines on that?

For some reason, the worker process exits

any log lines on that?

there has been a hard limit in the maximum memory size managed by LuaJIT’s garbage collector (GC). This limit was 2 GB on 64-bit systems (including x86_64)
https://blog.openresty.com/en/luajit-gc64-mode/

@fairyqb please note that

Fortunately, since 2016, the official LuaJIT1 has introduced a new build mode called “GC64”, which raises this limit to 128 TB (or the low 47-bit address space).

Exceeded 2G memory limit process exits

@fairyqb, and this happens with latest 2.8.1 too? I remember seeing something like this with while testing it with docker or something. Locally it never happened. I feel it was docker that killed the process.


Not working as expected

I haven't been able to find the root cause yet, but there's something wrong with the class. When using 10 concurrent connections I get 79 responses back out of 88 requests.

If I use 8 concurrent connections, then I get 81 responses back out of the 88 requested.
Smelling funky.

Can you please post minimal example code that isolates the problem? I use this class literally all the time and have never had this issue. Also do you control the server you're making the resquests to and what php version.

On Nov 14, 2015, at 9:13 AM, Rudi Strydom<EMAIL_ADDRESS>wrote:
I haven't been able to find the root cause yet, but there's something wrong with the class. When using 10 concurrent connections I get 79 responses back out of 88 requests.

If I use 8 concurrent connections, then I get 81 responses back out of the 88 requested.
Smelling funky.
—
Reply to this email directly or view it on GitHub.

Hey Marcus,
I am not sure it was due to the alterations I made, or the code itself. Unfortunately, I got frustrated and deleted the code, and create a generic MultiCurler with the code from php.net.
I can explain what I was doing if it helps, but I won't be able to re-create it. I didn't need the callback method, but rather populated the response in a public variable defined in the class. Then I had a count for the requests and a count for the responses. And these were irregular, depending on the size I chose as my concurrency. For my use case I need to be able to send a payload in array form, which is then returned on response. This is because I have various different operations to perform on a data set.
Sorry I couldn't be of more help.

How did you get the response without the callback? Did you modify the class?

On Nov 14, 2015, at 6:29 PM, Rudi Strydom<EMAIL_ADDRESS>wrote:
Hey Marcus,
I am not sure it was due to the alterations I made, or the code itself. Unfortunately, I got frustrated and deleted the code, and create a generic MultiCurler with the code from php.net.
I can explain what I was doing if it helps, but I won't be able to re-create it. I didn't need the callback method, but rather populated the response in a public variable defined in the class. Then I had a count for the requests and a count for the responses. And these were irregular, depending on the size I chose as my concurrency. For my use case I need to be able to send a payload in array form, which is then returned on response. This is because I have various different operations to perform on a data set.
Sorry I couldn't be of more help.
—
Reply to this email directly or view it on GitHub.

I unfortunately don't have the resources to support customized/modified versions of this class but you should have been able to send an array payload with RollingCurlX as is.


Feature/ts2 134 implement clam av integration

Clam av integration

There were coming from the .env before and during testing but, build failed
and agreed to set those to empty string, which solved the build problem.
On Tue, 18 Jul 2023 at 13:36, Nick Fitzsimons @.***>
wrote:

@.**** commented on this pull request.
In config/settings/base.py
https://github.com/uktrade/help-desk-service/pull/20#discussion_r1266706416
:

@@ -185,3 +185,8 @@
and translates Halo API responses into Zendesk API responses.
""",  # /PS-IGNORE
}

Shouldn't these values be coming from env?
—
Reply to this email directly, view it on GitHub
https://github.com/uktrade/help-desk-service/pull/20#pullrequestreview-1534931947,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASXKRZNVHUB5AMDNTSNKUWDXQZ7NFANCNFSM6AAAAAA2OAI3QY
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Communications with the Department for International Trade may be
automatically logged, monitored and/or recorded for legal purposes.

Shall I put them back as they were before and see if it builds ok ?
CLAM_AV_USERNAME = env("CLAM_AV_USERNAME")
CLAM_AV_PASSWORD = env("CLAM_AV_PASSWORD")
CLAM_AV_URL = env("CLAM_AV_URL")
CLAM_AV_HOST= env("CLAM_AV_HOST")
On Tue, 18 Jul 2023 at 13:58, Baltas, Nikos <
@.***> wrote:

There were coming from the .env before and during testing but, build
failed and agreed to set those to empty string, which solved the build
problem.
On Tue, 18 Jul 2023 at 13:36, Nick Fitzsimons @.***>
wrote:

@.**** commented on this pull request.
In config/settings/base.py
https://github.com/uktrade/help-desk-service/pull/20#discussion_r1266706416
:

@@ -185,3 +185,8 @@
and translates Halo API responses into Zendesk API responses.
""",  # /PS-IGNORE
}

Shouldn't these values be coming from env?
—
Reply to this email directly, view it on GitHub
https://github.com/uktrade/help-desk-service/pull/20#pullrequestreview-1534931947,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASXKRZNVHUB5AMDNTSNKUWDXQZ7NFANCNFSM6AAAAAA2OAI3QY
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Communications with the Department for International Trade may be
automatically logged, monitored and/or recorded for legal purposes.

I agree of what you said Nick. I will give it another go and see.
On Tue, 18 Jul 2023 at 14:21, Baltas, Nikos <
@.***> wrote:

Shall I put them back as they were before and see if it builds ok ?
CLAM_AV_USERNAME = env("CLAM_AV_USERNAME")
CLAM_AV_PASSWORD = env("CLAM_AV_PASSWORD")
CLAM_AV_URL = env("CLAM_AV_URL")
CLAM_AV_HOST= env("CLAM_AV_HOST")
On Tue, 18 Jul 2023 at 13:58, Baltas, Nikos <
@.***> wrote:

There were coming from the .env before and during testing but, build
failed and agreed to set those to empty string, which solved the build
problem.
On Tue, 18 Jul 2023 at 13:36, Nick Fitzsimons @.***>
wrote:

@.**** commented on this pull request.
In config/settings/base.py
https://github.com/uktrade/help-desk-service/pull/20#discussion_r1266706416
:

@@ -185,3 +185,8 @@
and translates Halo API responses into Zendesk API responses.
""",  # /PS-IGNORE
}

Shouldn't these values be coming from env?
—
Reply to this email directly, view it on GitHub
https://github.com/uktrade/help-desk-service/pull/20#pullrequestreview-1534931947,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASXKRZNVHUB5AMDNTSNKUWDXQZ7NFANCNFSM6AAAAAA2OAI3QY
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Communications with the Department for International Trade may be
automatically logged, monitored and/or recorded for legal purposes.

Merging clam_av implementation


Merge editions into activities

@Aleks23 @maria please have a look

Review done. We should really have some comments in the codebase, it's starting to get bigger and bigger. :+1:


Atomic bridge initiator and counterparty Solidity contracts: use MOVEToken instead of WETH and timestamp instead of block number

Summary

Created AtomicBridgeInitatorMOVE.sol and associated tests

Changelog

Add protocol-units/bridge/contracts/src/AtomicBridgeInitiatorMOVE.sol
Add protocol-units/bridge/contracts/src/IAtomicBridgeInitiatorMOVE.sol
Add protocol-units/bridge/contracts/test/AtomicBridgeInitiatorMOVE.t.sol
Add protocol-units/bridge/contracts/src/MOVEToken.sol (temporary location, see Outstanding issues)
Add the same but for counterparty
Change block.number to block.timestamp throughout

Testing
Forge tests pass (run from within bridge contracts directory):
forge test --fork-url https://ethereum-sepolia-rpc.publicnode.com -vv

Outstanding issues
I didn't successfully to import the MOVEToken contract from the path .../../../settlement/mcr/contracts/src/token/MOVEToken.sol when I put the contract there.
The error was
Source "MOVEToken.sol" not found: File not found. Searched the following locations: "".

I tried a couple tests two levels up, for sanity, and it seems like the Solidity import tends to fail for paths multiple levels up.

Configurable timelock needs to be added. Follow the same pattern in the WETH contracts, ie. default to 48 hours for initiator, 24 for counterparty and add a set timelock fn callable only by the owner and add the necessary unit testing logic also from the WETH contract

Configurable timelock needs to be added. Follow the same pattern in the WETH contracts, ie. default to 48 hours for initiator, 24 for counterparty and add a set timelock fn callable only by the owner and add the necessary unit testing logic also from the WETH contract

Ah, true. On it.


Publish the new version of resin-sdk-preconfigured for each new version of the SDK

Each time we publish the new version of the SDK we want to bump it in resin-sdk-preconfigured, push that and publish it to the npm

We've now got a plan to kill off resin-sdk-preconfigured, so this is no longer necessary.


Allow panel placement among editor grids

I have to give kudos to the vscode developers for the new feature of having multiple editor rows and grids. This has made huge improvements to the development overview, since more can be kept visible at one time.  I'm developing on a large 4k screen, and I now often use 4 columns + sidebar, each column with 1-3 editor grids per column. The attached image shows a made-up example of this setup.

As a user I'd like to be able to place the panel (output, terminal, etc.), freely on screen, as I am able to with an editor grids. I find that the panel takes up either very large real-estate, either using the full width at the bottom or the full height to the side. In either case too much area.

We figured it's covering the same as another one we already have.

@isidorn since you added the duplicate label that triggered the message above, could you please mention which issue this one was considered a duplicate of? The closest one I found was #11472 ("Allow to dock editors, views and panels anywhere in the workbench"), but it seems to have been interpreted as addressed once the grid layout for editors and bottom/right locations for the panel were in place, which is a narrower feature set than what was originally asked there.
For example, similar to OP @sveinse above, I'd like to be able to have a layout like this:
+------------+-------------+
|            |             |
|            | Test script |
|            |             |
+    Code    +-------------+
|            |             |
|            |  Terminal   |
|            |             |
+------------+-------------+

fyi @sbatten


Running jest tests fails tests

Environment
System:
OS: macOS 12.3
CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
Memory: 28.54 MB / 16.00 GB
Shell: 5.8 - /bin/zsh
Binaries:
Node: 16.10.0 - /usr/local/bin/node
Yarn: 1.22.11 - /usr/local/bin/yarn
npm: 7.24.0 - /usr/local/bin/npm
Watchman: 2<IP_ADDRESS> - /usr/local/bin/watchman
Managers:
CocoaPods: 1.11.3 - /Users/REDACTED/.rbenv/shims/pod
SDKs:
iOS SDK:
Platforms: DriverKit 21.4, iOS 15.4, macOS 12.3, tvOS 15.4, watchOS 8.5
Android SDK:
API Levels: 27, 29, 30, 31
Build Tools: 28.0.3, 29.0.2, 29.0.3, 30.0.0, 30.0.2, 31.0.0
System Images: android-27 | Intel x86 Atom, android-27 | Intel x86 Atom_64, android-27 | Google APIs Intel x86 Atom, android-27 | Google Play Intel x86 Atom, android-30 | Google APIs Intel x86 Atom
Android NDK: Not Found
IDEs:
Android Studio: 2021.1 AI-211.7628.21.2111.8193401
Xcode: 13.3/13E113 - /usr/bin/xcodebuild
Languages:
Java: 1.8.0_322 - /usr/bin/javac
npmPackages:
@react-native-community/cli: 5.0.1 => 5.0.1
react: 17.0.1 => 17.0.1
react-native: 0.64.2 => 0.64.2
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found
Platforms
Confirmed at least ios
Versions

Android: Not tested
iOS: 15.4
react-native-netinfo: 6.0.2
react-native: 64.2
react: 17.0.2

Description
I'm running the latest clipboard version: 1.10.0
Running jest tests results in this error for ALL the tests:
<EMAIL_ADDRESS>Cannot find module '@jridgewell/gen-mapping'

Unrelated issue.


TiFlash mpp does not compatible with ConstantFilterDescription.always_false = true

Bug Report
Please answer these questions before submitting your issue. Thanks!
1. Minimal reproduce step (Required)
If ConstantFilterDescription.always_false is true, then FilterBlockInputStream::readImpl() will return {} immediately, which will stop currently MPPTask, and if the current mpp task has ExchangeReceiver, then it may stop the ExchangeReceiver unexpectedly, and when other mpp task is sending data to this task, it may meet error like
DB::Exception: tunnel3+4: consumer exits unexpected, error message: Receiver cancelled, reason: Push mpp packet failed. Receiver state: CLOSED

2. What did you expect to see? (Required)
3. What did you see instead (Required)
4. What is your TiFlash version? (Required)

close as it is a special case of #7177


Optimise sleep

99% of the time sleep is part of a chain, ie.
IO.sleep(5.seconds) *> io

so the flatmap branch can schedule evaluation of io directly.

Alternatively Sleep can be replaced with
class Schedule[E, A](io: IO[E, A])

@regiskuckaertz I'm 100% on board with the change from Sleep to Schedule, will make things more efficient. Will close this PR until when / if you get a chance to make this change.


[Fix #4881] Fix a false positive for HashEachMethods when unused argument(s) exists in other blocks

Problem
Performance/HashEachMethods has a false positive for the following code.
@h.each do |key, value|
  p(key * -value)
end
@h.sum { |key, value| -value }

The each does not have any unused arguments. key and value are used. So, this cop should not add an offense for the code.
But the cop adds an offence for the code currently.
This cause is the sum has an unused argument, and the argument is named key, the name is same as the each's argument.
In this case, Performance/HashEachMethods adds a falsy offense.
Cause
The cop handles only argument names to detect unused. So the cop does not work properly if an unused argument that has same name exists in other block.
Solution
Check declared location of arguments instead of argument name.
Note
I found another bug while I was fixing this bug.
Auto-correction of this cop does not work properly.
For example:
 # Auto-correct the following code.
foo.each { |key, _v| p key }
 # Expected
foo.each_key { |key| p key }
 # Actual
foo.each_value { |key| p key }

This change will fix the bug also.

Before submitting the PR make sure the following are checked:

[x] Wrote good commit messages.
[x] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Used the same coding conventions as the rest of the project.
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests.
[x] Added an entry to the Changelog if the new code introduces user-observable changes. See changelog entry format.
[x] All tests(rake spec) are passing.
[x] The new code doesn't generate RuboCop offenses that are checked by rake internal_investigation.
[ ] The PR relates to only one subject with a clear title
and description in grammatically correct, complete sentences.
[x] Updated cop documentation with rake generate_cops_documentation (required only when you've added a new cop or changed the configuration/documentation of an existing cop).

👍


README.md: remove the External address line form sample output

Fixes https://github.com/ARMmbed/mbed-os-example-sockets/issues/132
We had to switch from ipify.org to ifconfig.io, in order to handle IPV6 addresses correctly. ifconfig.io does not return the external IP address line, os that line should be removed from the sample output in README.md file.

@michalpasztamobica once merged to master please port this fix across to the 5.14 branch also. Thx

Fix on the branch, +1

@michalpasztamobica once merged to master please port this fix across to the 5.14 branch also. Thx

Fix on the branch, +1

Yes, it is merged to the branch as requested. Sorry, I should have written this here explicitly.


NH-89212 use upstream exporter

Description
Thanks again @xuan-cao-swi on making metrics exporter happen!
Test (if applicable)
Build new lambda layer and run through manual tests.

Thanks for the follow-on @xuan-cao-swi! LGTM, i merged main, please to approve+merge so we can get a new layer built for testing :)


No targets found in Author/Editor Role

I've made a user that has both editor and author roles and configured the role so he can send notifications via the cms but he cant find any targets even though he can see and create topics.

Steps to reproduce, build the app and install fcm notifications. Make a user with author/editor role.

strapi-plugin-fcm intended to be utilized with regular authentication users, rather than Strapi admin users.


Fix node

Fix bugs when running the code on gpu.
Set self_loop attribute in train_default.yaml to be true, making benchmarking a little bit easier (no need to change it manually)

@jiaqima I think we can merge this PR, so the benchmarking work of tianyue's part will become easier.


Parser error on files in node_modules

I'm not sure where this issue belongs, I thought I'd start here as it's related to the rules in this package.
I'm using this plugin as it's included with XO. I'm getting an error as a result of the following rules: import/no-named-as-default, import/no-named-as-default-member, import/default, import/namespace and import/named
Parse errors in imported module browser-sync: Unexpected character # (1:1)

This happens when I'm importing browser-sync. It looks as though BrowserSync has a #! /usr/bin/env node at the top of their main file, which I assume is causing the issue.
So appears there are a few things going on here:

eslint-plugin-import is parsing files in my node_modules folder. I haven't spent much time understanding how this plugin works, I just consume it through XO.
browser-sync has a #! /usr/bin/env node line at the top of their main file. I'm only aware of using this in node shell scripts, and I don't think the main BrowserSync file is a script
it looks like the eslint parser falls over when it encounters a # as the first character in a javascript module file

There's a few things here and I'm happy to follow up with any changes to the other projects, I just wanted to check with others that the above is correct. Thanks! 😀

Strange. I'm not sure where to go on this, though this file should never have been parsed to begin with, since it has no imports/exports. So this is related to #615 / #649.
I'm not sure how/if you can set ESLint settings in XO (@jfmengels?) but the same workaround for those issues should work for this too, until the root issue (overparsing of CJS node modules) is solved.

The way to set ESLint settings in XO is described here.

Woo! 👏

@BarryThePenguin don't get your hopes up too high 😅 I'm pretty sure this should fix your issue without needing the aforementioned workaround, but not 100% sure. Let me know if it doesn't and I'll reopen.

I'm sure I'll keep you posted if I run into anymore trouble 😰


Reset Fortune not taking into consideration "Luck" Talent

Checklist

[X] I can be reached on Discord by my handle: Yuffy#8318

Versions

Foundry VTT:
WFRP4e System:
GM Toolkit:
Macro (if applicable):

Description
What should happen

What is happening

Steps to reproduce the issue
<!-- Sequence of steps to reproduce the behaviour: eg,
1. Have a character with "Luck"
2. Spend Fortune points
3. Hit Reste Fortune from the GM Toolkit
4. See that "Luck" is not taken into consideration

This definitely working for me in this setup using 6.0.0 release of GM Toolkit:

I tried messaging you on Discord to quickly ascertain some of this, but I can't DM you ...

Ah ! Yes, opening my Dms now, sorry for that
De : Jag @.>
Envoyé le :mardi 6 septembre 2022 21:18
À : @.>
Cc : @.>; @.>
Objet :Re: [Jagusti/fvtt-wfrp4e-gmtoolkit] Reset Fortune not taking into consideration "Luck" Talent (Issue #175)
I tried messaging you on Discord to quickly ascertain some of this, but I can't DM you ...
[image]https://user-images.githubusercontent.com/521096/188720511-77237ad2-ec7b-4c51-b011-15aeef58003b.png
—
Reply to this email directly, view it on GitHubhttps://github.com/Jagusti/fvtt-wfrp4e-gmtoolkit/issues/175#issuecomment-1238556712, or unsubscribehttps://github.com/notifications/unsubscribe-auth/A256X62TBGZY3Q2MSN4XUFDV46KJ3ANCNFSM6AAAAAAQGDLSMY.
You are receiving this because you authored the thread.Message ID: @.***>

Resolved via Discord: updated macro version from 0.8.0 to 0.9.5 and deleted multiple macro copies in macro directory.


Fix accuracy of aggregated time frames

Problem: Sometimes events would be included in the calculation of time frames, they didn't belong to.
Solution: Use true dividing time frames when aggregating larger time frames, such that their start and end dates line up perfectly.

Please note that this usually results in low-level hours to be used as aggregation input for higher timeframes, as weeks, months and years are incredibly finicky about each other.
Right now, that's not big of a performance impact, but this could be fixed with implementing the other improvements mentioned in #23.


Captioning codes of version0.1?

Any chance you release the captioning codes of version 0.1 style. The Machine Learning tool-kit you released is awesome, but it's hard to test on old systems.
It will be very helpful!!!

I can clean the codes myself, if you are willing to share the old codes(through github or email).

Hi, consider using the original MART code https://github.com/jayleicn/recurrent-transformer as it's written in Python 2. Even the captioning 0.1 needs Python 3.7+ so I'm not sure it would be helpful for you.
To reproduce our results with that, change the dataloader from video features to COOT representations (you can directly compare the changes in the dataset between recurrent-transformer and this version).
What are the limitations of your system? For the newest python you can use miniconda so I guess the GPU is old and our code breaks with some old PyTorch / CUDA version.

Thanks for the quick reply!
Our system can run with python3.6 and the problem is that the COOT's new code needs python3.8. I am not sure why 0.1 needs python3.7, but maybe we can try with it since we have many dockers using python3.7 while python3.8 is few. (The biggest problem is our dockers has GCC version is very low, thus some fancy packages have wrong dependencies.)
So, can you upload a version of 0.1 captioning, that will be great.
Thanks!

Requirements for 0.1 and this version should be the same. So if this doesn't work for you the 0.1 probably will not work either.
You could try running this repo on 3.6 but you would have to replace ALL dictionaries with OrderedDict as the regular dict is not ordered in python < 3.7 and you will get weird results with randomly-sorted dicts everywhere.
If you run this repo with python 3.7 it should work out of the box. I have not tested PyTorch below 1.7 / cuda 10.2 so if you have old versions there it may not work (again, you will have the same problems for 0.1 and this.)
Let me know how it goes.

It seems codes like return self.layer_normalization(x), *sublayer_return[1:] can not run on python3.7 and under.
I think  I can remove some components and modify something to debug with python3.6.
So, I would be very thankful if you can provide the version 0.1 codes, since I will be more  familiar with the original torch functions.
Anyway, thanks for the help and releasing the codes!

sublayer_return is from Video Retrieval, you don't need that file (transformer_legacy) for captioning only. You could try deleting everything and slowly adding things back that are required for captioning.
Sorry, I still don't get why you would need the old 0.1 code. It uses exactly the same model and dataloader as this version so if this doesn't work the 0.1 will not work either!
So please try to make this one work first. Before sending any code I would have to check it first and would want to avoid that effort.
If you make a python 3.6 version of this captioning you could consider making a public fork for others.
Best

I moved to python3.8 + torch 1.4 + cuda 10.2, it can work after removing the fp16 amp  and the load function of embeddings of glove model.
However, when I try run.mart_build_vocab to extract the pretrained embeddings, this script can not be found.
Is it missing?


[R3] Is possible use with Reshade?

I want use the Reshade SBS Stereo 3D feature...

I've no idea since I never used Reshade and haven't even taken a deep look into what exactly it does to various games. If you have any experience with it, you're better off trying it yourself and seeing how it goes.

ive used reshade through the Speacial k SKIF, didnt set it up though as i was trying to solve somthing.


Initial fitBounds regression

#4377 introduced a regression to the initial fitBounds method. By initial I mean when run on a map which has not yet received a zoom level + center, but is using fitBounds to set the view.
The result is that the view is sometimes off, sometimes totally broken with NaN bounds exception.
The reason is that in getBoundsZoom, for zoom level 0, boundsSize has values like:
boundsSize = L.Point {x: 0.08415031433105469, y: 0.029537200927705953},

Now with the added _rounds() this gets rounded to 0, 0.
I recommend the following:

revert b511c7bc
investigate if this affects non-0 zoom levels, or only 0.
find a way to solve this
come up with test cases for fitBounds on initial map load.

cc: @perliedman

Interesting, yes this looks like it needs some more thought, especially when taking other projections than EPSG:3857 into consideration. I'll look into it.


Any way to make "export default { } as const" typed?

It seems that defining our modules is done like this:
export default {
    namespaced: true,
    state: { },
    mutations: { },
    // etc
} as const;

Do you know if there's a way to make this of type ModuleOptions?
I tried it like this, but that seems to mess with typescript/intellisense:
const module: ModuleOptions = {
    //...
};
export default module;

(What an amazing library btw! I'm trying to migrate our current code base to this and so far I'm very happy.)

Ok scratch that, the issue is elsewhere, let me rephrase this :)


Trained model file

Hello @39c5bb-miku , thank you for making the codes public! Will you be uploading the trained model weights files?

Sorry, there has been an issue with the weights files, and I am unable to provide it for the time being.


Web.config  is not populated

When installing the Nuget package Install-Package Microsoft.Web.RedisOutputCacheProvider, only the below gets added to the web.config, and not the <Caching> section, so I have no idea how to manually add the section, or if I need to do it a different way?
I am using  Framework v4.7.2 ASP NET MVC (I think) with VB language
 <system.webServer>
    <modules runAllManagedModulesForAllRequests="true">
      <remove name="OutputCache" />
      <add name="OutputCache" type="Microsoft.AspNet.OutputCache.OutputCacheModuleAsync, Microsoft.AspNet.OutputCache.OutputCacheModuleAsync, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="integratedMode" />
    </modules>
 </system.webServer>

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

ID: b8ef72a2-60a8-3320-ba93-a5c17b51d0a2
Version Independent ID: 36745946-59f3-8a15-aa0a-117f7c1110e7
Content: ASP.NET Output Cache Provider for Azure Cache for Redis
Content Source: articles/azure-cache-for-redis/cache-aspnet-output-cache-provider.md
Service: cache
GitHub Login: @flang-msft
Microsoft Alias: franlanglois

Thanks for your dedication to our documentation. Unfortunately, at this time we have been unable to review your issue in a timely manner and we sincerely apologize for the delayed response. We have a work item to revisit all of the samples over the next couple of months.
We are closing this issue for now, but if you feel that it's still a concern, please respond and let us know. If you determine another possible update to our documentation, please don't hesitate to reach out again.
#please-close


Adding documentation for openshift-install-power

Including documentation for openshift-install-power also.

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: sudeeshjohn
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [sudeeshjohn]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: sudeeshjohn
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [sudeeshjohn]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/assign @bpradipt

/assign @bpradipt

test page hosted here , https://sudeeshjohn.github.io/

test page hosted here , https://sudeeshjohn.github.io/

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: bpradipt, sudeeshjohn
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [bpradipt,sudeeshjohn]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: bpradipt, sudeeshjohn
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [bpradipt,sudeeshjohn]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


[nodejs] Documentation for bot.beginDialog() states accepting a address but really wants IBotConnectorMessage

The documentation for BotConnectorBot.on() clearly states that it returns a iBotConnectorMessage.
When attempting to call bot.beingDialog(), the expected action from documentation is to accept a address.
The beginDialog() states that it accepts a IBeginDialogAddress when it really accepts a iBotConnectorMessage as shown here
The .on() method returns a iBotConnectorMessage which a address can be found inside of.
Fails
bot.on('BotAddedToConversation', function(message) {
    // Docs state method is to accept address
    bot.beginDialog(message.from.address, '/profile');
    // Fails - [Error Invalid address passed to BotConnectorBot.beginDialog().]
});

Works
bot.on('BotAddedToConversation', function(message) {
    // Docs state method is to accept address, passing in iBotConnectorMessage instead
    bot.beginDialog(message, '/profile');
    // Success
});

Expected
Object is consistent. Either always take a address or a message. Update docs to reflect the correct type.

I see the confusion... IBeginDialogAddress isn't the same as an IChannelAddress.  They're two separate things. In your example that fails you're passing an IChannelAddress.  You could argue that I chose a bad name for IBeginDialogAddress but it's supposed to be just a subset of the IMessage fields which is why passing a full message works. At the time I honestly couldn't think of anything better to call it.

Please re-open if this is still an issue for you.


do not allow multiple Kiali CRs with CWA=true and the same instance_name

part of: https://github.com/kiali/kiali/issues/7922
see the docs PR that will warn against this condition

ran a couple of the molecule tests that are relevant... all pass
=====================
=== TEST RESULTS: ===
=====================

                      instance-name-test... success [2m 56s]
                cluster-wide-access-test... success [8m 44s]
              accessible-namespaces-test... success [7m 25s]

To test:

Install minikube and Istio

 ./hack/k8s-minikube.sh start && ./hack/k8s-minikube.sh -mp ci istio

Build, push, and deploy the operator and server

make -e CLUSTER_TYPE=minikube build build-ui cluster-push operator-create kiali-create

At this point, you have a dev build of the operator and server running, with the server deployed with CWA=true. Now try to create another Kiali CR with CWA=true in a different namespace, but leave the instance_name the same as the original (which is the default kiali):

kubectl apply -f - <<EOM
apiVersion: kiali.io/v1alpha1
kind: Kiali
metadata:
  name: kiali
  namespace: default
spec:
  auth:
    strategy: anonymous
  deployment:
    cluster_wide_access: true
    namespace: default
    image_name: localhost:5000/kiali/kiali
    image_version: dev
    service_type: ClusterIP
  istio_namespace: istio-system
  version: default
EOM

Look at the status field of the Kiali CR and see that eventually the operator will report a failure and the reconciliation will fail:

kubectl -n default get kiali kiali -o jsonpath='{.status}' | jq

results in:
{
  "conditions": [
    {
      "ansibleResult": {
        "changed": 1,
        "completion": "2024-11-19T16:04:49.327172",
        "failures": 1,
        "ok": 23,
        "skipped": 14
      },
      "lastTransitionTime": "2024-11-19T16:04:49Z",
      "message": "There is already a Kiali Server installed with `deployment.instance_name` of [kiali] that has 'deployment.cluster_wide_access' set to true. You must use a different instance name.",
      "reason": "Failed",
      "status": "True",
      "type": "Failure"
    },
...

Update your Kiali CR with a different instance_name but leave everything else the same. This will allow the installation to succeed:

kubectl patch kiali kiali -n default --type=merge -p '{"spec":{"deployment":{"instance_name":"anotherkiali"}}}'

Eventually, it will succeed:

kubectl -n default get kiali kiali -o jsonpath='{.status}' | jq

shows normal status. And you should have a Kiali pod in the default namespace:
$ kubectl get pods -n default -l app.kubernetes.io/name=kiali
NAME                            READY   STATUS    RESTARTS   AGE
anotherkiali-65d745d756-76hhs   1/1     Running   0          105s


Cannot create a Class with a properties having Pascal-case

I am trying to use the sp-pnp-js example to get executed within the sp framework. below is the snippet which i am trying to execute, and render through the client side webpart.

// this example shows the ability to chain operations, as well as the getAs typing works with other objects such as webs and lists.
import * as $ from "jquery";
import pnp from "sp-pnp-js";
import { Web } from "sp-pnp-js/lib/sharepoint/rest/webs";
import { List } from "sp-pnp-js/lib/sharepoint/rest/lists";
import { Item } from "sp-pnp-js/lib/sharepoint/rest/items";
import { ODataEntity, ODataEntityArray } from "sp-pnp-js/lib/sharepoint/rest/odata";
export class SPExample2 {
public run(el: HTMLElement): void {

    let target = $(el);

    pnp.sp.web.select("Title", "Description").getAs(ODataEntity(MyWeb)).then(w => {

        // show some typed web data
        target.append(`<div>Web Title: ${w.Title}  Web Description: ${w.Description}</div>`);

        // because we have used getAs our object & properties are merged into the base Web object
        // so we can immediately chain this instance

        w.lists.orderBy("Title").top(10).getAs(ODataEntityArray(MyList)).then(lists => {

            // lists will already be typed as an array
            lists.forEach(element => {

                // because we are working async we can fire and forget these if we want
                // note that the lists won't necessarily be rendered in order due to the async nature
                // if order or rendering were important another approach would be required
                element.items.select("Title").top(3).getAs(ODataEntityArray(MyItem)).then(items => {

                    let parts = [];
                    parts.push(`List Title: ${element.Title}`);
                    parts.push(`List Description: ${element.Description}`);
                    parts.push(`First Three Item Titles: ${items.map(i => i.Title).join(", ")}`);
                    target.append(`<div style="margin-bottom: 10px;border:1px solid #cecece;">${parts.join("<br />")}</div>`);
                });
            });
        });
    });
}

}
class MyWeb extends Web {
public Title: string;
public Description: string;
}
class MyList extends List {
public Title: string;
public Description: string;
}
class MyItem extends Item {
public Title: string;
}

However when i run the gulp serve  command i get the message error variable-name: variable name must be in camelcase or upper case.. I tried to identify the all the possible configuration and gulp js files.. but no luck so far..  I would like to fix this issue before i proceed..
Thanks,
Raj.

Can you try adding "variable-name": false to the tslint.json in the config folder?
See here for more details:  TSLint variable-name rule

@mike-morrison, Adding "variable-name": false worked for me..  Thank you very much for your quick help,


Is there some options to write the coordinates? x, y?

Hi, Is there some way to write the coordinates? x, y?

The coordinates of? What are you attempting?


[fix] gws/discussion : stabilize spec

Coverage decreased (-0.002%) to 80.381% when pulling 642e4769ae991b859bb8e04c6c4be269fc7745e6 on itowtips:gws-discussion-spec into 59b9f048c0366006c153d8c777d852dc08ad88fd on shirasagi:master.


[They Came From Beyond The Grave] - Added roll buttons for skills and paths

Changes / Comments
Roll buttons added to skills and paths.
Roll20 Requests
Comments are very helpful for reviewing the code changes. Please answer the relevant questions below in your comment.

[x] Does the pull request title have the sheet name(s)? Include each sheet name.
[ ] Is this a bug fix?
[x] Does this add functional enhancements (new features or extending existing features) ?
[ ] Does this add or change functional aesthetics (such as layout or color scheme) ?
[ ] If changing or removing attributes, what steps have you taken, if any, to preserve player data ?
[ ] If this is a new sheet, did you follow Building Character Sheets standards ?

If you do not know English. Please leave a comment in your native language.

Character Sheet Info Roll20 Internal Use only.


Update ssz to v0.8.3

Sim tests break due to
Eph 5/6 0.042 [VALI 16-23]      error: Error proposing block slot=46, validator=0xaf34…7191 message=Failed to publish block - Cannot read property 'update' of undefined
TypeError: Failed to publish block - Cannot read property 'update' of undefined
    at Function.digest (/home/runner/work/lodestar/lodestar/node_modules/@chainsafe/as-sha256/lib/index.js:55:29)
    at hash (/home/runner/work/lodestar/lodestar/node_modules/@chainsafe/ssz/src/util/hash.ts:8:17)
    at Object.hash (/home/runner/work/lodestar/lodestar/node_modules/@chainsafe/ssz/src/util/compat.ts:5:26)
    at Object.computeMsgId (/home/runner/work/lodestar/lodestar/packages/lodestar/src/network/gossip/encoding.ts:89:12)
    at Object.getMsgId (/home/runner/work/lodestar/lodestar/packages/lodestar/src/network/gossip/utils.ts:23:35)
    at Eth2Gossipsub.getMsgId (/home/runner/work/lodestar/lodestar/packages/lodestar/src/network/gossip/gossipsub.ts:110:12)
    at Eth2Gossipsub.<anonymous> (/home/runner/work/lodestar/lodestar/node_modules/libp2p-gossipsub/src/index.js:832:32)
    at Generator.next (<anonymous>)
    at /home/runner/work/lodestar/lodestar/node_modules/libp2p-gossipsub/src/index.js:27:71
    at new Promise (<anonymous>)
    at __awaiter (/home/runner/work/lodestar/lodestar/node_modules/libp2p-gossipsub/src/index.js:23:12)
    at Eth2Gossipsub._publish (/home/runner/work/lodestar/lodestar/node_modules/libp2p-gossipsub/src/index.js:827:16)
    at Eth2Gossipsub.publish (/home/runner/work/lodestar/lodestar/node_modules/libp2p-interfaces/src/pubsub/index.js:674:16)
    at Eth2Gossipsub.publishObject (/home/runner/work/lodestar/lodestar/packages/lodestar/src/network/gossip/gossipsub.ts:183:5)
    at Eth2Gossipsub.publishBeaconBlock (/home/runner/work/lodestar/lodestar/packages/lodestar/src/network/gossip/gossipsub.ts:220:5)
    at async Promise.all (index 1)
    at BeaconBlockApi.publishBlock (/home/runner/work/lodestar/lodestar/packages/lodestar/src/api/impl/beacon/blocks/index.ts:111:5)
    at BlockProposingService.createAndPublishBlock (/home/runner/work/lodestar/lodestar/packages/validator/src/services/block.ts:81:7)
    at async Promise.all (index 0)


Hitting a time out error 'Error: 500 - Request timed out.' but only client side

Description
Using typesense-instantsearch-adapter and for longer running queries getting a 500 timed out error after 5 seconds. It seems to match the timeout here int he advanced settings for algolia https://www.algolia.com/doc/api-reference/api-methods/configuring-timeouts/
For more context we're using Remix and don't have any timeouts set there. The response actually returns from the multi_search network call but the browser seems to cancel the request before it can be used by the application.
We're also using onStateChange in  component. Wondering if there's a timeout setting somewhere that we've missed or if anyone has come across this before.
Typesense adapter configuration is set to 20 seconds.
server: {
      apiKey: ak,
      connectionTimeoutSeconds:20,
      nodes: [
        {
          host: '<host_url>',
          path:"/typesense",
          port: 443,
          protocol: 'https',
        },
      ],
    },

Steps to reproduce

Expected Behavior

Expect request to our typesense server to not timeout after 5 seconds. Using curl there's no timeout.
Actual Behavior

5 second timeout.
Metadata
Typesense Version:
"typesense-instantsearch-adapter": "^2.8.0"
OS:

Do you have a reverse proxy / backend that is proxying requests between the browser and Typesense? If so, I suspect that the timeout might be coming from that system.
In the adapter itself, connectionTimeoutSeconds is the only timeout configuration.

Checked reverse proxies and don't have any set at 5 second timeout. the reason I think it might be the adapter is because I set up the same search parameters that's taking longer than 5 seconds as a regular fetch request in my app triggered by a button click and I don't get the 500 - Request timed out error.
Though you may be right something else is interrupting the promise chain of typesense and the adapter is throwing an error during validate here but a regular fetch request is ignoring the time out potentially. But I'm pretty stumped.
One other thing to note in the network requests when I use the fetch request the Type is 'fetch' whereas the native requests made by the adapter are type 'xhr'. Not sure if that means anything.

@jasonbosco  I don't think it has to do with the reverse proxy since we can reproduce in a local environment where we're communicating directly with a local Typesense server. Some of the multi-search results return a 500 and an error message indicating a timeout. Other multi-search results part of the same request succeed.
I cannot reproduce when embeddings aren't being used. Could it be that the timeout stems from Typesense's network requests to Open AI or something else involving embeddings?
{
    "code": 500,
    "error": "Request timed out."
}

@jasonbosco I don't think it has to do with the reverse proxy since we can reproduce in a local environment where we're communicating directly with a local Typesense server. Some of the multi-search results return a 500 and an error message indicating a timeout. Other multi-search results part of the same request succeed.
I cannot reproduce when embeddings aren't being used. Could it be that the timeout stems from Typesense's network requests to Open AI or something else involving embeddings?
{
    "code": 500,
    "error": "Request timed out."
}

Ah with remote embedding, there is a separate timeout on the server side when making calls out to remote embedding services. These parameters are documented here: https://typesense.org/docs/27.1/api/vector-search.html#remote-embedding-api-parameters
The default is not 5s though, it's 30s.

@jasonbosco Setting the remote_embedding_timeout_ms to 30s fixed the issue based on my testing so far. Can you verify the default is actually 30s and not 5s? Might be a bug in the docs or in the code.


Insecure transport

Fix #76
(also includes PR #75)

ugh...didn't notice that #75 was failed in travis.

thanks for this! sorry to be a pain but can it not include the version file fix, i need to do that for all my makefiles and havent decided how i want to do it yet but i have a whole "update all the repos with new makefiles" script this will break

@jessfraz no worries...i've made that update.

thanks!


ISO-8601 dates in Airtable

This PR changes the API calls to Airtable to use dates in ISO format.
Closes #48

Thanks @xuanxu, and thanks @annakrystalli for raising this - a very important improvement!


bullet is using ode's contact params

Gazebo shows ode's contact parameters in pbr and box models instead of the parameters defined in bullet tag. Experiments are needed to test if the ode's parameters are accessed by bullet.

It's odd, but the bullet engine is using the parameters defined in ode tag. Here is a video demo: https://www.youtube.com/watch?v=DxWbsb29UcY

Gazebo is using friction coefficients defined in ode tag, but not other contact parameters. This issue has been mentioned in the gazebo answers forum.
https://answers.gazebosim.org//question/8691/bullet-tags-in-sdf-file/


After using MTableCell typing in input field loses focus from input

I want to give column ids to each table cell so I am using MTableCell.
I have a table in which rows are input fields
What I have noticed is that if I use MTableCell and try to type in the input field it loses focus and then I need to reselect the field and type it again.
To Reproduce

Go to sandbox
Try to type in input fields from a table and see that it loses focus after every type

Also try without MTableCell by commenting out and see that it works
Expected behavior
It should not lose focus on typing in the input fields if MTableCell is used.

Thanks @Domino987 . It worked.


[Android]  Using Landscapist in Conjunction with Glide,Coil and Fresco to Load Images In Jetpack Compose

Using Landscapist in Conjunction with Glide, Coil and Fresco to Load Images in Jetpack Compose
Proposed article introduction
Landscapist is an image loading library for Jetpack Compose. There are three options: Glide, Coil, and Fresco. You can choose based on your preferences. The library also supports loading animated images such as GIFs, WebP and giving animations like shimmer effect and circular reveal.
Fresco is a graphics library for displaying and managing images in Android applications. It caches the image in a memory-efficient manner. One of the most important features is that it displays a placeholder image until the image loads from the URL. This saves on data and makes efficient use of the CPU.
COIL is an acronym for Coroutine Image Loader. COIL is one of the famous image loading libraries from URLs in Android. It is a modern library for loading images from the server.
Glide is an Image Loader Library for Android developed by bumptech and is a library that is recommended by Google. It has been used in many Google open source projects including Google I/O 2014 official application. It provides animated GIF support and handles image loading/caching
Key takeaways

What is Landscapist as used in Jetpack compose
How it works with the three libraries i.e Glide, Coil and Fresco
The merits and demerits of Landscapist Libraries
How to implement all the image loading libraries in conjunction with Landscapist to load images

Article quality
This article aims to explain the concept of Landscapist as used in Jetpack compose how it works in conjunction with coil, glide and fresco in loading images in Jetpack compose and how requestBuilder , requestOption and transitionOption are implemented to make image loading  successful.
References
N/A

@LinusMuema Can you take a look at this issue please?


Adding support for ValueLink, minHeight / maxHeight, & reusability

Hi,
I started this to add support for ValueLink, but then imported other changes that might be useful to the rest of the community. It's fully backwards compatible, but has couple additions -

Works with React's ValueLink
Introduced minHeight & maxHeight properties (set as numbers)
Manages 'height' and 'overflow' styling within React's state to make sure they are persisted if the component is re-rendered from the outside

Tested on IE9+. Any feedback is most welcome!

Hey @eugene1g read through this just now and there's a ton of great stuff here! Thanks!
Would you mind though splitting this PR into separate PRs? The ValueLink stuff I definitely want to merge in but the other changes I don't understand as well and it's easier to evaluate multiple changes in isolation than when they're all together.

Fixed by #19

Thanks @eugene1g !


Composition of Gaussian Processes

I am interested in the GPyOpt program.  I am wondering if there is any functionality to compose Gaussian Processes in a way that reflects function composition.  I see Gaussian Processes as approximations to functions and so composition should be supported.  Is this something you might consider adding?  Perhaps you could supervise me in adding this functionality myself.

If anywhere, this would be in GPy, not GPyOpt. You may also want to consider:

Deep GPs. Not exactly this, but close, see http://inverseprobability.com/talks/notes/deep-gaussian-processes.html.
Multi-fidelity. GPyOpt cannot do that, but our new library Emukit can, see https://amzn.github.io/emukit/multifidelity-emulation/


Add "clean name" function for ROMs to improve ConsoleGrid results and Steam shortcut names

There we go. This took a while longer than I had planned with life getting in the way, but I've finally had the time to tidy this up and give it a good testing.

Awesome! Will do a thorough review soon, but just had a quick question. So this change means that Ice will take a filename like "Mega Max X [USA].sfc" and correctly understand that "Mega Man X" is the name? If so, then this is definitely something that needed to be done. There doesn't seem to be a consistent naming scheme online though, so are there certain patterns that you are trying to clean? What are those patterns?
Also, would you please squash together all of the "Fix linter errors and comment out" commits? And what is the lint command you are running?

Also, I'm only partway through, but have you rebased to the most recent version of Ice? It looks like a lot of the logic you are changing doesn't exist anymore.


Race condition in CreateQueue causes it to throw QueueAlreadyExists when it should be a noop

According to the SQS docs, if you call CreateQueue with the same name and attributes as a previously call to CreateQueue, you should just get back the same URL as the previous one:

If you provide the name of an existing queue along with the exact names and values of all the queue's attributes, CreateQueue returns the queue URL for the existing queue.

You only get a queue already exists error if you attempt to CreateQueue with the same name but different attributes:

If the queue name, attribute names, or attribute values don't match an existing queue, CreateQueue returns an error.

This is generally the case with the elasticmq implementation, except if you happen to have two calls to CreateQueue happen close enough to each other that the first one isn't "complete" yet. In that circumstance, I believe LookupQueue returns None:
https://github.com/softwaremill/elasticmq/blob/71db7607b460bba3bbb39640ee3364bfa2a6b3ec/rest/rest-sqs/src/main/scala/org/elasticmq/rest/sqs/CreateQueueDirectives.scala#L124-L127
Which causes the code to go into the CreateQueueMsg path:
https://github.com/softwaremill/elasticmq/blob/71db7607b460bba3bbb39640ee3364bfa2a6b3ec/rest/rest-sqs/src/main/scala/org/elasticmq/rest/sqs/CreateQueueDirectives.scala#L130-L131
And thus end up in QueueManagerActor's CreateQueue call which then fails because it finds a pre-existing ActorRef for a queue with the same name (but notably, doesn't bother checking the associated attributes of said in-flight queue creation request) and thus throws a QueueAlreadyExists error:
https://github.com/softwaremill/elasticmq/blob/78d5842ceca7275028887155cbfb4466d4eade84/core/src/main/scala/org/elasticmq/actor/QueueManagerActor.scala#L20-L25
This is hitting us since we start a cluster of processes that create queues (some of which are identical), and depending on the timing of these requests, sometimes it works fine (if they happen to be spaced far enough apart), but other times fails. This is not on issue with AWS SQS.
I believe the correct behavior should be that if there is an existing ActorRef for a queue with the same name and same attributes, it should simply wait on that one and return the same response as that one. The same as would happen if the request had just happened a little later.

Thanks for reporting the issue. It's fixed in 1.3.12


CSV to database upload is broken

Bug description

It looks like the code to upload the csv has gone missing.
How to reproduce the bug

Make sure you're using superset 4.
Make sure you have connected a database with upload functionality
Try uploading a csv

Screenshots/recordings
No response
Superset version
master / latest-dev
Python version
3.9
Node version
16
Browser
Chrome
Additional context
No response
Checklist

[X] I have searched Superset docs and Slack and didn't find a solution to my problem.
[X] I have searched the GitHub issue tracker and didn't find a similar bug report.
[X] I have checked Superset's logs for errors and if I found a relevant Python stacktrace, I included it here as text in the "additional context" section.

Good news is there's a big effort taking place at the moment to completely re-implement CSV upload. Bad news is we probably won't touch/fix the previous version.
Merged 2 weeks ago -> https://github.com/apache/superset/pull/27840
Props to @dpgaspar  🔥 🚀

Closing this as stale, but if you're still facing this in currently supported 4.x versions, let us know!


Is there a docker image or dockerfile to run alink?

Is there a docker image or dockerfile to run alink?

You can find one in DockerHub: https://hub.docker.com/r/hzchendou/pyalink, though it is not official.


Storage Spaces on Azure iaas and on VMWare

Please clarify if Storage Spaces supported in a VM environment
as https://social.technet.microsoft.com/wiki/contents/articles/11382.storage-spaces-frequently-asked-questions-faq.aspx#What_are_the_recommended_configuration_limits
says/implies not.
There is a statement about S2D in such an environment in the Storage Spaces Direct section here (says it is supported with caveats), and those same caveats should apply to stand alone / local Storage Spaces as well

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

ID: acd8af43-5256-169f-fe3c-c890521cf888
Version Independent ID: 6052c6dc-af27-eb51-1cbc-53ca1d026f26
Content: Deploy Storage Spaces on a stand-alone server
Content Source: WindowsServerDocs/storage/storage-spaces/deploy-standalone-storage-spaces.md
Product: windows-server-threshold
Technology: storage-spaces
GitHub Login: @JasonGerend
Microsoft Alias: jgerend

Thanks for your dedication to our documentation. If we have been unable to review your issue in a timely manner, we sincerely apologize for the delayed response. We have captured the informtion you have provided for review. We are closing this issue for now, but if you feel that it's still a concern, please respond and let us know. If you determine another possible update to our documentation, please don't hesitate to reach out again. #please-close


Question - Add another task or model

Hi,
Is it possible to add new tasks or models? e.g. BART, text generation, seq2seq.
I guess it could be if I implement a new task and pipeline, but not sure if it is also supported by the inference engine (deepsparse).
If it is not supported now, do you have a plan for that sooner or later?
Thanks!

@s-gerrard48 Two things:

you can always add your own custom pipeline in DeepSparse. Only two requirements are 1)  to use the Pipeline object (https://github.com/neuralmagic/deepsparse/blob/main/src/deepsparse/pipeline.py) as an interface to your custom pipeline and also have the model in the onnx format (this is the model representation that DeepSparse support). Even though deepsparse engine is optimized for sparsified architectures, I would encourage you to use pipelines with the dense onnx model, it can still bring you some benefits
as for support for sparsifying custom architectures, we are now laser-focused on delivering a tool that will allow the users to easily sparsify any custom model. Follow us on slack to be up-to-date with the development.

To clarify the information in your message:

You can add a custom pipeline to DeepSparse by using the "Pipeline" object (https://github.com/neuralmagic/deepsparse/blob/main/src/deepsparse/pipeline.py) as an interface and providing the model in ONNX format. Although DeepSparse is optimized for sparsified architectures, you can still get benefits from using dense ONNX models with the pipeline.
Support for sparsifying custom architectures is a priority and updates on the development will be available on slack: https://join.slack.com/t/discuss-neuralmagic/shared_invite/zt-1oeyc4gqd-EPV4dlSGJ0mI0HytGM5ugA


Audit Trail Admin View - Sort by default

On Daikoku Admin Audit Trail view (/settings/audit), is it possible to sort data by event date descending?

You can click on the column label in a table to sort in asc or desc.
It's seems working in my version but the date range selector is broken. It'll be fix in the next version (#241).


[Feature Request] Also redirect sub paths

For example, I have added the following redirection:
https://supaflare.mydomain.com/github -> https://github.com
Is it possible to automatically redirect all sub paths of https://github.com without adding new redirection? Like this:
https://supaflare.mydomain.com/github/sainnhe/dotfiles -> https://github.com/sainnhe/dotfiles

I just implemented this in https://github.com/sainnhe/supaflare/commit/3cf53d1f01d8e4203d5b88f983a3001fc0057a69
But it doesn't support redirecting parameters yet.


add missing task lists

Type of Change

[x] New feature
[x] Bug fix

Description
adds missing task lists
Testing
tested
Checklist

[x] My code adheres to the coding and style guidelines of the project.
[x] I have performed a self-review of my own code.
[x] My changes generate no errors/warnings/merge conflicts.

/label 'new feature"

/label 'New feature'

/label 'enhancement'

/label enhancement

/label 'Enhancement'

/label 'enhancement'


Add cloud trial operations workflow and expectations

This workflow is under review and will be announced on Monday.

I am merging this, with the expectation that the qualification status will be updated in a separate PR before Tuesday.

I am merging this, with the expectation that the qualification status will be updated in a separate PR before Tuesday.


LSTM

Dear Sir,
I want to use TensorFlow and LSTM to perform regression prediction on time series data and accelerate it to reduce the time. However I am not familiar with TensorNetwork, could I use it to implement what I need? If it is ok, what should I do to implement it? Thank you!

No, TensorNetwork can't be used to make an LSTM.
There are lots of resources online for how to make an LSTM in tensorflow. https://www.tensorflow.org/tutorials/sequences/recurrent

No, TensorNetwork can't be used to make an LSTM.
There are lots of resources online for how to make an LSTM in tensorflow. https://www.tensorflow.org/tutorials/sequences/recurrent

Sorry, sir.  Maybe my statement is not very clear . What I want to know is that whether I can use the TensorNetwork to accelerate the training of lstm in tensorflow. Thank you for your reply.

The answer is still no. This library is just a high level wrapper for tensorflow, so it won't be any faster than just using tensorflow itself. This library just makes creating/contracting TensorNetworks significantly easier and allows you to run on accelerated hardware like GPUs and TPUs without any code changes.
You maybe can replace the LSTM cell with a hidden TensorNetwork, but it won't be faster than just using normal LSTM cell. It also has never been tried before afaik, so it might not even work.

The answer is still no. This library is just a high level wrapper for tensorflow, so it won't be any faster than just using tensorflow itself. This library just makes creating/contracting TensorNetworks significantly easier and allows you to run on accelerated hardware like GPUs and TPUs without any code changes.
You maybe can replace the LSTM cell with a hidden TensorNetwork, but it won't be faster than just using normal LSTM cell. It also has never been tried before afaik, so it might not even work.

Thank you very much.


Is training on small datasets feasible

Hello dear author. I used a small dataset of 200 (clothing texture) image text pairs for training, and wanted to generate textured images by inputting regular images, but the effect was very poor. The generated image is not only unrelated to the original image, but also unrelated to the training set. May I ask, what efforts should I make next?

maybe test with controlnet？

what's you input and gt output? what model are you training based?
interested to see the result as well. I have fine tune plus model with a around 10K dataset, result is good enough.


gcloud_dataproc scripts failing due to missing gcloud resource

Our import pipeline started failing today because it refers to a resource in google cloud storage that no longer seems to be available:
ERROR: (gcloud.beta.dataproc.clusters.create) INVALID_ARGUMENT: Google Cloud Storage object does not exist 'gs://hail-common/vep/vep/GRCh37/vep85-GRCh37-init.sh'.

I can see that it truly doesn't exist any more using gsutil. In fact, the parent folders serveral levels up have been removed, eg:
gsutil ls gs://hail-common/vep/
CommandException: One or more URLs matched no objects.

However the content is still referenced by the scripts in this repo - eg:
https://github.com/macarthur-lab/hail-elasticsearch-pipelines/blob/master/gcloud_dataproc/v01/create_cluster_GRCh37.py
Any guidance on whether this content was intentionally removed (if so, is there another location we can point to) or if it can be restored?

Hi @ssadedin,
This was a change by the Hail project.

The data sources for VEP have been moved to gs://hail-us-vep, gs://hail-eu-vep, and gs://hail-uk-vep, which are requester-pays buckets in Google Cloud. hailctl dataproc will automatically infer which of these buckets you should pull data from based on the region your cluster is spun up in. If you are in none of those regions, please contact us on discuss.hail.is.
-- https://hail.is/docs/0.2/change_log.html#version-0-2-34


License

Hi! First of all thanks for the published library.
Under which License is the library distributed?

As specified on the Packagist, BSD-3-Clause license.


Change savegame writing to use a StructureID value instead of a string literal to identify structures

From #597:
Savegame's will need to write the StructureID instead of the string literal name.
This will be a hard breaking change. Savegame version string will need to be incremented for this.

Duplicate of #617


modified:   WXRenderErrorCode.java  WXSDKInstance.java

增加h5页面检测回调，封装后台weex和h5页面无缝切换机制，为weex页面替换原有h5页面提供热备切换支持。

hello @alex1226 ,please read the review result and make sure whether need edit,thanks very much.
HI, dear @asfbot ,my honored that I execute community rule of weex  now. Look forward to communicate with you,^_^

@gurisxie 'asfbot‘ is bot... don't talk to it.

@sospartan I seen he reply the notice...

@gurisxie the bots do can do that with github's API.  Weex's bot do the same thing too.

@alex1226 please read the review result and make sure whether need edit,thanks very much. You can close this pr here


Discovered MQTT entities with a name that is equal to the device name

Description of the issue
Discovered MQTT entities with a name that is equal to the device name
This stops working in version 2024.2.0. Please address before upgrading.
Some MQTT entities have an entity name equal to the device name. This is not expected. The entity name is set to null as a work-a-round to avoid a duplicate name. Please inform the maintainer of the software application that supplies the affected entities to fix this issue.

List of affected entities:

redacted

Discovered entities with a name that starts with the device name
This stops working in version 2024.2.0. Please address this before upgrading.
Some MQTT entities have an entity name that starts with the device name. This is not expected. To avoid a duplicate name the device name prefix is stripped of the entity name as a work-a-round. Please inform the maintainer of the software application that supplies the affected entities to fix this issue.

List of affected entities:

redacted

Is this linked to this ticket?
https://github.com/home-assistant/core/issues/97656
Addon version
1.32.2-1
Platform
Home Assistant 2023.8.0
Supervisor 2023.07.1
Operating System 10.4
Frontend 20230802.0 - latest
Logs of the issue (if applicable)
No response

https://github.com/Koenkk/zigbee2mqtt/issues/18445 - known about, will be in September release I understand from various threads.

Duplicate of https://github.com/Koenkk/zigbee2mqtt/issues/18445


Conv2d weight matrix size is reversed?

Hi,
I'm trying to get the weight matrix of a conv2d layer. This is the snippet of the code:
`model = Sequential()
model.add(Conv2D(filters=16, kernel_size=(3,3),
input_shape=(9,9,1),activation='relu',kernel_regularizer = l2(regularization_coef)))
model.add(Conv2D(filters=64, kernel_size=(3,3),activation='relu',kernel_regularizer = l2(regularization_coef)))
model.add(MaxPooling2D(pool_size=(2,2)))
model.add(Dropout(0.5))
model.add(Flatten())
model.add(Dense(128,activation='relu',kernel_regularizer = l2(regularization_coef)))
model.add(Dropout(0.5))
model.add(Dense(2,activation='softmax',kernel_regularizer = l2(regularization_coef)))
model.compile(loss='categorical_crossentropy', optimizer='adadelta',metrics=['accuracy'])
model.summary()
#plot_model(model, to_file='model.png',show_shapes=True,show_layer_names=True)
model.fit(X_train, Y_train, batch_size=batch_size, epochs=nb_epoch, verbose=0, validation_split=0.1)
score = model.evaluate(X_test, Y_test, verbose=0)
print('Test score:', score[0])
print('Test accuracy:', score[1])
filters= model.layers[0].get_weights()[0][:,:,0,:]
print(filters)
print(filters.shape)`
Now, my layers[0] has 16 filters, of kernel size 3x3 each, and the shape of the filters should be (16,3,3). But I'm getting an array of shape (3,3,16). Can someone please help me with this? I'm trying to visualise the weight matrix, and am running into problems because of this reversed shapes.

That's the tensorflow convention, the kernel shape is (kernel_height, kernel_width, input_channels, output_channels). To reverse it, you can always just get the value and transpose it appropriately, e.g. with filters = model.get_weights()[0][:, :, 0, :].transpose((2, 1, 0)).

Closing as this is resolved. Feel free to reopen if have any follow up questions.


Explicit VM C API for setting up / tearing down the timeline recorder

If one thread calls Dart_TimelineEvent while another thread is calling Dart_Cleanup, a racy crash is possible: https://github.com/flutter/flutter/issues/74134. Gating the call to Dart_TimelineEvent on a lock introduces the potential for deadlock because Dart_Cleanup may be waiting on that thread as part of its work (e.g. if that thread hosted an isolate). Gating the call to Dart_TimelineEvent on a flag toggled just before the Dart_Cleanup call reduces the likelihood of a race, but the possibility still exists. An explicit call to shutdown the timeline recorder, would allow clients to avoid races altogether.
See the discussion on the PR https://github.com/flutter/engine/pull/24007#issuecomment-770141888 for details.
/cc @a-siva @rmacnak-google

Another case where fixing this bug would help https://github.com/flutter/flutter/issues/78936.

A CL to fix racy access to the timeline recorder through the Dart API has been landed. Closing this issue.


Small Typo in the Repository README

I found a small typo in the main repository's README file on line 23. It reads "Create and issue here . . ."

The README also urges contributors to assign issues to themselves and mark the issue appropriately. However, contributors are unable to do unless they are an owner or collaborator of the repository (Source: http://stackoverflow.com/questions/26752902/how-to-assign-issue-to-myself-at-github)


Antialiasing?

Is text anti-aliasing a thing?

Text don't seem to render too well.

Does this happen in the examples also?

No, we figured that it seems to be a problem with coloured text.
We hacked together a fork, the tl;dr is that we just remove the SRGB conversion stuff.

The SRGB conversion in the shader is used only if the surface format being passed to the library is of linear type.
Colors should work fine too. Try passing the preferred_format (of the swapchain image format) to the Gui::new().
See example demo_app.rs.

Preferred format fixes it, yes, but then transparency seems wrong. demo_app.rs seems to not have transparency?
Strictly speaking, we're using a more light-mode theming.

We fixed(/hacked) the transparency issue by doing this + removing SRGB conversions:
let a = v.color.a() as f32 / 255.0;

EguiVertex {
    position: [v.pos.x, v.pos.y],
    tex_coords: [v.uv.x, v.uv.y],
    color: [
        v.color.r() as f32 / 255.0 * a,
        v.color.g() as f32 / 255.0 * a,
        v.color.b() as f32 / 255.0 * a,
        a,
    ],
}

It's been a while since I played with the colors, but I never got the color test to match 100% similar to egui web demos.
Anyway, I did notice that the pipeline was potentially using a different alpha blending. Can you try if this branch helps? Along with the preferred format.
#37
As far as I know, the egui vertex color values shouldn't be multiplied by alpha again. Meaning they say on their github

egui uses premultiplied alpha

I'd be curious to see a screenshot or a small example of the gui to better understand what you mean with transparency issues. :)

Gonna pull the changes from within my own hack-y fork to test.
(Our code outside is incompatible because of the Multisampling hack-- they're there because otherwise its impossible to multisample on PaintCallbacks)

Hmm...

The passed preferred image format is B8G8R8A8_UNORM

Our code is at https://github.com/Mg138/automancy
It's a bit complicated, we'll make a minimally reproducible example if needed.

We think we'll try to switch to SRGB for now. Maybe say it somewhere to recommend using it?
We think that an option for multisampling states and whatnot would be great!
The hexes aren't really the problem here, enabling multisampling kinda automagically fixed the hexes. The text problem seemed to be entirely about the colorspace. We'll close the issue if switching to SRGB fixes it -- there may be shenanigans going on because of the swapchain format being UNORM?

The swapchain image ahould also be srgb.

I merged my updates & released. I hope that makes this library just a bit more useful for you :).
Added also a multisample example, which is basically similar to subpass one, but mutlisampled.

The game looks very nice now, thanks!


Fix: Generating screenshots/pdf using os.tmpdir() for Windows

Since Windows does not use the temporary directory on /tmp, so the usage of os.tmpdir() is needed.

@adieuadieu, actually I did both pdf and screenshot on my PR, the only thing I miss are tests, would you like us to join forces?

@elisherer I think what we'll do is merge this PR, and then we can merge your PR #137 as it adds even more on top of what this PR adds. Effectively we'll get this PRs test, plus your contributions in #137.


how to draw a text in webgl mode

i try to use LiteralStyle to cofig a text , but didn't work.
i see another way StyleShaders to style shape in webgl mode.but i don't know how to use it
who can help me? thanks
i use ol version 7.5.2 ans above

wait online


Major updates and improvements

I understand that there are plenty of topics to discuss in this PR, so I definitely want to talk those things out. We are currently using this version of HubSpot.NET in our own private project and though there are still somethings to finish testing with Timeline events we figure that we should at least get the PR discussion going at this point.
We've tried to maintain the conventions of HubSpot.NET's APIs so that externally they are still usable. We have however added support for OAuth so that is a major change.
Here's an overview of what is included in this PR:

Timeline API support
OAuth support
Subscriptions API support (GET & PUT)
Improvements to the internal route construction for the APIs
Updated RestSharp version
Improved internal use of generics
Added Framework support for .NET Standard 2.0 & .NET Framework 4.6.1
Moved toward a more strongly typed approach to handling incoming and outgoing DTOs

#32 #21

Wow, this looks awesome! It's going to take me a couple of days to take a look through it all but thank you SO much for the contributions!

Hi @Psypher9, thanks again for the contributions - looks great. I've added a bunch of questions inline which I figure might work well to keep the different threads of discussion separate! Cheers, Dave.

Must admin, I'm truly blown away by your contributions - thank you!

Okay, I just amended the PR with those changes.

That reminds me, I need to reconfigure AppVeyor for PRs. It works for releases/tagged builds but not for PRs right now! I'll get that hooked up again.

We're still trying to improve and adapt our additions over time for this since we intend to use it so much in our own workflow. We have tried to avoid as many breaking changes as possible, but structurally it was inevitable.

We're still trying to improve and adapt our additions over time for this since we intend to use it so much in our own workflow. We have tried to avoid as many breaking changes as possible, but structurally it was inevitable.

No worries at all - the improvements here are definitely worth having and I think getting this into a v1 branch for further iteration would be great. I'll setup a Slack channel to discuss a plan, will post details here soon!

Join the Slack workspace here: https://join.slack.com/t/hubspotnet/shared_invite/enQtNDUxNDkxMDc1ODkzLTM2OTY5YWY4MTM0NjBjZTRmMDliZTU4YTk0MTA5ODg4YTU3NDIxNjNjZTM1MTI1NGJkMmMzNGUxODMxZTQyYWY

Merging this into v1-preview as a next step!