HTML injection possible via About Page

Not urgent, but a security concern that should be addressed in the future.

Can you update description with link to code?

Description updated.


GlosSI Target randomly close on some input.

Expected Behavior
I am using a UWP app, so it should not close randomly.
Actual Behavior
It crashes randomly.
Steps to Reproduce the Problem

Open GlosSi target from Steam.
Open any UWP app.
Keep playing for a while.
On some unknown combination of inputs the GlosSi target closes.
...

General Information

Version: GlosSI Target <IP_ADDRESS>
Platform: Win11 / Desktop
Controller(s): 1 Switch Pro Controller
Application:(GlosSITarget

Logs / Additional Files
GlosSIWatchdog.log
UWPOverlayEnabler.log
glossiconfig.log
glossitarget.log

Sorry uploaded the wrong logs.

I can consistently make it crash by pressing the "B" button on the pro-controller after pressing any of the d-pad buttons.

I just figured out the issue, I'm using GlosSI target in windowed mode, and using the D-pad for some reason highlights the close button.

And pressing "B" just closes the program.
Is there any way of changing this behavior?


pytesting Microblog v0.23 - def test_connect_close_db(app)

Hi Miguel, I would like to incorporate the def test_get_close_db(app) pytest function from Flaskr's pytest example repo into my Microblog v0.23 project.
https://github.com/pallets/flask/blob/1.1.2/examples/tutorial/tests/test_db.py

The thing is that Flaskr's example code doesn't use SQLAlchemy which makes the refactoring process confusing to me.

I'm wondering do I just copy the relevant database functions from this file /Flaskr_tutorial/flaskr/db.py or will that conflict with my Microblog project setup?
https://github.com/pallets/flask/blob/1.1.2/examples/tutorial/flaskr/db.py

Since /microblog-0.23/project/init.py file contains this variable configuration I'm thinking it might conflict with how Flaskr wrote their database check test.
db = SQLAlchemy()

def create_app(config_class=Config):
    app = Flask(__name__)
    app.config.from_object(config_class)
    db.init_app(app)

My Microblog test file /microblog-023/tests/setup/test_db.py.

How do you write a check that can confirm if Microblog database is connected like Flaskr database check does?

def test_connect_close_db(app):
    with app.app_context():
        # Check if database is connected.

        # db = ?
        # assert db is ?

Flaskr's test file /Flaskr_tutorial/tests/test_db.py.
https://github.com/pallets/flask/blob/1.1.2/examples/tutorial/tests/test_db.py

I honestly don't know what would be a meaningful equivalent test. In the Flask tutorial the database is managed by hand. The application makes the connections, so it makes sense that there is a test to check that connections are created and destroyed appropriately. With Flask-SQLAlchemy the application doesn't do any of that, so there is really nothing in the application that you can test. If anything, you would be writing tests for the Flask-SQLAlchemy extension, not for your application.

I finally understood what you meant. 🙂


Add workaround for windows for ip fragmentation

This PR is meant to solve https://github.com/elastic/beats/issues/2201. The fix is available in the main gopacket repo:https://github.com/google/gopacket/blob/master/layers/ip4.go#L191.

Closing as it duplicates https://github.com/tsg/gopacket/pull/4.


Start and end positions swapped.

When the following request is done to the API:
curl -X GET "http://v3.mutalyzer.nl/api/reference_model/NM_002001.2" -H  "accept: application/json"

we get the following response:
"model": {
  "id": "NM_002001.2",
  "type": "record",
  "location": {
    "type": "range",
    "start": {
      "type": "point",
      "position": 1191
    },
    "end": {
      "type": "point",
      "position": 0
    }
  },
...

The start and end positions seem to be swapped.

Solved in the retriever.

Solved in the retriever.


Allow passing of prometheus elasticsearch information

This PR adds variables to be used in snafu for passing prometheus ES variables. This also adds the parallel variable to elasticsearch.

  Is he pending on any other PRs at this point?

/rerun all foo

/rerun all

/rerun ec2 tests/test_hammerdb.sh tests/test_fs_drift.sh

/rerun ec2 'tests/test_hammerdb.sh tests/test_fs_drift.sh'

/rerun ec2 'tests/test_hammerdb.sh tests/test_fs_drift.sh'

/rerun ec2 tests/test_fs_drift.sh

Results for ec2_jjb

Test
Result
Retries
Duration (HH:MM:SS)

test_fs_drift
Fail
3
00:10:59

/rerun ec2 tests/test_fs_drift.sh

Results for ec2_jjb

Test
Result
Retries
Duration (HH:MM:SS)

test_fs_drift
Pass
0
00:05:32

/rerun all

/rerun all

Results for ec2_jjb

Test
Result
Retries
Duration (HH:MM:SS)

test_backpack
Pass
1
00:10:56

test_byowl
Pass
0
00:04:11

test_fiod
Pass
0
00:16:51

test_fs_drift
Pass
0
00:10:59

test_hammerdb
Pass
0
00:05:02

test_iperf3
Pass
0
00:06:37

test_pgbench
Pass
0
00:04:41

test_smallfile
Pass
0
00:08:56

test_sysbench
Pass
0
00:03:07

test_uperf
Pass
0
00:25:55

test_vegeta
Pass
0
00:09:14

test_ycsb
Pass
0
00:04:07

lacking docs to explain the new vars and how to capture them.

Updated docs. Please have a look @jtaleric

Results for ec2_jjb

Test
Result
Retries
Duration (HH:MM:SS)

test_backpack
Fail
3
00:21:39

test_byowl
Pass
0
00:07:03

test_fiod
Pass
0
00:18:01

test_fs_drift
Pass
0
00:10:36

test_hammerdb
Pass
0
00:06:11

test_iperf3
Pass
0
00:05:22

Results for ec2_jjb

Test
Result
Retries
Duration (HH:MM:SS)

Results for ec2_jjb

Test
Result
Retries
Duration (HH:MM:SS)

Results for ec2_jjb

Test
Result
Retries
Duration (HH:MM:SS)

Results for ec2_jjb

Test
Result
Retries
Duration (HH:MM:SS)

Results for ec2_jjb

Test
Result
Retries
Duration (HH:MM:SS)

Results for ec2_jjb

Test
Result
Retries
Duration (HH:MM:SS)

Results for ec2_jjb

Test
Result
Retries
Duration (HH:MM:SS)

test_backpack
Fail
3
00:25:29

test_byowl
Pass
0
00:05:24

test_fiod
Pass
0
00:18:02

test_fs_drift
Pass
0
00:09:23

test_hammerdb
Pass
0
00:08:21

test_iperf3
Pass
0
00:06:09

test_pgbench
Pass
0
00:06:18

test_smallfile
Pass
0
00:12:50

test_sysbench
Pass
0
00:05:00

test_uperf
Pass
0
00:40:12

test_vegeta
Pass
1
00:33:13

test_ycsb
Pass
0
00:05:06

/rerun all

!!! Couldn't read commit file !!!

/rerun all

Results for ec2_jjb

Test
Result
Retries
Duration (HH:MM:SS)

/rerun all

Results for ec2_jjb

Test
Result
Retries
Duration (HH:MM:SS)

/rerun all

Results for ec2_jjb

Test
Result
Retries
Duration (HH:MM:SS)

/rerun all

Results for ec2_jjb

Test
Result
Retries
Duration (HH:MM:SS)

/rerun all

Results for ec2_jjb

Test
Result
Retries
Duration (HH:MM:SS)

/rerun all

Results for ec2_jjb

Test
Result
Retries
Duration (HH:MM:SS)

/rerun all

Results for ec2_jjb

Test
Result
Retries
Duration (HH:MM:SS)

test_backpack
Pass
2
00:17:44

test_byowl
Pass
0
00:02:49

test_fiod
Pass
0
00:16:11

test_fs_drift
Pass
0
00:07:09

test_hammerdb
Pass
0
00:05:01

test_iperf3
Pass
0
00:03:39

test_pgbench
Pass
0
00:04:22

test_smallfile
Pass
0
00:08:26

test_sysbench
Pass
0
00:02:28

test_uperf
Pass
0
00:27:38

test_vegeta
Pass
0
00:08:47

test_ycsb
Pass
0
00:03:30


Research VLM to Control mapping

Research (both literature review and architectural scoping) around utilizing VLMs for Control fine-tuning and inference.

Some thoughts:

First, we should choose a way without architectural changes. This means that we try a prompt-based way.

We should be able to evaluate the model's performance without fine-tuning.
In fact, we cannot even hack the model or vocabulary because some VLMs are closed-sourced.

The output should be easy to parse and interpret.

JSON: simple, easy to parse, interpretable.
Python: useful when executing an actual robot arm.
Text: less formatted, hard to control.

If we choose the JSON format, the actions are represented:

Discrete action spaces:

DM Lab: {distance: far, reward: positive}
Atari: {action: leftfire} or just a category number given the list.

Continuous action spaces:

MuJoCo: {thigh_joint: 0.3579, leg_joint: -0.424, foot_joint: 0.987}
DM Control Suite: {arm_root: 0.465, arm_wrist: -0.985, ...}

The steps of inference/fine-tuning:

We design a prompt to specify how the response should look like and which key and value should be included as specific as possible per dataset.
Then we put this dataset-specific instruction when inferencing with a model.
Then we additionally parse this JSON format response into actual action values to update the environment.
When fine-tuning, we add this instruction in our fine-tuning data so that the model can follow the specific form of generation.

Reference literatures:

Empowering Large Language Models on Robotics Manipulation with Affordance Prompting

LLM + A framework.

Observation Descriptor: A VLM takes a visual observation and a designed prompt template to generate the text description.

This description includes the spatial information of the objects and all functional parts of them. (e.g. position, four sides of a box)

Sub-task planner: With the text description from the VLM and the natural language instruction, it decomposes the task into a sequences of sub-tasks.

Functions of the arm, guidelines/context, task instruction, text description of the observation…

Motion controller: It generates the actual action sequence with the decomposed sub-tasks and affordance values.

We can also provide some examples as demonstrations and the form of the results, such as JSON.

RT-2: Vision-Language-Action Models Transfer Web Knowledge to Robotic Control

The point of this model is that the LLM/VLM is trained to directly generate the action tokens along with the text generation tasks.

No need of additional parser or interpreter.

Robot-Action Fine-tuning

They used the existing 256 tokens as action tokens to represent the continuous dimensions discretized into 256 bins.
Then they fine-tuned the VLM into an action generator with 6 DoFs and termination command.

They used the least used tokens or special tokens reserved for special purpose.

Look Before You Leap: Unveiling the Power of GPT-4V in Robotic Vision-Language Planning

This work argues that the conventional use case of LLMs in robotics control is not grounded and requires an additional affordance model.

Which is sub-optimal due to the possible limitation of the visual model and less informative description of the observation.

They used GPT-4V to directly ground the visual information into the language model.

First, the model comprehends the environment through CoT, generating the overall task-related object and location information.
Then it generates the steps of tasks to accomplish the goal.
The first step is chosen and it is injected into the finished plan information for the next step.

The steps are just natural language instructions.

From Text to Motion: Grounding GPT-4 in a Humanoid Robot “ALTER3”

This work represents the actuators in the robot into 43 Axes and assigns the value 0 ~ 255 for intensity.
Steps to control the robot

First, GPT-4 generates the motion recipe given the prompt, which includes the task instruction, examples, and guideline.
Next, GPT-4 generates the Python code to do each motion with alter.set_axes function.

GPT-4V(ision) for Robotics: Multimodal Task Planning from Human Demonstration
Two main pipelines

Symbolic task planner

It takes the video, text or both to generate a sequence of robot actions.

The video analyzer uses GPT-4V to recognize the actions by humans and converts them into textual instructions.
The scene analyzer uses GPT-4V to generate the environmental information (e.g. objects, spatial relations, properties…) given the first frame and instruction.
The task planner generates the task sequence, corresponding instructions, environmental results given the environment and environment.

The output is in JSON format.
The actions are represented in Action(arg1, args2, …)

The text can also be a correction feedback on the model’s recognition results.

Affordance analyzer

It analyzes the video to determine when and where the tasks occur.
It extracts the affordance information for task executions.

Moving onto the testing.
#85 #86 #87


Increment version for servicebus releases

Increment package version after release of Azure.ResourceManager.ServiceBus

API change check
API changes are not detected in this pull request.


ldm for inpainting

Many thanks for your amazing work.
Im wondering for the cases of the inpainting do you pass the image and masked image through the same pretrained VAE. and what is the training data of this VAE is it on the images or the dataset contain also the masked images??  or you train separate VAEs for each one ?

Thank you for the appreciation.
I have never trained ldm for the inpainting task but from what I could figure out from the code/checkpoints provided by authors, you would pass the image to the same pre-trained autoencoder.
So basically you wouldn't train autoencoder again specifically for inpainting task. The same autoencoder trained for image generation on your dataset, would be used for encoding the images/masked images for training inpainting ldm as well on your dataset.


Add benchmarks

Work in progress to close #34

I don't understand the failures in the GitHub Actions workflow for benchmarks.  I'm going to merge this PR and open a new one for running benchmarks in CI


chore(requirements): update requests to 2.12.5

See http://docs.python-requests.org/en/latest/community/updates/#id1

Current coverage is 87.29% (diff: 100%)

Merging #1231 into master will increase coverage by 0.05%

@@             master      #1231   diff @@
==========================================
  Files            43         43
  Lines          3826       3826
  Methods           0          0
  Messages          0          0
  Branches        665        665
==========================================
+ Hits           3338       3340     +2
+ Misses          322        321     -1
+ Partials        166        165     -1

Powered by Codecov. Last update 51879b2...609cdf7


Add Axis API

This references the Axis API issue #59
I've added generic axes, mouse axes and cursor axes
Axes

generic axes:
they use Axis<AxisId> that can be retrieved from winit
always have f32 dimension. Winit doesn't support multidimensional axes, so you need to register each one

mouse axes
I have tried to use WindowEvent::CursorMoved event first, but as I found out WindowEvent::CursorMoved problem

So I decided to separate those two, essentially moving CursorPosition from UI to Axis<Cursor>, as well as registering mouse data with Axis<Mouse>
Since generic axes don't support multiple dimensions, Cursor and Mouse are enums, where
enum Cursor {
  Horizontal(WindowId),
  Vertical(WindowId),
}

enum Mouse {
  Horizontal,
  Vertical,
}

Cursor and Mouse differences
Cursor does support local2window position, but is out of sync once cursor leaves the window, and synchronizes once it enters (maybe exiting and entering window events should be exposed as well)
Mouse does not support local2window position and still needs to be locked with winit manually, also has a problem that position isn't platform independent (that means it is different step on every platform) but is not disabled by going out of window and independent on cursor acceleration performed outside of bevy.
Issues
There are still some issues:

UI still uses it's own cursor position, I essentially just patched it for now
bevy could easily support Touch with Axis API since winit supports it
Cursor movements now cause 2 events instead of one with Vec2 since it's easier to parse it (one for horizontal and vertical), not sure if it matters
There is no easy way to get generic axes ids that doesn't involve messing with winit itself
I had to expose some variables and I am not sure if all of them should be in prelude. That is to be decided

This is definitely not final, but I would love some feedback on what to change. But it is in a functional state

In general this is very welcome and looks like its on the right track. Starting a review now

Thanks for your patience. Can we add an example to illustrate how people can use this?

Of course, here in is!

I think I've come around to leaving axes as 1-dimensional. This is how unity, godot, and gilrs do it. And "axis" is also inherently 1d, so we would need to rename the api to Axes instead of Axis to avoid confusion.
I still would prefer it if we didnt change event apis to line up with axis apis. 2d events should stay 2d.

@cart @WesterWest I think we can support 2/3 dimensional axis using rust tuples. It would be like a helper function on top of the current axis api.
pub fn get_2d(&self, axis_ids: (T, T)) -> Option<Vec2>. This should return a Some(Vec) only when both axis are present otherwise None. Then we can use type alias for 2 dimensional axis like type MouseAxis = (MouseAxisHorizontal, MouseAxisVertical).
User can use MouseAxis as a whole.

@cart @WesterWest I think we can use something like fn get_2d(&self, axis_2d: (T, T)) -> Option<Vec2> wrapped over the current implementation to get 2d vector as axis output.
Or we can expose a trait which returns the tuple of axis handles and consume structs that implement those traits instead of tuple in the above function.

@simpuid yeah its definitely worth trying to build an abstraction on top of the 1d api, but at least in this pr I think we should keep it scoped to 1d.
@WesterWest no pressure, but if we can get comments / merge conflicts resolved in the next day or so, this (and @simpuid's joystick support) will land in the bevy 0.2 release.

I've thought awhile about this, and I think I'm just going to merge the joystick pr and close this out. I'm not convinced that mouse state is a good fit for the axis api. Instead I think we should probably add a new resource type specific to the cursor (or alternatively, tack it on to the existing Window api).


PunktSentenceTokenizer abbrev

Dạ cho em hỏi ở bước PunktSentenceTokenizer abbrev là mình làm gì ạ, em chưa hiểu lắm ạ

This tokenizer divides a text into a list of sentences
by using an unsupervised algorithm to build a model for abbreviation
words, collocations, and words that start sentences.  It must be
trained on a large collection of plaintext in the target language
before it can be used.


Update version number, Mono and OmniSharp dependencies and changelog for 1.7.0

@gregg-miskelly: Feel free to update the changelog with any debugging features at some point.

Going to go ahead and merge this and kick off a new release.


Webapp: Logs are getting spammed

The logs are getting spammed with this:
2024-02-07 18:43:20 DEBUG call: tower_sessions_core::service: removing session cookie
2024-02-07 18:43:20 DEBUG call: tower_sessions_core::service: removing session cookie
2024-02-07 18:43:23 DEBUG call: tower_sessions_core::service: removing session cookie
2024-02-07 18:43:23 DEBUG call: tower_sessions_core::service: removing session cookie
2024-02-07 18:43:23 DEBUG call: tower_sessions_core::service: removing session cookie
2024-02-07 18:43:25 DEBUG call: tower_sessions_core::service: removing session cookie
2024-02-07 18:43:25 DEBUG call: tower_sessions_core::service: removing session cookie
2024-02-07 18:43:25 DEBUG call: tower_sessions_core::service: removing session cookie

How to reproduce:

login once
restart the webapp but keep the browser open


Onboarding etiquette

Resolves #2.

Good start!
Are we intending this to be read and referenced/used by existing members? If so, should we include details about how to get an invite link? I'm not sure how that works if you're not a mod.
I think we could add a step for the introducer to (privately?) encourage the invitee to fill out their bio and profile picture before they send out the introduction.
We could add some links to examples of intro posts:
https://nelson.social/@matt/109467858887332318
https://nelson.social/@matt/109448612035209109
https://nelson.social/@matt/109447258921683383
https://nelson.social/@matt/109447258921683383

Are we intending this to be read and referenced/used by existing members? If so, should we include details about how to get an invite link? I'm not sure how that works if you're not a mod.

I added an invite link.

I think we could add a step for the introducer to (privately?) encourage the invitee to fill out their bio and profile picture before they send out the introduction.

Added.

@blaine @mattwynne Can I get a final review before merging this?


Update http4s-circe, http4s-client, ... to 1.0.0-M20

Updates

org.http4s:http4s-circe
org.http4s:http4s-client
org.http4s:http4s-dsl

from 1.0.0-M19 to 1.0.0-M20.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.http4s" } ]

labels: library-update, semver-pre-release

Superseded by #182.


[WIP][fix] opendata url_resource : unable destroy previous file

Coverage decreased (-36.1%) to 43.928% when pulling c863eedb47f068563616e014ed1902b390092be0 on itowtips:fix-url_resources into f000a668f4419e8d7cec12f747173117a011fee4 on shirasagi:master.


Border cuts through tooltip caret when tooltip positioned on right side

Expected Behavior
The little triangle on the tooltip should look like it does on the left

Current Behavior
There's a line drawn though it when it's on the right

Steps to Reproduce (for bugs)

Set the tooltip background to white:
			tooltips: {
				backgroundColor: '#fff',
				borderColor: '#ccc',
				borderWidth: 1,
				titleFontColor: '#333',
				bodyFontColor: '#333',
				footerFontColor: '#333'
			}

Environment

Chart.js version: 3.0.0-alpha

Happens when the caret is at the bottom too

Found the problem. For the right side, https://github.com/chartjs/Chart.js/blob/master/src/plugins/plugin.tooltip.js#L702-L703 is wrong. It works on the left because we draw the left side from the bottom to the top, so y1 needs to be larger (closer to the bottom). The right edge of the tooltip is drawn top to bottom, so y1 needs to be the smaller value.
A similar problem exists on the X axis. I can easily solve it by moving the the logic to determine y1 and y3 into the ifs, but I'm not sure if there's a better solution

I can easily solve it by moving the the logic to determine y1 and y3 into the ifs, but I'm not sure if there's a better solution

I haven't worked on drawing code in general much, but that solution sounds totally fine to me

Ok, will open a PR and we can discuss


run: Support basic uprobe and uretprobe

run: Support basic uprobe and uretprobe
This patch introduces basic support for uprobe and uretprobe.
Filtering as well as auto attach/detach will be supported in the future.
Also, a simple gadget trace_malloc is added as demo.
Testing done
ig image build -t trace_malloc:latest .
ig run trace_malloc:latest --host

Sorry, forgot to add the gadget name into gadgets/Makfile

Did a refactoring on the trace_malloc gadget. Now it also supports the comm field.


SVG Index update

svg index update... see commits

Also, on the discovery search page:

going to close this PR as I have fix for the above issues that I'll merge into Developement and then resubmit.


not working any more

can you please fix it and update the code to work in php 7

@anonymiz 没问题呀

@anonymiz php 7没问题呀， 更新了一版html5


Weird behaviour of search plugin

Search plugin sometimes behaves in a way that seems really strange, and at least not predictable.
Here is a fiddle with a sample jsTree with search activated : http://jsfiddle.net/53cvtbv9/1151/
I noticed the following non logical behavior of search :

type "p", some results are hilighted, some not, even if my configuration has "show_only_matches" set
type "pr", same behaviour
type "pro", ok, now only nodes matching my search are displayed
type "proo", there is no matching nodes, and then all nodes are displayed. With "only matching nodes" option activated, I expect nothing displayed if nothing match my search (it was the behaviour of previous version of this component)

Is the behaviour described here normal, or is there a bug in search plugin ?

This changed back and forth a couple of times - a lot of issues were filed because the tree appeared empty when no nodes match the search term. The predominant opinion was that all nodes should be shown, but with no nodes highlighted as matches.
You can however use the search event and customize how your UI reacts to that situation - add a message, hide the tree, replace the tree with a message, etc:
https://www.jstree.com/api/#/?q=search.jstree&f=search.jstree

Thanks for your answer.
Regarding the behaviour when no node is matching, using search event to clear the tree is an acceptable solution for me, il will implement it.
Any idea regarding the behaviour described in the first two bullet poitns on my original message (incorrect hilighting) ?

The demo you provided used CSS from 3.0.0-beta and JS from 3.2.1. There is no problem when using CSS and JS from the same version. Here is the updated fiddle (latest 3.3.4):
http://jsfiddle.net/53cvtbv9/1152/


New way of searching by tags

Before submitting an issue, make sure you have:

[x] Updated to the lastest version v1.6.0
[x] Read the README and docs
[x] Searched the bugtracker for similar issues including closed ones
[x] Reviewed the sample code in tests and examples

Which client are you using?

[x] app (instagram_private_api/)
[ ] web (instagram_web_api/)

Newer versions of Instagram mobile app use different way of searching by tags:
https://i.instagram.com/api/v1/tags/{tag_name}/sections/
With some new params:
max_id
_csrftoken
lat
lng
tab	recent
page	2
include_persistent	false
rank_token
next_media_ids

This gives us potential sorting (tabs recent/top).

Sorry. Didn't noticed function at TagsEndpointsMixin.tag_section().


Search All results goes behind main window, filter quality is poor

Is your feature request related to a problem? Please describe.
Working with Search All results is difficult since clicking on Ghidra hides this window in the current release. Separate issue, when I search for "operands" and "data" I get many false results to wade through that Ghidra must know are irrelevant because it produces summary information in the results window. Like if I search for 0x80 Ghidra lists 0x8000 too, producing lots of noise that it has enough information to rule out.
EDITED: Just as an aside, a powerful feature I use with my own techniques is to search for a range of values. Guidra can only search for a single value, so it can't find addresses that are distributed over a record in a data structure.

Did you know you can dock the search results window?

Also, do you know about the Search for Scalars feature?  You can specify a range there.

No I didn't. Thank you. I think some buttons in the dock header to "stay on top" (if not desired) and to "dock" would help to avoid this kind of feedback in the future.
I think because using the search results necessarily requires clicking back and forth between the results and the main window to see the results this window should stay in front, and it's very useful to undock to be able to increase the size of the view of your results.

Just for some background, the original GUI was designed for a big multi-monitor setup, which is probably why no one ever saw the need for things like stay on top.  Now you have people running Ghidra on laptops and obvious problems are popping up like the splash screen or import result window not fitting on my macbook, or #566.
You may want to retitle this issue to something like "Docking windows should have option to stay-on-top"

For the record, Search for Scalars didn't help me because it is locked into decimal numbers (dec) and even after converting hex to decimal it didn't find the numbers, so it's not clear where it's looking for them? I was expecting it to look in instruction operands.
Please feel free to tailor the title, etc. I think there's a lot of practical usability issues here.

big multi-monitor setup

I used to use one of those back when monitors were square. It seems impractical/ostentatious with widescreen displays.

Are you running a Ghidra release or out of master?  If you are running a release, you might be running into #1558.  Try searching for scalars <=127.  Hex or decimal should both work the same.

Also the Edit->ToolOptions...  Tool->DockingWindowsOnTop might help you out.

Also the Edit->ToolOptions... Tool->DockingWindowsOnTop might help you out.

Nice, didn't know about that.  I think that addresses this issue nicely.

Also the Edit->ToolOptions... Tool->DockingWindowsOnTop might help you out.

One caveat is doing this in the main Ghidra menu/project window either has no effect on the main CodeBrowser window or it applies to future project "imports" only.
This is a help but it's not a solution because it relies on people finding this setting which should probably be the default setting. Also DockableWindowsOnTop is better wording. Since there is an extra title bar in the windows there should be either a button to control this or a context-menu item, and a context-menu could expose the global setting. From a design POV my goal is always to make it so that issues aren't reported in the first place because usability features are visible at the point where the usability issue arises.

Are you running a Ghidra release or out of master? If you are running a release, you might be running into #1558. Try searching for scalars <=127. Hex or decimal should both work the same.

No, I'm using the current stable release. It says "dec" in the input box, so I assume it doesn't understand hexadecimal. The last test I did was with 32-bit values, looking for instruction operands. I appreciate knowing there is work in the pipe on this.

It says "dec" in the input box, so I assume it doesn't understand hexadecimal.

If you start your scalar with a 0x, that label should change to "hex".

It says "dec" in the input box, so I assume it doesn't understand hexadecimal.

If you start your scalar with a 0x, that label should change to "hex".

It works! I guess it hadn't occurred to me to try that. The little "dec" emblem suggests you can change the mode by clicking on it but it's disabled, suggesting there is only one mode. Because it's called "Scalars" it suggests it's geared toward numerical values, and anyway I think range functionality ought to be in the regular search too.
I don't want to create a bunch of nitpicking issues, but I hope someone invested in the project reads this issue including the accessory topics it's raised.
One last thing, is it doesn't help that the "modal" Scalars window always comes preloaded with -2147483647 and<PHONE_NUMBER> because nobody wants to search for that, and it has to be deleted first before anything can be inputted, and this also contributes to the idea that "dec" is locked in. If the boxes were empty and "dec" appeared after typing then it would be interpreted as evaluating the input and not a mode. Plus, when selecting -2147483647 the minus sign isn't selected, so it requires extra work to press Backspace twice before you can type instead of just beginning typing.

I wouldn't call it nitpicking...you are simply mickpicking :)

I'll take that as a compliment :)


Minor tweaks for v0.1

Final tweaks before v0.1. No changes to content.

@tariqshihadah this code looks great


Problem: Ethereum signing is hardcoded to a LocalWallet (fixes #105)

Solution: made the EthClient generic over the signer type
NOTE: this bubbled up the generic type pretty much everywhere
-- it's likely possible to reduce some of that by refactoring
some parts of the code, but I didn't want to unintentially
break the existing business logic.

the clippy stuff seems unrelated to the current change / was already there


Iter2: store my output on the same device as the first input

In order for Iter2 to be usable with a GPU, you needed to do Iter2::new(...).to_device(vs.device()).shuffle()
Now with this patch, the to_device is not necessary, which is consistent with my expectations.
However, it has virtually no performance difference, positive or negative.

Thanks for this PR, what happens if xs and ys are on different devices?

@vcarpani It doesn't work, which is "philosophically" the same behavior as right now, but incompatible, because right now if the first parameter is GPU and the second is CPU, then Iter2 will work. With my patch. The first parameter must be the same as the second or you'll need to move the second it to the GPU.


Using Avatarify Desktop with Google Collab

How to make Google Collab wor with the desktop version of Avatarify.

It does not have remote GPU support

So should I delete avatarify desktop and stick to avatarify python?
On Sun, 23 Apr 2023 at 12:33, Johan @.***> wrote:

It does not have remote GPU support
—
Reply to this email directly, view it on GitHub
https://github.com/alievk/avatarify-desktop/issues/52#issuecomment-1519042642,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXLR4BI32H5GDDR2ON2USQTXCUHP3ANCNFSM6AAAAAAXH5MA7A
.
You are receiving this because you authored the thread.Message ID:
@.***>

If you need to use Colab, avatarify-python is the only version that currently can integrate with it. Avatarify-desktop requires you to have a graphics card with CUDA support.
If you are a programmer you could of course try to add remote GPU support to avatarify-desktop and submit a pull request or fork the project, but I suspect that would take quite a lot of work.

Trying to run avatarify-python it says no module named cv2 but cv2 has been
renamed to opencv-python. What can be done about this?
On Sun, 23 Apr 2023 at 12:50, Johan @.***> wrote:

If you need to use Colab, avatarify-python is the only version that
currently can integrate with it. Avatarify-desktop requires you to have a
graphics card with CUDA support.
If you are a programmer you could of course try to add remote GPU support
to avatarify-desktop and submit a pull request or fork the project, but I
suspect that would take quite a lot of work.
—
Reply to this email directly, view it on GitHub
https://github.com/alievk/avatarify-desktop/issues/52#issuecomment-1519045952,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXLR4BPR4PET4N4CK6IGUMLXCUJQBANCNFSM6AAAAAAXH5MA7A
.
You are receiving this because you authored the thread.Message ID:
@.***>


Wait for termination of netty on Transport.stop()

Currently the AbstractGelfTransport.stop() method doesn't wait for the returned future to terminate before returning. It would be desirable to block during netty termination or to offer another stop method that is blocking (or to return the future). Example for blocking shutdown:
workerGroup.shutdownGracefully()..awaitUninterruptibly()

Thanks for the heads up!


iOS does not support stack array allocation

On iOS I get this error:
This platform does not support stack array allocation, please submit an issue on https://github.com/uber/h3 to report this error.

Thanks for reporting this. Could you also post the C compiler version being used? (E.g. output of cc --version)
Since stack array allocation is currently only used in the test suite, I think it makes sense for us to convert those back to calloc calls.
As a simple change to get the library compiling, you may be able to comment out the contents of the file src/h3lib/include/stackAlloc.h. Without changing the test suite, you will not be able to build the test suite or the filter applications.

Sure
Apple LLVM version 10.0.1 (clang-1<IP_ADDRESS>)
Target: x86_64-apple-darwin18.5.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin


[SPARK-26806][SS]EventTimeStats.merge should handle zeros correctly

What changes were proposed in this pull request?
Right now, EventTimeStats.merge doesn't handle zero.merge(zero) correctly. This will make avg become NaN. And whatever gets merged with the result of zero.merge(zero), avg will still be NaN. Then finally, we call NaN.toLong and get 0, and the user will see the following incorrect report:
"eventTime" : {
    "avg" : "1970-01-01T00:00:00.000Z",
    "max" : "2019-01-31T12:57:00.000Z",
    "min" : "2019-01-30T18:44:04.000Z",
    "watermark" : "1970-01-01T00:00:00.000Z"
  }

This issue was reported by @liancheng .
This PR fixes the above issue.
How was this patch tested?
The new unit tests.

Test build #101973 has started for PR 23718 at commit ff802c9.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/7654/
Test PASSed.

Test build #101973 has finished for PR 23718 at commit ff802c9.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/101973/
Test PASSed.

Thanks! Merged to master, 2.4, 2.3 and 2.2.


More context managers

Adds more methods; mostly context managers; and changes the way that context managers are implemented to a way that is much simpler but does not break Python 2.4 compatibility.
#!/usr/bin/env python

from __future__ import with_statement

from teamcity.messages import TeamcityServiceMessages

m = TeamcityServiceMessages()

with m.block('Do stuff'):
    print('hello')

with m.compilation('gcc'):
    print('hello')

with m.test('foo'):
    print('hello')

with m.progress('Installing dependencies'):
    print('hello')

with m.serviceMessagesDisabled():
    print('hello')

with m.serviceMessagesEnabled():
    print('hello')

$ python2.5 test_context_managers.py

##teamcity[blockOpened timestamp='2015-09-13T10:47:03.166' name='Do stuff']
hello

##teamcity[blockClosed timestamp='2015-09-13T10:47:03.166' name='Do stuff']

##teamcity[compilationStarted timestamp='2015-09-13T10:47:03.166' compiler='gcc']
hello

##teamcity[compilationFinished timestamp='2015-09-13T10:47:03.166' compiler='gcc']

##teamcity[testStarted timestamp='2015-09-13T10:47:03.166' name='foo']
hello

##teamcity[testFinished timestamp='2015-09-13T10:47:03.166' name='foo']

##teamcity[progressStart 'Installing dependencies']
hello

##teamcity[progressFinish 'Installing dependencies']

##teamcity[disableServiceMessages timestamp='2015-09-13T10:47:03.166']
hello

##teamcity[enableServiceMessages timestamp='2015-09-13T10:47:03.166']

##teamcity[enableServiceMessages timestamp='2015-09-13T10:47:03.166']
hello

##teamcity[disableServiceMessages timestamp='2015-09-13T10:47:03.166']

$ python2.4 -c 'import teamcity.messages; print(teamcity.messages)'
<module 'teamcity.messages' from 'teamcity/messages.py'>

Also if contextlib2 is installed, then these context managers can also function as decorators:
from teamcity.messages import TeamcityServiceMessages

m = TeamcityServiceMessages()

@m.progress('long_thing')
def long_thing():
    print('foo')

long_thing()

$ python test_decorator.py

##teamcity[progressStart 'long_thing']
foo

##teamcity[progressFinish 'long_thing']

Cc: @shalupov, @sudarkoff, @aconrad, @djeebus

Thanks!
Please add unit tests for all methods

@shalupov: How do the tests look in 94df3e3?
I did just a few so that you can give feedback before I do a bunch more.

Oops. I need to add the context manager tests to a separate file that doesn't get invoked for Python 2.4

Oops. I need to add the context manager tests to a separate file that doesn't get invoked for Python 2.4

Done in 1c2649c.

Tests look ok, but could you get rid of "exec(messages_cm_include_compiled)"?
It's much easier to include/exclude files like https://github.com/JetBrains/teamcity-messages/blob/master/setup.py#L17

could you get rid of "exec(messages_cm_include_compiled)"?

Yep. Done.

Thanks! Please add tests for all contexts and I'll merge it.

Tests are failing in Python 3 because of the issue that is fixed by https://github.com/JetBrains/teamcity-messages/pull/80

Please rebase and squash all commits

Rebased to pick up the Python 3 tests fixes in https://github.com/JetBrains/teamcity-messages/pull/80

Rebased and squashed.

Travis CI and Appveyor tests passed.


When changing CMS_DEFAULT_X_FRAME_OPTIONS new migration need to be created

When changing CMS_DEFAULT_X_FRAME_OPTIONS in settings django wants to create new migration for the cms app.
The reason is that initial migration does not get this value dynamically.
One possible solution is to double the code in models and to use it in the migration.
getattr(settings, 'CMS_DEFAULT_X_FRAME_OPTIONS', Page.X_FRAME_OPTIONS_INHERIT)

Other possible solution will be to move this configuration to cms.utils.conf and to get it with get_cms_setting('DEFAULT_X_FRAME_OPTIONS').
Second variant can cause moving definition of: X_FRAME_OPTIONS_INHERIT, X_FRAME_OPTIONS_DENY, X_FRAME_OPTIONS_SAMEORIGIN and X_FRAME_OPTIONS_ALLOW from cms.models.Page to cms.constants
This also will allow overwriting CMS_DEFAULT_X_FRAME_OPTIONS in settings to look more explicit:
CMS_DEFAULT_X_FRAME_OPTIONS = cms.constants.X_FRAME_OPTIONS_SAMEORIGIN

instead of
CMS_DEFAULT_X_FRAME_OPTIONS = 2

Who will know what 2 means?
I can prepare a Pull Request but let me know which variant you prefer.

@vstoykov Thanks.
I agree that moving those definitions to cms.constants is the way to go.
So 👍  from me.


[Debugger Integration Test] Fix and enable localVariableChildrenVisibilityTest

Description:
This seems to be failing intermittently.
Disabled with https://github.com/ballerina-platform/ballerina-lang/pull/36823
https://github.com/ballerina-platform/ballerina-lang/runs/7148360049?check_suite_focus=true

I also observed the tests newVariableVisibilityTest, localVariableVisibilityTest, and localVariableChildrenVisibilityTest intermittently failing in the master branch due to TimeoutExceptions. May need to fix there too.
Gradle build scan: https://scans.gradle.com/s/lcauf5cz7dujg/tests/overview?outcome=failed


FINOS : Found duplicate entry under APPROVED CONTRIBUTORS list for "The Linux foundation" organization at FINOS project

Steps :

Navigate to Signature tab : https://projectadmin.lfx.linuxfoundation.org/project/a092M00001JwBlEQAV/tools/easycla/overview/5564f18f-3252-40fc-a65b-2eef1ad45fcd/signatures
Open Signed CCLAs tab
Search Organization "The linux foundation"
Click on View All Approved Contributors

Actual Results :  duplicate entry under APPROVED CONTRIBUTORS list for "The Linux foundation" organization at FINOS project

Resolved . kindly verify @thakurveerendras

Duplicate entry are removed but following issue appears for above org

Now below user entry is missing

Andrey Kozlov
Linux Foundation bot
Vasu Naidu

Unknow not listed user data under finos sheet also appears

James McLeod

Issue is retested & found following behavior

Andrey Kozlov user appears two time with wrong GitHub id
Dan Kohn user GitHub id is missing
Chris Aniszczyk & Dan Kohn user user LFID shown while this user doesn't have LFID in FINOS sheet
Vasu is incomplete name, it should be Vasu Naidu
Linux Foundation bot detail is still missing

QA-Failed for above cases
Actual :

Expected :

Hi @nickmango , Issue retested & found following behavior

Unknow user data found : James McLeod & Dan Kohn
User data Missing : Andrey Kozlov
Linux Foundation bot GitHub id is wrong

Actual :

Expected :

Name filed is missing for below user

Andrey Kozlov
The Linux Foundation

@thakurveerendras Kindly verify

Wrong plexus-user details appears for organization

plexus-user details is removed form organization, So making issue status QA-Done


jQuery data missing in $destroy event

I'd like to follow up on https://github.com/angular/angular.js/pull/3089. jQuery's $destroy is not a perfect solution: I'm using ng-repeat to display widgets that have data bind to it. When I remove/update a widget, Angular sometimes rebuilds some DOM elements. This leads to calling of jQuery $destroy even though they were not removed (because they were just rebuilt). $destroy of $scope gets only called for really removed widgets, but here data is not available anymore.

Could you please set up a minimal demo of what you are doing? ngRepeat will re-use elements if you use a track by expression, otherwise the elements will be destroyed when items are removed from the collection.

Closing because we don't have a reproduce scenario. :(


deploy: make sure that manifests start with a separator

What type of PR is this?
/kind bug

What this PR does / why we need it:
Our operator-sdk bundle build command cat(1)s several files together,
but since the CSV, which is the last in the list, was missing a
separator on the first line, the last YAML object in the previous file
(deployment.yaml) was concatenated with the CSV.
Let's make sure the YAML documents in deploy/base start with a
separator.
Which issue(s) this PR fixes:
None

Does this PR have test?
N/A will be tested by the existing ones

Special notes for your reviewer:
N/A
Does this PR introduce a user-facing change?

NONE

Codecov Report

Merging #1055 (1136e91) into main (69aa038) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #1055   +/-   ##
=======================================
  Coverage   50.09%   50.09%
=======================================
  Files          42       42
  Lines        4779     4779
=======================================
  Hits         2394     2394
  Misses       2299     2299
  Partials       86       86

/retest

/retest

/test pull-security-profiles-operator-test-e2e


Usage limit ?

i dont understand does it uses any server to recognize speech ? does it has a usage limit ?

It uses the browser to do speech recognition (in Chrome this is done in the cloud).
There may be usage limits if you attempt to run it outside of Chrome.
These questions are both in the FAQ


ansible-playbook error

I have Vagrant 2.1.5 installed and a fresh cloned repository.
When vagrant up runs, it throws this error:
TASK [common : be sure ntpd is running and enabled] **************************** fatal: [default]: FAILED! => {"changed": false, "msg": "value of state must be one of: reloaded, restarted, started, stopped, got: running"}         to retry, use: --limit @/vagrant/ansible/playbook.retry
PLAY RECAP ********************************************************************* default                    : ok=7    changed=5    unreachable=0    failed=1
Ansible failed to complete successfully. Any error output should be visible above. Please fix these errors and try again.

I'm getting the same error. I'm using Windows 10 as host OS and haven't tried if the error occurrs on other systems yet. Is there a workaround for the error?

I'm getting this error on Arch Linux, too.

This issue was fixed. @samb92 Commentig something out just skips it, thats not a fix or workaround. And reading the issue clearly says what to do :) Anyways, this issue can be closed.


Aside components

What type of PR is this? (check all applicable)

[ ] Feature
[ ] Refactor
[ ] Bug Fix
[ ] Optimization
[ ] Documentation Update
[x] Other (please specify here: )

Description of what this Pull Request does
Added a Customizable Aside component in the src folder within the components folder

The component should receiver a customizableAvatar which will serve as the image or avatar.
The component also receive aside props which will serve as a title text for the component.
The component also receive aside props which will serve as a paragraph text for the component.
It also receive  props that can accept className to style the component.

Related Tickets & Documents

Closes # (Seyi - Aside Components  #43)
Related Issues: (doc: avatar component #42)

QA Instructions, Screenshots, Recordings

Added/updated tests?

[ ] Yes
[ ] Not Yet, and here is why: explain here
[ ] I need help with tests
[x] No, and here is why: Test not needed

Can you add a screenshot of the UI for your component not a screenshot of the code. We want to be able to see the UI changes.

Looks good @Sheyitofunmi . Note the avatar name is "CustomizableAvatar"

Looks good @Sheyitofunmi . Note the avatar name is "CustomizableAvatar"

Thank you @TaylorDJones11 ,  Yes the avatar us going to be the customizable Avatar

Can you add a screenshot of the UI for your component not a screenshot of the code. We want to be able to see the UI.

Noted I am going to do that

Looks good @Sheyitofunmi . Note the avatar name is "CustomizableAvatar"

Not CustomizableAside yeah?

@Sheyitofunmi   your branch is some commits behind main branch, Kindly update your branch

@Sheyitofunmi your branch is some commits behind main branch, Kindly update your bracnch

Looks good @Sheyitofunmi .

Looks good @Sheyitofunmi . Note the avatar name is "CustomizableAvatar"

Not CustomizableAside yeah?

it is a mistake, i am going to change it now,thank you

I think the name of the function is correct. I was looking at the name of the props and thought it should match up with the name in which I named my component "CustomizableAvatar"

@Sheyitofunmi the name of your original component "CustomizableAside" was correct. My comment was to change the name of "CustomizedAvatar" to "CustomizableAvatar" to keep the names cohesive. My apologies for not be more clear

I updated my Aside Component  and pass in Props and i deleted my CSS file

@Sheyitofunmi I remember seeing a comment about your Avatar image being broken; when I copied mainAvatar.png to the public folder, and referenced it thus: /mainAvatar.png the image showed up for me.

@Sheyitofunmi I remember seeing a comment about your Avatar image being broken; when I copied mainAvatar.png to the public folder, and referenced it thus: /mainAvatar.png the image showed up for me.


Try only running relevant tests in GitHub Actions CI

Problem
GitHub Actions CI runs for every commit / PR all the tests relevant or not. (except if the file changed are in the path ignored).
Suggested solution
We could run CI only on relevant/changed tests and projects in our workflow like with this example:
https://github.com/planetscale/vitess-framework-testing/blob/master/.github/workflows/test.yml
Might be interesting for us in places like e2e tests, examples but also CLI etc.
It calculates what needs to run based on changed files with jitterbit/get-changed-files
We can probably adapt this to our needs and try a simple and basic approach first and increase complexity later if needed, and default to running all tests.
Internal discussion

Done in https://github.com/prisma/prisma/pull/6612


[ELASTIC-105] Upgrade base tech to Elastic 5.5.0

@loren There's a version of the statsd plugin already that works?

Yes, from this upstream commit 6 days ago. I just had to merge from upstream, build the artifact, and publish it in a release.


unread_class and sticky properties are always null

When getting posts, the unread_class and sticky properties are always null even if they are marked as unread or are stickied.

Off-hand, I don't think any posts are stickied on the staging database (which I should probably address). Unread status might be a legit bug.

is_starred is also always null. Not sure if that's a real issue or if its just not in the staging database.

The staging database is completely distinct from production – none of the stickies, starred posts, unreads, etc. on the live site would be present on staging. If you make a post sticky or starred using the API on staging, and those properties remain null when you retrieve the post, then we have a bug.
(the reason I say unread status might be a bug is that new posts are automatically marked unread on import, so you should at least be seeing that the most recent posts are unread)

Ah okay, marking posts as unread and whatnot from the api does change the property, so that's fine. New posts that are automatically marked as unread do still return null though.

New posts that are automatically marked as unread do still return null though.

Then that's probably something I should look into.

@Z-KO I believe I found the cause of this. Posts are never marked unread for accounts considered "inactive", which in this case means "hasn't accessed the web interface in 3 months". The staging site has no web interface, and in any case the code that would have updated the relevant timestamp was removed as part of the API overhaul. The "inactive" filter was inadvertently left on, though.
For now I've manually updated the timestamp on your account (and everyone else's), so it should be good for another 3 months. I'll leave this open as a reminder to myself to fix the underlying issue.

Fixed in 9114d58


DRPC action name changes (drop failback; rename failover to recover)

As relocate and failback are the same functionality and we can break away from the "fail" term here, suggest we drop failback form the action verbs.
Similarly, the failover can be renamed to recover to denote recovery on a peer cluster than carrying the failover terminology from DR.
IOW, changing these can help in addressing Ramen as more than just DR, with DR as one of the use-cases.

While "Failover" is deeply ingrained. We can possibly look at defining "Recover" as an alternate term.


Washer/Dryer combo unit does not show

I have a washer/dryer combo unit that doesn't show in the device list. I followed the installation instructions, but nothing shows. I'm not sure what the issue could be.

Me as well, probably just because the model is not integrated yet.

Once I started the washer the entities started to appear.

Original issue might be an appliance type that's missing.  Can you go to the SDK repo and get some of the logs to help debug?

@chilton715 can you give this information? I have transitioned to the GEA adapter otherwise fell free to close this issue in a week @simbaja if you don't have any news but on my end after a HA restart it was good.

Seems like potentially resolved?  If not, feel free to open a new issue if still present.


test(e2e): setup e2e tests using kuttl

It is based on the e2e testing approach of grafana-operator.
The e2e test for grafana-operator uses ko and kuttl, but we don't need ko because we already have a Dockerfile written that creates the controller image.
So we only need to use kuttl.
kuttl seems to be a very handy tool for e2e: it provides not only asserts to check status, but also steps, which allow us to raise variouse events.

I'd like to check how long it takes to build a container image depending on the tool:

docker: 4m 9s
ko: 1m 44s

.
├── config
│   ├── kuttl-overlay -> Specify image or config values that need to be patched when e2e testing
│   │   ├── deployment-patch.yaml
│   │   └── kustomization.yaml
...
├── kuttl-test.yaml -> The config to use when the 'kuttl test' command is run
...
└── tests
    └── e2e
        ├── example-test
        │   ├── 00-assert.yaml -> Specifies the state that must be reached
        │   └── 00-create-cronset.yaml -> Specifies the resources to deploy when kuttl starts the test
        └── kind.yaml -> Specifies the initial state of the cluster

are these changes mostly from grafana operator e2e? almost same? It looks like that

Yes, these changes are almost same to grafana operator e2e.


vendor: Update go-p9p

This fixes the error serving conn: error reading fcall: EOF logspam during builds.

@titanous the commit needs a DCO sign off.


Missing scanf family of functions

If there is no intention to add support for them, I think it should at least be documented as it is quite essential for parsing data in some applications. What's your stance on the issue? Is there any suggested workaround currently?

I have no stance on these functions :). I haven't developed a system that has required them, and you are the first to ask. No technical or ideological reason.

picolibc (newlib-nano) has full support. I only mention as an immediate solution - I assume you are here because you do not wish to use newlib.

Looking over these functions, one blocker is that I do not actually support FILE or stdin/out/err in this library, so it would be gated on having a suitable solution for that.

Yes, in this regard it is similar to some of the printf functions. sscanf is what I was after in this case. It's not a big deal for me and I can work around it.


500 SERVER ERROR"

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Environment (please complete the following information):

OS: [e.g. Ubuntu]
Architecture: [e.g. arm64, amd64]
Browser [e.g. chrome, safari]
Version [e.g. v1]

Screenshots
If applicable, add screenshots to help explain your problem.
Logs
If applicable, check the logs for any error that might of occurred.
Additional context
Add any other context about the problem here.

@dylanrhodes0 Seems to be a duplicate of #715, if that's true, can you please close this one?


[Pull request] Typos in README

Here is a diff
https://pastebin.com/raw/9K8bgTRz

Really appreciate the updates!


fixed dark theme in all pages

Hello PA @Manaregr8
Issue resolved - #333

Again Awesome work @Ridhima10,
Keep it up!


packaging issue

Please describe the issue or question and share your OS and Python version.
SystemExit: [X] pip3 install -r requirements.txt ---> py3DNS==3.2.1 not installed!
ive un installed and re installed the package but its still saying that its not installed

OS: Windows 10
OS Version: Version	10.0.19043 Build 19043
Python Version: 3.9.2

Windows is no longer supported, still you can run this using docker or using Linux based OS.

@LiteEagle262 if you wish to use Nettacker on Windows please use version 0.0.2: https://github.com/OWASP/Nettacker/releases/tag/0.0.2


Add option to hide view on github

Used 'unless' to maintain backwards default compatibility

Fixes #7

I didn't realize that site.github.public was something already in existence. I just started using gh-pages for the first time not 30min ago. I'll change it to that.


replaceState support

Is there any way to reproduce iron-router's replaceState option? This would be nice to add also when setting query params.

I just released a new API to support this.
See: https://github.com/meteorhacks/flow-router#flowrouterwithreplcaestatefn
Use version 1.12.0

Sweet! Thank you!


Please consider PR

Rancher folks - please consider https://github.com/rancherfederal/rke2-ansible/pull/146

Our team was able to merge this today! See PR https://github.com/rancherfederal/rke2-ansible/pull/146


2 features : force the display of hidden files & keyboard shortcut to upload a open file

Hello,
Thanks for this extension. 2 features could be added :
1- An option to force the display of hidden files like Filezilla for example
2- A keyboard shortcut to upload a open file

Preferences -> Keyboard Shortcuts

Nice. Thanks u very much. It is ok for feature 2.

Close in favor of #561


[BUG] Asynchronous Agents Terminate Prematurely

Description
the verbose

Entering new CrewAgentExecutor chain...

Entering new CrewAgentExecutor chain...

Entering new CrewAgentExecutor chain...

Entering new CrewAgentExecutor chain...

Entering new CrewAgentExecutor chain...

Entering new CrewAgentExecutor chain...

Entering new CrewAgentExecutor chain...

Finished chain.

Finished chain.

Finished chain.

Finished chain.

Finished chain.

Finished chain.

Finished chain.

Finished chain.

Finished chain.

Finished chain.

Finished chain.

Finished chain.

Finished chain.

Finished chain.

Finished chain.

Finished chain.

Finished chain.

Entering new CrewAgentExecutor chain...

Finished chain.
Agent stopped due to iteration limit or time limit.
This causes the process to hit the iteration or time limit, resulting in premature termination of the agents' execution.

Steps to Reproduce

Expected behavior

Screenshots/Code snippets

Operating System
Ubuntu 20.04
Python Version
3.10
crewAI Version

crewAI Tools Version

Virtual Environment
Venv
Evidence

Possible Solution

Additional context

same issue

for my case,  it is because of subscription expired

closing due ti minimal information provided to troublshoot

for my case, it is because of subscription expired

Same for mine as well. It was the OPENAI_API_KEY key issue. I didn't had enough credits on my personal account, so it was not working.

thanks for the update


fix for previous target port

Description
Changes proposed in this pull request:

...
...
...

Related issue(s)

/retest

/retest


Create an LMAnchorView class

Although it is currently possible to simulate anchoring behavior using a combination of row/column views and spacers, all arranged subviews are ultimately pinned to all edges of the parent view. This is sufficient for many uses cases, but does not address the case where a subview might "escape" from the parent (i.e. extend beyond the parent's bounds).
LMAnchorView would be a subclass of LMLayoutView that would optionally anchor (i.e. "pin") subviews to one or more of its own edges. Subviews would be offset by the anchor view's layout margins if layoutMarginsRelativeArrangement was set to true.
A new anchor property would be added to UIView+Markup that would allow a caller to specify a view's anchors. This would be an NS_OPTIONS bitfield containing the following values:

LMTop
LMBottom
LMLeft
LMRight
LMLeading
LMTrailing

The implementation of applyMarkupPropertyValue:forKey: in UIView would be updated to parse a string containing a comma-separated list of anchor names into a bitfield value. For example, the following markup would result in an anchor value of LMTop | LMLeft:
<UILabel text="Hello, World!" anchor="top, left"/>

The anchor property would be respected by LMAnchorView but would be ignored by other layout views.
A new section would be added to the README to document the use of the new class, and the UIView+Markup section would be updated to summarize the details of the anchor property.

Closingg. After thinking through various scenarios, it doesn't seem like this approach solves any problems that can't be addressed using a combination of row, column, and layer views.

May re-open this in the future since an anchor view type, while redundant, may represent a simpler way to achieve certain layouts.

Although there would be some feature overlap between this class and the existing layout view classes, it may still be worth implementing as it might provide a simpler alternative in come cases.

This is done.


Adding files for BAEL-2968

[retest this please]
Note: this comment has been created to trigger a CI build.


Added deletion and ability to take other actions on large images.

I have not updated the .podspec

I'm closing the PR, actions on images are out of the scope of this project.


⚠ Bofrost.de has degraded performance

In 5b7a76b, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 795 ms

Resolved: Bofrost.de performance has improved in 3bdb7f9 after 38 minutes.


[ts] Cannot find namespace 'JQueryUI'.

When i tried the example as mentioned in the page. I got [ts] Cannot find namespace 'JQueryUI' error while building the app using "gulp serve".
if i change the import module as 'import * as JQueryUI from "jqueryui";' i was able to build successfully but got issue with Accordion as in workbench got console error of 'jQuery(...).accordion is not a function'

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

ID: 9f5a35c2-9914-fc67-1550-15d4f63c918c
Version Independent ID: 8418c398-1a93-622d-4df8-84c866fef67f
Content: Add jQueryUI Accordion to your SharePoint client-side web part
Content Source: docs/spfx/web-parts/get-started/add-jqueryui-accordion-to-web-part.md
Product: sharepoint
GitHub Login: @spdevdocs
Microsoft Alias: spdevdocs

Hi, @amtrived1 . Please provide the version information on your side, such as NodeJS/SPFx/React/JQueryUI and so on.

Could you upgrade your SPFx version first and retry it?

updated to
"dependencies": {     "@microsoft/sp-core-library": "1.6.0",     "@microsoft/sp-lodash-subset": "1.6.0",     "@microsoft/sp-office-ui-fabric-core": "1.6.0",     "@microsoft/sp-webpart-base": "1.6.0",     "@types/es6-promise": "0.0.33",     "@types/webpack-env": "1.13.1",     "jquery": "^2.2.4",     "jqueryui": "^1.11.1"   },   "devDependencies": {     "@microsoft/sp-build-web": "1.6.0",     "@microsoft/sp-module-interfaces": "1.6.0",     "@microsoft/sp-webpart-workbench": "1.6.0",     "tslint-microsoft-contrib": "~5.0.0",     "gulp": "~3.9.1",     "@types/chai": "3.4.34",     "@types/mocha": "2.2.38",     "ajv": "~5.2.2"   }
But still facing same issue

Could it be that you're missing TypeScript type definitions for jQuery and jQueryUI? They are listed in the tutorial, but not in your package.json. Run in the command line:
npm i @types/jquery@2 @types/jqueryui --save-dev

Thanks @waldekmastykarz . That was the missing point.


Co-existing with another LSP (svelte)

I'm trying to configure this plugin/lsp with the svelte lsp, but there's one issue I can't seem to fix; making organizeImports work in svelte files.
If I add svelte to filetypes:

OrganizeImports works (using either :TypescriptOrganizeImports or require("typescript").actions.organizeImports())
hover and go to definition act weird (I'm assuming that's because both the svelte lsp and typescript lsp are trying to perform the action, which doesn't sound right)

If I don't add svelte to filetypes:

OrganizeImports doesn't work (nothing happens)
hover and go to definition work OK

I think I know what to fix, but I'm not sure how to go about it. Specifically, I want to make this lsp only handle the organizeImports action, and nothing else (when the file is a svelte file). What's a good strategy to follow here, and where should it be implemented? If someone can point me to the section of the docs that can help me solve this that would also be appreciated. Thank you.
-- typescript.lua

local present, typescript = pcall(require, "typescript")

local on_attach = require("plugins.configs.lspconfig").on_attach
local capabilities = require("plugins.configs.lspconfig").capabilities

if not present then
	return
end

typescript.setup({
	server = {
		on_attach = on_attach,
		capabilities = capabilities,
		filetypes = {
			"svelte", --  <----------- HERE
			"typescript",
			"typescriptreact",
			"typescript.tsx",
			"javascript", -- For jsdoc types
		},
	},
})

-- lspconfig.lua

local on_attach = require("plugins.configs.lspconfig").on_attach
local capabilities = require("plugins.configs.lspconfig").capabilities

local lspconfig = require("lspconfig")

local servers = {
	"html",
	"cssls",
	"emmet_ls",
	"eslint",
	"rnix",
	"svelte",
	"tailwindcss",
	"grammarly",
	"jsonls",
}

for _, lsp in ipairs(servers) do
	lspconfig[lsp].setup({
		on_attach = on_attach,
		capabilities = capabilities,
	})
end

It's a tricky situation that Neovim does not currently handle well. Theoretically, you can do this per project:
local is_in_svelte_project = function()
    -- use logic to determine if you're in a svelte project, e.g. using a specific file / marker
end

require("typescript").setup({
    server = {
        on_init = function(client)
            if is_in_svelte_project() then
                -- disable all capabilities you don't want to use
                -- this will mean that definition / hover requests will only go to the Svelte LSP
                client.server_capabilities.definitionProvider = false
                client.server_capabilities.hoverProvider = false
            end
        end,
    },
})

But I don't think there's a good way to do this per file. I think you'd have to write a wrapper around each affected function to only request from the specific language server you want to use, but that's pretty painful. For example, you could wrap vim.lsp.buf.hover() to only request from svelte if it's attached.


Saving inactive scene with RESET animation changing Control nodes will break their layout

Godot version
4.2 rc1
System information
Windows 10.0.19045 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1060 (NVIDIA; <IP_ADDRESS>3) - Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz (8 Threads)
Issue description
Title.
https://github.com/godotengine/godot/assets/2223172/c7c65166-2520-4605-a43a-153484380943
Steps to reproduce

Have AnimationPlayer with RESET animation
Animate Control node's position
Go to another scene
Save the first scene without switching to it (e.g. using Save All Scenes)

Minimal reproduction project
MRP_label_resize.zip
Open LabelFieldValue.tscn, go to another scene and run project or use Save All Scenes.

Confirmed, seems reproducible in 4.1.3-stable too.

A duplicate of https://github.com/godotengine/godot/issues/74047?

Yes 🙃


udpated to the latest angular version + fix unit tests

udpated to the latest angular version
remove one test as the ast is not exposed anymore by angular
updated 2 tests that were failing because of unmatching string

Note that the strings from the throw tests seems so match and yet the tests fails. No idea why.

Any updates?


Payments : Show inflight payments/route

Show inflight payment and route

[ ] home
[ ] payments
[ ] routes
[ ] jobs for update/delete

nice to have
paymentshops to contain

[ ] expiry

PR is ready. I will commit for version after 1.3.0


World Generation Server Crash

Minecraft Version
1.20.1
Describe the Bug
When world generating with Chunky an issue occurs that causes the server to instantly close/crash. The crash-log seems to point towards this mod, however I am unsure.
Reproduction Steps

Use Chunky for World Generation
Server will crash unexpectedly generating a new chunk

Expected Result
World Generation continues as normal.
Screenshots and Videos
N/A
Crash Report or Log
https://gist.github.com/dylanjkl/b3f38e2e7693ea2d3f0300f26dfe77c5
Other Mods
https://gist.github.com/dylanjkl/fd3ea749082a9878ef238dfdb27205f8
Mod Version
1.3.9.d
Forge Version
1.20.1-forge-47.1.96

我也是，希望早日修复

Imcompatible with Computer Craft. I'll figure out a fix.

Duplicate of #69


CSIP73 - small typo

There is a small typo in CSIP73
File original identfication should be File original identification

Closed with PR #665


Ensure second and subsequent execution of config-seed does not overwr…

…ite preexisting /config/v2/* values.
Signed-off-by: Michael Estrin<EMAIL_ADDRESS>

#901

@anonymouse64 - updated to add command line switch to support optional overwrite of existing configuration values in Consul.

@anonymouse64 Yes, that's correct. That's what I used to test it.


Increasing the token-length based on available memory for GPT models

Running the new PR
queries = ["cat " * 2000]*4
for max_new_tokens = 10, generated_tokens = [10,10,10,10]
for max_new_tokens = 100, generated_tokens = [100,100,100,99]
for 300 -> [299, 300, 299, 297]
for 1500 -> [1500, 1276, 1500, 369

Hi, any update on the above @RezaYazdaniAminabadi ^^?
Were you able to find the error?

Hi @mayank31398,
Looking into it right now, let me first merge this to another PR. I will let you know.
Thanks,
Reza


Failed to get endpoints with Amazon Cloud Drive

Hi,
I managed to install and configure the app, but after the initial token expires (in one hour), rclone is not able to refresh the token. The error message I get is:
root@www:~# rclone ls Default:
2016/04/08 19:45:36 Failed to create file system for "Default:": Failed to get endpoints: Get https://drive.amazonaws.com/drive/v1/account/endpoint: oauth2: cannot fetch token: 400 Bad Request
Response: {"error_description":"The request has an invalid grant parameter : refresh_token","error":"invalid_grant"}

I run the command as root, so it's probably not a permission issue.
Details:

Rclone version: rclone v1.28
OS: Ubuntu 14.04.4 LTS (x64)
Storage system: Amazon Cloud Drive

Hmm,  try deleting the remote and reconfiguring.
I have had another report of this - don't know what causes it but that should fix it hopefully.

Of course I tried that several times before creating this issue. Unfortunately it didn't help. Maybe it has something to do with my amazon settings? I even created a security profile on https://developer.amazon.com and whitelisted it in order to make it work. I provided the client ID and secret, but still no luck. Any other options to set?

I think this must be an Amazon problem...
This is the only reference I've manage to find mentioning the error:  yadayada/acd_cli#44
Which country are you in?
Could you send me a the result with --dump-bodies of the authentication going wrong? (Send me this by private email to<EMAIL_ADDRESS>as it will contain sensitive info).
If you can answer the above I can ask on the ACD developers forum and they may come up with an answer.
Thanks
Nick

I am from Hungary. I sent you the dump.
Thanks!

I've posted a question on the amazon cloud drive dev forum here: https://forums.developer.amazon.com/forums/thread.jspa?threadID=12536

Thanks!

We've got a response on the forum.

I received this issue today, trying to track down a fix without whining, but the link to the forum posted above has moved.
rclone v1.29
VPS(ubuntu14.04)
Storage: googleDrive, Amazon Cloud Drive
I have reconfigured multiple times, however within an hour or so the token expires and the transfer ceases. I noticed that rclone seems to be producing tokens with an expiry that is far to soon.
2016/05/20 15:44:23 Failed to create file system for "b:/TEST": Failed to get endpoints: HTTP code 401: "401 Unauthorized", reponse body: {"message":"Token has expired"}

The new url for the mentioned thread is: https://forums.developer.amazon.com/questions/22571/invalid-grant-on-oauth-token-refresh.html

@schmorrison can you check the time and timezone on your computer? Oauth2 needs both to be accurate.

@schmorrison can you check the time and timezone on your computer? Oauth2 needs both to be accurate.

I just did, and I hadn't set the timezone on my VPS as the same timezone I was generating certificates on. I changed the time and timezones, but seem to be getting the same error. However the output from running rclone ls shows a time stamp 6 hours ahead of me, which I think would be GMT+0 rather than GMT+6 where I am. Is it supposed to show GMT in the output?

I saw the comment you made in #493 and adjusted the VPS and local machine to UTC. Regenerated the certificates on the local machine and moved them to the VPS and ran rclone ls b:/ which listed files for upwards of 12mins(I definitely saw files that didn't have time to list before setting to UTC) as opposed to the ~2mins prior to the adjustment to UTC. Seems like ACD must be invalidating the token before expiry and is unable to refresh correctly.
I will send the dump-headers output today at some point, hopefully it can provide some clues.

Will think about ls and timezones.
Email the dump headers privately as it will contain sensitive info<EMAIL_ADDRESS>

OK Here is beta 3 which

does a re-authentication on 401 errors (working as per attempt 2)
does a retry on that particular 403 error

http://pub.rclone.org/v1.29-33-g085677dβ/
In my testing this works perfectly now - hopefully it will for you too.

This version fixes it for me. Nice one

Thanks! Working perfectly.

@ncw Ran into the same problem today. The link you posted gives me a 404, can you please check? Or is the fix already in a release?
Thanks a lot!

@pgruetter Amazon revoked rclone access so atm you cant use it.

Oh, that's very bad news. Thanks for the response though, found the other issues discussing this now that you mentioned it.


fix: update code to support<EMAIL_ADDRESS>

The tests for Node.js 4 and Node.js 6 randomly started failing due to what seems like a compiler change.  Our package-lock.json is pinning to<EMAIL_ADDRESS>which covers Node.js 8.  The ~2.6.0 tag in our package.json is letting new patch versions of typescript come through as designed, resulting in<EMAIL_ADDRESS>getting installed.  I suspect TypeScript made a breaking change in a patch release :(

@alexander-fenster for review as well

@JustinBeckwith is the version of @types/node different between what you got and what package-lock.json has? That could explain the breakage too.


Fix SE-0268 implementation for removal of parse-time name lookup

We have to type check the didSet body before looking for references to oldValue, otherwise this check stops working once the parser no longer performs name lookup. This requires a bit of refactoring to break circular dependencies, since type checking the didSet body can in turn query attributes of the underlying storage; we don't want those queries to depend on type checking the didSet body.
There is a slight behavior change here. If a property wrapper has a mutating getter and a non-mutating setter, and it is used by a property with a didSet, then clearly the wrapped property must have a mutating getter as well. However, there is the question of whether the wrapped property's setter should be mutating. Now, the setter calls didSet, so if didSet references oldValue, the setter also has to be mutating as well, since we must call the getter to load oldValue.
SE-0268 introduced the new behavior where the load of oldValue is elided if didSet does not reference oldValue; it also made it so that the setter did not need to be mutating in this case. This meant Swift 5.3 had a source and binary compatibility break from Swift 5.2. It also introduced dependencies between the interface type of the setter and the body of the didSet, which made this behavior no longer implementable once parse-time name lookup is disabled, because now we have to type check the body of the didSet in order to determine if oldValue is referenced or not; simply looking at the un-type checked AST is not enough.
This PR changes it back to match the old Swift 5.2 behavior, so that the setter is mutable in this case regardless of whether oldValue needs to be loaded or not. Hopefully, properties with a mutating getter and non-mutating setter should be rare, property wrappers like this doubly so, and wrapped properties with a didSet even more so.
See the forum discussion here: https://forums.swift.org/t/clarify-behavior-of-se-0268-with-a-mutating-getter/40324

@swift-ci Please smoke test

@swift-ci Please test source compatibility

@swift-ci Please smoke test

@swift-ci Please smoke test

@swift-ci Please smoke test macOS

@swift-ci Please test source compatibility

@swift-ci Please test source compatibility

@swift-ci Please smoke test macOS

@swift-ci Please smoke test macOS

@swift-ci Please smoke test

@swift-ci Please smoke test

@swift-ci Please test source compatibility

@swift-ci Please test source compatibility

@swift-ci Please smoke test macOS

@swift-ci Please smoke test macOS


calling setToolModeForElement too many times can cause an exception

Prerequisites

[X] Are you running the latest version?
[X] Are you reporting to the correct repository?

Description
Bug
Calling any of the setToolMode methods too many time with options of { mouseButtonMask: 1 } will eventually cause the app to crash with a "RangeError: Invalid array length" error.
This is happening this line: https://github.com/cornerstonejs/cornerstoneTools/blob/master/src/store/setToolMode.js#L213
  // Keep the same if not an array (undefined)
  // Reset if empty array
  // Merge if array contains any bindings
  if (
    Array.isArray(options.mouseButtonMask) &&
    options.mouseButtonMask.length !== 0 &&
    Array.isArray(tool.options.mouseButtonMask)
  ) {
    options.mouseButtonMask = options.mouseButtonMask.concat(
      tool.options.mouseButtonMask
    );
  }

The code here is concatenating the mouseButtonMask array but not removing duplicates.
I'll create a PR shortly with tests showing the issue and a fix.

Merged 👍


Monaco Editor Integration in Angular 4 + Electron

monaco-editor version: 0.8.3
Browser: Electron (Chromium)
OS: Windows 10
I'm trying to integrate the monaco editor in my Angular 4 app inside Electron. Angular 4 and Electron are working fine right now but I have problems getting monaco working.
Has someone ever solved this? I love monaco but those integration problems drives me crazy. Currently I'm working with this code:
import { Component, OnInit, ViewChild, ElementRef, AfterViewInit } from '@angular/core';

declare const monaco: any;
declare const require: any;

@Component({
  selector: 'app-monaco-editor',
  templateUrl: './app/monaco-editor.component.html'
  //styleUrls: ['./monaco-editor.component.css']
})
export class MonacoEditorComponent implements OnInit, AfterViewInit {

    @ViewChild('editor') editorContent: ElementRef;

  constructor() {
      console.log("bla");
  }

  ngOnInit() {
  }

  ngAfterViewInit() {
    var onGotAmdLoader = () => {
      // Load monaco
        (<any>global).require.config({ paths: { 'vs': 'assets/monaco/vs' } });
        (<any>global).require(['vs/editor/editor.main'], () => {
        this.initMonaco();
      });
    };

    // Load AMD loader if necessary
    if (!(<any>global).require) {
      var loaderScript = document.createElement('script');
      loaderScript.type = 'text/javascript';
      loaderScript.src = 'assets/monaco/vs/loader.js';
      loaderScript.addEventListener('load', onGotAmdLoader);
      document.body.appendChild(loaderScript);
    } else {
      onGotAmdLoader();
    }
  }

  // Will be called once monaco library is available
  initMonaco() {
    var myDiv: HTMLDivElement = this.editorContent.nativeElement;
    var editor = monaco.editor.create(myDiv, {
      value: [
        'function x() {',
        '\tconsole.log("Hello world!");',
        '}'
      ].join('\n'),
      language: 'javascript'
    });
  }
}

The global variable cannot be found. Originally it was called window. I think the problem is that there's no global variable within the Angular component but I'm not quite sure.
Maybe someone has a solution to this.

I'm playing with this component https://github.com/Teradata/covalent-code-editor to use in a browser, but they have a lot of code for Electron

resurrecting this old thread. Has anybody successfully done the integration with angular and electron?
There seems to be no clean of way of doing it. Any body, who has succeeded, please provide directions

Closing due to intactivity.


#522 course configs from url

Description of the PR

https://version.aalto.fi/gitlab/aplus-courses/course-config-urls/-/blob/main/courses.yaml

Testing

unit
integration
manual

- [ ] new unit tests created
- [ ] all unit tests pass

- [ ] new integration tests created
- [ ] all integration tests pass

- [ ] manual testing went well

Have you updated the TESTING.md or other relevant documentation on your branch?

[ ] Yes.
[ ] Not yet. I will do it next.
[x] Not relevant.

I put a loading icon on the course list, good enough. There should be no problems even if we add new fields to the yaml


Set 30 second timeout on blaze client requests to github.com

Thread dumps[1,2] from #897 show ExternalBlazeHttp1ClientSpec
running just before AsyncHttpClientSpec times out.  Might be
coincidence, but it seems reasonable to have a (long) timeout for
calls to external URLs anyhow.
[1] https://travis-ci.org/http4s/http4s/jobs/197158086#L6885
[2] https://travis-ci.org/http4s/http4s/jobs/198883683#L8345
Refs #858 and #817

Reopened.  GH and I disagreed about what should happen with my force push to update the branch.

I guess I hadn't noticed that we had tests that hit GitHub.  (The tut is a well-known problem.)  It would be nice to clean these up along with #817.  I'll pontificate more over there.


2 or more UNDEF clients cause 500 error

Hi there, thanks for this tool.
I'm having some issues with parsing openvpn-status v2 logs when there are more than 1 clients listed as "UNDEF". This is the error I'm seeing:
An error has occurred while serving metrics:

327 error(s) occurred:
* collected metric "openvpn_bytes_received" { label:<name:"common_name" value:"UNDEF" > label:<name:"server" value:"/var/log/openvpn/openvpn-status.log" > gauge:<value:527 > } was collected before with the same name and label values
* collected metric "openvpn_bytes_sent" { label:<name:"common_name" value:"UNDEF" > label:<name:"server" value:"/var/log/openvpn/openvpn-status.log" > gauge:<value:10441 > } was collected before with the same name and label values
...

If there's only 1 UNDEF it's fine but if there are more than 1 it fails. It does not return any metrics just this error with the 500 response code. This in turn causes the prometheus rules to fire up thinking that openvpn is down when it's not.
Any idea what could be causing this?

The cause of the issue is, that while collecting metrics, the prometheus golang client implementation receives two metrics with the same values for the label common_name (UNDEF) - or be a bit more precise, the labels server and common_name have the same values for two metrics.
In this case, the issue seems to be related that openvpn reports UNDEF as the common name for the client, when there is a connection, but the client is not yet authenticated.
Possible fix for this could be, to ignore clients with the common_name UNDEF in the client metrics.
Would you be able to share the status file  (anonymized) so I could take a closer look and prepare a fix ?

Thinking a little bit - we could actually also move the UNDEF clients into a separate metric showing how many clients are in "pending authentication" state. This metric could be used to detect issues with authentication

@patrickjahns Thanks for the quick reply. Here is a minimal repro file:
OpenVPN CLIENT LIST
Updated,Fri Jun  5 09:03:05 2020
Common Name,Real Address,Bytes Received,Bytes Sent,Connected Since
foo_foo,::ffff:<IP_ADDRESS>,898582,674355,Thu Jun  4 08:50:24 2020
bar_bar,::ffff:<IP_ADDRESS>,1550890,1156181,Wed Jun  3 14:00:04 2020
UNDEF,::ffff:<IP_ADDRESS>,527,10441,Fri Jun  5 09:02:17 2020
UNDEF,::ffff:<IP_ADDRESS>,527,8830,Fri Jun  5 09:02:39 2020
GLOBAL STATS
Max bcast/mcast queue length,0
END

Like you said if I delete one UNDEF it works, but as soon as there are 2 it stops working. I wasn't aware why the UNDEFS were happening so thanks for your explanation about "pending authentication". I do have quite a lot of those on a very old VPN so it might in fact be helpful to have that as a separate metric that would serve as an indicator/alarm that something is wrong. I've noticed this happening with the other status format as well btw. I have another vpn that uses status file version 2 and it's the same result when there are multiple UNDEFS.
I've noticed this happening when there is a large influx of new clients. In that scenario all my dashboards stop working since they indicate that the openvpn is down when in fact the exporter had just returned 500 because of this error. It makes it hard to keep an accurate count of connected clients when a large chunk of them disappear if one of the servers had only 2 UNDEFs.
Let me know if you need me to test out anything.

Thanks for sharing, I'll prepare a fix where I'll for now ignore the UNDEF for client metrics.
Need to think about how to design the metric about connections and "pending connections" a bit. Right now openvpn_connections would contain both authenticated and unauthenticated requests.
I wonder if the final connections should be a openvpn_connections + openvpn_pending_connections or not - any thoughts from your side?

@denibertovic
Fix is released - please let me know if this resolves your issues

Hey @patrickjahns Thanks for the quick reply. I've tested the new release and it works! Yay!

Need to think about how to design the metric about connections and "pending connections" a bit. Right now openvpn_connections would contain both authenticated and unauthenticated requests.
I wonder if the final connections should be a openvpn_connections + openvpn_pending_connections or not - any thoughts from your side?

As for your question... I think that openvpn_connections should only count the established (or to say authenticated connections) and that openvpn_pending_connections should count only the UNDEF ones. That way users can mix and match and either display openvpn_connections + openvpn_pending_connections in their dashboard or display them separately. For my use case it would definitely be useful to have openvpn_pending_connection be separate so that I can monitor fluctuations. Ideally openvpn_pending_connections should (if everything is ok) disappear (flow towards 0) in a few minutes and move over to openvpn_connections.
An alternative would be to have openvpn_connections = openvpn_established_connections + openvpn_pending_connections. This seems to be more backwards compatible perhaps.
Let me know what you decide and I can test it out.

This is also an issue if a user with the same "common name" is connected to the same server more than once. For example a home user that has connected from both their desktop and their mobile device

This is also an issue if a user with the same "common name" is connected to the same server more than once. For example a home user that has connected from both their desktop and their mobile device

would this be an acceptable fix? It is working in my test setup.
https://github.com/dummydata/openvpn_exporter/commit/d19163a98a3226d15679f99a987b22356e3db7a5

@dummydata
Your change basically skips all the client related metrics - you can achieve the same by setting --disable-client-metrics=true - this will skip all client based settings
For prometheus, all label (key/value) pairs must be unique per scrape iteration - the only way to change this, would be to add a additional label for the case, where two clients share the same common name.
One option would be to include the client ip, that adds another permutation - however - then we are sage as long as not two clients connect from the same public ip (i.e. natting ) - then we have the same issue again.
One could now argue to use <publicip>:<port> - but that will lead to a lot of permutations in the time series database
Both of those added labels will add cardinality which might explode with 100s of clients and put a lot of stress on prometheus. So I am hesitant to add those extra labels

Ah, ok, that makes sense. I agree that the prospect of unbounded label growth is not a good scenario and not really a scenario worth adding features for.
In looking to move away from collectd, the OpenVPN status monitoring scenario is proving to be an interesting one as this issue appeared only after trying different exporters for OpenVPN. It appears that collectd's OpenVPN plugin is unaffected by this scenario. It must take the first entry and ignore duplicates because the number of client metrics will not match the client count when you have duplicates. This is something we hadn't noticed before.
Thanks for the quick response!

closing as original issue has been resolved


Feature: Support for tournament check ins, and match reporting.

Add support for tournament check ins, match reporting, and simple branding though a series of calls.

guvrs://open?callback=https://somesite.tld/sometournamentid
HTTP GET to above callback url to get a JSON object for tournament info (defined later below)
HTTP POST to above callback url with JSON object and info about the game (defined later below). This includes 1 post for check in, and another post for game results.

There could also be a feature for validating decks in GUvrs, as well as a feature for checking that decks queued with are correct.

This is a very basic layout for the idea, it does not include every single condition. Just a generic overall flow.

This issue has been placed on hold pending the mobile release.


Add a Citation Section

I added a citation section concerning ModelScopeT2V. I hope this can be merged to the repo. Many thanks!

Awesome, thank you!


Fix the Button UI

Fixed the issue #50
Done with making the buttons more clean & responsive like fixing their column size, aligning them & giving a gap between them.

idk why i am getting merging blocked issue can you try to fix it from your side ?

show screenshot

Thanks for your valuable contribution.
Don't forget to star the repo.


update drake submodule

This brings in just a few more commits from drake that improve the drake rebuild speed.

Builds on my machine, also with #17 :+1:


USHIFT-289: change names of release images in rebase procedure

/lgtm

Reverting in https://github.com/openshift/microshift/pull/1419

/cherry-pick release-4.12


Use travis' new build workers

Since they boot faster it's better to use them.

Need old-style for syslog tests.


typo "to reduced"

in this sentence Use Azure SQL Database to reduced management overhead.

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

ID: 84bcf722-abb3-69b8-8073-15ae4a6890de
Version Independent ID: 7b2010c6-696d-de66-8e56-8ac5d3e54526
Content: Basic web application - Azure Reference Architectures
Content Source: docs/reference-architectures/app-service-web-app/basic-web-app.yml
Service: architecture-center
Sub-service: reference-architecture
GitHub Login: @josevarela
Microsoft Alias: josev

@ciufudean
It looks like your issue is resolved.
If there are further questions regarding this matter, please tag me in a comment. I will reopen it and we will gladly continue the discussion.
@ckittel
Thank you for your response.


Generated code for decoding union of structures

I've been experimenting with using CDDL to describe a service interface. This consists of a set of request structures, one for each operation, and a set of corresponding response structures. The request structures are grouped together in a union, as are the response structures. For code generation with ZCBOR, the two unions are used as the entry types.
For the generated code, in the encode direction, the caller specifies the structure that needs to be encoded using a selector enum.  This works just fine.  In the decode direction, the generated code doesn't take any direction from the caller about the type of the structure and attempts to iterate through each type within the union until it finds a match. This doesn't look like the correct behavior to me. When you're presented with a union to decode, you really need to know up-front what type to decode.  If the generated code for union decode was similar to encode where the caller specifies the type, the caller is free to use whatever out-of-band method it likes to determine the type. Making the decode pattern the same as encode where the caller specifies the type via a selector enum would allow application developers to choose the appropriate strategy for determining the type.
Apart from this issue, I've been able prototype end-to-end access to a set of crypto operations using a CBOR message serialization with a CDDL protocol spec and generated encode/decode code - thanks for the great work!

Thanks for the report.
You are right that the code tries to iterate through all options when decoding a union. Like you say, if the caller has already received out-of-band information about which union member it would be decoding, the code would not need to iterate. This is a special case that we did not specifically design for, however it should be easy to work around by calling the underlying decoding function for the specific union member instead of calling the decoding function for the union as a whole. Especially since you say you use the union directly as an entry type.
I'll try to give an example, but since I don't know the details it might not fit perfectly.
Say you have a CDDL like this:
MyMessage = Foo / Bar / Baz

You would need to specify each of the union members Foo, Bar, and Baz as entry types as well. And instead of calling
cbor_decode_MyMessage(payload, &result, ...);

Call the relevant function
cbor_decode_Foo(payload, &result.Foo, ...);
/* or */
cbor_decode_Bar(payload, &result.Bar, ...);
/* or */
cbor_decode_Baz(payload, &result.Baz, ...);

And set the enum manually
result.choice  = Foo;
/* or */
result.choice  = Bar;
/* or */
result.choice  = Baz;

(all names are not exactly what they would be in the generated code)

To add a bit of about my thoughts so far:
The reasons I see for needing

an application to adopt its own type discovery strategy

are:

To save execution time by not having to iterate.
To save code size by entirely omitting the code doing the iteration.
Because the data format as described by the CDDL is ambiguous, This could be because there are rules imposed on it that cannot be expressed in the CDDL language, or because information is sent OOB.

1 and 3 (and partly 2) can be ameliorated or eliminated by restructuring the CDDL, or by using more entry types like I suggested in my first comment:

Restructure the data so that each union member will quickly fail if not applicable, for example by adding a unique integer identifier to the beginning of the data.
In certain cases, using multiple entry types will work fine for this. In other cases, this would be the most complicated and invasive change to zcbor, and I would imagine that the gain is quite small, but I would be curious to hear your experience if this is indeed your concern.
I would imagine that in all cases of ambiguity, the CDDL can be amended/restructured to make it unambiguous, e.g. by using unique integer ids. If there are extra rules they could still be enforced after the fact. If there is OOB information, this possibly means duplicating some of the OOB information to be part of the in-band data.

Of course, in extreme cases, all of this could change, which is why I'm curious to hear more about your specific use case.

Closing as answered. Feel free to reopen or open new if you have more questions.